PageSourceSearch

https://mirame.chduero.es/chduero/main.9a1b8a20963db9e3.js

js chduero.es collected 2026-09-24 18:09:05 UTC 3,661,786 bytes, 1 lines download raw bytes

1var Jee=Object.defineProperty,Wee=Object.defineProperties,Hee=Object.getOwnPropertyDescriptors,eO=Object.getOwnPropertySymbols,zee=Object.prototype.hasOwnProperty,Xee=Object.prototype.propertyIsEnumerable,WA=(Yt,Ze,m)=>Ze in Yt?Jee(Yt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:m}):Yt[Ze]=m,C1=(Yt,Ze)=>{for(var m in Ze||(Ze={}))zee.call(Ze,m)&&WA(Yt,m,Ze[m]);if(eO)for(var m of eO(Ze))Xee.call(Ze,m)&&WA(Yt,m,Ze[m]);return Yt},b1=(Yt,Ze)=>Wee(Yt,Hee(Ze)),Zi=(Yt,Ze,m)=>(WA(Yt,"symbol"!=typeof Ze?Ze+"":Ze,m),m);(self.webpackChunkchd_mirame_web=self.webpackChunkchd_mirame_web||[]).push([[179],{1160:(Yt,Ze,m)=>{"use strict";m.d(Ze,{X:()=>i});class i{constructor(e){Object.assign(this,e)}}},4354:(Yt,Ze,m)=>{"use strict";m.d(Ze,{C:()=>e,x:()=>s});var i=m(1160);class s{constructor(d,A,C){this.mes=d,this.volSolicitado=A,this.volCompatible=C}}class e extends i.X{}},3179:(Yt,Ze,m)=>{"use strict";m.d(Ze,{C:()=>i});class i{}i.numEnt="1.0-0",i.numRed="1.0-2",i.numRed1Dec="1.0-1",i.numRed2Dec="1.2-2",i.numRed3Dec="1.3-3",i.numRed4Dec="1.0-4",i.numRed8Dec="1.0-8",i.dateFormat="mediumDate",i.regExpNumFormatted="^[0-9]{1,3}(?:\\.?[0-9]{3})*(?:,[0-9]+)?$",i.regExpNumNegFormatted="^[-]?[0-9]{1,3}(?:\\.?[0-9]{3})*(?:,[0-9]+)?$",i.regExpNumNeg2DecFormatted="^[-]?[0-9]{1,3}(?:\\.?[0-9]{3})*(?:,[0-9]?[0-9])?$",i.regExpNumNeg4DecFormatted="^[-]?[0-9]{1,3}(?:\\.?[0-9]{3})*(?:,[0-9]{1,4})?$",i.regExpNumEntFormatted="^[0-9]{1,3}(?:\\.?[0-9]{3})*",i.regExpNumFormattedMasasAgua="^[<]?[0-9]{1,3}(?:\\.?[0-9]{3})*(?:,[0-9]+)?$",i.regExpNumEntCodePatternAndSpaceFormatted="^[\\s]*[0-9]*[\\s]*",i.regExpNumEntCodePatternFormatted="^[0-9]*$",i.regExpDoubleNumFormatted=/^[0-9]{1,3}(?:\\.?[0-9]{3})*(?:,[0-9]+)?$/,i.regExpIntegerNumFormatted=/^(\d{1,3}(?:\.\d{3})*|\d+)$/,i.regExpDecimalNumFormatted=/^\d{1,3}(?:\.?\d{3})*(?:,\d+)?$/,i.regExpDecimalNumFormattedOrCese=/^\d{1,3}(?:\.?\d{3})*(?:,\d+)?$|^Cese$/,i.date="mediumDate",i.shortDateFormat="dd/MM/yyyy",i.shortDateDashFormat="dd-MM-yyyy",i.anoHidrologico=["Oct","Nov","Dic","Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep"],i.EPSG_4258=4258,i.EPSG_25830=25830,i.perfilCiudadano="3",i.perfilTecnicoAca="11",i.perfilTecnicoInformes="7",i.perfilTecnico="4",i.perfilValidador="2",i.todosPerfiles=["1","2","3","4","5","6","7","8","9","10","11","12"],i.swbRiverCeaseValue=-1,i.swbRiverCeaseValueString="Cese",i.maxLength2000=2e3,i.tabTooltipDelay=1e3,i.tokenThresholdExpiration=1800,i.defaultLanguage="es",i.maxResultsViewerFilter=400,i.tipoEntidad={abastecimientoSubterraneo:134,abastecimientoSuperficial:133,actuaciones:136,aguasTermales:42,areaProtegidaEspecial:55,areasProtegidas:116,balsas:67,camposGolf:68,canales:86,centralesHidro:22,centralesTermicas:57,contaminacionSubterranea:69,contaminacionSuperficial:44,contratos:77,controlEstacionesSup:163,controlSub:164,controlSubCuantitativa:165,controlSup:166,controlSupEmbalses:167,controlSupLagos:168,demandasGanaderas:45,demandasUrbanas:7,embalses:17,estacionesSeguimientoSub:53,estacionesSeguimientoSup:52,explotacionesGanaderas:50,explotacionesForestales:110,extraccionAguas:2,extraccionAguasSub:155,extraccionAguasSup:156,extraccionAridos:135,fotos:157,industria:176,industriaBienes:58,industriaExtractiva:60,industriaOcio:59,inventarioEmbalses:158,lagos:5,lics:159,manantiales:12,masasAguaCanal:10,masasCanalEstado:11,masasCanalEstudioPresiones:132,masasEmbalses:15,masasEmbalsesArtificial:151,masasEmbalsesModificado:152,masasEmbalsesPropuestos:98,masaEmbalseEstudioPresiones:127,masasLago:13,masaLagoEstado:14,masaLagoEstudioPresiones:128,masaEmbalseEstado:99,masasRio:18,masasRioEstado:19,masasRioEstudioPresiones:125,masasRioNaturaleza:115,masasRioModificado:172,masasRioPropuesta:160,masasSubterraneas:56,medidas:74,nucleo:92,obstaculosLongitudinales:111,otrosAbastecimientos:49,publicUses:62,privateUses:63,piezometria:179,presas:129,presasYAzudes:3,presionesAgrariasSub:161,presionesAgrariasSup:162,programasSeguimientoSub:88,programasSeguimientoSup:51,puntosDesbordamiento:117,puntosMuestreo:87,recrecimientoLagos:128,regadios:66,regadiosAntiguos:169,regadiosTramitacion:170,regadiosSinClas:171,reservaNaturalFluvial:54,rios:1,segmentoCanal:150,segmentoEmbalseModificado:153,segmentoEmbalsePropuesto:154,segmentoRio:6,segmentoRioPropuesto:97,tramosPiscicolas:41,trasvases:102,unidadesElementales:173,unidadesGanaderas:175,usosAcuicolas:65,usosAgricolas:40,usosAgricolasNuevos:174,usosAgricolasUeda:8,usosRecreativos:64,vertedero:73,vertidos:43,zepas:177,zonasHumedas:38,zonasRecreativas:34,zonasSensibles:36,zonasVulnerables:37,zonificacionMunicipal:121,otrosUsos:137,piscifactoria:65,usosPublicos:62,usosPrivados:63,validaciones:193,nucleoLocalidad:180,informesCompatibilidad:90,dueroMuni2006:30,extraccionAguasSupConcesional:183,extraccionAguasSubConcesional:182,demandaUrbanaUnidadElemental:200,demandaIndustrialUnidadElemental:201,demandaIndustrial:202,demandaGanaderaUnidadElemental:203,demandaGanaderaUnidadElementalTendencias:204,demandaGanaderaUnidadElementalDatosAnuales:206,unidadesElementalesPAC:181,unidadesElementalesTele:185,unidadesElementalesVolumenes:186,unidadesElementalesTendencias:184,usosAgricolasGenerales:188,usosAgricolasComunidades:189,usosAgricolasInformes:190,UDATendencias:191,UDACalidad:192,aportacionesMasaRios:194,aportacionesMasaEmbalses:138,sistemasExplotacion:207,censoVertidosAutorizados:208,cargaMedidas:999}
1,i.tipInforme={xls:"xls",pdf:"pdf",xlsx:"xlsx",rtf:"rtf",word:"docx",json:"json"},i.olMap={epsg_4326:"EPSG:4326",epsg_4258:"EPSG:4258",epsg_25830:"EPSG:25830",epsg_3857:"EPSG:3857",proj4_4258:"+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs",proj4_25830:"+proj=utm +zone=30 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs",wmstPNOA:"https://www.ign.es/wmts/pnoa-ma",layerPNOA:"OI.OrthoimageCoverage",wmstIGNBase:"https://www.ign.es/wmts/ign-base",wmtsVersion:"1.0.0",layerIGNBase:"IGNBaseTodo",layerProvincias:"Provincias",layerMunicipios:"30",layerRios:"306",layerLagos:"305",layerManantiales:"278",layerEstacionesSeguimiento:"61",layerEstacionesSeguimientoQuimico:"60",layerEstacionesSeguimientoHist:"74",layerEstacionesSeguimientoQuimicoHist:"73",layerEstacionesSeguimientoSuperficial:"215",layerRedOficialControlNivel:"75",layerRedInternacionalEIONETWATER:"87",layerRedOperativaSeguimientoQuimico:"88",layerRedVigilanciaSeguimientoQuimico:"89",layerRedControlZonasAbastecimiento:"90",layerRedControlZonasVulnerables:"91",layerDemarcacion:"31",layerMasasSubterraneasInf:"276",layerMasasSubterraneasSup:"277",layerCanales:"308",layerGwbCanales:"479",layerGwbEmbalses:"637",layerGwbLagos:"480",layerGwbRios:"634",layerBalsas:"512",layerEmbalses:"303",layerPresas:"225",layerPuntosDesbordamiento:"95",layerObstaculosLongitudinales:"33",layerGwbEstadoCuantitativoHorSup2016:"Estado_cuantitativo_horizonte_superior_2016",layerGwbEstadoQuimicoHorSup2016:"Estado_quimico_horizonte_superior_2016",layerGwbEstadoGlobalHorSup2016:"Estado_global_horizonte_superior_2016",layerGwbEstadoCuantitativoHorGen2016:"Estado_cuantitativo_horizonte_general_2016",layerGwbEstadoQuimicoHorGen2016:"Estado_quimico_horizonte_general_2016",layerGwbEstadoGlobalHorGen2016:"Estado_global_horizonte_general_2016",layerVertidos:"228",layerCensoVertidosAutorizados:"102",layerPuntosMuestreo:"216",layerReservasNaturalesFluviales:"230",layerZonasProteccionEspecial:"231",layerAbastecimientosSubterraneos:"240",layerAbastecimientosSuperficiales:"242",layerRiosEcologico:"655",layerCanalesEcologico:"190",layerLagosEcologico:"184",layerEmbalsesEcologico:"36",layerRiosQuimico:"647",layerCanalesQuimico:"188",layerLagosQuimico:"181",layerEmbalsesQuimico:"35",layerEstadoRiosGlobal:"639",layerEstadoCanalesGlobal:"186",layerEstadoLagosGlobal:"180",layerEstadoEmbalsesGlobal:"34",layerSegmentosRioPropuestos:"634",layerZonasProteccionZEC:"701",layerZonasProteccionZEPA:"702",layerZonasProteccionOtros:"703",layerInfluenciaAbastecimientoSuperficial:"100",layerExtraccionesSuperficialesAbastecimiento:"243",layerExplotacionesGanaderas:"254",layerDemandasUrbanas:"255",layerDemandasUrbanasUnidadesElementales:"834",layerNucleos:"32",layerVertederos:"493",layerTramosPiscicolas:"239",layerZonasSensibles:"236",layerZonasVulnerables:"237",layerContaminacionDifusaSubterranea:"514",layerContaminacionDifusaSuperficial:"515",layerExtraccionesSuperficiales:"227",layerExtraccionesSuperficialesConcesional:"738",layerExtraccionesSubterraneas:"226",layerExtraccionesSubterraneasConcesional:"739",layerAreaCaptaZonaSensible:"669",layerOtrosAbastecimientos:"2",layerCentralesTermicas:"262",layerPiscifactorias:"256",layerUsosRecreativos:"321",layerAguasMinerales:"233",layerUsoPublico:"312",layerUsoPrivado:"313",layerCentralesHidroelectricas:"261",layerZonasUsoRecreativo:"238",layerZonasHumedas:"232",layerIndustriasBienes:"3",layerIndustriasOcio:"4",layerIndustriasExtractivas:"6",layerCamposGolf:"258",layerIndustriasFuerzamotriz:"843",layerRegadio:"1",layerUdaSup0:"808",layerUdaSup1:"809",layerUdaSup2:"810",layerUdaSup3:"811",layerUdaSup_1:"838",layerUdaSubtHg0:"828",layerUdaSubtHg1:"829",layerUdaSubtHg2:"794",layerUdaSubtHg3:"795",layerUdaSubtHg_1:"839",layerUdaSubtHs0:"800",layerUdaSubtHs1:"801",layerUdaSubtHs2:"802",layerUdaSubtHs3:"803",layerUdaSubtHs_1:"840",layerUdaSupDominada0:"735",layerUdaHgDominada0:"736",layerUdaHsDominada0:"737",layerUdaTramoRegulado0:"830",layerCauceDPHDeslindado:"606",layerZonaFlujoPreferente:"607",layerCaucesDPHCartografico:"608",layerRiskZoneAlta:"581",layerRiskZoneFrecuente:"582",layerRiskZoneMedia:"604",layerRiskZoneBaja:"605",layerOtherUses:"766",layerZoniMuniHS:"98",layerZoniMuniHG:"99",layerDemandasIndustriales:"",layerDemandasIndustrialesUnidadesElementales:"",layerEmbalsesConcesiones:"842",layerSistemasExplotacion:"673"},i.pointZoom=16,i.viewerPath="/viewer/",i.sessionStorageSearchFormSuffix="_search_form",i.sessionStorageBasicFormSuffix="_basic_form",i.sessionStorageSearchCodesSuffix="_search_codes",i.concatChar="-",i.photoEntity="photo",i.riverEntity="river",i.lakeEntity="lake",i.springEntity="spring",i.damEntity="dam",i.reservoirEntity="reservoir",i.reservoirConcesionesEntity="reservoirConcesiones",i.raftEntity="raft",i.channelEntity="channel",i.swbRiverEntity="swbRiver",i.swbRiverEcologicoEntity="swbRiverEcological",i.swbRiverQuimicoEntity="swbRiverChemical",i.swbRiverGlobalEntity="swbRiverGlobal",i.swbRiverSegmentEntity="swbRiverSegment",i.swbRiverObjAmbEntity="swbRiverObjAmb",i.swbLakeEntity="swbLake",i.swbLakeEcologicoEntity="swbLakeEcological",i.swbLakeQuimicoEntity="swbLakeChemical",i.swbLakeGlobalEntity="swbLakeGlobal",i.swbLakeObjAmbEntity="swbLakeObjAmb",i.swbReservoirEntity="swbReservoir",i.swbReservoirEcologicoEntity="swbReservoirEcological",i.swbReservoirQuimicoEntity="swbReservoirChemical",i.swbReservoirGlobalEntity="swbReservoirGlobal",i.swbReservoirObjAmbEntity="swbReservoirObjAmb",i.swbChannelEntity="swbChannel",i.swbChannelEcologicoEntity="swbChannelEcological",i.swbChannelQuimicoEntity="swbChannelChemical",i.swbChannelGlobalEntity="swbChannelGlobal",i.swbChannelObjAmbEntity="swbChannelObjAmb",i.gwbEntity="gwb",i.gwbInfEntity="gwbInf",i.gwbSupEntity="gwbSup",i.wasteEntity="waste",i.allowedSpillageCensusEntity="allowedSpillageCensus",i.rainOverflowEntity="rainOverflow",i.landFillEntity="landfill",i.surfaceContaminationEntity="surfaceContamination",i.surfaceContaminationPhosphorEntity="surfaceContaminationPhosphor",i.surfaceContaminationNitrateEntity="surfaceContaminationNitrate",i.groundContaminationEntity="groundContamination",i.groundContaminationGenEntity="groundContaminationGen",i.groundContaminationSupEntity="groundContaminationSup",i.grantingWaterExtractEntity="grantingWaterExtraction",i.grantingWaterExtractCiudadanoEntity="grantingWaterExtractionCiudadano",i.grantingWaterExtractSupEntity="grantingWaterExtractionSup",i.grantingWaterExtractSupConcesionalEntity="grantingWaterExtractionSupConcesional",i.grantingWaterExtractSubEntity="grantingWaterExtractionSub",i.grantingWaterExtractSubConcesionalEntity="grantingWaterExtractionSubConcesional",i.grantingWaterExtractSupCiudadanoEntity="grantingWaterExtractionSupCiudadano",i.grantingWaterExtractSupConcesionalCiudadanoEntity="grantingWaterExtractionSupConcesionalCiudadano",i.grantingWaterExtractSubCiudadanoEntity="grantingWaterExtractionSubCiudadano",i.grantingWaterExtractSubConcesionalCiudadanoEntity="grantingWaterExtractionSubConcesionalCiudadano",i.obstaclesEntity="obstacles",i.nucleusEntity="nucleus",i.otherSupplieEntity="otherSupplies",i.irrigationEntity="irrigation",i.irrigationConEntity="irrigationCon",i.irrigationTramEntity="irrigationTram",i.irrigationOldEntity="irrigationOld",i.irrigationNoClasEntity="irrigationNoClas",i.cattleFarmEntity="cattleFarm",i.publicUsesEntity="publicUses",i.privateUsesEntity="privateUses",i.thermalPlantEntity="thermalPlants",i.hydroelectricPlantEntity="hydroelectricPlants",i.aquacultureEntity="aquaculture",i.recreationalUseEntity="recreationalUses",
1i.urbanDemandEntity="urbanDemands",i.elementaryUrbanDemandEntity="elementaryUrbanDemands",i.industryDemandEntity="industryDemands",i.elementaryIndustryDemandEntity="elementaryIndustryDemands",i.agrarianDemandEntity="agrarianDemands",i.agrarianDemandSupEntity="agrarianDemandsSup",i.agrarianDemandHorGenEntity="agrarianDemandsHorGen",i.agrarianDemandHorSupEntity="agrarianDemandsHorSup",i.elementaryAgrarianDemandEntity="elementaryAgrarianDemands",i.elementaryAgrarianDemandSupEntity="elementaryAgrarianDemandSup",i.elementaryAgrarianDemandHorGenEntity="elementaryAgrarianDemandHorGen",i.elementaryAgrarianDemandHorSupEntity="elementaryAgrarianDemandHorSup",i.livestockDemandEntity="livestockDemands",i.elementaryLivestockDemandEntity="elementaryLivestockDemands",i.livestockDemandSupEntity="livestockDemandSup",i.livestockDemandHorGenEntity="livestockDemandHorGen",i.livestockDemandHorSupEntity="livestockDemandHorSup",i.surfaceSupplieEntity="surfaceSupplies",i.groundSupplieEntity="groundSupplies",i.fishSectionEntity="fishSections",i.vulnerableAreaEntity="vulnerableAreas",i.sensitiveAreaEntity="sensitiveAreas",i.protectionAreasEntity="protectionAreas",i.protectionAreasZECEntity="protectionAreasZEC",i.protectionAreasZEPAEntity="protectionAreasZEPA",i.protectionAreasOtrosEntity="protectionAreasOtros",i.mineralWaterEntity="mineralWaters",i.wetAreasEntity="wetAreas",i.riverNatureReservesEntity="riverNatureReserves",i.specialProtectionAreasEntity="specialProtectionAreas",i.monitoringProgramEntity="monitoringProgram",i.monitoringStationEntity="monitoringStation",i.monitoringStationPiezEntity="monitoringStationPiezometry",i.monitoringStationCalEntity="monitoringStationQualityPoint",i.monitoringStationPiezHistEntity="monitoringStationPiezometryHist",i.monitoringStationCalHistEntity="monitoringStationQualityPointHist",i.surfaceMonitoringProgramEntity="surfaceMonitoringProgram",i.surfaceMonitoringStationEntity="surfaceMonitoringStation",i.samplingPointsEntity="samplingPoints",i.measuresProgramEntity="measuresProgram",i.contractEntity="contracts",i.actuationEntity="actuations",i.municipalZoningEntity="municipalZoning",i.municipalZoningHorGenEntity="municipalZoningHorGen",i.municipalZoningHorSupEntity="municipalZoningHorSup",i.reportsEntity="reports",i.slopeSubbasinEntity="slopeSubbasin",i.recreationalUseAreaEntity="recreationalUseAreas",i.municipalityEntity="municipality",i.provinceEntity="province",i.ccaaEntity="ccaa",i.otherUseEntity="otherUses",i.industryEntity="industries",i.extractionEntity="extraction",i.recreativeUseEntity="recreationalUses",
1i.acuacultureEntity="aquaculture",i.catastroLayerName="Catastro",i.exploitationSystemEntity="exploitationSystems",i.pressuresLayerName="pressures",i.pressuresPerfilLayerName="pressuresPerfil",i.estudioInundabilidadLayers=`${i.olMap.layerVertidos}-${i.olMap.layerRios}-${i.olMap.layerCauceDPHDeslindado}-${i.olMap.layerZonaFlujoPreferente}-${i.olMap.layerCaucesDPHCartografico}-${i.olMap.layerRiskZoneAlta}-${i.olMap.layerRiskZoneFrecuente}-${i.olMap.layerRiskZoneMedia}-${i.olMap.layerRiskZoneBaja}`,i.COMBO_REGIMEN_PROPIEDAD="COMBO_REGIMEN_PROPIEDAD",i.COMBO_REGIMEN_GESTION="COMBO_REGIMEN_GESTION",i.COMBO_CONEXION_RED_FLUVIAL="COMBO_CONEXION_RED_FLUVIAL",i.COMBO_ORIGEN_HUMEDAL="COMBO_ORIGEN_HUMEDAL",i.COMBO_TIPO_ALIMENTACION="COMBO_TIPO_ALIMENTACION",i.COMBO_MODO_DRENAJE="COMBO_MODO_DRENAJE",i.COMBO_TASA_RENOVACION="COMBO_TASA_RENOVACION",i.COMBO_REGIMEN_HIDRICO="COMBO_REGIMEN_HIDRICO",i.COMBO_SALINIDAD="COMBO_SALINIDAD",i.COMBO_CONSTITUYENTES_MAYOR="COMBO_CONSTITUYENTES_MAYOR",i.COMBO_GEOLOGIA="COMBO_GEOLOGIA",i.COMBO_CLASIFICACION_GEN_FUNC="COMBO_CLASIFICACION_GEN_FUNC",i.COMBO_ESTADO_LAGO="COMBO_ESTADO_LAGO",i.COMBO_SEDIMENTO="COMBO_SEDIMENTO",i.COMBO_SI_NO_SIN_CAT="COMBO_SI_NO_SIN_CAT",i.COMBO_DEFAULT="COMBO_DEFAULT",i.COMBO_ACTIVIDAD_ECONOMICA_VERTEDERO="COMBO_ACTIVIDAD_ECONOMICA_VERTEDERO",i.COMBO_TIPO_VERTEDEROS="COMBO_TIPO_VERTEDEROS",i.COMBO_TIPO_PRESION_VERTEDEROS="COMBO_TIPO_PRESION_VERTEDEROS",i.COMBO_UNIDAD_DEMANDA_AGRARIA="COMBO_UNIDAD_DEMANDA_AGRARIA",i.COMBO_SISTEMA_EXPLOTACION="COMBO_SISTEMA_EXPLOTACION",i.COMBO_UNIDAD_ELEMENTAL="COMBO_UNIDAD_ELEMENTAL",i.COMBO_UNIDAD_DEMANDA_AGRARIA_REGADIOS="COMBO_UNIDAD_DEMANDA_AGRARIA_REGADIOS",i.COMBO_SISTEMA_EXPLOTACION_REGADIOS="COMBO_SISTEMA_EXPLOTACION_REGADIOS",i.COMBO_UNIDAD_ELEMENTAL_REGADIOS="COMBO_UNIDAD_ELEMENTAL_REGADIOS",i.COMBO_ANNOS_ESTADISTICAS="COMBO_ANNOS_ESTADISTICAS",i.COMBO_INFORMES_RESULTADO="COMBO_INFORMES_RESULTADO",i.COMBO_INFORMES_SITUACION_EXPEDIENTE="COMBO_INFORMES_SITUACION_EXPEDIENTE",i.COMBO_INFORMES_ZONIFICACION="COMBO_INFORMES_ZONIFICACION",i.COMBO_INFORMES_FIRMA="COMBO_INFORMES_FIRMA",i.COMBO_INFORMES_SALIDA="COMBO_INFORMES_SALIDA",i.TipoOrdenacion={ASCENDENTE:"ASC",DESCENDENTE:"DESC"},i.TipoHorizonte={SUPERIOR:1,INFERIOR:2},i.TipoZPHE={ZEC:"ZEC",ZEPA:"ZEPA",OTROS:"Otros"},i.TipoEstacionSeguimiento={PIEZOMETRO:1,PUNTO_CALIDAD:2,PIEZ_CALIDAD:3},i.TipoMedidas={NUCLEO:"USE_TYPE_POP_CORE_POPULATION",UDU:"USE_TYPE_WATER_SUPPLY"},i.TipoExtraccion={SUPERFICIAL:1,SUBTERRANEA:2,SIN_CLASIFICAR:90},i.TipoUDU={VOLUMEN_CONCESIONAL:1,VOLUMEN_REAL:2,VOLUMEN_TEORICO:3,SIN_CATALOGAR:90},i.TipoOrigenAgua={SUPERFICIAL:1,SUBTERRANEA_GENERAL:2,SUBTERRANEA_SUPERIOR:3,SIN_CLASIFICAR:90},i.TipoOrigenRecurso={REGULADO:0,NO_REGULADO:1},i.TipoEscenario={ACTUAL:0,ACTUAL1:1,ACTUAL2:2,ACTUAL3:3,ACTUAL_1:-1},i.TipoEstadoRegadio={CON_CONCESION_DERECHO:1,SIN_CONCESION_DERECHO:2,EN_TRAMITE_DERECHO:3,ANTIGUO_DERECHO_FUERA_SERVICIO:4,DERIVACION_TEMPORAL:5,DESCONOCIDO:80,SIN_CATALOGAR:90},i.TipoEstadoCaptaciones={ANTIGUO_DERECHO_FUERA_SERVICIO:0,CON_CONCESION_DERECHO:1,SIN_CONCESION_DERECHO:6,EN_TRAMITE_DERECHO:8,DESCONOCIDO:80,SIN_CATALOGAR:90},i.TipoEstadoEmbalses={CON_CONCESION_DERECHO:1,SIN_CONCESION_SIN_DERECHO:2,EN_TRAMITE_DERECHO:3,ANTIGUO_DERECHO:4,DESCONOCIDO:80,SIN_CATALOGAR:90},i.TipoIVAContrato={NO:0,SI:1,REDUCIDO:2},i.operacion={OPERACION_GENERAL:1,OPERACION_NOMBRES_ALTERNATIVOS:2,OPERACION_CARACTERISTICAS:3,OPERACION_DATOS_CAMPO:4,OPERACION_CURVAS:5,OPERACION_REGLAS_EXPLOTACION:6,OPERACION_PRESAS:7,OPERACION_USOS:8,OPERACION_MASAS_SUBTERRANEAS_GEO:9,OPERACION_MASAS_SUBTERRANEAS_GEO_UG:10,OPERACION_MASAS_SUBTERRANEAS_GEO_LITO:11,OPERACION_RELEVANCIA_PRESION:12,OPERACION_MASAS_SUBTERRANEAS_RECURSO:13,OPERACION_RELEVANCIA_IMPACTO:14,OPERACION_PROGRAMA:15,LEGISLACIONES:16,VALORES_INTERES:17,MEDIDAS_PROTECCION:18,OPERACION_DATOS_TECNICOS:19,OPERACION_MASAS_SUBTERRANEAS_RECARGA:20,OPERACION_MASAS_SUBTERRANEAS_RECARGA_ARTIFICIAL:21,OPERACION_MASAS_SUBTERRANEAS_SISTEMA_ASO:22,OPERACION_MASAS_SUBTERRANEAS_SUELO_EDAFICO:23,OPERACION_MASAS_SUBTERRANEAS_VULN_CONTAMINA:24,OPERACION_MSB_EXPLOTA_DERECHOS_DE_USO:25,OPERACION_MSB_EXPLOTA_ACTUAL_INDICES:26,OPERACION_OBJETIVOS:27,OPERACION_PRESIONES_MASAS_AGUA:28,OPERACION_HABITATS_ESPECIES:29,OPERACION_HABITATS:30,OPERACION_OBJETIVOS_CONCRETOS:31,OPERACION_ESPECIES_TIPOLOGIA:32,OPERACION_HABITATS_TIPOLOGIA:33,OPERACION_OBJETIVOS_GENERALES:34,OPERACION_ESTADOS_FINAL_MASAS_AGUA:35,OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA:36,OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA:37,OPERACION_PARAMETROS_ECOLOGICOS_MASA
1S_AGUA:38,OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA:39,OPERACION_ESTADOS_ESTADO_INDICADORES_MASAS_AGUA:40,OPERACION_TOMA_AGUAS:41,OPERACION_RETORNO_AGUAS:42,OPERACION_INFRAESTRUCTURA:43,OPERACION_INFO_CONCESIONAL:44,OPERACION_CAUDALES_ECOLOGICOS_MASAS_AGUA:45,OPERACION_POZO_EXTRACCIONES:46,OPERACION_GALERIA_EXTRACCIONES:47,OPERACION_AZUD_EMBALSE_EXTRACCIONES:48,OPERACION_ENTUBACION_EXTRACCIONES:49,OPERACION_PERFORACION_EXTRACCIONES:50,OPERACION_BOMBEO_EXTRACCIONES:51,OPERACION_HIDROMORFOLOGIA:52,OPERACION_HIDROMORFOLOGIA_PARAMETROS_EVALUADOS:53,OPERACION_HIDROMORFOLOGIA_DESCRIPCION_DETALLADA:54,OPERACION_NATURALEZA_MASAS_AGUA:55,OPERACION_MASAS_RIO_CESES:56,OPERACION_CAPTACIONES:57,OPERACION_CONSUMOS:58,OPERACION_UNIDAD_DEMANDA_URBANA:59,OPERACION_MSB_CALIDAD_QUIMICA_NIVEL_REFERENCIA:62,OPERACION_MSB_CALIDAD_QUIMICA_NIVEL_ANUAL:63,OPERACION_MSB_CALIDAD_QUIMICA_ESTRATIFICACION:64,OPERACION_MSB_CALIDAD_QUIMICA_VALOR_UMBRAL:65,OPERACION_MASAS_SUBTERRANEAS_HIDROGEO:66,OPERACION_MASAS_SUBTERRANEAS_HIDROGEO_LIMITE:67,OPERACION_MASAS_SUBTERRANEAS_HIDROGEO_ACUIFERO:68,OPERACION_USOS_CAPTACIONES:69,OPERACION_USOS_VOLUMENES:70,OPERACION_MEDIDAS_CONTRATO:71,OPERACION_FINANCIACION_CONTRATO:72,OPERACION_ESTACIONALIDAD_NUCLEO:73,OPERACION_NUCLEO_YEAR:74,OPERACION_UDU_CALIDADGARANTIAS:75,OPERACION_UDU_RESERVAS:76,OPERACION_PRESUPUESTO:77,OPERACION_PRESUPUESTO_CONTRATADO:78,OPERACION_UDU_NUCLEOS_ADD:79,OPERACION_UDU_NUCLEOS_COMMENT:80,OPERACION_PIEZOMETRIA:81,OPERACION_DISTRIBUCION_AUTOMATICA:82,OPERACION_PRESUPUESTO_FINANCIACION:83,OPERACION_PRESUPUESTO_ANYOS:84,OPERACION_PRESUPUESTO_FONDOS_UE:85,OPERACION_MASAS:86,OPERACION_POBLACIONES:87,OPERACION_PRESIONES:88,OPERACION_DISTRIBUCION_CONTRATO:89,OPERACION_UEL_TENDENCIAS:90,OPERACION_ACTUACIONES_PROGRAMAS:91,ELEMENTOS_RELACIONADOS_COMENTARIOS:92,OPERACION_MEDIDAS_ACTUACION:93,OPERACION_PRESIONES_ACTUACION:94,OPERACION_ELEMENTOS_ACTUACION:95,OPERACION_NUCLEOS_ACTUACION:96,OPERACION_INFORME_EXPEDIENTE_ADD:97,OPERACION_INFORME_TITULAR_ADD:98,OPERACION_INFORME_EXTRACCION_ADD:99,OPERACION_INFORME_USO_ADD:100,OPERACION_INFORME_EXPEDIENTE_DEL:101,OPERACION_INFORME_EXPEDIENTE_UPDATE:102,OPERACION_INFORME_TITULAR_UPDATE:103,OPERACION_INFORME_TITULAR_DEL:104,OPERACION_INFORME_EXTRACCION_DEL:105,OPERACION_INFORME_USO_DEL:106,OPERACION_INFORME_EXPEDIENTE_VINCULADO:107,OPERACION_INFORME_TITULAR_REMOVE:108,OPERACION_SISTEMAEXPLOTACION:109,OPERACION_UDA_TENDENCIAS:110,OPERACION_UDA_CALIDAD:111,OPERACION_UDA_RESERVAS:112,OPERACION_SITUACION:113,OPERACION_ZONIFICACION_BALANCE:114,OPERACION_ZONIFICACION_NITRATOS:115,OPERACION_FINANCIACION_DISTRIBUCION_CONTRATO:116,OPERACION_UDI_RESERVAS:117,OPERACION_MEDIDAS_ACTUACION_EDIT:118,OPERACION_RELEVANCIA_IMPACTO_OCUPACION:119,OPERACION_DISTRIBUCION_MEDIDAS:120,OPERACION_NUCLEO_FARM_VOLUMENES:121,OPERACION_INFORME_CAPTACION_USO_VINCULAR:122,OPERACION_INFORME_CAPTACION_USO_DESVINCULAR:123,ELEMENTOS_RELACIONADOS:124},i.condicionesEstilos={COMPLETADA:"Completada",SIGNIFICATIVA:"Si",NO_SIGNIFICATIVA:"No",POTENCIALMENTE_SIGNIFICATIVA:"Pot",MALO:"3",SI:"1"},i.condicionesEstilosEstadoExtracciones={FUERA_SERVICIO:0,EN_SERVICIO:1,INCOMPATIBLE_SIN_CONCESION:6,DERIVACION_TEMPORAL:7,EN_TRAMITACION:8,SIN_CALSIFICAR:90,DESCONOCIDO:80},i.condicionesEstilosPresDif={SIGNIFICATIVAS:"Significativa",NO_SIGNIFICATIVAS:"No significativa",POTENCIALMENTE_SIGNIFICATIVA:"Potencialmente significativa"},i.condicionesEstilosMasasAguaEstadoEcologico={MALO:"1",DEFICIENTE:"2",MODERADO:"3",BUENO:"4",MUY_BUENO:"5",SIN_DATO:"6",NO_SE_PUEDE_VALORAR:"7",NO_COMPUTA_EVALUACION_ESTADO:"1000"},i.condicionesEstilosMasasAguaEstadoQuimico={NO_ALCANZA_BUENO:"1",BUENO:"2",NO_SE_PUEDE_VALORAR:"3",MUY_BUENO:"5",SIN_DATO:"6",NO_COMPUTA_EVALUACION_ESTADO:"1000"},i.condicionesEstilosInformesCompatibilidad={NO_CONCEDIDO:"NO CONCEDIDO",MODIFICADO:"MODIFICADO",CANCELADO:"CANCELADO",GRIS:"1",GRIS1:"1",GRIS2:"1",ASSOCIADO:"0",USO_SINCONCESION:"7",USO_ANTIGUODERECHO:"8"},i.condicionesEstilosMasasAguaEstadoGlobal={PEOR_QUE_BUENO:"1",BUENO:"2",NO_SE_PUEDE_VALORAR:"3",SIN_DATO:"6"},i.condicionesEstilosMasasSubterraneasEstado={BUENO:"1",MALO:"2",SIN_CATALOGAR:"90"},i.condicionesEstilosMasasAguaRiesgo={ALTO:"1",MEDIO:"2",SIN_RIESGO:"3"},i.condicionesEstilosMasasAguaImpacto={COMPROBADOS:"1",PROBABLES:"2",SIN_IMPACTOS:"3"},i.condicionesEstilosMasasAguaRelevancia={NO_SIGNIFICATIVAS:"0",POTENCIALMENTE_SIGNIFICATIVA:"1",SIGNIFICATIVAS:"2",EN_ESTUDIO:"3"},i.descRelevanciaNoSignif="No Significativa",i.descRelevanciaSignif="Potencialmente significativa",i.condicionesEstilosMasasAguaPresasEstado={DEMOLIDO:"8"},i.condicionesEstilosMasasAguaObstaculosEstado={DEMOLIDO:"5"}
1,i.condicionesEstilosMasasAguaTipoImpacto={SIN_RIESGO:"1",RIESGO_MEDIO:"2",RIESGO_ALTO:"3"},i.condicionesEstilosUsos={SIN_CONCESION:"Sin concesi\xf3n/Sin derecho"},i.condicionesEstilosInfoConcesional={SIN_CATALOGAR:"Sin catalogar",EN_TRAMITE:"En tr\xe1mite del derecho"},i.TipoSituacionParam={INALTERADA:10,MUYBUENO:9,BUENO:6},i.TipoSituacionDescHidro={INALTERADA:1},i.tiposUsosComun={NUCLEOS:1,ABASTECIMIENTOS_FUERA_NUCLEOS:2,AGROPECUARIOS_REGADIOS:3,AGROPECUARIOS_EXPLOTACIONES:4,AGROPECUARIOS_AGRARIOS:5,CENTRALES_TERMICAS:6,CENTRALES_HIDROELECTRICAS:7,INDUSTRIAS:8,ACUICULTURA:9,USOS_RECREATIVOS:10,PUBLICO:11,PRIVADO:12},i.TiposSubUsosIntegra={CENTRALES_HIDROELECTRICAS:11,FUERZA_MOTRIZ:12,CAMPOS_GOLF:16,INDUSTRIA_PRODUCTORA_BIENES:15,INDUSTRIA_FUERZA_MOTRIZ:25,ACUICULTURA:26},i.tipoPoblacionElemRelMedidas={PAIS:1,COMUNIDAD_AUTONOMA:2,PROVINCIA:3,MUNICIPIO:4,NUCLEO_POBLACION:5},i.tiposSubUsosAbastecimiento={CONSUMO_HUMANO:5},i.masaAguaRioNaturaleza={NATURAL:1,MUY_MODIFICADA:2,NATURAL_CANDIDATA_A_MUY_MODIFICADA:3,MUY_MODIFICADA_EN_ESTUDIO:4,NATURAL_CONDICIONADA:5},i.elemRelacionadosMedidasPoblaciones={PAIS:1,COMUNIDAD_AUTONOMA:2,PROVINCIA:3,MUNICIPIO:4,NUCLEO_POBLACION:5},i.tiposUso={NUCLEO:"Abastecimiento de n\xfacleos urbanos",ABASTFUERA:"Abastecimiento fuera de n\xfacleos urbanos",REGADIO:"Usos agropecuarios - Regad\xedo",GANADERO:"Usos agropecuarios - Ganader\xeda",OTRO:"Usos agropecuarios - Otros usos agrarios",TERMICA:"Centrales t\xe9rmicas renovables y no renovables",HIDROELEC:"Centrales hidroel\xe9ctricas y fuerza motriz",INDUSTRIA:"Industrias y campos de golf",ACUICULTURA:"Acuicultura",RECREATIVO:"Usos recreativos",PUBLICO:"Otros usos de car\xe1cter p\xfablico",PRIVADO:"Otros usos de car\xe1cter privado"},i.tipoUsoInformes={NUCLEO:"USE_CORE_POPULATION_PARAM",ABASTFUERA:"USE_CORE_POPULATION_OTHERS_PARAM",REGADIO:"USE_IRRIGATION_USE_PARAM",GANADERO:"USE_CATTLE_FARM_PARAM",OTRO:"USE_OTHER_USE_PARAM",TERMICA:"USE_TERMAL_PS_PARAM",HIDROELEC:"USE_HIDROELECTRIC_PS_PARAM",INDUSTRIA:"USE_INDUSTRIAS_PARAM",ACUICULTURA:"USE_FISH_FARM_PARAM",RECREATIVO:"USE_RECREATIONAL_PARAM",PUBLICO:"USE_OTHER_PUBLIC_PARAM",PRIVADO:"USE_OTHER_PRIVATE_PARAM"},i.origenUEDU={SISTEMA_ABAST_MAYOR_20000:1,MANCOMUNIDAD_ABASTECIMIENTO:2,PEQUE_ABASTECIMIENTOS_SUPERFICIALES:3,PEQUE_ABASTECIMIENTOS_SUBTERRANEOS:4,OTROS:70,DESCONOCIDO:80,SIN_CATALOGAR:90},i.origenAguaUEDU={SUPERFICIAL:1,SUBTERRANEO:2,MIXTO:3},i.naturalezaVertido={URBANO:1,INDUSTRIAL:2},i.COMBO_SUBPROGRAMA_ESTACION_SEGUIMIENTO="COMBO_SUBPROGRAMA_ESTACION_SEGUIMIENTO",i.COMBO_MASAS_ASOCIADAS_VIGENTES="COMBO_MASAS_ASOCIADAS_VIGENTES",i.COMBO_EN_FUNCIONAMIENTO="COMBO_EN_FUNCIONAMIENTO",i.COMBO_EN_FUNCIONAMIENTO_GUARDAR="COMBO_EN_FUNCIONAMIENTO_GUARDAR",i.COMBO_TIPO_ESTACION_SEGUIMIENTO="COMBO_TIPO_ESTACION_SEGUIMIENTO",i.COMBO_SUBTIPO_ESTACION_SEGUIMIENTO="COMBO_SUBTIPO_ESTACION_SEGUIMIENTO",i.COMBO_USOS_ESTACION_SEGUIMIENTO="COMBO_USOS_ESTACION_SEGUIMIENTO",i.COMBO_GENERICO_SI_NO="COMBO_GENERICO_SI_NO",i.COMBO_PUNTOS_CALIDAD_INFORMES="COMBO_PUNTOS_CALIDAD_INFORMES",i.COMBO_ANNO="COMBO_ANNO",i.COMBO_HORIZONTE="COMBO_HORIZONTE",i.COMBO_OPERADOR_LOGICO="COMBO_OPERADOR_LOGICO",i.COMBO_TENDENCIA_PIEZOMETRICA="COMBO_TENDENCIA_PIEZOMETRICA",i.COMBO_ANNO_GWB="COMBO_ANNO_GWB",i.COMBO_ESCENARIO_GWB="COMBO_ESCENARIO_GWB",i.COMBO_ESTADO_GWB="COMBO_ESTADO_GWB",i.COMBO_OBJETIVO_AMBIENTAL_GWB="COMBO_OBJETIVO_AMBIENTAL_GWB",i.COMBO_EDAD_MASAS_SUBTERRANEAS="COMBO_EDAD_MASAS_SUBTERRANEAS",i.COMBO_TIPOLOGIA_INDICE_VULNERABILIDAD="COMBO_TIPOLOGIA_INDICE_VULNERABILIDAD",i.COMBO_SUBORDEN_SUELO_EDAFICO_GWB="COMBO_SUBORDEN_SUELO_EDAFICO_GWB",i.COMBO_ORDEN_SUELO_EDAFICO_GWB="COMBO_ORDEN_SUELO_EDAFICO_GWB",i.COMBO_TIPO_SUELO_EDAFICO_GWB="COMBO_TIPO_SUELO_EDAFICO_GWB",i.COMBO_MAGNITUD_VULN_CONTAMI_GWB="COMBO_MAGNITUD_VULN_CONTAMI_GWB",i.COMBO_INDICADORES_GWB="COMBO_INDICADORES_GWB",i.COMBO_COMPONENTE_GWB="COMBO_COMPONENTE_GWB",i.COMBO_SISTEMA_RECARGA_GWB="COMBO_SISTEMA_RECARGA_GWB",i.COMBO_TIPO_CAPA_GWB="COMBO_TIPO_CAPA_GWB",i.COMBO_TIPO_LIMITE_GWB="COMBO_TIPO_LIMITE_GWB",i.COMBO_TIPO_MASA_NATURALEZA_GWB="COMBO_TIPO_MASA_NATURALEZA_GWB",i.COMBO_TIPO_SENTIDO_GWB="COMBO_TIPO_SENTIDO_GWB",i.COMBO_TIPO_LIMITE_SIN_USAR_GWB="COMBO_TIPO_LIMITE_SIN_USAR_GWB",i.COMBO_TIPO_LITOLOGIA_GWB="COMBO_TIPO_LITOLOGIA_GWB",i.COMBO_TIPO_GEOMETRIA_GWB="COMBO_TIPO_GEOMETRIA_GWB",i.COMBO_TIPO_HIDRAULICA_GWB="COMBO_TIPO_HIDRAULICA_GWB",i.COMBO_TIPO_POROSIDAD_GWB="COMBO_TIPO_POROSIDAD_GWB",i.COMBO_TIPO_PERMEABILIDAD_GWB="COMBO_TIPO_PERMEABILIDAD_GWB",i.COMBO_TIPO_PROGRAMA_SEGUIMIENTO="COMBO_TIPO_PROGRAMA_SEGUIMIENTO",i.COMBO_TIPO_ESTADO_PROGRAMA_SEGUIMIENTO="COMBO_TIPO_ESTADO_PROGRAMA_SEGUIMIENTO",i.COMBO_ESTADO_BALSASYMAS="COMBO_ESTADO_BALSASYMAS",i.COMBO_TITULARIDAD_BALSA
1="COMBO_TITULARIDAD_BALSA",i.COMBO_PROPIETARIO_BALSA="COMBO_PROPIETARIOS",i.COMBO_TIPO_COTA="COMBO_TIPO_COTA",i.COMBO_ESTADO_AGUA_CANAL="COMBO_ESTADO_AGUA_CANAL",i.COMBO_USOS="COMBO_USOS",i.COMBO_OWNER="COMBO_OWNER",i.COMBO_TIPO_ACCION="COMBO_TIPO_ACCION",i.COMBO_TIPOLOGIA_USOS="COMBO_TIPOLOGIA_USOS",i.COMBO_TIPOLOGIA_USOS_BORRADO="COMBO_TIPOLOGIA_USOS_BORRADO",i.COMBO_EMBALSES_REGULACION="COMBO_EMBALSES_REGULACION",i.COMBO_TIPOLOGIA_ESCALA_PECES="COMBO_TIPOLOGIA_ESCALA_PECES",i.COMBO_TIPOLOGIA_FASE_VIDA="COMBO_TIPOLOGIA_FASE_VIDA",i.COMBO_TIPOLOGIA_RIESGO="COMBO_TIPOLOGIA_RIESGO",i.COMBO_TIPOLOGIA_PRESA="COMBO_TIPOLOGIA_PRESA",i.COMBO_TIPOLOGIA_MATERIALES="COMBO_TIPOLOGIA_MATERIALES",i.COMBO_TIPOLOGIA_TEMPORALIDAD="COMBO_TIPOLOGIA_TEMPORALIDAD",i.COMBO_TIPOLOGIA_INFRAESTRUCTURA="COMBO_TIPOLOGIA_INFRAESTRUCTURA",i.COMBO_ESTADOS_CONSERVACION="COMBO_ESTADOS_CONSERVACION",i.COMBO_TIPOLOGIA_COLMATADO="COMBO_TIPOLOGIA_COLMATADO",i.COMBO_TIPOLOGIA_OPERATIVIDAD="COMBO_TIPOLOGIA_OPERATIVIDAD",i.COMBO_TIPOLOGIA_TAMANIOS="COMBO_TIPOLOGIA_TAMANIOS",i.COMBO_TIPOLOGIA_ACTUACION="COMBO_TIPOLOGIA_ACTUACION",i.COMBO_TIPOLOGIA_JUSTIFICACION_ACTUACION="COMBO_TIPOLOGIA_JUSTIFICACION_ACTUACION",i.COMBO_SISTEMA_SANEAMIENTO="COMBO_SISTEMA_SANEAMIENTO",i.COMBO_INFRAESTRUCTURA_REGULACION="COMBO_INFRAESTRUCTURA_REGULACION",i.COMBO_UBICACION_PUNTOS_DESBORDAMIENTO="COMBO_UBICACION_PUNTOS_DESBORDAMIENTO",i.COMBO_MASA_AGUA_SUPERFICIAL="COMBO_MASA_AGUA_SUPERFICIAL",i.COMBO_CAUCE_PUNTOS_DESBORDAMIENTO="COMBO_CAUCE_PUNTOS_DESBORDAMIENTO",i.COMBO_EXPEDIENTE_VERTIDO_PUNTOS_DESBORDAMIENTO="COMBO_EXPEDIENTE_VERTIDO_PUNTOS_DESBORDAMIENTO",i.COMBO_ELEMENTO_PROTECCION="COMBO_ELEMENTO_PROTECCION",i.COMBO_ESTADO_CONSERVACION="COMBO_ESTADO_CONSERVACION",i.COMBO_TIPOLOGIA_OBSTACULO="COMBO_TIPOLOGIA_OBSTACULO",i.COMBO_TIPOLOGIA_INFRAESTRUCTURA_OBSTACULO="COMBO_TIPOLOGIA_INFRAESTRUCTURA_OBSTACULO",i.COMBO_TIPOLOGIA_CANAL_MODIFICACION_CAUCE="COMBO_TIPOLOGIA_CANAL_MODIFICACION_CAUCE",i.COMBO_TIPOLOGIA_TITULAR="COMBO_TIPOLOGIA_TITULAR",i.COMBO_TIPOLOGIA_GRADO_INCIDENCIA="COMBO_TIPOLOGIA_GRADO_INCIDENCIA",i.COMBO_TIPOLOGIA_UBICACION="COMBO_TIPOLOGIA_UBICACION",i.COMBO_TIPOLOGIA_MARGEN_AFECTADA="COMBO_TIPOLOGIA_MARGEN_AFECTADA",i.COMBO_TIPOLOGIA_MATERIAL="COMBO_TIPOLOGIA_MATERIAL",i.COMBO_TIPOLOGIA_REVESTIMIENTO="COMBO_TIPOLOGIA_REVESTIMIENTO",i.COMBO_TIPOLOGIA_ANCHURA="COMBO_TIPOLOGIA_ANCHURA",i.COMBO_TIPO_ESTACION="COMBO_TIPO_ESTACION",i.COMBO_NATURALEZA_VERTIDO="COMBO_NATURALEZA_VERTIDO",i.COMBO_TIPOLOGIA_VERTIDO="COMBO_TIPOLOGIA_VERTIDO",i.COMBO_TIPOLOGIA_VER_INDUS="COMBO_TIPOLOGIA_VER_INDUS",i.COMBO_ACTIVIDAD_ECONOMICA="COMBO_ACTIVIDAD_ECONOMICA",i.COMBO_DESTINO_VERTIDO="COMBO_DESTINO_VERTIDO",i.COMBO_TIPO_DEPURACION="COMBO_TIPO_DEPURACION",i.COMBO_GRADO_TRATAMIENTO="COMBO_GRADO_TRATAMIENTO",i.COMBO_SENSITIVE_ZONE="COMBO_SENSITIVE_ZONE",i.COMBO_ESTADO_EXP="COMBO_ESTADO_EXP",i.COMBO_TIPOLOGIA_VERTIDO_BY_NATURE="COMBO_TIPOLOGIA_VERTIDO_BY_NATURE",i.COMBO_TIPOLOGIA_VER_INDUS_BY_NATURE="COMBO_TIPOLOGIA_VER_INDUS_BY_NATURE",i.COMBO_RELEVANCIA_IMPACTOS="COMBO_RELEVANCIA_IMPACTOS",i.COMBO_TIPO_PRESION_DMA="COMBO_TIPO_PRESION_DMA",i.COMBO_TIPOLOGIA_GRUPOCNAE_BY_ACTIVIDAD="COMBO_TIPOLOGIA_GRUPOCNAE_BY_ACTIVIDAD",i.COMBO_TIPOLOGIA_CATEGORIA_AMBIENTAL="COMBO_TIPOLOGIA_CATEGORIA_AMBIENTAL",i.COMBO_TIPO_AGUA_SUBPROGRAMA_SEGUIMIENTO="COMBO_TIPO_AGUA_SUBPROGRAMA_SEGUIMIENTO",i.COMBO_SI_NO_SIN_CAT_BASICO="COMBO_SI_NO_SIN_CAT_BASICO",i.COMBO_TIPOLOGIA_PROGRAMA_SEGUIMIENTO_SUP="COMBO_TIPOLOGIA_PROGRAMA_SEGUIMIENTO_SUP",i.COMBO_TIPOLOGIA_MAPA_PROGRAMA_SEGUIMIENTO_SUP="COMBO_TIPOLOGIA_MAPA_PROGRAMA_SEGUIMIENTO_SUP",i.COMBO_NOMBRES_PROGRAMA_SEGUIMIENTO="COMBO_NOMBRES_PROGRAMA_SEGUIMIENTO",i.COMBO_NOMBRES_SUBPROGRAMA_SEGUIMIENTO="COMBO_NOMBRES_SUBPROGRAMA_SEGUIMIENTO",i.COMBO_TIPOLOGIA_MASAS_AGUA_RELACIONADAS="COMBO_TIPOLOGIA_MASAS_AGUA_RELACIONADAS",i.COMBO_MASAS_AGUA_RELACIONADAS="COMBO_MASAS_AGUA_RELACIONADAS",i.COMBO_TIPO_SUBZONAS_PROPUESTAS="COMBO_TIPO_SUBZONAS_PROPUESTAS",i.COMBO_RNF_LEGISLACION="COMBO_RNF_LEGISLACION",i.COMBO_TIPO_TRAMOS_PISCICOLAS="COMBO_TIPO_TRAMOS_PISCICOLAS",i.COMBO_TIPO_AGUAS_MINERALES="COMBO_TIPO_AGUAS_MINERALES",i.COMBO_PERFILES_USUARIO="COMBO_PERFILES_USUARIO",i.COMBO_ESTADOS_USUARIO="COMBO_ESTADOS_USUARIO",i.COMBO_TIPO_ECOLOGICO="COMBO_TIPO_ECOLOGICO",i.COMBO_YEARS="COMBO_YEARS",i.COMBO_NIVEL_CONFIANZA="COMBO_NIVEL_CONFIANZA",i.COMBO_NIVEL_CONFIANZA_PARAMETRO="COMBO_NIVEL_CONFIANZA_PARAMETRO",i.COMBO_POTENCIAL_ECO="COMBO_POTENCIAL_ECO",i.COMBO_POTENCIAL_QUIMICO="COMBO_POTENCIAL_QUIMICO",i.COMBO_ECO_PHYSCHEM_SEARCH="COMBO_ECO_PHYSCHEM_SEARCH",i.COMBO_ECO_STATE_SEARCH="COMBO_ECO_STATE_SEARCH",i.COMBO_TIPO_IMPACTO="COMBO_TIPO_IMPACTO",i.COMBO_TIPO_RIESGO="COMBO_TIPO_RIESGO",i.COMBO_ESTADOS_GLOBALES="COMBO_ESTADOS_GLOBALES",i.COMBO_OBJETIVOS="COMBO_OBJETIVOS",i.COMBO_ECO_HYDROM_SEARCH="COMBO_ECO_HYDROM_SEARCH",i.COMBO_ECO_BYOLOG_SEARCH="COMBO_ECO_BYOLOG_SEARCH",i.COMBO_JUSTIFICACIONES="COMBO_JUSTIFICACIONES",i.COMBO_OBJETIVOS_AMBIENTALES="COMBO_OBJETIVOS_AMBIENTALES",i.COMBO_INDICADORES_AMBIENTALES="COMBO_INDICADORES_AMBIENTALES",i.COMBO_AGES_OBJ="COMBO_AGES_OBJ",i.COMBO_LISTA_ANNOS="COMBO_LISTA_ANNOS",i.COMBO_LISTA_ANNOS_HIDROMORFOLOGIA="COMBO_LISTA_ANNOS_HIDROMORFOLOGIA",i.COMBO_IND_ECO_DISPONIBLES="COMBO_IND_ECO_DISPONIBLES",i.COMBO_IND_CHEM_DISPONIBLES="COMBO_IND_CHEM_DISPONIBLES",i.COMBO_CONSIDERACIONES_ESPECIALES="COMBO_CONSIDERACIONES_ESPECIALES",i.COMBO_IND_ECO_ALL="COMBO_IND_ECO_ALL",i.COMBO_IND_CHEM_ALL="COMBO_IND_CHEM_ALL",i.COMBO_NATURALEZA_MASASLAGO="COMBO_NATURALEZA_MASASLAGO",i.COMBO_TIPO_ECOLOGICO_MASASLAGO="COMBO_TIPO_ECOLOGICO_MASASLAGO",i.COMBO_ECO_PHYSCHEM_SEARCH_MASASLAGO="COMBO_ECO_PHYSCHEM_SEARCH_MASASLAGO",i.COMBO_ECO_HYDROM_SEARCH_MASASLAGO="COMBO_ECO_HYDROM_SEARCH_MASASLAGO",i.COMBO_ECO_BYOLOG_SEARCH_MASASLAGO="COMBO_ECO_BYOLOG_SEARCH_MASASLAGO",i.COMBO_TIPO_PRESION_MASASLAGO="COMBO_TIPO_PRESION_MASASLAGO",i.COMBO_NATURALEZA_MASASEMBALSE="COMBO_NATURALEZA_MASASEMBALSE",i.COMBO_TIPO_ECOLOGICO_MASASEMBALSE="COMBO_TIPO_ECOLOGICO_MASASEMBALSE",i.COMBO_ECO_PHYSCHEM_SEARCH_MASASEMBALSE="COMBO_ECO_PHYSCHEM_SEARCH_MASASEMBALSE",i.COMBO_ECO_BYOLOG_SEARCH_MASASEMBALSE="COMBO_ECO_BYOLOG_SEARCH_MASASEMBALSE",i.COMBO_TIPO_PRESION_MASASEMBALSE="COMBO_TIPO_PRESION_MASASEMBALSE",i.COMBO_NATURALEZA_MASASRIO="COMBO_NATURALEZA",i.COMBO_TIPO_ECOLOGICO_MASASRIO="COMBO_TIPO_ECOLOGICO_MASASRIO",i.COMBO_ECO_PHYSCHEM_SEARCH_MASASRIO="COMBO_ECO_PHYSCHEM_SEARCH",i.COMBO_ECO_HYDROM_SEARCH_MASASRIO="COMBO_ECO_HYDROM_SEARCH",i.COMBO_ECO_BYOLOG_SEARCH_MASASRIO="COMBO_ECO_BYOLOG_SEARCH",i.COMBO_TIPO_PRESION_MASASRIO="COMBO_TIPO_PRESION",i.COMBO_CLASIFICACIONES_CAUDAL="COMBO_CLASIFICACIONES_CAUDAL",i.COMBO_ALTERACION_HIDROLOGICA="COMBO_ALTERACION_HIDROLOGICA",i.COMBO_ALTERACION_MORFOLOGICA="COMBO_ALTERACION_MORFOLOGICA",i.COMBO_TIPO_PARAMETRO_HIDROMORFOLOGIA="COMBO_TIPO_PARAMETRO_HIDROMORFOLOGIA",i.COMBO_PERMANENTE_MASASRIO="COMBO_PERMANENTE_MASASRIO",i.COMBO_VINCULACION_PORTUGAL_MASA
1S="COMBO_VINCULACION_PORTUGAL_MASAS",i.COMBO_TIPO_ZPHE="COMBO_TIPO_ZPHE",i.COMBO_ZPHE_ESTADO_TIPOLOGIA="COMBO_ZPHE_ESTADO_TIPOLOGIA",i.COMBO_ZPHE_PRIORIDAD_TIPOLOGIA="COMBO_ZPHE_PRIORIDAD_TIPOLOGIA",i.COMBO_ZPHE_HABITAT_TIPOLOGIA="COMBO_ZPHE_HABITAT_TIPOLOGIA",i.COMBO_ZPHE_ESPECIE_TIPOLOGIA="COMBO_ZPHE_ESPECIE_TIPOLOGIA",i.COMBO_ABASTECIMEINTO_SUP_TIPOLOGIA_ORIGEN="COMBO_ABASTECIMEINTO_SUP_TIPOLOGIA_ORIGEN",i.COMBO_TIPOLOGIA_ESCENA="COMBO_TIPOLOGIA_ESCENA",i.COMBO_SITUACION_EXTRACCION="COMBO_SITUACION_EXTRACCION",i.COMBO_SUBCAPTACION_EXTRACCION="COMBO_SUBCAPTACION_EXTRACCION",i.COMBO_EMERGENCIA_EXTRACCION="COMBO_EMERGENCIA_EXTRACCION",i.COMBO_ZPGENERATE_EXTRACCION="COMBO_ZPGENERATE_EXTRACCION",i.COMBO_CONTADOR_EXTRACCION="COMBO_CONTADOR_EXTRACCION",i.COMBO_TIPO_CAPTACION="COMBO_TIPO_CAPTACION",i.COMBO_SUBTIPOS_EXTRACCION="COMBO_SUBTIPOS_EXTRACCION",i.COMBO_USOS_EXTRACCIONES="COMBO_USOS_EXTRACCIONES",i.COMBO_MOTOR_DATTEC_EXTRACCION="COMBO_MOTOR_DATTEC_EXTRACCION",i.COMBO_TIPO_ENTUBACION_DATTEC_EXTRACCION="COMBO_TIPO_ENTUBACION_DATTEC_EXTRACCION",i.COMBO_RELLENO_DATTEC_EXTRACCION="COMBO_RELLENO_DATTEC_EXTRACCION",i.COMBO_EDAD_DATTEC_EXTRACCION="COMBO_EDAD_DATTEC_EXTRACCION",i.COMBO_ACUIFERO_DATTEC_EXTRACCION="COMBO_ACUIFERO_DATTEC_EXTRACCION",i.COMBO_RELLENO_DATTECCOMBOS_USOS_EXTRACCIONESEXTRACCION="COMBOS_USOS_EXTRACCIONES",i.COMBO_LITOLOGIA_DATTEC_EXTRACCION="COMBO_LITOLOGIA_DATTEC_EXTRACCION",i.COMBO_AZUD_EXTRACCIONES="COMBO_AZUD_EXTRACCIONES",i.COMBO_EMBALSE_EXTRACCIONES="COMBO_EMBALSE_EXTRACCIONES",i.COMBO_SITUACION_SINAC="COMBO_SITUACION_SINAC",i.COMBO_USO_INTEGRA="COMBO_USO_INTEGRA",i.COMBO_SUBUSO_INTEGRA="COMBO_SUBUSO_INTEGRA",i.COMBO_TIPOS_ESTADOS="COMBO_TIPOS_ESTADOS",i.COMBO_CAUCES_USOS="COMBO_CAUCES_USOS",i.COMBO_FUEL="COMBO_FUEL",i.COMBO_SITUACION_EXPLOTACION="COMBO_SITUACION_EXPLOTACION",i.COMBO_TIPOLOGIA_MASA_AGUA="COMBO_TIPOLOGIA_MASA_AGUA",i.COMBO_USO_TIPO_POBLACION="COMBO_USO_TIPO_POBLACION",i.COMBO_CLASIFICACION_DETALLADA="COMBO_CLASIFICACION_DETALLADA",i.COMBO_USOS_CALENDARIO_RIEGO="COMBO_USOS_CALENDARIO_RIEGO",i.COMBO_UNIDAD_DEMANDA_AGRARIA_USO_PRIVADO="COMBO_UNIDAD_DEMANDA_AGRARIA_USO_PRIVADO",i.COMBO_SISTEMA_EXPLOTACION_USO_PRIVADO="COMBO_SISTEMA_EXPLOTACION_USO_PRIVADO",i.COMBO_UNIDAD_ELEMENTAL_USO_PRIVADO="COMBO_UNIDAD_ELEMENTAL_USO_PRIVADO",i.COMBO_ACTIVIDAD_INDUSTRIAL="COMBO_ACTIVIDAD_INDUSTRIAL",i.COMBO_TIPO_ESTABLECIMIENTO="COMBO_TIPO_ESTABLECIMIENTO",i.COMBO_TIPO_ACT_INDUTRIAL="COMBO_TIPO_ACT_INDUTRIAL",i.COMBO_ESTACIONALIDAD_CORE="COMBO_ESTACIONALIDAD_CORE",i.COMBO_TIPO_ESTACIONALIDAD_FINDE="COMBO_TIPO_ESTACIONALIDAD_FINDE",i.COMBO_TIPO_UNIDADES_DEMANDA="COMBO_TIPO_UNIDADES_DEMANDA",i.COMBO_ACTIVIDAD_GANADERA_CORE="COMBO_ACTIVIDAD_GANADERA_CORE",i.COMBO_CATEGORIAS_CAMPOS_GOLF="COMBO_CATEGORIAS_CAMPOS_GOLF",i.COMBO_SISTEMA_RIEGO_CAMPOS_GOLF="COMBO_SISTEMA_RIEGO_CAMPOS_GOLF",i.COMBO_TIPOLOGIA_ORIGEN_AGUA="COMBO_TIPOLOGIA_ORIGEN_AGUA",i.COMBO_TIPOLOGIA_DEMANDA_GANADERA="COMBO_TIPOLOGIA_DEMANDA_GANADERA",i.COMBO_TIPOLOGIA_ORIGEN_DEMANDA_URBANA="COMBO_TIPOLOGIA_ORIGEN_DEMANDA_URBANA",i.COMBO_TIPOLOGIA_ORIGEN_AGUA_DEMANDA_URBANA="COMBO_TIPOLOGIA_ORIGEN_AGUA_DEMANDA_URBANA",i.COMBO_DEMANDA_URBANA="COMBO_DEMANDA_URBANA",i.COMBO_TIPOLOGIA_ORIGEN_RECURSO_UEDU="COMBO_TIPOLOGIA_ORIGEN_RECURSO_UEDU",i.COMBO_TIPOLOGIA_DEMANDA_INDUSTRIAL="COMBO_TIPOLOGIA_DEMANDA_INDUSTRIAL",i.COMBO_TIPOLOGIA_UNIDAD_TERRITORIAL_DEMANDA="COMBO_TIPOLOGIA_UNIDAD_TERRITORIAL_DEMANDA",i.COMBO_TIPOLOGIA_TRAMO_REGULADO="COMBO_TIPOLOGIA_TRAMO_REGULADO",i.COMBO_DEMANDA_ESCENARIO="COMBO_DEMANDA_ESCENARIO",i.COMBO_ESCENARIOS="COMBO_ESCENARIOS",i.COMBO_TIPOLOGIA_ORIGEN_RECURSO_UDA="COMBO_TIPOLOGIA_ORIGEN_RECURSO_UDA",i.COMBO_ESTADO_ZONAS_RECREATIVAS="COMBO_ESTADO_ZONAS_RECREATIVAS",i.COMBO_PLAN_REFERENCIA_MEDIDA="COMBO_PLAN_REFERENCIA_MEDIDA",i.COMBO_NATURALEZA_MEDIDA="COMBO_NATURALEZA_MEDIDA",i.COMBO_REFERENCIA_LEGAL_MEDIDA="COMBO_REFERENCIA_LEGAL_MEDIDA",i.COMBO_EFECTO_MEDIDA="COMBO_EFECTO_MEDIDA",i.COMBO_ESTADO_MEDIDA="COMBO_ESTADO_MEDIDA",i.COMBO_TIPO_MEDIDA="COMBO_TIPO_MEDIDA",i.COMBO_GRUPO_MEDIDA="COMBO_GRUPO_MEDIDA",i.COMBO_SUBGRUPO_MEDIDA="COMBO_SUBGRUPO_MEDIDA",i.COMBO_OBJETIVO_MEDIDA="COMBO_OBJETIVO_MEDIDA",i.COMBO_PROGRAMA_MEDIDA="COMBO_PROGRAMA_MEDIDA",i.COMBO_MINTERD_MEDIDA="COMBO_MINTERD_MEDIDA",i.COMBO_NATURALEZA_DMA_MEDIDA="COMBO_NATURALEZA_DMA_MEDIDA",i.COMBO_PAIS_MEDIDA="COMBO_PAIS_MEDIDA",i.COMBO_TIPO_REPORTING_2015_MEDIDA="COMBO_TIPO_REPORTING_2015_MEDIDA",i.COMBO_SUBTIPO_REPORTING_2015_MEDIDA="COMBO_SUBTIPO_REPORTING_2015_MEDIDA",i.COMBO_ENTIDADES_FINANCIACION="
1COMBO_ENTIDADES_FINANCIACION",i.COMBO_MEDIDAS="COMBO_MEDIDAS",i.COMBO_MOSTRAR_MEDIDAS="COMBO_MOSTRAR_MEDIDAS",i.COMBO_AMBITO_MEDIDA="COMBO_AMBITO_MEDIDA",i.COMBO_MEDIDAS_ELEM_REL="COMBO_MEDIDAS_ELEM_REL",i.COMBO_TIPO_ACTUACIONES="COMBO_TIPO_ACTUACIONES",i.COMBO_PROGRAMA="COMBO_PROGRAMA",i.COMBO_ACTUACIONES_PROMOTOR="COMBO_ACTUACIONES_PROMOTOR",i.COMBO_TIPO_ACTUACIONES_PROGRAMAS="COMBO_TIPO_ACTUACIONES_PROGRAMAS",i.COMBO_TIPO_ACTUACIONES_PROGRAMAS_SIN_ASIGNAR="COMBO_TIPO_ACTUACIONES_PROGRAMAS_SIN_ASIGNAR",i.COMBO_ACTUACIONES_CONTRATOS="COMBO_ACTUACIONES_CONTRATOS",i.COMBO_ACTUACIONES_ELEM_REL="COMBO_ACTUACIONES_ELEM_REL",i.COMBO_ACTUACIONES_CAUCES="COMBO_ACTUACIONES_CAUCES",i.COMBO_ACTUACIONES_TIPOS_MEJORA="COMBO_ACTUACIONES_TIPOS_MEJORA",i.COMBO_NUCLEOS_POBLACION="COMBO_NUCLEOS_POBLACION",i.COMBO_TIPO_GANADO="COMBO_TIPO_GANADO",i.COMBO_TIPO_GANADERIA="COMBO_TIPO_GANADERIA",i.COMBO_ZONIFICACION_MASAS="COMBO_ZONIFICACION_MASAS",i.COMBO_ZONIFICACION_TIPOS="COMBO_ZONIFICACION_TIPOS",i.COMBO_TIPOLOGIA_IVA="COMBO_TIPOLOGIA_IVA",i.operacionRealizada={ELIMINADO:0,ANADIDO:1,MODIFICADO:2},i.informeEnum={COMPLETO_PERSONALIZABLE:1,DATOS_TRABAJO_CAMPO:2,DATOS_ESTACIONES_MONITORIZACION:3,DATOS_ESTADO_QUIMICO:4,DATOS_PIEZOMETRICOS:5,DATOS_MASA_CANAL:6,ESTUDIO_PRESIONES_MASA_CANAL:7,ESTADO_MASA_CANAL:8,DATOS_MASA_LAGO:9,ESTUDIO_PRESIONES_MASA_LAGO:10,ESTADO_MASA_LAGO:11,DATOS_MASA_EMBALSE:12,ESTUDIO_PRESIONES_MASA_EMBALSE:13,ESTADO_MASA_EMBALSE:14,DATOS_MASA_RIO:15,ESTUDIO_PRESIONES_MASA_RIO:16,ESTADO_MASA_RIO:17,NATURALEZA_MASA_RIO:18,DATOS_UEL:19,DATOS_UEL_TEL:20,DATOS_UEL_VOL:21,DATOS_UEL_TENDENCIAS:22,DATOS_UEL_PAC:23,TENDENCIAS_UDG:46,USOS_ASOCIADOS_UDG:205,DATOS_UDA:25,DATOS_UDA_COMUNIDADES:26,DATOS_UDA_INFORMES:27,DATOS_UDA_TENDENCIAS:28,DATOS_UDA_CALIDAD:29,APORTACIONES_MASA_RIO:30,APORTACIONES_MASA_EMBALSE:31,DATOS_UEDG:32,DATOS_UEDG_TENDENCIAS:33,DATOS_UEDG_ANUALES:34},i.relatedElements={MASA_AGUA_RIO_PROPUESTA:0,MASA_AGUA_EMBALSE_PROPUESTA:1,MASA_SUBTERRANEA:2,MASA_AGUA_LAGO:3,MASA_SUPERFICIAL_CANAL:4,ZONAS_PROTEGIDAS:5,INFRAESTRUCTURAS:6,EMBALSE:7,RIO:8,LAGO:9,SUBCUENCA_VERTIENTE:10,POBLACIONES_ADMIN_MAYORES:11,USOS:12,PRESIONES:13,PRESAS:14,BALSAS:15,CANALES:16,ZONA_PROTECCION_HABITATS_ESPECIES:17,ZONA_PROTECCION_ESPECIAL:18,RESERVAS_NATURALES_FLUVIALES:19,AGUAS_MINERALES_TERMALES:20,ZONAS_HUMEDAS:21,ABASTECIMENTOS_SUPERFICIALES:22,ABASTECIMENTOS_SUBTERRANEOS:23,TRAMOS_PISCICOLAS:24,ZONAS_
1USOS_RECREATIVOS:25,ZONAS_VULNERABLES:26,ZONAS_SENSIBLES:27,NUCLEOS:29,INDUSTRIA:38},i.waterbodyTypeUses={MASA_SUBTERRANEA:2,MASA_LAGO:4,EMBALSE:5,CANAL:6,BALSA:7,MASA_RIO:8,MASA_EMBALSE:9,MASA_CANAL:10},i.tiposElementosEstadosMasas={ITEM_ELEMENTOS_QUIMICOS:0,ITEM_ELEMENTOS_BIOLOGICOS:1,ITEM_ELEMENTOS_HIDROMORFOLOGICOS:2,ITEM_ELEMENTOS_FISICOQUIMICOS:3,ITEM_ELEMENTOS_FISICOQUIMICOSCONTAM:4,ITEM_ELEMENTOS_ABIOTICOS:5},i.valorReferenciaExcelMasas={ECOLOGICO:1,ESTADO_QUIMICO:2,SUST_PREFERENTES:3,UMBRAL:4},i.drawPointEntities=[{id:i.tipoEntidad.extraccionAguas,nombre:"viewer.edit.drawPoint.entitiesCombo.waterExtraction"},{id:i.tipoEntidad.extraccionAguasSup,nombre:"viewer.edit.drawPoint.entitiesCombo.waterExtractionSup"},{id:i.tipoEntidad.extraccionAguasSub,nombre:"viewer.edit.drawPoint.entitiesCombo.waterExtractionSub"},{id:i.tipoEntidad.extraccionAguasSupConcesional,nombre:"viewer.edit.drawPoint.entitiesCombo.waterExtractionSupConcesional"},{id:i.tipoEntidad.extraccionAguasSubConcesional,nombre:"viewer.edit.drawPoint.entitiesCombo.waterExtractionSubConcesional"},{id:i.tipoEntidad.presasYAzudes,nombre:"viewer.edit.drawPoint.entitiesCombo.dam"},{id:i.tipoEntidad.manantiales,nombre:"viewer.edit.drawPoint.entitiesCombo.spring"},{id:i.tipoEntidad.explotacionesGanaderas,nombre:"viewer.edit.drawPoint.entitiesCombo.cattleFarm"},{id:i.tipoEntidad.publicUses,nombre:"viewer.edit.drawPoint.entitiesCombo.environOthers"}],i.drawPolygonEntities=[{id:i.tipoEntidad.regadios,nombre:"viewer.edit.drawPolygon.entitiesCombo.irrigation"}],i.menuPathByEntity=new Map([[i.tipoEntidad.abastecimientoSubterraneo,"protectedAreas"],[i.tipoEntidad.abastecimientoSuperficial,"protectedAreas"],[i.tipoEntidad.actuaciones,"measures"],[i.tipoEntidad.aguasTermales,"/protectedAreas"],[i.tipoEntidad.areaProtegidaEspecial,"protectedAreas"],[i.tipoEntidad.areasProtegidas,"protectedAreas"],[i.tipoEntidad.balsas,"infrastructures"],[i.tipoEntidad.camposGolf,"uses"],[i.tipoEntidad.canales,"infrastructures"],[i.tipoEntidad.centralesHidro,"uses"],[i.tipoEntidad.centralesTermicas,"uses"],[i.tipoEntidad.contaminacionSubterranea,"pressures"],[i.tipoEntidad.contaminacionSuperficial,"pressures"],[i.tipoEntidad.contratos,"measures"],[i.tipoEntidad.controlEstacionesSup,"monitoringSurfaceWater"],[i.tipoEntidad.controlSub,"monitoringGroundWater"],[i.tipoEntidad.controlSubCuantitativa,"monitoringGroundWater"],[i.tipoEntidad.controlSup,"monitoringSurfaceWater"],[i.tipoEntidad.controlSupEmbalses,""],[i.tipoEntidad.controlSupLagos,""],[i.tipoEntidad.demandasGanaderas,"demands"],[i.tipoEntidad.demandasUrbanas,"demands"],[i.tipoEntidad.demandaUrbanaUnidadElemental,"demands"],[i.tipoEntidad.demandaIndustrial,"demands"],[i.tipoEntidad.demandaIndustrialUnidadElemental,"demands"],[i.tipoEntidad.demandaGanaderaUnidadElemental,"demands"],[i.tipoEntidad.embalses,"infrastructures"],[i.tipoEntidad.estacionesSeguimientoSub,"monitoringGroundWater"],[i.tipoEntidad.estacionesSeguimientoSup,"monitoringSurfaceWater"],[i.tipoEntidad.explotacionesGanaderas,"uses"],[i.tipoEntidad.explotacionesForestales,""],[i.tipoEntidad.extraccionAguas,"/pressures"],[i.tipoEntidad.extraccionAguasSub,"/pressures"],[i.tipoEntidad.extraccionAguasSup,"/pressures"],[i.tipoEntidad.extraccionAridos,""],[i.tipoEntidad.industria,"uses"],[i.tipoEntidad.industriaBienes,"uses"],[i.tipoEntidad.industriaExtractiva,"uses"],[i.tipoEntidad.industriaOcio,"uses"],[i.tipoEntidad.inventarioEmbalses,"infrastructures"],[i.tipoEntidad.lagos,"naturalElements"],[i.tipoEntidad.lics,""],[i.tipoEntidad.manantiales,"naturalElements"],[i.tipoEntidad.masasAguaCanal,"surfaceWaterBody"],[i.tipoEntidad.masasCanalEstado,"surfaceWaterBody"],[i.tipoEntidad.masasCanalEstudioPresiones,"surfaceWaterBody"],[i.tipoEntidad.masasEmbalses,"surfaceWaterBody"],[i.tipoEntidad.masasEmbalsesArtificial,"surfaceWaterBody"],[i.tipoEntidad.masasEmbalsesModificado,"surfaceWaterBody"],[i.tipoEntidad.masasEmbalsesPropuestos,"surfaceWaterBody"],[i.tipoEntidad.masasLago,"surfaceWaterBody"],[i.tipoEntidad.masasRio,"surfaceWaterBody"],[i.tipoEntidad.masasRioModificado,"surfaceWaterBody"],[i.tipoEntidad.masasRioPropuesta,"surfaceWaterBody"],[i.tipoEntidad.masasSubterraneas,"/groundWaterBody"],[i.tipoEntidad.medidas,"measures"],[i.tipoEntidad.nucleo,"uses"],[i.tipoEntidad.obstaculosLongitudinales,"pressures"],[i.tipoEntidad.otrosAbastecimientos,"uses"],[i.tipoEntidad.publicUses,"uses"],[i.tipoEntidad.privateUses,"uses"],[i.tipoEntidad.presas,"infrastru
1ctures"],[i.tipoEntidad.presasYAzudes,"infrastructures"],[i.tipoEntidad.presionesAgrariasSub,"pressures"],[i.tipoEntidad.presionesAgrariasSup,"pressures"],[i.tipoEntidad.programasSeguimientoSub,"monitoringGroundWater"],[i.tipoEntidad.programasSeguimientoSup,"monitoringSurfaceWater"],[i.tipoEntidad.puntosDesbordamiento,"pressures"],[i.tipoEntidad.puntosMuestreo,"monitoringSurfaceWater"],[i.tipoEntidad.recrecimientoLagos,""],[i.tipoEntidad.regadios,"uses"],[i.tipoEntidad.regadiosAntiguos,"uses"],[i.tipoEntidad.regadiosTramitacion,"uses"],[i.tipoEntidad.regadiosSinClas,"uses"],[i.tipoEntidad.reservaNaturalFluvial,"protectedAreas"],[i.tipoEntidad.rios,"naturalElements"],[i.tipoEntidad.segmentoCanal,"infrastructures"],[i.tipoEntidad.segmentoEmbalseModificado,"infrastructures"],[i.tipoEntidad.segmentoEmbalsePropuesto,"infrastructures"],[i.tipoEntidad.segmentoRio,"naturalElements"],[i.tipoEntidad.segmentoRioPropuesto,"naturalElements"],[i.tipoEntidad.tramosPiscicolas,"protectedAreas"],[i.tipoEntidad.trasvases,""],[i.tipoEntidad.unidadesElementales,"demands"],[i.tipoEntidad.unidadesGanaderas,"demands"],[i.tipoEntidad.usosAcuicolas,"uses"],[i.tipoEntidad.usosAgricolas,"demands"],[i.tipoEntidad.usosAgricolasNuevos,"uses"],[i.tipoEntidad.usosAgricolasUeda,"demands"],[i.tipoEntidad.usosRecreativos,"uses"],[i.tipoEntidad.otrosUsos,"uses"],[i.tipoEntidad.vertedero,"pressures"],[i.tipoEntidad.vertidos,"pressures"],[i.tipoEntidad.censoVertidosAutorizados,"pressures"],[i.tipoEntidad.zepas,""],[i.tipoEntidad.zonasHumedas,"protectedAreas"],[i.tipoEntidad.zonasRecreativas,"protectedAreas"],[i.tipoEntidad.zonasSensibles,"protectedAreas"],[i.tipoEntidad.zonasVulnerables,"protectedAreas"],[i.tipoEntidad.zonificacionMunicipal,"exploitation"],[i.tipoEntidad.informesCompatibilidad,"exploitation"],[i.tipoEntidad.sistemasExplotacion,"demands"]]),i.entityTypeByEntity=new Map([[i.tipoEntidad.abastecimientoSubterraneo,[i.groundSupplieEntity]],[i.tipoEntidad.abastecimientoSuperficial,[i.surfaceSupplieEntity]],[i.tipoEntidad.actuaciones,[i.actuationEntity]],[i.tipoEntidad.aguasTermales,[i.mineralWaterEntity]],[i.tipoEntidad.areaProtegidaEspecial,[i.specialProtectionAreasEntity]],[i.tipoEntidad.areasProtegidas,[i.protectionAreasEntity]],[i.tipoEntidad.balsas,[i.raftEntity]],[i.tipoEntidad.canales,[i.channelEntity]],[i.tipoEntidad.centralesHidro,[i.hydroelectricPlantEntity]],[i.tipoEntidad.centralesTermicas,[i.thermalPlantEntity]],[i.tipoEntidad.contaminacionSubterranea,[i.groundContaminationEntity]],[i.tipoEntidad.contaminacionSuperficial,[i.surfaceContaminationEntity]],[i.tipoEntidad.contratos,[i.contractEntity]],[i.tipoEntidad.controlEstacionesSup,[i.monitoringStationEntity]],[i.tipoEntidad.controlSub,[i.monitoringStationEntity]],[i.tipoEntidad.controlSubCuantitativa,[i.monitoringStationEntity]],[i.tipoEntidad.controlSup,[i.monitoringProgramEntity,i.surfaceMonitoringProgramEntity]],[i.tipoEntidad.controlSupEmbalses,[i.monitoringProgramEntity,i.surfaceMonitoringProgramEntity]],[i.tipoEntidad.controlSupLagos,[i.monitoringProgramEntity,i.surfaceMonitoringProgramEntity]],[i.tipoEntidad.demandasGanaderas,[i.livestockDemandEntity]],[i.tipoEntidad.demandasUrbanas,[i.urbanDemandEntity]],[i.tipoEntidad.demandaUrbanaUnidadElemental,[i.elementaryUrbanDemandEntity]],[i.tipoEntidad.demandaIndustrial,[i.industryDemandEntity]],[i.tipoEntidad.demandaIndustrialUnidadElemental,[i.elementaryIndustryDemandEntity]],[i.tipoEntidad.demandaGanaderaUnidadElemental,[i.elementaryLivestockDemandEntity]],[i.tipoEntidad.embalses,[i.reservoirEntity]],[i.tipoEntidad.estacionesSeguimientoSub,[i.monitoringStationEntity]],[i.tipoEntidad.estacionesSeguimientoSup,[i.monitoringStationEntity,i.surfaceMonitoringStationEntity]],[i.tipoEntidad.explotacionesGanaderas,[i.cattleFarmEntity]],[i.tipoEntidad.explotacionesForestales,[""]],[i.tipoEntidad.extraccionAguas,[i.grantingWaterExtractEntity]],[i.tipoEntidad.extraccionAguasSub,[i.grantingWaterExtractEntity]],[i.tipoEntidad.extraccionAguasSup,[i.grantingWaterExtractEntity]],[i.tipoEntidad.industria,[i.industryEntity]],[i.tipoEntidad.inventarioEmbalses,[i.reservoirEntity]],[i.tipoEntidad.lagos,[i.lakeEntity]],[i.tipoEntidad.lics,[""]],[i.tipoEntidad.manantiales,[i.springEntity]],[i.tipoEntidad.masasAguaCanal,[i.channelEntity,i.swbChannelEntity]],[i.tipoEntidad.masasCanalEstado,[i.channelEntity,i.swbChannelEntity]],[i.tipoEntidad.masasCanalEstudioPresiones,[i.channelEntity,i.swbChannelEntity]],[i.tipoEntidad.masasEmbalses,[i.reservoirEntity,i.swbReservoirEntity]],[i.tipoEntidad.masasEmbalsesArtificial,[i.reservoirEntity,i.swbReservoirEntity]],[i.tipoEntidad.masasEmbalsesModificado,[i.reservoirEntity,i.swbReservoirEntity]],[i.tipoEntidad.masasEmbalsesPropuestos,[i.reservoirEntity,i.swbReservoirEntity]],[i.tipoEntidad.masasLago,[i.lakeEntity,i.swbLakeEntity]],[i.tipoEntidad.masasRio,[i.riverEntity,i.swbRiverEntity]],[i.tipoEntidad.masasRioModificado,[i.riverEntity,i.swbRiverEntity]],[i.tipoEntidad.masasRioPropuesta,[i.riverEntity,i.swbRiverEntity]],[i.tipoEntidad.masasSubterraneas,[i.gwbEntity]],[i.tipoEntidad.medidas,[i.measuresProgramEntity]],[i.tipoEntidad.nucleo,[i.nucleusEntity]],[i.tipoEntidad.obstaculosLongitudinales,[i.obstaclesEntity]],[i.tipoEntidad.otrosAbastecimientos,[i.otherSupplieEntity]],[i.tipoEntidad.usosPublicos,[i.publicUsesEntity]],[i.tipoEntidad.usosPrivados,[i.privateUsesEntity]],[i.tipoEntidad.presas,[i.damEntity]],[i.tipoEntidad.presasYAzudes,[i.damEntity]],[i.tipoEntidad.presionesAgrariasSub,[i.groundContaminationEntity]],[i.tipoEntidad.presionesAgrariasSup,[i.surfaceContaminationEntity]],[i.tipoEntidad.programasSeguimientoSub,[i.monitoringProgramEntity]],[i.tipoEntidad.programasSeguimientoSup,[i.monitoringProgramEntity,i.surfaceMonitoringProgramEntity]],[i.tipoEntidad.puntosDesbordamiento,[i.rainOverflowEntity]],[i.tipoEntidad.puntosMuestreo,[i.samplingPointsEntity]],[i.tipoEntidad.recrecimientoLagos,[""]],[i.tipoEntidad.regadios,[i.irrigationEntity]],[i.tipoEntidad.regadiosAntiguos,[i.irrigationEntity]],[i.tipoEntidad.regadiosTramitacion,[i.irrigationEntity]],[i.tipoEntidad.regadiosSinClas,[i.irrigationEntity]],[i.tipoEntidad.reservaNaturalFluvial,[i.riverNatureReservesEntity]],[i.tipoEntidad.rios,[i.riverEntity]],[i.tipoEntidad.segmentoCanal,[i.channelEntity]],[i.tipoEntidad.segmentoEmbalseModificado,[i.reservoirEntity]],[i.tipoEntidad.segmentoEmbalsePropuesto,[i.reservoirEntity]],[i.tipoEntidad.segmentoRio,[i.riverEntity]],[i.tipoEntidad.segmentoRioPropuesto,[i.riverEntity]],[i.tipoEntidad.tramosPiscicolas,[i.fishSectionEntity]],[i.tipoEntidad.trasvases,[""]],[i.tipoEntidad.unidadesElementales,[i.elementaryAgrarianDemandEntity]],[i.tipoEntidad.unidadesGanaderas,[i.livestockDemandEntity]],[i.tipoEntidad.usosAcuicolas,[i.aquacultureEntity]],[i.tipoEntidad.usosAgricolas,[i.agrarianDemandEntity]],[i.tipoEntidad.usosAgricolasNuevos,[i.irrigationEntity]],[i.tipoEntidad.usosAgricolasUeda,[i.elementaryAgrarianDemandEntity]],[i.tipoEntidad.usosRecreativos,[i.recreationalUseEntity]],[i.tipoEntidad.vertedero,[i.landFillEntity]],[i.tipoEntidad.vertidos,[i.wasteEntity]],[i.tipoEntidad.censoVertidosAutorizados,[i.allowedSpillageCensusEntity]],[i.tipoEntidad.zepas,[""]],[i.tipoEntidad.zonasHumedas,[i.wetAreasEntity]],[i.tipoEntidad.zonasRecreativas,[i.recreationalUseAreaEntity]],[i.tipoEntidad.zonasSensibles,[i.sensitiveAreaEntity]],[i.tipoEntidad.zonasVulnerables,[i.vulnerableAreaEntity]],[i.tipoEntidad.zonificacionMunicipal,[i.municipalZoningEntity]],[i.tipoEntidad.otrosUsos,[i.otherUseEntity]],[i.tipoEntidad.informesCompatibilidad,[i.reportsEntity]],[i.tipoEntidad.sistemasExplotacion,[i.exploitationSystemEntity]]]),i.urlsDMADuero=new Map([[i.tipoEntidad.zonificacionMunicipal,["/webZonificacionMunicipal/zonificacionMunicipalBusqueda.faces","/webZonificacionMunicipal/zonificacionMunicipalFichaGral.faces?code="]
1]]),i.entityLayerByEntity=new Map([[i.tipoEntidad.extraccionAguasSub,[{id:"226",geometry:"point"}]],[i.tipoEntidad.extraccionAguasSup,[{id:"227",geometry:"point"}]],[i.tipoEntidad.extraccionAguasSubConcesional,[{id:"739",geometry:"point",advanced:!0}]],[i.tipoEntidad.extraccionAguasSupConcesional,[{id:"738",geometry:"point",advanced:!0}]],[i.tipoEntidad.nucleo,[{id:"255",geometry:"polygon"}]],[i.tipoEntidad.nucleoLocalidad,[{id:"255",geometry:"polygon"}]],[i.tipoEntidad.otrosAbastecimientos,[{id:"2",geometry:"polygon"}]],[i.tipoEntidad.regadios,[{id:"1",geometry:"polygon"}]],[i.tipoEntidad.regadiosAntiguos,[{id:"264",geometry:"polygon"}]],[i.tipoEntidad.regadiosTramitacion,[{id:"390",geometry:"polygon"}]],[i.tipoEntidad.regadiosSinClas,[{id:"465",geometry:"polygon"}]],[i.tipoEntidad.explotacionesGanaderas,[{id:"254",geometry:"point"}]],[i.tipoEntidad.centralesTermicas,[{id:"262",geometry:"point"}]],[i.tipoEntidad.centralesHidro,[{id:"261",geometry:"point"},{id:"365",geometry:"point"}]],[i.tipoEntidad.industria,[{id:"3",geometry:"polygon"},{id:"4",geometry:"polygon"},{id:"6",geometry:"polygon"},{id:"258",geometry:"polygon"},{id:"843",geometry:"polygon"}]],[i.tipoEntidad.otrosUsos,[{id:"766",geometry:"point"}]],[i.tipoEntidad.usosAcuicolas,[{id:"256",geometry:"point"}]],[i.tipoEntidad.usosRecreativos,[{id:"321",geometry:"polygon"}]],[i.tipoEntidad.publicUses,[{id:"312",geometry:"point"}]],[i.tipoEntidad.privateUses,[{id:"313",geometry:"polygon"}]],[i.tipoEntidad.dueroMuni2006,[{id:"30",geometry:"polygon"}]],[i.tipoEntidad.vertidos,[{id:"228",geometry:"point"}]],[i.tipoEntidad.censoVertidosAutorizados,[{id:"102",geometry:"point"}]],[i.tipoEntidad.vertedero,[{id:"493",geometry:"polygon"}]],[i.tipoEntidad.presas,[{id:"225",geometry:"point"}]],[i.tipoEntidad.obstaculosLongitudinales,[{id:"33",geometry:"polygon"}]],[i.tipoEntidad.puntosDesbordamiento,[{id:"95",geometry:"point"}]],[i.tipoEntidad.masasRioPropuesta,[{id:"634",geometry:"polygon"}]],[i.tipoEntidad.masasEmbalses,[{id:"637",geometry:"polygon"}]],[i.tipoEntidad.masasLago,[{id:"305",geometry:"polygon"}]],[i.tipoEntidad.masasAguaCanal,[{id:"308",geometry:"polygon"}]],[i.tipoEntidad.masasSubterraneas,[{id:"276",geometry:"polygon"},{id:"277",geometry:"polygon"}]],[i.tipoEntidad.demandasUrbanas,[{id:"255",geometry:"polygon"}]],[i.tipoEntidad.usosAgricolas,[{id:"808",geometry:"polygon"},{id:"828",geometry:"polygon"},{id:"800",geometry:"polygon"}]],[i.tipoEntidad.unidadesElementales,[{id:"808",geometry:"polygon"},{id:"828",geometry:"polygon"},{id:"800",geometry:"polygon"}]],[i.tipoEntidad.rios,[{id:"306",geometry:"polygon"}]],[i.tipoEntidad.lagos,[{id:"305",geometry:"polygon"}]],[i.tipoEntidad.contaminacionSuperficial,[{id:"472",geometry:"polygon",advanced:!0},{id:"515",geometry:"polygon",advanced:!0}]]]),i.geometryByLayer=new Map([[735,{geometry:"polygon",advanced:!0}],[736,{geometry:"polygon",advanced:!0}],[737,{geometry:"polygon",advanced:!0}],[276,{geometry:"polygon"}],[277,{geometry:"polygon"}],[479,{geometry:"line"}],[637,{geometry:"polygon"}],[480,{geometry:"polygon"}],[634,{geometry:"line"}],[830,{geometry:"polygon"}]]),i.WFSHighlightStyles=new Map([["point",{fill:{color:"#FFFFFF",opacity:0},stroke:{color:"#000000",width:3},radius:9}],["polygon",{fill:{color:"#FFFFFF",opacity:0},stroke:{color:"#000000",width:3}}],["multipolygon",{fill:{color:"#FFFFFF",opacity:0},stroke:{color:"#000000",width:3}}],["line",{fill:{color:"#000000",width:3}}]]),i.entityIdAndViewerQueryParamsByEntityType=new Map([[i.tipoEntidad.programasSeguimientoSub,new Map([[7400001,{layersIds:i.olMap.layerRedOficialControlNivel}],[7400002,{layersIds:i.olMap.layerRedInternacionalEIONETWATER}],[7400003,{layersIds:i.olMap.layerRedOperativaSeguimientoQuimico}],[7400004,{layersIds:i.olMap.layerRedVigilanciaSeguimientoQuimico}],[7400005,{layersIds:i.olMap.layerRedControlZonasAbastecimiento}],[7400006,{layersIds:i.olMap.layerRedControlZonasVulnerables}]])]]),i.uploadDirectoryByEntity=new Map([[i.tipoEntidad.masasAguaCanal,"masaAguaCanal"],[i.tipoEntidad.masasEmbalses,"masaAguaEmbalse"],[i.tipoEntidad.masasLago,"masaAguaLago"],[i.tipoEntidad.masasRio,"masaAguaRio"],[i.tipoEntidad.masasSubterraneas,"masaSubterranea"],[i.tipoEntidad.actuaciones,"actuaciones"],[i.tipoEntidad.informesCompatibilidad,"informesCompatibilidad"]]),i.actuacionesDirectoryByEntity=new Map([[i.tipoEntidad.masasAguaCanal,"masasAguaCanal"],[i.tipoEntidad.masasEmbalses,"masasAguaEmbalse"],[i.tipoEntidad.masasLago,"masasAguaLago"],[i.tipoEntidad.masasRio,"masasAguaRio"]]),i.ecologicalFlowPropertyPrefixByTableProperty=new Map([["minimoNormal","normal"],["minimoSequia","sequia"],["maximo","maxima"]]),i.monthDays=new Map([[1,31],[2,28],[3,31],[4,30],[5,31],[6,30],[7,31],[8,31],[9,30],[10,31],[11,30],[12,31]]),i.monthNames=new Map([["
1Ene","enero"],["Feb","febrero"],["Mar","marzo"],["Abr","abril"],["May","mayo"],["Jun","junio"],["Jul","julio"],["Ago","agosto"],["Sep","septiembre"],["Oct","octubre"],["Nov","noviembre"],["Dic","diciembre"]]),i.subtipoCaptacionExtracciones={POZO:1,GALERIA:2,TOMA_FIJA:3,TOMA_MOVIL:4,MANANTIAL_CAPTADO:5,EXTRACCION_EN_ALUVIAL:6,SONDEO:7,TOMA_DE_CAUCE:8,TOMA_DE_EMBALSE:9,TOMA_DE_LAGO:10,TOMA_DE_CANAL:11,EMISARIO_AGUAS_RESIDUALES_RECICLADAS:12,POZO_CON_DREN:13,CHARCA_EN_ALUVIAL:14,EXCAVACION_BALSA:15,PRESA:16,POZO_RADIAL:17,MANANTIAL_CAPTADO_EN_ALUVIAL:18,CHARCA:19,PLUVIAL:20,AZUD:21,OTROS:70,DESCONOCIDO:80,SIN_CATALOGAR:90},i.elementosEcologicosMasasAgua={COBERTURA_TOTAL_HELOFITOS:69,COBERTURA_TOTAL_HIDROFITOS:70,GLIFOSATO:81,AMPA:82},i.subzonaPropuestaUsosPrivados={TIPO_SUBZONA_PROPUESTA_VARIOS:31900017,TIPO_SUBZONA_PROPUESTA_SIN_CATALOGAR:31900019,TIPO_SUBZONA_PROPUESTA_NINGUNO:31900020},i.informesVinculado={NO_VINCULADO:0,VINCULADO:1},i.irrigationLayerByState=new Map([[i.TipoEstadoRegadio.CON_CONCESION_DERECHO,"1"],[i.TipoEstadoRegadio.SIN_CONCESION_DERECHO,"264"],[i.TipoEstadoRegadio.EN_TRAMITE_DERECHO,"390"],[i.TipoEstadoRegadio.ANTIGUO_DERECHO_FUERA_SERVICIO,"264"],[i.TipoEstadoRegadio.DERIVACION_TEMPORAL,"390"],[i.TipoEstadoRegadio.DESCONOCIDO,"465"],[i.TipoEstadoRegadio.SIN_CATALOGAR,"465"]]),i.livestockDemandsLayersByOrigin=new Map([[i.TipoOrigenAgua.SUPERFICIAL,[{year:0,layer:"780"},{year:1,layer:"781"},{year:2,layer:"782"},{year:3,layer:"783"}]],[i.TipoOrigenAgua.SUBTERRANEA_GENERAL,[{year:0,layer:"784"},{year:1,layer:"785"},{year:2,layer:"786"},{year:3,layer:"787"}]],[i.TipoOrigenAgua.SUBTERRANEA_SUPERIOR,[{year:0,layer:"788"},{year:1,layer:"789"},{year:2,layer:"790"},{year:3,layer:"791"}]]]),i.uelLayersByOrigin=new Map([[i.TipoOrigenAgua.SUPERFICIAL,[{year:0,layer:"808"},{year:1,layer:"809"},{year:2,layer:"810"},{year:3,layer:"811"},{year:-1,layer:"838"}]],[i.TipoOrigenAgua.SUBTERRANEA_GENERAL,[{year:0,layer:"828"},{year:1,layer:"829"},{year:2,layer:"794"},{year:3,layer:"795"},{year:-1,layer:"839"}]],[i.TipoOrigenAgua.SUBTERRANEA_SUPERIOR,[{year:0,layer:"800"},{year:1,layer:"801"},{year:2,layer:"802"},{year:3,layer:"803"},{year:-1,layer:"840"}]]]),i.agrarianDemandsLayersByOrigin=new Map([[i.TipoOrigenAgua.SUPERFICIAL,[{year:0,layer:"808"},{year:1,layer:"809"},{year:2,layer:"810"},{year:3,layer:"811"},{year:-1,layer:"838"}]],[i.TipoOrigenAgua.SUBTERRANEA_GENERAL,[{year:0,layer:"828"},{year:1,layer:"829"},{year:2,layer:"794"},{year:3,layer:"795"},{year:-1,layer:"839"}]],[i.TipoOrigenAgua.SUBTERRANEA_SUPERIOR,[{year:0,layer:"800"},{year:1,layer:"801"},{year:2,layer:"802"},{year:3,layer:"803"},{year:-1,layer:"840"}]]]),i.campoId={305:{[i.measuresProgramEntity]:"wbid"},308:"wbid",634:"wbid",1:{[i.irrigationEntity]:"code"},390:{[i.irrigationEntity]:"code"},264:{[i.irrigationEntity]:"code"},465:{[i.irrigationEntity]:"code"},321:{[i.recreationalUseEntity]:"code"},313:{[i.privateUsesEntity]:"idm"},255:{[i.nucleusEntity]:"id",[i.urbanDemandEntity]:"cod15"},834:"code",808:{[i.agrarianDemandEntity]:"uda"},828:{[i.agrarianDemandEntity]:"uda"},800:{[i.agrarianDemandEntity]:"uda"},3:{[i.industryDemandEntity]:"udi",[i.elementaryIndustryDemandEntity]:"uedi"},4:{[i.industryDemandEntity]:"udi",[i.elementaryIndustryDemandEntity]:"uedi"},6:{[i.industryDemandEntity]:"udi",[i.elementaryIndustryDemandEntity]:"uedi"},258:{[i.industryDemandEntity]:"udi",[i.elementaryIndustryDemandEntity]:"uedi"},100:{[i.surfaceSupplieEntity]:"zona_abastecimiento"},241:{[i.groundSupplieEntity]:"zona_protegida"}},i.carouselDirectoryByEntity=new Map([[i.tipoEntidad.rios,"riverCarousel"],[i.tipoEntidad.lagos,"lakeCarousel"],[i.tipoEntidad.manantiales,"springCarousel"],[i.tipoEntidad.estacionesSeguimientoSub,"monitoringStationCarousel"],[i.tipoEntidad.programasSeguimientoSub,"monitoringProgramCarousel"],[i.tipoEntidad.masasSubterraneas,"gwbCarousel"],[i.tipoEntidad.balsas,"raftCarousel"],[i.tipoEntidad.canales,"channelCarousel"],[i.tipoEntidad.embalses,"reservoirCarousel"],[i.tipoEntidad.presas,"damCarousel"],[i.tipoEntidad.programasSeguimientoSup,"surfaceMonitoringProgramCarousel"],[i.tipoEntidad.estacionesSeguimientoSup,"surfaceMonitoringStationCarousel"],[i.tipoEntidad.vertidos,"wasteCarousel"],[i.tipoEntidad.censoVertidosAutorizados,"allowedSpillageCensusCarousel"],[i.tipoEntidad.puntosMuestreo,"samplingPointsCarousel"],[i.tipoEntidad.reservaNaturalFluvial,"riverNatureReservesCarousel"],[i.tipoEntidad.masasAguaCanal,"surfacewaterbodychannelCarousel"],[i.tipoEntidad.vertedero,"landfillCarousel"],[i.tipoEntidad.contaminacionSuperficial,"surfaceContaminationCarousel"],[i.tipoEntidad.contaminacionSubterranea,"surfaceContaminationCarousel"],[i.tipoEntidad.centralesHidro,"hydroelectricPlantCarousel"],[i.tipoEntidad.actuaciones,"actuationCarousel"]]),i.actividadIndustrial={ALTA:"Alta",MEDIA:"Media",BAJA:"Baja",PENDING:"Pendiente de definir datos"},i.tiposPresionesComun={VERTIDO:1,PUNTO_DESBORDAMIENTO_LLUVIA:2,VERTEDERO:3,CONTAMINACION_SUPERFICIAL:4,CONTAMINACION_SUBTERRANEA:5,EXTRACCION:6,PRESA:7,OBSTACULO:8,RIO_PRESIONES_ACUMULADAS:9,RIO_OCUPACION_LIBERTAD_FLUVIAL:10,LAGO_PRESIONES_ACUMULADAS:11,EMBALSE_PRESIONES_ACUMULADAS:12}},6088:(Yt,Ze,m)=>{"use strict";m.d(Ze,{u:()=>i});class i{constructor(e,l,d,A){this.layerName=e,this.layerStyle=l||"",this.applyCQLFilter=d||!1,this.filterCQLIds=A||[]}}},6757:(Yt,Ze,m)=>{"use strict";m.d(Ze,{B_:()=>e,FS:()=>i,OA:()=>A,x0:()=>s,zU:()=>d});var i=(()=>{return(C=i||(i={}
1)).LAYER="Capa",C.DOWNLOAD_FILE="Descargar archivo",C.SHARE_CONTENT="Compartir contenido",C.MAP="Mapa",C.ERROR="Error",i;var C})(),s=(()=>{return(C=s||(s={})).DOWNLOAD_FILE="Descargar archivo",C.SELECT_LAYER="Seleccionar capa",C.SELECT_EXTERNAL_LAYER="Seleccionar capa externa",C.SELECT_BASE_LAYER="Seleccionar capa base",C.GET_FEATURE_INFO="Obtener informaci\xf3n de la caracter\xedstica",C.GET_COVERAGE="Obtener cobertura",C.SAVE_FAVORITE="Guardar favorito",C.SAVE_WAYPOINT="Guardar waypoint",C.DIGITIZE_POINT="Digitalizar punto",C.SAVE_VERSIONING_DAM="Guardar versionado presa",C.SAVE_PHOTO="Guardar foto",C.UPLOAD_PHOTO="Subir foto",C.UPDATE_COORDINATES_ENTITY="Actualizar coordenadas de entidad",C.DISCARD_PHOTO="Descartar foto",C.ADD_RELATION_TO_PHOTO="Agregar relaci\xf3n a foto",C.REMOVE_PHOTO="Remover foto",C.SAVE_PIEZOMETRY="Guardar piezometr\xeda",C.SAVE_PROJECT="Guardar proyecto",C.EXPORT_PROJECT="Exportar proyecto",C.DOWNLOAD_MAP="Descargar mapa",s;var C})(),e=(()=>{return(C=e||(e={})).DOWNLOAD_MANUAL="Descargar gu\xeda r\xe1pida",C.SELECT_LAYER="Seleccionar capa",C.SELECT_EXTERNAL_LAYER="Seleccionar capa externa",C.SELECT_BASE_LAYER="Seleccionar capa base",C.GET_INFORMATION="Obtener informaci\xf3n",C.TOOL_USAGE="Uso de herramienta",C.SAVE_INFORMATION="Guardar informaci\xf3n",C.EXPORT_INFORMATION="Exportar informaci\xf3n",C.DOWNLOAD_INFORMATION="Descargar informaci\xf3n",e;var C})(),d=(()=>{return(C=d||(d={})).TOPONYM="Top\xf3nimo",C.PARCEL="Parcela",C.CADASTRE="Catastro",C.COORDINATES="Coordenadas",C.LAYER="Capa",C.ENTITY="Entidad",d;var C})(),A=(()=>{return(C=A||(A={})).LAYER_INFORMATION="Informaci\xf3n de capas",C.COORDINATES_DETAIL="Detalle de coordenadas",C.NEARBY_ELEMENTS="Elementos cercanos",C.MEASURE_DISTANCE="Medir distancia",C.MEASURE_AREA="Medir \xe1rea",C.REVELA_DUERO="Revela Duero",A;var C})()},2170:(Yt,Ze,m)=>{"use strict";m.d(Ze,{OZ:()=>s,Pz:()=>i,lC:()=>e});class i{constructor(d,A,C,T,S,R){this.id=d,this.comentarios=A,this.fechaToma=C,this.url=T,this.favorita=S,this.extension=R}}class s{constructor(d,A,C,T,S,R){this.longitud=d,this.latitud=A,this.sistema=C,this.fechaToma=T,this.comentarios=S,this.autor=R}}class e{constructor(d,A,C){this.highlightIds=d,this.bbox=A,this.filterCQL=C||!1}}},8914:(Yt,Ze,m)=>{"use strict";m.d(Ze,{E:()=>S});var i=m(5861),s=m(4128),e=m(9808),l=m(2340),d=m(6088),A=m(7470),C=m(5e3),T=m(520);let S=(()=>{class R{constructor(w){this.http=w,this.configUrl="assets/config/"}loadConfig(){var w=this;return new Promise((h,O)=>{const c=`${this.configUrl}${l.N.commonConfigFileName}.json`;let Z={enviromentConfig:this.http.get(`${this.configUrl}${l.N.environmentConfigFileName}.json`),commonConfig:this.http.get(c)};var v;(0,s.D)(Z).subscribe({next:(v=(0,i.Z)(function*(ee){w._environmentConfig=ee.enviromentConfig,w._commonConfig=ee.commonConfig,w._layersConfig=yield w.getLayersConfigurations(),h()}),function(X){return v.apply(this,arguments)}),error:v=>{O(`El servidor a devuelto el c\xf3digo de error ${v.status}: ${v.error}. No se ha podido cargar el fichero de configuraci\xf3n ${A.c.substringByChar(v.url,"/")}`)},complete:()=>{console.log("Ficheros de configuraci\xf3n cargados.")}})})}getLayersConfigurations(){var w=this;return(0,i.Z)(function*(){return yield(0,e.n)(w.http.get(`${w.getPublicPath()}${w.getApi("global","configuracionCapas")}`))})()}getPublicPath(){return this._environmentConfig.api_path}getPrivatePath(){return this._environmentConfig.mirame_path}getMgmtPath(){return this._environmentConfig.mgmt_path}getApi(w,k){return this._commonConfig.api_endpoints[w][k]}getCarouselImages(w){return this._commonConfig.carouselImages[w]}getReportTemplate(w){return this._commonConfig.reportTemplates[w]}getLayerConfiguration(w){return this._layersConfig.layersConfiguration[w]}getFeatureTypeConfiguration(w){return this._commonConfig.viewer[w]}getLayerIdByName(w){let k=this._layersConfig.layersConfiguration;for(const h in k)if(A.c.getLayerNameWithoutNamespace(k[h].altName?k[h].altName:k[h].layerName)===w)return h;return""}getSerieLayerIdByName(w){var k,h;return null!==(h=null===(k=Object.entries(this._layersConfig.layersConfiguration).find(([E,c])=>{var Z;return(null!==(Z=c.dataSerie)&&void 0!==Z?Z:[]).some(v=>A.c.getLayerNameWithoutNamespace(v.layerName)===w)}))||void 0===k?void 0:k[0])&&void 0!==h?h:""}getItemLayerById(w,k=!1,h=[]){let O=this.getLayerConfiguration(w);return new d.u(O.layerName,O.layerFeatureStyle,k,h)}getServicesURLs(w){return this._commonConfig.viewer.layersURL[w]}getServiceVersion(w){return this._commonConfig.viewer.servicesVersion[w]}getConfigRevelaDuero(w){return this._commonConfig.viewer.revelaDuero[w]}getGeoprintPath(){return this._environmentConfig.geoprint_path}}return R.\u0275fac=function(w){return new(w||R)(C.LFG(T.eN))},R.\u0275prov=C.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})()},3468:(Yt,Ze,m)=>{"use strict";m.d(Ze,{r:()=>Bee});var i=m(8966),s=m(3179),e=m(5e3),l=m(6291),d=m(60),A=m(4834),C=m(4623),T=m(7278),S=m(8999),R=m(7423),q=m(5397),w=m(4894);function k(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function h(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function O(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoComisaria)}}function E(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoComisaria)}}function c(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoIntegra)}}function Z(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoIntegra)}}function v(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tipoActuacion)}}function ee(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tipoActuacion)}}function X(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.promotor)}}function te(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.promotor)}}function _e(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();
1e.xp6(1),e.Oqu(e.xi3(2,1,n.coste,_.numRed))}}function ne(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.coste,_.numRed))}}function oe(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.costeTotal,_.numRed))}}function he(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.costeTotal,_.numRed))}}function Se(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaInicio,_.dateFormat))}}function Be(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaInicio,_.dateFormat))}}function ot(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaFin,_.dateFormat))}}function nt(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaFin,_.dateFormat))}}function xt(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaCertificacion,_.dateFormat))}}function At(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaCertificacion,_.dateFormat))}}function Qt(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.claveFRER)}}function Vt(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.claveFRER)}}function dt(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.barrerasTransvEliminadas,_.numRed))}}function Mt(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.barrerasTransvEliminadas,_.numRed))}}function we(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.barrerasTransvAdaptadas,_.numRed))}}function me(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.barrerasTransvAdaptadas,_.numRed))}}function We(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudRioConectada,_.numRed))}}function re(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudRioConectada,_.numRed))}}function ft(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudRioConectadaAbajo,_.numRed))}}function Ot(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudRioConectadaAbajo,_.numRed))}}function Et(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudMasaConectada,_.numRed))}}function Lt(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudMasaConectada,_.numRed))}}function It(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudEliminacionDefensas,_.numRed))}}function it(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudEliminacionDefensas,_.numRed))}}function wt(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudRetranqueoDefensas,_.numRed))}}function le(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudRetranqueoDefensas,_.numRed))}}function Ne(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.superficieInundable,_.numRed))}}function Ut(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();
1e.Oqu(e.xi3(1,1,n.superficieInundable,_.numRed))}}function pn(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.adicionSedimentos,_.numRed))}}function Dn(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.adicionSedimentos,_.numRed))}}function Mn(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.basuraRecogida,_.numRed))}}function rn(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.basuraRecogida,_.numRed))}}function Ue(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.habitantesProtegidos,_.numRed))}}function Je(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.habitantesProtegidos,_.numRed))}}function De(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.metrosLineales,_.numRed))}}function at(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.metrosLineales,_.numRed))}}function Ve(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudRioRestauracion,_.numRed))}}function ge(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudRioRestauracion,_.numRed))}}function et(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudRecuperacionCauces,_.numRed))}}function _t(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudRecuperacionCauces,_.numRed))}}function jt(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudMejorasVegetacion,_.numRed))}}function Xt(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudMejorasVegetacion,_.numRed))}}function Cn(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.superficieMejorasRibera,_.numRed))}}function Hn(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.superficieMejorasRibera,_.numRed))}}function Kn(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudEliminacionEspecies,_.numRed))}}function Bn(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudEliminacionEspecies,_.numRed))}}function di(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.superficieEliminacionEspecies,_.numRed))}}function ui(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.superficieEliminacionEspecies,_.numRed))}}function Di(t,o){if(1&t&&(e.TgZ(0,"span",45),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function In(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const Fn=function(t){return{modified:t}};function ei(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"div",7)(9,"h3"),e._uU(10),e.ALo(11,"translate"),e.qZA()(),e.TgZ(12,"mat-list-item",8)(13,"span",9),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,k,2,1,"span",10),e.qZA(),e.YNc(17,h,1,1,"ng-template",null,11,e.W1O),e.TgZ(19,"mat-list-item",12)(20,"span",9),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.YNc(23,O,2,1,"span",10),e.qZA(),e.YNc(24,E,1,1,"ng-template",null,13,e.W1O),e.TgZ(26,"mat-list-item",12)(27,"span",9),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.YNc(30,c,2,1,"span",10),e.qZA(),e.YNc(31,Z,1,1,"ng-template",null,14,e.W1O),e.TgZ(33,"mat-list-item",12)(34,"span",9),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.YNc(37,v,2,1,"span",10),e.qZA(),e.YNc(38,ee,1,1,"ng-template",null,15,e.W1O),e.TgZ(40,"mat-list-item",12)(41,"span",9),e._uU(42),e.ALo(43,"translate"),e.qZA(),e.YNc(44,X,2,1,"span",10),e.qZA(),e.YNc(45,te,1,1,"ng-template",null,16,e.W1O),e.TgZ(47,"mat-list-item",12)(48,"span",9),e._uU(49),e.ALo(50,"translate"),e.qZA(),e.YNc(51,_e,3,4,"span",10),e.qZA(),e.YNc(52,ne,2,4,"ng-template",null,17,e.W1O),e.TgZ(54,"mat-list-item",12)(55,"span",9),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.YNc(58,oe,3,4,"span",10),e.qZA(),e.YNc(59,he,2,4,"ng-template",null,18,e.W1O),e.TgZ(61,"mat-list-item",12)(62,"span",9),e._uU(63),e.ALo(64,"translate"),e.qZA(),e.YNc(65,Se,3,4,"span",10),e.qZA(),e.YNc(66,Be,2,4,"ng-template",null,19,e.W1O),e.TgZ(68,"mat-list-item",12)(69,"span",9),e._uU(70),e.ALo(71,"translate"),e.qZA(),e.YNc(72,ot,3,4,"span",10),e.qZA(),e.YNc(73,nt,2,4,"ng-template",null,20,e.W1O),e.TgZ(75,"mat-list-item",12)(76,"span",9),e._uU(77),e.ALo(78,"translate"),e.qZA(),e.YNc(79,xt,3,4,"span",10),e.qZA(),e.YNc(80,At,2,4,"ng-template",null,21,e.W1O),e.TgZ(82,"mat-list-item",12)(83,"span",9),e._uU(84),e.ALo(85,"translate"),e.qZA(),e.YNc(86,Qt,2,1,"span",10),e.qZA(),e.YNc(87,Vt,1,1,"ng-template",null,22,e.W1O),e.TgZ(89,"mat-list-item",12)(90,"span",9),e._uU(91),e.ALo(92,"translate"),e.qZA(),e.YNc(93,dt,3,4,"span",10),e.qZA(),e.YNc(94,Mt,2,4,"ng-template",null,23,e.W1O),e.TgZ(96,"mat-list-item",12)(97,"span",9),e._uU(98),e.ALo(99,"translate"),e.qZA(),e.YNc(100,we,3,4,"span",10),e.qZA(),e.YNc(101,me,2,4,"ng-template",null,24,e.W1O),e.TgZ(103,"mat-list-item",12)(104,"span",9),e._uU(105),e.ALo(106,"translate"),e.qZA(),e.YNc(107,We,3,4,"span",10),e.qZA(),e.YNc(108,re,2,4,"ng-template",null,25,e.W1O),e.TgZ(110,"mat-list-item",12)(111,"span",9),e._uU(112),e.ALo(113,"translate"),e.qZA(),e.YNc(114,ft,3,4,"span",10),e.qZA(),e.YNc(115,Ot,2,4,"ng-template",null,26,e.W1O),e.TgZ(117,"mat-list-item",12)(118,"span",9),e._uU(119),e.ALo(120,"translate"),e.qZA(),e.YNc(121,Et,3,4,"span",10),e.qZA(),e.YNc(122,Lt,2,4,"ng-template",null,27,e.W1O),e.TgZ(124,"mat-list-item",12)(125,"span",9),e._uU(126),e.ALo(127,"translate"),e.qZA(),e.YNc(128,It,3,4,"span",10),e.qZA(),e.YNc(129,it,2,4,"ng-template",null,28,e.W1O),e.TgZ(131,"mat-list-item",12)(132,"span",9),e._uU(133),e.ALo(134,"translate"),e.qZA(),e.YNc(135,wt,3,4,"span",10),e.qZA(),e.YNc(136,le,2,4,"ng-template",null,29,e.W1O),e.TgZ(138,"mat-list-item",12)(139,"span",9),e._uU(140),e.ALo(141,"translate"),e.qZA(),e.YNc(142,Ne,3,4,"span",10),e.qZA(),e.YNc(143,Ut,2,4,"ng-template",null,30,e.W1O),e.TgZ(145,"mat-list-item",12)(146,"span",9),e._uU(147),e.ALo(148,"translate"),e.qZA(),e.YNc(149,pn,3,4,"span",10),e.qZA(),e.YNc(150,Dn,2,4,"ng-template",null,31,e.W1O),e.TgZ(152,"mat-list-item",12)(153,"span",9),e._uU(154),e.ALo(155,"translate"),e.qZA(),e.YNc(156,Mn,3,4,"span",10),e.qZA(),e.YNc(157,rn,2,4,"ng-template",null,32,e.W1O),e.TgZ(159,"mat-list-item",12)(160,"span",9),e._uU(161),e.ALo(162,"translate"),e.qZA(),e.YNc(163,Ue,3,4,"span",10),e.qZA(),e.YNc(164,Je,2,4,"ng-template",null,33,e.W1O),e.TgZ(166,"mat-list-item",12)(167,"span",9),e._uU(168),e.ALo(169,"translate"),e.qZA(),e.YNc(170,De,3,4,"span",10),e.qZA(),e.YNc(171,at,2,4,"ng-template",null,34,e.W1O),e.TgZ(173,"mat-list-item",12)(174,"span",9),e._uU(175),e.ALo(176,"translate"),e.qZA(),e.YNc(177,Ve,3,4,"span",10),e.qZA(),e.YNc(178,ge,2,4,"ng-template",null,35,e.W1O),e.TgZ(180,"mat-list-item",12)(181,"span",9),e._uU(182),e.ALo(183,"translate"),e.qZA(),e.YNc(184,et,3,4,"span",10),e.qZA(),e.YNc(185,_t,2,4,"ng-template",null,36,e.W1O),e.TgZ(187,"mat-list-item",12)(188,"span",9),e._uU(189),e.ALo(190,"translate"),e.qZA(),e.YNc(191,jt,3,4,"span",10),e.qZA(),e.YNc(192,Xt,2,4,"ng-template",null,37,e.W1O),e.TgZ(194,"mat-list-item",12)(195,"span",9),e._uU(196),e.ALo(197,"translate"),e.qZA(),e.YNc(198,Cn,3,4,"span",10),e.qZA(),e.YNc(199,Hn,2,4,"ng-template",null,38,e.W1O),e.TgZ(201,"mat-list-item",12)(202,"span",9),e._uU(203),e.ALo(204,"translate"),e.qZA(),e.YNc(205,Kn,3,4,"span",10),e.qZA(),e.YNc(206,Bn,2,4,"ng-template",null,39,e.W1O),e.TgZ(208,"mat-list-item",12)(209,"span",9),e._uU(210),e.ALo(211,"translate"),e.qZA(),e.YNc(212,di,3,4,"span",10),e.qZA(),e.YNc(213,ui,2,4,"ng-template",null,40,e.W1O),e.TgZ(215,"mat-list-item",8)(216,"span",9),e._uU(217),e.ALo(218,"translate"),e.qZA(),e.YNc(219,Di,2,1,"span",10),e.qZA(),e.YNc(220,In,1,1,"ng-template",null,41,e.W1O),e.qZA()()(),e.TgZ(222,"div",5)(223,"div",42)(224,"div",43)(225,"button",44),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(226),e.ALo(227,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(18),D=e.MAs(25),ue=e.MAs(32),Qe=e.MAs(39),je=e.MAs(46),Zt=e.MAs(53),qe=e.MAs(60),tn=e.MAs(67),mn=e.MAs(74),mi=e.MAs(88),Rn=e.MAs(95),dn=e.MAs(102),si=e.MAs(109),jn=e.MAs(116),da=e.MAs(123),ii=e.MAs(130),Ci=e.MAs(137),is=e.MAs(144),Li=e.MAs(151),Pn=e.MAs(158),hr=e.MAs(165),bi=e.MAs(172),vc=e.MAs(179),Cc=e.MAs(186),bc=e.MAs(193),qi=e.MAs(200),Ki=e.MAs(207),QA=e.MAs(214),GA=e.MAs(221),JA=e.oxw();e.xp6(3),e.AsE("",n.id," - ",JA.actuationName,""),e.xp6(7),e.Oqu(e.l
1cZ(11,124,"actuations.fichaTecnica.lblDatosGenerales")),e.xp6(3),e.Q6J("ngClass",e.VKq(188,Fn,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(15,126,"actuations.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(190,Fn,n.modCodigoComisaria)),e.xp6(1),e.hij("",e.lcZ(22,128,"actuations.fichaTecnica.lblCodigoComisaria"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoComisaria)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(192,Fn,n.modCodigoIntegra)),e.xp6(1),e.hij("",e.lcZ(29,130,"actuations.fichaTecnica.lblCodigoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(194,Fn,n.modTipoActuacion)),e.xp6(1),e.hij("",e.lcZ(36,132,"actuations.fichaTecnica.lblTipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipoActuacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(196,Fn,n.modPromotor)),e.xp6(1),e.hij("",e.lcZ(43,134,"actuations.fichaTecnica.lblPromotor"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modPromotor)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(198,Fn,n.modCoste)),e.xp6(1),e.hij("",e.lcZ(50,136,"actuations.fichaTecnica.lblCostesDirectos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCoste)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(200,Fn,n.modCosteTotal)),e.xp6(1),e.hij("",e.lcZ(57,138,"actuations.fichaTecnica.lblCostesTotales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCosteTotal)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(202,Fn,n.modFechaInicio)),e.xp6(1),e.hij("",e.lcZ(64,140,"actuations.fichaTecnica.lblFechaInicio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modFechaInicio)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(204,Fn,n.modFechaFin)),e.xp6(1),e.hij("",e.lcZ(71,142,"actuations.fichaTecnica.lblFechaFin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modFechaFin)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(206,Fn,n.modFechaCertificacion)),e.xp6(1),e.hij("",e.lcZ(78,144,"actuations.fichaTecnica.lblFechaCertificacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modFechaCertificacion)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(208,Fn,n.modClaveFRER)),e.xp6(1),e.hij("",e.lcZ(85,146,"actuations.fichaTecnica.lblCodigoFRER"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modClaveFRER)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(210,Fn,n.modBarrerasTransvEliminadas)),e.xp6(1),e.hij("",e.lcZ(92,148,"actuations.fichaTecnica.lblBarrerasTransvEliminadas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modBarrerasTransvEliminadas)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(212,Fn,n.modBarrerasTransvAdaptadas)),e.xp6(1),e.hij("",e.lcZ(99,150,"actuations.fichaTecnica.lblBarrerasTransvAdaptadas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modBarrerasTransvAdaptadas)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(214,Fn,n.modLongitudRioConectada)),e.xp6(1),e.hij("",e.lcZ(106,152,"actuations.fichaTecnica.lblLongitudRioConectada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudRioConectada)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(216,Fn,n.modLongitudRioConectadaAbajo)),e.xp6(1),e.hij("",e.lcZ(113,154,"actuations.fichaTecnica.lblLongitudRioConectadaAbajo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudRioConectadaAbajo)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(218,Fn,n.modLongitudMasaConectada)),e.xp6(1),e.hij("",e.lcZ(120,156,"actuations.fichaTecnica.lblLongitudMasaConectada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudMasaConectada)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(220,Fn,n.modLongitudEliminacionDefensas)),e.xp6(1),e.hij("",e.lcZ(127,158,"actuations.fichaTecnica.lblLongitudEliminacionDefensas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudEliminacionDefensas)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(222,Fn,n.modLongitudRetranqueoDefensas)),e.xp6(1),e.hij("",e.lcZ(134,160,"actuations.fichaTecnica.lblLongitudRetranqueoDefensas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudRetranqueoDefensas)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(224,Fn,n.modSuperficieInundable)),e.xp6(1),e.hij("",e.lcZ(141,162,"actuations.fichaTecnica.lblSuperficieInundable"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modSuperficieInundable)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(226,Fn,n.modAdicionSedimentos)),e.xp6(1),e.hij("",e.lcZ(148,164,"actuations.fichaTecnica.lblAdicionSedimentos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modAdicionSedimentos)("ngIfElse",Li),e.xp6(4),e.Q6J("ngClass",e.VKq(228,Fn,n.modBasuraRecogida)),e.xp6(1),e.hij("",e.lcZ(155,166,"actuations.fichaTecnica.lblBasuraRecogida"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modBasuraRecogida)("ngIfElse",Pn),e.xp6(4),e.Q6J("ngClass",e.VKq(230,Fn,n.modHabitantesProtegidos)),e.xp6(1),e.hij("",e.lcZ(162,168,"actuations.fichaTecnica.lblHabitantesProtegidos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modHabitantesProtegidos)("ngIfElse",hr),e.xp6(4),e.Q6J("ngClass",e.VKq(232,Fn,n.modMetrosLineales)),e.xp6(1),e.hij("",e.lcZ(169,170,"actuations.fichaTecnica.lblMetrosLineales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modMetrosLineales)("ngIfElse",bi),e.xp6(4),e.Q6J("ngClass",e.VKq(234,Fn,n.modLongitudRioRestauracion)),e.xp6(1),e.hij("",e.lcZ(176,172,"actuations.fichaTecnica.lblLongitudRioRestauracion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudRioRestauracion)("ngIfElse",vc),e.xp6(4),e.Q6J("ngClass",e.VKq(236,Fn,n.modLongitudRecuperacionCauces)),e.xp6(1),e.hij("",e.lcZ(183,174,"actuations.fichaTecnica.lblLongitudRecuperacionCauces"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudRecuperacionCauces)("ngIfElse",Cc),e.xp6(4),e.Q6J("ngClass",e.VKq(238,Fn,n.modLongitudMejorasVegetacion)),e.xp6(1),e.hij("",e.lcZ(190,176,"actuations.fichaTecnica.lblLongitudMejorasVegetacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudMejorasVegetacion)("ngIfElse",bc),e.xp6(4),e.Q6J("ngClass",e.VKq(240,Fn,n.modSuperficieMejorasRibera)),e.xp6(1),e.hij("",e.lcZ(197,178,"actuations.fichaTecnica.lblSuperficieMejorasRibera"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modSuperficieMejorasRibera)("ngIfElse",qi),e.xp6(4),e.Q6J("ngClass",e.VKq(242,Fn,n.modLongitudEliminacionEspecies)),e.xp6(1),e.hij("",e.lcZ(204,180,"actuations.fichaTecnica.lblLongitudEliminacionEspecies"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLongitudEliminacionEspecies)("ngIfElse",Ki),e.xp6(4),e.Q6J("ngClass",e.VKq(244,Fn,n.modSuperficieEliminacionEspecies)),e.xp6(1),e.hij("",e.lcZ(211,182,"actuations.fichaTecnica.lblSuperficieEliminacionEspecies"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modSuperficieEliminacionEspecies)("ngIfElse",QA),e.xp6(4),e.Q6J("ngClass",e.VKq(246,Fn,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(218,184,"actuations.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",GA),e.xp6(7),e.Oqu(e.l
1cZ(227,186,"botones.cerrar"))}}function Vi(t,o){1&t&&e._UZ(0,"app-spinner")}let gt=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.actuationService=D,this.actuationName="",this.numRed=s.C.numRed,this.numEnt=s.C.numEnt,this.dateFormat=s.C.dateFormat,this.actuationName=_.itemName,this.operationCode=_.operation,this.actuationDetail$=this.actuationService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(l.I))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"container-subtitle"],[1,"bar-gradient","mb-4"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],[1,"bar-gradient","h-auto","py-2"],["codigoComisaria",""],["codigoIntegra",""],["tipoActuacion",""],["Promotor",""],["coste",""],["costeTotal",""],["fechaInicio",""],["fechaFin",""],["fechaCertificacion",""],["claveFRER",""],["barrerasTransvEliminadas",""],["barrerasTransvAdaptadas",""],["longitudRioConectada",""],["longitudRioConectadaAbajo",""],["longitudMasaConectada",""],["longitudEliminacionDefensas",""],["longitudRetranqueoDefensas",""],["superficieInundable",""],["adicionSedimentos",""],["basuraRecogida",""],["habitantesProtegidos",""],["metrosLineales",""],["longitudRioRestauracion",""],["longitudRecuperacionCauces",""],["longitudMejorasVegetacion",""],["superficieMejorasRibera",""],["longitudEliminacionEspecies",""],["superficieEliminacionEspecies",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,ei,228,248,"div",0),e.ALo(1,"async"),e.YNc(2,Vi,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.actuationDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ,d.uU],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function He(t,o){if(1&t&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.programaRev.tipoDescripcion)}}function Oe(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.programaRev.tipoDescripcion)}}const pt=function(t){return{modified:t}};function Ft(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.ynx(5),e.TgZ(6,"div",5)(7,"div",6)(8,"mat-list")(9,"mat-list-item",7)(10,"span",8),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,He,2,1,"span",9),e.qZA(),e.YNc(14,Oe,1,1,"ng-template",null,10,e.W1O),e.qZA()()(),e.BQk(),e.TgZ(16,"div",5)(17,"div",11)(18,"div",12)(19,"button",13),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(15),D=e.oxw();e.xp6(3),e.AsE("",n.id," - ",D.actuationName,""),e.xp6(7),e.Q6J("ngClass",e.VKq(11,pt,
1n.programaRev.modTipoPrograma)),e.xp6(1),e.hij("",e.lcZ(12,7,"actuations.fichaTecnica.lblsGuardarCambios.idPrograma"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.programaRev.modTipoPrograma)("ngIfElse",_),e.xp6(7),e.Oqu(e.lcZ(21,9,"botones.cerrar"))}}function fn(t,o){1&t&&e._UZ(0,"app-spinner")}let Zn=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.actuationService=D,this.actuationName="",this.dateFormat=s.C.dateFormat,this.actuationName=_.itemName,this.operationCode=_.operation,this.actuationDetail$=this.actuationService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(l.I))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-program-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["programa",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Ft,22,13,"div",0),e.ALo(1,"async"),e.YNc(2,fn,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.actuationDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();var ni=m(4053);function ln(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function An(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function bt(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.clasificacion)}}function Xe(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.clasificacion)}}function st(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function ct(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}function $t(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nacimiento)}}function un(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nacimiento)}}function $n(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function Qn(t,o){if(1&t&&(e.TgZ(0,"span",19),e.YNc(1,$n,2,2,"ng-container",20),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",n.nombresAlternativos)}}function Fi(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function co(t,o){if(1&t&&e.YNc(0,Fi,2,2,"ng-container",20),2&t){const n=e.oxw().ngIf;e.Q6J("ngForOf",n.nombresAlternativos)}}const uo=function(t){return{modified:t}};function gi(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,ln,2,1,"span",10),e.qZA(),e.YNc(18,An,1,1,"ng-template",null,11,e.W1O),e.TgZ(20,"mat-list-item",7)(21,"span",9),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,bt,2,1,"span",10),e.qZA(),e.YNc(25,Xe,1,1,"ng-template",null,12,e.W1O),e.TgZ(27,"mat-list-item",7)(28,"
1span",9),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,st,2,1,"span",10),e.qZA(),e.YNc(32,ct,1,1,"ng-template",null,13,e.W1O),e.TgZ(34,"mat-list-item",7)(35,"span",9),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,$t,2,1,"span",10),e.qZA(),e.YNc(39,un,1,1,"ng-template",null,14,e.W1O),e.TgZ(41,"mat-list-item",7)(42,"span",9),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,Qn,2,1,"span",10),e.qZA(),e.YNc(46,co,1,1,"ng-template",null,15,e.W1O),e.qZA()()(),e.TgZ(48,"div",5)(49,"div",16)(50,"div",17)(51,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(52),e.ALo(53,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Zt.riverName,""),e.xp6(7),e.hij("",e.lcZ(11,25,"river.fichaTecnica.codigo"),":\xa0"),e.xp6(2),e.Oqu(n.id),e.xp6(2),e.Q6J("ngClass",e.VKq(39,uo,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(16,27,"river.fichaTecnica.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(41,uo,n.modIdClasificacion)),e.xp6(1),e.hij("",e.lcZ(23,29,"river.fichaTecnica.clasMorf"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modIdClasificacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(43,uo,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(30,31,"river.fichaTecnica.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(45,uo,n.modNacimiento)),e.xp6(1),e.hij("",e.lcZ(37,33,"river.fichaTecnica.nacimiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNacimiento)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(47,uo,n.modNombresAlternativos)),e.xp6(1),e.hij("",e.lcZ(44,35,"river.fichaTecnica.nombresAlt"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombresAlternativos)("ngIfElse",je),e.xp6(7),e.Oqu(e.l
1cZ(53,37,"botones.cerrar"))}}function bo(t,o){1&t&&e._UZ(0,"app-spinner")}let to=(()=>{class t{constructor(n,_,D,ue){this.dialogRef=n,this.data=_,this.riverService=D,this.translate=ue,this.riverName="",this.riverName=_.itemName,this.riverDetail$=this.riverService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ni.u),e.Y36(w.sK))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["clasMorf",""],["comentario",""],["nacimiento",""],["alternativo",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],[4,"ngFor","ngForOf"]],template:function(n,_){if(1&n&&(e.YNc(0,gi,54,49,"div",0),e.ALo(1,"async"),e.YNc(2,bo,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,d.sg,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var xo=m(4739);function Nn(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function fe(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Pe(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function ye(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,Pe,2,2,"ng-container",26),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",n.nombresAlternativos)}}function Ee(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function lt(t,o){if(1&t&&e.YNc(0,Ee,2,2,"ng-container",26),2&t){const n=e.oxw(2).ngIf;e.Q6J("ngForOf",n.nombresAlternativos)}}function Y(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEDAS)}}function Te(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEDAS)}}function rt(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();
1e.xp6(1),e.Oqu(e.xi3(2,1,n.altitud,_.numRed))}}function Nt(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.altitud,_.numRed))}}function Tn(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.regimenPropiedad)}}function Ln(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.regimenPropiedad)}}function Si(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.regimenGestion)}}function Ti(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.regimenGestion)}}function ho(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.incluidoRamsar?"si":"no"))}}function zi(t,o){if(1&t&&(e._uU(0),e.ALo(1,"translate")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.incluidoRamsar?"si":"no"))}}function Bi(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.inventarioDgObrasHidraulicas?"si":"no"))}}function bn(t,o){if(1&t&&(e._uU(0),e.ALo(1,"translate")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.inventarioDgObrasHidraulicas?"si":"no"))}}function ci(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.inventarioHumedalesJcyl?"si":"no"))}}function xi(t,o){if(1&t&&(e._uU(0),e.ALo(1,"translate")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.inventarioHumedalesJcyl?"si":"no"))}}function Ii(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.inventarioHumedalesXuntaGalicia?"si":"no"))}}function Bo(t,o){if(1&t&&(e._uU(0),e.ALo(1,"translate")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.inventarioHumedalesXuntaGalicia?"si":"no"))}}const Gi=function(t){return{modified:t}};function go(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"mat-list-item",11)(7,"span",13),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.YNc(10,Nn,2,1,"span",14),e.qZA(),e.YNc(11,fe,1,1,"ng-template",null,15,e.W1O),e.TgZ(13,"mat-list-item",11)(14,"span",13),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,ye,2,1,"span",14),e.qZA(),e.YNc(18,lt,1,1,"ng-template",null,16,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",13),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,Y,2,1,"span",14),e.qZA(),e.YNc(25,Te,1,1,"ng-template",null,17,e.W1O),e.TgZ(27,"mat-list-item",11)(28,"span",13),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,rt,3,4,"span",14),e.qZA(),e.YNc(32,Nt,2,4,"ng-template",null,18,e.W1O),e.TgZ(34,"mat-list-item",11)(35,"span",13),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,Tn,2,1,"span",14),e.qZA(),e.YNc(39,Ln,1,1,"ng-template",null,19,e.W1O),e.TgZ(41,"mat-list-item",11)(42,"span",13),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,Si,2,1,"span",14),e.qZA(),e.YNc(46,Ti,1,1,"ng-template",null,20,e.W1O),e.TgZ(48,"mat-list-item",11)(49,"span",13),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,ho,3,3,"span",14),e.qZA(),e.YNc(53,zi,2,3,"ng-template",null,21,e.W1O),e.TgZ(55,"mat-list-item",11)(56,"span",13),e._uU(57),e.ALo(58,"translate"),e.qZA(),e.YNc(59,Bi,3,3,"span",14),e.qZA(),e.YNc(60,bn,2,3,"ng-template",null,22,e.W1O),e.TgZ(62,"mat-list-item",11)(63,"span",13),e._uU(64),e.ALo(65,"translate"),e.qZA(),e.YNc(66,ci,3,3,"span",14),e.qZA(),e.YNc(67,xi,2,3,"ng-template",null,23,e.W1O),e.TgZ(69,"mat-list-item",11)(70,"span",13),e._uU(71),e.ALo(72,"translate"),e.qZA(),e.YNc(73,Ii,3,3,"span",14),e.qZA(),e.YNc(74,Bo,2,3,"ng-template",null,24,e.W1O),e.qZA()),2&t){const n=e.MAs(12),_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.MAs(54),qe=e.MAs(61),tn=e.MAs(68),mn=e.MAs(75),mi=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,42,"lake.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",mi.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(64,Gi,mi.modNombre)),e.xp6(1),e.hij("",e.lcZ(9,44,"lake.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(66,Gi,mi.modNombresAlternativos)),e.xp6(1),e.hij("",e.lcZ(16,46,"lake.fichaTecnica.lblsGuardarCambios.nombreAlt"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modNombresAlternativos)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(68,Gi,mi.modCodigoEDAS)),e.xp6(1),e.hij("",e.lcZ(23,48,"lake.fichaTecnica.lblsGuardarCambios.codigoEDAS"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modCodigoEDAS)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(70,Gi,mi.modAltitud)),e.xp6(1),e.hij("",e.lcZ(30,50,"lake.fichaTecnica.lblsGuardarCambios.altitud"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modAltitud)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(72,Gi,mi.modRegimenPropiedad)),e.xp6(1),e.hij("",e.lcZ(37,52,"lake.fichaTecnica.lblsGuardarCambios.codRegimenPropiedad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modRegimenPropiedad)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(74,Gi,mi.modRegimenGestion)),e.xp6(1),e.hij("",e.lcZ(44,54,"lake.fichaTecnica.lblsGuardarCambios.codRegimenGestion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modRegimenGestion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(76,Gi,mi.modConvenioRamsar)),e.xp6(1),e.hij("",e.lcZ(51,56,"lake.fichaTecnica.lblsGuardarCambios.incluidoRamsar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modConvenioRamsar)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(78,Gi,mi.modInvetarioDgObrasHidraulicas)),e.xp6(1),e.hij("",e.lcZ(58,58,"lake.fichaTecnica.lblsGuardarCambios.inventarioDgObrasHidraulicas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modInvetarioDgObrasHidraulicas)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(80,Gi,mi.modInventarioHumedalesJcyl)),e.xp6(1),e.hij("",e.lcZ(65,60,"lake.fichaTecnica.lblsGuardarCambios.inventarioHumedalesJcyl"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modInventarioHumedalesJcyl)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(82,Gi,mi.modInventarioHumedalesXuntaGal
1icia)),e.xp6(1),e.hij("",e.lcZ(72,62,"lake.fichaTecnica.lblsGuardarCambios.inventarioHumedalesXuntaGalicia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mi.modInventarioHumedalesXuntaGalicia)("ngIfElse",mn)}}function wo(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estado)}}function Ao(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estado)}}function Fo(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.conexionRedFluvial)}}function ua(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.conexionRedFluvial)}}function yt(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.origenHumedal)}}function $e(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.origenHumedal)}}function z(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoAlimentacion)}}function Ie(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoAlimentacion)}}function G(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.modoDrenaje)}}function de(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.modoDrenaje)}}function Ye(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tasaRenovacion)}}function Dt(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tasaRenovacion)}}function an(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.regimenHidrico)}}function vn(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.regimenHidrico)}}function zn(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.salinidad)}}function $i(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.salinidad)}}function no(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.constituyentesMayoritarios)}}function Wi(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.constituyentesMayoritarios)}}function Zo(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.geologiaPrincipal)}}function ia(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.geologiaPrincipal)}}function Wo(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.geologiaSecundaria)}}function Pa(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.geologiaSecundaria)}}function Ia(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.clasificacionGeneticoFuncional)}}function Ca(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.clasificacionGeneticoFuncional)}}function oa(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.sedimento)}}function ka(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.sedimento)}}function ha(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,wo,2,1,"span",14),e.qZA(),e.YNc(6,Ao,1,1,"ng-template",null,27,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",13),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Fo,2,1,"span",14),e.qZA(),e.YNc(13,ua,1,1,"ng-template",null,28,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",13),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,yt,2,1,"span",14),e.qZA(),e.YNc(20,$e,1,1,"ng-template",null,29,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",13),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,z,2,1,"span",14),e.qZA(),e.YNc(27,Ie,1,1,"ng-template",null,30,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",13),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,G,2,1,"span",14),e.qZA(),e.YNc(34,de,1,1,"ng-template",null,31,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",13),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,Ye,2,1,"span",14),e.qZA(),e.YNc(41,Dt,1,1,"ng-template",null,32,e.W1O),e.TgZ(43,"mat-list-item",11)(44,"span",13),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,an,2,1,"span",14),e.qZA(),e.YNc(48,vn,1,1,"ng-template",null,33,e.W1O),e.TgZ(50,"mat-list-item",11)(51,"span",13),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,zn,2,1,"span",14),e.qZA(),e.YNc(55,$i,1,1,"ng-template",null,34,e.W1O),e.TgZ(57,"mat-list-item",11)(58,"span",13),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.YNc(61,no,2,1,"span",14),e.qZA(),e.YNc(62,Wi,1,1,"ng-template",null,35,e.W1O),e.TgZ(64,"mat-list-item",11)(65,"span",13),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,Zo,2,1,"span",14),e.qZA(),e.YNc(69,i
1a,1,1,"ng-template",null,36,e.W1O),e.TgZ(71,"mat-list-item",11)(72,"span",13),e._uU(73),e.ALo(74,"translate"),e.qZA(),e.YNc(75,Wo,2,1,"span",14),e.qZA(),e.YNc(76,Pa,1,1,"ng-template",null,37,e.W1O),e.TgZ(78,"mat-list-item",11)(79,"span",13),e._uU(80),e.ALo(81,"translate"),e.qZA(),e.YNc(82,Ia,2,1,"span",14),e.qZA(),e.YNc(83,Ca,1,1,"ng-template",null,38,e.W1O),e.TgZ(85,"mat-list-item",11)(86,"span",13),e._uU(87),e.ALo(88,"translate"),e.qZA(),e.YNc(89,oa,2,1,"span",14),e.qZA(),e.YNc(90,ka,1,1,"ng-template",null,39,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.MAs(56),tn=e.MAs(63),mn=e.MAs(70),mi=e.MAs(77),Rn=e.MAs(84),dn=e.MAs(91),si=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(78,Gi,si.modEstado)),e.xp6(1),e.hij("",e.lcZ(4,52,"lake.fichaGeneral.ppalesCaracteristicas.codEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modEstado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(80,Gi,si.modConexionRedFluvial)),e.xp6(1),e.hij("",e.lcZ(11,54,"lake.fichaGeneral.ppalesCaracteristicas.codConexionRedFluvial"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modConexionRedFluvial)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(82,Gi,si.modOrigenHumedal)),e.xp6(1),e.hij("",e.lcZ(18,56,"lake.fichaGeneral.ppalesCaracteristicas.codOrigenHumedal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modOrigenHumedal)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(84,Gi,si.modTipoAlimentacion)),e.xp6(1),e.hij("",e.lcZ(25,58,"lake.fichaGeneral.ppalesCaracteristicas.codTipoAlimentacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modTipoAlimentacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(86,Gi,si.modModoDrenaje)),e.xp6(1),e.hij("",e.lcZ(32,60,"lake.fichaGeneral.ppalesCaracteristicas.codModoDrenaje"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modModoDrenaje)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(88,Gi,si.modTasaRenovacion)),e.xp6(1),e.hij("",e.lcZ(39,62,"lake.fichaGeneral.ppalesCaracteristicas.codTasaRenovacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modTasaRenovacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(90,Gi,si.modRegimenHidrico)),e.xp6(1),e.hij("",e.lcZ(46,64,"lake.fichaGeneral.ppalesCaracteristicas.codRegimenHidrico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modRegimenHidrico)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(92,Gi,si.modSalinidad)),e.xp6(1),e.hij("",e.lcZ(53,66,"lake.fichaGeneral.ppalesCaracteristicas.codSalinidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modSalinidad)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(94,Gi,si.modConstituyentesMayoritarios)),e.xp6(1),e.hij("",e.lcZ(60,68,"lake.fichaGeneral.ppalesCaracteristicas.codConstituyentesMayoritarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modConstituyentesMayoritarios)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(96,Gi,si.modGeologiaPrincipal)),e.xp6(1),e.hij("",e.lcZ(67,70,"lake.fichaGeneral.ppalesCaracteristicas.codGeologiaPrincipal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modGeologiaPrincipal)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(98,Gi,si.modGeologiaSecundaria)),e.xp6(1),e.hij("",e.lcZ(74,72,"lake.fichaGeneral.ppalesCaracteristicas.codGeologiaSecundaria"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modGeologiaSecundaria)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(100,Gi,si.modClasificacionGeneticoFuncional)),e.xp6(1),e.hij("",e.lcZ(81,74,"lake.fichaGeneral.ppalesCaracteristicas.codClasificacionGeneticoFuncional"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modClasificacionGeneticoFuncional)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(102,Gi,si.modSedimento)),e.xp6(1),e.hij("",e.lcZ(88,76,"lake.fichaGeneral.ppalesCaracteristicas.codSedimento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.modSedimento)("ngIfElse",dn)}}function Ja(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,go,76,84,"mat-list",7),e.YNc(8,ha,92,104,"mat-list",7),e.qZA()(),e.TgZ(9,"div",5)(10,"div",8)(11,"div",9)(12,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.lakeName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral||_.o
1perationCode==_.operacionNombresAlt),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionCaracteristicas),e.xp6(5),e.Oqu(e.lcZ(14,5,"botones.cerrar"))}}function Ho(t,o){1&t&&e._UZ(0,"app-spinner")}let cs=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.lakeService=D,this.lakeName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionNombresAlt=s.C.operacion.OPERACION_NOMBRES_ALTERNATIVOS,this.operacionCaracteristicas=s.C.operacion.OPERACION_CARACTERISTICAS,this.lakeName=_.itemName,this.operationCode=_.operation,this.lakeDetail$=this.lakeService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(xo.$))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["alternativo",""],["codigoEDAS",""],["altitud",""],["regPropiedad",""],["regGestion",""],["ramsar",""],["obrasHidraulicas",""],["humedalesJcyl",""],["humedalesXuntaGalicia",""],["appHighlight",""],[4,"ngFor","ngForOf"],["estado",""],["conexionRedFluvial",""],["origenHumedal",""],["tipoAlimentacion",""],["modoDrenaje",""],["tasaRenovacion",""],["regimenHidrico",""],["salinidad",""],["constituyentesMayoritarios",""],["geologiaPrincipal",""],["geologiaSecundaria",""],["clasificacionGeneticoFuncional",""],["sedimento",""]],template:function(n,_){if(1&n&&(e.YNc(0,Ja,15,7,"div",0),e.ALo(1,"async"),e.YNc(2,Ho,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.lakeDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,d.sg,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Fa=m(4961);function Wa(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function os(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Ha(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function ba(t,o){if(1&t&&(e.TgZ(0,"span",18),e.YNc(1,Ha,2,2,"ng-container",19),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",n.nombresAlternativos)}}function Ra(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function Za(t,o){if(1&t&&e.YNc(0,Ra,2,2,"ng-container",19),2&t){const n=e.oxw(2).ngIf;e.Q6J("ngForOf",n.nombresAlternativos)}}function ma(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function as(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const lo=function(t){return{modified:t}};function ss(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"
1span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"mat-list-item",11)(7,"span",13),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.YNc(10,Wa,2,1,"span",14),e.qZA(),e.YNc(11,os,1,1,"ng-template",null,15,e.W1O),e.TgZ(13,"mat-list-item",11)(14,"span",13),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,ba,2,1,"span",14),e.qZA(),e.YNc(18,Za,1,1,"ng-template",null,16,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",13),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,ma,2,1,"span",14),e.qZA(),e.YNc(25,as,1,1,"ng-template",null,17,e.W1O),e.qZA()),2&t){const n=e.MAs(12),_=e.MAs(19),D=e.MAs(26),ue=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,14,"spring.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",ue.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,lo,ue.modNombre)),e.xp6(1),e.hij("",e.lcZ(9,16,"spring.fichaGeneral.ppalesCaracteristicas.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,lo,ue.modNombresAlternativos)),e.xp6(1),e.hij("",e.lcZ(16,18,"spring.fichaGeneral.ppalesCaracteristicas.nombreAlt"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.modNombresAlternativos)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,lo,ue.modComentarios)),e.xp6(1),e.hij("",e.lcZ(23,20,"spring.fichaGeneral.ppalesCaracteristicas.comentario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.modComentarios)("ngIfElse",D)}}function za(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaVisita,_.shortDateFormat))}}function So(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.fechaVisita)}}function Ba(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.horaVisita)}}function jo(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.horaVisita)}}function $a(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.caudal,_.numEnt))}}function Ya(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.caudal,_.numEnt))}}function ya(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.temperaturaAgua,_.numEnt))}}function ga(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.temperaturaAgua,_.numEnt))}}function Oo(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.temperaturaAmbiente,_.numEnt))}}function Ae(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.temperaturaAmbiente,_.numEnt))}}function tt(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.conductividad,_.numEnt))}}function Ce(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.conductividad,_.numEnt))}}function mt(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.ph,_.numRed))}}function Ht(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.ph,_.numRed))}}function En(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.nitratos,_.numRed))}}function wn(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.nitratos,_.numRed))}}function fi(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.aspecto)}}function mo(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.aspecto)}}function _o(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.analisisAnterioresDescripcion)}}function io(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.analisisAnterioresDescripcion)}}function ao(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.datosHidrogeologicos)}}function No(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.datosHidrogeologicos)}}function To(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.observaciones)}}function ve(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.observaciones)}}
1function $(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,za,3,4,"span",14),e.qZA(),e.YNc(6,So,1,1,"ng-template",null,20,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",13),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Ba,2,1,"span",14),e.qZA(),e.YNc(13,jo,1,1,"ng-template",null,21,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",13),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,$a,3,4,"span",14),e.qZA(),e.YNc(20,Ya,2,4,"ng-template",null,22,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",13),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,ya,3,4,"span",14),e.qZA(),e.YNc(27,ga,2,4,"ng-template",null,23,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",13),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Oo,3,4,"span",14),e.qZA(),e.YNc(34,Ae,2,4,"ng-template",null,24,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",13),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,tt,3,4,"span",14),e.qZA(),e.YNc(41,Ce,2,4,"ng-template",null,25,e.W1O),e.TgZ(43,"mat-list-item",11)(44,"span",13),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,mt,3,4,"span",14),e.qZA(),e.YNc(48,Ht,2,4,"ng-template",null,26,e.W1O),e.TgZ(50,"mat-list-item",11)(51,"span",13),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,En,3,4,"span",14),e.qZA(),e.YNc(55,wn,2,4,"ng-template",null,27,e.W1O),e.TgZ(57,"mat-list-item",11)(58,"span",13),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.YNc(61,fi,2,1,"span",14),e.qZA(),e.YNc(62,mo,1,1,"ng-template",null,28,e.W1O),e.TgZ(64,"mat-list-item",11)(65,"span",13),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,_o,2,1,"span",14),e.qZA(),e.YNc(69,io,1,1,"ng-template",null,29,e.W1O),e.TgZ(71,"mat-list-item",11)(72,"span",13),e._uU(73),e.ALo(74,"translate"),e.qZA(),e.YNc(75,ao,2,1,"span",14),e.qZA(),e.YNc(76,No,1,1,"ng-template",null,30,e.W1O),e.TgZ(78,"mat-list-item",11)(79,"span",13),e._uU(80),e.ALo(81,"translate"),e.qZA(),e.YNc(82,To,2,1,"span",14),e.qZA(),e.YNc(83,ve,1,1,"ng-template",null,31,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.MAs(56),tn=e.MAs(63),mn=e.MAs(70),mi=e.MAs(77),Rn=e.MAs(84),dn=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(72,lo,dn.modFechaVisita)),e.xp6(1),e.hij("",e.lcZ(4,48,"spring.fichaGeneral.ppalesCaracteristicas.fechaVisita"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modFechaVisita)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(74,lo,dn.modHoraVisita)),e.xp6(1),e.hij("",e.lcZ(11,50,"spring.fichaGeneral.ppalesCaracteristicas.horaVisita"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modHoraVisita)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(76,lo,dn.modCaudal)),e.xp6(1),e.hij("",e.lcZ(18,52,"spring.fichaGeneral.ppalesCaracteristicas.caudal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modCaudal)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(78,lo,dn.modTemperaturaAgua)),e.xp6(1),e.hij("",e.lcZ(25,54,"spring.fichaGeneral.ppalesCaracteristicas.temperaturaAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modTemperaturaAgua)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(80,lo,dn.modTemperaturaAmbiente)),e.xp6(1),e.hij("",e.lcZ(32,56,"spring.fichaGeneral.ppalesCaracteristicas.temperaturaAmbiente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modTemperaturaAmbiente)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(82,lo,dn.modConductividad)),e.xp6(1),e.hij("",e.lcZ(39,58,"spring.fichaGeneral.ppalesCaracteristicas.conductividad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modConductividad)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(84,lo,dn.modPh)),e.xp6(1),e.hij("",e.lcZ(46,60,"spring.fichaGeneral.ppalesCaracteristicas.ph"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modPh)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(86,lo,dn.modNitratos)),e.xp6(1),e.hij("",e.lcZ(53,62,"spring.fichaGeneral.ppalesCaracteristicas.nitratos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modNitratos)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(88,lo,dn.modAspecto)),e.xp6(1),e.hij("",e.lcZ(60,64,"spring.fichaGeneral.ppalesCaracteristicas.aspecto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modAspecto)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(90,lo,dn.modAnalisisAnteriores)),e.xp6(1),e.hij("",e.lcZ(67,66,"spring.fichaGeneral.ppalesCaracteristicas.analisisAnteriores"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modAnalisisAnteriores)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(92,lo,dn.modDatosHidrogeologicos)),e.xp6(1),e.hij("",e.lcZ(74,68,"spring.fichaGeneral.ppalesCaracteristicas.datosHidrogeologicos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modDatosHidrogeologicos)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(94,lo,dn.modObservaciones)),e.xp6(1),e.hij("",e.lcZ(81,70,"spring.fichaGeneral.ppalesCaracteristicas.observaciones"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modObservaciones)("ngIfElse",Rn)}}function L(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,ss,27,28,"mat-list",7),e.YNc(8,$,85,96,"mat-list",7),e.qZA()(),e.TgZ(9,"div",5)(10,"div",8)(11,"div",9)(12,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.springName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral||_.o
1perationCode==_.operacionNombresAlt),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionDatosCampo),e.xp6(5),e.Oqu(e.lcZ(14,5,"botones.cerrar"))}}function U(t,o){1&t&&e._UZ(0,"app-spinner")}let ce=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.springService=D,this.springName="",this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionNombresAlt=s.C.operacion.OPERACION_NOMBRES_ALTERNATIVOS,this.operacionDatosCampo=s.C.operacion.OPERACION_DATOS_CAMPO,this.numRed=s.C.numRed,this.numEnt=s.C.numEnt,this.shortDateFormat=s.C.shortDateFormat,this.springName=_.itemName,this.operationCode=_.operation,this.springDetail$=this.springService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Fa.s))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["alternativo",""],["comentario",""],["appHighlight",""],[4,"ngFor","ngForOf"],["fechaVisita",""],["horaVisita",""],["caudal",""],["temperaturaAgua",""],["temperaturaAmbiente",""],["conductividad",""],["ph",""],["nitratos",""],["aspecto",""],["analisisAnterioresDescripcion",""],["datosHidrogeologicos",""],["observaciones",""]],template:function(n,_){if(1&n&&(e.YNc(0,L,15,7,"div",0),e.ALo(1,"async"),e.YNc(2,U,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.springDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,d.sg,R.lW,q.O],pipes:[d.Ov,w.X$,d.uU,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var vt=m(9080);function Wt(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function qn(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Mi(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descTipoEstacion)}}function Wn(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descTipoEstacion)}}function Ai(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descSubtipo)}}function fo(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descSubtipo)}}function gn(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descUso)}}function ri(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descUso)}}function Do(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descMasaAgua)}}function so(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descMasaAgua)}}function xa(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descEnFuncionamiento)}}function Aa(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descEnFuncionamiento)}}function Sa(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descAutomatizado)}}function zs(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descAutomatizado)}}function Xs(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.cotaTopografica,_.numRed))}}function ds(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.cotaTopografica,_.numRed))}}
1function er(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.profundidad,_.numRed))}}function mr(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.profundidad,_.numRed))}}function ks(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Ea(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function Xa(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoRedPiezometria)}}function Fe(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoRedPiezometria)}}function B(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoRedCalidad)}}function j(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoRedCalidad)}}function pe(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoIgme)}}function Ge(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoIgme)}}function Tt(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoAlternativo)}}function Gt(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoAlternativo)}}function Jt(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(3).ngIf;e.xp6(1),e.Oqu(n.descRepresentatividad)}}const sn=function(t){return{modified:t}};function Vn(t,o){if(1&t&&(e.TgZ(0,"mat-list-item",11)(1,"span",13),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,Jt,2,1,"span",14),e.qZA()),2&t){e.oxw();const n=e.MAs(106),_=e.oxw().ngIf;e.xp6(1),e.Q6J("ngClass",e.VKq(6,sn,_.modRepresentatividad)),e.xp6(1),e.hij("",e.lcZ(3,4,"monitoringStation.fichaTecnica.lblsGuardarCambios.codRepresentatividad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.modRepresentatividad)("ngIfElse",n)}}function li(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descRepresentatividad)}}function wi(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(3).ngIf;e.xp6(1),e.Oqu(n.descCalidadRepresentativa)}}function Qi(t,o){if(1&t&&(e.TgZ(0,"mat-list-item",11)(1,"span",13),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,wi,2,1,"span",14),e.qZA()),2&t){e.oxw();const n=e.MAs(109),_=e.oxw().ngIf;e.xp6(1),e.Q6J("ngClass",e.VKq(6,sn,_.modCalidadRepresentativa)),e.xp6(1),e.hij("",e.lcZ(3,4,"monitoringStation.fichaTecnica.lblsGuardarCambios.codCalidadRepresentativa"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.modCalidadRepresentativa)("ngIfElse",n)}}function Xi(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descCalidadRepresentativa)}}function Ui(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descIndicadorEscasez)}}function eo(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descIndicadorEscasez)}}function Io(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Ko(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}function Qo(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"mat-list-item",11)(7,"span",13),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.YNc(10,Wt,2,1,"span",14),e.qZA(),e.YNc(11,qn,1,1,"ng-template",null,15,e.W1O),e.TgZ(13,"mat-list-item",11)(14,"span",13),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,Mi,2,1,"span",14),e.qZA(),e.YNc(18,Wn,1,1,"ng-template",null,16,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",13),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,Ai,2,1,"span",14),e.qZA(),e.YNc(25,fo,1,1,"ng-template",null,17,e.W1O),e.TgZ(27,"mat-list-item",11)(28,"span",13),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,gn,2,1,"span",14),e.qZA(),e.YNc(32,ri,1,1,"ng-template",null,18,e.W1O),e.TgZ(34,"mat-list-item",11)(35,"span",13),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,Do,2,1,"span",14),e.qZA(),e.YNc(39,so,1,1,"ng-template",null,19,e.W1O),e.TgZ(41,"mat-list-item",11)(42,"span",13),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,xa,2,1,"span",14),e.qZA(),e.YNc(46,Aa,1,1,"ng-template",null,20,e.W1O),e.TgZ(48,"mat-list-item",11)(49,"span",13),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,Sa,2,1,"span",14),e.qZA(),e.YNc(53,zs,1,1,"ng-template",null,21,e.W1O),e.TgZ(55,"mat-list-item",11)(56,"span",13),e._uU(57),e.ALo(58,"translate"),e.qZA(),e.YNc(59,Xs,3,4,"span",14),e.qZA(),e.YNc(60,ds,2,4,"ng-template",null,22,e.W1O),e.TgZ(62,"mat-list-item",11)(63,"span",13),e._uU(64),e.ALo(65,"translate"),e.qZA(),e.YNc(66,er,3,4,"span",14),e.qZA(),e.YNc(67,mr,2,4,"ng-template",null,23,e.W1O),e.TgZ(69,"mat-list-item",11)(70,"span",13),e._uU(71),e.ALo(72,"translate"),e.qZA(),e.YNc(73,ks,2,1,"span",14),e.qZA(),e.YNc(74,Ea,1,1,"ng-template",null,24,e.W1O),e.TgZ(76,"mat-list-item",11)(77,"span",13),e._uU(78),e.ALo(79,"translate"),e.qZA(),e.YNc(80,Xa,2,1,"span",14),e.qZA(),e.YNc(81,Fe,1,1,"ng-template",null,25,e.W1O),e.TgZ(83,"mat-list-item",11)(84,"span",13),e._uU(85),e.ALo(86,"translate"),e.qZA(),e.YNc(87,B,2,1,"span",14),e.qZA(),e.YNc(88,j,1,1,"ng-template",null,26,e.W1O),e.TgZ(90,"mat-list-item",11)(91,"span",13),e._uU(92),e.ALo(93,"translate"),e.qZA(),e.YNc(94,pe,2,1,"span",14),e.qZA(),e.YNc(95,Ge,1,1,"ng-template",null,27,e.W1O),e.TgZ(97,"mat-list-item",11)(98,"span",13),e._uU(99),e.ALo(100,"translate"),e.qZA(),e.YNc(101,Tt,2,1,"span",14),e.qZA(),e.YNc(102,Gt,1,1,"ng-template",null,28,e.W1O),e.YNc(104,Vn,5,8,"mat-list-item",29),e.YNc(105,li,1,1,"ng-template",null,30,e.W1O),e.YNc(107,Qi,5,8,"mat-list-item",29),e.YNc(108,Xi,1,1,"ng-template",null,31,e.W1O),e.TgZ(110,"mat-list-item",11)(111,"span",13),e._uU(112),e.ALo(113,"translate"),e.qZA(),e.YNc(114,Ui,2,1,"span",14),e.qZA(),e.YNc(115,eo,1,1,"ng-template",null,32,e.W1O),e.TgZ(117,"mat-list-item",11)(118,"span",13),e._uU(119),e.ALo(120,"translate"),e.qZA(),e.YNc(121,Io,2,1,"span",14),e.qZA(),e.YNc(122,Ko,1,1,"ng-template",null,33,e.W1O),e.qZA()),2&t){const n=e.MAs(12),_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.MAs(54),qe=e.MAs(61),tn=e.MAs(68),mn=e.MAs(75),mi=e.MAs(82),Rn=e.MAs(89),dn=e.MAs(96),si=e.MAs(103),jn=e.MAs(116),da=e.MAs(123),ii=e.oxw().ngIf,Ci=e.oxw();e.xp6(3),e.hij("",e.lcZ(4,68,"monitoringStation.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",ii.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(102,sn,ii.modNombre)),e.xp6(1),e.hij("",e.lcZ(9,70,"monitoringStation.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(104,sn,ii.modCodTipoEstacion)),e.xp6(1),e.hij("",e.lcZ(16,72,"monitoringStation.fichaTecnica.lblsGuardarCambios.codTipoEstacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodTipoEstacion)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(106,sn,ii.modCodSubtipo)),e.xp6(1),e.hij("",e.lcZ(23,74,"monitoringStation.fichaTecnica.lblsGuardarCambios.codSubtipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodSubtipo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(108,sn,ii.modCodUso)),e.xp6(1),e.hij("",e.lcZ(30,76,"monitoringStation.fichaTecnica.lblsGuardarCambios.codUso"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodUso)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(110,sn,ii.modCodMasaAgua)),e.xp6(1),e.hij("",e.lcZ(37,78,"monitoringStation.fichaTecnica.lblsGuardarCambios.codMasaAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodMasaAgua)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(112,sn,ii.modEnFuncionamiento)),e.xp6(1),e.hij("",e.lcZ(44,80,"monitoringStation.fichaTecnica.lblsGuardarCambios.codEnFuncionamiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modEnFuncionamiento)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(114,sn,ii.modAutomatizado)),e.xp6(1),e.hij("",e.lcZ(51,82,"monitoringStation.fichaTecnica.lblsGuardarCambios.codAutomatizado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modAutomatizado)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(116,sn,ii.modCotaTopografica)),e.xp6(1),e.hij("",e.lcZ(58,84,"monitoringStation.fichaTecnica.lblsGuardarCambios.cotaTopografica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCotaTopografica)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(118,sn,ii.modProfundidad)),e.xp6(1),e.hij("",e.lcZ(65,86,"monitoringStation.fichaTecnica.lblsGuardarCambios.profundidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modProfundidad)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(120,sn,ii.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(72,88,"monitoringStation.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodigoEuropeo)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(122,sn,ii.modCodigoRedPiezometria)),e.xp6(1),e.hij("",e.lcZ(79,90,"monitoringStation.fichaTecnica.lblsGuardarCambios.codigoRedPiezometria"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodigoRedPiezometria)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(124,sn,ii.modCodigoRedCalidad)),e.xp6(1),e.hij("",e.lcZ(86,92,"monitoringStation.fichaTecnica.lblsGuardarCambios.codigoRedCalidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodigoRedCalidad)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(126,sn,ii.modCodigoIgme)),e.xp6(1),e.hij("",e.lcZ(93,94,"monitoringStation.fichaTecnica.lblsGuardarCambios.codigoIgme"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodigoIgme)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(128,sn,ii.modCodigoAlternativo)),e.xp6(1),e.hij("",e.lcZ(100,96,"monitoringStation.fichaTecnica.lblsGuardarCambios.codigoAlternativo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodigoAlternativo)("ngIfElse",si),e.xp6(3),e.Q6J("ngIf",ii.codTipoEstacion===Ci.tipoPiezometro||ii.codTipoEstacion===Ci.tipoPiezoCalidad),e.xp6(3),e.Q6J("ngIf",ii.codTipoEstacion===Ci.tipoPuntoCalidad||ii.codTipoEstacion===Ci.tipoPiezoCalidad),e.xp6(4),e.Q6J("ngClass",e.VKq(130,sn,ii.modIndicadorEscasez)),e.xp6(1),e.hij("",e.lcZ(113,98,"monitoringStation.fichaTecnica.lblsGuardarCambios.codIndicadorEscasez"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modIndicadorEscasez)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(132,sn,ii.modComentarios)),e.xp6(1),e.hij("",e.lcZ(120,100,"monitoringStation.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modComentarios)("ngIfElse",da)}}function Oa(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Qo,124,134,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.monitoringStationName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function aa(t,o){1&t&&e._UZ(0,"app-spinner")}let zo=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.monitoringStationService=D,this.monitoringStationName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.tipoPiezometro=s.C.TipoEstacionSeguimiento.PIEZOMETRO,this.tipoPuntoCalidad=s.C.TipoEstacionSeguimiento.PUNTO_CALIDAD,this.tipoPiezoCalidad=s.C.TipoEstacionSeguimiento.PIEZ_CALIDAD,this.monitoringStationName=_.itemName,this.operationCode=_.operation,this.monitoringStationDetail$=this.monitoringStationService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(vt.r))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["tipoEstacion",""],["subTipoEstacion",""],["uso",""],["masaAgua",""],["enFuncionamiento",""],["descAutomatizado",""],["cotaTopografica",""],["profundidad",""],["codigoEuropeo",""],["codigoRedPiezometria",""],["codigoRedCalidad",""],["codigoIgme",""],["codigoAlternativo",""],["class","bar-gradient h-auto py-2",4,"ngIf"],["descRepresentatividad",""],["descCalidadRepresentativa",""],["descIndicadorEscasez",""],["comentarios",""],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Oa,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,aa,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.monitoringStationDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var sa=m(5793);function po(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function N(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function H(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaEntradaVigor,_.dateFormat))}}function xe(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaEntradaVigor,_.dateFormat))}}function ke(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaRetiradaServicio,_.dateFormat))}}function ut(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaRetiradaServicio,_.dateFormat))}}function Pt(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.numeroEstaciones)}}function Bt(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function nn(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function en(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tipoEstado)}}function cn(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tipoEstado)}}function xn(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tipoSubprograma)}}function ti(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tipoSubprograma)}}function _i(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.metodologia)}}function oo(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.metodologia)}}function Eo(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function ki(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const Gn=function(t){return{modified:t}};function ra(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,po,2,1,"span",10),e.qZA(),e.YNc(18,N,1,1,"ng-template",null,11,e.W1O),e.TgZ(20,"mat-list-item",7)(21,"span",9),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,H,3,4,"span",10),e.qZA(),e.YNc(25,xe,2,4,"ng-template",null,12,e.W1O),e.TgZ(27,"mat-list-item",7)(28,"
1span",9),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,ke,3,4,"span",10),e.qZA(),e.YNc(32,ut,2,4,"ng-template",null,13,e.W1O),e.YNc(34,Pt,1,1,"ng-template",null,14,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e._uU(40),e.ALo(41,"number"),e.qZA(),e.TgZ(42,"mat-list-item",7)(43,"span",9),e._uU(44),e.ALo(45,"translate"),e.qZA(),e.YNc(46,Bt,2,1,"span",10),e.qZA(),e.YNc(47,nn,1,1,"ng-template",null,15,e.W1O),e.TgZ(49,"mat-list-item",7)(50,"span",9),e._uU(51),e.ALo(52,"translate"),e.qZA(),e.YNc(53,en,2,1,"span",10),e.qZA(),e.YNc(54,cn,1,1,"ng-template",null,16,e.W1O),e.TgZ(56,"mat-list-item",7)(57,"span",9),e._uU(58),e.ALo(59,"translate"),e.qZA(),e.YNc(60,xn,2,1,"span",10),e.qZA(),e.YNc(61,ti,1,1,"ng-template",null,17,e.W1O),e.TgZ(63,"mat-list-item",7)(64,"span",9),e._uU(65),e.ALo(66,"translate"),e.qZA(),e.YNc(67,_i,2,1,"span",10),e.qZA(),e.YNc(68,oo,1,1,"ng-template",null,18,e.W1O),e.TgZ(70,"mat-list-item",7)(71,"span",9),e._uU(72),e.ALo(73,"translate"),e.qZA(),e.YNc(74,Eo,2,1,"span",10),e.qZA(),e.YNc(75,ki,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.TgZ(77,"div",5)(78,"div",20)(79,"div",21)(80,"button",22),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(81),e.ALo(82,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(48),je=e.MAs(55),Zt=e.MAs(62),qe=e.MAs(69),tn=e.MAs(76),mn=e.oxw();e.xp6(3),e.AsE("",n.id," - ",mn.monitoringProgramName,""),e.xp6(7),e.hij("",e.lcZ(11,39,"monitoringProgram.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",n.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(64,Gn,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(16,41,"monitoringProgram.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(66,Gn,n.modFechaEntradaVigor)),e.xp6(1),e.hij("",e.lcZ(23,43,"monitoringProgram.fichaTecnica.lblsGuardarCambios.fechaEntradaServicio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modFechaEntradaVigor)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(68,Gn,n.modFechaRetiradaServicio)),e.xp6(1),e.hij("",e.lcZ(30,45,"monitoringProgram.fichaTecnica.lblsGuardarCambios.fechaRetiradaServicio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modFechaRetiradaServicio)("ngIfElse",ue),e.xp6(7),e.hij("",e.lcZ(39,47,"monitoringProgram.fichaTecnica.lblsGuardarCambios.numeroEstaciones"),":\xa0"),e.xp6(2),e.hij("",e.xi3(41,49,n.numeroEstaciones,mn.numEnt)," "),e.xp6(3),e.Q6J("ngClass",e.VKq(70,Gn,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(45,52,"monitoringProgram.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(72,Gn,n.modTipoEstado)),e.xp6(1),e.hij("",e.lcZ(52,54,"monitoringProgram.fichaTecnica.lblsGuardarCambios.codTipoEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipoEstado)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(74,Gn,n.modTipo)),e.xp6(1),e.hij("",e.lcZ(59,56,"monitoringProgram.fichaTecnica.lblsGuardarCambios.codTipoSubprograma"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipo)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(76,Gn,n.modMetodologia)),e.xp6(1),e.hij("",e.lcZ(66,58,"monitoringProgram.fichaTecnica.lblsGuardarCambios.metodologia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modMetodologia)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(78,Gn,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(73,60,"monitoringProgram.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",tn),e.xp6(7),e.Oqu(e.l
1cZ(82,62,"botones.cerrar"))}}function Os(t,o){1&t&&e._UZ(0,"app-spinner")}let Xo=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.monitoringProgramService=D,this.monitoringProgramName="",this.dateFormat=s.C.dateFormat,this.numEnt=s.C.numEnt,this.monitoringProgramName=_.itemName,this.monitoringProgramDetail$=this.monitoringProgramService.getComparacionVersion(Number(_.gid),Number(_.gidVersion))}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(sa.t))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["fechaEntradaVigor",""],["fechaRetiradaServicio",""],["numeroEstaciones",""],["codigoEuropeo",""],["tipoEstado",""],["tipoSubprograma",""],["metodologia",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,ra,83,80,"div",0),e.ALo(1,"async"),e.YNc(2,Os,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.monitoringProgramDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.uU,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Ms=m(6756);function ms(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Na(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function Fs(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoNabia)}}function es(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoNabia)}}function ja(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Ts(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function xc(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Ps(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const Fr=function(t){return{modified:t}};function gr(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,ms,2,1,"span",10),e.qZA(),e.YNc(18,Na,1,1,"ng-template",null,11,e.W1O),e.TgZ(20,"mat-list-item",7)(21,"span",9),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,Fs,2,1,"span",10),e.qZA(),e.YNc(25,es,1,1,"ng-template",null,12,e.W1O),e.TgZ(27,"mat-list-item",7)(28,"span",9),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,ja,2,1,"span",10),e.qZA(),e.YNc(32,Ts,1,1,"ng-template",null,13,e.W1O),e.TgZ(34,"mat-list-item",7)(35,"span",9),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,xc,2,1,"span",10),e.qZA(),e.YNc(39,Ps,1,1,"ng-template",null,14,e.W1O),e.qZA()()(),e.TgZ(41,"div",5)(42,"div",15)(43,"div",16)(44,"button",17),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(45),e.ALo(46,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.oxw();e.xp6(3),e.AsE("",n.id," - ",je.monitoringStationName,""),e.xp6(7),e.hij("",e.lcZ(11,21,"surfaceMonitoringStation.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",n.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(33,Fr,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(16,23,"surfaceMonitoringStation.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(35,Fr,n.modCodigoNabia)),e.xp6(1),e.hij("",e.lcZ(23,25,"surfaceMonitoringStation.fichaTecnica.lblsGuardarCambios.codigoNabia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoNabia)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(37,Fr,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(30,27,"surfaceMonitoringStation.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(39,Fr,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(37,29,"surfaceMonitoringStation.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",Qe),e.xp6(7),e.Oqu(e.l
1cZ(46,31,"botones.cerrar"))}}function Br(t,o){1&t&&e._UZ(0,"app-spinner")}let Rr=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.monitoringStationService=D,this.monitoringStationName="",this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.monitoringStationName=_.itemName,this.operationCode=_.operation,this.monitoringStationDetail$=this.monitoringStationService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Ms.$))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codigoNabia",""],["codigoEuropeo",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,gr,47,41,"div",0),e.ALo(1,"async"),e.YNc(2,Br,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.monitoringStationDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var F_=m(7124);function ae(t,o){if(1&t&&(e.TgZ(0,"div",11)(1,"h2"),e._uU(2),e.qZA()()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(2),e.AsE("",n.id," - ",_.surfaceMonitoringProgramName,"")}}function J(t,o){if(1&t&&(e.TgZ(0,"div",11)(1,"h2"),e._uU(2),e.qZA()()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(2),e.AsE("",n.programaSeguimientoDto.id," - ",_.surfaceMonitoringProgramName,"")}}function K(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function be(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Re(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.categoriaMasaVigente)}}function ht(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.categoriaMasaVigente)}}function qt(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaEntradaVigor,_.dateFormat))}}function Kt(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaEntradaVigor,_.dateFormat))}}function yn(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaRetiradaServicio,_.dateFormat))}}function Ei(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaRetiradaServicio,_.dateFormat))}}function vo(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.msCode)}}function Ri(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.msCode)}}function Lo(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Po(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function gs(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.especificoZonasProtegidas)}}function Ds(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.especificoZonasProtegidas)}}function fr(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.criterio)}}function tr(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.criterio)}}function Bs(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Zr(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const La=function(t){return{modified:t}};function Is(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",12)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"mat-list-item",12)(7,"span",14),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.YNc(10,K,2,1,"span",15),e.qZA(),e.YNc(11,be,1,1,"ng-template",null,16,e.W1O),e.TgZ(13,"mat-list-item",12)(14,"span",14),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,Re,2,1,"span",15),e.qZA(),e.YNc(18,ht,1,1,"ng-template",null,17,e.W1O),e.TgZ(20,"mat-list-item",12)(21,"span",14),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,qt,3,4,"span",15),e.qZA(),e.YNc(25,Kt,2,4,"ng-template",null,18,e.W1O),e.TgZ(27,"mat-list-item",12)(28,"span",14),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,yn,3,4,"span",15),e.qZA(),e.YNc(32,Ei,2,4,"ng-template",null,19,e.W1O),e.TgZ(34,"mat-list-item",12)(35,"span",14),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,vo,2,1,"span",15),e.qZA(),e.YNc(39,Ri,1,1,"ng-template",null,20,e.W1O),e.TgZ(41,"mat-list-item",12)(42,"span",14),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,Lo,2,1,"span",15),e.qZA(),e.YNc(46,Po,1,1,"ng-template",null,21,e.W1O),e.TgZ(48,"mat-list-item",12)(49,"span",14),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,gs,2,1,"span",15),e.qZA(),e.YNc(53,Ds,1,1,"ng-template",null,22,e.W1O),e.TgZ(55,"mat-list-item",12)(56,"span",14),e._uU(57),e.ALo(58,"translate"),e.qZA(),e.YNc(59,fr,2,1,"span",15),e.qZA(),e.YNc(60,tr,1,1,"ng-template",null,23,e.W1O),e.TgZ(62,"mat-list-item",12)(63,"span",14),e._uU(64),e.ALo(65,"translate"),e.qZA(),e.YNc(66,Bs,2,1,"span",15),e.qZA(),e.YNc(67,Zr,1,1,"ng-template",null,24,e.W1O),e.qZA()),2&t){const n=e.MAs(12),_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.MAs(54),qe=e.MAs(61),tn=e.MAs(68),mn=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,38,"surfaceMonitoringProgram.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",mn.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(58,La,mn.modNombre)),e.xp6(1),e.hij("",e.lcZ(9,40,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(60,La,mn.modCategoriaMasaVigente)),e.xp6(1),e.hij("",e.lcZ(16,42,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.codCategoriaMasaVigente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modCategoriaMasaVigente)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(62,La,mn.modFechaEntradaVigor)),e.xp6(1),e.hij("",e.lcZ(23,44,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.fechaEntradaVigor"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modFechaEntradaVigor)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(64,La,mn.modFechaRetiradaServicio)),e.xp6(1),e.hij("",e.lcZ(30,46,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.fechaRetiradaServicio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modFechaRetiradaServicio)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(66,La,mn.modMsCode)),e.xp6(1),e.hij("",e.lcZ(37,48,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.msCode"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modMsCode)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(68,La,mn.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(44,50,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modCodigoEuropeo)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(70,La,mn.modEspecificoZonasProtegidas)),e.xp6(1),e.hij("",e.lcZ(51,52,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.codEspecificoZonasProtegidas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modEspecificoZonasProtegidas)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(72,La,mn.modCriterio)),e.xp6(1),e.hij("",e.lcZ(58,54,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.criterio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modCriterio)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(74,La,mn.modComentarios)),e.xp6(1),e.hij("",e.lcZ(65,56,"surfaceMonitoringProgram.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.modComentarios)("ngIfElse",tn)}}function el(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.programaSeguimientoDto.nombre)}}function Ac(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.programaSeguimientoDto.nombre)}}function tl(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.programaSeguimientoDto.fechaInicio,_.dateFormat))}}function $r(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.programaSeguimientoDto.fechaInicio,_.dateFormat))}}function nr(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.programaSeguimientoDto.modCodTipoPrograma)}}
1function vr(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.programaSeguimientoDto.tipoPrograma)}}function ql(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.programaSeguimientoDto.descripcion)}}function Ec(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.programaSeguimientoDto.descripcion)}}function Yr(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.programaSeguimientoDto.comentarios)}}function vu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.programaSeguimientoDto.comentarios)}}function B_(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",12)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"mat-list-item",12)(7,"span",14),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.YNc(10,el,2,1,"span",15),e.qZA(),e.YNc(11,Ac,1,1,"ng-template",null,16,e.W1O),e.TgZ(13,"mat-list-item",12)(14,"span",14),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,tl,3,4,"span",15),e.qZA(),e.YNc(18,$r,2,4,"ng-template",null,26,e.W1O),e.TgZ(20,"mat-list-item",12)(21,"span",14),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,nr,2,1,"span",15),e.qZA(),e.YNc(25,vr,1,1,"ng-template",null,27,e.W1O),e.TgZ(27,"mat-list-item",12)(28,"span",14),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,ql,2,1,"span",15),e.qZA(),e.YNc(32,Ec,1,1,"ng-template",null,28,e.W1O),e.TgZ(34,"mat-list-item",12)(35,"span",14),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,Yr,2,1,"span",15),e.qZA(),e.YNc(39,vu,1,1,"ng-template",null,24,e.W1O),e.qZA()),2&t){const n=e.MAs(12),_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,22,"surfaceMonitoringProgram.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",je.programaSeguimientoDto.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(34,La,je.programaSeguimientoDto.modNombre)),e.xp6(1),e.hij("",e.lcZ(9,24,"surfaceMonitoringProgram.programa.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.programaSeguimientoDto.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(36,La,je.programaSeguimientoDto.modFechaInicio)),e.xp6(1),e.hij("",e.lcZ(16,26,"surfaceMonitoringProgram.programa.lblsGuardarCambios.fechaEntradaVigor"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.programaSeguimientoDto.modFechaInicio)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(38,La,je.programaSeguimientoDto.modCodTipoPrograma)),e.xp6(1),e.hij("",e.lcZ(23,28,"surfaceMonitoringProgram.programa.lblsGuardarCambios.tipoPrograma"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.programaSeguimientoDto.modCodTipoPrograma)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(40,La,je.programaSeguimientoDto.modDescripcion)),e.xp6(1),e.hij("",e.lcZ(30,30,"surfaceMonitoringProgram.programa.lblsGuardarCambios.descripcion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.programaSeguimientoDto.modDescripcion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(42,La,je.programaSeguimientoDto.modComentarios)),e.xp6(1),e.hij("",e.lcZ(37,32,"surfaceMonitoringProgram.programa.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.programaSeguimientoDto.modComentarios)("ngIfElse",Qe)}}function fa(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2),e.YNc(1,ae,3,2,"div",3),e.YNc(2,J,3,2,"div",3),e._UZ(3,"mat-divider",4),e.TgZ(4,"div",5)(5,"div",6),e.YNc(6,Is,69,76,"mat-list",7),e.YNc(7,B_,41,44,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.operationCode==n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operationCode==n.operacionPrograma),e.xp6(4),e.Q6J("ngIf",n.operationCode==n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operationCode==n.operacionPrograma),e.xp6(5),e.Oqu(e.l
1cZ(13,5,"botones.cerrar"))}}function $_(t,o){1&t&&e._UZ(0,"app-spinner")}let Cu=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.surfaceMonitoringProgramService=D,this.surfaceMonitoringProgramName="",this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionPrograma=s.C.operacion.OPERACION_PROGRAMA,this.dateFormat=s.C.dateFormat,this.surfaceMonitoringProgramName=_.itemName,this.operationCode=_.operation,this.surfaceMonitoringProgramDetail$=this.surfaceMonitoringProgramService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(F_.Y))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],["class","container-title",4,"ngIf"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"container-title"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["categoriaMasaVigente",""],["fechaEntradaVigor",""],["fechaRetiradaServicio",""],["msCode",""],["codigoEuropeo",""],["especificoZonasProtegidas",""],["criterio",""],["comentarios",""],["appHighlight",""],["fechainicio",""],["tipoPrograma",""],["descripcion",""]],template:function(n,_){if(1&n&&(e.YNc(0,fa,14,7,"div",0),e.ALo(1,"async"),e.YNc(2,$_,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.surfaceMonitoringProgramDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.uU],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Cr=m(2204);function Y_(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function bu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function xu(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Oc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function br(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.horizonte)}}function fs(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.horizonte)}}function Va(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",e.lcZ(2,1,n.acuiferoCompartido?"si":"no"),"")}}function Mc(t,o){if(1&t&&(e._uU(0),e.ALo(1,"translate")),2&t){const n=e.oxw(2).ngIf;e.hij(" ",e.lcZ(1,1,n.acuiferoCompartido?"si":"no")," ")}}function jr(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Au(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}function j_(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();
1e.xp6(1),e.Oqu(e.xi3(2,1,n.altitudMax,_.numRed))}}function vs(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.altitudMax,_.numRed))}}function $s(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.altitudMin,_.numRed))}}function nl(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.altitudMin,_.numRed))}}function xr(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.limiteInferior,_.numRed))}}function Ar(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.limiteInferior,_.numRed))}}const Ka=function(t){return{modified:t}};function K_(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"mat-list-item",11)(7,"span",13),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.YNc(10,Y_,2,1,"span",14),e.qZA(),e.YNc(11,bu,1,1,"ng-template",null,15,e.W1O),e.TgZ(13,"mat-list-item",11)(14,"span",13),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,xu,2,1,"span",14),e.qZA(),e.YNc(18,Oc,1,1,"ng-template",null,16,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",13),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,br,2,1,"span",14),e.qZA(),e.YNc(25,fs,1,1,"ng-template",null,17,e.W1O),e.TgZ(27,"mat-list-item",11)(28,"span",13),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,Va,3,3,"span",14),e.qZA(),e.YNc(32,Mc,2,3,"ng-template",null,18,e.W1O),e.TgZ(34,"mat-list-item",11)(35,"span",13),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,jr,2,1,"span",14),e.qZA(),e.YNc(39,Au,1,1,"ng-template",null,19,e.W1O),e.TgZ(41,"mat-list-item",11)(42,"span",13),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,j_,3,4,"span",14),e.qZA(),e.YNc(46,vs,2,4,"ng-template",null,20,e.W1O),e.TgZ(48,"mat-list-item",11)(49,"span",13),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,$s,3,4,"span",14),e.qZA(),e.YNc(53,nl,2,4,"ng-template",null,21,e.W1O),e.TgZ(55,"mat-list-item",11)(56,"span",13),e._uU(57),e.ALo(58,"translate"),e.qZA(),e.YNc(59,xr,3,4,"span",14),e.qZA(),e.YNc(60,Ar,2,4,"ng-template",null,22,e.W1O),e.TgZ(62,"mat-list-item",11)(63,"span",12),e._uU(64),e.ALo(65,"translate"),e.qZA(),e._uU(66),e.ALo(67,"number"),e.qZA(),e.TgZ(68,"mat-list-item",11)(69,"span",12),e._uU(70),e.ALo(71,"translate"),e.qZA(),e._uU(72),e.ALo(73,"number"),e.qZA()()),2&t){const n=e.MAs(12),_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.MAs(54),qe=e.MAs(61),tn=e.oxw().ngIf,mn=e.oxw();e.xp6(3),e.hij("",e.lcZ(4,39,"groundwaterbody.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",tn.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(67,Ka,tn.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(9,41,"groundwaterbody.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modCodigoEuropeo)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(69,Ka,tn.modNombre)),e.xp6(1),e.hij("",e.lcZ(16,43,"groundwaterbody.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(71,Ka,tn.modCodHorizonte)),e.xp6(1),e.hij("",e.lcZ(23,45,"groundwaterbody.fichaTecnica.lblsGuardarCambios.codHorizonte"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modCodHorizonte)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(73,Ka,tn.modAcuiferoCompartido)),e.xp6(1),e.hij(" ",e.lcZ(30,47,"groundwaterbody.fichaTecnica.lblsGuardarCambios.acuiferoCompartido"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modAcuiferoCompartido)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(75,Ka,tn.modComentarios)),e.xp6(1),e.hij("",e.lcZ(37,49,"groundwaterbody.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modComentarios)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(77,Ka,tn.modAltitudMax)),e.xp6(1),e.hij("",e.lcZ(44,51,"groundwaterbody.fichaTecnica.lblsGuardarCambios.altitudMax"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modAltitudMax)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(79,Ka,tn.modAltitudMin)),e.xp6(1),e.hij("",e.lcZ(51,53,"groundwaterbody.fichaTecnica.lblsGuardarCambios.altitudMin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modAltitudMin)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(81,Ka,tn.modLimiteInferior)),e.xp6(1),e.hij("",e.lcZ(58,55,"groundwaterbody.fichaTecnica.lblsGuardarCambios.limiteInferior"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modLimiteInferior)("ngIfElse",qe),e.xp6(5),e.hij("",e.lcZ(65,57,"groundwaterbody.fichaTecnica.lblsGuardarCambios.area"),":\xa0"),e.xp6(2),e.hij("",e.xi3(67,59,tn.area,mn.numRed)," "),e.xp6(4),e.AsE("",e.lcZ(71,62,"groundwaterbody.fichaTecnica.lblsGuardarCambios.poblacionTotalNucleos")," (",tn.anioReferenciaCalculoPoblacion,"):\xa0"),e.xp6(2),e.hij("",e.xi3(73,64,tn.poblacionTotalNucleos,mn.numEnt)," ")}}
1function Q_(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.unidadGeologica)}}function Eu(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,Q_,2,1,"span",24),e.qZA()()),2&t){const n=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(5,Ka,n.modUnidadGeologica)),e.xp6(1),e.hij("",e.lcZ(4,3,"groundwaterbody.fichaTecnica.lblsGuardarCambios.unidadGeologica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modUnidadGeologica)}}function y(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.litologiaMod.descripcion)}}function u(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.litologiaMod.descripcion)}}function f(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.litologiaMod.extension,_.numRed))}}function x(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.litologiaMod.extension,_.numRed))}}function M(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.litologiaMod.espesorMinimo,_.numRed))}}function P(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.litologiaMod.espesorMinimo,_.numRed))}}function V(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.litologiaMod.espesorMaximo,_.numRed))}}function Q(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.litologiaMod.espesorMaximo,_.numRed))}}function ie(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.litologiaMod.comentarioEdad)}}function Me(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.litologiaMod.comentarioEdad)}}function Ke(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.litologiaMod.descEdad)}}function Ct(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.litologiaMod.descEdad)}}function St(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,y,2,1,"span",14),e.qZA(),e.YNc(6,u,1,1,"ng-template",null,25,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",13),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,f,3,4,"span",14),e.qZA(),e.YNc(13,x,2,4,"ng-template",null,26,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",13),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,M,3,4,"span",14),e.qZA(),e.YNc(20,P,2,4,"ng-template",null,27,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",13),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,V,3,4,"span",14),e.qZA(),e.YNc(27,Q,2,4,"ng-template",null,28,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",13),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,ie,2,1,"span",14),e.qZA(),e.YNc(34,Me,1,1,"ng-template",null,29,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",13),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,Ke,2,1,"span",14),e.qZA(),e.YNc(41,Ct,1,1,"ng-template",null,30,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(36,Ka,Zt.litologiaMod.modDescripcion)),e.xp6(1),e.hij("",e.lcZ(4,24,"groundwaterbody.fichaTecnica.lblsGuardarCambios.descripcion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.litologiaMod.modDescripcion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Ka,Zt.litologiaMod.modExtension)),e.xp6(1),e.hij("",e.lcZ(11,26,"groundwaterbody.fichaTecnica.lblsGuardarCambios.extension"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.litologiaMod.modExtension)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(40,Ka,Zt.litologiaMod.modEspesorMin)),e.xp6(1),e.hij("",e.lcZ(18,28,"groundwaterbody.fichaTecnica.lblsGuardarCambios.espesorMinimo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.litologiaMod.modEspesorMin)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(42,Ka,Zt.litologiaMod.modEspesorMax)),e.xp6(1),e.hij("",e.lcZ(25,30,"groundwaterbody.fichaTecnica.lblsGuardarCambios.espesorMaximo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.litologiaMod.modEspesorMax)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(44,Ka,Zt.litologiaMod.modComentarioEdad)),e.xp6(1),e.hij("",e.lcZ(32,32,"groundwaterbody.fichaTecnica.lblsGuardarCambios.comentarioEdad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.litologiaMod.modComentarioEdad)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(46,Ka,Zt.litologiaMod.modEdad)),e.xp6(1),e.hij("",e.lcZ(39,34,"groundwaterbody.fichaTecnica.lblsGuardarCambios.codEdad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.litologiaMod.modEdad)("ngIfElse",je)}}function kt(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"
1span",31),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",23),e._uU(6),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,2,"groundwaterbody.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(3),e.Oqu(n.comentarioGeoLito)}}function on(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,K_,74,83,"mat-list",7),e.YNc(8,Eu,6,7,"mat-list",7),e.YNc(9,St,43,48,"mat-list",7),e.YNc(10,kt,7,4,"mat-list",7),e.qZA()(),e.TgZ(11,"div",5)(12,"div",8)(13,"div",9)(14,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(15),e.ALo(16,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.gwbName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionGeoUG),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionGeoLito),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionGeoComment),e.xp6(5),e.Oqu(e.l
1cZ(16,7,"botones.cerrar"))}}function hn(t,o){1&t&&e._UZ(0,"app-spinner")}let On=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numRed=s.C.numRed,this.numEnt=s.C.numEnt,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionGeoUG=s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_GEO_UG,this.operacionGeoLito=s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_GEO_LITO,this.operacionGeoComment=s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_GEO,this.gwbName=_.itemName,this.operationCode=_.operation,this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["codigoEuropeo",""],["nombre",""],["horizonte",""],["acuiferoCompartido",""],["comentarios",""],["altMax",""],["altMin",""],["limiteInferior",""],["appHighlight",""],["appHighlight","",4,"ngIf"],["descGeoLito",""],["extGeoLito",""],["espesorMinGeoLito",""],["espesorMaxGeoLito",""],["comentarioGeoLito",""],["edadGeoLito",""],["appBold","",1,"modified"]],template:function(n,_){if(1&n&&(e.YNc(0,on,17,9,"div",0),e.ALo(1,"async"),e.YNc(2,hn,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Sn=m(1362);function Un(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function oi(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function Xn(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function Jn(t,o){if(1&t&&(e.TgZ(0,"span",20),e.YNc(1,Xn,2,2,"ng-container",21),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",n.nombresAlternativos)}}function pi(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function vi(t,o){if(1&t&&e.YNc(0,pi,2,2,"ng-container",21),2&t){const n=e.oxw().ngIf;e.Q6J("ngForOf",n.nombresAlternativos)}}function yi(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estado)}}function ro(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estado)}}function Mo(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.titularidad)}}function Yi(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.titularidad)}}function Vo(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.propietario)}}function Qa(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.propietario)}}function ls(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Uo(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const $o=function(t){return{modified:t}};function Ma(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,Un,2,1,"span",10),e.qZA(),e.YNc(18,oi,1,1,"ng-template",null,11,e.W1O),e.TgZ(20,"mat-list-item",7)(21,"span",9),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,Jn,2,1,"span",10),e.qZA(),e.YNc(25,vi,1,1,"ng-template",null,12,e.W1O),e.TgZ(27,"mat-list-item",7)(28,"
1span",9),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,yi,2,1,"span",10),e.qZA(),e.YNc(32,ro,1,1,"ng-template",null,13,e.W1O),e.TgZ(34,"mat-list-item",7)(35,"span",9),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,Mo,2,1,"span",10),e.qZA(),e.YNc(39,Yi,1,1,"ng-template",null,14,e.W1O),e.TgZ(41,"mat-list-item",7)(42,"span",9),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,Vo,2,1,"span",10),e.qZA(),e.YNc(46,Qa,1,1,"ng-template",null,15,e.W1O),e.TgZ(48,"mat-list-item",7)(49,"span",9),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,ls,2,1,"span",10),e.qZA(),e.YNc(53,Uo,1,1,"ng-template",null,16,e.W1O),e.qZA()()(),e.TgZ(55,"div",5)(56,"div",17)(57,"div",18)(58,"button",19),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(59),e.ALo(60,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.MAs(54),qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",qe.raftName,""),e.xp6(7),e.hij("",e.lcZ(11,29,"raft.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",n.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(45,$o,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(16,31,"raft.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(47,$o,n.modNombresAlternativos)),e.xp6(1),e.hij("",e.lcZ(23,33,"raft.fichaGeneral.nombreAlt"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombresAlternativos)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(49,$o,n.modCodEstado)),e.xp6(1),e.hij("",e.lcZ(30,35,"raft.fichaTecnica.lblsGuardarCambios.codEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodEstado)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(51,$o,n.modCodTitularidad)),e.xp6(1),e.hij("",e.lcZ(37,37,"raft.fichaTecnica.lblsGuardarCambios.codTitularidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodTitularidad)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(53,$o,n.modCodPropietario)),e.xp6(1),e.hij("",e.lcZ(44,39,"raft.fichaTecnica.lblsGuardarCambios.codPropietario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodPropietario)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(55,$o,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(51,41,"raft.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",Zt),e.xp6(7),e.Oqu(e.l
1cZ(60,43,"botones.cerrar"))}}function Rs(t,o){1&t&&e._UZ(0,"app-spinner")}let Ua=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.raftService=D,this.raftName="",this.raftName=_.itemName,this.raftDetail$=this.raftService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Sn.b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["alternativo",""],["estado",""],["titularidad",""],["propietario",""],["tipoEstado",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],[4,"ngFor","ngForOf"]],template:function(n,_){if(1&n&&(e.YNc(0,Ma,61,57,"div",0),e.ALo(1,"async"),e.YNc(2,Rs,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.raftDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,d.sg,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var ys=m(4305);function Xr(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,2,"channel.fichaTecnica.lblsGuardarCambios.codUso"),":\xa0"),e.xp6(3),e.Oqu(n.descUso)}}function Ys(t,o){if(1&t&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function ec(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Kr(t,o){if(1&t&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estado)}}function Nr(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estado)}}function Er(t,o){if(1&t&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.titularidad)}}function Ou(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.titularidad)}}function x1(t,o){if(1&t&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descEsMasaAgua)}}function A1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descEsMasaAgua)}}function Tc(t,o){if(1&t&&(e.TgZ(0,"span",13),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.capacidadMaxima,_.numRed))}}function il(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.capacidadMaxima,_.numRed))}}function E1(t,o){if(1&t&&(e.TgZ(0,"span",13),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.eficiencia,_.numRed))}}function HA(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.eficiencia,_.numRed))}}
1function Mu(t,o){if(1&t&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentario)}}function O1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentario)}}const Dc=function(t){return{modified:t}};function M1(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",14),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"mat-list-item",11)(7,"span",15),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.YNc(10,Ys,2,1,"span",16),e.qZA(),e.YNc(11,ec,1,1,"ng-template",null,17,e.W1O),e.TgZ(13,"mat-list-item",11)(14,"span",15),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,Kr,2,1,"span",16),e.qZA(),e.YNc(18,Nr,1,1,"ng-template",null,18,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",15),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,Er,2,1,"span",16),e.qZA(),e.YNc(25,Ou,1,1,"ng-template",null,19,e.W1O),e.TgZ(27,"mat-list-item",11)(28,"span",15),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,x1,2,1,"span",16),e.qZA(),e.YNc(32,A1,1,1,"ng-template",null,20,e.W1O),e.TgZ(34,"mat-list-item",11)(35,"span",15),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,Tc,3,4,"span",16),e.qZA(),e.YNc(39,il,2,4,"ng-template",null,21,e.W1O),e.TgZ(41,"mat-list-item",11)(42,"span",15),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,E1,3,4,"span",16),e.qZA(),e.YNc(46,HA,2,4,"ng-template",null,22,e.W1O),e.TgZ(48,"mat-list-item",23)(49,"span",15),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,Mu,2,1,"span",16),e.qZA(),e.YNc(53,O1,1,1,"ng-template",null,24,e.W1O),e.qZA()),2&t){const n=e.MAs(12),_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.MAs(54),qe=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,30,"channel.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",qe.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(46,Dc,qe.modNombre)),e.xp6(1),e.hij("",e.lcZ(9,32,"channel.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(48,Dc,qe.modEstado)),e.xp6(1),e.hij("",e.lcZ(16,34,"channel.fichaTecnica.lblsGuardarCambios.codEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modEstado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(50,Dc,qe.modTitularidad)),e.xp6(1),e.hij("",e.lcZ(23,36,"channel.fichaTecnica.lblsGuardarCambios.codTitularidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modTitularidad)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(52,Dc,qe.modEsMasaAgua)),e.xp6(1),e.hij("",e.lcZ(30,38,"channel.fichaTecnica.lblsGuardarCambios.codEsMasaAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modEsMasaAgua)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(54,Dc,qe.modCapacidadMaxima)),e.xp6(1),e.hij("",e.lcZ(37,40,"channel.fichaTecnica.lblsGuardarCambios.capacidadMaxima"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modCapacidadMaxima)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(56,Dc,qe.modEficiencia)),e.xp6(1),e.hij("",e.lcZ(44,42,"channel.fichaTecnica.lblsGuardarCambios.eficiencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modEficiencia)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(58,Dc,qe.modComentario)),e.xp6(1),e.hij("",e.lcZ(51,44,"channel.fichaTecnica.lblsGuardarCambios.comentario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modComentario)("ngIfElse",Zt)}}function T1(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Xr,7,4,"mat-list",7),e.YNc(8,M1,55,60,"mat-list",7),e.qZA()(),e.TgZ(9,"div",5)(10,"div",8)(11,"div",9)(12,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.channelName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionUsos),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(5),e.Oqu(e.l
1cZ(14,5,"botones.cerrar"))}}function D1(t,o){1&t&&e._UZ(0,"app-spinner")}let I1=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionUsos=s.C.operacion.OPERACION_USOS,this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.channelName=_.itemName,this.operationCode=_.operation,this.channelDetail$=this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ys.T))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",1,"modified"],["appHighlight",""],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["estado",""],["titularidad",""],["codEsMasaAgua",""],["capacidadMaxima",""],["eficiencia",""],[1,"bar-gradient","comentarios"],["comentario",""]],template:function(n,_){if(1&n&&(e.YNc(0,T1,15,7,"div",0),e.ALo(1,"async"),e.YNc(2,D1,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.channelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,S.Z,d.mk,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();var Tu=m(312);function Or(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function y1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function S1(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.expedienteVertido)}}function w1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.expedienteVertido)}}function Du(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.titular)}}function Cs(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.titular)}}function G_(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoAlternativo)}}function Iu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoAlternativo)}}function yu(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.naturaleza)}}function us(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.naturaleza)}}function ol(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoDeVertido)}}function J_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoDeVertido)}}function P1(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoIndustria)}}function R1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoIndustria)}}function Su(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.actividadEconomica)}}function Z1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.actividadEconomica)}}function wu(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.localidad)}}function N1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.localidad)}}function Pu(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.vertidoA)}}function L1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.vertidoA)}}function V1(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoExpediente)}}function W_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoExpediente)}}
1function H_(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.volumenMax,_.numRed))}}function U1(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.volumenMax,_.numRed))}}function Ru(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.carga,_.numEnt))}}function al(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.carga,_.numEnt))}}function Zu(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoTratamiento)}}function Nu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoTratamiento)}}function z_(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoTratamientoIPH)}}function X_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoTratamientoIPH)}}function Lu(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.gradoTratamiento)}}function zA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoTratamientoIPH)}}function Ic(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.dbo5Limit,_.numRed))}}function ep(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.dbo5Limit,_.numRed))}}function Vu(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.dqoLimit,_.numRed))}}function q1(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.dqoLimit,_.numRed))}}function tp(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.solidLimit,_.numRed))}}function k1(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.solidLimit,_.numRed))}}function F1(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.nitratoLimit,_.numRed))}}function B1(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.nitratoLimit,_.numRed))}}function $1(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fosforoLimit,_.numRed))}}function Y1(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fosforoLimit,_.numRed))}}function j1(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.dbo5Estimado,_.numRed))}}function Uu(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.dbo5Estimado,_.numRed))}}function np(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.dqoEstimado,_.numRed))}}function qu(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.dqoEstimado,_.numRed))}}function ip(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fosforoEstimado,_.numRed))}}function K1(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fosforoEstimado,_.numRed))}}function Q1(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.nitratoEstimado,_.numRed))}}function ku(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.nitratoEstimado,_.numRed))}}
1function Fu(t,o){if(1&t&&(e.TgZ(0,"span",41),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function tc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const ta=function(t){return{modified:t}};function Bu(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,Or,2,1,"span",13),e.qZA(),e.YNc(6,y1,1,1,"ng-template",null,14,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,S1,2,1,"span",13),e.qZA(),e.YNc(13,w1,1,1,"ng-template",null,15,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",12),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,Du,2,1,"span",13),e.qZA(),e.YNc(20,Cs,1,1,"ng-template",null,16,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,G_,2,1,"span",13),e.qZA(),e.YNc(27,Iu,1,1,"ng-template",null,17,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",12),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,yu,2,1,"span",13),e.qZA(),e.YNc(34,us,1,1,"ng-template",null,18,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",12),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,ol,2,1,"span",13),e.qZA(),e.YNc(41,J_,1,1,"ng-template",null,19,e.W1O),e.TgZ(43,"mat-list-item",11)(44,"span",12),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,P1,2,1,"span",13),e.qZA(),e.YNc(48,R1,1,1,"ng-template",null,20,e.W1O),e.TgZ(50,"mat-list-item",11)(51,"span",12),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,Su,2,1,"span",13),e.qZA(),e.YNc(55,Z1,1,1,"ng-template",null,21,e.W1O),e.TgZ(57,"mat-list-item",11)(58,"span",22),e._uU(59),e.ALo(60,"translate"),e.qZA(),e._uU(61),e.qZA(),e.TgZ(62,"mat-list-item",11)(63,"span",22),e._uU(64),e.ALo(65,"translate"),e.qZA(),e._uU(66),e.qZA(),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,wu,2,1,"span",13),e.qZA(),e.YNc(72,N1,1,1,"ng-template",null,23,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,Pu,2,1,"span",13),e.qZA(),e.YNc(79,L1,1,1,"ng-template",null,24,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,V1,2,1,"span",13),e.qZA(),e.YNc(86,W_,1,1,"ng-template",null,25,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,H_,3,4,"span",13),e.qZA(),e.YNc(93,U1,2,4,"ng-template",null,26,e.W1O),e.TgZ(95,"mat-list-item",11)(96,"span",12),e._uU(97),e.ALo(98,"translate"),e.qZA(),e.YNc(99,Ru,3,4,"span",13),e.qZA(),e.YNc(100,al,2,4,"ng-template",null,27,e.W1O),e.TgZ(102,"mat-list-item",11)(103,"span",12),e._uU(104),e.ALo(105,"translate"),e.qZA(),e.YNc(106,Zu,2,1,"span",13),e.qZA(),e.YNc(107,Nu,1,1,"ng-template",null,28,e.W1O),e.TgZ(109,"mat-list-item",11)(110,"span",12),e._uU(111),e.ALo(112,"translate"),e.qZA(),e.YNc(113,z_,2,1,"span",13),e.qZA(),e.YNc(114,X_,1,1,"ng-template",null,29,e.W1O),e.TgZ(116,"mat-list-item",11)(117,"span",12),e._uU(118),e.ALo(119,"translate"),e.qZA(),e.YNc(120,Lu,2,1,"span",13),e.qZA(),e.YNc(121,zA,1,1,"ng-template",null,30,e.W1O),e.TgZ(123,"mat-list-item",11)(124,"span",12),e._uU(125),e.ALo(126,"translate"),e.qZA(),e.YNc(127,Ic,3,4,"span",13),e.qZA(),e.YNc(128,ep,2,4,"ng-template",null,31,e.W1O),e.TgZ(130,"mat-list-item",11)(131,"span",12),e._uU(132),e.ALo(133,"translate"),e.qZA(),e.YNc(134,Vu,3,4,"span",13),e.qZA(),e.YNc(135,q1,2,4,"ng-template",null,32,e.W1O),e.TgZ(137,"mat-list-item",11)(138,"span",12),e._uU(139),e.ALo(140,"translate"),e.qZA(),e.YNc(141,tp,3,4,"span",13),e.qZA(),e.YNc(142,k1,2,4,"ng-template",null,33,e.W1O),e.TgZ(144,"mat-list-item",11)(145,"span",12),e._uU(146),e.ALo(147,"translate"),e.qZA(),e.YNc(148,F1,3,4,"span",13),e.qZA(),e.YNc(149,B1,2,4,"ng-template",null,34,e.W1O),e.TgZ(151,"mat-list-item",11)(152,"span",12),e._uU(153),e.ALo(154,"translate"),e.qZA(),e.YNc(155,$1,3,4,"span",13),e.qZA(),e.YNc(156,Y1,2,4,"ng-template",null,35,e.W1O),e.TgZ(158,"mat-list-item",11)(159,"span",12),e._uU(160),e.ALo(161,"translate"),e.qZA(),e.YNc(162,j1,3,4,"span",13),e.qZA(),e.YNc(163,Uu,2,4,"ng-template",null,36,e.W1O),e.TgZ(165,"mat-list-item",11)(166,"span",12),e._uU(167),e.ALo(168,"translate"),e.qZA(),e.YNc(169,np,3,4,"span",13),e.qZA(),e.YNc(170,qu,2,4,"ng-template",null,37,e.W1O),e.TgZ(172,"mat-list-item",11)(173,"span",12),e._uU(174),e.ALo(175,"translate"),e.qZA(),e.YNc(176,ip,3,4,"span",13),e.qZA(),e.YNc(177,K1,2,4,"ng-template",null,38,e.W1O),e.TgZ(179,"mat-list-item",11)(180,"span",12),e._uU(181),e.ALo(182,"translate"),e.qZA(),e.YNc(183,Q1,3,4,"span",13),e.qZA(),e.YNc(184,ku,2,4,"ng-template",null,39,e.W1O),e.TgZ(186,"mat-list-item",11)(187,"span",12),e._uU(188),e.ALo(189,"translate"),e.qZA(),e.YNc(190,Fu,2,1,"span",13),e.qZA(),e.YNc(191,tc,1,1,"ng-template",null,40,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.MAs(56),tn=e.MAs(73),mn=e.MAs(80),mi=e.MAs(87),Rn=e.MAs(94),dn=e.MAs(101),si=e.MAs(108),jn=e.MAs(115),da=e.MAs(122),ii=e.MAs(129),Ci=e.MAs(136),is=e.MAs(143),Li=e.MAs(150),Pn=e.MAs(157),hr=e.MAs(164),bi=e.MAs(171),vc=e.MAs(178),Cc=e.MAs(185),bc=e.MAs(192),qi=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(164,ta,qi.modNombre)),e.xp6(1),e.hij("",e.lcZ(4,108,"waste.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(166,ta,qi.modExpedienteVertido)),e.xp6(1),e.hij("",e.lcZ(11,110,"waste.fichaTecnica.lblsGuardarCambios.expedienteVertido"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modExpedienteVertido)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(168,ta,qi.modTitular)),e.xp6(1),e.hij("",e.lcZ(18,112,"waste.fichaTecnica.lblsGuardarCambios.titular"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modTitular)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(170,ta,qi.modCodigoAlternativo)),e.xp6(1),e.hij("",e.lcZ(25,114,"waste.fichaTecnica.lblsGuardarCambios.codigoAlternativo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modCodigoAlternativo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(172,ta,qi.modNaturaleza)),e.xp6(1),e.hij("",e.lcZ(32,116,"waste.fichaTecnica.lblsGuardarCambios.naturalezaId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modNaturaleza)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(174,ta,qi.modTipoDeVertido)),e.xp6(1),e.hij("",e.lcZ(39,118,"waste.fichaTecnica.lblsGuardarCambios.tipoDeVertidoId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modTipoDeVertido)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(176,ta,qi.modTipoIndustria)),e.xp6(1),e.hij("",e.lcZ(46,120,"waste.fichaTecnica.lblsGuardarCambios.tipoIndustriaId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modTipoIndustria)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(178,ta,qi.modActividadEconomica)),e.xp6(1),e.hij("",e.lcZ(53,122,"waste.fichaTecnica.lblsGuardarCambios.actividadEconomicaId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modActividadEconomica)("ngIfElse",qe),e.xp6(5),e.hij("",e.lcZ(60,124,"waste.fichaTecnica.lblProvincia"),":\xa0"),e.xp6(2),e.hij("",qi.provincia," "),e.xp6(3),e.hij("",e.lcZ(65,126,"waste.fichaTecnica.lblMunicipio"),":\xa0"),e.xp6(2),e.hij("",qi.municipio," "),e.xp6(2),e.Q6J("ngClass",e.VKq(180,ta,qi.modLocalidad)),e.xp6(1),e.hij("",e.lcZ(70,128,"waste.fichaTecnica.lblsGuardarCambios.localidadId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modLocalidad)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(182,ta,qi.modVertidoA)),e.xp6(1),e.hij("",e.lcZ(77,130,"waste.fichaTecnica.lblsGuardarCambios.vertidoAId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modVertidoA)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(184,ta,qi.modEstadoExpediente)),e.xp6(1),e.hij("",e.lcZ(84,132,"waste.fichaTecnica.lblsGuardarCambios.estadoExpediente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modEstadoExpediente)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(186,ta,qi.modVolumenMax
1)),e.xp6(1),e.hij("",e.lcZ(91,134,"waste.fichaTecnica.lblsGuardarCambios.volumenMax"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modVolumenMax)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(188,ta,qi.modCarga)),e.xp6(1),e.hij("",e.lcZ(98,136,"waste.fichaTecnica.lblsGuardarCambios.carga"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modCarga)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(190,ta,qi.modTipoTratamiento)),e.xp6(1),e.hij("",e.lcZ(105,138,"waste.fichaTecnica.lblsGuardarCambios.tipoTratamiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modTipoTratamiento)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(192,ta,qi.modTipoTratamientoIPH)),e.xp6(1),e.hij("",e.lcZ(112,140,"waste.fichaTecnica.lblsGuardarCambios.tipoTratamientoIPHId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modTipoTratamientoIPH)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(194,ta,qi.modGradoTratamiento)),e.xp6(1),e.hij("",e.lcZ(119,142,"waste.fichaTecnica.lblsGuardarCambios.gradoTratamientoId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modGradoTratamiento)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(196,ta,qi.modDbo5Limit)),e.xp6(1),e.hij("",e.lcZ(126,144,"waste.fichaTecnica.lblsGuardarCambios.dbo5Limit"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modDbo5Limit)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(198,ta,qi.modDqoLimit)),e.xp6(1),e.hij("",e.lcZ(133,146,"waste.fichaTecnica.lblsGuardarCambios.dqoLimit"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modDqoLimit)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(200,ta,qi.modSolidLimit)),e.xp6(1),e.hij("",e.lcZ(140,148,"waste.fichaTecnica.lblsGuardarCambios.solidLimit"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modSolidLimit)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(202,ta,qi.modNitratoLimit)),e.xp6(1),e.hij("",e.lcZ(147,150,"waste.fichaTecnica.lblsGuardarCambios.nitratoLimit"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modNitratoLimit)("ngIfElse",Li),e.xp6(4),e.Q6J("ngClass",e.VKq(204,ta,qi.modFosforoLimit)),e.xp6(1),e.hij("",e.lcZ(154,152,"waste.fichaTecnica.lblsGuardarCambios.fosforoLimit"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modFosforoLimit)("ngIfElse",Pn),e.xp6(4),e.Q6J("ngClass",e.VKq(206,ta,qi.modDbo5Estimado)),e.xp6(1),e.hij("",e.lcZ(161,154,"waste.fichaTecnica.lblsGuardarCambios.dbo5Estimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modDbo5Estimado)("ngIfElse",hr),e.xp6(4),e.Q6J("ngClass",e.VKq(208,ta,qi.modDqoEstimado)),e.xp6(1),e.hij("",e.lcZ(168,156,"waste.fichaTecnica.lblsGuardarCambios.dqoEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modDqoEstimado)("ngIfElse",bi),e.xp6(4),e.Q6J("ngClass",e.VKq(210,ta,qi.modFosforoEstimado)),e.xp6(1),e.hij("",e.lcZ(175,158,"waste.fichaTecnica.lblsGuardarCambios.fosforoEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modFosforoEstimado)("ngIfElse",vc),e.xp6(4),e.Q6J("ngClass",e.VKq(212,ta,qi.modNitratoEstimado)),e.xp6(1),e.hij("",e.lcZ(182,160,"waste.fichaTecnica.lblsGuardarCambios.nitratoEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modNitratoEstimado)("ngIfElse",Cc),e.xp6(4),e.Q6J("ngClass",e.VKq(214,ta,qi.modComentarios)),e.xp6(1),e.hij("",e.lcZ(189,162,"waste.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qi.modComentarios)("ngIfElse",bc)}}function G1(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Bu,193,216,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.wasteName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function kl(t,o){1&t&&e._UZ(0,"app-spinner")}let J1=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.wasteService=D,this.wasteName="",this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.numRed=s.C.numRed,this.numEnt=s.C.numEnt,this.wasteName=_.itemName,this.operationCode=_.operation,this.wasteDetail$=this.wasteService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Tu.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["expedienteVertido",""],["titular",""],["codigoAlternativo",""],["naturaleza",""],["tipoDeVertido",""],["tipoIndustria",""],["actividadEconomica",""],["appBold",""],["localidad",""],["vertidoA",""],["estadoExpediente",""],["volumenMax",""],["carga",""],["tipoTratamiento",""],["tipoTratamientoIPH",""],["gradoTratamiento",""],["dbo5Limit",""],["dqoLimit",""],["solidLimit",""],["nitratoLimit",""],["fosforoLimit",""],["dbo5Estimado",""],["dqoEstimado",""],["fosforoEstimado",""],["nitratoEstimado",""],["comentarios",""],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,G1,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,kl,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.wasteDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Ni=m(7579),op=m(7388);function $u(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function ap(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function Yu(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.msCode)}}function Fl(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.msCode)}}function Bl(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function ju(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function sp(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tipo)}}function rp(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tipo)}}function cp(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function sl(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const rl=function(t){return{modified:t}};function Ku(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,$u,2,1,"span",9),e.qZA(),e.YNc(13,ap,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",11),e._uU(17),e.ALo(18,"translate"),e.qZA(),e._uU(19),e.ALo(20,"number"),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Yu,2,1,"span",9),e.qZA(),e.YNc(27,Fl,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Bl,2,1,"span",9),e.qZA(),e.YNc(34,ju,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,sp,2,1,"span",9),e.qZA(),e.YNc(41,rp,1,1,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,cp,2,1,"span",15),e.qZA(),e.YNc(48,sl,1,1,"ng-template",16,17,e.W1O),e.qZA()()(),e.TgZ(50,"div",5)(51,"div",18)(52,"div",19)(53,"button",20),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(54),e.ALo(55,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(28),ue=e.MAs(35),Qe=e.MAs(42),je=e.MAs(49),Zt=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(45,rl,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,26,"fishSection.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(5),e.hij("",e.lcZ(18,28,"fishSection.fichaTecnica.lblLongitud"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(20,30,n.longitud,Zt.numRed)," ",e.lcZ(21,33,"unidades.km")," "),e.xp6(4),e.Q6J("ngClass",e.VKq(47,rl,n.modMsCode)),e.xp6(1),e.hij("",e.lcZ(25,35,"fishSection.fichaTecnica.lblCodigoEspaniol"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modMsCode)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(49,rl,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(32,37,"fishSection.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(51,rl,n.modTipo)),e.xp6(1),e.hij("",e.lcZ(39,39,"fishSection.fichaTecnica.lblTipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(53,rl,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(46,41,"fishSection.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",je),e.xp6(7),e.Oqu(e.l
1cZ(55,43,"botones.cerrar"))}}function W1(t,o){1&t&&e._UZ(0,"app-spinner")}let H1=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.fishSectionsService=D,this.fishSectionName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.fishSectionName=_.itemName,this.operationCode=_.operation,this.fishSectionsDetail$=this.fishSectionsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(op.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appBold",""],["msCode",""],["codigoEuropeo",""],["tipo",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,Ku,56,55,"div",0),e.ALo(1,"async"),e.YNc(2,W1,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.fishSectionsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var lp=m(7280);function _p(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function $l(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function pp(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function nc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function z1(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.anioDecla,_.numRed))}}function X1(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.anioDecla,_.numRed))}}function XA(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.approach)}}function ev(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.approach)}}function Yl(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.conurbation)}}function dp(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.conurbation)}}function Qu(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nutrient)}}function Gu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nutrient)}}function Ju(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.areaCapta)}}function ic(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.areaCapta)}}function tv(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function nv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const Qr=function(t){return{modified:t}};function iv(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,_p,2,1,"span",9),e.qZA(),e.YNc(13,$l,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",11),e._uU(17),e.ALo(18,"translate"),e.qZA(),e._uU(19),e.ALo(20,"number"),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,pp,2,1,"span",9),e.qZA(),e.YNc(27,nc,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,z1,3,4,"span",9),e.qZA(),e.YNc(34,X1,2,4,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,XA,2,1,"span",9),e.qZA(),e.YNc(41,ev,1,1,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,Yl,2,1,"span",9),e.qZA(),e.YNc(48,dp,1,1,"ng-template",null,15,e.W1O),e.TgZ(50,"mat-list-item",7)(51,"span",8),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,Qu,2,1,"span",9),e.qZA(),e.YNc(55,Gu,1,1,"ng-template",null,16,e.W1O),e.TgZ(57,"mat-list-item",7)(58,"span",8),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.YNc(61,Ju,2,1,"span",9),e.qZA(),e.YNc(62,ic,1,1,"ng-template",null,17,e.W1O),e.TgZ(64,"mat-list-item",7)(65,"span",8),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,tv,2,1,"span",18),e.qZA(),e.YNc(69,nv,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.TgZ(71,"div",5)(72,"div",21)(73,"div",22)(74,"button",23),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(75),e.ALo(76,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(28),ue=e.MAs(35),Qe=e.MAs(42),je=e.MAs(49),Zt=e.MAs(56),qe=e.MAs(63),tn=e.MAs(70),mn=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(63,Qr,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,38,"sensitiveArea.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(5),e.hij("",e.lcZ(18,40,"sensitiveArea.fichaTecnica.lblSuperficie"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(20,42,n.area,mn.numRed)," ",e.lcZ(21,45,"unidades.km2")," "),e.xp6(4),e.Q6J("ngClass",e.VKq(65,Qr,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(25,47,"sensitiveArea.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(67,Qr,n.modAnioDecla)),e.xp6(1),e.hij("",e.lcZ(32,49,"sensitiveArea.fichaTecnica.lblAnioDecla"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modAnioDecla)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(69,Qr,n.modApproach)),e.xp6(1),e.hij("",e.lcZ(39,51,"sensitiveArea.fichaTecnica.lblAglomeraciones"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modApproach)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(71,Qr,n.modConurbation)),e.xp6(1),e.hij("",e.lcZ(46,53,"sensitiveArea.fichaTecnica.lblCriterio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modConurbation)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(73,Qr,n.modNutrient)),e.xp6(1),e.hij("",e.lcZ(53,55,"sensitiveArea.fichaTecnica.lblNutriente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNutrient)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(75,Qr,n.modAreaCapta)),e.xp6(1),e.hij("",e.lcZ(60,57,"sensitiveArea.fichaTecnica.lblAreaCapta"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modAreaCapta)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(77,Qr,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(67,59,"sensitiveArea.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",tn),e.xp6(7),e.Oqu(e.l
1cZ(76,61,"botones.cerrar"))}}function ov(t,o){1&t&&e._UZ(0,"app-spinner")}let Lr=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.sensitiveAreasService=D,this.sensitiveAreaName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.sensitiveAreaName=_.itemName,this.operationCode=_.operation,this.sensitiveAreaDetail$=this.sensitiveAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(lp.c))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appBold",""],["codigoEuropeo",""],["anioDecla",""],["approach",""],["conurbation",""],["nutrient",""],["areaCapta",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,iv,77,79,"div",0),e.ALo(1,"async"),e.YNc(2,ov,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.sensitiveAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var oc=m(1097);function Wu(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function av(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function sv(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function rv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function cv(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.anioDecla,_.numRed))}}function lv(t,o){1&t&&e._uU(0,"{{vulnerableAreaDetail.anioDecla | number : numRed}")}function Hu(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function _v(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const jl=function(t){return{modified:t}};function pv(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Wu,2,1,"span",9),e.qZA(),e.YNc(13,av,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",11),e._uU(17),e.ALo(18,"translate"),e.qZA(),e._uU(19),e.ALo(20,"number"),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,sv,2,1,"span",9),e.qZA(),e.YNc(27,rv,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,cv,3,4,"span",9),e.qZA(),e.YNc(34,lv,1,0,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,Hu,2,1,"span",14),e.qZA(),e.YNc(41,_v,1,1,"ng-template",15,16,e.W1O),e.qZA()()(),e.TgZ(43,"div",5)(44,"div",17)(45,"div",18)(46,"button",19),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(47),e.ALo(48,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(28),ue=e.MAs(35),Qe=e.MAs(42),je=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(39,jl,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,22,"vulnerableArea.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(5),e.hij("",e.lcZ(18,24,"vulnerableArea.fichaTecnica.lblSuperficie"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(20,26,n.area,je.numRed)," ",e.lcZ(21,29,"unidades.ha")," "),e.xp6(4),e.Q6J("ngClass",e.VKq(41,jl,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(25,31,"vulnerableArea.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(43,jl,n.modAnioDecla)),e.xp6(1),e.hij("",e.lcZ(32,33,"vulnerableArea.fichaTecnica.lblAnioDecla"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modAnioDecla)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(45,jl,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(39,35,"vulnerableArea.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",Qe),e.xp6(7),e.Oqu(e.l
1cZ(48,37,"botones.cerrar"))}}function dv(t,o){1&t&&e._UZ(0,"app-spinner")}let e2=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.vulnerableAreasService=D,this.vulnerableAreaName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.vulnerableAreaName=_.itemName,this.operationCode=_.operation,this.vulnerableAreaDetail$=this.vulnerableAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(oc.o))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appBold",""],["codigoEuropeo",""],["anioDecla",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,pv,49,47,"div",0),e.ALo(1,"async"),e.YNc(2,dv,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.vulnerableAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var zu=m(1972);function cl(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Xu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function Mr(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function ll(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function eh(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.sTipo)}}function th(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.sTipo)}}function nh(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function t2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const up=function(t){return{modified:t}};function n2(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,cl,2,1,"span",9),e.qZA(),e.YNc(13,Xu,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",11),e._uU(17),e.ALo(18,"translate"),e.qZA(),e._uU(19),e.ALo(20,"number"),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Mr,2,1,"span",9),e.qZA(),e.YNc(27,ll,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,eh,2,1,"span",9),e.qZA(),e.YNc(34,th,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,nh,2,1,"span",14),e.qZA(),e.YNc(41,t2,1,1,"ng-template",15,16,e.W1O),e.qZA()()(),e.TgZ(43,"div",5)(44,"div",17)(45,"div",18)(46,"button",19),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(47),e.ALo(48,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(28),ue=e.MAs(35),Qe=e.MAs(42),je=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(39,up,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,22,"mineralWater.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(5),e.hij("",e.lcZ(18,24,"mineralWater.fichaTecnica.lblSuperficie"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(20,26,n.area,je.numRed)," ",e.lcZ(21,29,"unidades.km2")," "),e.xp6(4),e.Q6J("ngClass",e.VKq(41,up,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(25,31,"mineralWater.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(43,up,n.modLTipo)),e.xp6(1),e.hij("",e.lcZ(32,33,"mineralWater.fichaTecnica.lblTipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLTipo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(45,up,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(39,35,"mineralWater.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",Qe),e.xp6(7),e.Oqu(e.l
1cZ(48,37,"botones.cerrar"))}}function hp(t,o){1&t&&e._UZ(0,"app-spinner")}let mp=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.mineralWatersService=D,this.mineralWaterName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.mineralWaterName=_.itemName,this.operationCode=_.operation,this.mineralWaterDetail$=this.mineralWatersService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zu.x))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appBold",""],["codigoEuropeo",""],["tipo",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,n2,49,47,"div",0),e.ALo(1,"async"),e.YNc(2,hp,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.mineralWaterDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Kl=m(2169);function o2(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function a2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function ih(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function uv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function hv(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.anioDecla,_.numRed))}}function mv(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.anioDecla,_.numRed))}}function gv(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.anioActiva,_.numRed))}}function oh(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.anioActiva,_.numRed))}}function Ql(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estado)}}function ah(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estado)}}function gp(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function fv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const ca=function(t){return{modified:t}};function sh(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,o2,2,1,"span",9),e.qZA(),e.YNc(13,a2,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,ih,2,1,"span",9),e.qZA(),e.YNc(20,uv,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,hv,3,4,"span",9),e.qZA(),e.YNc(27,mv,2,4,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,gv,3,4,"span",9),e.qZA(),e.YNc(34,oh,2,4,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,Ql,2,1,"span",9),e.qZA(),e.YNc(41,ah,1,1,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,gp,2,1,"span",15),e.qZA(),e.YNc(48,fv,1,1,"ng-template",16,17,e.W1O),e.qZA()()(),e.TgZ(50,"div",5)(51,"div",18)(52,"div",19)(53,"button",20),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(54),e.ALo(55,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(41,ca,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,27,"recreationalUseArea.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(43,ca,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(18,29,"recreationalUseArea.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(45,ca,n.modAnioDecla)),e.xp6(1),e.hij("",e.lcZ(25,31,"recreationalUseArea.fichaTecnica.lblAnioDecla"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modAnioDecla)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(47,ca,n.modAnioActiva)),e.xp6(1),e.hij("",e.lcZ(32,33,"recreationalUseArea.fichaTecnica.lblsGuardarCambios.anno"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modAnioActiva)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(49,ca,n.modCodEstado)),e.xp6(1),e.hij("",e.lcZ(39,35,"recreationalUseArea.fichaTecnica.lblsGuardarCambios.codEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodEstado)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(51,ca,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(46,37,"recreationalUseArea.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",Zt),e.xp6(7),e.Oqu(e.l
1cZ(55,39,"botones.cerrar"))}}function vv(t,o){1&t&&e._UZ(0,"app-spinner")}let fp=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.recreationalUseAreasService=D,this.recreationalUseAreaName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.recreationalUseAreaName=_.itemName,this.operationCode=_.operation,this.recreationalUseAreaDetail$=this.recreationalUseAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Kl.B))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codigoEuropeo",""],["anioDecla",""],["anioActiva",""],["estado",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,sh,56,53,"div",0),e.ALo(1,"async"),e.YNc(2,vv,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.recreationalUseAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Gl=m(1908);function Cv(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function bv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function xv(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Av(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function Ev(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEDAS)}}function s2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEDAS)}}function r2(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function _l(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const yc=function(t){return{modified:t}};function Ov(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Cv,2,1,"span",9),e.qZA(),e.YNc(13,bv,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",11),e._uU(17),e.ALo(18,"translate"),e.qZA(),e._uU(19),e.ALo(20,"number"),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,xv,2,1,"span",9),e.qZA(),e.YNc(27,Av,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Ev,2,1,"span",9),e.qZA(),e.YNc(34,s2,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,r2,2,1,"span",14),e.qZA(),e.YNc(41,_l,1,1,"ng-template",15,16,e.W1O),e.qZA()()(),e.TgZ(43,"div",5)(44,"div",17)(45,"div",18)(46,"button",19),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(47),e.ALo(48,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(28),ue=e.MAs(35),Qe=e.MAs(42),je=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(39,yc,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,22,"wetArea.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(5),e.hij("",e.lcZ(18,24,"wetArea.fichaTecnica.lblSuperficie"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(20,26,n.area,je.numRed)," ",e.lcZ(21,29,"unidades.km2")," "),e.xp6(4),e.Q6J("ngClass",e.VKq(41,yc,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(25,31,"wetArea.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(43,yc,n.modCodigoEDAS)),e.xp6(1),e.hij("",e.lcZ(32,33,"wetArea.fichaTecnica.lblCodigoEDAS"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEDAS)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(45,yc,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(39,35,"wetArea.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",Qe),e.xp6(7),e.Oqu(e.l
1cZ(48,37,"botones.cerrar"))}}function Mv(t,o){1&t&&e._UZ(0,"app-spinner")}let vp=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.wetAreasService=D,this.wetAreaName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.wetAreaName=_.itemName,this.operationCode=_.operation,this.wetAreaDetail$=this.wetAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Gl.X))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appBold",""],["codigoEuropeo",""],["codigoEDAS",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,Ov,49,47,"div",0),e.ALo(1,"async"),e.YNc(2,Mv,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.wetAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Cp=m(4379);function Tv(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Jl(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function Dv(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.scv_code)}}function Iv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.scv_code)}}function yv(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.european_code)}}function Sv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.european_code)}}function wv(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Pv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const Wl=function(t){return{modified:t}};function rh(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Tv,2,1,"span",9),e.qZA(),e.YNc(13,Jl,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,Dv,2,1,"span",9),e.qZA(),e.YNc(20,Iv,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,yv,2,1,"span",9),e.qZA(),e.YNc(27,Sv,1,1,"ng-template",null,11,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,wv,2,1,"span",12),e.qZA(),e.YNc(34,Pv,1,1,"ng-template",13,14,e.W1O),e.qZA()()(),e.TgZ(36,"div",5)(37,"div",15)(38,"div",16)(39,"button",17),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}
1),e._uU(40),e.ALo(41,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(35);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(29,Wl,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,19,"urbanDemands.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(31,Wl,n.modScv_code)),e.xp6(1),e.hij("",e.lcZ(18,21,"urbanDemands.fichaTecnica.lblCodigoSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modScv_code)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(33,Wl,n.modEuropean_code)),e.xp6(1),e.hij("",e.lcZ(25,23,"urbanDemands.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modEuropean_code)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(35,Wl,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(32,25,"urbanDemands.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",ue),e.xp6(7),e.Oqu(e.lcZ(41,27,"botones.cerrar"))}}function Rv(t,o){1&t&&e._UZ(0,"app-spinner")}let Zv=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.urbanDemandsService=D,this.urbanDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.urbanDemandName=_.itemName,this.operationCode=_.operation,this.urbanDemandsDetail$=this.urbanDemandsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cp.B))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codigoEuropeo",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,rh,42,37,"div",0),e.ALo(1,"async"),e.YNc(2,Rv,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.urbanDemandsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Sc=m(7633);function Tr(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function c2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function l2(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoUEDUDesc)}}function ch(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoUEDUDesc)}}function _2(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoSCV)}}function lh(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoSCV)}}function p2(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.origenAguaDesc)}}function _h(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.origenAguaDesc)}}function Nv(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.zonaAbastecimientoSinac)}}function ph(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.zonaAbastecimientoSinac)}}function Lv(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.origenRecursoDesc)}}function Vv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.origenRecursoDesc)}}function ir(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tramoReguladoDesc)}}function Uv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tramoReguladoDesc)}}function dh(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function qv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const bs=function(t){return{modified:t}};function kv(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Tr,2,1,"span",13),e.qZA(),e.YNc(9,c2,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,l2,2,1,"span",13),e.qZA(),e.YNc(16,ch,1,1,"ng-template",null,15,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,_2,2,1,"span",13),e.qZA(),e.YNc(23,lh,1,1,"ng-template",null,16,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,p2,2,1,"span",13),e.qZA(),e.YNc(30,_h,1,1,"ng-template",null,17,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,Nv,2,1,"span",13),e.qZA(),e.YNc(37,ph,1,1,"ng-template",null,18,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,
1Lv,2,1,"span",19),e.qZA(),e.YNc(44,Vv,1,1,"ng-template",20,21,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,ir,2,1,"span",19),e.qZA(),e.YNc(51,Uv,1,1,"ng-template",20,22,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,dh,2,1,"span",19),e.qZA(),e.YNc(58,qv,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(48,bs,tn.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,32,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(50,bs,tn.modTipoUEDU)),e.xp6(1),e.hij("",e.lcZ(14,34,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.tipoUEDU"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modTipoUEDU)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(52,bs,tn.modCodigoSCV)),e.xp6(1),e.hij("",e.lcZ(21,36,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.codigoSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modCodigoSCV)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(54,bs,tn.modOrigenAgua)),e.xp6(1),e.hij("",e.lcZ(28,38,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.origenAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modOrigenAgua)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(56,bs,tn.modZonaAbastecimientoSinac)),e.xp6(1),e.hij("",e.lcZ(35,40,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.zonaAbastecimientoSinac"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modZonaAbastecimientoSinac)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(58,bs,tn.modOrigenRecurso)),e.xp6(1),e.hij("",e.lcZ(42,42,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.origenRecurso"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modOrigenRecurso)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(60,bs,tn.modTramoRegulado)),e.xp6(1),e.hij("",e.lcZ(49,44,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.tramoRegulado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modTramoRegulado)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(62,bs,tn.modComentarios)),e.xp6(1),e.hij("",e.lcZ(56,46,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modComentarios)("ngIfElse",qe)}}function Fv(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function uh(t,o){1&t&&e._UZ(0,"span",26)}function Bv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function $v(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.nombre)}}function Yv(t,o){1&t&&e._UZ(0,"span",26)}function Co(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.nombre)}}function hh(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function mh(t,o){1&t&&e._UZ(0,"span",26)}function gh(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function Hl(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}function or(t,o){1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function fh(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}function jv(t,o){if(1&t&&(e.TgZ(0,"div")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,Hl,3,4,"span",13),e.YNc(6,or,3,3,"span",30),e.qZA(),e.YNc(7,fh,2,4,"ng-template",null,31,e.W1O),e.qZA()),2&t){const n=e.MAs(8),_=e.oxw(2).ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(7,bs,_.tomaRetornoInfraMod.modReparto)),e.xp6(1),e.hij("",e.lcZ(4,5,"demandsCommon.fichaTecnica.lblRepartoTomasRetornos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.tomaRetornoInfraMod.modReparto)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",_.tomaRetornoInfraMod.reparto)}}function bp(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",26),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,Fv,2,1,"span",13),e.YNc(14,uh,1,0,"span",27),e.qZA(),e.YNc(15,Bv,1,1,"ng-template",null,28,e.W1O),e.TgZ(17,"mat-list-item",11)(18,"span",12),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.YNc(21,$v,2,1,"span",13),e.YNc(22,Yv,1,0,"span",27),e.qZA(),e.YNc(23,Co,1,1,"ng-template",null,14,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,hh,2,1,"span",13),e.YNc(30,mh,1,0,"span",27),e.qZA(),e.YNc(31,gh,1,1,"ng-template",null,29,e.W1O),e.YNc(33,jv,9,9,"div",5),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(16),_=e.MAs(24),D=e.MAs(32),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,18,"useCommon.fichaTecnica.lblRelacion"),":\xa0"),e.xp6(2),e.hij("",ue.tomaRetornoInfraMod.relacion," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,bs,ue.tomaRetornoInfraMod.modMasa)),e.xp6(1),e.hij("",e.lcZ(12,20,"useCommon.fichaTecnica.lblId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modMasa)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.idMasa),e.xp6(4),e.Q6J("ngClass",e.VKq(28,b
1s,ue.tomaRetornoInfraMod.modNombre)),e.xp6(1),e.hij("",e.lcZ(20,22,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modNombre)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(30,bs,ue.tomaRetornoInfraMod.modTipoElemento)),e.xp6(1),e.hij("",e.lcZ(28,24,"useCommon.fichaTecnica.lblTipoElemento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modTipoElemento)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.tipoElemento),e.xp6(3),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modReparto)}}function Vr(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nucleoComentarioMod.nucleoComentario)}}function xp(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nucleoComentarioMod.nucleoComentario)}}function vh(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Vr,2,1,"span",13),e.qZA(),e.YNc(9,xp,1,1,"ng-template",null,32,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(6,bs,_.nucleoComentarioMod.modNucleoComentario)),e.xp6(1),e.hij("",e.lcZ(7,4,"uelUrbanDemands.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.nucleoComentarioMod.modNucleoComentario)("ngIfElse",n)}}function Ap(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nucleoAddMod.idNucleo)}}function d2(t,o){1&t&&e._UZ(0,"span",26)}function Ch(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nucleoAddMod.idNucleo)}}function u2(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nucleoAddMod.nombre)}}function zl(t,o){1&t&&e._UZ(0,"span",26)}function Xl(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nucleoAddMod.nombre)}}function Ep(t,o){if(1&t&&(e.TgZ(0,"mat-list-item",11)(1,"span",26),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"span",26),e._uU(5),e.qZA()()),2&t){const n=e.oxw(2).ngIf;e.xp6(2),e.hij("",e.lcZ(3,3,"uelUrbanDemands.fichaNucleos.lblDemandaUrbana"),":\xa0"),e.xp6(3),e.AsE("",n.nucleoAddMod.idNuevaDemanda," - ",n.nucleoAddMod.nuevaDemanda," \xa0")}}function Op(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Ap,2,1,"span",13),e.YNc(9,d2,1,0,"span",27),e.qZA(),e.YNc(10,Ch,1,1,"ng-template",null,33,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,u2,2,1,"span",13),e.YNc(17,zl,1,0,"span",27),e.qZA(),e.YNc(18,Xl,1,1,"ng-template",null,14,e.W1O),e.YNc(20,Ep,6,5,"mat-list-item",34),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(15,bs,D.nucleoAddMod.modNucleo)),e.xp6(1),e.hij("",e.lcZ(7,11,"useCommon.fichaTecnica.lblId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.nucleoAddMod.modNucleo)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",D.nucleoAddMod.idNucleo),e.xp6(4),e.Q6J("ngClass",e.VKq(17,bs,D.nucleoAddMod.modNombre)),e.xp6(1),e.hij("",e.lcZ(15,13,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.nucleoAddMod.modNombre)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",D.nucleoAddMod.nombre),e.xp6(3),e.Q6J("ngIf",D.nucleoAddMod.idNuevaDemanda)}}function Mp(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,kv,60,64,"ng-container",5),e.YNc(6,bp,34,32,"ng-container",5),e.YNc(7,vh,11,8,"ng-container",5),e.YNc(8,Op,21,19,"ng-container",5),e.TgZ(9,"div",6)(10,"div",7)(11,"div",8)(12,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(2),e.Q6J("ngIf",_.operacionGeneral===_.operationCode),e.xp6(1),e.Q6J("ngIf",_.operacionToma===_.operationCode||_.operacionRetorna===_.operationCode||_.operacionInfraestructura===_.operationCode),e.xp6(1),e.Q6J("ngIf",_.operacionNucleosComentario===_.operationCode),e.xp6(1),e.Q6J("ngIf",_.operacionNucleosAdd===_.operationCode),e.xp6(5),e.Oqu(e.l
1cZ(14,7,"botones.cerrar"))}}function h2(t,o){1&t&&e._UZ(0,"app-spinner")}let Kv=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.elementaryUrbanDemandsService=D,this.urbanDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionToma=s.C.operacion.OPERACION_TOMA_AGUAS,this.operacionRetorna=s.C.operacion.OPERACION_RETORNO_AGUAS,this.operacionInfraestructura=s.C.operacion.OPERACION_INFRAESTRUCTURA,this.operacionNucleosComentario=s.C.operacion.OPERACION_UDU_NUCLEOS_COMMENT,this.operacionNucleosAdd=s.C.operacion.OPERACION_UDU_NUCLEOS_ADD,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.urbanDemandName=_.itemName,this.operationCode=_.operation,this.demandsDetail$=this.elementaryUrbanDemandsService.getComparacionVersion(_.gid,_.gidVersion,_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Sc.o))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["tipoUEDUDesc",""],["codigoSCV",""],["origenAguaDesc",""],["zonaAbastecimientoSinac",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["origenRecursoDesc",""],["tramoReguladoDesc",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["appBold",""],["appBold","",4,"ngIf"],["masa",""],["tipoElemento",""],["appHighlight","",4,"ngIf"],["reparto",""],["comentario",""],["nucleo",""],["class","bar-gradient h-auto py-2",4,"ngIf"]],template:function(n,_){if(1&n&&(e.YNc(0,Mp,15,9,"div",0),e.ALo(1,"async"),e.YNc(2,h2,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.demandsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Qv=m(5844);function Gv(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Jv(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function bh(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoDemandaDesc)}}function m2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoDemandaDesc)}}function Wv(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoSCV)}}function g2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoSCV)}}function xh(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.origenAguaDesc)}}function Ah(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.origenAguaDesc)}}function Hv(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.origenRecursoDesc)}}function Tp(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.origenRecursoDesc)}}function f2(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.unidadTerritorialDesc)}}function v2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.unidadTerritorialDesc)}}function C2(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tramoReguladoDesc)}}function b2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tramoReguladoDesc)}}function x2(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function A2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const ar=function(t){return{modified:t}};function E2(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Gv,2,1,"span",13),e.qZA(),e.YNc(9,Jv,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,bh,2,1,"span",13),e.qZA(),e.YNc(16,m2,1,1,"ng-template",null,15,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,Wv,2,1,"span",13),e.qZA(),e.YNc(23,g2,1,1,"ng-template",null,16,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,xh,2,1,"span",13),e.qZA(),e.YNc(30,Ah,1,1,"ng-template",null,17,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,Hv,2,1,"span",18),e.qZA(),e.YNc(37,Tp,1,1,"ng-template",19,20,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,f2,2,1,"span",13),e.qZA(),e.YNc(44,v2,1,1,"ng-template",null,21,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,C2,2,1,"span",18),e.qZA(),e.YNc(51,b2,1,1,"ng-template",19,22,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,x2,2,1,"span",18),e.qZA(),e.YNc(58,A2,1,1,"ng-template",19,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(48,ar,tn.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,32,"uelIndustryDemands.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(50,ar,tn.modTipoDemanda)),e.xp6(1),e.hij("",e.lcZ(14,34,"uelIndustryDemands.fichaTecnica.lblsGuardarCambios.tipoDemanda"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modTipoDemanda)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(52,ar,tn.modCodigoSCV)),e.xp6(1),e.hij("",e.lcZ(21,36,"uelIndustryDemands.fichaTecnica.lblsGuardarCambios.codigoSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modCodigoSCV)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(54,ar,tn.modOrigenAgua)),e.xp6(1),e.hij("",e.lcZ(28,38,"uelIndustryDemands.fichaTecnica.lblsGuardarCambios.origenAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modOrigenAgua)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(56,ar,tn.modOrigenRecurso)),e.xp6(1),e.hij("",e.lcZ(35,40,"uelIndustryDemands.fichaTecnica.lblsGuardarCambios.origenRecurso"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modOrigenRecurso)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(58,ar,tn.modUnidadTerritorial)),e.xp6(1),e.hij("",e.lcZ(42,42,"uelIndustryDemands.fichaTecnica.lblsGuardarCambios.unidadTerritorial"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modUnidadTerritorial)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(60,ar,tn.modTramoRegulado)),e.xp6(1),e.hij("",e.lcZ(49,44,"uelIndustryDemands.fichaTecnica.lblsGuardarCambios.tramoRegulado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modTramoRegulado)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(62,ar,tn.modComentarios)),e.xp6(1),e.hij("",e.lcZ(56,46,"uelIndustryDemands.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.modComentarios)("ngIfElse",qe)}}function O2(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function M2(t,o){1&t&&e._UZ(0,"span",26)}function Gr(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function Dp(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.nombre)}}function zv(t,o){1&t&&e._UZ(0,"span",26)}function Eh(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.nombre)}}function Ip(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function Oh(t,o){1&t&&e._UZ(0,"span",26)}function yp(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function Xv(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}function Jr(t,o){1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function Mh(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}function eC(t,o){if(1&t&&(e.TgZ(0,"div")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,Xv,3,4,"span",13),e.YNc(6,Jr,3,3,"span",30),e.qZA(),e.YNc(7,Mh,2,4,"ng-template",null,31,e.W1O),e.qZA()),2&t){const n=e.MAs(8),_=e.oxw(2).ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(7,ar,_.tomaRetornoInfraMod.modReparto)),e.xp6(1),e.hij("",e.lcZ(4,5,"demandsCommon.fichaTecnica.lblRepartoTomasRetornos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.tomaRetornoInfraMod.modReparto)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",_.tomaRetornoInfraMod.reparto)}}function Sp(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",26),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,O2,2,1,"span",13),e.YNc(14,M2,1,0,"span",27),e.qZA(),e.YNc(15,Gr,1,1,"ng-template",null,28,e.W1O),e.TgZ(17,"mat-list-item",11)(18,"span",12),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.YNc(21,Dp,2,1,"span",13),e.YNc(22,zv,1,0,"span",27),e.qZA(),e.YNc(23,Eh,1,1,"ng-template",null,14,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,Ip,2,1,"span",13),e.YNc(30,Oh,1,0,"span",27),e.qZA(),e.YNc(31,yp,1,1,"ng-template",null,29,e.W1O),e.YNc(33,eC,9,9,"div",5),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(16),_=e.MAs(24),D=e.MAs(32),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,18,"useCommon.fichaTecnica.lblRelacion"),":\xa0"),e.xp6(2),e.hij("",ue.tomaRetornoInfraMod.relacion," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,ar,ue.tomaRetornoInfraMod.modMasa)),e.xp6(1),e.hij("",e.lcZ(12,20,"useCommon.fichaTecnica.lblId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modMasa)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.idMasa),e.xp6(4),e.Q6J("ngClass",e.VKq(28,ar,ue.tomaRetornoInfraMod.modNombre)),e.xp6(1),e.hij("",e.lcZ(20,22,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modNombre)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(30,ar,ue.tomaRetornoInfraMod.modTipoElemento)),e.xp6(1),e.hij("",e.lcZ(28,24,"useCommon.fichaTecnica.lblTipoElemento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modTipoElemento)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.tipoElemento),e.xp6(3),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modReparto)}}function tC(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,E2,60,64,"ng-container",5),e.YNc(6,Sp,34,32,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(2),e.Q6J("ngIf",_.operacionGeneral===_.operationCode),e.xp6(1),e.Q6J("ngIf",_.operacionToma===_.operationCode||_.operacionRetorna===_.operationCode||_.operacionInfraestructura===_.operationCode),e.xp6(5),e.Oqu(e.l
1cZ(12,5,"botones.cerrar"))}}function Th(t,o){1&t&&e._UZ(0,"app-spinner")}let nC=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.elementaryIndustryDemandsService=D,this.industryDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionToma=s.C.operacion.OPERACION_TOMA_AGUAS,this.operacionRetorna=s.C.operacion.OPERACION_RETORNO_AGUAS,this.operacionInfraestructura=s.C.operacion.OPERACION_INFRAESTRUCTURA,this.stop$=new Ni.x,this.industryDemandName=_.itemName,this.operationCode=_.operation,this.demandsDetail$=this.elementaryIndustryDemandsService.getComparacionVersion(_.gid,_.gidVersion,_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Qv.B))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["tipoDemandaDesc",""],["codigoSCV",""],["origenAguaDesc",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["origenRecursoDesc",""],["unidadTerritorialDesc",""],["tramoReguladoDesc",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["appBold",""],["appBold","",4,"ngIf"],["masa",""],["tipoElemento",""],["appHighlight","",4,"ngIf"],["reparto",""]],template:function(n,_){if(1&n&&(e.YNc(0,tC,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,Th,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.demandsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var iC=m(8007);function pl(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function wc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function wp(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoSCV)}}function Pc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoSCV)}}function dl(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Rc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function oC(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Dh(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const Wr=function(t){return{modified:t}};function Pp(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,pl,2,1,"span",13),e.qZA(),e.YNc(9,wc,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,wp,2,1,"span",13),e.qZA(),e.YNc(16,Pc,1,1,"ng-template",null,15,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,dl,2,1,"span",13),e.qZA(),e.YNc(23,Rc,1,1,"ng-template",null,16,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,oC,2,1,"span",17),e.qZA(),e.YNc(30,Dh,1,1,"ng-template",18,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(24,Wr,Qe.modNombre)),e.xp6(1),e.hij(" ",e.lcZ(7,16,"industryDemand.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(26,Wr,Qe.modCodigoSCV)),e.xp6(1),e.hij(" ",e.lcZ(14,18,"industryDemand.fichaTecnica.lblCodigoSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.modCodigoSCV)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Wr,Qe.modCodigoEuropeo)),e.xp6(1),e.hij(" ",e.lcZ(21,20,"industryDemand.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Wr,Qe.modComentarios)),e.xp6(1),e.hij("",e.lcZ(28,22,"industryDemand.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.modComentarios)("ngIfElse",ue)}}function Rp(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.reservasMod.reserve)}}function Ih(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.reservasMod.reserve)}}function e_(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.reservasMod.adjustVolume)}}function aC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.reservasMod.adjustVolume)}}function yh(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.reservasMod.comments)}}function T2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.reservasMod.comments)}}function Sh(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Rp,2,1,"span",13),e.qZA(),e.YNc(9,Ih,1,1,"ng-template",null,22,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,e_,2,1,"span",13),e.qZA(),e.YNc(16,aC,1,1,"ng-template",null,23,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,yh,2,1,"span",17),e.qZA(),e.YNc(23,T2,1,1,"ng-template",18,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(18,Wr,ue.reservasMod.modReserve)),e.xp6(1),e.hij(" ",e.lcZ(7,12,"industryDemand.fichaReservas.lblReserva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.reservasMod.modReserve)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(20,Wr,ue.reservasMod.modAdjustVolume)),e.xp6(1),e.hij(" ",e.lcZ(14,14,"industryDemand.fichaReservas.lblAjusteVolumen"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.reservasMod.modAdjustVolume)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(22,Wr,ue.reservasMod.modComments)),e.xp6(1),e.hij(" ",e.lcZ(21,16,"industryDemand.fichaReservas.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.reservasMod.modComments)("ngIfElse",D)}}function wh(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,Pp,32,32,"ng-container",5),e.YNc(6,Sh,25,24,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(2),e.Q6J("ngIf",_.operacionGeneral===_.operationCode),e.xp6(1),e.Q6J("ngIf",_.operacionReservas===_.operationCode),e.xp6(5),e.hij(" ",e.lcZ(12,5,"botones.cerrar")," ")}}function sC(t,o){1&t&&e._UZ(0,"app-spinner")}let Ph=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.industryDemandsService=D,this.industryDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionReservas=s.C.operacion.OPERACION_UDI_RESERVAS,this.industryDemandName=_.itemName,this.operationCode=_.operation,this.demandsDetail$=this.industryDemandsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(iC.y))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codigoSCV",""],["codigoEuropeo",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["reserva",""],["ajusteVolumen",""]],template:function(n,_){if(1&n&&(e.YNc(0,wh,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,sC,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.demandsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Zp=m(564);function rC(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Zs(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function cC(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.escenarioRefDesc)}}function lC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.escenarioRefDesc)}}function D2(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.origenAguaDesc)}}function I2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.origenAguaDesc)}}function Rh(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comunidadRegantesDesc)}}function y2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comunidadRegantesDesc)}}function _C(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.origenRecursoDesc)}}function Np(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.origenRecursoDesc)}}function Zh(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.zonaRegableDesc)}}function pC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.zonaRegableDesc)}}function dC(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoScv)}}function uC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoScv)}}function Nh(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.regulacionLateralDesc)}}function hC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.regulacionLateralDesc)}}function Lh(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.regulatedSectionDesc)}}function mC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.regulatedSectionDesc)}}function gC(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Vh(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const sr=function(t){return{modified:t}};function fC(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,rC,2,1,"span",9),e.qZA(),e.YNc(13,Zs,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,cC,2,1,"span",9),e.qZA(),e.YNc(20,lC,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,D2,2,1,"span",9),e.qZA(),e.YNc(27,I2,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Rh,2,1,"span",9),e.qZA(),e.YNc(34,y2,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,_C,2,1,"span",9),e.qZA(),e.YNc(41,Np,1,1,"ng-template",null,12,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,Zh,2,1,"span",9),e.qZA(),e.YNc(48,pC,1,1,"ng-template",null,14,e.W1O),e.TgZ(50,"mat-list-item",7)(51,"span",8),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,dC,2,1,"span",9),e.qZA(),e.YNc(55,uC,1,1,"ng-template",null,15,e.W1O),e.TgZ(57,"mat-list-item",7)(58,"span",8),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.YNc(61,Nh,2,1,"span",9),e.qZA(),e.YNc(62,hC,1,1,"ng-template",null,16,e.W1O),e.TgZ(64,"mat-list-item",7)(65,"span",8),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,Lh,2,1,"span",9),e.qZA(),e.YNc(69,mC,1,1,"ng-template",null,17,e.W1O),e.TgZ(71,"mat-list-item",7)(72,"span",8),e._uU(73),e.ALo(74,"translate"),e.qZA(),e.YNc(75,gC,2,1,"span",18),e.qZA(),e.YNc(76,Vh,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.TgZ(78,"div",5)(79,"div",21)(80,"div",22)(81,"button",23),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(82),e.ALo(83,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(49),Zt=e.MAs(56),qe=e.MAs(63),tn=e.MAs(70),mn=e.MAs(77);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(65,sr,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,43,"uelDemands.fic
1haTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(67,sr,n.modEscenarioRef)),e.xp6(1),e.hij("",e.lcZ(18,45,"uelDemands.fichaTecnica.lblEscenarioRef"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modEscenarioRef)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(69,sr,n.modOrigenAgua)),e.xp6(1),e.hij("",e.lcZ(25,47,"uelDemands.fichaTecnica.lblOrigenAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modOrigenAgua)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(71,sr,n.modComunidadRegantes)),e.xp6(1),e.hij("",e.lcZ(32,49,"uelDemands.fichaTecnica.lblComunidadRegantes"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComunidadRegantes)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(73,sr,n.modOrigenRecurso)),e.xp6(1),e.hij("",e.lcZ(39,51,"uelDemands.fichaTecnica.lblOrigenRecurso"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modOrigenRecurso)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(75,sr,n.modZonaRegable)),e.xp6(1),e.hij("",e.lcZ(46,53,"uelDemands.fichaTecnica.lblZonaRegable"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modZonaRegable)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(77,sr,n.modCodigoScv)),e.xp6(1),e.hij("",e.lcZ(53,55,"uelDemands.fichaTecnica.lblCodigoSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoScv)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(79,sr,n.modRegulacionLateral)),e.xp6(1),e.hij("",e.lcZ(60,57,"uelDemands.fichaTecnica.lblRegulacionLateral"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modRegulacionLateral)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(81,sr,n.modRegulatedSection)),e.xp6(1),e.hij("",e.lcZ(67,59,"uelDemands.fichaTecnica.lblTramoRegulado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modRegulatedSection)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(83,sr,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(74,61,"uelDemands.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",mn),e.xp6(7),e.Oqu(e.l
1cZ(83,63,"botones.cerrar"))}}function Dr(t,o){1&t&&e._UZ(0,"app-spinner")}let Lp=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.uelDemandService=D,this.uelDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.uelDemandName=_.itemName,this.operationCode=_.operation,this.uelDemandDetail$=this.uelDemandService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Zp.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["escenario",""],["origen",""],["comunidad",""],["zonaregable",""],["codigoEuropeo",""],["regulacionLateral",""],["regulated",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,fC,84,85,"div",0),e.ALo(1,"async"),e.YNc(2,Dr,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.uelDemandDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function vC(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function CC(t,o){1&t&&e._UZ(0,"span",8)}function S2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function Uh(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.nombre)}}function bC(t,o){1&t&&e._UZ(0,"span",8)}function xC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.nombre)}}function AC(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function Vp(t,o){1&t&&e._UZ(0,"span",8)}function EC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function OC(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}function t_(t,o){1&t&&(e.TgZ(0,"span",8),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function Up(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}const n_=function(t){return{modified:t}};function qp(t,o){if(1&t&&(e.TgZ(0,"div")(1,"mat-list-item",7)(2,"span",9),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,OC,3,4,"span",10),e.YNc(6,t_,3,3,"span",11),e.qZA(),e.YNc(7,Up,2,4,"ng-template",null,20,e.W1O),e.qZA()),2&t){const n=e.MAs(8),_=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(7,n_,_.tomaRetornoInfraMod.modReparto)),e.xp6(1),e.hij("",e.lcZ(4,5,"demandsCommon.fichaTecnica.lblReparto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.tomaRetornoInfraMod.modReparto)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",_.tomaRetornoInfraMod.reparto)}}function kp(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,vC,2,1,"span",10),e.YNc(18,CC,1,0,"span",11),e.qZA(),e.YNc(19,S2,1,1,"ng-template",null,12,e.W1O),e.TgZ(21,"mat-list-item",7)(22,"span",9),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,Uh,2,1,"span",10),e.YNc(26,bC,1,0,"span",11),e.qZA(),e.YNc(27,xC,1,1,"ng-template",null,13,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",9),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,AC,2,1,"span",10),e.YNc(34,Vp,1,0,"span",11),e.qZA(),e.YNc(35,EC,1,1,"ng-template",null,14,e.W1O),e.YNc(37,qp,9,9,"div",15),e.qZA()()(),e.TgZ(38,"div",5)(39,"div",16)(40,"div",17)(41,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(42),e.ALo(43,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(20),D=e.MAs(28),ue=e.MAs(36);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(7),e.hij("",e.lcZ(11,21,"useCommon.fichaTecnica.lblRelacion"),":\xa0"),e.xp6(2),e.hij("",n.tomaRetornoInfraMod.relacion," "),e.xp6(2),e.Q6J("ngClass",e.VKq(31,n_,n.tomaRetornoInfraMod.modMasa)),e.xp6(1),e.hij("",e.lcZ(16,23,"useCommon.fichaTecnica.lblId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modMasa)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.idMasa),e.xp6(4),e.Q6J("ngClass",e.VKq(33,n_,n.tomaRetornoInfraMod.modNombre)),e.xp6(1),e.hij("",e.lcZ(24,25,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modNombre)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(35,n_,n.tomaRetornoInfraMod.modTipoElemento)),e.xp6(1),e.hij("",e.lcZ(32,27,"useCommon.fichaTecnica.lblTipoElemento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modTipoElemento)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.tipoElemento),e.xp6(3),e.Q6J("ngIf",n.tomaRetornoInfraMod.modReparto),e.xp6(
15),e.Oqu(e.lcZ(43,29,"botones.cerrar"))}}function qh(t,o){1&t&&e._UZ(0,"app-spinner")}let w2=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.uelDemandService=D,this.uelDemandName="",this.numRed=s.C.numRed,this.stop$=new Ni.x,this.uelDemandName=_.itemName,this.uelDemandDetail$=this.uelDemandService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Zp.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-extract-return-infra"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["masa",""],["nombre",""],["tipoElemento",""],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["reparto",""]],template:function(n,_){if(1&n&&(e.YNc(0,kp,44,37,"div",0),e.ALo(1,"async"),e.YNc(2,qh,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.uelDemandDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[""]}),t})();function P2(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function Fp(t,o){1&t&&e._UZ(0,"span",8)}function R2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function MC(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.nombre)}}function kh(t,o){1&t&&e._UZ(0,"span",8)}function Fh(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.nombre)}}function Bh(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function $h(t,o){1&t&&e._UZ(0,"span",8)}function Yh(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function Ur(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}function i_(t,o){1&t&&(e.TgZ(0,"span",8),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function TC(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}const o_=function(t){return{modified:t}};function Z2(t,o){if(1&t&&(e.TgZ(0,"div")(1,"mat-list-item",7)(2,"span",9),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,Ur,3,4,"span",10),e.YNc(6,i_,3,3,"span",11),e.qZA(),e.YNc(7,TC,2,4,"ng-template",null,20,e.W1O),e.qZA()),2&t){const n=e.MAs(8),_=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(7,o_,_.tomaRetornoInfraMod.modReparto)),e.xp6(1),e.hij("",e.lcZ(4,5,"channel.fichaTecnica.lblReparto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.tomaRetornoInfraMod.modReparto)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",_.tomaRetornoInfraMod.reparto)}}function Bp(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,P2,2,1,"span",10),e.YNc(18,Fp,1,0,"span",11),e.qZA(),e.YNc(19,R2,1,1,"ng-template",null,12,e.W1O),e.TgZ(21,"mat-list-item",7)(22,"span",9),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,MC,2,1,"span",10),e.YNc(26,kh,1,0,"span",11),e.qZA(),e.YNc(27,Fh,1,1,"ng-template",null,13,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",9),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Bh,2,1,"span",10),e.YNc(34,$h,1,0,"span",11),e.qZA(),e.YNc(35,Yh,1,1,"ng-template",null,14,e.W1O),e.YNc(37,Z2,9,9,"div",15),e.qZA()()(),e.TgZ(38,"div",5)(39,"div",16)(40,"div",17)(41,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(42),e.ALo(43,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(20),D=e.MAs(28),ue=e.MAs(36);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(7),e.hij("",e.lcZ(11,21,"useCommon.fichaTecnica.lblRelacion"),":\xa0"),e.xp6(2),e.hij("",n.tomaRetornoInfraMod.relacion," "),e.xp6(2),e.Q6J("ngClass",e.VKq(31,o_,n.tomaRetornoInfraMod.modMasa)),e.xp6(1),e.hij("",e.lcZ(16,23,"useCommon.fichaTecnica.lblId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modMasa)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.idMasa),e.xp6(4),e.Q6J("ngClass",e.VKq(33,o_,n.tomaRetornoInfraMod.modNombre)),e.xp6(1),e.hij("",e.lcZ(24,25,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modNombre)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(35,o_,n.tomaRetornoInfraMod.modTipoElemento)),e.xp6(1),e.hij("",e.lcZ(32,27,"useCommon.fichaTecnica.lblTipoElemento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modTipoElemento)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.tipoElemento),e.xp6(3),e.Q6J("ngIf",n.tomaRetornoInfraMod.modReparto),e.xp6(
15),e.Oqu(e.lcZ(43,29,"botones.cerrar"))}}function jh(t,o){1&t&&e._UZ(0,"app-spinner")}let $p=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.numRed=s.C.numRed,this.stop$=new Ni.x,this.channelName=_.itemName,this.channelDetail$=this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ys.T))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-extract-return-infra"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["masa",""],["nombre",""],["tipoElemento",""],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["reparto",""]],template:function(n,_){if(1&n&&(e.YNc(0,Bp,44,37,"div",0),e.ALo(1,"async"),e.YNc(2,jh,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.channelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[""]}),t})();const _s=function(t){return{modified:t}};function DC(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen1)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen1"),"\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen1,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function Yp(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen2)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen2"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen2,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function Kh(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen3)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen3"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen3,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function Qh(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen4)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen4"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen4,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function Gh(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen5)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen5"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen5,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function IC(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen6)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen6"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen6,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function jp(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"
1span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen7)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen7"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen7,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function yC(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen8)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen8"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen8,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function SC(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen9)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen9"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen9,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function Jh(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen10)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen10"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen10,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function Zc(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen11)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen11"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen11,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function Wh(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumen12)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumen12"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumen12,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function wC(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.ALo(7,"number"),e.qZA(),e.TgZ(8,"span"),e._uU(9),e.ALo(10,"translate"),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(11,_s,n.modVolumenTotal)),e.xp6(1),e.hij("",e.lcZ(4,4,"channel.fichaTecnica.lblsGuardarCambios.volumenTotal"),":\xa0"),e.xp6(3),e.Oqu(e.xi3(7,6,n.volumenTotal,n.numRed)),e.xp6(3),e.hij("\xa0",e.lcZ(10,9,"unidades.m3"),"")}}function PC(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,DC,11,13,"mat-list",7),e.YNc(8,Yp,11,13,"mat-list",7),e.YNc(9,Kh,11,13,"mat-list",7),e.YNc(10,Qh,11,13,"mat-list",7),e.YNc(11,Gh,11,13,"mat-list",7),e.YNc(12,IC,11,13,"mat-list",7),e.YNc(13,jp,11,13,"mat-list",7),e.YNc(14,yC,11,13,"mat-list",7),e.YNc(15,SC,11,13,"mat-list",7),e.YNc(16,Jh,11,13,"mat-list",7),e.YNc(17,Zc,11,13,"mat-list",7),e.YNc(18,Wh,11,13,"mat-list",7),e.YNc(19,wC,11,13,"mat-list",7),e.qZA()(),e.TgZ(20,"div",5)(21,"div",8)(22,"div",9)(23,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(24),e.ALo(25,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.channelName,""),e.xp6(4),e.Q6J("ngIf",_.modVolumen1),e.xp6(1),e.Q6J("ngIf",_.modVolumen2),e.xp6(1),e.Q6J("ngIf",_.modVolumen3),e.xp6(1),e.Q6J("ngIf",_.modVolumen4),e.xp6(1),e.Q6J("ngIf",_.modVolumen5),e.xp6(1),e.Q6J("ngIf",_.modVolumen6),e.xp6(1),e.Q6J("ngIf",_.modVolumen7),e.xp6(1),e.Q6J("ngIf",_.modVolumen8),e.xp6(1),e.Q6J("ngIf",_.modVolumen9),e.xp6(1),e.Q6J("ngIf",_.modVolumen10),e.xp6(1),e.Q6J("ngIf",_.modVolumen11),e.xp6(1),e.Q6J("ngIf",_.modVolumen12),e.xp6(1),e.Q6J("ngIf",_.modVolumenTotal),e.xp6(5),e.Oqu(e.l
1cZ(25,16,"botones.cerrar"))}}function Nc(t,o){1&t&&e._UZ(0,"app-spinner")}let RC=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.numRed=s.C.numRed,this.stop$=new Ni.x,this.modVolumen1=!1,this.modVolumen2=!1,this.modVolumen3=!1,this.modVolumen4=!1,this.modVolumen5=!1,this.modVolumen6=!1,this.modVolumen7=!1,this.modVolumen8=!1,this.modVolumen9=!1,this.modVolumen10=!1,this.modVolumen11=!1,this.modVolumen12=!1,this.modVolumenTotal=!1,this.channelName=_.itemName,this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation).subscribe(ue=>{this.channelDetail=ue,this.channelVolumes=this.channelDetail.volumenesTrasvasadosMod,this.configurarVariablesVolumen()}),this.operationCode=_.operation}ngOnInit(){}configurarVariablesVolumen(){for(let n of this.channelVolumes)"Enero"===n.mes&&(this.volumen1=n.volumen,this.modVolumen1=n.modVolumen),"Febrero"===n.mes&&(this.volumen2=n.volumen,this.modVolumen2=n.modVolumen),"Marzo"===n.mes&&(this.volumen3=n.volumen,this.modVolumen3=n.modVolumen),"Abril"===n.mes&&(this.volumen4=n.volumen,this.modVolumen4=n.modVolumen),"Mayo"===n.mes&&(this.volumen5=n.volumen,this.modVolumen5=n.modVolumen),"Junio"===n.mes&&(this.volumen6=n.volumen,this.modVolumen6=n.modVolumen),"Julio"===n.mes&&(this.volumen7=n.volumen,this.modVolumen7=n.modVolumen),"Agosto"===n.mes&&(this.volumen8=n.volumen,this.modVolumen8=n.modVolumen),"Septiembre"===n.mes&&(this.volumen9=n.volumen,this.modVolumen9=n.modVolumen),"Octubre"===n.mes&&(this.volumen10=n.volumen,this.modVolumen10=n.modVolumen),"Noviembre"===n.mes&&(this.volumen11=n.volumen,this.modVolumen11=n.modVolumen),"Diciembre"===n.mes&&(this.volumen12=n.volumen,this.modVolumen12=n.modVolumen),"Total"===n.mes&&(this.volumenTotal=n.volumen,this.modVolumenTotal=n.modVolumen)}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ys.T))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-volmes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,PC,26,18,"div",0),e.YNc(1,Nc,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.channelDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[""]}),t})();function ZC(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.superfRegableAsignada,_.numRed))}}function NC(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.ha"),""))}function LC(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.superfRegableAsignada,_.numRed))}}function Ir(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.volumenDemandado,_.numRed))}}function Kp(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.m3"),""))}function Hh(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.volumenDemandado,_.numRed))}}function zh(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.volumenDerecho,_.numRed))}}function Xh(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.m3"),""))}function em(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.volumenDerecho,_.numRed))}}function VC(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.superficieDerecho,_.numRed))}}function UC(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.ha"),""))}function qC(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.superficieDerecho,_.numRed))}}function kC(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.dotacionNeta,_.numRed))}}function tm(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.m3Ha"),""))}function N2(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.dotacionNeta,_.numRed))}}function nm(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.riegoGravedad,_.numRed))}}function FC(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function BC(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.riegoGravedad,_.numRed))}}function L2(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.riegoAspersion,_.numRed))}}function V2(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function Qp(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.riegoAspersion,_.numRed))}}function $C(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.riegoLocalizado,_.numRed))}}function im(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}
1function om(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.riegoLocalizado,_.numRed))}}function U2(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.eficienciaTransporte,_.numRed))}}function rr(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function q2(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.eficienciaTransporte,_.numRed))}}function k2(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.eficienciaDistribucion,_.numRed))}}function am(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function sm(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.eficienciaDistribucion,_.numRed))}}function rm(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.eficienciaAplicacion,_.numRed))}}function YC(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function F2(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.eficienciaAplicacion,_.numRed))}}function cm(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.demandIncreaseCC,_.numRed4Dec))}}function Gp(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function jC(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.demandIncreaseCC,_.numRed))}}function Jp(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.trendMod.comentarios)}}function KC(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1,"\xa0"),e.qZA())}function QC(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.trendMod.comentarios)}}const Ns=function(t){return{modified:t}};function GC(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,ZC,3,4,"span",9),e.YNc(13,NC,3,3,"span",10),e.qZA(),e.YNc(14,LC,2,4,"ng-template",null,11,e.W1O),e.TgZ(16,"mat-list-item",7)(17,"span",8),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,Ir,3,4,"span",9),e.YNc(21,Kp,3,3,"span",10),e.qZA(),e.YNc(22,Hh,2,4,"ng-template",null,12,e.W1O),e.TgZ(24,"mat-list-item",7)(25,"span",8),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.YNc(28,zh,3,4,"span",9),e.YNc(29,Xh,3,3,"span",10),e.qZA(),e.YNc(30,em,2,4,"ng-template",null,13,e.W1O),e.TgZ(32,"mat-list-item",7)(33,"span",8),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,VC,3,4,"span",9),e.YNc(37,UC,3,3,"span",10),e.qZA(),e.YNc(38,qC,2,4,"ng-template",null,14,e.W1O),e.TgZ(40,"mat-list-item",7)(41,"span",8),e._uU(42),e.ALo(43,"translate"),e.qZA(),e.YNc(44,kC,3,4,"span",9),e.YNc(45,tm,3,3,"span",10),e.qZA(),e.YNc(46,N2,2,4,"ng-template",null,15,e.W1O),e.TgZ(48,"mat-list-item",7)(49,"span",8),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,nm,3,4,"span",9),e.YNc(53,FC,3,3,"span",10),e.qZA(),e.YNc(54,BC,2,4,"ng-template",null,16,e.W1O),e.TgZ(56,"mat-list-item",7)(57,"span",8),e._uU(58),e.ALo(59,"translate"),e.qZA(),e.YNc(60,L2,3,4,"span",9),e.YNc(61,V2,3,3,"span",10),e.qZA(),e.YNc(62,Qp,2,4,"ng-template",null,17,e.W1O),e.TgZ(64,"mat-list-item",7)(65,"span",8),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,$C,3,4,"span",9),e.YNc(69,im,3,3,"span",10),e.qZA(),e.YNc(70,om,2,4,"ng-template",null,18,e.W1O),e.TgZ(72,"mat-list-item",7)(73,"span",8),e._uU(74),e.ALo(75,"translate"),e.qZA(),e.YNc(76,U2,3,4,"span",9),e.YNc(77,rr,3,3,"span",10),e.qZA(),e.YNc(78,q2,2,4,"ng-template",null,19,e.W1O),e.TgZ(80,"mat-list-item",7)(81,"span",8),e._uU(82),e.ALo(83,"translate"),e.qZA(),e.YNc(84,k2,3,4,"span",9),e.YNc(85,am,3,3,"span",10),e.qZA(),e.YNc(86,sm,2,4,"ng-template",null,20,e.W1O),e.TgZ(88,"mat-list-item",7)(89,"span",8),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,rm,3,4,"span",9),e.YNc(93,YC,3,3,"span",10),e.qZA(),e.YNc(94,F2,2,4,"ng-template",null,21,e.W1O),e.TgZ(96,"mat-list-item",7)(97,"span",8),e._uU(98),e.ALo(99,"translate"),e.qZA(),e.YNc(100,cm,3,4,"span",9),e.YNc(101,Gp,3,3,"span",10),e.qZA(),e.YNc(102,jC,2,4,"ng-template",null,22,e.W1O),e.TgZ(104,"mat-list-item",7)(105,"span",8),e._uU(106),e.ALo(107,"translate"),e.qZA(),e.YNc(108,Jp,2,1,"span",9),e.YNc(109,KC,2,0,"span",10),e.qZA(),e.YNc(110,QC,1,1,"ng-template",null,23,e.W1O),e.qZA()()(),e.TgZ(112,"div",5)(113,"div",24)(114,"div",25)(115,"button",26),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(116),e.ALo(117,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(15),D=e.MAs(23),ue=e.MAs(31),Qe=e.MAs(39),je=e.MAs(47),Zt=e.MAs(55),qe=e.MAs(63),tn=e.MAs(71),mn=e.MAs(79),mi=e.MAs(87),Rn=e.MAs(95),dn=e.MAs(103),si=e.MAs(111);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(96,Ns,n.trendMod.modSuperfRegableAsignada)),e.xp6(1),e.hij("",e.lcZ(11,68,"uelDemands.fic
1haTendencias.lblSuperficieRegable"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modSuperfRegableAsignada)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",n.trendMod.superfRegableAsignada),e.xp6(4),e.Q6J("ngClass",e.VKq(98,Ns,n.trendMod.modRequiredVolumen)),e.xp6(1),e.hij("",e.lcZ(19,70,"uelDemands.fichaTendencias.lblVolDemandado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modRequiredVolumen)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",n.trendMod.volumenDemandado),e.xp6(4),e.Q6J("ngClass",e.VKq(100,Ns,n.trendMod.modVolumenDerecho)),e.xp6(1),e.hij("",e.lcZ(27,72,"uelDemands.fichaTendencias.lblVolDerecho"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modVolumenDerecho)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",n.trendMod.volumenDerecho),e.xp6(4),e.Q6J("ngClass",e.VKq(102,Ns,n.trendMod.modSuperficieDerecho)),e.xp6(1),e.hij("",e.lcZ(35,74,"uelDemands.fichaTendencias.lblSuperficieDerecho"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modSuperficieDerecho)("ngIfElse",Qe),e.xp6(1),e.Q6J("ngIf",n.trendMod.superficieDerecho),e.xp6(4),e.Q6J("ngClass",e.VKq(104,Ns,n.trendMod.modDotacionNeta)),e.xp6(1),e.hij("",e.lcZ(43,76,"uelDemands.fichaTendencias.lblDotacionRiegoNeta"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modDotacionNeta)("ngIfElse",je),e.xp6(1),e.Q6J("ngIf",n.trendMod.dotacionNeta),e.xp6(4),e.Q6J("ngClass",e.VKq(106,Ns,n.trendMod.modRiegoGravedad)),e.xp6(1),e.hij("",e.lcZ(51,78,"uelDemands.fichaTendencias.lblRiegoGravedad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modRiegoGravedad)("ngIfElse",Zt),e.xp6(1),e.Q6J("ngIf",n.trendMod.riegoGravedad),e.xp6(4),e.Q6J("ngClass",e.VKq(108,Ns,n.trendMod.modRiegoAspersion)),e.xp6(1),e.hij("",e.lcZ(59,80,"uelDemands.fichaTendencias.lblRiegoAspersion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modRiegoAspersion)("ngIfElse",qe),e.xp6(1),e.Q6J("ngIf",n.trendMod.riegoAspersion),e.xp6(4),e.Q6J("ngClass",e.VKq(110,Ns,n.trendMod.modRiegoLocalizado)),e.xp6(1),e.hij("",e.lcZ(67,82,"uelDemands.fichaTendencias.lblRiegoLocalizado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modRiegoLocalizado)("ngIfElse",tn),e.xp6(1),e.Q6J("ngIf",n.trendMod.riegoLocalizado),e.xp6(4),e.Q6J("ngClass",e.VKq(112,Ns,n.trendMod.modEficienciaTransporte)),e.xp6(1),e.hij("",e.lcZ(75,84,"uelDemands.fichaTendencias.lblEficienciaTrans"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modEficienciaTransporte)("ngIfElse",mn),e.xp6(1),e.Q6J("ngIf",n.trendMod.eficienciaTransporte),e.xp6(4),e.Q6J("ngClass",e.VKq(114,Ns,n.trendMod.modEficienciaDistribucion)),e.xp6(1),e.hij("",e.lcZ(83,86,"uelDemands.fichaTendencias.lblEficienciaDistri"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modEficienciaDistribucion)("ngIfElse",mi),e.xp6(1),e.Q6J("ngIf",n.trendMod.eficienciaDistribucion),e.xp6(4),e.Q6J("ngClass",e.VKq(116,Ns,n.trendMod.modEficienciaAplicacion)),e.xp6(1),e.hij("",e.lcZ(91,88,"uelDemands.fichaTendencias.lblEficienciaApli"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modEficienciaAplicacion)("ngIfElse",Rn),e.xp6(1),e.Q6J("ngIf",n.trendMod.eficienciaAplicacion),e.xp6(4),e.Q6J("ngClass",e.VKq(118,Ns,n.trendMod.modDemandIncreaseCC)),e.xp6(1),e.hij("",e.lcZ(99,90,"uelDemands.fichaTendencias.lblDemandIncreaseCC"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modDemandIncreaseCC)("ngIfElse",dn),e.xp6(1),e.Q6J("ngIf",n.trendMod.demandIncreaseCC),e.xp6(4),e.Q6J("ngClass",e.VKq(120,Ns,n.trendMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(107,92,"uelDemands.fichaTendencias.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modComentarios)("ngIfElse",si),e.xp6(1),e.Q6J("ngIf",n.trendMod.comentarios),e.xp6(7),e.Oqu(e.l
1cZ(117,94,"botones.cerrar"))}}function JC(t,o){1&t&&e._UZ(0,"app-spinner")}let WC=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.uelService=D,this.uelName="",this.numRed=s.C.numRed,this.numRed4Dec=s.C.numRed4Dec,this.operacionGeneral=s.C.operacion.OPERACION_UEL_TENDENCIAS,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.uelName=_.itemName,this.operationCode=_.operation,this.uelDetail$=this.uelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Zp.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-tendencias"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["superfregable",""],["volumenDemandado",""],["volderecho",""],["superfderecho",""],["dotacionneta",""],["riegogravedad",""],["riegoaspersion",""],["riegolocalizado",""],["eficienciatrans",""],["eficienciadistri",""],["eficienciaapp",""],["demandIncreaseCC",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appBold",""]],template:function(n,_){if(1&n&&(e.YNc(0,GC,118,122,"div",0),e.ALo(1,"async"),e.YNc(2,JC,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.uelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var ac=m(4497);function Lc(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.volumenServido,_.numRed))}}function HC(t,o){1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.m3"),""))}function ul(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.volumenServido,_.numRed))}}function zC(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.trendMod.volumenRetornado,_.numRed))}}function XC(t,o){1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.m3"),""))}function Wp(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.trendMod.volumenRetornado,_.numRed))}}function yr(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.trendMod.comentarios)}}function hl(t,o){1&t&&(e.TgZ(0,"span",18),e._uU(1,"\xa0"),e.qZA())}function hs(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.trendMod.comentarios)}}const qr=function(t){return{modified:t}};
1function a_(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Lc,3,4,"span",9),e.YNc(13,HC,3,3,"span",10),e.qZA(),e.YNc(14,ul,2,4,"ng-template",null,11,e.W1O),e.TgZ(16,"mat-list-item",7)(17,"span",8),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,zC,3,4,"span",9),e.YNc(21,XC,3,3,"span",10),e.qZA(),e.YNc(22,Wp,2,4,"ng-template",null,12,e.W1O),e.TgZ(24,"mat-list-item",7)(25,"span",8),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.YNc(28,yr,2,1,"span",9),e.YNc(29,hl,2,0,"span",10),e.qZA(),e.YNc(30,hs,1,1,"ng-template",null,13,e.W1O),e.qZA()()(),e.TgZ(32,"div",5)(33,"div",14)(34,"div",15)(35,"button",16),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(36),e.ALo(37,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(15),D=e.MAs(23),ue=e.MAs(31);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(26,qr,n.trendMod.modVolumenServido)),e.xp6(1),e.hij("",e.lcZ(11,18,"agrarianDemands.fichaTendencias.lblVolumenServido"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modVolumenServido)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",n.trendMod.volumenServido),e.xp6(4),e.Q6J("ngClass",e.VKq(28,qr,n.trendMod.modVolumenRetornado)),e.xp6(1),e.hij("",e.lcZ(19,20,"agrarianDemands.fichaTendencias.lblVolumenRetornado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modVolumenRetornado)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",n.trendMod.volumenRetornado),e.xp6(4),e.Q6J("ngClass",e.VKq(30,qr,n.trendMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(27,22,"agrarianDemands.fichaTendencias.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.trendMod.modComentarios)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",n.trendMod.comentarios),e.xp6(7),e.Oqu(e.l
1cZ(37,24,"botones.cerrar"))}}function js(t,o){1&t&&e._UZ(0,"app-spinner")}let Hp=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.udaService=D,this.udaName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_UDA_TENDENCIAS,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.udaName=_.itemName,this.operationCode=_.operation,this.udaDetail$=this.udaService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ac.M))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-tendencias"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["volumenServido",""],["volumenRetornado",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appBold",""]],template:function(n,_){if(1&n&&(e.YNc(0,a_,38,32,"div",0),e.ALo(1,"async"),e.YNc(2,js,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.udaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Vc(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.reservasMod.reservaPlan,_.numRed))}}function Uc(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.reservasMod.reservaPlan,_.numRed))}}function qc(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.reservasMod.adjust_volume,_.numRed))}}function kc(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.reservasMod.adjust_volume,_.numRed))}}function Fc(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.reservasMod.comments)}}function Bc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.reservasMod.comments)}}const Hr=function(t){return{modified:t}};function $c(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Vc,3,4,"span",9),e.qZA(),e.YNc(13,Uc,2,4,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,qc,3,4,"span",9),e.qZA(),e.YNc(20,kc,2,4,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Fc,2,1,"span",12),e.qZA(),e.YNc(27,Bc,1,1,"ng-template",13,14,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",15)(31,"div",16)(32,"button",17),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,Hr,n.reservasMod.modReservaPlan)),e.xp6(1),e.hij("",e.lcZ(11,15,"agrarianDemands.fic
1haReservas.lblReserva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.reservasMod.modReservaPlan)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,Hr,n.reservasMod.modAdjust_volume)),e.xp6(1),e.hij("",e.lcZ(18,17,"agrarianDemands.fichaReservas.lblAjuste"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.reservasMod.modAdjust_volume)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(27,Hr,n.reservasMod.modComments)),e.xp6(1),e.hij("",e.lcZ(25,19,"agrarianDemands.fichaReservas.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.reservasMod.modComments)("ngIfElse",ue),e.xp6(7),e.Oqu(e.lcZ(34,21,"botones.cerrar"))}}function Yc(t,o){1&t&&e._UZ(0,"app-spinner")}let lm=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.urbanDemandsService=D,this.udaName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_UDA_RESERVAS,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.udaName=_.itemName,this.operationCode=_.operation,this.udaDetail$=this.urbanDemandsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ac.M))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-reservas"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["reserve",""],["volume",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,$c,35,29,"div",0),e.ALo(1,"async"),e.YNc(2,Yc,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.udaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[""]}),t})();var _m=m(5861);
1function pm(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expectedShortage1,_.numRed))}}function dm(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expectedShortage1,_.numRed))}}function um(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected1Shortage1,_.numRed))}}function hm(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected1Shortage1,_.numRed))}}function mm(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected2Shortage1,_.numRed))}}function gm(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected2Shortage1,_.numRed))}}function fm(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected3Shortage1,_.numRed))}}function eb(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected3Shortage1,_.numRed))}}function vm(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expectedShortage2,_.numRed))}}function tb(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expectedShortage2,_.numRed))}}function Cm(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected1Shortage2,_.numRed))}}function bm(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected1Shortage2,_.numRed))}}function nb(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected2Shortage2,_.numRed))}}function ib(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected2Shortage2,_.numRed))}}function xm(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected3Shortage2,_.numRed))}}function ob(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected3Shortage2,_.numRed))}}function Am(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expectedShortage10,_.numRed))}}function ab(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expectedShortage10,_.numRed))}}function sb(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected1Shortage10,_.numRed))}}function B2(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected1Shortage10,_.numRed))}}function rb(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected2Shortage10,_.numRed))}}function zp(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected2Shortage10,_.numRed))}}function Xp(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected3Shortage10,_.numRed))}}function cb(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected3Shortage10,_.numRed))}}function $2(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();
1e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expectedVolumeShortage,_.numRed))}}function Y2(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expectedVolumeShortage,_.numRed))}}function j2(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected1VolumeShortage,_.numRed))}}function lb(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected1VolumeShortage,_.numRed))}}function Em(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected2VolumeShortage,_.numRed))}}function K2(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected2VolumeShortage,_.numRed))}}function _b(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.expected3VolumeShortage,_.numRed))}}function jc(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.expected3VolumeShortage,_.numRed))}}function pb(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.averageExpectedShortage,_.numRed))}}function Om(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.averageExpectedShortage,_.numRed))}}function db(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.averageExpected1Shortage,_.numRed))}}function Mm(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.averageExpected1Shortage,_.numRed))}}function s_(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.averageExpected2Shortage,_.numRed))}}function ub(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.averageExpected2Shortage,_.numRed))}}function Tm(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.calidadMod.averageExpected3Shortage,_.
1numRed))}}function hb(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.calidadMod.averageExpected3Shortage,_.numRed))}}function mb(t,o){if(1&t&&(e.TgZ(0,"span",34),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.comments)}}function gb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.comments)}}const qa=function(t){return{modified:t}};function fb(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,pm,3,4,"span",9),e.qZA(),e.YNc(13,dm,2,4,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,um,3,4,"span",9),e.qZA(),e.YNc(20,hm,2,4,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,mm,3,4,"span",9),e.qZA(),e.YNc(27,gm,2,4,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,fm,3,4,"span",9),e.qZA(),e.YNc(34,eb,2,4,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,vm,3,4,"span",9),e.qZA(),e.YNc(41,tb,2,4,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,Cm,3,4,"span",9),e.qZA(),e.YNc(48,bm,2,4,"ng-template",null,15,e.W1O),e.TgZ(50,"mat-list-item",7)(51,"span",8),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,nb,3,4,"span",9),e.qZA(),e.YNc(55,ib,2,4,"ng-template",null,16,e.W1O),e.TgZ(57,"mat-list-item",7)(58,"span",8),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.YNc(61,xm,3,4,"span",9),e.qZA(),e.YNc(62,ob,2,4,"ng-template",null,17,e.W1O),e.TgZ(64,"mat-list-item",7)(65,"span",8),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,Am,3,4,"span",9),e.qZA(),e.YNc(69,ab,2,4,"ng-template",null,18,e.W1O),e.TgZ(71,"mat-list-item",7)(72,"span",8),e._uU(73),e.ALo(74,"translate"),e.qZA(),e.YNc(75,sb,3,4,"span",9),e.qZA(),e.YNc(76,B2,2,4,"ng-template",null,19,e.W1O),e.TgZ(78,"mat-list-item",7)(79,"span",8),e._uU(80),e.ALo(81,"translate"),e.qZA(),e.YNc(82,rb,3,4,"span",9),e.qZA(),e.YNc(83,zp,2,4,"ng-template",null,20,e.W1O),e.TgZ(85,"mat-list-item",7)(86,"span",8),e._uU(87),e.ALo(88,"translate"),e.qZA(),e.YNc(89,Xp,3,4,"span",9),e.qZA(),e.YNc(90,cb,2,4,"ng-template",null,21,e.W1O),e.TgZ(92,"mat-list-item",7)(93,"span",8),e._uU(94),e.ALo(95,"translate"),e.qZA(),e.YNc(96,$2,3,4,"span",9),e.qZA(),e.YNc(97,Y2,2,4,"ng-template",null,22,e.W1O),e.TgZ(99,"mat-list-item",7)(100,"span",8),e._uU(101),e.ALo(102,"translate"),e.qZA(),e.YNc(103,j2,3,4,"span",9),e.qZA(),e.YNc(104,lb,2,4,"ng-template",null,23,e.W1O),e.TgZ(106,"mat-list-item",7)(107,"span",8),e._uU(108),e.ALo(109,"translate"),e.qZA(),e.YNc(110,Em,3,4,"span",9),e.qZA(),e.YNc(111,K2,2,4,"ng-template",null,24,e.W1O),e.TgZ(113,"mat-list-item",7)(114,"span",8),e._uU(115),e.ALo(116,"translate"),e.qZA(),e.YNc(117,_b,3,4,"span",9),e.qZA(),e.YNc(118,jc,2,4,"ng-template",null,25,e.W1O),e.TgZ(120,"mat-list-item",7)(121,"span",8),e._uU(122),e.ALo(123,"translate"),e.qZA(),e.YNc(124,pb,3,4,"span",9),e.qZA(),e.YNc(125,Om,2,4,"ng-template",null,26,e.W1O),e.TgZ(127,"mat-list-item",7)(128,"span",8),e._uU(129),e.ALo(130,"translate"),e.qZA(),e.YNc(131,db,3,4,"span",9),e.qZA(),e.YNc(132,Mm,2,4,"ng-template",null,27,e.W1O),e.TgZ(134,"mat-list-item",7)(135,"span",8),e._uU(136),e.ALo(137,"translate"),e.qZA(),e.YNc(138,s_,3,4,"span",9),e.qZA(),e.YNc(139,ub,2,4,"ng-template",null,28,e.W1O),e.TgZ(141,"mat-list-item",7)(142,"span",8),e._uU(143),e.ALo(144,"translate"),e.qZA(),e.YNc(145,Tm,3,4,"span",9),e.qZA(),e.YNc(146,hb,2,4,"ng-template",null,29,e.W1O),e.TgZ(148,"mat-list-item",7)(149,"span",8),e._uU(150),e.ALo(151,"translate"),e.qZA(),e.YNc(152,mb,2,1,"span",9),e.qZA(),e.YNc(153,gb,1,1,"ng-template",null,30,e.W1O),e.qZA()()(),e.TgZ(155,"div",5)(156,"div",31)(157,"div",32)(158,"button",33),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(159),e.ALo(160,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.MAs(56),tn=e.MAs(63),mn=e.MAs(70),mi=e.MAs(77),Rn=e.MAs(84),dn=e.MAs(91),si=e.MAs(98),jn=e.MAs(105),da=e.MAs(112),ii=e.MAs(119),Ci=e.MAs(126),is=e.MAs(133),Li=e.MAs(140),Pn=e.MAs(147),hr=e.MAs(154),bi=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(151,qa,n.calidadMod.modExpectedShortage1)),e.xp6(1),e.AsE(" ",e.lcZ(11,107,"agrarianDemands.fic
1haCalidad.lblDeficitAnualMaximo")," [",bi.stageActual,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpectedShortage1)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(153,qa,n.calidadMod.modExpected1Shortage1)),e.xp6(1),e.AsE("",e.lcZ(18,109,"agrarianDemands.fichaCalidad.lblDeficitAnualMaximo"),"[",bi.stage1,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected1Shortage1)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(155,qa,n.calidadMod.modExpected2Shortage1)),e.xp6(1),e.AsE("",e.lcZ(25,111,"agrarianDemands.fichaCalidad.lblDeficitAnualMaximo"),"[",bi.stage2,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected2Shortage1)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(157,qa,n.calidadMod.modExpected3Shortage1)),e.xp6(1),e.AsE("",e.lcZ(32,113,"agrarianDemands.fichaCalidad.lblDeficitAnualMaximo"),"[",bi.stage3,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected3Shortage1)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(159,qa,n.calidadMod.modExpectedShortage2)),e.xp6(1),e.AsE("",e.lcZ(39,115,"agrarianDemands.fichaCalidad.lblDeficitBiAnualMaximo"),"[",bi.stageActual,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpectedShortage2)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(161,qa,n.calidadMod.modExpected1Shortage2)),e.xp6(1),e.AsE("",e.lcZ(46,117,"agrarianDemands.fichaCalidad.lblDeficitBiAnualMaximo"),"[",bi.stage1,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected1Shortage2)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(163,qa,n.calidadMod.modExpected2Shortage2)),e.xp6(1),e.AsE("",e.lcZ(53,119,"agrarianDemands.fichaCalidad.lblDeficitBiAnualMaximo"),"[",bi.stage2,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected2Shortage2)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(165,qa,n.calidadMod.modExpected3Shortage2)),e.xp6(1),e.AsE("",e.lcZ(60,121,"agrarianDemands.fichaCalidad.lblDeficitBiAnualMaximo"),"[",bi.stage3,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected3Shortage2)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(167,qa,n.calidadMod.modExpectedShortage10)),e.xp6(1),e.AsE("",e.lcZ(67,123,"agrarianDemands.fichaCalidad.lblDeficitDecaAnualMaximo"),"[",bi.stageActual,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpectedShortage10)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(169,qa,n.calidadMod.modExpected1Shortage10)),e.xp6(1),e.AsE("",e.lcZ(74,125,"agrarianDemands.fichaCalidad.lblDeficitDecaAnualMaximo"),"[",bi.stage1,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected1Shortage10)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(171,qa,n.calidadMod.modExpected2Shortage10)),e.xp6(1),e.AsE("",e.lcZ(81,127,"agrarianDemands.fichaCalidad.lblDeficitDecaAnualMaximo"),"[",bi.stage2,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected2Shortage10)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(173,qa,n.calidadMod.modExpected3Shortage10)),e.xp6(1),e.AsE("",e.lcZ(88,129,"agrarianDemands.fichaCalidad.lblDeficitDecaAnualMaximo"),"[",bi.stage3,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected3Shortage10)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(175,qa,n.calidadMod.modExpectedVolumeShortage)),e.xp6(1),e.AsE("",e.lcZ(95,131,"agrarianDemands.fichaCalidad.lblDeficitMedioAnual"),"[",bi.stageActual,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpectedVolumeShortage)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(177,qa,n.calidadMod.modExpected1VolumeShortage)),e.xp6(1),e.AsE("",e.lcZ(102,133,"agrarianDemands.fichaCalidad.lblDeficitMedioAnual"),"[",bi.stage1,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected1VolumeShortage)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(179,qa,n.calidadMod.modExpected2VolumeShortage)),e.xp6(1),e.AsE("",e.lcZ(109,135,"agrarianDemands.fichaCalidad.lblDeficitMedioAnual"),"[",bi.stage2,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected2VolumeShortage)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(181,qa,n.calidadMod.modExpected3VolumeShortage)),e.xp6(1),e.AsE("",e.lcZ(116,137,"agrarianDemands.fichaCalidad.lblDeficitMedioAnual"),"[",bi.stage3,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modExpected3VolumeShortage)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(183,qa,n.calidadMod.modAverageExpectedShortage)),e.xp6(1),e.AsE("",e.lcZ(123,139,"agrarianDemands.fic
1haCalidad.lblPorcenRespectoDemanda"),"[",bi.stageActual,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modAverageExpectedShortage)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(185,qa,n.calidadMod.modAverageExpected1Shortage)),e.xp6(1),e.AsE("",e.lcZ(130,141,"agrarianDemands.fichaCalidad.lblPorcenRespectoDemanda"),"[",bi.stage1,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modAverageExpected1Shortage)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(187,qa,n.calidadMod.modAverageExpected2Shortage)),e.xp6(1),e.AsE("",e.lcZ(137,143,"agrarianDemands.fichaCalidad.lblPorcenRespectoDemanda"),"[",bi.stage2,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modAverageExpected2Shortage)("ngIfElse",Li),e.xp6(4),e.Q6J("ngClass",e.VKq(189,qa,n.calidadMod.modAverageExpected3Shortage)),e.xp6(1),e.AsE("",e.lcZ(144,145,"agrarianDemands.fichaCalidad.lblPorcenRespectoDemanda"),"[",bi.stage3,"]:\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modAverageExpected3Shortage)("ngIfElse",Pn),e.xp6(4),e.Q6J("ngClass",e.VKq(191,qa,n.calidadMod.modComments)),e.xp6(1),e.hij("",e.lcZ(151,147,"agrarianDemands.fichaCalidad.lblComments"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modComments)("ngIfElse",hr),e.xp6(7),e.Oqu(e.l
1cZ(160,149,"botones.cerrar"))}}function Dm(t,o){1&t&&e._UZ(0,"app-spinner")}let vb=(()=>{class t{constructor(n,_,D){var ue=this;this.dialogRef=n,this.data=_,this.udaService=D,this.udaName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_UDA_CALIDAD,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.stageActual="",this.stage1="",this.stage2="",this.stage3="",this.udaName=_.itemName,this.operationCode=_.operation,this.udaDetail$=this.udaService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation),this.udaService.getComboEscenarios(_.gid).subscribe(function(){var Qe=(0,_m.Z)(function*(je){ue.stagesCombo=je,ue.stageActual=ue.stagesCombo[0].nombre,ue.stage1=ue.stagesCombo[1].nombre,ue.stage2=ue.stagesCombo[2].nombre,ue.stage3=ue.stagesCombo[3].nombre});return function(je){return Qe.apply(this,arguments)}}())}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ac.M))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-calidad"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["expectedShortage1",""],["expected1Shortage1",""],["expected2Shortage1",""],["expected3Shortage1",""],["expectedShortage2",""],["expected1Shortage2",""],["expected2Shortage2",""],["expected3Shortage2",""],["expectedShortage10",""],["expected1Shortage10",""],["expected2Shortage10",""],["expected3Shortage10",""],["expectedVolumeShortage",""],["expected1VolumeShortage",""],["expected2VolumeShortage",""],["expected3VolumeShortage",""],["averageExpectedShortage",""],["averageExpected1Shortage",""],["averageExpected2Shortage",""],["averageExpected3Shortage",""],["comments",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,fb,161,193,"div",0),e.ALo(1,"async"),e.YNc(2,Dm,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.udaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[""]}),t})();function Im(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function ym(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function ed(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Q2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function td(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Cb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const Sm=function(t){return{modified:t}};function ml(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Im,2,1,"span",9),e.qZA(),e.YNc(13,ym,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,ed,2,1,"span",9),e.qZA(),e.YNc(20,Q2,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,td,2,1,"span",12),e.qZA(),e.YNc(27,Cb,1,1,"ng-template",13,14,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",15)(31,"div",16)(32,"button",17),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,Sm,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,15,"agrarianDemands.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,Sm,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(18,17,"agrarianDemands.fic
1haTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(27,Sm,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(25,19,"agrarianDemands.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",ue),e.xp6(7),e.Oqu(e.lcZ(34,21,"botones.cerrar"))}}function wm(t,o){1&t&&e._UZ(0,"app-spinner")}let nd=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.udaDemandService=D,this.udaDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.udaDemandName=_.itemName,this.operationCode=_.operation,this.udaDemandDetail$=this.udaDemandService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ac.M))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codigoEuropeo",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,ml,35,29,"div",0),e.ALo(1,"async"),e.YNc(2,wm,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.udaDemandDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function id(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.shortage1)}}function bb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.shortage1)}}function r_(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.shortage10)}}function c_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.shortage10)}}function od(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.shortage1_1)}}function G2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.shortage1_1)}}function xb(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.shortage10_1)}}function l_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.shortage10_1)}}function __(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.shortage1_2)}}function ad(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.shortage1_2)}}function Pm(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;
1e.xp6(1),e.Oqu(n.calidadMod.shortage10_2)}}function sd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.shortage10_2)}}function Rm(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.shortage1_3)}}function Zm(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.shortage1_3)}}function rd(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.shortage10_3)}}function cd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.shortage10_3)}}function Ab(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.calidadMod.criterion)}}function Nm(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.calidadMod.criterion)}}const Sr=function(t){return{modified:t}};function ld(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,id,2,1,"span",9),e.qZA(),e.YNc(13,bb,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,r_,2,1,"span",9),e.qZA(),e.YNc(20,c_,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,od,2,1,"span",9),e.qZA(),e.YNc(27,G2,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,xb,2,1,"span",9),e.qZA(),e.YNc(34,l_,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,__,2,1,"span",9),e.qZA(),e.YNc(41,ad,1,1,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,Pm,2,1,"span",9),e.qZA(),e.YNc(48,sd,1,1,"ng-template",null,15,e.W1O),e.TgZ(50,"mat-list-item",7)(51,"span",8),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,Rm,2,1,"span",9),e.qZA(),e.YNc(55,Zm,1,1,"ng-template",null,16,e.W1O),e.TgZ(57,"mat-list-item",7)(58,"span",8),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.YNc(61,rd,2,1,"span",9),e.qZA(),e.YNc(62,cd,1,1,"ng-template",null,17,e.W1O),e.TgZ(64,"mat-list-item",7)(65,"span",8),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,Ab,2,1,"span",18),e.qZA(),e.YNc(69,Nm,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.TgZ(71,"div",5)(72,"div",21)(73,"div",22)(74,"button",23),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(75),e.ALo(76,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.MAs(56),tn=e.MAs(63),mn=e.MAs(70);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(59,Sr,n.calidadMod.modShortage1)),e.xp6(1),e.hij("",e.lcZ(11,39,"urbanDemands.fichaCalidad.lblGarantia1_0"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modShortage1)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(61,Sr,n.calidadMod.modShortage10)),e.xp6(1),e.hij("",e.lcZ(18,41,"urbanDemands.fichaCalidad.lblGarantia10_0"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modShortage10)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(63,Sr,n.calidadMod.modShortage1_1)),e.xp6(1),e.hij("",e.lcZ(25,43,"urbanDemands.fichaCalidad.lblGarantia1_1"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modShortage1_1)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(65,Sr,n.calidadMod.modShortage10_1)),e.xp6(1),e.hij("",e.lcZ(32,45,"urbanDemands.fichaCalidad.lblGarantia10_1"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modShortage10_1)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(67,Sr,n.calidadMod.modShortage1_2)),e.xp6(1),e.hij("",e.lcZ(39,47,"urbanDemands.fichaCalidad.lblGarantia1_2"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modShortage1_2)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(69,Sr,n.calidadMod.modShortage10_2)),e.xp6(1),e.hij("",e.lcZ(46,49,"urbanDemands.fichaCalidad.lblGarantia10_2"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modShortage10_2)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(71,Sr,n.calidadMod.modShortage1_3)),e.xp6(1),e.hij("",e.lcZ(53,51,"urbanDemands.fic
1haCalidad.lblGarantia1_3"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modShortage1_3)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(73,Sr,n.calidadMod.modShortage10_3)),e.xp6(1),e.hij("",e.lcZ(60,53,"urbanDemands.fichaCalidad.lblGarantia10_3"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modShortage10_3)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(75,Sr,n.calidadMod.modCriterion)),e.xp6(1),e.hij("",e.lcZ(67,55,"urbanDemands.fichaCalidad.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.calidadMod.modCriterion)("ngIfElse",mn),e.xp6(7),e.Oqu(e.lcZ(76,57,"botones.cerrar"))}}function Lm(t,o){1&t&&e._UZ(0,"app-spinner")}let Eb=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.urbanDemandsService=D,this.urbanDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_UDU_CALIDADGARANTIAS,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.urbanDemandName=_.itemName,this.operationCode=_.operation,this.urbanDemandsDetail$=this.urbanDemandsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cp.B))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-calidad"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["shortage1",""],["shortage10",""],["shortage1_1",""],["shortage10_1",""],["shortage1_2",""],["shortage10_2",""],["shortage1_3",""],["shortage10_3",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,ld,77,77,"div",0),e.ALo(1,"async"),e.YNc(2,Lm,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.urbanDemandsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Vm(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.reservasMod.reserve)}}function Um(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.reservasMod.reserve)}}function _d(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.reservasMod.adjust_volume)}}function p_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.reservasMod.adjust_volume)}}function pd(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.reservasMod.comments)}}function qm(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.reservasMod.comments)}}const d_=function(t){return{modified:t}};function km(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Vm,2,1,"span",9),e.qZA(),e.YNc(13,Um,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,_d,2,1,"span",9),e.qZA(),e.YNc(20,p_,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,pd,2,1,"span",12),e.qZA(),e.YNc(27,qm,1,1,"ng-template",13,14,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",15)(31,"div",16)(32,"button",17),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,d_,n.reservasMod.modReserve)),e.xp6(1),e.hij("",e.lcZ(11,15,"urbanDemands.fichaReservas.lblReserva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.reservasMod.modReserve)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,d_,n.reservasMod.modAdjust_volume)),e.xp6(1),e.hij("",e.lcZ(18,17,"urbanDemands.fic
1haReservas.lblAjuste"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.reservasMod.modAdjust_volume)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(27,d_,n.reservasMod.modComment)),e.xp6(1),e.hij("",e.lcZ(25,19,"urbanDemands.fichaCalidad.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.reservasMod.modComment)("ngIfElse",ue),e.xp6(7),e.Oqu(e.lcZ(34,21,"botones.cerrar"))}}function Fm(t,o){1&t&&e._UZ(0,"app-spinner")}let Bm=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.urbanDemandsService=D,this.urbanDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_UDU_RESERVAS,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.urbanDemandName=_.itemName,this.operationCode=_.operation,this.urbanDemandsDetail$=this.urbanDemandsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cp.B))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-reservas"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["reserve",""],["volume",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,km,35,29,"div",0),e.ALo(1,"async"),e.YNc(2,Fm,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.urbanDemandsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function $m(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.relevanciaVertidosDto.zonaSensible)}}function Ym(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.relevanciaVertidosDto.zonaSensible)}}function J2(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.relevanciaVertidosDto.expedienteSancionador)}}function Ob(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.relevanciaVertidosDto.expedienteSancionador)}}function Mb(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.relevanciaVertidosDto.comentarios)}}function jm(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.relevanciaVertidosDto.comentarios)}}const dd=function(t){return{modified:t}};function ts(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,$m,2,1,"span",9),e.qZA(),e.YNc(13,Ym,1,1,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(15,"mat-list")(16,"mat-list-item",7)(17,"span",8),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,J2,2,1,"span",9),e.qZA(),e.YNc(21,Ob,1,1,"ng-template",null,11,e.W1O),e.qZA(),e.TgZ(23,"mat-list")(24,"mat-list-item",12)(25,"span",8),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.YNc(28,Mb,2,1,"span",9),e.qZA(),e.YNc(29,jm,1,1,"ng-template",null,13,e.W1O),e.qZA()()(),e.TgZ(31,"div",5)(32,"div",14)(33,"div",15)(34,"button",16),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(35),e.ALo(36,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(22),ue=e.MAs(30),Qe=e.oxw();e.xp6(3),e.AsE("",n.relevanciaVertidosDto.relevanciaId," - ",Qe.wasteName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,dd,n.relevanciaVertidosDto.modZonaSensible)),e.xp6(1),e.hij("",e.lcZ(11,15,"waste.fichaTecnica.lblsGuardarCambios.zonaSensibleId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.relevanciaVertidosDto.modZonaSensible)("ngIfElse",_),e.xp6(5),e.Q6J("ngClass",e.VKq(25,dd,n.relevanciaVertidosDto.modExpedienteSancionador)),e.xp6(1),e.hij("",e.lcZ(19,17,"waste.fichaTecnica.lblsGuardarCambios.expedienteSancionadorId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.relevanciaVertidosDto.modExpedienteSancionador)("ngIfElse",D),e.xp6(
15),e.Q6J("ngClass",e.VKq(27,dd,n.relevanciaVertidosDto.modComentarios)),e.xp6(1),e.hij("",e.lcZ(27,19,"waste.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.relevanciaVertidosDto.modComentarios)("ngIfElse",ue),e.xp6(7),e.Oqu(e.lcZ(36,21,"botones.cerrar"))}}function Km(t,o){1&t&&e._UZ(0,"app-spinner")}let Tb=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.wasteService=D,this.wasteName="",this.numRed=s.C.numRed,this.wasteName=_.itemName,this.wasteDetail$=this.wasteService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Tu.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-pressure-relevance-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["zonaSensible",""],["expedienteSancionador",""],[1,"bar-gradient","comentarios"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,ts,37,29,"div",0),e.ALo(1,"async"),e.YNc(2,Km,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.wasteDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px!important;padding-bottom:16px!important;height:auto!important}"]}),t})();function Db(t,o){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.vertidoImpactsDto.impacto)}}function Qm(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.vertidoImpactsDto.impacto)}}function Ib(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.vertidoImpactsDto.relevanciaPresionFinal)}}function Gm(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.vertidoImpactsDto.relevanciaPresionFinal)}}const Jm=function(){return{modified:!1}},Kc=function(t){return{modified:t}};function yb(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Db,2,1,"span",9),e.qZA(),e.YNc(13,Qm,1,1,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(15,"mat-list")(16,"mat-list-item",7)(17,"span",8),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,Ib,2,1,"span",11),e.qZA(),e.YNc(21,Gm,1,1,"ng-template",null,12,e.W1O),e.qZA()()(),e.TgZ(23,"div",5)(24,"div",13)(25,"div",14)(26,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(27),e.ALo(28,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(22),ue=e.oxw();e.xp6(3),e.AsE("",n.id," - ",ue.wasteName,""),e.xp6(6),e.Q6J("ngClass",e.DdM(17,Jm)),e.xp6(1),e.hij("",e.lcZ(11,11,"waste.fichaTecnica.lblImpactoPuedeGenerar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",!1)("ngIfElse",_),e.xp6(5),e.Q6J("ngClass",e.VKq(18,Kc,n.vertidoImpactsDto.modRelevanciaFinal)),e.xp6(1),e.hij("",e.lcZ(19,13,"waste.fichaTecnica.lblAsignacionDefinitivaRelevanciaPresion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.vertidoImpactsDto.modRelevanciaFinal)("ngIfElse",D),e.xp6(7),e.Oqu(e.l
1cZ(28,15,"botones.cerrar"))}}function Sb(t,o){1&t&&e._UZ(0,"app-spinner")}let Wm=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.wasteService=D,this.wasteName="",this.wasteName=_.itemName,this.wasteDetail$=this.wasteService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Tu.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-pressure-relevance-edit-version-changes-waste"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold","",3,"ngClass"],[4,"ngIf","ngIfElse"],["impactoDescripcion",""],["appHighlight","",4,"ngIf","ngIfElse"],["relevanciaFinalDescription",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,yb,29,20,"div",0),e.ALo(1,"async"),e.YNc(2,Sb,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.wasteDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px!important;padding-bottom:16px!important;height:auto!important}"]}),t})();function wb(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.curva.cota,_.numRed))}}function Hm(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.curva.cota,_.numRed))}}function W2(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.curva.area,_.numRed))}}function ud(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.curva.area,_.numRed))}}function hd(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.curva.volumen,_.numRed))}}function wr(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.curva.volumen,_.numRed))}}function Pb(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.curva.descTipo)}}function zm(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.curva.descTipo)}}const Ls=function(t){return{modified:t}};function cr(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,wb,3,4,"span",9),e.qZA(),e.YNc(13,Hm,2,4,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,W2,3,4,"span",9),e.qZA(),e.YNc(20,ud,2,4,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,hd,3,4,"span",9),e.qZA(),e.YNc(27,wr,2,4,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Pb,2,1,"span",9),e.qZA(),e.YNc(34,zm,1,1,"ng-template",null,13,e.W1O),e.qZA()()(),e.TgZ(36,"div",5)(37,"div",14)(38,"div",15)(39,"button",16),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}
1),e._uU(40),e.ALo(41,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.oxw();e.xp6(3),e.AsE("",n.id," - ",je.raftName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(29,Ls,n.curva.modCota)),e.xp6(1),e.hij("",e.lcZ(11,19,"raft.fichaTecnica.lblsGuardarCambios.cota"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.curva.modCota)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(31,Ls,n.curva.modArea)),e.xp6(1),e.hij("",e.lcZ(18,21,"raft.fichaTecnica.lblArea"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.curva.modArea)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(33,Ls,n.curva.modVolumen)),e.xp6(1),e.hij("",e.lcZ(25,23,"raft.fichaTecnica.lblsGuardarCambios.volumen"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.curva.modVolumen)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(35,Ls,n.curva.modCodTipo)),e.xp6(1),e.hij("",e.lcZ(32,25,"raft.fichaTecnica.lblsGuardarCambios.tipoCota"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.curva.modCodTipo)("ngIfElse",Qe),e.xp6(7),e.Oqu(e.lcZ(41,27,"botones.cerrar"))}}function lr(t,o){1&t&&e._UZ(0,"app-spinner")}let Xm=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.raftService=D,this.raftName="",this.numRed=s.C.numRed,this.raftName=_.itemName,this.raftDetail$=this.raftService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Sn.b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-curve"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["cota",""],["area",""],["volumen",""],["descTipo",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,cr,42,37,"div",0),e.ALo(1,"async"),e.YNc(2,lr,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.raftDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function eg(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.volumenObjetivo,_.numRed))}}function Rb(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.volumenObjetivo,_.numRed))}}function Zb(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.volumenMaximo,_.numRed))}}function Nb(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.volumenMaximo,_.numRed))}}function Lb(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.regla.volumenMinimo)}}function md(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.volumenMinimo,_.numRed))}}function gl(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.caudalMinimoDesembalse,_.numRed))}}function Vb(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.caudalMinimoDesembalse,_.numRed))}}
1function tg(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.evaporacion,_.numRed))}}function Ub(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.evaporacion,_.numRed))}}function ng(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.aportacion,_.numRed))}}function ig(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.aportacion,_.numRed))}}const kr=function(t){return{modified:t}};function qb(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"div",7)(8,"mat-list")(9,"mat-list-item",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"span"),e._uU(14),e.qZA()(),e.TgZ(15,"mat-list-item",8)(16,"span",10),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,eg,3,4,"span",11),e.qZA(),e.YNc(20,Rb,2,4,"ng-template",null,12,e.W1O),e.TgZ(22,"mat-list-item",8)(23,"span",10),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Zb,3,4,"span",11),e.qZA(),e.YNc(27,Nb,2,4,"ng-template",null,13,e.W1O),e.TgZ(29,"mat-list-item",8)(30,"span",10),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Lb,2,1,"span",11),e.qZA(),e.YNc(34,md,2,4,"ng-template",null,14,e.W1O),e.TgZ(36,"mat-list-item",8)(37,"span",10),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,gl,3,4,"span",11),e.qZA(),e.YNc(41,Vb,2,4,"ng-template",null,15,e.W1O),e.TgZ(43,"mat-list-item",8)(44,"span",10),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,tg,3,4,"span",11),e.qZA(),e.YNc(48,Ub,2,4,"ng-template",null,16,e.W1O),e.TgZ(50,"mat-list-item",8)(51,"span",10),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,ng,3,4,"span",11),e.qZA(),e.YNc(55,ig,2,4,"ng-template",null,17,e.W1O),e.qZA()()(),e.TgZ(57,"div",6)(58,"div",18)(59,"div",19)(60,"button",20),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(61),e.ALo(62,"translate"),e.qZA()()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(21),D=e.MAs(28),ue=e.MAs(35),Qe=e.MAs(42),je=e.MAs(56),Zt=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Zt.raftName,""),e.xp6(8),e.hij("",e.lcZ(12,29,"raft.fichaTecnica.lblMes"),":\xa0"),e.xp6(3),e.Oqu(n.regla.descMes),e.xp6(2),e.Q6J("ngClass",e.VKq(45,kr,n.regla.modVolumenObjetivo)),e.xp6(1),e.hij("",e.lcZ(18,31,"raft.fichaTecnica.lblVolumenObjetivo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modVolumenObjetivo)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(47,kr,n.regla.modVolumenMaximo)),e.xp6(1),e.hij("",e.lcZ(25,33,"raft.fichaTecnica.lblVolumenMax"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modVolumenMaximo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(49,kr,n.regla.modVolumenMinimo)),e.xp6(1),e.hij("",e.lcZ(32,35,"raft.fichaTecnica.lblVolumenMin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modVolumenMinimo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(51,kr,n.regla.modCaudalMinimoDesembalse)),e.xp6(1),e.hij("",e.lcZ(39,37,"raft.fichaTecnica.lblCaudalMin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modCaudalMinimoDesembalse)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(53,kr,n.regla.modEvaporacion)),e.xp6(1),e.hij("",e.lcZ(46,39,"raft.fichaTecnica.lblEvaporacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modEvaporacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(55,kr,n.regla.modAportacion)),e.xp6(1),e.hij("",e.lcZ(53,41,"raft.fichaTecnica.lblAportacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modAportacion)("ngIfElse",je),e.xp6(7),e.Oqu(e.l
1cZ(62,43,"botones.cerrar"))}}function og(t,o){1&t&&e._UZ(0,"app-spinner")}let ag=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.raftService=D,this.raftName="",this.numRed=s.C.numRed,this.raftName=_.itemName,this.raftDetail$=this.raftService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Sn.b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-rule"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"container","px-4"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["volumenObjetivo",""],["volumenMaximo",""],["volumenMinimo",""],["caudalMinimoDesembalse",""],["evaporacion",""],["aportacion",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,qb,63,57,"div",0),e.ALo(1,"async"),e.YNc(2,og,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.raftDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var u_=m(5996);function h_(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function gd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function fd(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaInfraestructrura)}}function vd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaInfraestructrura)}}function Cd(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.code2)}}function bd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.code2)}}function sg(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.claveDga)}}function rg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.claveDga)}}function cg(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaTamanio)}}function lg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaTamanio)}}function kb(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaRiesgo)}}function Fb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaRiesgo)}}function Bb(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaMaterial)}}function $b(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaMaterial)}}function Yb(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaTemporalidad)}}function jb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaTemporalidad)}}function Kb(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologia)}}function Qb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologia)}}
1function Gb(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descEstado)}}function Jb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descEstado)}}function Wb(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaConservacion)}}function Hb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaConservacion)}}function zb(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.colmatado)}}function Xb(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.colmatado)}}function e0(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaActuacion,_.dateFormat))}}function t0(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaActuacion,_.dateFormat))}}function n0(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.alturaSobreFundacion,_.numRed))}}function _g(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.alturaSobreFundacion,_.numRed))}}function pg(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.alturaSobreSuelo,_.numRed))}}function dg(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.alturaSobreSuelo,_.numRed))}}function ug(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.franqueabilidad,_.numRed))}}function hg(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.franqueabilidad,_.numRed))}}function mg(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaPescado)}}function gg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaPescado)}}function fg(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.profundidad,_.numRed))}}function vg(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.profundidad,_.numRed))}}function xd(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaOperabilidad)}}function Ad(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaOperabilidad)}}function sc(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.crowningPointLength)}}function o0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.crowningPointLength)}}function a0(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.campoNoOperabilidad)}}function Qc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.campoNoOperabilidad)}}function s0(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.profundidadRemanso)}}function Ed(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.profundidadRemanso)}}function H2(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Cg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}function bg(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaFuturaActuacion)}}function z2(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaFuturaActuacion)}}function Hi(t,o){if(1&t&&(e.TgZ(0,"span",38),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipologiaJustificacionActuacion)}}function r0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipologiaJustificacionActuacion)}}const la=function(t){return{modified:t}};function c0(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,h_,2,1,"span",9),e.qZA(),e.YNc(13,gd,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,fd,2,1,"span",9),e.qZA(),e.YNc(20,vd,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Cd,2,1,"span",9),e.qZA(),e.YNc(27,bd,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,sg,2,1,"span",9),e.qZA(),e.YNc(34,rg,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,cg,2,1,"span",9),e.qZA(),e.YNc(41,lg,1,1,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,kb,2,1,"span",9),e.qZA(),e.YNc(48,Fb,1,1,"ng-template",null,15,e.W1O),e.TgZ(50,"mat-list-item",7)(51,"span",8),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,Bb,2,1,"span",9),e.qZA(),e.YNc(55,$b,1,1,"ng-template",null,16,e.W1O),e.TgZ(57,"mat-list-item",7)(58,"span",8),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.YNc(61,Yb,2,1,"span",9),e.qZA(),e.YNc(62,jb,1,1,"ng-template",null,17,e.W1O),e.TgZ(64,"mat-list-item",7)(65,"span",8),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,Kb,2,1,"span",9),e.qZA(),e.YNc(69,Qb,1,1,"ng-template",null,18,e.W1O),e.TgZ(71,"mat-list-item",7)(72,"span",8),e._uU(73),e.ALo(74,"translate"),e.qZA(),e.YNc(75,Gb,2,1,"span",9),e.qZA(),e.YNc(76,Jb,1,1,"ng-template",null,19,e.W1O),e.TgZ(78,"mat-list-item",7)(79,"span",8),e._uU(80),e.ALo(81,"translate"),e.qZA(),e.YNc(82,Wb,2,1,"span",9),e.qZA(),e.YNc(83,Hb,1,1,"ng-template",null,20,e.W1O),e.TgZ(85,"mat-list-item",7)(86,"span",8),e._uU(87),e.ALo(88,"translate"),e.qZA(),e.YNc(89,zb,2,1,"span",9),e.qZA(),e.YNc(90,Xb,1,1,"ng-template",null,21,e.W1O),e.TgZ(92,"mat-list-item",7)(93,"span",8),e._uU(94),e.ALo(95,"translate"),e.qZA(),e.YNc(96,e0,3,4,"span",9),e.qZA(),e.YNc(97,t0,2,4,"ng-template",null,22,e.W1O),e.TgZ(99,"mat-list-item",7)(100,"span",8),e._uU(101),e.ALo(102,"translate"),e.qZA(),e.YNc(103,n0,3,4,"span",9),e.qZA(),e.YNc(104,_g,2,4,"ng-template",null,23,e.W1O),e.TgZ(106,"mat-list-item",7)(107,"span",8),e._uU(108),e.ALo(109,"translate"),e.qZA(),e.YNc(110,pg,3,4,"span",9),e.qZA(),e.YNc(111,dg,2,4,"ng-template",null,24,e.W1O),e.TgZ(113,"mat-list-item",7)(114,"span",8),e._uU(115),e.ALo(116,"translate"),e.qZA(),e.YNc(117,ug,3,4,"span",9),e.qZA(),e.YNc(118,hg,2,4,"ng-template",null,25,e.W1O),e.TgZ(120,"mat-list-item",7)(121,"span",8),e._uU(122),e.ALo(123,"translate"),e.qZA(),e.YNc(124,mg,2,1,"span",9),e.qZA(),e.YNc(125,gg,1,1,"ng-template",null,26,e.W1O),e.TgZ(127,"mat-list-item",7)(128,"span",8),e._uU(129),e.ALo(130,"translate"),e.qZA(),e.YNc(131,fg,3,4,"span",9),e.qZA(),e.YNc(132,vg,2,4,"ng-template",null,27,e.W1O),e.TgZ(134,"mat-list-item",7)(135,"span",8),e._uU(136),e.ALo(137,"translate"),e.qZA(),e.YNc(138,xd,2,1,"span",9),e.qZA(),e.YNc(139,Ad,1,1,"ng-template",null,28,e.W1O),e.TgZ(141,"mat-list-item",7)(142,"span",8),e._uU(143),e.ALo(144,"translate"),e.qZA(),e.YNc(145,sc,2,1,"span",9),e.qZA(),e.YNc(146,o0,1,1,"ng-template",null,29,e.W1O),e.TgZ(148,"mat-list-item",7)(149,"span",8),e._uU(150),e.ALo(151,"translate"),e.qZA(),e.YNc(152,a0,2,1,"span",9),e.qZA(),e.YNc(153,Qc,1,1,"ng-template",null,30,e.W1O),e.TgZ(155,"mat-list-item",7)(156,"span",8),e._uU(157),e.ALo(158,"translate"),e.qZA(),e.YNc(159,s0,2,1,"span",9),e.qZA(),e.YNc(160,Ed,1,1,"ng-template",null,31,e.W1O),e.TgZ(162,"mat-list-item",7)(163,"span",8),e._uU(164),e.ALo(165,"translate"),e.qZA(),e.YNc(166,H2,2,1,"span",9),e.qZA(),e.YNc(167,Cg,1,1,"ng-template",null,32,e.W1O),e.TgZ(169,"mat-list-item",7)(170,"span",8),e._uU(171),e.ALo(172,"translate"),e.qZA(),e.YNc(173,bg,2,1,"span",9),e.qZA(),e.YNc(174,z2,1,1,"ng-template",null,33,e.W1O),e.TgZ(176,"mat-list-item",7)(177,"span",8),e._uU(178),e.ALo(179,"translate"),e.qZA(),e.YNc(180,Hi,2,1,"span",9),e.qZA(),e.YNc(181,r0,1,1,"ng-template",null,34,e.W1O),e.qZA()()(),e.TgZ(183,"div",5)(184,"div",35)(185,"div",36)(186,"button",37),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(187),e.ALo(188,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.MAs(56),tn=e.MAs(63),mn=e.MAs(70),mi=e.MAs(77),Rn=e.MAs(84),dn=e.MAs(91),si=e.MAs(98),jn=e.MAs(105),da=e.MAs(112),ii=e.MAs(119),Ci=e.MAs(126),is=e.MAs(133),Li=e.MAs(140),Pn=e.MAs(147),hr=e.MAs(154),bi=e.MAs(161),vc=e.MAs(168),Cc=e.MAs(175),bc=e.MAs(182),qi=e.oxw();e.xp6(3),e.AsE("",n.id," - ",qi.damName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(155,la,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,103,"dam.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(157,la,n.modTipologiaInfrastru
1ctura)),e.xp6(1),e.hij("",e.lcZ(18,105,"dam.fichaTecnica.lblsGuardarCambios.tipologiaInfraestructura"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaInfrastructura)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(159,la,n.modCode2)),e.xp6(1),e.hij("",e.lcZ(25,107,"dam.fichaTecnica.lblsGuardarCambios.code2"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCode2)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(161,la,n.modClaveDga)),e.xp6(1),e.hij("",e.lcZ(32,109,"dam.fichaTecnica.lblsGuardarCambios.claveDga"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modClaveDga)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(163,la,n.modTipologiaTamanio)),e.xp6(1),e.hij("",e.lcZ(39,111,"dam.fichaTecnica.lblsGuardarCambios.tipologiaTamanio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaTamanio)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(165,la,n.modTipologiaRiesgo)),e.xp6(1),e.hij("",e.lcZ(46,113,"dam.fichaTecnica.lblsGuardarCambios.tipologiaRiesgo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaRiesgo)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(167,la,n.modTipologiaMaterial)),e.xp6(1),e.hij("",e.lcZ(53,115,"dam.fichaTecnica.lblsGuardarCambios.tipologiaMaterial"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaMaterial)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(169,la,n.modTipologiaTemporalidad)),e.xp6(1),e.hij("",e.lcZ(60,117,"dam.fichaTecnica.lblsGuardarCambios.tipologiaTemporalidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaTemporalidad)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(171,la,n.modTipologia)),e.xp6(1),e.hij("",e.lcZ(67,119,"dam.fichaTecnica.lblsGuardarCambios.tipologia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologia)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(173,la,n.modEstado)),e.xp6(1),e.hij("",e.lcZ(74,121,"dam.fichaTecnica.lblsGuardarCambios.estado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modEstado)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(175,la,n.modTipologiaConservacion)),e.xp6(1),e.hij("",e.lcZ(81,123,"dam.fichaTecnica.lblsGuardarCambios.tipologiaConservacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaConservacion)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(177,la,n.modColmatado)),e.xp6(1),e.hij("",e.lcZ(88,125,"dam.fichaTecnica.lblsGuardarCambios.colmatado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modColmatado)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(179,la,n.modFechaActuacion)),e.xp6(1),e.hij("",e.lcZ(95,127,"dam.fichaTecnica.lblsGuardarCambios.fechaActuacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modFechaActuacion)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(181,la,n.modAlturaSobreFundacion)),e.xp6(1),e.hij("",e.lcZ(102,129,"dam.fichaTecnica.lblsGuardarCambios.alturaSobreFundacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modAlturaSobreFundacion)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(183,la,n.modAlturaSobreSuelo)),e.xp6(1),e.hij("",e.lcZ(109,131,"dam.fichaTecnica.lblsGuardarCambios.alturaSobreSuelo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modAlturaSobreSuelo)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(185,la,n.modFranqueabilidad)),e.xp6(1),e.hij("",e.lcZ(116,133,"dam.fichaTecnica.lblsGuardarCambios.franqueabilidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modFranqueabilidad)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(187,la,n.modTipologiaPescado)),e.xp6(1),e.hij("",e.lcZ(123,135,"dam.fichaTecnica.lblsGuardarCambios.tipologiaPescado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaPescado)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(189,la,n.modProfundidad)),e.xp6(1),e.hij("",e.lcZ(130,137,"dam.fichaTecnica.lblsGuardarCambios.profundidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modProfundidad)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(191,la,n.modTipologiaOperabilidad)),e.xp6(1),e.hij("",e.lcZ(137,139,"dam.fichaTecnica.lblsGuardarCambios.operatividad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaOperabilidad)("ngIfElse",Li),e.xp6(4),e.Q6J("ngClass",e.VKq(193,la,n.modCrowningPointLength)),e.xp6(1),e.hij("",e.lcZ(144,141,"dam.fichaTecnica.lblsGuardarCambios.crowningPointLength"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCrowningPointLength)("ngIfElse",Pn),e.xp6(4),e.Q6J("ngClass",e.VKq(195,la,n.modCampoNoOperabilidad)),e.xp6(1),e.hij("",e.lcZ(151,143,"dam.fichaTecnica.lblsGuardarCambios.lblOperatividadCausas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCampoNoOperabilidad)("ngIfElse",hr),e.xp6(4),e.Q6J("ngClass",e.VKq(197,la,n.modProfundidadRemanso)),e.xp6(1),e.hij("",e.lcZ(158,145,"dam.fichaTecnica.lblsGuardarCambios.profundidadRemanso"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modProfundidadRemanso)("ngIfElse",bi),e.xp6(4),e.Q6J("ngClass",e.VKq(199,la,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(165,147,"dam.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",vc),e.xp6(4),e.Q6J("ngClass",e.VKq(201,la,n.modTipologiaFuturaActuacion)),e.xp6(1),e.hij("",e.lcZ(172,149,"dam.fichaTecnica.lblsGuardarCambios.tipologiaFuturaActuacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaFuturaActuacion)("ngIfElse",Cc),e.xp6(4),e.Q6J("ngClass",e.VKq(203,la,n.modTipologiaJustificacionActuacion)),e.xp6(1),e.hij("",e.lcZ(179,151,"dam.fichaTecnica.lblsGuardarCambios.tipologiaJustificacionActuacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipologiaJustificacionActuacion)("ngIfElse",bc),e.xp6(7),e.Oqu(e.l
1cZ(188,153,"botones.cerrar"))}}function m_(t,o){1&t&&e._UZ(0,"app-spinner")}let l0=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.damService=D,this.damName="",this.dateFormat=s.C.dateFormat,this.numRed=s.C.numRed,this.damName=_.itemName,this.operationCode=_.operation,this.damDetail$=this.damService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(u_.o))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["descTipologiaInfraestructrura",""],["code2",""],["claveDga",""],["descTipologiaTamanio",""],["descTipologiaRiesgo",""],["descTipologiaMaterial",""],["descTipologiaTemporalidad",""],["descTipologia",""],["descEstado",""],["descTipologiaConservacion",""],["colmatado",""],["fechaActuacion",""],["alturaSobreFundacion",""],["alturaSobreSuelo",""],["franqueabilidad",""],["descTipologiaPescado",""],["profundidad",""],["descOperatividad",""],["crowningPointLength",""],["campoNoOperabilidad",""],["profundidadRemanso",""],["comentarios",""],["descFuturaActuacion",""],["descJustificacionActuacion",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,c0,189,205,"div",0),e.ALo(1,"async"),e.YNc(2,m_,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.damDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.uU,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function g_(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.usoGeneralRev.tipoDescripcion)}}function f_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.usoGeneralRev.tipoDescripcion)}}function wa(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.usoGeneralRev.primario?"si":"no"))}}function X2(t,o){if(1&t&&(e._uU(0),e.ALo(1,"translate")),2&t){const n=e.oxw().ngIf;e.Oqu(e.lcZ(1,1,n.usoGeneralRev.primario?"si":"no"))}}function xg(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.usoGeneralRev.comentarios)}}function _0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.usoGeneralRev.comentarios)}}const Od=function(t){return{modified:t}};function Ag(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,g_,2,1,"span",9),e.qZA(),e.YNc(13,f_,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,wa,3,3,"span",9),e.qZA(),e.YNc(20,X2,2,3,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,xg,2,1,"span",9),e.qZA(),e.YNc(27,_0,1,1,"ng-template",null,12,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",13)(31,"div",14)(32,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.damName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,Od,n.usoGeneralRev.modTipoUso)),e.xp6(1),e.hij("",e.lcZ(11,15,"dam.fichaTecnica.lblsGuardarCambios.tipoId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.usoGeneralRev.modTipoUso)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,Od,n.usoGeneralRev.modPrimario)),e.xp6(1),e.hij("",e.lcZ(18,17,"dam.fichaTecnica.lblsGuardarCambios.primario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.usoGeneralRev.modPrimario)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(27,Od,n.usoGeneralRev.modComentarios)),e.xp6(1),e.hij("",e.lcZ(25,19,"dam.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.usoGeneralRev.modComentarios)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(34,21,"botones.cerrar"))}}function Eg(t,o){1&t&&e._UZ(0,"app-spinner")}let Og=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.damService=D,this.damName="",this.dateFormat=s.C.dateFormat,this.damName=_.itemName,this.operationCode=_.operation,this.damDetail$=this.damService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(u_.o))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-use-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["tipoDescripcion",""],["primario",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Ag,35,29,"div",0),e.ALo(1,"async"),e.YNc(2,Eg,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.damDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();var v_=m(1736);function p0(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function d0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function u0(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function fl(t,o){if(1&t&&(e.TgZ(0,"span",21),e.YNc(1,u0,2,2,"ng-container",22),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",n.nombresAlternativos)}}function h0(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function m0(t,o){if(1&t&&e.YNc(0,h0,2,2,"ng-container",22),2&t){const n=e.oxw().ngIf;e.Q6J("ngForOf",n.nombresAlternativos)}}function g0(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estado)}}function C_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estado)}}function Mg(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.titularidad)}}function Tg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.titularidad)}}function Dg(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.titularidadSecundaria)}}function f0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.titularidadSecundaria)}}function vl(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.propietario)}}function Cl(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.propietario)}}function v0(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function C0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const rc=function(t){return{modified:t}};function Ig(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,p0,2,1,"span",10),e.qZA(),e.YNc(18,d0,1,1,"ng-template",null,11,e.W1O),e.TgZ(20,"mat-list-item",7)(21,"span",9),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,fl,2,1,"span",10),e.qZA(),e.YNc(25,m0,1,1,"ng-template",null,12,e.W1O),e.TgZ(27,"mat-list-item",7)(28,"
1span",9),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,g0,2,1,"span",10),e.qZA(),e.YNc(32,C_,1,1,"ng-template",null,13,e.W1O),e.TgZ(34,"mat-list-item",7)(35,"span",9),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,Mg,2,1,"span",10),e.qZA(),e.YNc(39,Tg,1,1,"ng-template",null,14,e.W1O),e.TgZ(41,"mat-list-item",7)(42,"span",9),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,Dg,2,1,"span",10),e.qZA(),e.YNc(46,f0,1,1,"ng-template",null,15,e.W1O),e.TgZ(48,"mat-list-item",7)(49,"span",9),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,vl,2,1,"span",10),e.qZA(),e.YNc(53,Cl,1,1,"ng-template",null,16,e.W1O),e.TgZ(55,"mat-list-item",7)(56,"span",9),e._uU(57),e.ALo(58,"translate"),e.qZA(),e.YNc(59,v0,2,1,"span",10),e.qZA(),e.YNc(60,C0,1,1,"ng-template",null,17,e.W1O),e.qZA()()(),e.TgZ(62,"div",5)(63,"div",18)(64,"div",19)(65,"button",20),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(66),e.ALo(67,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.MAs(54),qe=e.MAs(61),tn=e.oxw();e.xp6(3),e.AsE("",n.id," - ",tn.reservoirName,""),e.xp6(7),e.hij("",e.lcZ(11,33,"reservoir.fichaTecnica.lblCodigo"),":\xa0"),e.xp6(2),e.hij("",n.id," "),e.xp6(2),e.Q6J("ngClass",e.VKq(51,rc,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(16,35,"reservoir.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(53,rc,n.modNombresAlternativos)),e.xp6(1),e.hij("",e.lcZ(23,37,"reservoir.fichaTecnica.lblNombresAlt"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombresAlternativos)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(55,rc,n.modCodEstado)),e.xp6(1),e.hij("",e.lcZ(30,39,"reservoir.fichaTecnica.lblsGuardarCambios.codEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodEstado)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(57,rc,n.modCodTitularidad)),e.xp6(1),e.hij("",e.lcZ(37,41,"reservoir.fichaTecnica.lblsGuardarCambios.codTitularidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodTitularidad)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(59,rc,n.modCodTitularidadSecundaria)),e.xp6(1),e.hij("",e.lcZ(44,43,"reservoir.fichaTecnica.lblsGuardarCambios.codTitularidadSecundaria"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodTitularidadSecundaria)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(61,rc,n.modCodPropietario)),e.xp6(1),e.hij("",e.lcZ(51,45,"reservoir.fichaTecnica.lblsGuardarCambios.propietario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodPropietario)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(63,rc,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(58,47,"reservoir.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",qe),e.xp6(7),e.Oqu(e.l
1cZ(67,49,"botones.cerrar"))}}function yg(t,o){1&t&&e._UZ(0,"app-spinner")}let Sg=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.reservoirService=D,this.reservoirName="",this.reservoirName=_.itemName,this.reservoirDetail$=this.reservoirService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(v_.H))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["alternativo",""],["estado",""],["titularidad",""],["titularidadSecundaria",""],["propietario",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],[4,"ngFor","ngForOf"]],template:function(n,_){if(1&n&&(e.YNc(0,Ig,68,65,"div",0),e.ALo(1,"async"),e.YNc(2,yg,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.reservoirDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,d.sg,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function b0(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.curva.cota,_.numRed))}}function wg(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.curva.cota,_.numRed))}}function x0(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.curva.area,_.numRed))}}function A0(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.curva.area,_.numRed))}}function eE(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.curva.volumen,_.numRed))}}function tE(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.curva.volumen,_.numRed))}}function nE(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.curva.descTipo)}}function iE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.curva.descTipo)}}const bl=function(t){return{modified:t}};function b_(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,b0,3,4,"span",9),e.qZA(),e.YNc(13,wg,2,4,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,x0,3,4,"span",9),e.qZA(),e.YNc(20,A0,2,4,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,eE,3,4,"span",9),e.qZA(),e.YNc(27,tE,2,4,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,nE,2,1,"span",9),e.qZA(),e.YNc(34,iE,1,1,"ng-template",null,13,e.W1O),e.qZA()()(),e.TgZ(36,"div",5)(37,"div",14)(38,"div",15)(39,"button",16),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}
1),e._uU(40),e.ALo(41,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.oxw();e.xp6(3),e.AsE("",n.id," - ",je.reservoirName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(29,bl,n.curva.modCota)),e.xp6(1),e.hij("",e.lcZ(11,19,"reservoir.fichaTecnica.lblsGuardarCambios.cota"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.curva.modCota)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(31,bl,n.curva.modArea)),e.xp6(1),e.hij("",e.lcZ(18,21,"reservoir.fichaTecnica.lblArea"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.curva.modArea)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(33,bl,n.curva.modVolumen)),e.xp6(1),e.hij("",e.lcZ(25,23,"reservoir.fichaTecnica.lblsGuardarCambios.volumen"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.curva.modVolumen)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(35,bl,n.curva.modCodTipo)),e.xp6(1),e.hij("",e.lcZ(32,25,"reservoir.fichaTecnica.lblsGuardarCambios.tipoCota"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.curva.modCodTipo)("ngIfElse",Qe),e.xp6(7),e.Oqu(e.lcZ(41,27,"botones.cerrar"))}}function E0(t,o){1&t&&e._UZ(0,"app-spinner")}let O0=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.reservoirService=D,this.reservoirName="",this.numRed=s.C.numRed,this.reservoirName=_.itemName,this.reservoirDetail$=this.reservoirService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(v_.H))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-curve-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["cota",""],["area",""],["volumen",""],["descTipo",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,b_,42,37,"div",0),e.ALo(1,"async"),e.YNc(2,E0,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.reservoirDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Pg(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.volumenObjetivo,_.numRed))}}function xl(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.volumenObjetivo,_.numRed))}}function M0(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.volumenMaximo,_.numRed))}}function T0(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.volumenMaximo,_.numRed))}}function D0(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.volumenMinimo,_.numRed))}}function I0(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.volumenMinimo,_.numRed))}}function y0(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.caudalMinimoDesembalse,_.numRed))}}function Rg(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.caudalMinimoDesembalse,_.numRed))}}function S0(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.evaporacion,_.numRed))}}function w0(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.evaporacion,_.numRed))}}function Gc(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.regla.aportacion,_.numRed))}}function P0(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.regla.aportacion,_.numRed))}}const cc=function(t){return{modified:t}};function R0(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"span"),e._uU(13),e.qZA()(),e.TgZ(14,"mat-list-item",7)(15,"span",9),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,Pg,3,4,"span",10),e.qZA(),e.YNc(19,xl,2,4,"ng-template",null,11,e.W1O),e.TgZ(21,"mat-list-item",7)(22,"span",9),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,M0,3,4,"span",10),e.qZA(),e.YNc(26,T0,2,4,"ng-template",null,12,e.W1O),e.TgZ(28,"mat-list-item",7)(29,"span",9),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,D0,3,4,"span",10),e.qZA(),e.YNc(33,I0,2,4,"ng-template",null,13,e.W1O),e.TgZ(35,"mat-list-item",7)(36,"span",9),e._uU(37),e.ALo(38,"translate"),e.qZA(),e.YNc(39,y0,3,4,"span",10),e.qZA(),e.YNc(40,Rg,2,4,"ng-template",null,14,e.W1O),e.TgZ(42,"mat-list-item",7)(43,"span",9),e._uU(44),e.ALo(45,"translate"),e.qZA(),e.YNc(46,S0,3,4,"span",10),e.qZA(),e.YNc(47,w0,2,4,"ng-template",null,15,e.W1O),e.TgZ(49,"mat-list-item",7)(50,"span",9),e._uU(51),e.ALo(52,"translate"),e.qZA(),e.YNc(53,Gc,3,4,"span",10),e.qZA(),e.YNc(54,P0,2,4,"ng-template",null,16,e.W1O),e.qZA()()(),e.TgZ(56,"div",5)(57,"div",17)(58,"div",18)(59,"button",19),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(60),e.ALo(61,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(20),D=e.MAs(27),ue=e.MAs(34),Qe=e.MAs(41),je=e.MAs(55),Zt=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Zt.reservoirName,""),e.xp6(7),e.hij("",e.lcZ(11,29,"reservoir.fichaTecnica.lblMes"),":\xa0"),e.xp6(3),e.Oqu(n.regla.descMes),e.xp6(2),e.Q6J("ngClass",e.VKq(45,cc,n.regla.modVolumenObjetivo)),e.xp6(1),e.hij("",e.lcZ(17,31,"reservoir.fichaTecnica.lblVolumenObjetivo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modVolumenObjetivo)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(47,cc,n.regla.modVolumenMaximo)),e.xp6(1),e.hij("",e.lcZ(24,33,"reservoir.fichaTecnica.lblVolumenMax"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modVolumenMaximo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(49,cc,n.regla.modVolumenMinimo)),e.xp6(1),e.hij("",e.lcZ(31,35,"reservoir.fichaTecnica.lblVolumenMin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modVolumenMinimo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(51,cc,n.regla.modCaudalMinimoDesembalse)),e.xp6(1),e.hij("",e.lcZ(38,37,"reservoir.fichaTecnica.lblCaudalMin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modCaudalMinimoDesembalse)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(53,cc,n.regla.modEvaporacion)),e.xp6(1),e.hij("",e.lcZ(45,39,"reservoir.fichaTecnica.lblEvaporacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modEvaporacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(55,cc,n.regla.modAportacion)),e.xp6(1),e.hij("",e.lcZ(52,41,"reservoir.fichaTecnica.lblAportacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.regla.modAportacion)("ngIfElse",je),e.xp6(7),e.Oqu(e.l
1cZ(61,43,"botones.cerrar"))}}function Zg(t,o){1&t&&e._UZ(0,"app-spinner")}let Z0=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.reservoirService=D,this.reservoirName="",this.numRed=s.C.numRed,this.reservoirName=_.itemName,this.reservoirDetail$=this.reservoirService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(v_.H))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-rule-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["volumenObjetivo",""],["volumenMaximo",""],["volumenMinimo",""],["caudalMinimoDesembalse",""],["evaporacion",""],["aportacion",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,R0,62,57,"div",0),e.ALo(1,"async"),e.YNc(2,Zg,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.reservoirDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Ng=m(7328);function N0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoMinisterio)}}function Md(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoMinisterio)}}function L0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoInfraestructura)}}function Lg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoInfraestructura)}}function Vg(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.modificacionDelCauce)}}function V0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.modificacionDelCauce)}}function U0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.titular)}}function q0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.titular)}}function Td(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoConservacion)}}function k0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoConservacion)}}function Ug(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipologia)}}function F0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipologia)}}function B0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.elementoProteccion)}}function $0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.elementoProteccion)}}function Y0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.fechaActuacion)}}function j0(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaActuacion,_.dateFormat))}}function K0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudMotaEliminada,_.numRed))}}function Q0(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudMotaEliminada,_.numRed))}}function G0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudMotaRetranqueada,_.numRed))}}function qg(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudMotaRetranqueada,_.numRed))}}function kg(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.ubicacion)}}function J0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.ubicacion)}}function W0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.margenAfectada)}}function Fg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.margenAfectada)}}function H0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.gradoIncidencia)}}function z0(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.gradoIncidencia)}}function X0(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.materialObra)}}function Dd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.materialObra)}}function Id(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.revestimiento)}}function Bg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.revestimiento)}}function yd(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.distanciaCauce,_.numEnt))}}function ex(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.distanciaCauce,_.numEnt))}}function tx(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.anchura)}}function Sd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.anchura)}}function nx(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudTaludExterior,_.numEnt))}}
1function $g(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudTaludExterior,_.numEnt))}}function ix(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.longitudTaludInterior,_.numEnt))}}function Yg(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.longitudTaludInterior,_.numEnt))}}function ox(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.alturaExterior,_.numRed))}}function jg(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.alturaExterior,_.numRed))}}function oE(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.alturaInterior,_.numRed))}}function ax(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.alturaInterior,_.numRed))}}function x_(t,o){if(1&t&&(e.TgZ(0,"span",39),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function sx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const na=function(t){return{modified:t}};function Al(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,N0,2,1,"span",14),e.qZA(),e.YNc(10,Md,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",12)(18,"span",13),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.YNc(21,L0,2,1,"span",14),e.qZA(),e.YNc(22,Lg,1,1,"ng-template",null,17,e.W1O),e.TgZ(24,"mat-list-item",18)(25,"span",13),e._uU(26),e.ALo(27,"translate"),e.qZA(),e.YNc(28,Vg,2,1,"span",14),e.qZA(),e.YNc(29,V0,1,1,"ng-template",null,19,e.W1O),e.TgZ(31,"div",11)(32,"h3"),e._uU(33),e.ALo(34,"translate"),e.qZA()(),e.TgZ(35,"mat-list-item",18)(36,"span",13),e._uU(37),e.ALo(38,"translate"),e.qZA(),e.YNc(39,U0,2,1,"span",14),e.qZA(),e.YNc(40,q0,1,1,"ng-template",null,20,e.W1O),e.TgZ(42,"div",11)(43,"h3"),e._uU(44),e.ALo(45,"translate"),e.qZA()(),e.TgZ(46,"mat-list-item",12)(47,"span",13),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,Td,2,1,"span",14),e.qZA(),e.YNc(51,k0,1,1,"ng-template",null,21,e.W1O),e.TgZ(53,"mat-list-item",12)(54,"span",13),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,Ug,2,1,"span",14),e.qZA(),e.YNc(58,F0,1,1,"ng-template",null,22,e.W1O),e.TgZ(60,"mat-list-item",12)(61,"span",13),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,B0,2,1,"span",14),e.qZA(),e.YNc(65,$0,1,1,"ng-template",null,23,e.W1O),e.TgZ(67,"mat-list-item",12)(68,"span",13),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,Y0,2,1,"span",14),e.qZA(),e.YNc(72,j0,2,4,"ng-template",null,24,e.W1O),e.TgZ(74,"mat-list-item",12)(75,"span",13),e._uU(76),e.ALo(77,"translate"),e.ALo(78,"translate"),e.qZA(),e.YNc(79,K0,3,4,"span",14),e.qZA(),e.YNc(80,Q0,2,4,"ng-template",null,25,e.W1O),e.TgZ(82,"mat-list-item",18)(83,"span",13),e._uU(84),e.ALo(85,"translate"),e.ALo(86,"translate"),e.qZA(),e.YNc(87,G0,3,4,"span",14),e.qZA(),e.YNc(88,qg,2,4,"ng-template",null,26,e.W1O),e.TgZ(90,"div",11)(91,"h3"),e._uU(92),e.ALo(93,"translate"),e.qZA()(),e.TgZ(94,"mat-list-item",12)(95,"span",13),e._uU(96),e.ALo(97,"translate"),e.qZA(),e.YNc(98,kg,2,1,"span",14),e.qZA(),e.YNc(99,J0,1,1,"ng-template",null,27,e.W1O),e.TgZ(101,"mat-list-item",12)(102,"span",13),e._uU(103),e.ALo(104,"translate"),e.qZA(),e.YNc(105,W0,2,1,"span",14),e.qZA(),e.YNc(106,Fg,1,1,"ng-template",null,28,e.W1O),e.TgZ(108,"mat-list-item",12)(109,"span",13),e._uU(110),e.ALo(111,"translate"),e.qZA(),e.YNc(112,H0,2,1,"span",14),e.qZA(),e.YNc(113,z0,1,1,"ng-template",null,29,e.W1O),e.TgZ(115,"mat-list-item",12)(116,"span",13),e._uU(117),e.ALo(118,"translate"),e.qZA(),e.YNc(119,X0,2,1,"span",14),e.qZA(),e.YNc(120,Dd,1,1,"ng-template",null,30,e.W1O),e.TgZ(122,"mat-list-item",12)(123,"span",13),e._uU(124),e.ALo(125,"translate"),e.qZA(),e.YNc(126,Id,2,1,"span",14),e.qZA(),e.YNc(127,Bg,1,1,"ng-template",null,31,e.W1O),e.TgZ(129,"mat-list-item",12)(130,"span",13),e._uU(131),e.ALo(132,"translate"),e.ALo(133,"translate"),e.qZA(),e.YNc(134,yd,3,4,"span",14),e.qZA(),e.YNc(135,ex,2,4,"ng-template",null,32,e.W1O),e.TgZ(137,"mat-list-item",12)(138,"span",16),e._uU(139),e.ALo(140,"translate"),e.ALo(141,"translate"),e.qZA(),e._uU(142),e.qZA(),e.TgZ(143,"mat-list-item",12)(144,"span",13),e._uU(145),e.ALo(146,"translate"),e.qZA(),e.YNc(147,tx,2,1,"span",14),e.qZA(),e.YNc(148,Sd,1,1,"ng-template",null,33,e.W1O),e.TgZ(150,"mat-list-item",12)(151,"span",13),e._uU(152),e.ALo(153,"translate"),e.ALo(154,"translate"),e.qZA(),e.YNc(155,nx,3,4,"span",14),e.qZA(),e.YNc(156,$g,2,4,"ng-template",null,34,e.W1O),e.TgZ(158,"mat-list-item",12)(159,"span",13),e._uU(160),e.ALo(161,"translate"),e.ALo(162,"translate"),e.qZA(),e.YNc(163,ix,3,4,"span",14),e.qZA(),e.YNc(164,Yg,2,4,"ng-template",null,35,e.W1O),e.TgZ(166,"mat-list-item",12)(167,"span",13),e._uU(168),e.ALo(169,"translate"),e.ALo(170,"translate"),e.qZA(),e.YNc(171,ox,3,4,"span",14),e.qZA(),e.YNc(172,jg,2,4,"ng-template",null,36,e.W1O),e.TgZ(174,"mat-list-item",12)(175,"span",13),e._uU(176),e.ALo(177,"translate"),e.ALo(178,"translate"),e.qZA(),e.YNc(179,oE,3,4,"span",14),e.qZA(),e.YNc(180,ax,2,4,"ng-template",null,37,e.W1O),e.TgZ(182,"mat-list-item",18)(183,"span",13),e._uU(184),e.ALo(185,"translate"),e.qZA(),e.YNc(186,x_,2,1,"span",14),e.qZA(),e.YNc(187,sx,1,1,"ng-template",null,38,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(23),D=e.MAs(30),ue=e.MAs(41),Qe=e.MAs(52),je=e.MAs(59),Zt=e.MAs(66),qe=e.MAs(73),tn=e.MAs(81),mn=e.MAs(89),mi=e.MAs(100),Rn=e.MAs(107),dn=e.MAs(114),si=e.MAs(121),jn=e.MAs(128),da=e.MAs(136),ii=e.MAs(149),Ci=e.MAs(157),is=e.MAs(165),Li=e.MAs(173),Pn=e.MAs(181),hr=e.MAs(188),bi=e.oxw().ngIf;
1e.xp6(3),e.Oqu(e.lcZ(4,104,"obstacles.fichaTecnica.lblDatosGenerales")),e.xp6(3),e.Q6J("ngClass",e.VKq(176,na,bi.modCodigoMinisterio)),e.xp6(1),e.hij("",e.lcZ(8,106,"obstacles.fichaGeneral.lblCodigoMinisterio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodigoMinisterio)("ngIfElse",n),e.xp6(5),e.hij("",e.lcZ(15,108,"obstacles.fichaGeneral.lblNombre"),":\xa0"),e.xp6(2),e.hij("",bi.nombre," "),e.xp6(2),e.Q6J("ngClass",e.VKq(178,na,bi.modCodTipoInfraestructura)),e.xp6(1),e.hij("",e.lcZ(20,110,"obstacles.fichaGeneral.lblTipoInfraestructura"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodTipoInfraestructura)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(180,na,bi.modCodModificacionDelCauce)),e.xp6(1),e.hij("",e.lcZ(27,112,"obstacles.fichaTecnica.lblModificacionCauce"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodModificacionDelCauce)("ngIfElse",D),e.xp6(5),e.Oqu(e.lcZ(34,114,"obstacles.fichaTecnica.lblDatosLocalizacion")),e.xp6(3),e.Q6J("ngClass",e.VKq(182,na,bi.modCodTitular)),e.xp6(1),e.hij("",e.lcZ(38,116,"obstacles.fichaGeneral.lblTitular"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodTitular)("ngIfElse",ue),e.xp6(5),e.Oqu(e.l
1cZ(45,118,"obstacles.fichaTecnica.lblDatosTipologiaYUsos")),e.xp6(3),e.Q6J("ngClass",e.VKq(184,na,bi.modCodEstadoConservacion)),e.xp6(1),e.hij("",e.lcZ(49,120,"obstacles.fichaGeneral.lblConservacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodEstadoConservacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(186,na,bi.modCodTipologia)),e.xp6(1),e.hij("",e.lcZ(56,122,"obstacles.fichaGeneral.lblTipologia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodTipologia)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(188,na,bi.modCodElementoProteccion)),e.xp6(1),e.hij("",e.lcZ(63,124,"obstacles.fichaTecnica.lblElementosProteccion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodElementoProteccion)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(190,na,bi.modFechaActuacion)),e.xp6(1),e.hij("",e.lcZ(70,126,"obstacles.fichaTecnica.lblFechaActuacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modFechaActuacion)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(192,na,bi.modLongitudMotaEliminada)),e.xp6(1),e.AsE("",e.lcZ(77,128,"obstacles.fichaTecnica.lblLongitudMotaEliminada")," [",e.lcZ(78,130,"unidades.metros"),"]:\xa0"),e.xp6(3),e.Q6J("ngIf",bi.modLongitudMotaEliminada)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(194,na,bi.modLongitudMotaRetranqueada)),e.xp6(1),e.AsE("",e.lcZ(85,132,"obstacles.fichaTecnica.lblLongitudMotaRetranqueada")," [",e.lcZ(86,134,"unidades.metros"),"]:\xa0"),e.xp6(3),e.Q6J("ngIf",bi.modLongitudMotaRetranqueada)("ngIfElse",mn),e.xp6(
15),e.Oqu(e.lcZ(93,136,"obstacles.fichaTecnica.lblDatosTecnicos")),e.xp6(3),e.Q6J("ngClass",e.VKq(196,na,bi.modCodUbicacion)),e.xp6(1),e.hij("",e.lcZ(97,138,"obstacles.fichaTecnica.lblUbicacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodUbicacion)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(198,na,bi.modCodMargenAfectada)),e.xp6(1),e.hij("",e.lcZ(104,140,"obstacles.fichaTecnica.lblMargenAfectada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodMargenAfectada)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(200,na,bi.modCodGradoIncidencia)),e.xp6(1),e.hij("",e.lcZ(111,142,"obstacles.fichaTecnica.lblGradoIncidencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodGradoIncidencia)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(202,na,bi.modCodMaterialObra)),e.xp6(1),e.hij("",e.lcZ(118,144,"obstacles.fichaTecnica.lblMaterialObra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodMaterialObra)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(204,na,bi.modCodRevestimiento)),e.xp6(1),e.hij("",e.lcZ(125,146,"obstacles.fichaTecnica.lblRevestimiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodRevestimiento)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(206,na,bi.modDistanciaCauce)),e.xp6(1),e.AsE("",e.lcZ(132,148,"obstacles.fichaTecnica.lblDistanciaCauce")," [",e.lcZ(133,150,"unidades.metros"),"]:\xa0"),e.xp6(3),e.Q6J("ngIf",bi.modDistanciaCauce)("ngIfElse",da),e.xp6(5),e.AsE("",e.lcZ(140,152,"obstacles.fichaTecnica.lblLongitudActual")," [",e.lcZ(141,154,"unidades.metros"),"]:\xa0"),e.xp6(3),e.hij("",bi.longitudActual," "),e.xp6(2),e.Q6J("ngClass",e.VKq(208,na,bi.modCodAnchura)),e.xp6(1),e.hij("",e.lcZ(146,156,"obstacles.fichaTecnica.lblAnchura"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modCodAnchura)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(210,na,bi.modLongitudTaludExterior)),e.xp6(1),e.AsE("",e.lcZ(153,158,"obstacles.fichaTecnica.lblLongitudTaludExt")," [",e.lcZ(154,160,"unidades.metros"),"]:\xa0"),e.xp6(3),e.Q6J("ngIf",bi.modLongitudTaludExterior)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(212,na,bi.modLongitudTaludInterior)),e.xp6(1),e.AsE("",e.lcZ(161,162,"obstacles.fichaTecnica.lblLongitudTaludInt")," [",e.lcZ(162,164,"unidades.metros"),"]:\xa0"),e.xp6(3),e.Q6J("ngIf",bi.modLongitudTaludInterior)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(214,na,bi.modAlturaExterior)),e.xp6(1),e.AsE("",e.lcZ(169,166,"obstacles.fichaTecnica.lblAlturaExt")," [",e.lcZ(170,168,"unidades.metros"),"]:\xa0"),e.xp6(3),e.Q6J("ngIf",bi.modAlturaExterior)("ngIfElse",Li),e.xp6(4),e.Q6J("ngClass",e.VKq(216,na,bi.modAlturaInterior)),e.xp6(1),e.AsE("",e.lcZ(177,170,"obstacles.fichaTecnica.lblAlturaInt")," [",e.lcZ(178,172,"unidades.metros"),"]:\xa0"),e.xp6(3),e.Q6J("ngIf",bi.modAlturaInterior)("ngIfElse",Pn),e.xp6(4),e.Q6J("ngClass",e.VKq(218,na,bi.modComentarios)),e.xp6(1),e.hij("",e.lcZ(185,174,"obstacles.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",bi.modComentarios)("ngIfElse",hr)}}function rx(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Al,189,220,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.obstacleName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function aE(t,o){1&t&&e._UZ(0,"app-spinner")}let Kg=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.obstaclesService=D,this.obstacleName="",this.numRed=s.C.numRed,this.numEnt=s.C.numEnt,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.obstacleName=_.itemName,this.operationCode=_.operation,this.obstacleDetail$=this.obstaclesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Ng.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"container-subtitle"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["codigoMinisterio",""],["appBold",""],["tipoInfraestructura",""],[1,"bar-gradient","mb-4"],["modificacionDelCauce",""],["titular",""],["estadoConservacion",""],["tipologia",""],["elementoProteccion",""],["fechaActuacion",""],["longitudMotaEliminada",""],["longitudMotaRetranqueada",""],["ubicacion",""],["margenAfectada",""],["gradoIncidencia",""],["materialObra",""],["revestimiento",""],["distanciaCauce",""],["anchura",""],["longitudTaludExterior",""],["longitudTaludInterior",""],["alturaExterior",""],["alturaInterior",""],["comentarios",""],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,rx,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,aE,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.obstacleDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.uU,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var cx=m(503),lx=m(5488);function _x(t,o){if(1&t&&(e.TgZ(0,"div")(1,"mat-list-item",8)(2,"span",9),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",9),e._uU(6),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,2,"pressureCommon.fichaTecnica.lblTipoPresion"),":\xa0"),e.xp6(3),e.Oqu(n.tipoPresion)}}function px(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.relevanciaPresionFinal)}}function Qg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.relevanciaPresion)}}const dx=function(t){return{modified:t}};function wd(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list"),e.YNc(8,_x,7,4,"div",7),e.TgZ(9,"mat-list-item",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"span",9),e._uU(14),e.qZA()(),e.TgZ(15,"mat-list-item",8)(16,"span",10),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,px,2,1,"span",11),e.qZA(),e.YNc(20,Qg,1,1,"ng-template",null,12,e.W1O),e.qZA()()(),e.TgZ(22,"div",5)(23,"div",13)(24,"div",14)(25,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(21),D=e.oxw();e.xp6(3),e.AsE("",n.id," - ",D.entityName,""),e.xp6(5),e.Q6J("ngIf",n.tipoPresion),e.xp6(3),e.hij("",e.lcZ(12,10,"pressureCommon.fichaTecnica.lblImpactoPuedeGenerar"),":\xa0"),e.xp6(3),e.Oqu(n.impacto),e.xp6(2),e.Q6J("ngClass",e.VKq(16,dx,n.modRelevanciaFinal)),e.xp6(1),e.hij("",e.lcZ(18,12,"pressureCommon.fichaTecnica.lblAsignacionDefinitivaRelevanciaPresion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modRelevanciaFinal)("ngIfElse",_),e.xp6(7),e.Oqu(e.l
1cZ(27,14,"botones.cerrar"))}}function A_(t,o){1&t&&e._UZ(0,"app-spinner")}let Ks=(()=>{class t{constructor(n,_,D,ue){this.dialogRef=n,this.data=_,this.globalPressureService=D,this.globalMasaSuperficialService=ue,this.entityName="",this.entityName=_.itemName,(_.entityType==s.C.tipoEntidad.masasRio||_.entityType==s.C.tipoEntidad.masasLago||_.entityType==s.C.tipoEntidad.masasEmbalses)&&(this.relevanciaPresion$=this.globalMasaSuperficialService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation,_.entityType)),(_.entityType==s.C.tipoEntidad.obstaculosLongitudinales||_.entityType==s.C.tipoEntidad.presas||_.entityType==s.C.tipoEntidad.contaminacionSubterranea||_.entityType==s.C.tipoEntidad.contaminacionSuperficial||_.entityType==s.C.tipoEntidad.puntosDesbordamiento)&&(this.relevanciaPresion$=this.globalPressureService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.entityType))}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(cx.H),e.Y36(lx.A))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-pressure-relevance-edit-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"bar-gradient"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["relevanciaPresion",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,wd,28,18,"div",0),e.ALo(1,"async"),e.YNc(2,A_,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.relevanciaPresion$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px!important;padding-bottom:16px!important;height:auto!important}"]}),t})();var ux=m(8466);function Gg(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Jg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function hx(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoMinisterio)}}function mx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoMinisterio)}}function Pd(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoLaboratorio)}}function gx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoMinisterio)}}function sE(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descEstacionAutomatica)}}function fx(t,o){if(1&t&&(e._uU(0),e.ALo(1,"translate")),2&t){const n=e.oxw().ngIf;e.Oqu(e.lcZ(1,1,n.descEstacionAutomatica?"si":"no"))}}function vx(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.hij(" ",e.lcZ(2,1,n.puntoMuestreoPeces?"si":"no"),"")}}
1function Jc(t,o){if(1&t&&(e._uU(0),e.ALo(1,"translate")),2&t){const n=e.oxw().ngIf;e.hij(" ",e.lcZ(1,1,n.puntoMuestreoPeces?"si":"no")," ")}}function Wg(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descripcion)}}function Wc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descripcion)}}const El=function(t){return{modified:t}};function Hg(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,Gg,2,1,"span",10),e.qZA(),e.YNc(18,Jg,1,1,"ng-template",null,11,e.W1O),e.TgZ(20,"mat-list-item",7)(21,"span",9),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,hx,2,1,"span",10),e.qZA(),e.YNc(25,mx,1,1,"ng-template",null,12,e.W1O),e.TgZ(27,"mat-list-item",7)(28,"span",9),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,Pd,2,1,"span",10),e.qZA(),e.YNc(32,gx,1,1,"ng-template",null,13,e.W1O),e.TgZ(34,"mat-list-item",7)(35,"span",9),e._uU(36),e.ALo(37,"translate"),e.qZA(),e.YNc(38,sE,2,1,"span",10),e.qZA(),e.YNc(39,fx,2,3,"ng-template",null,14,e.W1O),e.TgZ(41,"mat-list-item",7)(42,"span",9),e._uU(43),e.ALo(44,"translate"),e.qZA(),e.YNc(45,vx,3,3,"span",10),e.qZA(),e.YNc(46,Jc,2,3,"ng-template",null,15,e.W1O),e.TgZ(48,"mat-list-item",7)(49,"span",16),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,Wg,2,1,"span",10),e.qZA(),e.YNc(53,Wc,1,1,"ng-template",null,17,e.W1O),e.qZA()()(),e.TgZ(55,"div",5)(56,"div",18)(57,"div",19)(58,"button",20),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(59),e.ALo(60,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(40),je=e.MAs(47),Zt=e.MAs(54),qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",qe.samplingPointName,""),e.xp6(7),e.hij("",e.lcZ(11,29,"samplingPoints.fichaTecnica.codigoPrincipal"),":\xa0"),e.xp6(2),e.hij("",n.codigoPrincipal," "),e.xp6(2),e.Q6J("ngClass",e.VKq(45,El,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(16,31,"samplingPoints.fichaGeneral.ppalesCaracteristicas.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(47,El,n.modCodigoMinisterio)),e.xp6(1),e.hij("",e.lcZ(23,33,"samplingPoints.fichaGeneral.ppalesCaracteristicas.codigoMinisterio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoMinisterio)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(49,El,n.modCodigoLaboratorio)),e.xp6(1),e.hij("",e.lcZ(30,35,"samplingPoints.fichaGeneral.ppalesCaracteristicas.codigoLaboratorio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoLaboratorio)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(51,El,n.modEstacionAutomatica)),e.xp6(1),e.hij("",e.lcZ(37,37,"samplingPoints.fichaGeneral.ppalesCaracteristicas.estacionAutomatica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modEstacionAutomatica)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(53,El,n.modPuntoMuestreoPeces)),e.xp6(1),e.hij(" ",e.lcZ(44,39,"samplingPoints.fichaTecnica.puntoMuestreoPeces"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modPuntoMuestreoPeces)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(55,El,n.modDescripcion)),e.xp6(1),e.hij("",e.lcZ(51,41,"samplingPoints.fichaGeneral.ppalesCaracteristicas.descripcion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modDescripcion)("ngIfElse",Zt),e.xp6(7),e.Oqu(e.l
1cZ(60,43,"botones.cerrar"))}}function Cx(t,o){1&t&&e._UZ(0,"app-spinner")}let rE=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.samplingPointsService=D,this.samplingPointName="",this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.samplingPointName=_.itemName,this.operationCode=_.operation,this.samplingPointDetail$=this.samplingPointsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(ux.p))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codigoMinisterio",""],["codigoLaboratorio",""],["estacionAutomatica",""],["puntoMuestreoPeces",""],["appBold","",1,"text-wrap",3,"ngClass"],["descripcion",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Hg,61,57,"div",0),e.ALo(1,"async"),e.YNc(2,Cx,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.samplingPointDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px!important;padding-bottom:16px!important;height:auto!important}"]}),t})();var zg=m(5392);function cE(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Xg(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function Rd(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descripcionPD)}}function ef(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descripcionPD)}}function tf(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.pvdCodigo)}}function nf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.pvdCodigo)}}function af(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.pdCodigo)}}function sf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.pdCodigo)}}function bx(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipoSistemaSaneamiento)}}function rf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipoSistemaSaneamiento)}}function xx(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descTipoInfraRegulacion)}}function Ax(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descTipoInfraRegulacion)}}function Ex(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.identificadorPunto)}}function Ol(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.identificadorPunto)}}function cf(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.ubicacion)}}function lf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.ubicacion)}}function _f(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.localidad)}}function pf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.localidad)}}function df(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.descVertidoA)}}function uf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.descVertidoA)}}function Ox(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombreMedioReceptor)}}function hf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombreMedioReceptor)}}function mf(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.expedienteVertido)}}
1function gf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.expedienteVertido)}}const Qs=function(t){return{modified:t}};function Mx(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"div",7)(9,"h3"),e._uU(10),e.ALo(11,"translate"),e.qZA()(),e.TgZ(12,"mat-list-item",8)(13,"span",9),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,cE,2,1,"span",10),e.qZA(),e.YNc(17,Xg,1,1,"ng-template",null,11,e.W1O),e.TgZ(19,"mat-list-item",8)(20,"span",9),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.YNc(23,Rd,2,1,"span",10),e.qZA(),e.YNc(24,ef,1,1,"ng-template",null,12,e.W1O),e.TgZ(26,"mat-list-item",8)(27,"span",9),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.YNc(30,tf,2,1,"span",10),e.qZA(),e.YNc(31,nf,1,1,"ng-template",null,13,e.W1O),e.TgZ(33,"mat-list-item",8)(34,"span",9),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.YNc(37,af,2,1,"span",10),e.qZA(),e.YNc(38,sf,1,1,"ng-template",null,13,e.W1O),e.TgZ(40,"mat-list-item",8)(41,"span",9),e._uU(42),e.ALo(43,"translate"),e.qZA(),e.YNc(44,bx,2,1,"span",10),e.qZA(),e.YNc(45,rf,1,1,"ng-template",null,14,e.W1O),e.TgZ(47,"mat-list-item",8)(48,"span",9),e._uU(49),e.ALo(50,"translate"),e.qZA(),e.YNc(51,xx,2,1,"span",10),e.qZA(),e.YNc(52,Ax,1,1,"ng-template",null,15,e.W1O),e.TgZ(54,"mat-list-item",8)(55,"span",9),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.YNc(58,Ex,2,1,"span",10),e.qZA(),e.YNc(59,Ol,1,1,"ng-template",null,16,e.W1O),e.TgZ(61,"mat-list-item",8)(62,"span",9),e._uU(63),e.ALo(64,"translate"),e.qZA(),e.YNc(65,cf,2,1,"span",10),e.qZA(),e.YNc(66,lf,1,1,"ng-template",null,17,e.W1O),e.TgZ(68,"div",7)(69,"h3"),e._uU(70),e.ALo(71,"translate"),e.qZA()(),e.TgZ(72,"mat-list-item",8)(73,"span",9),e._uU(74),e.ALo(75,"translate"),e.qZA(),e.YNc(76,_f,2,1,"span",10),e.qZA(),e.YNc(77,pf,1,1,"ng-template",null,18,e.W1O),e.TgZ(79,"mat-list-item",8)(80,"span",9),e._uU(81),e.ALo(82,"translate"),e.qZA(),e.YNc(83,df,2,1,"span",10),e.qZA(),e.YNc(84,uf,1,1,"ng-template",null,19,e.W1O),e.TgZ(86,"mat-list-item",8)(87,"span",9),e._uU(88),e.ALo(89,"translate"),e.qZA(),e.YNc(90,Ox,2,1,"span",10),e.qZA(),e.YNc(91,hf,1,1,"ng-template",null,20,e.W1O),e.TgZ(93,"div",7)(94,"h3"),e._uU(95),e.ALo(96,"translate"),e.qZA()(),e.TgZ(97,"mat-list-item",8)(98,"span",9),e._uU(99),e.ALo(100,"translate"),e.qZA(),e.YNc(101,mf,2,1,"span",10),e.qZA(),e.YNc(102,gf,1,1,"ng-template",null,21,e.W1O),e.qZA()()(),e.TgZ(104,"div",5)(105,"div",22)(106,"div",23)(107,"button",24),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(108),e.ALo(109,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(18),D=e.MAs(25),ue=e.MAs(32),Qe=e.MAs(46),je=e.MAs(53),Zt=e.MAs(60),qe=e.MAs(67),tn=e.MAs(78),mn=e.MAs(85),mi=e.MAs(92),Rn=e.MAs(103),dn=e.oxw();e.xp6(3),e.AsE("",n.id," - ",dn.rainOverflowName,""),e.xp6(7),e.Oqu(e.l
1cZ(11,54,"rainOverflow.fichaTecnica.lblDatosGenerales")),e.xp6(3),e.Q6J("ngClass",e.VKq(86,Qs,n.modName)),e.xp6(1),e.hij("",e.lcZ(15,56,"rainOverflow.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modName)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(88,Qs,n.modDescripcionPD)),e.xp6(1),e.hij("",e.lcZ(22,58,"rainOverflow.fichaTecnica.lblDescripcionPD"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modDescripcionPD)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(90,Qs,n.modPVDCodigo)),e.xp6(1),e.hij("",e.lcZ(29,60,"rainOverflow.fichaTecnica.lblCodigoPVD"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modPVDCodigo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(92,Qs,n.modPDCodigo)),e.xp6(1),e.hij("",e.lcZ(36,62,"rainOverflow.fichaTecnica.lblCodigoPD"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modPDCodigo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(94,Qs,n.modSistemaSaneam)),e.xp6(1),e.hij("",e.lcZ(43,64,"rainOverflow.fichaTecnica.lblTipoSistemaSaneamiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modSistemaSaneam)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(96,Qs,n.modInfraReg)),e.xp6(1),e.hij("",e.lcZ(50,66,"rainOverflow.fichaTecnica.lblInfraestructuraRegulacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modInfraReg)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(98,Qs,n.modIdPunto)),e.xp6(1),e.hij("",e.lcZ(57,68,"rainOverflow.fichaTecnica.lblIdentificadorPunto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modIdPunto)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(100,Qs,n.modUbicacion)),e.xp6(1),e.hij("",e.lcZ(64,70,"rainOverflow.fichaTecnica.lblUbicacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modUbicacion)("ngIfElse",qe),e.xp6(5),e.Oqu(e.l
1cZ(71,72,"rainOverflow.fichaTecnica.lblLocalizacion")),e.xp6(3),e.Q6J("ngClass",e.VKq(102,Qs,n.modLocalidad)),e.xp6(1),e.hij("",e.lcZ(75,74,"rainOverflow.fichaTecnica.lblLocalidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modLocalidad)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(104,Qs,n.modVertidoA)),e.xp6(1),e.hij("",e.lcZ(82,76,"rainOverflow.fichaTecnica.lblVertidoA"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modVertidoA)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(106,Qs,n.modNombreMedioReceptor)),e.xp6(1),e.hij("",e.lcZ(89,78,"rainOverflow.fichaTecnica.lblNombreMedioReceptor"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombreMedioReceptor)("ngIfElse",mi),e.xp6(5),e.Oqu(e.lcZ(96,80,"rainOverflow.fichaTecnica.lblVertidoAsociado")),e.xp6(3),e.Q6J("ngClass",e.VKq(108,Qs,n.modExpendienteVer)),e.xp6(1),e.hij("",e.lcZ(100,82,"rainOverflow.fichaTecnica.lblExpedienteVertido"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modExpendienteVer)("ngIfElse",Rn),e.xp6(7),e.Oqu(e.lcZ(109,84,"botones.cerrar"))}}function Ml(t,o){1&t&&e._UZ(0,"app-spinner")}let Tx=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.rainOverflowService=D,this.rainOverflowName="",this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.rainOverflowName=_.itemName,this.operationCode=_.operation,this.rainOverflowDetail$=this.rainOverflowService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zg.p))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"container-subtitle"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["descripcionPD",""],["pvdCodigo",""],["descTipoSistemaSaneamiento",""],["descTipoInfraRegulacion",""],["identificadorPunto",""],["ubicacion",""],["localidad",""],["descVertidoA",""],["nombreMedioReceptor",""],["expedienteVertido",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Mx,110,110,"div",0),e.ALo(1,"async"),e.YNc(2,Ml,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.rainOverflowDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Hc=m(351);function Pr(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Dx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function E_(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Tl(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function Ix(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function yx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const Zd=function(t){return{modified:t}};function O_(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Pr,2,1,"span",9),e.qZA(),e.YNc(13,Dx,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",11),e._uU(17),e.ALo(18,"translate"),e.qZA(),e._uU(19),e.ALo(20,"number"),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,E_,2,1,"span",9),e.qZA(),e.YNc(27,Tl,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Ix,2,1,"span",13),e.qZA(),e.YNc(34,yx,1,1,"ng-template",14,15,e.W1O),e.qZA()()(),e.TgZ(36,"div",5)(37,"div",16)(38,"div",17)(39,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}
1),e._uU(40),e.ALo(41,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(28),ue=e.MAs(35),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.riverNatureReserveName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(33,Zd,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,18,"riverNatureReserves.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(5),e.hij("",e.lcZ(18,20,"riverNatureReserves.fichaTecnica.lblLongitud"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(20,22,n.length,Qe.numRed)," ",e.lcZ(21,25,"unidades.km")," "),e.xp6(4),e.Q6J("ngClass",e.VKq(35,Zd,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(25,27,"riverNatureReserves.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(37,Zd,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(32,29,"riverNatureReserves.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",ue),e.xp6(7),e.Oqu(e.lcZ(41,31,"botones.cerrar"))}}function M_(t,o){1&t&&e._UZ(0,"app-spinner")}let Sx=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.riverNatureReservesService=D,this.riverNatureReserveName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.riverNatureReserveName=_.itemName,this.operationCode=_.operation,this.riverNatureReserveDetail$=this.riverNatureReservesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Hc.h))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appBold",""],["codigoEuropeo",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,O_,42,39,"div",0),e.ALo(1,"async"),e.YNc(2,M_,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverNatureReserveDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var wx=m(4218);
1function ff(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function vf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Nd(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Cf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function Px(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoAlternativo)}}function Rx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoAlternativo)}}const bf=function(t){return{modified:t}};function Ld(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,ff,2,1,"span",13),e.qZA(),e.YNc(6,vf,1,1,"ng-template",null,14,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Nd,2,1,"span",13),e.qZA(),e.YNc(13,Cf,1,1,"ng-template",null,15,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",12),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,Px,2,1,"span",13),e.qZA(),e.YNc(20,Rx,1,1,"ng-template",null,16,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(18,bf,ue.modNombre)),e.xp6(1),e.hij("",e.lcZ(4,12,"livestocks.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(20,bf,ue.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(11,14,"livestocks.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.modCodigoEuropeo)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(22,bf,ue.modCodigoAlternativo)),e.xp6(1),e.hij("",e.lcZ(18,16,"livestocks.fichaTecnica.lblsGuardarCambios.codigoAlternativo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.modCodigoAlternativo)("ngIfElse",D)}}function Vd(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Ld,22,24,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.livestockName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.generalOperation),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function xf(t,o){1&t&&e._UZ(0,"app-spinner")}let Ud=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.livestockService=D,this.livestockName="",this.numRed=s.C.numRed,this.generalOperation=s.C.operacion.OPERACION_GENERAL,this.livestockName=_.itemName,this.operationCode=_.operation,this.livestockDetail$=this.livestockService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(wx.X))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codigoEuropeo",""],["codigoAlternativo",""],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Vd,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,xf,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.livestockDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var qd=m(4540);function Zx(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Nx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Lx(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoDemandaDesc)}}function Vx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoDemandaDesc)}}function Af(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.escenarioReferenciaDesc)}}function kd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.escenarioReferenciaDesc)}}function Ef(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.origenAguaDesc)}}function Of(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.origenAguaDesc)}}function Mf(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoSCV)}}function Tf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoSCV)}}function Ux(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.origenRecursoDesc)}}function Df(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.origenRecursoDesc)}}function If(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.granExplotacionDesc)}}function qx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.granExplotacionDesc)}}function yf(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tramoReguladoDesc)}}function Sf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tramoReguladoDesc)}}function xs(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.explotacionIPPCDesc)}}function zc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.explotacionIPPCDesc)}}function kx(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.unidadTerritorialDesc)}}function Fx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.unidadTerritorialDesc)}}function lE(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoIPPC)}}function Dl(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoIPPC)}}function Bx(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Fd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const ns=function(t){return{modified:t}};function wf(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Zx,2,1,"span",13),e.qZA(),e.YNc(9,Nx,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,Lx,2,1,"span",13),e.qZA(),e.YNc(16,Vx,1,1,"ng-template",null,15,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,Af,2,1,"span",13),e.qZA(),e.YNc(23,kd,1,1,"ng-template",null,16,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,Ef,2,1,"span",13),e.qZA(),e.YNc(30,Of,1,1,"ng-template",null,17,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,Mf,2,1,"span",13),e.qZA(),e.YNc(37,Tf,1,1,"ng-template",null,18,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,Ux,2,1,"span",19),e.qZA(),e.YNc(44,Df,1,1,"ng-template",20,21,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,If,2,1,"span",19),e.qZA(),e.YNc(51,qx,1,1,"ng-template",20,22,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,yf,2,1,"span",19),e.qZA(),e.YNc(58,Sf,1,1,"ng-template",20,23,e.W1O),e.TgZ(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,xs,2,1,"span",19),e.qZA(),e.YNc(65,zc,1,1,"ng-template",20,24,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,kx,2,1,"span",13),e.qZA(),e.YNc(72,Fx,1,1,"ng-template",null,25,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,lE,2,1,"span",13),e.qZA(),e.YNc(79,Dl,1,1,"ng-template",null,26,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,Bx,2,1,"span",19),e.qZA(),e.YNc(86,Fd,1,1,"ng-template",20,27,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(72,ns,dn.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,48,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(74,ns,dn.modTipoDemanda)),e.xp6(1),e.hij("",e.lcZ(14,50,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.tipoDemanda"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modTipoDemanda)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(76,ns,dn.modEscenarioReferencia)),e.xp6(1),e.hij("",e.lcZ(21,52,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.escenarioReferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modEscenarioReferencia)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(78,ns,dn.modOrigenAgua)),e.xp6(1),e.hij("",e.lcZ(28,54,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.origenAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modOrigenAgua)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(80,ns,dn.modCodigoSCV)),e.xp6(1),e.hij("",e.lcZ(35,56,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.codigoSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modCodigoSCV)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(82,ns,dn.modOrigenRecurso)),e.xp6(1),e.hij("",e.lcZ(42,58,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.origenRecurso"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modOrigenRecurso)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(84,ns,dn.modGranExplotacion)),e.xp6(1),e.hij("",e.lcZ(49,60,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.granExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modGranExplotacion)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(86,ns,dn.modTramoRegulado)),e.xp6(1),e.hij("",e.lcZ(56,62,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.tramoRegulado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modTramoRegulado)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(88,ns,dn.modExplotacionIPPC)),e.xp6(1),e.hij("",e.lcZ(63,64,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.explotacionIPPC"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modExplotacionIPPC)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(90,ns,dn.modUnidadTerritorial)),e.xp6(1),e.hij("",e.lcZ(70,66,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.unidadTerritorial"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modUnidadTerritorial)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(92,ns,dn.modCodigoIPPC)),e.xp6(1),e.hij("",e.lcZ(77,68,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.codigoIPPC"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modCodigoIPPC)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(94,ns,dn.modComentarios)),e.xp6(1),e.hij("",e.lcZ(84,70,"uelLivestockDemands.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.modComentarios)("ngIfElse",Rn)}}function $x(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function Yx(t,o){1&t&&e._UZ(0,"span",30)}function Bd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function Pf(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.nombre)}}function Rf(t,o){1&t&&e._UZ(0,"span",30)}function T_(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.nombre)}}function $d(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function _E(t,o){1&t&&e._UZ(0,"span",30)}function Zf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function jx(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}function Nf(t,o){1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.porcentaje"),""))}function D_(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.tomaRetornoInfraMod.reparto,_.numRed))}}function Lf(t,o){if(1&t&&(e.TgZ(0,"div")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,jx,3,4,"span",13),e.YNc(6,Nf,3,3,"span",34),e.qZA(),e.YNc(7,D_,2,4,"ng-template",null,35,e.W1O),e.qZA()),2&t){const n=e.MAs(8),_=e.oxw(2).ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(7,ns,_.tomaRetornoInfraMod.modReparto)),e.xp6(1),e.hij("",e.lcZ(4,5,"demandsCommon.fichaTecnica.lblRepartoTomasRetornos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.tomaRetornoInfraMod.modReparto)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",_.tomaRetornoInfraMod.reparto)}}function Kx(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",30),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,$x,2,1,"span",13),e.YNc(14,Yx,1,0,"span",31),e.qZA(),e.YNc(15,Bd,1,1,"ng-template",null,32,e.W1O),e.TgZ(17,"mat-list-item",11)(18,"span",12),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.YNc(21,Pf,2,1,"span",13),e.YNc(22,Rf,1,0,"span",31),e.qZA(),e.YNc(23,T_,1,1,"ng-template",null,14,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,$d,2,1,"span",13),e.YNc(30,_E,1,0,"span",31),e.qZA(),e.YNc(31,Zf,1,1,"ng-template",null,33,e.W1O),e.YNc(33,Lf,9,9,"div",5),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(16),_=e.MAs(24),D=e.MAs(32),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,18,"useCommon.fichaTecnica.lblRelacion"),":\xa0"),e.xp6(2),e.hij("",ue.tomaRetornoInfraMod.relacion," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,ns,ue.tomaRetornoInfraMod.modMasa)),e.xp6(1),e.hij("",e.lcZ(12,20,"useCommon.fichaTecnica.lblId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modMasa)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.idMasa),e.xp6(4),e.Q6J("ngClass",e.VKq(28,ns,ue.tomaRetornoInfraMod.modNombre)),e.xp6(1),e.hij("",e.lcZ(20,22,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modNombre)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(30,ns,ue.tomaRetornoInfraMod.modTipoElemento)),e.xp6(1),e.hij("",e.lcZ(28,24,"useCommon.fichaTecnica.lblTipoElemento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modTipoElemento)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",ue.tomaRetornoInfraMod.tipoElemento),e.xp6(3),e.Q6J("ngIf",ue.tomaRetornoInfraMod.modReparto)}}function Yd(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.tendenciaMod.volumenDemandado,_.numRed),"")}}
1function jd(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.tendenciaMod.volumenDemandado,_.numRed))}}function pE(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.tendenciaMod.volumenDerecho,_.numRed),"")}}function Qx(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.tendenciaMod.volumenDerecho,_.numRed))}}function Gx(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.tendenciaMod.coeficienteUGM,_.numRed),"")}}function Vf(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.tendenciaMod.coeficienteUGM,_.numRed))}}function Uf(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,Yd,3,4,"span",13),e.qZA(),e.YNc(6,jd,2,4,"ng-template",null,36,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,pE,3,4,"span",13),e.qZA(),e.YNc(13,Qx,2,4,"ng-template",null,37,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",12),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,Gx,3,4,"span",13),e.qZA(),e.YNc(20,Vf,2,4,"ng-template",null,38,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(18,ns,ue.tendenciaMod.modVolumenDemandado)),e.xp6(1),e.hij(" ",e.lcZ(4,12,"uelLivestockDemands.fichaTendencias.lblsGuardarCambios.volumenDemandado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tendenciaMod.modVolumenDemandado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(20,ns,ue.tendenciaMod.modVolumenDerecho)),e.xp6(1),e.hij(" ",e.lcZ(11,14,"uelLivestockDemands.fichaTendencias.lblsGuardarCambios.volumenDerecho"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tendenciaMod.modVolumenDerecho)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(22,ns,ue.tendenciaMod.modCoeficienteUGM)),e.xp6(1),e.hij(" ",e.lcZ(18,16,"uelLivestockDemands.fichaTendencias.lblsGuardarCambios.coeficienteUGM"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.tendenciaMod.modCoeficienteUGM)("ngIfElse",D)}}function Jx(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,wf,88,96,"ng-container",5),e.YNc(6,Kx,34,32,"ng-container",5),e.YNc(7,Uf,22,24,"mat-list",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(2),e.Q6J("ngIf",_.operacionGeneral===_.operationCode),e.xp6(1),e.Q6J("ngIf",_.operacionToma===_.operationCode||_.operacionRetorna===_.operationCode||_.operacionInfraestructura===_.operationCode),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionTendencias),e.xp6(5),e.Oqu(e.l
1cZ(13,6,"botones.cerrar"))}}function qf(t,o){1&t&&e._UZ(0,"app-spinner")}let kf=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.elementaryLivestockDemandsService=D,this.industryDemandName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionToma=s.C.operacion.OPERACION_TOMA_AGUAS,this.operacionRetorna=s.C.operacion.OPERACION_RETORNO_AGUAS,this.operacionInfraestructura=s.C.operacion.OPERACION_INFRAESTRUCTURA,this.operacionTendencias=s.C.operacion.OPERACION_UEL_TENDENCIAS,this.stop$=new Ni.x,this.industryDemandName=_.itemName,this.operationCode=_.operation,this.demandsDetail$=this.elementaryLivestockDemandsService.getComparacionVersion(_.gid,_.gidVersion,_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(qd.I))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["tipoDemandaDesc",""],["escenarioReferenciaDesc",""],["origenAguaDesc",""],["codigoSCV",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["origenRecursoDesc",""],["granExplotacionDesc",""],["tramoReguladoDesc",""],["explotacionIPPCDesc",""],["unidadTerritorialDesc",""],["codigoIPPC",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["appBold",""],["appBold","",4,"ngIf"],["masa",""],["tipoElemento",""],["appHighlight","",4,"ngIf"],["reparto",""],["volumenDemandado",""],["volumenDerecho",""],["coeficienteUGM",""]],template:function(n,_){if(1&n&&(e.YNc(0,Jx,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,qf,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.demandsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Wx(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.valores.valoresBiologicos)}}function Hx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij("",n.valores.valoresBiologicos," ")}}function Ff(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.valores.valoresHidromorfologicos)}}function zx(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.valores.valoresHidromorfologicos,"")}}function Bf(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.valores.otrosValores)}}function $f(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.valores.otrosValores)}}const I_=function(t){return{modified:t}};function Yf(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Wx,2,1,"span",9),e.qZA(),e.YNc(13,Hx,1,1,"ng-template",10,11,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,Ff,2,1,"span",9),e.qZA(),e.YNc(20,zx,1,1,"ng-template",10,12,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Bf,2,1,"span",9),e.qZA(),e.YNc(27,$f,1,1,"ng-template",10,13,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",14)(31,"div",15)(32,"button",16),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.riverNatureReserveName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,I_,n.valores.modValoresBiologicos)),e.xp6(1),e.hij("",e.lcZ(11,15,"riverNatureReserves.fichaTecnica.lblValoresBiologicos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.valores.modValoresBiologicos)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,I_,n.valores.modValoresHidromorfologico)),e.xp6(1),e.hij("",e.lcZ(18,17,"riverNatureReserves.fichaTecnica.lblValoresHidromorfologicos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.valores.modValoresHidromorfologico)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(27,I_,n.valores.modOtrosValores)),e.xp6(1),e.hij("",e.lcZ(25,19,"riverNatureReserves.fichaTecnica.lblOtrosValoresInteres"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.valores.modOtrosValores)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(34,21,"botones.cerrar"))}}function Xx(t,o){1&t&&e._UZ(0,"app-spinner")}let eA=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.riverNatureReservesService=D,this.riverNatureReserveName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.riverNatureReserveName=_.itemName,this.operationCode=_.operation,this.riverNatureReserveDetail$=this.riverNatureReservesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Hc.h))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-value-of-interest-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["valoresBiologicos",""],["valoresHidromorfologicos",""],["otrosValores",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,Yf,35,29,"div",0),e.ALo(1,"async"),e.YNc(2,Xx,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverNatureReserveDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Gs=m(508);function jf(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.medidasProteccion.medidasActuales)}}function dE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.medidasProteccion.medidasActuales," ")}}function uE(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.medidasProteccion.medidasFuturas)}}function hE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.medidasProteccion.medidasFuturas,"")}}function mE(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.medidasProteccion.amenazas)}}function gE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.medidasProteccion.amenazas,"")}}const Kf=function(t){return{modified:t}};function fE(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,jf,2,1,"span",10),e.YNc(14,dE,1,1,"ng-template",11,12,e.W1O),e.qZA()(),e.TgZ(16,"mat-list-item",7)(17,"div",8)(18,"span",9),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.YNc(21,uE,2,1,"span",10),e.YNc(22,hE,1,1,"ng-template",11,13,e.W1O),e.qZA()(),e.TgZ(24,"mat-list-item",7)(25,"div",8)(26,"span",9),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,mE,2,1,"span",10),e.YNc(30,gE,1,1,"ng-template",11,14,e.W1O),e.qZA()()()()(),e.TgZ(32,"div",5)(33,"div",15)(34,"div",16)(35,"button",17),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(36),e.ALo(37,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(15),D=e.MAs(23),ue=e.MAs(31),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.riverNatureReserveName,""),e.xp6(7),e.Q6J("ngClass",e.VKq(23,Kf,n.medidasProteccion.modMedidasActuales)),e.xp6(1),e.hij("",e.lcZ(12,15,"riverNatureReserves.fichaTecnica.medidasActuales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.medidasProteccion.modMedidasActuales)("ngIfElse",_),e.xp6(5),e.Q6J("ngClass",e.VKq(25,Kf,n.medidasProteccion.modMedidasFuturas)),e.xp6(1),e.hij("",e.lcZ(20,17,"riverNatureReserves.fichaTecnica.medidasFuturas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.medidasProteccion.modMedidasFuturas)("ngIfElse",D),e.xp6(
15),e.Q6J("ngClass",e.VKq(27,Kf,n.medidasProteccion.modAmenazas)),e.xp6(1),e.hij("",e.lcZ(28,19,"riverNatureReserves.fichaTecnica.amenazas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.medidasProteccion.modAmenazas)("ngIfElse",ue),e.xp6(7),e.Oqu(e.lcZ(37,21,"botones.cerrar"))}}function vE(t,o){1&t&&e._UZ(0,"app-spinner")}let y_=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.riverNatureReservesService=D,this.riverNatureReserveName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.riverNatureReserveName=_.itemName,this.operationCode=_.operation,this.riverNatureReserveDetail$=this.riverNatureReservesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Hc.h))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-protection-measures-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["medidasActuales",""],["medidasFuturas",""],["amenazas",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,fE,38,29,"div",0),e.ALo(1,"async"),e.YNc(2,vE,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverNatureReserveDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var Kd=m(414);function Qf(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.medidasProteccion.medidasActuales)}}function Qd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.medidasProteccion.medidasActuales," ")}}function Gf(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.medidasProteccion.medidasFuturas)}}function Jf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.medidasProteccion.medidasFuturas,"")}}function CE(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.medidasProteccion.amenazas)}}function Gd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.medidasProteccion.amenazas,"")}}const S_=function(t){return{modified:t}};function tA(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Qf,2,1,"span",9),e.qZA(),e.YNc(13,Qd,1,1,"ng-template",10,11,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,Gf,2,1,"span",9),e.qZA(),e.YNc(20,Jf,1,1,"ng-template",10,12,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,CE,2,1,"span",9),e.qZA(),e.YNc(27,Gd,1,1,"ng-template",10,13,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",14)(31,"div",15)(32,"button",16),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.specialProtectionAreaName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,S_,n.medidasProteccion.modMedidasActuales)),e.xp6(1),e.hij("",e.lcZ(11,15,"specialProtectionAreas.fichaTecnica.medidasActuales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.medidasProteccion.modMedidasActuales)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,S_,n.medidasProteccion.modMedidasFuturas)),e.xp6(1),e.hij("",e.lcZ(18,17,"specialProtectionAreas.fichaTecnica.medidasFuturas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.medidasProteccion.modMedidasFuturas)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(27,S_,n.medidasProteccion.modAmenazas)),e.xp6(1),e.hij("",e.lcZ(25,19,"specialProtectionAreas.fichaTecnica.amenazas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.medidasProteccion.modAmenazas)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(34,21,"botones.cerrar"))}}function Wf(t,o){1&t&&e._UZ(0,"app-spinner")}let bE=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.specialProtectionAreasService=D,this.specialProtectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.specialProtectionAreaName=_.itemName,this.operationCode=_.operation,this.specialProtectionAreaDetail$=this.specialProtectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Kd.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-protection-measures-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["medidasActuales",""],["medidasFuturas",""],["amenazas",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,tA,35,29,"div",0),e.ALo(1,"async"),e.YNc(2,Wf,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.specialProtectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function nA(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function iA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const Jd=function(t){return{modified:t}};function oA(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,nA,2,1,"span",10),e.YNc(14,iA,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.riverNatureReserveName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,Jd,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"riverNatureReserves.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function xE(t,o){1&t&&e._UZ(0,"app-spinner")}let AE=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.riverNatureReservesService=D,this.riverNatureReserveName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.riverNatureReserveName=_.itemName,this.operationCode=_.operation,this.riverNatureReserveDetail$=this.riverNatureReservesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Hc.h))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,oA,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,xE,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverNatureReserveDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function EE(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.valores.valoresBiologicos)}}function aA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij("",n.valores.valoresBiologicos," ")}}function sA(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.valores.valoresHidromorfologicos)}}function rA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.valores.valoresHidromorfologicos)}}function OE(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.valores.otrosValores)}}function cA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.valores.otrosValores)}}const Il=function(t){return{modified:t}};function lA(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,EE,2,1,"span",9),e.qZA(),e.YNc(13,aA,1,1,"ng-template",10,11,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,sA,2,1,"span",9),e.qZA(),e.YNc(20,rA,1,1,"ng-template",10,12,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,OE,2,1,"span",9),e.qZA(),e.YNc(27,cA,1,1,"ng-template",10,13,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",14)(31,"div",15)(32,"button",16),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.specialProtectionAreaName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,Il,n.valores.modValoresBiologicos)),e.xp6(1),e.hij("",e.lcZ(11,15,"specialProtectionAreas.fichaTecnica.lblValoresBiologicos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.valores.modValoresBiologicos)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,Il,n.valores.modValoresHidromorfologico)),e.xp6(1),e.hij("",e.lcZ(18,17,"specialProtectionAreas.fichaTecnica.lblValoresHidromorfologicos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.valores.modValoresHidromorfologico)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(27,Il,n.valores.modOtrosValores)),e.xp6(1),e.hij("",e.lcZ(25,19,"specialProtectionAreas.fichaTecnica.lblOtrosValoresInteres"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.valores.modOtrosValores)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(34,21,"botones.cerrar"))}}function _r(t,o){1&t&&e._UZ(0,"app-spinner")}let _A=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.specialProtectionAreasService=D,this.specialProtectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.specialProtectionAreaName=_.itemName,this.operationCode=_.operation,this.specialProtectionAreaDetail$=this.specialProtectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Kd.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-value-of-interest-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["valoresBiologicos",""],["valoresHidromorfologicos",""],["otrosValores",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,lA,35,29,"div",0),e.ALo(1,"async"),e.YNc(2,_r,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.specialProtectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Wd(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function pA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const dA=function(t){return{modified:t}};function Hd(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,Wd,2,1,"span",10),e.YNc(14,pA,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.specialProtectionAreaName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,dA,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"specialProtectionAreas.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function Hf(t,o){1&t&&e._UZ(0,"app-spinner")}let zf=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.specialProtectionAreasService=D,this.specialProtectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.specialProtectionAreaName=_.itemName,this.operationCode=_.operation,this.specialProtectionAreaDetail$=this.specialProtectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Kd.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,Hd,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,Hf,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.specialProtectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function uA(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Xf(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function hA(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.msCode)}}function mA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.msCode)}}function gA(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function zd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function lc(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function e1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const yl=function(t){return{modified:t}};function fA(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,uA,2,1,"span",9),e.qZA(),e.YNc(13,Xf,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",11),e._uU(17),e.ALo(18,"translate"),e.qZA(),e._uU(19),e.ALo(20,"number"),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,hA,2,1,"span",9),e.qZA(),e.YNc(27,mA,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,gA,2,1,"span",9),e.qZA(),e.YNc(34,zd,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,lc,2,1,"span",14),e.qZA(),e.YNc(41,e1,1,1,"ng-template",15,16,e.W1O),e.qZA()()(),e.TgZ(43,"div",5)(44,"div",17)(45,"div",18)(46,"button",19),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(47),e.ALo(48,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(28),ue=e.MAs(35),Qe=e.MAs(42),je=e.oxw();e.xp6(3),e.AsE("",n.id," - ",je.specialProtectionAreaName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(39,yl,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,22,"specialProtectionAreas.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(5),e.hij("",e.lcZ(18,24,"specialProtectionAreas.fichaTecnica.lblLongitud"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(20,26,n.length,je.numRed)," ",e.lcZ(21,29,"unidades.km")," "),e.xp6(4),e.Q6J("ngClass",e.VKq(41,yl,n.modMsCode)),e.xp6(1),e.hij("",e.lcZ(25,31,"specialProtectionAreas.fichaTecnica.lblCodigoEspaniol"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modMsCode)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(43,yl,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(32,33,"specialProtectionAreas.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(45,yl,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(39,35,"specialProtectionAreas.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",Qe),e.xp6(7),e.Oqu(e.l
1cZ(48,37,"botones.cerrar"))}}function ME(t,o){1&t&&e._UZ(0,"app-spinner")}let vA=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.specialProtectionAreasService=D,this.specialProtectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.specialProtectionAreaName=_.itemName,this.operationCode=_.operation,this.specialProtectionAreaDetail$=this.specialProtectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Kd.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appBold",""],["msCode",""],["codigoEuropeo",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,fA,49,47,"div",0),e.ALo(1,"async"),e.YNc(2,ME,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.specialProtectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var _c=m(3970);function CA(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function t1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function bA(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tipoEcologicoCanalDesc)}}function xA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tipoEcologicoCanalDesc)}}function TE(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function Xd(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function n1(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.msCode)}}function AA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.msCode)}}function EA(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.sistemaExplotacion)}}function o1(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.sistemaExplotacion)}}function eu(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function tu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const pc=function(t){return{modified:t}};function OA(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,CA,2,1,"span",9),e.qZA(),e.YNc(13,t1,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,bA,2,1,"span",9),e.qZA(),e.YNc(20,xA,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,TE,2,1,"span",9),e.qZA(),e.YNc(27,Xd,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,n1,2,1,"span",9),e.qZA(),e.YNc(34,AA,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,EA,2,1,"span",9),e.qZA(),e.YNc(41,o1,1,1,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",15)(44,"span",16),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,eu,2,1,"span",9),e.qZA(),e.YNc(48,tu,1,1,"ng-template",null,17,e.W1O),e.qZA()()(),e.TgZ(50,"div",5)(51,"div",18)(52,"div",19)(53,"button",20),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(54),e.ALo(55,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",qe.channelName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(41,pc,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,27,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(43,pc,n.modTipo)),e.xp6(1),e.hij("",e.lcZ(18,29,"
1surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.tipoEcologicoCanalId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(45,pc,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(25,31,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(47,pc,n.modCodigoMs)),e.xp6(1),e.hij("",e.lcZ(32,33,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.msCode"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoMs)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(49,pc,n.modSistemaExplotacion)),e.xp6(1),e.hij("",e.lcZ(39,35,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.codSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modSistemaExplotacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(51,pc,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(46,37,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",Zt),e.xp6(7),e.Oqu(e.l
1cZ(55,39,"botones.cerrar"))}}function a1(t,o){1&t&&e._UZ(0,"app-spinner")}let s1=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.dateFormat=s.C.dateFormat,this.channelName=_.itemName,this.operationCode=_.operation,this.channelDetail$=this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(_c.C))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["tipoEcologicoCanalDesc",""],["codigoEuropeo",""],["msCode",""],["sistemaExplotacion",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,OA,56,53,"div",0),e.ALo(1,"async"),e.YNc(2,a1,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.channelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function DE(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,2,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.codUso"),":\xa0"),e.xp6(3),e.Oqu(n.descUso)}}function MA(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,DE,7,4,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.channelName,""),e.xp6(4),e.Q6J("ngIf",n.modUso),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function IE(t,o){1&t&&e._UZ(0,"app-spinner")}let yE=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.dateFormat=s.C.dateFormat,this.channelName=_.itemName,this.operationCode=_.operation,this.channelDetail$=this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(_c.C))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-use"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",1,"modified"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,MA,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,IE,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.channelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var dc=m(3754);function TA(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function DA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function IA(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function SE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function wE(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function PE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}function RE(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.declaracionAnno,_.numRed))}}function ZE(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.declaracionAnno,_.numRed))}}const w_=function(t){return{modified:t}};function P_(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,TA,2,1,"span",9),e.qZA(),e.YNc(13,DA,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,IA,2,1,"span",9),e.qZA(),e.YNc(20,SE,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,wE,2,1,"span",12),e.qZA(),e.YNc(27,PE,1,1,"ng-template",13,14,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,RE,3,4,"span",12),e.qZA(),e.YNc(34,ZE,2,4,"ng-template",13,15,e.W1O),e.qZA()()(),e.TgZ(36,"div",5)(37,"div",16)(38,"div",17)(39,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}
1),e._uU(40),e.ALo(41,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.oxw();e.xp6(3),e.AsE("",n.id," - ",je.protectionAreasName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(29,w_,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,19,"protectionAreas.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(31,w_,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(18,21,"protectionAreas.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(33,w_,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(25,23,"protectionAreas.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(35,w_,n.modDeclaracionAnno)),e.xp6(1),e.hij("",e.lcZ(32,25,"protectionAreas.fichaTecnica.anoDeclaracion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modDeclaracionAnno)("ngIfElse",Qe),e.xp6(7),e.Oqu(e.lcZ(41,27,"botones.cerrar"))}}function yA(t,o){1&t&&e._UZ(0,"app-spinner")}let SA=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.protectionAreasService=D,this.protectionAreasName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.protectionAreasName=_.itemName,this.operationCode=_.operation,this.protectionAreaDetail$=this.protectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(dc.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codigoEuropeo",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],["declaracionAnno",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,P_,42,37,"div",0),e.ALo(1,"async"),e.YNc(2,yA,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.protectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function r1(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionDesc)}}function uc(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.objetivoMod.justificacionDesc)}}function c1(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function nu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function iu(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.objetivoMod.comentarios)}}function wA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.objetivoMod.comentarios)}}const Sl=function(t){return{modified:t}};
1function ou(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,r1,2,1,"span",10),e.qZA(),e.YNc(18,uc,1,1,"ng-template",null,11,e.W1O),e.TgZ(20,"mat-list-item",7)(21,"span",9),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,c1,2,1,"span",10),e.qZA(),e.YNc(25,nu,1,1,"ng-template",null,12,e.W1O),e.TgZ(27,"mat-list-item",13)(28,"span",14),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,iu,2,1,"span",10),e.qZA(),e.YNc(32,wA,1,1,"ng-template",null,15,e.W1O),e.qZA()()(),e.TgZ(34,"div",5)(35,"div",16)(36,"div",17)(37,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(38),e.ALo(39,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.channelName,""),e.xp6(7),e.hij("",e.lcZ(11,17,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.objetivoId"),":\xa0"),e.xp6(2),e.hij("",n.objetivoMod.objetivoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(27,Sl,n.objetivoMod.modJustificacion)),e.xp6(1),e.hij("",e.lcZ(16,19,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.justificacionId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.objetivoMod.modJustificacion)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(29,Sl,n.objetivoMod.modJustificacionAdicional)),e.xp6(1),e.hij("",e.lcZ(23,21,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.justificacionAdicionalId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.objetivoMod.modJustificacionAdicional)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(31,Sl,n.objetivoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(30,23,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.objetivoMod.modComentarios)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(39,25,"botones.cerrar"))}}function R_(t,o){1&t&&e._UZ(0,"app-spinner")}let NE=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.channelName=_.itemName,this.operationCode=_.operation,this.channelDetail$=this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(_c.C))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-general-objetive"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["justificacion",""],["justificacionAdicional",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,ou,40,33,"div",0),e.ALo(1,"async"),e.YNc(2,R_,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.channelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function LE(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function VE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function UE(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function l1(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function PA(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.comentarios)}}function RA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.objetivoConcretoMod.comentarios)}}const au=function(t){return{modified:t}};function ZA(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,LE,2,1,"span",10),e.qZA(),e.YNc(18,VE,1,1,"ng-template",null,11,e.W1O),e.TgZ(20,"mat-list-item",7)(21,"span",9),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,UE,3,4,"span",10),e.qZA(),e.YNc(25,l1,2,4,"ng-template",null,12,e.W1O),e.TgZ(27,"mat-list-item",13)(28,"span",14),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,PA,2,1,"span",10),e.qZA(),e.YNc(32,RA,1,1,"ng-template",null,15,e.W1O),e.qZA()()(),e.TgZ(34,"div",5)(35,"div",16)(36,"div",17)(37,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(38),e.ALo(39,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.channelName,""),e.xp6(7),e.hij("",e.lcZ(11,17,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.escenarioId"),":\xa0"),e.xp6(2),e.hij("",n.objetivoConcretoMod.escenarioDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(27,au,n.objetivoConcretoMod.modIndicador)),e.xp6(1),e.hij("",e.lcZ(16,19,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.indicadorId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.objetivoConcretoMod.modIndicador)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(29,au,n.objetivoConcretoMod.modValorLimite)),e.xp6(1),e.hij("",e.lcZ(23,21,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.valorLimite"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.objetivoConcretoMod.modValorLimite)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(31,au,n.objetivoConcretoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(30,23,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.objetivoConcretoMod.modComentario)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(39,25,"botones.cerrar"))}}function _1(t,o){1&t&&e._UZ(0,"app-spinner")}let p1=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.numEnt=s.C.numEnt,this.channelName=_.itemName,this.operationCode=_.operation,this.channelDetail$=this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(_c.C))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-concrete-objetive"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["indicador",""],["justificacionAdicional",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,ZA,40,33,"div",0),e.ALo(1,"async"),e.YNc(2,_1,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.channelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function d1(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function NA(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const LA=function(t){return{modified:t}};function u1(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,d1,2,1,"span",10),e.YNc(14,NA,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.protectionAreaName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,LA,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"protectionAreas.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function su(t,o){1&t&&e._UZ(0,"app-spinner")}let qE=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.protectionAreasService=D,this.protectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.protectionAreaName=_.itemName,this.operationCode=_.operation,this.protectionAreaDetail$=this.protectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(dc.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,u1,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,su,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.protectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})(),h1=(()=>{class t{constructor(n,_){this.dialogRef=n,this.data=_}ngOnInit(){}onConfirm(){this.dialogRef.close(!0)}onDismiss(){this.dialogRef.close(!1)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-confirm-dialog"]],decls:16,vars:8,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"container"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["type","button","mat-flat-button","","cdkFocusInitial","",1,"btn-second",3,"click"]],template:function(n,_){1&n&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1)(3,"p"),e._uU(4),e.qZA()(),e.TgZ(5,"div",2)(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"button",7),e.NdJ("click",function(){return _.onConfirm()}),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"button",8),e.NdJ("click",function(){return _.onDismiss()}),e._uU(14),e.ALo(15,"translate"),e.qZA()()()()()()),2&n&&(e.xp6(1),e.Oqu(_.data.title),e.xp6(3),e.Oqu(_.data.content),e.xp6(7),e.Oqu(e.l
1cZ(12,4,"botones.aceptar")),e.xp6(3),e.Oqu(e.lcZ(15,6,"botones.cancelar")))},directives:[i.uh,i.xY,i.H8,R.lW],pipes:[w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.btn-second[_ngcontent-%COMP%]{background-color:#1c7696;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-second[_ngcontent-%COMP%]:hover, .btn-second[_ngcontent-%COMP%]:focus, .btn-second[_ngcontent-%COMP%]:active, .btn-second.active[_ngcontent-%COMP%]{background-color:#0c6686;border-color:#002f45;color:#fff}.btn-second.disabled[_ngcontent-%COMP%]:hover, .btn-second.disabled[_ngcontent-%COMP%]:focus, .btn-second.disabled[_ngcontent-%COMP%]:active, .btn-second.disabled.active[_ngcontent-%COMP%], .btn-second[disabled][_ngcontent-%COMP%]:hover, .btn-second[disabled][_ngcontent-%COMP%]:focus, .btn-second[disabled][_ngcontent-%COMP%]:active, .btn-second[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-second[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-second[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-second[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-second.active[_ngcontent-%COMP%]{background-color:#1c7696;color:#fff}"]}),t})(),ru=(()=>{class t{constructor(n,_){this.dialogRef=n,this.data=_}ngOnInit(){}onConfirm(){this.dialogRef.close(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-message-dialog"]],decls:11,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],[1,"container"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"]],template:function(n,_){1&n&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e._UZ(2,"div",1),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"button",7),e.NdJ("click",function(){return _.onConfirm()}),e._uU(9),e.ALo(10,"translate"),e.qZA()()()()()()),2&n&&(e.xp6(1),e.Oqu(_.data.title),e.xp6(1),e.Q6J("innerHTML",_.data.content,e.oJD),e.xp6(7),e.Oqu(e.l
1cZ(10,3,"botones.aceptar")))},directives:[i.uh,i.xY,i.H8,R.lW],pipes:[w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}"]}),t})();function VA(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,2,"surfacewaterbodychannel.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(3),e.Oqu(n.presion.comentarios)}}function UA(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,VA,7,4,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.channelName,""),e.xp6(4),e.Q6J("ngIf",n.presion.modComentarios),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function kE(t,o){1&t&&e._UZ(0,"app-spinner")}let FE=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.dateFormat=s.C.dateFormat,this.channelName=_.itemName,this.operationCode=_.operation,this.channelDetail$=this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(_c.C))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-pressures"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",1,"modified"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,UA,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,kE,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.channelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var wl=m(1108);function qA(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,2,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(3),e.Oqu(n.presion.comentarios)}}function BE(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,qA,7,4,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.riverName,""),e.xp6(4),e.Q6J("ngIf",n.presion.modComentarios),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function $E(t,o){1&t&&e._UZ(0,"app-spinner")}let YE=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.riverService=D,this.riverName="",this.dateFormat=s.C.dateFormat,this.riverName=_.itemName,this.operationCode=_.operation,this.riverDetail$=this.riverService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(wl.F))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-pressures"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",1,"modified"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,BE,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,$E,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function jE(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.especiesDto.nombre)}}function KE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.especiesDto.nombre)}}function kA(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.especiesDto.prioridadDesc)}}function QE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.especiesDto.prioridadDesc)}}function GE(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.especiesDto.estadoDesc)}}function JE(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.especiesDto.estadoDesc)}}const m1=function(t){return{modified:t}};function a(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,jE,2,1,"span",9),e.qZA(),e.YNc(13,KE,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,kA,2,1,"span",9),e.qZA(),e.YNc(20,QE,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,GE,2,1,"span",9),e.qZA(),e.YNc(27,JE,1,1,"ng-template",null,12,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",13)(31,"div",14)(32,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.oxw();e.xp6(3),e.Oqu(Qe.protectionAreaName),e.xp6(6),e.Q6J("ngClass",e.VKq(22,m1,n.especiesDto.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,14,"protectionAreas.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.especiesDto.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(24,m1,n.especiesDto.modPrioridad)),e.xp6(1),e.hij("",e.lcZ(18,16,"protectionAreas.fichaTecnica.lblPrioritario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.especiesDto.modPrioridad)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(26,m1,n.especiesDto.modEstado)),e.xp6(1),e.hij("",e.lcZ(25,18,"protectionAreas.fichaTecnica.lblEvaluacionGlobal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.especiesDto.modEstado)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(34,20,"botones.cerrar"))}}function r(t,o){1&t&&e._UZ(0,"app-spinner")}let p=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.protectionAreasService=D,this.protectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.protectionAreaName=_.itemName,this.operationCode=_.operation,this.protectionAreaDetail$=this.protectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(dc.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-especies-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["prioridadDesc",""],["estadoDesc",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,a,35,28,"div",0),e.ALo(1,"async"),e.YNc(2,r,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.protectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function g(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.habitatsDto.nombre)}}function b(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.habitatsDto.nombre)}}function I(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.habitatsDto.prioridadDesc)}}function F(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.habitatsDto.prioridadDesc)}}function W(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.habitatsDto.estadoDesc)}}function se(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.habitatsDto.estadoDesc)}}const Le=function(t){return{modified:t}};function ze(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,g,2,1,"span",9),e.qZA(),e.YNc(13,b,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,I,2,1,"span",9),e.qZA(),e.YNc(20,F,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,W,2,1,"span",9),e.qZA(),e.YNc(27,se,1,1,"ng-template",null,12,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",13)(31,"div",14)(32,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.oxw();e.xp6(3),e.Oqu(Qe.protectionAreaName),e.xp6(6),e.Q6J("ngClass",e.VKq(22,Le,n.habitatsDto.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,14,"protectionAreas.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.habitatsDto.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(24,Le,n.habitatsDto.modPrioridad)),e.xp6(1),e.hij("",e.lcZ(18,16,"protectionAreas.fichaTecnica.lblPrioritario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.habitatsDto.modPrioridad)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(26,Le,n.habitatsDto.modEstado)),e.xp6(1),e.hij("",e.lcZ(25,18,"protectionAreas.fichaTecnica.lblEvaluacionGlobal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.habitatsDto.modEstado)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(34,20,"botones.cerrar"))}}function Rt(t,o){1&t&&e._UZ(0,"app-spinner")}let zt=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.protectionAreasService=D,this.protectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.protectionAreaName=_.itemName,this.operationCode=_.operation,this.protectionAreaDetail$=this.protectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(dc.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-habitats-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["prioridadDesc",""],["estadoDesc",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,ze,35,28,"div",0),e.ALo(1,"async"),e.YNc(2,Rt,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.protectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function _n(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.especieTipologia.nombre)}}function kn(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.especieTipologia.nombre)}}function ai(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.especieTipologia.nombreCientifico)}}function hi(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.especieTipologia.nombreCientifico)}}function Pi(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.especieTipologia.prioridadDesc)}}function Yn(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.especieTipologia.prioridadDesc)}}const ji=function(t){return{modified:t}};function yo(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,_n,2,1,"span",9),e.qZA(),e.YNc(13,kn,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,ai,2,1,"span",9),e.qZA(),e.YNc(20,hi,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Pi,2,1,"span",9),e.qZA(),e.YNc(27,Yn,1,1,"ng-template",null,12,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",13)(31,"div",14)(32,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28);e.xp6(3),e.Oqu(n.especieTipologia.nombre),e.xp6(6),e.Q6J("ngClass",e.VKq(22,ji,n.especieTipologia.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,14,"protectionAreas.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.especieTipologia.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(24,ji,n.especieTipologia.modNombreCientifico)),e.xp6(1),e.hij("",e.lcZ(18,16,"protectionAreas.fichaTecnica.lblNombreCientifico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.especieTipologia.modNombreCientifico)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(26,ji,n.especieTipologia.modPrioridad)),e.xp6(1),e.hij("",e.lcZ(25,18,"protectionAreas.fichaTecnica.lblPrioritario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.especieTipologia.modPrioridad)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(34,20,"botones.cerrar"))}}function Go(t,o){1&t&&e._UZ(0,"app-spinner")}let Vs=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.protectionAreasService=D,this.protectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.protectionAreaName=_.itemName,this.operationCode=_.operation,this.protectionAreaDetail$=this.protectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(dc.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-especies-data-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["nombreCientifico",""],["prioridadDesc",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,yo,35,28,"div",0),e.ALo(1,"async"),e.YNc(2,Go,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.protectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function hc(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.habitatTipologia.nombre)}}function cu(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.habitatTipologia.nombre)}}function lu(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.habitatTipologia.prioridadDesc)}}function _u(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.habitatTipologia.prioridadDesc)}}const Z_=function(t){return{modified:t}};function pu(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,hc,2,1,"span",9),e.qZA(),e.YNc(13,cu,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,lu,2,1,"span",9),e.qZA(),e.YNc(20,_u,1,1,"ng-template",null,11,e.W1O),e.qZA()()(),e.TgZ(22,"div",5)(23,"div",12)(24,"div",13)(25,"button",14),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(26),e.ALo(27,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21);e.xp6(3),e.Oqu(n.habitatTipologia.nombre),e.xp6(6),e.Q6J("ngClass",e.VKq(16,Z_,n.habitatTipologia.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,10,"protectionAreas.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.habitatTipologia.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(18,Z_,n.habitatTipologia.modPrioridad)),e.xp6(1),e.hij("",e.lcZ(18,12,"protectionAreas.fichaTecnica.lblPrioritario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.habitatTipologia.modPrioridad)("ngIfElse",D),e.xp6(7),e.Oqu(e.l
1cZ(27,14,"botones.cerrar"))}}function du(t,o){1&t&&e._UZ(0,"app-spinner")}let uu=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.protectionAreasService=D,this.protectionAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.protectionAreaName=_.itemName,this.operationCode=_.operation,this.protectionAreaDetail$=this.protectionAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(dc.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-habitats-data-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["prioridadDesc",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,pu,28,20,"div",0),e.ALo(1,"async"),e.YNc(2,du,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.protectionAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var N_=m(2595);function hu(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function tO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function nO(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function iO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function oO(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function aO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const FA=function(t){return{modified:t}};function sO(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,hu,2,1,"span",9),e.qZA(),e.YNc(13,tO,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,nO,2,1,"span",11),e.qZA(),e.YNc(20,iO,1,1,"ng-template",12,13,e.W1O),e.TgZ(22,"mat-list-item",14)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,oO,2,1,"span",11),e.qZA(),e.YNc(27,aO,1,1,"ng-template",12,15,e.W1O),e.qZA()()(),e.TgZ(29,"div",5)(30,"div",16)(31,"div",17)(32,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(33),e.ALo(34,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Qe.groundSupplieName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(23,FA,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,15,"groundSupplies.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,FA,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(18,17,"groundSupplies.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(27,FA,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(25,19,"groundSupplies.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",ue),e.xp6(7),e.Oqu(e.l
1cZ(34,21,"botones.cerrar"))}}function rO(t,o){1&t&&e._UZ(0,"app-spinner")}let cO=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.groundSuppliesService=D,this.groundSupplieName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.groundSupplieName=_.itemName,this.operationCode=_.operation,this.groundSupplieDetail$=this.groundSuppliesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(N_.X))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["codigoEuropeo",""],[1,"bar-gradient","mb-4","h-auto","py-2"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,sO,35,29,"div",0),e.ALo(1,"async"),e.YNc(2,rO,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.groundSupplieDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var WE=m(5088);function lO(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function _O(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function pO(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.origenDesc)}}function dO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.origenDesc)}}function uO(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.escenaDesc)}}function hO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.escenaDesc)}}function mO(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function gO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function fO(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function vO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const mu=function(t){return{modified:t}};function CO(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,lO,2,1,"span",9),e.qZA(),e.YNc(13,_O,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,pO,2,1,"span",9),e.qZA(),e.YNc(20,dO,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,uO,2,1,"span",9),e.qZA(),e.YNc(27,hO,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,mO,2,1,"span",13),e.qZA(),e.YNc(34,gO,1,1,"ng-template",14,15,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,fO,2,1,"span",13),e.qZA(),e.YNc(41,vO,1,1,"ng-template",14,16,e.W1O),e.qZA()()(),e.TgZ(43,"div",5)(44,"div",17)(45,"div",18)(46,"button",19),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(47),e.ALo(48,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Zt.surfaceSupplieName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(35,mu,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,23,"surfaceSupplies.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(37,mu,n.modOrigen)),e.xp6(1),e.hij("",e.lcZ(18,25,"surfaceSupplies.fichaTecnica.lblOrigen"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modOrigen)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(39,mu,n.modEscena)),e.xp6(1),e.hij("",e.lcZ(25,27,"surfaceSupplies.fichaTecnica.lblEscenario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modEscena)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(41,mu,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(32,29,"surfaceSupplies.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(43,mu,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(39,31,"surfaceSupplies.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",je),e.xp6(7),e.Oqu(e.l
1cZ(48,33,"botones.cerrar"))}}function bO(t,o){1&t&&e._UZ(0,"app-spinner")}let xO=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.surfaceSuppliesService=D,this.surfaceSupplieName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.surfaceSupplieName=_.itemName,this.operationCode=_.operation,this.surfaceSupplieDetail$=this.surfaceSuppliesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(WE.h))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["origenDesc",""],["escenaDesc",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["codigoEuropeo",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,CO,49,45,"div",0),e.ALo(1,"async"),e.YNc(2,bO,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.surfaceSupplieDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function AO(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function EO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const OO=function(t){return{modified:t}};function MO(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,AO,2,1,"span",10),e.YNc(14,EO,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.groundSupplieName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,OO,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"groundSupplies.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function TO(t,o){1&t&&e._UZ(0,"app-spinner")}let DO=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.groundSuppliesService=D,this.groundSupplieName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.groundSupplieName=_.itemName,this.operationCode=_.operation,this.groundSupplieDetail$=this.groundSuppliesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(N_.X))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,MO,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,TO,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.groundSupplieDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function IO(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function yO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const SO=function(t){return{modified:t}};function wO(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,IO,2,1,"span",10),e.YNc(14,yO,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.surfaceSupplieName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,SO,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"surfaceSupplies.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function PO(t,o){1&t&&e._UZ(0,"app-spinner")}let RO=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.surfaceSuppliesService=D,this.surfaceSupplieName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.surfaceSupplieName=_.itemName,this.operationCode=_.operation,this.surfaceSupplieDetail$=this.surfaceSuppliesService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(WE.h))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,wO,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,PO,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.surfaceSupplieDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function ZO(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function NO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const LO=function(t){return{modified:t}};function VO(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,ZO,2,1,"span",10),e.YNc(14,NO,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.fishSectionName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,LO,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"fishSection.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function UO(t,o){1&t&&e._UZ(0,"app-spinner")}let qO=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.fishSectionsService=D,this.fishSectionName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.fishSectionName=_.itemName,this.operationCode=_.operation,this.fishSectionDetail$=this.fishSectionsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(op.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,VO,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,UO,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.fishSectionDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function kO(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function FO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const BO=function(t){return{modified:t}};function $O(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,kO,2,1,"span",10),e.YNc(14,FO,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.sensitiveAreaName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,BO,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"sensitiveArea.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function YO(t,o){1&t&&e._UZ(0,"app-spinner")}let jO=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.sensitiveAreasService=D,this.sensitiveAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.sensitiveAreaName=_.itemName,this.operationCode=_.operation,this.sensitiveAreaDetail$=this.sensitiveAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(lp.c))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,$O,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,YO,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.sensitiveAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function KO(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function QO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const GO=function(t){return{modified:t}};function JO(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,KO,2,1,"span",10),e.YNc(14,QO,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.vulnerableAreaName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,GO,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"vulnerableArea.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function WO(t,o){1&t&&e._UZ(0,"app-spinner")}let HO=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.vulnerableAreasService=D,this.vulnerableAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.vulnerableAreaName=_.itemName,this.operationCode=_.operation,this.vulnerableAreaDetail$=this.vulnerableAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(oc.o))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,JO,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,WO,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.vulnerableAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function zO(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function XO(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const eM=function(t){return{modified:t}};function tM(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,zO,2,1,"span",10),e.YNc(14,XO,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.wetAreaName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,eM,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"wetArea.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function nM(t,o){1&t&&e._UZ(0,"app-spinner")}let iM=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.wetAreasService=D,this.wetAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.wetAreaName=_.itemName,this.operationCode=_.operation,this.wetAreaDetail$=this.wetAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Gl.X))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,tM,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,nM,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.wetAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function oM(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function aM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const sM=function(t){return{modified:t}};function rM(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,oM,2,1,"span",10),e.YNc(14,aM,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.mineralWaterName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,sM,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"mineralWater.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function cM(t,o){1&t&&e._UZ(0,"app-spinner")}let lM=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.mineralWatersService=D,this.mineralWaterName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.mineralWaterName=_.itemName,this.operationCode=_.operation,this.mineralWaterDetail$=this.mineralWatersService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zu.x))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,rM,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,cM,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.mineralWaterDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function _M(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.legislacionSelec.nombre)}}function pM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.hij(" ",n.legislacionSelec.nombre," ")}}const dM=function(t){return{modified:t}};function uM(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"div",8)(10,"span",9),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,_M,2,1,"span",10),e.YNc(14,pM,1,1,"ng-template",11,12,e.W1O),e.qZA()()()()(),e.TgZ(16,"div",5)(17,"div",13)(18,"div",14)(19,"button",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.Oqu(_.recreationalUseAreaName),e.xp6(7),e.Q6J("ngClass",e.VKq(9,dM,n.legislacionSelec.modId)),e.xp6(1),e.hij("",e.lcZ(12,5,"recreationalUseArea.fichaTecnica.lblLegislacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.legislacionSelec.modId),e.xp6(7),e.Oqu(e.l
1cZ(21,7,"botones.cerrar"))}}function hM(t,o){1&t&&e._UZ(0,"app-spinner")}let mM=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.recreationalUseAreasService=D,this.recreationalUseAreaName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.recreationalUseAreaName=_.itemName,this.operationCode=_.operation,this.recreationalUseAreaDetail$=this.recreationalUseAreasService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Kl.B))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-legislations-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","mb-4","h-auto","py-2"],["matLine",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf"],["class","text-wrap"],["legislaciones",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,uM,22,11,"div",0),e.ALo(1,"async"),e.YNc(2,hM,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.recreationalUseAreaDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,Gs.X2,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function gM(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoFinalCanalMod.comentarios)}}function fM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoFinalCanalMod.comentarios)}}const Pl=function(t){return{modified:t}};function vM(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,gM,2,1,"span",14),e.qZA(),e.YNc(19,fM,1,1,"ng-template",15,16,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,8,"surfacewaterbodychannel.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",_.estadoFinalCanalMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,10,"surfacewaterbodychannel.fichaTecnica.lblEstadoMasa"),":\xa0"),e.xp6(2),e.hij("",_.estadoFinalCanalMod.estado," "),e.xp6(2),e.Q6J("ngClass",e.VKq(14,Pl,_.estadoFinalCanalMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(17,12,"surfacewaterbodychannel.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.estadoFinalCanalMod.modComentarios)("ngIfElse",n)}}function CM(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoCanalMod.asignacionDefinitivaEcoDesc)}}function bM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoCanalMod.asignacionDefinitivaEcoDesc)}}function xM(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoCanalMod.nivelConfianzaEcoDesc)}}function AM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoCanalMod.nivelConfianzaEcoDesc)}}function EM(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoCanalMod.justificacionEco)}}function OM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoCanalMod.justificacionEco)}}function MM(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,CM,2,1,"span",18),e.qZA(),e.YNc(19,bM,1,1,"ng-template",null,19,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,xM,2,1,"span",18),e.qZA(),e.YNc(26,AM,1,1,"ng-template",null,20,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",13),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,EM,2,1,"span",14),e.qZA(),e.YNc(33,OM,1,1,"ng-template",15,21,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(27),D=e.MAs(34),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,16,"surfacewaterbodychannel.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",ue.estadoEcologicoCanalMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,18,"surfacewaterbodychannel.fichaTecnica.lblPotencialEcologicoMasa"),":\xa0"),e.xp6(2),e.hij("",ue.estadoEcologicoCanalMod.potencialEcoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,Pl,ue.estadoEcologicoCanalMod.modAsignacionDefinitivaEcoId)),e.xp6(1),e.hij("",e.lcZ(17,20,"surfacewaterbodychannel.fichaTecnica.lblAsignacionDefinitivaPotencialEcologico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoCanalMod.modAsignacionDefinitivaEcoId)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Pl,ue.estadoEcologicoCanalMod.modNivelConfianzaEcoId)),e.xp6(1),e.hij("",e.lcZ(24,22,"surfacewaterbodychannel.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoCanalMod.modNivelConfianzaEcoId)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Pl,ue.estadoEcologicoCanalMod.modJustificacionEco)),e.xp6(1),e.hij("",e.lcZ(31,24,"surfacewaterbodychannel.fichaTecnica.lblJustificacionAsignacionDefinitiva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoCanalMod.modJustificacionEco)("ngIfElse",D)}}function TM(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoCanalMod.asignacionDefinitivaChemDesc)}}function DM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoCanalMod.asignacionDefinitivaChemDesc)}}function IM(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoCanalMod.nivelConfianzachemDesc)}}function yM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoCanalMod.nivelConfianzachemDesc)}}function SM(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoCanalMod.justificacionChem)}}function wM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoCanalMod.justificacionChem)}}function PM(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,TM,2,1,"span",18),e.qZA(),e.YNc(19,DM,1,1,"ng-template",null,23,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,IM,2,1,"span",18),e.qZA(),e.YNc(26,yM,1,1,"ng-template",null,24,e.W1O),e.TgZ(28,"mat-list-item",25)(29,"span",13),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,SM,2,1,"span",14),e.qZA(),e.YNc(33,wM,1,1,"ng-template",15,26,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(27),D=e.MAs(34),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,16,"surfacewaterbodychannel.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",ue.estadoQuimicoCanalMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,18,"surfacewaterbodychannel.fichaTecnica.lblEstadoQuimico"),":\xa0"),e.xp6(2),e.hij("",ue.estadoQuimicoCanalMod.estadoChemDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,Pl,ue.estadoQuimicoCanalMod.modAsignacionDefinitivaChemId)),e.xp6(1),e.hij("",e.lcZ(17,20,"surfacewaterbodychannel.fichaTecnica.lblAsignacionDefinitivaEstadoQuimico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoCanalMod.modAsignacionDefinitivaChemId)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Pl,ue.estadoQuimicoCanalMod.modNivelConfianzaChemId)),e.xp6(1),e.hij("",e.lcZ(24,22,"surfacewaterbodychannel.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoCanalMod.modNivelConfianzaChemId)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Pl,ue.estadoQuimicoCanalMod.modJustificacionChem)),e.xp6(1),e.hij("",e.lcZ(31,24,"surfacewaterbodychannel.fichaTecnica.lblJustificacionAsignacionDefinitiva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoCanalMod.modJustificacionChem)("ngIfElse",D)}}function RM(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,vM,21,16,"ng-container",5),e.YNc(6,MM,35,32,"ng-container",5),e.YNc(7,PM,35,32,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.channelName,""),e.xp6(2),e.Q6J("ngIf",_.isFinalStateOperation),e.xp6(1),e.Q6J("ngIf",_.isEcoStateOperation),e.xp6(1),e.Q6J("ngIf",_.isQuimicalStateOperation),e.xp6(
15),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function ZM(t,o){1&t&&e._UZ(0,"app-spinner")}let NM=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.isFinalStateOperation=!1,this.isEcoStateOperation=!1,this.isQuimicalStateOperation=!1,this.isFinalStateOperation=s.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA===_.operation,this.isEcoStateOperation=s.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA===_.operation,this.isQuimicalStateOperation=s.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA===_.operation,this.channelName=_.itemName,this.operationCode=_.operation,this.channelDetail$=this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(_c.C))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appHighlight","",4,"ngIf","ngIfElse"],["asignacionDefinitivaEcoDesc",""],["nivelConfianzaEcoDesc",""],["justificacionEco",""],["appHighlight",""],["asignacionDefinitivaChemDesc",""],["nivelConfianzachemDesc",""],[1,"bar-gradient","mb-4","h-auto","py-2"],["justificacionChem",""]],template:function(n,_){if(1&n&&(e.YNc(0,RM,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,ZM,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.channelDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();var g1=m(3019);function LM(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.channelDetail.parametrosEstadoMod.fecha)}}function VM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.channelDetail.parametrosEstadoMod.fecha)}}function UM(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodychannel.fichaTecnica.lblCaracterMenor")," "))}function qM(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,UM,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",1===n.channelDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.channelDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function kM(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.\xb5gL"),""))}function FM(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodychannel.fichaTecnica.lblCaracterMenor")," "))}function BM(t,o){if(1&t&&(e.YNc(0,FM,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(4);e.Q6J("ngIf",1===n.channelDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.channelDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function $M(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,n.channelDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function YM(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.mgLCaCo3"),""))}function jM(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(4);e.Oqu(e.xi3(1,1,n.channelDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}const Js=function(t){return{modified:t}};function KM(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"mat-list-item",11)(2,"
1span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,qM,4,5,"span",16),e.YNc(6,kM,3,3,"span",22),e.qZA(),e.YNc(7,BM,3,5,"ng-template",null,23,e.W1O),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.ALo(14,"number"),e.qZA(),e.TgZ(15,"mat-list-item",11)(16,"span",13),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,$M,3,4,"span",16),e.YNc(20,YM,3,3,"span",22),e.qZA(),e.YNc(21,jM,2,4,"ng-template",null,24,e.W1O),e.TgZ(23,"mat-list-item",11)(24,"span",12),e._uU(25),e.ALo(26,"translate"),e.qZA(),e._uU(27),e.qZA(),e.BQk()),2&t){const n=e.MAs(8),_=e.MAs(22),D=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(25,Js,D.channelDetail.parametrosEstadoMod.modYearAvg)),e.xp6(1),e.hij("",e.lcZ(4,14,"surfacewaterbodychannel.fichaTecnica.lblConcentracionMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.channelDetail.parametrosEstadoMod.modYearAvg)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",D.channelDetail.parametrosEstadoMod.yearAverageValue),e.xp6(5),e.hij("",e.lcZ(12,16,"surfacewaterbodychannel.fichaTecnica.lblNormaCalidadMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.hij("",e.xi3(14,18,D.channelDetail.parametrosEstadoMod.concentracionAdmitida,D.numRed4Dec)," "),e.xp6(3),e.Q6J("ngClass",e.VKq(27,Js,D.channelDetail.parametrosEstadoMod.modDureza)),e.xp6(1),e.hij("",e.lcZ(18,21,"surfacewaterbodychannel.fichaTecnica.lblDurezaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.channelDetail.parametrosEstadoMod.modDureza)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",D.channelDetail.parametrosEstadoMod.dureza),e.xp6(5),e.hij("",e.lcZ(26,23,"surfacewaterbodychannel.fichaTecnica.lblPotencialEcologico"),":\xa0"),e.xp6(2),e.hij("",D.channelDetail.parametrosEstadoMod.descState," ")}}function QM(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,n.channelDetail.parametrosEstadoMod.value,n.numRed4Dec))}}function GM(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(4);e.Oqu(e.xi3(1,1,n.channelDetail.parametrosEstadoMod.value,n.numRed4Dec))}}function JM(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"mat-list-item",11)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,QM,3,4,"span",16),e.qZA(),e.YNc(6,GM,2,4,"ng-template",null,26,e.W1O),e.BQk()),2&t){const n=e.MAs(7),_=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(6,Js,_.channelDetail.parametrosEstadoMod.modValue)),e.xp6(1),e.hij("",e.lcZ(4,4,"surfacewaterbodychannel.fichaTecnica.lblValorObservado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.channelDetail.parametrosEstadoMod.modValue)("ngIfElse",n)}}function WM(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.channelDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function HM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.channelDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function zM(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.channelDetail.parametrosEstadoMod.confianzaDesc)}}function XM(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.channelDetail.parametrosEstadoMod.confianzaDesc)}}function eT(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.channelDetail.parametrosEstadoMod.comentarios)}}function tT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.channelDetail.parametrosEstadoMod.comentarios)}}function nT(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,LM,2,1,"span",14),e.qZA(),e.YNc(19,VM,1,1,"ng-template",null,15,e.W1O),e.YNc(21,KM,28,29,"ng-container",5),e.YNc(22,JM,8,8,"ng-container",5),e.TgZ(23,"mat-list-item",11)(24,"span",13),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,WM,2,1,"span",16),e.qZA(),e.YNc(28,HM,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",13),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,zM,2,1,"span",16),e.qZA(),e.YNc(35,XM,1,1,"ng-template",null,18,e.W1O),e.TgZ(37,"mat-list-item",11)(38,"span",13),e._uU(39),e.ALo(40,"translate"),e.qZA(),e.YNc(41,eT,2,1,"span",14),e.qZA(),e.YNc(42,tT,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(29),D=e.MAs(36),ue=e.MAs(43),Qe=e.oxw(2);e.xp6(6),e.hij("",e.lcZ(7,22,"surfacewaterbodychannel.fichaTecnica.lblAnyoConsultaVersionChanges"),":\xa0"),e.xp6(2),e.hij("",Qe.channelDetail.parametrosEstadoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,24,"surfacewaterbodychannel.fichaTecnica.lblIndicador"),":\xa0"),e.xp6(2),e.hij("",Qe.channelDetail.parametrosEstadoMod.indiceDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(34,Js,Qe.channelDetail.parametrosEstadoMod.modFecha)),e.xp6(1),e.hij("",e.lcZ(17,26,"surfacewaterbodychannel.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.channelDetail.parametrosEstadoMod.modFecha)("ngIfElse",n),e.xp6(3),e.Q6J("ngIf",Qe.showLargeForm),e.xp6(1),e.Q6J("ngIf",!Qe.showLargeForm),e.xp6(2),e.Q6J("ngClass",e.VKq(36,Js,Qe.channelDetail.parametrosEstadoMod.modConsideracionesEspeciales)),e.xp6(1),e.hij("",e.lcZ(26,28,"surfacewaterbodychannel.fichaTecnica.lblConsideracionesEspeciales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.channelDetail.parametrosEstadoMod.modConsideracionesEspeciales)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Js,Qe.channelDetail.parametrosEstadoMod.modConfianza)),e.xp6(1),e.hij("",e.lcZ(33,30,"surfacewaterbodychannel.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.channelDetail.parametrosEstadoMod.modConfianza)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(40,Js,Qe.channelDetail.parametrosEstadoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(40,32,"surfacewaterbodychannel.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.channelDetail.parametrosEstadoMod.modComentario)("ngIfElse",ue)}}function iT(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.channelDetail.parametrosEstadoMod.fecha)}}
1function oT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.channelDetail.parametrosEstadoMod.fecha)}}function aT(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodychannel.fichaTecnica.lblCaracterMenor")," "))}function sT(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,aT,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.channelDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.channelDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function rT(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.\xb5gL"),""))}function cT(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodychannel.fichaTecnica.lblCaracterMenor")," "))}function lT(t,o){if(1&t&&(e.YNc(0,cT,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.channelDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.channelDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function _T(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodychannel.fichaTecnica.lblCaracterMenor")," "))}function pT(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,_T,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.channelDetail.parametrosEstadoMod.yearMaxValueLess),e.xp6(1),e.hij(" ",e.xi3(3,2,n.channelDetail.parametrosEstadoMod.yearMaxValue,n.numRed4Dec),"")}}function dT(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodychannel.fichaTecnica.lblCaracterMenor")," "))}function uT(t,o){if(1&t&&(e.YNc(0,dT,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.channelDetail.parametrosEstadoMod.yearMaxValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.channelDetail.parametrosEstadoMod.yearMaxValue,n.numRed4Dec))}}function hT(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.channelDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function mT(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.mgLCaCo3"),""))}function gT(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.channelDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function fT(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.channelDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function vT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.channelDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function CT(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.channelDetail.parametrosEstadoMod.confianzaDesc)}}function bT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.channelDetail.parametrosEstadoMod.confianzaDesc)}}function xT(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.channelDetail.parametrosEstadoMod.comentarios)}}function AT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.channelDetail.parametrosEstadoMod.comentarios)}}function ET(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,iT,2,1,"span",14),e.qZA(),e.YNc(19,oT,1,1,"ng-template",null,15,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,sT,4,5,"span",16),e.YNc(26,rT,3,3,"span",22),e.qZA(),e.YNc(27,lT,3,5,"ng-template",null,23,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",13),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,pT,4,5,"span",16),e.TgZ(34,"span",12),e._uU(35),e.ALo(36,"translate"),e.qZA()(),e.YNc(37,uT,3,5,"ng-template",null,27,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",13),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,hT,3,4,"span",16),e.YNc(44,mT,3,3,"span",22),e.qZA(),e.YNc(45,gT,2,4,"ng-template",null,24,e.W1O),e.TgZ(47,"mat-list-item",11)(48,"span",13),e._uU(49),e.ALo(50,"translate"),e.qZA(),e.YNc(51,fT,2,1,"span",16),e.qZA(),e.YNc(52,vT,1,1,"ng-template",null,17,e.W1O),e.TgZ(54,"mat-list-item",11)(55,"span",13),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.YNc(58,CT,2,1,"span",16),e.qZA(),e.YNc(59,bT,1,1,"ng-template",null,18,e.W1O),e.TgZ(61,"mat-list-item",28)(62,"span",13),e._uU(63),e.ALo(64,"translate"),e.qZA(),e.YNc(65,xT,2,1,"span",14),e.qZA(),e.YNc(66,AT,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(28),D=e.MAs(38),ue=e.MAs(46),Qe=e.MAs(53),je=e.MAs(60),Zt=e.MAs(67),qe=e.oxw(2);e.xp6(6),e.hij("",e.lcZ(7,35,"surfacewaterbodychannel.fichaTecnica.lblAnyoConsultaVersionChanges"),":\xa0"),e.xp6(2),e.hij("",qe.channelDetail.parametrosEstadoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,37,"surfacewaterbodychannel.fichaTecnica.lblIndicador"),":\xa0"),e.xp6(2),e.hij("",qe.channelDetail.parametrosEstadoMod.indiceDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(55,Js,qe.channelDetail.parametrosEstadoMod.modFecha)),e.xp6(1),e.hij("",e.lcZ(17,39,"surfacewaterbodychannel.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.modFecha)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(57,Js,qe.channelDetail.parametrosEstadoMod.modYearAvg)),e.xp6(1),e.hij("",e.lcZ(24,41,"surfacewaterbodychannel.fichaTecnica.lblConcentracionMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.modYearAvg)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.yearAverageValue),e.xp6(4),e.Q6J("ngClass",e.VKq(59,Js,qe.channelDetail.parametrosEstadoMod.modYearMax)),e.xp6(1),e.hij("",e.lcZ(32,43,"surfacewaterbodychannel.fichaTecnica.lblConcentracionMaximaDetectadaAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.modYearMax)("ngIfElse",D),e.xp6(2),e.hij(" \xa0",e.lcZ(36,45,"unidades.\xb5gL"),""),e.xp6(5),e.Q6J("ngClass",e.VKq(61,Js,qe.channelDetail.parametrosEstadoMod.modDureza)),e.xp6(1),e.hij("",e.lcZ(42,47,"surfacewaterbodychannel.fichaTecnica.lblDurezaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.modDureza)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.dureza),e.xp6(4),e.Q6J("ngClass",e.VKq(63,Js,qe.channelDetail.parametrosEstadoMod.modConsideracionesEspeciales)),e.xp6(1),e.hij("",e.lcZ(50,49,"surfacewaterbodychannel.fichaTecnica.lblConsideracionesEspeciales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.modConsideracionesEspeciales)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(65,Js,qe.channelDetail.parametrosEstadoMod.modConfianza)),e.xp6(1),e.hij("",e.lcZ(57,51,"surfacewaterbodychannel.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.modConfianza)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(67,Js,qe.channelDetail.parametrosEstadoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(64,53,"surfacewaterbodychannel.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.channelDetail.parametrosEstadoMod.modComentario)("ngIfElse",Zt)}}function OT(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,nT,44,42,"ng-container",5),e.YNc(6,ET,68,69,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.channelDetail.id," - ",n.channelName,""),e.xp6(2),e.Q6J("ngIf",n.isEcoElementStateOperation),e.xp6(1),e.Q6J("ngIf",n.isQuimicalStateOperation),e.xp6(
15),e.Oqu(e.lcZ(12,5,"botones.cerrar"))}}function MT(t,o){1&t&&e._UZ(0,"app-spinner")}let TT=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.channelService=D,this.channelName="",this.isEcoElementStateOperation=!1,this.isQuimicalStateOperation=!1,this.numRed4Dec=s.C.numRed4Dec,this.showLargeForm=!1,this.isEcoElementStateOperation=s.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASAS_AGUA===_.operation,this.isQuimicalStateOperation=s.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA===_.operation,this.channelName=_.itemName,this.operationCode=_.operation,this.channelService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation).subscribe(ue=>{this.channelDetail=ue,g1.N.checkIndicadorIdEcoElements(this.channelDetail.parametrosEstadoMod.indicadorId,s.C.channelEntity)&&(this.showLargeForm=!0)})}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(_c.C))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state-elements"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["fecha",""],["appHighlight","",4,"ngIf","ngIfElse"],["consideracionesEspecialesDesc",""],["confianzaDesc",""],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appBold","",4,"ngIf"],["yearAverageValue",""],["dureza",""],["appHighlight",""],["value",""],["yearMaxValue",""],[1,"bar-gradient","mb-4","h-auto","py-2"]],template:function(n,_){if(1&n&&(e.YNc(0,OT,13,7,"div",0),e.YNc(1,MT,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.channelDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();var DT=m(1558);function IT(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function yT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function ST(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.excesoNitrogeno,_.numRed)," ",e.lcZ(3,5,"unidades.kgHectarea"),"")}}function wT(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.excesoNitrogeno,_.numRed)," ",e.lcZ(2,5,"unidades.kgHectarea"),"")}}function PT(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.regadio,_.numRed)," ",e.lcZ(3,5,"unidades.porcentaje"),"")}}function RT(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.regadio,_.numRed)," ",e.lcZ(2,5,"unidades.porcentaje"),"")}}
1function ZT(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.cargaFosforo,_.numRed)," ",e.lcZ(3,5,"unidades.kgHectarea"),"")}}function NT(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.cargaFosforo,_.numRed)," ",e.lcZ(2,5,"unidades.kgHectarea"),"")}}function LT(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.porcentajeSecano,_.numRed)," ",e.lcZ(3,5,"unidades.porcentaje"),"")}}function VT(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.porcentajeSecano,_.numRed)," ",e.lcZ(2,5,"unidades.porcentaje"),"")}}const Rl=function(t){return{modified:t}};function UT(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,IT,2,1,"span",13),e.qZA(),e.YNc(6,yT,1,1,"ng-template",null,14,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,ST,4,7,"span",13),e.qZA(),e.YNc(13,wT,3,7,"ng-template",null,15,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",12),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,PT,4,7,"span",13),e.qZA(),e.YNc(20,RT,3,7,"ng-template",null,16,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,ZT,4,7,"span",13),e.qZA(),e.YNc(27,NT,3,7,"ng-template",null,17,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",12),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,LT,4,7,"span",13),e.qZA(),e.YNc(34,VT,3,7,"ng-template",null,18,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(30,Rl,je.modNombre)),e.xp6(1),e.hij("",e.lcZ(4,20,"surfaceContamination.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(32,Rl,je.modExcesoNitrogeno)),e.xp6(1),e.hij("",e.lcZ(11,22,"surfaceContamination.fichaTecnica.lblExcesoNitrogeno"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.modExcesoNitrogeno)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(34,Rl,je.modRegadio)),e.xp6(1),e.hij("",e.lcZ(18,24,"surfaceContamination.fichaTecnica.lblRegadio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.modRegadio)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(36,Rl,je.modCargaFosforo)),e.xp6(1),e.hij("",e.lcZ(25,26,"surfaceContamination.fichaTecnica.lblCargaFosforo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.modCargaFosforo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Rl,je.modPorcentajeSecano)),e.xp6(1),e.hij("",e.lcZ(32,28,"surfaceContamination.fichaTecnica.lblSecanoMasaAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.modPorcentajeSecano)("ngIfElse",Qe)}}function qT(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.impactsDto.impactoDescripcion)}}function kT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.impactsDto.impactoDescripcion)}}
1function FT(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.impactsDto.relevanciaFinalDescription)}}function BT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.impactsDto.relevanciaFinalDescription)}}function $T(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",20)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,qT,2,1,"span",13),e.qZA(),e.YNc(6,kT,1,1,"ng-template",null,21,e.W1O),e.TgZ(8,"mat-list-item",20)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,FT,2,1,"span",13),e.qZA(),e.YNc(13,BT,1,1,"ng-template",null,22,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(12,Rl,D.impactsDto.modImpacto)),e.xp6(1),e.hij("",e.lcZ(4,8,"surfaceContamination.fichaTecnica.lblImpactoPuedeGenerar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.impactsDto.modImpacto)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,Rl,D.impactsDto.modRelevanciaFinal)),e.xp6(1),e.hij("",e.lcZ(11,10,"surfaceContamination.fichaTecnica.lblAsignacionDefinitivaRelevanciaPresion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.impactsDto.modRelevanciaFinal)("ngIfElse",_)}}function YT(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,UT,36,40,"mat-list",7),e.YNc(8,$T,15,16,"mat-list",7),e.qZA()(),e.TgZ(9,"div",5)(10,"div",8)(11,"div",9)(12,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.surfaceContaminationsName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionImpacto),e.xp6(5),e.Oqu(e.l
1cZ(14,5,"botones.cerrar"))}}function jT(t,o){1&t&&e._UZ(0,"app-spinner")}let KT=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.surfaceContaminationsService=D,this.surfaceContaminationsName="",this.dateFormat=s.C.dateFormat,this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionImpacto=s.C.operacion.OPERACION_RELEVANCIA_IMPACTO,this.stop$=new Ni.x,this.surfaceContaminationsName=_.itemName,this.operationCode=_.operation,this.surfaceContaminationsDetail$=this.surfaceContaminationsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(DT.v))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["excesoNitrogeno",""],["regadio",""],["cargaFosforo",""],["porcentajeSecano",""],["appHighlight",""],[1,"bar-gradient"],["impactoDescripcion",""],["relevanciaFinalDescription",""]],template:function(n,_){if(1&n&&(e.YNc(0,YT,15,7,"div",0),e.ALo(1,"async"),e.YNc(2,jT,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.surfaceContaminationsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();var QT=m(8165);function GT(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function JT(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function WT(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.excesoNitrogeno,_.numRed)," ",e.lcZ(3,5,"unidades.kgHectarea"),"")}}function HT(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.excesoNitrogeno,_.numRed)," ",e.lcZ(2,5,"unidades.kgHectarea"),"")}}function zT(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.regadio,_.numRed)," ",e.lcZ(3,5,"unidades.porcentaje"),"")}}function XT(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.regadio,_.numRed)," ",e.lcZ(2,5,"unidades.porcentaje"),"")}}function eD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.cargaFosforo,_.numRed)," ",e.lcZ(3,5,"unidades.kgHectarea"),"")}}function tD(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.cargaFosforo,_.numRed)," ",e.lcZ(2,5,"unidades.kgHectarea"),"")}}function nD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.porcentajeSecano,_.numRed)," ",e.lcZ(3,5,"unidades.porcentaje"),"")}}function iD(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.porcentajeSecano,_.numRed)," ",e.lcZ(2,5,"unidades.porcentaje"),"")}}function oD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.zonaVulnerableDesc)}}function aD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.zonaVulnerableDesc)}}function sD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.excesoNitratoDesc)}}function rD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.excesoNitratoDesc)}}const mc=function(t){return{modified:t}};function cD(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"
1span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,GT,2,1,"span",13),e.qZA(),e.YNc(6,JT,1,1,"ng-template",null,14,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,WT,4,7,"span",13),e.qZA(),e.YNc(13,HT,3,7,"ng-template",null,15,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",12),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,zT,4,7,"span",13),e.qZA(),e.YNc(20,XT,3,7,"ng-template",null,16,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,eD,4,7,"span",13),e.qZA(),e.YNc(27,tD,3,7,"ng-template",null,17,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",12),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,nD,4,7,"span",13),e.qZA(),e.YNc(34,iD,3,7,"ng-template",null,18,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",12),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,oD,2,1,"span",13),e.qZA(),e.YNc(41,aD,1,1,"ng-template",null,19,e.W1O),e.TgZ(43,"mat-list-item",11)(44,"span",12),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,sD,2,1,"span",13),e.qZA(),e.YNc(48,rD,1,1,"ng-template",null,20,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(42,mc,qe.modNombre)),e.xp6(1),e.hij("",e.lcZ(4,28,"groundContamination.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,mc,qe.modExcesoNitrogeno)),e.xp6(1),e.hij("",e.lcZ(11,30,"groundContamination.fichaTecnica.lblExcesoNitrogeno"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modExcesoNitrogeno)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,mc,qe.modRegadio)),e.xp6(1),e.hij("",e.lcZ(18,32,"groundContamination.fichaTecnica.lblRegadio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modRegadio)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,mc,qe.modCargaFosforo)),e.xp6(1),e.hij("",e.lcZ(25,34,"groundContamination.fichaTecnica.lblCargaFosforo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modCargaFosforo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,mc,qe.modPorcentajeSecano)),e.xp6(1),e.hij("",e.lcZ(32,36,"groundContamination.fichaTecnica.lblSecanoMasaAgua"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modPorcentajeSecano)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,mc,qe.modZonaVul)),e.xp6(1),e.hij("",e.lcZ(39,38,"groundContamination.fichaTecnica.lblZonaVulnerable"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modZonaVul)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,mc,qe.modExcesoNitrato)),e.xp6(1),e.hij("",e.lcZ(46,40,"groundContamination.fichaTecnica.lblPuntoControl"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modExcesoNitrato)("ngIfElse",Zt)}}function lD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.impactsDto.impactoDescripcion)}}function _D(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.impactsDto.impactoDescripcion)}}function pD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.impactsDto.relevanciaFinalDescription)}}function dD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.impactsDto.relevanciaFinalDescription)}}function uD(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",22)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,lD,2,1,"span",13),e.qZA(),e.YNc(6,_D,1,1,"ng-template",null,23,e.W1O),e.TgZ(8,"mat-list-item",22)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,pD,2,1,"span",13),e.qZA(),e.YNc(13,dD,1,1,"ng-template",null,24,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(12,mc,D.impactsDto.modImpacto)),e.xp6(1),e.hij("",e.lcZ(4,8,"groundContamination.fichaTecnica.lblImpactoPuedeGenerar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.impactsDto.modImpacto)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,mc,D.impactsDto.modRelevanciaFinal)),e.xp6(1),e.hij("",e.lcZ(11,10,"groundContamination.fichaTecnica.lblAsignacionDefinitivaRelevanciaPresion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.impactsDto.modRelevanciaFinal)("ngIfElse",_)}}function hD(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,cD,50,56,"mat-list",7),e.YNc(8,uD,15,16,"mat-list",7),e.qZA()(),e.TgZ(9,"div",5)(10,"div",8)(11,"div",9)(12,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.groundContaminationName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionImpacto),e.xp6(
15),e.Oqu(e.lcZ(14,5,"botones.cerrar"))}}function mD(t,o){1&t&&e._UZ(0,"app-spinner")}let gD=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.groundContaminationService=D,this.groundContaminationName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.operacionImpacto=s.C.operacion.OPERACION_RELEVANCIA_IMPACTO,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.groundContaminationName=_.itemName,this.operationCode=_.operation,this.groundContaminationsDetail$=this.groundContaminationService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(QT.M))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["excesoNitrogeno",""],["regadio",""],["cargaFosforo",""],["porcentajeSecano",""],["zonaVulnerableDesc",""],["excesoNitratoDesc",""],["appHighlight",""],[1,"bar-gradient"],["impactoDescripcion",""],["relevanciaFinalDescription",""]],template:function(n,_){if(1&n&&(e.YNc(0,hD,15,7,"div",0),e.ALo(1,"async"),e.YNc(2,mD,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.groundContaminationsDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var fD=m(9215);function vD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function CD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function bD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function xD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}function AD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoPRTR)}}function ED(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoPRTR)}}function OD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoCNAE)}}function MD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoCNAE)}}function TD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoPresion)}}function DD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoPresion)}}function ID(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.actividadEconomica)}}function yD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.actividadEconomica)}}function SD(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipoVertedero)}}function wD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoVertedero)}}const Zl=function(t){return{modified:t}};function PD(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"
1span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,vD,2,1,"span",13),e.qZA(),e.YNc(6,CD,1,1,"ng-template",null,14,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,bD,2,1,"span",13),e.qZA(),e.YNc(13,xD,1,1,"ng-template",null,15,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",12),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,AD,2,1,"span",13),e.qZA(),e.YNc(20,ED,1,1,"ng-template",null,16,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,OD,2,1,"span",13),e.qZA(),e.YNc(27,MD,1,1,"ng-template",null,17,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",12),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,TD,2,1,"span",13),e.qZA(),e.YNc(34,DD,1,1,"ng-template",null,18,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",12),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,ID,2,1,"span",13),e.qZA(),e.YNc(41,yD,1,1,"ng-template",null,19,e.W1O),e.TgZ(43,"mat-list-item",11)(44,"span",12),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,SD,2,1,"span",13),e.qZA(),e.YNc(48,wD,1,1,"ng-template",null,20,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(42,Zl,qe.modNombre)),e.xp6(1),e.hij("",e.lcZ(4,28,"landfill.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,Zl,qe.modComentarios)),e.xp6(1),e.hij("",e.lcZ(11,30,"landfill.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modComentarios)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,Zl,qe.modCodigoPRTR)),e.xp6(1),e.hij("",e.lcZ(18,32,"landfill.fichaTecnica.lblCodigoPRTR"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modCodigoPRTR)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,Zl,qe.modCodigoCNAE)),e.xp6(1),e.hij("",e.lcZ(25,34,"landfill.fichaTecnica.lblCodigoCNAE"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modCodigoCNAE)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,Zl,qe.modTipoPresion)),e.xp6(1),e.hij("",e.lcZ(32,36,"landfill.fichaTecnica.lblTipoPresion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modTipoPresion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,Zl,qe.modActividadEconomica)),e.xp6(1),e.hij("",e.lcZ(39,38,"landfill.fichaTecnica.lblActividadEconomica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modActividadEconomica)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,Zl,qe.modTipoVertedero)),e.xp6(1),e.hij("",e.lcZ(46,40,"landfill.fichaTecnica.lblTipoVertedero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modTipoVertedero)("ngIfElse",Zt)}}function RD(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,PD,50,56,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.landfillName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function ZD(t,o){1&t&&e._UZ(0,"app-spinner")}let ND=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.landfillService=D,this.landfillName="",this.numRed=s.C.numRed,this.numEnt=s.C.numEnt,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.landfillName=_.itemName,this.operationCode=_.operation,this.landfillDetail$=this.landfillService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(fD.b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["comentarios",""],["codigoPRTR",""],["codigoCNAE",""],["tipoPresion",""],["actividadEconomica",""],["tipoVertedero",""],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,RD,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,ZD,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.landfillDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function LD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.sueloEdaficoMod.orden)}}function VD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.sueloEdaficoMod.orden)}}function UD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.sueloEdaficoMod.suborden)}}function qD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.sueloEdaficoMod.suborden)}}function kD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.sueloEdaficoMod.tipo)}}function FD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.sueloEdaficoMod.tipo)}}function BD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.sueloEdaficoMod.espesor,_.numRed),"\xa0",e.lcZ(3,5,"unidades.metros"),"")}}function $D(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.sueloEdaficoMod.espesor,_.numRed),"\xa0",e.lcZ(2,5,"unidades.metros"),"")}}function YD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.sueloEdaficoMod.porcentaje,_.numRed),"\xa0",e.lcZ(3,5,"unidades.porcentaje"),"")}}function jD(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.sueloEdaficoMod.porcentaje,_.numRed),"\xa0",e.lcZ(2,5,"unidades.porcentaje"),"")}}const gc=function(t){return{modified:t}};function KD(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"
1span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,LD,2,1,"span",13),e.qZA(),e.YNc(6,VD,1,1,"ng-template",null,14,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,UD,2,1,"span",13),e.qZA(),e.YNc(13,qD,1,1,"ng-template",null,15,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",12),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,kD,2,1,"span",13),e.qZA(),e.YNc(20,FD,1,1,"ng-template",null,16,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,BD,4,7,"span",13),e.qZA(),e.YNc(27,$D,3,7,"ng-template",null,17,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",12),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,YD,4,7,"span",13),e.qZA(),e.YNc(34,jD,3,7,"ng-template",null,18,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(30,gc,je.sueloEdaficoMod.modOrden)),e.xp6(1),e.hij("",e.lcZ(4,20,"groundwaterbody.fichaTecnica.lblOrden"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.sueloEdaficoMod.modOrden)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(32,gc,je.sueloEdaficoMod.modSubOrden)),e.xp6(1),e.hij("",e.lcZ(11,22,"groundwaterbody.fichaTecnica.lblSuborden"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.sueloEdaficoMod.modSubOrden)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(34,gc,je.sueloEdaficoMod.modTipo)),e.xp6(1),e.hij("",e.lcZ(18,24,"groundwaterbody.fichaTecnica.lblTipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.sueloEdaficoMod.modTipo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(36,gc,je.sueloEdaficoMod.modEspesor)),e.xp6(1),e.hij("",e.lcZ(25,26,"groundwaterbody.fichaTecnica.lblEspesorMedio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.sueloEdaficoMod.modEspesor)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(38,gc,je.sueloEdaficoMod.modPorcentaje)),e.xp6(1),e.hij("",e.lcZ(32,28,"groundwaterbody.fichaTecnica.lblAfloramientoEnMasa"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.sueloEdaficoMod.modPorcentaje)("ngIfElse",Qe)}}function QD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.vulContaminacionMod.magnitud)}}function GD(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.vulContaminacionMod.magnitud)}}function JD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.vulContaminacionMod.valorMinimo,_.numRed))}}function WD(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.vulContaminacionMod.valorMinimo,_.numRed))}}function HD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.vulContaminacionMod.valorMaximo,_.numRed))}}function zD(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.vulContaminacionMod.valorMaximo,_.numRed))}}function XD(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.vulContaminacionMod.porcentajeSuperficie,_.numRed),"\xa0",e.lcZ(3,5,"unidades.porcentaje"),"")}}function eI(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.vulContaminacionMod.porcentajeSuperficie,_.numRed),"\xa0",e.lcZ(2,5,"unidades.porcentaje"),"")}}function tI(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",20),e._uU(3),e.ALo(4,"translate"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"mat-list-item",11)(7,"span",12),e._uU(8),e.ALo(9,"translate"),e.qZA(),e.YNc(10,QD,2,1,"span",13),e.qZA(),e.YNc(11,GD,1,1,"ng-template",null,21,e.W1O),e.TgZ(13,"mat-list-item",11)(14,"span",12),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,JD,3,4,"span",13),e.qZA(),e.YNc(18,WD,2,4,"ng-template",null,22,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,HD,3,4,"span",13),e.qZA(),e.YNc(25,zD,2,4,"ng-template",null,23,e.W1O),e.TgZ(27,"mat-list-item",11)(28,"span",12),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,XD,4,7,"span",13),e.qZA(),e.YNc(32,eI,3,7,"ng-template",null,24,e.W1O),e.qZA()),2&t){const n=e.MAs(12),_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,18,"groundwaterbody.fichaTecnica.lblIndice
1Empleado"),":\xa0"),e.xp6(2),e.hij("",Qe.vulContaminacionMod.indice," "),e.xp6(2),e.Q6J("ngClass",e.VKq(28,gc,Qe.vulContaminacionMod.modMagnitud)),e.xp6(1),e.hij("",e.lcZ(9,20,"groundwaterbody.fichaTecnica.lblMagnitud"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.vulContaminacionMod.modMagnitud)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(30,gc,Qe.vulContaminacionMod.modValMin)),e.xp6(1),e.hij("",e.lcZ(16,22,"groundwaterbody.fichaTecnica.lblValorMinimo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.vulContaminacionMod.modValMin)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(32,gc,Qe.vulContaminacionMod.modValMax)),e.xp6(1),e.hij("",e.lcZ(23,24,"groundwaterbody.fichaTecnica.lblValorMaximo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.vulContaminacionMod.modValMax)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(34,gc,Qe.vulContaminacionMod.modPorcentaje)),e.xp6(1),e.hij("",e.lcZ(30,26,"groundwaterbody.fichaTecnica.lblSuperficieMasa"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.vulContaminacionMod.modPorcentaje)("ngIfElse",ue)}}function nI(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,KD,36,40,"mat-list",7),e.YNc(8,tI,34,36,"mat-list",7),e.qZA()(),e.TgZ(9,"div",5)(10,"div",8)(11,"div",9)(12,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.gwbName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionEdaficSoil),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionVulCont),e.xp6(5),e.Oqu(e.l
1cZ(14,5,"botones.cerrar"))}}function iI(t,o){1&t&&e._UZ(0,"app-spinner")}let oI=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numRed=s.C.numRed,this.operacionEdaficSoil=s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_SUELO_EDAFICO,this.operacionVulCont=s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_VULN_CONTAMINA,this.gwbName=_.itemName,this.operationCode=_.operation,this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-unsatured-zone"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["orden",""],["suborden",""],["tipo",""],["espesor",""],["porcentaje",""],["appHighlight",""],["appBold",""],["magnitud",""],["valorMinimo",""],["valorMaximo",""],["porcentajeSuperficie",""]],template:function(n,_){if(1&n&&(e.YNc(0,nI,15,7,"div",0),e.ALo(1,"async"),e.YNc(2,iI,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();var BA=m(3280);function aI(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.usosMod.comentarios)}}function sI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.usosMod.comentarios)}}const As=function(t){return{modified:t}};function rI(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,aI,2,1,"span",13),e.qZA(),e.YNc(9,sI,1,1,"ng-template",14,15,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(6,As,_.usosMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(7,4,"extractions.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.usosMod.modComentarios)("ngIfElse",n)}}function cI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function lI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function _I(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codIntegra)}}function pI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codIntegra)}}function dI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codAlberca)}}function uI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codAlberca)}}function hI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codescv)}}function mI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codescv)}}function gI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function fI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function vI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codeSINAC)}}function CI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codeSINAC)}}function bI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.sinacZoneCode)}}function xI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.sinacZoneCode)}}function AI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.sinacZoneName)}
1}function EI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.sinacZoneName)}}function OI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.situacion)}}function MI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.situacion)}}function TI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipo)}}function DI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipo)}}function II(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.subtipo)}}function yI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.subtipo)}}function SI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.emergencia)}}function wI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.emergencia)}}function PI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.subcaptacion)}}function RI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.subcaptacion)}}function ZI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.situacionSinac)}}function NI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.situacionSinac)}}function LI(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.zpGenerate)}}function VI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.zpGenerate)}}function UI(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function qI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}function kI(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,cI,2,1,"span",17),e.qZA(),e.YNc(9,lI,1,1,"ng-template",null,18,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,_I,2,1,"span",17),e.qZA(),e.YNc(16,pI,1,1,"ng-template",null,19,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,dI,2,1,"span",17),e.qZA(),e.YNc(23,uI,1,1,"ng-template",null,20,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,hI,2,1,"span",17),e.qZA(),e.YNc(30,mI,1,1,"ng-template",null,21,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,gI,2,1,"span",17),e.qZA(),e.YNc(37,fI,1,1,"ng-template",null,22,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,vI,2,1,"span",17),e.qZA(),e.YNc(44,CI,1,1,"ng-template",null,23,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,bI,2,1,"span",17),e.qZA(),e.YNc(51,xI,1,1,"ng-template",null,24,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,AI,2,1,"span",17),e.qZA(),e.YNc(58,EI,1,1,"ng-template",null,25,e.W1O),e.TgZ(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,OI,2,1,"span",17),e.qZA(),e.YNc(65,MI,1,1,"ng-template",null,26,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,TI,2,1,"span",17),e.qZA(),e.YNc(72,DI,1,1,"ng-template",null,27,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,II,2,1,"span",17),e.qZA(),e.YNc(79,yI,1,1,"ng-template",null,28,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,SI,2,1,"span",17),e.qZA(),e.YNc(86,wI,1,1,"ng-template",null,29,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,PI,2,1,"span",17),e.qZA(),e.YNc(93,RI,1,1,"ng-template",null,30,e.W1O),e.TgZ(95,"mat-list-item",11)(96,"span",12),e._uU(97),e.ALo(98,"translate"),e.qZA(),e.YNc(99,ZI,2,1,"span",17),e.qZA(),e.YNc(100,NI,1,1,"ng-template",null,31,e.W1O),e.TgZ(102,"mat-list-item",11)(103,"span",12),e._uU(104),e.ALo(105,"translate"),e.qZA(),e.YNc(106,LI,2,1,"span",17),e.qZA(),e.YNc(107,VI,1,1,"ng-template",null,32,e.W1O),e.TgZ(109,"mat-list-item",11)(110,"span",12),e._uU(111),e.ALo(112,"translate"),e.qZA(),e.YNc(113,UI,2,1,"span",13),e.qZA(),e.YNc(114,qI,1,1,"ng-template",14,15,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.MAs(94),si=e.MAs(101),jn=e.MAs(108),da=e.MAs(115),ii=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(96,As,ii.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,64,"extractions.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(98,As,ii.modCodIntegra)),e.xp6(1),e.hij("",e.lcZ(14,66,"extractions.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodIntegra)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(100,As,ii.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(21,68,"extractions.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodAlberca)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(102,As,ii.modCodigoSCV)),e.xp6(1),e.hij("",e.lcZ(28,70,"extractions.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodigoSCV)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(104,As,ii.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(35,72,"extractions.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodigoEuropeo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(106,As,ii.modCodigoSINAC)),e.xp6(1),e.hij("",e.lcZ(42,74,"extractions.fichaTecnica.lblCodigoSINAC"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modCodigoSINAC)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(108,As,ii.modSinacZoneCode)),e.xp6(1),e.hij("",e.lcZ(49,76,"extractions.fichaTecnica.lblSinacZoneCode"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modSinacZoneCode)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(110,As,ii.modSinacZoneName)),e.xp6(1),e.hij("",e.lcZ(56,78,"extractions.fichaTecnica.lblSinacZoneName"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modSinacZoneName)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(112,As,ii.modSituacion)),e.xp6(1),e.hij("",e.lcZ(63,80,"extractions.fichaTecnica.lblSituacionUso"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modSituacion)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(114,As,ii.modTipo)),e.xp6(1),e.hij("",e.lcZ(70,82,"extractions.fichaTecnica.lblCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modTipo)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(116,As,ii.modSubtipo)),e.xp6(1),e.hij("",e.lcZ(77,84,"extractions.fichaTecnica.lblSubtipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modSubtipo)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(118,As,ii.modEmergencia)),e.xp6(1),e.hij("",e.lcZ(84,86,"extractions.fichaTecnica.lblEmergencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modEmergencia)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(120,As,ii.modSubcaptacion)),e.xp6(1),e.hij("",e.lcZ(91,88,"extractions.fichaTecnica.lblSubCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modSubcaptacion)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(122,As,ii.modSituacionSinac)),e.xp6(1),e.hij("",e.lcZ(98,90,"extractions.fichaTecnica.lblSituacionSinac"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modSituacionSinac)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(124,As,ii.modZpGenerate)),e.xp6(1),e.hij("",e.lcZ(105,92,"extractions.fichaTecnica.lblZpGenerate"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modZpGenerate)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(126,As,ii.modComentarios)),e.xp6(1),e.hij("",e.lcZ(112,94,"extractions.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ii.modComentarios)("ngIfElse",da)}}function FI(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,rI,11,8,"ng-container",5),e.YNc(6,kI,116,128,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(2),e.Q6J("ngIf",_.operacionUsos),e.xp6(1),e.Q6J("ngIf",_.operacionGeneral),e.xp6(5),e.Oqu(e.l
1cZ(12,5,"botones.cerrar"))}}function BI(t,o){1&t&&e._UZ(0,"app-spinner")}let $I=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.extractionsService=D,this.extractionName="",this.numRed=s.C.numRed,this.operacionGeneral=!1,this.operacionUsos=!1,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===_.operation,this.operacionUsos=s.C.operacion.OPERACION_USOS===_.operation,this.extractionName=_.itemName,this.operationCode=_.operation,this.extraccion$=this.extractionsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(BA.k))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["codIntegra",""],["codAlberca",""],["codeSCV",""],["codigoEuropeo",""],["codeSINAC",""],["sinacZoneCode",""],["sinacZoneName",""],["situacion",""],["tipo",""],["subtipo",""],["emergencia",""],["subcaptacion",""],["situacionSinac",""],["zpgenerate",""],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,FI,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,BI,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.extraccion$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function YI(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.bombeoDTecExtraccionesDtoMod.profundidadAspiracion,_.numRed))}}function jI(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.metros"),""))}function KI(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.bombeoDTecExtraccionesDtoMod.profundidadAspiracion,_.numRed))}}function QI(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.bombeoDTecExtraccionesDtoMod.tipoMotor)}}function GI(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.bombeoDTecExtraccionesDtoMod.tipoMotor)}}function JI(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.bombeoDTecExtraccionesDtoMod.caudalMaximo,_.numRed))}}function WI(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.lSeg"),""))}function HI(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.bombeoDTecExtraccionesDtoMod.caudalMaximo,_.numRed))}}function zI(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.bombeoDTecExtraccionesDtoMod.potanciaTotalCV,_.numRed))}}function XI(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.cv"),""))}function e6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.bombeoDTecExtraccionesDtoMod.potanciaTotalCV,_.numRed))}}const Jo=function(t){return{modified:t}};function t6(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,YI,3,4,"span",13),e.YNc(9,jI,3,3,"span",14),e.qZA(),e.YNc(10,KI,2,4,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,QI,2,1,"span",13),e.qZA(),e.YNc(17,GI,1,1,"ng-template",null,16,e.W1O),e.TgZ(19,"mat-list-item",11)(20,"span",12),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.YNc(23,JI,3,4,"span",13),e.YNc(24,WI,3,3,"span",14),e.qZA(),e.YNc(25,HI,2,4,"ng-template",null,17,e.W1O),e.TgZ(27,"mat-list-item",11)(28,"span",12),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,zI,3,4,"span",13),e.YNc(32,XI,3,3,"span",14),e.qZA(),e.YNc(33,e6,2,4,"ng-template",null,18,e.W1O),e.TgZ(35,"mat-list-item",11)(36,"span",19),e._uU(37),e.ALo(38,"translate"),e.qZA(),e._uU(39),e.ALo(40,"number"),e.ALo(4
11,"translate"),e.qZA(),e.TgZ(42,"mat-list-item",11)(43,"span",19),e._uU(44),e.ALo(45,"translate"),e.qZA(),e._uU(46),e.ALo(47,"number"),e.ALo(48,"translate"),e.qZA()()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.MAs(26),ue=e.MAs(34),Qe=e.oxw().ngIf,je=e.oxw();e.xp6(5),e.Q6J("ngClass",e.VKq(47,Jo,Qe.bombeoDTecExtraccionesDtoMod.modProfundidadAspiracion)),e.xp6(1),e.hij("",e.lcZ(7,25,"extractions.fichaTecnica.lblProfundidadAspiracion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.bombeoDTecExtraccionesDtoMod.modProfundidadAspiracion)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Qe.bombeoDTecExtraccionesDtoMod.profundidadAspiracion),e.xp6(4),e.Q6J("ngClass",e.VKq(49,Jo,Qe.bombeoDTecExtraccionesDtoMod.modTipoMotor)),e.xp6(1),e.hij("",e.lcZ(15,27,"extractions.fichaTecnica.lblTipoMotor"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.bombeoDTecExtraccionesDtoMod.modTipoMotor)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(51,Jo,Qe.bombeoDTecExtraccionesDtoMod.modCaudalMaximo)),e.xp6(1),e.hij("",e.lcZ(22,29,"extractions.fichaTecnica.lblCaudalMaximo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.bombeoDTecExtraccionesDtoMod.modCaudalMaximo)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Qe.bombeoDTecExtraccionesDtoMod.caudalMaximo),e.xp6(4),e.Q6J("ngClass",e.VKq(53,Jo,Qe.bombeoDTecExtraccionesDtoMod.modPotanciaTotalCV)),e.xp6(1),e.hij("",e.lcZ(30,31,"extractions.fichaTecnica.lblPotenciaTotal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.bombeoDTecExtraccionesDtoMod.modPotanciaTotalCV)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",Qe.bombeoDTecExtraccionesDtoMod.potanciaTotalCV),e.xp6(5),e.hij("",e.lcZ(38,33,"extractions.fichaTecnica.lblPotenciaTotal"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(40,35,Qe.bombeoDTecExtraccionesDtoMod.potanciaTotalKW,je.numRed)," \xa0",e.lcZ(41,38,"unidades.kw")," "),e.xp6(5),e.hij("",e.lcZ(45,40,"extractions.fichaTecnica.lblPotenciaCalculada"),":\xa0"),e.xp6(2),e.AsE("",e.xi3(47,42,Qe.bombeoDTecExtraccionesDtoMod.potanciaCalculada,je.numRed)," \xa0",e.lcZ(48,45,"unidades.kw")," ")}}function n6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.entubacionDatTecExtraccionesDtoMod.desde,_.numRed))}}function i6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.metros"),""))}function o6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.entubacionDatTecExtraccionesDtoMod.desde,_.numRed))}}function a6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.entubacionDatTecExtraccionesDtoMod.hasta,_.numRed))}}function s6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.metros"),""))}function r6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.entubacionDatTecExtraccionesDtoMod.hasta,_.numRed))}}function c6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.entubacionDatTecExtraccionesDtoMod.diametro,_.numRed))}}function l6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.mm"),""))}function _6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.entubacionDatTecExtraccionesDtoMod.diametro,_.numRed))}}function p6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.entubacionDatTecExtraccionesDtoMod.descTipo)}}function d6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.entubacionDatTecExtraccionesDtoMod.descTipo)}}function u6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.entubacionDatTecExtraccionesDtoMod.descRelleno)}}function h6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.entubacionDatTecExtraccionesDtoMod.descRelleno)}}function m6(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.entubacionDatTecExtraccionesDtoMod.comentarios)}}function g6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.entubacionDatTecExtraccionesDtoMod.comentarios)}}function f6(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,n6,3,4,"span",13),e.YNc(9,i6,3,3,"span",14),e.qZA(),e.YNc(10,o6,2,4,"ng-template",null,21,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,a6,3,4,"span",13),e.YNc(17,s6,3,3,"span",14),e.qZA(),e.YNc(18,r6,2,4,"ng-template",null,22,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,c6,3,4,"span",13),e.YNc(25,l6,3,3,"span",14),e.qZA(),e.YNc(26,_6,2,4,"ng-template",null,23,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",12),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,p6,2,1,"span",13),e.qZA(),e.YNc(33,d6,1,1,"ng-template",null,24,e.W1O),e.TgZ(35,"mat-list-item",11)(36,"span",12),e._uU(37),e.ALo(38,"translate"),e.qZA(),e.YNc(39,u6,2,1,"span",13),e.qZA(),e.YNc(40,h6,1,1,"ng-template",null,25,e.W1O),e.TgZ(42,"mat-list-item",11)(43,"span",12),e._uU(44),e.ALo(45,"translate"),e.qZA(),e.YNc(46,m6,2,1,"span",26),e.qZA(),e.YNc(47,g6,1,1,"ng-template",27,28,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(34),Qe=e.MAs(41),je=e.MAs(48),Zt=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(39,Jo,Zt.entubacionDatTecExtraccionesDtoMod.modDesde)),e.xp6(1),e.hij("",e.lcZ(7,27,"extractions.fichaTecnica.lblDesde"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.modDesde)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.desde),e.xp6(4),e.Q6J("ngClass",e.VKq(41,Jo,Zt.entubacionDatTecExtraccionesDtoMod.modHasta)),e.xp6(1),e.hij("",e.lcZ(15,29,"extractions.fichaTecnica.lblHasta"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.modHasta)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.hasta),e.xp6(4),e.Q6J("ngClass",e.VKq(43,Jo,Zt.entubacionDatTecExtraccionesDtoMod.modDiametro)),e.xp6(1),e.hij("",e.lcZ(23,31,"extractions.fichaTecnica.lblDiametro"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.modDiametro)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.diametro),e.xp6(4),e.Q6J("ngClass",e.VKq(45,Jo,Zt.entubacionDatTecExtraccionesDtoMod.modTipo)),e.xp6(1),e.hij("",e.lcZ(31,33,"extractions.fichaTecnica.lblTipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.modTipo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(47,Jo,Zt.entubacionDatTecExtraccionesDtoMod.modRelleno)),e.xp6(1),e.hij("",e.lcZ(38,35,"extractions.fichaTecnica.lblRelleno"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.modRelleno)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(49,Jo,Zt.entubacionDatTecExtraccionesDtoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(45,37,"extractions.fichaTecnica.lblObservaciones"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.entubacionDatTecExtraccionesDtoMod.modComentarios)("ngIfElse",je)}}function v6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.perforacionDatTecExtraccionesDtoMod.desde,_.numRed))}}function C6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.metros"),""))}function b6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.perforacionDatTecExtraccionesDtoMod.desde,_.numRed))}}function x6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.perforacionDatTecExtraccionesDtoMod.hasta,_.numRed))}}function A6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.metros"),""))}function E6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.perforacionDatTecExtraccionesDtoMod.hasta,_.numRed))}}function O6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.perforacionDatTecExtraccionesDtoMod.diametro,_.numRed))}}function M6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.mm"),""))}function T6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.perforacionDatTecExtraccionesDtoMod.diametro,_.numRed))}}function D6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.perforacionDatTecExtraccionesDtoMod.descLitologia)}}function I6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.perforacionDatTecExtraccionesDtoMod.descLitologia)}}function y6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.perforacionDatTecExtraccionesDtoMod.descEdad)}}function S6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.perforacionDatTecExtraccionesDtoMod.descEdad)}}function w6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.perforacionDatTecExtraccionesDtoMod.descAcuifero)}}function P6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.perforacionDatTecExtraccionesDtoMod.descAcuifero)}}function R6(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.perforacionDatTecExtraccionesDtoMod.comentarios)}}function Z6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.perforacionDatTecExtraccionesDtoMod.comentarios)}}function N6(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,v6,3,4,"span",13),e.YNc(9,C6,3,3,"span",14),e.qZA(),e.YNc(10,b6,2,4,"ng-template",null,21,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,x6,3,4,"span",13),e.YNc(17,A6,3,3,"span",14),e.qZA(),e.YNc(18,E6,2,4,"ng-template",null,22,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,O6,3,4,"span",13),e.YNc(25,M6,3,3,"span",14),e.qZA(),e.YNc(26,T6,2,4,"ng-template",null,23,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",12),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,D6,2,1,"span",13),e.qZA(),e.YNc(33,I6,
11,1,"ng-template",null,30,e.W1O),e.TgZ(35,"mat-list-item",11)(36,"span",12),e._uU(37),e.ALo(38,"translate"),e.qZA(),e.YNc(39,y6,2,1,"span",13),e.qZA(),e.YNc(40,S6,1,1,"ng-template",null,31,e.W1O),e.TgZ(42,"mat-list-item",11)(43,"span",12),e._uU(44),e.ALo(45,"translate"),e.qZA(),e.YNc(46,w6,2,1,"span",13),e.qZA(),e.YNc(47,P6,1,1,"ng-template",null,32,e.W1O),e.TgZ(49,"mat-list-item",11)(50,"span",12),e._uU(51),e.ALo(52,"translate"),e.qZA(),e.YNc(53,R6,2,1,"span",26),e.qZA(),e.YNc(54,Z6,1,1,"ng-template",27,28,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(34),Qe=e.MAs(41),je=e.MAs(48),Zt=e.MAs(55),qe=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(45,Jo,qe.perforacionDatTecExtraccionesDtoMod.modDesde)),e.xp6(1),e.hij("",e.lcZ(7,31,"extractions.fichaTecnica.lblDesde"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.modDesde)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.desde),e.xp6(4),e.Q6J("ngClass",e.VKq(47,Jo,qe.perforacionDatTecExtraccionesDtoMod.modHasta)),e.xp6(1),e.hij("",e.lcZ(15,33,"extractions.fichaTecnica.lblHasta"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.modHasta)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.hasta),e.xp6(4),e.Q6J("ngClass",e.VKq(49,Jo,qe.perforacionDatTecExtraccionesDtoMod.modDiametro)),e.xp6(1),e.hij("",e.lcZ(23,35,"extractions.fichaTecnica.lblDiametro"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.modDiametro)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.diametro),e.xp6(4),e.Q6J("ngClass",e.VKq(51,Jo,qe.perforacionDatTecExtraccionesDtoMod.modLitologia)),e.xp6(1),e.hij("",e.lcZ(31,37,"extractions.fichaTecnica.lblLitologiaPredominante"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.modLitologia)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(53,Jo,qe.perforacionDatTecExtraccionesDtoMod.modEdad)),e.xp6(1),e.hij("",e.lcZ(38,39,"extractions.fichaTecnica.lblEdad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.modEdad)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(55,Jo,qe.perforacionDatTecExtraccionesDtoMod.modAcuifero)),e.xp6(1),e.hij("",e.lcZ(45,41,"extractions.fichaTecnica.lblAcuifero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.modAcuifero)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(57,Jo,qe.perforacionDatTecExtraccionesDtoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(52,43,"extractions.fichaTecnica.lblObservaciones"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.perforacionDatTecExtraccionesDtoMod.modComentarios)("ngIfElse",Zt)}}function L6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.descTuberiaPiezometrica)}}function V6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.descTuberiaPiezometrica)}}function U6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.descContador)}}function q6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.descContador)}}function k6(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.comentarios)}}function F6(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.comentarios)}}function B6(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,L6,2,1,"span",13),e.qZA(),e.YNc(9,V6,1,1,"ng-template",null,33,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,U6,2,1,"span",13),e.qZA(),e.YNc(16,q6,1,1,"ng-template",null,34,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,k6,2,1,"span",26),e.qZA(),e.YNc(23,F6,1,1,"ng-template",27,28,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(18,Jo,ue.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.modTuberiaPiezometrica)),e.xp6(1),e.hij("",e.lcZ(7,12,"extractions.fichaTecnica.lblTuberiaPiezometrica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.modTuberiaPiezometrica)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(20,Jo,ue.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.modContador)),e.xp6(1),e.hij("",e.lcZ(14,14,"extractions.fichaTecnica.lblTipoContador"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.modContador)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(22,Jo,ue.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(21,16,"extractions.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.pantallaPerforacionEntubacionDatTecExtraccionesDtoMod.modComentarios)("ngIfElse",D)}}function $6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.pantallaGaleriaDatTecExtraccionesDtoMod.profundidad,_.numRed))}}function Y6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.metros"),""))}function j6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.pantallaGaleriaDatTecExtraccionesDtoMod.profundidad,_.numRed))}}function K6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.pantallaGaleriaDatTecExtraccionesDtoMod.maxDiametro,_.numRed))}}function Q6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.mm"),""))}function G6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.pantallaGaleriaDatTecExtraccionesDtoMod.maxDiametro,_.numRed))}}function J6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.pantallaGaleriaDatTecExtraccionesDtoMod.minDiametro,_.numRed))}}function W6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.mm"),""))}function H6(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.pantallaGaleriaDatTecExtraccionesDtoMod.minDiametro,_.numRed))}}function z6(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.pantallaGaleriaDatTecExtraccionesDtoMod.longitudTuberia,_.numRed))}}function X6(t,o){1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.metros"),""))}function ey(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.pantallaGaleriaDatTecExtraccionesDtoMod.longitudTuberia,_.numRed))}}function ty(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaGaleriaDatTecExtraccionesDtoMod.descContador)}}function ny(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaGaleriaDatTecExtraccionesDtoMod.descContador)}}function iy(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaGaleriaDatTecExtraccionesDtoMod.descInstalacion)}}function oy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaGaleriaDatTecExtraccionesDtoMod.descInstalacion)}}function ay(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaGaleriaDatTecExtraccionesDtoMod.comentarios)}}function sy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaGaleriaDatTecExtraccionesDtoMod.comentarios)}}function ry(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,$6,3,4,"span",13),e.YNc(9,Y6,3,3,"span",14),e.qZA(),e.YNc(10,j6,2,4,"ng-template",null,35,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,K6,3,4,"span",13),e.YNc(17,Q6,3,3,"span",14),e.qZA(),e.YNc(18,G6,2,4,"ng-template",null,36,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,J6,3,4,"span",13),e.YNc(25,W6,3,3,"span",14),e.qZA(),e.YNc(26,H6,2,4,"ng-template",null,37,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",12),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,z6,3,4,"span",13),e.YNc(33,X6,3,3,"span",14),e.qZA(),e.YNc(34,ey,2,4,"ng-template",null,38,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",12),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,ty,2,1,"span",13),e.qZA(),e.YNc(41,ny,1,1,"ng-template",null,34,e.W1O),e.TgZ(43,"mat-list-item",11)(44,"span",12),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,iy,2,1,"span",13),e.qZA(),e.YNc(48,oy,1,1,"ng-template",null,39,e.W1O),e.TgZ(50,"mat-list-item",11)(51,"span",12),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,ay,2,1,"span",26),e.qZA(),e.YNc(55,sy,1,1,"ng-template",27,28,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(35),Qe=e.MAs(42),je=e.MAs(49),Zt=e.MAs(56),qe=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(46,Jo,qe.pantallaGaleriaDatTecExtraccionesDtoMod.modProfundidad)),e.xp6(1),e.hij("",e.lcZ(7,32,"extractions.fichaTecnica.lblLongitudSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.modProfundidad)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.profundidad),e.xp6(4),e.Q6J("ngClass",e.VKq(48,Jo,qe.pantallaGaleriaDatTecExtraccionesDtoMod.modMaxDiametro)),e.xp6(1),e.hij("",e.lcZ(15,34,"extractions.fichaTecnica.lblDiametroMaximoSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.modMaxDiametro)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.maxDiametro),e.xp6(4),e.Q6J("ngClass",e.VKq(50,Jo,qe.pantallaGaleriaDatTecExtraccionesDtoMod.modMinDiametro)),e.xp6(1),e.hij("",e.lcZ(23,36,"extractions.fichaTecnica.lblDiametroMinimoSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.modMinDiametro)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.minDiametro),e.xp6(4),e.Q6J("ngClass",e.VKq(52,Jo,qe.pantallaGaleriaDatTecExtraccionesDtoMod.modLongitudTuberia)),e.xp6(1),e.hij("",e.lcZ(31,38,"extractions.fichaTecnica.lblTuberiaFiltranteSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.modLongitudTuberia)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.longitudTuberia),e.xp6(4),e.Q6J("ngClass",e.VKq(54,Jo,qe.pantallaGaleriaDatTecExtraccionesDtoMod.modContador)),e.xp6(1),e.hij("",e.lcZ(39,40,"extractions.fichaTecnica.lblTipoContador"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.modContador)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(56,Jo,qe.pantallaGaleriaDatTecExtraccionesDtoMod.modInstalacion)),e.xp6(1),e.hij("",e.lcZ(46,42,"extractions.fichaTecnica.lblInstalacionBombeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.modInstalacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(58,Jo,qe.pantallaGaleriaDatTecExtraccionesDtoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(53,44,"extractions.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.pantallaGaleriaDatTecExtraccionesDtoMod.modComentarios)("ngIfElse",Zt)}}function cy(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaAzudEmbalseMod.descInstalacion)}}function ly(t,o){1&t&&e._UZ(0,"span",19)}function _y(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaAzudEmbalseMod.descInstalacion)}}function py(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaAzudEmbalseMod.descAzud)}}function dy(t,o){1&t&&e._UZ(0,"span",19)}function uy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaAzudEmbalseMod.descAzud)}}function hy(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaAzudEmbalseMod.descEmbalse)}}function my(t,o){1&t&&e._UZ(0,"span",19)}function gy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaAzudEmbalseMod.descEmbalse)}}function fy(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaAzudEmbalseMod.descContador)}}function vy(t,o){1&t&&e._UZ(0,"span",19)}function Cy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaAzudEmbalseMod.descContador)}}function by(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.pantallaAzudEmbalseMod.comentarios)}}function xy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.pantallaAzudEmbalseMod.comentarios)}}function Ay(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,cy,2,1,"span",13),e.YNc(9,ly,1,0,"span",14),e.qZA(),e.YNc(10,_y,1,1,"ng-template",null,40,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,py,2,1,"span",13),e.YNc(17,dy,1,0,"span",14),e.qZA(),e.YNc(18,uy,1,1,"ng-template",null,41,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,hy,2,1,"span",13),e.YNc(25,my,1,0,"span",14),e.qZA(),e.YNc(26,gy,1,1,"ng-template",null,42,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",12),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,fy,2,1,"span",13),e.YNc(33,vy,1,0,"span",14),e.qZA(),e.YNc(34,Cy,1,1,"ng-template",null,43,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",12),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,by,2,1,"span",26),e.qZA(),e.YNc(41,xy,1,1,"ng-template",27,28,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(35),Qe=e.MAs(42),je=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(34,Jo,je.pantallaAzudEmbalseMod.modInstalacion)),e.xp6(1),e.hij("",e.lcZ(7,24,"extractions.fichaTecnica.lblInstalacionBombeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.modInstalacion)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.descInstalacion),e.xp6(4),e.Q6J("ngClass",e.VKq(36,Jo,je.pantallaAzudEmbalseMod.modAzud)),e.xp6(1),e.hij("",e.lcZ(15,26,"extractions.fichaTecnica.lblAzudRelacionado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.modAzud)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.descAzud),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Jo,je.pantallaAzudEmbalseMod.modEmbalse)),e.xp6(1),e.hij("",e.lcZ(23,28,"extractions.fichaTecnica.lblEmbalseRelacionado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.modEmbalse)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.descEmbalse),e.xp6(4),e.Q6J("ngClass",e.VKq(40,Jo,je.pantallaAzudEmbalseMod.modContador)),e.xp6(1),e.hij("",e.lcZ(31,30,"extractions.fichaTecnica.lblTipoContador"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.modContador)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.descContador),e.xp6(4),e.Q6J("ngClass",e.VKq(42,Jo,je.pantallaAzudEmbalseMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(39,32,"extractions.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.pantallaAzudEmbalseMod.modComentarios)("ngIfElse",Qe)}}function Ey(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,t6,49,55,"ng-container",5),e.YNc(6,f6,49,51,"ng-container",5),e.YNc(7,N6,56,59,"ng-container",5),e.YNc(8,B6,25,24,"ng-container",5),e.YNc(9,ry,57,60,"ng-container",5),e.YNc(10,Ay,43,44,"ng-container",5),e.TgZ(11,"div",6)(12,"div",7)(13,"div",8)(14,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(15),e.ALo(16,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.extractionName,""),e.xp6(2),e.Q6J("ngIf",_.operacionBombeo),e.xp6(1),e.Q6J("ngIf",_.operacionEntubacion),e.xp6(1),e.Q6J("ngIf",_.operacionPerforacion),e.xp6(1),e.Q6J("ngIf",_.operacionTypePozo),e.xp6(1),e.Q6J("ngIf",_.operacionTypeGaleria),e.xp6(1),e.Q6J("ngIf",_.operacionTypeAzudEmbalse),e.xp6(5),e.Oqu(e.l
1cZ(16,9,"botones.cerrar"))}}function Oy(t,o){1&t&&e._UZ(0,"app-spinner")}let My=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.extractionsService=D,this.extractionName="",this.operacionBombeo=!1,this.operacionEntubacion=!1,this.operacionPerforacion=!1,this.operacionTypePozo=!1,this.operacionTypeGaleria=!1,this.operacionTypeAzudEmbalse=!1,this.numRed=s.C.numRed,this.operacionBombeo=s.C.operacion.OPERACION_BOMBEO_EXTRACCIONES===_.operation,this.operacionEntubacion=s.C.operacion.OPERACION_ENTUBACION_EXTRACCIONES===_.operation,this.operacionPerforacion=s.C.operacion.OPERACION_PERFORACION_EXTRACCIONES===_.operation,this.operacionTypePozo=s.C.operacion.OPERACION_POZO_EXTRACCIONES===_.operation,this.operacionTypeGaleria=s.C.operacion.OPERACION_GALERIA_EXTRACCIONES===_.operation,this.operacionTypeAzudEmbalse=s.C.operacion.OPERACION_AZUD_EMBALSE_EXTRACCIONES===_.operation,this.extractionName=_.itemName,this.operationCode=_.operation,this.extraccion$=this.extractionsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(BA.k))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-technic-data-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["profundidadAspiracion",""],["tipoMotor",""],["caudalMaximo",""],["potanciaTotalCV",""],["appBold",""],["appHighlight",""],["desde",""],["hasta",""],["diametro",""],["descTipo",""],["descRelleno",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["descLitologia",""],["descEdad",""],["descAcuifero",""],["tuberiaPiezometrica",""],["contador",""],["profundidad",""],["maxDiametro",""],["minDiametro",""],["longitudTuberia",""],["instalacion",""],["descInstalacion",""],["descAzud",""],["descEmbalse",""],["descContador",""]],template:function(n,_){if(1&n&&(e.YNc(0,Ey,17,11,"div",0),e.ALo(1,"async"),e.YNc(2,Oy,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.extraccion$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Ty(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.caudalMedioSolicitado)}}function Dy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.caudalMedioSolicitado)}}function Iy(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.volumenMaxSolicitado)}}function yy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.volumenMaxSolicitado)}}function Sy(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.volumenMaxAnualInformado)}}function wy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.volumenMaxAnualInformado)}}function Py(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.volumenMaxAnualEstimadoCaptacion)}}function Ry(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.volumenMaxAnualEstimadoCaptacion)}}function Zy(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.volMaximoAnualCaptacion)}}function Ny(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.volMaximoAnualCaptacion)}}function Ly(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.caudalMaxInstantaneoCaptacion)}}function Vy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.caudalMaxInstantaneoCaptacion)}}function Uy(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.caudalMedioEquivalenteCaptacion)}}function qy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.caudalMedioEquivalenteCaptacion)}}function ky(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentariosInfoConcesion)}}function Fy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentariosInfoConcesion)}}const Xc=function(t){return{modified:t}};function By(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Ty,2,1,"span",9),e.qZA(),e.YNc(13,Dy,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,Iy,2,1,"span",9),e.qZA(),e.YNc(20,yy,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Sy,2,1,"span",9),e.qZA(),e.YNc(27,wy,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,Py,2,1,"span",9),e.qZA(),e.YNc(34,Ry,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,Zy,2,1,"span",9),e.qZA(),e.YNc(41,Ny,1,1,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,Ly,2,1,"span",9),e.qZA(),e.YNc(48,Vy,1,1,"ng-template",null,15,e.W1O),e.TgZ(50,"mat-list-item",7)(51,"span",8),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,Uy,2,1,"span",9),e.qZA(),e.YNc(55,qy,1,1,"ng-template",null,16,e.W1O),e.TgZ(57,"mat-list-item",7)(58,"span",8),e._uU(59),e.ALo(60,"translate"),e.qZA(),e.YNc(61,ky,2,1,"span",17),e.qZA(),e.YNc(62,Fy,1,1,"ng-template",18,19,e.W1O),e.qZA()()(),e.TgZ(64,"div",5)(65,"div",20)(66,"div",21)(67,"button",22),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(68),e.ALo(69,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.MAs(56),tn=e.MAs(63);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(6),e.Q6J("ngClass",e.VKq(53,Xc,n.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(11,35,"extractions.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCaudalMedioSolicitado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(55,Xc,n.modVolumenMaxSolicitado)),e.xp6(1),e.hij("",e.lcZ(18,37,"extractions.fichaTecnica.lblVolMaximoAnualSolicitado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modVolumenMaxSolicitado)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(57,Xc,n.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(25,39,"extractions.fichaTecnica.lblVolumenMaxAnualInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modVolumenMaxAnualInformado)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(59,Xc,n.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(32,41,"extractions.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(61,Xc,n.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(39,43,"extractions.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modVolMaximoAnualCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(63,Xc,n.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(46,45,"extractions.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(65,Xc,n.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(53,47,"extractions.fichaTecnica.lblCaudalMaxEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCaudalMedioEquivalenteCaptacion)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(67,Xc,n.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(60,49,"extractions.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentariosInfoConcesion)("ngIfElse",tn),e.xp6(7),e.Oqu(e.l
1cZ(69,51,"botones.cerrar"))}}function $y(t,o){1&t&&e._UZ(0,"app-spinner")}let Yy=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.extractionsService=D,this.extractionName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_INFO_CONCESIONAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.extractionName=_.itemName,this.operationCode=_.operation,this.infoConcesional$=this.extractionsService.getComparacionVersionInfoConcesional(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(BA.k))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-conc-info"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["caudalMedioSolicitado",""],["volumenMaxSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentariosInfoConcesion",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,By,70,69,"div",0),e.ALo(1,"async"),e.YNc(2,$y,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.infoConcesional$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function jy(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.zonaProtegidaMod.fechaIni,_.dateFormat))}}function Ky(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.zonaProtegidaMod.fechaIni,_.dateFormat))}}function Qy(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.zonaProtegidaMod.fechaFin,_.dateFormat))}}function Gy(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.zonaProtegidaMod.fechaFin,_.dateFormat))}}function Jy(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.zonaProtegidaMod.zonaTransferencia)}}function Wy(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.zonaProtegidaMod.zonaTransferencia)}}function Hy(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw().ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.zonaProtegidaMod.tasaTransferencia,_.numRed))}}function zy(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw().ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.zonaProtegidaMod.tasaTransferencia,_.numRed),"\xa0",e.lcZ(2,5,"unidades.hm3Anyo"),"")}}function Xy(t,o){if(1&t&&(e.TgZ(0,"span",19),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.zonaProtegidaMod.comentarios)}}function eS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.zonaProtegidaMod.comentarios)}}const gu=function(t){return{modified:t}};function tS(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",8),e._uU(15),e.ALo(16,"translate"),e.qZA(),e._uU(17),e.qZA(),e.TgZ(18,"mat-list-item",7)(19,"span",9),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,jy,3,4,"span",10),e.qZA(),e.YNc(23,Ky,2,4,"ng-template",null,11,e.W1O),e.TgZ(25,"mat-list-item",7)(26,"span",9),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,Qy,3,4,"span",10),e.qZA(),e.YNc(30,Gy,2,4,"ng-template",null,12,e.W1O),e.TgZ(32,"mat-list-item",7)(33,"span",9),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,Jy,2,1,"span",10),e.qZA(),e.YNc(37,Wy,1,1,"ng-template",null,13,e.W1O),e.TgZ(39,"mat-list-item",7)(40,"span",9),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,Hy,3,4,"span",10),e.qZA(),e.YNc(44,zy,3,7,"ng-template",null,14,e.W1O),e.TgZ(46,"mat-list-item",7)(47,"span",9),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,Xy,2,1,"span",10),e.qZA(),e.YNc(51,eS,1,1,"ng-template",null,15,e.W1O),e.qZA()()(),e.TgZ(53,"div",5)(54,"div",16)(55,"div",17)(56,"button",18),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(57),e.ALo(58,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(24),D=e.MAs(31),ue=e.MAs(38),Qe=e.MAs(45),je=e.MAs(52),Zt=e.oxw();e.xp6(3),e.AsE("",n.id," - ",Zt.gwbName,""),e.xp6(7),e.hij("",e.lcZ(11,27,"groundwaterbody.fichaTecnica.lblCategoria"),":\xa0"),e.xp6(2),e.hij("",n.zonaProtegidaMod.categoriaDesc," "),e.xp6(3),e.hij("",e.lcZ(16,29,"groundwaterbody.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.hij("",n.zonaProtegidaMod.nombre," "),e.xp6(2),e.Q6J("ngClass",e.VKq(43,gu,n.zonaProtegidaMod.modFechaIni)),e.xp6(1),e.hij("",e.lcZ(21,31,"groundwaterbody.fichaTecnica.lblFechaInicial"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.zonaProtegidaMod.modFechaIni)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(45,gu,n.zonaProtegidaMod.modFechaFin)),e.xp6(1),e.hij("",e.lcZ(28,33,"groundwaterbody.fichaTecnica.lblFechaFinal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.zonaProtegidaMod.modFechaFin)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(47,gu,n.zonaProtegidaMod.modZonaTrans)),e.xp6(1),e.hij("",e.lcZ(35,35,"groundwaterbody.fichaTecnica.lblZonaDeTransferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.zonaProtegidaMod.modZonaTrans)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(49,gu,n.zonaProtegidaMod.modTasaTrans)),e.xp6(1),e.hij("",e.lcZ(42,37,"groundwaterbody.fichaTecnica.lblTasaDeTransferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.zonaProtegidaMod.modTasaTrans)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(51,gu,n.zonaProtegidaMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(49,39,"groundwaterbody.fichaTecnica.lblObservaciones"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.zonaProtegidaMod.modComentarios)("ngIfElse",je),e.xp6(7),e.Oqu(e.l
1cZ(58,41,"botones.cerrar"))}}function nS(t,o){1&t&&e._UZ(0,"app-spinner")}let iS=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.operacionEdaficSoil=s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_SUELO_EDAFICO,this.operacionVulCont=s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_VULN_CONTAMINA,this.gwbName=_.itemName,this.operationCode=_.operation,this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-dependent-systems"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["fechaIni",""],["fechaFin",""],["zonaTransferencia",""],["tasaTransferencia",""],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,tS,59,53,"div",0),e.ALo(1,"async"),e.YNc(2,nS,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.uU,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function oS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function aS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function sS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function rS(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function cS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.comentarios)}}function lS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoConcretoMod.comentarios)}}const L_=function(t){return{modified:t}};function _S(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,oS,2,1,"span",14),e.qZA(),e.YNc(14,aS,1,1,"ng-template",null,15,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,sS,3,4,"span",14),e.qZA(),e.YNc(21,rS,2,4,"ng-template",null,16,e.W1O),e.TgZ(23,"mat-list-item",17)(24,"span",18),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,cS,2,1,"span",14),e.qZA(),e.YNc(28,lS,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.MAs(29),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,14,"groundwaterbody.fichaTecnica.lblsGuardarCambios.escenarioId"),":\xa0"),e.xp6(2),e.hij("",ue.objetivoConcretoMod.escenarioDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,L_,ue.objetivoConcretoMod.modIndicador)),e.xp6(1),e.hij("",e.lcZ(12,16,"groundwaterbody.fichaTecnica.lblsGuardarCambios.indicadorId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modIndicador)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,L_,ue.objetivoConcretoMod.modValorLimite)),e.xp6(1),e.hij("",e.lcZ(19,18,"groundwaterbody.fichaTecnica.lblsGuardarCambios.valorLimite"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modValorLimite)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,L_,ue.objetivoConcretoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(26,20,"groundwaterbody.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modComentario)("ngIfElse",D)}}function pS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionDesc)}}function dS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.justificacionDesc)}}function uS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function hS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function mS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.comentarios)}}function gS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.comentarios)}}function fS(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,pS,2,1,"span",14),e.qZA(),e.YNc(14,dS,1,1,"ng-template",null,21,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,uS,2,1,"span",14),e.qZA(),e.YNc(21,hS,1,1,"ng-template",null,16,e.W1O),e.TgZ(23,"mat-list-item",17)(24,"span",18),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,mS,2,1,"span",14),e.qZA(),e.YNc(28,gS,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.MAs(29),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,14,"groundwaterbody.fichaTecnica.lblsGuardarCambios.objetivoId"),":\xa0"),e.xp6(2),e.hij("",ue.objetivoMod.objetivoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,L_,ue.objetivoMod.modJustificacion)),e.xp6(1),e.hij("",e.lcZ(12,16,"groundwaterbody.fichaTecnica.lblsGuardarCambios.justificacionId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modJustificacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,L_,ue.objetivoMod.modJustificacionAdicional)),e.xp6(1),e.hij("",e.lcZ(19,18,"groundwaterbody.fichaTecnica.lblsGuardarCambios.justificacionAdicionalId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modJustificacionAdicional)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,L_,ue.objetivoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(26,20,"groundwaterbody.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modComentarios)("ngIfElse",D)}}function vS(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,_S,30,28,"ng-container",5),e.YNc(6,fS,30,28,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.gwbName,""),e.xp6(2),e.Q6J("ngIf",_.isConcreteObjetive),e.xp6(1),e.Q6J("ngIf",_.isGeneralObjetive),e.xp6(5),e.Oqu(e.l
1cZ(12,5,"botones.cerrar"))}}function CS(t,o){1&t&&e._UZ(0,"app-spinner")}let bS=(()=>{class t{constructor(n,_,D){this._dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numEnt=s.C.numEnt,this.isGeneralObjetive=!1,this.isConcreteObjetive=!1,this.gwbName=_.itemName;let ue=_.operation;this.isGeneralObjetive=s.C.operacion.OPERACION_OBJETIVOS_GENERALES===ue,this.isConcreteObjetive=s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS===ue,this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}get dialogRef(){return this._dialogRef}set dialogRef(n){this._dialogRef=n}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-objetives"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["indicador",""],["justificacionAdicional",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],["appHighlight",""],["justificacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,vS,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,CS,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function xS(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.explotaciones.indiceExplotacion," ")}}function AS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.explotaciones.indiceExplotacion)}}function ES(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.explotaciones.comentarios," ")}}function OS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.explotaciones.comentarios)}}const f1=function(t){return{modified:t}};function MS(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,xS,2,1,"span",13),e.qZA(),e.YNc(9,AS,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",15)(12,"span",16),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,ES,2,1,"span",13),e.qZA(),e.YNc(16,OS,1,1,"ng-template",null,17,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(12,f1,D.explotaciones.modIndiceExplotacion)),e.xp6(1),e.hij(" ",e.lcZ(7,8,"groundwaterbody.fichaTecnica.lblsGuardarCambios.indiceExplotacion"),":\xa0 "),e.xp6(2),e.Q6J("ngIf",D.explotaciones.modIndiceExplotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,f1,D.explotaciones.modComentarios)),e.xp6(1),e.hij(" ",e.lcZ(14,10,"groundwaterbody.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0 "),e.xp6(2),e.Q6J("ngIf",D.explotaciones.modComentarios)("ngIfElse",_)}}function TS(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.explotaciones.derechosExplotacionModificado.numeroPuntosExtraccion," ")}}function DS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.explotaciones.derechosExplotacionModificado.numeroPuntosExtraccion)}}function IS(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.explotaciones.derechosExplotacionModificado.volumenAnual," ")}}function yS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.explotaciones.derechosExplotacionModificado.volumenAnual)}}function SS(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,TS,2,1,"span",13),e.qZA(),e.YNc(9,DS,1,1,"ng-template",null,19,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,IS,2,1,"span",13),e.qZA(),e.YNc(16,yS,1,1,"ng-template",null,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(12,f1,D.explotaciones.derechosExplotacionModificado.modNumeroPuntosExtraccion)),e.xp6(1),e.hij(" ",e.lcZ(7,8,"groundwaterbody.fichaTecnica.lblsGuardarCambios.numeroPuntosExtraccion"),":\xa0 "),e.xp6(2),e.Q6J("ngIf",D.explotaciones.derechosExplotacionModificado.modNumeroPuntosExtraccion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,f1,D.explotaciones.derechosExplotacionModificado.modVolumenAnual)),e.xp6(1),e.hij(" ",e.lcZ(14,10,"groundwaterbody.fichaTecnica.lblsGuardarCambios.volumenAnual"),":\xa0 "),e.xp6(2),e.Q6J("ngIf",D.explotaciones.derechosExplotacionModificado.modVolumenAnual)("ngIfElse",_)}}function wS(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,MS,18,16,"ng-container",5),e.YNc(6,SS,18,16,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.gwbName,""),e.xp6(2),e.Q6J("ngIf",_.isExploitation),e.xp6(1),e.Q6J("ngIf",_.isRigth),e.xp6(5),e.Oqu(e.l
1cZ(12,5,"botones.cerrar"))}}function PS(t,o){1&t&&e._UZ(0,"app-spinner")}let RS=(()=>{class t{constructor(n,_,D){this._dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numRed=s.C.numRed4Dec,this.isExploitation=!1,this.isRigth=!1,this.gwbName=_.itemName;let ue=_.operation;this.isExploitation=s.C.operacion.OPERACION_MSB_EXPLOTA_ACTUAL_INDICES===ue,this.isRigth=s.C.operacion.OPERACION_MSB_EXPLOTA_DERECHOS_DE_USO===ue,this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}get dialogRef(){return this._dialogRef}set dialogRef(n){this._dialogRef=n}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-exploitation"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["indiceExplotacion",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],["appHighlight",""],["numPuntosExtraccion",""],["volumenAnual",""]],template:function(n,_){if(1&n&&(e.YNc(0,wS,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,PS,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var V_=m(91);function ZS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function NS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function LS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function VS(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function US(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.comentarios)}}function qS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoConcretoMod.comentarios)}}const U_=function(t){return{modified:t}};function kS(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,ZS,2,1,"span",14),e.qZA(),e.YNc(14,NS,1,1,"ng-template",null,15,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,LS,3,4,"span",14),e.qZA(),e.YNc(21,VS,2,4,"ng-template",null,16,e.W1O),e.TgZ(23,"mat-list-item",17)(24,"span",18),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,US,2,1,"span",14),e.qZA(),e.YNc(28,qS,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.MAs(29),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,14,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.escenarioId"),":\xa0"),e.xp6(2),e.hij("",ue.objetivoConcretoMod.escenarioDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,U_,ue.objetivoConcretoMod.modIndicador)),e.xp6(1),e.hij("",e.lcZ(12,16,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.indicadorId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modIndicador)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,U_,ue.objetivoConcretoMod.modValorLimite)),e.xp6(1),e.hij("",e.lcZ(19,18,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.valorLimite"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modValorLimite)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,U_,ue.objetivoConcretoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(26,20,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modComentario)("ngIfElse",D)}}function FS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionDesc)}}function BS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.justificacionDesc)}}function $S(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function YS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function jS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.comentarios)}}function KS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.comentarios)}}function QS(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,FS,2,1,"span",14),e.qZA(),e.YNc(14,BS,1,1,"ng-template",null,21,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,$S,2,1,"span",14),e.qZA(),e.YNc(21,YS,1,1,"ng-template",null,16,e.W1O),e.TgZ(23,"mat-list-item",17)(24,"span",18),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,jS,2,1,"span",14),e.qZA(),e.YNc(28,KS,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.MAs(29),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,14,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.objetivoId"),":\xa0"),e.xp6(2),e.hij("",ue.objetivoMod.objetivoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,U_,ue.objetivoMod.modJustificacion)),e.xp6(1),e.hij("",e.lcZ(12,16,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.justificacionId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modJustificacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,U_,ue.objetivoMod.modJustificacionAdicional)),e.xp6(1),e.hij("",e.lcZ(19,18,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.justificacionAdicionalId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modJustificacionAdicional)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,U_,ue.objetivoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(26,20,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modComentarios)("ngIfElse",D)}}function GS(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,kS,30,28,"ng-container",5),e.YNc(6,QS,30,28,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.lakeName,""),e.xp6(2),e.Q6J("ngIf",_.isConcreteObjetive),e.xp6(1),e.Q6J("ngIf",_.isGeneralObjetive),e.xp6(5),e.Oqu(e.l
1cZ(12,5,"botones.cerrar"))}}function JS(t,o){1&t&&e._UZ(0,"app-spinner")}let WS=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.surfaceWaterBodyLakeService=D,this.lakeName="",this.numEnt=s.C.numEnt,this.isGeneralObjetive=!1,this.isConcreteObjetive=!1,this.lakeName=_.itemName,this.operationCode=_.operation,this.isGeneralObjetive=s.C.operacion.OPERACION_OBJETIVOS_GENERALES===this.operationCode,this.isConcreteObjetive=s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS===this.operationCode,this.lakeDetail$=this.surfaceWaterBodyLakeService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(V_.z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-objetives"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["indicador",""],["justificacionAdicional",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],["appHighlight",""],["justificacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,GS,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,JS,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.lakeDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[""]}),t})();var v1=m(8830);function HS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function zS(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function XS(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function e3(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function t3(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.comentarios)}}function n3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoConcretoMod.comentarios)}}const q_=function(t){return{modified:t}};
1function o3(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,HS,2,1,"span",14),e.qZA(),e.YNc(14,zS,1,1,"ng-template",null,15,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,XS,3,4,"span",14),e.qZA(),e.YNc(21,e3,2,4,"ng-template",null,16,e.W1O),e.TgZ(23,"mat-list-item",17)(24,"span",18),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,t3,2,1,"span",14),e.qZA(),e.YNc(28,n3,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.MAs(29),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,14,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.escenarioId"),":\xa0"),e.xp6(2),e.hij("",ue.objetivoConcretoMod.escenarioDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,q_,ue.objetivoConcretoMod.modIndicador)),e.xp6(1),e.hij("",e.lcZ(12,16,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.indicadorId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modIndicador)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,q_,ue.objetivoConcretoMod.modValorLimite)),e.xp6(1),e.hij("",e.lcZ(19,18,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.valorLimite"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modValorLimite)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,q_,ue.objetivoConcretoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(26,20,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modComentario)("ngIfElse",D)}}function a3(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionDesc)}}function s3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.justificacionDesc)}}function r3(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function c3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function l3(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.comentarios)}}function _3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.comentarios)}}function p3(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,a3,2,1,"span",14),e.qZA(),e.YNc(14,s3,1,1,"ng-template",null,21,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,r3,2,1,"span",14),e.qZA(),e.YNc(21,c3,1,1,"ng-template",null,16,e.W1O),e.TgZ(23,"mat-list-item",17)(24,"span",18),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,l3,2,1,"span",14),e.qZA(),e.YNc(28,_3,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.MAs(29),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,14,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.objetivoId"),":\xa0"),e.xp6(2),e.hij("",ue.objetivoMod.objetivoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,q_,ue.objetivoMod.modJustificacion)),e.xp6(1),e.hij("",e.lcZ(12,16,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.justificacionId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modJustificacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,q_,ue.objetivoMod.modJustificacionAdicional)),e.xp6(1),e.hij("",e.lcZ(19,18,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.justificacionAdicionalId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modJustificacionAdicional)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,q_,ue.objetivoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(26,20,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modComentarios)("ngIfElse",D)}}
1function d3(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,o3,30,28,"ng-container",5),e.YNc(6,p3,30,28,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.reservoirName,""),e.xp6(2),e.Q6J("ngIf",_.isConcreteObjetive),e.xp6(1),e.Q6J("ngIf",_.isGeneralObjetive),e.xp6(5),e.Oqu(e.lcZ(12,5,"botones.cerrar"))}}function u3(t,o){1&t&&e._UZ(0,"app-spinner")}let h3=(()=>{class t{constructor(n,_,D){this._dialogRef=n,this.data=_,this.swbReservoirService=D,this.reservoirName="",this.numEnt=s.C.numEnt,this.isGeneralObjetive=!1,this.isConcreteObjetive=!1,this.reservoirName=_.itemName;let ue=_.operation;this.isGeneralObjetive=s.C.operacion.OPERACION_OBJETIVOS_GENERALES===ue,this.isConcreteObjetive=s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS===ue,this.reservoirDetail$=this.swbReservoirService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}get dialogRef(){return this._dialogRef}set dialogRef(n){this._dialogRef=n}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(v1.r))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-objetives"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["indicador",""],["justificacionAdicional",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],["appHighlight",""],["justificacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,d3,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,u3,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.reservoirDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function m3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function g3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function f3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipo)}}function v3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipo)}}function C3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function b3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function x3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEspanol)}}function A3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEspanol)}}function E3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoPortugues)}}function O3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoPortugues)}}function M3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.masaAguasAbajo)}}function T3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.masaAguasAbajo)}}function D3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.sistemaExplotacion)}}function I3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.sistemaExplotacion)}}function y3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.vinculadaPortugal)}}function S3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.vinculadaPortugal)}}function w3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.masaFronteriza)}}function P3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.masaFronteriza)}}
1function R3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Z3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}function N3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambios)}}function L3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambios)}}function V3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosAgregar)}}function U3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosAgregar)}}function q3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosDividir)}}function k3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosDividir)}}function F3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosMenores)}}function B3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosMenores)}}function $3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosAgregarDividir)}}function Y3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosAgregarDividir)}}function j3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosNaturaleza)}}function K3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosNaturaleza)}}function Q3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosNombre)}}function G3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosNombre)}}function J3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosNueva)}}function W3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosNueva)}}function H3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosEliminar)}}function z3(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosEliminar)}}function X3(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentariosAnterior)}}function ew(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentariosAnterior)}}const Ga=function(t){return{modified:t}};function tw(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,m3,2,1,"span",13),e.qZA(),e.YNc(9,g3,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,f3,2,1,"span",13),e.qZA(),e.YNc(16,v3,1,1,"ng-template",null,15,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,C3,2,1,"span",13),e.qZA(),e.YNc(23,b3,1,1,"ng-template",null,16,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,x3,2,1,"span",13),e.qZA(),e.YNc(30,A3,1,1,"ng-template",null,17,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,E3,2,1,"span",13),e.qZA(),e.YNc(37,O3,1,1,"ng-template",null,18,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",19),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,M3,2,1,"span",13),e.qZA(),e.YNc(44,T3,1,1,"ng-template",null,20,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,D3,2,1,"span",13),e.qZA(),e.YNc(51,I3,1,1,"ng-template",null,21,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",19),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,y3,2,1,"span",13),e.qZA(),e.YNc(58,S3,1,1,"ng-template",null,22,e.W1O),e.TgZ(60,"mat-list-item",11)(61,"span",19),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,w3,2,1,"span",13),e.qZA(),e.YNc(65,P3,1,1,"ng-template",null,23,e.W1O),e.TgZ(67,"mat-list-item",24)(68,"span",19),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,R3,2,1,"span",13),e.qZA(),e.YNc(72,Z3,1,1,"ng-template",null,25,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,N3,2,1,"span",13),e.qZA(),e.YNc(79,L3,1,1,"ng-template",null,26,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,V3,2,1,"span",13),e.qZA(),e.YNc(86,U3,1,1,"ng-template",null,27,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,q3,2,1,"span",13),e.qZA(),e.YNc(93,k3,1,1,"ng-template",null,28,e.W1O),e.TgZ(95,"mat-list-item",11)(96,"span",12),e._uU(97),e.ALo(98,"translate"),e.qZA(),e.YNc(99,F3,2,1,"span",13),e.qZA(),e.YNc(100,B3,1,1,"ng-template",null,29,e.W1O),e.TgZ(102,"mat-list-item",11)(103,"span",12),e._uU(104),e.ALo(105,"translate"),e.qZA(),e.YNc(106,$3,2,1,"span",13),e.qZA(),e.YNc(107,Y3,1,1,"ng-template",null,30,e.W1O),e.TgZ(109,"mat-list-item",11)(110,"span",12),e._uU(111),e.ALo(112,"translate"),e.qZA(),e.YNc(113,j3,2,1,"span",13),e.qZA(),e.YNc(114,K3,1,1,"ng-template",null,31,e.W1O),e.TgZ(116,"mat-list-item",11)(117,"span",12),e._uU(118),e.ALo(119,"translate"),e.qZA(),e.YNc(120,Q3,2,1,"span",13),e.qZA(),e.YNc(121,G3,1,1,"ng-template",null,32,e.W1O),e.TgZ(123,"mat-list-item",11)(124,"span",12),e._uU(125),e.ALo(126,"translate"),e.qZA(),e.YNc(127,J3,2,1,"span",13),e.qZA(),e.YNc(128,W3,1,1,"ng-template",null,33,e.W1O),e.TgZ(130,"mat-list-item",11)(131,"span",12),e._uU(132),e.ALo(133,"translate"),e.qZA(),e.YNc(134,H3,2,1,"span",13),e.qZA(),e.YNc(135,z3,1,1,"ng-template",null,34,e.W1O),e.TgZ(137,"mat-list-item",24)(138,"span",19),e._uU(139),e.ALo(140,"translate"),e.qZA(),e.YNc(141,X3,2,1,"span",13),e.qZA(),e.YNc(142,ew,1,1,"ng-template",null,35,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.MAs(94),si=e.MAs(101),jn=e.MAs(108),da=e.MAs(115),ii=e.MAs(122),Ci=e.MAs(129),is=e.MAs(136),Li=e.MAs(143),Pn=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(120,Ga,Pn.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,80,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(122,Ga,Pn.modTipo)),e.xp6(1),e.hij("",e.lcZ(14,82,"surfacewaterbodyreservoir.fichaTecnica.tipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modTipo)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(124,Ga,Pn.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(21,84,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(126,Ga,Pn.modCodigoEspanol)),e.xp6(1),e.hij("",e.lcZ(28,86,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codigoEspanol"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modCodigoEspanol)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(128,Ga,Pn.modCodigoPortugues)),e.xp6(1),e.hij("",e.lcZ(35,88,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codigoPortugues"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modCodigoPortugues)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(130,Ga,Pn.modMasaAguasAbajo)),e.xp6(1),e.hij("",e.lcZ(42,90,"surfacewaterbodyreservoir.fichaTecnica.masaAguasAbajo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modMasaAguasAbajo)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(132,Ga,Pn.modSistemaExplotacion)),e.xp6(1),e.hij("",e.lcZ(49,92,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modSistemaExplotacion)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(134,Ga,Pn.modVinculadaPortugal)),e.xp6(1),e.hij("",e.lcZ(56,94,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codVinculadaPortugal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modVinculadaPortugal)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(136,Ga,Pn.modMasaFronteriza)),e.xp6(1),e.hij("",e.lcZ(63,96,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codMasaFronteriza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modMasaFronteriza)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(138,Ga,Pn.modComentarios)),e.xp6(1),e.hij("",e.lcZ(70,98,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modComentarios)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(140,Ga,Pn.modHayCambios)),e.xp6(1),e.hij("",e.lcZ(77,100,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambios)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(142,Ga,Pn.modHayCambiosAgregar)),e.xp6(1),e.hij("",e.lcZ(84,102,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambiosAgregar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosAgregar)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(144,Ga,Pn.modHayCambiosDividir)),e.xp6(1),e.hij("",e.lcZ(91,104,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambiosDividir"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosDividir)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(146,Ga,Pn.modHayCambiosMenores)),e.xp6(1),e.hij("",e.lcZ(98,106,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambiosMenores"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosMenores)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(148,Ga,Pn.modHayCambiosAgregarDividir)),e.xp6(1),e.hij("",e.lcZ(105,108,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambiosAgregarDividir"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosAgregarDividir)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(150,Ga,Pn.modHayCambiosNaturaleza)),e.xp6(1),e.hij("",e.lcZ(112,110,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambiosNaturaleza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosNaturaleza)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(152,Ga,Pn.modHayCambiosNombre)),e.xp6(1),e.hij("",e.lcZ(119,112,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambiosNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosNombre)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(154,Ga,Pn.modHayCambiosNueva)),e.xp6(1),e.hij("",e.lcZ(126,114,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambiosNueva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosNueva)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(156,Ga,Pn.modHayCambiosEliminar)),e.xp6(1),e.hij("",e.lcZ(133,116,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.codHayCambiosEliminar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosEliminar)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(158,Ga,Pn.modComentariosAnterior)),e.xp6(1),e.hij("",e.lcZ(140,118,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.comentariosAnterior"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modComentariosAnterior)("ngIfElse",Li)}}function nw(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.naturaleza)}}function iw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.AsE("",n.naturaleza," (",n.anyoNaturaleza,")")}}function ow(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,nw,2,1,"span",13),e.qZA(),e.YNc(9,iw,1,2,"ng-template",null,37,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(6,Ga,_.modCodNaturaleza)),e.xp6(1),e.hij("",e.lcZ(7,4,"surfacewaterbodyreservoir.fichaTecnica.naturaleza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.modCodNaturaleza)("ngIfElse",n)}}function aw(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.presionMod.comentarios)}}function sw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.AsE("",n.presionMod.comentarios," (",n.presionMod.comentarios,")")}}function rw(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,aw,2,1,"span",13),e.qZA(),e.YNc(9,sw,1,2,"ng-template",null,25,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(6,Ga,_.presionMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(7,4,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.presionMod.modComentarios)("ngIfElse",n)}}function cw(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,tw,144,160,"ng-container",5),e.YNc(6,ow,11,8,"ng-container",5),e.YNc(7,rw,11,8,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.reservoirName,""),e.xp6(2),e.Q6J("ngIf",_.isGeneralOperation),e.xp6(1),e.Q6J("ngIf",_.isNatureOperation),e.xp6(1),e.Q6J("ngIf",_.isPressureOperation),e.xp6(5),e.Oqu(e.l
1cZ(13,6,"botones.cerrar"))}}function lw(t,o){1&t&&e._UZ(0,"app-spinner")}let _w=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.reservoirService=D,this.reservoirName="",this.dateFormat=s.C.dateFormat,this.isGeneralOperation=!1,this.isNatureOperation=!1,this.isPressureOperation=!1,this.reservoirName=_.itemName,this.operationCode=_.operation,this.isGeneralOperation=s.C.operacion.OPERACION_GENERAL===_.operation,this.isNatureOperation=s.C.operacion.OPERACION_NATURALEZA_MASAS_AGUA===_.operation,this.isPressureOperation=s.C.operacion.OPERACION_PRESIONES_MASAS_AGUA===_.operation,this.reservoirDetail$=this.reservoirService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(v1.r))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["tipo",""],["codigoEuropeo",""],["codigoEspanol",""],["codigoPortugues",""],["appBold","",1,"text-wrap",3,"ngClass"],["masaAguasAbajo",""],["sistemaExplotacion",""],["vinculadaPortugal",""],["masaFronteriza",""],[1,"bar-gradient","comentarios"],["comentarios",""],["hayCambios",""],["hayCambiosAgregar",""],["hayCambiosDividir",""],["hayCambiosMenores",""],["hayCambiosAgregarDividir",""],["hayCambiosNaturaleza",""],["hayCambiosNombre",""],["hayCambiosNueva",""],["hayCambiosEliminar",""],["comentariosAnterior",""],["appHighlight",""],["naturaleza",""]],template:function(n,_){if(1&n&&(e.YNc(0,cw,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,lw,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.reservoirDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();var pw=m(9944),dw=m(8230);function uw(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function hw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoConcretoMod.indicadorDesc)}}function mw(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function gw(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.objetivoConcretoMod.valorLimite,_.numEnt))}}function fw(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoConcretoMod.comentarios)}}function vw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoConcretoMod.comentarios)}}const k_=function(t){return{modified:t}};function Cw(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,uw,2,1,"span",14),e.qZA(),e.YNc(14,hw,1,1,"ng-template",null,15,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,mw,3,4,"span",14),e.qZA(),e.YNc(21,gw,2,4,"ng-template",null,16,e.W1O),e.TgZ(23,"mat-list-item",17)(24,"span",18),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,fw,2,1,"span",14),e.qZA(),e.YNc(28,vw,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.MAs(29),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,14,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.escenarioId"),":\xa0"),e.xp6(2),e.hij("",ue.objetivoConcretoMod.escenarioDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,k_,ue.objetivoConcretoMod.modIndicador)),e.xp6(1),e.hij("",e.lcZ(12,16,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.indicadorId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modIndicador)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,k_,ue.objetivoConcretoMod.modValorLimite)),e.xp6(1),e.hij("",e.lcZ(19,18,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.valorLimite"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modValorLimite)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,k_,ue.objetivoConcretoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(26,20,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoConcretoMod.modComentario)("ngIfElse",D)}}function bw(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionDesc)}}function xw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.justificacionDesc)}}function Aw(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function Ew(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.justificacionAdicionalDesc)}}function Ow(t,o){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.objetivoMod.comentarios)}}function Mw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoMod.comentarios)}}function Tw(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,bw,2,1,"span",14),e.qZA(),e.YNc(14,xw,1,1,"ng-template",null,21,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,Aw,2,1,"span",14),e.qZA(),e.YNc(21,Ew,1,1,"ng-template",null,16,e.W1O),e.TgZ(23,"mat-list-item",17)(24,"span",18),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,Ow,2,1,"span",14),e.qZA(),e.YNc(28,Mw,1,1,"ng-template",null,19,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.MAs(29),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,14,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.objetivoId"),":\xa0"),e.xp6(2),e.hij("",ue.objetivoMod.objetivoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(22,k_,ue.objetivoMod.modJustificacion)),e.xp6(1),e.hij("",e.lcZ(12,16,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.justificacionId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modJustificacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(24,k_,ue.objetivoMod.modJustificacionAdicional)),e.xp6(1),e.hij("",e.lcZ(19,18,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.justificacionAdicionalId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modJustificacionAdicional)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(26,k_,ue.objetivoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(26,20,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.objetivoMod.modComentarios)("ngIfElse",D)}}function Dw(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,Cw,30,28,"ng-container",5),e.YNc(6,Tw,30,28,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.riverName,""),e.xp6(2),e.Q6J("ngIf",_.isConcreteObjetive),e.xp6(1),e.Q6J("ngIf",_.isGeneralObjetive),e.xp6(5),e.Oqu(e.l
1cZ(12,5,"botones.cerrar"))}}function Iw(t,o){1&t&&e._UZ(0,"app-spinner")}let yw=(()=>{class t{constructor(n,_,D){this._dialogRef=n,this.data=_,this.swbRiverService=D,this.riverName="",this.numEnt=s.C.numEnt,this.isGeneralObjetive=!1,this.isConcreteObjetive=!1,this.riverName=_.itemName;let ue=_.operation;this.isGeneralObjetive=s.C.operacion.OPERACION_OBJETIVOS_GENERALES===ue,this.isConcreteObjetive=s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS===ue,this.riverDetail$=this.swbRiverService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}get dialogRef(){return this._dialogRef}set dialogRef(n){this._dialogRef=n}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(wl.F))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-objetives"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["indicador",""],["justificacionAdicional",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],["appHighlight",""],["justificacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,Dw,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,Iw,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[""]}),t})();var Sw=m(393),ww=m(3220);function Pw(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",13),e._uU(6),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij("",e.lcZ(4,2,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(3),e.Oqu(n.presion.comentarios)}}function Rw(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Pw,7,4,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.lakeName,""),e.xp6(4),e.Q6J("ngIf",n.presion.modComentarios),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function Zw(t,o){1&t&&e._UZ(0,"app-spinner")}let Nw=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.lakeService=D,this.lakeName="",this.dateFormat=s.C.dateFormat,this.lakeName=_.itemName,this.operationCode=_.operation,this.lakeDetail$=this.lakeService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(V_.z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-pressures"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",1,"modified"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Rw,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,Zw,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.lakeDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Lw(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoFinalMod.comentarios)}}function Vw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoFinalMod.comentarios)}}const Nl=function(t){return{modified:t}};function Uw(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,Lw,2,1,"span",14),e.qZA(),e.YNc(19,Vw,1,1,"ng-template",15,16,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,8,"surfacewaterbodylake.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",_.estadoFinalMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,10,"surfacewaterbodylake.fichaTecnica.lblEstadoMasa"),":\xa0"),e.xp6(2),e.hij("",_.estadoFinalMod.estado," "),e.xp6(2),e.Q6J("ngClass",e.VKq(14,Nl,_.estadoFinalMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(17,12,"surfacewaterbodylake.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.estadoFinalMod.modComentarios)("ngIfElse",n)}}function qw(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoMod.asignacionDefinitivaEcoDesc)}}function kw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.asignacionDefinitivaEcoDesc)}}function Fw(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoMod.nivelConfianzaEcoDesc)}}function Bw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.nivelConfianzaEcoDesc)}}function $w(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;
1e.xp6(1),e.Oqu(n.estadoEcologicoMod.justificacionEco)}}function Yw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.justificacionEco)}}function jw(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,qw,2,1,"span",18),e.qZA(),e.YNc(19,kw,1,1,"ng-template",null,19,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,Fw,2,1,"span",18),e.qZA(),e.YNc(26,Bw,1,1,"ng-template",null,20,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",13),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,$w,2,1,"span",14),e.qZA(),e.YNc(33,Yw,1,1,"ng-template",15,21,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(27),D=e.MAs(34),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,16,"surfacewaterbodylake.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",ue.estadoEcologicoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,18,"surfacewaterbodylake.fichaTecnica.lblPotencialEcologicoMasa"),":\xa0"),e.xp6(2),e.hij("",ue.estadoEcologicoMod.potencialEcoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,Nl,ue.estadoEcologicoMod.modAsignacionDefinitivaEcoId)),e.xp6(1),e.hij("",e.lcZ(17,20,"surfacewaterbodylake.fichaTecnica.lblAsignacionDefinitivaPotencialEcologico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modAsignacionDefinitivaEcoId)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Nl,ue.estadoEcologicoMod.modNivelConfianzaEcoId)),e.xp6(1),e.hij("",e.lcZ(24,22,"surfacewaterbodylake.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modNivelConfianzaEcoId)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Nl,ue.estadoEcologicoMod.modJustificacionEco)),e.xp6(1),e.hij("",e.lcZ(31,24,"surfacewaterbodylake.fichaTecnica.lblJustificacionAsignacionDefinitiva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modJustificacionEco)("ngIfElse",D)}}function Kw(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.asignacionDefinitivaChemDesc)}}function Qw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.asignacionDefinitivaChemDesc)}}function Gw(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.nivelConfianzachemDesc)}}function Jw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.nivelConfianzachemDesc)}}function Ww(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.justificacionChem)}}function Hw(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.justificacionChem)}}function zw(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,Kw,2,1,"span",18),e.qZA(),e.YNc(19,Qw,1,1,"ng-template",null,23,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,Gw,2,1,"span",18),e.qZA(),e.YNc(26,Jw,1,1,"ng-template",null,24,e.W1O),e.TgZ(28,"mat-list-item",25)(29,"span",13),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,Ww,2,1,"span",14),e.qZA(),e.YNc(33,Hw,1,1,"ng-template",15,26,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(27),D=e.MAs(34),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,16,"surfacewaterbodylake.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",ue.estadoQuimicoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,18,"surfacewaterbodylake.fichaTecnica.lblEstadoQuimico"),":\xa0"),e.xp6(2),e.hij("",ue.estadoQuimicoMod.estadoChemDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,Nl,ue.estadoQuimicoMod.modAsignacionDefinitivaChemId)),e.xp6(1),e.hij("",e.lcZ(17,20,"surfacewaterbodylake.fichaTecnica.lblAsignacionDefinitivaEstadoQuimico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modAsignacionDefinitivaChemId)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Nl,ue.estadoQuimicoMod.modNivelConfianzaChemId)),e.xp6(1),e.hij("",e.lcZ(24,22,"surfacewaterbodylake.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modNivelConfianzaChemId)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Nl,ue.estadoQuimicoMod.modJustificacionChem)),e.xp6(1),e.hij("",e.lcZ(31,24,"surfacewaterbodylake.fichaTecnica.lblJustificacionAsignacionDefinitiva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modJustificacionChem)("ngIfElse",D)}}function Xw(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,Uw,21,16,"ng-container",5),e.YNc(6,jw,35,32,"ng-container",5),e.YNc(7,zw,35,32,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.lakeName,""),e.xp6(2),e.Q6J("ngIf",_.isFinalStateOperation),e.xp6(1),e.Q6J("ngIf",_.isEcoStateOperation),e.xp6(1),e.Q6J("ngIf",_.isQuimicalStateOperation),e.xp6(
15),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function eP(t,o){1&t&&e._UZ(0,"app-spinner")}let tP=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.lakeService=D,this.lakeName="",this.isFinalStateOperation=!1,this.isEcoStateOperation=!1,this.isQuimicalStateOperation=!1,this.isFinalStateOperation=s.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA===_.operation,this.isEcoStateOperation=s.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA===_.operation,this.isQuimicalStateOperation=s.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA===_.operation,this.lakeName=_.itemName,this.operationCode=_.operation,this.lakeDetail$=this.lakeService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(V_.z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appHighlight","",4,"ngIf","ngIfElse"],["asignacionDefinitivaEcoDesc",""],["nivelConfianzaEcoDesc",""],["justificacionEco",""],["appHighlight",""],["asignacionDefinitivaChemDesc",""],["nivelConfianzachemDesc",""],[1,"bar-gradient","mb-4","h-auto","py-2"],["justificacionChem",""]],template:function(n,_){if(1&n&&(e.YNc(0,Xw,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,eP,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.lakeDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function nP(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.lakeDetail.parametrosEstadoMod.fecha)}}function iP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.lakeDetail.parametrosEstadoMod.fecha)}}function oP(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodylake.fichaTecnica.lblCaracterMenor")," "))}function aP(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,oP,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",1===n.lakeDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.lakeDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function sP(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.\xb5gL"),""))}function rP(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodylake.fichaTecnica.lblCaracterMenor")," "))}function cP(t,o){if(1&t&&(e.YNc(0,rP,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(4);e.Q6J("ngIf",1===n.lakeDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.lakeDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function lP(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,n.lakeDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function _P(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.mgLCaCo3"),""))}function pP(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(4);e.Oqu(e.xi3(1,1,n.lakeDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}const Ws=function(t){return{modified:t}};function dP(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"mat-list-item",11)(2,"
1span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,aP,4,5,"span",16),e.YNc(6,sP,3,3,"span",22),e.qZA(),e.YNc(7,cP,3,5,"ng-template",null,23,e.W1O),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.ALo(14,"number"),e.qZA(),e.TgZ(15,"mat-list-item",11)(16,"span",13),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,lP,3,4,"span",16),e.YNc(20,_P,3,3,"span",22),e.qZA(),e.YNc(21,pP,2,4,"ng-template",null,24,e.W1O),e.TgZ(23,"mat-list-item",11)(24,"span",12),e._uU(25),e.ALo(26,"translate"),e.qZA(),e._uU(27),e.qZA(),e.BQk()),2&t){const n=e.MAs(8),_=e.MAs(22),D=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(25,Ws,D.lakeDetail.parametrosEstadoMod.modYearAvg)),e.xp6(1),e.hij("",e.lcZ(4,14,"surfacewaterbodylake.fichaTecnica.lblConcentracionMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.lakeDetail.parametrosEstadoMod.modYearAvg)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",D.lakeDetail.parametrosEstadoMod.yearAverageValue),e.xp6(5),e.hij("",e.lcZ(12,16,"surfacewaterbodylake.fichaTecnica.lblNormaCalidadMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.hij("",e.xi3(14,18,D.lakeDetail.parametrosEstadoMod.concentracionAdmitida,D.numRed4Dec)," "),e.xp6(3),e.Q6J("ngClass",e.VKq(27,Ws,D.lakeDetail.parametrosEstadoMod.modDureza)),e.xp6(1),e.hij("",e.lcZ(18,21,"surfacewaterbodylake.fichaTecnica.lblDurezaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.lakeDetail.parametrosEstadoMod.modDureza)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",D.lakeDetail.parametrosEstadoMod.dureza),e.xp6(5),e.hij("",e.lcZ(26,23,"surfacewaterbodylake.fichaTecnica.lblPotencialEcologico"),":\xa0"),e.xp6(2),e.hij("",D.lakeDetail.parametrosEstadoMod.descState," ")}}function uP(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,n.lakeDetail.parametrosEstadoMod.value,n.numRed4Dec))}}function hP(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(4);e.Oqu(e.xi3(1,1,n.lakeDetail.parametrosEstadoMod.value,n.numRed4Dec))}}function mP(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"mat-list-item",11)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,uP,3,4,"span",16),e.qZA(),e.YNc(6,hP,2,4,"ng-template",null,26,e.W1O),e.BQk()),2&t){const n=e.MAs(7),_=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(6,Ws,_.lakeDetail.parametrosEstadoMod.modValue)),e.xp6(1),e.hij("",e.lcZ(4,4,"surfacewaterbodylake.fichaTecnica.lblValorObservado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.lakeDetail.parametrosEstadoMod.modValue)("ngIfElse",n)}}function gP(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.lakeDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function fP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.lakeDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function vP(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.lakeDetail.parametrosEstadoMod.confianzaDesc)}}function CP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.lakeDetail.parametrosEstadoMod.confianzaDesc)}}function bP(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.lakeDetail.parametrosEstadoMod.comentarios)}}function xP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.lakeDetail.parametrosEstadoMod.comentarios)}}function AP(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,nP,2,1,"span",14),e.qZA(),e.YNc(19,iP,1,1,"ng-template",null,15,e.W1O),e.YNc(21,dP,28,29,"ng-container",5),e.YNc(22,mP,8,8,"ng-container",5),e.TgZ(23,"mat-list-item",11)(24,"span",13),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,gP,2,1,"span",16),e.qZA(),e.YNc(28,fP,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",13),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,vP,2,1,"span",16),e.qZA(),e.YNc(35,CP,1,1,"ng-template",null,18,e.W1O),e.TgZ(37,"mat-list-item",11)(38,"span",13),e._uU(39),e.ALo(40,"translate"),e.qZA(),e.YNc(41,bP,2,1,"span",14),e.qZA(),e.YNc(42,xP,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(29),D=e.MAs(36),ue=e.MAs(43),Qe=e.oxw(2);e.xp6(6),e.hij("",e.lcZ(7,22,"surfacewaterbodylake.fichaTecnica.lblAnyoConsultaVersionChanges"),":\xa0"),e.xp6(2),e.hij("",Qe.lakeDetail.parametrosEstadoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,24,"surfacewaterbodylake.fichaTecnica.lblIndicador"),":\xa0"),e.xp6(2),e.hij("",Qe.lakeDetail.parametrosEstadoMod.indiceDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(34,Ws,Qe.lakeDetail.parametrosEstadoMod.modFecha)),e.xp6(1),e.hij("",e.lcZ(17,26,"surfacewaterbodylake.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.lakeDetail.parametrosEstadoMod.modFecha)("ngIfElse",n),e.xp6(3),e.Q6J("ngIf",Qe.showLargeForm),e.xp6(1),e.Q6J("ngIf",!Qe.showLargeForm),e.xp6(2),e.Q6J("ngClass",e.VKq(36,Ws,Qe.lakeDetail.parametrosEstadoMod.modConsideracionesEspeciales)),e.xp6(1),e.hij("",e.lcZ(26,28,"surfacewaterbodylake.fichaTecnica.lblConsideracionesEspeciales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.lakeDetail.parametrosEstadoMod.modConsideracionesEspeciales)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Ws,Qe.lakeDetail.parametrosEstadoMod.modConfianza)),e.xp6(1),e.hij("",e.lcZ(33,30,"surfacewaterbodylake.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.lakeDetail.parametrosEstadoMod.modConfianza)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(40,Ws,Qe.lakeDetail.parametrosEstadoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(40,32,"surfacewaterbodylake.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.lakeDetail.parametrosEstadoMod.modComentario)("ngIfElse",ue)}}function EP(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.lakeDetail.parametrosEstadoMod.fecha)}}
1function OP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.lakeDetail.parametrosEstadoMod.fecha)}}function MP(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodylake.fichaTecnica.lblCaracterMenor")," "))}function TP(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,MP,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.lakeDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.lakeDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function DP(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.\xb5gL"),""))}function IP(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodylake.fichaTecnica.lblCaracterMenor")," "))}function yP(t,o){if(1&t&&(e.YNc(0,IP,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.lakeDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.lakeDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function SP(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodylake.fichaTecnica.lblCaracterMenor")," "))}function wP(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,SP,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.lakeDetail.parametrosEstadoMod.yearMaxValueLess),e.xp6(1),e.hij(" ",e.xi3(3,2,n.lakeDetail.parametrosEstadoMod.yearMaxValue,n.numRed4Dec),"")}}function PP(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodylake.fichaTecnica.lblCaracterMenor")," "))}function RP(t,o){if(1&t&&(e.YNc(0,PP,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.lakeDetail.parametrosEstadoMod.yearMaxValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.lakeDetail.parametrosEstadoMod.yearMaxValue,n.numRed4Dec))}}function ZP(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.lakeDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function NP(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.mgLCaCo3"),""))}function LP(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.lakeDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function VP(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.lakeDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function UP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.lakeDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function qP(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.lakeDetail.parametrosEstadoMod.confianzaDesc)}}function kP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.lakeDetail.parametrosEstadoMod.confianzaDesc)}}function FP(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.lakeDetail.parametrosEstadoMod.comentarios)}}function BP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.lakeDetail.parametrosEstadoMod.comentarios)}}function $P(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,EP,2,1,"span",14),e.qZA(),e.YNc(19,OP,1,1,"ng-template",null,15,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,TP,4,5,"span",16),e.YNc(26,DP,3,3,"span",22),e.qZA(),e.YNc(27,yP,3,5,"ng-template",null,23,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",13),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,wP,4,5,"span",16),e.TgZ(34,"span",12),e._uU(35),e.ALo(36,"translate"),e.qZA()(),e.YNc(37,RP,3,5,"ng-template",null,27,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",13),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,ZP,3,4,"span",16),e.YNc(44,NP,3,3,"span",22),e.qZA(),e.YNc(45,LP,2,4,"ng-template",null,24,e.W1O),e.TgZ(47,"mat-list-item",11)(48,"span",13),e._uU(49),e.ALo(50,"translate"),e.qZA(),e.YNc(51,VP,2,1,"span",16),e.qZA(),e.YNc(52,UP,1,1,"ng-template",null,17,e.W1O),e.TgZ(54,"mat-list-item",11)(55,"span",13),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.YNc(58,qP,2,1,"span",16),e.qZA(),e.YNc(59,kP,1,1,"ng-template",null,18,e.W1O),e.TgZ(61,"mat-list-item",28)(62,"span",13),e._uU(63),e.ALo(64,"translate"),e.qZA(),e.YNc(65,FP,2,1,"span",14),e.qZA(),e.YNc(66,BP,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(28),D=e.MAs(38),ue=e.MAs(46),Qe=e.MAs(53),je=e.MAs(60),Zt=e.MAs(67),qe=e.oxw(2);e.xp6(6),e.hij("",e.lcZ(7,35,"surfacewaterbodylake.fichaTecnica.lblAnyoConsultaVersionChanges"),":\xa0"),e.xp6(2),e.hij("",qe.lakeDetail.parametrosEstadoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,37,"surfacewaterbodylake.fichaTecnica.lblIndicador"),":\xa0"),e.xp6(2),e.hij("",qe.lakeDetail.parametrosEstadoMod.indiceDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(55,Ws,qe.lakeDetail.parametrosEstadoMod.modFecha)),e.xp6(1),e.hij("",e.lcZ(17,39,"surfacewaterbodylake.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.modFecha)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(57,Ws,qe.lakeDetail.parametrosEstadoMod.modYearAvg)),e.xp6(1),e.hij("",e.lcZ(24,41,"surfacewaterbodylake.fichaTecnica.lblConcentracionMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.modYearAvg)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.yearAverageValue),e.xp6(4),e.Q6J("ngClass",e.VKq(59,Ws,qe.lakeDetail.parametrosEstadoMod.modYearMax)),e.xp6(1),e.hij("",e.lcZ(32,43,"surfacewaterbodylake.fichaTecnica.lblConcentracionMaximaDetectadaAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.modYearMax)("ngIfElse",D),e.xp6(2),e.hij(" \xa0",e.lcZ(36,45,"unidades.\xb5gL"),""),e.xp6(5),e.Q6J("ngClass",e.VKq(61,Ws,qe.lakeDetail.parametrosEstadoMod.modDureza)),e.xp6(1),e.hij("",e.lcZ(42,47,"surfacewaterbodylake.fichaTecnica.lblDurezaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.modDureza)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.dureza),e.xp6(4),e.Q6J("ngClass",e.VKq(63,Ws,qe.lakeDetail.parametrosEstadoMod.modConsideracionesEspeciales)),e.xp6(1),e.hij("",e.lcZ(50,49,"surfacewaterbodylake.fichaTecnica.lblConsideracionesEspeciales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.modConsideracionesEspeciales)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(65,Ws,qe.lakeDetail.parametrosEstadoMod.modConfianza)),e.xp6(1),e.hij("",e.lcZ(57,51,"surfacewaterbodylake.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.modConfianza)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(67,Ws,qe.lakeDetail.parametrosEstadoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(64,53,"surfacewaterbodylake.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.lakeDetail.parametrosEstadoMod.modComentario)("ngIfElse",Zt)}}function YP(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,AP,44,42,"ng-container",5),e.YNc(6,$P,68,69,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.lakeDetail.id," - ",n.lakeName,""),e.xp6(2),e.Q6J("ngIf",n.isEcoElementStateOperation),e.xp6(1),e.Q6J("ngIf",n.isQuimicalStateOperation),e.xp6(
15),e.Oqu(e.lcZ(12,5,"botones.cerrar"))}}function jP(t,o){1&t&&e._UZ(0,"app-spinner")}let KP=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.lakeService=D,this.lakeName="",this.isEcoElementStateOperation=!1,this.isQuimicalStateOperation=!1,this.numRed4Dec=s.C.numRed4Dec,this.showLargeForm=!1,this.isEcoElementStateOperation=s.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASAS_AGUA===_.operation,this.isQuimicalStateOperation=s.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA===_.operation,this.lakeName=_.itemName,this.operationCode=_.operation,this.lakeService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation).subscribe(ue=>{this.lakeDetail=ue,g1.N.checkIndicadorIdEcoElements(this.lakeDetail.parametrosEstadoMod.indicadorId,s.C.swbLakeEntity)&&(this.showLargeForm=!0)})}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(V_.z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state-elements"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["fecha",""],["appHighlight","",4,"ngIf","ngIfElse"],["consideracionesEspecialesDesc",""],["confianzaDesc",""],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appBold","",4,"ngIf"],["yearAverageValue",""],["dureza",""],["appHighlight",""],["value",""],["yearMaxValue",""],[1,"bar-gradient","mb-4","h-auto","py-2"]],template:function(n,_){if(1&n&&(e.YNc(0,YP,13,7,"div",0),e.YNc(1,jP,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.lakeDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function QP(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.nombre)}}function GP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.nombre)}}function JP(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tipo)}}function WP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tipo)}}function HP(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEspanol)}}function zP(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEspanol)}}function XP(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function eR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.codigoEuropeo)}}function tR(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.masaAguasAbajoPropuesta)}}function nR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.masaAguasAbajoPropuesta)}}function iR(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.sistemaExplotacion)}}function oR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.sistemaExplotacion)}}function aR(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function sR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.comentarios)}}const Ll=function(t){return{modified:t}};function rR(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,QP,2,1,"span",9),e.qZA(),e.YNc(13,GP,1,1,"ng-template",null,10,e.W1O),e.TgZ(15,"mat-list-item",7)(16,"span",8),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,JP,2,1,"span",9),e.qZA(),e.YNc(20,WP,1,1,"ng-template",null,11,e.W1O),e.TgZ(22,"mat-list-item",7)(23,"span",8),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,HP,2,1,"span",9),e.qZA(),e.YNc(27,zP,1,1,"ng-template",null,12,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",8),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,XP,2,1,"span",9),e.qZA(),e.YNc(34,eR,1,1,"ng-template",null,13,e.W1O),e.TgZ(36,"mat-list-item",7)(37,"span",8),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,tR,2,1,"span",9),e.qZA(),e.YNc(41,nR,1,1,"ng-template",null,14,e.W1O),e.TgZ(43,"mat-list-item",7)(44,"span",8),e._uU(45),e.ALo(46,"translate"),e.qZA(),e.YNc(47,iR,2,1,"span",9),e.qZA(),e.YNc(48,oR,1,1,"ng-template",null,15,e.W1O),e.TgZ(50,"mat-list-item",16)(51,"span",17),e._uU(52),e.ALo(53,"translate"),e.qZA(),e.YNc(54,aR,2,1,"span",9),e.qZA(),e.YNc(55,sR,1,1,"ng-template",null,18,e.W1O),e.qZA()()(),e.TgZ(57,"div",5)(58,"div",19)(59,"div",20)(60,"button",21),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(61),e.ALo(62,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(14),D=e.MAs(21),ue=e.MAs(28),Qe=e.MAs(35),je=e.MAs(42),Zt=e.MAs(49),qe=e.MAs(56),tn=e.oxw();e.xp6(3),e.AsE("",n.id," - ",tn.lakeName,""),e.xp6(6),e.Q6J("ngClass",e.VKq(47,Ll,n.modNombre)),e.xp6(1),e.hij("",e.lcZ(11,31,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(49,Ll,n.modTipo)),e.xp6(1),e.hij("",e.lcZ(18,33,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.tipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modTipo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(51,Ll,n.modCodigoEspanol)),e.xp6(1),e.hij("",e.lcZ(25,35,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.codigoEspanol"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEspanol)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(53,Ll,n.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(32,37,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modCodigoEuropeo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(55,Ll,n.modMasaAguasAbajoPropuesta)),e.xp6(1),e.hij("",e.lcZ(39,39,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.masaAguasAbajoPropuesta"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modMasaAguasAbajoPropuesta)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(57,Ll,n.modSistemaExplotacion)),e.xp6(1),e.hij("",e.lcZ(46,41,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.codSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modSistemaExplotacion)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(59,Ll,n.modComentarios)),e.xp6(1),e.hij("",e.lcZ(53,43,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.modComentarios)("ngIfElse",qe),e.xp6(7),e.Oqu(e.l
1cZ(62,45,"botones.cerrar"))}}function cR(t,o){1&t&&e._UZ(0,"app-spinner")}let lR=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.lakeService=D,this.lakeName="",this.dateFormat=s.C.dateFormat,this.lakeName=_.itemName,this.operationCode=_.operation,this.lakeDetail$=this.lakeService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(V_.z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["tipo",""],["codigoEspanol",""],["codigoEuropeo",""],["masaAguasAbajoPropuesta",""],["sistemaExplotacion",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,rR,63,61,"div",0),e.ALo(1,"async"),e.YNc(2,cR,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.lakeDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function _R(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidromorfologiaMod.naturaleza)}}function pR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidromorfologia.naturaleza)}}function dR(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidromorfologiaMod.comentarios)}}function uR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidromorfologia.comentarios)}}const HE=function(t){return{modified:t}};function hR(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",13),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,_R,2,1,"span",14),e.qZA(),e.YNc(14,pR,1,1,"ng-template",15,16,e.W1O),e.TgZ(16,"mat-list-item",11)(17,"span",13),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.YNc(20,dR,2,1,"span",14),e.qZA(),e.YNc(21,uR,1,1,"ng-template",15,17,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(15),_=e.MAs(22),D=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,10,"surfacewaterbodylake.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij(" ",D.hidromorfologia.anyo," "),e.xp6(2),e.Q6J("ngClass",e.VKq(16,HE,D.hidromorfologiaMod.modCodNaturaleza)),e.xp6(1),e.hij(" ",e.lcZ(12,12,"surfacewaterbodylake.fichaTecnica.hidromorfologia.lblNaturaleza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.hidromorfologia.modCodNaturaleza)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(18,HE,D.hidromorfologiaMod.modComentarios)),e.xp6(1),e.hij(" ",e.lcZ(19,14,"surfacewaterbodylake.fichaTecnica.hidromorfologia.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.hidromorfologiaMod.modComentarios)("ngIfElse",_)}}function mR(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,hR,23,20,"ng-container",5),e.TgZ(6,"div",6)(7,"div",7)(8,"div",8)(9,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(10),e.ALo(11,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.lakeName,""),e.xp6(2),e.Q6J("ngIf",_.isHidromorfologyOperation),e.xp6(
15),e.Oqu(e.lcZ(11,4,"botones.cerrar"))}}function gR(t,o){1&t&&e._UZ(0,"app-spinner")}let fR=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.lakeService=D,this.lakeName="",this.isHidromorfologyOperation=!1,this.isHidromorfologyOperation=s.C.operacion.OPERACION_HIDROMORFOLOGIA===_.operation,this.lakeName=_.itemName,this.operationCode=_.operation,this.lakeDetail$=this.lakeService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(V_.z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-hidromorfology"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["naturaleza",""],["comentarios",""],["appHighlight","",1,"text-wrap"]],template:function(n,_){if(1&n&&(e.YNc(0,mR,12,6,"div",0),e.ALo(1,"async"),e.YNc(2,gR,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.lakeDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function vR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function CR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function bR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.descripcion)}}function xR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descripcion)}}function AR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.tipo)}}function ER(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipo)}}function OR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoEuropeo)}}function MR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function TR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoPortugues)}}function DR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoPortugues)}}function IR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.masaAguasAbajo)}}function yR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.masaAguasAbajo)}}function SR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.vinculadaPortugal)}}function wR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.vinculadaPortugal)}}function PR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.masaFronteriza)}}function RR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.masaFronteriza)}}function ZR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function NR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}function LR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.sistemaExplotacion)}}function VR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.sistemaExplotacion)}}function UR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.permanente)}}function qR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.permanente)}}function kR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambios)}}function FR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambios)}}function BR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosAgregar)}}function $R(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosAgregar)}}function YR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosDividir)}}function jR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosDividir)}}function KR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosMenores)}}function QR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosMenores)}}function GR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosAgregarDividir)}}function JR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosAgregarDividir)}}function WR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosNaturaleza)}}function HR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosNaturaleza)}}function zR(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosNombre)}}function XR(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosNombre)}}function eZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosNueva)}}function tZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosNueva)}}function nZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hayCambiosEliminar)}}function iZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hayCambiosEliminar)}}function oZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentariosAnterior)}}function aZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentariosAnterior)}}const Yo=function(t){return{modified:t}};function sZ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,vR,2,1,"span",13),e.qZA(),e.YNc(9,CR,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,bR,2,1,"span",13),e.qZA(),e.YNc(16,xR,1,1,"ng-template",null,14,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,AR,2,1,"span",13),e.qZA(),e.YNc(23,ER,1,1,"ng-template",null,15,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,OR,2,1,"span",13),e.qZA(),e.YNc(30,MR,1,1,"ng-template",null,16,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,TR,2,1,"span",13),e.qZA(),e.YNc(37,DR,1,1,"ng-template",null,17,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",18),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,IR,2,1,"span",13),e.qZA(),e.YNc(44,yR,1,1,"ng-template",null,19,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",18),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,SR,2,1,"span",13),e.qZA(),e.YNc(51,wR,1,1,"ng-template",null,20,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",18),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,PR,2,1,"span",13),e.qZA(),e.YNc(58,RR,1,1,"ng-template",null,21,e.W1O),e.TgZ(60,"mat-list-item",22)(61,"span",18),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,ZR,2,1,"span",13),e.qZA(),e.YNc(65,NR,1,1,"ng-template",null,23,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,LR,2,1,"span",13),e.qZA(),e.YNc(72,VR,1,1,"ng-template",null,24,e.W1O),e.TgZ(74,"mat-list-item",22)(75,"span",18),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,UR,2,1,"span",13),e.qZA(),e.YNc(79,qR,1,1,"ng-template",null,25,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,kR,2,1,"span",13),e.qZA(),e.YNc(86,FR,1,1,"ng-template",null,26,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,BR,2,1,"span",13),e.qZA(),e.YNc(93,$R,1,1,"ng-template",null,27,e.W1O),e.TgZ(95,"mat-list-item",11)(96,"span",12),e._uU(97),e.ALo(98,"translate"),e.qZA(),e.YNc(99,YR,2,1,"span",13),e.qZA(),e.YNc(100,jR,1,1,"ng-template",null,28,e.W1O),e.TgZ(102,"mat-list-item",11)(103,"span",12),e._uU(104),e.ALo(105,"translate"),e.qZA(),e.YNc(106,KR,2,1,"span",13),e.qZA(),e.YNc(107,QR,1,1,"ng-template",null,29,e.W1O),e.TgZ(109,"mat-list-item",11)(110,"span",12),e._uU(111),e.ALo(112,"translate"),e.qZA(),e.YNc(113,GR,2,1,"span",13),e.qZA(),e.YNc(114,JR,1,1,"ng-template",null,30,e.W1O),e.TgZ(116,"mat-list-item",11)(117,"span",12),e._uU(118),e.ALo(119,"translate"),e.qZA(),e.YNc(120,WR,2,1,"span",13),e.qZA(),e.YNc(121,HR,1,1,"ng-template",null,31,e.W1O),e.TgZ(123,"mat-list-item",11)(124,"span",12),e._uU(125),e.ALo(126,"translate"),e.qZA(),e.YNc(127,zR,2,1,"span",13),e.qZA(),e.YNc(128,XR,1,1,"ng-template",null,32,e.W1O),e.TgZ(130,"mat-list-item",11)(131,"span",12),e._uU(132),e.ALo(133,"translate"),e.qZA(),e.YNc(134,eZ,2,1,"span",13),e.qZA(),e.YNc(135,tZ,1,1,"ng-template",null,33,e.W1O),e.TgZ(137,"mat-list-item",11)(138,"span",12),e._uU(139),e.ALo(140,"translate"),e.qZA(),e.YNc(141,nZ,2,1,"span",13),e.qZA(),e.YNc(142,iZ,1,1,"ng-template",null,34,e.W1O),e.TgZ(144,"mat-list-item",11)(145,"span",12),e._uU(146),e.ALo(147,"translate"),e.qZA(),e.YNc(148,oZ,2,1,"span",13),e.qZA(),e.YNc(149,aZ,1,1,"ng-template",null,35,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(24),D=e.MAs(31),ue=e.MAs(38),Qe=e.MAs(45),je=e.MAs(52),Zt=e.MAs(59),qe=e.MAs(66),tn=e.MAs(73),mn=e.MAs(80),mi=e.MAs(87),Rn=e.MAs(94),dn=e.MAs(101),si=e.MAs(108),jn=e.MAs(115),da=e.MAs(122),ii=e.MAs(129),Ci=e.MAs(136),is=e.MAs(143),Li=e.MAs(150),Pn=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(126,Yo,Pn.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,84,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(128,Yo,Pn.modDescripcion)),e.xp6(1),e.hij("",e.lcZ(14,86,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.descripcion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modDescripcion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(130,Yo,Pn.modTipo)),e.xp6(1),e.hij("",e.lcZ(21,88,"surfacewaterbodyriver.fichaTecnica.tipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modTipo)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(132,Yo,Pn.modCodigoEuropeo)),e.xp6(1),e.hij("",e.lcZ(28,90,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modCodigoEuropeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(134,Yo,Pn.modCodigoPortugues)),e.xp6(1),e.hij("",e.lcZ(35,92,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codigoPortugues"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modCodigoPortugues)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(136,Yo,Pn.modMasaAguasAbajo)),e.xp6(1),e.hij("",e.lcZ(42,94,"surfacewaterbodyriver.fichaTecnica.masaAguasAbajo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modMasaAguasAbajo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(138,Yo,Pn.modVinculadaPortugal)),e.xp6(1),e.hij("",e.lcZ(49,96,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codVinculadaPortugal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modVinculadaPortugal)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(140,Yo,Pn.modMasaFronteriza)),e.xp6(1),e.hij("",e.lcZ(56,98,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codMasaFronteriza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modMasaFronteriza)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(142,Yo,Pn.modComentarios)),e.xp6(1),e.hij("",e.lcZ(63,100,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modComentarios)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(144,Yo,Pn.modSistemaExplotacion)),e.xp6(1),e.hij("",e.lcZ(70,102,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modSistemaExplotacion)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(146,Yo,Pn.modPermanente)),e.xp6(1),e.hij("",e.lcZ(77,104,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.permanente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modPermanente)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(148,Yo,Pn.modHayCambios)),e.xp6(1),e.hij("",e.lcZ(84,106,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambios)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(150,Yo,Pn.modHayCambiosAgregar)),e.xp6(1),e.hij("",e.lcZ(91,108,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambiosAgregar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosAgregar)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(152,Yo,Pn.modHayCambiosDividir)),e.xp6(1),e.hij("",e.lcZ(98,110,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambiosDividir"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosDividir)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(154,Yo,Pn.modHayCambiosMenores)),e.xp6(1),e.hij("",e.lcZ(105,112,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambiosMenores"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosMenores)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(156,Yo,Pn.modHayCambiosAgregarDividir)),e.xp6(1),e.hij("",e.lcZ(112,114,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambiosAgregarDividir"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosAgregarDividir)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(158,Yo,Pn.modHayCambiosNaturaleza)),e.xp6(1),e.hij("",e.lcZ(119,116,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambiosNaturaleza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosNaturaleza)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(160,Yo,Pn.modHayCambiosNombre)),e.xp6(1),e.hij("",e.lcZ(126,118,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambiosNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosNombre)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(162,Yo,Pn.modHayCambiosNueva)),e.xp6(1),e.hij("",e.lcZ(133,120,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambiosNueva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosNueva)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(164,Yo,Pn.modHayCambiosEliminar)),e.xp6(1),e.hij("",e.lcZ(140,122,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.codHayCambiosEliminar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modHayCambiosEliminar)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(166,Yo,Pn.modComentariosAnterior)),e.xp6(1),e.hij("",e.lcZ(147,124,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.comentariosAnterior"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.modComentariosAnterior)("ngIfElse",Li)}}function rZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.enero?"S\xed":"No")}}function cZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.enero?"S\xed":"No")}}function lZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.febrero?"S\xed":"No")}}function _Z(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.febrero?"S\xed":"No")}}function pZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.marzo?"S\xed":"No")}}function dZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.marzo?"S\xed":"No")}}function uZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.abril?"S\xed":"No")}}function hZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.abril?"S\xed":"No")}}function mZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.mayo?"S\xed":"No")}}function gZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.mayo?"S\xed":"No")}}function fZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.junio?"S\xed":"No")}}function vZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.junio?"S\xed":"No")}}function CZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.julio?"S\xed":"No")}}function bZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.julio?"S\xed":"No")}}function xZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.agosto?"S\xed":"No")}}function AZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.agosto?"S\xed":"No")}}function EZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.septiembre?"S\xed":"No")}}function OZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.septiembre?"S\xed":"No")}}function MZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.octubre?"S\xed":"No")}}function TZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.octubre?"S\xed":"No")}}function DZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.noviembre?"S\xed":"No")}}function IZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.noviembre?"S\xed":"No")}}function yZ(t,o){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.cesesMod.diciembre?"S\xed":"No")}}function SZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.cesesMod.diciembre?"S\xed":"No")}}function wZ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,rZ,2,1,"span",13),e.qZA(),e.YNc(9,cZ,1,1,"ng-template",null,37,e.W1O),e.qZA(),e.TgZ(11,"mat-list")(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,lZ,2,1,"span",13),e.qZA(),e.YNc(17,_Z,1,1,"ng-template",null,38,e.W1O),e.qZA(),e.TgZ(19,"mat-list")(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,pZ,2,1,"span",13),e.qZA(),e.YNc(25,dZ,1,1,"ng-template",null,39,e.W1O),e.qZA(),e.TgZ(27,"mat-list")(28,"mat-list-item",11)(29,"span",12),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,uZ,2,1,"span",13),e.qZA(),e.YNc(33,hZ,1,1,"ng-template",null,40,e.W1O),e.qZA(),e.TgZ(35,"mat-list")(36,"mat-list-item",11)(37,"span",12),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,mZ,2,1,"span",13),e.qZA(),e.YNc(41,gZ,1,1,"ng-template",null,41,e.W1O),e.qZA(),e.TgZ(43,"mat-list")(44,"mat-list-item",11)(45,"span",12),e._uU(46),e.ALo(47,"translate"),e.qZA(),e.YNc(48,fZ,2,1,"span",13),e.qZA(),e.YNc(49,vZ,1,1,"ng-template",null,42,e.W1O),e.qZA(),e.TgZ(51,"mat-list")(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,CZ,2,1,"span",13),e.qZA(),e.YNc(57,bZ,1,1,"ng-template",null,43,e.W1O),e.qZA(),e.TgZ(59,"mat-list")(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,xZ,2,1,"span",13),e.qZA(),e.YNc(65,AZ,1,1,"ng-template",null,44,e.W1O),e.qZA(),e.TgZ(67,"mat-list")(68,"mat-list-item",11)(69,"span",12),e._uU(70),e.ALo(71,"translate"),e.qZA(),e.YNc(72,EZ,2,1,"span",13),e.qZA(),e.YNc(73,OZ,1,1,"ng-template",null,45,e.W1O),e.qZA(),e.TgZ(75,"mat-list")(76,"mat-list-item",11)(77,"span",12),e._uU(78),e.ALo(79,"translate"),e.qZA(),e.YNc(80,MZ,2,1,"span",13),e.qZA(),e.YNc(81,TZ,1,1,"ng-template",null,46,e.W1O),e.qZA(),e.TgZ(83,"mat-list")(84,"mat-list-item",11)(85,"span",12),e._uU(86),e.ALo(87,"translate"),e.qZA(),e.YNc(88,DZ,2,1,"span",13),e.qZA(),e.YNc(89,IZ,1,1,"ng-template",null,47,e.W1O),e.qZA(),e.TgZ(91,"mat-list")(92,"mat-list-item",11)(93,"span",12),e._uU(94),e.ALo(95,"translate"),e.qZA(),e.YNc(96,yZ,2,1,"span",13),e.qZA(),e.YNc(97,SZ,1,1,"ng-template",null,48,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(18),D=e.MAs(26),ue=e.MAs(34),Qe=e.MAs(42),je=e.MAs(50),Zt=e.MAs(58),qe=e.MAs(66),tn=e.MAs(74),mn=e.MAs(82),mi=e.MAs(90),Rn=e.MAs(98),dn=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(72,Yo,dn.cesesMod.modEnero)),e.xp6(1),e.hij("",e.lcZ(7,48,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.enero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modEnero)("ngIfElse",n),e.xp6(5),e.Q6J("ngClass",e.VKq(74,Yo,dn.cesesMod.modFebrero)),e.xp6(1),e.hij("",e.lcZ(15,50,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.febrero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modFebrero)("ngIfElse",_),e.xp6(5),e.Q6J("ngClass",e.VKq(76,Yo,dn.cesesMod.modMarzo)),e.xp6(1),e.hij("",e.lcZ(23,52,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.marzo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modMarzo)("ngIfElse",D),e.xp6(5),e.Q6J("ngClass",e.VKq(78,Yo,dn.cesesMod.modAbril)),e.xp6(1),e.hij("",e.lcZ(31,54,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.abril"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modAbril)("ngIfElse",ue),e.xp6(5),e.Q6J("ngClass",e.VKq(80,Yo,dn.cesesMod.modMayo)),e.xp6(1),e.hij("",e.lcZ(39,56,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.mayo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modMayo)("ngIfElse",Qe),e.xp6(5),e.Q6J("ngClass",e.VKq(82,Yo,dn.cesesMod.modJunio)),e.xp6(1),e.hij("",e.lcZ(47,58,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.junio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modJunio)("ngIfElse",je),e.xp6(5),e.Q6J("ngClass",e.VKq(84,Yo,dn.cesesMod.modJulio)),e.xp6(1),e.hij("",e.lcZ(55,60,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.julio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modJulio)("ngIfElse",Zt),e.xp6(5),e.Q6J("ngClass",e.VKq(86,Yo,dn.cesesMod.modAgosto)),e.xp6(1),e.hij("",e.lcZ(63,62,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.agosto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modAgosto)("ngIfElse",qe),e.xp6(5),e.Q6J("ngClass",e.VKq(88,Yo,dn.cesesMod.modSeptiembre)),e.xp6(1),e.hij("",e.lcZ(71,64,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.septiembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modSeptiembre)("ngIfElse",tn),e.xp6(5),e.Q6J("ngClass",e.VKq(90,Yo,dn.cesesMod.modOctubre)),e.xp6(1),e.hij("",e.lcZ(79,66,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.octubre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modOctubre)("ngIfElse",mn),e.xp6(
15),e.Q6J("ngClass",e.VKq(92,Yo,dn.cesesMod.modNoviembre)),e.xp6(1),e.hij("",e.lcZ(87,68,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.noviembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modNoviembre)("ngIfElse",mi),e.xp6(5),e.Q6J("ngClass",e.VKq(94,Yo,dn.cesesMod.modDiciembre)),e.xp6(1),e.hij("",e.lcZ(95,70,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.diciembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cesesMod.modDiciembre)("ngIfElse",Rn)}}function PZ(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,sZ,151,168,"ng-container",5),e.YNc(6,wZ,99,96,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.riverName,""),e.xp6(2),e.Q6J("ngIf",_.isGeneralOperation),e.xp6(1),e.Q6J("ngIf",_.isCesesOperation),e.xp6(5),e.Oqu(e.lcZ(12,5,"botones.cerrar"))}}function RZ(t,o){1&t&&e._UZ(0,"app-spinner")}let ZZ=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.riverService=D,this.riverName="",this.dateFormat=s.C.dateFormat,this.isGeneralOperation=!1,this.isNatureOperation=!1,this.isPressureOperation=!1,this.isCesesOperation=!1,this.riverName=_.itemName,this.operationCode=_.operation,this.isGeneralOperation=s.C.operacion.OPERACION_GENERAL===_.operation,this.isCesesOperation=s.C.operacion.OPERACION_MASAS_RIO_CESES===_.operation,this.riverDetail$=this.riverService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(wl.F))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["tipo",""],["codigoEuropeo",""],["codigoPortugues",""],["appBold","",1,"text-wrap",3,"ngClass"],["masaAguasAbajo",""],["vinculadaPortugal",""],["masaFronteriza",""],[1,"bar-gradient","comentarios"],["comentarios",""],["sistemaExplotacion",""],["permanente",""],["hayCambios",""],["hayCambiosAgregar",""],["hayCambiosDividir",""],["hayCambiosMenores",""],["hayCambiosAgregarDividir",""],["hayCambiosNaturaleza",""],["hayCambiosNombre",""],["hayCambiosNueva",""],["hayCambiosEliminar",""],["comentariosAnterior",""],["appHighlight",""],["enero",""],["febrero",""],["marzo",""],["abril",""],["mayo",""],["junio",""],["julio",""],["agosto",""],["septiembre",""],["octubre",""],["noviembre",""],["diciembre",""]],template:function(n,_){if(1&n&&(e.YNc(0,PZ,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,RZ,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function NZ(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoFinalMod.comentarios)}}function LZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoFinalMod.comentarios)}}const Vl=function(t){return{modified:t}};function VZ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,NZ,2,1,"span",14),e.qZA(),e.YNc(19,LZ,1,1,"ng-template",15,16,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,8,"surfacewaterbodyreservoir.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",_.estadoFinalMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,10,"surfacewaterbodyreservoir.fichaTecnica.lblEstadoMasa"),":\xa0"),e.xp6(2),e.hij("",_.estadoFinalMod.estado," "),e.xp6(2),e.Q6J("ngClass",e.VKq(14,Vl,_.estadoFinalMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(17,12,"surfacewaterbodyreservoir.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.estadoFinalMod.modComentarios)("ngIfElse",n)}}function UZ(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;
1e.xp6(1),e.Oqu(n.estadoEcologicoMod.asignacionDefinitivaEcoDesc)}}function qZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.asignacionDefinitivaEcoDesc)}}function kZ(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoMod.nivelConfianzaEcoDesc)}}function FZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.nivelConfianzaEcoDesc)}}function BZ(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoMod.justificacionEco)}}function $Z(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.justificacionEco)}}function YZ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,UZ,2,1,"span",18),e.qZA(),e.YNc(19,qZ,1,1,"ng-template",null,19,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,kZ,2,1,"span",18),e.qZA(),e.YNc(26,FZ,1,1,"ng-template",null,20,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",13),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,BZ,2,1,"span",14),e.qZA(),e.YNc(33,$Z,1,1,"ng-template",15,21,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(27),D=e.MAs(34),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,16,"surfacewaterbodyreservoir.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",ue.estadoEcologicoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,18,"surfacewaterbodyreservoir.fichaTecnica.lblPotencialEcologicoMasa"),":\xa0"),e.xp6(2),e.hij("",ue.estadoEcologicoMod.potencialEcoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,Vl,ue.estadoEcologicoMod.modAsignacionDefinitivaEcoId)),e.xp6(1),e.hij("",e.lcZ(17,20,"surfacewaterbodyreservoir.fichaTecnica.lblAsignacionDefinitivaPotencialEcologico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modAsignacionDefinitivaEcoId)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Vl,ue.estadoEcologicoMod.modNivelConfianzaEcoId)),e.xp6(1),e.hij("",e.lcZ(24,22,"surfacewaterbodyreservoir.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modNivelConfianzaEcoId)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Vl,ue.estadoEcologicoMod.modJustificacionEco)),e.xp6(1),e.hij("",e.lcZ(31,24,"surfacewaterbodyreservoir.fichaTecnica.lblJustificacionAsignacionDefinitiva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modJustificacionEco)("ngIfElse",D)}}function jZ(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.asignacionDefinitivaChemDesc)}}function KZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.asignacionDefinitivaChemDesc)}}function QZ(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.nivelConfianzachemDesc)}}function GZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.nivelConfianzachemDesc)}}function JZ(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.justificacionChem)}}function WZ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.justificacionChem)}}function HZ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,jZ,2,1,"span",18),e.qZA(),e.YNc(19,KZ,1,1,"ng-template",null,23,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,QZ,2,1,"span",18),e.qZA(),e.YNc(26,GZ,1,1,"ng-template",null,24,e.W1O),e.TgZ(28,"mat-list-item",25)(29,"span",13),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,JZ,2,1,"span",14),e.qZA(),e.YNc(33,WZ,1,1,"ng-template",15,26,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(27),D=e.MAs(34),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,16,"surfacewaterbodyreservoir.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",ue.estadoQuimicoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,18,"surfacewaterbodyreservoir.fichaTecnica.lblEstadoQuimico"),":\xa0"),e.xp6(2),e.hij("",ue.estadoQuimicoMod.estadoChemDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,Vl,ue.estadoQuimicoMod.modAsignacionDefinitivaChemId)),e.xp6(1),e.hij("",e.lcZ(17,20,"surfacewaterbodyreservoir.fichaTecnica.lblAsignacionDefinitivaEstadoQuimico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modAsignacionDefinitivaChemId)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Vl,ue.estadoQuimicoMod.modNivelConfianzaChemId)),e.xp6(1),e.hij("",e.lcZ(24,22,"surfacewaterbodyreservoir.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modNivelConfianzaChemId)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Vl,ue.estadoQuimicoMod.modJustificacionChem)),e.xp6(1),e.hij("",e.lcZ(31,24,"surfacewaterbodyreservoir.fichaTecnica.lblJustificacionAsignacionDefinitiva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modJustificacionChem)("ngIfElse",D)}}function zZ(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,VZ,21,16,"ng-container",5),e.YNc(6,YZ,35,32,"ng-container",5),e.YNc(7,HZ,35,32,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.reservoirName,""),e.xp6(2),e.Q6J("ngIf",_.isFinalStateOperation),e.xp6(1),e.Q6J("ngIf",_.isEcoStateOperation),e.xp6(1),e.Q6J("ngIf",_.isQuimicalStateOperation),e.xp6(
15),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function XZ(t,o){1&t&&e._UZ(0,"app-spinner")}let eN=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.reservoirService=D,this.reservoirName="",this.isFinalStateOperation=!1,this.isEcoStateOperation=!1,this.isQuimicalStateOperation=!1,this.numRed4Dec=s.C.numRed4Dec,this.isFinalStateOperation=s.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA===_.operation,this.isEcoStateOperation=s.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA===_.operation,this.isQuimicalStateOperation=s.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA===_.operation,this.reservoirName=_.itemName,this.operationCode=_.operation,this.reservoirDetail$=this.reservoirService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(v1.r))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appHighlight","",4,"ngIf","ngIfElse"],["asignacionDefinitivaEcoDesc",""],["nivelConfianzaEcoDesc",""],["justificacionEco",""],["appHighlight",""],["asignacionDefinitivaChemDesc",""],["nivelConfianzachemDesc",""],[1,"bar-gradient","mb-4","h-auto","py-2"],["justificacionChem",""]],template:function(n,_){if(1&n&&(e.YNc(0,zZ,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,XZ,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.reservoirDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function tN(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.fecha)}}function nN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.fecha)}}function iN(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyreservoir.fichaTecnica.lblCaracterMenor")," "))}function oN(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,iN,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",1===n.reservoirDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.reservoirDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function aN(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.\xb5gL"),""))}function sN(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyreservoir.fichaTecnica.lblCaracterMenor")," "))}function rN(t,o){if(1&t&&(e.YNc(0,sN,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(4);e.Q6J("ngIf",1===n.reservoirDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.reservoirDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function cN(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,n.reservoirDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function lN(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.mgLCaCo3"),""))}function _N(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(4);e.Oqu(e.xi3(1,1,n.reservoirDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}const Ss=function(t){return{modified:t}};function pN(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"mat-list-item",11)(2,"
1span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,oN,4,5,"span",16),e.YNc(6,aN,3,3,"span",22),e.qZA(),e.YNc(7,rN,3,5,"ng-template",null,23,e.W1O),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.ALo(14,"number"),e.qZA(),e.TgZ(15,"mat-list-item",11)(16,"span",13),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,cN,3,4,"span",16),e.YNc(20,lN,3,3,"span",22),e.qZA(),e.YNc(21,_N,2,4,"ng-template",null,24,e.W1O),e.TgZ(23,"mat-list-item",11)(24,"span",12),e._uU(25),e.ALo(26,"translate"),e.qZA(),e._uU(27),e.qZA(),e.BQk()),2&t){const n=e.MAs(8),_=e.MAs(22),D=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(25,Ss,D.reservoirDetail.parametrosEstadoMod.modYearAvg)),e.xp6(1),e.hij("",e.lcZ(4,14,"surfacewaterbodyreservoir.fichaTecnica.lblConcentracionMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.reservoirDetail.parametrosEstadoMod.modYearAvg)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",D.reservoirDetail.parametrosEstadoMod.yearAverageValue),e.xp6(5),e.hij("",e.lcZ(12,16,"surfacewaterbodyreservoir.fichaTecnica.lblNormaCalidadMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.hij("",e.xi3(14,18,D.reservoirDetail.parametrosEstadoMod.concentracionAdmitida,D.numRed4Dec)," "),e.xp6(3),e.Q6J("ngClass",e.VKq(27,Ss,D.reservoirDetail.parametrosEstadoMod.modDureza)),e.xp6(1),e.hij("",e.lcZ(18,21,"surfacewaterbodyreservoir.fichaTecnica.lblDurezaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.reservoirDetail.parametrosEstadoMod.modDureza)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",D.reservoirDetail.parametrosEstadoMod.dureza),e.xp6(5),e.hij("",e.lcZ(26,23,"surfacewaterbodyreservoir.fichaTecnica.lblPotencialEcologico"),":\xa0"),e.xp6(2),e.hij("",D.reservoirDetail.parametrosEstadoMod.descState," ")}}function dN(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,n.reservoirDetail.parametrosEstadoMod.value,n.numRed4Dec))}}function uN(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(4);e.Oqu(e.xi3(1,1,n.reservoirDetail.parametrosEstadoMod.value,n.numRed4Dec))}}function hN(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"mat-list-item",11)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,dN,3,4,"span",16),e.qZA(),e.YNc(6,uN,2,4,"ng-template",null,26,e.W1O),e.BQk()),2&t){const n=e.MAs(7),_=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(6,Ss,_.reservoirDetail.parametrosEstadoMod.modValue)),e.xp6(1),e.hij("",e.lcZ(4,4,"surfacewaterbodyreservoir.fichaTecnica.lblValorObservado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.reservoirDetail.parametrosEstadoMod.modValue)("ngIfElse",n)}}function mN(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function gN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function fN(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.confianzaDesc)}}function vN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.confianzaDesc)}}function CN(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.comentarios)}}function bN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.comentarios)}}function xN(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,tN,2,1,"span",14),e.qZA(),e.YNc(19,nN,1,1,"ng-template",null,15,e.W1O),e.YNc(21,pN,28,29,"ng-container",5),e.YNc(22,hN,8,8,"ng-container",5),e.TgZ(23,"mat-list-item",11)(24,"span",13),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,mN,2,1,"span",16),e.qZA(),e.YNc(28,gN,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",13),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,fN,2,1,"span",16),e.qZA(),e.YNc(35,vN,1,1,"ng-template",null,18,e.W1O),e.TgZ(37,"mat-list-item",11)(38,"span",13),e._uU(39),e.ALo(40,"translate"),e.qZA(),e.YNc(41,CN,2,1,"span",14),e.qZA(),e.YNc(42,bN,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(29),D=e.MAs(36),ue=e.MAs(43),Qe=e.oxw(2);e.xp6(6),e.hij("",e.lcZ(7,22,"surfacewaterbodyreservoir.fichaTecnica.lblAnyoConsultaVersionChanges"),":\xa0"),e.xp6(2),e.hij("",Qe.reservoirDetail.parametrosEstadoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,24,"surfacewaterbodyreservoir.fichaTecnica.lblIndicador"),":\xa0"),e.xp6(2),e.hij("",Qe.reservoirDetail.parametrosEstadoMod.indiceDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(34,Ss,Qe.reservoirDetail.parametrosEstadoMod.modFecha)),e.xp6(1),e.hij("",e.lcZ(17,26,"surfacewaterbodyreservoir.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.reservoirDetail.parametrosEstadoMod.modFecha)("ngIfElse",n),e.xp6(3),e.Q6J("ngIf",Qe.showLargeForm),e.xp6(1),e.Q6J("ngIf",!Qe.showLargeForm),e.xp6(2),e.Q6J("ngClass",e.VKq(36,Ss,Qe.reservoirDetail.parametrosEstadoMod.modConsideracionesEspeciales)),e.xp6(1),e.hij("",e.lcZ(26,28,"surfacewaterbodyreservoir.fichaTecnica.lblConsideracionesEspeciales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.reservoirDetail.parametrosEstadoMod.modConsideracionesEspeciales)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Ss,Qe.reservoirDetail.parametrosEstadoMod.modConfianza)),e.xp6(1),e.hij("",e.lcZ(33,30,"surfacewaterbodyreservoir.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.reservoirDetail.parametrosEstadoMod.modConfianza)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(40,Ss,Qe.reservoirDetail.parametrosEstadoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(40,32,"surfacewaterbodyreservoir.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.reservoirDetail.parametrosEstadoMod.modComentario)("ngIfElse",ue)}}function AN(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.fecha)}}function EN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.fecha)}}function ON(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyreservoir.fichaTecnica.lblCaracterMenor")," "))}function MN(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,ON,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.reservoirDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.reservoirDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function TN(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.\xb5gL"),""))}function DN(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyreservoir.fichaTecnica.lblCaracterMenor")," "))}function IN(t,o){if(1&t&&(e.YNc(0,DN,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.reservoirDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.reservoirDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function yN(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyreservoir.fichaTecnica.lblCaracterMenor")," "))}function SN(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,yN,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.reservoirDetail.parametrosEstadoMod.yearMaxValueLess),e.xp6(1),e.hij(" ",e.xi3(3,2,n.reservoirDetail.parametrosEstadoMod.yearMaxValue,n.numRed4Dec),"")}}function wN(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyreservoir.fichaTecnica.lblCaracterMenor")," "))}function PN(t,o){if(1&t&&(e.YNc(0,wN,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.reservoirDetail.parametrosEstadoMod.yearMaxValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.reservoirDetail.parametrosEstadoMod.yearMaxValue,n.numRed4Dec))}}function RN(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.fechaBiota)}}function ZN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.fechaBiota)}}function NN(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyreservoir.fichaTecnica.lblCaracterMenor")," "))}function LN(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,NN,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.reservoirDetail.parametrosEstadoMod.concentracionMediaAnualBiotaLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.reservoirDetail.parametrosEstadoMod.concentracionMediaAnualBiota,n.numRed4Dec))}}function VN(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.\xb5gL"),""))}function UN(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyreservoir.fichaTecnica.lblCaracterMenor")," "))}function qN(t,o){if(1&t&&(e.YNc(0,UN,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.reservoirDetail.parametrosEstadoMod.concentracionMediaAnualBiotaLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.reservoirDetail.parametrosEstadoMod.concentracionMediaAnualBiota,n.numRed4Dec))}}function kN(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.reservoirDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function FN(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.mgLCaCo3"),""))}function BN(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.reservoirDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function $N(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function YN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function jN(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.confianzaDesc)}}function KN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.confianzaDesc)}}function QN(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.reservoirDetail.parametrosEstadoMod.comentarios)}}function GN(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.reservoirDetail.parametrosEstadoMod.comentarios)}}function JN(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,AN,2,1,"span",14),e.qZA(),e.YNc(19,EN,1,1,"ng-template",null,15,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,MN,4,5,"span",16),e.YNc(26,TN,3,3,"span",22),e.qZA(),e.YNc(27,IN,3,5,"ng-template",null,23,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",13),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,SN,4,5,"span",16),e.TgZ(34,"span",12),e._uU(35),e.ALo(36,"translate"),e.qZA()(),e.YNc(37,PN,3,5,"ng-template",null,27,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",13),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,RN,2,1,"span",14),e.qZA(),e.YNc(44,ZN,1,1,"ng-template",null,28,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",13),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,LN,4,5,"span",16),e.YNc(51,VN,3,3,"span",22),e.qZA(),e.YNc(52,qN,3,5,"ng-template",null,29,e.W1O),e.TgZ(54,"mat-list-item",11)(55,"span",13),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.YNc(58,kN,3,4,"span",16),e.YNc(59,FN,3,3,"span",22),e.qZA(),e.YNc(60,BN,2,4,"ng-template",null,24,e.W1O),e.TgZ(62,"mat-list-item",11)(63,"span",13),e._uU(64),e.ALo(65,"translate"),e.qZA(),e.YNc(66,$N,2,1,"span",16),e.qZA(),e.YNc(67,YN,1,1,"ng-template",null,17,e.W1O),e.TgZ(69,"mat-list-item",11)(70,"span",13),e._uU(71),e.ALo(72,"translate"),e.qZA(),e.YNc(73,jN,2,1,"span",16),e.qZA(),e.YNc(74,KN,1,1,"ng-template",null,18,e.W1O),e.TgZ(76,"mat-list-item",30)(77,"span",13),e._uU(78),e.ALo(79,"translate"),e.qZA(),e.YNc(80,QN,2,1,"span",14),e.qZA(),e.YNc(81,GN,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(28),D=e.MAs(38),ue=e.MAs(45),Qe=e.MAs(53),je=e.MAs(61),Zt=e.MAs(68),qe=e.MAs(75),tn=e.MAs(82),mn=e.oxw(2);e.xp6(6),e.hij("",e.lcZ(7,44,"surfacewaterbodyreservoir.fichaTecnica.lblAnyoConsultaVersionChanges"),":\xa0"),e.xp6(2),e.hij("",mn.reservoirDetail.parametrosEstadoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,46,"surfacewaterbodyreservoir.fichaTecnica.lblIndicador"),":\xa0"),e.xp6(2),e.hij("",mn.reservoirDetail.parametrosEstadoMod.indiceDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(68,Ss,mn.reservoirDetail.parametrosEstadoMod.modFecha)),e.xp6(1),e.hij("",e.lcZ(17,48,"surfacewaterbodyreservoir.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modFecha)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(70,Ss,mn.reservoirDetail.parametrosEstadoMod.modYearAvg)),e.xp6(1),e.hij("",e.lcZ(24,50,"surfacewaterbodyreservoir.fichaTecnica.lblConcentracionMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modYearAvg)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.yearAverageValue),e.xp6(4),e.Q6J("ngClass",e.VKq(72,Ss,mn.reservoirDetail.parametrosEstadoMod.modYearMax)),e.xp6(1),e.hij("",e.lcZ(32,52,"surfacewaterbodyreservoir.fichaTecnica.lblConcentracionMaximaDetectadaAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modYearMax)("ngIfElse",D),e.xp6(2),e.hij(" \xa0",e.lcZ(36,54,"unidades.\xb5gL"),""),e.xp6(5),e.Q6J("ngClass",e.VKq(74,Ss,mn.reservoirDetail.parametrosEstadoMod.modFechaBiota)),e.xp6(1),e.hij("",e.lcZ(42,56,"surfacewaterbodyreservoir.fichaTecnica.lblAnyoBiota"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modFechaBiota)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(76,Ss,mn.reservoirDetail.parametrosEstadoMod.modConcentracionMediaAnualBiota)),e.xp6(1),e.hij("",e.lcZ(49,58,"surfacewaterbodyreservoir.fichaTecnica.lblConcentracionMediaAnualBiotaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modConcentracionMediaAnualBiota)("ngIfElse",Qe),e.xp6(1),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.concentracionMediaAnualBiota),e.xp6(4),e.Q6J("ngClass",e.VKq(78,Ss,mn.reservoirDetail.parametrosEstadoMod.modDureza)),e.xp6(1),e.hij("",e.lcZ(57,60,"surfacewaterbodyreservoir.fichaTecnica.lblDurezaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modDureza)("ngIfElse",je),e.xp6(1),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.dureza),e.xp6(4),e.Q6J("ngClass",e.VKq(80,Ss,mn.reservoirDetail.parametrosEstadoMod.modConsideracionesEspeciales)),e.xp6(1),e.hij("",e.lcZ(65,62,"surfacewaterbodyreservoir.fichaTecnica.lblConsideracionesEspeciales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modConsideracionesEspeciales)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(82,Ss,mn.reservoirDetail.parametrosEstadoMod.modConfianza)),e.xp6(1),e.hij("",e.lcZ(72,64,"surfacewaterbodyreservoir.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modConfianza)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(84,
1Ss,mn.reservoirDetail.parametrosEstadoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(79,66,"surfacewaterbodyreservoir.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.reservoirDetail.parametrosEstadoMod.modComentario)("ngIfElse",tn)}}function WN(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,xN,44,42,"ng-container",5),e.YNc(6,JN,83,86,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.reservoirDetail.id," - ",n.reservoirName,""),e.xp6(2),e.Q6J("ngIf",n.isEcoElementStateOperation),e.xp6(1),e.Q6J("ngIf",n.isQuimicalStateOperation),e.xp6(5),e.Oqu(e.lcZ(12,5,"botones.cerrar"))}}function HN(t,o){1&t&&e._UZ(0,"app-spinner")}let zN=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.reservoirService=D,this.reservoirName="",this.isEcoElementStateOperation=!1,this.isQuimicalStateOperation=!1,this.numRed4Dec=s.C.numRed4Dec,this.showLargeForm=!1,this.isEcoElementStateOperation=s.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASAS_AGUA===_.operation,this.isQuimicalStateOperation=s.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA===_.operation,this.reservoirName=_.itemName,this.operationCode=_.operation,this.reservoirService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation).subscribe(ue=>{this.reservoirDetail=ue,g1.N.checkIndicadorIdEcoElements(this.reservoirDetail.parametrosEstadoMod.indicadorId,s.C.swbReservoirEntity)&&(this.showLargeForm=!0)})}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(v1.r))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state-elements"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["fecha",""],["appHighlight","",4,"ngIf","ngIfElse"],["consideracionesEspecialesDesc",""],["confianzaDesc",""],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appBold","",4,"ngIf"],["yearAverageValue",""],["dureza",""],["appHighlight",""],["value",""],["yearMaxValue",""],["fechaBiota",""],["concentracionMediaAnualBiota",""],[1,"bar-gradient","mb-4","h-auto","py-2"]],template:function(n,_){if(1&n&&(e.YNc(0,WN,13,7,"div",0),e.YNc(1,HN,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.reservoirDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function XN(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.fecha)}}function eL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.fecha)}}function tL(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyriver.fichaTecnica.lblCaracterMenor")," "))}function nL(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,tL,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",1===n.riverDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.riverDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function iL(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij("\xa0 ",e.lcZ(2,1,"unidades.\xb5gL"),""))}function oL(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyriver.fichaTecnica.lblCaracterMenor")," "))}function aL(t,o){if(1&t&&(e.YNc(0,oL,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(4);e.Q6J("ngIf",1===n.riverDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.riverDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function sL(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,n.riverDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function rL(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.mgLCaCo3"),""))}function cL(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(4);e.Oqu(e.xi3(1,1,n.riverDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}const ws=function(t){return{modified:t}};function lL(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"mat-list-item",11)(2,"
1span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,nL,4,5,"span",16),e.YNc(6,iL,3,3,"span",22),e.qZA(),e.YNc(7,aL,3,5,"ng-template",null,23,e.W1O),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.ALo(14,"number"),e.qZA(),e.TgZ(15,"mat-list-item",11)(16,"span",13),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,sL,3,4,"span",16),e.YNc(20,rL,3,3,"span",22),e.qZA(),e.YNc(21,cL,2,4,"ng-template",null,24,e.W1O),e.TgZ(23,"mat-list-item",11)(24,"span",12),e._uU(25),e.ALo(26,"translate"),e.qZA(),e._uU(27),e.qZA(),e.BQk()),2&t){const n=e.MAs(8),_=e.MAs(22),D=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(25,ws,D.riverDetail.parametrosEstadoMod.modYearAvg)),e.xp6(1),e.hij("",e.lcZ(4,14,"surfacewaterbodyriver.fichaTecnica.lblConcentracionMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.riverDetail.parametrosEstadoMod.modYearAvg)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",D.riverDetail.parametrosEstadoMod.yearAverageValue),e.xp6(5),e.hij("",e.lcZ(12,16,"surfacewaterbodyriver.fichaTecnica.lblNormaCalidadMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.hij("",e.xi3(14,18,D.riverDetail.parametrosEstadoMod.concentracionAdmitida,D.numRed4Dec)," "),e.xp6(3),e.Q6J("ngClass",e.VKq(27,ws,D.riverDetail.parametrosEstadoMod.modDureza)),e.xp6(1),e.hij("",e.lcZ(18,21,"surfacewaterbodyriver.fichaTecnica.lblDurezaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.riverDetail.parametrosEstadoMod.modDureza)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",D.riverDetail.parametrosEstadoMod.dureza),e.xp6(5),e.hij("",e.lcZ(26,23,"surfacewaterbodyriver.fichaTecnica.lblPotencialEcologico"),":\xa0"),e.xp6(2),e.hij("",D.riverDetail.parametrosEstadoMod.descState," ")}}function _L(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(e.xi3(2,1,n.riverDetail.parametrosEstadoMod.value,n.numRed4Dec))}}function pL(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(4);e.Oqu(e.xi3(1,1,n.riverDetail.parametrosEstadoMod.value,n.numRed4Dec))}}function dL(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"mat-list-item",11)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,_L,3,4,"span",16),e.qZA(),e.YNc(6,pL,2,4,"ng-template",null,26,e.W1O),e.BQk()),2&t){const n=e.MAs(7),_=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(6,ws,_.riverDetail.parametrosEstadoMod.modValue)),e.xp6(1),e.hij("",e.lcZ(4,4,"surfacewaterbodyriver.fichaTecnica.lblValorObservado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.riverDetail.parametrosEstadoMod.modValue)("ngIfElse",n)}}function uL(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function hL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function mL(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.confianzaDesc)}}function gL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.confianzaDesc)}}function fL(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.comentarios)}}function vL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.comentarios)}}function CL(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,XN,2,1,"span",14),e.qZA(),e.YNc(19,eL,1,1,"ng-template",null,15,e.W1O),e.YNc(21,lL,28,29,"ng-container",5),e.YNc(22,dL,8,8,"ng-container",5),e.TgZ(23,"mat-list-item",11)(24,"span",13),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.YNc(27,uL,2,1,"span",16),e.qZA(),e.YNc(28,hL,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",13),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,mL,2,1,"span",16),e.qZA(),e.YNc(35,gL,1,1,"ng-template",null,18,e.W1O),e.TgZ(37,"mat-list-item",11)(38,"span",13),e._uU(39),e.ALo(40,"translate"),e.qZA(),e.YNc(41,fL,2,1,"span",14),e.qZA(),e.YNc(42,vL,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(29),D=e.MAs(36),ue=e.MAs(43),Qe=e.oxw(2);e.xp6(6),e.hij("",e.lcZ(7,22,"surfacewaterbodyriver.fichaTecnica.lblAnyoConsultaVersionChanges"),":\xa0"),e.xp6(2),e.hij("",Qe.riverDetail.parametrosEstadoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,24,"surfacewaterbodyriver.fichaTecnica.lblIndicador"),":\xa0"),e.xp6(2),e.hij("",Qe.riverDetail.parametrosEstadoMod.indiceDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(34,ws,Qe.riverDetail.parametrosEstadoMod.modFecha)),e.xp6(1),e.hij("",e.lcZ(17,26,"surfacewaterbodyriver.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.riverDetail.parametrosEstadoMod.modFecha)("ngIfElse",n),e.xp6(3),e.Q6J("ngIf",Qe.showLargeForm),e.xp6(1),e.Q6J("ngIf",!Qe.showLargeForm),e.xp6(2),e.Q6J("ngClass",e.VKq(36,ws,Qe.riverDetail.parametrosEstadoMod.modConsideracionesEspeciales)),e.xp6(1),e.hij("",e.lcZ(26,28,"surfacewaterbodyriver.fichaTecnica.lblConsideracionesEspeciales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.riverDetail.parametrosEstadoMod.modConsideracionesEspeciales)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(38,ws,Qe.riverDetail.parametrosEstadoMod.modConfianza)),e.xp6(1),e.hij("",e.lcZ(33,30,"surfacewaterbodyriver.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.riverDetail.parametrosEstadoMod.modConfianza)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(40,ws,Qe.riverDetail.parametrosEstadoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(40,32,"surfacewaterbodyriver.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.riverDetail.parametrosEstadoMod.modComentario)("ngIfElse",ue)}}function bL(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.fecha)}}function xL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.fecha)}}function AL(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyriver.fichaTecnica.lblCaracterMenor")," "))}function EL(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,AL,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.riverDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.riverDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function OL(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.\xb5gL"),""))}function ML(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyriver.fichaTecnica.lblCaracterMenor")," "))}function TL(t,o){if(1&t&&(e.YNc(0,ML,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.riverDetail.parametrosEstadoMod.yearAverageValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.riverDetail.parametrosEstadoMod.yearAverageValue,n.numRed4Dec))}}function DL(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyriver.fichaTecnica.lblCaracterMenor")," "))}function IL(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,DL,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.riverDetail.parametrosEstadoMod.yearMaxValueLess),e.xp6(1),e.hij(" ",e.xi3(3,2,n.riverDetail.parametrosEstadoMod.yearMaxValue,n.numRed4Dec),"")}}function yL(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyriver.fichaTecnica.lblCaracterMenor")," "))}function SL(t,o){if(1&t&&(e.YNc(0,yL,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.riverDetail.parametrosEstadoMod.yearMaxValueLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.riverDetail.parametrosEstadoMod.yearMaxValue,n.numRed4Dec))}}function wL(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.fechaBiota)}}function PL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.fechaBiota)}}function RL(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyriver.fichaTecnica.lblCaracterMenor")," "))}function ZL(t,o){if(1&t&&(e.TgZ(0,"span",25),e.YNc(1,RL,3,3,"ng-container",5),e._uU(2),e.ALo(3,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",1===n.riverDetail.parametrosEstadoMod.concentracionMediaAnualBiotaLess),e.xp6(1),e.Oqu(e.xi3(3,2,n.riverDetail.parametrosEstadoMod.concentracionMediaAnualBiota,n.numRed4Dec))}}function NL(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.\xb5gL"),""))}function LL(t,o){1&t&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&t&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"surfacewaterbodyriver.fichaTecnica.lblCaracterMenor")," "))}function VL(t,o){if(1&t&&(e.YNc(0,LL,3,3,"ng-container",5),e._uU(1),e.ALo(2,"number")),2&t){const n=e.oxw(3);e.Q6J("ngIf",1===n.riverDetail.parametrosEstadoMod.concentracionMediaAnualBiotaLess),e.xp6(1),e.Oqu(e.xi3(2,2,n.riverDetail.parametrosEstadoMod.concentracionMediaAnualBiota,n.numRed4Dec))}}function UL(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.riverDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function qL(t,o){1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.mgLCaCo3"),""))}function kL(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.riverDetail.parametrosEstadoMod.dureza,n.numRed4Dec))}}function FL(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function BL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.consideracionesEspecialesDesc)}}function $L(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.confianzaDesc)}}function YL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.confianzaDesc)}}function jL(t,o){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.riverDetail.parametrosEstadoMod.comentarios)}}function KL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.riverDetail.parametrosEstadoMod.comentarios)}}function QL(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,bL,2,1,"span",14),e.qZA(),e.YNc(19,xL,1,1,"ng-template",null,15,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,EL,4,5,"span",16),e.YNc(26,OL,3,3,"span",22),e.qZA(),e.YNc(27,TL,3,5,"ng-template",null,23,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",13),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,IL,4,5,"span",16),e.TgZ(34,"span",12),e._uU(35),e.ALo(36,"translate"),e.qZA()(),e.YNc(37,SL,3,5,"ng-template",null,27,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",13),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,wL,2,1,"span",14),e.qZA(),e.YNc(44,PL,1,1,"ng-template",null,28,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",13),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,ZL,4,5,"span",16),e.YNc(51,NL,3,3,"span",22),e.qZA(),e.YNc(52,VL,3,5,"ng-template",null,29,e.W1O),e.TgZ(54,"mat-list-item",11)(55,"span",13),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.YNc(58,UL,3,4,"span",16),e.YNc(59,qL,3,3,"span",22),e.qZA(),e.YNc(60,kL,2,4,"ng-template",null,24,e.W1O),e.TgZ(62,"mat-list-item",11)(63,"span",13),e._uU(64),e.ALo(65,"translate"),e.qZA(),e.YNc(66,FL,2,1,"span",16),e.qZA(),e.YNc(67,BL,1,1,"ng-template",null,17,e.W1O),e.TgZ(69,"mat-list-item",11)(70,"span",13),e._uU(71),e.ALo(72,"translate"),e.qZA(),e.YNc(73,$L,2,1,"span",16),e.qZA(),e.YNc(74,YL,1,1,"ng-template",null,18,e.W1O),e.TgZ(76,"mat-list-item",30)(77,"span",13),e._uU(78),e.ALo(79,"translate"),e.qZA(),e.YNc(80,jL,2,1,"span",14),e.qZA(),e.YNc(81,KL,1,1,"ng-template",19,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(28),D=e.MAs(38),ue=e.MAs(45),Qe=e.MAs(53),je=e.MAs(61),Zt=e.MAs(68),qe=e.MAs(75),tn=e.MAs(82),mn=e.oxw(2);e.xp6(6),e.hij("",e.lcZ(7,44,"surfacewaterbodyriver.fichaTecnica.lblAnyoConsultaVersionChanges"),":\xa0"),e.xp6(2),e.hij("",mn.riverDetail.parametrosEstadoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,46,"surfacewaterbodyriver.fichaTecnica.lblIndicador"),":\xa0"),e.xp6(2),e.hij("",mn.riverDetail.parametrosEstadoMod.indiceDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(68,ws,mn.riverDetail.parametrosEstadoMod.modFecha)),e.xp6(1),e.hij("",e.lcZ(17,48,"surfacewaterbodyriver.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modFecha)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(70,ws,mn.riverDetail.parametrosEstadoMod.modYearAvg)),e.xp6(1),e.hij("",e.lcZ(24,50,"surfacewaterbodyriver.fichaTecnica.lblConcentracionMediaAnualAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modYearAvg)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.yearAverageValue),e.xp6(4),e.Q6J("ngClass",e.VKq(72,ws,mn.riverDetail.parametrosEstadoMod.modYearMax)),e.xp6(1),e.hij("",e.lcZ(32,52,"surfacewaterbodyriver.fichaTecnica.lblConcentracionMaximaDetectadaAguaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modYearMax)("ngIfElse",D),e.xp6(2),e.hij(" \xa0",e.lcZ(36,54,"unidades.\xb5gL"),""),e.xp6(5),e.Q6J("ngClass",e.VKq(74,ws,mn.riverDetail.parametrosEstadoMod.modFechaBiota)),e.xp6(1),e.hij("",e.lcZ(42,56,"surfacewaterbodyriver.fichaTecnica.lblAnyoBiota"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modFechaBiota)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(76,ws,mn.riverDetail.parametrosEstadoMod.modConcentracionMediaAnualBiota)),e.xp6(1),e.hij("",e.lcZ(49,58,"surfacewaterbodyriver.fichaTecnica.lblConcentracionMediaAnualBiotaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modConcentracionMediaAnualBiota)("ngIfElse",Qe),e.xp6(1),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.concentracionMediaAnualBiota),e.xp6(4),e.Q6J("ngClass",e.VKq(78,ws,mn.riverDetail.parametrosEstadoMod.modDureza)),e.xp6(1),e.hij("",e.lcZ(57,60,"surfacewaterbodyriver.fichaTecnica.lblDurezaSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modDureza)("ngIfElse",je),e.xp6(1),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.dureza),e.xp6(4),e.Q6J("ngClass",e.VKq(80,ws,mn.riverDetail.parametrosEstadoMod.modConsideracionesEspeciales)),e.xp6(1),e.hij("",e.lcZ(65,62,"surfacewaterbodyriver.fichaTecnica.lblConsideracionesEspeciales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modConsideracionesEspeciales)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(82,ws,mn.riverDetail.parametrosEstadoMod.modConfianza)),e.xp6(1),e.hij("",e.lcZ(72,64,"surfacewaterbodyriver.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modConfianza)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(84,ws,mn.riverDetail.parametrosEstadoMod.modComentario)),e.xp6(1),e.hij("",e.lcZ(79,66,"surfacewaterbodyriver.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.riverDetail.parametrosEstadoMod.modComentario)("ngIfElse",tn)}}function GL(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,CL,44,42,"ng-container",5),e.YNc(6,QL,83,86,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.riverDetail.id," - 
1",n.riverName,""),e.xp6(2),e.Q6J("ngIf",n.isEcoElementStateOperation),e.xp6(1),e.Q6J("ngIf",n.isQuimicalStateOperation),e.xp6(5),e.Oqu(e.lcZ(12,5,"botones.cerrar"))}}function JL(t,o){1&t&&e._UZ(0,"app-spinner")}let WL=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.riverService=D,this.riverName="",this.isEcoElementStateOperation=!1,this.isQuimicalStateOperation=!1,this.numRed4Dec=s.C.numRed4Dec,this.showLargeForm=!1,this.isEcoElementStateOperation=s.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASAS_AGUA===_.operation,this.isQuimicalStateOperation=s.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA===_.operation,this.riverName=_.itemName,this.operationCode=_.operation,this.riverService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation).subscribe(ue=>{this.riverDetail=ue,g1.N.checkIndicadorIdEcoElements(this.riverDetail.parametrosEstadoMod.indicadorId,s.C.swbRiverEntity)&&(this.showLargeForm=!0)})}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(wl.F))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state-elements"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["fecha",""],["appHighlight","",4,"ngIf","ngIfElse"],["consideracionesEspecialesDesc",""],["confianzaDesc",""],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appBold","",4,"ngIf"],["yearAverageValue",""],["dureza",""],["appHighlight",""],["value",""],["yearMaxValue",""],["fechaBiota",""],["concentracionMediaAnualBiota",""],[1,"bar-gradient","mb-4","h-auto","py-2"]],template:function(n,_){if(1&n&&(e.YNc(0,GL,13,7,"div",0),e.YNc(1,JL,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.riverDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function HL(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoFinalMod.comentarios)}}function zL(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoFinalMod.comentarios)}}const Ul=function(t){return{modified:t}};function XL(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,HL,2,1,"span",14),e.qZA(),e.YNc(19,zL,1,1,"ng-template",15,16,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,8,"surfacewaterbodyriver.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",_.estadoFinalMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,10,"surfacewaterbodyriver.fichaTecnica.lblEstadoMasa"),":\xa0"),e.xp6(2),e.hij("",_.estadoFinalMod.estado," "),e.xp6(2),e.Q6J("ngClass",e.VKq(14,Ul,_.estadoFinalMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(17,12,"surfacewaterbodyriver.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.estadoFinalMod.modComentarios)("ngIfElse",n)}}function e4(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoMod.asignacionDefinitivaEcoDesc)}}function t4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.asignacionDefinitivaEcoDesc)}}function n4(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoEcologicoMod.nivelConfianzaEcoDesc)}}function o4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.nivelConfianzaEcoDesc)}}function a4(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;
1e.xp6(1),e.Oqu(n.estadoEcologicoMod.justificacionEco)}}function s4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoEcologicoMod.justificacionEco)}}function r4(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,e4,2,1,"span",18),e.qZA(),e.YNc(19,t4,1,1,"ng-template",null,19,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,n4,2,1,"span",18),e.qZA(),e.YNc(26,o4,1,1,"ng-template",null,20,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",13),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,a4,2,1,"span",14),e.qZA(),e.YNc(33,s4,1,1,"ng-template",15,21,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(27),D=e.MAs(34),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,16,"surfacewaterbodyriver.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",ue.estadoEcologicoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,18,"surfacewaterbodyriver.fichaTecnica.lblPotencialEcologicoMasa"),":\xa0"),e.xp6(2),e.hij("",ue.estadoEcologicoMod.potencialEcoDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,Ul,ue.estadoEcologicoMod.modAsignacionDefinitivaEcoId)),e.xp6(1),e.hij("",e.lcZ(17,20,"surfacewaterbodyriver.fichaTecnica.lblAsignacionDefinitivaPotencialEcologico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modAsignacionDefinitivaEcoId)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Ul,ue.estadoEcologicoMod.modNivelConfianzaEcoId)),e.xp6(1),e.hij("",e.lcZ(24,22,"surfacewaterbodyriver.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modNivelConfianzaEcoId)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Ul,ue.estadoEcologicoMod.modJustificacionEco)),e.xp6(1),e.hij("",e.lcZ(31,24,"surfacewaterbodyriver.fichaTecnica.lblJustificacionAsignacionDefinitiva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoEcologicoMod.modJustificacionEco)("ngIfElse",D)}}function c4(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.asignacionDefinitivaChemDesc)}}function l4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.asignacionDefinitivaChemDesc)}}function _4(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.nivelConfianzachemDesc)}}function p4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.nivelConfianzachemDesc)}}function d4(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.estadoQuimicoMod.justificacionChem)}}function u4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estadoQuimicoMod.justificacionChem)}}function h4(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.qZA(),e.TgZ(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"mat-list-item",11)(15,"span",13),e._uU(16),e.ALo(17,"translate"),e.qZA(),e.YNc(18,c4,2,1,"span",18),e.qZA(),e.YNc(19,l4,1,1,"ng-template",null,23,e.W1O),e.TgZ(21,"mat-list-item",11)(22,"span",13),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,_4,2,1,"span",18),e.qZA(),e.YNc(26,p4,1,1,"ng-template",null,24,e.W1O),e.TgZ(28,"mat-list-item",25)(29,"span",13),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,d4,2,1,"span",14),e.qZA(),e.YNc(33,u4,1,1,"ng-template",15,26,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(20),_=e.MAs(27),D=e.MAs(34),ue=e.oxw().ngIf;e.xp6(6),e.hij("",e.lcZ(7,16,"surfacewaterbodyriver.fichaTecnica.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij("",ue.estadoQuimicoMod.anyoConsulta," "),e.xp6(3),e.hij("",e.lcZ(12,18,"surfacewaterbodyriver.fichaTecnica.lblEstadoQuimico"),":\xa0"),e.xp6(2),e.hij("",ue.estadoQuimicoMod.estadoChemDesc," "),e.xp6(2),e.Q6J("ngClass",e.VKq(26,Ul,ue.estadoQuimicoMod.modAsignacionDefinitivaChemId)),e.xp6(1),e.hij("",e.lcZ(17,20,"surfacewaterbodyriver.fichaTecnica.lblAsignacionDefinitivaEstadoQuimico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modAsignacionDefinitivaChemId)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Ul,ue.estadoQuimicoMod.modNivelConfianzaChemId)),e.xp6(1),e.hij("",e.lcZ(24,22,"surfacewaterbodyriver.fichaTecnica.lblNivelConfianza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modNivelConfianzaChemId)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Ul,ue.estadoQuimicoMod.modJustificacionChem)),e.xp6(1),e.hij("",e.lcZ(31,24,"surfacewaterbodyriver.fichaTecnica.lblJustificacionAsignacionDefinitiva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.estadoQuimicoMod.modJustificacionChem)("ngIfElse",D)}}
1function m4(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,XL,21,16,"ng-container",5),e.YNc(6,r4,35,32,"ng-container",5),e.YNc(7,h4,35,32,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.riverName,""),e.xp6(2),e.Q6J("ngIf",_.isFinalStateOperation),e.xp6(1),e.Q6J("ngIf",_.isEcoStateOperation),e.xp6(1),e.Q6J("ngIf",_.isQuimicalStateOperation),e.xp6(5),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function g4(t,o){1&t&&e._UZ(0,"app-spinner")}let f4=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.riverService=D,this.riverName="",this.isFinalStateOperation=!1,this.isEcoStateOperation=!1,this.isQuimicalStateOperation=!1,this.isFinalStateOperation=s.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA===_.operation,this.isEcoStateOperation=s.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA===_.operation,this.isQuimicalStateOperation=s.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA===_.operation,this.riverName=_.itemName,this.operationCode=_.operation,this.riverDetail$=this.riverService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(wl.F))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentarios",""],["appHighlight","",1,"text-wrap"],["appHighlight","",4,"ngIf","ngIfElse"],["asignacionDefinitivaEcoDesc",""],["nivelConfianzaEcoDesc",""],["justificacionEco",""],["appHighlight",""],["asignacionDefinitivaChemDesc",""],["nivelConfianzachemDesc",""],[1,"bar-gradient","mb-4","h-auto","py-2"],["justificacionChem",""]],template:function(n,_){if(1&n&&(e.YNc(0,m4,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,g4,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.riverDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}.comentarios[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:16px;height:auto!important}"]}),t})();function v4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.recursoMod.restriccionesAmbientales,_.numRed))}}function C4(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.recursoMod.restriccionesAmbientales,_.numRed))}}const Hs=function(t){return{modified:t}};function b4(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,v4,3,4,"span",13),e.qZA(),e.YNc(9,C4,2,4,"ng-template",null,14,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(6,Hs,_.recursoMod.modRestriccionesAmbientales)),e.xp6(1),e.hij("",e.lcZ(7,4,"groundwaterbody.fichaTecnica.lblsGuardarCambios.restriccionesAmbientales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.recursoMod.modRestriccionesAmbientales)("ngIfElse",n)}}function x4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.recargaNaturalMod.componente)}}function A4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.recargaNaturalMod.componente)}}function E4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.recargaNaturalMod.fecha1,_.shortDateFormat))}}function O4(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.recargaNaturalMod.fecha1,_.shortDateFormat))}}function M4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.recargaNaturalMod.fecha2,_.shortDateFormat))}}function T4(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.recargaNaturalMod.fecha2,_.shortDateFormat))}}function D4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.recargaNaturalMod.volumenAnual,_.numRed))}}function I4(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.recargaNaturalMod.volumenAnual,_.numRed))}}function y4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.recargaNaturalMod.metodoCalculo)}}function S4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.recargaNaturalMod.metodoCalculo)}}function w4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.recargaNaturalMod.observaciones)}}function P4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.recargaNaturalMod.observaciones)}}function R4(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",16)(5,"span",17),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,x4,2,1,"span",13),e.qZA(),e.YNc(9,A4,1,1,"ng-template",null,18,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,E4,3,4,"span",13),e.qZA(),e.YNc(16,O4,2,4,"ng-template",null,19,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,M4,3,4,"span",13),e.qZA(),e.YNc(23,T4,2,4,"ng-template",null,20,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,D4,3,4,"span",13),e.qZA(),e.YNc(30,I4,2,4,"ng-template",null,21,e.W1O),e.TgZ(32,"mat-list-item",16)(33,"span",17),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,y4,2,1,"span",13),e.qZA(),e.YNc(37,S4,1,1,"ng-template",null,22,e.W1O),e.TgZ(39,"mat-list-item",16)(40,"span",17),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,w4,2,1,"span",13),e.qZA(),e.YNc(44,P4,1,1,"ng-template",null,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(36,Hs,Zt.recargaNaturalMod.modComponente)),e.xp6(1),e.hij("",e.lcZ(7,24,"groundwaterbody.fichaTecnica.lblsGuardarCambios.componenteId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.recargaNaturalMod.modComponente)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Hs,Zt.recargaNaturalMod.modFecha1)),e.xp6(1),e.hij("",e.lcZ(14,26,"groundwaterbody.fichaTecnica.lblsGuardarCambios.fecha1"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.recargaNaturalMod.modFecha1)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(40,Hs,Zt.recargaNaturalMod.modFecha2)),e.xp6(1),e.hij("",e.lcZ(21,28,"groundwaterbody.fichaTecnica.lblsGuardarCambios.fecha2"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.recargaNaturalMod.modFecha2)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(42,Hs,Zt.recargaNaturalMod.modVolumenAnual)),e.xp6(1),e.hij("",e.lcZ(28,30,"groundwaterbody.fichaTecnica.lblsGuardarCambios.volumenAnual"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.recargaNaturalMod.modVolumenAnual)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(44,Hs,Zt.recargaNaturalMod.modMetodoCalculo)),e.xp6(1),e.hij("",e.lcZ(35,32,"groundwaterbody.fichaTecnica.lblsGuardarCambios.metodoCalculo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.recargaNaturalMod.modMetodoCalculo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(46,Hs,Zt.recargaNaturalMod.modObservaciones)),e.xp6(1),e.hij("",e.lcZ(42,34,"groundwaterbody.fichaTecnica.lblsGuardarCambios.observaciones"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.recargaNaturalMod.modObservaciones)("ngIfElse",je)}}function Z4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.recargaArtificialMod.fecha1,_.shortDateFormat))}}function N4(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.recargaArtificialMod.fecha1,_.shortDateFormat))}}function L4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.recargaArtificialMod.fecha2,_.shortDateFormat))}}function V4(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.recargaArtificialMod.fecha2,_.shortDateFormat))}}function U4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.recargaArtificialMod.volumenAnual,_.numRed))}}
1function q4(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.recargaArtificialMod.volumenAnual,_.numRed))}}function k4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.recargaArtificialMod.sistema)}}function F4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.recargaArtificialMod.sistema)}}function B4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.recargaArtificialMod.origen)}}function $4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.recargaArtificialMod.origen)}}function Y4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.recargaArtificialMod.composicionQuimica)}}function j4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.recargaArtificialMod.composicionQuimica)}}function K4(t,o){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.recargaArtificialMod.autorizacionAdministrativa)}}function Q4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.recargaArtificialMod.autorizacionAdministrativa)}}function G4(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Z4,3,4,"span",13),e.qZA(),e.YNc(9,N4,2,4,"ng-template",null,19,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,L4,3,4,"span",13),e.qZA(),e.YNc(16,V4,2,4,"ng-template",null,20,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,U4,3,4,"span",13),e.qZA(),e.YNc(23,q4,2,4,"ng-template",null,21,e.W1O),e.TgZ(25,"mat-list-item",16)(26,"span",17),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,k4,2,1,"span",13),e.qZA(),e.YNc(30,F4,1,1,"ng-template",null,24,e.W1O),e.TgZ(32,"mat-list-item",16)(33,"span",17),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,B4,2,1,"span",13),e.qZA(),e.YNc(37,$4,1,1,"ng-template",null,25,e.W1O),e.TgZ(39,"mat-list-item",16)(40,"span",17),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,Y4,2,1,"span",13),e.qZA(),e.YNc(44,j4,1,1,"ng-template",null,26,e.W1O),e.TgZ(46,"mat-list-item",16)(47,"span",17),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,K4,2,1,"span",13),e.qZA(),e.YNc(51,Q4,1,1,"ng-template",null,27,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(42,Hs,qe.recargaArtificialMod.modFecha1)),e.xp6(1),e.hij("",e.lcZ(7,28,"groundwaterbody.fichaTecnica.lblsGuardarCambios.fecha1"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.recargaArtificialMod.modFecha1)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,Hs,qe.recargaArtificialMod.modFecha2)),e.xp6(1),e.hij("",e.lcZ(14,30,"groundwaterbody.fichaTecnica.lblsGuardarCambios.fecha2"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.recargaArtificialMod.modFecha2)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,Hs,qe.recargaArtificialMod.modVolumen)),e.xp6(1),e.hij("",e.lcZ(21,32,"groundwaterbody.fichaTecnica.lblsGuardarCambios.volumenAnual"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.recargaArtificialMod.modVolumen)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,Hs,qe.recargaArtificialMod.modSistema)),e.xp6(1),e.hij("",e.lcZ(28,34,"groundwaterbody.fichaTecnica.lblsGuardarCambios.sistemaId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.recargaArtificialMod.modSistema)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,Hs,qe.recargaArtificialMod.modOrigen)),e.xp6(1),e.hij("",e.lcZ(35,36,"groundwaterbody.fichaTecnica.lblsGuardarCambios.origen"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.recargaArtificialMod.modOrigen)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,Hs,qe.recargaArtificialMod.modComposicionQuimica)),e.xp6(1),e.hij("",e.lcZ(42,38,"groundwaterbody.fichaTecnica.lblsGuardarCambios.composicionQuimica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.recargaArtificialMod.modComposicionQuimica)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,Hs,qe.recargaArtificialMod.modAutorizacionAdmistrativa)),e.xp6(1),e.hij("",e.lcZ(49,40,"groundwaterbody.fichaTecnica.lblsGuardarCambios.autorizacionAdministrativa"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.recargaArtificialMod.modAutorizacionAdmistrativa)("ngIfElse",Zt)}}
1function J4(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,b4,11,8,"ng-container",5),e.YNc(6,R4,46,48,"ng-container",5),e.YNc(7,G4,53,56,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.gwbName,""),e.xp6(2),e.Q6J("ngIf",_.isResourceOperation),e.xp6(1),e.Q6J("ngIf",_.isNatureRechargeOperation),e.xp6(1),e.Q6J("ngIf",_.isArtificialRechargeOperation),e.xp6(5),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function W4(t,o){1&t&&e._UZ(0,"app-spinner")}let H4=(()=>{class t{constructor(n,_,D){switch(this._dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numRed=s.C.numRed,this.shortDateFormat=s.C.shortDateFormat,this.isResourceOperation=!1,this.isNatureRechargeOperation=!1,this.isArtificialRechargeOperation=!1,this.gwbName=_.itemName,_.operation){case s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_RECURSO:this.isResourceOperation=!0;break;case s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_RECARGA:this.isNatureRechargeOperation=!0;break;default:this.isArtificialRechargeOperation=!0}this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}get dialogRef(){return this._dialogRef}set dialogRef(n){this._dialogRef=n}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-resource"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["restriccionesAmbientales",""],["appHighlight",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["componente",""],["fecha1",""],["fecha2",""],["volumenAnual",""],["metodoCalculo",""],["observaciones",""],["sistema",""],["origen",""],["composicionQuimica",""],["autorizacionAdministrativa",""]],template:function(n,_){if(1&n&&(e.YNc(0,J4,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,W4,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ,d.uU],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function z4(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoMod.descripcionGeneral)}}function X4(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoMod.descripcionGeneral)}}function eV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoMod.descripcionAcuifero)}}function tV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoMod.descripcionAcuifero)}}const Ta=function(t){return{modified:t}};function nV(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,z4,2,1,"span",13),e.qZA(),e.YNc(9,X4,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,eV,2,1,"span",13),e.qZA(),e.YNc(16,tV,1,1,"ng-template",null,15,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(12,Ta,D.hidrogeoMod.modDescripcionGeneral)),e.xp6(1),e.hij("",e.lcZ(7,8,"groundwaterbody.fichaTecnica.lblsGuardarCambios.descripcionGeneral"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.hidrogeoMod.modDescripcionGeneral)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,Ta,D.hidrogeoMod.modDescripcionAcuifero)),e.xp6(1),e.hij("",e.lcZ(14,10,"groundwaterbody.fichaTecnica.lblsGuardarCambios.descripcionAcuifero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.hidrogeoMod.mod
1DescripcionAcuifero)("ngIfElse",_)}}function iV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoLimiteMod.limite)}}function oV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoLimiteMod.limite)}}function aV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoLimiteMod.tipo)}}function sV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoLimiteMod.tipo)}}function rV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoLimiteMod.naturaleza)}}function cV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoLimiteMod.naturaleza)}}function lV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoLimiteMod.sentido)}}function _V(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoLimiteMod.sentido)}}function pV(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,iV,2,1,"span",13),e.qZA(),e.YNc(9,oV,1,1,"ng-template",null,17,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,aV,2,1,"span",13),e.qZA(),e.YNc(16,sV,1,1,"ng-template",null,18,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,rV,2,1,"span",13),e.qZA(),e.YNc(23,cV,1,1,"ng-template",null,19,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,lV,2,1,"span",13),e.qZA(),e.YNc(30,_V,1,1,"ng-template",null,20,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(24,Ta,Qe.hidrogeoLimiteMod.modLimite)),e.xp6(1),e.hij("",e.lcZ(7,16,"groundwaterbody.fichaTecnica.lblsGuardarCambios.idLimite"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.hidrogeoLimiteMod.modLimite)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(26,Ta,Qe.hidrogeoLimiteMod.modTipo)),e.xp6(1),e.hij("",e.lcZ(14,18,"groundwaterbody.fichaTecnica.lblsGuardarCambios.idTipo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.hidrogeoLimiteMod.modTipo)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(28,Ta,Qe.hidrogeoLimiteMod.modNaturaleza)),e.xp6(1),e.hij("",e.lcZ(21,20,"groundwaterbody.fichaTecnica.lblsGuardarCambios.idNaturaleza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.hidrogeoLimiteMod.modNaturaleza)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(30,Ta,Qe.hidrogeoLimiteMod.modSentido)),e.xp6(1),e.hij("",e.lcZ(28,22,"groundwaterbody.fichaTecnica.lblsGuardarCambios.idSentido"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.hidrogeoLimiteMod.modSentido)("ngIfElse",ue)}}function dV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.codigo)}}function uV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.codigo)}}function hV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.nombre)}}function mV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.nombre)}}function gV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.extension,_.numRed))}}function fV(t,o){1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.km2"),""))}function vV(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.extension,_.numRed))}}function CV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.litologia)}}function bV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.litologia)}}function xV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.comentarios)}}function AV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.comentarios)}}function EV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.tipoGeometria)}}function OV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.tipoGeometria)}}function MV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.espesorMinimo,_.numRed))}}function TV(t,o){1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.metros"),""))}function DV(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.espesorMinimo,_.numRed))}}function IV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.espesorMaximo,_.numRed))}}function yV(t,o){1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.metros"),""))}function SV(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.espesorMaximo,_.numRed))}}function wV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.porcentajeEspesor,_.numRed))}}function PV(t,o){1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.porcentaje"),""))}function RV(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.porcentajeEspesor,_.numRed))}}function ZV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.hidraulica)}}function NV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.hidraulica)}}function LV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.porosidad)}}function VV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.porosidad)}}function UV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.permeabilidad)}}function qV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.permeabilidad)}}function kV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.transmisividadMinima,_.numRed))}}function FV(t,o){1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.m2Dia"),""))}function BV(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.transmisividadMinima,_.numRed))}}function $V(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.transmisividadMaxima,_.numRed))}}function YV(t,o){1&t&&(e.TgZ(0,"span",41),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t&&(e.xp6(1),e.hij(" \xa0",e.lcZ(2,1,"unidades.m2Dia"),""))}function jV(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.transmisividadMaxima,_.numRed))}}function KV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.metodoDeterminacion)}}function QV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.metodoDeterminacion)}}function GV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.rangoMinimoAlmacenamiento,_.numRed))}}function JV(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.rangoMinimoAlmacenamiento,_.numRed))}}function WV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.rangoMaximoAlmacenamiento,_.numRed))}}function HV(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.rangoMaximoAlmacenamiento,_.numRed))}}function zV(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.hidrogeoAcuiferoMod.metodoCoefAlmacenamiento)}}function XV(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.hidrogeoAcuiferoMod.metodoCoefAlmacenamiento)}}function eU(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.hidrogeoAcuiferoMod.rangoMedioAlmacenamiento,_.numRed))}}function tU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.hidrogeoAcuiferoMod.rangoMedioAlmacenamiento,_.numRed))}}function nU(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,dV,2,1,"span",13),e.qZA(),e.YNc(9,uV,1,1,"ng-template",null,21,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,hV,2,1,"span",13),e.qZA(),e.YNc(16,mV,1,1,"ng-template",null,22,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,gV,3,4,"span",13),e.YNc(23,fV,3,3,"span",23),e.qZA(),e.YNc(24,vV,2,4,"ng-template",null,24,e.W1O),e.TgZ(26,"mat-list-item",11)(27,"span",12),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.YNc(30,CV,2,1,"span",13),e.qZA(),e.YNc(31,bV,1,1,"ng-template",null,25,e.W1O),e.TgZ(33,"mat-list-item",11)(34,"span",12),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.YNc(37,xV,2,1,"span",13),e.qZA(),e.YNc(38,AV,1,1,"ng-template",null,26,e.W1O),e.TgZ(40,"mat-list-item",11)(41,"span",12),e._uU(42),e.ALo(43,"translate"),e.qZA(),e.YNc(44,EV,2,1,"span",13),e.qZA(),e.YNc(45,OV,1,1,"ng-template",null,27,e.W1O),e.TgZ(47,"mat-list-item",11)(48,"span",12),e._uU(49),e.ALo(50,"translate"),e.qZA(),e.YNc(51,MV,3,4,"span",13),e.YNc(52,TV,3,3,"span",23),e.qZA(),e.YNc(53,DV,2,4,"ng-template",null,28,e.W1O),e.TgZ(55,"mat-list-item",11)(56,"span",12),e._uU(57),e.ALo(58,"translate"),e.qZA(),e.YNc(59,IV,3,4,"span",13),e.YNc(60,yV,3,3,"span",23),e.qZA(),e.YNc(61,SV,2,4,"ng-template",null,29,e.W1O),e.TgZ(63,"mat-list-item",11)(64,"span",12),e._uU(65),e.ALo(66,"translate"),e.qZA(),e.YNc(67,wV,3,4,"span",13),e.YNc(68,PV,3,3,"span",23),e.qZA(),e.YNc(69,RV,2,4,"ng-template",null,30,e.W1O),e.TgZ(71,"mat-list-item",11)(72,"span",12),e._uU(73),e.ALo(74,"translate"),e.qZA(),e.YNc(75,ZV,2,1,"span",13),e.qZA(),e.YNc(76,NV,1,1,"ng-template",null,31,e.W1O),e.TgZ(78,"mat-list-item",11)(79,"span",12),e._uU(80),e.ALo(81,"translate"),e.qZA(),e.YNc(82,LV,2,1,"span",13),e.qZA(),e.YNc(83,VV,1,1,"ng-template",null,32,e.W1O),e.TgZ(85,"mat-list-item",11)(86,"span",12),e._uU(87),e.ALo(88,"translate"),e.qZA(),e.YNc(89,UV,2,1,"span",13),e.qZA(),e.YNc(90,qV,1,1,"ng-template",null,33,e.W1O),e.TgZ(92,"mat-list-item",11)(93,"span",12),e._uU(94),e.ALo(95,"translate"),e.qZA(),e.YNc(96,kV,3,4,"span",13),e.YNc(97,FV,3,3,"span",23),e.qZA(),e.YNc(98,BV,2,4,"ng-template",null,34,e.W1O),e.TgZ(100,"mat-list-item",11)(101,"span",12),e._uU(102),e.ALo(103,"translate"),e.qZA(),e.YNc(104,$V,3,4,"span",13),e.YNc(105,YV,3,3,"span",23),e.qZA(),e.YNc(106,jV,2,4,"ng-template",null,35,e.W1O),e.TgZ(108,"mat-list-item",11)(109,"span",12),e._uU(110),e.ALo(111,"translate"),e.qZA(),e.YNc(112,KV,2,1,"span",13),e.qZA(),e.YNc(113,QV,1,1,"ng-template",null,36,e.W1O),e.TgZ(115,"mat-list-item",11)(116,"span",12),e._uU(117),e.ALo(118,"translate"),e.qZA(),e.YNc(119,GV,3,4,"span",13),e.qZA(),e.YNc(120,JV,2,4,"ng-template",null,37,e.W1O),e.TgZ(122,"mat-list-item",11)(123,"span",12),e._uU(124),e.ALo(125,"translate"),e.qZA(),e.YNc(126,WV,3,4,"span",13),e.qZA(),e.YNc(127,HV,2,4,"ng-template",null,38,e.W1O),e.TgZ(129,"mat-list-item",11)(130,"span",12),e._uU(131),e.ALo(132,"translate"),e.qZA(),e.YNc(133,zV,2,1,"span",13),e.qZA(),e.YNc(134,XV,1,1,"ng-template",null,39,e.W1O),e.TgZ(136,"mat-list-item",11)(137,"span",12),e._uU(138),e.ALo(139,"translate"),e.qZA(),e.YNc(140,eU,3,4,"span",13),e.qZA(),e.YNc(141,tU,2,4,"ng-template",null,40,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(25),ue=e.MAs(32),Qe=e.MAs(39),je=e.MAs(46),Zt=e.MAs(54),qe=e.MAs(62),tn=e.MAs(70),mn=e.MAs(77),mi=e.MAs(84),Rn=e.MAs(91),dn=e.MAs(99),si=e.MAs(107),jn=e.MAs(114),da=e.MAs(121),ii=e.MAs(128),Ci=e.MAs(135),is=e.MAs(142),Li=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(120,Ta,Li.hidrogeoAcuiferoMod.modCodigo)),e.xp6(1),e.hij("",e.lcZ(7,82,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.codigo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modCodigo)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(122,Ta,Li.hidrogeoAcuiferoMod.modNombre)),e.xp6(1),e.hij("",e.lcZ(14,84,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(124,Ta,Li.hidrogeoAcuiferoMod.modExtension)),e.xp6(1),e.hij("",e.lcZ(21,86,"groundwaterbody.fichaTecnica.lblExtAfloramientoSinUnidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modExtension)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.extension),e.xp6(4),e.Q6J("ngClass",e.VKq(126,Ta,Li.hidrogeoAcuiferoMod.modLitologia)),e.xp6(1),e.hij("",e.lcZ(29,88,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.idLitologia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modLitologia)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(128,Ta,Li.hidrogeoAcuiferoMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(36,90,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modComentarios)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(130,Ta,Li.hidrogeoAcuiferoMod.modTipoGeometria)),e.xp6(1),e.hij("",e.lcZ(43,92,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.idTipoGeometria"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modTipoGeometria)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(132,Ta,Li.hidrogeoAcuiferoMod.modEspesorMinimo)),e.xp6(1),e.hij("",e.lcZ(50,94,"groundwaterbody.fichaTecnica.lblRangoEspesorMin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modEspesorMinimo)("ngIfElse",Zt),e.xp6(1),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.espesorMinimo),e.xp6(4),e.Q6J("ngClass",e.VKq(134,Ta,Li.hidrogeoAcuiferoMod.modEspesorMaximo)),e.xp6(1),e.hij("",e.lcZ(58,96,"groundwaterbody.fichaTecnica.lblRangoEspesorMax"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modEspesorMaximo)("ngIfElse",qe),e.xp6(1),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.espesorMaximo),e.xp6(4),e.Q6J("ngClass",e.VKq(136,Ta,Li.hidrogeoAcuiferoMod.modPorcentajeEspesor)),e.xp6(1),e.hij("",e.lcZ(66,98,"groundwaterbody.fichaTecnica.lblRangoAcuifero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modPorcentajeEspesor)("ngIfElse",tn),e.xp6(1),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.porcentajeEspesor),e.xp6(4),e.Q6J("ngClass",e.VKq(138,Ta,Li.hidrogeoAcuiferoMod.modHidraulica)),e.xp6(1),e.hij("",e.lcZ(74,100,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.idHidraulica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modHidraulica)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(140,Ta,Li.hidrogeoAcuiferoMod.modPorosidad)),e.xp6(1),e.hij("",e.lcZ(81,102,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.idPorosidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modPorosidad)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(142,Ta,Li.hidrogeoAcuiferoMod.modPermeabilidad)),e.xp6(1),e.hij("",e.lcZ(88,104,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.idPermeabilidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modPermeabilidad)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(144,Ta,Li.hidrogeoAcuiferoMod.modTransmisividadMinima)),e.xp6(1),e.hij("",e.lcZ(95,106,"groundwaterbody.fichaTecnica.lblRangoTransmisividadMinimoAcuifero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modTransmisividadMinima)("ngIfElse",dn),e.xp6(1),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.transmisividadMinima),e.xp6(4),e.Q6J("ngClass",e.VKq(146,Ta,Li.hidrogeoAcuiferoMod.modTransmisividadMaxima)),e.xp6(1),e.hij("",e.lcZ(103,108,"groundwaterbody.fichaTecnica.lblRangoTransmisividadMaximoAcuifero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modTransmisividadMaxima)("ngIfElse",si),e.xp6(1),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.transmisividadMaxima),e.xp6(4),e.Q6J("ngClass",e.VKq(148,Ta,Li.hidrogeoAcuiferoMod.modMetodoDeterminacion)),e.xp6(1),e.hij("",e.lcZ(111,110,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.metodoDeterminacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modMetodoDeterminacion)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(150,Ta,Li.hidrogeoAcuiferoMod.modRangoMinimoAlmacenamiento)),e.xp6(1),e.hij("",e.lcZ(118,112,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.rangoMinimoAlmacenamiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modRangoMinimoAlmacenamiento)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(152,Ta,Li.hidrogeoAcuiferoMod.modRangoMaximoAlmacenamiento)),e.xp6(1),e.hij("",e.lcZ(125,114,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.rangoMaximoAlmacenamiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modRangoMaximoAlmacenamiento)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(154,Ta,Li.hidrogeoAcuiferoMod.modMetodoCoefAlmacenamiento)),e.xp6(1),e.hij("",e.lcZ(132,116,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.metodoCoefAlmacenamiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modMetodoCoefAlmacenamiento)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(156,Ta,Li.hidrogeoAcuiferoMod.modRangoMedioAlmacenamiento)),e.xp6(1),e.hij("",e.lcZ(139,118,"groundwaterbody.fichaTecnica.lblsGuardarCambios.hidrogeoAcuifero.rangoMedioAlmacenamiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Li.hidrogeoAcuiferoMod.modRangoMedioAlmacenamiento)("ngIfElse",is)}}function iU(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,nV,18,16,"ng-container",5),e.YNc(6,pV,32,32,"ng-container",5),e.YNc(7,nU,143,158,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.gwbName,""),e.xp6(2),e.Q6J("ngIf",_.isHidrogeoOperation),e.xp6(1),e.Q6J("ngIf",_.isLimitHidrogeoOperation),e.xp6(1),e.Q6J("ngIf",_.isAquiferHidrogeoOperation),e.xp6(
15),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function oU(t,o){1&t&&e._UZ(0,"app-spinner")}let aU=(()=>{class t{constructor(n,_,D){switch(this._dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numRed=s.C.numRed,this.shortDateFormat=s.C.shortDateFormat,this.isHidrogeoOperation=!1,this.isLimitHidrogeoOperation=!1,this.isAquiferHidrogeoOperation=!1,this.gwbName=_.itemName,_.operation){case s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_HIDROGEO_LIMITE:this.isLimitHidrogeoOperation=!0;break;case s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_HIDROGEO_ACUIFERO:this.isAquiferHidrogeoOperation=!0;break;default:this.isHidrogeoOperation=!0}this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}get dialogRef(){return this._dialogRef}set dialogRef(n){this._dialogRef=n}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-hidrogeo"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["descripcionGeneral",""],["descripcionAcuifero",""],["appHighlight",""],["limite",""],["tipo",""],["naturaleza",""],["sentido",""],["codigo",""],["nombre",""],["appBold","",4,"ngIf"],["extension",""],["litologia",""],["comentarios",""],["tipoGeometria",""],["espesorMinimo",""],["espesorMaximo",""],["porcentajeEspesor",""],["hidraulica",""],["porosidad",""],["permeabilidad",""],["transmisividadMinima",""],["transmisividadMaxima",""],["metodoDeterminacion",""],["rangoMinimoAlmacenamiento",""],["rangoMaximoAlmacenamiento",""],["metodoCoefAlmacenamiento",""],["rangoMedioAlmacenamiento",""],["appBold",""]],template:function(n,_){if(1&n&&(e.YNc(0,iU,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,oU,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var sU=m(2536),zr=m(8060);function rU(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function cU(t,o){1&t&&e._UZ(0,"span",14)}function lU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.nombre)}}function _U(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.codAlberca)}}function pU(t,o){1&t&&e._UZ(0,"span",14)}function dU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.codAlberca)}}function uU(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function hU(t,o){1&t&&e._UZ(0,"span",14)}function mU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.codeSCV)}}function gU(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function fU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.subUsoIntegra)}}function vU(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.estado)}}function CU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.estado)}}function bU(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function xU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.comentarios)}}const pr=function(t){return{modified:t}};function AU(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",4)(2,"div",8)(3,"mat-list")(4,"mat-list-item",9)(5,"span",10),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,rU,2,1,"span",11),e.YNc(9,cU,1,0,"span",12),e.qZA(),e.YNc(10,lU,1,1,"ng-template",null,13,e.W1O),e.TgZ(12,"mat-list-item",9)(13,"span",14),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",9)(18,"span",14),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"mat-list-item",9)(23,"span",10),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,_U,2,1,"span",11),e.YNc(27,pU,1,0,"span",12),e.qZA(),e.YNc(28,dU,1,1,"ng-template",null,15,e.W1O),e.TgZ(30,"mat-list-item",9)(31,"span",10),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,uU,2,1,"span",11),e.YNc(35,hU,1,0,"span",12),e.qZA(),e.YNc(36,mU,1,1,"ng-template",null,16,e.W1O),e.TgZ(38,"mat-list-item",9)(39,"span",10),e._uU(40),e.ALo(4
11,"translate"),e.qZA(),e.YNc(42,gU,2,1,"span",17),e.qZA(),e.YNc(43,fU,1,1,"ng-template",18,19,e.W1O),e.TgZ(45,"mat-list-item",9)(46,"span",10),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,vU,2,1,"span",17),e.qZA(),e.YNc(50,CU,1,1,"ng-template",18,20,e.W1O),e.TgZ(52,"mat-list-item",9)(53,"span",10),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,bU,2,1,"span",17),e.qZA(),e.YNc(57,xU,1,1,"ng-template",18,21,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(29),D=e.MAs(37),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.oxw();e.xp6(5),e.Q6J("ngClass",e.VKq(47,pr,Zt.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,31,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,33,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",Zt.useDetail.codIntegra," "),e.xp6(3),e.hij("",e.lcZ(20,35,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",Zt.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(49,pr,Zt.useDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(25,37,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(51,pr,Zt.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(33,39,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.modCodeSCV),e.xp6(4),e.Q6J("ngClass",e.VKq(53,pr,Zt.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,41,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(55,pr,Zt.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,43,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(57,pr,Zt.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(55,45,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modComentarios)("ngIfElse",je)}}function EU(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado,n.numRed))}}function OU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado,n.numRed))}}function MU(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado,n.numRed))}}function TU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado,n.numRed))}}function DU(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion,n.numRed))}}function IU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion,n.numRed))}}function yU(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion,n.numRed))}}function SU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion,n.numRed))}}function wU(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion,n.numRed))}}function PU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion,n.numRed))}}function RU(t,o){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion,n.numRed))}}function ZU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion,n.numRed))}}function NU(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function LU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function VU(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",4)(2,"div",8)(3,"mat-list")(4,"mat-list-item",9)(5,"span",10),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,EU,3,4,"span",11),e.qZA(),e.YNc(9,OU,2,4,"ng-template",null,24,e.W1O),e.TgZ(11,"mat-list-item",9)(12,"span",10),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,MU,3,4,"span",11),e.qZA(),e.YNc(16,TU,2,4,"ng-template",null,25,e.W1O),e.TgZ(18,"mat-list-item",9)(19,"span",10),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,DU,3,4,"span",11),e.qZA(),e.YNc(23,IU,2,4,"ng-template",null,26,e.W1O),e.TgZ(25,"mat-list-item",9)(26,"span",10),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,yU,3,4,"span",11),e.qZA(),e.YNc(30,SU,2,4,"ng-template",null,27,e.W1O),e.TgZ(32,"mat-list-item",9)(33,"span",10),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,wU,3,4,"span",11),e.qZA(),e.YNc(37,PU,2,4,"ng-template",null,28,e.W1O),e.TgZ(39,"mat-list-item",9)(40,"span",10),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,RU,3,4,"span",11),e.qZA(),e.YNc(44,ZU,2,4,"ng-template",null,29,e.W1O),e.TgZ(46,"mat-list-item",9)(47,"span",10),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,NU,2,1,"span",17),e.qZA(),e.YNc(51,LU,1,1,"ng-template",18,30,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw();e.xp6(5),e.Q6J("ngClass",e.VKq(42,pr,qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,pr,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,pr,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,pr,qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,pr,qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,pr,qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,pr,qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}let UU=(()=>{class t{constructor(n,_){this.dialogRef=n,this.data=_,this.operacionGeneral=!1,this.operacionInfoConcesional=!1,this.numRed=s.C.numRed}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operation,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operation,console.log(this.useDetail)}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-use-technical-version-changes"]],inputs:{useDetail
1:"useDetail",name:"name",operation:"operation"},decls:13,vars:7,consts:[[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["csv",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""]],template:function(n,_){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",2),e.YNc(5,AU,59,59,"ng-container",3),e.YNc(6,VU,53,56,"ng-container",3),e.TgZ(7,"div",4)(8,"div",5)(9,"div",6)(10,"button",7),e.NdJ("click",function(){return _.closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()),2&n&&(e.xp6(3),e.AsE("",_.useDetail.id," - ",_.name,""),e.xp6(2),e.Q6J("ngIf",_.operacionGeneral),e.xp6(1),e.Q6J("ngIf",_.operacionInfoConcesional),e.xp6(5),e.Oqu(e.l
1cZ(12,5,"botones.cerrar")))},directives:[A.d,d.O5,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function qU(t,o){if(1&t&&(e.ynx(0),e._UZ(1,"app-use-technical-version-changes",5),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("useDetail",n.useDetail)("name",n.useName)("operation",n.operationCode)}}function kU(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.volBrutoSolicitado))}}function FU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.volBrutoSolicitado))}}function BU(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.volBrutoReferencia))}}function $U(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.volBrutoReferencia))}}function YU(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.tipoEstablecimiento)}}function jU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.volumenesMod.tipoEstablecimiento)}}function KU(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.plazasAutorizadas))}}function QU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.plazasAutorizadas))}}function GU(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.poblacionPermanenteReferencia))}}function JU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.poblacionPermanenteReferencia))}}function WU(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.poblacionEstacionalReferencia))}}function HU(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.poblacionEstacionalReferencia))}}function zU(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.estacionalidadFinSemana)}}function XU(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.volumenesMod.estacionalidadFinSemana)}}function eq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.estacionalidadVerano)}}function tq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.volumenesMod.estacionalidadVerano)}}function nq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.estacionalidadInvierno)}}
1function iq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.volumenesMod.estacionalidadInvierno)}}function oq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.actividad)}}function aq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.volumenesMod.actividad)}}function sq(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.dotacion))}}function rq(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.dotacion))}}function cq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.fechaCertificadoPoblacion,n.dateFormat))}}function lq(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.fechaCertificadoPoblacion,n.dateFormat))}}function _q(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.comentarios)}}function pq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.useDetail.volumenesMod.comentarios)}}const dr=function(t){return{modified:t}};function dq(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",7)(3,"mat-list")(4,"mat-list-item",8)(5,"span",9),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,kU,3,3,"span",10),e.qZA(),e.YNc(9,FU,2,3,"ng-template",11,12,e.W1O),e.TgZ(11,"mat-list-item",8)(12,"span",9),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,BU,3,3,"span",10),e.qZA(),e.YNc(16,$U,2,3,"ng-template",11,13,e.W1O),e.TgZ(18,"mat-list-item",8)(19,"span",9),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,YU,2,1,"span",10),e.qZA(),e.YNc(23,jU,1,1,"ng-template",11,14,e.W1O),e.TgZ(25,"mat-list-item",8)(26,"span",9),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,KU,3,3,"span",10),e.qZA(),e.YNc(30,QU,2,3,"ng-template",11,15,e.W1O),e.TgZ(32,"mat-list-item",8)(33,"span",9),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,GU,3,3,"span",10),e.qZA(),e.YNc(37,JU,2,3,"ng-template",11,16,e.W1O),e.TgZ(39,"mat-list-item",8)(40,"span",9),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,WU,3,3,"span",10),e.qZA(),e.YNc(44,HU,2,3,"ng-template",11,17,e.W1O),e.TgZ(46,"mat-list-item",8)(47,"span",9),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,zU,2,1,"span",10),e.qZA(),e.YNc(51,XU,1,1,"ng-template",11,18,e.W1O),e.TgZ(53,"mat-list-item",8)(54,"span",9),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,eq,2,1,"span",10),e.qZA(),e.YNc(58,tq,1,1,"ng-template",11,19,e.W1O),e.TgZ(60,"mat-list-item",8)(61,"span",9),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,nq,2,1,"span",10),e.qZA(),e.YNc(65,iq,1,1,"ng-template",11,20,e.W1O),e.TgZ(67,"mat-list-item",8)(68,"span",9),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,oq,2,1,"span",10),e.qZA(),e.YNc(72,aq,1,1,"ng-template",11,21,e.W1O),e.TgZ(74,"mat-list-item",8)(75,"span",9),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,sq,3,3,"span",22),e.qZA(),e.YNc(79,rq,2,3,"ng-template",null,23,e.W1O),e.TgZ(81,"mat-list-item",8)(82,"span",9),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,cq,3,4,"span",10),e.qZA(),e.YNc(86,lq,2,4,"ng-template",11,24,e.W1O),e.TgZ(88,"mat-list-item",8)(89,"span",9),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,_q,2,1,"span",10),e.qZA(),e.YNc(93,pq,1,1,"ng-template",11,25,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.MAs(94),si=e.oxw();e.xp6(5),e.Q6J("ngClass",e.VKq(78,dr,si.useDetail.volumenesMod.modVolBrutoSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,52,"useCommon.volumenes.volBrutoSolicitado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modVolBrutoSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(80,dr,si.useDetail.volumenesMod.modVolBrutoReferencia)),e.xp6(1),e.hij("",e.lcZ(14,54,"useCommon.volumenes.volumenBrutoDeReferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modVolBrutoReferencia)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(82,dr,si.useDetail.volumenesMod.modTipoEstablecimiento)),e.xp6(1),e.hij("",e.lcZ(21,56,"useCommon.volumenes.tipoEstablecimiento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modTipoEstablecimiento)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(84,dr,si.useDetail.volumenesMod.modPlazasAutorizadas)),e.xp6(1),e.hij("",e.lcZ(28,58,"useCommon.volumenes.plazasAutorizadas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modPlazasAutorizadas)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(86,dr,si.useDetail.volumenesMod.modPoblacionPermanenteReferencia)),e.xp6(1),e.hij("",e.lcZ(35,60,"useCommon.volumenes.poblacionPermanenteReferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modPoblacionPermanenteReferencia)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(88,dr,si.useDetail.volumenesMod.modPoblacionEstacionalReferencia)),e.xp6(1),e.hij("",e.lcZ(42,62,"useCommon.volumenes.poblacionEstacionalReferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modPoblacionEstacionalReferencia)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(90,dr,si.useDetail.volumenesMod.modEstacionalidadFinSemana)),e.xp6(1),e.hij("",e.lcZ(49,64,"useCommon.volumenes.estacionalidadFinSemana"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modEstacionalidadFinSemana)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(92,dr,si.useDetail.volumenesMod.modEstacionalidadVerano)),e.xp6(1),e.hij("",e.lcZ(56,66,"useCommon.volumenes.estacionalidadVerano"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modEstacionalidadVerano)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(94,dr,si.useDetail.volumenesMod.modEstacionalidadInvierno)),e.xp6(1),e.hij("",e.lcZ(63,68,"useCommon.volumenes.estacionalidadInvierno"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modEstacionalidadInvierno)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(96,dr,si.useDetail.volumenesMod.modActividad)),e.xp6(1),e.hij("",e.lcZ(70,70,"useCommon.volumenes.actividad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modActividad)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(98,dr,si.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(77,72,"useCommon.volumenes.dotacionUnitariaMaximaBruta"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modDotacion)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(100,dr,si.useDetail.volumenesMod.modFechaCertificadoPoblacion)),e.xp6(1),e.hij("",e.lcZ(84,74,"useCommon.volumenes.fechaCertificadoPoblacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modFechaCertificadoPoblacion)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(102,dr,si.useDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(91,76,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",si.useDetail.volumenesMod.modComentarios)("ngIfElse",dn)}}function uq(t,o){1&t&&e._UZ(0,"app-spinner")}let hq=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.ABASTECIMIENTOS_FUERA_NUCLEOS).subscribe(ue=>{this.useDetail=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:6,vars:3,consts:[[1,"container"],[1,"mb-2"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["loading",""],[3,"useDetail","name","operation"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["volBrutoSolicitado",""],["volBrutoReferencia",""],["t
1ipoEstablecimiento",""],["plazasAutorizadas",""],["poblacionPermanenteReferencia",""],["poblacionEstacionalReferencia",""],["estacionalidadFinSemana",""],["estacionalidadVerano",""],["estacionalidadInvierno",""],["actividad",""],["appHighlight","",4,"ngIf","ngIfElse"],["dotacion",""],["fechaCertificadoPoblacion",""],["comentarios",""],["appHighlight","",1,"text-wrap"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.TgZ(0,"div",0),e._UZ(1,"mat-divider",1),e.YNc(2,qU,2,3,"ng-container",2),e.YNc(3,dq,95,104,"ng-container",3),e.qZA(),e.YNc(4,uq,1,0,"ng-template",null,4,e.W1O)),2&n){const D=e.MAs(5);e.xp6(2),e.Q6J("ngIf",_.useDetail)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",_.operacionVolumenes)}},directives:[A.d,d.O5,UU,C.i$,C.Tg,T.M,d.mk,S.Z,q.O],pipes:[w.X$,d.JJ,d.uU],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function mq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function gq(t,o){1&t&&e._UZ(0,"span",16)}function fq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombre)}}function vq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codAlberca)}}function Cq(t,o){1&t&&e._UZ(0,"span",16)}function bq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codAlberca)}}function xq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function Aq(t,o){1&t&&e._UZ(0,"span",16)}function Eq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codeSCV)}}function Oq(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function Mq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.subUsoIntegra)}}function Tq(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.estado)}}function Dq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.estado)}}function Iq(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function yq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.comentarios)}}function Sq(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.cauceOrigen)}}
1function wq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.cauceOrigen)}}function Pq(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.cauceDestino)}}function Rq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.cauceDestino)}}const rs=function(t){return{modified:t}};function Zq(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,mq,2,1,"span",13),e.YNc(9,gq,1,0,"span",14),e.qZA(),e.YNc(10,fq,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",11)(18,"span",16),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,vq,2,1,"span",13),e.YNc(27,Cq,1,0,"span",14),e.qZA(),e.YNc(28,bq,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",12),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,xq,2,1,"span",13),e.YNc(35,Aq,1,0,"span",14),e.qZA(),e.YNc(36,Eq,1,1,"ng-template",null,18,e.W1O),e.TgZ(38,"mat-list-item",11)(39,"span",12),e._uU(40),e.ALo(41,"translate"),e.qZA(),e.YNc(42,Oq,2,1,"span",19),e.qZA(),e.YNc(43,Mq,1,1,"ng-template",20,21,e.W1O),e.TgZ(45,"mat-list-item",11)(46,"span",12),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,Tq,2,1,"span",19),e.qZA(),e.YNc(50,Dq,1,1,"ng-template",20,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,Iq,2,1,"span",19),e.qZA(),e.YNc(57,yq,1,1,"ng-template",20,23,e.W1O),e.TgZ(59,"mat-list-item",11)(60,"span",12),e._uU(61),e.ALo(62,"translate"),e.qZA(),e.YNc(63,Sq,2,1,"span",19),e.qZA(),e.YNc(64,wq,1,1,"ng-template",20,24,e.W1O),e.TgZ(66,"mat-list-item",11)(67,"span",12),e._uU(68),e.ALo(69,"translate"),e.qZA(),e.YNc(70,Pq,2,1,"span",19),e.qZA(),e.YNc(71,Rq,1,1,"ng-template",20,25,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(29),D=e.MAs(37),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.MAs(65),qe=e.MAs(72),tn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(59,rs,tn.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,39,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",tn.useDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,41,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",tn.useDetail.codIntegra," "),e.xp6(3),e.hij("",e.lcZ(20,43,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",tn.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(61,rs,tn.useDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(25,45,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",tn.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(63,rs,tn.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(33,47,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",tn.useDetail.codeSCV),e.xp6(4),e.Q6J("ngClass",e.VKq(65,rs,tn.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,49,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(67,rs,tn.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,51,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(69,rs,tn.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(55,53,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modComentarios)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(71,rs,tn.useDetail.modCauceOrigen)),e.xp6(1),e.hij("",e.lcZ(62,55,"useCommon.fichaTecnica.lblCauceOrigen"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modCauceOrigen)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(73,rs,tn.useDetail.modCauceDestino)),e.xp6(1),e.hij("",e.lcZ(69,57,"useCommon.fichaTecnica.lblCauceDestino"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modCauceDestino)("ngIfElse",qe)}}
1function Nq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.datosTecCentralesTermicas.potenciaInstalada)}}function Lq(t,o){1&t&&e._UZ(0,"span",16)}function Vq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.datosTecCentralesTermicas.potenciaInstalada)}}function Uq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.datosTecCentralesTermicas.potenciaConcedida)}}function qq(t,o){1&t&&e._UZ(0,"span",16)}function kq(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.datosTecCentralesTermicas.potenciaConcedida)}}function Fq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.useDetail.datosTecCentralesTermicas.fuelType,"")}}function Bq(t,o){1&t&&e._UZ(0,"span",16)}function $q(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.datosTecCentralesTermicas.fuelType)}}function Yq(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Nq,2,1,"span",13),e.YNc(9,Lq,1,0,"span",14),e.qZA(),e.YNc(10,Vq,1,1,"ng-template",null,28,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,Uq,2,1,"span",13),e.YNc(17,qq,1,0,"span",14),e.qZA(),e.YNc(18,kq,1,1,"ng-template",null,29,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,Fq,2,1,"span",13),e.YNc(25,Bq,1,0,"span",14),e.qZA(),e.YNc(26,$q,1,1,"ng-template",null,30,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(21,rs,ue.useDetail.datosTecCentralesTermicas.modPotenciaInstalada)),e.xp6(1),e.hij("",e.lcZ(7,15,"useCommon.fichaTecnica.potenciaInstalada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.useDetail.datosTecCentralesTermicas.modPotenciaInstalada)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",ue.useDetail.datosTecCentralesTermicas.potenciaInstalada),e.xp6(4),e.Q6J("ngClass",e.VKq(23,rs,ue.useDetail.datosTecCentralesTermicas.modPotenciaConcedida)),e.xp6(1),e.hij("",e.lcZ(15,17,"useCommon.fichaTecnica.potenciaConcedida"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.useDetail.datosTecCentralesTermicas.modPotenciaConcedida)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",ue.useDetail.datosTecCentralesTermicas.potenciaConcedida),e.xp6(4),e.Q6J("ngClass",e.VKq(25,rs,ue.useDetail.datosTecCentralesTermicas.modFuelType)),e.xp6(1),e.hij("",e.lcZ(23,19,"useCommon.fichaTecnica.tipoCombustible"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.useDetail.datosTecCentralesTermicas.modFuelType)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",ue.useDetail.datosTecCentralesTermicas.idFuelType)}}function jq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function Kq(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function Qq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function Gq(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function Jq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function Wq(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function Hq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function zq(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion)," ")}}
1function Xq(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function e5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function t5(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function n5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function o5(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function a5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function s5(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,jq,3,3,"span",13),e.qZA(),e.YNc(9,Kq,2,3,"ng-template",null,31,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,Qq,3,3,"span",13),e.qZA(),e.YNc(16,Gq,2,3,"ng-template",null,32,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,Jq,3,3,"span",13),e.qZA(),e.YNc(23,Wq,2,3,"ng-template",null,33,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,Hq,3,3,"span",13),e.qZA(),e.YNc(30,zq,2,3,"ng-template",null,34,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,Xq,3,3,"span",13),e.qZA(),e.YNc(37,e5,2,3,"ng-template",null,35,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,t5,3,3,"span",13),e.qZA(),e.YNc(44,n5,2,3,"ng-template",null,36,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,o5,2,1,"span",19),e.qZA(),e.YNc(51,a5,1,1,"ng-template",20,37,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,rs,qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,rs,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,rs,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,rs,qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,rs,qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,rs,qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,rs,qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function r5(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function c5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function l5(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.comentarios)}}function _5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.volumenesMod.comentarios)}}function p5(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,r5,3,4,"span",13),e.qZA(),e.YNc(9,c5,2,4,"ng-template",null,38,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,l5,2,1,"span",19),e.qZA(),e.YNc(16,_5,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(12,rs,D.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,8,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.useDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,rs,D.useDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(14,10,"useCommon.volumenes.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.useDetail.volumenesMod.modComentarios)("ngIfElse",_)}}function d5(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,Zq,73,75,"ng-container",5),e.YNc(6,Yq,28,27,"ng-container",5),e.YNc(7,s5,53,56,"ng-container",5),e.YNc(8,p5,18,16,"ng-container",5),e.TgZ(9,"div",6)(10,"div",7)(11,"div",8)(12,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.useDetail.id," - ",n.useDetail.nombre,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionTecnico),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(
15),e.Oqu(e.lcZ(14,7,"botones.cerrar"))}}function u5(t,o){1&t&&e._UZ(0,"app-spinner")}let h5=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.CENTRALES_TERMICAS).subscribe(ue=>{this.useDetail=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionTecnico=s.C.operacion.OPERACION_DATOS_TECNICOS===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["codeSCV",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["comentarios",""],["cauceOrigen",""],["cauceDestino",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["potenciaInstalada",""],["potenciaConcedida",""],["fuelType",""],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,d5,15,9,"div",0),e.YNc(1,u5,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.useDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function m5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function g5(t,o){1&t&&e._UZ(0,"span",16)}function f5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombre)}}function v5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codAlberca)}}function C5(t,o){1&t&&e._UZ(0,"span",16)}function b5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codAlberca)}}function x5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function A5(t,o){1&t&&e._UZ(0,"span",16)}function E5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codeSCV)}}function O5(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function M5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.subUsoIntegra)}}function T5(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.estado)}}function D5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.estado)}}function I5(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function y5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.comentarios)}}const Us=function(t){return{modified:t}};function S5(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,m5,2,1,"span",13),e.YNc(9,g5,1,0,"span",14),e.qZA(),e.YNc(10,f5,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",11)(18,"span",16),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,v5,2,1,"span",13),e.YNc(27,C5,1,0,"span",14),e.qZA(),e.YNc(28,b5,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",12),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,x5,2,1,"span",13),e.YNc(35,A5,1,0,"span",14),e.qZA(),e.YNc(36,E5,1,1,"ng-template",null,18,e.W1O),e.TgZ(38,"mat-list-item",11)(39,"span",12),e._uU(40),e.ALo(4
11,"translate"),e.qZA(),e.YNc(42,O5,2,1,"span",19),e.qZA(),e.YNc(43,M5,1,1,"ng-template",20,21,e.W1O),e.TgZ(45,"mat-list-item",11)(46,"span",12),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,T5,2,1,"span",19),e.qZA(),e.YNc(50,D5,1,1,"ng-template",20,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,I5,2,1,"span",19),e.qZA(),e.YNc(57,y5,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(29),D=e.MAs(37),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(47,Us,Zt.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,31,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,33,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",Zt.useDetail.codIntegra," "),e.xp6(3),e.hij("",e.lcZ(20,35,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",Zt.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(49,Us,Zt.useDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(25,37,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(51,Us,Zt.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(33,39,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.modCodeSCV),e.xp6(4),e.Q6J("ngClass",e.VKq(53,Us,Zt.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,41,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(55,Us,Zt.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,43,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(57,Us,Zt.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(55,45,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modComentarios)("ngIfElse",je)}}function w5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function P5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function R5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function Z5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado,n.numRed))}}function N5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function L5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion)," ")}}function V5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function U5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion)," ")}}function q5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function k5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion)," ")}}function F5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function B5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion)," ")}}function $5(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function Y5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function j5(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,w5,3,3,"span",13),e.qZA(),e.YNc(9,P5,2,3,"ng-template",null,26,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,R5,3,3,"span",13),e.qZA(),e.YNc(16,Z5,2,4,"ng-template",null,27,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,N5,3,3,"span",13),e.qZA(),e.YNc(23,L5,2,3,"ng-template",null,28,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,V5,3,3,"span",13),e.qZA(),e.YNc(30,U5,2,3,"ng-template",null,29,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,q5,3,3,"span",13),e.qZA(),e.YNc(37,k5,2,3,"ng-template",null,30,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,F5,3,3,"span",13),e.qZA(),e.YNc(44,B5,2,3,"ng-template",null,31,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,$5,2,1,"span",19),e.qZA(),e.YNc(51,Y5,1,1,"ng-template",20,32,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,Us,qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,Us,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolumenMaxAnual"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,Us,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,Us,qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,Us,qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,Us,qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,Us,qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function K5(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function Q5(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function G5(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.comentarios)}}function J5(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.volumenesMod.comentarios)}}function W5(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,K5,3,4,"span",13),e.qZA(),e.YNc(9,Q5,2,4,"ng-template",null,33,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,G5,2,1,"span",19),e.qZA(),e.YNc(16,J5,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(12,Us,D.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,8,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.useDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,Us,D.useDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(14,10,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.useDetail.volumenesMod.modComentarios)("ngIfElse",_)}}function H5(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,S5,59,59,"ng-container",5),e.YNc(6,j5,53,56,"ng-container",5),e.YNc(7,W5,18,16,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.useDetail.id," - ",n.useName,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(
15),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function z5(t,o){1&t&&e._UZ(0,"app-spinner")}let X5=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.USOS_RECREATIVOS).subscribe(ue=>{this.useDetail=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionTecnico=s.C.operacion.OPERACION_DATOS_TECNICOS===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["csv",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,H5,14,8,"div",0),e.YNc(1,z5,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.useDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function ek(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function tk(t,o){1&t&&e._UZ(0,"span",16)}function nk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombre)}}function ik(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codAlberca)}}function ok(t,o){1&t&&e._UZ(0,"span",16)}function ak(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codAlberca)}}function sk(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function rk(t,o){1&t&&e._UZ(0,"span",16)}function ck(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codeSCV)}}function lk(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function _k(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.subUsoIntegra)}}function pk(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.estado)}}function dk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.estado)}}function uk(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function hk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.comentarios)}}const qs=function(t){return{modified:t}};function mk(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,ek,2,1,"span",13),e.YNc(9,tk,1,0,"span",14),e.qZA(),e.YNc(10,nk,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",11)(18,"span",16),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,ik,2,1,"span",13),e.YNc(27,ok,1,0,"span",14),e.qZA(),e.YNc(28,ak,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",12),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,sk,2,1,"span",13),e.YNc(35,rk,1,0,"span",14),e.qZA(),e.YNc(36,ck,1,1,"ng-template",null,18,e.W1O),e.TgZ(38,"mat-list-item",11)(39,"span",12),e._uU(40),e.ALo(4
11,"translate"),e.qZA(),e.YNc(42,lk,2,1,"span",19),e.qZA(),e.YNc(43,_k,1,1,"ng-template",20,21,e.W1O),e.TgZ(45,"mat-list-item",11)(46,"span",12),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,pk,2,1,"span",19),e.qZA(),e.YNc(50,dk,1,1,"ng-template",20,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,uk,2,1,"span",19),e.qZA(),e.YNc(57,hk,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(29),D=e.MAs(37),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(47,qs,Zt.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,31,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,33,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",Zt.useDetail.codIntegra," "),e.xp6(3),e.hij("",e.lcZ(20,35,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",Zt.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(49,qs,Zt.useDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(25,37,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(51,qs,Zt.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(33,39,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.modCodeSCV),e.xp6(4),e.Q6J("ngClass",e.VKq(53,qs,Zt.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,41,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(55,qs,Zt.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,43,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(57,qs,Zt.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(55,45,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modComentarios)("ngIfElse",je)}}function gk(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function fk(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function vk(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function Ck(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function bk(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function xk(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion)," ")}}function Ak(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function Ek(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion)," ")}}function Ok(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function Mk(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion)," ")}}function Tk(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function Dk(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion)," ")}}function Ik(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function yk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function Sk(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,gk,3,3,"span",13),e.qZA(),e.YNc(9,fk,2,3,"ng-template",null,26,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,vk,3,3,"span",13),e.qZA(),e.YNc(16,Ck,2,3,"ng-template",null,27,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,bk,3,3,"span",13),e.qZA(),e.YNc(23,xk,2,3,"ng-template",null,28,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,Ak,3,3,"span",13),e.qZA(),e.YNc(30,Ek,2,3,"ng-template",null,29,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,Ok,3,3,"span",13),e.qZA(),e.YNc(37,Mk,2,3,"ng-template",null,30,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,Tk,3,3,"span",13),e.qZA(),e.YNc(44,Dk,2,3,"ng-template",null,31,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,Ik,2,1,"span",19),e.qZA(),e.YNc(51,yk,1,1,"ng-template",20,32,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,qs,qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,qs,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolumenMaxAnual"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,qs,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,qs,qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,qs,qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,qs,qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,qs,qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function wk(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function Pk(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function Rk(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.comentarios)}}function Zk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.volumenesMod.comentarios)}}function Nk(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,wk,3,4,"span",13),e.qZA(),e.YNc(9,Pk,2,4,"ng-template",null,33,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,Rk,2,1,"span",19),e.qZA(),e.YNc(16,Zk,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(12,qs,D.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,8,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.useDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,qs,D.useDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(14,10,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.useDetail.volumenesMod.modComentarios)("ngIfElse",_)}}function Lk(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,mk,59,59,"ng-container",5),e.YNc(6,Sk,53,56,"ng-container",5),e.YNc(7,Nk,18,16,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.useDetail.id," - ",n.useName,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(
15),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function Vk(t,o){1&t&&e._UZ(0,"app-spinner")}let Uk=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.PUBLICO).subscribe(ue=>{this.useDetail=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionTecnico=s.C.operacion.OPERACION_DATOS_TECNICOS===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["csv",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,Lk,14,8,"div",0),e.YNc(1,Vk,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.useDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function qk(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function kk(t,o){1&t&&e._UZ(0,"span",16)}function Fk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombre)}}function Bk(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codAlberca)}}function $k(t,o){1&t&&e._UZ(0,"span",16)}function Yk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codAlberca)}}function jk(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function Kk(t,o){1&t&&e._UZ(0,"span",16)}function Qk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codeSCV)}}function Gk(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function Jk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.subUsoIntegra)}}function Wk(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.estado)}}function Hk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.estado)}}function zk(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.uel)}}function Xk(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.uel)}}function eF(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.uda)}}function tF(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.uda)}}function nF(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.sistemaExplotacion)}}function iF(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.sistemaExplotacion)}}function oF(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function aF(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.comentarios)}}const qo=function(t){return{modified:t}};function sF(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,qk,2,1,"span",13),e.YNc(9,kk,1,0,"span",14),e.qZA(),e.YNc(10,Fk,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",11)(18,"span",16),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Bk,2,1,"span",13),e.YNc(27,$k,1,0,"span",14),e.qZA(),e.YNc(28,Yk,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",12),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,jk,2,1,"span",13),e.YNc(35,Kk,1,0,"span",14),e.qZA(),e.YNc(36,Qk,1,1,"ng-template",null,18,e.W1O),e.TgZ(38,"mat-list-item",11)(39,"span",12),e._uU(40),e.ALo(4
11,"translate"),e.qZA(),e.YNc(42,Gk,2,1,"span",19),e.qZA(),e.YNc(43,Jk,1,1,"ng-template",20,21,e.W1O),e.TgZ(45,"mat-list-item",11)(46,"span",12),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,Wk,2,1,"span",19),e.qZA(),e.YNc(50,Hk,1,1,"ng-template",20,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,zk,2,1,"span",19),e.qZA(),e.YNc(57,Xk,1,1,"ng-template",20,23,e.W1O),e.TgZ(59,"mat-list-item",11)(60,"span",12),e._uU(61),e.ALo(62,"translate"),e.qZA(),e.YNc(63,eF,2,1,"span",19),e.qZA(),e.YNc(64,tF,1,1,"ng-template",20,24,e.W1O),e.TgZ(66,"mat-list-item",11)(67,"span",12),e._uU(68),e.ALo(69,"translate"),e.qZA(),e.YNc(70,nF,2,1,"span",19),e.qZA(),e.YNc(71,iF,1,1,"ng-template",20,25,e.W1O),e.TgZ(73,"mat-list-item",11)(74,"span",12),e._uU(75),e.ALo(76,"translate"),e.qZA(),e.YNc(77,oF,2,1,"span",19),e.qZA(),e.YNc(78,aF,1,1,"ng-template",20,26,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(29),D=e.MAs(37),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.MAs(65),qe=e.MAs(72),tn=e.MAs(79),mn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(65,qo,mn.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,43,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",mn.useDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,45,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",mn.useDetail.codIntegra," "),e.xp6(3),e.hij("",e.lcZ(20,47,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",mn.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(67,qo,mn.useDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(25,49,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",mn.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(69,qo,mn.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(33,51,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",mn.useDetail.modCodeSCV),e.xp6(4),e.Q6J("ngClass",e.VKq(71,qo,mn.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,53,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(73,qo,mn.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,55,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(75,qo,mn.useDetail.modUEL)),e.xp6(1),e.hij("",e.lcZ(55,57,"useCommon.fichaTecnica.lblUEL"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modUEL)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(77,qo,mn.useDetail.modUDA)),e.xp6(1),e.hij("",e.lcZ(62,59,"useCommon.fichaTecnica.lblUDA"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modUDA)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(79,qo,mn.useDetail.modSistemaExplotacion)),e.xp6(1),e.hij("",e.lcZ(69,61,"useCommon.fichaTecnica.lblSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modSistemaExplotacion)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(81,qo,mn.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(76,63,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",mn.useDetail.modComentarios)("ngIfElse",tn)}}function rF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function cF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function lF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function _F(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function pF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function dF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion)," ")}}function uF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);
1e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function hF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion)," ")}}function mF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function gF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion)," ")}}function fF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function vF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion)," ")}}function CF(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function bF(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function xF(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,rF,3,3,"span",13),e.qZA(),e.YNc(9,cF,2,3,"ng-template",null,29,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,lF,3,3,"span",13),e.qZA(),e.YNc(16,_F,2,3,"ng-template",null,30,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,pF,3,3,"span",13),e.qZA(),e.YNc(23,dF,2,3,"ng-template",null,31,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,uF,3,3,"span",13),e.qZA(),e.YNc(30,hF,2,3,"ng-template",null,32,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,mF,3,3,"span",13),e.qZA(),e.YNc(37,gF,2,3,"ng-template",null,33,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,fF,3,3,"span",13),e.qZA(),e.YNc(44,vF,2,3,"ng-template",null,34,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,CF,2,1,"span",19),e.qZA(),e.YNc(51,bF,1,1,"ng-template",20,35,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,qo,qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,qo,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolumenMaxAnual"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,qo,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,qo,qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,qo,qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,qo,qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,qo,qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function AF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function EF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function OF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoEnero,n.numRed))}}function MF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoEnero,n.numRed))}}function TF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoFebrero,n.numRed))}}function DF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoFebrero,n.numRed))}}function IF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoMarzo,n.numRed))}}function yF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoMarzo,n.numRed))}}function SF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoAbril,n.numRed))}}function wF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoAbril,n.numRed))}}function PF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoMayo,n.numRed))}}function RF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoMayo,n.numRed))}}function ZF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoJunio,n.numRed))}}function NF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoJunio,n.numRed))}}function LF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoJulio,n.numRed))}}function VF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoJulio,n.numRed))}}function UF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoAgosto,n.numRed))}}function qF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoAgosto,n.numRed))}}function kF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoSeptiembre,n.numRed))}}function FF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoSeptiembre,n.numRed))}}function BF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoOctubre,n.numRed))}}function $F(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoOctubre,n.numRed))}}function YF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoNoviembre,n.numRed))}}function jF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoNoviembre,n.numRed))}}function KF(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoDiciembre,n.numRed))}}function QF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoDiciembre,n.numRed))}}function GF(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.comentarios)}}function JF(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.volumenesMod.comentarios)}}function WF(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.superficieAsignadaTotal,n.numRed))}}function HF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.superficieAsignadaTotal,n.numRed))}}function zF(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.superficieARegar,n.numRed))}}function XF(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.superficieARegar,n.numRed))}}function e7(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.superficieCultivosLenosos,n.numRed))}}function t7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.superficieCultivosLenosos,n.numRed))}}function n7(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.superficieCultivosMixtos,n.numRed))}}function o7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.superficieCultivosMixtos,n.numRed))}}function a7(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.superficieMaximaAdmisible,n.numRed))}}function s7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.superficieMaximaAdmisible,n.numRed))}}function r7(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.calendarioRiego)}}function c7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.volumenesMod.calendarioRiego)}}function l7(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,AF,3,4,"span",13),e.qZA(),e.YNc(9,EF,2,4,"ng-template",null,36,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,OF,3,4,"span",13),e.qZA(),e.YNc(16,MF,2,4,"ng-template",null,37,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,TF,3,4,"span",13),e.qZA(),e.YNc(23,DF,2,4,"ng-template",null,38,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,IF,3,4,"span",13),e.qZA(),e.YNc(30,yF,2,4,"ng-template",null,39,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,SF,3,4,"span",13),e.qZA(),e.YNc(37,wF,2,4,"ng-template",null,40,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,PF,3,4,"span",13),e.qZA(),e.YNc(44,RF,2,4,"ng-template",null,41,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,ZF,3,4,"span",13),e.qZA(),e.YNc(51,NF,2,4,"ng-template",null,42,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,LF,3,4,"span",13),e.qZA(),e.YNc(58,VF,2,4,"ng-template",null,43,e.W1O),e.TgZ(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,UF,3,4,"span",13),e.qZA(),e.YNc(65,qF,2,4,"ng-template",null,44,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,kF,3,4,"span",13),e.qZA(),e.YNc(72,FF,2,4,"ng-template",null,45,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,BF,3,4,"span",13),e.qZA(),e.YNc(79,$F,2,4,"ng-template",null,46,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,YF,3,4,"span",13),e.qZA(),e.YNc(86,jF,2,4,"ng-template",null,47,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,KF,3,4,"span",13),e.qZA(),e.YNc(93,QF,2,4,"ng-template",null,48,e.W1O),e.TgZ(95,"mat-list-item",11)(96,"span",12),e._uU(97),e.ALo(98,"translate"),e.qZA(),e.YNc(99,GF,2,1,"span",19),e.qZA(),e.YNc(100,JF,1,1,"ng-template",20,26,e.W1O),e.TgZ(102,"mat-list-item",11)(103,"span",12),e._uU(104),e.ALo(105,"translate"),e.qZA(),e.YNc(106,WF,3,4,"span",19),e.qZA(),e.YNc(107,HF,2,4,"ng-template",20,49,e.W1O),e.TgZ(109,"mat-list-item",11)(110,"span",12),e._uU(111),e.ALo(112,"translate"),e.qZA(),e.YNc(113,zF,3,4,"span",19),e.qZA(),e.YNc(114,XF,2,4,"ng-template",20,50,e.W1O),e.TgZ(116,"mat-list-item",11)(117,"span",12),e._uU(118),e.ALo(119,"translate"),e.qZA(),e.YNc(120,e7,3,4,"span",19),e.qZA(),e.YNc(121,t7,2,4,"ng-template",20,51,e.W1O),e.TgZ(123,"mat-list-item",11)(124,"span",12),e._uU(125),e.ALo(126,"translate"),e.qZA(),e.YNc(127,n7,3,4,"span",19),e.qZA(),e.YNc(128,o7,2,4,"ng-template",20,52,e.W1O),e.TgZ(130,"mat-list-item",11)(131,"span",12),e._uU(132),e.ALo(133,"translate"),e.qZA(),e.YNc(134,a7,3,4,"span",19),e.qZA(),e.YNc(135,s7,2,4,"ng-template",20,53,e.W1O),e.TgZ(137,"mat-list-item",11)(138,"span",12),e._uU(139),e.ALo(140,"translate"),e.qZA(),e.YNc(141,r7,2,1,"span",19),e.qZA(),e.YNc(142,c7,1,1,"ng-template",20,54,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.MAs(94),si=e.MAs(101),jn=e.MAs(108),da=e.MAs(115),ii=e.MAs(122),Ci=e.MAs(129),is=e.MAs(136),Li=e.MAs(143),Pn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(120,qo,Pn.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,80,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(122,qo,Pn.useDetail.volumenesMod.modVol
1SolicitadoEnero)),e.xp6(1),e.hij("",e.lcZ(14,82,"useCommon.volumenes.volumenEnero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoEnero)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(124,qo,Pn.useDetail.volumenesMod.modVolSolicitadoFebrero)),e.xp6(1),e.hij("",e.lcZ(21,84,"useCommon.volumenes.volumenFebrero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoFebrero)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(126,qo,Pn.useDetail.volumenesMod.modVolSolicitadoMarzo)),e.xp6(1),e.hij("",e.lcZ(28,86,"useCommon.volumenes.volumenMarzo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoMarzo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(128,qo,Pn.useDetail.volumenesMod.modVolSolicitadoAbril)),e.xp6(1),e.hij("",e.lcZ(35,88,"useCommon.volumenes.volumenAbril"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoAbril)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(130,qo,Pn.useDetail.volumenesMod.modVolSolicitadoMayo)),e.xp6(1),e.hij("",e.lcZ(42,90,"useCommon.volumenes.volumenMayo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoMayo)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(132,qo,Pn.useDetail.volumenesMod.modVolSolicitadoJunio)),e.xp6(1),e.hij("",e.lcZ(49,92,"useCommon.volumenes.volumenJunio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoJunio)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(134,qo,Pn.useDetail.volumenesMod.modVolSolicitadoJulio)),e.xp6(1),e.hij("",e.lcZ(56,94,"useCommon.volumenes.volumenJulio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoJulio)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(136,qo,Pn.useDetail.volumenesMod.modVolSolicitadoAgosto)),e.xp6(1),e.hij("",e.lcZ(63,96,"useCommon.volumenes.volumenAgosto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoAgosto)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(138,qo,Pn.useDetail.volumenesMod.modVolSolicitadoSeptiembre)),e.xp6(1),e.hij("",e.lcZ(70,98,"useCommon.volumenes.volumenSeptiembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoSeptiembre)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(140,qo,Pn.useDetail.volumenesMod.modVolSolicitadoOctubre)),e.xp6(1),e.hij("",e.lcZ(77,100,"useCommon.volumenes.volumenOctubre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoOctubre)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(142,qo,Pn.useDetail.volumenesMod.modVolSolicitadoNoviembre)),e.xp6(1),e.hij("",e.lcZ(84,102,"useCommon.volumenes.volumenNoviembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoNoviembre)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(144,qo,Pn.useDetail.volumenesMod.modVolSolicitadoDiciembre)),e.xp6(1),e.hij("",e.lcZ(91,104,"useCommon.volumenes.volumenDiciembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modVolSolicitadoDiciembre)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(146,qo,Pn.useDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(98,106,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modComentarios)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(148,qo,Pn.useDetail.volumenesMod.modSuperficieAsignadaTotal)),e.xp6(1),e.hij("",e.lcZ(105,108,"useCommon.volumenes.superficieAsignadaTotal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modSuperficieAsignadaTotal)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(150,qo,Pn.useDetail.volumenesMod.modSuperficieARegar)),e.xp6(1),e.hij("",e.lcZ(112,110,"useCommon.volumenes.superficieARegar"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modSuperficieARegar)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(152,qo,Pn.useDetail.volumenesMod.modSuperficieCultivosLenosos)),e.xp6(1),e.hij("",e.lcZ(119,112,"useCommon.volumenes.superficieCultivosLenosos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modSuperficieCultivosLenosos)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(154,qo,Pn.useDetail.volumenesMod.modSuperficieCultivosMixtos)),e.xp6(1),e.hij("",e.lcZ(126,114,"useCommon.volumenes.superficieCultivosMixtos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modSuperficieCultivosMixtos)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(156,qo,Pn.useDetail.volumenesMod.modSuperficieMaximaAdmisible)),e.xp6(1),e.hij("",e.lcZ(133,116,"useCommon.volumenes.superficieMaximaAdmisible"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modSuperficieMaximaAdmisible)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(158,qo,Pn.useDetail.volumenesMod.modCalendarioRiego)),e.xp6(1),e.hij("",e.lcZ(140,118,"useCommon.volumenes.calendarioRiego"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Pn.useDetail.volumenesMod.modCalendarioRiego)("ngIfElse",Li)}}function _7(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,sF,80,83,"ng-container",5),e.YNc(6,xF,53,56,"ng-container",5),e.YNc(7,l7,144,160,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.useDetail.id," - ",n.useName,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(
15),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function p7(t,o){1&t&&e._UZ(0,"app-spinner")}let d7=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.PRIVADO).subscribe(ue=>{this.useDetail=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionTecnico=s.C.operacion.OPERACION_DATOS_TECNICOS===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["csv",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["uel",""],["uda",""],["sistemaExplotacion",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""],["volSolicitadoEnero",""],["volSolicitadoFebrero",""],["volSolicitadoMarzo",""],["volSolicitadoAbril",""],["volSolicitadoMayo",""],["volSolicitadoJunio",""],["volSolicitadoJulio",""],["volSolicitadoAgosto",""],["volSolicitadoSeptiembre",""],["volSolicitadoOctubre",""],["volSolicitadoNoviembre",""],["volSolicitadoDiciembre",""],["superficieAsignadaTotal",""],["superficieARegar",""],["superficieCultivosLenosos",""],["superficieCultivosMixtos",""],["superficieMaximaAdmisible",""],["calendarioRiego",""]],template:function(n,_){if(1&n&&(e.YNc(0,_7,14,8,"div",0),e.YNc(1,p7,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.useDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function u7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function h7(t,o){1&t&&e._UZ(0,"span",16)}function m7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombre)}}function g7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codAlberca)}}function f7(t,o){1&t&&e._UZ(0,"span",16)}function v7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codAlberca)}}function C7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function b7(t,o){1&t&&e._UZ(0,"span",16)}function x7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codeSCV)}}function A7(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function E7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.subUsoIntegra)}}function O7(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.estado)}}function M7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.estado)}}function T7(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function D7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.comentarios)}}function I7(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.cauceOrigen)}}function y7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.cauceOrigen)}}function S7(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.cauceDestino)}}function w7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.cauceDestino)}}const Es=function(t){return{modified:t}};function P7(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,u7,2,1,"span",13),e.YNc(9,h7,1,0,"span",14),e.qZA(),e.YNc(10,m7,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",11)(18,"span",16),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,g7,2,1,"span",13),e.YNc(27,f7,
11,0,"span",14),e.qZA(),e.YNc(28,v7,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",12),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,C7,2,1,"span",13),e.YNc(35,b7,1,0,"span",14),e.qZA(),e.YNc(36,x7,1,1,"ng-template",null,18,e.W1O),e.TgZ(38,"mat-list-item",11)(39,"span",12),e._uU(40),e.ALo(41,"translate"),e.qZA(),e.YNc(42,A7,2,1,"span",19),e.qZA(),e.YNc(43,E7,1,1,"ng-template",20,21,e.W1O),e.TgZ(45,"mat-list-item",11)(46,"span",12),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,O7,2,1,"span",19),e.qZA(),e.YNc(50,M7,1,1,"ng-template",20,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,T7,2,1,"span",19),e.qZA(),e.YNc(57,D7,1,1,"ng-template",20,23,e.W1O),e.TgZ(59,"mat-list-item",11)(60,"span",12),e._uU(61),e.ALo(62,"translate"),e.qZA(),e.YNc(63,I7,2,1,"span",19),e.qZA(),e.YNc(64,y7,1,1,"ng-template",20,24,e.W1O),e.TgZ(66,"mat-list-item",11)(67,"span",12),e._uU(68),e.ALo(69,"translate"),e.qZA(),e.YNc(70,S7,2,1,"span",19),e.qZA(),e.YNc(71,w7,1,1,"ng-template",20,25,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(29),D=e.MAs(37),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.MAs(65),qe=e.MAs(72),tn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(59,Es,tn.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,39,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",tn.useDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,41,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",tn.useDetail.codIntegra," "),e.xp6(3),e.hij("",e.lcZ(20,43,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",tn.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(61,Es,tn.useDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(25,45,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",tn.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(63,Es,tn.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(33,47,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",tn.useDetail.modCodeSCV),e.xp6(4),e.Q6J("ngClass",e.VKq(65,Es,tn.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,49,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(67,Es,tn.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,51,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(69,Es,tn.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(55,53,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modComentarios)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(71,Es,tn.useDetail.modCauceOrigen)),e.xp6(1),e.hij("",e.lcZ(62,55,"useCommon.fichaTecnica.lblCauceOrigen"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modCauceOrigen)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(73,Es,tn.useDetail.modCauceDestino)),e.xp6(1),e.hij("",e.lcZ(69,57,"useCommon.fichaTecnica.lblCauceDestino"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.modCauceDestino)("ngIfElse",qe)}}function R7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function Z7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function N7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function L7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function V7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function U7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);
1e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function q7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function k7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function F7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function B7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function $7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function Y7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function j7(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function K7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function Q7(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,R7,3,3,"span",13),e.qZA(),e.YNc(9,Z7,2,3,"ng-template",null,28,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,N7,3,3,"span",13),e.qZA(),e.YNc(16,L7,2,3,"ng-template",null,29,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,V7,3,3,"span",13),e.qZA(),e.YNc(23,U7,2,3,"ng-template",null,30,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,q7,3,3,"span",13),e.qZA(),e.YNc(30,k7,2,3,"ng-template",null,31,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,F7,3,3,"span",13),e.qZA(),e.YNc(37,B7,2,3,"ng-template",null,32,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,$7,3,3,"span",13),e.qZA(),e.YNc(44,Y7,2,3,"ng-template",null,33,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,j7,2,1,"span",19),e.qZA(),e.YNc(51,K7,1,1,"ng-template",20,34,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,Es,qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,Es,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,Es,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,Es,qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,Es,qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,Es,qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,Es,qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function G7(t,o){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function J7(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function W7(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.comentarios)}}function H7(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.volumenesMod.comentarios)}}function z7(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,G7,3,4,"span",13),e.qZA(),e.YNc(9,J7,2,4,"ng-template",null,35,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,W7,2,1,"span",19),e.qZA(),e.YNc(16,H7,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(12,Es,D.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,8,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.useDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,Es,D.useDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(14,10,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.useDetail.volumenesMod.modComentarios)("ngIfElse",_)}}function X7(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,P7,73,75,"ng-container",5),e.YNc(6,Q7,53,56,"ng-container",5),e.YNc(7,z7,18,16,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.useDetail.id," - ",n.useName,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(
15),e.Oqu(e.lcZ(13,6,"botones.cerrar"))}}function eB(t,o){1&t&&e._UZ(0,"app-spinner")}let tB=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.ACUICULTURA).subscribe(ue=>{this.useDetail=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionTecnico=s.C.operacion.OPERACION_DATOS_TECNICOS===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["csv",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["comentarios",""],["cauceOrigen",""],["cauceDestino",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,X7,14,8,"div",0),e.YNc(1,eB,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.useDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function nB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function iB(t,o){1&t&&e._UZ(0,"span",18)}function oB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombre)}}function aB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombreAlternativo)}}function sB(t,o){1&t&&e._UZ(0,"span",18)}function rB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombreAlternativo)}}function cB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function lB(t,o){1&t&&e._UZ(0,"span",18)}function _B(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codeSCV)}}function pB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codMinisterio)}}function dB(t,o){1&t&&e._UZ(0,"span",18)}function uB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codMinisterio)}}function hB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function mB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.subUsoIntegra)}}function gB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.clasificacionDetallada)}}function fB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.clasificacionDetallada)}}function vB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.cauceOrigen)}}function CB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.cauceOrigen)}}function bB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.cauceDestino)}}function xB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.cauceDestino)}}function AB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.situacionExplotacion)}}function EB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.situacionExplotacion)}}function OB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.estado)}}function MB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.estado)}}function TB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function DB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.comentarios)}}const Ro=function(t){return{modified:t}};function IB(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,nB,2,1,"span",13),e.YNc(9,iB,1,0,"span",14),e.qZA(),e.YNc(10,oB,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,aB,2,1,"span",13),e.YNc(17,sB,1,0,"span",14),e.qZA(),e.YNc(18,rB,1,1,"ng-template",null,16,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,cB,2,1,"span",13),e.YNc(25,lB,1,0,"span",14),e.qZA(),e.YNc(26,_B,1,1,"ng-template",null,17,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",18),e._uU(30),e.ALo(31,"translate"),e.qZA(),e._uU(32),e.qZA(),e.TgZ(33,"mat-list-item",11)(34,"span",12),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.YNc(37,pB,2,1,"span",13),e.YNc(38,dB,1,0,"span",14),e.qZA(),e.YNc(39,uB,1,1,"ng-template",null,19,e.W1O),e.TgZ(41,"mat-list-item",11)(42,"span",18),e._uU(43),e.ALo(44,"translate"),e.qZA(),e._uU(45),e.qZA(),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,hB,2,1,"span",20),e.qZA(),e.YNc(51,mB,1,1,"ng-template",21,22,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,gB,2,1,"span",20),e.qZA(),e.YNc(58,fB,1,1,"ng-template",21,23,e.W1O),e.TgZ(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,vB,2,1,"span",20),e.qZA(),e.YNc(65,CB,1,1,"ng-template",21,24,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,bB,2,1,"span",20),e.qZA(),e.YNc(72,xB,1,1,"ng-template",21,25,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,AB,2,1,"span",20),e.qZA(),e.YNc(79,EB,1,1,"ng-template",21,26,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,OB,2,1,"span",20),e.qZA(),e.YNc(86,MB,1,1,"ng-template",21,27,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,TB,2,1,"span",20),e.qZA(),e.YNc(93,DB,1,1,"ng-template",21,28,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(40),Qe=e.MAs(52),je=e.MAs(59),Zt=e.MAs(66),qe=e.MAs(73),tn=e.MAs(80),mn=e.MAs(87),mi=e.MAs(94),Rn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(78,Ro,Rn.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,52,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Rn.useDetail.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(80,Ro,Rn.useDetail.modNombreAlternativo)),e.xp6(1),e.hij("",e.lcZ(15,54,"hydroelectricPlants.fichaTecnica.lblNombreAlternativo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modNombreAlternativo)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Rn.useDetail.nombreAlternativo),e.xp6(4),e.Q6J("ngClass",e.VKq(82,Ro,Rn.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(23,56,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Rn.useDetail.modCodeSCV),e.xp6(
15),e.hij("",e.lcZ(31,58,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij(" ",Rn.useDetail.codIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(84,Ro,Rn.useDetail.modCodMinisterio)),e.xp6(1),e.hij("",e.lcZ(36,60,"useCommon.fichaTecnica.lblCodMinisterio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modCodMinisterio)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",Rn.useDetail.codMinisterio),e.xp6(5),e.hij("",e.lcZ(44,62,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",Rn.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(86,Ro,Rn.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(49,64,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modSubUsoIntegra)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(88,Ro,Rn.useDetail.modClasificacionDetallada)),e.xp6(1),e.hij("",e.lcZ(56,66,"useCommon.fichaTecnica.lblClasificacionDetallada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modClasificacionDetallada)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(90,Ro,Rn.useDetail.modCauceOrigen)),e.xp6(1),e.hij("",e.lcZ(63,68,"useCommon.fichaTecnica.lblCauceOrigen"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modCauceOrigen)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(92,Ro,Rn.useDetail.modCauceDestino)),e.xp6(1),e.hij("",e.lcZ(70,70,"useCommon.fichaTecnica.lblCauceDestino"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modCauceDestino)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(94,Ro,Rn.useDetail.modSituacionExplotacion)),e.xp6(1),e.hij("",e.lcZ(77,72,"useCommon.fichaTecnica.lblSituacionExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modSituacionExplotacion)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(96,Ro,Rn.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(84,74,"useCommon.fichaTecnica.lblSituacionConcesional"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modEstado)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(98,Ro,Rn.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(91,76,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modComentarios)("ngIfElse",mi)}}function yB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function SB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function wB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado),"")}}function PB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function RB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function ZB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function NB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion),"")}}function LB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function VB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function UB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function qB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function kB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function FB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);
1e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.potenciaConcedida))}}function BB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.potenciaConcedida))}}function $B(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function YB(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function jB(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,yB,3,3,"span",13),e.qZA(),e.YNc(9,SB,2,3,"ng-template",null,31,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,wB,3,3,"span",13),e.qZA(),e.YNc(16,PB,2,3,"ng-template",null,32,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,RB,3,3,"span",13),e.qZA(),e.YNc(23,ZB,2,3,"ng-template",null,33,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,NB,3,3,"span",13),e.qZA(),e.YNc(30,LB,2,3,"ng-template",null,34,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,VB,3,3,"span",13),e.qZA(),e.YNc(37,UB,2,3,"ng-template",null,35,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,qB,3,3,"span",13),e.qZA(),e.YNc(44,kB,2,3,"ng-template",null,36,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,FB,3,3,"span",13),e.qZA(),e.YNc(51,BB,2,3,"ng-template",null,37,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,$B,2,1,"span",20),e.qZA(),e.YNc(58,YB,1,1,"ng-template",21,38,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(48,Ro,tn.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,32,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(50,Ro,tn.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,34,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(52,Ro,tn.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,36,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(54,Ro,tn.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,38,"useCommon.fichaTecnica.lblVolumenMaxAnual"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(56,Ro,tn.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,40,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(58,Ro,tn.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,42,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(60,Ro,tn.useDetail.infoConcesionalMod.modPotenciaConcedida)),e.xp6(1),e.hij("",e.lcZ(49,44,"useCommon.fichaTecnica.lblPotenciaConcedida"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.infoConcesionalMod.modPotenciaConcedida)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(62,Ro,tn.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(56,46,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",qe)}}function KB(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);
1e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.dotacion))}}function QB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.dotacion))}}function GB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.caudalMaximoSolicitado))}}function JB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.caudalMaximoSolicitado))}}function WB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.caudalMaximoBombeo))}}function HB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.caudalMaximoBombeo))}}function zB(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.caudalMinimoTurbinable))}}function XB(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.caudalMinimoTurbinable))}}function e8(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.volumenesMod.caudalMedioTurbinado))}}function t8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.volumenesMod.caudalMedioTurbinado))}}function n8(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,KB,3,3,"span",13),e.qZA(),e.YNc(9,QB,2,3,"ng-template",null,39,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,GB,3,3,"span",20),e.qZA(),e.YNc(16,JB,2,3,"ng-template",21,40,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,WB,3,3,"span",20),e.qZA(),e.YNc(23,HB,2,3,"ng-template",21,41,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,zB,3,3,"span",20),e.qZA(),e.YNc(30,XB,2,3,"ng-template",21,42,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,e8,3,3,"span",20),e.qZA(),e.YNc(37,t8,2,3,"ng-template",21,43,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(30,Ro,je.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,20,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.useDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(32,Ro,je.useDetail.volumenesMod.modCaudalMaximoSolicitado)),e.xp6(1),e.hij("",e.lcZ(14,22,"useCommon.volumenes.caudalMaximoSolicitado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.useDetail.volumenesMod.modCaudalMaximoSolicitado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(34,Ro,je.useDetail.volumenesMod.modCaudalMaximoBombeo)),e.xp6(1),e.hij("",e.lcZ(21,24,"useCommon.volumenes.caudalMaximoBombeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.useDetail.volumenesMod.modCaudalMaximoBombeo)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(36,Ro,je.useDetail.volumenesMod.modCaudalMinimoTurbinable)),e.xp6(1),e.hij("",e.lcZ(28,26,"useCommon.volumenes.caudalMinimoTurbinable"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.useDetail.volumenesMod.modCaudalMinimoTurbinable)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Ro,je.useDetail.volumenesMod.modCaudalMedioTurbinado)),e.xp6(1),e.hij("",e.lcZ(35,28,"useCommon.volumenes.caudalMedioTurbinado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.useDetail.volumenesMod.modCaudalMedioTurbinado)("ngIfElse",Qe)}}function o8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.saltoBruto))}}function a8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.saltoBruto))}}function s8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);
1e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.cotaBaseCentral))}}function r8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.cotaBaseCentral))}}function c8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.potenciaConcedida))}}function l8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.potenciaConcedida))}}function _8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.potenciaInstalada))}}function p8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.potenciaInstalada))}}function d8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.cotaMinimaTurbinado))}}function u8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.cotaMinimaTurbinado))}}function h8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.rendimientoGlobalGeneral))}}function m8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.rendimientoGlobalGeneral))}}function g8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.modoOperacion))}}function f8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.datosTecCentralesHidroelectricasDto.modoOperacion)}}function v8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.horasAnualesFuncionamiento))}}function C8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.datosTecCentralesHidroelectricasDto.horasAnualesFuncionamiento)}}function b8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.regimenEconomico))}}function x8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.datosTecCentralesHidroelectricasDto.regimenEconomico)}}function A8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.produccionDeclarada))}}function E8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.produccionDeclarada))}}function O8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.distanciaCentralVertido))}}function M8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.distanciaCentralVertido))}}function T8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.datosTecCentralesHidroelectricasDto.producccionModelada))}}function D8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.datosTecCentralesHidroelectricasDto.producccionModelada))}}function I8(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Oqu(n.nombre)}}function y8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().$implicit;e.Oqu(n.nombre)}}function S8(t,o){if(1&t&&(e.TgZ(0,"div",58),e.YNc(1,I8,2,1,"span",13),e.YNc(2,y8,1,1,"ng-template",null,59,e.W1O),e.qZA()),2&t){const n=e.MAs(3),_=e.oxw(3);e.xp6(1),e.Q6J("ngIf",_.useDetail.datosTecCentralesHidroelectricasDto.modPropietario)("ngIfElse",n)}}function w8(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,o8,3,3,"span",13),e.qZA(),e.YNc(9,a8,2,3,"ng-template",null,44,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,s8,3,3,"span",13),e.qZA(),e.YNc(16,r8,2,3,"ng-template",null,45,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,c8,3,3,"span",13),e.qZA(),e.YNc(23,l8,2,3,"ng-template",null,46,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,_8,3,3,"span",13),e.qZA(),e.YNc(30,p8,2,3,"ng-template",null,47,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,d8,3,3,"span",13),e.qZA(),e.YNc(37,u8,2,3,"ng-template",null,48,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,h8,3,3,"span",13),e.qZA(),e.YNc(44,m8,2,3,"ng-template",null,49,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,g8,3,3,"span",13),e.qZA(),e.YNc(51,f8,1,1,"ng-template",null,50,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,v8,3,3,"span",13),e.qZA(),e.YNc(58,C8,1,1,"ng-template",null,51,e.W1O),e.TgZ(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,b8,3,3,"span",13),e.qZA(),e.YNc(65,x8,1,1,"ng-template",null,52,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,A8,3,3,"span",13),e.qZA(),e.YNc(72,E8,2,3,"ng-template",null,53,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,O8,3,3,"span",13),e.qZA(),e.YNc(79,M8,2,3,"ng-template",null,54,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,T8,3,3,"span",13),e.qZA(),e.YNc(86,D8,2,3,"ng-template",null,55,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.TgZ(92,"mat-list",56)(93,"mat-list-item"),e.YNc(94,S8,4,2,"div",57),e.qZA()()()()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(77,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modSaltoBruto)),e.xp6(1),e.hij("",e.lcZ(7,51,"useCommon.fichaTecnica.saltoBruto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modSaltoBruto)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(79,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modCotaBaseCentral)),e.xp6(1),e.hij("",e.lcZ(14,53,"useCommon.fichaTecnica.cotaBaseCentral"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modCotaBaseCentral)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(81,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modPotenciaConcedida)),e.xp6(1),e.hij("",e.lcZ(21,55,"useCommon.fichaTecnica.potenciaConcedida"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modPotenciaConcedida)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(83,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modPotenciaInstalada
1)),e.xp6(1),e.hij("",e.lcZ(28,57,"useCommon.fichaTecnica.potenciaInstalada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modPotenciaInstalada)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(85,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modCotaMinimaTurbinado)),e.xp6(1),e.hij("",e.lcZ(35,59,"useCommon.fichaTecnica.cotaMinimaTurbinado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modCotaMinimaTurbinado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(87,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modRendimientoGlobalGeneral)),e.xp6(1),e.hij("",e.lcZ(42,61,"useCommon.fichaTecnica.rendimientoGlobal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modRendimientoGlobalGeneral)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(89,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modModoOperacion)),e.xp6(1),e.hij("",e.lcZ(49,63,"useCommon.fichaTecnica.modoOperacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modModoOperacion)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(91,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modHorasAnualesFuncionamiento)),e.xp6(1),e.hij("",e.lcZ(56,65,"useCommon.fichaTecnica.horasAnuales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modHorasAnualesFuncionamiento)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(93,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modRegimenEconomico)),e.xp6(1),e.hij("",e.lcZ(63,67,"useCommon.fichaTecnica.regimenEconomico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modRegimenEconomico)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(95,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modProduccionDeclarada)),e.xp6(1),e.hij("",e.lcZ(70,69,"useCommon.fichaTecnica.produccionDeclarada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modProduccionDeclarada)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(97,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modDistanciaCentralVertido)),e.xp6(1),e.hij("",e.lcZ(77,71,"useCommon.fichaTecnica.distancia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modDistanciaCentralVertido)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(99,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modProducccionModelada)),e.xp6(1),e.hij("",e.lcZ(84,73,"useCommon.fichaTecnica.produccionModelada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.useDetail.datosTecCentralesHidroelectricasDto.modProducccionModelada)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(101,Ro,dn.useDetail.datosTecCentralesHidroelectricasDto.modPropietario)),e.xp6(1),e.hij("",e.lcZ(91,75,"useCommon.fichaTecnica.propietario"),":\xa0"),e.xp6(4),e.Q6J("ngForOf",dn.useDetail.datosTecCentralesHidroelectricasDto.propietario)}}function P8(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,IB,95,100,"ng-container",5),e.YNc(6,jB,60,64,"ng-container",5),e.YNc(7,n8,39,40,"ng-container",5),e.YNc(8,w8,95,103,"ng-container",5),e.TgZ(9,"div",6)(10,"div",7)(11,"div",8)(12,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.useDetail.id," - ",n.useDetail.nombre,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(1),e.Q6J("ngIf",n.operacionTecnico),e.xp6(
15),e.Oqu(e.lcZ(14,7,"botones.cerrar"))}}function R8(t,o){1&t&&e._UZ(0,"app-spinner")}let Z8=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.CENTRALES_HIDROELECTRICAS).subscribe(ue=>{this.useDetail=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionTecnico=s.C.operacion.OPERACION_DATOS_TECNICOS===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["nombreAlternativo",""],["csv",""],["appBold",""],["codMinisterio",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["clasificacion",""],["cauceOrigen",""],["cauceDestino",""],["situacionExplotacion",""],["estado",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["potenciaConcedida",""],["comentariosInfoConcesion",""],["dotacion",""],["caudalMaximoSolicitado",""],["caudalMaximoBombeo",""],["caudalMinimoTurbinable",""],["caudalMedioTurbinado",""],["saltoBruto",""],["cotaBaseCentral",""],["potenciaC",""],["potenciaI",""],["cotaMinimaTurbinado",""],["rendimientoGlobalGeneral",""],["modoOperacion",""],["horasAnualesFuncionamiento",""],["regimenEconomico",""],["produccionDeclarada",""],["distanciaCentralVertido",""],["producccionModelada",""],["dense","",1,"ms-1"],["matLine","",4,"ngFor","ngForOf"],["matLine",""],["propietarioTemplate",""]],template:function(n,_){if(1&n&&(e.YNc(0,P8,15,9,"div",0),e.YNc(1,R8,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.useDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,d.sg,Gs.X2,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function N8(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function L8(t,o){1&t&&e._UZ(0,"span",16)}function V8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombre)}}function U8(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codAlberca)}}function q8(t,o){1&t&&e._UZ(0,"span",16)}function k8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codAlberca)}}
1function F8(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function B8(t,o){1&t&&e._UZ(0,"span",16)}function $8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codeSCV)}}function Y8(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function j8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.subUsoIntegra)}}function K8(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.estado)}}function Q8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.estado)}}function G8(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function J8(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.comentarios)}}const _a=function(t){return{modified:t}};function W8(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,N8,2,1,"span",13),e.YNc(9,L8,1,0,"span",14),e.qZA(),e.YNc(10,V8,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",11)(18,"span",16),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,U8,2,1,"span",13),e.YNc(27,q8,1,0,"span",14),e.qZA(),e.YNc(28,k8,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",12),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,F8,2,1,"span",13),e.YNc(35,B8,1,0,"span",14),e.qZA(),e.YNc(36,$8,1,1,"ng-template",null,18,e.W1O),e.TgZ(38,"mat-list-item",11)(39,"span",12),e._uU(40),e.ALo(41,"translate"),e.qZA(),e.YNc(42,Y8,2,1,"span",19),e.qZA(),e.YNc(43,j8,1,1,"ng-template",20,21,e.W1O),e.TgZ(45,"mat-list-item",11)(46,"span",12),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,K8,2,1,"span",19),e.qZA(),e.YNc(50,Q8,1,1,"ng-template",20,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,G8,2,1,"span",19),e.qZA(),e.YNc(57,J8,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(29),D=e.MAs(37),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(47,_a,Zt.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,31,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,33,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",Zt.useDetail.codIntegra," "),e.xp6(3),e.hij("",e.lcZ(20,35,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",Zt.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(49,_a,Zt.useDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(25,37,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(51,_a,Zt.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(33,39,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Zt.useDetail.codeSCV),e.xp6(4),e.Q6J("ngClass",e.VKq(53,_a,Zt.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,41,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(55,_a,Zt.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,43,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(57,_a,Zt.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(55,45,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.useDetail.modComentarios)("ngIfElse",je)}}function H8(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);
1e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function z8(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function X8(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function e$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function t$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function n$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function i$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function o$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.hij("",e.lcZ(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion)," ")}}function a$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function s$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function r$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function c$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function l$(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function _$(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function p$(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,H8,3,3,"span",13),e.qZA(),e.YNc(9,z8,2,3,"ng-template",null,26,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,X8,3,3,"span",13),e.qZA(),e.YNc(16,e$,2,3,"ng-template",null,27,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,t$,3,3,"span",13),e.qZA(),e.YNc(23,n$,2,3,"ng-template",null,28,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,i$,3,3,"span",13),e.qZA(),e.YNc(30,o$,2,3,"ng-template",null,29,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,a$,3,3,"span",13),e.qZA(),e.YNc(37,s$,2,3,"ng-template",null,30,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,r$,3,3,"span",13),e.qZA(),e.YNc(44,c$,2,3,"ng-template",null,31,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,l$,2,1,"span",19),e.qZA(),e.YNc(51,_$,1,1,"ng-template",20,32,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,_a,qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,_a,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,_a,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,_a,qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxAnual"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,_a,qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,_a,qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,_a,qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function d$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function u$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function h$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoEnero,n.numRed))}}function m$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoEnero,n.numRed))}}
1function g$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoFebrero,n.numRed))}}function f$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoFebrero,n.numRed))}}function v$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoMarzo,n.numRed))}}function C$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoMarzo,n.numRed))}}function b$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoAbril,n.numRed))}}function x$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoAbril,n.numRed))}}function A$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoMayo,n.numRed))}}function E$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoMayo,n.numRed))}}function O$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoJunio,n.numRed))}}function M$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoJunio,n.numRed))}}function T$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoJulio,n.numRed))}}function D$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoJulio,n.numRed))}}function I$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoAgosto,n.numRed))}}function y$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoAgosto,n.numRed))}}function S$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoSeptiembre,n.numRed))}}function w$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoSeptiembre,n.numRed))}}function P$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoOctubre,n.numRed))}}function R$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoOctubre,n.numRed))}}function Z$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoNoviembre,n.numRed))}}function N$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoNoviembre,n.numRed))}}function L$(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoDiciembre,n.numRed))}}function V$(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoDiciembre,n.numRed))}}function U$(t,o){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.comentarios)}}function q$(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.volumenesMod.comentarios)}}function k$(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,d$,3,4,"span",13),e.qZA(),e.YNc(9,u$,2,4,"ng-template",null,33,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,h$,3,4,"span",13),e.qZA(),e.YNc(16,m$,2,4,"ng-template",null,34,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,g$,3,4,"span",13),e.qZA(),e.YNc(23,f$,2,4,"ng-template",null,35,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,v$,3,4,"span",13),e.qZA(),e.YNc(30,C$,2,4,"ng-template",null,36,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,b$,3,4,"span",13),e.qZA(),e.YNc(37,x$,2,4,"ng-template",null,37,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,A$,3,4,"span",13),e.qZA(),e.YNc(44,E$,2,4,"ng-template",null,38,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,O$,3,4,"span",13),e.qZA(),e.YNc(51,M$,2,4,"ng-template",null,39,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,T$,3,4,"span",13),e.qZA(),e.YNc(58,D$,2,4,"ng-template",null,40,e.W1O),e.TgZ(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,I$,3,4,"span",13),e.qZA(),e.YNc(65,y$,2,4,"ng-template",null,41,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,S$,3,4,"span",13),e.qZA(),e.YNc(72,w$,2,4,"ng-template",null,42,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,P$,3,4,"span",13),e.qZA(),e.YNc(79,R$,2,4,"ng-template",null,43,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,Z$,3,4,"span",13),e.qZA(),e.YNc(86,N$,2,4,"ng-template",null,44,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,L$,3,4,"span",13),e.qZA(),e.YNc(93,V$,2,4,"ng-template",null,45,e.W1O),e.TgZ(95,"mat-list-item",11)(96,"span",12),e._uU(97),e.ALo(98,"translate"),e.qZA(),e.YNc(99,U$,2,1,"span",19),e.qZA(),e.YNc(100,q$,1,1,"ng-template",20,23,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.MAs(94),si=e.MAs(101),jn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(84,_a,jn.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,56,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(86,_a,jn.useDetail.volumenesMod.modVol
1SolicitadoEnero)),e.xp6(1),e.hij("",e.lcZ(14,58,"useCommon.volumenes.volumenEnero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoEnero)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(88,_a,jn.useDetail.volumenesMod.modVolSolicitadoFebrero)),e.xp6(1),e.hij("",e.lcZ(21,60,"useCommon.volumenes.volumenFebrero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoFebrero)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(90,_a,jn.useDetail.volumenesMod.modVolSolicitadoMarzo)),e.xp6(1),e.hij("",e.lcZ(28,62,"useCommon.volumenes.volumenMarzo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoMarzo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(92,_a,jn.useDetail.volumenesMod.modVolSolicitadoAbril)),e.xp6(1),e.hij("",e.lcZ(35,64,"useCommon.volumenes.volumenAbril"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoAbril)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(94,_a,jn.useDetail.volumenesMod.modVolSolicitadoMayo)),e.xp6(1),e.hij("",e.lcZ(42,66,"useCommon.volumenes.volumenMayo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoMayo)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(96,_a,jn.useDetail.volumenesMod.modVolSolicitadoJunio)),e.xp6(1),e.hij("",e.lcZ(49,68,"useCommon.volumenes.volumenJunio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoJunio)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(98,_a,jn.useDetail.volumenesMod.modVolSolicitadoJulio)),e.xp6(1),e.hij("",e.lcZ(56,70,"useCommon.volumenes.volumenJulio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoJulio)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(100,_a,jn.useDetail.volumenesMod.modVolSolicitadoAgosto)),e.xp6(1),e.hij("",e.lcZ(63,72,"useCommon.volumenes.volumenAgosto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoAgosto)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(102,_a,jn.useDetail.volumenesMod.modVolSolicitadoSeptiembre)),e.xp6(1),e.hij("",e.lcZ(70,74,"useCommon.volumenes.volumenSeptiembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoSeptiembre)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(104,_a,jn.useDetail.volumenesMod.modVolSolicitadoOctubre)),e.xp6(1),e.hij("",e.lcZ(77,76,"useCommon.volumenes.volumenOctubre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoOctubre)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(106,_a,jn.useDetail.volumenesMod.modVolSolicitadoNoviembre)),e.xp6(1),e.hij("",e.lcZ(84,78,"useCommon.volumenes.volumenNoviembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoNoviembre)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(108,_a,jn.useDetail.volumenesMod.modVolSolicitadoDiciembre)),e.xp6(1),e.hij("",e.lcZ(91,80,"useCommon.volumenes.volumenDiciembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoDiciembre)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(110,_a,jn.useDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(98,82,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modComentarios)("ngIfElse",si)}}function F$(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,W8,59,59,"ng-container",5),e.YNc(6,p$,53,56,"ng-container",5),e.YNc(7,k$,102,112,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.useDetail.id," - ",n.useName,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(5),e.Oqu(e.l
1cZ(13,6,"botones.cerrar"))}}function B$(t,o){1&t&&e._UZ(0,"app-spinner")}let $$=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.AGROPECUARIOS_AGRARIOS).subscribe(ue=>{this.useDetail=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionTecnico=s.C.operacion.OPERACION_DATOS_TECNICOS===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["codeSCV",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""],["volSolicitadoEnero",""],["volSolicitadoFebrero",""],["volSolicitadoMarzo",""],["volSolicitadoAbril",""],["volSolicitadoMayo",""],["volSolicitadoJunio",""],["volSolicitadoJulio",""],["volSolicitadoAgosto",""],["volSolicitadoSeptiembre",""],["volSolicitadoOctubre",""],["volSolicitadoNoviembre",""],["volSolicitadoDiciembre",""]],template:function(n,_){if(1&n&&(e.YNc(0,F$,14,8,"div",0),e.YNc(1,B$,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.useDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Y$(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.nombre)}}function j$(t,o){1&t&&e._UZ(0,"span",16)}function K$(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.nombre)}}function Q$(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codAlberca)}}function G$(t,o){1&t&&e._UZ(0,"span",16)}function J$(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codAlberca)}}function W$(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.codeSCV)}}function H$(t,o){1&t&&e._UZ(0,"span",16)}function z$(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.codeSCV)}}function X$(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.subUsoIntegra)}}function e9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.subUsoIntegra)}}function t9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.estado)}}function n9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.estado)}}function i9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.clasificacionDetallada)}}function o9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.clasificacionDetallada)}}function a9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(n.useDetail.numeroHoyos)}}
1function s9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(4);e.Oqu(n.useDetail.numeroHoyos)}}function r9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(n.useDetail.categoriaCampo)}}function c9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(4);e.Oqu(n.useDetail.categoriaCampo)}}function l9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Oqu(n.useDetail.sistemaRiego)}}function _9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(4);e.Oqu(n.useDetail.sistemaRiego)}}const ko=function(t){return{modified:t}};function p9(t,o){if(1&t&&(e.TgZ(0,"div")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,a9,2,1,"span",19),e.qZA(),e.YNc(6,s9,1,1,"ng-template",20,31,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,r9,2,1,"span",19),e.qZA(),e.YNc(13,c9,1,1,"ng-template",20,32,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",12),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,l9,2,1,"span",19),e.qZA(),e.YNc(20,_9,1,1,"ng-template",20,33,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.MAs(21),ue=e.oxw(3);e.xp6(2),e.Q6J("ngClass",e.VKq(18,ko,ue.useDetail.modNumeroHoyos)),e.xp6(1),e.hij("",e.lcZ(4,12,"useCommon.fichaTecnica.lblNumeroHoyos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.useDetail.modNumeroHoyos)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(20,ko,ue.useDetail.modCategoriaCampo)),e.xp6(1),e.hij("",e.lcZ(11,14,"useCommon.fichaTecnica.lblCategoriaCampo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.useDetail.modCategoriaCampo)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(22,ko,ue.useDetail.modSistemaRiego)),e.xp6(1),e.hij("",e.lcZ(18,16,"useCommon.fichaTecnica.lblSistemaRiego"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.useDetail.modSistemaRiego)("ngIfElse",D)}}function d9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.uedi)}}function u9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.uedi)}}function h9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.sistemaExplotacion)}}function m9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.sistemaExplotacion)}}function g9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.variacionUdi,n.numRed))}}function f9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.variacionUdi,n.numRed))}}function v9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.variacionSistExplotacion,n.numRed))}}function C9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.variacionSistExplotacion,n.numRed))}}function b9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.comentarios)}}function x9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.comentarios)}}function A9(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Y$,2,1,"span",13),e.YNc(9,j$,1,0,"span",14),e.qZA(),e.YNc(10,K$,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",11)(18,"span",16),e._uU(19),e.ALo(20,"translate"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"mat-list-item",11)(23,"span",12),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,Q$,2,1,"span",13),e.YNc(27,G$,1,0,"span",14),e.qZA(),e.YNc(28,J$,1,1,"ng-template",null,17,e.W1O),e.TgZ(30,"mat-list-item",11)(31,"span",12),e._uU(32),e.ALo(33,"translate"),e.qZA(),e.YNc(34,W$,2,1,"span",13),e.YNc(35,H$,1,0,"span",14),e.qZA(),e.YNc(36,z$,1,1,"ng-template",null,18,e.W1O),e.TgZ(38,"mat-list-item",11)(39,"span",12),e._uU(40),e.ALo(41,"translate"),e.qZA(),e.YNc(42,X$,2,1,"span",19),e.qZA(),e.YNc(43,e9,1,1,"ng-template",20,21,e.W1O),e.TgZ(45,"mat-list-item",11)(46,"span",12),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,t9,2,1,"span",19),e.qZA(),e.YNc(50,n9,1,1,"ng-template",20,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,i9,2,1,"span",19),e.qZA(),e.YNc(57,o9,1,1,"ng-template",20,23,e.W1O),e.YNc(59,p9,22,24,"div",5),e.TgZ(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,d9,2,1,"span",19),e.qZA(),e.YNc(65,u9,1,1,"ng-template",20,24,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,h9,2,1,"span",19),e.qZA(),e.YNc(72,m9,1,1,"ng-template",20,25,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,g9,3,4,"span",19),e.qZA(),e.YNc(79,f9,2,4,"ng-template",20,26,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,v9,3,4,"span",19),e.qZA(),e.YNc(86,C9,2,4,"ng-template",20,27,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,b9,2,1,"span",19),e.qZA(),e.YNc(93,x9,1,1,"ng-template",20,28,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(29),D=e.MAs(37),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.MAs(66),qe=e.MAs(73),tn=e.MAs(80),mn=e.MAs(87),mi=e.MAs(94),Rn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(78,ko,Rn.useDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,52,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Rn.useDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,54,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",Rn.useDetail.codIntegra," "),e.xp6(3),e.hij("",e.lcZ(20,56,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",Rn.useDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(80,ko,Rn.useDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(25,58,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Rn.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(82,ko,Rn.useDetail.modCodeSCV)),e.xp6(1),e.hij("",e.lcZ(33,60,"useCommon.fichaTecnica.lblSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modCodeSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Rn.useDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(84,ko,Rn.useDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,62,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(86,ko,Rn.useDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,64,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(88,ko,Rn.useDetail.modClasificacionDetallada)),e.xp6(1),e.hij("",e.lcZ(55,66,"useCommon.fichaTecnica.lblClasificacionDetallada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modClasificacionDetallada)("ngIfElse",je),e.xp6(3),e.Q6J("ngIf",Rn.showInfoGolf),e.xp6(2),e.Q6J("ngClass",e.VKq(90,ko,Rn.useDetail.modUedi)),e.xp6(1),e.hij("",e.lcZ(63,68,"industries.fichaTecnica.lblUDI"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modUedi)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(92,ko,Rn.useDetail.modSistemaExplotacion)),e.xp6(1),e.hij("",e.lcZ(70,70,"useCommon.fichaTecnica.lblSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modSistemaExplotacion)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(94,ko,Rn.useDetail.modVariacionUdi)),e.xp6(1),e.hij("",e.lcZ(77,72,"industries.fichaTecnica.lblvariacionUDI"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modVariacionUdi)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(96,ko,Rn.useDetail.modVariacionSistE
1xplotacion)),e.xp6(1),e.hij("",e.lcZ(84,74,"useCommon.fichaTecnica.lblvariacionSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modVariacionSistExplotacion)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(98,ko,Rn.useDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(91,76,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.useDetail.modComentarios)("ngIfElse",mi)}}function E9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function O9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioSolicitado))}}function M9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function T9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualInformado))}}function D9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function I9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function y9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function S9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.volMaximoAnualCaptacion))}}function w9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function P9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function R9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.lcZ(2,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function Z9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.lcZ(1,1,n.useDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function N9(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function L9(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.infoConcesionalMod.comentariosInfoConcesion)}}function V9(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,E9,3,3,"span",13),e.qZA(),e.YNc(9,O9,2,3,"ng-template",null,34,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,M9,3,3,"span",13),e.qZA(),e.YNc(16,T9,2,3,"ng-template",null,35,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,D9,3,3,"span",13),e.qZA(),e.YNc(23,I9,2,3,"ng-template",null,36,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,y9,3,3,"span",13),e.qZA(),e.YNc(30,S9,2,3,"ng-template",null,37,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,w9,3,3,"span",13),e.qZA(),e.YNc(37,P9,2,3,"ng-template",null,38,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,R9,3,3,"span",13),e.qZA(),e.YNc(44,Z9,2,3,"ng-template",null,39,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,N9,2,1,"span",19),e.qZA(),e.YNc(51,L9,1,1,"ng-template",20,40,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,ko,qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,ko,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,ko,qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,ko,qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,ko,qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,ko,qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,ko,qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.useDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}
1function U9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function q9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.dotacion,n.numRed))}}function k9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoEnero,n.numRed))}}function F9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoEnero,n.numRed))}}function B9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoFebrero,n.numRed))}}function $9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoFebrero,n.numRed))}}function Y9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoMarzo,n.numRed))}}function j9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoMarzo,n.numRed))}}function K9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoAbril,n.numRed))}}function Q9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoAbril,n.numRed))}}function G9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoMayo,n.numRed))}}function J9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoMayo,n.numRed))}}function W9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoJunio,n.numRed))}}function H9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoJunio,n.numRed))}}function z9(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoJulio,n.numRed))}}function X9(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoJulio,n.numRed))}}function eY(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoAgosto,n.numRed))}}function tY(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoAgosto,n.numRed))}}function nY(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoSeptiembre,n.numRed))}}function iY(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoSeptiembre,n.numRed))}}function oY(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoOctubre,n.numRed))}}function aY(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoOctubre,n.numRed))}}function sY(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoNoviembre,n.numRed))}}function rY(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoNoviembre,n.numRed))}}function cY(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.useDetail.volumenesMod.volSolicitadoDiciembre,n.numRed))}}function lY(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.useDetail.volumenesMod.volSolicitadoDiciembre,n.numRed))}}function _Y(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.useDetail.volumenesMod.comentarios)}}function pY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.useDetail.volumenesMod.comentarios)}}function dY(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,U9,3,4,"span",13),e.qZA(),e.YNc(9,q9,2,4,"ng-template",null,41,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,k9,3,4,"span",13),e.qZA(),e.YNc(16,F9,2,4,"ng-template",null,42,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,B9,3,4,"span",13),e.qZA(),e.YNc(23,$9,2,4,"ng-template",null,43,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,Y9,3,4,"span",13),e.qZA(),e.YNc(30,j9,2,4,"ng-template",null,44,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,K9,3,4,"span",13),e.qZA(),e.YNc(37,Q9,2,4,"ng-template",null,45,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,G9,3,4,"span",13),e.qZA(),e.YNc(44,J9,2,4,"ng-template",null,46,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,W9,3,4,"span",13),e.qZA(),e.YNc(51,H9,2,4,"ng-template",null,47,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,z9,3,4,"span",13),e.qZA(),e.YNc(58,X9,2,4,"ng-template",null,48,e.W1O),e.TgZ(60,"mat-list-item",11)(61,"span",12),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,eY,3,4,"span",13),e.qZA(),e.YNc(65,tY,2,4,"ng-template",null,49,e.W1O),e.TgZ(67,"mat-list-item",11)(68,"span",12),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,nY,3,4,"span",13),e.qZA(),e.YNc(72,iY,2,4,"ng-template",null,50,e.W1O),e.TgZ(74,"mat-list-item",11)(75,"span",12),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,oY,3,4,"span",13),e.qZA(),e.YNc(79,aY,2,4,"ng-template",null,51,e.W1O),e.TgZ(81,"mat-list-item",11)(82,"span",12),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,sY,3,4,"span",13),e.qZA(),e.YNc(86,rY,2,4,"ng-template",null,52,e.W1O),e.TgZ(88,"mat-list-item",11)(89,"span",12),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,cY,3,4,"span",13),e.qZA(),e.YNc(93,lY,2,4,"ng-template",null,53,e.W1O),e.TgZ(95,"mat-list-item",11)(96,"span",12),e._uU(97),e.ALo(98,"translate"),e.qZA(),e.YNc(99,_Y,2,1,"span",19),e.qZA(),e.YNc(100,pY,1,1,"ng-template",20,28,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.MAs(94),si=e.MAs(101),jn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(84,ko,jn.useDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,56,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(86,ko,jn.useDetail.volumenesMod.modVol
1SolicitadoEnero)),e.xp6(1),e.hij("",e.lcZ(14,58,"useCommon.volumenes.volumenEnero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoEnero)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(88,ko,jn.useDetail.volumenesMod.modVolSolicitadoFebrero)),e.xp6(1),e.hij("",e.lcZ(21,60,"useCommon.volumenes.volumenFebrero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoFebrero)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(90,ko,jn.useDetail.volumenesMod.modVolSolicitadoMarzo)),e.xp6(1),e.hij("",e.lcZ(28,62,"useCommon.volumenes.volumenMarzo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoMarzo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(92,ko,jn.useDetail.volumenesMod.modVolSolicitadoAbril)),e.xp6(1),e.hij("",e.lcZ(35,64,"useCommon.volumenes.volumenAbril"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoAbril)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(94,ko,jn.useDetail.volumenesMod.modVolSolicitadoMayo)),e.xp6(1),e.hij("",e.lcZ(42,66,"useCommon.volumenes.volumenMayo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoMayo)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(96,ko,jn.useDetail.volumenesMod.modVolSolicitadoJunio)),e.xp6(1),e.hij("",e.lcZ(49,68,"useCommon.volumenes.volumenJunio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoJunio)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(98,ko,jn.useDetail.volumenesMod.modVolSolicitadoJulio)),e.xp6(1),e.hij("",e.lcZ(56,70,"useCommon.volumenes.volumenJulio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoJulio)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(100,ko,jn.useDetail.volumenesMod.modVolSolicitadoAgosto)),e.xp6(1),e.hij("",e.lcZ(63,72,"useCommon.volumenes.volumenAgosto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoAgosto)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(102,ko,jn.useDetail.volumenesMod.modVolSolicitadoSeptiembre)),e.xp6(1),e.hij("",e.lcZ(70,74,"useCommon.volumenes.volumenSeptiembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoSeptiembre)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(104,ko,jn.useDetail.volumenesMod.modVolSolicitadoOctubre)),e.xp6(1),e.hij("",e.lcZ(77,76,"useCommon.volumenes.volumenOctubre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoOctubre)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(106,ko,jn.useDetail.volumenesMod.modVolSolicitadoNoviembre)),e.xp6(1),e.hij("",e.lcZ(84,78,"useCommon.volumenes.volumenNoviembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoNoviembre)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(108,ko,jn.useDetail.volumenesMod.modVolSolicitadoDiciembre)),e.xp6(1),e.hij("",e.lcZ(91,80,"useCommon.volumenes.volumenDiciembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modVolSolicitadoDiciembre)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(110,ko,jn.useDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(98,82,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.useDetail.volumenesMod.modComentarios)("ngIfElse",si)}}function uY(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,A9,95,100,"ng-container",5),e.YNc(6,V9,53,56,"ng-container",5),e.YNc(7,dY,102,112,"ng-container",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.AsE("",n.useDetail.id," - ",n.useName,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(5),e.Oqu(e.l
1cZ(13,6,"botones.cerrar"))}}function hY(t,o){1&t&&e._UZ(0,"app-spinner")}let mY=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.showInfoGolf=!1,this.useName=_.itemName,this.operationCode=_.operation,this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.INDUSTRIAS).subscribe(ue=>{this.useDetail=ue,this.useDetail.idClasificacionDetallada==s.C.TiposSubUsosIntegra.CAMPOS_GOLF&&(this.showInfoGolf=!0)})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionTecnico=s.C.operacion.OPERACION_DATOS_TECNICOS===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["codeSCV",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["clasificacionDetallada",""],["uedi",""],["sistemaExplotacion",""],["variacionUdi",""],["variacionSistExplotacion",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["numeroHoyos",""],["categoriaCampo",""],["sistemaRiego",""],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""],["volSolicitadoEnero",""],["volSolicitadoFebrero",""],["volSolicitadoMarzo",""],["volSolicitadoAbril",""],["volSolicitadoMayo",""],["volSolicitadoJunio",""],["volSolicitadoJulio",""],["volSolicitadoAgosto",""],["volSolicitadoSeptiembre",""],["volSolicitadoOctubre",""],["volSolicitadoNoviembre",""],["volSolicitadoDiciembre",""]],template:function(n,_){if(1&n&&(e.YNc(0,uY,14,8,"div",0),e.YNc(1,hY,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.useDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function gY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.estadoFinal)}}function fY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.estadoFinal)}}function vY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.justificacionFinal)}}function CY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.justificacionFinal)}}function bY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.informacionFinal)}}function xY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.informacionFinal)}}function AY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.estadoCuantitativo)}}function EY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.estadoCuantitativo)}}function OY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.justificacionCuantitativa)}}function MY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.justificacionCuantitativa)}}function TY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.informacionCuantitativa)}}function DY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.informacionCuantitativa)}}function IY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.estadoQuimico)}}
1function yY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.estadoQuimico)}}function SY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.justificacionQuimica)}}function wY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.justificacionQuimica)}}function PY(t,o){if(1&t&&(e.TgZ(0,"span",24),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.estadosMod.informacionQuimica)}}function RY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.estadosMod.informacionQuimica)}}const fc=function(t){return{modified:t}};function ZY(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"div",6)(9,"div",7)(10,"h3",8),e._uU(11),e.ALo(12,"translate"),e.qZA()()(),e.TgZ(13,"mat-list-item",9)(14,"span",10),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,gY,2,1,"span",11),e.qZA(),e.YNc(18,fY,1,1,"ng-template",null,12,e.W1O),e.TgZ(20,"mat-list-item",9)(21,"span",10),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,vY,2,1,"span",11),e.qZA(),e.YNc(25,CY,1,1,"ng-template",null,13,e.W1O),e.TgZ(27,"mat-list-item",9)(28,"span",10),e._uU(29),e.ALo(30,"translate"),e.qZA(),e.YNc(31,bY,2,1,"span",11),e.qZA(),e.YNc(32,xY,1,1,"ng-template",null,14,e.W1O),e.TgZ(34,"div",6)(35,"div",7)(36,"h3",8),e._uU(37),e.ALo(38,"translate"),e.qZA()()(),e.TgZ(39,"mat-list-item",9)(40,"span",10),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,AY,2,1,"span",11),e.qZA(),e.YNc(44,EY,1,1,"ng-template",null,15,e.W1O),e.TgZ(46,"mat-list-item",9)(47,"span",10),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,OY,2,1,"span",11),e.qZA(),e.YNc(51,MY,1,1,"ng-template",null,16,e.W1O),e.TgZ(53,"mat-list-item",9)(54,"span",10),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,TY,2,1,"span",11),e.qZA(),e.YNc(58,DY,1,1,"ng-template",null,17,e.W1O),e.TgZ(60,"div",6)(61,"div",7)(62,"h3",8),e._uU(63),e.ALo(64,"translate"),e.qZA()()(),e.TgZ(65,"mat-list-item",9)(66,"span",10),e._uU(67),e.ALo(68,"translate"),e.qZA(),e.YNc(69,IY,2,1,"span",11),e.qZA(),e.YNc(70,yY,1,1,"ng-template",null,18,e.W1O),e.TgZ(72,"mat-list-item",9)(73,"span",10),e._uU(74),e.ALo(75,"translate"),e.qZA(),e.YNc(76,SY,2,1,"span",11),e.qZA(),e.YNc(77,wY,1,1,"ng-template",null,19,e.W1O),e.TgZ(79,"mat-list-item",9)(80,"span",10),e._uU(81),e.ALo(82,"translate"),e.qZA(),e.YNc(83,PY,2,1,"span",11),e.qZA(),e.YNc(84,RY,1,1,"ng-template",null,20,e.W1O),e.qZA()()(),e.TgZ(86,"div",5)(87,"div",21)(88,"div",22)(89,"button",23),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(90),e.ALo(91,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(19),D=e.MAs(26),ue=e.MAs(33),Qe=e.MAs(45),je=e.MAs(52),Zt=e.MAs(59),qe=e.MAs(71),tn=e.MAs(78),mn=e.MAs(85),mi=e.oxw();e.xp6(3),e.AsE("",n.id," - ",mi.gwbName,""),e.xp6(8),e.Oqu(e.lcZ(12,42,"groundwaterbody.fichaTecnica.lblEstadoFinalTitulo")),e.xp6(3),e.Q6J("ngClass",e.VKq(68,fc,n.estadosMod.modCodEstadoFinal)),e.xp6(1),e.hij("",e.lcZ(16,44,"groundwaterbody.fichaTecnica.lblsGuardarCambios.codEstadoFinal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modCodEstadoFinal)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(70,fc,n.estadosMod.modJustificacionFinal)),e.xp6(1),e.hij("",e.lcZ(23,46,"groundwaterbody.fichaTecnica.lblsGuardarCambios.justificacionFinal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modJustificacionFinal)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(72,fc,n.estadosMod.modInformacionFinal)),e.xp6(1),e.hij("",e.lcZ(30,48,"groundwaterbody.fichaTecnica.lblsGuardarCambios.informacionFinal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modInformacionFinal)("ngIfElse",ue),e.xp6(6),e.Oqu(e.lcZ(38,50,"groundwaterbody.fichaTecnica.lblEstadoCuantitativoTitulo")),e.xp6(3),e.Q6J("ngClass",e.VKq(74,fc,n.estadosMod.modCodEstadoCuantitativo)),e.xp6(1),e.hij("",e.lcZ(42,52,"groundwaterbody.fichaTecnica.lblsGuardarCambios.codEstadoCuantitativo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modCodEstadoCuantitativo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(76,fc,n.estadosMod.modJustificacionCuantitativa)),e.xp6(1),e.hij("",e.lcZ(49,54,"groundwaterbody.fichaTecnica.lblsGuardarCambios.justificacionCuantitativa"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modJustificacionCuantitativa)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(78,fc,n.estadosMod.modInformacionCuantitativa)),e.xp6(1),e.hij("",e.lcZ(56,56,"groundwaterbody.fichaTecnica.lblsGuardarCambios.informacionCuantitativa"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modInformacionCuantitativa)("ngIfElse",Zt),e.xp6(6),e.Oqu(e.l
1cZ(64,58,"groundwaterbody.fichaTecnica.lblEstadoQuimicoTitulo")),e.xp6(3),e.Q6J("ngClass",e.VKq(80,fc,n.estadosMod.modCodEstadoQuimico)),e.xp6(1),e.hij("",e.lcZ(68,60,"groundwaterbody.fichaTecnica.lblsGuardarCambios.codEstadoQuimico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modCodEstadoQuimico)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(82,fc,n.estadosMod.modJustificacionQuimica)),e.xp6(1),e.hij("",e.lcZ(75,62,"groundwaterbody.fichaTecnica.lblsGuardarCambios.justificacionQuimica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modJustificacionQuimica)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(84,fc,n.estadosMod.modInformacionQuimica)),e.xp6(1),e.hij("",e.lcZ(82,64,"groundwaterbody.fichaTecnica.lblsGuardarCambios.informacionQuimica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.estadosMod.modInformacionQuimica)("ngIfElse",mn),e.xp6(7),e.Oqu(e.lcZ(91,66,"botones.cerrar"))}}function NY(t,o){1&t&&e._UZ(0,"app-spinner")}let LY=(()=>{class t{constructor(n,_,D){this._dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numRed=s.C.numRed,this.shortDateFormat=s.C.shortDateFormat,this.gwbName=_.itemName,this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}get dialogRef(){return this._dialogRef}set dialogRef(n){this._dialogRef=n}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-state"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"container-subtitle","mb-2"],["appBold",""],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["estadoFinal",""],["justificacionFinal",""],["informacionFinal",""],["estadoCuantitativo",""],["justificacionCuantitativa",""],["informacionCuantitativa",""],["estadoQuimico",""],["justificacionQuimica",""],["informacionQuimica",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,ZY,92,86,"div",0),e.ALo(1,"async"),e.YNc(2,NY,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,T.M,C.Tg,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function VY(t,o){if(1&t&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.piezoMod.comentarios)}}function UY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.piezoMod.comentarios)}}const qY=function(t){return{modified:t}};function kY(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.ynx(5),e.TgZ(6,"div",5)(7,"div",6)(8,"mat-list")(9,"mat-list-item",7)(10,"span",8),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,VY,2,1,"span",9),e.qZA(),e.YNc(14,UY,1,1,"ng-template",null,10,e.W1O),e.qZA()()(),e.BQk(),e.TgZ(16,"div",5)(17,"div",11)(18,"div",12)(19,"button",13),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(20),e.ALo(21,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(15),D=e.oxw();e.xp6(3),e.AsE("",n.id," - ",D.gwbName,""),e.xp6(7),e.Q6J("ngClass",e.VKq(11,qY,n.piezoMod.comentariosMod)),e.xp6(1),e.hij("",e.lcZ(12,7,"groundwaterbody.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.piezoMod.comentariosMod)("ngIfElse",_),e.xp6(7),e.Oqu(e.l
1cZ(21,9,"botones.cerrar"))}}function FY(t,o){1&t&&e._UZ(0,"app-spinner")}let BY=(()=>{class t{constructor(n,_,D){this._dialogRef=n,this.data=_,this.gwbService=D,this.gwbName="",this.numRed=s.C.numRed,this.shortDateFormat=s.C.shortDateFormat,this.gwbName=_.itemName,this.gwbDetail$=this.gwbService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}get dialogRef(){return this._dialogRef}set dialogRef(n){this._dialogRef=n}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(Cr.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-piezometry"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,kY,22,13,"div",0),e.ALo(1,"async"),e.YNc(2,FY,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.gwbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function $Y(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function YY(t,o){1&t&&e._UZ(0,"span",8)}function jY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.idMasa)}}function KY(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.nombre)}}function QY(t,o){1&t&&e._UZ(0,"span",8)}function GY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.nombre)}}function JY(t,o){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}function WY(t,o){1&t&&e._UZ(0,"span",8)}function HY(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw().ngIf;e.Oqu(n.tomaRetornoInfraMod.tipoElemento)}}const $A=function(t){return{modified:t}};function zY(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"mat-list-item",7)(9,"span",8),e._uU(10),e.ALo(11,"translate"),e.qZA(),e._uU(12),e.qZA(),e.TgZ(13,"mat-list-item",7)(14,"span",9),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.YNc(17,$Y,2,1,"span",10),e.YNc(18,YY,1,0,"span",11),e.qZA(),e.YNc(19,jY,1,1,"ng-template",null,12,e.W1O),e.TgZ(21,"mat-list-item",7)(22,"span",9),e._uU(23),e.ALo(24,"translate"),e.qZA(),e.YNc(25,KY,2,1,"span",10),e.YNc(26,QY,1,0,"span",11),e.qZA(),e.YNc(27,GY,1,1,"ng-template",null,13,e.W1O),e.TgZ(29,"mat-list-item",7)(30,"span",9),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,JY,2,1,"span",10),e.YNc(34,WY,1,0,"span",11),e.qZA(),e.YNc(35,HY,1,1,"ng-template",null,14,e.W1O),e.qZA()()(),e.TgZ(37,"div",5)(38,"div",15)(39,"div",16)(40,"button",17),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(41),e.ALo(42,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.MAs(20),D=e.MAs(28),ue=e.MAs(36);e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(7),e.hij("",e.lcZ(11,20,"useCommon.fichaTecnica.lblRelacion"),":\xa0"),e.xp6(2),e.hij("",n.tomaRetornoInfraMod.relacion," "),e.xp6(2),e.Q6J("ngClass",e.VKq(30,$A,n.tomaRetornoInfraMod.modMasa)),e.xp6(1),e.hij("",e.lcZ(16,22,"useCommon.fichaTecnica.lblId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modMasa)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.idMasa),e.xp6(4),e.Q6J("ngClass",e.VKq(32,$A,n.tomaRetornoInfraMod.modNombre)),e.xp6(1),e.hij("",e.lcZ(24,24,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modNombre)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(34,$A,n.tomaRetornoInfraMod.modTipoElemento)),e.xp6(1),e.hij("",e.lcZ(32,26,"useCommon.fichaTecnica.lblTipoElemento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",n.tomaRetornoInfraMod.modTipoElemento)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",n.tomaRetornoInfraMod.tipoElemento),e.xp6(7),e.Oqu(e.l
1cZ(42,28,"botones.cerrar"))}}function XY(t,o){1&t&&e._UZ(0,"app-spinner")}let ej=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.globalUseService=D,this.useName="",this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.useDetail$=this.globalUseService.getComparacionVersion(_.gid,_.gidVersion,_.operation,s.C.tiposUsosComun.CENTRALES_HIDROELECTRICAS)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zr.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-extract-return-infra"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["masa",""],["nombre",""],["tipoElemento",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,zY,43,36,"div",0),e.ALo(1,"async"),e.YNc(2,XY,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.useDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[""]}),t})();var tj=m(9382);function nj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.volumenesMod.volBrutoSolicitado))}}function ij(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.volumenesMod.volBrutoSolicitado))}}function oj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.volumenesMod.poblacionPermanenteReferencia))}}function aj(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.volumenesMod.poblacionPermanenteReferencia))}}function sj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.volumenesMod.incrementoPoblacionPermanentePrevisto))}}function rj(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.volumenesMod.incrementoPoblacionPermanentePrevisto))}}function cj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.volumenesMod.poblacionEstacionalReferencia))}}function lj(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.volumenesMod.poblacionEstacionalReferencia))}}function _j(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.volumenesMod.fechaCertificadoPoblacion,_.dateFormat))}}function pj(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.volumenesMod.fechaCertificadoPoblacion,_.dateFormat))}}function dj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.volumenesMod.actividadIndustrial)}}function uj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.volumenesMod.actividadIndustrial)}}function hj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.volumenesMod.actividadGanadera)}}function mj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.volumenesMod.actividadGanadera)}}function gj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.volumenesMod.comentarios)}}function fj(t,o){1&t&&e._UZ(0,"span",24)}function vj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.volumenesMod.comentarios)}}const ea=function(t){return{modified:t}};function Cj(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,nj,3,3,"span",13),e.qZA(),e.YNc(9,ij,2,3,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,oj,3,3,"span",13),e.qZA(),e.YNc(16,aj,2,3,"ng-template",null,15,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,sj,3,3,"span",13),e.qZA(),e.YNc(23,rj,2,3,"ng-template",null,16,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,cj,3,3,"span",13),e.qZA(),e.YNc(30,lj,2,3,"ng-template",null,17,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,_j,3,4,"span",13),e.qZA(),e.YNc(37,pj,2,4,"ng-template",null,18,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,dj,2,1,"span",13),e.qZA(),e.YNc(44,uj,1,1,"ng-template",null,19,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,hj,2,1,"span",13),e.qZA(),e.YNc(51,mj,1,1,"ng-template",null,20,e.W1O),e.TgZ(53,"mat-list-item",11)(54,"span",12),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,gj,2,1,"span",13),e.YNc(58,fj,1,0,"span",21),e.qZA(),e.YNc(59,vj,1,1,"ng-template",null,22,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(60),tn=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(49,ea,tn.volumenesMod.modVolBrutoSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,33,"useCommon.volumenes.volBrutoSolicitado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.volumenesMod.modVolBrutoSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(51,ea,tn.volumenesMod.modPoblacionPermanenteReferencia)),e.xp6(1),e.hij("",e.lcZ(14,35,"useCommon.volumenes.poblacionPermanenteReferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.volumenesMod.modPoblacionPermanenteReferencia)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(53,ea,tn.volumenesMod.modIncrementoPoblacionPermanentePrevisto)),e.xp6(1),e.hij("",e.lcZ(21,37,"useCommon.volumenes.incrementoPoblacionPermanentePrevisto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.volumenesMod.modIncrementoPoblacionPermanentePrevisto)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(55,ea,tn.volumenesMod.modPoblacionEstacionalReferencia)),e.xp6(1),e.hij("",e.lcZ(28,39,"useCommon.volumenes.poblacionEstacionalReferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.volumenesMod.modPoblacionEstacionalReferencia)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(57,ea,tn.volumenesMod.modFechaCertificadoPoblacion)),e.xp6(1),e.hij("",e.lcZ(35,41,"useCommon.volumenes.fechaCertificadoPoblacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.volumenesMod.modFechaCertificadoPoblacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(59,ea,tn.volumenesMod.modActividadIndustrial)),e.xp6(1),e.hij("",e.lcZ(42,43,"useCommon.volumenes.lblDatosActividadIndustrialI"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.volumenesMod.modActividadIndustrial)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(61,ea,tn.volumenesMod.modActividadGanadera)),e.xp6(1),e.hij("",e.lcZ(49,45,"useCommon.volumenes.lblDatosActividadGanaderaG"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.volumenesMod.modActividadGanadera)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(63,ea,tn.modComentarios)),e.xp6(1),e.hij("",e.lcZ(56,47,"nucleus.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",tn.volumenesMod.modComentarios)("ngIfElse",qe),e.xp6(1),e.Q6J("ngIf",tn.volumenesMod.comentarios)}}function bj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function xj(t,o){1&t&&e._UZ(0,"span",24)}function Aj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Ej(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoAlberca)}}function Oj(t,o){1&t&&e._UZ(0,"span",24)}function Mj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoAlberca)}}function Tj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoSCV)}}function Dj(t,o){1&t&&e._UZ(0,"span",24)}function Ij(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoSCV)}}function yj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.codigoSINAC)}}function Sj(t,o){1&t&&e._UZ(0,"span",24)}function wj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoSINAC)}}function Pj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.actividadIndustrial)}}function Rj(t,o){1&t&&e._UZ(0,"span",24)}function Zj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.actividadIndustrial)}}function Nj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function Lj(t,o){1&t&&e._UZ(0,"span",24)}function Vj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}function Uj(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function qj(t,o){if(1&t&&(e.TgZ(0,"span",23),e.YNc(1,Uj,2,2,"ng-container",30),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",n.listaEstacionalidades)}}function kj(t,o){1&t&&e._UZ(0,"span",24)}function Fj(t,o){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=o.$implicit,_=o.last;e.xp6(1),e.AsE(" ",n.nombre,"",_?"":", "," ")}}function Bj(t,o){if(1&t&&e.YNc(0,Fj,2,2,"ng-container",30),2&t){const n=e.oxw(2).ngIf;e.Q6J("ngForOf",n.listaEstacionalidades)}}function $j(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,bj,2,1,"span",13),e.YNc(9,xj,1,0,"span",21),e.qZA(),e.YNc(10,Aj,1,1,"ng-template",null,25,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,Ej,2,1,"span",13),e.YNc(17,Oj,1,0,"span",21),e.qZA(),e.YNc(18,Mj,1,1,"ng-template",null,26,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,Tj,2,1,"span",13),e.YNc(25,Dj,1,0,"span",21),e.qZA(),e.YNc(26,Ij,1,1,"ng-template",null,27,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",12),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,yj,2,1,"span",13),e.YNc(33,Sj,1,0,"span",21),e.qZA(),e.YNc(34,wj,1,1,"ng-template",null,28,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",12),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,Pj,2,1,"span",13),e.YNc(41,Rj,1,0,"span",21),e.qZA(),e.YNc(42,Zj,1,1,"ng-template",null,19,e.W1O),e.TgZ(44,"mat-list-item",11)(45,"span",12),e._uU(46),e.ALo(47,"translate"),e.qZA(),e.YNc(48,Nj,2,1,"span",13),e.YNc(49,Lj,1,0,"span",21),e.qZA(),e.YNc(50,Vj,1,1,"ng-template",null,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,qj,2,1,"span",13),e.YNc(57,kj,1,0,"span",21),e.qZA(),e.YNc(58,Bj,1,1,"ng-template",null,29,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(35),Qe=e.MAs(43),je=e.MAs(51),Zt=e.MAs(59),qe=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(49,ea,qe.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,35,"nucleus.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",qe.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(51,ea,qe.modCodigoAlberca)),e.xp6(1),e.hij("",e.lcZ(15,37,"nucleus.fichaTecnica.lblsGuardarCambios.codigoAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modCodigoAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",qe.codigoAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(53,ea,qe.modCodigoSCV)),e.xp6(1),e.hij("",e.lcZ(23,39,"nucleus.fichaTecnica.lblsGuardarCambios.codigoSCV"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modCodigoSCV)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",qe.codigoSCV),e.xp6(4),e.Q6J("ngClass",e.VKq(55,ea,qe.modCodigoSINAC)),e.xp6(1),e.hij("",e.lcZ(31,41,"nucleus.fichaTecnica.lblsGuardarCambios.codigoSINAC"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modCodigoSINAC)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",qe.codigoSINAC),e.xp6(4),e.Q6J("ngClass",e.VKq(57,ea,qe.modActividadIndustrial)),e.xp6(1),e.hij("",e.lcZ(39,43,"nucleus.fichaTecnica.lblsGuardarCambios.codActividadIndustrial"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modActividadIndustrial)("ngIfElse",Qe),e.xp6(1),e.Q6J("ngIf",qe.actividadIndustrial),e.xp6(4),e.Q6J("ngClass",e.VKq(59,ea,qe.modComentarios)),e.xp6(1),e.hij("",e.lcZ(47,45,"nucleus.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modComentarios)("ngIfElse",je),e.xp6(1),e.Q6J("ngIf",qe.comentarios),e.xp6(4),e.Q6J("ngClass",e.VKq(61,ea,qe.modEstacionalidad)),e.xp6(1),e.hij("",e.lcZ(55,47,"nucleus.fichaTecnica.lblTipoEstacionalidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.modEstacionalidad)("ngIfElse",Zt),e.xp6(1),e.Q6J("ngIf",qe.comentarios)}}function Yj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.captacionMod.comentarios)}}function jj(t,o){1&t&&e._UZ(0,"span",24)}function Kj(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.captacionMod.comentarios)}}function Qj(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Yj,2,1,"span",13),e.YNc(9,jj,1,0,"span",21),e.qZA(),e.YNc(10,Kj,1,1,"ng-template",null,22,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(7,ea,_.captacionMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(7,5,"nucleus.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.captacionMod.modComentarios)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",_.captacionMod.comentarios)}}function Gj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.concesionesMod.caudalMedioSolicitado))}}function Jj(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.concesionesMod.caudalMedioSolicitado))}}function Wj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.concesionesMod.volumenMaxAnualInformado))}}function Hj(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.concesionesMod.volumenMaxAnualInformado))}}function zj(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.concesionesMod.volumenMaxAnualEstimadoCaptacion))}}function Xj(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.concesionesMod.volumenMaxAnualEstimadoCaptacion))}}function eK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.concesionesMod.volMaximoAnualCaptacion))}}function tK(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.concesionesMod.volMaximoAnualCaptacion))}}function nK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.concesionesMod.caudalMaxInstantaneoCaptacion))}}function iK(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;
1e.Oqu(e.lcZ(1,1,n.concesionesMod.caudalMaxInstantaneoCaptacion))}}function oK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(e.lcZ(2,1,n.concesionesMod.caudalMedioEquivalenteCaptacion))}}function aK(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf;e.Oqu(e.lcZ(1,1,n.concesionesMod.caudalMedioEquivalenteCaptacion))}}function sK(t,o){if(1&t&&(e.TgZ(0,"span",40),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.concesionesMod.comentariosInfoConcesion)}}function rK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.concesionesMod.comentariosInfoConcesion)}}function cK(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,Gj,3,3,"span",13),e.qZA(),e.YNc(9,Jj,2,3,"ng-template",null,31,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,Wj,3,3,"span",13),e.qZA(),e.YNc(16,Hj,2,3,"ng-template",null,32,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,zj,3,3,"span",13),e.qZA(),e.YNc(23,Xj,2,3,"ng-template",null,33,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,eK,3,3,"span",13),e.qZA(),e.YNc(30,tK,2,3,"ng-template",null,34,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,nK,3,3,"span",13),e.qZA(),e.YNc(37,iK,2,3,"ng-template",null,35,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,oK,3,3,"span",13),e.qZA(),e.YNc(44,aK,2,3,"ng-template",null,36,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,sK,2,1,"span",37),e.qZA(),e.YNc(51,rK,1,1,"ng-template",38,39,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(42,ea,qe.concesionesMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.concesionesMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,ea,qe.concesionesMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.concesionesMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,ea,qe.concesionesMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.concesionesMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,ea,qe.concesionesMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxAnualNucleos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.concesionesMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,ea,qe.concesionesMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.concesionesMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,ea,qe.concesionesMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.concesionesMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,ea,qe.concesionesMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.concesionesMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function lK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.volumenesGanaderosMod.descTipoGanado)}}function _K(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.volumenesGanaderosMod.descTipoGanado)}}function pK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.volumenesGanaderosMod.descTipoGanaderia)}}function dK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.volumenesGanaderosMod.descTipoGanaderia)}}function uK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.volumenesGanaderosMod.dotacion,_.numRed)," ",e.lcZ(3,5,"unidades.m3Anyo"),"")}}function hK(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.volumenesGanaderosMod.dotacion,_.numRed)," ",e.lcZ(2,5,"unidades.m3Anyo"),"")}}function mK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.volumenesGanaderosMod.numeroCabezas,_.numRed))}}function gK(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.volumenesGanaderosMod.numeroCabezas,_.numRed))}}function fK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.volumenesGanaderosMod.descJustificacion)}}function vK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.volumenesGanaderosMod.descJustificacion)}}function CK(t,o){if(1&t&&(e.TgZ(0,"span",40),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.volumenesGanaderosMod.comentarios)}}function bK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.volumenesGanaderosMod.comentarios)}}function xK(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,lK,2,1,"span",13),e.qZA(),e.YNc(9,_K,1,1,"ng-template",null,41,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,pK,2,1,"span",13),e.qZA(),e.YNc(16,dK,1,1,"ng-template",null,42,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,uK,4,7,"span",13),e.qZA(),e.YNc(23,hK,3,7,"ng-template",null,43,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,mK,3,4,"span",13),e.qZA(),e.YNc(30,gK,2,4,"ng-template",null,44,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,fK,2,1,"span",13),e.qZA(),e.YNc(37,vK,1,1,"ng-template",null,45,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,CK,2,1,"span",37),e.qZA(),e.YNc(44,bK,1,1,"ng-template",38,22,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(36,ea,Zt.volumenesGanaderosMod.modTipoGanado)),e.xp6(1),e.hij("",e.lcZ(7,24,"useCommon.volumenes.tipoGanado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.volumenesGanaderosMod.modTipoGanado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(38,ea,Zt.volumenesGanaderosMod.modTipoGanaderia)),e.xp6(1),e.hij("",e.lcZ(14,26,"useCommon.volumenes.tipoGanaderia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.volumenesGanaderosMod.modTipoGanaderia)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(40,ea,Zt.volumenesGanaderosMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(21,28,"useCommon.volumenes.volBrutoSolicitado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.volumenesGanaderosMod.modDotacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(42,ea,Zt.volumenesGanaderosMod.modNumeroCabezas)),e.xp6(1),e.hij("",e.lcZ(28,30,"useCommon.volumenes.numeroCabezas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.volumenesGanaderosMod.modNumeroCabezas)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(44,ea,Zt.volumenesGanaderosMod.modJustificacion)),e.xp6(1),e.hij("",e.lcZ(35,32,"useCommon.volumenes.aportaJustificacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.volumenesGanaderosMod.modJustificacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(46,ea,Zt.volumenesGanaderosMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(42,34,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Zt.volumenesGanaderosMod.modComentarios)("ngIfElse",je)}}function AK(t,o){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.consumoMod.descripcionUnidadesDemanda)}}function EK(t,o){1&t&&e._UZ(0,"span",24)}function OK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.consumoMod.descripcionUnidadesDemanda)}}function MK(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,AK,2,1,"span",13),e.YNc(9,EK,1,0,"span",21),e.qZA(),e.YNc(10,OK,1,1,"ng-template",null,46,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(7,ea,_.consumoMod.modUnidadDemanda)),e.xp6(1),e.hij("",e.lcZ(7,5,"nucleus.fichaTecnica.lblsGuardarCambios.idUnidadesDemanda"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.consumoMod.modUnidadDemanda)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",_.consumoMod.descripcionUnidadesDemanda)}}function TK(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,Cj,61,65,"ng-container",5),e.YNc(6,$j,60,63,"ng-container",5),e.YNc(7,Qj,12,9,"ng-container",5),e.YNc(8,cK,53,56,"ng-container",5),e.YNc(9,xK,46,48,"ng-container",5),e.YNc(10,MK,12,9,"ng-container",5),e.TgZ(11,"div",6)(12,"div",7)(13,"div",8)(14,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(15),e.ALo(16,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.nucleusName,""),e.xp6(2),e.Q6J("ngIf",_.operacionVolumenes),e.xp6(1),e.Q6J("ngIf",_.isGeneralOperation||_.isNucleusYearOperation||_.isEstacionalOperation),e.xp6(1),e.Q6J("ngIf",_.isCaptationOperation),e.xp6(1),e.Q6J("ngIf",_.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",_.operacionVolumenesGanaderos),e.xp6(1),e.Q6J("ngIf",_.isConsumOperation),e.xp6(5),e.Oqu(e.l
1cZ(16,9,"botones.cerrar"))}}function DK(t,o){1&t&&e._UZ(0,"app-spinner")}let IK=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.nucleusService=D,this.nucleusName="",this.operacionVolumenes=!1,this.operacionVolumenesGanaderos=!1,this.isGeneralOperation=!1,this.isEstacionalOperation=!1,this.isNucleusYearOperation=!1,this.isCaptationOperation=!1,this.isConsumOperation=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.operacionInfoConcesional=!1,this.dateFormat=s.C.dateFormat,this.nucleusName=_.itemName,this.operationCode=_.operation,this.nucleusDetail$=this.nucleusService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){switch(this.operationCode){case s.C.operacion.OPERACION_USOS_VOLUMENES:this.operacionVolumenes=!0;break;case s.C.operacion.OPERACION_NUCLEO_FARM_VOLUMENES:this.operacionVolumenesGanaderos=!0;break;case s.C.operacion.OPERACION_GENERAL:this.isGeneralOperation=!0;break;case s.C.operacion.OPERACION_ESTACIONALIDAD_NUCLEO:this.isEstacionalOperation=!0;break;case s.C.operacion.OPERACION_NUCLEO_YEAR:this.isNucleusYearOperation=!0;break;case s.C.operacion.OPERACION_INFO_CONCESIONAL:this.operacionInfoConcesional=!0;break;case s.C.operacion.OPERACION_CONSUMOS:this.isConsumOperation=!0}}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(tj.r))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["volBrutoSolicitado",""],["poblacionPermanenteReferencia",""],["incrementoPoblacionPermanentePrevisto",""],["poblacionEstacionalReferencia",""],["fechaCertificadoPoblacion",""],["actividadIndustrial",""],["actividadGanadera",""],["appBold","",4,"ngIf"],["comentarios",""],["appHighlight",""],["appBold",""],["nombre",""],["codigoAlberca",""],["codigoSCV",""],["codigoSINAC",""],["tipoEstacionalidad",""],[4,"ngFor","ngForOf"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["comentariosInfoConcesion",""],["appHighlight","",1,"text-wrap"],["tipoGanado",""],["tipoGanaderia",""],["dotacion",""],["numeroCabezas",""],["justificacion",""],["descripcionUnidadesDemanda",""]],template:function(n,_){if(1&n&&(e.YNc(0,TK,17,11,"div",0),e.ALo(1,"async"),e.YNc(2,DK,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.nucleusDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,d.sg,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ,d.uU],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();
1var yK=m(391);function SK(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.nombre)}}function wK(t,o){1&t&&e._UZ(0,"span",16)}function PK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.nombre)}}function RK(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.codAlberca)}}function ZK(t,o){1&t&&e._UZ(0,"span",16)}function NK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.codAlberca)}}function LK(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.otrosCodigos)}}function VK(t,o){1&t&&e._UZ(0,"span",16)}function UK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.otrosCodigos)}}function qK(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.subUsoIntegra)}}function kK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.subUsoIntegra)}}function FK(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.estado)}}function BK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.estado)}}function $K(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.uedg)}}function YK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.uedg)}}function jK(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.udg)}}function KK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.udg)}}function QK(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.uda)}}function GK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.uda)}}function JK(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.sistemaExplotacion)}}function WK(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.sistemaExplotacion)}}function HK(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.variacionUda,n.numRed))}}function zK(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.variacionUda,n.numRed))}}function XK(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.variacionSistExplotacion,n.numRed))}}function eQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.variacionSistExplotacion,n.numRed))}}function tQ(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.comentarios)}}function nQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.comentarios)}}const va=function(t){return{modified:t}};function iQ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,SK,2,1,"span",13),e.YNc(9,wK,1,0,"span",14),e.qZA(),e.YNc(10,PK,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",16),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",11)(18,"span",12),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.YNc(21,RK,2,1,"span",13),e.YNc(22,ZK,1,0,"span",14),e.qZA(),e.YNc(23,NK,1,1,"ng-template",null,17,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,LK,2,1,"span",13),e.YNc(30,VK,1,0,"span",14),e.qZA(),e.YNc(31,UK,1,1,"ng-template",null,18,e.W1O),e.TgZ(33,"mat-list-item",11)(34,"span",16),e._uU(35),e.ALo(36,"translate"),e.qZA(),e._uU(37),e.qZA(),e.TgZ(38,"mat-list-item",11)(39,"span",12),e._uU(40),e.ALo(41,"translate"),e.qZA(),e.YNc(42,qK,2,1,"span",19),e.qZA(),e.YNc(43,kK,1,1,"ng-template",20,21,e.W1O),e.TgZ(45,"mat-list-item",11)(46,"span",12),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,FK,2,1,"span",19),e.qZA(),e.YNc(50,BK,1,1,"ng-template",20,22,e.W1O),e.TgZ(52,"mat-list-item",11)(53,"span",12),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,$K,2,1,"span",19),e.qZA(),e.YNc(57,YK,1,1,"ng-template",20,23,e.W1O),e.TgZ(59,"mat-list-item",11)(60,"span",12),e._uU(61),e.ALo(62,"translate"),e.qZA(),e.YNc(63,jK,2,1,"span",19),e.qZA(),e.YNc(64,KK,1,1,"ng-template",20,24,e.W1O),e.TgZ(66,"mat-list-item",11)(67,"span",12),e._uU(68),e.ALo(69,"translate"),e.qZA(),e.YNc(70,QK,2,1,"span",19),e.qZA(),e.YNc(71,GK,1,1,"ng-template",20,25,e.W1O),e.TgZ(73,"mat-list-item",11)(74,"span",12),e._uU(75),e.ALo(76,"translate"),e.qZA(),e.YNc(77,JK,2,1,"span",19),e.qZA(),e.YNc(78,WK,1,1,"ng-template",20,26,e.W1O),e.TgZ(80,"mat-list-item",11)(81,"span",12),e._uU(82),e.ALo(83,"translate"),e.qZA(),e.YNc(84,HK,3,4,"span",19),e.qZA(),e.YNc(85,zK,2,4,"ng-template",20,27,e.W1O),e.TgZ(87,"mat-list-item",11)(88,"span",12),e._uU(89),e.ALo(90,"translate"),e.qZA(),e.YNc(91,XK,3,4,"span",19),e.qZA(),e.YNc(92,eQ,2,4,"ng-template",20,28,e.W1O),e.TgZ(94,"mat-list-item",11)(95,"span",12),e._uU(96),e.ALo(97,"translate"),e.qZA(),e.YNc(98,tQ,2,1,"span",19),e.qZA(),e.YNc(99,nQ,1,1,"ng-template",20,29,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(24),D=e.MAs(32),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.MAs(65),qe=e.MAs(72),tn=e.MAs(79),mn=e.MAs(86),mi=e.MAs(93),Rn=e.MAs(100),dn=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(83,va,dn.cattleFarmsDetail.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,55,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",dn.cattleFarmsDetail.nombre),e.xp6(5),e.hij("",e.lcZ(15,57,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",dn.cattleFarmsDetail.codIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(85,va,dn.cattleFarmsDetail.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(20,59,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",dn.cattleFarmsDetail.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(87,va,dn.cattleFarmsDetail.modOtrosCodigos)),e.xp6(1),e.hij("",e.lcZ(28,61,"useCommon.fichaTecnica.lblOtrosCodigos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modOtrosCodigos)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",dn.cattleFarmsDetail.otrosCodigos),e.xp6(
15),e.hij("",e.lcZ(36,63,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",dn.cattleFarmsDetail.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(89,va,dn.cattleFarmsDetail.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,65,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(91,va,dn.cattleFarmsDetail.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,67,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(93,va,dn.cattleFarmsDetail.modUedg)),e.xp6(1),e.hij("",e.lcZ(55,69,"cattleFarms.fichaTecnica.lblsGuardarCambios.idUedg"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modUedg)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(95,va,dn.cattleFarmsDetail.modUdg)),e.xp6(1),e.hij("",e.lcZ(62,71,"cattleFarms.fichaTecnica.lblUDG"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modUdg)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(97,va,dn.cattleFarmsDetail.modUDA)),e.xp6(1),e.hij("",e.lcZ(69,73,"useCommon.fichaTecnica.lblUDA"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modUDA)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(99,va,dn.cattleFarmsDetail.modSistemaExplotacion)),e.xp6(1),e.hij("",e.lcZ(76,75,"useCommon.fichaTecnica.lblSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modSistemaExplotacion)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(101,va,dn.cattleFarmsDetail.modVariacionUda)),e.xp6(1),e.hij("",e.lcZ(83,77,"useCommon.fichaTecnica.lblvariacionUDA"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modVariacionUda)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(103,va,dn.cattleFarmsDetail.modVariacionSistExplotacion)),e.xp6(1),e.hij("",e.lcZ(90,79,"useCommon.fichaTecnica.lblvariacionSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modVariacionSistExplotacion)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(105,va,dn.cattleFarmsDetail.modComentarios)),e.xp6(1),e.hij("",e.lcZ(97,81,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",dn.cattleFarmsDetail.modComentarios)("ngIfElse",Rn)}}function oQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.infoConcesionalMod.volumenMaxAnualInformado,n.numRed))}}function aQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.infoConcesionalMod.volumenMaxAnualInformado,n.numRed))}}function sQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.infoConcesionalMod.caudalMedioSolicitado,n.numRed))}}function rQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.infoConcesionalMod.caudalMedioSolicitado,n.numRed))}}function cQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion,n.numRed))}}function lQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion,n.numRed))}}function _Q(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.infoConcesionalMod.volMaximoAnualCaptacion,n.numRed))}}function pQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.infoConcesionalMod.volMaximoAnualCaptacion,n.numRed))}}function dQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion,n.numRed))}}function uQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.infoConcesionalMod.caudalMaxInstantaneoCaptacion,n.numRed))}}function hQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion,n.numRed))}}function mQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.infoConcesionalMod.caudalMedioEquivalenteCaptacion,n.numRed))}}function gQ(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.infoConcesionalMod.comentariosInfoConcesion)}}function fQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.infoConcesionalMod.comentariosInfoConcesion)}}function vQ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,oQ,3,4,"span",13),e.qZA(),e.YNc(9,aQ,2,4,"ng-template",null,32,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,sQ,3,4,"span",13),e.qZA(),e.YNc(16,rQ,2,4,"ng-template",null,33,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,cQ,3,4,"span",13),e.qZA(),e.YNc(23,lQ,2,4,"ng-template",null,34,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,_Q,3,4,"span",13),e.qZA(),e.YNc(30,pQ,2,4,"ng-template",null,35,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,dQ,3,4,"span",13),e.qZA(),e.YNc(37,uQ,2,4,"ng-template",null,36,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,hQ,3,4,"span",13),e.qZA(),e.YNc(44,mQ,2,4,"ng-template",null,37,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,gQ,2,1,"span",19),e.qZA(),e.YNc(51,fQ,1,1,"ng-template",20,38,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,va,qe.cattleFarmsDetail.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,va,qe.cattleFarmsDetail.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,va,qe.cattleFarmsDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,va,qe.cattleFarmsDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxCaptacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,va,qe.cattleFarmsDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,va,qe.cattleFarmsDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,va,qe.cattleFarmsDetail.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function CQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.AsE("",e.xi3(2,2,n.cattleFarmsDetail.volumenesMod.dotacion,n.numRed)," ",e.lcZ(3,5,"unidades.m3Anyo"),"")}}function bQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(3);e.AsE("",e.xi3(1,2,n.cattleFarmsDetail.volumenesMod.dotacion,n.numRed)," ",e.lcZ(2,5,"unidades.m3Anyo"),"")}}function xQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.volumenesMod.descTipoGanado)}}function AQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.volumenesMod.descTipoGanado)}}function EQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.volumenesMod.descTipoGanaderia)}}function OQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.volumenesMod.descTipoGanaderia)}}function MQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.volumenesMod.numeroCabezas,n.numRed))}}function TQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.volumenesMod.numeroCabezas,n.numRed))}}function DQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(e.xi3(2,1,n.cattleFarmsDetail.volumenesMod.coeficie
1nteUGM,n.numRed))}}function IQ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(3);e.Oqu(e.xi3(1,1,n.cattleFarmsDetail.volumenesMod.coeficienteUGM,n.numRed))}}function yQ(t,o){if(1&t&&(e.TgZ(0,"span",30),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.volumenesMod.descJustificacion)}}function SQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.volumenesMod.descJustificacion)}}function wQ(t,o){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Oqu(n.cattleFarmsDetail.volumenesMod.comentarios)}}function PQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(3);e.Oqu(n.cattleFarmsDetail.volumenesMod.comentarios)}}function RQ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,CQ,4,7,"span",13),e.qZA(),e.YNc(9,bQ,3,7,"ng-template",null,39,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,xQ,2,1,"span",13),e.qZA(),e.YNc(16,AQ,1,1,"ng-template",null,40,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,EQ,2,1,"span",13),e.qZA(),e.YNc(23,OQ,1,1,"ng-template",null,41,e.W1O),e.TgZ(25,"mat-list-item",11)(26,"span",12),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,MQ,3,4,"span",13),e.qZA(),e.YNc(30,TQ,2,4,"ng-template",null,42,e.W1O),e.TgZ(32,"mat-list-item",11)(33,"span",12),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,DQ,3,4,"span",13),e.qZA(),e.YNc(37,IQ,2,4,"ng-template",null,43,e.W1O),e.TgZ(39,"mat-list-item",11)(40,"span",12),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,yQ,2,1,"span",13),e.qZA(),e.YNc(44,SQ,1,1,"ng-template",null,44,e.W1O),e.TgZ(46,"mat-list-item",11)(47,"span",12),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,wQ,2,1,"span",19),e.qZA(),e.YNc(51,PQ,1,1,"ng-template",20,29,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw(2);e.xp6(5),e.Q6J("ngClass",e.VKq(42,va,qe.cattleFarmsDetail.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.volumenes.volBrutoSolicitado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,va,qe.cattleFarmsDetail.volumenesMod.modTipoGanado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.volumenes.tipoGanado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.volumenesMod.modTipoGanado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,va,qe.cattleFarmsDetail.volumenesMod.modTipoGanaderia)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.volumenes.tipoGanaderia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.volumenesMod.modTipoGanaderia)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,va,qe.cattleFarmsDetail.volumenesMod.modNumeroCabezas)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.volumenes.numeroCabezas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.volumenesMod.modNumeroCabezas)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,va,qe.cattleFarmsDetail.volumenesMod.modCoeficienteUGM)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.volumenes.coeficienteUGM"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.volumenesMod.modCoeficienteUGM)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,va,qe.cattleFarmsDetail.volumenesMod.modJustificacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.volumenes.aportaJustificacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.volumenesMod.modJustificacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,va,qe.cattleFarmsDetail.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.cattleFarmsDetail.volumenesMod.modComentarios)("ngIfElse",Zt)}}function ZQ(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",2)(2,"div",3)(3,"h2"),e._uU(4),e.qZA()(),e._UZ(5,"mat-divider",4),e.YNc(6,iQ,101,107,"ng-container",5),e.YNc(7,vQ,53,56,"ng-container",5),e.YNc(8,RQ,53,56,"ng-container",5),e.TgZ(9,"div",6)(10,"div",7)(11,"div",8)(12,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()()}if(2&t){const n=e.oxw();e.xp6(4),e.AsE("",n.cattleFarmsDetail.id," - ",n.useName,""),e.xp6(2),e.Q6J("ngIf",n.operacionGeneral),e.xp6(1),e.Q6J("ngIf",n.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",n.operacionVolumenes),e.xp6(
15),e.Oqu(e.lcZ(14,6,"botones.cerrar"))}}function NQ(t,o){1&t&&e._UZ(0,"app-spinner")}let LQ=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.cattleFarmService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.useName=_.itemName,this.operationCode=_.operation,this.cattleFarmService.getComparacionVersion(_.gid,_.gidVersion,_.operation).subscribe(ue=>{this.cattleFarmsDetail=ue,console.log(ue)})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(yK.V))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["otrosCodigos",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["uedg",""],["udg",""],["uda",""],["sistemaExplotacion",""],["variacionUda",""],["variacionSistExplotacion",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["volumenMaxAnualInformado",""],["caudalMedioSolicitado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""],["tipoGanado",""],["tipoGanaderia",""],["numeroCabezas",""],["coeficienteUGM",""],["justificacion",""]],template:function(n,_){if(1&n&&(e.YNc(0,ZQ,15,8,"div",0),e.YNc(1,NQ,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.cattleFarmsDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var VQ=m(5642),UQ=m(7446);function qQ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.nombre)}}function kQ(t,o){1&t&&e._UZ(0,"span",14)}function FQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.nombre)}}function BQ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.codAlberca)}}function $Q(t,o){1&t&&e._UZ(0,"span",14)}function YQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.codAlberca)}}function jQ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.otrosCodigos)}}function KQ(t,o){1&t&&e._UZ(0,"span",14)}function QQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.otrosCodigos)}}function GQ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.subUsoIntegra)}}function JQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.subUsoIntegra)}}function WQ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.estado)}}function HQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.estado)}}function zQ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.uel)}}function XQ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.uel)}}function eG(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.uda)}}function tG(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.uda)}}function nG(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.sistemaExplotacion)}}function iG(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.sistemaExplotacion)}}function oG(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.variacionUda)}}function aG(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.variacionUda)}}function sG(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);
1e.xp6(1),e.Oqu(n.irrigation.variacionSistExplotacion)}}function rG(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.variacionSistExplotacion)}}function cG(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.comentarios)}}function lG(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.comentarios)}}const Ji=function(t){return{modified:t}};function _G(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",4)(2,"div",8)(3,"mat-list")(4,"mat-list-item",9)(5,"span",10),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,qQ,2,1,"span",11),e.YNc(9,kQ,1,0,"span",12),e.qZA(),e.YNc(10,FQ,1,1,"ng-template",null,13,e.W1O),e.TgZ(12,"mat-list-item",9)(13,"span",14),e._uU(14),e.ALo(15,"translate"),e.qZA(),e._uU(16),e.qZA(),e.TgZ(17,"mat-list-item",9)(18,"span",10),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.YNc(21,BQ,2,1,"span",11),e.YNc(22,$Q,1,0,"span",12),e.qZA(),e.YNc(23,YQ,1,1,"ng-template",null,15,e.W1O),e.TgZ(25,"mat-list-item",9)(26,"span",10),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,jQ,2,1,"span",11),e.YNc(30,KQ,1,0,"span",12),e.qZA(),e.YNc(31,QQ,1,1,"ng-template",null,16,e.W1O),e.TgZ(33,"mat-list-item",9)(34,"span",14),e._uU(35),e.ALo(36,"translate"),e.qZA(),e._uU(37),e.qZA(),e.TgZ(38,"mat-list-item",9)(39,"span",10),e._uU(40),e.ALo(41,"translate"),e.qZA(),e.YNc(42,GQ,2,1,"span",17),e.qZA(),e.YNc(43,JQ,1,1,"ng-template",18,19,e.W1O),e.TgZ(45,"mat-list-item",9)(46,"span",10),e._uU(47),e.ALo(48,"translate"),e.qZA(),e.YNc(49,WQ,2,1,"span",17),e.qZA(),e.YNc(50,HQ,1,1,"ng-template",18,20,e.W1O),e.TgZ(52,"mat-list-item",9)(53,"span",10),e._uU(54),e.ALo(55,"translate"),e.qZA(),e.YNc(56,zQ,2,1,"span",17),e.qZA(),e.YNc(57,XQ,1,1,"ng-template",18,21,e.W1O),e.TgZ(59,"mat-list-item",9)(60,"span",10),e._uU(61),e.ALo(62,"translate"),e.qZA(),e.YNc(63,eG,2,1,"span",17),e.qZA(),e.YNc(64,tG,1,1,"ng-template",18,22,e.W1O),e.TgZ(66,"mat-list-item",9)(67,"span",10),e._uU(68),e.ALo(69,"translate"),e.qZA(),e.YNc(70,nG,2,1,"span",17),e.qZA(),e.YNc(71,iG,1,1,"ng-template",18,23,e.W1O),e.TgZ(73,"mat-list-item",9)(74,"span",10),e._uU(75),e.ALo(76,"translate"),e.qZA(),e.YNc(77,oG,2,1,"span",17),e.qZA(),e.YNc(78,aG,1,1,"ng-template",18,24,e.W1O),e.TgZ(80,"mat-list-item",9)(81,"span",10),e._uU(82),e.ALo(83,"translate"),e.qZA(),e.YNc(84,sG,2,1,"span",17),e.qZA(),e.YNc(85,rG,1,1,"ng-template",18,25,e.W1O),e.TgZ(87,"mat-list-item",9)(88,"span",10),e._uU(89),e.ALo(90,"translate"),e.qZA(),e.YNc(91,cG,2,1,"span",17),e.qZA(),e.YNc(92,lG,1,1,"ng-template",18,26,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(24),D=e.MAs(32),ue=e.MAs(44),Qe=e.MAs(51),je=e.MAs(58),Zt=e.MAs(65),qe=e.MAs(72),tn=e.MAs(79),mn=e.MAs(86),mi=e.MAs(93),Rn=e.oxw();e.xp6(5),e.Q6J("ngClass",e.VKq(77,Ji,Rn.irrigation.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,51,"useCommon.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Rn.irrigation.nombre),e.xp6(5),e.hij("",e.lcZ(15,53,"useCommon.fichaTecnica.lblCodIntegra"),":\xa0"),e.xp6(2),e.hij("",Rn.irrigation.codIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(79,Ji,Rn.irrigation.modCodAlberca)),e.xp6(1),e.hij("",e.lcZ(20,55,"useCommon.fichaTecnica.lblCodAlberca"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modCodAlberca)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Rn.irrigation.codAlberca),e.xp6(4),e.Q6J("ngClass",e.VKq(81,Ji,Rn.irrigation.modOtrosCodigos)),e.xp6(1),e.hij("",e.lcZ(28,57,"useCommon.fichaTecnica.lblOtrosCodigos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modOtrosCodigos)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Rn.irrigation.otrosCodigos),e.xp6(5),e.hij("",e.lcZ(36,59,"useCommon.fichaTecnica.lblUsoIntegra"),":\xa0"),e.xp6(2),e.hij("",Rn.irrigation.usoIntegra," "),e.xp6(2),e.Q6J("ngClass",e.VKq(83,Ji,Rn.irrigation.modSubUsoIntegra)),e.xp6(1),e.hij("",e.lcZ(41,61,"useCommon.fichaTecnica.lblSubUsoIntegra"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modSubUsoIntegra)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(85,Ji,Rn.irrigation.modEstado)),e.xp6(1),e.hij("",e.lcZ(48,63,"useCommon.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modEstado)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(87,Ji,Rn.irrigation.modUEL)),e.xp6(1),e.hij("",e.lcZ(55,65,"irrigation.fichaTecnica.lblUEL"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modUEL)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(89,Ji,Rn.irrigation.modUDA)),e.xp6(1),e.hij("",e.lcZ(62,67,"irrigation.fichaTecnica.lblUDA"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modUDA)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(91,Ji,Rn.irrigation.modSistemaExplotacion)),e.xp6(1),e.hij("",e.lcZ(69,69,"useCommon.fichaTecnica.lblSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modSistemaExplotacion)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(93,Ji,Rn.irrigation.modVariacionUda)),e.xp6(1),e.hij("",e.lcZ(76,71,"useCommon.fichaTecnica.lblvariacionUDA"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modVariacionUda)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(95,Ji,Rn.irrigation.modVariacionSistE
1xplotacion)),e.xp6(1),e.hij("",e.lcZ(83,73,"useCommon.fichaTecnica.lblvariacionSistemaExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modVariacionSistExplotacion)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(97,Ji,Rn.irrigation.modComentarios)),e.xp6(1),e.hij("",e.lcZ(90,75,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Rn.irrigation.modComentarios)("ngIfElse",mi)}}function pG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.irrigation.infoConcesionalMod.caudalMedioSolicitado))}}function dG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.irrigation.infoConcesionalMod.caudalMedioSolicitado))}}function uG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.irrigation.infoConcesionalMod.volumenMaxAnualInformado))}}function hG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.irrigation.infoConcesionalMod.volumenMaxAnualInformado))}}function mG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.irrigation.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function gG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.irrigation.infoConcesionalMod.volumenMaxAnualEstimadoCaptacion))}}function fG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.irrigation.infoConcesionalMod.volMaximoAnualCaptacion))}}function vG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.irrigation.infoConcesionalMod.volMaximoAnualCaptacion))}}function CG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.irrigation.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function bG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.irrigation.infoConcesionalMod.caudalMaxInstantaneoCaptacion))}}function xG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,n.irrigation.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function AG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.lcZ(1,1,n.irrigation.infoConcesionalMod.caudalMedioEquivalenteCaptacion))}}function EG(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.infoConcesionalMod.comentariosInfoConcesion)}}function OG(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.infoConcesionalMod.comentariosInfoConcesion)}}function MG(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",4)(2,"div",8)(3,"mat-list")(4,"mat-list-item",9)(5,"span",10),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,pG,3,3,"span",11),e.qZA(),e.YNc(9,dG,2,3,"ng-template",null,29,e.W1O),e.TgZ(11,"mat-list-item",9)(12,"span",10),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,uG,3,3,"span",11),e.qZA(),e.YNc(16,hG,2,3,"ng-template",null,30,e.W1O),e.TgZ(18,"mat-list-item",9)(19,"span",10),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,mG,3,3,"span",11),e.qZA(),e.YNc(23,gG,2,3,"ng-template",null,31,e.W1O),e.TgZ(25,"mat-list-item",9)(26,"span",10),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,fG,3,3,"span",11),e.qZA(),e.YNc(30,vG,2,3,"ng-template",null,32,e.W1O),e.TgZ(32,"mat-list-item",9)(33,"span",10),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,CG,3,3,"span",11),e.qZA(),e.YNc(37,bG,2,3,"ng-template",null,33,e.W1O),e.TgZ(39,"mat-list-item",9)(40,"span",10),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,xG,3,3,"span",11),e.qZA(),e.YNc(44,AG,2,3,"ng-template",null,34,e.W1O),e.TgZ(46,"mat-list-item",9)(47,"span",10),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,EG,2,1,"span",17),e.qZA(),e.YNc(51,OG,1,1,"ng-template",18,35,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.oxw();e.xp6(5),e.Q6J("ngClass",e.VKq(42,Ji,qe.irrigation.infoConcesionalMod.modCaudalMedioSolicitado)),e.xp6(1),e.hij("",e.lcZ(7,28,"useCommon.fichaTecnica.lblCaudalMedioEquivalenteInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.irrigation.infoConcesionalMod.modCaudalMedioSolicitado)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(44,Ji,qe.irrigation.infoConcesionalMod.modVolumenMaxAnualInformado)),e.xp6(1),e.hij("",e.lcZ(14,30,"useCommon.fichaTecnica.lblVolMaximoInformado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.irrigation.infoConcesionalMod.modVolumenMaxAnualInformado)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(46,Ji,qe.irrigation.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)),e.xp6(1),e.hij("",e.lcZ(21,32,"useCommon.fichaTecnica.lblVolumenMaxAnualEstimado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.irrigation.infoConcesionalMod.modVolumenMaxAnualEstimadoCaptacion)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(48,Ji,qe.irrigation.infoConcesionalMod.modVolMaximoAnualCaptacion)),e.xp6(1),e.hij("",e.lcZ(28,34,"useCommon.fichaTecnica.lblVolumenMaxAnual"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.irrigation.infoConcesionalMod.modVolMaximoAnualCaptacion)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(50,Ji,qe.irrigation.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)),e.xp6(1),e.hij("",e.lcZ(35,36,"useCommon.fichaTecnica.lblCaudalMaxInstantaneo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.irrigation.infoConcesionalMod.modCaudalMaxInstantaneoCaptacion)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(52,Ji,qe.irrigation.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)),e.xp6(1),e.hij("",e.lcZ(42,38,"useCommon.fichaTecnica.lblCaudalMedioEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.irrigation.infoConcesionalMod.modCaudalMedioEquivalenteCaptacion)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(54,Ji,qe.irrigation.infoConcesionalMod.modComentariosInfoConcesion)),e.xp6(1),e.hij("",e.lcZ(49,40,"useCommon.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",qe.irrigation.infoConcesionalMod.modComentariosInfoConcesion)("ngIfElse",Zt)}}function TG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.dotacion,n.numRed))}}function DG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.dotacion,n.numRed))}}function IG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.dotacionBrutaSolicitada,n.numRed))}}function yG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.dotacionBrutaSolicitada,n.numRed))}}function SG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.dotacionBrutaAdmisible,n.numRed))}}function wG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.dotacionBrutaAdmisible,n.numRed))}}
1function PG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoEnero,n.numRed))}}function RG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoEnero,n.numRed))}}function ZG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoFebrero,n.numRed))}}function NG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoFebrero,n.numRed))}}function LG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoMarzo,n.numRed))}}function VG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoMarzo,n.numRed))}}function UG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoAbril,n.numRed))}}function qG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoAbril,n.numRed))}}function kG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoMayo,n.numRed))}}function FG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoMayo,n.numRed))}}function BG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoJunio,n.numRed))}}function $G(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoJunio,n.numRed))}}function YG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoJulio,n.numRed))}}function jG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoJulio,n.numRed))}}function KG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoAgosto,n.numRed))}}function QG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoAgosto,n.numRed))}}function GG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoSeptiembre,n.numRed))}}function JG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoSeptiembre,n.numRed))}}function WG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoOctubre,n.numRed))}}function HG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoOctubre,n.numRed))}}function zG(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoNoviembre,n.numRed))}}function XG(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoNoviembre,n.numRed))}}function eJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volSolicitadoDiciembre,n.numRed))}}function tJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volSolicitadoDiciembre,n.numRed))}}function nJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleEnero,n.numRed))}}function iJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleEnero,n.numRed))}}
1function oJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleFebrero,n.numRed))}}function aJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleFebrero,n.numRed))}}function sJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleMarzo,n.numRed))}}function rJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleMarzo,n.numRed))}}function cJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleAbril,n.numRed))}}function lJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleAbril,n.numRed))}}function _J(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleMayo,n.numRed))}}
1function pJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleMayo,n.numRed))}}function dJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleJunio,n.numRed))}}function uJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleJunio,n.numRed))}}function hJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleJulio,n.numRed))}}function mJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleJulio,n.numRed))}}function gJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleAgosto,n.numRed))}}function fJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleAgosto,n.numRed))}}function vJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleSeptiembre,n.numRed))}}function CJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleSeptiembre,n.numRed))}}function bJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleOctubre,n.numRed))}}function xJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleOctubre,n.numRed))}}function AJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleNoviembre,n.numRed))}}function EJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleNoviembre,n.numRed))}}function OJ(t,o){if(1&t&&(e.TgZ(0,"span",27),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(e.xi3(2,1,n.irrigation.volumenesMod.volCompatibleDiciembre,n.numRed))}}function MJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2);e.Oqu(e.xi3(1,1,n.irrigation.volumenesMod.volCompatibleDiciembre,n.numRed))}}function TJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.AsE("",e.xi3(2,2,n.irrigation.volumenesMod.superficieAsignadaTotal,n.numRed4Dec)," ",e.lcZ(3,5,"unidades.ha"),"")}}function DJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2);e.AsE("",e.xi3(1,2,n.irrigation.volumenesMod.superficieAsignadaTotal,n.numRed4Dec)," ",e.lcZ(2,5,"unidades.ha"),"")}}function IJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.AsE("",e.xi3(2,2,n.irrigation.volumenesMod.superficieARegar,n.numRed4Dec)," ",e.lcZ(3,5,"unidades.ha"),"")}}function yJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2);e.AsE("",e.xi3(1,2,n.irrigation.volumenesMod.superficieARegar,n.numRed4Dec)," ",e.lcZ(2,5,"unidades.ha"),"")}}function SJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.AsE("",e.xi3(2,2,n.irrigation.volumenesMod.superficieCultivosLenosos,n.numRed4Dec)," ",e.lcZ(3,5,"unidades.ha"),"")}}function wJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2);e.AsE("",e.xi3(1,2,n.irrigation.volumenesMod.superficieCultivosLenosos,n.numRed4Dec)," ",e.lcZ(2,5,"unidades.m3"),"")}}function PJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.AsE("",e.xi3(2,2,n.irrigation.volumenesMod.volumenCultivosLenosos,n.numRed)," ",e.lcZ(3,5,"unidades.m3"),"")}}
1function RJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2);e.AsE("",e.xi3(1,2,n.irrigation.volumenesMod.volumenCultivosLenosos,n.numRed)," ",e.lcZ(2,5,"unidades.m3"),"")}}function ZJ(t,o){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"mat-checkbox",74),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.ekj("mat-checkbox-disabled",!1),e.Q6J("checked",n.irrigation.volumenesMod.cultivoLenosoIntensivo)}}function NJ(t,o){if(1&t&&e._UZ(0,"mat-checkbox",75),2&t){const n=e.oxw(2);e.ekj("mat-checkbox-disabled",!1),e.Q6J("checked",n.irrigation.volumenesMod.cultivoLenosoIntensivo)}}function LJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.AsE("",e.xi3(2,2,n.irrigation.volumenesMod.superficieCultivosMixtos,n.numRed4Dec)," ",e.lcZ(3,5,"unidades.ha"),"")}}function VJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2);e.AsE("",e.xi3(1,2,n.irrigation.volumenesMod.superficieCultivosMixtos,n.numRed4Dec)," ",e.lcZ(2,5,"unidades.ha"),"")}}function UJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.AsE("",e.xi3(2,2,n.irrigation.volumenesMod.volumenCultivosMixtos,n.numRed)," ",e.lcZ(3,5,"unidades.m3"),"")}}function qJ(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2);e.AsE("",e.xi3(1,2,n.irrigation.volumenesMod.volumenCultivosMixtos,n.numRed)," ",e.lcZ(2,5,"unidades.m3"),"")}}function kJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.volumenesMod.calendarioRiego)}}function FJ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.volumenesMod.calendarioRiego)}}function BJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.AsE("",e.xi3(2,2,n.irrigation.volumenesMod.superficieMaximaAdmisible,n.numRed4Dec)," ",e.lcZ(3,5,"unidades.ha"),"")}}function $J(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2);e.AsE("",e.xi3(1,2,n.irrigation.volumenesMod.superficieMaximaAdmisible,n.numRed4Dec)," ",e.lcZ(2,5,"unidades.ha"),"")}}function YJ(t,o){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.irrigation.volumenesMod.comentarios)}}function jJ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2);e.Oqu(n.irrigation.volumenesMod.comentarios)}}function KJ(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",4)(2,"div",8)(3,"mat-list")(4,"mat-list-item",9)(5,"span",10),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,TG,3,4,"span",11),e.qZA(),e.YNc(9,DG,2,4,"ng-template",18,36,e.W1O),e.TgZ(11,"mat-list-item",9)(12,"span",10),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,IG,3,4,"span",11),e.qZA(),e.YNc(16,yG,2,4,"ng-template",18,37,e.W1O),e.TgZ(18,"mat-list-item",9)(19,"span",10),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,SG,3,4,"span",11),e.qZA(),e.YNc(23,wG,2,4,"ng-template",18,38,e.W1O),e.TgZ(25,"mat-list-item",9)(26,"span",10),e._uU(27),e.ALo(28,"translate"),e.qZA(),e.YNc(29,PG,3,4,"span",11),e.qZA(),e.YNc(30,RG,2,4,"ng-template",18,39,e.W1O),e.TgZ(32,"mat-list-item",9)(33,"span",10),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.YNc(36,ZG,3,4,"span",11),e.qZA(),e.YNc(37,NG,2,4,"ng-template",18,40,e.W1O),e.TgZ(39,"mat-list-item",9)(40,"span",10),e._uU(41),e.ALo(42,"translate"),e.qZA(),e.YNc(43,LG,3,4,"span",11),e.qZA(),e.YNc(44,VG,2,4,"ng-template",18,41,e.W1O),e.TgZ(46,"mat-list-item",9)(47,"span",10),e._uU(48),e.ALo(49,"translate"),e.qZA(),e.YNc(50,UG,3,4,"span",11),e.qZA(),e.YNc(51,qG,2,4,"ng-template",18,42,e.W1O),e.TgZ(53,"mat-list-item",9)(54,"span",10),e._uU(55),e.ALo(56,"translate"),e.qZA(),e.YNc(57,kG,3,4,"span",11),e.qZA(),e.YNc(58,FG,2,4,"ng-template",18,43,e.W1O),e.TgZ(60,"mat-list-item",9)(61,"span",10),e._uU(62),e.ALo(63,"translate"),e.qZA(),e.YNc(64,BG,3,4,"span",11),e.qZA(),e.YNc(65,$G,2,4,"ng-template",18,44,e.W1O),e.TgZ(67,"mat-list-item",9)(68,"span",10),e._uU(69),e.ALo(70,"translate"),e.qZA(),e.YNc(71,YG,3,4,"span",11),e.qZA(),e.YNc(72,jG,2,4,"ng-template",18,45,e.W1O),e.TgZ(74,"mat-list-item",9)(75,"span",10),e._uU(76),e.ALo(77,"translate"),e.qZA(),e.YNc(78,KG,3,4,"span",11),e.qZA(),e.YNc(79,QG,2,4,"ng-template",18,46,e.W1O),e.TgZ(81,"mat-list-item",9)(82,"span",10),e._uU(83),e.ALo(84,"translate"),e.qZA(),e.YNc(85,GG,3,4,"span",11),e.qZA(),e.YNc(86,JG,2,4,"ng-template",18,47,e.W1O),e.TgZ(88,"mat-list-item",9)(89,"span",10),e._uU(90),e.ALo(91,"translate"),e.qZA(),e.YNc(92,WG,3,4,"span",11),e.qZA(),e.YNc(93,HG,2,4,"ng-template",18,48,e.W1O),e.TgZ(95,"mat-list-item",9)(96,"span",10),e._uU(97),e.ALo(98,"translate"),e.qZA(),e.YNc(99,zG,3,4,"span",11),e.qZA(),e.YNc(100,XG,2,4,"ng-template",18,49,e.W1O),e.TgZ(102,"mat-list-item",9)(103,"span",10),e._uU(104),e.ALo(105,"translate"),e.qZA(),e.YNc(106,eJ,3,4,"span",11),e.qZA(),e.YNc(107,tJ,2,4,"ng-template",18,50,e.W1O),e.TgZ(109,"mat-list-item",9)(110,"span",10),e._uU(111),e.ALo(112,"translate"),e.qZA(),e.YNc(113,nJ,3,4,"span",11),e.qZA(),e.YNc(114,iJ,2,4,"ng-template",18,51,e.W1O),e.TgZ(116,"mat-list-item",9)(117,"span",10),e._uU(118),e.ALo(119,"translate"),e.qZA(),e.YNc(120,oJ,3,4,"span",11),e.qZA(),e.YNc(121,aJ,2,4,"ng-template",18,52,e.W1O),e.TgZ(123,"mat-list-item",9)(124,"span",10),e._uU(125),e.ALo(126,"translate"),e.qZA(),e.YNc(127,sJ,3,4,"span",11),e.qZA(),e.YNc(128,rJ,2,4,"ng-template",18,53,e.W1O),e.TgZ(130,"mat-list-item",9)(131,"span",10),e._uU(132),e.ALo(133,"translate"),e.qZA(),e.YNc(134,cJ,3,4,"span",11),e.qZA(),e.YNc(135,lJ,2,4,"ng-template",18,54,e.W1O),e.TgZ(137,"mat-list-item",9)(138,"span",10),e._uU(139),e.ALo(140,"translate"),e.qZA(),e.YNc(141,_J,3,4,"span",11),e.qZA(),e.YNc(142,pJ,2,4,"ng-template",18,55,e.W1O),e.TgZ(144,"mat-list-item",9)(145,"span",10),e._uU(146),e.ALo(147,"translate"),e.qZA(),e.YNc(148,dJ,3,4,"span",11),e.qZA(),e.YNc(149,uJ,2,4,"ng-template",18,56,e.W1O),e.TgZ(151,"mat-list-item",9)(152,"span",10),e._uU(153),e.ALo(154,"translate"),e.qZA(),e.YNc(155,hJ,3,4,"span",11),e.qZA(),e.YNc(156,mJ,2,4,"ng-template",18,57,e.W1O),e.TgZ(158,"mat-list-item",9)(159,"span",10),e._uU(160),e.ALo(161,"translate"),e.qZA(),e.YNc(162,gJ,3,4,"span",11),e.qZA(),e.YNc(163,fJ,2,4,"ng-template",18,58,e.W1O),e.TgZ(165,"mat-list-item",9)(166,"span",10),e._uU(167),e.ALo(168,"translate"),e.qZA(),e.YNc(169,vJ,3,4,"span",11),e.qZA(),e.YNc(170,CJ,2,4,"ng-template",18,59,e.W1O),e.TgZ(172,"mat-list-item",9)(173,"span",10),e._uU(174),e.ALo(175,"translate"),e.qZA(),e.YNc(176,bJ,3,4,"span",11),e.qZA(),e.YNc(177,xJ,2,4,"ng-template",18,60,e.W1O),e.TgZ(179,"mat-list-item",9)(180,"span",10),e._uU(181),e.ALo(182,"translate"),e.qZA(),e.YNc(183,AJ,3,4,"span",11),e.qZA(),e.YNc(184,EJ,2,4,"ng-template",18,61,e.W1O),e.TgZ(186,"mat-list-item",9)(187,"span",10),e._uU(188),e.ALo(189,"translate"),e.qZA(),e.YNc(190,OJ,3,4,"span",11),e.qZA(),e.YNc(191,MJ,2,4,"ng-template",18,62,e.W1O),e.TgZ(193,"mat-list-item",9)(194,"span",10),e._uU(195),e.ALo(196,"translate"),e.qZA(),e.YNc(197,TJ,4,7,"span",17),e.qZA(),e.YNc(198,DJ,3,7,"ng-template",63,64,e.W1O),e.TgZ(200,"mat-list-item",9)(201,"span",10),e._uU(202),e.ALo(203,"translate"),e.qZA(),e.YNc(204,IJ,4,7,"span",17),e.qZA(),e.YNc(205,yJ,3,7,"ng-template",63,65,e.W1O),e.TgZ(207,"mat-list-item",9)(208,"span",10),e._uU(209),e.ALo(210,"translate"),e.qZA(),e.YNc(211,SJ,4,7,"span",17),e.qZA(),e.YNc(212,wJ,3,7,"ng-template",63,66,e.W1O),e.TgZ(214,"mat-list-item",9)(215,"span",10),e._uU(216),e.ALo(217,"translate"),e.qZA(),e.YNc(218,PJ,4,7,"span",17),e.qZA(),e.YNc(219,RJ,3,7,"ng-template",63,67,e.W1O),e.TgZ(221,"mat-list-item",9)(222,"span",10),e._uU(223),e.ALo(224,"translate"),e.qZA(),e.YNc(225,ZJ,2,3,"span",68),e.qZA(),e.YNc(226,NJ,1,3,"
1ng-template",18,69,e.W1O),e.TgZ(228,"mat-list-item",9)(229,"span",10),e._uU(230),e.ALo(231,"translate"),e.qZA(),e.YNc(232,LJ,4,7,"span",17),e.qZA(),e.YNc(233,VJ,3,7,"ng-template",63,70,e.W1O),e.TgZ(235,"mat-list-item",9)(236,"span",10),e._uU(237),e.ALo(238,"translate"),e.qZA(),e.YNc(239,UJ,4,7,"span",17),e.qZA(),e.YNc(240,qJ,3,7,"ng-template",18,71,e.W1O),e.TgZ(242,"mat-list-item",9)(243,"span",10),e._uU(244),e.ALo(245,"translate"),e.qZA(),e.YNc(246,kJ,2,1,"span",17),e.qZA(),e.YNc(247,FJ,1,1,"ng-template",18,72,e.W1O),e.TgZ(249,"mat-list-item",9)(250,"span",10),e._uU(251),e.ALo(252,"translate"),e.qZA(),e.YNc(253,BJ,4,7,"span",17),e.qZA(),e.YNc(254,$J,3,7,"ng-template",18,73,e.W1O),e.TgZ(256,"mat-list-item",9)(257,"span",10),e._uU(258),e.ALo(259,"translate"),e.qZA(),e.YNc(260,YJ,2,1,"span",17),e.qZA(),e.YNc(261,jJ,1,1,"ng-template",18,26,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.MAs(31),Qe=e.MAs(38),je=e.MAs(45),Zt=e.MAs(52),qe=e.MAs(59),tn=e.MAs(66),mn=e.MAs(73),mi=e.MAs(80),Rn=e.MAs(87),dn=e.MAs(94),si=e.MAs(101),jn=e.MAs(108),da=e.MAs(115),ii=e.MAs(122),Ci=e.MAs(129),is=e.MAs(136),Li=e.MAs(143),Pn=e.MAs(150),hr=e.MAs(157),bi=e.MAs(164),vc=e.MAs(171),Cc=e.MAs(178),bc=e.MAs(185),qi=e.MAs(192),Ki=e.MAs(199),QA=e.MAs(206),GA=e.MAs(213),JA=e.MAs(220),$ee=e.MAs(227),Yee=e.MAs(234),jee=e.MAs(241),Kee=e.MAs(248),Qee=e.MAs(255),Gee=e.MAs(262),Oi=e.oxw();e.xp6(5),e.Q6J("ngClass",e.VKq(222,Ji,Oi.irrigation.volumenesMod.modDotacion)),e.xp6(1),e.hij("",e.lcZ(7,148,"useCommon.volumenes.volumenDotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modDotacion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(224,Ji,Oi.irrigation.volumenesMod.modDotacionBrutaSolicitada)),e.xp6(1),e.hij("",e.lcZ(14,150,"useCommon.volumenes.volumenDotacionBrutaSolicitada"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modDotacionBrutaSolicitada)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(226,Ji,Oi.irrigation.volumenesMod.modDotacionBrutaAdmisible)),e.xp6(1),e.hij("",e.lcZ(21,152,"useCommon.volumenes.volumenDotacionBrutaAdmisible"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modDotacionBrutaAdmisible)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(228,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoEnero)),e.xp6(1),e.hij("",e.lcZ(28,154,"useCommon.volumenes.volumenSolicitadoEnero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoEnero)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(230,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoFebrero)),e.xp6(1),e.hij("",e.lcZ(35,156,"useCommon.volumenes.volumenSolicitadoFebrero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoFebrero)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(232,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoMarzo)),e.xp6(1),e.hij("",e.lcZ(42,158,"useCommon.volumenes.volumenSolicitadoMarzo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoMarzo)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(234,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoAbril)),e.xp6(1),e.hij("",e.lcZ(49,160,"useCommon.volumenes.volumenSolicitadoAbril"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoAbril)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(236,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoMayo)),e.xp6(1),e.hij("",e.lcZ(56,162,"useCommon.volumenes.volumenSolicitadoMayo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoMayo)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(238,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoJunio)),e.xp6(1),e.hij("",e.lcZ(63,164,"useCommon.volumenes.volumenSolicitadoJunio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoJunio)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(240,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoJulio)),e.xp6(1),e.hij("",e.lcZ(70,166,"useCommon.volumenes.volumenSolicitadoJulio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoJulio)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(242,Ji,Oi.irrigation.volumenesMod.modVol
1SolicitadoAgosto)),e.xp6(1),e.hij("",e.lcZ(77,168,"useCommon.volumenes.volumenSolicitadoAgosto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoAgosto)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(244,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoSeptiembre)),e.xp6(1),e.hij("",e.lcZ(84,170,"useCommon.volumenes.volumenSolicitadoSeptiembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoSeptiembre)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(246,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoOctubre)),e.xp6(1),e.hij("",e.lcZ(91,172,"useCommon.volumenes.volumenSolicitadoOctubre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoOctubre)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(248,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoNoviembre)),e.xp6(1),e.hij("",e.lcZ(98,174,"useCommon.volumenes.volumenSolicitadoNoviembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoNoviembre)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(250,Ji,Oi.irrigation.volumenesMod.modVolSolicitadoDiciembre)),e.xp6(1),e.hij("",e.lcZ(105,176,"useCommon.volumenes.volumenSolicitadoDiciembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolSolicitadoDiciembre)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(252,Ji,Oi.irrigation.volumenesMod.modVolCompatibleEnero)),e.xp6(1),e.hij("",e.lcZ(112,178,"useCommon.volumenes.volumenCompatibleEnero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleEnero)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(254,Ji,Oi.irrigation.volumenesMod.modVolCompatibleFebrero)),e.xp6(1),e.hij("",e.lcZ(119,180,"useCommon.volumenes.volumenCompatibleFebrero"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleFebrero)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(256,Ji,Oi.irrigation.volumenesMod.modVolCompatibleMarzo)),e.xp6(1),e.hij("",e.lcZ(126,182,"useCommon.volumenes.volumenCompatibleMarzo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleMarzo)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(258,Ji,Oi.irrigation.volumenesMod.modVolCompatibleAbril)),e.xp6(1),e.hij("",e.lcZ(133,184,"useCommon.volumenes.volumenCompatibleAbril"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleAbril)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(260,Ji,Oi.irrigation.volumenesMod.modVolCompatibleMayo)),e.xp6(1),e.hij("",e.lcZ(140,186,"useCommon.volumenes.volumenCompatibleMayo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleMayo)("ngIfElse",Li),e.xp6(4),e.Q6J("ngClass",e.VKq(262,Ji,Oi.irrigation.volumenesMod.modVolCompatibleJunio)),e.xp6(1),e.hij("",e.lcZ(147,188,"useCommon.volumenes.volumenCompatibleJunio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleJunio)("ngIfElse",Pn),e.xp6(4),e.Q6J("ngClass",e.VKq(264,Ji,Oi.irrigation.volumenesMod.modVolCompatibleJulio)),e.xp6(1),e.hij("",e.lcZ(154,190,"useCommon.volumenes.volumenCompatibleJulio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleJulio)("ngIfElse",hr),e.xp6(4),e.Q6J("ngClass",e.VKq(266,Ji,Oi.irrigation.volumenesMod.modVolCompatibleAgosto)),e.xp6(1),e.hij("",e.lcZ(161,192,"useCommon.volumenes.volumenCompatibleAgosto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleAgosto)("ngIfElse",bi),e.xp6(4),e.Q6J("ngClass",e.VKq(268,Ji,Oi.irrigation.volumenesMod.modVolCompatibleSeptiembre)),e.xp6(1),e.hij("",e.lcZ(168,194,"useCommon.volumenes.volumenCompatibleSeptiembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleSeptiembre)("ngIfElse",vc),e.xp6(4),e.Q6J("ngClass",e.VKq(270,Ji,Oi.irrigation.volumenesMod.modVolCompatibleOctubre)),e.xp6(1),e.hij("",e.lcZ(175,196,"useCommon.volumenes.volumenCompatibleOctubre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleOctubre)("ngIfElse",Cc),e.xp6(4),e.Q6J("ngClass",e.VKq(272,Ji,Oi.irrigation.volumenesMod.modVolCompatibleNoviembre)),e.xp6(1),e.hij("",e.lcZ(182,198,"useCommon.volumenes.volumenCompatibleNoviembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleNoviembre)("ngIfElse",bc),e.xp6(4),e.Q6J("ngClass",e.VKq(274,Ji,Oi.irrigation.volumenesMod.modVolCompatibleDiciembre)),e.xp6(1),e.hij("",e.lcZ(189,200,"useCommon.volumenes.volumenCompatibleDiciembre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolCompatibleDiciembre)("ngIfElse",qi),e.xp6(4),e.Q6J("ngClass",e.VKq(276,Ji,Oi.irrigation.volumenesMod.modSuperficieAsignadaTotal)),e.xp6(1),e.hij("",e.lcZ(196,202,"useCommon.volumenes.superficieRegable"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modSuperficieAsignadaTotal)("ngIfElse",Ki),e.xp6(4),e.Q6J("ngClass",e.VKq(278,Ji,Oi.irrigation.volumenesMod.modSuperficieARegar)),e.xp6(1),e.hij("",e.lcZ(203,204,"useCommon.volumenes.superficieDerechoRiego"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modSuperficieARegar)("ngIfElse",QA),e.xp6(4),e.Q6J("ngClass",e.VKq(280,Ji,Oi.irrigation.volumenesMod.modSuperficieCultivosLenosos)),e.xp6(1),e.hij("",e.lcZ(210,206,"useCommon.volumenes.superficieCultivosLenosos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modSuperficieCultivosLenosos)("ngIfElse",GA),e.xp6(4),e.Q6J("ngClass",e.VKq(282,Ji,Oi.irrigation.volumenesMod.modVolumenCultivosLenosos)),e.xp6(1),e.hij("",e.lcZ(217,208,"useCommon.volumenes.volumenCultivosLenosos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolumenCultivosLenosos)("ngIfElse",JA),e.xp6(4),e.Q6J("ngClass",e.VKq(284,Ji,Oi.irrigation.volumenesMod.modCultivoLenosoIntensivo)),e.xp6(1),e.hij("",e.lcZ(224,210,"useCommon.volumenes.cultivoLenosoIntensivo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modCultivoLenosoIntensivo)("ngIfElse",$ee),e.xp6(4),e.Q6J("ngClass",e.VKq(286,Ji,Oi.irrigation.volumenesMod.modSuperficieCultivosMixtos)),e.xp6(1),e.hij("",e.lcZ(231,212,"useCommon.volumenes.superficieCultivosMixtos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modSuperficieCultivosMixtos)("ngIfElse",Yee),e.xp6(4),e.Q6J("ngClass",e.VKq(288,Ji,Oi.irrigation.volumenesMod.modVolumenCultivosMixtos)),e.xp6(1),e.hij("",e.lcZ(238,214,"useCommon.volumenes.volumenCultivosMixtos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modVolumenCultivosMixtos)("ngIfElse",jee),e.xp6(4),e.Q6J("ngClass",e.VKq(290,Ji,Oi.irrigation.volumenesMod.modCalendarioRiego)),e.xp6(1),e.hij("",e.lcZ(245,216,"useCommon.volumenes.calendarioRiego"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modCalendarioRiego)("ngIfElse",Kee),e.xp6(4),e.Q6J("ngClass",e.VKq(292,Ji,Oi.irrigation.volumenesMod.modSuperficieMaximaAdmisible)),e.xp6(1),e.hij("",e.lcZ(252,218,"useCommon.volumenes.superficieMaximaAdmisible"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modSuperficieMaximaAdmisible)("ngIfElse",Qee),e.xp6(4),e.Q6J("ngClass",e.VKq(294,Ji,Oi.irrigation.volumenesMod.modComentarios)),e.xp6(1),e.hij("",e.lcZ(259,220,"useCommon.volumenes.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Oi.irrigation.volumenesMod.modComentarios)("ngIfElse",Gee)}}let QJ=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.irrigationService=D,this.useName="",this.operacionGeneral=!1,this.operacionExtraccion=!1,this.operacionInfoConcesional=!1,this.operacionTecnico=!1,this.operacionVolumenes=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.numRed4Dec=s.C.numRed4Dec,this.useName=_.itemName,this.operationCode=_.operation,this.irrigationService.getComparacionVersion(_.gid,_.gidVersion,_.operation).subscribe(ue=>{this.irrigation=ue})}ngOnInit(){this.operacionGeneral=s.C.operacion.OPERACION_GENERAL===this.operationCode,this.operacionInfoConcesional=s.C.operacion.OPERACION_INFO_CONCESIONAL===this.operationCode,this.operacionVolumenes=s.C.operacion.OPERACION_USOS_VOLUMENES===this.operationCode}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(VQ.l))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:14,vars:8,consts:[[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["appBold",""],["codAlberca",""],["otrosCodigos",""],["appHighlight","","class","text-wrap",4,"ngIf","ngIfElse"],["class","text-wrap"],["subUsoIntegra",""],["estado",""],["uel",""],["uda",""],["sistemaExplotacion",""],["variacionUda",""],["variacionSistE
1xplotacion",""],["comentarios",""],["appHighlight",""],["appHighlight","",1,"text-wrap"],["caudalMedioSolicitado",""],["volumenMaxAnualInformado",""],["volumenMaxAnualEstimadoCaptacion",""],["volMaximoAnualCaptacion",""],["caudalMaxInstantaneoCaptacion",""],["caudalMedioEquivalenteCaptacion",""],["comentariosInfoConcesion",""],["dotacion",""],["dotacionBrutaSolicitada",""],["dotacionBrutaAdmisible",""],["volSolicitadoEnero",""],["volSolicitadoFebrero",""],["volSolicitadoMarzo",""],["volSolicitadoAbril",""],["volSolicitadoMayo",""],["volSolicitadoJunio",""],["volSolicitadoJulio",""],["volSolicitadoAgosto",""],["volSolicitadoSeptiembre",""],["volSolicitadoOctubre",""],["volSolicitadoNoviembre",""],["volSolicitadoDiciembre",""],["volCompatibleEnero",""],["volCompatibleFebrero",""],["volCompatibleMarzo",""],["volCompatibleAbril",""],["volCompatibleMayo",""],["volCompatibleJunio",""],["volCompatibleJulio",""],["volCompatibleAgosto",""],["volCompatibleSeptiembre",""],["volCompatibleOctubre",""],["volCompatibleNoviembre",""],["volCompatibleDiciembre",""],["class","text-wrap","class","text-wrap"],["superficieAsignadaTotal",""],["superficieARegar",""],["superficieCultivosLenosos",""],["volumenCultivosLenosos",""],[4,"ngIf","ngIfElse"],["cultivoLenosoIntensivo",""],["superficieCultivosMixtos",""],["volumenCultivosMixtos",""],["calendarioRiego",""],["superficieMaximaAdmisible",""],["appHighlight","","color","transparent","disabled","",3,"checked"],["color","primary","disabled","",3,"checked"]],template:function(n,_){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",2),e.YNc(5,_G,94,99,"ng-container",3),e.YNc(6,MG,53,56,"ng-container",3),e.YNc(7,KJ,263,296,"ng-container",3),e.TgZ(8,"div",4)(9,"div",5)(10,"div",6)(11,"button",7),e.NdJ("click",function(){return _.closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()),2&n&&(e.xp6(3),e.AsE("",_.irrigation.id," - ",_.useName,""),e.xp6(2),e.Q6J("ngIf",_.operacionGeneral),e.xp6(1),e.Q6J("ngIf",_.operacionInfoConcesional),e.xp6(1),e.Q6J("ngIf",_.operacionVolumenes),e.xp6(5),e.Oqu(e.l
1cZ(13,6,"botones.cerrar")))},directives:[A.d,d.O5,C.i$,C.Tg,T.M,d.mk,S.Z,UQ.oG,R.lW],pipes:[w.X$,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var GJ=m(7973);function JJ(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function WJ(t,o){1&t&&e._UZ(0,"span",34)}function HJ(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function zJ(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaInicio,_.dateFormat))}}function XJ(t,o){1&t&&e._UZ(0,"span",34)}function eW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaInicio,_.dateFormat))}}function tW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaFin,_.dateFormat))}}function nW(t,o){1&t&&e._UZ(0,"span",34)}function iW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaFin,_.dateFormat))}}function oW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.clavePresupuestaria)}}function aW(t,o){1&t&&e._UZ(0,"span",34)}function sW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.clavePresupuestaria)}}function rW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.plazo)}}function cW(t,o){1&t&&e._UZ(0,"span",34)}function lW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.plazo)}}function _W(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaPublicacionLicitacion,_.dateFormat))}}function pW(t,o){1&t&&e._UZ(0,"span",34)}function dW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaPublicacionLicitacion,_.dateFormat))}}function uW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.documentoLicitacion)}}function hW(t,o){1&t&&e._UZ(0,"span",34)}function mW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.documentoLicitacion)}}
1function gW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.presupuestoLicitacion,_.numRed))}}function fW(t,o){1&t&&e._UZ(0,"span",34)}function vW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoLicitacion,_.numRed))}}function CW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaAdjudicacion,_.dateFormat))}}function bW(t,o){1&t&&e._UZ(0,"span",34)}function xW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaAdjudicacion,_.dateFormat))}}function AW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.fechaPublicacionAdjudicacion,_.dateFormat))}}function EW(t,o){1&t&&e._UZ(0,"span",34)}function OW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.fechaPublicacionAdjudicacion,_.dateFormat))}}function MW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.presupuestoAdjudicacion,_.numRed))}}function TW(t,o){1&t&&e._UZ(0,"span",34)}function DW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoAdjudicacion,_.numRed))}}function IW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.presupuestoFinal,_.numRed))}}function yW(t,o){1&t&&e._UZ(0,"span",34)}function SW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoFinal,_.numRed))}}function wW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.adjudicatario)}}function PW(t,o){1&t&&e._UZ(0,"span",34)}function RW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.adjudicatario)}}function ZW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.documentoAdjudicacion)}}function NW(t,o){1&t&&e._UZ(0,"span",34)}function LW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.documentoAdjudicacion)}}function VW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.aplicaIVA)}}function UW(t,o){1&t&&e._UZ(0,"span",34)}function qW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.aplicaIVA)}}function kW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.documentoCancelacion)}}function FW(t,o){1&t&&e._UZ(0,"span",34)}function BW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.documentoCancelacion)}}function $W(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.comentarios)}}function YW(t,o){1&t&&e._UZ(0,"span",34)}function jW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}const Da=function(t){return{modified:t}};function KW(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,JJ,2,1,"span",13),e.YNc(9,WJ,1,0,"span",14),e.qZA(),e.YNc(10,HJ,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,zJ,3,4,"span",13),e.YNc(17,XJ,1,0,"span",14),e.qZA(),e.YNc(18,eW,2,4,"ng-template",null,16,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,tW,3,4,"span",13),e.YNc(25,nW,1,0,"span",14),e.qZA(),e.YNc(26,iW,2,4,"ng-template",null,17,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",12),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,oW,2,1,"span",13),e.YNc(33,aW,1,0,"span",14),e.qZA(),e.YNc(34,sW,1,1,"ng-template",null,18,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",12),e._uU(38),e.ALo(39,"translate"),e.qZA(),e.YNc(40,rW,2,1,"span",13),e.YNc(41,cW,1,0,"span",14),e.qZA(),e.YNc(42,lW,1,1,"ng-template",null,19,e.W1O),e.TgZ(44,"div",20)(45,"h3"),e._uU(46),e.ALo(47,"translate"),e.qZA()(),e.TgZ(48,"mat-list-item",11)(49,"span",12),e._uU(50),e.ALo(51,"translate"),e.qZA(),e.YNc(52,_W,3,4,"span",13),e.YNc(53,pW,1,0,"span",14),e.qZA(),e.YNc(54,dW,2,4,"ng-template",null,21,e.W1O),e.TgZ(56,"mat-list-item",11)(57,"span",12),e._uU(58),e.ALo(59,"translate"),e.qZA(),e.YNc(60,uW,2,1,"span",13),e.YNc(61,hW,1,0,"span",14),e.qZA(),e.YNc(62,mW,1,1,"ng-template",null,22,e.W1O),e.TgZ(64,"mat-list-item",11)(65,"span",12),e._uU(66),e.ALo(67,"translate"),e.qZA(),e.YNc(68,gW,3,4,"span",13),e.YNc(69,fW,1,0,"span",14),e.qZA(),e.YNc(70,vW,2,4,"ng-template",null,23,e.W1O),e.TgZ(72,"div",20)(73,"h3"),e._uU(74),e.ALo(75,"translate"),e.qZA()(),e.TgZ(76,"mat-list-item",11)(77,"span",12),e._uU(78),e.ALo(79,"translate"),e.qZA(),e.YNc(80,CW,3,4,"span",13),e.YNc(81,bW,1,0,"span",14),e.qZA(),e.YNc(82,xW,2,4,"ng-template",null,24,e.W1O),e.TgZ(84,"mat-list-item",11)(85,"span",12),e._uU(86),e.ALo(87,"translate"),e.qZA(),e.YNc(88,AW,3,4,"span",13),e.YNc(89,EW,1,0,"span",14),e.qZA(),e.YNc(90,OW,2,4,"ng-template",null,25,e.W1O),e.TgZ(92,"mat-list-item",11)(93,"span",12),e._uU(94),e.ALo(95,"translate"),e.qZA(),e.YNc(96,MW,3,4,"span",13),e.YNc(97,TW,1,0,"span",14),e.qZA(),e.YNc(98,DW,2,4,"ng-template",null,26,e.W1O),e.TgZ(100,"mat-list-item",11)(101,"span",12),e._uU(102),e.ALo(103,"translate"),e.qZA(),e.YNc(104,IW,3,4,"span",13),e.YNc(105,yW,1,0,"span",14),e.qZA(),e.YNc(106,SW,2,4,"ng-template",null,27,e.W1O),e.TgZ(108,"mat-list-item",11)(109,"span",12),e._uU(110),e.ALo(111,"translate"),e.qZA(),e.YNc(112,wW,2,1,"span",13),e.YNc(113,PW,1,0,"span",14),e.qZA(),e.YNc(114,RW,1,1,"ng-template",null,28,e.W1O),e.TgZ(116,"mat-list-item",11)(117,"span",12),e._uU(118),e.ALo(119,"translate"),e.qZA(),e.YNc(120,ZW,2,1,"span",13),e.YNc(121,NW,1,0,"span",14),e.qZA(),e.YNc(122,LW,1,1,"ng-template",null,29,e.W1O),e.TgZ(124,"mat-list-item",11)(125,"span",12),e._uU(126),e.ALo(127,"translate"),e.qZA(),e.YNc(128,VW,2,1,"span",13),e.YNc(129,UW,1,0,"span",14),e.qZA(),e.YNc(130,qW,1,1,"ng-template",null,30,e.W1O),e.TgZ(132,"mat-list-item",11)(133,"span",12),e._uU(134),e.ALo(135,"translate"),e.qZA(),e.YNc(136,kW,2,1,"span",13),e.YNc(137,FW,1,0,"span",14),e.qZA(),e.YNc(138,BW,1,1,"ng-template",null,31,e.W1O),e.TgZ(140,"mat-list-item",11)(141,"span",12),e._uU(142),e.ALo(143,"translate"),e.qZA(),e.YNc(144,$W,2,1,"span",13),e.YNc(145,YW,1,0,"span",14),e.qZA(),e.YNc(146,jW,1,1,"ng-template",null,32,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(35),Qe=e.MAs(43),je=e.MAs(55),Zt=e.MAs(63),qe=e.MAs(71),tn=e.MAs(83),mn=e.MAs(91),mi=e.MAs(99),Rn=e.MAs(107),dn=e.MAs(115),si=e.MAs(123),jn=e.MAs(131),da=e.MAs(139),ii=e.MAs(147),Ci=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(125,Da,Ci.modNombre)),e.xp6(1),e.hij("",e.lcZ(7,87,"contracts.fichaTecnica.lblsGuardarCambios.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modNombre)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Ci.nombre),e.xp6(4),e.Q6J("ngClass",e.VKq(127,Da,Ci.modFechaFirma)),e.xp6(1),e.hij("",e.lcZ(15,89,"contracts.fichaTecnica.lblsGuardarCambios.fechaInicio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modFechaFirma)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Ci.fechaInicio),e.xp6(4),e.Q6J("ngClass",e.VKq(129,Da,Ci.modFechaFinalizacion)),e.xp6(1),e.hij("",e.lcZ(23,91,"contracts.fichaTecnica.lblsGuardarCambios.fechaFin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modFechaFinalizacion)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Ci.fechaFin),e.xp6(4),e.Q6J("ngClass",e.VKq(131,Da,Ci.modClavePresupuestaria)),e.xp6(1),e.hij("",e.lcZ(31,93,"contracts.fichaTecnica.lblsGuardarCambios.clavePresupuestaria"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modClavePresupuestaria)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",Ci.clavePresupuestaria),e.xp6(4),e.Q6J("ngClass",e.VKq(133,Da,Ci.modPlazo)),e.xp6(1),e.hij("",e.lcZ(39,95,"contracts.fichaTecnica.lblsGuardarCambios.plazo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modPlazo)("ngIfElse",Qe),e.xp6(1),e.Q6J("ngIf",Ci.plazo),e.xp6(5),e.Oqu(e.l
1cZ(47,97,"contracts.fichaTecnica.licitacion")),e.xp6(3),e.Q6J("ngClass",e.VKq(135,Da,Ci.modFechaPublicacionLicitacion)),e.xp6(1),e.hij("",e.lcZ(51,99,"contracts.fichaTecnica.lblsGuardarCambios.fechaPublicacionLicitacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modFechaPublicacionLicitacion)("ngIfElse",je),e.xp6(1),e.Q6J("ngIf",Ci.fechaPublicacionLicitacion),e.xp6(4),e.Q6J("ngClass",e.VKq(137,Da,Ci.modDocumentoLicitacion)),e.xp6(1),e.hij("",e.lcZ(59,101,"contracts.fichaTecnica.lblsGuardarCambios.documentoLicitacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modDocumentoLicitacion)("ngIfElse",Zt),e.xp6(1),e.Q6J("ngIf",Ci.documentoLicitacion),e.xp6(4),e.Q6J("ngClass",e.VKq(139,Da,Ci.modPresupuestoLicitacion)),e.xp6(1),e.hij("",e.lcZ(67,103,"contracts.fichaTecnica.lblsGuardarCambios.presupuestoLicitacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modPresupuestoLicitacion)("ngIfElse",qe),e.xp6(1),e.Q6J("ngIf",Ci.presupuestoLicitacion),e.xp6(5),e.Oqu(e.lcZ(75,105,"contracts.fichaTecnica.adjudicacion")),e.xp6(3),e.Q6J("ngClass",e.VKq(141,Da,Ci.modFechaAdjudicacion)),e.xp6(1),e.hij("",e.lcZ(79,107,"contracts.fichaTecnica.lblsGuardarCambios.fechaAdjudicacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modFechaAdjudicacion)("ngIfElse",tn),e.xp6(1),e.Q6J("ngIf",Ci.fechaAdjudicacion),e.xp6(4),e.Q6J("ngClass",e.VKq(143,Da,Ci.modFechaPublicacionAdjudicacion)),e.xp6(1),e.hij("",e.lcZ(87,109,"contracts.fichaTecnica.lblsGuardarCambios.fechaPublicacionAdjudicacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modFechaPublicacionAdjudicacion)("ngIfElse",mn),e.xp6(1),e.Q6J("ngIf",Ci.fechaPublicacionAdjudicacion),e.xp6(4),e.Q6J("ngClass",e.VKq(145,Da,Ci.modPresupuestoAdjudicacion)),e.xp6(1),e.hij("",e.lcZ(95,111,"contracts.fichaTecnica.lblsGuardarCambios.presupuestoAdjudicacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modPresupuestoAdjudicacion)("ngIfElse",mi),e.xp6(1),e.Q6J("ngIf",Ci.presupuestoAdjudicacion),e.xp6(4),e.Q6J("ngClass",e.VKq(147,Da,Ci.modPresupuestoFinal)),e.xp6(1),e.hij("",e.lcZ(103,113,"contracts.fichaTecnica.lblsGuardarCambios.presupuestoFinal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modPresupuestoFinal)("ngIfElse",Rn),e.xp6(1),e.Q6J("ngIf",Ci.presupuestoFinal),e.xp6(4),e.Q6J("ngClass",e.VKq(149,Da,Ci.modAdjudicatario)),e.xp6(1),e.hij("",e.lcZ(111,115,"contracts.fichaTecnica.lblsGuardarCambios.adjudicatario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modAdjudicatario)("ngIfElse",dn),e.xp6(1),e.Q6J("ngIf",Ci.adjudicatario),e.xp6(4),e.Q6J("ngClass",e.VKq(151,Da,Ci.modDocumentoAdjudicacion)),e.xp6(1),e.hij("",e.lcZ(119,117,"contracts.fichaTecnica.lblsGuardarCambios.documentoAdjudicacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modDocumentoAdjudicacion)("ngIfElse",si),e.xp6(1),e.Q6J("ngIf",Ci.documentoAdjudicacion),e.xp6(4),e.Q6J("ngClass",e.VKq(153,Da,Ci.modAplicaIva)),e.xp6(1),e.hij("",e.lcZ(127,119,"contracts.fichaTecnica.lblsGuardarCambios.idAplicaIVA"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modAplicaIva)("ngIfElse",jn),e.xp6(1),e.Q6J("ngIf",Ci.aplicaIVA),e.xp6(4),e.Q6J("ngClass",e.VKq(155,Da,Ci.modDocumentoCancelacion)),e.xp6(1),e.hij("",e.lcZ(135,121,"contracts.fichaTecnica.lblsGuardarCambios.documentoCancelacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modDocumentoCancelacion)("ngIfElse",da),e.xp6(1),e.Q6J("ngIf",Ci.documentoCancelacion),e.xp6(4),e.Q6J("ngClass",e.VKq(157,Da,Ci.modComentarios)),e.xp6(1),e.hij("",e.lcZ(143,123,"contracts.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ci.modComentarios)("ngIfElse",ii),e.xp6(1),e.Q6J("ngIf",Ci.comentarios)}}function QW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.financiacionMod.entidad)}}function GW(t,o){1&t&&e._UZ(0,"span",34)}function JW(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.financiacionMod.entidad)}}function WW(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.financiacionMod.percent,_.numRed))}}function HW(t,o){1&t&&e._UZ(0,"span",34)}function zW(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.financiacionMod.percent,_.numRed))}}function XW(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,QW,2,1,"span",13),e.YNc(9,GW,1,0,"span",14),e.qZA(),e.YNc(10,JW,1,1,"ng-template",null,35,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,WW,3,4,"span",13),e.YNc(17,HW,1,0,"span",14),e.qZA(),e.YNc(18,zW,2,4,"ng-template",null,36,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(14,Da,D.financiacionMod.modEntidad)),e.xp6(1),e.hij("",e.lcZ(7,10,"contracts.fichaTecnica.lblsGuardarCambios.idEntidad"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.financiacionMod.modEntidad)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",D.financiacionMod.entidad),e.xp6(4),e.Q6J("ngClass",e.VKq(16,Da,D.financiacionMod.modPercent)),e.xp6(1),e.hij("",e.lcZ(15,12,"contracts.fichaTecnica.lblsGuardarCambios.percent"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.financiacionMod.modPercent)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",D.financiacionMod.percent)}}function eH(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.medidasMod.medida)}}function tH(t,o){1&t&&e._UZ(0,"span",34)}function nH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.medidasMod.medida)}}function iH(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.medidasMod.percent,_.numRed))}}function oH(t,o){1&t&&e._UZ(0,"span",34)}function aH(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.medidasMod.percent,_.numRed))}}function sH(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.medidasMod.fechaInicio,_.dateFormat))}}function rH(t,o){1&t&&e._UZ(0,"span",34)}function cH(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.medidasMod.fechaInicio,_.dateFormat))}}function lH(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.medidasMod.fechaFin,_.dateFormat))}}function _H(t,o){1&t&&e._UZ(0,"span",34)}function pH(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.medidasMod.fechaFin,_.dateFormat))}}function dH(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,eH,2,1,"span",13),e.YNc(9,tH,1,0,"span",14),e.qZA(),e.YNc(10,nH,1,1,"ng-template",null,37,e.W1O),e.TgZ(12,"mat-list-item",11)(13,"span",12),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,iH,3,4,"span",13),e.YNc(17,oH,1,0,"span",14),e.qZA(),e.YNc(18,aH,2,4,"ng-template",null,36,e.W1O),e.TgZ(20,"mat-list-item",11)(21,"span",12),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,sH,3,4,"span",13),e.YNc(25,rH,1,0,"span",14),e.qZA(),e.YNc(26,cH,2,4,"ng-template",null,16,e.W1O),e.TgZ(28,"mat-list-item",11)(29,"span",12),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,lH,3,4,"span",13),e.YNc(33,_H,1,0,"span",14),e.qZA(),e.YNc(34,pH,2,4,"ng-template",null,17,e.W1O),e.TgZ(36,"mat-list-item",11)(37,"span",34),e._uU(38),e.ALo(39,"translate"),e.qZA(),e._uU(40),e.qZA()()()(),e.BQk()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(35),Qe=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(32,Da,Qe.medidasMod.modMedida)),e.xp6(1),e.hij("",e.lcZ(7,22,"contracts.fichaTecnica.lblsGuardarCambiosMedidas.idMedida"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.medidasMod.modMedida)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",Qe.medidasMod.medida),e.xp6(4),e.Q6J("ngClass",e.VKq(34,Da,Qe.medidasMod.modPercent)),e.xp6(1),e.hij("",e.lcZ(15,24,"contracts.fichaTecnica.lblsGuardarCambiosMedidas.percent"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.medidasMod.modPercent)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Qe.medidasMod.percent),e.xp6(4),e.Q6J("ngClass",e.VKq(36,Da,Qe.medidasMod.modFechaInicio)),e.xp6(1),e.hij("",e.lcZ(23,26,"contracts.fichaTecnica.lblsGuardarCambiosMedidas.fechaInicio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.medidasMod.modFechaInicio)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Qe.medidasMod.fechaInicio),e.xp6(4),e.Q6J("ngClass",e.VKq(38,Da,Qe.medidasMod.modFechaFin)),e.xp6(1),e.hij("",e.lcZ(31,28,"contracts.fichaTecnica.lblsGuardarCambiosMedidas.fechaFin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.medidasMod.modFechaFin)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",Qe.medidasMod.fechaFin),e.xp6(5),e.hij("",e.lcZ(39,30,"contracts.fichaTecnica.lblNumeroContratos"),":\xa0"),e.xp6(2),e.hij("",Qe.medidasMod.numeroContratos," ")}}function uH(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.presupuestoMod.anyo)}}function hH(t,o){1&t&&e._UZ(0,"span",34)}function mH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presupuestoMod.anyo)}}function gH(t,o){if(1&t&&(e.TgZ(0,"span",33),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.presupuestoMod.presupuesto,_.numRed))}}function fH(t,o){1&t&&e._UZ(0,"span",34)}function vH(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.presupuesto,_.numRed))}}function CH(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"div",10)(4,"div",20)(5,"h3",34),e._uU(6),e.ALo(7,"translate"),e.qZA()()(),e.TgZ(8,"mat-list")(9,"mat-list-item",11)(10,"span",12),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.YNc(13,uH,2,1,"span",13),e.YNc(14,hH,1,0,"span",14),e.qZA(),e.YNc(15,mH,1,1,"ng-template",null,38,e.W1O),e.TgZ(17,"mat-list-item",11)(18,"span",12),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.YNc(21,gH,3,4,"span",13),e.YNc(22,fH,1,0,"span",14),e.qZA(),e.YNc(23,vH,2,4,"ng-template",null,39,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(16),_=e.MAs(24),D=e.oxw().ngIf;
1e.xp6(6),e.Oqu(e.lcZ(7,11,"contracts.fichaTecnica.lblDistribucionPresupuesto")),e.xp6(4),e.Q6J("ngClass",e.VKq(17,Da,D.presupuestoMod.modAnyo)),e.xp6(1),e.hij("",e.lcZ(12,13,"contracts.fichaTecnica.lblAnyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.presupuestoMod.modAnyo)("ngIfElse",n),e.xp6(1),e.Q6J("ngIf",D.presupuestoMod.anyo),e.xp6(4),e.Q6J("ngClass",e.VKq(19,Da,D.presupuestoMod.modPresupuesto)),e.xp6(1),e.hij("",e.lcZ(20,15,"contracts.fichaTecnica.lblPresupuesto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.presupuestoMod.modPresupuesto)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",D.presupuestoMod.presupuesto)}}function bH(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,KW,148,159,"ng-container",5),e.YNc(6,XW,20,18,"ng-container",5),e.YNc(7,dH,41,40,"ng-container",5),e.YNc(8,CH,25,21,"ng-container",5),e.TgZ(9,"div",6)(10,"div",7)(11,"div",8)(12,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(13),e.ALo(14,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.contractName,""),e.xp6(2),e.Q6J("ngIf",_.isGeneralOperation),e.xp6(1),e.Q6J("ngIf",_.isFinancingContractOperation),e.xp6(1),e.Q6J("ngIf",_.isMeasureContractOperation),e.xp6(1),e.Q6J("ngIf",_.isBudgetContractOperation),e.xp6(5),e.Oqu(e.l
1cZ(14,7,"botones.cerrar"))}}function xH(t,o){1&t&&e._UZ(0,"app-spinner")}let AH=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.contractsService=D,this.contractName="",this.isGeneralOperation=!1,this.isMeasureContractOperation=!1,this.isFinancingContractOperation=!1,this.isBudgetContractOperation=!1,this.stop$=new Ni.x,this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.contractName=_.itemName,this.operationCode=_.operation,this.contractDetail$=this.contractsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){switch(this.operationCode){case s.C.operacion.OPERACION_GENERAL:this.isGeneralOperation=!0;break;case s.C.operacion.OPERACION_MEDIDAS_CONTRATO:this.isMeasureContractOperation=!0;break;case s.C.operacion.OPERACION_FINANCIACION_CONTRATO:this.isFinancingContractOperation=!0;break;case s.C.operacion.OPERACION_PRESUPUESTO_CONTRATADO:this.isBudgetContractOperation=!0}}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(GJ.W))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["appBold","",4,"ngIf"],["nombre",""],["fechaInicio",""],["fechaFin",""],["clavePresupuestaria",""],["plazo",""],[1,"container-subtitle","mb-2"],["fechaPublicacionLicitacion",""],["documentoLicitacion",""],["presupuestoLicitacion",""],["fechaAdjudicacion",""],["fechaPublicacionAdjudicacion",""],["presupuestoAdjudicacion",""],["presupuestoFinal",""],["adjudicatario",""],["documentoAdjudicacion",""],["aplicaIVA",""],["documentoCancelacion",""],["comentarios",""],["appHighlight",""],["appBold",""],["entidad",""],["percent",""],["medida",""],["anyo",""],["presupuesto",""]],template:function(n,_){if(1&n&&(e.YNc(0,bH,15,9,"div",0),e.ALo(1,"async"),e.YNc(2,xH,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.contractDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.uU,d.JJ],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var YA=m(1036);function EH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.nombre,"")}}function OH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function MH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.descripcion,"")}}function TH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.descripcion)}}function DH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.naturaleza,"")}}function IH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.naturaleza)}}function yH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.grupo,"")}}function SH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.grupo)}}function wH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.subgrupo,"")}}function PH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.subgrupo)}}function RH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.tipoObjetivo,"")}}function ZH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoObjetivo)}}function NH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.aplicaArticulo4,"")}}function LH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.aplicaArticulo4)}}function VH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.estado,"")}}function UH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.estado)}}function qH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.codigoEuropeo,"")}}function kH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoEuropeo)}}function FH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.planReferencia,"")}}function BH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.planReferencia)}}function $H(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.programa,"")}}function YH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.programa)}}function jH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.programa2,"")}}function KH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.programa2)}}function QH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.codigoPRTR,"")}}function GH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.codigoPRTR)}}function JH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.tipoReporting2015,"")}}function WH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.tipoReporting2015)}}function HH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.subtipoReporting2015,"")}}function zH(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.subtipoReporting2015)}}function XH(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.subtipoIPH,"")}}function ez(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.subtipoIPH)}}
1function tz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.ambito,"")}}function nz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.ambito)}}function iz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.caracter,"")}}function oz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.caracter)}}function az(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.subzona,"")}}function sz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.subzona)}}function rz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.objetivoAmbiental,"")}}function cz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.objetivoAmbiental)}}function lz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.satisfaccionDemanda,"")}}function _z(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.satisfaccionDemanda)}}function pz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.inundaciones,"")}}function dz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.inundaciones)}}function uz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.otrosUsos,"")}}function hz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.otrosUsos)}}function mz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.comentarios,"")}}function gz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarios)}}
1function fz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.referenciaLegal,"")}}function vz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.referenciaLegal)}}function Cz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.obraInteresGeneral,"")}}function bz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.obraInteresGeneral)}}function xz(t,o){if(1&t&&(e.TgZ(0,"span",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.legislacionOIG,"")}}function Az(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.legislacionOIG)}}const pa=function(t){return{modified:t}};function Ez(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,EH,2,1,"span",14),e.qZA(),e.YNc(10,OH,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",13),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,MH,2,1,"span",14),e.qZA(),e.YNc(17,TH,1,1,"ng-template",null,16,e.W1O),e.TgZ(19,"mat-list-item",12)(20,"span",13),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.YNc(23,DH,2,1,"span",14),e.qZA(),e.YNc(24,IH,1,1,"ng-template",null,17,e.W1O),e.TgZ(26,"mat-list-item",12)(27,"span",13),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.YNc(30,yH,2,1,"span",14),e.qZA(),e.YNc(31,SH,1,1,"ng-template",null,18,e.W1O),e.TgZ(33,"mat-list-item",12)(34,"span",13),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.YNc(37,wH,2,1,"span",14),e.qZA(),e.YNc(38,PH,1,1,"ng-template",null,19,e.W1O),e.TgZ(40,"mat-list-item",12)(41,"span",13),e._uU(42),e.ALo(43,"translate"),e.qZA(),e.YNc(44,RH,2,1,"span",14),e.qZA(),e.YNc(45,ZH,1,1,"ng-template",null,20,e.W1O),e.TgZ(47,"mat-list-item",12)(48,"span",13),e._uU(49),e.ALo(50,"translate"),e.qZA(),e.YNc(51,NH,2,1,"span",14),e.qZA(),e.YNc(52,LH,1,1,"ng-template",null,21,e.W1O),e.TgZ(54,"mat-list-item",12)(55,"span",13),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.YNc(58,VH,2,1,"span",14),e.qZA(),e.YNc(59,UH,1,1,"ng-template",null,22,e.W1O),e.TgZ(61,"mat-list-item",12)(62,"span",13),e._uU(63),e.ALo(64,"translate"),e.qZA(),e.YNc(65,qH,2,1,"span",14),e.qZA(),e.YNc(66,kH,1,1,"ng-template",null,23,e.W1O),e.TgZ(68,"mat-list-item",12)(69,"span",13),e._uU(70),e.ALo(71,"translate"),e.qZA(),e.YNc(72,FH,2,1,"span",14),e.qZA(),e.YNc(73,BH,1,1,"ng-template",null,24,e.W1O),e.TgZ(75,"mat-list-item",12)(76,"span",13),e._uU(77),e.ALo(78,"translate"),e.qZA(),e.YNc(79,$H,2,1,"span",14),e.qZA(),e.YNc(80,YH,1,1,"ng-template",null,25,e.W1O),e.TgZ(82,"mat-list-item",12)(83,"span",13),e._uU(84),e.ALo(85,"translate"),e.qZA(),e.YNc(86,jH,2,1,"span",14),e.qZA(),e.YNc(87,KH,1,1,"ng-template",null,26,e.W1O),e.TgZ(89,"mat-list-item",12)(90,"span",13),e._uU(91),e.ALo(92,"translate"),e.qZA(),e.YNc(93,QH,2,1,"span",14),e.qZA(),e.YNc(94,GH,1,1,"ng-template",null,27,e.W1O),e.TgZ(96,"mat-list-item",12)(97,"span",13),e._uU(98),e.ALo(99,"translate"),e.qZA(),e.YNc(100,JH,2,1,"span",14),e.qZA(),e.YNc(101,WH,1,1,"ng-template",null,28,e.W1O),e.TgZ(103,"mat-list-item",12)(104,"span",13),e._uU(105),e.ALo(106,"translate"),e.qZA(),e.YNc(107,HH,2,1,"span",14),e.qZA(),e.YNc(108,zH,1,1,"ng-template",null,29,e.W1O),e.TgZ(110,"mat-list-item",12)(111,"span",13),e._uU(112),e.ALo(113,"translate"),e.qZA(),e.YNc(114,XH,2,1,"span",14),e.qZA(),e.YNc(115,ez,1,1,"ng-template",null,30,e.W1O),e.TgZ(117,"mat-list-item",12)(118,"span",13),e._uU(119),e.ALo(120,"translate"),e.qZA(),e.YNc(121,tz,2,1,"span",14),e.qZA(),e.YNc(122,nz,1,1,"ng-template",null,31,e.W1O),e.TgZ(124,"mat-list-item",12)(125,"span",13),e._uU(126),e.ALo(127,"translate"),e.qZA(),e.YNc(128,iz,2,1,"span",14),e.qZA(),e.YNc(129,oz,1,1,"ng-template",null,32,e.W1O),e.TgZ(131,"mat-list-item",12)(132,"span",13),e._uU(133),e.ALo(134,"translate"),e.qZA(),e.YNc(135,az,2,1,"span",14),e.qZA(),e.YNc(136,sz,1,1,"ng-template",null,33,e.W1O),e.TgZ(138,"mat-list-item",12)(139,"span",13),e._uU(140),e.ALo(141,"translate"),e.qZA(),e.YNc(142,rz,2,1,"span",14),e.qZA(),e.YNc(143,cz,1,1,"ng-template",null,34,e.W1O),e.TgZ(145,"mat-list-item",12)(146,"span",13),e._uU(147),e.ALo(148,"translate"),e.qZA(),e.YNc(149,lz,2,1,"span",14),e.qZA(),e.YNc(150,_z,1,1,"ng-template",null,35,e.W1O),e.TgZ(152,"mat-list-item",12)(153,"span",13),e._uU(154),e.ALo(155,"translate"),e.qZA(),e.YNc(156,pz,2,1,"span",14),e.qZA(),e.YNc(157,dz,1,1,"ng-template",null,36,e.W1O),e.TgZ(159,"mat-list-item",12)(160,"span",13),e._uU(161),e.ALo(162,"translate"),e.qZA(),e.YNc(163,uz,2,1,"span",14),e.qZA(),e.YNc(164,hz,1,1,"ng-template",null,37,e.W1O),e.TgZ(166,"mat-list-item",12)(167,"span",13),e._uU(168),e.ALo(169,"translate"),e.qZA(),e.YNc(170,mz,2,1,"span",14),e.qZA(),e.YNc(171,gz,1,1,"ng-template",null,38,e.W1O),e.TgZ(173,"mat-list-item",12)(174,"span",13),e._uU(175),e.ALo(176,"translate"),e.qZA(),e.YNc(177,fz,2,1,"span",14),e.qZA(),e.YNc(178,vz,1,1,"ng-template",null,39,e.W1O),e.TgZ(180,"mat-list-item",12)(181,"span",13),e._uU(182),e.ALo(183,"translate"),e.qZA(),e.YNc(184,Cz,2,1,"span",14),e.qZA(),e.YNc(185,bz,1,1,"ng-template",null,40,e.W1O),e.TgZ(187,"mat-list-item",12)(188,"span",13),e._uU(189),e.ALo(190,"translate"),e.qZA(),e.YNc(191,xz,2,1,"span",14),e.qZA(),e.YNc(192,Az,1,1,"ng-template",null,41,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.MAs(25),ue=e.MAs(32),Qe=e.MAs(39),je=e.MAs(46),Zt=e.MAs(53),qe=e.MAs(60),tn=e.MAs(67),mn=e.MAs(74),mi=e.MAs(81),Rn=e.MAs(88),dn=e.MAs(95),si=e.MAs(102),jn=e.MAs(109),da=e.MAs(116),ii=e.MAs(123),Ci=e.MAs(130),is=e.MAs(137),Li=e.MAs(144),Pn=e.MAs(151),hr=e.MAs(158),bi=e.MAs(165),vc=e.MAs(172),Cc=e.MAs(179),bc=e.MAs(186),qi=e.MAs(193),Ki=e.oxw().ngIf;
1e.xp6(3),e.Oqu(e.lcZ(4,109,"measures.fichaTecnica.lblDatosGenerales")),e.xp6(3),e.Q6J("ngClass",e.VKq(165,pa,Ki.modNombre)),e.xp6(1),e.hij(" ",e.lcZ(8,111,"measures.fichaGeneral.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(167,pa,Ki.modDescripcion)),e.xp6(1),e.hij(" ",e.lcZ(15,113,"measures.fichaTecnica.lblDescripcion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modDescripcion)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(169,pa,Ki.modNaturaleza)),e.xp6(1),e.hij(" ",e.lcZ(22,115,"measures.fichaTecnica.lblNaturaleza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modNaturaleza)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(171,pa,Ki.modGrupo)),e.xp6(1),e.hij(" ",e.lcZ(29,117,"measures.fichaTecnica.lblGrupo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modGrupo)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(173,pa,Ki.modSubgrupo)),e.xp6(1),e.hij(" ",e.lcZ(36,119,"measures.fichaTecnica.lblSubgrupo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modSubgrupo)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(175,pa,Ki.modTipoObjetivo)),e.xp6(1),e.hij(" ",e.lcZ(43,121,"measures.fichaTecnica.lblTipoObjetivo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modTipoObjetivo)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(177,pa,Ki.modAplicaArticulo4)),e.xp6(1),e.hij(" ",e.lcZ(50,123,"measures.fichaTecnica.lblAplicaArticulo4"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modAplicaArticulo4)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(179,pa,Ki.modEstado)),e.xp6(1),e.hij(" ",e.lcZ(57,125,"measures.fichaTecnica.lblEstado"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modEstado)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(181,pa,Ki.modCodigoEuropeo)),e.xp6(1),e.hij(" ",e.lcZ(64,127,"measures.fichaTecnica.lblCodigoEuropeo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modCodigoEuropeo)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(183,pa,Ki.modPlanReferencia)),e.xp6(1),e.hij(" ",e.lcZ(71,129,"measures.fichaTecnica.lblPlanReferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modPlanReferencia)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(185,pa,Ki.modPrograma)),e.xp6(1),e.hij(" ",e.lcZ(78,131,"measures.fichaTecnica.lblPrograma"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modPrograma)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(187,pa,Ki.modPrograma2)),e.xp6(1),e.hij(" ",e.lcZ(85,133,"measures.fichaTecnica.lblPrograma2"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modPrograma2)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(189,pa,Ki.modCodigoPRTR)),e.xp6(1),e.hij(" ",e.lcZ(92,135,"measures.fichaTecnica.lblCodigoPRTR"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modCodigoPRTR)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(191,pa,Ki.modTipoReporting2015)),e.xp6(1),e.hij(" ",e.lcZ(99,137,"measures.fichaTecnica.lblReporting"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modTipoReporting2015)("ngIfElse",si),e.xp6(4),e.Q6J("ngClass",e.VKq(193,pa,Ki.modSubtipoReporting2015)),e.xp6(1),e.hij(" ",e.lcZ(106,139,"measures.fichaTecnica.lblSubtipoReporting"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modSubtipoReporting2015)("ngIfElse",jn),e.xp6(4),e.Q6J("ngClass",e.VKq(195,pa,Ki.modSubtipoIPH)),e.xp6(1),e.hij(" ",e.lcZ(113,141,"measures.fichaTecnica.lblSubtipoIPH"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modSubtipoIPH)("ngIfElse",da),e.xp6(4),e.Q6J("ngClass",e.VKq(197,pa,Ki.modAmbito)),e.xp6(1),e.hij(" ",e.lcZ(120,143,"measures.fichaTecnica.lblAmbito"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modAmbito)("ngIfElse",ii),e.xp6(4),e.Q6J("ngClass",e.VKq(199,pa,Ki.modCaracter)),e.xp6(1),e.hij(" ",e.lcZ(127,145,"measures.fichaTecnica.lblCaracter"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modCaracter)("ngIfElse",Ci),e.xp6(4),e.Q6J("ngClass",e.VKq(201,pa,Ki.modSubzona)),e.xp6(1),e.hij(" ",e.lcZ(134,147,"measures.fichaTecnica.lblSubzona"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modSubzona)("ngIfElse",is),e.xp6(4),e.Q6J("ngClass",e.VKq(203,pa,Ki.modObjetivoAmbiental)),e.xp6(1),e.hij(" ",e.lcZ(141,149,"measures.fichaTecnica.lblObjetivosAmbientales"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modObjetivoAmbiental)("ngIfElse",Li),e.xp6(4),e.Q6J("ngClass",e.VKq(205,pa,Ki.modSatisfaccionDemanda)),e.xp6(1),e.hij(" ",e.lcZ(148,151,"measures.fichaTecnica.lblSatisfaccionDemandas"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modSatisfaccionDemanda)("ngIfElse",Pn),e.xp6(4),e.Q6J("ngClass",e.VKq(207,pa,Ki.modInundaciones)),e.xp6(1),e.hij(" ",e.lcZ(155,153,"measures.fichaTecnica.lblInundaciones"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modInundaciones)("ngIfElse",hr),e.xp6(4),e.Q6J("ngClass",e.VKq(209,pa,Ki.modOtrosUsos)),e.xp6(1),e.hij(" ",e.lcZ(162,155,"measures.fichaTecnica.lblOtrosUsos"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modOtrosUsos)("ngIfElse",bi),e.xp6(4),e.Q6J("ngClass",e.VKq(211,pa,Ki.modComentarios)),e.xp6(1),e.hij(" ",e.lcZ(169,157,"measures.fichaTecnica.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modComentarios)("ngIfElse",vc),e.xp6(4),e.Q6J("ngClass",e.VKq(213,pa,Ki.modReferenciaLegal)),e.xp6(1),e.hij(" ",e.lcZ(176,159,"measures.fichaTecnica.lblReferenciaLegal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modReferenciaLegal)("ngIfElse",Cc),e.xp6(4),e.Q6J("ngClass",e.VKq(215,pa,Ki.modObraInteresGeneral)),e.xp6(1),e.hij(" ",e.lcZ(183,161,"measures.fichaTecnica.lblObraIntGeneral"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modObraInteresGeneral)("ngIfElse",bc),e.xp6(4),e.Q6J("ngClass",e.VKq(217,pa,Ki.modLegislacionOIG)),e.xp6(1),e.hij(" ",e.lcZ(190,163,"measures.fichaTecnica.lblLegislacionOIG"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Ki.modLegislacionOIG)("ngIfElse",qi)}}
1function Oz(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Ez,194,219,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.measureName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(5),e.Oqu(e.lcZ(13,4,"botones.cerrar"))}}function Mz(t,o){1&t&&e._UZ(0,"app-spinner")}let Tz=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.measuresProgramService=D,this.measureName="",this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.measureName=_.itemName,this.operationCode=_.operation,this.measureDetail$=this.measuresProgramService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(YA.v))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"container-subtitle"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["descripcion",""],["naturaleza",""],["grupo",""],["subgrupo",""],["tipoObjetivo",""],["aplicaArticulo4",""],["estado",""],["codigoEuropeo",""],["planReferencia",""],["programa",""],["programa2",""],["codigoPRTR",""],["tipoReporting2015",""],["subtipoReporting2015",""],["subtipoIPH",""],["ambito",""],["caracter",""],["subzona",""],["objetivoAmbiental",""],["satisfaccionDemanda",""],["inundaciones",""],["otrosUsos",""],["comentarios",""],["referenciaLegal",""],["obraInteresGeneral",""],["legislacionOIG",""],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Oz,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,Mz,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.measureDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function Dz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;
1e.xp6(1),e.hij(" ",n.masaMod.tipoMasa,"")}}function Iz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.masaMod.tipoMasa)}}function yz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.masaMod.nombre,"")}}function Sz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.masaMod.nombre)}}const ur=function(t){return{modified:t}};function wz(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,Dz,2,1,"span",14),e.qZA(),e.YNc(10,Iz,1,1,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",13),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,yz,2,1,"span",14),e.qZA(),e.YNc(17,Sz,1,1,"ng-template",null,16,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.oxw().ngIf;e.xp6(3),e.Oqu(e.lcZ(4,9,"measures.fichaTecnica.elementosRelacionados.titleMasaAgua")),e.xp6(3),e.Q6J("ngClass",e.VKq(15,ur,D.masaMod.modTipoMasa)),e.xp6(1),e.hij(" ",e.lcZ(8,11,"measures.fichaTecnica.elementosRelacionados.lblsGuardarCambios.tipoMasaId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.masaMod.modTipoMasa)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(17,ur,D.masaMod.modNombre)),e.xp6(1),e.hij(" ",e.lcZ(15,13,"measures.fichaTecnica.elementosRelacionados.lblsGuardarCambios.id"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.masaMod.modNombre)("ngIfElse",_)}}function Pz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.usoMod.tipoUso,"")}}function Rz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.usoMod.tipoUso)}}function Zz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.usoMod.nombre,"")}}function Nz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.usoMod.nombre)}}function Lz(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,Pz,2,1,"span",14),e.qZA(),e.YNc(10,Rz,1,1,"ng-template",null,18,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",13),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,Zz,2,1,"span",14),e.qZA(),e.YNc(17,Nz,1,1,"ng-template",null,16,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.oxw().ngIf;e.xp6(3),e.Oqu(e.lcZ(4,9,"measures.fichaTecnica.elementosRelacionados.titleUsoAgua")),e.xp6(3),e.Q6J("ngClass",e.VKq(15,ur,D.usoMod.modTipoUso)),e.xp6(1),e.hij(" ",e.lcZ(8,11,"measures.fichaTecnica.elementosRelacionados.lblsUsoGuardarCambios.tipoUsoId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.usoMod.modTipoUso)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(17,ur,D.usoMod.modNombre)),e.xp6(1),e.hij(" ",e.lcZ(15,13,"measures.fichaTecnica.elementosRelacionados.lblsUsoGuardarCambios.id"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.usoMod.modNombre)("ngIfElse",_)}}function Vz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presionMod.tipoPresion,"")}}function Uz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presionMod.tipoPresion)}}function qz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presionMod.nombre,"")}}function kz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presionMod.nombre)}}function Fz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presionMod.efectoMedida,"")}}function Bz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presionMod.efectoMedida)}}function $z(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,Vz,2,1,"span",14),e.qZA(),e.YNc(10,Uz,1,1,"ng-template",null,19,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",13),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,qz,2,1,"span",14),e.qZA(),e.YNc(17,kz,1,1,"ng-template",null,16,e.W1O),e.TgZ(19,"mat-list-item",12)(20,"span",13),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.YNc(23,Fz,2,1,"span",14),e.qZA(),e.YNc(24,Bz,1,1,"ng-template",null,20,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.MAs(25),ue=e.oxw().ngIf;
1e.xp6(3),e.Oqu(e.lcZ(4,13,"measures.fichaTecnica.elementosRelacionados.titlePresion")),e.xp6(3),e.Q6J("ngClass",e.VKq(21,ur,ue.presionMod.modTipoPresion)),e.xp6(1),e.hij(" ",e.lcZ(8,15,"measures.fichaTecnica.elementosRelacionados.lblsPresionGuardarCambios.tipoPresionId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.presionMod.modTipoPresion)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(23,ur,ue.presionMod.modNombre)),e.xp6(1),e.hij(" ",e.lcZ(15,17,"measures.fichaTecnica.elementosRelacionados.lblsPresionGuardarCambios.id"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.presionMod.modNombre)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,ur,ue.presionMod.modEfectoMedida)),e.xp6(1),e.hij(" ",e.lcZ(22,19,"measures.fichaTecnica.elementosRelacionados.lblsPresionGuardarCambios.efectoMedidaId"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.presionMod.modEfectoMedida)("ngIfElse",D)}}function Yz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.poblacionMod.pais,"")}}function jz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.poblacionMod.pais)}}function Kz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.poblacionMod.comunidadAutonoma,"")}}function Qz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.poblacionMod.comunidadAutonoma)}}function Gz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.poblacionMod.provincia,"")}}function Jz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.poblacionMod.provincia)}}
1function Wz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.poblacionMod.municipio,"")}}function Hz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.poblacionMod.municipio)}}function zz(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.poblacionMod.nucleo,"")}}function Xz(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.poblacionMod.nucleo)}}function eX(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,Yz,2,1,"span",14),e.qZA(),e.YNc(10,jz,1,1,"ng-template",null,21,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",13),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,Kz,2,1,"span",14),e.qZA(),e.YNc(17,Qz,1,1,"ng-template",null,22,e.W1O),e.TgZ(19,"mat-list-item",12)(20,"span",13),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.YNc(23,Gz,2,1,"span",14),e.qZA(),e.YNc(24,Jz,1,1,"ng-template",null,23,e.W1O),e.TgZ(26,"mat-list-item",12)(27,"span",13),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.YNc(30,Wz,2,1,"span",14),e.qZA(),e.YNc(31,Hz,1,1,"ng-template",null,24,e.W1O),e.TgZ(33,"mat-list-item",12)(34,"span",13),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.YNc(37,zz,2,1,"span",14),e.qZA(),e.YNc(38,Xz,1,1,"ng-template",null,25,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.MAs(25),ue=e.MAs(32),Qe=e.MAs(39),je=e.oxw().ngIf;e.xp6(3),e.Oqu(e.lcZ(4,21,"measures.fichaTecnica.elementosRelacionados.titlePoblaciones")),e.xp6(3),e.Q6J("ngClass",e.VKq(33,ur,je.poblacionMod.modPais)),e.xp6(1),e.hij(" ",e.lcZ(8,23,"measures.fichaTecnica.elementosRelacionados.lblsPoblacionGuardarCambios.idPais"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.poblacionMod.modPais)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(35,ur,je.poblacionMod.modComunidadAutonoma)),e.xp6(1),e.hij(" ",e.lcZ(15,25,"measures.fichaTecnica.elementosRelacionados.lblsPoblacionGuardarCambios.idComunidadAutonoma"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.poblacionMod.modComunidadAutonoma)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(37,ur,je.poblacionMod.modProvincia)),e.xp6(1),e.hij(" ",e.lcZ(22,27,"measures.fichaTecnica.elementosRelacionados.lblsPoblacionGuardarCambios.idProvincia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.poblacionMod.modProvincia)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(39,ur,je.poblacionMod.modMunicipio)),e.xp6(1),e.hij(" ",e.lcZ(29,29,"measures.fichaTecnica.elementosRelacionados.lblsPoblacionGuardarCambios.idMunicipio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.poblacionMod.modMunicipio)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(41,ur,je.poblacionMod.modNucleo)),e.xp6(1),e.hij(" ",e.lcZ(36,31,"measures.fichaTecnica.elementosRelacionados.lblsPoblacionGuardarCambios.idNucleo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",je.poblacionMod.modNucleo)("ngIfElse",Qe)}}function tX(t,o){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.comentarioMod.comentario,"")}}function nX(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.comentarioMod.comentario)}}function iX(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",12)(2,"span",13),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,tX,2,1,"span",14),e.qZA(),e.YNc(6,nX,1,1,"ng-template",null,26,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(6,ur,_.comentarioMod.modComentario)),e.xp6(1),e.hij(" ",e.lcZ(4,4,"measures.fichaTecnica.elementosRelacionados.lblsGuardarCambios.comentario"),":\xa0"),e.xp6(2),e.Q6J("ngIf",_.comentarioMod.modComentario)("ngIfElse",n)}}function oX(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,wz,19,19,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",6),e.YNc(10,Lz,19,19,"mat-list",7),e.qZA()(),e.TgZ(11,"div",5)(12,"div",6),e.YNc(13,$z,26,27,"mat-list",7),e.qZA()(),e.TgZ(14,"div",5)(15,"div",6),e.YNc(16,eX,40,43,"mat-list",7),e.qZA()(),e.TgZ(17,"div",5)(18,"div",6),e.YNc(19,iX,8,8,"mat-list",7),e.qZA()(),e.TgZ(20,"div",5)(21,"div",8)(22,"div",9)(23,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(24),e.ALo(25,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.measureName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionMasas),e.xp6(3),e.Q6J("ngIf",_.operationCode==_.operacionUsos),e.xp6(3),e.Q6J("ngIf",_.operationCode==_.operacionPresiones),e.xp6(3),e.Q6J("ngIf",_.operationCode==_.operacionPoblaciones),e.xp6(3),e.Q6J("ngIf",_.operationCode==_.operacionComentarios),e.xp6(
15),e.Oqu(e.lcZ(25,8,"botones.cerrar"))}}function aX(t,o){1&t&&e._UZ(0,"app-spinner")}let sX=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.measuresProgramService=D,this.measureName="",this.operacionMasas=s.C.operacion.OPERACION_MASAS,this.operacionUsos=s.C.operacion.OPERACION_USOS,this.operacionPoblaciones=s.C.operacion.OPERACION_POBLACIONES,this.operacionPresiones=s.C.operacion.OPERACION_PRESIONES,this.operacionComentarios=s.C.operacion.ELEMENTOS_RELACIONADOS_COMENTARIOS,this.measureName=_.itemName,this.operationCode=_.operation,this.measureDetail$=this.measuresProgramService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(YA.v))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-related-elements"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"container-subtitle"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["tipoMasa",""],["nombre",""],["appHighlight",""],["tipoUso",""],["tipoPresion",""],["efectoMedida",""],["pais",""],["comunidadAutonoma",""],["provincia",""],["municipio",""],["nucleo",""],["comentario",""]],template:function(n,_){if(1&n&&(e.YNc(0,oX,26,10,"div",0),e.ALo(1,"async"),e.YNc(2,aX,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.measureDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function rX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.annoReferencia,_.numRed),"")}}function cX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.annoReferencia,_.numRed))}}function lX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.inversionPrevista,_.numRed),"")}}function _X(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.inversionPrevista,_.numRed))}}function pX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.inversionReal,_.numRed),"")}}function dX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.inversionReal,_.numRed))}}function uX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.fechaInicio,_.shortDateFormat),"")}}function hX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.fechaInicio,_.shortDateFormat))}}function mX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.fechaFin,_.shortDateFormat),"")}}function gX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.fechaFin,_.shortDateFormat))}}function fX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.vidaUtil,_.numRed),"")}}function vX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.vidaUtil,_.numRed))}}function CX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.costeAnualEquivalente,_.numRed),"")}}function bX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.costeAnualEquivalente,_.numRed))}}function xX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.costeAnualExplotacion,_.numRed),"")}}function AX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.costeAnualExplotacion,_.numRed))}}function EX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoMod.tasaDescuento,_.numRed),"")}}function OX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoMod.tasaDescuento,_.numRed))}}function MX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presupuestoMod.documento,"")}}function TX(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presupuestoMod.documento)}}function DX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presupuestoMod.entidadEjecutora,"")}}function IX(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presupuestoMod.entidadEjecutora)}}function yX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presupuestoMod.entidadEjecutoraDetalle,"")}}function SX(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presupuestoMod.entidadEjecutoraDetalle)}}function wX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presupuestoMod.entidadCompetente,"")}}function PX(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presupuestoMod.entidadCompetente)}}function RX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presupuestoMod.comentarios,"")}}function ZX(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presupuestoMod.comentarios)}}const ps=function(t){return{modified:t}};function NX(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,rX,3,4,"span",14),e.qZA(),e.YNc(10,cX,2,4,"ng-template",null,15,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",13),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,lX,3,4,"span",14),e.qZA(),e.YNc(17,_X,2,4,"ng-template",null,16,e.W1O),e.TgZ(19,"mat-list-item",12)(20,"span",13),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.YNc(23,pX,3,4,"span",14),e.qZA(),e.YNc(24,dX,2,4,"ng-template",null,17,e.W1O),e.TgZ(26,"mat-list-item",12)(27,"span",13),e._uU(28),e.ALo(29,"translate"),e.qZA(),e.YNc(30,uX,3,4,"span",14),e.qZA(),e.YNc(31,hX,2,4,"ng-template",null,18,e.W1O),e.TgZ(33,"mat-list-item",12)(34,"span",13),e._uU(35),e.ALo(36,"translate"),e.qZA(),e.YNc(37,mX,3,4,"span",14),e.qZA(),e.YNc(38,gX,2,4,"ng-template",null,19,e.W1O),e.TgZ(40,"mat-list-item",12)(41,"span",13),e._uU(42),e.ALo(43,"translate"),e.qZA(),e.YNc(44,fX,3,4,"span",14),e.qZA(),e.YNc(45,vX,2,4,"ng-template",null,20,e.W1O),e.TgZ(47,"mat-list-item",12)(48,"span",13),e._uU(49),e.ALo(50,"translate"),e.qZA(),e.YNc(51,CX,3,4,"span",14),e.qZA(),e.YNc(52,bX,2,4,"ng-template",null,21,e.W1O),e.TgZ(54,"mat-list-item",12)(55,"span",13),e._uU(56),e.ALo(57,"translate"),e.qZA(),e.YNc(58,xX,3,4,"span",14),e.qZA(),e.YNc(59,AX,2,4,"ng-template",null,22,e.W1O),e.TgZ(61,"mat-list-item",12)(62,"span",13),e._uU(63),e.ALo(64,"translate"),e.qZA(),e.YNc(65,EX,3,4,"span",14),e.qZA(),e.YNc(66,OX,2,4,"ng-template",null,23,e.W1O),e.TgZ(68,"mat-list-item",12)(69,"span",13),e._uU(70),e.ALo(71,"translate"),e.qZA(),e.YNc(72,MX,2,1,"span",14),e.qZA(),e.YNc(73,TX,1,1,"ng-template",null,24,e.W1O),e.TgZ(75,"mat-list-item",12)(76,"span",13),e._uU(77),e.ALo(78,"translate"),e.qZA(),e.YNc(79,DX,2,1,"span",14),e.qZA(),e.YNc(80,IX,1,1,"ng-template",null,25,e.W1O),e.TgZ(82,"mat-list-item",12)(83,"span",13),e._uU(84),e.ALo(85,"translate"),e.qZA(),e.YNc(86,yX,2,1,"span",14),e.qZA(),e.YNc(87,SX,1,1,"ng-template",null,26,e.W1O),e.TgZ(89,"mat-list-item",12)(90,"span",13),e._uU(91),e.ALo(92,"translate"),e.qZA(),e.YNc(93,wX,2,1,"span",14),e.qZA(),e.YNc(94,PX,1,1,"ng-template",null,27,e.W1O),e.TgZ(96,"mat-list-item",12)(97,"span",13),e._uU(98),e.ALo(99,"translate"),e.qZA(),e.YNc(100,RX,2,1,"span",14),e.qZA(),e.YNc(101,ZX,1,1,"ng-template",null,28,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.MAs(25),ue=e.MAs(32),Qe=e.MAs(39),je=e.MAs(46),Zt=e.MAs(53),qe=e.MAs(60),tn=e.MAs(67),mn=e.MAs(74),mi=e.MAs(81),Rn=e.MAs(88),dn=e.MAs(95),si=e.MAs(102),jn=e.oxw().ngIf;
1e.xp6(3),e.Oqu(e.lcZ(4,57,"measures.fichaTecnica.presupuestos.lblPresupuesto")),e.xp6(3),e.Q6J("ngClass",e.VKq(87,ps,jn.presupuestoMod.modAnnoReferencia)),e.xp6(1),e.hij(" ",e.lcZ(8,59,"measures.fichaTecnica.presupuestos.lblAnyoReferencia"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modAnnoReferencia)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(89,ps,jn.presupuestoMod.modInversionPrevista)),e.xp6(1),e.hij(" ",e.lcZ(15,61,"measures.fichaTecnica.presupuestos.lblInversionPrevistaPHD"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modInversionPrevista)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(91,ps,jn.presupuestoMod.modInversionReal)),e.xp6(1),e.hij(" ",e.lcZ(22,63,"measures.fichaTecnica.presupuestos.lblInversionReal"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modInversionReal)("ngIfElse",D),e.xp6(4),e.Q6J("ngClass",e.VKq(93,ps,jn.presupuestoMod.modFechaInicio)),e.xp6(1),e.hij(" ",e.lcZ(29,65,"measures.fichaTecnica.presupuestos.lblFechaInicio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modFechaInicio)("ngIfElse",ue),e.xp6(4),e.Q6J("ngClass",e.VKq(95,ps,jn.presupuestoMod.modFechaFin)),e.xp6(1),e.hij(" ",e.lcZ(36,67,"measures.fichaTecnica.presupuestos.lblFechaFin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modFechaFin)("ngIfElse",Qe),e.xp6(4),e.Q6J("ngClass",e.VKq(97,ps,jn.presupuestoMod.modVidaUtil)),e.xp6(1),e.hij(" ",e.lcZ(43,69,"measures.fichaTecnica.presupuestos.lblVidaUtil"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modVidaUtil)("ngIfElse",je),e.xp6(4),e.Q6J("ngClass",e.VKq(99,ps,jn.presupuestoMod.modCosteAnualEquivalente)),e.xp6(1),e.hij(" ",e.lcZ(50,71,"measures.fichaTecnica.presupuestos.lblCosteAnualEquivalente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modCosteAnualEquivalente)("ngIfElse",Zt),e.xp6(4),e.Q6J("ngClass",e.VKq(101,ps,jn.presupuestoMod.modCosteAnualExplotacion)),e.xp6(1),e.hij(" ",e.lcZ(57,73,"measures.fichaTecnica.presupuestos.lblCosteAnualExplotacion"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modCosteAnualExplotacion)("ngIfElse",qe),e.xp6(4),e.Q6J("ngClass",e.VKq(103,ps,jn.presupuestoMod.modTasaDescuento)),e.xp6(1),e.hij(" ",e.lcZ(64,75,"measures.fichaTecnica.presupuestos.lblTasaDescuento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modTasaDescuento)("ngIfElse",tn),e.xp6(4),e.Q6J("ngClass",e.VKq(105,ps,jn.presupuestoMod.modDocumento)),e.xp6(1),e.hij(" ",e.lcZ(71,77,"measures.fichaTecnica.presupuestos.lblDocumento"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modDocumento)("ngIfElse",mn),e.xp6(4),e.Q6J("ngClass",e.VKq(107,ps,jn.presupuestoMod.modEntidadEjecutora)),e.xp6(1),e.hij(" ",e.lcZ(78,79,"measures.fichaTecnica.presupuestos.lblEntidadEjecutora"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modEntidadEjecutora)("ngIfElse",mi),e.xp6(4),e.Q6J("ngClass",e.VKq(109,ps,jn.presupuestoMod.modEntidadEjecutoraDetalle)),e.xp6(1),e.hij(" ",e.lcZ(85,81,"measures.fichaTecnica.presupuestos.lblEntidadEjecutoraDetalle"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modEntidadEjecutoraDetalle)("ngIfElse",Rn),e.xp6(4),e.Q6J("ngClass",e.VKq(111,ps,jn.presupuestoMod.modEntidadCompetente)),e.xp6(1),e.hij(" ",e.lcZ(92,83,"measures.fichaTecnica.presupuestos.lblEntidadCompetente"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modEntidadCompetente)("ngIfElse",dn),e.xp6(4),e.Q6J("ngClass",e.VKq(113,ps,jn.presupuestoMod.modComentarios)),e.xp6(1),e.hij(" ",e.lcZ(99,85,"measures.fichaTecnica.presupuestos.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",jn.presupuestoMod.modComentarios)("ngIfElse",si)}}function LX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.financiacionMod.entidad,"")}}function VX(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.financiacionMod.entidad)}}function UX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.financiacionMod.percent,_.numRed),"")}}function qX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.financiacionMod.percent,_.numRed))}}function kX(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,LX,2,1,"span",14),e.qZA(),e.YNc(10,VX,1,1,"ng-template",null,30,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",13),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,UX,3,4,"span",14),e.qZA(),e.YNc(17,qX,2,4,"ng-template",null,31,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.oxw().ngIf;
1e.xp6(3),e.Oqu(e.lcZ(4,9,"measures.fichaTecnica.presupuestos.lblFinanciacion")),e.xp6(3),e.Q6J("ngClass",e.VKq(15,ps,D.financiacionMod.modEntidad)),e.xp6(1),e.hij(" ",e.lcZ(8,11,"measures.fichaTecnica.presupuestos.tablas.entidadesFinanciacion.entidadFinanciadora"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.financiacionMod.modEntidad)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(17,ps,D.financiacionMod.modPercent)),e.xp6(1),e.hij(" ",e.lcZ(15,13,"measures.fichaTecnica.presupuestos.tablas.entidadesFinanciacion.porcentaje"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.financiacionMod.modPercent)("ngIfElse",_)}}function FX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.presupuestoAnualMod.anyo,"")}}function BX(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.presupuestoAnualMod.anyo)}}function $X(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoAnualMod.presupuesto,_.numRed),"")}}function YX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoAnualMod.presupuesto,_.numRed))}}function jX(t,o){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.hij(" ",e.xi3(2,1,n.presupuestoAnualMod.iva,_.numRed),"")}}function KX(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.presupuestoAnualMod.iva,_.numRed))}}function QX(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,FX,2,1,"span",14),e.qZA(),e.YNc(10,BX,1,1,"ng-template",null,32,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",13),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,$X,3,4,"span",14),e.qZA(),e.YNc(17,YX,2,4,"ng-template",null,33,e.W1O),e.TgZ(19,"mat-list-item",12)(20,"span",13),e._uU(21),e.ALo(22,"translate"),e.qZA(),e.YNc(23,jX,3,4,"span",14),e.qZA(),e.YNc(24,KX,2,4,"ng-template",null,34,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(18),D=e.MAs(25),ue=e.oxw().ngIf;e.xp6(3),e.Oqu(e.lcZ(4,13,"measures.fichaTecnica.presupuestos.lblPresupuestoAnual")),e.xp6(3),e.Q6J("ngClass",e.VKq(21,ps,ue.presupuestoAnualMod.modAnyo)),e.xp6(1),e.hij(" ",e.lcZ(8,15,"measures.fichaTecnica.presupuestos.tablas.presupuestoPorAnyos.anyo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.presupuestoAnualMod.modAnyo)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(23,ps,ue.presupuestoAnualMod.modPresupuesto)),e.xp6(1),e.hij(" ",e.lcZ(15,17,"measures.fichaTecnica.presupuestos.tablas.presupuestoPorAnyos.presupuesto"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.presupuestoAnualMod.modPresupuesto)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(25,ps,ue.presupuestoAnualMod.modIva)),e.xp6(1),e.hij(" ",e.lcZ(22,19,"measures.fichaTecnica.presupuestos.tablas.presupuestoPorAnyos.iva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.presupuestoAnualMod.modIva)("ngIfElse",D)}}function GX(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,NX,103,115,"mat-list",7),e.YNc(8,kX,19,19,"mat-list",7),e.YNc(9,QX,26,27,"mat-list",7),e.qZA()(),e.TgZ(10,"div",5)(11,"div",8)(12,"div",9)(13,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(14),e.ALo(15,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.measureName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionPresupuesto),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionFinanciacion),e.xp6(1),e.Q6J("ngIf",_.operationCode==_.operacionPresupuestoAnual),e.xp6(5),e.Oqu(e.l
1cZ(15,6,"botones.cerrar"))}}function JX(t,o){1&t&&e._UZ(0,"app-spinner")}let WX=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.measuresProgramService=D,this.measureName="",this.numRed=s.C.numRed,this.shortDateFormat=s.C.shortDateFormat,this.operacionPresupuesto=s.C.operacion.OPERACION_PRESUPUESTO,this.operacionFinanciacion=s.C.operacion.OPERACION_PRESUPUESTO_FINANCIACION,this.operacionPresupuestoAnual=s.C.operacion.OPERACION_PRESUPUESTO_ANYOS,this.measureName=_.itemName,this.operationCode=_.operation,this.measureDetail$=this.measuresProgramService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(YA.v))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-budget"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"container-subtitle"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["annoReferencia",""],["inversionPrevista",""],["inversionReal",""],["fechaInicio",""],["fechaFin",""],["vidaUtil",""],["costeAnualEquivalente",""],["costeAnualExplotacion",""],["tasaDescuento",""],["documento",""],["entidadEjecutora",""],["entidadEjecutoraDetalle",""],["entidadCompetente",""],["comentarios",""],["appHighlight",""],["entidad",""],["percent",""],["anyo",""],["presupuesto",""],["iva",""]],template:function(n,_){if(1&n&&(e.YNc(0,GX,16,8,"div",0),e.ALo(1,"async"),e.YNc(2,JX,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.measureDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ,d.uU],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();function HX(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.TgZ(9,"span",14),e._uU(10),e.qZA()(),e.TgZ(11,"mat-list-item",12)(12,"span",13),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"span",14),e._uU(16),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.Oqu(e.lcZ(4,5,"actuations.fichaTecnica.lblsElementosRelacionados.lblNuevaPresion")),e.xp6(4),e.hij(" ",e.lcZ(8,7,"actuations.fichaTecnica.lblsElementosRelacionados.lblTipoPresion"),":\xa0"),e.xp6(3),e.hij(" ",n.presionMod.tipo,""),e.xp6(3),e.hij(" ",e.lcZ(14,9,"actuations.fichaTecnica.lblsElementosRelacionados.lblNombre"),":\xa0"),e.xp6(3),e.hij(" ",n.presionMod.nombre,"")}}function zX(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.TgZ(9,"span",14),e._uU(10),e.qZA()(),e.TgZ(11,"mat-list-item",12)(12,"span",13),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"span",14),e._uU(16),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.Oqu(e.lcZ(4,5,"actuations.fichaTecnica.lblsElementosRelacionados.lblNuevoElemento")),e.xp6(4),e.hij(" ",e.lcZ(8,7,"actuations.fichaTecnica.lblsElementosRelacionados.lblTipoElemento"),":\xa0"),e.xp6(3),e.hij(" ",n.elementoMod.tipo,""),e.xp6(3),e.hij(" ",e.lcZ(14,9,"actuations.fichaTecnica.lblsElementosRelacionados.lblNombre"),":\xa0"),e.xp6(3),e.hij(" ",n.elementoMod.nombre,"")}}function XX(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.TgZ(9,"span",14),e._uU(10),e.qZA()()()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.Oqu(e.lcZ(4,3,"actuations.fichaTecnica.lblsElementosRelacionados.lblNuevoNucleo")),e.xp6(4),e.hij(" ",e.lcZ(8,5,"actuations.fichaTecnica.lblsElementosRelacionados.lblNombre"),":\xa0"),e.xp6(3),e.hij(" ",n.nucleoMod.nombre,"")}}function eee(t,o){if(1&t&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",n.medidaMod.nombre,"")}}function tee(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.medidaMod.nombre)}}function nee(t,o){if(1&t&&(e.TgZ(0,"span",14),e._uU(1),e.ALo(2,"number"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.medidaMod.percent,_.numRed))}}function iee(t,o){1&t&&e._UZ(0,"span",13)}function oee(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.medidaMod.percent,_.numRed))}}function aee(t,o){if(1&t&&(e.TgZ(0,"span",14),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.medidaMod.fechaInicio,_.dateFormat))}}function see(t,o){1&t&&e._UZ(0,"span",13)}function ree(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.medidaMod.fechaInicio,_.dateFormat))}}function cee(t,o){if(1&t&&(e.TgZ(0,"span",14),e._uU(1),e.ALo(2,"date"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,n.medidaMod.fechaFin,_.dateFormat))}}function lee(t,o){1&t&&e._UZ(0,"span",13)}function _ee(t,o){if(1&t&&(e._uU(0),e.ALo(1,"date")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.Oqu(e.xi3(1,1,n.medidaMod.fechaFin,_.dateFormat))}}const jA=function(t){return{modified:t}};function pee(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"div",11)(2,"h3"),e._uU(3),e.ALo(4,"translate"),e.qZA()(),e.TgZ(5,"mat-list-item",12)(6,"span",13),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.YNc(9,eee,2,1,"span",15),e.qZA(),e.YNc(10,tee,1,1,"ng-template",null,16,e.W1O),e.TgZ(12,"mat-list-item",12)(13,"span",17),e._uU(14),e.ALo(15,"translate"),e.qZA(),e.YNc(16,nee,3,4,"span",15),e.YNc(17,iee,1,0,"span",18),e.qZA(),e.YNc(18,oee,2,4,"ng-template",null,19,e.W1O),e.TgZ(20,"mat-list-item",12)(21,"span",17),e._uU(22),e.ALo(23,"translate"),e.qZA(),e.YNc(24,aee,3,4,"span",15),e.YNc(25,see,1,0,"span",18),e.qZA(),e.YNc(26,ree,2,4,"ng-template",null,20,e.W1O),e.TgZ(28,"mat-list-item",12)(29,"span",17),e._uU(30),e.ALo(31,"translate"),e.qZA(),e.YNc(32,cee,3,4,"span",15),e.YNc(33,lee,1,0,"span",18),e.qZA(),e.YNc(34,_ee,2,4,"ng-template",null,21,e.W1O),e.qZA()),2&t){const n=e.MAs(11),_=e.MAs(19),D=e.MAs(27),ue=e.MAs(35),Qe=e.oxw().ngIf;
1e.xp6(3),e.Oqu(e.lcZ(4,19,"actuations.fichaTecnica.lblsElementosRelacionados.lblNuevaMedida")),e.xp6(4),e.hij(" ",e.lcZ(8,21,"actuations.fichaTecnica.lblsElementosRelacionados.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.medidaMod.modMedida)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(29,jA,Qe.medidaMod.modPercent)),e.xp6(1),e.hij("",e.lcZ(15,23,"actuations.fichaTecnica.lblsElementosRelacionados.lblsGuardarCambiosMedidas.percent"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.medidaMod.modPercent)("ngIfElse",_),e.xp6(1),e.Q6J("ngIf",Qe.medidaMod.percent),e.xp6(4),e.Q6J("ngClass",e.VKq(31,jA,Qe.medidaMod.modFechaInicio)),e.xp6(1),e.hij("",e.lcZ(23,25,"actuations.fichaTecnica.lblsElementosRelacionados.lblsGuardarCambiosMedidas.fechaInicio"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.medidaMod.modFechaInicio)("ngIfElse",D),e.xp6(1),e.Q6J("ngIf",Qe.medidaMod.fechaInicio),e.xp6(4),e.Q6J("ngClass",e.VKq(33,jA,Qe.medidaMod.modFechaFin)),e.xp6(1),e.hij("",e.lcZ(31,27,"actuations.fichaTecnica.lblsElementosRelacionados.lblsGuardarCambiosMedidas.fechaFin"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Qe.medidaMod.modFechaFin)("ngIfElse",ue),e.xp6(1),e.Q6J("ngIf",Qe.medidaMod.fechaFin)}}function dee(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,HX,17,11,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",6),e.YNc(10,zX,17,11,"mat-list",7),e.qZA()(),e.TgZ(11,"div",5)(12,"div",6),e.YNc(13,XX,11,7,"mat-list",7),e.qZA()(),e.TgZ(14,"div",5)(15,"div",6),e.YNc(16,pee,36,35,"mat-list",7),e.qZA()(),e.TgZ(17,"div",5)(18,"div",8)(19,"div",9)(20,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(21),e.ALo(22,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.actuationName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionPresiones),e.xp6(3),e.Q6J("ngIf",_.operationCode==_.operacionMasas),e.xp6(3),e.Q6J("ngIf",_.operationCode==_.operacionPoblaciones),e.xp6(3),e.Q6J("ngIf",_.operationCode==_.operacionMedidas),e.xp6(5),e.Oqu(e.l
1cZ(22,7,"botones.cerrar"))}}function uee(t,o){1&t&&e._UZ(0,"app-spinner")}let hee=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.actuationService=D,this.actuationName="",this.numRed=s.C.numRed,this.dateFormat=s.C.dateFormat,this.operacionPresiones=s.C.operacion.OPERACION_PRESIONES_ACTUACION,this.operacionMasas=s.C.operacion.OPERACION_ELEMENTOS_ACTUACION,this.operacionPoblaciones=s.C.operacion.OPERACION_NUCLEOS_ACTUACION,this.operacionMedidas=s.C.operacion.OPERACION_MEDIDAS_ACTUACION,this.actuationName=_.itemName,this.operationCode=_.operation,this.actuationDetail$=this.actuationService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(l.I))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-related-elements"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"container-subtitle"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appHighlight",""],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["appBold","",3,"ngClass"],["appBold","",4,"ngIf"],["percent",""],["fechaInicio",""],["fechaFin",""]],template:function(n,_){if(1&n&&(e.YNc(0,dee,23,9,"div",0),e.ALo(1,"async"),e.YNc(2,uee,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.actuationDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,S.Z,d.mk,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ,d.uU],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var mee=m(7470),zE=m(1273);function gee(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.habitatMasaMod.codigo)}}function fee(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.habitatMasaMod.codigo)}}function vee(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.habitatMasaMod.nombre)}}function Cee(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.habitatMasaMod.nombre)}}const fu=function(t){return{modified:t}};function bee(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,gee,2,1,"span",13),e.qZA(),e.YNc(9,fee,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,vee,2,1,"span",13),e.qZA(),e.YNc(16,Cee,1,1,"ng-template",null,15,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.oxw().ngIf;e.xp6(5),e.Q6J("ngClass",e.VKq(12,fu,D.habitatMasaMod.modHabitat)),e.xp6(1),e.hij(" ",e.lcZ(7,8,"tablas.tablaHabitats.codigo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.habitatMasaMod.modHabitat)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,fu,D.habitatMasaMod.modHabitat)),e.xp6(1),e.hij(" ",e.lcZ(14,10,"tablas.tablaHabitats.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.habitatMasaMod.modHabitat)("ngIfElse",_)}}function xee(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.especieMasaMod.codigo)}}function Aee(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.especieMasaMod.codigo)}}function Eee(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.especieMasaMod.nombreCientifico)}}function Oee(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.especieMasaMod.nombreCientifico)}}function Mee(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.especieMasaMod.nombre)}}function Tee(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.especieMasaMod.nombre)}}function Dee(t,o){if(1&t&&(e.ynx(0),e.TgZ(1,"div",6)(2,"div",10)(3,"mat-list")(4,"mat-list-item",11)(5,"span",12),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.YNc(8,xee,2,1,"span",13),e.qZA(),e.YNc(9,Aee,1,1,"ng-template",null,14,e.W1O),e.TgZ(11,"mat-list-item",11)(12,"span",12),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.YNc(15,Eee,2,1,"span",13),e.qZA(),e.YNc(16,Oee,1,1,"ng-template",null,17,e.W1O),e.TgZ(18,"mat-list-item",11)(19,"span",12),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.YNc(22,Mee,2,1,"span",13),e.qZA(),e.YNc(23,Tee,1,1,"ng-template",null,15,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=e.MAs(10),_=e.MAs(17),D=e.MAs(24),ue=e.oxw().ngIf;
1e.xp6(5),e.Q6J("ngClass",e.VKq(18,fu,ue.especieMasaMod.modEspecie)),e.xp6(1),e.hij(" ",e.lcZ(7,12,"tablas.tablaEspecies.codigo"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.especieMasaMod.modEspecie)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(20,fu,ue.especieMasaMod.modEspecie)),e.xp6(1),e.hij(" ",e.lcZ(14,14,"tablas.tablaEspecies.nombreCientifico"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.especieMasaMod.modEspecie)("ngIfElse",_),e.xp6(4),e.Q6J("ngClass",e.VKq(22,fu,ue.especieMasaMod.modEspecie)),e.xp6(1),e.hij(" ",e.lcZ(21,16,"tablas.tablaEspecies.nombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",ue.especieMasaMod.modEspecie)("ngIfElse",D)}}function Iee(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,bee,18,16,"ng-container",5),e.YNc(6,Dee,25,24,"ng-container",5),e.TgZ(7,"div",6)(8,"div",7)(9,"div",8)(10,"button",9),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",n.nombre,""),e.xp6(2),e.Q6J("ngIf",_.operacionHabitats===_.operationCode),e.xp6(1),e.Q6J("ngIf",_.operacionSpecies===_.operationCode),e.xp6(5),e.hij(" ",e.lcZ(12,5,"botones.cerrar")," ")}}function yee(t,o){1&t&&e._UZ(0,"app-spinner")}let KA=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.factoryService=D,this.numRed=s.C.numRed,this.operacionHabitats=s.C.operacion.OPERACION_HABITATS,this.operacionSpecies=s.C.operacion.OPERACION_HABITATS_ESPECIES,this.operationCode=_.operation,this.entityType=_.entityType;try{const ue=this.factoryService.getService(_.entityType);"getComparacionVersion"in ue?this.swbDetail$=ue.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation):console.warn(`El servicio de la entidad ${mee.c.getEntityName(_.entityType)} no tiene m\xe9todo getComparacionVersion`)}catch(ue){console.error(ue)}}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zE.L))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes-habitats-especies"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["codigo",""],["nombre",""],["appHighlight",""],["nombreCientifico",""]],template:function(n,_){if(1&n&&(e.YNc(0,Iee,13,7,"div",0),e.ALo(1,"async"),e.YNc(2,yee,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.swbDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})();var See=m(8093);function wee(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).ngIf;e.xp6(1),e.Oqu(n.nombre)}}function Pee(t,o){if(1&t&&e._uU(0),2&t){const n=e.oxw(2).ngIf;e.Oqu(n.nombre)}}function Ree(t,o){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.ALo(2,"number"),e.ALo(3,"translate"),e.qZA()),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.xp6(1),e.AsE("",e.xi3(2,2,n.reservaPHD,_.numRed)," ",e.lcZ(3,5,"unidades.hm3Anyo"),"")}}function Zee(t,o){if(1&t&&(e._uU(0),e.ALo(1,"number"),e.ALo(2,"translate")),2&t){const n=e.oxw(2).ngIf,_=e.oxw();e.AsE("",e.xi3(1,2,n.reservaPHD,_.numRed)," ",e.lcZ(2,5,"unidades.hm3Anyo"),"")}}const XE=function(t){return{modified:t}};function Nee(t,o){if(1&t&&(e.TgZ(0,"mat-list")(1,"mat-list-item",11)(2,"span",12),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.YNc(5,wee,2,1,"span",13),e.qZA(),e.YNc(6,Pee,1,1,"ng-template",null,14,e.W1O),e.TgZ(8,"mat-list-item",11)(9,"span",12),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,Ree,4,7,"span",13),e.qZA(),e.YNc(13,Zee,3,7,"ng-template",null,15,e.W1O),e.qZA()),2&t){const n=e.MAs(7),_=e.MAs(14),D=e.oxw().ngIf;e.xp6(2),e.Q6J("ngClass",e.VKq(12,XE,D.modNombre)),e.xp6(1),e.hij("",e.lcZ(4,8,"exploitationSystems.fichaTecnica.lblNombre"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.modNombre)("ngIfElse",n),e.xp6(4),e.Q6J("ngClass",e.VKq(14,XE,D.modReservaPHD)),e.xp6(1),e.hij("",e.lcZ(11,10,"exploitationSystems.fichaTecnica.lblReserva"),":\xa0"),e.xp6(2),e.Q6J("ngIf",D.modReservaPHD)("ngIfElse",_)}}function Lee(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,Nee,15,16,"mat-list",7),e.qZA()(),e.TgZ(8,"div",5)(9,"div",8)(10,"div",9)(11,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",n.id," - ",_.exploitationSystemName,""),e.xp6(4),e.Q6J("ngIf",_.operationCode==_.operacionGeneral),e.xp6(5),e.Oqu(e.l
1cZ(13,4,"botones.cerrar"))}}function Vee(t,o){1&t&&e._UZ(0,"app-spinner")}let Uee=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.exploitationSystemsService=D,this.exploitationSystemName="",this.numRed=s.C.numRed,this.operacionGeneral=s.C.operacion.OPERACION_GENERAL,this.dateFormat=s.C.dateFormat,this.stop$=new Ni.x,this.exploitationSystemName=_.itemName,this.operationCode=_.operation,this.exploitationSystemDetail$=this.exploitationSystemsService.getComparacionVersion(Number(_.gid),Number(_.gidVersion),_.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}ngOnDestroy(){this.stop$.next(!0)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(See.X))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-version-changes"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["nombre",""],["reservaPHD",""],["appHighlight",""]],template:function(n,_){if(1&n&&(e.YNc(0,Lee,14,6,"div",0),e.ALo(1,"async"),e.YNc(2,Vee,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,_.exploitationSystemDetail$))("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,d.mk,S.Z,R.lW,q.O],pipes:[d.Ov,w.X$,d.JJ],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.modified[_ngcontent-%COMP%]{color:red}"]}),t})();function qee(t,o){if(1&t){const n=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.TgZ(5,"div",5)(6,"div",6)(7,"mat-list")(8,"div",7)(9,"h3"),e._uU(10),e.qZA()(),e.TgZ(11,"mat-list-item",8)(12,"span",9),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"span",10),e._uU(16),e.qZA()(),e.TgZ(17,"mat-list-item",8)(18,"span",9),e._uU(19),e.ALo(20,"translate"),e.qZA(),e.TgZ(21,"span",10),e._uU(22),e.qZA()()()()(),e.TgZ(23,"div",5)(24,"div",11)(25,"div",12)(26,"button",13),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeDialog()}),e._uU(27),e.ALo(28,"translate"),e.qZA()()()()()}if(2&t){const n=o.ngIf,_=e.oxw();e.xp6(3),e.AsE("",_.entityId," - ",_.entityName,""),e.xp6(7),e.Oqu(n.tipo),e.xp6(3),e.hij(" ",e.lcZ(14,8,"dialogos.elementosRelacionados.codigo"),":\xa0"),e.xp6(3),e.hij(" ",n.codigo,""),e.xp6(3),e.hij(" ",e.lcZ(20,10,"dialogos.elementosRelacionados.nombre"),":\xa0"),e.xp6(3),e.hij(" ",n.nombre,""),e.xp6(5),e.Oqu(e.l
1cZ(28,12,"botones.cerrar"))}}function kee(t,o){1&t&&e._UZ(0,"app-spinner")}let Fee=(()=>{class t{constructor(n,_,D){this.dialogRef=n,this.data=_,this.factoryService=D,this.entityName="",this.entityType=_.relatedElementDialogInfo.entityType,this.entityId=_.relatedElementDialogInfo.gid,this.entityName=_.relatedElementDialogInfo.itemName,this.loadService(),this.service.getComparacionVersion(Number(_.relatedElementDialogInfo.gid),Number(_.relatedElementDialogInfo.gidVersion),_.relatedElementDialogInfo.operation,Number(_.relatedElementDialogInfo.relElemType)).subscribe(ue=>{this.entityDetail=ue.elementoRelacionadoMod})}loadService(){if(this.entityType)try{this.service=this.factoryService.getService(this.entityType)}catch(n){console.error(n)}}closeDialog(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.so),e.Y36(i.WI),e.Y36(zE.L))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-related-element-version-changes"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[1,"container-subtitle"],[1,"bar-gradient","h-auto","py-2"],["appBold","",1,"modified"],["appHighlight",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"]],template:function(n,_){if(1&n&&(e.YNc(0,qee,29,14,"div",0),e.YNc(1,kee,1,0,"ng-template",null,1,e.W1O)),2&n){const D=e.MAs(2);e.Q6J("ngIf",_.entityDetail)("ngIfElse",D)}},directives:[d.O5,A.d,C.i$,C.Tg,T.M,S.Z,R.lW,q.O],pipes:[w.X$],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),t})(),Bee=(()=>{class t{constructor(n){this.dialog=n}openMessageDialog(n,_){return this.dialog.open(ru,{width:"500px",data:{title:n,content:_}}).afterClosed()}openConfirmDialog(n,_){return this.dialog.open(h1,{width:"500px",data:{title:n,content:_}}).afterClosed()}openRelatedElementDialog(n){return this.dialog.open(Fee,{width:"70vw",maxHeight:"90vh",data:{relatedElementDialogInfo:n}}).afterClosed()}openVersionDialog(n,_,D,ue,Qe){let je;return Qe===s.C.tipoEntidad.rios?je=to:Qe===s.C.tipoEntidad.lagos?je=cs:Qe===s.C.tipoEntidad.manantiales?je=ce:Qe===s.C.tipoEntidad.estacionesSeguimientoSub?je=zo:Qe===s.C.tipoEntidad.programasSeguimientoSub?je=Xo:Qe===s.C.tipoEntidad.masasSubterraneas?je=D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_SUELO_EDAFICO||D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_VULN_CONTAMINA?oI:D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_SISTEMA_ASO?iS:D===s.C.operacion.OPERACION_OBJETIVOS_GENERALES||D===s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS?bS:D===s.C.operacion.OPERACION_MSB_EXPLOTA_ACTUAL_INDICES||D===s.C.operacion.OPERACION_MSB_EXPLOTA_DERECHOS_DE_USO?RS:D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_RECURSO||D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_RECARGA||D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_RECARGA_ARTIFICIAL?H4:D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_HIDROGEO_LIMITE||D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_HIDROGEO_ACUIFERO||D===s.C.operacion.OPERACION_MASAS_SUBTERRANEAS_HIDROGEO?aU:D===s.C.operacion.OPERACION_MSB_CALIDAD_QUIMICA_NIVEL_REFERENCIA||D===s.C.operacion.OPERACION_MSB_CALIDAD_QUIMICA_NIVEL_ANUAL||D===s.C.operacion.OPERACION_MSB_CALIDAD_QUIMICA_VALOR_UMBRAL?sU.$:D===s.C.operacion.OPERACION_ESTADOS_ESTADO_INDICADORES_MASAS_AGUA?LY:D===s.C.operacion.OPERACION_PIEZOMETRIA?BY:On:Qe===s.C.tipoEntidad.balsas?je=D===s.C.operacion.OPERACION_CURVAS?Xm:D===s.C.operacion.OPERACION_REGLAS_EXPLOTACION?ag:Ua:Qe===s.C.tipoEntidad.canales?je=D===s.C.operacion.OPERACION_TOMA_AGUAS||D===s.C.operacion.OPERACION_RETORNO_AGUAS||D===s.C.operacion.OPERACION_INFRAESTRUCTURA?$p:D===s.C.operacion.OPERACION_USOS_VOLUMENES?RC:I1:Qe===s.C.tipoEntidad.presas?je=D===s.C.operacion.OPERACION_USOS?Og:D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO?Ks:l0:Qe===s.C.tipoEntidad.embalses?je=D===s.C.operacion.OPERACION_CURVAS?O0:D===s.C.operacion.OPERACION_REGLAS_EXPLOTACION?Z0:Sg:Qe===s.C.tipoEntidad.estacionesSeguimientoSup?je=Rr:Qe===s.C.tipoEntidad.programasSeguimientoSup?je=Cu:Qe===s.C.tipoEntidad.vertidos?je=D===s.C.operacion.OPERACION_RELEVANCIA_PRESION?Tb:D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO?Wm:J1:Qe===s.C.tipoEntidad.obstaculosLongitudinales?je=D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO?Ks:Kg:Qe===s.C.tipoEntidad.puntosMuestreo?je=rE:Qe===s.C.tipoEntidad.puntosDesbordamiento?je=D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO?Ks:Tx:Qe===s.C.tipoEntidad.reservaNaturalFluvial?je=D===s.C.operacion.VALORES_INTERES?eA:D===s.C.operacion.LEGISLACIONES?AE:D===s.C.operacion.MEDIDAS_PROTECCION?y_:Sx:Qe===s.C.tipoEntidad.areaProtegidaEspecial?je=D===s.C.operacion.VALORES_INTERES?_A:D===s.C.operacion.LEGISLACIONES?zf:D===s.C.operacion.MEDIDAS_PROTECCION?bE:vA:Qe===s.C.tipoEntidad.areasProtegidas?je=D===s.C.operacion.LEGISLACIONES?qE:D===s.C.operacion.OPERACION_HABITATS?zt:D===s.C.operacion.OPERACION_HABITATS_ESPECIES?p:D===s.C.operacion.OPERACION_HABITATS_TIPOLOGIA?uu:D===s.C.operacion.OPERACION_ESPECIES_TIPOLOGIA?Vs:SA:Qe===s.C.tipoEntidad.masasAguaCanal?je=D===s.C.operacion.OPERACION_USOS?
1yE:D===s.C.operacion.OPERACION_OBJETIVOS_GENERALES?NE:D===s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS?p1:D===s.C.operacion.OPERACION_PRESIONES_MASAS_AGUA?FE:D===s.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA||D===s.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA||D===s.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA?NM:D===s.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASAS_AGUA||D===s.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA?TT:s1:Qe===s.C.tipoEntidad.abastecimientoSubterraneo?je=D===s.C.operacion.LEGISLACIONES?DO:cO:Qe===s.C.tipoEntidad.abastecimientoSuperficial?je=D===s.C.operacion.LEGISLACIONES?RO:xO:Qe===s.C.tipoEntidad.tramosPiscicolas?je=D===s.C.operacion.LEGISLACIONES?qO:H1:Qe===s.C.tipoEntidad.zonasSensibles?je=D===s.C.operacion.LEGISLACIONES?jO:Lr:Qe===s.C.tipoEntidad.zonasVulnerables?je=D===s.C.operacion.LEGISLACIONES?HO:e2:Qe===s.C.tipoEntidad.aguasTermales?je=D===s.C.operacion.LEGISLACIONES?lM:mp:Qe===s.C.tipoEntidad.zonasRecreativas?je=D===s.C.operacion.LEGISLACIONES?mM:fp:Qe===s.C.tipoEntidad.zonasHumedas?je=D===s.C.operacion.LEGISLACIONES?iM:vp:Qe===s.C.tipoEntidad.demandasUrbanas?je=D===s.C.operacion.OPERACION_UDU_CALIDADGARANTIAS?Eb:D===s.C.operacion.OPERACION_UDU_RESERVAS?Bm:Zv:Qe===s.C.tipoEntidad.demandaUrbanaUnidadElemental?je=Kv:Qe===s.C.tipoEntidad.demandaIndustrial?je=Ph:Qe===s.C.tipoEntidad.demandaIndustrialUnidadElemental?je=nC:Qe===s.C.tipoEntidad.unidadesElementales?je=D===s.C.operacion.OPERACION_UEL_TENDENCIAS?WC:D===s.C.operacion.OPERACION_TOMA_AGUAS||D===s.C.operacion.OPERACION_RETORNO_AGUAS||D===s.C.operacion.OPERACION_INFRAESTRUCTURA?w2:Lp:Qe===s.C.tipoEntidad.usosAgricolas?je=D===s.C.operacion.OPERACION_UDA_TENDENCIAS?Hp:D===s.C.operacion.OPERACION_UDA_CALIDAD?vb:D===s.C.operacion.OPERACION_UDA_RESERVAS?lm:nd:Qe===s.C.tipoEntidad.contaminacionSuperficial?je=D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO?Ks:KT:Qe===s.C.tipoEntidad.contaminacionSubterranea?je=D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO?Ks:gD:Qe===s.C.tipoEntidad.vertedero?je=ND:Qe===s.C.tipoEntidad.extraccionAguas?je=D===s.C.operacion.OPERACION_INFO_CONCESIONAL?Yy:D===s.C.operacion.OPERACION_BOMBEO_EXTRACCIONES||D===s.C.operacion.OPERACION_ENTUBACION_EXTRACCIONES||D===s.C.operacion.OPERACION_PERFORACION_EXTRACCIONES||D===s.C.operacion.OPERACION_POZO_EXTRACCIONES||D===s.C.operacion.OPERACION_GALERIA_EXTRACCIONES||D===s.C.operacion.OPERACION_AZUD_EMBALSE_EXTRACCIONES?My:$I:Qe===s.C.tipoEntidad.masasLago?je=D===s.C.operacion.OPERACION_OBJETIVOS_GENERALES||D===s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS?WS:D===s.C.operacion.OPERACION_PRESIONES_MASAS_AGUA?Nw:D===s.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA||D===s.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA||D===s.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA?tP:D===s.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASAS_AGUA||D===s.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA?KP:D===s.C.operacion.OPERACION_HIDROMORFOLOGIA?fR:D===s.C.operacion.OPERACION_CAUDALES_ECOLOGICOS_MASAS_AGUA?dw.Y:D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO?Ks:D===s.C.operacion.OPERACION_HABITATS||D===s.C.operacion.OPERACION_HABITATS_ESPECIES?KA:lR:Qe===s.C.tipoEntidad.masasEmbalses?je=D===s.C.operacion.OPERACION_OBJETIVOS_GENERALES||D===s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS?h3:D===s.C.operacion.OPERACION_CAUDALES_ECOLOGICOS_MASAS_AGUA?pw.Y:D===s.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA||D===s.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA||D===s.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA?eN:D===s.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASAS_AGUA||D===s.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA?zN:D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO?Ks:D===s.C.operacion.OPERACION_HABITATS||D===s.C.operacion.OPERACION_HABITATS_ESPECIES?KA:_w:Qe===s.C.tipoEntidad.masasRio?je=D===s.C.operacion.OPERACION_OBJETIVOS_GENERALES||D===s.C.operacion.OPERACION_OBJETIVOS_CONCRETOS?yw:D===s.C.operacion.OPERACION_PRESIONES_MASAS_AGUA?YE:D===s.C.operacion.OPERACION_HIDROMORFOLOGIA||D===s.C.operacion.OPERACION_HIDROMORFOLOGIA_PARAMETROS_EVALUADOS||D===s.C.operacion.OPERACION_HIDROMORFOLOGIA_DESCRIPCION_DETALLADA?Sw.e:D===s.C.operacion.OPERACION_CAUDALES_ECOLOGICOS_MASA
1S_AGUA?ww.Y:D===s.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA||D===s.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA||D===s.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA?f4:D===s.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASAS_AGUA||D===s.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA?WL:D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO||D===s.C.operacion.OPERACION_RELEVANCIA_IMPACTO_OCUPACION?Ks:D===s.C.operacion.OPERACION_HABITATS||D===s.C.operacion.OPERACION_HABITATS_ESPECIES?KA:ZZ:Qe===s.C.tipoEntidad.otrosAbastecimientos?je=hq:Qe===s.C.tipoEntidad.centralesTermicas?je=h5:Qe===s.C.tipoEntidad.usosRecreativos?je=X5:Qe===s.C.tipoEntidad.usosPublicos?je=Uk:Qe===s.C.tipoEntidad.usosPrivados?je=d7:Qe===s.C.tipoEntidad.usosAcuicolas?je=tB:Qe===s.C.tipoEntidad.centralesHidro?je=D===s.C.operacion.OPERACION_TOMA_AGUAS||D===s.C.operacion.OPERACION_RETORNO_AGUAS||D===s.C.operacion.OPERACION_INFRAESTRUCTURA?ej:Z8:Qe===s.C.tipoEntidad.otrosUsos?je=$$:Qe===s.C.tipoEntidad.industria?je=mY:Qe===s.C.tipoEntidad.demandasGanaderas?je=Ud:Qe===s.C.tipoEntidad.demandaGanaderaUnidadElemental?je=kf:Qe===s.C.tipoEntidad.nucleo?je=IK:Qe===s.C.tipoEntidad.explotacionesGanaderas?je=LQ:Qe===s.C.tipoEntidad.regadios?je=QJ:Qe===s.C.tipoEntidad.contratos?je=AH:Qe===s.C.tipoEntidad.medidas?je=D===s.C.operacion.OPERACION_PRESUPUESTO||D===s.C.operacion.OPERACION_PRESUPUESTO_FINANCIACION||D===s.C.operacion.OPERACION_PRESUPUESTO_FONDOS_UE||D===s.C.operacion.OPERACION_PRESUPUESTO_ANYOS?WX:D===s.C.operacion.OPERACION_MASAS||D===s.C.operacion.OPERACION_USOS||D===s.C.operacion.OPERACION_POBLACIONES||D===s.C.operacion.OPERACION_PRESIONES||D===s.C.operacion.ELEMENTOS_RELACIONADOS_COMENTARIOS?sX:Tz:Qe===s.C.tipoEntidad.actuaciones?je=D===s.C.operacion.OPERACION_ACTUACIONES_PROGRAMAS?Zn:D===s.C.operacion.OPERACION_MEDIDAS_ACTUACION||D===s.C.operacion.OPERACION_PRESIONES_ACTUACION||D===s.C.operacion.OPERACION_ELEMENTOS_ACTUACION||D===s.C.operacion.OPERACION_NUCLEOS_ACTUACION?hee:gt:Qe===s.C.tipoEntidad.sistemasExplotacion&&(je=Uee),this.dialog.open(je,{width:"70vw",maxHeight:"90vh",data:{gid:n,gidVersion:_,operation:D,itemName:ue,entityType:Qe}}).afterClosed()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(i.uw))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"any"}),t})()},1273:(Yt,Ze,m)=>{"use strict";m.d(Ze,{L:()=>k});var i=m(3179),s=m(4739),e=m(3280),l=m(2595),d=m(5088),A=m(1908),C=m(91),T=m(8830),S=m(1108),R=m(7470),q=m(5e3);const w={[i.C.tipoEntidad.masasRio]:S.F,[i.C.tipoEntidad.masasLago]:C.z,[i.C.tipoEntidad.masasEmbalses]:T.r,[i.C.tipoEntidad.lagos]:s.$,[i.C.tipoEntidad.zonasHumedas]:A.X,[i.C.tipoEntidad.extraccionAguas]:e.k,[i.C.tipoEntidad.abastecimientoSuperficial]:d.h,[i.C.tipoEntidad.abastecimientoSubterraneo]:l.X};let k=(()=>{class h{constructor(E){this.injector=E,this.servicesMap=w}getService(E){const c=this.servicesMap[E];if(!c)throw new Error(`Servicio no encontrado para el tipo: ${R.c.getEntityName(E)}`);return this.injector.get(c)}}return h.\u0275fac=function(E){return new(E||h)(q.LFG(q.zs3))},h.\u0275prov=q.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},4209:(Yt,Ze,m)=>{"use strict";m.d(Ze,{U:()=>R});var i=m(520),s=m(5625),e=m(262),l=m(2843),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894);let R=(()=>{class q{constructor(k,h,O,E,c){this.http=k,this.configService=h,this.dialogModelService=O,this.translate=E,this.injector=c,this.api_path="",this.mirame_path="",this.provinces_api_path="",this.municipality_api_path="",this.metadatosFoto_api_path="",this.tipologiaCalidadVersionado_api_path="",this.origenVersionado_api_path="",this.agregarFoto_api_path="",this.guardarFoto_api_path="",this.fotosPtesValidar_api_path="",this.elementosCercanos_api_path="",this.elementosCercanos_ordenados_api_path="",this.descartarFoto_api_path="",this.agregarRelacionFoto_a
1pi_path="",this.borrarFoto_api_path="",this.parametrizacionInforme_api_path="",this.generarInforme_api_path="",this.importarDatos_api_path="",this.comboDistanciaElementosRelacionados_api_path="",this.comboDistanciaElemRelaTipoEntidad_api_path="",this.comboUsos_api_path="",this.comboTipoCota_api_path="",this.comboPropietario_api_path="",this.localities_api_path="",this.comboAnyosPorEscenarios_api_path="",this.actualizarFoto_api_path="",this.comboInformesReport_api_path="",this.municipioPorCoord_api_path="",this.provinciaPorCoord_api_path="",this.api_export_excelRevelaDuero="",this.flodZone_api_path="",this.stages_api_path="",this.existeDocumento_api_path="",this.extensionFoto_api_path="",this.tamanoMaximoFicheros_api_path="",q.dialogModelService=this.dialogModelService,q.translate=this.translate,q.injector=this.injector,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.provinces_api_path=this.configService.getApi("global","provincias"),this.municipality_api_path=this.configService.getApi("global","municipios"),this.metadatosFoto_api_path=this.configService.getApi("global","metadatosFoto"),this.tipologiaCalidadVersionado_api_path=this.configService.getApi("global","tipologiaCalidadVersionado"),this.origenVersionado_api_path=this.configService.getApi("global","origenVersionado"),this.agregarFoto_api_path=this.configService.getApi("global","agregarFoto"),this.guardarFoto_api_path=this.configService.getApi("global","guardarFoto"),this.fotosPtesValidar_api_path=this.configService.getApi("global","fotosPtesValidar"),this.elementosCercanos_api_path=this.configService.getApi("global","elementosCercanos"),this.elementosCercanos_ordenados_api_path=this.configService.getApi("global","elementosCercanosOrdenados"),this.descartarFoto_api_path=this.configService.getApi("global","descartarFoto"),this.agregarRelacionFoto_a
1pi_path=this.configService.getApi("global","agregarRelacionFoto"),this.borrarFoto_api_path=this.configService.getApi("global","borrarFoto"),this.parametrizacionInforme_api_path=this.configService.getApi("global","parametrizacionInforme"),this.generarInforme_api_path=this.configService.getApi("global","generarInforme"),this.importarDatos_api_path=this.configService.getApi("global","importarDatos"),this.comboDistanciaElementosRelacionados_api_path=this.configService.getApi("global","comboDistanciaElementosRelacionados"),this.comboDistanciaElemRelaTipoEntidad_api_path=this.configService.getApi("global","comboDistanciaElemosRelaTipoEntidad"),this.comboUsos_api_path=this.configService.getApi("global","usos"),this.comboTipoCota_api_path=this.configService.getApi("global","tipoCota"),this.comboPropietario_api_path=this.configService.getApi("global","comboPropietario"),this.localities_api_path=this.configService.getApi("global","localidades"),this.comboAnyosPorEscenarios_api_path=this.configService.getApi("global","comboAnyosPorEscenarios"),this.actualizarFoto_api_path=this.configService.getApi("global","actualizarFoto"),this.comboInformesReport_api_path=this.configService.getApi("global","getComboInformes"),this.municipioPorCoord_api_path=this.configService.getApi("global","municipioPorCoord"),this.provinciaPorCoord_api_path=this.configService.getApi("global","provinciaPorCoord"),this.api_export_excelRevelaDuero=this.configService.getApi("global","exportRevelaDuero"),this.flodZone_api_path=this.configService.getApi("operaciones","floodZone"),this.stages_api_path=this.configService.getApi("global","getEscenarios"),this.existeDocumento_api_path=this.configService.getApi("global","existeFichero"),this.extensionFoto_api_path=this.configService.getApi("global","extensionFoto"),this.tamanoMaximoFicheros_api_path=this.configService.getApi("global","tamanoMaximoFicheros")}getProvinces(){return this.http.get(this.api_path+this.provinces_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getUsos(){return this.http.get(this.api_path+this.comboUsos_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getMunicipalitiesByProvId(k){return this.http.get(this.api_path+this.municipality_api_path+k).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getMetadatosFoto(k){return this.http.get(this.api_path+this.metadatosFoto_api_path+k).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getTipologiaCalidadVersionado(){return this.http.get(this.api_path+this.tipologiaCalidadVersionado_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getOrigenVersionado(){return this.http.get(this.api_path+this.origenVersionado_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}agregarFoto(k){return this.http.post(this.mirame_path+this.agregarFoto_api_path,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}guardarFoto(k,h){return this.http.post(this.mirame_path+this.guardarFoto_api_path+h,k).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getFotosPtesValidar(k,h,O,E){let c=new i.LE;return c=c.append("pageNumber",k||"0"),c=c.append("pageSize",h||"10"),c=c.append("tipoOrdenacion",O||d.C.TipoOrdenacion.DESCENDENTE),c=c.append("campoOrdenacion",E||"id"),this.http.get(this.mirame_path+this.fotosPtesValidar_api_path,{params:c}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getElementosCercanos(k){return this.http.get(this.api_path+this.elementosCercanos_api_path+k).pipe((0,s.X)(1),(0,e.K)(this.handleError))}descartarFoto(k){return this.http.post(this.mirame_path+this.descartarFoto_api_path+k,{}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}agregarRelacionFoto(k){return this.http.post(this.mirame_path+this.agregarRelacionFoto_a
1pi_path,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}borrarFoto(k,h,O){return this.http.post(`${this.mirame_path}${this.borrarFoto_api_path}${k}/${h}/${O}`,{}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getParametrizacionInforme(k){return this.http.get(this.api_path+this.parametrizacionInforme_api_path+k).pipe((0,s.X)(1),(0,e.K)(this.handleError))}generarInformeEspecifico(k,h,O){return this.http.get(`${this.api_path}${this.generarInforme_api_path}${k}/${h}/${O}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}generarInformeEspecificoImagen(k,h,O,E){return this.http.post(`${this.api_path}${this.generarInforme_api_path}${k}/${h}/${O}`,E,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}importarArchivo(k){return this.http.post(this.mirame_path+this.importarDatos_api_path,k).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getComboDistanciaElementosRelacionados(){return this.http.get(this.api_path+this.comboDistanciaElementosRelacionados_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getComboDistanciaElemRelaPorTipoEntidad(k){return this.http.get(this.api_path+this.comboDistanciaElemRelaTipoEntidad_api_path+k).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getPlantilla(k){return this.http.get(`./img/templates/${k}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getDocument(k){return this.http.get(`./img/actuaciones/${k}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getDocumentSubcuencas(k){return this.http.get(`./img/subcuencas_recursos_2021/${k}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getDocumentAbastecimientos(k){return this.http.get(`./img/actuaciones/usos/${k}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getDocumentNucleos(k){return this.http.get(`./img/actuaciones/usos/${k}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getUploadDocument(k,h){return this.http.get(`./img/upload/${k}/${h}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getComboTipoCota(){return this.http.get(this.api_path+this.comboTipoCota_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getComboPropietario(k){return this.http.get(`${this.api_path}${this.comboPropietario_api_path}${k}`).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getLocalities(k){return this.http.get(`${this.api_path}${this.localities_api_path}${k}`).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getComboAnyosPorEscenarios(){return this.http.get(this.api_path+this.comboAnyosPorEscenarios_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}actualizarFoto(k){return this.http.post(this.mirame_path+this.actualizarFoto_api_path,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getComboInformesReport(k){return this.http.get(this.api_path+this.comboInformesReport_api_path+k).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getMunicipalityByCoords(k){return this.http.post(this.api_path+this.municipioPorCoord_api_path,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getProvinceByCoords(k){return this.http.post(this.api_path+this.provinciaPorCoord_api_path,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}exportExcelRevelaDuero(k){return this.http.post(`${this.api_path}${this.api_export_excelRevelaDuero}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}isFloodZone(k,h){let O=new i.LE;return O=O.append("bbox",k.join()),h&&(O=O.append("srs",h)),this.http.get(`${this.api_path}${this.flodZone_api_path}`,{params:O}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getEscenarios(){return this.http.get(this.api_path+this.stages_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}existeFichero(k){return this.http.post(this.api_path+this.existeDocumento_api_path+k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getExtensionFoto(k){return this.http.get(this.api_path+this.extensionFoto_api_path+k,{observe:"response",responseType:"text"}).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getTamanoMaximoFicheros(){return this.http.get(this.mirame_path+this.tamanoMaximoFicheros_api_path).pipe((0,s.X)(1),(0,e.K)(this.handleError))}handleError(k){let h="";return h=k.error instanceof ErrorEvent?`<p>${q.translate.instant("dialogos.errorServidor.error")} ${k.error.message}</p>`:401===k.status?`<p>${q.translate.instant("dialogos.errorAuth.mensajeErrorExpirado")}</p>`:403===k.status?`<p>${q.translate.instant("dialogos.errorAuth.mensajeErrorNoAutorizado")}</p>`:`<p>${k.name} - ${k.status}</p>\n                      <p>${k.error.descripcion?k.error.descripcion:k.message}</p>`,console.error(h),q.msgShown||(q.msgShown=!0,q.dialogModelService.openMessageDialog(q.translate.instant("dialogos.errorServidor.titulo"),h).subscribe(O=>{O&&(q.msgShown=!1)})),(0,l._)(()=>h)}}return q.msgShown=!1,q.\u0275fac=function(k){return new(k||q)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(A.zs3))},q.\u0275prov=A.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})()},5488:(Yt,Ze,m)=>{"use strict";m.d(Ze,{A:()=>C});var i=m(520),s=m(5625),e=m(262),l=m(5e3),d=m(8914),A=m(4209);let C=(()=>{class T{constructor(R,q,w){this.http=R,this.configService=q,this.globalService=w,this.api_path="",this.mirame_path="",this.api_path_guardarVersionadoPressure="",this.api_path_guardarVersionadoPressureEqual="",this.api_path_validarBloque="",this.api_path_comparacionVersion="",this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_guardarVersionadoPressure=this.configService.getApi("globalMasaSuperficial","guardarVersionadoRelevancia"),this.api_path_guardarVersionadoPressureEqual=this.configService.getApi("globalMasaSuperficial","guardarVersionadoRelevanciaEqual"),this.api_path_validarBloque=this.configService.getApi("globalMasaSuperficial","validarBloque"),this.api_path_comparacionVersion=this.configService.getApi("globalMasaSuperficial","comparacionVersion")}guardarVersionadoRelevancia(R){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPressure}`,R,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validarBloque(R,q){let w=new i.LE;return w=w.append("idEntidad",q),this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,R,{params:w,observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComparacionVersion(R,q,w,k){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${R}/${q}/${w}/${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionadoRelevanciaEqual(R){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPressureEqual}`,R,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}}return T.msgShown=!1,T.\u0275fac=function(R){return new(R||T)(l.LFG(i.eN),l.LFG(d.E),l.LFG(A.U))},T.\u0275prov=l.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},503:(Yt,Ze,m)=>{"use strict";m.d(Ze,{H:()=>C});var i=m(520),s=m(5625),e=m(262),l=m(5e3),d=m(8914),A=m(4209);let C=(()=>{class T{constructor(R,q,w){this.http=R,this.configService=q,this.globalService=w,this.api_path="",this.mirame_path="",this.api_path_combosRelevancia="",this.api_path_guardarVersionadoPressure="",this.api_path_guardarVersionadoPressureEqual="",this.api_path_validarBloque="",this.api_path_comparacionVersion="",this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_combosRelevancia=this.configService.getApi("globalPresiones","combosRelevancia"),this.api_path_guardarVersionadoPressure=this.configService.getApi("globalPresiones","guardarVersionadoRelevancia"),this.api_path_guardarVersionadoPressureEqual=this.configService.getApi("globalPresiones","guardarVersionadoRelevanciaEqual"),this.api_path_validarBloque=this.configService.getApi("globalPresiones","validarBloque"),this.api_path_comparacionVersion=this.configService.getApi("globalPresiones","comparacionVersion")}getCombosRelevanciaPresion(){return this.http.get(`${this.mirame_path}${this.api_path_combosRelevancia}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionadoRelevancia(R){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPressure}`,R,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validarBloque(R,q){let w=new i.LE;return w=w.append("idEntidad",q),this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,R,{params:w,observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComparacionVersion(R,q,w){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${R}/${q}/${w}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionadoRelevanciaEqual(R){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPressureEqual}`,R,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}}return T.msgShown=!1,T.\u0275fac=function(R){return new(R||T)(l.LFG(i.eN),l.LFG(d.E),l.LFG(A.U))},T.\u0275prov=l.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},8060:(Yt,Ze,m)=>{"use strict";m.d(Ze,{a:()=>q});var i=m(520),s=m(5625),e=m(262),l=m(2843),d=m(7470),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z,v){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.injector=Z,this.globalService=v,this.api_path="",this.mirame_path="",this.comboUsos_api_path="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_getInfoConcesional="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_getById="",this.api_path_getExtracciones="",this.comboCaucesUsos_api_path="",this.api_path_getFotoPrincipal="",this.api_path_getFotosUsos="",this.api_path_setFotoFavorita="",this.comboClasificacionDetallada_api_path="",this.api_path_controlVersionesNucleos="",w.dialogModelService=this.dialogModelService,w.translate=this.translate,w.injector=this.injector,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.comboUsos_api_path=this.configService.getApi("globalUsos","getCombosUsos"),this.comboCaucesUsos_api_path=this.configService.getApi("globalUsos","getCombosCaucesUsos"),this.api_path_controlVersiones=this.configService.getApi("globalUsos","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("globalUsos","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("globalUsos","descartarOperacion"),this.api_path_getInfoConcesional=this.configService.getApi("globalUsos","informacionConcesional"),this.api_path_guardarVersionado=this.configService.getApi("globalUsos","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("globalUsos","camposHistorico"),this.api_path_historico=this.configService.getApi("globalUsos","historico"),this.api_path_comparacionVersion=this.configService.getApi("globalUsos","comparacionVersion"),this.api_path_getById=this.configService.getApi("globalUsos","getById"),this.api_path_getExtracciones=this.configService.getApi("globalUsos","getCaptaciones"),this.api_path_getFotoPrincipal=this.configService.getApi("globalUsos","getFotoPrincipal"),this.api_path_getFotosUsos=this.configService.getApi("globalUsos","getFotosUsos"),this.api_path_setFotoFavorita=this.configService.getApi("globalUsos","setFotoFavorita"),this.comboClasificacionDetallada_api_path=this.configService.getApi("globalUsos","clasifDetallada"),this.api_path_controlVersionesNucleos=this.configService.getApi("nucleus","controlVersiones")}getComboUsos(h){return this.http.get(`${this.api_path}${this.comboUsos_api_path}${h}`).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getComboCaucesUsos(h,O){return this.http.get(`${this.api_path}${this.comboCaucesUsos_api_path}${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.handleError))}getControlDeVersiones(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}/${E}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getControlDeVersionesNucleos(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersionesNucleos}${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validarBloque(h,O){let E=new i.LE;return E=E.append("idEntidad",O),this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{params:E,observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}descartarOperacion(h,O,E){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}/${E}`,{}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getInformacionConcesional(h,O){return this.http.get(`${this.api_path}${this.api_path_getInfoConcesional}${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getListadoCamposHistorico(h,O,E){const c=d.c.isUndefined(E)?`${h}/${O}`:`${h}/${O}/${E}`;return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${c}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}/${c}/${Z}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComparacionVersion(h,O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}/${c}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getById(h,O){return this.http.get(`${this.api_path}${this.api_path_getById}${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getExtracciones(h,O){return this.http.get(`${this.api_path}${this.api_path_getExtracciones}${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getFotoPrincipal(h,O){return this.http.get(`${this.api_path}${this.api_path_getFotoPrincipal}${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getFotosUsos(h,O){return this.http.get(this.api_path+this.api_path_getFotosUsos+h+"/"+O).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}setFotoFavorita(h,O,E){return this.http.post(`${this.mirame_path}${this.api_path_setFotoFavorita}${h}/${E}`,O).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComboClasificacionDetallada(h){return this.http.get(`${this.api_path}${this.comboClasificacionDetallada_api_path}${h}`).pipe((0,s.X)(1),(0,e.K)(this.handleError))}handleError(h){let O="";return O=h.error instanceof ErrorEvent?`<p>${w.translate.instant("dialogos.errorServidor.error")} ${h.error.message}</p>`:401===h.status?`<p>${w.translate.instant("dialogos.errorAuth.mensajeErrorExpirado")}</p>`:403===h.status?`<p>${w.translate.instant("dialogos.errorAuth.mensajeErrorNoAutorizado")}</p>`:`<p>${h.name} - ${h.status}</p>\n                      <p>${h.error.descripcion?h.error.descripcion:h.message}</p>`,console.error(O),w.msgShown||(w.msgShown=!0,w.dialogModelService.openMessageDialog(w.translate.instant("dialogos.errorServidor.titulo"),O).subscribe(E=>{E&&(w.msgShown=!1)})),(0,l._)(()=>O)}}return w.msgShown=!1,w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(A.zs3),A.LFG(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},7706:(Yt,Ze,m)=>{"use strict";m.d(Ze,{S:()=>l});var i=m(3179),s=m(1135),e=m(5e3);let l=(()=>{class d{constructor(){this.language$=new s.X(i.C.defaultLanguage)}changeLanguage(C){this.language$.next(C)}}return d.\u0275fac=function(C){return new(C||d)},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},5890:(Yt,Ze,m)=>{"use strict";m.d(Ze,{p:()=>l});var i=m(6757),s=m(5e3),e=m(3361);let l=(()=>{class d{constructor(C){this.matomoTracker=C}trackEvent(C,T,S,R){this.matomoTracker.trackEvent(C,T,S,R)}trackSiteSearch(C,T,S){this.matomoTracker.trackSiteSearch(C,T,S)}trackSelectLayer(C,T){this.trackEvent(i.FS.LAYER,C,T,1)}trackGetInformationLayer(C,T,S=0){this.trackEvent(i.FS.LAYER,C,T,S)}trackUseTool(C,T=0){this.trackEvent(i.FS.MAP,C,i.B_.TOOL_USAGE,T)}trackSaveInformation(C,T){this.trackEvent(i.FS.MAP,C,i.B_.SAVE_INFORMATION,T)}trackGetInformation(C,T=0){this.trackEvent(i.FS.MAP,C,i.B_.GET_INFORMATION,T)}trackExportInformation(C,T=0){this.trackEvent(i.FS.MAP,C,i.B_.EXPORT_INFORMATION,T)}trackDownloadInformation(C){this.trackEvent(i.FS.MAP,C,i.B_.DOWNLOAD_INFORMATION,1)}trackError(C,T){this.matomoTracker.trackEvent(i.FS.ERROR,C,T,1)}trackLink(C,T){this.matomoTracker.trackLink(C,T)}}return d.\u0275fac=function(C){return new(C||d)(s.LFG(e.ws))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},5931:(Yt,Ze,m)=>{"use strict";m.d(Ze,{a:()=>e});var i=m(5e3),s=m(60);let e=(()=>{class l{constructor(A){this.viewportScroller=A}goToTop(){this.viewportScroller.scrollToPosition([0,0])}}return l.\u0275fac=function(A){return new(A||l)(i.LFG(s.EM))},l.\u0275prov=i.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})()},7902:(Yt,Ze,m)=>{"use strict";m.d(Ze,{u:()=>l});var i=m(5861),s=m(5e3),e=m(9547);let l=(()=>{class d{constructor(C){this.temporaryStorageService=C,this.typeKey=""}setTypeKey(C){this.typeKey=C,this.temporaryStorage=this.temporaryStorageService.forKey(this.typeKey)}getTypeKey(){return this.typeKey}saveToTemporaryStorage(C){this.temporaryStorage.set(C)}getSessionStorageProperty(C){var T=this;return(0,i.Z)(function*(){return yield T.temporaryStorageService.get(C)})()}removeFromTemporaryStorage(){this.temporaryStorage.remove()}}return d.\u0275fac=function(C){return new(C||d)(s.LFG(e.x))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},5448:(Yt,Ze,m)=>{"use strict";m.d(Ze,{A:()=>h});var i=m(5861),s=m(60),e=m(3179),l=m(7470),d=m(1193),A=m(3019),C=m(5876),T=m(8226),S=m(3905),R=m(5e3),q=m(4894),w=m(4128);let k=(()=>{class O{constructor(c){this.translate=c}getTranslations(c){const Z=c.map(v=>this.translate.get(v));return(0,w.D)(Z)}getTranslation(c){var Z=this;return(0,i.Z)(function*(){return yield(0,S.z)(Z.translate.get(c))})()}}return O.\u0275fac=function(c){return new(c||O)(R.LFG(q.sK))},O.\u0275prov=R.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),h=(()=>{class O{constructor(c,Z){this.translate=c,this.translationHelper=Z,this.versionTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"origen",header:this.translate.instant("tablas.tablaVersionado.origen"),cell:v=>`${v.origen}`},{columnDef:"calidad",header:this.translate.instant("tablas.tablaVersionado.calidad"),cell:v=>`${v.calidad}`},{columnDef:"usuario",header:this.translate.instant("tablas.tablaVersionado.usuario"),cell:v=>`${v.usuario}`},{columnDef:"fechaModificacion",header:this.translate.instant("tablas.tablaVersionado.fecha"),cell:v=>`${this.datePipe.transform(v.fechaModificacion,e.C.date)}`},{columnDef:"operacion",header:"",cell:v=>`${v.operacion}`},{columnDef:"comentarios",header:this.translate.instant("tablas.tablaVersionado.comentarios"),cell:v=>`${v.comentarios}`}],this.basicRelatedTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"detalle",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.id}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemRelacionados.tipo"),cell:v=>`${v.tipo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`}],this.basicEntityTableConfiguration=[{columnDef:"detalle",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),
1cell:v=>`${v.id}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`}],this.usesRelatedTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"detalle",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.id}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemRelacionados.tipo"),cell:v=>`${v.tipo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`},{columnDef:"integraCode",header:this.translate.instant("tablas.tablaElemRelacionados.integraCode"),cell:v=>`${v.integraCode||""}`},{columnDef:"situacion",header:this.translate.instant("tablas.tablaElemRelacionados.situacion"),cell:v=>`${v.situacion||""}`}],this.extendedRelatedTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"detalle",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.id}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemRelacionados.tipo"),cell:v=>`${v.tipo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`},{columnDef:"naturaleza",header:this.translate.instant("tablas.tablaElemRelacionados.naturaleza"),cell:v=>`${v.naturaleza}`},{columnDef:"estado",header:this.translate.instant("tablas.tablaElemRelacionados.estado"),cell:v=>`${v.estado}`},{columnDef:"aportacionRegNatural",header:this.translate.instant("tablas.tablaElemRelacionados.aportacionRegNatural"),cell:v=>`${this.numberPipe.transform(v.aportacionRegNatural,e.C.numRed)||""}`}],this.extendedShortNameRelatedTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"detalle",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.id}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemRelacionados.tipo"),cell:v=>`${v.tipo}`},{columnDef:"nombreCorto",header:this.translate.instant("tablas.tablaElemRelacionados.nombreCorto"),cell:v=>`${v.nombreCorto||""}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.descripcion"),cell:v=>`${v.nombre||""}`},{columnDef:"naturaleza",header:this.translate.instant("tablas.tablaElemRelacionados.naturaleza"),cell:v=>`${v.naturaleza}`},{columnDef:"estado",header:this.translate.instant("tablas.tablaElemRelacionados.estado"),cell:v=>`${v.estado}`},{columnDef:"aportacionRegNatural",header:this.translate.instant("tablas.tablaElemRelacionados.aportacionRegNatural"),cell:v=>`${this.numberPipe.transform(v.aportacionRegNatural,e.C.numRed)||""}`}],this.extendedEstadoRelatedTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"detalle",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.id}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemRelacionados.tipo"),cell:v=>`${v.tipo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`},{columnDef:"estado",header:this.translate.instant("tablas.tablaElemRelacionados.estado"),cell:v=>`${v.estado}`}],this.damEstadoRelatedTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"detalle",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.id}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemRelacionados.tipo"),cell:v=>`${v.tipo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`},{columnDef:"usos",header:this.translate.instant("tablas.tablaElemRelacionados.usos"),cell:v=>`${null!=v.usos?v.usos:""}`}],this.basicRelatedWithOutSeleccionTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.id}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemRelacionados.tipo"),cell:v=>`${v.tipo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`}],this.editTableConfigurationCurva=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"cota",header:this.translate.instant("tablas.tablaEdicion.cota"),cell:v=>`${this.numberPipe.transform(v.cota,e.C.numRed)||""}`},{columnDef:"area",header:this.translate.instant("tablas.tablaEdicion.area"),
1cell:v=>`${this.numberPipe.transform(v.area,e.C.numRed)||""}`},{columnDef:"volumen",header:this.translate.instant("tablas.tablaEdicion.volumen"),cell:v=>`${this.numberPipe.transform(v.volumen,e.C.numRed)||""}`},{columnDef:"descTipo",header:this.translate.instant("tablas.tablaEdicion.descTipo"),cell:v=>`${v.descTipo}`}],this.editTableConfigurationEF=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"nombre",header:this.translate.instant("tablas.tablaEdicion.nombre"),cell:v=>`${v.entidad}`},{columnDef:"percent",header:this.translate.instant("tablas.tablaEdicion.percent"),cell:v=>`${this.numberPipe.transform(v.percent,e.C.numRed)||""}`,center:!1}],this.editTableConfigurationMedidaContrato=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"idMedida",header:this.translate.instant("tablas.tablaEdicion.codigoMedida"),cell:v=>`${v.idMedida}`},{columnDef:"medida",header:this.translate.instant("tablas.tablaEdicion.nombreMedida"),cell:v=>`${v.medida}`},{columnDef:"percent",header:this.translate.instant("tablas.tablaEdicion.percent"),cell:v=>`${this.numberPipe.transform(v.percent,e.C.numRed4Dec)||""}`},{columnDef:"fechaInicio",header:this.translate.instant("tablas.tablaEdicion.inicio"),cell:v=>`${this.datePipe.transform(v.fechaInicio,e.C.shortDateFormat)||""}`},{columnDef:"fechaFin",header:this.translate.instant("tablas.tablaEdicion.fin"),cell:v=>`${this.datePipe.transform(v.fechaFin,e.C.shortDateFormat)||""}`}
1],this.editTableConfigurationReglasExplotacion=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"descMes",header:this.translate.instant("tablas.tablaEdicion.mes"),cell:v=>`${v.descMes}`},{columnDef:"volumenObjetivo",header:this.translate.instant("tablas.tablaEdicion.volumenObjetivo"),cell:v=>`${this.numberPipe.transform(v.volumenObjetivo,e.C.numRed)||""}`},{columnDef:"volumenMaximo",header:this.translate.instant("tablas.tablaEdicion.volumenMaximo"),cell:v=>`${this.numberPipe.transform(v.volumenMaximo,e.C.numRed)||""}`},{columnDef:"volumenMinimo",header:this.translate.instant("tablas.tablaEdicion.volumenMinimo"),cell:v=>`${this.numberPipe.transform(v.volumenMinimo,e.C.numRed)||""}`},{columnDef:"caudalMinimoDesembalse",header:this.translate.instant("tablas.tablaEdicion.caudalMinimoDesembalse"),cell:v=>`${this.numberPipe.transform(v.caudalMinimoDesembalse,e.C.numRed)||""}`},{columnDef:"evaporacion",header:this.translate.instant("tablas.tablaEdicion.evaporacion"),cell:v=>`${this.numberPipe.transform(v.evaporacion,e.C.numRed)||""}`},{columnDef:"aportacion",header:this.translate.instant("tablas.tablaEdicion.aportacion"),cell:v=>`${this.numberPipe.transform(v.aportacion,e.C.numRed)||""}`}],this.readTableConfigurationGwbGeoUnidadGeologica=[{columnDef:"unidadGeologicaDesc",header:this.translate.instant("tablas.tablaEdicion.unidadesGeologicas"),cell:v=>`${v.valor}`}],this.editTableConfigurationGwbGeoUnidadGeologica=[{columnDef:"detalle",header:"",cell:v=>""},{columnDef:"valor",header:this.translate.instant("tablas.tablaEdicion.unidadesGeologicas"),cell:v=>`${v.valor}`}],this.editTableConfigurationGwbGeoLitologias=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"descripcion",header:this.translate.instant("tablas.tablaEdicion.litologia"),cell:v=>`${v.descripcion}`},{columnDef:"descEdad",header:this.translate.instant("tablas.tablaEdicion.edad"),cell:v=>`${v.descEdad}`}],this.deleteBasicTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"valor",header:this.translate.instant("tablas.tablaDelete.valor"),cell:v=>`${v.valor}`}],this.legislationDeleteBasicTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"valor",header:this.translate.instant("tablas.tablaDelete.valor"),cell:v=>`${v.nombre}`}],this.relatedElemTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"codigo",header:this.translate.instant("tablas.tablaElemCercanos.codigo"),cell:v=>`${v.codigo}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemCercanos.tipo"),cell:v=>`${v.tipo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemCercanos.nombre"),cell:v=>`${v.nombre}`}],this.measuresGeneralTableConfiguration=[{columnDef:"nombre",header:this.translate.instant("tablas.tablaMedidas.nombre"),cell:v=>`${v.nombre}`},{columnDef:"estado",header:this.translate.instant("tablas.tablaMedidas.estado"),cell:v=>`${v.estado}`},{columnDef:"infoAdicional",header:this.translate.instant("tablas.tablaMedidas.infoAdicional"),cell:v=>`${Number(v.observaciones)>1?this.translate.instant("tablas.tablaMedidas.obstaculo_medida_compartida"):this.translate.instant("tablas.tablaMedidas.obstaculo_medida_propia")}`}],this.measuresTechnicalTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"codigo",header:this.translate.instant("tablas.tablaMedidas.codigoMedida"),cell:v=>`${v.codigo}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"nombre",header:this.translate.instant("tablas.tablaMedidas.nombreMedida"),cell:v=>`${v.nombre}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"presupuesto",header:this.translate.instant("tablas.tablaMedidas.presupuesto"),cell:v=>`${this.numberPipe.transform(v.presupuesto,e.C.numEnt)}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"periodoInicio",header:this.translate.instant("tablas.tablaMedidas.periodoInicio"),cell:v=>`${v.periodoInicio}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"estado",header:this.translate.instant("tablas.tablaMedidas.estado"),cell:v=>`${v.estado}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"observaciones",header:this.translate.instant("tablas.tablaMedidas.observaciones"),cell:v=>`${this.translate.instant("obstacles.fichaTecnica.tablaMedidas.vinculado")} ${Number(v.observaciones)} ${Number(v.observaciones)>1?this.translate.instant("obstacles.fichaTecnica.tablaMedidas.variosObstaculos"):this.translate.instant("obstacles.fichaTecnica.tablaMedidas.1obstaculo")}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})}],this.measuresEntityTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaMedidas.codigoMedida"),cell:v=>`${v.id}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaMedidas.nombreMedida"),cell:v=>`${v.nombre}`}],this.measuresGenericTechnicalTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"codigo",header:this.translate.instant("tablas.tablaMedidas.codigoMedida"),cell:v=>`${v.codigo}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"nombre",header:this.translate.instant("tablas.tablaMedidas.nombreMedida"),cell:v=>`${v.nombre}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"presupuesto",header:this.translate.instant("tablas.tablaMedidas.presupuesto"),cell:v=>`${null!=v.presupuesto&&this.numberPipe.transform(v.presupuesto,e.C.numRed)||""}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"periodoInicio",header:this.translate.instant("tablas.tablaMedidas.periodoInicio"),cell:v=>`${v.periodoInicio}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"estado",header:this.translate.instant("tablas.tablaMedidas.estado"),cell:v=>`${v.estado}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})},{columnDef:"observaciones",header:this.translate.instant("tablas.tablaMedidas.observaciones"),cell:v=>`${v.observaciones||""}`,conditionalStyle:v=>({textGrey:`${v.estado}`===e.C.condicionesEstilos.COMPLETADA})}],this.deteriorationsGenericTechnicalTableConfiguration=[{columnDef:"deterioro",header:this.translate.instant("tablas.tablaDeter
1ioros.deterioro"),cell:v=>`${v.descripcion}`},{columnDef:"ano",header:this.translate.instant("tablas.tablaDeterioros.anoDeterioro"),cell:v=>`${v.anoDeterioro}`},{columnDef:"acciones",header:"",cell:v=>""}],this.pressuresRiskTypesTableConfiguration=[{columnDef:"description",header:this.translate.instant("tablas.tablaPresionesTiposRiesgo.description"),cell:v=>`${v.description}`,conditionalStyle:v=>({textRed:`${v.riskPk}`===e.C.condicionesEstilosMasasAguaRiesgo.ALTO,textOrange:`${v.riskPk}`===e.C.condicionesEstilosMasasAguaRiesgo.MEDIO})},{columnDef:"relevanceDesc",header:this.translate.instant("tablas.tablaPresionesTiposRiesgo.relevanceDesc"),cell:v=>`${v.relevanceDesc}`,conditionalStyle:v=>({textRed:`${v.relevancePK}`===e.C.condicionesEstilosMasasAguaRelevancia.SIGNIFICATIVAS,textGreen:`${v.relevancePK}`===e.C.condicionesEstilosMasasAguaRelevancia.NO_SIGNIFICATIVAS,textOrange:`${v.relevancePK}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA,textGrey:`${v.relevancePK}`===e.C.condicionesEstilosMasasAguaRelevancia.EN_ESTUDIO})},{columnDef:"relevanceAccumDesc",header:this.translate.instant("tablas.tablaPresionesTiposRiesgo.relevanceAccumDesc"),cell:v=>`${v.relevanceAccumDesc}`,conditionalStyle:v=>({textRed:`${v.relevanceAccumPk}`===e.C.condicionesEstilosMasasAguaRelevancia.SIGNIFICATIVAS,textGreen:`${v.relevanceAccumPk}`===e.C.condicionesEstilosMasasAguaRelevancia.NO_SIGNIFICATIVAS,textOrange:`${v.relevanceAccumPk}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA,textGrey:`${v.relevanceAccumPk}`===e.C.condicionesEstilosMasasAguaRelevancia.EN_ESTUDIO})},{columnDef:"impactDesc",header:this.translate.instant("tablas.tablaPresionesTiposRiesgo.impactDesc"),cell:v=>`${v.impactDesc}`,conditionalStyle:v=>({textRed:`${v.impactPk}`===e.C.condicionesEstilosMasasAguaImpacto.COMPROBADOS,textGreen:`${v.impactPk}`===e.C.condicionesEstilosMasasAguaImpacto.SIN_IMPACTOS,textOrange:`${v.impactPk}`===e.C.condicionesEstilosMasasAguaImpacto.PROBABLES,textNegrita:"Masa muy modificada"==`${v.impactDesc}`})},{columnDef:"riskDesc",header:this.translate.instant("tablas.tablaPresionesTiposRiesgo.riskDesc"),cell:v=>`${v.riskDesc}`,conditionalStyle:v=>({textRed:`${v.riskPk}`===e.C.condicionesEstilosMasasAguaRiesgo.ALTO,textGreen:`${v.riskPk}`===e.C.condicionesEstilosMasasAguaRiesgo.SIN_RIESGO,textOrange:`${v.riskPk}`===e.C.condicionesEstilosMasasAguaRiesgo.MEDIO})}],this.tableImpactsConfiguration=[{columnDef:"description",header:this.translate.instant("tablas.tablaImpactosPresionesMasasAguaCanal.description"),cell:v=>`${v.description}`,conditionalStyle:v=>({textRed:`${v.typeImpact}`===e.C.condicionesEstilosMasasAguaTipoImpacto.RIESGO_ALTO,textOrange:`${v.typeImpact}`===e.C.condicionesEstilosMasasAguaTipoImpacto.RIESGO_MEDIO})},{columnDef:"parametro",header:this.translate.instant("tablas.tablaImpactosPresionesMasasAguaCanal.parametro"),cell:v=>`${v.parametro}`},{columnDef:"valor",header:this.translate.instant("tablas.tablaImpactosPresionesMasasAguaCanal.valor"),cell:v=>`${v.valueLess?"<":""} ${v.valor>=0?this.numberPipe.transform(v.valor,e.C.numRed4Dec):""} ${v.valueUnity?v.valueUnity:""}`}],this.tablePresasPresionMasasAguaVigorConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"nodeCode",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.nodeCode"),cell:v=>`${v.nodeCode}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO})},{columnDef:"name",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.name"),cell:v=>`${v.name}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO})},{columnDef:"heightAboveGroundLevel",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.heightAboveGroundLevel"),cell:v=>`${this.numberPipe.transform(v.heightAboveGroundLevel,e.C.numRed)||""}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO,"text-center":!0})},{columnDef:"franqueabilidad",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.franqueabilidad"),cell:v=>`${this.numberPipe.transform(v.franqueabilidad,e.C.numRed)||""}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO,"text-center":!0})},{columnDef:"faseDeVida",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.faseDeVida"),cell:v=>`${null!=v.stateDescription?v.stateDescription:""}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO,"text-center":!0})},{columnDef:"vigor",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.vigor"),cell:v=>`${v.vigor}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO,"text-center":!0})},{columnDef:"significative",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.significative"),cell:v=>`${v.significative} ${v.impactDesc||""}`,conditionalStyle:v=>({textRed:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.SIGNIFICATIVAS,textGreen:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.NO_SIGNIFICATIVAS,textOrange:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA,textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO})}],this.tablePresasPresionMasasAguaConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"nodeCode",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.nodeCode"),cell:v=>`${v.nodeCode}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO})},{columnDef:"name",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.name"),cell:v=>`${v.name}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO})},{columnDef:"heightAboveGroundLevel",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.heightAboveGroundLevel"),cell:v=>`${this.numberPipe.transform(v.heightAboveGroundLevel,e.C.numRed)||""}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO}),center:!0},{columnDef:"franqueabilidad",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.franqueabilidad"),cell:v=>`${this.numberPipe.transform(v.franqueabilidad,e.C.numRed)||""}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO}),center:!0},{columnDef:"faseDeVida",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.faseDeVida"),cell:v=>`${null!=v.stateDescription?v.stateDescription:""}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO})},{columnDef:"significative",header:this.translate.instant("tablas.tablaPresionesPresasMasasAgua.significative"),cell:v=>`${v.significative} ${v.impactDesc||""}`,conditionalStyle:v=>({textRed:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.SIGNIFICATIVAS,textGreen:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.NO_SIGNIFICATIVAS,textOrange:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA,textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaPresasEstado.DEMOLIDO})}],this.tableVertidosMasasAguaConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"idMirame",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.idMirame"),cell:v=>`${v.idMirame}`},{columnDef:"dischargeName",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.dischargeName"),cell:v=>`${v.dischargeName}`},{columnDef:"expediente",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.expediente"),cell:v=>`${v.expediente||""}`},{columnDef:"descNature",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.descNature"),cell:v=>`${v.descNature||""}`},{columnDef:"habequiv",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.habequiv"),cell:v=>`${this.numberPipe.transform(v.habequiv,e.C.numEnt)||""}`,center:!0},{columnDef:"volumeM3",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.volumeM3"),cell:v=>`${this.numberPipe.transform(v.volumeM3,e.C.numEnt)||""}`,center:!0},{columnDef:"nitratoEstimated",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.nitratoEstimated"),cell:v=>`${this.numberPipe.transform(v.nitratoEstimated,e.C.numRed)||""}`,center:!0},{columnDef:"fosforoEstimated",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.fosforoEstimated"),cell:v=>`${this.numberPipe.transform(v.fosforoEstimated,e.C.numRed)||""}`,center:!0},{columnDef:"significative",header:this.translate.instant("tablas.tablaPresionesVertidosMasasAgua.significative"),cell:v=>`${v.significative} ${""===v.impactDesc||l.c.isUndefined(v.impactDesc)||l.c.isNullorEmpty(v.impactDesc)?"":"("+v.impactDesc+")"}`,conditionalStyle:v=>({textRed:`${v.significative}`===e.C.condicionesEstilosPresDif.SIGNIFICATIVAS,textGreen:`${v.significative}`===e.C.condicionesEstilosPresDif.NO_SIGNIFICATIVAS,textOrange:`${v.significative}`===e.C.condicionesEstilosPresDif.POTENCIALMENTE_SIGNIFICATIVA})}],this.tableObstaclesConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"nodeCode",header:this.translate.instant("tablas.tablaPresionesObstaclesMasasAgua.codigo"),
1cell:v=>`${v.codigo}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaObstaculosEstado.DEMOLIDO})},{columnDef:"name",header:this.translate.instant("tablas.tablaPresionesObstaclesMasasAgua.name"),cell:v=>`${v.name}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaObstaculosEstado.DEMOLIDO})},{columnDef:"heightAboveGroundLevel",header:this.translate.instant("tablas.tablaPresionesObstaclesMasasAgua.longitud"),cell:v=>`${this.numberPipe.transform(v.longitud,e.C.numEnt)||""}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaObstaculosEstado.DEMOLIDO,"text-center":!0})},{columnDef:"estadoDeConservacion",header:this.translate.instant("tablas.tablaPresionesObstaclesMasasAgua.estadoDeConservacion"),cell:v=>`${v.stateDescription}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaObstaculosEstado.DEMOLIDO,"text-center":!0})},{columnDef:"longitudDeMota",header:this.translate.instant("tablas.tablaPresionesObstaclesMasasAgua.longitudDeMota"),cell:v=>`${this.numberPipe.transform(v.longitudMota,e.C.numRed)||""}${v.actuationDateMota}`,conditionalStyle:v=>({textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaObstaculosEstado.DEMOLIDO,"text-center":!0})},{columnDef:"significative",header:this.translate.instant("tablas.tablaPresionesObstaclesMasasAgua.significative"),cell:v=>`${v.significative} ${v.impactDesc||""}`,conditionalStyle:v=>({textRed:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.SIGNIFICATIVAS,textGreen:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.NO_SIGNIFICATIVAS,textOrange:`${v.significativeFk}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA,textGrey:`${v.stateFk}`===e.C.condicionesEstilosMasasAguaObstaculosEstado.DEMOLIDO})}],this.tablePressuresDifMasasAguaConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"code",header:this.translate.instant("tablas.tablaPresionesDifMasasAgua.code"),cell:v=>`${v.code}`},{columnDef:"name",header:this.translate.instant("tablas.tablaPresionesDifMasasAgua.name"),cell:v=>`${v.name}`},{columnDef:"nitrogeno",header:this.translate.instant("tablas.tablaPresionesDifMasasAgua.nitrogeno"),cell:v=>`${this.numberPipe.transform(v.nitrogeno,e.C.numRed)||""}`,center:!0},{columnDef:"fosforo",header:this.translate.instant("tablas.tablaPresionesDifMasasAgua.fosforo"),cell:v=>`${this.numberPipe.transform(v.fosforo,e.C.numRed)||""}`,center:!0},{columnDef:"regadio",header:this.translate.instant("tablas.tablaPresionesDifMasasAgua.regadio"),cell:v=>`${this.numberPipe.transform(v.regadio,e.C.numRed)||""}`,center:!0},{columnDef:"presion",header:this.translate.instant("tablas.tablaPresionesDifMasasAgua.presion"),cell:v=>`${v.presion} ${""===v.impactDesc||l.c.isUndefined(v.impactDesc)||l.c.isNullorEmpty(v.impactDesc)?"":"("+v.impactDesc+")"}`,conditionalStyle:v=>({textRed:`${v.presion}`===e.C.condicionesEstilosPresDif.SIGNIFICATIVAS,textGreen:`${v.presion}`===e.C.condicionesEstilosPresDif.NO_SIGNIFICATIVAS,textOrange:`${v.presion}`===e.C.condicionesEstilosPresDif.POTENCIALMENTE_SIGNIFICATIVA})}],this.tableAcumulatePressuresConfiguration=[{columnDef:"description",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.description"),cell:v=>`${v.description}`,conditionalStyle:v=>({textOrange:`${v.codigoRelevanciaPresion}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"parametro",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.parametro"),cell:v=>`${v.parametro}`},{columnDef:"value",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.value"),cell:v=>`${this.numberPipe.transform(v.value,e.C.numRed)||""}  ${v.unity}`}],this.tableAcumulatePressuresRiverConfiguration=[{columnDef:"description",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.description"),cell:v=>`${v.description}`,conditionalStyle:v=>({textOrange:`${v.codigoRelevanciaPresion}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"parametro",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.parametro"),cell:v=>`${v.parametro}`},{columnDef:"value",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.value"),cell:v=>`${this.numberPipe.transform(v.value,e.C.numRed)||v.valueText||""}  ${v.unity}`}],this.tableExtraccionesConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"code",header:this.translate.instant("tablas.tablaExtraccionesPresionesMasasAguaCanal.code"),cell:v=>`${v.code}`},{columnDef:"nameEntity",header:this.translate.instant("tablas.tablaExtraccionesPresionesMasasAguaCanal.n
1ameEntity"),cell:v=>`${v.nameEntity}`},{columnDef:"grantingUse",header:this.translate.instant("tablas.tablaExtraccionesPresionesMasasAguaCanal.description"),cell:v=>`${v.grantingUse||""}`},{columnDef:"situation",header:this.translate.instant("tablas.tablaExtraccionesPresionesMasasAguaCanal.situation"),cell:v=>`${v.situation}`},{columnDef:"maxVol",header:this.translate.instant("tablas.tablaExtraccionesPresionesMasasAguaCanal.maxVol"),cell:v=>`${this.numberPipe.transform(v.vol,e.C.numRed)||""}`,conditionalStyle:v=>({textGrey:l.c.isNullorEmpty(v.maxVol)||l.c.isUndefined(v.maxVol),"text-center":!0})}],this.tableDemandasRegadioMasaAguaConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"code",header:this.translate.instant("tablas.tablaDemandasRegadioPresionesMasasAgua.code"),cell:v=>`${v.code}`},{columnDef:"nameEntity",header:this.translate.instant("tablas.tablaDemandasRegadioPresionesMasasAgua.nameEntity"),cell:v=>`${v.nameEntity}`},{columnDef:"area",header:this.translate.instant("tablas.tablaDemandasRegadioPresionesMasasAgua.area"),cell:v=>`${this.numberPipe.transform(v.area,e.C.numRed)||""}`,center:!0},{columnDef:"reqVolumeExtraction",header:this.translate.instant("tablas.tablaDemandasRegadioPresionesMasasAgua.reqVolumeExtraction"),headerTooltip:this.translate.instant("tablas.tablaDemandasRegadioPresionesMasasAgua.tltipVolumenDetraido"),cell:v=>`${this.numberPipe.transform(v.reqVolumeExtraction,e.C.numRed)||""}`,center:!0},{columnDef:"reqVolumeReturn",header:this.translate.instant("tablas.tablaDemandasRegadioPresionesMasasAgua.reqVolumeReturn"),headerTooltip:this.translate.instant("tablas.tablaDemandasRegadioPresionesMasasAgua.tltipVolumenRetornado"),cell:v=>`${this.numberPipe.transform(v.reqVolumeReturn,e.C.numRed)||""}`,center:!0}],this.tableDemandasTrasvasesMasaAguaConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"code",header:this.translate.instant("tablas.tablaDemandasTrasvasesPresionesMasasAgua.code"),cell:v=>`${v.code}`},{columnDef:"nameEntity",header:this.translate.instant("tablas.tablaDemandasTrasvasesPresionesMasasAgua.nameEntity"),cell:v=>`${v.nameEntity}`},{columnDef:"reqVolumeExtraction",header:this.translate.instant("tablas.tablaDemandasTrasvasesPresionesMasasAgua.reqVolumeExtraction"),cell:v=>`${this.numberPipe.transform(v.reqVolumeExtraction,e.C.numRed)||""}`,center:!0},{columnDef:"reqVolumeReturn",header:this.translate.instant("tablas.tablaDemandasTrasvasesPresionesMasasAgua.reqVolumeReturn"),cell:v=>`${this.numberPipe.transform(v.reqVolumeReturn,e.C.numRed)||""}`,center:!0}],this.tableDemandasUrbanasMasaAguaConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"code",header:this.translate.instant("tablas.tablaDemandasUrbanasPresionesMasasAgua.code"),cell:v=>`${v.code}`},{columnDef:"nameEntity",header:this.translate.instant("tablas.tablaDemandasUrbanasPresionesMasasAgua.nameEntity"),cell:v=>`${v.nameEntity}`},{columnDef:"habitantes",header:this.translate.instant("tablas.tablaDemandasUrbanasPresionesMasasAgua.habitantes"),cell:v=>`${this.numberPipe.transform(v.habitantes,e.C.numEnt)||""}`,center:!1},{columnDef:"reqVolume",header:this.translate.instant("tablas.tablaDemandasUrbanasPresionesMasasAgua.reqVolume"),cell:v=>`${this.numberPipe.transform(v.reqVolume,e.C.numRed)||""}`,center:!1}],this.tablePuntosDesbordamientoPresionesMasaAguaConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"codigo",header:this.translate.instant("tablas.tablaPuntosDesbordamientoPresionesMasasAgua.codigo"),cell:v=>`${v.codigo}`},{columnDef:"name",header:this.translate.instant("tablas.tablaPuntosDesbordamientoPresionesMasasAgua.name"),cell:v=>`${v.name}`},{columnDef:"expediente",header:this.translate.instant("tablas.tablaPuntosDesbordamientoPresionesMasasAgua.expediente"),cell:v=>`${null!=v.expediente?v.expediente:""}`},{columnDef:"naturaleza",header:this.translate.instant("tablas.tablaPuntosDesbordamientoPresionesMasasAgua.naturaleza"),cell:v=>`${null!=v.naturaleza?v.naturaleza:""}`},{columnDef:"numPuntoVertido",header:this.translate.instant("tablas.tablaPuntosDesbordamientoPresionesMasasAgua.numPuntoVertido"),cell:v=>`${null!=v.numPuntoVertido?v.numPuntoVertido:""}`,center:!0},{columnDef:"infra",header:this.translate.instant("tablas.tablaPuntosDesbordamientoPresionesMasasAgua.infra"),cell:v=>`${v.infra}`},{columnDef:"significative",header:this.translate.instant("tablas.tablaPuntosDesbordamientoPresionesMasasAgua.significative"),cell:v=>`${v.significative} ${""===v.impactDesc||l.c.isUndefined(v.impactDesc)||l.c.isNullorEmpty(v.impactDesc)?"":"("+v.impactDesc+")"}`,conditionalStyle:v=>({textRed:`${v.significative}`===e.C.condicionesEstilosPresDif.SIGNIFICATIVAS,textGreen:`${v.significative}`===e.C.condicionesEstilosPresDif.NO_SIGNIFICATIVAS,textOrange:`${v.significative}`===e.C.condicionesEstilosPresDif.POTENCIALMENTE_SIGNIFICATIVA})}],this.tableVertederosPresionesMasaAguaConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"code",header:this.translate.instant("tablas.tablaVertederosPresionesMasasAgua.code"),cell:v=>`${v.code}`},{columnDef:"name",header:this.translate.instant("tablas.tablaVertederosPresionesMasasAgua.name"),cell:v=>`${v.name}`},{columnDef:"distance",header:this.translate.instant("tablas.tablaVertederosPresionesMasasAgua.distance"),cell:v=>`${null!=v.distance?this.numberPipe.transform(v.distance,e.C.numRed4Dec):""}`,center:!0},{columnDef:"significative",header:this.translate.instant("tablas.tablaVertederosPresionesMasasAgua.significative"),cell:v=>`${v.significative} ${v.impactDesc||""}`,conditionalStyle:v=>({textRed:`${v.significative}`===e.C.condicionesEstilosPresDif.SIGNIFICATIVAS,textGreen:`${v.significative}`===e.C.condicionesEstilosPresDif.NO_SIGNIFICATIVAS,textOrange:`${v.significative}`===e.C.condicionesEstilosPresDif.POTENCIALMENTE_SIGNIFICATIVA})}],this.pressureRelevanceTableConfiguration=[{columnDef:"tipoPresion",header:this.translate.instant("tablas.tablaRelevanciaPresion.tipoPresion"),cell:v=>`${v.tipoPresion}`},{columnDef:"impacto",header:this.translate.instant("tablas.tablaRelevanciaPresion.impacto"),cell:v=>`${v.impacto}`},{columnDef:"relevanciaPresion",header:this.translate.instant("tablas.tablaRelevanciaPresion.relevanciaPresion"),cell:v=>`${v.relevanciaPresion}`,conditionalStyle:v=>
1({textRed:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.SIGNIFICATIVA,textGreen:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.NO_SIGNIFICATIVA,textOrange:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.POTENCIALMENTE_SIGNIFICATIVA})}],this.pressureRelevanceRainOverflowTableConfiguration=[{columnDef:"impacto",header:this.translate.instant("tablas.tablaRelevanciaPresion.impacto"),cell:v=>`${v.impacto}`},{columnDef:"relevanciaPresion",header:this.translate.instant("tablas.tablaRelevanciaPresion.relevanciaPresion"),cell:v=>`${v.relevanciaPresion}`,conditionalStyle:v=>({textRed:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.SIGNIFICATIVA,textGreen:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.NO_SIGNIFICATIVA,textOrange:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.POTENCIALMENTE_SIGNIFICATIVA})}],this.pressureRelevancesTableConfiguration=[{columnDef:"impacto",header:this.translate.instant("tablas.tablaRelevanciaPresion.impacto"),cell:v=>`${v.impacto}`},{columnDef:"relevanciaPresion",header:this.translate.instant("tablas.tablaRelevanciaPresion.relevanciaPresionMasaAgua"),cell:v=>`${v.relevanciaPresion}`,conditionalStyle:v=>({textRed:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.SIGNIFICATIVA,textGreen:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.NO_SIGNIFICATIVA,textOrange:`${v.relevanciaPresionShort}`===e.C.condicionesEstilos.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"relevanciaPresionFinal",header:this.translate.instant("tablas.tablaRelevanciaPresion.relevanciaPresionDefinitiva"),cell:v=>`${v.relevanciaPresionFinal}`,conditionalStyle:v=>({textRed:`${v.relevanciaPresionFinalShort}`===e.C.condicionesEstilos.SIGNIFICATIVA,textGreen:`${v.relevanciaPresionFinalShort}`===e.C.condicionesEstilos.NO_SIGNIFICATIVA,textOrange:`${v.relevanciaPresionFinalShort}`===e.C.condicionesEstilos.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"seleccion",header:"",cell:v=>""}],this.actionsCodeNameTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.id}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`}],this.favoriteMapsTableConfiguration=[{columnDef:"seleccion",header:"",cell:v=>""},{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"name",header:this.translate.instant("viewer.tables.favoriteMapsTable.name"),cell:v=>`${v.name}`}],this.objetivesGenericTechnicalTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"objetivoDesc",header:this.translate.instant("tablas.tablaObjetivos.objetivo"),cell:v=>`${v.objetivoDesc}`},{columnDef:"justificacionDesc",header:this.translate.instant("tablas.tablaObjetivos.justificacion"),cell:v=>`${v.justificacionDesc||""}`},{columnDef:"justificacionAdicionalDesc",header:this.translate.instant("tablas.tablaObjetivos.justificacionAdicional"),cell:v=>`${v.justificacionAdicionalDesc||""}`}],this.concreteObjetivesGenericTechnicalTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"indicadorDesc",header:this.translate.instant("tablas.tablaObjetivos.indicador"),cell:v=>`${v.indicadorDesc}`},{columnDef:"escenarioDesc",header:this.translate.instant("tablas.tablaObjetivos.escenario"),cell:v=>`${v.escenarioDesc||""}`},{columnDef:"valorLimite",header:this.translate.instant("tablas.tablaObjetivos.valorLimite"),cell:v=>`${this.numberPipe.transform(v.valorLimite,e.C.numRed4Dec)||""}`}],this.documentsTableConfiguration=[{columnDef:"nombreDocumento",header:this.translate.instant("tablas.tablaDocumentos.nombreDoc"),cell:v=>`${v.nombreDocumento}`},{columnDef:"fechaInsercion",header:this.translate.instant("tablas.tablaDocumentos.fechaGuardado"),cell:v=>`${this.datePipe.transform(v.fechaInsercion,e.C.date)}`},{columnDef:"acciones",header:"",cell:v=>""}],this.objetivesExtendGenericTechnicalTableConfiguration=[{columnDef:"objetivoDesc",header:this.translate.instant("tablas.tablaObjetivos.objetivo"),cell:v=>`${v.objetivoDesc}`},{columnDef:"justificacionDesc",header:this.translate.instant("tablas.tablaObjetivos.justificacion"),
1cell:v=>`${v.justificacionDesc||""}`},{columnDef:"justificacionAdicionalDesc",header:this.translate.instant("tablas.tablaObjetivos.justificacionAdicional"),cell:v=>`${v.justificacionAdicionalDesc||""}`},{columnDef:"comentarios",header:this.translate.instant("tablas.tablaObjetivos.comentarios"),cell:v=>`${v.comentarios||""}`}],this.concreteObjetivesExtendGenericTechnicalTableConfiguration=[{columnDef:"indicadorDesc",header:this.translate.instant("tablas.tablaObjetivos.indicador"),cell:v=>`${v.indicadorDesc}`},{columnDef:"escenarioDesc",header:this.translate.instant("tablas.tablaObjetivos.escenario"),cell:v=>`${v.escenarioDesc||""}`},{columnDef:"valorLimite",header:this.translate.instant("tablas.tablaObjetivos.valorLimite"),cell:v=>`${this.numberPipe.transform(v.valorLimite,e.C.numRed4Dec)||""}`},{columnDef:"comentarios",header:this.translate.instant("tablas.tablaObjetivos.comentarios"),cell:v=>`${v.comentarios||""}`}],this.surfaceWaterBodyQuimicalContaminantsStateTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"indiceDesc",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.indicadorMicrog"),cell:v=>`${null===v.indiceDesc?"":v.indiceDesc}`},{columnDef:"fecha",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.anyo"),cell:v=>`${null===v.fecha?"":v.fecha}`,center:!0},{columnDef:"value",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.concentracionMediaAnual"),cell:v=>`${1===v.yearAverageValueLess?"<":""} ${this.numberPipe.transform(v.yearAverageValue,e.C.numRed8Dec)||""}`,center:!0},{columnDef:"descState",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.potencialEcologico"),cell:v=>`${null===v.descState?"":v.descState}${null===v.consideracionesEspecialesDesc?"":" ("+v.consideracionesEspecialesDesc+")"}`,conditionalStyle:v=>({textBlue:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.MUY_BUENO,textGreen:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.BUENO,textYellow:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.MODERADO,textOrange:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.DEFICIENTE,textRed:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.MALO})}],this.surfaceWaterBodyQuimicalStateConBiotaTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"descEstCalidad",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.indicador"),cell:v=>`${null===v.descEstCalidad?"":v.descEstCalidad}`},{columnDef:"fecha",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.anyo"),cell:v=>`${null===v.fecha?"":v.fecha}`,center:!0},{columnDef:"value",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.concentracionMediaAnual"),cell:v=>`${1===v.yearAverageValueLess?"<":""} ${this.numberPipe.transform(v.yearAverageValue,e.C.numRed8Dec)||""}`,center:!0},{columnDef:"yearMaxValue",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.concentracionMaximaDetectadaAgua"),cell:v=>`${1===v.yearMaxValueLess?"<":""} ${this.numberPipe.transform(v.yearMaxValue,e.C.numRed8Dec)||""}`,center:!0},{columnDef:"fechaBiota",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.anyoBiota"),cell:v=>`${null===v.fechaBiota?"":v.fechaBiota}`,center:!0},{columnDef:"concentracionMediaAnualBiota",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.concentracionMediaAnualBiota"),cell:v=>`${1===v.concentracionMediaAnualBiotaLess?"<":""} ${this.numberPipe.transform(v.concentracionMediaAnualBiota,e.C.numRed8Dec)||""}`,center:!0},{columnDef:"descState",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.estadoQuimico"),cell:v=>`${null===v.descState?"":v.descState}${null===v.consideracionesEspecialesDesc?"":" ("+v.consideracionesEspecialesDesc+")"}`,conditionalStyle:v=>({textBlue:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoQuimico.BUENO,textRed:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoQuimico.NO_ALCANZA_BUENO})}],this.surfaceWaterBodyQuimicalStateSinBiotaTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""}
1,{columnDef:"descEstCalidad",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.indicador"),cell:v=>`${null===v.descEstCalidad?"":v.descEstCalidad}`},{columnDef:"fecha",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.anyo"),cell:v=>`${null===v.fecha?"":v.fecha}`,center:!0},{columnDef:"value",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.concentracionMediaAnual"),cell:v=>`${1===v.yearAverageValueLess?"<":""} ${this.numberPipe.transform(v.yearAverageValue,e.C.numRed4Dec)||""}`,center:!0},{columnDef:"yearMaxValue",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.concentracionMaximaDetectadaAgua"),cell:v=>`${1===v.yearMaxValueLess?"<":""} ${this.numberPipe.transform(v.yearMaxValue,e.C.numRed4Dec)||""}`,center:!0},{columnDef:"descState",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.estadoQuimico"),cell:v=>`${null===v.descState?"":v.descState}${null===v.consideracionesEspecialesDesc?"":" ("+v.consideracionesEspecialesDesc+")"}`,conditionalStyle:v=>({textBlue:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoQuimico.BUENO,textRed:`${v.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoQuimico.NO_ALCANZA_BUENO})}],this.extractionsDatosPerforacionTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"desde",header:this.translate.instant("tablas.tablaExtraccionesDatosPerforacion.desde"),cell:v=>`${this.numberPipe.transform(v.desde,e.C.numRed)||""}`},{columnDef:"hasta",header:this.translate.instant("tablas.tablaExtraccionesDatosPerforacion.hasta"),cell:v=>`${this.numberPipe.transform(v.hasta,e.C.numRed)||""}`},{columnDef:"diametro",header:this.translate.instant("tablas.tablaExtraccionesDatosPerforacion.diametro"),cell:v=>`${this.numberPipe.transform(v.diametro,e.C.numRed)||""}`},{columnDef:"descLitologia",header:this.translate.instant("tablas.tablaExtraccionesDatosPerforacion.litologia"),cell:v=>`${v.descLitologia||""}`},{columnDef:"descEdad",header:this.translate.instant("tablas.tablaExtraccionesDatosPerforacion.edad"),cell:v=>`${v.descEdad||""}`},{columnDef:"descAcuifero",header:this.translate.instant("tablas.tablaExtraccionesDatosPerforacion.acuifero"),cell:v=>`${v.descAcuifero||""}`},{columnDef:"comentarios",header:this.translate.instant("tablas.tablaExtraccionesDatosPerforacion.comentarios"),cell:v=>`${v.comentarios||""}`}],this.extractionsDatosEntubacionTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"desde",header:this.translate.instant("tablas.tablaExtraccionesDatosEntubacion.desdeEntubacion"),cell:v=>`${this.numberPipe.transform(v.desde,e.C.numRed)||""}`},{columnDef:"hasta",header:this.translate.instant("tablas.tablaExtraccionesDatosEntubacion.hastaEntubacion"),cell:v=>`${this.numberPipe.transform(v.hasta,e.C.numRed)||""}`},{columnDef:"diametro",header:this.translate.instant("tablas.tablaExtraccionesDatosEntubacion.diametroEntubacion"),cell:v=>`${this.numberPipe.transform(v.diametro,e.C.numRed)||""}`},{columnDef:"descTipo",header:this.translate.instant("tablas.tablaExtraccionesDatosEntubacion.tipoEntubacion"),cell:v=>`${v.descTipo||""}`},{columnDef:"descRelleno",header:this.translate.instant("tablas.tablaExtraccionesDatosEntubacion.tipoRelleno"),cell:v=>`${v.descRelleno||""}`},{columnDef:"comentarios",header:this.translate.instant("tablas.tablaExtraccionesDatosEntubacion.comentariosEntubacion"),cell:v=>`${v.comentarios||""}`}],this.extractionsDatosBombeoTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"profundidadAspiracion",header:this.translate.instant("tablas.tablaExtraccionesDatosBombeo.profundidadAspiracion"),cell:v=>`${this.numberPipe.transform(v.profundidadAspiracion,e.C.numRed)||""}`},{columnDef:"tipoMotor",header:this.translate.instant("tablas.tablaExtraccionesDatosBombeo.tipoMotor"),cell:v=>`${v.tipoMotor||""}`},{columnDef:"caudalMaximo",header:this.translate.instant("tablas.tablaExtraccionesDatosBombeo.caudalMaximo"),cell:v=>`${this.numberPipe.transform(v.caudalMaximo,e.C.numRed)||""}`},{columnDef:"potanciaTotalCV",header:this.translate.instant("tablas.tablaExtraccionesDatosBombeo.potanciaTotalCV"),cell:v=>`${this.numberPipe.transform(v.potanciaTotalCV,e.C.numRed)||""}`},{columnDef:"potanciaTotalKW",header:this.translate.instant("tablas.tablaExtraccionesDatosBombeo.potanciaTotalKW"),cell:v=>`${this.numberPipe.transform(v.potanciaTotalKW,e.C.numRed)||""}`},{columnDef:"potanciaCalculada",header:this.translate.instant("tablas.tablaExtraccionesDatosBombeo.potanciaCalculada"),cell:v=>`${this.numberPipe.transform(v.potanciaCalculada,e.C.numRed)||""}`}],this.gwbLimitTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"limite",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.limite"),cell:v=>`${v.limite||""}`},{columnDef:"tipo",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.tipo"),cell:v=>`${v.tipo||""}`},{columnDef:"sentido",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.sentido"),cell:v=>`${v.sentido||""}`},{columnDef:"naturaleza",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.naturaleza"),cell:v=>`${v.naturaleza||""}`}],this.gwbAquiferTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"codigo",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.codigo"),
1cell:v=>`${v.codigo||""}`},{columnDef:"nombre",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.nombreMasa"),cell:v=>`${v.nombre||""}`}],this.editTableConfigurationPresionActuacion=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.tipoPresionId>0?v.id:""}`},{columnDef:"tipo",header:this.translate.instant("tablas.tablaElemRelacionados.tipoPresion"),cell:v=>`${v.tipo}`},{columnDef:"relevancia",header:this.translate.instant("tablas.tablaElemRelacionados.relevancia"),cell:v=>`${v.relevancia}`},{columnDef:"nombrePresion",header:this.translate.instant("tablas.tablaElemRelacionados.nombrePresion"),cell:v=>`${v.nombre}`},{columnDef:"fechaActuacion",header:this.translate.instant("tablas.tablaElemRelacionados.fechaActuacion"),cell:v=>`${this.datePipe.transform(v.fechaActuacion,e.C.shortDateFormat)||""}`},{columnDef:"tipoActuacion",header:this.translate.instant("tablas.tablaElemRelacionados.tipoActuacion"),cell:v=>`${v.tipoActuacion}`}],this.editTableConfigurationElementoActuacion=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.tipoMasaId>0?v.id:""}`},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaElemRelacionados.tipoElemento"),cell:v=>`${v.tipo}`},{columnDef:"nombreElemento",header:this.translate.instant("tablas.tablaElemRelacionados.nombreElemento"),cell:v=>`${v.nombre}`}],this.editTableConfigurationNucleoActuacion=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"idNucleo",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:v=>`${v.idNucleo}`},{columnDef:"nucleo",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:v=>`${v.nombre}`}],this.informesDocumentsTableConfiguration=[{columnDef:"nombreDocumento",header:this.translate.instant("tablas.tablaDocumentos.nombreDoc"),cell:v=>`${v.nombre}`},{columnDef:"fechaInsercion",header:this.translate.instant("tablas.tablaDocumentos.fechaGuardado"),cell:v=>`${this.datePipe.transform(v.fechaSalida,e.C.date)}`},{columnDef:"acciones",header:"",cell:v=>""}],this.informesExpedienteSearchTableConfiguration=[{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"idExpediente",header:this.translate.instant("tablas.tablaExpedientes.expedienteIntegra"),cell:v=>`${v.nombre||""}`},{columnDef:"codigoAlternativo",header:this.translate.instant("tablas.tablaExpedientes.expedienteAlberca"),cell:v=>`${v.codigoAlternativo||""}`},{columnDef:"comentarios",header:this.translate.instant("tablas.tablaExpedientes.comentarios"),cell:v=>`${v.comentarios||""}`}],this.tableOccupationConfiguration=[{columnDef:"description",header:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.name"),cell:v=>this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.description")},{columnDef:"ict_2016",header:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.ict_2016"),headerTooltip:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.tltipICT2016"),cell:v=>`${this.numberPipe.transform(v.ict_2016,e.C.numRed)||""}`},{columnDef:"ilfl",header:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.ilfl"),headerTooltip:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.tltipIL
1FL"),cell:v=>`${this.numberPipe.transform(v.ilfl,e.C.numRed)||""}`},{columnDef:"ict_2024",header:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.ict_2024"),headerTooltip:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.tltipICT2024"),cell:v=>`${this.numberPipe.transform(v.ict_2024,e.C.numRed)||""}`},{columnDef:"ict_estimated",header:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.ict_estimated"),headerTooltip:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.tltipICTEstimated"),cell:v=>`${this.numberPipe.transform(v.ict_estimated,e.C.numRed)||""}`},{columnDef:"relevancia",header:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.relevancia"),cell:v=>`${v.significative} ${v.impactDesc||""}`,conditionalStyle:v=>({textRed:`${v.significative}`===e.C.condicionesEstilosPresDif.SIGNIFICATIVAS,textGreen:`${v.significative}`===e.C.condicionesEstilosPresDif.NO_SIGNIFICATIVAS,textOrange:`${v.significative}`===e.C.condicionesEstilosPresDif.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"relevanciaFinal",header:this.translate.instant("tablas.tablaOcupacionEspacioLibertadFuvialPresionesMasasAgua.relevanciaFinal"),cell:v=>`${v.significativeDef} ${v.impactDescDef||""}`,conditionalStyle:v=>({textRed:`${v.significativeDef}`===e.C.condicionesEstilosPresDif.SIGNIFICATIVAS,textGreen:`${v.significativeDef}`===e.C.condicionesEstilosPresDif.NO_SIGNIFICATIVAS,textOrange:`${v.significativeDef}`===e.C.condicionesEstilosPresDif.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"seleccion",header:"",cell:v=>""}],this.tableAcumulatePressuresDefConfiguration=[{columnDef:"parametro",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.parametro"),cell:v=>`${v.parametro}`},{columnDef:"value",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.value"),cell:v=>`${this.numberPipe.transform(v.value,e.C.numRed)||v.valueText||""}  ${v.unity}`},{columnDef:"relevancia",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.relevancia"),cell:v=>`${v.description}`,conditionalStyle:v=>({textOrange:`${v.codigoRelevanciaPresion}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"relevanciaFinal",header:this.translate.instant("tablas.tablaPresionesAcumuladasMasasAgua.relevanciaFinal"),cell:v=>`${v.descriptionDef}`,conditionalStyle:v=>({textOrange:`${v.codigoRelevanciaFinal}`===e.C.condicionesEstilosMasasAguaRelevancia.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"acciones",header:"",cell:v=>""},{columnDef:"seleccion",header:"",cell:v=>""}],this.numberPipe=new s.JJ(this.translate.currentLang),this.datePipe=new s.uU(this.translate.currentLang)}getVersionTableConfiguration(){return this.versionTableConfiguration}getHistoricalTableConfiguration(c=e.C.numRed){return[{columnDef:"usuario",header:this.translate.instant("tablas.tablaHistorico.usuario"),cell:Z=>`${Z.usuario}`},{columnDef:"fechaModificacion",header:this.translate.instant("tablas.tablaHistorico.fecha"),cell:Z=>`${this.datePipe.transform(Z.fechaModificacion,e.C.date)}`},{columnDef:"validador",header:this.translate.instant("tablas.tablaHistorico.validador"),cell:Z=>`${Z.validador}`},{columnDef:"valor",header:this.translate.instant("tablas.tablaHistorico.valor"),cell:Z=>d.o.transform(Z.valor,c,e.C.date,this.translate.currentLang)||""},{columnDef:"calidad",header:this.translate.instant("tablas.tablaHistorico.calidad"),cell:Z=>`${Z.calidad}`},{columnDef:"origen",header:this.translate.instant("tablas.tablaHistorico.origen"),cell:Z=>`${Z.origen}`},{columnDef:"comentarios",header:this.translate.instant("tablas.tablaHistorico.comentarios"),cell:Z=>`${Z.comentarios}`},{columnDef:"operacion",header:this.translate.instant("tablas.tablaHistorico.operacion"),cell:Z=>`${Z.operacion}`}]}getBasicRelatedTableConfiguration(){return this.basicRelatedTableConfiguration}getBasicEntityTableConfiguration(){return this.basicEntityTableConfiguration}getExtendedRelatedTableConfiguration(){return this.extendedRelatedTableConfiguration}getRelatedElementTableConfiguration(c){let Z;return Z=c===e.C.relatedElements.MASA_AGUA_EMBALSE_PROPUESTA?this.extendedRelatedTableConfiguration:c===e.C.relatedElements.MASA_AGUA_RIO_PROPUESTA?this.extendedShortNameRelatedTableConfiguration:c===e.C.relatedElements.SUBCUENCA_VERTIENTE?this.basicRelatedWithOutSeleccionTableConfiguration:c===e.C.relatedElements.MASA_SUBTERRANEA?this.extendedEstadoRelatedTableConfiguration:c===e.C.relatedElements.PRESAS?this.damEstadoRelatedTableConfiguration:c===e.C.relatedElements.NUCLEOS||c===e.C.relatedElements.INDUSTRIA?this.usesRelatedTableConfiguration:this.basicRelatedTableConfiguration,Z}getEditTableConfigurationCurva(){return this.editTableConfigurationCurva}getEditTableConfigurationEF(){return this.editTableConfigurationEF}getEditTableConfigurationMedidasContrato(){return this.editTableConfigurationMedidaContrato}getEditTableConfigurationReglasExpl(){return this.editTableConfigurationReglasExplotacion}getEditTableConfigurationGwbGeoUnidadGeologica(){return this.editTableConfigurationGwbGeoUnidadGeologica}getEditTableConfigurationGwbGeoLitologias(){return this.editTableConfigurationGwbGeoLitologias}getReadTableConfigurationGwbGeoUnidadGeologica(){return this.readTableConfigurationGwbGeoUnidadGeologica}getDeleteBasicTableConfiguration(){return this.deleteBasicTableConfiguration}getLegislationDeleteBasicTableConfiguration(){return this.legislationDeleteBasicTableConfiguration}getRelatedElemTableConfiguration(){return this.relatedElemTableConfiguration}getMeasuresGeneralTableConfiguration(){return this.measuresGeneralTableConfiguration}getMeasuresTechnicalTableConfiguration(){return this.measuresTechnicalTableConfiguration}getMeasuresEntityTableConfiguration(){return this.measuresEntityTableConfiguration}getMeasuresGenericTechnicalTableConfiguration(){return this.measuresGenericTechnicalTableConfiguration}getObjetivesGenericTechnicalTableConfiguration(){return this.objetivesGenericTechnicalTableConfiguration}getConcreteObjetivesGenericTechnicalTableConfiguration(){return this.concreteObjetivesGenericTechnicalTableConfiguration}getObjetivesExtendGenericTechnicalTableConfiguration(){return this.objetivesExtendGenericTechnicalTableConfiguration}getConcreteObjetivesExtendGenericTechnicalTableConfiguration(){return this.concreteObjetivesExtendGenericTechnicalTableConfiguration}getVersionTableConfigurationDocuments(){return this.documentsTableConfiguration}getDeteriorationsGenericTechnicalTableConfiguration(){return this.deteriorationsGenericTechnicalTableConfiguration}getPressuresRiskTypesTableConfiguration(){return this.pressuresRiskTypesTableConfiguration}getTableImpactsConfiguration(){return this.tableImpactsConfiguration}getTableExtraccionesConfiguration(){return this.tableExtraccionesConfiguration}getTableDemandasRegadioMasaAguaConfiguration(){return this.tableDemandasRegadioMasaAguaConfiguration}getTableDemandasTrasvasesMasaAguaConfiguration(){return this.tableDemandasTrasvasesMasaAguaConfiguration}getTablePuntosDesbordamientoPresionesMasaAguaConfiguration(){return this.tablePuntosDesbordamientoPresionesMasaAguaConfiguration}getTableVertederosPresionesMasaAguaConfiguration(){return this.tableVertederosPresionesMasaAguaConfiguration}getTableAcumulatePressuresRiverConfiguration(){return this.tableAcumulatePressuresRiverConfiguration}getTableAcumulatePressuresConfiguration(){return this.tableAcumulatePressuresConfiguration}getTableAcumulatePressuresDefConfiguration(){return this.tableAcumulatePressuresDefConfiguration}getTablePressuresDifMasasAguaConfiguration(){return this.tablePressuresDifMasasAguaConfiguration}getTablePresasPresionMasasAguaConfiguration(){return this.tablePresasPresionMasasAguaConfiguration}getTablePresasPresionMasasAguaVigorConfiguration(){return this.tablePresasPresionMasasAguaVigorConfiguration}getTableVertidosMasasAguaConfiguration(){return this.tableVertidosMasasAguaConfiguration}getTableObstaclesConfiguration(){return this.tableObstaclesConfiguration}getTableUrbanDemandasConfiguration(){return this.tableDemandasUrbanasMasaAguaConfiguration}getHabitatsBasicTableConfiguration(c=!1){let v=[{columnDef:"codigo",header:this.translate.instant("tablas.tablaHabitats.codigo"),
1cell:ee=>`${ee.codigo}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})},{columnDef:"nombre",header:this.translate.instant("tablas.tablaHabitats.nombre"),cell:ee=>`${ee.nombre}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})},{columnDef:"prioridadDesc",header:this.translate.instant("tablas.tablaHabitats.prioritario"),cell:ee=>`${ee.prioridadDesc}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})},{columnDef:"estadoDesc",header:this.translate.instant("tablas.tablaHabitats.evaluacion"),cell:ee=>`${ee.estadoDesc}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})}];return c&&v.unshift({columnDef:"acciones",header:"",cell:ee=>""}),v}getEspeciesBasicTableConfiguration(c=!1){let v=[{columnDef:"codigo",header:this.translate.instant("tablas.tablaEspecies.codigo"),cell:ee=>`${ee.codigo}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})},{columnDef:"nombreCientifico",header:this.translate.instant("tablas.tablaEspecies.nombreCientifico"),cell:ee=>`${ee.nombreCientifico}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})},{columnDef:"nombre",header:this.translate.instant("tablas.tablaEspecies.nombre"),cell:ee=>`${ee.nombre}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})},{columnDef:"prioridadDesc",header:this.translate.instant("tablas.tablaEspecies.prioritario"),cell:ee=>`${ee.prioridadDesc}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})},{columnDef:"estadoDesc",header:this.translate.instant("tablas.tablaEspecies.evaluacion"),cell:ee=>`${ee.estadoDesc}`,conditionalStyle:ee=>({textRed:`${ee.estadoId}`===e.C.condicionesEstilos.MALO&&`${ee.prioridadId}`===e.C.condicionesEstilos.SI})}];return c&&v.unshift({columnDef:"acciones",header:"",cell:ee=>""}),v}getPressureRelevanceTableConfiguration(){return this.pressureRelevanceTableConfiguration}getPressureRelevanceRainOverflowTableConfiguration(){return this.pressureRelevanceRainOverflowTableConfiguration}getEditTableConfigurationPresionesActuacion(){return this.editTableConfigurationPresionActuacion}getEditTableConfigurationElementosActuacion(){return this.editTableConfigurationElementoActuacion}getTableOccupationConfiguration(){return this.tableOccupationConfiguration}getEditTableConfigurationPoblacionesActuacion(){var c=this;return(0,i.Z)(function*(){const[Z,v,ee,X,te,_e,ne,oe,he,Se,Be,ot]=yield(0,S.z)(c.translationHelper.getTranslations(["actuations.tablaPoblaciones.codigo","actuations.tablaPoblaciones.tltipCodigo","actuations.tablaPoblaciones.nucleoPoblacion","actuations.tablaPoblaciones.tltipNucleoPoblacion","actuations.tablaPoblaciones.municipio","actuations.tablaPoblaciones.tltipMunicipio","actuations.tablaPoblaciones.provincia","actuations.tablaPoblaciones.tltipProvincia","actuations.tablaPoblaciones.comunidadAutonoma","actuations.tablaPoblaciones.tltipComunidadAutonoma","actuations.tablaPoblaciones.pais","actuations.tablaPoblaciones.tltipPais"]));return[{columnDef:"acciones",header:"",cell:nt=>""},{columnDef:"id",header:Z,headerTooltip:v,cell:nt=>`${nt.codigoIne||""}`,center:!1},{columnDef:"nucleo",header:ee,headerTooltip:X,cell:nt=>`${nt.nucleo||""}`,center:!1},{columnDef:"municipio",header:te,headerTooltip:_e,cell:nt=>`${nt.municipio||""}`,center:!1},{columnDef:"provincia",header:ne,headerTooltip:oe,cell:nt=>`${nt.provincia||""}`,center:!1},{columnDef:"comunidadAutonoma",header:he,headerTooltip:Se,cell:nt=>`${nt.comunidadAutonoma||""}`,center:!0},{columnDef:"pais",header:Be,headerTooltip:ot,cell:nt=>`${nt.pais||""}`,center:!0}]})()}getEditTableConfigurationNucleosActuacion(){return this.editTableConfigurationNucleoActuacion}getEditTableConfigurationMedidasActuacion(){var c=this;return(0,i.Z)(function*(){const[Z,v]=yield(0,S.z)(c.translationHelper.getTranslations(["actuations.tablaContratos.presupuesto","actuations.tablaContratos.porcentaje"]));return[{columnDef:"acciones",header:"",cell:ee=>""},{columnDef:"idMedida",header:c.translate.instant("tablas.tablaEdicion.codigoMedida"),cell:ee=>`${ee.idMedida}`},{columnDef:"medida",header:c.translate.instant("tablas.tablaEdicion.nombreMedida"),cell:ee=>`${ee.nombre}`},{columnDef:"presupuesto",header:Z,cell:ee=>`${c.numberPipe.transform(ee.presupuesto,e.C.numRed)||""}`},{columnDef:"porcentaje",header:v,cell:ee=>`${c.numberPipe.transform(ee.percent,e.C.numRed)||""}`,center:!0},{columnDef:"fechaInicio",header:c.translate.instant("tablas.tablaEdicion.inicio"),cell:ee=>`${c.datePipe.transform(ee.fechaInicio,e.C.shortDateFormat)||""}`},{columnDef:"fechaFin",header:c.translate.instant("tablas.tablaEdicion.fin"),cell:ee=>`${c.datePipe.transform(ee.fechaFin,e.C.shortDateFormat)||""}`}]})()}getInformesTableConfigurationDocuments(){return this.informesDocumentsTableConfiguration}getInformesExpedienteSearchTablaConfiguration(){return this.informesExpedienteSearchTableConfiguration}getInformesGenerationCaptacionesTableConfiguration(){return[{columnDef:"id",header:this.translate.instant("reports.fichaInforme.tablaCaptaciones.lblCodigo"),
1cell:c=>`${null!=c.id?c.id:""}`,conditionalStyle:c=>({textBlue:null!=`${c.id}`})},{columnDef:"expediente",header:this.translate.instant("reports.fichaInforme.tablaCaptaciones.lblExpediente"),cell:c=>`${c.codAlberca||""}`,conditionalStyle:c=>({textBlue:null!=`${c.codAlberca}`})},{columnDef:"tipo",header:this.translate.instant("reports.fichaInforme.tablaCaptaciones.lblTipo"),cell:c=>`${c.tipo||""}`,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"masa",header:this.translate.instant("reports.fichaInforme.tablaCaptaciones.lblMasa"),cell:c=>`${c.nameSubterranea||""}`,conditionalStyle:c=>({textBlue:null!=`${c.nameSubterranea}`})},{columnDef:"municipio",header:this.translate.instant("reports.fichaInforme.tablaCaptaciones.lblMunicipio"),cell:c=>`${c.nameMunicipio||""}`,conditionalStyle:c=>({textBlue:null!=`${c.nameMunicipio}`})},{columnDef:"volconcedido",header:this.translate.instant("reports.fichaInforme.tablaCaptaciones.lblVolumenConcedido"),cell:c=>`${this.numberPipe.transform(c.volumenConcedido,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.volumenConcedido}`})},{columnDef:"volsolicitado",header:this.translate.instant("reports.fichaInforme.tablaCaptaciones.lblVolumenSolicitado"),cell:c=>`${this.numberPipe.transform(c.max_vol_year,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.max_vol_year}`})}]}getInformesTableConfigurationExpedientesNucleos(){return[{columnDef:"expediente",header:this.translate.instant("reports.fichaInforme.tablaExpedienteNucleo.lblDossier"),cell:c=>`${c.idDossier||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idDossier}`})},{columnDef:"situacion",header:this.translate.instant("reports.fichaInforme.tablaExpedienteNucleo.lblSituacion"),cell:c=>`${c.situacion||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idDossier}`})},{columnDef:"uso",header:this.translate.instant("reports.fichaInforme.tablaExpedienteNucleo.lblUso"),cell:c=>`${c.nombre||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idDossier}`})},{columnDef:"volumen",header:this.translate.instant("reports.fichaInforme.tablaExpedienteNucleo.lblVolumen"),cell:c=>`${this.numberPipe.transform(c.maxVol,e.C.numEnt)||this.translate.instant("reports.fichaInforme.tablaExpedienteNucleo.lblVolumenNull")}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idDossier}`&&null!=`${c.maxVol}`,textRed:null==`${c.maxVol}`})}]}getSurfaceWaterBodyEcoStateTableConfiguration(c){return[{columnDef:"acciones",header:"",cell:Z=>""},{columnDef:"indiceDesc",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.indicador"),cell:Z=>`${null===Z.indiceDesc?"":Z.indiceDesc}`},{columnDef:"fecha",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.anyo"),cell:Z=>`${null===Z.fecha?"":Z.fecha}`,center:!0},{columnDef:"value",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.valor"),cell:Z=>`${this.numberPipe.transform(Z.value,e.C.numRed8Dec)||""}`,center:!0},{columnDef:"descState",header:this.translate.instant("tablas.tablaEstadoMasasAguaCanal.potencialEcologico"),cell:Z=>`${null===Z.descState?"":Z.descState}${null===Z.consideracionesEspecialesDesc?"":" ("+Z.consideracionesEspecialesDesc+")"}`,conditionalStyle:Z=>({textBlue:`${Z.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.MUY_BUENO,textGreen:`${Z.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.BUENO,textYellow:`${Z.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.MODERADO,textOrange:`${Z.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.DEFICIENTE,textRed:`${Z.calculatedState}`===e.C.condicionesEstilosMasasAguaEstadoEcologico.MALO})}]}getSurfaceWaterBodyQuimicalContaminantsStateTableConfiguration(){return this.surfaceWaterBodyQuimicalContaminantsStateTableConfiguration}getSurfaceWaterBodyQuimicalStateConBiotaTableConfiguration(){return this.surfaceWaterBodyQuimicalStateConBiotaTableConfiguration}getSurfaceWaterBodyQuimicalStateSinBiotaTableConfiguration(){return this.surfaceWaterBodyQuimicalStateSinBiotaTableConfiguration}getExtractionsDatosPerforacionTableConfiguration(){return this.extractionsDatosPerforacionTableConfiguration}getExtractionsDatosEntubacionTableConfiguration(){return this.extractionsDatosEntubacionTableConfiguration}getExtractionsDatosBombeoTableConfiguration(){return this.extractionsDatosBombeoTableConfiguration}getGwbNaturalRechargeTableConfiguration(){var c=this;return(0,i.Z)(function*(){const[Z,v,ee]=yield(0,S.z)(c.translationHelper.getTranslations(["groundwaterbody.fichaTecnica.tabla.peri
1odo","groundwaterbody.fichaTecnica.tabla.componente","groundwaterbody.fichaTecnica.tabla.volumenAnual"]));return[{columnDef:"acciones",header:"",cell:X=>""},{columnDef:"periodo",header:Z,cell:X=>A.N.getFormatDates(X.fecha1,X.fecha2,c.datePipe)},{columnDef:"componente",header:v,cell:X=>`${X.componente||""}`},{columnDef:"volumentAnual",header:ee,cell:X=>`${c.numberPipe.transform(X.volumenAnual,e.C.numRed)||""}`}]})()}getGwbArtificialRechargeTableConfiguration(){var c=this;return(0,i.Z)(function*(){const[Z,v,ee]=yield(0,S.z)(c.translationHelper.getTranslations(["groundwaterbody.fichaTecnica.tabla.periodo","groundwaterbody.fichaTecnica.tabla.sistema","groundwaterbody.fichaTecnica.tabla.volumenAnual"]));return[{columnDef:"acciones",header:"",cell:X=>""},{columnDef:"periodo",header:Z,cell:X=>A.N.getFormatDates(X.fecha1,X.fecha2,c.datePipe)},{columnDef:"sistema",header:v,cell:X=>`${X.sistema||""}`},{columnDef:"volumentAnual",header:ee,cell:X=>`${c.numberPipe.transform(X.volumenAnual,e.C.numRed)||""}`}]})()}getGwbLimitTableConfiguration(){return this.gwbLimitTableConfiguration}getGwbAquiferTableConfiguration(){return this.gwbAquiferTableConfiguration}getDeleteBasicTableConfigurationLabelName(c){return[{columnDef:"acciones",header:"",cell:Z=>""},{columnDef:"valor",header:this.translate.instant(c),cell:Z=>`${Z.valor}`}]}getEditDamReservoirTableConfiguration(c){return[{columnDef:"acciones",header:"",cell:Z=>""},{columnDef:"id",header:this.translate.instant(c[0]),cell:Z=>`${Z.id}`},{columnDef:"nombre",header:this.translate.instant(c[1]),cell:Z=>`${Z.nombre}`},{columnDef:"entradaEnServicio",header:this.translate.instant(c[2]),cell:Z=>`${Z.usoPrincipal}`}]}getGwbProtectedZoneTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigo",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.codigo"),cell:c=>`${c.codigo}`},{columnDef:"nombre",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.nombre"),cell:c=>`${c.nombre}`},{columnDef:"tipo",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.tipo"),cell:c=>`${c.tipo}`}]}getGwbEdaficSoilTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"orden",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.orden"),cell:c=>`${c.orden}`},{columnDef:"suborden",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.suborden"),cell:c=>`${c.suborden}`},{columnDef:"tipo",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.tipo"),cell:c=>`${c.tipo}`},{columnDef:"espesor",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.espesor"),cell:c=>`${this.numberPipe.transform(c.espesor,e.C.numRed)||""}`,center:!0},{columnDef:"porcentaje",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.porcentaje"),cell:c=>`${this.numberPipe.transform(c.porcentaje,e.C.numRed)||""}`,center:!0}]}getGwbVulnerabilityContaminationTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"magnitud",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.magnitud"),cell:c=>`${c.magnitud}`},{columnDef:"valorMinimo",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.valorMinimo"),cell:c=>`${this.numberPipe.transform(c.valorMinimo,e.C.numRed)||""}`,center:!0},{columnDef:"valorMaximo",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.valorMaximo"),cell:c=>`${this.numberPipe.transform(c.valorMaximo,e.C.numRed)||""}`,center:!0},{columnDef:"porcentajeSuperficie",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.porcentajeSuperficie"),cell:c=>`${this.numberPipe.transform(c.porcentajeSuperficie,e.C.numRed)||""}`,center:!0}]}getPressureRelevancesTableConfiguration(){return this.pressureRelevancesTableConfiguration}
1getActionsCodeNameTableConfiguration(){return this.actionsCodeNameTableConfiguration}getSamplingPointsSurfaceMonitoringStationTableConfiguration(c){return[{columnDef:"acciones",header:"",cell:Z=>""},{columnDef:"id",header:this.translate.instant(c[0]),cell:Z=>`${Z.id}`},{columnDef:"nombre",header:this.translate.instant(c[1]),cell:Z=>`${Z.nombre}`},{columnDef:"codigoPrincipal",header:this.translate.instant(c[2]),cell:Z=>`${Z.codigoPrincipal}`},{columnDef:"codigoMinisterio",header:this.translate.instant(c[3]),cell:Z=>`${Z.codigoMinisterio}`},{columnDef:"codigoLaboratorio",header:this.translate.instant(c[4]),cell:Z=>`${Z.codigoLaboratorio}`}]}getSubProgramsSurfaceMonitoringStationTableConfiguration(c){return[{columnDef:"acciones",header:"",cell:Z=>""},{columnDef:"id",header:this.translate.instant(c[0]),cell:Z=>`${Z.id}`},{columnDef:"nombre",header:this.translate.instant(c[1]),cell:Z=>`${Z.nombre}`}]}getSubProgramsSamplingPointsTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaElemRelacionados.codigo"),cell:c=>`${c.id}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaElemRelacionados.nombre"),cell:c=>`${c.nombre}`}]}geUsuariosTableConfiguration(c){return[{columnDef:"acciones",header:"",cell:Z=>""},{columnDef:"nombre",header:c["management.usuarios.resultados.nombre"],cell:Z=>`${Z.nombre}`},{columnDef:"apellido1",header:c["management.usuarios.resultados.apellido1"],cell:Z=>`${Z.apellido1}`},{columnDef:"apellido2",header:c["management.usuarios.resultados.apellido2"],cell:Z=>`${Z.apellido2||""}`},{columnDef:"email",header:c["management.usuarios.resultados.email"],cell:Z=>`${Z.email}`}]}getPerfilesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"nombre",header:this.translate.instant("management.perfiles.resultados.perfil"),cell:c=>`${c.nombre}`},{columnDef:"comentario",header:this.translate.instant("management.perfiles.resultados.comentarios"),cell:c=>`${c.comentario||""}`},{columnDef:"activo",header:this.translate.instant("management.perfiles.resultados.activo"),cell:c=>!0===c.activo?"S\xed":"No"}]}getOrganizacionTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"nombre",header:this.translate.instant("management.organizacion.resultados.nombre"),cell:c=>`${c.nombre}`}]}getFavoriteMapsTableConfiguration(){return this.favoriteMapsTableConfiguration}geValidationPendingListTableConfiguration(c){return[{columnDef:"acciones",header:"",cell:Z=>""},{columnDef:"descripcion",header:c["validation.validaciones.tabla.entidad"],cell:Z=>`${Z.descripcion}`},{columnDef:"total",header:c["validation.validaciones.tabla.validacionesPendientes"],cell:Z=>`${Z.total}`}]}getCaudalesEcoTableConfiguration(){return[{columnDef:"mes",header:this.translate.instant("tablas.tablaCaudalesEco.mes"),footer:this.translate.instant("tablas.tablaCaudalesEco.footerMes"),cell:c=>`${c.mes}`,editable:!1,center:!1},{columnDef:"minimoNormal",header:this.translate.instant("tablas.tablaCaudalesEco.minimoNormal"),footerOperation:"mean",cell:c=>`${c.minimoNormal.value||""}`,numberPipe:e.C.numRed3Dec,editable:!0,center:!0},{columnDef:"minimoSequia",header:this.translate.instant("tablas.tablaCaudalesEco.minimoSequia"),footerOperation:"mean",cell:c=>`${c.minimoSequia.value||""}`,numberPipe:e.C.numRed3Dec,editable:!0,center:!0},{columnDef:"maximo",header:this.translate.instant("tablas.tablaCaudalesEco.maximo"),cell:c=>`${c.maximo.value||""}`,numberPipe:e.C.numRed3Dec,editable:!0,center:!0}]}getCaudalesEcoSinMaximoTableConfiguration(){return[{columnDef:"mes",header:this.translate.instant("tablas.tablaCaudalesEco.mes"),footer:this.translate.instant("tablas.tablaCaudalesEco.footerMes"),cell:c=>`${c.mes}`,editable:!1,center:!1},{columnDef:"minimoNormal",header:this.translate.instant("tablas.tablaCaudalesEco.situacionNormal"),footerOperation:"mean",cell:c=>`${c.minimoNormal.value||""}`,numberPipe:e.C.numRed3Dec,editable:!0,center:!0},{columnDef:"minimoSequia",header:this.translate.instant("tablas.tablaCaudalesEco.situacionSequia"),footerOperation:"mean",cell:c=>`${c.minimoSequia.value||""}`,numberPipe:e.C.numRed3Dec,editable:!0,center:!0}]}getExploitationRigthsTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"tipologiaUsoExplotacion",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.tipologiaUsoExplotacion"),footer:this.translate.instant("groundwaterbody.fichaTecnica.tabla.footerTipologiaUsoExplotacion"),cell:c=>`${c.tipologiaUsoExplotacion}`,center:!1},{columnDef:"numeroPuntosExtraccion",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.numeroPuntosExtraccion"),headerTooltip:this.translate.instant("groundwaterbody.fichaTecnica.tltipNumPuntosExtraccion"),footerOperation:"sum",cell:c=>`${this.numberPipe.transform(c.numeroPuntosExtraccion,e.C.numEnt)||""}`,center:!0},{columnDef:"volumenAnual",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.volumenAnualAutorizado"),headerTooltip:this.translate.instant("groundwaterbody.fichaTecnica.tltipVolAnualAutorizado"),footerOperation:"sum",cell:c=>`${this.numberPipe.transform(c.volumenAnual,e.C.numRed4Dec)||""}`,center:!0}]}getGwbRelatedUsesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigoNombre",header:"",cell:c=>`${c.codigo}-${c.nombre}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"expediente",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.expediente"),cell:c=>`${c.expediente||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenInformado",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.volumenInformado"),headerTooltip:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.tltipVolumenInformado"),cell:c=>`${this.numberPipe.transform(c.volumenInformado,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"situacionUso",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.situacionUso"),headerTooltip:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.tltipSituacionUso"),cell:c=>`${c.situacionUso||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenOtorgado",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.volumenOtorgado"),headerTooltip:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.tltipVolumenOtorgado"),cell:c=>l.c.isNullorEmpty(c.volumenOtorgado)?`${this.numberPipe.transform(c.volumenEstimado,e.C.numRed)||""}`:`${this.numberPipe.transform(c.volumenOtorgado,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"variacionReserva",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.variacionReserva"),headerTooltip:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.tltipVariacionReserva"),cell:c=>`${this.numberPipe.transform(c.variacionReserva,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"fechaInforme",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.fechaInforme"),headerTooltip:this.translate.instant("groundwaterbody.fichaTecnica.tabla.usosVinculados.tltipFechaInforme"),cell:c=>`${this.datePipe.transform(c.fechaInforme,e.C.date)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})}]}getChemicalQualityLevelsTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"parametro",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.niveles.parametro"),cell:c=>`${c.parametroDesc}`,center:!1},{columnDef:"numEstacionesDatos",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.niveles.numEstacionesdatos"),cell:c=>`${c.numEstaciones||""}/${c.numDatos||""}`,center:!0},{columnDef:"perc25",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.niveles.perc25"),cell:c=>`${this.numberPipe.transform(c.perc25,e.C.numRed4Dec)||""}`,center:!0},{columnDef:"perc75",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.niveles.perc75"),cell:c=>`${this.numberPipe.transform(c.perc75,e.C.numRed4Dec)||""}`,center:!0},{columnDef:"periodo",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.niveles.periodo"),cell:c=>`${this.datePipe.transform(c.fecha1,e.C.shortDateFormat)||""} - ${this.datePipe.transform(c.fecha2,e.C.shortDateFormat)||""}`,center:!1}]}getChemicalQualityStratTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"rangoProfundidad",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.estratificacion.rangoProfundidad"),cell:c=>`${c.rangoProfundidad}`,center:!1},{columnDef:"nitratos",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.estratificacion.nitratos"),cell:c=>`${this.numberPipe.transform(c.nitratos,e.C.numRed)||""}`,center:!0},{columnDef:"conductividadElectrica",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.estratificacion.conductividadElectrica"),cell:c=>`${this.numberPipe.transform(c.conductividadElectrica,e.C.numRed)||""}`,center:!0},{columnDef:"temperatura",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.estratificacion.temperatura"),cell:c=>`${this.numberPipe.transform(c.temperatura,e.C.numRed)||""}`,center:!0}]}getChemicalQualityThresholdValuesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"parametro",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.valoresUmbrales.parametro"),cell:c=>`${c.parametroDesc}`,center:!1},{columnDef:"valorUmbral",header:this.translate.instant("groundwaterbody.fichaTecnica.tabla.valoresUmbrales.valorUmbral"),cell:c=>`${this.numberPipe.transform(c.valorUmbral,e.C.numRed)||""}`}]}getListaVolumenesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"descTipoGanado",header:this.translate.instant("tablas.tablaVolumenes.tipoGanado"),footer:"",cell:c=>`${c.descTipoGanado}
1`,editable:!1,center:!1},{columnDef:"descTipoGanaderia",header:this.translate.instant("tablas.tablaVolumenes.descTipoGanaderia"),footer:"",cell:c=>`${c.descTipoGanaderia}`,editable:!1,center:!1},{columnDef:"numeroCabezas",header:this.translate.instant("tablas.tablaVolumenes.numeroCabezas"),footer:"TOTAL:",cell:c=>`${this.numberPipe.transform(c.numeroCabezas,e.C.numEnt)||""}`,numberPipe:e.C.numEnt,editable:!1,center:!0},{columnDef:"volSolicitadoTotal",header:this.translate.instant("tablas.tablaVolumenes.volSolicitado"),cell:c=>`${this.numberPipe.transform(c.volSolicitadoTotal,e.C.numRed)||""}`,numberPipe:e.C.numRed,editable:!1,center:!0,footerOperation:"sum"},{columnDef:"volCompatibleTotal",header:this.translate.instant("tablas.tablaVolumenes.volCompatible"),cell:c=>`${this.numberPipe.transform(c.volCompatibleTotal,e.C.numRed)||""}`,numberPipe:e.C.numRed,editable:!1,center:!0,footerOperation:"sum"}]}getVolumesTableConfiguration(){return[{columnDef:"mes",header:this.translate.instant("tablas.tablaVolumenes.mes"),footer:"",cell:c=>`${c.mes}`,editable:!1,center:!1},{columnDef:"volSolicitado",header:this.translate.instant("tablas.tablaVolumenes.volSolicitado"),footer:"",cell:c=>`${c.volSolicitado.value||""}`,numberPipe:e.C.numRed4Dec,editable:!0,center:!0},{columnDef:"volCompatible",header:this.translate.instant("tablas.tablaVolumenes.volCompatible"),footer:"",cell:c=>`${c.volCompatible.value||""}`,numberPipe:e.C.numRed4Dec,editable:!1,center:!0}]}getVolumesNucleosTableConfiguration(){return[{columnDef:"mes",header:this.translate.instant("tablas.tablaVolumenes.mes"),footer:"",cell:c=>`${c.mes}`,editable:!1,center:!1},{columnDef:"volSolicitado",header:this.translate.instant("tablas.tablaVolumenes.volSolicitado"),footer:"",cell:c=>`${c.volSolicitado.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0},{columnDef:"volCompatibleAbastecimiento",header:this.translate.instant("tablas.tablaVolumenes.volCompatibleAbastecimiento"),footer:"",cell:c=>`${c.volCompatibleAbastecimiento.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0},{columnDef:"volCompatibleGanaderia",header:this.translate.instant("tablas.tablaVolumenes.volCompatibleGanaderia"),footer:"",cell:c=>`${c.volCompatibleGanaderia.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0},{columnDef:"volCompatibleTotal",header:this.translate.instant("tablas.tablaVolumenes.volCompatibleTotal"),footer:"",cell:c=>`${c.volCompatibleTotal.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0}]}getNucleusTablaComunidadesConfiguration(c){return[{columnDef:"comunidad",header:c["nucleus.data.tablas.tablaNucleosComunidades.comunidad"],cell:Z=>`${Z.nombreCCAA}`,editable:!1,center:!1},{columnDef:"provincia",header:c["nucleus.data.tablas.tablaNucleosComunidades.provincia"],footer:c["nucleus.data.tablas.tablaNucleosComunidades.footerTotal"],cell:Z=>`${Z.nombreProvincia}`,editable:!0,center:!1},{columnDef:"areaProvinciaEnCuenca",header:c["nucleus.data.tablas.tablaNucleosComunidades.superficie"],footerOperation:"sum",cell:Z=>`${this.numberPipe.transform(Z.areaProvinciaEnCuenca,e.C.numRed)||""}`,numberPipe:e.C.numRed,center:!0},{columnDef:"poblacionProvincia",header:c["nucleus.data.tablas.tablaNucleosComunidades.habitantes"],footerOperation:"sum",cell:Z=>`${this.numberPipe.transform(Z.poblacionProvincia,e.C.numRed)||""}`,numberPipe:e.C.numRed,center:!0}]}getNucleusTablaCaptacionesConfiguration(){return[{columnDef:"nombre",header:this.translate.instant("tablas.tablaNucleosCaptaciones.nombre"),cell:c=>`${c.nombre}`},{columnDef:"tipoCaptacion",header:this.translate.instant("tablas.tablaNucleosCaptaciones.tipoCaptacion"),cell:c=>`${c.tipoCaptacion}`}]}getNucleusTablaVertidosConfiguration(){return[{columnDef:"expediente",header:this.translate.instant("tablas.tablaNucleosVertidos.expediente"),cell:c=>`${c.expediente}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaNucleosVertidos.nombre"),cell:c=>`${c.nombre}`}]}getUDUTablaCaptacionesConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUDUCaptaciones.id"),cell:c=>`${c.id}`,conditionalStyle:c=>({textGrey:"Antiguo derecho/fuera de servicio"===c.situacion||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"nombre",header:this.translate.instant("tablas.tablaUDUCaptaciones.nombre"),cell:c=>`${c.nombre}`,conditionalStyle:c=>({textGrey:"Antiguo derecho/fuera de servicio"===c.situacion||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"tipoCaptacion",header:this.translate.instant("tablas.tablaUDUCaptaciones.tipoCaptacion"),cell:c=>`${c.tipoCaptacion}`,conditionalStyle:c=>({textGrey:"Antiguo derecho/fuera de servicio"===c.situacion||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"situacion",header:this.translate.instant("tablas.tablaUDUCaptaciones.situacionCaptacion"),cell:c=>`${c.situacion}`,conditionalStyle:c=>({textGrey:"Antiguo derecho/fuera de servicio"===c.situacion||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"emergencia",header:this.translate.instant("tablas.tablaUDUCaptaciones.emergencia"),cell:c=>`${c.emergencia||""}`,conditionalStyle:c=>({textGrey:"Antiguo derecho/fuera de servicio"===c.situacion||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"volumen",header:this.translate.instant("tablas.tablaUDUCaptaciones.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey:"Antiguo derecho/fuera de servicio"===c.situacion||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})}]}getUDUTablaNucleosConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUDUNucleos.id"),footer:this.translate.instant("tablas.tablaVolumenes.footerMes"),cell:c=>`${null!=c.id?c.id:""}`,center:!0},{columnDef:"nombreNucleo",header:this.translate.instant("tablas.tablaUDUNucleos.nombre"),footerOperation:"count",cell:c=>`${c.nombreNucleo}`,center:!0},{columnDef:"poblacionPermanente",header:this.translate.instant("tablas.tablaUDUNucleos.poblacionPermanente"),footerOperation:"sum",cell:c=>`${this.numberPipe.transform(c.poblacionPermanente,e.C.numRed)||""}`,center:!0},{columnDef:"poblacionEstacional",header:this.translate.instant("tablas.tablaUDUNucleos.poblacionEstacional"),footerOperation:"sum",cell:c=>`${this.numberPipe.transform(c.poblacionEstacional,e.C.numRed)||""}`,center:!0},{columnDef:"habAnualesPonderados",header:this.translate.instant("tablas.tablaUDUNucleos.habAnualesPonderados"),footerOperation:"sum",cell:c=>`${this.numberPipe.transform(c.habAnualesPonderados,e.C.numEnt)||""}`,center:!0},{columnDef:"volumenDemandado",header:this.translate.instant("tablas.tablaUDUNucleos.volumenDemandado"),footerOperation:"sum",cell:c=>`${this.numberPipe.transform(c.volumenDemandado,e.C.numRed4Dec)||""}`,center:!0},{columnDef:"volumenConcesional",header:this.translate.instant("tablas.tablaUDUNucleos.volumenConcesional"),footerOperation:"sum",cell:c=>`${this.numberPipe.transform(c.volumenConcesional,e.C.numRed4Dec)||""}`,center:!0}]}getUDUTablaUedusConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUEDUUdus.id"),cell:c=>`${null!=c.id?c.id:""}`,center:!0},{columnDef:"nombre",header:this.translate.instant("tablas.tablaUEDUUdus.nombre"),footerOperation:"count",cell:c=>`${c.nombre}`,center:!0},{columnDef:"poblacionPerm",header:this.translate.instant("tablas.tablaUEDUUdus.poblacionPerm"),footerOperation:"sum",numberPipe:e.C.numRed,cell:c=>`${this.numberPipe.transform(c.poblacionPerm,e.C.numRed)||""}`,center:!0},{columnDef:"poblacionEstac",header:this.translate.instant("tablas.tablaUEDUUdus.poblacionEstac"),footerOperation:"sum",numberPipe:e.C.numRed,cell:c=>`${this.numberPipe.transform(c.poblacionEstac,e.C.numRed)||""}`,center:!0},{columnDef:"habitantesAnual",header:this.translate.instant("tablas.tablaUEDUUdus.habitantesAnual"),footerOperation:"sum",numberPipe:e.C.numRed,cell:c=>`${this.numberPipe.transform(c.habitantesAnual,e.C.numRed)||""}`,center:!0},{columnDef:"volumenDemandado",header:this.translate.instant("tablas.tablaUEDUUdus.volumenDemandado"),footerOperation:"sum",numberPipe:e.C.numRed,cell:c=>`${this.numberPipe.transform(c.volumenDemandado,e.C.numRed)||""}`,center:!0},{columnDef:"volumenConcesional",header:this.translate.instant("tablas.tablaUEDUUdus.volumenConcesional"),footerOperation:"sum",numberPipe:e.C.numRed,cell:c=>`${this.numberPipe.transform(c.volumenConcesional,e.C.numRed)||""}`,center:!0}]}getUEDUNucleoSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUEDUNucleos.idNucleo"),cell:c=>`${c.idNucleo}`},{columnDef:"nombreNucleo",header:this.translate.instant("tablas.tablaUEDUNucleos.nombre"),cell:c=>`${c.nombre}`},{columnDef:"demanda",header:this.translate.instant("tablas.tablaUEDUNucleos.demandaUrbana"),cell:c=>`${c.demanda||""}`}]}getUEDIVolumesListTableConfiguration(c){let Z=[{columnDef:"mes",header:this.translate.instant("demandsCommon.fichaVolumenes.tablas.volumenes.mes"),footer:"TOTAL",cell:v=>`${v.mes}`},{columnDef:"volDemandado",header:this.translate.instant("demandsCommon.fichaVolumenes.tablas.volumenes.volDemandado"),cell:v=>`${this.numberPipe.transform(v.volDemandado,e.C.numRed)||""}`,center:!0,footerOperation:"sum"}];
1if(c.volumenSuministrado&&l.c.hasAnyPropertyWithValue(c.volumenSuministrado)){let v={columnDef:"volSuministrado",header:this.translate.instant("demandsCommon.fichaVolumenes.tablas.volumenes.volSuministrado"),cell:ee=>`${this.numberPipe.transform(ee.volSuministrado,e.C.numRed)||""}`,center:!0,footerOperation:"sum"};Z.push(v)}if(c.volumenEstimado&&l.c.hasAnyPropertyWithValue(c.volumenEstimado)){let v={columnDef:"volEstimado",header:this.translate.instant("demandsCommon.fichaVolumenes.tablas.volumenes.volEstimado"),cell:ee=>`${this.numberPipe.transform(ee.volEstimado,e.C.numRed)||""}`,center:!0,footerOperation:"sum"};Z.push(v)}if(c.volumenConcesional&&l.c.hasAnyPropertyWithValue(c.volumenConcesional)){let v={columnDef:"volConcedido",header:this.translate.instant("demandsCommon.fichaVolumenes.tablas.volumenes.volConcesional"),cell:ee=>`${this.numberPipe.transform(ee.volConcedido,e.C.numRed)||""}`,center:!0,footerOperation:"sum"};Z.push(v)}return Z}getUEDITablaCaptacionesConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUEDICaptaciones.id"),cell:c=>`${c.id}`,conditionalStyle:c=>({textGrey:C.K.getUediCaptationStyleColor(c.estado)})},{columnDef:"integralAlberca",header:this.translate.instant("tablas.tablaUEDICaptaciones.integralAlberca"),cell:c=>`${C.K.getIntegraAlberca(c)}`,conditionalStyle:c=>({textGrey:C.K.getUediCaptationStyleColor(c.estado)})},{columnDef:"nombre",header:this.translate.instant("tablas.tablaUEDICaptaciones.nombre"),cell:c=>`${c.nombre}`,conditionalStyle:c=>({textGrey:C.K.getUediCaptationStyleColor(c.estado)})},{columnDef:"situacion",header:this.translate.instant("tablas.tablaUEDICaptaciones.situacion"),cell:c=>`${c.situacion}`,conditionalStyle:c=>({textGrey:C.K.getUediCaptationStyleColor(c.estado)})},{columnDef:"tipoDesc",header:this.translate.instant("tablas.tablaUEDICaptaciones.tipo"),cell:c=>`${c.tipoDesc} ${c.subtipo||""}`,conditionalStyle:c=>({textGrey:C.K.getUediCaptationStyleColor(c.estado),"text-center":!0})},{columnDef:"profundidad",header:this.translate.instant("tablas.tablaUEDICaptaciones.profundidad"),cell:c=>`${c.profundidad||""}`,conditionalStyle:c=>({textGrey:C.K.getUediCaptationStyleColor(c.estado),"text-center":!0})},{columnDef:"emergencia",header:this.translate.instant("tablas.tablaUEDICaptaciones.emergencia"),cell:c=>`${c.emergencia||""}`,conditionalStyle:c=>({textGrey:C.K.getUediCaptationStyleColor(c.estado),"text-center":!0})},{columnDef:"volumen",header:this.translate.instant("tablas.tablaUEDICaptaciones.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey:C.K.getUediCaptationStyleColor(c.estado),"text-center":!0})}]}getUEDITablaVertidosConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"idVertido",header:this.translate.instant("tablas.tablaUEDIVertidos.idVertido"),cell:c=>`${c.idVertido}`,center:!0},{columnDef:"expediente",header:this.translate.instant("tablas.tablaUEDIVertidos.expediente"),cell:c=>`${c.expediente||""}`,center:!0},{columnDef:"nombreVertido",header:this.translate.instant("tablas.tablaUEDIVertidos.nombreVertido"),cell:c=>`${c.nombreVertido}`,center:!0},{columnDef:"carga",header:this.translate.instant("tablas.tablaUEDIVertidos.carga"),cell:c=>`${c.carga||""}`,center:!0},{columnDef:"volumen",header:this.translate.instant("tablas.tablaUEDIVertidos.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numEnt)||""}`,center:!0}]}getUEDUDemandasSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUEDUNucleos.id"),cell:c=>`${c.idDemanda}`},{columnDef:"nombreDemanda",header:this.translate.instant("tablas.tablaUEDUNucleos.nombreDemanda"),cell:c=>`${c.nombre}`}]}getUDUDemandasSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUDUNucleos.id"),cell:c=>`${c.idDemanda}`},{columnDef:"nombreNucleo",header:this.translate.instant("tablas.tablaUDUNucleos.nombre"),cell:c=>`${c.nombre}`}]}getDemandRelatedUsesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigoNombre",header:"",cell:c=>`${c.codigo}-${c.nombre}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"expediente",header:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.expediente"),cell:c=>`${c.expediente||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenInformado",header:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.volumenInformado"),headerTooltip:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.tltipVolumenInformado"),cell:c=>`${this.numberPipe.transform(c.volumenInformado,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"situacionUso",header:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.situacionUso"),headerTooltip:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.tltipSituacionUso"),cell:c=>`${c.situacionUso||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenOtorgado",header:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.volumenOtorgado"),footer:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.footerVolumenOtorgado"),headerTooltip:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.tltipVolumenOtorgado"),cell:c=>l.c.isNullorEmpty(c.volumenOtorgado)?`${this.numberPipe.transform(c.volumenEstimado,e.C.numRed)||""}`:`${this.numberPipe.transform(c.volumenOtorgado,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"variacionReserva",header:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.variacionReserva"),footerOperation:"sum",conditionalFooterOperation:c=>!c.pintaEnGris,headerTooltip:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.tltipVariacionReserva"),cell:c=>`${this.numberPipe.transform(c.variacionReserva,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"fechaInforme",header:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.fechaInforme"),headerTooltip:this.translate.instant("demandsCommon.fichaReservas.tablas.usosVinculados.tltipFechaInforme"),cell:c=>`${this.datePipe.transform(c.fechaInforme,e.C.date)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})}]}getLiveStockDemandAssociatedUsesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUDGUsosAsociados.id"),cell:c=>`${c.id}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaUDGUsosAsociados.nombre"),cell:c=>`${c.nombre}`},{columnDef:"unidadesGanaderasMay",header:this.translate.instant("tablas.tablaUDGUsosAsociados.unidadesGanaderasMay"),headerTooltip:this.translate.instant("tablas.tablaUDGUsosAsociados.tltipUnidadesGanaderasMay"),cell:c=>`${this.numberPipe.transform(c.unidadesGanaderasMay,e.C.numRed)||""}`},{columnDef:"volumenInformado",header:this.translate.instant("tablas.tablaUDGUsosAsociados.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`},{columnDef:"escenario",header:this.translate.instant("tablas.tablaUDGUsosAsociados.escenario"),cell:c=>`${c.escenario||""}`}]}getUDURelatedUsesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigoNombre",header:"",cell:c=>`${c.codigo}-${c.nombre}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"expediente",header:this.translate.instant("urbanDemands.fic
1haReservas.tabla.usosVinculados.expediente"),cell:c=>`${c.expediente||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenInformado",header:this.translate.instant("urbanDemands.fichaReservas.tabla.usosVinculados.volumenInformado"),headerTooltip:this.translate.instant("urbanDemands.fichaReservas.tabla.usosVinculados.tltipVolumenInformado"),cell:c=>`${this.numberPipe.transform(c.volumenInformado,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"fechaInforme",header:this.translate.instant("urbanDemands.fichaReservas.tabla.usosVinculados.fechaInforme"),headerTooltip:this.translate.instant("urbanDemands.fichaReservas.tabla.usosVinculados.tltipFechaInforme"),cell:c=>`${this.datePipe.transform(c.fechaInforme,e.C.date)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenOtorgado",header:this.translate.instant("urbanDemands.fichaReservas.tabla.usosVinculados.volumenOtorgado"),headerTooltip:this.translate.instant("urbanDemands.fichaReservas.tabla.usosVinculados.tltipVolumenOtorgado"),cell:c=>l.c.isNullorEmpty(c.volumenOtorgado)?`${this.numberPipe.transform(c.volumenEstimado,e.C.numRed)||""}`:`${this.numberPipe.transform(c.volumenOtorgado,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})}]}getUDARelatedUsesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigoNombre",header:"",cell:c=>`${c.codigo}-${c.nombre}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"expediente",header:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.expediente"),cell:c=>`${c.expediente||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenInformado",header:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.volumenInformado"),headerTooltip:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.tltipVolumenInformado"),cell:c=>`${this.numberPipe.transform(c.volumenInformado,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"situacion",header:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.situacionUso"),headerTooltip:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.tltipSituacionUso"),cell:c=>`${c.situacionUso||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenOtorgado",header:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.volumenOtorgado"),headerTooltip:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.tltipVolumenOtorgado"),cell:c=>l.c.isNullorEmpty(c.volumenOtorgado)?`${this.numberPipe.transform(c.volumenEstimado,e.C.numEnt)||""}`:`${this.numberPipe.transform(c.volumenOtorgado,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris||l.c.isNullorEmpty(c.volumenOtorgado)&&!l.c.isNullorEmpty(c.volumenEstimado),"text-center":!0})},{columnDef:"variacionReserva",header:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.variacionReserva"),headerTooltip:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.tltipVariacionReserva"),cell:c=>l.c.isNullorEmpty(c.variacionReserva)?`${this.numberPipe.transform(c.volumenEstimado,e.C.numRed)||""}`:`${this.numberPipe.transform(c.variacionReserva,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"fechaInforme",header:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.fechaInforme"),headerTooltip:this.translate.instant("agrarianDemands.fichaReservas.tabla.usosVinculados.tltipFechaInforme"),cell:c=>`${this.datePipe.transform(c.fechaInforme,e.C.date)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})}]}getTomasRetornosInfraestructurasSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.tipoElemento"),cell:c=>`${c.tipoElemento||""}`},{columnDef:"idMasa",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.id"),cell:c=>`${c.idMasa}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.nombre"),cell:c=>`${c.nombre||""}`}]}getTomasRetornosInfraestructurasTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"relacion",header:"",cell:c=>`${c.relacion||""}`},{columnDef:"idMasa",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.id"),cell:c=>`${c.idMasa}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.nombre"),cell:c=>`${c.nombre||""}`},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.tipoElemento"),cell:c=>`${c.tipoElemento||""}`}]}getPresupuestosAnualesContratosTableConfiguration(){return[{columnDef:"anyo",header:this.translate.instant("tablas.tablaPresupuestosContratos.anyo"),cell:c=>`${c.anyo}
1`,editable:!1,center:!1},{columnDef:"presupuesto",header:this.translate.instant("tablas.tablaPresupuestosContratos.presupuesto"),cell:c=>`${c.presupuesto.value||""}`,numberPipe:e.C.numRed,editable:!0,center:!0},{columnDef:"iva",header:this.translate.instant("tablas.tablaPresupuestosContratos.iva"),cell:c=>`${c.iva.value||""}`,editable:!1,center:!0},{columnDef:"presupuestoSinIva",header:this.translate.instant("tablas.tablaPresupuestosContratos.presupuestoSinIva"),cell:c=>`${c.presupuestoSinIva.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0},{columnDef:"porcentaje",header:this.translate.instant("tablas.tablaPresupuestosContratos.porcentaje"),cell:c=>`${c.porcentaje.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0}]}getPresupuestosAnualesContratosSinIvaTableConfiguration(){return[{columnDef:"anyo",header:this.translate.instant("tablas.tablaPresupuestosContratos.anyo"),cell:c=>`${c.anyo}`,editable:!1,center:!1},{columnDef:"presupuesto",header:this.translate.instant("tablas.tablaPresupuestosContratos.presupuesto"),cell:c=>`${c.presupuesto.value||""}`,numberPipe:e.C.numRed,editable:!0,center:!0},{columnDef:"porcentaje",header:this.translate.instant("tablas.tablaPresupuestosContratos.porcentaje"),cell:c=>`${c.porcentaje.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0}]}getPresupuestosAnualesMedidasTableConfiguration(c=!1){let v=[{columnDef:"anyo",header:this.translate.instant("tablas.tablaPresupuestosContratos.anyo"),cell:ee=>`${ee.anyo}`,editable:!1,center:!1,conditionalStyle:ee=>l.c.isNullorEmpty(ee.presupuesto.value)},{columnDef:"presupuesto",header:this.translate.instant("tablas.tablaPresupuestosContratos.presupuesto"),cell:ee=>`${ee.presupuesto.value||""}`,numberPipe:e.C.numRed,editable:!0,center:!0},{columnDef:"iva",header:this.translate.instant("tablas.tablaPresupuestosContratos.iva"),cell:ee=>`${ee.iva.value||""}`,numberPipe:e.C.numRed,editable:!0,center:!0},{columnDef:"presupuestoSinIva",header:this.translate.instant("tablas.tablaPresupuestosContratos.presupuestoSinIva"),cell:ee=>`${ee.presupuestoSinIva.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0},{columnDef:"porcentaje",header:this.translate.instant("tablas.tablaPresupuestosContratos.porcentaje"),cell:ee=>`${ee.porcentaje.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0},{columnDef:"presupuestoPlanificado",header:this.translate.instant("tablas.tablaPresupuestosContratos.presupuestoPlanificado"),cell:ee=>`${ee.presupuestoPlanificado.value||""}`,numberPipe:e.C.numRed,editable:!1,center:!0}];return c&&v.unshift({columnDef:"acciones",header:"",cell:ee=>""}),v}getMeasureMasasElemRelTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.masas.codigo"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.masas.tltipCodigo"),cell:c=>`${c.tipoMasaId>0?c.id:""}`,center:!1},{columnDef:"tipoMasa",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.masas.tipoMasa"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.masas.tltipTipoMasa"),cell:c=>`${c.tipoMasa}`,center:!1},{columnDef:"nombre",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.masas.nombre"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.masas.tltipNombre"),cell:c=>`${c.nombre}`,center:!1}]}getMeasureUsosElemRelTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.usos.codigo"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.usos.tltipCodigo"),cell:c=>`${c.tipoUsoId>0?c.id:""}`,center:!1},{columnDef:"tipoUso",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.usos.tipoUso"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.usos.tltipTipoUso"),cell:c=>`${c.tipoUso}`,center:!1},{columnDef:"nombre",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.usos.nombre"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.usos.tltipNombre"),cell:c=>`${c.nombre}`,center:!1}]}getMeasurePresionesElemRelTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.codigo"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.tltipCodigo"),
1cell:c=>`${c.tipoPresionId>0?c.id:""}`,center:!1},{columnDef:"tipoPresion",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.tipoPresion"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.tltipTipoPresion"),cell:c=>`${c.tipoPresion}`,center:!1},{columnDef:"relevancia",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.relevancia"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.tltipRelevancia"),cell:c=>`${c.relevancia||""}`,center:!1},{columnDef:"nombre",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.nombre"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.tltipNombre"),cell:c=>`${c.nombre}`,center:!1},{columnDef:"fechaActuacion",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.fechaActuacion"),cell:c=>`${c.fechaActuacion||""}`,center:!0},{columnDef:"efectoMedida",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.efectoMedida"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.tltipEfectoMedida"),cell:c=>`${c.efectoMedida||""}`,center:!1}]}getMeasuresRelatedElementsConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.codigo"),cell:c=>`${c.id>0?c.id:""}`},{columnDef:"nombre",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.presiones.nombre"),cell:c=>`${c.nombre}`}]}getMeasurePoblacionesElemRelTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.codigo"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.tltipCodigo"),cell:c=>`${c.codigoIne||""}`,center:!1},{columnDef:"nucleo",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.nucleoPoblacion"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.tltipNucleoPoblacion"),cell:c=>`${c.nucleo||""}`,center:!1},{columnDef:"municipio",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.municipio"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.tltipMunicipio"),cell:c=>`${c.municipio||""}`,center:!1},{columnDef:"provincia",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.provincia"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.tltipProvincia"),cell:c=>`${c.provincia||""}`,center:!1},{columnDef:"comunidadAutonoma",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.comunidadAutonoma"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.tltipComunidadAutonoma"),cell:c=>`${c.comunidadAutonoma||""}`,center:!0},{columnDef:"pais",header:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.pais"),headerTooltip:this.translate.instant("measures.fichaTecnica.elementosRelacionados.tablas.poblaciones.tltipPais"),cell:c=>`${c.pais||""}`,center:!0}]}getMeasureBudgetFinancingTableConfiguration(c=!1){let v=[{columnDef:"entidad",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.entidadesFinanciacion.entidadFinanciadora"),
1cell:ee=>`${ee.entidad}`,center:!1},{columnDef:"porcentaje",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.entidadesFinanciacion.porcentaje"),cell:ee=>`${this.numberPipe.transform(ee.percent,e.C.numRed)||""}`,center:!1}];return c?[{columnDef:"acciones",header:"",cell:ee=>""}].concat(v):v}getMeasureBudgetPeriodsTableConfiguration(){return[{columnDef:"anyoInicio",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.presupuestoPorPeriodos.periodo"),cell:c=>`${c.periodo}`,center:!1},{columnDef:"presupuestoContratado",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.presupuestoPorPeriodos.presupuesto"),cell:c=>`${this.numberPipe.transform(c.presupuesto,e.C.numRed)||""}`,center:!1}]}getMeasureBudgetYearsTableConfiguration(){return[{columnDef:"anyo",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.presupuestoPorAnyos.anyo"),cell:c=>`${c.anyo}`,center:!1},{columnDef:"presupuesto",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.presupuestoPorAnyos.presupuesto"),cell:c=>`${this.numberPipe.transform(c.presupuesto,e.C.numRed)||""}`,center:!1},{columnDef:"porcentaje",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.presupuestoPorAnyos.porcentaje"),cell:c=>`${this.numberPipe.transform(c.porcentaje,e.C.numRed)||""}`,center:!1}]}getMeasureContractedBudgetPeriodsTableConfiguration(){return[{columnDef:"anyoInicio",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.presupuestoPorPeriodos.periodo"),cell:c=>`${c.anyoInicio} - ${c.anyoFin}`,center:!1},{columnDef:"presupuestoContratado",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.presupuestoPorPeriodos.presupuesto"),cell:c=>`${this.numberPipe.transform(c.presupuestoContratado,e.C.numRed)||""}`,center:!1}]}getMeasureBudgetEUFundingTableConfiguration(c=!1){let v=[{columnDef:"tipoFondo",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.fondosUE.tipoFondo"),cell:ee=>`${ee.tipoFondo}`,center:!1},{columnDef:"presupuestoContratado",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.fondosUE.porcentaje"),cell:ee=>`${this.numberPipe.transform(ee.porcentaje,e.C.numRed)||""}`,center:!1}];return c?[{columnDef:"acciones",header:"",cell:ee=>""}].concat(v):v}getMeasureContractedBudgetFinancingTableConfiguration(){return[{columnDef:"entidad",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.entidadesFinanciacion.entidad"),cell:c=>`${c.entidad}`,center:!1},{columnDef:"porcentaje",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.entidadesFinanciacion.porcentaje"),cell:c=>`${this.numberPipe.transform(c.porcentaje,e.C.numRed)||""}`,center:!1},{columnDef:"presupuestoContratado",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.entidadesFinanciacion.presupuestoContratado"),cell:c=>`${this.numberPipe.transform(c.presupuestoContratado,e.C.numRed)||""}`,center:!1}]}getMeasureBudgetContractsTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.contratos.codigo"),cell:c=>`${c.id}`,center:!1},{columnDef:"clavePresupuestaria",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.contratos.calvePresup"),cell:c=>`${c.clavePresupuestaria}`,center:!1},{columnDef:"adjudicatario",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.contratos.adjudicatario"),cell:c=>`${c.adjudicatario}`,center:!1},{columnDef:"nombre",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.contratos.nombre"),cell:c=>`${c.nombre}`,center:!1},{columnDef:"porcentaje",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.contratos.porcentaje"),cell:c=>`${this.numberPipe.transform(c.porcentaje,e.C.numRed)||""}`,center:!0},{columnDef:"presupuestoAdjudicacion",header:this.translate.instant("measures.fichaTecnica.presupuestos.tablas.contratos.presupuestoContratado"),cell:c=>`${this.numberPipe.transform(c.presupuestoAdjudicacion,e.C.numRed)||""}`,center:!0}]}getTableContractsConfiguration(){var c=this;return(0,i.Z)(function*(){const[Z,v,ee,X,te]=yield(0,S.z)(c.translationHelper.getTranslations(["actuations.tablaContratos.clave","actuations.tablaContratos.nombre","actuations.tablaContratos.presupuesto","actuations.tablaContratos.fechaInicio","actuations.tablaContratos.fechaFin"]));return[{columnDef:"clave",header:Z,cell:_e=>`${_e.clavePresupuestaria}`},{columnDef:"nombre",header:v,cell:_e=>`${_e.nombre}`},{columnDef:"presupuesto",header:ee,cell:_e=>`${c.numberPipe.transform(_e.presupuestoFinal,e.C.numRed)||""}`},{columnDef:"fechaInicio",header:X,cell:_e=>`${c.datePipe.transform(_e.fechaInicio,e.C.shortDateFormat)||""}`},{columnDef:"fechaFin",header:te,cell:_e=>`${c.datePipe.transform(_e.fechaFin,e.C.shortDateFormat)||""}`}]})()}getInformesExpedientesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigoIntegra",header:this.translate.instant("reports.fichaTecnica.tablaExpedientes.codigoIntegra"),cell:c=>`${c.integra||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"codigoAlberca",header:this.translate.instant("reports.fichaTecnica.tablaExpedientes.codigoAlberca"),cell:c=>`${c.alberca||""} `,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"situacionActual",header:this.translate.instant("reports.fichaTecnica.tablaExpedientes.situacionActual"),cell:c=>`${c.situacion||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"volConcedido",headerTooltip:this.translate.instant("reports.fichaTecnica.tablaExpedientes.tltipVolumen"),header:this.translate.instant("reports.fichaTecnica.tablaExpedientes.volConcedido"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"haConcedido",headerTooltip:this.translate.instant("reports.fichaTecnica.tablaExpedientes.tltipHa"),header:this.translate.instant("reports.fichaTecnica.tablaExpedientes.haConcedido"),cell:c=>`${this.numberPipe.transform(c.hectareas,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})}]}getInformesExtraccionesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""}
1,{columnDef:"asociado",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipAsociado"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.lblAsociado"),cell:c=>1==c.asociado?"Si":"No",center:!0,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"id",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipCodigo"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.id"),cell:c=>`${c.id}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"codAlberca",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipIntegraAlberca"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.codAlberca"),cell:c=>`${c.codAlberca||""}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"nombre",header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.nombre"),cell:c=>`${c.nombre}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"situacion",header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.situacion"),cell:c=>`${c.situacion}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"tipo",header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tipo"),cell:c=>`${c.tipo} \n(${c.subtipo})`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"profundidad",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipProfundidad"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.profundidad"),cell:c=>`${this.numberPipe.transform(c.profundidad,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"emergencia",header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.emergencia"),cell:c=>`${c.emergencia||""}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"volumen",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipVolumen"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.gris1}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS1||`${c.gris2}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS2||`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})}]}getInformesUsosTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"asociado",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaUsos.tltipAsociado"),header:this.translate.instant("reports.fichaGeneral.tablaUsos.lblAsociado"),cell:c=>1==c.asociado?"Si":"No",center:!0,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"id",header:this.translate.instant("reports.fichaGeneral.tablaUsos.id"),cell:c=>`${c.idUso}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociad
1o}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"nombre",header:this.translate.instant("reports.fichaGeneral.tablaUsos.nombre"),cell:c=>`${c.nombre}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"tipo",header:this.translate.instant("reports.fichaGeneral.tablaUsos.tipo"),cell:c=>`${c.tipoUso||""}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"situacion",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaUsos.tltipSituacion"),header:this.translate.instant("reports.fichaGeneral.tablaUsos.situacion"),cell:c=>`${c.situacion||""}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"integraAlberca",header:this.translate.instant("reports.fichaGeneral.tablaUsos.integraAlberca"),cell:c=>`${c.integraAlberca||""}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"volumen",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaUsos.tltipVolumen"),header:this.translate.instant("reports.fichaGeneral.tablaUsos.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO||!c.estimado})}]}getInformesUsosSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("reports.fichaGeneral.tablaUsos.id"),cell:c=>`${c.idUso}`},{columnDef:"nombre",header:this.translate.instant("reports.fichaGeneral.tablaUsos.nombre"),cell:c=>`${c.nombre}`},{columnDef:"tipo",header:this.translate.instant("reports.fichaGeneral.tablaUsos.tipo"),cell:c=>`${c.tipoUso}`}]}getInformesExpedienteGralTablaConfiguration(){return[{columnDef:"codigoIntegra",header:this.translate.instant("reports.fichaGeneral.tablaExpedientes.codigoIntegra"),cell:c=>`${c.integra||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"codigoAlberca",header:this.translate.instant("reports.fichaGeneral.tablaExpedientes.codigoAlberca"),cell:c=>`${c.alberca||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"situacionActual",header:this.translate.instant("reports.fichaGeneral.tablaExpedientes.situacionActual"),cell:c=>`${c.situacion||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"volConcedido",headerTooltip:this.translate.instant("reports.fichaTecnica.tablaExpedientes.tltipVolumen"),header:this.translate.instant("reports.fichaGeneral.tablaExpedientes.volConcedido"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"haConcedido",headerTooltip:this.translate.instant("reports.fichaTecnica.tablaExpedientes.tltipHa"),header:this.translate.instant("reports.fichaGeneral.tablaExpedientes.haConcedido"),cell:c=>`${this.numberPipe.transform(c.hectareas,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})},{columnDef:"vinculado",header:this.translate.instant("reports.fichaGeneral.tablaExpedientes.vinculado"),cell:c=>`${c.vinculado}`,conditionalStyle:c=>({textGrey:`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.NO_CONCEDIDO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.MODIFICADO||`${c.situacion}`===e.C.condicionesEstilosInformesCompatibilidad.CANCELADO})}]}getInformesTablaTitularesConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"dni",header:this.translate.instant("tablas.tablaInformesTitulares.dni"),cell:c=>`${null!=c.cif?c.cif:null!=c.dni?c.dni:""}`,center:!1},{columnDef:"nombre",header:this.translate.instant("tablas.tablaInformesTitulares.nombre"),cell:c=>`${null!=c.nombre?c.nombre:""}`,center:!1},{columnDef:"apellido1",header:this.translate.instant("tablas.tablaInformesTitulares.apellido1"),cell:c=>`${null!=c.apellido1?c.apellido1:""}`,center:!1},{columnDef:"apellido2",header:this.translate.instant("tablas.tablaInformesTitulares.apellido2"),cell:c=>`${null!=c.apellido2?c.apellido2:""}`,center:!1},{columnDef:"direccion",header:this.translate.instant("tablas.tablaInformesTitulares.direccion"),
1cell:c=>`${null!=c.direccion?c.direccion:""}`,center:!1},{columnDef:"comentarios",header:this.translate.instant("tablas.tablaInformesTitulares.comentarios"),cell:c=>`${null!=c.comentarios?c.comentarios:""}`,center:!1}]}getInformesTitularesSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"dni",header:this.translate.instant("tablas.tablaInformesTitulares.dni"),cell:c=>`${null!=c.cif?c.cif:c.dni}`,center:!1},{columnDef:"nombre",header:this.translate.instant("tablas.tablaInformesTitulares.nombre"),cell:c=>`${null!=c.nombre?c.nombre:""}`,center:!1},{columnDef:"apellido1",header:this.translate.instant("tablas.tablaInformesTitulares.apellido1"),cell:c=>`${null!=c.apellido1?c.apellido1:""}`,center:!1},{columnDef:"apellido2",header:this.translate.instant("tablas.tablaInformesTitulares.apellido2"),cell:c=>`${null!=c.apellido2?c.apellido2:""}`,center:!1},{columnDef:"direccion",header:this.translate.instant("tablas.tablaInformesTitulares.direccion"),cell:c=>`${null!=c.direccion?c.direccion:""}`,center:!1}]}getInformesCaptacionesSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigo",header:this.translate.instant("tablas.tablaInformesCaptaciones.codigo"),cell:c=>`${null!=c.idCaptacion?c.idCaptacion:""}`,center:!1},{columnDef:"nombre",header:this.translate.instant("tablas.tablaInformesCaptaciones.nombre"),cell:c=>`${null!=c.nombre?c.nombre:""}`,center:!1}]}getInformesExtraccionesGralTableConfiguration(){return[{columnDef:"id",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipCodigo"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.id"),cell:c=>`${c.id}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"codAlberca",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipIntegraAlberca"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.codAlberca"),cell:c=>`${c.codAlberca}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"nombre",header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.nombre"),cell:c=>`${c.nombre}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"situacion",header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.situacion"),cell:c=>`${c.situacion}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"tipo",header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tipo"),cell:c=>`${c.tipo} \n(${c.subtipo})`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"profundidad",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipProfundidad"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.profundidad"),cell:c=>`${this.numberPipe.transform(c.profundidad,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"emergencia",header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.emergencia"),cell:c=>`${c.emergencia||""}`,conditionalStyle:c=>({textGrey:`${c.gris}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"volumen",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.tltipVolumen"),header:this.translate.instant("reports.fichaGeneral.tablaCaptaciones.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.gris1}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS1||`${c.gris2}`===e.C.condicionesEstilosInformesCompatibilidad.GRIS2||`${c.asociad
1o}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})}]}getInformesUsosGralTablaConfiguration(){return[{columnDef:"id",header:this.translate.instant("reports.fichaGeneral.tablaUsos.id"),cell:c=>`${c.idUso}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"nombre",header:this.translate.instant("reports.fichaGeneral.tablaUsos.nombre"),cell:c=>`${c.nombre}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"tipo",header:this.translate.instant("reports.fichaGeneral.tablaUsos.tipo"),cell:c=>`${c.tipoUso||""}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"situacion",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaUsos.tltipSituacion"),header:this.translate.instant("reports.fichaGeneral.tablaUsos.situacion"),cell:c=>`${c.situacion||""}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"integraAlberca",header:this.translate.instant("reports.fichaGeneral.tablaUsos.integraAlberca"),cell:c=>`${c.integraAlberca||""}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO})},{columnDef:"volumen",headerTooltip:this.translate.instant("reports.fichaGeneral.tablaUsos.tltipVolumen"),header:this.translate.instant("reports.fichaGeneral.tablaUsos.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,conditionalStyle:c=>({textGrey:`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_SINCONCESION||`${c.elOrden}`===e.C.condicionesEstilosInformesCompatibilidad.USO_ANTIGUODERECHO||`${c.asociado}`===e.C.condicionesEstilosInformesCompatibilidad.ASSOCIADO||!c.estimado})}]}getInformesGenerationTitularTableConfiguration(){return[{columnDef:"peticionario",header:this.translate.instant("reports.fichaInforme.tablaTitulares.lblPeticionario"),cell:c=>`${c.peticionario||""} `,conditionalStyle:c=>({textBlue:null!=`${c.peticionario}`})},{columnDef:"localizacionAdministrativa",headerTooltip:this.translate.instant("reports.fichaInforme.tablaTitulares.tltipLocalizacion"),header:this.translate.instant("reports.fichaInforme.tablaTitulares.lblLocalizacion"),cell:c=>`${c.localizacionAdministrativa||""}`,conditionalStyle:c=>({textBlue:null!=`${c.localizacionAdministrativa}`})},{columnDef:"subzona",header:this.translate.instant("reports.fichaInforme.tablaTitulares.lblSubzona"),cell:c=>`${c.subZona||""} `,conditionalStyle:c=>({textBlue:null!=`${c.subZona}`})}]}getInformesGenerationInformeAntTableConfiguration(){return[{columnDef:"informeAnterior",header:this.translate.instant("reports.fichaInforme.tablaDerechosAnt.lblInformeAnterior"),cell:c=>`${c}`,conditionalStyle:c=>({textBlue:null!=`${c}`})},{columnDef:"textoFijo",header:this.translate.instant("reports.fichaInforme.tablaDerechosAnt.lblTextoFijo"),cell:c=>this.translate.instant("reports.fichaInforme.tablaDerechosAnt.txtTextoFijo"),conditionalStyle:c=>({textRed:`${c}`})}]}getInformesGenerationDerechosAntTableConfiguration(){return[{columnDef:"informeAnterior",header:this.translate.instant("reports.fichaInforme.tablaDerechosAnt.lblExpediente"),cell:c=>`${c.dosier}`,conditionalStyle:c=>({textBlue:null!=`${c.dosier}`})},{columnDef:"volumenCocedido",header:this.translate.instant("reports.fichaInforme.tablaDerechosAnt.lblVolumenConcedido"),cell:c=>`${c.volumen||""}`,conditionalStyle:c=>({textBlue:null!=`${c.volumen}`}),center:!0},{columnDef:"unidadesConcedidas",header:this.translate.instant("reports.fichaInforme.tablaDerechosAnt.lblUnidadesConcedidas"),cell:c=>`${c.usoha||""}`,conditionalStyle:c=>({textBlue:null!=`${c.usoha}`}),center:!0},{columnDef:"textoFijo",header:this.translate.instant("reports.fichaInforme.tablaDerechosAnt.lblTextoFijoDerecho"),cell:c=>this.translate.instant("A indicar por el t\xe9cnico"),conditionalStyle:c=>({textRed:`${c}`})}]}getInformesGenerationUsosTableConfiguration(){return[{columnDef:"idUso",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblCodigo"),
1cell:c=>`${c.idUso||""}`,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"tipoUso",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblUso"),cell:c=>`${c.tipoUso||""}`,conditionalStyle:c=>({textBlue:null!=`${c.tipoUso}`})},{columnDef:"subUso",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblSubUso"),cell:c=>`${c.subUso||""}`,conditionalStyle:c=>({textBlue:null!=`${c.subUso}`})},{columnDef:"nombre",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblTipoNucleo"),cell:c=>`${c.nombre||""}`,conditionalStyle:c=>({textBlue:null!=`${c.nombre}`})},{columnDef:"unidades",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblUnidades"),cell:c=>`${c.unidades||""}`,conditionalStyle:c=>({textBlue:null!=`${c.unidades}`&&"XXX"!=`${c.unidades}`,textRed:null!=`${c.unidades}`&&"XXX"==`${c.unidades}`})},{columnDef:"dotacion",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblDotacion"),cell:c=>`${9999999.9!=c.dotacion?this.numberPipe.transform(c.dotacion,e.C.numRed)||"-":"XXX"}`,conditionalStyle:c=>({textBlue:null!=`${c.dotacion}`&&"9999999.9"!=`${c.dotacion}`,textRed:null!=`${c.dotacion}`&&"9999999.9"==`${c.dotacion}`})},{columnDef:"volConcedido",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblVolumenConcedido"),cell:c=>`${this.numberPipe.transform(c.volConcedido,e.C.numRed)||""}`,conditionalStyle:c=>({textBlue:null!=`${c.volConcedido}`})},{columnDef:"volSolicitado",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblVolumenSolicitado"),cell:c=>`${this.numberPipe.transform(c.volSolicitado,e.C.numRed)||""}`,conditionalStyle:c=>({textBlue:null!=`${c.volSolicitado}`})},{columnDef:"observaciones",header:this.translate.instant("reports.fichaInforme.tablaUsos.lblObservaciones"),cell:c=>`${c.observaciones||""}`,conditionalStyle:c=>({textBlue:null!=`${c.observaciones}`})}]}getInformesTableConfigurationVolumenSolicitado(){return[{columnDef:"id",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblId"),cell:c=>`${c.idUso||""}`,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"octubre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol10"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_10,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"noviembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol11"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_11,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"diciembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol12"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_12,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"enero",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol1"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_1,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"febrero",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol2"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_2,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"marzo",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol3"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_3,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"abril",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol4"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_4,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"mayo",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol5"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_5,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"junio",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol6"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_6,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"julio",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol7"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_7,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"agosto",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol8"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_8,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"septiembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol9"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_9,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})}]}getInformesTableConfigurationVolumenVSolicitado(){return[{columnDef:"mes",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblId"),cell:c=>`${c.mes||""}`,conditionalStyle:c=>({textNegrita:"1"==`${c.negrita}`})},{columnDef:"nombre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblNombre"),cell:c=>`${c.nombreUso||""}`,conditionalStyle:c=>({textNegrita:"1"==`${c.negrita}`})}]}getInformesTableConfigurationVolumenSolicitadoTotal(){return[{columnDef:"id",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblId"),cell:c=>`${c.idUso||""}`,conditionalStyle:c=>({textBlue:null!=`${c.nombre}`})},{columnDef:"nombre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblUso"),cell:c=>`${c.nombre||""}`,center:!0,conditionalStyle:c=>({textNegrita:"Total"==`${c.nombre}`,textBlue:null!=`${c.nombre}`})},{columnDef:"total",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVolTotal"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_solicitado_total,e.C.numEnt)||""}`,center:!1,conditionalStyle:c=>({textNegrita:"Total"==`${c.nombre}`,textBlue:null!=`${c.nombre}`})}]}getInformesTableConfigurationVolumenCompatible(){return[{columnDef:"id",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblId"),cell:c=>`${c.idUso||""}`,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"octubre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol10"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_10,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"noviembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol11"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_11,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"diciembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol12"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_12,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"enero",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol1"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_1,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"febrero",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol2"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_2,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"marzo",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol3"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_3,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"abril",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol4"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_4,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"mayo",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol5"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_5,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"junio",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol6"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_6,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"julio",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol7"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_7,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"agosto",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol8"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_8,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"septiembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol9"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.vol_compatible_9,e.C.numRed1Dec)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})}]}getInformesTableConfigurationVolumenCompatibleTotal(){return[{columnDef:"id",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblId"),cell:c=>`${c.idUso||""}`,conditionalStyle:c=>({textBlue:null!=`${c.idUso}`})},{columnDef:"nombre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblNombre"),cell:c=>`${c.nombre||""}`,center:!0,conditionalStyle:c=>({textNegrita:"Total"==`${c.nombre}`,textBlue:null!=`${c.nombre}`})},{columnDef:"total",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVolTotal"),cell:c=>`${this.numberPipe.transform(c.usoVolumenes.volumenMaximoInformado,e.C.numEnt)||""}`,center:!1,conditionalStyle:c=>({textNegrita:"Total"==`${c.nombre}`,textBlue:null!=`${c.nombre}`})}]}getInformesTableConfigurationGarantiasUda(){return[{columnDef:"anno",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUda.lblAnno"),cell:c=>`${c.anno||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.anno}`})},{columnDef:"valorYear",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUda.lblDeficitAnual"),cell:c=>`${this.numberPipe.transform(c.valorYear,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.anno}`,"text-center":!0})},{columnDef:"valorMes",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUda.lblDeficitBiAnual"),cell:c=>`${this.numberPipe.transform(c.valorMes,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.anno}`,"text-center":!0})},{columnDef:"valorBi",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUda.lblDeficitDecaAnual"),cell:c=>`${this.numberPipe.transform(c.valorBi,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.anno}`,"text-center":!0})},{columnDef:"valorDeca",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUda.lblDeficitMedioAnual"),cell:c=>`${this.numberPipe.transform(c.valorDeca,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.anno}`,"text-center":!0})},{columnDef:"demanda",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUda.lblPorcentaje"),cell:c=>`${this.numberPipe.transform(c.demanda,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.anno}`,"text-center":!0})}]}getInformesTableConfigurationPoligonoParcela(){return[{columnDef:"poligono",header:this.translate.instant("reports.fichaInforme.tablaPoligonoParcela.lblPoligono"),cell:c=>`${c.idPoligono||""}`,conditionalStyle:c=>({textBlue:null!=`${c.idPoligono}`})},{columnDef:"parcela",header:this.translate.instant("reports.fichaInforme.tablaPoligonoParcela.lblParcela"),cell:c=>`${c.idParcela||""}`,conditionalStyle:c=>({textBlue:null!=`${c.idPoligono}`})}]}getInformesTableConfigurationGarantiasUdu(){return[{columnDef:"valorId",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUdu.lblIdUdu"),cell:c=>`${c.idUda||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.idUda}`})},{columnDef:"valorNombre",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUdu.lblNombre"),cell:c=>`${c.nombre||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.nombre}`})},{columnDef:"valorYear",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUdu.lblDeficitMes"),cell:c=>`${this.numberPipe.transform(c.valorMes,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.valorMes}`})},{columnDef:"valorMes",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUdu.lblDeficitDeca"),cell:c=>`${this.numberPipe.transform(c.valorDeca,e.C.numRed)||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.valorMes}`,"text-center":!0})},{columnDef:"comentarios",header:this.translate.instant("reports.fichaInforme.tablaGarantiasUdu.lblComentarios"),cell:c=>`${c.comentarios||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.valorMes}`})}]}getInformesTableConfigurationPozosProximos(){return[{columnDef:"expediente",header:this.translate.instant("reports.fichaInforme.tablaPozosProximos.lblDossier"),cell:c=>`${c.expediente||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.expediente}`})}]}getInformesTableConfigurationIndicadoresEstado(){return[{columnDef:"indicador",header:this.translate.instant("reports.fichaInforme.tablaIndicadoresEstado.lblIndicador"),cell:c=>`${c.indicador||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.indicador}`})},{columnDef:"valor",header:this.translate.instant("reports.fichaInforme.tablaIndicadoresEstado.lblValor"),cell:c=>`${this.numberPipe.transform(c.valor,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.indicador}`})},{columnDef:"estado",header:this.translate.instant("reports.fichaInforme.tablaIndicadoresEstado.lblEstado"),cell:c=>`${c.estado||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.indicador}`})}]}getInformesTableConfigurationZonificacion(){return[{columnDef:"id",header:this.translate.instant("reports.fichaInforme.tablaZonificacion.lblId"),cell:c=>`${c.idZona||""}`,conditionalStyle:c=>({textBlue:null!=`${c.idZona}`})},{columnDef:"nombre",header:this.translate.instant("reports.fichaInforme.tablaZonificacion.lblNombre"),cell:c=>`${c.nombreZona||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idZona}`})},{columnDef:"valoracion",header:this.translate.instant("reports.fichaInforme.tablaZonificacion.lblValoracion"),cell:c=>`${c.valoracion||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idZona}`})}]}getInformesTableConfigurationExpedientesReserva(){return[{columnDef:"idReport",header:this.translate.instant("reports.fichaInforme.tablaExpedientesReserva.lblIdReport"),cell:c=>`${c.idReport||""}`,conditionalStyle:c=>({textBlue:null!=`${c.idReport}`})},{columnDef:"expediente",header:this.translate.instant("reports.fichaInforme.tablaExpedientesReserva.lblExpediente"),cell:c=>`${c.expediente||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idReport}`})},{columnDef:"resultado",header:this.translate.instant("reports.fichaInforme.tablaExpedientesReserva.lblResultado"),cell:c=>`${c.resultado||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idReport}`})},{columnDef:"volumen",header:this.translate.instant("reports.fichaInforme.tablaExpedientesReserva.lblVolumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.idReport}`})},{columnDef:"variacionReserva",header:this.translate.instant("reports.fichaInforme.tablaExpedientesReserva.lblVariacionReserva"),cell:c=>`${this.numberPipe.transform(c.variacionReserva,e.C.numRed)||""}`,ce
1nter:!1,conditionalStyle:c=>({textBlue:null!=`${c.idReport}`})}]}getInformesTableConfigurationResumenBalances(){return[{columnDef:"etiqueta",header:this.translate.instant("reports.fichaInforme.tablaResumenBalances.lblBalance"),cell:c=>`${c.etiqueta||""}`},{columnDef:"balance",header:this.translate.instant("reports.fichaInforme.tablaResumenBalances.lblValor"),cell:c=>`${this.numberPipe.transform(c.valor,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.valor}`})}]}getInformesTableConfigurationReduccionNitrogeno(){return[{columnDef:"sector",header:this.translate.instant("reports.fichaInforme.tablaReduccionNitrogeno.lblSector"),cell:c=>`${c.sector||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.sector}`})},{columnDef:"reduccion",header:this.translate.instant("reports.fichaInforme.tablaReduccionNitrogeno.lblReduccion"),cell:c=>`${c.reduccion||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.sector}`,"text-center":!0})},{columnDef:"cultivo",header:this.translate.instant("reports.fichaInforme.tablaReduccionNitrogeno.lblCultivo"),cell:c=>`${c.cultivo||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.sector}`,"text-center":!0})},{columnDef:"regadio",header:this.translate.instant("reports.fichaInforme.tablaReduccionNitrogeno.lblRegadio"),cell:c=>`${c.regadio||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.sector}`,"text-center":!0})},{columnDef:"secano",header:this.translate.instant("reports.fichaInforme.tablaReduccionNitrogeno.lblSecano"),cell:c=>`${c.secano||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.sector}`,"text-center":!0})}]}getInformesTableConfigurationExpedientesRelacionados(){return[{columnDef:"expediente1",header:this.translate.instant("reports.fichaInforme.tablaExpedientesRelacionados.lblExpediente"),cell:c=>`${c.expediente1||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.expediente1}`})},{columnDef:"expediente2",header:this.translate.instant("reports.fichaInforme.tablaExpedientesRelacionados.lblExpediente"),cell:c=>`${c.expediente2||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.expediente2}`})},{columnDef:"expediente3",header:this.translate.instant("reports.fichaInforme.tablaExpedientesRelacionados.lblExpediente"),cell:c=>`${c.expediente3||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.expediente3}`})},{columnDef:"expediente4",header:this.translate.instant("reports.fichaInforme.tablaExpedientesRelacionados.lblExpediente"),cell:c=>`${c.expediente4||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.expediente4}`})}]}getInformesTableConfigurationMunicipiosVolumenes(){return[{columnDef:"muicipio",header:this.translate.instant("reports.fichaInforme.tablaMunicipiosVolumenes.lblMunicipio"),cell:c=>`${c.municipio||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.municipio}`})},{columnDef:"volumenConcedido",header:this.translate.instant("reports.fichaInforme.tablaMunicipiosVolumenes.lblConcedido"),cell:c=>`${this.numberPipe.transform(c.volumenConcedido,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.volumenConcedido}`})},{columnDef:"volumenSolicitado",header:this.translate.instant("reports.fichaInforme.tablaMunicipiosVolumenes.lblSolicitado"),cell:c=>`${this.numberPipe.transform(c.volumenSolicitado,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.volumenSolicitado}`})}]}getInformesTableConfigurationZonasProtegidas(){return[{columnDef:"tipo",header:this.translate.instant("reports.fichaInforme.tablaZonasProtegidas.lblTipo"),cell:c=>`${c.tipo||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"id",header:this.translate.instant("reports.fichaInforme.tablaZonasProtegidas.lblId"),cell:c=>`${c.id||""}`,center:!0,conditionalStyle:c=>({textBlue:null!=`${c.id}`,"text-center":!0})},{columnDef:"nombre",header:this.translate.instant("reports.fichaInforme.tablaZonasProtegidas.lblNombre"),cell:c=>`${c.nombre||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.nombre}`})}]}getInformesTableConfigurationEstadoMasaSuperficial(c){return[{columnDef:"masa",header:this.translate.instant("reports.fichaInforme.tablaEstadoMasaSuperficial.lblMasa"),cell:Z=>`${Z.nombreMasa||""}`,center:!1,conditionalStyle:Z=>({textBlue:null!=`${Z.nombreMasa}`})},{columnDef:"estadoEcologicoReferencia",header:this.translate.instant("reports.fichaInforme.tablaEstadoMasaSuperficial.lblEstadoEcologicoReferencia"),cell:Z=>`${Z.estadoEcologicoReferencia||""}`,center:!1,conditionalStyle:Z=>({textBlue:null!=`${Z.estadoEcologicoReferencia}`,"text-center":!0})},{columnDef:"estadoQuimicoReferencia",header:this.translate.instant("reports.fichaInforme.tablaEstadoMasaSuperficial.lblEstadoQuimicoReferencia"),cell:Z=>`${Z.estadoQuimicoReferencia||""}`,center:!1,conditionalStyle:Z=>({textBlue:null!=`${Z.estadoQuimicoReferencia}`,"text-center":!0})},{columnDef:"estadoGlobalReferencia",header:this.translate.instant("reports.fichaInforme.tablaEstadoMasaSuperficial.lblEstadoGlobalReferencia"),cell:Z=>`${Z.estadoGlobalReferencia||""}`,center:!1,conditionalStyle:Z=>({textBlue:null!=`${Z.estadoGlobalReferencia}`,"text-center":!0})},{columnDef:"estadoEcologicoUltimo",header:this.translate.instant("reports.fichaInforme.tablaEstadoMasaSuperficial.lblEstadoEcologicoUltimo")+" "+c,cell:Z=>`${Z.estadoEcologicoUltimo||""}`,center:!1,conditionalStyle:Z=>({textBlue:null!=`${Z.estadoEcologicoUltimo}`,"text-center":!0})},{columnDef:"estadoQuimicoUltimo",header:this.translate.instant("reports.fichaInforme.tablaEstadoMasaSuperficial.lblEstadoQuimicoUltimo")+" "+c,cell:Z=>`${Z.estadoQuimicoUltimo||""}`,center:!1,conditionalStyle:Z=>({textBlue:null!=`${Z.estadoQuimicoUltimo}`,"text-center":!0})},{columnDef:"estadoGlobalUltimo",header:this.translate.instant("reports.fichaInforme.tablaEstadoMasaSuperficial.lblEstadoGlobalUltimo")+" "+c,cell:Z=>`${Z.estadoGlobalUltimo||""}`,center:!1,conditionalStyle:Z=>({textBlue:null!=`${Z.estadoGlobalUltimo}`,"text-center":!0})}]}getInformesTableConfigurationCaudalesEcologicos(){return[{columnDef:"tipo",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblTipo"),cell:c=>`${c.tipo||""}`,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"octubre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol10"),cell:c=>-1==c.normal_octubre?"Cese":`${this.numberPipe.transform(c.normal_octubre,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"noviembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol11"),cell:c=>-1==c.normal_noviembre?"Cese":`${this.numberPipe.transform(c.normal_noviembre,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"diciembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol12"),cell:c=>-1==c.normal_diciembre?"Cese":`${this.numberPipe.transform(c.normal_diciembre,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"enero",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol1"),cell:c=>-1==c.normal_enero?"Cese":`${this.numberPipe.transform(c.normal_enero,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"febrero",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol2"),cell:c=>-1==c.normal_febrero?"Cese":`${this.numberPipe.transform(c.normal_febrero,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"marzo",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol3"),cell:c=>-1==c.normal_marzo?"Cese":`${this.numberPipe.transform(c.normal_marzo,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"abril",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol4"),cell:c=>-1==c.normal_abril?"Cese":`${this.numberPipe.transform(c.normal_abril,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"mayo",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol5"),cell:c=>-1==c.normal_mayo?"Cese":`${this.numberPipe.transform(c.normal_mayo,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"junio",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol6"),cell:c=>-1==c.normal_junio?"Cese":`${this.numberPipe.transform(c.normal_junio,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"julio",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol7"),cell:c=>-1==c.normal_julio?"Cese":`${this.numberPipe.transform(c.normal_julio,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"agosto",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol8"),cell:c=>-1==c.normal_agosto?"Cese":`${this.numberPipe.transform(c.normal_agosto,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"septiembre",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblVol9"),cell:c=>-1==c.normal_septiembre?"Cese":`${this.numberPipe.transform(c.normal_septiembre,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`})},{columnDef:"total",header:this.translate.instant("reports.fichaInforme.tablaVolumenSolicitado.lblCaudalesTotal"),cell:c=>`${this.numberPipe.transform(c.normal_volumen_anual,e.C.numRed)||""}`,center:!1,conditionalStyle:c=>({textBlue:null!=`${c.tipo}`,"text-center":!0})}]}getUelTomasRetornosInfraestructurasSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.tipoElemento"),cell:c=>`${c.tipoElemento||""}`},{columnDef:"idMasa",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.id"),cell:c=>`${c.idMasa}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.nombre"),cell:c=>`${c.nombre||""}`}]}getUelTomasRetornosInfraestructurasTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"relacion",header:"",cell:c=>`${c.relacion||""}`},{columnDef:"idMasa",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.id"),cell:c=>`${c.idMasa}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.nombre"),cell:c=>`${c.nombre||""}`},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.tipoElemento"),cell:c=>`${c.tipoElemento||""}`},{columnDef:"reparto",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.reparto"),cell:c=>`${this.numberPipe.transform(c.reparto,e.C.numRed)||""}`,center:!0}]}getUELTablaCaptacionesConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"id",header:this.translate.instant("tablas.tablaUELCaptaciones.id"),cell:c=>`${c.id}`,conditionalStyle:c=>({textGrey:c.estado===e.C.condicionesEstilosEstadoExtracciones.FUERA_SERVICIO||c.estado===e.C.condicionesEstilosEstadoExtracciones.INCOMPATIBLE_SIN_CONCESION||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"integra",header:this.translate.instant("tablas.tablaUELCaptaciones.integra"),cell:c=>`${c.codIntegra}`,conditionalStyle:c=>({textGrey:c.estado===e.C.condicionesEstilosEstadoExtracciones.FUERA_SERVICIO||c.estado===e.C.condicionesEstilosEstadoExtracciones.INCOMPATIBLE_SIN_CONCESION||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"nombre",header:this.translate.instant("tablas.tablaUELCaptaciones.nombre"),cell:c=>`${c.nombre}`,conditionalStyle:c=>({textGrey:c.estado===e.C.condicionesEstilosEstadoExtracciones.FUERA_SERVICIO||c.estado===e.C.condicionesEstilosEstadoExtracciones.INCOMPATIBLE_SIN_CONCESION||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"tipoCaptacion",header:this.translate.instant("tablas.tablaUELCaptaciones.tipoCaptacion"),cell:c=>`${c.tipoCaptacion}`,conditionalStyle:c=>({textGrey:c.estado===e.C.condicionesEstilosEstadoExtracciones.FUERA_SERVICIO||c.estado===e.C.condicionesEstilosEstadoExtracciones.INCOMPATIBLE_SIN_CONCESION||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"situacion",header:this.translate.instant("tablas.tablaUELCaptaciones.situacionCaptacion"),cell:c=>`${c.situacion}`,conditionalStyle:c=>({textGrey:c.estado===e.C.condicionesEstilosEstadoExtracciones.FUERA_SERVICIO||c.estado===e.C.condicionesEstilosEstadoExtracciones.INCOMPATIBLE_SIN_CONCESION||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})},{columnDef:"volumen",header:this.translate.instant("tablas.tablaUELCaptaciones.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey:c.estado===e.C.condicionesEstilosEstadoExtracciones.FUERA_SERVICIO||c.estado===e.C.condicionesEstilosEstadoExtracciones.INCOMPATIBLE_SIN_CONCESION||"sin concesi\xf3n/sin derecho"===c.situacion.toLowerCase(),"text-center":!0})}]}getUDAUsesTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigo",header:this.translate.instant("tablas.tablaUDAUses.codigo"),
1cell:c=>`${c.codigo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaUDAUses.nombre"),cell:c=>`${c.nombre}`},{columnDef:"superficie",header:this.translate.instant("tablas.tablaUDAUses.superficie"),cell:c=>`${this.numberPipe.transform(c.superficie,e.C.numRed)||""}`,center:!0},{columnDef:"volumen",header:this.translate.instant("tablas.tablaUDAUses.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,center:!0},{columnDef:"escenario",header:this.translate.instant("tablas.tablaUDAUses.escenario"),cell:c=>`${c.escenario}`}]}getUDAUsesTablaConfigurationGanaderas(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigo",header:this.translate.instant("tablas.tablaUDAUses.codigo"),cell:c=>`${c.codigo}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaUDAUses.nombre"),cell:c=>`${c.nombre}`},{columnDef:"unidades",header:this.translate.instant("tablas.tablaUDAUses.unidades"),cell:c=>`${this.numberPipe.transform(c.unidadesGanaderasMay,e.C.numRed)||""}`,center:!0},{columnDef:"volumen",header:this.translate.instant("tablas.tablaUDAUses.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`,center:!0},{columnDef:"escenario",header:this.translate.instant("tablas.tablaUDAUses.escenario"),cell:c=>`${c.escenario}`}]}getUdaTomasRetornosInfraestructurasTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"relacion",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.relacion"),cell:c=>`${c.relacion||""}`},{columnDef:"idMasa",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.id"),cell:c=>`${c.idMasa}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.nombre"),cell:c=>`${c.nombre||""}`},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.tipoElemento"),cell:c=>`${c.tipoElemento||""}`},{columnDef:"reparto",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.reparto"),cell:c=>`${this.numberPipe.transform(c.reparto,e.C.numRed)||""}`}]}getChannelTomasRetornosInfraestructurasSearchTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.tipoElemento"),cell:c=>`${c.tipoElemento||""}`},{columnDef:"idMasa",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.id"),cell:c=>`${c.idMasa}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.nombre"),cell:c=>`${c.nombre||""}`}]}getChannelTomasRetornosInfraestructurasTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"relacion",header:"",cell:c=>`${c.relacion||""}`},{columnDef:"idMasa",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.id"),cell:c=>`${c.idMasa}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.nombre"),cell:c=>`${c.nombre||""}`},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.tipoElemento"),cell:c=>`${c.tipoElemento||""}`},{columnDef:"reparto",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.reparto"),cell:c=>`${this.numberPipe.transform(c.reparto,e.C.numRed)||""}`,center:!0}]}getCanalVolumenesTableConfiguration(){return[{columnDef:"mes",header:this.translate.instant("tablas.tablaCanalVolumenes.mes"),footer:this.translate.instant("tablas.tablaCanalVolumenes.anual"),cell:c=>`${c.mes||""}`,editable:!1,center:!1},{columnDef:"volumen",header:this.translate.instant("tablas.tablaCanalVolumenes.volumen"),footerOperation:"sum",cell:c=>`${c.volumen.value||""}`,numberPipe:e.C.numRed,editable:!0,center:!0}]}getCanalVolumenesNoPerfilTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"mes",header:this.translate.instant("tablas.tablaCanalVolumenes.mes"),footer:this.translate.instant("tablas.tablaCanalVolumenes.anual"),cell:c=>`${c.mes||""}`},{columnDef:"volumen",header:this.translate.instant("tablas.tablaCanalVolumenes.volumen"),footerOperation:"sum",cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`}]}getZonificacionMunicipalRelatedUsesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigoNombre",header:"",cell:c=>`${c.codigo}-${c.nombre}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"tipoUso",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.tipoUso"),cell:c=>`${c.tipoUso}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"expediente",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.expediente"),cell:c=>`${c.expediente||""}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenInformado",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.volumenInformado"),headerTooltip:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.tltipVolumenInformado"),cell:c=>`${this.numberPipe.transform(c.volumenInformado,e.C.numRed)||""}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"situacion",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.situacionUso"),headerTooltip:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.tltipSituacionUso"),cell:c=>`${c.situacionUso||""}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenOtorgado",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.volumenOtorgado"),headerTooltip:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.tltipVolumenOtorgado"),cell:c=>l.c.isNullorEmpty(c.volumenOtorgado)?`${this.numberPipe.transform(c.volumenEstimado,e.C.numRed)||""}`:`${this.numberPipe.transform(c.volumenOtorgado,e.C.numRed)||""}`,cellTooltip:c=>l.c.isNullorEmpty(c.volumenOtorgado)&&l.c.isNullorEmpty(c.volumenOtorgadoGris)?"":this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados."+c.tipoVolumen),conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris||l.c.isNullorEmpty(c.volumenOtorgado)&&!l.c.isNullorEmpty(c.volumenEstimado),"text-center":!0})},{columnDef:"variacionReserva",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.variacionReserva"),headerTooltip:this.translate.instant("municipalZoning.fichaBalance.tabla.usosVinculados.tltipVariacionReserva"),cell:c=>l.c.isNullorEmpty(c.variacionReserva)?`${this.numberPipe.transform(c.volumenEstimado,e.C.numRed)||""}`:`${this.numberPipe.transform(c.variacionReserva,e.C.numRed)||""}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!0})}]}getZonificacionMunicipalRelatedOtherUsesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigoNombre",header:"",cell:c=>`${c.codigo}-${c.nombre}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"tipoUso",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados.tipoUso"),cell:c=>`${c.tipoUso}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"expediente",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados.expediente"),cell:c=>`${c.expediente||""}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenInformado",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados.volumenInformado"),headerTooltip:this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados.tltipVolumenInformado"),cell:c=>`${this.numberPipe.transform(c.volumenInformado,e.C.numRed)||""}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"situacion",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados.situacionUso"),headerTooltip:this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados.tltipSituacionUso"),cell:c=>`${c.situacionUso||""}`,conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenOtorgado",header:this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados.volumenOtorgado"),headerTooltip:this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados.tltipVolumenOtorgado"),cell:c=>l.c.isNullorEmpty(c.volumenOtorgado)?`${this.numberPipe.transform(c.volumenOtorgadoGris,e.C.numRed)||""}`:`${this.numberPipe.transform(c.volumenOtorgado,e.C.numRed)||""}`,cellTooltip:c=>l.c.isNullorEmpty(c.volumenOtorgado)&&l.c.isNullorEmpty(c.volumenOtorgadoGris)?"":this.translate.instant("municipalZoning.fichaBalance.tabla.usosAnterioresVinculados."+c.tipoVolumen),conditionalStyle:c=>({textGreen:c.pintaEnVerde,textGrey2:c.pintaEnGris||l.c.isNullorEmpty(c.volumenOtorgado)&&!l.c.isNullorEmpty(c.volumenOtorgadoGris),"text-center":!0})}]}getDemandaTomasRetornosInfraestructurasTablaConfiguracion(c=!1){let v=[{columnDef:"relacion",header:"",cell:ee=>`${ee.relacion||""}`},{columnDef:"idMasa",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.id"),cell:ee=>`${ee.idMasa}`},{columnDef:"nombre",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.nombre"),cell:ee=>`${ee.nombre||""}`},{columnDef:"tipoElemento",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.tipoElemento"),cell:ee=>`${ee.tipoElemento||""}`},{columnDef:"reparto",header:this.translate.instant("tablas.tablaTomasRetornosInfraestructuras.reparto"),cell:ee=>`${this.numberPipe.transform(ee.reparto,e.C.numRed)||""}`,center:!0}];return c&&v.unshift({columnDef:"acciones",header:"",cell:ee=>""}),v}getDemandaInfoConcesionalTableConfiguration(c=!1,Z){let v=[{columnDef:"acciones",header:"",cell:ee=>""},{columnDef:"nombreUso",header:this.translate.instant("tablas.tablaDemandaInfoConcesional.uso"),cell:ee=>`${ee.idUso} - ${ee.nombreUso}`,center:!0,conditionalStyle:ee=>({"text-center":!0,textGrey:C.K.checkTextGreyInfoConcesionalDemandas(ee.situacionUso,Z)})},{columnDef:"volumenInformado",header:this.translate.instant("tablas.tablaDemandaInfoConcesional.volInformado"),cell:ee=>`${this.numberPipe.transform(ee.volumenInformado,e.C.numRed)||""}`,center:!0,conditionalStyle:ee=>({"text-center":!0,textGrey:C.K.checkTextGreyInfoConcesionalDemandas(ee.situacionUso,Z)})},{columnDef:"situacionUso",header:this.translate.instant("tablas.tablaDemandaInfoConcesional.situacionUso"),footer:this.translate.instant("tablas.tablaDemandaInfoConcesional.total"),cell:ee=>`${ee.situacionUso||""}`,center:!0,conditionalStyle:ee=>({"text-center":!0,textGrey:C.K.checkTextGreyInfoConcesionalDemandas(ee.situacionUso,Z)})},{columnDef:"volumenConcedido",header:this.translate.instant("tablas.tablaDemandaInfoConcesional.volConcedido"),footerOperation:"sum",cell:ee=>`${this.numberPipe.transform(ee.volumenConcedido,e.C.numRed)||""}`,center:!0,conditionalStyle:ee=>({"text-center":!0,textGrey:C.K.checkTextGreyInfoConcesionalDemandas(ee.situacionUso,Z)})}];if(c){const ee={columnDef:"hectareasConcedidas",header:this.translate.instant("tablas.tablaDemandaInfoConcesional.haconcedidas"),cell:X=>`${this.numberPipe.transform(X.hectareasConcedidas,e.C.numRed)||""}`,center:!0,footerOperation:"sum",conditionalStyle:X=>({"text-center":!0,textGrey:X.grisHa})};v.splice(2,0,ee)}return v}getUsosVertidosTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigo",header:this.translate.instant("useCommon.fichaTecnica.tablaVertidos.codigo"),
1cell:c=>`${c.codigo}`},{columnDef:"expediente",header:this.translate.instant("useCommon.fichaTecnica.tablaVertidos.expediente"),cell:c=>`${c.expediente}`},{columnDef:"nombre",header:this.translate.instant("useCommon.fichaTecnica.tablaVertidos.nombre"),cell:c=>`${c.nombre}`},{columnDef:"carga",header:this.translate.instant("useCommon.fichaTecnica.tablaVertidos.carga"),cell:c=>`${this.numberPipe.transform(c.carga,e.C.numEnt)||""}`},{columnDef:"volumen",header:this.translate.instant("useCommon.fichaTecnica.tablaVertidos.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numRed)||""}`}]}getUsosCaptacionesTablaConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigo",header:this.translate.instant("useCommon.fichaTecnica.tablaExtracciones.codigo"),cell:c=>`${c.id}`,conditionalStyle:c=>({textGrey:T._.getStyleColorCaptaciones(c.estado)})},{columnDef:"integralAlberca",header:this.translate.instant("useCommon.fichaTecnica.tablaExtracciones.integralAlberca"),cell:c=>`${T._.getIntegraAlbercaCaptacion(c)}`,conditionalStyle:c=>({textGrey:T._.getStyleColorCaptaciones(c.estado)})},{columnDef:"nombre",header:this.translate.instant("useCommon.fichaTecnica.tablaExtracciones.nombre"),cell:c=>`${c.nombre||""} `,conditionalStyle:c=>({textGrey:T._.getStyleColorCaptaciones(c.estado)})},{columnDef:"situacion",header:this.translate.instant("useCommon.fichaTecnica.tablaExtracciones.situacion"),cell:c=>`${c.situacion||""} `,conditionalStyle:c=>({textGrey:T._.getStyleColorCaptaciones(c.estado)})},{columnDef:"tipoCaptacion",header:this.translate.instant("useCommon.fichaTecnica.tablaExtracciones.tipoCaptacion"),cell:c=>`${T._.addTipoCaptacionDesc(c)}`,conditionalStyle:c=>({textGrey:T._.getStyleColorCaptaciones(c.estado),"text-center":!0})},{columnDef:"profundidad",header:this.translate.instant("useCommon.fichaTecnica.tablaExtracciones.profundidad"),cell:c=>`${c.profundidad||""}`,conditionalStyle:c=>({textGrey:T._.getStyleColorCaptaciones(c.estado),"text-center":!0})},{columnDef:"emergencia",header:this.translate.instant("useCommon.fichaTecnica.tablaExtracciones.emergencia"),cell:c=>`${c.emergencia||""} `,conditionalStyle:c=>({textGrey:T._.getStyleColorCaptaciones(c.estado),"text-center":!0})},{columnDef:"volumen",header:this.translate.instant("useCommon.fichaTecnica.tablaExtracciones.volumen"),cell:c=>`${this.numberPipe.transform(c.volumen,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey:c.esVolEstimado||T._.getStyleColorCaptaciones(c.estado),"text-center":!0})}]}getPresionRelevanciaTableConfiguration(){return[{columnDef:"tipoPresion",header:this.translate.instant("tablas.tablaRelevanciaPresion.tipoPresion"),cell:c=>`${c.tipoPresion}`},{columnDef:"impacto",header:this.translate.instant("tablas.tablaRelevanciaPresion.impacto"),cell:c=>`${c.impacto}`},{columnDef:"relevanciaPresion",header:this.translate.instant("tablas.tablaRelevanciaPresion.relevanciaPresion"),cell:c=>`${c.relevanciaPresion||""}`,conditionalStyle:c=>({textRed:`${c.relevanciaPresionShort}`===e.C.condicionesEstilos.SIGNIFICATIVA,textGreen:`${c.relevanciaPresionShort}`===e.C.condicionesEstilos.NO_SIGNIFICATIVA,textOrange:`${c.relevanciaPresionShort}`===e.C.condicionesEstilos.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"relevanciaPresionFinal",header:this.translate.instant("tablas.tablaRelevanciaPresion.relevanciaPresionDefinitiva"),cell:c=>`${c.relevanciaPresionFinal||""}`,conditionalStyle:c=>({textRed:`${c.relevanciaPresionFinalShort}`===e.C.condicionesEstilos.SIGNIFICATIVA,textGreen:`${c.relevanciaPresionFinalShort}`===e.C.condicionesEstilos.NO_SIGNIFICATIVA,textOrange:`${c.relevanciaPresionFinalShort}`===e.C.condicionesEstilos.POTENCIALMENTE_SIGNIFICATIVA})},{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"seleccion",header:"",cell:c=>""}]}getCaptacionesUsosTableConfiguration(){return[{columnDef:"idUso",header:this.translate.instant("tablas.tablaCaptacionesUsos.idUso"),cell:c=>`${c.idUso}`},{columnDef:"nombreUso",header:this.translate.instant("tablas.tablaCaptacionesUsos.nombreUso"),cell:c=>`${c.nombre}`},{columnDef:"tipoUso",header:this.translate.instant("tablas.tablaCaptacionesUsos.tipoUso"),cell:c=>`${c.tipoUso}`},{columnDef:"acciones",header:"",cell:c=>""}]}getSERelatedUsesTableConfiguration(){return[{columnDef:"acciones",header:"",cell:c=>""},{columnDef:"codigoNombre",header:"",cell:c=>`${c.codigo}-${c.nombre}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"expediente",header:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.expediente"),cell:c=>`${c.expediente||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"situacion",header:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.situacionUso"),headerTooltip:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.tltipSituacionUso"),cell:c=>`${c.situacionUso||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"volumenOtorgado",header:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.volumenOtorgado"),headerTooltip:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.tltipVolumenOtorgado"),cell:c=>l.c.isNullorEmpty(c.volumenOtorgado)?`${this.numberPipe.transform(c.volumenEstimado,e.C.numEnt)||""}`:`${this.numberPipe.transform(c.volumenOtorgado,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris||l.c.isNullorEmpty(c.volumenOtorgado)&&!l.c.isNullorEmpty(c.volumenEstimado),"text-center":!0})},{columnDef:"uda",header:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.uda"),cell:c=>`${c.uda||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!1})},{columnDef:"variacionReserva",header:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.variacionReserva"),headerTooltip:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.tltipVariacionReserva"),cell:c=>l.c.isNullorEmpty(c.variacionReserva)?"":`${this.numberPipe.transform(c.variacionReserva,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})},{columnDef:"variacionReservaSE",header:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.variacionReservaSE"),headerTooltip:this.translate.instant("exploitationSystems.fichaTecnica.tabla.usosVinculados.tltipVariacionReservaSE"),cell:c=>l.c.isNullorEmpty(c.variacionReservaSE)?"":`${this.numberPipe.transform(c.variacionReservaSE,e.C.numEnt)||""}`,conditionalStyle:c=>({textGrey2:c.pintaEnGris,"text-center":!0})}]}}return O.\u0275fac=function(c){return new(c||O)(R.LFG(q.sK),R.LFG(k))},O.\u0275prov=R.Yz7({token:O,factory:O.\u0275fac,providedIn:"any"}),O})()},9547:(Yt,Ze,m)=>{"use strict";m.d(Ze,{x:()=>e});var i=m(5861),s=m(5e3);let e=(()=>{class C{constructor(S){this.storage=window.sessionStorage?new d(S):new A}forKey(S){return new l(S,this.storage)}get(S){return this.storage.get(S)}remove(S){this.storage.remove(S)}set(S,R){this.storage.set(S,R)}}return C.\u0275fac=function(S){return new(S||C)(s.LFG(s.R0b))}
1,C.\u0275prov=s.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();class l{constructor(T,S){this.key=T,this.storage=S}get(){return this.storage.get(this.key)}remove(){this.storage.remove(this.key)}set(T){this.storage.set(this.key,T)}}class d{constructor(T){this.zone=T,this.cache=Object.create(null),this.storageKey="temp_session_storage",this.debounceDuration=1e3,this.timerID=0,this.loadFromCache()}get(T){var S=this;return(0,i.Z)(function*(){var R;return null!==(R=S.cache[T])&&void 0!==R?R:null})()}remove(T){T in this.cache&&(delete this.cache[T],this.persistToCache())}set(T,S){this.cache[T]=S,this.persistToCache()}debounceOutsideNgZone(T){this.zone.runOutsideAngular(()=>{clearTimeout(this.timerID),this.timerID=window.setTimeout(()=>{this.timerID=0,T()},this.debounceDuration)})}loadFromCache(){try{var T=sessionStorage.getItem(this.storageKey);T&&Object.assign(this.cache,JSON.parse(T))}catch(S){console.warn("SessionStorageWrapper was unable to read from SessionStorage API."),console.error(S)}}persistToCache(){this.debounceOutsideNgZone(()=>{console.warn("Flushing to SessionStorage API.");try{sessionStorage.setItem(this.storageKey,JSON.stringify(this.cache))}catch(T){console.warn("SessionStorageWrapper was unable to write to SessionStorage API."),console.error(T)}})}}class A{constructor(){this.cache=Object.create(null)}get(T){var S=this;return(0,i.Z)(function*(){var R;return null!==(R=S.cache[T])&&void 0!==R?R:null})()}remove(T){delete this.cache[T]}set(T,S){this.cache[T]=S}}},1964:(Yt,Ze,m)=>{"use strict";m.d(Ze,{e:()=>E});var i=m(1135),s=m(5625),e=m(262),l=m(2843),d=m(3179),A=m(7470),C=m(5e3),T=m(520),S=m(3468),R=m(4894),q=m(8914),w=m(9027),k=m(9547),h=m(3932),O=m(4209);let E=(()=>{class c{constructor(v,ee,X,te,_e,ne,oe,he){this.http=v,this.dialogModelService=ee,this.translate=X,this.configService=te,this.rolesService=_e,this.temporaryStorageService=ne,this.router=oe,this.globalService=he,this.api_path="",this.login_api_path="",this.perfil_api_path="",this.isAuthenticated$=new i.X(!1),c.dialogModelService=this.dialogModelService,c.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.login_api_path=this.configService.getApi("login","login"),this.perfil_api_path=this.configService.getApi("login","perfil")}emitAuthenticatedChange(v){this.isAuthenticated$.next(v)}login(v){return this.http.post(`${this.api_path}${this.login_api_path}`,v,{observe:"response"}).pipe((0,s.X)(0),(0,e.K)(this.handleErrorLogin))}logout(v){this.emitAuthenticatedChange(!1),this.rolesService.updateProfiles([]),this.rolesService.updateProfile(d.C.perfilCiudadano),this.rolesService.updateUser(null),this.temporaryStorageService.remove("auth");let ee=A.c.isUndefined(v)?"/":v;this.router.navigate([ee])}setProfile(v){return this.http.post(`${this.api_path}${this.perfil_api_path}`,v,{observe:"response"}).pipe((0,s.X)(0),(0,e.K)(this.handleErrorProfile.bind(this)))}setActiveProfile(v){let ee=new FormData;ee.append("perfil",v),this.setProfile(ee).subscribe(X=>{200==X.status&&(this.rolesService.updateProfile(v),this.updateAuth(X.body))})}updateAuth(v){this.temporaryStorageService.set("auth",v.token),this.temporaryStorageService.set("auth_expiration",v.expirationDate)}getProfile(){return this.http.get(`${this.api_path}${this.perfil_api_path}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}handleErrorLogin(v){let ee="";return v.error instanceof ErrorEvent?ee=`<p>${c.translate.instant("dialogos.errorServidor.error")} ${v.error.message}</p>`:401===v.status?ee=`<p>${c.translate.instant("dialogos.errorLogin.mensajeErrorUsuario")}</p>`:400===v.status?ee=`<p>${c.translate.instant("dialogos.errorLogin.mensajeErrorIncompleto")}</p>`:410===v.status&&(ee=`<p>${c.translate.instant("dialogos.errorLogin.mensajeErrorConstrasenaCaducada")}</p>`),c.dialogModelService.openMessageDialog(c.translate.instant("dialogos.errorLogin.titulo"),ee),(0,l._)(()=>ee)}handleErrorProfile(v){let ee="";return v.error instanceof ErrorEvent?ee=`<p>${c.translate.instant("dialogos.errorServidor.error")} ${v.error.message}</p>`:401===v.status?(ee=`<p>${c.translate.instant("dialogos.errorAuth.mensajeErrorExpirado")}</p>`,this.logout("/public/login")):400===v.status&&(ee=`<p>${c.translate.instant("dialogos.errorLogin.mensajeErrorPerfilNoDisponible")}</p>`),c.dialogModelService.openMessageDialog(c.translate.instant("dialogos.errorLogin.titulo"),ee),(0,l._)(()=>ee)}}return c.\u0275fac=function(v){return new(v||c)(C.LFG(T.eN),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.E),C.LFG(w.f),C.LFG(k.x),C.LFG(h.F0),C.LFG(O.U))},c.\u0275prov=C.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},7318:(Yt,Ze,m)=>{"use strict";m.d(Ze,{I:()=>d});var i=m(7579),s=m(2722),e=m(5e3),l=m(9027);let d=(()=>
1{class A{constructor(T,S,R){this.viewContainerRef=T,this.templateRef=S,this.rolesService=R,this.stop$=new i.x,this.isVisible=!1}ngOnInit(){this.rolesService.profile$.pipe((0,s.R)(this.stop$)).subscribe(T=>{T||this.viewContainerRef.clear(),this.appHasrole.filter(S=>T===S).length>0?this.isVisible||(this.isVisible=!0,this.viewContainerRef.createEmbeddedView(this.templateRef)):(this.isVisible=!1,this.viewContainerRef.clear())})}ngOnDestroy(){this.stop$.next(!0)}}return A.\u0275fac=function(T){return new(T||A)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(l.f))},A.\u0275dir=e.lG2({type:A,selectors:[["","appHasrole",""]],inputs:{appHasrole:"appHasrole"}}),A})()},9027:(Yt,Ze,m)=>{"use strict";m.d(Ze,{f:()=>C});var i=m(4707),s=m(1135),e=m(7579),l=m(2722),d=m(3179),A=m(5e3);let C=(()=>{class T{constructor(){this.profile$=new i.t(1),this.profileUpdates$=new s.X(d.C.perfilCiudadano),this.profiles$=new i.t(1),this.profilesUpdate$=new s.X([]),this.user$=new i.t(1),this.userUpdates$=new s.X(null),this.profileViewerCatalog$=new i.t(1),this.stop$=new e.x,this.profileUpdates$.subscribe(this.profile$),this.profilesUpdate$.subscribe(this.profiles$),this.userUpdates$.subscribe(this.user$)}updateProfile(R){this.profileUpdates$.next(R)}updateProfiles(R){this.profilesUpdate$.next(R)}updateUser(R){this.userUpdates$.next(R)}updateProfileViewerCatalog(R){this.profileViewerCatalog$.next(R)}getProfileNameById(R){let q="";return this.profiles$.pipe((0,l.R)(this.stop$)).subscribe(w=>{let k=w.find(h=>h.id.toString()===R);q=k&&k.descripcion?k.descripcion:""}),q}ngOnDestroy(){this.stop$.next(!0)}}return T.\u0275fac=function(R){return new(R||T)},T.\u0275prov=A.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},8980:(Yt,Ze,m)=>{"use strict";m.d(Ze,{c:()=>X});var i=m(7579),s=m(2722),e=m(3179),l=m(5e3),d=m(4894),A=m(1964),C=m(3932),T=m(9027),S=m(5931),R=m(5625),q=m(262),w=m(520),k=m(8914),h=m(4209);let O=(()=>{class te{constructor(ne,oe,he){this.http=ne,this.configService=oe,this.globalService=he,this.mgmt_path="",this.info_mgmt_path="",this.mgmt_path=this.configService.getMgmtPath(),this.info_mgmt_path=this.configService.getApi("mgmt","info")}getInfo(){return this.http.get(this.mgmt_path+this.info_mgmt_path).pipe((0,R.X)(1),(0,q.K)(this.globalService.handleError))}}return te.\u0275fac=function(ne){return new(ne||te)(l.LFG(w.eN),l.LFG(k.E),l.LFG(h.U))},te.\u0275prov=l.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();var E=m(60),c=m(7238);const Z=function(){return["/public/login"]},v=function(){return["/public/login/changePass"]};function ee(te,_e){if(1&te&&(l.ynx(0),l.TgZ(1,"span",44),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"span",44),l._uU(5),l.ALo(6,"translate"),l.qZA(),l.TgZ(7,"a",45),l.ALo(8,"translate"),l._UZ(9,"i",46),l.qZA(),l.TgZ(10,"a",45),l.ALo(11,"translate"),l._UZ(12,"i",47),l.qZA(),l.BQk()),2&te){const ne=l.oxw();l.xp6(2),l.AsE("",l.lcZ(3,8,"footer.conectado"),": ",ne.userName,"."),l.xp6(3),l.AsE("",l.lcZ(6,10,"footer.perfil"),": ",ne.userProfile,""),l.xp6(2),l.s9C("matTooltip",l.lcZ(8,12,"tootips.tltipCambiarPerfil")),l.Q6J("routerLink",l.DdM(16,Z)),l.xp6(3),l.s9C("matTooltip",l.lcZ(11,14,"tootips.tltipCambiarPass")),l.Q6J("routerLink",l.DdM(17,v))}}let X=(()=>{class te{constructor(ne,oe,he,Se,Be,ot){this.translate=ne,this.authService=oe,this.router=he,this.rolesService=Se,this.scrollService=Be,this.mgmtService=ot,this.toggleSessioBtnLabel=this.translate.instant("botones.areaTecnica"),this.toggleSessioBtnTooltip=this.translate.instant("tootips.tltipCambiarPerfil"),this.userName="",this.userProfile="",this.shortDateFormat=e.C.shortDateFormat,this.stop$=new i.x,this.authService.isAuthenticated$.pipe((0,s.R)(this.stop$)).subscribe(nt=>{this.logged=nt,this.toggleSessioBtnLabel=this.translate.instant(this.logged?"botones.cerrarSesion":"botones.areaTecnica"),this.toggleSessioBtnTooltip=this.translate.instant(this.logged?"tootips.tltipCerrarSesion":"tootips.tltipAreaTecnica")}),this.mgmtService.getInfo().subscribe(nt=>{this.version=nt.build.version,this.versionDate=nt.build.time})}ngOnInit(){this.currentDate=new Date,this.rolesService.profile$.pipe((0,s.R)(this.stop$)).subscribe(ne=>{this.userProfile=this.rolesService.getProfileNameById(ne)}),this.rolesService.user$.pipe((0,s.R)(this.stop$)).subscribe(ne=>{ne&&(this.userName=ne.nombre)})}toggleSession(){this.logged?this.logout():this.router.navigate(["/public/login"])}logout(){this.authService.logout()}goToTop(){this.scrollService.goToTop()}ngOnDestroy(){this.stop$.next(!0)}}return te.\u0275fac=function(ne){return new(ne||te)(l.Y36(d.sK),l.Y36(A.e),l.Y36(C.F0),l.Y36(T.f),l.Y36(S.a),l.Y36(O))},te.\u0275cmp=l.Xpm({type:te,selectors:[["app-footer"]],decls:103,vars:92,consts:[["id","footer","role","contentinfo"],["id","back-top-wrapper"],["role","button",3,"click"],["id","gota"],[1,"fas","fa-chevron-up"],[1,"sr-only"],[1,"gob-links-wrapper"],[1,"container-fluid-1280"],[1,"gob-links"],["href","https://www.chduero.es/web/guest/plan-hidrol%C3%B3gico-del-duero-vigente-","target","_blank",1,"logo-container",3,"title"],["src","./assets/images/planHidrologico.png",3,"alt"],["href","https://www.chduero.es/web/guest/plan-especial-sequias-vigente","target","_blank",1,"logo-container",3,"title"],["src","./assets/images/sequia.png",3,"alt"],["href","https://www.chduero.es/","target","_blank",1,"logo-container",3,"title"],["src","./assets/images/CHD.png",3,"alt"],["href","https://sig.mapama.gob.es/geoportal","target","_blank",1,"logo-container",3,"title"],["src","./assets/images/geop
1ortal.png",3,"alt"],["href","https://play.google.com/store/apps/details?id=es.chduero.mirame","target","_blank",1,"logo-container",3,"title"],["src","./assets/images/android_get_app.png",1,"logo-app",3,"alt"],["href","https://apps.apple.com/us/app/m%C3%ADrame-ide-duero/id6736690657","target","_blank",1,"logo-container",3,"title"],["src","./assets/images/apple_get_app.svg",1,"logo-app",3,"alt"],[1,"footer-info-wrapper"],[1,"container-fluid"],[1,"footer-info"],[1,"footer-btn-left"],["target","_blank","href","https://www.chduero.es/web/guest/buzon-ciudadano",1,"button"],["target","_blank","href","https://mirame.chduero.es/DMADuero_09_15/index.faces",1,"button"],["target","_blank","href","https://mirame.chduero.es/DMADuero_22_27/index.faces",1,"button"],[1,"other-info"],[1,"serviciosaux-chd"],[1,"title"],[1,"serviciosaux-chd-info"],["href","https://mirame.chduero.es/geoserver/mirame/wms"],["href","https://mirame.chduero.es/geonetwork/mirame/spa/catalog.search"],["href","https://mirame.chduero.es/wmsc/General"],[1,"footer-btn-right"],[4,"ngIf"],["matTooltipPosition","below","matTooltipClass","custom-tooltip",1,"button","me-2",3,"matTooltip","click"],[1,"fa-solid","fa-lock"],[1,"footer-copyright-logos-wrapper"],[1,"footer-container","container"],[1,"footer-copyright-text"],[1,"fecha"],[1,"copyright"],[1,"me-2"],["matTooltipPosition","below","matTooltipClass","custom-tooltip",1,"button","me-2",3,"routerLink","matTooltip"],[1,"fa-solid","fa-people-arrows-left-right"],[1,"fa-solid","fa-key"]],template:function(ne,oe){1&ne&&(l.TgZ(0,"footer",0)(1,"div",1)(2,"a",2),l.NdJ("click",function(){return oe.goToTop()}),l.TgZ(3,"div",3),l._UZ(4,"span",4),l.TgZ(5,"span",5),l._uU(6),l.ALo(7,"translate"),l.qZA()()()(),l.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"a",9),l.ALo(12,"translate"),l._UZ(13,"img",10),l.ALo(14,"translate"),l.TgZ(15,"span",5),l._uU(16),l.ALo(17,"translate"),l.qZA()(),l.TgZ(18,"a",11),l.ALo(19,"translate"),l._UZ(20,"img",12),l.ALo(21,"translate"),l.TgZ(22,"span",5),l._uU(23),l.ALo(24,"translate"),l.qZA()(),l.TgZ(25,"a",13),l.ALo(26,"translate"),l._UZ(27,"img",14),l.ALo(28,"translate"),l.TgZ(29,"span",5),l._uU(30),l.ALo(31,"translate"),l.qZA()(),l.TgZ(32,"a",15),l.ALo(33,"translate"),l._UZ(34,"img",16),l.ALo(35,"translate"),l.TgZ(36,"span",5),l._uU(37),l.ALo(38,"translate"),l.qZA()(),l.TgZ(39,"a",17),l.ALo(40,"translate"),l._UZ(41,"img",18),l.ALo(42,"translate"),l.TgZ(43,"span",5),l._uU(44),l.ALo(45,"translate"),l.qZA()(),l.TgZ(46,"a",19),l.ALo(47,"translate"),l._UZ(48,"img",20),l.ALo(49,"translate"),l.TgZ(50,"span",5),l._uU(51),l.ALo(52,"translate"),l.qZA()()()()(),l.TgZ(53,"div",21)(54,"div",22)(55,"div",23)(56,"div",24)(57,"p")(58,"a",25),l._uU(59),l.ALo(60,"translate"),l.qZA()(),l.TgZ(61,"p")(62,"a",26),l._uU(63),l.ALo(64,"translate"),l.qZA()(),l.TgZ(65,"p")(66,"a",27),l._uU(67),l.ALo(68,"translate"),l.qZA()()(),l.TgZ(69,"div",28)(70,"div",29)(71,"span",30),l._uU(72),l.ALo(73,"translate"),l.qZA(),l.TgZ(74,"div",31)(75,"p")(76,"a",32),l._uU(77),l.ALo(78,"translate"),l.qZA()(),l.TgZ(79,"p")(80,"a",33),l._uU(81),l.ALo(82,"translate"),l.qZA()(),l.TgZ(83,"p")(84,"a",34),l._uU(85),l.ALo(86,"translate"),l.qZA()()()()(),l.TgZ(87,"div",35)(88,"p"),l.YNc(89,ee,13,18,"ng-container",36),l.TgZ(90,"a",37),l.NdJ("click",function(){return oe.toggleSession()}),l._uU(91),l._UZ(92,"i",38),l.qZA()()()()()(),l.TgZ(93,"div",39)(94,"div",40)(95,"div",41)(96,"p",42),l._uU(97),l.ALo(98,"translate"),l.ALo(99,"date"),l.qZA(),l.TgZ(100,"p",43),l._uU(101),l.ALo(102,"translate"),l.qZA()()()()()),2&ne&&(l.xp6(6),l.Oqu(l.lcZ(7,33,"irA.arriba")),l.xp6(5),l.s9C("title",l.lcZ(12,35,"irA.planHidrologico")),l.xp6(2),l.s9C("alt",l.lcZ(14,37,"irA.planHidrologico")),l.xp6(3),l.Oqu(l.lcZ(17,39,"irA.planHidrologico")),l.xp6(2),l.s9C("title",l.lcZ(19,41,"irA.planSequias")),l.xp6(2),l.s9C("alt",l.lcZ(21,43,"irA.planSequias")),l.xp6(3),l.Oqu(l.lcZ(24,45,"irA.planSequias")),l.xp6(2),l.s9C("title",l.lcZ(26,47,"irA.portalCHD")),l.xp6(2),l.s9C("alt",l.lcZ(28,49,"irA.portalCHD")),l.xp6(3),l.Oqu(l.lcZ(31,51,"irA.portalCHD")),l.xp6(2),l.s9C("title",l.lcZ(33,53,"irA.geoPortalMAPAMA")),l.xp6(2),l.s9C("alt",l.lcZ(35,55,"irA.geoPortalMAPAMA")),l.xp6(3),l.Oqu(l.lcZ(38,57,"irA.geoPortalMAPAMA")),l.xp6(2),l.s9C("title",l.lcZ(40,59,"
1irA.androidApp")),l.xp6(2),l.s9C("alt",l.lcZ(42,61,"irA.androidApp")),l.xp6(3),l.hij('"',l.lcZ(45,63,"irA.androidApp"),'"'),l.xp6(2),l.s9C("title",l.lcZ(47,65,"irA.appleApp")),l.xp6(2),l.s9C("alt",l.lcZ(49,67,"irA.appleApp")),l.xp6(3),l.hij('"',l.lcZ(52,69,"irA.appleApp"),'"'),l.xp6(8),l.Oqu(l.lcZ(60,71,"footer.contacto")),l.xp6(4),l.Oqu(l.lcZ(64,73,"footer.periodo")),l.xp6(4),l.Oqu(l.lcZ(68,75,"footer.periodo2022")),l.xp6(5),l.Oqu(l.lcZ(73,77,"footer.serviciosAux")),l.xp6(5),l.Oqu(l.lcZ(78,79,"footer.wms")),l.xp6(4),l.Oqu(l.lcZ(82,81,"footer.csw")),l.xp6(4),l.Oqu(l.lcZ(86,83,"footer.wcs")),l.xp6(4),l.Q6J("ngIf",oe.logged),l.xp6(1),l.s9C("matTooltip",oe.toggleSessioBtnTooltip),l.xp6(1),l.hij("",oe.toggleSessioBtnLabel," "),l.xp6(6),l.lnq("",l.lcZ(98,85,"footer.version"),": ",l.xi3(99,87,oe.versionDate,oe.shortDateFormat)," (",oe.version,")"),l.xp6(4),l.Oqu(l.lcZ(102,90,"footer.copyright")))},directives:[E.O5,C.yS,c.gM],pipes:[d.X$,E.uU],styles:["#footer[_ngcontent-%COMP%]   #back-top-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center}#footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}#footer[_ngcontent-%COMP%]   #back-top-wrapper[_ngcontent-%COMP%]   #gota[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center;width:50px;height:50px;top:25px;background-color:#bbe5f3;border-radius:50% 0 50% 50%;transform:rotate(-45deg)}#footer[_ngcontent-%COMP%]   #back-top-wrapper[_ngcontent-%COMP%]   #gota[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#1b576d;font-size:2rem;transform:rotate(45deg);text-align:center}.sr-only[_ngcontent-%COMP%]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important}@media screen and (min-width: 767px){.logo-app[_ngcontent-%COMP%]{height:70%!important}}.logo-container[_ngcontent-%COMP%]{display:flex!important;align-items:center}#footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}#footer[_ngcontent-%COMP%]   .gob-links-wrapper[_ngcontent-%COMP%]{background:#1c7696}.container-fluid-1280[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:1280px;padding-left:15px;padding-right:15px;width:100%}#footer[_ngcontent-%COMP%]   .gob-links-wrapper[_ngcontent-%COMP%]   .gob-links[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;height:100px;padding:15px 20px;-webkit-user-select:none;user-select:none;align-items:center}.footer-btn-left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .footer-btn-right[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#fff;font-size:16px}.footer-btn-right[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer}@media screen and (max-width: 767px){#footer[_ngcontent-%COMP%]   .gob-links-wrapper[_ngcontent-%COMP%]   .gob-links[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;grid-gap:10px;width:100%;height:auto;padding:10px 0;text-align:center;-webkit-user-select:none;user-select:none}#footer[_ngcontent-%COMP%]   .gob-links-wrapper[_ngcontent-%COMP%]   .gob-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:50px;padding:5px}}#footer[_ngcontent-%COMP%]   .gob-links-wrapper[_ngcontent-%COMP%]   .gob-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], #footer[_ngcontent-%COMP%]   .gob-links-wrapper[_ngcontent-%COMP%]   .gob-links[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%;display:inline-block}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]{background:#1b576d;box-shadow:inset 0 30px 25px -40px #0000007f}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]{width:100%;padding:35px 20px;display:inline-flex;justify-content:space-between}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]{width:100%;display:-ms-grid;-ms-grid-rows:auto;-ms-grid-columns:auto 50px 1fr 50px 1fr 50px 1fr}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .footer-btn-left[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], #footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .footer-btn-right[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:2rem}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .footer-btn-right[_ngcontent-%COMP%]{text-align:end}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:flex;align-items:center;padding:0 .5rem;line-height:normal;font-weight:700;border-left:4px solid #22d0a0;color:#fff;font-size:small;margin-bottom:.5rem;text-transform:uppercase}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .sedes-chd[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .sedes-chd[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{line-height:normal}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .sedes-chd[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#fff;font-size:small}#footer[_ngcontent-%COMP%]   .footer-copyright-logos-wrapper[_ngcontent-%COMP%]{background:#1b576d}#footer[_ngcontent-%COMP%]   .footer-copyright-logos-wrapper[_ngcontent-%COMP%]   .footer-container[_ngcontent-%COMP%]{display:flex;align-content:center;justify-content:center;align-items:center}#footer[_ngcontent-%COMP%]   .footer-copyright-logos-wrapper[_ngcontent-%COMP%]   .footer-copyright-logos[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;padding:0 20px 35px}#footer[_ngcontent-%COMP%]   .footer-copyright-logos-wrapper[_ngcontent-%COMP%]   .footer-copyright-logos[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{font-size:small;color:#bbe5f3}#footer[_ngcontent-%COMP%]   .footer-copyright-logos-wrapper[_ngcontent-%COMP%]   .footer-copyright-logos[_ngcontent-%COMP%]   .footer-logos[_ngcontent-%COMP%]{position:relative;display:grid;grid-template-columns:auto auto;height:45px}#footer[_ngcontent-%COMP%]   .footer-copyright-logos-wrapper[_ngcontent-%COMP%]   .footer-copyright-logos[_ngcontent-%COMP%]   .footer-logos[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:65px}#footer[_ngcontent-%COMP%]   .footer-copyright-logos-wrapper[_ngcontent-%COMP%]   .footer-copyright-logos[_ngcontent-%COMP%]   .footer-logos[_ngcontent-%COMP%]   .logo-m
1inisterio[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto auto auto}#footer[_ngcontent-%COMP%]   .footer-copyright-logos-wrapper[_ngcontent-%COMP%]   .footer-copyright-text[_ngcontent-%COMP%]{text-align:center;color:#fff}#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .other-info[_ngcontent-%COMP%]   .serviciosaux-chd-info[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:small;display:block;color:#fff}.button[_ngcontent-%COMP%]{font-family:Arial;color:#fff;font-size:1.2rem;padding:12px 24px;text-decoration:none;background:#1c7696}.button[_ngcontent-%COMP%]:hover{background:#56b3d4}@media screen and (min-width: 768px) and (max-width: 1023px){#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]{padding:30px 20px;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;grid-gap:30px;grid-auto-flow:column}}@media screen and (max-width: 767px){#footer[_ngcontent-%COMP%]   .footer-info-wrapper[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]{padding:30px 5px;display:flex;flex-direction:column}}"]}),te})()},4080:(Yt,Ze,m)=>{"use strict";m.d(Ze,{G:()=>q});var i=m(6757),s=m(5e3),e=m(3932),l=m(9318),d=m(5890),A=m(3075),C=m(7423),T=m(7238),S=m(4894);const R=["searchBar"];let q=(()=>{class w{constructor(h,O,E){this.router=h,this.searchGeneralService=O,this.matomoAnalyticsService=E,this.isActive=!1,this.searchText=""}ngOnInit(){}goHome(){this.router.navigate(["/"])}goSearch(){this.searchGeneralService.validate(this.searchText)&&this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate(["/public/search"],{queryParams:{text:this.searchText}}),this.matomoAnalyticsService.trackSiteSearch(this.searchText,i.zU.ENTITY,1)})}openSearch(){this.isActive=!0,this.searchbar.nativeElement.focus()}closeSearch(){this.searchText="",this.isActive=!1}}return w.\u0275fac=function(h){return new(h||w)(s.Y36(e.F0),s.Y36(l.U),s.Y36(d.p))},w.\u0275cmp=s.Xpm({type:w,selectors:[["app-header"]],viewQuery:function(h,O){if(1&h&&s.Gf(R,5),2&h){let E;s.iGM(E=s.CRH())&&(O.searchbar=E.first)}},decls:17,vars:7,consts:[[1,"container"],[1,"d-flex","align-items-center","justify-content-between"],[1,"header-img-left","me-auto"],["src","./assets/images/icono_v1.png","alt","",3,"click"],["href","https://www.chduero.es/web/guest","target","_blank"],["src","./assets/images/layout_set_logo_v2.png","alt",""],["src","./assets/images/logo_chd.jpg","alt","",1,"ms-2"],[1,"search-form"],[1,"d-flex","flex-row-reverse","align-items-center"],["mat-flat-button","","color","primary","matTooltipPosition","below","matTooltipClass","custom-tooltip",1,"btn-first","search-button",3,"matTooltip","click"],[1,"fa-solid","fa-magnifying-glass"],["type","text","name","searchText",1,"search-input",3,"ngModel","placeholder","ngModelChange","keyup.enter"]],template:function(h,O){1&h&&(s.TgZ(0,"header")(1,"div",0)(2,"div",1)(3,"div",2)(4,"a")(5,"img",3),s.NdJ("click",function(){return O.goHome()}),s.qZA()(),s.TgZ(6,"a",4),s._UZ(7,"img",5),s.qZA(),s.TgZ(8,"a",4),s._UZ(9,"img",6),s.qZA()(),s.TgZ(10,"form",7)(11,"div",8)(12,"button",9),s.NdJ("click",function(){return O.goSearch()}),s.ALo(13,"translate"),s._UZ(14,"i",10),s.qZA(),s.TgZ(15,"input",11),s.NdJ("ngModelChange",function(c){return O.searchText=c})("keyup.enter",function(){return O.goSearch()}),s.ALo(16,"translate"),s.qZA()()()()()()),2&h&&(s.xp6(12),s.s9C("matTooltip",s.lcZ(13,3,"tootips.tltipBuscador")),s.xp6(3),s.s9C("placeholder",s.lcZ(16,5,"header.search.placeholder")),s.Q6J("ngModel",O.searchText))},directives:[A._Y,A.JL,A.F,C.lW,T.gM,A.Fj,A.JJ,A.On],pipes:[S.X$],styles:["header[_ngcontent-%COMP%]{margin-top:1rem}.header-img-left[_ngcontent-%COMP%]{height:100%;padding-right:0rem}.header-img-left[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer}.header-img-left[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:first-of-type{margin-right:2rem}.header-img-left[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain}.navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#1c7696}.navbar-light[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{font-size:1.1vw;color:#000;font-weight:600;white-space:nowrap}.dropdown-toggle[_ngcontent-%COMP%]:after{color:#1c7696}@media screen and (max-width: 992px){header[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .header-img-left[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:45px}}@media screen and (min-width: 992px){header[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .header-img-left[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:55px}}
1.search-bar[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-align:right}.search-input[_ngcontent-%COMP%]{margin:0;width:30%;padding:.375rem .75rem;font-size:1em;font-weight:400;line-height:1.5;border:2px solid #0b1724;border-radius:.375rem;transition:width .4s ease-in-out;-webkit-transition:width .4s ease-in-out}.search-input[_ngcontent-%COMP%]:focus{width:100%}@media screen and (max-width: 992px){.search-input[_ngcontent-%COMP%]{width:100%}}.search-button[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0;padding:0!important;margin:-1px 0 0 4px!important;border-radius:unset;min-width:32px;line-height:36px!important}.search-button[_ngcontent-%COMP%]:hover, .search-button[_ngcontent-%COMP%]:focus, .search-button[_ngcontent-%COMP%]:active, .search-button.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.search-form[_ngcontent-%COMP%]{flex-grow:.55}"]}),w})()},4668:(Yt,Ze,m)=>{"use strict";m.d(Ze,{S:()=>Bi});var i=m(1135),s=m(5e3),e=m(520);const l=[{group:"naturalElements",title:"Elementos naturales",elements:[{subgroup:"river",title:"R\xedos"},{subgroup:"lake",title:"Lagos y humedales"},{subgroup:"spring",title:"Manantiales"}]},{group:"infrastructure",title:"Infraestructuras",elements:[{subgroup:"dam",title:"Presas, azudes y otros obst\xe1culos"},{subgroup:"reservoir",title:"Embalses"},{subgroup:"raft",title:"Balsas"},{subgroup:"channel",title:"Canal"}]},{group:"monitoringGroundWater",title:"Monitorizaci\xf3n aguas Subterr\xe1neas",elements:[{subgroup:"monitoringProgram",title:"Programas de Seguimiento"},{subgroup:"monitoringStation",title:"Estaciones de Seguimiento"}]},{group:"groundWaterBody",title:"Masas de agua subterr\xe1neas",elements:[{subgroup:"gwb",title:"Masas subterr\xe1neas"}]}];let d=(()=>{class bn{constructor(xi){this.http=xi,this.path="https://4de2e187-8e24-4cf6-96de-fb3def6d5c41.mock.pstmn.io/",this.menuObservable$=new i.X(null)}getMenuItemsByProfile(){this.menuObservable$.next(l)}}return bn.\u0275fac=function(xi){return new(xi||bn)(s.LFG(e.eN))},bn.\u0275prov=s.Yz7({token:bn,factory:bn.\u0275fac,providedIn:"any"}),bn})();var A=m(3932),C=m(3179),T=m(7318);let S=(()=>{class bn{constructor(xi,Ii){this.el=xi,this.renderer2=Ii}onClick(xi){this.el.nativeElement.contains(xi.target)&&this.renderer2[this.el.nativeElement.querySelector(".child-menu-wrapper").classList.contains("d-flex")?"removeClass":"addClass"](this.el.nativeElement.querySelector(".child-menu-wrapper"),"d-flex")}}return bn.\u0275fac=function(xi){return new(xi||bn)(s.Y36(s.SBq),s.Y36(s.Qsj))},bn.\u0275dir=s.lG2({type:bn,selectors:[["","appHideMenuChild",""]],hostBindings:function(xi,Ii){1&xi&&s.NdJ("click",function(Gi){return Ii.onClick(Gi)})}}),bn})();var R=m(4894);const q=["navItem"],w=function(){return["/public/naturalElements/river"]},k=function(){return["/public/naturalElements/lake"]},h=function(){return["/public/naturalElements/spring"]},O=function(){return["/public/infrastructures/dam"]},E=function(){return["/public/infrastructures/reservoir"]},c=function(){return["/public/infrastructures/raft"]},Z=function(){return["/public/infrastructures/channel"]};function v(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16)(14,"li",17)(15,"a",18),s._uU(16),s.ALo(17,"translate"),s.qZA()(),s.TgZ(18,"li",17)(19,"a",18),s._uU(20),s.ALo(21,"translate"),s.qZA()(),s.TgZ(22,"li",17)(23,"a",18),s._uU(24),s.ALo(25,"translate"),s.qZA()()()(),s.TgZ(26,"div",14)(27,"span"),s._uU(28),s.ALo(29,"translate"),s.qZA()(),s.TgZ(30,"div",15)(31,"ul",16)(32,"li",17)(33,"a",18),s._uU(34),s.ALo(35,"translate"),s.qZA()(),s.TgZ(36,"li",17)(37,"a",18),s._uU(38),s.ALo(39,"translate"),s.qZA()(),s.TgZ(40,"li",17)(41,"a",18),s._uU(42),s.ALo(43,"translate"),s.qZA()(),s.TgZ(44,"li",17)(45,"a",18),s._uU(46),s.ALo(47,"translate"),s.qZA()()()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,17,"menu.elementos.0.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,19,"menu.elementos.0.items.0.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(37,w)),s.xp6(1),s.Oqu(s.lcZ(17,21,"menu.elementos.0.items.0.subItems.0.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(38,k)),s.xp6(1),s.Oqu(s.lcZ(21,23,"menu.elementos.0.items.0.subItems.1.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(39,h)),s.xp6(1),s.Oqu(s.lcZ(25,25,"menu.elementos.0.items.0.subItems.2.label")),s.xp6(4),s.Oqu(s.lcZ(29,27,"menu.elementos.0.items.1.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(40,O)),s.xp6(1),s.Oqu(s.lcZ(35,29,"menu.elementos.0.items.1.subItems.0.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(41,E)
1),s.xp6(1),s.Oqu(s.lcZ(39,31,"menu.elementos.0.items.1.subItems.1.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(42,c)),s.xp6(1),s.Oqu(s.lcZ(43,33,"menu.elementos.0.items.1.subItems.2.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(43,Z)),s.xp6(1),s.Oqu(s.lcZ(47,35,"menu.elementos.0.items.1.subItems.3.label")))}const ee=function(){return["/public/surfaceWaterBody/river"]},X=function(){return["/public/surfaceWaterBody/lake"]},te=function(){return["/public/surfaceWaterBody/reservoir"]},_e=function(){return["/public/surfaceWaterBody/channel"]},ne=function(){return["/public/groundWaterBody/gwb"]};function oe(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16)(14,"li",17)(15,"a",18),s._uU(16),s.ALo(17,"translate"),s.qZA()(),s.TgZ(18,"li",17)(19,"a",18),s._uU(20),s.ALo(21,"translate"),s.qZA()(),s.TgZ(22,"li",17)(23,"a",18),s._uU(24),s.ALo(25,"translate"),s.qZA()(),s.TgZ(26,"li",17)(27,"a",18),s._uU(28),s.ALo(29,"translate"),s.qZA()(),s.TgZ(30,"li",17)(31,"a",18),s._uU(32),s.ALo(33,"translate"),s.qZA()()()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,12,"menu.elementos.1.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,14,"menu.elementos.1.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(26,ee)),s.xp6(1),s.Oqu(s.lcZ(17,16,"menu.elementos.1.items.0.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(27,X)),s.xp6(1),s.Oqu(s.lcZ(21,18,"menu.elementos.1.items.1.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(28,te)),s.xp6(1),s.Oqu(s.lcZ(25,20,"menu.elementos.1.items.2.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(29,_e)),s.xp6(1),s.Oqu(s.lcZ(29,22,"menu.elementos.1.items.3.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(30,ne)),s.xp6(1),s.Oqu(s.lcZ(33,24,"menu.elementos.1.items.4.label")))}const he=function(){return["/public/pressures/allowedSpillageCensus"]},Se=function(){return["/public/pressures/waste"]},Be=function(){return["/public/pressures/rainOverflow"]},ot=function(){return["/public/pressures/landfill"]},nt=function(){return["/public/pressures/surfaceContamination"]},xt=function(){return["/public/pressures/groundContamination"]},At=function(){return["/public/pressures/grantingWaterExtraction"]},Qt=function(){return["/public/pressures/obstacles"]};function Vt(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16)(14,"li",17)(15,"a",18),s._uU(16),s.ALo(17,"translate"),s.qZA()(),s.TgZ(18,"li",17)(19,"a",18),s._uU(20),s.ALo(21,"translate"),s.qZA()(),s.TgZ(22,"li",17)(23,"a",18),s._uU(24),s.ALo(25,"translate"),s.qZA()(),s.TgZ(26,"li",17)(27,"a",18),s._uU(28),s.ALo(29,"translate"),s.qZA()(),s.TgZ(30,"li",17)(31,"a",18),s._uU(32),s.ALo(33,"translate"),s.qZA()(),s.TgZ(34,"li",17)(35,"a",18),s._uU(36),s.ALo(37,"translate"),s.qZA()(),s.TgZ(38,"li",17)(39,"a",18),s._uU(40),s.ALo(41,"translate"),s.qZA()(),s.TgZ(42,"li",17)(43,"a",18),s._uU(44),s.ALo(45,"translate"),s.qZA()(),s.TgZ(46,"li",17)(47,"a",18),s._uU(48),s.ALo(49,"translate"),s.qZA()()()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,20,"menu.elementos.2.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,22,"menu.elementos.2.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(42,he)),s.xp6(1),s.Oqu(s.lcZ(17,24,"menu.elementos.2.items.12.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(43,Se)),s.xp6(1),s.Oqu(s.lcZ(21,26,"menu.elementos.2.items.0.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(44,Be)),s.xp6(1),s.Oqu(s.lcZ(25,28,"menu.elementos.2.items.1.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(45,ot)),s.xp6(1),s.Oqu(s.lcZ(29,30,"menu.elementos.2.items.2.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(46,nt)),s.xp6(1),s.Oqu(s.lcZ(33,32,"menu.elementos.2.items.3.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(47,xt)),s.xp6(1),s.Oqu(s.lcZ(37,34,"menu.elementos.2.items.4.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(48,At)),s.xp6(1),s.Oqu(s.lcZ(41,36,"menu.elementos.2.items.6.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(49,O)),s.xp6(1),s.Oqu(s.lcZ(45,38,"menu.elementos.2.items.8.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(50,Qt)),s.xp6(1),s.Oqu(s.lcZ(49,40,"menu.elementos.2.items.9.label")))}const dt=function(){return["/public/uses/nucleus"]},Mt=function(){return["/public/uses/otherSupplies"]},we=function(){return["/public/uses/irrigation"]},me=function(){return["/public/uses/cattleFarm"]},We=function(){return["/public/uses/otherUses"]},re=function(){return["/public/uses/thermalPlants"]},ft=function(){return["/public/uses/hydroelectricPlants"]},Ot=function(){return["/public/uses/industries"]},Et=function(){return["/public/uses/aquaculture"]},Lt=function(){return["/public/uses/recreationalUses"]},It=function(){return["/public/uses/publicUses"]},it=function(){return["/public/uses/privateUses"]};function wt(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16)(14,"li",17)(15,"a",18),s._uU(16),s.ALo(17,"translate"),s.qZA()(),s.TgZ(18,"li",17)(19,"a",18),s._uU(20),s.ALo(21,"translate"),s.qZA()(),s.TgZ(22,"li",17)(23,"a",18),s._uU(24),s.ALo(25,"translate"),s.qZA()(),s.TgZ(26,"li",17)(27,"a",18),s._uU(28),s.ALo(29,"translate"),s.qZA()(),s.TgZ(30,"li",17)(31,"a",18),s._uU(32),s.ALo(33,"translate"),s.qZA()(),s.TgZ(34,"li",17)(35,"a",18),s._uU(36),s.ALo(37,"translate"),s.qZA()(),s.TgZ(38,"li",17)(39,"a",18),s._uU(40),s.ALo(41,"translate"),s.qZA()(),s.TgZ(42,"li",17)(43,"a",18),s._uU(44),s.ALo(45,"translate"),s.qZA()(),s.TgZ(46,"li",17)(47,"a",18),s._uU(48),s.ALo(49,"translate"),s.qZA()(),s.TgZ(50,"li",17)(51,"a",18),s._uU(52),s.ALo(53,"translate"),s.qZA()(),s.TgZ(54,"li",17)(55,"a",18),s._uU(56),s.ALo(57,"translate"),s.qZA()(),s.TgZ(58,"li",17)(59,"a",18),s._uU(60),s.ALo(61,"translate"),s.qZA()()()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,26,"menu.elementos.3.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,28,"menu.elementos.3.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(54,dt)),s.xp6(1),s.Oqu(s.lcZ(17,30,"menu.elementos.3.items.0.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(55,Mt)),s.xp6(1),s.Oqu(s.lcZ(21,32,"menu.elementos.3.items.1.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(56,we)),s.xp6(1),s.Oqu(s.lcZ(25,34,"menu.elementos.3.items.2.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(57,me)),s.xp6(1),s.Oqu(s.lcZ(29,36,"menu.elementos.3.items.3.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(58,We)),s.xp6(1),s.Oqu(s.lcZ(33,38,"menu.elementos.3.items.4.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(59,re)),s.xp6(1),s.Oqu(s.lcZ(37,40,"menu.elementos.3.items.5.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(60,ft)),s.xp6(1),s.Oqu(s.lcZ(41,42,"menu.elementos.3.items.6.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(61,Ot)),s.xp6(1),s.Oqu(s.lcZ(45,44,"menu.elementos.3.items.7.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(62,Et)),s.xp6(1),s.Oqu(s.lcZ(49,46,"menu.elementos.3.items.8.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(63,Lt)),s.xp6(1),s.Oqu(s.lcZ(53,48,"menu.elementos.3.items.9.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(64,It)),s.xp6(1),s.Oqu(s.lcZ(57,50,"menu.elementos.3.items.10.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(65,it)),s.xp6(1),s.Oqu(s.lcZ(61,52,"menu.elementos.3.items.11.label")))}const le=function(){return["/public/demands/exploitationSystems"]};function Ne(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,le)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.4.items.0.label")))}const Ut=function(){return["/public/demands/elementaryLivestockDemands"]};function pn(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Ut)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.4.items.6.label")))}const Dn=function(){return["/public/demands/industryDemands"]};function Mn(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Dn)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.4.items.7.label")))}const rn=function(){return["/public/demands/elementaryIndustryDemands"]};function Ue(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,rn)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.4.items.8.label")))}const Je=function(){return["2"]},De=function(){return["/public/demands/urbanDemands"]},at=function(){return["/public/demands/elementaryUrbanDemands"]},Ve=function(){return["/public/demands/agrarianDemands"]},ge=function(){return["/public/demands/elementaryAgrarianDemands"]},et=function(){return["/public/demands/livestockDemands"]},_t=function(){return["2","4","7","9","11","12"]};function jt(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16),s.YNc(14,Ne,4,5,"li",19),s.TgZ(15,"li",17)(16,"a",18),s._uU(17),s.ALo(18,"translate"),s.qZA()(),s.TgZ(19,"li",17)(20,"a",18),s._uU(21),s.ALo(22,"translate"),s.qZA()(),s.TgZ(23,"li",17)(24,"a",18),s._uU(25),s.ALo(26,"translate"),s.qZA()(),s.TgZ(27,"li",17)(28,"a",18),s._uU(29),s.ALo(30,"translate"),s.qZA()(),s.TgZ(31,"li",17)(32,"a",18),s._uU(33),s.ALo(34,"translate"),s.qZA()(),s.YNc(35,pn,4,5,"li",19),s.YNc(36,Mn,4,5,"li",19),s.YNc(37,Ue,4,5,"li",19),s.qZA()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,16,"menu.elementos.4.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,18,"menu.elementos.4.label")),s.xp6(4),s.Q6J("appHasrole",s.DdM(30,Je)),s.xp6(2),s.Q6J("routerLink",s.DdM(31,De)),s.xp6(1),s.Oqu(s.lcZ(18,20,"menu.elementos.4.items.1.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(32,at)),s.xp6(1),s.Oqu(s.lcZ(22,22,"menu.elementos.4.items.2.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(33,Ve)),s.xp6(1),s.Oqu(s.lcZ(26,24,"menu.elementos.4.items.3.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(34,ge)),s.xp6(1),s.Oqu(s.lcZ(30,26,"menu.elementos.4.items.4.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(35,et)),s.xp6(1),s.Oqu(s.lcZ(34,28,"menu.elementos.4.items.5.label")),s.xp6(2),s.Q6J("appHasrole",s.DdM(36,_t)),s.xp6(1),s.Q6J("appHasrole",s.DdM(37,_t)),s.xp6(1),s.Q6J("appHasrole",s.DdM(38,_t)))}const Xt=function(){return["/public/protectedAreas/surfaceSupplies"]};function Cn(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Xt)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.5.items.0.label")))}const Hn=function(){return["/public/protectedAreas/groundSupplies"]};function Kn(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Hn)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.5.items.1.label")))}const Bn=function(){return["/public/protectedAreas/riverNatureReserves"]};function di(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Bn)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.5.items.9.label")))}const ui=function(){return["/public/protectedAreas/specialProtectionAreas"]};function Di(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,ui)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.5.items.10.label")))}const In=function(){return["3","2","4","7","11","12"]},Fn=function(){return["/public/protectedAreas/fishSections"]},ei=function(){return["/public/protectedAreas/recreationalUseAreas"]},Vi=function(){return["/public/protectedAreas/vulnerableAreas"]},gt=function(){return["/public/protectedAreas/sensitiveAreas"]}
1,He=function(){return["/public/protectedAreas/protectionAreas"]},Oe=function(){return["/public/protectedAreas/mineralWaters"]},pt=function(){return["/public/protectedAreas/wetAreas"]};function Ft(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16),s.YNc(14,Cn,4,5,"li",19),s.YNc(15,Kn,4,5,"li",19),s.TgZ(16,"li",17)(17,"a",18),s._uU(18),s.ALo(19,"translate"),s.qZA()(),s.TgZ(20,"li",17)(21,"a",18),s._uU(22),s.ALo(23,"translate"),s.qZA()(),s.TgZ(24,"li",17)(25,"a",18),s._uU(26),s.ALo(27,"translate"),s.qZA()(),s.TgZ(28,"li",17)(29,"a",18),s._uU(30),s.ALo(31,"translate"),s.qZA()(),s.TgZ(32,"li",17)(33,"a",18),s._uU(34),s.ALo(35,"translate"),s.qZA()(),s.TgZ(36,"li",17)(37,"a",18),s._uU(38),s.ALo(39,"translate"),s.qZA()(),s.TgZ(40,"li",17)(41,"a",18),s._uU(42),s.ALo(43,"translate"),s.qZA()(),s.YNc(44,di,4,5,"li",19),s.YNc(45,Di,4,5,"li",19),s.qZA()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,20,"menu.elementos.5.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,22,"menu.elementos.5.label")),s.xp6(4),s.Q6J("appHasrole",s.DdM(38,In)),s.xp6(1),s.Q6J("appHasrole",s.DdM(39,In)),s.xp6(2),s.Q6J("routerLink",s.DdM(40,Fn)),s.xp6(1),s.Oqu(s.lcZ(19,24,"menu.elementos.5.items.2.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(41,ei)),s.xp6(1),s.Oqu(s.lcZ(23,26,"menu.elementos.5.items.3.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(42,Vi)),s.xp6(1),s.Oqu(s.lcZ(27,28,"menu.elementos.5.items.4.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(43,gt)),s.xp6(1),s.Oqu(s.lcZ(31,30,"menu.elementos.5.items.5.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(44,He)),s.xp6(1),s.Oqu(s.lcZ(35,32,"menu.elementos.5.items.6.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(45,Oe)),s.xp6(1),s.Oqu(s.lcZ(39,34,"menu.elementos.5.items.7.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(46,pt)),s.xp6(1),s.Oqu(s.lcZ(43,36,"menu.elementos.5.items.8.label")),s.xp6(2),s.Q6J("appHasrole",s.DdM(47,In)),s.xp6(1),s.Q6J("appHasrole",s.DdM(48,In)))}const fn=function(){return["/public/monitoringSurfaceWater/monitoringProgram"]},Zn=function(){return["/public/monitoringSurfaceWater/monitoringStation"]},ni=function(){return["/public/monitoringSurfaceWater/samplingPoints"]},ln=function(){return["/public/monitoringGroundWater/monitoringProgram"]},An=function(){return["/public/monitoringGroundWater/monitoringStation"]};function bt(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16)(14,"li",17)(15,"a",18),s._uU(16),s.ALo(17,"translate"),s.qZA()(),s.TgZ(18,"li",17)(19,"a",18),s._uU(20),s.ALo(21,"translate"),s.qZA()(),s.TgZ(22,"li",17)(23,"a",18),s._uU(24),s.ALo(25,"translate"),s.qZA()()()(),s.TgZ(26,"div",14)(27,"span"),s._uU(28),s.ALo(29,"translate"),s.qZA()(),s.TgZ(30,"div",15)(31,"ul",16)(32,"li",17)(33,"a",18),s._uU(34),s.ALo(35,"translate"),s.qZA()(),s.TgZ(36,"li",17)(37,"a",18),s._uU(38),s.ALo(39,"translate"),s.qZA()()()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,13,"menu.elementos.6.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,15,"menu.elementos.6.items.0.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(29,fn)),s.xp6(1),s.Oqu(s.lcZ(17,17,"menu.elementos.6.items.0.subItems.0.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(30,Zn)),s.xp6(1),s.Oqu(s.lcZ(21,19,"menu.elementos.6.items.0.subItems.1.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(31,ni)),s.xp6(1),s.Oqu(s.lcZ(25,21,"menu.elementos.6.items.0.subItems.2.label")),s.xp6(4),s.Oqu(s.lcZ(29,23,"menu.elementos.6.items.1.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(32,ln)),s.xp6(1),s.Oqu(s.lcZ(35,25,"menu.elementos.6.items.1.subItems.0.label")),s.xp6(3),s.Q6J("routerLink",s.DdM(33,An)),s.xp6(1),s.Oqu(s.lcZ(39,27,"menu.elementos.6.items.1.subItems.1.label")))}const Xe=function(){return["/public/measures/contracts"]};function st(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Xe)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.7.items.1.label")))}const ct=function(){return["/public/measures/actuations"]};function $t(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,ct)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.7.items.2.label")))}const un=function(){return["/public/measures/measuresProgram"]},$n=function(){return["3","2","4","7","9","11","12"]};function Qn(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16)(14,"li",17)(15,"a",18),s._uU(16),s.ALo(17,"translate"),s.qZA()(),s.YNc(18,st,4,5,"li",19),s.YNc(19,$t,4,5,"li",19),s.qZA()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,6,"menu.elementos.7.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,8,"menu.elementos.7.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(12,un)),s.xp6(1),s.Oqu(s.lcZ(17,10,"menu.elementos.7.items.0.label")),s.xp6(2),s.Q6J("appHasrole",s.DdM(13,_t)),s.xp6(1),s.Q6J("appHasrole",s.DdM(14,$n)))}function Fi(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16)(14,"li",17)(15,"a",20),s._uU(16),s.ALo(17,"translate"),s.qZA()()()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,3,"menu.elementos.8.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,5,"menu.elementos.8.label")),s.xp6(6),s.Oqu(s.lcZ(17,7,"menu.elementos.8.items.0.label")))}const co=function(){return["/public/exploitation/municipalZoning"]};function uo(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,co)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.9.items.0.label")))}const gi=function(){return["/public/exploitation/reports"]};function bo(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,gi)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.9.items.1.label")))}const to=function(){return["/public/exploitation/pdfDownload"]};function xo(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,to)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.9.items.2.label")))}const Nn=function(){return["/public/exploitation/statistics"]};function fe(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Nn)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.9.items.3.label")))}const Pe=function(){return["2","7","12"]},ye=function(){return["2","4","7","8","9","11","12"]};function Ee(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16),s.YNc(14,uo,4,5,"li",19),s.YNc(15,bo,4,5,"li",19),s.YNc(16,xo,4,5,"li",19),s.YNc(17,fe,4,5,"li",19),s.qZA()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,6,"menu.elementos.9.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,8,"menu.elementos.9.label")),s.xp6(4),s.Q6J("appHasrole",s.DdM(10,Pe)),s.xp6(1),s.Q6J("appHasrole",s.DdM(11,ye)),s.xp6(1),s.Q6J("appHasrole",s.DdM(12,_t)),s.xp6(1),s.Q6J("appHasrole",s.DdM(13,_t)))}const lt=function(){return["/public/management/manageSystem"]};function Y(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16)(14,"li",17)(15,"a",18),s._uU(16),s.ALo(17,"translate"),s.qZA()()()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,4,"menu.elementos.10.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,6,"menu.elementos.10.label")),s.xp6(5),s.Q6J("routerLink",s.DdM(10,lt)),s.xp6(1),s.Oqu(s.lcZ(17,8,"menu.elementos.10.items.0.label")))}const Te=function(){return["/public/validation/validationPending"]};function rt(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Te)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.12.items.0.label")))}const Nt=function(){return["/public/loadFiles/load"]};function Tn(bn,ci){1&bn&&(s.TgZ(0,"li",17)(1,"a",18),s._uU(2),s.ALo(3,"translate"),s.qZA()()),2&bn&&(s.xp6(1),s.Q6J("routerLink",s.DdM(4,Nt)),s.xp6(1),s.Oqu(s.lcZ(3,2,"menu.elementos.12.items.1.label")))}const Ln=function(){return["2","4","7"]};function Si(bn,ci){1&bn&&(s.TgZ(0,"li",8,9)(2,"a",10),s._uU(3),s.ALo(4,"translate"),s.qZA(),s.TgZ(5,"div",11)(6,"div",12)(7,"div",13)(8,"div",14)(9,"span"),s._uU(10),s.ALo(11,"translate"),s.qZA()(),s.TgZ(12,"div",15)(13,"ul",16),s.YNc(14,rt,4,5,"li",19),s.YNc(15,Tn,4,5,"li",19),s.qZA()()()()()()),2&bn&&(s.xp6(3),s.hij("",s.lcZ(4,4,"menu.elementos.12.label")," "),s.xp6(7),s.Oqu(s.lcZ(11,6,"menu.elementos.12.label")),s.xp6(4),s.Q6J("appHasrole",s.DdM(8,Je)),s.xp6(1),s.Q6J("appHasrole",s.DdM(9,Ln)))}const Ti=function(){return["12"]},ho=function(){return["1"]};let zi=(()=>{class bn{constructor(xi){this.renderer2=xi,this.noRol=C.C.perfilCiudadano}ngOnInit(){}ngAfterViewInit(){this.navItem.forEach(xi=>{this.addEvents(xi)}),this.navItem.changes.subscribe(xi=>{xi.forEach(Ii=>{this.addEvents(Ii)})})}addEvents(xi){this.renderer2.listen(xi.nativeElement,"mouseleave",()=>{for(const Ii of xi.nativeElement.querySelectorAll(".child-menu-wrapper"))this.renderer2.removeClass(Ii,"d-flex")})}}return bn.\u0275fac=function(xi){return new(xi||bn)(s.Y36(s.Qsj))},bn.\u0275cmp=s.Xpm({type:bn,selectors:[["app-menu-element"]],viewQuery:function(xi,Ii){if(1&xi&&s.Gf(q,5),2&xi){let Bo;
1s.iGM(Bo=s.CRH())&&(Ii.navItem=Bo)}},inputs:{menuItem:"menuItem"},decls:19,vars:24,consts:[[1,"nav-container","container-fluid"],[1,"navbar","navbar-expand-lg","navbar-light"],[1,"container","ps-1","background"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarScroll","aria-controls","navbarScroll","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarScroll",1,"collapse","navbar-collapse"],[1,"navbar-nav","me-auto","my-2","my-lg-0","navbar-nav-scroll",2,"--bs-scroll-height","100px"],["class","nav-item","appHideMenuChild","",4,"appHasrole"],["appHideMenuChild","",1,"nav-item"],["navItem",""],[1,"nav-link"],[1,"child-menu-wrapper"],[1,"container-fluid-1280"],[1,"child-menu-container"],[1,"section-info"],[1,"section-links"],["role","menu",1,"child-menu"],["id","","role","",1,""],["aria-labelledby","","role","",3,"routerLink"],["class","","id","","role","",4,"appHasrole"],["aria-labelledby","","role","","href","/DMADuero_09/webInformesSequia/sequiaPluviometros.faces"]],template:function(xi,Ii){1&xi&&(s.TgZ(0,"div",0)(1,"nav",1)(2,"div",2)(3,"button",3),s._UZ(4,"span",4),s.qZA(),s.TgZ(5,"div",5)(6,"ul",6),s.YNc(7,v,48,44,"li",7),s.YNc(8,oe,34,31,"li",7),s.YNc(9,Vt,50,51,"li",7),s.YNc(10,wt,62,66,"li",7),s.YNc(11,jt,38,39,"li",7),s.YNc(12,Ft,46,49,"li",7),s.YNc(13,bt,40,34,"li",7),s.YNc(14,Qn,20,15,"li",7),s.YNc(15,Fi,18,9,"li",7),s.YNc(16,Ee,18,14,"li",7),s.YNc(17,Y,18,11,"li",7),s.YNc(18,Si,16,10,"li",7),s.qZA()()()()()),2&xi&&(s.xp6(7),s.Q6J("appHasrole",s.DdM(12,$n)),s.xp6(1),s.Q6J("appHasrole",s.DdM(13,$n)),s.xp6(1),s.Q6J("appHasrole",s.DdM(14,$n)),s.xp6(1),s.Q6J("appHasrole",s.DdM(15,$n)),s.xp6(1),s.Q6J("appHasrole",s.DdM(16,$n)),s.xp6(1),s.Q6J("appHasrole",s.DdM(17,$n)),s.xp6(1),s.Q6J("appHasrole",s.DdM(18,$n)),s.xp6(1),s.Q6J("appHasrole",s.DdM(19,$n)),s.xp6(1),s.Q6J("appHasrole",s.DdM(20,Ti)),s.xp6(1),s.Q6J("appHasrole",s.DdM(21,ye)),s.xp6(1),s.Q6J("appHasrole",s.DdM(22,ho)),s.xp6(1),s.Q6J("appHasrole",s.DdM(23,Ln)))},directives:[T.I,S,A.yS],pipes:[R.X$],styles:["li[_ngcontent-%COMP%]   .child-menu-wrapper[_ngcontent-%COMP%]{position:absolute;display:none;left:-1%;width:102%;padding:20px;box-shadow:inset 0 10px 20px -10px #0000007f,0 10px 10px -10px #0000007f;align-items:center;z-index:1000;background:linear-gradient(140deg,#1c7696 60%,#20b383 100%)}.container-fluid-1280[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:1280px;padding-left:15px;padding-right:15px;width:100%}.background[_ngcontent-%COMP%]{background-color:#fff}li[_ngcontent-%COMP%]   .child-menu-wrapper[_ngcontent-%COMP%]   .child-menu-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:.4fr 1fr;grid-gap:50px;align-items:baseline;padding:20px}.child-menu-container[_ngcontent-%COMP%]{display:-ms-grid;-ms-grid-rows:auto;-ms-grid-columns:.4fr 50px 1fr}.child-menu-container[_ngcontent-%COMP%]   .section-info[_ngcontent-%COMP%]{-ms-grid-row:1;-ms-grid-column:1}li[_ngcontent-%COMP%]   .child-menu-wrapper[_ngcontent-%COMP%]   .child-menu-container[_ngcontent-%COMP%]   .section-info[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#96ecd3;font-size:1.2rem;font-weight:700;margin-bottom:.5rem;display:block}li[_ngcontent-%COMP%]   .child-menu-wrapper[_ngcontent-%COMP%]   .child-menu-container[_ngcontent-%COMP%]   .section-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#fff;line-height:1.5}li[_ngcontent-%COMP%]   .child-menu-wrapper[_ngcontent-%COMP%]   .child-menu-container[_ngcontent-%COMP%]   .section-links[_ngcontent-%COMP%]{display:inline-flex}li[_ngcontent-%COMP%]   .child-menu-wrapper[_ngcontent-%COMP%]   .child-menu-container[_ngcontent-%COMP%]   .child-menu[_ngcontent-%COMP%]{margin-left:50px}.child-menu-container[_ngcontent-%COMP%]   .child-menu[_ngcontent-%COMP%]{-ms-grid-row:1;-ms-grid-column:3}.navbar[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{list-style:none;list-style-image:none}li[_ngcontent-%COMP%]   .child-menu-wrapper[_ngcontent-%COMP%]   .child-menu-container[_ngcontent-%COMP%]   .child-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:30px;padding-left:15px;border-left:2px solid #96ecd3}.modify-pages[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative}li[_ngcontent-%COMP%]   .child-menu-wrapper[_ngcontent-%COMP%]   .child-menu-container[_ngcontent-%COMP%]   .child-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#fff}.navbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .navbar[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:700;text-decoration:none;-webkit-user-select:none;user-select:none}.section-links[_ngcontent-%COMP%]   .child-list[_ngcontent-%COMP%]{display:none}.section-links[_ngcontent-%COMP%]   .child-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   .child-list[_ngcontent-%COMP%], .section-links[_ngcontent-%COMP%]   .child-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus   .child-list[_ngcontent-%COMP%]{display:inline-flex;position:absolute;flex-direction:column}.nav-link[_ngcontent-%COMP%]{color:#000!important;font-weight:500!important;font-size:1.2em!important}@media (min-width: 992px){.navbar-expand-lg[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap}.navbar-expand-lg[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{padding-right:.8rem;padding-left:.8rem}}@media (max-width: 992px){.navbar-light[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{font-size:1rem!important}}"]}),bn})(),Bi=(()=>{class bn{constructor(xi,Ii){this.router=xi,this.navbarservice=Ii,this.menuItemsObservable$=this.navbarservice.menuObservable$.asObservable(),this.navbarservice.getMenuItemsByProfile()}ngOnInit(){}ngOnDestroy(){}}return bn.\u0275fac=function(xi){return new(xi||bn)(s.Y36(A.F0),s.Y36(d))},bn.\u0275cmp=s.Xpm({type:bn,selectors:[["app-navbar"]],features:[s._Bn([d])],decls:4,vars:0,consts:[[1,"container-fluid",2,"background-color","white","position","-webkit-sticky","z-index","988","position","sticky","top","0px","height","2.9em"],[1,"row"],[1,"col-12"]],template:function(xi,Ii){1&xi&&(s.TgZ(0,"div",0)(1,"div",1)(2,"div",2),s._UZ(3,"app-menu-element"),s.qZA()()())},directives:[zi],styles:[".nav-link[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#1c7696}.nav-link[_ngcontent-%COMP%]{white-space:nowrap}"]}),bn})()},5397:(Yt,Ze,m)=>{"use strict";m.d(Ze,{O:()=>e});var i=m(5e3),s=m(773);let e=(()=>{class l{constructor(){}ngOnInit(){}}return l.\u0275fac=function(A){return new(A||l)},l.\u0275cmp=i.Xpm({type:l,selectors:[["app-spinner"]],decls:4,vars:1,consts:[[1,"container","h-100"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"col-auto","p-2"],[3,"diameter"]],template:function(A,C){1&A&&(i.TgZ(0,"div",0)(1,"div",1)(2,"div",2),i._UZ(3,"mat-spinner",3),i.qZA()()()),2&A&&(i.xp6(3),i.Q6J("diameter",75))},directives:[s.Ou],styles:[".mat-spinner circle{stroke:#1c7696!important}"]}),l})()},4486:(Yt,Ze,m)=>{"use strict";m.d(Ze,{m:()=>xo});var i=m(60),s=m(520),e=m(3075),l=m(5e3),d=m(508);let Se=(()=>{class Nn{}return Nn.\u0275fac=function(Pe){return new(Pe||Nn)},Nn.\u0275mod=l.oAB({type:Nn}
1),Nn.\u0275inj=l.cJS({imports:[[d.uc,d.BQ],d.uc,d.BQ]}),Nn})();var ot=m(7322),nt=m(8833),xt=m(4107),At=m(9814),Qt=m(7423),Vt=m(5245),dt=m(4623),Mt=m(2075),me=(m(1777),m(1314)),re=(m(925),m(2411));const Cn={provide:new l.OlP("mat-menu-scroll-strategy"),deps:[me.aV],useFactory:function Xt(Nn){return()=>Nn.scrollStrategies.reposition()}};let ui=(()=>{class Nn{}return Nn.\u0275fac=function(Pe){return new(Pe||Nn)},Nn.\u0275mod=l.oAB({type:Nn}),Nn.\u0275inj=l.cJS({providers:[Cn],imports:[[i.ez,d.BQ,d.si,me.U8],re.ZD,d.BQ]}),Nn})();var Di=m(4847),In=m(6087),Fn=m(5899),ei=m(7446),Vi=m(3251),gt=m(4533),He=m(8966),Oe=m(7238),pt=m(6856),Ft=m(9224),fn=m(773),Zn=m(7579),ni=m(3179),ln=m(4894);let An=(()=>{class Nn{constructor(Pe){this.translate=Pe,this.changes=new Zn.x,this.firstPageLabel=this.translate.instant("paginacionTabla.lblPrimeraPag"),this.itemsPerPageLabel=this.translate.instant("paginacionTabla.lblItemsPag"),this.lastPageLabel=this.translate.instant("paginacionTabla.lblUltimaPag"),this.nextPageLabel=this.translate.instant("paginacionTabla.lblPagSig"),this.previousPageLabel=this.translate.instant("paginacionTabla.lblPagAnt"),this.numberPipe=new i.JJ(this.translate.currentLang)}getRangeLabel(Pe,ye,Ee){if(0===Ee)return this.translate.instant("paginacionTabla.lblPag1de1");const lt=Math.ceil(Ee/ye);return`${this.translate.instant("paginacionTabla.pagina")} ${this.numberPipe.transform(Pe+1,ni.C.numEnt)} \n            ${this.translate.instant("paginacionTabla.de")} ${this.numberPipe.transform(lt,ni.C.numEnt)} - \n            ${this.translate.instant("paginacionTabla.total")} ${this.numberPipe.transform(Ee,ni.C.numEnt)}`}}return Nn.\u0275fac=function(Pe){return new(Pe||Nn)(l.LFG(ln.sK))},Nn.\u0275prov=l.Yz7({token:Nn,factory:Nn.\u0275fac}),Nn})();var bt=m(2638),Xe=m(9287),st=m(149),ct=m(7399);let $t=(()=>{class Nn extends d.LF{getFirstDayOfWeek(){return 1}parse(Pe){if("string"==typeof Pe&&Pe.indexOf("/")>-1){const Ee=Pe.split("/"),lt=Number(Ee[2]),Y=Number(Ee[1])-1,Te=Number(Ee[0]);return new Date(lt,Y,Te)}const ye="number"==typeof Pe?Pe:Date.parse(Pe);return isNaN(ye)?null:new Date(ye)}format(Pe,ye){return Pe=new Date(Date.UTC(Pe.getFullYear(),Pe.getMonth(),Pe.getDate(),Pe.getHours(),Pe.getMinutes(),Pe.getSeconds(),Pe.getMilliseconds())),ye=Object.assign({},ye,{timeZone:"utc"}),new Intl.DateTimeFormat(this.locale,ye).format(Pe).replace(/[\u200e\u200f]/g,"")}}return Nn.\u0275fac=function(){let fe;return function(ye){return(fe||(fe=l.n5z(Nn)))(ye||Nn)}}(),Nn.\u0275prov=l.Yz7({token:Nn,factory:Nn.\u0275fac}),Nn})(),un=(()=>{class Nn{}return Nn.\u0275fac=function(Pe){return new(Pe||Nn)},Nn.\u0275mod=l.oAB({type:Nn}),Nn.\u0275inj=l.cJS({providers:[{provide:In.ye,useClass:An},{provide:d._A,useClass:$t}],imports:[Se,ot.lN,nt.c,xt.LD,At.Fk,Qt.ot,Vt.Ps,dt.ie,Mt.p0,ui,Di.JX,In.TU,Fn.Cv,ei.p9,Vi.Nh,gt.Ky,He.Is,Oe.AV,pt.FA,d.XK,Ft.QW,fn.Cq,bt.SJ,Xe.Iq,st.dp,ct._r]}),Nn})();var $n=m(8759),Qn=m(7663),Fi=m(142),co=m(422),uo=m(2993);let gi=(()=>{class Nn{}return Nn.\u0275fac=function(Pe){return new(Pe||Nn)},Nn.\u0275mod=l.oAB({type:Nn}),Nn.\u0275inj=l.cJS({imports:[$n.b,Qn.S,Fi.w,co.L,uo.f]}),Nn})();var bo=m(3932);let to=(()=>{class Nn{}return Nn.\u0275fac=function(Pe){return new(Pe||Nn)},Nn.\u0275mod=l.oAB({type:Nn}),Nn.\u0275inj=l.cJS({imports:[[i.ez,e.u5,bo.Bz,e.UX,un,gi,ln.aw],e.u5,bo.Bz,e.UX,un,gi]}),Nn})(),xo=(()=>{class Nn{}return Nn.\u0275fac=function(Pe){return new(Pe||Nn)},Nn.\u0275mod=l.oAB({type:Nn}),Nn.\u0275inj=l.cJS({imports:[[i.ez,s.JF,to,ln.aw],i.ez,to,ln.aw]}),Nn})()},7278:(Yt,Ze,m)=>{"use strict";m.d(Ze,{M:()=>s});var i=m(5e3);let s=(()=>{class e{constructor(d){this.el=d,this.fontWeight="500"}ngOnInit(){this.el.nativeElement.style.fontWeight=this.fontWeight}}return e.\u0275fac=function(d){return new(d||e)(i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["","appBold",""]],inputs:{fontWeight:"fontWeight"}}),e})()},8999:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Z:()=>s});var i=m(5e3);let s=(()=>{class e{constructor(d){this.el=d,this.el.nativeElement.style.backgroundColor="#FCD202"}}return e.\u0275fac=function(d){return new(d||e)(i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["","appHighlight",""]]}),e})()},5876:(Yt,Ze,m)=>{"use strict";m.d(Ze,{K:()=>d});class i{constructor(C,T,S){this.mes=C,this.vol=T,this.volConcedido=S}}var s=m(3179),e=m(7470);class l{constructor(C,T,S,R,q){this.mes=C,this.volDemandado=T,this.volSuministrado=S,this.volEstimado=R,this.volConcedido=q}}class d{static prepareDataStackedBarDemandasDatosYEstadisticas(C,T,S,R,q){if(C){let h=1,O=new Set,E=new Map,c=new Map;
1C.forEach(oe=>{let he=null;he=oe.year,null!=he&&(T.add(he),C.forEach(Se=>{Se.year==he&&(O.add(Se.description),c.set(S+": "+Se.description,h),h++,E.set(he.toString()+Se.description,{numCabezas:Se.numeroCabezas,volDemandado:Se.volumenDemandado}))}))});let Z=new Map,v=new Map,ee=new Map,X=new Map,te=d.calculateTotalElemsByAnyo(O,T,E,R);for(let oe of O){let he=[],Se=[],Be=[],ot=[];for(let nt of T){let xt=nt.toString(),At=xt+oe.toString();if(E.has(At)){let Qt=R?E.get(At).numCabezas:E.get(At).volDemandado,Vt=E.get(At).volDemandado,dt=te.get(xt);void 0!==Qt&&void 0!==dt&&(he.push(100*Qt/dt),Se.push(Qt),Be.push(Vt),ot.push({total:dt,escenario:e.c.getStageByYear(Number(xt))}))}else he.push(0),Se.push(0),Be.push(0),ot.push({total:0,escenario:""})}Z.set(oe,he),v.set(oe,Se),ee.set(oe,Be),X.set(oe,ot)}let _e=[],ne=0;for(var[w,k]of v){let oe={type:"bar",label:{etiqueta:S,label:w,values:v.get(w),percentage:Z.get(w),volumenDemandado:ee.get(w),totalElementosYEscenario:X.get(w)},backgroundColor:q?d.getColorListGraphDatosYEstadisticasGanaderas(T,q,ne):d.getColorGraficaDatosYEstadisticas(ne),data:k};ne++,_e.push(oe)}return _e}}static getColorListGraphDatosYEstadisticasGanaderas(C,T,S){let R=[];for(let q of C)R.push(T<q?d.getColorGraficaDatosYEstadisticas(S,!0,"70"):d.getColorGraficaDatosYEstadisticas(S));return R}static getColorGraficaDatosYEstadisticas(C,T,S){let R="";return 0===C&&(R="#FE9929"),1===C?R="#8C96C6":2===C?R="#FCC5C0":3===C?R="#1D91C0":4===C?R="#D9F0A3":5===C&&(R="#7F0000"),T&&(R+=S),R}static calculateTotalElemsByAnyo(C,T,S,R){let q=new Map;for(let w of C)for(let k of T){let h=k.toString(),O=h+w.toString();if(S.has(O)){let E=R?S.get(O).numCabezas:S.get(O).volDemandado;if(void 0!==E)if(q.has(h)){let c=q.get(h);void 0!==c&&q.set(h,c+E)}else q.set(h,E)}}return q}static getExistenVolumenesDemandados(C){return null!=C.volEnero||null!=C.volFebrero||null!=C.volMarzo||null!=C.volAbril||null!=C.volMayo||null!=C.volJunio||null!=C.volJulio||null!=C.volAgosto||null!=C.volSeptiembre||null!=C.volOctubre||null!=C.volNoviembre||null!=C.volDiciembre}static getVolumesByMonth(C,T,S){let R=[];return R.push(new i(T.instant("anyoCompleto.ene"),null==S?{value:C.volEnero,modified:!1,readonly:!0}:{value:S.volEnero,modified:!1,readonly:!0},{value:C.volConcedidoEnero,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.feb"),null==S?{value:C.volFebrero,modified:!1,readonly:!0}:{value:S.volFebrero,modified:!1,readonly:!0},{value:C.volConcedidoFebrero,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.mar"),null==S?{value:C.volMarzo,modified:!1,readonly:!0}:{value:S.volMarzo,modified:!1,readonly:!0},{value:C.volConcedidoMarzo,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.abr"),null==S?{value:C.volAbril,modified:!1,readonly:!0}:{value:S.volAbril,modified:!1,readonly:!0},{value:C.volConcedidoAbril,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.may"),null==S?{value:C.volMayo,modified:!1,readonly:!0}:{value:S.volMayo,modified:!1,readonly:!0},{value:C.volConcedidoMayo,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.jun"),null==S?{value:C.volJunio,modified:!1,readonly:!0}:{value:S.volJunio,modified:!1,readonly:!0},{value:C.volConcedidoJunio,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.jul"),null==S?{value:C.volJulio,modified:!1,readonly:!0}:{value:S.volJulio,modified:!1,readonly:!0},{value:C.volConcedidoJulio,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.ago"),null==S?{value:C.volAgosto,modified:!1,readonly:!0}:{value:S.volAgosto,modified:!1,readonly:!0},{value:C.volConcedidoAgosto,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.sep"),null==S?{value:C.volSeptiembre,modified:!1,readonly:!0}:{value:S.volSeptiembre,modified:!1,readonly:!0},{value:C.volConcedidoSeptiembre,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.oct"),null==S?{value:C.volOctubre,modified:!1,readonly:!0}:{value:S.volOctubre,modified:!1,readonly:!0},{value:C.volConcedidoOctubre,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.nov"),null==S?{value:C.volNoviembre,modified:!1,readonly:!0}:{value:S.volNoviembre,modified:!1,readonly:!0},{value:C.volConcedidoNoviembre,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.dic"),null==S?{value:C.volDiciembre,modified:!1,readonly:!0}:{value:S.volDiciembre,modified:!1,readonly:!0},{value:C.volConcedidoDiciembre,modified:!1,readonly:!0})),R.push(new i(T.instant("anyoCompleto.total"),null==S?{value:C.volTotal,modified:!1,readonly:!0}:{value:S.volTotal,modified:!1,readonly:!0},{value:C.volConcedidoTotal,modified:!1,readonly:!0})),R}static prepareDataBarUelMensual(C,T,S,R){if(C){let q=[],w=[],k=[],h=[],O=[],E=[],c=[],Z=new Set,v=[];for(const X in C)Object.prototype.hasOwnProperty.call(C,X)&&Number(X)>0&&Z.add(Number(X));return Z.forEach(X=>{if(Object.prototype.hasOwnProperty.call(C,X)){let te=C[X];O.push(te.volDemanda),w.push(te.volPac),k.push(te.volTele),h.push(te.volReal),E.push(te.volGanadero),c.push(te.volDetraido),v.push(te.mes.substring(0,3))}}),O.some(X=>null!=X)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualDemandaMedia"),backgroundColor:"#ff6600",data:O,borderColor:"#ff6600",pointStyle:"circle",pointRadius:5,borderWidth:1}),w.some(X=>null!=X)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualDemandaPac"),backgroundColor:"#fcd202",data:w,borderColor:"#fcd202",pointStyle:"circle",pointRadius:5,borderWidth:1}),k.some(X=>null!=X)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualDemandaTele"),backgroundColor:"#b0de09",data:k,borderColor:"#b0de09",pointStyle:"circle",pointRadius:5,borderWidth:1,tooltip:"xxxx"}),R!=s.C.perfilCiudadano&&h.some(X=>null!=X&&0!==X)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualVolumenReal"),backgroundColor:"#c33998",data:h,borderColor:"#c33998",pointStyle:"circle",pointRadius:5,borderWidth:1}),E.some(X=>null!=X)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualVolumenGanaderia"),backgroundColor:"\t#800000",data:E,borderColor:"\t#800000",pointStyle:"circle",pointRadius:5,borderWidth:1,tooltip:"xxxx"}),c.some(X=>null!=X)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualDetraccion"),backgroundColor:"#c0c0c0",data:c,borderColor:"#c0c0c0",pointStyle:"circle",pointRadius:5,borderWidth:1}),{labels:v,datasets:q}}}static prepareDataBarUelMensualStage3(C,T,S,R){if(C){let q=[],w=[],k=[],h=[],O=[],E=new Set,c=[];for(const v in C)Object.prototype.hasOwnProperty.call(C,v)&&Number(v)>0&&E.add(Number(v));
1return E.forEach(v=>{if(Object.prototype.hasOwnProperty.call(C,v)){let ee=C[v];w.push(ee.volDemanda),k.push(ee.volDemandaCC),h.push(ee.volDetraido),O.push(ee.volDetraidoCC),c.push(ee.mes.substring(0,3))}}),w.some(v=>null!=v)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualDemandaMedia"),backgroundColor:"#ffb300",data:w,borderColor:"#ffb300",pointStyle:"circle",pointRadius:5,borderWidth:1}),k.some(v=>null!=v)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualDemandaMediaCC"),backgroundColor:"#ff6600",data:k,borderColor:"#ff6600",pointStyle:"circle",pointRadius:5,borderWidth:1}),h.some(v=>null!=v)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualDetraccion"),backgroundColor:"#c0c0c0",data:h,borderColor:"#c0c0c0",pointStyle:"circle",pointRadius:5,borderWidth:1}),O.some(v=>null!=v)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoMensualDetraccionCC"),backgroundColor:"#130303b7",data:O,borderColor:"#130303b7",pointStyle:"circle",pointRadius:5,borderWidth:1}),{labels:c,datasets:q}}}static prepareDataBarUelAnual(C,T,S,R){if(C){let q=[],w=[],k=[],h=[],O=[],E=[],c=[];const Z=(new Date).getFullYear();let v=new Set,ee=[],X=[];for(const _e in C)Object.prototype.hasOwnProperty.call(C,_e)&&Number(_e)>0&&v.add(Number(_e));return v.forEach(_e=>{if(Object.prototype.hasOwnProperty.call(C,_e)){let ne=C[_e];O.push(ne.volDemanda),w.push(ne.volPac),k.push(ne.volTele),h.push(ne.volReal),c.push(ne.volConcesional),E.push(ne.year<Z?"#ff6600":"#ff660080"),ee.push(ne.year),X.push(null!=ne.tooltip?"Escenario:"+ne.tooltip:"")}}),O.some(_e=>null!=_e)&&q.push({type:"bar",label:{texto:X,etiqueta:S.instant("demandCommon.graficas.repartoAnualDemandaMedia")},backgroundColor:E,data:O,borderColor:"#ff6600",borderWidth:1,order:5}),w.some(_e=>null!=_e)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoAnualDemandaPac"),backgroundColor:"#fcd202",data:w,borderColor:"#fcd202",pointStyle:"circle",pointRadius:5,borderWidth:1,order:4,spanGaps:!0}),k.some(_e=>null!=_e)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoAnualDemandaTele"),backgroundColor:"#b0de09",data:k,borderColor:"#b0de09",pointStyle:"circle",pointRadius:5,borderWidth:1,order:3,spanGaps:!0}),R!=s.C.perfilCiudadano&&h.some(_e=>null!=_e)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoAnualVolumenReal"),backgroundColor:"#c33998",data:h,borderColor:"#c33998",pointStyle:"circle",pointRadius:5,borderWidth:1,order:2,spanGaps:!0}),c.some(_e=>null!=_e&&0!==_e)&&q.push({type:"line",label:S.instant("demandCommon.graficas.repartoAnualVolConcesional"),backgroundColor:"#2a0ccc",data:c,borderColor:"#2a0ccc",pointStyle:"circle",pointRadius:5,borderWidth:1,order:1,spanGaps:!0}),{labels:ee,datasets:q}}}static prepareDataBarUelSuperficie(C,T){if(C){let S=[],R=[],q=[],w=[],k=[],h=[],O=[];const E=(new Date).getFullYear();let c=new Set,Z=[];for(const ee in C)Object.prototype.hasOwnProperty.call(C,ee)&&Number(ee)>0&&c.add(Number(ee));return c.forEach(ee=>{if(Object.prototype.hasOwnProperty.call(C,ee)){let X=C[ee];w.push(X.superficiePH?X.superficiePH:null),R.push(X.superficiePac?X.superficiePac:null),q.push(X.superficieTele?X.superficieTele:null),k.push(X.superficieDerecho?X.superficieDerecho:null),O.push(X.year<E?"#ff6600":"#ff660080"),Z.push(X.year),h.push(null!=X.tooltip?"Escenario:"+X.tooltip:"")}}),w.some(ee=>null!=ee)&&S.push({type:"bar",label:{texto:h,etiqueta:T.instant("demandCommon.graficas.lblsuperficieRegable")},backgroundColor:O,data:w,borderColor:"#ff6600",borderWidth:1,order:4}),R.some(ee=>null!=ee)&&S.push({type:"line",label:T.instant("demandCommon.graficas.lblSuperficieEstimadaPac"),backgroundColor:"#fcd202",data:R,borderColor:"#fcd202",pointStyle:"circle",pointRadius:5,borderWidth:1,order:3,spanGaps:!0}),q.some(ee=>null!=ee)&&S.push({type:"line",label:T.instant("demandCommon.graficas.lblSuperficieEstimadaTele"),backgroundColor:"#b0de09",data:q,borderColor:"#b0de09",pointStyle:"circle",pointRadius:5,borderWidth:1,order:2,spanGaps:!0}),k.some(ee=>null!==ee)&&S.push({type:"line",label:T.instant("demandCommon.graficas.lblSuperficieDerecho"),backgroundColor:"#2a0ccc",data:k,hidden:!1,borderColor:"#2a0ccc",pointStyle:"circle",pointRadius:5,borderWidth:1,order:1,spanGaps:!0}
1),{labels:Z,datasets:S}}}static getUelLayerByOriginAndYearStage(C,T){var S;const R=null===(S=s.C.uelLayersByOrigin.get(C))||void 0===S?void 0:S.find(q=>q.year===T);return e.c.isUndefined(R)?"":R.layer}static getCattleUseLayerByOriginAndYearStage(C,T){var S;const R=null===(S=s.C.livestockDemandsLayersByOrigin.get(C))||void 0===S?void 0:S.find(q=>q.year===T);return e.c.isUndefined(R)?"":R.layer}static getUelViewerData(C,T,S){const R=d.getUelLayerByOriginAndYearStage(C.origenAgua,S||C.escenarioRef);let q=s.C.elementaryAgrarianDemandEntity;return C.origenAgua===s.C.TipoOrigenAgua.SUPERFICIAL?q=s.C.elementaryAgrarianDemandSupEntity:C.origenAgua===s.C.TipoOrigenAgua.SUBTERRANEA_GENERAL?q=s.C.elementaryAgrarianDemandHorGenEntity:C.origenAgua===s.C.TipoOrigenAgua.SUBTERRANEA_SUPERIOR&&(q=s.C.elementaryAgrarianDemandHorSupEntity),{layerId:R,entityName:q,queryParams:e.c.getEntityViewerQueryParams(C.id.toString(),[R],q,T)}}static getAgrarianDemandsLayerByOriginAndYearStage(C,T){var S;const R=null===(S=s.C.agrarianDemandsLayersByOrigin.get(C))||void 0===S?void 0:S.find(q=>q.year===T);return e.c.isUndefined(R)?"":R.layer}static getAgrarianDemandsViewerData(C,T,S){const R=d.getAgrarianDemandsLayerByOriginAndYearStage(C.origenAgua,S||C.escenarioRef);let q=s.C.agrarianDemandEntity;return C.origenAgua===s.C.TipoOrigenAgua.SUPERFICIAL?q=s.C.agrarianDemandSupEntity:C.origenAgua===s.C.TipoOrigenAgua.SUBTERRANEA_GENERAL?q=s.C.agrarianDemandHorGenEntity:C.origenAgua===s.C.TipoOrigenAgua.SUBTERRANEA_SUPERIOR&&(q=s.C.agrarianDemandHorSupEntity),{layerId:R,entityName:q,queryParams:e.c.getEntityViewerQueryParams(C.id.toString(),[R],q,T)}}static buildPieChartConfig(C,T,S,R){return{labels:C,datasets:[{data:S,backgroundColor:R,hoverBackgroundColor:R,tooltip:T}]}}static addTipoCaptacionDesc(C){let T=e.c.isNullorEmpty(C.tipoCaptacion)?"":C.tipoCaptacion;return e.c.isNullorEmpty(C.subtipoDesc)||(T+="\r\n"+C.subtipoDesc),T}static getIntegraAlberca(C){let T="";return e.c.isNullorEmpty(C.codAlberca)||e.c.isNullorEmpty(C.codIntegra)?e.c.isNullorEmpty(C.codAlberca)?e.c.isNullorEmpty(C.codIntegra)||(T=C.codIntegra):T=C.codAlberca:T=C.codIntegra+" / "+C.codAlberca,T}static getUediCaptationStyleColor(C){return C!==s.C.TipoEstadoCaptaciones.CON_CONCESION_DERECHO&&C!==s.C.TipoEstadoCaptaciones.EN_TRAMITE_DERECHO}static getPieChartColorsTramoReguladoSuperficial(C,T){if(T)switch(C){case s.C.TipoOrigenRecurso.REGULADO:return"#98baea";case s.C.TipoOrigenRecurso.NO_REGULADO:return"#7a94e0";default:return"#4651ce"}else switch(C){case s.C.origenAguaUEDU.SUPERFICIAL:return"#AED6F1";case s.C.origenAguaUEDU.SUBTERRANEO:return"#E6B0AA";case s.C.origenAguaUEDU.MIXTO:return"#E8DAEF";default:return"#665251"}}static getVolumesListUediByMonth(C,T){let S=[],R=["anyoCompleto.ene","anyoCompleto.feb","anyoCompleto.mar","anyoCompleto.abr","anyoCompleto.may","anyoCompleto.jun","anyoCompleto.jul","anyoCompleto.ago","anyoCompleto.sep","anyoCompleto.oct","anyoCompleto.nov","anyoCompleto.dic"],q=0,w=C.volumenSuministrado,k=C.volumenConcesional,h=C.volumenEstimado,O=Object.assign({},w);e.c.hasAnyPropertyWithValue(w)||(e.c.hasAnyPropertyWithValue(h)?O=Object.assign({},h):e.c.hasAnyPropertyWithValue(k)&&(O=Object.assign({},k)));for(const E in w){let c=O[E],Z=k[E],v=w[E],ee=h[E];S.push(new l(T.instant(R[q]),c,v,ee,Z)),q++}return S}static prepareDataBarUeduMensual(C,T,S,R,q){if(C){let w=[],k=[],h=[],O=[],E=[],c=[];return null==q||null==q.volEnero&&null==q.volFebrero&&null==q.volMarzo&&null==q.volAbril&&null==q.volMayo&&null==q.volJunio&&null==q.volJulio&&null==q.volAgosto&&null==q.volSeptiembre&&null==q.volOctubre&&null==q.volNoviembre&&null==q.volDiciembre?(O.push(C.volEnero),O.push(C.volFebrero),O.push(C.volMarzo),O.push(C.volAbril),O.push(C.volMayo),O.push(C.volJunio),O.push(C.volJulio),O.push(C.volAgosto),O.push(C.volSeptiembre),O.push(C.volOctubre),O.push(C.volNoviembre),O.push(C.volDiciembre)):(h.push(q.volEnero),h.push(q.volFebrero),h.push(q.volMarzo),h.push(q.volAbril),h.push(q.volMayo),h.push(q.volJunio),h.push(q.volJulio),h.push(q.volAgosto),h.push(q.volSeptiembre),h.push(q.volOctubre),h.push(q.volNoviembre),h.push(q.volDiciembre)),E.push(C.volConcedidoEnero),E.push(C.volConcedidoFebrero),E.push(C.volConcedidoMarzo),E.push(C.volConcedidoAbril),E.push(C.volConcedidoMayo),E.push(C.volConcedidoJunio),E.push(C.volConcedidoJulio),E.push(C.volConcedidoAgosto),E.push(C.volConcedidoSeptiembre),E.push(C.volConcedidoOctubre),E.push(C.volConcedidoNoviembre),E.push(C.volConcedidoDiciembre),c.push("Ene"),c.push("Feb"),c.push("Mar"),c.push("Abr"),c.push("May"),c.push("Jun"),c.push("Jul"),c.push("Ago"),c.push("Sep"),
1c.push("Oct"),c.push("Nov"),c.push("Dic"),O.some(v=>null!=v)&&w.push({type:"line",label:S.instant("demandCommon.graficas.ueduDemandaMedia"),backgroundColor:"#22B14C",data:O,borderColor:"#22B14C",pointStyle:"circle",pointRadius:5,borderWidth:1}),k.some(v=>null!=v)&&w.push({type:"line",label:S.instant("demandCommon.graficas.ueduDemandaMediaPH"),backgroundColor:"#ff6600",data:k,borderColor:"#ff6600",pointStyle:"circle",pointRadius:5,borderWidth:1}),h.some(v=>null!=v)&&w.push({type:"line",label:S.instant("demandCommon.graficas.ueduVolumenReal"),backgroundColor:"#c33998",data:h,borderColor:"#c33998",pointStyle:"circle",pointRadius:5,borderWidth:1,tooltip:"xxxx"}),E.some(v=>null!=v)&&w.push({type:"line",label:S.instant("demandCommon.graficas.ueduVolumenConcesional"),backgroundColor:"#2a0ccc",data:E,borderColor:"#2a0ccc",pointStyle:"circle",pointRadius:5,borderWidth:1,tooltip:"xxxx"}),{labels:c,datasets:w}}}static prepareDataBarUeduAnual(C,T,S,R){if(C){let q=[],w=[],k=[],h=[],O=[],E=[];const c=(new Date).getFullYear();let Z=new Set,v=[],ee=[];for(const te in C)Object.prototype.hasOwnProperty.call(C,te)&&Number(te)>0&&Z.add(Number(te));return Z.forEach(te=>{if(Object.prototype.hasOwnProperty.call(C,te)){let _e=C[te];k.push(_e.volDemanda),w.push(_e.volReal),E.push(_e.volConcesional),h.push(_e.volDemandaPH),O.push(_e.year<c?"#ff6600":"#ff660080"),v.push(_e.year),ee.push(null!=_e.tooltip?"Escenario:"+_e.tooltip:"")}}),k.some(te=>null!=te)&&q.push({type:"line",label:S.instant("demandCommon.graficas.ueduDemandaMedia"),backgroundColor:"#22B14C",data:k,borderColor:"#22B14C",pointStyle:"circle",pointRadius:5,borderWidth:1,order:5}),h.some(te=>null!=te)&&q.push({type:"line",label:S.instant("demandCommon.graficas.ueduDemandaMediaPH"),backgroundColor:O,data:h,borderColor:"#ff6600",pointStyle:"circle",pointRadius:5,borderWidth:1,order:5}),w.some(te=>null!=te)&&q.push({type:"line",label:S.instant("demandCommon.graficas.ueduVolumenReal"),backgroundColor:"#c33998",data:w,borderColor:"#c33998",pointStyle:"circle",pointRadius:5,borderWidth:1,order:2,spanGaps:!0}),E.some(te=>null!=te&&0!==te)&&q.push({type:"line",label:S.instant("demandCommon.graficas.ueduVolumenConcesional"),backgroundColor:"#2a0ccc",data:E,borderColor:"#2a0ccc",pointStyle:"circle",pointRadius:5,borderWidth:1,order:1,spanGaps:!0}),{labels:v,datasets:q}}}static prepareDataBarUediMensual(C,T){if(C){let S=[],R=[],q=[],w=[],k=[],h=[T.instant("anyo.ene"),T.instant("anyo.feb"),T.instant("anyo.mar"),T.instant("anyo.abr"),T.instant("anyo.may"),T.instant("anyo.jun"),T.instant("anyo.jul"),T.instant("anyo.ago"),T.instant("anyo.sep"),T.instant("anyo.oct"),T.instant("anyo.nov"),T.instant("anyo.dic")],O=C.volumenSuministrado,E=Object.assign({},O),c=C.volumenConcesional,Z=C.volumenEstimado;e.c.hasAnyPropertyWithValue(O)||(e.c.hasAnyPropertyWithValue(Z)?E=Object.assign({},Z):e.c.hasAnyPropertyWithValue(c)&&(E=Object.assign({},c)));for(const ne in E)O&&w.push(O[ne]),E&&R.push(E[ne]),c&&q.push(c[ne]),Z&&k.push(Z[ne]);let v=5,ee=1,X="circle",te="line";return e.c.hasAnyPropertyWithValue(R)&&S.push({type:te,label:T.instant("demandCommon.graficas.volumenDemandado"),backgroundColor:"#c33998",data:R,borderColor:"#c33998",pointStyle:X,pointRadius:v,borderWidth:ee,order:1}),e.c.hasAnyPropertyWithValue(w)&&S.push({type:te,label:T.instant("demandCommon.graficas.volumenSuministrado"),backgroundColor:"#22B14C",data:w,borderColor:"#22B14C",pointStyle:X,pointRadius:v,borderWidth:ee,order:2}
1),e.c.hasAnyPropertyWithValue(k)&&S.push({type:te,label:T.instant("demandCommon.graficas.volumenEstimado"),backgroundColor:"#b17822",data:k,borderColor:"#b17822",pointStyle:X,pointRadius:v,borderWidth:ee,order:3}),e.c.hasAnyPropertyWithValue(q)&&S.push({type:te,label:T.instant("demandCommon.graficas.volumenConcesional"),backgroundColor:"#2a0ccc",data:q,borderColor:"#2a0ccc",pointStyle:X,pointRadius:v,borderWidth:ee,order:4}),{labels:h,datasets:S}}}static prepareDataBarUediAnual(C,T){if(C){let S=[],R=[],q=[],w=[],k=[];(new Date).getFullYear();let O=[];C.forEach(X=>{e.c.isNullOrEmptyOrUndefined(X.volSuministrado)?e.c.isNullOrEmptyOrUndefined(X.volEstimado)?e.c.isNullOrEmptyOrUndefined(X.volConcesional)||R.push(X.volConcesional):R.push(X.volEstimado):R.push(X.volSuministrado),w.push(X.volSuministrado),k.push(X.volEstimado),q.push(X.volConcesional),O.push(X.year)});let E=5,c=1,Z="circle",v="line";return e.c.hasAnyPropertyWithValue(R)&&S.push({type:v,label:T.instant("demandCommon.graficas.volumenDemandado"),backgroundColor:"#c33998",data:R,borderColor:"#c33998",pointStyle:Z,pointRadius:E,borderWidth:c,order:1,spanGaps:!0}),e.c.hasAnyPropertyWithValue(w)&&S.push({type:v,label:T.instant("demandCommon.graficas.volumenSuministrado"),backgroundColor:"#22B14C",data:w,borderColor:"#22B14C",pointStyle:Z,pointRadius:E,borderWidth:c,order:2}
1),e.c.hasAnyPropertyWithValue(k)&&S.push({type:v,label:T.instant("demandCommon.graficas.volumenEstimado"),backgroundColor:"#b17822",data:k,borderColor:"#b17822",pointStyle:Z,pointRadius:E,borderWidth:c,order:3,spanGaps:!0}),e.c.hasAnyPropertyWithValue(q)&&S.push({type:v,label:T.instant("demandCommon.graficas.volumenConcesional"),backgroundColor:"#2a0ccc",data:q,borderColor:"#2a0ccc",pointStyle:Z,pointRadius:E,borderWidth:c,order:4,spanGaps:!0}),{labels:O,datasets:S}}}static checkTextGreyInfoConcesionalDemandas(C,T){let S=!1;return C&&T&&(S=T.includes(C)),S}}},1193:(Yt,Ze,m)=>{"use strict";m.d(Ze,{o:()=>l});var i=m(60),s=m(3179),e=m(7470);class l{static transform(A,C,T,S){return l.numberPipe=new i.JJ(S),l.datePipe=new i.uU(S),e.c.isNullorEmpty(A)||isNaN(Number(A))?!e.c.isNullorEmpty(A)&&isNaN(Number(A))&&A.includes("00:00:00.0")&&(A=l.datePipe.transform(A,T)):A=-1!=A.indexOf(".")?l.numberPipe.transform(Number(A),C):l.numberPipe.transform(Number(A),l.numEnt),A}}l.numEnt=s.C.numEnt},3019:(Yt,Ze,m)=>{"use strict";m.d(Ze,{N:()=>l});var i=m(3179),s=m(7470);class e{constructor(A,C,T,S){this.mes=A,this.minimoNormal=C,this.minimoSequia=T,this.maximo=S}}class l{static getEcologicalFlowPropertyPrefixByTableProperty(A){return i.C.ecologicalFlowPropertyPrefixByTableProperty.get(A)}static getEcologicalFlowLabelByPorperty(A,C,T){let S="";return A.includes("normal")?S=`${C.instant(`${T}.normal`)}${A.replace("normal","").toLowerCase()}`:A.includes("sequia")?S=`${C.instant(`${T}.sequia`)}${A.replace("sequia","").toLowerCase()}`:A.includes("maxima")&&(S=`${C.instant(`${T}.maxima`)}${A.replace("maxima","").toLowerCase()}`),S}static getFlowConversionFactorByMonth(A){return s.c.isUndefined(A)||s.c.isNullorEmpty(A)?1:1e6/(86400*i.C.monthDays.get(A))}static getColorsGraficaMasas(A,C,T){let S="";return 0===C?S=this.getColorMasaEstadoGlobal(A,T):1===C?S=this.getColorMasaPotencialEcologico(A,T):2===C&&(S=this.getColorMasaEstadoQuimico(A,T)),S}static getColorMasaEstadoGlobal(A,C){let T="";return T=A.toString()===i.C.condicionesEstilosMasasAguaEstadoGlobal.BUENO?"#c3d2f6":A.toString()===i.C.condicionesEstilosMasasAguaEstadoGlobal.PEOR_QUE_BUENO?"#e15b64":A.toString()===i.C.condicionesEstilosMasasAguaEstadoQuimico.SIN_DATO?"#bbbbbb":C[s.c.getRandomInt(12)],T}static getColorMasaPotencialEcologico(A,C){let T="";return T=A.toString()===i.C.condicionesEstilosMasasAguaEstadoEcologico.BUENO?"#aac66f":A.toString()===i.C.condicionesEstilosMasasAguaEstadoEcologico.MUY_BUENO?"#c3d2f6":A.toString()===i.C.condicionesEstilosMasasAguaEstadoEcologico.MODERADO?"#fdd400":A.toString()===i.C.condicionesEstilosMasasAguaEstadoEcologico.MALO?"#e1000f":A.toString()===i.C.condicionesEstilosMasasAguaEstadoEcologico.DEFICIENTE?"#ff8000":A.toString()===i.C.condicionesEstilosMasasAguaEstadoEcologico.SIN_DATO?"#bbbbbb":A.toString()===i.C.condicionesEstilosMasasAguaEstadoEcologico.NO_SE_PUEDE_VALORAR?"#9E999D":C[s.c.getRandomInt(12)],T}static getColorMasaEstadoQuimico(A,C){let T="";return T=A.toString()===i.C.condicionesEstilosMasasAguaEstadoQuimico.BUENO?"#c3d2f6":A.toString()===i.C.condicionesEstilosMasasAguaEstadoQuimico.NO_ALCANZA_BUENO?"#e15b64":A.toString()===i.C.condicionesEstilosMasasAguaEstadoQuimico.SIN_DATO||A.toString()===i.C.condicionesEstilosMasasAguaEstadoQuimico.NO_SE_PUEDE_VALORAR?"#bbbbbb":C[s.c.getRandomInt(12)],T}static prepareDataStackedBarMasasAguaDatosYEstadisticas(A,C,T,S,R){if(A){let k=new Set,h=new Map,O=new Map;for(const ee in A)if(Object.prototype.hasOwnProperty.call(A,ee)&&Number(ee)>0){T.add(Number(ee));for(let X of A[ee])k.add(X.estado),O.set(R+": "+X.estado,X.codEstado),h.set(ee.toString()+X.estado,X.numero)}let E=new Map,c=new Map,Z=l.calculateTotalElemsByAnyo(k,T,h);for(let ee of k){let X=[],te=[];for(let _e of T){let ne=_e.toString(),oe=ne+ee.toString();if(h.has(oe)){let he=h.get(oe),Se=Z.get(ne);void 0!==he&&void 0!==Se&&(X.push(100*he/Se),te.push(he))}else X.push(0),te.push(0)}E.set(ee,X),c.set(ee,te)}let v=[];for(var[q,w]of E){let ee={type:"bar",label:{etiqueta:R,estado:q,values:c.get(q)},backgroundColor:this.getColorsGraficaMasas(Number(O.get(R+": "+q)),C,S),data:w};if(v.length>0){let X=O.get(R+": "+q),te=v.length;for(let _e=0;_e<te;_e++){let ne=O.get(v[_e].label.etiqueta+": "+v[_e].label.estado);if(Number(X)<Number(ne)){v.splice(_e,0,ee);break}_e+1===te&&v.push(ee)}}else v.push(ee)}return v}}static calculateTotalElemsByAnyo(A,C,T){let S=new Map;for(let R of A)for(let q of C){let w=q.toString(),k=w+R.toString();if(T.has(k)){let h=T.get(k);if(void 0!==h)if(S.has(w)){let O=S.get(w);void 0!==O&&S.set(w,O+h)}else S.set(w,h)}}return S}static getEcologicalFlowsByMonth(A,C,T=i.C.swbRiverCeaseValue){let S=[];return S.push(new e(C.instant("anyoCompleto.oct"),{value:A.normalOctubre,modified:A.modNormalOctubre,readonly:A.normalOctubre==T},{value:A.sequiaOctubre,modified:A.modSequiaOctubre,readonly:A.sequiaOctubre==T},{value:A.maximaOctubre,modified:A.modMaximaOctubre,readonly:A.maximaOctubre==T})),S.push(new e(C.instant("anyoCompleto.nov"),{value:A.normalNoviembre,modified:A.modNormalNoviembre,readonly:A.normalNoviembre==T},{value:A.sequiaNoviembre,modified:A.modSequiaNoviembre,readonly:A.sequiaNoviembre==T},{value:A.maximaNoviembre,modified:A.modMaximaNoviembre,readonly:A.maximaNoviembre==T})),S.push(new e(C.instant("anyoCompleto.dic"),{value:A.normalDiciembre,modified:A.modNormalDiciembre,readonly:A.normalDiciembre==T},{value:A.sequiaDiciembre,modified:A.modSequiaDiciembre,readonly:A.sequiaDiciembre==T},{value:A.maximaDiciembre,modified:A.modMaximaDiciembre,readonly:A.maximaDiciembre==T})),S.push(new e(C.instant("anyoCompleto.ene"),{value:A.normalEnero,modified:A.modNormalEnero,readonly:A.normalEnero==T},{value:A.sequiaEnero,modified:A.modSequiaEnero,readonly:A.sequiaEnero==T},{value:A.maximaEnero,modified:A.modMaximaEnero,readonly:A.maximaEnero==T})),S.push(new e(C.instant("anyoCompleto.feb"),{value:A.normalFebrero,modified:A.modNormalFebrero,readonly:A.normalFebrero==T},{value:A.sequiaFebrero,modified:A.modSequiaFebrero,readonly:A.sequiaFebrero==T},{value:A.maximaFebrero,modified:A.modMaximaFebrero,readonly:A.maximaFebrero==T})),S.push(new e(C.instant("anyoCompleto.mar"),{value:A.normalMarzo,modified:A.modNormalMarzo,readonly:A.normalMarzo==T},{value:A.sequiaMarzo,modified:A.modSequiaMarzo,readonly:A.sequiaMarzo==T},{value:A.maximaMarzo,modified:A.modMaximaMarzo,readonly:A.maximaMarzo==T})),S.push(new e(C.instant("anyoCompleto.abr"),{value:A.normalAbril,modified:A.modNormalAbril,readonly:A.normalAbril==T},{value:A.sequiaAbril,modified:A.modSequiaAbril,readonly:A.sequiaAbril==T},{value:A.maximaAbril,modified:A.modMaximaAbril,readonly:A.maximaAbril==T})),S.push(new e(C.instant("anyoCompleto.may"),{value:A.normalMayo,modified:A.modNormalMayo,readonly:A.normalMayo==T},{value:A.sequiaMayo,modified:A.modSequiaMayo,readonly:A.sequiaMayo==T},{value:A.maximaMayo,modified:A.modMaximaMayo,readonly:A.maximaMayo==T})),S.push(new e(C.instant("anyoCompleto.jun"),{value:A.normalJunio,modified:A.modNormalJunio,readonly:A.normalJunio==T},{value:A.sequiaJunio,modified:A.modSequiaJunio,readonly:A.sequiaJunio==T},{value:A.maximaJunio,modified:A.modMaximaJunio,readonly:A.maximaJunio==T})),S.push(new e(C.instant("anyoCompleto.jul"),{value:A.normalJulio,modified:A.modNormalJulio,readonly:A.normalJulio==T},{value:A.sequiaJulio,modified:A.modSequiaJulio,readonly:A.sequiaJulio==T},{value:A.maximaJulio,modified:A.modMaximaJulio,readonly:A.maximaJulio==T})),S.push(new e(C.instant("anyoCompleto.ago"),{value:A.normalAgosto,modified:A.modNormalAgosto,readonly:A.normalAgosto==T},{value:A.sequiaAgosto,modified:A.modSequiaAgosto,readonly:A.sequiaAgosto==T},{value:A.maximaAgosto,modified:A.modMaximaAgosto,readonly:A.maximaAgosto==T})),S.push(new e(C.instant("anyoCompleto.sep"),{value:A.normalSeptiembre,modified:A.modNormalSeptiembre,readonly:A.normalSeptiembre==T},{value:A.sequiaSeptiembre,modified:A.modSequiaSeptiembre,readonly:A.sequiaSeptiembre==T},{value:A.maximaSeptiembre,modified:A.modMaximaSeptiembre,readonly:A.maximaSeptiembre==T})),S}static getVertexGrade(A,C,T=!1){let S="",R=T?.3:3,q=T?.6:6,w=T?.9:9;return A<R&&(S=C.instant("gradoAfeccion.lblAlto")),A>=R&&A<q&&(S=C.instant("gradoAfeccion.lblModerado")),A>=q&&A<w&&(S=C.instant("gradoAfeccion.lblBajo")),A>=w&&(S=C.instant("gradoAfeccion.lblMuyBajo")),S}static getVertexGradeTooltip(A,C,T){let S="",R=T?.3:3,q=T?.6:6,w=T?.9:9;return A<R&&(S=C.instant(T?"gradoAfeccion.tltipAltoDetalle":"gradoAfeccion.tltipAlto")),A>=R&&A<q&&(S=C.instant(T?"gradoAfeccion.tltipModeradoDetalle":"gradoAfeccion.tltipModerado")),A>=q&&A<w&&(S=C.instant(T?"gradoAfeccion.tltipBajoDetalle":"gradoAfeccion.tltipBajo")),A>=w&&(S=C.instant(T?"gradoAfeccion.tltipMuyBajoDetalle":"gradoAfeccion.tltipMuyBajo")),S}static getVertexColor(A,C=!1){let T="",S=C?.3:3,R=C?.6:6,q=C?.9:9;return A<S&&(T="red"),A>
1=S&&A<R&&(T="orange"),A>=R&&A<q&&(T="limegreen"),A>=q&&(T="green"),T}static orderStateListsByCodEstado(A){let C="codEstado";s.c.isUndefined(A.estadoEcologico)||(A.estadoEcologico=s.c.orderListByProperty(A.estadoEcologico,C)),s.c.isUndefined(A.listIndicadorBio)||(A.listIndicadorBio=s.c.orderListByProperty(A.listIndicadorBio,C)),s.c.isUndefined(A.listIndicadorFisico)||(A.listIndicadorFisico=s.c.orderListByProperty(A.listIndicadorFisico,C)),s.c.isUndefined(A.listIndicadorHydro)||(A.listIndicadorHydro=s.c.orderListByProperty(A.listIndicadorHydro,C)),s.c.isUndefined(A.estadoGlobal)||(A.estadoGlobal=s.c.orderListByProperty(A.estadoGlobal,C)),s.c.isUndefined(A.estadoQuimico)||(A.estadoQuimico=s.c.orderListByProperty(A.estadoQuimico,C))}static calculateValueMasaAgua(A,C,T,S){let R="";return void 0!==A&&void 0!==A[T]&&(R=1===A[T]?"<":"",null!==A[C]&&(R+=S.transform(A[C],i.C.numRed8Dec))),R}static prepareDataConcentracionMasaAgua(A,C,T){if(A[C]){let S=s.c.substringByChar(A[C].toString(),"<");A[T]=S.length!==A[C].toString().length?1:0,A[C]=s.c.convertFormattedNumber(S)}}static checkIndicadorIdEcoElements(A,C){let T=!1;return i.C.channelEntity===C||i.C.swbRiverEntity===C||i.C.swbLakeEntity===C?(A>=50&&A<=65||A===i.C.elementosEcologicosMasasAgua.GLIFOSATO||A===i.C.elementosEcologicosMasasAgua.AMPA)&&(T=!0):i.C.swbReservoirEntity===C&&(A>=50&&A<=65||A===i.C.elementosEcologicosMasasAgua.GLIFOSATO||A===i.C.elementosEcologicosMasasAgua.AMPA||A===i.C.elementosEcologicosMasasAgua.COBERTURA_TOTAL_HELOFITOS||A===i.C.elementosEcologicosMasasAgua.COBERTURA_TOTAL_HIDROFITOS)&&(T=!0),T}static getColorGraficaEstadoRio(A,C){let T="";return T=1===A?C?"#3f48be":"#c3d2f6":2===A?"#bbbbbb":C?"#e60080":"#e15b64",T}static getColorGraficaEstado(A){let C="";return C=1===A?"#c3d2f6":2===A?"#bbbbbb":"#e15b64",C}static getFormatDates(A,C,T){let S="";return A&&C?S=T.transform(A,i.C.shortDateDashFormat)+" / "+T.transform(C,i.C.shortDateDashFormat):A?S=T.transform(A,i.C.shortDateDashFormat):C&&(S=T.transform(C,i.C.shortDateDashFormat)),S}static getLabelsPotencialEcologicoRios(A,C){let T=[];return A===i.C.masaAguaRioNaturaleza.MUY_MODIFICADA||A===i.C.masaAguaRioNaturaleza.MUY_MODIFICADA_EN_ESTUDIO?(T.push(C.instant("surfacewaterbodyriver.fichaTecnica.lblPotencialEcologico")),T.push(C.instant("surfacewaterbodyriver.fichaTecnica.lblPotencialEcologicoMasa"))):(T.push(C.instant("surfacewaterbodyriver.fichaTecnica.lblEstadoEcologico")),T.push(C.instant("surfacewaterbodyriver.fichaTecnica.lblEstadoEcologicoMasa"))),T.push(C.instant(A===i.C.masaAguaRioNaturaleza.NATURAL?"surfacewaterbodyriver.fichaTecnica.lblAsignacionDefinitivaEstadoEcologico":"surfacewaterbodyriver.fichaTecnica.lblAsignacionDefinitivaPotencialEcologico")),T}static prepareEcologicalStateGraphicData(A,C,T,S){if(void 0!==A&&!s.c.isNullOrEmptyOrUndefined(A)){let R=null,q=[];A.forEach(w=>{s.c.isNullOrEmptyOrUndefined(R)&&(R=w.condicionReferencia);let k=!0,h=w.tipoEstado,O=w.tipoEstadoDesc,E=w.limiteBajo,c=w.incluirLimiteBajo,Z=w.limiteAlto,v=w.incluirLimiteAlto;s.c.isNullOrEmptyOrUndefined(E)&&(E=0),s.c.isNullOrEmptyOrUndefined(Z)&&(Z=E+10,k=!1);let ee="";s.c.isNullOrEmptyOrUndefined(h)||h.toString()!==i.C.condicionesEstilosMasasAguaEstadoEcologico.MALO?s.c.isNullOrEmptyOrUndefined(h)||h.toString()!==i.C.condicionesEstilosMasasAguaEstadoEcologico.DEFICIENTE?s.c.isNullOrEmptyOrUndefined(h)||h.toString()!==i.C.condicionesEstilosMasasAguaEstadoEcologico.MODERADO?s.c.isNullOrEmptyOrUndefined(h)||h.toString()!==i.C.condicionesEstilosMasasAguaEstadoEcologico.BUENO?!s.c.isNullOrEmptyOrUndefined(h)&&h.toString()===i.C.condicionesEstilosMasasAguaEstadoEcologico.MUY_BUENO&&(ee="#5e88e8"):ee="#aac66f":ee="#fdd400":ee="#ff8000":ee="#e15b64",s.c.isNullOrEmptyOrUndefined(ee)||this.addGraphicEcoStateData(q,O,[[E,Z]],c,v,ee,k),ee=""}),C&&q.unshift({type:"line",label:S.instant("surfaceWaterBodyCommon.graficas.valor"),backgroundColor:"#212F3D",data:[C],showLine:!1,pointRadius:10,pointStyle:"rectRot"}),R&&q.unshift({type:"line",label:S.instant("surfaceWaterBodyCommon.graficas.condicionReferencia"),backgroundColor:"#ffea01",borderColor:"#ffea01",data:[R],showLine:!1,borderWidth:5,pointStyle:"star",radius:10}),T={labels:[" "],datasets:q}}return T}static addGraphicEcoStateData(A,C,T,S,R,q,w){A.push({type:"bar",label:{texto:C,incluyeLimiteBajo:S,incluyeLimiteAlto:R,ponerMaximo:w},backgroundColor:q,data:T,axis:"x",fill:!0,stack:"Stack 0"})}static checkStateOperation(A){let C=s.c.isNullOrEmptyOrUndefined(A)?-1:Number(A);return-1!==C&&(C===i.C.operacion.OPERACION_ESTADOS_FINAL_MASAS_AGUA||C===i.C.operacion.OPERACION_ESTADOS_POTENCIAL_ECO_MASAS_AGUA||C===i.C.operacion.OPERACION_ESTADOS_ESTADO_QUIMICO_MASAS_AGUA||C===i.C.operacion.OPERACION_PARAMETROS_ECOLOGICOS_MASA
1S_AGUA||C===i.C.operacion.OPERACION_PARAMETROS_QUIMICOS_MASAS_AGUA)}}},8226:(Yt,Ze,m)=>{"use strict";m.d(Ze,{_:()=>l});var i=m(4354),s=m(3179),e=m(7470);class l{static getVolumesByMonth(A,C,T=s.C.swbRiverCeaseValue){let S=[];return S.push(new i.x(C.instant("anyoCompleto.ene"),{value:A.volSolicitadoEnero,modified:A.modVolSolicitadoEnero,readonly:A.volSolicitadoEnero==T},{value:A.volCompatibleEnero,modified:A.modVolCompatibleEnero,readonly:A.volCompatibleEnero==T})),S.push(new i.x(C.instant("anyoCompleto.feb"),{value:A.volSolicitadoFebrero,modified:A.modVolSolicitadoFebrero,readonly:A.volSolicitadoFebrero==T},{value:A.volCompatibleFebrero,modified:A.modVolCompatibleFebrero,readonly:A.volCompatibleFebrero==T})),S.push(new i.x(C.instant("anyoCompleto.mar"),{value:A.volSolicitadoMarzo,modified:A.modVolSolicitadoMarzo,readonly:A.volSolicitadoMarzo==T},{value:A.volCompatibleMarzo,modified:A.modVolCompatibleMarzo,readonly:A.volCompatibleMarzo==T})),S.push(new i.x(C.instant("anyoCompleto.abr"),{value:A.volSolicitadoAbril,modified:A.modVolSolicitadoAbril,readonly:A.volSolicitadoAbril==T},{value:A.volCompatibleAbril,modified:A.modVolCompatibleAbril,readonly:A.volCompatibleAbril==T})),S.push(new i.x(C.instant("anyoCompleto.may"),{value:A.volSolicitadoMayo,modified:A.modVolSolicitadoMayo,readonly:A.volSolicitadoMayo==T},{value:A.volCompatibleMayo,modified:A.modVolCompatibleMayo,readonly:A.volCompatibleMayo==T})),S.push(new i.x(C.instant("anyoCompleto.jun"),{value:A.volSolicitadoJunio,modified:A.modVolSolicitadoJunio,readonly:A.volSolicitadoJunio==T},{value:A.volCompatibleJunio,modified:A.modVolCompatibleJunio,readonly:A.volCompatibleJunio==T})),S.push(new i.x(C.instant("anyoCompleto.jul"),{value:A.volSolicitadoJulio,modified:A.modVolSolicitadoJulio,readonly:A.volSolicitadoJulio==T},{value:A.volCompatibleJulio,modified:A.modVolCompatibleJulio,readonly:A.volCompatibleJulio==T})),S.push(new i.x(C.instant("anyoCompleto.ago"),{value:A.volSolicitadoAgosto,modified:A.modVolSolicitadoAgosto,readonly:A.volSolicitadoAgosto==T},{value:A.volCompatibleAgosto,modified:A.modVolCompatibleAgosto,readonly:A.volCompatibleAgosto==T})),S.push(new i.x(C.instant("anyoCompleto.sep"),{value:A.volSolicitadoSeptiembre,modified:A.modVolSolicitadoSeptiembre,readonly:A.volSolicitadoSeptiembre==T},{value:A.volCompatibleSeptiembre,modified:A.modVolCompatibleSeptiembre,readonly:A.volCompatibleSeptiembre==T})),S.push(new i.x(C.instant("anyoCompleto.oct"),{value:A.volSolicitadoOctubre,modified:A.modVolSolicitadoOctubre,readonly:A.volSolicitadoOctubre==T},{value:A.volCompatibleOctubre,modified:A.modVolCompatibleOctubre,readonly:A.volCompatibleOctubre==T})),S.push(new i.x(C.instant("anyoCompleto.nov"),{value:A.volSolicitadoNoviembre,modified:A.modVolSolicitadoNoviembre,readonly:A.volSolicitadoNoviembre==T},{value:A.volCompatibleNoviembre,modified:A.modVolCompatibleNoviembre,readonly:A.volCompatibleNoviembre==T})),S.push(new i.x(C.instant("anyoCompleto.dic"),{value:A.volSolicitadoDiciembre,modified:A.modVolSolicitadoDiciembre,readonly:A.volSolicitadoDiciembre==T},{value:A.volCompatibleDiciembre,modified:A.modVolCompatibleDiciembre,readonly:A.volCompatibleDiciembre==T})),S.push(new i.x(C.instant("anyoCompleto.total"),{value:A.volSolicitadoTotal,modified:A.modVolSolicitadoTotal,readonly:!0},{value:A.volCompatibleTotal,modified:A.modVolCompatibleTotal,readonly:!0})),S}static getVolumesLabelByPorperty(A,C,T){let S="";return A.includes("Solicitado")&&(S=`${C.instant(`${T}.volSolicitado`)}${A.replace("volSolicitado","").toLowerCase()}`),S}static getTotalSolicitado(A){let C=0;return C=Number(C)+(null!=A.volSolicitadoEnero?A.volSolicitadoEnero:0),C=Number(C)+(null!=A.volSolicitadoFebrero?A.volSolicitadoFebrero:0),C=Number(C)+(null!=A.volSolicitadoMarzo?A.volSolicitadoMarzo:0),C=Number(C)+(null!=A.volSolicitadoAbril?A.volSolicitadoAbril:0),C=Number(C)+(null!=A.volSolicitadoMayo?A.volSolicitadoMayo:0),C=Number(C)+(null!=A.volSolicitadoJunio?A.volSolicitadoJunio:0),C=Number(C)+(null!=A.volSolicitadoJulio?A.volSolicitadoJulio:0),C=Number(C)+(null!=A.volSolicitadoAgosto?A.volSolicitadoAgosto:0),C=Number(C)+(null!=A.volSolicitadoSeptiembre?A.volSolicitadoSeptiembre:0),C=Number(C)+(null!=A.volSolicitadoOctubre?A.volSolicitadoOctubre:0),C=Number(C)+(null!=A.volSolicitadoNoviembre?A.volSolicitadoNoviembre:0),C=Number(C)+(null!=A.volSolicitadoDiciembre?A.volSolicitadoDiciembre:0),C}static esInfraestructura(A){let C=!1;return(A===s.C.waterbodyTypeUses.BALSA||A===s.C.waterbodyTypeUses.CANAL||A===s.C.waterbodyTypeUses.EMBALSE)&&(C=!0),C}static addUrlMapVisorCaptions(A,C,T){if(null!=A){let S="./viewer/",R=C.instant("useCommon.fichaTecnica.superficial"),q=C.instant("useCommon.fichaTecnica.subterranea");for(const w of A)w.urlVisor=w.tipoCaptacion===q&&T?S+s.C.grantingWaterExtractSubEntity:w.tipoCaptacion===R&&T?S+s.C.grantingWaterExtractSupEntity:w.tipoCaptacion!==R||T?w.tipoCaptacion!==q||T?S+s.C.grantingWaterExtractEntity:S+s.C.grantingWaterExtractSubCiudadanoEntity:S+s.C.grantingWaterExtractSupCiudadanoEntity}}static addUrlMapVisorCaptionsById(A){if(null!=A){let C="./viewer/";
1for(const T of A)T.urlVisor=T.tipoCaptacionId===s.C.TipoExtraccion.SUBTERRANEA?C+s.C.grantingWaterExtractSubEntity:T.tipoCaptacionId===s.C.TipoExtraccion.SUPERFICIAL?C+s.C.grantingWaterExtractSupEntity:C+s.C.grantingWaterExtractEntity}}static addUrlMapVisorCaptionsConcesional(A,C){if(null!=A){let T="./viewer/",S=C.instant("useCommon.fichaTecnica.superficial"),R=C.instant("useCommon.fichaTecnica.subterranea");for(const q of A)q.urlVisor=q.tipoCaptacion===R?T+s.C.grantingWaterExtractSubConcesionalEntity:q.tipoCaptacion===S?T+s.C.grantingWaterExtractSupConcesionalEntity:T+s.C.grantingWaterExtractEntity}}static prepareDataStackedBarNucleosTecnico(A,C){if(A){let T=[];return T.push({type:"bar",label:C.instant("useCommon.fichaTecnica.poblacion"),backgroundColor:"#FF6600",data:A.map(R=>R.poblacionPermanente)}),T.push({type:"bar",label:C.instant("useCommon.fichaTecnica.poblacionEstacional"),backgroundColor:"#FCD202",data:A.map(R=>R.poblacionEstacional)}),{labels:A.map(R=>R.anyo),datasets:T}}}static prepareDataBarNucleosConsumoDemanda(A,C,T){if(A){let S=[],R=[],q=[],w=[],k=new Set;for(const O in A)Object.prototype.hasOwnProperty.call(A,O)&&k.add(Number(O));return k.forEach(O=>{if(Object.prototype.hasOwnProperty.call(A,O)){let E=A[O];R.push(E.volConcesional?E.volConcesional:null),q.push(E.volTeorico?E.volTeorico:null),w.push(E.volReal?E.volReal:null)}}),S.push({type:"line",label:C.instant("nucleus.data.graficas.consumos.lblDemandaConcesional"),backgroundColor:"#2a0ccc",borderColor:"#2a0ccc",data:R}),S.push({type:"bar",label:C.instant("nucleus.data.graficas.consumos.lblDemandaEstimadaTeorica"),backgroundColor:"#ff6600",data:q}),T||S.push({type:"bar",label:C.instant("nucleus.data.graficas.consumos.lblDemandaReal"),backgroundColor:"#c33998",data:w}),{labels:Array.from(k),datasets:S}}}static prepareDataBarNucleosConsumoReparto(A,C,T){if(A){let S=[],R=[],q=new Set,w=[];for(const O in A)Object.prototype.hasOwnProperty.call(A,O)&&Number(O)>0&&q.add(Number(O));q.forEach(O=>{if(Object.prototype.hasOwnProperty.call(A,O)){let E=A[O];R.push(E.volume?E.volume:null),w.push(E.mes.substring(0,3))}});let k=this.getColorYLabelGraficaReparto(C,T);return S.push({type:"line",label:k.label,backgroundColor:k.color,data:R,borderColor:k.color,pointStyle:"circle",pointRadius:5}),{labels:w,datasets:S}}}static getColorYLabelGraficaReparto(A,C){let T="",S="";switch(A){case s.C.TipoUDU.VOLUMEN_CONCESIONAL:T="#2a0ccc",S=C.instant("nucleus.data.graficas.consumos.lblDemandaConcesional");break;case s.C.TipoUDU.VOLUMEN_REAL:T="#c33998",S=C.instant("nucleus.data.graficas.consumos.lblDemandaReal");break;case s.C.TipoUDU.VOLUMEN_TEORICO:T="#ff6600",S=C.instant("nucleus.data.graficas.consumos.lblDemandaEstimadaTeorica");break;case s.C.TipoUDU.SIN_CATALOGAR:T="#000000",S=C.instant("nucleus.data.graficas.consumos.lblSinCatalogar")}return{color:T,label:S}}static getIrrigationViewerData(A,C){const T=s.C.irrigationLayerByState.get(A.idEstado)||"";let S=s.C.irrigationEntity;return S=A.idEstado===s.C.TipoEstadoRegadio.SIN_CONCESION_DERECHO?s.C.irrigationOldEntity:A.idEstado===s.C.TipoEstadoRegadio.EN_TRAMITE_DERECHO?s.C.irrigationTramEntity:A.idEstado===s.C.TipoEstadoRegadio.ANTIGUO_DERECHO_FUERA_SERVICIO?s.C.irrigationOldEntity:A.idEstado===s.C.TipoEstadoRegadio.DERIVACION_TEMPORAL?s.C.irrigationTramEntity:A.idEstado===s.C.TipoEstadoRegadio.DESCONOCIDO||A.idEstado===s.C.TipoEstadoRegadio.SIN_CATALOGAR?s.C.irrigationNoClasEntity:s.C.irrigationConEntity,{layerId:T,entityName:S,queryParams:e.c.getEntityViewerQueryParams(A.id.toString(),[T],S,C)}}static addTipoCaptacionDesc(A){let C=e.c.getCadenaCheckNull(A.tipoCaptacion);return e.c.isNullorEmpty(A.subtipoDesc)||(C+="\r\n"+A.subtipoDesc),C}static getIntegraAlbercaCaptacion(A){let C="";return null!==A.codAlbeca&&null!==A.codIntegra?C=A.codIntegra+" / "+A.codAlbeca:null!==A.codAlbeca?C=A.codAlbeca:null!==A.codIntegra&&(C=A.codIntegra.toString()),C}static getStyleColorCaptaciones(A){return A===s.C.condicionesEstilosEstadoExtracciones.FUERA_SERVICIO||A===s.C.condicionesEstilosEstadoExtracciones.INCOMPATIBLE_SIN_CONCESION}}},7470:(Yt,Ze,m)=>{"use strict";m.d(Ze,{c:()=>l});class i{constructor(A){this.r=parseInt(A.slice(1,3),16),this.g=parseInt(A.slice(3,5),16),this.b=parseInt(A.slice(5,7),16)}toHex(){return`#${this.componentToHex(this.r)}${this.componentToHex(this.g)}${this.componentToHex(this.b)}`}componentToHex(A){const C=A.toString(16);return 1===C.length?"0"+C:C}}var s=m(3179),e=m(2170);let l=(()=>{class d{static isNullorEmpty(C){return!(null!==C&&""!==C)}static isNullOrEmptyOrUndefined(C){return this.isNullorEmpty(C)||this.isUndefined(C)}static isUndefined(C){return void 0===C}static stringToBoolean(C){return"true"===C.toLowerCase()}static roundDecimal(C,T){const S=10**T;return Math.round(C*S)/S}static capitalizeFirstLetter(C){return C.charAt(0).toUpperCase()+C.slice(1)}static compareObjects(C,T){if(typeof T==typeof C){for(const S in C)C[S]===T[S]&&delete T[S];return T}}static flatEditTableObjectValues(C){return C.map(T=>{for(const S in T)d.isObject(T[S])&&(T[S]=T[S].value)}
1),C}static toArrayBuffer(C){let T=window.atob(C),S=T.length,R=new Uint8Array(S);for(let q=0;q<S;q++){let w=T.charCodeAt(q);R[q]=w}return R}static orderExplotationRulesByHidroYear(C){let T=this.orderListByProperty(C,"mes");return T.splice(9,3).concat(T)}static orderListByProperty(C,T){return C.sort((S,R)=>S[T]-R[T])}static setViewerUrlToRelatedElements(C,T){for(const S of C)for(const R of S.elementos)switch(R.url){case"surfaceWaterBody/river":R.urlVisor="./viewer/"+s.C.swbRiverEntity;break;case"surfaceWaterBody/reservoir":R.urlVisor="./viewer/"+s.C.swbReservoirEntity;break;case"groundWaterBody/gwb":R.urlVisor="./viewer/"+s.C.gwbEntity;break;case"surfaceWaterBody/lake":R.urlVisor="./viewer/"+s.C.swbLakeEntity;break;case"surfaceWaterBody/channel":R.urlVisor="./viewer/"+s.C.swbChannelEntity;break;case"naturalElements/river":R.urlVisor="./viewer/"+s.C.riverEntity;break;case"naturalElements/lake":R.urlVisor="./viewer/"+s.C.lakeEntity;break;case"infrastructures/dam":R.urlVisor="./viewer/"+s.C.damEntity;break;case"infrastructures/channel":R.urlVisor="./viewer/"+s.C.channelEntity;break;case"infrastructures/raft":R.urlVisor="./viewer/"+s.C.raftEntity;break;case"infrastructures/reservoir":R.urlVisor=T?"./viewer/"+s.C.reservoirEntity:"./viewer/"+s.C.reservoirConcesionesEntity;break;case"/slopeSubbasin":R.urlVisor=s.C.slopeSubbasinEntity;break;case"protectedAreas/riverNatureReserves":R.urlVisor="./viewer/"+s.C.riverNatureReservesEntity;break;case"protectedAreas/specialProtectionAreas":R.urlVisor="./viewer/"+s.C.specialProtectionAreasEntity;break;case"protectedAreas/protectionAreas":R.urlVisor="./viewer/"+s.C.protectionAreasEntity;break;case"protectedAreas/groundSupplies":R.urlVisor="./viewer/"+s.C.groundSupplieEntity;break;case"protectedAreas/surfaceSupplies":R.urlVisor="./viewer/"+s.C.surfaceSupplieEntity;break;case"uses/nucleus":R.urlVisor="./viewer/"+s.C.nucleusEntity;break;case"protectedAreas/mineralWaters":R.urlVisor="./viewer/"+s.C.mineralWaterEntity;break;case"protectedAreas/wetAreas":R.urlVisor="./viewer/"+s.C.wetAreasEntity;break;case"protectedAreas/fishSections":R.urlVisor="./viewer/"+s.C.fishSectionEntity;break;case"protectedAreas/recreationalUseAreas":R.urlVisor="./viewer/"+s.C.recreationalUseAreaEntity;break;case"protectedAreas/vulnerableAreas":R.urlVisor="./viewer/"+s.C.vulnerableAreaEntity;break;case"protectedAreas/sensitiveAreas":R.urlVisor="./viewer/"+s.C.sensitiveAreaEntity;break;case"monitoringSurfaceWater/monitoringStation":R.urlVisor="./viewer/"+s.C.surfaceMonitoringStationEntity;break;case"pressures/waste":R.urlVisor="./viewer/"+s.C.wasteEntity;break;case"pressures/rainOverflow":R.urlVisor="./viewer/"+s.C.rainOverflowEntity;break;case"pressures/landfill":R.urlVisor="./viewer/"+s.C.landFillEntity;break;
1case"pressures/surfaceContamination":R.urlVisor="./viewer/"+s.C.surfaceContaminationEntity;break;case"pressures/groundContamination":R.urlVisor="./viewer/"+s.C.groundContaminationEntity;break;case"pressures/grantingWaterExtraction":R.urlVisor="./viewer/"+s.C.grantingWaterExtractEntity;break;case"pressures/obstacles":R.urlVisor="./viewer/"+s.C.obstaclesEntity;break;case"uses/industries":R.urlVisor="./viewer/"+s.C.industryEntity}return C}static getPieChartColors(C){return["#AED6F1","#E6B0AA","#E8DAEF","#FDEBD0","#D5F5E3","#F0F4C3","#B2DFDB","#665251","#009489","#aabbee","#D7CCC8","#33ff66","#B79A26","#8D42D1","#67B7DC","#FDD400","#84B761","#CC4748","#913167","#81067E"].slice(0,C)}static getBarChartColors(C){return["#fe6508","#fbd118","#aedd1d","#128ece","#2d13ce","#cc1073","#cb0201","#00cb16","#742e06","#828282","#00e871","#980101","#0bae97","#efcc62","#787442","#439426","#55289e","#d84be3","#989898","#f68f76","#0ead75","#fcff00","#23d5fe","#287d76","#bf5be5","#600b8b","#d61832","#dc78a4","#161276","#eb7f42","#14ca97","#f63f26","#224b05","#ac0a93","#e371c4","#af3730","#1bab87","#9bd3e7"].slice(0,C)}static getBlockChartColors(C){return["#71c47f","#6bbb99","#66b3b2","#60aacc"].slice(0,C)}static substringByChar(C,T){return C.substring(C.lastIndexOf(T)+1)}static convertFormattedNumber(C){return C.replace(/\./g,"").replace(",",".")}static convertFormattedEntNumber(C){return C.replace(/\./g,"")}static getLayerNameWithoutNamespace(C){return-1!=C.indexOf(":")?C.substring(C.indexOf(":")+1):C}static getNamespaceWithoutLayerName(C){return-1!=C.indexOf(":")?C.substring(0,C.indexOf(":")):""}static getStringCharacterPosition(C,T,S){return C.split(T,S).join(T).length}static getRandomInt(C){return Math.floor(Math.random()*C)}static checkOpenExtendedSearch(C,T){let S=!1,R=[],q=[];if(void 0!==T){if(void 0!==T.get("camposValorPorDefecto")){let w=T.get("camposValorPorDefecto");void 0!==w&&(R=w)}if(void 0!==T.get("camposDeshabilitados")){let w=T.get("camposDeshabilitados");void 0!==w&&(q=w)}}if(void 0!==C&&void 0!==C.value){let w=Object.keys(C.value);for(let k=0;k<w.length;k++){let h=w[k];if("validadorActivado"!==h&&"nombre"!==h&&"codigo"!==h&&"provincia"!==h&&"municipio"!==h&&!R.includes(h)){let O=C.controls[h].value;if(!d.isNullorEmpty(O)&&!d.isUndefined(O)&&!1!==O){S=!0;break}}}q.length>0&&q.forEach(k=>{let h=C.controls[k].value;!d.isNullorEmpty(h)&&!d.isUndefined(h)&&!1!==h&&C.get(k).enable()})}return S}static convertFormattedNumberSearchForm(C,T,S){S.length>0&&S.forEach(R=>{let q=T[R];!d.isNullorEmpty(q)&&!d.isUndefined(q)&&(C[R]=d.convertFormattedNumber(q))})}static convertFormattedNumberEntSearchForm(C,T,S){S.length>0&&S.forEach(R=>{let q=T[R];!d.isNullorEmpty(q)&&!d.isUndefined(q)&&(C[R]=d.convertFormattedEntNumber(q))})}static getStringArraysDifferences(C,T){return C.filter(S=>!T.includes(S))}static isDMADueroURL(C){return C.startsWith("/DMADuero_09")||C.startsWith("DMADuero_09")}static getEntityName(C,T=!1){let S="",R=s.C.entityTypeByEntity.get(C);return d.isUndefined(R)||1!=R.length?!d.isUndefined(R)&&R.length>1&&(S=T?R[1]:R[0]):S=R[0],S}static getSearchURL(C){return d.getEntityURL(C,0)}static getGeneralURL(C,T){return T?d.getEntityURL(C,1)+T:d.getEntityURL(C,1)}static getTechnicalURL(C,T){return T?d.getEntityURL(C,2)+T:d.getEntityURL(C,2)}static getViewerURL(C){return s.C.viewerPath+d.getEntityName(C,!0)}static getEntityURL(C,T){if(null==C)return"";let S=s.C.menuPathByEntity.get(C),R=d.getEntityName(C);if(null==S||""==R)return"";let q="";switch(T){case 0:q="/search";break;case 1:q="/search/general/";break;case 2:q="/search/technical/"}return"/public/"+S+"/"+R+q}static getLayerByEntityType(C){return s.C.entityLayerByEntity.get(C).filter(T=>!T.hasOwnProperty("advanced")||T.hasOwnProperty("advanced")&&0==T.advanced)}static getLayerByEntityTypeAdvanced(C){return s.C.entityLayerByEntity.get(C)}static getWFSHighlightStyleByGeometry(C){return s.C.WFSHighlightStyles.get(C)}static getMaxWidthHeightFromImages(C){let T=0,S=0;for(const R of C)R.width>T&&(T=R.width),S+=R.height;return{maxWidth:T,maxHeight:S}}static getMaxWidthHeightFromTexts(C,T,S){let R=0,q=0;T.font=S;for(const w of C){let k=T.measureText(w).width;k>R&&(R=k);let h=T.measureText(w),O=h.fontBoundingBoxAscent+h.fontBoundingBoxDescent;O>q&&(q=O)}return{maxWidth:R,maxHeight:q}}static getImage(C,T,S,R,q){return new Promise((w,k)=>{const h=new Image;h.crossOrigin="*",h.onload=()=>{w(h)},h.onerror=()=>{T.openMessageDialog(S.instant(R),S.instant(q)),k("No se ha podido cargar la 
1imagen de "+C)},h.src=C})}static getViewerQueryParamsByEntityTypeAndEntityId(C,T){return s.C.entityIdAndViewerQueryParamsByEntityType.get(C).get(T)}static prepareString(C){return C.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim()}static getUploadDirectoryByEntityType(C){return s.C.uploadDirectoryByEntity.get(C)}static getActuacionesDirectoryByEntityType(C){return s.C.actuacionesDirectoryByEntity.get(C)}static isObject(C){return C&&"object"==typeof C&&C.constructor===Object}static isEmptyObject(C){return C&&"object"==typeof C&&0===Object.keys(C).length}static updateProperty(C,T,S){C[T]=S}static formatData(C,T){let S=Object.assign({},C);for(const R in S)d.isNumber(S[R])&&d.updateProperty(S,R,T.transform(S[R],s.C.numRed));return S}static fillUrlMapVisorUsos(C){if(!d.isUndefined(C))for(const T of C)T.urlVisor="/viewer/"+d.getEntityName(T.tipoEntidad,!0);return C}static findValueInListById(C,T){let S=!1;return T&&T.forEach(R=>{R.id===C&&(S=!0)}),S}static createGradientBetweenColors(C,T,S){const R=new i(C),q=new i(T),w=(q.r-R.r)/(S-1),k=(q.g-R.g)/(S-1),h=(q.b-R.b)/(S-1),O=[];for(let E=0;E<S;E++){const c=new i(`#${Math.round(R.r+w*E).toString(16).padStart(2,"0")}${Math.round(R.g+k*E).toString(16).padStart(2,"0")}${Math.round(R.b+h*E).toString(16).padStart(2,"0")}`);O.push(c.toHex())}return O}static monthDiff(C,T){let S;return S=12*(T.getFullYear()-C.getFullYear()),S-=C.getMonth(),S+=T.getMonth(),S<=0?0:S}static checkInitFinDateRange(C,T,S){var R,q;let w=!1;if(void 0!==C){let k=null===(R=C.get(T))||void 0===R?void 0:R.value,h=null===(q=C.get(S))||void 0===q?void 0:q.value;if(null!==k&&null!==h){let O=new Date(k),E=new Date(h);O.getTime()>E.getTime()&&(w=!0)}}return w}static isURLValid(C){return!d.isNullorEmpty(C)&&/^(http(s)?:\/\/.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/.test(C)}static isNumber(C){return"number"==typeof C||"string"==typeof C&&""!==C.trim()&&!isNaN(Number(C))}static viewEntity(C,T){d.isDMADueroURL(C)?window.location.href=C:T.navigate([`${C}`])}static getEntityViewerQueryParams(C,T,S,R){let q=R.getFeatureTypeConfiguration(S);return{featureId:C,showLayers:q?q.additionalLayersIdsToLoad.join(s.C.concatChar):"",baseLayer:(q?q.baseLayerId:0).toString(),layersIds:T.join(s.C.concatChar)}}static getStageByYear(C){let T=s.C.escenarios.find(S=>S.anyo==C&&S.id>0);if(null!=T)return null==T?void 0:T.descripcion;{let S=s.C.escenarios.find(R=>R.anyosEscenario.includes(C));if(null!=S)return null==S?void 0:S.descripcion}return""}static setStages(C){s.C.escenarios=C;for(const T of s.C.escenarios)T.escenarioActual&&(s.C.escenarioActual=T.id)}static getCarouselDirectoryByEntityType(C){return s.C.carouselDirectoryByEntity.get(C)}static getCarouselItems(C,T){return C.map(S=>{const R="string"==typeof S;return{url:`./img/imagenes/${this.getCarouselDirectoryByEntityType(T)}/${R?S:S.name}`,comment:R?"":S.comment}})}static addLeadingZeros(C,T){if(this.isNullorEmpty(C)||this.isUndefined(C))return"";let S=C.toString();for(;S.length<T;)S=`0${S}`;return S}static validateNIE(C){if(!/^[XYZ]\d{7}[A-Z]$/.test(C))return!1;const S=C.charAt(0);let R=C.substring(1,8),q=C.charAt(8);return R={X:"0",Y:"1",Z:"2"}[S]+R,d.calculateControlLetterNIE(parseInt(R))===q}static calculateControlLetterNIE(C){return"TRWAGMYFPDXBNJZSQVHLCKE".charAt(C%23)}static getViewerSafeUrl(C,T,S,R=!0){return S.bypassSecurityTrustResourceUrl(`./${R?"viewerMini":"viewer"}/${C}?featureId=${T.featureId}&showLayers=${T.layersIds}&baseLayer=${T.baseLayer}`)}static createNewPhoto(C){return new e.Pz(C.id,C.comentarios,C.fechaToma,`./img/fotos/${C.id}.${C.extension}`,C.favorita,C.extension)}static getCadenaCheckNull(C){return null==C&&(C=""),C}static isEmptySearchForm(C){for(const T in C){const S=C[T];if(!d.isNullorEmpty(S)&&!d.isUndefined(S)&&!1!==S)return!1}return!0}static getLayerFieldId(C,T){const S=s.C.campoId[C];return"string"==typeof S?S:"object"==typeof S&&null!==S&&S[T]||""}static searchParamInUrl(C,T){return new URL(C).searchParams.has(T)}static hasPropertyIgnoreCase(C,T){const S=T.toLowerCase();return Object.keys(C).find(R=>R.toLowerCase()===S)}static toSafeNumber(C){const T=Number(C);return Number.isFinite(T)?T:null}static hasAnyPropertyWithValue(C){return!d.isNullOrEmptyOrUndefined(C)&&Object.values(C).some(T=>!d.isNullOrEmptyOrUndefined(T))}}return d.setHideStyle=A=>{A.forEach(C=>{C.hidden&&(C.fontColor="#C8C8C8")})},d})()},4497:(Yt,Ze,m)=>{"use strict";m.d(Ze,{M:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_extension_envelope="",this.api_path_extension_regulated="",this.api_path_demandaAgraria="",this.api_path_demandaAgrariaIds="",this.api_path_demandaAgraria_general="",this.api_path_udaDemandsEnCifras="",this.api_path_demandasAgrarias="",this.api_path_count_agrariandemands="",this.api_path_combosBusqueda="",this.api_path_getElementosTomasRetornosInfraestructuras="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_controlVersiones="",this.api_path_medidas="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_getTendencias="",this.api_path_getCalidad="",this.api_path_comboEscenarios="",this.api_path_uses="",this.api_path_usosexpedientes="",this.api_path_generarInformeGeneral="",this.api_path_getDistribucionGanaderaAnyo="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("agrarianDemands","extension"),this.api_path_extension_envelope=this.configService.getApi("agrarianDemands","extensionEnvelope"),this.api_path_extension_regulated=this.configService.getApi("agrarianDemands","extensionRegulated"),this.api_path_demandaAgraria=this.configService.getApi("agrarianDemands","demandaAgraria"),this.api_path_demandaAgrariaIds=this.configService.getApi("agrarianDemands","demandaAgrariaIds"),this.api_path_demandaAgraria_general=this.configService.getApi("agrarianDemands","demandaAgrariaGeneral"),this.api_path_udaDemandsEnCifras=this.configService.getApi("agrarianDemands","udaDemandsEnCifras"),this.api_path_demandasAgrarias=this.configService.getApi("agrarianDemands","demandasAgrarias"),this.api_path_count_agrariandemands=this.configService.getApi("agrarianDemands","count"),this.api_path_combosBusqueda=this.configService.getApi("agrarianDemands","combosBusqueda"),this.api_path_getElementosTomasRetornosInfraestructuras=this.configService.getApi("agrarianDemands","getElementosTomasRetornosInfraestructuras"),this.api_path_validarBloque=this.configService.getApi("agrarianDemands","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("agrarianDemands","descartarOperacion"),this.api_path_controlVersiones=this.configService.getApi("agrarianDemands","controlVersiones"),this.api_path_medidas=this.configService.getApi("agrarianDemands","getMedidas"),this.api_path_guardarVersionado=this.configService.getApi("agrarianDemands","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("agrarianDemands","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("agrarianDemands","camposHistorico"),this.api_path_historico=this.configService.getApi("agrarianDemands","historico"),this.api_path_getTendencias=this.configService.getApi("agrarianDemands","getTendencias"),this.api_path_comboEscenarios=this.configService.getApi("agrarianDemands","getEscenarios"),this.api_path_uses=this.configService.getApi("agrarianDemands","getUses"),this.api_path_usosexpedientes=this.configService.getApi("agrarianDemands","getUsesExpedientes"),this.api_path_generarInformeGeneral=this.configService.getApi("agrarianDemands","generarInformeGeneral"),this.api_path_getCalidad=this.configService.getApi("agrarianDemands","getCalidadGarantias"),this.api_path_getDistribucionGanaderaAnyo=this.configService.getApi("agrarianDemands","getDistribucionGanaderaAnyo")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeatureEnvelope(h){return this.http.get(`${this.api_path}${this.api_path_extension_envelope}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeatureRegulatedSection(h){return this.http.get(`${this.api_path}${this.api_path_extension_regulated}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getAgrarianDemand(h){return this.http.get(this.api_path+this.api_path_demandaAgraria+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getAgrarianDemandGeneral(h){return this.http.get(this.api_path+this.api_path_demandaAgraria_general+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUdaDemandsEnCifras(){return this.http.get(this.api_path+this.api_path_udaDemandsEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getAgrarianDemands(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_demandaAgraria,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountAgrarianDemands(h){return this.http.post(this.api_path+this.api_path_count_agrariandemands,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosUda(){return this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(h){return this.http.get(this.api_path+this.api_path_getElementosTomasRetornosInfraestructuras+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}/${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${null!=E?`${h}/${O}/${E}`:`${h}/${O}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMeasures(h){return this.http.get(this.api_path+this.api_path_medidas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getTendencias(h,O){return this.http.get(`${this.api_path}${this.api_path_getTendencias}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCalidad(h){return this.http.get(`${this.api_path}${this.api_path_getCalidad}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboEscenarios(h){return this.http.get(`${this.api_path}${this.api_path_comboEscenarios}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUses(h,O){return this.http.get(`${this.api_path}${this.api_path_uses}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUsosExpedientes(h){return this.http.get(`${this.api_path}${this.api_path_usosexpedientes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_demandaAgrariaIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getDistribucionGanaderaAnyo(h){return this.http.get(`${this.api_path}${this.api_path_getDistribucionGanaderaAnyo}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},564:(Yt,Ze,m)=>{"use strict";m.d(Ze,{O:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_extension_envelope="",this.api_path_extension_regulated="",this.api_path_uelDemandsEnCifras="",this.api_path_uel="",this.api_path_uelIds="",this.api_path_uel_general="",this.api_path_count_uel="",this.api_path_combosBusqueda="",this.api_path_getElementosTomasRetornosInfraestructuras="",this.api_path_tomasRetornosInfraestructuras="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_getTendencias="",this.api_path_comboEscenarios="",this.api_path_medidas="",this.api_path_informacionConcesional="",this.api_path_generarInformeGeneral="",this.combosBusquedaSubject$=new s.t(1),this.combosUelSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("elementaryAgrarianDemands","extension"),this.api_path_extension_envelope=this.configService.getApi("elementaryAgrarianDemands","extensionEnvelope"),this.api_path_extension_regulated=this.configService.getApi("elementaryAgrarianDemands","extensionRegulated"),this.api_path_uelDemandsEnCifras=this.configService.getApi("elementaryAgrarianDemands","uelDemandsEnCifras"),this.api_path_uel=this.configService.getApi("elementaryAgrarianDemands","elementaryUnit"),this.api_path_uelIds=this.configService.getApi("elementaryAgrarianDemands","elementaryUnitIds"),this.api_path_uel_general=this.configService.getApi("elementaryAgrarianDemands","unidadElementalGeneral"),this.api_path_count_uel=this.configService.getApi("elementaryAgrarianDemands","count"),this.api_path_combosBusqueda=this.configService.getApi("elementaryAgrarianDemands","combosBusquedaUel"),this.api_path_getElementosTomasRetornosInfraestructuras=this.configService.getApi("elementaryAgrarianDemands","getElementosTomasRetornosInfraestructuras"),this.api_path_tomasRetornosInfraestructuras=this.configService.getApi("elementaryAgrarianDemands","tomasRetornosInfraestructuras"),this.api_path_controlVersiones=this.configService.getApi("elementaryAgrarianDemands","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("elementaryAgrarianDemands","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("elementaryAgrarianDemands","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("elementaryAgrarianDemands","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("elementaryAgrarianDemands","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("elementaryAgrarianDemands","camposHistorico"),this.api_path_historico=this.configService.getApi("elementaryAgrarianDemands","historico"),this.api_path_getTendencias=this.configService.getApi("elementaryAgrarianDemands","getTendencias"),this.api_path_comboEscenarios=this.configService.getApi("elementaryAgrarianDemands","getEscenarios"),this.api_path_medidas=this.configService.getApi("elementaryAgrarianDemands","getMedidas"),this.api_path_informacionConcesional=this.configService.getApi("elementaryAgrarianDemands","getInformacionConcesional"),this.api_path_generarInformeGeneral=this.configService.getApi("elementaryAgrarianDemands","generarInformeGeneral")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeatureEnvelope(h){return this.http.get(`${this.api_path}${this.api_path_extension_envelope}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeatureRegulatedSection(h){return this.http.get(`${this.api_path}${this.api_path_extension_regulated}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUelDemandsEnCifras(){return this.http.get(this.api_path+this.api_path_uelDemandsEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUelDemands(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_uel,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountUelDemands(h){return this.http.post(this.api_path+this.api_path_count_uel,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUelDemand(h){return this.http.get(this.api_path+this.api_path_uel+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUelDemandGeneral(h){return this.http.get(this.api_path+this.api_path_uel_general+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosUel(){return this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(h){return this.http.get(this.api_path+this.api_path_getElementosTomasRetornosInfraestructuras+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getTomasRetornosInfraestructuras(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.mirame_path+this.api_path_tomasRetornosInfraestructuras,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${null!=E?`${h}/${O}/${E}`:`${h}/${O}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}/${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h,O){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getTendencias(h,O){return this.http.get(`${this.api_path}${this.api_path_getTendencias}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboEscenarios(h){return this.http.get(`${this.api_path}${this.api_path_comboEscenarios}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMeasures(h){return this.http.get(this.api_path+this.api_path_medidas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getAssociatedUse(h){return this.http.get(`${this.api_path}${this.api_path_informacionConcesional}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_uelIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},5844:(Yt,Ze,m)=>{"use strict";m.d(Ze,{B:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_combosBusqueda="",this.api_path_combosTecnico="",this.api_path_demandasIndustrialesEnCifras="",this.api_path_extension="",this.api_path_industria="",this.api_path_industriaIds="",this.api_path_count_industria="",this.api_path_generarInformeGeneral="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_getExtracciones="",this.api_path_tomasRetornosInfraestructuras="",this.api_path_getTomasRetornosInfraestructuras="",this.api_path_comboMasasRelacionadas="",this.api_path_captacionesAsociadas="",this.api_path_volumenes="",this.api_path_infoConcesional="",this.api_path_capasVisor="",this.api_path_vertidos="",this.api_path_graficaAnualVolumenes="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_combosBusqueda=this.configService.getApi("elementaryIndustryDemands","combosBusqueda"),this.api_path_combosTecnico=this.configService.getApi("elementaryIndustryDemands","combosTecnico"),this.api_path_extension=this.configService.getApi("elementaryIndustryDemands","extension"),this.api_path_demandasIndustrialesEnCifras=this.configService.getApi("elementaryIndustryDemands","demandasEnCifras"),this.api_path_industria=this.configService.getApi("elementaryIndustryDemands","demandaIndustriaUElem"),this.api_path_industriaIds=this.configService.getApi("elementaryIndustryDemands","demandaIndustriaUElemIds"),this.api_path_count_industria=this.configService.getApi("elementaryIndustryDemands","count"),this.api_path_generarInformeGeneral=this.configService.getApi("elementaryIndustryDemands","generarInformeGeneral"),this.api_path_guardarVersionado=this.configService.getApi("elementaryIndustryDemands","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("elementaryIndustryDemands","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("elementaryIndustryDemands","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("elementaryIndustryDemands","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("elementaryIndustryDemands","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("elementaryIndustryDemands","camposHistorico"),this.api_path_historico=this.configService.getApi("elementaryIndustryDemands","historico"),this.api_path_getExtracciones=this.configService.getApi("elementaryIndustryDemands","getCaptaciones"),this.api_path_getTomasRetornosInfraestructuras=this.configService.getApi("elementaryIndustryDemands","getElementosTomasRetornosInfraestructuras"),this.api_path_tomasRetornosInfraestructuras=this.configService.getApi("elementaryIndustryDemands","tomasRetornosInfraestructuras"),this.api_path_comboMasasRelacionadas=this.configService.getApi("elementaryIndustryDemands","comboMasasRelacionadas"),this.api_path_captacionesAsociadas=this.configService.getApi("elementaryIndustryDemands","getCaptaciones"),this.api_path_volumenes=this.configService.getApi("elementaryIndustryDemands","getVolumenes"),this.api_path_infoConcesional=this.configService.getApi("elementaryIndustryDemands","getInformacionConcesional"),this.api_path_capasVisor=this.configService.getApi("elementaryIndustryDemands","getCapasVisor"),this.api_path_vertidos=this.configService.getApi("elementaryIndustryDemands","getVertidos"),this.api_path_graficaAnualVolumenes=this.configService.getApi("elementaryIndustryDemands","getGraficaAnualVolumenesById")}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosTecnico(){this.http.get(`${this.api_path}${this.api_path_combosTecnico}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getDemandasEnCifras(){return this.http.get(this.api_path+this.api_path_demandasIndustrialesEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementaryIndustryDemands(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_industria,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountIndustryDemands(h){return this.http.post(this.api_path+this.api_path_count_industria,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementaryIndustryDemand(h){return this.http.get(this.api_path+this.api_path_industria+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}/${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(h){return this.http.get(this.api_path+this.api_path_getTomasRetornosInfraestructuras+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getTomasRetornosInfraestructuras(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.mirame_path+this.api_path_tomasRetornosInfraestructuras,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboMasasRelacionadas(h){return this.http.get(`${this.api_path}${this.api_path_comboMasasRelacionadas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCaptations(h){return this.http.get(this.api_path+this.api_path_captacionesAsociadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getVolumes(h){return this.http.get(this.api_path+this.api_path_volumenes+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getInformacionConcesional(h){return this.http.get(this.mirame_path+this.api_path_infoConcesional+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCapasVisor(h){return this.http.get(this.api_path+this.api_path_capasVisor+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getVertidos(h){return this.http.get(this.api_path+this.api_path_vertidos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_industriaIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getGraficaAnualVolumenes(h){return this.http.get(this.api_path+this.api_path_graficaAnualVolumenes+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},4540:(Yt,Ze,m)=>{"use strict";m.d(Ze,{I:()=>w});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(7470),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209);let w=(()=>{class k{constructor(O,E,c,Z,v){this.http=O,this.configService=E,this.dialogModelService=c,this.translate=Z,this.globalService=v,this.api_path="",this.mirame_path="",this.api_path_combosBusqueda="",this.api_path_combosTecnico="",this.api_path_demandasGanaderasEnCifras="",this.api_path_extension="",this.api_path_ganadera="",this.api_path_count_ganadera="",this.api_path_generarInformeGeneral="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_getExtracciones="",this.api_path_tomasRetornosInfraestructuras="",this.api_path_getTomasRetornosInfraestructuras="",this.api_path_captacionesAsociadas="",this.api_path_infoConcesional="",this.api_path_capasVisor="",this.api_path_comboEscenarios="",this.api_path_getTendencias="",this.api_path_getGraficaDistribucionGanado="",this.api_path_elementosCapasVisor="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),k.dialogModelService=this.dialogModelService,k.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_combosBusqueda=this.configService.getApi("elementaryLivestockDemands","combosBusqueda"),this.api_path_combosTecnico=this.configService.getApi("elementaryLivestockDemands","combosTecnico"),this.api_path_extension=this.configService.getApi("elementaryLivestockDemands","extension"),this.api_path_demandasGanaderasEnCifras=this.configService.getApi("elementaryLivestockDemands","demandasEnCifras"),this.api_path_ganadera=this.configService.getApi("elementaryLivestockDemands","demandaGanaderaUElem"),this.api_path_count_ganadera=this.configService.getApi("elementaryLivestockDemands","count"),this.api_path_generarInformeGeneral=this.configService.getApi("elementaryLivestockDemands","generarInformeGeneral"),this.api_path_guardarVersionado=this.configService.getApi("elementaryLivestockDemands","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("elementaryLivestockDemands","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("elementaryLivestockDemands","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("elementaryLivestockDemands","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("elementaryLivestockDemands","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("elementaryLivestockDemands","camposHistorico"),this.api_path_historico=this.configService.getApi("elementaryLivestockDemands","historico"),this.api_path_getExtracciones=this.configService.getApi("elementaryLivestockDemands","getCaptaciones"),this.api_path_getTomasRetornosInfraestructuras=this.configService.getApi("elementaryLivestockDemands","getElementosTomasRetornosInfraestructuras"),this.api_path_tomasRetornosInfraestructuras=this.configService.getApi("elementaryLivestockDemands","tomasRetornosInfraestructuras"),this.api_path_captacionesAsociadas=this.configService.getApi("elementaryLivestockDemands","getCaptaciones"),this.api_path_infoConcesional=this.configService.getApi("elementaryLivestockDemands","getInformacionConcesional"),this.api_path_capasVisor=this.configService.getApi("elementaryLivestockDemands","getCapasVisor"),this.api_path_comboEscenarios=this.configService.getApi("elementaryLivestockDemands","getComboEscenario"),this.api_path_getTendencias=this.configService.getApi("elementaryLivestockDemands","getTendencias"),this.api_path_getGraficaDistribucionGanado=this.configService.getApi("elementaryLivestockDemands","getGraficaDistribucionGanado"),this.api_path_elementosCapasVisor=this.configService.getApi("elementaryLivestockDemands","getElementosCapasVisor")}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosTecnico(){this.http.get(`${this.api_path}${this.api_path_combosTecnico}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getDemandasGanaderasEnCifras(){return this.http.get(this.api_path+this.api_path_demandasGanaderasEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(O){return this.http.get(`${this.api_path}${this.api_path_extension}${O}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementaryLivestockDemands(O,E,c,Z,v){let ee=new i.LE;return ee=ee.append("pageNumber",E||"0"),ee=ee.append("pageSize",c||"10"),ee=ee.append("tipoOrdenacion",Z||d.C.TipoOrdenacion.ASCENDENTE),ee=ee.append("campoOrdenacion",v||"id"),this.http.post(this.api_path+this.api_path_ganadera,O,{params:ee}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountLivestockDemands(O){return this.http.post(this.api_path+this.api_path_count_ganadera,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementaryLivestockDemand(O){return this.http.get(this.api_path+this.api_path_ganadera+O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(O){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(O){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(O,E,c){let Z=A.c.isUndefined(c)?`${O}/${E}`:`${O}/${E}/${c}`;return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${Z}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(O){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(O,E){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}/${O}/${E}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${O}/${E}/${c}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(O){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(O,E,c,Z){let v=A.c.isUndefined(Z)?`${O}/${E}/${c}`:`${O}/${E}/${c}/${Z}`;return this.http.get(`${this.mirame_path}${this.api_path_historico}${v}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(O){return this.http.get(this.api_path+this.api_path_getTomasRetornosInfraestructuras+O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getTomasRetornosInfraestructuras(O,E,c,Z,v){let ee=new i.LE;return ee=ee.append("pageNumber",E||"0"),ee=ee.append("pageSize",c||"10"),ee=ee.append("tipoOrdenacion",Z||d.C.TipoOrdenacion.ASCENDENTE),ee=ee.append("campoOrdenacion",v||"id"),this.http.post(this.mirame_path+this.api_path_tomasRetornosInfraestructuras,O,{params:ee}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCaptations(O){return this.http.get(this.api_path+this.api_path_captacionesAsociadas+O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getConcesionalInfo(O){return this.http.get(this.mirame_path+this.api_path_infoConcesional+O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCapasVisor(O){return this.http.get(this.api_path+this.api_path_capasVisor+O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboEscenarios(O){return this.http.get(`${this.api_path}${this.api_path_comboEscenarios}${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getTendencias(O,E){return this.http.get(`${this.api_path}${this.api_path_getTendencias}${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getGraficaDistribucionGanado(O){return this.http.get(`${this.api_path}${this.api_path_getGraficaDistribucionGanado}${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosCapasVisor(O,E){return this.http.get(`${this.api_path}${this.api_path_elementosCapasVisor}${O}/${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return k.\u0275fac=function(O){return new(O||k)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U))},k.\u0275prov=C.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})()},7633:(Yt,Ze,m)=>{"use strict";m.d(Ze,{o:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_combosBusqueda="",this.api_path_combosTecnico="",this.api_path_demandasUrbanasEnCifras="",this.api_path_extension="",this.api_path_urbana="",this.api_path_urbanaIds="",this.api_path_count_urbana="",this.api_path_generarInformeGeneral="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_getExtracciones="",this.api_path_nucleos="",this.api_path_nucleos_totales="",this.api_path_tomasRetornosInfraestructuras="",this.api_path_getTomasRetornosInfraestructuras="",this.api_path_searchNucleos="",this.api_path_searchDemandas="",this.api_path_comboMasasRelacionadas="",this.api_path_capasVisor="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_combosBusqueda=this.configService.getApi("elementaryUrbanDemands","combosBusqueda"),this.api_path_combosTecnico=this.configService.getApi("elementaryUrbanDemands","combosTecnico"),this.api_path_extension=this.configService.getApi("elementaryUrbanDemands","extension"),this.api_path_demandasUrbanasEnCifras=this.configService.getApi("elementaryUrbanDemands","demandasEnCifras"),this.api_path_urbana=this.configService.getApi("elementaryUrbanDemands","demandaUrbanaUElem"),this.api_path_urbanaIds=this.configService.getApi("elementaryUrbanDemands","demandaUrbanaUElemIds"),this.api_path_count_urbana=this.configService.getApi("elementaryUrbanDemands","count"),this.api_path_generarInformeGeneral=this.configService.getApi("elementaryUrbanDemands","generarInformeGeneral"),this.api_path_guardarVersionado=this.configService.getApi("elementaryUrbanDemands","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("elementaryUrbanDemands","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("elementaryUrbanDemands","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("elementaryUrbanDemands","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("elementaryUrbanDemands","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("elementaryUrbanDemands","camposHistorico"),this.api_path_historico=this.configService.getApi("elementaryUrbanDemands","historico"),this.api_path_getExtracciones=this.configService.getApi("elementaryUrbanDemands","getCaptaciones"),this.api_path_nucleos=this.configService.getApi("elementaryUrbanDemands","getNucleos"),this.api_path_nucleos_totales=this.configService.getApi("elementaryUrbanDemands","getNucleosTotales"),this.api_path_getTomasRetornosInfraestructuras=this.configService.getApi("elementaryUrbanDemands","getElementosTomasRetornosInfraestructuras"),this.api_path_tomasRetornosInfraestructuras=this.configService.getApi("elementaryUrbanDemands","tomasRetornosInfraestructuras"),this.api_path_searchNucleos=this.configService.getApi("elementaryUrbanDemands","searchNucleos"),this.api_path_searchDemandas=this.configService.getApi("elementaryUrbanDemands","searchDemandas"),this.api_path_comboMasasRelacionadas=this.configService.getApi("elementaryUrbanDemands","comboMasasRelacionadas"),this.api_path_capasVisor=this.configService.getApi("elementaryUrbanDemands","getCapasVisor")}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosTecnico(){this.http.get(`${this.api_path}${this.api_path_combosTecnico}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getDemandasEnCifras(){return this.http.get(this.api_path+this.api_path_demandasUrbanasEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementaryUrbanDemands(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_urbana,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountUrbanDemands(h){return this.http.post(this.api_path+this.api_path_count_urbana,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementaryUrbanDemand(h){return this.http.get(this.api_path+this.api_path_urbana+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}/${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getNucleos(h){return this.http.get(this.api_path+this.api_path_nucleos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(h){return this.http.get(this.api_path+this.api_path_getTomasRetornosInfraestructuras+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getTomasRetornosInfraestructuras(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.mirame_path+this.api_path_tomasRetornosInfraestructuras,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchNucleos(h,O,E,c,Z,v){let ee=new i.LE;return ee=ee.append("pageNumber",E||"0"),ee=ee.append("pageSize",c||"10"),ee=ee.append("tipoOrdenacion",Z||d.C.TipoOrdenacion.ASCENDENTE),ee=ee.append("campoOrdenacion",v||"id"),this.http.post(this.mirame_path+this.api_path_searchNucleos+h,O,{params:ee}).pipe((0,e.X)(1)
1,(0,l.K)(this.globalService.handleError))}getSearchDemandas(h,O,E,c,Z,v){let ee=new i.LE;return ee=ee.append("pageNumber",E||"0"),ee=ee.append("pageSize",c||"10"),ee=ee.append("tipoOrdenacion",Z||d.C.TipoOrdenacion.ASCENDENTE),ee=ee.append("campoOrdenacion",v||"id"),this.http.post(this.mirame_path+this.api_path_searchDemandas+h,O,{params:ee}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboMasasRelacionadas(h){return this.http.get(`${this.api_path}${this.api_path_comboMasasRelacionadas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCapasVisor(h){return this.http.get(this.api_path+this.api_path_capasVisor+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_urbanaIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},8093:(Yt,Ze,m)=>{"use strict";m.d(Ze,{X:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_sistemasExplotacionEnCifras="",this.api_path_extension="",this.api_path_explotacion_ficha="",this.api_path_explotacion="",this.api_path_explotacionIds="",this.api_path_count="",this.api_path_generarInformeGeneral="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarVersionado="",this.api_path_usosExpedientes="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.combosBusquedaSubject$=new s.t(1),this.combosDemandaUrbanaSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("exploitationSystems","extension"),this.api_path_sistemasExplotacionEnCifras=this.configService.getApi("exploitationSystems","sistemasExplotacionEnCifras"),this.api_path_explotacion_ficha=this.configService.getApi("exploitationSystems","sistemaExplotacionFicha"),this.api_path_explotacion=this.configService.getApi("exploitationSystems","sistemaExplotacion"),this.api_path_explotacionIds=this.configService.getApi("exploitationSystems","sistemaExplotacionIds"),this.api_path_count=this.configService.getApi("exploitationSystems","count"),this.api_path_generarInformeGeneral=this.configService.getApi("exploitationSystems","generarInformeGeneral"),this.api_path_camposHistorico=this.configService.getApi("exploitationSystems","camposHistorico"),this.api_path_historico=this.configService.getApi("exploitationSystems","historico"),this.api_path_guardarVersionado=this.configService.getApi("exploitationSystems","guardarVersionado"),this.api_path_usosExpedientes=this.configService.getApi("exploitationSystems","getUsesExpedientes"),this.api_path_comparacionVersion=this.configService.getApi("exploitationSystems","comparacionVersion"),this.api_path_controlVersiones=this.configService.getApi("exploitationSystems","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("exploitationSystems","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("exploitationSystems","descartarOperacion")}getSistemasExplotacionEnCifras(){return this.http.get(this.api_path+this.api_path_sistemasExplotacionEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExploitaionSystems(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_explotacion,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountExploitaionSystems(h){return this.http.post(this.api_path+this.api_path_count,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExploitaionSystemFicha(h){return this.http.get(this.api_path+this.api_path_explotacion_ficha+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExploitaionSystem(h){return this.http.get(this.api_path+this.api_path_explotacion+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUsosExpedientes(h){return this.http.get(`${this.api_path}${this.api_path_usosExpedientes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_explotacionIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.api_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},8007:(Yt,Ze,m)=>{"use strict";m.d(Ze,{y:()=>S});var i=m(520),s=m(3179),e=m(4707),l=m(5625),d=m(262),A=m(5e3),C=m(8914),T=m(4209);let S=(()=>{class R{constructor(w,k,h){this.http=w,this.configService=k,this.globalService=h,this.api_path="",this.mirame_path="",this.api_path_demandasIndustrialesEnCifras="",this.api_path_combosBusqueda="",this.api_path_demandasIndustriales="",this.api_path_demandasIndustrialesIds="",this.api_path_count_demandasIndustriales="",this.api_path_extension="",this.api_path_tomasRetornosInfraestructuras="",this.api_path_usosAsociados="",this.api_path_captacionesAsociadas="",this.api_path_validarBloque="",this.api_path_capasVisor="",this.api_path_vertidos="",this.combosBusquedaSubject$=new e.t(1),this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_demandasIndustrialesEnCifras=this.configService.getApi("industryDemands","demandasIndustrialesEnCifras"),this.api_path_combosBusqueda=this.configService.getApi("industryDemands","combosBusqueda"),this.api_path_demandasIndustriales=this.configService.getApi("industryDemands","demandas"),this.api_path_demandasIndustrialesIds=this.configService.getApi("industryDemands","demandasIds"),this.api_path_count_demandasIndustriales=this.configService.getApi("industryDemands","count"),this.api_path_extension=this.configService.getApi("industryDemands","extension"),this.api_path_tomasRetornosInfraestructuras=this.configService.getApi("industryDemands","tomasRetornosInfraestructuras"),this.api_path_usosAsociados=this.configService.getApi("industryDemands","usosAsociados"),this.api_path_captacionesAsociadas=this.configService.getApi("industryDemands","captacionesAsociadas"),this.api_path_controlVersiones=this.configService.getApi("industryDemands","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("industryDemands","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("industryDemands","descartarOperacion"),this.api_path_camposHistorico=this.configService.getApi("industryDemands","camposHistorico"),this.api_path_historico=this.configService.getApi("industryDemands","historico"),this.api_path_guardarVersionado=this.configService.getApi("industryDemands","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("industryDemands","comparacionVersion"),this.api_path_reservas=this.configService.getApi("industryDemands","reservas"),this.api_path_volumenes=this.configService.getApi("industryDemands","volumenes"),this.api_path_generarInformeGeneral=this.configService.getApi("industryDemands","generarInformeGeneral"),this.api_path_capasVisor=this.configService.getApi("industryDemands","capasVisor"),this.api_path_vertidos=this.configService.getApi("industryDemands","vertidos")}getDemandasEnCifras(){return this.http.get(this.api_path+this.api_path_demandasIndustrialesEnCifras).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getIndustryDemands(w,k,h,O,E){let c=new i.LE;return c=c.append("pageNumber",k||"0"),c=c.append("pageSize",h||"10"),c=c.append("tipoOrdenacion",O||s.C.TipoOrdenacion.ASCENDENTE),c=c.append("campoOrdenacion",E||"id"),this.http.post(this.api_path+this.api_path_demandasIndustriales,w,{params:c}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCountIndustryDemands(w){return this.http.post(this.api_path+this.api_path_count_demandasIndustriales,w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getIndustryDemand(w){return this.http.get(this.api_path+this.api_path_demandasIndustriales+w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(w){return this.http.get(`${this.api_path}${this.api_path_extension}${w}`,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(w){return this.http.get(this.api_path+this.api_path_tomasRetornosInfraestructuras+w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getAssociatedUses(w){return this.http.get(this.api_path+this.api_path_usosAsociados+w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCaptations(w){return this.http.get(this.api_path+this.api_path_captacionesAsociadas+w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(w,k){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${w}/${k}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(w){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,w,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(w,k){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}/${w}/${k}`,{}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(w){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${w}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(w,k,h){return this.http.get(`${this.mirame_path}${this.api_path_historico}${w}/${k}/${h}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(w){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,w,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(w,k,h){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${w}/${k}/${h}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getReservas(w){return this.http.get(this.mirame_path+this.api_path_reservas+w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getVolumes(w){return this.http.get(this.api_path+this.api_path_volumenes+w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(w){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,w,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCapasVisor(w){return this.http.get(this.api_path+this.api_path_capasVisor+w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getVertidos(w){return this.http.get(this.api_path+this.api_path_vertidos+w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(w){return this.http.post(this.api_path+this.api_path_demandasIndustrialesIds,w).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}}return R.\u0275fac=function(w){return new(w||R)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.U))},R.\u0275prov=A.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})()},4218:(Yt,Ze,m)=>{"use strict";m.d(Ze,{X:()=>q});var i=m(520),s=m(5625),e=m(262),l=m(3179),d=m(7470),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_demandas="",this.api_path_demandasIds="",this.api_path_count_demandas="",this.api_path_combosBusqueda="",this.api_path_demandasGanaderasEnCifras="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_controlVersiones="",this.api_path_generarInformeGeneral="",this.api_path_getTendencias="",this.api_path_comboEscenarios="",this.api_path_captacionesAsociadas="",this.api_path_tomasRetornosInfraestructuras="",this.api_path_getUsosA
1sociados="",this.api_path_capasVisor="",this.api_path_elementosCapasVisor="",w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("livestocks","extension"),this.api_path_demandas=this.configService.getApi("livestocks","demandasGanaderas"),this.api_path_demandasIds=this.configService.getApi("livestocks","demandasGanaderasIds"),this.api_path_count_demandas=this.configService.getApi("livestocks","count"),this.api_path_combosBusqueda=this.configService.getApi("livestocks","combosBusqueda"),this.api_path_demandasGanaderasEnCifras=this.configService.getApi("livestocks","demandasGanaderasEnCifras"),this.api_path_comparacionVersion=this.configService.getApi("livestocks","comparacionVersion"),this.api_path_guardarVersionado=this.configService.getApi("livestocks","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("livestocks","camposHistorico"),this.api_path_historico=this.configService.getApi("livestocks","historico"),this.api_path_validarBloque=this.configService.getApi("livestocks","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("livestocks","descartarOperacion"),this.api_path_controlVersiones=this.configService.getApi("livestocks","controlVersiones"),this.api_path_generarInformeGeneral=this.configService.getApi("livestocks","generarInformeGeneral"),this.api_path_getTendencias=this.configService.getApi("livestocks","getTendencias"),this.api_path_comboEscenarios=this.configService.getApi("livestocks","getEscenarios"),this.api_path_captacionesAsociadas=this.configService.getApi("livestocks","captacionesAsociadas"),this.api_path_tomasRetornosInfraestructuras=this.configService.getApi("livestocks","tomasRetornosInfraestructuras"),this.api_path_getUsosAsociados=this.configService.getApi("livestocks","getUsosAsociados"),this.api_path_capasVisor=this.configService.getApi("livestocks","getCapasVisor"),this.api_path_elementosCapasVisor=this.configService.getApi("livestocks","getElementosCapasVisor")}getDemandasGanaderasEnCifras(){return this.http.get(this.api_path+this.api_path_demandasGanaderasEnCifras).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getLivestocks(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||l.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_demandas,h,{params:v}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getLivestocksCount(h){return this.http.post(this.api_path+this.api_path_count_demandas,h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getLivestockDemand(h){return this.http.get(this.api_path+this.api_path_demandas+h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c){let Z=d.c.isUndefined(c)?`${h}/${O}/${E}`:`${h}/${O}/${E}/${c}`;return this.http.get(`${this.mirame_path}${this.api_path_historico}${Z}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCombosBusqueda(){return this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getControlDeVersiones(h,O,E){let c=d.c.isUndefined(E)?`${h}/${O}`:`${h}/${O}/${E}`;return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${c}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getTendencias(h,O){return this.http.get(`${this.api_path}${this.api_path_getTendencias}${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComboEscenarios(h){return this.http.get(`${this.api_path}${this.api_path_comboEscenarios}${h}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_demandasIds,h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCaptations(h){return this.http.get(this.api_path+this.api_path_captacionesAsociadas+h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(h){return this.http.get(this.api_path+this.api_path_tomasRetornosInfraestructuras+h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getAssociatedUses(h,O){return this.http.get(`${this.api_path}
1${this.api_path_getUsosAsociados}${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCapasVisor(h){return this.http.get(this.api_path+this.api_path_capasVisor+h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosCapasVisor(h,O){return this.http.get(`${this.api_path}${this.api_path_elementosCapasVisor}${h}/${O}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},4379:(Yt,Ze,m)=>{"use strict";m.d(Ze,{B:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_demandasUrbanasEnCifras="",this.api_path_extension="",this.api_path_urbana="",this.api_path_urbanaIds="",this.api_path_count_urbana="",this.api_path_generarInformeGeneral="",this.api_path_combosDemandaUrbana="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_getExtracciones="",this.api_path_calidad="",this.api_path_reservas="",this.api_path_tomasRetornosInfraestructurasCount="",this.api_path_tomasRetornosInfraestructuras="",this.api_path_getTomasRetornosInfraestructuras="",this.api_path_uedus="",this.api_path_capasVisor="",this.combosBusquedaSubject$=new s.t(1),this.combosDemandaUrbanaSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("urbanDemands","extension"),this.api_path_demandasUrbanasEnCifras=this.configService.getApi("urbanDemands","demandasUrbanasEnCifras"),this.api_path_urbana=this.configService.getApi("urbanDemands","demandaUrbana"),this.api_path_urbanaIds=this.configService.getApi("urbanDemands","demandaUrbanaIds"),this.api_path_count_urbana=this.configService.getApi("urbanDemands","count"),this.api_path_generarInformeGeneral=this.configService.getApi("urbanDemands","generarInformeGeneral"),this.api_path_combosDemandaUrbana=this.configService.getApi("urbanDemands","combosDemandaUrbana"),this.api_path_guardarVersionado=this.configService.getApi("urbanDemands","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("urbanDemands","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("urbanDemands","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("urbanDemands","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("urbanDemands","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("urbanDemands","camposHistorico"),this.api_path_historico=this.configService.getApi("urbanDemands","historico"),this.api_path_getExtracciones=this.configService.getApi("urbanDemands","getCaptaciones"),this.api_path_calidad=this.configService.getApi("urbanDemands","getCalidadGarantias"),this.api_path_reservas=this.configService.getApi("urbanDemands","getReservas"),this.api_path_getTomasRetornosInfraestructuras=this.configService.getApi("urbanDemands","getElementosTomasRetornosInfraestructuras"),this.api_path_tomasRetornosInfraestructuras=this.configService.getApi("urbanDemands","tomasRetornosInfraestructuras"),this.api_path_uedus=this.configService.getApi("urbanDemands","getUedus"),this.api_path_capasVisor=this.configService.getApi("urbanDemands","getCapasVisor")}getDemandasEnCifras(){return this.http.get(this.api_path+this.api_path_demandasUrbanasEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUrbanDemands(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_urbana,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountUrbanDemands(h){return this.http.post(this.api_path+this.api_path_count_urbana,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUrbanDemand(h){return this.http.get(this.api_path+this.api_path_urbana+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosDemandaUrbana(){this.http.get(`${this.api_path}${this.api_path_combosDemandaUrbana}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}/${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCalidadGarantias(h){return this.http.get(this.api_path+this.api_path_calidad+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getReservas(h){return this.http.get(this.api_path+this.api_path_reservas+h
1).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(h){return this.http.get(this.api_path+this.api_path_getTomasRetornosInfraestructuras+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getTomasRetornosInfraestructuras(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.mirame_path+this.api_path_tomasRetornosInfraestructuras,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUedus(h){return this.http.get(this.api_path+this.api_path_uedus+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCapasVisor(h){return this.http.get(this.api_path+this.api_path_capasVisor+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_urbanaIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},2536:(Yt,Ze,m)=>{"use strict";m.d(Ze,{$:()=>Ve});var i=m(8966),s=m(3179),e=m(7470),l=m(5e3),d=m(2204),A=m(60),C=m(4834),T=m(4623),S=m(7278),R=m(8999),q=m(7423),w=m(5397),k=m(4894);function h(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.numEstaciones,_t.numRed))}}function O(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.numEstaciones,_t.numRed))}}function E(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.numDatos,_t.numRed))}}function c(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.numDatos,_t.numRed))}}function Z(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.valMedio,_t.numRed))}}function v(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.valMedio,_t.numRed))}}function ee(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.valMin,_t.numRed))}}function X(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.valMin,_t.numRed))}}function te(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.perc25,_t.numRed))}}function _e(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.perc25,_t.numRed))}}function ne(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.mediana,_t.numRed))}}function oe(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.mediana,_t.numRed))}}function he(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.perc75,_t.numRed))}}function Se(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.perc75,_t.numRed))}}function Be(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.perc90,_t.numRed))}}function ot(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.perc90,_t.numRed))}}function nt(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.valMax,_t.numRed))}}function xt(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.valMax,_t.numRed))}}function At(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"date"),l.ALo(3,"date"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.AsE("",l.xi3(2,2,_t.itemDetail.fecha1,_t.shortDateFormat)," - ",l.xi3(3,5,_t.itemDetail.fecha2,_t.shortDateFormat),"")}}function Qt(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"date"),l.ALo(2,"date")),2&ge){const _t=l.oxw(4);l.AsE("",l.xi3(1,2,_t.itemDetail.fecha1,_t.shortDateFormat)," - ",l.xi3(2,5,_t.itemDetail.fecha2,_t.shortDateFormat),"")}}function Vt(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(_t.itemDetail.comentarios)}}function dt(ge,et){if(1&ge&&l._uU(0),2&ge){const _t=l.oxw(4);l.Oqu(_t.itemDetail.comentarios)}}const Mt=function(ge){return{modified:ge}};function we(ge,et){if(1&ge&&(l.ynx(0),l.TgZ(1,"div",12)(2,"h3"),l._uU(3),l.ALo(4,"translate"),l.qZA()(),l.TgZ(5,"mat-list")(6,"mat-list-item",13)(7,"span",14),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"span"),l._uU(11),l.qZA()(),l.TgZ(12,"mat-list-item",13)(13,"span",15),l._uU(14),l.ALo(15,"translate"),l.qZA(),l.YNc(16,h,3,4,"span",16),l.qZA(),l.YNc(17,O,2,4,"ng-template",null,17,l.W1O),l.TgZ(19,"mat-list-item",13)(20,"span",15),l._uU(21),l.ALo(22,"translate"),l.qZA(),l.YNc(23,E,3,4,"span",16),l.qZA(),l.YNc(24,c,2,4,"ng-template",null,18,l.W1O),l.TgZ(26,"mat-list-item",13)(27,"span",15),l._uU(28),l.ALo(29,"translate"),l.qZA(),l.YNc(30,Z,3,4,"span",16),l.qZA(),l.YNc(31,v,2,4,"ng-template",null,19,l.W1O),l.TgZ(33,"mat-list-item",13)(34,"span",15),l._uU(35),l.ALo(36,"translate"),l.qZA(),l.YNc(37,ee,3,4,"span",16),l.qZA(),l.YNc(38,X,2,4,"ng-template",null,20,l.W1O),l.TgZ(40,"mat-list-item",13)(41,"span",15),l._uU(42),l.ALo(43,"translate"),l.qZA(),l.YNc(44,te,3,4,"span",16),l.qZA(),l.YNc(45,_e,2,4,"ng-template",null,21,l.W1O),l.TgZ(47,"mat-list-item",13)(48,"span",15),l._uU(49),l.ALo(50,"translate"),l.qZA(),l.YNc(51,ne,3,4,"span",16),l.qZA(),l.YNc(52,oe,2,4,"ng-template",null,22,l.W1O),l.TgZ(54,"mat-list-item",13)(55,"span",15),l._uU(56),l.ALo(57,"translate"),l.qZA(),l.YNc(58,he,3,4,"span",16),l.qZA(),l.YNc(59,Se,2,4,"ng-template",null,23,l.W1O),l.TgZ(61,"mat-list-item",13)(62,"span",15),l._uU(63),l.ALo(64,"translate"),l.qZA(),l.YNc(65,Be,3,4,"span",16),l.qZA(),l.YNc(66,ot,2,4,"ng-template",null,24,l.W1O),l.TgZ(68,"mat-list-item",13)(69,"span",15),l._uU(70),l.ALo(71,"translate"),l.qZA(),l.YNc(72,nt,3,4,"span",16),l.qZA(),l.YNc(73,xt,2,4,"ng-template",null,25,l.W1O),l.TgZ(75,"mat-list-item",13)(76,"span",15),l._uU(77),l.ALo(78,"translate"),l.qZA(),l.YNc(79,At,4,8,"span",16),l.qZA(),l.YNc(80,Qt,3,8,"ng-template",null,26,l.W1O),l.TgZ(82,"mat-list-item",13)(83,"span",15),l._uU(84),l.ALo(85,"translate"),l.qZA(),l.YNc(86,Vt,2,1,"span",16),l.qZA(),l.YNc(87,dt,1,1,"ng-template",null,27,l.W1O),l.qZA(),l.BQk()),2&ge){const _t=l.MAs(18),jt=l.MAs(25),Xt=l.MAs(32),Cn=l.MAs(39),Hn=l.MAs(46),Kn=l.MAs(53),Bn=l.MAs(60),di=l.MAs(67),ui=l.MAs(74),Di=l.MAs(81),In=l.MAs(88),Fn=l.oxw(3);l.xp6(3),l.Oqu(l.lcZ(4,47,"groundwaterbody.fichaTecnica.calidadQuimica.titleDetailNivRef")),l.xp6(
15),l.hij("",l.lcZ(9,49,"groundwaterbody.fichaTecnica.calidadQuimica.lblParametro"),":\xa0"),l.xp6(3),l.Oqu(Fn.itemDetail.parametroDesc),l.xp6(2),l.Q6J("ngClass",l.VKq(73,Mt,Fn.itemDetail.modNumEstaciones)),l.xp6(1),l.hij("",l.lcZ(15,51,"groundwaterbody.fichaTecnica.calidadQuimica.lblNumEstaciones"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modNumEstaciones)("ngIfElse",_t),l.xp6(4),l.Q6J("ngClass",l.VKq(75,Mt,Fn.itemDetail.modNumDatos)),l.xp6(1),l.hij("",l.lcZ(22,53,"groundwaterbody.fichaTecnica.calidadQuimica.lblNumDatos"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modNumDatos)("ngIfElse",jt),l.xp6(4),l.Q6J("ngClass",l.VKq(77,Mt,Fn.itemDetail.modValMedio)),l.xp6(1),l.hij("",l.lcZ(29,55,"groundwaterbody.fichaTecnica.calidadQuimica.lblValMedio"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modValMedio)("ngIfElse",Xt),l.xp6(4),l.Q6J("ngClass",l.VKq(79,Mt,Fn.itemDetail.modValMin)),l.xp6(1),l.hij("",l.lcZ(36,57,"groundwaterbody.fichaTecnica.calidadQuimica.lblValMinimo"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modValMin)("ngIfElse",Cn),l.xp6(4),l.Q6J("ngClass",l.VKq(81,Mt,Fn.itemDetail.modPerc25)),l.xp6(1),l.hij("",l.lcZ(43,59,"groundwaterbody.fichaTecnica.calidadQuimica.lblPer25"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modPerc25)("ngIfElse",Hn),l.xp6(4),l.Q6J("ngClass",l.VKq(83,Mt,Fn.itemDetail.modMediana)),l.xp6(1),l.hij("",l.lcZ(50,61,"groundwaterbody.fichaTecnica.calidadQuimica.lblMediana"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modMediana)("ngIfElse",Kn),l.xp6(4),l.Q6J("ngClass",l.VKq(85,Mt,Fn.itemDetail.modPerc75)),l.xp6(1),l.hij("",l.lcZ(57,63,"groundwaterbody.fichaTecnica.calidadQuimica.lblPer75"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modPerc75)("ngIfElse",Bn),l.xp6(4),l.Q6J("ngClass",l.VKq(87,Mt,Fn.itemDetail.modPerc90)),l.xp6(1),l.hij("",l.lcZ(64,65,"groundwaterbody.fichaTecnica.calidadQuimica.lblPer90"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modPerc90)("ngIfElse",di),l.xp6(4),l.Q6J("ngClass",l.VKq(89,Mt,Fn.itemDetail.modValMax)),l.xp6(1),l.hij("",l.lcZ(71,67,"groundwaterbody.fichaTecnica.calidadQuimica.lblValMaximo"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modValMax)("ngIfElse",ui),l.xp6(4),l.Q6J("ngClass",l.VKq(91,Mt,Fn.itemDetail.modFecha1||Fn.itemDetail.modFecha2)),l.xp6(1),l.hij("",l.lcZ(78,69,"groundwaterbody.fichaTecnica.calidadQuimica.lblPeriodo"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modFecha1||Fn.itemDetail.modFecha2)("ngIfElse",Di),l.xp6(4),l.Q6J("ngClass",l.VKq(93,Mt,Fn.itemDetail.modComentarios)),l.xp6(1),l.hij("",l.lcZ(85,71,"groundwaterbody.fichaTecnica.calidadQuimica.lblComentarios"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Fn.itemDetail.modComentarios)("ngIfElse",In)}}function me(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(_t.itemDetail.rangoProfundidad)}}function We(ge,et){if(1&ge&&l._uU(0),2&ge){const _t=l.oxw(4);l.Oqu(_t.itemDetail.rangoProfundidad)}}function re(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.nitratos,_t.numRed))}}function ft(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.nitratos,_t.numRed))}}function Ot(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.conductividadElectrica,_t.numRed))}}function Et(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.conductividadElectrica,_t.numRed))}}function Lt(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.temperatura,_t.numRed))}}function It(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.temperatura,_t.numRed))}}function it(ge,et){if(1&ge&&(l.ynx(0),l.TgZ(1,"div",12)(2,"h3"),l._uU(3),l.ALo(4,"translate"),l.qZA()(),l.TgZ(5,"mat-list")(6,"mat-list-item",13)(7,"span",15),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.YNc(10,me,2,1,"span",16),l.qZA(),l.YNc(11,We,1,1,"ng-template",null,29,l.W1O),l.TgZ(13,"mat-list-item",13)(14,"span",15),l._uU(15),l.ALo(16,"translate"),l.qZA(),l.YNc(17,re,3,4,"span",16),l.qZA(),l.YNc(18,ft,2,4,"ng-template",null,30,l.W1O),l.TgZ(20,"mat-list-item",13)(21,"span",15),l._uU(22),l.ALo(23,"translate"),l.qZA(),l.YNc(24,Ot,3,4,"span",16),l.qZA(),l.YNc(25,Et,2,4,"ng-template",null,31,l.W1O),l.TgZ(27,"mat-list-item",13)(28,"span",15),l._uU(29),l.ALo(30,"translate"),l.qZA(),l.YNc(31,Lt,3,4,"span",16),l.qZA(),l.YNc(32,It,2,4,"ng-template",null,32,l.W1O),l.qZA(),l.BQk()),2&ge){const _t=l.MAs(12),jt=l.MAs(19),Xt=l.MAs(26),Cn=l.MAs(33),Hn=l.oxw(3);l.xp6(3),l.Oqu(l.lcZ(4,17,"groundwaterbody.fichaTecnica.calidadQuimica.titleDetailEstrat")),l.xp6(4),l.Q6J("ngClass",l.VKq(27,Mt,Hn.itemDetail.modRango1||Hn.itemDetail.modRango2)),l.xp6(1),l.hij("",l.lcZ(9,19,"groundwaterbody.fichaTecnica.calidadQuimica.lblRangoProfundidad"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Hn.itemDetail.modRango1||Hn.itemDetail.modRango2)("ngIfElse",_t),l.xp6(4),l.Q6J("ngClass",l.VKq(29,Mt,Hn.itemDetail.modNitratos)),l.xp6(1),l.hij("",l.lcZ(16,21,"groundwaterbody.fichaTecnica.calidadQuimica.lblNitratos"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Hn.itemDetail.modNitratos)("ngIfElse",jt),l.xp6(4),l.Q6J("ngClass",l.VKq(31,Mt,Hn.itemDetail.modConductividad)),l.xp6(1),l.hij("",l.lcZ(23,23,"groundwaterbody.fichaTecnica.calidadQuimica.lblConductividadElectrica"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Hn.itemDetail.modConductividad)("ngIfElse",Xt),l.xp6(4),l.Q6J("ngClass",l.VKq(33,Mt,Hn.itemDetail.modTemperatura)),l.xp6(1),l.hij("",l.lcZ(30,25,"groundwaterbody.fichaTecnica.calidadQuimica.lblTemperatura"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Hn.itemDetail.modTemperatura)("ngIfElse",Cn)}}function wt(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"number"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.valorUmbral,_t.numRed))}}function le(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"number")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.valorUmbral,_t.numRed))}}function Ne(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.ALo(2,"date"),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(l.xi3(2,1,_t.itemDetail.fechaDesignacion,_t.shortDateFormat))}}function Ut(ge,et){if(1&ge&&(l._uU(0),l.ALo(1,"date")),2&ge){const _t=l.oxw(4);l.Oqu(l.xi3(1,1,_t.itemDetail.fechaDesignacion,_t.shortDateFormat))}}function pn(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(_t.itemDetail.origenDesignacionDesc)}}function Dn(ge,et){if(1&ge&&l._uU(0),2&ge){const _t=l.oxw(4);l.Oqu(_t.itemDetail.origenDesignacionDesc)}}function Mn(ge,et){if(1&ge&&(l.TgZ(0,"span",28),l._uU(1),l.qZA()),2&ge){const _t=l.oxw(4);l.xp6(1),l.Oqu(_t.itemDetail.comentariosValorUmbral)}}function rn(ge,et){if(1&ge&&l._uU(0),2&ge){const _t=l.oxw(4);l.Oqu(_t.itemDetail.comentariosValorUmbral)}}function Ue(ge,et){if(1&ge&&(l.ynx(0),l.TgZ(1,"div",12)(2,"h3"),l._uU(3),l.ALo(4,"translate"),l.qZA()(),l.TgZ(5,"mat-list")(6,"mat-list-item",13)(7,"span",14),l._uU(8),l.ALo(9,"translate"),l.qZA(),l.TgZ(10,"span"),l._uU(11),l.qZA()(),l.TgZ(12,"mat-list-item",13)(13,"span",15),l._uU(14),l.ALo(15,"translate"),l.qZA(),l.YNc(16,wt,3,4,"span",16),l.qZA(),l.YNc(17,le,2,4,"ng-template",null,33,l.W1O),l.TgZ(19,"mat-list-item",13)(20,"span",15),l._uU(21),l.ALo(22,"translate"),l.qZA(),l.YNc(23,Ne,3,4,"span",16),l.qZA(),l.YNc(24,Ut,2,4,"ng-template",null,34,l.W1O),l.TgZ(26,"mat-list-item",13)(27,"span",15),l._uU(28),l.ALo(29,"translate"),l.qZA(),l.YNc(30,pn,2,1,"span",16),l.qZA(),l.YNc(31,Dn,1,1,"ng-template",null,35,l.W1O),l.TgZ(33,"mat-list-item",13)(34,"span",15),l._uU(35),l.ALo(36,"translate"),l.qZA(),l.YNc(37,Mn,2,1,"span",16),l.qZA(),l.YNc(38,rn,1,1,"ng-template",null,36,l.W1O),l.qZA(),l.BQk()),2&ge){const _t=l.MAs(18),jt=l.MAs(25),Xt=l.MAs(32),Cn=l.MAs(39),Hn=l.oxw(3);l.xp6(3),l.Oqu(l.lcZ(4,19,"groundwaterbody.fichaTecnica.calidadQuimica.titleDetailValorUmbral")),l.xp6(
15),l.hij("",l.lcZ(9,21,"groundwaterbody.fichaTecnica.calidadQuimica.lblParametro"),":\xa0"),l.xp6(3),l.Oqu(Hn.itemDetail.parametroDesc),l.xp6(2),l.Q6J("ngClass",l.VKq(31,Mt,Hn.itemDetail.modValorUmbral)),l.xp6(1),l.hij("",l.lcZ(15,23,"groundwaterbody.fichaTecnica.calidadQuimica.lblValorUmbral"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Hn.itemDetail.modValorUmbral)("ngIfElse",_t),l.xp6(4),l.Q6J("ngClass",l.VKq(33,Mt,Hn.itemDetail.modFechaDesignacion)),l.xp6(1),l.hij("",l.lcZ(22,25,"groundwaterbody.fichaTecnica.calidadQuimica.lblFechaDesignacion"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Hn.itemDetail.modFechaDesignacion)("ngIfElse",jt),l.xp6(4),l.Q6J("ngClass",l.VKq(35,Mt,Hn.itemDetail.modOrigenDesignacion)),l.xp6(1),l.hij("",l.lcZ(29,27,"groundwaterbody.fichaTecnica.calidadQuimica.lblOrigenDesignacion"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Hn.itemDetail.modOrigenDesignacion)("ngIfElse",Xt),l.xp6(4),l.Q6J("ngClass",l.VKq(37,Mt,Hn.itemDetail.modComentariosValorUmbral)),l.xp6(1),l.hij("",l.lcZ(36,29,"groundwaterbody.fichaTecnica.calidadQuimica.lblObservaciones"),":\xa0"),l.xp6(2),l.Q6J("ngIf",Hn.itemDetail.modComentariosValorUmbral)("ngIfElse",Cn)}}function Je(ge,et){if(1&ge&&(l.TgZ(0,"div",10),l.YNc(1,we,89,95,"ng-container",11),l.YNc(2,it,34,35,"ng-container",11),l.YNc(3,Ue,40,39,"ng-container",11),l.qZA()),2&ge){const _t=l.oxw(2);l.xp6(1),l.Q6J("ngIf",_t.isLevel),l.xp6(1),l.Q6J("ngIf",_t.isStratification),l.xp6(1),l.Q6J("ngIf",_t.isThresholdValues)}}function De(ge,et){if(1&ge){const _t=l.EpF();l.TgZ(0,"div",2)(1,"div",3)(2,"h2"),l._uU(3),l.qZA()(),l._UZ(4,"mat-divider",4),l.TgZ(5,"div",5),l.YNc(6,Je,4,3,"div",6),l.qZA(),l.TgZ(7,"div",5)(8,"div",7)(9,"div",8)(10,"button",9),l.NdJ("click",function(){return l.CHM(_t),l.oxw().closeDialog()}),l._uU(11),l.ALo(12,"translate"),l.qZA()()()()()}if(2&ge){const _t=l.oxw();l.xp6(3),l.AsE("",_t.gwbId," - ",_t.gwbName,""),l.xp6(3),l.Q6J("ngIf",_t.isLevel||_t.isStratification||_t.isThresholdValues),l.xp6(5),l.Oqu(l.lcZ(12,4,"botones.cerrar"))}}function at(ge,et){1&ge&&l._UZ(0,"app-spinner")}let Ve=(()=>{class ge{constructor(_t,jt,Xt){this.dialogRef=_t,this.data=jt,this.gwbService=Xt,this.gwbName="",this.numRed=s.C.numRed4Dec,this.shortDateFormat=s.C.shortDateFormat,this.isLevel=!1,this.isStratification=!1,this.isThresholdValues=!1;let Cn=jt.operation;this.isLevel=s.C.operacion.OPERACION_MSB_CALIDAD_QUIMICA_NIVEL_REFERENCIA===Cn||s.C.operacion.OPERACION_MSB_CALIDAD_QUIMICA_NIVEL_ANUAL===Cn,this.isStratification=s.C.operacion.OPERACION_MSB_CALIDAD_QUIMICA_ESTRATIFICACION===Cn,this.isThresholdValues=s.C.operacion.OPERACION_MSB_CALIDAD_QUIMICA_VALOR_UMBRAL===Cn,this.gwbName=jt.itemName,this.gwbId=jt.gid,e.c.isUndefined(jt.row)?this.gwbService.getComparacionVersion(Number(jt.gid),Number(jt.gidVersion),Cn).subscribe(Hn=>{this.itemDetail=Hn.calidadQuimicaMod}):this.itemDetail=jt.row}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return ge.\u0275fac=function(_t){return new(_t||ge)(l.Y36(i.so),l.Y36(i.WI),l.Y36(d.g))},ge.\u0275cmp=l.Xpm({type:ge,selectors:[["app-version-changes-chemical-quality"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],["class","col",4,"ngIf"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[4,"ngIf"],[1,"container-subtitle"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["numEstaciones",""],["numDatos",""],["valMedio",""],["valMin",""],["perc25",""],["mediana",""],["perc75",""],["perc90",""],["valMax",""],["periodo",""],["comentarios",""],["appHighlight",""],["rangoProfundidad",""],["nitratos",""],["conductividadElectrica",""],["temperatura",""],["valorUmbral",""],["fechaDesignacion",""],["origenDesignacion",""],["observaciones",""]],template:function(_t,jt){if(1&_t&&(l.YNc(0,De,13,6,"div",0),l.YNc(1,at,1,0,"ng-template",null,1,l.W1O)),2&_t){const Xt=l.MAs(2);l.Q6J("ngIf",jt.itemDetail)("ngIfElse",Xt)}},directives:[A.O5,C.d,T.i$,T.Tg,S.M,A.mk,R.Z,q.lW,w.O],pipes:[k.X$,A.JJ,A.uU],styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),ge})()},2204:(Yt,Ze,m)=>{"use strict";m.d(Ze,{g:()=>h});var i=m(520),s=m(1135),e=m(4707),l=m(5625),d=m(8505),A=m(262),C=m(3179),T=m(2536),S=m(5e3),R=m(8914),q=m(4209),w=m(8966),k=m(5890);let h=(()=>{class O{constructor(c,Z,v,ee,X){this.http=c,this.configService=Z,this.globalService=v,this.dialog=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_gwbs="",this.api_path_gwbsIds="",this.api_path_gwbCifras="",this.api_path_gwbEstado="",this.api_path_gwbObjetivo="",this.api_path_combosBusquedaMasas="",this.api_path_extensionMasaSubterranea="",this.api_path_controlVersiones="",this.api_path_descartarOperacion="",this.api_path_validarBloque="",this.api_path_guardarVersionado="",this.api_path_guardarVersionadoExplotacion="",this.api_path_guardarVersionadoCalidadQuimica="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_datos_geoestructurales="",this.api_path_litologia="",this.api_path_count_masas="",this.api_path_borrarRelaciones="",this.api_path_combo_edad="",this.api_path_datos_sistemasDependientes="",this.api_path_datos_medidas="",this.api_path_datos_zonasNoSaturadas="",this.api_path_datos_vulnerabilidadesPorIndice="",this.api_path_combo_indiceZonaSaturada="",this.api_path_generarInformeMunicipios="",this.api_path_datos_piezometro="",this.api_path_combosTecnicoMasas="",this.api_path_comboSubordenSueloEdafico="",this.api_path_comboTipoSueloEdafico="",this.api_path_generarInformeGeneral="",this.api_path_objetivos="",this.api_path_guardarFichero="",this.api_path_eliminarFichero="",this.api_path_datos_recursos="",this.api_path_comboTipoCalidadQuimica="",this.api_path_datosCalidadQuimica="",this.api_path_explotation="",this.api_path_comboParametrosDisponibles="",this.api_path_comboOrigenDesignacion="",this.api_path_combosRecurs
1osMasas="",this.api_path_datos_hidrogeo="",this.api_path_combosHidrogeoMasas="",this.api_path_comboLimiteValoresSinAsignar="",this.api_path_generarExcelValoresAnuales="",this.api_path_gwbEstados="",this.api_path_gwbGraficaEstados="",this.api_path_estacionesSeguimientoHist="",this.api_path_nivelesConfianza="",this.api_path_guardarVersionadoPiezometria="",this.api_path_volumenExpedientes="",this.api_path_deteriorations="",this.agesSubject$=new s.X([]),this.combosBusquedaSubject$=new e.t(1),this.combosTecnicoSubject$=new e.t(1),this.combosRecursoSubject$=new e.t(1),this.combosHidrogeoSubject$=new e.t(1),this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_gwbs=this.configService.getApi("gwb","masas"),this.api_path_gwbsIds=this.configService.getApi("gwb","masasIds"),this.api_path_gwbCifras=this.configService.getApi("gwb","masasEnCifras"),this.api_path_gwbEstado=this.configService.getApi("gwb","estadoMasas"),this.api_path_gwbEstados=this.configService.getApi("gwb","estadosMasas"),this.api_path_gwbGraficaEstados=this.configService.getApi("gwb","graficaEstadosMasas"),this.api_path_gwbObjetivo=this.configService.getApi("gwb","objetivoMasas"),this.api_path_combosBusquedaMasas=this.configService.getApi("gwb","combosBusquedaMasas"),this.api_path_extensionMasaSubterranea=this.configService.getApi("gwb","extensionMasaSubterranea"),this.api_path_controlVersiones=this.configService.getApi("gwb","controlVersiones"),this.api_path_descartarOperacion=this.configService.getApi("gwb","descartarOperacion"),this.api_path_validarBloque=this.configService.getApi("gwb","validarBloque"),this.api_path_guardarVersionado=this.configService.getApi("gwb","guardarVersionado"),this.api_path_guardarVersionadoExplotacion=this.configService.getApi("gwb","guardarVersionadoExplotacion"),this.api_path_guardarVersionadoCalidadQuimica=this.configService.getApi("gwb","guardarVersionadoCalidadQuimica"),this.api_path_guardarVersionadoPiezometria=this.configService.getApi("gwb","guardarVersionadoPiezometria"),this.api_path_camposHistorico=this.configService.getApi("gwb","camposHistorico"),this.api_path_historico=this.configService.getApi("gwb","historico"),this.api_path_comparacionVersion=this.configService.getApi("gwb","comparacionVersion"),this.api_path_datos_geoestructurales=this.configService.getApi("gwb","datosGeoestructurales"),this.api_path_litologia=this.configService.getApi("gwb","getLitologia"),this.api_path_count_masas=this.configService.getApi("gwb","count"),this.api_path_borrarRelaciones=this.configService.getApi("gwb","borrarRelaciones"),this.api_path_combo_edad=this.configService.getApi("gwb","getComboEdad"),this.api_path_datos_sistemasDependientes=this.configService.getApi("gwb","getDatosSistemasDependientes"),this.api_path_datos_medidas=this.configService.getApi("gwb","getDatosMedidas"),this.api_path_datos_zonasNoSaturadas=this.configService.getApi("gwb","getDatosZonasNoSaturadas"),this.api_path_datos_vulnerabilidadesPorIndice=this.configService.getApi("gwb","getDatosVulnerabilidadesPorIndice"),this.api_path_combo_indiceZonaSaturada=this.configService.getApi("gwb","getComboIndice"),this.api_path_generarInformeMunicipios=this.configService.getApi("gwb","getMunicipios"),this.api_path_datos_piezometro=this.configService.getApi("gwb","getDatosPiezometro"),this.api_path_combosTecnicoMasas=this.configService.getApi("gwb","combosTecnicoMasas"),this.api_path_comboSubordenSueloEdafico=this.configService.getApi("gwb","getComboSubordenSueloEdafico"),this.api_path_comboTipoSueloEdafico=this.configService.getApi("gwb","getComboTipoSueloEdafico"),this.api_path_generarInformeGeneral=this.configService.getApi("gwb","generarInformeGeneral"),this.api_path_objetivos=this.configService.getApi("gwb","getObjetivos"),this.api_path_guardarFichero=this.configService.getApi("gwb","guardarFichero"),this.api_path_eliminarFichero=this.configService.getApi("gwb","eliminarFichero"),this.api_path_datos_recursos=this.configService.getApi("gwb","getDatosRecurso"),this.api_path_comboTipoCalidadQuimica=this.configService.getApi("gwb","getComboTipoCalidadQuimica"),this.api_path_datosCalidadQuimica=this.configService.getApi("gwb","getDatosCalidadQuimica"),this.api_path_explotation=this.configService.getApi("gwb","getExplotacion"),this.api_path_comboParametrosDisponibles=this.configService.getApi("gwb","getParametrosCalidadQuimicaDisponibles"),this.api_path_comboOrigenDesignacion=this.configService.getApi("gwb","getComboOrigenDesignacionCalidadQuimica"),this.api_path_combosRecurs
1osMasas=this.configService.getApi("gwb","combosRecursos"),this.api_path_datos_hidrogeo=this.configService.getApi("gwb","getDatosHidrogeologicos"),this.api_path_combosHidrogeoMasas=this.configService.getApi("gwb","combosHidrogeo"),this.api_path_comboLimiteValoresSinAsignar=this.configService.getApi("gwb","comboHidrogeoLimiteSinAsignar"),this.api_path_generarExcelValoresAnuales=this.configService.getApi("gwb","getInformeValoresAnuales"),this.api_path_estacionesSeguimientoHist=this.configService.getApi("gwb","getEstacionesSeguimientoHist"),this.api_path_nivelesConfianza=this.configService.getApi("gwb","getConfidenceLevelsData"),this.api_path_volumenExpedientes=this.configService.getApi("gwb","getVolumenesExpedientes"),this.api_path_deteriorations=this.configService.getApi("gwb","deteriorations")}getMasasEnCifras(){return this.http.get(this.api_path+this.api_path_gwbCifras).pipe((0,l.X)(1),(0,d.b)({next:c=>{this.matomoAnalyticsService.trackGetInformation("masas-subterraneas-en-cifras",1)},error:c=>{this.matomoAnalyticsService.trackError("masas-subterraneas-en-cifras",c.message)}}),(0,A.K)(this.globalService.handleError))}getEstadosMasas(){return this.http.get(this.api_path+this.api_path_gwbEstado).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getObjetivosMasas(){return this.http.get(this.api_path+this.api_path_gwbObjetivo).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getMasas(c,Z,v,ee,X){let te=new i.LE;return te=te.append("pageNumber",Z||"0"),te=te.append("pageSize",v||"10"),te=te.append("tipoOrdenacion",ee||C.C.TipoOrdenacion.ASCENDENTE),te=te.append("campoOrdenacion",X||"id"),this.http.post(this.api_path+this.api_path_gwbs,c,{params:te}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getMasasCount(c){return this.http.post(this.api_path+this.api_path_count_masas,c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getCombosBusquedaMasas(){this.http.get(`${this.api_path}${this.api_path_combosBusquedaMasas}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getMasaSubterranea(c,Z){return this.http.get(this.api_path+this.api_path_gwbs+c+"/"+Z).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getExtensionFeature(c){return this.http.get(`${this.api_path}${this.api_path_extensionMasaSubterranea}${c}`,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getControlDeVersiones(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}`+(v?`${c}/${Z}/${v}`:`${c}/${Z}`)).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}descartarOperacion(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${c}/${Z}`,{}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}validarBloque(c){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}guardarVersionado(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}guardarVersionadoExplotacion(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoExplotacion}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}guardarVersionadoCalidadQuimica(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoCalidadQuimica}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}guardarVersionadoPiezometria(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPiezometria}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getListadoCamposHistorico(c){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getHistoricoCampo(c,Z,v,ee,X){return this.http.get(`${this.mirame_path}${this.api_path_historico}${X?`${c}/${Z}/${v}/${ee}/${X}`:`${c}/${Z}/${v}/${ee}`}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getComparacionVersion(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${c}/${Z}/${v}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDatosGeoestructurales(c){return this.http.get(`${this.api_path}${this.api_path_datos_geoestructurales}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getLitologia(c,Z){return this.http.get(`${this.api_path}${this.api_path_litologia}${c}/${Z}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}borrarRelaciones(c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelaciones}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getComboEdadMasasSubterraneas(){return this.http.get(`${this.api_path}${this.api_path_combo_edad}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDatosSistemasDependientes(c){return this.http.get(`${this.api_path}${this.api_path_datos_sistemasDependientes}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDatosMedidas(c){return this.http.get(`${this.api_path}${this.api_path_datos_medidas}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDatosZonasNoSaturadas(c){return this.http.get(`${this.api_path}${this.api_path_datos_zonasNoSaturadas}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDatosVulnerabilidadesPorIndice(c,Z){return this.http.get(`${this.api_path}${this.api_path_datos_vulnerabilidadesPorIndice}${c}/${Z}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getComboIndiceZonaSaturada(){return this.http.get(`${this.api_path}${this.api_path_combo_indiceZonaSaturada}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}generarInformeMunicipios(c){return this.http.post(`${this.mirame_path}${this.api_path_generarInformeMunicipios}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDatosPiezometro(c){return this.http.get(this.api_path+this.api_path_datos_piezometro+c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getCombosTecnicoMasas(){this.http.get(`${this.api_path}${this.api_path_combosTecnicoMasas}
1`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getComboSubordenSueloEdafico(c){return this.http.get(`${this.mirame_path}${this.api_path_comboSubordenSueloEdafico}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getComboTipoSueloEdafico(c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comboTipoSueloEdafico}${c}/${Z}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}generarInformeGeneral(c){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getObjetivos(c){return this.http.get(this.api_path+this.api_path_objetivos+c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}setAges(c){this.agesSubject$.next(c)}savefile(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_guardarFichero}${c}`,Z).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}deleteFile(c,Z,v){return this.http.post(`${this.mirame_path}${this.api_path_eliminarFichero}${c}/${Z}/${v}`,null).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDatosRecursos(c){return this.http.get(`${this.api_path}${this.api_path_datos_recursos}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getComboQualityType(){return this.http.get(this.api_path+this.api_path_comboTipoCalidadQuimica).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getChemicalQuality(c){return this.http.get(this.api_path+this.api_path_datosCalidadQuimica+c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getExplotation(c){return this.http.get(this.api_path+this.api_path_explotation+c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getEstado(c,Z){return this.http.get(`${this.api_path}${this.api_path_gwbEstados}/${c}/${Z}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getGraficaEstado(c){return this.http.get(`${this.api_path}${this.api_path_gwbGraficaEstados}/${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}openChemicalQualityDetail(c,Z,v,ee){return this.dialog.open(T.$,{width:"70vw",maxHeight:"90vh",data:{row:c,gid:Z,itemName:v,operation:ee}}).afterClosed()}getAvaliableParameters(c,Z,v=0){return this.http.get(`${this.api_path}${this.api_path_comboParametrosDisponibles}${c}/${Z}/${v}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDesignationOriginCombo(){return this.http.get(`${this.api_path}${this.api_path_comboOrigenDesignacion}
1`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getCombosRecursosMasas(){this.http.get(`${this.api_path}${this.api_path_combosRecursosMasas}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError)).subscribe(this.combosRecursoSubject$)}getDatosHidrogeologicos(c){return this.http.get(`${this.api_path}${this.api_path_datos_hidrogeo}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getCombosHidrogeoMasas(){this.http.get(`${this.api_path}${this.api_path_combosHidrogeoMasas}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError)).subscribe(this.combosHidrogeoSubject$)}getComboLimiteSinAsignar(c){return this.http.get(`${this.mirame_path}${this.api_path_comboLimiteValoresSinAsignar}${c}`).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}generateAnnualValuesExcel(c){return this.http.post(`${this.mirame_path}${this.api_path_generarExcelValoresAnuales}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getListadoEstacionesSeguimientoHist(c){return this.http.get(this.api_path+this.api_path_estacionesSeguimientoHist+c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getConfidenceLevelsData(c){return this.http.get(this.api_path+this.api_path_nivelesConfianza+c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getVolumenExpedientes(c){return this.http.get(this.mirame_path+this.api_path_volumenExpedientes+c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getSearchCodes(c){return this.http.post(this.api_path+this.api_path_gwbsIds,c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}getDeteriorations(c){return this.http.get(this.api_path+this.api_path_deteriorations+c).pipe((0,l.X)(1),(0,A.K)(this.globalService.handleError))}}return O.\u0275fac=function(c){return new(c||O)(S.LFG(i.eN),S.LFG(R.E),S.LFG(q.U),S.LFG(w.uw),S.LFG(k.p))},O.\u0275prov=S.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})()},4305:(Yt,Ze,m)=>{"use strict";m.d(Ze,{T:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_canalesEnCifras="",this.api_path_canales="",this.api_path_canalesIds="",this.api_path_extensionCanal="",this.api_path_count_canales="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_fotoPrincipal="",this.api_path_establecerFotoFavorita="",this.api_path_fotosRelacionadas="",this.api_path_comparacionVersion="",this.api_path_combosBusqueda="",this.api_path_combosFichaTecnicaCanales="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_elementosRelacionados="",this.api_path_borrarRelacion="",this.api_path_guardarRelacion="",this.api_path_elementosRelacionables="",this.api_path_valoresComboUsosSinSeleccionar="",this.api_path_borrarRelacionUso="",this.api_path_generarInformeGeneral="",this.api_path_getElementosTomasRetornosInfraestructuras="",this.api_path_tomasRetornosInfraestructuras="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_canalesEnCifras=this.configService.getApi("channel","canalesEnCifras"),this.api_path_canales=this.configService.getApi("channel","canales"),this.api_path_canalesIds=this.configService.getApi("channel","canalesIds"),this.api_path_extensionCanal=this.configService.getApi("channel","extensionCanal"),this.api_path_count_canales=this.configService.getApi("channel","count"),this.api_path_camposHistorico=this.configService.getApi("channel","camposHistorico"),this.api_path_historico=this.configService.getApi("channel","historico"),this.api_path_fotoPrincipal=this.configService.getApi("channel","fotoPrincipal"),this.api_path_establecerFotoFavorita=this.configService.getApi("channel","establecerFotoFavorita"),this.api_path_fotosRelacionadas=this.configService.getApi("channel","fotosRelacionadas"),this.api_path_comparacionVersion=this.configService.getApi("channel","comparacionVersion"),this.api_path_combosBusqueda=this.configService.getApi("channel","combosBusqueda"),this.api_path_combosFichaTecnicaCanales=this.configService.getApi("channel","combosFichaTecnicaCanales"),this.api_path_guardarVersionado=this.configService.getApi("channel","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("channel","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("channel","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("channel","descartarOperacion"),this.api_path_elementosRelacionados=this.configService.getApi("channel","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("channel","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("channel","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("channel","elementosRelacionables"),this.api_path_valoresComboUsosSinSeleccionar=this.configService.getApi("channel","valoresComboUsosSinSeleccionar"),this.api_path_borrarRelacionUso=this.configService.getApi("channel","borrarRelacionUso"),this.api_path_generarInformeGeneral=this.configService.getApi("channel","generarInformeGeneral"),this.api_path_getElementosTomasRetornosInfraestructuras=this.configService.getApi("channel","getElementosTomasRetornosInfraestructuras"),this.api_path_tomasRetornosInfraestructuras=this.configService.getApi("channel","tomasRetornosInfraestructuras")}getCanalesEnCifras(){return this.http.get(this.api_path+this.api_path_canalesEnCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("canales-infraestructura-en-cifras",1)},error:E=>{this.matomoAnalyticsService.trackError("canales-infraestructura-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getChannels(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),X=X.append("masaAgua",E.masaAgua||0),this.http.post(this.api_path+this.api_path_canales,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getChannelsCount(E){return this.http.post(this.api_path+this.api_path_count_canales,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getChannel(E){return this.http.get(this.api_path+this.api_path_canales+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getfotosCanal(E){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_extensionCanal}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}setFotoFavorita(E,c){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${E}`,c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusquedaCanales(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosFichaTecnicaCanales(){return this.http.get(`${this.mirame_path}${this.api_path_combosFichaTecnicaCanales}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(E){return this.http.get(this.api_path+this.api_path_elementosRelacionados+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionados(E,c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getValoresCombosUsosSinSeleccionar(E){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboUsosSinSeleccionar}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionesUso(E){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionUso}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getFotoPrincipal(E){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosTomasRetornosInfraestructuras(E){return this.http.get(this.api_path+this.api_path_getElementosTomasRetornosInfraestructuras+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getTomasRetornosInfraestructuras(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.mirame_path+this.api_path_tomasRetornosInfraestructuras,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_canalesIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}
1return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},5996:(Yt,Ze,m)=>{"use strict";m.d(Ze,{o:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_presasEnCifras="",this.api_path_presas="",this.api_path_presasIds="",this.api_path_count_presas="",this.api_path_extensionPresa="",this.api_path_relevanciaPresion="",this.api_path_combosBusqueda="",this.api_path_combosTecnico="",this.api_path_fotosRelacionadas="",this.api_path_fotoPrincipal="",this.api_path_establecerFotoFavorita="",this.api_path_getMedidas="",this.api_path_datosTecnicos="",this.api_path_comparacionVersion="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_controlVersiones="",this.api_path_datoTecnico="",this.api_path_comboSistemaDrenaje="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_generarInformeGeneral="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_usos="",this.api_path_combosRelevancia="",this.api_path_guardarVersionadoPressure="",this.api_path_guardarVersionadoUses="",this.api_path_usosPosiblesPrincipal="",this.api_path_guardarVersionadoUsesPrincipal="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),this.combosBusquedaPrimarioSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_presasEnCifras=this.configService.getApi("dam","presasEnCifras"),this.api_path_presas=this.configService.getApi("dam","presas"),this.api_path_presasIds=this.configService.getApi("dam","presasIds"),this.api_path_count_presas=this.configService.getApi("dam","count"),this.api_path_extensionPresa=this.configService.getApi("dam","getExtension"),this.api_path_relevanciaPresion=this.configService.getApi("dam","relevanciaPresion"),this.api_path_combosBusqueda=this.configService.getApi("dam","combosBusqueda"),this.api_path_combosTecnico=this.configService.getApi("dam","combosTecnico"),this.api_path_fotosRelacionadas=this.configService.getApi("dam","fotosRelacionadas"),this.api_path_fotoPrincipal=this.configService.getApi("dam","fotoPrincipal"),this.api_path_establecerFotoFavorita=this.configService.getApi("dam","establecerFotoFavorita"),this.api_path_getMedidas=this.configService.getApi("dam","medidas"),this.api_path_datosTecnicos=this.configService.getApi("dam","datosTecnicos"),this.api_path_comparacionVersion=this.configService.getApi("dam","comparacionVersion"),this.api_path_guardarVersionado=this.configService.getApi("dam","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("dam","camposHistorico"),this.api_path_historico=this.configService.getApi("dam","historico"),this.api_path_controlVersiones=this.configService.getApi("dam","controlVersiones"),this.api_path_datoTecnico=this.configService.getApi("dam","datoTecnico"),this.api_path_comboSistemaDrenaje=this.configService.getApi("dam","getComboSistemaDrenaje"),this.api_path_guardarRelacion=this.configService.getApi("dam","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("dam","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("dam","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("dam","elementosRelacionados"),this.api_path_generarInformeGeneral=this.configService.getApi("dam","generarInformeGeneral"),this.api_path_validarBloque=this.configService.getApi("dam","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("dam","descartarOperacion"),this.api_path_usos=this.configService.getApi("dam","getUsos"),this.api_path_guardarVersionadoPressure=this.configService.getApi("dam","guardarVersionadoRelevanciaPresion"),this.api_path_guardarVersionadoUses=this.configService.getApi("dam","guardarVersionadoUsos"),this.api_path_usosPosiblesPrincipal=this.configService.getApi("dam","comboUsosPosiblesPrincipal"),this.api_path_guardarVersionadoUsesPrincipal=this.configService.getApi("dam","guardarVersionadoUsosPrincipal")}getPresasEnCifras(){return this.http.get(this.api_path+this.api_path_presasEnCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("presas-en-cifras",E.totalPresas||0)},error:E=>{this.matomoAnalyticsService.trackError("presas-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getDams(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.api_path+this.api_path_presas,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDamsCount(E){return this.http.post(this.api_path+this.api_path_count_presas,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDam(E){return this.http.get(this.api_path+this.api_path_presas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_extensionPresa}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getRelevanciaPresion(E){return this.http.get(this.api_path+this.api_path_relevanciaPresion+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getfotosPresa(E){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getFotoPrincipal(E){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}setFotoFavorita(E,c){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${E}`,c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getMedidas(E){return this.http.get(this.api_path+this.api_path_getMedidas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDatosTecnicos(E){return this.http.get(this.mirame_path+this.api_path_datosTecnicos+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionadoRelevanciaPresas(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPressure}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionadoUsosPresas(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoUses}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}/${v}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosFichaTecnica(){return this.http.get(`${this.api_path}${this.api_path_combosTecnico}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDatoTecnico(E,c){return this.http.get(`${this.mirame_path}${this.api_path_datoTecnico}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComboSistemaDrenaje(){return this.http.get(this.mirame_path+this.api_path_comboSistemaDrenaje).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(E){return this.http.get(this.api_path+this.api_path_elementosRelacionados+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionados(E,c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getUsos(E){return this.http.get(`${this.api_path}${this.api_path_usos}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosRelevanciaPresion(){return this.http.get(`${this.mirame_path}${this.api_path_combosRelevancia}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getUsosPosiblesPrincipal(E){return this.http.get(`${this.mirame_path}${this.api_path_usosPosiblesPrincipal}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusquedaPrincipal(E){this.combosBusquedaPrimarioSubject$=new s.t(1),this.http.get(`${this.api_path}${this.api_path_usosPosiblesPrincipal}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaPrimarioSubject$)}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_presasIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}
1return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},1362:(Yt,Ze,m)=>{"use strict";m.d(Ze,{b:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_balsasEnCifras="",this.api_path_balsas="",this.api_path_balsasIds="",this.api_path_extensionBalsa="",this.api_path_curvasBalsa="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_reglasExplotacion="",this.api_path_count_balsas="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_curva_balsa="",this.api_path_combosBusqueda="",this.api_path_combosTecnico="",this.api_path_regla_explotacion_balsa="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_generarInformeGeneral="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_balsasEnCifras=this.configService.getApi("raft","balsasEnCifras"),this.api_path_balsas=this.configService.getApi("raft","balsas"),this.api_path_balsasIds=this.configService.getApi("raft","balsasIds"),this.api_path_extensionBalsa=this.configService.getApi("raft","extensionBalsa"),this.api_path_curvasBalsa=this.configService.getApi("raft","curvasBalsa"),this.api_path_reglasExplotacion=this.configService.getApi("raft","reglasExplotacion"),this.api_path_camposHistorico=this.configService.getApi("raft","camposHistorico"),this.api_path_historico=this.configService.getApi("raft","historico"),this.api_path_count_balsas=this.configService.getApi("raft","balsasCount"),this.api_path_guardarVersionado=this.configService.getApi("raft","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("raft","comparacionVersion"),this.api_path_curva_balsa=this.configService.getApi("raft","curvaBalsa"),this.api_path_combosBusqueda=this.configService.getApi("raft","combosBusqueda"),this.api_path_combosTecnico=this.configService.getApi("raft","combosTecnico"),this.api_path_regla_explotacion_balsa=this.configService.getApi("raft","reglaExplotacion"),this.api_path_controlVersiones=this.configService.getApi("raft","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("raft","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("raft","descartarOperacion"),this.api_path_generarInformeGeneral=this.configService.getApi("raft","generarInformeGeneral"),this.api_path_guardarRelacion=this.configService.getApi("raft","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("raft","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("raft","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("raft","elementosRelacionados")}getBalsasEnCifras(){return this.http.get(this.api_path+this.api_path_balsasEnCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("balsas-en-cifras",E.numBalsas||0)},error:E=>{this.matomoAnalyticsService.trackError("balsas-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getRafts(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.api_path+this.api_path_balsas,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getRaftsCount(E){return this.http.post(this.api_path+this.api_path_count_balsas,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCurvasBalsa(E){return this.http.get(this.api_path+this.api_path_curvasBalsa+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getReglasExplotacion(E){return this.http.get(this.api_path+this.api_path_reglasExplotacion+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDatosReglaExplotacion(E,c){return this.http.get(`${this.mirame_path}${this.api_path_regla_explotacion_balsa}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getRaft(E){return this.http.get(this.api_path+this.api_path_balsas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDatosCurva(E,c){return this.http.get(`${this.mirame_path}${this.api_path_curva_balsa}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_extensionBalsa}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}/${v}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusquedaBalsas(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosTecnicoBalsas(){this.http.get(`${this.api_path}${this.api_path_combosTecnico}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getControlDeVersiones(E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(E){return this.http.get(this.api_path+this.api_path_elementosRelacionados+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionados(E,c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_balsasIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}
1return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},1736:(Yt,Ze,m)=>{"use strict";m.d(Ze,{H:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_embalsesEnCifras="",this.api_path_embalses="",this.api_path_embalsesIds="",this.api_path_count_embalses="",this.api_path_combosBusqueda="",this.api_path_combosTecnico="",this.api_path_extensionEmbalse="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_getReglasExplotacion="",this.api_path_curvasEmbalse="",this.api_path_controlVersiones="",this.api_path_descartarOperacion="",this.api_path_curva_balsa="",this.api_path_regla_explotacion_balsa="",this.api_path_validarBloque="",this.api_path_generarInformeGeneral="",this.api_path_establecerFotoFavorita="",this.api_path_fotosRelacionadas="",this.api_path_fotoPrincipal="",this.combosBusquedaSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_embalsesEnCifras=this.configService.getApi("reservoir","embalsesEnCifras"),this.api_path_embalses=this.configService.getApi("reservoir","embalses"),this.api_path_embalsesIds=this.configService.getApi("reservoir","embalsesIds"),this.api_path_count_embalses=this.configService.getApi("reservoir","embalsesCount"),this.api_path_combosBusqueda=this.configService.getApi("reservoir","combosBusqueda"),this.api_path_combosTecnico=this.configService.getApi("reservoir","combosTecnico"),this.api_path_extensionEmbalse=this.configService.getApi("reservoir","extensionEmbalse"),this.api_path_guardarVersionado=this.configService.getApi("reservoir","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("reservoir","camposHistorico"),this.api_path_historico=this.configService.getApi("reservoir","historico"),this.api_path_comparacionVersion=this.configService.getApi("reservoir","comparacionVersion"),this.api_path_guardarRelacion=this.configService.getApi("reservoir","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("reservoir","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("reservoir","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("reservoir","elementosRelacionados"),this.api_path_getReglasExplotacion=this.configService.getApi("reservoir","getReglasExplotacion"),this.api_path_curvasEmbalse=this.configService.getApi("reservoir","curvasEmbalse"),this.api_path_controlVersiones=this.configService.getApi("reservoir","controlVersiones"),this.api_path_descartarOperacion=this.configService.getApi("reservoir","descartarOperacion"),this.api_path_curva_balsa=this.configService.getApi("reservoir","curvaEmbalse"),this.api_path_regla_explotacion_balsa=this.configService.getApi("reservoir","reglaExplotacion"),this.api_path_validarBloque=this.configService.getApi("reservoir","validarBloque"),this.api_path_generarInformeGeneral=this.configService.getApi("reservoir","generarInformeGeneral"),this.api_path_establecerFotoFavorita=this.configService.getApi("reservoir","establecerFotoFavorita"),this.api_path_fotosRelacionadas=this.configService.getApi("reservoir","fotosRelacionadas"),this.api_path_fotoPrincipal=this.configService.getApi("reservoir","fotoPrincipal")}getEmbalsesEnCifras(){return this.http.get(this.api_path+this.api_path_embalsesEnCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("embalses-infraestructura-en-cifras",E.numEmbalsesPrincipales||0)},error:E=>{this.matomoAnalyticsService.trackError("embalses-infraestructura-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getReservoirs(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.api_path+this.api_path_embalses,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getReservoirsCount(E){return this.http.post(this.api_path+this.api_path_count_embalses,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosTecnico(){return this.http.get(`${this.mirame_path}${this.api_path_combosTecnico}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getReservoir(E){return this.http.get(this.api_path+this.api_path_embalses+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_extensionEmbalse}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}/${v}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(E){return this.http.get(this.api_path+this.api_path_elementosRelacionados+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionados(E,c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getReglasExplotacion(E){return this.http.get(this.api_path+this.api_path_getReglasExplotacion+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCurvasEmbalse(E){return this.http.get(this.api_path+this.api_path_curvasEmbalse+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDatosCurva(E,c){return this.http.get(`${this.mirame_path}${this.api_path_curva_balsa}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDatosReglaExplotacion(E,c){return this.http.get(`${this.mirame_path}${this.api_path_regla_explotacion_balsa}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}setFotoFavorita(E,c){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${E}`,c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getfotosEmbalse(E){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getFotoPrincipal(E){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_embalsesIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}
1return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},5581:(Yt,Ze,m)=>{"use strict";m.d(Ze,{d:()=>q});var i=m(4707),s=m(5625),e=m(262),l=m(5e3),d=m(520),A=m(8914),C=m(4209),T=m(3468),S=m(4894),R=m(3932);let q=(()=>{class w{constructor(h,O,E,c,Z,v){this.http=h,this.configService=O,this.globalService=E,this.dialogModelService=c,this.translate=Z,this.router=v,this.mirame_path="",this.api_path="",this.api_path_user="",this.api_path_users="",this.api_path_combosBusqueda="",this.api_path_deleteUser="",this.api_path_getProfiles="",this.api_path_organizations="",this.api_path_saveProfile="",this.api_path_saveOrganization="",this.api_path_saveUser="",this.api_path_activateUser="",this.api_path_saveUserPass="",this.api_path_resetUserPass="",this.api_path_resetManualUserPass="",this.api_path_generarReportUsuarios="",this.combosBusquedaSubject$=new i.t(1),this.mirame_path=this.configService.getPrivatePath(),this.api_path=this.configService.getPublicPath(),this.api_path_users=this.configService.getApi("management","usuarios"),this.api_path_user=this.configService.getApi("management","usuario"),this.api_path_combosBusqueda=this.configService.getApi("management","combosBusqueda"),this.api_path_deleteUser=this.configService.getApi("management","borrarUsuario"),this.api_path_getProfiles=this.configService.getApi("management","perfiles"),this.api_path_saveProfile=this.configService.getApi("management","updatePerfil"),this.api_path_organizations=this.configService.getApi("management","organizaciones"),this.api_path_saveOrganization=this.configService.getApi("management","updateOrganizacion"),this.api_path_saveUser=this.configService.getApi("management","updateUsuario"),this.api_path_activateUser=this.configService.getApi("management","activarUsuario"),this.api_path_saveUserPass=this.configService.getApi("management","guardarPassword"),this.api_path_resetUserPass=this.configService.getApi("management","resetearPassword"),this.api_path_resetManualUserPass=this.configService.getApi("management","resetearPasswordManual"),this.api_path_generarReportUsuarios=this.configService.getApi("management","generarReportUsuarios")}getUsers(h){return this.http.post(this.mirame_path+this.api_path_users,h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}saveUser(h){return this.http.post(`${this.mirame_path}${this.api_path_saveUser}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getUser(){return this.http.get(`${this.mirame_path}${this.api_path_user}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.mirame_path}${this.api_path_combosBusqueda}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}deleteUser(h){return this.http.get(`${this.mirame_path}${this.api_path_deleteUser}${h}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}activateUser(h,O){return this.http.get(`${this.mirame_path}${this.api_path_activateUser}${h}/${O}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getProfiles(){return this.http.get(this.mirame_path+this.api_path_getProfiles).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}saveUserPass(h){return this.http.put(`${this.mirame_path}${this.api_path_saveUserPass}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}resetUserPass(h){return this.http.put(`${this.api_path}${this.api_path_resetUserPass}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}resetManualUserPass(h){return this.http.put(`${this.api_path}${this.api_path_resetManualUserPass}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}saveProfile(h){return this.http.post(`${this.mirame_path}${this.api_path_saveProfile}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getOrganizations(h){return this.http.post(this.mirame_path+this.api_path_organizations,h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}saveOrganization(h){return this.http.post(`${this.mirame_path}${this.api_path_saveOrganization}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}resetPass(h,O=!1){this.dialogModelService.openConfirmDialog(this.translate.instant("dialogos.restablecerPass.titulo"),this.translate.instant("dialogos.restablecerPass.msgRestablecer")).subscribe(E=>{E&&this.resetUserPass(h).subscribe(c=>{200===c.status?this.dialogModelService.openMessageDialog(this.translate.instant("dialogos.restablecerPass.titulo"),this.translate.instant("dialogos.restablecerPass.restablecerCorrecto")).subscribe(Z=>{O&&this.router.navigate(["/public/login"])}):this.dialogModelService.openMessageDialog(this.translate.instant("dialogos.restablecerPass.titulo"),this.translate.instant("dialogos.restablecerPass.restablecerError"))})})}resetManualPass(h,O=!1){this.dialogModelService.openConfirmDialog(this.translate.instant("dialogos.restablecerPass.titulo"),this.translate.instant("dialogos.restablecerPass.msgRestablecer")).subscribe(E=>{E&&this.resetManualUserPass(h).subscribe(c=>{200===c.status?this.dialogModelService.openMessageDialog(this.translate.instant("dialogos.restablecerPass.titulo"),this.translate.instant("dialogos.restablecerPass.restablecerCorrectoManual")).subscribe(Z=>{O&&this.router.navigate(["/public/login"])}):this.dialogModelService.openMessageDialog(this.translate.instant("dialogos.restablecerPass.titulo"),this.translate.instant("dialogos.restablecerPass.restablecerError"))})})}generarReportUsuarios(h){return this.http.post(`${this.mirame_path}${this.api_path_generarReportUsuarios}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(l.LFG(d.eN),l.LFG(A.E),l.LFG(C.U),l.LFG(T.r),l.LFG
1(S.sK),l.LFG(R.F0))},w.\u0275prov=l.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},6291:(Yt,Ze,m)=>{"use strict";m.d(Ze,{I:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_actuaciones="",this.api_path_actuaciones_ficha="",this.api_path_actuationsCifras="",this.api_path_count_acciones_cauce="",this.api_path_combosBusqueda="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_extensionActuacion="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_comparacionVersion="",this.api_path_descartarOperacion="",this.api_path_validarBloque="",this.api_path_generarInformeGeneral="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_comboMasasRelacionadas="",this.api_path_programas="",this.api_path_comboProgramaValoresSinAsignar="",this.api_path_combosProgramas="",this.api_path_guardarVersionadoPrograma="",this.api_path_guardarFichero="",this.api_path_guardarVersionadoElemento="",this.api_path_combos_elem_relacionados="",this.api_path_checkErrorFechasMedida="",this.api_path_elementosById="",this.api_path_combos="",this.api_path_fotoPrincipal="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",this.api_path_validarElementosRelacionadosBloque="",this.api_path_combos_actuaciones_elem_relacionadosPoblaciones="",this.combosBusquedaSubject$=new s.t(1),this.combosProgramaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("actuations","extension"),this.api_path_actuationsCifras=this.configService.getApi("actuations","actuacionesEnCifras"),this.api_path_actuaciones=this.configService.getApi("actuations","actuaciones"),this.api_path_actuaciones_ficha=this.configService.getApi("actuations","actuacionesFicha"),this.api_path_count_acciones_cauce=this.configService.getApi("actuations","count"),this.api_path_combosBusqueda=this.configService.getApi("actuations","combos"),this.api_path_camposHistorico=this.configService.getApi("actuations","camposHistorico"),this.api_path_historico=this.configService.getApi("actuations","historico"),this.api_path_extensionActuacion=this.configService.getApi("actuations","extensionActuacion"),this.api_path_guardarVersionado=this.configService.getApi("actuations","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("actuations","controlVersiones"),this.api_path_comparacionVersion=this.configService.getApi("actuations","comparacionVersion"),this.api_path_descartarOperacion=this.configService.getApi("actuations","descartarVersion"),this.api_path_validarBloque=this.configService.getApi("actuations","validarVersion"),this.api_path_generarInformeGeneral=this.configService.getApi("actuations","generarInformeGeneral"),this.api_path_programas=this.configService.getApi("actuations","getProgramas"),this.api_path_guardarRelacion=this.configService.getApi("actuations","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("actuations","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("actuations","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("actuations","elementosRelacionados"),this.api_path_combos_elem_relacionados=this.configService.getApi("actuations","combosElementosRelacionadosActuacion"),this.api_path_comboMasasRelacionadas=this.configService.getApi("actuations","comboMasasRelacionadas"),this.api_path_comboProgramaValoresSinAsignar=this.configService.getApi("actuations","comboProgramaSinAsignar"),this.api_path_combosProgramas=this.configService.getApi("actuations","combosPrograma"),this.api_path_guardarVersionadoPrograma=this.configService.getApi("actuations","guardarVersionadoPrograma"),this.api_path_guardarFichero=this.configService.getApi("actuations","guardarFichero"),this.api_path_guardarVersionadoElemento=this.configService.getApi("actuations","guardarVersionadoElemento"),this.api_path_combos=this.configService.getApi("actuations","combos"),this.api_path_elementosById=this.configService.getApi("actuations","getElementosById"),this.api_path_checkErrorFechasMedida=this.configService.getApi("actuations","checkErrorFechasMedida"),this.api_path_validarElementosRelacionadosBloque=this.configService.getApi("actuations","validaElementosRelacionadosBloque"),this.api_path_fotoPrincipal=this.configService.getApi("actuations","fotoPrincipal"),this.api_path_fotosRelacionadas=this.configService.getApi("actuations","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("actuations","establecerFotoFavorita"),this.api_path_combos_actuaciones_elem_relacionadosPoblaciones=this.configService.getApi("actuations","combosElementosRelacionadosPoblaciones")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getActuationsEnCifras(){return this.http.get(this.api_path+this.api_path_actuationsCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getActuations(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_actuaciones,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getActuationsCount(h){return this.http.post(this.api_path+this.api_path_count_acciones_cauce,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getActuation(h){return this.http.get(this.api_path+this.api_path_actuaciones+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getActuationFichaGral(h){return this.http.get(this.api_path+this.api_path_actuaciones_ficha+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O,E){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E?`${h}/${O}/${E}`:`${h}/${O}`}`,{params:{}}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getProgramas(h){return this.http.get(`${this.api_path}${this.api_path_programas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosProgramas(){this.http.get(`${this.api_path}${this.api_path_combosProgramas}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosProgramaSubject$)}getComboProgramaSinAsignar(h){return this.http.get(`${this.mirame_path}${this.api_path_comboProgramaValoresSinAsignar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboMasasRelacionadas(h){return this.http.get(`${this.api_path}${this.api_path_comboMasasRelacionadas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionadoPrograma(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPrograma}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}savefile(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarFichero}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionadoElemento(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoElemento}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombos(){this.http.get(`${this.mirame_path}${this.api_path_combos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getElementosById(h){return this.http.get(`${this.api_path}${this.api_path_elementosById}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosElementosRelacionadosActuacion(h,O){return this.http.get(`${this.mirame_path}${this.api_path_combos_elem_relacionados}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}/${c}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}checkErrorFechasMedida(h){return this.http.post(`${this.mirame_path}${this.api_path_checkErrorFechasMedida}`,h,{observe:"response",responseType:"text"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosElementosRelacionadosPoblaciones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_combos_actuaciones_elem_relacionadosPoblaciones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotosActuaciones(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validaElementosRelacionadosBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarElementosRelacionadosBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},7973:(Yt,Ze,m)=>{"use strict";m.d(Ze,{W:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.mirame_path="",this.api_path_count_contratos="",this.api_path_contratos="",this.api_path_contratosEnCifras="",this.api_path_combos="",this.api_path_generarInformeGeneral="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_descartarOperacion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_validarBloque="",this.api_path_comparacionVersion="",this.api_path_checkErrorFechasMedida="",this.api_path_checkErrorPresupuesto="",this.api_path_checkErrorDistribucionPresupuestoAutomatica="",this.api_path_checkErrorDistribucionPresupuestoPorMedidas="",this.api_path_validarSolapeFechasMedidas="",this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.mirame_path=this.configService.getPrivatePath(),this.api_path_count_contratos=this.configService.getApi("contracts","count"),this.api_path_contratos=this.configService.getApi("contracts","contracts"),this.api_path_contratosEnCifras=this.configService.getApi("contracts","cifras"),this.api_path_combos=this.configService.getApi("contracts","combos"),this.api_path_generarInformeGeneral=this.configService.getApi("contracts","generarInformeGeneral"),this.api_path_guardarVersionado=this.configService.getApi("contracts","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("contracts","controlVersiones"),this.api_path_descartarOperacion=this.configService.getApi("contracts","descartarOperacion"),this.api_path_camposHistorico=this.configService.getApi("contracts","camposHistorico"),this.api_path_historico=this.configService.getApi("contracts","historico"),this.api_path_validarBloque=this.configService.getApi("contracts","validarBloque"),this.api_path_comparacionVersion=this.configService.getApi("contracts","comparacionVersion"),this.api_path_checkErrorFechasMedida=this.configService.getApi("contracts","checkErrorFechasMedida"),this.api_path_checkErrorPresupuesto=this.configService.getApi("contracts","checkErrorPresupuesto"),this.api_path_checkErrorDistribucionPresupuestoAutomatica=this.configService.getApi("contracts","checkErrorDistribucionPresupuestoAutomatica"),this.api_path_checkErrorDistribucionPresupuestoPorMedidas=this.configService.getApi("contracts","checkErrorDistribucionPresupuestoPorMedidas"),this.api_path_validarSolapeFechasMedidas=this.configService.getApi("contracts","validarSolapeFechaMedidas")}getContratosEnCifras(){return this.http.get(this.mirame_path+this.api_path_contratosEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getContracts(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.mirame_path+this.api_path_contratos,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getContractsCount(h){return this.http.post(this.mirame_path+this.api_path_count_contratos,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getContract(h){return this.http.get(this.mirame_path+this.api_path_contratos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombos(){this.http.get(`${this.mirame_path}${this.api_path_combos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}generarInformeGeneral(h){return this.http.post(`${this.mirame_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}/${c}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}checkErrorFechasMedida(h){return this.http.post(`${this.mirame_path}${this.api_path_checkErrorFechasMedida}`,h,{observe:"response",responseType:"text"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}checkErrorPresupuesto(h){return this.http.post(`${this.mirame_path}${this.api_path_checkErrorPresupuesto}`,h,{observe:"response",responseType:"text"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}checkErrorDistribucionPresupuestoAutomatica(h){return this.http.post(`${this.mirame_path}${this.api_path_checkErrorDistribucionPresupuestoAutomatica}`,h,{observe:"response",responseType:"text"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}checkErrorDistribucionPresupuestoPorMedidas(h){return this.http.post(`${this.mirame_path}${this.api_path_checkErrorDistribucionPresupuestoPorMedidas}`,h,{observe:"response",responseType:"text"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarSolapeFechasMedidas(h){return this.http.post(`${this.mirame_path}${this.api_path_validarSolapeFechasMedidas}`,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},1036:(Yt,Ze,m)=>{"use strict";m.d(Ze,{v:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_count_medidas="",this.api_path_medidas="",this.api_path_medidasEnCifras="",this.api_path_combos="",this.api_path_combos_tecnico="",this.api_path_entidadesFinanciacion="",this.api_path_presupuesto="",this.api_path_presupuesto_anual="",this.api_path_presupuesto_contratado="",this.api_path_comboSubgrupo="",this.api_path_comboSubtipoRepo2015="",this.api_path_comboSubtipoIPH="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_validarElementosRelacionadosBloque="",this.api_path_descartarOperacion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarVersionado="",this.api_path_guardarVersionadoPresupuesto="",this.api_path_comparacionVersion="",this.api_path_recalcularCostesAnualesPresupuesto="",this.api_path_comboNucleosPoblacion="",this.api_path_elementosRelacionados="",this.api_path_elementosRelacionables="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_combos_medidas_elem_relacionados="",this.api_path_combos_medidas_elem_relacionadosPoblaciones="",this.api_path_validarPresupuestoAnual="",this.api_path_validarDistribucionAutomatica="",this.api_path_validarDistribucionContrato="",this.api_path_validarDCFinanciacion="",this.api_path_generarInformeGeneral="",this.api_path_validarProgramaMedida="",this.api_path_elementosById="",this.api_path_descartarBloque="",this.api_path_presupuestoProvincias="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("measuresProgram","extension"),this.api_path_count_medidas=this.configService.getApi("measuresProgram","count"),this.api_path_medidas=this.configService.getApi("measuresProgram","measures"),this.api_path_medidasEnCifras=this.configService.getApi("measuresProgram","cifras"),this.api_path_combos=this.configService.getApi("measuresProgram","combos"),this.api_path_combos_tecnico=this.configService.getApi("measuresProgram","combosTecnico"),this.api_path_entidadesFinanciacion=this.configService.getApi("measuresProgram","entidadesFinanciacion"),this.api_path_presupuesto=this.configService.getApi("measuresProgram","presupuesto"),this.api_path_presupuesto_anual=this.configService.getApi("measuresProgram","presupuestoAnual"),this.api_path_presupuesto_contratado=this.configService.getApi("measuresProgram","presupuestoContratado"),this.api_path_comboSubgrupo=this.configService.getApi("measuresProgram","comboSubgrupo"),this.api_path_comboSubtipoRepo2015=this.configService.getApi("measuresProgram","comboSubtipoRepo2015"),this.api_path_comboSubtipoIPH=this.configService.getApi("measuresProgram","comboSubtipoIPH"),this.api_path_controlVersiones=this.configService.getApi("measuresProgram","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("measuresProgram","validarBloque"),this.api_path_validarElementosRelacionadosBloque=this.configService.getApi("measuresProgram","validaElementosRelacionadosBloque"),this.api_path_descartarOperacion=this.configService.getApi("measuresProgram","descartarOperacion"),this.api_path_camposHistorico=this.configService.getApi("measuresProgram","camposHistorico"),this.api_path_historico=this.configService.getApi("measuresProgram","historico"),this.api_path_guardarVersionado=this.configService.getApi("measuresProgram","guardarVersionado"),this.api_path_guardarVersionadoPresupuesto=this.configService.getApi("measuresProgram","guardarVersionadoPresupuesto"),this.api_path_comparacionVersion=this.configService.getApi("measuresProgram","comparacionVersion"),this.api_path_recalcularCostesAnualesPresupuesto=this.configService.getApi("measuresProgram","recalcularCostesAnuales"),this.api_path_comboNucleosPoblacion=this.configService.getApi("measuresProgram","comboNucleos"),this.api_path_elementosRelacionados=this.configService.getApi("measuresProgram","elementosRelacionados"),this.api_path_elementosRelacionables=this.configService.getApi("measuresProgram","elementosRelacionables"),this.api_path_guardarRelacion=this.configService.getApi("measuresProgram","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("measuresProgram","borrarRelacion"),this.api_path_combos_medidas_elem_relacionados=this.configService.getApi("measuresProgram","combosElementosRelacionadosMedidas"),this.api_path_combos_medidas_elem_relacionadosPoblaciones=this.configService.getApi("measuresProgram","combosElementosRelacionadosPoblaciones"),this.api_path_validarPresupuestoAnual=this.configService.getApi("measuresProgram","validarPresupuestoAnual"),this.api_path_validarDistribucionAutomatica=this.configService.getApi("measuresProgram","validarDistribucionAutomatica"),this.api_path_validarDistribucionContrato=this.configService.getApi("measuresProgram","validarDistribucionContrato"),this.api_path_validarDCFinanciacion=this.configService.getApi("measuresProgram","validarDCFinanciacion"),this.api_path_generarInformeGeneral=this.configService.getApi("measuresProgram","generarInformeGeneral"),this.api_path_elementosById=this.configService.getApi("measuresProgram","getElementosById"),this.api_path_validarProgramaMedida=this.configService.getApi("measuresProgram","validarProgramaMedida"),this.api_path_descartarBloque=this.configService.getApi("measuresProgram","descartarBloque"),this.api_path_presupuestoProvincias=this.configService.getApi("measuresProgram","presupuestoProvincias")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getProgramaMedidasEnCifras(){return this.http.get(this.api_path+this.api_path_medidasEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getRepartoPresupuestoProvincias(){return this.http.get(this.api_path+this.api_path_presupuestoProvincias).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMeasures(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_medidas,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMeasuressCount(h){return this.http.post(this.api_path+this.api_path_count_medidas,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMeasure(h){return this.http.get(this.api_path+this.api_path_medidas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosTecnico(){this.http.get(`${this.mirame_path}${this.api_path_combos_tecnico}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getCombos(){this.http.get(`${this.api_path}${this.api_path_combos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getEntidadesFinanciacion(h){return this.http.get(`${this.api_path}${this.api_path_entidadesFinanciacion}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getBudgetById(h){return this.http.get(`${this.api_path}${this.api_path_presupuesto}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getAnnualBudgetById(h){return this.http.get(`${this.api_path}${this.api_path_presupuesto_anual}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getContractedBudgetById(h){return this.http.get(`${this.api_path}${this.api_path_presupuesto_contratado}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboSubgrupo(h){return this.http.get(`${this.api_path}${this.api_path_comboSubgrupo}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboNucleosPoblacion(h){return this.http.get(`${this.api_path}${this.api_path_comboNucleosPoblacion}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboSubtipoRepo2015(h){return this.http.get(`${this.api_path}${this.api_path_comboSubtipoRepo2015}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboSubtipoRepoIPH(h,O){return this.http.get(`${this.api_path}${this.api_path_comboSubtipoIPH}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validaElementosRelacionadosBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarElementosRelacionadosBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O,E){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E?`${h}/${O}/${E}`:`${h}/${O}`}`,{params:{}}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_descartarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h,O){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${Z?`${h}/${O}/${E}/${c}/${Z}`:`${h}/${O}/${E}/${c}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionadoPresupuesto(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPresupuesto}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}recalculateAnnualCosts(h){return this.http.post(`${this.mirame_path}${this.api_path_recalcularCostesAnualesPresupuesto}`,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}/${c}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosElementosRelacionadosMedidas(h,O){return this.http.get(`${this.mirame_path}${this.api_path_combos_medidas_elem_relacionados}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosElementosRelacionadosPoblaciones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_combos_medidas_elem_relacionadosPoblaciones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarPresupuestoAnual(h){return this.http.post(`${this.mirame_path}${this.api_path_validarPresupuestoAnual}`,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarDistribucionAutomatica(h){return this.http.post(`${this.mirame_path}${this.api_path_validarDistribucionAutomatica}`,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarDistribucionContrato(h){return this.http.post(`${this.mirame_path}${this.api_path_validarDistribucionContrato}`,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarDCFinanciacion(h){return this.http.post(`${this.mirame_path}${this.api_path_validarDCFinanciacion}`,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarProgramaMedida(h){return this.http.post(`${this.mirame_path}${this.api_path_validarProgramaMedida}`,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosById(h){return this.http.get(`${this.api_path}${this.api_path_elementosById}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},5793:(Yt,Ze,m)=>{"use strict";m.d(Ze,{t:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_programaSeguimiento="",this.api_path_programaSeguimientoIds="",this.api_path_programaSeguimientoEnCifras="",this.api_path_combosEstacionSeguimiento="",this.api_path_masasSubterraneas="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarVersionado="",this.api_path_combosBusqueda="",this.api_path_combosFichaTecnica="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_controlVersiones="",this.api_path_comparacionVersion="",this.api_path_estacionesPrograma="",this.api_path_generarInformeGeneral="",this.api_path_count_programs="",this.api_path_extensionPrograma="",this.combosBusquedaSubject$=new s.t(1),this.combosSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_programaSeguimiento=this.configService.getApi("monitoringProgram","programasSeguimiento"),this.api_path_programaSeguimientoIds=this.configService.getApi("monitoringProgram","programasSeguimientoIds"),this.api_path_programaSeguimientoEnCifras=this.configService.getApi("monitoringProgram","programasSeguimientoEnCifras"),this.api_path_combosEstacionSeguimiento=this.configService.getApi("monitoringProgram","combosEstacionesSeguimiento"),this.api_path_masasSubterraneas=this.configService.getApi("monitoringProgram","masasSubterraneas"),this.api_path_camposHistorico=this.configService.getApi("monitoringProgram","camposHistorico"),this.api_path_historico=this.configService.getApi("monitoringProgram","historico"),this.api_path_guardarVersionado=this.configService.getApi("monitoringProgram","guardarVersionado"),this.api_path_combosBusqueda=this.configService.getApi("monitoringProgram","combosBusqueda"),this.api_path_combosFichaTecnica=this.configService.getApi("monitoringProgram","combosFichaTecnica"),this.api_path_guardarVersionado=this.configService.getApi("monitoringProgram","guardarVersionado"),this.api_path_validarBloque=this.configService.getApi("monitoringProgram","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("monitoringProgram","descartarOperacion"),this.api_path_controlVersiones=this.configService.getApi("monitoringProgram","controlVersiones"),this.api_path_comparacionVersion=this.configService.getApi("monitoringProgram","comparacionVersion"),this.api_path_estacionesPrograma=this.configService.getApi("monitoringProgram","estacionesAsociadas"),this.api_path_generarInformeGeneral=this.configService.getApi("monitoringProgram","generarInformeGeneral"),this.api_path_count_programs=this.configService.getApi("monitoringProgram","count"),this.api_path_extensionPrograma=this.configService.getApi("monitoringProgram","extensionPrograma")}getAguasSubterraneasEnCifras(){return this.http.get(this.api_path+this.api_path_programaSeguimientoEnCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("programas-aguas-subterraneas-en-cifras",E.numeroProgramasSeguimiento||0)},error:E=>{this.matomoAnalyticsService.trackError("programas-aguas-subterraneas-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getEstaciones(E,c,Z,v,ee,X){let te=new i.LE;return te=te.append("pageNumber",Z||"0"),te=te.append("pageSize",v||"10"),te=te.append("tipoOrdenacion",ee||A.C.TipoOrdenacion.ASCENDENTE),te=te.append("campoOrdenacion",X||"id"),te=te.append("idProgramaSeguimiento",c),this.http.post(this.mirame_path+this.api_path_estacionesPrograma,E,{params:te}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getMonitoringPrograms(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.api_path+this.api_path_programaSeguimiento,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getMonitoringProgramCount(E){return this.http.post(this.api_path+this.api_path_count_programs,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionPrograma(E){return this.http.get(`${this.api_path}${this.api_path_extensionPrograma}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComboEstacionesSeguimiento(){return this.http.get(`${this.api_path}${this.api_path_combosEstacionSeguimiento}
1`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getMonitoringProgram(E){return this.http.get(this.api_path+this.api_path_programaSeguimiento+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoMasasSubterraneas(E){return this.http.get(this.api_path+this.api_path_masasSubterraneas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosFichaTecnica(){this.http.get(`${this.api_path}${this.api_path_combosFichaTecnica}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosSubject$)}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(E,c){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(E){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_programaSeguimientoIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},9080:(Yt,Ze,m)=>{"use strict";m.d(Ze,{r:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.mirame_path="",this.api_path="",this.api_path_estacionSeguimiento="",this.api_path_estacionSeguimientoIds="",this.api_path_estacionSeguimientoEnCifras="",this.api_path_combosBusquedaEstacionSeguimiento="",this.api_path_combosFichaTecnicaEstacionSeguimiento="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_descartarOperacion="",this.api_path_validarBloque="",this.api_path_comparacionVersion="",this.api_path_fotoPrincipal="",this.api_path_coordenadasEstacionSeguimiento="",this.api_path_fotosRelacionadas="",this.api_path_getResultadosGraficaPuntosCalidad="",this.api_path_get="",this.api_path_generarInformeGeneral="",this.api_path_establecerFotoFavorita="",this.api_path_count_estaciones="",this.api_path_comboPuntosCalidadInformes="",this.api_path_generarInformeQuimico="",this.api_path_generarInformePiezometrico="",this.api_path_piezometria_versions="",this.api_path_resultadosAnaliticos="",this.combosBusquedaSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.mirame_path=this.configService.getPrivatePath(),this.api_path=this.configService.getPublicPath(),this.api_path_estacionSeguimiento=this.configService.getApi("monitoringStation","estacionesSeguimiento"),this.api_path_estacionSeguimientoIds=this.configService.getApi("monitoringStation","estacionesSeguimientoIds"),this.api_path_estacionSeguimientoEnCifras=this.configService.getApi("monitoringStation","estacionesSeguimientoEnCifras"),this.api_path_combosBusquedaEstacionSeguimiento=this.configService.getApi("monitoringStation","combosBusquedaEstacionesSeguimiento"),this.api_path_combosFichaTecnicaEstacionSeguimiento=this.configService.getApi("monitoringStation","combosFichaTecnicaEstacionesSeguimiento"),this.api_path_camposHistorico=this.configService.getApi("monitoringStation","camposHistorico"),this.api_path_historico=this.configService.getApi("monitoringStation","historico"),this.api_path_guardarVersionado=this.configService.getApi("monitoringStation","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("monitoringStation","controlVersiones"),this.api_path_descartarOperacion=this.configService.getApi("monitoringStation","descartarOperacion"),this.api_path_validarBloque=this.configService.getApi("monitoringStation","validarBloque"),this.api_path_comparacionVersion=this.configService.getApi("monitoringStation","comparacionVersion"),this.api_path_fotoPrincipal=this.configService.getApi("monitoringStation","fotoPrincipal"),this.api_path_coordenadasEstacionSeguimiento=this.configService.getApi("monitoringStation","coordenadasEstacionesSeguimiento"),this.api_path_fotosRelacionadas=this.configService.getApi("monitoringStation","fotosRelacionadas"),this.api_path_getResultadosGraficaPuntosCalidad=this.configService.getApi("monitoringStation","resultadoGraficasPuntosCalidad"),this.api_path_generarInformeGeneral=this.configService.getApi("monitoringStation","generarInformeGeneral"),this.api_path_establecerFotoFavorita=this.configService.getApi("monitoringStation","establecerFotoFavorita"),this.api_path_count_estaciones=this.configService.getApi("monitoringStation","count"),this.api_path_comboPuntosCalidadInformes=this.configService.getApi("monitoringStation","getComboPuntosCalidadInformes"),this.api_path_generarInformeQuimico=this.configService.getApi("monitoringStation","generarInformeQuimico"),this.api_path_generarInformePiezometrico=this.configService.getApi("monitoringStation","generarInformePiezometrico"),this.api_path_piezometria_versions=this.configService.getApi("monitoringStation","piezometriaControlVersiones"),this.api_path_resultadosAnaliticos=this.configService.getApi("monitoringStation","resultadosAnaliticos")}getAguasSubterraneasEnCifras(){return this.http.get(this.api_path+this.api_path_estacionSeguimientoEnCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("estaciones-aguas-subterraneas-en-cifras",E.numeroPiezometros||0)},error:E=>{this.matomoAnalyticsService.trackError("estaciones-aguas-subterraneas-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getMonitoringStations(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.api_path+this.api_path_estacionSeguimiento,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getMonitoringStationsCount(E){return this.http.post(this.api_path+this.api_path_count_estaciones,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusquedaEstacionesSeguimiento(){this.http.get(`${this.api_path}${this.api_path_combosBusquedaEstacionSeguimiento}
1`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosFichaTecnicaEstacionesSeguimiento(){return this.http.get(`${this.api_path}${this.api_path_combosFichaTecnicaEstacionSeguimiento}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getMonitoringStation(E){return this.http.get(this.api_path+this.api_path_estacionSeguimiento+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getFotoPrincipal(E){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_coordenadasEstacionSeguimiento}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getfotosEstacionesSeguimiento(E){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getResultadosGraficaPuntosCalidad(E,c){return this.http.get(`${this.api_path}${this.api_path_getResultadosGraficaPuntosCalidad}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}setFotoFavorita(E,c){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${E}`,c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeQuimico(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeQuimico}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformePiezo(E){return this.http.post(`${this.api_path}${this.api_path_generarInformePiezometrico}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComboPuntosCalidadInformes(){return this.http.get(this.api_path+this.api_path_comboPuntosCalidadInformes).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlVersionesPiezometria(E,c){let Z="";return Z=E&&c?`${this.mirame_path}${this.api_path_piezometria_versions}?pageNumber=${E}&pageSize=${c}`:`${this.mirame_path}${this.api_path_piezometria_versions}`,this.http.get(Z).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarVersionPiezometria(E){return this.http.delete(`${this.mirame_path}${this.api_path_piezometria_versions}${E}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarVersionPiezometria(E){return this.http.post(`${this.mirame_path}${this.api_path_piezometria_versions}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_estacionSeguimientoIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getResultadosAnaliticos(E){return this.http.get(this.api_path+this.api_path_resultadosAnaliticos+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}
1return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},7124:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Y:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_programaSeguimiento="",this.api_path_programaSeguimientoIds="",this.api_path_count_programs="",this.api_path_programaSeguimientoEnCifras="",this.api_path_combosProgramaSeguimientoAguasSuperficiales="",this.api_path_combosBusqueda="",this.api_path_programaSeguimientoPrograma="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarVersionado="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_generarInformeGeneral="",this.api_path_controlVersiones="",this.api_path_extensioPrograma="",this.api_path_estacionesPrograma="",this.api_path_puntosMuestreoPrograma="",this.combosBusquedaSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_programaSeguimiento=this.configService.getApi("surfaceMonitoringProgram","programasSeguimiento"),this.api_path_programaSeguimientoIds=this.configService.getApi("surfaceMonitoringProgram","programasSeguimientoIds"),this.api_path_count_programs=this.configService.getApi("surfaceMonitoringProgram","count"),this.api_path_programaSeguimientoEnCifras=this.configService.getApi("surfaceMonitoringProgram","programasSeguimientoEnCifras"),this.api_path_combosProgramaSeguimientoAguasSuperficiales=this.configService.getApi("surfaceMonitoringProgram","getCombos"),this.api_path_combosBusqueda=this.configService.getApi("surfaceMonitoringProgram","combosBusqueda"),this.api_path_programaSeguimientoPrograma=this.configService.getApi("surfaceMonitoringProgram","programasSeguimientoPrograma"),this.api_path_camposHistorico=this.configService.getApi("surfaceMonitoringProgram","camposHistorico"),this.api_path_historico=this.configService.getApi("surfaceMonitoringProgram","historico"),this.api_path_guardarVersionado=this.configService.getApi("surfaceMonitoringProgram","guardarVersionado"),this.api_path_validarBloque=this.configService.getApi("surfaceMonitoringProgram","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("surfaceMonitoringProgram","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("surfaceMonitoringProgram","comparacionVersion"),this.api_path_generarInformeGeneral=this.configService.getApi("surfaceMonitoringProgram","generarInformeGeneral"),this.api_path_controlVersiones=this.configService.getApi("surfaceMonitoringProgram","controlVersiones"),this.api_path_extensioPrograma=this.configService.getApi("surfaceMonitoringProgram","extensionPrograma"),this.api_path_estacionesPrograma=this.configService.getApi("surfaceMonitoringProgram","estacionesAsociadas"),this.api_path_puntosMuestreoPrograma=this.configService.getApi("surfaceMonitoringProgram","puntosMuestreoAsociados")}getProgramaAguasSuperficialesEnCifras(){return this.http.get(this.api_path+this.api_path_programaSeguimientoEnCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("programas-aguas-superficiales-en-cifras",E.numeroprogramas||0)},error:E=>{this.matomoAnalyticsService.trackError("programas-aguas-superficiales-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getSurfaceMonitoringPrograms(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.api_path+this.api_path_programaSeguimiento,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getMonitoringProgramCount(E){return this.http.post(this.api_path+this.api_path_count_programs,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosProgramaSeguimientoAguasSuperficiales(){return this.http.get(this.api_path+this.api_path_combosProgramaSeguimientoAguasSuperficiales).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSurfaceMonitoringProgram(E){return this.http.get(this.api_path+this.api_path_programaSeguimiento+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSurfaceMonitoringProgramProgram(E){return this.http.get(this.api_path+this.api_path_programaSeguimientoPrograma+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_extensioPrograma}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getEstaciones(E,c,Z,v,ee,X){let te=new i.LE;return te=te.append("pageNumber",Z||"0"),te=te.append("pageSize",v||"10"),te=te.append("tipoOrdenacion",ee||A.C.TipoOrdenacion.ASCENDENTE),te=te.append("campoOrdenacion",X||"nombreEstacion"),te=te.append("idProgramaSeguimiento",c),this.http.post(this.api_path+this.api_path_estacionesPrograma,E,{params:te}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getPuntosMuestreo(E,c,Z,v,ee,X){let te=new i.LE;return te=te.append("pageNumber",Z||"0"),te=te.append("pageSize",v||"10"),te=te.append("tipoOrdenacion",ee||A.C.TipoOrdenacion.ASCENDENTE),te=te.append("campoOrdenacion",X||"nombreEstacion"),te=te.append("idProgramaSeguimiento",c),this.http.post(this.mirame_path+this.api_path_puntosMuestreoPrograma,E,{params:te}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_programaSeguimientoIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}
1return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},6756:(Yt,Ze,m)=>{"use strict";m.d(Ze,{$:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_count_estaciones="",this.api_path_estacionSeguimiento="",this.api_path_estacionSeguimientoIds="",this.api_path_estacionSeguimientoEnCifras="",this.api_path_combosBusquedaEstacionSeguimiento="",this.api_path_comboSubprogPorIdProgEstacionSeguimiento="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_descartarOperacion="",this.api_path_validarBloque="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_puntosMuestreo="",this.api_path_extensionEstacion="",this.api_path_generarInformeGeneral="",this.api_path_getSubprogramas="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_comboMasasRelacionadas="",this.combosBusquedaSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.mirame_path=this.configService.getPrivatePath(),this.api_path=this.configService.getPublicPath(),this.api_path_estacionSeguimiento=this.configService.getApi("surfaceMonitoringStation","estacionesSeguimiento"),this.api_path_estacionSeguimientoIds=this.configService.getApi("surfaceMonitoringStation","estacionesSeguimientoIds"),this.api_path_count_estaciones=this.configService.getApi("surfaceMonitoringStation","count"),this.api_path_estacionSeguimientoEnCifras=this.configService.getApi("surfaceMonitoringStation","getEstacionesSeguimientoEnCifras"),this.api_path_combosBusquedaEstacionSeguimiento=this.configService.getApi("surfaceMonitoringStation","combosBusquedaEstacionesSeguimiento"),this.api_path_comboSubprogPorIdProgEstacionSeguimiento=this.configService.getApi("surfaceMonitoringStation","comboSubprogPorIdProgEstacionSeguimiento"),this.api_path_guardarVersionado=this.configService.getApi("surfaceMonitoringStation","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("surfaceMonitoringStation","controlVersiones"),this.api_path_descartarOperacion=this.configService.getApi("surfaceMonitoringStation","descartarOperacion"),this.api_path_validarBloque=this.configService.getApi("surfaceMonitoringStation","validarBloque"),this.api_path_camposHistorico=this.configService.getApi("surfaceMonitoringStation","camposHistorico"),this.api_path_historico=this.configService.getApi("surfaceMonitoringStation","historico"),this.api_path_comparacionVersion=this.configService.getApi("surfaceMonitoringStation","comparacionVersion"),this.api_path_puntosMuestreo=this.configService.getApi("surfaceMonitoringStation","puntosMuestreo"),this.api_path_extensionEstacion=this.configService.getApi("surfaceMonitoringStation","extensionEstacion"),this.api_path_generarInformeGeneral=this.configService.getApi("surfaceMonitoringStation","generarInformeGeneral"),this.api_path_getSubprogramas=this.configService.getApi("surfaceMonitoringStation","getSupgrogramas"),this.api_path_guardarRelacion=this.configService.getApi("surfaceMonitoringStation","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("surfaceMonitoringStation","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("surfaceMonitoringStation","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("surfaceMonitoringStation","elementosRelacionados"),this.api_path_comboMasasRelacionadas=this.configService.getApi("surfaceMonitoringStation","comboMasasRelacionadas")}getAguasSuperficialesEnCifras(){return this.http.get(this.api_path+this.api_path_estacionSeguimientoEnCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("estaciones-aguas-superficiales-en-cifras",E.numeroestaciones||0)},error:E=>{this.matomoAnalyticsService.trackError("estaciones-aguas-superficiales-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getSurfaceMonitoringStations(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.api_path+this.api_path_estacionSeguimiento,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSurfaceMonitoringStationCount(E){return this.http.post(this.api_path+this.api_path_count_estaciones,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusquedaEstacionSeguimiento}
1`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getComboSubprogPorIdProg(E){return this.http.get(`${this.api_path}${this.api_path_comboSubprogPorIdProgEstacionSeguimiento}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSurfaceMonitoringStation(E){return this.http.get(this.api_path+this.api_path_estacionSeguimiento+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getPuntosMuestreo(E){return this.http.get(this.api_path+this.api_path_puntosMuestreo+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_extensionEstacion}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSubprogramasById(E){return this.http.get(this.api_path+this.api_path_getSubprogramas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(E){return this.http.get(this.api_path+this.api_path_elementosRelacionados+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionados(E,c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComboMasasRelacionadas(E){return this.http.get(`${this.api_path}${this.api_path_comboMasasRelacionadas}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_estacionSeguimientoIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},8466:(Yt,Ze,m)=>{"use strict";m.d(Ze,{p:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.mirame_path="",this.api_path="",this.api_path_count_puntos="",this.api_path_puntosMuestreo="",this.api_path_puntosMuestreoIds="",this.api_path_combosPuntosMuestreo="",this.api_path_combosBusquedaPuntosMuestreo="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_descartarOperacion="",this.api_path_validarBloque="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_programasSeguimiento="",this.api_path_comparacionVersion="",this.api_path_puntosMuestreoEnCifras="",this.api_path_generarInformeGeneral="",this.api_path_establecerFotoFavorita="",this.api_path_fotoPrincipal="",this.api_path_fotosRelacionadas="",this.api_path_extensionPuntoMuestreo="",this.api_path_elementosRelacionados="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.combosBusquedaSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.mirame_path=this.configService.getPrivatePath(),this.api_path=this.configService.getPublicPath(),this.api_path_puntosMuestreo=this.configService.getApi("samplingPoints","puntosMuestreo"),this.api_path_puntosMuestreoIds=this.configService.getApi("samplingPoints","puntosMuestreoIds"),this.api_path_count_puntos=this.configService.getApi("samplingPoints","count"),this.api_path_combosPuntosMuestreo=this.configService.getApi("samplingPoints","combosPuntosMuestreo"),this.api_path_combosBusquedaPuntosMuestreo=this.configService.getApi("samplingPoints","combosBusquedaPuntosMuestreo"),this.api_path_guardarVersionado=this.configService.getApi("samplingPoints","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("samplingPoints","controlVersiones"),this.api_path_descartarOperacion=this.configService.getApi("samplingPoints","de
1scartarOperacion"),this.api_path_validarBloque=this.configService.getApi("samplingPoints","validarBloque"),this.api_path_camposHistorico=this.configService.getApi("samplingPoints","camposHistorico"),this.api_path_historico=this.configService.getApi("samplingPoints","historico"),this.api_path_programasSeguimiento=this.configService.getApi("samplingPoints","programasSeguimiento"),this.api_path_comparacionVersion=this.configService.getApi("samplingPoints","comparacionVersion"),this.api_path_puntosMuestreoEnCifras=this.configService.getApi("samplingPoints","puntosMuestreoEnCifras"),this.api_path_generarInformeGeneral=this.configService.getApi("samplingPoints","generarInformeGeneral"),this.api_path_establecerFotoFavorita=this.configService.getApi("samplingPoints","establecerFotoFavorita"),this.api_path_fotoPrincipal=this.configService.getApi("samplingPoints","fotoPrincipal"),this.api_path_fotosRelacionadas=this.configService.getApi("samplingPoints","fotosRelacionadas"),this.api_path_extensionPuntoMuestreo=this.configService.getApi("samplingPoints","extensionPuntoMuestreo"),this.api_path_elementosRelacionados=this.configService.getApi("samplingPoints","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("samplingPoints","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("samplingPoints","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("samplingPoints","elementosRelacionables")}getSamplingPoints(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_puntosMuestreo,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSurfaceSamplingPointCount(h){return this.http.post(this.api_path+this.api_path_count_puntos,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSamplingPoint(h){return this.http.get(this.api_path+this.api_path_puntosMuestreo+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosPuntosMuestreo(){return this.http.get(`${this.api_path}${this.api_path_combosPuntosMuestreo}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosBusquedaPuntosMuestreo(){this.http.get(`${this.api_path}${this.api_path_combosBusquedaPuntosMuestreo}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getProgramasSeguimiento(h){return this.http.get(`${this.api_path}${this.api_path_programasSeguimiento}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getPuntosMuestreoEnCifras(){return this.http.get(`${this.api_path}${this.api_path_puntosMuestreoEnCifras}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getfotosPuntosMuestreo(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionPuntoMuestreo}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.api_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_puntosMuestreoIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},4739:(Yt,Ze,m)=>{"use strict";m.d(Ze,{$:()=>w});var i=m(520),s=m(5625),e=m(8505),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209),q=m(5890);let w=(()=>{class k{constructor(O,E,c,Z,v,ee){this.http=O,this.configService=E,this.dialogModelService=c,this.translate=Z,this.globalService=v,this.matomoAnalyticsService=ee,this.api_path="",this.mirame_path="",this.api_path_lagos="",this.api_path_lagosIds="",this.api_path_lagosEnCifras="",this.api_path_elementosRelacionados="",this.api_path_fotosRelacionadas="",this.api_path_extensionLago="",this.api_path_combosLagos="",this.api_path_controlVersiones="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_generarInformeGeneral="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_fotoPrincipal="",this.api_path_establecerFotoFavorita="",this.api_path_count_lagos="",k.dialogModelService=this.dialogModelService,k.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_lagos=this.configService.getApi("lake","lagos"),this.api_path_lagosIds=this.configService.getApi("lake","lagosIds"),this.api_path_lagosEnCifras=this.configService.getApi("lake","lagosEnCifras"),this.api_path_elementosRelacionados=this.configService.getApi("lake","elementosRelacionados"),this.api_path_fotosRelacionadas=this.configService.getApi("lake","fotosRelacionadas"),this.api_path_extensionLago=this.configService.getApi("lake","extensionLago"),this.api_path_combosLagos=this.configService.getApi("lake","combosLagos"),this.api_path_controlVersiones=this.configService.getApi("lake","controlVersiones"),this.api_path_guardarVersionado=this.configService.getApi("lake","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("lake","camposHistorico"),this.api_path_historico=this.configService.getApi("lake","historico"),this.api_path_comparacionVersion=this.configService.getApi("lake","comparacionVersion"),this.api_path_validarBloque=this.configService.getApi("lake","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("lake","descartarOperacion"),this.api_path_generarInformeGeneral=this.configService.getApi("lake","generarInformeGeneral"),this.api_path_guardarRelacion=this.configService.getApi("lake","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("lake","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("lake","elementosRelacionables"),this.api_path_fotoPrincipal=this.configService.getApi("lake","fotoPrincipal"),this.api_path_establecerFotoFavorita=this.configService.getApi("lake","establecerFotoFavorita"),this.api_path_count_lagos=this.configService.getApi("lake","lagosCount")}getLagosEnCifras(){return this.http.get(this.api_path+this.api_path_lagosEnCifras).pipe((0,s.X)(1),(0,e.b)({next:O=>{this.matomoAnalyticsService.trackGetInformation("lagos-en-cifras",O.lagosYHumedales||0)},error:O=>{this.matomoAnalyticsService.trackError("lagos-en-cifras",O.message)}}),(0,l.K)(this.globalService.handleError))}getLakes(O,E,c,Z,v){let ee=new i.LE;return ee=ee.append("pageNumber",E||"0"),ee=ee.append("pageSize",c||"10"),ee=ee.append("tipoOrdenacion",Z||d.C.TipoOrdenacion.ASCENDENTE),ee=ee.append("campoOrdenacion",v||"id"),this.http.post(this.api_path+this.api_path_lagos,O,{params:ee}).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getCountLakes(O){return this.http.post(this.api_path+this.api_path_count_lagos,O).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getLake(O){return this.http.get(this.api_path+this.api_path_lagos+O).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(O){return this.http.get(this.api_path+this.api_path_elementosRelacionados+O).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getfotosLago(O){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+O).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(O){return this.http.get(`${this.api_path}${this.api_path_extensionLago}${O}`,{observe:"response"}).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getComboLagos(){return this.http.get(`${this.api_path}${this.api_path_combosLagos}`).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${null!=c?`${O}/${E}/${c}`:`${O}/${E}`}`).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(O){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,O,{observe:"response"}).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(O){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${O}`).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_historico}${O}/${E}/${c}`).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(O,E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${null!=Z?`${O}/${E}/${c}/${Z}`:`${O}/${E}/${c}`}`).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(O,E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}${E?`${E}`:""}`,O,{observe:"response"}).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(O,E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${null!=c?`${O}/${E}/${c}`:`${O}/${E}`}`,{}).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(O){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,O,{observe:"response"}).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${O}/${E}/${c}`).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(O,E){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${O}`,E,{observe:"response"}).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(O,E){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${O}`,E,{observe:"response"}).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(O){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${O}`).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(O,E){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${O}`,E).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(O){return this.http.post(this.api_path+this.api_path_lagosIds,O).pipe((0,s.X)(1),(0,l.K)(this.globalService.handleError))}}return k.\u0275fac=function(O){return new(O||k)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U),A.LFG(q.p))},k.\u0275prov=A.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})()},4053:(Yt,Ze,m)=>{"use strict";m.d(Ze,{u:()=>w});var i=m(520),s=m(5625),e=m(262),l=m(8505),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209),q=m(5890);let w=(()=>{class k{constructor(O,E,c,Z,v,ee){this.http=O,this.configService=E,this.dialogModelService=c,this.translate=Z,this.globalService=v,this.matomoAnalyticsService=ee,this.api_path="",this.mirame_path="",this.api_path_river="",this.api_path_riverIds="",this.api_path_cuenca="",this.api_path_clasificaciones="",this.api_path_aportacionCuenca="",this.api_path_aportacionRio="",this.api_path_controlVersiones="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_elementosRelacionados="",this.api_path_fotosRelacionadas="",this.api_path_guardarVersionado="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_extensionRio="",this.api_path_generarInformeGeneral="",this.api_path_fotoPrincipal="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_guardarRelacion="",this.api_path_establecerFotoFavorita="",this.api_path_count_rios="",this.api_path_rivers="",this.rivers={newSearch:!1,count:11,data:[{id:1800001,nombre:"R\xedo Duero",clasificacionMorfologica:"Clase 1 (15 metros)",alternativeNames:[]},{id:1808364,nombre:"Arroyo Campilduero",clasificacionMorfologica:"Clase 3 (5 metros)",alternativeNames:[]},{id:1800002,nombre:"R\xedo Esla",clasificacionMorfologica:"Clase 1 \xf3 2 (Seg\xfan tramo)",alternativeNames:[]},{id:1800003,nombre:"R\xedo Pisuerga",clasificacionMorfologica:"Clase 1 (15 metros)",alternativeNames:[]},{id:1800004,nombre:"R\xedo Tormes",clasificacionMorfologica:"Clase 1 (15 metros)",alternativeNames:[]},{id:1800005,nombre:"R\xedo Carri\xf3n",clasificacionMorfologica:"Clase 1 (15 metros)",alternativeNames:[]},{id:1800006,nombre:"R\xedo Adaja\t",clasificacionMorfologica:"Clase 1 (15 metros)",alternativeNames:[]},{id:1800007,nombre:"R\xedo Cea",clasificacionMorfologica:"Clase 1 \xf3 2 (Seg\xfan tramo)",alternativeNames:[]},{id:1800008,nombre:"R\xedo Valderaduey",clasificacionMorfologica:"Clase 2 (10 metros)",alternativeNames:[]},{id:1800009,nombre:"R\xedo Arlanza",clasificacionMorfologica:"Clase 1 (15 metros)",alternativeNames:[]},{id:1800010,nombre:"R\xedo Arlanz\xf3n",clasificacionMorfologica:"Clase 1 (15 metros)",alternativeNames:[]}]},k.dialogModelService=this.dialogModelService,k.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_river=this.configService.getApi("river","river"),this.api_path_riverIds=this.configService.getApi("river","riverIds"),this.api_path_rivers=this.configService.getApi("river","rivers"),this.api_path_cuenca=this.configService.getApi("river","cuencaEnCifras"),this.api_path_clasificaciones=this.configService.getApi("river","clasificacionesMorfologicas"),this.api_path_aportacionCuenca=this.configService.getApi("river","aportacionCuenca"),this.api_path_aportacionRio=this.configService.getApi("river","aportacionRio"),this.api_path_controlVersiones=this.configService.getApi("river","controlVersiones"),this.api_path_comparacionVersion=this.configService.getApi("river","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("river","camposHistorico"),this.api_path_historico=this.configService.getApi("river","historico"),this.api_path_elementosRelacionados=this.configService.getApi("river","elementosRelacionados"),this.api_path_fotosRelacionadas=this.configService.getApi("river","fotosRelacionadas"),this.api_path_guardarVersionado=this.configService.getApi("river","guardarVersionado"),this.api_path_validarBloque=this.configService.getApi("river","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("river","descartarOperacion"),this.api_path_extensionRio=this.configService.getApi("river","extensionRio"),this.api_path_generarInformeGeneral=this.configService.getApi("river","generarInformeGeneral"),this.api_path_fotoPrincipal=this.configService.getApi("river","fotoPrincipal"),this.api_path_borrarRelacion=this.configService.getApi("river","borrarRelacion"),this.api_path_guardarRelacion=this.configService.getApi("river","guardarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("river","elementosRelacionables"),this.api_path_establecerFotoFavorita=this.configService.getApi("river","establecerFotoFavorita"),this.api_path_count_rios=this.configService.getApi("river","riosCount")}getRivers(O,E,c,Z,v){let ee=new i.LE;return ee=ee.append("pageNumber",E||"0"),ee=ee.append("pageSize",c||"10"),ee=ee.append("tipoOrdenacion",Z||d.C.TipoOrdenacion.ASCENDENTE),ee=ee.append("campoOrdenacion",v||"id"),this.http.post(this.api_path+this.api_path_rivers,O,{params:ee}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCountRivers(O){return this.http.post(this.api_path+this.api_path_count_rios,O).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getRiver(O){return this.http.get(`${this.api_path}${this.api_path_river}${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCuencaEnCifras(){return this.http.get(`${this.api_path}${this.api_path_cuenca}`).pipe((0,s.X)(1),(0,l.b)({next:O=>{this.matomoAnalyticsService.trackGetInformation("cuenca-en-cifras",O.numeroRios||0)},error:O=>{this.matomoAnalyticsService.trackError("cuenca-en-cifras",O.message)}}),(0,e.K)(this.globalService.handleError))}getClasificacionesMorfologicas(){return this.http.get(`${this.api_path}${this.api_path_clasificaciones}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getAportacionCuenca(){return this.http.get(`${this.api_path}${this.api_path_aportacionCuenca}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getAportacionRio(O){return this.http.get(`${this.api_path}${this.api_path_aportacionRio}${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getControlDeVersiones(O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComparacionVersion(O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${O}/${E}/${c}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getListadoCamposHistorico(O){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getHistoricoCampo(O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${O}/${E}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getfotosRio(O){return this.http.get(`${this.api_path}${this.api_path_fotosRelacionadas}${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionado(O){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,O,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validarBloque(O){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,O,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}descartarOperacion(O,E){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${O}/${E}`,{}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getExtensionFeature(O){return this.http.get(`${this.api_path}${this.api_path_extensionRio}${O}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}generarInformeGeneral(O){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,O,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getFotoPrincipal(O){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosRelacionados(O){return this.http.get(this.api_path+this.api_path_elementosRelacionados+O).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}borrarRelacionados(O,E){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${O}`,E,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${O}/${E}/${c}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarRelacion(O,E){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${O}`,E,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}setFotoFavorita(O,E){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${O}`,E).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getRiversMock(){return this.rivers.data}getRiversByFilter(O){return this.getRiversMock().filter(E=>{let c=!1;if(Object.keys(O).length>0){for(const Z in O)if("nombre"==Z?c=!(null!=O.nombre&&""!=O.nombre&&!E.nombre.toLowerCase().includes(O.nombre.toLowerCase())):"codigo"==Z&&(c=null==O.codigo||""==O.codigo.toString()||E.id===Number(O.codigo)),!c)break}else c=!0;return c})}getSearchCodes(O){return this.http.post(this.api_path+this.api_path_riverIds,O).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}}return k.\u0275fac=function(O){return new(O||k)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U),A.LFG(q.p))},k.\u0275prov=A.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})()},4961:(Yt,Ze,m)=>{"use strict";m.d(Ze,{s:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(8505),d=m(262),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_spring="",this.api_path_springIds="",this.api_path_manantialesCifras="",this.api_path_elementosRelacionados="",this.api_path_fotosRelacionadas="",this.api_path_extensionManantial="",this.api_path_comboAnalisisAnteriores="",this.api_path_controlVersiones="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_generarInformeGeneral="",this.api_path_fotoPrincipal="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_guardarRelacion="",this.api_path_establecerFotoFavorita="",this.api_path_count_manantiales="",this.combosBusquedaSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_spring=this.configService.getApi("spring","spring"),this.api_path_springIds=this.configService.getApi("spring","springIds"),this.api_path_count_manantiales=this.configService.getApi("spring","count"),this.api_path_manantialesCifras=this.configService.getApi("spring","manantialesEnCifras"),this.api_path_elementosRelacionados=this.configService.getApi("spring","elementosRelacionados"),this.api_path_fotosRelacionadas=this.configService.getApi("spring","fotosRelacionadas"),this.api_path_comboAnalisisAnteriores=this.configService.getApi("global","comboGeneralSiNo"),this.api_path_extensionManantial=this.configService.getApi("spring","extensionManantial"),this.api_path_controlVersiones=this.configService.getApi("spring","controlVersiones"),this.api_path_guardarVersionado=this.configService.getApi("spring","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("spring","camposHistorico"),this.api_path_historico=this.configService.getApi("spring","historico"),this.api_path_comparacionVersion=this.configService.getApi("spring","comparacionVersion"),this.api_path_validarBloque=this.configService.getApi("spring","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("spring","descartarOperacion"),this.api_path_generarInformeGeneral=this.configService.getApi("spring","generarInformeGeneral"),this.api_path_fotoPrincipal=this.configService.getApi("spring","fotoPrincipal"),this.api_path_borrarRelacion=this.configService.getApi("spring","borrarRelacion"),this.api_path_guardarRelacion=this.configService.getApi("spring","guardarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("spring","elementosRelacionables"),this.api_path_establecerFotoFavorita=this.configService.getApi("spring","establecerFotoFavorita")}getManantialesEnCifras(){return this.http.get(this.api_path+this.api_path_manantialesCifras).pipe((0,e.X)(1),(0,l.b)({next:E=>{this.matomoAnalyticsService.trackGetInformation("manantiales-en-cifras",E.manantiales||0)},error:E=>{this.matomoAnalyticsService.trackError("manantiales-en-cifras",E.message)}}),(0,d.K)(this.globalService.handleError))}getSprings(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),this.http.post(this.api_path+this.api_path_spring,E,{params:X}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCountSprings(E){return this.http.post(this.api_path+this.api_path_count_manantiales,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSpring(E){return this.http.get(this.api_path+this.api_path_spring+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_extensionManantial}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getEelementosRelacionados(E){return this.http.get(this.api_path+this.api_path_elementosRelacionados+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getfotosManantial(E){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(E,c){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${E}/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComboSiNoDescSinCatalogar(){return this.http.get(this.api_path+this.api_path_comboAnalisisAnteriores).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getFotoPrincipal(E){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${E}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionados(E,c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(E){return this.http.get(this.api_path+this.api_path_elementosRelacionados+E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}setFotoFavorita(E,c){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${E}`,c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_springIds,E).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}
1return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},3280:(Yt,Ze,m)=>{"use strict";m.d(Ze,{k:()=>R});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(7470),C=m(5e3),T=m(8914),S=m(4209);let R=(()=>{class q{constructor(k,h,O){this.http=k,this.configService=h,this.globalService=O,this.api_path="",this.mirame_path="",this.api_path_extracciones="",this.api_path_extraccionesIds="",this.api_path_extracciones_concesional="",this.api_path_countExtracciones="",this.api_path_extraccionesEnCifras="",this.api_path_combosBusquedaExtracciones="",this.api_path_comboTipoCaptacion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_extension="",this.api_path_comparacionVersion="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_fotosRelacionadas="",this.api_path_fotoPrincipal="",this.api_path_establecerFotoFavorita="",this.api_path_getInfoConcesional="",this.api_path_guardarVersionado="",this.api_path_elementosRelacionados="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_comboMasasRelacionadas="",this.api_path_comboSubtipo="",this.api_path_datosTecnicos="",this.api_path_combos_datosTecnicos="",this.api_path_usos="",this.api_path_guardarInfoConcesionalVersionado="",this.api_path_comparacionVersionIC="",this.api_path_captacionesUsosExtraccion="",this.api_path_generarInformeGeneral="",this.combosBusquedaSubject$=new s.t(1),this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extracciones=this.configService.getApi("extractions","extracciones"),this.api_path_extraccionesIds=this.configService.getApi("extractions","extractionsIds"),this.api_path_extracciones_concesional=this.configService.getApi("extractions","extraccionesConcesional"),this.api_path_countExtracciones=this.configService.getApi("extractions","count"),this.api_path_extraccionesEnCifras=this.configService.getApi("extractions","extraccionesEnCifras"),this.api_path_combosBusquedaExtracciones=this.configService.getApi("extractions","combosBusqueda"),this.api_path_comboTipoCaptacion=this.configService.getApi("extractions","comboTipoCaptaci\xf3n"),this.api_path_camposHistorico=this.configService.getApi("extractions","camposHistorico"),this.api_path_historico=this.configService.getApi("extractions","historico"),this.api_path_extension=this.configService.getApi("extractions","extension"),this.api_path_comparacionVersion=this.configService.getApi("extractions","comparacionVersion"),this.api_path_comparacionVersionIC=this.configService.getApi("extractions","comparacionVersionIC"),this.api_path_controlVersiones=this.configService.getApi("extractions","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("extractions","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("extractions","descartarOperacion"),this.api_path_fotosRelacionadas=this.configService.getApi("extractions","fotosRelacionadas"),this.api_path_fotoPrincipal=this.configService.getApi("extractions","fotoPrincipal"),this.api_path_establecerFotoFavorita=this.configService.getApi("extractions","establecerFotoFavorita"),this.api_path_getInfoConcesional=this.configService.getApi("extractions","informacionConcesional"),this.api_path_guardarVersionado=this.configService.getApi("extractions","guardarVersionado"),this.api_path_elementosRelacionados=this.configService.getApi("extractions","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("extractions","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("extractions","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("extractions","elementosRelacionables"),this.api_path_comboMasasRelacionadas=this.configService.getApi("extractions","comboMasasRelacionadas"),this.api_path_comboSubtipo=this.configService.getApi("extractions","comboSubtipo"),this.api_path_datosTecnicos=this.configService.getApi("extractions","datosTecnicos"),this.api_path_combos_datosTecnicos=this.configService.getApi("extractions","combosDatosTecnicos"),this.api_path_usos=this.configService.getApi("extractions","getUsos"),this.api_path_guardarInfoConcesionalVersionado=this.configService.getApi("extractions","guardarInfoConcesionalVersionado"),this.api_path_captacionesUsosExtraccion=this.configService.getApi("extractions","getCaptacionesUsosExtraccion"),this.api_path_generarInformeGeneral=this.configService.getApi("extractions","generarInformeGeneral")}getExtracciones(k,h,O,E,c){let Z=new i.LE;return Z=Z.append("pageNumber",h||"0"),Z=Z.append("pageSize",O||"10"),Z=Z.append("tipoOrdenacion",E||d.C.TipoOrdenacion.ASCENDENTE),Z=Z.append("campoOrdenacion",c||"id"),this.http.post(this.api_path+this.api_path_extracciones,k,{params:Z}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtraccion(k){return this.http.get(this.api_path+this.api_path_extracciones+k).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtraccionConcesional(k){return this.http.get(this.api_path+this.api_path_extracciones_concesional+k).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountExtracciones(k){return this.http.post(this.api_path+this.api_path_countExtracciones,k).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtraccionesEnCifras(){return this.http.get(this.api_path+this.api_path_extraccionesEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosBusquedaExtracciones(){this.http.get(`${this.api_path}${this.api_path_combosBusquedaExtracciones}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getComboTipoCaptacion(){return new Promise((h,O)=>{this.http.get(`${this.api_path}${this.api_path_comboTipoCaptacion}`).subscribe({next:E=>{h(E)},error:E=>{O(this.globalService.handleError(E))}})})}getListadoCamposHistorico(k){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${k}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(k,h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${k}/${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(k){return this.http.get(`${this.api_path}${this.api_path_extension}${k}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(k,h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${null!=E?`${k}/${h}/${O}/${E}`:`${k}/${h}/${O}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersionInfoConcesional(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersionIC}${k}/${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${null!=O?`${k}/${h}/${O}`:`${k}/${h}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(k,h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}${h?`${h}`:""}`,k,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(k,h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${null!=O?`${k}/${h}/${O}`:`${k}/${h}`}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getfotosExtraccion(k){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+k).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(k){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${k}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(k,h){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${k}`,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getInformacionConcesional(k){return this.http.get(`${this.api_path}${this.api_path_getInfoConcesional}${k}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(k){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,k,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(k){return this.http.get(this.api_path+this.api_path_elementosRelacionados+k).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${k}/${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(k,h){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${k}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(k,h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${k}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboMasasRelacionadas(k){return this.http.get(`${this.api_path}${this.api_path_comboMasasRelacionadas}${k}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboSubtipo(k){return this.http.get(`${this.api_path}${this.api_path_comboSubtipo}${k}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getDatosTecnicos(k){return this.http.get(this.api_path+this.api_path_datosTecnicos+k).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosDatosTecnicos(k,h){let O=A.c.isNullorEmpty(h)?0:h;return this.http.get(`${this.api_path}${this.api_path_combos_datosTecnicos}${k}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUsos(k){return this.http.get(`${this.api_path}${this.api_path_usos}${k}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarInfoConcesionalVersionado(k){return this.http.post(`${this.mirame_path}${this.api_path_guardarInfoConcesionalVersionado}`,k,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCaptacionesUsosById(k){return this.http.get(`${this.api_path}${this.api_path_captacionesUsosExtraccion}${k}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(k){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,k,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(k){return this.http.post(this.api_path+this.api_path_extraccionesIds,k).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return q.\u0275fac=function(k){return new(k||q)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.U))},q.\u0275prov=C.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})()},8165:(Yt,Ze,m)=>{"use strict";m.d(Ze,{M:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_count_contaminaciones="",this.api_path_contaminacionesEnCifras="",this.api_path_generarInformeGeneral="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_contaminaciones="",this.api_path_contaminacionesIds="",this.api_path_combos="",this.api_path_elementosRelacionados="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_contaminacion_ficha="",this.api_path_guardarVersionadoImpactos="",this.api_path_relevanciaPresion="",this.api_path_guardarVersionadoPressure="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("groundContamination","extension"),this.api_path_generarInformeGeneral=this.configService.getApi("groundContamination","generarInformeGeneral"),this.api_path_contaminacionesEnCifras=this.configService.getApi("groundContamination","contaminacionesEnCifras"),this.api_path_contaminacion_ficha=this.configService.getApi("groundContamination","contaminacionFicha"),this.api_path_contaminaciones=this.configService.getApi("groundContamination","contaminaciones"),this.api_path_contaminacionesIds=this.configService.getApi("groundContamination","contaminacionesIds"),this.api_path_guardarVersionado=this.configService.getApi("groundContamination","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("groundContamination","camposHistorico"),this.api_path_historico=this.configService.getApi("groundContamination","historico"),this.api_path_comparacionVersion=this.configService.getApi("groundContamination","comparacionVersion"),this.api_path_controlVersiones=this.configService.getApi("groundContamination","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("groundContamination","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("groundContamination","descartarOperacion"),this.api_path_count_contaminaciones=this.configService.getApi("groundContamination","count"),this.api_path_combos=this.configService.getApi("global","comboGeneralSiNo"),this.api_path_elementosRelacionados=this.configService.getApi("groundContamination","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("groundContamination","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("groundContamination","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("groundContamination","elementosRelacionables"),this.api_path_guardarVersionadoImpactos=this.configService.getApi("groundContamination","guardarVersionadoImpactos"),this.api_path_relevanciaPresion=this.configService.getApi("groundContamination","relevanciaPresion"),this.api_path_guardarVersionadoPressure=this.configService.getApi("groundContamination","guardarVersionadoRelevanciaPresion")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getContaminacionesEnCifras(){return this.http.get(this.api_path+this.api_path_contaminacionesEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getGroundContaminations(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_contaminaciones,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountGroundContamination(h){return this.http.post(this.api_path+this.api_path_count_contaminaciones,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.api_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"respo
1nse"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getGroundContaminationsFichaGral(h){return this.http.get(this.api_path+this.api_path_contaminacion_ficha+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getGroundContamination(h){return this.http.get(this.api_path+this.api_path_contaminaciones+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboSiNoDescSinCatalogar(){return this.http.get(this.api_path+this.api_path_combos).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionadoImpactos(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoImpactos}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_contaminacionesIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getPressureRelevance(h){return this.http.get(this.api_path+this.api_path_relevanciaPresion+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},9215:(Yt,Ze,m)=>{"use strict";m.d(Ze,{b:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_generarInformeGeneral="",this.api_path_vertederos="",this.api_path_vertederosIds="",this.api_path_count_vertederos="",this.api_path_vertederosEnCifras="",this.api_path_combosVertederos="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_descartarOperacion="",this.api_path_validarBloque="",this.api_path_elementosRelacionados="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("landfill","extension"),this.api_path_generarInformeGeneral=this.configService.getApi("landfill","generarInformeGeneral"),this.api_path_vertederosEnCifras=this.configService.getApi("landfill","vertederosEnCifras"),this.api_path_vertederos=this.configService.getApi("landfill","vertederos"),this.api_path_vertederosIds=this.configService.getApi("landfill","vertederosIds"),this.api_path_count_vertederos=this.configService.getApi("landfill","count"),this.api_path_combosVertederos=this.configService.getApi("landfill","getCombosVertederos"),this.api_path_guardarVersionado=this.configService.getApi("landfill","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("landfill","controlVersiones"),this.api_path_comparacionVersion=this.configService.getApi("landfill","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("landfill","camposHistorico"),this.api_path_historico=this.configService.getApi("landfill","historico"),this.api_path_descartarOperacion=this.configService.getApi("landfill","descartarOperacion"),this.api_path_validarBloque=this.configService.getApi("landfill","validarBloque"),this.api_path_elementosRelacionados=this.configService.getApi("landfill","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("landfill","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("landfill","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("landfill","elementosRelacionables")}getVertederosEnCifras(){return this.http.get(this.api_path+this.api_path_vertederosEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getLandfills(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_vertederos,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountLandfill(h){return this.http.post(this.api_path+this.api_path_count_vertederos,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getLandfill(h){return this.http.get(this.api_path+this.api_path_vertederos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosVertederos(){this.http.get(`${this.mirame_path}${this.api_path_combosVertederos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_vertederosIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},7328:(Yt,Ze,m)=>{"use strict";m.d(Ze,{P:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_obstaculos="",this.api_path_obstaculosIds="",this.api_path_obstaculosCifras="",this.api_path_countObstaculos="",this.api_path_combosBusquedaObstaculos="",this.api_path_extensionObstaculo="",this.api_path_medidas="",this.api_path_combosObstaculos="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_comparacionVersion="",this.api_path_relevanciaPresion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_generarInformeGeneral="",this.api_path_elementosRelacionados="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_comboMasasRelacionadas="",this.api_path_establecerFotoFavorita="",this.api_path_fotosRelacionadas="",this.api_path_fotoPrincipal="",this.api_path_guardarVersionadoPressure="",this.combosBusquedaSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_obstaculos=this.configService.getApi("obstacles","obstaculos"),this.api_path_obstaculosIds=this.configService.getApi("obstacles","obstaculosIds"),this.api_path_obstaculosCifras=this.configService.getApi("obstacles","obstaculosEnCifras"),this.api_path_countObstaculos=this.configService.getApi("obstacles","obstaculosCount"),this.api_path_combosBusquedaObstaculos=this.configService.getApi("obstacles","combosBusquedaObstaculos"),this.api_path_extensionObstaculo=this.configService.getApi("obstacles","extensionObstaculo"),this.api_path_medidas=this.configService.getApi("obstacles","medidas"),this.api_path_combosObstaculos=this.configService.getApi("obstacles","combosObstaculos"),this.api_path_guardarVersionado=this.configService.getApi("obstacles","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("obstacles","controlVersiones"),this.api_path_comparacionVersion=this.configService.getApi("obstacles","comparacionVersion"),this.api_path_relevanciaPresion=this.configService.getApi("obstacles","relevanciaPresion"),this.api_path_camposHistorico=this.configService.getApi("obstacles","camposHistorico"),this.api_path_historico=this.configService.getApi("obstacles","historico"),this.api_path_validarBloque=this.configService.getApi("obstacles","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("obstacles","descartarOperacion"),this.api_path_generarInformeGeneral=this.configService.getApi("obstacles","generarInformeGeneral"),this.api_path_elementosRelacionados=this.configService.getApi("obstacles","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("obstacles","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("obstacles","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("obstacles","elementosRelacionables"),this.api_path_comboMasasRelacionadas=this.configService.getApi("obstacles","comboMasasRelacionadas"),this.api_path_fotosRelacionadas=this.configService.getApi("obstacles","fotosRelacionadas"),this.api_path_fotoPrincipal=this.configService.getApi("obstacles","fotoPrincipal"),this.api_path_establecerFotoFavorita=this.configService.getApi("obstacles","establecerFotoFavorita"),this.api_path_guardarVersionadoPressure=this.configService.getApi("obstacles","guardarVersionadoRelevanciaPresion")}getObstaculosEnCifras(){return this.http.get(this.api_path+this.api_path_obstaculosCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getObstacles(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_obstaculos,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getObstacle(h){return this.http.get(this.api_path+this.api_path_obstaculos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountObstacles(h){return this.http.post(this.api_path+this.api_path_countObstaculos,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMeasures(h){return this.http.get(this.api_path+this.api_path_medidas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosBusquedaObstaculos(){this.http.get(`${this.api_path}${this.api_path_combosBusquedaObstaculos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionObstaculo}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosObstaculos(){return this.http.get(`${this.api_path}${this.api_path_combosObstaculos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotosObstaculo(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getPressureRelevance(h){return this.http.get(this.api_path+this.api_path_relevanciaPresion+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboMasasRelacionadas(h){return this.http.get(`${this.api_path}${this.api_path_comboMasasRelacionadas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_obstaculosIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},5392:(Yt,Ze,m)=>{"use strict";m.d(Ze,{p:()=>R});var i=m(520),s=m(5625),e=m(262),l=m(3179),d=m(5e3),A=m(8914),C=m(3468),T=m(4894),S=m(4209);let R=(()=>{class q{constructor(k,h,O,E,c){this.http=k,this.configService=h,this.dialogModelService=O,this.translate=E,this.globalService=c,this.api_path="",this.mirame_path="",this.api_path_puntosDesbordamientoCifras="",this.api_path_combosBusqueda="",this.api_path_combosTecnico="",this.api_path_puntosDesbordamiento="",this.api_path_puntosDesbordamientoIds="",this.api_path_count_puntosDesbordamiento="",this.api_path_extensionPuntoDesbordamiento="",this.api_path_relevanciaPresion="",this.api_path_historico="",this.api_path_generarInformeGeneral="",this.api_path_controlVersiones="",this.api_path_guardarVersionado="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_validarBloque="",this.api_path_camposHistorico="",this.api_path_elementosRelacionados="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_guardarVersionadoPressure="",q.dialogModelService=this.dialogModelService,q.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_puntosDesbordamientoCifras=this.configService.getApi("rainOverflow","puntosDesbordamientoEnCifras"),this.api_path_combosBusqueda=this.configService.getApi("rainOverflow","combosBusqueda"),this.api_path_combosTecnico=this.configService.getApi("rainOverflow","combosTecnico"),this.api_path_puntosDesbordamiento=this.configService.getApi("rainOverflow","puntosDesbordamiento"),this.api_path_puntosDesbordamientoIds=this.configService.getApi("rainOverflow","puntosDesbordamientoIds"),this.api_path_count_puntosDesbordamiento=this.configService.getApi("rainOverflow","puntosDesbordamientoCount"),this.api_path_extensionPuntoDesbordamiento=this.configService.getApi("rainOverflow","extensionPuntoDesbordamiento"),this.api_path_relevanciaPresion=this.configService.getApi("rainOverflow","relevanciaPresion"),this.api_path_historico=this.configService.getApi("rainOverflow","historico"),this.api_path_generarInformeGeneral=this.configService.getApi("rainOverflow","generarInformeGeneral"),this.api_path_controlVersiones=this.configService.getApi("rainOverflow","controlVersiones"),this.api_path_guardarVersionado=this.configService.getApi("rainOverflow","guardarVersionado"),this.api_path_descartarOperacion=this.configService.getApi("rainOverflow","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("rainOverflow","comparacionVersion"),this.api_path_validarBloque=this.configService.getApi("rainOverflow","validarBloque"),this.api_path_camposHistorico=this.configService.getApi("rainOverflow","camposHistorico"),this.api_path_elementosRelacionados=this.configService.getApi("rainOverflow","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("rainOverflow","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("rainOverflow","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("rainOverflow","elementosRelacionables"),this.api_path_guardarVersionadoPressure=this.configService.getApi("rainOverflow","guardarVersionadoRelevanciaPresion")}getElementosRelacionados(k){return this.http.get(this.api_path+this.api_path_elementosRelacionados+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${k}/${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarRelacion(k,h){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${k}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}borrarRelacionados(k,h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${k}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getPuntosDesbordamientoEnCifras(){return this.http.get(this.api_path+this.api_path_puntosDesbordamientoCifras).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCombosBusqueda(){return this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCombosTecnico(){return this.http.get(`${this.mirame_path}${this.api_path_combosTecnico}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getRainOverflows(k,h,O,E,c){let Z=new i.LE;return Z=Z.append("pageNumber",h||"0"),Z=Z.append("pageSize",O||"10"),Z=Z.append("tipoOrdenacion",E||l.C.TipoOrdenacion.ASCENDENTE),Z=Z.append("campoOrdenacion",c||"id"),this.http.post(this.api_path+this.api_path_puntosDesbordamiento,k,{params:Z}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCountRainOverflows(k){return this.http.post(this.api_path+this.api_path_count_puntosDesbordamiento,k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getPuntoDesbordamiento(k){return this.http.get(this.api_path+this.api_path_puntosDesbordamiento+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getExtensionFeature(k){return this.http.get(`${this.api_path}${this.api_path_extensionPuntoDesbordamiento}${k}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getPressureRelevance(k){return this.http.get(this.api_path+this.api_path_relevanciaPresion+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getHistoricoCampo(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_historico}${k}/${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getControlDeVersiones(k,h){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${k}/${h}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionado(k){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}descartarOperacion(k,h){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${k}/${h}`,{}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComparacionVersion(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${k}/${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validarBloque(k){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getListadoCamposHistorico(k){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}generarInformeGeneral(k){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getSearchCodes(k){return this.http.post(this.api_path+this.api_path_puntosDesbordamientoIds,k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}}return q.\u0275fac=function(k){return new(k||q)(d.LFG(i.eN),d.LFG(A.E),d.LFG(C.r),d.LFG(T.sK),d.LFG(S.U))},q.\u0275prov=d.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})()},1558:(Yt,Ze,m)=>{"use strict";m.d(Ze,{v:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_contaminaciones="",this.api_path_contaminacionesIds="",this.api_path_count_contaminaciones="",this.api_path_contaminacionesEnCifras="",this.api_path_generarInformeGeneral="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_descartarOperacion="",this.api_path_validarBloque="",this.api_path_comparacionVersion="",this.api_path_elementosRelacionados="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_guardarVersionadoPressure="",this.api_path_relevanciaPresion="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("surfaceContamination","extension"),this.api_path_generarInformeGeneral=this.configService.getApi("surfaceContamination","generarInformeGeneral"),this.api_path_contaminacionesEnCifras=this.configService.getApi("surfaceContamination","contaminacionesEnCifras"),this.api_path_contaminaciones=this.configService.getApi("surfaceContamination","contaminaciones"),this.api_path_contaminacionesIds=this.configService.getApi("surfaceContamination","contaminacionesIds"),this.api_path_count_contaminaciones=this.configService.getApi("surfaceContamination","count"),this.api_path_camposHistorico=this.configService.getApi("surfaceContamination","camposHistorico"),this.api_path_historico=this.configService.getApi("surfaceContamination","historico"),this.api_path_guardarVersionado=this.configService.getApi("surfaceContamination","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("surfaceContamination","controlVersiones"),this.api_path_descartarOperacion=this.configService.getApi("surfaceContamination","descartarOperacion"),this.api_path_validarBloque=this.configService.getApi("surfaceContamination","validarBloque"),this.api_path_comparacionVersion=this.configService.getApi("surfaceContamination","comparacionVersion"),this.api_path_elementosRelacionados=this.configService.getApi("surfaceContamination","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("surfaceContamination","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("surfaceContamination","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("surfaceContamination","elementosRelacionables"),this.api_path_guardarVersionadoPressure=this.configService.getApi("surfaceContamination","guardarVersionadoRelevanciaPresion"),this.api_path_relevanciaPresion=this.configService.getApi("surfaceContamination","relevanciaPresion")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getContaminacionesEnCifras(){return this.http.get(this.api_path+this.api_path_contaminacionesEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSurfaceContaminations(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_contaminaciones,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountSurfaceContamination(h){return this.http.post(this.api_path+this.api_path_count_contaminaciones,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSurfaceContamination(h){return this.http.get(this.api_path+this.api_path_contaminaciones+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.api_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_contaminacionesIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getPressureRelevance(h){return this.http.get(this.api_path+this.api_path_relevanciaPresion+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},312:(Yt,Ze,m)=>{"use strict";m.d(Ze,{O:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_vertidosCifras="",this.api_path_vertidos="",this.api_path_vertidosIds="",this.api_path_countVertidos="",this.api_path_extensionVertido="",this.api_path_combosDependientesComboNaturaleza="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_guardarVersionado="",this.api_path_relevanciaPresion="",this.api_path_combosRelevancia="",this.api_path_combosActividadesEconomicas="",this.api_path_guardarVersionadoRelevanciaVertidos="",this.api_path_guardarVersionadoImpactosVertido="",this.api_path_elementosRelacionados="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_combosBusqueda="",this.api_path_generarInformeGeneral="",this.api_path_datos_medidas="",this.api_path_comboMasasRelacionadas="",this.api_path_dependenciasActividadCNAE="",this.api_path_getResultadosGraficaIndicadores="",this.combosBusquedaSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_vertidosCifras=this.configService.getApi("waste","vertidosEnCifras"),this.api_path_vertidos=this.configService.getApi("waste","vertidos"),this.api_path_vertidosIds=this.configService.getApi("waste","vertidosIds"),this.api_path_countVertidos=this.configService.getApi("waste","count"),this.api_path_extensionVertido=this.configService.getApi("waste","extensionVertido"),this.api_path_combosDependientesComboNaturaleza=this.configService.getApi("waste","combosDependientesComboNaturaleza"),this.api_path_camposHistorico=this.configService.getApi("waste","camposHistorico"),this.api_path_historico=this.configService.getApi("waste","historico"),this.api_path_controlVersiones=this.configService.getApi("waste","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("waste","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("waste","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("waste","comparacionVersion"),this.api_path_guardarVersionado=this.configService.getApi("waste","guardarVersionado"),this.api_path_relevanciaPresion=this.configService.getApi("waste","relevanciaPresion"),this.api_path_combosRelevancia=this.configService.getApi("waste","combosRelevancia"),this.api_path_combosActividadesEconomicas=this.configService.getApi("waste","combosActividadesEconomicas"),this.api_path_guardarVersionadoRelevanciaVertidos=this.configService.getApi("waste","guardarRelevanciaVertido"),this.api_path_guardarVersionadoImpactosVertido=this.configService.getApi("waste","guardarVersionadoImpactosVertido"),this.api_path_elementosRelacionados=this.configService.getApi("waste","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("waste","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("waste","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("waste","elementosRelacionables"),this.api_path_combosBusqueda=this.configService.getApi("waste","combosBusqueda"),this.api_path_datos_medidas=this.configService.getApi("waste","getDatosMedidas"),this.api_path_generarInformeGeneral=this.configService.getApi("waste","generarInformeGeneral"),this.api_path_comboMasasRelacionadas=this.configService.getApi("waste","comboMasasRelacionadas"),this.api_path_dependenciasActividadCNAE=this.configService.getApi("waste","dependenciasActividadCNAE"),this.api_path_getResultadosGraficaIndicadores=this.configService.getApi("waste","resultadoGraficaIndicadores")}getVertidosEnCifras(){return this.http.get(this.api_path+this.api_path_vertidosCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getWastes(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_vertidos,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountWastes(h){return this.http.post(this.api_path+this.api_path_countVertidos,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getWaste(h){return this.http.get(`${this.api_path}${this.api_path_vertidos}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionVertido}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosDependientesComboNaturaleza(h){return this.http.get(`${this.api_path}${this.api_path_combosDependientesComboNaturaleza}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getPressureRelevance(h){return this.http.get(this.api_path+this.api_path_relevanciaPresion+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosRelevanciaPresion(){return this.http.get(`${this.mirame_path}${this.api_path_combosRelevancia}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosActividadesEconomicas(){return this.http.get(`${this.mirame_path}${this.api_path_combosActividadesEconomicas}
1`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionadoRelevanciaVertidos(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoRelevanciaVertidos}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionadoImpactosVertido(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoImpactosVertido}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboMasasRelacionadas(h){return this.http.get(`${this.api_path}${this.api_path_comboMasasRelacionadas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getDatosMedidas(h){return this.http.get(this.api_path+this.api_path_datos_medidas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresDependientesActividadCNAE(h){return this.http.get(`${this.api_path}${this.api_path_dependenciasActividadCNAE}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_vertidosIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getResultadosGraficaIndicadores(h,O){return this.http.get(`${this.api_path}${this.api_path_getResultadosGraficaIndicadores}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},7388:(Yt,Ze,m)=>{"use strict";m.d(Ze,{P:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_tramoPiscicolaCifras="",this.api_path_generarInformeGeneral="",this.api_path_tramosPiscicolas="",this.api_path_tramosPiscicolasIds="",this.api_path_count="",this.api_path_extension="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_combos="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_borrarRelacionLegislacion="",this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_tramoPiscicolaCifras=this.configService.getApi("fishSections","tramosPiscicolasEnCifras"),this.api_path_generarInformeGeneral=this.configService.getApi("fishSections","generarInformeGeneral"),this.api_path_tramosPiscicolas=this.configService.getApi("fishSections","tramosPiscicolas"),this.api_path_tramosPiscicolasIds=this.configService.getApi("fishSections","tramosPiscicolasIds"),this.api_path_count=this.configService.getApi("fishSections","count"),this.api_path_extension=this.configService.getApi("fishSections","extension"),this.api_path_controlVersiones=this.configService.getApi("fishSections","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("fishSections","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("fishSections","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("fishSections","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("fishSections","camposHistorico"),this.api_path_historico=this.configService.getApi("fishSections","historico"),this.api_path_combos=this.configService.getApi("fishSections","getCombos"),this.api_path_comparacionVersion=this.configService.getApi("fishSections","comparacionVersion"),this.api_path_guardarRelacion=this.configService.getApi("fishSections","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("fishSections","borrarRelacion"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("fishSections","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("fishSections","getLeyes"),this.api_path_elementosRelacionables=this.configService.getApi("fishSections","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("fishSections","elementosRelacionados"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("fishSections","borrarRelacionLegislacion")}getTramoPiscicolaEnCifras(){return this.http.get(this.api_path+this.api_path_tramoPiscicolaCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFishSections(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_tramosPiscicolas,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFishSection(h){return this.http.get(this.api_path+this.api_path_tramosPiscicolas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}
1getCountFishSections(h){return this.http.post(this.api_path+this.api_path_count,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombos(){this.http.get(`${this.api_path}${this.api_path_combos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_tramosPiscicolasIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},2595:(Yt,Ze,m)=>{"use strict";m.d(Ze,{X:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_abastecimientoCifras="",this.api_path_generarInformeGeneral="",this.api_path_abastecimientos="",this.api_path_abastecimientosIds="",this.api_path_countAbastecimientos="",this.api_path_extensionAbastecimiento="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_comparacionVersion="",this.api_path_borrarRelacionLegislacion="",this.combosBusquedaSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_abastecimientoCifras=this.configService.getApi("groundSupplies","abastecimientosEnCifras"),this.api_path_generarInformeGeneral=this.configService.getApi("groundSupplies","generarInformeGeneral"),this.api_path_abastecimientos=this.configService.getApi("groundSupplies","groundSupplies"),this.api_path_abastecimientosIds=this.configService.getApi("groundSupplies","groundSuppliesIds"),this.api_path_countAbastecimientos=this.configService.getApi("groundSupplies","count"),this.api_path_extensionAbastecimiento=this.configService.getApi("groundSupplies","extensionAbastecimiento"),this.api_path_controlVersiones=this.configService.getApi("groundSupplies","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("groundSupplies","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("groundSupplies","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("groundSupplies","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("groundSupplies","camposHistorico"),this.api_path_historico=this.configService.getApi("groundSupplies","historico"),this.api_path_guardarRelacion=this.configService.getApi("groundSupplies","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("groundSupplies","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("groundSupplies","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("groundSupplies","elementosRelacionados"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("groundSupplies","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("groundSupplies","getLeyes"),this.api_path_comparacionVersion=this.configService.getApi("groundSupplies","comparacionVersion"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("groundSupplies","borrarRelacionLegislacion")}getAbastecimientoEnCifras(){return this.http.get(this.api_path+this.api_path_abastecimientoCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getGroundSupplies(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_abastecimientos,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getGroundSupplie(h){return this.http.get(this.api_path+this.api_path_abastecimientos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountGroundSupplies(h){return this.http.post(this.api_path+this.api_path_countAbastecimientos,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionAbastecimiento}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${null!=E?`${h}/${O}/${E}`:`${h}/${O}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h,O){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}${O?`${O}`:""}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O,E){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${null!=E?`${h}/${O}/${E}`:`${h}/${O}`}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${null!=c?`${h}/${O}/${E}/${c}`:`${h}/${O}/${E}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_abastecimientosIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},1972:(Yt,Ze,m)=>{"use strict";m.d(Ze,{x:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_aguaMineralCifras="",this.api_path_aguaMineral="",this.api_path_aguaMineralIds="",this.api_path_count="",this.api_path_combos="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_borrarRelacionLegislacion="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_fotoPrincipal="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",this.api_path_generarInformeGeneral="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("mineralWaters","extension"),this.api_path_aguaMineralCifras=this.configService.getApi("mineralWaters","aguaMineralEnCifras"),this.api_path_aguaMineral=this.configService.getApi("mineralWaters","aguaMineral"),this.api_path_aguaMineralIds=this.configService.getApi("mineralWaters","aguaMineralIds"),this.api_path_count=this.configService.getApi("mineralWaters","count"),this.api_path_combos=this.configService.getApi("mineralWaters","getCombos"),this.api_path_controlVersiones=this.configService.getApi("mineralWaters","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("mineralWaters","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("mineralWaters","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("mineralWaters","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("mineralWaters","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("mineralWaters","camposHistorico"),this.api_path_historico=this.configService.getApi("mineralWaters","historico"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("mineralWaters","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("mineralWaters","getLeyes"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("mineralWaters","borrarRelacionLegislacion"),this.api_path_guardarRelacion=this.configService.getApi("mineralWaters","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("mineralWaters","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("mineralWaters","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("mineralWaters","elementosRelacionados"),this.api_path_fotoPrincipal=this.configService.getApi("mineralWaters","fotoPrincipal"),this.api_path_fotosRelacionadas=this.configService.getApi("mineralWaters","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("mineralWaters","establecerFotoFavorita"),this.api_path_generarInformeGeneral=this.configService.getApi("mineralWaters","generarInformeGeneral")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMineralWaterEnCifras(){return this.http.get(this.api_path+this.api_path_aguaMineralCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMineralWaters(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_aguaMineral,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMineralWater(h){return this.http.get(this.api_path+this.api_path_aguaMineral+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountMineralWater(h){return this.http.post(this.api_path+this.api_path_count,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombos(){this.http.get(`${this.api_path}${this.api_path_combos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getfotosZona(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_aguaMineralIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},3754:(Yt,Ze,m)=>{"use strict";m.d(Ze,{R:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_areasProtegidasCifras="",this.api_path_areasProtegidasCifras2="",this.api_path_areasProtegidas="",this.api_path_areasProtegidasIds="",this.api_path_generarInformeGeneral="",this.api_path_areaProtegida="",this.api_path_fotoPrincipal="",this.api_path_extensionreserva="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_countAreasProtegidas="",this.api_path_combosReserva="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",this.api_path_comparacionVersion="",this.api_path_datos_medidas="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_habitatsespecies="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_combosFichaTecnica="",this.api_path_borrarRelacionLegislacion="",this.api_path_habitatsNoSelec="",this.api_path_especiesNoSelec="",this.api_path_borrarHabitats="",this.api_path_borrarEspecies="",this.combosSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_areasProtegidasCifras=this.configService.getApi("protectionAreas","areasEnCifras"),this.api_path_areasProtegidasCifras2=this.configService.getApi("protectionAreas","areasEnCifras2"),this.api_path_areasProtegidas=this.configService.getApi("protectionAreas","protectionAreas"),this.api_path_areasProtegidasIds=this.configService.getApi("protectionAreas","protectionAreasIds"),this.api_path_generarInformeGeneral=this.configService.getApi("protectionAreas","generarInformeGeneral"),this.api_path_areaProtegida=this.configService.getApi("protectionAreas","protectionAreas"),this.api_path_fotoPrincipal=this.configService.getApi("protectionAreas","fotoPrincipal"),this.api_path_extensionreserva=this.configService.getApi("protectionAreas","extension"),this.api_path_camposHistorico=this.configService.getApi("protectionAreas","camposHistorico"),this.api_path_historico=this.configService.getApi("protectionAreas","historico"),this.api_path_countAreasProtegidas=this.configService.getApi("protectionAreas","count"),this.api_path_combosReserva=this.configService.getApi("protectionAreas","getCombos"),this.api_path_controlVersiones=this.configService.getApi("protectionAreas","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("protectionAreas","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("protectionAreas","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("protectionAreas","guardarVersionado"),this.api_path_fotosRelacionadas=this.configService.getApi("protectionAreas","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("protectionAreas","establecerFotoFavorita"),this.api_path_comparacionVersion=this.configService.getApi("protectionAreas","comparacionVersion"),this.api_path_datos_medidas=this.configService.getApi("protectionAreas","getDatosMedidas"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("protectionAreas","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("protectionAreas","getLeyes"),this.api_path_habitatsespecies=this.configService.getApi("protectionAreas","getHabitatsEspecies"),this.api_path_guardarRelacion=this.configService.getApi("protectionAreas","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("protectionAreas","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("protectionAreas","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("protectionAreas","elementosRelacionados"),this.api_path_combosFichaTecnica=this.configService.getApi("protectionAreas","getCombos"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("protectionAreas","borrarRelacionLegislacion"),this.api_path_habitatsNoSelec=this.configService.getApi("protectionAreas","habitatsNoSelec"),this.api_path_especiesNoSelec=this.configService.getApi("protectionAreas","especiesNoSelec"),this.api_path_borrarHabitats=this.configService.getApi("protectionAreas","borrarHabitats"),this.api_path_borrarEspecies=this.configService.getApi("protectionAreas","borrarEspecies")}getAreasProtegidasEnCifras(){return this.http.get(this.api_path+this.api_path_areasProtegidasCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getAreasProtegidasEnCifras2(){return this.http.get(this.api_path+this.api_path_areasProtegidasCifras2).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getProtectionAreas(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_areasProtegidas,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountProtectionAreas(h){return this.http.post(this.api_path+this.api_path_countAreasProtegidas,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getProtectionArea(h){return this.http.get(this.api_path+this.api_path_areaProtegida+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionreserva}
1${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosReserva(){this.http.get(`${this.api_path}${this.api_path_combosReserva}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosSubject$)}getProtectedArea(h){return this.http.get(this.api_path+this.api_path_areasProtegidas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getfotosReserva(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMedidas(h){return this.http.get(`${this.api_path}${this.api_path_datos_medidas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHabitatsEspecies(h){return this.http.get(`${this.api_path}${this.api_path_habitatsespecies}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosFichaTecnica(){this.http.get(`${this.api_path}${this.api_path_combosFichaTecnica}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosHabitatsNoSelecc(h){return this.http.get(this.mirame_path+this.api_path_habitatsNoSelec+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosEspeciesNoSelecc(h){return this.http.get(this.mirame_path+this.api_path_especiesNoSelec+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarHabitat(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarHabitats}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarEspecies(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarEspecies}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_areasProtegidasIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},2169:(Yt,Ze,m)=>{"use strict";m.d(Ze,{B:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_recreationalUseAreaCifras="",this.api_path_generarInformeGeneral="",this.api_path_recreationalUseArea="",this.api_path_recreationalUseAreaIds="",this.api_path_countRecreationalUseArea="",this.api_path_extensionRecreationalUseArea="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_combos="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_comparacionVersion="",this.api_path_borrarRelacionLegislacion="",this.api_path_fotoPrincipal="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",this.api_path_getEstadosAnnos="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("recreationalUseAreas","extension"),this.api_path_recreationalUseAreaCifras=this.configService.getApi("recreationalUseAreas","recreationalUseAreaEnCifras"),this.api_path_recreationalUseArea=this.configService.getApi("recreationalUseAreas","recreationalUseArea"),this.api_path_recreationalUseAreaIds=this.configService.getApi("recreationalUseAreas","recreationalUseAreaIds"),this.api_path_combos=this.configService.getApi("recreationalUseAreas","getCombos"),this.api_path_countRecreationalUseArea=this.configService.getApi("recreationalUseAreas","count"),this.api_path_controlVersiones=this.configService.getApi("recreationalUseAreas","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("recreationalUseAreas","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("recreationalUseAreas","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("recreationalUseAreas","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("recreationalUseAreas","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("recreationalUseAreas","camposHistorico"),this.api_path_historico=this.configService.getApi("recreationalUseAreas","historico"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("recreationalUseAreas","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("recreationalUseAreas","getLeyes"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("recreationalUseAreas","borrarRelacionLegislacion"),this.api_path_guardarRelacion=this.configService.getApi("recreationalUseAreas","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("recreationalUseAreas","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("recreationalUseAreas","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("recreationalUseAreas","elementosRelacionados"),this.api_path_fotoPrincipal=this.configService.getApi("recreationalUseAreas","fotoPrincipal"),this.api_path_fotosRelacionadas=this.configService.getApi("recreationalUseAreas","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("recreationalUseAreas","establecerFotoFavorita"),this.api_path_generarInformeGeneral=this.configService.getApi("recreationalUseAreas","generarInformeGeneral"),this.api_path_getEstadosAnnos=this.configService.getApi("recreationalUseAreas","getZonaUsoRecreativoEstado")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getZonaUsoRecreativoEstado(h){return this.http.get(`${this.api_path}${this.api_path_getEstadosAnnos}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getRecreationalUseAreaEnCifras(){return this.http.get(this.api_path+this.api_path_recreationalUseAreaCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getRecreationalUseAreas(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_recreationalUseArea,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getRecreationalUseArea(h){return this.http.get(this.api_path+this.api_path_recreationalUseArea+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountRecreationalUseArea(h){return this.http.post(this.api_path+this.api_path_countRecreationalUseArea,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombos(){this.http.get(`${this.api_path}${this.api_path_combos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotosZonaUsoRecreativo(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_recreationalUseAreaIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},351:(Yt,Ze,m)=>{"use strict";m.d(Ze,{h:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_reservasNaturalesCifras="",this.api_path_reservasNaturales="",this.api_path_reservasNaturalesIds="",this.api_path_countReservasNaturales="",this.api_path_fotoPrincipal="",this.api_path_extensionreserva="",this.api_path_generarInformeGeneral="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",this.api_path_combosReserva="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_valoresInteres="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_medidasProteccion="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_datos_medidas="",this.api_path_borrarRelacionLegislacion="",this.combosSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_reservasNaturalesCifras=this.configService.getApi("riverNatureReserves","reservasEnCifras"),this.api_path_reservasNaturales=this.configService.getApi("riverNatureReserves","riverNatureReserves"),this.api_path_reservasNaturalesIds=this.configService.getApi("riverNatureReserves","riverNatureReservesIds"),this.api_path_countReservasNaturales=this.configService.getApi("riverNatureReserves","count"),this.api_path_fotoPrincipal=this.configService.getApi("riverNatureReserves","fotoPrincipal"),this.api_path_extensionreserva=this.configService.getApi("riverNatureReserves","extensionRNF"),this.api_path_generarInformeGeneral=this.configService.getApi("riverNatureReserves","generarInformeGeneral"),this.api_path_fotosRelacionadas=this.configService.getApi("riverNatureReserves","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("riverNatureReserves","establecerFotoFavorita"),this.api_path_combosReserva=this.configService.getApi("riverNatureReserves","getCombos"),this.api_path_controlVersiones=this.configService.getApi("riverNatureReserves","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("riverNatureReserves","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("riverNatureReserves","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("riverNatureReserves","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("riverNatureReserves","camposHistorico"),this.api_path_historico=this.configService.getApi("riverNatureReserves","historico"),this.api_path_comparacionVersion=this.configService.getApi("riverNatureReserves","comparacionVersion"),this.api_path_valoresInteres=this.configService.getApi("riverNatureReserves","valoresInteres"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("riverNatureReserves","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("riverNatureReserves","getLeyes"),this.api_path_medidasProteccion=this.configService.getApi("riverNatureReserves","getMedidasProteccion"),this.api_path_guardarRelacion=this.configService.getApi("riverNatureReserves","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("riverNatureReserves","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("riverNatureReserves","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("riverNatureReserves","elementosRelacionados"),this.api_path_datos_medidas=this.configService.getApi("riverNatureReserves","getDatosMedidas"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("riverNatureReserves","borrarRelacionLegislacion")}getReservasNaturalesFluvialesEnCifras(){return this.http.get(this.api_path+this.api_path_reservasNaturalesCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getRiverNatureReserves(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_reservasNaturales,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getRiverNatureReserve(h){return this.http.get(this.api_path+this.api_path_reservasNaturales+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountRiverNatureReserves(h){return this.http.post(this.api_path+this.api_path_countReservasNaturales,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionreserva}
1${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getfotosReserva(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosReserva(){this.http.get(`${this.api_path}${this.api_path_combosReserva}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosSubject$)}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresInteres(h){return this.http.get(this.api_path+this.api_path_valoresInteres+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMedidasProteccion(h){return this.http.get(this.api_path+this.api_path_medidasProteccion+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMedidas(h){return this.http.get(`${this.api_path}${this.api_path_datos_medidas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_reservasNaturalesIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},7280:(Yt,Ze,m)=>{"use strict";m.d(Ze,{c:()=>R});var i=m(520),s=m(5625),e=m(262),l=m(3179),d=m(5e3),A=m(8914),C=m(3468),T=m(4894),S=m(4209);let R=(()=>{class q{constructor(k,h,O,E,c){this.http=k,this.configService=h,this.dialogModelService=O,this.translate=E,this.globalService=c,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_sensitiveAreaCifras="",this.api_path_generarInformeGeneral="",this.api_path_sensitiveArea="",this.api_path_sensitiveAreaIds="",this.api_path_countSensitiveArea="",this.api_path_extensionSensitiveArea="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_combos="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_comparacionVersion="",this.api_path_borrarRelacionLegislacion="",this.api_path_fotoPrincipal="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",q.dialogModelService=this.dialogModelService,q.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("sensitiveArea","extension"),this.api_path_sensitiveAreaCifras=this.configService.getApi("sensitiveArea","sensitiveAreaEnCifras"),this.api_path_sensitiveArea=this.configService.getApi("sensitiveArea","sensitiveArea"),this.api_path_sensitiveAreaIds=this.configService.getApi("sensitiveArea","sensitiveAreaIds"),this.api_path_countSensitiveArea=this.configService.getApi("sensitiveArea","count"),this.api_path_controlVersiones=this.configService.getApi("sensitiveArea","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("sensitiveArea","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("sensitiveArea","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("sensitiveArea","guardarVersionado"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("sensitiveArea","borrarRelacionLegislacion"),this.api_path_comparacionVersion=this.configService.getApi("sensitiveArea","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("sensitiveArea","camposHistorico"),this.api_path_historico=this.configService.getApi("sensitiveArea","historico"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("sensitiveArea","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("sensitiveArea","getLeyes"),this.api_path_guardarRelacion=this.configService.getApi("sensitiveArea","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("sensitiveArea","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("sensitiveArea","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("sensitiveArea","elementosRelacionados"),this.api_path_fotoPrincipal=this.configService.getApi("sensitiveArea","fotoPrincipal"),this.api_path_fotosRelacionadas=this.configService.getApi("sensitiveArea","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("sensitiveArea","establecerFotoFavorita"),this.api_path_generarInformeGeneral=this.configService.getApi("sensitiveArea","generarInformeGeneral")}getExtensionFeature(k){return this.http.get(`${this.api_path}${this.api_path_extension}${k}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getSensitiveAreaEnCifras(){return this.http.get(this.api_path+this.api_path_sensitiveAreaCifras).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getSensitiveAreas(k,h,O,E,c){let Z=new i.LE;return Z=Z.append("pageNumber",h||"0"),Z=Z.append("pageSize",O||"10"),Z=Z.append("tipoOrdenacion",E||l.C.TipoOrdenacion.ASCENDENTE),Z=Z.append("campoOrdenacion",c||"id"),this.http.post(this.api_path+this.api_path_sensitiveArea,k,{params:Z}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getSensitiveArea(k){return this.http.get(this.api_path+this.api_path_sensitiveArea+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCountSensitiveArea(k){return this.http.post(this.api_path+this.api_path_countSensitiveArea,k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getControlDeVersiones(k,h){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${k}/${h}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validarBloque(k){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}descartarOperacion(k,h){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${k}/${h}`,{}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionado(k){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}borrarRelacionesLegislacion(k){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComparacionVersion(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${k}/${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getListadoCamposHistorico(k){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getHistoricoCampo(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_historico}${k}/${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(k){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getValoresCombosLeyes(k){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosRelacionados(k){return this.http.get(this.api_path+this.api_path_elementosRelacionados+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${k}/${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarRelacion(k,h){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${k}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}borrarRelacionados(k,h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${k}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getfotosZona(k){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}setFotoFavorita(k,h){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${k}`,h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}generarInformeGeneral(k){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getFotoPrincipal(k){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getSearchCodes(k){return this.http.post(this.api_path+this.api_path_sensitiveAreaIds,k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}}return q.\u0275fac=function(k){return new(k||q)(d.LFG(i.eN),d.LFG(A.E),d.LFG(C.r),d.LFG(T.sK),d.LFG(S.U))},q.\u0275prov=d.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})()},414:(Yt,Ze,m)=>{"use strict";m.d(Ze,{O:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_zonasProtegidasCifras="",this.api_path_zonasProtegidas="",this.api_path_zonasProtegidasIds="",this.api_path_countZonasProtegidas="",this.api_path_fotoPrincipal="",this.api_path_extensionreserva="",this.api_path_generarInformeGeneral="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",this.api_path_combosReserva="",this.api_path_controlVersiones="",this.api_path_guardarVersionado="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_historico="",this.api_path_camposHistorico="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_medidasProteccion="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_valoresInteres="",this.api_path_datos_medidas="",this.api_path_borrarRelacionLegislacion="",this.combosBusquedaSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_zonasProtegidasCifras=this.configService.getApi("specialProtectionAreas","zonasEnCifras"),this.api_path_zonasProtegidas=this.configService.getApi("specialProtectionAreas","specialProtectionAreas"),this.api_path_zonasProtegidasIds=this.configService.getApi("specialProtectionAreas","specialProtectionAreasIds"),this.api_path_countZonasProtegidas=this.configService.getApi("specialProtectionAreas","count"),this.api_path_fotoPrincipal=this.configService.getApi("specialProtectionAreas","fotoPrincipal"),this.api_path_extensionreserva=this.configService.getApi("specialProtectionAreas","extension"),this.api_path_generarInformeGeneral=this.configService.getApi("specialProtectionAreas","generarInformeGeneral"),this.api_path_fotosRelacionadas=this.configService.getApi("specialProtectionAreas","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("specialProtectionAreas","establecerFotoFavorita"),this.api_path_combosReserva=this.configService.getApi("specialProtectionAreas","getCombos"),this.api_path_controlVersiones=this.configService.getApi("specialProtectionAreas","controlVersiones"),this.api_path_guardarVersionado=this.configService.getApi("specialProtectionAreas","guardarVersionado"),this.api_path_validarBloque=this.configService.getApi("specialProtectionAreas","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("specialProtectionAreas","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("specialProtectionAreas","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("specialProtectionAreas","camposHistorico"),this.api_path_historico=this.configService.getApi("specialProtectionAreas","historico"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("specialProtectionAreas","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("specialProtectionAreas","getLeyes"),this.api_path_medidasProteccion=this.configService.getApi("specialProtectionAreas","getMedidasProteccion"),this.api_path_guardarRelacion=this.configService.getApi("specialProtectionAreas","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("specialProtectionAreas","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("specialProtectionAreas","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("specialProtectionAreas","elementosRelacionados"),this.api_path_valoresInteres=this.configService.getApi("specialProtectionAreas","valoresInteres"),this.api_path_datos_medidas=this.configService.getApi("specialProtectionAreas","getDatosMedidas"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("specialProtectionAreas",
1"borrarRelacionLegislacion")}getZonasProtegidasEspecialesEnCifras(){return this.http.get(this.api_path+this.api_path_zonasProtegidasCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSpecialProtectionAreas(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_zonasProtegidas,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSpecialProtectionArea(h){return this.http.get(this.api_path+this.api_path_zonasProtegidas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountSpecialProtectionAreas(h){return this.http.post(this.api_path+this.api_path_countZonasProtegidas,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionreserva}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getfotosReserva(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosReserva(){this.http.get(`${this.api_path}${this.api_path_combosReserva}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresInteres(h){return this.http.get(this.api_path+this.api_path_valoresInteres+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMedidasProteccion(h){return this.http.get(this.api_path+this.api_path_medidasProteccion+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMedidas(h){return this.http.get(`${this.api_path}${this.api_path_datos_medidas}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_zonasProtegidasIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},5088:(Yt,Ze,m)=>{"use strict";m.d(Ze,{h:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_abastecimientoCifras="",this.api_path_generarInformeGeneral="",this.api_path_abastecimientos="",this.api_path_abastecimientosIds="",this.api_path_countAbastecimientos="",this.api_path_extensionAbastecimiento="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_combos="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_comparacionVersion="",this.api_path_borrarRelacionLegislacion="",this.combosBusquedaSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_abastecimientoCifras=this.configService.getApi("surfaceSupplies","abastecimientosEnCifras"),this.api_path_generarInformeGeneral=this.configService.getApi("surfaceSupplies","generarInformeGeneral"),this.api_path_abastecimientos=this.configService.getApi("surfaceSupplies","surfaceSupplies"),this.api_path_abastecimientosIds=this.configService.getApi("surfaceSupplies","surfaceSuppliesIds"),this.api_path_countAbastecimientos=this.configService.getApi("surfaceSupplies","count"),this.api_path_extensionAbastecimiento=this.configService.getApi("surfaceSupplies","extensionAbastecimiento"),this.api_path_controlVersiones=this.configService.getApi("surfaceSupplies","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("surfaceSupplies","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("surfaceSupplies","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("surfaceSupplies","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("surfaceSupplies","camposHistorico"),this.api_path_historico=this.configService.getApi("surfaceSupplies","historico"),this.api_path_guardarRelacion=this.configService.getApi("surfaceSupplies","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("surfaceSupplies","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("surfaceSupplies","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("surfaceSupplies","elementosRelacionados"),this.api_path_combos=this.configService.getApi("surfaceSupplies","getCombos"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("surfaceSupplies","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("surfaceSupplies","getLeyes"),this.api_path_comparacionVersion=this.configService.getApi("surfaceSupplies","comparacionVersion"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("surfaceSupplies","borrarRelacionLegislacion")}getAbastecimientoEnCifras(){return this.http.get(this.api_path+this.api_path_abastecimientoCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSurfaceSupplies(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_abastecimientos,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSurfaceSupplie(h){return this.http.get(this.api_path+this.api_path_abastecimientos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountSurfaceSupplies(h){return this.http.post(this.api_path+this.api_path_countAbastecimientos,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionAbastecimiento}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${null!=E?`${h}/${O}/${E}`:`${h}/${O}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h,O){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}${O?`${O}`:""}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O,E){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${null!=E?`${h}/${O}/${E}`:`${h}/${O}`}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombos(){this.http.get(`${this.api_path}${this.api_path_combos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosTecnico(){return this.http.get(`${this.api_path}${this.api_path_combos}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${null!=c?`${h}/${O}/${E}/${c}`:`${h}/${O}/${E}`}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_abastecimientosIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},1097:(Yt,Ze,m)=>{"use strict";m.d(Ze,{o:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_vulnerableAreaCifras="",this.api_path_generarInformeGeneral="",this.api_path_vulnerableArea="",this.api_path_vulnerableAreaIds="",this.api_path_countVulnerableArea="",this.api_path_extensionVulnerableArea="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_combos="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_comparacionVersion="",this.api_path_borrarRelacionLegislacion="",this.api_path_fotoPrincipal="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("vulnerableAreas","extension"),this.api_path_vulnerableAreaCifras=this.configService.getApi("vulnerableAreas","vulnerableAreaEnCifras"),this.api_path_vulnerableArea=this.configService.getApi("vulnerableAreas","vulnerableArea"),this.api_path_vulnerableAreaIds=this.configService.getApi("vulnerableAreas","vulnerableAreaIds"),this.api_path_countVulnerableArea=this.configService.getApi("vulnerableAreas","count"),this.api_path_controlVersiones=this.configService.getApi("vulnerableAreas","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("vulnerableAreas","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("vulnerableAreas","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("vulnerableAreas","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("vulnerableAreas","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("vulnerableAreas","camposHistorico"),this.api_path_historico=this.configService.getApi("vulnerableAreas","historico"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("vulnerableAreas","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("vulnerableAreas","getLeyes"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("vulnerableAreas","borrarRelacionLegislacion"),this.api_path_guardarRelacion=this.configService.getApi("vulnerableAreas","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("vulnerableAreas","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("vulnerableAreas","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("vulnerableAreas","elementosRelacionados"),this.api_path_fotoPrincipal=this.configService.getApi("vulnerableAreas","fotoPrincipal"),this.api_path_fotosRelacionadas=this.configService.getApi("vulnerableAreas","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("vulnerableAreas","establecerFotoFavorita"),this.api_path_generarInformeGeneral=this.configService.getApi("vulnerableAreas","generarInformeGeneral")}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getVulnerableAreaEnCifras(){return this.http.get(this.api_path+this.api_path_vulnerableAreaCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getVulnerableAreas(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_vulnerableArea,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getVulnerableArea(h){return this.http.get(this.api_path+this.api_path_vulnerableArea+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountVulnerableArea(h){return this.http.post(this.api_path+this.api_path_countVulnerableArea,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(h){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getValoresCombosLeyes(h){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionesLegislacion(h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(h){return this.http.get(this.api_path+this.api_path_elementosRelacionados+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(h,O){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${h}`,O,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getfotosZona(h){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(h,O){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${h}`,O).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(h){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_vulnerableAreaIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},1908:(Yt,Ze,m)=>{"use strict";m.d(Ze,{X:()=>R});var i=m(520),s=m(5625),e=m(262),l=m(3179),d=m(5e3),A=m(8914),C=m(3468),T=m(4894),S=m(4209);let R=(()=>{class q{constructor(k,h,O,E,c){this.http=k,this.configService=h,this.dialogModelService=O,this.translate=E,this.globalService=c,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_wetAreaCifras="",this.api_path_wetArea="",this.api_path_wetAreaIds="",this.api_path_countWetArea="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_valoresComboLeyesSinSeleccionar="",this.api_path_valoresComboLeyes="",this.api_path_borrarRelacionLegislacion="",this.api_path_guardarRelacion="",this.api_path_borrarRelacion="",this.api_path_elementosRelacionables="",this.api_path_elementosRelacionados="",this.api_path_fotoPrincipal="",this.api_path_fotosRelacionadas="",this.api_path_establecerFotoFavorita="",this.api_path_generarInformeGeneral="",q.dialogModelService=this.dialogModelService,q.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("wetAreas","extension"),this.api_path_wetAreaCifras=this.configService.getApi("wetAreas","wetAreaEnCifras"),this.api_path_wetArea=this.configService.getApi("wetAreas","wetArea"),this.api_path_wetAreaIds=this.configService.getApi("wetAreas","wetAreaIds"),this.api_path_countWetArea=this.configService.getApi("wetAreas","count"),this.api_path_fotoPrincipal=this.configService.getApi("wetAreas","fotoPrincipal"),this.api_path_controlVersiones=this.configService.getApi("wetAreas","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("wetAreas","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("wetAreas","descartarOperacion"),this.api_path_guardarVersionado=this.configService.getApi("wetAreas","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("wetAreas","comparacionVersion"),this.api_path_camposHistorico=this.configService.getApi("wetAreas","camposHistorico"),this.api_path_historico=this.configService.getApi("wetAreas","historico"),this.api_path_borrarRelacionLegislacion=this.configService.getApi("wetAreas","borrarRelacionLegislacion"),this.api_path_valoresComboLeyesSinSeleccionar=this.configService.getApi("wetAreas","getLeyesSinSeleccionar"),this.api_path_valoresComboLeyes=this.configService.getApi("wetAreas","getLeyes"),this.api_path_guardarRelacion=this.configService.getApi("wetAreas","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("wetAreas","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("wetAreas","elementosRelacionables"),this.api_path_elementosRelacionados=this.configService.getApi("wetAreas","elementosRelacionados"),this.api_path_fotosRelacionadas=this.configService.getApi("wetAreas","fotosRelacionadas"),this.api_path_establecerFotoFavorita=this.configService.getApi("wetAreas","establecerFotoFavorita"),this.api_path_generarInformeGeneral=this.configService.getApi("wetAreas","generarInformeGeneral")}getExtensionFeature(k){return this.http.get(`${this.api_path}${this.api_path_extension}${k}`,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getWetAreaEnCifras(){return this.http.get(this.api_path+this.api_path_wetAreaCifras).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getWetAreas(k,h,O,E,c){let Z=new i.LE;return Z=Z.append("pageNumber",h||"0"),Z=Z.append("pageSize",O||"10"),Z=Z.append("tipoOrdenacion",E||l.C.TipoOrdenacion.ASCENDENTE),Z=Z.append("campoOrdenacion",c||"id"),this.http.post(this.api_path+this.api_path_wetArea,k,{params:Z}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getWetArea(k){return this.http.get(this.api_path+this.api_path_wetArea+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getCountWetArea(k){return this.http.post(this.api_path+this.api_path_countWetArea,k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getFotoPrincipal(k){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validarBloque(k,h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}${h?`${h}`:""}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}descartarOperacion(k,h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${null!=O?`${k}/${h}/${O}`:`${k}/${h}`}`,{}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getControlDeVersiones(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}${null!=O?`${k}/${h}/${O}`:`${k}/${h}`}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarVersionado(k){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getComparacionVersion(k,h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${null!=E?`${k}/${h}/${O}/${E}`:`${k}/${h}/${O}`}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getListadoCamposHistorico(k){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getHistoricoCampo(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_historico}${k}/${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}borrarRelacionesLegislacion(k){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionLegislacion}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getValoresCombosLeyesSinSeleccionar(k){return this.http.get(`${this.mirame_path}${this.api_path_valoresComboLeyesSinSeleccionar}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getValoresCombosLeyes(k){return this.http.get(`${this.api_path}${this.api_path_valoresComboLeyes}${k}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosRelacionados(k){return this.http.get(this.api_path+this.api_path_elementosRelacionados+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(k,h,O){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${k}/${h}/${O}`).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}guardarRelacion(k,h){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${k}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}borrarRelacionados(k,h){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${k}`,h,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getfotosZona(k){return this.http.get(this.api_path+this.api_path_fotosRelacionadas+k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}setFotoFavorita(k,h){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${k}`,h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}generarInformeGeneral(k){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,k,{observe:"response"}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getSearchCodes(k){return this.http.post(this.api_path+this.api_path_wetAreaIds,k).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}}return q.\u0275fac=function(k){return new(k||q)(d.LFG(i.eN),d.LFG(A.E),d.LFG(C.r),d.LFG(T.sK),d.LFG(S.U))},q.\u0275prov=d.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})()},9318:(Yt,Ze,m)=>{"use strict";m.d(Ze,{U:()=>R});var i=m(520),s=m(5625),e=m(262),l=m(3179),d=m(5e3),A=m(8914),C=m(4209),T=m(4894),S=m(3468);let R=(()=>{class q{constructor(k,h,O,E,c){this.http=k,this.configService=h,this.globalService=O,this.translate=E,this.dialogService=c,this.api_path="",this.api_path_search="",this.api_path_count="",this.api_path_types="",this.api_path=this.configService.getPublicPath(),this.api_path_search=this.configService.getApi("search","search"),this.api_path_count=this.configService.getApi("search","count"),this.api_path_types=this.configService.getApi("search","types")}search(k,h,O,E,c){let Z=this.filterToFormData(k);return Z.append("pageNumber",h||"0"),Z.append("pageSize",O||"10"),Z.append("tipoOrdenacion",E||l.C.TipoOrdenacion.ASCENDENTE),Z.append("campoOrdenacion",c||"type"),this.http.post(this.api_path+this.api_path_search,Z).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}count(k){let h=this.filterToFormData(k);return this.http.post(this.api_path+this.api_path_count,h).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}getTypes(k){let h=new i.LE;return h=h.append("text",k||""),this.http.post(this.api_path+this.api_path_types,null,{params:h}).pipe((0,s.X)(1),(0,e.K)(this.globalService.handleError))}validate(k){return!!this.isValid(k)||(this.dialogService.openMessageDialog(this.translate.instant("searchGeneral.title"),this.translate.instant("searchGeneral.errors.invalid_text")),!1)}isValid(k){return!(null==k||k.length<2)}translateType(k){return this.translate.instant("searchGeneral.types."+k)}filterToFormData(k){let h=new FormData;return h.append("text",k.text||""),null!=k.types&&(k.types.length>
10?k.types.forEach(O=>h.append("types",O)):h.append("types","")),h}}return q.\u0275fac=function(k){return new(k||q)(d.LFG(i.eN),d.LFG(A.E),d.LFG(C.U),d.LFG(T.sK),d.LFG(S.r))},q.\u0275prov=d.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})()},3970:(Yt,Ze,m)=>{"use strict";m.d(Ze,{C:()=>k});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(8505),A=m(3179),C=m(5e3),T=m(8914),S=m(3468),R=m(4894),q=m(4209),w=m(5890);let k=(()=>{class h{constructor(E,c,Z,v,ee,X){this.http=E,this.configService=c,this.dialogModelService=Z,this.translate=v,this.globalService=ee,this.matomoAnalyticsService=X,this.api_path="",this.mirame_path="",this.api_path_canalesEnCifras="",this.api_path_canales="",this.api_path_canalesIds="",this.api_path_extensionCanal="",this.api_path_count_canales="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comparacionVersion="",this.api_path_combosBusqueda="",this.api_path_combosFichaTecnicaCanales="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_elementosRelacionados="",this.api_path_borrarRelacion="",this.api_path_guardarRelacion="",this.api_path_elementosRelacionables="",this.api_path_valoresComboUsosSinSeleccionar="",this.api_path_borrarRelacionUso="",this.api_path_generarInformeGeneral="",this.api_path_canal="",this.api_path_combosMasasCanal="",this.api_path_datos_medidas="",this.api_path_deterioros="",this.api_path_objetivos="",this.guardarFichero_api_path="",this.eliminarFichero_api_path="",this.api_path_presiones="",this.api_path_guardarVersionadoPresiones="",this.api_path_estado="",this.api_path_combosIndicadores="",this.api_path_generarExcelValoresReferencia="",this.api_path_getFotosCanales="",this.api_path_establecerFotoFavorita="",this.api_path_fotoPrincipal="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),h.dialogModelService=this.dialogModelService,h.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_canalesEnCifras=this.configService.getApi("surfacewaterbodychannel","canalesEnCifras"),this.api_path_canales=this.configService.getApi("channel","canales"),this.api_path_canalesIds=this.configService.getApi("channel","canalesIds"),this.api_path_count_canales=this.configService.getApi("channel","count"),this.api_path_extensionCanal=this.configService.getApi("channel","extensionCanal"),this.api_path_canal=this.configService.getApi("surfacewaterbodychannel","canal"),this.api_path_controlVersiones=this.configService.getApi("surfacewaterbodychannel","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("surfacewaterbodychannel","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("surfacewaterbodychannel","descartarOperacion"),this.api_path_combosFichaTecnicaCanales=this.configService.getApi("surfacewaterbodychannel","combosFichaTecnicaMasasCanal"),this.api_path_camposHistorico=this.configService.getApi("surfacewaterbodychannel","camposHistorico"),this.api_path_historico=this.configService.getApi("surfacewaterbodychannel","historico"),this.api_path_guardarVersionado=this.configService.getApi("surfacewaterbodychannel","guardarVersionado"),this.api_path_combosMasasCanal=this.configService.getApi("surfacewaterbodychannel","combosMasasCanal"),this.api_path_comparacionVersion=this.configService.getApi("surfacewaterbodychannel","comparacionVersion"),this.api_path_borrarRelacionUso=this.configService.getApi("surfacewaterbodychannel","borrarRelacionUso"),this.api_path_elementosRelacionados=this.configService.getApi("surfacewaterbodychannel","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("surfacewaterbodychannel","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("surfacewaterbodychannel","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("surfacewaterbodychannel","elementosRelacionables"),this.guardarFichero_api_path=this.configService.getApi("surfacewaterbodychannel","guardarFichero"),this.eliminarFichero_api_path=this.configService.getApi("surfacewaterbodychannel","eliminarFichero"),this.api_path_generarInformeGeneral=this.configService.getApi("surfacewaterbodychannel","generarInformeGeneral"),this.api_path_datos_medidas=this.configService.getApi("surfacewaterbodychannel","getDatosMedidas"),this.api_path_deterioros=this.configService.getApi("surfacewaterbodychannel","getDeterioros"),this.api_path_objetivos=this.configService.getApi("surfacewaterbodychannel","getObjetivos"),this.api_path_presiones=this.configService.getApi("surfacewaterbodychannel","getPresiones"),this.api_path_guardarVersionadoPresiones=this.configService.getApi("surfacewaterbodychannel","guardarVersionadoPresiones"),this.api_path_estado=this.configService.getApi("surfacewaterbodychannel","getEstado"),this.api_path_combosIndicadores=this.configService.getApi("surfacewaterbodychannel","combosIndicadoresByTipo"),this.api_path_generarExcelValoresReferencia=this.configService.getApi("surfacewaterbodychannel","generarExcelValoresReferencia"),this.api_path_getFotosCanales=this.configService.getApi("surfacewaterbodychannel","getfotoscanal"),this.api_path_establecerFotoFavorita=this.configService.getApi("surfacewaterbodychannel","establecerFotoFavorita"),this.api_path_fotoPrincipal=this.configService.getApi("surfacewaterbodychannel","fotoPrincipal")}getfotosCanales(E){return this.http.get(`${this.api_path}${this.api_path_getFotosCanales}${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getFotoPrincipal(E){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}setFotoFavorita(E,c){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${E}`,c).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCanalesEnCifras(){return this.http.get(this.api_path+this.api_path_canalesEnCifras).pipe((0,e.X)(1),(0,d.b)({next:E=>{var c,Z;const v=(null===(Z=null===(c=E.estados)||void 0===c?void 0:c.estadoGlobal)||void 0===Z?void 0:Z.length)||0;this.matomoAnalyticsService.trackGetInformation("canales-masas-agua-en-cifras",v)},error:E=>{this.matomoAnalyticsService.trackError("canales-masas-agua-en-cifras",E.message)}}),(0,l.K)(this.globalService.handleError))}getChannels(E,c,Z,v,ee){let X=new i.LE;return X=X.append("pageNumber",c||"0"),X=X.append("pageSize",Z||"10"),X=X.append("tipoOrdenacion",v||A.C.TipoOrdenacion.ASCENDENTE),X=X.append("campoOrdenacion",ee||"id"),X=X.append("masaAgua",E.masaAgua||1),this.http.post(this.api_path+this.api_path_canales,E,{params:X}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getChannelsCount(E){return this.http.post(this.api_path+this.api_path_count_canales,E).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getChannel(E){return this.http.get(this.api_path+this.api_path_canal+E).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}`+(Z?`${E}/${c}/${Z}`:`${E}/${c}`)).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}validarBloque(E){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${E}/${c}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosFichaTecnicaCanales(){this.http.get(`${this.api_path}${this.api_path_combosFichaTecnicaCanales}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getHistoricoCampo(E,c,Z,v,ee){return this.http.get(`${this.mirame_path}${this.api_path_historico}${E}/${c}/${Z}/${v}/${ee}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(E){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionadoPresiones(E){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPresiones}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosMasasCanal(){this.http.get(`${this.api_path}${this.api_path_combosMasasCanal}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}borrarRelacionesUso(E){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionUso}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionados(E){return this.http.get(this.api_path+this.api_path_elementosRelacionados+E).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarRelacionados(E,c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarRelacion(E,c){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${E}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(E,c,Z){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${E}/${c}/${Z}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(E){return this.http.get(`${this.api_path}${this.api_path_extensionCanal}${E}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(E){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMedidas(E){return this.http.get(this.api_path+this.api_path_datos_medidas+E).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getDeterioros(E){return this.http.get(this.api_path+this.api_path_deterioros+E).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getObjetivos(E){return this.http.get(this.api_path+this.api_path_objetivos+E).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarFichero(E,c){return this.http.post(`${this.mirame_path}${this.guardarFichero_api_path}${E}`,c).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}borrarFichero(E,c,Z){return this.http.post(`${this.mirame_path}${this.eliminarFichero_api_path}${E}/${c}/${Z}`,null).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getPresiones(E){return this.http.get(this.api_path+this.api_path_presiones+E).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getEstado(E,c){return this.http.get(`${this.api_path}${this.api_path_estado}/${E}/${c}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosIndicadoresByTipo(E,c,Z){return this.http.get(`${this.api_path}${this.api_path_combosIndicadores}/`+(Z?`${E}/${c}/${Z}`:`${E}/${c}`)).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarExcelValoresReferencia(E){return this.http.post(`${this.api_path}${this.api_path_generarExcelValoresReferencia}`,E,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(E){return this.http.post(this.api_path+this.api_path_canalesIds,E).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}
1return h.\u0275fac=function(E){return new(E||h)(C.LFG(i.eN),C.LFG(T.E),C.LFG(S.r),C.LFG(R.sK),C.LFG(q.U),C.LFG(w.p))},h.\u0275prov=C.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},8230:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Y:()=>Z});var i=m(8966),s=m(3179),e=m(3019),l=m(5e3),d=m(91),A=m(5448),C=m(4894);function T(v,ee){if(1&v&&l._UZ(0,"app-edit-cell-table",20),2&v){const X=l.oxw(2);l.Q6J("tableData",X.ecologicalFlowsMonths)("tableColumns",X.tableConfiguration)("tableEditable",!1)}}function S(v,ee){if(1&v&&(l.TgZ(0,"span",21),l._uU(1),l.qZA()),2&v){const X=l.oxw(2);l.xp6(1),l.hij(" ",X.lakeDetail.caudalesMod.clasificacionDesc," ")}}function R(v,ee){if(1&v&&l._uU(0),2&v){const X=l.oxw(2);l.Oqu(X.lakeDetail.caudalesMod.clasificacionDesc)}}function q(v,ee){if(1&v&&(l.TgZ(0,"span",21),l._uU(1),l.qZA()),2&v){const X=l.oxw(2);l.xp6(1),l.hij(" ",X.lakeDetail.caudalesMod.estacionAforos," ")}}function w(v,ee){if(1&v&&l._uU(0),2&v){const X=l.oxw(2);l.Oqu(X.lakeDetail.caudalesMod.estacionAforos)}}function k(v,ee){if(1&v&&(l.TgZ(0,"span",21),l._uU(1),l.qZA()),2&v){const X=l.oxw(2);l.xp6(1),l.hij(" ",X.lakeDetail.caudalesMod.comentarios," ")}}function h(v,ee){if(1&v&&l._uU(0),2&v){const X=l.oxw(2);l.Oqu(X.lakeDetail.caudalesMod.comentarios)}}const O=function(v){return{modified:v}};function E(v,ee){if(1&v){const X=l.EpF();l.TgZ(0,"div",2)(1,"div",3)(2,"h2"),l._uU(3),l.qZA()(),l._UZ(4,"mat-divider",4),l.TgZ(5,"div",5)(6,"div",6),l.YNc(7,T,1,3,"app-edit-cell-table",7),l.qZA(),l.TgZ(8,"div",6)(9,"mat-list")(10,"mat-list-item",8)(11,"span",9),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.YNc(14,S,2,1,"span",10),l.qZA(),l.YNc(15,R,1,1,"ng-template",null,11,l.W1O),l.TgZ(17,"mat-list-item",8)(18,"span",12),l._uU(19),l.ALo(20,"translate"),l.qZA(),l._uU(21),l.qZA(),l.TgZ(22,"mat-list-item",8)(23,"span",9),l._uU(24),l.ALo(25,"translate"),l.qZA(),l.YNc(26,q,2,1,"span",10),l.qZA(),l.YNc(27,w,1,1,"ng-template",null,13,l.W1O),l.TgZ(29,"mat-list-item",14)(30,"span",15),l._uU(31),l.ALo(32,"translate"),l.qZA(),l.YNc(33,k,2,1,"span",10),l.qZA(),l.YNc(34,h,1,1,"ng-template",null,16,l.W1O),l.qZA()()(),l.TgZ(36,"div",5)(37,"div",17)(38,"div",18)(39,"button",19),l.NdJ("click",function(){return l.CHM(X),l.oxw().closeDialog()}),l._uU(40),l.ALo(41,"translate"),l.qZA()()()()()}if(2&v){const X=l.MAs(16),te=l.MAs(28),_e=l.MAs(35),ne=l.oxw();l.xp6(3),l.AsE("",ne.lakeDetail.id," - ",ne.lakeName,""),l.xp6(4),l.Q6J("ngIf",ne.ecologicalFlowsMonths),l.xp6(4),l.Q6J("ngClass",l.VKq(28,O,ne.lakeDetail.caudalesMod.modClasificacion)),l.xp6(1),l.hij(" ",l.lcZ(13,18,"surfacewaterbodylake.caudalesEcologicos.lblsGuardarCambios.clasificacionId"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",ne.lakeDetail.caudalesMod.modClasificacion)("ngIfElse",X),l.xp6(5),l.hij(" ",l.lcZ(20,20,"surfacewaterbodylake.caudalesEcologicos.lblPresenciaZEC"),":\xa0 "),l.xp6(2),l.hij(" ",ne.lakeDetail.caudalesMod.licAsociado," "),l.xp6(2),l.Q6J("ngClass",l.VKq(30,O,ne.lakeDetail.caudalesMod.modEstacionAforos)),l.xp6(1),l.hij(" ",l.lcZ(25,22,"surfacewaterbodylake.caudalesEcologicos.lblsGuardarCambios.estacionAforos"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",ne.lakeDetail.caudalesMod.modEstacionAforos)("ngIfElse",te),l.xp6(4),l.Q6J("ngClass",l.VKq(32,O,ne.lakeDetail.caudalesMod.modComentarios)),l.xp6(1),l.hij(" ",l.lcZ(32,24,"surfacewaterbodylake.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",ne.lakeDetail.caudalesMod.modComentarios)("ngIfElse",_e),l.xp6(7),l.Oqu(l.lcZ(41,26,"botones.cerrar"))}}function c(v,ee){1&v&&l._UZ(0,"app-spinner")}let Z=(()=>{class v{constructor(X,te,_e,ne,oe){this._dialogRef=X,this.data=te,this.swbLakeService=_e,this.tableConfigurationService=ne,this.translate=oe,this.lakeName="",this.numEnt=s.C.numEnt,this.lakeName=te.itemName,this.swbLakeService.getComparacionVersion(Number(te.gid),Number(te.gidVersion),te.operation).subscribe(he=>{this.lakeDetail=he,this.ecologicalFlowsMonths=e.N.getEcologicalFlowsByMonth(this.lakeDetail.caudalesMod,this.translate)}),this.tableConfiguration=this.tableConfigurationService.getCaudalesEcoSinMaximoTableConfiguration()}get dialogRef(){return this._dialogRef}set dialogRef(X){this._dialogRef=X}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return v.\u0275fac=function(X){return new(X||v)(l.Y36(i.so),l.Y36(i.WI),l.Y36(d.z),l.Y36(A.A),l.Y36(C.sK))},v.\u0275cmp=l.Xpm({type:v,selectors:[["app-version-changes-ecological-flows"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[3,"tableData","tableColumns","tableEditable",4,"ngIf"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["clasificacion",""],["appBold",""],["estacionAforos",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[3,"tableData","tableColumns","tableEditable"],["appHighlight",""]],template:function(X,te){if(1&X&&(l.YNc(0,E,42,34,"div",0),l.YNc(1,c,1,0,"ng-template",null,1,l.W1O)),2&X){const _e=l.MAs(2);l.Q6J("ngIf",te.lakeDetail)("ngIfElse",_e)}},styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),v})()},91:(Yt,Ze,m)=>{"use strict";m.d(Ze,{z:()=>h});var i=m(4707),s=m(1135),e=m(5625),l=m(8505),d=m(262),A=m(520),C=m(3179),T=m(5e3),S=m(8914),R=m(3468),q=m(4894),w=m(4209),k=m(5890);let h=(()=>{class O{constructor(c,Z,v,ee,X,te){this.http=c,this.configService=Z,this.dialogModelService=v,this.translate=ee,this.globalService=X,this.matomoAnalyticsService=te,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_lagosEnCifras="",this.api_path_lagos="",this.api_path_lagosIds="",this.api_path_count_lagos="",this.api_path_combosMasasLago="",this.api_path_generarInformeGeneral="",this.api_path_lago="",this.api_path_elementosRelacionados="",this.api_path_borrarRelacion="",this.api_path_guardarRelacion="",this.api_path_elementosRelacionables="",this.api_path_objetivos="",this.api_path_guardarFichero="",this.api_path_eliminarFichero="",this.api_path_combosFichaTecnica="",this.api_path_guardarVersionado="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_datos_medidas="",this.api_path_deterioros="",this.api_path_hidromorfologia="",this.api_path_aportacionMasaLago="",this.api_path_estado="",this.api_path_presiones="",this.api_path_combosIndicadores="",this.api_path_comboAnyo="",this.api_path_caudalesEcologicos="",this.api_path_guardarVersionadoPresiones="",this.api_path_guardarVersionadoPresionesAcum="",this.api_path_getFotosLagos="",this.api_path_establecerFotoFavorita="",this.api_path_fotoPrincipal="",this.api_path_extracciones_relacionadas="",this.api_path_grafica_puntos_muestreo="",this.api_path_habitatsSpecies="",this.api_path_habitatsSpeciesMasa="",this.api_path_habitatsNoRel="",this.api_path_speciesNoRel="",this.combosBusquedaSubject$=new i.t(1),this.combosTecnicoSubject$=new i.t(1),this.comboAnyoSubject$=new i.t(1),this.agesSubject$=new s.X([]),O.dialogModelService=this.dialogModelService,O.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("swbLake","extension"),this.api_path_lagosEnCifras=this.configService.getApi("swbLake","lagosEnCifras"),this.api_path_lagos=this.configService.getApi("swbLake","lagos"),this.api_path_lagosIds=this.configService.getApi("swbLake","lagosIds"),this.api_path_count_lagos=this.configService.getApi("swbLake","count"),this.api_path_combosMasasLago=this.configService.getApi("swbLake","combosMasasLago"),this.api_path_generarInformeGeneral=this.configService.getApi("swbLake","generarInformeGeneral"),this.api_path_lago=this.configService.getApi("swbLake","masaLago"),this.api_path_elementosRelacionados=this.configService.getApi("swbLake","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("swbLake","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("swbLake","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("swbLake","elementosRelacionables"),this.api_path_objetivos=this.configService.getApi("swbLake","getObjetivos"),this.api_path_guardarFichero=this.configService.getApi("swbLake","guardarFichero"),this.api_path_eliminarFichero=this.configService.getApi("swbLake","eliminarFichero"),this.api_path_combosFichaTecnica=this.configService.getApi("swbLake","combosFichaTecnica"),this.api_path_guardarVersionado=this.configService.getApi("swbLake","guardarVersionado"),this.api_path_camposHistorico=this.configService.getApi("swbLake","camposHistorico"),this.api_path_historico=this.configService.getApi("swbLake","historico"),this.api_path_controlVersiones=this.configService.getApi("swbLake","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("swbLake","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("swbLake","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("swbLake","comparacionVersion"),this.api_path_datos_medidas=this.configService.getApi("swbLake","getDatosMedidas"),this.api_path_deterioros=this.configService.getApi("swbLake","getDeterioros"),this.api_path_hidromorfologia=this.configService.getApi("swbLake","getHidromorfologia"),this.api_path_aportacionMasaLago=this.configService.getApi("swbLake","aportacionMasaLago"),this.api_path_estado=this.configService.getApi("swbLake","getEstado"),this.api_path_presiones=this.configService.getApi("swbLake","getPresiones"),this.api_path_combosIndicadores=this.configService.getApi("swbLake","combosIndicadoresByTipo"),this.api_path_comboAnyo=this.configService.getApi("swbLake","getComboAnyoHidromorfologia"),this.api_path_caudalesEcologicos=this.configService.getApi("swbLake","getDatosCaudalesEcologicos"),this.api_path_guardarVersionadoPresiones=this.configService.getApi("swbLake","guardarVersionadoPresiones"),this.api_path_guardarVersionadoPresionesAcum=this.configService.getApi("swbLake","guardarVersionadoPresionesAcum"),this.api_path_getFotosLagos=this.configService.getApi("swbLake","getfotoslago"),this.api_path_establecerFotoFavorita=this.configService.getApi("swbLake","establecerFotoFavorita"),this.api_path_fotoPrincipal=this.configService.getApi("swbLake","fotoPrincipal"),this.api_path_extracciones_relacionadas=this.configService.getApi("swbLake","extraccionesRelacionadas"),this.api_path_grafica_puntos_muestreo=this.configService.getApi("swbLake","graficaPuntosMuestreo"),this.api_path_habitatsSpecies=this.configService.getApi("swbLake","habitatsEspecies"),this.api_path_habitatsSpeciesMasa=this.configService.getApi("swbLake","habitatsEspeciesMasa"),this.api_path_habitatsNoRel=this.configService.getApi("swbLake","habitatsNoRelacionados"),this.api_path_speciesNoRel=this.configService.getApi("swbLake","especiesNoRelacionados")}setAges(c){this.agesSubject$.next(c)}getLagosEnCifras(){return this.http.get(this.api_path+this.api_path_lagosEnCifras).pipe((0,e.X)(1),(0,l.b)({next:c=>{var Z;const v=(null===(Z=c.cifras)||void 0===Z?void 0:Z.numMasas)||0;this.matomoAnalyticsService.trackGetInformation("lagos-masas-agua-en-cifras",v)},error:c=>{this.matomoAnalyticsService.trackError("lagos-masas-agua-en-cifras",c.message)}}),(0,d.K)(this.globalService.handleError))}getExtraccionesRelacionadas(c){return this.http.get(`${this.api_path}${this.api_path_extracciones_relacionadas}
1/${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getLakes(c,Z,v,ee,X){let te=new A.LE;return te=te.append("pageNumber",Z||"0"),te=te.append("pageSize",v||"10"),te=te.append("tipoOrdenacion",ee||C.C.TipoOrdenacion.ASCENDENTE),te=te.append("campoOrdenacion",X||"id"),this.http.post(this.api_path+this.api_path_lagos,c,{params:te}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getLakesCount(c){return this.http.post(this.api_path+this.api_path_count_lagos,c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(c){return this.http.get(`${this.api_path}${this.api_path_extension}${c}`,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosMasasLago(){this.http.get(`${this.api_path}${this.api_path_combosMasasLago}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getfotosLagos(c){return this.http.get(`${this.api_path}${this.api_path_getFotosLagos}${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getFotoPrincipal(c){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}setFotoFavorita(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${c}`,Z).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(c){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getLake(c){return this.http.get(this.api_path+this.api_path_lago+c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(c){return this.http.get(this.api_path+this.api_path_elementosRelacionados+c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionados(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${c}`,Z,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${c}`,Z,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${c}/${Z}/${v}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getObjetivos(c){return this.http.get(this.api_path+this.api_path_objetivos+c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}savefile(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_guardarFichero}${c}`,Z).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}deteleFile(c,Z,v){return this.http.post(`${this.mirame_path}${this.api_path_eliminarFichero}${c}/${Z}/${v}`,null).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosFichaTecnica(){this.http.get(`${this.api_path}${this.api_path_combosFichaTecnica}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}guardarVersionado(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(c){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}`+(v?`${c}/${Z}/${v}`:`${c}/${Z}`)).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(c){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${c}/${Z}`,{}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(c,Z,v,ee,X){let te=`${c}/${Z}/${v}/${ee}`;return null!=X&&null!=X&&(te=`${c}/${Z}/${v}/${ee}/${X}`),this.http.get(`${this.mirame_path}${this.api_path_historico}${te}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getMedidas(c){return this.http.get(this.api_path+this.api_path_datos_medidas+c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getDeterioros(c){return this.http.get(this.api_path+this.api_path_deterioros+c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHidromorfologia(c,Z){return this.http.get(this.api_path+this.api_path_hidromorfologia+c+"/"+Z).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${c}/${Z}/${v}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getAportacionMasaLago(c){return this.http.get(`${this.api_path}${this.api_path_aportacionMasaLago}${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getEstado(c,Z){return this.http.get(`${this.api_path}${this.api_path_estado}/${c}/${Z}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getPresiones(c){return this.http.get(this.api_path+this.api_path_presiones+c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getCombosIndicadoresByTipo(c,Z,v){return this.http.get(`${this.api_path}${this.api_path_combosIndicadores}/`+(v?`${c}/${Z}/${v}`:`${c}/${Z}`)).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getComboAnyoHidromorfologia(){this.http.get(`${this.api_path}${this.api_path_comboAnyo}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.comboAnyoSubject$)}getCaudalesEcologicos(c){return this.http.get(this.api_path+this.api_path_caudalesEcologicos+c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionadoPresiones(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPresiones}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionadoPresionesAcum(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPresionesAcum}`,c,{observe:"response"}).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(c){return this.http.post(this.api_path+this.api_path_lagosIds,c).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getGraficaPuntosMuestreo(c,Z,v){return this.http.get(`${this.api_path}${this.api_path_grafica_puntos_muestreo}${c}/${Z}/${v}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHabitatsSpecies(c){return this.http.get(`${this.api_path}${this.api_path_habitatsSpecies}${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getHabitatsSpeciesMasa(c){return this.http.get(`${this.api_path}${this.api_path_habitatsSpeciesMasa}${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getNotRelatedHabitats(c){return this.http.get(`${this.mirame_path}${this.api_path_habitatsNoRel}${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}getNotRelatedSpecies(c){return this.http.get(`${this.mirame_path}${this.api_path_speciesNoRel}${c}`).pipe((0,e.X)(1),(0,d.K)(this.globalService.handleError))}}return O.\u0275fac=function(c){return new(c||O)(T.LFG(A.eN),T.LFG(S.E),T.LFG(R.r),T.LFG(q.sK),T.LFG
1(w.U),T.LFG(k.p))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})()},9944:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Y:()=>Z});var i=m(8966),s=m(3179),e=m(3019),l=m(5e3),d=m(8830),A=m(5448),C=m(4894);function T(v,ee){if(1&v&&l._UZ(0,"app-edit-cell-table",20),2&v){const X=l.oxw(2);l.Q6J("tableData",X.ecologicalFlowsMonths)("tableColumns",X.tableConfiguration)("tableEditable",!1)}}function S(v,ee){if(1&v&&(l.TgZ(0,"span",21),l._uU(1),l.qZA()),2&v){const X=l.oxw(2);l.xp6(1),l.hij(" ",X.reservoirDetail.caudalesMod.clasificacionDesc," ")}}function R(v,ee){if(1&v&&l._uU(0),2&v){const X=l.oxw(2);l.Oqu(X.reservoirDetail.caudalesMod.clasificacionDesc)}}function q(v,ee){if(1&v&&(l.TgZ(0,"span",21),l._uU(1),l.qZA()),2&v){const X=l.oxw(2);l.xp6(1),l.hij(" ",X.reservoirDetail.caudalesMod.estacionAforos," ")}}function w(v,ee){if(1&v&&l._uU(0),2&v){const X=l.oxw(2);l.Oqu(X.reservoirDetail.caudalesMod.estacionAforos)}}function k(v,ee){if(1&v&&(l.TgZ(0,"span",21),l._uU(1),l.qZA()),2&v){const X=l.oxw(2);l.xp6(1),l.hij(" ",X.reservoirDetail.caudalesMod.comentarios," ")}}function h(v,ee){if(1&v&&l._uU(0),2&v){const X=l.oxw(2);l.Oqu(X.reservoirDetail.caudalesMod.comentarios)}}const O=function(v){return{modified:v}};function E(v,ee){if(1&v){const X=l.EpF();l.TgZ(0,"div",2)(1,"div",3)(2,"h2"),l._uU(3),l.qZA()(),l._UZ(4,"mat-divider",4),l.TgZ(5,"div",5)(6,"div",6),l.YNc(7,T,1,3,"app-edit-cell-table",7),l.qZA(),l.TgZ(8,"div",6)(9,"mat-list")(10,"mat-list-item",8)(11,"span",9),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.YNc(14,S,2,1,"span",10),l.qZA(),l.YNc(15,R,1,1,"ng-template",null,11,l.W1O),l.TgZ(17,"mat-list-item",8)(18,"span",12),l._uU(19),l.ALo(20,"translate"),l.qZA(),l._uU(21),l.qZA(),l.TgZ(22,"mat-list-item",8)(23,"span",9),l._uU(24),l.ALo(25,"translate"),l.qZA(),l.YNc(26,q,2,1,"span",10),l.qZA(),l.YNc(27,w,1,1,"ng-template",null,13,l.W1O),l.TgZ(29,"mat-list-item",14)(30,"span",15),l._uU(31),l.ALo(32,"translate"),l.qZA(),l.YNc(33,k,2,1,"span",10),l.qZA(),l.YNc(34,h,1,1,"ng-template",null,16,l.W1O),l.qZA()()(),l.TgZ(36,"div",5)(37,"div",17)(38,"div",18)(39,"button",19),l.NdJ("click",function(){return l.CHM(X),l.oxw().closeDialog()}),l._uU(40),l.ALo(41,"translate"),l.qZA()()()()()}if(2&v){const X=l.MAs(16),te=l.MAs(28),_e=l.MAs(35),ne=l.oxw();l.xp6(3),l.AsE("",ne.reservoirDetail.id," - ",ne.reservoirName,""),l.xp6(4),l.Q6J("ngIf",ne.ecologicalFlowsMonths),l.xp6(4),l.Q6J("ngClass",l.VKq(28,O,ne.reservoirDetail.caudalesMod.modClasificacion)),l.xp6(1),l.hij(" ",l.lcZ(13,18,"surfacewaterbodyreservoir.caudalesEcologicos.lblsGuardarCambios.clasificacionId"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",ne.reservoirDetail.caudalesMod.modClasificacion)("ngIfElse",X),l.xp6(5),l.hij(" ",l.lcZ(20,20,"surfacewaterbodyreservoir.caudalesEcologicos.lblPresenciaZEC"),":\xa0 "),l.xp6(2),l.hij(" ",ne.reservoirDetail.caudalesMod.licAsociado," "),l.xp6(2),l.Q6J("ngClass",l.VKq(30,O,ne.reservoirDetail.caudalesMod.modEstacionAforos)),l.xp6(1),l.hij(" ",l.lcZ(25,22,"surfacewaterbodyreservoir.caudalesEcologicos.lblsGuardarCambios.estacionAforos"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",ne.reservoirDetail.caudalesMod.modEstacionAforos)("ngIfElse",te),l.xp6(4),l.Q6J("ngClass",l.VKq(32,O,ne.reservoirDetail.caudalesMod.modComentarios)),l.xp6(1),l.hij(" ",l.lcZ(32,24,"surfacewaterbodyreservoir.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",ne.reservoirDetail.caudalesMod.modComentarios)("ngIfElse",_e),l.xp6(7),l.Oqu(l.lcZ(41,26,"botones.cerrar"))}}function c(v,ee){1&v&&l._UZ(0,"app-spinner")}let Z=(()=>{class v{constructor(X,te,_e,ne,oe){this._dialogRef=X,this.data=te,this.swbReservoirService=_e,this.tableConfigurationService=ne,this.translate=oe,this.reservoirName="",this.numEnt=s.C.numEnt,this.reservoirName=te.itemName,this.swbReservoirService.getComparacionVersion(Number(te.gid),Number(te.gidVersion),te.operation).subscribe(he=>{this.reservoirDetail=he,this.ecologicalFlowsMonths=e.N.getEcologicalFlowsByMonth(this.reservoirDetail.caudalesMod,this.translate)}),this.tableConfiguration=this.tableConfigurationService.getCaudalesEcoTableConfiguration()}get dialogRef(){return this._dialogRef}set dialogRef(X){this._dialogRef=X}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return v.\u0275fac=function(X){return new(X||v)(l.Y36(i.so),l.Y36(i.WI),l.Y36(d.r),l.Y36(A.A),l.Y36(C.sK))},v.\u0275cmp=l.Xpm({type:v,selectors:[["app-version-changes-ecological-flows"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[3,"tableData","tableColumns","tableEditable",4,"ngIf"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["clasificacion",""],["appBold",""],["estacionAforos",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[3,"tableData","tableColumns","tableEditable"],["appHighlight",""]],template:function(X,te){if(1&X&&(l.YNc(0,E,42,34,"div",0),l.YNc(1,c,1,0,"ng-template",null,1,l.W1O)),2&X){const _e=l.MAs(2);l.Q6J("ngIf",te.reservoirDetail)("ngIfElse",_e)}},styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),v})()},8830:(Yt,Ze,m)=>{"use strict";m.d(Ze,{r:()=>h});
1var i=m(520),s=m(4707),e=m(1135),l=m(5625),d=m(262),A=m(8505),C=m(3179),T=m(5e3),S=m(8914),R=m(3468),q=m(4894),w=m(4209),k=m(5890);let h=(()=>{class O{constructor(c,Z,v,ee,X,te){this.http=c,this.configService=Z,this.dialogModelService=v,this.translate=ee,this.globalService=X,this.matomoAnalyticsService=te,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_embalsesEnCifras="",this.api_path_embalses="",this.api_path_embalsesIds="",this.api_path_count_embalses="",this.api_path_combosMasasEmbalse="",this.api_path_objetivos="",this.api_path_guardarFichero="",this.api_path_eliminarFichero="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_controlVersiones="",this.api_path_guardarVersionado="",this.api_path_borrarRelacionUso="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_combosFichaTecnica="",this.api_path_deterioros="",this.api_path_comparacionVersion="",this.api_path_datos_medidas="",this.api_path_caudalesEcologicos="",this.api_path_generarInformeGeneral="",this.api_path_aportacionMasaEmbalse="",this.api_path_elementosRelacionados="",this.api_path_borrarRelacion="",this.api_path_guardarRelacion="",this.api_path_elementosRelacionables="",this.api_path_estado="",this.api_path_generarExcelValoresReferencia="",this.api_path_presiones="",this.api_path_combosIndicadores="",this.api_path_usos="",this.api_path_guardarVersionadoPresiones="",this.api_path_guardarVersionadoPresionesAcum="",this.api_path_fotoPrincipal="",this.api_path_getFotosEmbalse="",this.api_path_establecerFotoFavorita="",this.api_path_datosAportacionAcumulada="",this.api_path_datosAportacionAcumuladaVolumen="",this.api_path_habitatsSpecies="",this.api_path_habitatsSpeciesMasa="",this.api_path_habitatsNoRel="",this.api_path_speciesNoRel="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),this.agesSubject$=new e.X([]),O.dialogModelService=this.dialogModelService,O.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("swbReservoir","extension"),this.api_path_embalsesEnCifras=this.configService.getApi("swbReservoir","embalsesEnCifras"),this.api_path_embalses=this.configService.getApi("swbReservoir","embalses"),this.api_path_embalsesIds=this.configService.getApi("swbReservoir","embalsesIds"),this.api_path_count_embalses=this.configService.getApi("swbReservoir","count"),this.api_path_combosMasasEmbalse=this.configService.getApi("swbReservoir","combosMasasEmbalse"),this.api_path_objetivos=this.configService.getApi("swbReservoir","getObjetivos"),this.api_path_guardarFichero=this.configService.getApi("swbReservoir","guardarFichero"),this.api_path_eliminarFichero=this.configService.getApi("swbReservoir","eliminarFichero"),this.api_path_camposHistorico=this.configService.getApi("swbReservoir","camposHistorico"),this.api_path_historico=this.configService.getApi("swbReservoir","historico"),this.api_path_controlVersiones=this.configService.getApi("swbReservoir","controlVersiones"),this.api_path_guardarVersionado=this.configService.getApi("swbReservoir","guardarVersionado"),this.api_path_borrarRelacionUso=this.configService.getApi("swbReservoir","borrarRelacionUso"),this.api_path_validarBloque=this.configService.getApi("swbReservoir","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("swbReservoir","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("swbReservoir","comparacionVersion"),this.api_path_combosFichaTecnica=this.configService.getApi("swbReservoir","combosFichaTecnica"),this.api_path_deterioros=this.configService.getApi("swbReservoir","getDeterioros"),this.api_path_datos_medidas=this.configService.getApi("swbReservoir","getDatosMedidas"),this.api_path_caudalesEcologicos=this.configService.getApi("swbReservoir","getDatosCaudalesEcologicos"),this.api_path_generarInformeGeneral=this.configService.getApi("swbReservoir","generarInformeGeneral"),this.api_path_aportacionMasaEmbalse=this.configService.getApi("swbReservoir","aportacionMasaEmbalse"),this.api_path_elementosRelacionados=this.configService.getApi("swbReservoir","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("swbReservoir","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("swbReservoir","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("swbReservoir","elementosRelacionables"),this.api_path_estado=this.configService.getApi("swbReservoir","getEstado"),this.api_path_generarExcelValoresReferencia=this.configService.getApi("swbReservoir","generarExcelValoresReferencia"),this.api_path_presiones=this.configService.getApi("swbReservoir","getPresiones"),this.api_path_combosIndicadores=this.configService.getApi("swbReservoir","combosIndicadoresByTipo"),this.api_path_usos=this.configService.getApi("swbReservoir","getUsosPresasEmbalses"),this.api_path_guardarVersionadoPresiones=this.configService.getApi("swbReservoir","guardarVersionadoPresiones"),this.api_path_guardarVersionadoPresionesAcum=this.configService.getApi("swbReservoir","guardarVersionadoPresionesAcum"),this.api_path_fotoPrincipal=this.configService.getApi("swbReservoir","fotoPrincipal"),this.api_path_getFotosEmbalse=this.configService.getApi("swbReservoir","getfotosEmbalse"),this.api_path_establecerFotoFavorita=this.configService.getApi("swbReservoir","establecerFotoFavorita"),this.api_path_datosAportacionAcumulada=this.configService.getApi("swbReservoir","datosAportacionAcumulada"),this.api_path_datosAportacionAcumuladaVolumen=this.configService.getApi("swbReservoir","datosAportacionAcumuladaVolumen"),this.api_path_habitatsSpecies=this.configService.getApi("swbReservoir","habitatsEspecies"),this.api_path_habitatsSpeciesMasa=this.configService.getApi("swbReservoir","habitatsEspeciesMasa"),this.api_path_habitatsNoRel=this.configService.getApi("swbReservoir","habitatsNoRelacionados"),this.api_path_speciesNoRel=this.configService.getApi("swbReservoir","especiesNoRelacionados")}getfotosEmbalse(c){return this.http.get(`${this.api_path}${this.api_path_getFotosEmbalse}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}setFotoFavorita(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${c}`,Z).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}setAges(c){this.agesSubject$.next(c)}getEmbalsesEnCifras(){return this.http.get(this.api_path+this.api_path_embalsesEnCifras).pipe((0,l.X)(1),(0,A.b)({next:c=>{var Z;const v=(null===(Z=c.cifras)||void 0===Z?void 0:Z.numMasas)||0;this.matomoAnalyticsService.trackGetInformation("embalses-en-cifras",v)},error:c=>{this.matomoAnalyticsService.trackError("embalses-en-cifras",c.message)}}),(0,d.K)(this.globalService.handleError))}getReservoirs(c,Z,v,ee,X){let te=new i.LE;return te=te.append("pageNumber",Z||"0"),te=te.append("pageSize",v||"10"),te=te.append("tipoOrdenacion",ee||C.C.TipoOrdenacion.ASCENDENTE),te=te.append("campoOrdenacion",X||"id"),this.http.post(this.api_path+this.api_path_embalses,c,{params:te}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getReservoirsCount(c){return this.http.post(this.api_path+this.api_path_count_embalses,c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getReservoir(c){return this.http.get(this.api_path+this.api_path_embalses+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getExtensionFeature(c){return this.http.get(`${this.api_path}${this.api_path_extension}${c}`,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCombosMasasEmbalse(){this.http.get(`${this.api_path}${this.api_path_combosMasasEmbalse}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getObjetivos(c){return this.http.get(this.api_path+this.api_path_objetivos+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}savefile(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_guardarFichero}${c}`,Z).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}
1deteleFile(c,Z,v){return this.http.post(`${this.mirame_path}${this.api_path_eliminarFichero}${c}/${Z}/${v}`,null).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(c){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(c,Z,v,ee,X){let te=`${c}/${Z}/${v}/${ee}`;return null!=X&&null!=X&&(te=`${c}/${Z}/${v}/${ee}/${X}`),this.http.get(`${this.mirame_path}${this.api_path_historico}${te}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}`+(v?`${c}/${Z}/${v}`:`${c}/${Z}`)).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionesUso(c){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacionUso}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(c){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${c}/${Z}`,{}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCombosFichaTecnica(){this.http.get(`${this.api_path}${this.api_path_combosFichaTecnica}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getDeterioros(c){return this.http.get(this.api_path+this.api_path_deterioros+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getMedidas(c){return this.http.get(this.api_path+this.api_path_datos_medidas+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${c}/${Z}/${v}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCaudalesEcologicos(c){return this.http.get(this.api_path+this.api_path_caudalesEcologicos+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}generarInformeGeneral(c){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getAportacionMasaEmbalse(c){return this.http.get(`${this.api_path}${this.api_path_aportacionMasaEmbalse}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(c){return this.http.get(this.api_path+this.api_path_elementosRelacionados+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}borrarRelacionados(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${c}`,Z,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${c}`,Z,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${c}/${Z}/${v}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getEstado(c,Z){return this.http.get(`${this.api_path}${this.api_path_estado}/${c}/${Z}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}generarExcelValoresReferencia(c){return this.http.post(`${this.api_path}${this.api_path_generarExcelValoresReferencia}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getPresiones(c){return this.http.get(this.api_path+this.api_path_presiones+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCombosIndicadoresByTipo(c,Z,v){return this.http.get(`${this.api_path}${this.api_path_combosIndicadores}/`+(v?`${c}/${Z}/${v}`:`${c}/${Z}`)).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getUsosPresasEmbalses(c){return this.http.get(`${this.api_path}${this.api_path_usos}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionadoPresiones(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPresiones}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionadoPresionesAcum(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPresionesAcum}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getFotoPrincipal(c){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(c){return this.http.post(this.api_path+this.api_path_embalsesIds,c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getDatosAportacionAcumulada(c){return this.http.get(`${this.api_path}${this.api_path_datosAportacionAcumulada}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getDatosAportacionAcumuladaVolumen(c){return this.http.get(`${this.api_path}${this.api_path_datosAportacionAcumuladaVolumen}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getHabitatsSpecies(c){return this.http.get(`${this.api_path}${this.api_path_habitatsSpecies}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getHabitatsSpeciesMasa(c){return this.http.get(`${this.api_path}${this.api_path_habitatsSpeciesMasa}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getNotRelatedHabitats(c){return this.http.get(`${this.mirame_path}${this.api_path_habitatsNoRel}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getNotRelatedSpecies(c){return this.http.get(`${this.mirame_path}${this.api_path_speciesNoRel}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}}return O.\u0275fac=function(c){return new(c||O)(T.LFG(i.eN),T.LFG(S.E),T.LFG(R.r),T.LFG(q.sK),T.LFG
1(w.U),T.LFG(k.p))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})()},3220:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Y:()=>ee});var i=m(8966),s=m(3179),e=m(3019),l=m(5e3),d=m(1108),A=m(5448),C=m(4894);function T(X,te){if(1&X&&l._UZ(0,"app-edit-cell-table",21),2&X){const _e=l.oxw(2);l.Q6J("tableData",_e.ecologicalFlowsMonths)("tableColumns",_e.tableConfiguration)("tableWithCeaseValues",!0)("tableEditable",!1)}}function S(X,te){if(1&X&&(l.TgZ(0,"span",22),l._uU(1),l.qZA()),2&X){const _e=l.oxw(2);l.xp6(1),l.hij(" ",_e.riverDetail.caudalesMod.clasificacionDesc," ")}}function R(X,te){if(1&X&&l._uU(0),2&X){const _e=l.oxw(2);l.Oqu(_e.riverDetail.caudalesMod.clasificacionDesc)}}function q(X,te){if(1&X&&(l.TgZ(0,"span",22),l._uU(1),l.qZA()),2&X){const _e=l.oxw(2);l.xp6(1),l.hij(" ",_e.riverDetail.caudalesMod.estacionAforos," ")}}function w(X,te){if(1&X&&l._uU(0),2&X){const _e=l.oxw(2);l.Oqu(_e.riverDetail.caudalesMod.estacionAforos)}}function k(X,te){if(1&X&&(l.TgZ(0,"span",22),l._uU(1),l.qZA()),2&X){const _e=l.oxw(2);l.xp6(1),l.hij(" ",_e.riverDetail.caudalesMod.puntoControl2," ")}}function h(X,te){if(1&X&&l._uU(0),2&X){const _e=l.oxw(2);l.Oqu(_e.riverDetail.caudalesMod.puntoControl2)}}function O(X,te){if(1&X&&(l.TgZ(0,"span",22),l._uU(1),l.qZA()),2&X){const _e=l.oxw(2);l.xp6(1),l.hij(" ",_e.riverDetail.caudalesMod.comentarios," ")}}function E(X,te){if(1&X&&l._uU(0),2&X){const _e=l.oxw(2);l.Oqu(_e.riverDetail.caudalesMod.comentarios)}}const c=function(X){return{modified:X}};function Z(X,te){if(1&X){const _e=l.EpF();l.TgZ(0,"div",2)(1,"div",3)(2,"h2"),l._uU(3),l.qZA()(),l._UZ(4,"mat-divider",4),l.TgZ(5,"div",5)(6,"div",6),l.YNc(7,T,1,4,"app-edit-cell-table",7),l.qZA(),l.TgZ(8,"div",6)(9,"mat-list")(10,"mat-list-item",8)(11,"span",9),l._uU(12),l.ALo(13,"translate"),l.qZA(),l.YNc(14,S,2,1,"span",10),l.qZA(),l.YNc(15,R,1,1,"ng-template",null,11,l.W1O),l.TgZ(17,"mat-list-item",8)(18,"span",12),l._uU(19),l.ALo(20,"translate"),l.qZA(),l._uU(21),l.qZA(),l.TgZ(22,"mat-list-item",8)(23,"span",9),l._uU(24),l.ALo(25,"translate"),l.qZA(),l.YNc(26,q,2,1,"span",10),l.qZA(),l.YNc(27,w,1,1,"ng-template",null,13,l.W1O),l.TgZ(29,"mat-list-item",8)(30,"span",9),l._uU(31),l.ALo(32,"translate"),l.qZA(),l.YNc(33,k,2,1,"span",10),l.qZA(),l.YNc(34,h,1,1,"ng-template",null,14,l.W1O),l.TgZ(36,"mat-list-item",15)(37,"span",16),l._uU(38),l.ALo(39,"translate"),l.qZA(),l.YNc(40,O,2,1,"span",10),l.qZA(),l.YNc(41,E,1,1,"ng-template",null,17,l.W1O),l.qZA()()(),l.TgZ(43,"div",5)(44,"div",18)(45,"div",19)(46,"button",20),l.NdJ("click",function(){return l.CHM(_e),l.oxw().closeDialog()}),l._uU(47),l.ALo(48,"translate"),l.qZA()()()()()}if(2&X){const _e=l.MAs(16),ne=l.MAs(28),oe=l.MAs(35),he=l.MAs(42),Se=l.oxw();l.xp6(3),l.AsE("",Se.riverDetail.id," - ",Se.riverName,""),l.xp6(4),l.Q6J("ngIf",Se.ecologicalFlowsMonths),l.xp6(4),l.Q6J("ngClass",l.VKq(34,c,Se.riverDetail.caudalesMod.modClasificacion)),l.xp6(1),l.hij(" ",l.lcZ(13,22,"surfacewaterbodyriver.caudalesEcologicos.lblsGuardarCambios.clasificacionId"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",Se.riverDetail.caudalesMod.modClasificacion)("ngIfElse",_e),l.xp6(5),l.hij(" ",l.lcZ(20,24,"surfacewaterbodyriver.caudalesEcologicos.lblPresenciaZEC"),":\xa0 "),l.xp6(2),l.hij(" ",Se.riverDetail.caudalesMod.licAsociado," "),l.xp6(2),l.Q6J("ngClass",l.VKq(36,c,Se.riverDetail.caudalesMod.modEstacionAforos)),l.xp6(1),l.hij(" ",l.lcZ(25,26,"surfacewaterbodyriver.caudalesEcologicos.lblsGuardarCambios.estacionAforos"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",Se.riverDetail.caudalesMod.modEstacionAforos)("ngIfElse",ne),l.xp6(4),l.Q6J("ngClass",l.VKq(38,c,Se.riverDetail.caudalesMod.modPuntoControl2)),l.xp6(1),l.hij(" ",l.lcZ(32,28,"surfacewaterbodyriver.caudalesEcologicos.lblsGuardarCambios.puntoControl2"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",Se.riverDetail.caudalesMod.modPuntoControl2)("ngIfElse",oe),l.xp6(4),l.Q6J("ngClass",l.VKq(40,c,Se.riverDetail.caudalesMod.modComentarios)),l.xp6(1),l.hij(" ",l.lcZ(39,30,"surfacewaterbodyriver.fichaTecnica.lblsGuardarCambios.comentarios"),":\xa0 "),l.xp6(2),l.Q6J("ngIf",Se.riverDetail.caudalesMod.modComentarios)("ngIfElse",he),l.xp6(7),l.Oqu(l.lcZ(48,32,"botones.cerrar"))}}function v(X,te){1&X&&l._UZ(0,"app-spinner")}let ee=(()=>{class X{constructor(_e,ne,oe,he,Se){this._dialogRef=_e,this.data=ne,this.swbRiverService=oe,this.tableConfigurationService=he,this.translate=Se,this.riverName="",this.numEnt=s.C.numEnt,this.riverName=ne.itemName,this.swbRiverService.getComparacionVersion(Number(ne.gid),Number(ne.gidVersion),ne.operation).subscribe(Be=>{this.riverDetail=Be,this.ecologicalFlowsMonths=e.N.getEcologicalFlowsByMonth(this.riverDetail.caudalesMod,this.translate)}),this.tableConfiguration=this.tableConfigurationService.getCaudalesEcoSinMaximoTableConfiguration()}get dialogRef(){return this._dialogRef}set dialogRef(_e){this._dialogRef=_e}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return X.\u0275fac=function(_e){return new(_e||X)(l.Y36(i.so),l.Y36(i.WI),l.Y36(d.F),l.Y36(A.A),l.Y36(C.sK))},X.\u0275cmp=l.Xpm({type:X,selectors:[["app-version-changes-ecological-flows"]],decls:3,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],[1,"row"],[1,"col"],[3,"tableData","tableColumns","tableWithCeaseValues","tableEditable",4,"ngIf"],[1,"bar-gradient","h-auto","py-2"],["appBold","",3,"ngClass"],["appHighlight","",4,"ngIf","ngIfElse"],["clasificacion",""],["appBold",""],["estacionAforos",""],["puntoControl2",""],[1,"bar-gradient","comentarios"],["appBold","",1,"text-wrap",3,"ngClass"],["comentarios",""],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[3,"tableData","tableColumns","tableWithCeaseValues","tableEditable"],["appHighlight",""]],template:function(_e,ne){if(1&_e&&(l.YNc(0,Z,49,42,"div",0),l.YNc(1,v,1,0,"ng-template",null,1,l.W1O)),2&_e){const oe=l.MAs(2);l.Q6J("ngIf",ne.riverDetail)("ngIfElse",oe)}},styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),X})()},393:(Yt,Ze,m)=>{"use strict";m.d(Ze,{e:()=>X});var i=m(8966),s=m(3179),e=m(5e3),l=m(1108);function d(te,_e){if(1&te&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&te){const ne=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",ne.hidromorfologiaMod.naturaleza," ")}}function A(te,_e){if(1&te&&e._uU(0),2&te){const ne=e.oxw(2).ngIf;e.Oqu(ne.hidromorfologiaMod.naturaleza)}}function C(te,_e){if(1&te&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&te){const ne=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",ne.hidromorfologiaMod.alteracionHidrologica," ")}}function T(te,_e){if(1&te&&e._uU(0),2&te){const ne=e.oxw(2).ngIf;e.Oqu(ne.hidromorfologiaMod.alteracionHidrologica)}}function S(te,_e){if(1&te&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&te){const ne=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",ne.hidromorfologiaMod.alteracionMorfologica," ")}}function R(te,_e){if(1&te&&e._uU(0),2&te){const ne=e.oxw(2).ngIf;e.Oqu(ne.hidromorfologiaMod.alteracionMorfologica)}}function q(te,_e){if(1&te&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&te){const ne=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",ne.hidromorfologiaMod.comentarios," ")}}function w(te,_e){if(1&te&&e._uU(0),2&te){const ne=e.oxw(2).ngIf;e.Oqu(ne.hidromorfologiaMod.comentarios)}}const k=function(te){return{modified:te}};function h(te,_e){if(1&te&&(e.TgZ(0,"div",6)(1,"div",10)(2,"mat-list")(3,"mat-list-item",11)(4,"span",12),e._uU(5),e.ALo(6,"translate"),e.qZA(),e._uU(7),e.qZA(),e.TgZ(8,"mat-list-item",11)(9,"span",13),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.YNc(12,d,2,1,"span",14),e.qZA(),e.YNc(13,A,1,1,"ng-template",15,16,e.W1O),e.TgZ(15,"mat-list-item",11)(16,"span",13),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.YNc(19,C,2,1,"span",14),e.qZA(),e.YNc(20,T,1,1,"ng-template",15,17,e.W1O),e.TgZ(22,"mat-list-item",11)(23,"span",13),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.YNc(26,S,2,1,"span",14),e.qZA(),e.YNc(27,R,1,1,"ng-template",15,18,e.W1O),e.TgZ(29,"mat-list-item",11)(30,"span",13),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.YNc(33,q,2,1,"span",14),e.qZA(),e.YNc(34,w,1,1,"ng-template",15,19,e.W1O),e.qZA()()()),2&te){const ne=e.MAs(14),oe=e.MAs(21),he=e.MAs(28),Se=e.MAs(35),Be=e.oxw().ngIf;
1e.xp6(5),e.hij("",e.lcZ(6,18,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblAnyoConsulta"),":\xa0"),e.xp6(2),e.hij(" ",Be.hidromorfologiaMod.anyo," "),e.xp6(2),e.Q6J("ngClass",e.VKq(28,k,Be.hidromorfologiaMod.modCodNaturaleza)),e.xp6(1),e.hij(" ",e.lcZ(11,20,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblNaturaleza"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Be.hidromorfologiaMod.modCodNaturaleza)("ngIfElse",ne),e.xp6(4),e.Q6J("ngClass",e.VKq(30,k,Be.hidromorfologiaMod.modCodAlteracionHidrologica)),e.xp6(1),e.hij(" ",e.lcZ(18,22,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblAltHidrologica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Be.hidromorfologiaMod.modCodAlteracionHidrologica)("ngIfElse",oe),e.xp6(4),e.Q6J("ngClass",e.VKq(32,k,Be.hidromorfologiaMod.modCodAlteracionMorfologica)),e.xp6(1),e.hij(" ",e.lcZ(25,24,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblAltMorfologica"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Be.hidromorfologiaMod.modCodAlteracionMorfologica)("ngIfElse",he),e.xp6(4),e.Q6J("ngClass",e.VKq(34,k,Be.hidromorfologiaMod.modComentarios)),e.xp6(1),e.hij(" ",e.lcZ(32,26,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblComentarios"),":\xa0"),e.xp6(2),e.Q6J("ngIf",Be.hidromorfologiaMod.modComentarios)("ngIfElse",Se)}}const O=function(te,_e){return{modValue:te,modAnyo:_e}};function E(te,_e){if(1&te&&(e.TgZ(0,"div",6)(1,"mat-list",21)(2,"mat-list-item",22)(3,"div",23)(4,"div",6)(5,"div",24),e._UZ(6,"span"),e.qZA(),e.TgZ(7,"div",25)(8,"span",12),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"div",26),e._UZ(12,"span"),e.qZA(),e.TgZ(13,"div",25)(14,"span",27),e.ALo(15,"translate"),e._uU(16),e.ALo(17,"translate"),e.qZA()()()()(),e._UZ(18,"app-hydromorphology-mat-list-item",28),e.ALo(19,"translate"),e._UZ(20,"app-hydromorphology-mat-list-item",28),e.ALo(21,"translate"),e._UZ(22,"app-hydromorphology-mat-list-item",28),e.ALo(23,"translate"),e._UZ(24,"app-hydromorphology-mat-list-item",28),e.ALo(25,"translate"),e._UZ(26,"app-hydromorphology-mat-list-item",28),e.ALo(27,"translate"),e._UZ(28,"app-hydromorphology-mat-list-item",28),e.ALo(29,"translate"),e.qZA()()),2&te){const ne=e.oxw().ngIf;e.xp6(9),e.Oqu(e.lcZ(10,39,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblValor")),e.xp6(5),e.s9C("matTooltip",e.lcZ(15,41,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipAnyo")),e.xp6(2),e.hij(" ",e.lcZ(17,43,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblAnyo"),""),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valorCaudal)("anyo",ne.hidromorfologiaMod.anyoCaudal)("modifiedItems",e.WLB(57,O,ne.hidromorfologiaMod.modValorCaudal,ne.hidromorfologiaMod.modAnyoCaudal))("showNullValue",!0)("vertexLabel",e.lcZ(19,45,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblVertice1"))("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipVertice1"),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valorConexionAguas)("anyo",ne.hidromorfologiaMod.anyoConexionAguas)("modifiedItems",e.WLB(60,O,ne.hidromorfologiaMod.modValorConexionAguas,ne.hidromorfologiaMod.modAnyoConexionAguas))("showNullValue",!0)("vertexLabel",e.lcZ(21,47,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblVertice2"))("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipVertice2"),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valorContinuidadRios)("anyo",ne.hidromorfologiaMod.anyoContinuidadRios)("modifiedItems",e.WLB(63,O,ne.hidromorfologiaMod.modValorContinuidadRios,ne.hidromorfologiaMod.modAnyoContinuidadRios))("showNullValue",!0)("vertexLabel",e.lcZ(23,49,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblVertice3"))("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipVertice3"),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valorVariacion)("anyo",ne.hidromorfologiaMod.anyoVariacion)("modifiedItems",e.WLB(66,O,ne.hidromorfologiaMod.modValorVariacion,ne.hidromorfologiaMod.modAnyoVariacion))("showNullValue",!0)("vertexLabel",e.lcZ(25,51,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblVertice4"))("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipVertice4"),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valorEstructuraSustrato)("anyo",ne.hidromorfologiaMod.anyoEstructuraSustrato)("modifiedItems",e.WLB(69,O,ne.hidromorfologiaMod.modValorEstructuraSustrato,ne.hidromorfologiaMod.modAnyoEstructuraSustrato))("showNullValue",!0)("vertexLabel",e.lcZ(27,53,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblVertice5"))("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipVertice5"),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valorEstructuraRiberena)("anyo",ne.hidromorfologiaMod.anyoEstructuraRiberena)("modifiedItems",e.WLB(72,O,ne.hidromorfologiaMod.modValorEstructuraRiberena,ne.hidromorfologiaMod.modAnyoEstructuraRiberena))("showNullValue",!0)("vertexLabel",e.lcZ(29,55,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblVertice6"))("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipVertice6")}
1}const c=function(te){return{modValue:te,modAnyo:!1}};function Z(te,_e){if(1&te&&(e.TgZ(0,"div",6)(1,"mat-list",21)(2,"mat-list-item",22)(3,"div",23)(4,"div",6)(5,"div",24),e._UZ(6,"span"),e.qZA(),e.TgZ(7,"div",25)(8,"span",12),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"div",26),e._UZ(12,"span"),e.qZA()()()(),e._UZ(13,"app-hydromorphology-mat-list-item",29),e.ALo(14,"translate"),e._UZ(15,"app-hydromorphology-mat-list-item",29),e.ALo(16,"translate"),e._UZ(17,"app-hydromorphology-mat-list-item",29),e.ALo(18,"translate"),e._UZ(19,"app-hydromorphology-mat-list-item",29),e.ALo(20,"translate"),e._UZ(21,"app-hydromorphology-mat-list-item",29),e.ALo(22,"translate"),e._UZ(23,"app-hydromorphology-mat-list-item",29),e.ALo(24,"translate"),e._UZ(25,"app-hydromorphology-mat-list-item",29),e.ALo(26,"translate"),e._UZ(27,"app-hydromorphology-mat-list-item",29),e.ALo(28,"translate"),e._UZ(29,"app-hydromorphology-mat-list-item",29),e.ALo(30,"translate"),e._UZ(31,"app-hydromorphology-mat-list-item",29),e.ALo(32,"translate"),e._UZ(33,"app-hydromorphology-mat-list-item",29),e.ALo(34,"translate"),e._UZ(35,"app-hydromorphology-mat-list-item",29),e.ALo(36,"translate"),e._UZ(37,"app-hydromorphology-mat-list-item",29),e.ALo(38,"translate"),e._UZ(39,"app-hydromorphology-mat-list-item",29),e.ALo(40,"translate"),e._UZ(41,"app-hydromorphology-mat-list-item",29),e.ALo(42,"translate"),e._UZ(43,"app-hydromorphology-mat-list-item",29),e.ALo(44,"translate"),e._UZ(45,"app-hydromorphology-mat-list-item",29),e.ALo(46,"translate"),e._UZ(47,"app-hydromorphology-mat-list-item",29),e.ALo(48,"translate"),e._UZ(49,"app-hydromorphology-mat-list-item",29),e.ALo(50,"translate"),e._UZ(51,"app-hydromorphology-mat-list-item",29),e.ALo(52,"translate"),e._UZ(53,"app-hydromorphology-mat-list-item",29),e.ALo(54,"translate"),e._UZ(55,"app-hydromorphology-mat-list-item",29),e.ALo(56,"translate"),e._UZ(57,"app-hydromorphology-mat-list-item",29),e.ALo(58,"translate"),e._UZ(59,"app-hydromorphology-mat-list-item",29),e.ALo(60,"translate"),e._UZ(61,"app-hydromorphology-mat-list-item",29),e.ALo(62,"translate"),e._UZ(63,"app-hydromorphology-mat-list-item",29),e.ALo(64,"translate"),e._UZ(65,"app-hydromorphology-mat-list-item",29),e.ALo(66,"translate"),e._UZ(67,"app-hydromorphology-mat-list-item",29),e.ALo(68,"translate"),e._UZ(69,"app-hydromorphology-mat-list-item",29),e.ALo(70,"translate"),e._UZ(71,"app-hydromorphology-mat-list-item",29),e.ALo(72,"translate"),e._UZ(73,"app-hydromorphology-mat-list-item",29),e.ALo(74,"translate"),e._UZ(75,"app-hydromorphology-mat-list-item",29),e.ALo(76,"translate"),e.qZA()()),2&te){const ne=e.oxw().ngIf;e.xp6(9),e.Oqu(e.lcZ(10,193,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.lblPeorValor")),e.xp6(4),e.Q6J("value",ne.hidromorfologiaMod.valor1)("modifiedItems",e.VKq(259,c,ne.hidromorfologiaMod.modValor1))("showNullValue",!0)("vertexLabel",e.lcZ(14,195,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[0])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice1")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor2)("modifiedItems",e.VKq(261,c,ne.hidromorfologiaMod.modValor2))("showNullValue",!0)("vertexLabel",e.lcZ(16,197,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[1])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice2")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor3)("modifiedItems",e.VKq(263,c,ne.hidromorfologiaMod.modValor3))("showNullValue",!0)("vertexLabel",e.lcZ(18,199,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[2])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice3")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor4)("modifiedItems",e.VKq(265,c,ne.hidromorfologiaMod.modValor4))("showNullValue",!0)("vertexLabel",e.lcZ(20,201,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[3])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice4")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor5)("modifiedItems",e.VKq(267,c,ne.hidromorfologiaMod.modValor5))("showNullValue",!0)("vertexLabel",e.lcZ(22,203,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[4])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice5")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor6)("modifiedItems",e.VKq(269,c,ne.hidromorfologiaMod.modValor6))("showNullValue",!0)("vertexLabel",e.lcZ(24,205,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[5])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice6")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor6bis)("modifiedItems",e.VKq(271,c,ne.hidromorfologiaMod.modValor6bis))("showNullValue",!0)("vertexLabel",e.lcZ(26,207,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[6])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice6bis")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor7)("modifiedItems",e.VKq(273,c,ne.hidromorfologiaMod.modValor7))("showNullValue",!0)("vertexLabel",e.lcZ(28,209,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[7])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice7")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor8)("modifiedItems",e.VKq(275,c,ne.hidromorfologiaMod.modValor8))("showNullValue",!0)("vertexLabel",e.lcZ(30,211,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[8])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice8")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor9)("modifiedItems",e.VKq(277,c,ne.hidromorfologiaMod.modValor9))("showNullValue",!0)("vertexLabel",e.lcZ(32,213,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[9])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice9")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor10)("modifiedItems",e.VKq(279,c,ne.hidromorfologiaMod.modValor10))("showNullValue",!0)("vertexLabel",e.lcZ(34,215,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[10])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice10")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor11)("modifiedItems",e.VKq(281,c,ne.hidromorfologiaMod.modValor11))("showNullValue",!0)("vertexLabel",e.lcZ(36,217,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[11])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice11")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor12)("modifiedItems",e.VKq(283,c,ne.hidromorfologiaMod.modValor12))("showNullValue",!0)("vertexLabel",e.lcZ(38,219,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[12])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice12")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor13)("modifiedItems",e.VKq(285,c,ne.hidromorfologiaMod.modValor13))("showNullValue",!0)("vertexLabel",e.lcZ(40,221,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[13])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice13")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor14)("modifiedItems",e.VKq(287,c,ne.hidromorfologiaMod.modValor14))("showNullValue",!0)("vertexLabel",e.lcZ(42,223,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[14])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice14")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor15)("modifiedItems",e.VKq(289,c,ne.hidromorfologiaMod.modValor15))("showNullValue",!0)("vertexLabel",e.lcZ(44,225,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[15])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice15")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor16)("modifiedItems",e.VKq(291,c,ne.hidromorfologiaMod.modValor16))("showNullValue",!0)("vertexLabel",e.lcZ(46,227,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[16])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice16")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor16bis)("modifiedItems",e.VKq(293,c,ne.hidromorfologiaMod.modValor16bis))("showNullValue",!0)("vertexLabel",e.lcZ(48,229,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[17])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice16bis")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor17)("modifiedItems",e.VKq(295,c,ne.hidromorfologiaMod.modValor17))("showNullValue",!0)("vertexLabel",e.lcZ(50,231,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[18])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice17")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor18)("modifiedItems",e.VKq(297,c,ne.hidromorfologiaMod.modValor18))("showNullValue",!0)("vertexLabel",e.lcZ(52,233,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[19])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice18")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor19)("modifiedItems",e.VKq(299,c,ne.hidromorfologiaMod.modValor19))("showNullValue",!0)("vertexLabel",e.lcZ(54,235,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[20])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice19")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor20)("modifiedItems",e.VKq(301,c,ne.hidromorfologiaMod.modValor20))("showNullValue",!0)("vertexLabel",e.lcZ(56,237,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[21])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice20")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor21)("modifiedItems",e.VKq(303,c,ne.hidromorfologiaMod.modValor21))("showNullValue",!0)("vertexLabel",e.lcZ(58,239,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[22])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice21")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor22)("modifiedItems",e.VKq(305,c,ne.hidromorfologiaMod.modValor22))("showNullValue",!0)("vertexLabel",e.lcZ(60,241,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[23])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice22")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor23)("modifiedItems",e.VKq(307,c,ne.hidromorfologiaMod.modValor23))("showNullValue",!0)("vertexLabel",e.lcZ(62,243,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[24])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice23")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor24)("modifiedItems",e.VKq(309,c,ne.hidromorfologiaMod.modValor24))("showNullValue",!0)("vertexLabel",e.lcZ(64,245,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[25])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice24")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor25)("modifiedItems",e.VKq(311,c,ne.hidromorfologiaMod.modValor25))("showNullValue",!0)("vertexLabel",e.lcZ(66,247,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[26])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice25")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor26)("modifiedItems",e.VKq(313,c,ne.hidromorfologiaMod.modValor26))("showNullValue",!0)("vertexLabel",e.lcZ(68,249,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[27])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice26")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor27)("modifiedItems",e.VKq(315,c,ne.hidromorfologiaMod.modValor27))("showNullValue",!0)("vertexLabel",e.lcZ(70,251,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[28])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice27")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor28)("modifiedItems",e.VKq(317,c,ne.hidromorfologiaMod.modValor28))("showNullValue",!0)("vertexLabel",e.lcZ(72,253,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[29])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice28")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor29)("modifiedItems",e.VKq(319,c,ne.hidromorfologiaMod.modValor29))("showNullValue",!0)("vertexLabel",e.lcZ(74,25
15,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[30])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice29")("isDetailed",!0),e.xp6(2),e.Q6J("value",ne.hidromorfologiaMod.valor30)("modifiedItems",e.VKq(321,c,ne.hidromorfologiaMod.modValor30))("showNullValue",!0)("vertexLabel",e.lcZ(76,257,"surfacewaterbodyriver.fichaTecnica.hidromorfologia.graficas.descHidroDetalladaLabels")[31])("vertexTooltip","surfacewaterbodyriver.fichaTecnica.hidromorfologia.tltipDetalladaVertice30")("isDetailed",!0)}}function v(te,_e){if(1&te){const ne=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"h2"),e._uU(3),e.qZA()(),e._UZ(4,"mat-divider",4),e.YNc(5,h,36,36,"div",5),e.YNc(6,E,30,75,"div",5),e.YNc(7,Z,77,323,"div",5),e.TgZ(8,"div",6)(9,"div",7)(10,"div",8)(11,"button",9),e.NdJ("click",function(){return e.CHM(ne),e.oxw().closeDialog()}),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&te){const ne=_e.ngIf,oe=e.oxw();e.xp6(3),e.AsE("",ne.id," - ",oe.swbRiverName,""),e.xp6(2),e.Q6J("ngIf",oe.isHydromorphologyOperation),e.xp6(1),e.Q6J("ngIf",oe.isHydromorphologyEvaluatedParamsOperation),e.xp6(1),e.Q6J("ngIf",oe.isHydromorphologyDetailedDescOperation),e.xp6(5),e.Oqu(e.l
1cZ(13,6,"botones.cerrar"))}}function ee(te,_e){1&te&&e._UZ(0,"app-spinner")}let X=(()=>{class te{constructor(ne,oe,he){this.dialogRef=ne,this.data=oe,this.swbRiverService=he,this.swbRiverName="",this.isHydromorphologyOperation=!1,this.isHydromorphologyEvaluatedParamsOperation=!1,this.isHydromorphologyDetailedDescOperation=!1,this.isHydromorphologyOperation=s.C.operacion.OPERACION_HIDROMORFOLOGIA===oe.operation,this.isHydromorphologyEvaluatedParamsOperation=s.C.operacion.OPERACION_HIDROMORFOLOGIA_PARAMETROS_EVALUADOS===oe.operation,this.isHydromorphologyDetailedDescOperation=s.C.operacion.OPERACION_HIDROMORFOLOGIA_DESCRIPCION_DETALLADA===oe.operation,this.swbRiverName=oe.itemName,this.operationCode=oe.operation,this.swbRiverDetail$=this.swbRiverService.getComparacionVersion(Number(oe.gid),Number(oe.gidVersion),oe.operation)}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return te.\u0275fac=function(ne){return new(ne||te)(e.Y36(i.so),e.Y36(i.WI),e.Y36(l.F))},te.\u0275cmp=e.Xpm({type:te,selectors:[["app-version-changes-hydromorphology"]],decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],[1,"container-title"],[1,"mb-2"],["class","row",4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"float-end"],["type","button","mat-flat-button","",1,"btn-first",3,"click"],[1,"col"],[1,"bar-gradient","h-auto","py-2"],["appBold",""],["appBold","",3,"ngClass"],["class","text-wrap","appHighlight","",4,"ngIf","ngIfElse"],["class","text-wrap"],["naturaleza",""],["altHidrologica",""],["altMorfologica",""],["comentarios",""],["appHighlight","",1,"text-wrap"],["dense",""],[1,"bar-light-blue","mb-2"],["matLine",""],[1,"col-5"],[1,"col-1","text-center"],[1,"col-3"],["appBold","","matTooltipPosition","after","matTooltipClass","custom-tooltip",3,"matTooltip"],[3,"value","anyo","modifiedItems","showNullValue","vertexLabel","vertexTooltip"],[3,"value","modifiedItems","showNullValue","vertexLabel","vertexTooltip","isDetailed"]],template:function(ne,oe){if(1&ne&&(e.YNc(0,v,14,8,"div",0),e.ALo(1,"async"),e.YNc(2,ee,1,0,"ng-template",null,1,e.W1O)),2&ne){const he=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,oe.swbRiverDetail$))("ngIfElse",he)}},styles:[".modified[_ngcontent-%COMP%]{color:red}"]}),te})()},1108:(Yt,Ze,m)=>{"use strict";m.d(Ze,{F:()=>h});var i=m(520),s=m(4707),e=m(1135),l=m(5625),d=m(262),A=m(8505),C=m(3179),T=m(5e3),S=m(8914),R=m(3468),q=m(4894),w=m(4209),k=m(5890);let h=(()=>{class O{constructor(c,Z,v,ee,X,te){this.http=c,this.configService=Z,this.dialogModelService=v,this.translate=ee,this.globalService=X,this.matomoAnalyticsService=te,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_riosEnCifras="",this.api_path_rios="",this.api_path_riosIds="",this.api_path_count_rios="",this.api_path_combosYearsMasas="",this.api_path_combosMasasRio="",this.api_path_combosFichaTecnica="",this.api_path_generarInformeGeneral="",this.api_path_deterioros="",this.api_path_datos_medidas="",this.api_path_objetivos="",this.api_path_guardarFichero="",this.api_path_eliminarFichero="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_guardarVersionado="",this.api_path_controlVersiones="",this.api_path_validarBloque="",this.api_path_descartarOperacion="",this.api_path_comparacionVersion="",this.api_path_elementosRelacionados="",this.api_path_borrarRelacion="",this.api_path_guardarRelacion="",this.api_path_elementosRelacionables="",this.api_path_presiones="",this.api_path_combosIndicadores="",this.api_path_comboAnyo="",this.api_path_caudalesEcologicos="",this.api_path_guardarVersionadoPresiones="",this.api_path_guardarVersionadoPresionesAcum="",this.api_path_estado="",this.api_path_generarExcelValoresReferencia="",this.api_path_hidromorfologia="",this.api_path_comboAnyoHidromorfologia="",this.api_path_comboAnyosHidromorfologia="",this.api_path_comboAnyosState="",this.api_path_aportacionMasaRio="",this.api_path_ceses_path="",this.api_path_elementosMasasPresiones="",this.api_path_getFotosRios="",this.api_path_establecerFotoFavorita="",this.api_path_fotoPrincipal="",this.api_path_extracciones_relacionadas="",this.api_path_grafica_puntos_muestreo="",this.api_path_datosAportacionAcumulada="",this.api_path_datosAportacionAcumuladaVolumen="",this.api_path_habitatsSpecies="",this.api_path_habitatsSpeciesMasa="",this.api_path_habitatsNoRel="",this.api_path_speciesNoRel="",this.combosBusquedaSubject$=new s.t(1),this.combosYearsSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),this.comboAnyoSubject$=new s.t(1),this.agesSubject$=new e.X([]),O.dialogModelService=this.dialogModelService,O.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("swbRiver","extension"),this.api_path_riosEnCifras=this.configService.getApi("swbRiver","riosEnCifras"),this.api_path_rios=this.configService.getApi("swbRiver","rios"),this.api_path_riosIds=this.configService.getApi("swbRiver","riosIds"),this.api_path_count_rios=this.configService.getApi("swbRiver","count"),this.api_path_combosYearsMasas=this.configService.getApi("swbRiver","combosYearsMasas"),this.api_path_combosMasasRio=this.configService.getApi("swbRiver","combosMasasRio"),this.api_path_generarInformeGeneral=this.configService.getApi("swbRiver","generarInformeGeneral"),this.api_path_combosFichaTecnica=this.configService.getApi("swbRiver","combosFichaTecnica"),this.api_path_deterioros=this.configService.getApi("swbRiver","getDeterioros"),this.api_path_datos_medidas=this.configService.getApi("swbRiver","getDatosMedidas"),this.api_path_objetivos=this.configService.getApi("swbRiver","getObjetivos"),this.api_path_guardarFichero=this.configService.getApi("swbRiver","guardarFichero"),this.api_path_eliminarFichero=this.configService.getApi("swbRiver","eliminarFichero"),this.api_path_camposHistorico=this.configService.getApi("swbRiver","camposHistorico"),this.api_path_historico=this.configService.getApi("swbRiver","historico"),this.api_path_guardarVersionado=this.configService.getApi("swbRiver","guardarVersionado"),this.api_path_controlVersiones=this.configService.getApi("swbRiver","controlVersiones"),this.api_path_validarBloque=this.configService.getApi("swbRiver","validarBloque"),this.api_path_descartarOperacion=this.configService.getApi("swbRiver","descartarOperacion"),this.api_path_comparacionVersion=this.configService.getApi("swbRiver","comparacionVersion"),this.api_path_elementosRelacionados=this.configService.getApi("swbRiver","elementosRelacionados"),this.api_path_guardarRelacion=this.configService.getApi("swbRiver","guardarRelacion"),this.api_path_borrarRelacion=this.configService.getApi("swbRiver","borrarRelacion"),this.api_path_elementosRelacionables=this.configService.getApi("swbRiver","elementosRelacionables"),this.api_path_presiones=this.configService.getApi("swbRiver","getPresiones"),this.api_path_combosIndicadores=this.configService.getApi("swbRiver","combosIndicadoresByTipo"),this.api_path_comboAnyo=this.configService.getApi("swbRiver","getComboAnyoHidromorfologia"),this.api_path_caudalesEcologicos=this.configService.getApi("swbRiver","getDatosCaudalesEcologicos"),this.api_path_guardarVersionadoPresiones=this.configService.getApi("swbRiver","guardarVersionadoPresiones"),this.api_path_guardarVersionadoPresionesAcum=this.configService.getApi("swbRiver","guardarVersionadoPresionesAcum"),this.api_path_estado=this.configService.getApi("swbRiver","getEstado"),this.api_path_generarExcelValoresReferencia=this.configService.getApi("swbRiver","generarExcelValoresReferencia"),this.api_path_hidromorfologia=this.configService.getApi("swbRiver","getHidromorfologia"),this.api_path_comboAnyoHidromorfologia=this.configService.getApi("swbRiver","comboAnyoHidromorfologia"),this.api_path_comboAnyosHidromorfologia=this.configService.getApi("swbRiver","comboAnyosHidromorfologia"),this.api_path_comboAnyosState=this.configService.getApi("swbRiver","comboAnyosState"),this.api_path_aportacionMasaRio=this.configService.getApi("swbRiver","aportacionMasaRio"),this.api_path_ceses_path=this.configService.getApi("swbRiver","ceses"),this.api_path_elementosMasasPresiones=this.configService.getApi("swbRiver","getElementosMasasPresiones"),this.api_path_getFotosRios=this.configService.getApi("swbRiver","getfotosRios"),this.api_path_establecerFotoFavorita=this.configService.getApi("swbRiver","establecerFotoFavorita"),this.api_path_fotoPrincipal=this.configService.getApi("swbRiver","fotoPrincipal"),this.api_path_extracciones_relacionadas=this.configService.getApi("swbRiver","extraccionesRelacionadas"),this.api_path_grafica_puntos_muestreo=this.configService.getApi("swbRiver","graficaPuntosMuestreo"),this.api_path_datosAportacionAcumulada=this.configService.getApi("swbRiver","datosAportacionAcumulada"),this.api_path_datosAportacionAcumuladaVolumen=this.configService.getApi("swbRiver","datosAportacionAcumuladaVolumen"),this.api_path_habitatsSpecies=this.configService.getApi("swbRiver","habitatsEspecies"),this.api_path_habitatsSpeciesMasa=this.configService.getApi("swbRiver","habitatsEspeciesMasa"),this.api_path_habitatsNoRel=this.configService.getApi("swbRiver","habitatsNoRelacionados"),this.api_path_speciesNoRel=this.configService.getApi("swbRiver","especiesNoRelacionados")}getFotoPrincipal(c){return this.http.get(`${this.api_path}${this.api_path_fotoPrincipal}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}setAges(c){this.agesSubject$.next(c)}getExtensionFeature(c){return this.http.get(`${this.api_path}${this.api_path_extension}${c}`,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getRiosEnCifras(){return this.http.get(this.api_path+this.api_path_riosEnCifras).pipe((0,l.X)(1),(0,A.b)({next:c=>{var Z;const v=(null===(Z=c.cifras)||void 0===Z?void 0:Z.numMasas)||0;this.matomoAnalyticsService.trackGetInformation("rios-en-cifras",v)},error:c=>{this.matomoAnalyticsService.trackError("rios-en-cifras",c.message)}}),(0,d.K)(this.globalService.handleError))}getRiver(c){return this.http.get(this.api_path+this.api_path_rios+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getRivers(c,Z,v,ee,X){let te=new i.LE;return te=te.append("pageNumber",Z||"0"),te=te.append("pageSize",v||"10"),te=te.append("tipoOrdenacion",ee||C.C.TipoOrdenacion.ASCENDENTE),te=te.append("campoOrdenacion",X||"id"),this.http.post(this.api_path+this.api_path_rios,c,{params:te}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getRiversCount(c){return this.http.post(this.api_path+this.api_path_count_rios,c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCombosMasasRio(){this.http.get(`${this.api_path}${this.api_path_combosMasasRio}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}getCombosYears(){this.http.get(`${this.api_path}${this.api_path_combosYearsMasas}
1`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosYearsSubject$)}generarInformeGeneral(c){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getDeterioros(c){return this.http.get(this.api_path+this.api_path_deterioros+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getMedidas(c){return this.http.get(this.api_path+this.api_path_datos_medidas+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getObjetivos(c){return this.http.get(this.api_path+this.api_path_objetivos+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}savefile(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_guardarFichero}${c}`,Z).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}deteleFile(c,Z,v){return this.http.post(`${this.mirame_path}${this.api_path_eliminarFichero}${c}/${Z}/${v}`,null).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getListadoCamposHistorico(c){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionado(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getControlDeVersiones(c,Z,v){let ee=`${c}/${Z}`;return null!=v&&(ee=`${c}/${Z}/${v}`),this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}`+ee).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getHistoricoCampo(c,Z,v,ee,X){let te=`${c}/${Z}/${v}/${ee}`;return null!=X&&null!=X&&(te=`${c}/${Z}/${v}/${ee}/${X}`),this.http.get(`${this.mirame_path}${this.api_path_historico}${te}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}validarBloque(c){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}descartarOperacion(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${c}/${Z}`,{}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCombosFichaTecnica(){this.http.get(`${this.api_path}${this.api_path_combosFichaTecnica}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}borrarRelacionados(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_borrarRelacion}${c}`,Z,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarRelacion(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_guardarRelacion}${c}`,Z,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getComparacionVersion(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${c}/${Z}/${v}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionados(c){return this.http.get(this.api_path+this.api_path_elementosRelacionados+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getElementosRelacionablesPorIdYTipo(c,Z,v){return this.http.get(`${this.mirame_path}${this.api_path_elementosRelacionables}${c}/${Z}/${v}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getPresiones(c){return this.http.get(this.api_path+this.api_path_presiones+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCombosIndicadoresByTipo(c,Z,v){return this.http.get(`${this.api_path}${this.api_path_combosIndicadores}/`+(v?`${c}/${Z}/${v}`:`${c}/${Z}`)).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCaudalesEcologicos(c){return this.http.get(this.api_path+this.api_path_caudalesEcologicos+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getEstado(c,Z){return this.http.get(`${this.api_path}${this.api_path_estado}/${c}/${Z}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getExtraccionesRelacionadas(c){return this.http.get(`${this.api_path}${this.api_path_extracciones_relacionadas}/${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionadoPresiones(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPresiones}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}guardarVersionadoPresionesAcum(c){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionadoPresionesAcum}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}generarExcelValoresReferencia(c){return this.http.post(`${this.api_path}${this.api_path_generarExcelValoresReferencia}`,c,{observe:"response"}).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getHidromorfologia(c,Z){return this.http.get(this.api_path+this.api_path_hidromorfologia+c+"/"+Z).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getComboAnyoHidromorfologia(c){return this.http.get(this.api_path+this.api_path_comboAnyoHidromorfologia+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getComboAnyosHidromorfologia(){return this.http.get(this.api_path+this.api_path_comboAnyosHidromorfologia).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getComboAnyosState(){return this.http.get(this.api_path+this.api_path_comboAnyosState).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getAportacionMasaRio(c){return this.http.get(`${this.api_path}${this.api_path_aportacionMasaRio}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getCeses(c){return this.http.get(this.mirame_path+this.api_path_ceses_path+c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getfotosRios(c){return this.http.get(`${this.api_path}${this.api_path_getFotosRios}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}setFotoFavorita(c,Z){return this.http.post(`${this.mirame_path}${this.api_path_establecerFotoFavorita}${c}`,Z).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getSearchCodes(c){return this.http.post(this.api_path+this.api_path_riosIds,c).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getDatosAportacionAcumulada(c){return this.http.get(`${this.api_path}${this.api_path_datosAportacionAcumulada}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getDatosAportacionAcumuladaVolumen(c){return this.http.get(`${this.api_path}${this.api_path_datosAportacionAcumuladaVolumen}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getHabitatsSpecies(c){return this.http.get(`${this.api_path}${this.api_path_habitatsSpecies}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getHabitatsSpeciesMasa(c){return this.http.get(`${this.api_path}${this.api_path_habitatsSpeciesMasa}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getNotRelatedHabitats(c){return this.http.get(`${this.mirame_path}${this.api_path_habitatsNoRel}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getNotRelatedSpecies(c){return this.http.get(`${this.mirame_path}${this.api_path_speciesNoRel}${c}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}getGraficaPuntosMuestreo(c,Z,v){return this.http.get(`${this.api_path}${this.api_path_grafica_puntos_muestreo}${c}/${Z}/${v}`).pipe((0,l.X)(1),(0,d.K)(this.globalService.handleError))}}return O.\u0275fac=function(c){return new(c||O)(T.LFG(i.eN),T.LFG(S.E),T.LFG(R.r),T.LFG(q.sK),T.LFG
1(w.U),T.LFG(k.p))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})()},391:(Yt,Ze,m)=>{"use strict";m.d(Ze,{V:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_extension="",this.api_path_explotacion="",this.api_path_explotacionIds="",this.api_path_count_explotacion="",this.api_path_explotacionesganaderasEnCifras="",this.api_path_combos_Explotaciones_Ganaderas="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_generarInformeGeneral="",this.api_path_uda="",this.api_path_sistema_explotacion="",this.api_path_combo_uel_ganadero="",this.api_path_uda_uel="",this.api_path_getUedgs="",this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_extension=this.configService.getApi("cattleFarm","extension"),this.api_path_explotacion=this.configService.getApi("cattleFarm","explotacionesGanaderas"),this.api_path_explotacionIds=this.configService.getApi("cattleFarm","explotacionesGanaderasIds"),this.api_path_count_explotacion=this.configService.getApi("cattleFarm","count"),this.api_path_explotacionesganaderasEnCifras=this.configService.getApi("cattleFarm","explotacionesganaderasEnCifras"),this.api_path_combos_Explotaciones_Ganaderas=this.configService.getApi("cattleFarm","getCombos"),this.api_path_guardarVersionado=this.configService.getApi("cattleFarm","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("cattleFarm","comparacionVersion"),this.api_path_generarInformeGeneral=this.configService.getApi("cattleFarm","generarInformeGeneral"),this.api_path_uda=this.configService.getApi("cattleFarm","uda"),this.api_path_sistema_explotacion=this.configService.getApi("cattleFarm","sistemaExplotacion"),this.api_path_combo_uel_ganadero=this.configService.getApi("cattleFarm","getComboUelGanadero"),this.api_path_uda_uel=this.configService.getApi("cattleFarm","udaUel"),this.api_path_getUedgs=this.configService.getApi("cattleFarm","demandasGanaderasElementales")}getCattleFarms(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_explotacion,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountCattleFarms(h){return this.http.post(this.api_path+this.api_path_count_explotacion,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCattleFarmEnCifras(){return this.http.get(this.api_path+this.api_path_explotacionesganaderasEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCattleFarm(h){return this.http.get(this.api_path+this.api_path_explotacion+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosExplotacionesganaderas(h){this.http.get(`${this.api_path}${this.api_path_combos_Explotaciones_Ganaderas}/${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getCombosExplotacionesGanad(h){return this.http.get(`${this.api_path}${this.api_path_combos_Explotaciones_Ganaderas}/${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getEndowmentsDocument(h){return this.http.get(`./img/usos/ganaderia/${h}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUda(h,O){return this.http.get(`${this.mirame_path}${this.api_path_uda}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExplotSystem(h){return this.http.get(`${this.mirame_path}${this.api_path_sistema_explotacion}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboUelGanadero(h){return this.http.get(`${this.api_path}${this.api_path_combo_uel_ganadero}/${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUdaAsociada(h){return this.http.get(`${this.mirame_path}${this.api_path_uda_uel}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_explotacionIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUedgs(h){return this.http.get(`${this.mirame_path}${this.api_path_getUedgs}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},5642:(Yt,Ze,m)=>{"use strict";m.d(Ze,{l:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_regadiosEnCifras="",this.api_path_extension="",this.api_path_regadio_ficha="",this.api_path_regadios="",this.api_path_regadiosIds="",this.api_path_count_regadios="",this.api_path_combos_regadios="",this.api_path_combo_uel_regadio="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_generarInformeGeneral="",this.api_path_uda="",this.api_path_uda_uel="",this.api_path_sistema_explotacion="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_regadiosEnCifras=this.configService.getApi("irrigation","regadiosEnCifras"),this.api_path_extension=this.configService.getApi("irrigation","extension"),this.api_path_regadio_ficha=this.configService.getApi("irrigation","regadio"),this.api_path_regadios=this.configService.getApi("irrigation","regadios"),this.api_path_regadiosIds=this.configService.getApi("irrigation","regadiosIds"),this.api_path_count_regadios=this.configService.getApi("irrigation","count"),this.api_path_combos_regadios=this.configService.getApi("irrigation","getCombos"),this.api_path_combo_uel_regadio=this.configService.getApi("irrigation","getComboUelRegadio"),this.api_path_guardarVersionado=this.configService.getApi("irrigation","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("irrigation","comparacionVersion"),this.api_path_generarInformeGeneral=this.configService.getApi("irrigation","generarInformeGeneral"),this.api_path_uda=this.configService.getApi("irrigation","uda"),this.api_path_uda_uel=this.configService.getApi("irrigation","udaUel"),this.api_path_sistema_explotacion=this.configService.getApi("irrigation","sistemaExplotacion")}getUelDemandsEnCifras(){return this.http.get(this.api_path+this.api_path_regadiosEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getIrrigations(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_regadios,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountIrrigation(h){return this.http.post(this.api_path+this.api_path_count_regadios,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getIrrigationFicha(h){return this.http.get(this.api_path+this.api_path_regadio_ficha+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getIrrigation(h){return this.http.get(this.api_path+this.api_path_regadios+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extension}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosRegadios(h){return this.http.get(`${this.api_path}${this.api_path_combos_regadios}/${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboUelRegadio(h){return this.http.get(`${this.api_path}${this.api_path_combo_uel_regadio}/${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getEndowmentsDocument(h){return this.http.get(`./img/usos/regadios/${h}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getIrrigationUda(h,O){return this.http.get(`${this.mirame_path}${this.api_path_uda}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getUdaAsociada(h){return this.http.get(`${this.mirame_path}${this.api_path_uda_uel}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getIrrigationExplotSystem(h){return this.http.get(`${this.mirame_path}${this.api_path_sistema_explotacion}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_regadiosIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},9382:(Yt,Ze,m)=>{"use strict";m.d(Ze,{r:()=>q});var i=m(520),s=m(4707),e=m(5625),l=m(262),d=m(3179),A=m(5e3),C=m(8914),T=m(3468),S=m(4894),R=m(4209);let q=(()=>{class w{constructor(h,O,E,c,Z){this.http=h,this.configService=O,this.dialogModelService=E,this.translate=c,this.globalService=Z,this.api_path="",this.mirame_path="",this.api_path_nucleosEnCifras="",this.api_path_nucleos="",this.api_path_nucleosIds="",this.api_path_count_nucleos="",this.api_path_extensionNucleo="",this.api_path_generarInformeGeneral="",this.api_path_combosBusqueda="",this.api_path_combosTecnico="",this.api_path_validarBloque="",this.api_path_controlVersiones="",this.api_path_descartarOperacion="",this.api_path_camposHistorico="",this.api_path_historico="",this.api_path_comboEstacionalidad="",this.api_path_guardarVersionado="",this.api_path_comparacionVersion="",this.api_path_extensionMunicipio="",this.api_path_graficaRepartoConsumo="",this.api_path_datos_medidas="",this.api_path_combos_Explotaciones_Ganaderas="",this.api_path_volumenes_ganaderos="",this.api_path_volumenes_totales="",this.combosBusquedaSubject$=new s.t(1),this.combosTecnicoSubject$=new s.t(1),this.combosVolumenGanaderoSubject$=new s.t(1),w.dialogModelService=this.dialogModelService,w.translate=this.translate,this.api_path=this.configService.getPublicPath(),this.mirame_path=this.configService.getPrivatePath(),this.api_path_nucleosEnCifras=this.configService.getApi("nucleus","nucleosEnCifras"),this.api_path_nucleos=this.configService.getApi("nucleus","nucleos"),this.api_path_nucleosIds=this.configService.getApi("nucleus","nucleosIds"),this.api_path_count_nucleos=this.configService.getApi("nucleus","count"),this.api_path_extensionNucleo=this.configService.getApi("nucleus","extensionNucleo"),this.api_path_extensionMunicipio=this.configService.getApi("nucleus","extensionMunicipio"),this.api_path_generarInformeGeneral=this.configService.getApi("nucleus","generarInformeGeneral"),this.api_path_combosBusqueda=this.configService.getApi("nucleus","getCombos"),this.api_path_combosTecnico=this.configService.getApi("nucleus","getCombosTecnico"),this.api_path_validarBloque=this.configService.getApi("nucleus","validarBloque"),this.api_path_controlVersiones=this.configService.getApi("nucleus","controlVersiones"),this.api_path_descartarOperacion=this.configService.getApi("nucleus","descartarOperacion"),this.api_path_camposHistorico=this.configService.getApi("nucleus","camposHistorico"),this.api_path_historico=this.configService.getApi("nucleus","historico"),this.api_path_comboEstacionalidad=this.configService.getApi("nucleus","comboEstacionalidad"),this.api_path_guardarVersionado=this.configService.getApi("nucleus","guardarVersionado"),this.api_path_comparacionVersion=this.configService.getApi("nucleus","comparacionVersion"),this.api_path_graficaRepartoConsumo=this.configService.getApi("nucleus","graficaRepartoConsumo"),this.api_path_datos_medidas=this.configService.getApi("nucleus","getDatosMedidas"),this.api_path_combos_Explotaciones_Ganaderas=this.configService.getApi("nucleus","getCombosExplotacionesGanaderas"),this.api_path_volumenes_ganaderos=this.configService.getApi("nucleus","getListadoVolumenesGanaderos"),this.api_path_volumenes_totales=this.configService.getApi("nucleus","getListadoVolumenesTotales")}getEnCifras(){return this.http.get(this.api_path+this.api_path_nucleosEnCifras).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getNucleuss(h,O,E,c,Z){let v=new i.LE;return v=v.append("pageNumber",O||"0"),v=v.append("pageSize",E||"10"),v=v.append("tipoOrdenacion",c||d.C.TipoOrdenacion.ASCENDENTE),v=v.append("campoOrdenacion",Z||"id"),this.http.post(this.api_path+this.api_path_nucleos,h,{params:v}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCountNucleus(h){return this.http.post(this.api_path+this.api_path_count_nucleos,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getNucleus(h){return this.http.get(this.api_path+this.api_path_nucleos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeature(h){return this.http.get(`${this.api_path}${this.api_path_extensionNucleo}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}generarInformeGeneral(h){return this.http.post(`${this.api_path}${this.api_path_generarInformeGeneral}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosTecnico(){this.http.get(`${this.api_path}${this.api_path_combosTecnico}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosTecnicoSubject$)}getCombosBusqueda(){this.http.get(`${this.api_path}${this.api_path_combosBusqueda}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosBusquedaSubject$)}validarBloque(h){return this.http.post(`${this.mirame_path}${this.api_path_validarBloque}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getControlDeVersiones(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_controlVersiones}`+(E?`${h}/${O}/${E}`:`${h}/${O}`)).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}descartarOperacion(h,O){return this.http.post(`${this.mirame_path}${this.api_path_descartarOperacion}${h}/${O}`,{}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoCamposHistorico(h){return this.http.get(`${this.mirame_path}${this.api_path_camposHistorico}${h}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getHistoricoCampo(h,O,E,c){return this.http.get(`${this.mirame_path}${this.api_path_historico}${h}/${O}/${E}/${c}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComboEstacionalidad(h){return this.http.get(this.api_path+this.api_path_comboEstacionalidad+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}guardarVersionado(h){return this.http.post(`${this.mirame_path}${this.api_path_guardarVersionado}`,h,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getComparacionVersion(h,O,E){return this.http.get(`${this.mirame_path}${this.api_path_comparacionVersion}${h}/${O}/${E}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getExtensionFeatureMunicipio(h){return this.http.get(`${this.api_path}${this.api_path_extensionMunicipio}${h}`,{observe:"response"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getGraficaRepartoConsumo(h,O){return this.http.get(`${this.api_path}${this.api_path_graficaRepartoConsumo}${h}/${O}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getMedidas(h){return this.http.get(this.api_path+this.api_path_datos_medidas+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getSearchCodes(h){return this.http.post(this.api_path+this.api_path_nucleosIds,h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getEndowmentsDocument(h){return this.http.get(`./img/usos/ganaderia/${h}`,{observe:"response",responseType:"arraybuffer"}).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getCombosExplotacionesganaderas(){this.http.get(`${this.api_path}${this.api_path_combos_Explotaciones_Ganaderas}`).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError)).subscribe(this.combosVolumenGanaderoSubject$)}getListadoVolumenesGanaderos(h){return this.http.get(this.api_path+this.api_path_volumenes_ganaderos+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}getListadoVolumenesTotal(h){return this.http.get(this.api_path+this.api_path_volumenes_totales+h).pipe((0,e.X)(1),(0,l.K)(this.globalService.handleError))}}return w.\u0275fac=function(h){return new(h||w)(A.LFG(i.eN),A.LFG(C.E),A.LFG(T.r),A.LFG(S.sK),A.LFG
1(R.U))},w.\u0275prov=A.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},2340:(Yt,Ze,m)=>{"use strict";m.d(Ze,{N:()=>i});const i={production:!0,environmentConfigFileName:"production",commonConfigFileName:"common",viewerCatalogFileName:"viewerCatalog",viewerCatalogTechnicianFileName:"viewerCatalogTechnician",viewerCatalogTechnicianACAFileName:"viewerCatalogTechnicianACA",matomoConfig:{siteId:"3",trackerUrl:"https://mirame.chduero.es/tracker"}}},342:(Yt,Ze,m)=>{"use strict";var i=m(2313),s=m(5e3),e=m(3932),l=m(4080),d=m(4668),A=m(8980),C=m(4894);const S=[{path:"",redirectTo:"public/home",pathMatch:"full"},{path:"public",loadChildren:()=>m.e(1650).then(m.bind(m,1650)).then(ve=>ve.PublicModule)},{path:"viewer",data:{mini:!1},loadChildren:()=>Promise.all([m.e(5046),m.e(1155),m.e(3402),m.e(4389),m.e(8592),m.e(4746)]).then(m.bind(m,4746)).then(ve=>ve.ViewerModule)},{path:"viewerMini",data:{mini:!0},loadChildren:()=>Promise.all([m.e(5046),m.e(1155),m.e(3402),m.e(4389),m.e(8592),m.e(4746)]).then(m.bind(m,4746)).then(ve=>ve.ViewerModule)},{path:"**",pathMatch:"full",component:(()=>{class ve{constructor(){}ngOnInit(){}}return ve.\u0275fac=function(L){return new(L||ve)},ve.\u0275cmp=s.Xpm({type:ve,selectors:[["app-page-not-found"]],decls:25,vars:12,consts:[["id","content",1,"container-fluid","content"],["id","portlet_status",1,"portlet"],[1,"portlet-content"],[1,"autofit-float","autofit-row","portlet-header"],[1,"autofit-col","autofit-col-expand"],[1,"portlet-title-text"],[1,"autofit-col","autofit-col-end"],[1,"autofit-section"],[1,"alert","alert-danger"],[1,"separator"],["href","javascript:history.go(-1);"]],template:function(L,U){1&L&&(s._UZ(0,"app-header")(1,"app-navbar"),s.TgZ(2,"main")(3,"div",0)(4,"section",1)(5,"div",2)(6,"div",3)(7,"div",4)(8,"h2",5),s._uU(9),s.ALo(10,"translate"),s.qZA()(),s.TgZ(11,"div",6),s._UZ(12,"div",7),s.qZA()(),s.TgZ(13,"h3",8),s._uU(14),s.ALo(15,"translate"),s.qZA(),s._uU(16),s.ALo(17,"translate"),s._UZ(18,"br")(19,"br")(20,"div",9),s.TgZ(21,"a",10),s._uU(22),s.ALo(23,"translate"),s.qZA()()()()(),s._UZ(24,"app-footer")),2&L&&(s.xp6(9),s.Oqu(s.lcZ(10,4,"recursoNoEncontrado.estado")),s.xp6(5),s.Oqu(s.lcZ(15,6,"recursoNoEncontrado.noEncontradoTitle")),s.xp6(2),s.hij(" ",s.lcZ(17,8,"recursoNoEncontrado.noEncontrado")," "),s.xp6(6),s.Oqu(s.lcZ(23,10,"recursoNoEncontrado.atras")))},directives:[l.G,d.S,A.c],pipes:[C.X$],styles:[""]}),ve})()}];let R=(()=>{class ve{}return ve.\u0275fac=function(L){return new(L||ve)},ve.\u0275mod=s.oAB({type:ve}),ve.\u0275inj=s.cJS({imports:[[e.Bz.forRoot(S,{scrollPositionRestoration:"top",onSameUrlNavigation:"reload"})],e.Bz]}),ve})();var q=m(4128),w=m(3179),k=m(7470),h=m(5386),O=m.n(h),E=m(4425);const c=ve=>ve&&ve.enabled&&ve.modifierKey,Z=(ve,$)=>ve&&$[ve+"Key"],v=(ve,$)=>ve&&!$[ve+"Key"];function ee(ve,$,L){return void 0===ve||("string"==typeof ve?-1!==ve.indexOf($):"function"==typeof ve&&-1!==ve({chart:L}).indexOf($))}function _e(ve,$,L){const U=function te({x:ve,y:$},L){const U=L.scales,ce=Object.keys(U);for(let vt=0;vt<ce.length;vt++){const Wt=U[ce[vt]];if($>=Wt.top&&$<=Wt.bottom&&ve>=Wt.left&&ve<=Wt.right)return Wt}return null}($,L);if(U&&ee(ve,U.axis,L))return[U];const ce=[];return(0,E.F)(L.scales,function(vt){ee(ve,vt.axis,L)||ce.push(vt)}),ce}const ne=new WeakMap;function oe(ve){let $=ne.get(ve);return $||($={originalScaleLimits:{},updatedScaleLimits:{},handlers:{},panDelta:{}},ne.set(ve,$)),$}function Se(ve,$,L){const U=ve.max-ve.min,ce=U*($-1),vt=ve.isHorizontal()?L.x:L.y,Wt=Math.max(0,Math.min(1,(ve.getValueForPixel(vt)-ve.min)/U||0));return{min:ce*Wt,max:ce*(1-Wt)}}function Be(ve,$,L,U,ce){let vt=L[U];if("original"===vt){const Wt=ve.originalScaleLimits[$.id][U];vt=(0,E.v)(Wt.options,Wt.scale)}return(0,E.v)(vt,ce)}function ot(ve,{min:$,max:L},U,ce=!1){const vt=oe(ve.chart),{id:Wt,axis:qn,options:Mi}=ve,Wn=U&&(U[Wt]||U[qn])||{},{minRange:Ai=0}=Wn,fo=Be(vt,ve,Wn,"min",-1/0),gn=Be(vt,ve,Wn,"max",1/0),ri=Math.max($,fo),Do=Math.min(L,gn),so=ce?Math.max(Do-ri,Ai):ve.max-ve.min;if(Do-ri!==so)if(fo>Do-so)$=ri,L=ri+so;else if(gn<ri+so)L=Do,$=Do-so;else{const xa=(so-Do+ri)/2;$=ri-xa,L=Do+xa}else $=ri,L=Do;return Mi.min=$,Mi.max=L,vt.updatedScaleLimits[ve.id]={min:$,max:L},ve.parse($)!==ve.min||ve.parse(L)!==ve.max}const xt=ve=>0===ve||isNaN(ve)?0:ve<0?Math.min(Math.round(ve),-1):Math.max(Math.round(ve),1),Mt={second:500,minute:3e4,hour:18e5,day:432e5,week:3024e5,month:1296e6,quarter:5184e6,year:157248e5};function we(ve,$,L,U=!1){const{min:ce,max:vt,options:Wt}=ve,Mi=Mt[Wt.time&&Wt.time.round]||0,Wn=ve.getValueForPixel(ve.getPixelForValue(ce+Mi)-$),Ai=ve.getValueForPixel(ve.getPixelForValue(vt+Mi)-$),{min:fo=-1/0,max:gn=1/0}=U&&L&&L[ve.axis]||{};return!!(isNaN(Wn)||isNaN(Ai)||Wn<fo||Ai>gn)||ot(ve,{min:Wn,max:Ai},L,U)}function me(ve,$,L){return we(ve,$,L,!0)}const We={category:function Qt(ve,$,L,U){const ce=Se(ve,$,L);return ve.min===ve.max&&$<1&&function At(ve){const L=ve.getLabels().length-1;ve.min>0&&(ve.min-=1),ve.max<L&&(ve.max+=1)}(ve),ot(ve,{min:ve.min+xt(ce.min),max:ve.max-xt(ce.max)},U,!0)},default:function nt(ve,$,L,U){const ce=Se(ve,$,L);return ot(ve,{min:ve.min+ce.min,max:ve.max-ce.max},U,!0)}},re={category:function dt(ve,$,L){const ce=ve.getLabels().length-1;let{min:vt,max:Wt}=ve;const qn=Math.max(Wt-vt,1),Mi=Math.round(function Vt(ve){return ve.isHorizontal()?ve.width:ve.height}(ve)/Math.max(qn,10)),Wn=Math.round(Math.abs($/Mi));let Ai;return $<-Mi?(Wt=Math.min(Wt+Wn,ce),vt=1===qn?Wt:Wt-qn,Ai=Wt===ce):$>Mi&&(vt=Math.max(0,vt-Wn),Wt=1===qn?vt:vt+qn,Ai=0===vt),ot(ve,{min:vt,max:Wt},L)||Ai}
1,default:we,logarithmic:me,timeseries:me};function Ot(ve,$){(0,E.F)(ve,(L,U)=>{$[U]||delete ve[U]})}function Et(ve,$){const{scales:L}=ve,{originalScaleLimits:U,updatedScaleLimits:ce}=$;return(0,E.F)(L,function(vt){(function ft(ve,$,L){const{id:U,options:{min:ce,max:vt}}=ve;if(!$[U]||!L[U])return!0;const Wt=L[U];return Wt.min!==ce||Wt.max!==vt})(vt,U,ce)&&(U[vt.id]={min:{scale:vt.min,options:vt.options.min},max:{scale:vt.max,options:vt.options.max}})}),Ot(U,L),Ot(ce,L),U}function Lt(ve,$,L,U){(0,E.Q)(We[ve.type]||We.default,[ve,$,L,U])}function It(ve){const $=ve.chartArea;return{x:($.left+$.right)/2,y:($.top+$.bottom)/2}}function it(ve,$,L="none"){const{x:U=1,y:ce=1,focalPoint:vt=It(ve)}="number"==typeof $?{x:$,y:$}:$,Wt=oe(ve),{options:{limits:qn,zoom:Mi}}=Wt,{mode:Wn="xy",overScaleMode:Ai}=Mi||{};Et(ve,Wt);const fo=1!==U&&ee(Wn,"x",ve),gn=1!==ce&&ee(Wn,"y",ve),ri=Ai&&_e(Ai,vt,ve);(0,E.F)(ri||ve.scales,function(Do){Do.isHorizontal()&&fo?Lt(Do,U,vt,qn):!Do.isHorizontal()&&gn&&Lt(Do,ce,vt,qn)}),ve.update(L),(0,E.Q)(Mi.onZoom,[{chart:ve}])}function wt(ve,$,L){const U=ve.getValueForPixel($),ce=ve.getValueForPixel(L);return{min:Math.min(U,ce),max:Math.max(U,ce)}}function Mn(ve,$,L,U){const{panDelta:ce}=U,vt=ce[ve.id]||0;(0,E.s)(vt)===(0,E.s)($)&&($+=vt),ce[ve.id]=(0,E.Q)(re[ve.type]||re.default,[ve,$,L])?0:$}function rn(ve,$,L,U="none"){const{x:ce=0,y:vt=0}="number"==typeof $?{x:$,y:$}:$,Wt=oe(ve),{options:{pan:qn,limits:Mi}}=Wt,{mode:Wn="xy",onPan:Ai}=qn||{};Et(ve,Wt);const fo=0!==ce&&ee(Wn,"x",ve),gn=0!==vt&&ee(Wn,"y",ve);(0,E.F)(L||ve.scales,function(ri){ri.isHorizontal()&&fo?Mn(ri,ce,Mi,Wt):!ri.isHorizontal()&&gn&&Mn(ri,vt,Mi,Wt)}),ve.update(U),(0,E.Q)(Ai,[{chart:ve}])}function Ue(ve){const $=oe(ve),L={};for(const U of Object.keys(ve.scales)){const{min:ce,max:vt}=$.originalScaleLimits[U]||{min:{},max:{}};L[U]={min:ce.scale,max:vt.scale}}return L}function De(ve,$){const{handlers:L}=oe(ve),U=L[$];U&&U.target&&(U.target.removeEventListener($,U),delete L[$])}function at(ve,$,L,U){const{handlers:ce,options:vt}=oe(ve),Wt=ce[L];Wt&&Wt.target===$||(De(ve,L),ce[L]=qn=>U(ve,qn,vt),ce[L].target=$,$.addEventListener(L,ce[L]))}function Ve(ve,$){const L=oe(ve);L.dragStart&&(L.dragging=!0,L.dragEnd=$,ve.update("none"))}function ge(ve,$,L){const{onZoomStart:U,onZoomRejected:ce}=L;if(U){const{left:vt,top:Wt}=$.target.getBoundingClientRect();if(!1===(0,E.Q)(U,[{chart:ve,event:$,point:{x:$.clientX-vt,y:$.clientY-Wt}}]))return(0,E.Q)(ce,[{chart:ve,event:$}]),!1}}function et(ve,$){const L=oe(ve),{pan:U,zoom:ce={}}=L.options;if(Z(c(U),$)||v(c(ce.drag),$))return(0,E.Q)(ce.onZoomRejected,[{chart:ve,event:$}]);!1!==ge(ve,$,ce)&&(L.dragStart=$,at(ve,ve.canvas,"mousemove",Ve))}function _t(ve,$,L,U){const{left:ce,top:vt}=L.target.getBoundingClientRect(),Wt=ee($,"x",ve),qn=ee($,"y",ve);let{top:Mi,left:Wn,right:Ai,bottom:fo,width:gn,height:ri}=ve.chartArea;Wt&&(Wn=Math.min(L.clientX,U.clientX)-ce,Ai=Math.max(L.clientX,U.clientX)-ce),qn&&(Mi=Math.min(L.clientY,U.clientY)-vt,fo=Math.max(L.clientY,U.clientY)-vt);const Do=Ai-Wn,so=fo-Mi;return{left:Wn,top:Mi,right:Ai,bottom:fo,width:Do,height:so,zoomX:Wt&&Do?1+(gn-Do)/gn:1,zoomY:qn&&so?1+(ri-so)/ri:1}}function jt(ve,$){const L=oe(ve);if(!L.dragStart)return;De(ve,"mousemove");const{mode:U,onZoomComplete:ce,drag:{threshold:vt=0}}=L.options.zoom,Wt=_t(ve,U,L.dragStart,$),qn=ee(U,"x",ve)?Wt.width:0,Mi=ee(U,"y",ve)?Wt.height:0,Wn=Math.sqrt(qn*qn+Mi*Mi);if(L.dragStart=L.dragEnd=null,Wn<=vt)return L.dragging=!1,void ve.update("none");(function le(ve,$,L,U="none"){const ce=oe(ve),{options:{limits:vt,zoom:Wt}}=ce,{mode:qn="xy"}=Wt;Et(ve,ce);const Mi=ee(qn,"x",ve),Wn=ee(qn,"y",ve);(0,E.F)(ve.scales,function(Ai){Ai.isHorizontal()&&Mi?ot(Ai,wt(Ai,$.x,L.x),vt,!0):!Ai.isHorizontal()&&Wn&&ot(Ai,wt(Ai,$.y,L.y),vt,!0)}),ve.update(U),(0,E.Q)(Wt.onZoom,[{chart:ve}])})(ve,{x:Wt.left,y:Wt.top},{x:Wt.right,y:Wt.bottom},"zoom"),setTimeout(()=>L.dragging=!1,500),(0,E.Q)(ce,[{chart:ve}])}function Cn(ve,$){const{handlers:{onZoomComplete:L},options:{zoom:U}}=oe(ve);if(!function Xt(ve,$,L){if(!v(c(L.wheel),$))return!1!==ge(ve,$,L)&&($.cancelable&&$.preventDefault(),void 0!==$.deltaY)||void 0;(0,E.Q)(L.onZoomRejected,[{chart:ve,event:$}])}(ve,$,U))return;const ce=$.target.getBoundingClientRect(),vt=1+($.deltaY>=0?-U.wheel.speed:U.wheel.speed);it(ve,{x:vt,y:vt,focalPoint:{x:$.clientX-ce.left,y:$.clientY-ce.top}}),L&&L()}function di(ve,$){return function(L,U){const{pan:ce,zoom:vt={}}=$.options;if(!ce||!ce.enabled)return!1;const Wt=U&&U.srcEvent;return!(Wt&&!$.panning&&"mouse"===U.pointerType&&(v(c(ce),Wt)||Z(c(vt.drag),Wt))&&((0,E.Q)(ce.onPanRejected,[{chart:ve,event:U}]),1))}}function Di(ve,$,L){if($.scale){const{center:U,pointers:ce}=L,vt=1/$.scale*L.scale,Wt=L.target.getBoundingClientRect(),qn=function ui(ve,$){const L=Math.abs(ve.clientX-$.clientX),U=Math.abs(ve.clientY-$.clientY),ce=L/U;let vt,Wt;return ce>.3&&ce<1.7?vt=Wt=!0:L>U?vt=!0:Wt=!0,{x:vt,y:Wt}}(ce[0],ce[1]),Mi=$.options.zoom.mode;it(ve,{x:qn.x&&ee(Mi,"x",ve)?vt:1,y:qn.y&&ee(Mi,"y",ve)?vt:1,focalPoint:{x:U.x-Wt.left,y:U.y-Wt.top}}),$.scale=L.scale}}function ei(ve,$,L){const U=$.delta;U&&($.panning=!0,rn(ve,{x:L.deltaX-U.x,y:L.deltaY-U.y},$.panScales),$.delta={x:L.deltaX,y:L.deltaY})}const He=new WeakMap;var fn={id:"zoom",version:"1.2.1",defaults:{pan:{enabled:!1,mode:"xy",threshold:10,modifierKey:null},zoom:{wheel:{enabled:!1,speed:.1,modifierKey:null},drag:{enabled:!1,modifierKey:null},pinch:{enabled:!1},mode:"xy"}},start:function(ve,$,L){oe(ve).options=L,Object.prototype.hasOwnProperty.call(L.zoom,"enabled")&&console.warn("The option `zoom.enabled` is no longer supported. Please use `zoom.wheel.enabled`, `zoom.drag.enabled`, or `zoom.pinch.enabled`."),O()&&function Oe(ve,$){const L=oe(ve),U=ve.canvas,{pan:ce,zoom:vt}=$,Wt=new(O().Manager)(U);vt&&vt.pinch.enabled&&(Wt.add(new(O().Pinch)),Wt.on("pinchstart",()=>function In(ve,$){$.options.zoom.pinch.enabled&&($.scale=1)}(0,L)),Wt.on("pinch",qn=>Di(ve,L,qn)),Wt.on("pinchend",qn=>function Fn(ve,$,L){$.scale&&(Di(ve,$,L),$.scale=null,(0,E.Q)($.options.zoom.onZoomComplete,[{chart:ve}]))}(ve,L,qn))),ce&&ce.enabled&&(Wt.add(new(O().Pan)({threshold:ce.threshold,enable:di(ve,L)}
1)),Wt.on("panstart",qn=>function Vi(ve,$,L){const{enabled:U,overScaleMode:ce,onPanStart:vt,onPanRejected:Wt}=$.options.pan;if(!U)return;const qn=L.target.getBoundingClientRect(),Mi={x:L.center.x-qn.left,y:L.center.y-qn.top};if(!1===(0,E.Q)(vt,[{chart:ve,event:L,point:Mi}]))return(0,E.Q)(Wt,[{chart:ve,event:L}]);$.panScales=ce&&_e(ce,Mi,ve),$.delta={x:0,y:0},clearTimeout($.panEndTimeout),ei(ve,$,L)}(ve,L,qn)),Wt.on("panmove",qn=>ei(ve,L,qn)),Wt.on("panend",()=>function gt(ve,$){$.delta=null,$.panning&&($.panEndTimeout=setTimeout(()=>$.panning=!1,500),(0,E.Q)($.options.pan.onPanComplete,[{chart:ve}]))}(ve,L))),He.set(ve,Wt)}(ve,L),ve.pan=(ce,vt,Wt)=>rn(ve,ce,vt,Wt),ve.zoom=(ce,vt)=>it(ve,ce,vt),ve.zoomScale=(ce,vt,Wt)=>function Ne(ve,$,L,U="none"){Et(ve,oe(ve)),ot(ve.scales[$],L,void 0,!0),ve.update(U)}(ve,ce,vt,Wt),ve.resetZoom=ce=>function Ut(ve,$="default"){const L=oe(ve),U=Et(ve,L);(0,E.F)(ve.scales,function(ce){const vt=ce.options;U[ce.id]?(vt.min=U[ce.id].min.options,vt.max=U[ce.id].max.options):(delete vt.min,delete vt.max)}),ve.update($),(0,E.Q)(L.options.zoom.onZoomComplete,[{chart:ve}])}(ve,ce),ve.getZoomLevel=()=>function Dn(ve){const $=oe(ve);let L=1,U=1;return(0,E.F)(ve.scales,function(ce){const vt=function pn(ve,$){const L=ve.originalScaleLimits[$];if(!L)return;const{min:U,max:ce}=L;return(0,E.v)(ce.options,ce.scale)-(0,E.v)(U.options,U.scale)}($,ce.id);if(vt){const Wt=Math.round(vt/(ce.max-ce.min)*100)/100;L=Math.min(L,Wt),U=Math.max(U,Wt)}}),L<1?L:U}(ve),ve.getInitialScaleBounds=()=>Ue(ve),ve.isZoomedOrPanned=()=>function Je(ve){const $=Ue(ve);for(const L of Object.keys(ve.scales)){const{min:U,max:ce}=$[L];if(void 0!==U&&ve.scales[L].min!==U||void 0!==ce&&ve.scales[L].max!==ce)return!0}return!1}(ve)},beforeEvent(ve){const $=oe(ve);if($.panning||$.dragging)return!1},beforeUpdate:function(ve,$,L){oe(ve).options=L,function Kn(ve,$){const L=ve.canvas,{wheel:U,drag:ce,onZoomComplete:vt}=$.zoom;U.enabled?(at(ve,L,"wheel",Cn),function Hn(ve,$,L,U){L&&(oe(ve).handlers[$]=function X(ve,$){let L;return function(){return clearTimeout(L),L=setTimeout(ve,$),$}}(()=>(0,E.Q)(L,[{chart:ve}]),U))}(ve,"onZoomComplete",vt,250)):De(ve,"wheel"),ce.enabled?(at(ve,L,"mousedown",et),at(ve,L.ownerDocument,"mouseup",jt)):(De(ve,"mousedown"),De(ve,"mousemove"),De(ve,"mouseup"))}(ve,L)},beforeDatasetsDraw:function(ve,$,L){const{dragStart:U,dragEnd:ce}=oe(ve);if(ce){const{left:vt,top:Wt,width:qn,height:Mi}=_t(ve,L.zoom.mode,U,ce),Wn=L.zoom.drag,Ai=ve.ctx;Ai.save(),Ai.beginPath(),Ai.fillStyle=Wn.backgroundColor||"rgba(225,225,225,0.3)",Ai.fillRect(vt,Wt,qn,Mi),Wn.borderWidth>0&&(Ai.lineWidth=Wn.borderWidth,Ai.strokeStyle=Wn.borderColor||"rgba(225,225,225)",Ai.strokeRect(vt,Wt,qn,Mi)),Ai.restore()}},stop:function(ve){(function Bn(ve){De(ve,"mousedown"),De(ve,"mousemove"),De(ve,"mouseup"),De(ve,"wheel"),De(ve,"click")})(ve),O()&&function pt(ve){const $=He.get(ve);$&&($.remove("pinchstart"),$.remove("pinch"),$.remove("pinchend"),$.remove("panstart"),$.remove("pan"),$.remove("panend"),$.destroy(),He.delete(ve))}(ve),function he(ve){ne.delete(ve)}(ve)},panFunctions:re,zoomFunctions:We},Zn=m(3192),ni=m(7706),ln=m(9547),An=m(1964),bt=m(9027),Xe=m(5581),st=m(4209),ct=m(7902),$t=m(60),un=m(3075);function $n(ve,$){if(1&ve&&(s.TgZ(0,"option",4),s._uU(1),s.qZA()),2&ve){const L=$.$implicit,U=s.oxw();s.Q6J("value",L)("selected",L===U.translate.currentLang),s.xp6(1),s.hij(" ",L," ")}}Zn.kL.register(fn);let Qn=(()=>{class ve{constructor(L,U,ce,vt,Wt,qn,Mi,Wn){this.translate=L,this.languageChangeService=U,this.temporaryStorageService=ce,this.authService=vt,this.rolesService=Wt,this.manageSystemService=qn,this.globalService=Mi,this.sessionStorageService=Wn,this.title="chd-mirame-web",L.addLangs([w.C.defaultLanguage,"en"]),L.setDefaultLang(w.C.defaultLanguage);let Ai=localStorage.getItem("auth");null!=Ai&&(this.temporaryStorageService.forKey("auth").set(Ai),localStorage.removeItem("auth"));const fo=Object.assign({},localStorage);for(const gn in fo)if(gn.includes(w.C.sessionStorageSearchCodesSuffix)){const ri=localStorage.getItem(gn);k.c.isNullorEmpty(ri)||(this.sessionStorageService.setTypeKey(gn),this.sessionStorageService.saveToTemporaryStorage("-1"!=ri?null==ri?void 0:ri.split(","):ri),localStorage.removeItem(gn))}}ngOnInit(){this.temporaryStorageService.get("auth").then(L=>{if(L){let U={user:this.manageSystemService.getUser(),profile:this.authService.getProfile()};(0,q.D)(U).subscribe(ce=>{200===ce.user.status&&!k.c.isNullorEmpty(ce.user.body)&&200===ce.profile.status&&ce.profile.body.id.toString()!==w.C.perfilCiudadano&&(this.rolesService.updateUser(ce.user.body),this.rolesService.updateProfiles(ce.user.body.roles),this.rolesService.updateProfile(ce.profile.body.id.toString()),this.rolesService.updateProfileViewerCatalog(ce.profile.body.id.toString()),this.authService.emitAuthenticatedChange(!0))})}else this.rolesService.updateProfileViewerCatalog(w.C.perfilCiudadano)}),this.globalService.getEscenarios().subscribe(L=>{k.c.setStages(L)})}switchLang(L){this.translate.use(L),this.languageChangeService.changeLanguage(L)}}return ve.\u0275fac=function(L){return new(L||ve)(s.Y36(C.sK),s.Y36(ni.S),s.Y36(ln.x),s.Y36(An.e),s.Y36(bt.f),s.Y36(Xe.d),s.Y36(st.U),s.Y36(ct.u))},ve.\u0275cmp=s.Xpm({type:ve,selectors:[["app-root"]],decls:5,vars:1,consts:[["hidden","",1,"form-inline"],[1,"form-control",3,"change"],["selectedLang",""],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"]],template:function(L,U){if(1&L){const ce=s.EpF();
1s.TgZ(0,"span",0)(1,"select",1,2),s.NdJ("change",function(){s.CHM(ce);const Wt=s.MAs(2);return U.switchLang(Wt.value)}),s.YNc(3,$n,2,3,"option",3),s.qZA()(),s._UZ(4,"router-outlet")}2&L&&(s.xp6(3),s.Q6J("ngForOf",U.translate.getLangs()))},directives:[$t.sg,un.YN,un.Kr,e.lC],styles:[".mat-form-field-appearance-fill .mat-form-field-flex{background-color:#f5f5f5!important;padding:.25em .75em 0!important}  .mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0}  .mat-form-field-appearance-fill .mat-form-field-underline{display:none}  .mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{margin-top:.25em}  .mat-form-field-appearance-fill .mat-form-field-wrapper{padding-bottom:1.2em}  .mb-005 .mat-form-field-appearance-standard .mat-form-field-wrapper{padding-bottom:.05em}  .mat-form-field-appearance-standard .mat-form-field-flex{background-color:#f5f5f5!important;padding:0 .75em!important}  .mat-form-field-appearance-standard .mat-form-field-infix{padding:.25em 0;border-top:.25em solid transparent}  .mat-form-field-appearance-standard .mat-form-field-underline{display:none}  .mat-form-field-appearance-standard .mat-form-field-subscript-wrapper{margin-top:.25em}  .mat-form-field-appearance-standard .mat-form-field-wrapper{padding-bottom:1.2em}  .dateInput.mat-form-field-appearance-standard .mat-form-field-flex{align-items:center}  .dateInput.mat-form-field-appearance-standard .mat-form-field-infix{padding-top:0}  .dateInput.mat-form-field-appearance-standard .mat-form-field-suffix .mat-icon-button{height:25.75px!important;padding-top:.3rem}"]}),ve})();var Fi=m(4486),co=m(6360),uo=m(8914);const gi=void 0,to=["es",[["a.\xa0m.","p.\xa0m."],gi,gi],gi,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],gi,[["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"]],gi,[["a. C.","d. C."],gi,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1} {0}",gi,"{1}, {0}",gi],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[gi,"$"],BRL:[gi,"R$"],CAD:[gi,"$"],CNY:[gi,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[gi,"\xa3"],HKD:[gi,"$"],ILS:[gi,"\u20aa"],INR:[gi,"\u20b9"],JPY:[gi,"\xa5"],KRW:[gi,"\u20a9"],MXN:[gi,"$"],NZD:[gi,"$"],PHP:[gi,"\u20b1"],RON:[gi,"L"],THB:["\u0e3f"],TWD:[gi,"NT$"],USD:["US$","$"],XAF:[],XCD:[gi,"$"],XOF:[]},"ltr",function bo(ve){return 1===ve?1:5}];var xo=m(520),Nn=m(40),fe=m(2076),Pe=m(3900),ye=m(262),Ee=m(2843),lt=m(5861),Y=m(2340);let Te=(()=>{class ve{constructor(L,U){this.httpBackend=L,this.temporaryStorageService=U,this._configUrl="assets/config/",this._login_api_path="/auth",this._http=new xo.eN(this.httpBackend),this._http.get(`${this._configUrl}${Y.N.environmentConfigFileName}.json`).subscribe(vt=>{this._environmentConfig=vt})}refreshToken(){return(0,fe.D)(this.temporaryStorageService.get("auth")).pipe((0,Pe.w)(L=>{const U=new xo.WM({Authorization:`Bearer ${L}`});return this._http.put(`${this._environmentConfig.api_path}${this._login_api_path}`,"",{headers:U,observe:"response"})}))}isTokenExpiringSoon(){var L=this;return(0,lt.Z)(function*(){try{const U=yield L.getExpirationDate();if(!U)return!1;const ce=new Date(U),vt=new Date,Wt=(ce.getTime()-vt.getTime())/1e3;return Wt>0&&Wt<w.C.tokenThresholdExpiration}catch(U){return!1}})()}getExpirationDate(){var L=this;return(0,lt.Z)(function*(){return yield L.temporaryStorageService.get("auth_expiration")})()}}return ve.\u0275fac=function(L){return new(L||ve)(s.LFG(xo.jN),s.LFG(ln.x))},ve.\u0275prov=s.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),rt=(()=>{class ve{constructor(L,U){this.temporaryStorageService=L,this.injector=U}
1intercept(L,U){return(0,fe.D)(this.temporaryStorageService.get("auth")).pipe((0,Pe.w)(ce=>{const vt=this.injector.get(Te);return null!==ce&&L.url.includes("chd-mirame-api")?(0,fe.D)(vt.isTokenExpiringSoon()).pipe((0,Pe.w)(Wt=>{if(Wt)return vt.refreshToken().pipe((0,Pe.w)(qn=>{this.updateAuth(qn);const Mi=this.addTokenHeader(L,qn.body.token);return this.handleRequest(Mi,U,!0)}),(0,ye.K)(qn=>this.handleRefreshTokenError(qn)));{const qn=this.addTokenHeader(L,ce);return this.handleRequest(qn,U)}})):this.handleRequest(L,U)}))}updateAuth(L){this.injector.get(An.e).updateAuth(L.body)}handleRequest(L,U,ce=!1){return U.handle(L).pipe((0,ye.K)(vt=>{const Wt=vt instanceof xo.UA&&401===vt.status,qn=L.url.includes("/api/auth");return Wt&&!qn?ce?this.handleRefreshTokenError(vt):this.handle401Error(L,U):(0,Ee._)(()=>vt)}))}handle401Error(L,U){return this.injector.get(Te).refreshToken().pipe((0,Pe.w)(ce=>(this.updateAuth(ce),U.handle(this.addTokenHeader(L,ce.body.token)))),(0,ye.K)(ce=>this.handleRefreshTokenError(ce)))}handleRefreshTokenError(L){return this.injector.get(An.e).logout("/public/login"),(0,Ee._)(()=>L)}addTokenHeader(L,U){return L.clone({headers:L.headers.set("Authorization",`Bearer ${U}`)})}}return ve.\u0275fac=function(L){return new(L||ve)(s.LFG(ln.x),s.LFG(s.zs3))},ve.\u0275prov=s.Yz7({token:ve,factory:ve.\u0275fac}),ve})();var Nt=m(3361);function zi(ve,$){return function(L,U){$(L,U,ve)}}var Wi=m(9646),Zo=m(4671),ia=m(9841),Wo=m(4986),Pa=m(7272),Ia=m(5698),Ca=m(4482),oa=m(5403),ka=m(5032),Ja=m(9718),Ho=m(5577);function cs(ve,$){return $?L=>(0,Pa.z)($.pipe((0,Ia.q)(1),function ha(){return(0,Ca.e)((ve,$)=>{ve.subscribe(new oa.Q($,ka.Z))})}()),L.pipe(cs(ve))):(0,Ho.z)((L,U)=>ve(L,U).pipe((0,Ia.q)(1),(0,Ja.h)(L)))}var Fa=m(5963),os=m(9300),Ha=m(1884),Ra=m(4004),Za=m(4351),ma=m(8505),as=m(6590);const lo=new s.OlP("MATOMO_ROUTER_CONFIGURATION"),ss={prependBaseHref:!0,trackPageTitle:!0,delay:0,exclude:[]},za=new s.OlP("INTERNAL_ROUTER_CONFIGURATION",{factory:()=>{const{disabled:ve,enableLinkTracking:$}=(0,s.f3M)(Nt.kJ),L=(0,s.f3M)(lo,s.XFs.Optional)||{};return Object.assign(Object.assign(Object.assign({},ss),L),{enableLinkTracking:$,disabled:ve})}}),So=new s.OlP("MATOMO_ROUTER_INTERCEPTORS");function Ba(ve){return{provide:So,multi:!0,useClass:ve}}function jo(ve){return ve?ve.map(Ba):[]}const Ya=new s.OlP("MATOMO_PAGE_TITLE_PROVIDER",{factory:()=>new ya((0,s.f3M)(i.Dx))});class ya{constructor($){this.title=$}getCurrentPageTitle($){return(0,Wi.of)(this.title.getTitle())}}const ga=new s.OlP("MATOMO_PAGE_URL_PROVIDER",{factory:()=>new Ae((0,s.f3M)(za),(0,s.f3M)($t.mr,s.XFs.Optional),(0,s.f3M)($t.lw))});let Ae=(()=>{let ve=class{constructor(L,U,ce){this.config=L,this.baseHref=U,this.platformLocation=ce}getCurrentPageUrl(L){const U=this.config.prependBaseHref?this.getBaseHrefWithoutTrailingSlash()+L.urlAfterRedirects:L.urlAfterRedirects;return(0,Wi.of)(U)}getBaseHrefWithoutTrailingSlash(){var L;return function Oo(ve){return ve.endsWith("/")?ve.slice(0,-1):ve}(null!==(L=this.baseHref)&&void 0!==L?L:this.platformLocation.getBaseHrefFromDOM())}};return ve=function ho(ve,$,L,U){var Wt,ce=arguments.length,vt=ce<3?$:null===U?U=Object.getOwnPropertyDescriptor($,L):U;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)vt=Reflect.decorate(ve,$,L,U);else for(var qn=ve.length-1;qn>=0;qn--)(Wt=ve[qn])&&(vt=(ce<3?Wt(vt):ce>3?Wt($,L,vt):Wt($,L))||vt);return ce>3&&vt&&Object.defineProperty($,L,vt),vt}([zi(0,(0,s.FiY)()),zi(0,(0,s.tBr)(za)),zi(1,(0,s.FiY)()),zi(1,(0,s.tBr)($t.mr))],ve),ve})();function tt(ve){return ve instanceof e.m2}function Ce(ve){return"string"==typeof ve?new RegExp(ve):ve}let En=(()=>{class ve{constructor(L,U,ce,vt,Wt,qn){if(this.router=L,this.config=U,this.pageTitleProvider=ce,this.pageUrlProvider=vt,this.tracker=Wt,this.interceptors=qn,qn&&!Array.isArray(qn))throw function $a(){return new Error('An invalid MATOMO_ROUTER_INTERCEPTORS provider was configured. Did you forget to set "multi: true" ?')}()}init(){if(this.config.disabled)return;const L=-1===this.config.delay?Zo.y:function Wa(ve,$=Wo.z){const L=(0,Fa.H)(ve,$);return cs(()=>L)}(this.config.delay);this.router.events.pipe((0,os.h)(tt),(0,os.h)(function Ht(ve){const $=function mt(ve){return ve?Array.isArray(ve)?ve.map(Ce):[Ce(ve)]:[]}(ve);return L=>!$.some(U=>L.urlAfterRedirects.match(U))}(this.config.exclude)),function ba(ve,$){return(0,Ha.x)((L,U)=>$?$(L[ve],U[ve]):L[ve]===U[ve])}("urlAfterRedirects"),L,(0,Pe.w)(U=>this.presetPageTitleAndUrl(U).pipe((0,Ra.U)(({pageUrl:ce})=>({pageUrl:ce,event:U})))),(0,Za.b)(({event:U,pageUrl:ce})=>this.callInterceptors(U).pipe((0,ma.b)(()=>this.trackPageView(ce))))).subscribe()}callInterceptors(L){return this.interceptors?(0,q.D)(this.interceptors.map(U=>{const ce=U.beforePageTrack(L);return(null==ce?(0,Wi.of)(void 0):(0,fe.D)(ce)).pipe((0,Ia.q)(1),(0,as.d)(void 0))})).pipe((0,Ja.h)(void 0),(0,as.d)(void 0)):(0,Wi.of)(void 0)}presetPageTitleAndUrl(L){const U=this.config.trackPageTitle?this.pageTitleProvider.getCurrentPageTitle(L).pipe((0,ma.b)(vt=>this.tracker.setDocumentTitle(vt))):(0,Wi.of)(void 0),ce=this.pageUrlProvider.getCurrentPageUrl(L).pipe((0,ma.b)(vt=>this.tracker.setCustomUrl(vt)));return(0,ia.a)([U,ce]).pipe((0,Ra.U)(([vt,Wt])=>({pageUrl:Wt})))}trackPageView(L){this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking(!0),this.tracker.setReferrerUrl(L)}}return ve.\u0275fac=function(L){return new(L||ve)(s.LFG(e.F0),s.LFG(za),s.LFG(Ya),s.LFG(ga),s.LFG(Nt.ws),s.LFG(So,8))},ve.\u0275prov=s.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),wn=(()=>{class ve{constructor(L,U){this.router=L,U||this.router.init()}static forRoot(L={}){var{interceptors:U}=L,ce=function Ti(ve,$){var L={};for(var U in ve)Object.prototype.hasOwnProperty.call(ve,U)&&$.indexOf(U)<0&&(L[U]=ve[U]);if(null!=ve&&"function"==typeof Object.getOwnPropertySymbols){var ce=0;for(U=Object.getOwnPropertySymbols(ve);ce<U.length;ce++)$.indexOf(U[ce])<0&&Object.prototype.propertyIsEnumerable.call(ve,U[ce])&&(L[U[ce]]=ve[U[ce]])}return L}(L,["interceptors"]);return{ngModule:ve,providers:[{provide:lo,useValue:ce},jo(U)]}}}return ve.\u0275fac=function(L){return new(L||ve)(s.LFG(En),s.LFG(ve,12))},ve.\u0275mod=s.oAB({type:ve}),ve.\u0275inj=s.cJS({}),ve})();(0,$t.qS)(to);let No=(()=>{class ve{}return ve.\u0275fac=function(L){return new(L||ve)},ve.\u0275mod=s.oAB({type:ve,bootstrap:[Qn]}),ve.\u0275inj=s.cJS({providers:[{provide:s.ip1,multi:!0,deps:[uo.E],useFactory:$=>()=>$.loadConfig()},{provide:s.soG,useValue:"es-ES"},{provide:xo.TP,useClass:rt,multi:!0}],imports:[[i.b2,Fi.m,R,co.PW,C.aw.forRoot({defaultLanguage:w.C.defaultLanguage,loader:{provide:C.Zw,useFactory:To,deps:[xo.eN]}}),Nt.j3.forRoot({siteId:Y.N.matomoConfig.siteId,trackerUrl:Y.N.matomoConfig.trackerUrl}),wn.forRoot()]]}),ve})();function To(ve){return new Nn.w(ve,"./assets/i18n/",".json")}Y.N.production&&(0,s.G48)(),i.q6().bootstrapModule(No).catch(ve=>console.error(ve))},5386:(Yt,Ze,m)=>{var i;!function(s,e,l,d){"use strict";var E,A=["","webkit","Moz","MS","ms","o"],C=e.createElement("div"),S=Math.round,R=Math.abs,q=Date.now;function w(G,de,Ye){return setTimeout(ee(G,Ye),de)}function k(G,de,Ye){return!!Array.isArray(G)&&(h(G,Ye[de],Ye),!0)}function h(G,de,Ye){var Dt;if(G)if(G.forEach)G.forEach(de,Ye);else if(G.length!==d)for(Dt=0;Dt<G.length;)de.call(Ye,G[Dt],Dt,G),Dt++;else for(Dt in G)G.hasOwnProperty(Dt)&&de.call(Ye,G[Dt],Dt,G)}function O(G,de,Ye){var Dt="DEPRECATED METHOD: "+de+"\n"+Ye+" AT \n";return function(){var an=new Error("get-stack-trace"),vn=an&&an.stack?an.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",zn=s.console&&(s.console.warn||s.console.log);return zn&&zn.call(s.console,Dt,vn),G.apply(this,arguments)}}E="function"!=typeof Object.assign?function(de){if(de===d||null===de)throw new TypeError("Cannot convert undefined or null to object");for(var Ye=Object(de),Dt=1;Dt<arguments.length;Dt++){var an=arguments[Dt];
1if(an!==d&&null!==an)for(var vn in an)an.hasOwnProperty(vn)&&(Ye[vn]=an[vn])}return Ye}:Object.assign;var c=O(function(de,Ye,Dt){for(var an=Object.keys(Ye),vn=0;vn<an.length;)(!Dt||Dt&&de[an[vn]]===d)&&(de[an[vn]]=Ye[an[vn]]),vn++;return de},"extend","Use `assign`."),Z=O(function(de,Ye){return c(de,Ye,!0)},"merge","Use `assign`.");function v(G,de,Ye){var an,Dt=de.prototype;(an=G.prototype=Object.create(Dt)).constructor=G,an._super=Dt,Ye&&E(an,Ye)}function ee(G,de){return function(){return G.apply(de,arguments)}}function X(G,de){return"function"==typeof G?G.apply(de&&de[0]||d,de):G}function te(G,de){return G===d?de:G}function _e(G,de,Ye){h(Se(de),function(Dt){G.addEventListener(Dt,Ye,!1)})}function ne(G,de,Ye){h(Se(de),function(Dt){G.removeEventListener(Dt,Ye,!1)})}function oe(G,de){for(;G;){if(G==de)return!0;G=G.parentNode}return!1}function he(G,de){return G.indexOf(de)>-1}function Se(G){return G.trim().split(/\s+/g)}function Be(G,de,Ye){if(G.indexOf&&!Ye)return G.indexOf(de);for(var Dt=0;Dt<G.length;){if(Ye&&G[Dt][Ye]==de||!Ye&&G[Dt]===de)return Dt;Dt++}return-1}function ot(G){return Array.prototype.slice.call(G,0)}function nt(G,de,Ye){for(var Dt=[],an=[],vn=0;vn<G.length;){var zn=de?G[vn][de]:G[vn];Be(an,zn)<0&&Dt.push(G[vn]),an[vn]=zn,vn++}return Ye&&(Dt=de?Dt.sort(function(no,Wi){return no[de]>Wi[de]}):Dt.sort()),Dt}function xt(G,de){for(var Ye,Dt,an=de[0].toUpperCase()+de.slice(1),vn=0;vn<A.length;){if((Dt=(Ye=A[vn])?Ye+an:de)in G)return Dt;vn++}return d}var At=1;function Vt(G){var de=G.ownerDocument||G;return de.defaultView||de.parentWindow||s}var Mt="ontouchstart"in s,we=xt(s,"PointerEvent")!==d,me=Mt&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),We="touch",ft="mouse",Je=["x","y"],De=["clientX","clientY"];function at(G,de){var Ye=this;this.manager=G,this.callback=de,this.element=G.element,this.target=G.options.inputTarget,this.domHandler=function(Dt){X(G.options.enable,[G])&&Ye.handler(Dt)},this.init()}function ge(G,de,Ye){var Dt=Ye.pointers.length,an=Ye.changedPointers.length,vn=1&de&&Dt-an==0,zn=12&de&&Dt-an==0;Ye.isFirst=!!vn,Ye.isFinal=!!zn,vn&&(G.session={}),Ye.eventType=de,function et(G,de){var Ye=G.session,Dt=de.pointers,an=Dt.length;Ye.firstInput||(Ye.firstInput=Xt(de)),an>1&&!Ye.firstMultiple?Ye.firstMultiple=Xt(de):1===an&&(Ye.firstMultiple=!1);var vn=Ye.firstInput,zn=Ye.firstMultiple,$i=zn?zn.center:vn.center,no=de.center=Cn(Dt);de.timeStamp=q(),de.deltaTime=de.timeStamp-vn.timeStamp,de.angle=di($i,no),de.distance=Bn($i,no),function _t(G,de){var Ye=de.center,Dt=G.offsetDelta||{},an=G.prevDelta||{},vn=G.prevInput||{};(1===de.eventType||4===vn.eventType)&&(an=G.prevDelta={x:vn.deltaX||0,y:vn.deltaY||0},Dt=G.offsetDelta={x:Ye.x,y:Ye.y}),de.deltaX=an.x+(Ye.x-Dt.x),de.deltaY=an.y+(Ye.y-Dt.y)}(Ye,de),de.offsetDirection=Kn(de.deltaX,de.deltaY);var Wi=Hn(de.deltaTime,de.deltaX,de.deltaY);de.overallVelocityX=Wi.x,de.overallVelocityY=Wi.y,de.overallVelocity=R(Wi.x)>R(Wi.y)?Wi.x:Wi.y,de.scale=zn?function Di(G,de){return Bn(de[0],de[1],De)/Bn(G[0],G[1],De)}(zn.pointers,Dt):1,de.rotation=zn?function ui(G,de){return di(de[1],de[0],De)+di(G[1],G[0],De)}(zn.pointers,Dt):0,de.maxPointers=Ye.prevInput?de.pointers.length>Ye.prevInput.maxPointers?de.pointers.length:Ye.prevInput.maxPointers:de.pointers.length,function jt(G,de){var an,vn,zn,$i,Ye=G.lastInterval||de,Dt=de.timeStamp-Ye.timeStamp;if(8!=de.eventType&&(Dt>25||Ye.velocity===d)){var no=de.deltaX-Ye.deltaX,Wi=de.deltaY-Ye.deltaY,Zo=Hn(Dt,no,Wi);vn=Zo.x,zn=Zo.y,an=R(Zo.x)>R(Zo.y)?Zo.x:Zo.y,$i=Kn(no,Wi),G.lastInterval=de}else an=Ye.velocity,vn=Ye.velocityX,zn=Ye.velocityY,$i=Ye.direction;de.velocity=an,de.velocityX=vn,de.velocityY=zn,de.direction=$i}(Ye,de);var Zo=G.element;oe(de.srcEvent.target,Zo)&&(Zo=de.srcEvent.target),de.target=Zo}(G,Ye),G.emit("hammer.input",Ye),G.recognize(Ye),G.session.prevInput=Ye}function Xt(G){for(var de=[],Ye=0;Ye<G.pointers.length;)de[Ye]={clientX:S(G.pointers[Ye].clientX),clientY:S(G.pointers[Ye].clientY)},Ye++;return{timeStamp:q(),pointers:de,center:Cn(de),deltaX:G.deltaX,deltaY:G.deltaY}}function Cn(G){var de=G.length;if(1===de)return{x:S(G[0].clientX),y:S(G[0].clientY)};for(var Ye=0,Dt=0,an=0;an<de;)Ye+=G[an].clientX,Dt+=G[an].clientY,an++;return{x:S(Ye/de),y:S(Dt/de)}}function Hn(G,de,Ye){return{x:de/G||0,y:Ye/G||0}}function Kn(G,de){return G===de?1:R(G)>=R(de)?G<0?2:4:de<0?8:16}function Bn(G,de,Ye){Ye||(Ye=Je);var Dt=de[Ye[0]]-G[Ye[0]],an=de[Ye[1]]-G[Ye[1]];return Math.sqrt(Dt*Dt+an*an)}function di(G,de,Ye){return Ye||(Ye=Je),180*Math.atan2(de[Ye[1]]-G[Ye[1]],de[Ye[0]]-G[Ye[0]])/Math.PI}at.prototype={handler:function(){},init:function(){this.evEl&&_e(this.element,this.evEl,this.domHandler),this.evTarget&&_e(this.target,this.evTarget,this.domHandler),this.evWin&&_e(Vt(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&ne(this.element,this.evEl,this.domHandler),this.evTarget&&ne(this.target,this.evTarget,this.domHandler),this.evWin&&ne(Vt(this.element),this.evWin,this.domHandler)}};
1var In={mousedown:1,mousemove:2,mouseup:4},Fn="mousedown",ei="mousemove mouseup";function Vi(){this.evEl=Fn,this.evWin=ei,this.pressed=!1,at.apply(this,arguments)}v(Vi,at,{handler:function(de){var Ye=In[de.type];1&Ye&&0===de.button&&(this.pressed=!0),2&Ye&&1!==de.which&&(Ye=4),this.pressed&&(4&Ye&&(this.pressed=!1),this.callback(this.manager,Ye,{pointers:[de],changedPointers:[de],pointerType:ft,srcEvent:de}))}});var gt={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},He={2:We,3:"pen",4:ft,5:"kinect"},Oe="pointerdown",pt="pointermove pointerup pointercancel";function Ft(){this.evEl=Oe,this.evWin=pt,at.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}s.MSPointerEvent&&!s.PointerEvent&&(Oe="MSPointerDown",pt="MSPointerMove MSPointerUp MSPointerCancel"),v(Ft,at,{handler:function(de){var Ye=this.store,Dt=!1,an=de.type.toLowerCase().replace("ms",""),vn=gt[an],zn=He[de.pointerType]||de.pointerType,$i=zn==We,no=Be(Ye,de.pointerId,"pointerId");1&vn&&(0===de.button||$i)?no<0&&(Ye.push(de),no=Ye.length-1):12&vn&&(Dt=!0),!(no<0)&&(Ye[no]=de,this.callback(this.manager,vn,{pointers:Ye,changedPointers:[de],pointerType:zn,srcEvent:de}),Dt&&Ye.splice(no,1))}});var fn={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Zn="touchstart",ni="touchstart touchmove touchend touchcancel";function ln(){this.evTarget=Zn,this.evWin=ni,this.started=!1,at.apply(this,arguments)}function An(G,de){var Ye=ot(G.touches),Dt=ot(G.changedTouches);return 12&de&&(Ye=nt(Ye.concat(Dt),"identifier",!0)),[Ye,Dt]}v(ln,at,{handler:function(de){var Ye=fn[de.type];if(1===Ye&&(this.started=!0),this.started){var Dt=An.call(this,de,Ye);12&Ye&&Dt[0].length-Dt[1].length==0&&(this.started=!1),this.callback(this.manager,Ye,{pointers:Dt[0],changedPointers:Dt[1],pointerType:We,srcEvent:de})}}});var bt={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Xe="touchstart touchmove touchend touchcancel";function st(){this.evTarget=Xe,this.targetIds={},at.apply(this,arguments)}function ct(G,de){var Ye=ot(G.touches),Dt=this.targetIds;if(3&de&&1===Ye.length)return Dt[Ye[0].identifier]=!0,[Ye,Ye];var an,vn,zn=ot(G.changedTouches),$i=[],no=this.target;if(vn=Ye.filter(function(Wi){return oe(Wi.target,no)}),1===de)for(an=0;an<vn.length;)Dt[vn[an].identifier]=!0,an++;for(an=0;an<zn.length;)Dt[zn[an].identifier]&&$i.push(zn[an]),12&de&&delete Dt[zn[an].identifier],an++;return $i.length?[nt(vn.concat($i),"identifier",!0),$i]:void 0}function $n(){at.apply(this,arguments);var G=ee(this.handler,this);this.touch=new st(this.manager,G),this.mouse=new Vi(this.manager,G),this.primaryTouch=null,this.lastTouches=[]}function Qn(G,de){1&G?(this.primaryTouch=de.changedPointers[0].identifier,Fi.call(this,de)):12&G&&Fi.call(this,de)}function Fi(G){var de=G.changedPointers[0];if(de.identifier===this.primaryTouch){var Ye={x:de.clientX,y:de.clientY};this.lastTouches.push(Ye);var Dt=this.lastTouches;setTimeout(function(){var vn=Dt.indexOf(Ye);vn>-1&&Dt.splice(vn,1)},2500)}}function co(G){for(var de=G.srcEvent.clientX,Ye=G.srcEvent.clientY,Dt=0;Dt<this.lastTouches.length;Dt++){var an=this.lastTouches[Dt],vn=Math.abs(de-an.x),zn=Math.abs(Ye-an.y);if(vn<=25&&zn<=25)return!0}return!1}v(st,at,{handler:function(de){var Ye=bt[de.type],Dt=ct.call(this,de,Ye);!Dt||this.callback(this.manager,Ye,{pointers:Dt[0],changedPointers:Dt[1],pointerType:We,srcEvent:de})}}),v($n,at,{handler:function(de,Ye,Dt){var vn=Dt.pointerType==ft;if(!(vn&&Dt.sourceCapabilities&&Dt.sourceCapabilities.firesTouchEvents)){if(Dt.pointerType==We)Qn.call(this,Ye,Dt);else if(vn&&co.call(this,Dt))return;this.callback(de,Ye,Dt)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var uo=xt(C.style,"touchAction"),gi=uo!==d,bo="compute",xo="manipulation",Nn="none",fe="pan-x",Pe="pan-y",ye=function Y(){if(!gi)return!1;var G={},de=s.CSS&&s.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(Ye){G[Ye]=!de||s.CSS.supports("touch-action",Ye)}),G}();function Ee(G,de){this.manager=G,this.set(de)}function ho(G){this.options=E({},this.defaults,G||{}),this.id=function Qt(){return At++}(),this.manager=null,this.options.enable=te(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function zi(G){return 16&G?"cancel":8&G?"end":4&G?"move":2&G?"start":""}function Bi(G){return 16==G?"down":8==G?"up":2==G?"left":4==G?"right":""}function bn(G,de){var Ye=de.manager;return Ye?Ye.get(G):G}function ci(){ho.apply(this,arguments)}function xi(){ci.apply(this,arguments),this.pX=null,this.pY=null}function Ii(){ci.apply(this,arguments)}function Bo(){ho.apply(this,arguments),this._timer=null,this._input=null}function Gi(){ci.apply(this,arguments)}function go(){ci.apply(this,arguments)}function wo(){ho.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ao(G,de){return(de=de||{}).recognizers=te(de.recognizers,Ao.defaults.preset),new yt(G,de)}function yt(G,de){this.options=E({},Ao.defaults,de||{}),this.options.inputTarget=this.options.inputTarget||G,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=G,this.input=function Ve(G){return new(G.options.inputClass||(we?Ft:me?st:Mt?$n:Vi))(G,ge)}(this),this.touchAction=new Ee(this,this.options.touchAction),$e(this,!0),h(this.options.recognizers,function(Ye){var Dt=this.add(new Ye[0](Ye[1]));Ye[2]&&Dt.recognizeWith(Ye[2]),Ye[3]&&Dt.requireFailure(Ye[3])},this)}function $e(G,de){var Dt,Ye=G.element;
1Ye.style&&(h(G.options.cssProps,function(an,vn){Dt=xt(Ye.style,vn),de?(G.oldCssProps[Dt]=Ye.style[Dt],Ye.style[Dt]=an):Ye.style[Dt]=G.oldCssProps[Dt]||""}),de||(G.oldCssProps={}))}Ee.prototype={set:function(G){G==bo&&(G=this.compute()),gi&&this.manager.element.style&&ye[G]&&(this.manager.element.style[uo]=G),this.actions=G.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var G=[];return h(this.manager.recognizers,function(de){X(de.options.enable,[de])&&(G=G.concat(de.getTouchAction()))}),function lt(G){if(he(G,Nn))return Nn;var de=he(G,fe),Ye=he(G,Pe);return de&&Ye?Nn:de||Ye?de?fe:Pe:he(G,xo)?xo:"auto"}(G.join(" "))},preventDefaults:function(G){var de=G.srcEvent,Ye=G.offsetDirection;if(!this.manager.session.prevented){var Dt=this.actions,an=he(Dt,Nn)&&!ye[Nn],vn=he(Dt,Pe)&&!ye[Pe],zn=he(Dt,fe)&&!ye[fe];if(an&&1===G.pointers.length&&G.distance<2&&G.deltaTime<250)return;return zn&&vn||!(an||vn&&6&Ye||zn&&24&Ye)?void 0:this.preventSrc(de)}de.preventDefault()},preventSrc:function(G){this.manager.session.prevented=!0,G.preventDefault()}},ho.prototype={defaults:{},set:function(G){return E(this.options,G),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(G){if(k(G,"recognizeWith",this))return this;var de=this.simultaneous;return de[(G=bn(G,this)).id]||(de[G.id]=G,G.recognizeWith(this)),this},dropRecognizeWith:function(G){return k(G,"dropRecognizeWith",this)||(G=bn(G,this),delete this.simultaneous[G.id]),this},requireFailure:function(G){if(k(G,"requireFailure",this))return this;var de=this.requireFail;return-1===Be(de,G=bn(G,this))&&(de.push(G),G.requireFailure(this)),this},dropRequireFailure:function(G){if(k(G,"dropRequireFailure",this))return this;G=bn(G,this);var de=Be(this.requireFail,G);return de>-1&&this.requireFail.splice(de,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(G){return!!this.simultaneous[G.id]},emit:function(G){var de=this,Ye=this.state;function Dt(an){de.manager.emit(an,G)}Ye<8&&Dt(de.options.event+zi(Ye)),Dt(de.options.event),G.additionalEvent&&Dt(G.additionalEvent),Ye>=8&&Dt(de.options.event+zi(Ye))},tryEmit:function(G){if(this.canEmit())return this.emit(G);this.state=32},canEmit:function(){for(var G=0;G<this.requireFail.length;){if(!(33&this.requireFail[G].state))return!1;G++}return!0},recognize:function(G){var de=E({},G);if(!X(this.options.enable,[this,de]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(de),30&this.state&&this.tryEmit(de)},process:function(G){},getTouchAction:function(){},reset:function(){}},v(ci,ho,{defaults:{pointers:1},attrTest:function(G){var de=this.options.pointers;return 0===de||G.pointers.length===de},process:function(G){var de=this.state,Ye=G.eventType,Dt=6&de,an=this.attrTest(G);return Dt&&(8&Ye||!an)?16|de:Dt||an?4&Ye?8|de:2&de?4|de:2:32}}),v(xi,ci,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var G=this.options.direction,de=[];return 6&G&&de.push(Pe),24&G&&de.push(fe),de},directionTest:function(G){var de=this.options,Ye=!0,Dt=G.distance,an=G.direction,vn=G.deltaX,zn=G.deltaY;return an&de.direction||(6&de.direction?(an=0===vn?1:vn<0?2:4,Ye=vn!=this.pX,Dt=Math.abs(G.deltaX)):(an=0===zn?1:zn<0?8:16,Ye=zn!=this.pY,Dt=Math.abs(G.deltaY))),G.direction=an,Ye&&Dt>de.threshold&&an&de.direction},attrTest:function(G){return ci.prototype.attrTest.call(this,G)&&(2&this.state||!(2&this.state)&&this.directionTest(G))},emit:function(G){this.pX=G.deltaX,this.pY=G.deltaY;var de=Bi(G.direction);de&&(G.additionalEvent=this.options.event+de),this._super.emit.call(this,G)}}),v(Ii,ci,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Nn]},attrTest:function(G){return this._super.attrTest.call(this,G)&&(Math.abs(G.scale-1)>this.options.threshold||2&this.state)},emit:function(G){1!==G.scale&&(G.additionalEvent=this.options.event+(G.scale<1?"in":"out")),this._super.emit.call(this,G)}}),v(Bo,ho,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(G){var de=this.options,Ye=G.pointers.length===de.pointers,Dt=G.distance<de.threshold,an=G.deltaTime>de.time;if(this._input=G,!Dt||!Ye||12&G.eventType&&!an)this.reset();else if(1&G.eventType)this.reset(),this._timer=w(function(){this.state=8,this.tryEmit()},de.time,this);else if(4&G.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(G){8===this.state&&(G&&4&G.eventType?this.manager.emit(this.options.event+"up",G):(this._input.timeStamp=q(),this.manager.emit(this.options.event,this._input)))}}),v(Gi,ci,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Nn]},attrTest:function(G){return this._super.attrTest.call(this,G)&&(Math.abs(G.rotation)>this.options.threshold||2&this.state)}}),v(go,ci,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return xi.prototype.getTouchAction.call(this)},attrTest:function(G){var Ye,de=this.options.direction;return 30&de?Ye=G.overallVelocity:6&de?Ye=G.overallVelocityX:24&de&&(Ye=G.overallVelocityY),this._super.attrTest.call(this,G)&&de&G.offsetDirection&&G.distance>this.options.threshold&&G.maxPointers==this.options.pointers&&R(Ye)>this.options.velocity&&4&G.eventType},emit:function(G){var de=Bi(G.offsetDirection);de&&this.manager.emit(this.options.event+de,G),this.manager.emit(this.options.event,G)}}),v(wo,ho,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[xo]},process:function(G){var de=this.options,Ye=G.pointers.length===de.pointers,Dt=G.distance<de.threshold,an=G.deltaTime<de.time;if(this.reset(),1&G.eventType&&0===this.count)return this.failTimeout();if(Dt&&an&&Ye){if(4!=G.eventType)return this.failTimeout();var vn=!this.pTime||G.timeStamp-this.pTime<de.interval,zn=!this.pCenter||Bn(this.pCenter,G.center)<de.posThreshold;if(this.pTime=G.timeStamp,this.pCenter=G.center,zn&&vn?this.count+=1:this.count=1,this._input=G,0==this.count%de.taps)return this.hasRequireFailures()?(this._timer=w(function(){this.state=8,this.tryEmit()},de.interval,this),2):8}return 32},failTimeout:function(){return this._timer=w(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ao.VERSION="2.0.7",Ao.defaults={domEvents:!1,touchAction:bo,enable:!0,inputTarget:null,inputClass:null,preset:[[Gi,{enable:!1}],[Ii,{enable:!1},["rotate"]],[go,{direction:6}],[xi,{direction:6},["swipe"]],[wo],[wo,{event:"doubletap",taps:2},["tap"]],[Bo]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},yt.prototype={set:function(G){return E(this.options,G),G.touchAction&&this.touchAction.update(),G.inputTarget&&(this.input.destroy(),this.input.target=G.inputTarget,this.input.init()),this},stop:function(G){this.session.stopped=G?2:1},recognize:function(G){var de=this.session;if(!de.stopped){this.touchAction.preventDefaults(G);var Ye,Dt=this.recognizers,an=de.curRecognizer;(!an||an&&8&an.state)&&(an=de.curRecognizer=null);for(var vn=0;vn<Dt.length;
1)Ye=Dt[vn],2===de.stopped||an&&Ye!=an&&!Ye.canRecognizeWith(an)?Ye.reset():Ye.recognize(G),!an&&14&Ye.state&&(an=de.curRecognizer=Ye),vn++}},get:function(G){if(G instanceof ho)return G;for(var de=this.recognizers,Ye=0;Ye<de.length;Ye++)if(de[Ye].options.event==G)return de[Ye];return null},add:function(G){if(k(G,"add",this))return this;var de=this.get(G.options.event);return de&&this.remove(de),this.recognizers.push(G),G.manager=this,this.touchAction.update(),G},remove:function(G){if(k(G,"remove",this))return this;if(G=this.get(G)){var de=this.recognizers,Ye=Be(de,G);-1!==Ye&&(de.splice(Ye,1),this.touchAction.update())}return this},on:function(G,de){if(G!==d&&de!==d){var Ye=this.handlers;return h(Se(G),function(Dt){Ye[Dt]=Ye[Dt]||[],Ye[Dt].push(de)}),this}},off:function(G,de){if(G!==d){var Ye=this.handlers;return h(Se(G),function(Dt){de?Ye[Dt]&&Ye[Dt].splice(Be(Ye[Dt],de),1):delete Ye[Dt]}),this}},emit:function(G,de){this.options.domEvents&&function z(G,de){var Ye=e.createEvent("Event");Ye.initEvent(G,!0,!0),Ye.gesture=de,de.target.dispatchEvent(Ye)}(G,de);var Ye=this.handlers[G]&&this.handlers[G].slice();if(Ye&&Ye.length){de.type=G,de.preventDefault=function(){de.srcEvent.preventDefault()};for(var Dt=0;Dt<Ye.length;)Ye[Dt](de),Dt++}},destroy:function(){this.element&&$e(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},E(Ao,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:yt,Input:at,TouchAction:Ee,TouchInput:st,MouseInput:Vi,PointerEventInput:Ft,TouchMouseInput:$n,SingleTouchInput:ln,Recognizer:ho,AttrRecognizer:ci,Tap:wo,Pan:xi,Swipe:go,Pinch:Ii,Rotate:Gi,Press:Bo,on:_e,off:ne,each:h,merge:Z,extend:c,assign:E,inherit:v,bindFn:ee,prefixed:xt}),(void 0!==s?s:"undefined"!=typeof self?self:{}).Hammer=Ao,(i=function(){return Ao}.call(Ze,m,Ze,Yt))!==d&&(Yt.exports=i)}(window,document)},1135:(Yt,Ze,m)=>{"use strict";m.d(Ze,{X:()=>s});var i=m(7579);class s extends i.x{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const d=super._subscribe(l);return!d.closed&&l.next(this._value),d}getValue(){const{hasError:l,thrownError:d,_value:A}=this;if(l)throw d;return this._throwIfClosed(),A}next(l){super.next(this._value=l)}}},9751:(Yt,Ze,m)=>{"use strict";m.d(Ze,{y:()=>T});var i=m(930),s=m(727),e=m(8822),l=m(9635),d=m(2416),A=m(576),C=m(2806);let T=(()=>{class w{constructor(h){h&&(this._subscribe=h)}lift(h){const O=new w;return O.source=this,O.operator=h,O}subscribe(h,O,E){const c=function q(w){return w&&w instanceof i.Lv||function R(w){return w&&(0,A.m)(w.next)&&(0,A.m)(w.error)&&(0,A.m)(w.complete)}(w)&&(0,s.Nn)(w)}(h)?h:new i.Hp(h,O,E);return(0,C.x)(()=>{const{operator:Z,source:v}=this;c.add(Z?Z.call(c,v):v?this._subscribe(c):this._trySubscribe(c))}),c}_trySubscribe(h){try{return this._subscribe(h)}catch(O){h.error(O)}}forEach(h,O){return new(O=S(O))((E,c)=>{let Z;Z=this.subscribe(v=>{try{h(v)}catch(ee){c(ee),null==Z||Z.unsubscribe()}},c,E)})}_subscribe(h){var O;return null===(O=this.source)||void 0===O?void 0:O.subscribe(h)}[e.L](){return this}pipe(...h){return(0,l.U)(h)(this)}toPromise(h){return new(h=S(h))((O,E)=>{let c;this.subscribe(Z=>c=Z,Z=>E(Z),()=>O(c))})}}return w.create=k=>new w(k),w})();function S(w){var k;return null!==(k=null!=w?w:d.v.Promise)&&void 0!==k?k:Promise}},4707:(Yt,Ze,m)=>{"use strict";m.d(Ze,{t:()=>e});var i=m(7579),s=m(6063);class e extends i.x{constructor(d=1/0,A=1/0,C=s.l){super(),this._bufferSize=d,this._windowTime=A,this._timestampProvider=C,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=A===1/0,this._bufferSize=Math.max(1,d),this._windowTime=Math.max(1,A)}next(d){const{isStopped:A,_buffer:C,_infiniteTimeWindow:T,_timestampProvider:S,_windowTime:R}=this;A||(C.push(d),!T&&C.push(S.now()+R)),this._trimBuffer(),super.next(d)}_subscribe(d){this._throwIfClosed(),this._trimBuffer();const A=this._innerSubscribe(d),{_infiniteTimeWindow:C,_buffer:T}=this,S=T.slice();for(let R=0;R<S.length&&!d.closed;R+=C?1:2)d.next(S[R]);return this._checkFinalizedStatuses(d),A}_trimBuffer(){const{_bufferSize:d,_timestampProvider:A,_buffer:C,_infiniteTimeWindow:T}=this,S=(T?1:2)*d;if(d<1/0&&S<C.length&&C.splice(0,C.length-S),!T){const R=A.now();let q=0;for(let w=1;w<C.length&&C[w]<=R;w+=2)q=w;q&&C.splice(0,q+1)}}}},7579:(Yt,Ze,m)=>{"use strict";m.d(Ze,{x:()=>C});var i=m(9751),s=m(727);const l=(0,m(3888).d)(S=>function(){S(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var d=m(8737),A=m(2806);let C=(()=>{class S extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(q){const w=new T(this,this);return w.operator=q,w}_throwIfClosed(){if(this.closed)throw new l}next(q){(0,A.x)(()=>
1{if(this._throwIfClosed(),!this.isStopped){const w=this.observers.slice();for(const k of w)k.next(q)}})}error(q){(0,A.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=q;const{observers:w}=this;for(;w.length;)w.shift().error(q)}})}complete(){(0,A.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:q}=this;for(;q.length;)q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var q;return(null===(q=this.observers)||void 0===q?void 0:q.length)>0}_trySubscribe(q){return this._throwIfClosed(),super._trySubscribe(q)}_subscribe(q){return this._throwIfClosed(),this._checkFinalizedStatuses(q),this._innerSubscribe(q)}_innerSubscribe(q){const{hasError:w,isStopped:k,observers:h}=this;return w||k?s.Lc:(h.push(q),new s.w0(()=>(0,d.P)(h,q)))}_checkFinalizedStatuses(q){const{hasError:w,thrownError:k,isStopped:h}=this;w?q.error(k):h&&q.complete()}asObservable(){const q=new i.y;return q.source=this,q}}return S.create=(R,q)=>new T(R,q),S})();class T extends C{constructor(R,q){super(),this.destination=R,this.source=q}next(R){var q,w;null===(w=null===(q=this.destination)||void 0===q?void 0:q.next)||void 0===w||w.call(q,R)}error(R){var q,w;null===(w=null===(q=this.destination)||void 0===q?void 0:q.error)||void 0===w||w.call(q,R)}complete(){var R,q;null===(q=null===(R=this.destination)||void 0===R?void 0:R.complete)||void 0===q||q.call(R)}_subscribe(R){var q,w;return null!==(w=null===(q=this.source)||void 0===q?void 0:q.subscribe(R))&&void 0!==w?w:s.Lc}}},930:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Hp:()=>k,Lv:()=>w});var i=m(576),s=m(727),e=m(2416),l=m(7849),d=m(5032);const A=S("C",void 0,void 0);function S(Z,v,ee){return{kind:Z,value:v,error:ee}}var R=m(3410),q=m(2806);class w extends s.w0{constructor(v){super(),this.isStopped=!1,v?(this.destination=v,(0,s.Nn)(v)&&v.add(this)):this.destination=c}static create(v,ee,X){return new k(v,ee,X)}next(v){this.isStopped?E(function T(Z){return S("N",Z,void 0)}(v),this):this._next(v)}error(v){this.isStopped?E(function C(Z){return S("E",void 0,Z)}(v),this):(this.isStopped=!0,this._error(v))}complete(){this.isStopped?E(A,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(v){this.destination.next(v)}_error(v){try{this.destination.error(v)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class k extends w{constructor(v,ee,X){let te;if(super(),(0,i.m)(v))te=v;else if(v){let _e;({next:te,error:ee,complete:X}=v),this&&e.v.useDeprecatedNextContext?(_e=Object.create(v),_e.unsubscribe=()=>this.unsubscribe()):_e=v,te=null==te?void 0:te.bind(_e),ee=null==ee?void 0:ee.bind(_e),X=null==X?void 0:X.bind(_e)}this.destination={next:te?h(te):d.Z,error:h(null!=ee?ee:O),complete:X?h(X):d.Z}}}function h(Z,v){return(...ee)=>{try{Z(...ee)}catch(X){e.v.useDeprecatedSynchronousErrorHandling?(0,q.O)(X):(0,l.h)(X)}}}function O(Z){throw Z}function E(Z,v){const{onStoppedNotification:ee}=e.v;ee&&R.z.setTimeout(()=>ee(Z,v))}const c={closed:!0,next:d.Z,error:O,complete:d.Z}},727:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Lc:()=>A,w0:()=>d,Nn:()=>C});var i=m(576);const e=(0,m(3888).d)(S=>function(q){S(this),this.message=q?`${q.length} errors occurred during unsubscription:\n${q.map((w,k)=>`${k+1}) ${w.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=q});var l=m(8737);class d{constructor(R){this.initialTeardown=R,this.closed=!1,this._parentage=null,this._teardowns=null}
1unsubscribe(){let R;if(!this.closed){this.closed=!0;const{_parentage:q}=this;if(q)if(this._parentage=null,Array.isArray(q))for(const h of q)h.remove(this);else q.remove(this);const{initialTeardown:w}=this;if((0,i.m)(w))try{w()}catch(h){R=h instanceof e?h.errors:[h]}const{_teardowns:k}=this;if(k){this._teardowns=null;for(const h of k)try{T(h)}catch(O){R=null!=R?R:[],O instanceof e?R=[...R,...O.errors]:R.push(O)}}if(R)throw new e(R)}}add(R){var q;if(R&&R!==this)if(this.closed)T(R);else{if(R instanceof d){if(R.closed||R._hasParent(this))return;R._addParent(this)}(this._teardowns=null!==(q=this._teardowns)&&void 0!==q?q:[]).push(R)}}_hasParent(R){const{_parentage:q}=this;return q===R||Array.isArray(q)&&q.includes(R)}_addParent(R){const{_parentage:q}=this;this._parentage=Array.isArray(q)?(q.push(R),q):q?[q,R]:R}_removeParent(R){const{_parentage:q}=this;q===R?this._parentage=null:Array.isArray(q)&&(0,l.P)(q,R)}remove(R){const{_teardowns:q}=this;q&&(0,l.P)(q,R),R instanceof d&&R._removeParent(this)}}d.EMPTY=(()=>{const S=new d;return S.closed=!0,S})();const A=d.EMPTY;function C(S){return S instanceof d||S&&"closed"in S&&(0,i.m)(S.remove)&&(0,i.m)(S.add)&&(0,i.m)(S.unsubscribe)}function T(S){(0,i.m)(S)?S():S.unsubscribe()}},2416:(Yt,Ze,m)=>{"use strict";m.d(Ze,{v:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3905:(Yt,Ze,m)=>{"use strict";m.d(Ze,{z:()=>e});var i=m(6805),s=m(930);function e(l,d){const A="object"==typeof d;return new Promise((C,T)=>{const S=new s.Hp({next:R=>{C(R),S.unsubscribe()},error:T,complete:()=>{A?C(d.defaultValue):T(new i.K)}});l.subscribe(S)})}},9808:(Yt,Ze,m)=>{"use strict";m.d(Ze,{n:()=>s});var i=m(6805);function s(e,l){const d="object"==typeof l;return new Promise((A,C)=>{let S,T=!1;e.subscribe({next:R=>{S=R,T=!0},error:C,complete:()=>{T?A(S):d?A(l.defaultValue):C(new i.K)}})})}},9841:(Yt,Ze,m)=>{"use strict";m.d(Ze,{a:()=>R,l:()=>q});var i=m(9751),s=m(4742),e=m(2076),l=m(4671),d=m(3268),A=m(3269),C=m(1810),T=m(5403),S=m(9672);function R(...k){const h=(0,A.yG)(k),O=(0,A.jO)(k),{args:E,keys:c}=(0,s.D)(k);if(0===E.length)return(0,e.D)([],h);const Z=new i.y(q(E,h,c?v=>(0,C.n)(c,v):l.y));return O?Z.pipe((0,d.Z)(O)):Z}function q(k,h,O=l.y){return E=>{w(h,()=>{const{length:c}=k,Z=new Array(c);let v=c,ee=c;for(let X=0;X<c;X++)w(h,()=>{const te=(0,e.D)(k[X],h);let _e=!1;te.subscribe(new T.Q(E,ne=>{Z[X]=ne,_e||(_e=!0,ee--),ee||E.next(O(Z.slice()))},()=>{--v||E.complete()}))},E)},E)}}function w(k,h,O){k?(0,S.f)(O,k,h):h()}},7272:(Yt,Ze,m)=>{"use strict";m.d(Ze,{z:()=>d});var i=m(8189),e=m(3269),l=m(2076);function d(...A){return function s(){return(0,i.J)(1)}()((0,l.D)(A,(0,e.yG)(A)))}},9770:(Yt,Ze,m)=>{"use strict";m.d(Ze,{P:()=>e});var i=m(9751),s=m(8421);function e(l){return new i.y(d=>{(0,s.Xf)(l()).subscribe(d)})}},515:(Yt,Ze,m)=>{"use strict";m.d(Ze,{E:()=>s});const s=new(m(9751).y)(d=>d.complete())},4128:(Yt,Ze,m)=>{"use strict";m.d(Ze,{D:()=>T});var i=m(9751),s=m(4742),e=m(8421),l=m(3269),d=m(5403),A=m(3268),C=m(1810);function T(...S){const R=(0,l.jO)(S),{args:q,keys:w}=(0,s.D)(S),k=new i.y(h=>{const{length:O}=q;if(!O)return void h.complete();const E=new Array(O);let c=O,Z=O;for(let v=0;v<O;v++){let ee=!1;(0,e.Xf)(q[v]).subscribe(new d.Q(h,X=>{ee||(ee=!0,Z--),E[v]=X},()=>c--,void 0,()=>{(!c||!ee)&&(Z||h.next(w?(0,C.n)(w,E):E),h.complete())}))}});return R?k.pipe((0,A.Z)(R)):k}},2076:(Yt,Ze,m)=>{"use strict";m.d(Ze,{D:()=>ne});var i=m(8421),s=m(9672),e=m(4482),l=m(5403);function d(oe,he=0){return(0,e.e)((Se,Be)=>{Se.subscribe(new l.Q(Be,ot=>(0,s.f)(Be,oe,()=>Be.next(ot),he),()=>(0,s.f)(Be,oe,()=>Be.complete(),he),ot=>(0,s.f)(Be,oe,()=>Be.error(ot),he)))})}function A(oe,he=0){return(0,e.e)((Se,Be)=>{Be.add(oe.schedule(()=>Se.subscribe(Be),he))})}var S=m(9751),q=m(2202),w=m(576);function h(oe,he){if(!oe)throw new Error("Iterable cannot be null");return new S.y(Se=>{(0,s.f)(Se,he,()=>{const Be=oe[Symbol.asyncIterator]();(0,s.f)(Se,he,()=>{Be.next().then(ot=>{ot.done?Se.complete():Se.next(ot.value)})},0,!0)})})}var O=m(3670),E=m(8239),c=m(1144),Z=m(6495),v=m(2206),ee=m(4532),X=m(3260);function ne(oe,he){return he?function _e(oe,he){if(null!=oe){if((0,O.c)(oe))return function C(oe,he){return(0,i.Xf)(oe).pipe(A(he),d(he))}(oe,he);if((0,c.z)(oe))return function R(oe,he){return new S.y(Se=>{let Be=0;
1return he.schedule(function(){Be===oe.length?Se.complete():(Se.next(oe[Be++]),Se.closed||this.schedule())})})}(oe,he);if((0,E.t)(oe))return function T(oe,he){return(0,i.Xf)(oe).pipe(A(he),d(he))}(oe,he);if((0,v.D)(oe))return h(oe,he);if((0,Z.T)(oe))return function k(oe,he){return new S.y(Se=>{let Be;return(0,s.f)(Se,he,()=>{Be=oe[q.h](),(0,s.f)(Se,he,()=>{let ot,nt;try{({value:ot,done:nt}=Be.next())}catch(xt){return void Se.error(xt)}nt?Se.complete():Se.next(ot)},0,!0)}),()=>(0,w.m)(null==Be?void 0:Be.return)&&Be.return()})}(oe,he);if((0,X.L)(oe))return function te(oe,he){return h((0,X.Q)(oe),he)}(oe,he)}throw(0,ee.z)(oe)}(oe,he):(0,i.Xf)(oe)}},4968:(Yt,Ze,m)=>{"use strict";m.d(Ze,{R:()=>R});var i=m(8421),s=m(9751),e=m(5577),l=m(1144),d=m(576),A=m(3268);const C=["addListener","removeListener"],T=["addEventListener","removeEventListener"],S=["on","off"];function R(O,E,c,Z){if((0,d.m)(c)&&(Z=c,c=void 0),Z)return R(O,E,c).pipe((0,A.Z)(Z));const[v,ee]=function h(O){return(0,d.m)(O.addEventListener)&&(0,d.m)(O.removeEventListener)}(O)?T.map(X=>te=>O[X](E,te,c)):function w(O){return(0,d.m)(O.addListener)&&(0,d.m)(O.removeListener)}(O)?C.map(q(O,E)):function k(O){return(0,d.m)(O.on)&&(0,d.m)(O.off)}(O)?S.map(q(O,E)):[];if(!v&&(0,l.z)(O))return(0,e.z)(X=>R(X,E,c))((0,i.Xf)(O));if(!v)throw new TypeError("Invalid event target");return new s.y(X=>{const te=(..._e)=>X.next(1<_e.length?_e:_e[0]);return v(te),()=>ee(te)})}function q(O,E){return c=>Z=>O[c](E,Z)}},8421:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Xf:()=>k});var i=m(5987),s=m(1144),e=m(8239),l=m(9751),d=m(3670),A=m(2206),C=m(4532),T=m(6495),S=m(3260),R=m(576),q=m(7849),w=m(8822);function k(X){if(X instanceof l.y)return X;if(null!=X){if((0,d.c)(X))return function h(X){return new l.y(te=>{const _e=X[w.L]();if((0,R.m)(_e.subscribe))return _e.subscribe(te);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(X);if((0,s.z)(X))return function O(X){return new l.y(te=>{for(let _e=0;_e<X.length&&!te.closed;_e++)te.next(X[_e]);te.complete()})}(X);if((0,e.t)(X))return function E(X){return new l.y(te=>{X.then(_e=>{te.closed||(te.next(_e),te.complete())},_e=>te.error(_e)).then(null,q.h)})}(X);if((0,A.D)(X))return Z(X);if((0,T.T)(X))return function c(X){return new l.y(te=>{for(const _e of X)if(te.next(_e),te.closed)return;te.complete()})}(X);if((0,S.L)(X))return function v(X){return Z((0,S.Q)(X))}(X)}throw(0,C.z)(X)}function Z(X){return new l.y(te=>{(function ee(X,te){var _e,ne,oe,he;return(0,i.mG)(this,void 0,void 0,function*(){try{for(_e=(0,i.KL)(X);!(ne=yield _e.next()).done;)if(te.next(ne.value),te.closed)return}catch(Se){oe={error:Se}}finally{try{ne&&!ne.done&&(he=_e.return)&&(yield he.call(_e))}finally{if(oe)throw oe.error}}te.complete()})})(X,te).catch(_e=>te.error(_e))})}},6451:(Yt,Ze,m)=>{"use strict";m.d(Ze,{T:()=>A});var i=m(8189),s=m(8421),e=m(515),l=m(3269),d=m(2076);function A(...C){const T=(0,l.yG)(C),S=(0,l._6)(C,1/0),R=C;return R.length?1===R.length?(0,s.Xf)(R[0]):(0,i.J)(S)((0,d.D)(R,T)):e.E}},9646:(Yt,Ze,m)=>{"use strict";m.d(Ze,{of:()=>e});var i=m(3269),s=m(2076);function e(...l){const d=(0,i.yG)(l);return(0,s.D)(l,d)}},2843:(Yt,Ze,m)=>{"use strict";m.d(Ze,{_:()=>e});var i=m(9751),s=m(576);function e(l,d){const A=(0,s.m)(l)?l:()=>l,C=T=>T.error(A());return new i.y(d?T=>d.schedule(C,0,T):C)}},5963:(Yt,Ze,m)=>{"use strict";m.d(Ze,{H:()=>d});var i=m(9751),s=m(4986),e=m(3532);function d(A=0,C,T=s.P){let S=-1;return null!=C&&((0,e.K)(C)?T=C:S=C),new i.y(R=>{let q=function l(A){return A instanceof Date&&!isNaN(A)}(A)?+A-T.now():A;q<0&&(q=0);let w=0;return T.schedule(function(){R.closed||(R.next(w++),0<=S?this.schedule(void 0,S):R.complete())},q)})}},5403:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Q:()=>s});var i=m(930);class s extends i.Lv{constructor(l,d,A,C,T){super(l),this.onFinalize=T,this._next=d?function(S){try{d(S)}catch(R){l.error(R)}}:super._next,this._error=C?function(S){try{C(S)}catch(R){l.error(R)}finally{this.unsubscribe()}}:super._error,this._complete=A?function(){try{A()}catch(S){l.error(S)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;const{closed:d}=this;super.unsubscribe(),!d&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}},3601:(Yt,Ze,m)=>{"use strict";m.d(Ze,{e:()=>C});var i=m(4986),s=m(4482),e=m(8421),l=m(5403),A=m(5963);function C(T,S=i.P){return function d(T){return(0,s.e)((S,R)=>{let q=!1,w=null,k=null,h=!1;const O=()=>{if(null==k||k.unsubscribe(),k=null,q){q=!1;const c=w;w=null,R.next(c)}h&&R.complete()},E=()=>{k=null,h&&R.complete()};S.subscribe(new l.Q(R,c=>{q=!0,w=c,k||(0,e.Xf)(T(c)).subscribe(k=new l.Q(R,O,E))},()=>{h=!0,(!q||!k||k.closed)&&R.complete()}
1))})}(()=>(0,A.H)(T,S))}},262:(Yt,Ze,m)=>{"use strict";m.d(Ze,{K:()=>l});var i=m(8421),s=m(5403),e=m(4482);function l(d){return(0,e.e)((A,C)=>{let R,T=null,S=!1;T=A.subscribe(new s.Q(C,void 0,void 0,q=>{R=(0,i.Xf)(d(q,l(d)(A))),T?(T.unsubscribe(),T=null,R.subscribe(C)):S=!0})),S&&(T.unsubscribe(),T=null,R.subscribe(C))})}},4351:(Yt,Ze,m)=>{"use strict";m.d(Ze,{b:()=>e});var i=m(5577),s=m(576);function e(l,d){return(0,s.m)(d)?(0,i.z)(l,d,1):(0,i.z)(l,1)}},8372:(Yt,Ze,m)=>{"use strict";m.d(Ze,{b:()=>l});var i=m(4986),s=m(4482),e=m(5403);function l(d,A=i.z){return(0,s.e)((C,T)=>{let S=null,R=null,q=null;const w=()=>{if(S){S.unsubscribe(),S=null;const h=R;R=null,T.next(h)}};function k(){const h=q+d,O=A.now();if(O<h)return S=this.schedule(void 0,h-O),void T.add(S);w()}C.subscribe(new e.Q(T,h=>{R=h,q=A.now(),S||(S=A.schedule(k,d),T.add(S))},()=>{w(),T.complete()},void 0,()=>{R=S=null}))})}},6590:(Yt,Ze,m)=>{"use strict";m.d(Ze,{d:()=>e});var i=m(4482),s=m(5403);function e(l){return(0,i.e)((d,A)=>{let C=!1;d.subscribe(new s.Q(A,T=>{C=!0,A.next(T)},()=>{C||A.next(l),A.complete()}))})}},1884:(Yt,Ze,m)=>{"use strict";m.d(Ze,{x:()=>l});var i=m(4671),s=m(4482),e=m(5403);function l(A,C=i.y){return A=null!=A?A:d,(0,s.e)((T,S)=>{let R,q=!0;T.subscribe(new e.Q(S,w=>{const k=C(w);(q||!A(R,k))&&(q=!1,R=k,S.next(w))}))})}function d(A,C){return A===C}},9300:(Yt,Ze,m)=>{"use strict";m.d(Ze,{h:()=>e});var i=m(4482),s=m(5403);function e(l,d){return(0,i.e)((A,C)=>{let T=0;A.subscribe(new s.Q(C,S=>l.call(d,S,T++)&&C.next(S)))})}},8746:(Yt,Ze,m)=>{"use strict";m.d(Ze,{x:()=>s});var i=m(4482);function s(e){return(0,i.e)((l,d)=>{try{l.subscribe(d)}finally{d.add(e)}})}},4004:(Yt,Ze,m)=>{"use strict";m.d(Ze,{U:()=>e});var i=m(4482),s=m(5403);function e(l,d){return(0,i.e)((A,C)=>{let T=0;A.subscribe(new s.Q(C,S=>{C.next(l.call(d,S,T++))}))})}},9718:(Yt,Ze,m)=>{"use strict";m.d(Ze,{h:()=>s});var i=m(4004);function s(e){return(0,i.U)(()=>e)}},8189:(Yt,Ze,m)=>{"use strict";m.d(Ze,{J:()=>e});var i=m(5577),s=m(4671);function e(l=1/0){return(0,i.z)(s.y,l)}},5577:(Yt,Ze,m)=>{"use strict";m.d(Ze,{z:()=>T});var i=m(4004),s=m(8421),e=m(4482),l=m(9672),d=m(5403),C=m(576);function T(S,R,q=1/0){return(0,C.m)(R)?T((w,k)=>(0,i.U)((h,O)=>R(w,h,k,O))((0,s.Xf)(S(w,k))),q):("number"==typeof R&&(q=R),(0,e.e)((w,k)=>function A(S,R,q,w,k,h,O,E){const c=[];let Z=0,v=0,ee=!1;const X=()=>{ee&&!c.length&&!Z&&R.complete()},te=ne=>Z<w?_e(ne):c.push(ne),_e=ne=>{h&&R.next(ne),Z++;let oe=!1;(0,s.Xf)(q(ne,v++)).subscribe(new d.Q(R,he=>{null==k||k(he),h?te(he):R.next(he)},()=>{oe=!0},void 0,()=>{if(oe)try{for(Z--;c.length&&Z<w;){const he=c.shift();O?(0,l.f)(R,O,()=>_e(he)):_e(he)}X()}catch(he){R.error(he)}}))};return S.subscribe(new d.Q(R,te,()=>{ee=!0,X()})),()=>{null==E||E()}}(w,k,S,q)))}},5625:(Yt,Ze,m)=>{"use strict";m.d(Ze,{X:()=>A});var i=m(4482),s=m(5403),e=m(4671),l=m(5963),d=m(8421);function A(C=1/0){let T;T=C&&"object"==typeof C?C:{count:C};const{count:S=1/0,delay:R,resetOnSuccess:q=!1}=T;return S<=0?e.y:(0,i.e)((w,k)=>{let O,h=0;const E=()=>{let c=!1;O=w.subscribe(new s.Q(k,Z=>{q&&(h=0),k.next(Z)},void 0,Z=>{if(h++<S){const v=()=>{O?(O.unsubscribe(),O=null,E()):c=!0};if(null!=R){const ee="number"==typeof R?(0,l.H)(R):(0,d.Xf)(R(Z,h)),X=new s.Q(k,()=>{X.unsubscribe(),v()},()=>{k.complete()});ee.subscribe(X)}else v()}else k.error(Z)})),c&&(O.unsubscribe(),O=null,E())};E()})}},3099:(Yt,Ze,m)=>{"use strict";m.d(Ze,{B:()=>A});var i=m(2076),s=m(5698),e=m(7579),l=m(930),d=m(4482);function A(T={}){const{connector:S=(()=>new e.x),resetOnError:R=!0,resetOnComplete:q=!0,resetOnRefCountZero:w=!0}=T;return k=>{let h=null,O=null,E=null,c=0,Z=!1,v=!1;const ee=()=>{null==O||O.unsubscribe(),O=null},X=()=>{ee(),h=E=null,Z=v=!1},te=()=>{const _e=h;X(),null==_e||_e.unsubscribe()};return(0,d.e)((_e,ne)=>{c++,!v&&!Z&&ee();const oe=E=null!=E?E:S();ne.add(()=>{c--,0===c&&!v&&!Z&&(O=C(te,w))}),oe.subscribe(ne),h||(h=new l.Hp({next:he=>oe.next(he),error:he=>{v=!0,ee(),O=C(X,R,he),oe.error(he)},complete:()=>{Z=!0,ee(),O=C(X,q),oe.complete()}}),(0,i.D)(_e).subscribe(h))})(k)}}function C(T,S,...R){return!0===S?(T(),null):!1===S?null:S(...R).pipe((0,s.q)(1)).subscribe(()=>T())}},5684:(Yt,Ze,m)=>{"use strict";m.d(Ze,{T:()=>s});var i=m(9300);function s(e){return(0,i.h)((l,d)=>e<=d)}},8675:(Yt,Ze,m)=>{"use strict";m.d(Ze,{O:()=>l});var i=m(7272),s=m(3269),e=m(4482);function l(...d){const A=(0,s.yG)(d);return(0,e.e)((C,T)=>{(A?(0,i.z)(d,C,A):(0,i.z)(d,C)).subscribe(T)})}},3900:(Yt,Ze,m)=>{"use strict";m.d(Ze,{w:()=>l});var i=m(8421),s=m(4482),e=m(5403);function l(d,A){return(0,s.e)((C,T)=>{let S=null,R=0,q=!1;const w=()=>q&&!S&&T.complete();C.subscribe(new e.Q(T,k=>{null==S||S.unsubscribe();let h=0;const O=R++;(0,i.Xf)(d(k,O)).subscribe(S=new e.Q(T,E=>T.next(A?A(k,E,O,h++):E),()=>{S=null,w()}))},()=>{q=!0,w()}))})}},5698:(Yt,Ze,m)=>{"use strict";m.d(Ze,{q:()=>l});var i=m(515),s=m(4482),e=m(5403);function l(d){return d<=0?()=>i.E:(0,s.e)((A,C)=>{let T=0;A.subscribe(new e.Q(C,S=>{++T<=d&&(C.next(S),d<=T&&C.complete())}))})}},2722:(Yt,Ze,m)=>{"use strict";m.d(Ze,{R:()=>d});var i=m(4482),s=m(5403),e=m(8421),l=m(5032);function d(A){return(0,i.e)((C,T)=>{(0,e.Xf)(A).subscribe(new s.Q(T,()=>T.complete(),l.Z)),!T.closed&&C.subscribe(T)})}},2529:(Yt,Ze,m)=>{"use strict";m.d(Ze,{o:()=>e});var i=m(4482),s=m(5403);function e(l,d=!1){return(0,i.e)((A,C)=>{let T=0;A.subscribe(new s.Q(C,S=>{const R=l(S,T++);(R||d)&&C.next(S),!R&&C.complete()}
1))})}},8505:(Yt,Ze,m)=>{"use strict";m.d(Ze,{b:()=>d});var i=m(576),s=m(4482),e=m(5403),l=m(4671);function d(A,C,T){const S=(0,i.m)(A)||C||T?{next:A,error:C,complete:T}:A;return S?(0,s.e)((R,q)=>{var w;null===(w=S.subscribe)||void 0===w||w.call(S);let k=!0;R.subscribe(new e.Q(q,h=>{var O;null===(O=S.next)||void 0===O||O.call(S,h),q.next(h)},()=>{var h;k=!1,null===(h=S.complete)||void 0===h||h.call(S),q.complete()},h=>{var O;k=!1,null===(O=S.error)||void 0===O||O.call(S,h),q.error(h)},()=>{var h,O;k&&(null===(h=S.unsubscribe)||void 0===h||h.call(S)),null===(O=S.finalize)||void 0===O||O.call(S)}))}):l.y}},4408:(Yt,Ze,m)=>{"use strict";m.d(Ze,{o:()=>d});var i=m(727);class s extends i.w0{constructor(C,T){super()}schedule(C,T=0){return this}}const e={setInterval(...A){const{delegate:C}=e;return((null==C?void 0:C.setInterval)||setInterval)(...A)},clearInterval(A){const{delegate:C}=e;return((null==C?void 0:C.clearInterval)||clearInterval)(A)},delegate:void 0};var l=m(8737);class d extends s{constructor(C,T){super(C,T),this.scheduler=C,this.work=T,this.pending=!1}schedule(C,T=0){if(this.closed)return this;this.state=C;const S=this.id,R=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(R,S,T)),this.pending=!0,this.delay=T,this.id=this.id||this.requestAsyncId(R,this.id,T),this}requestAsyncId(C,T,S=0){return e.setInterval(C.flush.bind(C,this),S)}recycleAsyncId(C,T,S=0){if(null!=S&&this.delay===S&&!1===this.pending)return T;e.clearInterval(T)}execute(C,T){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const S=this._execute(C,T);if(S)return S;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(C,T){let R,S=!1;try{this.work(C)}catch(q){S=!0,R=q||new Error("Scheduled action threw falsy error")}if(S)return this.unsubscribe(),R}unsubscribe(){if(!this.closed){const{id:C,scheduler:T}=this,{actions:S}=T;this.work=this.state=this.scheduler=null,this.pending=!1,(0,l.P)(S,this),null!=C&&(this.id=this.recycleAsyncId(T,C,null)),this.delay=null,super.unsubscribe()}}}},7565:(Yt,Ze,m)=>{"use strict";m.d(Ze,{v:()=>e});var i=m(6063);class s{constructor(d,A=s.now){this.schedulerActionCtor=d,this.now=A}schedule(d,A=0,C){return new this.schedulerActionCtor(this,d).schedule(C,A)}}s.now=i.l.now;class e extends s{constructor(d,A=s.now){super(d,A),this.actions=[],this._active=!1,this._scheduled=void 0}flush(d){const{actions:A}=this;if(this._active)return void A.push(d);let C;this._active=!0;do{if(C=d.execute(d.state,d.delay))break}while(d=A.shift());if(this._active=!1,C){for(;d=A.shift();)d.unsubscribe();throw C}}}},6406:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Z:()=>C});var i=m(4408),s=m(727);const e={schedule(S){let R=requestAnimationFrame,q=cancelAnimationFrame;const{delegate:w}=e;w&&(R=w.requestAnimationFrame,q=w.cancelAnimationFrame);const k=R(h=>{q=void 0,S(h)});return new s.w0(()=>null==q?void 0:q(k))},requestAnimationFrame(...S){const{delegate:R}=e;return((null==R?void 0:R.requestAnimationFrame)||requestAnimationFrame)(...S)},cancelAnimationFrame(...S){const{delegate:R}=e;return((null==R?void 0:R.cancelAnimationFrame)||cancelAnimationFrame)(...S)},delegate:void 0};var d=m(7565);const C=new class A extends d.v{flush(R){this._active=!0,this._scheduled=void 0;const{actions:q}=this;let w,k=-1;R=R||q.shift();const h=q.length;do{if(w=R.execute(R.state,R.delay))break}while(++k<h&&(R=q.shift()));if(this._active=!1,w){for(;++k<h&&(R=q.shift());)R.unsubscribe();throw w}}}(class l extends i.o{constructor(R,q){super(R,q),this.scheduler=R,this.work=q}requestAsyncId(R,q,w=0){return null!==w&&w>0?super.requestAsyncId(R,q,w):(R.actions.push(this),R._scheduled||(R._scheduled=e.requestAnimationFrame(()=>R.flush(void 0))))}recycleAsyncId(R,q,w=0){if(null!=w&&w>0||null==w&&this.delay>0)return super.recycleAsyncId(R,q,w);0===R.actions.length&&(e.cancelAnimationFrame(q),R._scheduled=void 0)}})},4986:(Yt,Ze,m)=>{"use strict";m.d(Ze,{P:()=>l,z:()=>e});var i=m(4408);const e=new(m(7565).v)(i.o),l=e},6063:(Yt,Ze,m)=>{"use strict";m.d(Ze,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},3410:(Yt,Ze,m)=>{"use strict";m.d(Ze,{z:()=>i});const i={setTimeout(...s){const{delegate:e}=i;return((null==e?void 0:e.setTimeout)||setTimeout)(...s)},clearTimeout(s){const{delegate:e}=i;return((null==e?void 0:e.clearTimeout)||clearTimeout)(s)},delegate:void 0}},2202:(Yt,Ze,m)=>{"use strict";m.d(Ze,{h:()=>s});const s=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Yt,Ze,m)=>{"use strict";m.d(Ze,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Yt,Ze,m)=>{"use strict";m.d(Ze,{K:()=>s});const s=(0,m(3888).d)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Yt,Ze,m)=>{"use strict";m.d(Ze,{_6:()=>A,jO:()=>l,yG:()=>d});var i=m(576),s=m(3532);function e(C){return C[C.length-1]}function l(C){return(0,i.m)(e(C))?C.pop():void 0}function d(C){return(0,s.K)(e(C))?C.pop():void 0}function A(C,T){return"number"==typeof e(C)?C.pop():T}},4742:(Yt,Ze,m)=>{"use strict";m.d(Ze,{D:()=>d});const{isArray:i}=Array,{getPrototypeOf:s,prototype:e,keys:l}=Object;function d(C){if(1===C.length){const T=C[0];if(i(T))return{args:T,keys:null};if(function A(C){return C&&"object"==typeof C&&s(C)===e}(T)){const S=l(T);return{args:S.map(R=>T[R]),keys:S}}}return{args:C,keys:null}}},8737:(Yt,Ze,m)=>{"use strict";function i(s,e){if(s){const l=s.indexOf(e);0<=l&&s.splice(l,1)}}m.d(Ze,{P:()=>i})},3888:(Yt,Ze,m)=>{"use strict";function i(s){const l=s(d=>{Error.call(d),d.stack=(new Error).stack});return l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l}m.d(Ze,{d:()=>i})},1810:(Yt,Ze,m)=>{"use strict";function i(s,e){return s.reduce((l,d,A)=>(l[d]=e[A],l),{})}m.d(Ze,{n:()=>i})},2806:(Yt,Ze,m)=>{"use strict";m.d(Ze,{O:()=>l,x:()=>e});var i=m(2416);let s=null;function e(d){if(i.v.useDeprecatedSynchronousErrorHandling){const A=!s;if(A&&(s={errorThrown:!1,error:null}),d(),A){const{errorThrown:C,error:T}=s;if(s=null,C)throw T}}else d()}function l(d){i.v.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=d)}},9672:(Yt,Ze,m)=>{"use strict";function i(s,e,l,d=0,A=!1){const C=e.schedule(function(){l(),A?s.add(this.schedule(null,d)):this.unsubscribe()},d);if(s.add(C),!A)return C}m.d(Ze,{f:()=>i})},4671:(Yt,Ze,m)=>{"use strict";function i(s){return s}m.d(Ze,{y:()=>i})},1144:(Yt,Ze,m)=>{"use strict";m.d(Ze,{z:()=>i});const i=s=>s&&"number"==typeof s.length&&"function"!=typeof s},2206:(Yt,Ze,m)=>{"use strict";m.d(Ze,{D:()=>s});var i=m(576);function s(e){return Symbol.asyncIterator&&(0,i.m)(null==e?void 0:e[Symbol.asyncIterator])}},576:(Yt,Ze,m)=>{"use strict";function i(s){return"function"==typeof s}m.d(Ze,{m:()=>i})},3670:(Yt,Ze,m)=>{"use strict";m.d(Ze,{c:()=>e});var i=m(8822),s=m(576);function e(l){return(0,s.m)(l[i.L])}},6495:(Yt,Ze,m)=>{"use strict";m.d(Ze,{T:()=>e});var i=m(2202),s=m(576);function e(l){return(0,s.m)(null==l?void 0:l[i.h])}},5191:(Yt,Ze,m)=>{"use strict";m.d(Ze,{b:()=>e});var i=m(9751),s=m(576);function e(l){return!!l&&(l instanceof i.y||(0,s.m)(l.lift)&&(0,s.m)(l.subscribe))}},8239:(Yt,Ze,m)=>{"use strict";m.d(Ze,{t:()=>s});var i=m(576);function s(e){return(0,i.m)(null==e?void 0:e.then)}},3260:(Yt,Ze,m)=>{"use strict";m.d(Ze,{L:()=>l,Q:()=>e});var i=m(5987),s=m(576);function e(d){return(0,i.FC)(this,arguments,function*(){const C=d.getReader();try{for(;;){const{value:T,done:S}=yield(0,i.qq)(C.read());if(S)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(T)}}finally{C.releaseLock()}})}function l(d){return(0,s.m)(null==d?void 0:d.getReader)}},3532:(Yt,Ze,m)=>{"use strict";m.d(Ze,{K:()=>s});var i=m(576);function s(e){return e&&(0,i.m)(e.schedule)}},4482:(Yt,Ze,m)=>{"use strict";m.d(Ze,{A:()=>s,e:()=>e});var i=m(576);function s(l){return(0,i.m)(null==l?void 0:l.lift)}function e(l){return d=>{if(s(d))return d.lift(function(A){try{return l(A,this)}catch(C){this.error(C)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Z:()=>l});var i=m(4004);const{isArray:s}=Array;function l(d){return(0,i.U)(A=>function e(d,A){return s(A)?d(...A):d(A)}(d,A))}},5032:(Yt,Ze,m)=>{"use strict";function i(){}m.d(Ze,{Z:()=>i})},9635:(Yt,Ze,m)=>{"use strict";m.d(Ze,{U:()=>e,z:()=>s});var i=m(4671);function s(...l){return e(l)}
1function e(l){return 0===l.length?i.y:1===l.length?l[0]:function(A){return l.reduce((C,T)=>T(C),A)}}},7849:(Yt,Ze,m)=>{"use strict";m.d(Ze,{h:()=>e});var i=m(2416),s=m(3410);function e(l){s.z.setTimeout(()=>{const{onUnhandledError:d}=i.v;if(!d)throw l;d(l)})}},4532:(Yt,Ze,m)=>{"use strict";function i(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}m.d(Ze,{z:()=>i})},5987:(Yt,Ze,m)=>{"use strict";function T(Se,Be,ot,nt){return new(ot||(ot=Promise))(function(At,Qt){function Vt(we){try{Mt(nt.next(we))}catch(me){Qt(me)}}function dt(we){try{Mt(nt.throw(we))}catch(me){Qt(me)}}function Mt(we){we.done?At(we.value):function xt(At){return At instanceof ot?At:new ot(function(Qt){Qt(At)})}(we.value).then(Vt,dt)}Mt((nt=nt.apply(Se,Be||[])).next())})}function c(Se){return this instanceof c?(this.v=Se,this):new c(Se)}function Z(Se,Be,ot){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xt,nt=ot.apply(Se,Be||[]),At=[];return xt={},Qt("next"),Qt("throw"),Qt("return"),xt[Symbol.asyncIterator]=function(){return this},xt;function Qt(We){nt[We]&&(xt[We]=function(re){return new Promise(function(ft,Ot){At.push([We,re,ft,Ot])>1||Vt(We,re)})})}function Vt(We,re){try{!function dt(We){We.value instanceof c?Promise.resolve(We.value.v).then(Mt,we):me(At[0][2],We)}(nt[We](re))}catch(ft){me(At[0][3],ft)}}function Mt(We){Vt("next",We)}function we(We){Vt("throw",We)}function me(We,re){We(re),At.shift(),At.length&&Vt(At[0][0],At[0][1])}}function ee(Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ot,Be=Se[Symbol.asyncIterator];return Be?Be.call(Se):(Se=function w(Se){var Be="function"==typeof Symbol&&Symbol.iterator,ot=Be&&Se[Be],nt=0;if(ot)return ot.call(Se);if(Se&&"number"==typeof Se.length)return{next:function(){return Se&&nt>=Se.length&&(Se=void 0),{value:Se&&Se[nt++],done:!Se}}};throw new TypeError(Be?"Object is not iterable.":"Symbol.iterator is not defined.")}(Se),ot={},nt("next"),nt("throw"),nt("return"),ot[Symbol.asyncIterator]=function(){return this},ot);function nt(At){ot[At]=Se[At]&&function(Qt){return new Promise(function(Vt,dt){!function xt(At,Qt,Vt,dt){Promise.resolve(dt).then(function(Mt){At({value:Mt,done:Vt})},Qt)}(Vt,dt,(Qt=Se[At](Qt)).done,Qt.value)})}}}m.d(Ze,{FC:()=>Z,KL:()=>ee,mG:()=>T,qq:()=>c})},1777:(Yt,Ze,m)=>{"use strict";m.d(Ze,{F4:()=>R,IO:()=>O,LC:()=>s,SB:()=>S,X$:()=>l,ZE:()=>v,ZN:()=>Z,_j:()=>i,eR:()=>q,jt:()=>d,k1:()=>ee,l3:()=>e,oB:()=>T,pV:()=>k,ru:()=>A,vP:()=>C});class i{}class s{}const e="*";function l(X,te){return{type:7,name:X,definitions:te,options:{}}}function d(X,te=null){return{type:4,styles:te,timings:X}}function A(X,te=null){return{type:3,steps:X,options:te}}function C(X,te=null){return{type:2,steps:X,options:te}}function T(X){return{type:6,styles:X,offset:null}}function S(X,te,_e){return{type:0,name:X,styles:te,options:_e}}function R(X){return{type:5,steps:X}}function q(X,te,_e=null){return{type:1,expr:X,animation:te,options:_e}}function k(X=null){return{type:9,options:X}}function O(X,te,_e=null){return{type:11,selector:X,animation:te,options:_e}}function c(X){Promise.resolve(null).then(X)}class Z{constructor(te=0,_e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=te+_e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(te=>te()),this._onDoneFns=[])}onStart(te){this._onStartFns.push(te)}onDone(te){this._onDoneFns.push(te)}onDestroy(te){this._onDestroyFns.push(te)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){c(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(te=>te()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(te=>te()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(te){this._position=this.totalTime?te*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(te){const _e="start"==te?this._onStartFns:this._onDoneFns;_e.forEach(ne=>ne()),_e.length=0}}class v{constructor(te){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=te;let _e=0,ne=0,oe=0;const he=this.players.length;0==he?c(()=>
1this._onFinish()):this.players.forEach(Se=>{Se.onDone(()=>{++_e==he&&this._onFinish()}),Se.onDestroy(()=>{++ne==he&&this._onDestroy()}),Se.onStart(()=>{++oe==he&&this._onStart()})}),this.totalTime=this.players.reduce((Se,Be)=>Math.max(Se,Be.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(te=>te()),this._onDoneFns=[])}init(){this.players.forEach(te=>te.init())}onStart(te){this._onStartFns.push(te)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(te=>te()),this._onStartFns=[])}onDone(te){this._onDoneFns.push(te)}onDestroy(te){this._onDestroyFns.push(te)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(te=>te.play())}pause(){this.players.forEach(te=>te.pause())}restart(){this.players.forEach(te=>te.restart())}finish(){this._onFinish(),this.players.forEach(te=>te.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(te=>te.destroy()),this._onDestroyFns.forEach(te=>te()),this._onDestroyFns=[])}reset(){this.players.forEach(te=>te.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(te){const _e=te*this.totalTime;this.players.forEach(ne=>{const oe=ne.totalTime?Math.min(1,_e/ne.totalTime):1;ne.setPosition(oe)})}getPosition(){const te=this.players.reduce((_e,ne)=>null===_e||ne.totalTime>_e.totalTime?ne:_e,null);return null!=te?te.getPosition():0}beforeDestroy(){this.players.forEach(te=>{te.beforeDestroy&&te.beforeDestroy()})}triggerCallback(te){const _e="start"==te?this._onStartFns:this._onDoneFns;_e.forEach(ne=>ne()),_e.length=0}}const ee="!"},5664:(Yt,Ze,m)=>{"use strict";m.d(Ze,{$s:()=>Se,Em:()=>At,Kd:()=>Cn,X6:()=>Ue,ic:()=>Vt,kH:()=>ui,mK:()=>Ne,qV:()=>le,qm:()=>ei,rt:()=>Vi,s1:()=>xt,tE:()=>di,yG:()=>Je});var i=m(60),s=m(5e3),e=m(925),l=m(7579),d=m(727),A=m(1135),C=m(9646),T=m(1159),S=m(8505),R=m(8372),q=m(9300),w=m(4004),k=m(5698),h=m(5684),O=m(1884),E=m(2722),c=m(3191),Z=m(7144);function te(gt,He){return(gt.getAttribute(He)||"").match(/\S+/g)||[]}const ne="cdk-describedby-message",oe="cdk-describedby-host";let he=0,Se=(()=>{class gt{constructor(Oe,pt){this._platform=pt,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+he++,this._document=Oe}describe(Oe,pt,Ft){if(!this._canBeDescribed(Oe,pt))return;const fn=Be(pt,Ft);"string"!=typeof pt?(ot(pt),this._messageRegistry.set(fn,{messageElement:pt,referenceCount:0})):this._messageRegistry.has(fn)||this._createMessageElement(pt,Ft),this._isElementDescribedByMessage(Oe,fn)||this._addMessageReference(Oe,fn)}removeDescription(Oe,pt,Ft){var fn;if(!pt||!this._isElementNode(Oe))return;const Zn=Be(pt,Ft);if(this._isElementDescribedByMessage(Oe,Zn)&&this._removeMessageReference(Oe,Zn),"string"==typeof pt){const ni=this._messageRegistry.get(Zn);ni&&0===ni.referenceCount&&this._deleteMessageElement(Zn)}0===(null===(fn=this._messagesContainer)||void 0===fn?void 0:fn.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var Oe;const pt=this._document.querySelectorAll(`[${oe}="${this._id}"]`);for(let Ft=0;Ft<pt.length;Ft++)this._removeCdkDescribedByReferenceIds(pt[Ft]),pt[Ft].removeAttribute(oe);null===(Oe=this._messagesContainer)||void 0===Oe||Oe.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Oe,pt){const Ft=this._document.createElement("div");ot(Ft),Ft.textContent=Oe,pt&&Ft.setAttribute("role",pt),this._createMessagesContainer(),this._messagesContainer.appendChild(Ft),this._messageRegistry.set(Be(Oe,pt),{messageElement:Ft,referenceCount:0})}_deleteMessageElement(Oe){var pt,Ft;null===(Ft=null===(pt=this._messageRegistry.get(Oe))||void 0===pt?void 0:pt.messageElement)||void 0===Ft||Ft.remove(),this._messageRegistry.delete(Oe)}_createMessagesContainer(){if(this._messagesContainer)return;const Oe="cdk-describedby-message-container",pt=this._document.querySelectorAll(`.${Oe}[platform="server"]`);for(let fn=0;fn<pt.length;fn++)pt[fn].remove();const Ft=this._document.createElement("div");Ft.style.visibility="hidden",Ft.classList.add(Oe),Ft.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Ft.setAttribute("platform","server"),this._document.body.appendChild(Ft),this._messagesContainer=Ft}_removeCdkDescribedByReferenceIds(Oe){const pt=te(Oe,"aria-describedby").filter(Ft=>0!=Ft.indexOf(ne));Oe.setAttribute("aria-describedby",pt.join(" "))}_addMessageReference(Oe,pt){const Ft=this._messageRegistry.get(pt);(function ee(gt,He,Oe){const pt=te(gt,He);pt.some(Ft=>Ft.trim()==Oe.trim())||(pt.push(Oe.trim()),gt.setAttribute(He,pt.join(" ")))})(Oe,"aria-describedby",Ft.messageElement.id),Oe.setAttribute(oe,this._id),Ft.referenceCount++}_removeMessageReference(Oe,pt){const Ft=this._messageRegistry.get(pt);Ft.referenceCount--,function X(gt,He,Oe){const Ft=te(gt,He).filter(fn=>fn!=Oe.trim());Ft.length?gt.setAttribute(He,Ft.join(" ")):gt.removeAttribute(He)}(Oe,"aria-describedby",Ft.messageElement.id),Oe.removeAttribute(oe)}_isElementDescribedByMessage(Oe,pt){const Ft=te(Oe,"aria-describedby"),fn=this._messageRegistry.get(pt),Zn=fn&&fn.messageElement.id;return!!Zn&&-1!=Ft.indexOf(Zn)}_canBeDescribed(Oe,pt){if(!this._isElementNode(Oe))return!1;if(pt&&"object"==typeof pt)return!0;const Ft=null==pt?"":`${pt}`.trim(),fn=Oe.getAttribute("aria-label");return!(!Ft||fn&&fn.trim()===Ft)}_isElementNode(Oe){return Oe.nodeType===this._document.ELEMENT_NODE}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.LFG(i.K0),s.LFG(e.t4))},gt.\u0275prov=s.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function Be(gt,He){return"string"==typeof gt?`${He||""}/${gt}`:gt}function ot(gt){gt.id||(gt.id=`${ne}-${he++}`)}class nt{constructor(He){this._items=He,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new l.x,this._typeaheadSub
1scription=d.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Oe=>Oe.disabled,this._pressedLetters=[],this.tabOut=new l.x,this.change=new l.x,He instanceof s.n_E&&He.changes.subscribe(Oe=>{if(this._activeItem){const Ft=Oe.toArray().indexOf(this._activeItem);Ft>-1&&Ft!==this._activeItemIndex&&(this._activeItemIndex=Ft)}})}skipPredicate(He){return this._skipPredicateFn=He,this}withWrap(He=!0){return this._wrap=He,this}withVerticalOrientation(He=!0){return this._vertical=He,this}withHorizontalOrientation(He){return this._horizontal=He,this}withAllowedModifierKeys(He){return this._allowedModifierKeys=He,this}withTypeAhead(He=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,S.b)(Oe=>this._pressedLetters.push(Oe)),(0,R.b)(He),(0,q.h)(()=>this._pressedLetters.length>0),(0,w.U)(()=>this._pressedLetters.join(""))).subscribe(Oe=>{const pt=this._getItemsArray();for(let Ft=1;Ft<pt.length+1;Ft++){const fn=(this._activeItemIndex+Ft)%pt.length,Zn=pt[fn];if(!this._skipPredicateFn(Zn)&&0===Zn.getLabel().toUpperCase().trim().indexOf(Oe)){this.setActiveItem(fn);break}}this._pressedLetters=[]}),this}withHomeAndEnd(He=!0){return this._homeAndEnd=He,this}setActiveItem(He){const Oe=this._activeItem;this.updateActiveItem(He),this._activeItem!==Oe&&this.change.next(this._activeItemIndex)}onKeydown(He){const Oe=He.keyCode,Ft=["altKey","ctrlKey","metaKey","shiftKey"].every(fn=>!He[fn]||this._allowedModifierKeys.indexOf(fn)>-1);switch(Oe){case T.Mf:return void this.tabOut.next();case T.JH:if(this._vertical&&Ft){this.setNextItemActive();break}return;case T.LH:if(this._vertical&&Ft){this.setPreviousItemActive();break}return;case T.SV:if(this._horizontal&&Ft){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case T.oh:if(this._horizontal&&Ft){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case T.Sd:if(this._homeAndEnd&&Ft){this.setFirstItemActive();break}return;case T.uR:if(this._homeAndEnd&&Ft){this.setLastItemActive();break}return;default:return void((Ft||(0,T.Vb)(He,"shiftKey"))&&(He.key&&1===He.key.length?this._letterKeyStream.next(He.key.toLocaleUpperCase()):(Oe>=T.A&&Oe<=T.Z||Oe>=T.xE&&Oe<=T.aO)&&this._letterKeyStream.next(String.fromCharCode(Oe))))}this._pressedLetters=[],He.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(He){const Oe=this._getItemsArray(),pt="number"==typeof He?He:Oe.indexOf(He),Ft=Oe[pt];this._activeItem=null==Ft?null:Ft,this._activeItemIndex=pt}_setActiveItemByDelta(He){this._wrap?this._setActiveInWrapMode(He):this._setActiveInDefaultMode(He)}_setActiveInWrapMode(He){const Oe=this._getItemsArray();for(let pt=1;pt<=Oe.length;pt++){const Ft=(this._activeItemIndex+He*pt+Oe.length)%Oe.length;if(!this._skipPredicateFn(Oe[Ft]))return void this.setActiveItem(Ft)}}_setActiveInDefaultMode(He){this._setActiveItemByIndex(this._activeItemIndex+He,He)}_setActiveItemByIndex(He,Oe){const pt=this._getItemsArray();if(pt[He]){for(;this._skipPredicateFn(pt[He]);)if(!pt[He+=Oe])return;this.setActiveItem(He)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class xt extends nt{setActiveItem(He){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(He),this.activeItem&&this.activeItem.setActiveStyles()}}class At extends nt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(He){return this._origin=He,this}setActiveItem(He){super.setActiveItem(He),this.activeItem&&this.activeItem.focus(this._origin)}}let Vt=(()=>{class gt{constructor(Oe){this._platform=Oe}isDisabled(Oe){return Oe.hasAttribute("disabled")}isVisible(Oe){return function Mt(gt){return!!(gt.offsetWidth||gt.offsetHeight||"function"==typeof gt.getClientRects&&gt.getClientRects().length)}(Oe)&&"visible"===getComputedStyle(Oe).visibility}isTabbable(Oe){if(!this._platform.isBrowser)return!1;const pt=function dt(gt){try{return gt.frameElement}catch(He){return null}}(function it(gt){return gt.ownerDocument&&gt.ownerDocument.defaultView||window}(Oe));if(pt&&(-1===Et(pt)||!this.isVisible(pt)))return!1;let Ft=Oe.nodeName.toLowerCase(),fn=Et(Oe);return Oe.hasAttribute("contenteditable")?-1!==fn:!("iframe"===Ft||"object"===Ft||this._platform.WEBKIT&&this._platform.IOS&&!function Lt(gt){let He=gt.nodeName.toLowerCase(),Oe="input"===He&&gt.type;return"text"===Oe||"password"===Oe||"select"===He||"textarea"===He}(Oe))&&("audio"===Ft?!!Oe.hasAttribute("controls")&&-1!==fn:"video"===Ft?-1!==fn&&(null!==fn||this._platform.FIRE
1FOX||Oe.hasAttribute("controls")):Oe.tabIndex>=0)}isFocusable(Oe,pt){return function It(gt){return!function me(gt){return function re(gt){return"input"==gt.nodeName.toLowerCase()}(gt)&&"hidden"==gt.type}(gt)&&(function we(gt){let He=gt.nodeName.toLowerCase();return"input"===He||"select"===He||"button"===He||"textarea"===He}(gt)||function We(gt){return function ft(gt){return"a"==gt.nodeName.toLowerCase()}(gt)&&gt.hasAttribute("href")}(gt)||gt.hasAttribute("contenteditable")||Ot(gt))}(Oe)&&!this.isDisabled(Oe)&&((null==pt?void 0:pt.ignoreVisibility)||this.isVisible(Oe))}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.LFG(e.t4))},gt.\u0275prov=s.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function Ot(gt){if(!gt.hasAttribute("tabindex")||void 0===gt.tabIndex)return!1;let He=gt.getAttribute("tabindex");return!(!He||isNaN(parseInt(He,10)))}function Et(gt){if(!Ot(gt))return null;const He=parseInt(gt.getAttribute("tabindex")||"",10);return isNaN(He)?-1:He}class wt{constructor(He,Oe,pt,Ft,fn=!1){this._element=He,this._checker=Oe,this._ngZone=pt,this._document=Ft,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,fn||this.attachAnchors()}get enabled(){return this._enabled}set enabled(He){this._enabled=He,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(He,this._startAnchor),this._toggleAnchorTabIndex(He,this._endAnchor))}destroy(){const He=this._startAnchor,Oe=this._endAnchor;He&&(He.removeEventListener("focus",this.startAnchorListener),He.remove()),Oe&&(Oe.removeEventListener("focus",this.endAnchorListener),Oe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(He){return new Promise(Oe=>{this._executeOnStable(()=>Oe(this.focusInitialElement(He)))})}focusFirstTabbableElementWhenReady(He){return new Promise(Oe=>{this._executeOnStable(()=>Oe(this.focusFirstTabbableElement(He)))})}focusLastTabbableElementWhenReady(He){return new Promise(Oe=>{this._executeOnStable(()=>Oe(this.focusLastTabbableElement(He)))})}_getRegionBoundary(He){const Oe=this._element.querySelectorAll(`[cdk-focus-region-${He}], [cdkFocusRegion${He}], [cdk-focus-${He}]`);return"start"==He?Oe.length?Oe[0]:this._getFirstTabbableElement(this._element):Oe.length?Oe[Oe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(He){const Oe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Oe){if(!this._checker.isFocusable(Oe)){const pt=this._getFirstTabbableElement(Oe);return null==pt||pt.focus(He),!!pt}return Oe.focus(He),!0}return this.focusFirstTabbableElement(He)}focusFirstTabbableElement(He){const Oe=this._getRegionBoundary("start");return Oe&&Oe.focus(He),!!Oe}focusLastTabbableElement(He){const Oe=this._getRegionBoundary("end");return Oe&&Oe.focus(He),!!Oe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(He){if(this._checker.isFocusable(He)&&this._checker.isTabbable(He))return He;const Oe=He.children;for(let pt=0;pt<Oe.length;pt++){const Ft=Oe[pt].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Oe[pt]):null;if(Ft)return Ft}return null}_getLastTabbableElement(He){if(this._checker.isFocusable(He)&&this._checker.isTabbable(He))return He;const Oe=He.children;for(let pt=Oe.length-1;pt>=0;pt--){const Ft=Oe[pt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Oe[pt]):null;if(Ft)return Ft}return null}_createAnchor(){const He=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,He),He.classList.add("cdk-visually-hidden"),He.classList.add("cdk-focus-trap-anchor"),He.setAttribute("aria-hidden","true"),He}_toggleAnchorTabIndex(He,Oe){He?Oe.setAttribute("tabindex","0"):Oe.removeAttribute("tabindex")}toggleAnchors(He){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(He,this._startAnchor),this._toggleAnchorTabIndex(He,this._endAnchor))}_executeOnStable(He){this._ngZone.isStable?He():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(He)}}let le=(()=>{class gt{constructor(Oe,pt,Ft){this._checker=Oe,this._ngZone=pt,this._document=Ft}create(Oe,pt=!1){return new wt(Oe,this._checker,this._ngZone,this._document,pt)}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.LFG(Vt),s.LFG(s.R0b),s.LFG(i.K0))},gt.\u0275prov=s.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})(),Ne=(()=>{class gt{constructor(Oe,pt,Ft){this._elementRef=Oe,this._focusTrapFactory=pt,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Oe){this.focusTrap.enabled=(0,c.Ig)(Oe)}get autoCapture(){return this._autoCapture}set autoCapture(Oe){this._autoCapture=(0,c.Ig)(Oe)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(Oe){const pt=Oe.autoCapture;pt&&!pt.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,e.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.Y36(s.SBq),s.Y36(le),s.Y36(i.K0))},gt.\u0275dir=s.lG2({type:gt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),gt})();function Ue(gt){return 0===gt.buttons||0===gt.offsetX&&0===gt.offsetY}function Je(gt){const He=gt.touches&&gt.touches[0]||gt.changedTouches&&gt.changedTouches[0];
1return!(!He||-1!==He.identifier||null!=He.radiusX&&1!==He.radiusX||null!=He.radiusY&&1!==He.radiusY)}const De=new s.OlP("cdk-input-modality-detector-options"),at={ignoreKeys:[T.zL,T.jx,T.b2,T.MW,T.JU]},ge=(0,e.i$)({passive:!0,capture:!0});let et=(()=>{class gt{constructor(Oe,pt,Ft,fn){this._platform=Oe,this._mostRecentTarget=null,this._modality=new A.X(null),this._lastTouchMs=0,this._onKeydown=Zn=>{var ni,ln;(null===(ln=null===(ni=this._options)||void 0===ni?void 0:ni.ignoreKeys)||void 0===ln?void 0:ln.some(An=>An===Zn.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,e.sA)(Zn))},this._onMousedown=Zn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ue(Zn)?"keyboard":"mouse"),this._mostRecentTarget=(0,e.sA)(Zn))},this._onTouchstart=Zn=>{Je(Zn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,e.sA)(Zn))},this._options=Object.assign(Object.assign({},at),fn),this.modalityDetected=this._modality.pipe((0,h.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,O.x)()),Oe.isBrowser&&pt.runOutsideAngular(()=>{Ft.addEventListener("keydown",this._onKeydown,ge),Ft.addEventListener("mousedown",this._onMousedown,ge),Ft.addEventListener("touchstart",this._onTouchstart,ge)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ge),document.removeEventListener("mousedown",this._onMousedown,ge),document.removeEventListener("touchstart",this._onTouchstart,ge))}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.LFG(e.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(De,8))},gt.\u0275prov=s.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();const _t=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function jt(){return null}}),Xt=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Cn=(()=>{class gt{constructor(Oe,pt,Ft,fn){this._ngZone=pt,this._defaultOptions=fn,this._document=Ft,this._liveElement=Oe||this._createLiveElement()}announce(Oe,...pt){const Ft=this._defaultOptions;let fn,Zn;return 1===pt.length&&"number"==typeof pt[0]?Zn=pt[0]:[fn,Zn]=pt,this.clear(),clearTimeout(this._previousTimeout),fn||(fn=Ft&&Ft.politeness?Ft.politeness:"polite"),null==Zn&&Ft&&(Zn=Ft.duration),this._liveElement.setAttribute("aria-live",fn),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ni=>this._currentResolve=ni)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Oe,"number"==typeof Zn&&(this._previousTimeout=setTimeout(()=>this.clear(),Zn)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var Oe,pt;clearTimeout(this._previousTimeout),null===(Oe=this._liveElement)||void 0===Oe||Oe.remove(),this._liveElement=null,null===(pt=this._currentResolve)||void 0===pt||pt.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Oe="cdk-live-announcer-element",pt=this._document.getElementsByClassName(Oe),Ft=this._document.createElement("div");for(let fn=0;fn<pt.length;fn++)pt[fn].remove();return Ft.classList.add(Oe),Ft.classList.add("cdk-visually-hidden"),Ft.setAttribute("aria-atomic","true"),Ft.setAttribute("aria-live","polite"),this._document.body.appendChild(Ft),Ft}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.LFG(_t,8),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(Xt,8))},gt.\u0275prov=s.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();const Kn=new s.OlP("cdk-focus-monitor-default-options"),Bn=(0,e.i$)({passive:!0,capture:!0});let di=(()=>{class gt{constructor(Oe,pt,Ft,fn,Zn){this._ngZone=Oe,this._platform=pt,this._inputModalityDetector=Ft,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new l.x,this._rootNodeFocusAndBlurListener=ni=>{const ln=(0,e.sA)(ni),An="focus"===ni.type?this._onFocus:this._onBlur;for(let bt=ln;bt;bt=bt.parentElement)An.call(this,ni,bt)},this._document=fn,this._detectionMode=(null==Zn?void 0:Zn.detectionMode)||0}monitor(Oe,pt=!1){const Ft=(0,c.fI)(Oe);if(!this._platform.isBrowser||1!==Ft.nodeType)return(0,C.of)(null);const fn=(0,e.kV)(Ft)||this._getDocument(),Zn=this._elementInfo.get(Ft);if(Zn)return pt&&(Zn.checkChildren=!0),Zn.subject;
1const ni={checkChildren:pt,subject:new l.x,rootNode:fn};return this._elementInfo.set(Ft,ni),this._registerGlobalListeners(ni),ni.subject}stopMonitoring(Oe){const pt=(0,c.fI)(Oe),Ft=this._elementInfo.get(pt);Ft&&(Ft.subject.complete(),this._setClasses(pt),this._elementInfo.delete(pt),this._removeGlobalListeners(Ft))}focusVia(Oe,pt,Ft){const fn=(0,c.fI)(Oe);fn===this._getDocument().activeElement?this._getClosestElementsInfo(fn).forEach(([ni,ln])=>this._originChanged(ni,pt,ln)):(this._setOrigin(pt),"function"==typeof fn.focus&&fn.focus(Ft))}ngOnDestroy(){this._elementInfo.forEach((Oe,pt)=>this.stopMonitoring(pt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(Oe){return 1===this._detectionMode||!!(null==Oe?void 0:Oe.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(Oe,pt){Oe.classList.toggle("cdk-focused",!!pt),Oe.classList.toggle("cdk-touch-focused","touch"===pt),Oe.classList.toggle("cdk-keyboard-focused","keyboard"===pt),Oe.classList.toggle("cdk-mouse-focused","mouse"===pt),Oe.classList.toggle("cdk-program-focused","program"===pt)}_setOrigin(Oe,pt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Oe,this._originFromTouchInteraction="touch"===Oe&&pt,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Oe,pt){const Ft=this._elementInfo.get(pt),fn=(0,e.sA)(Oe);!Ft||!Ft.checkChildren&&pt!==fn||this._originChanged(pt,this._getFocusOrigin(fn),Ft)}_onBlur(Oe,pt){const Ft=this._elementInfo.get(pt);!Ft||Ft.checkChildren&&Oe.relatedTarget instanceof Node&&pt.contains(Oe.relatedTarget)||(this._setClasses(pt),this._emitOrigin(Ft.subject,null))}_emitOrigin(Oe,pt){this._ngZone.run(()=>Oe.next(pt))}_registerGlobalListeners(Oe){if(!this._platform.isBrowser)return;const pt=Oe.rootNode,Ft=this._rootNodeFocusListenerCount.get(pt)||0;Ft||this._ngZone.runOutsideAngular(()=>{pt.addEventListener("focus",this._rootNodeFocusAndBlurListener,Bn),pt.addEventListener("blur",this._rootNodeFocusAndBlurListener,Bn)}),this._rootNodeFocusListenerCount.set(pt,Ft+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,E.R)(this._stopInputModalityDetector)).subscribe(fn=>{this._setOrigin(fn,!0)}))}_removeGlobalListeners(Oe){const pt=Oe.rootNode;if(this._rootNodeFocusListenerCount.has(pt)){const Ft=this._rootNodeFocusListenerCount.get(pt);Ft>1?this._rootNodeFocusListenerCount.set(pt,Ft-1):(pt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Bn),pt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Bn),this._rootNodeFocusListenerCount.delete(pt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Oe,pt,Ft){this._setClasses(Oe,pt),this._emitOrigin(Ft.subject,pt),this._lastFocusOrigin=pt}_getClosestElementsInfo(Oe){const pt=[];return this._elementInfo.forEach((Ft,fn)=>{(fn===Oe||Ft.checkChildren&&fn.contains(Oe))&&pt.push([fn,Ft])}),pt}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.LFG(s.R0b),s.LFG(e.t4),s.LFG(et),s.LFG(i.K0,8),s.LFG(Kn,8))},gt.\u0275prov=s.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})(),ui=(()=>{class gt{constructor(Oe,pt){this._elementRef=Oe,this._focusMonitor=pt,this.cdkFocusChange=new s.vpe}ngAfterViewInit(){const Oe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Oe,1===Oe.nodeType&&Oe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(pt=>this.cdkFocusChange.emit(pt))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.Y36(s.SBq),s.Y36(di))},gt.\u0275dir=s.lG2({type:gt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),gt})();const Di="cdk-high-contrast-black-on-white",In="cdk-high-contrast-white-on-black",Fn="cdk-high-contrast-active";let ei=(()=>{class gt{constructor(Oe,pt){this._platform=Oe,this._document=pt}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Oe=this._document.createElement("div");Oe.style.backgroundColor="rgb(1,2,3)",Oe.style.position="absolute",this._document.body.appendChild(Oe);const pt=this._document.defaultView||window,Ft=pt&&pt.getComputedStyle?pt.getComputedStyle(Oe):null,f
1n=(Ft&&Ft.backgroundColor||"").replace(/ /g,"");switch(Oe.remove(),fn){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Oe=this._document.body.classList;Oe.remove(Fn),Oe.remove(Di),Oe.remove(In),this._hasCheckedHighContrastMode=!0;const pt=this.getHighContrastMode();1===pt?(Oe.add(Fn),Oe.add(Di)):2===pt&&(Oe.add(Fn),Oe.add(In))}}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.LFG(e.t4),s.LFG(i.K0))},gt.\u0275prov=s.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})(),Vi=(()=>{class gt{constructor(Oe){Oe._applyBodyHighContrastModeCssClasses()}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(s.LFG(ei))},gt.\u0275mod=s.oAB({type:gt}),gt.\u0275inj=s.cJS({imports:[[Z.Q8]]}),gt})()},226:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Is:()=>C,vT:()=>S});var i=m(5e3),s=m(60);const e=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function l(){return(0,i.f3M)(s.K0)}}),d=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let C=(()=>{class R{constructor(w){if(this.value="ltr",this.change=new i.vpe,w){const h=w.documentElement?w.documentElement.dir:null;this.value=function A(R){const q=(null==R?void 0:R.toLowerCase())||"";return"auto"===q&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?d.test(navigator.language)?"rtl":"ltr":"rtl"===q?"rtl":"ltr"}((w.body?w.body.dir:null)||h||"ltr")}}ngOnDestroy(){this.change.complete()}}return R.\u0275fac=function(w){return new(w||R)(i.LFG(e,8))},R.\u0275prov=i.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),S=(()=>{class R{}return R.\u0275fac=function(w){return new(w||R)},R.\u0275mod=i.oAB({type:R}),R.\u0275inj=i.cJS({}),R})()},9287:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Iq:()=>C,i3:()=>A});var i=m(60),s=m(5e3);class e{constructor(S,R){this._document=R;const q=this._textarea=this._document.createElement("textarea"),w=q.style;w.position="fixed",w.top=w.opacity="0",w.left="-999em",q.setAttribute("aria-hidden","true"),q.value=S,this._document.body.appendChild(q)}copy(){const S=this._textarea;let R=!1;try{if(S){const q=this._document.activeElement;S.select(),S.setSelectionRange(0,S.value.length),R=this._document.execCommand("copy"),q&&q.focus()}}catch(q){}return R}destroy(){const S=this._textarea;S&&(S.remove(),this._textarea=void 0)}}let l=(()=>{class T{constructor(R){this._document=R}copy(R){const q=this.beginCopy(R),w=q.copy();return q.destroy(),w}beginCopy(R){return new e(R,this._document)}}return T.\u0275fac=function(R){return new(R||T)(s.LFG(i.K0))},T.\u0275prov=s.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})();const d=new s.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let A=(()=>{class T{constructor(R,q,w){this._clipboard=R,this._ngZone=q,this.text="",this.attempts=1,this.copied=new s.vpe,this._pending=new Set,w&&null!=w.attempts&&(this.attempts=w.attempts)}copy(R=this.attempts){if(R>1){let q=R;const w=this._clipboard.beginCopy(this.text);this._pending.add(w);const k=()=>{const h=w.copy();h||!--q||this._destroyed?(this._currentTimeout=null,this._pending.delete(w),w.destroy(),this.copied.emit(h)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(k,1))};k()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(R=>R.destroy()),this._pending.clear(),this._destroyed=!0}}return T.\u0275fac=function(R){return new(R||T)(s.Y36(l),s.Y36(s.R0b),s.Y36(d,8))},T.\u0275dir=s.lG2({type:T,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(R,q){1&R&&s.NdJ("click",function(){return q.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),T})(),C=(()=>{class T{}return T.\u0275fac=function(R){return new(R||T)},T.\u0275mod=s.oAB({type:T}),T.\u0275inj=s.cJS({}),T})()},3191:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Eq:()=>d,HM:()=>A,Ig:()=>s,du:()=>T,fI:()=>C,su:()=>e,t6:()=>l});var i=m(5e3);function s(S){return null!=S&&"false"!=`${S}`}function e(S,R=0){return l(S)?Number(S):R}function l(S){return!isNaN(parseFloat(S))&&!isNaN(Number(S))}function d(S){return Array.isArray(S)?S:[S]}function A(S){return null==S?"":"string"==typeof S?S:`${S}px`}function C(S){return S instanceof i.SBq?S.nativeElement:S}function T(S,R=/\s+/){const q=[];if(null!=S){const w=Array.isArray(S)?S:`${S}`.split(R);for(const k of w){const h=`${k}`.trim();h&&q.push(h)}}return q}},449:(Yt,Ze,m)=>{"use strict";m.d(Ze,{A8:()=>R,Ov:()=>T,Z9:()=>l,eX:()=>C,k:()=>q,o2:()=>e,yy:()=>A});var i=m(7579),s=m(5e3);class e{}function l(w){return w&&"function"==typeof w.connect}
1class A{applyChanges(k,h,O,E,c){k.forEachOperation((Z,v,ee)=>{let X,te;if(null==Z.previousIndex){const _e=O(Z,v,ee);X=h.createEmbeddedView(_e.templateRef,_e.context,_e.index),te=1}else null==ee?(h.remove(v),te=3):(X=h.get(v),h.move(X,ee),te=2);c&&c({context:null==X?void 0:X.context,operation:te,record:Z})})}detach(){}}class C{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(k,h,O,E,c){k.forEachOperation((Z,v,ee)=>{let X,te;null==Z.previousIndex?(X=this._insertView(()=>O(Z,v,ee),ee,h,E(Z)),te=X?1:0):null==ee?(this._detachAndCacheView(v,h),te=3):(X=this._moveView(v,ee,h,E(Z)),te=2),c&&c({context:null==X?void 0:X.context,operation:te,record:Z})})}detach(){for(const k of this._viewCache)k.destroy();this._viewCache=[]}_insertView(k,h,O,E){const c=this._insertViewFromCache(h,O);if(c)return void(c.context.$implicit=E);const Z=k();return O.createEmbeddedView(Z.templateRef,Z.context,Z.index)}_detachAndCacheView(k,h){const O=h.detach(k);this._maybeCacheView(O,h)}_moveView(k,h,O,E){const c=O.get(k);return O.move(c,h),c.context.$implicit=E,c}_maybeCacheView(k,h){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(k);else{const O=h.indexOf(k);-1===O?k.destroy():h.remove(O)}}_insertViewFromCache(k,h){const O=this._viewCache.pop();return O&&h.insert(O,k),O||null}}class T{constructor(k=!1,h,O=!0){this._multiple=k,this._emitChanges=O,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new i.x,h&&h.length&&(k?h.forEach(E=>this._markSelected(E)):this._markSelected(h[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...k){this._verifyValueAssignment(k),k.forEach(h=>this._markSelected(h)),this._emitChangeEvent()}deselect(...k){this._verifyValueAssignment(k),k.forEach(h=>this._unmarkSelected(h)),this._emitChangeEvent()}toggle(k){this.isSelected(k)?this.deselect(k):this.select(k)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(k){return this._selection.has(k)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(k){this._multiple&&this.selected&&this._selected.sort(k)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(k){this.isSelected(k)||(this._multiple||this._unmarkAll(),this._selection.add(k),this._emitChanges&&this._selectedToEmit.push(k))}_unmarkSelected(k){this.isSelected(k)&&(this._selection.delete(k),this._emitChanges&&this._deselectedToEmit.push(k))}_unmarkAll(){this.isEmpty()||this._selection.forEach(k=>this._unmarkSelected(k))}_verifyValueAssignment(k){}}let R=(()=>{class w{constructor(){this._listeners=[]}notify(h,O){for(let E of this._listeners)E(h,O)}listen(h){return this._listeners.push(h),()=>{this._listeners=this._listeners.filter(O=>h!==O)}}ngOnDestroy(){this._listeners=[]}}return w.\u0275fac=function(h){return new(h||w)},w.\u0275prov=s.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})();const q=new s.OlP("_ViewRepeater")},1159:(Yt,Ze,m)=>{"use strict";m.d(Ze,{A:()=>We,JH:()=>ee,JU:()=>A,K5:()=>d,Ku:()=>k,LH:()=>Z,L_:()=>w,MW:()=>Cn,Mf:()=>e,SV:()=>v,Sd:()=>E,VM:()=>h,Vb:()=>xi,Z:()=>Xt,aO:()=>Vt,b2:()=>ci,hY:()=>q,jx:()=>C,oh:()=>c,uR:()=>O,xE:()=>oe,zL:()=>T});const e=9,d=13,A=16,C=17,T=18,q=27,w=32,k=33,h=34,O=35,E=36,c=37,Z=38,v=39,ee=40,oe=48,Vt=57,We=65,Xt=90,Cn=91,ci=224;function xi(Ii,...Bo){return Bo.length?Bo.some(Gi=>Ii[Gi]):Ii.altKey||Ii.shiftKey||Ii.ctrlKey||Ii.metaKey}},5113:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Yg:()=>ee,u3:()=>te});var i=m(5e3),s=m(3191),e=m(7579),l=m(9841),d=m(7272),A=m(9751),C=m(5698),T=m(5684),S=m(8372),R=m(4004),q=m(8675),w=m(2722),k=m(925);const O=new Set;let E,c=(()=>{class _e{constructor(oe){this._platform=oe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):v}matchMedia(oe){return(this._platform.WEBKIT||this._platform.BLINK)&&function Z(_e){if(!O.has(_e))try{E||(E=document.createElement("style"),E.setAttribute("type","text/css"),document.head.appendChild(E)),E.sheet&&(E.sheet.insertRule(`@media ${_e} {body{ }}`,0),O.add(_e))}catch(ne){console.error(ne)}}(oe),this._matchMedia(oe)}}return _e.\u0275fac=function(oe){return new(oe||_e)(i.LFG(k.t4))},_e.\u0275prov=i.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();function v(_e){return{matches:"all"===_e||""===_e,media:_e,addListener:()=>{},removeListener:()=>{}}}let ee=(()=>{class _e{constructor(oe,he){this._mediaMatcher=oe,this._zone=he,this._queries=new Map,this._destroySubject=ne
1w e.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(oe){return X((0,s.Eq)(oe)).some(Se=>this._registerQuery(Se).mql.matches)}observe(oe){const Se=X((0,s.Eq)(oe)).map(ot=>this._registerQuery(ot).observable);let Be=(0,l.a)(Se);return Be=(0,d.z)(Be.pipe((0,C.q)(1)),Be.pipe((0,T.T)(1),(0,S.b)(0))),Be.pipe((0,R.U)(ot=>{const nt={matches:!1,breakpoints:{}};return ot.forEach(({matches:xt,query:At})=>{nt.matches=nt.matches||xt,nt.breakpoints[At]=xt}),nt}))}_registerQuery(oe){if(this._queries.has(oe))return this._queries.get(oe);const he=this._mediaMatcher.matchMedia(oe),Be={observable:new A.y(ot=>{const nt=xt=>this._zone.run(()=>ot.next(xt));return he.addListener(nt),()=>{he.removeListener(nt)}}).pipe((0,q.O)(he),(0,R.U)(({matches:ot})=>({query:oe,matches:ot})),(0,w.R)(this._destroySubject)),mql:he};return this._queries.set(oe,Be),Be}}return _e.\u0275fac=function(oe){return new(oe||_e)(i.LFG(c),i.LFG(i.R0b))},_e.\u0275prov=i.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();function X(_e){return _e.map(ne=>ne.split(",")).reduce((ne,oe)=>ne.concat(oe)).map(ne=>ne.trim())}const te={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7144:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Q8:()=>S,wD:()=>T});var i=m(3191),s=m(5e3),e=m(9751),l=m(7579),d=m(8372);let A=(()=>{class R{create(w){return"undefined"==typeof MutationObserver?null:new MutationObserver(w)}}return R.\u0275fac=function(w){return new(w||R)},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),C=(()=>{class R{constructor(w){this._mutationObserverFactory=w,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((w,k)=>this._cleanupObserver(k))}observe(w){const k=(0,i.fI)(w);return new e.y(h=>{const E=this._observeElement(k).subscribe(h);return()=>{E.unsubscribe(),this._unobserveElement(k)}})}_observeElement(w){if(this._observedElements.has(w))this._observedElements.get(w).count++;
1else{const k=new l.x,h=this._mutationObserverFactory.create(O=>k.next(O));h&&h.observe(w,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(w,{observer:h,stream:k,count:1})}return this._observedElements.get(w).stream}_unobserveElement(w){this._observedElements.has(w)&&(this._observedElements.get(w).count--,this._observedElements.get(w).count||this._cleanupObserver(w))}_cleanupObserver(w){if(this._observedElements.has(w)){const{observer:k,stream:h}=this._observedElements.get(w);k&&k.disconnect(),h.complete(),this._observedElements.delete(w)}}}return R.\u0275fac=function(w){return new(w||R)(s.LFG(A))},R.\u0275prov=s.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),T=(()=>{class R{constructor(w,k,h){this._contentObserver=w,this._elementRef=k,this._ngZone=h,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(w){this._disabled=(0,i.Ig)(w),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(w){this._debounce=(0,i.su)(w),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const w=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?w.pipe((0,d.b)(this.debounce)):w).subscribe(this.event)})}_unsubscribe(){var w;null===(w=this._currentSubscription)||void 0===w||w.unsubscribe()}}return R.\u0275fac=function(w){return new(w||R)(s.Y36(C),s.Y36(s.SBq),s.Y36(s.R0b))},R.\u0275dir=s.lG2({type:R,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),R})(),S=(()=>{class R{}return R.\u0275fac=function(w){return new(w||R)},R.\u0275mod=s.oAB({type:R}),R.\u0275inj=s.cJS({providers:[A]}),R})()},1314:(Yt,Ze,m)=>{"use strict";m.d(Ze,{U8:()=>Dn,X_:()=>ne,Xj:()=>xt,_G:()=>Vt,aV:()=>It,pI:()=>Ne,xu:()=>le});var i=m(2411),s=m(60),e=m(5e3),l=m(3191),d=m(925),A=m(226),C=m(7429),T=m(7579),S=m(727),R=m(6451),q=m(5698),w=m(2722),k=m(2529),h=m(1159);const O=(0,d.Mq)();class E{constructor(Ue,Je){this._viewportRuler=Ue,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Je}attach(){}enable(){if(this._canBeEnabled()){const Ue=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Ue.style.left||"",this._previousHTMLStyles.top=Ue.style.top||"",Ue.style.left=(0,l.HM)(-this._previousScrollPosition.left),Ue.style.top=(0,l.HM)(-this._previousScrollPosition.top),Ue.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Ue=this._document.documentElement,De=Ue.style,at=this._document.body.style,Ve=De.scrollBehavior||"",ge=at.scrollBehavior||"";this._isEnabled=!1,De.left=this._previousHTMLStyles.left,De.top=this._previousHTMLStyles.top,Ue.classList.remove("cdk-global-scrollblock"),O&&(De.scrollBehavior=at.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),O&&(De.scrollBehavior=Ve,at.scrollBehavior=ge)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Je=this._document.body,De=this._viewportRuler.getViewportSize();return Je.scrollHeight>De.height||Je.scrollWidth>De.width}}class Z{constructor(Ue,Je,De,at){this._scrollDispatcher=Ue,this._ngZone=Je,this._viewportRuler=De,this._config=at,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Ue){this._overlayRef=Ue}enable(){if(this._scrollSubscription)return;const Ue=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Ue.subscribe(()=>{const Je=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Je-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Ue.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class v{enable(){}disable(){}attach(){}}function ee(rn,Ue){return Ue.some(Je=>rn.bottom<Je.top||rn.top>Je.bottom||rn.right<Je.left||rn.left>Je.right)}function X(rn,Ue){return Ue.some(Je=>rn.top<Je.top||rn.bottom>Je.bottom||rn.left<Je.left||rn.right>Je.right)}class te{constructor(Ue,Je,De,at){this._scrollDispatcher=Ue,this._viewportRuler
1=Je,this._ngZone=De,this._config=at,this._scrollSubscription=null}attach(Ue){this._overlayRef=Ue}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Je=this._overlayRef.overlayElement.getBoundingClientRect(),{width:De,height:at}=this._viewportRuler.getViewportSize();ee(Je,[{width:De,height:at,bottom:at,right:De,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let _e=(()=>{class rn{constructor(Je,De,at,Ve){this._scrollDispatcher=Je,this._viewportRuler=De,this._ngZone=at,this.noop=()=>new v,this.close=ge=>new Z(this._scrollDispatcher,this._ngZone,this._viewportRuler,ge),this.block=()=>new E(this._viewportRuler,this._document),this.reposition=ge=>new te(this._scrollDispatcher,this._viewportRuler,this._ngZone,ge),this._document=Ve}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.LFG(i.mF),e.LFG(i.rL),e.LFG(e.R0b),e.LFG(s.K0))},rn.\u0275prov=e.Yz7({token:rn,factory:rn.\u0275fac,providedIn:"root"}),rn})();class ne{constructor(Ue){if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Ue){const Je=Object.keys(Ue);for(const De of Je)void 0!==Ue[De]&&(this[De]=Ue[De])}}}class Se{constructor(Ue,Je){this.connectionPair=Ue,this.scrollableViewProperties=Je}}class nt{constructor(Ue,Je,De,at,Ve,ge,et,_t,jt){this._portalOutlet=Ue,this._host=Je,this._pane=De,this._config=at,this._ngZone=Ve,this._keyboardDispatcher=ge,this._document=et,this._location=_t,this._outsideClickDispatcher=jt,this._backdropElement=null,this._backdropClick=new T.x,this._attachments=new T.x,this._detachments=new T.x,this._locationChanges=S.w0.EMPTY,this._backdropClickHandler=Xt=>this._backdropClick.next(Xt),this._backdropTransitionendHandler=Xt=>{this._disposeBackdrop(Xt.target)},this._keydownEvents=new T.x,this._outsidePointerEvents=new T.x,at.scrollStrategy&&(this._scrollStrategy=at.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=at.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Ue){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Je=this._portalOutlet.attach(Ue);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,q.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),Je}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Ue=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Ue}dispose(){var Ue;const Je=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(Ue=this._host)||void 0===Ue||Ue.remove(),this._previousHostParent=this._pane=this._host=null,Je&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}
1keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Ue){Ue!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Ue,this.hasAttached()&&(Ue.attach(this),this.updatePosition()))}updateSize(Ue){this._config=Object.assign(Object.assign({},this._config),Ue),this._updateElementSize()}setDirection(Ue){this._config=Object.assign(Object.assign({},this._config),{direction:Ue}),this._updateElementDirection()}addPanelClass(Ue){this._pane&&this._toggleClasses(this._pane,Ue,!0)}removePanelClass(Ue){this._pane&&this._toggleClasses(this._pane,Ue,!1)}getDirection(){const Ue=this._config.direction;return Ue?"string"==typeof Ue?Ue:Ue.value:"ltr"}updateScrollStrategy(Ue){Ue!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Ue,this.hasAttached()&&(Ue.attach(this),Ue.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Ue=this._pane.style;Ue.width=(0,l.HM)(this._config.width),Ue.height=(0,l.HM)(this._config.height),Ue.minWidth=(0,l.HM)(this._config.minWidth),Ue.minHeight=(0,l.HM)(this._config.minHeight),Ue.maxWidth=(0,l.HM)(this._config.maxWidth),Ue.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(Ue){this._pane.style.pointerEvents=Ue?"":"none"}_attachBackdrop(){const Ue="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Ue)})}):this._backdropElement.classList.add(Ue)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Ue=this._backdropElement;!Ue||(Ue.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Ue.addEventListener("transitionend",this._backdropTransitionendHandler)}),Ue.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Ue)},500)))}_toggleClasses(Ue,Je,De){const at=(0,l.Eq)(Je||[]).filter(Ve=>!!Ve);at.length&&(De?Ue.classList.add(...at):Ue.classList.remove(...at))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Ue=this._ngZone.onStable.pipe((0,w.R)((0,R.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Ue.unsubscribe())})})}_disposeScrollStrategy(){const Ue=this._scrollStrategy;Ue&&(Ue.disable(),Ue.detach&&Ue.detach())}_disposeBackdrop(Ue){Ue&&(Ue.removeEventListener("click",this._backdropClickHandler),Ue.removeEventListener("transitionend",this._backdropTransitionendHandler),Ue.remove(),this._backdropElement===Ue&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let xt=(()=>{class rn{constructor(Je,De){this._platform=De,this._document=Je}ngOnDestroy(){var Je;null===(Je=this._containerElement)||void 0===Je||Je.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Je="cdk-overlay-container";if(this._platform.isBrowser||(0,d.Oy)()){const at=this._document.querySelectorAll(`.${Je}[platform="server"], .${Je}[platform="test"]`);for(let Ve=0;Ve<at.length;Ve++)at[Ve].remove()}const De=this._document.createElement("div");De.classList.add(Je),(0,d.Oy)()?De.setAttribute("platform","test"):this._platform.isBrowser||De.setAttribute("platform","server"),this._document.body.appendChild(De),this._containerElement=De}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.LFG(s.K0),e.LFG(d.t4))},rn.\u0275prov=e.Yz7({token:rn,factory:rn.\u0275fac,providedIn:"root"}),rn})();const At="cdk-overlay-connected-position-bounding-box",Qt=/([A-Za-z%]+)$/;
1class Vt{constructor(Ue,Je,De,at,Ve){this._viewportRuler=Je,this._document=De,this._platform=at,this._overlayContainer=Ve,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new T.x,this._resizeSubscription=S.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Ue)}get positions(){return this._preferredPositions}attach(Ue){this._validatePositions(),Ue.hostElement.classList.add(At),this._overlayRef=Ue,this._boundingBox=Ue.hostElement,this._pane=Ue.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ue=this._originRect,Je=this._overlayRect,De=this._viewportRect,at=this._containerRect,Ve=[];let ge;for(let et of this._preferredPositions){let _t=this._getOriginPoint(Ue,at,et),jt=this._getOverlayPoint(_t,Je,et),Xt=this._getOverlayFit(jt,Je,De,et);if(Xt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(et,_t);this._canFitWithFlexibleDimensions(Xt,jt,De)?Ve.push({position:et,origin:_t,overlayRect:Je,boundingBoxRect:this._calculateBoundingBoxRect(_t,et)}):(!ge||ge.overlayFit.visibleArea<Xt.visibleArea)&&(ge={overlayFit:Xt,overlayPoint:jt,originPoint:_t,position:et,overlayRect:Je})}if(Ve.length){let et=null,_t=-1;for(const jt of Ve){const Xt=jt.boundingBoxRect.width*jt.boundingBoxRect.height*(jt.position.weight||1);Xt>_t&&(_t=Xt,et=jt)}return this._isPushed=!1,void this._applyPosition(et.position,et.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ge.position,ge.originPoint);this._applyPosition(ge.position,ge.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&dt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(At),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Ue=this._lastPosition;if(Ue){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Je=this._getOriginPoint(this._originRect,this._containerRect,Ue);this._applyPosition(Ue,Je)}else this.apply()}withScrollableContainers(Ue){return this._scrollables=Ue,this}withPositions(Ue){return this._preferredPositions=Ue,-1===Ue.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Ue){return this._viewportMargin=Ue,this}withFlexibleDimensions(Ue=!0){return this._hasFlexibleDimensions=Ue,this}withGrowAfterOpen(Ue=!0){return this._growAfterOpen=Ue,this}withPush(Ue=!0){return this._canPush=Ue,this}withLockedPosition(Ue=!0){return this._positionLocked=Ue,this}setOrigin(Ue){return this._origin=Ue,this}withDefaultOffsetX(Ue){return this._offsetX=Ue,this}withDefaultOffsetY(Ue){return this._offsetY=Ue,this}withTransformOriginOn(Ue){return this._transformOriginSelector=Ue,this}_getOriginPoint(Ue,Je,De){let at,Ve;if("center"==De.originX)at=Ue.left+Ue.width/2;else{const ge=this._isRtl()?Ue.right:Ue.left,et=this._isRtl()?Ue.left:Ue.right;at="start"==De.originX?ge:et}return Je.left<0&&(at-=Je.left),Ve="center"==De.originY?Ue.top+Ue.height/2:"top"==De.originY?Ue.top:Ue.bottom,Je.top<0&&(Ve-=Je.top),{x:at,y:Ve}}_getOverlayPoint(Ue,Je,De){let at,Ve;return at="center"==De.overlayX?-Je.width/2:"start"===De.overlayX?this._isRtl()?-Je.width:0:this._isRtl()?0:-Je.width,Ve="center"==De.overlayY?-Je.height/2:"top"==De.overlayY?0:-Je.height,{x:Ue.x+at,y:Ue.y+Ve}}_getOverlayFit(Ue,Je,De,at){const Ve=we(Je);let{x:ge,y:et}=Ue,_t=this._getOffset(at,"x"),jt=this._getOffset(at,"y");_t&&(ge+=_t),jt&&(et+=jt);let Hn=0-et,Kn=et+Ve.height-De.height,Bn=this._subtractOverflows(Ve.width,0-ge,ge+Ve.width-De.width),di=this._subtractOverflows(Ve.height,Hn,Kn),ui=Bn*di;return{visibleArea:ui,isCompletelyWithinViewport:Ve.width*Ve.height===ui,fitsInViewportVertically:di===Ve.height,fitsInViewportHorizontally:Bn==Ve.width}}_canFitWithFlexibleDimensions(Ue,Je,De){if(this._hasFlexibleDimensions){const at=De.bottom-Je.y,Ve=De.right-Je.x,ge=Mt(this._overlayRef.getConfig().minHeight),et=Mt(this._overlayRef.getConfig().minWidth),jt=Ue.fitsInViewportHorizontally||null!=et&&et<=Ve;return(Ue.fitsInViewportVertically||null!=ge&&ge<=at)&&jt}return!1}_pushOverlayOnScreen(Ue,Je,De){if(this._previousPushAmount&&this._positionLocked)return{x:Ue.x+this._previousPushAmount.x,y:Ue.y+this._previousPushAmount.y};const at=we(Je),Ve=this._viewportRect,ge=Math.max(Ue.x+at.width-Ve.width,0),et=Math.max(Ue.
1y+at.height-Ve.height,0),_t=Math.max(Ve.top-De.top-Ue.y,0),jt=Math.max(Ve.left-De.left-Ue.x,0);let Xt=0,Cn=0;return Xt=at.width<=Ve.width?jt||-ge:Ue.x<this._viewportMargin?Ve.left-De.left-Ue.x:0,Cn=at.height<=Ve.height?_t||-et:Ue.y<this._viewportMargin?Ve.top-De.top-Ue.y:0,this._previousPushAmount={x:Xt,y:Cn},{x:Ue.x+Xt,y:Ue.y+Cn}}_applyPosition(Ue,Je){if(this._setTransformOrigin(Ue),this._setOverlayElementStyles(Je,Ue),this._setBoundingBoxStyles(Je,Ue),Ue.panelClass&&this._addPanelClasses(Ue.panelClass),this._lastPosition=Ue,this._positionChanges.observers.length){const De=this._getScrollVisibility(),at=new Se(Ue,De);this._positionChanges.next(at)}this._isInitialRender=!1}_setTransformOrigin(Ue){if(!this._transformOriginSelector)return;const Je=this._boundingBox.querySelectorAll(this._transformOriginSelector);let De,at=Ue.overlayY;De="center"===Ue.overlayX?"center":this._isRtl()?"start"===Ue.overlayX?"right":"left":"start"===Ue.overlayX?"left":"right";for(let Ve=0;Ve<Je.length;Ve++)Je[Ve].style.transformOrigin=`${De} ${at}`}_calculateBoundingBoxRect(Ue,Je){const De=this._viewportRect,at=this._isRtl();let Ve,ge,et,Xt,Cn,Hn;if("top"===Je.overlayY)ge=Ue.y,Ve=De.height-ge+this._viewportMargin;else if("bottom"===Je.overlayY)et=De.height-Ue.y+2*this._viewportMargin,Ve=De.height-et+this._viewportMargin;else{const Kn=Math.min(De.bottom-Ue.y+De.top,Ue.y),Bn=this._lastBoundingBoxSize.height;Ve=2*Kn,ge=Ue.y-Kn,Ve>Bn&&!this._isInitialRender&&!this._growAfterOpen&&(ge=Ue.y-Bn/2)}if("end"===Je.overlayX&&!at||"start"===Je.overlayX&&at)Hn=De.width-Ue.x+this._viewportMargin,Xt=Ue.x-this._viewportMargin;else if("start"===Je.overlayX&&!at||"end"===Je.overlayX&&at)Cn=Ue.x,Xt=De.right-Ue.x;else{const Kn=Math.min(De.right-Ue.x+De.left,Ue.x),Bn=this._lastBoundingBoxSize.width;Xt=2*Kn,Cn=Ue.x-Kn,Xt>Bn&&!this._isInitialRender&&!this._growAfterOpen&&(Cn=Ue.x-Bn/2)}return{top:ge,left:Cn,bottom:et,right:Hn,width:Xt,height:Ve}}_setBoundingBoxStyles(Ue,Je){const De=this._calculateBoundingBoxRect(Ue,Je);!this._isInitialRender&&!this._growAfterOpen&&(De.height=Math.min(De.height,this._lastBoundingBoxSize.height),De.width=Math.min(De.width,this._lastBoundingBoxSize.width));const at={};if(this._hasExactPosition())at.top=at.left="0",at.bottom=at.right=at.maxHeight=at.maxWidth="",at.width=at.height="100%";else{const Ve=this._overlayRef.getConfig().maxHeight,ge=this._overlayRef.getConfig().maxWidth;at.height=(0,l.HM)(De.height),at.top=(0,l.HM)(De.top),at.bottom=(0,l.HM)(De.bottom),at.width=(0,l.HM)(De.width),at.left=(0,l.HM)(De.left),at.right=(0,l.HM)(De.right),at.alignItems="center"===Je.overlayX?"center":"end"===Je.overlayX?"flex-end":"flex-start",at.justifyContent="center"===Je.overlayY?"center":"bottom"===Je.overlayY?"flex-end":"flex-start",Ve&&(at.maxHeight=(0,l.HM)(Ve)),ge&&(at.maxWidth=(0,l.HM)(ge))}this._lastBoundingBoxSize=De,dt(this._boundingBox.style,at)}_resetBoundingBoxStyles(){dt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){dt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Ue,Je){const De={},at=this._hasExactPosition(),Ve=this._hasFlexibleDimensions,ge=this._overlayRef.getConfig();if(at){const Xt=this._viewportRuler.getViewportScrollPosition();dt(De,this._getExactOverlayY(Je,Ue,Xt)),dt(De,this._getExactOverlayX(Je,Ue,Xt))}else De.position="static";let et="",_t=this._getOffset(Je,"x"),jt=this._getOffset(Je,"y");_t&&(et+=`translateX(${_t}px) `),jt&&(et+=`translateY(${jt}px)`),De.transform=et.trim(),ge.maxHeight&&(at?De.maxHeight=(0,l.HM)(ge.maxHeight):Ve&&(De.maxHeight="")),ge.maxWidth&&(at?De.maxWidth=(0,l.HM)(ge.maxWidth):Ve&&(De.maxWidth="")),dt(this._pane.style,De)}_getExactOverlayY(Ue,Je,De){let at={top:"",bottom:""},Ve=this._getOverlayPoint(Je,this._overlayRect,Ue);return this._isPushed&&(Ve=this._pushOverlayOnScreen(Ve,this._overlayRect,De)),"bottom"===Ue.overlayY?at.bottom=this._document.documentElement.clientHeight-(Ve.y+this._overlayRect.height)+"px":at.top=(0,l.HM)(Ve.y),at}_getExactOverlayX(Ue,Je,De){let ge,at={left:"",right:""},Ve=this._getOverlayPoint(Je,this._overlayRect,Ue);return this._isPushed&&(Ve=this._pushOverlayOnScreen(Ve,this._overlayRect,De)),ge=this._isRtl()?"end"===Ue.overlayX?"left":"right":"end"===Ue.overlayX?"right":"left","right"===ge?at.right=this._document.documentElement.clientWidth-(Ve.x+this._overlayRect.width)+"px":at.left=(0,l.HM)(Ve.x),at}_getScrollVisibility(){const Ue=this._getOriginRect(),Je=this._pane.getBoundingClientRect(),De=this._scrollables.map(at=>at.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:X(Ue,De),isOriginOutsideView:ee(Ue,De),isOverlayClipped:X(Je,De),isOverlayOutsideView:ee(Je,De)}}_subtractOverflows(Ue,...Je){return Je.reduce((De,at)=>De-Math.max(at,0),Ue)}_getNarrowedViewportRect(){const Ue=this._document.documentElement.clientWidth,Je=this._document.documentElement.clientHeight,De=this._viewportRuler.getViewportScrollPosition();return{top:De.top+this._viewportMargin,left:De.left+this._viewportMargin,right:De.left+Ue-this._viewportMargin,bottom:De.top+Je-this._viewportMargin,width:Ue-2*this._viewportMargin,height:Je-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Ue,Je){return"x"===Je?null==Ue.offsetX?this._offsetX:Ue.offsetX:null==Ue.offsetY?this._offsetY:Ue.offsetY}_validatePositions(){}_addPanelClasses(Ue){this._pane&&(0,l.Eq)(Ue).forEach(Je=>{""!==Je&&-1===this._appliedPanelClasses.indexOf(Je)&&(this._appliedPanelClasses.push(Je),this._pane.classList.add(Je))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1h(Ue=>{this._pane.classList.remove(Ue)}),this._appliedPanelClasses=[])}_getOriginRect(){const Ue=this._origin;if(Ue instanceof e.SBq)return Ue.nativeElement.getBoundingClientRect();if(Ue instanceof Element)return Ue.getBoundingClientRect();const Je=Ue.width||0,De=Ue.height||0;return{top:Ue.y,bottom:Ue.y+De,left:Ue.x,right:Ue.x+Je,height:De,width:Je}}}function dt(rn,Ue){for(let Je in Ue)Ue.hasOwnProperty(Je)&&(rn[Je]=Ue[Je]);return rn}function Mt(rn){if("number"!=typeof rn&&null!=rn){const[Ue,Je]=rn.split(Qt);return Je&&"px"!==Je?null:parseFloat(Ue)}return rn||null}function we(rn){return{top:Math.floor(rn.top),right:Math.floor(rn.right),bottom:Math.floor(rn.bottom),left:Math.floor(rn.left),width:Math.floor(rn.width),height:Math.floor(rn.height)}}const me="cdk-global-overlay-wrapper";class We{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(Ue){const Je=Ue.getConfig();this._overlayRef=Ue,this._width&&!Je.width&&Ue.updateSize({width:this._width}),this._height&&!Je.height&&Ue.updateSize({height:this._height}),Ue.hostElement.classList.add(me),this._isDisposed=!1}top(Ue=""){return this._bottomOffset="",this._topOffset=Ue,this._alignItems="flex-start",this}left(Ue=""){return this._rightOffset="",this._leftOffset=Ue,this._justifyContent="flex-start",this}bottom(Ue=""){return this._topOffset="",this._bottomOffset=Ue,this._alignItems="flex-end",this}right(Ue=""){return this._leftOffset="",this._rightOffset=Ue,this._justifyContent="flex-end",this}width(Ue=""){return this._overlayRef?this._overlayRef.updateSize({width:Ue}):this._width=Ue,this}height(Ue=""){return this._overlayRef?this._overlayRef.updateSize({height:Ue}):this._height=Ue,this}centerHorizontally(Ue=""){return this.left(Ue),this._justifyContent="center",this}centerVertically(Ue=""){return this.top(Ue),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Ue=this._overlayRef.overlayElement.style,Je=this._overlayRef.hostElement.style,De=this._overlayRef.getConfig(),{width:at,height:Ve,maxWidth:ge,maxHeight:et}=De,_t=!("100%"!==at&&"100vw"!==at||ge&&"100%"!==ge&&"100vw"!==ge),jt=!("100%"!==Ve&&"100vh"!==Ve||et&&"100%"!==et&&"100vh"!==et);Ue.position=this._cssPosition,Ue.marginLeft=_t?"0":this._leftOffset,Ue.marginTop=jt?"0":this._topOffset,Ue.marginBottom=this._bottomOffset,Ue.marginRight=this._rightOffset,_t?Je.justifyContent="flex-start":"center"===this._justifyContent?Je.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?Je.justifyContent="flex-end":"flex-end"===this._justifyContent&&(Je.justifyContent="flex-start"):Je.justifyContent=this._justifyContent,Je.alignItems=jt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Ue=this._overlayRef.overlayElement.style,Je=this._overlayRef.hostElement,De=Je.style;Je.classList.remove(me),De.justifyContent=De.alignItems=Ue.marginTop=Ue.marginBottom=Ue.marginLeft=Ue.marginRight=Ue.position="",this._overlayRef=null,this._isDisposed=!0}}let re=(()=>{class rn{constructor(Je,De,at,Ve){this._viewportRuler=Je,this._document=De,this._platform=at,this._overlayContainer=Ve}global(){return new We}flexibleConnectedTo(Je){return new Vt(Je,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.LFG(i.rL),e.LFG(s.K0),e.LFG(d.t4),e.LFG(xt))},rn.\u0275prov=e.Yz7({token:rn,factory:rn.\u0275fac,providedIn:"root"}),rn})(),ft=(()=>{class rn{constructor(Je){this._attachedOverlays=[],this._document=Je}ngOnDestroy(){this.detach()}add(Je){this.remove(Je),this._attachedOverlays.push(Je)}remove(Je){const De=this._attachedOverlays.indexOf(Je);De>-1&&this._attachedOverlays.splice(De,1),0===this._attachedOverlays.length&&this.detach()}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.LFG(s.K0))},rn.\u0275prov=e.Yz7({token:rn,factory:rn.\u0275fac,providedIn:"root"}),rn})(),Ot=(()=>{class rn extends ft{constructor(Je,De){super(Je),this._ngZone=De,this._key
1downListener=at=>{const Ve=this._attachedOverlays;for(let ge=Ve.length-1;ge>-1;ge--)if(Ve[ge]._keydownEvents.observers.length>0){const et=Ve[ge]._keydownEvents;this._ngZone?this._ngZone.run(()=>et.next(at)):et.next(at);break}}}add(Je){super.add(Je),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.LFG(s.K0),e.LFG(e.R0b,8))},rn.\u0275prov=e.Yz7({token:rn,factory:rn.\u0275fac,providedIn:"root"}),rn})(),Et=(()=>{class rn extends ft{constructor(Je,De,at){super(Je),this._platform=De,this._ngZone=at,this._cursorStyleIsSet=!1,this._pointerDownListener=Ve=>{this._pointerDownEventTarget=(0,d.sA)(Ve)},this._clickListener=Ve=>{const ge=(0,d.sA)(Ve),et="click"===Ve.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ge;this._pointerDownEventTarget=null;const _t=this._attachedOverlays.slice();for(let jt=_t.length-1;jt>-1;jt--){const Xt=_t[jt];if(Xt._outsidePointerEvents.observers.length<1||!Xt.hasAttached())continue;if(Xt.overlayElement.contains(ge)||Xt.overlayElement.contains(et))break;const Cn=Xt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Cn.next(Ve)):Cn.next(Ve)}}}add(Je){if(super.add(Je),!this._isAttached){const De=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(De)):this._addEventListeners(De),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=De.style.cursor,De.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Je=this._document.body;Je.removeEventListener("pointerdown",this._pointerDownListener,!0),Je.removeEventListener("click",this._clickListener,!0),Je.removeEventListener("auxclick",this._clickListener,!0),Je.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Je.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Je){Je.addEventListener("pointerdown",this._pointerDownListener,!0),Je.addEventListener("click",this._clickListener,!0),Je.addEventListener("auxclick",this._clickListener,!0),Je.addEventListener("contextmenu",this._clickListener,!0)}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.LFG(s.K0),e.LFG(d.t4),e.LFG(e.R0b,8))},rn.\u0275prov=e.Yz7({token:rn,factory:rn.\u0275fac,providedIn:"root"}),rn})(),Lt=0,It=(()=>{class rn{constructor(Je,De,at,Ve,ge,et,_t,jt,Xt,Cn,Hn){this.scrollStrategies=Je,this._overlayContainer=De,this._componentFactoryResolver=at,this._positionBuilder=Ve,this._keyboardDispatcher=ge,this._injector=et,this._ngZone=_t,this._document=jt,this._directionality=Xt,this._location=Cn,this._outsideClickDispatcher=Hn}create(Je){const De=this._createHostElement(),at=this._createPaneElement(De),Ve=this._createPortalOutlet(at),ge=new ne(Je);return ge.direction=ge.direction||this._directionality.value,new nt(Ve,De,at,ge,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(Je){const De=this._document.createElement("div");return De.id="cdk-overlay-"+Lt++,De.classList.add("cdk-overlay-pane"),Je.appendChild(De),De}_createHostElement(){const Je=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Je),Je}_createPortalOutlet(Je){return this._appRef||(this._appRef=this._injector.get(e.z2F)),new C.u0(Je,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.LFG(_e),e.LFG(xt),e.LFG(e._Vd),e.LFG(re),e.LFG(Ot),e.LFG(e.zs3),e.LFG(e.R0b),e.LFG(s.K0),e.LFG(A.Is),e.LFG(s.Ye),e.LFG(Et))},rn.\u0275prov=e.Yz7({token:rn,factory:rn.\u0275fac}),rn})();const it=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}
1],wt=new e.OlP("cdk-connected-overlay-scroll-strategy");let le=(()=>{class rn{constructor(Je){this.elementRef=Je}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.Y36(e.SBq))},rn.\u0275dir=e.lG2({type:rn,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),rn})(),Ne=(()=>{class rn{constructor(Je,De,at,Ve,ge){this._overlay=Je,this._dir=ge,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=S.w0.EMPTY,this._attachSubscription=S.w0.EMPTY,this._detachSubscription=S.w0.EMPTY,this._positionSubscription=S.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new e.vpe,this.positionChange=new e.vpe,this.attach=new e.vpe,this.detach=new e.vpe,this.overlayKeydown=new e.vpe,this.overlayOutsideClick=new e.vpe,this._templatePortal=new C.UE(De,at),this._scrollStrategyFactory=Ve,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(Je){this._offsetX=Je,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Je){this._offsetY=Je,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Je){this._hasBackdrop=(0,l.Ig)(Je)}get lockPosition(){return this._lockPosition}set lockPosition(Je){this._lockPosition=(0,l.Ig)(Je)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(Je){this._flexibleDimensions=(0,l.Ig)(Je)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(Je){this._growAfterOpen=(0,l.Ig)(Je)}get push(){return this._push}set push(Je){this._push=(0,l.Ig)(Je)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(Je){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Je.origin&&this.open&&this._position.apply()),Je.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=it);const Je=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Je.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Je.detachments().subscribe(()=>this.detach.emit()),Je.keydownEvents().subscribe(De=>{this.overlayKeydown.next(De),De.keyCode===h.hY&&!this.disableClose&&!(0,h.Vb)(De)&&(De.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(De=>{this.overlayOutsideClick.next(De)})}_buildConfig(){const Je=this._position=this.positionStrategy||this._createPositionStrategy(),De=new ne({direction:this._dir,positionStrategy:Je,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(De.width=this.width),(this.height||0===this.height)&&(De.height=this.height),(this.minWidth||0===this.minWidth)&&(De.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(De.minHeight=this.minHeight),this.backdropClass&&(De.backdropClass=this.backdropClass),this.panelClass&&(De.panelClass=this.panelClass),De}_updatePositionStrategy(Je){const De=this.positions.map(at=>({originX:at.originX,originY:at.originY,overlayX:at.overlayX,overlayY:at.overlayY,offsetX:at.offsetX||this.offsetX,offsetY:at.offsetY||this.offsetY,panelClass:at.panelClass||void 0}));return Je.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(De).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Je=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Je),Je}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin 
1instanceof le?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Je=>{this.backdropClick.emit(Je)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,k.o)(()=>this.positionChange.observers.length>0)).subscribe(Je=>{this.positionChange.emit(Je),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return rn.\u0275fac=function(Je){return new(Je||rn)(e.Y36(It),e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(wt),e.Y36(A.Is,8))},rn.\u0275dir=e.lG2({type:rn,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[e.TTD]}),rn})();const pn={provide:wt,deps:[It],useFactory:function Ut(rn){return()=>rn.scrollStrategies.reposition()}};let Dn=(()=>{class rn{}return rn.\u0275fac=function(Je){return new(Je||rn)},rn.\u0275mod=e.oAB({type:rn}),rn.\u0275inj=e.cJS({providers:[It,pn],imports:[[A.vT,C.eL,i.Cl],i.Cl]}),rn})()},925:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Mq:()=>h,Oy:()=>X,_i:()=>O,ht:()=>v,i$:()=>q,kV:()=>Z,qK:()=>T,sA:()=>ee,t4:()=>l});var i=m(5e3),s=m(60);let e;try{e="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(te){e=!1}let A,l=(()=>{class te{constructor(ne){this._platformId=ne,this.isBrowser=this._platformId?(0,s.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!e)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return te.\u0275fac=function(ne){return new(ne||te)(i.LFG(i.Lbi))},te.\u0275prov=i.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();const C=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","t
1ime","url","week"];function T(){if(A)return A;if("object"!=typeof document||!document)return A=new Set(C),A;let te=document.createElement("input");return A=new Set(C.filter(_e=>(te.setAttribute("type",_e),te.type===_e))),A}let S,w,k,E;function q(te){return function R(){if(null==S&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>S=!0}))}finally{S=S||!1}return S}()?te:!!te.capture}function h(){if(null==k){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return k=!1,k;if("scrollBehavior"in document.documentElement.style)k=!0;else{const te=Element.prototype.scrollTo;k=!!te&&!/\{\s*\[native code\]\s*\}/.test(te.toString())}}return k}function O(){if("object"!=typeof document||!document)return 0;if(null==w){const te=document.createElement("div"),_e=te.style;te.dir="rtl",_e.width="1px",_e.overflow="auto",_e.visibility="hidden",_e.pointerEvents="none",_e.position="absolute";const ne=document.createElement("div"),oe=ne.style;oe.width="2px",oe.height="1px",te.appendChild(ne),document.body.appendChild(te),w=0,0===te.scrollLeft&&(te.scrollLeft=1,w=0===te.scrollLeft?1:2),te.remove()}return w}function Z(te){if(function c(){if(null==E){const te="undefined"!=typeof document?document.head:null;E=!(!te||!te.createShadowRoot&&!te.attachShadow)}return E}()){const _e=te.getRootNode?te.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&_e instanceof ShadowRoot)return _e}return null}function v(){let te="undefined"!=typeof document&&document?document.activeElement:null;for(;te&&te.shadowRoot;){const _e=te.shadowRoot.activeElement;if(_e===te)break;te=_e}return te}function ee(te){return te.composedPath?te.composedPath()[0]:te.target}function X(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(Yt,Ze,m)=>{"use strict";m.d(Ze,{C5:()=>R,Pl:()=>v,UE:()=>q,eL:()=>X,en:()=>k,ig:()=>c,u0:()=>O});var i=m(5e3),s=m(60);class S{attach(ne){return this._attachedHost=ne,ne.attach(this)}detach(){let ne=this._attachedHost;null!=ne&&(this._attachedHost=null,ne.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ne){this._attachedHost=ne}}class R extends S{constructor(ne,oe,he,Se){super(),this.component=ne,this.viewContainerRef=oe,this.injector=he,this.componentFactoryResolver=Se}}class q extends S{constructor(ne,oe,he){super(),this.templateRef=ne,this.viewContainerRef=oe,this.context=he}get origin(){return this.templateRef.elementRef}attach(ne,oe=this.context){return this.context=oe,super.attach(ne)}detach(){return this.context=void 0,super.detach()}}class w extends S{constructor(ne){super(),this.element=ne instanceof i.SBq?ne.nativeElement:ne}}class k{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ne){return ne instanceof R?(this._attachedPortal=ne,this.attachComponentPortal(ne)):ne instanceof q?(this._attachedPortal=ne,this.attachTemplatePortal(ne)):this.attachDomPortal&&ne instanceof w?(this._attachedPortal=ne,this.attachDomPortal(ne)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ne){this._disposeFn=ne}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class O extends k{constructor(ne,oe,he,Se,Be){super(),this.outletElement=ne,this._componentFactoryResolver=oe,this._appRef=he,this._defaultInjector=Se,this.attachDomPortal=ot=>{const nt=ot.element,xt=this._document.createComment("dom-portal");nt.parentNode.insertBefore(xt,nt),this.outletElement.appendChild(nt),this._attachedPortal=ot,super.setDisposeFn(()=>{xt.parentNode&&xt.parentNode.replaceChild(nt,xt)})},this._document=Be}attachComponentPortal(ne){const he=(ne.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ne.component);let Se;return ne.viewContainerRef?(Se=ne.viewContainerRef.createComponent(he,ne.viewContainerRef.length,ne.injector||ne.viewContainerRef.injector),this.setDisposeFn(()=>Se.destroy())):(Se=he.create(ne.injector||this._defaultInjector||i.zs3.NULL),this._appRef.attachView(Se.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Se.hostView),Se.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Se)),this._attachedPortal=ne,Se}attachTemplatePortal(ne){let oe=ne.viewContainerRef,he=oe.createEmbeddedView(ne.templateRef,ne.context);
1return he.rootNodes.forEach(Se=>this.outletElement.appendChild(Se)),he.detectChanges(),this.setDisposeFn(()=>{let Se=oe.indexOf(he);-1!==Se&&oe.remove(Se)}),this._attachedPortal=ne,he}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ne){return ne.hostView.rootNodes[0]}}let c=(()=>{class _e extends q{constructor(oe,he){super(oe,he)}}return _e.\u0275fac=function(oe){return new(oe||_e)(i.Y36(i.Rgc),i.Y36(i.s_b))},_e.\u0275dir=i.lG2({type:_e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.qOj]}),_e})(),v=(()=>{class _e extends k{constructor(oe,he,Se){super(),this._componentFactoryResolver=oe,this._viewContainerRef=he,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=Be=>{const ot=Be.element,nt=this._document.createComment("dom-portal");Be.setAttachedHost(this),ot.parentNode.insertBefore(nt,ot),this._getRootNode().appendChild(ot),this._attachedPortal=Be,super.setDisposeFn(()=>{nt.parentNode&&nt.parentNode.replaceChild(ot,nt)})},this._document=Se}get portal(){return this._attachedPortal}set portal(oe){this.hasAttached()&&!oe&&!this._isInitialized||(this.hasAttached()&&super.detach(),oe&&super.attach(oe),this._attachedPortal=oe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(oe){oe.setAttachedHost(this);const he=null!=oe.viewContainerRef?oe.viewContainerRef:this._viewContainerRef,Be=(oe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(oe.component),ot=he.createComponent(Be,he.length,oe.injector||he.injector);return he!==this._viewContainerRef&&this._getRootNode().appendChild(ot.hostView.rootNodes[0]),super.setDisposeFn(()=>ot.destroy()),this._attachedPortal=oe,this._attachedRef=ot,this.attached.emit(ot),ot}attachTemplatePortal(oe){oe.setAttachedHost(this);const he=this._viewContainerRef.createEmbeddedView(oe.templateRef,oe.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=oe,this._attachedRef=he,this.attached.emit(he),he}_getRootNode(){const oe=this._viewContainerRef.element.nativeElement;return oe.nodeType===oe.ELEMENT_NODE?oe:oe.parentNode}}return _e.\u0275fac=function(oe){return new(oe||_e)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(s.K0))},_e.\u0275dir=i.lG2({type:_e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),_e})(),X=(()=>{class _e{}return _e.\u0275fac=function(oe){return new(oe||_e)},_e.\u0275mod=i.oAB({type:_e}),_e.\u0275inj=i.cJS({}),_e})()},2411:(Yt,Ze,m)=>{"use strict";m.d(Ze,{PQ:()=>we,ZD:()=>It,mF:()=>Mt,Cl:()=>it,rL:()=>We});var i=m(3191),s=m(5e3),e=m(7579),l=m(9646),d=m(9751),A=m(4968),T=(m(6406),m(4408));let R,S=1;const q={};function w(wt){return wt in q&&(delete q[wt],!0)}const k={setImmediate(wt){const le=S++;return q[le]=!0,R||(R=Promise.resolve()),R.then(()=>w(le)&&wt()),le},clearImmediate(wt){w(wt)}},{setImmediate:O,clearImmediate:E}=k,c={setImmediate(...wt){const{delegate:le}=c;return((null==le?void 0:le.setImmediate)||O)(...wt)},clearImmediate(wt){const{delegate:le}=c;return((null==le?void 0:le.clearImmediate)||E)(wt)},delegate:void 0};var v=m(7565);new class ee extends v.v{flush(le){this._active=!0,this._scheduled=void 0;const{actions:Ne}=this;let Ut,pn=-1;le=le||Ne.shift();const Dn=Ne.length;do{if(Ut=le.execute(le.state,le.delay))break}while(++pn<Dn&&(le=Ne.shift()));if(this._active=!1,Ut){for(;++pn<Dn&&(le=Ne.shift());)le.unsubscribe();throw Ut}}}(class Z extends T.o{constructor(le,Ne){super(le,Ne),this.scheduler=le,this.work=Ne}requestAsyncId(le,Ne,Ut=0){return null!==Ut&&Ut>0?super.requestAsyncId(le,Ne,Ut):(le.actions.push(this),le._scheduled||(le._scheduled=c.setImmediate(le.flush.bind(le,void 0))))}recycleAsyncId(le,Ne,Ut=0){if(null!=Ut&&Ut>0||null==Ut&&this.delay>0)return super.recycleAsyncId(le,Ne,Ut);0===le.actions.length&&(c.clearImmediate(Ne),le._scheduled=void 0)}});var _e=m(3601),ne=m(9300),oe=m(2722),he=m(60),Se=m(925),Be=m(226);let Mt=(()=>
1{class wt{constructor(Ne,Ut,pn){this._ngZone=Ne,this._platform=Ut,this._scrolled=new e.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=pn}register(Ne){this.scrollContainers.has(Ne)||this.scrollContainers.set(Ne,Ne.elementScrolled().subscribe(()=>this._scrolled.next(Ne)))}deregister(Ne){const Ut=this.scrollContainers.get(Ne);Ut&&(Ut.unsubscribe(),this.scrollContainers.delete(Ne))}scrolled(Ne=20){return this._platform.isBrowser?new d.y(Ut=>{this._globalSubscription||this._addGlobalListener();const pn=Ne>0?this._scrolled.pipe((0,_e.e)(Ne)).subscribe(Ut):this._scrolled.subscribe(Ut);return this._scrolledCount++,()=>{pn.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,l.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Ne,Ut)=>this.deregister(Ut)),this._scrolled.complete()}ancestorScrolled(Ne,Ut){const pn=this.getAncestorScrollContainers(Ne);return this.scrolled(Ut).pipe((0,ne.h)(Dn=>!Dn||pn.indexOf(Dn)>-1))}getAncestorScrollContainers(Ne){const Ut=[];return this.scrollContainers.forEach((pn,Dn)=>{this._scrollableContainsElement(Dn,Ne)&&Ut.push(Dn)}),Ut}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Ne,Ut){let pn=(0,i.fI)(Ut),Dn=Ne.getElementRef().nativeElement;do{if(pn==Dn)return!0}while(pn=pn.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Ne=this._getWindow();return(0,A.R)(Ne.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return wt.\u0275fac=function(Ne){return new(Ne||wt)(s.LFG(s.R0b),s.LFG(Se.t4),s.LFG(he.K0,8))},wt.\u0275prov=s.Yz7({token:wt,factory:wt.\u0275fac,providedIn:"root"}),wt})(),we=(()=>{class wt{constructor(Ne,Ut,pn,Dn){this.elementRef=Ne,this.scrollDispatcher=Ut,this.ngZone=pn,this.dir=Dn,this._destroyed=new e.x,this._elementScrolled=new d.y(Mn=>this.ngZone.runOutsideAngular(()=>(0,A.R)(this.elementRef.nativeElement,"scroll").pipe((0,oe.R)(this._destroyed)).subscribe(Mn)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Ne){const Ut=this.elementRef.nativeElement,pn=this.dir&&"rtl"==this.dir.value;null==Ne.left&&(Ne.left=pn?Ne.end:Ne.start),null==Ne.right&&(Ne.right=pn?Ne.start:Ne.end),null!=Ne.bottom&&(Ne.top=Ut.scrollHeight-Ut.clientHeight-Ne.bottom),pn&&0!=(0,Se._i)()?(null!=Ne.left&&(Ne.right=Ut.scrollWidth-Ut.clientWidth-Ne.left),2==(0,Se._i)()?Ne.left=Ne.right:1==(0,Se._i)()&&(Ne.left=Ne.right?-Ne.right:Ne.right)):null!=Ne.right&&(Ne.left=Ut.scrollWidth-Ut.clientWidth-Ne.right),this._applyScrollToOptions(Ne)}_applyScrollToOptions(Ne){const Ut=this.elementRef.nativeElement;(0,Se.Mq)()?Ut.scrollTo(Ne):(null!=Ne.top&&(Ut.scrollTop=Ne.top),null!=Ne.left&&(Ut.scrollLeft=Ne.left))}measureScrollOffset(Ne){const Ut="left",Dn=this.elementRef.nativeElement;if("top"==Ne)return Dn.scrollTop;if("bottom"==Ne)return Dn.scrollHeight-Dn.clientHeight-Dn.scrollTop;const Mn=this.dir&&"rtl"==this.dir.value;return"start"==Ne?Ne=Mn?"right":Ut:"end"==Ne&&(Ne=Mn?Ut:"right"),Mn&&2==(0,Se._i)()?Ne==Ut?Dn.scrollWidth-Dn.clientWidth-Dn.scrollLeft:Dn.scrollLeft:Mn&&1==(0,Se._i)()?Ne==Ut?Dn.scrollLeft+Dn.scrollWidth-Dn.clientWidth:-Dn.scrollLeft:Ne==Ut?Dn.scrollLeft:Dn.scrollWidth-Dn.clientWidth-Dn.scrollLeft}}return wt.\u0275fac=function(Ne){return new(Ne||wt)(s.Y36(s.SBq),s.Y36(Mt),s.Y36(s.R0b),s.Y36(Be.Is,8))},wt.\u0275dir=s.lG2({type:wt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),wt})(),We=(()=>{class wt{constructor(Ne,Ut,pn){this._platform=Ne,this._change=new e.x,this._changeListener=Dn=>{this._change.next(Dn)},this._document=pn,Ut.runOutsideAngular(()=>{if(Ne.isBrowser){const Dn=this._getWindow();Dn.addEventListener("resize",this._changeListener),Dn.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Ne=this._getWindow();Ne.removeEventListener("resize",this._changeListener),Ne.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Ne={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Ne}getViewportRect(){const Ne=this.getViewportScrollPosition(),{width:Ut,height:pn}=this.getViewportSize();
1return{top:Ne.top,left:Ne.left,bottom:Ne.top+pn,right:Ne.left+Ut,height:pn,width:Ut}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Ne=this._document,Ut=this._getWindow(),pn=Ne.documentElement,Dn=pn.getBoundingClientRect();return{top:-Dn.top||Ne.body.scrollTop||Ut.scrollY||pn.scrollTop||0,left:-Dn.left||Ne.body.scrollLeft||Ut.scrollX||pn.scrollLeft||0}}change(Ne=20){return Ne>0?this._change.pipe((0,_e.e)(Ne)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Ne=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Ne.innerWidth,height:Ne.innerHeight}:{width:0,height:0}}}return wt.\u0275fac=function(Ne){return new(Ne||wt)(s.LFG(Se.t4),s.LFG(s.R0b),s.LFG(he.K0,8))},wt.\u0275prov=s.Yz7({token:wt,factory:wt.\u0275fac,providedIn:"root"}),wt})(),It=(()=>{class wt{}return wt.\u0275fac=function(Ne){return new(Ne||wt)},wt.\u0275mod=s.oAB({type:wt}),wt.\u0275inj=s.cJS({}),wt})(),it=(()=>{class wt{}return wt.\u0275fac=function(Ne){return new(Ne||wt)},wt.\u0275mod=s.oAB({type:wt}),wt.\u0275inj=s.cJS({imports:[[Be.vT,It],Be.vT,It]}),wt})()},4533:(Yt,Ze,m)=>{"use strict";m.d(Ze,{IC:()=>k,Ky:()=>h,Lq:()=>q});var i=m(925),s=m(5e3),e=m(3191),l=m(515),d=m(7579),A=m(4968),C=m(3601),T=m(2722),S=m(60);const R=(0,i.i$)({passive:!0});let q=(()=>{class O{constructor(c,Z){this._platform=c,this._ngZone=Z,this._monitoredElements=new Map}monitor(c){if(!this._platform.isBrowser)return l.E;const Z=(0,e.fI)(c),v=this._monitoredElements.get(Z);if(v)return v.subject;const ee=new d.x,X="cdk-text-field-autofilled",te=_e=>{"cdk-text-field-autofill-start"!==_e.animationName||Z.classList.contains(X)?"cdk-text-field-autofill-end"===_e.animationName&&Z.classList.contains(X)&&(Z.classList.remove(X),this._ngZone.run(()=>ee.next({target:_e.target,isAutofilled:!1}))):(Z.classList.add(X),this._ngZone.run(()=>ee.next({target:_e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Z.addEventListener("animationstart",te,R),Z.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Z,{subject:ee,unlisten:()=>{Z.removeEventListener("animationstart",te,R)}}),ee}stopMonitoring(c){const Z=(0,e.fI)(c),v=this._monitoredElements.get(Z);v&&(v.unlisten(),v.subject.complete(),Z.classList.remove("cdk-text-field-autofill-monitored"),Z.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Z))}ngOnDestroy(){this._monitoredElements.forEach((c,Z)=>this.stopMonitoring(Z))}}return O.\u0275fac=function(c){return new(c||O)(s.LFG(i.t4),s.LFG(s.R0b))},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),k=(()=>{class O{constructor(c,Z,v,ee){this._elementRef=c,this._platform=Z,this._ngZone=v,this._destroyed=new d.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=X=>{this._hasFocus="focus"===X.type},this._document=ee,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(c){this._minRows=(0,e.su)(c),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(c){this._maxRows=(0,e.su)(c),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(c){c=(0,e.Ig)(c),this._enabled!==c&&((this._enabled=c)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(c){this._cachedPlaceholderHeight=void 0,c?this._textareaElement.setAttribute("placeholder",c):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const c=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;c&&(this._textareaElement.style.minHeight=c)}_setMaxHeight(){const c=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;c&&(this._textareaElement.style.maxHeight=c)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const c=this._getWindow();(0,A.R)(c,"resize").pipe((0,C.e)(16),(0,T.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let c=this._textareaElement.cloneNode(!1);c.rows=1,c.style.position="absolute",c.style.visibility="hidden",c.style.border="none",c.style.padding="0",c.style.height="",c.style.minHeight="",c.style.maxHeight="",c.style.overflow="hidden",this._textareaElement.parentNode.appendChild(c),this._cachedLineHeight=c.
1clientHeight,c.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const c=this._textareaElement,Z=c.style.marginBottom||"",v=this._platform.FIREFOX,ee=v&&this._hasFocus,X=v?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";ee&&(c.style.marginBottom=`${c.clientHeight}px`),c.classList.add(X);const te=c.scrollHeight-4;return c.classList.remove(X),ee&&(c.style.marginBottom=Z),te}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const c=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=c}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(c=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const Z=this._elementRef.nativeElement,v=Z.value;if(!c&&this._minRows===this._previousMinRows&&v===this._previousValue)return;const ee=this._measureScrollHeight(),X=Math.max(ee,this._cachedPlaceholderHeight||0);Z.style.height=`${X}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(Z)):setTimeout(()=>this._scrollToCaretPosition(Z))}),this._previousValue=v,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(c){const{selectionStart:Z,selectionEnd:v}=c;!this._destroyed.isStopped&&this._hasFocus&&c.setSelectionRange(Z,v)}}return O.\u0275fac=function(c){return new(c||O)(s.Y36(s.SBq),s.Y36(i.t4),s.Y36(s.R0b),s.Y36(S.K0,8))},O.\u0275dir=s.lG2({type:O,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(c,Z){1&c&&s.NdJ("input",function(){return Z._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),O})(),h=(()=>{class O{}return O.\u0275fac=function(c){return new(c||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({}),O})()},8258:(Yt,Ze,m)=>{"use strict";m.d(Ze,{C2:()=>q,HI:()=>k,Hs:()=>_e,Ud:()=>ot,XJ:()=>Be,Xx:()=>he,_0:()=>te,cu:()=>h,nZ:()=>xt,rO:()=>E});var i=m(449),s=m(7579),e=m(1135),l=m(5191),d=m(9646),A=m(2722),C=m(5e3),T=m(3191),S=m(226);class q extends class R{constructor(){this.expansionModel=new i.Ov(!0)}toggle(Qt){this.expansionModel.toggle(this._trackByValue(Qt))}expand(Qt){this.expansionModel.select(this._trackByValue(Qt))}collapse(Qt){this.expansionModel.deselect(this._trackByValue(Qt))}isExpanded(Qt){return this.expansionModel.isSelected(this._trackByValue(Qt))}toggleDescendants(Qt){this.expansionModel.isSelected(this._trackByValue(Qt))?this.collapseDescendants(Qt):this.expandDescendants(Qt)}collapseAll(){this.expansionModel.clear()}expandDescendants(Qt){let Vt=[Qt];Vt.push(...this.getDescendants(Qt)),this.expansionModel.select(...Vt.map(dt=>this._trackByValue(dt)))}collapseDescendants(Qt){let Vt=[Qt];Vt.push(...this.getDescendants(Qt)),this.expansionModel.deselect(...Vt.map(dt=>this._trackByValue(dt)))}_trackByValue(Qt){return this.trackBy?this.trackBy(Qt):Qt}}{constructor(Qt,Vt,dt){super(),this.getLevel=Qt,this.isExpandable=Vt,this.options=dt,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(Qt){const dt=[];for(let Mt=this.dataNodes.indexOf(Qt)+1;Mt<this.dataNodes.length&&this.getLevel(Qt)<this.getLevel(this.dataNodes[Mt]);Mt++)dt.push(this.dataNodes[Mt]);return dt}expandAll(){this.expansionModel.select(...this.dataNodes.map(Qt=>this._trackByValue(Qt)))}}const k=new C.OlP("CDK_TREE_NODE_OUTLET_NODE");let h=(()=>{class At{constructor(Vt,dt){this.viewContainer=Vt,this._node=dt}}return At.\u0275fac=function(Vt){return new(Vt||At)(C.Y36(C.s_b),C.Y36(k,8))},At.\u0275dir=C.lG2({type:At,selectors:[["","cdkTreeNodeOutlet",""]]}),At})();class O{constructor(Qt){this.$implicit=Qt}}let E=(()=>{class At{constructor(Vt){this.template=Vt}}return At.\u0275fac=function(Vt){return new(Vt||At)(C.Y36(C.Rgc))},At.\u0275dir=C.lG2({type:At,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),At})(),te=(()=>{class At{constructor(Vt,dt){this._differs=Vt,this._changeDetectorRef=dt,this._onDestroy=new s.x,this._levels=new Map,this.viewChange=new e.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(Vt){this._dataSource!==Vt&&this._switchDataSource(Vt)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const Vt=this._nodeDefs.filter(dt=>!dt.when);this._defaultNodeDef=Vt[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(Vt){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),Vt||this._nodeOutlet.viewContainer.clear(),this._dataSource=Vt,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let Vt;(0,i.Z9)(this._dataSource)?Vt=this._dataSource.connect(this):(0,l.b)(this._dataSource)?Vt=this._dataSource:Array.isArray(this._dataSource)&&(Vt=(0,d.of)(this._dataSource)),Vt&&(this._dataSubscription=Vt.pipe((0,A.R)(this._onDestroy)).subscribe(dt=>this.renderNodeChanges(dt)))}renderNodeChanges(Vt,dt=this._dataDiffer,Mt=this._nodeOutlet.viewContainer,we){const me=dt.diff(Vt);!me||(me.forEachOperation((We,re,ft)=>{if(null==We.previousIndex)this.insertNode(Vt[ft],ft,Mt,we);else if(null==ft)Mt.remove(re),this._levels.delete(We.item);else{const Ot=Mt.get(re);Mt.move(Ot,ft)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(Vt,dt){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(we=>we.when&&we.when(dt,Vt))||this._defaultNodeDef}insertNode(Vt,dt,Mt,we){const me=this._getNodeDef(Vt,dt),We=new O(Vt);We.level=this.treeControl.getLevel?this.treeControl.getLevel(Vt):void 0!==we&&this._levels.has(we)?this._levels.get(we)+1:0,this._levels.set(Vt,We.level),(Mt||this._nodeOutlet.viewContainer).createEmbeddedView(me.template,We,dt),_e.mostRecentTreeNode&&(_e.mostRecentTreeNode.data=Vt)}}return At.\u0275fac=function(Vt){return new(Vt||At)(C.Y36(C.ZZ4),C.Y36(C.sBO))}
1,At.\u0275cmp=C.Xpm({type:At,selectors:[["cdk-tree"]],contentQueries:function(Vt,dt,Mt){if(1&Vt&&C.Suo(Mt,E,5),2&Vt){let we;C.iGM(we=C.CRH())&&(dt._nodeDefs=we)}},viewQuery:function(Vt,dt){if(1&Vt&&C.Gf(h,7),2&Vt){let Mt;C.iGM(Mt=C.CRH())&&(dt._nodeOutlet=Mt.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(Vt,dt){1&Vt&&C.GkF(0,0)},directives:[h],encapsulation:2}),At})(),_e=(()=>{class At{constructor(Vt,dt){this._elementRef=Vt,this._tree=dt,this._destroyed=new s.x,this._dataChanges=new s.x,At.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(Vt){this._elementRef.nativeElement.setAttribute("role",Vt)}get data(){return this._data}set data(Vt){Vt!==this._data&&(this._data=Vt,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function ne(At){let Qt=At.parentElement;for(;Qt&&!oe(Qt);)Qt=Qt.parentElement;return Qt?Qt.classList.contains("cdk-nested-tree-node")?(0,T.su)(Qt.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){At.mostRecentTreeNode===this&&(At.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return At.mostRecentTreeNode=null,At.\u0275fac=function(Vt){return new(Vt||At)(C.Y36(C.SBq),C.Y36(te))},At.\u0275dir=C.lG2({type:At,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(Vt,dt){2&Vt&&C.uIk("aria-expanded",dt.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),At})();function oe(At){const Qt=At.classList;return!(!(null==Qt?void 0:Qt.contains("cdk-nested-tree-node"))&&!(null==Qt?void 0:Qt.contains("cdk-tree")))}let he=(()=>{class At extends _e{constructor(Vt,dt,Mt){super(Vt,dt),this._differs=Mt}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const Vt=this._tree.treeControl.getChildren(this.data);Array.isArray(Vt)?this.updateChildrenNodes(Vt):(0,l.b)(Vt)&&Vt.pipe((0,A.R)(this._destroyed)).subscribe(dt=>this.updateChildrenNodes(dt)),this.nodeOutlet.changes.pipe((0,A.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(Vt){const dt=this._getNodeOutlet();Vt&&(this._children=Vt),dt&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,dt.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const Vt=this._getNodeOutlet();Vt&&(Vt.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const Vt=this.nodeOutlet;return Vt&&Vt.find(dt=>!dt._node||dt._node===this)}}return At.\u0275fac=function(Vt){return new(Vt||At)(C.Y36(C.SBq),C.Y36(te),C.Y36(C.ZZ4))},At.\u0275dir=C.lG2({type:At,selectors:[["cdk-nested-tree-node"]],contentQueries:function(Vt,dt,Mt){if(1&Vt&&C.Suo(Mt,h,5),2&Vt){let we;C.iGM(we=C.CRH())&&(dt.nodeOutlet=we)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[C._Bn([{provide:_e,useExisting:At},{provide:k,useExisting:At}]),C.qOj]}),At})();const Se=/([A-Za-z%]+)$/;let Be=(()=>{class At{constructor(Vt,dt,Mt,we){this._treeNode=Vt,this._tree=dt,this._element=Mt,this._dir=we,this._destroyed=new s.x,this.indentUnits="px",this._indent=40,this._setPadding(),we&&we.change.pipe((0,A.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),Vt._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(Vt){this._setLevelInput(Vt)}get indent(){return this._indent}set indent(Vt){this._setIndentInput(Vt)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}
1_paddingIndent(){const Vt=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,dt=null==this._level?Vt:this._level;return"number"==typeof dt?`${dt*this._indent}${this.indentUnits}`:null}_setPadding(Vt=!1){const dt=this._paddingIndent();if(dt!==this._currentPadding||Vt){const Mt=this._element.nativeElement,we=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",me="paddingLeft"===we?"paddingRight":"paddingLeft";Mt.style[we]=dt||"",Mt.style[me]="",this._currentPadding=dt}}_setLevelInput(Vt){this._level=(0,T.su)(Vt,null),this._setPadding()}_setIndentInput(Vt){let dt=Vt,Mt="px";if("string"==typeof Vt){const we=Vt.split(Se);dt=we[0],Mt=we[1]||Mt}this.indentUnits=Mt,this._indent=(0,T.su)(dt),this._setPadding()}}return At.\u0275fac=function(Vt){return new(Vt||At)(C.Y36(_e),C.Y36(te),C.Y36(C.SBq),C.Y36(S.Is,8))},At.\u0275dir=C.lG2({type:At,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),At})(),ot=(()=>{class At{constructor(Vt,dt){this._tree=Vt,this._treeNode=dt,this._recursive=!1}get recursive(){return this._recursive}set recursive(Vt){this._recursive=(0,T.Ig)(Vt)}_toggle(Vt){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),Vt.stopPropagation()}}return At.\u0275fac=function(Vt){return new(Vt||At)(C.Y36(te),C.Y36(_e))},At.\u0275dir=C.lG2({type:At,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(Vt,dt){1&Vt&&C.NdJ("click",function(we){return dt._toggle(we)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),At})(),xt=(()=>{class At{}return At.\u0275fac=function(Vt){return new(Vt||At)},At.\u0275mod=C.oAB({type:At}),At.\u0275inj=C.cJS({}),At})()},60:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Do:()=>X,ED:()=>Ao,EM:()=>jo,HT:()=>d,JF:()=>Oo,JJ:()=>Ja,K0:()=>C,Mx:()=>Si,NF:()=>lo,O5:()=>xi,OU:()=>os,Ov:()=>vn,PC:()=>$e,RF:()=>go,S$:()=>c,V_:()=>R,Ye:()=>te,b0:()=>ee,bD:()=>Ra,ez:()=>ba,lw:()=>T,mk:()=>Ti,mr:()=>v,n9:()=>wo,q:()=>e,qS:()=>Ln,sg:()=>Bi,tP:()=>z,uU:()=>ia,w_:()=>A});var i=m(5e3);let s=null;function e(){return s}function d(Ae){s||(s=Ae)}class A{}const C=new i.OlP("DocumentToken");let T=(()=>{class Ae{historyGo(Ce){throw new Error("Not implemented")}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)},Ae.\u0275prov=i.Yz7({token:Ae,factory:function(){return function S(){return(0,i.LFG)(q)}()},providedIn:"platform"}),Ae})();const R=new i.OlP("Location Initialized");let q=(()=>{class Ae extends T{constructor(Ce){super(),this._doc=Ce,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return e().getBaseHref(this._doc)}onPopState(Ce){const mt=e().getGlobalEventTarget(this._doc,"window");return mt.addEventListener("popstate",Ce,!1),()=>mt.removeEventListener("popstate",Ce)}onHashChange(Ce){const mt=e().getGlobalEventTarget(this._doc,"window");return mt.addEventListener("hashchange",Ce,!1),()=>mt.removeEventListener("hashchange",Ce)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(Ce){this.location.pathname=Ce}pushState(Ce,mt,Ht){w()?this._history.pushState(Ce,mt,Ht):this.location.hash=Ht}replaceState(Ce,mt,Ht){w()?this._history.replaceState(Ce,mt,Ht):this.location.hash=Ht}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ce=0){this._history.go(Ce)}getState(){return this._history.state}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.LFG(C))},Ae.\u0275prov=i.Yz7({token:Ae,factory:function(){return function k(){return new q((0,i.LFG)(C))}()},providedIn:"platform"}),Ae})();function w(){return!!window.history.pushState}function h(Ae,tt){if(0==Ae.length)return tt;if(0==tt.length)return Ae;let Ce=0;return Ae.endsWith("/")&&Ce++,tt.startsWith("/")&&Ce++,2==Ce?Ae+tt.substring(1):1==Ce?Ae+tt:Ae+"/"+tt}function O(Ae){const tt=Ae.match(/#|\?|$/),Ce=tt&&tt.index||Ae.length;return Ae.slice(0,Ce-("/"===Ae[Ce-1]?1:0))+Ae.slice(Ce)}function E(Ae){return Ae&&"?"!==Ae[0]?"?"+Ae:Ae}let c=(()=>{class Ae{historyGo(Ce){throw new Error("Not implemented")}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)},Ae.\u0275prov=i.Yz7({token:Ae,factory:function(){return function Z(Ae){const tt=(0,i.LFG)(C).location;return new ee((0,i.LFG)(T),tt&&tt.origin||"")}()},providedIn:"root"}),Ae})();const v=new i.OlP("appBaseHref");let ee=(()=>{class Ae extends c{constructor(Ce,mt){if(super(),this._platformLocation=Ce,this._removeListenerFns=[],null==mt&&(mt=this._platformLocation.getBaseHrefFromDOM()),null==mt)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=mt}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ce){this._removeListenerFns.push(this._platformLocation.onPopState(Ce),this._platformLocation.on
1HashChange(Ce))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ce){return h(this._baseHref,Ce)}path(Ce=!1){const mt=this._platformLocation.pathname+E(this._platformLocation.search),Ht=this._platformLocation.hash;return Ht&&Ce?`${mt}${Ht}`:mt}pushState(Ce,mt,Ht,En){const wn=this.prepareExternalUrl(Ht+E(En));this._platformLocation.pushState(Ce,mt,wn)}replaceState(Ce,mt,Ht,En){const wn=this.prepareExternalUrl(Ht+E(En));this._platformLocation.replaceState(Ce,mt,wn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(Ce=0){var mt,Ht;null===(Ht=(mt=this._platformLocation).historyGo)||void 0===Ht||Ht.call(mt,Ce)}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.LFG(T),i.LFG(v,8))},Ae.\u0275prov=i.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),X=(()=>{class Ae extends c{constructor(Ce,mt){super(),this._platformLocation=Ce,this._baseHref="",this._removeListenerFns=[],null!=mt&&(this._baseHref=mt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ce){this._removeListenerFns.push(this._platformLocation.onPopState(Ce),this._platformLocation.onHashChange(Ce))}getBaseHref(){return this._baseHref}path(Ce=!1){let mt=this._platformLocation.hash;return null==mt&&(mt="#"),mt.length>0?mt.substring(1):mt}prepareExternalUrl(Ce){const mt=h(this._baseHref,Ce);return mt.length>0?"#"+mt:mt}pushState(Ce,mt,Ht,En){let wn=this.prepareExternalUrl(Ht+E(En));0==wn.length&&(wn=this._platformLocation.pathname),this._platformLocation.pushState(Ce,mt,wn)}replaceState(Ce,mt,Ht,En){let wn=this.prepareExternalUrl(Ht+E(En));0==wn.length&&(wn=this._platformLocation.pathname),this._platformLocation.replaceState(Ce,mt,wn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(Ce=0){var mt,Ht;null===(Ht=(mt=this._platformLocation).historyGo)||void 0===Ht||Ht.call(mt,Ce)}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.LFG(T),i.LFG(v,8))},Ae.\u0275prov=i.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),te=(()=>{class Ae{constructor(Ce,mt){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=Ce;const Ht=this._platformStrategy.getBaseHref();this._platformLocation=mt,this._baseHref=O(oe(Ht)),this._platformStrategy.onPopState(En=>{this._subject.emit({url:this.path(!0),pop:!0,state:En.state,type:En.type})})}path(Ce=!1){return this.normalize(this._platformStrategy.path(Ce))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(Ce,mt=""){return this.path()==this.normalize(Ce+E(mt))}normalize(Ce){return Ae.stripTrailingSlash(function ne(Ae,tt){return Ae&&tt.startsWith(Ae)?tt.substring(Ae.length):tt}(this._baseHref,oe(Ce)))}prepareExternalUrl(Ce){return Ce&&"/"!==Ce[0]&&(Ce="/"+Ce),this._platformStrategy.prepareExternalUrl(Ce)}go(Ce,mt="",Ht=null){this._platformStrategy.pushState(Ht,"",Ce,mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ce+E(mt)),Ht)}replaceState(Ce,mt="",Ht=null){this._platformStrategy.replaceState(Ht,"",Ce,mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ce+E(mt)),Ht)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(Ce=0){var mt,Ht;null===(Ht=(mt=this._platformStrategy).historyGo)||void 0===Ht||Ht.call(mt,Ce)}onUrlChange(Ce){this._urlChangeListeners.push(Ce),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(mt=>{this._notifyUrlChangeListeners(mt.url,mt.state)}))}_notifyUrlChangeListeners(Ce="",mt){this._urlChangeListeners.forEach(Ht=>Ht(Ce,mt))}subscribe(Ce,mt,Ht){return this._subject.subscribe({next:Ce,error:mt,complete:Ht})}}return Ae.normalizeQueryParams=E,Ae.joinWithSlash=h,Ae.stripTrailingSlash=O,Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.LFG(c),i.LFG(T))},Ae.\u0275prov=i.Yz7({token:Ae,factory:function(){return function _e(){return new te((0,i.LFG)(c),(0,i.LFG)(T))}()},providedIn:"root"}),Ae})();function oe(Ae){return Ae.replace(/\/index.html$/,"")}var Se=(()=>((Se=Se||{})[Se.Decimal=0]="Decimal",Se[Se.Percent=1]="Percent",Se[Se.Currency=2]="Currency",Se[Se.Scientific=3]="Scientific",Se))(),ot=(()=>((ot=ot||{})[ot.Format=0]="Format",ot[ot.Standalone=1]="Standalone",ot))(),nt=(()=>((nt=nt||{})[nt.Narrow=0]="Narrow",nt[nt.Abbreviated=1]="Abbreviated",nt[nt.Wide=2]="Wide",nt[nt.Short=3]="Short",nt))(),xt=(()=>((xt=xt||{})[xt.Short=0]="Short",xt[xt.Medium=1]="Medium",xt[xt.Long=2]="Long",xt[xt.Full=3]="Full",xt))(),At=(()=>((At=At||{})[At.Decimal=0]="Decimal",At[At.Group=1]="Group",At[At.List=2]="List",At[At.PercentSign=3]="PercentSign",At[At.PlusSign=4]="PlusSign",At[At.MinusSign=5]="MinusSign",At[At.Exponential=6]="Exponential",At[At.SuperscriptingExponent=7]="SuperscriptingExponent",At[At.PerMille=8]="PerMille",At[At.Infinity=9]="Infinity",At[At.NaN=10]="NaN",At[At.TimeSeparator=11]="TimeSeparator",At[At.CurrencyDecimal=12]="CurrencyDecimal",At[At.CurrencyGroup=13]="CurrencyGroup",At))();function ft(Ae,tt){return Ue((0,i.cg1)(Ae)[i.wAp.DateFormat],tt)}function Ot(Ae,tt){return Ue((0,i.cg1)(Ae)[i.wAp.TimeFormat],tt)}function Et(Ae,tt){return Ue((0,i.cg1)(Ae)[i.wAp.DateTimeFormat],tt)}function Lt(Ae,tt){const Ce=(0,i.cg1)(Ae),mt=Ce[i.wAp.NumberSymbols][tt];if(void 0===mt){if(tt===At.CurrencyDecimal)return Ce[i.wAp.NumberSymbols][At.Decimal];if(tt===At.CurrencyGroup)return Ce[i.wAp.NumberSymbols][At.Group]}return mt}function pn(Ae){if(!Ae[i.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Ae[i.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ue(Ae,tt){for(let Ce=tt;Ce>-1;Ce--)if(void 0!==Ae[Ce])return Ae[Ce];throw new Error("Locale data API: locale data undefined")}
1function Je(Ae){const[tt,Ce]=Ae.split(":");return{hours:+tt,minutes:+Ce}}const ge=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,et={},_t=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var jt=(()=>((jt=jt||{})[jt.Short=0]="Short",jt[jt.ShortGMT=1]="ShortGMT",jt[jt.Long=2]="Long",jt[jt.Extended=3]="Extended",jt))(),Xt=(()=>((Xt=Xt||{})[Xt.FullYear=0]="FullYear",Xt[Xt.Month=1]="Month",Xt[Xt.Date=2]="Date",Xt[Xt.Hours=3]="Hours",Xt[Xt.Minutes=4]="Minutes",Xt[Xt.Seconds=5]="Seconds",Xt[Xt.FractionalSeconds=6]="FractionalSeconds",Xt[Xt.Day=7]="Day",Xt))(),Cn=(()=>((Cn=Cn||{})[Cn.DayPeriods=0]="DayPeriods",Cn[Cn.Days=1]="Days",Cn[Cn.Months=2]="Months",Cn[Cn.Eras=3]="Eras",Cn))();function Hn(Ae,tt,Ce,mt){let Ht=function st(Ae){if($t(Ae))return Ae;if("number"==typeof Ae&&!isNaN(Ae))return new Date(Ae);if("string"==typeof Ae){if(Ae=Ae.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Ae)){const[Ht,En=1,wn=1]=Ae.split("-").map(fi=>+fi);return Kn(Ht,En-1,wn)}const Ce=parseFloat(Ae);if(!isNaN(Ae-Ce))return new Date(Ce);let mt;if(mt=Ae.match(ge))return function ct(Ae){const tt=new Date(0);let Ce=0,mt=0;const Ht=Ae[8]?tt.setUTCFullYear:tt.setFullYear,En=Ae[8]?tt.setUTCHours:tt.setHours;Ae[9]&&(Ce=Number(Ae[9]+Ae[10]),mt=Number(Ae[9]+Ae[11])),Ht.call(tt,Number(Ae[1]),Number(Ae[2])-1,Number(Ae[3]));const wn=Number(Ae[4]||0)-Ce,fi=Number(Ae[5]||0)-mt,mo=Number(Ae[6]||0),_o=Math.floor(1e3*parseFloat("0."+(Ae[7]||0)));return En.call(tt,wn,fi,mo,_o),tt}(mt)}const tt=new Date(Ae);if(!$t(tt))throw new Error(`Unable to convert "${Ae}" into a date`);return tt}(Ae);tt=Bn(Ce,tt)||tt;let fi,wn=[];for(;tt;){if(fi=_t.exec(tt),!fi){wn.push(tt);break}{wn=wn.concat(fi.slice(1));const io=wn.pop();if(!io)break;tt=io}}let mo=Ht.getTimezoneOffset();mt&&(mo=An(mt,mo),Ht=function Xe(Ae,tt,Ce){const mt=Ce?-1:1,Ht=Ae.getTimezoneOffset();return function bt(Ae,tt){return(Ae=new Date(Ae.getTime())).setMinutes(Ae.getMinutes()+tt),Ae}(Ae,mt*(An(tt,Ht)-Ht))}(Ht,mt,!0));let _o="";return wn.forEach(io=>{const ao=function ln(Ae){if(ni[Ae])return ni[Ae];let tt;switch(Ae){case"G":case"GG":case"GGG":tt=ei(Cn.Eras,nt.Abbreviated);break;case"GGGG":tt=ei(Cn.Eras,nt.Wide);break;case"GGGGG":tt=ei(Cn.Eras,nt.Narrow);break;case"y":tt=In(Xt.FullYear,1,0,!1,!0);break;case"yy":tt=In(Xt.FullYear,2,0,!0,!0);break;case"yyy":tt=In(Xt.FullYear,3,0,!1,!0);break;case"yyyy":tt=In(Xt.FullYear,4,0,!1,!0);break;case"Y":tt=Zn(1);break;case"YY":tt=Zn(2,!0);break;case"YYY":tt=Zn(3);break;case"YYYY":tt=Zn(4);break;case"M":case"L":tt=In(Xt.Month,1,1);break;case"MM":case"LL":tt=In(Xt.Month,2,1);break;case"MMM":tt=ei(Cn.Months,nt.Abbreviated);break;case"MMMM":tt=ei(Cn.Months,nt.Wide);break;case"MMMMM":tt=ei(Cn.Months,nt.Narrow);break;case"LLL":tt=ei(Cn.Months,nt.Abbreviated,ot.Standalone);break;case"LLLL":tt=ei(Cn.Months,nt.Wide,ot.Standalone);break;case"LLLLL":tt=ei(Cn.Months,nt.Narrow,ot.Standalone);break;case"w":tt=fn(1);break;case"ww":tt=fn(2);break;case"W":tt=fn(1,!0);break;case"d":tt=In(Xt.Date,1);break;case"dd":tt=In(Xt.Date,2);break;case"c":case"cc":tt=In(Xt.Day,1);break;case"ccc":tt=ei(Cn.Days,nt.Abbreviated,ot.Standalone);break;case"cccc":tt=ei(Cn.Days,nt.Wide,ot.Standalone);break;case"ccccc":tt=ei(Cn.Days,nt.Narrow,ot.Standalone);break;case"cccccc":tt=ei(Cn.Days,nt.Short,ot.Standalone);break;case"E":case"EE":case"EEE":tt=ei(Cn.Days,nt.Abbreviated);break;case"EEEE":tt=ei(Cn.Days,nt.Wide);break;case"EEEEE":tt=ei(Cn.Days,nt.Narrow);break;case"EEEEEE":tt=ei(Cn.Days,nt.Short);break;case"a":case"aa":case"aaa":tt=ei(Cn.DayPeriods,nt.Abbreviated);break;case"aaaa":tt=ei(Cn.DayPeriods,nt.Wide);break;case"aaaaa":tt=ei(Cn.DayPeriods,nt.Narrow);break;case"b":case"bb":case"bbb":tt=ei(Cn.DayPeriods,nt.Abbreviated,ot.Standalone,!0);break;case"bbbb":tt=ei(Cn.DayPeriods,nt.Wide,ot.Standalone,!0);break;case"bbbbb":tt=ei(Cn.DayPeriods,nt.Narrow,ot.Standalone,!0);break;case"B":case"BB":case"BBB":tt=ei(Cn.DayPeriods,nt.Abbreviated,ot.Format,!0);break;case"BBBB":tt=ei(Cn.DayPeriods,nt.Wide,ot.Format,!0);break;case"BBBBB":tt=ei(Cn.DayPeriods,nt.Narrow,ot.Format,!0);break;case"h":tt=In(Xt.Hours,1,-12);break;case"hh":tt=In(Xt.Hours,2,-12);break;case"H":tt=In(Xt.Hours,1);break;case"HH":tt=In(Xt.Hours,2);break;case"m":tt=In(Xt.Minutes,1);break;case"mm":tt=In(Xt.Minutes,2);break;case"s":tt=In(Xt.Seconds,1);break;case"ss":tt=In(Xt.Seconds,2);break;case"S":tt=In(Xt.FractionalSeconds,1);break;case"SS":tt=In(Xt.FractionalSeconds,2);break;case"SSS":tt=In(Xt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":tt=gt(jt.Short);break;case"ZZZZZ":tt=gt(jt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":tt=gt(jt.ShortGMT);break;
1case"OOOO":case"ZZZZ":case"zzzz":tt=gt(jt.Long);break;default:return null}return ni[Ae]=tt,tt}(io);_o+=ao?ao(Ht,Ce,mo):"''"===io?"'":io.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_o}function Kn(Ae,tt,Ce){const mt=new Date(0);return mt.setFullYear(Ae,tt,Ce),mt.setHours(0,0,0),mt}function Bn(Ae,tt){const Ce=function Vt(Ae){return(0,i.cg1)(Ae)[i.wAp.LocaleId]}(Ae);if(et[Ce]=et[Ce]||{},et[Ce][tt])return et[Ce][tt];let mt="";switch(tt){case"shortDate":mt=ft(Ae,xt.Short);break;case"mediumDate":mt=ft(Ae,xt.Medium);break;case"longDate":mt=ft(Ae,xt.Long);break;case"fullDate":mt=ft(Ae,xt.Full);break;case"shortTime":mt=Ot(Ae,xt.Short);break;case"mediumTime":mt=Ot(Ae,xt.Medium);break;case"longTime":mt=Ot(Ae,xt.Long);break;case"fullTime":mt=Ot(Ae,xt.Full);break;case"short":const Ht=Bn(Ae,"shortTime"),En=Bn(Ae,"shortDate");mt=di(Et(Ae,xt.Short),[Ht,En]);break;case"medium":const wn=Bn(Ae,"mediumTime"),fi=Bn(Ae,"mediumDate");mt=di(Et(Ae,xt.Medium),[wn,fi]);break;case"long":const mo=Bn(Ae,"longTime"),_o=Bn(Ae,"longDate");mt=di(Et(Ae,xt.Long),[mo,_o]);break;case"full":const io=Bn(Ae,"fullTime"),ao=Bn(Ae,"fullDate");mt=di(Et(Ae,xt.Full),[io,ao])}return mt&&(et[Ce][tt]=mt),mt}function di(Ae,tt){return tt&&(Ae=Ae.replace(/\{([^}]+)}/g,function(Ce,mt){return null!=tt&&mt in tt?tt[mt]:Ce})),Ae}function ui(Ae,tt,Ce="-",mt,Ht){let En="";(Ae<0||Ht&&Ae<=0)&&(Ht?Ae=1-Ae:(Ae=-Ae,En=Ce));let wn=String(Ae);for(;wn.length<tt;)wn="0"+wn;return mt&&(wn=wn.substr(wn.length-tt)),En+wn}function In(Ae,tt,Ce=0,mt=!1,Ht=!1){return function(En,wn){let fi=function Fn(Ae,tt){switch(Ae){case Xt.FullYear:return tt.getFullYear();case Xt.Month:return tt.getMonth();case Xt.Date:return tt.getDate();case Xt.Hours:return tt.getHours();case Xt.Minutes:return tt.getMinutes();case Xt.Seconds:return tt.getSeconds();case Xt.FractionalSeconds:return tt.getMilliseconds();case Xt.Day:return tt.getDay();default:throw new Error(`Unknown DateType value "${Ae}".`)}}(Ae,En);if((Ce>0||fi>-Ce)&&(fi+=Ce),Ae===Xt.Hours)0===fi&&-12===Ce&&(fi=12);else if(Ae===Xt.FractionalSeconds)return function Di(Ae,tt){return ui(Ae,3).substr(0,tt)}(fi,tt);const mo=Lt(wn,At.MinusSign);return ui(fi,tt,mo,mt,Ht)}}function ei(Ae,tt,Ce=ot.Format,mt=!1){return function(Ht,En){return function Vi(Ae,tt,Ce,mt,Ht,En){switch(Ce){case Cn.Months:return function we(Ae,tt,Ce){const mt=(0,i.cg1)(Ae),En=Ue([mt[i.wAp.MonthsFormat],mt[i.wAp.MonthsStandalone]],tt);return Ue(En,Ce)}(tt,Ht,mt)[Ae.getMonth()];case Cn.Days:return function Mt(Ae,tt,Ce){const mt=(0,i.cg1)(Ae),En=Ue([mt[i.wAp.DaysFormat],mt[i.wAp.DaysStandalone]],tt);return Ue(En,Ce)}(tt,Ht,mt)[Ae.getDay()];case Cn.DayPeriods:const wn=Ae.getHours(),fi=Ae.getMinutes();if(En){const _o=function Dn(Ae){const tt=(0,i.cg1)(Ae);return pn(tt),(tt[i.wAp.ExtraData][2]||[]).map(mt=>"string"==typeof mt?Je(mt):[Je(mt[0]),Je(mt[1])])}(tt),io=function Mn(Ae,tt,Ce){const mt=(0,i.cg1)(Ae);pn(mt);const En=Ue([mt[i.wAp.ExtraData][0],mt[i.wAp.ExtraData][1]],tt)||[];return Ue(En,Ce)||[]}(tt,Ht,mt),ao=_o.findIndex(No=>{if(Array.isArray(No)){const[To,ve]=No,$=wn>=To.hours&&fi>=To.minutes,L=wn<ve.hours||wn===ve.hours&&fi<ve.minutes;if(To.hours<ve.hours){if($&&L)return!0}else if($||L)return!0}else if(No.hours===wn&&No.minutes===fi)return!0;return!1});if(-1!==ao)return io[ao]}return function dt(Ae,tt,Ce){const mt=(0,i.cg1)(Ae),En=Ue([mt[i.wAp.DayPeriodsFormat],mt[i.wAp.DayPeriodsStandalone]],tt);return Ue(En,Ce)}(tt,Ht,mt)[wn<12?0:1];case Cn.Eras:return function me(Ae,tt){return Ue((0,i.cg1)(Ae)[i.wAp.Eras],tt)}(tt,mt)[Ae.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Ce}`)}}(Ht,En,Ae,tt,Ce,mt)}}function gt(Ae){return function(tt,Ce,mt){const Ht=-1*mt,En=Lt(Ce,At.MinusSign),wn=Ht>0?Math.floor(Ht/60):Math.ceil(Ht/60);switch(Ae){case jt.Short:return(Ht>=0?"+":"")+ui(wn,2,En)+ui(Math.abs(Ht%60),2,En);case jt.ShortGMT:return"GMT"+(Ht>=0?"+":"")+ui(wn,1,En);case jt.Long:return"GMT"+(Ht>=0?"+":"")+ui(wn,2,En)+":"+ui(Math.abs(Ht%60),2,En);case jt.Extended:return 0===mt?"Z":(Ht>=0?"+":"")+ui(wn,2,En)+":"+ui(Math.abs(Ht%60),2,En);default:throw new Error(`Unknown zone width "${Ae}"`)}}}function Ft(Ae){return Kn(Ae.getFullYear(),Ae.getMonth(),Ae.getDate()+(4-Ae.getDay()))}function fn(Ae,tt=!1){return function(Ce,mt){let Ht;if(tt){const En=new Date(Ce.getFullYear(),Ce.getMonth(),1).getDay()-1,wn=Ce.getDate();Ht=1+Math.floor((wn+En)/7)}else{const En=Ft(Ce),wn=function pt(Ae){const tt=Kn(Ae,0,1).getDay();return Kn(Ae,0,1+(tt<=4?4:11)-tt)}(En.getFullYear()),fi=En.getTime()-wn.getTime();Ht=1+Math.round(fi/6048e5)}
1return ui(Ht,Ae,Lt(mt,At.MinusSign))}}function Zn(Ae,tt=!1){return function(Ce,mt){return ui(Ft(Ce).getFullYear(),Ae,Lt(mt,At.MinusSign),tt)}}const ni={};function An(Ae,tt){Ae=Ae.replace(/:/g,"");const Ce=Date.parse("Jan 01, 1970 00:00:00 "+Ae)/6e4;return isNaN(Ce)?tt:Ce}function $t(Ae){return Ae instanceof Date&&!isNaN(Ae.valueOf())}const un=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Te(Ae){const tt=parseInt(Ae);if(isNaN(tt))throw new Error("Invalid integer literal when parsing "+Ae);return tt}function Ln(Ae,tt,Ce){return(0,i.dwT)(Ae,tt,Ce)}function Si(Ae,tt){tt=encodeURIComponent(tt);for(const Ce of Ae.split(";")){const mt=Ce.indexOf("="),[Ht,En]=-1==mt?[Ce,""]:[Ce.slice(0,mt),Ce.slice(mt+1)];if(Ht.trim()===tt)return decodeURIComponent(En)}return null}let Ti=(()=>{class Ae{constructor(Ce,mt,Ht,En){this._iterableDiffers=Ce,this._keyValueDiffers=mt,this._ngEl=Ht,this._renderer=En,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(Ce){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof Ce?Ce.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(Ce){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof Ce?Ce.split(/\s+/):Ce,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const Ce=this._iterableDiffer.diff(this._rawClass);Ce&&this._applyIterableChanges(Ce)}else if(this._keyValueDiffer){const Ce=this._keyValueDiffer.diff(this._rawClass);Ce&&this._applyKeyValueChanges(Ce)}}_applyKeyValueChanges(Ce){Ce.forEachAddedItem(mt=>this._toggleClass(mt.key,mt.currentValue)),Ce.forEachChangedItem(mt=>this._toggleClass(mt.key,mt.currentValue)),Ce.forEachRemovedItem(mt=>{mt.previousValue&&this._toggleClass(mt.key,!1)})}_applyIterableChanges(Ce){Ce.forEachAddedItem(mt=>{if("string"!=typeof mt.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(mt.item)}`);this._toggleClass(mt.item,!0)}),Ce.forEachRemovedItem(mt=>this._toggleClass(mt.item,!1))}_applyClasses(Ce){Ce&&(Array.isArray(Ce)||Ce instanceof Set?Ce.forEach(mt=>this._toggleClass(mt,!0)):Object.keys(Ce).forEach(mt=>this._toggleClass(mt,!!Ce[mt])))}_removeClasses(Ce){Ce&&(Array.isArray(Ce)||Ce instanceof Set?Ce.forEach(mt=>this._toggleClass(mt,!1)):Object.keys(Ce).forEach(mt=>this._toggleClass(mt,!1)))}_toggleClass(Ce,mt){(Ce=Ce.trim())&&Ce.split(/\s+/g).forEach(Ht=>{mt?this._renderer.addClass(this._ngEl.nativeElement,Ht):this._renderer.removeClass(this._ngEl.nativeElement,Ht)})}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},Ae.\u0275dir=i.lG2({type:Ae,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),Ae})();class zi{constructor(tt,Ce,mt,Ht){this.$implicit=tt,this.ngForOf=Ce,this.index=mt,this.count=Ht}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Bi=(()=>{class Ae{constructor(Ce,mt,Ht){this._viewContainer=Ce,this._template=mt,this._differs=Ht,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(Ce){this._ngForOf=Ce,this._ngForOfDirty=!0}set ngForTrackBy(Ce){this._trackByFn=Ce}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(Ce){Ce&&(this._template=Ce)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ce=this._ngForOf;!this._differ&&Ce&&(this._differ=this._differs.find(Ce).create(this.ngForTrackBy))}if(this._differ){const Ce=this._differ.diff(this._ngForOf);Ce&&this._applyChanges(Ce)}}_applyChanges(Ce){const mt=this._viewContainer;Ce.forEachOperation((Ht,En,wn)=>{if(null==Ht.previousIndex)mt.createEmbeddedView(this._template,new zi(Ht.item,this._ngForOf,-1,-1),null===wn?void 0:wn);else if(null==wn)mt.remove(null===En?void 0:En);else if(null!==En){const fi=mt.get(En);mt.move(fi,wn),bn(fi,Ht)}});for(let Ht=0,En=mt.length;Ht<En;Ht++){const fi=mt.get(Ht).context;fi.index=Ht,fi.count=En,fi.ngForOf=this._ngForOf}Ce.forEachIdentityChange(Ht=>{bn(mt.get(Ht.currentIndex),Ht)})}static ngTemplateContextGuard(Ce,mt){return!0}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},Ae.\u0275dir=i.lG2({type:Ae,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),Ae})();function bn(Ae,tt){Ae.context.$implicit=tt.item}let xi=(()=>{class Ae{constructor(Ce,mt){this._viewContainer=Ce,this._context=new Ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=mt}set ngIf(Ce){this._context.$implicit=this._context.ngIf=Ce,this._updateView()}set ngIfThen(Ce){Bo("ngIfThen",Ce),this._thenTemplateRef=Ce,this._thenViewRef=null,this._updateView()}set ngIfElse(Ce){Bo("ngIfElse",Ce),this._elseTemplateRef=Ce,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Ce,mt){return!0}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.s_b),i.Y36(i.Rgc))},Ae.\u0275dir=i.lG2({type:Ae,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),Ae})();class Ii{constructor(){this.$implicit=null,this.ngIf=null}}function Bo(Ae,tt){if(tt&&!tt.createEmbeddedView)throw new Error(`${Ae} must be a TemplateRef, but received '${(0,i.AaK)(tt)}'.`)}class Gi{constructor(tt,Ce){this._viewContainerRef=tt,this._templateRef=Ce,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(tt){tt&&!this._created?this.create():!tt&&this._created&&this.destroy()}}let go=(()=>{class Ae{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ce){this._ngSwitch=Ce,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ce){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(Ce)}_matchCase(Ce){const mt=Ce==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||mt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),mt}_updateDefaultCases(Ce){if(this._defaultViews&&Ce!==this._defaultUsed){this._defaultUsed=Ce;for(let mt=0;mt<this._defaultViews.length;mt++)this._defaultViews[mt].enforceState(Ce)}}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)},Ae.\u0275dir=i.lG2({type:Ae,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),Ae})(),wo=(()=>{class Ae{constructor(Ce,mt,Ht){this.ngSwitch=Ht,Ht._addCase(),this._view=new Gi(Ce,mt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(go,9))},Ae.\u0275dir=i.lG2({type:Ae,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),Ae})(),Ao=(()=>{class Ae{constructor(Ce,mt,Ht){Ht._addDefault(new Gi(Ce,mt))}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(go,9))},Ae.\u0275dir=i.lG2({type:Ae,selectors:[["","ngSwitchDefault",""]]}),Ae})(),$e=(()=>{class Ae{constructor(Ce,mt,Ht){this._ngEl=Ce,this._differs=mt,this._renderer=Ht,this._ngStyle=null,this._differ=null}set ngStyle(Ce){this._ngStyle=Ce,!this._differ&&Ce&&(this._differ=this._differs.find(Ce).create())}ngDoCheck(){if(this._differ){const Ce=this._differ.diff(this._ngStyle);Ce&&this._applyChanges(Ce)}}_setStyle(Ce,mt){const[Ht,En]=Ce.split(".");null!=(mt=null!=mt&&En?`${mt}${En}`:mt)?this._renderer.setStyle(this._ngEl.nativeElement,Ht,mt):this._renderer.removeStyle(this._ngEl.nativeElement,Ht)}_applyChanges(Ce){Ce.forEachRemovedItem(mt=>this._setStyle(mt.key,null)),Ce.forEachAddedItem(mt=>this._setStyle(mt.key,mt.currentValue)),Ce.forEachChangedItem(mt=>this._setStyle(mt.key,mt.currentValue))}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},Ae.\u0275dir=i.lG2({type:Ae,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),Ae})(),z=(()=>{class Ae{constructor(Ce){this._viewContainerRef=Ce,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(Ce){if(Ce.ngTemplateOutlet){const mt=this._viewContainerRef;this._viewRef&&mt.remove(mt.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?mt.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&Ce.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.s_b))},Ae.\u0275dir=i.lG2({type:Ae,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),Ae})();function G(Ae,tt){return new i.vHH(2100,"")}class de{createSubscription(tt,Ce){return tt.subscribe({next:Ce,error:mt=>{throw mt}})}dispose(tt){tt.unsubscribe()}onDestroy(tt){tt.unsubscribe()}}class Ye{createSubscription(tt,Ce){return tt.then(Ce,mt=>{throw mt})}dispose(tt){}onDestroy(tt){}}const Dt=new Ye,an=new de;let vn=(()=>{class Ae{constructor(Ce){this._ref=Ce,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(Ce){return this._obj?Ce!==this._obj?(this._dispose(),this.transform(Ce)):this._latestValue:(Ce&&this._subscribe(Ce),this._latestValue)}_subscribe(Ce){this._obj=Ce,this._strategy=this._selectStrategy(Ce),this._subscription=this._strategy.createSubscription(Ce,mt=>this._updateLatestValue(Ce,mt))}_selectStrategy(Ce){if((0,i.QGY)(Ce))return Dt;if((0,i.F4k)(Ce))return an;throw G()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ce,mt){Ce===this._obj&&(this._latestValue=mt,this._ref.markForCheck())}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.sBO,16))},Ae.\u0275pipe=i.Yjl({name:"async",type:Ae,pure:!1}),Ae})();const Zo=new i.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let ia=(()=>{class Ae{constructor(Ce,mt){this.locale=Ce,this.defaultTimezone=mt}transform(Ce,mt="mediumDate",Ht,En){var wn;if(null==Ce||""===Ce||Ce!=Ce)return null;try{return Hn(Ce,mt,En||this.locale,null!==(wn=null!=Ht?Ht:this.defaultTimezone)&&void 0!==wn?wn:void 0)}catch(fi){throw G()}}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.soG,16),i.Y36(Zo,24))},Ae.\u0275pipe=i.Yjl({name:"date",type:Ae,pure:!0}),Ae})(),Ja=(()=>{class Ae{constructor(Ce){this._locale=Ce}transform(Ce,mt,Ht){if(!function Fa(Ae){return!(null==Ae||""===Ae||Ae!=Ae)}(Ce))return null;Ht=Ht||this._locale;try{return function Pe(Ae,tt,Ce){return function xo(Ae,tt,Ce,mt,Ht,En,wn=!1){let fi="",mo=!1;
1if(isFinite(Ae)){let _o=function lt(Ae){let mt,Ht,En,wn,fi,tt=Math.abs(Ae)+"",Ce=0;for((Ht=tt.indexOf("."))>-1&&(tt=tt.replace(".","")),(En=tt.search(/e/i))>0?(Ht<0&&(Ht=En),Ht+=+tt.slice(En+1),tt=tt.substring(0,En)):Ht<0&&(Ht=tt.length),En=0;"0"===tt.charAt(En);En++);if(En===(fi=tt.length))mt=[0],Ht=1;else{for(fi--;"0"===tt.charAt(fi);)fi--;for(Ht-=En,mt=[],wn=0;En<=fi;En++,wn++)mt[wn]=Number(tt.charAt(En))}return Ht>22&&(mt=mt.splice(0,21),Ce=Ht-1,Ht=1),{digits:mt,exponent:Ce,integerLen:Ht}}(Ae);wn&&(_o=function Ee(Ae){if(0===Ae.digits[0])return Ae;const tt=Ae.digits.length-Ae.integerLen;return Ae.exponent?Ae.exponent+=2:(0===tt?Ae.digits.push(0,0):1===tt&&Ae.digits.push(0),Ae.integerLen+=2),Ae}(_o));let io=tt.minInt,ao=tt.minFrac,No=tt.maxFrac;if(En){const ce=En.match(un);if(null===ce)throw new Error(`${En} is not a valid digit info`);const vt=ce[1],Wt=ce[3],qn=ce[5];null!=vt&&(io=Te(vt)),null!=Wt&&(ao=Te(Wt)),null!=qn?No=Te(qn):null!=Wt&&ao>No&&(No=ao)}!function Y(Ae,tt,Ce){if(tt>Ce)throw new Error(`The minimum number of digits after fraction (${tt}) is higher than the maximum (${Ce}).`);let mt=Ae.digits,Ht=mt.length-Ae.integerLen;const En=Math.min(Math.max(tt,Ht),Ce);let wn=En+Ae.integerLen,fi=mt[wn];if(wn>0){mt.splice(Math.max(Ae.integerLen,wn));for(let ao=wn;ao<mt.length;ao++)mt[ao]=0}else{Ht=Math.max(0,Ht),Ae.integerLen=1,mt.length=Math.max(1,wn=En+1),mt[0]=0;for(let ao=1;ao<wn;ao++)mt[ao]=0}if(fi>=5)if(wn-1<0){for(let ao=0;ao>wn;ao--)mt.unshift(0),Ae.integerLen++;mt.unshift(1),Ae.integerLen++}else mt[wn-1]++;for(;Ht<Math.max(0,En);Ht++)mt.push(0);let mo=0!==En;const _o=tt+Ae.integerLen,io=mt.reduceRight(function(ao,No,To,ve){return ve[To]=(No+=ao)<10?No:No-10,mo&&(0===ve[To]&&To>=_o?ve.pop():mo=!1),No>=10?1:0},0);io&&(mt.unshift(io),Ae.integerLen++)}(_o,ao,No);let To=_o.digits,ve=_o.integerLen;const $=_o.exponent;let L=[];for(mo=To.every(ce=>!ce);ve<io;ve++)To.unshift(0);for(;ve<0;ve++)To.unshift(0);ve>0?L=To.splice(ve,To.length):(L=To,To=[0]);const U=[];for(To.length>=tt.lgSize&&U.unshift(To.splice(-tt.lgSize,To.length).join(""));To.length>tt.gSize;)U.unshift(To.splice(-tt.gSize,To.length).join(""));To.length&&U.unshift(To.join("")),fi=U.join(Lt(Ce,mt)),L.length&&(fi+=Lt(Ce,Ht)+L.join("")),$&&(fi+=Lt(Ce,At.Exponential)+"+"+$)}else fi=Lt(Ce,At.Infinity);return fi=Ae<0&&!mo?tt.negPre+fi+tt.negSuf:tt.posPre+fi+tt.posSuf,fi}(Ae,function ye(Ae,tt="-"){const Ce={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},mt=Ae.split(";"),Ht=mt[0],En=mt[1],wn=-1!==Ht.indexOf(".")?Ht.split("."):[Ht.substring(0,Ht.lastIndexOf("0")+1),Ht.substring(Ht.lastIndexOf("0")+1)],fi=wn[0],mo=wn[1]||"";Ce.posPre=fi.substr(0,fi.indexOf("#"));for(let io=0;io<mo.length;io++){const ao=mo.charAt(io);"0"===ao?Ce.minFrac=Ce.maxFrac=io+1:"#"===ao?Ce.maxFrac=io+1:Ce.posSuf+=ao}const _o=fi.split(",");if(Ce.gSize=_o[1]?_o[1].length:0,Ce.lgSize=_o[2]||_o[1]?(_o[2]||_o[1]).length:0,En){const io=Ht.length-Ce.posPre.length-Ce.posSuf.length,ao=En.indexOf("#");Ce.negPre=En.substr(0,ao).replace(/'/g,""),Ce.negSuf=En.substr(ao+io).replace(/'/g,"")}else Ce.negPre=tt+Ce.posPre,Ce.negSuf=Ce.posSuf;return Ce}(function It(Ae,tt){return(0,i.cg1)(Ae)[i.wAp.NumberFormats][tt]}(tt,Se.Decimal),Lt(tt,At.MinusSign)),tt,At.Group,At.Decimal,Ce)}(function Wa(Ae){if("string"==typeof Ae&&!isNaN(Number(Ae)-parseFloat(Ae)))return Number(Ae);if("number"!=typeof Ae)throw new Error(`${Ae} is not a number`);return Ae}(Ce),Ht,mt)}catch(En){throw G()}}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)(i.Y36(i.soG,16))},Ae.\u0275pipe=i.Yjl({name:"number",type:Ae,pure:!0}),Ae})();let os=(()=>{class Ae{transform(Ce,mt,Ht){if(null==Ce)return null;if(!this.supports(Ce))throw G();return Ce.slice(mt,Ht)}supports(Ce){return"string"==typeof Ce||Array.isArray(Ce)}}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)},Ae.\u0275pipe=i.Yjl({name:"slice",type:Ae,pure:!1}),Ae})(),ba=(()=>{class Ae{}return Ae.\u0275fac=function(Ce){return new(Ce||Ae)},Ae.\u0275mod=i.oAB({type:Ae}),Ae.\u0275inj=i.cJS({}),Ae})();const Ra="browser";function lo(Ae){return Ae===Ra}let jo=(()=>{class Ae{}return Ae.\u0275prov=(0,i.Yz7)({token:Ae,providedIn:"root",factory:()=>new $a((0,i.LFG)(C),window)}),Ae})();class $a{constructor(tt,Ce){this.document=tt,this.window=Ce,this.offset=()=>[0,0]}setOffset(tt){this.offset=Array.isArray(tt)?()=>tt:tt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(tt){this.supportsScrolling()&&this.window.scrollTo(tt[0],tt[1])}scrollToAnchor(tt){if(!this.supportsScrolling())return;const Ce=function ya(Ae,tt){const Ce=Ae.getElementById(tt)||Ae.getElementsByName(tt)[0];if(Ce)return Ce;if("function"==typeof Ae.createTreeWalker&&Ae.body&&(Ae.body.createShadowRoot||Ae.body.attachShadow)){const mt=Ae.createTreeWalker(Ae.body,NodeFilter.SHOW_ELEMENT);let Ht=mt.currentNode;for(;Ht;){const En=Ht.shadowRoot;if(En){const wn=En.getElementById(tt)||En.querySelector(`[name="${tt}"]`);if(wn)return wn}Ht=mt.nextNode()}}return null}(this.document,tt);Ce&&(this.scrollToElement(Ce),Ce.focus())}setHistoryScrollRestoration(tt){if(this.supportScrollRestoration()){const Ce=this.window.history;Ce&&Ce.scrollRestoration&&(Ce.scrollRestoration=tt)}}scrollToElement(tt){const Ce=tt.getBoundingClientRect(),mt=Ce.left+this.window.pageXOffset,Ht=Ce.top+this.window.pageYOffset,En=this.offset();this.window.scrollTo(mt-En[0],Ht-En[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const tt=Ya(this.window.history)||Ya(Object.getPrototypeOf(this.window.history));return!(!tt||!tt.writable&&!tt.set)}catch(tt){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(tt){return!1}}}function Ya(Ae){return Object.getOwnPropertyDescriptor(Ae,"scrollRestoration")}class Oo{}},520:(Yt,Ze,m)=>{"use strict";m.d(Ze,{JF:()=>Je,LE:()=>c,TP:()=>Vt,UA:()=>nt,WM:()=>R,eN:()=>At,jN:()=>S});var i=m(60),s=m(5e3),e=m(9646),l=m(9751),d=m(4351),A=m(9300),C=m(4004);class T{}class S{}class R{constructor(ge){this.normalizedNames=new Map,this.lazyUpdate=null,ge?this.lazyInit="string"==typeof ge?(
vendor: 4,289 bytes, line 1
1)=>{this.headers=new Map,ge.split("\n").forEach(et=>{const _t=et.indexOf(":");if(_t>0){const jt=et.slice(0,_t),Xt=jt.toLowerCase(),Cn=et.slice(_t+1).trim();this.maybeSetNormalizedName(jt,Xt),this.headers.has(Xt)?this.headers.get(Xt).push(Cn):this.headers.set(Xt,[Cn])}})}:()=>{this.headers=new Map,Object.keys(ge).forEach(et=>{let _t=ge[et];const jt=et.toLowerCase();"string"==typeof _t&&(_t=[_t]),_t.length>0&&(this.headers.set(jt,_t),this.maybeSetNormalizedName(et,jt))})}:this.headers=new Map}has(ge){return this.init(),this.headers.has(ge.toLowerCase())}get(ge){this.init();const et=this.headers.get(ge.toLowerCase());return et&&et.length>0?et[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ge){return this.init(),this.headers.get(ge.toLowerCase())||null}append(ge,et){return this.clone({name:ge,value:et,op:"a"})}set(ge,et){return this.clone({name:ge,value:et,op:"s"})}delete(ge,et){return this.clone({name:ge,value:et,op:"d"})}maybeSetNormalizedName(ge,et){this.normalizedNames.has(et)||this.normalizedNames.set(et,ge)}init(){this.lazyInit&&(this.lazyInit instanceof R?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ge=>this.applyUpdate(ge)),this.lazyUpdate=null))}copyFrom(ge){ge.init(),Array.from(ge.headers.keys()).forEach(et=>{this.headers.set(et,ge.headers.get(et)),this.normalizedNames.set(et,ge.normalizedNames.get(et))})}clone(ge){const et=new R;return et.lazyInit=this.lazyInit&&this.lazyInit instanceof R?this.lazyInit:this,et.lazyUpdate=(this.lazyUpdate||[]).concat([ge]),et}applyUpdate(ge){const et=ge.name.toLowerCase();switch(ge.op){case"a":case"s":let _t=ge.value;if("string"==typeof _t&&(_t=[_t]),0===_t.length)return;this.maybeSetNormalizedName(ge.name,et);const jt=("a"===ge.op?this.headers.get(et):void 0)||[];jt.push(..._t),this.headers.set(et,jt);break;case"d":const Xt=ge.value;if(Xt){let Cn=this.headers.get(et);if(!Cn)return;Cn=Cn.filter(Hn=>-1===Xt.indexOf(Hn)),0===Cn.length?(this.headers.delete(et),this.normalizedNames.delete(et)):this.headers.set(et,Cn)}else this.headers.delete(et),this.normalizedNames.delete(et)}}forEach(ge){this.init(),Array.from(this.normalizedNames.keys()).forEach(et=>ge(this.normalizedNames.get(et),this.headers.get(et)))}}class q{encodeKey(ge){return O(ge)}encodeValue(ge){return O(ge)}decodeKey(ge){return decodeURIComponent(ge)}decodeValue(ge){return decodeURIComponent(ge)}}const k=/%(\d[a-f0-9])/gi,h={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function O(Ve){return encodeURIComponent(Ve).replace(k,(ge,et)=>{var _t;return null!==(_t=h[et])&&void 0!==_t?_t:ge})}function E(Ve){return`${Ve}`}class c{constructor(ge={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ge.encoder||new q,ge.fromString){if(ge.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function w(Ve,ge){const et=new Map;return Ve.length>0&&Ve.replace(/^\?/,"").split("&").forEach(jt=>{const Xt=jt.indexOf("="),[Cn,Hn]=-1==Xt?[ge.decodeKey(jt),""]:[ge.decodeKey(jt.slice(0,Xt)),ge.decodeValue(jt.slice(Xt+1))],Kn=et.get(Cn)||[];Kn.push(Hn),et.set(Cn,Kn)}),et}(ge.fromString,this.encoder)}else ge.fromObject?(this.map=new Map,Object.keys(ge.fromObject).forEach(et=>{const _t=ge.fromObject[et];this.map.set(et,Array.isArray(_t)?_t:[_t])})):this.map=null}has(ge){return this.init(),this.map.has(ge)}get(ge){this.init();const et=this.map.get(ge);return et?et[0]:null}getAll(ge){return this.init(),this.map.get(ge)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ge,et){return this.clone({param:ge,value:et,op:"a"})}appendAll(ge){const et=[];return Object.keys(ge).forEach(_t=>{const jt=ge[_t];Array.isArray(jt)?jt.forEach(Xt=>{et.push({param:_t,value:Xt,op:"a"})}):et.push({param:_t,value:jt,op:"a"})}),this.clone(et)}set(ge,et){return this.clone({param:ge,value:et,op:"s"})}delete(ge,et){return this.clone({param:ge,value:et,op:"d"})}toString(){return this.init(),this.keys().map(ge=>{const et=this.encoder.encodeKey(ge);return this.map.get(ge).map(_t=>et+"="+this.encoder.encodeValue(_t)).join("&")}).filter(ge=>""!==ge).join("&")}clone(ge){const et=new c({encoder:this.encoder});return et.cloneFrom=this.cloneFrom||this,et.updates=(this.updates||[]).concat(ge),et}
1init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ge=>this.map.set(ge,this.cloneFrom.map.get(ge))),this.updates.forEach(ge=>{switch(ge.op){case"a":case"s":const et=("a"===ge.op?this.map.get(ge.param):void 0)||[];et.push(E(ge.value)),this.map.set(ge.param,et);break;case"d":if(void 0===ge.value){this.map.delete(ge.param);break}{let _t=this.map.get(ge.param)||[];const jt=_t.indexOf(E(ge.value));-1!==jt&&_t.splice(jt,1),_t.length>0?this.map.set(ge.param,_t):this.map.delete(ge.param)}}}),this.cloneFrom=this.updates=null)}}class v{constructor(){this.map=new Map}set(ge,et){return this.map.set(ge,et),this}get(ge){return this.map.has(ge)||this.map.set(ge,ge.defaultValue()),this.map.get(ge)}delete(ge){return this.map.delete(ge),this}has(ge){return this.map.has(ge)}keys(){return this.map.keys()}}function X(Ve){return"undefined"!=typeof ArrayBuffer&&Ve instanceof ArrayBuffer}function te(Ve){return"undefined"!=typeof Blob&&Ve instanceof Blob}function _e(Ve){return"undefined"!=typeof FormData&&Ve instanceof FormData}class oe{constructor(ge,et,_t,jt){let Xt;if(this.url=et,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ge.toUpperCase(),function ee(Ve){switch(Ve){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||jt?(this.body=void 0!==_t?_t:null,Xt=jt):Xt=_t,Xt&&(this.reportProgress=!!Xt.reportProgress,this.withCredentials=!!Xt.withCredentials,Xt.responseType&&(this.responseType=Xt.responseType),Xt.headers&&(this.headers=Xt.headers),Xt.context&&(this.context=Xt.context),Xt.params&&(this.params=Xt.params)),this.headers||(this.headers=new R),this.context||(this.context=new v),this.params){const Cn=this.params.toString();if(0===Cn.length)this.urlWithParams=et;else{const Hn=et.indexOf("?");this.urlWithParams=et+(-1===Hn?"?":Hn<et.length-1?"&":"")+Cn}}else this.params=new c,this.urlWithParams=et}serializeBody(){return null===this.body?null:X(this.body)||te(this.body)||_e(this.body)||function ne(Ve){return"undefined"!=typeof URLSearchParams&&Ve instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof c?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_e(this.body)?null:te(this.body)?this.body.type||null:X(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof c?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ge={}){var et;const _t=ge.method||this.method,jt=ge.url||this.url,Xt=ge.responseType||this.responseType,Cn=void 0!==ge.body?ge.body:this.body,Hn=void 0!==ge.withCredentials?ge.withCredentials:this.withCredentials,Kn=void 0!==ge.reportProgress?ge.reportProgress:this.reportProgress;let Bn=ge.headers||this.headers,di=ge.params||this.params;const ui=null!==(et=ge.context)&&void 0!==et?et:this.context;return void 0!==ge.setHeaders&&(Bn=Object.keys(ge.setHeaders).reduce((Di,In)=>Di.set(In,ge.setHeaders[In]),Bn)),ge.setParams&&(di=Object.keys(ge.setParams).reduce((Di,In)=>Di.set(In,ge.setParams[In]),di)),new oe(_t,jt,Cn,{params:di,headers:Bn,context:ui,reportProgress:Kn,responseType:Xt,withCredentials:Hn})}}var he=(()=>((he=he||{})[he.Sent=0]="Sent",he[he.UploadProgress=1]="UploadProgress",he[he.ResponseHeader=2]="ResponseHeader",he[he.DownloadProgress=3]="DownloadProgress",he[he.Response=4]="Response",he[he.User=5]="User",he))();class Se{constructor(ge,et=200,_t="OK"){this.headers=ge.headers||new R,this.status=void 0!==ge.status?ge.status:et,this.statusText=ge.statusText||_t,this.url=ge.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Se{constructor(ge={}){super(ge),this.type=he.ResponseHeader}clone(ge={}){return new Be({headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class ot extends Se{constructor(ge={}){super(ge),this.type=he.Response,this.body=void 0!==ge.body?ge.body:null}clone(ge={}){return new ot({body:void 0!==ge.body?ge.body:this.body,headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class nt extends Se{constructor(ge){super(ge,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ge.url||"(unknown url)"}`:`Http failure response for ${ge.url||"(unknown url)"}: ${ge.status} ${ge.statusText}`,this.error=ge.error||null}}function xt(Ve,ge){return{body:ge,headers:Ve.headers,context:Ve.context,observe:Ve.observe,params:Ve.params,reportProgress:Ve.reportProgress,responseType:Ve.responseType,withCredentials:Ve.withCredentials}}let At=(()=>{class Ve{constructor(et){this.handler=et}request(et,_t,jt={}){let Xt;if(et instanceof oe)Xt=et;else{let Kn,Bn;Kn=jt.headers instanceof R?jt.headers:new R(jt.headers),jt.params&&(Bn=jt.params instanceof c?jt.params:new c({fromObject:jt.params})),Xt=new oe(et,_t,void 0!==jt.body?jt.body:null,{headers:Kn,context:jt.context,params:Bn,reportProgress:jt.reportProgress,responseType:jt.responseType||"json",withCredentials:jt.withCredentials})}const Cn=(0,e.of)(Xt).pipe((0,d.b)(Kn=>this.handler.handle(Kn)));if(et instanceof oe||"events"===jt.observe)return Cn;const Hn=Cn.pipe((0,A.h)(Kn=>Kn instanceof ot));switch(jt.observe||"body"){case"body":switch(Xt.responseType){case"arraybuffer":return Hn.pipe((0,C.U)(Kn=>{if(null!==Kn.body&&!(Kn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Kn.body}));case"blob":return Hn.pipe((0,C.U)(Kn=>{if(null!==Kn.body&&!(Kn.body instanceof Blob))throw new Error("Response is not a Blob.");return Kn.body}));case"text":return Hn.pipe((0,C.U)(Kn=>{if(null!==Kn.body&&"string"!=typeof Kn.body)throw new Error("Response is not a string.");return Kn.body}));default:return Hn.pipe((0,C.U)(Kn=>Kn.body))}case"response":return Hn;default:throw new Error(`Unreachable: unhandled observe type ${jt.observe}}`)}}delete(et,_t={}){return this.request("DELETE",et,_t)}get(et,_t={}){return this.request("GET",et,_t)}head(et,_t={}){return this.request("HEAD",et,_t)}jsonp(et,_t){return this.request("JSONP",et,{params:(new c).append(_t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(et,_t={}){return this.request("OPTIONS",et,_t)}patch(et,_t,jt={}){return this.request("PATCH",et,xt(jt,_t))}post(et,_t,jt={}){return this.request("POST",et,xt(jt,_t))}put(et,_t,jt={}){return this.request("PUT",et,xt(jt,_t))}}return Ve.\u0275fac=function(et){return new(et||Ve)(s.LFG(T))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();class Qt{constructor(ge,et){this.next=ge,this.interceptor=et}handle(ge){return this.interceptor.intercept(ge,this.next)}}const Vt=new s.OlP("HTTP_INTERCEPTORS");let dt=(()=>{class Ve{intercept(et,_t){return _t.handle(et)}}return Ve.\u0275fac=function(et){return new(et||Ve)},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();const Lt=/^\)\]\}',?\n/;let it=(()=>{class Ve{constructor(et){this.xhrFactory=et}handle(et){if("JSONP"===et.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new l.y(_t=>{const jt=this.xhrFactory.build();if(jt.open(et.method,et.urlWithParams),et.withCredentials&&(jt.withCredentials=!0),et.headers.forEac
1h((In,Fn)=>jt.setRequestHeader(In,Fn.join(","))),et.headers.has("Accept")||jt.setRequestHeader("Accept","application/json, text/plain, */*"),!et.headers.has("Content-Type")){const In=et.detectContentTypeHeader();null!==In&&jt.setRequestHeader("Content-Type",In)}if(et.responseType){const In=et.responseType.toLowerCase();jt.responseType="json"!==In?In:"text"}const Xt=et.serializeBody();let Cn=null;const Hn=()=>{if(null!==Cn)return Cn;const In=jt.statusText||"OK",Fn=new R(jt.getAllResponseHeaders()),ei=function It(Ve){return"responseURL"in Ve&&Ve.responseURL?Ve.responseURL:/^X-Request-URL:/m.test(Ve.getAllResponseHeaders())?Ve.getResponseHeader("X-Request-URL"):null}(jt)||et.url;return Cn=new Be({headers:Fn,status:jt.status,statusText:In,url:ei}),Cn},Kn=()=>{let{headers:In,status:Fn,statusText:ei,url:Vi}=Hn(),gt=null;204!==Fn&&(gt=void 0===jt.response?jt.responseText:jt.response),0===Fn&&(Fn=gt?200:0);let He=Fn>=200&&Fn<300;if("json"===et.responseType&&"string"==typeof gt){const Oe=gt;gt=gt.replace(Lt,"");try{gt=""!==gt?JSON.parse(gt):null}catch(pt){gt=Oe,He&&(He=!1,gt={error:pt,text:gt})}}He?(_t.next(new ot({body:gt,headers:In,status:Fn,statusText:ei,url:Vi||void 0})),_t.complete()):_t.error(new nt({error:gt,headers:In,status:Fn,statusText:ei,url:Vi||void 0}))},Bn=In=>{const{url:Fn}=Hn(),ei=new nt({error:In,status:jt.status||0,statusText:jt.statusText||"Unknown Error",url:Fn||void 0});_t.error(ei)};let di=!1;const ui=In=>{di||(_t.next(Hn()),di=!0);let Fn={type:he.DownloadProgress,loaded:In.loaded};In.lengthComputable&&(Fn.total=In.total),"text"===et.responseType&&!!jt.responseText&&(Fn.partialText=jt.responseText),_t.next(Fn)},Di=In=>{let Fn={type:he.UploadProgress,loaded:In.loaded};In.lengthComputable&&(Fn.total=In.total),_t.next(Fn)};return jt.addEventListener("load",Kn),jt.addEventListener("error",Bn),jt.addEventListener("timeout",Bn),jt.addEventListener("abort",Bn),et.reportProgress&&(jt.addEventListener("progress",ui),null!==Xt&&jt.upload&&jt.upload.addEventListener("progress",Di)),jt.send(Xt),_t.next({type:he.Sent}),()=>{jt.removeEventListener("error",Bn),jt.removeEventListener("abort",Bn),jt.removeEventListener("load",Kn),jt.removeEventListener("timeout",Bn),et.reportProgress&&(jt.removeEventListener("progress",ui),null!==Xt&&jt.upload&&jt.upload.removeEventListener("progress",Di)),jt.readyState!==jt.DONE&&jt.abort()}})}}return Ve.\u0275fac=function(et){return new(et||Ve)(s.LFG(i.JF))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();const wt=new s.OlP("XSRF_COOKIE_NAME"),le=new s.OlP("XSRF_HEADER_NAME");class Ne{}let Ut=(()=>{class Ve{constructor(et,_t,jt){this.doc=et,this.platform=_t,this.cookieName=jt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const et=this.doc.cookie||"";return et!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(et,this.cookieName),this.lastCookieString=et),this.lastToken}}return Ve.\u0275fac=function(et){return new(et||Ve)(s.LFG(i.K0),s.LFG(s.Lbi),s.LFG(wt))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})(),pn=(()=>{class Ve{constructor(et,_t){this.tokenService=et,this.headerName=_t}intercept(et,_t){const jt=et.url.toLowerCase();if("GET"===et.method||"HEAD"===et.method||jt.startsWith("http://")||jt.startsWith("https://"))return _t.handle(et);const Xt=this.tokenService.getToken();return null!==Xt&&!et.headers.has(this.headerName)&&(et=et.clone({headers:et.headers.set(this.headerName,Xt)})),_t.handle(et)}}return Ve.\u0275fac=function(et){return new(et||Ve)(s.LFG(Ne),s.LFG(le))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})(),Dn=(()=>{class Ve{constructor(et,_t){this.backend=et,this.injector=_t,this.chain=null}handle(et){if(null===this.chain){const _t=this.injector.get(Vt,[]);this.chain=_t.reduceRight((jt,Xt)=>new Qt(jt,Xt),this.backend)}return this.chain.handle(et)}}return Ve.\u0275fac=function(et){return new(et||Ve)(s.LFG(S),s.LFG(s.zs3))},Ve.\u0275prov=s.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})(),Ue=(()=>{class Ve{static disable(){return{ngModule:Ve,providers:[{provide:pn,useClass:dt}]}}static withOptions(et={}){return{ngModule:Ve,providers:[et.cookieName?{provide:wt,useValue:et.cookieName}:[],et.headerName?{provide:le,useValue:et.headerName}:[]]}}}return Ve.\u0275fac=function(et){return new(et||Ve)},Ve.\u0275mod=s.oAB({type:Ve}),Ve.\u0275inj=s.cJS({providers:[pn,{provide:Vt,useExisting:pn,multi:!0},{provide:Ne,useClass:Ut},{provide:wt,useValue:"XSRF-TOKEN"},{provide:le,useValue:"X-XSRF-TOKEN"}
1]}),Ve})(),Je=(()=>{class Ve{}return Ve.\u0275fac=function(et){return new(et||Ve)},Ve.\u0275mod=s.oAB({type:Ve}),Ve.\u0275inj=s.cJS({providers:[At,{provide:T,useClass:Dn},it,{provide:S,useExisting:it}],imports:[[Ue.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ve})()},5e3:(Yt,Ze,m)=>{"use strict";m.d(Ze,{$8M:()=>tl,$Z:()=>wm,AFp:()=>Gf,ALo:()=>uf,AaK:()=>T,AsE:()=>gd,B6R:()=>fn,BQk:()=>__,CHM:()=>Do,CRH:()=>Tf,CZH:()=>Qd,CqO:()=>Zm,DdM:()=>ef,Dn7:()=>gf,EJc:()=>oA,EiD:()=>ah,EpF:()=>Pm,F$t:()=>Vm,F4k:()=>Rm,FYo:()=>Kg,FiY:()=>ys,G48:()=>MA,Gf:()=>Of,GfV:()=>Qg,GkF:()=>ad,Gpc:()=>q,Gre:()=>lg,HOy:()=>vd,HTZ:()=>rf,Hsn:()=>Um,Ikx:()=>xd,JOm:()=>Or,JVY:()=>av,Jf7:()=>rh,L6k:()=>sv,LAX:()=>cv,LFG:()=>Yi,LSH:()=>fp,Lbi:()=>tA,MAs:()=>Cm,MGl:()=>p_,NdJ:()=>rd,O4$:()=>N,OlP:()=>fa,Oqu:()=>u_,PXZ:()=>_c,Q6J:()=>nd,QGY:()=>sd,Qsj:()=>cx,R0b:()=>_r,RDi:()=>Ya,Rgc:()=>Tl,SBq:()=>Al,Sil:()=>sA,Suo:()=>Mf,TTD:()=>Fa,TgZ:()=>r_,Tol:()=>zm,Udp:()=>ud,VKq:()=>tf,VLi:()=>gA,W1O:()=>Sf,WFA:()=>cd,WLB:()=>nf,XFs:()=>Mn,Xpm:()=>Ft,Y36:()=>ml,YKP:()=>Wg,YNc:()=>vm,Yjl:()=>ct,Yz7:()=>ft,ZZ4:()=>su,_Bn:()=>$g,_UZ:()=>od,_Vd:()=>x_,_c5:()=>wl,_uU:()=>ag,aQg:()=>ru,c2e:()=>nA,cJS:()=>Et,cg1:()=>Ed,d8E:()=>Ad,dDg:()=>Xf,deG:()=>$_,dqk:()=>Bn,dwT:()=>s0,eBb:()=>rv,eFA:()=>t1,ekj:()=>hd,f3M:()=>Qa,g9A:()=>S_,gL8:()=>bd,h0i:()=>Jc,hGG:()=>qA,hYB:()=>pd,hij:()=>h_,iGM:()=>Ef,ifc:()=>jt,ip1:()=>Qf,kEZ:()=>af,kL8:()=>Cg,kcU:()=>xe,l5B:()=>sf,lG2:()=>st,lcZ:()=>hf,lnq:()=>fd,mCW:()=>cl,n5z:()=>el,n_E:()=>E_,oAB:()=>An,oJD:()=>sh,oxw:()=>Lm,pB0:()=>lv,q3G:()=>ca,qLn:()=>Jl,qOj:()=>Gp,qZA:()=>c_,qzn:()=>oc,s9C:()=>_d,sBO:()=>TA,sIi:()=>ul,s_b:()=>M_,soG:()=>Jd,tBr:()=>Ua,tb:()=>Wf,tp0:()=>Ys,uIk:()=>Hp,uOi:()=>Gl,vHH:()=>O,vpe:()=>Pr,wAp:()=>Hi,xDo:()=>Cd,xi3:()=>mf,xp6:()=>hh,yhl:()=>Wu,ynx:()=>l_,z2F:()=>eu,z3N:()=>Lr,zSh:()=>$p,zs3:()=>Ir});var i=m(7579),s=m(727),e=m(9751),l=m(6451),d=m(3099);function A(a){for(let r in a)if(a[r]===A)return r;throw Error("Could not find renamed property on target object.")}function C(a,r){for(const p in r)r.hasOwnProperty(p)&&!a.hasOwnProperty(p)&&(a[p]=r[p])}function T(a){if("string"==typeof a)return a;if(Array.isArray(a))return"["+a.map(T).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return`${a.overriddenName}`;if(a.name)return`${a.name}`;const r=a.toString();if(null==r)return""+r;const p=r.indexOf("\n");return-1===p?r:r.substring(0,p)}function S(a,r){return null==a||""===a?null===r?"":r:null==r||""===r?a:a+" "+r}const R=A({__forward_ref__:A});function q(a){return a.__forward_ref__=q,a.toString=function(){return T(this())},a}function w(a){return k(a)?a():a}function k(a){return"function"==typeof a&&a.hasOwnProperty(R)&&a.__forward_ref__===q}class O extends Error{constructor(r,p){super(function E(a,r){return`NG0${Math.abs(a)}${r?": "+r:""}`}(r,p)),this.code=r}}function c(a){return"string"==typeof a?a:null==a?"":String(a)}function Z(a){return"function"==typeof a?a.name||a.toString():"object"==typeof a&&null!=a&&"function"==typeof a.type?a.type.name||a.type.toString():c(a)}function te(a,r){const p=r?` in ${r}`:"";throw new O(-201,`No provider for ${Z(a)} found${p}`)}function Mt(a,r){null==a&&function we(a,r,p,g){throw new Error(`ASSERTION ERROR: ${a}`+(null==g?"":` [Expected=> ${p} ${g} ${r} <=Actual]`))}(r,a,null,"!=")}function ft(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}}function Et(a){return{providers:a.providers||[],imports:a.imports||[]}}function Lt(a){return It(a,Ne)||It(a,pn)}function It(a,r){return a.hasOwnProperty(r)?a[r]:null}function le(a){return a&&(a.hasOwnProperty(Ut)||a.hasOwnProperty(Dn))?a[Ut]:null}const Ne=A({\u0275prov:A}),Ut=A({\u0275inj:A}),pn=A({ngInjectableDef:A}),Dn=A({ngInjectorDef:A});var Mn=(()=>((Mn=Mn||{})[Mn.Default=0]="Default",Mn[Mn.Host=1]="Host",Mn[Mn.Self=2]="Self",Mn[Mn.SkipSelf=4]="SkipSelf",Mn[Mn.Optional=8]="Optional",Mn))();let rn;function Je(a){const r=rn;return rn=a,r}function De(a,r,p){const g=Lt(a);return g&&"root"==g.providedIn?void 0===g.value?g.value=g.factory():g.value:p&Mn.Optional?null:void 0!==r?r:void te(T(a),"Injector")}function Ve(a){return{toString:a}.toString()}var ge=(()=>((ge=ge||{})[ge.OnPush=0]="OnPush",ge[ge.Default=1]="Default",ge))(),jt=(()=>{return(a=jt||(jt={}))[a.Emulated=0]="Emulated",a[a.None=2]="None",a[a.ShadowDom=3]="ShadowDom",jt;var a})();const Xt="undefined"!=typeof globalThis&&globalThis,Cn="undefined"!=typeof window&&window,Hn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Bn=Xt||"undefined"!=typeof global&&global||Cn||Hn,Di={},In=[],Fn=A({\u0275cmp:A}),ei=A({\u0275dir:A}),Vi=A({\u0275pipe:A}),gt=A({\u0275mod:A}),He=A({\u0275fac:A}),Oe=A({__NG_ELEMENT_ID__:A});let pt=0;function Ft(a){return Ve(()=>{const p={},g={type:a.type,providersResolver:null,decls:a.decls,vars:a.vars,factory:null,template:a.template||null,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.c
1ontentQueries||null,declaredInputs:p,inputs:null,outputs:null,exportAs:a.exportAs||null,onPush:a.changeDetection===ge.OnPush,directiveDefs:null,pipeDefs:null,selectors:a.selectors||In,viewQuery:a.viewQuery||null,features:a.features||null,data:a.data||{},encapsulation:a.encapsulation||jt.Emulated,id:"c",styles:a.styles||In,_:null,setInput:null,schemas:a.schemas||null,tView:null},b=a.directives,I=a.features,F=a.pipes;return g.id+=pt++,g.inputs=Xe(a.inputs,p),g.outputs=Xe(a.outputs),I&&I.forEach(W=>W(g)),g.directiveDefs=b?()=>("function"==typeof b?b():b).map(Zn):null,g.pipeDefs=F?()=>("function"==typeof F?F():F).map(ni):null,g})}function fn(a,r,p){const g=a.\u0275cmp;g.directiveDefs=()=>r.map(Zn),g.pipeDefs=()=>p.map(ni)}function Zn(a){return $t(a)||function un(a){return a[ei]||null}(a)}function ni(a){return function $n(a){return a[Vi]||null}(a)}const ln={};function An(a){return Ve(()=>{const r={type:a.type,bootstrap:a.bootstrap||In,declarations:a.declarations||In,imports:a.imports||In,exports:a.exports||In,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null};return null!=a.id&&(ln[a.id]=a.type),r})}function Xe(a,r){if(null==a)return Di;const p={};for(const g in a)if(a.hasOwnProperty(g)){let b=a[g],I=b;Array.isArray(b)&&(I=b[1],b=b[0]),p[b]=g,r&&(r[b]=I)}return p}const st=Ft;function ct(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,onDestroy:a.type.prototype.ngOnDestroy||null}}function $t(a){return a[Fn]||null}function Qn(a,r){const p=a[gt]||null;if(!p&&!0===r)throw new Error(`Type ${T(a)} does not have '\u0275mod' property.`);return p}function go(a){return Array.isArray(a)&&"object"==typeof a[1]}function wo(a){return Array.isArray(a)&&!0===a[1]}function Ao(a){return 0!=(8&a.flags)}function Fo(a){return 2==(2&a.flags)}function ua(a){return 1==(1&a.flags)}function yt(a){return null!==a.template}function $e(a){return 0!=(512&a[2])}function Ho(a,r){return a.hasOwnProperty(He)?a[He]:null}class cs{constructor(r,p,g){this.previousValue=r,this.currentValue=p,this.firstChange=g}isFirstChange(){return this.firstChange}}function Fa(){return Wa}function Wa(a){return a.type.prototype.ngOnChanges&&(a.setInput=Ha),os}function os(){const a=Ra(this),r=null==a?void 0:a.current;if(r){const p=a.previous;if(p===Di)a.previous=r;else for(let g in r)p[g]=r[g];a.current=null,this.ngOnChanges(r)}}function Ha(a,r,p,g){const b=Ra(a)||function Za(a,r){return a[ba]=r}(a,{previous:Di,current:null}),I=b.current||(b.current={}),F=b.previous,W=this.declaredInputs[p],se=F[W];I[W]=new cs(se&&se.currentValue,r,F===Di),a[g]=r}Fa.ngInherit=!0;const ba="__ngSimpleChanges__";function Ra(a){return a[ba]||null}let $a;function Ya(a){$a=a}function ya(){return void 0!==$a?$a:"undefined"!=typeof document?document:void 0}function Oo(a){return!!a.listen}const Ae={createRenderer:(a,r)=>ya()};function Ce(a){for(;Array.isArray(a);)a=a[0];return a}function En(a,r){return Ce(r[a])}function wn(a,r){return Ce(r[a.index])}function mo(a,r){return a.data[r]}function _o(a,r){return a[r]}function io(a,r){const p=r[a];return go(p)?p:p[0]}function ao(a){return 4==(4&a[2])}function No(a){return 128==(128&a[2])}function ve(a,r){return null==r?null:a[r]}function $(a){a[18]=0}function L(a,r){a[5]+=r;let p=a,g=a[3];for(;null!==g&&(1===r&&1===p[5]||-1===r&&0===p[5]);)g[5]+=r,p=g,g=g[3]}const U={lFrame:eo(null),bindingsEnabled:!0};function Wn(){return U.bindingsEnabled}function gn(){return U.lFrame.lView}function ri(){return U.lFrame.tView}function Do(a){return U.lFrame.contextLView=a,a[8]}function so(){let a=xa();for(;null!==a&&64===a.type;)a=a.parent;return a}function xa(){return U.lFrame.currentTNode}function Sa(a,r){const p=U.lFrame;p.currentTNode=a,p.isParent=r}function zs(){return U.lFrame.isParent}function Xs(){U.lFrame.isParent=!1}function Ea(){const a=U.lFrame;let r=a.bindingRootIndex;return-1===r&&(r=a.bindingRootIndex=a.tView.bindingStartIndex),r}function Xa(){return U.lFrame.bindingIndex}function B(){return U.lFrame.bindingIndex++}function j(a){const r=U.lFrame,p=r.bindingIndex;return r.bindingIndex=r.bindingIndex+a,p}function Tt(a,r){const p=U.lFrame;p.bindingIndex=p.bindingRootIndex=a,Jt(r)}function Jt(a){U.lFrame.currentDirectiveIndex=a}function sn(a){const r=U.lFrame.currentDirectiveIndex;return-1===r?null:a[r]}function Vn(){return U.lFrame.currentQueryIndex}function li(a){U.lFrame.currentQueryIndex=a}function wi(a){const r=a[1];return 2===r.type?r.declTNode:1===r.type?a[6]:null}function Qi(a,r,p){if(p&Mn.SkipSelf){let b=r,I=a;for(;!(b=b.parent,null!==b||p&Mn.Host||(b=wi(I),null===b||(I=I[15],10&b.type))););if(null===b)return!1;r=b,a=I}const g=U.lFrame=Ui();return g.currentTNode=r,g.lView=a,!0}function Xi(a){const r=Ui(),p=a[1];
vendor: 5,138 bytes, line 1
1U.lFrame=r,r.currentTNode=p.firstChild,r.lView=a,r.tView=p,r.contextLView=a,r.bindingIndex=p.bindingStartIndex,r.inI18n=!1}function Ui(){const a=U.lFrame,r=null===a?null:a.child;return null===r?eo(a):r}function eo(a){const r={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:a,child:null,inI18n:!1};return null!==a&&(a.child=r),r}function Io(){const a=U.lFrame;return U.lFrame=a.parent,a.currentTNode=null,a.lView=null,a}const Ko=Io;function Qo(){const a=Io();a.isParent=!0,a.tView=null,a.selectedIndex=-1,a.contextLView=null,a.elementDepthCount=0,a.currentDirectiveIndex=-1,a.currentNamespace=null,a.bindingRootIndex=-1,a.bindingIndex=-1,a.currentQueryIndex=0}function zo(){return U.lFrame.selectedIndex}function sa(a){U.lFrame.selectedIndex=a}function po(){const a=U.lFrame;return mo(a.tView,a.selectedIndex)}function N(){U.lFrame.currentNamespace="svg"}function xe(){!function ke(){U.lFrame.currentNamespace=null}()}function Bt(a,r){for(let p=r.directiveStart,g=r.directiveEnd;p<g;p++){const I=a.data[p].type.prototype,{ngAfterContentInit:F,ngAfterContentChecked:W,ngAfterViewInit:se,ngAfterViewChecked:Le,ngOnDestroy:ze}=I;F&&(a.contentHooks||(a.contentHooks=[])).push(-p,F),W&&((a.contentHooks||(a.contentHooks=[])).push(p,W),(a.contentCheckHooks||(a.contentCheckHooks=[])).push(p,W)),se&&(a.viewHooks||(a.viewHooks=[])).push(-p,se),Le&&((a.viewHooks||(a.viewHooks=[])).push(p,Le),(a.viewCheckHooks||(a.viewCheckHooks=[])).push(p,Le)),null!=ze&&(a.destroyHooks||(a.destroyHooks=[])).push(p,ze)}}function nn(a,r,p){xn(a,r,3,p)}function en(a,r,p,g){(3&a[2])===p&&xn(a,r,p,g)}function cn(a,r){let p=a[2];(3&p)===r&&(p&=2047,p+=1,a[2]=p)}function xn(a,r,p,g){const I=null!=g?g:-1,F=r.length-1;let W=0;for(let se=void 0!==g?65535&a[18]:0;se<F;se++)if("number"==typeof r[se+1]){if(W=r[se],null!=g&&W>=g)break}else r[se]<0&&(a[18]+=65536),(W<I||-1==I)&&(ti(a,p,r,se),a[18]=(4294901760&a[18])+se+2),se++}function ti(a,r,p,g){const b=p[g]<0,I=p[g+1],W=a[b?-p[g]:p[g]];if(b){if(a[2]>>11<a[18]>>16&&(3&a[2])===r){a[2]+=2048;try{I.call(W)}finally{}}}else try{I.call(W)}finally{}}class oo{constructor(r,p,g){this.factory=r,this.resolving=!1,this.canSeeViewProviders=p,this.injectImpl=g}}function Na(a,r,p){const g=Oo(a);let b=0;for(;b<p.length;){const I=p[b];if("number"==typeof I){if(0!==I)break;b++;const F=p[b++],W=p[b++],se=p[b++];g?a.setAttribute(r,W,se,F):r.setAttributeNS(F,W,se)}else{const F=I,W=p[++b];es(F)?g&&a.setProperty(r,F,W):g?a.setAttribute(r,F,W):r.setAttribute(F,W),b++}}return b}function Fs(a){return 3===a||4===a||6===a}function es(a){return 64===a.charCodeAt(0)}function ja(a,r){if(null!==r&&0!==r.length)if(null===a||0===a.length)a=r.slice();else{let p=-1;for(let g=0;g<r.length;g++){const b=r[g];"number"==typeof b?p=b:0===p||Ts(a,p,b,null,-1===p||2===p?r[++g]:null)}}return a}function Ts(a,r,p,g,b){let I=0,F=a.length;if(-1===r)F=-1;else for(;I<a.length;){const W=a[I++];if("number"==typeof W){if(W===r){F=-1;break}if(W>r){F=I-1;break}}}for(;I<a.length;){const W=a[I];if("number"==typeof W)break;if(W===p){if(null===g)return void(null!==b&&(a[I+1]=b));if(g===a[I+1])return void(a[I+2]=b)}I++,null!==g&&I++,null!==b&&I++}-1!==F&&(a.splice(F,0,r),I=F+1),a.splice(I++,0,p),null!==g&&a.splice(I++,0,g),null!==b&&a.splice(I++,0,b)}function xc(a){return-1!==a}function Ps(a){return 32767&a}function gr(a,r){let p=function Fr(a){return a>>16}(a),g=r;for(;p>0;)g=g[15],p--;return g}let Br=!0;function Rr(a){const r=Br;return Br=a,r}let K=0;function Re(a,r){const p=qt(a,r);if(-1!==p)return p;const g=r[1];g.firstCreatePass&&(a.injectorIndex=r.length,ht(g.data,a),ht(r,null),ht(g.blueprint,null));const b=Kt(a,r),I=a.injectorIndex;if(xc(b)){const F=Ps(b),W=gr(b,r),se=W[1].data;for(let Le=0;Le<8;Le++)r[I+Le]=W[F+Le]|se[F+Le]}return r[I+8]=b,I}function ht(a,r){a.push(0,0,0,0,0,0,0,0,r)}function qt(a,r){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===r[a.injectorIndex+8]?-1:a.injectorIndex}function Kt(a,r){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;let p=0,g=null,b=r;for(;null!==b;){const I=b[1],F=I.type;if(g=2===F?I.declTNode:1===F?b[6]:null,null===g)return-1;if(p++,b=b[15],-1!==g.injectorIndex)return g.injectorIndex|p<<16}return-1}function yn(a,r,p){!function be(a,r,p){let g;"string"==typeof p?g=p.charCodeAt(0)||0:p.hasOwnProperty(Oe)&&(g=p[Oe]),null==g&&(g=p[Oe]=K++);const b=255&g;r.data[a+(b>>5)]|=1<<b}(a,r,p)}function vo(a,r,p){if(p&Mn.Optional)return a;te(r,"NodeInjector")}function Ri(a,r,p,g){if(p&Mn.Optional&&void 0===g&&(g=null),0==(p&(Mn.Self|Mn.Host))){const b=a[9],I=Je(void 0);try{return b?b.get(r,g,p&Mn.Optional):De(r,g,p&Mn.Optional)}finally{Je(I)}}return vo(g,r,p)}function Lo(a,r,p,g=Mn.Default,b){if(null!==a){const I=function Bs(a){if("string"==typeof a)return a.charCodeAt(0)||0;const r=a.hasOwnProperty(Oe)?a[Oe]:void 0;return"number"==typeof r?r>=0?255&r:gs:r}(p);if("function"==typeof I){if(!Qi(r,a,g))return g&Mn.Host?vo(b,p,g):Ri(r,p,g,b);try{const F=I(g);
1if(null!=F||g&Mn.Optional)return F;te(p)}finally{Ko()}}else if("number"==typeof I){let F=null,W=qt(a,r),se=-1,Le=g&Mn.Host?r[16][6]:null;for((-1===W||g&Mn.SkipSelf)&&(se=-1===W?Kt(a,r):r[W+8],-1!==se&&La(g,!1)?(F=r[1],W=Ps(se),r=gr(se,r)):W=-1);-1!==W;){const ze=r[1];if(Zr(I,W,ze.data)){const Rt=Ds(W,r,p,F,g,Le);if(Rt!==Po)return Rt}se=r[W+8],-1!==se&&La(g,r[1].data[W+8]===Le)&&Zr(I,W,r)?(F=ze,W=Ps(se),r=gr(se,r)):W=-1}}}return Ri(r,p,g,b)}const Po={};function gs(){return new Is(so(),gn())}function Ds(a,r,p,g,b,I){const F=r[1],W=F.data[a+8],ze=fr(W,F,p,null==g?Fo(W)&&Br:g!=F&&0!=(3&W.type),b&Mn.Host&&I===W);return null!==ze?tr(r,F,ze,W):Po}function fr(a,r,p,g,b){const I=a.providerIndexes,F=r.data,W=1048575&I,se=a.directiveStart,ze=I>>20,zt=b?W+ze:a.directiveEnd;for(let _n=g?W:W+ze;_n<zt;_n++){const kn=F[_n];if(_n<se&&p===kn||_n>=se&&kn.type===p)return _n}if(b){const _n=F[se];if(_n&&yt(_n)&&_n.type===p)return se}return null}function tr(a,r,p,g){let b=a[p];const I=r.data;if(function Eo(a){return a instanceof oo}(b)){const F=b;F.resolving&&function v(a,r){const p=r?`. Dependency path: ${r.join(" > ")} > ${a}`:"";throw new O(-200,`Circular dependency in DI detected for ${a}${p}`)}(Z(I[p]));const W=Rr(F.canSeeViewProviders);F.resolving=!0;const se=F.injectImpl?Je(F.injectImpl):null;Qi(a,g,Mn.Default);try{b=a[p]=F.factory(void 0,I,a,g),r.firstCreatePass&&p>=g.directiveStart&&function Pt(a,r,p){const{ngOnChanges:g,ngOnInit:b,ngDoCheck:I}=r.type.prototype;if(g){const F=Wa(r);(p.preOrderHooks||(p.preOrderHooks=[])).push(a,F),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(a,F)}b&&(p.preOrderHooks||(p.preOrderHooks=[])).push(0-a,b),I&&((p.preOrderHooks||(p.preOrderHooks=[])).push(a,I),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(a,I))}(p,I[p],r)}finally{null!==se&&Je(se),Rr(W),F.resolving=!1,Ko()}}return b}function Zr(a,r,p){return!!(p[r+(a>>5)]&1<<a)}function La(a,r){return!(a&Mn.Self||a&Mn.Host&&r)}class Is{constructor(r,p){this._tNode=r,this._lView=p}get(r,p,g){return Lo(this._tNode,this._lView,r,g,p)}}function el(a){return Ve(()=>{const r=a.prototype.constructor,p=r[He]||Ac(r),g=Object.prototype;let b=Object.getPrototypeOf(a.prototype).constructor;for(;b&&b!==g;){const I=b[He]||Ac(b);if(I&&I!==p)return I;b=Object.getPrototypeOf(b)}return I=>new I})}function Ac(a){return k(a)?()=>{const r=Ac(w(a));return r&&r()}:Ho(a)}function tl(a){return function Ei(a,r){if("class"===r)return a.classes;if("style"===r)return a.styles;const p=a.attrs;if(p){const g=p.length;let b=0;for(;b<g;){const I=p[b];if(Fs(I))break;if(0===I)b+=2;else if("number"==typeof I)for(b++;b<g&&"string"==typeof p[b];)b++;else{if(I===r)return p[b+1];b+=2}}}return null}(so(),a)}const nr="__parameters__";function Yr(a,r,p){return Ve(()=>{const g=function Ec(a){return function(...p){if(a){const g=a(...p);for(const b in g)this[b]=g[b]}}}(r);function b(...I){if(this instanceof b)return g.apply(this,I),this;const F=new b(...I);return W.annotation=F,W;function W(se,Le,ze){const Rt=se.hasOwnProperty(nr)?se[nr]:Object.defineProperty(se,nr,{value:[]})[nr];for(;Rt.length<=ze;)Rt.push(null);return(Rt[ze]=Rt[ze]||[]).push(F),se}}return p&&(b.prototype=Object.create(p.prototype)),b.prototype.ngMetadataName=a,b.annotationCls=b,b})}class fa{constructor(r,p){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof p?this.__NG_ELEMENT_ID__=p:void 0!==p&&(this.\u0275prov=ft({token:this,providedIn:p.providedIn||"root",factory:p.factory}))}toString(){return`InjectionToken ${this._desc}`}}const $_=new fa("AnalyzeForEntryComponents");function vs(a,r){void 0===r&&(r=a);for(let p=0;p<a.length;p++){let g=a[p];Array.isArray(g)?(r===a&&(r=a.slice(0,p)),vs(g,r)):r!==a&&r.push(g)}return r}function $s(a,r){a.forEach(p=>Array.isArray(p)?$s(p,r):r(p))}function nl(a,r,p){r>=a.length?a.push(p):a.splice(r,0,p)}function xr(a,r){return r>=a.length-1?a.pop():a.splice(r,1)[0]}function Ar(a,r){const p=[];for(let g=0;g<a;g++)p.push(r);return p}function f(a,r,p){let g=M(a,r);return g>=0?a[1|g]=p:(g=~g,function Q_(a,r,p,g){let b=a.length;if(b==r)a.push(p,g);else if(1===b)a.push(g,a[0]),a[0]=p;else{for(b--,a.push(a[b-1],a[b]);b>r;)a[b]=a[b-2],b--;
1a[r]=p,a[r+1]=g}}(a,g,r,p)),g}function x(a,r){const p=M(a,r);if(p>=0)return a[1|p]}function M(a,r){return function V(a,r,p){let g=0,b=a.length>>p;for(;b!==g;){const I=g+(b-g>>1),F=a[I<<p];if(r===F)return I<<p;F>r?b=I:g=I+1}return~(b<<p)}(a,r,1)}const On={},Sn="__NG_DI_FLAG__",Un="ngTempTokenPath",Xn=/\n/gm,pi="__source",vi=A({provide:String,useValue:A});let yi;function ro(a){const r=yi;return yi=a,r}function Mo(a,r=Mn.Default){if(void 0===yi)throw new O(203,"");return null===yi?De(a,void 0,r):yi.get(a,r&Mn.Optional?null:void 0,r)}function Yi(a,r=Mn.Default){return(function Ue(){return rn}()||Mo)(w(a),r)}const Qa=Yi;function ls(a){const r=[];for(let p=0;p<a.length;p++){const g=w(a[p]);if(Array.isArray(g)){if(0===g.length)throw new O(900,"");let b,I=Mn.Default;for(let F=0;F<g.length;F++){const W=g[F],se=$o(W);"number"==typeof se?-1===se?b=W.token:I|=se:b=W}r.push(Yi(b,I))}else r.push(Yi(g))}return r}function Uo(a,r){return a[Sn]=r,a.prototype[Sn]=r,a}function $o(a){return a[Sn]}const Ua=Uo(Yr("Inject",a=>({token:a})),-1),ys=Uo(Yr("Optional"),8),Ys=Uo(Yr("SkipSelf"),4);var Or=(()=>((Or=Or||{})[Or.Important=1]="Important",Or[Or.DashCase=2]="DashCase",Or))();const yu="__ngContext__";function us(a,r){a[yu]=r}function J_(a){const r=function ol(a){return a[yu]||null}(a);return r?Array.isArray(r)?r:r.lView:null}function H_(a,r){return undefined(a,r)}function al(a){const r=a[3];return wo(r)?r[3]:r}function z_(a){return Lu(a[13])}function X_(a){return Lu(a[4])}function Lu(a){for(;null!==a&&!wo(a);)a=a[4];return a}function Ic(a,r,p,g,b){if(null!=g){let I,F=!1;wo(g)?I=g:go(g)&&(F=!0,g=g[0]);const W=Ce(g);0===a&&null!==p?null==b?ta(r,p,W):tc(r,p,W,b||null,!0):1===a&&null!==p?tc(r,p,W,b||null,!0):2===a?function rp(a,r,p){const g=kl(a,r);g&&function G1(a,r,p,g){Oo(a)?a.removeChild(r,p,g):r.removeChild(p)}(a,g,r,p)}(r,W,F):3===a&&r.destroyNode(W),null!=I&&function W1(a,r,p,g,b){const I=p[7];I!==Ce(p)&&Ic(r,a,g,I,b);for(let W=10;W<p.length;W++){const se=p[W];sl(se[1],se,a,r,g,I)}}(r,a,I,p,b)}}function tp(a,r,p){if(Oo(a))return a.createElement(r,p);{const g=null!==p?function jo(a){const r=a.toLowerCase();return"svg"===r?"http://www.w3.org/2000/svg":"math"===r?"http://www.w3.org/1998/MathML/":null}(p):null;return null===g?a.createElement(r):a.createElementNS(g,r)}}function Uu(a,r){const p=a[9],g=p.indexOf(r),b=r[3];1024&r[2]&&(r[2]&=-1025,L(b,-1)),p.splice(g,1)}function np(a,r){if(a.length<=10)return;const p=10+r,g=a[p];if(g){const b=g[17];null!==b&&b!==a&&Uu(b,g),r>0&&(a[p-1][4]=g[4]);const I=xr(a,10+r);!function k1(a,r){sl(a,r,r[11],2,null,null),r[0]=null,r[6]=null}(g[1],g);const F=I[19];null!==F&&F.detachView(I[1]),g[3]=null,g[4]=null,g[2]&=-129}return g}function qu(a,r){if(!(256&r[2])){const p=r[11];Oo(p)&&p.destroyNode&&sl(a,r,p,3,null,null),function $1(a){let r=a[13];if(!r)return ip(a[1],a);for(;r;){let p=null;if(go(r))p=r[13];else{const g=r[10];g&&(p=g)}if(!p){for(;r&&!r[4]&&r!==a;)go(r)&&ip(r[1],r),r=r[3];null===r&&(r=a),go(r)&&ip(r[1],r),p=r&&r[4]}r=p}}(r)}}function ip(a,r){if(!(256&r[2])){r[2]&=-129,r[2]|=256,function Q1(a,r){let p;if(null!=a&&null!=(p=a.destroyHooks))for(let g=0;g<p.length;g+=2){const b=r[p[g]];if(!(b instanceof oo)){const I=p[g+1];if(Array.isArray(I))for(let F=0;F<I.length;F+=2){const W=b[I[F]],se=I[F+1];try{se.call(W)}finally{}}else try{I.call(b)}finally{}}}}(a,r),function K1(a,r){const p=a.cleanup,g=r[7];let b=-1;if(null!==p)for(let I=0;I<p.length-1;I+=2)if("string"==typeof p[I]){const F=p[I+1],W="function"==typeof F?F(r):Ce(r[F]),se=g[b=p[I+2]],Le=p[I+3];"boolean"==typeof Le?W.removeEventListener(p[I],se,Le):Le>=0?g[b=Le]():g[b=-Le].unsubscribe(),I+=2}else{const F=g[b=p[I+1]];p[I].call(F)}if(null!==g){for(let I=b+1;I<g.length;I++)g[I]();r[7]=null}}(a,r),1===r[1].type&&Oo(r[11])&&r[11].destroy();const p=r[17];if(null!==p&&wo(r[3])){p!==r[3]&&Uu(p,r);const g=r[19];null!==g&&g.detachView(a)}}}function ku(a,r,p){return function Fu(a,r,p){let g=r;for(;null!==g&&40&g.type;)g=(r=g).parent;if(null===g)return p[0];if(2&g.flags){const b=a.data[g.directiveStart].encapsulation;if(b===jt.None||b===jt.Emulated)return null}return wn(g,p)}(a,r.parent,p)}function tc(a,r,p,g,b){Oo(a)?a.insertBefore(r,p,g,b):r.insertBefore(p,g,b)}function ta(a,r,p){Oo(a)?a.appendChild(r,p):r.appendChild(p)}function Bu(a,r,p,g,b){null!==g?tc(a,r,p,g,b):ta(a,r,p)}function kl(a,r){return Oo(a)?a.parentNode(r):r.parentNode}function Ni(a,r,p){return $u(a,r,p)}let $l,Yl,$u=function op(a,r,p){return 40&a.type?wn(a,p):null};function Fl(a,r,p,g){const b=ku(a,g,r),I=r[11],W=Ni(g.parent||r[6],g,r);if(null!=b)if(Array.isArray(p))for(let se=0;se<p.length;se++)Bu(I,b,p[se],W,!1);else Bu(I,b,p,W,!1)}function Bl(a,r){if(null!==r){const p=r.type;if(3&p)return wn(r,a);if(4&p)return sp(-1,a[r.index]);if(8&p){const g=r.child;if(null!==g)return Bl(a,g);{const b=a[r.index];return wo(b)?sp(-1,b):Ce(b)}}if(32&p)return H_(r,a)()||Ce(a[r.index]);{const g=ju(a,r);return null!==g?Array.isArray(g)?g[0]:Bl(al(a[16]),g):Bl(a,r.next)}}return null}function ju(a,r){return null!==r?a[16][6].projection[r.projection]:null}function sp(a,r){const p=10+a+1;if(p<r.length){const g=r[p],b=g[1].firstChild;if(null!==b)return Bl(g,b)}return r[7]}function cp(a,r,p,g,b,I,F){for(;null!=p;){const W=g[p.index],se=p.type;if(F&&0===r&&(W&&us(Ce(W),g),p.flags|=4),64!=(64&p.flags))if(8&se)cp(a,r,p.child,g,b,I,
1!1),Ic(r,a,b,W,I);else if(32&se){const Le=H_(p,g);let ze;for(;ze=Le();)Ic(r,a,b,ze,I);Ic(r,a,b,W,I)}else 16&se?Ku(a,r,g,p,b,I):Ic(r,a,b,W,I);p=F?p.projectionNext:p.next}}function sl(a,r,p,g,b,I){cp(p,g,a.firstChild,r,b,I,!1)}function Ku(a,r,p,g,b,I){const F=p[16],se=F[6].projection[g.projection];if(Array.isArray(se))for(let Le=0;Le<se.length;Le++)Ic(r,a,b,se[Le],I);else cp(a,r,se,F[3],b,I,!0)}function lp(a,r,p){Oo(a)?a.setAttribute(r,"style",p):r.style.cssText=p}function _p(a,r,p){Oo(a)?""===p?a.removeAttribute(r,"class"):a.setAttribute(r,"class",p):r.className=p}function nc(a){var r;return(null===(r=function pp(){if(void 0===$l&&($l=null,Bn.trustedTypes))try{$l=Bn.trustedTypes.createPolicy("angular",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return $l}())||void 0===r?void 0:r.createHTML(a))||a}function dp(){if(void 0===Yl&&(Yl=null,Bn.trustedTypes))try{Yl=Bn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch(a){}return Yl}function Qu(a){var r;return(null===(r=dp())||void 0===r?void 0:r.createHTML(a))||a}function Ju(a){var r;return(null===(r=dp())||void 0===r?void 0:r.createScriptURL(a))||a}class ic{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class tv extends ic{getTypeName(){return"HTML"}}class nv extends ic{getTypeName(){return"Style"}}class Qr extends ic{getTypeName(){return"Script"}}class iv extends ic{getTypeName(){return"URL"}}class ov extends ic{getTypeName(){return"ResourceURL"}}function Lr(a){return a instanceof ic?a.changingThisBreaksApplicationSecurity:a}function oc(a,r){const p=Wu(a);if(null!=p&&p!==r){if("ResourceURL"===p&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${p} (see https://g.co/ng/security#xss)`)}return p===r}function Wu(a){return a instanceof ic&&a.getTypeName()||null}function av(a){return new tv(a)}function sv(a){return new nv(a)}function rv(a){return new Qr(a)}function cv(a){return new iv(a)}function lv(a){return new ov(a)}class _v{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r="<body><remove></remove>"+r;try{const p=(new window.DOMParser).parseFromString(nc(r),"text/html").body;return null===p?this.inertDocumentHelper.getInertBodyElement(r):(p.removeChild(p.firstChild),p)}catch(p){return null}}}class jl{constructor(r){if(this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const p=this.inertDocument.createElement("html");this.inertDocument.appendChild(p);const g=this.inertDocument.createElement("body");p.appendChild(g)}}getInertBodyElement(r){const p=this.inertDocument.createElement("template");if("content"in p)return p.innerHTML=nc(r),p;const g=this.inertDocument.createElement("body");return g.innerHTML=nc(r),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(g),g}stripCustomNsAttrs(r){const p=r.attributes;for(let b=p.length-1;0<b;b--){const F=p.item(b).name;("xmlns:ns1"===F||0===F.indexOf("ns1:"))&&r.removeAttribute(F)}let g=r.firstChild;for(;g;)g.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(g),g=g.nextSibling}}const dv=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,zu=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function cl(a){return(a=String(a)).match(dv)||a.match(zu)?a:"unsafe:"+a}function Mr(a){const r={};for(const p of a.split(","))r[p]=!0;return r}function ll(...a){const r={};for(const p of a)for(const g in p)p.hasOwnProperty(g)&&(r[g]=!0);return r}const eh=Mr("area,br,col,hr,img,wbr"),th=Mr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nh=Mr("rp,rt"),hp=ll(eh,ll(th,Mr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ll(nh,Mr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ll(nh,th)),mp=Mr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kl=Mr("srcset"),ih=ll(mp,Kl,Mr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Mr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),uv=Mr("script,style,template");class hv{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let p=r.firstChild,g=!0;for(;p;)if(p.nodeType===Node.ELEMENT_NODE?g=this.startElement(p):p.nodeType===Node.TEXT_NODE?this.chars(p.nodeValue):this.sanitizedSomething=!0,g&&p.firstChild)p=p.firstChild;else for(;p;){p.nodeType===Node.ELEMENT_NODE&&this.endElement(p);let b=this.checkClobberedElement(p,p.nextSibling);if(b){p=b;break}p=this.checkClobberedElement(p,p.parentNode)}return this.buf.join("")}startElement(r){const p=r.nodeName.toLowerCase();if(!hp.hasOwnProperty(p))return this.sanitizedSomething=!0,!uv.hasOwnProperty(p);this.buf.push("<"),this.buf.push(p);const g=r.attributes;for(let b=0;b<g.length;b++){const I=g.item(b),F=I.name,W=F.toLowerCase();if(!ih.hasOwnProperty(W)){this.sanitizedSomething=!0;continue}let se=I.value;mp[W]&&(se=cl(se)),Kl[W]&&(a=se,se=(a=String(a)).split(",").map(r=>cl(r.trim())).join(", ")),this.buf.push(" ",F,'="',oh(se),'"')}var a;return this.buf.push(">"),!0}endElement(r){const p=r.nodeName.toLowerCase();hp.hasOwnProperty(p)&&!eh.hasOwnProperty(p)&&(this.buf.push("</"),this.buf.push(p),this.buf.push(">"))}chars(r){this.buf.push(oh(r))}checkClobberedElement(r,p){if(p&&(r.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return p}}const mv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gv=/([^\#-~ |!])/g;function oh(a){return a.replace(/&/g,"&amp;").replace(mv,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(gv,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ql;function ah(a,r){let p=null;try{Ql=Ql||function Hu(a){const r=new jl(a);return function pv(){try{return!!(new window.DOMParser).parseFromString(nc(""),"text/html")}catch(a){return!1}}()?new _v(r):r}(a);let g=r?String(r):"";p=Ql.getInertBodyElement(g);let b=5,I=g;do{if(0===b)throw new Error("Failed to sanitize html because the input is unstable");b--,g=I,I=p.innerHTML,p=Ql.getInertBodyElement(g)}while(g!==I);return nc((new hv).sanitizeChildren(gp(p)||p))}finally{if(p){const g=gp(p)||p;for(;g.firstChild;)g.removeChild(g.firstChild)}}}function gp(a){return"content"in a&&function fv(a){return a.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===a.nodeName}(a)?a.content:null}var ca=(()=>((ca=ca||{})[ca.NONE=0]="NONE",ca[ca.HTML=1]="HTML",ca[ca.STYLE=2]="STYLE",ca[ca.SCRIPT=3]="SCRIPT",ca[ca.URL=4]="URL",ca[ca.RESOURCE_URL=5]="RESOURCE_URL",ca))();function sh(a){const r=_l();return r?Qu(r.sanitize(ca.HTML,a)||""):oc(a,"HTML")?Qu(Lr(a)):ah(ya(),c(a))}function fp(a){const r=_l();return r?r.sanitize(ca.URL,a)||"":oc(a,"URL")?Lr(a):cl(c(a))}function Gl(a){const r=_l();if(r)return Ju(r.sanitize(ca.RESOURCE_URL,a)||"");if(oc(a,"ResourceURL"))return Ju(Lr(a));throw new O(904,"")}function _l(){const a=gn();return a&&a[12]}function vp(a){return a.ngOriginalError}function Tv(a,...r){a.error(...r)}class Jl{constructor(){this._console=console}handleError(r){const p=this._findOriginalError(r),g=function Cp(a){return a&&a.ngErrorLogger||Tv}(r);g(this._console,"ERROR",r),p&&g(this._console,"ORIGINAL ERROR",p)}_findOriginalError(r){let p=r&&vp(r);for(;p&&vp(p);)p=vp(p);return p||null}}const Wl=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Bn))();function rh(a){return a.ownerDocument.defaultView}function Tr(a){return a instanceof Function?a():a}function lh(a,r,p){let g=a.length;for(;;){const b=a.indexOf(r,p);if(-1===b)return b;if(0===b||a.charCodeAt(b-1)<=32){const I=r.length;if(b+I===g||a.charCodeAt(b+I)<=32)return b}p=b+1}}const _h="ng-template";function Nv(a,r,p){let g=0;for(;g<a.length;){let b=a[g++];if(p&&"class"===b){if(b=a[g],-1!==lh(b.toLowerCase(),r,0))return!0}else if(1===b){for(;g<a.length&&"string"==typeof(b=a[g++]);)if(b.toLowerCase()===r)return!0;return!1}}return!1}function ph(a){return 4===a.type&&a.value!==_h}function Lv(a,r,p){return r===(4!==a.type||p?a.value:_h)}function Vv(a,r,p){let g=4;const b=a.attrs||[],I=function bs(a){for(let r=0;r<a.length;r++)if(Fs(a[r]))return r;return a.length}(b);let F=!1;for(let W=0;W<r.length;W++){const se=r[W];if("number"!=typeof se){if(!F)if(4&g){if(g=2|1&g,""!==se&&!Lv(a,se,p)||""===se&&1===r.length){if(ir(g))return!1;F=!0}}else{const Le=8&g?se:r[++W];if(8&g&&null!==a.attrs){if(!Nv(a.attrs,Le,p)){if(ir(g))return!1;F=!0}continue}const Rt=Uv(8&g?"class":se,b,ph(a),p);if(-1===Rt){if(ir(g))return!1;F=!0;continue}if(""!==Le){let zt;zt=Rt>I?"":b[Rt+1].toLowerCase();const _n=8&g?zt:null;if(_n&&-1!==lh(_n,Le,0)||2&g&&Le!==zt){if(ir(g))return!1;F=!0}}}}else{if(!F&&!ir(g)&&!ir(se))return!1;if(F&&ir(se))continue;F=!1,g=se|1&g}}return ir(g)||F}function ir(a){return 0==(1&a)}function Uv(a,r,p,g){if(null===r)return-1;let b=0;if(g||!p){let I=!1;for(;b<r.length;){const F=r[b];if(F===a)return b;if(3===F||6===F)I=!0;else{if(1===F||2===F){let W=r[++b];for(;"string"==typeof W;)W=r[++b];continue}if(4===F)break;if(0===F){b+=4;continue}}b+=I?1:2}return-1}return function kv(a,r){let p=a.indexOf(4);if(p>-1)for(p++;p<a.length;){const g=a[p];if("number"==typeof g)return-1;if(g===r)return p;p++}return-1}(r,a)}function dh(a,r,p=!1){for(let g=0;g<r.length;g++)if(Vv(a,r[g],p))return!0;return!1}function Fv(a,r){e:for(let p=0;p<r.length;p++){const g=r[p];if(a.length===g.length){for(let b=0;b<a.length;b++)if(a[b]!==g[b])continue e;return!0}}return!1}function uh(a,r){return a?":not("+r.trim()+")":r}function Bv(a){let r=a[0],p=1,g=2,b="",I=!1;for(;p<a.length;){let F=a[p];if("string"==typeof F)if(2&g){const W=a[++p];b+="["+F+(W.length>0?'="'+W+'"':"")+"]"}else 8&g?b+="."+F:4&g&&(b+=" "+F);else""!==b&&!ir(F)&&(r+=uh(I,b),b=""),g=F,I=I||!ir(g);p++}return""!==b&&(r+=uh(I,b)),r}const Co={};function hh(a){mh(ri(),gn(),zo()+a,!1)}function mh(a,r,p,g){if(!g)if(3==(3&r[2])){const I=a.preOrderCheckHooks;null!==I&&nn(r,I,p)}else{const I=a.preOrderHooks;null!==I&&en(r,I,0,p)}sa(p)}function Hl(a,r){return a<<17|r<<2}function or(a){return a>>17&32767}function bp(a){return 2|a}function Vr(a){return(131068&a)>>2}function xp(a,r){return-131069&a|r<<2}function Ap(a){return 1|a}function Th(a,r){const p=a.contentQueries;if(null!==p)for(let g=0;g<p.length;g+=2){const b=p[g],I=p[g+1];if(-1!==I){const F=a.data[I];li(b),F.contentQueries(2,r[I],I)}}}function pl(a,r,p,g,b,I,F,W,se,Le){const ze=r.blueprint.slice();return ze[0]=b,ze[2]=140|g,$(ze),ze[3]=ze[15]=a,ze[8]=p,ze[10]=F||a&&a[10],ze[11]=W||a&&a[11],ze[12]=se||a&&a[12]||null,ze[9]=Le||a&&a[9]||null,ze[6]=I,ze[16]=2==r.type?a[16]:ze,ze}function wc(a,r,p,g,b){let I=a.data[r];if(null===I)I=function wp(a,r,p,g,b){const I=xa(),F=zs(),se=a.data[r]=function sC(a,r,p,g,b,I){return{type:p,index:g,insertBeforeIndex:null,injectorIndex:r?r.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:b,attrs:I,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:r,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,F?I:I&&I.parent,p,r,g,b);return null===a.firstChild&&(a.firstChild=se),null!==I&&(F?null==I.child&&null!==se.parent&&(I.child=se):null===I.next&&(I.next=se)),se}(a,r,p,g,b),function pe(){return U.lFrame.inI18n}()&&(I.flags|=64);
1else if(64&I.type){I.type=p,I.value=g,I.attrs=b;const F=function Aa(){const a=U.lFrame,r=a.currentTNode;return a.isParent?r:r.parent}();I.injectorIndex=null===F?-1:F.injectorIndex}return Sa(I,!0),I}function Pc(a,r,p,g){if(0===p)return-1;const b=r.length;for(let I=0;I<p;I++)r.push(g),a.blueprint.push(g),a.data.push(null);return b}function dl(a,r,p){Xi(r);try{const g=a.viewQuery;null!==g&&Fp(1,g,p);const b=a.template;null!==b&&Dh(a,r,b,1,p),a.firstCreatePass&&(a.firstCreatePass=!1),a.staticContentQueries&&Th(a,r),a.staticViewQueries&&Fp(2,a.viewQuery,p);const I=a.components;null!==I&&function iC(a,r){for(let p=0;p<r.length;p++)EC(a,r[p])}(r,I)}catch(g){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),g}finally{r[2]&=-5,Qo()}}function Rc(a,r,p,g){const b=r[2];if(256!=(256&b)){Xi(r);try{$(r),function Fe(a){return U.lFrame.bindingIndex=a}(a.bindingStartIndex),null!==p&&Dh(a,r,p,2,g);const F=3==(3&b);if(F){const Le=a.preOrderCheckHooks;null!==Le&&nn(r,Le,null)}else{const Le=a.preOrderHooks;null!==Le&&en(r,Le,0,null),cn(r,0)}if(function xC(a){for(let r=z_(a);null!==r;r=X_(r)){if(!r[2])continue;const p=r[9];for(let g=0;g<p.length;g++){const b=p[g],I=b[3];0==(1024&b[2])&&L(I,1),b[2]|=1024}}}(r),function bC(a){for(let r=z_(a);null!==r;r=X_(r))for(let p=10;p<r.length;p++){const g=r[p],b=g[1];No(g)&&Rc(b,g,b.template,g[8])}}(r),null!==a.contentQueries&&Th(a,r),F){const Le=a.contentCheckHooks;null!==Le&&nn(r,Le)}else{const Le=a.contentHooks;null!==Le&&en(r,Le,1),cn(r,1)}!function tC(a,r){const p=a.hostBindingOpCodes;if(null!==p)try{for(let g=0;g<p.length;g++){const b=p[g];if(b<0)sa(~b);else{const I=b,F=p[++g],W=p[++g];Tt(F,I),W(2,r[I])}}}finally{sa(-1)}}(a,r);const W=a.components;null!==W&&function nC(a,r){for(let p=0;p<r.length;p++)AC(a,r[p])}(r,W);const se=a.viewQuery;if(null!==se&&Fp(2,se,g),F){const Le=a.viewCheckHooks;null!==Le&&nn(r,Le)}else{const Le=a.viewHooks;null!==Le&&en(r,Le,2),cn(r,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1),r[2]&=-73,1024&r[2]&&(r[2]&=-1025,L(r[3],-1))}finally{Qo()}}}function oC(a,r,p,g){const b=r[10],F=ao(r);try{!F&&b.begin&&b.begin(),F&&dl(a,r,g),Rc(a,r,p,g)}finally{!F&&b.end&&b.end()}}function Dh(a,r,p,g,b){const I=zo(),F=2&g;try{sa(-1),F&&r.length>20&&mh(a,r,20,!1),p(g,b)}finally{sa(I)}}function Wr(a,r,p){if(Ao(r)){const b=r.directiveEnd;for(let I=r.directiveStart;I<b;I++){const F=a.data[I];F.contentQueries&&F.contentQueries(1,p[I],I)}}}function Pp(a,r,p){!Wn()||(function dC(a,r,p,g){const b=p.directiveStart,I=p.directiveEnd;a.firstCreatePass||Re(p,r),us(g,r);const F=p.initialInputs;for(let W=b;W<I;W++){const se=a.data[W],Le=yt(se);Le&&fC(r,p,se);const ze=tr(r,a,W,p);us(ze,r),null!==F&&vC(0,W-b,ze,se,0,F),Le&&(io(p.index,r)[8]=ze)}}(a,r,p,wn(p,r)),128==(128&p.flags)&&function uC(a,r,p){const g=p.directiveStart,b=p.directiveEnd,F=p.index,W=function Gt(){return U.lFrame.currentDirectiveIndex}();try{sa(F);for(let se=g;se<b;se++){const Le=a.data[se],ze=r[se];Jt(se),(null!==Le.hostBindings||0!==Le.hostVars||null!==Le.hostAttrs)&&Nh(Le,ze)}}finally{sa(-1),Jt(W)}}(a,r,p))}function Rp(a,r,p=wn){const g=r.localNames;if(null!==g){let b=r.index+1;for(let I=0;I<g.length;I+=2){const F=g[I+1],W=-1===F?p(r,a):a[F];a[b++]=W}}}function Ih(a){const r=a.tView;return null===r||r.incompleteFirstPass?a.tView=e_(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts):r}function e_(a,r,p,g,b,I,F,W,se,Le){const ze=20+g,Rt=ze+b,zt=function aC(a,r){const p=[];for(let g=0;g<r;g++)p.push(g<a?null:Co);return p}(ze,Rt),_n="function"==typeof Le?Le():Le;return zt[1]={type:a,blueprint:zt,template:p,queries:null,viewQuery:W,declTNode:r,data:zt.slice().fill(null,ze),bindingStartIndex:ze,expandoStartIndex:Rt,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof I?I():I,pipeRegistry:"function"==typeof F?F():F,firstChild:null,schemas:se,consts:_n,incompleteFirstPass:!1}
1}function wh(a,r,p,g){const b=kh(r);null===p?b.push(g):(b.push(p),a.firstCreatePass&&Fh(a).push(g,b.length-1))}function Ph(a,r,p){for(let g in a)if(a.hasOwnProperty(g)){const b=a[g];(p=null===p?{}:p).hasOwnProperty(g)?p[g].push(r,b):p[g]=[r,b]}return p}function Zs(a,r,p,g,b,I,F,W){const se=wn(r,p);let ze,Le=r.inputs;!W&&null!=Le&&(ze=Le[g])?(Yh(a,p,ze,g,b),Fo(r)&&function cC(a,r){const p=io(r,a);16&p[2]||(p[2]|=64)}(p,r.index)):3&r.type&&(g=function rC(a){return"class"===a?"className":"for"===a?"htmlFor":"formaction"===a?"formAction":"innerHtml"===a?"innerHTML":"readonly"===a?"readOnly":"tabindex"===a?"tabIndex":a}(g),b=null!=F?F(b,r.value||"",g):b,Oo(I)?I.setProperty(se,g,b):es(g)||(se.setProperty?se.setProperty(g,b):se[g]=b))}function Np(a,r,p,g){let b=!1;if(Wn()){const I=function hC(a,r,p){const g=a.directiveRegistry;let b=null;if(g)for(let I=0;I<g.length;I++){const F=g[I];dh(p,F.selectors,!1)&&(b||(b=[]),yn(Re(p,r),a,F.type),yt(F)?(Lh(a,p),b.unshift(F)):b.push(F))}return b}(a,r,p),F=null===g?null:{"":-1};if(null!==I){b=!0,Vh(p,a.data.length,I.length);for(let ze=0;ze<I.length;ze++){const Rt=I[ze];Rt.providersResolver&&Rt.providersResolver(Rt)}let W=!1,se=!1,Le=Pc(a,r,I.length,null);for(let ze=0;ze<I.length;ze++){const Rt=I[ze];p.mergedAttrs=ja(p.mergedAttrs,Rt.hostAttrs),sr(a,p,r,Le,Rt),gC(Le,Rt,F),null!==Rt.contentQueries&&(p.flags|=8),(null!==Rt.hostBindings||null!==Rt.hostAttrs||0!==Rt.hostVars)&&(p.flags|=128);
1const zt=Rt.type.prototype;!W&&(zt.ngOnChanges||zt.ngOnInit||zt.ngDoCheck)&&((a.preOrderHooks||(a.preOrderHooks=[])).push(p.index),W=!0),!se&&(zt.ngOnChanges||zt.ngDoCheck)&&((a.preOrderCheckHooks||(a.preOrderCheckHooks=[])).push(p.index),se=!0),Le++}!function Zp(a,r){const g=r.directiveEnd,b=a.data,I=r.attrs,F=[];let W=null,se=null;for(let Le=r.directiveStart;Le<g;Le++){const ze=b[Le],Rt=ze.inputs,zt=null===I||ph(r)?null:CC(Rt,I);F.push(zt),W=Ph(Rt,Le,W),se=Ph(ze.outputs,Le,se)}null!==W&&(W.hasOwnProperty("class")&&(r.flags|=16),W.hasOwnProperty("style")&&(r.flags|=32)),r.initialInputs=F,r.inputs=W,r.outputs=se}(a,p)}F&&function mC(a,r,p){if(r){const g=a.localNames=[];for(let b=0;b<r.length;b+=2){const I=p[r[b+1]];if(null==I)throw new O(-301,!1);g.push(r[b],I)}}}(p,g,F)}return p.mergedAttrs=ja(p.mergedAttrs,p.attrs),b}function Zh(a,r,p,g,b,I){const F=I.hostBindings;if(F){let W=a.hostBindingOpCodes;null===W&&(W=a.hostBindingOpCodes=[]);const se=~r.index;(function pC(a){let r=a.length;for(;r>0;){const p=a[--r];if("number"==typeof p&&p<0)return p}return 0})(W)!=se&&W.push(se),W.push(g,b,F)}}function Nh(a,r){null!==a.hostBindings&&a.hostBindings(1,r)}function Lh(a,r){r.flags|=2,(a.components||(a.components=[])).push(r.index)}function gC(a,r,p){if(p){if(r.exportAs)for(let g=0;g<r.exportAs.length;g++)p[r.exportAs[g]]=a;yt(r)&&(p[""]=a)}}function Vh(a,r,p){a.flags|=1,a.directiveStart=r,a.directiveEnd=r+p,a.providerIndexes=r}function sr(a,r,p,g,b){a.data[g]=b;const I=b.factory||(b.factory=Ho(b.type)),F=new oo(I,yt(b),null);a.blueprint[g]=F,p[g]=F,Zh(a,r,0,g,Pc(a,p,b.hostVars,Co),b)}function fC(a,r,p){const g=wn(r,a),b=Ih(p),I=a[10],F=t_(a,pl(a,b,null,p.onPush?64:16,g,r,I,I.createRenderer(g,p),null,null));a[r.index]=F}function Dr(a,r,p,g,b,I){const F=wn(a,r);!function Lp(a,r,p,g,b,I,F){if(null==I)Oo(a)?a.removeAttribute(r,b,p):r.removeAttribute(b);else{const W=null==F?c(I):F(I,g||"",b);Oo(a)?a.setAttribute(r,b,W,p):p?r.setAttributeNS(p,b,W):r.setAttribute(b,W)}}(r[11],F,I,a.value,p,g,b)}function vC(a,r,p,g,b,I){const F=I[r];if(null!==F){const W=g.setInput;for(let se=0;se<F.length;){const Le=F[se++],ze=F[se++],Rt=F[se++];null!==W?g.setInput(p,Rt,Le,ze):p[ze]=Rt}}}function CC(a,r){let p=null,g=0;for(;g<r.length;){const b=r[g];if(0!==b)if(5!==b){if("number"==typeof b)break;a.hasOwnProperty(b)&&(null===p&&(p=[]),p.push(b,a[b],r[g+1])),g+=2}else g+=2;else g+=4}return p}function Uh(a,r,p,g){return new Array(a,!0,!1,r,null,0,g,p,null,null)}function AC(a,r){const p=io(r,a);if(No(p)){const g=p[1];80&p[2]?Rc(g,p,g.template,p[8]):p[5]>0&&Vp(p)}}function Vp(a){for(let g=z_(a);null!==g;g=X_(g))for(let b=10;b<g.length;b++){const I=g[b];if(1024&I[2]){const F=I[1];Rc(F,I,F.template,I[8])}else I[5]>0&&Vp(I)}const p=a[1].components;if(null!==p)for(let g=0;g<p.length;g++){const b=io(p[g],a);No(b)&&b[5]>0&&Vp(b)}}function EC(a,r){const p=io(r,a),g=p[1];(function OC(a,r){for(let p=r.length;p<a.blueprint.length;p++)r.push(a.blueprint[p])})(g,p),dl(g,p,p[8])}function t_(a,r){return a[13]?a[14][4]=r:a[13]=r,a[14]=r,r}function Up(a){for(;a;){a[2]|=64;const r=al(a);if($e(a)&&!r)return a;a=r}return null}function qh(a){!function qp(a){for(let r=0;r<a.components.length;r++){const p=a.components[r],g=J_(p),b=g[1];oC(b,g,b.template,p)}}(a[8])}function Fp(a,r,p){li(0),r(a,p)}const MC=(()=>Promise.resolve(null))();function kh(a){return a[7]||(a[7]=[])}function Fh(a){return a.cleanup||(a.cleanup=[])}function Bh(a,r,p){return(null===a||yt(a))&&(p=function mt(a){for(;Array.isArray(a);){if("object"==typeof a[1])return a;a=a[0]}return null}(p[r.index])),p[11]}function $h(a,r){const p=a[9],g=p?p.get(Jl,null):null;g&&g.handleError(r)}function Yh(a,r,p,g,b){for(let I=0;I<p.length;){const F=p[I++],W=p[I++],se=r[F],Le=a.data[F];null!==Le.setInput?Le.setInput(se,b,g,W):se[W]=b}}function Ur(a,r,p){const g=En(r,a);!function Vu(a,r,p){Oo(a)?a.setValue(r,p):r.textContent=p}(a[11],g,p)}function i_(a,r,p){let g=p?a.styles:null,b=p?a.classes:null,I=0;if(null!==r)for(let F=0;F<r.length;F++){const W=r[F];"number"==typeof W?I=W:1==I?b=S(b,W):2==I&&(g=S(g,W+": "+r[++F]+";"))}p?a.styles=g:a.stylesWithoutHost=g,p?a.classes=b:a.classesWithoutHost=b}const Bp=new fa("INJECTOR",-1);
1class jh{get(r,p=On){if(p===On){const g=new Error(`NullInjectorError: No provider for ${T(r)}!`);throw g.name="NullInjectorError",g}return p}}const $p=new fa("Set Injector scope."),_s={},DC={};let Yp;function Kh(){return void 0===Yp&&(Yp=new jh),Yp}function Qh(a,r=null,p=null,g){const b=Gh(a,r,p,g);return b._resolveInjectorDefTypes(),b}function Gh(a,r=null,p=null,g){return new IC(a,p,r||Kh(),g)}class IC{constructor(r,p,g,b=null){this.parent=g,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const I=[];p&&$s(p,W=>this.processProvider(W,r,p)),$s([r],W=>this.processInjectorType(W,[],I)),this.records.set(Bp,Zc(void 0,this));const F=this.records.get($p);this.scope=null!=F?F.value:null,this.source=b||("object"==typeof r?null:T(r))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(r=>r.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(r,p=On,g=Mn.Default){this.assertNotDestroyed();const b=ro(this),I=Je(void 0);try{if(!(g&Mn.SkipSelf)){let W=this.records.get(r);if(void 0===W){const se=function LC(a){return"function"==typeof a||"object"==typeof a&&a instanceof fa}(r)&&Lt(r);W=se&&this.injectableDefInScope(se)?Zc(jp(r),_s):null,this.records.set(r,W)}if(null!=W)return this.hydrate(r,W)}return(g&Mn.Self?Kh():this.parent).get(r,p=g&Mn.Optional&&p===On?null:p)}catch(F){if("NullInjectorError"===F.name){if((F[Un]=F[Un]||[]).unshift(T(r)),b)throw F;return function Ma(a,r,p,g){const b=a[Un];throw r[pi]&&b.unshift(r[pi]),a.message=function Rs(a,r,p,g=null){a=a&&"\n"===a.charAt(0)&&"\u0275"==a.charAt(1)?a.substr(2):a;let b=T(r);if(Array.isArray(r))b=r.map(T).join(" -> ");else if("object"==typeof r){let I=[];for(let F in r)if(r.hasOwnProperty(F)){let W=r[F];I.push(F+":"+("string"==typeof W?JSON.stringify(W):T(W)))}b=`{${I.join(", ")}}`}return`${p}${g?"("+g+")":""}[${b}]: ${a.replace(Xn,"\n  ")}`}("\n"+a.message,b,p,g),a.ngTokenPath=b,a[Un]=null,a}(F,r,"R3InjectorError",this.source)}throw F}finally{Je(I),ro(b)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(r=>this.get(r))}toString(){const r=[];return this.records.forEach((g,b)=>r.push(T(b))),`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new O(205,!1)}processInjectorType(r,p,g){if(!(r=w(r)))return!1;let b=le(r);const I=null==b&&r.ngModule||void 0,F=void 0===I?r:I,W=-1!==g.indexOf(F);if(void 0!==I&&(b=le(I)),null==b)return!1;if(null!=b.imports&&!W){let ze;g.push(F);try{$s(b.imports,Rt=>{this.processInjectorType(Rt,p,g)&&(void 0===ze&&(ze=[]),ze.push(Rt))})}finally{}if(void 0!==ze)for(let Rt=0;Rt<ze.length;Rt++){const{ngModule:zt,providers:_n}=ze[Rt];$s(_n,kn=>this.processProvider(kn,zt,_n||In))}}this.injectorDefTypes.add(F);const se=Ho(F)||(()=>new F);this.records.set(F,Zc(se,_s));const Le=b.providers;if(null!=Le&&!W){const ze=r;$s(Le,Rt=>this.processProvider(Rt,ze,Le))}return void 0!==I&&void 0!==r.providers}processProvider(r,p,g){let b=Nc(r=w(r))?r:w(r&&r.provide);const I=function SC(a,r,p){return Wh(a)?Zc(void 0,a.useValue):Zc(Jh(a),_s)}(r);if(Nc(r)||!0!==r.multi)this.records.get(b);else{let F=this.records.get(b);F||(F=Zc(void 0,_s,!0),F.factory=()=>ls(F.multi),this.records.set(b,F)),b=r,F.multi.push(r)}this.records.set(b,I)}hydrate(r,p){return p.value===_s&&(p.value=DC,p.value=p.factory()),"object"==typeof p.value&&p.value&&function NC(a){return null!==a&&"object"==typeof a&&"function"==typeof a.ngOnDestroy}(p.value)&&this.onDestroy.add(p.value),p.value}injectableDefInScope(r){if(!r.providedIn)return!1;const p=w(r.providedIn);return"string"==typeof p?"any"===p||p===this.scope:this.injectorDefTypes.has(p)}}function jp(a){const r=Lt(a),p=null!==r?r.factory:Ho(a);if(null!==p)return p;if(a instanceof fa)throw new O(204,!1);if(a instanceof Function)return function yC(a){const r=a.length;if(r>0)throw Ar(r,"?"),new O(204,!1);const p=function it(a){const r=a&&(a[Ne]||a[pn]);if(r){const p=function wt(a){if(a.hasOwnProperty("name"))return a.name;const r=(""+a).match(/^function\s*([^\s(]+)/);return null===r?"":r[1]}(a);return console.warn(`DEPRECATED: DI is instantiating a token "${p}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${p}" class.`),r}return null}(a);return null!==p?()=>p.factory(a):()=>new a}(a);throw new O(204,!1)}function Jh(a,r,p){let g;if(Nc(a)){const b=w(a);return Ho(b)||jp(b)}if(Wh(a))g=()=>w(a.useValue);else if(function PC(a){return!(!a||!a.useFactory)}
1(a))g=()=>a.useFactory(...ls(a.deps||[]));else if(function wC(a){return!(!a||!a.useExisting)}(a))g=()=>Yi(w(a.useExisting));else{const b=w(a&&(a.useClass||a.provide));if(!function ZC(a){return!!a.deps}(a))return Ho(b)||jp(b);g=()=>new b(...ls(a.deps))}return g}function Zc(a,r,p=!1){return{factory:a,value:r,multi:p?[]:void 0}}function Wh(a){return null!==a&&"object"==typeof a&&vi in a}function Nc(a){return"function"==typeof a}let Ir=(()=>{class a{static create(p,g){var b;if(Array.isArray(p))return Qh({name:""},g,p,"");{const I=null!==(b=p.name)&&void 0!==b?b:"";return Qh({name:I},p.parent,p.providers,I)}}}return a.THROW_IF_NOT_FOUND=On,a.NULL=new jh,a.\u0275prov=ft({token:a,providedIn:"any",factory:()=>Yi(Bp)}),a.__NG_ELEMENT_ID__=-1,a})();function YC(a,r){Bt(J_(a)[1],so())}function Gp(a){let r=function cm(a){return Object.getPrototypeOf(a.prototype).constructor}(a.type),p=!0;const g=[a];for(;r;){let b;if(yt(a))b=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new O(903,"");b=r.\u0275dir}if(b){if(p){g.push(b);const F=a;F.inputs=Jp(a.inputs),F.declaredInputs=Jp(a.declaredInputs),F.outputs=Jp(a.outputs);const W=b.hostBindings;W&&Ns(a,W);const se=b.viewQuery,Le=b.contentQueries;if(se&&KC(a,se),Le&&QC(a,Le),C(a.inputs,b.inputs),C(a.declaredInputs,b.declaredInputs),C(a.outputs,b.outputs),yt(b)&&b.data.animation){const ze=a.data;ze.animation=(ze.animation||[]).concat(b.data.animation)}}const I=b.features;if(I)for(let F=0;F<I.length;F++){const W=I[F];W&&W.ngInherit&&W(a),W===Gp&&(p=!1)}}r=Object.getPrototypeOf(r)}!function jC(a){let r=0,p=null;for(let g=a.length-1;g>=0;g--){const b=a[g];b.hostVars=r+=b.hostVars,b.hostAttrs=ja(b.hostAttrs,p=ja(p,b.hostAttrs))}}(g)}function Jp(a){return a===Di?{}:a===In?[]:a}function KC(a,r){const p=a.viewQuery;a.viewQuery=p?(g,b)=>{r(g,b),p(g,b)}:r}function QC(a,r){const p=a.contentQueries;a.contentQueries=p?(g,b,I)=>{r(g,b,I),p(g,b,I)}:r}function Ns(a,r){const p=a.hostBindings;a.hostBindings=p?(g,b)=>{r(g,b),p(g,b)}:r}let ac=null;function Lc(){if(!ac){const a=Bn.Symbol;if(a&&a.iterator)ac=a.iterator;else{const r=Object.getOwnPropertyNames(Map.prototype);for(let p=0;p<r.length;++p){const g=r[p];"entries"!==g&&"size"!==g&&Map.prototype[g]===Map.prototype.entries&&(ac=g)}}}return ac}function ul(a){return!!Wp(a)&&(Array.isArray(a)||!(a instanceof Map)&&Lc()in a)}function Wp(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function yr(a,r,p){return a[r]=p}function hl(a,r){return a[r]}function hs(a,r,p){return!Object.is(a[r],p)&&(a[r]=p,!0)}function qr(a,r,p,g){const b=hs(a,r,p);return hs(a,r+1,g)||b}function a_(a,r,p,g,b){const I=qr(a,r,p,g);return hs(a,r+2,b)||I}function js(a,r,p,g,b,I){const F=qr(a,r,p,g);return qr(a,r+2,b,I)||F}function Hp(a,r,p,g){const b=gn();return hs(b,B(),r)&&(ri(),Dr(po(),b,a,r,p,g)),Hp}function Uc(a,r,p,g){return hs(a,B(),p)?r+c(p)+g:Co}function qc(a,r,p,g,b,I){const W=qr(a,Xa(),p,b);return j(2),W?r+c(p)+g+c(b)+I:Co}function vm(a,r,p,g,b,I,F,W){const se=gn(),Le=ri(),ze=a+20,Rt=Le.firstCreatePass?function eb(a,r,p,g,b,I,F,W,se){const Le=r.consts,ze=wc(r,a,4,F||null,ve(Le,W));Np(r,p,ze,ve(Le,se)),Bt(r,ze);const Rt=ze.tViews=e_(2,ze,g,b,I,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Le);return null!==r.queries&&(r.queries.template(r,ze),Rt.queries=r.queries.embeddedTView(ze)),ze}(ze,Le,se,r,p,g,b,I,F):Le.data[ze];Sa(Rt,!1);const zt=se[11].createComment("");Fl(Le,se,zt,Rt),us(zt,se),t_(se,se[ze]=Uh(zt,se,zt,Rt)),ua(Rt)&&Pp(Le,se,Rt),null!=F&&Rp(se,Rt,W)}function Cm(a){return _o(function er(){return U.lFrame.contextLView}(),20+a)}function ml(a,r=Mn.Default){const p=gn();return null===p?Yi(a,r):Lo(so(),p,w(a),r)}function wm(){throw new Error("invalid")}function nd(a,r,p){const g=gn();return hs(g,B(),r)&&Zs(ri(),po(),g,a,r,g[11],p,!1),nd}function id(a,r,p,g,b){const F=b?"class":"style";Yh(a,p,r.inputs[F],F,g)}function r_(a,r,p,g){const b=gn(),I=ri(),F=20+a,W=b[11],se=b[F]=tp(W,r,function ut(){return U.lFrame.currentNamespace}()),Le=I.firstCreatePass?function bb(a,r,p,g,b,I,F){const W=r.consts,Le=wc(r,a,2,b,ve(W,I));return Np(r,p,Le,ve(W,F)),null!==Le.attrs&&i_(Le,Le.attrs,!1),null!==Le.mergedAttrs&&i_(Le,Le.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,Le),Le}(F,I,b,0,r,p,g):I.data[F];Sa(Le,!0);const ze=Le.mergedAttrs;null!==ze&&Na(W,se,ze);const Rt=Le.classes;null!==Rt&&_p(W,se,Rt);
1const zt=Le.styles;return null!==zt&&lp(W,se,zt),64!=(64&Le.flags)&&Fl(I,b,se,Le),0===function Wt(){return U.lFrame.elementDepthCount}()&&us(se,b),function qn(){U.lFrame.elementDepthCount++}(),ua(Le)&&(Pp(I,b,Le),Wr(I,Le,b)),null!==g&&Rp(b,Le),r_}function c_(){let a=so();zs()?Xs():(a=a.parent,Sa(a,!1));const r=a;!function Mi(){U.lFrame.elementDepthCount--}();const p=ri();return p.firstCreatePass&&(Bt(p,a),Ao(a)&&p.queries.elementEnd(a)),null!=r.classesWithoutHost&&function Os(a){return 0!=(16&a.flags)}(r)&&id(p,r,gn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function Xo(a){return 0!=(32&a.flags)}(r)&&id(p,r,gn(),r.stylesWithoutHost,!1),c_}function od(a,r,p,g){return r_(a,r,p,g),c_(),od}function l_(a,r,p){const g=gn(),b=ri(),I=a+20,F=b.firstCreatePass?function xb(a,r,p,g,b){const I=r.consts,F=ve(I,g),W=wc(r,a,8,"ng-container",F);return null!==F&&i_(W,F,!0),Np(r,p,W,ve(I,b)),null!==r.queries&&r.queries.elementStart(r,W),W}(I,b,g,r,p):b.data[I];Sa(F,!0);const W=g[I]=g[11].createComment("");return Fl(b,g,W,F),us(W,g),ua(F)&&(Pp(b,g,F),Wr(b,F,g)),null!=p&&Rp(g,F),l_}function __(){let a=so();const r=ri();return zs()?Xs():(a=a.parent,Sa(a,!1)),r.firstCreatePass&&(Bt(r,a),Ao(a)&&r.queries.elementEnd(a)),__}function ad(a,r,p){return l_(a,r,p),__(),ad}function Pm(){return gn()}function sd(a){return!!a&&"function"==typeof a.then}function Rm(a){return!!a&&"function"==typeof a.subscribe}const Zm=Rm;function rd(a,r,p,g){const b=gn(),I=ri(),F=so();return Nm(I,b,b[11],F,a,r,!!p,g),rd}function cd(a,r){const p=so(),g=gn(),b=ri();return Nm(b,g,Bh(sn(b.data),p,g),p,a,r,!1),cd}function Nm(a,r,p,g,b,I,F,W){const se=ua(g),ze=a.firstCreatePass&&Fh(a),Rt=r[8],zt=kh(r);let _n=!0;if(3&g.type||W){const hi=wn(g,r),Pi=W?W(hi):hi,Yn=zt.length,ji=W?yo=>W(Ce(yo[g.index])):g.index;if(Oo(p)){let yo=null;if(!W&&se&&(yo=function Ab(a,r,p,g){const b=a.cleanup;if(null!=b)for(let I=0;I<b.length-1;I+=2){const F=b[I];if(F===p&&b[I+1]===g){const W=r[7],se=b[I+2];return W.length>se?W[se]:null}"string"==typeof F&&(I+=2)}return null}(a,r,b,g.index)),null!==yo)(yo.__ngLastListenerFn__||yo).__ngNextListenerFn__=I,yo.__ngLastListenerFn__=I,_n=!1;else{I=ld(g,r,Rt,I,!1);const Go=p.listen(Pi,b,I);zt.push(I,Go),ze&&ze.push(b,ji,Yn,Yn+1)}}else I=ld(g,r,Rt,I,!0),Pi.addEventListener(b,I,F),zt.push(I),ze&&ze.push(b,ji,Yn,F)}else I=ld(g,r,Rt,I,!1);const kn=g.outputs;let ai;if(_n&&null!==kn&&(ai=kn[b])){const hi=ai.length;if(hi)for(let Pi=0;Pi<hi;Pi+=2){const Vs=r[ai[Pi]][ai[Pi+1]].subscribe(I),hc=zt.length;zt.push(I,Vs),ze&&ze.push(b,g.index,hc,-(hc+1))}}}function Sr(a,r,p,g){try{return!1!==p(g)}catch(b){return $h(a,b),!1}}function ld(a,r,p,g,b){return function I(F){if(F===Function)return g;const W=2&a.flags?io(a.index,r):r;0==(32&r[2])&&Up(W);let se=Sr(r,0,g,F),Le=I.__ngNextListenerFn__;for(;Le;)se=Sr(r,0,Le,F)&&se,Le=Le.__ngNextListenerFn__;return b&&!1===se&&(F.preventDefault(),F.returnValue=!1),se}}function Lm(a=1){return function Oa(a){return(U.lFrame.contextLView=function aa(a,r){for(;a>0;)r=r[15],a--;return r}(a,U.lFrame.contextLView))[8]}(a)}function Eb(a,r){let p=null;const g=function qv(a){const r=a.attrs;if(null!=r){const p=r.indexOf(5);if(0==(1&p))return r[p+1]}return null}(a);for(let b=0;b<r.length;b++){const I=r[b];if("*"!==I){if(null===g?dh(a,I,!0):Fv(g,I))return b}else p=b}return p}function Vm(a){const r=gn()[16][6];if(!r.projection){const g=r.projection=Ar(a?a.length:1,null),b=g.slice();let I=r.child;for(;null!==I;){const F=a?Eb(I,a):0;null!==F&&(b[F]?b[F].projectionNext=I:g[F]=I,b[F]=I),I=I.next}}}function Um(a,r=0,p){const g=gn(),b=ri(),I=wc(b,20+a,16,null,p||null);null===I.projection&&(I.projection=r),Xs(),64!=(64&I.flags)&&function rl(a,r,p){Ku(r[11],0,r,p,ku(a,p,r),Ni(p.parent||r[6],p,r))}(b,g,I)}function _d(a,r,p){return p_(a,"",r,"",p),_d}function p_(a,r,p,g,b){const I=gn(),F=Uc(I,r,p,g);return F!==Co&&Zs(ri(),po(),I,a,F,I[11],b,!1),p_}function pd(a,r,p,g,b,I,F){const W=gn(),se=qc(W,r,p,g,b,I);return se!==Co&&Zs(ri(),po(),W,a,se,W[11],F,!1),pd}function jm(a,r,p,g,b){const I=a[p+1],F=null===r;let W=g?or(I):Vr(I),se=!1;for(;0!==W&&(!1===se||F);){const ze=a[W+1];dd(a[W],r)&&(se=!0,a[W+1]=g?Ap(ze):bp(ze)),W=g?or(ze):Vr(ze)}se&&(a[p+1]=g?bp(I):Ap(I))}function dd(a,r){return null===a||null==r||(Array.isArray(a)?a[1]:a)===r||!(!Array.isArray(a)||"string"!=typeof r)&&M(a,r)>=0}const ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
1;function Km(a){return a.substring(ts.key,ts.keyEnd)}function Qm(a,r){const p=ts.textEnd;return p===r?-1:(r=ts.keyEnd=function yb(a,r,p){for(;r<p&&a.charCodeAt(r)>32;)r++;return r}(a,ts.key=r,p),Kc(a,r,p))}function Kc(a,r,p){for(;r<p&&a.charCodeAt(r)<=32;)r++;return r}function ud(a,r,p){return cr(a,r,p,!1),ud}function hd(a,r){return cr(a,r,null,!0),hd}function zm(a){lr(f,Ls,a,!0)}function Ls(a,r){for(let p=function Db(a){return function Jm(a){ts.key=0,ts.keyEnd=0,ts.value=0,ts.valueEnd=0,ts.textEnd=a.length}(a),Qm(a,Kc(a,0,ts.textEnd))}(r);p>=0;p=Qm(r,p))f(a,Km(r),!0)}function cr(a,r,p,g){const b=gn(),I=ri(),F=j(2);I.firstUpdatePass&&eg(I,a,F,g),r!==Co&&hs(b,F,r)&&ng(I,I.data[zo()],b,b[11],a,b[F+1]=function qb(a,r){return null==a||("string"==typeof r?a+=r:"object"==typeof a&&(a=T(Lr(a)))),a}(r,p),g,F)}function lr(a,r,p,g){const b=ri(),I=j(2);b.firstUpdatePass&&eg(b,null,I,g);const F=gn();if(p!==Co&&hs(F,I,p)){const W=b.data[zo()];if(og(W,g)&&!Xm(b,I)){let se=g?W.classesWithoutHost:W.stylesWithoutHost;null!==se&&(p=S(se,p||"")),id(b,W,F,p,g)}else!function Ub(a,r,p,g,b,I,F,W){b===Co&&(b=In);let se=0,Le=0,ze=0<b.length?b[0]:null,Rt=0<I.length?I[0]:null;for(;null!==ze||null!==Rt;){const zt=se<b.length?b[se+1]:void 0,_n=Le<I.length?I[Le+1]:void 0;let ai,kn=null;ze===Rt?(se+=2,Le+=2,zt!==_n&&(kn=Rt,ai=_n)):null===Rt||null!==ze&&ze<Rt?(se+=2,kn=ze):(Le+=2,kn=Rt,ai=_n),null!==kn&&ng(a,r,p,g,kn,ai,F,W),ze=se<b.length?b[se]:null,Rt=Le<I.length?I[Le]:null}}(b,W,F,F[11],F[I+1],F[I+1]=function Vb(a,r,p){if(null==p||""===p)return In;const g=[],b=Lr(p);if(Array.isArray(b))for(let I=0;I<b.length;I++)a(g,b[I],!0);else if("object"==typeof b)for(const I in b)b.hasOwnProperty(I)&&a(g,I,b[I]);else"string"==typeof b&&r(g,b);return g}(a,r,p),g,I)}}function Xm(a,r){return r>=a.expandoStartIndex}function eg(a,r,p,g){const b=a.data;if(null===b[p+1]){const I=b[zo()],F=Xm(a,p);og(I,g)&&null===r&&!F&&(r=!1),r=function Rb(a,r,p,g){const b=sn(a);let I=g?r.residualClasses:r.residualStyles;if(null===b)0===(g?r.classBindings:r.styleBindings)&&(p=gl(p=md(null,a,r,p,g),r.attrs,g),I=null);else{const F=r.directiveStylingLast;if(-1===F||a[F]!==b)if(p=md(b,a,r,p,g),null===I){let se=function Zb(a,r,p){const g=p?r.classBindings:r.styleBindings;if(0!==Vr(g))return a[or(g)]}(a,r,g);void 0!==se&&Array.isArray(se)&&(se=md(null,a,r,se[1],g),se=gl(se,r.attrs,g),function Nb(a,r,p,g){a[or(p?r.classBindings:r.styleBindings)]=g}(a,r,g,se))}else I=function Lb(a,r,p){let g;const b=r.directiveEnd;for(let I=1+r.directiveStylingLast;I<b;I++)g=gl(g,a[I].hostAttrs,p);return gl(g,r.attrs,p)}(a,r,g)}return void 0!==I&&(g?r.residualClasses=I:r.residualStyles=I),p}(b,I,r,g),function Ob(a,r,p,g,b,I){let F=I?r.classBindings:r.styleBindings,W=or(F),se=Vr(F);a[g]=p;let ze,Le=!1;if(Array.isArray(p)){const Rt=p;ze=Rt[1],(null===ze||M(Rt,ze)>0)&&(Le=!0)}else ze=p;if(b)if(0!==se){const zt=or(a[W+1]);a[g+1]=Hl(zt,W),0!==zt&&(a[zt+1]=xp(a[zt+1],g)),a[W+1]=function jv(a,r){return 131071&a|r<<17}(a[W+1],g)}else a[g+1]=Hl(W,0),0!==W&&(a[W+1]=xp(a[W+1],g)),W=g;else a[g+1]=Hl(se,0),0===W?W=g:a[se+1]=xp(a[se+1],g),se=g;Le&&(a[g+1]=bp(a[g+1])),jm(a,ze,g,!0),jm(a,ze,g,!1),function Mb(a,r,p,g,b){const I=b?a.residualClasses:a.residualStyles;null!=I&&"string"==typeof r&&M(I,r)>=0&&(p[g+1]=Ap(p[g+1]))}(r,ze,a,g,I),F=Hl(W,se),I?r.classBindings=F:r.styleBindings=F}(b,I,r,p,F,g)}}function md(a,r,p,g,b){let I=null;const F=p.directiveEnd;let W=p.directiveStylingLast;for(-1===W?W=p.directiveStart:W++;W<F&&(I=r[W],g=gl(g,I.hostAttrs,b),I!==a);)W++;return null!==a&&(p.directiveStylingLast=W),g}function gl(a,r,p){const g=p?1:2;let b=-1;if(null!==r)for(let I=0;I<r.length;I++){const F=r[I];"number"==typeof F?b=F:b===g&&(Array.isArray(a)||(a=void 0===a?[]:["",a]),f(a,F,!!p||r[++I]))}return void 0===a?null:a}function ng(a,r,p,g,b,I,F,W){if(!(3&r.type))return;const se=a.data,Le=se[W+1];kr(function vh(a){return 1==(1&a)}(Le)?ig(se,r,p,b,Vr(Le),F):void 0)||(kr(I)||function fh(a){return 2==(2&a)}(Le)&&(I=ig(se,null,p,b,W,F)),function H1(a,r,p,g,b){const I=Oo(a);if(r)b?I?a.addClass(p,g):p.classList.add(g):I?a.removeClass(p,g):p.classList.remove(g);else{let F=-1===g.indexOf("-")?void 0:Or.DashCase;if(null==b)I?a.removeStyle(p,g,F):p.style.removeProperty(g);else{const W="string"==typeof b&&b.endsWith("!important");W&&(b=b.slice(0,-10),F|=Or.Important),I?a.setStyle(p,g,b,F):p.style.setProperty(g,b,W?"important":"")}}}(g,F,En(zo(),p),b,I))}function ig(a,r,p,g,b,I){const F=null===r;let W;for(;b>0;){const se=a[b],Le=Array.isArray(se),ze=Le?se[1]:se,Rt=null===ze;let zt=p[b+1];zt===Co&&(zt=Rt?In:void 0);
1let _n=Rt?x(zt,g):ze===g?zt:void 0;if(Le&&!kr(_n)&&(_n=x(se,g)),kr(_n)&&(W=_n,F))return W;const kn=a[b+1];b=F?or(kn):Vr(kn)}if(null!==r){let se=I?r.residualClasses:r.residualStyles;null!=se&&(W=x(se,g))}return W}function kr(a){return void 0!==a}function og(a,r){return 0!=(a.flags&(r?16:32))}function ag(a,r=""){const p=gn(),g=ri(),b=a+20,I=g.firstCreatePass?wc(g,b,1,r,null):g.data[b],F=p[b]=function ep(a,r){return Oo(a)?a.createText(r):a.createTextNode(r)}(p[11],r);Fl(g,p,F,I),Sa(I,!1)}function u_(a){return h_("",a,""),u_}function h_(a,r,p){const g=gn(),b=Uc(g,a,r,p);return b!==Co&&Ur(g,zo(),b),h_}function gd(a,r,p,g,b){const I=gn(),F=qc(I,a,r,p,g,b);return F!==Co&&Ur(I,zo(),F),gd}function fd(a,r,p,g,b,I,F){const W=gn(),se=function kc(a,r,p,g,b,I,F,W){const Le=a_(a,Xa(),p,b,F);return j(3),Le?r+c(p)+g+c(b)+I+c(F)+W:Co}(W,a,r,p,g,b,I,F);return se!==Co&&Ur(W,zo(),se),fd}function vd(a,r,p,g,b,I,F,W,se){const Le=gn(),ze=function Fc(a,r,p,g,b,I,F,W,se,Le){const Rt=js(a,Xa(),p,b,F,se);return j(4),Rt?r+c(p)+g+c(b)+I+c(F)+W+c(se)+Le:Co}(Le,a,r,p,g,b,I,F,W,se);return ze!==Co&&Ur(Le,zo(),ze),vd}function Cd(a,r,p,g,b,I,F,W,se,Le,ze){const Rt=gn(),zt=function Bc(a,r,p,g,b,I,F,W,se,Le,ze,Rt){const zt=Xa();let _n=js(a,zt,p,b,F,se);return _n=hs(a,zt+4,ze)||_n,j(5),_n?r+c(p)+g+c(b)+I+c(F)+W+c(se)+Le+c(ze)+Rt:Co}(Rt,a,r,p,g,b,I,F,W,se,Le,ze);return zt!==Co&&Ur(Rt,zo(),zt),Cd}function bd(a,r,p,g,b,I,F,W,se,Le,ze,Rt,zt){const _n=gn(),kn=function Hr(a,r,p,g,b,I,F,W,se,Le,ze,Rt,zt,_n){const kn=Xa();let ai=js(a,kn,p,b,F,se);return ai=qr(a,kn+4,ze,zt)||ai,j(6),ai?r+c(p)+g+c(b)+I+c(F)+W+c(se)+Le+c(ze)+Rt+c(zt)+_n:Co}(_n,a,r,p,g,b,I,F,W,se,Le,ze,Rt,zt);return kn!==Co&&Ur(_n,zo(),kn),bd}function lg(a,r,p){lr(f,Ls,Uc(gn(),a,r,p),!0)}function xd(a,r,p){const g=gn();return hs(g,B(),r)&&Zs(ri(),po(),g,a,r,g[11],p,!0),xd}function Ad(a,r,p){const g=gn();if(hs(g,B(),r)){const I=ri(),F=po();Zs(I,F,g,a,r,Bh(sn(I.data),F,g),p,!0)}return Ad}const sc=void 0;var a0=["en",[["a","p"],["AM","PM"],sc],[["AM","PM"],sc,sc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],sc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],sc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",sc,"{1} 'at' {0}",sc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function o0(a){const p=Math.floor(Math.abs(a)),g=a.toString().replace(/^[^.]*\.?/,"").length;return 1===p&&0===g?1:5}];let Qc={};function s0(a,r,p){"string"!=typeof r&&(p=r,r=a[Hi.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Qc[r]=a,p&&(Qc[r][Hi.ExtraData]=p
1)}function Ed(a){const r=function r0(a){return a.toLowerCase().replace(/_/g,"-")}(a);let p=bg(r);if(p)return p;const g=r.split("-")[0];if(p=bg(g),p)return p;if("en"===g)return a0;throw new Error(`Missing locale data for the locale "${a}".`)}function Cg(a){return Ed(a)[Hi.PluralCase]}function bg(a){return a in Qc||(Qc[a]=Bn.ng&&Bn.ng.common&&Bn.ng.common.locales&&Bn.ng.common.locales[a]),Qc[a]}var Hi=(()=>((Hi=Hi||{})[Hi.LocaleId=0]="LocaleId",Hi[Hi.DayPeriodsFormat=1]="DayPeriodsFormat",Hi[Hi.DayPeriodsStandalone=2]="DayPeriodsStandalone",Hi[Hi.DaysFormat=3]="DaysFormat",Hi[Hi.DaysStandalone=4]="DaysStandalone",Hi[Hi.MonthsFormat=5]="MonthsFormat",Hi[Hi.MonthsStandalone=6]="MonthsStandalone",Hi[Hi.Eras=7]="Eras",Hi[Hi.FirstDayOfWeek=8]="FirstDayOfWeek",Hi[Hi.WeekendRange=9]="WeekendRange",Hi[Hi.DateFormat=10]="DateFormat",Hi[Hi.TimeFormat=11]="TimeFormat",Hi[Hi.DateTimeFormat=12]="DateTimeFormat",Hi[Hi.NumberSymbols=13]="NumberSymbols",Hi[Hi.NumberFormats=14]="NumberFormats",Hi[Hi.CurrencyCode=15]="CurrencyCode",Hi[Hi.CurrencySymbol=16]="CurrencySymbol",Hi[Hi.CurrencyName=17]="CurrencyName",Hi[Hi.Currencies=18]="Currencies",Hi[Hi.Directionality=19]="Directionality",Hi[Hi.PluralCase=20]="PluralCase",Hi[Hi.ExtraData=21]="ExtraData",Hi))();const m_="en-US";let xg=m_;function Dd(a,r,p,g,b){if(a=w(a),Array.isArray(a))for(let I=0;I<a.length;I++)Dd(a[I],r,p,g,b);else{const I=ri(),F=gn();let W=Nc(a)?a:w(a.provide),se=Jh(a);const Le=so(),ze=1048575&Le.providerIndexes,Rt=Le.directiveStart,zt=Le.providerIndexes>>20;if(Nc(a)||!a.multi){const _n=new oo(se,b,ml),kn=yd(W,r,b?ze:ze+zt,Rt);-1===kn?(yn(Re(Le,F),I,W),Id(I,a,r.length),r.push(W),Le.directiveStart++,Le.directiveEnd++,b&&(Le.providerIndexes+=1048576),p.push(_n),F.push(_n)):(p[kn]=_n,F[kn]=_n)}else{const _n=yd(W,r,ze+zt,Rt),kn=yd(W,r,ze,ze+zt),ai=_n>=0&&p[_n],hi=kn>=0&&p[kn];if(b&&!hi||!b&&!ai){yn(Re(Le,F),I,W);const Pi=function nx(a,r,p,g,b){const I=new oo(a,p,ml);return I.multi=[],I.index=r,I.componentProviders=0,Bg(I,b,g&&!p),I}(b?tx:ex,p.length,b,g,se);!b&&hi&&(p[kn].providerFactory=Pi),Id(I,a,r.length,0),r.push(W),Le.directiveStart++,Le.directiveEnd++,b&&(Le.providerIndexes+=1048576),p.push(Pi),F.push(Pi)}else Id(I,a,_n>-1?_n:kn,Bg(p[b?kn:_n],se,!b&&g));!b&&g&&hi&&p[kn].componentProviders++}}}function Id(a,r,p,g){const b=Nc(r),I=function RC(a){return!!a.useClass}(r);if(b||I){const se=(I?w(r.useClass):r).prototype.ngOnDestroy;if(se){const Le=a.destroyHooks||(a.destroyHooks=[]);if(!b&&r.multi){const ze=Le.indexOf(p);-1===ze?Le.push(p,[g,se]):Le[ze+1].push(g,se)}else Le.push(p,se)}}}function Bg(a,r,p){return p&&a.componentProviders++,a.multi.push(r)-1}function yd(a,r,p,g){for(let b=p;b<g;b++)if(r[b]===a)return b;return-1}function ex(a,r,p,g){return Sd(this.multi,[])}function tx(a,r,p,g){const b=this.multi;let I;if(this.providerFactory){const F=this.providerFactory.componentProviders,W=tr(p,p[1],this.providerFactory.index,g);I=W.slice(0,F),Sd(b,I);for(let se=F;se<W.length;se++)I.push(W[se])}else I=[],Sd(b,I);return I}function Sd(a,r){for(let p=0;p<a.length;p++)r.push((0,a[p])());return r}function $g(a,r=[]){return p=>{p.providersResolver=(g,b)=>function X0(a,r,p){const g=ri();if(g.firstCreatePass){const b=yt(a);Dd(p,g.data,g.blueprint,b,!0),Dd(r,g.data,g.blueprint,b,!1)}}(g,b?b(a):a,r)}}class Yg{}class ax{resolveComponentFactory(r){throw function ox(a){const r=Error(`No component factory found for ${T(a)}. Did you add it to @NgModule.entryComponents?`);return r.ngComponent=a,r}(r)}}let x_=(()=>{class a{}return a.NULL=new ax,a})();function sx(){return na(so(),gn())}function na(a,r){return new Al(wn(a,r))}let Al=(()=>{class a{constructor(p){this.nativeElement=p}}return a.__NG_ELEMENT_ID__=sx,a})();function rx(a){return a instanceof Al?a.nativeElement:a}class Kg{}let cx=(()=>{class a{}return a.__NG_ELEMENT_ID__=()=>function _x(){const a=gn(),p=io(so().index,a);return function lx(a){return a[11]}(go(p)?p:a)}(),a})(),px=(()=>{class a{}return a.\u0275prov=ft({token:a,providedIn:"root",factory:()=>null}),a})();class Qg{constructor(r){this.full=r,this.major=r.split(".")[0],this.minor=r.split(".")[1],this.patch=r.split(".").slice(2).join(".")}}const dx=new Qg("13.3.12"),wd={};function A_(a,r,p,g,b=!1){for(;null!==p;){const I=r[p.index];if(null!==I&&g.push(Ce(I)),wo(I))for(let W=10;W<I.length;W++){const se=I[W],Le=se[1].firstChild;null!==Le&&A_(se[1],se,Le,g)}const F=p.type;if(8&F)A_(a,r,p.child,g);else if(32&F){const W=H_(p,r);let se;for(;se=W();)g.push(se)}else if(16&F){const W=ju(r,p);if(Array.isArray(W))g.push(...W);else{const se=al(r[16]);A_(se[1],se,W,g,!0)}}p=b?p.projectionNext:p.next}return g}class Ks{constructor(r,p){this._lView=r,this._cdRefInjectingView=p,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const r=this._lView,p=r[1];return A_(p,r,p.firstChild,[])}get context(){return this._lView[8]}set context(r){this._lView[8]=r}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const r=this._lView[3];if(wo(r)){const p=r[8],g=p?p.indexOf(this):-1;g>-1&&(np(r,g),xr(p,g))}this._attachedToViewContainer=!1}qu(this._lView[1],this._lView)}onDestroy(r){wh(this._lView[1],this._lView,null,r)}markForCheck(){Up(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function kp(a,r,p){const g=r[10];g.begin&&g.begin();try{Rc(a,r,a.template,p)}catch(b){throw $h(r,b),b}finally{g.end&&g.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new O(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function B1(a,r){sl(a,r,r[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new O(902,"");this._appRef=r}}class ux extends Ks{constructor(r){super(r),this._view=r}detectChanges(){qh(this._view)}checkNoChanges(){}get context(){return null}}class Gg extends x_{constructor(r){super(),this.ngModule=r}resolveComponentFactory(r){const p=$t(r);return new Pd(p,this.ngModule)}}function Jg(a){const r=[];for(let p in a)a.hasOwnProperty(p)&&r.push({propName:a[p],templateName:p});return r}class Pd extends Yg{constructor(r,p){super(),this.componentDef=r,this.ngModule=p,this.componentType=r.type,this.selector=function $v(a){return a.map(Bv).join(",")}(r.selectors),this.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],this.isBoundToModule=!!p}get inputs(){return Jg(this.componentDef.inputs)}get outputs(){return Jg(this.componentDef.outputs)}create(r,p,g,b){const I=(b=b||this.ngModule)?function mx(a,r){return{get:(p,g,b)=>{const I=a.get(p,wd,b);return I!==wd||g===wd?I:r.get(p,g,b)}}}(r,b.injector):r,F=I.get(Kg,Ae),W=I.get(px,null),se=F.createRenderer(null,this.componentDef),Le=this.componentDef.selectors[0][0]||"div",ze=g?function Sh(a,r,p){if(Oo(a))return a.selectRootElement(r,p===jt.ShadowDom);let g="string"==typeof r?a.querySelector(r):r;return g.textContent="",g}(se,g,this.componentDef.encapsulation):tp(F.createRenderer(null,this.componentDef),Le,function hx(a){const r=a.toLowerCase();return"svg"===r?"svg":"math"===r?"math":null}(Le)),Rt=this.componentDef.onPush?576:528,zt=function rm(a,r){return{components:[],scheduler:a||Wl,clean:MC,playerHandler:r||null,flags:0}}(),_n=e_(0,null,null,1,0,null,null,null,null,null),kn=pl(null,_n,zt,Rt,null,null,F,se,W,I);let ai,hi;Xi(kn);try{const Pi=function am(a,r,p,g,b,I){const F=p[1];p[20]=a;const se=wc(F,20,2,"#host",null),Le=se.mergedAttrs=r.hostAttrs;null!==Le&&(i_(se,Le,!0),null!==a&&(Na(b,a,Le),null!==se.classes&&_p(b,a,se.classes),null!==se.styles&&lp(b,a,se.styles)));const ze=g.createRenderer(a,r),Rt=pl(p,Ih(r),null,r.onPush?64:16,p[20],se,g,ze,I||null,
1null);return F.firstCreatePass&&(yn(Re(se,p),F,r.type),Lh(F,se),Vh(se,p.length,1)),t_(p,Rt),p[20]=Rt}(ze,this.componentDef,kn,F,se);if(ze)if(g)Na(se,ze,["ng-version",dx.full]);else{const{attrs:Yn,classes:ji}=function Yv(a){const r=[],p=[];let g=1,b=2;for(;g<a.length;){let I=a[g];if("string"==typeof I)2===b?""!==I&&r.push(I,a[++g]):8===b&&p.push(I);else{if(!ir(b))break;b=I}g++}return{attrs:r,classes:p}}(this.componentDef.selectors[0]);Yn&&Na(se,ze,Yn),ji&&ji.length>0&&_p(se,ze,ji.join(" "))}if(hi=mo(_n,20),void 0!==p){const Yn=hi.projection=[];for(let ji=0;ji<this.ngContentSelectors.length;ji++){const yo=p[ji];Yn.push(null!=yo?Array.from(yo):null)}}ai=function sm(a,r,p,g,b){const I=p[1],F=function _C(a,r,p){const g=so();a.firstCreatePass&&(p.providersResolver&&p.providersResolver(p),sr(a,g,r,Pc(a,r,1,null),p));const b=tr(r,a,g.directiveStart,g);us(b,r);const I=wn(g,r);return I&&us(I,r),b}(I,p,r);if(g.components.push(F),a[8]=F,b&&b.forEach(se=>se(F,r)),r.contentQueries){const se=so();r.contentQueries(1,F,se.directiveStart)}const W=so();return!I.firstCreatePass||null===r.hostBindings&&null===r.hostAttrs||(sa(W.index),Zh(p[1],W,0,W.directiveStart,W.directiveEnd,r),Nh(r,F)),F}(Pi,this.componentDef,kn,zt,[YC]),dl(_n,kn,null)}finally{Qo()}return new fx(this.componentType,ai,na(hi,kn),kn,hi)}}class fx extends class ix{}{constructor(r,p,g,b,I){super(),this.location=g,this._rootLView=b,this._tNode=I,this.instance=p,this.hostView=this.changeDetectorRef=new ux(b),this.componentType=r}get injector(){return new Is(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(r){this.hostView.onDestroy(r)}}class Jc{}class Wg{}const Wc=new Map;class Xg extends Jc{constructor(r,p){super(),this._parent=p,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Gg(this);const g=Qn(r);this._bootstrapComponents=Tr(g.bootstrap),this._r3Injector=Gh(r,p,[{provide:Jc,useValue:this},{provide:x_,useValue:this.componentFactoryResolver}],T(r)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(r)}get(r,p=Ir.THROW_IF_NOT_FOUND,g=Mn.Default){return r===Ir||r===Jc||r===Bp?this:this._r3Injector.get(r,p,g)}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(p=>p()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class Rd extends Wg{constructor(r){super(),this.moduleType=r,null!==Qn(r)&&function Cx(a){const r=new Set;!function p(g){const b=Qn(g,!0),I=b.id;null!==I&&(function Hg(a,r,p){if(r&&r!==p)throw new Error(`Duplicate module registered for ${a} - ${T(r)} vs ${T(r.name)}`)}(I,Wc.get(I),g),Wc.set(I,g));const F=Tr(b.imports);for(const W of F)r.has(W)||(r.add(W),p(W))}(a)}(r)}create(r){return new Xg(this.moduleType,r)}}function ef(a,r,p){const g=Ea()+a,b=gn();return b[g]===Co?yr(b,g,p?r.call(p):r()):hl(b,g)}function tf(a,r,p,g){return cf(gn(),Ea(),a,r,p,g)}function nf(a,r,p,g,b){return lf(gn(),Ea(),a,r,p,g,b)}function af(a,r,p,g,b,I){return _f(gn(),Ea(),a,r,p,g,b,I)}function sf(a,r,p,g,b,I,F){return function pf(a,r,p,g,b,I,F,W,se){const Le=r+p;return js(a,Le,b,I,F,W)?yr(a,Le+4,se?g.call(se,b,I,F,W):g(b,I,F,W)):Ol(a,Le+4)}(gn(),Ea(),a,r,p,g,b,I,F)}function rf(a,r,p,g,b,I,F,W,se){const Le=Ea()+a,ze=gn(),Rt=js(ze,Le,p,g,b,I);return qr(ze,Le+4,F,W)||Rt?yr(ze,Le+6,se?r.call(se,p,g,b,I,F,W):r(p,g,b,I,F,W)):hl(ze,Le+6)}function Ol(a,r){const p=a[r];return p===Co?void 0:p}function cf(a,r,p,g,b,I){const F=r+p;return hs(a,F,b)?yr(a,F+1,I?g.call(I,b):g(b)):Ol(a,F+1)}function lf(a,r,p,g,b,I,F){const W=r+p;return qr(a,W,b,I)?yr(a,W+2,F?g.call(F,b,I):g(b,I)):Ol(a,W+2)}function _f(a,r,p,g,b,I,F,W){const se=r+p;return a_(a,se,b,I,F)?yr(a,se+3,W?g.call(W,b,I,F):g(b,I,F)):Ol(a,se+3)}function uf(a,r){const p=ri();let g;const b=a+20;p.firstCreatePass?(g=function Ox(a,r){if(r)for(let p=r.length-1;p>=0;p--){const g=r[p];if(a===g.name)return g}}(r,p.pipeRegistry),p.data[b]=g,g.onDestroy&&(p.destroyHooks||(p.destroyHooks=[])).push(b,g.onDestroy)):g=p.data[b];const I=g.factory||(g.factory=Ho(g.type)),F=Je(ml);try{const W=Rr(!1),se=I();return Rr(W),function tb(a,r,p,g){p>=a.data.length&&(a.data[p]=null,a.blueprint[p]=null),r[p]=g}(p,gn(),b,se),se}finally{Je(F)}}function hf(a,r,p){const g=a+20,b=gn(),I=_o(b,g);return Ml(b,g)?cf(b,Ea(),r,I.transform,p,I):I.transform(p)}function mf(a,r,p,g){const b=a+20,I=gn(),F=_o(I,b);return Ml(I,b)?lf(I,Ea(),r,F.transform,p,g,F):F.transform(p,g)}function gf(a,r,p,g,b){const I=a+20,F=gn(),W=_o(F,I);return Ml(F,I)?_f(F,Ea(),r,W.transform,p,g,b,W):W.transform(p,g,b)}function Ml(a,r){return a[1].data[r].pure}function Hc(a){return r=>{setTimeout(a,void 0,r)}}const Pr=class Tx extends i.x{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}
1subscribe(r,p,g){var b,I,F;let W=r,se=p||(()=>null),Le=g;if(r&&"object"==typeof r){const Rt=r;W=null===(b=Rt.next)||void 0===b?void 0:b.bind(Rt),se=null===(I=Rt.error)||void 0===I?void 0:I.bind(Rt),Le=null===(F=Rt.complete)||void 0===F?void 0:F.bind(Rt)}this.__isAsync&&(se=Hc(se),W&&(W=Hc(W)),Le&&(Le=Hc(Le)));const ze=super.subscribe({next:W,error:se,complete:Le});return r instanceof s.w0&&r.add(ze),ze}};function Dx(){return this._results[Lc()]()}class E_{constructor(r=!1){this._emitDistinctChangesOnly=r,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const p=Lc(),g=E_.prototype;g[p]||(g[p]=Dx)}get changes(){return this._changes||(this._changes=new Pr)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,p){return this._results.reduce(r,p)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,p){const g=this;g.dirty=!1;const b=vs(r);(this._changesDetected=!function j_(a,r,p){if(a.length!==r.length)return!1;for(let g=0;g<a.length;g++){let b=a[g],I=r[g];if(p&&(b=p(b),I=p(I)),I!==b)return!1}return!0}(g._results,b,p))&&(g._results=b,g.length=b.length,g.last=b[this.length-1],g.first=b[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Tl=(()=>{class a{}return a.__NG_ELEMENT_ID__=Zd,a})();const Ix=Tl,yx=class extends Ix{constructor(r,p,g){super(),this._declarationLView=r,this._declarationTContainer=p,this.elementRef=g}createEmbeddedView(r){const p=this._declarationTContainer.tViews,g=pl(this._declarationLView,p,r,16,null,p.declTNode,null,null,null,null);g[17]=this._declarationLView[this._declarationTContainer.index];const I=this._declarationLView[19];return null!==I&&(g[19]=I.createEmbeddedView(p)),dl(p,g,r),new Ks(g)}};function Zd(){return O_(so(),gn())}function O_(a,r){return 4&a.type?new yx(r,a,na(a,r)):null}let M_=(()=>{class a{}return a.__NG_ELEMENT_ID__=Sx,a})();function Sx(){return Cf(so(),gn())}const wx=M_,ff=class extends wx{constructor(r,p,g){super(),this._lContainer=r,this._hostTNode=p,this._hostLView=g}get element(){return na(this._hostTNode,this._hostLView)}get injector(){return new Is(this._hostTNode,this._hostLView)}get parentInjector(){const r=Kt(this._hostTNode,this._hostLView);if(xc(r)){const p=gr(r,this._hostLView),g=Ps(r);return new Is(p[1].data[g+8],p)}return new Is(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const p=vf(this._lContainer);return null!==p&&p[r]||null}get length(){return this._lContainer.length-10}createEmbeddedView(r,p,g){const b=r.createEmbeddedView(p||{});return this.insert(b,g),b}createComponent(r,p,g,b,I){const F=r&&!function jr(a){return"function"==typeof a}(r);let W;if(F)W=p;else{const Rt=p||{};W=Rt.index,g=Rt.injector,b=Rt.projectableNodes,I=Rt.ngModuleRef}const se=F?r:new Pd($t(r)),Le=g||this.parentInjector;if(!I&&null==se.ngModule){const zt=(F?Le:this.parentInjector).get(Jc,null);zt&&(I=zt)}const ze=se.create(Le,b,void 0,I);return this.insert(ze.hostView,W),ze}insert(r,p){const g=r._lView,b=g[1];if(function To(a){return wo(a[3])}(g)){const ze=this.indexOf(r);if(-1!==ze)this.detach(ze);else{const Rt=g[3],zt=new ff(Rt,Rt[6],Rt[3]);zt.detach(zt.indexOf(r))}}const I=this._adjustIndex(p),F=this._lContainer;!function Y1(a,r,p,g){const b=10+g,I=p.length;g>0&&(p[b-1][4]=r),g<I-10?(r[4]=p[b],nl(p,10+g,r)):(p.push(r),r[4]=null),r[3]=p;const F=r[17];null!==F&&p!==F&&function j1(a,r){const p=a[9];r[16]!==r[3][3][16]&&(a[2]=!0),null===p?a[9]=[r]:p.push(r)}(F,r);const W=r[19];null!==W&&W.insertView(a),r[2]|=128}(b,g,F,I);const W=sp(I,F),se=g[11],Le=kl(se,F[7]);return null!==Le&&function F1(a,r,p,g,b,I){g[0]=b,g[6]=r,sl(a,g,p,1,b,I)}(b,F[6],se,g,Le,W),r.attachToViewContainerRef(),nl(Nd(F),I,r),r}move(r,p){return this.insert(r,p)}indexOf(r){const p=vf(this._lContainer);return null!==p?p.indexOf(r):-1}remove(r){const p=this._adjustIndex(r,-1),g=np(this._lContainer,p);g&&(xr(Nd(this._lContainer),p),qu(g[1],g))}detach(r){const p=this._adjustIndex(r,-1),g=np(this._lContainer,p);return g&&null!=xr(Nd(this._lContainer),p)?new Ks(g):null}_adjustIndex(r,p=0){return null==r?this.length+p:r}};function vf(a){return a[8]}function Nd(a){return a[8]||(a[8]=[])}function Cf(a,r){let p;const g=r[a.index];if(wo(g))p=g;else{let b;if(8&a.type)b=Ce(g);
vendor: 3,667 bytes, line 1
1else{const I=r[11];b=I.createComment("");const F=wn(a,r);tc(I,kl(I,F),b,function J1(a,r){return Oo(a)?a.nextSibling(r):r.nextSibling}(I,F),!1)}r[a.index]=p=Uh(g,r,b,a),t_(r,p)}return new ff(p,a,r)}class Ld{constructor(r){this.queryList=r,this.matches=null}clone(){return new Ld(this.queryList)}setDirty(){this.queryList.setDirty()}}class Vd{constructor(r=[]){this.queries=r}createEmbeddedView(r){const p=r.queries;if(null!==p){const g=null!==r.contentQueries?r.contentQueries[0]:p.length,b=[];for(let I=0;I<g;I++){const F=p.getByIndex(I);b.push(this.queries[F.indexInDeclarationView].clone())}return new Vd(b)}return null}insertView(r){this.dirtyQueriesWithMatches(r)}detachView(r){this.dirtyQueriesWithMatches(r)}dirtyQueriesWithMatches(r){for(let p=0;p<this.queries.length;p++)null!==yf(r,p).matches&&this.queries[p].setDirty()}}class xf{constructor(r,p,g=null){this.predicate=r,this.flags=p,this.read=g}}class Ud{constructor(r=[]){this.queries=r}elementStart(r,p){for(let g=0;g<this.queries.length;g++)this.queries[g].elementStart(r,p)}elementEnd(r){for(let p=0;p<this.queries.length;p++)this.queries[p].elementEnd(r)}embeddedTView(r){let p=null;for(let g=0;g<this.length;g++){const b=null!==p?p.length:0,I=this.getByIndex(g).embeddedTView(r,b);I&&(I.indexInDeclarationView=g,null!==p?p.push(I):p=[I])}return null!==p?new Ud(p):null}template(r,p){for(let g=0;g<this.queries.length;g++)this.queries[g].template(r,p)}getByIndex(r){return this.queries[r]}get length(){return this.queries.length}track(r){this.queries.push(r)}}class qd{constructor(r,p=-1){this.metadata=r,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=p}elementStart(r,p){this.isApplyingToNode(p)&&this.matchTNode(r,p)}elementEnd(r){this._declarationNodeIndex===r.index&&(this._appliesToNextNode=!1)}template(r,p){this.elementStart(r,p)}embeddedTView(r,p){return this.isApplyingToNode(r)?(this.crossesNgTemplate=!0,this.addMatch(-r.index,p),new qd(this.metadata)):null}isApplyingToNode(r){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const p=this._declarationNodeIndex;let g=r.parent;for(;null!==g&&8&g.type&&g.index!==p;)g=g.parent;return p===(null!==g?g.index:-1)}return this._appliesToNextNode}matchTNode(r,p){const g=this.metadata.predicate;if(Array.isArray(g))for(let b=0;b<g.length;b++){const I=g[b];this.matchTNodeWithReadOption(r,p,Zx(p,I)),this.matchTNodeWithReadOption(r,p,fr(p,r,I,!1,!1))}else g===Tl?4&p.type&&this.matchTNodeWithReadOption(r,p,-1):this.matchTNodeWithReadOption(r,p,fr(p,r,g,!1,!1))}matchTNodeWithReadOption(r,p,g){if(null!==g){const b=this.metadata.read;if(null!==b)if(b===Al||b===M_||b===Tl&&4&p.type)this.addMatch(p.index,-2);else{const I=fr(p,r,b,!1,!1);null!==I&&this.addMatch(p.index,I)}else this.addMatch(p.index,g)}}addMatch(r,p){null===this.matches?this.matches=[r,p]:this.matches.push(r,p)}}function Zx(a,r){const p=a.localNames;if(null!==p)for(let g=0;g<p.length;g+=2)if(p[g]===r)return p[g+1];return null}function Lx(a,r,p,g){return-1===p?function Nx(a,r){return 11&a.type?na(a,r):4&a.type?O_(a,r):null}(r,a):-2===p?function Vx(a,r,p){return p===Al?na(r,a):p===Tl?O_(r,a):p===M_?Cf(r,a):void 0}(a,r,g):tr(a,a[1],p,r)}function Af(a,r,p,g){const b=r[19].queries[g];if(null===b.matches){const I=a.data,F=p.matches,W=[];for(let se=0;se<F.length;se+=2){const Le=F[se];W.push(Le<0?null:Lx(r,I[Le],F[se+1],p.metadata.read))}b.matches=W}return b.matches}function kd(a,r,p,g){const b=a.queries.getByIndex(p),I=b.matches;if(null!==I){const F=Af(a,r,b,p);for(let W=0;W<I.length;W+=2){const se=I[W];if(se>0)g.push(F[W/2]);else{const Le=I[W+1],ze=r[-se];for(let Rt=10;Rt<ze.length;
1Rt++){const zt=ze[Rt];zt[17]===zt[3]&&kd(zt[1],zt,Le,g)}if(null!==ze[9]){const Rt=ze[9];for(let zt=0;zt<Rt.length;zt++){const _n=Rt[zt];kd(_n[1],_n,Le,g)}}}}}return g}function Ef(a){const r=gn(),p=ri(),g=Vn();li(g+1);const b=yf(p,g);if(a.dirty&&ao(r)===(2==(2&b.metadata.flags))){if(null===b.matches)a.reset([]);else{const I=b.crossesNgTemplate?kd(p,r,g,[]):Af(p,r,b,g);a.reset(I,rx),a.notifyOnChanges()}return!0}return!1}function Of(a,r,p){const g=ri();g.firstCreatePass&&(If(g,new xf(a,r,p),-1),2==(2&r)&&(g.staticViewQueries=!0)),Df(g,gn(),r)}function Mf(a,r,p,g){const b=ri();if(b.firstCreatePass){const I=so();If(b,new xf(r,p,g),I.index),function qx(a,r){const p=a.contentQueries||(a.contentQueries=[]);r!==(p.length?p[p.length-1]:-1)&&p.push(a.queries.length-1,r)}(b,a),2==(2&p)&&(b.staticContentQueries=!0)}Df(b,gn(),p)}function Tf(){return function Ux(a,r){return a[19].queries[r].queryList}(gn(),Vn())}function Df(a,r,p){const g=new E_(4==(4&p));wh(a,r,g,g.destroy),null===r[19]&&(r[19]=new Vd),r[19].queries.push(new Ld(g))}function If(a,r,p){null===a.queries&&(a.queries=new Ud),a.queries.track(new qd(r,p))}function yf(a,r){return a.queries.getByIndex(r)}function Sf(a,r){return O_(a,r)}function y_(...a){}const Qf=new fa("Application Initializer");let Qd=(()=>{class a{constructor(p){this.appInits=p,this.resolve=y_,this.reject=y_,this.initialized=!1,this.done=!1,this.donePromise=new Promise((g,b)=>{this.resolve=g,this.reject=b})}runInitializers(){if(this.initialized)return;const p=[],g=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let b=0;b<this.appInits.length;b++){const I=this.appInits[b]();if(sd(I))p.push(I);else if(Zm(I)){const F=new Promise((W,se)=>{I.subscribe({complete:W,error:se})});p.push(F)}}Promise.all(p).then(()=>{g()}).catch(b=>{this.reject(b)}),0===p.length&&g(),this.initialized=!0}}return a.\u0275fac=function(p){return new(p||a)(Yi(Qf,8))},a.\u0275prov=ft({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const Gf=new fa("AppId",{providedIn:"root",factory:function Jf(){return`${Gd()}${Gd()}${Gd()}`}});function Gd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const S_=new fa("Platform Initializer"),tA=new fa("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Wf=new fa("appBootstrapListener");let nA=(()=>{class a{log(p){console.log(p)}warn(p){console.warn(p)}}return a.\u0275fac=function(p){return new(p||a)},a.\u0275prov=ft({token:a,factory:a.\u0275fac,providedIn:"platform"}),a})();const Jd=new fa("LocaleId",{providedIn:"root",factory:()=>Qa(Jd,Mn.Optional|Mn.SkipSelf)||function iA(){return"undefined"!=typeof $localize&&$localize.locale||m_}()}),oA=new fa("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class aA{constructor(r,p){this.ngModuleFactory=r,this.componentFactories=p}}let sA=(()=>{class a{compileModuleSync(p){return new Rd(p)}compileModuleAsync(p){return Promise.resolve(this.compileModuleSync(p))}compileModuleAndAllComponentsSync(p){const g=this.compileModuleSync(p),I=Tr(Qn(p).declarations).reduce((F,W)=>{const se=$t(W);return se&&F.push(new Pd(se)),F},[]);return new aA(g,I)}compileModuleAndAllComponentsAsync(p){return Promise.resolve(this.compileModuleAndAllComponentsSync(p))}clearCache(){}clearCacheFor(p){}getModuleId(p){}}return a.\u0275fac=function(p){return new(p||a)},a.\u0275prov=ft({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const cA=(()=>Promise.resolve(0))();function Il(a){"undefined"==typeof Zone?cA.then(()=>{a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",a)}class _r{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:p=!1,shouldCoalesceRunChangeDetection:g=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pr(!1),this.onMicrotaskEmpty=new Pr(!1),this.onStable=new Pr(!1),this.onError=new Pr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const b=this;b._nesting=0,b._outer=b._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(b._inner=b._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(b._inner=b._inner.fork(Zone.longStackTraceZoneSpec)),b.shouldCoalesceEventChangeDetection=!g&&p,b.shouldCoalesceRunChangeDetection=g,b.lastRequestAnimationFrameId=-1,b.nativeRequestAnimationFrame=function lA(){let a=Bn.requestAnimationFrame,r=Bn.cancelAnimationFrame;if("undefined"!=typeof Zone&&a&&r){const p=a[Zone.__symbol__("OriginalDelegate")];p&&(a=p);const g=r[Zone.__symbol__("OriginalDelegate")];g&&(r=g)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function dA(a){const r=()=>
vendor: 5,662 bytes, line 1
1{!function pA(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Bn,()=>{a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{a.lastRequestAnimationFrameId=-1,Hd(a),a.isCheckStableRunning=!0,Wd(a),a.isCheckStableRunning=!1},void 0,()=>{},()=>{})),a.fakeTopEventTask.invoke()}),Hd(a))}(a)};a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(p,g,b,I,F,W)=>{try{return Hf(a),p.invokeTask(b,I,F,W)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===I.type||a.shouldCoalesceRunChangeDetection)&&r(),zf(a)}},onInvoke:(p,g,b,I,F,W,se)=>{try{return Hf(a),p.invoke(b,I,F,W,se)}finally{a.shouldCoalesceRunChangeDetection&&r(),zf(a)}},onHasTask:(p,g,b,I)=>{p.hasTask(b,I),g===b&&("microTask"==I.change?(a._hasPendingMicrotasks=I.microTask,Hd(a),Wd(a)):"macroTask"==I.change&&(a.hasPendingMacrotasks=I.macroTask))},onHandleError:(p,g,b,I)=>(p.handleError(b,I),a.runOutsideAngular(()=>a.onError.emit(I)),!1)})}(b)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_r.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(_r.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(r,p,g){return this._inner.run(r,p,g)}runTask(r,p,g,b){const I=this._inner,F=I.scheduleEventTask("NgZoneEvent: "+b,r,_A,y_,y_);try{return I.runTask(F,p,g)}finally{I.cancelTask(F)}}runGuarded(r,p,g){return this._inner.runGuarded(r,p,g)}runOutsideAngular(r){return this._outer.run(r)}}const _A={};function Wd(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(()=>a.onStable.emit(null))}finally{a.isStable=!0}}}function Hd(a){a.hasPendingMicrotasks=!!(a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId)}function Hf(a){a._nesting++,a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))}function zf(a){a._nesting--,Wd(a)}class uA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pr,this.onMicrotaskEmpty=new Pr,this.onStable=new Pr,this.onError=new Pr}run(r,p,g){return r.apply(p,g)}runGuarded(r,p,g){return r.apply(p,g)}runOutsideAngular(r){return r()}runTask(r,p,g,b){return r.apply(p,g)}}let Xf=(()=>{class a{constructor(p){this._ngZone=p,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),p.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_r.assertNotInAngularZone(),Il(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Il(()=>{for(;0!==this._callbacks.length;){let p=this._callbacks.pop();clearTimeout(p.timeoutId),p.doneCb(this._didWork)}this._didWork=!1});else{let p=this.getPendingTasks();this._callbacks=this._callbacks.filter(g=>!g.updateCb||!g.updateCb(p)||(clearTimeout(g.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(p=>({source:p.source,creationLocation:p.creationLocation,data:p.data})):[]}addCallback(p,g,b){let I=-1;g&&g>0&&(I=setTimeout(()=>{this._callbacks=this._callbacks.filter(F=>F.timeoutId!==I),p(this._didWork,this.getPendingTasks())},g)),this._callbacks.push({doneCb:p,timeoutId:I,updateCb:b})}whenStable(p,g,b){if(b&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(p,g,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(p,g,b){return[]}}return a.\u0275fac=function(p){return new(p||a)(Yi(_r))},a.\u0275prov=ft({token:a,factory:a.\u0275fac}),a})(),hA=(()=>{class a{constructor(){this._applications=new Map,zd.addToWindow(this)}registerApplication(p,g){this._applications.set(p,g)}unregisterApplication(p){this._applications.delete(p)}unregisterAllApplications(){this._applications.clear()}getTestability(p){return this._applications.get(p)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(p,g=!0){return zd.findTestabilityInTree(this,p,g)}}return a.\u0275fac=function(p){return new(p||a)},a.\u0275prov=ft({token:a,factory:a.\u0275fac,providedIn:"platform"}),a})();class mA{addToWindow(r){}findTestabilityInTree(r,p,g){return null}}function gA(a){zd=a}let zd=new mA,lc=null;const e1=new fa("AllowMultipleToken"),yl=new fa("PlatformOnDestroy");class _c{constructor(r,p){this.name=r,this.token=p}}function t1(a,r,p=[]){const g=`Platform: ${r}`,b=new fa(g);return(I=[])=>{let F=Xd();if(!F||F.injector.get(e1,!1)){const W=[...p,...I,{provide:b,useValue:!0}];
1a?a(W):function CA(a){if(lc&&!lc.get(e1,!1))throw new O(400,"");lc=a;const r=a.get(n1),p=a.get(S_,null);p&&p.forEach(g=>g())}(function xA(a=[],r){return Ir.create({name:r,providers:[{provide:$p,useValue:"platform"},{provide:yl,useValue:()=>lc=null},...a]})}(W,g))}return function bA(a){const r=Xd();if(!r)throw new O(401,"");return r}()}}function Xd(){var a;return null!==(a=null==lc?void 0:lc.get(n1))&&void 0!==a?a:null}let n1=(()=>{class a{constructor(p){this._injector=p,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(p,g){const W=function AA(a,r){let p;return p="noop"===a?new uA:("zone.js"===a?void 0:a)||new _r({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==r?void 0:r.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==r?void 0:r.ngZoneRunCoalescing)}),p}(g?g.ngZone:void 0,{ngZoneEventCoalescing:g&&g.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:g&&g.ngZoneRunCoalescing||!1}),se=[{provide:_r,useValue:W}];return W.run(()=>{const Le=Ir.create({providers:se,parent:this.injector,name:p.moduleType.name}),ze=p.create(Le),Rt=ze.injector.get(Jl,null);if(!Rt)throw new O(402,"");return W.runOutsideAngular(()=>{const zt=W.onError.subscribe({next:_n=>{Rt.handleError(_n)}});ze.onDestroy(()=>{tu(this._modules,ze),zt.unsubscribe()})}),function EA(a,r,p){try{const g=p();return sd(g)?g.catch(b=>{throw r.runOutsideAngular(()=>a.handleError(b)),b}):g}catch(g){throw r.runOutsideAngular(()=>a.handleError(g)),g}}(Rt,W,()=>{const zt=ze.injector.get(Qd);return zt.runInitializers(),zt.donePromise.then(()=>(function _0(a){Mt(a,"Expected localeId to be defined"),"string"==typeof a&&(xg=a.toLowerCase().replace(/_/g,"-"))}(ze.injector.get(Jd,m_)||m_),this._moduleDoBootstrap(ze),ze))})})}bootstrapModule(p,g=[]){const b=o1({},g);return function fA(a,r,p){const g=new Rd(p);return Promise.resolve(g)}(0,0,p).then(I=>this.bootstrapModuleFactory(I,b))}_moduleDoBootstrap(p){const g=p.injector.get(eu);if(p._bootstrapComponents.length>0)p._bootstrapComponents.forEach(b=>g.bootstrap(b));else{if(!p.instance.ngDoBootstrap)throw new O(403,"");p.instance.ngDoBootstrap(g)}this._modules.push(p)}onDestroy(p){this._destroyListeners.push(p)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new O(404,"");this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g());const p=this._injector.get(yl,null);null==p||p(),this._destroyed=!0}get destroyed(){return this._destroyed}}return a.\u0275fac=function(p){return new(p||a)(Yi(Ir))},a.\u0275prov=ft({token:a,factory:a.\u0275fac,providedIn:"platform"}),a})();function o1(a,r){return Array.isArray(r)?r.reduce(o1,a):Object.assign(Object.assign({},a),r)}let eu=(()=>{class a{constructor(p,g,b,I){this._zone=p,this._injector=g,this._exceptionHandler=b,this._initStatus=I,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const F=new e.y(se=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{se.next(this._stable),se.complete()})}),W=new e.y(se=>{let Le;this._zone.runOutsideAngular(()=>{Le=this._zone.onStable.subscribe(()=>{_r.assertNotInAngularZone(),Il(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,se.next(!0))})})});const ze=this._zone.onUnstable.subscribe(()=>{_r.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{se.next(!1)}))});return()=>{Le.unsubscribe(),ze.unsubscribe()}});this.isStable=(0,l.T)(F,W.pipe((0,d.B)()))}bootstrap(p,g){if(!this._initStatus.done)throw new O(405,"");let b;b=p instanceof Yg?p:this._injector.get(x_).resolveComponentFactory(p),this.componentTypes.push(b.componentType);const I=function vA(a){return a.isBoundToModule}(b)?void 0:this._injector.get(Jc),W=b.create(Ir.NULL,[],g||b.selector,I),se=W.location.nativeElement,Le=W.injector.get(Xf,null),ze=Le&&W.injector.get(hA);return Le&&ze&&ze.registerApplication(se,Le),W.onDestroy(()=>{this.detachView(W.hostView),tu(this.components,W),ze&&ze.unregisterApplication(se)}),this._loadComponent(W),W}tick(){if(this._runningTick)throw new O(101,"");try{this._runningTick=!0;for(let p of this._views)p.detectChanges()}catch(p){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(p))}finally{this._runningTick=!1}}attachView(p){const g=p;this._views.push(g),g.attachToAppRef(this)}detachView(p){const g=p;tu(this._views,g),g.detachFromAppRef()}_loadComponent(p){this.attachView(p.hostView),this.tick(),this.components.push(p),this._injector.get(Wf,[]).concat(this._bootstrapListeners).forEac
vendor: 12,048 bytes, line 1
1h(b=>b(p))}ngOnDestroy(){this._views.slice().forEach(p=>p.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return a.\u0275fac=function(p){return new(p||a)(Yi(_r),Yi(Ir),Yi(Jl),Yi(Qd))},a.\u0275prov=ft({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function tu(a,r){const p=a.indexOf(r);p>-1&&a.splice(p,1)}let a1=!0;function MA(){a1=!1}let TA=(()=>{class a{}return a.__NG_ELEMENT_ID__=DA,a})();function DA(a){return function IA(a,r,p){if(Fo(a)&&!p){const g=io(a.index,r);return new Ks(g,g)}return 47&a.type?new Ks(r[16],r):null}(so(),gn(),16==(16&a))}class l1{constructor(){}supports(r){return ul(r)}create(r){return new RA(r)}}const PA=(a,r)=>r;class RA{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||PA}forEachItem(r){let p;for(p=this._itHead;null!==p;p=p._next)r(p)}forEachOperation(r){let p=this._itHead,g=this._removalsHead,b=0,I=null;for(;p||g;){const F=!g||p&&p.currentIndex<p1(g,b,I)?p:g,W=p1(F,b,I),se=F.currentIndex;if(F===g)b--,g=g._nextRemoved;else if(p=p._next,null==F.previousIndex)b++;else{I||(I=[]);const Le=W-b,ze=se-b;if(Le!=ze){for(let zt=0;zt<Le;zt++){const _n=zt<I.length?I[zt]:I[zt]=0,kn=_n+zt;ze<=kn&&kn<Le&&(I[zt]=_n+1)}I[F.previousIndex]=ze-Le}}W!==se&&r(F,W,se)}}forEachPreviousItem(r){let p;for(p=this._previousItHead;null!==p;p=p._nextPrevious)r(p)}forEachAddedItem(r){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)r(p)}forEachMovedItem(r){let p;for(p=this._movesHead;null!==p;p=p._nextMoved)r(p)}forEachRemovedItem(r){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)r(p)}forEachIdentityChange(r){let p;for(p=this._identityChangesHead;null!==p;p=p._nextIdentityChange)r(p)}diff(r){if(null==r&&(r=[]),!ul(r))throw new O(900,"");return this.check(r)?this:null}onDestroy(){}check(r){this._reset();let b,I,F,p=this._itHead,g=!1;if(Array.isArray(r)){this.length=r.length;for(let W=0;W<this.length;W++)I=r[W],F=this._trackByFn(W,I),null!==p&&Object.is(p.trackById,F)?(g&&(p=this._verifyReinsertion(p,I,F,W)),Object.is(p.item,I)||this._addIdentityChange(p,I)):(p=this._mismatch(p,I,F,W),g=!0),p=p._next}else b=0,function XC(a,r){if(Array.isArray(a))for(let p=0;p<a.length;p++)r(a[p]);else{const p=a[Lc()]();let g;for(;!(g=p.next()).done;)r(g.value)}}(r,W=>{F=this._trackByFn(b,W),null!==p&&Object.is(p.trackById,F)?(g&&(p=this._verifyReinsertion(p,W,F,b)),Object.is(p.item,W)||this._addIdentityChange(p,W)):(p=this._mismatch(p,W,F,b),g=!0),p=p._next,b++}),this.length=b;return this._truncate(p),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,p,g,b){let I;return null===r?I=this._itTail:(I=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null))?(Object.is(r.item,p)||this._addIdentityChange(r,p),this._reinsertAfter(r,I,b)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(g,b))?(Object.is(r.item,p)||this._addIdentityChange(r,p),this._moveAfter(r,I,b)):r=this._addAfter(new au(p,g),I,b),r}_verifyReinsertion(r,p,g,b){let I=null===this._unlinkedRecords?null:this._unlinkedRecords.get(g,null);return null!==I?r=this._reinsertAfter(I,r._prev,b):r.currentIndex!=b&&(r.currentIndex=b,this._addToMoves(r,b)),r}_truncate(r){for(;null!==r;){const p=r._next;this._addToRemovals(this._unlink(r)),r=p}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(r,p,g){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const b=r._prevRemoved,I=r._nextRemoved;return null===b?this._removalsHead=I:b._nextRemoved=I,null===I?this._removalsTail=b:I._prevRemoved=b,this._insertAfter(r,p,g),this._addToMoves(r,g),r}_moveAfter(r,p,g){return this._unlink(r),this._insertAfter(r,p,g),this._addToMoves(r,g),r}_addAfter(r,p,g){return this._insertAfter(r,p,g),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,p,g){const b=null===p?this._itHead:p._next;return r._next=b,r._prev=p,null===b?this._itTail=r:b._prev=r,null===p?this._itHead=r:p._next=r,null===this._linkedRecords&&(this._linkedRecords=new _1),this._linkedRecords.put(r),r.currentIndex=g,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const p=r._prev,g=r._next;return null===p?this._itHead=g:p._next=g,null===g?this._itTail=p:g._prev=p,r}_addToMoves(r,p){return r.previousIndex===p||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _1),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,p){return r.item=p,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class au{constructor(r,p){this.item=r,this.trackById=p,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ZA{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,p){let g;for(g=this._head;null!==g;g=g._nextDup)if((null===p||p<=g.currentIndex)&&Object.is(g.trackById,r))return g;return null}remove(r){const p=r._prevDup,g=r._nextDup;return null===p?this._head=g:p._nextDup=g,null===g?this._tail=p:g._prevDup=p,null===this._head}}class _1{constructor(){this.map=new Map}put(r){const p=r.trackById;let g=this.map.get(p);g||(g=new ZA,this.map.set(p,g)),g.add(r)}get(r,p){const b=this.map.get(r);return b?b.get(r,p):null}remove(r){const p=r.trackById;return this.map.get(p).remove(r)&&this.map.delete(p),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function p1(a,r,p){const g=a.previousIndex;if(null===g)return g;let b=0;return p&&g<p.length&&(b=p[g]),g+r+b}class d1{constructor(){}supports(r){return r instanceof Map||Wp(r)}create(){return new NA}}class NA{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(r){let p;for(p=this._mapHead;null!==p;p=p._next)r(p)}forEachPreviousItem(r){let p;for(p=this._previousMapHead;null!==p;p=p._nextPrevious)r(p)}forEachChangedItem(r){let p;for(p=this._changesHead;null!==p;p=p._nextChanged)r(p)}forEachAddedItem(r){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)r(p)}forEachRemovedItem(r){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)r(p)}diff(r){if(r){if(!(r instanceof Map||Wp(r)))throw new O(900,"")}else r=new Map;return this.check(r)?this:null}onDestroy(){}check(r){this._reset();let p=this._mapHead;if(this._appendAfter=null,this._forEach(r,(g,b)=>{if(p&&p.key===b)this._maybeAddToChanges(p,g),this._appendAfter=p,p=p._next;else{const I=this._getOrCreateRecordForKey(b,g);p=this._insertBeforeOrAppend(p,I)}}),p){p._prev&&(p._prev._next=null),this._removalsHead=p;for(let g=p;null!==g;g=g._nextRemoved)g===this._mapHead&&(this._mapHead=null),this._records.delete(g.key),g._nextRemoved=g._next,g.previousValue=g.currentValue,g.currentValue=null,g._prev=null,g._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,p){if(r){const g=r._prev;return p._next=r,p._prev=g,r._prev=p,g&&(g._next=p),r===this._mapHead&&(this._mapHead=p),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=p,p._prev=this._appendAfter):this._mapHead=p,this._appendAfter=p,null}_getOrCreateRecordForKey(r,p){if(this._records.has(r)){const b=this._records.get(r);this._maybeAddToChanges(b,p);const I=b._prev,F=b._next;return I&&(I._next=F),F&&(F._prev=I),b._next=null,b._prev=null,b}const g=new LA(r);return this._records.set(r,g),g.currentValue=p,this._addToAdditions(g),g}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,p){Object.is(p,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=p,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,p){r instanceof Map?r.forEach(p):Object.keys(r).forEach(g=>p(r[g],g))}}class LA{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function u1(){return new su([new l1])}let su=(()=>{class a{constructor(p){this.factories=p}static create(p,g){if(null!=g){const b=g.factories.slice();p=p.concat(b)}return new a(p)}static extend(p){return{provide:a,useFactory:g=>a.create(p,g||u1()),deps:[[a,new Ys,new ys]]}}find(p){const g=this.factories.find(b=>b.supports(p));if(null!=g)return g;throw new O(901,"")}}return a.\u0275prov=ft({token:a,providedIn:"root",factory:u1}),a})();function h1(){return new ru([new d1])}let ru=(()=>{class a{constructor(p){this.factories=p}static create(p,g){if(g){const b=g.factories.slice();p=p.concat(b)}return new a(p)}static extend(p){return{provide:a,useFactory:g=>a.create(p,g||h1()),deps:[[a,new Ys,new ys]]}}find(p){const g=this.factories.find(I=>I.supports(p));if(g)return g;throw new O(901,"")}}return a.\u0275prov=ft({token:a,providedIn:"root",factory:h1}),a})();const wl=t1(null,"core",[]);let qA=(()=>{class a{constructor(p){}}return a.\u0275fac=function(p){return new(p||a)(Yi(eu))},a.\u0275mod=An({type:a}),a.\u0275inj=Et({}),a})()},3075:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Cf:()=>c,F:()=>Bi,Fj:()=>h,JJ:()=>Mn,JL:()=>rn,JU:()=>T,Kr:()=>Ra,NI:()=>Ln,On:()=>Fo,Q7:()=>Ya,UX:()=>ao,Wl:()=>R,YN:()=>cs,Zs:()=>ya,_Y:()=>ua,a5:()=>le,cw:()=>Si,gN:()=>Ne,kI:()=>ee,nD:()=>mt,oH:()=>$i,qu:()=>To,sg:()=>Wi,u:()=>
1oa,u5:()=>io});var i=m(5e3),s=m(60),e=m(2076),l=m(4128),d=m(4004);let A=(()=>{class ${constructor(U,ce){this._renderer=U,this._elementRef=ce,this.onChange=vt=>{},this.onTouched=()=>{}}setProperty(U,ce){this._renderer.setProperty(this._elementRef.nativeElement,U,ce)}registerOnTouched(U){this.onTouched=U}registerOnChange(U){this.onChange=U}setDisabledState(U){this.setProperty("disabled",U)}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(i.Qsj),i.Y36(i.SBq))},$.\u0275dir=i.lG2({type:$}),$})(),C=(()=>{class $ extends A{}return $.\u0275fac=function(){let L;return function(ce){return(L||(L=i.n5z($)))(ce||$)}}(),$.\u0275dir=i.lG2({type:$,features:[i.qOj]}),$})();const T=new i.OlP("NgValueAccessor"),S={provide:T,useExisting:(0,i.Gpc)(()=>R),multi:!0};let R=(()=>{class $ extends C{writeValue(U){this.setProperty("checked",U)}}return $.\u0275fac=function(){let L;return function(ce){return(L||(L=i.n5z($)))(ce||$)}}(),$.\u0275dir=i.lG2({type:$,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(U,ce){1&U&&i.NdJ("change",function(Wt){return ce.onChange(Wt.target.checked)})("blur",function(){return ce.onTouched()})},features:[i._Bn([S]),i.qOj]}),$})();const q={provide:T,useExisting:(0,i.Gpc)(()=>h),multi:!0},k=new i.OlP("CompositionEventMode");let h=(()=>{class $ extends A{constructor(U,ce,vt){super(U,ce),this._compositionMode=vt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function w(){const $=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test($.toLowerCase())}())}writeValue(U){this.setProperty("value",null==U?"":U)}_handleInput(U){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(U)}_compositionStart(){this._composing=!0}_compositionEnd(U){this._composing=!1,this._compositionMode&&this.onChange(U)}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(k,8))},$.\u0275dir=i.lG2({type:$,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(U,ce){1&U&&i.NdJ("input",function(Wt){return ce._handleInput(Wt.target.value)})("blur",function(){return ce.onTouched()})("compositionstart",function(){return ce._compositionStart()})("compositionend",function(Wt){return ce._compositionEnd(Wt.target.value)})},features:[i._Bn([q]),i.qOj]}),$})();function O($){return null==$||0===$.length}function E($){return null!=$&&"number"==typeof $.length}const c=new i.OlP("NgValidators"),Z=new i.OlP("NgAsyncValidators"),v=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ee{static min(L){return function X($){return L=>{if(O(L.value)||O($))return null;const U=parseFloat(L.value);return!isNaN(U)&&U<$?{min:{min:$,actual:L.value}}:null}}(L)}static max(L){return function te($){return L=>{if(O(L.value)||O($))return null;const U=parseFloat(L.value);return!isNaN(U)&&U>$?{max:{max:$,actual:L.value}}:null}}(L)}static required(L){return _e(L)}static requiredTrue(L){return ne(L)}static email(L){return function oe($){return O($.value)||v.test($.value)?null:{email:!0}}(L)}static minLength(L){return function he($){return L=>O(L.value)||!E(L.value)?null:L.value.length<$?{minlength:{requiredLength:$,actualLength:L.value.length}}:null}(L)}static maxLength(L){return Se(L)}static pattern(L){return function Be($){if(!$)return ot;let L,U;return"string"==typeof $?(U="","^"!==$.charAt(0)&&(U+="^"),U+=$,"$"!==$.charAt($.length-1)&&(U+="$"),L=new RegExp(U)):(U=$.toString(),L=$),ce=>{if(O(ce.value))return null;const vt=ce.value;return L.test(vt)?null:{pattern:{requiredPattern:U,actualValue:vt}}}}(L)}static nullValidator(L){return null}static compose(L){return Mt(L)}static composeAsync(L){return me(L)}}function _e($){return O($.value)?{required:!0}:null}function ne($){return!0===$.value?null:{required:!0}}function Se($){return L=>E(L.value)&&L.value.length>$?{maxlength:{requiredLength:$,actualLength:L.value.length}}:null}function ot($){return null}function nt($){return null!=$}function xt($){const L=(0,i.QGY)($)?(0,e.D)($):$;return(0,i.CqO)(L),L}function At($){let L={};return $.forEach(U=>{L=null!=U?Object.assign(Object.assign({},L),U):L}),0===Object.keys(L).length?null:L}function Qt($,L){return L.map(U=>U($))}function dt($){return $.map(L=>function Vt($){return!$.validate}(L)?L:U=>L.validate(U))}function Mt($){if(!$)return null;const L=$.filter(nt);return 0==L.length?null:function(U){return At(Qt(U,L))}}function we($){return null!=$?Mt(dt($)):null}function me($){if(!$)return null;const L=$.filter(nt);return 0==L.length?null:function(U){const ce=Qt(U,L).map(xt);return(0,l.D)(ce).pipe((0,d.U)(At))}}function We($){return null!=$?me(dt($)):null}function re($,L){return null===$?[L]:Array.isArray($)?[...$,L]:[$,L]}function ft($){return $._rawValidators}function Ot($){return $._rawAsyncValidators}function Et($){return $?Array.isArray($)?$:[$]:[]}function Lt($,L){return Array.isArray($)?$.includes(L):$===L}function It($,L){const U=Et(L);return Et($).forEach(vt=>{Lt(U,vt)||U.push(vt)}),U}function it($,L){return Et(L).filter(U=>!Lt($,U))}class wt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(L){this._rawValidators=L||[],this._composedValidatorFn=we(this._rawValidators)}_setAsyncValidators(L){this._rawAsyncValidators=L||[],this._composedAsyncValidatorFn=We(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(L){this._onDestroyCallbacks.push(L)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(L=>L()),this._onDestroyCallbacks=[]}reset(L){this.control&&this.control.reset(L)}hasError(L,U){return!!this.control&&this.control.hasError(L,U)}getError(L,U){return this.control?this.control.getError(L,U):null}}class le extends wt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ne extends wt{get formDirective(){return null}get path(){return null}}class Ut{constructor(L){this._cd=L}is(L){var U,ce,vt;return"submitted"===L?!!(null===(U=this._cd)||void 0===U?void 0:U.submitted):!!(null===(vt=null===(ce=this._cd)||void 0===ce?void 0:ce.control)||void 0===vt?void 0:vt[L])}}let Mn=(()=>{class $ extends Ut{constructor(U){super(U)}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(le,2))},$.\u0275dir=i.lG2({type:$,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(U,ce){2&U&&i.ekj("ng-untouched",ce.is("untouched"))("ng-touched",ce.is("touched"))("ng-pristine",ce.is("pristine"))("ng-dirty",ce.is("dirty"))("ng-valid",ce.is("valid"))("ng-invalid",ce.is("invalid"))("ng-pending",ce.is("pending"))},features:[i.qOj]}),$})(),rn=(()=>{class $ extends Ut{constructor(U){super(U)}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(Ne,10))},$.\u0275dir=i.lG2({type:$,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(U,ce){2&U&&i.ekj("ng-untouched",ce.is("untouched"))("ng-touched",ce.is("touched"))("ng-pristine",ce.is("pristine"))("ng-dirty",ce.is("dirty"))("ng-valid",ce.is("valid"))("ng-invalid",ce.is("invalid"))("ng-pending",ce.is("pending"))("ng-submitted",ce.is("submitted"))},features:[i.qOj]}),$})();function Di($,L){return[...L.path,$]}function In($,L){gt($,L),L.valueAccessor.writeValue($.value),function Oe($,L){L.valueAccessor.registerOnChange(U=>{$._pendingValue=U,$._pendingChange=!0,$._pendingDirty=!0,"change"===$.updateOn&&Ft($,L)})}($,L),function fn($,L){const U=(ce,vt)=>{L.valueAccessor.writeValue(ce),vt&&L.viewToModelUpdate(ce)};$.registerOnChange(U),L._registerOnDestroy(()=>{$._unregisterOnChange(U)})}($,L),function pt($,L){L.valueAccessor.registerOnTouched(()=>{$._pendingTouched=!0,"blur"===$.updateOn&&$._pendingChange&&Ft($,L),"submit"!==$.updateOn&&$.markAsTouched()})}($,L),function Vi($,L){if(L.valueAccessor.setDisabledState){const U=ce=>{L.valueAccessor.setDisabledState(ce)};$.registerOnDisabledChange(U),L._registerOnDestroy(()=>{$._unregisterOnDisabledChange(U)})}}($,L)}function Fn($,L,U=!0){const ce=()=>{};L.valueAccessor&&(L.valueAccessor.registerOnChange(ce),L.valueAccessor.registerOnTouched(ce)),He($,L),$&&(L._invokeOnDestroyCallbacks(),$._registerOnCollectionChange(()=>{}))}function ei($,L){$.forEach(U=>{U.registerOnValidatorChange&&U.registerOnValidatorChange(L)})}function gt($,L){const U=ft($);null!==L.validator?$.setValidators(re(U,L.validator)):"function"==typeof U&&$.setValidators([U]);const ce=Ot($);null!==L.asyncValidator?$.setAsyncValidators(re(ce,L.asyncValidator)):"function"==typeof ce&&$.setAsyncValidators([ce]);const vt=()=>$.updateValueAndValidity();ei(L._rawValidators,vt),ei(L._rawAsyncValidators,vt)}function He($,L){let U=!1;if(null!==$){if(null!==L.validator){const vt=ft($);if(Array.isArray(vt)&&vt.length>0){const Wt=vt.filter(qn=>qn!==L.validator);Wt.length!==vt.length&&(U=!0,$.setValidators(Wt))}}if(null!==L.asyncValidator){const vt=Ot($);if(Array.isArray(vt)&&vt.length>0){const Wt=vt.filter(qn=>qn!==L.asyncValidator);Wt.length!==vt.length&&(U=!0,$.setAsyncValidators(Wt))}}}const ce=()=>{};return ei(L._rawValidators,ce),ei(L._rawAsyncValidators,ce),U}function Ft($,L){$._pendingDirty&&$.markAsDirty(),$.setValue($._pendingValue,{emitModelToViewChange:!1}),L.viewToModelUpdate($._pendingValue),$._pendingChange=!1}function Zn($,L){gt($,L)}function st($,L){if(!$.hasOwnProperty("model"))return!1;const U=$.model;return!!U.isFirstChange()||!Object.is(L,U.currentValue)}
1function $t($,L){$._syncPendingControls(),L.forEach(U=>{const ce=U.control;"submit"===ce.updateOn&&ce._pendingChange&&(U.viewToModelUpdate(ce._pendingValue),ce._pendingChange=!1)})}function un($,L){if(!L)return null;let U,ce,vt;return Array.isArray(L),L.forEach(Wt=>{Wt.constructor===h?U=Wt:function ct($){return Object.getPrototypeOf($.constructor)===C}(Wt)?ce=Wt:vt=Wt}),vt||ce||U||null}function $n($,L){const U=$.indexOf(L);U>-1&&$.splice(U,1)}const co="VALID",uo="INVALID",gi="PENDING",bo="DISABLED";function xo($){return(ye($)?$.validators:$)||null}function Nn($){return Array.isArray($)?we($):$||null}function fe($,L){return(ye(L)?L.asyncValidators:$)||null}function Pe($){return Array.isArray($)?We($):$||null}function ye($){return null!=$&&!Array.isArray($)&&"object"==typeof $}const Ee=$=>$ instanceof Ln,lt=$=>$ instanceof Si,Y=$=>$ instanceof Ti;function Te($){return Ee($)?$.value:$.getRawValue()}function rt($,L){const U=lt($),ce=$.controls;if(!(U?Object.keys(ce):ce).length)throw new i.vHH(1e3,"");if(!ce[L])throw new i.vHH(1001,"")}function Nt($,L){lt($),$._forEachChild((ce,vt)=>{if(void 0===L[vt])throw new i.vHH(1002,"")})}class Tn{constructor(L,U){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=L,this._rawAsyncValidators=U,this._composedValidatorFn=Nn(this._rawValidators),this._composedAsyncValidatorFn=Pe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(L){this._rawValidators=this._composedValidatorFn=L}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(L){this._rawAsyncValidators=this._composedAsyncValidatorFn=L}get parent(){return this._parent}get valid(){return this.status===co}get invalid(){return this.status===uo}get pending(){return this.status==gi}get disabled(){return this.status===bo}get enabled(){return this.status!==bo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(L){this._rawValidators=L,this._composedValidatorFn=Nn(L)}setAsyncValidators(L){this._rawAsyncValidators=L,this._composedAsyncValidatorFn=Pe(L)}addValidators(L){this.setValidators(It(L,this._rawValidators))}addAsyncValidators(L){this.setAsyncValidators(It(L,this._rawAsyncValidators))}removeValidators(L){this.setValidators(it(L,this._rawValidators))}removeAsyncValidators(L){this.setAsyncValidators(it(L,this._rawAsyncValidators))}hasValidator(L){return Lt(this._rawValidators,L)}hasAsyncValidator(L){return Lt(this._rawAsyncValidators,L)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(L={}){this.touched=!0,this._parent&&!L.onlySelf&&this._parent.markAsTouched(L)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(L=>L.markAllAsTouched())}markAsUntouched(L={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(U=>{U.markAsUntouched({onlySelf:!0})}),this._parent&&!L.onlySelf&&this._parent._updateTouched(L)}markAsDirty(L={}){this.pristine=!1,this._parent&&!L.onlySelf&&this._parent.markAsDirty(L)}markAsPristine(L={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(U=>{U.markAsPristine({onlySelf:!0})}),this._parent&&!L.onlySelf&&this._parent._updatePristine(L)}markAsPending(L={}){this.status=gi,!1!==L.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!L.onlySelf&&this._parent.markAsPending(L)}disable(L={}){const U=this._parentMarkedDirty(L.onlySelf);this.status=bo,this.errors=null,this._forEachChild(ce=>{ce.disable(Object.assign(Object.assign({},L),{onlySelf:!0}))}),this._updateValue(),!1!==L.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},L),{skipPristineCheck:U})),this._onDisabledChange.forEach(ce=>ce(!0))}enable(L={}){const U=this._parentMarkedDirty(L.onlySelf);this.status=co,this._forEachChild(ce=>{ce.enable(Object.assign(Object.assign({},L),{onlySelf:!0}))}
1),this.updateValueAndValidity({onlySelf:!0,emitEvent:L.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},L),{skipPristineCheck:U})),this._onDisabledChange.forEach(ce=>ce(!1))}_updateAncestors(L){this._parent&&!L.onlySelf&&(this._parent.updateValueAndValidity(L),L.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(L){this._parent=L}updateValueAndValidity(L={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===co||this.status===gi)&&this._runAsyncValidator(L.emitEvent)),!1!==L.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!L.onlySelf&&this._parent.updateValueAndValidity(L)}_updateTreeValidity(L={emitEvent:!0}){this._forEachChild(U=>U._updateTreeValidity(L)),this.updateValueAndValidity({onlySelf:!0,emitEvent:L.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bo:co}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(L){if(this.asyncValidator){this.status=gi,this._hasOwnPendingAsyncValidator=!0;const U=xt(this.asyncValidator(this));this._asyncValidationSubscription=U.subscribe(ce=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ce,{emitEvent:L})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(L,U={}){this.errors=L,this._updateControlsErrors(!1!==U.emitEvent)}get(L){return function to($,L,U){if(null==L||(Array.isArray(L)||(L=L.split(U)),Array.isArray(L)&&0===L.length))return null;let ce=$;return L.forEach(vt=>{ce=lt(ce)?ce.controls.hasOwnProperty(vt)?ce.controls[vt]:null:Y(ce)&&ce.at(vt)||null}),ce}(this,L,".")}getError(L,U){const ce=U?this.get(U):this;return ce&&ce.errors?ce.errors[L]:null}hasError(L,U){return!!this.getError(L,U)}get root(){let L=this;for(;L._parent;)L=L._parent;return L}_updateControlsErrors(L){this.status=this._calculateStatus(),L&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(L)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?bo:this.errors?uo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gi)?gi:this._anyControlsHaveStatus(uo)?uo:co}_anyControlsHaveStatus(L){return this._anyControls(U=>U.status===L)}_anyControlsDirty(){return this._anyControls(L=>L.dirty)}_anyControlsTouched(){return this._anyControls(L=>L.touched)}_updatePristine(L={}){this.pristine=!this._anyControlsDirty(),this._parent&&!L.onlySelf&&this._parent._updatePristine(L)}_updateTouched(L={}){this.touched=this._anyControlsTouched(),this._parent&&!L.onlySelf&&this._parent._updateTouched(L)}_isBoxedValue(L){return"object"==typeof L&&null!==L&&2===Object.keys(L).length&&"value"in L&&"disabled"in L}_registerOnCollectionChange(L){this._onCollectionChange=L}_setUpdateStrategy(L){ye(L)&&null!=L.updateOn&&(this._updateOn=L.updateOn)}_parentMarkedDirty(L){return!L&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ln extends Tn{constructor(L=null,U,ce){super(xo(U),fe(ce,U)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(L),this._setUpdateStrategy(U),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ye(U)&&U.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(L)?L.value:L)}setValue(L,U={}){this.value=this._pendingValue=L,this._onChange.length&&!1!==U.emitModelToViewChange&&this._onChange.forEach(ce=>ce(this.value,!1!==U.emitViewToModelChange)),this.updateValueAndValidity(U)}patchValue(L,U={}){this.setValue(L,U)}reset(L=this.defaultValue,U={}){this._applyFormState(L),this.markAsPristine(U),this.markAsUntouched(U),this.setValue(this.value,U),this._pendingChange=!1}_updateValue(){}_anyControls(L){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(L){this._onChange.push(L)}_unregisterOnChange(L){$n(this._onChange,L)}registerOnDisabledChange(L){this._onDisabledChange.push(L)}_unregisterOnDisabledChange(L){$n(this._onDisabledChange,L)}_forEachChild(L){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pe
1ndingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(L){this._isBoxedValue(L)?(this.value=this._pendingValue=L.value,L.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=L}}class Si extends Tn{constructor(L,U,ce){super(xo(U),fe(ce,U)),this.controls=L,this._initObservables(),this._setUpdateStrategy(U),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(L,U){return this.controls[L]?this.controls[L]:(this.controls[L]=U,U.setParent(this),U._registerOnCollectionChange(this._onCollectionChange),U)}addControl(L,U,ce={}){this.registerControl(L,U),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}removeControl(L,U={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),delete this.controls[L],this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}setControl(L,U,ce={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),delete this.controls[L],U&&this.registerControl(L,U),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}contains(L){return this.controls.hasOwnProperty(L)&&this.controls[L].enabled}setValue(L,U={}){Nt(this,L),Object.keys(L).forEach(ce=>{rt(this,ce),this.controls[ce].setValue(L[ce],{onlySelf:!0,emitEvent:U.emitEvent})}),this.updateValueAndValidity(U)}patchValue(L,U={}){null!=L&&(Object.keys(L).forEach(ce=>{this.controls[ce]&&this.controls[ce].patchValue(L[ce],{onlySelf:!0,emitEvent:U.emitEvent})}),this.updateValueAndValidity(U))}reset(L={},U={}){this._forEachChild((ce,vt)=>{ce.reset(L[vt],{onlySelf:!0,emitEvent:U.emitEvent})}),this._updatePristine(U),this._updateTouched(U),this.updateValueAndValidity(U)}getRawValue(){return this._reduceChildren({},(L,U,ce)=>(L[ce]=Te(U),L))}_syncPendingControls(){let L=this._reduceChildren(!1,(U,ce)=>!!ce._syncPendingControls()||U);return L&&this.updateValueAndValidity({onlySelf:!0}),L}_forEachChild(L){Object.keys(this.controls).forEach(U=>{const ce=this.controls[U];ce&&L(ce,U)})}_setUpControls(){this._forEachChild(L=>{L.setParent(this),L._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(L){for(const U of Object.keys(this.controls)){const ce=this.controls[U];if(this.contains(U)&&L(ce))return!0}return!1}_reduceValue(){return this._reduceChildren({},(L,U,ce)=>((U.enabled||this.disabled)&&(L[ce]=U.value),L))}_reduceChildren(L,U){let ce=L;return this._forEachChild((vt,Wt)=>{ce=U(ce,vt,Wt)}),ce}_allControlsDisabled(){for(const L of Object.keys(this.controls))if(this.controls[L].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Ti extends Tn{constructor(L,U,ce){super(xo(U),fe(ce,U)),this.controls=L,this._initObservables(),this._setUpdateStrategy(U),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(L){return this.controls[L]}push(L,U={}){this.controls.push(L),this._registerControl(L),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}insert(L,U,ce={}){this.controls.splice(L,0,U),this._registerControl(U),this.updateValueAndValidity({emitEvent:ce.emitEvent})}removeAt(L,U={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),this.controls.splice(L,1),this.updateValueAndValidity({emitEvent:U.emitEvent})}setControl(L,U,ce={}){this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),this.controls.splice(L,1),U&&(this.controls.splice(L,0,U),this._registerControl(U)),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(L,U={}){Nt(this,L),L.forEach((ce,vt)=>{rt(this,vt),this.at(vt).setValue(ce,{onlySelf:!0,emitEvent:U.emitEvent})}),this.updateValueAndValidity(U)}patchValue(L,U={}){null!=L&&(L.forEach((ce,vt)=>{this.at(vt)&&this.at(vt).patchValue(ce,{onlySelf:!0,emitEvent:U.emitEvent})}
1),this.updateValueAndValidity(U))}reset(L=[],U={}){this._forEachChild((ce,vt)=>{ce.reset(L[vt],{onlySelf:!0,emitEvent:U.emitEvent})}),this._updatePristine(U),this._updateTouched(U),this.updateValueAndValidity(U)}getRawValue(){return this.controls.map(L=>Te(L))}clear(L={}){this.controls.length<1||(this._forEachChild(U=>U._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:L.emitEvent}))}_syncPendingControls(){let L=this.controls.reduce((U,ce)=>!!ce._syncPendingControls()||U,!1);return L&&this.updateValueAndValidity({onlySelf:!0}),L}_forEachChild(L){this.controls.forEach((U,ce)=>{L(U,ce)})}_updateValue(){this.value=this.controls.filter(L=>L.enabled||this.disabled).map(L=>L.value)}_anyControls(L){return this.controls.some(U=>U.enabled&&L(U))}_setUpControls(){this._forEachChild(L=>this._registerControl(L))}_allControlsDisabled(){for(const L of this.controls)if(L.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(L){L.setParent(this),L._registerOnCollectionChange(this._onCollectionChange)}}const ho={provide:Ne,useExisting:(0,i.Gpc)(()=>Bi)},zi=(()=>Promise.resolve(null))();let Bi=(()=>{class $ extends Ne{constructor(U,ce){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Si({},we(U),We(ce))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(U){zi.then(()=>{const ce=this._findContainer(U.path);U.control=ce.registerControl(U.name,U.control),In(U.control,U),U.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(U)})}getControl(U){return this.form.get(U.path)}
1removeControl(U){zi.then(()=>{const ce=this._findContainer(U.path);ce&&ce.removeControl(U.name),this._directives.delete(U)})}addFormGroup(U){zi.then(()=>{const ce=this._findContainer(U.path),vt=new Si({});Zn(vt,U),ce.registerControl(U.name,vt),vt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(U){zi.then(()=>{const ce=this._findContainer(U.path);ce&&ce.removeControl(U.name)})}getFormGroup(U){return this.form.get(U.path)}updateModel(U,ce){zi.then(()=>{this.form.get(U.path).setValue(ce)})}setValue(U){this.control.setValue(U)}onSubmit(U){return this.submitted=!0,$t(this.form,this._directives),this.ngSubmit.emit(U),!1}onReset(){this.resetForm()}resetForm(U){this.form.reset(U),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(U){return U.pop(),U.length?this.form.get(U):this.form}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(c,10),i.Y36(Z,10))},$.\u0275dir=i.lG2({type:$,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(U,ce){1&U&&i.NdJ("submit",function(Wt){return ce.onSubmit(Wt)})("reset",function(){return ce.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([ho]),i.qOj]}),$})();const wo={provide:le,useExisting:(0,i.Gpc)(()=>Fo)},Ao=(()=>Promise.resolve(null))();let Fo=(()=>{class $ extends le{constructor(U,ce,vt,Wt,qn){super(),this._changeDetectorRef=qn,this.control=new Ln,this._registered=!1,this.update=new i.vpe,this._parent=U,this._setValidators(ce),this._setAsyncValidators(vt),this.valueAccessor=un(0,Wt)}ngOnChanges(U){if(this._checkForErrors(),!this._registered||"name"in U){if(this._registered&&(this._checkName(),this.formDirective)){const ce=U.name.previousValue;this.formDirective.removeControl({name:ce,path:this._getPath(ce)})}this._setUpControl()}"isDisabled"in U&&this._updateDisabled(U),st(U,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(U){this.viewModel=U,this.update.emit(U)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){In(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(U){Ao.then(()=>{var ce;this.control.setValue(U,{emitViewToModelChange:!1}),null===(ce=this._changeDetectorRef)||void 0===ce||ce.markForCheck()})}_updateDisabled(U){const ce=U.isDisabled.currentValue,vt=""===ce||ce&&"false"!==ce;Ao.then(()=>{var Wt;vt&&!this.control.disabled?this.control.disable():!vt&&this.control.disabled&&this.control.enable(),null===(Wt=this._changeDetectorRef)||void 0===Wt||Wt.markForCheck()})}_getPath(U){return this._parent?Di(U,this._parent):[U]}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(Ne,9),i.Y36(c,10),i.Y36(Z,10),i.Y36(T,10),i.Y36(i.sBO,8))},$.\u0275dir=i.lG2({type:$,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([wo]),i.qOj,i.TTD]}),$})(),ua=(()=>{class ${}return $.\u0275fac=function(U){return new(U||$)},$.\u0275dir=i.lG2({type:$,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),$})(),G=(()=>{class ${}return $.\u0275fac=function(U){return new(U||$)},$.\u0275mod=i.oAB({type:$}),$.\u0275inj=i.cJS({}),$})();const vn=new i.OlP("NgModelWithFormControlWarning"),zn={provide:le,useExisting:(0,i.Gpc)(()=>$i)};let $i=(()=>{class $ extends le{constructor(U,ce,vt,Wt){super(),this._ngModelWarningConfig=Wt,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(U),this._setAsyncValidators(ce),this.valueAccessor=un(0,vt)}set isDisabled(U){}ngOnChanges(U){if(this._isControlChanged(U)){const ce=U.form.previousValue;ce&&Fn(ce,this,!1),In(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}st(U,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
1ngOnDestroy(){this.form&&Fn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(U){this.viewModel=U,this.update.emit(U)}_isControlChanged(U){return U.hasOwnProperty("form")}}return $._ngModelWarningSentOnce=!1,$.\u0275fac=function(U){return new(U||$)(i.Y36(c,10),i.Y36(Z,10),i.Y36(T,10),i.Y36(vn,8))},$.\u0275dir=i.lG2({type:$,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([zn]),i.qOj,i.TTD]}),$})();const no={provide:Ne,useExisting:(0,i.Gpc)(()=>Wi)};let Wi=(()=>{class $ extends Ne{constructor(U,ce){super(),this.validators=U,this.asyncValidators=ce,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(U),this._setAsyncValidators(ce)}ngOnChanges(U){this._checkFormPresent(),U.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(He(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(U){const ce=this.form.get(U.path);return In(ce,U),ce.updateValueAndValidity({emitEvent:!1}),this.directives.push(U),ce}getControl(U){return this.form.get(U.path)}
1removeControl(U){Fn(U.control||null,U,!1),$n(this.directives,U)}addFormGroup(U){this._setUpFormContainer(U)}removeFormGroup(U){this._cleanUpFormContainer(U)}getFormGroup(U){return this.form.get(U.path)}addFormArray(U){this._setUpFormContainer(U)}removeFormArray(U){this._cleanUpFormContainer(U)}getFormArray(U){return this.form.get(U.path)}updateModel(U,ce){this.form.get(U.path).setValue(ce)}onSubmit(U){return this.submitted=!0,$t(this.form,this.directives),this.ngSubmit.emit(U),!1}onReset(){this.resetForm()}resetForm(U){this.form.reset(U),this.submitted=!1}_updateDomValue(){this.directives.forEach(U=>{const ce=U.control,vt=this.form.get(U.path);ce!==vt&&(Fn(ce||null,U),Ee(vt)&&(In(vt,U),U.control=vt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(U){const ce=this.form.get(U.path);Zn(ce,U),ce.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(U){if(this.form){const ce=this.form.get(U.path);ce&&function ni($,L){return He($,L)}(ce,U)&&ce.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gt(this.form,this),this._oldForm&&He(this._oldForm,this)}_checkFormPresent(){}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(c,10),i.Y36(Z,10))},$.\u0275dir=i.lG2({type:$,selectors:[["","formGroup",""]],hostBindings:function(U,ce){1&U&&i.NdJ("submit",function(Wt){return ce.onSubmit(Wt)})("reset",function(){return ce.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([no]),i.qOj,i.TTD]}),$})();const Ca={provide:le,useExisting:(0,i.Gpc)(()=>oa)};let oa=(()=>{class $ extends le{constructor(U,ce,vt,Wt,qn){super(),this._ngModelWarningConfig=qn,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=U,this._setValidators(ce),this._setAsyncValidators(vt),this.valueAccessor=un(0,Wt)}set isDisabled(U){}ngOnChanges(U){this._added||this._setUpControl(),st(U,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(U){this.viewModel=U,this.update.emit(U)}get path(){return Di(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return $._ngModelWarningSentOnce=!1,$.\u0275fac=function(U){return new(U||$)(i.Y36(Ne,13),i.Y36(c,10),i.Y36(Z,10),i.Y36(T,10),i.Y36(vn,8))},$.\u0275dir=i.lG2({type:$,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Ca]),i.qOj,i.TTD]}),$})();const ka={provide:T,useExisting:(0,i.Gpc)(()=>Ho),multi:!0};function ha($,L){return null==$?`${L}`:(L&&"object"==typeof L&&(L="Object"),`${$}: ${L}`.slice(0,50))}let Ho=(()=>{class $ extends C{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(U){this._compareWith=U}writeValue(U){this.value=U;const vt=ha(this._getOptionId(U),U);this.setProperty("value",vt)}registerOnChange(U){this.onChange=ce=>{this.value=this._getOptionValue(ce),U(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(U){for(const ce of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ce),U))return ce;return null}_getOptionValue(U){const ce=function Ja($){return $.split(":")[0]}(U);return this._optionMap.has(ce)?this._optionMap.get(ce):U}}return $.\u0275fac=function(){let L;return function(ce){return(L||(L=i.n5z($)))(ce||$)}}(),$.\u0275dir=i.lG2({type:$,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(U,ce){1&U&&i.NdJ("
1change",function(Wt){return ce.onChange(Wt.target.value)})("blur",function(){return ce.onTouched()})},inputs:{compareWith:"compareWith"},features:[i._Bn([ka]),i.qOj]}),$})(),cs=(()=>{class ${constructor(U,ce,vt){this._element=U,this._renderer=ce,this._select=vt,this._select&&(this.id=this._select._registerOption())}set ngValue(U){null!=this._select&&(this._select._optionMap.set(this.id,U),this._setElementValue(ha(this.id,U)),this._select.writeValue(this._select.value))}set value(U){this._setElementValue(U),this._select&&this._select.writeValue(this._select.value)}_setElementValue(U){this._renderer.setProperty(this._element.nativeElement,"value",U)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Ho,9))},$.\u0275dir=i.lG2({type:$,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),$})();const Fa={provide:T,useExisting:(0,i.Gpc)(()=>ba),multi:!0};function Wa($,L){return null==$?`${L}`:("string"==typeof L&&(L=`'${L}'`),L&&"object"==typeof L&&(L="Object"),`${$}: ${L}`.slice(0,50))}let ba=(()=>{class $ extends C{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(U){this._compareWith=U}writeValue(U){let ce;if(this.value=U,Array.isArray(U)){const vt=U.map(Wt=>this._getOptionId(Wt));ce=(Wt,qn)=>{Wt._setSelected(vt.indexOf(qn.toString())>-1)}}else ce=(vt,Wt)=>{vt._setSelected(!1)};this._optionMap.forEach(ce)}registerOnChange(U){this.onChange=ce=>{const vt=[],Wt=ce.selectedOptions;if(void 0!==Wt){const qn=Wt;for(let Mi=0;Mi<qn.length;Mi++){const Ai=this._getOptionValue(qn[Mi].value);vt.push(Ai)}}else{const qn=ce.options;for(let Mi=0;Mi<qn.length;Mi++){const Wn=qn[Mi];if(Wn.selected){const Ai=this._getOptionValue(Wn.value);vt.push(Ai)}}}this.value=vt,U(vt)}}_registerOption(U){const ce=(this._idCounter++).toString();return this._optionMap.set(ce,U),ce}_getOptionId(U){for(const ce of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ce)._value,U))return ce;return null}_getOptionValue(U){const ce=function os($){return $.split(":")[0]}(U);return this._optionMap.has(ce)?this._optionMap.get(ce)._value:U}}return $.\u0275fac=function(){let L;return function(ce){return(L||(L=i.n5z($)))(ce||$)}}(),$.\u0275dir=i.lG2({type:$,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(U,ce){1&U&&i.NdJ("change",function(Wt){return ce.onChange(Wt.target)})("blur",function(){return ce.onTouched()})},inputs:{compareWith:"compareWith"},features:[i._Bn([Fa]),i.qOj]}),$})(),Ra=(()=>{class ${constructor(U,ce,vt){this._element=U,this._renderer=ce,this._select=vt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(U){null!=this._select&&(this._value=U,this._setElementValue(Wa(this.id,U)),this._select.writeValue(this._select.value))}set value(U){this._select?(this._value=U,this._setElementValue(Wa(this.id,U)),this._select.writeValue(this._select.value)):this._setElementValue(U)}_setElementValue(U){this._renderer.setProperty(this._element.nativeElement,"value",U)}_setSelected(U){this._renderer.setProperty(this._element.nativeElement,"selected",U)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return $.\u0275fac=function(U){return new(U||$)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(ba,9))},$.\u0275dir=i.lG2({type:$,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),$})();let lo=(()=>{class ${constructor(){this._validator=ot}ngOnChanges(U){if(this.inputName in U){const ce=this.normalizeInput(U[this.inputName].currentValue);this._enabled=this.enabled(ce),this._validator=this._enabled?this.createValidator(ce):ot,this._onChange&&this._onChange()}}validate(U){return this._validator(U)}registerOnValidatorChange(U){this._onChange=U}enabled(U){return null!=U}}return $.\u0275fac=function(U){return new(U||$)},$.\u0275dir=i.lG2({type:$,features:[i.TTD]}),$})();const jo={provide:c,useExisting:(0,i.Gpc)(()=>Ya),multi:!0},$a={provide:c,useExisting:(0,i.Gpc)(()=>ya),multi:!0};let Ya=(()=>{class $ extends lo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=U=>function ma($){return null!=$&&!1!==$&&"false"!=`${$}`}(U),this.createValidator=U=>_e}enabled(U){return U}}return $.\u0275fac=function(){let L;return function(ce){return(L||(L=i.n5z($)))(ce||$)}}(),$.\u0275dir=i.lG2({type:$,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(U,ce){2&U&&i.uIk("required",ce._enabled?"":null)},inputs:{required:"required"},features:[i._Bn([jo]),i.qOj]}),$})(),ya=(()=>{class $ extends Ya{constructor(){super(...arguments),this.createValidator=U=>ne}}return $.\u0275fac=function(){let L;return function(ce){return(L||(L=i.n5z($)))(ce||$)}}(),$.\u0275dir=i.lG2({type:$,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(U,ce){2&U&&i.uIk("required",ce._enabled?"":null)},features:[i._Bn([$a]),i.qOj]}),$})();const Ce={provide:c,useExisting:(0,i.Gpc)(()=>mt),multi:!0};let mt=(()=>{class $ extends lo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=U=>function Za($){return"number"==typeof $?$:parseInt($,10)}(U),this.createValidator=U=>Se(U)}}return $.\u0275fac=function(){let L;return function(ce){return(L||(L=i.n5z($)))(ce||$)}}(),$.\u0275dir=i.lG2({type:$,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(U,ce){2&U&&i.uIk("maxlength",ce._enabled?ce.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i._Bn([Ce]),i.qOj]}),$})(),_o=(()=>{class ${}return $.\u0275fac=function(U){return new(U||$)},$.\u0275mod=i.oAB({type:$}),$.\u0275inj=i.cJS({imports:[[G]]}),$})(),io=(()=>{class ${}return $.\u0275fac=function(U){return new(U||$)},$.\u0275mod=i.oAB({type:$}),$.\u0275inj=i.cJS({imports:[_o]}),$})(),ao=(()=>{class ${static withConfig(U){return{ngModule:$,providers:[{provide:vn,useValue:U.warnOnNgModelWithFormControl}]}}}return $.\u0275fac=function(U){return new(U||$)},$.\u0275mod=i.oAB({type:$}),$.\u0275inj=i.cJS({imports:[_o]}),$})(),To=(()=>{class ${group(U,ce=null){const vt=this._reduceControls(U);let Mi,Wt=null,qn=null;return null!=ce&&(function No($){return void 0!==$.asyncValidators||void 0!==$.validators||void 0!==$.updateOn}(ce)?(Wt=null!=ce.validators?ce.validators:null,qn=null!=ce.asyncValidators?ce.asyncValidators:null,Mi=null!=ce.updateOn?ce.updateOn:void 0):(Wt=null!=ce.validator?ce.validator:null,qn=null!=ce.asyncValidator?ce.asyncValidator:null)),new Si(vt,{asyncValidators:qn,updateOn:Mi,validators:Wt})}control(U,ce,vt){return new Ln(U,ce,vt)}array(U,ce,vt){const Wt=U.map(qn=>this._createControl(qn));return new Ti(Wt,ce,vt)}_reduceControls(U){const ce={};
1return Object.keys(U).forEach(vt=>{ce[vt]=this._createControl(U[vt])}),ce}_createControl(U){return Ee(U)||lt(U)||Y(U)?U:Array.isArray(U)?this.control(U[0],U.length>1?U[1]:null,U.length>2?U[2]:null):this.control(U)}}return $.\u0275fac=function(U){return new(U||$)},$.\u0275prov=i.Yz7({token:$,factory:$.\u0275fac,providedIn:ao}),$})()},7399:(Yt,Ze,m)=>{"use strict";m.d(Ze,{OG:()=>ee,_r:()=>_e,ch:()=>he});var i=m(1314),s=m(7429),e=m(5e3),l=m(508),d=m(3191),A=m(5113),C=m(925),T=m(60),S=m(1777),R=m(5664),q=m(226),w=m(7579),k=m(6451),h=m(9646),O=m(1159),E=m(9300),c=m(5698);function Z(Be,ot){}const v={bottomSheetState:(0,S.X$)("state",[(0,S.SB)("void, hidden",(0,S.oB)({transform:"translateY(100%)"})),(0,S.SB)("visible",(0,S.oB)({transform:"translateY(0%)"})),(0,S.eR)("visible => void, visible => hidden",(0,S.ru)([(0,S.jt)(`${l.mZ.COMPLEX} ${l.yN.ACCELERATION_CURVE}`),(0,S.IO)("@*",(0,S.pV)(),{optional:!0})])),(0,S.eR)("void => visible",(0,S.ru)([(0,S.jt)(`${l.mZ.EXITING} ${l.yN.DECELERATION_CURVE}`),(0,S.IO)("@*",(0,S.pV)(),{optional:!0})]))])},ee=new e.OlP("MatBottomSheetData");class X{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}}let te=(()=>{class Be extends s.en{constructor(nt,xt,At,Qt,Vt,dt,Mt,we){super(),this._elementRef=nt,this._changeDetectorRef=xt,this._focusTrapFactory=At,this._interactivityChecker=Qt,this._ngZone=Vt,this.bottomSheetConfig=we,this._animationState="void",this._animationStateChanged=new e.vpe,this._elementFocusedBeforeOpened=null,this.attachDomPortal=me=>(this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(me)),this._document=Mt,this._breakpointSubscription=dt.observe([A.u3.Medium,A.u3.Large,A.u3.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",dt.isMatched(A.u3.Medium)),this._toggleClass("mat-bottom-sheet-container-large",dt.isMatched(A.u3.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",dt.isMatched(A.u3.XLarge))})}attachComponentPortal(nt){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(nt)}attachTemplatePortal(nt){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(nt)}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(nt){"hidden"===nt.toState?this._restoreFocus():"visible"===nt.toState&&this._trapFocus(),this._animationStateChanged.emit(nt)}_onAnimationStart(nt){this._animationStateChanged.emit(nt)}_toggleClass(nt,xt){this._elementRef.nativeElement.classList.toggle(nt,xt)}_validatePortalAttached(){this._portalOutlet.hasAttached()}_setPanelClass(){this._elementRef.nativeElement.classList.add(...(0,d.Eq)(this.bottomSheetConfig.panelClass||[]))}_forceFocus(nt,xt){this._interactivityChecker.isFocusable(nt)||(nt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const At=()=>{nt.removeEventListener("blur",At),nt.removeEventListener("mousedown",At),nt.removeAttribute("tabindex")};nt.addEventListener("blur",At),nt.addEventListener("mousedown",At)})),nt.focus(xt)}_focusByCssSelector(nt,xt){let At=this._elementRef.nativeElement.querySelector(nt);At&&this._forceFocus(At,xt)}_trapFocus(){const nt=this._elementRef.nativeElement;switch(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(nt)),this.bottomSheetConfig.autoFocus){case!1:case"dialog":const xt=(0,C.ht)();xt!==nt&&!nt.contains(xt)&&nt.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.bottomSheetConfig.autoFocus)}}_restoreFocus(){const nt=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&nt&&"function"==typeof nt.focus){const xt=(0,C.ht)(),At=this._elementRef.nativeElement;(!xt||xt===this._document.body||xt===At||At.contains(xt))&&nt.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._elementFocusedBeforeOpened=(0,C.ht)(),this._elementRef.nativeElement.focus&&this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>this._elementRef.nativeElement.focus())})}}return Be.\u0275fac=function(nt){return new(nt||Be)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(R.qV),e.Y36(R.ic),e.Y36(e.R0b),e.Y36(A.Yg),e.Y36(T.K0,8),e.Y36(X))},Be.\u0275cmp=e.Xpm({type:Be,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(nt,xt){if(1&nt&&e.Gf(s.Pl,7),2&nt){let At;e.iGM(At=e.CRH())&&(xt._portalOutlet=At.first)}},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(nt,xt){1&nt&&e.WFA("@state.start",function(Qt){return xt._onAnimationStart(Qt)})("@state.done",function(Qt){return xt._onAnimationDone(Qt)}),2&nt&&(e.uIk("aria-label",null==xt.bottomSheetConfig?null:xt.bottomSheetConfig.ariaLabel),e.d8E("@state",xt._animationState))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(nt,xt){1&nt&&e.YNc(0,Z,0,0,"ng-template",0)},directives:[s.Pl],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[v.bottomSheetState]}}),Be})(),_e=(()=>{class Be{}return Be.\u0275fac=function(nt){return new(nt||Be)},Be.\u0275mod=e.oAB({type:Be}),Be.\u0275inj=e.cJS({imports:[[i.U8,l.BQ,s.eL],l.BQ]}),Be})();
1class ne{constructor(ot,nt){this._overlayRef=nt,this._afterDismissed=new w.x,this._afterOpened=new w.x,this.containerInstance=ot,this.disableClose=ot.bottomSheetConfig.disableClose,ot._animationStateChanged.pipe((0,E.h)(xt=>"done"===xt.phaseName&&"visible"===xt.toState),(0,c.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ot._animationStateChanged.pipe((0,E.h)(xt=>"done"===xt.phaseName&&"hidden"===xt.toState),(0,c.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),nt.dispose()}),nt.detachments().pipe((0,c.q)(1)).subscribe(()=>{this._afterDismissed.next(this._result),this._afterDismissed.complete()}),(0,k.T)(nt.backdropClick(),nt.keydownEvents().pipe((0,E.h)(xt=>xt.keyCode===O.hY))).subscribe(xt=>{!this.disableClose&&("keydown"!==xt.type||!(0,O.Vb)(xt))&&(xt.preventDefault(),this.dismiss())})}dismiss(ot){this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe((0,E.h)(nt=>"start"===nt.phaseName),(0,c.q)(1)).subscribe(nt=>{this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},nt.totalTime+100),this._overlayRef.detachBackdrop()}),this._result=ot,this.containerInstance.exit())}afterDismissed(){return this._afterDismissed}afterOpened(){return this._afterOpened}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}}const oe=new e.OlP("mat-bottom-sheet-default-options");let he=(()=>{class Be{constructor(nt,xt,At,Qt){this._overlay=nt,this._injector=xt,this._parentBottomSheet=At,this._defaultOptions=Qt,this._bottomSheetRefAtThisLevel=null}get _openedBottomSheetRef(){const nt=this._parentBottomSheet;return nt?nt._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(nt){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=nt:this._bottomSheetRefAtThisLevel=nt}open(nt,xt){const At=function Se(Be,ot){return Object.assign(Object.assign({},Be),ot)}(this._defaultOptions||new X,xt),Qt=this._createOverlay(At),Vt=this._attachContainer(Qt,At),dt=new ne(Vt,Qt);if(nt instanceof e.Rgc)Vt.attachTemplatePortal(new s.UE(nt,null,{$implicit:At.data,bottomSheetRef:dt}));else{const Mt=new s.C5(nt,void 0,this._createInjector(At,dt)),we=Vt.attachComponentPortal(Mt);dt.instance=we.instance}return dt.afterDismissed().subscribe(()=>{this._openedBottomSheetRef==dt&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>dt.containerInstance.enter()),this._openedBottomSheetRef.dismiss()):dt.containerInstance.enter(),this._openedBottomSheetRef=dt,dt}dismiss(nt){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(nt)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}_attachContainer(nt,xt){const Qt=e.zs3.create({parent:xt&&xt.viewContainerRef&&xt.viewContainerRef.injector||this._injector,providers:[{provide:X,useValue:xt}]}),Vt=new s.C5(te,xt.viewContainerRef,Qt);return nt.attach(Vt).instance}_createOverlay(nt){const xt=new i.X_({direction:nt.direction,hasBackdrop:nt.hasBackdrop,disposeOnNavigation:nt.closeOnNavigation,maxWidth:"100%",scrollStrategy:nt.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return nt.backdropClass&&(xt.backdropClass=nt.backdropClass),this._overlay.create(xt)}_createInjector(nt,xt){const At=nt&&nt.viewContainerRef&&nt.viewContainerRef.injector,Qt=[{provide:ne,useValue:xt},{provide:ee,useValue:nt.data}];return nt.direction&&(!At||!At.get(q.Is,null,e.XFs.Optional))&&Qt.push({provide:q.Is,useValue:{value:nt.direction,change:(0,h.of)()}}),e.zs3.create({parent:At||this._injector,providers:Qt})}}return Be.\u0275fac=function(nt){return new(nt||Be)(e.LFG(i.aV),e.LFG(e.zs3),e.LFG(Be,12),e.LFG(oe,8))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:_e}),Be})()},7423:(Yt,Ze,m)=>{"use strict";m.d(Ze,{lW:()=>q,ot:()=>k,zs:()=>w});var i=m(5e3),s=m(508),e=m(6360),l=m(5664);const d=["mat-button",""],A=["*"],S=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],R=(0,s.pj)((0,s.Id)((0,s.Kr)(class{constructor(h){this._elementRef=h}})));let q=(()=>{class h extends R{constructor(E,c,Z){super(E),this._focusMonitor=c,this._animationMode=Z,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const v of S)this._hasHostAttributes(v)&&this._getHostElement().classList.add(v);E.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(E,c){E?this._focusMonitor.focusVia(this._getHostElement(),E,c):this._getHostElement().focus(c)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...E){return E.some(c=>this._getHostElement().hasAttribute(c))}}
1return h.\u0275fac=function(E){return new(E||h)(i.Y36(i.SBq),i.Y36(l.tE),i.Y36(e.Qb,8))},h.\u0275cmp=i.Xpm({type:h,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(E,c){if(1&E&&i.Gf(s.wG,5),2&E){let Z;i.iGM(Z=i.CRH())&&(c.ripple=Z.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(E,c){2&E&&(i.uIk("disabled",c.disabled||null),i.ekj("_mat-animation-noopable","NoopAnimations"===c._animationMode)("mat-button-disabled",c.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.qOj],attrs:d,ngContentSelectors:A,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(E,c){1&E&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1)(3,"span",2)),2&E&&(i.xp6(2),i.ekj("mat-button-ripple-round",c.isRoundButton||c.isIconButton),i.Q6J("matRippleDisabled",c._isRippleDisabled())("matRippleCentered",c.isIconButton)("matRippleTrigger",c._getHostElement()))},directives:[s.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),h})(),w=(()=>{class h extends q{constructor(E,c,Z,v){super(c,E,Z),this._ngZone=v,this._haltDisabledEvents=ee=>{this.disabled&&(ee.preventDefault(),ee.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}
1return h.\u0275fac=function(E){return new(E||h)(i.Y36(l.tE),i.Y36(i.SBq),i.Y36(e.Qb,8),i.Y36(i.R0b,8))},h.\u0275cmp=i.Xpm({type:h,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(E,c){2&E&&(i.uIk("tabindex",c.disabled?-1:c.tabIndex)("disabled",c.disabled||null)("aria-disabled",c.disabled.toString()),i.ekj("_mat-animation-noopable","NoopAnimations"===c._animationMode)("mat-button-disabled",c.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[i.qOj],attrs:d,ngContentSelectors:A,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(E,c){1&E&&(i.F$t(),i.TgZ(0,"span",0),i.Hsn(1),i.qZA(),i._UZ(2,"span",1)(3,"span",2)),2&E&&(i.xp6(2),i.ekj("mat-button-ripple-round",c.isRoundButton||c.isIconButton),i.Q6J("matRippleDisabled",c._isRippleDisabled())("matRippleCentered",c.isIconButton)("matRippleTrigger",c._getHostElement()))},directives:[s.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),h}
1)(),k=(()=>{class h{}return h.\u0275fac=function(E){return new(E||h)},h.\u0275mod=i.oAB({type:h}),h.\u0275inj=i.cJS({imports:[[s.si,s.BQ],s.BQ]}),h})()},9224:(Yt,Ze,m)=>{"use strict";m.d(Ze,{$j:()=>w,G2:()=>O,QW:()=>ne,a8:()=>X,dk:()=>te,dn:()=>R,kc:()=>ee,n5:()=>q});var i=m(5e3),s=m(6360),e=m(508);const l=["*",[["mat-card-footer"]]],d=["*","mat-card-footer"],A=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],C=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"];let R=(()=>{class oe{}return oe.\u0275fac=function(Se){return new(Se||oe)},oe.\u0275dir=i.lG2({type:oe,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),oe})(),q=(()=>{class oe{}return oe.\u0275fac=function(Se){return new(Se||oe)},oe.\u0275dir=i.lG2({type:oe,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),oe})(),w=(()=>{class oe{}return oe.\u0275fac=function(Se){return new(Se||oe)},oe.\u0275dir=i.lG2({type:oe,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),oe})(),O=(()=>{class oe{}return oe.\u0275fac=function(Se){return new(Se||oe)},oe.\u0275dir=i.lG2({type:oe,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),oe})(),ee=(()=>{class oe{}return oe.\u0275fac=function(Se){return new(Se||oe)},oe.\u0275dir=i.lG2({type:oe,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),oe})(),X=(()=>{class oe{constructor(Se){this._animationMode=Se}}return oe.\u0275fac=function(Se){return new(Se||oe)(i.Y36(s.Qb,8))},oe.\u0275cmp=i.Xpm({type:oe,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(Se,Be){2&Se&&i.ekj("_mat-animation-noopable","NoopAnimations"===Be._animationMode)},exportAs:["matCard"],ngContentSelectors:d,decls:2,vars:0,template:function(Se,Be){1&Se&&(i.F$t(l),i.Hsn(0),i.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}
1.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),oe})(),te=(()=>{class oe{}return oe.\u0275fac=function(Se){return new(Se||oe)},oe.\u0275cmp=i.Xpm({type:oe,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:C,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Se,Be){1&Se&&(i.F$t(A),i.Hsn(0),i.TgZ(1,"div",0),i.Hsn(2,1),i.qZA(),i.Hsn(3,2))},encapsulation:2,changeDetection:0}),oe})(),ne=(()=>{class oe{}return oe.\u0275fac=function(Se){return new(Se||oe)},oe.\u0275mod=i.oAB({type:oe}),oe.\u0275inj=i.cJS({imports:[[e.BQ],e.BQ]}),oe})()},7446:(Yt,Ze,m)=>{"use strict";m.d(Ze,{oG:()=>Z,p9:()=>te});var i=m(3191),s=m(5e3),e=m(3075),l=m(508),d=m(6360),A=m(5664),C=m(7144);const T=["input"],S=function(_e){return{enterDuration:_e}},R=["*"],q=new s.OlP("mat-checkbox-default-options",{providedIn:"root",factory:w});function w(){return{color:"accent",clickAction:"check-indeterminate"}}let k=0;const h=w(),O={provide:e.JU,useExisting:(0,s.Gpc)(()=>Z),multi:!0};class E{}const c=(0,l.sb)((0,l.pj)((0,l.Kr)((0,l.Id)(class{constructor(_e){this._elementRef=_e}}))));let Z=(()=>{class _e extends c{constructor(oe,he,Se,Be,ot,nt,xt){super(oe),this._changeDetectorRef=he,this._focusMonitor=Se,this._ngZone=Be,this._animationMode=nt,this._options=xt,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++k,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new s.vpe,this.indeterminateChange=new s.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||h,this.color=this.defaultColor=this._options.color||h.color,this.tabIndex=parseInt(ot)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(oe){this._required=(0,i.Ig)(oe)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(oe=>{oe||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(oe){const he=(0,i.Ig)(oe);he!=this.checked&&(this._checked=he,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(oe){const he=(0,i.Ig)(oe);he!==this.disabled&&(this._disabled=he,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(oe){const he=oe!=this._indeterminate;this._indeterminate=(0,i.Ig)(oe),he&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(oe){this.checked=!!oe}registerOnChange(oe){this._controlValueAccessorChangeFn=oe}registerOnTouched(oe){this._onTouched=oe}setDisabledState(oe){this.disabled=oe}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(oe){let he=this._currentCheckState,Se=this._elementRef.nativeElement;if(he!==oe&&(this._currentAnimationClass.length>0&&Se.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(he,oe),this._currentCheckState=oe,this._currentAnimationClass.length>0)){Se.classList.add(this._currentAnimationClass);const Be=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{Se.classList.remove(Be)},1e3)})}}_emitChangeEvent(){const oe=new E;oe.source=this,oe.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(oe),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(oe){var he;const Se=null===(he=this._options)||void 0===he?void 0:he.clickAction;oe.stopPropagation(),this.disabled||"noop"===Se?!this.disabled&&"noop"===Se&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==Se&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(oe,he){oe?this._focusMonitor.focusVia(this._inputElement,oe,he):this._inputElement.nativeElement.focus(he)}_onInteractionEvent(oe){oe.stopPropagation()}_getAnimationClassForCheckStateTransition(oe,he){if("NoopAnimations"===this._animationMode)return"";let Se="";switch(oe){case 0:if(1===he)Se="unchecked-checked";else{if(3!=he)return"";Se="unchecked-indeterminate"}break;case 2:Se=1===he?"unchecked-checked":"unchecked-indeterminate";break;case 1:Se=2===he?"checked-unchecked":"checked-indeterminate";break;case 3:Se=1===he?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${Se}`}_syncIndeterminate(oe){const he=this._inputElement;he&&(he.nativeElement.indeterminate=oe)}}return _e.\u0275fac=function(oe){return new(oe||_e)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(A.tE),s.Y36(s.R0b),s.$8M("tabindex"),s.Y36(d.Qb,8),s.Y36(q,8))},_e.\u0275cmp=s.Xpm({type:_e,selectors:[["mat-checkbox"]],viewQuery:function(oe,he){if(1&oe&&(s.Gf(T,5),s.Gf(l.wG,5)),2&oe){let Se;
1s.iGM(Se=s.CRH())&&(he._inputElement=Se.first),s.iGM(Se=s.CRH())&&(he.ripple=Se.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(oe,he){2&oe&&(s.Ikx("id",he.id),s.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),s.ekj("mat-checkbox-indeterminate",he.indeterminate)("mat-checkbox-checked",he.checked)("mat-checkbox-disabled",he.disabled)("mat-checkbox-label-before","before"==he.labelPosition)("_mat-animation-noopable","NoopAnimations"===he._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[s._Bn([O]),s.qOj],ngContentSelectors:R,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(oe,he){if(1&oe&&(s.F$t(),s.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),s.NdJ("
1change",function(Be){return he._onInteractionEvent(Be)})("click",function(Be){return he._onInputClick(Be)}),s.qZA(),s.TgZ(5,"span",5),s._UZ(6,"span",6),s.qZA(),s._UZ(7,"span",7),s.TgZ(8,"span",8),s.O4$(),s.TgZ(9,"svg",9),s._UZ(10,"path",10),s.qZA(),s.kcU(),s._UZ(11,"span",11),s.qZA()(),s.TgZ(12,"span",12,13),s.NdJ("cdkObserveContent",function(){return he._onLabelTextChange()}),s.TgZ(14,"span",14),s._uU(15,"\xa0"),s.qZA(),s.Hsn(16),s.qZA()()),2&oe){const Se=s.MAs(1),Be=s.MAs(13);s.uIk("for",he.inputId),s.xp6(2),s.ekj("mat-checkbox-inner-container-no-side-margin",!Be.textContent||!Be.textContent.trim()),s.xp6(1),s.Q6J("id",he.inputId)("required",he.required)("checked",he.checked)("disabled",he.disabled)("tabIndex",he.tabIndex),s.uIk("value",he.value)("name",he.name)("aria-label",he.ariaLabel||null)("aria-labelledby",he.ariaLabelledby)("aria-checked",he._getAriaChecked())("aria-describedby",he.ariaDescribedby),s.xp6(2),s.Q6J("matRippleTrigger",Se)("matRippleDisabled",he._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",s.VKq(19,S,"NoopAnimations"===he._animationMode?0:150))}},directives:[l.wG,C.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}
1@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),_e})(),X=(()=>{class _e{}return _e.\u0275fac=function(oe){return new(oe||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({}),_e})(),te=(()=>{class _e{}return _e.\u0275fac=function(oe){return new(oe||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({imports:[[l.si,l.BQ,C.Q8,X],l.BQ,X]}),_e})()},508:(Yt,Ze,m)=>{"use strict";m.d(Ze,{yN:()=>v,mZ:()=>ee,_A:()=>dt,rD:()=>Lt,sG:()=>Mt,K7:()=>Kn,HF:()=>jt,BQ:()=>_e,X2:()=>It,uc:()=>le,XK:()=>Ot,ey:()=>In,Ng:()=>Vi,nP:()=>et,us:()=>_t,wG:()=>Ve,si:()=>ge,LF:()=>We,CB:()=>Fn,jH:()=>ei,pj:()=>Be,Kr:()=>
1ot,Id:()=>Se,FD:()=>xt,dB:()=>At,sb:()=>nt,E0:()=>it});var i=m(5e3),s=m(226),l=m(60),d=m(925),A=m(5664),C=m(3191),T=m(7579),S=m(9751),R=m(8675),q=m(6360),w=m(1159);function O(gt,He){if(1&gt&&i._UZ(0,"mat-pseudo-checkbox",4),2&gt){const Oe=i.oxw();i.Q6J("state",Oe.selected?"checked":"unchecked")("disabled",Oe.disabled)}}function E(gt,He){if(1&gt&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&gt){const Oe=i.oxw();i.xp6(1),i.hij("(",Oe.group.label,")")}}const c=["*"];let v=(()=>{class gt{}return gt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",gt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",gt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",gt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",gt})(),ee=(()=>{class gt{}return gt.COMPLEX="375ms",gt.ENTERING="225ms",gt.EXITING="195ms",gt})();const te=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function X(){return!0}});let _e=(()=>{class gt{constructor(Oe,pt,Ft){this._sanityChecks=pt,this._document=Ft,this._hasDoneGlobalChecks=!1,Oe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Oe){return!(0,d.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Oe])}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(i.LFG(A.qm),i.LFG(te,8),i.LFG(l.K0))},gt.\u0275mod=i.oAB({type:gt}),gt.\u0275inj=i.cJS({imports:[[s.vT],s.vT]}),gt})();function Se(gt){return class extends gt{constructor(...He){super(...He),this._disabled=!1}get disabled(){return this._disabled}set disabled(He){this._disabled=(0,C.Ig)(He)}}}function Be(gt,He){return class extends gt{constructor(...Oe){super(...Oe),this.defaultColor=He,this.color=He}get color(){return this._color}set color(Oe){const pt=Oe||this.defaultColor;pt!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),pt&&this._elementRef.nativeElement.classList.add(`mat-${pt}`),this._color=pt)}}}function ot(gt){return class extends gt{constructor(...He){super(...He),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(He){this._disableRipple=(0,C.Ig)(He)}}}function nt(gt,He=0){return class extends gt{constructor(...Oe){super(...Oe),this._tabIndex=He,this.defaultTabIndex=He}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Oe){this._tabIndex=null!=Oe?(0,C.su)(Oe):this.defaultTabIndex}}}function xt(gt){return class extends gt{constructor(...He){super(...He),this.stateChanges=new T.x,this.errorState=!1}updateErrorState(){const He=this.errorState,fn=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);fn!==He&&(this.errorState=fn,this.stateChanges.next())}}}function At(gt){return class extends gt{constructor(...He){super(...He),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new S.y(Oe=>{this._isInitialized?this._notifySubscriber(Oe):this._pendingSubscribers.push(Oe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(He){He.next(),He.complete()}}}const Qt=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Vt(){return(0,i.f3M)(i.soG)}});class dt{constructor(){this._localeChanges=new T.x,this.localeChanges=this._localeChanges}getValidDateOrNull(He){return this.isDateInstance(He)&&this.isValid(He)?He:null}deserialize(He){return null==He||this.isDateInstance(He)&&this.isValid(He)?He:this.invalid()}setLocale(He){this.locale=He,this._localeChanges.next()}compareDate(He,Oe){return this.getYear(He)-this.getYear(Oe)||this.getMonth(He)-this.getMonth(Oe)||this.getDate(He)-this.getDate(Oe)}sameDate(He,Oe){if(He&&Oe){let pt=this.isValid(He),Ft=this.isValid(Oe);return pt&&Ft?!this.compareDate(He,Oe):pt==Ft}return He==Oe}clampDate(He,Oe,pt){return Oe&&this.compareDate(He,Oe)<0?Oe:pt&&this.compareDate(He,pt)>0?pt:He}}const Mt=new i.OlP("mat-date-formats"),we=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function me(gt,He){const Oe=Array(gt);for(let pt=0;pt<gt;pt++)Oe[pt]=He(pt);return Oe}let We=(()=>{class gt extends dt{constructor(Oe,pt){super(),this.useUtcForDisplay=!1,super.setLocale(Oe)}getYear(Oe){return Oe.getFullYear()}getMonth(Oe){return Oe.getMonth()}getDate(Oe){return Oe.getDate()}getDayOfWeek(Oe){return Oe.getDay()}getMonthNames(Oe){const pt=new Intl.DateTimeFormat(this.locale,{month:Oe,timeZone:"utc"});return me(12,Ft=>this._format(pt,new Date(2017,Ft,1)))}getDateNames(){const Oe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return me(31,pt=>this._format(Oe,new Date(2017,0,pt+1)))}getDayOfWeekNames(Oe){const pt=new Intl.DateTimeFormat(this.locale,{weekday:Oe,timeZone:"utc"});return me(7,Ft=>this._format(pt,new Date(2017,0,Ft+1)))}getYearName(Oe){const pt=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(pt,Oe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Oe){return this.getDate(this._createDateWithOverflow(this.getYear(Oe),this.getMonth(Oe)+1,0))}clone(Oe){return new Date(Oe.getTime())}createDate(Oe,pt,Ft){let fn=this._createDateWithOverflow(Oe,pt,Ft);return fn.getMonth(),fn}today(){return new Date}parse(Oe){return"number"==typeof Oe?new Date(Oe):Oe?new Date(Date.parse(Oe)):null}format(Oe,pt){if(!this.isValid(Oe))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ft=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},pt),{timeZone:"utc"}));return this._format(Ft,Oe)}addCalendarYears(Oe,pt){return this.addCalendarMonths(Oe,12*pt)}addCalendarMonths(Oe,pt){let Ft=this._createDateWithOverflow(this.getYear(Oe),this.getMonth(Oe)+pt,this.getDate(Oe));
1return this.getMonth(Ft)!=((this.getMonth(Oe)+pt)%12+12)%12&&(Ft=this._createDateWithOverflow(this.getYear(Ft),this.getMonth(Ft),0)),Ft}addCalendarDays(Oe,pt){return this._createDateWithOverflow(this.getYear(Oe),this.getMonth(Oe),this.getDate(Oe)+pt)}toIso8601(Oe){return[Oe.getUTCFullYear(),this._2digit(Oe.getUTCMonth()+1),this._2digit(Oe.getUTCDate())].join("-")}deserialize(Oe){if("string"==typeof Oe){if(!Oe)return null;if(we.test(Oe)){let pt=new Date(Oe);if(this.isValid(pt))return pt}}return super.deserialize(Oe)}isDateInstance(Oe){return Oe instanceof Date}isValid(Oe){return!isNaN(Oe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Oe,pt,Ft){const fn=new Date;return fn.setFullYear(Oe,pt,Ft),fn.setHours(0,0,0,0),fn}_2digit(Oe){return("00"+Oe).slice(-2)}_format(Oe,pt){const Ft=new Date;return Ft.setUTCFullYear(pt.getFullYear(),pt.getMonth(),pt.getDate()),Ft.setUTCHours(pt.getHours(),pt.getMinutes(),pt.getSeconds(),pt.getMilliseconds()),Oe.format(Ft)}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(i.LFG(Qt,8),i.LFG(d.t4))},gt.\u0275prov=i.Yz7({token:gt,factory:gt.\u0275fac}),gt})();const re={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let ft=(()=>{class gt{}return gt.\u0275fac=function(Oe){return new(Oe||gt)},gt.\u0275mod=i.oAB({type:gt}),gt.\u0275inj=i.cJS({providers:[{provide:dt,useClass:We}]}),gt})(),Ot=(()=>{class gt{}return gt.\u0275fac=function(Oe){return new(Oe||gt)},gt.\u0275mod=i.oAB({type:gt}),gt.\u0275inj=i.cJS({providers:[{provide:Mt,useValue:re}],imports:[[ft]]}),gt})(),Lt=(()=>{class gt{isErrorState(Oe,pt){return!!(Oe&&Oe.invalid&&(Oe.touched||pt&&pt.submitted))}}return gt.\u0275fac=function(Oe){return new(Oe||gt)},gt.\u0275prov=i.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})(),It=(()=>{class gt{}return gt.\u0275fac=function(Oe){return new(Oe||gt)},gt.\u0275dir=i.lG2({type:gt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),gt})();function it(gt,He,Oe="mat"){gt.changes.pipe((0,R.O)(gt)).subscribe(({length:pt})=>{wt(He,`${Oe}-2-line`,!1),wt(He,`${Oe}-3-line`,!1),wt(He,`${Oe}-multi-line`,!1),2===pt||3===pt?wt(He,`${Oe}-${pt}-line`,!0):pt>3&&wt(He,`${Oe}-multi-line`,!0)})}function wt(gt,He,Oe){gt.nativeElement.classList.toggle(He,Oe)}let le=(()=>{class gt{}return gt.\u0275fac=function(Oe){return new(Oe||gt)},gt.\u0275mod=i.oAB({type:gt}),gt.\u0275inj=i.cJS({imports:[[_e],_e]}),gt})();class Ne{constructor(He,Oe,pt){this._renderer=He,this.element=Oe,this.config=pt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ut={enterDuration:225,exitDuration:150},Dn=(0,d.i$)({passive:!0}),Mn=["mousedown","touchstart"],rn=["mouseup","mouseleave","touchend","touchcancel"];class Ue{constructor(He,Oe,pt,Ft){this._target=He,this._ngZone=Oe,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Ft.isBrowser&&(this._containerElement=(0,C.fI)(pt))}fadeInRipple(He,Oe,pt={}){const Ft=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),fn=Object.assign(Object.assign({},Ut),pt.animation);pt.centered&&(He=Ft.left+Ft.width/2,Oe=Ft.top+Ft.height/2);const Zn=pt.radius||function De(gt,He,Oe){const pt=Math.max(Math.abs(gt-Oe.left),Math.abs(gt-Oe.right)),Ft=Math.max(Math.abs(He-Oe.top),Math.abs(He-Oe.bottom));return Math.sqrt(pt*pt+Ft*Ft)}(He,Oe,Ft),ni=He-Ft.left,ln=Oe-Ft.top,An=fn.enterDuration,bt=document.createElement("div");bt.classList.add("mat-ripple-element"),bt.style.left=ni-Zn+"px",bt.style.top=ln-Zn+"px",bt.style.height=2*Zn+"px",bt.style.width=2*Zn+"px",null!=pt.color&&(bt.style.backgroundColor=pt.color),bt.style.transitionDuration=`${An}ms`,this._containerElement.appendChild(bt),function Je(gt){window.getComputedStyle(gt).getPropertyValue("opacity")}(bt),bt.style.transform="scale(1)";const Xe=new Ne(this,bt,pt);return Xe.state=0,this._activeRipples.add(Xe),pt.persistent||(this._mostRecentTransientRipple=Xe),this._runTimeoutOutsideZone(()=>{const st=Xe===this._mostRecentTransientRipple;Xe.state=1,!pt.persistent&&(!st||!this._isPointerDown)&&Xe.fadeOut()},An),Xe}fadeOutRipple(He){const Oe=this._activeRipples.delete(He);if(He===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!Oe)return;const pt=He.element,Ft=Object.assign(Object.assign({},Ut),He.config.animation);pt.style.transitionDuration=`${Ft.exitDuration}ms`,pt.style.opacity="0",He.state=2,this._runTimeoutOutsideZone(()=>{He.state=3,pt.remove()},Ft.exitDuration)}
1fadeOutAll(){this._activeRipples.forEach(He=>He.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(He=>{He.config.persistent||He.fadeOut()})}setupTriggerEvents(He){const Oe=(0,C.fI)(He);!Oe||Oe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Oe,this._registerEvents(Mn))}handleEvent(He){"mousedown"===He.type?this._onMousedown(He):"touchstart"===He.type?this._onTouchStart(He):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(rn),this._pointerUpEventsRegistered=!0)}_onMousedown(He){const Oe=(0,A.X6)(He),pt=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Oe&&!pt&&(this._isPointerDown=!0,this.fadeInRipple(He.clientX,He.clientY,this._target.rippleConfig))}_onTouchStart(He){if(!this._target.rippleDisabled&&!(0,A.yG)(He)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Oe=He.changedTouches;for(let pt=0;pt<Oe.length;pt++)this.fadeInRipple(Oe[pt].clientX,Oe[pt].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(He=>{!He.config.persistent&&(1===He.state||He.config.terminateOnPointerUp&&0===He.state)&&He.fadeOut()}))}_runTimeoutOutsideZone(He,Oe=0){this._ngZone.runOutsideAngular(()=>setTimeout(He,Oe))}_registerEvents(He){this._ngZone.runOutsideAngular(()=>{He.forEach(Oe=>{this._triggerElement.addEventListener(Oe,this,Dn)})})}_removeTriggerEvents(){this._triggerElement&&(Mn.forEach(He=>{this._triggerElement.removeEventListener(He,this,Dn)}),this._pointerUpEventsRegistered&&rn.forEach(He=>{this._triggerElement.removeEventListener(He,this,Dn)}))}}const at=new i.OlP("mat-ripple-global-options");let Ve=(()=>{class gt{constructor(Oe,pt,Ft,fn,Zn){this._elementRef=Oe,this._animationMode=Zn,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=fn||{},this._rippleRenderer=new Ue(this,pt,Oe,Ft)}get disabled(){return this._disabled}set disabled(Oe){Oe&&this.fadeOutAllNonPersistent(),this._disabled=Oe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Oe){this._trigger=Oe,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Oe,pt=0,Ft){return"number"==typeof Oe?this._rippleRenderer.fadeInRipple(Oe,pt,Object.assign(Object.assign({},this.rippleConfig),Ft)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Oe))}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(d.t4),i.Y36(at,8),i.Y36(q.Qb,8))},gt.\u0275dir=i.lG2({type:gt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Oe,pt){2&Oe&&i.ekj("mat-ripple-unbounded",pt.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),gt})(),ge=(()=>{class gt{}return gt.\u0275fac=function(Oe){return new(Oe||gt)},gt.\u0275mod=i.oAB({type:gt}),gt.\u0275inj=i.cJS({imports:[[_e],_e]}),gt})(),et=(()=>{class gt{constructor(Oe){this._animationMode=Oe,this.state="unchecked",this.disabled=!1}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(i.Y36(q.Qb,8))},gt.\u0275cmp=i.Xpm({type:gt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Oe,pt){2&Oe&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===pt.state)("mat-pseudo-checkbox-checked","checked"===pt.state)("mat-pseudo-checkbox-disabled",pt.disabled)("_mat-animation-noopable","NoopAnimations"===pt._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Oe,pt){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),gt})(),_t=(()=>{class gt{}return gt.\u0275fac=function(Oe){return new(Oe||gt)},gt.\u0275mod=i.oAB({type:gt}),gt.\u0275inj=i.cJS({imports:[[_e]]}),gt})();const jt=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Kn=new i.OlP("MatOptgroup");let di=0;class ui{constructor(He,Oe=!1){this.source=He,this.isUserInput=Oe}}let Di=(()=>{class gt{constructor(Oe,pt,Ft,fn){this._element=Oe,this._changeDetectorRef=pt,this._parent=Ft,this.group=fn,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+di++,this.onSelectionChange=new i.vpe,this._stateChanges=new T.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Oe){this._disabled=(0,C.Ig)(Oe)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(Oe,pt){const Ft=this._getHostElement();"function"==typeof Ft.focus&&Ft.focus(pt)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Oe){(Oe.keyCode===w.K5||Oe.keyCode===w.L_)&&!(0,w.Vb)(Oe)&&(this._selectViaInteraction(),Oe.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}
1_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Oe=this.viewValue;Oe!==this._mostRecentViewValue&&(this._mostRecentViewValue=Oe,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Oe=!1){this.onSelectionChange.emit(new ui(this,Oe))}}return gt.\u0275fac=function(Oe){i.$Z()},gt.\u0275dir=i.lG2({type:gt,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),gt})(),In=(()=>{class gt extends Di{constructor(Oe,pt,Ft,fn){super(Oe,pt,Ft,fn)}}return gt.\u0275fac=function(Oe){return new(Oe||gt)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(jt,8),i.Y36(Kn,8))},gt.\u0275cmp=i.Xpm({type:gt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Oe,pt){1&Oe&&i.NdJ("click",function(){return pt._selectViaInteraction()})("keydown",function(fn){return pt._handleKeydown(fn)}),2&Oe&&(i.Ikx("id",pt.id),i.uIk("tabindex",pt._getTabIndex())("aria-selected",pt._getAriaSelected())("aria-disabled",pt.disabled.toString()),i.ekj("mat-selected",pt.selected)("mat-option-multiple",pt.multiple)("mat-active",pt.active)("mat-option-disabled",pt.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:c,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(Oe,pt){1&Oe&&(i.F$t(),i.YNc(0,O,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,E,2,1,"span",2),i._UZ(4,"div",3)),2&Oe&&(i.Q6J("ngIf",pt.multiple),i.xp6(3),i.Q6J("ngIf",pt.group&&pt.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",pt._getHostElement())("matRippleDisabled",pt.disabled||pt.disableRipple))},directives:[et,l.O5,Ve],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),gt})();function Fn(gt,He,Oe){if(Oe.length){let pt=He.toArray(),Ft=Oe.toArray(),fn=0;for(let Zn=0;Zn<gt+1;Zn++)pt[Zn].group&&pt[Zn].group===Ft[fn]&&fn++;return fn}return 0}function ei(gt,He,Oe,pt){return gt<Oe?gt:gt+He>Oe+pt?Math.max(0,gt-pt+He):Oe}let Vi=(()=>{class gt{}return gt.\u0275fac=function(Oe){return new(Oe||gt)},gt.\u0275mod=i.oAB({type:gt}),gt.\u0275inj=i.cJS({imports:[[ge,l.ez,_e,_t]]}),gt})()},6856:(Yt,Ze,m)=>{"use strict";m.d(Ze,{FA:()=>ye,Mq:()=>ln,hl:()=>$t,nW:()=>$n});var i=m(5664),s=m(1314),e=m(7429),l=m(60),d=m(5e3),A=m(7423),C=m(2411),T=m(508),S=m(7579),R=m(727),q=m(6451),w=m(9646),k=m(1159),h=m(5698),O=m(8675),E=m(9300),c=m(226),Z=m(3191),v=m(925),ee=m(1777),X=m(3075),te=m(7322),_e=m(8833);const ne=["mat-calendar-body",""];function oe(Ee,lt){if(1&Ee&&(d.TgZ(0,"tr",2)(1,"td",3),d._uU(2),d.qZA()()),2&Ee){const Y=d.oxw();d.xp6(1),d.Udp("padding-top",Y._cellPadding)("padding-bottom",Y._cellPadding),d.uIk("colspan",Y.numC
1ols),d.xp6(1),d.hij(" ",Y.label," ")}}function he(Ee,lt){if(1&Ee&&(d.TgZ(0,"td",3),d._uU(1),d.qZA()),2&Ee){const Y=d.oxw(2);d.Udp("padding-top",Y._cellPadding)("padding-bottom",Y._cellPadding),d.uIk("colspan",Y._firstRowOffset),d.xp6(1),d.hij(" ",Y._firstRowOffset>=Y.labelMinRequiredCells?Y.label:""," ")}}function Se(Ee,lt){if(1&Ee){const Y=d.EpF();d.TgZ(0,"td",7)(1,"button",8),d.NdJ("click",function(rt){const Tn=d.CHM(Y).$implicit;return d.oxw(2)._cellClicked(Tn,rt)}),d.TgZ(2,"div",9),d._uU(3),d.qZA(),d._UZ(4,"div",10),d.qZA()()}if(2&Ee){const Y=lt.$implicit,Te=lt.index,rt=d.oxw().index,Nt=d.oxw();d.Udp("width",Nt._cellWidth)("padding-top",Nt._cellPadding)("padding-bottom",Nt._cellPadding),d.uIk("data-mat-row",rt)("data-mat-col",Te),d.xp6(1),d.ekj("mat-calendar-body-disabled",!Y.enabled)("mat-calendar-body-active",Nt._isActiveCell(rt,Te))("mat-calendar-body-range-start",Nt._isRangeStart(Y.compareValue))("mat-calendar-body-range-end",Nt._isRangeEnd(Y.compareValue))("mat-calendar-body-in-range",Nt._isInRange(Y.compareValue))("mat-calendar-body-comparison-bridge-start",Nt._isComparisonBridgeStart(Y.compareValue,rt,Te))("mat-calendar-body-comparison-bridge-end",Nt._isComparisonBridgeEnd(Y.compareValue,rt,Te))("mat-calendar-body-comparison-start",Nt._isComparisonStart(Y.compareValue))("mat-calendar-body-comparison-end",Nt._isComparisonEnd(Y.compareValue))("mat-calendar-body-in-comparison-range",Nt._isInComparisonRange(Y.compareValue))("mat-calendar-body-preview-start",Nt._isPreviewStart(Y.compareValue))("mat-calendar-body-preview-end",Nt._isPreviewEnd(Y.compareValue))("mat-calendar-body-in-preview",Nt._isInPreview(Y.compareValue)),d.Q6J("ngClass",Y.cssClasses)("tabindex",Nt._isActiveCell(rt,Te)?0:-1),d.uIk("aria-label",Y.ariaLabel)("aria-disabled",!Y.enabled||null)("aria-pressed",Nt._isSelected(Y.compareValue))("aria-current",Nt.todayValue===Y.compareValue?"date":null),d.xp6(1),d.ekj("mat-calendar-body-selected",Nt._isSelected(Y.compareValue))("mat-calendar-body-comparison-identical",Nt._isComparisonIdentical(Y.compareValue))("mat-calendar-body-today",Nt.todayValue===Y.compareValue),d.xp6(1),d.hij(" ",Y.displayValue," ")}}function Be(Ee,lt){if(1&Ee&&(d.TgZ(0,"tr",4),d.YNc(1,he,2,6,"td",5),d.YNc(2,Se,5,47,"td",6),d.qZA()),2&Ee){const Y=lt.$implicit,Te=lt.index,rt=d.oxw();d.xp6(1),d.Q6J("ngIf",0===Te&&rt._firstRowOffset),d.xp6(1),d.Q6J("ngForOf",Y)}}function ot(Ee,lt){if(1&Ee&&(d.TgZ(0,"th",5)(1,"span",6),d._uU(2),d.qZA(),d.TgZ(3,"span",7),d._uU(4),d.qZA()()),2&Ee){const Y=lt.$implicit;d.xp6(2),d.Oqu(Y.long),d.xp6(2),d.Oqu(Y.narrow)}}const nt=["*"];function xt(Ee,lt){}function At(Ee,lt){if(1&Ee){const Y=d.EpF();d.TgZ(0,"mat-month-view",5),d.NdJ("activeDateChange",function(rt){return d.CHM(Y),d.oxw().activeDate=rt})("_userSelection",function(rt){return d.CHM(Y),d.oxw()._dateSelected(rt)}),d.qZA()}if(2&Ee){const Y=d.oxw();d.Q6J("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)("comparisonStart",Y.comparisonStart)("comparisonEnd",Y.comparisonEnd)}}function Qt(Ee,lt){if(1&Ee){const Y=d.EpF();d.TgZ(0,"mat-year-view",6),d.NdJ("activeDateChange",function(rt){return d.CHM(Y),d.oxw().activeDate=rt})("monthSelected",function(rt){return d.CHM(Y),d.oxw()._monthSelectedInYearView(rt)})("selectedChange",function(rt){return d.CHM(Y),d.oxw()._goToDateInView(rt,"month")}),d.qZA()}if(2&Ee){const Y=d.oxw();d.Q6J("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)}}function Vt(Ee,lt){if(1&Ee){const Y=d.EpF();d.TgZ(0,"mat-multi-year-view",7),d.NdJ("activeDateChange",function(rt){return d.CHM(Y),d.oxw().activeDate=rt})("yearSelected",function(rt){return d.CHM(Y),d.oxw()._yearSelectedInMultiYearView(rt)})("selectedChange",function(rt){return d.CHM(Y),d.oxw()._goToDateInView(rt,"year")}),d.qZA()}if(2&Ee){const Y=d.oxw();d.Q6J("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)}}function dt(Ee,lt){}const Mt=["button"];function we(Ee,lt){1&Ee&&(d.O4$(),d.TgZ(0,"svg",3),d._UZ(1,"path",4),d.qZA())}const me=[[["","matDatepickerToggleIcon",""]]],We=["[matDatepickerToggleIcon]"];class Lt{constructor(lt,Y,Te,rt,Nt={},Tn=lt,Ln){this.value=lt,this.displayValue=Y,this.ariaLabel=Te,this.enabled=rt,this.cssClasse
1s=Nt,this.compareValue=Tn,this.rawValue=Ln}}let It=(()=>{class Ee{constructor(Y,Te){this._elementRef=Y,this._ngZone=Te,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new d.vpe,this.previewChange=new d.vpe,this._enterHandler=rt=>{if(this._skipNextFocus&&"focus"===rt.type)this._skipNextFocus=!1;else if(rt.target&&this.isRange){const Nt=this._getCellFromElement(rt.target);Nt&&this._ngZone.run(()=>this.previewChange.emit({value:Nt.enabled?Nt:null,event:rt}))}},this._leaveHandler=rt=>{null!==this.previewEnd&&this.isRange&&rt.target&&this._getCellFromElement(rt.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:rt}))},Te.runOutsideAngular(()=>{const rt=Y.nativeElement;rt.addEventListener("mouseenter",this._enterHandler,!0),rt.addEventListener("focus",this._enterHandler,!0),rt.addEventListener("mouseleave",this._leaveHandler,!0),rt.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(Y,Te){Y.enabled&&this.selectedValueChange.emit({value:Y.value,event:Te})}_isSelected(Y){return this.startValue===Y||this.endValue===Y}ngOnChanges(Y){const Te=Y.numCols,{rows:rt,numCols:Nt}=this;(Y.rows||Te)&&(this._firstRowOffset=rt&&rt.length&&rt[0].length?Nt-rt[0].length:0),(Y.cellAspectRatio||Te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Nt+"%"),(Te||!this._cellWidth)&&(this._cellWidth=100/Nt+"%")}ngOnDestroy(){const Y=this._elementRef.nativeElement;Y.removeEventListener("mouseenter",this._enterHandler,!0),Y.removeEventListener("focus",this._enterHandler,!0),Y.removeEventListener("mouseleave",this._leaveHandler,!0),Y.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(Y,Te){let rt=Y*this.numCols+Te;return Y&&(rt-=this._firstRowOffset),rt==this.activeCell}_focusActiveCell(Y=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,h.q)(1)).subscribe(()=>{setTimeout(()=>{const Te=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Te&&(Y||(this._skipNextFocus=!0),Te.focus())})})})}_isRangeStart(Y){return wt(Y,this.startValue,this.endValue)}_isRangeEnd(Y){return le(Y,this.startValue,this.endValue)}_isInRange(Y){return Ne(Y,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Y){return wt(Y,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Y,Te,rt){if(!this._isComparisonStart(Y)||this._isRangeStart(Y)||!this._isInRange(Y))return!1;let Nt=this.rows[Te][rt-1];if(!Nt){const Tn=this.rows[Te-1];Nt=Tn&&Tn[Tn.length-1]}return Nt&&!this._isRangeEnd(Nt.compareValue)}_isComparisonBridgeEnd(Y,Te,rt){if(!this._isComparisonEnd(Y)||this._isRangeEnd(Y)||!this._isInRange(Y))return!1;let Nt=this.rows[Te][rt+1];if(!Nt){const Tn=this.rows[Te+1];Nt=Tn&&Tn[0]}return Nt&&!this._isRangeStart(Nt.compareValue)}_isComparisonEnd(Y){return le(Y,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Y){return Ne(Y,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Y){return this.comparisonStart===this.comparisonEnd&&Y===this.comparisonStart}_isPreviewStart(Y){return wt(Y,this.previewStart,this.previewEnd)}_isPreviewEnd(Y){return le(Y,this.previewStart,this.previewEnd)}_isInPreview(Y){return Ne(Y,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(Y){let Te;if(it(Y)?Te=Y:it(Y.parentNode)&&(Te=Y.parentNode),Te){const rt=Te.getAttribute("data-mat-row"),Nt=Te.getAttribute("data-mat-col");if(rt&&Nt)return this.rows[parseInt(rt)][parseInt(Nt)]}return null}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(d.SBq),d.Y36(d.R0b))},Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[d.TTD],attrs:ne,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(Y,Te){1&Y&&(d.YNc(0,oe,3,6,"tr",0),d.YNc(1,Be,3,2,"tr",1)),2&Y&&(d.Q6J("ngIf",Te._firstRowOffset<Te.labelMinRequiredCells),d.xp6(1),d.Q6J("ngForOf",Te.rows))},directives:[l.O5,l.sg,l.mk],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}
1.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}
1.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),Ee})();function it(Ee){return"TD"===Ee.nodeName}function wt(Ee,lt,Y){return null!==Y&&lt!==Y&&Ee<Y&&Ee===lt}function le(Ee,lt,Y){return null!==lt&&lt!==Y&&Ee>=lt&&Ee===Y}function Ne(Ee,lt,Y,Te){return Te&&null!==lt&&null!==Y&&lt!==Y&&Ee>=lt&&Ee<=Y}class Ut{constructor(lt,Y){this.start=lt,this.end=Y}}let pn=(()=>{class Ee{constructor(Y,Te){this.selection=Y,this._adapter=Te,this._selectionChanged=new S.x,this.selectionChanged=this._selectionChanged,this.selection=Y}updateSelection(Y,Te){const rt=this.selection;this.selection=Y,this._selectionChanged.next({selection:Y,source:Te,oldValue:rt})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Y){return this._adapter.isDateInstance(Y)&&this._adapter.isValid(Y)}}return Ee.\u0275fac=function(Y){d.$Z()},Ee.\u0275prov=d.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),Dn=(()=>{class Ee extends pn{constructor(Y){super(null,Y)}add(Y){super.updateSelection(Y,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Y=new Ee(this._adapter);return Y.updateSelection(this.selection,this),Y}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.LFG(T._A))},Ee.\u0275prov=d.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();const Ue={provide:pn,deps:[[new d.FiY,new d.tp0,pn],T._A],useFactory:function rn(Ee,lt){return Ee||new Dn(lt)}},at=new d.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let jt=(()=>{class Ee{constructor(Y,Te,rt,Nt,Tn){this._changeDetectorRef=Y,this._dateFormats=Te,this._dateAdapter=rt,this._dir=Nt,this._rangeStrategy=Tn,this._rerenderSubscription=R.w0.EMPTY,this.selectedChange=new d.vpe,this._userSelection=new d.vpe,this.activeDateChange=new d.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(Y){const Te=this._activeDate,rt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(rt,this.minDate,this.maxDate),this._hasSameMonthAndYear(Te,this._activeDate)||this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ut?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,O.O)(null)).subscribe(()=>this._init())}ngOnChanges(Y){const Te=Y.comparisonStart||Y.comparisonEnd;Te&&!Te.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Y){const Te=Y.value,rt=this._dateAdapter.getYear(this.activeDate),Nt=this._dateAdapter.getMonth(this.activeDate),Tn=this._dateAdapter.createDate(rt,Nt,Te);let Ln,Si;this._selected instanceof Ut?(Ln=this._getDateInCurrentMonth(this._selected.start),Si=this._getDateInCurrentMonth(this._selected.end)):Ln=Si=this._getDateInCurrentMonth(this._selected),(Ln!==Te||Si!==Te)&&this.selectedChange.emit(Tn),this._userSelection.emit({value:Tn,event:Y.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(Y){const Te=this._activeDate,rt=this._isRtl();switch(Y.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,rt?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,rt?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.Ku:this.activeDate=Y.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.VM:this.activeDate=Y.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.K5:case k.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Y.preventDefault());case k.hY:return void(null!=this._previewEnd&&!(0,k.Vb)(Y)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Y}),Y.preventDefault(),Y.stopPropagation()));default:return}this._dateAdapter.compareDate(Te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===k.L_||Y.keyCode===k.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let Y=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(Y)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeek
1days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Y){this._matCalendarBody._focusActiveCell(Y)}_previewChanged({event:Y,value:Te}){if(this._rangeStrategy){const Nt=this._rangeStrategy.createPreview(Te?Te.rawValue:null,this.selected,Y);this._previewStart=this._getCellCompareValue(Nt.start),this._previewEnd=this._getCellCompareValue(Nt.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const Y=this._dateAdapter.getFirstDayOfWeek(),Te=this._dateAdapter.getDayOfWeekNames("narrow");let Nt=this._dateAdapter.getDayOfWeekNames("long").map((Tn,Ln)=>({long:Tn,narrow:Te[Ln]}));this._weekdays=Nt.slice(Y).concat(Nt.slice(0,Y))}_createWeekCells(){const Y=this._dateAdapter.getNumDaysInMonth(this.activeDate),Te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let rt=0,Nt=this._firstWeekOffset;rt<Y;rt++,Nt++){7==Nt&&(this._weeks.push([]),Nt=0);const Tn=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),rt+1),Ln=this._shouldEnableDate(Tn),Si=this._dateAdapter.format(Tn,this._dateFormats.display.dateA11yLabel),Ti=this.dateClass?this.dateClass(Tn,"month"):void 0;this._weeks[this._weeks.length-1].push(new Lt(rt+1,Te[rt],Si,Ln,Ti,this._getCellCompareValue(Tn),Tn))}}_shouldEnableDate(Y){return!!Y&&(!this.minDate||this._dateAdapter.compareDate(Y,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(Y,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Y))}_getDateInCurrentMonth(Y){return Y&&this._hasSameMonthAndYear(Y,this.activeDate)?this._dateAdapter.getDate(Y):null}_hasSameMonthAndYear(Y,Te){return!(!Y||!Te||this._dateAdapter.getMonth(Y)!=this._dateAdapter.getMonth(Te)||this._dateAdapter.getYear(Y)!=this._dateAdapter.getYear(Te))}_getCellCompareValue(Y){if(Y){const Te=this._dateAdapter.getYear(Y),rt=this._dateAdapter.getMonth(Y),Nt=this._dateAdapter.getDate(Y);return new Date(Te,rt,Nt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Y){Y instanceof Ut?(this._rangeStart=this._getCellCompareValue(Y.start),this._rangeEnd=this._getCellCompareValue(Y.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(Y),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(Y){return!this.dateFilter||this.dateFilter(Y)}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(d.sBO),d.Y36(T.sG,8),d.Y36(T._A,8),d.Y36(c.Is,8),d.Y36(at,8))},Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["mat-month-view"]],viewQuery:function(Y,Te){if(1&Y&&d.Gf(It,5),2&Y){let rt;d.iGM(rt=d.CRH())&&(Te._matCalendarBody=rt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[d.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(Y,Te){1&Y&&(d.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),d.YNc(3,ot,5,2,"th",2),d.qZA(),d.TgZ(4,"tr"),d._UZ(5,"th",3),d.qZA()(),d.TgZ(6,"tbody",4),d.NdJ("selectedValueChange",function(Nt){return Te._dateSelected(Nt)})("previewChange",function(Nt){return Te._previewChanged(Nt)})("keyup",function(Nt){return Te._handleCalendarBodyKeyup(Nt)})("keydown",function(Nt){return Te._handleCalendarBodyKeydown(Nt)}),d.qZA()()),2&Y&&(d.xp6(3),d.Q6J("ngForOf",Te._weekdays),d.xp6(3),d.Q6J("label",Te._monthLabel)("rows",Te._weeks)("todayValue",Te._todayDate)("startValue",Te._rangeStart)("endValue",Te._rangeEnd)("comparisonStart",Te._comparisonRangeStart)("comparisonEnd",Te._comparisonRangeEnd)("previewStart",Te._previewStart)("previewEnd",Te._previewEnd)("isRange",Te._isRange)("labelMinRequiredCells",3)("activeCell",Te._dateAdapter.getDate(Te.activeDate)-1))},directives:[It,l.sg],encapsulation:2,changeDetection:0}),Ee})(),Hn=(()=>{class Ee{constructor(Y,Te,rt){this._changeDetectorRef=Y,this._dateAdapter=Te,this._dir=rt,this._rerenderSubscription=R.w0.EMPTY,this.selectedChange=new d.vpe,this.yearSelected=new d.vpe,this.activeDateChange=new d.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(Y){let Te=this._activeDate;const rt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(rt,this.minDate,this.maxDate),Kn(this._dateAdapter,Te,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ut?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setSelectedYear(Y)}
1get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,O.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Te=this._dateAdapter.getYear(this._activeDate)-Bn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let rt=0,Nt=[];rt<24;rt++)Nt.push(Te+rt),4==Nt.length&&(this._years.push(Nt.map(Tn=>this._createCellForYear(Tn))),Nt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(Y){const Te=Y.value;this.yearSelected.emit(this._dateAdapter.createDate(Te,0,1));let rt=this._dateAdapter.getMonth(this.activeDate),Nt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Te,rt,1));this.selectedChange.emit(this._dateAdapter.createDate(Te,rt,Math.min(this._dateAdapter.getDate(this.activeDate),Nt)))}_handleCalendarBodyKeydown(Y){const Te=this._activeDate,rt=this._isRtl();switch(Y.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,rt?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,rt?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Bn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Bn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?-240:-24);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?240:24);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===k.L_||Y.keyCode===k.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_getActiveCell(){return Bn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(Y){const Te=this._dateAdapter.createDate(Y,0,1),rt=this._dateAdapter.getYearName(Te),Nt=this.dateClass?this.dateClass(Te,"multi-year"):void 0;return new Lt(Y,rt,rt,this._shouldEnableYear(Y),Nt)}_shouldEnableYear(Y){if(null==Y||this.maxDate&&Y>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Y<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let rt=this._dateAdapter.createDate(Y,0,1);this._dateAdapter.getYear(rt)==Y;rt=this._dateAdapter.addCalendarDays(rt,1))if(this.dateFilter(rt))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(Y){if(this._selectedYear=null,Y instanceof Ut){const Te=Y.start||Y.end;Te&&(this._selectedYear=this._dateAdapter.getYear(Te))}else Y&&(this._selectedYear=this._dateAdapter.getYear(Y))}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(d.sBO),d.Y36(T._A,8),d.Y36(c.Is,8))},Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["mat-multi-year-view"]],viewQuery:function(Y,Te){if(1&Y&&d.Gf(It,5),2&Y){let rt;d.iGM(rt=d.CRH())&&(Te._matCalendarBody=rt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keyup","keydown"]],template:function(Y,Te){1&Y&&(d.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),d._UZ(3,"th",2),d.qZA()(),d.TgZ(4,"tbody",3),d.NdJ("selectedValueChange",function(Nt){return Te._yearSelected(Nt)})("keyup",function(Nt){return Te._handleCalendarBodyKeyup(Nt)})("keydown",function(Nt){return Te._handleCalendarBodyKeydown(Nt)}),d.qZA()()),2&Y&&(d.xp6(4),d.Q6J("rows",Te._years)("todayValue",Te._todayYear)("startValue",Te._selectedYear)("endValue",Te._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",Te._getActiveCell()))},directives:[It],encapsulation:2,changeDetection:0}),Ee})();function Kn(Ee,lt,Y,Te,rt){const Nt=Ee.getYear(lt),Tn=Ee.getYear(Y),Ln=di(Ee,Te,rt);return Math.floor((Nt-Ln)/24)===Math.floor((Tn-Ln)/24)}function Bn(Ee,lt,Y,Te){return function ui(Ee,lt){return(Ee%lt+lt)%lt}(Ee.getYear(lt)-di(Ee,Y,Te),24)}function di(Ee,lt,Y){let Te=0;return Y?Te=Ee.getYear(Y)-24+1:lt&&(Te=Ee.getYear(lt)),Te}let Di=(()=>{class Ee{constructor(Y,Te,rt,Nt){this._changeDetectorRef=Y,this._dateFormats=Te,this._dateAdapter=rt,this._dir=Nt,this._rerenderSubscription=R.w0.EMPTY,this.selectedChange=new d.vpe,this.monthSelected=new d.vpe,this.activeDateChange=new d.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(Y){let Te=this._activeDate;const rt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(rt,this.minDate,this.maxDate),this._dateAdapter.getYear(Te)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ut?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setSelectedMonth(Y)}
1get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,O.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Y){const Te=Y.value,rt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Te,1);this.monthSelected.emit(rt);const Nt=this._dateAdapter.getNumDaysInMonth(rt);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Te,Math.min(this._dateAdapter.getDate(this.activeDate),Nt)))}_handleCalendarBodyKeydown(Y){const Te=this._activeDate,rt=this._isRtl();switch(Y.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,rt?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,rt?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?-10:-1);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10:1);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===k.L_||Y.keyCode===k.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let Y=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Te=>Te.map(rt=>this._createCellForMonth(rt,Y[rt]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(Y){return Y&&this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Y):null}_createCellForMonth(Y,Te){const rt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,1),Nt=this._dateAdapter.format(rt,this._dateFormats.display.monthYearA11yLabel),Tn=this.dateClass?this.dateClass(rt,"year"):void 0;return new Lt(Y,Te.toLocaleUpperCase(),Nt,this._shouldEnableMonth(Y),Tn)}_shouldEnableMonth(Y){const Te=this._dateAdapter.getYear(this.activeDate);if(null==Y||this._isYearAndMonthAfterMaxDate(Te,Y)||this._isYearAndMonthBeforeMinDate(Te,Y))return!1;if(!this.dateFilter)return!0;for(let Nt=this._dateAdapter.createDate(Te,Y,1);this._dateAdapter.getMonth(Nt)==Y;Nt=this._dateAdapter.addCalendarDays(Nt,1))if(this.dateFilter(Nt))return!0;return!1}_isYearAndMonthAfterMaxDate(Y,Te){if(this.maxDate){const rt=this._dateAdapter.getYear(this.maxDate),Nt=this._dateAdapter.getMonth(this.maxDate);return Y>rt||Y===rt&&Te>Nt}return!1}_isYearAndMonthBeforeMinDate(Y,Te){if(this.minDate){const rt=this._dateAdapter.getYear(this.minDate),Nt=this._dateAdapter.getMonth(this.minDate);return Y<rt||Y===rt&&Te<Nt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(Y){this._selectedMonth=Y instanceof Ut?this._getMonthInCurrentYear(Y.start)||this._getMonthInCurrentYear(Y.end):this._getMonthInCurrentYear(Y)}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(d.sBO),d.Y36(T.sG,8),d.Y36(T._A,8),d.Y36(c.Is,8))},Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["mat-year-view"]],viewQuery:function(Y,Te){if(1&Y&&d.Gf(
1It,5),2&Y){let rt;d.iGM(rt=d.CRH())&&(Te._matCalendarBody=rt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keyup","keydown"]],template:function(Y,Te){1&Y&&(d.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),d._UZ(3,"th",2),d.qZA()(),d.TgZ(4,"tbody",3),d.NdJ("selectedValueChange",function(Nt){return Te._monthSelected(Nt)})("keyup",function(Nt){return Te._handleCalendarBodyKeyup(Nt)})("keydown",function(Nt){return Te._handleCalendarBodyKeydown(Nt)}),d.qZA()()),2&Y&&(d.xp6(4),d.Q6J("label",Te._yearLabel)("rows",Te._months)("todayValue",Te._todayMonth)("startValue",Te._selectedMonth)("endValue",Te._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",Te._dateAdapter.getMonth(Te.activeDate)))},directives:[It],encapsulation:2,changeDetection:0}),Ee})(),In=(()=>{class Ee{constructor(){this.changes=new S.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(Y,Te){return`${Y} \u2013 ${Te}`}}return Ee.\u0275fac=function(Y){return new(Y||Ee)},Ee.\u0275prov=d.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Fn=0,ei=(()=>{class Ee{constructor(Y,Te,rt,Nt,Tn){this._intl=Y,this.calendar=Te,this._dateAdapter=rt,this._dateFormats=Nt,this._buttonDescriptionId="mat-calendar-button-"+Fn++,this.calendar.stateChanges.subscribe(()=>Tn.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const Te=this._dateAdapter.getYear(this.calendar.activeDate)-Bn(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),rt=Te+24-1,Nt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Te,0,1)),Tn=this._dateAdapter.getYearName(this._dateAdapter.createDate(rt,0,1));return this._intl.formatYearRange(Nt,Tn)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(Y,Te){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(Te)&&this._dateAdapter.getMonth(Y)==this._dateAdapter.getMonth(Te):"year"==this.calendar.currentView?this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(Te):Kn(this._dateAdapter,Y,Te,this.calendar.minDate,this.calendar.maxDate)}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(In),d.Y36((0,d.Gpc)(()=>Vi)),d.Y36(T._A,8),d.Y36(T.sG,8),d.Y36(d.sBO))},Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:nt,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-control
1s"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(Y,Te){1&Y&&(d.F$t(),d.TgZ(0,"div",0)(1,"div",1)(2,"button",2),d.NdJ("click",function(){return Te.currentPeriodClicked()}),d.TgZ(3,"span"),d._uU(4),d.qZA(),d.O4$(),d.TgZ(5,"svg",3),d._UZ(6,"polygon",4),d.qZA()(),d.kcU(),d._UZ(7,"div",5),d.Hsn(8),d.TgZ(9,"button",6),d.NdJ("click",function(){return Te.previousClicked()}),d.qZA(),d.TgZ(10,"button",7),d.NdJ("click",function(){return Te.nextClicked()}),d.qZA()()()),2&Y&&(d.xp6(2),d.uIk("aria-label",Te.periodButtonLabel)("aria-describedby",Te._buttonDescriptionId),d.xp6(1),d.uIk("id",Te._buttonDescriptionId),d.xp6(1),d.Oqu(Te.periodButtonText),d.xp6(1),d.ekj("mat-calendar-invert","month"!==Te.calendar.currentView),d.xp6(4),d.Q6J("disabled",!Te.previousEnabled()),d.uIk("aria-label",Te.prevButtonLabel),d.xp6(1),d.Q6J("disabled",!Te.nextEnabled()),d.uIk("aria-label",Te.nextButtonLabel))},directives:[A.lW],encapsulation:2,changeDetection:0}),Ee})(),Vi=(()=>{class Ee{constructor(Y,Te,rt,Nt){this._dateAdapter=Te,this._dateFormats=rt,this._changeDetectorRef=Nt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new d.vpe,this.yearSelected=new d.vpe,this.monthSelected=new d.vpe,this.viewChanged=new d.vpe(!0),this._userSelection=new d.vpe,this.stateChanges=new S.x,this._intlChanges=Y.changes.subscribe(()=>{Nt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(Y){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ut?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get activeDate(){return this._clampedActiveDate}set activeDate(Y){this._clampedActiveDate=this._dateAdapter.clampDate(Y,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(Y){const Te=this._currentView!==Y?Y:null;this._currentView=Y,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Te&&this.viewChanged.emit(Te)}ngAfterContentInit(){this._calendarHeaderPortal=new e.C5(this.headerComponent||ei),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(Y){const Te=Y.minDate&&!this._dateAdapter.sameDate(Y.minDate.previousValue,Y.minDate.currentValue)?Y.minDate:void 0,rt=Y.maxDate&&!this._dateAdapter.sameDate(Y.maxDate.previousValue,Y.maxDate.currentValue)?Y.maxDate:void 0,Nt=Te||rt||Y.dateFilter;if(Nt&&!Nt.firstChange){const Tn=this._getCurrentViewComponent();Tn&&(this._changeDetectorRef.detectChanges(),Tn._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Y){const Te=Y.value;(this.selected instanceof Ut||Te&&!this._dateAdapter.sameDate(Te,this.selected))&&this.selectedChange.emit(Te),this._userSelection.emit(Y)}_yearSelectedInMultiYearView(Y){this.yearSelected.emit(Y)}_monthSelectedInYearView(Y){this.monthSelected.emit(Y)}_goToDateInView(Y,Te){this.activeDate=Y,this.currentView=Te}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(In),d.Y36(T._A,8),d.Y36(T.sG,8),d.Y36(d.sBO))},Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["mat-calendar"]],viewQuery:function(Y,Te){if(1&Y&&(d.Gf(jt,5),d.Gf(Di,5),d.Gf(Hn,5)),2&Y){let rt;d.iGM(rt=d.CRH())&&(Te.monthView=rt.first),d.iGM(rt=d.CRH())&&(Te.yearView=rt.first),d.iGM(rt=d.CRH())&&(Te.multiYearView=rt.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[d._Bn([Ue]),d.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(Y,Te){1&Y&&(d.YNc(0,xt,0,0,"ng-template",0),d.TgZ(1,"div",1),d.YNc(2,At,1,8,"mat-month-view",2),d.YNc(3,Qt,1,6,"mat-year-view",3),d.YNc(4,Vt,1,6,"mat-multi-year-view",4),d.qZA()),2&Y&&(d.Q6J("cdkPortalOutlet",Te._calendarHeaderPortal),d.xp6(1),d.Q6J("ngSwitch",Te.currentView),d.xp6(1),d.Q6J("ngSwitchCase","month"),d.xp6(1),d.Q6J("ngSwitchCase","year"),d.xp6(1),d.Q6J("ngSwitchCase","multi-year"))},directives:[jt,Di,Hn,e.Pl,i.kH,l.RF,l.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}
1.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),Ee})();const gt={transformPanel:(0,ee.X$)("transformPanel",[(0,ee.eR)("void => enter-dropdown",(0,ee.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ee.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ee.eR)("void => enter-dialog",(0,ee.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(0.7)"}),(0,ee.oB)({transform:"none",opacity:1})]))),(0,ee.eR)("* => void",(0,ee.jt)("100ms linear",(0,ee.oB)({opacity:0})))]),fadeInCalendar:(0,ee.X$)("fadeInCalendar",[(0,ee.SB)("void",(0,ee.oB)({opacity:0})),(0,ee.SB)("enter",(0,ee.oB)({opacity:1})),(0,ee.eR)("void => *",(0,ee.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let He=0;const Oe=new d.OlP("mat-datepicker-scroll-strategy"),Ft={provide:Oe,deps:[s.aV],useFactory:function pt(Ee){return()=>Ee.scrollStrategies.reposition()}},fn=(0,T.pj)(class{constructor(Ee){this._elementRef=Ee}});let Zn=(()=>{class Ee extends fn{constructor(Y,Te,rt,Nt,Tn,Ln){super(Y),this._changeDetectorRef=Te,this._globalModel=rt,this._dateAdapter=Nt,this._rangeSelectionStrategy=Tn,this._subscriptions=new R.w0,this._animationDone=new S.x,this._actionsPortal=null,this._closeButtonText=Ln.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(Y){const Te=this._model.selection,rt=Y.value,Nt=Te instanceof Ut;if(Nt&&this._rangeSelectionStrategy){const Tn=this._rangeSelectionStrategy.selectionFinished(rt,Te,Y.event);this._model.updateSelection(Tn,this)}else rt&&(Nt||!this._dateAdapter.sameDate(rt,Te))&&this._model.add(rt);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(pn),d.Y36(T._A),d.Y36(at,8),d.Y36(In))},Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["mat-datepicker-content"]],viewQuery:function(Y,Te){if(1&Y&&d.Gf(Vi,5),2&Y){let rt;d.iGM(rt=d.CRH())&&(Te._calendar=rt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(Y,Te){1&Y&&d.WFA("@transformPanel.done",function(){return Te._animationDone.next()}),2&Y&&(d.d8E("@transformPanel",Te._animationState),d.ekj("mat-datepicker-content-touch",Te.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[d.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(Y,Te){if(1&Y&&(d.TgZ(0,"div",0)(1,"mat-calendar",1),d.NdJ("yearSelected",function(Nt){return Te.datepicker._selectYear(Nt)})("monthSelected",function(Nt){return Te.datepicker._selectMonth(Nt)})("viewChanged",function(Nt){return Te.datepicker._viewChanged(Nt)})("_userSelection",function(Nt){return Te._handleUserSelection(Nt)}),d.qZA(),d.YNc(2,dt,0,0,"ng-template",2),d.TgZ(3,"button",3),d.NdJ("focus",function(){return Te._closeButtonF
1ocused=!0})("blur",function(){return Te._closeButtonFocused=!1})("click",function(){return Te.datepicker.close()}),d._uU(4),d.qZA()()),2&Y){let rt;d.ekj("mat-datepicker-content-container-with-custom-header",Te.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Te._actionsPortal),d.uIk("aria-modal",!0)("aria-labelledby",null!==(rt=Te._dialogLabelId)&&void 0!==rt?rt:void 0),d.xp6(1),d.Q6J("id",Te.datepicker.id)("ngClass",Te.datepicker.panelClass)("startAt",Te.datepicker.startAt)("startView",Te.datepicker.startView)("minDate",Te.datepicker._getMinDate())("maxDate",Te.datepicker._getMaxDate())("dateFilter",Te.datepicker._getDateFilter())("headerComponent",Te.datepicker.calendarHeaderComponent)("selected",Te._getSelected())("dateClass",Te.datepicker.dateClass)("comparisonStart",Te.comparisonStart)("comparisonEnd",Te.comparisonEnd)("@fadeInCalendar","enter"),d.xp6(1),d.Q6J("cdkPortalOutlet",Te._actionsPortal),d.xp6(1),d.ekj("cdk-visually-hidden",!Te._closeButtonFocused),d.Q6J("color",Te.color||"primary"),d.xp6(1),d.Oqu(Te._closeButtonText)}},directives:[Vi,A.lW,i.mK,l.mk,e.Pl],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[gt.transformPanel,gt.fadeInCalendar]},changeDetection:0}),Ee})(),ni=(()=>{class Ee{constructor(Y,Te,rt,Nt,Tn,Ln,Si){this._overlay=Y,this._ngZone=Te,this._viewContainerRef=rt,this._dateAdapter=Tn,this._dir=Ln,this._model=Si,this._inputStateChanges=R.w0.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new d.vpe,this.monthSelected=new d.vpe,this.viewChanged=new d.vpe(!0),this.openedStream=new d.vpe,this.closedStream
1=new d.vpe,this._opened=!1,this.id="mat-datepicker-"+He++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new S.x,this._scrollStrategy=Nt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Y){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Y){this._color=Y}get touchUi(){return this._touchUi}set touchUi(Y){this._touchUi=(0,Z.Ig)(Y)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Y){const Te=(0,Z.Ig)(Y);Te!==this._disabled&&(this._disabled=Te,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(Y){this._restoreFocus=(0,Z.Ig)(Y)}get panelClass(){return this._panelClass}set panelClass(Y){this._panelClass=(0,Z.du)(Y)}get opened(){return this._opened}set opened(Y){(0,Z.Ig)(Y)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(Y){const Te=Y.xPosition||Y.yPosition;if(Te&&!Te.firstChange&&this._overlayRef){const rt=this._overlayRef.getConfig().positionStrategy;rt instanceof s._G&&(this._setConnectedPositions(rt),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Y){this._model.add(Y)}_selectYear(Y){this.yearSelected.emit(Y)}_selectMonth(Y){this.monthSelected.emit(Y)}_viewChanged(Y){this.viewChanged.emit(Y)}registerInput(Y){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Y,this._inputStateChanges=Y.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Y){this._actionsPortal=Y}removeActions(Y){Y===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,v.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const Te=this._componentRef.instance;Te._startExitAnimation(),Te._animationDone.pipe((0,h.q)(1)).subscribe(()=>this._destroyOverlay())}const Y=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(Y)):Y()}_applyPendingSelection(){var Y,Te;null===(Te=null===(Y=this._componentRef)||void 0===Y?void 0:Y.instance)||void 0===Te||Te._applyPendingSelection()}_forwardContentValues(Y){Y.datepicker=this,Y.color=this.color,Y._actionsPortal=this._actionsPortal,Y._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const Y=this.touchUi,Te=new e.C5(Zn,this._viewContainerRef),rt=this._overlayRef=this._overlay.create(new s.X_({positionStrategy:Y?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Y?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:Y?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(Y?"dialog":"popup")}));this._getCloseStream(rt).subscribe(Nt=>{Nt&&Nt.preventDefault(),this.close()}),rt.keydownEvents().subscribe(Nt=>{const Tn=Nt.keyCode;(Tn===k.LH||Tn===k.JH||Tn===k.oh||Tn===k.SV||Tn===k.Ku||Tn===k.VM)&&Nt.preventDefault()}),this._componentRef=rt.attach(Te),this._forwardContentValues(this._componentRef.instance),Y||this._ngZone.onStable.pipe((0,h.q)(1)).subscribe(()=>rt.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const Y=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Y)}_setConnectedPositions(Y){const Te="end"===this.xPosition?"end":"start",rt
1="start"===Te?"end":"start",Nt="above"===this.yPosition?"bottom":"top",Tn="top"===Nt?"bottom":"top";return Y.withPositions([{originX:Te,originY:Tn,overlayX:Te,overlayY:Nt},{originX:Te,originY:Nt,overlayX:Te,overlayY:Tn},{originX:rt,originY:Tn,overlayX:rt,overlayY:Nt},{originX:rt,originY:Nt,overlayX:rt,overlayY:Tn}])}_getCloseStream(Y){return(0,q.T)(Y.backdropClick(),Y.detachments(),Y.keydownEvents().pipe((0,E.h)(Te=>Te.keyCode===k.hY&&!(0,k.Vb)(Te)||this.datepickerInput&&(0,k.Vb)(Te,"altKey")&&Te.keyCode===k.LH)))}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(s.aV),d.Y36(d.R0b),d.Y36(d.s_b),d.Y36(Oe),d.Y36(T._A,8),d.Y36(c.Is,8),d.Y36(pn))},Ee.\u0275dir=d.lG2({type:Ee,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[d.TTD]}),Ee})(),ln=(()=>{class Ee extends ni{}return Ee.\u0275fac=function(){let lt;return function(Te){return(lt||(lt=d.n5z(Ee)))(Te||Ee)}}(),Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[d._Bn([Ue,{provide:ni,useExisting:Ee}]),d.qOj],decls:0,vars:0,template:function(Y,Te){},encapsulation:2,changeDetection:0}),Ee})();class An{constructor(lt,Y){this.target=lt,this.targetElement=Y,this.value=this.target.value}}let bt=(()=>{class Ee{constructor(Y,Te,rt){this._elementRef=Y,this._dateAdapter=Te,this._dateFormats=rt,this.dateChange=new d.vpe,this.dateInput=new d.vpe,this.stateChanges=new S.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=R.w0.EMPTY,this._localeSubscription=R.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Nt=>{const Tn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Nt.value));return!Tn||this._matchesFilter(Tn)?null:{matDatepickerFilter:!0}},this._minValidator=Nt=>{const Tn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Nt.value)),Ln=this._getMinDate();return!Ln||!Tn||this._dateAdapter.compareDate(Ln,Tn)<=0?null:{matDatepickerMin:{min:Ln,actual:Tn}}},this._maxValidator=Nt=>{const Tn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Nt.value)),Ln=this._getMaxDate();return!Ln||!Tn||this._dateAdapter.compareDate(Ln,Tn)>=0?null:{matDatepickerMax:{max:Ln,actual:Tn}}},this._lastValueValid=!1,this._localeSubscription=Te.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Y){this._assignValueProgrammatically(Y)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Y){const Te=(0,Z.Ig)(Y),rt=this._elementRef.nativeElement;this._disabled!==Te&&(this._disabled=Te,this.stateChanges.next(void 0)),Te&&this._isInitialized&&rt.blur&&rt.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Y){this._model=Y,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Te=>{if(this._shouldHandleChangeEvent(Te)){const rt=this._getValueFromModel(Te.selection);this._lastValueValid=this._isValidValue(rt),this._cvaOnChange(rt),this._onTouched(),this._formatValue(rt),this.dateInput.emit(new An(this,this._elementRef.nativeElement)),this.dateChange.emit(new An(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Y){(function Xe(Ee,lt){const Y=Object.keys(Ee);for(let Te of Y){const{previousValue:rt,currentValue:Nt}=Ee[Te];if(!lt.isDateInstance(rt)||!lt.isDateInstance(Nt))return!0;if(!lt.sameDate(rt,Nt))return!0}return!1})(Y,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}
1registerOnValidatorChange(Y){this._validatorOnChange=Y}validate(Y){return this._validator?this._validator(Y):null}writeValue(Y){this._assignValueProgrammatically(Y)}registerOnChange(Y){this._cvaOnChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y}_onKeydown(Y){Y.altKey&&Y.keyCode===k.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Y.preventDefault())}_onInput(Y){const Te=this._lastValueValid;let rt=this._dateAdapter.parse(Y,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(rt),rt=this._dateAdapter.getValidDateOrNull(rt);const Nt=!this._dateAdapter.sameDate(rt,this.value);!rt||Nt?this._cvaOnChange(rt):(Y&&!this.value&&this._cvaOnChange(rt),Te!==this._lastValueValid&&this._validatorOnChange()),Nt&&(this._assignValue(rt),this.dateInput.emit(new An(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new An(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Y){this._elementRef.nativeElement.value=null!=Y?this._dateAdapter.format(Y,this._dateFormats.display.dateInput):""}_assignValue(Y){this._model?(this._assignValueToModel(Y),this._pendingValue=null):this._pendingValue=Y}_isValidValue(Y){return!Y||this._dateAdapter.isValid(Y)}_parentDisabled(){return!1}_assignValueProgrammatically(Y){Y=this._dateAdapter.deserialize(Y),this._lastValueValid=this._isValidValue(Y),Y=this._dateAdapter.getValidDateOrNull(Y),this._assignValue(Y),this._formatValue(Y)}_matchesFilter(Y){const Te=this._getDateFilter();return!Te||Te(Y)}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(d.SBq),d.Y36(T._A,8),d.Y36(T.sG,8))},Ee.\u0275dir=d.lG2({type:Ee,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[d.TTD]}),Ee})();const st={provide:X.JU,useExisting:(0,d.Gpc)(()=>$t),multi:!0},ct={provide:X.Cf,useExisting:(0,d.Gpc)(()=>$t),multi:!0};let $t=(()=>{class Ee extends bt{constructor(Y,Te,rt,Nt){super(Y,Te,rt),this._formField=Nt,this._closedSubscription=R.w0.EMPTY,this._validator=X.kI.compose(super._getValidators())}set matDatepicker(Y){Y&&(this._datepicker=Y,this._closedSubscription=Y.closedStream.subscribe(()=>this._onTouched()),this._registerModel(Y.registerInput(this)))}get min(){return this._min}set min(Y){const Te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(Te,this._min)||(this._min=Te,this._validatorOnChange())}get max(){return this._max}set max(Y){const Te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(Te,this._max)||(this._max=Te,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(Y){const Te=this._matchesFilter(this.value);this._dateFilter=Y,this._matchesFilter(this.value)!==Te&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Y){return Y}_assignValueToModel(Y){this._model&&this._model.updateSelection(Y,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Y){return Y.source!==this}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(d.SBq),d.Y36(T._A,8),d.Y36(T.sG,8),d.Y36(te.G_,8))},Ee.\u0275dir=d.lG2({type:Ee,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(Y,Te){1&Y&&d.NdJ("input",function(Nt){return Te._onInput(Nt.target.value)})("change",function(){return Te._onChange()})("blur",function(){return Te._onBlur()})("keydown",function(Nt){return Te._onKeydown(Nt)}),2&Y&&(d.Ikx("disabled",Te.disabled),d.uIk("aria-haspopup",Te._datepicker?"dialog":null)("aria-owns",(null==Te._datepicker?null:Te._datepicker.opened)&&Te._datepicker.id||null)("min",Te.min?Te._dateAdapter.toIso8601(Te.min):null)("max",Te.max?Te._dateAdapter.toIso8601(Te.max):null)("data-mat-calendar",Te._datepicker?Te._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[d._Bn([st,ct,{provide:_e.Jk,useExisting:Ee}]),d.qOj]}),Ee})(),un=(()=>{class Ee{}return Ee.\u0275fac=function(Y){return new(Y||Ee)},Ee.\u0275dir=d.lG2({type:Ee,selectors:[["","matDatepickerToggleIcon",""]]}),Ee})(),$n=(()=>{class Ee{constructor(Y,Te,rt){this._intl=Y,this._changeDetectorRef=Te,this._stateChanges=R.w0.EMPTY;const Nt=Number(rt);this.tabIndex=Nt||0===Nt?Nt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Y){this._disabled=(0,Z.Ig)(Y)}ngOnChanges(Y){Y.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Y){this.datepicker&&!this.disabled&&(this.datepicker.open(),Y.stopPropagation())}_watchStateChanges(){const Y=this.datepicker?this.datepicker.stateChanges:(0,w.of)(),Te=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,w.of)(),rt=this.datepicker?(0,q.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,w.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,q.T)(this._intl.changes,Y,Te,rt).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Ee.\u0275fac=function(Y){return new(Y||Ee)(d.Y36(In),d.Y36(d.sBO),d.$8M("tabindex"))},Ee.\u0275cmp=d.Xpm({type:Ee,selectors:[["mat-datepicker-toggle"]],c
1ontentQueries:function(Y,Te,rt){if(1&Y&&d.Suo(rt,un,5),2&Y){let Nt;d.iGM(Nt=d.CRH())&&(Te._customIcon=Nt.first)}},viewQuery:function(Y,Te){if(1&Y&&d.Gf(Mt,5),2&Y){let rt;d.iGM(rt=d.CRH())&&(Te._button=rt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(Y,Te){1&Y&&d.NdJ("click",function(Nt){return Te._open(Nt)}),2&Y&&(d.uIk("tabindex",null)("data-mat-calendar",Te.datepicker?Te.datepicker.id:null),d.ekj("mat-datepicker-toggle-active",Te.datepicker&&Te.datepicker.opened)("mat-accent",Te.datepicker&&"accent"===Te.datepicker.color)("mat-warn",Te.datepicker&&"warn"===Te.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[d.TTD],ngContentSelectors:We,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(Y,Te){1&Y&&(d.F$t(me),d.TgZ(0,"button",0,1),d.YNc(2,we,2,0,"svg",2),d.Hsn(3),d.qZA()),2&Y&&(d.Q6J("disabled",Te.disabled)("disableRipple",Te.disableRipple),d.uIk("aria-haspopup",Te.datepicker?"dialog":null)("aria-label",Te.ariaLabel||Te._intl.openCalendarLabel)("tabindex",Te.disabled?-1:Te.tabIndex),d.xp6(2),d.Q6J("ngIf",!Te._customIcon))},directives:[A.lW,l.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),Ee})(),ye=(()=>{class Ee{}return Ee.\u0275fac=function(Y){return new(Y||Ee)},Ee.\u0275mod=d.oAB({type:Ee}),Ee.\u0275inj=d.cJS({providers:[In,Ft],imports:[[l.ez,A.ot,s.U8,i.rt,e.eL,T.BQ],C.ZD]}),Ee})()},8966:(Yt,Ze,m)=>{"use strict";m.d(Ze,{H8:()=>re,Is:()=>Ot,WI:()=>Se,so:()=>oe,uh:()=>me,uw:()=>Vt,xY:()=>We});var i=m(1314),s=m(7429),e=m(5e3),l=m(508),d=m(226),A=m(7579),C=m(9770),T=m(9646),S=m(9300),R=m(5698),q=m(8675),w=m(925),k=m(60),h=m(1777),O=m(5664),E=m(1159),c=m(6360);function Z(Et,Lt){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ee={dialogContainer:(0,h.X$)("dialogContainer",[(0,h.SB)("void, exit",(0,h.oB)({opacity:0,transform:"scale(0.7)"})),(0,h.SB)("enter",(0,h.oB)({transform:"none"})),(0,h.eR)("* => enter",(0,h.ru)([(0,h.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,h.oB)({transform:"none",opacity:1})),(0,h.IO)("@*",(0,h.pV)(),{optional:!0})])),(0,h.eR)("* => void, * => exit",(0,h.ru)([(0,h.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,h.oB)({opacity:0})),(0,h.IO)("@*",(0,h.pV)(),{optional:!0})]))])};let te=(()=>{class Et extends s.en{constructor(It,it,wt,le,Ne,Ut,pn,Dn){super(),this._elementRef=It,this._focusTrapFactory=it,this._changeDetectorRef=wt,this._config=Ne,this._interactivityChecker=Ut,this._ngZone=pn,this._focusMonitor=Dn,this._animationStateChanged=new e.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Mn=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Mn)),this._ariaLabelledBy=Ne.ariaLabelledBy||null,this._document=le}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,w.ht)())}attachComponentPortal(It){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(It)}attachTemplatePortal(It){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(It)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(It,it){this._interactivityChecker.isFocusable(It)||(It.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const wt=()=>{It.removeEventListener("blur",wt),It.removeEventListener("mousedown",wt),It.removeAttribute("tabindex")};It.addEventListener("blur",wt),It.addEventListener("mousedown",wt)})),It.focus(it)}_focusByCssSelector(It,it){let wt=this._elementRef.nativeElement.querySelector(It);wt&&this._forceFocus(wt,it)}_trapFocus(){const It=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||It.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(it=>{it||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const It=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&It&&"function"==typeof It.focus){const it=(0,w.ht)(),wt=this._elementRef.nativeElement;(!it||it===this._document.body||it===wt||wt.contains(it))&&(this._focusMonitor?(this._focusMonitor.focusVia(It,this._closeInteractionType),this._closeInteractionType=null):It.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const It=this._elementRef.nativeElement,it=(0,w.ht)();return It===it||It.contains(it)}}return Et.\u0275fac=function(It){return new(It||Et)(e.Y36(e.SBq),e.Y36(O.qV),e.Y36(e.sBO),e.Y36(k.K0,8),e.Y36(v),e.Y36(O.ic),e.Y36(e.R0b),e.Y36(O.tE))},Et.\u0275dir=e.lG2({type:Et,viewQuery:function(It,it){if(1&It&&e.Gf(s.Pl,7),2&It){let wt;
1e.iGM(wt=e.CRH())&&(it._portalOutlet=wt.first)}},features:[e.qOj]}),Et})(),_e=(()=>{class Et extends te{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:It,totalTime:it}){"enter"===It?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:it})):"exit"===It&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:it}))}_onAnimationStart({toState:It,totalTime:it}){"enter"===It?this._animationStateChanged.next({state:"opening",totalTime:it}):("exit"===It||"void"===It)&&this._animationStateChanged.next({state:"closing",totalTime:it})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return Et.\u0275fac=function(){let Lt;return function(it){return(Lt||(Lt=e.n5z(Et)))(it||Et)}}(),Et.\u0275cmp=e.Xpm({type:Et,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(It,it){1&It&&e.WFA("@dialogContainer.start",function(le){return it._onAnimationStart(le)})("@dialogContainer.done",function(le){return it._onAnimationDone(le)}),2&It&&(e.Ikx("id",it._id),e.uIk("role",it._config.role)("aria-labelledby",it._config.ariaLabel?null:it._ariaLabelledBy)("aria-label",it._config.ariaLabel)("aria-describedby",it._config.ariaDescribedBy||null),e.d8E("@dialogContainer",it._state))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(It,it){1&It&&e.YNc(0,Z,0,0,"ng-template",0)},directives:[s.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ee.dialogContainer]}}),Et})(),ne=0;class oe{constructor(Lt,It,it="mat-dialog-"+ne++){this._overlayRef=Lt,this._containerInstance=It,this.id=it,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new A.x,this._afterClosed=new A.x,this._beforeClosed=new A.x,this._state=0,It._id=it,It._animationStateChanged.pipe((0,S.h)(wt=>"opened"===wt.state),(0,R.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),It._animationStateChanged.pipe((0,S.h)(wt=>"closed"===wt.state),(0,R.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Lt.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),Lt.keydownEvents().pipe((0,S.h)(wt=>wt.keyCode===E.hY&&!this.disableClose&&!(0,E.Vb)(wt))).subscribe(wt=>{wt.preventDefault(),he(this,"keyboard")}),Lt.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():he(this,"mouse")})}close(Lt){this._result=Lt,this._containerInstance._animationStateChanged.pipe((0,S.h)(It=>"closing"===It.state),(0,R.q)(1)).subscribe(It=>{this._beforeClosed.next(Lt),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),It.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(Lt){let It=this._getPositionStrategy();return Lt&&(Lt.left||Lt.right)?Lt.left?It.left(Lt.left):It.right(Lt.right):It.centerHorizontally(),Lt&&(Lt.top||Lt.bottom)?Lt.top?It.top(Lt.top):It.bottom(Lt.bottom):It.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(Lt="",It=""){return this._overlayRef.updateSize({width:Lt,height:It}),this._overlayRef.updatePosition(),this}addPanelClass(Lt){return this._overlayRef.addPanelClass(Lt),this}removePanelClass(Lt){return this._overlayRef.removePanelClass(Lt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function he(Et,Lt,It){return void 0!==Et._containerInstance&&(Et._containerInstance._closeInteractionType=Lt),Et.close(It)}const Se=new e.OlP("MatDialogData"),Be=new e.OlP("mat-dialog-default-options"),ot=new e.OlP("mat-dialog-scroll-strategy"),At={provide:ot,deps:[i.aV],useFactory:function xt(Et){return()=>Et.scrollStrategies.block()}};let Qt=(()=>{class Et{constructor(It,it,wt,le,Ne,Ut,pn,Dn,Mn,rn){this._overlay=It,this._injector=it,this._defaultOptions=wt,this._parentDialog=le,this._overlayContainer=Ne,this._dialogRefConstructor=pn,this._dialogContainerType=Dn,this._dialogDataToken=Mn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A.x,this._afterOpenedAtThisLevel=new A.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,C.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,q.O)(void 0))),this._scrollStrategy=Ut}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const It=this._parentDialog;return It?It._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(It,it){it=function dt(Et,Lt){return Object.assign(Object.assign({},Lt),Et)}(it,this._defaultOptions||new v),it.id&&this.getDialogById(it.id);const wt=this._createOverlay(it),le=this._attachDialogContainer(wt,it),Ne=this._attachDialogContent(It,le,wt,it);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ne),Ne.afterClosed().subscribe(()=>this._removeOpenDialog(Ne)),this.afterOpened.next(Ne),le._initializeWithAttachedContent(),Ne}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(It){return this.openDialogs.find(it=>it.id===It)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(It){const it=this._getOverlayConfig(It);return this._overlay.create(it)}_getOverlayConfig(It){const it=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:It.scrollStrategy||this._scrollStrategy(),panelClass:It.panelClass,hasBackdrop:It.hasBackdrop,direction:It.direction,minWidth:It.minWidth,minHeight:It.minHeight,maxWidth:It.maxWidth,maxHeight:It.maxHeight,disposeOnNavigation:It.closeOnNavigation});return It.backdropClass&&(it.backdropClass=It.backdropClass),it}_attachDialogContainer(It,it){const le=e.zs3.create({parent:it&&it.viewContainerRef&&it.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:it}]}),Ne=new s.C5(this._dialogContainerType,it.viewContainerRef,le,it.componentFactoryResolver);return It.attach(Ne).instance}_attachDialogContent(It,it,wt,le){const Ne=new this._dialogRefConstructor(wt,it,le.id);if(It instanceof e.Rgc)it.attachTemplatePortal(new s.UE(It,null,{$implicit:le.data,dialogRef:Ne}));else{const Ut=this._createInjector(le,Ne,it),pn=it.attachComponentPortal(new s.C5(It,le.viewContainerRef,Ut,le.componentFactoryResolver));Ne.componentInstance=pn.instance}return Ne.updateSize(le.width,le.height).updatePosition(le.position),Ne}_createInjector(It,it,wt){const le=It&&It.viewContainerRef&&It.viewContainerRef.injector,Ne=[{provide:this._dialogContainerType,useValue:wt},{provide:this._dialogDataToken,useValue:It.data},{provide:this._dialogRefConstructor,useValue:it}];return It.direction&&(!le||!le.get(d.Is,null,e.XFs.Optional))&&Ne.push({provide:d.Is,useValue:{value:It.direction,change:(0,T.of)()}}),e.zs3.create({parent:le||this._injector,providers:Ne})}_removeOpenDialog(It){const it=this.openDialogs.indexOf(It);it>-1&&(this.openDialogs.splice(it,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((wt,le)=>{wt?le.setAttribute("aria-hidden",wt):le.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const It=this._overlayContainer.getContainerElement();if(It.parentElement){const it=It.parentElement.children;for(let wt=it.length-1;wt>-1;wt--){let le=it[wt];le!==It&&"SCRIPT"!==le.nodeName&&"STYLE"!==le.nodeName&&!le.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(le,le.getAttribute("aria-hidden")),le.setAttribute("aria-hidden","true"))}}}_closeDialogs(It){let it=It.length;for(;it--;)It[it].close()}}return Et.\u0275fac=function(It){e.$Z()},Et.\u0275dir=e.lG2({type:Et}),Et})(),Vt=(()=>{class Et extends Qt{constructor(It,it,wt,le,Ne,Ut,pn,Dn){super(It,it,le,Ut,pn,Ne,oe,_e,Se,Dn)}}return Et.\u0275fac=function(It){return new(It||Et)(e.LFG(i.aV),e.LFG(e.zs3),e.LFG(k.Ye,8),e.LFG(Be,8),e.LFG(ot),e.LFG(Et,12),e.LFG(i.Xj),e.LFG(c.Qb,8))},Et.\u0275prov=e.Yz7({token:Et,factory:Et.\u0275fac}),Et})(),Mt=0,me=(()=>{class Et{constructor(It,it,wt){this._dialogRef=It,this._elementRef=it,this._dialog=wt,this.id="mat-dialog-title-"+Mt++}ngOnInit(){this._dialogRef||(this._dialogRef=function ft(Et,Lt){let It=Et.nativeElement.parentElement;for(;It&&!It.classList.contains("mat-dialog-container");)It=It.parentElement;return It?Lt.find(it=>it.id===It.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const It=this._dialogRef._containerInstance;It&&!It._ariaLabelledBy&&(It._ariaLabelledBy=this.id)})}}return Et.\u0275fac=function(It){return new(It||Et)(e.Y36(oe,8),e.Y36(e.SBq),e.Y36(Vt))},Et.\u0275dir=e.lG2({type:Et,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(It,it){2&It&&e.Ikx("id",it.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),Et})(),We=(()=>{class Et{}return Et.\u0275fac=function(It){return new(It||Et)},Et.\u0275dir=e.lG2({type:Et,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),Et})(),re=(()=>{class Et{}return Et.\u0275fac=function(It){return new(It||Et)},Et.\u0275dir=e.lG2({type:Et,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),Et})(),Ot=(()=>{class Et{}return Et.\u0275fac=function(It){return new(It||Et)},Et.\u0275mod=e.oAB({type:Et}),Et.\u0275inj=e.cJS({providers:[Vt,At],imports:[[i.U8,s.eL,l.BQ],l.BQ]}),Et})()},4834:(Yt,Ze,m)=>{"use strict";m.d(Ze,{d:()=>l,t:()=>d});var i=m(5e3),s=m(3191),e=m(508);let l=(()=>{class A{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(T){this._vertical=(0,s.Ig)(T)}get inset(){return this._inset}set inset(T){this._inset=(0,s.Ig)(T)}}return A.\u0275fac=function(T){return new(T||A)},A.\u0275cmp=i.Xpm({type:A,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(T,S){2&T&&(i.uIk("aria-orientation",S.vertical?"vertical":"horizontal"),i.ekj("mat-divider-vertical",S.vertical)("mat-divider-horizontal",!S.vertical)("mat-divider-inset",S.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(T,S){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),A})(),d=(()=>{class A{}return A.\u0275fac=function(T){return new(T||A)},A.\u0275mod=i.oAB({type:A}),A.\u0275inj=i.cJS({imports:[[e.BQ],e.BQ]}),A})()},7322:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Eo:()=>Mt,G_:()=>rn,KE:()=>Ue,R9:()=>le,TO:()=>Vt,bx:()=>Ot,hX:()=>Et,lN:()=>Je});var i=m(7144),s=m(60),e=m(5e3),l=m(508),d=m(3191),A=m(7579),C=m(6451),T=m(4968),S=m(8675),R=m(2722),q=m(5698),w=m(1777),k=m(6360),h=m(226),O=m(925);const E=["connectionContainer"],c=["inputContainer"],Z=["label"];function v(De,at){1&De&&(e.ynx(0),e.TgZ(1,"div",14),e._UZ(2,"div",15)(3,"div",16)(4,"div",17),e.qZA(),e.TgZ(5,"div",18),e._UZ(6,"div",15)(7,"div",16)(8,"div",17),e.qZA(),e.BQk())}function ee(De,at){if(1&De){const Ve=e.EpF();e.TgZ(0,"div",19),e.NdJ("cdkObserveContent",function(){return e.CHM(Ve),e.oxw().updateOutlineGap()}),e.Hsn(1,1),e.qZA()}if(2&De){const Ve=e.oxw();e.Q6J("cdkObserveContentDisabled","outline"!=Ve.appearance)}}function X(De,at){if(1&De&&(e.ynx(0),e.Hsn(1,2),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.BQk()),2&De){const Ve=e.oxw(2);e.xp6(3),e.Oqu(Ve._control.placeholder)}}function te(De,at){1&De&&e.Hsn(0,3,["*ngSwitchCase","true"])}function _e(De,at){1&De&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function ne(De,at){if(1&De){const Ve=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("cdkObserveContent",function(){return e.CHM(Ve),e.oxw().updateOutlineGap()}),e.YNc(2,X,4,1,"ng-container",12),e.YNc(3,te,1,0,"ng-content",12),e.YNc(4,_e,2,0,"span",22),e.qZA()}if(2&De){const Ve=e.oxw();
1e.ekj("mat-empty",Ve._control.empty&&!Ve._shouldAlwaysFloat())("mat-form-field-empty",Ve._control.empty&&!Ve._shouldAlwaysFloat())("mat-accent","accent"==Ve.color)("mat-warn","warn"==Ve.color),e.Q6J("cdkObserveContentDisabled","outline"!=Ve.appearance)("id",Ve._labelId)("ngSwitch",Ve._hasLabel()),e.uIk("for",Ve._control.id)("aria-owns",Ve._control.id),e.xp6(2),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngIf",!Ve.hideRequiredMarker&&Ve._control.required&&!Ve._control.disabled)}}function oe(De,at){1&De&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function he(De,at){if(1&De&&(e.TgZ(0,"div",25),e._UZ(1,"span",26),e.qZA()),2&De){const Ve=e.oxw();e.xp6(1),e.ekj("mat-accent","accent"==Ve.color)("mat-warn","warn"==Ve.color)}}function Se(De,at){if(1&De&&(e.TgZ(0,"div"),e.Hsn(1,5),e.qZA()),2&De){const Ve=e.oxw();e.Q6J("@transitionMessages",Ve._subscriptAnimationState)}}function Be(De,at){if(1&De&&(e.TgZ(0,"div",30),e._uU(1),e.qZA()),2&De){const Ve=e.oxw(2);e.Q6J("id",Ve._hintLabelId),e.xp6(1),e.Oqu(Ve.hintLabel)}}function ot(De,at){if(1&De&&(e.TgZ(0,"div",27),e.YNc(1,Be,2,2,"div",28),e.Hsn(2,6),e._UZ(3,"div",29),e.Hsn(4,7),e.qZA()),2&De){const Ve=e.oxw();e.Q6J("@transitionMessages",Ve._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",Ve.hintLabel)}}const nt=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],xt=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let At=0;const Qt=new e.OlP("MatError");let Vt=(()=>{class De{constructor(Ve,ge){this.id="mat-error-"+At++,Ve||ge.nativeElement.setAttribute("aria-live","polite")}}return De.\u0275fac=function(Ve){return new(Ve||De)(e.$8M("aria-live"),e.Y36(e.SBq))},De.\u0275dir=e.lG2({type:De,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Ve,ge){2&Ve&&e.uIk("id",ge.id)},inputs:{id:"id"},features:[e._Bn([{provide:Qt,useExisting:De}])]}),De})();const dt={transitionMessages:(0,w.X$)("transitionMessages",[(0,w.SB)("enter",(0,w.oB)({opacity:1,transform:"translateY(0%)"})),(0,w.eR)("void => enter",[(0,w.oB)({opacity:0,transform:"translateY(-5px)"}),(0,w.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Mt=(()=>{class De{}return De.\u0275fac=function(Ve){return new(Ve||De)},De.\u0275dir=e.lG2({type:De}),De})(),re=0;const ft=new e.OlP("MatHint");let Ot=(()=>{class De{constructor(){this.align="start",this.id="mat-hint-"+re++}}return De.\u0275fac=function(Ve){return new(Ve||De)},De.\u0275dir=e.lG2({type:De,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Ve,ge){2&Ve&&(e.uIk("id",ge.id)("align",null),e.ekj("mat-form-field-hint-end","end"===ge.align))},inputs:{align:"align",id:"id"},features:[e._Bn([{provide:ft,useExisting:De}])]}),De})(),Et=(()=>{class De{}return De.\u0275fac=function(Ve){return new(Ve||De)},De.\u0275dir=e.lG2({type:De,selectors:[["mat-label"]]}),De})(),Lt=(()=>{class De{}return De.\u0275fac=function(Ve){return new(Ve||De)},De.\u0275dir=e.lG2({type:De,selectors:[["mat-placeholder"]]}),De})();const It=new e.OlP("MatPrefix"),wt=new e.OlP("MatSuffix");let le=(()=>{class De{}return De.\u0275fac=function(Ve){return new(Ve||De)},De.\u0275dir=e.lG2({type:De,selectors:[["","matSuffix",""]],features:[e._Bn([{provide:wt,useExisting:De}])]}),De})(),Ne=0;const Dn=(0,l.pj)(class{constructor(De){this._elementRef=De}},"primary"),Mn=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),rn=new e.OlP("MatFormField");let Ue=(()=>{class De extends Dn{constructor(Ve,ge,et,_t,jt,Xt,Cn){super(Ve),this._changeDetectorRef=ge,this._dir=et,this._defaults=_t,this._platform=jt,this._ngZone=Xt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new A.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ne++,this._labelId="mat-form-field-label-"+Ne++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==Cn,this.appearance=_t&&_t.appearance?_t.appearance:"legacy",this._hideRequiredMarker=!(!_t||null==_t.hideRequiredMarker)&&_t.hideRequiredMarker}get appearance(){return this._appearance}set appearance(Ve){const ge=this._appearance;this._appearance=Ve||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&ge!==Ve&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ve){this._hideRequiredMarker=(0,d.Ig)(Ve)}
1_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(Ve){this._hintLabel=Ve,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(Ve){Ve!==this._floatLabel&&(this._floatLabel=Ve||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(Ve){this._explicitFormFieldControl=Ve}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const Ve=this._control;Ve.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${Ve.controlType}`),Ve.stateChanges.pipe((0,S.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ve.ngControl&&Ve.ngControl.valueChanges&&Ve.ngControl.valueChanges.pipe((0,R.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,R.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,C.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,S.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,S.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,R.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(Ve){const ge=this._control?this._control.ngControl:null;return ge&&ge[Ve]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,T.R)(this._label.nativeElement,"transitionend").pipe((0,q.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let Ve=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ve.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ge=this._hintChildren?this._hintChildren.find(_t=>"start"===_t.align):null,et=this._hintChildren?this._hintChildren.find(_t=>"end"===_t.align):null;ge?Ve.push(ge.id):this._hintLabel&&Ve.push(this._hintLabelId),et&&Ve.push(et.id)}else this._errorChildren&&Ve.push(...this._errorChildren.map(ge=>ge.id));this._control.setDescribedByIds(Ve)}}_validateControlChild(){}updateOutlineGap(){const Ve=this._label?this._label.nativeElement:null,ge=this._connectionContainerRef.nativeElement,et=".mat-form-field-outline-start",_t=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Ve||!Ve.children.length||!Ve.textContent.trim()){const Kn=ge.querySelectorAll(`${et}, ${_t}`);for(let Bn=0;Bn<Kn.length;Bn++)Kn[Bn].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let jt=0,Xt=0;const Cn=ge.querySelectorAll(et),Hn=ge.querySelectorAll(_t);if(this._label&&this._label.nativeElement.children.length){const Kn=ge.getBoundingClientRect();if(0===Kn.width&&0===Kn.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const Bn=this._getStartEnd(Kn),di=Ve.children,ui=this._getStartEnd(di[0].getBoundingClientRect());let Di=0;for(let In=0;In<di.length;In++)Di+=di[In].offsetWidth;jt=Math.abs(ui-Bn)-5,Xt=Di>0?.75*Di+10:0}for(let Kn=0;Kn<Cn.length;Kn++)Cn[Kn].style.width=`${jt}px`;for(let Kn=0;Kn<Hn.length;Kn++)Hn[Kn].style.width=`${Xt}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(Ve){return this._dir&&"rtl"===this._dir.value?Ve.right:Ve.left}_isAttachedToDOM(){const Ve=this._elementRef.nativeElement;if(Ve.getRootNode){const ge=Ve.getRootNode();return ge&&ge!==Ve}return document.documentElement.contains(Ve)}}return De.\u0275fac=function(Ve){return new(Ve||De)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(h.Is,8),e.Y36(Mn,8),e.Y36(O.t4),e.Y36(e.R0b),e.Y36(k.Qb,8))},De.\u0275cmp=e.Xpm({type:De,selectors:[["mat-form-field"]],contentQueries:function(Ve,ge,et){if(1&Ve&&(e.Suo(et,Mt,5),e.Suo(et,Mt,7),e.Suo(et,Et,5),e.Suo(et,Et,7),e.Suo(et,Lt,5),e.Suo(et,Qt,5),e.Suo(et,ft,5),e.Suo(et,It,5),e.Suo(et,wt,5)),2&Ve){let _t;e.iGM(_t=e.CRH())&&(ge._controlNonStatic=_t.first),e.iGM(_t=e.CRH())&&(ge._controlStatic=_t.first),e.iGM(_t=e.CRH())&&(ge._labelChildNonStatic=_t.first),e.iGM(_t=e.CRH())&&(ge._labelChildStatic=_t.first),e.iGM(_t=e.CRH())&&(ge._placeholderChild=_t.first),e.iGM(_t=e.CRH())&&(ge._errorChildren=_t),e.iGM(_t=e.CRH())&&(ge._hintChildren=_t),e.iGM(_t=e.CRH())&&(ge._prefixChildren=_t),e.iGM(_t=e.CRH())&&(ge._suffixChildren=_t)}},viewQuery:function(Ve,ge){if(1&Ve&&(e.Gf(E,7),e.Gf(c,5),e.Gf(Z,5)),2&Ve){let et;
1e.iGM(et=e.CRH())&&(ge._connectionContainerRef=et.first),e.iGM(et=e.CRH())&&(ge._inputContainerRef=et.first),e.iGM(et=e.CRH())&&(ge._label=et.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(Ve,ge){2&Ve&&e.ekj("mat-form-field-appearance-standard","standard"==ge.appearance)("mat-form-field-appearance-fill","fill"==ge.appearance)("mat-form-field-appearance-outline","outline"==ge.appearance)("mat-form-field-appearance-legacy","legacy"==ge.appearance)("mat-form-field-invalid",ge._control.errorState)("mat-form-field-can-float",ge._canLabelFloat())("mat-form-field-should-float",ge._shouldLabelFloat())("mat-form-field-has-label",ge._hasFloatingLabel())("mat-form-field-hide-placeholder",ge._hideControlPlaceholder())("mat-form-field-disabled",ge._control.disabled)("mat-form-field-autofilled",ge._control.autofilled)("mat-focused",ge._control.focused)("ng-untouched",ge._shouldForward("untouched"))("ng-touched",ge._shouldForward("touched"))("ng-pristine",ge._shouldForward("pristine"))("ng-dirty",ge._shouldForward("dirty"))("ng-valid",ge._shouldForward("valid"))("ng-invalid",ge._shouldForward("invalid"))("ng-pending",ge._shouldForward("pending"))("_mat-animation-noopable",!ge._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:rn,useExisting:De}]),e.qOj],ngContentSelectors:xt,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(Ve,ge){1&Ve&&(e.F$t(nt),e.TgZ(0,"div",0)(1,"div",1,2),e.NdJ("click",function(_t){return ge._control.onContainerClick&&ge._control.onContainerClick(_t)}),e.YNc(3,v,9,0,"ng-container",3),e.YNc(4,ee,2,1,"div",4),e.TgZ(5,"div",5,6),e.Hsn(7),e.TgZ(8,"span",7),e.YNc(9,ne,5,16,"label",8),e.qZA()(),e.YNc(10,oe,2,0,"div",9),e.qZA(),e.YNc(11,he,2,4,"div",10),e.TgZ(12,"div",11),e.YNc(13,Se,2,1,"div",12),e.YNc(14,ot,5,2,"div",13),e.qZA()()),2&Ve&&(e.xp6(3),e.Q6J("ngIf","outline"==ge.appearance),e.xp6(1),e.Q6J("ngIf",ge._prefixChildren.length),e.xp6(5),e.Q6J("ngIf",ge._hasFloatingLabel()),e.xp6(1),e.Q6J("ngIf",ge._suffixChildren.length),e.xp6(1),e.Q6J("ngIf","outline"!=ge.appearance),e.xp6(1),e.Q6J("ngSwitch",ge._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},directives:[s.O5,i.wD,s.RF,s.n9],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;
1left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}
1.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[dt.transitionMessages]},changeDetection:0}),De})(),Je=(()=>{class De{}return De.\u0275fac=function(Ve){return new(Ve||De)},De.\u0275mod=e.oAB({type:De}),De.\u0275inj=e.cJS({imports:[[s.ez,l.BQ,i.Q8],l.BQ]}),De})()},5245:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Hw:()=>me,Ps:()=>We});var i=m(5e3),s=m(508),e=m(3191),l=m(60),d=m(9646),A=m(2843),C=m(4128),T=m(727),S=m(8505),R=m(4004),q=m(262),w=m(8746),k=m(3099),h=m(5698),O=m(520),E=m(2313);const c=["*"];let Z;function ee(re){var ft;return(null===(ft=function v(){if(void 0===Z&&(Z=null,"undefined"!=typeof window)){const re=window;void 0!==re.trustedTypes&&(Z=re.trustedTypes.createPolicy("angular#components",{createHTML:ft=>ft}))}return Z}())||void 0===ft?void 0:ft.createHTML(re))||re}function X(re){return Error(`Unable to find icon with the name "${re}"`)}function _e(re){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${re}".`)}function ne(re){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${re}".`)}class oe{constructor(ft,Ot,Et){this.url=ft,this.svgText=Ot,this.options=Et}}let he=(()=>{class re{constructor(Ot,Et,Lt,It){this._httpClient=Ot,this._sanitizer=Et,this._errorHandler=It,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClasse
1sByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=Lt}addSvgIcon(Ot,Et,Lt){return this.addSvgIconInNamespace("",Ot,Et,Lt)}addSvgIconLiteral(Ot,Et,Lt){return this.addSvgIconLiteralInNamespace("",Ot,Et,Lt)}addSvgIconInNamespace(Ot,Et,Lt,It){return this._addSvgIconConfig(Ot,Et,new oe(Lt,null,It))}addSvgIconResolver(Ot){return this._resolvers.push(Ot),this}addSvgIconLiteralInNamespace(Ot,Et,Lt,It){const it=this._sanitizer.sanitize(i.q3G.HTML,Lt);if(!it)throw ne(Lt);const wt=ee(it);return this._addSvgIconConfig(Ot,Et,new oe("",wt,It))}addSvgIconSet(Ot,Et){return this.addSvgIconSetInNamespace("",Ot,Et)}addSvgIconSetLiteral(Ot,Et){return this.addSvgIconSetLiteralInNamespace("",Ot,Et)}addSvgIconSetInNamespace(Ot,Et,Lt){return this._addSvgIconSetConfig(Ot,new oe(Et,null,Lt))}addSvgIconSetLiteralInNamespace(Ot,Et,Lt){const It=this._sanitizer.sanitize(i.q3G.HTML,Et);if(!It)throw ne(Et);const it=ee(It);return this._addSvgIconSetConfig(Ot,new oe("",it,Lt))}registerFontClassAlias(Ot,Et=Ot){return this._fontCssClassesByAlias.set(Ot,Et),this}classNameForFontAlias(Ot){return this._fontCssClassesByAlias.get(Ot)||Ot}setDefaultFontSetClass(Ot){return this._defaultFontSetClass=Ot,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ot){const Et=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,Ot);if(!Et)throw _e(Ot);const Lt=this._cachedIconsByUrl.get(Et);return Lt?(0,d.of)(ot(Lt)):this._loadSvgIconFromConfig(new oe(Ot,null)).pipe((0,S.b)(It=>this._cachedIconsByUrl.set(Et,It)),(0,R.U)(It=>ot(It)))}getNamedSvgIcon(Ot,Et=""){const Lt=nt(Et,Ot);let It=this._svgIconConfigs.get(Lt);if(It)return this._getSvgFromConfig(It);if(It=this._getIconConfigFromResolvers(Et,Ot),It)return this._svgIconConfigs.set(Lt,It),this._getSvgFromConfig(It);const it=this._iconSetConfigs.get(Et);return it?this._getSvgFromIconSetConfigs(Ot,it):(0,A._)(X(Lt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ot){return Ot.svgText?(0,d.of)(ot(this._svgElementFromConfig(Ot))):this._loadSvgIconFromConfig(Ot).pipe((0,R.U)(Et=>ot(Et)))}_getSvgFromIconSetConfigs(Ot,Et){const Lt=this._extractIconWithNameFromAnySet(Ot,Et);if(Lt)return(0,d.of)(Lt);const It=Et.filter(it=>!it.svgText).map(it=>this._loadSvgIconSetFromConfig(it).pipe((0,q.K)(wt=>{const Ne=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,it.url)} failed: ${wt.message}`;return this._errorHandler.handleError(new Error(Ne)),(0,d.of)(null)})));return(0,C.D)(It).pipe((0,R.U)(()=>{const it=this._extractIconWithNameFromAnySet(Ot,Et);if(!it)throw X(Ot);return it}))}_extractIconWithNameFromAnySet(Ot,Et){for(let Lt=Et.length-1;Lt>=0;Lt--){const It=Et[Lt];if(It.svgText&&It.svgText.toString().indexOf(Ot)>-1){const it=this._svgElementFromConfig(It),wt=this._extractSvgIconFromSet(it,Ot,It.options);if(wt)return wt}}return null}_loadSvgIconFromConfig(Ot){return this._fetchIcon(Ot).pipe((0,S.b)(Et=>Ot.svgText=Et),(0,R.U)(()=>this._svgElementFromConfig(Ot)))}_loadSvgIconSetFromConfig(Ot){return Ot.svgText?(0,d.of)(null):this._fetchIcon(Ot).pipe((0,S.b)(Et=>Ot.svgText=Et))}_extractSvgIconFromSet(Ot,Et,Lt){const It=Ot.querySelector(`[id="${Et}"]`);if(!It)return null;const it=It.cloneNode(!0);if(it.removeAttribute("id"),"svg"===it.nodeName.toLowerCase())return this._setSvgAttributes(it,Lt);if("symbol"===it.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(it),Lt);const wt=this._svgElementFromString(ee("<svg></svg>"));return wt.appendChild(it),this._setSvgAttributes(wt,Lt)}_svgElementFromString(Ot){const Et=this._document.createElement("DIV");Et.innerHTML=Ot;const Lt=Et.querySelector("svg");if(!Lt)throw Error("<svg> tag not found");return Lt}_toSvgElement(Ot){const Et=this._svgElementFromString(ee("<svg></svg>")),Lt=Ot.attributes;for(let It=0;It<Lt.length;It++){const{name:it,value:wt}=Lt[It];"id"!==it&&Et.setAttribute(it,wt)}for(let It=0;It<Ot.childNodes.length;It++)Ot.childNodes[It].nodeType===this._document.ELEMENT_NODE&&Et.appendChild(Ot.childNodes[It].cloneNode(!0));return Et}_setSvgAttributes(Ot,Et){return Ot.setAttribute("fit",""),Ot.setAttribute("height","100%"),Ot.setAttribute("width","100%"),Ot.setAttribute("preserveAspectRatio","xMidYMid meet"),Ot.setAttribute("focusable","false"),Et&&Et.viewBox&&Ot.setAttribute("viewBox",Et.viewBox),Ot}_fetchIcon(Ot){var Et;const{url:Lt,options:It}=Ot,it=null!==(Et=null==It?void 0:It.withCredentials)&&void 0!==Et&&Et;if(!this._httpClient)throw function te(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==Lt)throw Error(`Cannot fetch icon from URL "${Lt}".`);const wt=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,Lt);if(!wt)throw _e(Lt);const le=this._inProgressUrlFetches.get(wt);if(le)return le;const Ne=this._httpClient.get(wt,{responseType:"text",withCredentials:it}).pipe((0,R.U)(Ut=>ee(Ut)),(0,w.x)(()=>this._inProgressUrlFetches.delete(wt)),(0,k.B)());return this._inProgressUrlFetches.set(wt,Ne),Ne}_addSvgIconConfig(Ot,Et,Lt){return this._svgIconConfigs.set(nt(Ot,Et),Lt),this}_addSvgIconSetConfig(Ot,Et){const Lt=this._iconSetConfigs.get(Ot);return Lt?Lt.push(Et):this._iconSetConfigs.set(Ot,[Et]),this}_svgElementFromConfig(Ot){if(!Ot.svgElement){const Et=this._svgElementFromString(Ot.svgText);this._setSvgAttributes(Et,Ot.options),Ot.svgElement=Et}return Ot.svgElement}_getIconConfigFromResolvers(Ot,Et){for(let Lt=0;Lt<this._resolvers.length;Lt++){const It=this._resolvers[Lt](Et,Ot);if(It)return xt(It)?new oe(It.url,null,It.options):new oe(It,null)}}}return re.\u0275fac=function(Ot){return new(Ot||re)(i.LFG(O.eN,8),i.LFG(E.H7),i.LFG(l.K0,8),i.LFG(i.qLn))},re.\u0275prov=i.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function ot(re){return re.cloneNode(!0)}function nt(re,ft){return re+":"+ft}function xt(re){return!(!re.url||!re.options)}const At=(0,s.pj)(class{constructor(re){this._elementRef=re}}
1),Qt=new i.OlP("mat-icon-location",{providedIn:"root",factory:function Vt(){const re=(0,i.f3M)(l.K0),ft=re?re.location:null;return{getPathname:()=>ft?ft.pathname+ft.search:""}}}),dt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Mt=dt.map(re=>`[${re}]`).join(", "),we=/^url\(['"]?#(.*?)['"]?\)$/;let me=(()=>{class re extends At{constructor(Ot,Et,Lt,It,it){super(Ot),this._iconRegistry=Et,this._location=It,this._errorHandler=it,this._inline=!1,this._currentIconFetch=T.w0.EMPTY,Lt||Ot.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ot){this._inline=(0,e.Ig)(Ot)}get svgIcon(){return this._svgIcon}set svgIcon(Ot){Ot!==this._svgIcon&&(Ot?this._updateSvgIcon(Ot):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ot)}get fontSet(){return this._fontSet}set fontSet(Ot){const Et=this._cleanupFontValue(Ot);Et!==this._fontSet&&(this._fontSet=Et,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ot){const Et=this._cleanupFontValue(Ot);Et!==this._fontIcon&&(this._fontIcon=Et,this._updateFontIconClasses())}_splitIconName(Ot){if(!Ot)return["",""];const Et=Ot.split(":");switch(Et.length){case 1:return["",Et[0]];case 2:return Et;default:throw Error(`Invalid icon name: "${Ot}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ot=this._elementsWithExternalReferences;if(Ot&&Ot.size){const Et=this._location.getPathname();Et!==this._previousPath&&(this._previousPath=Et,this._prependPathToReferences(Et))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ot){this._clearSvgElement();const Et=this._location.getPathname();this._previousPath=Et,this._cacheChildrenWithExternalReferences(Ot),this._prependPathToReferences(Et),this._elementRef.nativeElement.appendChild(Ot)}_clearSvgElement(){const Ot=this._elementRef.nativeElement;let Et=Ot.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Et--;){const Lt=Ot.childNodes[Et];(1!==Lt.nodeType||"svg"===Lt.nodeName.toLowerCase())&&Lt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ot=this._elementRef.nativeElement,Et=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();Et!=this._previousFontSetClass&&(this._previousFontSetClass&&Ot.classList.remove(this._previousFontSetClass),Et&&Ot.classList.add(Et),this._previousFontSetClass=Et),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&Ot.classList.remove(this._previousFontIconClass),this.fontIcon&&Ot.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ot){return"string"==typeof Ot?Ot.trim().split(" ")[0]:Ot}_prependPathToReferences(Ot){const Et=this._elementsWithExternalReferences;Et&&Et.forEach((Lt,It)=>{Lt.forEach(it=>{It.setAttribute(it.name,`url('${Ot}#${it.value}')`)})})}_cacheChildrenWithExternalReferences(Ot){const Et=Ot.querySelectorAll(Mt),Lt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let It=0;It<Et.length;It++)dt.forEach(it=>{const wt=Et[It],le=wt.getAttribute(it),Ne=le?le.match(we):null;if(Ne){let Ut=Lt.get(wt);Ut||(Ut=[],Lt.set(wt,Ut)),Ut.push({name:it,value:Ne[1]})}})}_updateSvgIcon(Ot){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ot){const[Et,Lt]=this._splitIconName(Ot);Et&&(this._svgNamespace=Et),Lt&&(this._svgName=Lt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Lt,Et).pipe((0,h.q)(1)).subscribe(It=>this._setSvgElement(It),It=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Et}:${Lt}! ${It.message}`))})}}}return re.\u0275fac=function(Ot){return new(Ot||re)(i.Y36(i.SBq),i.Y36(he),i.$8M("aria-hidden"),i.Y36(Qt),i.Y36(i.qLn))},re.\u0275cmp=i.Xpm({type:re,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ot,Et){2&Ot&&(i.uIk("data-mat-icon-type",Et._usingFontIcon()?"font":"svg")("data-mat-icon-name",Et._svgName||Et.fontIcon)("data-mat-icon-namespace",Et._svgNamespace||Et.fontSet),i.ekj("mat-icon-inline",Et.inline)("mat-icon-no-color","primary"!==Et.color&&"accent"!==Et.color&&"warn"!==Et.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:c,decls:1,vars:0,template:function(Ot,Et){1&Ot&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),re})(),We=(()=>{class re{}return re.\u0275fac=function(Ot){return new(Ot||re)},re.\u0275mod=i.oAB({type:re}
1),re.\u0275inj=i.cJS({imports:[[s.BQ],s.BQ]}),re})()},8833:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Jk:()=>R,Nt:()=>h,c:()=>O});var i=m(3191),s=m(925),e=m(5e3),l=m(3075),d=m(508),A=m(7322),C=m(7579),T=m(4533);const R=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),q=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let w=0;const k=(0,d.FD)(class{constructor(E,c,Z,v){this._defaultErrorStateMatcher=E,this._parentForm=c,this._parentFormGroup=Z,this.ngControl=v}});let h=(()=>{class E extends k{constructor(Z,v,ee,X,te,_e,ne,oe,he,Se){super(_e,X,te,ee),this._elementRef=Z,this._platform=v,this._autofillMonitor=oe,this._formField=Se,this._uid="mat-input-"+w++,this.focused=!1,this.stateChanges=new C.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(nt=>(0,s.qK)().has(nt)),this._iOSKeyupListener=nt=>{const xt=nt.target;!xt.value&&0===xt.selectionStart&&0===xt.selectionEnd&&(xt.setSelectionRange(1,1),xt.setSelectionRange(0,0))};const Be=this._elementRef.nativeElement,ot=Be.nodeName.toLowerCase();this._inputValueAccessor=ne||Be,this._previousNativeValue=this.value,this.id=this.id,v.IOS&&he.runOutsideAngular(()=>{Z.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ot,this._isTextarea="textarea"===ot,this._isInFormField=!!Se,this._isNativeSelect&&(this.controlType=Be.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Z){this._disabled=(0,i.Ig)(Z),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(Z){this._id=Z||this._uid}get required(){var Z,v,ee,X;return null!==(X=null!==(Z=this._required)&&void 0!==Z?Z:null===(ee=null===(v=this.ngControl)||void 0===v?void 0:v.control)||void 0===ee?void 0:ee.hasValidator(l.kI.required))&&void 0!==X&&X}set required(Z){this._required=(0,i.Ig)(Z)}get type(){return this._type}set type(Z){this._type=Z||"text",this._validateType(),!this._isTextarea&&(0,s.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(Z){Z!==this.value&&(this._inputValueAccessor.value=Z,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Z){this._readonly=(0,i.Ig)(Z)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Z=>{this.autofilled=Z.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Z){this._elementRef.nativeElement.focus(Z)}_focusChanged(Z){Z!==this.focused&&(this.focused=Z,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var Z,v;const ee=(null===(v=null===(Z=this._formField)||void 0===Z?void 0:Z._hideControlPlaceholder)||void 0===v?void 0:v.call(Z))?null:this.placeholder;if(ee!==this._previousPlaceholder){const X=this._elementRef.nativeElement;this._previousPlaceholder=ee,ee?X.setAttribute("placeholder",ee):X.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const Z=this._elementRef.nativeElement.value;this._previousNativeValue!==Z&&(this._previousNativeValue=Z,this.stateChanges.next())}_validateType(){q.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Z=this._elementRef.nativeElement.validity;return Z&&Z.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Z=this._elementRef.nativeElement,v=Z.options[0];return this.focused||Z.multiple||!this.empty||!!(Z.selectedIndex>-1&&v&&v.label)}return this.focused||!this.empty}setDescribedByIds(Z){Z.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Z.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Z=this._elementRef.nativeElement;return this._isNativeSelect&&(Z.multiple||Z.size>1)}}return E.\u0275fac=function(Z){return new(Z||E)(e.Y36(e.SBq),e.Y36(s.t4),e.Y36(l.a5,10),e.Y36(l.F,8),e.Y36(l.sg,8),e.Y36(d.rD),e.Y36(R,10),e.Y36(T.Lq),e.Y36(e.R0b),e.Y36(A.G_,8))},E.\u0275dir=e.lG2({type:E,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(Z,v){1&Z&&e.NdJ("focus",function(){return v._focusChanged(!0)})("blur",function(){return v._focusChanged(!1)})("input",function(){return v._onInput()}),2&Z&&(e.Ikx("disabled",v.disabled)("required",v.required),e.uIk("id",v.id)("data-placeholder",v.placeholder)("name",v.name||null)("readonly",v.readonly&&!v._isNativeSelect||null)("aria-invalid",v.empty&&v.required?null:v.errorState)("aria-required",v.required),e.ekj("mat-input-server",v._isServer)("mat-native-select-inline",v._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[e._Bn([{provide:A.Eo,useExisting:E}]),e.qOj,e.TTD]}),E})(),O=(()=>{class E{}return E.\u0275fac=function(Z){return new(Z||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({providers:[d.rD],imports:[[T.Ky,A.lN,d.BQ],T.Ky,A.lN]}),E})()},4623:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Hk:()=>oe,Tg:()=>nt,i$:()=>he,ie:()=>we});var i=m(60),s=m(5e3),e=m(508),l=m(3191),d=m(7579),A=m(2722),w=(m(8675),m(5664),m(449),m(1159),m(3075),m(4834));const k=["*"],O=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],E=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],X=(0,e.Id)((0,e.Kr)(class{})),te=(0,e.Kr)(class{}),_e=new s.OlP("MatList"),ne=new s.OlP("MatNavList");let oe=(()=>{class me extends X{constructor(){super(...arguments),this._stateChanges=new d.x}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return me.\u0275fac=function(){let We;return function(ft){return(We||(We=s.n5z(me)))(ft||me)}}(),me.\u0275cmp=s.Xpm({type:me,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[s._Bn([{provide:ne,useExisting:me}]),s.qOj,s.TTD],ngContentSelectors:k,decls:1,vars:0,template:function(re,ft){1&re&&(s.F$t(),s.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{dis
1play:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{dis
1play:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),me})(),he=(()=>{class me extends X{constructor(re){super(),this._elementRef=re,this._stateChanges=new d.x,"action-list"===this._getListType()&&re.nativeElement.classList.add("mat-action-list")}_getListType(){const re=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===re?"list":"mat-action-list"===re?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return me.\u0275fac=function(re){return new(re||me)(s.Y36(s.SBq))},me.\u0275cmp=s.Xpm({type:me,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[s._Bn([{provide:_e,useExisting:me}]),s.qOj,s.TTD],ngContentSelectors:k,decls:1,vars:0,template:function(re,ft){1&re&&(s.F$t(),s.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{dis
1play:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{dis
1play:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),me})(),Se=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275dir=s.lG2({type:me,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),me})(),Be=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275dir=s.lG2({type:me,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),me})(),nt=(()=>{class me extends te{constructor(re,ft,Ot,Et){super(),this._element=re,this._isInteractiveList=!1,this._destroyed=new d.x,this._disabled=!1,this._isInteractiveList=!!(Ot||Et&&"action-list"===Et._getListType()),this._list=Ot||Et;const Lt=this._getHostElement();"button"===Lt.nodeName.toLowerCase()&&!Lt.hasAttribute("type")&&Lt.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,A.R)(this._destroyed)).subscribe(()=>{ft.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(re){this._disabled=(0,l.Ig)(re)}ngAfterContentInit(){(0,e.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return me.\u0275fac=function(re){return new(re||me)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(ne,8),s.Y36(_e,8))},me.\u0275cmp=s.Xpm({type:me,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(re,ft,Ot){if(1&re&&(s.Suo(Ot,Se,5),s.Suo(Ot,Be,5),s.Suo(Ot,e.X2,5)),2&re){let Et;s.iGM(Et=s.CRH())&&(ft._avatar=Et.first),s.iGM(Et=s.CRH())&&(ft._icon=Et.first),s.iGM(Et=s.CRH())&&(ft._lines=Et)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(re,ft){2&re&&s.ekj("mat-list-item-disabled",ft.disabled)("mat-list-item-avatar",ft._avatar||ft._icon)("mat-list-item-with-avatar",ft._avatar||ft._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[s.qOj],ngContentSelectors:E,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(re,ft){1&re&&(s.F$t(O),s.TgZ(0,"span",0),s._UZ(1,"span",1),s.Hsn(2),s.TgZ(3,"span",2),s.Hsn(4,1),s.qZA(),s.Hsn(5,2),s.qZA()),2&re&&(s.xp6(1),s.Q6J("matRippleTrigger",ft._getHostElement())("matRippleDisabled",ft._isRippleDisabled()))},directives:[e.wG],encapsulation:2,changeDetection:0}),me})(),we=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275mod=s.oAB({type:me}),me.\u0275inj=s.cJS({imports:[[e.uc,e.si,e.BQ,e.us,i.ez],e.uc,e.BQ,e.us,w.t]}),me})()},6087:(Yt,Ze,m)=>{"use strict";m.d(Ze,{NW:()=>ne,TU:()=>oe,ye:()=>E});var i=m(60),s=m(5e3),e=m(508),l=m(7423),d=m(4107),A=m(7238),C=m(3191),T=m(7579),S=m(7322);function R(he,Se){if(1&he&&(s.TgZ(0,"mat-option",19),s._uU(1),s.qZA()),2&he){const Be=Se.$implicit;s.Q6J("value",Be),s.xp6(1),s.hij(" ",Be," ")}}function q(he,Se){if(1&he){const Be=s.EpF();s.TgZ(0,"mat-form-field",16)(1,"mat-select",17),s.NdJ("selectionChange",function(nt){return s.CHM(Be),s.oxw(2)._changePageSize(nt.value)}),s.YNc(2,R,2,2,"mat-option",18),s.qZA()()}if(2&he){const Be=s.oxw(2);s.Q6J("appearance",Be._formFieldAppearance)("color",Be.color),s.xp6(1),s.Q6J("value",Be.pageSize)("disabled",Be.disabled)("aria-label",Be._intl.itemsPerPageLabel),s.xp6(1),s.Q6J("ngForOf",Be._displayedPageSizeOptions)}}function w(he,Se){if(1&he&&(s.TgZ(0,"div",20),s._uU(1),s.qZA()),2&he){const Be=s.oxw(2);s.xp6(1),s.Oqu(Be.pageSize)}}function k(he,Se){if(1&he&&(s.TgZ(0,"div",12)(1,"div",13),s._uU(2),s.qZA(),s.YNc(3,q,3,6,"mat-form-field",14),s.YNc(4,w,2,1,"div",15),s.qZA()),2&he){const Be=s.oxw();s.xp6(2),s.hij(" ",Be._intl.itemsPerPageLabel," "),s.xp6(1),s.Q6J("ngIf",Be._displayedPageSizeOptions.length>1),s.xp6(1),s.Q6J("ngIf",Be._displayedPageSizeOptions.length<=1)}}function h(he,Se){if(1&he){const Be=s.EpF();
1s.TgZ(0,"button",21),s.NdJ("click",function(){return s.CHM(Be),s.oxw().firstPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",22),s.qZA()()}if(2&he){const Be=s.oxw();s.Q6J("matTooltip",Be._intl.firstPageLabel)("matTooltipDisabled",Be._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Be._previousButtonsDisabled()),s.uIk("aria-label",Be._intl.firstPageLabel)}}function O(he,Se){if(1&he){const Be=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(Be),s.oxw().lastPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",24),s.qZA()()}if(2&he){const Be=s.oxw();s.Q6J("matTooltip",Be._intl.lastPageLabel)("matTooltipDisabled",Be._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Be._nextButtonsDisabled()),s.uIk("aria-label",Be._intl.lastPageLabel)}}let E=(()=>{class he{constructor(){this.changes=new T.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Be,ot,nt)=>{if(0==nt||0==ot)return`0 of ${nt}`;const xt=Be*ot;return`${xt+1} \u2013 ${xt<(nt=Math.max(nt,0))?Math.min(xt+ot,nt):xt+ot} of ${nt}`}}}return he.\u0275fac=function(Be){return new(Be||he)},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();const Z={provide:E,deps:[[new s.FiY,new s.tp0,E]],useFactory:function c(he){return he||new E}},X=new s.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),te=(0,e.Id)((0,e.dB)(class{}));let _e=(()=>{class he extends te{constructor(Be,ot,nt){if(super(),this._intl=Be,this._changeDetectorRef=ot,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new s.vpe,this._intlChanges=Be.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),nt){const{pageSize:xt,pageSizeOptions:At,hidePageSize:Qt,showFirstLastButtons:Vt}=nt;null!=xt&&(this._pageSize=xt),null!=At&&(this._pageSizeOptions=At),null!=Qt&&(this._hidePageSize=Qt),null!=Vt&&(this._showFirstLastButtons=Vt)}}get pageIndex(){return this._pageIndex}set pageIndex(Be){this._pageIndex=Math.max((0,C.su)(Be),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Be){this._length=(0,C.su)(Be),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Be){this._pageSize=Math.max((0,C.su)(Be),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Be){this._pageSizeOptions=(Be||[]).map(ot=>(0,C.su)(ot)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Be){this._hidePageSize=(0,C.Ig)(Be)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Be){this._showFirstLastButtons=(0,C.Ig)(Be)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Be=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Be)}previousPage(){if(!this.hasPreviousPage())return;const Be=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Be)}firstPage(){if(!this.hasPreviousPage())return;const Be=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Be)}lastPage(){if(!this.hasNextPage())return;const Be=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Be)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Be=this.getNumberOfPages()-1;return this.pageIndex<Be&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(Be){const nt=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/Be)||0,this.pageSize=Be,this._emitPageEvent(nt)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((Be,ot)=>Be-ot),this._changeDetectorRef.markForCheck())}_emitPageEvent(Be){this.page.emit({previousPageIndex:Be,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return he.\u0275fac=function(Be){s.$Z()},he.\u0275dir=s.lG2({type:he,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[s.qOj]}),he})(),ne=(()=>
1{class he extends _e{constructor(Be,ot,nt){super(Be,ot,nt),nt&&null!=nt.formFieldAppearance&&(this._formFieldAppearance=nt.formFieldAppearance)}}return he.\u0275fac=function(Be){return new(Be||he)(s.Y36(E),s.Y36(s.sBO),s.Y36(X,8))},he.\u0275cmp=s.Xpm({type:he,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[s.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Be,ot){1&Be&&(s.TgZ(0,"div",0)(1,"div",1),s.YNc(2,k,5,3,"div",2),s.TgZ(3,"div",3)(4,"div",4),s._uU(5),s.qZA(),s.YNc(6,h,3,5,"button",5),s.TgZ(7,"button",6),s.NdJ("click",function(){return ot.previousPage()}),s.O4$(),s.TgZ(8,"svg",7),s._UZ(9,"path",8),s.qZA()(),s.kcU(),s.TgZ(10,"button",9),s.NdJ("click",function(){return ot.nextPage()}),s.O4$(),s.TgZ(11,"svg",7),s._UZ(12,"path",10),s.qZA()(),s.YNc(13,O,3,5,"button",11),s.qZA()()()),2&Be&&(s.xp6(2),s.Q6J("ngIf",!ot.hidePageSize),s.xp6(3),s.hij(" ",ot._intl.getRangeLabel(ot.pageIndex,ot.pageSize,ot.length)," "),s.xp6(1),s.Q6J("ngIf",ot.showFirstLastButtons),s.xp6(1),s.Q6J("matTooltip",ot._intl.previousPageLabel)("matTooltipDisabled",ot._previousButtonsDisabled())("matTooltipPosition","above")("disabled",ot._previousButtonsDisabled()),s.uIk("aria-label",ot._intl.previousPageLabel),s.xp6(3),s.Q6J("matTooltip",ot._intl.nextPageLabel)("matTooltipDisabled",ot._nextButtonsDisabled())("matTooltipPosition","above")("disabled",ot._nextButtonsDisabled()),s.uIk("aria-label",ot._intl.nextPageLabel),s.xp6(3),s.Q6J("ngIf",ot.showFirstLastButtons))},directives:[S.KE,d.gD,e.ey,l.lW,i.O5,i.sg,A.gM],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),he})(),oe=(()=>{class he{}return he.\u0275fac=function(Be){return new(Be||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[Z],imports:[[i.ez,l.ot,d.LD,A.AV,e.BQ]]}),he})()},5899:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Cv:()=>c,pW:()=>O});var i=m(5e3),s=m(60),e=m(508),l=m(3191),d=m(6360),A=m(727),C=m(4968),T=m(9300);const S=["primaryValueBar"],R=(0,e.pj)(class{constructor(Z){this._elementRef=Z}}
1,"primary"),q=new i.OlP("mat-progress-bar-location",{providedIn:"root",factory:function w(){const Z=(0,i.f3M)(s.K0),v=Z?Z.location:null;return{getPathname:()=>v?v.pathname+v.search:""}}}),k=new i.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let h=0,O=(()=>{class Z extends R{constructor(ee,X,te,_e,ne,oe){super(ee),this._ngZone=X,this._animationMode=te,this._changeDetectorRef=oe,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.vpe,this._animationEndSubscription=A.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+h++;const he=_e?_e.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${he}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===te,ne&&(ne.color&&(this.color=this.defaultColor=ne.color),this.mode=ne.mode||this.mode)}get value(){return this._value}set value(ee){var X;this._value=E((0,l.su)(ee)||0),null===(X=this._changeDetectorRef)||void 0===X||X.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(ee){var X;this._bufferValue=E(ee||0),null===(X=this._changeDetectorRef)||void 0===X||X.markForCheck()}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const ee=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,C.R)(ee,"transitionend").pipe((0,T.h)(X=>X.target===ee)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return Z.\u0275fac=function(ee){return new(ee||Z)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(d.Qb,8),i.Y36(q,8),i.Y36(k,8),i.Y36(i.sBO))},Z.\u0275cmp=i.Xpm({type:Z,selectors:[["mat-progress-bar"]],viewQuery:function(ee,X){if(1&ee&&i.Gf(S,5),2&ee){let te;i.iGM(te=i.CRH())&&(X._primaryValueBar=te.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(ee,X){2&ee&&(i.uIk("aria-valuenow","indeterminate"===X.mode||"query"===X.mode?null:X.value)("mode",X.mode),i.ekj("_mat-animation-noopable",X._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[i.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(ee,X){1&ee&&(i.TgZ(0,"div",0),i.O4$(),i.TgZ(1,"svg",1)(2,"defs")(3,"pattern",2),i._UZ(4,"circle",3),i.qZA()(),i._UZ(5,"rect",4),i.qZA(),i.kcU(),i._UZ(6,"div",5)(7,"div",6,7)(9,"div",8),i.qZA()),2&ee&&(i.xp6(3),i.Q6J("id",X.progressbarId),i.xp6(2),i.uIk("fill",X._rectangleFillValue),i.xp6(1),i.Q6J("ngStyle",X._bufferTransform()),i.xp6(1),i.Q6J("ngStyle",X._primaryTransform()))},directives:[s.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;
1transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}
1100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),Z})();function E(Z,v=0,ee=100){return Math.max(v,Math.min(ee,Z))}let c=(()=>{class Z{}return Z.\u0275fac=function(ee){return new(ee||Z)},Z.\u0275mod=i.oAB({type:Z}),Z.\u0275inj=i.cJS({imports:[[s.ez,e.BQ],e.BQ]}),Z})()},773:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Cq:()=>Z,Ou:()=>c});var i=m(3191),s=m(925),e=m(60),l=m(5e3),d=m(508),A=m(6360),C=m(727),T=m(2411);function S(ee,X){if(1&ee&&(l.O4$(),l._UZ(0,"circle",4)),2&ee){const te=l.oxw(),_e=l.MAs(1);l.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+te._spinnerAnimationLabel)("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(_e)),l.uIk("r",te._getCircleRadius())}}function R(ee,X){if(1&ee&&(l.O4$(),l._UZ(0,"circle",4)),2&ee){const te=l.oxw(),_e=l.MAs(1);l.Udp("stroke-dashoffset",te._getStrokeDashOffset(),"px")("stroke-dasharray",te._getStrokeCircumference(),"px")("stroke-width",te._getCircleStrokeWidth(),"%")("transform-origin",te._getCircleTransformOrigin(_e)),l.uIk("r",te._getCircleRadius())}}const k=(0,d.pj)(class{constructor(ee){this._elementRef=ee}},"primary"),h=new l.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function O(){return{diameter:100}}});class c extends k{constructor(X,te,_e,ne,oe,he,Se,Be){super(X),this._document=_e,this._diameter=100,this._value=0,this._resizeSubscription=C.w0.EMPTY,this.mode="determinate";const ot=c._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),ot.has(_e.head)||ot.set(_e.head,new Set([100])),this._noopAnimations="NoopAnimations"===ne&&!!oe&&!oe._forceAnimations,"mat-spinner"===X.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),oe&&(oe.diameter&&(this.diameter=oe.diameter),oe.strokeWidth&&(this.strokeWidth=oe.strokeWidth)),te.isBrowser&&te.SAFARI&&Se&&he&&Be&&(this._resizeSubscription=Se.change(150).subscribe(()=>{"indeterminate"===this.mode&&Be.run(()=>he.markForCheck())}))}get diameter(){return this._diameter}set diameter(X){this._diameter=(0,i.su)(X),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(X){this._strokeWidth=(0,i.su)(X)}get value(){return"determinate"===this.mode?this._value:0}set value(X){this._value=Math.max(0,Math.min(100,(0,i.su)(X)))}ngOnInit(){const X=this._elementRef.nativeElement;this._styleRoot=(0,s.kV)(X)||this._document.head,this._attachStyleNode(),X.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const X=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${X} ${X}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(X){var te;const _e=50*(null!==(te=X.currentScale)&&void 0!==te?te:1);return`${_e}% ${_e}%`}_attachStyleNode(){const X=this._styleRoot,te=this._diameter,_e=c._diameters;let ne=_e.get(X);if(!ne||!ne.has(te)){const oe=this._document.createElement("style");oe.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),oe.textContent=this._getAnimationText(),X.appendChild(oe),ne||(ne=new Set,_e.set(X,ne)),ne.add(te)}}_getAnimationText(){const X=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*X).replace(/END_VALUE/g,""+.2*X).replace(/DIAMET
1ER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}c._diameters=new WeakMap,c.\u0275fac=function(X){return new(X||c)(l.Y36(l.SBq),l.Y36(s.t4),l.Y36(e.K0,8),l.Y36(A.Qb,8),l.Y36(h),l.Y36(l.sBO),l.Y36(T.rL),l.Y36(l.R0b))},c.\u0275cmp=l.Xpm({type:c,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(X,te){2&X&&(l.uIk("aria-valuemin","determinate"===te.mode?0:null)("aria-valuemax","determinate"===te.mode?100:null)("aria-valuenow","determinate"===te.mode?te.value:null)("mode",te.mode),l.Udp("width",te.diameter,"px")("height",te.diameter,"px"),l.ekj("_mat-animation-noopable",te._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[l.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(X,te){1&X&&(l.O4$(),l.TgZ(0,"svg",0,1),l.YNc(2,S,1,11,"circle",2),l.YNc(3,R,1,9,"circle",3),l.qZA()),2&X&&(l.Udp("width",te.diameter,"px")("height",te.diameter,"px"),l.Q6J("ngSwitch","indeterminate"===te.mode),l.uIk("viewBox",te._getViewBox()),l.xp6(2),l.Q6J("ngSwitchCase",!0),l.xp6(1),l.Q6J("ngSwitchCase",!1))},directives:[e.RF,e.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let Z=(()=>{class ee{}return ee.\u0275fac=function(te){return new(te||ee)},ee.\u0275mod=l.oAB({type:ee}),ee.\u0275inj=l.cJS({imports:[[d.BQ,e.ez],d.BQ]}),ee})()},9814:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Fk:()=>_e,U0:()=>te,VQ:()=>Z});var i=m(5e3),s=m(508),e=m(3191),l=m(3075),d=m(6360),A=m(5664),C=m(449);const T=["input"],S=function(ne){return{enterDuration:ne}},R=["*"],q=new i.OlP("mat-radio-default-options",{providedIn:"root",factory:function w(){return{color:"accent"}}});let k=0;const h={provide:l.JU,useExisting:(0,i.Gpc)(()=>Z),multi:!0};class O{constructor(oe,he){this.source=oe,this.value=he}}const E=new i.OlP("MatRadioGroup");let c=(()=>{class ne{constructor(he){this._changeDetector=he,this._value=null,this._name="mat-radio-group-"+k++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.vpe}get name(){return this._name}set name(he){this._name=he,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(he){this._labelPosition="before"===he?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(he){this._value!==he&&(this._value=he,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(he){this._selected=he,this.value=he?he.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(he){this._disabled=(0,e.Ig)(he),this._markRadiosForCheck()}get required(){return this._required}set required(he){this._required=(0,e.Ig)(he),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(he=>{he.name=this.name,he._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(Se=>{Se.checked=this.value===Se.value,Se.checked&&(this._selected=Se)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new O(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(he=>he._markForCheck())}writeValue(he){this.value=he,this._changeDetector.markForCheck()}
1registerOnChange(he){this._controlValueAccessorChangeFn=he}registerOnTouched(he){this.onTouched=he}setDisabledState(he){this.disabled=he,this._changeDetector.markForCheck()}}return ne.\u0275fac=function(he){return new(he||ne)(i.Y36(i.sBO))},ne.\u0275dir=i.lG2({type:ne,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),ne})(),Z=(()=>{class ne extends c{}return ne.\u0275fac=function(){let oe;return function(Se){return(oe||(oe=i.n5z(ne)))(Se||ne)}}(),ne.\u0275dir=i.lG2({type:ne,selectors:[["mat-radio-group"]],contentQueries:function(he,Se,Be){if(1&he&&i.Suo(Be,te,5),2&he){let ot;i.iGM(ot=i.CRH())&&(Se._radios=ot)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i._Bn([h,{provide:E,useExisting:ne}]),i.qOj]}),ne})();class v{constructor(oe){this._elementRef=oe}}const ee=(0,s.Kr)((0,s.sb)(v));let X=(()=>{class ne extends ee{constructor(he,Se,Be,ot,nt,xt,At,Qt){super(Se),this._changeDetector=Be,this._focusMonitor=ot,this._radioDispatcher=nt,this._providerOverride=At,this._uniqueId="mat-radio-"+ ++k,this.id=this._uniqueId,this.change=new i.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=he,this._noopAnimations="NoopAnimations"===xt,Qt&&(this.tabIndex=(0,e.su)(Qt,0)),this._removeUniqueSelectionListener=nt.listen((Vt,dt)=>{Vt!==this.id&&dt===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(he){const Se=(0,e.Ig)(he);this._checked!==Se&&(this._checked=Se,Se&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Se&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Se&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(he){this._value!==he&&(this._value=he,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===he),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(he){this._labelPosition=he}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(he){this._setDisabled((0,e.Ig)(he))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(he){this._required=(0,e.Ig)(he)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(he){this._color=he}get inputId(){return`${this.id||this._uniqueId}-input`}focus(he,Se){Se?this._focusMonitor.focusVia(this._inputElement,Se,he):this._inputElement.nativeElement.focus(he)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(he=>{!he&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new O(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(he){he.stopPropagation()}_onInputInteraction(he){if(he.stopPropagation(),!this.checked&&!this.disabled){const Se=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Se&&this.radioGroup._emitChangeEvent())}}_setDisabled(he){this._disabled!==he&&(this._disabled=he,this._changeDetector.markForCheck())}_updateTabIndex(){var he;const Se=this.radioGroup;let Be;if(Be=Se&&Se.selected&&!this.disabled?Se.selected===this?this.tabIndex:-1:this.tabIndex,Be!==this._previousTabIndex){const ot=null===(he=this._inputElement)||void 0===he?void 0:he.nativeElement;ot&&(ot.setAttribute("tabindex",Be+""),this._previousTabIndex=Be)}}}return ne.\u0275fac=function(he){i.$Z()},ne.\u0275dir=i.lG2({type:ne,viewQuery:function(he,Se){if(1&he&&i.Gf(T,5),2&he){let Be;i.iGM(Be=i.CRH())&&(Se._inputElement=Be.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[i.qOj]}),ne})(),te=(()=>{class ne extends X{constructor(he,Se,Be,ot,nt,xt,At,Qt){super(he,Se,Be,ot,nt,xt,At,Qt)}}return ne.\u0275fac=function(he){return new(he||ne)(i.Y36(E,8),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(A.tE),i.Y36(C.A8),i.Y36(d.Qb,8),i.Y36(q,8),i.$8M("tabindex"))},ne.\u0275cmp=i.Xpm({type:ne,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(he,Se){1&he&&i.NdJ("focus",function(){return Se._inputElement.nativeElement.focus()}),2&he&&(i.uIk("tabindex",null)("id",Se.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.e
1kj("mat-radio-checked",Se.checked)("mat-radio-disabled",Se.disabled)("_mat-animation-noopable",Se._noopAnimations)("mat-primary","primary"===Se.color)("mat-accent","accent"===Se.color)("mat-warn","warn"===Se.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.qOj],ngContentSelectors:R,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(he,Se){if(1&he&&(i.F$t(),i.TgZ(0,"label",0,1)(2,"span",2),i._UZ(3,"span",3)(4,"span",4),i.TgZ(5,"input",5,6),i.NdJ("change",function(ot){return Se._onInputInteraction(ot)})("click",function(ot){return Se._onInputClick(ot)}),i.qZA(),i.TgZ(7,"span",7),i._UZ(8,"span",8),i.qZA()(),i.TgZ(9,"span",9)(10,"span",10),i._uU(11,"\xa0"),i.qZA(),i.Hsn(12),i.qZA()()),2&he){const Be=i.MAs(1);i.uIk("for",Se.inputId),i.xp6(5),i.Q6J("id",Se.inputId)("checked",Se.checked)("disabled",Se.disabled)("required",Se.required),i.uIk("name",Se.name)("value",Se.value)("aria-label",Se.ariaLabel)("aria-labelledby",Se.ariaLabelledby)("aria-describedby",Se.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",Be)("matRippleDisabled",Se._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(17,S,Se._noopAnimations?0:150)),i.xp6(2),i.ekj("mat-radio-label-before","before"==Se.labelPosition)}},directives:[s.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}
1@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),ne})(),_e=(()=>{class ne{}return ne.\u0275fac=function(he){return new(he||ne)},ne.\u0275mod=i.oAB({type:ne}),ne.\u0275inj=i.cJS({imports:[[s.si,s.BQ],s.BQ]}),ne})()},4107:(Yt,Ze,m)=>{"use strict";m.d(Ze,{LD:()=>rn,gD:()=>Mn,mG:()=>le});var i=m(1314),s=m(60),e=m(5e3),l=m(508),d=m(7322),A=m(2411),C=m(5664),T=m(3191),S=m(449),R=m(1159),q=m(3075),w=m(7579),k=m(9770),h=m(6451),O=m(8675),E=m(3900),c=m(5698),Z=m(9300),v=m(4004),ee=m(1884),X=m(2722),te=m(1777),_e=m(226);const ne=["trigger"],oe=["panel"];function he(Ue,Je){if(1&Ue&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&Ue){const De=e.oxw();e.xp6(1),e.Oqu(De.placeholder)}}function Se(Ue,Je){if(1&Ue&&(e.TgZ(0,"span",12),e._uU(1),e.qZA()),2&Ue){const De=e.oxw(2);e.xp6(1),e.Oqu(De.triggerValue)}}function Be(Ue,Je){1&Ue&&e.Hsn(0,0,["*ngSwitchCase","true"])}function ot(Ue,Je){if(1&Ue&&(e.TgZ(0,"span",9),e.YNc(1,Se,2,1,"span",10),e.YNc(2,Be,1,0,"ng-content",11),e.qZA()),2&Ue){const De=e.oxw();e.Q6J("ngSwitch",!!De.customTrigger),e.xp6(2),e.Q6J("ngSwitchCase",!0)}}function nt(Ue,Je){if(1&Ue){const De=e.EpF();e.TgZ(0,"div",13)(1,"div",14,15),e.NdJ("@transformPanel.done",function(Ve){return e.CHM(De),e.oxw()._panelDoneAnimatingStream.next(Ve.toState)})("keydown",function(Ve){return e.CHM(De),e.oxw()._handleKeydown(Ve)}),e.Hsn(3,1),e.qZA()()}if(2&Ue){const De=e.oxw();e.Q6J("@transformPanelWrap",void 0),e.xp6(1),e.Gre("mat-select-panel ",De._getPanelTheme(),""),e.Udp("transform-origin",De._transformOrigin)("font-size",De._triggerFontSize,"px"),e.Q6J("ngClass",De.panelClass)("@transformPanel",De.multiple?"showing-multiple":"showing"),e.uIk("id",De.id+"-panel")("aria-multiselectable",De.multiple)("aria-label",De.ariaLabel||null)("aria-labelledby",De._getPanelAriaLabelledby())}}const xt=[[["mat-select-trigger"]],"*"],At=["mat-select-trigger","*"],Qt={transformPanelWrap:(0,te.X$)("transformPanelWrap",[(0,te.eR)("* => void",(0,te.IO)("@transformPanel",[(0,te.pV)()],{optional:!0}))]),transformPanel:(0,te.X$)("transformPanel",[(0,te.SB)("void",(0,te.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0}
1)),(0,te.SB)("showing",(0,te.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,te.SB)("showing-multiple",(0,te.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,te.eR)("void => *",(0,te.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,te.eR)("* => void",(0,te.jt)("100ms 25ms linear",(0,te.oB)({opacity:0})))])};let we=0;const Lt=new e.OlP("mat-select-scroll-strategy"),it=new e.OlP("MAT_SELECT_CONFIG"),wt={provide:Lt,deps:[i.aV],useFactory:function It(Ue){return()=>Ue.scrollStrategies.reposition()}};class le{constructor(Je,De){this.source=Je,this.value=De}}const Ne=(0,l.Kr)((0,l.sb)((0,l.Id)((0,l.FD)(class{constructor(Ue,Je,De,at,Ve){this._elementRef=Ue,this._defaultErrorStateMatcher=Je,this._parentForm=De,this._parentFormGroup=at,this.ngControl=Ve}})))),Ut=new e.OlP("MatSelectTrigger");let Dn=(()=>{class Ue extends Ne{constructor(De,at,Ve,ge,et,_t,jt,Xt,Cn,Hn,Kn,Bn,di,ui){var Di,In,Fn;super(et,ge,jt,Xt,Hn),this._viewportRuler=De,this._changeDetectorRef=at,this._ngZone=Ve,this._dir=_t,this._parentFormField=Cn,this._liveAnnouncer=di,this._defaultOptions=ui,this._panelOpen=!1,this._compareWith=(ei,Vi)=>ei===Vi,this._uid="mat-select-"+we++,this._triggerAriaLabelledBy=null,this._destroy=new w.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+we++,this._panelDoneAnimatingStream=new w.x,this._overlayPanelClass=(null===(Di=this._defaultOptions)||void 0===Di?void 0:Di.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Fn=null===(In=this._defaultOptions)||void 0===In?void 0:In.disableOptionCentering)&&void 0!==Fn&&Fn,this.ariaLabel="",this.optionSelectionChanges=(0,k.P)(()=>{const ei=this.options;return ei?ei.changes.pipe((0,O.O)(ei),(0,E.w)(()=>(0,h.T)(...ei.map(Vi=>Vi.onSelectionChange)))):this._ngZone.onStable.pipe((0,c.q)(1),(0,E.w)(()=>this.optionSelectionChanges))}),this.openedChange=new e.vpe,this._openedStream=this.openedChange.pipe((0,Z.h)(ei=>ei),(0,v.U)(()=>{}
1)),this._closedStream=this.openedChange.pipe((0,Z.h)(ei=>!ei),(0,v.U)(()=>{})),this.selectionChange=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==ui?void 0:ui.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=ui.typeaheadDebounceInterval),this._scrollStrategyFactory=Bn,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Kn)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(De){this._placeholder=De,this.stateChanges.next()}get required(){var De,at,Ve,ge;return null!==(ge=null!==(De=this._required)&&void 0!==De?De:null===(Ve=null===(at=this.ngControl)||void 0===at?void 0:at.control)||void 0===Ve?void 0:Ve.hasValidator(q.kI.required))&&void 0!==ge&&ge}set required(De){this._required=(0,T.Ig)(De),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(De){this._multiple=(0,T.Ig)(De)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(De){this._disableOptionCentering=(0,T.Ig)(De)}get compareWith(){return this._compareWith}set compareWith(De){this._compareWith=De,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(De){this._assignValue(De)&&this._onChange(De)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(De){this._typeaheadDebounceInterval=(0,T.su)(De)}get id(){return this._id}set id(De){this._id=De||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new S.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ee.x)(),(0,X.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,X.R)(this._destroy)).subscribe(De=>{De.added.forEach(at=>at.select()),De.removed.forEach(at=>at.deselect())}),this.options.changes.pipe((0,O.O)(null),(0,X.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const De=this._getTriggerAriaLabelledby(),at=this.ngControl;if(De!==this._triggerAriaLabelledBy){const Ve=this._elementRef.nativeElement;this._triggerAriaLabelledBy=De,De?Ve.setAttribute("aria-labelledby",De):Ve.removeAttribute("aria-labelledby")}at&&(this._previousControl!==at.control&&(void 0!==this._previousControl&&null!==at.disabled&&at.disabled!==this.disabled&&(this.disabled=at.disabled),this._previousControl=at.control),this.updateErrorState())}ngOnChanges(De){De.disabled&&this.stateChanges.next(),De.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(De){this._assignValue(De)}registerOnChange(De){this._onChange=De}registerOnTouched(De){this._onTouched=De}setDisabledState(De){this.disabled=De,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var De,at;return this.multiple?(null===(De=this._selectionModel)||void 0===De?void 0:De.selected)||[]:null===(at=this._selectionModel)||void 0===at?void 0:at.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const De=this._selectionModel.selected.map(at=>at.viewValue);return this._isRtl()&&De.reverse(),De.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(De){this.disabled||(this.panelOpen?this._handleOpenKeydown(De):this._handleClosedKeydown(De))}_handleClosedKeydown(De){const at=De.keyCode,Ve=at===R.JH||at===R.LH||at===R.oh||at===R.SV,ge=at===R.K5||at===R.L_,et=this._keyManager;if(!et.isTyping()&&ge&&!(0,R.Vb)(De)||(this.multiple||De.altKey)&&Ve)De.preventDefault(),this.open();else if(!this.multiple){const _t=this.selected;et.onKeydown(De);const jt=this.selected;jt&&_t!==jt&&this._liveAnnouncer.announce(jt.viewValue,1e4)}}_handleOpenKeydown(De){const at=this._keyManager,Ve=De.keyCode,ge=Ve===R.JH||Ve===R.LH,et=at.isTyping();if(ge&&De.altKey)De.preventDefault(),this.close();else if(et||Ve!==R.K5&&Ve!==R.L_||!at.activeItem||(0,R.Vb)(De))if(!et&&this._multiple&&Ve===R.A&&De.ctrlKey){De.preventDefault();const _t=this.options.some(jt=>!jt.disabled&&!jt.selected);this.options.forEach(jt=>{jt.disabled||(_t?jt.select():jt.deselect())})}else{const _t=at.activeItemIndex;at.onKeydown(De),this._multiple&&ge&&De.shiftKey&&at.activeItem&&at.activeItemIndex!==_t&&at.activeItem._selectViaInteraction()}else De.preventDefault(),at.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,c.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}
1_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(De){if(this._selectionModel.selected.forEach(at=>at.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&De)Array.isArray(De),De.forEach(at=>this._selectOptionByValue(at)),this._sortValues();else{const at=this._selectOptionByValue(De);at?this._keyManager.updateActiveItem(at):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(De){const at=this.options.find(Ve=>{if(this._selectionModel.isSelected(Ve))return!1;try{return null!=Ve.value&&this._compareWith(Ve.value,De)}catch(ge){return!1}});return at&&this._selectionModel.select(at),at}_assignValue(De){return!!(De!==this._value||this._multiple&&Array.isArray(De))&&(this.options&&this._setSelectionByValue(De),this._value=De,!0)}_initKeyManager(){this._keyManager=new C.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,X.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,X.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const De=(0,h.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,X.R)(De)).subscribe(at=>{this._onSelect(at.source,at.isUserInput),at.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,h.T)(...this.options.map(at=>at._stateChanges)).pipe((0,X.R)(De)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(De,at){const Ve=this._selectionModel.isSelected(De);null!=De.value||this._multiple?(Ve!==De.selected&&(De.selected?this._selectionModel.select(De):this._selectionModel.deselect(De)),at&&this._keyManager.setActiveItem(De),this.multiple&&(this._sortValues(),at&&this.focus())):(De.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(De.value)),Ve!==this._selectionModel.isSelected(De)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const De=this.options.toArray();this._selectionModel.sort((at,Ve)=>this.sortComparator?this.sortComparator(at,Ve,De):De.indexOf(at)-De.indexOf(Ve)),this.stateChanges.next()}}_propagateChanges(De){let at=null;at=this.multiple?this.selected.map(Ve=>Ve.value):this.selected?this.selected.value:De,this._value=at,this.valueChange.emit(at),this._onChange(at),this.selectionChange.emit(this._getChangeEvent(at)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var De;return!this._panelOpen&&!this.disabled&&(null===(De=this.options)||void 0===De?void 0:De.length)>0}focus(De){this._elementRef.nativeElement.focus(De)}_getPanelAriaLabelledby(){var De;if(this.ariaLabel)return null;const at=null===(De=this._parentFormField)||void 0===De?void 0:De.getLabelId();return this.ariaLabelledby?(at?at+" ":"")+this.ariaLabelledby:at}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var De;if(this.ariaLabel)return null;const at=null===(De=this._parentFormField)||void 0===De?void 0:De.getLabelId();let Ve=(at?at+" ":"")+this._valueId;return this.ariaLabelledby&&(Ve+=" "+this.ariaLabelledby),Ve}_panelDoneAnimating(De){this.openedChange.emit(De)}setDescribedByIds(De){this._ariaDescribedby=De.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ue.\u0275fac=function(De){return new(De||Ue)(e.Y36(A.rL),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(l.rD),e.Y36(e.SBq),e.Y36(_e.Is,8),e.Y36(q.F,8),e.Y36(q.sg,8),e.Y36(d.G_,8),e.Y36(q.a5,10),e.$8M("tabindex"),e.Y36(Lt),e.Y36(C.Kd),e.Y36(it,8))},Ue.\u0275dir=e.lG2({type:Ue,viewQuery:function(De,at){if(1&De&&(e.Gf(ne,5),e.Gf(oe,5),e.Gf(i.pI,5)),2&De){let Ve;e.iGM(Ve=e.CRH())&&(at.trigger=Ve.first),e.iGM(Ve=e.CRH())&&(at.panel=Ve.first),e.iGM(Ve=e.CRH())&&(at._overlayDir=Ve.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[e.qOj,e.TTD]}),Ue})(),Mn=(()=>{class Ue extends Dn{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(De,at,Ve){const ge=this._getItemHeight();return Math.min(Math.max(0,ge*De-at+ge/2),Ve)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,X.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,c.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(De){const at=(0,l.CB)(De,this.options,this.optionGroups),Ve=this._getItemHeight();this.panel.nativeElement.scrollTop=0===De&&1===at?0:(0,l.jH)((De+at)*Ve,Ve,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(De){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(De)}_getChangeEvent(De){return new le(this,De)}_calculateOverlayOffsetX(){const De=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),at=this._viewportRuler.getViewportSize(),Ve=this._isRtl(),ge=this.multiple?56:32;let et;if(this.multiple)et=40;else if(this.disableOptionCentering)et=16;else{let Xt=this._selectionModel.selected[0]||this.options.first;et=Xt&&Xt.group?32:16}Ve||(et*=-1);const _t=0-(De.left+et-(Ve?ge:0)),jt=De.right+et-at.width+(Ve?0:ge);_t>0?et+=_t+8:jt>0&&(et-=jt+8),this._overlayDir.offsetX=Math.round(et),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(De,at,Ve){const ge=this._getItemHeight(),et=(ge-this._triggerRect.height)/2,_t=Math.floor(256/ge);let jt;return this.disableOptionCentering?0:(jt=0===this._scrollTop?De*ge:this._scrollTop===Ve?(De-(this._getItemCount()-_t))*ge+(ge-(this._getItemCount()*ge-256)%ge):at-ge/2,Math.round(-1*jt-et))}_checkOverlayWithinViewport(De){const at=this._getItemHeight(),Ve=this._viewportRuler.getViewportSize(),ge=this._triggerRect.top-8,et=Ve.height-this._triggerRect.bottom-8,_t=Math.abs(this._offsetY),Xt=Math.min(this._getItemCount()*at,256)-_t-this._triggerRect.height;Xt>et?this._adjustPanelUp(Xt,et):_t>ge?this._adjustPanelDown(_t,ge,De):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(De,at){const Ve=Math.round(De-at);this._scrollTop-=Ve,this._offsetY-=Ve,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(De,at,Ve){const ge=Math.round(De-at);if(this._scrollTop+=ge,this._offsetY+=ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=Ve)return this._scrollTop=Ve,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const De=this._getItemHeight(),at=this._getItemCount(),Ve=Math.min(at*De,256),et=at*De-Ve;let _t;_t=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),_t+=(0,l.CB)(_t,this.options,this.optionGroups);const jt=Ve/2;this._scrollTop=this._calculateOverlayScroll(_t,jt,et),this._offsetY=this._calculateOverlayOffsetY(_t,jt,et),this._checkOverlayWithinViewport(et)}_getOriginBasedOnOption(){const De=this._getItemHeight(),at=(De-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-at+De/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ue.\u0275fac=function(){let Je;return function(at){return(Je||(Je=e.n5z(Ue)))(at||Ue)}}(),Ue.\u0275cmp=e.Xpm({type:Ue,selectors:[["mat-select"]],contentQueries:function(De,at,Ve){if(1&De&&(e.Suo(Ve,Ut,5),e.Suo(Ve,l.ey,5),e.Suo(Ve,l.K7,5)),2&De){let ge;e.iGM(ge=e.CRH())&&(at.customTrigger=ge.first),e.iGM(ge=e.CRH())&&(at.options=ge),e.iGM(ge=e.CRH())&&(at.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(De,at){1&De&&e.NdJ("keydown",function(ge){return at._handleKeydown(ge)})("focus",function(){return at._onFocus()})("blur",function(){return at._onBlur()}),2&De&&(e.uIk("id",at.id)("tabindex",at.tabIndex)("aria-controls",at.panelOpen?at.id+"-panel":null)("aria-expanded",at.panelOpen)("aria-label",at.ariaLabel||null)("aria-required",at.required.toString())("aria-disabled",at.disabled.toString())("aria-invalid",at.errorState)("aria-describedby",at._ariaDescribedby||null)("aria-activedescendant",at._getAriaActiveDescendant()),e.ekj("mat-select-disabled",at.disabled)("mat-select-invalid",at.errorState)("mat-select-required",at.required)("mat-select-empty",at.empty)("mat-select-multiple",at.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[e._Bn([{provide:d.Eo,useExisting:Ue},{provide:l.HF,useExisting:Ue}]),e.qOj],ngContentSelectors:At,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(De,at){if(1&De&&(e.F$t(xt),e.TgZ(0,"div",0,1),e.NdJ("click",function(){return at.toggle(
1)}),e.TgZ(3,"div",2),e.YNc(4,he,2,1,"span",3),e.YNc(5,ot,3,2,"span",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"div",6),e.qZA()(),e.YNc(8,nt,4,14,"ng-template",7),e.NdJ("backdropClick",function(){return at.close()})("attach",function(){return at._onAttached()})("detach",function(){return at.close()})),2&De){const Ve=e.MAs(1);e.uIk("aria-owns",at.panelOpen?at.id+"-panel":null),e.xp6(3),e.Q6J("ngSwitch",at.empty),e.uIk("id",at._valueId),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(3),e.Q6J("cdkConnectedOverlayPanelClass",at._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",at._scrollStrategy)("cdkConnectedOverlayOrigin",Ve)("cdkConnectedOverlayOpen",at.panelOpen)("cdkConnectedOverlayPositions",at._positions)("cdkConnectedOverlayMinWidth",null==at._triggerRect?null:at._triggerRect.width)("cdkConnectedOverlayOffsetY",at._offsetY)}},directives:[i.xu,s.RF,s.n9,s.ED,i.pI,s.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],encapsulation:2,data:{animation:[Qt.transformPanelWrap,Qt.transformPanel]},changeDetection:0}),Ue})(),rn=(()=>{class Ue{}return Ue.\u0275fac=function(De){return new(De||Ue)},Ue.\u0275mod=e.oAB({type:Ue}),Ue.\u0275inj=e.cJS({providers:[wt],imports:[[s.ez,i.U8,l.Ng,l.BQ],A.ZD,d.lN,l.Ng,l.BQ]}),Ue})()},2638:(Yt,Ze,m)=>{"use strict";m.d(Ze,{JX:()=>Et,Rh:()=>Ot,SJ:()=>It,TM:()=>Lt});var i=m(2411),s=m(60),e=m(5e3),l=m(508),d=m(3191),A=m(1159),C=m(7579),T=m(4968),S=m(6451),R=m(9300),q=m(4004),w=m(9718),k=m(2722),h=m(1884),O=m(5698),E=m(8675),c=m(8372),Z=m(1777),v=m(6360),ee=m(5664),X=m(925),te=m(226);const _e=["*"],ne=["content"];function oe(it,wt){if(1&it){const le=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){return e.CHM(le),e.oxw()._onBackdropClicked()}),e.qZA()}if(2&it){const le=e.oxw();e.ekj("mat-drawer-shown",le._isShowingBackdrop())}}function he(it,wt){1&it&&(e.TgZ(0,"mat-drawer-content"),e.Hsn(1,2),e.qZA())}const Se=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Be=["mat-drawer","mat-drawer-content","*"];function ot(it,wt){if(1&it){const le=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){return e.CHM(le),e.oxw()._onBackdropClicked()}),e.qZA()}if(2&it){const le=e.oxw();e.ekj("mat-drawer-shown",le._isShowingBackdrop())}}function nt(it,wt){1&it&&(e.TgZ(0,"mat-sidenav-content"),e.Hsn(1,2),e.qZA())}const xt=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],At=["mat-sidenav","mat-sidenav-content","*"],Vt={transformDrawer:(0,Z.X$)("transform",[(0,Z.SB)("open, open-instant",(0,Z.oB)({transform:"none",visibility:"visible"})),(0,Z.SB)("void",(0,Z.oB)({"box-shadow":"none",visibility:"hidden"})),(0,Z.eR)("void => open-instant",(0,Z.jt)("0ms")),(0,Z.eR)("void <=> open, open-instant => void",(0,Z.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Mt=new e.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function me(){return!1}}),we=new e.OlP("MAT_DRAWER_CONTAINER");let We=(()=>{class it extends i.PQ{constructor(le,Ne,Ut,pn,Dn){super(Ut,pn,Dn),this._changeDetectorRef=le,this._container=Ne}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return it.\u0275fac=function(le){return new(le||it)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>ft)),e.Y36(e.SBq),e.Y36(i.mF),e.Y36(e.R0b))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(le,Ne){2&le&&e.Udp("margin-left",Ne._container._contentMargins.left,"px")("margin-right",Ne._container._contentMargins.right,"px")},features:[e._Bn([{provide:i.PQ,useExisting:it}]),e.qOj],ngContentSelectors:_e,decls:1,vars:0,template:function(le,Ne){1&le&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),it})(),re=(()=>{class it{constructor(le,Ne,Ut,pn,Dn,Mn,rn,Ue){this._elementRef=le,this._focusTrapFactory=Ne,this._focusMonitor=Ut,this._platform=pn,this._ngZone=Dn,this._interactivityChecker=Mn,this._doc=rn,this._container=Ue,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new C.x,this._animationEnd=new C.x,this._animationState="void",this.openedChange=new e.vpe(!0),this._openedStream
1=this.openedChange.pipe((0,R.h)(Je=>Je),(0,q.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,R.h)(Je=>Je.fromState!==Je.toState&&0===Je.toState.indexOf("open")),(0,w.h)(void 0)),this._closedStream=this.openedChange.pipe((0,R.h)(Je=>!Je),(0,q.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,R.h)(Je=>Je.fromState!==Je.toState&&"void"===Je.toState),(0,w.h)(void 0)),this._destroyed=new C.x,this.onPositionChanged=new e.vpe,this._modeChanged=new C.x,this.openedChange.subscribe(Je=>{Je?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,T.R)(this._elementRef.nativeElement,"keydown").pipe((0,R.h)(Je=>Je.keyCode===A.hY&&!this.disableClose&&!(0,A.Vb)(Je)),(0,k.R)(this._destroyed)).subscribe(Je=>this._ngZone.run(()=>{this.close(),Je.stopPropagation(),Je.preventDefault()}))}),this._animationEnd.pipe((0,h.x)((Je,De)=>Je.fromState===De.fromState&&Je.toState===De.toState)).subscribe(Je=>{const{fromState:De,toState:at}=Je;(0===at.indexOf("open")&&"void"===De||"void"===at&&0===De.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(le){(le="end"===le?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(le),this._position=le,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(le){this._mode=le,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(le){this._disableClose=(0,d.Ig)(le)}get autoFocus(){const le=this._autoFocus;return null==le?"side"===this.mode?"dialog":"first-tabbable":le}set autoFocus(le){("true"===le||"false"===le||null==le)&&(le=(0,d.Ig)(le)),this._autoFocus=le}get opened(){return this._opened}set opened(le){this.toggle((0,d.Ig)(le))}_forceFocus(le,Ne){this._interactivityChecker.isFocusable(le)||(le.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ut=()=>{le.removeEventListener("blur",Ut),le.removeEventListener("mousedown",Ut),le.removeAttribute("tabindex")};le.addEventListener("blur",Ut),le.addEventListener("mousedown",Ut)})),le.focus(Ne)}_focusByCssSelector(le,Ne){let Ut=this._elementRef.nativeElement.querySelector(le);Ut&&this._forceFocus(Ut,Ne)}_takeFocus(){if(!this._focusTrap)return;const le=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ne=>{!Ne&&"function"==typeof this._elementRef.nativeElement.focus&&le.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(le){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,le):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const le=this._doc.activeElement;return!!le&&this._elementRef.nativeElement.contains(le)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var le;this._focusTrap&&this._focusTrap.destroy(),null===(le=this._anchor)||void 0===le||le.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(le){return this.toggle(!0,le)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(le=!this.opened,Ne){le&&Ne&&(this._openedVia=Ne);const Ut=this._setOpen(le,!le&&this._isFocusWithinDrawer(),this._openedVia||"program");return le||(this._openedVia=null),Ut}_setOpen(le,Ne,Ut){return this._opened=le,le?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Ne&&this._restoreFocus(Ut)),this._updateFocusTrapState(),new Promise(pn=>{this.openedChange.pipe((0,O.q)(1)).subscribe(Dn=>pn(Dn?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(le){const Ne=this._elementRef.nativeElement,Ut=Ne.parentNode;"end"===le?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ut.insertBefore(this._anchor,Ne)),Ut.appendChild(Ne)):this._anchor&&this._anchor.parentNode.insertBefore(Ne,this._anchor)}}return it.\u0275fac=function(le){return new(le||it)(e.Y36(e.SBq),e.Y36(ee.qV),e.Y36(ee.tE),e.Y36(X.t4),e.Y36(e.R0b),e.Y36(ee.ic),e.Y36(s.K0,8),e.Y36(we,8))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-drawer"]],viewQuery:function(le,Ne){if(1&le&&e.Gf(ne,5),2&le){let Ut;e.iGM(Ut=e.CRH())&&(Ne._content=Ut.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(le,Ne){1&le&&e.WFA("@transform.start",function(pn){return Ne._animationStarted.next(pn)})("@transform.done",function(pn){return Ne._animationEnd.next(pn)}),2&le&&(e.uIk("align",null),e.d8E("@transform",Ne._animationState),e.ekj("mat-drawer-end","end"===Ne.position)("mat-drawer-over","over"===Ne.mode)("mat-drawer-push","push"===Ne.mode)("mat-drawer-side","side"===Ne.mode)("mat-drawer-opened",Ne.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:_e,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(le,Ne){1&le&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},directives:[i.PQ],encapsulation:2,data:{animation:[Vt.transformDrawer]},changeDetection:0}),it})(),ft=(()=>{class it{constructor(le,Ne,Ut,pn,Dn,Mn=!1,rn){this._dir=le,this._element=Ne,this._ngZone=Ut,this._changeDetectorRef=pn,this._animationMode=rn,this._drawers=new e.n_E,this.backdropClick=new e.vpe,this._destroyed=new C.x,this._doCheckSubject=ne
1w C.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new C.x,le&&le.change.pipe((0,k.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Dn.change().pipe((0,k.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Mn}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(le){this._autosize=(0,d.Ig)(le)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(le){this._backdropOverride=null==le?null:(0,d.Ig)(le)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,E.O)(this._allDrawers),(0,k.R)(this._destroyed)).subscribe(le=>{this._drawers.reset(le.filter(Ne=>!Ne._container||Ne._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,E.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(le=>{this._watchDrawerToggle(le),this._watchDrawerPosition(le),this._watchDrawerMode(le)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,c.b)(10),(0,k.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(le=>le.open())}close(){this._drawers.forEach(le=>le.close())}updateContentMargins(){let le=0,Ne=0;if(this._left&&this._left.opened)if("side"==this._left.mode)le+=this._left._getWidth();else if("push"==this._left.mode){const Ut=this._left._getWidth();le+=Ut,Ne-=Ut}if(this._right&&this._right.opened)if("side"==this._right.mode)Ne+=this._right._getWidth();else if("push"==this._right.mode){const Ut=this._right._getWidth();Ne+=Ut,le-=Ut}le=le||null,Ne=Ne||null,(le!==this._contentMargins.left||Ne!==this._contentMargins.right)&&(this._contentMargins={left:le,right:Ne},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(le){le._animationStarted.pipe((0,R.h)(Ne=>Ne.fromState!==Ne.toState),(0,k.R)(this._drawers.changes)).subscribe(Ne=>{"open-instant"!==Ne.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==le.mode&&le.openedChange.pipe((0,k.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(le.opened))}_watchDrawerPosition(le){!le||le.onPositionChanged.pipe((0,k.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,O.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(le){le&&le._modeChanged.pipe((0,k.R)((0,S.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(le){const Ne=this._element.nativeElement.classList,Ut="mat-drawer-container-has-open";le?Ne.add(Ut):Ne.remove(Ut)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(le=>{"end"==le.position?this._end=le:this._start=le}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(le=>le&&!le.disableClose&&this._canHaveBackdrop(le)).forEach(le=>le._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(le){return"side"!==le.mode||!!this._backdropOverride}_isDrawerOpen(le){return null!=le&&le.opened}}return it.\u0275fac=function(le){return new(le||it)(e.Y36(te.Is,8),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(i.rL),e.Y36(Mt),e.Y36(v.Qb,8))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-drawer-container"]],contentQueries:function(le,Ne,Ut){if(1&le&&(e.Suo(Ut,We,5),e.Suo(Ut,re,5)),2&le){let pn;e.iGM(pn=e.CRH())&&(Ne._content=pn.first),e.iGM(pn=e.CRH())&&(Ne._allDrawers=pn)}},viewQuery:function(le,Ne){if(1&le&&e.Gf(We,5),2&le){let Ut;e.iGM(Ut=e.CRH())&&(Ne._userContent=Ut.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(le,Ne){2&le&&e.ekj("mat-drawer-container-explicit-backdrop",Ne._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e._Bn([{provide:we,useExisting:it}])],ngContentSelectors:Be,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(le,Ne){1&le&&(e.F$t(Se),e.YNc(0,oe,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,he,2,0,"mat-drawer-content",1)),2&le&&(e.Q6J("ngIf",Ne.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!Ne._content))},directives:[We,s.O5],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),it})(),Ot=(()=>{class it extends We{constructor(le,Ne,Ut,pn,Dn){super(le,Ne,Ut,pn,Dn)}}return it.\u0275fac=function(le){return new(le||it)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>Lt)),e.Y36(e.SBq),e.Y36(i.mF),e.Y36(e.R0b))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(le,Ne){2&le&&e.Udp("margin-left",Ne._container._contentMargins.left,"px")("margin-right",Ne._container._contentMargins.right,"px")},features:[e._Bn([{provide:i.PQ,useExisting:it}]),e.qOj],ngContentSelectors:_e,decls:1,vars:0,template:function(le,Ne){1&le&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),it})(),Et=(()=>{class it extends re{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(le){this._fixedInViewport=(0,d.Ig)(le)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(le){this._fixedTopGap=(0,d.su)(le)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(le){this._fixedBottomGap=(0,d.su)(le)}}return it.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(it)))(Ne||it)}}(),it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(le,Ne){2&le&&(e.uIk("align",null),e.Udp("top",Ne.fixedInViewport?Ne.fixedTopGap:null,"px")("bottom",Ne.fixedInViewport?Ne.fixedBottomGap:null,"px"),e.ekj("mat-drawer-end","end"===Ne.position)("mat-drawer-over","over"===Ne.mode)("mat-drawer-push","push"===Ne.mode)("mat-drawer-side","side"===Ne.mode)("mat-drawer-opened",Ne.opened)("mat-sidenav-fixed",Ne.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[e.qOj],ngContentSelectors:_e,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(le,Ne){1&le&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},directives:[i.PQ],encapsulation:2,data:{animation:[Vt.transformDrawer]},changeDetection:0}),it})(),Lt=(()=>{class it extends ft{}return it.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(it)))(Ne||it)}}(),it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-sidenav-container"]],contentQueries:function(le,Ne,Ut){if(1&le&&(e.Suo(Ut,Ot,5),e.Suo(Ut,Et,5)),2&le){let pn;e.iGM(pn=e.CRH())&&(Ne._content=pn.first),e.iGM(pn=e.CRH())&&(Ne._allDrawers=pn)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(le,Ne){2&le&&e.ekj("mat-drawer-container-explicit-backdrop",Ne._backdropOverride)},exportAs:["matSidenavContainer"],features:[e._Bn([{provide:we,useExisting:it}]),e.qOj],ngContentSelectors:At,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(le,Ne){1&le&&(e.F$t(xt),e.YNc(0,ot,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,nt,2,0,"mat-sidenav-content",1)),2&le&&(e.Q6J("ngIf",Ne.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!Ne._content))},directives:[Ot,s.O5],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),it})(),It=(()=>{class it{}return it.\u0275fac=function(le){return new(le||it)},it.\u0275mod=e.oAB({type:it}),it.\u0275inj=e.cJS({imports:[[s.ez,l.BQ,i.ZD],i.ZD,l.BQ]}),it})()},4847:(Yt,Ze,m)=>{"use strict";m.d(Ze,{JX:()=>Be,YE:()=>ne,nU:()=>Se});var i=m(5e3),s=m(3191),e=m(1159),l=m(508),d=m(7579),A=m(6451),C=m(1777),T=m(5664),S=m(60);const R=["mat-sort-header",""];function q(ot,nt){if(1&ot){const xt=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(xt),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(xt),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6)(4,"div",7)(5,"div",8),i.qZA()()}if(2&ot){const xt=i.oxw();i.Q6J("@arrowOpacity",xt._getArrowViewState())("@arrowPosition",xt._getArrowViewState())("@allowChildren",xt._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",xt._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",xt._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",xt._getArrowDirectionState())}}const w=["*"],k=l.mZ.ENTERING+" "+l.yN.STANDARD_CURVE,h={indicator:(0,C.X$)("indicator",[(0,C.SB)("active-asc, asc",(0,C.oB)({transform:"translateY(0px)"})),(0,C.SB)("active-desc, desc",(0,C.oB)({transform:"translateY(10px)"})),(0,C.eR)("active-asc <=> active-desc",(0,C.jt)(k))]),leftPointer:(0,C.X$)("leftPointer",[(0,C.SB)("active-asc, asc",(0,C.oB)({transform:"rotate(-45deg)"})),(0,C.SB)("active-desc, desc",(0,C.oB)({transform:"rotate(45deg)"})),(0,C.eR)("active-asc <=> active-desc",(0,C.jt)(k))]),rightPointer:(0,C.X$)("rightPointer",[(0,C.SB)("active-asc, asc",(0,C.oB)({transform:"rotate(45deg)"})),(0,C.SB)("active-desc, desc",(0,C.oB)({transform:"rotate(-45deg)"})),(0,C.eR)("active-asc <=> active-desc",(0,C.jt)(k))]),arrowOpacity:(0,C.X$)("arrowOpacity",[(0,C.SB)("desc-to-active, asc-to-active, active",(0,C.oB)({opacity:1})),(0,C.SB)("desc-to-hint, asc-to-hint, hint",(0,C.oB)({opacity:.54})),(0,C.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,C.oB)({opacity:0}
1)),(0,C.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,C.jt)("0ms")),(0,C.eR)("* <=> *",(0,C.jt)(k))]),arrowPosition:(0,C.X$)("arrowPosition",[(0,C.eR)("* => desc-to-hint, * => desc-to-active",(0,C.jt)(k,(0,C.F4)([(0,C.oB)({transform:"translateY(-25%)"}),(0,C.oB)({transform:"translateY(0)"})]))),(0,C.eR)("* => hint-to-desc, * => active-to-desc",(0,C.jt)(k,(0,C.F4)([(0,C.oB)({transform:"translateY(0)"}),(0,C.oB)({transform:"translateY(25%)"})]))),(0,C.eR)("* => asc-to-hint, * => asc-to-active",(0,C.jt)(k,(0,C.F4)([(0,C.oB)({transform:"translateY(25%)"}),(0,C.oB)({transform:"translateY(0)"})]))),(0,C.eR)("* => hint-to-asc, * => active-to-asc",(0,C.jt)(k,(0,C.F4)([(0,C.oB)({transform:"translateY(0)"}),(0,C.oB)({transform:"translateY(-25%)"})]))),(0,C.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,C.oB)({transform:"translateY(0)"})),(0,C.SB)("hint-to-desc, active-to-desc, desc",(0,C.oB)({transform:"translateY(-25%)"})),(0,C.SB)("hint-to-asc, active-to-asc, asc",(0,C.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,C.X$)("allowChildren",[(0,C.eR)("* <=> *",[(0,C.IO)("@*",(0,C.pV)(),{optional:!0})])])};let v=(()=>{class ot{constructor(){this.changes=new d.x}}return ot.\u0275fac=function(xt){return new(xt||ot)},ot.\u0275prov=i.Yz7({token:ot,factory:ot.\u0275fac,providedIn:"root"}),ot})();const X={provide:v,deps:[[new i.FiY,new i.tp0,v]],useFactory:function ee(ot){return ot||new v}},te=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),_e=(0,l.dB)((0,l.Id)(class{}));let ne=(()=>{class ot extends _e{constructor(xt){super(),this._defaultOptions=xt,this.sortables=new Map,this._stateChanges=new d.x,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(xt){this._direction=xt}get disableClear(){return this._disableClear}set disableClear(xt){this._disableClear=(0,s.Ig)(xt)}register(xt){this.sortables.set(xt.id,xt)}deregister(xt){this.sortables.delete(xt.id)}sort(xt){this.active!=xt.id?(this.active=xt.id,this.direction=xt.start?xt.start:this.start):this.direction=this.getNextSortDirection(xt),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(xt){var At,Qt,Vt;if(!xt)return"";const dt=null!==(Qt=null!==(At=null==xt?void 0:xt.disableClear)&&void 0!==At?At:this.disableClear)&&void 0!==Qt?Qt:!!(null===(Vt=this._defaultOptions)||void 0===Vt?void 0:Vt.disableClear);let Mt=function oe(ot,nt){let xt=["asc","desc"];return"desc"==ot&&xt.reverse(),nt||xt.push(""),xt}(xt.start||this.start,dt),we=Mt.indexOf(this.direction)+1;return we>=Mt.length&&(we=0),Mt[we]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return ot.\u0275fac=function(xt){return new(xt||ot)(i.Y36(te,8))},ot.\u0275dir=i.lG2({type:ot,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),ot})();const he=(0,l.Id)(class{});let Se=(()=>{class ot extends he{constructor(xt,At,Qt,Vt,dt,Mt,we){super(),this._intl=xt,this._changeDetectorRef=At,this._sort=Qt,this._columnDef=Vt,this._focusMonitor=dt,this._elementRef=Mt,this._ariaDescriber=we,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(xt){this._updateSortActionDescription(xt)}get disableClear(){return this._disableClear}set disableClear(xt){this._disableClear=(0,s.Ig)(xt)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(xt=>{const At=!!xt;At!==this._showIndicatorHint&&(this._setIndicatorHintVisible(At),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(xt){this._isDisabled()&&xt||(this._showIndicatorHint=xt,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(xt){this._viewState=xt||{}
1,this._disableViewStateAnimation&&(this._viewState={toState:xt.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(xt){!this._isDisabled()&&(xt.keyCode===e.L_||xt.keyCode===e.K5)&&(xt.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const xt=this._viewState.fromState;return(xt?`${xt}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(xt){var At,Qt;this._sortButton&&(null===(At=this._ariaDescriber)||void 0===At||At.removeDescription(this._sortButton,this._sortActionDescription),null===(Qt=this._ariaDescriber)||void 0===Qt||Qt.describe(this._sortButton,xt)),this._sortActionDescription=xt}_handleStateChanges(){this._rerenderSubscription=(0,A.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return ot.\u0275fac=function(xt){return new(xt||ot)(i.Y36(v),i.Y36(i.sBO),i.Y36(ne,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(T.tE),i.Y36(i.SBq),i.Y36(T.$s,8))},ot.\u0275cmp=i.Xpm({type:ot,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(xt,At){1&xt&&i.NdJ("click",function(){return At._handleClick()})("keydown",function(Vt){return At._handleKeydown(Vt)})("mouseenter",function(){return At._setIndicatorHintVisible(!0)})("mouseleave",function(){return At._setIndicatorHintVisible(!1)}),2&xt&&(i.uIk("aria-sort",At._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",At._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[i.qOj],attrs:R,ngContentSelectors:w,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(xt,At){1&xt&&(i.F$t(),i.TgZ(0,"div",0)(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,q,6,6,"div",2),i.qZA()),2&xt&&(i.ekj("mat-sort-header-sorted",At._isSorted())("mat-sort-header-position-before","before"==At.arrowPosition),i.uIk("tabindex",At._isDisabled()?null:0)("role",At._isDisabled()?null:"button"),i.xp6(3),i.Q6J("ngIf",At._renderArrow()))},directives:[S.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}
1.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[h.indicator,h.leftPointer,h.rightPointer,h.arrowOpacity,h.arrowPosition,h.allowChildren]},changeDetection:0}),ot})(),Be=(()=>{class ot{}return ot.\u0275fac=function(xt){return new(xt||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({providers:[X],imports:[[S.ez,l.BQ]]}),ot})()},2075:(Yt,Ze,m)=>{"use strict";m.d(Ze,{ev:()=>st,Dz:()=>Zn,w1:()=>An,yh:()=>Xe,mD:()=>ln,Q2:()=>Qn,Ke:()=>$t,ge:()=>bt,fO:()=>ni,XQ:()=>$n,as:()=>ct,Gk:()=>Fi,nj:()=>un,BZ:()=>fn,by:()=>Nn,p0:()=>bo});var i=m(5e3),s=m(3191),e=m(449),l=m(60),d=m(7579),A=m(2076),C=m(1135),T=m(5191),S=m(9646),R=m(2722),q=m(5698),w=m(226),k=m(925),h=m(2411);const O=[[["caption"]],[["colgroup"],["col"]]],E=["caption","colgroup, col"];function v(fe){return class extends fe{constructor(...Pe){super(...Pe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Pe){const ye=this._sticky;this._sticky=(0,s.Ig)(Pe),this._hasStickyChanged=ye!==this._sticky}hasStickyChanged(){const Pe=this._hasStickyChanged;return this._hasStickyChanged=!1,Pe}resetStickyChanged(){this._hasStickyChanged=!1}}}const ee=new i.OlP("CDK_TABLE");let te=(()=>{class fe{constructor(ye){this.template=ye}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.Rgc))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","cdkCellDef",""]]}),fe})(),_e=(()=>{class fe{constructor(ye){this.template=ye}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.Rgc))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","cdkHeaderCellDef",""]]}),fe})(),ne=(()=>{class fe{constructor(ye){this.template=ye}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.Rgc))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","cdkFooterCellDef",""]]}),fe})();class oe{}const he=v(oe);let Se=(()=>{class fe extends he{constructor(ye){super(),this._table=ye,this._stickyEnd=!1}get name(){return this._name}set name(ye){this._setNameInput(ye)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ye){const Ee=this._stickyEnd;this._stickyEnd=(0,s.Ig)(ye),this._hasStickyChanged=Ee!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ye){ye&&(this._name=ye,this.cssClassFriendlyName=ye.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(ee,8))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","cdkColumnDef",""]],contentQueries:function(ye,Ee,lt){if(1&ye&&(i.Suo(lt,te,5),i.Suo(lt,_e,5),i.Suo(lt,ne,5)),2&ye){let Y;i.iGM(Y=i.CRH())&&(Ee.cell=Y.first),i.iGM(Y=i.CRH())&&(Ee.headerCell=Y.first),i.iGM(Y=i.CRH())&&(Ee.footerCell=Y.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:fe}]),i.qOj]}),fe})();class Be{constructor(Pe,ye){ye.nativeElement.classList.add(...Pe._columnCssClassName)}}let ot=(()=>{class fe extends Be{constructor(ye,Ee){super(ye,Ee)}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(Se),i.Y36(i.SBq))},fe.\u0275dir=i.lG2({type:fe,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.qOj]}),fe})(),nt=(()=>{class fe extends Be{constructor(ye,Ee){var lt;if(super(ye,Ee),1===(null===(lt=ye._table)||void 0===lt?void 0:lt._elementRef.nativeElement.nodeType)){const Y=ye._table._elementRef.nativeElement.getAttribute("role");Ee.nativeElement.setAttribute("role","grid"===Y||"treegrid"===Y?"gridcell":"cell")}}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(Se),i.Y36(i.SBq))},fe.\u0275dir=i.lG2({type:fe,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[i.qOj]}),fe})(),xt=(()=>{class fe extends Be{constructor(ye,Ee){var lt;if(super(ye,Ee),1===(null===(lt=ye._table)||void 0===lt?void 0:lt._elementRef.nativeElement.nodeType)){const Y=ye._table._elementRef.nativeElement.getAttribute("role");Ee.nativeElement.setAttribute("role","grid"===Y||"treegrid"===Y?"gridcell":"cell")}}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(Se),i.Y36(i.SBq))},fe.\u0275dir=i.lG2({type:fe,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.qOj]}),fe})();class At{constructor(){this.tasks=[],this.endTasks=[]}}
1const Qt=new i.OlP("_COALESCED_STYLE_SCHEDULER");let Vt=(()=>{class fe{constructor(ye){this._ngZone=ye,this._currentSchedule=null,this._destroyed=new d.x}schedule(ye){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ye)}scheduleEnd(ye){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ye)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new At,this._getScheduleObservable().pipe((0,R.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ye=this._currentSchedule;this._currentSchedule=new At;for(const Ee of ye.tasks)Ee();for(const Ee of ye.endTasks)Ee()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,A.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,q.q)(1))}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.LFG(i.R0b))},fe.\u0275prov=i.Yz7({token:fe,factory:fe.\u0275fac}),fe})(),Mt=(()=>{class fe{constructor(ye,Ee){this.template=ye,this._differs=Ee}ngOnChanges(ye){if(!this._columnsDiffer){const Ee=ye.columns&&ye.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ee).create(),this._columnsDiffer.diff(Ee)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ye){return this instanceof We?ye.headerCell.template:this instanceof Ot?ye.footerCell.template:ye.cell.template}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.Rgc),i.Y36(i.ZZ4))},fe.\u0275dir=i.lG2({type:fe,features:[i.TTD]}),fe})();class we extends Mt{}const me=v(we);let We=(()=>{class fe extends me{constructor(ye,Ee,lt){super(ye,Ee),this._table=lt}ngOnChanges(ye){super.ngOnChanges(ye)}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(ee,8))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),fe})();class re extends Mt{}const ft=v(re);let Ot=(()=>{class fe extends ft{constructor(ye,Ee,lt){super(ye,Ee),this._table=lt}ngOnChanges(ye){super.ngOnChanges(ye)}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(ee,8))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),fe})(),Et=(()=>{class fe extends Mt{constructor(ye,Ee,lt){super(ye,Ee),this._table=lt}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(ee,8))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),fe})(),Lt=(()=>{class fe{constructor(ye){this._viewContainer=ye,fe.mostRecentCellOutlet=this}ngOnDestroy(){fe.mostRecentCellOutlet===this&&(fe.mostRecentCellOutlet=null)}}return fe.mostRecentCellOutlet=null,fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.s_b))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","cdkCellOutlet",""]]}),fe})(),It=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275cmp=i.Xpm({type:fe,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ee){1&ye&&i.GkF(0,0)},directives:[Lt],encapsulation:2}),fe})(),it=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275cmp=i.Xpm({type:fe,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ee){1&ye&&i.GkF(0,0)},directives:[Lt],encapsulation:2}),fe})(),wt=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275cmp=i.Xpm({type:fe,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ee){1&ye&&i.GkF(0,0)},directives:[Lt],encapsulation:2}),fe})(),le=(()=>{class fe{constructor(ye){this.templateRef=ye,this._contentClassName="
1cdk-no-data-row"}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.Rgc))},fe.\u0275dir=i.lG2({type:fe,selectors:[["ng-template","cdkNoDataRow",""]]}),fe})();const Ne=["top","bottom","left","right"];class Ut{constructor(Pe,ye,Ee,lt,Y=!0,Te=!0,rt){this._isNativeHtmlTable=Pe,this._stickCellCss=ye,this.direction=Ee,this._coalescedStyleScheduler=lt,this._isBrowser=Y,this._needsPositionStickyOnElement=Te,this._positionListener=rt,this._cachedCellWidths=[],this._borderCellCss={top:`${ye}-border-elem-top`,bottom:`${ye}-border-elem-bottom`,left:`${ye}-border-elem-left`,right:`${ye}-border-elem-right`}}clearStickyPositioning(Pe,ye){const Ee=[];for(const lt of Pe)if(lt.nodeType===lt.ELEMENT_NODE){Ee.push(lt);for(let Y=0;Y<lt.children.length;Y++)Ee.push(lt.children[Y])}this._coalescedStyleScheduler.schedule(()=>{for(const lt of Ee)this._removeStickyStyle(lt,ye)})}updateStickyColumns(Pe,ye,Ee,lt=!0){if(!Pe.length||!this._isBrowser||!ye.some(Ti=>Ti)&&!Ee.some(Ti=>Ti))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Y=Pe[0],Te=Y.children.length,rt=this._getCellWidths(Y,lt),Nt=this._getStickyStartColumnPositions(rt,ye),Tn=this._getStickyEndColumnPositions(rt,Ee),Ln=ye.lastIndexOf(!0),Si=Ee.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Ti="rtl"===this.direction,ho=Ti?"right":"left",zi=Ti?"left":"right";for(const Bi of Pe)for(let bn=0;bn<Te;bn++){const ci=Bi.children[bn];ye[bn]&&this._addStickyStyle(ci,ho,Nt[bn],bn===Ln),Ee[bn]&&this._addStickyStyle(ci,zi,Tn[bn],bn===Si)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Ln?[]:rt.slice(0,Ln+1).map((Bi,bn)=>ye[bn]?Bi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Si?[]:rt.slice(Si).map((Bi,bn)=>Ee[bn+Si]?Bi:null).reverse()}))})}stickRows(Pe,ye,Ee){if(!this._isBrowser)return;const lt="bottom"===Ee?Pe.slice().reverse():Pe,Y="bottom"===Ee?ye.slice().reverse():ye,Te=[],rt=[],Nt=[];for(let Ln=0,Si=0;Ln<lt.length;Ln++){if(!Y[Ln])continue;Te[Ln]=Si;const Ti=lt[Ln];Nt[Ln]=this._isNativeHtmlTable?Array.from(Ti.children):[Ti];const ho=Ti.getBoundingClientRect().height;Si+=ho,rt[Ln]=ho}const Tn=Y.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var Ln,Si;for(let Ti=0;Ti<lt.length;Ti++){if(!Y[Ti])continue;const ho=Te[Ti],zi=Ti===Tn;for(const Bi of Nt[Ti])this._addStickyStyle(Bi,Ee,ho,zi)}"top"===Ee?null===(Ln=this._positionListener)||void 0===Ln||Ln.stickyHeaderRowsUpdated({sizes:rt,offsets:Te,elements:Nt}):null===(Si=this._positionListener)||void 0===Si||Si.stickyFooterRowsUpdated({sizes:rt,offsets:Te,elements:Nt})})}updateStickyFooterContainer(Pe,ye){if(!this._isNativeHtmlTable)return;const Ee=Pe.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ye.some(lt=>!lt)?this._removeStickyStyle(Ee,["bottom"]):this._addStickyStyle(Ee,"bottom",0,!1)})}_removeStickyStyle(Pe,ye){for(const lt of ye)Pe.style[lt]="",Pe.classList.remove(this._borderCellCss[lt]);Ne.some(lt=>-1===ye.indexOf(lt)&&Pe.style[lt])?Pe.style.zIndex=this._getCalculatedZIndex(Pe):(Pe.style.zIndex="",this._needsPositionStickyOnElement&&(Pe.style.position=""),Pe.classList.remove(this._stickCellCss))}_addStickyStyle(Pe,ye,Ee,lt){Pe.classList.add(this._stickCellCss),lt&&Pe.classList.add(this._borderCellCss[ye]),Pe.style[ye]=`${Ee}px`,Pe.style.zIndex=this._getCalculatedZIndex(Pe),this._needsPositionStickyOnElement&&(Pe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Pe){const ye={top:100,bottom:10,left:1,right:1};let Ee=0;for(const lt of Ne)Pe.style[lt]&&(Ee+=ye[lt]);return Ee?`${Ee}`:""}_getCellWidths(Pe,ye=!0){if(!ye&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ee=[],lt=Pe.children;for(let Y=0;Y<lt.length;Y++)Ee.push(lt[Y].getBoundingClientRect().width);return this._cachedCellWidths=Ee,Ee}_getStickyStartColumnPositions(Pe,ye){const Ee=[];let lt=0;for(let Y=0;Y<Pe.length;Y++)ye[Y]&&(Ee[Y]=lt,lt+=Pe[Y]);return Ee}_getStickyEndColumnPositions(Pe,ye){const Ee=[];let lt=0;for(let Y=Pe.length;Y>0;Y--)ye[Y]&&(Ee[Y]=lt,lt+=Pe[Y]);return Ee}}
1const Ve=new i.OlP("CDK_SPL");let et=(()=>{class fe{constructor(ye,Ee){this.viewContainer=ye,this.elementRef=Ee}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.s_b),i.Y36(i.SBq))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","rowOutlet",""]]}),fe})(),_t=(()=>{class fe{constructor(ye,Ee){this.viewContainer=ye,this.elementRef=Ee}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.s_b),i.Y36(i.SBq))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","headerRowOutlet",""]]}),fe})(),jt=(()=>{class fe{constructor(ye,Ee){this.viewContainer=ye,this.elementRef=Ee}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.s_b),i.Y36(i.SBq))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","footerRowOutlet",""]]}),fe})(),Xt=(()=>{class fe{constructor(ye,Ee){this.viewContainer=ye,this.elementRef=Ee}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.s_b),i.Y36(i.SBq))},fe.\u0275dir=i.lG2({type:fe,selectors:[["","noDataRowOutlet",""]]}),fe})(),Kn=(()=>{class fe{constructor(ye,Ee,lt,Y,Te,rt,Nt,Tn,Ln,Si,Ti,ho){this._differs=ye,this._changeDetectorRef=Ee,this._elementRef=lt,this._dir=Te,this._platform=Nt,this._viewRepeater=Tn,this._coalescedStyleScheduler
1=Ln,this._viewportRuler=Si,this._stickyPositioningListener=Ti,this._ngZone=ho,this._onDestroy=new d.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new i.vpe,this.viewChange=new C.X({start:0,end:Number.MAX_VALUE}),Y||this._elementRef.nativeElement.setAttribute("role","table"),this._document=rt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(ye){this._trackByFn=ye}get dataSource(){return this._dataSource}set dataSource(ye){this._dataSource!==ye&&this._switchDataSource(ye)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ye){this._multiTemplateDataRows=(0,s.Ig)(ye),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ye){this._fixedLayout=(0,s.Ig)(ye),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ye,Ee)=>this.trackBy?this.trackBy(Ee.dataIndex,Ee.data):Ee),this._viewportRuler.change().pipe((0,R.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Ee=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ee,this._forceRecalculateCellWidths=Ee,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ye=>{ye.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,e.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ye=this._dataDiffer.diff(this._renderRows);if(!ye)return this._updateNoDataRow(),void this.contentChanged.next();const Ee=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ye,Ee,(lt,Y,Te)=>this._getEmbeddedViewArgs(lt.item,Te),lt=>lt.item.data,lt=>{1===lt.operation&&lt.context&&this._renderCellTemplateForItem(lt.record.item.rowDef,lt.context)}),this._updateRowIndexContext(),ye.forEachIdentityChange(lt=>{Ee.get(lt.currentIndex).context.$implicit=lt.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,q.q)(1),(0,R.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ye){this._customColumnDefs.add(ye)}removeColumnDef(ye){this._customColumnDefs.delete(ye)}addRowDef(ye){this._customRowDefs.add(ye)}removeRowDef(ye){this._customRowDefs.delete(ye)}addHeaderRowDef(ye){this._customHeaderRowDefs.add(ye),this._headerRowDefChanged=!0}removeHeaderRowDef(ye){this._customHeaderRowDefs.delete(ye),this._headerRowDefChanged=!0}addFooterRowDef(ye){this._customFooterRowDefs.add(ye),this._footerRowDefChanged=!0}removeFooterRowDef(ye){this._customFooterRowDefs.delete(ye),this._footerRowDefChanged=!0}setNoDataRow(ye){this._customNoDataRow=ye}updateStickyHeaderRowStyles(){const ye=this._getRenderedRows(this._headerRowOutlet),lt=this._elementRef.nativeElement.querySelector("thead");lt&&(lt.style.display=ye.length?"":"none");const Y=this._headerRowDefs.map(Te=>Te.sticky);this._stickyStyler.clearStickyPositioning(ye,["top"]),this._stickyStyler.stickRows(ye,Y,"top"),this._headerRowDefs.forEac
1h(Te=>Te.resetStickyChanged())}updateStickyFooterRowStyles(){const ye=this._getRenderedRows(this._footerRowOutlet),lt=this._elementRef.nativeElement.querySelector("tfoot");lt&&(lt.style.display=ye.length?"":"none");const Y=this._footerRowDefs.map(Te=>Te.sticky);this._stickyStyler.clearStickyPositioning(ye,["bottom"]),this._stickyStyler.stickRows(ye,Y,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Y),this._footerRowDefs.forEach(Te=>Te.resetStickyChanged())}updateStickyColumnStyles(){const ye=this._getRenderedRows(this._headerRowOutlet),Ee=this._getRenderedRows(this._rowOutlet),lt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ye,...Ee,...lt],["left","right"]),this._stickyColumnStylesNeedReset=!1),ye.forEach((Y,Te)=>{this._addStickyColumnStyles([Y],this._headerRowDefs[Te])}),this._rowDefs.forEach(Y=>{const Te=[];for(let rt=0;rt<Ee.length;rt++)this._renderRows[rt].rowDef===Y&&Te.push(Ee[rt]);this._addStickyColumnStyles(Te,Y)}),lt.forEach((Y,Te)=>{this._addStickyColumnStyles([Y],this._footerRowDefs[Te])}),Array.from(this._columnDefsByName.values()).forEach(Y=>Y.resetStickyChanged())}_getAllRenderRows(){const ye=[],Ee=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let lt=0;lt<this._data.length;lt++){let Y=this._data[lt];const Te=this._getRenderRowsForData(Y,lt,Ee.get(Y));this._cachedRenderRowsMap.has(Y)||this._cachedRenderRowsMap.set(Y,new WeakMap);for(let rt=0;rt<Te.length;rt++){let Nt=Te[rt];const Tn=this._cachedRenderRowsMap.get(Nt.data);Tn.has(Nt.rowDef)?Tn.get(Nt.rowDef).push(Nt):Tn.set(Nt.rowDef,[Nt]),ye.push(Nt)}}return ye}_getRenderRowsForData(ye,Ee,lt){return this._getRowDefs(ye,Ee).map(Te=>{const rt=lt&&lt.has(Te)?lt.get(Te):[];if(rt.length){const Nt=rt.shift();return Nt.dataIndex=Ee,Nt}return{data:ye,rowDef:Te,dataIndex:Ee}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Bn(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ee=>{this._columnDefsByName.has(Ee.name),this._columnDefsByName.set(Ee.name,Ee)})}_cacheRowDefs(){this._headerRowDefs=Bn(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Bn(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Bn(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ye=this._rowDefs.filter(Ee=>!Ee.when);this._defaultRowDef=ye[0]}_renderUpdatedColumns(){const ye=(Te,rt)=>Te||!!rt.getColumnsDiff(),Ee=this._rowDefs.reduce(ye,!1);Ee&&this._forceRenderDataRows();const lt=this._headerRowDefs.reduce(ye,!1);lt&&this._forceRenderHeaderRows();const Y=this._footerRowDefs.reduce(ye,!1);return Y&&this._forceRenderFooterRows(),Ee||lt||Y}_switchDataSource(ye){this._data=[],(0,e.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ye||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ye}_observeRenderChanges(){if(!this.dataSource)return;let ye;(0,e.Z9)(this.dataSource)?ye=this.dataSource.connect(this):(0,T.b)(this.dataSource)?ye=this.dataSource:Array.isArray(this.dataSource)&&(ye=(0,S.of)(this.dataSource)),this._renderChangeSubscription=ye.pipe((0,R.R)(this._onDestroy)).subscribe(Ee=>{this._data=Ee||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ye,Ee)=>this._renderRow(this._headerRowOutlet,ye,Ee)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ye,Ee)=>this._renderRow(this._footerRowOutlet,ye,Ee)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ye,Ee){const lt=Array.from(Ee.columns||[]).map(rt=>this._columnDefsByName.get(rt)),Y=lt.map(rt=>rt.sticky),Te=lt.map(rt=>rt.stickyEnd);this._stickyStyler.updateStickyColumns(ye,Y,Te,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ye){const Ee=[];for(let lt=0;lt<ye.viewContainer.length;lt++){const Y=ye.viewContainer.get(lt);Ee.push(Y.rootNodes[0])}return Ee}_getRowDefs(ye,Ee){if(1==this._rowDefs.length)return[this._rowDefs[0]];let lt=[];if(this.multiTemplateDataRows)lt=this._rowDefs.filter(Y=>!Y.when||Y.when(Ee,ye));else{let Y=this._rowDefs.find(Te=>Te.when&&Te.when(Ee,ye))||this._defaultRowDef;Y&&lt.push(Y)}return lt}_getEmbeddedViewArgs(ye,Ee){return{templateRef:ye.rowDef.template,context:{$
1implicit:ye.data},index:Ee}}_renderRow(ye,Ee,lt,Y={}){const Te=ye.viewContainer.createEmbeddedView(Ee.template,Y,lt);return this._renderCellTemplateForItem(Ee,Y),Te}_renderCellTemplateForItem(ye,Ee){for(let lt of this._getCellTemplates(ye))Lt.mostRecentCellOutlet&&Lt.mostRecentCellOutlet._viewContainer.createEmbeddedView(lt,Ee);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ye=this._rowOutlet.viewContainer;for(let Ee=0,lt=ye.length;Ee<lt;Ee++){const Te=ye.get(Ee).context;Te.count=lt,Te.first=0===Ee,Te.last=Ee===lt-1,Te.even=Ee%2==0,Te.odd=!Te.even,this.multiTemplateDataRows?(Te.dataIndex=this._renderRows[Ee].dataIndex,Te.renderIndex=Ee):Te.index=this._renderRows[Ee].dataIndex}}_getCellTemplates(ye){return ye&&ye.columns?Array.from(ye.columns,Ee=>{const lt=this._columnDefsByName.get(Ee);return ye.extractCellTemplate(lt)}):[]}_applyNativeTableSections(){const ye=this._document.createDocumentFragment(),Ee=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const lt of Ee){const Y=this._document.createElement(lt.tag);Y.setAttribute("role","rowgroup");for(const Te of lt.outlets)Y.appendChild(Te.elementRef.nativeElement);ye.appendChild(Y)}this._elementRef.nativeElement.appendChild(ye)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ye=(Ee,lt)=>Ee||lt.hasStickyChanged();this._headerRowDefs.reduce(ye,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ye,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ye,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ut(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,S.of)()).pipe((0,R.R)(this._onDestroy)).subscribe(Ee=>{this._stickyStyler.direction=Ee,this.updateStickyColumnStyles()})}_getOwnDefs(ye){return ye.filter(Ee=>!Ee._table||Ee._table===this)}_updateNoDataRow(){const ye=this._customNoDataRow||this._noDataRow;if(!ye)return;const Ee=0===this._rowOutlet.viewContainer.length;if(Ee===this._isShowingNoDataRow)return;const lt=this._noDataRowOutlet.viewContainer;if(Ee){const Y=lt.createEmbeddedView(ye.templateRef),Te=Y.rootNodes[0];1===Y.rootNodes.length&&(null==Te?void 0:Te.nodeType)===this._document.ELEMENT_NODE&&(Te.setAttribute("role","row"),Te.classList.add(ye._contentClassName))}else lt.clear();this._isShowingNoDataRow=Ee}}return fe.\u0275fac=function(ye){return new(ye||fe)(i.Y36(i.ZZ4),i.Y36(i.sBO),i.Y36(i.SBq),i.$8M("role"),i.Y36(w.Is,8),i.Y36(l.K0),i.Y36(k.t4),i.Y36(e.k),i.Y36(Qt),i.Y36(h.rL),i.Y36(Ve,12),i.Y36(i.R0b,8))},fe.\u0275cmp=i.Xpm({type:fe,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ye,Ee,lt){if(1&ye&&(i.Suo(lt,le,5),i.Suo(lt,Se,5),i.Suo(lt,Et,5),i.Suo(lt,We,5),i.Suo(lt,Ot,5)),2&ye){let Y;i.iGM(Y=i.CRH())&&(Ee._noDataRow=Y.first),i.iGM(Y=i.CRH())&&(Ee._contentColumnDefs=Y),i.iGM(Y=i.CRH())&&(Ee._contentRowDefs=Y),i.iGM(Y=i.CRH())&&(Ee._contentHeaderRowDefs=Y),i.iGM(Y=i.CRH())&&(Ee._contentFooterRowDefs=Y)}},viewQuery:function(ye,Ee){if(1&ye&&(i.Gf(et,7),i.Gf(_t,7),i.Gf(jt,7),i.Gf(Xt,7)),2&ye){let lt;i.iGM(lt=i.CRH())&&(Ee._rowOutlet=lt.first),i.iGM(lt=i.CRH())&&(Ee._headerRowOutlet=lt.first),i.iGM(lt=i.CRH())&&(Ee._footerRowOutlet=lt.first),i.iGM(lt=i.CRH())&&(Ee._noDataRowOutlet=lt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(ye,Ee){2&ye&&i.ekj("cdk-table-fixed-layout",Ee.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i._Bn([{provide:ee,useExisting:fe},{provide:e.k,useClass:e.yy},{provide:Qt,useClass:Vt},{provide:Ve,useValue:null}])],ngContentSelectors:E,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ye,Ee){1&ye&&(i.F$t(O),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0)(3,1)(4,2)(5,3))},directives:[_t,et,Xt,jt],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),fe})();function Bn(fe,Pe){return fe.concat(Array.from(Pe))}let Di=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)}
1,fe.\u0275mod=i.oAB({type:fe}),fe.\u0275inj=i.cJS({imports:[[h.Cl]]}),fe})();var In=m(508),Fn=m(6451),ei=m(9841),Vi=m(4004);const gt=[[["caption"]],[["colgroup"],["col"]]],He=["caption","colgroup, col"];let fn=(()=>{class fe extends Kn{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275cmp=i.Xpm({type:fe,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(ye,Ee){2&ye&&i.ekj("mat-table-fixed-layout",Ee.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:e.k,useClass:e.yy},{provide:Kn,useExisting:fe},{provide:ee,useExisting:fe},{provide:Qt,useClass:Vt},{provide:Ve,useValue:null}]),i.qOj],ngContentSelectors:He,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ye,Ee){1&ye&&(i.F$t(gt),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0)(3,1)(4,2)(5,3))},directives:[_t,et,Xt,jt],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),fe})(),Zn=(()=>{class fe extends te{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:te,useExisting:fe}]),i.qOj]}),fe})(),ni=(()=>{class fe extends _e{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:_e,useExisting:fe}]),i.qOj]}),fe})(),ln=(()=>{class fe extends ne{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["","matFooterCellDef",""]],features:[i._Bn([{provide:ne,useExisting:fe}]),i.qOj]}),fe})(),An=(()=>{class fe extends Se{get name(){return this._name}set name(ye){this._setNameInput(ye)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}
1}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:Se,useExisting:fe},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:fe}]),i.qOj]}),fe})(),bt=(()=>{class fe extends ot{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.qOj]}),fe})(),Xe=(()=>{class fe extends nt{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[i.qOj]}),fe})(),st=(()=>{class fe extends xt{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.qOj]}),fe})(),ct=(()=>{class fe extends We{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:We,useExisting:fe}]),i.qOj]}),fe})(),$t=(()=>{class fe extends Ot{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[i._Bn([{provide:Ot,useExisting:fe}]),i.qOj]}),fe})(),un=(()=>{class fe extends Et{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275dir=i.lG2({type:fe,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:Et,useExisting:fe}]),i.qOj]}),fe})(),$n=(()=>{class fe extends It{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275cmp=i.Xpm({type:fe,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:It,useExisting:fe}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ee){1&ye&&i.GkF(0,0)},directives:[Lt],encapsulation:2}),fe})(),Qn=(()=>{class fe extends it{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275cmp=i.Xpm({type:fe,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[i._Bn([{provide:it,useExisting:fe}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ee){1&ye&&i.GkF(0,0)},directives:[Lt],encapsulation:2}),fe})(),Fi=(()=>{class fe extends wt{}return fe.\u0275fac=function(){let Pe;return function(Ee){return(Pe||(Pe=i.n5z(fe)))(Ee||fe)}}(),fe.\u0275cmp=i.Xpm({type:fe,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i._Bn([{provide:wt,useExisting:fe}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,Ee){1&ye&&i.GkF(0,0)},directives:[Lt],encapsulation:2}),fe})(),bo=(()=>{class fe{}return fe.\u0275fac=function(ye){return new(ye||fe)},fe.\u0275mod=i.oAB({type:fe}),fe.\u0275inj=i.cJS({imports:[[Di,In.BQ],In.BQ]}),fe})();class xo extends e.o2{constructor(Pe=[]){super(),this._renderData=new C.X([]),this._filter=new C.X(""),this._internalPageChanges=new d.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ye,Ee)=>{const lt=ye[Ee];if((0,s.t6)(lt)){const Y=Number(lt);return Y<9007199254740991?Y:lt}return lt},this.sortData=(ye,Ee)=>{const lt=Ee.active,Y=Ee.direction;return lt&&""!=Y?ye.sort((Te,rt)=>{let Nt=this.sortingDataAccessor(Te,lt),Tn=this.sortingDataAccessor(rt,lt);const Ln=typeof Nt,Si=typeof Tn;Ln!==Si&&("number"===Ln&&(Nt+=""),"number"===Si&&(Tn+=""));let Ti=0;return null!=Nt&&null!=Tn?Nt>Tn?Ti=1:Nt<Tn&&(Ti=-1):null!=Nt?Ti=1:null!=Tn&&(Ti=-1),Ti*("asc"==Y?1:-1)}):ye},this.filterPredicate=(ye,Ee)=>{const lt=Object.keys(ye).reduce((Te,rt)=>Te+ye[rt]+"\u25ec","").toLowerCase(),Y=Ee.trim().toLowerCase();return-1!=lt.indexOf(Y)},this._data=new C.X(Pe),this._updateChangeSubscription()}get data(){return this._data.value}set data(Pe){Pe=Array.isArray(Pe)?Pe:[],this._data.next(Pe),this._renderChangesSubscription||this._filterData(Pe)}get filter(){return this._filter.value}set filter(Pe){this._filter.next(Pe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Pe){this._sort=Pe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Pe){this._paginator=Pe,this._updateChangeSubscription()}_updateChangeSubscription(){var Pe;const ye=this._sort?(0,Fn.T)(this._sort.sortChange,this._sort.initialized):(0,S.of)(null),Ee=this._paginator?(0,Fn.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,S.of)(null),Y=(0,ei.a)([this._data,this._filter]).pipe((0,Vi.U)(([Nt])=>this._filterData(Nt))),Te=(0,ei.a)([Y,ye]).pipe((0,Vi.U)(([Nt])=>this._orderData(Nt))),rt=(0,ei.a)([Te,Ee]).pipe((0,Vi.U)(([Nt])=>this._pageData(Nt)));null===(Pe=this._renderChangesSubscription)||void 0===Pe||Pe.unsubscribe(),this._renderChangesSubscription=rt.subscribe(Nt=>this._renderData.next(Nt))}_filterData(Pe){return this.filteredData=null==this.filter||""===this.filter?Pe:Pe.filter(ye=>this.filterPredicate(ye,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Pe){return this.sort?this.sortData(Pe.slice(),this.sort):Pe}_pageData(Pe){if(!this.paginator)return Pe;const ye=this.paginator.pageIndex*this.paginator.pageSize;return Pe.slice(ye,ye+this.paginator.pageSize)}_updatePaginator(Pe){Promise.resolve().then(()=>{const ye=this.paginator;if(ye&&(ye.length=Pe,ye.pageIndex>0)){const Ee=Math.ceil(ye.length/ye.pageSize)-1||0,lt=Math.min(ye.pageIndex,Ee);lt!==ye.pageIndex&&(ye.pageIndex=lt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Pe;null===(Pe=this._renderChangesSubscription)||void 0===Pe||Pe.unsubscribe(),this._renderChangesSubscription=null}}class Nn extends xo{}},3251:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Nh:()=>ni,SP:()=>Vi,Vc:()=>Ut,uD:()=>Mn,uX:()=>Je});var i=m(5664),s=m(7144),e=m(7429),l=m(60),d=m(5e3),A=m(508),C=m(6360),T=m(5698),S=m(8675),R=m(1884),q=m(2722),w=m(3900),k=m(5684),h=m(7579),O=m(727),E=m(4968),c=m(9646),Z=m(6451),v=m(515),ee=m(9751),X=m(5963),te=m(1777),_e=m(226),ne=m(3191),oe=m(1159),he=m(925),Se=m(2411);function Be(ln,An){1&ln&&d.Hsn(0)}const ot=["*"];function nt(ln,An){}const xt=function(ln){return{animationDuration:ln}},At=function(ln,An){return{value:ln,params:An}},Qt=["tabListContainer"],Vt=["tabList"],dt=["tabListInner"],Mt=["nextPaginator"],we=["previousPaginator"],me=["tabBodyWrapper"],We=["tabHeader"];function re(ln,An){}function ft(ln,An){if(1&ln&&d.YNc(0,re,0,0,"ng-template",10),2&ln){const bt=d.oxw().$implicit;d.Q6J("cdkPortalOutlet",bt.templateLabel)}}function Ot(ln,An){if(1&ln&&d._uU(0),2&ln){const bt=d.oxw().$implicit;d.Oqu(bt.textLabel)}}function Et(ln,An){if(1&ln){const bt=d.EpF();d.TgZ(0,"div",6),d.NdJ("click",function(){const st=d.CHM(bt),ct=st.$implicit,$t=st.index,un=d.oxw(),$n=d.MAs(1);return un._handleClick(ct,$n,$t)})("cdkFocusChange",function(st){const $t=d.CHM(bt).index;return d.oxw()._tabFocusChanged(st,$t)}),d.TgZ(1,"div",7),d.YNc(2,ft,1,1,"ng-template",8),d.YNc(3,Ot,1,1,"ng-template",null,9,d.W1O),d.qZA()()}if(2&ln){const bt=An.$implicit,Xe=An.index,st=d.MAs(4),ct=d.oxw();d.ekj("mat-tab-label-active",ct.selectedIndex===Xe),d.Q6J("id",ct._getTabLabelId(Xe))("ngClass",bt.labelClass)("disabled",bt.disabled)("matRippleDisabled",bt.disabled||ct.disableRipple),d.uIk("tabIndex",ct._getTabIndex(bt,Xe))("aria-posinset",Xe+1)("aria-setsize",ct._tabs.length)("aria-controls",ct._getTabContentId(Xe))("aria-selected",ct.selectedIndex===Xe)("aria-label",bt.ariaLabel||null)("aria-labelledby",!bt.ariaLabel&&bt.ariaLabelledby?bt.ariaLabelledby:null),d.xp6(2),d.Q6J("ngIf",bt.templateLabel)("ngIfElse",st)}}function Lt(ln,An){if(1&ln){const bt=d.EpF();d.TgZ(0,"mat-tab-body",11),d.NdJ("_onCentered",function(){return d.CHM(bt),d.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(st){return d.CHM(bt),d.oxw()._setTabBodyWrapperHeight(st)}),d.qZA()}if(2&ln){const bt=An.$implicit,Xe=An.index,st=d.oxw();d.ekj("mat-tab-body-active",st.selectedIndex===Xe),d.Q6J("id",st._getTabContentId(Xe))("ngClass",bt.bodyClass)("content",bt.content)("position",bt.position)("origin",bt.origin)("animationDuration",st.animationDuration),d.uIk("tabindex",null!=st.contentTabIndex&&st.selectedIndex===Xe?st.contentTabIndex:null)("aria-labelledby",st._getTabLabelId(Xe))}}const it=new d.OlP("MatInkBarPositioner",{providedIn:"root",factory:function wt(){return An=>({left:An?(An.offsetLeft||0)+"px":"0",width:An?(An.offsetWidth||0)+"px":"0"})}});let le=(()=>{class ln{constructor(bt,Xe,st,ct){this._elementRef=bt,this._ngZone=Xe,this._inkBarPositioner=st,this._animationMode=ct}alignToElement(bt){this.show(),this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(()=>{const Xe=this._inkBarPositioner(bt),st=this._elementRef.nativeElement;st.style.left=Xe.left,st.style.width=Xe.width})}
1show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq),d.Y36(d.R0b),d.Y36(it),d.Y36(C.Qb,8))},ln.\u0275dir=d.lG2({type:ln,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(bt,Xe){2&bt&&d.ekj("_mat-animation-noopable","NoopAnimations"===Xe._animationMode)}}),ln})();const Ne=new d.OlP("MatTabContent");let Ut=(()=>{class ln{constructor(bt){this.template=bt}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.Rgc))},ln.\u0275dir=d.lG2({type:ln,selectors:[["","matTabContent",""]],features:[d._Bn([{provide:Ne,useExisting:ln}])]}),ln})();const pn=new d.OlP("MatTabLabel"),Dn=new d.OlP("MAT_TAB");let Mn=(()=>{class ln extends e.ig{constructor(bt,Xe,st){super(bt,Xe),this._closestTab=st}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.Rgc),d.Y36(d.s_b),d.Y36(Dn,8))},ln.\u0275dir=d.lG2({type:ln,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[d._Bn([{provide:pn,useExisting:ln}]),d.qOj]}),ln})();const rn=(0,A.Id)(class{}),Ue=new d.OlP("MAT_TAB_GROUP");let Je=(()=>{class ln extends rn{constructor(bt,Xe){super(),this._viewContainerRef=bt,this._closestTabGroup=Xe,this.textLabel="",this._contentPortal=null,this._stateChanges=new h.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(bt){this._setTemplateLabelInput(bt)}get content(){return this._contentPortal}ngOnChanges(bt){(bt.hasOwnProperty("textLabel")||bt.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new e.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(bt){bt&&bt._closestTab===this&&(this._templateLabel=bt)}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.s_b),d.Y36(Ue,8))},ln.\u0275cmp=d.Xpm({type:ln,selectors:[["mat-tab"]],contentQueries:function(bt,Xe,st){if(1&bt&&(d.Suo(st,pn,5),d.Suo(st,Ne,7,d.Rgc)),2&bt){let ct;d.iGM(ct=d.CRH())&&(Xe.templateLabel=ct.first),d.iGM(ct=d.CRH())&&(Xe._explicitContent=ct.first)}},viewQuery:function(bt,Xe){if(1&bt&&d.Gf(d.Rgc,7),2&bt){let st;d.iGM(st=d.CRH())&&(Xe._implicitContent=st.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[d._Bn([{provide:Dn,useExisting:ln}]),d.qOj,d.TTD],ngContentSelectors:ot,decls:1,vars:0,template:function(bt,Xe){1&bt&&(d.F$t(),d.YNc(0,Be,1,0,"ng-template"))},encapsulation:2}),ln})();const De={translateTab:(0,te.X$)("translateTab",[(0,te.SB)("center, void, left-origin-center, right-origin-center",(0,te.oB)({transform:"none"})),(0,te.SB)("left",(0,te.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,te.SB)("right",(0,te.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,te.eR)("* => left, * => right, left => center, right => center",(0,te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,te.eR)("void => left-origin-center",[(0,te.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,te.eR)("void => right-origin-center",[(0,te.oB)({transform:"translate3d(100%, 0, 0)"}),(0,te.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let at=(()=>{class ln extends e.Pl{constructor(bt,Xe,st,ct){super(bt,Xe,ct),this._host=st,this._centeringSub=O.w0.EMPTY,this._leavingSub=O.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,S.O)(this._host._isCenterPosition(this._host._position))).subscribe(bt=>{bt&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d._Vd),d.Y36(d.s_b),d.Y36((0,d.Gpc)(()=>ge)),d.Y36(l.K0))},ln.\u0275dir=d.lG2({type:ln,selectors:[["","matTabBodyHost",""]],features:[d.qOj]}),ln})(),Ve=(()=>{class ln{constructor(bt,Xe,st){this._elementRef=bt,this._dir=Xe,this._dirChangeSubscription=O.w0.EMPTY,this._translateTabComplete=new h.x,this._onCentering=new d.vpe,this._beforeCentering=new d.vpe,this._afterLeavingCenter=new d.vpe,this._onCentered=new d.vpe(!0),this.animationDuration="500ms",Xe&&(this._dirChangeSubscription=Xe.change.subscribe(ct=>{this._computePositionAnimationState(ct),st.markForCheck()})),this._translateTabComplete.pipe((0,R.x)((ct,$t)=>ct.fromState===$t.fromState&&ct.toState===$t.toState)).subscribe(ct=>{this._isCenterPosition(ct.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(ct.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(bt){this._positionIndex=bt,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(bt){const Xe=this._isCenterPosition(bt.toState);this._beforeCentering.emit(Xe),Xe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(bt){return"center"==bt||"left-origin-center"==bt||"right-origin-center"==bt}_computePositionAnimationState(bt=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==bt?"left"
1:"right":this._positionIndex>0?"ltr"==bt?"right":"left":"center"}_computePositionFromOrigin(bt){const Xe=this._getLayoutDirection();return"ltr"==Xe&&bt<=0||"rtl"==Xe&&bt>0?"left-origin-center":"right-origin-center"}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq),d.Y36(_e.Is,8),d.Y36(d.sBO))},ln.\u0275dir=d.lG2({type:ln,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),ln})(),ge=(()=>{class ln extends Ve{constructor(bt,Xe,st){super(bt,Xe,st)}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq),d.Y36(_e.Is,8),d.Y36(d.sBO))},ln.\u0275cmp=d.Xpm({type:ln,selectors:[["mat-tab-body"]],viewQuery:function(bt,Xe){if(1&bt&&d.Gf(e.Pl,5),2&bt){let st;d.iGM(st=d.CRH())&&(Xe._portalHost=st.first)}},hostAttrs:[1,"mat-tab-body"],features:[d.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(bt,Xe){1&bt&&(d.TgZ(0,"div",0,1),d.NdJ("@translateTab.start",function(ct){return Xe._onTranslateTabStarted(ct)})("@translateTab.done",function(ct){return Xe._translateTabComplete.next(ct)}),d.YNc(2,nt,0,0,"ng-template",2),d.qZA()),2&bt&&d.Q6J("@translateTab",d.WLB(3,At,Xe._position,d.VKq(1,xt,Xe.animationDuration)))},directives:[at],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[De.translateTab]}}),ln})();const et=new d.OlP("MAT_TABS_CONFIG"),_t=(0,A.Id)(class{});let jt=(()=>{class ln extends _t{constructor(bt){super(),this.elementRef=bt}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq))},ln.\u0275dir=d.lG2({type:ln,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(bt,Xe){2&bt&&(d.uIk("aria-disabled",!!Xe.disabled),d.ekj("mat-tab-disabled",Xe.disabled))},inputs:{disabled:"disabled"},features:[d.qOj]}),ln})();const Xt=(0,he.i$)({passive:!0});let Bn=(()=>{class ln{constructor(bt,Xe,st,ct,$t,un,$n){this._elementRef=bt,this._changeDetectorRef=Xe,this._viewportRuler=st,this._dir=ct,this._ngZone=$t,this._platform=un,this._animationMode=$n,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new h.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new h.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new d.vpe,this.indexFocused=new d.vpe,$t.runOutsideAngular(()=>{(0,E.R)(bt.nativeElement,"mouseleave").pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(bt){bt=(0,ne.su)(bt),this._selectedIndex!=bt&&(this._selectedIndexChanged=!0,this._selectedIndex=bt,this._keyManager&&this._keyManager.updateActiveItem(bt))}ngAfterViewInit(){(0,E.R)(this._previousPaginator.nativeElement,"touchstart",Xt).pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,E.R)(this._nextPaginator.nativeElement,"touchstart",Xt).pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const bt=this._dir?this._dir.change:(0,c.of)("ltr"),Xe=this._viewportRuler.change(150),st=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(st),(0,Z.T)(bt,Xe,this._items.changes,this._itemsResized()).pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),st
1()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,q.R)(this._destroyed)).subscribe(ct=>{this.indexFocused.emit(ct),this._setTabFocus(ct)})}_itemsResized(){return"function"!=typeof ResizeObserver?v.E:this._items.changes.pipe((0,S.O)(this._items),(0,w.w)(bt=>new ee.y(Xe=>this._ngZone.runOutsideAngular(()=>{const st=new ResizeObserver(()=>{Xe.next()});return bt.forEach(ct=>{st.observe(ct.elementRef.nativeElement)}),()=>{st.disconnect()}}))),(0,k.T)(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(bt){if(!(0,oe.Vb)(bt))switch(bt.keyCode){case oe.K5:case oe.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(bt));break;default:this._keyManager.onKeydown(bt)}}_onContentChanges(){const bt=this._elementRef.nativeElement.textContent;bt!==this._currentTextContent&&(this._currentTextContent=bt||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(bt){!this._isValidIndex(bt)||this.focusIndex===bt||!this._keyManager||this._keyManager.setActiveItem(bt)}_isValidIndex(bt){if(!this._items)return!0;const Xe=this._items?this._items.toArray()[bt]:null;return!!Xe&&!Xe.disabled}_setTabFocus(bt){if(this._showPaginationControls&&this._scrollToLabel(bt),this._items&&this._items.length){this._items.toArray()[bt].focus();const Xe=this._tabListContainer.nativeElement;Xe.scrollLeft="ltr"==this._getLayoutDirection()?0:Xe.scrollWidth-Xe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const bt=this.scrollDistance,Xe="ltr"===this._getLayoutDirection()?-bt:bt;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Xe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(bt){this._scrollTo(bt)}_scrollHeader(bt){return this._scrollTo(this._scrollDistance+("before"==bt?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(bt){this._stopInterval(),this._scrollHeader(bt)}_scrollToLabel(bt){if(this.disablePagination)return;const Xe=this._items?this._items.toArray()[bt]:null;if(!Xe)return;const st=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:ct,offsetWidth:$t}=Xe.elementRef.nativeElement;let un,$n;"ltr"==this._getLayoutDirection()?(un=ct,$n=un+$t):($n=this._tabListInner.nativeElement.offsetWidth-ct,un=$n-$t);const Qn=this.scrollDistance,Fi=this.scrollDistance+st;un<Qn?this.scrollDistance-=Qn-un+60:$n>Fi&&(this.scrollDistance+=$n-Fi+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const bt=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;bt||(this.scrollDistance=0),bt!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=bt}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const bt=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Xe=bt?bt.elementRef.nativeElement:null;Xe?this._inkBar.alignToElement(Xe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(bt,Xe){Xe&&null!=Xe.button&&0!==Xe.button||(this._stopInterval(),(0,X.H)(650,100).pipe((0,q.R)((0,Z.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:st,distance:ct}=this._scrollHeader(bt);(0===ct||ct>=st)&&this._stopInterval()}))}_scrollTo(bt){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Xe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Xe,bt)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Xe,distance:this._scrollDistance}}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(Se.rL),d.Y36(_e.Is,8),d.Y36(d.R0b),d.Y36(he.t4),d.Y36(C.Qb,8))},ln.\u0275dir=d.lG2({type:ln,inputs:{disablePagination:"disablePagination"}}),ln})(),di=(()=>{class ln extends Bn{constructor(bt,Xe,st,ct,$t,un,$n){super(bt,Xe,st,ct,$t,un,$n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(bt){this._disableRipple=(0,ne.Ig)(bt)}_itemSelected(bt){bt.preventDefault()}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(Se.rL),d.Y36(_e.Is,8),d.Y36(d.R0b),d.Y36(he.t4),d.Y36(C.Qb,8))},ln.\u0275dir=d.lG2({type:ln,inputs:{disableRipple:"disableRipple"},features:[d.qOj]}),ln})(),ui=(()=>{class ln extends di{constructor(bt,Xe,st,ct,$t,un,$n){super(bt,Xe,st,ct,$t,un,$n)}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(Se.rL),d.Y36(_e.Is,8),d.Y36(d.R0b),d.Y36(he.t4),d.Y36(C.Qb,8))},ln.\u0275cmp=d.Xpm({type:ln,selectors:[["mat-tab-header"]],contentQueries:function(bt,Xe,st){if(1&bt&&d.Suo(st,
1jt,4),2&bt){let ct;d.iGM(ct=d.CRH())&&(Xe._items=ct)}},viewQuery:function(bt,Xe){if(1&bt&&(d.Gf(le,7),d.Gf(Qt,7),d.Gf(Vt,7),d.Gf(dt,7),d.Gf(Mt,5),d.Gf(we,5)),2&bt){let st;d.iGM(st=d.CRH())&&(Xe._inkBar=st.first),d.iGM(st=d.CRH())&&(Xe._tabListContainer=st.first),d.iGM(st=d.CRH())&&(Xe._tabList=st.first),d.iGM(st=d.CRH())&&(Xe._tabListInner=st.first),d.iGM(st=d.CRH())&&(Xe._nextPaginator=st.first),d.iGM(st=d.CRH())&&(Xe._previousPaginator=st.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(bt,Xe){2&bt&&d.ekj("mat-tab-header-pagination-controls-enabled",Xe._showPaginationControls)("mat-tab-header-rtl","rtl"==Xe._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[d.qOj],ngContentSelectors:ot,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(bt,Xe){1&bt&&(d.F$t(),d.TgZ(0,"button",0,1),d.NdJ("click",function(){return Xe._handlePaginatorClick("before")})("mousedown",function(ct){return Xe._handlePaginatorPress("before",ct)})("touchend",function(){return Xe._stopInterval()}),d._UZ(2,"div",2),d.qZA(),d.TgZ(3,"div",3,4),d.NdJ("keydown",function(ct){return Xe._handleKeydown(ct)}),d.TgZ(5,"div",5,6),d.NdJ("cdkObserveContent",function(){return Xe._onContentChanges()}),d.TgZ(7,"div",7,8),d.Hsn(9),d.qZA(),d._UZ(10,"mat-ink-bar"),d.qZA()(),d.TgZ(11,"button",9,10),d.NdJ("mousedown",function(ct){return Xe._handlePaginatorPress("after",ct)})("click",function(){return Xe._handlePaginatorClick("after")})("touchend",function(){return Xe._stopInterval()}),d._UZ(13,"div",2),d.qZA()),2&bt&&(d.ekj("mat-tab-header-pagination-disabled",Xe._disableScrollBefore),d.Q6J("matRippleDisabled",Xe._disableScrollBefore||Xe.disableRipple)("disabled",Xe._disableScrollBefore||null),d.xp6(5),d.ekj("_mat-animation-noopable","NoopAnimations"===Xe._animationMode),d.xp6(6),d.ekj("mat-tab-header-pagination-disabled",Xe._disableScrollAfter),d.Q6J("matRippleDisabled",Xe._disableScrollAfter||Xe.disableRipple)("disabled",Xe._disableScrollAfter||null))},directives:[A.wG,s.wD,le],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;
1cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),ln})(),Di=0;class In{}const Fn=(0,A.pj)((0,A.Kr)(class{constructor(ln){this._elementRef=ln}}),"primary");let ei=(()=>{class ln extends Fn{constructor(bt,Xe,st,ct){var $t;super(bt),this._changeDetectorRef=Xe,this._animationMode=ct,this._tabs=new d.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=O.w0.EMPTY,this._tabLabelSubscription=O.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new d.vpe,this.focusChange=new d.vpe,this.animationDone=new d.vpe,this.selectedTabChange=new d.vpe(!0),this._groupId=Di++,this.animationDuration=st&&st.animationDuration?st.animationDuration:"500ms",this.disablePagination=!(!st||null==st.disablePagination)&&st.disablePagination,this.dynamicHeight=!(!st||null==st.dynamicHeight)&&st.dynamicHeight,this.contentTabIndex=null!==($t=null==st?void 0:st.contentTabIndex)&&void 0!==$t?$t:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(bt){this._dynamicHeight=(0,ne.Ig)(bt)}get selectedIndex(){return this._selectedIndex}set selectedIndex(bt){this._indexToSelect=(0,ne.su)(bt,null)}get animationDuration(){return this._animationDuration}set animationDuration(bt){this._animationDuration=/^\d+$/.test(bt+"")?bt+"ms":bt}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(bt){this._contentTabIndex=(0,ne.su)(bt,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(bt){const Xe=this._elementRef.nativeElement;Xe.classList.remove(`mat-background-${this.backgroundColor}`),bt&&Xe.classList.add(`mat-background-${bt}`),this._backgroundColor=bt}ngAfterContentChecked(){const bt=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=bt){const Xe=null==this._selectedIndex;if(!Xe){this.selectedTabChange.emit(this._createChangeEvent(bt));const st=this._tabBodyWrapper.nativeElement;st.style.minHeight=st.clientHeight+"px"}Promise.resolve().then(()=>
1{this._tabs.forEach((st,ct)=>st.isActive=ct===bt),Xe||(this.selectedIndexChange.emit(bt),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Xe,st)=>{Xe.position=st-bt,null!=this._selectedIndex&&0==Xe.position&&!Xe.origin&&(Xe.origin=bt-this._selectedIndex)}),this._selectedIndex!==bt&&(this._selectedIndex=bt,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const bt=this._clampTabIndex(this._indexToSelect);if(bt===this._selectedIndex){const Xe=this._tabs.toArray();let st;for(let ct=0;ct<Xe.length;ct++)if(Xe[ct].isActive){this._indexToSelect=this._selectedIndex=ct,this._lastFocusedTabIndex=null,st=Xe[ct];break}!st&&Xe[bt]&&Promise.resolve().then(()=>{Xe[bt].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(bt))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,S.O)(this._allTabs)).subscribe(bt=>{this._tabs.reset(bt.filter(Xe=>Xe._closestTabGroup===this||!Xe._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(bt){const Xe=this._tabHeader;Xe&&(Xe.focusIndex=bt)}
1_focusChanged(bt){this._lastFocusedTabIndex=bt,this.focusChange.emit(this._createChangeEvent(bt))}_createChangeEvent(bt){const Xe=new In;return Xe.index=bt,this._tabs&&this._tabs.length&&(Xe.tab=this._tabs.toArray()[bt]),Xe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,Z.T)(...this._tabs.map(bt=>bt._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(bt){return Math.min(this._tabs.length-1,Math.max(bt||0,0))}_getTabLabelId(bt){return`mat-tab-label-${this._groupId}-${bt}`}_getTabContentId(bt){return`mat-tab-content-${this._groupId}-${bt}`}_setTabBodyWrapperHeight(bt){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Xe=this._tabBodyWrapper.nativeElement;Xe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Xe.style.height=bt+"px")}_removeTabBodyWrapperHeight(){const bt=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=bt.clientHeight,bt.style.height="",this.animationDone.emit()}_handleClick(bt,Xe,st){bt.disabled||(this.selectedIndex=Xe.focusIndex=st)}_getTabIndex(bt,Xe){var st;return bt.disabled?null:Xe===(null!==(st=this._lastFocusedTabIndex)&&void 0!==st?st:this.selectedIndex)?0:-1}_tabFocusChanged(bt,Xe){bt&&"mouse"!==bt&&"touch"!==bt&&(this._tabHeader.focusIndex=Xe)}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(et,8),d.Y36(C.Qb,8))},ln.\u0275dir=d.lG2({type:ln,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[d.qOj]}),ln})(),Vi=(()=>{class ln extends ei{constructor(bt,Xe,st,ct){super(bt,Xe,st,ct)}}return ln.\u0275fac=function(bt){return new(bt||ln)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(et,8),d.Y36(C.Qb,8))},ln.\u0275cmp=d.Xpm({type:ln,selectors:[["mat-tab-group"]],contentQueries:function(bt,Xe,st){if(1&bt&&d.Suo(st,Je,5),2&bt){let ct;d.iGM(ct=d.CRH())&&(Xe._allTabs=ct)}},viewQuery:function(bt,Xe){if(1&bt&&(d.Gf(me,5),d.Gf(We,5)),2&bt){let st;d.iGM(st=d.CRH())&&(Xe._tabBodyWrapper=st.first),d.iGM(st=d.CRH())&&(Xe._tabHeader=st.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(bt,Xe){2&bt&&d.ekj("mat-tab-group-dynamic-height",Xe.dynamicHeight)("mat-tab-group-inverted-header","below"===Xe.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[d._Bn([{provide:Ue,useExisting:ln}]),d.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(bt,Xe){1&bt&&(d.TgZ(0,"mat-tab-header",0,1),d.NdJ("indexFocused",function(ct){return Xe._focusChanged(ct)})("selectFocusedIndex",function(ct){return Xe.selectedIndex=ct}),d.YNc(2,Et,5,15,"div",2),d.qZA(),d.TgZ(3,"div",3,4),d.YNc(5,Lt,1,10,"mat-tab-body",5),d.qZA()),2&bt&&(d.Q6J("selectedIndex",Xe.selectedIndex||0)("disableRipple",Xe.disableRipple)("disablePagination",Xe.disablePagination),d.xp6(2),d.Q6J("ngForOf",Xe._tabs),d.xp6(1),d.ekj("_mat-animation-noopable","NoopAnimations"===Xe._animationMode),d.xp6(2),d.Q6J("ngForOf",Xe._tabs)
1)},directives:[ui,ge,l.sg,jt,A.wG,i.kH,l.mk,l.O5,e.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),ln})(),ni=(()=>{class ln{}return ln.\u0275fac=function(bt){return new(bt||ln)},ln.\u0275mod=d.oAB({type:ln}),ln.\u0275inj=d.cJS({imports:[[l.ez,A.BQ,e.eL,A.si,s.Q8,i.rt],A.BQ]}),ln})()},7238:(Yt,Ze,m)=>{"use strict";m.d(Ze,{AV:()=>Vt,gM:()=>xt});var i=m(1314),s=m(5664),e=m(60),l=m(5e3),d=m(508),A=m(2411),C=m(3191),T=m(1159),S=m(5113),R=m(925),q=m(7429),w=m(6360),k=m(7579),h=m(2722),O=m(5698),E=m(226);m(1777);const Z=["tooltip"],X="tooltip-panel",te=(0,R.i$)({passive:!0}),oe=new l.OlP("mat-tooltip-scroll-strategy"),Se={provide:oe,deps:[i.aV],useFactory:function he(Mt){return()=>Mt.scrollStrategies.reposition({scrollThrottle:20})}},Be=new l.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function ot(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let nt=(()=>{class Mt{constructor(me,We,re,ft,Ot,Et,Lt,It,it,wt,le,Ne){this._overlay=me,this._elementRef=We,this._scrollDispatcher=re,this._viewContainerRef=ft,this._ngZone=Ot,this._platform=Et,this._ariaDescriber=Lt,this._focusMonitor=It,this._dir=wt,this._defaultOptions=le,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new k.x,this._scrollStrategy=it,this._document=Ne,le&&(le.position&&(this.position=le.position),le.touchGestures&&(this.touchGestures=le.touchGestures)),wt.change.pipe((0,h.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(me){var We;me!==this._position&&(this._position=me,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(We=this._tooltipInstance)||void 0===We||We.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(me){this._disabled=(0,C.Ig)(me),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(me){this._showDelay=(0,C.su)(me)}get hideDelay(){return this._hideDelay}set hideDelay(me){this._hideDelay=(0,C.su)(me),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(me){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=me?String(me).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(me){this._tooltipClass=me,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,h.R)(this._destroyed)).subscribe(me=>{me?"keyboard"===me&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const me=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEac
1h(([We,re])=>{me.removeEventListener(We,re,te)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(me,this.message,"tooltip"),this._focusMonitor.stopMonitoring(me)}show(me=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const We=this._createOverlay();this._detach(),this._portal=this._portal||new q.C5(this._tooltipComponent,this._viewContainerRef);const re=this._tooltipInstance=We.attach(this._portal).instance;re._triggerElement=this._elementRef.nativeElement,re._mouseLeaveHideDelay=this._hideDelay,re.afterHidden().pipe((0,h.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),re.show(me)}hide(me=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(me)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var me;if(this._overlayRef)return this._overlayRef;const We=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),re=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(We);return re.positionChanges.pipe((0,h.R)(this._destroyed)).subscribe(ft=>{this._updateCurrentPositionClass(ft.connectionPair),this._tooltipInstance&&ft.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:re,panelClass:`${this._cssClassPrefix}-${X}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,h.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,h.R)(this._destroyed)).subscribe(()=>{var ft;return null===(ft=this._tooltipInstance)||void 0===ft?void 0:ft._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,h.R)(this._destroyed)).subscribe(ft=>{this._isTooltipVisible()&&ft.keyCode===T.hY&&!(0,T.Vb)(ft)&&(ft.preventDefault(),ft.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(me=this._defaultOptions)||void 0===me?void 0:me.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(me){const We=me.getConfig().positionStrategy,re=this._getOrigin(),ft=this._getOverlayPosition();We.withPositions([this._addOffset(Object.assign(Object.assign({},re.main),ft.main)),this._addOffset(Object.assign(Object.assign({},re.fallback),ft.fallback))])}_addOffset(me){return me}_getOrigin(){const me=!this._dir||"ltr"==this._dir.value,We=this.position;let re;"above"==We||"below"==We?re={originX:"center",originY:"above"==We?"top":"bottom"}:"before"==We||"left"==We&&me||"right"==We&&!me?re={originX:"start",originY:"center"}:("after"==We||"right"==We&&me||"left"==We&&!me)&&(re={originX:"end",originY:"center"});const{x:ft,y:Ot}=this._invertPosition(re.originX,re.originY);return{main:re,fallback:{originX:ft,originY:Ot}}
1}_getOverlayPosition(){const me=!this._dir||"ltr"==this._dir.value,We=this.position;let re;"above"==We?re={overlayX:"center",overlayY:"bottom"}:"below"==We?re={overlayX:"center",overlayY:"top"}:"before"==We||"left"==We&&me||"right"==We&&!me?re={overlayX:"end",overlayY:"center"}:("after"==We||"right"==We&&me||"left"==We&&!me)&&(re={overlayX:"start",overlayY:"center"});const{x:ft,y:Ot}=this._invertPosition(re.overlayX,re.overlayY);return{main:re,fallback:{overlayX:ft,overlayY:Ot}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,O.q)(1),(0,h.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(me){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=me,this._tooltipInstance._markForCheck())}_invertPosition(me,We){return"above"===this.position||"below"===this.position?"top"===We?We="bottom":"bottom"===We&&(We="top"):"end"===me?me="start":"start"===me&&(me="end"),{x:me,y:We}}_updateCurrentPositionClass(me){const{overlayY:We,originX:re,originY:ft}=me;let Ot;if(Ot="center"===We?this._dir&&"rtl"===this._dir.value?"end"===re?"left":"right":"start"===re?"left":"right":"bottom"===We&&"top"===ft?"above":"below",Ot!==this._currentPosition){const Et=this._overlayRef;if(Et){const Lt=`${this._cssClassPrefix}-${X}-`;Et.removePanelClass(Lt+this._currentPosition),Et.addPanelClass(Lt+Ot)}this._currentPosition=Ot}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}
1])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const me=[];if(this._platformSupportsMouseEvents())me.push(["mouseleave",We=>{var re;const ft=We.relatedTarget;(!ft||!(null===(re=this._overlayRef)||void 0===re?void 0:re.overlayElement.contains(ft)))&&this.hide()}],["wheel",We=>this._wheelListener(We)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const We=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};me.push(["touchend",We],["touchcancel",We])}this._addListeners(me),this._passiveListeners.push(...me)}_addListeners(me){me.forEach(([We,re])=>{this._elementRef.nativeElement.addEventListener(We,re,te)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(me){if(this._isTooltipVisible()){const We=this._document.elementFromPoint(me.clientX,me.clientY),re=this._elementRef.nativeElement;We!==re&&!re.contains(We)&&this.hide()}}_disableNativeGesturesIfNecessary(){const me=this.touchGestures;if("off"!==me){const We=this._elementRef.nativeElement,re=We.style;("on"===me||"INPUT"!==We.nodeName&&"TEXTAREA"!==We.nodeName)&&(re.userSelect=re.msUserSelect=re.webkitUserSelect=re.MozUserSelect="none"),("on"===me||!We.draggable)&&(re.webkitUserDrag="none"),re.touchAction="none",re.webkitTapHighlightColor="transparent"}}}return Mt.\u0275fac=function(me){l.$Z()},Mt.\u0275dir=l.lG2({type:Mt,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),Mt})(),xt=(()=>{class Mt extends nt{constructor(me,We,re,ft,Ot,Et,Lt,It,it,wt,le,Ne){super(me,We,re,ft,Ot,Et,Lt,It,it,wt,le,Ne),this._tooltipComponent=Qt}}return Mt.\u0275fac=function(me){return new(me||Mt)(l.Y36(i.aV),l.Y36(l.SBq),l.Y36(A.mF),l.Y36(l.s_b),l.Y36(l.R0b),l.Y36(R.t4),l.Y36(s.$s),l.Y36(s.tE),l.Y36(oe),l.Y36(E.Is,8),l.Y36(Be,8),l.Y36(e.K0))},Mt.\u0275dir=l.lG2({type:Mt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[l.qOj]}),Mt})(),At=(()=>{class Mt{constructor(me,We){this._changeDetectorRef=me,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new k.x,this._animationsDisabled="NoopAnimations"===We}show(me){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},me)}hide(me){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},me)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:me}){(!me||!this._triggerElement.contains(me))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:me}){(me===this._showAnimation||me===this._hideAnimation)&&this._finalizeAnimation(me===this._showAnimation)}_finalizeAnimation(me){me?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(me){const We=this._tooltip.nativeElement,re=this._showAnimation,ft=this._hideAnimation;if(We.classList.remove(me?ft:re),We.classList.add(me?re:ft),this._isVisible=me,me&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ot=getComputedStyle(We);("0s"===Ot.getPropertyValue("animation-duration")||"none"===Ot.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}me&&this._onShow(),this._animationsDisabled&&(We.classList.add("_mat-animation-noopable"),this._finalizeAnimation(me))}}return Mt.\u0275fac=function(me){return new(me||Mt)(l.Y36(l.sBO),l.Y36(w.Qb,8))},Mt.\u0275dir=l.lG2({type:Mt}),Mt})(),Qt=(()=>{class Mt extends At{constructor(me,We,re){super(me,re),this._breakpointObserver=We,this._isHandset=this._breakpointObserver.observe(S.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return Mt.\u0275fac=function(me){return new(me||Mt)(l.Y36(l.sBO),l.Y36(S.Yg),l.Y36(w.Qb,8))},Mt.\u0275cmp=l.Xpm({type:Mt,selectors:[["mat-tooltip-component"]],viewQuery:function(me,We){if(1&me&&l.Gf(Z,7),2&me){let re;l.iGM(re=l.CRH())&&(We._tooltip=re.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(me,We){1&me&&l.NdJ("mouseleave",function(ft){return We._handleMouseLeave(ft)}),2&me&&l.Udp("zoom",We.isVisible()?1:null)},features:[l.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(me,We){if(1&me&&(l.TgZ(0,"div",0,1),l.NdJ("animationend",function(ft){return We._handleAnimationEnd(ft)}),l.ALo(2,"async"),l._uU(3),l.qZA()),2&me){let re;l.ekj("mat-tooltip-handset",null==(re=l.lcZ(2,4,We._isHandset))?null:re.matches),l.Q6J("ngClass",We.tooltipClass),l.xp6(3),l.Oqu(We.message)}},directives:[e.mk],pipes:[e.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),Mt})(),Vt=(()=>{class Mt{}return Mt.\u0275fac=function(me){return new(me||Mt)},Mt.\u0275mod=l.oAB({type:Mt}),Mt.\u0275inj=l.cJS({providers:[Se],imports:[[s.rt,e.ez,i.U8,d.BQ],d.BQ,A.ZD]}),Mt})()},149:(Yt,Ze,m)=>{"use strict";m.d(Ze,{JZ:()=>ee,ah:()=>h,dp:()=>v,eu:()=>c,fQ:()=>w,gi:()=>E,kc:()=>X,uo:()=>q});var i=m(8258),s=m(5e3),e=m(508),d=(m(3191),m(449)),A=m(1135),C=m(6451),T=m(5698),S=m(4004);const R=(0,e.sb)((0,e.Id)(i.Hs));let q=(()=>{class _e extends R{constructor(oe,he,Se){super(oe,he),this.tabIndex=Number(Se)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return _e.\u0275fac=function(oe){return new(oe||_e)(s.Y36(s.SBq),s.Y36(i._0),s.$8M("tabindex"))},_e.\u0275dir=s.lG2({type:_e,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[s._Bn([{provide:i.Hs,useExisting:_e}]),s.qOj]}),_e})(),w=(()=>{class _e extends i.rO{}return _e.\u0275fac=function(){let ne;return function(he){return(ne||(ne=s.n5z(_e)))(he||_e)}}(),_e.\u0275dir=s.lG2({type:_e,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[s._Bn([{provide:i.rO,useExisting:_e}]),s.qOj]}),_e})(),h=(()=>{class _e extends i.XJ{get level(){return this._level}set level(oe){this._setLevelInput(oe)}get indent(){return this._indent}set indent(oe){this._setIndentInput(oe)}}return _e.\u0275fac=function(){let ne;return function(he){return(ne||(ne=s.n5z(_e)))(he||_e)}}(),_e.\u0275dir=s.lG2({type:_e,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[s._Bn([{provide:i.XJ,useExisting:_e}]),s.qOj]}),_e})(),O=(()=>{class _e{constructor(oe,he){this.viewContainer=oe,this._node=he}}return _e.\u0275fac=function(oe){return new(oe||_e)(s.Y36(s.s_b),s.Y36(i.HI,8))},_e.\u0275dir=s.lG2({type:_e,selectors:[["","matTreeNodeOutlet",""]],features:[s._Bn([{provide:i.cu,useExisting:_e}])]}),_e})(),E=(()=>{class _e extends i._0{}return _e.\u0275fac=function(){let ne;return function(he){return(ne||(ne=s.n5z(_e)))(he||_e)}}(),_e.\u0275cmp=s.Xpm({type:_e,selectors:[["mat-tree"]],viewQuery:function(oe,he){if(1&oe&&s.Gf(O,7),2&oe){let Se;s.iGM(Se=s.CRH())&&(he._nodeOutlet=Se.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[s._Bn([{provide:i._0,useExisting:_e}]),s.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(oe,he){1&oe&&s.GkF(0,0)},directives:[O],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),_e})(),c=(()=>{class _e extends i.Ud{}return _e.\u0275fac=function(){let ne;return function(he){return(ne||(ne=s.n5z(_e)))(he||_e)}}(),_e.\u0275dir=s.lG2({type:_e,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[s._Bn([{provide:i.Ud,useExisting:_e}]),s.qOj]}),_e})(),v=(()=>{class _e{}return _e.\u0275fac=function(oe){return new(oe||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({imports:[[i.nZ,e.BQ],e.BQ]}),_e})();class ee{constructor(ne,oe,he,Se){this.transformFunction=ne,this.getLevel=oe,this.isExpandable=he,this.getChildren=Se}_flattenNode(ne,oe,he,Se){const Be=this.transformFunction(ne,oe);
1if(he.push(Be),this.isExpandable(Be)){const ot=this.getChildren(ne);ot&&(Array.isArray(ot)?this._flattenChildren(ot,oe,he,Se):ot.pipe((0,T.q)(1)).subscribe(nt=>{this._flattenChildren(nt,oe,he,Se)}))}return he}_flattenChildren(ne,oe,he,Se){ne.forEach((Be,ot)=>{let nt=Se.slice();nt.push(ot!=ne.length-1),this._flattenNode(Be,oe+1,he,nt)})}flattenNodes(ne){let oe=[];return ne.forEach(he=>this._flattenNode(he,0,oe,[])),oe}expandFlattenedNodes(ne,oe){let he=[],Se=[];return Se[0]=!0,ne.forEach(Be=>{let ot=!0;for(let nt=0;nt<=this.getLevel(Be);nt++)ot=ot&&Se[nt];ot&&he.push(Be),this.isExpandable(Be)&&(Se[this.getLevel(Be)+1]=oe.isExpanded(Be))}),he}}class X extends d.o2{constructor(ne,oe,he){super(),this._treeControl=ne,this._treeFlattener=oe,this._flattenedData=new A.X([]),this._expandedData=new A.X([]),this._data=new A.X([]),he&&(this.data=he)}get data(){return this._data.value}set data(ne){this._data.next(ne),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(ne){return(0,C.T)(ne.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,S.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}},6360:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Qb:()=>ds,PW:()=>Ea});var i=m(5e3),s=m(2313),e=m(1777);const l=!1;function A(Fe){return new i.vHH(3e3,l)}function Ot(){return"undefined"!=typeof window&&void 0!==window.document}function Et(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Lt(Fe){switch(Fe.length){case 0:return new e.ZN;case 1:return Fe[0];default:return new e.ZE(Fe)}}function It(Fe,B,j,pe,Ge={},Tt={}){const Gt=[],Jt=[];let sn=-1,Vn=null;if(pe.forEach(li=>{const wi=li.offset,Qi=wi==sn,Xi=Qi&&Vn||{};Object.keys(li).forEach(Ui=>{let eo=Ui,Io=li[Ui];if("offset"!==Ui)switch(eo=B.normalizePropertyName(eo,Gt),Io){case e.k1:Io=Ge[Ui];break;case e.l3:Io=Tt[Ui];break;default:Io=B.normalizeStyleValue(Ui,eo,Io,Gt)}Xi[eo]=Io}),Qi||Jt.push(Xi),Vn=Xi,sn=wi}),Gt.length)throw function nt(Fe){return new i.vHH(3502,l)}();return Jt}function it(Fe,B,j,pe){switch(B){case"start":Fe.onStart(()=>pe(j&&wt(j,"start",Fe)));break;case"done":Fe.onDone(()=>pe(j&&wt(j,"done",Fe)));break;case"destroy":Fe.onDestroy(()=>pe(j&&wt(j,"destroy",Fe)))}}function wt(Fe,B,j){const pe=j.totalTime,Tt=le(Fe.element,Fe.triggerName,Fe.fromState,Fe.toState,B||Fe.phaseName,null==pe?Fe.totalTime:pe,!!j.disabled),Gt=Fe._data;return null!=Gt&&(Tt._data=Gt),Tt}function le(Fe,B,j,pe,Ge="",Tt=0,Gt){return{element:Fe,triggerName:B,fromState:j,toState:pe,phaseName:Ge,totalTime:Tt,disabled:!!Gt}}function Ne(Fe,B,j){let pe;return Fe instanceof Map?(pe=Fe.get(B),pe||Fe.set(B,pe=j)):(pe=Fe[B],pe||(pe=Fe[B]=j)),pe}function Ut(Fe){const B=Fe.indexOf(":");return[Fe.substring(1,B),Fe.substr(B+1)]}let pn=(Fe,B)=>!1,Dn=(Fe,B,j)=>[],Mn=null;function rn(Fe){const B=Fe.parentNode||Fe.host;return B===Mn?null:B}(Et()||"undefined"!=typeof Element)&&(Ot()?(Mn=(()=>document.documentElement)(),pn=(Fe,B)=>{for(;B;){if(B===Fe)return!0;B=rn(B)}return!1}):pn=(Fe,B)=>Fe.contains(B),Dn=(Fe,B,j)=>{if(j)return Array.from(Fe.querySelectorAll(B));const pe=Fe.querySelector(B);return pe?[pe]:[]});let De=null,at=!1;function Ve(Fe){De||(De=function ge(){return"undefined"!=typeof document?document.body:null}()||{},at=!!De.style&&"WebkitAppearance"in De.style);let B=!0;return De.style&&!function Je(Fe){return"ebkit"==Fe.substring(1,6)}(Fe)&&(B=Fe in De.style,!B&&at&&(B="Webkit"+Fe.charAt(0).toUpperCase()+Fe.substr(1)in De.style)),B}const et=pn,_t=Dn;let Xt=(()=>{class Fe{validateStyleProperty(j){return Ve(j)}matchesElement(j,pe){return!1}containsElement(j,pe){return et(j,pe)}getParentElement(j){return rn(j)}query(j,pe,Ge){return _t(j,pe,Ge)}computeStyle(j,pe,Ge){return Ge||""}animate(j,pe,Ge,Tt,Gt,Jt=[],sn){return new e.ZN(Ge,Tt)}}return Fe.\u0275fac=function(j){return new(j||Fe)},Fe.\u0275prov=i.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})(),Cn=(()=>{class Fe{}return Fe.NOOP=new Xt,Fe})();const di="ng-enter",ui="ng-leave",Di="ng-trigger",In=".ng-trigger",Fn="ng-animating",ei=".ng-animating";function Vi(Fe){if("number"==typeof Fe)return Fe;const B=Fe.match(/^(-?[\.\d]+)(m?s)/);return!B||B.length<2?0:gt(parseFloat(B[1]),B[2])}function gt(Fe,B){return"s"===B?1e3*Fe:Fe}function He(Fe,B,j){return Fe.hasOwnProperty("duration")?Fe:function Oe(Fe,B,j){let Ge,Tt=0,Gt="";if("string"==typeof Fe){const Jt=Fe.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Jt)return B.push(A()),{duration:0,delay:0,easing:""};Ge=gt(parseFloat(Jt[1]),Jt[2]);const sn=Jt[3];null!=sn&&(Tt=gt(parseFloat(sn),Jt[4]));const Vn=Jt[5];Vn&&(Gt=Vn)}else Ge=Fe;if(!j){let Jt=!1,sn=B.length;Ge<0&&(B.push(function C(){return new i.vHH(3100,l)}()),Jt=!0),Tt<0&&(B.push(function T(){return new i.vHH(3101,l)}()),Jt=!0),Jt&&B.splice(sn,0,A())}return{duration:Ge,delay:Tt,easing:Gt}}(Fe,B,j)}function pt(Fe,B={}){return Object.keys(Fe).forEach(j=>{B[j]=Fe[j]}),B}function fn(Fe,B,j={}){if(B)for(let pe in Fe)j[pe]=Fe[pe];else pt(Fe,j);return j}function Zn(Fe,B,j){return j?B+":"+j+";":""}function ni(Fe){let B="";for(let j=0;j<Fe.style.length;j++){const pe=Fe.style.item(j);B+=Zn(0,pe,Fe.style.getPropertyValue(pe))}for(const j in Fe.style)Fe.style.hasOwnProperty(j)&&!j.startsWith("_")&&(B+=Zn(0,Fi(j),Fe.style[j]));Fe.setAttribute("style",B)}
1function ln(Fe,B,j){Fe.style&&(Object.keys(B).forEach(pe=>{const Ge=Qn(pe);j&&!j.hasOwnProperty(pe)&&(j[pe]=Fe.style[Ge]),Fe.style[Ge]=B[pe]}),Et()&&ni(Fe))}function An(Fe,B){Fe.style&&(Object.keys(B).forEach(j=>{const pe=Qn(j);Fe.style[pe]=""}),Et()&&ni(Fe))}function bt(Fe){return Array.isArray(Fe)?1==Fe.length?Fe[0]:(0,e.vP)(Fe):Fe}const st=new RegExp("{{\\s*(.+?)\\s*}}","g");function ct(Fe){let B=[];if("string"==typeof Fe){let j;for(;j=st.exec(Fe);)B.push(j[1]);st.lastIndex=0}return B}function $t(Fe,B,j){const pe=Fe.toString(),Ge=pe.replace(st,(Tt,Gt)=>{let Jt=B[Gt];return B.hasOwnProperty(Gt)||(j.push(function R(Fe){return new i.vHH(3003,l)}()),Jt=""),Jt.toString()});return Ge==pe?Fe:Ge}function un(Fe){const B=[];let j=Fe.next();for(;!j.done;)B.push(j.value),j=Fe.next();return B}const $n=/-+([a-z0-9])/g;function Qn(Fe){return Fe.replace($n,(...B)=>B[1].toUpperCase())}function Fi(Fe){return Fe.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function gi(Fe,B,j){switch(B.type){case 7:return Fe.visitTrigger(B,j);case 0:return Fe.visitState(B,j);case 1:return Fe.visitTransition(B,j);case 2:return Fe.visitSequence(B,j);case 3:return Fe.visitGroup(B,j);case 4:return Fe.visitAnimate(B,j);case 5:return Fe.visitKeyframes(B,j);case 6:return Fe.visitStyle(B,j);case 8:return Fe.visitReference(B,j);case 9:return Fe.visitAnimateChild(B,j);case 10:return Fe.visitAnimateRef(B,j);case 11:return Fe.visitQuery(B,j);case 12:return Fe.visitStagger(B,j);default:throw function q(Fe){return new i.vHH(3004,l)}()}}function bo(Fe,B){return window.getComputedStyle(Fe)[B]}function Y(Fe,B){const j=[];return"string"==typeof Fe?Fe.split(/\s*,\s*/).forEach(pe=>function Te(Fe,B,j){if(":"==Fe[0]){const sn=function rt(Fe,B){switch(Fe){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(j,pe)=>parseFloat(pe)>parseFloat(j);case":decrement":return(j,pe)=>parseFloat(pe)<parseFloat(j);default:return B.push(function he(Fe){return new i.vHH(3016,l)}()),"* => *"}}(Fe,j);if("function"==typeof sn)return void B.push(sn);Fe=sn}const pe=Fe.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==pe||pe.length<4)return j.push(function oe(Fe){return new i.vHH(3015,l)}()),B;const Ge=pe[1],Tt=pe[2],Gt=pe[3];B.push(Ln(Ge,Gt));"<"==Tt[0]&&!("*"==Ge&&"*"==Gt)&&B.push(Ln(Gt,Ge))}(pe,j,B)):j.push(Fe),j}const Nt=new Set(["true","1"]),Tn=new Set(["false","0"]);function Ln(Fe,B){const j=Nt.has(Fe)||Tn.has(Fe),pe=Nt.has(B)||Tn.has(B);return(Ge,Tt)=>{let Gt="*"==Fe||Fe==Ge,Jt="*"==B||B==Tt;return!Gt&&j&&"boolean"==typeof Ge&&(Gt=Ge?Nt.has(Fe):Tn.has(Fe)),!Jt&&pe&&"boolean"==typeof Tt&&(Jt=Tt?Nt.has(B):Tn.has(B)),Gt&&Jt}}const Ti=new RegExp("s*:selfs*,?","g");function ho(Fe,B,j,pe){return new Bi(Fe).build(B,j,pe)}class Bi{constructor(B){this._driver=B}build(B,j,pe){const Ge=new xi(j);this._resetContextStyleTimingState(Ge);const Tt=gi(this,bt(B),Ge);return Ge.unsupportedCSSPropertiesFound.size&&Ge.unsupportedCSSPropertiesFound.keys(),Tt}_resetContextStyleTimingState(B){B.currentQuerySelector="",B.collectedStyles={},B.collectedStyles[""]={},B.currentTime=0}visitTrigger(B,j){let pe=j.queryCount=0,Ge=j.depCount=0;const Tt=[],Gt=[];return"@"==B.name.charAt(0)&&j.errors.push(function k(){return new i.vHH(3006,l)}()),B.definitions.forEach(Jt=>{if(this._resetContextStyleTimingState(j),0==Jt.type){const sn=Jt,Vn=sn.name;Vn.toString().split(/\s*,\s*/).forEach(li=>{sn.name=li,Tt.push(this.visitState(sn,j))}),sn.name=Vn}else if(1==Jt.type){const sn=this.visitTransition(Jt,j);pe+=sn.queryCount,Ge+=sn.depCount,Gt.push(sn)}else j.errors.push(function h(){return new i.vHH(3007,l)}())}),{type:7,name:B.name,states:Tt,transitions:Gt,queryCount:pe,depCount:Ge,options:null}}visitState(B,j){const pe=this.visitStyle(B.styles,j),Ge=B.options&&B.options.params||null;if(pe.containsDynamicStyles){const Tt=new Set,Gt=Ge||{};pe.styles.forEach(Jt=>{if(Bo(Jt)){const sn=Jt;Object.keys(sn).forEach(Vn=>{ct(sn[Vn]).forEach(li=>{Gt.hasOwnProperty(li)||Tt.add(li)})})}}),Tt.size&&(un(Tt.values()),j.errors.push(function O(Fe,B){return new i.vHH(3008,l)}()))}return{type:0,name:B.name,style:pe,options:Ge?{params:Ge}:null}}visitTransition(B,j){j.queryCount=0,j.depCount=0;const pe=gi(this,bt(B.animation),j);return{type:1,matchers:Y(B.expr,j.errors),animation:pe,queryCount:j.queryCount,depCount:j.depCount,options:go(B.options)}}visitSequence(B,j){return{type:2,steps:B.steps.map(pe=>gi(this,pe,j)),options:go(B.options)}}visitGroup(B,j){const pe=j.currentTime;let Ge=0;const Tt=B.steps.map(Gt=>{j.currentTime=pe;const Jt=gi(this,Gt,j);return Ge=Math.max(Ge,j.currentTime),Jt});return j.currentTime=Ge,{type:3,steps:Tt,options:go(B.options)}}visitAnimate(B,j){const pe=function Gi(Fe,B){if(Fe.hasOwnProperty("duration"))return Fe;if("number"==typeof Fe)return wo(He(Fe,B).duration,0,"");const j=Fe;if(j.split(/\s+/).some(Tt=>"{"==Tt.charAt(0)&&"{"==Tt.charAt(1))){const Tt=wo(0,0,"");return Tt.dynamic=!0,Tt.strValue=j,Tt}const Ge=He(j,B);return wo(Ge.duration,Ge.delay,Ge.easing)}(B.timings,j.errors);j.currentAnimateTimings=pe;let Ge,Tt=B.styles?B.styles:(0,e.oB)({});if(5==Tt.type)Ge=this.visitKeyframes(Tt,j);else{let Gt=B.styles,Jt=!1;if(!Gt){Jt=!0;const Vn={};pe.easing&&(Vn.easing=pe.easing),Gt=(0,e.oB)(Vn)}j.currentTime+=pe.duration+pe.delay;const sn=this.visitStyle(Gt,j);sn.isEmptyStep=Jt,Ge=sn}return j.currentAnimateTimings=null,{type:4,timings:pe,style:Ge,options:null}}visitStyle(B,j){const pe=this._makeStyleAst(B,j);
1return this._validateStyleAst(pe,j),pe}_makeStyleAst(B,j){const pe=[];Array.isArray(B.styles)?B.styles.forEach(Gt=>{"string"==typeof Gt?Gt==e.l3?pe.push(Gt):j.errors.push(function E(Fe){return new i.vHH(3002,l)}()):pe.push(Gt)}):pe.push(B.styles);let Ge=!1,Tt=null;return pe.forEach(Gt=>{if(Bo(Gt)){const Jt=Gt,sn=Jt.easing;if(sn&&(Tt=sn,delete Jt.easing),!Ge)for(let Vn in Jt)if(Jt[Vn].toString().indexOf("{{")>=0){Ge=!0;break}}}),{type:6,styles:pe,easing:Tt,offset:B.offset,containsDynamicStyles:Ge,options:null}}_validateStyleAst(B,j){const pe=j.currentAnimateTimings;let Ge=j.currentTime,Tt=j.currentTime;pe&&Tt>0&&(Tt-=pe.duration+pe.delay),B.styles.forEach(Gt=>{"string"!=typeof Gt&&Object.keys(Gt).forEach(Jt=>{if(!this._driver.validateStyleProperty(Jt))return delete Gt[Jt],void j.unsupportedCSSPropertiesFound.add(Jt);const sn=j.collectedStyles[j.currentQuerySelector],Vn=sn[Jt];let li=!0;Vn&&(Tt!=Ge&&Tt>=Vn.startTime&&Ge<=Vn.endTime&&(j.errors.push(function Z(Fe,B,j,pe,Ge){return new i.vHH(3010,l)}()),li=!1),Tt=Vn.startTime),li&&(sn[Jt]={startTime:Tt,endTime:Ge}),j.options&&function Xe(Fe,B,j){const pe=B.params||{},Ge=ct(Fe);Ge.length&&Ge.forEach(Tt=>{pe.hasOwnProperty(Tt)||j.push(function S(Fe){return new i.vHH(3001,l)}())})}(Gt[Jt],j.options,j.errors)})})}visitKeyframes(B,j){const pe={type:5,styles:[],options:null};if(!j.currentAnimateTimings)return j.errors.push(function v(){return new i.vHH(3011,l)}()),pe;let Tt=0;const Gt=[];let Jt=!1,sn=!1,Vn=0;const li=B.steps.map(Ko=>{const Qo=this._makeStyleAst(Ko,j);let Oa=null!=Qo.offset?Qo.offset:function Ii(Fe){if("string"==typeof Fe)return null;let B=null;if(Array.isArray(Fe))Fe.forEach(j=>{if(Bo(j)&&j.hasOwnProperty("offset")){const pe=j;B=parseFloat(pe.offset),delete pe.offset}});else if(Bo(Fe)&&Fe.hasOwnProperty("offset")){const j=Fe;B=parseFloat(j.offset),delete j.offset}return B}(Qo.styles),aa=0;return null!=Oa&&(Tt++,aa=Qo.offset=Oa),sn=sn||aa<0||aa>1,Jt=Jt||aa<Vn,Vn=aa,Gt.push(aa),Qo});sn&&j.errors.push(function ee(){return new i.vHH(3012,l)}()),Jt&&j.errors.push(function X(){return new i.vHH(3200,l)}());const wi=B.steps.length;let Qi=0;Tt>0&&Tt<wi?j.errors.push(function te(){return new i.vHH(3202,l)}()):0==Tt&&(Qi=1/(wi-1));const Xi=wi-1,Ui=j.currentTime,eo=j.currentAnimateTimings,Io=eo.duration;return li.forEach((Ko,Qo)=>{const Oa=Qi>0?Qo==Xi?1:Qi*Qo:Gt[Qo],aa=Oa*Io;j.currentTime=Ui+eo.delay+aa,eo.duration=aa,this._validateStyleAst(Ko,j),Ko.offset=Oa,pe.styles.push(Ko)}),pe}visitReference(B,j){return{type:8,animation:gi(this,bt(B.animation),j),options:go(B.options)}}visitAnimateChild(B,j){return j.depCount++,{type:9,options:go(B.options)}}visitAnimateRef(B,j){return{type:10,animation:this.visitReference(B.animation,j),options:go(B.options)}}visitQuery(B,j){const pe=j.currentQuerySelector,Ge=B.options||{};j.queryCount++,j.currentQuery=B;const[Tt,Gt]=function bn(Fe){const B=!!Fe.split(/\s*,\s*/).find(j=>":self"==j);return B&&(Fe=Fe.replace(Ti,"")),Fe=Fe.replace(/@\*/g,In).replace(/@\w+/g,j=>In+"-"+j.substr(1)).replace(/:animating/g,ei),[Fe,B]}(B.selector);j.currentQuerySelector=pe.length?pe+" "+Tt:Tt,Ne(j.collectedStyles,j.currentQuerySelector,{});const Jt=gi(this,bt(B.animation),j);return j.currentQuery=null,j.currentQuerySelector=pe,{type:11,selector:Tt,limit:Ge.limit||0,optional:!!Ge.optional,includeSelf:Gt,animation:Jt,originalSelector:B.selector,options:go(B.options)}}visitStagger(B,j){j.currentQuery||j.errors.push(function _e(){return new i.vHH(3013,l)}());const pe="full"===B.timings?{duration:0,delay:0,easing:"full"}:He(B.timings,j.errors,!0);return{type:12,animation:gi(this,bt(B.animation),j),timings:pe,options:null}}}class xi{constructor(B){this.errors=B,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Bo(Fe){return!Array.isArray(Fe)&&"object"==typeof Fe}function go(Fe){return Fe?(Fe=pt(Fe)).params&&(Fe.params=function ci(Fe){return Fe?pt(Fe):null}
1(Fe.params)):Fe={},Fe}function wo(Fe,B,j){return{duration:Fe,delay:B,easing:j}}function Ao(Fe,B,j,pe,Ge,Tt,Gt=null,Jt=!1){return{type:1,element:Fe,keyframes:B,preStyleProps:j,postStyleProps:pe,duration:Ge,delay:Tt,totalTime:Ge+Tt,easing:Gt,subTimeline:Jt}}class Fo{constructor(){this._map=new Map}get(B){return this._map.get(B)||[]}append(B,j){let pe=this._map.get(B);pe||this._map.set(B,pe=[]),pe.push(...j)}has(B){return this._map.has(B)}clear(){this._map.clear()}}const $e=new RegExp(":enter","g"),Ie=new RegExp(":leave","g");function G(Fe,B,j,pe,Ge,Tt={},Gt={},Jt,sn,Vn=[]){return(new de).buildKeyframes(Fe,B,j,pe,Ge,Tt,Gt,Jt,sn,Vn)}class de{buildKeyframes(B,j,pe,Ge,Tt,Gt,Jt,sn,Vn,li=[]){Vn=Vn||new Fo;const wi=new Dt(B,j,Vn,Ge,Tt,li,[]);wi.options=sn,wi.currentTimeline.setStyles([Gt],null,wi.errors,sn),gi(this,pe,wi);const Qi=wi.timelines.filter(Xi=>Xi.containsAnimation());if(Object.keys(Jt).length){let Xi;for(let Ui=Qi.length-1;Ui>=0;Ui--){const eo=Qi[Ui];if(eo.element===j){Xi=eo;break}}Xi&&!Xi.allowOnlyTimelineStyles()&&Xi.setStyles([Jt],null,wi.errors,sn)}return Qi.length?Qi.map(Xi=>Xi.buildKeyframes()):[Ao(j,[],[],[],0,0,"",!1)]}visitTrigger(B,j){}visitState(B,j){}visitTransition(B,j){}visitAnimateChild(B,j){const pe=j.subInstructions.get(j.element);if(pe){const Ge=j.createSubContext(B.options),Tt=j.currentTimeline.currentTime,Gt=this._visitSubInstructions(pe,Ge,Ge.options);Tt!=Gt&&j.transformIntoNewTimeline(Gt)}j.previousNode=B}visitAnimateRef(B,j){const pe=j.createSubContext(B.options);pe.transformIntoNewTimeline(),this.visitReference(B.animation,pe),j.transformIntoNewTimeline(pe.currentTimeline.currentTime),j.previousNode=B}_visitSubInstructions(B,j,pe){let Tt=j.currentTimeline.currentTime;const Gt=null!=pe.duration?Vi(pe.duration):null,Jt=null!=pe.delay?Vi(pe.delay):null;return 0!==Gt&&B.forEach(sn=>{const Vn=j.appendInstructionToTimeline(sn,Gt,Jt);Tt=Math.max(Tt,Vn.duration+Vn.delay)}),Tt}visitReference(B,j){j.updateOptions(B.options,!0),gi(this,B.animation,j),j.previousNode=B}visitSequence(B,j){const pe=j.subContextCount;let Ge=j;const Tt=B.options;if(Tt&&(Tt.params||Tt.delay)&&(Ge=j.createSubContext(Tt),Ge.transformIntoNewTimeline(),null!=Tt.delay)){6==Ge.previousNode.type&&(Ge.currentTimeline.snapshotCurrentStyles(),Ge.previousNode=Ye);const Gt=Vi(Tt.delay);Ge.delayNextStep(Gt)}B.steps.length&&(B.steps.forEach(Gt=>gi(this,Gt,Ge)),Ge.currentTimeline.applyStylesToKeyframe(),Ge.subContextCount>pe&&Ge.transformIntoNewTimeline()),j.previousNode=B}visitGroup(B,j){const pe=[];let Ge=j.currentTimeline.currentTime;const Tt=B.options&&B.options.delay?Vi(B.options.delay):0;B.steps.forEach(Gt=>{const Jt=j.createSubContext(B.options);Tt&&Jt.delayNextStep(Tt),gi(this,Gt,Jt),Ge=Math.max(Ge,Jt.currentTimeline.currentTime),pe.push(Jt.currentTimeline)}),pe.forEach(Gt=>j.currentTimeline.mergeTimelineCollectedStyles(Gt)),j.transformIntoNewTimeline(Ge),j.previousNode=B}_visitTiming(B,j){if(B.dynamic){const pe=B.strValue;return He(j.params?$t(pe,j.params,j.errors):pe,j.errors)}return{duration:B.duration,delay:B.delay,easing:B.easing}}visitAnimate(B,j){const pe=j.currentAnimateTimings=this._visitTiming(B.timings,j),Ge=j.currentTimeline;pe.delay&&(j.incrementTime(pe.delay),Ge.snapshotCurrentStyles());const Tt=B.style;5==Tt.type?this.visitKeyframes(Tt,j):(j.incrementTime(pe.duration),this.visitStyle(Tt,j),Ge.applyStylesToKeyframe()),j.currentAnimateTimings=null,j.previousNode=B}visitStyle(B,j){const pe=j.currentTimeline,Ge=j.currentAnimateTimings;!Ge&&pe.getCurrentStyleProperties().length&&pe.forwardFrame();const Tt=Ge&&Ge.easing||B.easing;B.isEmptyStep?pe.applyEmptyStep(Tt):pe.setStyles(B.styles,Tt,j.errors,j.options),j.previousNode=B}visitKeyframes(B,j){const pe=j.currentAnimateTimings,Ge=j.currentTimeline.duration,Tt=pe.duration,Jt=j.createSubContext().currentTimeline;Jt.easing=pe.easing,B.styles.forEach(sn=>{Jt.forwardTime((sn.offset||0)*Tt),Jt.setStyles(sn.styles,sn.easing,j.errors,j.options),Jt.applyStylesToKeyframe()}),j.currentTimeline.mergeTimelineCollectedStyles(Jt),j.transformIntoNewTimeline(Ge+Tt),j.previousNode=B}visitQuery(B,j){const pe=j.currentTimeline.currentTime,Ge=B.options||{},Tt=Ge.delay?Vi(Ge.delay):0;Tt&&(6===j.previousNode.type||0==pe&&j.currentTimeline.getCurrentStyleProperties().length)&&(j.currentTimeline.snapshotCurrentStyles(),j.previousNode=Ye);let Gt=pe;const Jt=j.invokeQuery(B.selector,B.originalSelector,B.limit,B.includeSelf,!!Ge.optional,j.errors);j.currentQueryTotal=Jt.length;let sn=null;Jt.forEach((Vn,li)=>{j.currentQueryIndex=li;const wi=j.createSubContext(B.options,Vn);Tt&&wi.delayNextStep(Tt),Vn===j.element&&(sn=wi.currentTimeline),gi(this,B.animation,wi),wi.currentTimeline.applyStylesToKeyframe(),Gt=Math.max(Gt,wi.currentTimeline.currentTime)}),j.currentQueryIndex=0,j.currentQueryTotal=0,j.transformIntoNewTimeline(Gt),sn&&(j.currentTimeline.mergeTimelineCollectedStyles(sn),j.currentTimeline.snapshotCurrentStyles()),j.previousNode=B}visitStagger(B,j){const pe=j.parentContext,Ge=j.currentTimeline,Tt=B.timings,Gt=Math.abs(Tt.duration),Jt=Gt*(j.currentQueryTotal-1);let sn=Gt*j.currentQueryIndex;switch(Tt.duration<0?"reverse":Tt.easing){case"reverse":sn=Jt-sn;break;case"full":sn=pe.currentStaggerTime}const li=j.currentTimeline;sn&&li.delayNextStep(sn);const wi=li.currentTime;gi(this,B.animation,j),j.previousNode=B,pe.currentStaggerTime=Ge.currentTime-wi+(Ge.startTime-pe.currentTimeline.startTime)}}const Ye={};class Dt{constructor(B,j,pe,Ge,Tt,Gt,Jt,sn){this._driver=B,this.element=j,this.subInstru
1ctions=pe,this._enterClassName=Ge,this._leaveClassName=Tt,this.errors=Gt,this.timelines=Jt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ye,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=sn||new an(this._driver,j,0),Jt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(B,j){if(!B)return;const pe=B;let Ge=this.options;null!=pe.duration&&(Ge.duration=Vi(pe.duration)),null!=pe.delay&&(Ge.delay=Vi(pe.delay));const Tt=pe.params;if(Tt){let Gt=Ge.params;Gt||(Gt=this.options.params={}),Object.keys(Tt).forEach(Jt=>{(!j||!Gt.hasOwnProperty(Jt))&&(Gt[Jt]=$t(Tt[Jt],Gt,this.errors))})}}_copyOptions(){const B={};if(this.options){const j=this.options.params;if(j){const pe=B.params={};Object.keys(j).forEach(Ge=>{pe[Ge]=j[Ge]})}}return B}createSubContext(B=null,j,pe){const Ge=j||this.element,Tt=new Dt(this._driver,Ge,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Ge,pe||0));return Tt.previousNode=this.previousNode,Tt.currentAnimateTimings=this.currentAnimateTimings,Tt.options=this._copyOptions(),Tt.updateOptions(B),Tt.currentQueryIndex=this.currentQueryIndex,Tt.currentQueryTotal=this.currentQueryTotal,Tt.parentContext=this,this.subContextCount++,Tt}
1transformIntoNewTimeline(B){return this.previousNode=Ye,this.currentTimeline=this.currentTimeline.fork(this.element,B),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(B,j,pe){const Ge={duration:null!=j?j:B.duration,delay:this.currentTimeline.currentTime+(null!=pe?pe:0)+B.delay,easing:""},Tt=new vn(this._driver,B.element,B.keyframes,B.preStyleProps,B.postStyleProps,Ge,B.stretchStartingKeyframe);return this.timelines.push(Tt),Ge}incrementTime(B){this.currentTimeline.forwardTime(this.currentTimeline.duration+B)}delayNextStep(B){B>0&&this.currentTimeline.delayNextStep(B)}invokeQuery(B,j,pe,Ge,Tt,Gt){let Jt=[];if(Ge&&Jt.push(this.element),B.length>0){B=(B=B.replace($e,"."+this._enterClassName)).replace(Ie,"."+this._leaveClassName);let Vn=this._driver.query(this.element,B,1!=pe);0!==pe&&(Vn=pe<0?Vn.slice(Vn.length+pe,Vn.length):Vn.slice(0,pe)),Jt.push(...Vn)}return!Tt&&0==Jt.length&&Gt.push(function ne(Fe){return new i.vHH(3014,l)}()),Jt}}class an{constructor(B,j,pe,Ge){this._driver=B,this.element=j,this.startTime=pe,this._elementTimelineStylesLookup=Ge,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(j),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(j,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(B){const j=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||j?(this.forwardTime(this.currentTime+B),j&&this.snapshotCurrentStyles()):this.startTime+=B}fork(B,j){return this.applyStylesToKeyframe(),new an(this._driver,B,j||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(B){this.applyStylesToKeyframe(),this.duration=B,this._loadKeyframe()}_updateStyle(B,j){this._localTimelineStyles[B]=j,this._globalTimelineStyles[B]=j,this._styleSummary[B]={time:this.currentTime,value:j}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(B){B&&(this._previousKeyframe.easing=B),Object.keys(this._globalTimelineStyles).forEach(j=>{this._backFill[j]=this._globalTimelineStyles[j]||e.l3,this._currentKeyframe[j]=e.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(B,j,pe,Ge){j&&(this._previousKeyframe.easing=j);const Tt=Ge&&Ge.params||{},Gt=function $i(Fe,B){const j={};let pe;return Fe.forEach(Ge=>{"*"===Ge?(pe=pe||Object.keys(B),pe.forEach(Tt=>{j[Tt]=e.l3})):fn(Ge,!1,j)}),j}(B,this._globalTimelineStyles);Object.keys(Gt).forEach(Jt=>{const sn=$t(Gt[Jt],Tt,pe);this._pendingStyles[Jt]=sn,this._localTimelineStyles.hasOwnProperty(Jt)||(this._backFill[Jt]=this._globalTimelineStyles.hasOwnProperty(Jt)?this._globalTimelineStyles[Jt]:e.l3),this._updateStyle(Jt,sn)})}applyStylesToKeyframe(){const B=this._pendingStyles,j=Object.keys(B);0!=j.length&&(this._pendingStyles={},j.forEach(pe=>{this._currentKeyframe[pe]=B[pe]}),Object.keys(this._localTimelineStyles).forEach(pe=>{this._currentKeyframe.hasOwnProperty(pe)||(this._currentKeyframe[pe]=this._localTimelineStyles[pe])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(B=>{const j=this._localTimelineStyles[B];this._pendingStyles[B]=j,this._updateStyle(B,j)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const B=[];for(let j in this._currentKeyframe)B.push(j);return B}mergeTimelineCollectedStyles(B){Object.keys(B._styleSummary).forEac
1h(j=>{const pe=this._styleSummary[j],Ge=B._styleSummary[j];(!pe||Ge.time>pe.time)&&this._updateStyle(j,Ge.value)})}buildKeyframes(){this.applyStylesToKeyframe();const B=new Set,j=new Set,pe=1===this._keyframes.size&&0===this.duration;let Ge=[];this._keyframes.forEach((Jt,sn)=>{const Vn=fn(Jt,!0);Object.keys(Vn).forEach(li=>{const wi=Vn[li];wi==e.k1?B.add(li):wi==e.l3&&j.add(li)}),pe||(Vn.offset=sn/this.duration),Ge.push(Vn)});const Tt=B.size?un(B.values()):[],Gt=j.size?un(j.values()):[];if(pe){const Jt=Ge[0],sn=pt(Jt);Jt.offset=0,sn.offset=1,Ge=[Jt,sn]}return Ao(this.element,Ge,Tt,Gt,this.duration,this.startTime,this.easing,!1)}}class vn extends an{constructor(B,j,pe,Ge,Tt,Gt,Jt=!1){super(B,j,Gt.delay),this.keyframes=pe,this.preStyleProps=Ge,this.postStyleProps=Tt,this._stretchStartingKeyframe=Jt,this.timings={duration:Gt.duration,delay:Gt.delay,easing:Gt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let B=this.keyframes,{delay:j,duration:pe,easing:Ge}=this.timings;if(this._stretchStartingKeyframe&&j){const Tt=[],Gt=pe+j,Jt=j/Gt,sn=fn(B[0],!1);sn.offset=0,Tt.push(sn);const Vn=fn(B[0],!1);Vn.offset=zn(Jt),Tt.push(Vn);const li=B.length-1;for(let wi=1;wi<=li;wi++){let Qi=fn(B[wi],!1);Qi.offset=zn((j+Qi.offset*pe)/Gt),Tt.push(Qi)}pe=Gt,j=0,Ge="",B=Tt}return Ao(this.element,B,this.preStyleProps,this.postStyleProps,pe,j,Ge,!0)}}function zn(Fe,B=3){const j=Math.pow(10,B-1);return Math.round(Fe*j)/j}class Wi{}class ia extends Wi{normalizePropertyName(B,j){return Qn(B)}normalizeStyleValue(B,j,pe,Ge){let Tt="";const Gt=pe.toString().trim();if(Wo[j]&&0!==pe&&"0"!==pe)if("number"==typeof pe)Tt="px";else{const Jt=pe.match(/^[+-]?[\d\.]+([a-z]*)$/);Jt&&0==Jt[1].length&&Ge.push(function w(Fe,B){return new i.vHH(3005,l)}())}return Gt+Tt}}const Wo=(()=>function Pa(Fe){const B={};return Fe.forEach(j=>B[j]=!0),B}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Ia(Fe,B,j,pe,Ge,Tt,Gt,Jt,sn,Vn,li,wi,Qi){return{type:0,element:Fe,triggerName:B,isRemovalTransition:Ge,fromState:j,fromStyles:Tt,toState:pe,toStyles:Gt,timelines:Jt,queriedElements:sn,preStyleProps:Vn,postStyleProps:li,totalTime:wi,errors:Qi}}const Ca={};class oa{constructor(B,j,pe){this._triggerName=B,this.ast=j,this._stateStyles=pe}match(B,j,pe,Ge){return function ka(Fe,B,j,pe,Ge){return Fe.some(Tt=>Tt(B,j,pe,Ge))}(this.ast.matchers,B,j,pe,Ge)}buildStyles(B,j,pe){const Ge=this._stateStyles["*"],Tt=this._stateStyles[B],Gt=Ge?Ge.buildStyles(j,pe):{};return Tt?Tt.buildStyles(j,pe):Gt}build(B,j,pe,Ge,Tt,Gt,Jt,sn,Vn,li){const wi=[],Qi=this.ast.options&&this.ast.options.params||Ca,Ui=this.buildStyles(pe,Jt&&Jt.params||Ca,wi),eo=sn&&sn.params||Ca,Io=this.buildStyles(Ge,eo,wi),Ko=new Set,Qo=new Map,Oa=new Map,aa="void"===Ge,zo={params:Object.assign(Object.assign({},Qi),eo)},sa=li?[]:G(B,j,this.ast.animation,Tt,Gt,Ui,Io,zo,Vn,wi);let po=0;if(sa.forEach(H=>{po=Math.max(H.duration+H.delay,po)}),wi.length)return Ia(j,this._triggerName,pe,Ge,aa,Ui,Io,[],[],Qo,Oa,po,wi);sa.forEach(H=>{const xe=H.element,ke=Ne(Qo,xe,{});H.preStyleProps.forEach(Pt=>ke[Pt]=!0);const ut=Ne(Oa,xe,{});H.postStyleProps.forEach(Pt=>ut[Pt]=!0),xe!==j&&Ko.add(xe)});const N=un(Ko.values());return Ia(j,this._triggerName,pe,Ge,aa,Ui,Io,sa,N,Qo,Oa,po)}}class ha{constructor(B,j,pe){this.styles=B,this.defaultParams=j,this.normalizer=pe}buildStyles(B,j){const pe={},Ge=pt(this.defaultParams);return Object.keys(B).forEach(Tt=>{const Gt=B[Tt];null!=Gt&&(Ge[Tt]=Gt)}),this.styles.styles.forEach(Tt=>{if("string"!=typeof Tt){const Gt=Tt;Object.keys(Gt).forEach(Jt=>{let sn=Gt[Jt];sn.length>1&&(sn=$t(sn,Ge,j));const Vn=this.normalizer.normalizePropertyName(Jt,j);sn=this.normalizer.normalizeStyleValue(Jt,Vn,sn,j),pe[Vn]=sn})}}),pe}}class Ho{constructor(B,j,pe){this.name=B,this.ast=j,this._normalizer=pe,this.transitionFactories=[],this.states={}
1,j.states.forEach(Ge=>{this.states[Ge.name]=new ha(Ge.style,Ge.options&&Ge.options.params||{},pe)}),Fa(this.states,"true","1"),Fa(this.states,"false","0"),j.transitions.forEach(Ge=>{this.transitionFactories.push(new oa(B,Ge,this.states))}),this.fallbackTransition=function cs(Fe,B,j){return new oa(Fe,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Gt,Jt)=>!0],options:null,queryCount:0,depCount:0},B)}(B,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(B,j,pe,Ge){return this.transitionFactories.find(Gt=>Gt.match(B,j,pe,Ge))||null}matchStyles(B,j,pe){return this.fallbackTransition.buildStyles(B,j,pe)}}function Fa(Fe,B,j){Fe.hasOwnProperty(B)?Fe.hasOwnProperty(j)||(Fe[j]=Fe[B]):Fe.hasOwnProperty(j)&&(Fe[B]=Fe[j])}const Wa=new Fo;class os{constructor(B,j,pe){this.bodyNode=B,this._driver=j,this._normalizer=pe,this._animations={},this._playersById={},this.players=[]}register(B,j){const pe=[],Tt=ho(this._driver,j,pe,[]);if(pe.length)throw function xt(Fe){return new i.vHH(3503,l)}();this._animations[B]=Tt}_buildPlayer(B,j,pe){const Ge=B.element,Tt=It(0,this._normalizer,0,B.keyframes,j,pe);return this._driver.animate(Ge,Tt,B.duration,B.delay,B.easing,[],!0)}create(B,j,pe={}){const Ge=[],Tt=this._animations[B];let Gt;const Jt=new Map;if(Tt?(Gt=G(this._driver,j,Tt,di,ui,{},{},pe,Wa,Ge),Gt.forEach(li=>{const wi=Ne(Jt,li.element,{});li.postStyleProps.forEach(Qi=>wi[Qi]=null)})):(Ge.push(function At(){return new i.vHH(3300,l)}()),Gt=[]),Ge.length)throw function Qt(Fe){return new i.vHH(3504,l)}();Jt.forEach((li,wi)=>{Object.keys(li).forEach(Qi=>{li[Qi]=this._driver.computeStyle(wi,Qi,e.l3)})});const Vn=Lt(Gt.map(li=>{const wi=Jt.get(li.element);return this._buildPlayer(li,{},wi)}));return this._playersById[B]=Vn,Vn.onDestroy(()=>this.destroy(B)),this.players.push(Vn),Vn}destroy(B){const j=this._getPlayer(B);j.destroy(),delete this._playersById[B];const pe=this.players.indexOf(j);pe>=0&&this.players.splice(pe,1)}_getPlayer(B){const j=this._playersById[B];if(!j)throw function Vt(Fe){return new i.vHH(3301,l)}();return j}listen(B,j,pe,Ge){const Tt=le(j,"","","");return it(this._getPlayer(B),pe,Tt,Ge),()=>{}}command(B,j,pe,Ge){if("register"==pe)return void this.register(B,Ge[0]);if("create"==pe)return void this.create(B,j,Ge[0]||{});const Tt=this._getPlayer(B);switch(pe){case"play":Tt.play();break;case"pause":Tt.pause();break;case"reset":Tt.reset();break;case"restart":Tt.restart();break;case"finish":Tt.finish();break;case"init":Tt.init();break;case"setPosition":Tt.setPosition(parseFloat(Ge[0]));break;case"destroy":this.destroy(B)}}}const Ha="ng-animate-queued",Ra="ng-animate-disabled",lo=[],ss={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},za={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},So="__ng_removed";class Ba{constructor(B,j=""){this.namespaceId=j;const pe=B&&B.hasOwnProperty("value");if(this.value=function Ae(Fe){return null!=Fe?Fe:null}(pe?B.value:B),pe){const Tt=pt(B);delete Tt.value,this.options=Tt}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(B){const j=B.params;if(j){const pe=this.options.params;Object.keys(j).forEach(Ge=>{null==pe[Ge]&&(pe[Ge]=j[Ge])})}}}const jo="void",$a=new Ba(jo);class Ya{constructor(B,j,pe){this.id=B,this.hostElement=j,this._engine=pe,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+B,wn(j,this._hostClassName)}listen(B,j,pe,Ge){if(!this._triggers.hasOwnProperty(j))throw function dt(Fe,B){return new i.vHH(3302,l)}();if(null==pe||0==pe.length)throw function Mt(Fe){return new i.vHH(3303,l)}();if(!function Ce(Fe){return"start"==Fe||"done"==Fe}(pe))throw function we(Fe,B){return new i.vHH(3400,l)}();const Tt=Ne(this._elementListeners,B,[]),Gt={name:j,phase:pe,callback:Ge};Tt.push(Gt);const Jt=Ne(this._engine.statesByElement,B,{});return Jt.hasOwnProperty(j)||(wn(B,Di),wn(B,Di+"-"+j),Jt[j]=$a),()=>{this._engine.afterFlush(()=>{const sn=Tt.indexOf(Gt);sn>=0&&Tt.splice(sn,1),this._triggers[j]||delete Jt[j]})}}register(B,j){return!this._triggers[B]&&(this._triggers[B]=j,!0)}_getTrigger(B){const j=this._triggers[B];if(!j)throw function me(Fe){return new i.vHH(3401,l)}();return j}trigger(B,j,pe,Ge=!0){const Tt=this._getTrigger(j),Gt=new ga(this.id,j,B);let Jt=this._engine.statesByElement.get(B);Jt||(wn(B,Di),wn(B,Di+"-"+j),this._engine.statesByElement.set(B,Jt={}));let sn=Jt[j];const Vn=new Ba(pe,this.id);if(!(pe&&pe.hasOwnProperty("value"))&&sn&&Vn.absorbOptions(sn.options),Jt[j]=Vn,sn||(sn=$a),Vn.value!==jo&&sn.value===Vn.value){if(!function ao(Fe,B){const j=Object.keys(Fe),pe=Object.keys(B);if(j.length!=pe.length)return!1;for(let Ge=0;Ge<j.length;Ge++){const Tt=j[Ge];if(!B.hasOwnProperty(Tt)||Fe[Tt]!==B[Tt])return!1}return!0}(sn.params,Vn.params)){const eo=[],Io=Tt.matchStyles(sn.value,sn.params,eo),Ko=Tt.matchStyles(Vn.value,Vn.params,eo);eo.length?this._engine.reportError(eo):this._engine.afterFlush(()=>{An(B,Io),ln(B,Ko)})}return}const Qi=Ne(this._engine.playersByElement,B,[]);Qi.forEach(eo=>{eo.namespaceId==this.id&&eo.triggerName==j&&eo.queued&&eo.destroy()});let Xi=Tt.matchTransition(sn.value,Vn.value,B,Vn.params),Ui=!1;if(!Xi){if(!Ge)return;Xi=Tt.fallbackTransition,Ui=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:j,transition:Xi,fromState:sn,toState:Vn,player:Gt,isFallbackTransition:Ui}),Ui||(wn(B,Ha),Gt.onStart(()=>{fi(B,Ha)})),Gt.onDone(()=>{let eo=this.players.indexOf(Gt);eo>=0&&this.players.splice(eo,1);const Io=this._engine.playersByElement.get(B);if(Io){let Ko=Io.indexOf(Gt);Ko>=0&&Io.splice(Ko,1)}}),this.players.push(Gt),Qi.push(Gt),Gt}deregister(B){delete this._triggers[B],this._engine.statesByElement.forEach((j,pe)=>{delete j[B]}),this._elementListeners.forEach((j,pe)=>{this._elementListeners.set(pe,j.filter(Ge=>Ge.name!=B))})}clearElementCache(B){this._engine.statesByElement.delete(B),this._elementListeners.delete(B);const j=this._engine.playersByElement.get(B);j&&(j.forEach(pe=>pe.destroy()),this._engine.playersByElement.delete(B))}_signalRemovalForInnerTriggers(B,j){const pe=this._engine.driver.query(B,In,!0);pe.forEach(Ge=>{if(Ge[So])return;const Tt=this._engine.fetchNamespacesByElement(Ge);Tt.size?Tt.forEach(Gt=>Gt.triggerLeaveAnimation(Ge,j,!1,!0)):this.clearElementCache(Ge)}),this._engine.afterFlushAnimationsDone(()=>pe.forEach(Ge=>this.clearElementCache(Ge)))}triggerLeaveAnimation(B,j,pe,Ge){const Tt=this._engine.statesByElement.get(B),Gt=new Map;if(Tt){const Jt=[];if(Object.keys(Tt).forEach(sn=>{if(Gt.set(sn,Tt[sn].value),this._triggers[sn]){const Vn=this.trigger(B,sn,jo,Ge);Vn&&Jt.push(Vn)}}),Jt.length)return this._engine.markElementAsRemoved(this.id,B,!0,j,Gt),pe&&Lt(Jt).onDone(()=>this._engine.processLeaveNode(B)),!0}return!1}prepareLeaveAnimationListeners(B){const j=this._elementListeners.get(B),pe=this._engine.statesByElement.get(B);if(j&&pe){const Ge=new Set;j.forEach(Tt=>{const Gt=Tt.name;if(Ge.has(Gt))return;Ge.add(Gt);const sn=this._triggers[Gt].fallbackTransition,Vn=pe[Gt]||$a,li=new Ba(jo),wi=new ga(this.id,Gt,B);this._engine.totalQueuedPlayers++,this._queue.push({element:B,triggerName:Gt,transition:sn,fromState:Vn,toState:li,player:wi,isFallbackTransition:!0})})}}removeNode(B,j){const pe=this._engine;if(B.childElementCount&&this._signalRemovalForInnerTriggers(B,j),this.triggerLeaveAnimation(B,j,!0))return;let Ge=!1;if(pe.totalAnimations){const Tt=pe.players.length?pe.playersByQueriedElement.get(B):[];if(Tt&&Tt.length)Ge=!0;else{let Gt=B;for(;Gt=Gt.parentNode;)if(pe.statesByElement.get(Gt)){Ge=!0;break}}}if(this.prepareLeaveAnimationListeners(B),Ge)pe.markElementAsRemoved(this.id,B,!1,j);else{const Tt=B[So];(!Tt||Tt===ss)&&(pe.afterFlush(()=>this.clearElementCache(B)),pe.destroyInnerAnimations(B),pe._onRemovalComplete(B,j))}}insertNode(B,j){wn(B,this._hostClassName)}drainQueuedTransitions(B){const j=[];return this._queue.forEach(pe=>{const Ge=pe.player;if(Ge.destroyed)return;const Tt=pe.element,Gt=this._elementListeners.get(Tt);Gt&&Gt.forEach(Jt=>{if(Jt.name==pe.triggerName){const sn=le(Tt,pe.triggerName,pe.fromState.value,pe.toState.value);sn._data=B,it(pe.player,Jt.phase,sn,Jt.callback)}}),Ge.markedForDestroy?this._engine.afterFlush(()=>{Ge.destroy()}):j.push(pe)}),this._queue=[],j.sort((pe,Ge)=>{const Tt=pe.transition.ast.depCount,Gt=Ge.transition.ast.depCount;return 0==Tt||0==Gt?Tt-Gt:this._engine.driver.containsElement(pe.element,Ge.element)?1:-1})}
1destroy(B){this.players.forEach(j=>j.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,B)}elementContainsData(B){let j=!1;return this._elementListeners.has(B)&&(j=!0),j=!!this._queue.find(pe=>pe.element===B)||j,j}}class ya{constructor(B,j,pe){this.bodyNode=B,this.driver=j,this._normalizer=pe,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Ge,Tt)=>{}}_onRemovalComplete(B,j){this.onRemovalComplete(B,j)}get queuedPlayers(){const B=[];return this._namespaceList.forEach(j=>{j.players.forEach(pe=>{pe.queued&&B.push(pe)})}),B}createNamespace(B,j){const pe=new Ya(B,j,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,j)?this._balanceNamespaceList(pe,j):(this.newHostElements.set(j,pe),this.collectEnterElement(j)),this._namespaceLookup[B]=pe}_balanceNamespaceList(B,j){const pe=this._namespaceList,Ge=this.namespacesByHostElement,Tt=pe.length-1;if(Tt>=0){let Gt=!1;if(void 0!==this.driver.getParentElement){let Jt=this.driver.getParentElement(j);for(;Jt;){const sn=Ge.get(Jt);if(sn){const Vn=pe.indexOf(sn);pe.splice(Vn+1,0,B),Gt=!0;break}Jt=this.driver.getParentElement(Jt)}}else for(let Jt=Tt;Jt>=0;Jt--)if(this.driver.containsElement(pe[Jt].hostElement,j)){pe.splice(Jt+1,0,B),Gt=!0;break}Gt||pe.unshift(B)}else pe.push(B);return Ge.set(j,B),B}register(B,j){let pe=this._namespaceLookup[B];return pe||(pe=this.createNamespace(B,j)),pe}registerTrigger(B,j,pe){let Ge=this._namespaceLookup[B];Ge&&Ge.register(j,pe)&&this.totalAnimations++}destroy(B,j){if(!B)return;const pe=this._fetchNamespace(B);this.afterFlush(()=>{this.namespacesByHostElement.delete(pe.hostElement),delete this._namespaceLookup[B];const Ge=this._namespaceList.indexOf(pe);Ge>=0&&this._namespaceList.splice(Ge,1)}),this.afterFlushAnimationsDone(()=>pe.destroy(j))}_fetchNamespace(B){return this._namespaceLookup[B]}fetchNamespacesByElement(B){const j=new Set,pe=this.statesByElement.get(B);if(pe){const Ge=Object.keys(pe);for(let Tt=0;Tt<Ge.length;Tt++){const Gt=pe[Ge[Tt]].namespaceId;if(Gt){const Jt=this._fetchNamespace(Gt);Jt&&j.add(Jt)}}}return j}trigger(B,j,pe,Ge){if(tt(j)){const Tt=this._fetchNamespace(B);if(Tt)return Tt.trigger(j,pe,Ge),!0}return!1}insertNode(B,j,pe,Ge){if(!tt(j))return;const Tt=j[So];if(Tt&&Tt.setForRemoval){Tt.setForRemoval=!1,Tt.setForMove=!0;const Gt=this.collectedLeaveElements.indexOf(j);Gt>=0&&this.collectedLeaveElements.splice(Gt,1)}if(B){const Gt=this._fetchNamespace(B);Gt&&Gt.insertNode(j,pe)}Ge&&this.collectEnterElement(j)}collectEnterElement(B){this.collectedEnterElements.push(B)}markElementAsDisabled(B,j){j?this.disabledNodes.has(B)||(this.disabledNodes.add(B),wn(B,Ra)):this.disabledNodes.has(B)&&(this.disabledNodes.delete(B),fi(B,Ra))}removeNode(B,j,pe,Ge){if(tt(j)){const Tt=B?this._fetchNamespace(B):null;if(Tt?Tt.removeNode(j,Ge):this.markElementAsRemoved(B,j,!1,Ge),pe){const Gt=this.namespacesByHostElement.get(j);Gt&&Gt.id!==B&&Gt.removeNode(j,Ge)}}else this._onRemovalComplete(j,Ge)}markElementAsRemoved(B,j,pe,Ge,Tt){this.collectedLeaveElements.push(j),j[So]={namespaceId:B,setForRemoval:Ge,hasAnimation:pe,removedBeforeQueried:!1,previousTriggersValues:Tt}}listen(B,j,pe,Ge,Tt){return tt(j)?this._fetchNamespace(B).listen(j,pe,Ge,Tt):()=>{}}_buildInstruction(B,j,pe,Ge,Tt){return B.transition.build(this.driver,B.element,B.fromState.value,B.toState.value,pe,Ge,B.fromState.options,B.toState.options,j,Tt)}destroyInnerAnimations(B){let j=this.driver.query(B,In,!0);j.forEach(pe=>this.destroyActiveAnimationsForElement(pe)),0!=this.playersByQueriedElement.size&&(j=this.driver.query(B,ei,!0),j.forEac
1h(pe=>this.finishActiveQueriedAnimationOnElement(pe)))}destroyActiveAnimationsForElement(B){const j=this.playersByElement.get(B);j&&j.forEach(pe=>{pe.queued?pe.markedForDestroy=!0:pe.destroy()})}finishActiveQueriedAnimationOnElement(B){const j=this.playersByQueriedElement.get(B);j&&j.forEach(pe=>pe.finish())}whenRenderingDone(){return new Promise(B=>{if(this.players.length)return Lt(this.players).onDone(()=>B());B()})}processLeaveNode(B){var j;const pe=B[So];if(pe&&pe.setForRemoval){if(B[So]=ss,pe.namespaceId){this.destroyInnerAnimations(B);const Ge=this._fetchNamespace(pe.namespaceId);Ge&&Ge.clearElementCache(B)}this._onRemovalComplete(B,pe.setForRemoval)}(null===(j=B.classList)||void 0===j?void 0:j.contains(Ra))&&this.markElementAsDisabled(B,!1),this.driver.query(B,".ng-animate-disabled",!0).forEach(Ge=>{this.markElementAsDisabled(Ge,!1)})}flush(B=-1){let j=[];if(this.newHostElements.size&&(this.newHostElements.forEach((pe,Ge)=>this._balanceNamespaceList(pe,Ge)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let pe=0;pe<this.collectedEnterElements.length;pe++)wn(this.collectedEnterElements[pe],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const pe=[];try{j=this._flushAnimations(pe,B)}finally{for(let Ge=0;Ge<pe.length;Ge++)pe[Ge]()}}else for(let pe=0;pe<this.collectedLeaveElements.length;pe++)this.processLeaveNode(this.collectedLeaveElements[pe]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(pe=>pe()),this._flushFns=[],this._whenQuietFns.length){const pe=this._whenQuietFns;this._whenQuietFns=[],j.length?Lt(j).onDone(()=>{pe.forEach(Ge=>Ge())}):pe.forEach(Ge=>Ge())}}reportError(B){throw function We(Fe){return new i.vHH(3402,l)}()}_flushAnimations(B,j){const pe=new Fo,Ge=[],Tt=new Map,Gt=[],Jt=new Map,sn=new Map,Vn=new Map,li=new Set;this.disabledNodes.forEach(en=>{li.add(en);const cn=this.driver.query(en,".ng-animate-queued",!0);for(let xn=0;xn<cn.length;xn++)li.add(cn[xn])});const wi=this.bodyNode,Qi=Array.from(this.statesByElement.keys()),Xi=En(Qi,this.collectedEnterElements),Ui=new Map;let eo=0;Xi.forEach((en,cn)=>{const xn=di+eo++;Ui.set(cn,xn),en.forEach(ti=>wn(ti,xn))});const Io=[],Ko=new Set,Qo=new Set;for(let en=0;en<this.collectedLeaveElements.length;en++){const cn=this.collectedLeaveElements[en],xn=cn[So];xn&&xn.setForRemoval&&(Io.push(cn),Ko.add(cn),xn.hasAnimation?this.driver.query(cn,".ng-star-inserted",!0).forEach(ti=>
1Ko.add(ti)):Qo.add(cn))}const Oa=new Map,aa=En(Qi,Array.from(Ko));aa.forEach((en,cn)=>{const xn=ui+eo++;Oa.set(cn,xn),en.forEach(ti=>wn(ti,xn))}),B.push(()=>{Xi.forEach((en,cn)=>{const xn=Ui.get(cn);en.forEach(ti=>fi(ti,xn))}),aa.forEach((en,cn)=>{const xn=Oa.get(cn);en.forEach(ti=>fi(ti,xn))}),Io.forEach(en=>{this.processLeaveNode(en)})});const zo=[],sa=[];for(let en=this._namespaceList.length-1;en>=0;en--)this._namespaceList[en].drainQueuedTransitions(j).forEach(xn=>{const ti=xn.player,_i=xn.element;if(zo.push(ti),this.collectedEnterElements.length){const Xo=_i[So];if(Xo&&Xo.setForMove){if(Xo.previousTriggersValues&&Xo.previousTriggersValues.has(xn.triggerName)){const Ms=Xo.previousTriggersValues.get(xn.triggerName),ms=this.statesByElement.get(xn.element);ms&&ms[xn.triggerName]&&(ms[xn.triggerName].value=Ms)}return void ti.destroy()}}const oo=!wi||!this.driver.containsElement(wi,_i),Eo=Oa.get(_i),ki=Ui.get(_i),Gn=this._buildInstruction(xn,pe,ki,Eo,oo);if(Gn.errors&&Gn.errors.length)return void sa.push(Gn);if(oo)return ti.onStart(()=>An(_i,Gn.fromStyles)),ti.onDestroy(()=>ln(_i,Gn.toStyles)),void Ge.push(ti);if(xn.isFallbackTransition)return ti.onStart(()=>An(_i,Gn.fromStyles)),ti.onDestroy(()=>ln(_i,Gn.toStyles)),void Ge.push(ti);const ra=[];Gn.timelines.forEach(Xo=>{Xo.stretchStartingKeyframe=!0,this.disabledNodes.has(Xo.element)||ra.push(Xo)}),Gn.timelines=ra,pe.append(_i,Gn.timelines),Gt.push({instruction:Gn,player:ti,element:_i}),Gn.queriedElements.forEach(Xo=>Ne(Jt,Xo,[]).push(ti)),Gn.preStyleProps.forEach((Xo,Ms)=>{const ms=Object.keys(Xo);if(ms.length){let Na=sn.get(Ms);Na||sn.set(Ms,Na=new Set),ms.forEach(Fs=>Na.add(Fs))}}),Gn.postStyleProps.forEach((Xo,Ms)=>{const ms=Object.keys(Xo);let Na=Vn.get(Ms);Na||Vn.set(Ms,Na=new Set),ms.forEach(Fs=>Na.add(Fs))})});if(sa.length){const en=[];sa.forEach(cn=>{en.push(function ft(Fe,B){return new i.vHH(3505,l)}())}),zo.forEach(cn=>cn.destroy()),this.reportError(en)}const po=new Map,N=new Map;Gt.forEach(en=>{const cn=en.element;pe.has(cn)&&(N.set(cn,cn),this._beforeAnimationBuild(en.player.namespaceId,en.instruction,po))}),Ge.forEach(en=>{const cn=en.element;this._getPreviousPlayers(cn,!1,en.namespaceId,en.triggerName,null).forEach(ti=>{Ne(po,cn,[]).push(ti),ti.destroy()})});const H=Io.filter(en=>No(en,sn,Vn)),xe=new Map;Ht(xe,this.driver,Qo,Vn,e.l3).forEach(en=>{No(en,sn,Vn)&&H.push(en)});const ut=new Map;Xi.forEach((en,cn)=>{Ht(ut,this.driver,new Set(en),sn,e.k1)}),H.forEach(en=>{const cn=xe.get(en),xn=ut.get(en);xe.set(en,Object.assign(Object.assign({},cn),xn))});const Pt=[],Bt=[],nn={};Gt.forEach(en=>{const{element:cn,player:xn,instruction:ti}=en;if(pe.has(cn)){if(li.has(cn))return xn.onDestroy(()=>ln(cn,ti.toStyles)),xn.disabled=!0,xn.overrideTotalTime(ti.totalTime),void Ge.push(xn);let _i=nn;if(N.size>1){let Eo=cn;const ki=[];for(;Eo=Eo.parentNode;){const Gn=N.get(Eo);if(Gn){_i=Gn;break}ki.push(Eo)}ki.forEach(Gn=>N.set(Gn,_i))}const oo=this._buildAnimation(xn.namespaceId,ti,po,Tt,ut,xe);if(xn.setRealPlayer(oo),_i===nn)Pt.push(xn);else{const Eo=this.playersByElement.get(_i);Eo&&Eo.length&&(xn.parentPlayer=Lt(Eo)),Ge.push(xn)}}else An(cn,ti.fromStyles),xn.onDestroy(()=>ln(cn,ti.toStyles)),Bt.push(xn),li.has(cn)&&Ge.push(xn)}),Bt.forEach(en=>{const cn=Tt.get(en.element);if(cn&&cn.length){const xn=Lt(cn);en.setRealPlayer(xn)}}),Ge.forEach(en=>{en.parentPlayer?en.syncPlayerEvents(en.parentPlayer):en.destroy()});for(let en=0;en<Io.length;en++){const cn=Io[en],xn=cn[So];if(fi(cn,ui),xn&&xn.hasAnimation)continue;let ti=[];if(Jt.size){let oo=Jt.get(cn);oo&&oo.length&&ti.push(...oo);let Eo=this.driver.query(cn,ei,!0);for(let ki=0;ki<Eo.length;ki++){let Gn=Jt.get(Eo[ki]);Gn&&Gn.length&&ti.push(...Gn)}}const _i=ti.filter(oo=>!oo.destroyed);_i.length?mo(this,cn,_i):this.processLeaveNode(cn)}return Io.length=0,Pt.forEach(en=>{this.players.push(en),en.onDone(()=>{en.destroy();const cn=this.players.indexOf(en);this.players.splice(cn,1)}),en.play()}),Pt}elementContainsData(B,j){let pe=!1;const Ge=j[So];return Ge&&Ge.setForRemoval&&(pe=!0),this.playersByElement.has(j)&&(pe=!0),this.playersByQueriedElement.has(j)&&(pe=!0),this.statesByElement.has(j)&&(pe=!0),this._fetchNamespace(B).elementContainsData(j)||pe}afterFlush(B){this._flushFns.push(B)}afterFlushAnimationsDone(B){this._whenQuietFns.push(B)}_getPreviousPlayers(B,j,pe,Ge,Tt){let Gt=[];if(j){const Jt=this.playersByQueriedElement.get(B);Jt&&(Gt=Jt)}else{const Jt=this.playersByElement.get(B);if(Jt){const sn=!Tt||Tt==jo;Jt.forEach(Vn=>{Vn.queued||!sn&&Vn.triggerName!=Ge||Gt.push(Vn)})}}return(pe||Ge)&&(Gt=Gt.filter(Jt=>!(pe&&pe!=Jt.namespaceId||Ge&&Ge!=Jt.triggerName))),Gt}_beforeAnimationBuild(B,j,pe){const Tt=j.element,Gt=j.isRemovalTransition?void 0:B,Jt=j.isRemovalTransition?void 0:j.triggerName;for(const sn of j.timelines){const Vn=sn.element,li=Vn!==Tt,wi=Ne(pe,Vn,[]);this._getPreviousPlayers(Vn,li,Gt,Jt,j.toState).forEach(Xi=>{const Ui=Xi.getRealPlayer();Ui.beforeDestroy&&Ui.beforeDestroy(),Xi.destroy(),wi.push(Xi)})}An(Tt,j.fromStyles)}_buildAnimation(B,j,pe,Ge,Tt,Gt){const Jt=j.triggerName,sn=j.element,Vn=[],li=new Set,wi=new Set,Qi=j.timelines.map(Ui=>{const eo=Ui.element;li.add(eo);const Io=eo[So];if(Io&&Io.removedBeforeQueried)return new e.ZN(Ui.duration,Ui.delay);const Ko=eo!==sn,Qo=function _o(Fe){const B=[];return io(Fe,B),B}((pe.get(eo)||lo).map(po=>po.getRealPlayer())).filter(po=>!!po.element&&po.element===eo),Oa=Tt.get(eo),aa=Gt.get(eo),zo=It(0,this._normalizer,0,Ui.keyframes,Oa,aa),sa=this._buildPlayer(Ui,zo,Qo);if(Ui.subTimeline&&Ge&&wi.add(eo),Ko){const po=new ga(B,Jt,eo);po.setRealPlayer(sa),Vn.push(po)}return sa});Vn.forEach(Ui=>{Ne(this.playersByQueriedElement,Ui.element,[]).push(Ui),Ui.onDone(()=>function Oo(Fe,B,j){let pe;if(Fe instanceof Map){if(pe=Fe.get(B),pe){if(pe.length){const Ge=pe.indexOf(j);pe.splice(Ge,1)}0==pe.length&&Fe.delete(B)}}else if(pe=Fe[B],pe){if(pe.length){const Ge=pe.indexOf(j);pe.splice(Ge,1)}0==pe.length&&delete Fe[B]}return pe}(this.playersByQueriedElement,Ui.element,Ui))}
1),li.forEach(Ui=>wn(Ui,Fn));const Xi=Lt(Qi);return Xi.onDestroy(()=>{li.forEach(Ui=>fi(Ui,Fn)),ln(sn,j.toStyles)}),wi.forEach(Ui=>{Ne(Ge,Ui,[]).push(Xi)}),Xi}_buildPlayer(B,j,pe){return j.length>0?this.driver.animate(B.element,j,B.duration,B.delay,B.easing,pe):new e.ZN(B.duration,B.delay)}}class ga{constructor(B,j,pe){this.namespaceId=B,this.triggerName=j,this.element=pe,this._player=new e.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(B){this._containsRealPlayer||(this._player=B,Object.keys(this._queuedCallbacks).forEach(j=>{this._queuedCallbacks[j].forEach(pe=>it(B,j,void 0,pe))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(B.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(B){this.totalTime=B}syncPlayerEvents(B){const j=this._player;j.triggerCallback&&B.onStart(()=>j.triggerCallback("start")),B.onDone(()=>this.finish()),B.onDestroy(()=>this.destroy())}_queueEvent(B,j){Ne(this._queuedCallbacks,B,[]).push(j)}onDone(B){this.queued&&this._queueEvent("done",B),this._player.onDone(B)}onStart(B){this.queued&&this._queueEvent("start",B),this._player.onStart(B)}onDestroy(B){this.queued&&this._queueEvent("destroy",B),this._player.onDestroy(B)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(B){this.queued||this._player.setPosition(B)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(B){const j=this._player;j.triggerCallback&&j.triggerCallback(B)}}function tt(Fe){return Fe&&1===Fe.nodeType}function mt(Fe,B){const j=Fe.style.display;return Fe.style.display=null!=B?B:"none",j}function Ht(Fe,B,j,pe,Ge){const Tt=[];j.forEach(sn=>Tt.push(mt(sn)));const Gt=[];pe.forEach((sn,Vn)=>{const li={};sn.forEach(wi=>{const Qi=li[wi]=B.computeStyle(Vn,wi,Ge);(!Qi||0==Qi.length)&&(Vn[So]=za,Gt.push(Vn))}),Fe.set(Vn,li)});let Jt=0;return j.forEach(sn=>mt(sn,Tt[Jt++])),Gt}function En(Fe,B){const j=new Map;if(Fe.forEach(Jt=>j.set(Jt,[])),0==B.length)return j;const Ge=new Set(B),Tt=new Map;function Gt(Jt){if(!Jt)return 1;let sn=Tt.get(Jt);if(sn)return sn;const Vn=Jt.parentNode;return sn=j.has(Vn)?Vn:Ge.has(Vn)?1:Gt(Vn),Tt.set(Jt,sn),sn}return B.forEach(Jt=>{const sn=Gt(Jt);1!==sn&&j.get(sn).push(Jt)}),j}function wn(Fe,B){var j;null===(j=Fe.classList)||void 0===j||j.add(B)}function fi(Fe,B){var j;null===(j=Fe.classList)||void 0===j||j.remove(B)}function mo(Fe,B,j){Lt(j).onDone(()=>Fe.processLeaveNode(B))}function io(Fe,B){for(let j=0;j<Fe.length;j++){const pe=Fe[j];pe instanceof e.ZE?io(pe.players,B):B.push(pe)}}function No(Fe,B,j){const pe=j.get(Fe);if(!pe)return!1;let Ge=B.get(Fe);return Ge?pe.forEach(Tt=>Ge.add(Tt)):B.set(Fe,pe),j.delete(Fe),!0}class To{constructor(B,j,pe){this.bodyNode=B,this._driver=j,this._normalizer=pe,this._triggerCache={},this.onRemovalComplete=(Ge,Tt)=>{},this._transitionEngine=new ya(B,j,pe),this._timelineEngine=new os(B,j,pe),this._transitionEngine.onRemovalComplete=(Ge,Tt)=>this.onRemovalComplete(Ge,Tt)}registerTrigger(B,j,pe,Ge,Tt){const Gt=B+"-"+Ge;let Jt=this._triggerCache[Gt];if(!Jt){const sn=[],li=ho(this._driver,Tt,sn,[]);if(sn.length)throw function ot(Fe,B){return new i.vHH(3404,l)}();Jt=function Ja(Fe,B,j){return new Ho(Fe,B,j)}(Ge,li,this._normalizer),this._triggerCache[Gt]=Jt}this._transitionEngine.registerTrigger(j,Ge,Jt)}register(B,j){this._transitionEngine.register(B,j)}destroy(B,j){this._transitionEngine.destroy(B,j)}onInsert(B,j,pe,Ge){this._transitionEngine.insertNode(B,j,pe,Ge)}onRemove(B,j,pe,Ge){this._transitionEngine.removeNode(B,j,Ge||!1,pe)}disableAnimations(B,j){this._transitionEngine.markElementAsDisabled(B,j)}process(B,j,pe,Ge){if("@"==pe.charAt(0)){const[Tt,Gt]=Ut(pe);this._timelineEngine.command(Tt,j,Gt,Ge)}else this._transitionEngine.trigger(B,j,pe,Ge)}listen(B,j,pe,Ge,Tt){if("@"==pe.charAt(0)){const[Gt,Jt]=Ut(pe);return this._timelineEngine.listen(Gt,j,Jt,Tt)}return this._transitionEngine.listen(B,j,pe,Ge,Tt)}flush(B=-1){this._transitionEngine.flush(B)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let $=(()=>{class Fe{constructor(j,pe,Ge){this._element=j,this._startStyles=pe,this._endStyles=Ge,this._state=0;let Tt=Fe.initialStylesByElement.get(j);Tt||Fe.initialStylesByElement.set(j,Tt={}),this._initialStyles=Tt}start(){this._state<1&&(this._startStyles&&ln(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ln(this._element,this._initialStyles),this._endStyles&&(ln(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Fe.initialStylesByElement.delete(this._element),this._startStyles&&(An(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(An(this._element,this._endStyles),this._endStyles=null),ln(this._element,this._initialStyles),this._state=3)}}return Fe.initialStylesByElement=new WeakMap,Fe})();function L(Fe){let B=null;const j=Object.keys(Fe);for(let pe=0;pe<j.length;pe++){const Ge=j[pe];U(Ge)&&(B=B||{},B[Ge]=Fe[Ge])}return B}function U(Fe){return"display"===Fe||"position"===Fe}class ce{constructor(B,j,pe,Ge){this.element=B,this.keyframes=j,this.options=pe,this._specialStyles=Ge,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=pe.duration,this._delay=pe.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(B=>B()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const B=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,B,this.options),this._finalKeyframe=B.length?B[B.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(B,j,pe){return B.animate(j,pe)}onStart(B){this._onStartFns.push(B)}onDone(B){this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(B=>B()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}setPosition(B){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=B*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const B={};if(this.hasStarted()){const j=this._finalKeyframe;
1Object.keys(j).forEach(pe=>{"offset"!=pe&&(B[pe]=this._finished?j[pe]:bo(this.element,pe))})}this.currentSnapshot=B}triggerCallback(B){const j="start"==B?this._onStartFns:this._onDoneFns;j.forEach(pe=>pe()),j.length=0}}class vt{validateStyleProperty(B){return Ve(B)}matchesElement(B,j){return!1}containsElement(B,j){return et(B,j)}getParentElement(B){return rn(B)}query(B,j,pe){return _t(B,j,pe)}computeStyle(B,j,pe){return window.getComputedStyle(B)[j]}animate(B,j,pe,Ge,Tt,Gt=[]){const sn={duration:pe,delay:Ge,fill:0==Ge?"both":"forwards"};Tt&&(sn.easing=Tt);const Vn={},li=Gt.filter(Qi=>Qi instanceof ce);(function co(Fe,B){return 0===Fe||0===B})(pe,Ge)&&li.forEach(Qi=>{let Xi=Qi.currentSnapshot;Object.keys(Xi).forEach(Ui=>Vn[Ui]=Xi[Ui])}),j=function uo(Fe,B,j){const pe=Object.keys(j);if(pe.length&&B.length){let Tt=B[0],Gt=[];if(pe.forEach(Jt=>{Tt.hasOwnProperty(Jt)||Gt.push(Jt),Tt[Jt]=j[Jt]}),Gt.length)for(var Ge=1;Ge<B.length;Ge++){let Jt=B[Ge];Gt.forEach(function(sn){Jt[sn]=bo(Fe,sn)})}}return B}(B,j=j.map(Qi=>fn(Qi,!1)),Vn);const wi=function ve(Fe,B){let j=null,pe=null;return Array.isArray(B)&&B.length?(j=L(B[0]),B.length>1&&(pe=L(B[B.length-1]))):B&&(j=L(B)),j||pe?new $(Fe,j,pe):null}(B,j);return new ce(B,j,sn,wi)}}var Wt=m(60);let qn=(()=>{class Fe extends e._j{constructor(j,pe){super(),this._nextAnimationId=0,this._renderer=j.createRenderer(pe.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(j){const pe=this._nextAnimationId.toString();this._nextAnimationId++;const Ge=Array.isArray(j)?(0,e.vP)(j):j;return Ai(this._renderer,null,pe,"register",[Ge]),new Mi(pe,this._renderer)}}return Fe.\u0275fac=function(j){return new(j||Fe)(i.LFG(i.FYo),i.LFG(Wt.K0))},Fe.\u0275prov=i.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();class Mi extends e.LC{constructor(B,j){super(),this._id=B,this._renderer=j}create(B,j){return new Wn(this._id,B,j||{},this._renderer)}}class Wn{constructor(B,j,pe,Ge){this.id=B,this.element=j,this._renderer=Ge,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",pe)}_listen(B,j){return this._renderer.listen(this.element,`@@${this.id}:${B}`,j)}_command(B,...j){return Ai(this._renderer,this.element,this.id,B,j)}onDone(B){this._listen("done",B)}onStart(B){this._listen("start",B)}onDestroy(B){this._listen("destroy",B)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(B){this._command("setPosition",B)}getPosition(){var B,j;return null!==(j=null===(B=this._renderer.engine.players[+this.id])||void 0===B?void 0:B.getPosition())&&void 0!==j?j:0}}function Ai(Fe,B,j,pe,Ge){return Fe.setProperty(B,`@@${j}:${pe}`,Ge)}const gn="@.disabled";let ri=(()=>{class Fe{constructor(j,pe,Ge){this.delegate=j,this.engine=pe,this._zone=Ge,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),pe.onRemovalComplete=(Tt,Gt)=>{const Jt=null==Gt?void 0:Gt.parentNode(Tt);Jt&&Gt.removeChild(Jt,Tt)}}createRenderer(j,pe){const Tt=this.delegate.createRenderer(j,pe);if(!(j&&pe&&pe.data&&pe.data.animation)){let li=this._rendererCache.get(Tt);return li||(li=new Do("",Tt,this.engine),this._rendererCache.set(Tt,li)),li}const Gt=pe.id,Jt=pe.id+"-"+this._currentId;this._currentId++,this.engine.register(Jt,j);const sn=li=>{Array.isArray(li)?li.forEach(sn):this.engine.registerTrigger(Gt,Jt,j,li.name,li)};return pe.data.animation.forEach(sn),new so(this,Jt,Tt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(j,pe,Ge){j>=0&&j<this._microtaskId?this._zone.run(()=>pe(Ge)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Tt=>{const[Gt,Jt]=Tt;Gt(Jt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([pe,Ge]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return Fe.\u0275fac=function(j){return new(j||Fe)(i.LFG(i.FYo),i.LFG(To),i.LFG(i.R0b))},Fe.\u0275prov=i.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();class Do{constructor(B,j,pe){this.namespaceId=B,this.delegate=j,this.engine=pe,this.destroyNode=this.delegate.destroyNode?Ge=>j.destroyNode(Ge):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(B,j){return this.delegate.createElement(B,j)}createComment(B){return this.delegate.createComment(B)}createText(B){return this.delegate.createText(B)}appendChild(B,j){this.delegate.appendChild(B,j),this.engine.onInsert(this.namespaceId,j,B,!1)}insertBefore(B,j,pe,Ge=!0){this.delegate.insertBefore(B,j,pe),this.engine.onInsert(this.namespaceId,j,B,Ge)}removeChild(B,j,pe){this.engine.onRemove(this.namespaceId,j,this.delegate,pe)}selectRootElement(B,j){return this.delegate.selectRootElement(B,j)}parentNode(B){return this.delegate.parentNode(B)}nextSibling(B){return this.delegate.nextSibling(B)}setAttribute(B,j,pe,Ge){this.delegate.setAttribute(B,j,pe,Ge)}removeAttribute(B,j,pe){this.delegate.removeAttribute(B,j,pe)}addClass(B,j){this.delegate.addClass(B,j)}removeClass(B,j){this.delegate.removeClass(B,j)}setStyle(B,j,pe,Ge){this.delegate.setStyle(B,j,pe,Ge)}removeStyle(B,j,pe){this.delegate.removeStyle(B,j,pe)}setProperty(B,j,pe){"@"==j.charAt(0)&&j==gn?this.disableAnimations(B,!!pe):this.delegate.setProperty(B,j,pe)}setValue(B,j){this.delegate.setValue(B,j)}listen(B,j,pe){return this.delegate.listen(B,j,pe)}disableAnimations(B,j){this.engine.disableAnimations(B,j)}}class so extends Do{constructor(B,j,pe,Ge){super(j,pe,Ge),this.factory=B,this.namespaceId=j}
1setProperty(B,j,pe){"@"==j.charAt(0)?"."==j.charAt(1)&&j==gn?this.disableAnimations(B,pe=void 0===pe||!!pe):this.engine.process(this.namespaceId,B,j.substr(1),pe):this.delegate.setProperty(B,j,pe)}listen(B,j,pe){if("@"==j.charAt(0)){const Ge=function xa(Fe){switch(Fe){case"body":return document.body;case"document":return document;case"window":return window;default:return Fe}}(B);let Tt=j.substr(1),Gt="";return"@"!=Tt.charAt(0)&&([Tt,Gt]=function Aa(Fe){const B=Fe.indexOf(".");return[Fe.substring(0,B),Fe.substr(B+1)]}(Tt)),this.engine.listen(this.namespaceId,Ge,Tt,Gt,Jt=>{this.factory.scheduleListenerCallback(Jt._data||-1,pe,Jt)})}return this.delegate.listen(B,j,pe)}}let Sa=(()=>{class Fe extends To{constructor(j,pe,Ge){super(j.body,pe,Ge)}ngOnDestroy(){this.flush()}}return Fe.\u0275fac=function(j){return new(j||Fe)(i.LFG(Wt.K0),i.LFG(Cn),i.LFG(Wi))},Fe.\u0275prov=i.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();const ds=new i.OlP("AnimationModuleType"),er=[{provide:e._j,useClass:qn},{provide:Wi,useFactory:function zs(){return new ia}},{provide:To,useClass:Sa},{provide:i.FYo,useFactory:function Xs(Fe,B,j){return new ri(Fe,B,j)},deps:[s.se,To,i.R0b]}],mr=[{provide:Cn,useFactory:()=>new vt},{provide:ds,useValue:"BrowserAnimations"},...er],ks=[{provide:Cn,useClass:Xt},{provide:ds,useValue:"NoopAnimations"},...er];let Ea=(()=>{class Fe{static withConfig(j){return{ngModule:Fe,providers:j.disableAnimations?ks:mr}}}return Fe.\u0275fac=function(j){return new(j||Fe)},Fe.\u0275mod=i.oAB({type:Fe}),Fe.\u0275inj=i.cJS({providers:mr,imports:[s.b2]}),Fe})()},2313:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Dx:()=>Je,H7:()=>ni,b2:()=>pn,q6:()=>Ne,se:()=>xt});var i=m(60),s=m(5e3);class e extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class l extends e{static makeCurrent(){(0,i.HT)(new l)}onAndCancel(st,ct,$t){return st.addEventListener(ct,$t,!1),()=>{st.removeEventListener(ct,$t,!1)}}dispatchEvent(st,ct){st.dispatchEvent(ct)}remove(st){st.parentNode&&st.parentNode.removeChild(st)}createElement(st,ct){return(ct=ct||this.getDefaultDocument()).createElement(st)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(st){return st.nodeType===Node.ELEMENT_NODE}isShadowRoot(st){return st instanceof DocumentFragment}getGlobalEventTarget(st,ct){return"window"===ct?window:"document"===ct?st:"body"===ct?st.body:null}getBaseHref(st){const ct=function A(){return d=d||document.querySelector("base"),d?d.getAttribute("href"):null}();return null==ct?null:function T(Xe){C=C||document.createElement("a"),C.setAttribute("href",Xe);const st=C.pathname;return"/"===st.charAt(0)?st:`/${st}`}(ct)}resetBaseElement(){d=null}getUserAgent(){return window.navigator.userAgent}getCookie(st){return(0,i.Mx)(document.cookie,st)}}let C,d=null;const S=new s.OlP("TRANSITION_ID"),q=[{provide:s.ip1,useFactory:function R(Xe,st,ct){return()=>{ct.get(s.CZH).donePromise.then(()=>{const $t=(0,i.q)(),un=st.querySelectorAll(`style[ng-transition="${Xe}"]`);for(let $n=0;$n<un.length;$n++)$t.remove(un[$n])})}},deps:[S,i.K0,s.zs3],multi:!0}];class w{static init(){(0,s.VLi)(new w)}addToWindow(st){s.dqk.getAngularTestability=($t,un=!0)=>{const $n=st.findTestabilityInTree($t,un);if(null==$n)throw new Error("Could not find testability for element.");return $n},s.dqk.getAllAngularTestabilities=()=>st.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>st.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push($t=>{const un=s.dqk.getAllAngularTestabilities();let $n=un.length,Qn=!1;const Fi=function(co){Qn=Qn||co,$n--,0==$n&&$t(Qn)};un.forEach(function(co){co.whenStable(Fi)})})}findTestabilityInTree(st,ct,$t){if(null==ct)return null;const un=st.getTestability(ct);return null!=un?un:$t?(0,i.q)().isShadowRoot(ct)?this.findTestabilityInTree(st,ct.host,!0):this.findTestabilityInTree(st,ct.parentElement,!0):null}}let k=(()=>{class Xe{build(){return new XMLHttpRequest}}return Xe.\u0275fac=function(ct){return new(ct||Xe)},Xe.\u0275prov=s.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})();const h=new s.OlP("EventManagerPlugins");let O=(()=>{class Xe{constructor(ct,$t){this._zone=$t,this._eventNameToPlugin=new Map,ct.forEach(un=>un.manager=this),this._plugins=ct.slice().reverse()}addEventListener(ct,$t,un){return this._findPluginFor($t).addEventListener(ct,$t,un)}addGlobalEventListener(ct,$t,un){return this._findPluginFor($t).addGlobalEventListener(ct,$t,un)}getZone(){return this._zone}_findPluginFor(ct){const $t=this._eventNameToPlugin.get(ct);if($t)return $t;const un=this._plugins;for(let $n=0;$n<un.length;$n++){const Qn=un[$n];if(Qn.supports(ct))return this._eventNameToPlugin.set(ct,Qn),Qn}throw new Error(`No event manager plugin found for event ${ct}`)}}return Xe.\u0275fac=function(ct){return new(ct||Xe)(s.LFG(h),s.LFG(s.R0b))},Xe.\u0275prov=s.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})();class E{constructor(st){this._doc=st}addGlobalEventListener(st,ct,$t){const un=(0,i.q)().getGlobalEventTarget(this._doc,st);if(!un)throw new Error(`Unsupported event target ${un} for event ${ct}`);return this.addEventListener(un,ct,$t)}}let c=(()=>{class Xe{constructor(){this._stylesSet=new Set}addStyles(ct){const $t=new Set;ct.forEach(un=>{this._stylesSet.has(un)||(this._stylesSet.add(un),$t.add(un))}),this.onStylesAdded($t)}onStylesAdded(ct){}getAllStyles(){return Array.from(this._stylesSet)}}return Xe.\u0275fac=function(ct){return new(ct||Xe)},Xe.\u0275prov=s.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})(),Z=(()=>{class Xe extends c{constructor(ct){super(),this._doc=ct,this._hostNodes=new Map,this._hostNodes.set(ct.head,[])}_addStylesToHost(ct,$t,un){ct.forEach($n=>{const Qn=this._doc.createElement("style");Qn.textContent=$n,un.push($t.appendChild(Qn))})}addHost(ct){const $t=[];this._addStylesToHost(this._stylesSet,ct,$t),this._hostNodes.set(ct,$t)}removeHost(ct){const $t=this._hostNodes.get(ct);$t&&$t.forEach(v),this._hostNodes.delete(ct)}
1onStylesAdded(ct){this._hostNodes.forEach(($t,un)=>{this._addStylesToHost(ct,un,$t)})}ngOnDestroy(){this._hostNodes.forEach(ct=>ct.forEach(v))}}return Xe.\u0275fac=function(ct){return new(ct||Xe)(s.LFG(i.K0))},Xe.\u0275prov=s.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})();function v(Xe){(0,i.q)().remove(Xe)}const ee={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},X=/%COMP%/g;function Be(Xe,st,ct){for(let $t=0;$t<st.length;$t++){let un=st[$t];Array.isArray(un)?Be(Xe,un,ct):(un=un.replace(X,Xe),ct.push(un))}return ct}function ot(Xe){return st=>{if("__ngUnwrap__"===st)return Xe;!1===Xe(st)&&(st.preventDefault(),st.returnValue=!1)}}let xt=(()=>{class Xe{constructor(ct,$t,un){this.eventManager=ct,this.sharedStylesHost=$t,this.appId=un,this.rendererByCompId=new Map,this.defaultRenderer=new At(ct)}createRenderer(ct,$t){if(!ct||!$t)return this.defaultRenderer;switch($t.encapsulation){case s.ifc.Emulated:{let un=this.rendererByCompId.get($t.id);return un||(un=new dt(this.eventManager,this.sharedStylesHost,$t,this.appId),this.rendererByCompId.set($t.id,un)),un.applyToHost(ct),un}case 1:case s.ifc.ShadowDom:return new Mt(this.eventManager,this.sharedStylesHost,ct,$t);default:if(!this.rendererByCompId.has($t.id)){const un=Be($t.id,$t.styles,[]);this.sharedStylesHost.addStyles(un),this.rendererByCompId.set($t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Xe.\u0275fac=function(ct){return new(ct||Xe)(s.LFG(O),s.LFG(Z),s.LFG(s.AFp))},Xe.\u0275prov=s.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})();class At{constructor(st){this.eventManager=st,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(st,ct){return ct?document.createElementNS(ee[ct]||ct,st):document.createElement(st)}createComment(st){return document.createComment(st)}createText(st){return document.createTextNode(st)}appendChild(st,ct){st.appendChild(ct)}insertBefore(st,ct,$t){st&&st.insertBefore(ct,$t)}removeChild(st,ct){st&&st.removeChild(ct)}selectRootElement(st,ct){let $t="string"==typeof st?document.querySelector(st):st;if(!$t)throw new Error(`The selector "${st}" did not match any elements`);return ct||($t.textContent=""),$t}parentNode(st){return st.parentNode}nextSibling(st){return st.nextSibling}setAttribute(st,ct,$t,un){if(un){ct=un+":"+ct;const $n=ee[un];$n?st.setAttributeNS($n,ct,$t):st.setAttribute(ct,$t)}else st.setAttribute(ct,$t)}removeAttribute(st,ct,$t){if($t){const un=ee[$t];un?st.removeAttributeNS(un,ct):st.removeAttribute(`${$t}:${ct}`)}else st.removeAttribute(ct)}addClass(st,ct){st.classList.add(ct)}removeClass(st,ct){st.classList.remove(ct)}setStyle(st,ct,$t,un){un&(s.JOm.DashCase|s.JOm.Important)?st.style.setProperty(ct,$t,un&s.JOm.Important?"important":""):st.style[ct]=$t}removeStyle(st,ct,$t){$t&s.JOm.DashCase?st.style.removeProperty(ct):st.style[ct]=""}setProperty(st,ct,$t){st[ct]=$t}setValue(st,ct){st.nodeValue=ct}listen(st,ct,$t){return"string"==typeof st?this.eventManager.addGlobalEventListener(st,ct,ot($t)):this.eventManager.addEventListener(st,ct,ot($t))}}class dt extends At{constructor(st,ct,$t,un){super(st),this.component=$t;const $n=Be(un+"-"+$t.id,$t.styles,[]);ct.addStyles($n),this.contentAttr=function he(Xe){return"_ngcontent-%COMP%".replace(X,Xe)}(un+"-"+$t.id),this.hostAttr=function Se(Xe){return"_nghost-%COMP%".replace(X,Xe)}(un+"-"+$t.id)}applyToHost(st){super.setAttribute(st,this.hostAttr,"")}createElement(st,ct){const $t=super.createElement(st,ct);return super.setAttribute($t,this.contentAttr,""),$t}}class Mt extends At{constructor(st,ct,$t,un){super(st),this.sharedStylesHost=ct,this.hostEl=$t,this.shadowRoot=$t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const $n=Be(un.id,un.styles,[]);for(let Qn=0;Qn<$n.length;Qn++){const Fi=document.createElement("style");Fi.textContent=$n[Qn],this.shadowRoot.appendChild(Fi)}}nodeOrShadowRoot(st){return st===this.hostEl?this.shadowRoot:st}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(st,ct){return super.appendChild(this.nodeOrShadowRoot(st),ct)}insertBefore(st,ct,$t){return super.insertBefore(this.nodeOrShadowRoot(st),ct,$t)}removeChild(st,ct){return super.removeChild(this.nodeOrShadowRoot(st),ct)}parentNode(st){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(st)))}}let we=(()=>
1{class Xe extends E{constructor(ct){super(ct)}supports(ct){return!0}addEventListener(ct,$t,un){return ct.addEventListener($t,un,!1),()=>this.removeEventListener(ct,$t,un)}removeEventListener(ct,$t,un){return ct.removeEventListener($t,un)}}return Xe.\u0275fac=function(ct){return new(ct||Xe)(s.LFG(i.K0))},Xe.\u0275prov=s.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})();const me=["alt","control","meta","shift"],re={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ft={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ot={alt:Xe=>Xe.altKey,control:Xe=>Xe.ctrlKey,meta:Xe=>Xe.metaKey,shift:Xe=>Xe.shiftKey};let Et=(()=>{class Xe extends E{constructor(ct){super(ct)}supports(ct){return null!=Xe.parseEventName(ct)}addEventListener(ct,$t,un){const $n=Xe.parseEventName($t),Qn=Xe.eventCallback($n.fullKey,un,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(ct,$n.domEventName,Qn))}static parseEventName(ct){const $t=ct.toLowerCase().split("."),un=$t.shift();if(0===$t.length||"keydown"!==un&&"keyup"!==un)return null;const $n=Xe._normalizeKey($t.pop());let Qn="";if(me.forEach(co=>{const uo=$t.indexOf(co);uo>-1&&($t.splice(uo,1),Qn+=co+".")}),Qn+=$n,0!=$t.length||0===$n.length)return null;const Fi={};return Fi.domEventName=un,Fi.fullKey=Qn,Fi}static getEventFullKey(ct){let $t="",un=function Lt(Xe){let st=Xe.key;if(null==st){if(st=Xe.keyIdentifier,null==st)return"Unidentified";st.startsWith("U+")&&(st=String.fromCharCode(parseInt(st.substring(2),16)),3===Xe.location&&ft.hasOwnProperty(st)&&(st=ft[st]))}return re[st]||st}(ct);return un=un.toLowerCase()," "===un?un="space":"."===un&&(un="dot"),me.forEach($n=>{$n!=un&&Ot[$n](ct)&&($t+=$n+".")}),$t+=un,$t}static eventCallback(ct,$t,un){return $n=>{Xe.getEventFullKey($n)===ct&&un.runGuarded(()=>$t($n))}}static _normalizeKey(ct){return"esc"===ct?"escape":ct}}return Xe.\u0275fac=function(ct){return new(ct||Xe)(s.LFG(i.K0))},Xe.\u0275prov=s.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})();const Ne=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:i.bD},{provide:s.g9A,useValue:function It(){l.makeCurrent(),w.init()},multi:!0},{provide:i.K0,useFactory:function wt(){return(0,s.RDi)(document),document},deps:[]}]),Ut=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function it(){return new s.qLn},deps:[]},{provide:h,useClass:we,multi:!0,deps:[i.K0,s.R0b,s.Lbi]},{provide:h,useClass:Et,multi:!0,deps:[i.K0]},{provide:xt,useClass:xt,deps:[O,Z,s.AFp]},{provide:s.FYo,useExisting:xt},{provide:c,useExisting:Z},{provide:Z,useClass:Z,deps:[i.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:O,useClass:O,deps:[h,s.R0b]},{provide:i.JF,useClass:k,deps:[]}];let pn=(()=>{class Xe{constructor(ct){if(ct)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(ct){return{ngModule:Xe,providers:[{provide:s.AFp,useValue:ct.appId},{provide:S,useExisting:s.AFp},q]}}}return Xe.\u0275fac=function(ct){return new(ct||Xe)(s.LFG(Xe,12))},Xe.\u0275mod=s.oAB({type:Xe}),Xe.\u0275inj=s.cJS({providers:Ut,imports:[i.ez,s.hGG]}),Xe})(),Je=(()=>{class Xe{constructor(ct){this._doc=ct}getTitle(){return this._doc.title}setTitle(ct){this._doc.title=ct||""}}return Xe.\u0275fac=function(ct){return new(ct||Xe)(s.LFG(i.K0))},Xe.\u0275prov=s.Yz7({token:Xe,factory:function(ct){let $t=null;return $t=ct?new ct:function Ue(){return new Je((0,s.LFG)(i.K0))}(),$t},providedIn:"root"}),Xe})();"undefined"!=typeof window&&window;let ni=(()=>{class Xe{}return Xe.\u0275fac=function(ct){return new(ct||Xe)},Xe.\u0275prov=s.Yz7({token:Xe,factory:function(ct){let $t=null;return $t=ct?new(ct||Xe):s.LFG(An),$t},providedIn:"root"}),Xe})(),An=(()=>{class Xe extends ni{constructor(ct){super(),this._doc=ct}sanitize(ct,$t){if(null==$t)return null;switch(ct){case s.q3G.NONE:return $t;case s.q3G.HTML:return(0,s.qzn)($t,"HTML")?(0,s.z3N)($t):(0,s.EiD)(this._doc,String($t)).toString();case s.q3G.STYLE:return(0,s.qzn)($t,"Style")?(0,s.z3N)($t):$t;case s.q3G.SCRIPT:if((0,s.qzn)($t,"Script"))return(0,s.z3N)($t);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)($t),(0,s.qzn)($t,"URL")?(0,s.z3N)($t):(0,s.mCW)(String($t));case s.q3G.RESOURCE_URL:if((0,s.qzn)($t,"ResourceURL"))return(0,s.z3N)($t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ct} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ct){return(0,s.JVY)(ct)}bypassSecurityTrustStyle(ct){return(0,s.L6k)(ct)}bypassSecurityTrustScript(ct){return(0,s.eBb)(ct)}bypassSecurityTrustUrl(ct){return(0,s.LAX)(ct)}bypassSecurityTrustResourceUrl(ct){return(0,s.pB0)(ct)}}return Xe.\u0275fac=function(ct){return new(ct||Xe)(s.LFG(i.K0))},Xe.\u0275prov=s.Yz7({token:Xe,factory:function(ct){let $t=null;return $t=ct?new ct:function ln(Xe){return new An(Xe.get(i.K0))}(s.LFG(s.zs3)),$t},providedIn:"root"}),Xe})()},3932:(Yt,Ze,m)=>{"use strict";m.d(Ze,{gz:()=>zi,m2:()=>ft,F0:()=>xe,rH:()=>Pt,Od:()=>en,yS:()=>Bt,Bz:()=>Ms,lC:()=>ma});var i=m(5e3),s=m(2076),e=m(9646),l=m(1135),d=m(9841),A=m(2843),C=m(6805),T=m(7272),S=m(9770),R=m(9751),q=m(515),w=m(727),k=m(4482),h=m(5403);function O(){return(0,k.e)((ae,J)=>{let K=null;ae._refCount++;const be=new h.Q(J,void 0,void 0,void 0,()=>{if(!ae||ae._refCount<=0||0<--ae._refCount)return void(K=null);const Re=ae._connection,ht=K;K=null,Re&&(!ht||Re===ht)&&Re.unsubscribe(),J.unsubscribe()});ae.subscribe(be),be.closed||(K=ae.connect())})}class E extends R.y{constructor(J,K){super(),this.source=J,this.subjectFactory=K,this._subject=null,this._refCount=0,this._connection=null,(0,k.A)(J)&&(this.lift=J.lift)}
1_subscribe(J){return this.getSubject().subscribe(J)}getSubject(){const J=this._subject;return(!J||J.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:J}=this;this._subject=this._connection=null,null==J||J.unsubscribe()}connect(){let J=this._connection;if(!J){J=this._connection=new w.w0;const K=this.getSubject();J.add(this.source.subscribe(new h.Q(K,void 0,()=>{this._teardown(),K.complete()},be=>{this._teardown(),K.error(be)},()=>this._teardown()))),J.closed&&(this._connection=null,J=w.w0.EMPTY)}return J}refCount(){return O()(this)}}var c=m(7579),Z=m(4004),v=m(3900),ee=m(5698),X=m(8675);function te(ae,J,K,be,Re){return(ht,qt)=>{let Kt=K,yn=J,Ei=0;ht.subscribe(new h.Q(qt,vo=>{const Ri=Ei++;yn=Kt?ae(yn,vo,Ri):(Kt=!0,vo),be&&qt.next(yn)},Re&&(()=>{Kt&&qt.next(yn),qt.complete()})))}}function _e(ae,J){return(0,k.e)(te(ae,J,arguments.length>=2,!0))}var ne=m(9300),oe=m(262),he=m(4351);function Se(ae){return ae<=0?()=>q.E:(0,k.e)((J,K)=>{let be=[];J.subscribe(new h.Q(K,Re=>{be.push(Re),ae<be.length&&be.shift()},()=>{for(const Re of be)K.next(Re);K.complete()},void 0,()=>{be=null}))})}function Be(ae=ot){return(0,k.e)((J,K)=>{let be=!1;J.subscribe(new h.Q(K,Re=>{be=!0,K.next(Re)},()=>be?K.complete():K.error(ae())))})}function ot(){return new C.K}var nt=m(6590),xt=m(4671);function Qt(ae,J){const K=arguments.length>=2;return be=>be.pipe(ae?(0,ne.h)((Re,ht)=>ae(Re,ht,be)):xt.y,(0,ee.q)(1),K?(0,nt.d)(J):Be(()=>new C.K))}var Vt=m(5577),dt=m(8505),Mt=m(8746),we=m(8189),me=m(60);class We{constructor(J,K){this.id=J,this.url=K}}class re extends We{constructor(J,K,be="imperative",Re=null){super(J,K),this.navigationTrigger=be,this.restoredState=Re}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ft extends We{constructor(J,K,be){super(J,K),this.urlAfterRedirects=be}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ot extends We{constructor(J,K,be){super(J,K),this.reason=be}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Et extends We{constructor(J,K,be){super(J,K),this.error=be}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Lt extends We{constructor(J,K,be,Re){super(J,K),this.urlAfterRedirects=be,this.state=Re}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class It extends We{constructor(J,K,be,Re){super(J,K),this.urlAfterRedirects=be,this.state=Re}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it extends We{constructor(J,K,be,Re,ht){super(J,K),this.urlAfterRedirects=be,this.state=Re,this.shouldActivate=ht}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wt extends We{constructor(J,K,be,Re){super(J,K),this.urlAfterRedirects=be,this.state=Re}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class le extends We{constructor(J,K,be,Re){super(J,K),this.urlAfterRedirects=be,this.state=Re}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ne{constructor(J){this.route=J}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ut{constructor(J){this.route=J}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class pn{constructor(J){this.snapshot=J}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dn{constructor(J){this.snapshot=J}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mn{constructor(J){this.snapshot=J}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rn{constructor(J){this.snapshot=J}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}
1class Ue{constructor(J,K,be){this.routerEvent=J,this.position=K,this.anchor=be}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Je="primary";class De{constructor(J){this.params=J||{}}has(J){return Object.prototype.hasOwnProperty.call(this.params,J)}get(J){if(this.has(J)){const K=this.params[J];return Array.isArray(K)?K[0]:K}return null}getAll(J){if(this.has(J)){const K=this.params[J];return Array.isArray(K)?K:[K]}return[]}get keys(){return Object.keys(this.params)}}function at(ae){return new De(ae)}const Ve="ngNavigationCancelingError";function ge(ae){const J=Error("NavigationCancelingError: "+ae);return J[Ve]=!0,J}function _t(ae,J,K){const be=K.path.split("/");if(be.length>ae.length||"full"===K.pathMatch&&(J.hasChildren()||be.length<ae.length))return null;const Re={};for(let ht=0;ht<be.length;ht++){const qt=be[ht],Kt=ae[ht];if(qt.startsWith(":"))Re[qt.substring(1)]=Kt;else if(qt!==Kt.path)return null}return{consumed:ae.slice(0,be.length),posParams:Re}}function Xt(ae,J){const K=ae?Object.keys(ae):void 0,be=J?Object.keys(J):void 0;if(!K||!be||K.length!=be.length)return!1;let Re;for(let ht=0;ht<K.length;ht++)if(Re=K[ht],!Cn(ae[Re],J[Re]))return!1;return!0}function Cn(ae,J){if(Array.isArray(ae)&&Array.isArray(J)){if(ae.length!==J.length)return!1;const K=[...ae].sort(),be=[...J].sort();return K.every((Re,ht)=>be[ht]===Re)}return ae===J}function Hn(ae){return Array.prototype.concat.apply([],ae)}function Kn(ae){return ae.length>0?ae[ae.length-1]:null}function di(ae,J){for(const K in ae)ae.hasOwnProperty(K)&&J(ae[K],K)}function ui(ae){return(0,i.CqO)(ae)?ae:(0,i.QGY)(ae)?(0,s.D)(Promise.resolve(ae)):(0,e.of)(ae)}const In={exact:function gt(ae,J,K){if(!An(ae.segments,J.segments)||!Ft(ae.segments,J.segments,K)||ae.numberOfChildren!==J.numberOfChildren)return!1;for(const be in J.children)if(!ae.children[be]||!gt(ae.children[be],J.children[be],K))return!1;return!0},subset:Oe},Fn={exact:function Vi(ae,J){return Xt(ae,J)},subset:function He(ae,J){return Object.keys(J).length<=Object.keys(ae).length&&Object.keys(J).every(K=>Cn(ae[K],J[K]))},ignored:()=>!0};function ei(ae,J,K){return In[K.paths](ae.root,J.root,K.matrixParams)&&Fn[K.queryParams](ae.queryParams,J.queryParams)&&!("exact"===K.fragment&&ae.fragment!==J.fragment)}function Oe(ae,J,K){return pt(ae,J,J.segments,K)}function pt(ae,J,K,be){if(ae.segments.length>K.length){const Re=ae.segments.slice(0,K.length);return!(!An(Re,K)||J.hasChildren()||!Ft(Re,K,be))}if(ae.segments.length===K.length){if(!An(ae.segments,K)||!Ft(ae.segments,K,be))return!1;for(const Re in J.children)if(!ae.children[Re]||!Oe(ae.children[Re],J.children[Re],be))return!1;return!0}{const Re=K.slice(0,ae.segments.length),ht=K.slice(ae.segments.length);return!!(An(ae.segments,Re)&&Ft(ae.segments,Re,be)&&ae.children[Je])&&pt(ae.children[Je],J,ht,be)}}function Ft(ae,J,K){return J.every((be,Re)=>Fn[K](ae[Re].parameters,be.parameters))}class fn{constructor(J,K,be){this.root=J,this.queryParams=K,this.fragment=be}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=at(this.queryParams)),this._queryParamMap}toString(){return ct.serialize(this)}}class Zn{constructor(J,K){this.segments=J,this.children=K,this.parent=null,di(K,(be,Re)=>be.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $t(this)}}class ni{constructor(J,K){this.path=J,this.parameters=K}get parameterMap(){return this._parameterMap||(this._parameterMap=at(this.parameters)),this._parameterMap}toString(){return bo(this)}}function An(ae,J){return ae.length===J.length&&ae.every((K,be)=>K.path===J[be].path)}class Xe{}class st{parse(J){const K=new Y(J);return new fn(K.parseRootSegment(),K.parseQueryParams(),K.parseFragment())}serialize(J){const K=`/${un(J.root,!0)}`,be=function xo(ae){const J=Object.keys(ae).map(K=>{const be=ae[K];return Array.isArray(be)?be.map(Re=>`${Qn(K)}=${Qn(Re)}`).join("&"):`${Qn(K)}=${Qn(be)}`}).filter(K=>!!K);return J.length?`?${J.join("&")}`:""}(J.queryParams);return`${K}${be}${"string"==typeof J.fragment?`#${function Fi(ae){return encodeURI(ae)}(J.fragment)}`:""}`}}const ct=new st;function $t(ae){return ae.segments.map(J=>bo(J)).join("/")}function un(ae,J){if(!ae.hasChildren())return $t(ae);if(J){const K=ae.children[Je]?un(ae.children[Je],!1):"",be=[];return di(ae.children,(Re,ht)=>{ht!==Je&&be.push(`${ht}:${un(Re,!1)}`)}),be.length>0?`${K}(${be.join("//")})`:K}{const K=function bt(ae,J){let K=[];return di(ae.children,(be,Re)=>{Re===Je&&(K=K.concat(J(be,Re)))}),di(ae.children,(be,Re)=>{Re!==Je&&(K=K.concat(J(be,Re)))}),K}(ae,(be,Re)=>Re===Je?[un(ae.children[Je],!1)]:[`${Re}:${un(be,!1)}`]);return 1===Object.keys(ae.children).length&&null!=ae.children[Je]?`${$t(ae)}/${K[0]}`:`${$t(ae)}/(${K.join("//")})`}}function $n(ae){return encodeURIComponent(ae).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qn(ae){return $n(ae).replace(/%3B/gi,";")}function co(ae){return $n(ae).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function uo(ae){return decodeURIComponent(ae)}function gi(ae){return uo(ae.replace(/\+/g,"%20"))}function bo(ae){return`${co(ae.path)}${function to(ae){return Object.keys(ae).map(J=>`;${co(J)}=${co(ae[J])}`).join("")}(ae.parameters)}`}const Nn=/^[^\/()?;=#]+/;function fe(ae){const J=ae.match(Nn);return J?J[0]:""}const Pe=/^[^=?&#]+/,Ee=/^[^&#]+/;class Y{constructor(J){this.url=J,this.remaining=J}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zn([],{}):new Zn([],this.parseChildren())}parseQueryParams(){const J={};if(this.consumeOptional("?"))do{this.parseQueryParam(J)}while(this.consumeOptional("&"));return J}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const J=[];for(this.peekStartsWith("(")||J.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),J.push(this.parseSegment());let K={};this.peekStartsWith("/(")&&(this.capture("/"),K=this.parseParens(!0));let be={};return this.peekStartsWith("(")&&(be=this.parseParens(!1)),(J.length>0||Object.keys(K).length>0)&&(be[Je]=new Zn(J,K)),be}parseSegment(){const J=fe(this.remaining);if(""===J&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(J),new ni(uo(J),this.parseMatrixParams())}parseMatrixParams(){const J={};for(;this.consumeOptional(";");)this.parseParam(J);return J}parseParam(J){const K=fe(this.remaining);if(!K)return;this.capture(K);let be="";if(this.consumeOptional("=")){const Re=fe(this.remaining);Re&&(be=Re,this.capture(be))}J[uo(K)]=uo(be)}parseQueryParam(J){const K=function ye(ae){const J=ae.match(Pe);return J?J[0]:""}(this.remaining);if(!K)return;this.capture(K);let be="";if(this.consumeOptional("=")){const qt=function lt(ae){const J=ae.match(Ee);return J?J[0]:""}(this.remaining);qt&&(be=qt,this.capture(be))}const Re=gi(K),ht=gi(be);if(J.hasOwnProperty(Re)){let qt=J[Re];Array.isArray(qt)||(qt=[qt],J[Re]=qt),qt.push(ht)}else J[Re]=ht}parseParens(J){const K={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const be=fe(this.remaining),Re=this.remaining[be.length];if("/"!==Re&&")"!==Re&&";"!==Re)throw new Error(`Cannot parse url '${this.url}'`);let ht;be.indexOf(":")>-1?(ht=be.substr(0,be.indexOf(":")),this.capture(ht),this.capture(":")):J&&(ht=Je);const qt=this.parseChildren();K[ht]=1===Object.keys(qt).length?qt[Je]:new Zn([],qt),this.consumeOptional("//")}return K}peekStartsWith(J){return this.remaining.startsWith(J)}consumeOptional(J){return!!this.peekStartsWith(J)&&(this.remaining=this.remaining.substring(J.length),!0)}capture(J){if(!this.consumeOptional(J))throw new Error(`Expected "${J}".`)}}class Te{constructor(J){this._root=J}get root(){return this._root.value}parent(J){const K=this.pathFromRoot(J);return K.length>1?K[K.length-2]:null}children(J){const K=rt(J,this._root);return K?K.children.map(be=>be.value):[]}firstChild(J){const K=rt(J,this._root);return K&&K.children.length>0?K.children[0].value:null}siblings(J){const K=Nt(J,this._root);return K.length<2?[]:K[K.length-2].children.map(Re=>Re.value).filter(Re=>Re!==J)}pathFromRoot(J){return Nt(J,this._root).map(K=>K.value)}}function rt(ae,J){if(ae===J.value)return J;for(const K of J.children){const be=rt(ae,K);if(be)return be}return null}function Nt(ae,J){if(ae===J.value)return[J];for(const K of J.children){const be=Nt(ae,K);if(be.length)return be.unshift(J),be}return[]}class Tn{constructor(J,K){this.value=J,this.children=K}toString(){return`TreeNode(${this.value})`}}function Ln(ae){const J={};return ae&&ae.children.forEach(K=>J[K.value.outlet]=K),J}class Si extends Te{constructor(J,K){super(J),this.snapshot=K,Ii(this,J)}toString(){return this.snapshot.toString()}}function Ti(ae,J){const K=function ho(ae,J){const qt=new ci([],{},{},"",{},Je,J,null,ae.root,-1,{});return new xi("",new Tn(qt,[]))}(ae,J),be=new l.X([new ni("",{})]),Re=new l.X({}),ht=new l.X({}),qt=new l.X({}),Kt=new l.X(""),yn=new zi(be,Re,qt,Kt,ht,Je,J,K.root);return yn.snapshot=K.root,new Si(new Tn(yn,[]),K)}class zi{constructor(J,K,be,Re,ht,qt,Kt,yn){this.url=J,this.params=K,this.queryParams=be,this.fragment=Re,this.data=ht,this.outlet=qt,this.component=Kt,this._futureSnapshot=yn}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Z.U)(J=>at(J)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Z.U)(J=>at(J)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Bi(ae,J="emptyOnly"){const K=ae.pathFromRoot;let be=0;
1if("always"!==J)for(be=K.length-1;be>=1;){const Re=K[be],ht=K[be-1];if(Re.routeConfig&&""===Re.routeConfig.path)be--;else{if(ht.component)break;be--}}return function bn(ae){return ae.reduce((J,K)=>({params:Object.assign(Object.assign({},J.params),K.params),data:Object.assign(Object.assign({},J.data),K.data),resolve:Object.assign(Object.assign({},J.resolve),K._resolvedData)}),{params:{},data:{},resolve:{}})}(K.slice(be))}class ci{constructor(J,K,be,Re,ht,qt,Kt,yn,Ei,vo,Ri){this.url=J,this.params=K,this.queryParams=be,this.fragment=Re,this.data=ht,this.outlet=qt,this.component=Kt,this.routeConfig=yn,this._urlSegment=Ei,this._lastPathIndex=vo,this._resolve=Ri}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=at(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=at(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(be=>be.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xi extends Te{constructor(J,K){super(K),this.url=J,Ii(this,K)}toString(){return Bo(this._root)}}function Ii(ae,J){J.value._routerState=ae,J.children.forEach(K=>Ii(ae,K))}function Bo(ae){const J=ae.children.length>0?` { ${ae.children.map(Bo).join(", ")} } `:"";return`${ae.value}${J}`}function Gi(ae){if(ae.snapshot){const J=ae.snapshot,K=ae._futureSnapshot;ae.snapshot=K,Xt(J.queryParams,K.queryParams)||ae.queryParams.next(K.queryParams),J.fragment!==K.fragment&&ae.fragment.next(K.fragment),Xt(J.params,K.params)||ae.params.next(K.params),function jt(ae,J){if(ae.length!==J.length)return!1;for(let K=0;K<ae.length;++K)if(!Xt(ae[K],J[K]))return!1;return!0}(J.url,K.url)||ae.url.next(K.url),Xt(J.data,K.data)||ae.data.next(K.data)}else ae.snapshot=ae._futureSnapshot,ae.data.next(ae._futureSnapshot.data)}function go(ae,J){const K=Xt(ae.params,J.params)&&function ln(ae,J){return An(ae,J)&&ae.every((K,be)=>Xt(K.parameters,J[be].parameters))}(ae.url,J.url);return K&&!(!ae.parent!=!J.parent)&&(!ae.parent||go(ae.parent,J.parent))}function Ao(ae,J,K){if(K&&ae.shouldReuseRoute(J.value,K.value.snapshot)){const be=K.value;be._futureSnapshot=J.value;const Re=function Fo(ae,J,K){return J.children.map(be=>{for(const Re of K.children)if(ae.shouldReuseRoute(be.value,Re.value.snapshot))return Ao(ae,be,Re);return Ao(ae,be)})}(ae,J,K);return new Tn(be,Re)}{if(ae.shouldAttach(J.value)){const ht=ae.retrieve(J.value);if(null!==ht){const qt=ht.route;return qt.value._futureSnapshot=J.value,qt.children=J.children.map(Kt=>Ao(ae,Kt)),qt}}const be=function ua(ae){return new zi(new l.X(ae.url),new l.X(ae.params),new l.X(ae.queryParams),new l.X(ae.fragment),new l.X(ae.data),ae.outlet,ae.component,ae)}(J.value),Re=J.children.map(ht=>Ao(ae,ht));return new Tn(be,Re)}}function $e(ae){return"object"==typeof ae&&null!=ae&&!ae.outlets&&!ae.segmentPath}function z(ae){return"object"==typeof ae&&null!=ae&&ae.outlets}function Ie(ae,J,K,be,Re){let ht={};if(be&&di(be,(Kt,yn)=>{ht[yn]=Array.isArray(Kt)?Kt.map(Ei=>`${Ei}`):`${Kt}`}),ae===J)return new fn(K,ht,Re);const qt=G(ae,J,K);return new fn(qt,ht,Re)}function G(ae,J,K){const be={};return di(ae.children,(Re,ht)=>{be[ht]=Re===J?K:G(Re,J,K)}),new Zn(ae.segments,be)}class de{constructor(J,K,be){if(this.isAbsolute=J,this.numberOfDoubleDots=K,this.commands=be,J&&be.length>0&&$e(be[0]))throw new Error("Root segment cannot have matrix parameters");const Re=be.find(z);if(Re&&Re!==Kn(be))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Dt{constructor(J,K,be){this.segmentGroup=J,this.processChildren=K,this.index=be}}function $i(ae,J,K){if(ae||(ae=new Zn([],{})),0===ae.segments.length&&ae.hasChildren())return no(ae,J,K);const be=function Wi(ae,J,K){let be=0,Re=J;const ht={match:!1,pathIndex:0,commandIndex:0};for(;Re<ae.segments.length;){if(be>=K.length)return ht;const qt=ae.segments[Re],Kt=K[be];if(z(Kt))break;const yn=`${Kt}`,Ei=be<K.length-1?K[be+1]:null;if(Re>0&&void 0===yn)break;if(yn&&Ei&&"object"==typeof Ei&&void 0===Ei.outlets){if(!Pa(yn,Ei,qt))return ht;be+=2}else{if(!Pa(yn,{},qt))return ht;be++}Re++}return{match:!0,pathIndex:Re,commandIndex:be}}(ae,J,K),Re=K.slice(be.commandIndex);if(be.match&&be.pathIndex<ae.segments.length){const ht=new Zn(ae.segments.slice(0,be.pathIndex),{});return ht.children[Je]=new Zn(ae.segments.slice(be.pathIndex),ae.children),no(ht,0,Re)}return be.match&&0===Re.length?new Zn(ae.segments,{}):be.match&&!ae.hasChildren()?Zo(ae,J,K):be.match?no(ae,0,Re):Zo(ae,J,K)}function no(ae,J,K){if(0===K.length)return new Zn(ae.segments,{});{const be=function zn(ae){return z(ae[0])?ae[0].outlets:{[Je]:ae}}(K),Re={};return di(be,(ht,qt)=>{"string"==typeof ht&&(ht=[ht]),null!==ht&&(Re[qt]=$i(ae.children[qt],J,ht))}),di(ae.children,(ht,qt)=>{void 0===be[qt]&&(Re[qt]=ht)}),new Zn(ae.segments,Re)}}function Zo(ae,J,K){const be=ae.segments.slice(0,J);let Re=0;for(;Re<K.length;){const ht=K[Re];if(z(ht)){const yn=ia(ht.outlets);return new Zn(be,yn)}if(0===Re&&$e(K[0])){be.push(new ni(ae.segments[J].path,Wo(K[0]))),Re++;continue}const qt=z(ht)?ht.outlets[Je]:`${ht}`,Kt=Re<K.length-1?K[Re+1]:null;qt&&Kt&&$e(Kt)?(be.push(new ni(qt,Wo(Kt))),Re+=2):(be.push(new ni(qt,{})),Re++)}return new Zn(be,{})}function ia(ae){const J={};return di(ae,(K,be)=>
1{"string"==typeof K&&(K=[K]),null!==K&&(J[be]=Zo(new Zn([],{}),0,K))}),J}function Wo(ae){const J={};return di(ae,(K,be)=>J[be]=`${K}`),J}function Pa(ae,J,K){return ae==K.path&&Xt(J,K.parameters)}class Ca{constructor(J,K,be,Re){this.routeReuseStrategy=J,this.futureState=K,this.currState=be,this.forwardEvent=Re}activate(J){const K=this.futureState._root,be=this.currState?this.currState._root:null;this.deactivateChildRoutes(K,be,J),Gi(this.futureState.root),this.activateChildRoutes(K,be,J)}deactivateChildRoutes(J,K,be){const Re=Ln(K);J.children.forEach(ht=>{const qt=ht.value.outlet;this.deactivateRoutes(ht,Re[qt],be),delete Re[qt]}),di(Re,(ht,qt)=>{this.deactivateRouteAndItsChildren(ht,be)})}deactivateRoutes(J,K,be){const Re=J.value,ht=K?K.value:null;if(Re===ht)if(Re.component){const qt=be.getContext(Re.outlet);qt&&this.deactivateChildRoutes(J,K,qt.children)}else this.deactivateChildRoutes(J,K,be);else ht&&this.deactivateRouteAndItsChildren(K,be)}deactivateRouteAndItsChildren(J,K){J.value.component&&this.routeReuseStrategy.shouldDetach(J.value.snapshot)?this.detachAndStoreRouteSubtree(J,K):this.deactivateRouteAndOutlet(J,K)}detachAndStoreRouteSubtree(J,K){const be=K.getContext(J.value.outlet),Re=be&&J.value.component?be.children:K,ht=Ln(J);for(const qt of Object.keys(ht))this.deactivateRouteAndItsChildren(ht[qt],Re);if(be&&be.outlet){const qt=be.outlet.detach(),Kt=be.children.onOutletDeactivated();this.routeReuseStrategy.store(J.value.snapshot,{componentRef:qt,route:J,contexts:Kt})}}deactivateRouteAndOutlet(J,K){const be=K.getContext(J.value.outlet),Re=be&&J.value.component?be.children:K,ht=Ln(J);for(const qt of Object.keys(ht))this.deactivateRouteAndItsChildren(ht[qt],Re);be&&be.outlet&&(be.outlet.deactivate(),be.children.onOutletDeactivated(),be.attachRef=null,be.resolver=null,be.route=null)}activateChildRoutes(J,K,be){const Re=Ln(K);J.children.forEach(ht=>{this.activateRoutes(ht,Re[ht.value.outlet],be),this.forwardEvent(new rn(ht.value.snapshot))}),J.children.length&&this.forwardEvent(new Dn(J.value.snapshot))}activateRoutes(J,K,be){const Re=J.value,ht=K?K.value:null;if(Gi(Re),Re===ht)if(Re.component){const qt=be.getOrCreateContext(Re.outlet);this.activateChildRoutes(J,K,qt.children)}else this.activateChildRoutes(J,K,be);else if(Re.component){const qt=be.getOrCreateContext(Re.outlet);if(this.routeReuseStrategy.shouldAttach(Re.snapshot)){const Kt=this.routeReuseStrategy.retrieve(Re.snapshot);this.routeReuseStrategy.store(Re.snapshot,null),qt.children.onOutletReAttached(Kt.contexts),qt.attachRef=Kt.componentRef,qt.route=Kt.route.value,qt.outlet&&qt.outlet.attach(Kt.componentRef,Kt.route.value),Gi(Kt.route.value),this.activateChildRoutes(J,null,qt.children)}else{const Kt=function oa(ae){for(let J=ae.parent;J;J=J.parent){const K=J.routeConfig;if(K&&K._loadedConfig)return K._loadedConfig;if(K&&K.component)return null}return null}(Re.snapshot),yn=Kt?Kt.module.componentFactoryResolver:null;qt.attachRef=null,qt.route=Re,qt.resolver=yn,qt.outlet&&qt.outlet.activateWith(Re,yn),this.activateChildRoutes(J,null,qt.children)}}else this.activateChildRoutes(J,null,be)}}class ka{constructor(J,K){this.routes=J,this.module=K}}function ha(ae){return"function"==typeof ae}function Ho(ae){return ae instanceof fn}const Ha=Symbol("INITIAL_VALUE");function ba(){return(0,v.w)(ae=>(0,d.a)(ae.map(J=>J.pipe((0,ee.q)(1),(0,X.O)(Ha)))).pipe(_e((J,K)=>{let be=!1;return K.reduce((Re,ht,qt)=>Re!==Ha?Re:(ht===Ha&&(be=!0),be||!1!==ht&&qt!==K.length-1&&!Ho(ht)?Re:ht),J)},Ha),(0,ne.h)(J=>J!==Ha),(0,Z.U)(J=>Ho(J)?J:!0===J),(0,ee.q)(1)))}class Ra{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Za,this.attachRef=null}}class Za{constructor(){this.contexts=new Map}onChildOutletCreated(J,K){const be=this.getOrCreateContext(J);be.outlet=K,this.contexts.set(J,be)}onChildOutletDestroyed(J){const K=this.getContext(J);K&&(K.outlet=null,K.attachRef=null)}onOutletDeactivated(){const J=this.contexts;return this.contexts=new Map,J}onOutletReAttached(J){this.contexts=J}getOrCreateContext(J){let K=this.getContext(J);return K||(K=new Ra,this.contexts.set(J,K)),K}getContext(J){return this.contexts.get(J)||null}}let ma=(()=>{class ae{constructor(K,be,Re,ht,qt){this.parentContexts=K,this.location=be,this.resolver=Re,this.changeDetector=qt,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.name=ht||Je,K.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const K=this.parentContexts.getContext(this.name);K&&K.route&&(K.attachRef?this.attach(K.attachRef,K.route):this.activateWith(K.route,K.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const K=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(K.instance),K}attach(K,be){this.activated=K,this._activatedRoute=be,this.location.insert(K.hostView),this.attachEvents.emit(K.instance)}deactivate(){if(this.activated){const K=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(K)}}activateWith(K,be){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=K;const qt=(be=be||this.resolver).resolveComponentFactory(K._futureSnapshot.routeConfig.component),Kt=this.parentContexts.getOrCreateContext(this.name).children,yn=new as(K,Kt,this.location.injector);this.activated=this.location.createComponent(qt,this.location.length,yn),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return ae.\u0275fac=function(K){return new(K||ae)(i.Y36(Za),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},ae.\u0275dir=i.lG2({type:ae,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),ae})();class as{constructor(J,K,be){this.route=J,this.childContexts=K,this.parent=be}get(J,K){return J===zi?this.route:J===Za?this.childContexts:this.parent.get(J,K)}}let lo=(()=>{class ae{}return ae.\u0275fac=function(K){return new(K||ae)},ae.\u0275cmp=i.Xpm({type:ae,selectors:[["ng-component"]],decls:1,vars:0,template:function(K,be){1&K&&i._UZ(0,"router-outlet")},directives:[ma],encapsulation:2}),ae})();function ss(ae,J=""){for(let K=0;K<ae.length;K++){const be=ae[K];za(be,So(J,be))}}function za(ae,J){ae.children&&ss(ae.children,J)}function So(ae,J){return J?ae||J.path?ae&&!J.path?`${ae}/`:!ae&&J.path?J.path:`${ae}/${J.path}`:"":ae}function Ba(ae){const J=ae.children&&ae.children.map(Ba),K=J?Object.assign(Object.assign({},ae),{children:J}):Object.assign({},ae);return!K.component&&(J||K.loadChildren)&&K.outlet&&K.outlet!==Je&&(K.component=lo),K}function jo(ae){return ae.outlet||Je}function $a(ae,J){const K=ae.filter(be=>jo(be)===J);return K.push(...ae.filter(be=>jo(be)!==J)),K}const Ya={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ya(ae,J,K){var be;if(""===J.path)return"full"===J.pathMatch&&(ae.hasChildren()||K.length>0)?Object.assign({},Ya):{matched:!0,consumedSegments:[],remainingSegments:K,parameters:{},positionalParamSegments:{}};const ht=(J.matcher||_t)(K,ae,J);if(!ht)return Object.assign({},Ya);const qt={};di(ht.posParams,(yn,Ei)=>{qt[Ei]=yn.path});const Kt=ht.consumed.length>0?Object.assign(Object.assign({},qt),ht.consumed[ht.consumed.length-1].parameters):qt;return{matched:!0,consumedSegments:ht.consumed,remainingSegments:K.slice(ht.consumed.length),parameters:Kt,positionalParamSegments:null!==(be=ht.posParams)&&void 0!==be?be:{}}}function ga(ae,J,K,be,Re="corrected"){if(K.length>0&&function tt(ae,J,K){return K.some(be=>mt(ae,J,be)&&jo(be)!==Je)}(ae,K,be)){const qt=new Zn(J,function Ae(ae,J,K,be){const Re={};Re[Je]=be,be._sourceSegment=ae,be._segmentIndexShift=J.length;for(const ht of K)if(""===ht.path&&jo(ht)!==Je){const qt=new Zn([],{});
1qt._sourceSegment=ae,qt._segmentIndexShift=J.length,Re[jo(ht)]=qt}return Re}(ae,J,be,new Zn(K,ae.children)));return qt._sourceSegment=ae,qt._segmentIndexShift=J.length,{segmentGroup:qt,slicedSegments:[]}}if(0===K.length&&function Ce(ae,J,K){return K.some(be=>mt(ae,J,be))}(ae,K,be)){const qt=new Zn(ae.segments,function Oo(ae,J,K,be,Re,ht){const qt={};for(const Kt of be)if(mt(ae,K,Kt)&&!Re[jo(Kt)]){const yn=new Zn([],{});yn._sourceSegment=ae,yn._segmentIndexShift="legacy"===ht?ae.segments.length:J.length,qt[jo(Kt)]=yn}return Object.assign(Object.assign({},Re),qt)}(ae,J,K,be,ae.children,Re));return qt._sourceSegment=ae,qt._segmentIndexShift=J.length,{segmentGroup:qt,slicedSegments:K}}const ht=new Zn(ae.segments,ae.children);return ht._sourceSegment=ae,ht._segmentIndexShift=J.length,{segmentGroup:ht,slicedSegments:K}}function mt(ae,J,K){return(!(ae.hasChildren()||J.length>0)||"full"!==K.pathMatch)&&""===K.path}function Ht(ae,J,K,be){return!!(jo(ae)===be||be!==Je&&mt(J,K,ae))&&("**"===ae.path||ya(J,ae,K).matched)}function En(ae,J,K){return 0===J.length&&!ae.children[K]}class wn{constructor(J){this.segmentGroup=J||null}}class fi{constructor(J){this.urlTree=J}}function mo(ae){return(0,A._)(new wn(ae))}function _o(ae){return(0,A._)(new fi(ae))}class To{constructor(J,K,be,Re,ht){this.configLoader=K,this.urlSerializer=be,this.urlTree=Re,this.config=ht,this.allowRedirects=!0,this.ngModule=J.get(i.h0i)}apply(){const J=ga(this.urlTree.root,[],[],this.config).segmentGroup,K=new Zn(J.segments,J.children);return this.expandSegmentGroup(this.ngModule,this.config,K,Je).pipe((0,Z.U)(ht=>this.createUrlTree($(ht),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,oe.K)(ht=>{if(ht instanceof fi)return this.allowRedirects=!1,this.match(ht.urlTree);throw ht instanceof wn?this.noMatchError(ht):ht}))}match(J){return this.expandSegmentGroup(this.ngModule,this.config,J.root,Je).pipe((0,Z.U)(Re=>this.createUrlTree($(Re),J.queryParams,J.fragment))).pipe((0,oe.K)(Re=>{throw Re instanceof wn?this.noMatchError(Re):Re}))}noMatchError(J){return new Error(`Cannot match any routes. URL Segment: '${J.segmentGroup}'`)}createUrlTree(J,K,be){const Re=J.segments.length>0?new Zn([],{[Je]:J}):J;return new fn(Re,K,be)}expandSegmentGroup(J,K,be,Re){return 0===be.segments.length&&be.hasChildren()?this.expandChildren(J,K,be).pipe((0,Z.U)(ht=>new Zn([],ht))):this.expandSegment(J,be,K,be.segments,Re,!0)}expandChildren(J,K,be){const Re=[];for(const ht of Object.keys(be.children))"primary"===ht?Re.unshift(ht):Re.push(ht);return(0,s.D)(Re).pipe((0,he.b)(ht=>{const qt=be.children[ht],Kt=$a(K,ht);return this.expandSegmentGroup(J,Kt,qt,ht).pipe((0,Z.U)(yn=>
1({segment:yn,outlet:ht})))}),_e((ht,qt)=>(ht[qt.outlet]=qt.segment,ht),{}),function At(ae,J){const K=arguments.length>=2;return be=>be.pipe(ae?(0,ne.h)((Re,ht)=>ae(Re,ht,be)):xt.y,Se(1),K?(0,nt.d)(J):Be(()=>new C.K))}())}expandSegment(J,K,be,Re,ht,qt){return(0,s.D)(be).pipe((0,he.b)(Kt=>this.expandSegmentAgainstRoute(J,K,be,Kt,Re,ht,qt).pipe((0,oe.K)(Ei=>{if(Ei instanceof wn)return(0,e.of)(null);throw Ei}))),Qt(Kt=>!!Kt),(0,oe.K)((Kt,yn)=>{if(Kt instanceof C.K||"EmptyError"===Kt.name)return En(K,Re,ht)?(0,e.of)(new Zn([],{})):mo(K);throw Kt}))}expandSegmentAgainstRoute(J,K,be,Re,ht,qt,Kt){return Ht(Re,K,ht,qt)?void 0===Re.redirectTo?this.matchSegmentAgainstRoute(J,K,Re,ht,qt):Kt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(J,K,be,Re,ht,qt):mo(K):mo(K)}expandSegmentAgainstRouteUsingRedirect(J,K,be,Re,ht,qt){return"**"===Re.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(J,be,Re,qt):this.expandRegularSegmentAgainstRouteUsingRedirect(J,K,be,Re,ht,qt)}expandWildCardWithParamsAgainstRouteUsingRedirect(J,K,be,Re){const ht=this.applyRedirectCommands([],be.redirectTo,{});return be.redirectTo.startsWith("/")?_o(ht):this.lineralizeSegments(be,ht).pipe((0,Vt.z)(qt=>{const Kt=new Zn(qt,{});return this.expandSegment(J,Kt,K,qt,Re,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(J,K,be,Re,ht,qt){const{matched:Kt,consumedSegments:yn,remainingSegments:Ei,positionalParamSegments:vo}=ya(K,Re,ht);if(!Kt)return mo(K);const Ri=this.applyRedirectCommands(yn,Re.redirectTo,vo);return Re.redirectTo.startsWith("/")?_o(Ri):this.lineralizeSegments(Re,Ri).pipe((0,Vt.z)(Lo=>
1this.expandSegment(J,K,be,Lo.concat(Ei),qt,!1)))}matchSegmentAgainstRoute(J,K,be,Re,ht){if("**"===be.path)return be.loadChildren?(be._loadedConfig?(0,e.of)(be._loadedConfig):this.configLoader.load(J.injector,be)).pipe((0,Z.U)(Ri=>(be._loadedConfig=Ri,new Zn(Re,{})))):(0,e.of)(new Zn(Re,{}));const{matched:qt,consumedSegments:Kt,remainingSegments:yn}=ya(K,be,Re);return qt?this.getChildConfig(J,be,Re).pipe((0,Vt.z)(vo=>{const Ri=vo.module,Lo=vo.routes,{segmentGroup:Po,slicedSegments:gs}=ga(K,Kt,yn,Lo),Ds=new Zn(Po.segments,Po.children);if(0===gs.length&&Ds.hasChildren())return this.expandChildren(Ri,Lo,Ds).pipe((0,Z.U)(Zr=>new Zn(Kt,Zr)));if(0===Lo.length&&0===gs.length)return(0,e.of)(new Zn(Kt,{}));const fr=jo(be)===ht;return this.expandSegment(Ri,Ds,Lo,gs,fr?Je:ht,!0).pipe((0,Z.U)(Bs=>new Zn(Kt.concat(Bs.segments),Bs.children)))})):mo(K)}getChildConfig(J,K,be){return K.children?(0,e.of)(new ka(K.children,J)):K.loadChildren?void 0!==K._loadedConfig?(0,e.of)(K._loadedConfig):this.runCanLoadGuards(J.injector,K,be).pipe((0,Vt.z)(Re=>Re?this.configLoader.load(J.injector,K).pipe((0,Z.U)(ht=>(K._loadedConfig=ht,ht))):function ao(ae){return(0,A._)(ge(`Cannot load children because the guard of the route "path: '${ae.path}'" returned false`))}(K))):(0,e.of)(new ka([],J))}runCanLoadGuards(J,K,be){const Re=K.canLoad;if(!Re||0===Re.length)return(0,e.of)(!0);const ht=Re.map(qt=>{const Kt=J.get(qt);let yn;if(function cs(ae){return ae&&ha(ae.canLoad)}(Kt))yn=Kt.canLoad(K,be);else{if(!ha(Kt))throw new Error("Invalid CanLoad guard");yn=Kt(K,be)}return ui(yn)});return(0,e.of)(ht).pipe(ba(),(0,dt.b)(qt=>{if(!Ho(qt))return;const Kt=ge(`Redirecting to "${this.urlSerializer.serialize(qt)}"`);throw Kt.url=qt,Kt}),(0,Z.U)(qt=>!0===qt))}lineralizeSegments(J,K){let be=[],Re=K.root;for(;;){if(be=be.concat(Re.segments),0===Re.numberOfChildren)return(0,e.of)(be);if(Re.numberOfChildren>1||!Re.children[Je])return(0,A._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${J.redirectTo}'`));Re=Re.children[Je]}}applyRedirectCommands(J,K,be){return this.applyRedirectCreatreUrlTree(K,this.urlSerializer.parse(K),J,be)}applyRedirectCreatreUrlTree(J,K,be,Re){const ht=this.createSegmentGroup(J,K.root,be,Re);return new fn(ht,this.createQueryParams(K.queryParams,this.urlTree.queryParams),K.fragment)}createQueryParams(J,K){const be={};return di(J,(Re,ht)=>{if("string"==typeof Re&&Re.startsWith(":")){const Kt=Re.substring(1);be[ht]=K[Kt]}else be[ht]=Re}),be}createSegmentGroup(J,K,be,Re){const ht=this.createSegments(J,K.segments,be,Re);let qt={};return di(K.children,(Kt,yn)=>{qt[yn]=this.createSegmentGroup(J,Kt,be,Re)}),new Zn(ht,qt)}createSegments(J,K,be,Re){return K.map(ht=>ht.path.startsWith(":")?this.findPosParam(J,ht,Re):this.findOrReturn(ht,be))}findPosParam(J,K,be){const Re=be[K.path.substring(1)];if(!Re)throw new Error(`Cannot redirect to '${J}'. Cannot find '${K.path}'.`);return Re}findOrReturn(J,K){let be=0;for(const Re of K){if(Re.path===J.path)return K.splice(be),Re;be++}return J}}function $(ae){const J={};for(const be of Object.keys(ae.children)){const ht=$(ae.children[be]);(ht.segments.length>0||ht.hasChildren())&&(J[be]=ht)}return function ve(ae){if(1===ae.numberOfChildren&&ae.children[Je]){const J=ae.children[Je];return new Zn(ae.segments.concat(J.segments),J.children)}return ae}(new Zn(ae.segments,J))}class U{constructor(J){this.path=J,this.route=this.path[this.path.length-1]}}class ce{constructor(J,K){this.component=J,this.route=K}}function vt(ae,J,K){const be=ae._root;return Wn(be,J?J._root:null,K,[be.value])}function qn(ae,J,K){const be=function Mi(ae){if(!ae)return null;for(let J=ae.parent;J;J=J.parent){const K=J.routeConfig;if(K&&K._loadedConfig)return K._loadedConfig}return null}(J);return(be?be.module.injector:K).get(ae)}function Wn(ae,J,K,be,Re={canDeactivateChecks:[],canActivateChecks:[]}){const ht=Ln(J);return ae.children.forEach(qt=>{(function Ai(ae,J,K,be,Re={canDeactivateChecks:[],canActivateChecks:[]}){const ht=ae.value,qt=J?J.value:null,Kt=K?K.getContext(ae.value.outlet):null;if(qt&&ht.routeConfig===qt.routeConfig){const yn=function fo(ae,J,K){if("function"==typeof K)return K(ae,J);switch(K){case"pathParamsChange":return!An(ae.url,J.url);case"pathParamsOrQueryParamsChange":return!An(ae.url,J.url)||!Xt(ae.queryParams,J.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!go(ae,J)||!Xt(ae.queryParams,J.queryParams);default:return!go(ae,J)}}(qt,ht,ht.routeConfig.runGuardsAndResolvers);yn?Re.canActivateChecks.push(new U(be)):(ht.data=qt.data,ht._resolvedData=qt._resolvedData),Wn(ae,J,ht.component?Kt?Kt.children:null:K,be,Re),yn&&Kt&&Kt.outlet&&Kt.outlet.isActivated&&Re.canDeactivateChecks.push(new ce(Kt.outlet.component,qt))}else qt&&gn(J,Kt,Re),Re.canActivateChecks.push(new U(be)),Wn(ae,null,ht.component?Kt?Kt.children:null:K,be,Re)})(qt,ht[qt.value.outlet],K,be.concat([qt.value]),Re),delete ht[qt.value.outlet]}),di(ht,(qt,Kt)=>gn(qt,K.getContext(Kt),Re)),Re}function gn(ae,J,K){const be=Ln(ae),Re=ae.value;di(be,(ht,qt)=>{gn(ht,Re.component?J?J.children.getContext(qt):null:J,K)}),K.canDeactivateChecks.push(new ce(Re.component&&J&&J.outlet&&J.outlet.isActivated?J.outlet.component:null,Re))}class ds{}function er(ae){return new R.y(J=>J.error(ae))}class ks{constructor(J,K,be,Re,ht,qt){this.rootComponentType=J,this.config=K,this.urlTree=be,this.url=Re,this.paramsInheritanceStrategy=ht,this.relativeLinkResolution=qt}recognize(){const J=ga(this.urlTree.root,[],[],this.config.filter(qt=>void 0===qt.redirectTo),this.relativeLinkResolution).segmentGroup,K=this.processSegmentGroup(this.config,J,Je);if(null===K)return null;const be=new ci([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Je,this.rootComponentType,null,this.urlTree.root,-1,{}),Re=new Tn(be,K),ht=new xi(this.url,Re);return this.inheritParamsAndData(ht._root),ht}inheritParamsAndData(J){const K=J.value,be=Bi(K,this.paramsInheritanceStrategy);K.params=Object.freeze(be.params),K.data=Object.freeze(be.data),J.children.forEac
1h(Re=>this.inheritParamsAndData(Re))}processSegmentGroup(J,K,be){return 0===K.segments.length&&K.hasChildren()?this.processChildren(J,K):this.processSegment(J,K,K.segments,be)}processChildren(J,K){const be=[];for(const ht of Object.keys(K.children)){const qt=K.children[ht],Kt=$a(J,ht),yn=this.processSegmentGroup(Kt,qt,ht);if(null===yn)return null;be.push(...yn)}const Re=B(be);return function Ea(ae){ae.sort((J,K)=>J.value.outlet===Je?-1:K.value.outlet===Je?1:J.value.outlet.localeCompare(K.value.outlet))}(Re),Re}processSegment(J,K,be,Re){for(const ht of J){const qt=this.processSegmentAgainstRoute(ht,K,be,Re);if(null!==qt)return qt}return En(K,be,Re)?[]:null}processSegmentAgainstRoute(J,K,be,Re){if(J.redirectTo||!Ht(J,K,be,Re))return null;let ht,qt=[],Kt=[];if("**"===J.path){const Po=be.length>0?Kn(be).parameters:{};ht=new ci(be,Po,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tt(J),jo(J),J.component,J,pe(K),Ge(K)+be.length,Gt(J))}else{const Po=ya(K,J,be);if(!Po.matched)return null;qt=Po.consumedSegments,Kt=Po.remainingSegments,ht=new ci(qt,Po.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tt(J),jo(J),J.component,J,pe(K),Ge(K)+qt.length,Gt(J))}const yn=function Xa(ae){return ae.children?ae.children:ae.loadChildren?ae._loadedConfig.routes:[]}(J),{segmentGroup:Ei,slicedSegments:vo}=ga(K,qt,Kt,yn.filter(Po=>void 0===Po.redirectTo),this.relativeLinkResolution);if(0===vo.length&&Ei.hasChildren()){const Po=this.processChildren(yn,Ei);return null===Po?null:[new Tn(ht,Po)]}if(0===yn.length&&0===vo.length)return[new Tn(ht,[])];const Ri=jo(J)===Re,Lo=this.processSegment(yn,Ei,vo,Ri?Je:Re);return null===Lo?null:[new Tn(ht,Lo)]}}function Fe(ae){const J=ae.value.routeConfig;return J&&""===J.path&&void 0===J.redirectTo}function B(ae){const J=[],K=new Set;for(const be of ae){if(!Fe(be)){J.push(be);continue}const Re=J.find(ht=>be.value.routeConfig===ht.value.routeConfig);void 0!==Re?(Re.children.push(...be.children),K.add(Re)):J.push(be)}for(const be of K){const Re=B(be.children);J.push(new Tn(be.value,Re))}return J.filter(be=>!K.has(be))}function pe(ae){let J=ae;for(;J._sourceSegment;)J=J._sourceSegment;return J}function Ge(ae){let J=ae,K=J._segmentIndexShift?J._segmentIndexShift:0;for(;J._sourceSegment;)J=J._sourceSegment,K+=J._segmentIndexShift?J._segmentIndexShift:0;return K-1}function Tt(ae){return ae.data||{}}function Gt(ae){return ae.resolve||{}}function wi(ae){return[...Object.keys(ae),...Object.getOwnPropertySymbols(ae)]}function Xi(ae){return(0,v.w)(J=>{const K=ae(J);return K?(0,s.D)(K).pipe((0,Z.U)(()=>J)):(0,e.of)(J)})}class Io extends class eo{shouldDetach(J){return!1}store(J,K){}shouldAttach(J){return!1}retrieve(J){return null}shouldReuseRoute(J,K){return J.routeConfig===K.routeConfig}}{}const Ko=new i.OlP("ROUTES");class Qo{constructor(J,K,be,Re){this.injector=J,this.compiler=K,this.onLoadStartListener=be,this.onLoadEndListener=Re}load(J,K){if(K._loader$)return K._loader$;this.onLoadStartListener&&this.onLoadStartListener(K);const Re=this.loadModuleFactory(K.loadChildren).pipe((0,Z.U)(ht=>{this.onLoadEndListener&&this.onLoadEndListener(K);const qt=ht.create(J);return new ka(Hn(qt.injector.get(Ko,void 0,i.XFs.Self|i.XFs.Optional)).map(Ba),qt)}),(0,oe.K)(ht=>{throw K._loader$=void 0,ht}));return K._loader$=new E(Re,()=>new c.x).pipe(O()),K._loader$}loadModuleFactory(J){return ui(J()).pipe((0,Vt.z)(K=>K instanceof i.YKP?(0,e.of)(K):(0,s.D)(this.compiler.compileModuleAsync(K))))}}class aa{shouldProcessUrl(J){return!0}extract(J){return J}merge(J,K){return J}}function zo(ae){throw ae}function sa(ae,J,K){return J.parse("/")}function po(ae,J){return(0,e.of)(null)}const N={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},H={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xe=(()=>{class ae{constructor(K,be,Re,ht,qt,Kt,yn){this.rootComponentType=K,this.urlSerializer=be,this.rootContexts=Re,this.location=ht,this.config=yn,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new c.x,this.errorHandler=zo,this.malformedUriErrorHandler=sa,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:po,afterPreactivation:po},this.urlHandlingStrategy=new aa,this.routeReuseStrategy=new Io,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=qt.get(i.h0i),this.console=qt.get(i.c2e);const Ri=qt.get(i.R0b);this.isNgZoneEnabled=Ri instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(yn),this.currentUrlTree=function Di(){return new fn(new Zn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Qo(qt,Kt,Lo=>this.triggerEvent(new Ne(Lo)),Lo=>
1this.triggerEvent(new Ut(Lo))),this.routerState=Ti(this.currentUrlTree,this.rootComponentType),this.transitions=new l.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var K;return null===(K=this.location.getState())||void 0===K?void 0:K.\u0275routerPageId}setupNavigations(K){const be=this.events;return K.pipe((0,ne.h)(Re=>0!==Re.id),(0,Z.U)(Re=>Object.assign(Object.assign({},Re),{extractedUrl:this.urlHandlingStrategy.extract(Re.rawUrl)})),(0,v.w)(Re=>{let ht=!1,qt=!1;return(0,e.of)(Re).pipe((0,dt.b)(Kt=>{this.currentNavigation={id:Kt.id,initialUrl:Kt.currentRawUrl,extractedUrl:Kt.extractedUrl,trigger:Kt.source,extras:Kt.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,v.w)(Kt=>{const yn=this.browserUrlTree.toString(),Ei=!this.navigated||Kt.extractedUrl.toString()!==yn||yn!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ei)&&this.urlHandlingStrategy.shouldProcessUrl(Kt.rawUrl))return ut(Kt.source)&&(this.browserUrlTree=Kt.extractedUrl),(0,e.of)(Kt).pipe((0,v.w)(Ri=>{const Lo=this.transitions.getValue();return be.next(new re(Ri.id,this.serializeUrl(Ri.extractedUrl),Ri.source,Ri.restoredState)),Lo!==this.transitions.getValue()?q.E:Promise.resolve(Ri)}),function L(ae,J,K,be){return(0,v.w)(Re=>function No(ae,J,K,be,Re){return new To(ae,J,K,be,Re).apply()}(ae,J,K,Re.extractedUrl,be).pipe((0,Z.U)(ht=>Object.assign(Object.assign({},Re),{urlAfterRedirects:ht}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,dt.b)(Ri=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Ri.urlAfterRedirects})}),function Jt(ae,J,K,be,Re){return(0,Vt.z)(ht=>function mr(ae,J,K,be,Re="emptyOnly",ht="legacy"){try{const qt=new ks(ae,J,K,be,Re,ht).recognize();return null===qt?er(new ds):(0,e.of)(qt)}catch(qt){return er(qt)}}(ae,J,ht.urlAfterRedirects,K(ht.urlAfterRedirects),be,Re).pipe((0,Z.U)(qt=>Object.assign(Object.assign({},ht),{targetSnapshot:qt}))))}(this.rootComponentType,this.config,Ri=>this.serializeUrl(Ri),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,dt.b)(Ri=>{if("eager"===this.urlUpdateStrategy){if(!Ri.extras.skipLocationChange){const Po=this.urlHandlingStrategy.merge(Ri.urlAfterRedirects,Ri.rawUrl);this.setBrowserUrl(Po,Ri)}this.browserUrlTree=Ri.urlAfterRedirects}const Lo=new Lt(Ri.id,this.serializeUrl(Ri.extractedUrl),this.serializeUrl(Ri.urlAfterRedirects),Ri.targetSnapshot);be.next(Lo)}));if(Ei&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Lo,extractedUrl:Po,source:gs,restoredState:Ds,extras:fr}=Kt,tr=new re(Lo,this.serializeUrl(Po),gs,Ds);be.next(tr);const Bs=Ti(Po,this.rootComponentType).snapshot;return(0,e.of)(Object.assign(Object.assign({},Kt),{targetSnapshot:Bs,urlAfterRedirects:Po,extras:Object.assign(Object.assign({},fr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Kt.rawUrl,Kt.resolve(null),q.E}),Xi(Kt=>{const{targetSnapshot:yn,id:Ei,extractedUrl:vo,rawUrl:Ri,extras:{skipLocationChange:Lo,replaceUrl:Po}}=Kt;return this.hooks.beforePreactivation(yn,{navigationId:Ei,appliedUrlTree:vo,rawUrlTree:Ri,skipLocationChange:!!Lo,replaceUrl:!!Po})}),(0,dt.b)(Kt=>{const yn=new It(Kt.id,this.serializeUrl(Kt.extractedUrl),this.serializeUrl(Kt.urlAfterRedirects),Kt.targetSnapshot);this.triggerEvent(yn)}),(0,Z.U)(Kt=>Object.assign(Object.assign({},Kt),{guards:vt(Kt.targetSnapshot,Kt.currentSnapshot,this.rootContexts)})),function ri(ae,J){return(0,Vt.z)(K=>{const{targetSnapshot:be,currentSnapshot:Re,guards:{canActivateChecks:ht,canDeactivateChecks:qt}}=K;return 0===qt.length&&0===ht.length?(0,e.of)(Object.assign(Object.assign({},K),{guardsResult:!0})):function Do(ae,J,K,be){return(0,s.D)(ae).pipe((0,Vt.z)(Re=>function Xs(ae,J,K,be,Re){const ht=J&&J.routeConfig?J.routeConfig.canDeactivate:null;if(!ht||0===ht.length)return(0,e.of)(!0);const qt=ht.map(Kt=>{const yn=qn(Kt,J,Re);let Ei;if(function os(ae){return ae&&ha(ae.canDeactivate)}(yn))Ei=ui(yn.canDeactivate(ae,J,K,be));else{if(!ha(yn))throw new Error("Invalid CanDeactivate guard");Ei=ui(yn(ae,J,K,be))}return Ei.pipe(Qt())});return(0,e.of)(qt).pipe(ba())}(Re.component,Re.route,K,J,be)),Qt(Re=>!0!==Re,!0))}(qt,be,Re,ae).pipe((0,Vt.z)(Kt=>Kt&&function Ja(ae){return"boolean"==typeof ae}(Kt)?function so(ae,J,K,be){return(0,s.D)(J).pipe((0,he.b)(Re=>(0,T.z)(function Aa(ae,J){return null!==ae&&J&&J(new pn(ae)),(0,e.of)(!0)}(Re.route.parent,be),function xa(ae,J){return null!==ae&&J&&J(new Mn(ae)),(0,e.of)(!0)}(Re.route,be),function zs(ae,J,K){const be=J[J.length-1],ht=J.slice(0,J.length-1).reverse().map(qt=>function Wt(ae){const J=ae.routeConfig?ae.routeConfig.canActivateChild:null;return J&&0!==J.length?{node:ae,guards:J}:null}(qt)).filter(qt=>null!==qt).map(qt=>(0,S.P)(()=>{const Kt=qt.guards.map(yn=>{const Ei=qn(yn,qt.node,K);let vo;if(function Wa(ae){return ae&&ha(ae.canActivateChild)}(Ei))vo=ui(Ei.canActivateChild(be,ae));else{if(!ha(Ei))throw new Error("Invalid CanActivateChild guard");vo=ui(Ei(be,ae))}return vo.pipe(Qt())});return(0,e.of)(Kt).pipe(ba())}));return(0,e.of)(ht).pipe(ba())}(ae,Re.path,K),function Sa(ae,J,K){const be=J.routeConfig?J.routeConfig.canActivate:null;if(!be||0===be.length)return(0,e.of)(!0);const Re=be.map(ht=>(0,S.P)(()=>{const qt=qn(ht,J,K);let Kt;if(function Fa(ae){return ae&&ha(ae.canActivate)}(qt))Kt=ui(qt.canActivate(J,ae));else{if(!ha(qt))throw new Error("Invalid CanActivate guard");Kt=ui(qt(J,ae))}return Kt.pipe(Qt())}
1));return(0,e.of)(Re).pipe(ba())}(ae,Re.route,K))),Qt(Re=>!0!==Re,!0))}(be,ht,ae,J):(0,e.of)(Kt)),(0,Z.U)(Kt=>Object.assign(Object.assign({},K),{guardsResult:Kt})))})}(this.ngModule.injector,Kt=>this.triggerEvent(Kt)),(0,dt.b)(Kt=>{if(Ho(Kt.guardsResult)){const Ei=ge(`Redirecting to "${this.serializeUrl(Kt.guardsResult)}"`);throw Ei.url=Kt.guardsResult,Ei}const yn=new it(Kt.id,this.serializeUrl(Kt.extractedUrl),this.serializeUrl(Kt.urlAfterRedirects),Kt.targetSnapshot,!!Kt.guardsResult);this.triggerEvent(yn)}),(0,ne.h)(Kt=>!!Kt.guardsResult||(this.restoreHistory(Kt),this.cancelNavigationTransition(Kt,""),!1)),Xi(Kt=>{if(Kt.guards.canActivateChecks.length)return(0,e.of)(Kt).pipe((0,dt.b)(yn=>{const Ei=new wt(yn.id,this.serializeUrl(yn.extractedUrl),this.serializeUrl(yn.urlAfterRedirects),yn.targetSnapshot);this.triggerEvent(Ei)}),(0,v.w)(yn=>{let Ei=!1;return(0,e.of)(yn).pipe(function sn(ae,J){return(0,Vt.z)(K=>{const{targetSnapshot:be,guards:{canActivateChecks:Re}}=K;if(!Re.length)return(0,e.of)(K);let ht=0;return(0,s.D)(Re).pipe((0,he.b)(qt=>function Vn(ae,J,K,be){return function li(ae,J,K,be){const Re=wi(ae);if(0===Re.length)return(0,e.of)({});const ht={};return(0,s.D)(Re).pipe((0,Vt.z)(qt=>function Qi(ae,J,K,be){const Re=qn(ae,J,be);return ui(Re.resolve?Re.resolve(J,K):Re(J,K))}(ae[qt],J,K,be).pipe((0,dt.b)(Kt=>{ht[qt]=Kt}))),Se(1),(0,Vt.z)(()=>wi(ht).length===Re.length?(0,e.of)(ht):q.E))}(ae._resolve,ae,J,be).pipe((0,Z.U)(ht=>(ae._resolvedData=ht,ae.data=Object.assign(Object.assign({},ae.data),Bi(ae,K).resolve),null)))}(qt.route,be,ae,J)),(0,dt.b)(()=>ht++),Se(1),(0,Vt.z)(qt=>ht===Re.length?(0,e.of)(K):q.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,dt.b)({next:()=>Ei=!0,complete:()=>{Ei||(this.restoreHistory(yn),this.cancelNavigationTransition(yn,"At least one route resolver didn't emit any value."))}}))}),(0,dt.b)(yn=>{const Ei=new le(yn.id,this.serializeUrl(yn.extractedUrl),this.serializeUrl(yn.urlAfterRedirects),yn.targetSnapshot);this.triggerEvent(Ei)}))}),Xi(Kt=>{const{targetSnapshot:yn,id:Ei,extractedUrl:vo,rawUrl:Ri,extras:{skipLocationChange:Lo,replaceUrl:Po}}=Kt;return this.hooks.afterPreactivation(yn,{navigationId:Ei,appliedUrlTree:vo,rawUrlTree:Ri,skipLocationChange:!!Lo,replaceUrl:!!Po})}),(0,Z.U)(Kt=>{const yn=function wo(ae,J,K){const be=Ao(ae,J._root,K?K._root:void 0);return new Si(be,J)}(this.routeReuseStrategy,Kt.targetSnapshot,Kt.currentRouterState);return Object.assign(Object.assign({},Kt),{targetRouterState:yn})}),(0,dt.b)(Kt=>{this.currentUrlTree=Kt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Kt.urlAfterRedirects,Kt.rawUrl),this.routerState=Kt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Kt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Kt),this.browserUrlTree=Kt.urlAfterRedirects)}),((ae,J,K)=>(0,Z.U)(be=>(new Ca(J,be.targetRouterState,be.currentRouterState,K).activate(ae),be)))(this.rootContexts,this.routeReuseStrategy,Kt=>this.triggerEvent(Kt)),(0,dt.b)({next(){ht=!0},complete(){ht=!0}}),(0,Mt.x)(()=>{var Kt;ht||qt||this.cancelNavigationTransition(Re,`Navigation ID ${Re.id} is not equal to the current navigation id ${this.navigationId}`),(null===(Kt=this.currentNavigation)||void 0===Kt?void 0:Kt.id)===Re.id&&(this.currentNavigation=null)}),(0,oe.K)(Kt=>{if(qt=!0,function et(ae){return ae&&ae[Ve]}(Kt)){const yn=Ho(Kt.url);yn||(this.navigated=!0,this.restoreHistory(Re,!0));const Ei=new Ot(Re.id,this.serializeUrl(Re.extractedUrl),Kt.message);be.next(Ei),yn?setTimeout(()=>{const vo=this.urlHandlingStrategy.merge(Kt.url,this.rawUrlTree),Ri={skipLocationChange:Re.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ut(Re.source)};this.scheduleNavigation(vo,"imperative",null,Ri,{resolve:Re.resolve,reject:Re.reject,promise:Re.promise})},0):Re.resolve(!1)}else{this.restoreHistory(Re,!0);const yn=new Et(Re.id,this.serializeUrl(Re.extractedUrl),Kt);be.next(yn);try{Re.resolve(this.errorHandler(Kt))}catch(Ei){Re.reject(Ei)}}return q.E}))}))}resetRootComponentType(K){this.rootComponentType=K,this.routerState.root.component=this.rootComponentType}setTransition(K){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),K))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(K=>{const be="popstate"===K.type?"popstate":"hashchange";"popstate"===be&&setTimeout(()=>{var Re;const ht={replaceUrl:!0},qt=(null===(Re=K.state)||void 0===Re?void 0:Re.navigationId)?K.state:null;if(qt){const yn=Object.assign({},qt);delete yn.navigationId,delete yn.\u0275routerPageId,0!==Object.keys(yn).length&&(ht.state=yn)}const Kt=this.parseUrl(K.url);this.scheduleNavigation(Kt,be,qt,ht)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(K){this.events.next(K)}resetConfig(K){ss(K),this.config=K.map(Ba),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(K,be={}){const{relativeTo:Re,queryParams:ht,fragment:qt,queryParamsHandling:Kt,preserveFragment:yn}=be,Ei=Re||this.routerState.root,vo=yn?this.currentUrlTree.fragment:qt;let Ri=null;switch(Kt){case"merge":Ri=Object.assign(Object.assign({},this.currentUrlTree.queryParams),ht);break;case"preserve":Ri=this.currentUrlTree.queryParams;break;default:Ri=ht||null}return null!==Ri&&(Ri=this.removeEmptyProps(Ri)),function yt(ae,J,K,be,Re){if(0===K.length)return Ie(J.root,J.root,J.root,be,Re);const ht=function Ye(ae){if("string"==typeof ae[0]&&1===ae.length&&"/"===ae[0])return new de(!0,0,ae);let J=0,K=!1;const be=ae.reduce((Re,ht,qt)=>{if("object"==typeof ht&&null!=ht){if(ht.outlets){const Kt={};return di(ht.outlets,(yn,Ei)=>{Kt[Ei]="string"==typeof yn?yn.split("/"):yn}),[...Re,{outlets:Kt}]}if(ht.segmentPath)return[...Re,ht.segmentPath]}
1return"string"!=typeof ht?[...Re,ht]:0===qt?(ht.split("/").forEach((Kt,yn)=>{0==yn&&"."===Kt||(0==yn&&""===Kt?K=!0:".."===Kt?J++:""!=Kt&&Re.push(Kt))}),Re):[...Re,ht]},[]);return new de(K,J,be)}(K);if(ht.toRoot())return Ie(J.root,J.root,new Zn([],{}),be,Re);const qt=function an(ae,J,K){if(ae.isAbsolute)return new Dt(J.root,!0,0);if(-1===K.snapshot._lastPathIndex){const ht=K.snapshot._urlSegment;return new Dt(ht,ht===J.root,0)}const be=$e(ae.commands[0])?0:1;return function vn(ae,J,K){let be=ae,Re=J,ht=K;for(;ht>Re;){if(ht-=Re,be=be.parent,!be)throw new Error("Invalid number of '../'");Re=be.segments.length}return new Dt(be,!1,Re-ht)}(K.snapshot._urlSegment,K.snapshot._lastPathIndex+be,ae.numberOfDoubleDots)}(ht,J,ae),Kt=qt.processChildren?no(qt.segmentGroup,qt.index,ht.commands):$i(qt.segmentGroup,qt.index,ht.commands);return Ie(J.root,qt.segmentGroup,Kt,be,Re)}(Ei,this.currentUrlTree,K,Ri,null!=vo?vo:null)}navigateByUrl(K,be={skipLocationChange:!1}){const Re=Ho(K)?K:this.parseUrl(K),ht=this.urlHandlingStrategy.merge(Re,this.rawUrlTree);return this.scheduleNavigation(ht,"imperative",null,be)}navigate(K,be={skipLocationChange:!1}){return function ke(ae){for(let J=0;J<ae.length;J++){const K=ae[J];if(null==K)throw new Error(`The requested path contains ${K} segment at index ${J}`)}}(K),this.navigateByUrl(this.createUrlTree(K,be),be)}serializeUrl(K){return this.urlSerializer.serialize(K)}parseUrl(K){let be;try{be=this.urlSerializer.parse(K)}catch(Re){be=this.malformedUriErrorHandler(Re,this.urlSerializer,K)}return be}isActive(K,be){let Re;if(Re=!0===be?Object.assign({},N):!1===be?Object.assign({},H):be,Ho(K))return ei(this.currentUrlTree,K,Re);const ht=this.parseUrl(K);return ei(this.currentUrlTree,ht,Re)}removeEmptyProps(K){return Object.keys(K).reduce((be,Re)=>{const ht=K[Re];return null!=ht&&(be[Re]=ht),be},{})}processNavigations(){this.navigations.subscribe(K=>{this.navigated=!0,this.lastSuccessfulId=K.id,this.currentPageId=K.targetPageId,this.events.next(new ft(K.id,this.serializeUrl(K.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,K.resolve(!0)},K=>{this.console.warn(`Unhandled Navigation Error: ${K}`)})}scheduleNavigation(K,be,Re,ht,qt){var Kt,yn;if(this.disposed)return Promise.resolve(!1);let Ei,vo,Ri;qt?(Ei=qt.resolve,vo=qt.reject,Ri=qt.promise):Ri=new Promise((gs,Ds)=>{Ei=gs,vo=Ds});const Lo=++this.navigationId;let Po;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(Re=this.location.getState()),Po=Re&&Re.\u0275routerPageId?Re.\u0275routerPageId:ht.replaceUrl||ht.skipLocationChange?null!==(Kt=this.browserPageId)&&void 0!==Kt?Kt:0:(null!==(yn=this.browserPageId)&&void 0!==yn?yn:0)+1):Po=0,this.setTransition({id:Lo,targetPageId:Po,source:be,restoredState:Re,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:K,extras:ht,resolve:Ei,reject:vo,promise:Ri,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ri.catch(gs=>Promise.reject(gs))}setBrowserUrl(K,be){const Re=this.urlSerializer.serialize(K),ht=Object.assign(Object.assign({},be.extras.state),this.generateNgRouterState(be.id,be.targetPageId));this.location.isCurrentPathEqualTo(Re)||be.extras.replaceUrl?this.location.replaceState(Re,"",ht):this.location.go(Re,"",ht)}restoreHistory(K,be=!1){var Re,ht;if("computed"===this.canceledNavigationResolution){const qt=this.currentPageId-K.targetPageId;"popstate"!==K.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(Re=this.currentNavigation)||void 0===Re?void 0:Re.finalUrl)||0===qt?this.currentUrlTree===(null===(ht=this.currentNavigation)||void 0===ht?void 0:ht.finalUrl)&&0===qt&&(this.resetState(K),this.browserUrlTree=K.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(qt)}else"replace"===this.canceledNavigationResolution&&(be&&this.resetState(K),this.resetUrlToCurrentUrlTree())}resetState(K){this.routerState=K.currentRouterState,this.currentUrlTree=K.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,K.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(K,be){const Re=new Ot(K.id,this.serializeUrl(K.extractedUrl),be);this.triggerEvent(Re),K.resolve(!1)}generateNgRouterState(K,be){return"computed"===this.canceledNavigationResolution?{navigationId:K,\u0275routerPageId:be}:{navigationId:K}}}return ae.\u0275fac=function(K){i.$Z()},ae.\u0275prov=i.Yz7({token:ae,factory:ae.\u0275fac}),ae})();function ut(ae){return"imperative"!==ae}let Pt=(()=>{class ae{constructor(K,be,Re,ht,qt){this.router=K,this.route=be,this.tabIndexAttribute=Re,this.renderer=ht,this.el=qt,this.commands=null,this.onChanges=new c.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(K){if(null!=this.tabIndexAttribute)return;const be=this.renderer,Re=this.el.nativeElement;null!==K?be.setAttribute(Re,"tabindex",K):be.removeAttribute(Re,"tabindex")}ngOnChanges(K){this.onChanges.next(this)}set routerLink(K){null!=K?(this.commands=Array.isArray(K)?K:[K],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const K={skipLocationChange:nn(this.skipLocationChange),replaceUrl:nn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,K),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:nn(this.preserveFragment)})}}return ae.\u0275fac=function(K){return new(K||ae)(i.Y36(xe),i.Y36(zi),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},ae.\u0275dir=i.lG2({type:ae,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(K,be){1&K&&i.NdJ("
1click",function(){return be.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),ae})(),Bt=(()=>{class ae{constructor(K,be,Re){this.router=K,this.route=be,this.locationStrategy=Re,this.commands=null,this.href=null,this.onChanges=new c.x,this.subscription=K.events.subscribe(ht=>{ht instanceof ft&&this.updateTargetUrlAndHref()})}set routerLink(K){this.commands=null!=K?Array.isArray(K)?K:[K]:null}ngOnChanges(K){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(K,be,Re,ht,qt){if(0!==K||be||Re||ht||qt||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Kt={skipLocationChange:nn(this.skipLocationChange),replaceUrl:nn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Kt),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:nn(this.preserveFragment)})}}return ae.\u0275fac=function(K){return new(K||ae)(i.Y36(xe),i.Y36(zi),i.Y36(me.S$))},ae.\u0275dir=i.lG2({type:ae,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(K,be){1&K&&i.NdJ("click",function(ht){return be.onClick(ht.button,ht.ctrlKey,ht.shiftKey,ht.altKey,ht.metaKey)}),2&K&&i.uIk("target",be.target)("href",be.href,i.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[i.TTD]}),ae})();function nn(ae){return""===ae||!!ae}let en=(()=>{class ae{constructor(K,be,Re,ht,qt,Kt){this.router=K,this.element=be,this.renderer=Re,this.cdr=ht,this.link=qt,this.linkWithHref=Kt,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new i.vpe,this.routerEventsSubscription=K.events.subscribe(yn=>{yn instanceof ft&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,this.linksWithHrefs.changes,(0,e.of)(null)).pipe((0,we.J)()).subscribe(K=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var K;null===(K=this.linkInputChangesSubscription)||void 0===K||K.unsubscribe();const be=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(Re=>!!Re).map(Re=>Re.onChanges);this.linkInputChangesSubscription=(0,s.D)(be).pipe((0,we.J)()).subscribe(Re=>{this.isActive!==this.isLinkActive(this.router)(Re)&&this.update()})}set routerLinkActive(K){const be=Array.isArray(K)?K:K.split(" ");this.classes=be.filter(Re=>!!Re)}ngOnChanges(K){this.update()}ngOnDestroy(){var K;this.routerEventsSubscription.unsubscribe(),null===(K=this.linkInputChangesSubscription)||void 0===K||K.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const K=this.hasActiveLinks();this.isActive!==K&&(this.isActive=K,this.cdr.markForCheck(),this.classes.forEach(be=>{K?this.renderer.addClass(this.element.nativeElement,be):this.renderer.removeClass(this.element.nativeElement,be)}),this.isActiveChange.emit(K))})}isLinkActive(K){const be=function cn(ae){return!!ae.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Re=>!!Re.urlTree&&K.isActive(Re.urlTree,be)}hasActiveLinks(){const K=this.isLinkActive(this.router);return this.link&&K(this.link)||this.linkWithHref&&K(this.linkWithHref)||this.links.some(K)||this.linksWithHrefs.some(K)}}return ae.\u0275fac=function(K){return new(K||ae)(i.Y36(xe),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(Pt,8),i.Y36(Bt,8))},ae.\u0275dir=i.lG2({type:ae,selectors:[["","routerLinkActive",""]],contentQueries:function(K,be,Re){if(1&K&&(i.Suo(Re,Pt,5),i.Suo(Re,Bt,5)),2&K){let ht;i.iGM(ht=i.CRH())&&(be.links=ht),i.iGM(ht=i.CRH())&&(be.linksWithHrefs=ht)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[i.TTD]}),ae})();class xn{}class _i{preload(J,K){return(0,e.of)(null)}}let oo=(()=>{class ae{constructor(K,be,Re,ht){this.router=K,this.injector=Re,this.preloadingStrategy=ht,this.loader=new Qo(Re,be,yn=>K.triggerEvent(new Ne(yn)),yn=>
1K.triggerEvent(new Ut(yn)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ne.h)(K=>K instanceof ft),(0,he.b)(()=>this.preload())).subscribe(()=>{})}preload(){const K=this.injector.get(i.h0i);return this.processRoutes(K,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(K,be){const Re=[];for(const ht of be)if(ht.loadChildren&&!ht.canLoad&&ht._loadedConfig){const qt=ht._loadedConfig;Re.push(this.processRoutes(qt.module,qt.routes))}else ht.loadChildren&&!ht.canLoad?Re.push(this.preloadConfig(K,ht)):ht.children&&Re.push(this.processRoutes(K,ht.children));return(0,s.D)(Re).pipe((0,we.J)(),(0,Z.U)(ht=>{}))}preloadConfig(K,be){return this.preloadingStrategy.preload(be,()=>(be._loadedConfig?(0,e.of)(be._loadedConfig):this.loader.load(K.injector,be)).pipe((0,Vt.z)(ht=>(be._loadedConfig=ht,this.processRoutes(ht.module,ht.routes)))))}}return ae.\u0275fac=function(K){return new(K||ae)(i.LFG(xe),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(xn))},ae.\u0275prov=i.Yz7({token:ae,factory:ae.\u0275fac}),ae})(),Eo=(()=>{class ae{constructor(K,be,Re={}){this.router=K,this.viewportScroller=be,this.options=Re,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Re.scrollPositionRestoration=Re.scrollPositionRestoration||"disabled",Re.anchorScrolling=Re.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(K=>{K instanceof re?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=K.navigationTrigger,this.restoredId=K.restoredState?K.restoredState.navigationId:0):K instanceof ft&&(this.lastId=K.id,this.scheduleScrollEvent(K,this.router.parseUrl(K.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(K=>{K instanceof Ue&&(K.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(K.position):K.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(K.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(K,be){this.router.triggerEvent(new Ue(K,"popstate"===this.lastSource?this.store[this.restoredId]:null,be))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return ae.\u0275fac=function(K){i.$Z()},ae.\u0275prov=i.Yz7({token:ae,factory:ae.\u0275fac}),ae})();const Gn=new i.OlP("ROUTER_CONFIGURATION"),ra=new i.OlP("ROUTER_FORROOT_GUARD"),Os=[me.Ye,{provide:Xe,useClass:st},{provide:xe,useFactory:function ja(ae,J,K,be,Re,ht,qt={},Kt,yn){const Ei=new xe(null,ae,J,K,be,Re,Hn(ht));return Kt&&(Ei.urlHandlingStrategy=Kt),yn&&(Ei.routeReuseStrategy=yn),function Ts(ae,J){ae.errorHandler&&(J.errorHandler=ae.errorHandler),ae.malformedUriErrorHandler&&(J.malformedUriErrorHandler=ae.malformedUriErrorHandler),ae.onSameUrlNavigation&&(J.onSameUrlNavigation=ae.onSameUrlNavigation),ae.paramsInheritanceStrategy&&(J.paramsInheritanceStrategy=ae.paramsInheritanceStrategy),ae.relativeLinkResolution&&(J.relativeLinkResolution=ae.relativeLinkResolution),ae.urlUpdateStrategy&&(J.urlUpdateStrategy=ae.urlUpdateStrategy),ae.canceledNavigationResolution&&(J.canceledNavigationResolution=ae.canceledNavigationResolution)}(qt,Ei),qt.enableTracing&&Ei.events.subscribe(vo=>{var Ri,Lo;null===(Ri=console.group)||void 0===Ri||Ri.call(console,`Router Event: ${vo.constructor.name}`),console.log(vo.toString()),console.log(vo),null===(Lo=console.groupEnd)||void 0===Lo||Lo.call(console)}),Ei},deps:[Xe,Za,me.Ye,i.zs3,i.Sil,Ko,Gn,[class Oa{},new i.FiY],[class Ui{},new i.FiY]]},Za,{provide:zi,useFactory:function xc(ae){return ae.routerState.root},deps:[xe]},oo,_i,class ti{preload(J,K){return K().pipe((0,oe.K)(()=>(0,e.of)(null)))}},{provide:Gn,useValue:{enableTracing:!1}}];function Xo(){return new i.PXZ("Router",xe)}let Ms=(()=>{class ae{constructor(K,be){}static forRoot(K,be){return{ngModule:ae,providers:[Os,es(K),{provide:ra,useFactory:Fs,deps:[[xe,new i.FiY,new i.tp0]]},{provide:Gn,useValue:be||{}},{provide:me.S$,useFactory:Na,deps:[me.lw,[new i.tBr(me.mr),new i.FiY],Gn]},{provide:Eo,useFactory:ms,deps:[xe,me.EM,Gn]},{provide:xn,useExisting:be&&be.preloadingStrategy?be.preloadingStrategy:_i},{provide:i.PXZ,multi:!0,useFactory:Xo},[Ps,{provide:i.ip1,multi:!0,useFactory:Fr,deps:[Ps]},{provide:Br,useFactory:gr,deps:[Ps]},{provide:i.tb,multi:!0,useExisting:Br}]]}}static forChild(K){return{ngModule:ae,providers:[es(K)]}}}return ae.\u0275fac=function(K){return new(K||ae)(i.LFG(ra,8),i.LFG(xe,8))},ae.\u0275mod=i.oAB({type:ae}),ae.\u0275inj=i.cJS({}),ae})();function ms(ae,J,K){return K.scrollOffset&&J.setOffset(K.scrollOffset),new Eo(ae,J,K)}function Na(ae,J,K={}){return K.useHash?new me.Do(ae,J):new me.b0(ae,J)}function Fs(ae){return"guarded"}function es(ae){return[{provide:i.deG,multi:!0,useValue:ae},{provide:Ko,multi:!0,useValue:ae}]}let Ps=(()=>{class ae{constructor(K){this.injector=K,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new c.x}appInitializer(){return this.injector.get(me.V_,Promise.resolve(null)).then(()=>
1{if(this.destroyed)return Promise.resolve(!0);let be=null;const Re=new Promise(Kt=>be=Kt),ht=this.injector.get(xe),qt=this.injector.get(Gn);return"disabled"===qt.initialNavigation?(ht.setUpLocationChangeListener(),be(!0)):"enabled"===qt.initialNavigation||"enabledBlocking"===qt.initialNavigation?(ht.hooks.afterPreactivation=()=>this.initNavigation?(0,e.of)(null):(this.initNavigation=!0,be(!0),this.resultOfPreactivationDone),ht.initialNavigation()):be(!0),Re})}bootstrapListener(K){const be=this.injector.get(Gn),Re=this.injector.get(oo),ht=this.injector.get(Eo),qt=this.injector.get(xe),Kt=this.injector.get(i.z2F);K===Kt.components[0]&&(("enabledNonBlocking"===be.initialNavigation||void 0===be.initialNavigation)&&qt.initialNavigation(),Re.setUpPreloading(),ht.init(),qt.resetRootComponentType(Kt.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return ae.\u0275fac=function(K){return new(K||ae)(i.LFG(i.zs3))},ae.\u0275prov=i.Yz7({token:ae,factory:ae.\u0275fac}),ae})();function Fr(ae){return ae.appInitializer.bind(ae)}function gr(ae){return ae.bootstrapListener.bind(ae)}const Br=new i.OlP("Router Initializer")},3361:(Yt,Ze,m)=>{"use strict";m.d(Ze,{j3:()=>It,kJ:()=>C,ws:()=>X});var i=m(60),s=m(5e3);function e(it,wt){if(null==it)throw new Error("Unexpected "+it+" value: "+wt);return it}const A=new s.OlP("MATOMO_CONFIGURATION"),C=new s.OlP("INTERNAL_MATOMO_CONFIGURATION",{factory:()=>Object.assign({disabled:!1,enableLinkTracking:!0,trackAppInitialLoad:!1,requireConsent:S.NONE,enableJSErrorTracking:!1,runOutsideAngularZone:!1},e((0,s.f3M)(A,s.XFs.Optional),"No Matomo configuration found! Have you included Matomo module using NgxMatomoTrackerModule.forRoot() ?"))});var T=(()=>{return(it=T||(T={}))[it.AUTO=0]="AUTO",it[it.MANUAL=1]="MANUAL",it[it.AUTO_DEFERRED=2]="AUTO_DEFERRED",T;var it})(),S=(()=>{return(it=S||(S={}))[it.NONE=0]="NONE",it[it.COOKIE=1]="COOKIE",it[it.TRACKING=2]="TRACKING",S;var it})();function q(it){return null!=it.siteId&&null!=it.trackerUrl}function h(it){return Array.isArray(it.trackers)}function E(){window._paq=window._paq||[]}function c(it){const wt=[...it];for(;wt.length>0&&void 0===wt[wt.length-1];)wt.pop();return wt}let X=(()=>{class it{trackPageView(le){this.push(["trackPageView",le])}trackEvent(le,Ne,Ut,pn){this.push(["trackEvent",le,Ne,Ut,pn])}trackSiteSearch(le,Ne,Ut){this.push(["trackSiteSearch",le,Ne,Ut])}trackGoal(le,Ne){this.push(["trackGoal",le,Ne])}trackLink(le,Ne){this.push(["trackLink",le,Ne])}trackAllContentImpressions(){this.push(["trackAllContentImpressions"])}trackVisibleContentImpressions(le,Ne){this.push(["trackVisibleContentImpressions",le,Ne])}trackContentImpressionsWithinNode(le){this.push(["trackContentImpressionsWithinNode",le])}trackContentInteractionNode(le,Ne){this.push(["trackContentInteractionNode",le,Ne])}trackContentImpression(le,Ne,Ut){this.push(["trackContentImpression",le,Ne,Ut])}trackContentInteraction(le,Ne,Ut,pn){this.push(["trackContentInteraction",le,Ne,Ut,pn])}logAllContentBlocksOnPage(){this.push(["logAllContentBlocksOnPage"])}ping(){this.push(["ping"])}enableHeartBeatTimer(le){this.push(["enableHeartBeatTimer",le])}enableLinkTracking(le=!1){this.push(["enableLinkTracking",le])}disablePerformanceTracking(){this.push(["disablePerformanceTracking"])}enableCrossDomainLinking(){this.push(["enableCrossDomainLinking"])}setCrossDomainLinkingTimeout(le){this.push(["setCrossDomainLinkingTimeout",le])}getCrossDomainLinkingUrlParameter(){return this.get("getCrossDomainLinkingUrlParameter")}setDocumentTitle(le){this.push(["setDocumentTitle",le])}setDomains(le){this.push(["setDomains",le])}setCustomUrl(le){this.push(["setCustomUrl",le])}setReferrerUrl(le){this.push(["setReferrerUrl",le])}setSiteId(le){this.push(["setSiteId",le])}setApiUrl(le){this.push(["setApiUrl",le])}setTrackerUrl(le){this.push(["setTrackerUrl",le])}addTracker(le,Ne){this.push(["addTracker",le,Ne])}getMatomoUrl(){return this.get("getMatomoUrl")}getCurrentUrl(){return this.get("getCurrentUrl")}setDownloadClasses(le){this.push(["setDownloadClasses",le])}setDownloadExtensions(le){this.push(["setDownloadExtensions",le])}addDownloadExtensions(le){this.push(["addDownloadExtensions",le])}removeDownloadExtensions(le){this.push(["removeDownloadExtensions",le])}setIgnoreClasses(le){this.push(["setIgnoreClasses",le])}setLinkClasses(le){this.push(["setLinkClasses",le])}setLinkTrackingTimer(le){this.push(["setLinkTrackingTimer",le])}getLinkTrackingTimer(){return this.get("getLinkTrackingTimer")}discardHashTag(le){this.push(["discardHashTag",le])}setGenerationTimeMs(le){this.push(["setGenerationTimeMs",le])}setPagePerformanceTiming(le,Ne,Ut,pn,Dn,Mn){let rn;"object"==typeof le&&le?(rn=le.networkTimeInMs,Ne=le.serverTimeInMs,Ut=le.transferTimeInMs,pn=le.domProcessingTimeInMs,Dn=le.domCompletionTimeInMs,Mn=le.onloadTimeInMs):rn=le,this.push(["setPagePerformanceTiming",rn,Ne,Ut,pn,Dn,Mn])}appendToTrackingUrl(le){this.push(["appendToTrackingUrl",le])}setDoNotTrack(le){this.push(["setDoNotTrack",le])}killFrame(){this.push(["killFrame"])}redirectFile(le){this.push(["redirectFile",le])}setHeartBeatTimer(le,Ne){this.push(["setHeartBeatTimer",le,Ne])}getVisitorId(){return this.get("getVisitorId")}setVisitorId(le){this.push(["setVisitorId",le])}getVisitorInfo(){return this.get("getVisitorInfo")}getAttributionInfo(){return this.get("getAttributionInfo")}getAttributionCampaignName(){return this.get("getAttributionCampaignName")}getAttributionCampaignKeyword(){return this.get("getAttributionCampaignKeyword")}getAttributionReferrerTimestamp(){return this.get("getAttributionReferrerTimestamp")}getAttributionReferrerUrl(){return this.get("getAttributionReferrerUrl")}getUserId(){return this.get("getUserId")}setUserId(le){this.push(["setUserId",le])}resetUserId(){this.push(["resetUserId"])}setCustomVariable(le,Ne,Ut,pn){this.push(["setCustomVariable",le,Ne,Ut,pn])}deleteCustomVariable(le,Ne){this.push(["deleteCustomVariable",le,Ne])}deleteCustomVariables(le){this.push(["deleteCustomVariables",le])}getCustomVariable(le,Ne){return this.pushFn(Ut=>Ut.getCustomVariable(le,Ne))}storeCustomVariablesInCookie(){this.push(["storeCustomVariablesInCookie"])}setCustomDimension(le,Ne){this.push(["setCustomDimension",le,Ne])}deleteCustomDimension(le){this.push(["deleteCustomDimension",le])}getCustomDimension(le){return this.pushFn(Ne=>Ne.getCustomDimension(le))}setCampaignNameKey(le){this.push(["setCampaignNameKey",le])}setCampaignKeywordKey(le){this.push(["setCampaignKeywordKey",le])}setConversionAttributionFirstReferrer(le){this.push(["setConversionAttributionFirstReferrer",le])}setEcommerceView(le,Ne,Ut,pn){!function Z(it){return"object"==typeof it&&1===Object.keys(it).length&&null!=it.productCategory}(le)?function v(it){return"object"==typeof it&&"productSKU"in it}(le)?this.push(["setEcommerceView",le.productSKU,le.productName,le.productCategory,le.price]):this.push(["setEcommerceView",le,Ne,Ut,pn]):this.push(["setEcommerceView",!1,!1,le.productCategory])}addEcommerceItem(le,Ne,Ut,pn,Dn){this.push("string"==typeof le?["addEcommerceItem",le,Ne,Ut,pn,Dn]:["addEcommerceItem",le.productSKU,le.productName,le.productCategory,le.price,le.quantity])}removeEcommerceItem(le){this.push(["removeEcommerceItem",le])}clearEcommerceCart(){this.push(["clearEcommerceCart"])}getEcommerceItems(){return this.get("getEcommerceItems")}trackEcommerceCartUpdate(le){this.push(["trackEcommerceCartUpdate",le])}trackEcommerceOrder(le,Ne,Ut,pn,Dn,Mn){this.push(["trackEcommerceOrder",le,Ne,Ut,pn,Dn,Mn])}requireConsent(){this.push(["requireConsent"])}setConsentGiven(){this.push(["setConsentGiven"])}rememberConsentGiven(le){this.push(["rememberConsentGiven",le])}forgetConsentGiven(){this.push(["forgetConsentGiven"])}hasRememberedConsent(){return this.get("hasRememberedConsent")}getRememberedConsent(){return this.get("getRememberedConsent")}isConsentRequired(){return this.get("isConsentRequired")}requireCookieConsent(){this.push(["requireCookieConsent"])}setCookieConsentGiven(){this.push(["setCookieConsentGiven"])}rememberCookieConsentGiven(le){this.push(["rememberCookieConsentGiven",le])}forgetCookieConsentGiven(){this.push(["forgetCookieConsentGiven"])}areCookiesEnabled(){return this.get("areCookiesEnabled")}optUserOut(){this.push(["optUserOut"])}forgetUserOptOut(){this.push(["forgetUserOptOut"])}isUserOptedOut(){return this.get("isUserOptedOut")}disableCookies(){this.push(["disableCookies"])}deleteCookies(){this.push(["deleteCookies"])}hasCookies(){return this.get("hasCookies")}setCookieNamePrefix(le){this.push(["setCookieNamePrefix",le])}setCookieDomain(le){this.push(["setCookieDomain",le])}setCookiePath(le){this.push(["setCookiePath",le])}setSecureCookie(le){this.push(["setSecureCookie",le])}setCookieSameSite(le){this.push(["setCookieSameSite",le])}setVisitorCookieTimeout(le){this.push(["setVisitorCookieTimeout",le])}setReferralCookieTimeout(le){this.push(["setReferralCookieTimeout",le])}setSessionCookieTimeout(le){this.push(["setSessionCookieTimeout",le])}addListener(le){this.push(["addListener",le])}setRequestMethod(le){this.push(["setRequestMethod",le])}setCustomRequestProcessing(le){this.push(["setCustomRequestProcessing",le])}setRequestContentType(le){this.push(["setRequestContentType",le])}disableQueueRequest(){this.push(["disableQueueRequest"])}setRequestQueueInterval(le){this.push(["setRequestQueueInterval",le])}disableAlwaysUseSendBeacon(){this.push(["disableAlwaysUseSendBeacon"])}alwaysUseSendBeacon(){this.push(["alwaysUseSendBeacon"])}enableJSErrorTracking(){this.push(["enableJSErrorTracking"])}get(le){return this.pushFn(Ne=>Ne[le]())}}return it.\u0275fac=function(le){return new(le||it)},it.\u0275prov=s.Yz7({token:it,factory:function(le){let Ne=null;return Ne=le?new le:function ee(it,wt,le){return it.disabled||!(0,i.NF)(wt)?new _e:new te(le,it)}(s.LFG(C),s.LFG(s.Lbi),s.LFG(s.R0b)),Ne},providedIn:"root"}),it})();class te extends X{constructor(wt,le){super(),this.ngZone=wt,this.config=le,E()}pushFn(wt){return new Promise(le=>{this.push([function(){le(wt(this))}])})}push(wt){this.config.runOutsideAngularZone?this.ngZone.runOutsideAngular(()=>{window._paq.push(c(wt))}):window._paq.push(c(wt))}}class _e extends X{push(wt){}pushFn(wt){return Promise.reject("MatomoTracker is disabled")}}const Qt=(it,wt)=>{const le=wt.createElement("script");return le.type="text/javascript",le.defer=!0,le.async=!0,le.src=it,le},Vt=new s.OlP("MATOMO_SCRIPT_FACTORY",{providedIn:"root",factory:()=>Qt});function we(it){return`${it}`}function me(it){return it.endsWith("/")?it:`${it}/`}
1function We(it,wt){return null==wt?me(it)+re:it+wt}const re="matomo.php";class Et{initialize(){}initializeTracker(wt){}}let Lt=(()=>{class it{constructor(le,Ne,Ut,pn){this.config=le,this.tracker=Ne,this.scriptFactory=Ut,this.document=pn,this.initialized=!1,this.injected=!1,E()}init(){this.initialize()}initialize(){if(this.runPreInitTasks(),this.initialized)throw new Error("Matomo has already been initialized");(function R(it){return null==it.mode||it.mode===T.AUTO})(this.config)&&this.injectMatomoScript(this.config),this.initialized=!0}initializeTracker(le){this.injectMatomoScript(le)}injectMatomoScript(le){if(this.injected)throw new Error("Matomo trackers have already been initialized");if(function k(it){return q(it)||h(it)}(le)){const{scriptUrl:Ne}=le,[Ut,...pn]=function O(it){return h(it)?it.trackers:[{trackerUrl:it.trackerUrl,siteId:it.siteId,trackerUrlSuffix:it.trackerUrlSuffix}]}(le),Dn=null!=Ne?Ne:me(Ut.trackerUrl)+"matomo.js";this.registerMainTracker(Ut),this.registerAdditionalTrackers(pn),this.injectDOMScript(Dn)}else if(function w(it){return null!=it.scriptUrl&&!q(it)}(le)){const{scriptUrl:Ne,trackers:Ut}=Object.assign({trackers:[]},le);this.registerAdditionalTrackers(Ut),this.injectDOMScript(Ne)}this.injected=!0}registerMainTracker(le){const Ne=We(le.trackerUrl,le.trackerUrlSuffix
1),Ut=we(le.siteId);this.tracker.setTrackerUrl(Ne),this.tracker.setSiteId(Ut)}registerAdditionalTrackers(le){le.forEach(({trackerUrl:Ne,siteId:Ut,trackerUrlSuffix:pn})=>{const Dn=We(Ne,pn),Mn=we(Ut);this.tracker.addTracker(Dn,Mn)})}injectDOMScript(le){const Ne=this.scriptFactory(le,this.document),Ut=e(this.document.getElementsByTagName("script")[0],"no existing script found");e(Ut.parentNode,"no script's parent node found").insertBefore(Ne,Ut)}runPreInitTasks(){this.config.acceptDoNotTrack&&this.tracker.setDoNotTrack(!0),this.config.requireConsent===S.COOKIE?this.tracker.requireCookieConsent():this.config.requireConsent===S.TRACKING&&this.tracker.requireConsent(),this.config.enableJSErrorTracking&&this.tracker.enableJSErrorTracking(),this.config.trackAppInitialLoad&&this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking()}}return it.\u0275fac=function(le){s.$Z()},it.\u0275prov=s.Yz7({token:it,factory:function(le){let Ne=null;return Ne=le?new le:function Ot(it,wt,le,Ne,Ut){return it.disabled||!(0,i.NF)(Ut)?new Et:new Lt(it,wt,le,Ne)}(s.LFG(C),s.LFG(X),s.LFG(Vt),s.LFG(i.K0),s.LFG(s.Lbi)),Ne},providedIn:"root"}),it})(),It=(()=>{class it{constructor(le,Ne){this.initializer=le,Ne||this.initializer.initialize()}static forRoot(le,Ne){const Ut=[{provide:A,useValue:le}];return Ne&&Ut.push({provide:Vt,useValue:Ne}),{ngModule:it,providers:Ut}}}return it.\u0275fac=function(le){return new(le||it)(s.LFG(Lt),s.LFG(it,12))},it.\u0275mod=s.oAB({type:it}),it.\u0275inj=s.cJS({}),it})()},4894:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Zw:()=>h,aw:()=>Vt,X$:()=>Qt,sK:()=>xt});var i=m(5e3),s=m(9646),e=m(5191),l=m(4128),d=m(7272),A=m(9770),C=m(5698),T=m(4707),S=m(3099);function R(dt,Mt,we){var me,We;let re,ft=!1;return dt&&"object"==typeof dt?(re=null!==(me=dt.bufferSize)&&void 0!==me?me:1/0,Mt=null!==(We=dt.windowTime)&&void 0!==We?We:1/0,ft=!!dt.refCount,we=dt.scheduler):re=null!=dt?dt:1/0,(0,S.B)({connector:()=>new T.t(re,Mt,we),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ft})}var q=m(4004),w=m(4351),k=m(3900);class h{}let O=(()=>{class dt extends h{getTranslation(we){return(0,s.of)({})}}return dt.\u0275fac=function(){let Mt;return function(me){return(Mt||(Mt=i.n5z(dt)))(me||dt)}}(),dt.\u0275prov=i.Yz7({token:dt,factory:dt.\u0275fac}),dt})();class E{}let c=(()=>{class dt{handle(we){return we.key}}return dt.\u0275fac=function(we){return new(we||dt)},dt.\u0275prov=i.Yz7({token:dt,factory:dt.\u0275fac}),dt})();function Z(dt,Mt){if(dt===Mt)return!0;if(null===dt||null===Mt)return!1;if(dt!=dt&&Mt!=Mt)return!0;let We,re,ft,we=typeof dt;if(we==typeof Mt&&"object"==we){if(!Array.isArray(dt)){if(Array.isArray(Mt))return!1;for(re in ft=Object.create(null),dt){if(!Z(dt[re],Mt[re]))return!1;ft[re]=!0}for(re in Mt)if(!(re in ft)&&void 0!==Mt[re])return!1;return!0}if(!Array.isArray(Mt))return!1;if((We=dt.length)==Mt.length){for(re=0;re<We;re++)if(!Z(dt[re],Mt[re]))return!1;return!0}}return!1}function v(dt){return null!=dt}function ee(dt){return dt&&"object"==typeof dt&&!Array.isArray(dt)}function X(dt,Mt){let we=Object.assign({},dt);return ee(dt)&&ee(Mt)&&Object.keys(Mt).forEach(me=>{ee(Mt[me])?me in dt?we[me]=X(dt[me],Mt[me]):Object.assign(we,{[me]:Mt[me]}):Object.assign(we,{[me]:Mt[me]})}),we}class te{}let _e=(()=>{class dt extends te{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(we,me){let We;return We="string"==typeof we?this.interpolateString(we,me):"function"==typeof we?this.interpolateFunction(we,me):we,We}getValue(we,me){let We="string"==typeof me?me.split("."):[me];me="";do{me+=We.shift(),!v(we)||!v(we[me])||"object"!=typeof we[me]&&We.length?We.length?me+=".":we=void 0:(we=we[me],me="")}while(We.length);return we}interpolateFunction(we,me){return we(me)}interpolateString(we,me){return me?we.replace(this.templateMatcher,(We,re)=>{let ft=this.getValue(me,re);return v(ft)?ft:We}):we}}return dt.\u0275fac=function(){let Mt;return function(me){return(Mt||(Mt=i.n5z(dt)))(me||dt)}}(),dt.\u0275prov=i.Yz7({token:dt,factory:dt.\u0275fac}),dt})();class ne{}let oe=(()=>{class dt extends ne{compile(we,me){return we}compileTranslations(we,me){return we}}return dt.\u0275fac=function(){let Mt;return function(me){return(Mt||(Mt=i.n5z(dt)))(me||dt)}}(),dt.\u0275prov=i.Yz7({token:dt,factory:dt.\u0275fac}),dt})();class he{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const Se=new i.OlP("USE_STORE"),Be=new i.OlP("USE_DEFAULT_LANG"),ot=new i.OlP("DEFAULT_LANGUAGE"),nt=ne
1w i.OlP("USE_EXTEND");let xt=(()=>{class dt{constructor(we,me,We,re,ft,Ot=!0,Et=!1,Lt=!1,It){this.store=we,this.currentLoader=me,this.compiler=We,this.parser=re,this.missingTranslationHandler=ft,this.useDefaultLang=Ot,this.isolate=Et,this.extend=Lt,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},It&&this.setDefaultLang(It)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(we){this.isolate?this._defaultLang=we:this.store.defaultLang=we}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(we){this.isolate?this._currentLang=we:this.store.currentLang=we}get langs(){return this.isolate?this._langs:this.store.langs}set langs(we){this.isolate?this._langs=we:this.store.langs=we}get translations(){return this.isolate?this._translations:this.store.translations}set translations(we){this.isolate?this._translations=we:this.store.translations=we}setDefaultLang(we){if(we===this.defaultLang)return;let me=this.retrieveTranslations(we);void 0!==me?(null==this.defaultLang&&(this.defaultLang=we),me.pipe((0,C.q)(1)).subscribe(We=>{this.changeDefaultLang(we)})):this.changeDefaultLang(we)}getDefaultLang(){return this.defaultLang}use(we){if(we===this.currentLang)return(0,s.of)(this.translations[we]);let me=this.retrieveTranslations(we);return void 0!==me?(this.currentLang||(this.currentLang=we),me.pipe((0,C.q)(1)).subscribe(We=>{this.changeLang(we)}),me):(this.changeLang(we),(0,s.of)(this.translations[we]))}retrieveTranslations(we){let me;return(void 0===this.translations[we]||this.extend)&&(this._translationRequests[we]=this._translationRequests[we]||this.getTranslation(we),me=this._translationRequests[we]),me}getTranslation(we){this.pending=!0;const me=this.currentLoader.getTranslation(we).pipe(R(1),(0,C.q)(1));return this.loadingTranslations=me.pipe((0,q.U)(We=>this.compiler.compileTranslations(We,we)),R(1),(0,C.q)(1)),this.loadingTranslations.subscribe({next:We=>{this.translations[we]=this.extend&&this.translations[we]?Object.assign(Object.assign({},We),this.translations[we]):We,this.updateLangs(),this.pending=!1},error:We=>{this.pending=!1}}),me}setTranslation(we,me,We=!1){me=this.compiler.compileTranslations(me,we),this.translations[we]=(We||this.extend)&&this.translations[we]?X(this.translations[we],me):me,this.updateLangs(),this.onTranslationChange.emit({lang:we,translations:this.translations[we]})}getLangs(){return this.langs}addLangs(we){we.forEach(me=>{-1===this.langs.indexOf(me)&&this.langs.push(me)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(we,me,We){let re;if(me instanceof Array){let ft={},Ot=!1;for(let Et of me)ft[Et]=this.getParsedResult(we,Et,We),(0,e.b)(ft[Et])&&(Ot=!0);if(Ot){const Et=me.map(Lt=>(0,e.b)(ft[Lt])?ft[Lt]:(0,s.of)(ft[Lt]));return(0,l.D)(Et).pipe((0,q.U)(Lt=>{let It={};return Lt.forEach((it,wt)=>{It[me[wt]]=it}),It}))}return ft}if(we&&(re=this.parser.interpolate(this.parser.getValue(we,me),We)),void 0===re&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(re=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],me),We)),void 0===re){let ft={key:me,translateService:this};void 0!==We&&(ft.interpolateParams=We),re=this.missingTranslationHandler.handle(ft)}return void 0!==re?re:me}get(we,me){if(!v(we)||!we.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,w.b)(We=>(We=this.getParsedResult(We,we,me),(0,e.b)(We)?We:(0,s.of)(We))));{let We=this.getParsedResult(this.translations[this.currentLang],we,me);return(0,e.b)(We)?We:(0,s.of)(We)}}getStreamOnTranslationChange(we,me){if(!v(we)||!we.length)throw new Error('Parameter "key" required');return(0,d.z)((0,A.P)(()=>this.get(we,me)),this.onTranslationChange.pipe((0,k.w)(We=>{const re=this.getParsedResult(We.translations,we,me);return"function"==typeof re.subscribe?re:(0,s.of)(re)})))}stream(we,me){if(!v(we)||!we.length)throw new Error('Parameter "key" required');return(0,d.z)((0,A.P)(()=>this.get(we,me)),this.onLangChange.pipe((0,k.w)(We=>{const re=this.getParsedResult(We.translations,we,me);return(0,e.b)(re)?re:(0,s.of)(re)})))}instant(we,me){if(!v(we)||!we.length)throw new Error('Parameter "key" required');let We=this.getParsedResult(this.translations[this.currentLang],we,me);if((0,e.b)(We)){if(we instanceof Array){let re={};return we.forEach((ft,Ot)=>{re[we[Ot]]=we[Ot]}),re}return we}return We}set(we,me,We=this.currentLang){this.translations[We][we]=this.compiler.compile(me,We),this.updateLangs(),this.onTranslationChange.emit({lang:We,translations:this.translations[We]})}changeLang(we){this.currentLang=we,this.onLangChange.emit({lang:we,translations:this.translations[we]}),null==this.defaultLang&&this.changeDefaultLang(we)}changeDefaultLang(we){this.defaultLang=we,this.onDefaultLangChange.emit({lang:we,translations:this.translations[we]})}reloadLang(we){return this.resetLang(we),this.getTranslation(we)}
1resetLang(we){this._translationRequests[we]=void 0,this.translations[we]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let we=window.navigator.languages?window.navigator.languages[0]:null;return we=we||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==we?(-1!==we.indexOf("-")&&(we=we.split("-")[0]),-1!==we.indexOf("_")&&(we=we.split("_")[0]),we):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let we=window.navigator.languages?window.navigator.languages[0]:null;return we=we||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,we}}return dt.\u0275fac=function(we){return new(we||dt)(i.LFG(he),i.LFG(h),i.LFG(ne),i.LFG(te),i.LFG(E),i.LFG(Be),i.LFG(Se),i.LFG(nt),i.LFG(ot))},dt.\u0275prov=i.Yz7({token:dt,factory:dt.\u0275fac}),dt})(),Qt=(()=>{class dt{constructor(we,me){this.translate=we,this._ref=me,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(we,me,We){let re=ft=>{this.value=void 0!==ft?ft:we,this.lastKey=we,this._ref.markForCheck()};if(We){let ft=this.translate.getParsedResult(We,we,me);(0,e.b)(ft.subscribe)?ft.subscribe(re):re(ft)}this.translate.get(we,me).subscribe(re)}transform(we,...me){if(!we||!we.length)return we;if(Z(we,this.lastKey)&&Z(me,this.lastParams))return this.value;let We;if(v(me[0])&&me.length)if("string"==typeof me[0]&&me[0].length){let re=me[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{We=JSON.parse(re)}catch(ft){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${me[0]}`)}}else"object"==typeof me[0]&&!Array.isArray(me[0])&&(We=me[0]);return this.lastKey=we,this.lastParams=me,this.updateValue(we,We),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(re=>{this.lastKey&&re.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(we,We,re.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(re=>{this.lastKey&&(this.lastKey=null,this.updateValue(we,We,re.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(we,We))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return dt.\u0275fac=function(we){return new(we||dt)(i.Y36(xt,16),i.Y36(i.sBO,16))},dt.\u0275pipe=i.Yjl({name:"translate",type:dt,pure:!1}),dt.\u0275prov=i.Yz7({token:dt,factory:dt.\u0275fac}),dt})(),Vt=(()=>{class dt{static forRoot(we={}){return{ngModule:dt,providers:[we.loader||{provide:h,useClass:O},we.compiler||{provide:ne,useClass:oe},we.parser||{provide:te,useClass:_e},we.missingTranslationHandler||{provide:E,useClass:c},he,{provide:Se,useValue:we.isolate},{provide:Be,useValue:we.useDefaultLang},{provide:nt,useValue:we.extend},{provide:ot,useValue:we.defaultLanguage},xt]}}static forChild(we={}){return{ngModule:dt,providers:[we.loader||{provide:h,useClass:O},we.compiler||{provide:ne,useClass:oe},we.parser||{provide:te,useClass:_e},we.missingTranslationHandler||{provide:E,useClass:c},{provide:Se,useValue:we.isolate},{provide:Be,useValue:we.useDefaultLang},{provide:nt,useValue:we.extend},{provide:ot,useValue:we.defaultLanguage},xt]}}}return dt.\u0275fac=function(we){return new(we||dt)},dt.\u0275mod=i.oAB({type:dt}),dt.\u0275inj=i.cJS({}),dt})()},40:(Yt,Ze,m)=>{"use strict";m.d(Ze,{w:()=>i});class i{constructor(e,l="/assets/i18n/",d=".json"){this.http=e,this.prefix=l,this.suffix=d}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}}},3192:(Yt,Ze,m)=>{"use strict";m.d(Ze,{Ci:()=>Ao,IQ:()=>De,Q7:()=>ot,WV:()=>nr,W_:()=>Y,ZL:()=>ri,f$:()=>Zr,i_:()=>Ie,kL:()=>jo,od:()=>U,u:()=>Ei,uw:()=>Ds,vn:()=>It,zX:()=>Eu});var i=m(4425);class s{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(u,f,x,M){const V=f.duration;
1f.listeners[M].forEach(Q=>Q({chart:u,initial:f.initial,numSteps:V,currentStep:Math.min(x-f.start,V)}))}_refresh(){this._request||(this._running=!0,this._request=i.r.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(u=Date.now()){let f=0;this._charts.forEach((x,M)=>{if(!x.running||!x.items.length)return;const P=x.items;let ie,V=P.length-1,Q=!1;for(;V>=0;--V)ie=P[V],ie._active?(ie._total>x.duration&&(x.duration=ie._total),ie.tick(u),Q=!0):(P[V]=P[P.length-1],P.pop());Q&&(M.draw(),this._notify(M,x,u,"progress")),P.length||(x.running=!1,this._notify(M,x,u,"complete"),x.initial=!1),f+=P.length}),this._lastDate=u,0===f&&(this._running=!1)}_getAnims(u){const f=this._charts;let x=f.get(u);return x||(x={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},f.set(u,x)),x}listen(u,f,x){this._getAnims(u).listeners[f].push(x)}add(u,f){!f||!f.length||this._getAnims(u).items.push(...f)}has(u){return this._getAnims(u).items.length>0}start(u){const f=this._charts.get(u);!f||(f.running=!0,f.start=Date.now(),f.duration=f.items.reduce((x,M)=>Math.max(x,M._duration),0),this._refresh())}running(u){if(!this._running)return!1;const f=this._charts.get(u);return!(!f||!f.running||!f.items.length)}stop(u){const f=this._charts.get(u);if(!f||!f.items.length)return;const x=f.items;let M=x.length-1;for(;M>=0;--M)x[M].cancel();f.items=[],this._notify(u,f,Date.now(),"complete")}remove(u){return this._charts.delete(u)}}var e=new s;const l="transparent",d={boolean:(y,u,f)=>f>.5?u:y,color(y,u,f){const x=(0,i.c)(y||l),M=x.valid&&(0,i.c)(u||l);return M&&M.valid?M.mix(x,f).hexString():u},number:(y,u,f)=>y+(u-y)*f};class A{constructor(u,f,x,M){const P=f[x];M=(0,i.a)([u.to,M,P,u.from]);const V=(0,i.a)([u.from,P,M]);this._active=!0,this._fn=u.fn||d[u.type||typeof V],this._easing=i.e[u.easing]||i.e.linear,this._start=Math.floor(Date.now()+(u.delay||0)),this._duration=this._total=Math.floor(u.duration),this._loop=!!u.loop,this._target=f,this._prop=x,this._from=V,this._to=M,this._promises=void 0}active(){return this._active}update(u,f,x){if(this._active){this._notify(!1);const M=this._target[this._prop],P=x-this._start,V=this._duration-P;this._start=x,this._duration=Math.floor(Math.max(V,u.duration)),this._total+=P,this._loop=!!u.loop,this._to=(0,i.a)([u.to,f,M,u.from]),this._from=(0,i.a)([u.from,M,f])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(u){const f=u-this._start,x=this._duration,M=this._prop,P=this._from,V=this._loop,Q=this._to;let ie;if(this._active=P!==Q&&(V||f<x),!this._active)return this._target[M]=Q,void this._notify(!0);f<0?this._target[M]=P:(ie=f/x%2,ie=V&&ie>1?2-ie:ie,ie=this._easing(Math.min(1,Math.max(0,ie))),this._target[M]=this._fn(P,Q,ie))}wait(){const u=this._promises||(this._promises=[]);return new Promise((f,x)=>{u.push({res:f,rej:x})})}_notify(u){const f=u?"res":"rej",x=this._promises||[];for(let M=0;M<x.length;M++)x[M][f]()}}class C{constructor(u,f){this._chart=u,this._properties=new Map,this.configure(f)}configure(u){if(!(0,i.i)(u))return;const f=Object.keys(i.d.animation),x=this._properties;Object.getOwnPropertyNames(u).forEach(M=>{const P=u[M];if(!(0,i.i)(P))return;const V={};for(const Q of f)V[Q]=P[Q];((0,i.b)(P.properties)&&P.properties||[M]).forEach(Q=>{(Q===M||!x.has(Q))&&x.set(Q,V)})})}_animateOptions(u,f){const x=f.options,M=function S(y,u){if(!u)return;let f=y.options;if(f)return f.$shared&&(y.options=f=Object.assign({},f,{$shared:!1,$animations:{}})),f;y.options=u}(u,x);if(!M)return[];const P=this._createAnimations(M,x);return x.$shared&&function T(y,u){const f=[],x=Object.keys(u);for(let M=0;M<x.length;M++){const P=y[x[M]];P&&P.active()&&f.push(P.wait())}return Promise.all(f)}(u.options.$animations,x).then(()=>{u.options=x},()=>{}),P}_createAnimations(u,f){const x=this._properties,M=[],P=u.$animations||(u.$animations={}),V=Object.keys(f),Q=Date.now();let ie;for(ie=V.length-1;ie>=0;--ie){const Me=V[ie];if("$"===Me.charAt(0))continue;if("options"===Me){M.push(...this._animateOptions(u,f));continue}const Ke=f[Me];let Ct=P[Me];const St=x.get(Me);
1if(Ct){if(St&&Ct.active()){Ct.update(St,Ke,Q);continue}Ct.cancel()}St&&St.duration?(P[Me]=Ct=new A(St,u,Me,Ke),M.push(Ct)):u[Me]=Ke}return M}update(u,f){if(0===this._properties.size)return void Object.assign(u,f);const x=this._createAnimations(u,f);return x.length?(e.add(this._chart,x),!0):void 0}}function R(y,u){const f=y&&y.options||{},x=f.reverse,M=void 0===f.min?u:0,P=void 0===f.max?u:0;return{start:x?P:M,end:x?M:P}}function k(y,u){const f=[],x=y._getSortedDatasetMetas(u);let M,P;for(M=0,P=x.length;M<P;++M)f.push(x[M].index);return f}function h(y,u,f,x={}){const M=y.keys,P="single"===x.mode;let V,Q,ie,Me;if(null!==u){for(V=0,Q=M.length;V<Q;++V){if(ie=+M[V],ie===f){if(x.all)continue;break}Me=y.values[ie],(0,i.g)(Me)&&(P||0===u||(0,i.s)(u)===(0,i.s)(Me))&&(u+=Me)}return u}}function E(y,u){const f=y&&y.options.stacked;return f||void 0===f&&void 0!==u.stack}function v(y,u,f){const x=y[u]||(y[u]={});return x[f]||(x[f]={})}function ee(y,u,f,x){for(const M of u.getMatchingVisibleMetas(x).reverse()){const P=y[M.index];if(f&&P>0||!f&&P<0)return M.index}return null}function X(y,u){const{chart:f,_cachedMeta:x}=y,M=f._stacks||(f._stacks={}),{iScale:P,vScale:V,index:Q}=x,ie=P.axis,Me=V.axis,Ke=function c(y,u,f){return`${y.id}.${u.id}.${f.stack||f.type}`}(P,V,x),Ct=u.length;let St;for(let kt=0;kt<Ct;++kt){const on=u[kt],{[ie]:hn,[Me]:On}=on;St=(on._stacks||(on._stacks={}))[Me]=v(M,Ke,hn),St[Q]=On,St._top=ee(St,V,!0,x.type),St._bottom=ee(St,V,!1,x.type)}}function te(y,u){const f=y.scales;return Object.keys(f).filter(x=>f[x].axis===u).shift()}function oe(y,u){const f=y.controller.index,x=y.vScale&&y.vScale.axis;if(x){u=u||y._parsed;for(const M of u){const P=M._stacks;if(!P||void 0===P[x]||void 0===P[x][f])return;delete P[x][f]}}}const he=y=>"reset"===y||"none"===y,Se=(y,u)=>u?y:Object.assign({},y);class ot{constructor(u,f){this.chart=u,this._ctx=u.ctx,this.index=f,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const u=this._cachedMeta;this.configure(),this.linkScales(),u._stacked=E(u.vScale,u),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(u){this.index!==u&&oe(this._cachedMeta),this.index=u}linkScales(){const u=this.chart,f=this._cachedMeta,x=this.getDataset(),M=(Ct,St,kt,on)=>"x"===Ct?St:"r"===Ct?on:kt,P=f.xAxisID=(0,i.v)(x.xAxisID,te(u,"x")),V=f.yAxisID=(0,i.v)(x.yAxisID,te(u,"y")),Q=f.rAxisID=(0,i.v)(x.rAxisID,te(u,"r")),ie=f.indexAxis,Me=f.iAxisID=M(ie,P,V,Q),Ke=f.vAxisID=M(ie,V,P,Q);f.xScale=this.getScaleForId(P),f.yScale=this.getScaleForId(V),f.rScale=this.getScaleForId(Q),f.iScale=this.getScaleForId(Me),f.vScale=this.getScaleForId(Ke)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(u){return this.chart.scales[u]}_getOtherScale(u){const f=this._cachedMeta;return u===f.iScale?f.vScale:f.iScale}reset(){this._update("reset")}_destroy(){const u=this._cachedMeta;this._data&&(0,i.u)(this._data,this),u._stacked&&oe(u)}_dataCheck(){const u=this.getDataset(),f=u.data||(u.data=[]),x=this._data;if((0,i.i)(f))this._data=function O(y){const u=Object.keys(y),f=new Array(u.length);let x,M,P;for(x=0,M=u.length;x<M;++x)P=u[x],f[x]={x:P,y:y[P]};return f}(f);else if(x!==f){if(x){(0,i.u)(x,this);const M=this._cachedMeta;oe(M),M._parsed=[]}f&&Object.isExtensible(f)&&(0,i.l)(f,this),this._syncList=[],this._data=f}}addElements(){const u=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(u.dataset=new this.datasetElementType)}buildOrUpdateElements(u){const f=this._cachedMeta,x=this.getDataset();let M=!1;this._dataCheck();const P=f._stacked;f._stacked=E(f.vScale,f),f.stack!==x.stack&&(M=!0,oe(f),f.stack=x.stack),this._resyncElements(u),(M||P!==f._stacked)&&X(this,f._parsed)}configure(){const u=this.chart.config,f=u.datasetScopeKeys(this._type),x=u.getOptionScopes(this.getDataset(),f,!0);this.options=u.createResolver(x,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(u,f){const{_cachedMeta:x,_data:M}=this,{iScale:P,_stacked:V}=x,Q=P.axis;let Ke,Ct,St,ie=0===u&&f===M.length||x._sorted,Me=u>0&&x._parsed[u-1];if(!1===this._parsing)x._parsed=M,x._sorted=!0,St=M;else{St=(0,i.b)(M[u])?this.parseArrayData(x,M,u,f):(0,i.i)(M[u])?this.parseObjectData(x,M,u,f):this.parsePrimitiveData(x,M,u,f);const kt=()=>null===Ct[Q]||Me&&Ct[Q]<Me[Q];for(Ke=0;Ke<f;
1++Ke)x._parsed[Ke+u]=Ct=St[Ke],ie&&(kt()&&(ie=!1),Me=Ct);x._sorted=ie}V&&X(this,St)}parsePrimitiveData(u,f,x,M){const{iScale:P,vScale:V}=u,Q=P.axis,ie=V.axis,Me=P.getLabels(),Ke=P===V,Ct=new Array(M);let St,kt,on;for(St=0,kt=M;St<kt;++St)on=St+x,Ct[St]={[Q]:Ke||P.parse(Me[on],on),[ie]:V.parse(f[on],on)};return Ct}parseArrayData(u,f,x,M){const{xScale:P,yScale:V}=u,Q=new Array(M);let ie,Me,Ke,Ct;for(ie=0,Me=M;ie<Me;++ie)Ke=ie+x,Ct=f[Ke],Q[ie]={x:P.parse(Ct[0],Ke),y:V.parse(Ct[1],Ke)};return Q}parseObjectData(u,f,x,M){const{xScale:P,yScale:V}=u,{xAxisKey:Q="x",yAxisKey:ie="y"}=this._parsing,Me=new Array(M);let Ke,Ct,St,kt;for(Ke=0,Ct=M;Ke<Ct;++Ke)St=Ke+x,kt=f[St],Me[Ke]={x:P.parse((0,i.f)(kt,Q),St),y:V.parse((0,i.f)(kt,ie),St)};return Me}getParsed(u){return this._cachedMeta._parsed[u]}getDataElement(u){return this._cachedMeta.data[u]}applyStack(u,f,x){const P=this._cachedMeta,V=f[u.axis];return h({keys:k(this.chart,!0),values:f._stacks[u.axis]},V,P.index,{mode:x})}updateRangeFromParsed(u,f,x,M){const P=x[f.axis];let V=null===P?NaN:P;const Q=M&&x._stacks[f.axis];M&&Q&&(M.values=Q,V=h(M,P,this._cachedMeta.index)),u.min=Math.min(u.min,V),u.max=Math.max(u.max,V)}getMinMax(u,f){const x=this._cachedMeta,M=x._parsed,P=x._sorted&&u===x.iScale,V=M.length,Q=this._getOtherScale(u),ie=((y,u,f)=>y&&!u.hidden&&u._stacked&&{keys:k(this.chart,!0),values:null})(f,x),Me={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:Ke,max:Ct}=function Z(y){const{min:u,max:f,minDefined:x,maxDefined:M}=y.getUserBounds();return{min:x?u:Number.NEGATIVE_INFINITY,max:M?f:Number.POSITIVE_INFINITY}}(Q);let St,kt;function on(){kt=M[St];const hn=kt[Q.axis];return!(0,i.g)(kt[u.axis])||Ke>hn||Ct<hn}for(St=0;St<V&&(on()||(this.updateRangeFromParsed(Me,u,kt,ie),!P));++St);if(P)for(St=V-1;St>=0;--St)if(!on()){this.updateRangeFromParsed(Me,u,kt,ie);break}return Me}getAllParsedValues(u){const f=this._cachedMeta._parsed,x=[];let M,P,V;for(M=0,P=f.length;M<P;++M)V=f[M][u.axis],(0,i.g)(V)&&x.push(V);return x}getMaxOverflow(){return!1}getLabelAndValue(u){const f=this._cachedMeta,x=f.iScale,M=f.vScale,P=this.getParsed(u);return{label:x?""+x.getLabelForValue(P[x.axis]):"",value:M?""+M.getLabelForValue(P[M.axis]):""}}_update(u){const f=this._cachedMeta;this.update(u||"default"),f._clip=function w(y){let u,f,x,M;return(0,i.i)(y)?(u=y.top,f=y.right,x=y.bottom,M=y.left):u=f=x=M=y,{top:u,right:f,bottom:x,left:M,disabled:!1===y}}((0,i.v)(this.options.clip,function q(y,u,f){if(!1===f)return!1;const x=R(y,f),M=R(u,f);return{top:M.end,right:x.end,bottom:M.start,left:x.start}}(f.xScale,f.yScale,this.getMaxOverflow())))}update(u){}draw(){const u=this._ctx,x=this._cachedMeta,M=x.data||[],P=this.chart.chartArea,V=[],Q=this._drawStart||0,ie=this._drawCount||M.length-Q,Me=this.options.drawActiveElementsOnTop;let Ke;for(x.dataset&&x.dataset.draw(u,P,Q,ie),Ke=Q;Ke<Q+ie;++Ke){const Ct=M[Ke];Ct.hidden||(Ct.active&&Me?V.push(Ct):Ct.draw(u,P))}for(Ke=0;Ke<V.length;++Ke)V[Ke].draw(u,P)}getStyle(u,f){const x=f?"active":"default";return void 0===u&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(x):this.resolveDataElementOptions(u||0,x)}getContext(u,f,x){const M=this.getDataset();let P;if(u>=0&&u<this._cachedMeta.data.length){const V=this._cachedMeta.data[u];P=V.$context||(V.$context=function ne(y,u,f){return(0,i.j)(y,{active:!1,dataIndex:u,parsed:void 0,raw:void 0,element:f,index:u,mode:"default",type:"data"})}(this.getContext(),u,V)),P.parsed=this.getParsed(u),P.raw=M.data[u],P.index=P.dataIndex=u}else P=this.$context||(this.$context=function _e(y,u){return(0,i.j)(y,{active:!1,dataset:void 0,datasetIndex:u,index:u,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),P.dataset=M,P.index=P.datasetIndex=this.index;return P.active=!!f,P.mode=x,P}resolveDatasetElementOptions(u){return this._resolveElementOptions(this.datasetElementType.id,u)}resolveDataElementOptions(u,f){return this._resolveElementOptions(this.dataElementType.id,f,u)}_resolveElementOptions(u,f="default",x){const M="active"===f,P=this._cachedDataOpts,V=u+"-"+f,Q=P[V],ie=this.enableOptionSharing&&(0,i.h)(x);if(Q)return Se(Q,ie);const Me=this.chart.config,Ke=Me.datasetElementScopeKeys(this._type,u),Ct=M?[`${u}Hover`,"hover",u,""]:[u,""],St=Me.getOptionScopes(this.getDataset(),Ke),kt=Object.keys(i.d.elements[u]),hn=Me.resolveNamedOptions(St,kt,()=>this.getContext(x,M),Ct);return hn.$shared&&(hn.$shared=ie,P[V]=Object.freeze(Se(hn,ie))),hn}_resolveAnimations(u,f,x){const M=this.chart,P=this._cachedDataOpts,V=`animation-${f}`,Q=P[V];if(Q)return Q;let ie;if(!1!==M.options.animation){const Ke=this.chart.config,Ct=Ke.datasetAnimationScopeKeys(this._type,f),St=Ke.getOptionScopes(this.getDataset(),Ct);ie=Ke.createResolver(St,this.getContext(u,x,f))}const Me=new C(M,ie&&ie.animations);return ie&&ie._cacheable&&(P[V]=Object.freeze(Me)),Me}getSharedOptions(u){if(u.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},u))}includeOptions(u,f){return!f||he(u)||this.chart._animationsDisabled}_getSharedOptions(u,f){const x=this.resolveDataElementOptions(u,f),M=this._sharedOptions,P=this.getSharedOptions(x),V=this.includeOptions(f,P)||P!==M;return this.updateSharedOptions(P,f,x),{sharedOptions:P,includeOptions:V}}updateElement(u,f,x,M){he(M)?Object.assign(u,x):this._resolveAnimations(f,M).update(u,x)}updateSharedOptions(u,f,x){u&&!he(f)&&this._resolveAnimations(void 0,f).update(u,x)}_setStyle(u,f,x,M){u.active=M;const P=this.getStyle(f,M);
1this._resolveAnimations(f,x,M).update(u,{options:!M&&this.getSharedOptions(P)||P})}removeHoverStyle(u,f,x){this._setStyle(u,x,"active",!1)}setHoverStyle(u,f,x){this._setStyle(u,x,"active",!0)}_removeDatasetHoverStyle(){const u=this._cachedMeta.dataset;u&&this._setStyle(u,void 0,"active",!1)}_setDatasetHoverStyle(){const u=this._cachedMeta.dataset;u&&this._setStyle(u,void 0,"active",!0)}_resyncElements(u){const f=this._data,x=this._cachedMeta.data;for(const[Q,ie,Me]of this._syncList)this[Q](ie,Me);this._syncList=[];const M=x.length,P=f.length,V=Math.min(P,M);V&&this.parse(0,V),P>M?this._insertElements(M,P-M,u):P<M&&this._removeElements(P,M-P)}_insertElements(u,f,x=!0){const M=this._cachedMeta,P=M.data,V=u+f;let Q;const ie=Me=>{for(Me.length+=f,Q=Me.length-1;Q>=V;Q--)Me[Q]=Me[Q-f]};for(ie(P),Q=u;Q<V;++Q)P[Q]=new this.dataElementType;this._parsing&&ie(M._parsed),this.parse(u,f),x&&this.updateElements(P,u,f,"reset")}updateElements(u,f,x,M){}_removeElements(u,f){const x=this._cachedMeta;if(this._parsing){const M=x._parsed.splice(u,f);x._stacked&&oe(x,M)}x.data.splice(u,f)}_sync(u){if(this._parsing)this._syncList.push(u);else{const[f,x,M]=u;this[f](x,M)}this.chart._dataChanges.push([this.index,...u])}_onDataPush(){const u=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-u,u])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(u,f){f&&this._sync(["_removeElements",u,f]);const x=arguments.length-2;x&&this._sync(["_insertElements",u,x])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function xt(y){const u=y.iScale,f=function nt(y,u){if(!y._cache.$bar){const f=y.getMatchingVisibleMetas(u);let x=[];for(let M=0,P=f.length;M<P;M++)x=x.concat(f[M].controller.getAllParsedValues(y));y._cache.$bar=(0,i._)(x.sort((M,P)=>M-P))}return y._cache.$bar}(u,y.type);let M,P,V,Q,x=u._length;const ie=()=>{32767===V||-32768===V||((0,i.h)(Q)&&(x=Math.min(x,Math.abs(V-Q)||x)),Q=V)};for(M=0,P=f.length;M<P;++M)V=u.getPixelForValue(f[M]),ie();for(Q=void 0,M=0,P=u.ticks.length;M<P;++M)V=u.getPixelForTick(M),ie();return x}function dt(y,u,f,x){return(0,i.b)(y)?function Vt(y,u,f,x){const M=f.parse(y[0],x),P=f.parse(y[1],x),V=Math.min(M,P),Q=Math.max(M,P);let ie=V,Me=Q;Math.abs(V)>Math.abs(Q)&&(ie=Q,Me=V),u[f.axis]=Me,u._custom={barStart:ie,barEnd:Me,start:M,end:P,min:V,max:Q}}(y,u,f,x):u[f.axis]=f.parse(y,x),u}function Mt(y,u,f,x){const M=y.iScale,P=y.vScale,V=M.getLabels(),Q=M===P,ie=[];let Me,Ke,Ct,St;for(Me=f,Ke=f+x;Me<Ke;++Me)St=u[Me],Ct={},Ct[M.axis]=Q||M.parse(V[Me],Me),ie.push(dt(St,Ct,P,Me));return ie}function we(y){return y&&void 0!==y.barStart&&void 0!==y.barEnd}function re(y,u,f,x){let M=u.borderSkipped;const P={};if(!M)return void(y.borderSkipped=P);if(!0===M)return void(y.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:V,end:Q,reverse:ie,top:Me,bottom:Ke}=function We(y){let u,f,x,M,P;return y.horizontal?(u=y.base>y.x,f="left",x="right"):(u=y.base<y.y,f="bottom",x="top"),u?(M="end",P="start"):(M="start",P="end"),{start:f,end:x,reverse:u,top:M,bottom:P}}(y);"middle"===M&&f&&(y.enableBorderRadius=!0,(f._top||0)===x?M=Me:(f._bottom||0)===x?M=Ke:(P[ft(Ke,V,Q,ie)]=!0,M=Me)),P[ft(M,V,Q,ie)]=!0,y.borderSkipped=P}function ft(y,u,f,x){return x?(y=function Ot(y,u,f){return y===u?f:y===f?u:y}(y,u,f),y=Et(y,f,u)):y=Et(y,u,f),y}function Et(y,u,f){return"start"===y?u:"end"===y?f:y}function Lt(y,{inflateAmount:u},f){y.inflateAmount="auto"===u?1===f?.33:0:u}Zi(ot,"defaults",{}),Zi(ot,"datasetElementType",null),Zi(ot,"dataElementType",null);class It extends ot{parsePrimitiveData(u,f,x,M){return Mt(u,f,x,M)}parseArrayData(u,f,x,M){return Mt(u,f,x,M)}parseObjectData(u,f,x,M){const{iScale:P,vScale:V}=u,{xAxisKey:Q="x",yAxisKey:ie="y"}=this._parsing,Me="x"===P.axis?Q:ie,Ke="x"===V.axis?Q:ie,Ct=[];let St,kt,on,hn;for(St=x,kt=x+M;St<kt;++St)hn=f[St],on={},on[P.axis]=P.parse((0,i.f)(hn,Me),St),Ct.push(dt((0,i.f)(hn,Ke),on,V,St));return Ct}updateRangeFromParsed(u,f,x,M){super.updateRangeFromParsed(u,f,x,M);const P=x._custom;P&&f===this._cachedMeta.vScale&&(u.min=Math.min(u.min,P.min),u.max=Math.max(u.max,P.max))}getMaxOverflow(){return 0}getLabelAndValue(u){const f=this._cachedMeta,{iScale:x,vScale:M}=f,P=this.getParsed(u),V=P._custom,Q=we(V)?"["+V.start+", "+V.end+"]":""+M.getLabelForValue(P[M.axis]);return{label:""+x.getLabelForValue(P[x.axis]),value:Q}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(u){const f=this._cachedMeta;this.updateElements(f.data,0,f.data.length,u)}updateElements(u,f,x,M){const P="reset"===M,{index:V,_cachedMeta:{vScale:Q}}=this,ie=Q.getBasePixel(),Me=Q.isHorizontal(),Ke=this._getRuler(),{sharedOptions:Ct,includeOptions:St}=this._getSharedOptions(f,M);for(let kt=f;kt<f+x;kt++){const on=this.getParsed(kt),hn=P||(0,i.k)(on[Q.axis])?{base:ie,head:ie}:this._calculateBarValuePixels(kt),On=this._calculateBarIndexPixels(kt,Ke),Sn=(on._stacks||{})[Q.axis],Un={horizontal:Me,base:hn.base,enableBorderRadius:!Sn||we(on._custom)||V===Sn._top||
1V===Sn._bottom,x:Me?hn.head:On.center,y:Me?On.center:hn.head,height:Me?On.size:Math.abs(hn.size),width:Me?Math.abs(hn.size):On.size};St&&(Un.options=Ct||this.resolveDataElementOptions(kt,u[kt].active?"active":M));const oi=Un.options||u[kt].options;re(Un,oi,Sn,V),Lt(Un,oi,Ke.ratio),this.updateElement(u[kt],kt,Un,M)}}_getStacks(u,f){const{iScale:x}=this._cachedMeta,M=x.getMatchingVisibleMetas(this._type).filter(ie=>ie.controller.options.grouped),P=x.options.stacked,V=[],Q=ie=>{const Me=ie.controller.getParsed(f),Ke=Me&&Me[ie.vScale.axis];if((0,i.k)(Ke)||isNaN(Ke))return!0};for(const ie of M)if((void 0===f||!Q(ie))&&((!1===P||-1===V.indexOf(ie.stack)||void 0===P&&void 0===ie.stack)&&V.push(ie.stack),ie.index===u))break;return V.length||V.push(void 0),V}_getStackCount(u){return this._getStacks(void 0,u).length}_getStackIndex(u,f,x){const M=this._getStacks(u,x),P=void 0!==f?M.indexOf(f):-1;return-1===P?M.length-1:P}_getRuler(){const u=this.options,f=this._cachedMeta,x=f.iScale,M=[];let P,V;for(P=0,V=f.data.length;P<V;++P)M.push(x.getPixelForValue(this.getParsed(P)[x.axis],P));const Q=u.barThickness;return{min:Q||xt(f),pixels:M,start:x._startPixel,end:x._endPixel,stackCount:this._getStackCount(),scale:x,grouped:u.grouped,ratio:Q?1:u.categoryPercentage*u.barPercentage}}_calculateBarValuePixels(u){const{_cachedMeta:{vScale:f,_stacked:x},options:{base:M,minBarLength:P}}=this,V=M||0,Q=this.getParsed(u),ie=Q._custom,Me=we(ie);let kt,on,Ke=Q[f.axis],Ct=0,St=x?this.applyStack(f,Q,x):Ke;St!==Ke&&(Ct=St-Ke,St=Ke),Me&&(Ke=ie.barStart,St=ie.barEnd-ie.barStart,0!==Ke&&(0,i.s)(Ke)!==(0,i.s)(ie.barEnd)&&(Ct=0),Ct+=Ke);const hn=(0,i.k)(M)||Me?Ct:M;let On=f.getPixelForValue(hn);if(kt=this.chart.getDataVisibility(u)?f.getPixelForValue(Ct+St):On,on=kt-On,Math.abs(on)<P){on=function me(y,u,f){return 0!==y?(0,i.s)(y):(u.isHorizontal()?1:-1)*(u.min>=f?1:-1)}(on,f,V)*P,Ke===V&&(On-=on/2);const Sn=f.getPixelForDecimal(0),Un=f.getPixelForDecimal(1),oi=Math.min(Sn,Un),Xn=Math.max(Sn,Un);On=Math.max(Math.min(On,Xn),oi),kt=On+on}if(On===f.getPixelForValue(V)){const Sn=(0,i.s)(on)*f.getLineWidthForValue(V)/2;On+=Sn,on-=Sn}return{size:on,base:On,head:kt,center:kt+on/2}}_calculateBarIndexPixels(u,f){const x=f.scale,M=this.options,P=M.skipNull,V=(0,i.v)(M.maxBarThickness,1/0);let Q,ie;if(f.grouped){const Me=P?this._getStackCount(u):f.stackCount,Ke="flex"===M.barThickness?function Qt(y,u,f,x){const M=u.pixels,P=M[y];let V=y>0?M[y-1]:null,Q=y<M.length-1?M[y+1]:null;const ie=f.categoryPercentage;null===V&&(V=P-(null===Q?u.end-u.start:Q-P)),null===Q&&(Q=P+P-V);const Me=P-(P-Math.min(V,Q))/2*ie;return{chunk:Math.abs(Q-V)/2*ie/x,ratio:f.barPercentage,start:Me}}(u,f,M,Me):function At(y,u,f,x){const M=f.barThickness;let P,V;return(0,i.k)(M)?(P=u.min*f.categoryPercentage,V=f.barPercentage):(P=M*x,V=1),{chunk:P/x,ratio:V,start:u.pixels[y]-P/2}}(u,f,M,Me),Ct=this._getStackIndex(this.index,this._cachedMeta.stack,P?u:void 0);Q=Ke.start+Ke.chunk*Ct+Ke.chunk/2,ie=Math.min(V,Ke.chunk*Ke.ratio)}else Q=x.getPixelForValue(this.getParsed(u)[x.axis],u),ie=Math.min(V,f.min*f.ratio);return{base:Q-ie/2,head:Q+ie/2,center:Q,size:ie}}draw(){const u=this._cachedMeta,f=u.vScale,x=u.data,M=x.length;let P=0;for(;P<M;++P)null!==this.getParsed(P)[f.axis]&&x[P].draw(this._ctx)}}Zi(It,"id","bar"),Zi(It,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),Zi(It,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class it extends ot{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(u,f,x,M){const P=super.parsePrimitiveData(u,f,x,M);for(let V=0;V<P.length;V++)P[V]._custom=this.resolveDataElementOptions(V+x).radius;return P}parseArrayData(u,f,x,M){const P=super.parseArrayData(u,f,x,M);for(let V=0;V<P.length;V++)P[V]._custom=(0,i.v)(f[x+V][2],this.resolveDataElementOptions(V+x).radius);return P}parseObjectData(u,f,x,M){const P=super.parseObjectData(u,f,x,M);for(let V=0;V<P.length;V++){const Q=f[x+V];P[V]._custom=(0,i.v)(Q&&Q.r&&+Q.r,this.resolveDataElementOptions(V+x).radius)}return P}getMaxOverflow(){const u=this._cachedMeta.data;let f=0;for(let x=u.length-1;x>=0;--x)f=Math.max(f,u[x].size(this.resolveDataElementOptions(x))/2);return f>0&&f}getLabelAndValue(u){const f=this._cachedMeta,x=this.chart.data.labels||[],{xScale:M,yScale:P}=f,V=this.getParsed(u),Q=M.getLabelForValue(V.x),ie=P.getLabelForValue(V.y),Me=V._custom;return{label:x[u]||"",value:"("+Q+", "+ie+(Me?", "+Me:"")+")"}}update(u){const f=this._cachedMeta.data;this.updateElements(f,0,f.length,u)}updateElements(u,f,x,M){const P="reset"===M,{iScale:V,vScale:Q}=this._cachedMeta,{sharedOptions:ie,includeOptions:Me}=this._getSharedOptions(f,M),Ke=V.axis,Ct=Q.axis;for(let St=f;St<f+x;St++){const kt=u[St],on=!P&&this.getParsed(St),hn={},On=hn[Ke]=P?V.getPixelForDecimal(.5):V.getPixelForValue(on[Ke]),Sn=hn[Ct]=P?Q.getBasePixel():Q.getPixelForValue(on[Ct]);hn.skip=isNaN(On)||isNaN(Sn),Me&&(hn.options=ie||this.resolveDataElementOptions(St,kt.active?"active":M),P&&(hn.options.radius=0)),this.updateElement(kt,St,hn,M)}}resolveDataElementOptions(u,f){const x=this.getParsed(u);let M=super.resolveDataElementOptions(u,f);M.$shared&&(M=Object.assign({},M,{$shared:!1}));const P=M.radius;return"active"!==f&&(M.radius=0),M.radius+=(0,i.v)(x&&x._custom,P),M}}Zi(it,"id","bubble"),Zi(it,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),Zi(it,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});class le extends ot{constructor(u,f){super(u,f),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(u,f){const x=this.getDataset().data,M=this._cachedMeta;if(!1===this._parsing)M._parsed=x;else{let V,Q,P=ie=>+x[ie];if((0,i.i)(x[u])){const{key:ie="value"}=this._parsing;P=Me=>+(0,i.f)(x[Me],ie)}for(V=u,Q=u+f;V<Q;++V)M._parsed[V]=P(V)}}_getRotation(){return(0,i.t)(this.options.rotation-90)}_getCircumference(){return(0,i.t)(this.options.circumference)}
1_getRotationExtents(){let u=i.T,f=-i.T;for(let x=0;x<this.chart.data.datasets.length;++x)if(this.chart.isDatasetVisible(x)&&this.chart.getDatasetMeta(x).type===this._type){const M=this.chart.getDatasetMeta(x).controller,P=M._getRotation(),V=M._getCircumference();u=Math.min(u,P),f=Math.max(f,P+V)}return{rotation:u,circumference:f-u}}update(u){const f=this.chart,{chartArea:x}=f,M=this._cachedMeta,P=M.data,V=this.getMaxBorderWidth()+this.getMaxOffset(P)+this.options.spacing,Q=Math.max((Math.min(x.width,x.height)-V)/2,0),ie=Math.min((0,i.m)(this.options.cutout,Q),1),Me=this._getRingWeight(this.index),{circumference:Ke,rotation:Ct}=this._getRotationExtents(),{ratioX:St,ratioY:kt,offsetX:on,offsetY:hn}=function wt(y,u,f){let x=1,M=1,P=0,V=0;if(u<i.T){const Q=y,ie=Q+u,Me=Math.cos(Q),Ke=Math.sin(Q),Ct=Math.cos(ie),St=Math.sin(ie),kt=(oi,Xn,Jn)=>(0,i.p)(oi,Q,ie,!0)?1:Math.max(Xn,Xn*f,Jn,Jn*f),on=(oi,Xn,Jn)=>(0,i.p)(oi,Q,ie,!0)?-1:Math.min(Xn,Xn*f,Jn,Jn*f),hn=kt(0,Me,Ct),On=kt(i.H,Ke,St),Sn=on(i.P,Me,Ct),Un=on(i.P+i.H,Ke,St);x=(hn-Sn)/2,M=(On-Un)/2,P=-(hn+Sn)/2,V=-(On+Un)/2}return{ratioX:x,ratioY:M,offsetX:P,offsetY:V}}(Ct,Ke,ie),Un=Math.max(Math.min((x.width-V)/St,(x.height-V)/kt)/2,0),oi=(0,i.n)(this.options.radius,Un),Jn=(oi-Math.max(oi*ie,0))/this._getVisibleDatasetWeightTotal();this.offsetX=on*oi,this.offsetY=hn*oi,M.total=this.calculateTotal(),this.outerRadius=oi-Jn*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-Jn*Me,0),this.updateElements(P,0,P.length,u)}_circumference(u,f){const x=this.options,M=this._cachedMeta,P=this._getCircumference();return f&&x.animation.animateRotate||!this.chart.getDataVisibility(u)||null===M._parsed[u]||M.data[u].hidden?0:this.calculateCircumference(M._parsed[u]*P/i.T)}updateElements(u,f,x,M){const P="reset"===M,V=this.chart,Q=V.chartArea,Ke=(Q.left+Q.right)/2,Ct=(Q.top+Q.bottom)/2,St=P&&V.options.animation.animateScale,kt=St?0:this.innerRadius,on=St?0:this.outerRadius,{sharedOptions:hn,includeOptions:On}=this._getSharedOptions(f,M);let Un,Sn=this._getRotation();for(Un=0;Un<f;++Un)Sn+=this._circumference(Un,P);for(Un=f;Un<f+x;++Un){const oi=this._circumference(Un,P),Xn=u[Un],Jn={x:Ke+this.offsetX,y:Ct+this.offsetY,startAngle:Sn,endAngle:Sn+oi,circumference:oi,outerRadius:on,innerRadius:kt};On&&(Jn.options=hn||this.resolveDataElementOptions(Un,Xn.active?"active":M)),Sn+=oi,this.updateElement(Xn,Un,Jn,M)}}calculateTotal(){const u=this._cachedMeta,f=u.data;let M,x=0;for(M=0;M<f.length;M++){const P=u._parsed[M];null!==P&&!isNaN(P)&&this.chart.getDataVisibility(M)&&!f[M].hidden&&(x+=Math.abs(P))}return x}calculateCircumference(u){const f=this._cachedMeta.total;return f>0&&!isNaN(u)?i.T*(Math.abs(u)/f):0}getLabelAndValue(u){const x=this.chart,M=x.data.labels||[],P=(0,i.o)(this._cachedMeta._parsed[u],x.options.locale);return{label:M[u]||"",value:P}}getMaxBorderWidth(u){let f=0;const x=this.chart;let M,P,V,Q,ie;if(!u)for(M=0,P=x.data.datasets.length;M<P;++M)if(x.isDatasetVisible(M)){V=x.getDatasetMeta(M),u=V.data,Q=V.controller;break}if(!u)return 0;for(M=0,P=u.length;M<P;++M)ie=Q.resolveDataElementOptions(M),"inner"!==ie.borderAlign&&(f=Math.max(f,ie.borderWidth||0,ie.hoverBorderWidth||0));return f}getMaxOffset(u){let f=0;for(let x=0,M=u.length;x<M;++x){const P=this.resolveDataElementOptions(x);f=Math.max(f,P.offset||0,P.hoverOffset||0)}return f}_getRingWeightOffset(u){let f=0;for(let x=0;x<u;++x)this.chart.isDatasetVisible(x)&&(f+=this._getRingWeight(x));return f}_getRingWeight(u){return Math.max((0,i.v)(this.chart.data.datasets[u].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Zi(le,"id","doughnut"),Zi(le,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),Zi(le,"descriptors",{_scriptable:u=>"spacing"!==u,_indexable:u=>"spacing"!==u}),Zi(le,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(u){const f=u.data;if(f.labels.length&&f.datasets.length){const{labels:{pointStyle:x,color:M}}=u.legend.options;return f.labels.map((P,V)=>{const ie=u.getDatasetMeta(0).controller.getStyle(V);return{text:P,fillStyle:ie.backgroundColor,strokeStyle:ie.borderColor,fontColor:M,lineWidth:ie.borderWidth,pointStyle:x,hidden:!u.getDataVisibility(V),index:V}})}return[]}},onClick(u,f,x){x.chart.toggleDataVisibility(f.index),x.chart.update(
1)}}}});class Ne extends ot{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(u){const f=this._cachedMeta,{dataset:x,data:M=[],_dataset:P}=f,V=this.chart._animationsDisabled;let{start:Q,count:ie}=(0,i.q)(f,M,V);this._drawStart=Q,this._drawCount=ie,(0,i.w)(f)&&(Q=0,ie=M.length),x._chart=this.chart,x._datasetIndex=this.index,x._decimated=!!P._decimated,x.points=M;const Me=this.resolveDatasetElementOptions(u);this.options.showLine||(Me.borderWidth=0),Me.segment=this.options.segment,this.updateElement(x,void 0,{animated:!V,options:Me},u),this.updateElements(M,Q,ie,u)}updateElements(u,f,x,M){const P="reset"===M,{iScale:V,vScale:Q,_stacked:ie,_dataset:Me}=this._cachedMeta,{sharedOptions:Ke,includeOptions:Ct}=this._getSharedOptions(f,M),St=V.axis,kt=Q.axis,{spanGaps:on,segment:hn}=this.options,On=(0,i.x)(on)?on:Number.POSITIVE_INFINITY,Sn=this.chart._animationsDisabled||P||"none"===M,Un=f+x,oi=u.length;let Xn=f>0&&this.getParsed(f-1);for(let Jn=0;Jn<oi;++Jn){const pi=u[Jn],vi=Sn?pi:{};if(Jn<f||Jn>=Un){vi.skip=!0;continue}const yi=this.getParsed(Jn),ro=(0,i.k)(yi[kt]),Mo=vi[St]=V.getPixelForValue(yi[St],Jn),Yi=vi[kt]=P||ro?Q.getBasePixel():Q.getPixelForValue(ie?this.applyStack(Q,yi,ie):yi[kt],Jn);vi.skip=isNaN(Mo)||isNaN(Yi)||ro,vi.stop=Jn>0&&Math.abs(yi[St]-Xn[St])>On,hn&&(vi.parsed=yi,vi.raw=Me.data[Jn]),Ct&&(vi.options=Ke||this.resolveDataElementOptions(Jn,pi.active?"active":M)),Sn||this.updateElement(pi,Jn,vi,M),Xn=yi}}getMaxOverflow(){const u=this._cachedMeta,f=u.dataset,x=f.options&&f.options.borderWidth||0,M=u.data||[];if(!M.length)return x;const P=M[0].size(this.resolveDataElementOptions(0)),V=M[M.length-1].size(this.resolveDataElementOptions(M.length-1));return Math.max(x,P,V)/2}draw(){const u=this._cachedMeta;u.dataset.updateControlPoints(this.chart.chartArea,u.iScale.axis),super.draw()}}Zi(Ne,"id","line"),Zi(Ne,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),Zi(Ne,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class Ut extends ot{constructor(u,f){super(u,f),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(u){const x=this.chart,M=x.data.labels||[],P=(0,i.o)(this._cachedMeta._parsed[u].r,x.options.locale);return{label:M[u]||"",value:P}}parseObjectData(u,f,x,M){return i.y.bind(this)(u,f,x,M)}update(u){const f=this._cachedMeta.data;this._updateRadius(),this.updateElements(f,0,f.length,u)}getMinMax(){const f={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((x,M)=>{const P=this.getParsed(M).r;!isNaN(P)&&this.chart.getDataVisibility(M)&&(P<f.min&&(f.min=P),P>f.max&&(f.max=P))}),f}_updateRadius(){const u=this.chart,f=u.chartArea,x=u.options,M=Math.min(f.right-f.left,f.bottom-f.top),P=Math.max(M/2,0),Q=(P-Math.max(x.cutoutPercentage?P/100*x.cutoutPercentage:1,0))/u.getVisibleDatasetCount();this.outerRadius=P-Q*this.index,this.innerRadius=this.outerRadius-Q}updateElements(u,f,x,M){const P="reset"===M,V=this.chart,ie=V.options.animation,Me=this._cachedMeta.rScale,Ke=Me.xCenter,Ct=Me.yCenter,St=Me.getIndexAngle(0)-.5*i.P;let on,kt=St;const hn=360/this.countVisibleElements();for(on=0;on<f;++on)kt+=this._computeAngle(on,M,hn);for(on=f;on<f+x;on++){const On=u[on];let Sn=kt,Un=kt+this._computeAngle(on,M,hn),oi=V.getDataVisibility(on)?Me.getDistanceFromCenterForValue(this.getParsed(on).r):0;kt=Un,P&&(ie.animateScale&&(oi=0),ie.animateRotate&&(Sn=Un=St));const Xn={x:Ke,y:Ct,innerRadius:0,outerRadius:oi,startAngle:Sn,endAngle:Un,options:this.resolveDataElementOptions(on,On.active?"active":M)};this.updateElement(On,on,Xn,M)}}countVisibleElements(){let f=0;return this._cachedMeta.data.forEach((x,M)=>{!isNaN(this.getParsed(M).r)&&this.chart.getDataVisibility(M)&&f++}),f}_computeAngle(u,f,x){return this.chart.getDataVisibility(u)?(0,i.t)(this.resolveDataElementOptions(u,f).angle||x):0}}Zi(Ut,"id","polarArea"),Zi(Ut,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),Zi(Ut,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(u){const f=u.data;if(f.labels.length&&f.datasets.length){const{labels:{pointStyle:x,color:M}}=u.legend.options;return f.labels.map((P,V)=>{const ie=u.getDatasetMeta(0).controller.getStyle(V);return{text:P,fillStyle:ie.backgroundColor,strokeStyle:ie.borderColor,fontColor:M,lineWidth:ie.borderWidth,pointStyle:x,hidden:!u.getDataVisibility(V),index:V}})}return[]}},onClick(u,f,x){x.chart.toggleDataVisibility(f.index),x.chart.update(
1)}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class pn extends le{}Zi(pn,"id","pie"),Zi(pn,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class Dn extends ot{getLabelAndValue(u){const f=this._cachedMeta.vScale,x=this.getParsed(u);return{label:f.getLabels()[u],value:""+f.getLabelForValue(x[f.axis])}}parseObjectData(u,f,x,M){return i.y.bind(this)(u,f,x,M)}update(u){const f=this._cachedMeta,x=f.dataset,M=f.data||[],P=f.iScale.getLabels();if(x.points=M,"resize"!==u){const V=this.resolveDatasetElementOptions(u);this.options.showLine||(V.borderWidth=0),this.updateElement(x,void 0,{_loop:!0,_fullLoop:P.length===M.length,options:V},u)}this.updateElements(M,0,M.length,u)}updateElements(u,f,x,M){const P=this._cachedMeta.rScale,V="reset"===M;for(let Q=f;Q<f+x;Q++){const ie=u[Q],Me=this.resolveDataElementOptions(Q,ie.active?"active":M),Ke=P.getPointPositionForValue(Q,this.getParsed(Q).r),Ct=V?P.xCenter:Ke.x,St=V?P.yCenter:Ke.y,kt={x:Ct,y:St,angle:Ke.angle,skip:isNaN(Ct)||isNaN(St),options:Me};this.updateElement(ie,Q,kt,M)}}}Zi(Dn,"id","radar"),Zi(Dn,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),Zi(Dn,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class Mn extends ot{getLabelAndValue(u){const f=this._cachedMeta,x=this.chart.data.labels||[],{xScale:M,yScale:P}=f,V=this.getParsed(u),Q=M.getLabelForValue(V.x),ie=P.getLabelForValue(V.y);return{label:x[u]||"",value:"("+Q+", "+ie+")"}}update(u){const f=this._cachedMeta,{data:x=[]}=f,M=this.chart._animationsDisabled;let{start:P,count:V}=(0,i.q)(f,x,M);if(this._drawStart=P,this._drawCount=V,(0,i.w)(f)&&(P=0,V=x.length),this.options.showLine){const{dataset:Q,_dataset:ie}=f;Q._chart=this.chart,Q._datasetIndex=this.index,Q._decimated=!!ie._decimated,Q.points=x;const Me=this.resolveDatasetElementOptions(u);Me.segment=this.options.segment,this.updateElement(Q,void 0,{animated:!M,options:Me},u)}this.updateElements(x,P,V,u)}addElements(){const{showLine:u}=this.options;!this.datasetElementType&&u&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(u,f,x,M){const P="reset"===M,{iScale:V,vScale:Q,_stacked:ie,_dataset:Me}=this._cachedMeta,Ke=this.resolveDataElementOptions(f,M),Ct=this.getSharedOptions(Ke),St=this.includeOptions(M,Ct),kt=V.axis,on=Q.axis,{spanGaps:hn,segment:On}=this.options,Sn=(0,i.x)(hn)?hn:Number.POSITIVE_INFINITY,Un=this.chart._animationsDisabled||P||"none"===M;let oi=f>0&&this.getParsed(f-1);for(let Xn=f;Xn<f+x;++Xn){const Jn=u[Xn],pi=this.getParsed(Xn),vi=Un?Jn:{},yi=(0,i.k)(pi[on]),ro=vi[kt]=V.getPixelForValue(pi[kt],Xn),Mo=vi[on]=P||yi?Q.getBasePixel():Q.getPixelForValue(ie?this.applyStack(Q,pi,ie):pi[on],Xn);vi.skip=isNaN(ro)||isNaN(Mo)||yi,vi.stop=Xn>0&&Math.abs(pi[kt]-oi[kt])>Sn,On&&(vi.parsed=pi,vi.raw=Me.data[Xn]),St&&(vi.options=Ct||this.resolveDataElementOptions(Xn,Jn.active?"active":M)),Un||this.updateElement(Jn,Xn,vi,M),oi=pi}this.updateSharedOptions(Ct,M,Ke)}getMaxOverflow(){const u=this._cachedMeta,f=u.data||[];if(!this.options.showLine){let Q=0;for(let ie=f.length-1;ie>=0;--ie)Q=Math.max(Q,f[ie].size(this.resolveDataElementOptions(ie))/2);return Q>0&&Q}const x=u.dataset,M=x.options&&x.options.borderWidth||0;if(!f.length)return M;const P=f[0].size(this.resolveDataElementOptions(0)),V=f[f.length-1].size(this.resolveDataElementOptions(f.length-1));return Math.max(M,P,V)/2}}Zi(Mn,"id","scatter"),Zi(Mn,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),Zi(Mn,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var rn=Object.freeze({__proto__:null,BarController:It,BubbleController:it,DoughnutController:le,LineController:Ne,PolarAreaController:Ut,PieController:pn,RadarController:Dn,ScatterController:Mn});function Ue(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Je{static override(u){Object.assign(Je.prototype,u)}constructor(u){this.options=u||{}}init(){}formats(){return Ue()}parse(){return Ue()}format(){return Ue()}add(){return Ue()}diff(){return Ue()}startOf(){return Ue()}endOf(){return Ue()}}var De={_date:Je};function at(y,u,f,x){const{controller:M,data:P,_sorted:V}=y,Q=M._cachedMeta.iScale;if(Q&&u===Q.axis&&"r"!==u&&V&&P.length){const ie=Q._reversePixels?i.A:i.B;if(!x)return ie(P,u,f);if(M._sharedOptions){const Me=P[0],Ke="function"==typeof Me.getRange&&Me.getRange(u);if(Ke){const Ct=ie(P,u,f-Ke),St=ie(P,u,f+Ke);return{lo:Ct.lo,hi:St.hi}}}}return{lo:0,hi:P.length-1}}function Ve(y,u,f,x,M){const P=y.getSortedVisibleDatasetMetas(),V=f[u];for(let Q=0,ie=P.length;Q<ie;++Q){const{index:Me,data:Ke}=P[Q],{lo:Ct,hi:St}=at(P[Q],u,V,M);for(let kt=Ct;kt<=St;++kt){const on=Ke[kt];on.skip||x(on,Me,kt)}}}function et(y,u,f,x,M){const P=[];return!M&&!y.isPointInArea(u)||Ve(y,f,u,function(Q,ie,Me){!M&&!(0,i.C)(Q,y.chartArea,0)||Q.inRange(u.x,u.y,x)&&P.push({element:Q,datasetIndex:ie,index:Me})},!0),P}function Xt(y,u,f,x,M,P){return P||y.isPointInArea(u)?"r"!==f||x?function jt(y,u,f,x,M,P){let V=[];const Q=function ge(y){const u=-1!==y.indexOf("x"),f=-1!==y.indexOf("y");return function(x,M){const P=u?Math.abs(x.x-M.x):0,V=f?Math.abs(x.y-M.y):0;return Math.sqrt(Math.pow(P,2)+Math.pow(V,2))}}(f);let ie=Number.POSITIVE_INFINITY;return Ve(y,f,u,function Me(Ke,Ct,St){const kt=Ke.inRange(u.x,u.y,M);if(x&&!kt)return;const on=Ke.getCenterPoint(M);if(!P&&!y.isPointInArea(on)&&!kt)return;const On=Q(u,on);On<ie?(V=[{element:Ke,datasetIndex:Ct,index:St}],ie=On):On===ie&&V.push({element:Ke,datasetIndex:Ct,index:St})}),V}(y,u,f,x,M,P):function _t(y,u,f,x){let M=[];return Ve(y,f,u,function P(V,Q,ie){const{startAngle:Me,endAngle:Ke}=V.getProps(["startAngle","endAngle"],x),{angle:Ct}=(0,i.D)(V,{x:u.x,y:u.y});(0,i.p)(Ct,Me,Ke)&&M.push({element:V,datasetIndex:Q,index:ie})}),M}(y,u,f,M):[]}function Cn(y,u,f,x,M){const P=[],V="x"===f?"inXRange":"inYRange";let Q=!1;return Ve(y,f,u,(ie,Me,Ke)=>{ie[V](u[f],M)&&(P.push({element:ie,datasetIndex:Me,index:Ke}),Q=Q||ie.inRange(u.x,u.y,M))}),x&&!Q?[]:P}var Hn={evaluateInteractionItems:Ve,modes:{index(y,u,f,x){const M=(0,i.z)(u,y),P=f.axis||"x",V=f.includeInvisible||!1,Q=f.intersect?et(y,M,P,x,V):Xt(y,M,P,!1,x,V),ie=[];
1return Q.length?(y.getSortedVisibleDatasetMetas().forEach(Me=>{const Ke=Q[0].index,Ct=Me.data[Ke];Ct&&!Ct.skip&&ie.push({element:Ct,datasetIndex:Me.index,index:Ke})}),ie):[]},dataset(y,u,f,x){const M=(0,i.z)(u,y),P=f.axis||"xy",V=f.includeInvisible||!1;let Q=f.intersect?et(y,M,P,x,V):Xt(y,M,P,!1,x,V);if(Q.length>0){const ie=Q[0].datasetIndex,Me=y.getDatasetMeta(ie).data;Q=[];for(let Ke=0;Ke<Me.length;++Ke)Q.push({element:Me[Ke],datasetIndex:ie,index:Ke})}return Q},point:(y,u,f,x)=>et(y,(0,i.z)(u,y),f.axis||"xy",x,f.includeInvisible||!1),nearest:(y,u,f,x)=>Xt(y,(0,i.z)(u,y),f.axis||"xy",f.intersect,x,f.includeInvisible||!1),x:(y,u,f,x)=>Cn(y,(0,i.z)(u,y),"x",f.intersect,x),y:(y,u,f,x)=>Cn(y,(0,i.z)(u,y),"y",f.intersect,x)}};const Kn=["left","top","right","bottom"];function Bn(y,u){return y.filter(f=>f.pos===u)}function di(y,u){return y.filter(f=>-1===Kn.indexOf(f.pos)&&f.box.axis===u)}function ui(y,u){return y.sort((f,x)=>{const M=u?x:f,P=u?f:x;return M.weight===P.weight?M.index-P.index:M.weight-P.weight})}function Vi(y,u,f,x){return Math.max(y[f],u[f])+Math.max(y[x],u[x])}function gt(y,u){y.top=Math.max(y.top,u.top),y.left=Math.max(y.left,u.left),y.bottom=Math.max(y.bottom,u.bottom),y.right=Math.max(y.right,u.right)}function He(y,u,f,x){const{pos:M,box:P}=f,V=y.maxPadding;if(!(0,i.i)(M)){f.size&&(y[M]-=f.size);const Ct=x[f.stack]||{size:0,count:1};Ct.size=Math.max(Ct.size,f.horizontal?P.height:P.width),f.size=Ct.size/Ct.count,y[M]+=f.size}P.getPadding&&gt(V,P.getPadding());const Q=Math.max(0,u.outerWidth-Vi(V,y,"left","right")),ie=Math.max(0,u.outerHeight-Vi(V,y,"top","bottom")),Me=Q!==y.w,Ke=ie!==y.h;return y.w=Q,y.h=ie,f.horizontal?{same:Me,other:Ke}:{same:Ke,other:Me}}function pt(y,u){const f=u.maxPadding;return function x(M){const P={left:0,top:0,right:0,bottom:0};return M.forEach(V=>{P[V]=Math.max(u[V],f[V])}),P}(y?["left","right"]:["top","bottom"])}function Ft(y,u,f,x){const M=[];let P,V,Q,ie,Me,Ke;for(P=0,V=y.length,Me=0;P<V;++P){Q=y[P],ie=Q.box,ie.update(Q.width||u.w,Q.height||u.h,pt(Q.horizontal,u));const{same:Ct,other:St}=He(u,f,Q,x);Me|=Ct&&M.length,Ke=Ke||St,ie.fullSize||M.push(Q)}return Me&&Ft(M,u,f,x)||Ke}function fn(y,u,f,x,M){y.top=f,y.left=u,y.right=u+x,y.bottom=f+M,y.width=x,y.height=M}function Zn(y,u,f,x){const M=f.padding;let{x:P,y:V}=u;for(const Q of y){const ie=Q.box,Me=x[Q.stack]||{count:1,placed:0,weight:1},Ke=Q.stackWeight/Me.weight||1;if(Q.horizontal){const Ct=u.w*Ke,St=Me.size||ie.height;(0,i.h)(Me.start)&&(V=Me.start),ie.fullSize?fn(ie,M.left,V,f.outerWidth-M.right-M.left,St):fn(ie,u.left+Me.placed,V,Ct,St),Me.start=V,Me.placed+=Ct,V=ie.bottom}else{const Ct=u.h*Ke,St=Me.size||ie.width;(0,i.h)(Me.start)&&(P=Me.start),ie.fullSize?fn(ie,P,M.top,St,f.outerHeight-M.bottom-M.top):fn(ie,P,u.top+Me.placed,St,Ct),Me.start=P,Me.placed+=Ct,P=ie.right}}u.x=P,u.y=V}var ni={addBox(y,u){y.boxes||(y.boxes=[]),u.fullSize=u.fullSize||!1,u.position=u.position||"top",u.weight=u.weight||0,u._layers=u._layers||function(){return[{z:0,draw(f){u.draw(f)}}]},y.boxes.push(u)},removeBox(y,u){const f=y.boxes?y.boxes.indexOf(u):-1;-1!==f&&y.boxes.splice(f,1)},configure(y,u,f){u.fullSize=f.fullSize,u.position=f.position,u.weight=f.weight},update(y,u,f,x){if(!y)return;const M=(0,i.E)(y.options.layout.padding),P=Math.max(u-M.width,0),V=Math.max(f-M.height,0),Q=function ei(y){const u=function Di(y){const u=[];let f,x,M,P,V,Q;for(f=0,x=(y||[]).length;f<x;++f)M=y[f],({position:P,options:{stack:V,stackWeight:Q=1}}=M),u.push({index:f,box:M,pos:P,horizontal:M.isHorizontal(),weight:M.weight,stack:V&&P+V,stackWeight:Q});return u}(y),f=ui(u.filter(Me=>Me.box.fullSize),!0),x=ui(Bn(u,"left"),!0),M=ui(Bn(u,"right")),P=ui(Bn(u,"top"),!0),V=ui(Bn(u,"bottom")),Q=di(u,"x"),ie=di(u,"y");return{fullSize:f,leftAndTop:x.concat(P),rightAndBottom:M.concat(ie).concat(V).concat(Q),chartArea:Bn(u,"chartArea"),vertical:x.concat(M).concat(ie),horizontal:P.concat(V).concat(Q)}}(y.boxes),ie=Q.vertical,Me=Q.horizontal;(0,i.F)(y.boxes,hn=>{"function"==typeof hn.beforeLayout&&hn.beforeLayout()});const Ke=ie.reduce((hn,On)=>On.box.options&&!1===On.box.options.display?hn:hn+1,0)||1,Ct=Object.freeze({outerWidth:u,outerHeight:f,padding:M,availableWidth:P,availableHeight:V,vBoxMaxWidth:P/2/Ke,hBoxMaxHeight:V/2}),St=Object.assign({},M);gt(St,(0,i.E)(x));const kt=Object.assign({maxPadding:St,w:P,h:V,x:M.left,y:M.top},M),on=function Fn(y,u){const f=function In(y){const u={};for(const f of y){const{stack:x,pos:M,stackWeight:P}=f;if(!x||!Kn.includes(M))continue;const V=u[x]||(u[x]={count:0,placed:0,weight:0,size:0});V.count++,V.weight+=P}return u}(y),{vBoxMaxWidth:x,hBoxMaxHeight:M}=u;let P,V,Q;for(P=0,V=y.length;P<V;++P){Q=y[P];const{fullSize:ie}=Q.box,Me=f[Q.stack],Ke=Me&&Q.stackWeight/Me.weight;Q.horizontal?(Q.width=Ke?Ke*x:ie&&u.availableWidth,Q.height=M):(Q.width=x,Q.height=Ke?Ke*M:ie&&u.availableHeight)}return f}(ie.concat(Me),Ct);Ft(Q.fullSize,kt,Ct,on),Ft(ie,kt,Ct,on),Ft(Me,kt,Ct,on)&&Ft(ie,kt,Ct,on),function Oe(y){const u=y.maxPadding;function f(x){const M=Math.max(u[x]-y[x],0);return y[x]+=M,M}y.y+=f("top"),y.x+=f("left"),f("right"),f("bottom")}
1(kt),Zn(Q.leftAndTop,kt,Ct,on),kt.x+=kt.w,kt.y+=kt.h,Zn(Q.rightAndBottom,kt,Ct,on),y.chartArea={left:kt.left,top:kt.top,right:kt.left+kt.w,bottom:kt.top+kt.h,height:kt.h,width:kt.w},(0,i.F)(Q.chartArea,hn=>{const On=hn.box;Object.assign(On,y.chartArea),On.update(kt.w,kt.h,{left:0,top:0,right:0,bottom:0})})}};class ln{acquireContext(u,f){}releaseContext(u){return!1}addEventListener(u,f,x){}removeEventListener(u,f,x){}getDevicePixelRatio(){return 1}getMaximumSize(u,f,x,M){return f=Math.max(0,f||u.width),x=x||u.height,{width:f,height:Math.max(0,M?Math.floor(f/M):x)}}isAttached(u){return!0}updateConfig(u){}}class An extends ln{acquireContext(u){return u&&u.getContext&&u.getContext("2d")||null}updateConfig(u){u.options.animation=!1}}const bt="$chartjs",Xe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},st=y=>null===y||""===y,$t=!!i.K&&{passive:!0};function $n(y,u,f){y.canvas.removeEventListener(u,f,$t)}function Fi(y,u){for(const f of y)if(f===u||f.contains(u))return!0}function co(y,u,f){const x=y.canvas,M=new MutationObserver(P=>{let V=!1;for(const Q of P)V=V||Fi(Q.addedNodes,x),V=V&&!Fi(Q.removedNodes,x);V&&f()});return M.observe(document,{childList:!0,subtree:!0}),M}function uo(y,u,f){const x=y.canvas,M=new MutationObserver(P=>{let V=!1;for(const Q of P)V=V||Fi(Q.removedNodes,x),V=V&&!Fi(Q.addedNodes,x);V&&f()});return M.observe(document,{childList:!0,subtree:!0}),M}const gi=new Map;let bo=0;function to(){const y=window.devicePixelRatio;y!==bo&&(bo=y,gi.forEach((u,f)=>{f.currentDevicePixelRatio!==y&&u()}))}function fe(y,u,f){const x=y.canvas,M=x&&(0,i.I)(x);if(!M)return;const P=(0,i.L)((Q,ie)=>{const Me=M.clientWidth;f(Q,ie),Me<M.clientWidth&&f()},window),V=new ResizeObserver(Q=>{const ie=Q[0],Me=ie.contentRect.width,Ke=ie.contentRect.height;0===Me&&0===Ke||P(Me,Ke)});return V.observe(M),function xo(y,u){gi.size||window.addEventListener("resize",to),gi.set(y,u)}(y,P),V}function Pe(y,u,f){f&&f.disconnect(),"resize"===u&&function Nn(y){gi.delete(y),gi.size||window.removeEventListener("resize",to)}(y)}function ye(y,u,f){const x=y.canvas,M=(0,i.L)(P=>{null!==y.ctx&&f(function Qn(y,u){const f=Xe[y.type]||y.type,{x,y:M}=(0,i.z)(y,u);return{type:f,chart:u,native:y,x:void 0!==x?x:null,y:void 0!==M?M:null}}(P,y))},y);return function un(y,u,f){y.addEventListener(u,f,$t)}(x,u,M),M}class Ee extends ln{acquireContext(u,f){const x=u&&u.getContext&&u.getContext("2d");return x&&x.canvas===u?(function ct(y,u){const f=y.style,x=y.getAttribute("height"),M=y.getAttribute("width");if(y[bt]={initial:{height:x,width:M,style:{display:f.display,height:f.height,width:f.width}}},f.display=f.display||"block",f.boxSizing=f.boxSizing||"border-box",st(M)){const P=(0,i.J)(y,"width");void 0!==P&&(y.width=P)}if(st(x))if(""===y.style.height)y.height=y.width/(u||2);else{const P=(0,i.J)(y,"height");void 0!==P&&(y.height=P)}}(u,f),x):null}releaseContext(u){const f=u.canvas;if(!f[bt])return!1;const x=f[bt].initial;["height","width"].forEach(P=>{const V=x[P];(0,i.k)(V)?f.removeAttribute(P):f.setAttribute(P,V)});const M=x.style||{};return Object.keys(M).forEach(P=>{f.style[P]=M[P]}),f.width=f.width,delete f[bt],!0}addEventListener(u,f,x){this.removeEventListener(u,f),(u.$proxies||(u.$proxies={}))[f]=({attach:co,detach:uo,resize:fe}[f]||ye)(u,f,x)}removeEventListener(u,f){const x=u.$proxies||(u.$proxies={}),M=x[f];M&&(({attach:Pe,detach:Pe,resize:Pe}[f]||$n)(u,f,M),x[f]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(u,f,x,M){return(0,i.G)(u,f,x,M)}isAttached(u){const f=(0,i.I)(u);return!(!f||!f.isConnected)}}class Y{constructor(){Zi(this,"active",!1)}tooltipPosition(u){const{x:f,y:x}=this.getProps(["x","y"],u);return{x:f,y:x}}hasValue(){return(0,i.x)(this.x)&&(0,i.x)(this.y)}getProps(u,f){const x=this.$animations;if(!f||!x)return this;const M={};return u.forEach(P=>{M[P]=x[P]&&x[P].active()?x[P]._to:this[P]}),M}}function Si(y,u,f,x,M){const P=(0,i.v)(x,0),V=Math.min((0,i.v)(M,y.length),y.length);let ie,Me,Ke,Q=0;for(f=Math.ceil(f),M&&(ie=M-x,f=ie/Math.floor(ie/f)),Ke=P;Ke<0;)Q++,Ke=Math.round(P+Q*f);for(Me=Math.max(P,0);Me<V;Me++)Me===Ke&&(u.push(y[Me]),Q++,Ke=Math.round(P+Q*f))}Zi(Y,"defaults",{}),Zi(Y,"defaultRoutes");const zi=(y,u,f)=>"top"===u||"left"===u?y[u]+f:y[u]-f;function Bi(y,u){const f=[],x=y.length/u,M=y.length;let P=0;for(;P<M;P+=x)f.push(y[Math.floor(P)]);return f}function bn(y,u,f){const x=y.ticks.length,M=Math.min(u,x-1),P=y._startPixel,V=y._endPixel,Q=1e-6;let Me,ie=y.getPixelForTick(M);if(!(f&&(Me=1===x?Math.max(ie-P,V-ie):0===u?(y.getPixelForTick(1)-ie)/2:(ie-y.getPixelForTick(M-1))/2,ie+=M<u?Me:-Me,ie<P-Q||ie>V+Q)))return ie}function xi(y){return y.drawTicks?y.tickLength:0}function Ii(y,u){if(!y.display)return 0;const f=(0,i.a0)(y.font,u),x=(0,i.E)(y.padding);return((0,i.b)(y.text)?y.text.length:1)*f.lineHeight+x.height}function go(y,u,f){let x=(0,i.a1)(y);return(f&&"right"!==u||!f&&"right"===u)&&(x=(y=>"left"===y?"right":"right"===y?"left":y)(x)),x}class Ao extends Y{constructor(u){super(),this.id=u.id,this.type=u.type,this.options=void 0,this.ctx=u.ctx,this.chart=u.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(u){this.options=u.setContext(this.getContext()),this.axis=u.axis,this._userMin=this.parse(u.min),this._userMax=this.parse(u.max),this._suggestedMin=this.parse(u.suggestedMin),this._suggestedMax=this.parse(u.suggestedMax)}parse(u,f){return u}getUserBounds(){let{_userMin:u,_userMax:f,_suggestedMin:x,_suggestedMax:M}=this;return u=(0,i.O)(u,Number.POSITIVE_INFINITY),f=(0,i.O)(f,Number.NEGATIVE_INFINITY),x=(0,i.O)(x,Number.POSITIVE_INFINITY),M=(0,i.O)(M,Number.NEGATIVE_INFINITY),{min:(0,i.O)(u,x),max:(0,i.O)(f,M),minDefined:(0,i.g)(u),maxDefined:(0,i.g)(f)}}getMinMax(u){let V,{min:f,max:x,minDefined:M,maxDefined:P}=this.getUserBounds();if(M&&P)return{min:f,max:x};const Q=this.getMatchingVisibleMetas();for(let ie=0,Me=Q.length;ie<Me;++ie)V=Q[ie].controller.getMinMax(this,u),M||(f=Math.min(f,V.min)),P||(x=Math.max(x,V.max));return f=P&&f>x?x:f,x=M&&f>x?f:x,{min:(0,i.O)(f,(0,i.O)(x,f)),max:(0,i.O)(x,(0,i.O)(f,x))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const u=this.chart.data;return this.options.labels||(this.isHorizontal()?u.xLabels:u.yLabels)||u.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,i.Q)(this.options.beforeUpdate,[this])}update(u,f,x){const{beginAtZero:M,grace:P,ticks:V}=this.options,Q=V.sampleSize;this.beforeUpdate(),this.maxWidth=u,this.maxHeight=f,this._margins=x=Object.assign({left:0,right:0,top:0,bottom:0},x),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+x.left+x.right:this.height+x.top+x.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,i.R)(this,P,M),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const ie=Q<this.ticks.length;this._convertTicksToLabels(ie?Bi(this.ticks,Q):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),V.display&&(V.autoSkip||"auto"===V.source)&&(this.ticks=function Te(y,u){const f=y.options.ticks,x=function rt(y){const u=y.options.offset,f=y._tickSize();return Math.floor(Math.min(y._length/f+(u?0:1),y._maxLength/f))}(y),M=Math.min(f.maxTicksLimit||x,x),P=f.major.enabled?function Tn(y){const u=[];let f,x;for(f=0,x=y.length;f<x;f++)y[f].major&&u.push(f);return u}(u):[],V=P.length,Q=P[0],ie=P[V-1],Me=[];if(V>
1M)return function Ln(y,u,f,x){let V,M=0,P=f[0];for(x=Math.ceil(x),V=0;V<y.length;V++)V===P&&(u.push(y[V]),M++,P=f[M*x])}(u,Me,P,V/M),Me;const Ke=function Nt(y,u,f){const x=function Ti(y){const u=y.length;let f,x;if(u<2)return!1;for(x=y[0],f=1;f<u;++f)if(y[f]-y[f-1]!==x)return!1;return x}(y),M=u.length/f;if(!x)return Math.max(M,1);const P=(0,i.N)(x);for(let V=0,Q=P.length-1;V<Q;V++){const ie=P[V];if(ie>M)return ie}return Math.max(M,1)}(P,u,M);if(V>0){let Ct,St;const kt=V>1?Math.round((ie-Q)/(V-1)):null;for(Si(u,Me,Ke,(0,i.k)(kt)?0:Q-kt,Q),Ct=0,St=V-1;Ct<St;Ct++)Si(u,Me,Ke,P[Ct],P[Ct+1]);return Si(u,Me,Ke,ie,(0,i.k)(kt)?u.length:ie+kt),Me}return Si(u,Me,Ke),Me}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),ie&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let f,x,u=this.options.reverse;this.isHorizontal()?(f=this.left,x=this.right):(f=this.top,x=this.bottom,u=!u),this._startPixel=f,this._endPixel=x,this._reversePixels=u,this._length=x-f,this._alignToPixels=this.options.alignToPixels}afterUpdate(){(0,i.Q)(this.options.afterUpdate,[this])}beforeSetDimensions(){(0,i.Q)(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){(0,i.Q)(this.options.afterSetDimensions,[this])}_callHooks(u){this.chart.notifyPlugins(u,this.getContext()),(0,i.Q)(this.options[u],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){(0,i.Q)(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(u){const f=this.options.ticks;let x,M,P;for(x=0,M=u.length;x<M;x++)P=u[x],P.label=(0,i.Q)(f.callback,[P.value,x,u],this)}afterTickToLabelConversion(){(0,i.Q)(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){(0,i.Q)(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const u=this.options,f=u.ticks,x=this.ticks.length,M=f.minRotation||0,P=f.maxRotation;let Q,ie,Me,V=M;if(!this._isVisible()||!f.display||M>=P||x<=1||!this.isHorizontal())return void(this.labelRotation=M);const Ke=this._getLabelSizes(),Ct=Ke.widest.width,St=Ke.highest.height,kt=(0,i.S)(this.chart.width-Ct,0,this.maxWidth);Q=u.offset?this.maxWidth/x:kt/(x-1),Ct+6>Q&&(Q=kt/(x-(u.offset?.5:1)),ie=this.maxHeight-xi(u.grid)-f.padding-Ii(u.title,this.chart.options.font),Me=Math.sqrt(Ct*Ct+St*St),V=(0,i.U)(Math.min(Math.asin((0,i.S)((Ke.highest.height+6)/Q,-1,1)),Math.asin((0,i.S)(ie/Me,-1,1))-Math.asin((0,i.S)(St/Me,-1,1)))),V=Math.max(M,Math.min(P,V))),this.labelRotation=V}afterCalculateLabelRotation(){(0,i.Q)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,i.Q)(this.options.beforeFit,[this])}fit(){const u={width:0,height:0},{chart:f,options:{ticks:x,title:M,grid:P}}=this,V=this._isVisible(),Q=this.isHorizontal();if(V){const ie=Ii(M,f.options.font);if(Q?(u.width=this.maxWidth,u.height=xi(P)+ie):(u.height=this.maxHeight,u.width=xi(P)+ie),x.display&&this.ticks.length){const{first:Me,last:Ke,widest:Ct,highest:St}=this._getLabelSizes(),kt=2*x.padding,on=(0,i.t)(this.labelRotation),hn=Math.cos(on),On=Math.sin(on);Q?u.height=Math.min(this.maxHeight,u.height+(x.mirror?0:On*Ct.width+hn*St.height)+kt):u.width=Math.min(this.maxWidth,u.width+(x.mirror?0:hn*Ct.width+On*St.height)+kt),this._calculatePadding(Me,Ke,On,hn)}}this._handleMargins(),Q?(this.width=this._length=f.width-this._margins.left-this._margins.right,this.height=u.height):(this.width=u.width,this.height=this._length=f.height-this._margins.top-this._margins.bottom)}_calculatePadding(u,f,x,M){const{ticks:{align:P,padding:V},position:Q}=this.options,ie=0!==this.labelRotation,Me="top"!==Q&&"x"===this.axis;if(this.isHorizontal()){const Ke=this.getPixelForTick(0)-this.left,Ct=this.right-this.getPixelForTick(this.ticks.length-1);let St=0,kt=0;ie?Me?(St=M*u.width,kt=x*f.height):(St=x*u.height,kt=M*f.width):"start"===P?kt=f.width:"end"===P?St=u.width:"inner"!==P&&(St=u.width/2,kt=f.width/2),this.paddingLeft=Math.max((St-Ke+V)*this.width/(this.width-Ke),0),this.paddingRight=Math.max((kt-Ct+V)*this.width/(this.width-Ct),0)}else{let Ke=f.height/2,Ct=u.height/2;"start"===P?(Ke=0,Ct=u.height):"end"===P&&(Ke=f.height,Ct=0),this.paddingTop=Ke+V,this.paddingBottom=Ct+V}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,i.Q)(this.options.afterFit,[this])}isHorizontal(){const{axis:u,position:f}=this.options;return"top"===f||"bottom"===f||"x"===u}isFullSize(){return this.options.fullSize}_convertTicksToLabels(u){let f,x;for(this.beforeTickToLabelConversion(),this.generateTickLabels(u),f=0,x=u.length;f<x;f++)(0,i.k)(u[f].label)&&(u.splice(f,1),x--,f--);this.afterTickToLabelConversion()}_getLabelSizes(){let u=this._labelSizes;if(!u){const f=this.options.ticks.sampleSize;let x=this.ticks;f<x.length&&(x=Bi(x,f)),this._labelSizes=u=this._computeLabelSizes(x,x.length)}return u}_computeLabelSizes(u,f){const{ctx:x,_longestTextCache:M}=this,P=[],V=[];let Me,Ke,Ct,St,kt,on,hn,On,Sn,Un,oi,Q=0,ie=0;for(Me=0;Me<f;++Me){if(St=u[Me].label,kt=this._resolveTickFontOptions(Me),x.font=on=kt.string,hn=M[on]=M[on]||{data:{},gc:[]},On=kt.lineHeight,Sn=Un=0,(0,i.k)(St)||(0,i.b)(St)){if((0,i.b)(St))for(Ke=0,Ct=St.length;Ke<Ct;++Ke)oi=St[Ke],!(0,i.k)(oi)&&!(0,i.b)(oi)&&(Sn=(0,i.V)(x,hn.data,hn.gc,Sn,oi),Un+=On)}else Sn=(0,i.V)(x,hn.data,hn.gc,Sn,St),Un=On;P.push(Sn),V.push(Un),Q=Math.max(Sn,Q),ie=Math.max(Un,ie)}!function ci(y,u){(0,i.F)(y,f=>{const x=f.gc,M=x.length/2;let P;if(M>u){for(P=0;P<M;++P)delete f.data[x[P]];x.splice(0,M)}})}(M,f);const Xn=P.indexOf(Q),Jn=V.indexOf(ie),pi=vi=>({width:P[vi]||0,height:V[vi]||0});
1return{first:pi(0),last:pi(f-1),widest:pi(Xn),highest:pi(Jn),widths:P,heights:V}}getLabelForValue(u){return u}getPixelForValue(u,f){return NaN}getValueForPixel(u){}getPixelForTick(u){const f=this.ticks;return u<0||u>f.length-1?null:this.getPixelForValue(f[u].value)}getPixelForDecimal(u){this._reversePixels&&(u=1-u);const f=this._startPixel+u*this._length;return(0,i.W)(this._alignToPixels?(0,i.X)(this.chart,f,0):f)}getDecimalForPixel(u){const f=(u-this._startPixel)/this._length;return this._reversePixels?1-f:f}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:u,max:f}=this;return u<0&&f<0?f:u>0&&f>0?u:0}getContext(u){const f=this.ticks||[];if(u>=0&&u<f.length){const x=f[u];return x.$context||(x.$context=function Gi(y,u,f){return(0,i.j)(y,{tick:f,index:u,type:"tick"})}(this.getContext(),u,x))}return this.$context||(this.$context=function Bo(y,u){return(0,i.j)(y,{scale:u,type:"scale"})}(this.chart.getContext(),this))}_tickSize(){const u=this.options.ticks,f=(0,i.t)(this.labelRotation),x=Math.abs(Math.cos(f)),M=Math.abs(Math.sin(f)),P=this._getLabelSizes(),V=u.autoSkipPadding||0,Q=P?P.widest.width+V:0,ie=P?P.highest.height+V:0;return this.isHorizontal()?ie*x>Q*M?Q/x:ie/M:ie*M<Q*x?ie/x:Q/M}_isVisible(){const u=this.options.display;return"auto"!==u?!!u:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(u){const f=this.axis,x=this.chart,M=this.options,{grid:P,position:V,border:Q}=M,ie=P.offset,Me=this.isHorizontal(),Ct=this.ticks.length+(ie?1:0),St=xi(P),kt=[],on=Q.setContext(this.getContext()),hn=on.display?on.width:0,On=hn/2,Sn=function($o){return(0,i.X)(x,$o,hn)};let Un,oi,Xn,Jn,pi,vi,yi,ro,Mo,Yi,Vo,Qa;if("top"===V)Un=Sn(this.bottom),vi=this.bottom-St,ro=Un-On,Yi=Sn(u.top)+On,Qa=u.bottom;else if("bottom"===V)Un=Sn(this.top),Yi=u.top,Qa=Sn(u.bottom)-On,vi=Un+On,ro=this.top+St;else if("left"===V)Un=Sn(this.right),pi=this.right-St,yi=Un-On,Mo=Sn(u.left)+On,Vo=u.right;else if("right"===V)Un=Sn(this.left),Mo=u.left,Vo=Sn(u.right)-On,pi=Un+On,yi=this.left+St;else if("x"===f){if("center"===V)Un=Sn((u.top+u.bottom)/2+.5);else if((0,i.i)(V)){const $o=Object.keys(V)[0];Un=Sn(this.chart.scales[$o].getPixelForValue(V[$o]))}Yi=u.top,Qa=u.bottom,vi=Un+On,ro=vi+St}else if("y"===f){if("center"===V)Un=Sn((u.left+u.right)/2);else if((0,i.i)(V)){const $o=Object.keys(V)[0];Un=Sn(this.chart.scales[$o].getPixelForValue(V[$o]))}pi=Un-On,yi=pi-St,Mo=u.left,Vo=u.right}const ls=(0,i.v)(M.ticks.maxTicksLimit,Ct),Uo=Math.max(1,Math.ceil(Ct/ls));for(oi=0;oi<Ct;oi+=Uo){const $o=this.getContext(oi),Ma=P.setContext($o),Rs=Q.setContext($o),Ua=Ma.lineWidth,ys=Ma.color,Xr=Rs.dash||[],Ys=Rs.dashOffset,ec=Ma.tickWidth,Kr=Ma.tickColor,Nr=Ma.tickBorderDash||[],Er=Ma.tickBorderDashOffset;Xn=bn(this,oi,ie),void 0!==Xn&&(Jn=(0,i.X)(x,Xn,Ua),Me?pi=yi=Mo=Vo=Jn:vi=ro=Yi=Qa=Jn,kt.push({tx1:pi,ty1:vi,tx2:yi,ty2:ro,x1:Mo,y1:Yi,x2:Vo,y2:Qa,width:Ua,color:ys,borderDash:Xr,borderDashOffset:Ys,tickWidth:ec,tickColor:Kr,tickBorderDash:Nr,tickBorderDashOffset:Er}))}return this._ticksLength=Ct,this._borderValue=Un,kt}_computeLabelItems(u){const f=this.axis,x=this.options,{position:M,ticks:P}=x,V=this.isHorizontal(),Q=this.ticks,{align:ie,crossAlign:Me,padding:Ke,mirror:Ct}=P,St=xi(x.grid),kt=St+Ke,on=Ct?-Ke:kt,hn=-(0,i.t)(this.labelRotation),On=[];let Sn,Un,oi,Xn,Jn,pi,vi,yi,ro,Mo,Yi,Vo,Qa="middle";if("top"===M)pi=this.bottom-on,vi=this._getXAxisLabelAlignment();else if("bottom"===M)pi=this.top+on,vi=this._getXAxisLabelAlignment();else if("left"===M){const Uo=this._getYAxisLabelAlignment(St);vi=Uo.textAlign,Jn=Uo.x}else if("right"===M){const Uo=this._getYAxisLabelAlignment(St);vi=Uo.textAlign,Jn=Uo.x}else if("x"===f){if("center"===M)pi=(u.top+u.bottom)/2+kt;else if((0,i.i)(M)){const Uo=Object.keys(M)[0];pi=this.chart.scales[Uo].getPixelForValue(M[Uo])+kt}vi=this._getXAxisLabelAlignment()}else if("y"===f){if("center"===M)Jn=(u.left+u.right)/2-kt;else if((0,i.i)(M)){const Uo=Object.keys(M)[0];Jn=this.chart.scales[Uo].getPixelForValue(M[Uo])}vi=this._getYAxisLabelAlignment(St).textAlign}"y"===f&&("start"===ie?Qa="top":"end"===ie&&(Qa="bottom"));const ls=this._getLabelSizes();for(Sn=0,Un=Q.length;Sn<Un;++Sn){oi=Q[Sn],Xn=oi.label;const Uo=P.setContext(this.getContext(Sn));yi=this.getPixelForTick(Sn)+P.labelOffset,ro=this._resolveTickFontOptions(Sn),Mo=ro.lineHeight,Yi=(0,i.b)(Xn)?Xn.length:1;const $o=Yi/2,Ma=Uo.color,Rs=Uo.textStrokeColor,Ua=Uo.textStrokeWidth;let Xr,ys=vi;if(V?(Jn=yi,"inner"===vi&&(ys=Sn===Un-1?this.options.reverse?"left"
1:"right":0===Sn?this.options.reverse?"right":"left":"center"),Vo="top"===M?"near"===Me||0!==hn?-Yi*Mo+Mo/2:"center"===Me?-ls.highest.height/2-$o*Mo+Mo:Mo/2-ls.highest.height:"near"===Me||0!==hn?Mo/2:"center"===Me?ls.highest.height/2-$o*Mo:ls.highest.height-Yi*Mo,Ct&&(Vo*=-1),0!==hn&&!Uo.showLabelBackdrop&&(Jn+=Mo/2*Math.sin(hn))):(pi=yi,Vo=(1-Yi)*Mo/2),Uo.showLabelBackdrop){const Ys=(0,i.E)(Uo.backdropPadding),ec=ls.heights[Sn],Kr=ls.widths[Sn];let Nr=Vo-Ys.top,Er=0-Ys.left;switch(Qa){case"middle":Nr-=ec/2;break;case"bottom":Nr-=ec}switch(vi){case"center":Er-=Kr/2;break;case"right":Er-=Kr}Xr={left:Er,top:Nr,width:Kr+Ys.width,height:ec+Ys.height,color:Uo.backdropColor}}On.push({rotation:hn,label:Xn,font:ro,color:Ma,strokeColor:Rs,strokeWidth:Ua,textOffset:Vo,textAlign:ys,textBaseline:Qa,translation:[Jn,pi],backdrop:Xr})}return On}_getXAxisLabelAlignment(){const{position:u,ticks:f}=this.options;if(-(0,i.t)(this.labelRotation))return"top"===u?"left":"right";let M="center";return"start"===f.align?M="left":"end"===f.align?M="right":"inner"===f.align&&(M="inner"),M}_getYAxisLabelAlignment(u){const{position:f,ticks:{crossAlign:x,mirror:M,padding:P}}=this.options,Q=u+P,ie=this._getLabelSizes().widest.width;let Me,Ke;return"left"===f?M?(Ke=this.right+P,"near"===x?Me="left":"center"===x?(Me="center",Ke+=ie/2):(Me="right",Ke+=ie)):(Ke=this.right-Q,"near"===x?Me="right":"center"===x?(Me="center",Ke-=ie/2):(Me="left",Ke=this.left)):"right"===f?M?(Ke=this.left+P,"near"===x?Me="right":"center"===x?(Me="center",Ke-=ie/2):(Me="left",Ke-=ie)):(Ke=this.left+Q,"near"===x?Me="left":"center"===x?(Me="center",Ke+=ie/2):(Me="right",Ke=this.right)):Me="right",{textAlign:Me,x:Ke}}_computeLabelArea(){if(this.options.ticks.mirror)return;const u=this.chart,f=this.options.position;return"left"===f||"right"===f?{top:0,left:this.left,bottom:u.height,right:this.right}
1:"top"===f||"bottom"===f?{top:this.top,left:0,bottom:this.bottom,right:u.width}:void 0}drawBackground(){const{ctx:u,options:{backgroundColor:f},left:x,top:M,width:P,height:V}=this;f&&(u.save(),u.fillStyle=f,u.fillRect(x,M,P,V),u.restore())}getLineWidthForValue(u){const f=this.options.grid;if(!this._isVisible()||!f.display)return 0;const M=this.ticks.findIndex(P=>P.value===u);return M>=0?f.setContext(this.getContext(M)).lineWidth:0}drawGrid(u){const f=this.options.grid,x=this.ctx,M=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(u));let P,V;const Q=(ie,Me,Ke)=>{!Ke.width||!Ke.color||(x.save(),x.lineWidth=Ke.width,x.strokeStyle=Ke.color,x.setLineDash(Ke.borderDash||[]),x.lineDashOffset=Ke.borderDashOffset,x.beginPath(),x.moveTo(ie.x,ie.y),x.lineTo(Me.x,Me.y),x.stroke(),x.restore())};if(f.display)for(P=0,V=M.length;P<V;++P){const ie=M[P];f.drawOnChartArea&&Q({x:ie.x1,y:ie.y1},{x:ie.x2,y:ie.y2},ie),f.drawTicks&&Q({x:ie.tx1,y:ie.ty1},{x:ie.tx2,y:ie.ty2},{color:ie.tickColor,width:ie.tickWidth,borderDash:ie.tickBorderDash,borderDashOffset:ie.tickBorderDashOffset})}}drawBorder(){const{chart:u,ctx:f,options:{border:x,grid:M}}=this,P=x.setContext(this.getContext()),V=x.display?P.width:0;if(!V)return;const Q=M.setContext(this.getContext(0)).lineWidth,ie=this._borderValue;let Me,Ke,Ct,St;this.isHorizontal()?(Me=(0,i.X)(u,this.left,V)-V/2,Ke=(0,i.X)(u,this.right,Q)+Q/2,Ct=St=ie):(Ct=(0,i.X)(u,this.top,V)-V/2,St=(0,i.X)(u,this.bottom,Q)+Q/2,Me=Ke=ie),f.save(),f.lineWidth=P.width,f.strokeStyle=P.color,f.beginPath(),f.moveTo(Me,Ct),f.lineTo(Ke,St),f.stroke(),f.restore()}drawLabels(u){if(!this.options.ticks.display)return;const x=this.ctx,M=this._computeLabelArea();M&&(0,i.Y)(x,M);const P=this._labelItems||(this._labelItems=this._computeLabelItems(u));let V,Q;for(V=0,Q=P.length;V<Q;++V){const ie=P[V];(0,i.Z)(x,ie.label,0,ie.textOffset,ie.font,ie)}M&&(0,i.$)(x)}drawTitle(){const{ctx:u,options:{position:f,title:x,reverse:M}}=this;if(!x.display)return;const P=(0,i.a0)(x.font),V=(0,i.E)(x.padding),Q=x.align;let ie=P.lineHeight/2;"bottom"===f||"center"===f||(0,i.i)(f)?(ie+=V.bottom,(0,i.b)(x.text)&&(ie+=P.lineHeight*(x.text.length-1))):ie+=V.top;const{titleX:Me,titleY:Ke,maxWidth:Ct,rotation:St}=function wo(y,u,f,x){const{top:M,left:P,bottom:V,right:Q,chart:ie}=y,{chartArea:Me,scales:Ke}=ie;let St,kt,on,Ct=0;const hn=V-M,On=Q-P;if(y.isHorizontal()){if(kt=(0,i.a2)(x,P,Q),(0,i.i)(f)){const Sn=Object.keys(f)[0];on=Ke[Sn].getPixelForValue(f[Sn])+hn-u}else on="center"===f?(Me.bottom+Me.top)/2+hn-u:zi(y,f,u);St=Q-P}else{if((0,i.i)(f)){const Sn=Object.keys(f)[0];kt=Ke[Sn].getPixelForValue(f[Sn])-On+u}else kt="center"===f?(Me.left+Me.right)/2-On+u:zi(y,f,u);on=(0,i.a2)(x,V,M),Ct="left"===f?-i.H:i.H}return{titleX:kt,titleY:on,maxWidth:St,rotation:Ct}}(this,ie,f,Q);(0,i.Z)(u,x.text,0,0,P,{color:x.color,maxWidth:Ct,rotation:St,textAlign:go(Q,f,M),textBaseline:"middle",translation:[Me,Ke]})}draw(u){!this._isVisible()||(this.drawBackground(),this.drawGrid(u),this.drawBorder(),this.drawTitle(),this.drawLabels(u))}_layers(){const u=this.options,f=u.ticks&&u.ticks.z||0,x=(0,i.v)(u.grid&&u.grid.z,-1),M=(0,i.v)(u.border&&u.border.z,0);return this._isVisible()&&this.draw===Ao.prototype.draw?[{z:x,draw:P=>{this.drawBackground(),this.drawGrid(P),this.drawTitle()}},{z:M,draw:()=>{this.drawBorder()}},{z:f,draw:P=>{this.drawLabels(P)}}]:[{z:f,draw:P=>{this.draw(P)}}]}getMatchingVisibleMetas(u){const f=this.chart.getSortedVisibleDatasetMetas(),x=this.axis+"AxisID",M=[];let P,V;for(P=0,V=f.length;P<V;++P){const Q=f[P];Q[x]===this.id&&(!u||Q.type===u)&&M.push(Q)}return M}_resolveTickFontOptions(u){const f=this.options.ticks.setContext(this.getContext(u));return(0,i.a0)(f.font)}_maxDigits(){const u=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/u}}class Fo{constructor(u,f,x){this.type=u,this.scope=f,this.override=x,this.items=Object.create(null)}isForType(u){return Object.prototype.isPrototypeOf.call(this.type.prototype,u.prototype)}register(u){const f=Object.getPrototypeOf(u);let x;(function $e(y){return"id"in y&&"defaults"in y})(f)&&(x=this.register(f));const M=this.items,P=u.id,V=this.scope+"."+P;if(!P)throw new Error("class does not have id: "+u);return P in M||(M[P]=u,function ua(y,u,f){const x=(0,i.a4)(Object.create(null),[f?i.d.get(f):{},i.d.get(u),y.defaults]);i.d.set(u,x),y.defaultRoutes&&function yt(y,u){Object.keys(u).forEach(f=>{const x=f.split("."),M=x.pop(),P=[y].concat(x).join("."),V=u[f].split("."),Q=V.pop(),ie=V.join(".");i.d.route(P,M,ie,Q)})}(u,y.defaultRoutes),y.descriptors&&i.d.describe(u,y.descriptors)}(u,V,x),this.override&&i.d.override(u.id,u.overrides)),V}get(u){return this.items[u]}unregister(u){const f=this.items,x=u.id,M=this.scope;x in f&&delete f[x],M&&x in i.d[M]&&(delete i.d[M][x],this.override&&delete i.a3[x])}}class z{constructor(){this.controllers=new Fo(ot,"datasets",!0),this.elements=new Fo(Y,"elements"),this.plugins=new Fo(Object,"plugins"),this.scales=new Fo(Ao,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...u){this._each("register",u)}remove(...u){this._each("unregister",u)}addControllers(...u){this._each("register",u,this.controllers)}addElements(...u){this._each("register",u,this.elements)}addPlugins(...u){this._each("register",u,this.plugins)}addScales(...u){this._each("register",u,this.scales)}getController(u){return this._get(u,this.controllers,"controller")}getElement(u){return this._get(u,this.elements,"element")}getPlugin(u){return this._get(u,this.plugins,"plugin")}getScale(u){return this._get(u,this.scales,"scale")}
1removeControllers(...u){this._each("unregister",u,this.controllers)}removeElements(...u){this._each("unregister",u,this.elements)}removePlugins(...u){this._each("unregister",u,this.plugins)}removeScales(...u){this._each("unregister",u,this.scales)}_each(u,f,x){[...f].forEach(M=>{const P=x||this._getRegistryForType(M);x||P.isForType(M)||P===this.plugins&&M.id?this._exec(u,P,M):(0,i.F)(M,V=>{const Q=x||this._getRegistryForType(V);this._exec(u,Q,V)})})}_exec(u,f,x){const M=(0,i.a5)(u);(0,i.Q)(x["before"+M],[],x),f[u](x),(0,i.Q)(x["after"+M],[],x)}_getRegistryForType(u){for(let f=0;f<this._typedRegistries.length;f++){const x=this._typedRegistries[f];if(x.isForType(u))return x}return this.plugins}_get(u,f,x){const M=f.get(u);if(void 0===M)throw new Error('"'+u+'" is not a registered '+x+".");return M}}var Ie=new z;class G{constructor(){this._init=[]}notify(u,f,x,M){"beforeInit"===f&&(this._init=this._createDescriptors(u,!0),this._notify(this._init,u,"install"));const P=M?this._descriptors(u).filter(M):this._descriptors(u),V=this._notify(P,u,f,x);return"afterDestroy"===f&&(this._notify(P,u,"stop"),this._notify(this._init,u,"uninstall")),V}_notify(u,f,x,M){M=M||{};for(const P of u){const V=P.plugin;if(!1===(0,i.Q)(V[x],[f,M,P.options],V)&&M.cancelable)return!1}return!0}invalidate(){(0,i.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(u){if(this._cache)return this._cache;const f=this._cache=this._createDescriptors(u);return this._notifyStateChanges(u),f}_createDescriptors(u,f){const x=u&&u.config,M=(0,i.v)(x.options&&x.options.plugins,{}),P=function de(y){const u={},f=[],x=Object.keys(Ie.plugins.items);for(let P=0;P<x.length;P++)f.push(Ie.getPlugin(x[P]));const M=y.plugins||[];for(let P=0;P<M.length;P++){const V=M[P];-1===f.indexOf(V)&&(f.push(V),u[V.id]=!0)}return{plugins:f,localIds:u}}(x);return!1!==M||f?function Dt(y,{plugins:u,localIds:f},x,M){const P=[],V=y.getContext();for(const Q of u){const ie=Q.id,Me=Ye(x[ie],M);null!==Me&&P.push({plugin:Q,options:an(y.config,{plugin:Q,local:f[ie]},Me,V)})}return P}(u,P,M,f):[]}_notifyStateChanges(u){const f=this._oldCache||[],x=this._cache,M=(P,V)=>P.filter(Q=>!V.some(ie=>Q.plugin.id===ie.plugin.id));this._notify(M(f,x),u,"stop"),this._notify(M(x,f),u,"start")}}function Ye(y,u){return u||!1!==y?!0===y?{}:y:null}function an(y,{plugin:u,local:f},x,M){const P=y.pluginScopeKeys(u),V=y.getOptionScopes(x,P);return f&&u.defaults&&V.push(u.defaults),y.createResolver(V,M,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function vn(y,u){return((u.datasets||{})[y]||{}).indexAxis||u.indexAxis||(i.d.datasets[y]||{}).indexAxis||"x"}function Wi(y,u){if("x"===y||"y"===y||"r"===y||(y=u.axis||function no(y){return"top"===y||"bottom"===y?"x":"left"===y||"right"===y?"y":void 0}(u.position)||y.length>1&&Wi(y[0].toLowerCase(),u)))return y;throw new Error(`Cannot determine type of '${name}' axis. Please provide 'axis' or 'position' option.`)}function ia(y){const u=y.options||(y.options={});u.plugins=(0,i.v)(u.plugins,{}),u.scales=function Zo(y,u){const f=i.a3[y.type]||{scales:{}},x=u.scales||{},M=vn(y.type,u),P=Object.create(null);return Object.keys(x).forEach(V=>{const Q=x[V];if(!(0,i.i)(Q))return console.error(`Invalid scale configuration for scale: ${V}`);if(Q._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${V}`);const ie=Wi(V,Q),Me=function $i(y,u){return y===u?"_index_":"_value_"}(ie,M),Ke=f.scales||{};P[V]=(0,i.ab)(Object.create(null),[{axis:ie},Q,Ke[ie],Ke[Me]])}),y.data.datasets.forEach(V=>{const Q=V.type||y.type,ie=V.indexAxis||vn(Q,u),Ke=(i.a3[Q]||{}).scales||{};Object.keys(Ke).forEach(Ct=>{const St=function zn(y,u){let f=y;return"_index_"===y?f=u:"_value_"===y&&(f="x"===u?"y":"x"),f}(Ct,ie),kt=V[St+"AxisID"]||St;P[kt]=P[kt]||Object.create(null),(0,i.ab)(P[kt],[{axis:St},x[kt],Ke[Ct]])})}),Object.keys(P).forEach(V=>{const Q=P[V];(0,i.ab)(Q,[i.d.scales[Q.type],i.d.scale])}),P}(y,u)}function Wo(y){return(y=y||{}).datasets=y.datasets||[],y.labels=y.labels||[],y}const Ia=new Map,Ca=new Set;function oa(y,u){let f=Ia.get(y);return f||(f=u(),Ia.set(y,f),Ca.add(f)),f}const ka=(y,u,f)=>{const x=(0,i.f)(u,f);void 0!==x&&y.add(x)};class ha{constructor(u){this._config=function Pa(y){return(y=y||{}).data=Wo(y.data),ia(y),y}(u),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(u){this._config.type=u}get data(){return this._config.data}set data(u){this._config.data=Wo(u)}get options(){return this._config.options}set options(u){this._config.options=u}get plugins(){return this._config.plugins}update(){const u=this._config;this.clearCache(),ia(u)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(u){return oa(u,()=>[[`datasets.${u}`,""]])}datasetAnimationScopeKeys(u,f){return oa(`${u}.transition.${f}`,()=>[[`datasets.${u}.transitions.${f}`,`transitions.${f}`],[`datasets.${u}`,""]])}datasetElementScopeKeys(u,f){return oa(`${u}-${f}`,()=>[[`datasets.${u}.elements.${f}`,`datasets.${u}`,`elements.${f}`,""]])}pluginScopeKeys(u){const f=u.id;return oa(`${this.type}-plugin-${f}`,()=>[[`plugins.${f}`,...u.additionalOptionScopes||[]]])}_cachedScopes(u,f){const x=this._scopeCache;let M=x.get(u);return(!M||f)&&(M=new Map,x.set(u,M)),M}getOptionScopes(u,f,x){const{options:M,type:P}=this,V=this._cachedScopes(u,x),Q=V.get(f);if(Q)return Q;const ie=new Set;f.forEach(Ke=>{u&&(ie.add(u),Ke.forEach(Ct=>ka(ie,u,Ct))),Ke.forEach(Ct=>ka(ie,M,Ct)),Ke.forEach(Ct=>ka(ie,i.a3[P]||{},Ct)),Ke.forEach(Ct=>ka(ie,i.d,Ct)),Ke.forEach(Ct=>ka(ie,i.a6,Ct))});const Me=Array.from(ie);return 0===Me.length&&Me.push(Object.create(null)),Ca.has(f)&&V.set(f,Me),Me}chartOptionScopes(){const{options:u,type:f}=this;return[u,i.a3[f]||{},i.d.datasets[f]||{},{type:f},i.d,i.a6]}resolveNamedOptions(u,f,x,M=[""]){const P={$shared:!0}
1,{resolver:V,subPrefixes:Q}=Ja(this._resolverCache,u,M);let ie=V;if(function cs(y,u){const{isScriptable:f,isIndexable:x}=(0,i.aa)(y);for(const M of u){const P=f(M),V=x(M),Q=(V||P)&&y[M];if(P&&((0,i.a7)(Q)||Ho(Q))||V&&(0,i.b)(Q))return!0}return!1}(V,f)){P.$shared=!1,x=(0,i.a7)(x)?x():x;const Me=this.createResolver(u,x,Q);ie=(0,i.a8)(V,x,Me)}for(const Me of f)P[Me]=ie[Me];return P}createResolver(u,f,x=[""],M){const{resolver:P}=Ja(this._resolverCache,u,x);return(0,i.i)(f)?(0,i.a8)(P,f,void 0,M):P}}function Ja(y,u,f){let x=y.get(u);x||(x=new Map,y.set(u,x));const M=f.join();let P=x.get(M);return P||(P={resolver:(0,i.a9)(u,f),subPrefixes:f.filter(Q=>!Q.toLowerCase().includes("hover"))},x.set(M,P)),P}const Ho=y=>(0,i.i)(y)&&Object.getOwnPropertyNames(y).reduce((u,f)=>u||(0,i.a7)(y[f]),!1),Wa=["top","bottom","left","right","chartArea"];function os(y,u){return"top"===y||"bottom"===y||-1===Wa.indexOf(y)&&"x"===u}function Ha(y,u){return function(f,x){return f[y]===x[y]?f[u]-x[u]:f[y]-x[y]}}function ba(y){const u=y.chart,f=u.options.animation;u.notifyPlugins("afterRender"),(0,i.Q)(f&&f.onComplete,[y],u)}function Ra(y){const u=y.chart,f=u.options.animation;(0,i.Q)(f&&f.onProgress,[y],u)}function Za(y){return(0,i.M)()&&"string"==typeof y?y=document.getElementById(y):y&&y.length&&(y=y[0]),y&&y.canvas&&(y=y.canvas),y}const ma={},as=y=>{const u=Za(y);return Object.values(ma).filter(f=>f.canvas===u).pop()};function lo(y,u,f){const x=Object.keys(y);for(const M of x){const P=+M;if(P>=u){const V=y[M];delete y[M],(f>0||P>u)&&(y[P+f]=V)}}}class So{static register(...u){Ie.add(...u),Ba()}static unregister(...u){Ie.remove(...u),Ba()}constructor(u,f){const x=this.config=new ha(f),M=Za(u),P=as(M);if(P)throw new Error("Canvas is already in use. Chart with ID '"+P.id+"' must be destroyed before the canvas with ID '"+P.canvas.id+"' can be reused.");const V=x.createResolver(x.chartOptionScopes(),this.getContext());this.platform=new(x.platform||function lt(y){return!(0,i.M)()||"undefined"!=typeof OffscreenCanvas&&y instanceof OffscreenCanvas?An:Ee}(M)),this.platform.updateConfig(x);const Q=this.platform.acquireContext(M,V.aspectRatio),ie=Q&&Q.canvas,Me=ie&&ie.height,Ke=ie&&ie.width;this.id=(0,i.ac)(),this.ctx=Q,this.canvas=ie,this.width=Ke,this.height=Me,this._options=V,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new G,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,i.ad)(Ct=>this.update(Ct),V.resizeDelay||0),this._dataChanges=[],ma[this.id]=this,Q&&ie?(e.listen(this,"complete",ba),e.listen(this,"progress",Ra),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:u,maintainAspectRatio:f},width:x,height:M,_aspectRatio:P}=this;return(0,i.k)(u)?f&&P?P:M?x/M:null:u}get data(){return this.config.data}set data(u){this.config.data=u}get options(){return this._options}set options(u){this.config.options=u}get registry(){return Ie}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,i.ae)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,i.af)(this.canvas,this.ctx),this}stop(){return e.stop(this),this}resize(u,f){e.running(this)?this._resizeBeforeDraw={width:u,height:f}:this._resize(u,f)}_resize(u,f){const x=this.options,V=this.platform.getMaximumSize(this.canvas,u,f,x.maintainAspectRatio&&this.aspectRatio),Q=x.devicePixelRatio||this.platform.getDevicePixelRatio(),ie=this.width?"resize":"attach";this.width=V.width,this.height=V.height,this._aspectRatio=this.aspectRatio,(0,i.ae)(this,Q,!0)&&(this.notifyPlugins("resize",{size:V}),(0,i.Q)(x.onResize,[this,V],this),this.attached&&this._doResize(ie)&&this.render())}ensureScalesHaveIDs(){(0,i.F)(this.options.scales||{},(x,M)=>{x.id=M})}buildOrUpdateScales(){const u=this.options,f=u.scales,x=this.scales,M=Object.keys(x).reduce((V,Q)=>(V[Q]=!1,V),{});let P=[];f&&(P=P.concat(Object.keys(f).map(V=>
1{const Q=f[V],ie=Wi(V,Q),Me="r"===ie,Ke="x"===ie;return{options:Q,dposition:Me?"chartArea":Ke?"bottom":"left",dtype:Me?"radialLinear":Ke?"category":"linear"}}))),(0,i.F)(P,V=>{const Q=V.options,ie=Q.id,Me=Wi(ie,Q),Ke=(0,i.v)(Q.type,V.dtype);(void 0===Q.position||os(Q.position,Me)!==os(V.dposition))&&(Q.position=V.dposition),M[ie]=!0;let Ct=null;ie in x&&x[ie].type===Ke?Ct=x[ie]:(Ct=new(Ie.getScale(Ke))({id:ie,type:Ke,ctx:this.ctx,chart:this}),x[Ct.id]=Ct),Ct.init(Q,u)}),(0,i.F)(M,(V,Q)=>{V||delete x[Q]}),(0,i.F)(x,V=>{ni.configure(this,V,V.options),ni.addBox(this,V)})}_updateMetasets(){const u=this._metasets,f=this.data.datasets.length,x=u.length;if(u.sort((M,P)=>M.index-P.index),x>f){for(let M=f;M<x;++M)this._destroyDatasetMeta(M);u.splice(f,x-f)}this._sortedMetasets=u.slice(0).sort(Ha("order","index"))}_removeUnreferencedMetasets(){const{_metasets:u,data:{datasets:f}}=this;u.length>f.length&&delete this._stacks,u.forEach((x,M)=>{0===f.filter(P=>P===x._dataset).length&&this._destroyDatasetMeta(M)})}buildOrUpdateControllers(){const u=[],f=this.data.datasets;let x,M;for(this._removeUnreferencedMetasets(),x=0,M=f.length;x<M;x++){const P=f[x];let V=this.getDatasetMeta(x);const Q=P.type||this.config.type;if(V.type&&V.type!==Q&&(this._destroyDatasetMeta(x),V=this.getDatasetMeta(x)),V.type=Q,V.indexAxis=P.indexAxis||vn(Q,this.options),V.order=P.order||0,V.index=x,V.label=""+P.label,V.visible=this.isDatasetVisible(x),V.controller)V.controller.updateIndex(x),V.controller.linkScales();else{const ie=Ie.getController(Q),{datasetElementType:Me,dataElementType:Ke}=i.d.datasets[Q];Object.assign(ie,{dataElementType:Ie.getElement(Ke),datasetElementType:Me&&Ie.getElement(Me)}),V.controller=new ie(this,x),u.push(V.controller)}}return this._updateMetasets(),u}_resetElements(){(0,i.F)(this.data.datasets,(u,f)=>{this.getDatasetMeta(f).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(u){const f=this.config;f.update();const x=this._options=f.createResolver(f.chartOptionScopes(),this.getContext()),M=this._animationsDisabled=!x.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:u,cancelable:!0}))return;const P=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let V=0;for(let Me=0,Ke=this.data.datasets.length;Me<Ke;Me++){const{controller:Ct}=this.getDatasetMeta(Me),St=!M&&-1===P.indexOf(Ct);Ct.buildOrUpdateElements(St),V=Math.max(+Ct.getMaxOverflow(),V)}V=this._minPadding=x.layout.autoPadding?V:0,this._updateLayout(V),M||(0,i.F)(P,Me=>{Me.reset()}),this._updateDatasets(u),this.notifyPlugins("afterUpdate",{mode:u}),this._layers.sort(Ha("z","_idx"));const{_active:Q,_lastEvent:ie}=this;ie?this._eventHandler(ie,!0):Q.length&&this._updateHoverStyles(Q,Q,!0),this.render()}_updateScales(){(0,i.F)(this.scales,u=>{ni.removeBox(this,u)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const u=this.options,f=new Set(Object.keys(this._listeners)),x=new Set(u.events);(!(0,i.ag)(f,x)||!!this._responsiveListeners!==u.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:u}=this,f=this._getUniformDataChanges()||[];for(const{method:x,start:M,count:P}of f)lo(u,M,"_removeElements"===x?-P:P)}_getUniformDataChanges(){const u=this._dataChanges;if(!u||!u.length)return;this._dataChanges=[];const f=this.data.datasets.length,x=P=>new Set(u.filter(V=>V[0]===P).map((V,Q)=>Q+","+V.splice(1).join(","))),M=x(0);for(let P=1;P<f;P++)if(!(0,i.ag)(M,x(P)))return;return Array.from(M).map(P=>P.split(",")).map(P=>({method:P[1],start:+P[2],count:+P[3]}))}_updateLayout(u){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ni.update(this,this.width,this.height,u);const f=this.chartArea,x=f.width<=0||f.height<=0;this._layers=[],(0,i.F)(this.boxes,M=>{x&&"chartArea"===M.position||(M.configure&&M.configure(),this._layers.push(...M._layers()))},this),this._layers.forEach((M,P)=>{M._idx=P}),this.notifyPlugins("afterLayout")}_updateDatasets(u){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:u,cancelable:!0})){for(let f=0,x=this.data.datasets.length;f<x;++f)this.getDatasetMeta(f).controller.configure();for(let f=0,x=this.data.datasets.length;f<x;++f)this._updateDataset(f,(0,i.a7)(u)?u({datasetIndex:f}):u);this.notifyPlugins("afterDatasetsUpdate",{mode:u})}}_updateDataset(u,f){const x=this.getDatasetMeta(u),M={meta:x,index:u,mode:f,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",M)&&(x.controller._update(f),M.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",M))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(e.has(this)?this.attached&&!e.running(this)&&e.start(this):(this.draw(),ba({chart:this})))}draw(){let u;if(this._resizeBeforeDraw){const{width:x,height:M}=this._resizeBeforeDraw;this._resize(x,M),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const f=this._layers;for(u=0;
1u<f.length&&f[u].z<=0;++u)f[u].draw(this.chartArea);for(this._drawDatasets();u<f.length;++u)f[u].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(u){const f=this._sortedMetasets,x=[];let M,P;for(M=0,P=f.length;M<P;++M){const V=f[M];(!u||V.visible)&&x.push(V)}return x}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const u=this.getSortedVisibleDatasetMetas();for(let f=u.length-1;f>=0;--f)this._drawDataset(u[f]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(u){const f=this.ctx,x=u._clip,M=!x.disabled,P=function za(y){const{xScale:u,yScale:f}=y;if(u&&f)return{left:u.left,right:u.right,top:f.top,bottom:f.bottom}}(u)||this.chartArea,V={meta:u,index:u.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",V)&&(M&&(0,i.Y)(f,{left:!1===x.left?0:P.left-x.left,right:!1===x.right?this.width:P.right+x.right,top:!1===x.top?0:P.top-x.top,bottom:!1===x.bottom?this.height:P.bottom+x.bottom}),u.controller.draw(),M&&(0,i.$)(f),V.cancelable=!1,this.notifyPlugins("afterDatasetDraw",V))}isPointInArea(u){return(0,i.C)(u,this.chartArea,this._minPadding)}getElementsAtEventForMode(u,f,x,M){const P=Hn.modes[f];return"function"==typeof P?P(this,u,x,M):[]}getDatasetMeta(u){const f=this.data.datasets[u],x=this._metasets;let M=x.filter(P=>P&&P._dataset===f).pop();return M||(M={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:f&&f.order||0,index:u,_dataset:f,_parsed:[],_sorted:!1},x.push(M)),M}getContext(){return this.$context||(this.$context=(0,i.j)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(u){const f=this.data.datasets[u];if(!f)return!1;const x=this.getDatasetMeta(u);return"boolean"==typeof x.hidden?!x.hidden:!f.hidden}setDatasetVisibility(u,f){this.getDatasetMeta(u).hidden=!f}toggleDataVisibility(u){this._hiddenIndices[u]=!this._hiddenIndices[u]}getDataVisibility(u){return!this._hiddenIndices[u]}_updateVisibility(u,f,x){const M=x?"show":"hide",P=this.getDatasetMeta(u),V=P.controller._resolveAnimations(void 0,M);(0,i.h)(f)?(P.data[f].hidden=!x,this.update()):(this.setDatasetVisibility(u,x),V.update(P,{visible:x}),this.update(Q=>Q.datasetIndex===u?M:void 0))}hide(u,f){this._updateVisibility(u,f,!1)}show(u,f){this._updateVisibility(u,f,!0)}_destroyDatasetMeta(u){const f=this._metasets[u];f&&f.controller&&f.controller._destroy(),delete this._metasets[u]}_stop(){let u,f;for(this.stop(),e.remove(this),u=0,f=this.data.datasets.length;u<f;++u)this._destroyDatasetMeta(u)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:u,ctx:f}=this;this._stop(),this.config.clearCache(),u&&(this.unbindEvents(),(0,i.af)(u,f),this.platform.releaseContext(f),this.canvas=null,this.ctx=null),delete ma[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...u){return this.canvas.toDataURL(...u)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const u=this._listeners,f=this.platform,x=(P,V)=>{f.addEventListener(this,P,V),u[P]=V},M=(P,V,Q)=>{P.offsetX=V,P.offsetY=Q,this._eventHandler(P)};(0,i.F)(this.options.events,P=>x(P,M))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const u=this._responsiveListeners,f=this.platform,x=(ie,Me)=>{f.addEventListener(this,ie,Me),u[ie]=Me},M=(ie,Me)=>{u[ie]&&(f.removeEventListener(this,ie,Me),delete u[ie])},P=(ie,Me)=>{this.canvas&&this.resize(ie,Me)};let V;const Q=()=>{M("attach",Q),this.attached=!0,this.resize(),x("resize",P),x("detach",V)};V=()=>{this.attached=!1,M("resize",P),this._stop(),this._resize(0,0),x("attach",Q)},f.isAttached(this.canvas)?Q():V()}unbindEvents(){(0,i.F)(this._listeners,(u,f)=>{this.platform.removeEventListener(this,f,u)}),this._listeners={},(0,i.F)(this._responsiveListeners,(u,f)=>{this.platform.removeEventListener(this,f,u)}),this._responsiveListeners=void 0}updateHoverStyle(u,f,x){const M=x?"set":"remove";let P,V,Q,ie;for("dataset"===f&&(P=this.getDatasetMeta(u[0].datasetIndex),P.controller["_"+M+"DatasetHoverStyle"]()),Q=0,ie=u.length;Q<ie;++Q){V=u[Q];const Me=V&&this.getDatasetMeta(V.datasetIndex).controller;Me&&Me[M+"HoverStyle"](V.element,V.datasetIndex,V.index)}}getActiveElements(){return this._active||[]}setActiveElements(u){const f=this._active||[],x=u.map(({datasetIndex:P,index:V})=>{const Q=this.getDatasetMeta(P);if(!Q)throw new Error("No dataset found at index "+P);return{datasetIndex:P,element:Q.data[V],index:V}});!(0,i.ah)(x,f)&&(this._active=x,this._lastEvent=null,this._updateHoverStyles(x,f))}notifyPlugins(u,f,x){return this._plugins.notify(this,u,f,x)}isPluginEnabled(u){return 1===this._plugins._cache.filter(f=>f.plugin.id===u).length}_updateHoverStyles(u,f,x){const M=this.options.hover,P=(ie,Me)=>
1ie.filter(Ke=>!Me.some(Ct=>Ke.datasetIndex===Ct.datasetIndex&&Ke.index===Ct.index)),V=P(f,u),Q=x?u:P(u,f);V.length&&this.updateHoverStyle(V,M.mode,!1),Q.length&&M.mode&&this.updateHoverStyle(Q,M.mode,!0)}_eventHandler(u,f){const x={event:u,replay:f,cancelable:!0,inChartArea:this.isPointInArea(u)},M=V=>(V.options.events||this.options.events).includes(u.native.type);if(!1===this.notifyPlugins("beforeEvent",x,M))return;const P=this._handleEvent(u,f,x.inChartArea);return x.cancelable=!1,this.notifyPlugins("afterEvent",x,M),(P||x.changed)&&this.render(),this}_handleEvent(u,f,x){const{_active:M=[],options:P}=this,Q=this._getActiveElements(u,M,x,f),ie=(0,i.ai)(u),Me=function ss(y,u,f,x){return f&&"mouseout"!==y.type?x?u:y:null}(u,this._lastEvent,x,ie);x&&(this._lastEvent=null,(0,i.Q)(P.onHover,[u,Q,this],this),ie&&(0,i.Q)(P.onClick,[u,Q,this],this));const Ke=!(0,i.ah)(Q,M);return(Ke||f)&&(this._active=Q,this._updateHoverStyles(Q,M,f)),this._lastEvent=Me,Ke}_getActiveElements(u,f,x,M){if("mouseout"===u.type)return[];if(!x)return f;const P=this.options.hover;return this.getElementsAtEventForMode(u,P.mode,P,M)}}function Ba(){return(0,i.F)(So.instances,y=>y._plugins.invalidate())}Zi(So,"defaults",i.d),Zi(So,"instances",ma),Zi(So,"overrides",i.a3),Zi(So,"registry",Ie),Zi(So,"version","4.0.1"),Zi(So,"getChart",as);var jo=So;function ga(y,u,f,x){return{x:f+y*Math.cos(u),y:x+y*Math.sin(u)}}function Oo(y,u,f,x,M,P){const{x:V,y:Q,startAngle:ie,pixelMargin:Me,innerRadius:Ke}=u,Ct=Math.max(u.outerRadius+x+f-Me,0),St=Ke>0?Ke+x+f+Me:0;let kt=0;const on=M-ie;if(x){const Ma=((Ke>0?Ke-x:0)+(Ct>0?Ct-x:0))/2;kt=(on-(0!==Ma?on*Ma/(Ma+x):on))/2}const On=(on-Math.max(.001,on*Ct-f/i.P)/Ct)/2,Sn=ie+On+kt,Un=M-On-kt,{outerStart:oi,outerEnd:Xn,innerStart:Jn,innerEnd:pi}=function ya(y,u,f,x){const M=function Ya(y){return(0,i.ak)(y,["outerStart","outerEnd","innerStart","innerEnd"])}(y.options.borderRadius),P=(f-u)/2,V=Math.min(P,x*u/2),Q=ie=>{const Me=(f-Math.min(P,ie))*x/2;return(0,i.S)(ie,0,Math.min(P,Me))};return{outerStart:Q(M.outerStart),outerEnd:Q(M.outerEnd),innerStart:(0,i.S)(M.innerStart,0,V),innerEnd:(0,i.S)(M.innerEnd,0,V)}}(u,St,Ct,Un-Sn),vi=Ct-oi,yi=Ct-Xn,ro=Sn+oi/vi,Mo=Un-Xn/yi,Yi=St+Jn,Vo=St+pi,Qa=Sn+Jn/Y
1i,ls=Un-pi/Vo;if(y.beginPath(),P){const Uo=(ro+Mo)/2;if(y.arc(V,Q,Ct,ro,Uo),y.arc(V,Q,Ct,Uo,Mo),Xn>0){const Ua=ga(yi,Mo,V,Q);y.arc(Ua.x,Ua.y,Xn,Mo,Un+i.H)}const $o=ga(Vo,Un,V,Q);if(y.lineTo($o.x,$o.y),pi>0){const Ua=ga(Vo,ls,V,Q);y.arc(Ua.x,Ua.y,pi,Un+i.H,ls+Math.PI)}const Ma=(Un-pi/St+(Sn+Jn/St))/2;if(y.arc(V,Q,St,Un-pi/St,Ma,!0),y.arc(V,Q,St,Ma,Sn+Jn/St,!0),Jn>0){const Ua=ga(Yi,Qa,V,Q);y.arc(Ua.x,Ua.y,Jn,Qa+Math.PI,Sn-i.H)}const Rs=ga(vi,Sn,V,Q);if(y.lineTo(Rs.x,Rs.y),oi>0){const Ua=ga(vi,ro,V,Q);y.arc(Ua.x,Ua.y,oi,Sn-i.H,ro)}}else{y.moveTo(V,Q);const Uo=Math.cos(ro)*Ct+V,$o=Math.sin(ro)*Ct+Q;y.lineTo(Uo,$o);const Ma=Math.cos(Mo)*Ct+V,Rs=Math.sin(Mo)*Ct+Q;y.lineTo(Ma,Rs)}y.closePath()}class Ce extends Y{constructor(u){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,u&&Object.assign(this,u)}inRange(u,f,x){const M=this.getProps(["x","y"],x),{angle:P,distance:V}=(0,i.D)(M,{x:u,y:f}),{startAngle:Q,endAngle:ie,innerRadius:Me,outerRadius:Ke,circumference:Ct}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],x),St=this.options.spacing/2,on=(0,i.v)(Ct,ie-Q)>=i.T||(0,i.p)(P,Q,ie),hn=(0,i.aj)(V,Me+St,Ke+St);return on&&hn}getCenterPoint(u){const{x:f,y:x,startAngle:M,endAngle:P,innerRadius:V,outerRadius:Q}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],u),{offset:ie,spacing:Me}=this.options,Ke=(M+P)/2,Ct=(V+Q+Me+ie)/2;return{x:f+Math.cos(Ke)*Ct,y:x+Math.sin(Ke)*Ct}}tooltipPosition(u){return this.getCenterPoint(u)}draw(u){const{options:f,circumference:x}=this,M=(f.offset||0)/4,P=(f.spacing||0)/2,V=f.circular;if(this.pixelMargin="inner"===f.borderAlign?.33:0,this.fullCircles=x>i.T?Math.floor(x/i.T):0,0===x||this.innerRadius<0||this.outerRadius<0)return;u.save();const Q=(this.startAngle+this.endAngle)/2;u.translate(Math.cos(Q)*M,Math.sin(Q)*M);const Me=M*(1-Math.sin(Math.min(i.P,x||0)));u.fillStyle=f.backgroundColor,u.strokeStyle=f.borderColor,function Ae(y,u,f,x,M){const{fullCircles:P,startAngle:V,circumference:Q}=u;let ie=u.endAngle;if(P){Oo(y,u,f,x,ie,M);for(let Me=0;Me<P;++Me)y.fill();isNaN(Q)||(ie=V+(Q%i.T||i.T))}Oo(y,u,f,x,ie,M),y.fill()}(u,this,Me,P,V),function tt(y,u,f,x,M){const{fullCircles:P,startAngle:V,circumference:Q,options:ie}=u,{borderWidth:Me,borderJoinStyle:Ke}=ie,Ct="inner"===ie.borderAlign;if(!Me)return;Ct?(y.lineWidth=2*Me,y.lineJoin=Ke||"round"):(y.lineWidth=Me,y.lineJoin=Ke||"bevel");let St=u.endAngle;if(P){Oo(y,u,f,x,St,M);for(let kt=0;kt<P;++kt)y.stroke();isNaN(Q)||(St=V+(Q%i.T||i.T))}Ct&&function $a(y,u,f){const{startAngle:x,pixelMargin:M,x:P,y:V,outerRadius:Q,innerRadius:ie}=u;let Me=M/Q;y.beginPath(),y.arc(P,V,Q,x-Me,f+Me),ie>M?(Me=M/ie,y.arc(P,V,ie,f+Me,x-Me,!0)):y.arc(P,V,M,f+i.H,x-i.H),y.closePath(),y.clip()}(y,u,St),P||(Oo(y,u,f,x,St,M),y.stroke())}(u,this,Me,P,V),u.restore()}}function mt(y,u,f=u){y.lineCap=(0,i.v)(f.borderCapStyle,u.borderCapStyle),y.setLineDash((0,i.v)(f.borderDash,u.borderDash)),y.lineDashOffset=(0,i.v)(f.borderDashOffset,u.borderDashOffset),y.lineJoin=(0,i.v)(f.borderJoinStyle,u.borderJoinStyle),y.lineWidth=(0,i.v)(f.borderWidth,u.borderWidth),y.strokeStyle=(0,i.v)(f.borderColor,u.borderColor)}function Ht(y,u,f){y.lineTo(f.x,f.y)}function wn(y,u,f={}){const x=y.length,{start:M=0,end:P=x-1}=f,{start:V,end:Q}=u,ie=Math.max(M,V),Me=Math.min(P,Q);return{count:x,start:ie,loop:u.loop,ilen:Me<ie&&!(M<V&&P<V||M>Q&&P>Q)?x+Me-ie:Me-ie}}function fi(y,u,f,x){const{points:M,options:P}=u,{count:V,start:Q,loop:ie,ilen:Me}=wn(M,f,x),Ke=function En(y){return y.stepped?i.ar:y.tension||"monotone"===y.cubicInterpolationMode?i.as:Ht}(P);let kt,on,hn,{move:Ct=!0,reverse:St}=x||{};for(kt=0;kt<=Me;++kt)on=M[(Q+(St?Me-kt:kt))%V],!on.skip&&(Ct?(y.moveTo(on.x,on.y),Ct=!1):Ke(y,hn,on,St,P.stepped),hn=on);return ie&&(on=M[(Q+(St?Me:0))%V],Ke(y,hn,on,St,P.stepped)),!!ie}function mo(y,u,f,x){const M=u.points,{count:P,start:V,ilen:Q}=wn(M,f,x),{move:ie=!0,reverse:Me}=x||{};let St,kt,on,hn,On,Sn,Ke=0,Ct=0;const Un=Xn=>(V+(Me?Q-Xn:Xn))%P,oi=()=>{hn!==On&&(y.lineTo(Ke,On),y.lineTo(Ke,hn),y.lineTo(Ke,Sn))};for(ie&&(kt=M[Un(0)],y.moveTo(kt.x,kt.y)),St=0;St<=Q;++St){if(kt=M[Un(St)],kt.skip)continue;const Xn=kt.x,Jn=kt.y,pi=0|Xn;pi===on?(Jn<hn?hn=Jn:Jn>On&&(On=Jn),Ke=(Ct*Ke+Xn)/++Ct):(oi(),y.lineTo(Xn,Jn),on=pi,Ct=0,hn=On=Jn),Sn=Jn}oi()}function _o(y){const u=y.options;return y._decimated||y._loop||u.tension||"monotone"===u.cubicInterpolationMode||u.stepped||u.borderDash&&u.borderDash.length?fi:mo}Zi(Ce,"id","arc"),Zi(Ce,"defaults",{borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),Zi(Ce,"defaultRoutes",{backgroundColor:"backgroundColor"});const To="function"==typeof Path2D;class $ extends Y{constructor(u){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,u&&Object.assign(this,u)}updateControlPoints(u,f){const x=this.options;!x.tension&&"monotone"!==x.cubicInterpolationMode||x.stepped||this._pointsUpdated||((0,i.al)(this._points,x,u,x.spanGaps?this._loop:this._fullLoop,f),this._pointsUpdated=!0)}set points(u){this._points=u,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,i.am)(this,this.options.segment))}first(){const u=this.segments;return u.length&&this.points[u[0].start]}last(){const u=this.segments,x=u.length;return x&&this.points[u[x-1].end]}interpolate(u,f){const x=this.options,M=u[f],P=this.points,V=(0,i.an)(this,{property:f,start:M,end:M});if(!V.length)return;const Q=[],ie=function io(y){return y.stepped?i.ao:y.tension||"monotone"===y.cubicInterpolationMode?i.ap:i.aq}(x);let Me,Ke;for(Me=0,Ke=V.length;Me<Ke;++Me){const{start:Ct,end:St}=V[Me],kt=P[Ct],on=P[St];if(kt===on){Q.push(kt);continue}const On=ie(kt,on,Math.abs((M-kt[f])/(on[f]-kt[f])),x.stepped);On[f]=u[f],Q.push(On)}return 1===Q.length?Q[0]:Q}pathSegment(u,f,x){return _o(this)(u,this,f,x)}path(u,f,x){const M=this.segments,P=_o(this);let V=this._loop;f=f||0,x=x||this.points.length-f;for(const Q of M)V&=P(u,this,Q,{start:f,end:f+x-1});return!!V}draw(u,f,x,M){(this.points||[]).length&&(this.options||{}).borderWidth&&(u.save(),function ve(y,u,f,x){To&&!u.options.segment?function ao(y,u,f,x){let M=u._path;M||(M=u._path=new Path2D,u.path(M,f,x)&&M.closePath()),mt(y,u.options),y.stroke(M)}(y,u,f,x):function No(y,u,f,x){const{segments:M,options:P}=u,V=_o(u);for(const Q of M)mt(y,P,Q.style),y.beginPath(),V(y,u,Q,{start:f,end:f+x-1})&&y.closePath(),y.stroke()}(y,u,f,x)}
1(u,this,x,M),u.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function L(y,u,f,x){const M=y.options,{[f]:P}=y.getProps([f],x);return Math.abs(u-P)<M.radius+M.hitRadius}Zi($,"id","line"),Zi($,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),Zi($,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),Zi($,"descriptors",{_scriptable:!0,_indexable:u=>"borderDash"!==u&&"fill"!==u});class U extends Y{constructor(u){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,u&&Object.assign(this,u)}inRange(u,f,x){const M=this.options,{x:P,y:V}=this.getProps(["x","y"],x);return Math.pow(u-P,2)+Math.pow(f-V,2)<Math.pow(M.hitRadius+M.radius,2)}inXRange(u,f){return L(this,u,"x",f)}inYRange(u,f){return L(this,u,"y",f)}getCenterPoint(u){const{x:f,y:x}=this.getProps(["x","y"],u);return{x:f,y:x}}size(u){let f=(u=u||this.options||{}).radius||0;return f=Math.max(f,f&&u.hoverRadius||0),2*(f+(f&&u.borderWidth||0))}draw(u,f){const x=this.options;this.skip||x.radius<.1||!(0,i.C)(this,f,this.size(x)/2)||(u.strokeStyle=x.borderColor,u.lineWidth=x.borderWidth,u.fillStyle=x.backgroundColor,(0,i.at)(u,x,this.x,this.y))}getRange(){const u=this.options||{};return u.radius+u.hitRadius}}function ce(y,u){const{x:f,y:x,base:M,width:P,height:V}=y.getProps(["x","y","base","width","height"],u);let Q,ie,Me,Ke,Ct;return y.horizontal?(Ct=V/2,Q=Math.min(f,M),ie=Math.max(f,M),Me=x-Ct,Ke=x+Ct):(Ct=P/2,Q=f-Ct,ie=f+Ct,Me=Math.min(x,M),Ke=Math.max(x,M)),{left:Q,top:Me,right:ie,bottom:Ke}}function vt(y,u,f,x){return y?0:(0,i.S)(u,f,x)}function Wn(y,u,f,x){const M=null===u,P=null===f,Q=y&&!(M&&P)&&ce(y,x);return Q&&(M||(0,i.aj)(u,Q.left,Q.right))&&(P||(0,i.aj)(f,Q.top,Q.bottom))}function fo(y,u){y.rect(u.x,u.y,u.w,u.h)}function gn(y,u,f={}){const x=y.x!==f.x?-u:0,M=y.y!==f.y?-u:0;return{x:y.x+x,y:y.y+M,w:y.w+((y.x+y.w!==f.x+f.w?u:0)-x),h:y.h+((y.y+y.h!==f.y+f.h?u:0)-M),radius:y.radius}}Zi(U,"id","point"),Zi(U,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),Zi(U,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});class ri extends Y{constructor(u){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,u&&Object.assign(this,u)}draw(u){const{inflateAmount:f,options:{borderColor:x,backgroundColor:M}}=this,{inner:P,outer:V}=function Mi(y){const u=ce(y),f=u.right-u.left,x=u.bottom-u.top,M=function Wt(y,u,f){const M=y.borderSkipped,P=(0,i.av)(y.options.borderWidth);return{t:vt(M.top,P.top,0,f),r:vt(M.right,P.right,0,u),b:vt(M.bottom,P.bottom,0,f),l:vt(M.left,P.left,0,u)}}(y,f/2,x/2),P=function qn(y,u,f){const{enableBorderRadius:x}=y.getProps(["enableBorderRadius"]),M=y.options.borderRadius,P=(0,i.aw)(M),V=Math.min(u,f),Q=y.borderSkipped,ie=x||(0,i.i)(M);return{topLeft:vt(!ie||Q.top||Q.left,P.topLeft,0,V),topRight:vt(!ie||Q.top||Q.right,P.topRight,0,V),bottomLeft:vt(!ie||Q.bottom||Q.left,P.bottomLeft,0,V),bottomRight:vt(!ie||Q.bottom||Q.right,P.bottomRight,0,V)}}(y,f/2,x/2);return{outer:{x:u.left,y:u.top,w:f,h:x,radius:P},inner:{x:u.left+M.l,y:u.top+M.t,w:f-M.l-M.r,h:x-M.t-M.b,radius:{topLeft:Math.max(0,P.topLeft-Math.max(M.t,M.l)),topRight:Math.max(0,P.topRight-Math.max(M.t,M.r)),bottomLeft:Math.max(0,P.bottomLeft-Math.max(M.b,M.l)),bottomRight:Math.max(0,P.bottomRight-Math.max(M.b,M.r))}}}}(this),Q=function Ai(y){return y.topLeft||y.topRight||y.bottomLeft||y.bottomRight}(V.radius)?i.au:fo;u.save(),(V.w!==P.w||V.h!==P.h)&&(u.beginPath(),Q(u,gn(V,f,P)),u.clip(),Q(u,gn(P,-f,V)),u.fillStyle=x,u.fill("evenodd")),u.beginPath(),Q(u,gn(P,f)),u.fillStyle=M,u.fill(),u.restore()}inRange(u,f,x){return Wn(this,u,f,x)}inXRange(u,f){return Wn(this,u,null,f)}inYRange(u,f){return Wn(this,null,u,f)}getCenterPoint(u){const{x:f,y:x,base:M,horizontal:P}=this.getProps(["x","y","base","horizontal"],u);return{x:P?(f+M)/2:f,y:P?x:(x+M)/2}}getRange(u){return"x"===u?this.width/2:this.height/2}}Zi(ri,"id","bar"),Zi(ri,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmou
1nt:"auto",pointStyle:void 0}),Zi(ri,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var Do=Object.freeze({__proto__:null,ArcElement:Ce,LineElement:$,PointElement:U,BarElement:ri});const so=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],xa=so.map(y=>y.replace("rgb(","rgba(").replace(")",", 0.5)"));function Aa(y){return so[y%so.length]}function Sa(y){return xa[y%xa.length]}function mr(y){let u;for(u in y)if(y[u].borderColor||y[u].backgroundColor)return!0;return!1}var ks={id:"colors",defaults:{enabled:!0},beforeLayout(y,u,f){if(!f.enabled)return;const{type:x,options:{elements:M},data:{datasets:P}}=y.config;if(mr(P)||M&&mr(M))return;const V=function er(y){return"doughnut"===y||"pie"===y?function Xs(){let y=0;return u=>{u.backgroundColor=u.data.map(()=>Aa(y++))}}():"polarArea"===y?function ds(){let y=0;return u=>{u.backgroundColor=u.data.map(()=>Sa(y++))}}():function zs(){return(y,u)=>{y.borderColor=Aa(u),y.backgroundColor=Sa(u)}}()}(x);P.forEach(V)}};function Fe(y){if(y._decimated){const u=y._data;delete y._decimated,delete y._data,Object.defineProperty(y,"data",{value:u})}}function B(y){y.data.datasets.forEach(u=>{Fe(u)})}var pe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(y,u,f)=>{if(!f.enabled)return void B(y);const x=y.width;y.data.datasets.forEach((M,P)=>{const{_data:V,indexAxis:Q}=M,ie=y.getDatasetMeta(P),Me=V||M.data;if("y"===(0,i.a)([Q,y.options.indexAxis])||!ie.controller.supportsDecimation)return;const Ke=y.scales[ie.xAxisID];if("linear"!==Ke.type&&"time"!==Ke.type||y.options.parsing)return;let on,{start:Ct,count:St}=function j(y,u){const f=u.length;let M,x=0;const{iScale:P}=y,{min:V,max:Q,minDefined:ie,maxDefined:Me}=P.getUserBounds();return ie&&(x=(0,i.S)((0,i.B)(u,P.axis,V).lo,0,f-1)),M=Me?(0,i.S)((0,i.B)(u,P.axis,Q).hi+1,x,f)-x:f-x,{start:x,count:M}}(ie,Me);if(St<=(f.threshold||4*x))Fe(M);else{switch((0,i.k)(V)&&(M._data=Me,delete M.data,Object.defineProperty(M,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(hn){this._data=hn}})),f.algorithm){case"lttb":on=function Ea(y,u,f,x,M){const P=M.samples||x;if(P>=f)return y.slice(u,u+f);const V=[],Q=(f-2)/(P-2);let ie=0;const Me=u+f-1;let Ct,St,kt,on,hn,Ke=u;for(V[ie++]=y[Ke],Ct=0;Ct<P-2;Ct++){let Un,On=0,Sn=0;const oi=Math.floor((Ct+1)*Q)+1+u,Xn=Math.min(Math.floor((Ct+2)*Q)+1,f)+u,Jn=Xn-oi;for(Un=oi;Un<Xn;Un++)On+=y[Un].x,Sn+=y[Un].y;On/=Jn,Sn/=Jn;const pi=Math.floor(Ct*Q)+1+u,vi=Math.min(Math.floor((Ct+1)*Q)+1,f)+u,{x:yi,y:ro}=y[Ke];for(kt=on=-1,Un=pi;Un<vi;Un++)on=.5*Math.abs((yi-On)*(y[Un].y-ro)-(yi-y[Un].x)*(Sn-ro)),on>kt&&(kt=on,St=y[Un],hn=Un);V[ie++]=St,Ke=hn}return V[ie++]=y[Me],V}(Me,Ct,St,x,f);break;case"min-max":on=function Xa(y,u,f,x){let V,Q,ie,Me,Ke,Ct,St,kt,on,hn,M=0,P=0;const On=[],Un=y[u].x,Xn=y[u+f-1].x-Un;for(V=u;V<u+f;++V){Q=y[V],ie=(Q.x-Un)/Xn*x,Me=Q.y;const Jn=0|ie;if(Jn===Ke)Me<on?(on=Me,Ct=V):Me>hn&&(hn=Me,St=V),M=(P*M+Q.x)/++P;else{const pi=V-1;if(!(0,i.k)(Ct)&&!(0,i.k)(St)){const vi=Math.min(Ct,St),yi=Math.max(Ct,St);vi!==kt&&vi!==pi&&On.push(b1(C1({},y[vi]),{x:M})),yi!==kt&&yi!==pi&&On.push(b1(C1({},y[yi]),{x:M}))}V>0&&pi!==kt&&On.push(y[pi]),On.push(Q),Ke=Jn,P=0,on=hn=Me,Ct=St=kt=V}}return On}(Me,Ct,St,x);break;default:throw new Error(`Unsupported decimation algorithm '${f.algorithm}'`)}M._decimated=on}})},destroy(y){B(y)}};function Tt(y,u,f,x){if(x)return;let M=u[y],P=f[y];return"angle"===y&&(M=(0,i.ay)(M),P=(0,i.ay)(P)),{property:y,start:M,end:P}}function Jt(y,u,f){for(;u>y;u--){const x=f[u];if(!isNaN(x.x)&&!isNaN(x.y))break}return u}function sn(y,u,f,x){return y&&u?x(y[f],u[f]):y?y[f]:u?u[f]:0}function Vn(y,u){let f=[],x=!1;return(0,i.b)(y)?(x=!0,f=y):f=function Gt(y,u){const{x:f=null,y:x=null}=y||{},M=u.points,P=[];return u.segments.forEach(({start:V,end:Q})=>{Q=Jt(V,Q,M);const ie=M[V],Me=M[Q];null!==x?(P.push({x:ie.x,y:x}),P.push({x:Me.x,y:x})):null!==f&&(P.push({x:f,y:ie.y}),P.push({x:f,y:Me.y}))}),P}(y,u),f.length?new $({points:f,options:{tension:0},_loop:x,_fullLoop:x}):null}function li(y){return y&&!1!==y.fill}function wi(y,u,f){let M=y[u].fill;const P=[u];let V;if(!f)return M;for(;!1!==M&&-1===P.indexOf(M);){if(!(0,i.g)(M))return M;if(V=y[M],!V)return!1;if(V.visible)return M;P.push(M),M=V.fill}return!1}function Qi(y,u,f){const x=function Io(y){const u=y.options,f=u.fill;let x=(0,i.v)(f&&f.target,f);return void 0===x&&(x=!!u.backgroundColor),!1!==x&&null!==x&&(!0===x?"origin":x)}(y);if((0,i.i)(x))return!isNaN(x.value)&&x;let M=parseFloat(x);return(0,i.g)(M)&&Math.floor(M)===M?function Xi(y,u,f,x){return("-"===y||"+"===y)&&(f=u+f),!(f===u||f<0||f>=x)&&f}(x[0],u,M,f):["origin","start","end","stack","shape"].indexOf(x)>=0&&x}function Oa(y,u,f){const x=[];for(let M=0;M<f.length;M++){const P=f[M],{first:V,last:Q,point:ie}=aa(P,u,"x");
1if(!(!ie||V&&Q))if(V)x.unshift(ie);else if(y.push(ie),!Q)break}y.push(...x)}function aa(y,u,f){const x=y.interpolate(u,f);if(!x)return{};const M=x[f],P=y.segments,V=y.points;let Q=!1,ie=!1;for(let Me=0;Me<P.length;Me++){const Ke=P[Me],Ct=V[Ke.start][f],St=V[Ke.end][f];if((0,i.aj)(M,Ct,St)){Q=M===Ct,ie=M===St;break}}return{first:Q,last:ie,point:x}}class zo{constructor(u){this.x=u.x,this.y=u.y,this.radius=u.radius}pathSegment(u,f,x){const{x:M,y:P,radius:V}=this;return u.arc(M,P,V,(f=f||{start:0,end:i.T}).end,f.start,!0),!x.bounds}interpolate(u){const{x:f,y:x,radius:M}=this,P=u.angle;return{x:f+Math.cos(P)*M,y:x+Math.sin(P)*M,angle:P}}}function ke(y,u,f){const x=function sa(y){const{chart:u,fill:f,line:x}=y;if((0,i.g)(f))return function po(y,u){const f=y.getDatasetMeta(u);return f&&y.isDatasetVisible(u)?f.dataset:null}(u,f);if("stack"===f)return function Ko(y){const{scale:u,index:f,line:x}=y,M=[],P=x.segments,V=x.points,Q=function Qo(y,u){const f=[],x=y.getMatchingVisibleMetas("line");for(let M=0;M<x.length;M++){const P=x[M];if(P.index===u)break;P.hidden||f.unshift(P.dataset)}return f}(u,f);Q.push(Vn({x:null,y:u.bottom},x));for(let ie=0;ie<P.length;ie++){const Me=P[ie];for(let Ke=Me.start;Ke<=Me.end;Ke++)Oa(M,V[Ke],Q)}return new $({points:M,options:{}})}(y);if("shape"===f)return!0;const M=function N(y){return(y.scale||{}).getPointPositionForValue?function xe(y){const{scale:u,fill:f}=y,x=u.options,M=u.getLabels().length,P=x.reverse?u.max:u.min,V=function eo(y,u,f){let x;return x="start"===y?f:"end"===y?u.options.reverse?u.min:u.max:(0,i.i)(y)?y.value:u.getBaseValue(),x}(f,u,P),Q=[];if(x.grid.circular){const ie=u.getPointPositionForValue(0,P);return new zo({x:ie.x,y:ie.y,radius:u.getDistanceFromCenterForValue(V)})}for(let ie=0;ie<M;++ie)Q.push(u.getPointPositionForValue(ie,V));return Q}(y):function H(y){const{scale:u={},fill:f}=y,x=function Ui(y,u){let f=null;return"start"===y?f=u.bottom:"end"===y?f=u.top:(0,i.i)(y)?f=u.getPixelForValue(y.value):u.getBasePixel&&(f=u.getBasePixel()),f}(f,u);if((0,i.g)(x)){const M=u.isHorizontal();return{x:M?x:null,y:M?null:x}}return null}(y)}(y);return M instanceof zo?M:Vn(M,x)}(u),{line:M,scale:P,axis:V}=u,Q=M.options,ie=Q.fill,Me=Q.backgroundColor,{above:Ke=Me,below:Ct=Me}=ie||{};x&&M.points.length&&((0,i.Y)(y,f),function ut(y,u){const{line:f,target:x,above:M,below:P,area:V,scale:Q}=u,ie=f._loop?"angle":u.axis;y.save(),"x"===ie&&P!==M&&(Pt(y,x,V.top),Bt(y,{line:f,target:x,color:M,scale:Q,property:ie}),y.restore(),y.save(),Pt(y,x,V.bottom)),Bt(y,{line:f,target:x,color:P,scale:Q,property:ie}),y.restore()}(y,{line:M,target:x,above:Ke,below:Ct,area:f,scale:P,axis:V}),(0,i.$)(y))}function Pt(y,u,f){const{segments:x,points:M}=u;let P=!0,V=!1;y.beginPath();for(const Q of x){const{start:ie,end:Me}=Q,Ke=M[ie],Ct=M[Jt(ie,Me,M)];P?(y.moveTo(Ke.x,Ke.y),P=!1):(y.lineTo(Ke.x,f),y.lineTo(Ke.x,Ke.y)),V=!!u.pathSegment(y,Q,{move:V}),V?y.closePath():y.lineTo(Ct.x,f)}y.lineTo(u.first().x,f),y.closePath(),y.clip()}function Bt(y,u){const{line:f,target:x,property:M,color:P,scale:V}=u,Q=function Ge(y,u,f){const x=y.segments,M=y.points,P=u.points,V=[];for(const Q of x){let{start:ie,end:Me}=Q;Me=Jt(ie,Me,M);const Ke=Tt(f,M[ie],M[Me],Q.loop);if(!u.segments){V.push({source:Q,target:Ke,start:M[ie],end:M[Me]});continue}const Ct=(0,i.an)(u,Ke);for(const St of Ct){const kt=Tt(f,P[St.start],P[St.end],St.loop),on=(0,i.ax)(Q,M,kt);for(const hn of on)V.push({source:hn,target:St,start:{[f]:sn(Ke,kt,"start",Math.max)},end:{[f]:sn(Ke,kt,"end",Math.min)}})}}return V}(f,x,M);for(const{source:ie,target:Me,start:Ke,end:Ct}of Q){const{style:{backgroundColor:St=P}={}}=ie,kt=!0!==x;y.save(),y.fillStyle=St,nn(y,V,kt&&Tt(M,Ke,Ct)),y.beginPath();const on=!!f.pathSegment(y,ie);let hn;if(kt){on?y.closePath():en(y,x,Ct,M);const On=!!x.pathSegment(y,Me,{move:on,reverse:!0});hn=on&&On,hn||en(y,x,Ke,M)}y.closePath(),y.fill(hn?"evenodd":"nonzero"),y.restore()}}function nn(y,u,f){const{top:x,bottom:M}=u.chart.chartArea,{property:P,start:V,end:Q}=f||{};"x"===P&&(y.beginPath(),y.rect(V,x,Q-V,M-x),y.clip())}function en(y,u,f,x){const M=u.interpolate(f,x);M&&y.lineTo(M.x,M.y)}var cn={id:"filler",afterDatasetsUpdate(y,u,f){const x=(y.data.datasets||[]).length,M=[];let P,V,Q,ie;for(V=0;V<x;++V)P=y.getDatasetMeta(V),Q=P.dataset,ie=null,Q&&Q.options&&Q instanceof $&&(ie={visible:y.isDatasetVisible(V),index:V,fill:Qi(Q,V,x),chart:y,axis:P.controller.options.indexAxis,scale:P.vScale,line:Q}),P.$filler=ie,M.push(ie);for(V=0;V<x;++V)ie=M[V],ie&&!1!==ie.fill&&(ie.fill=wi(M,V,f.propagate))},beforeDraw(y,u,f){const x="beforeDraw"===f.drawTime,M=y.getSortedVisibleDatasetMetas(),P=y.chartArea;for(let V=M.length-1;V>=0;--V){const Q=M[V].$filler;!Q||(Q.line.updateControlPoints(P,Q.axis),x&&Q.fill&&ke(y.ctx,Q,P))}},beforeDatasetsDraw(y,u,f){if("beforeDatasetsDraw"!==f.drawTime)return;const x=y.getSortedVisibleDatasetMetas();for(let M=x.length-1;M>=0;--M){const P=x[M].$filler;li(P)&&ke(y.ctx,P,y.chartArea)}},beforeDatasetDraw(y,u,f){const x=u.meta.$filler;!li(x)||"beforeDatasetDraw"!==f.drawTime||ke(y.ctx,x,y.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const xn=(y,u)=>{let{boxHeight:f=u,boxWidth:x=u}=y;return y.usePointStyle&&(f=Math.min(f,u),x=y.pointStyleWidth||Math.min(x,u)),{boxWidth:x,boxHeight:f,itemHeight:Math.max(u,f)}};class _i extends Y{constructor(u){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=u.chart,this.options=u.options,this.ctx=u.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(u,f,x){this.maxWidth=u,this.maxHeight=f,this._margins=x,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const u=this.options.labels||{};let f=(0,i.Q)(u.generateLabels,[this.chart],this)||[];u.filter&&(f=f.filter(x=>u.filter(x,this.chart.data))),u.sort&&(f=f.sort((x,M)=>u.sort(x,M,this.chart.data))),this.options.reverse&&f.reverse(),this.legendItems=f}fit(){const{options:u,ctx:f}=this;if(!u.display)return void(this.width=this.height=0);const x=u.labels,M=(0,i.a0)(x.font),P=M.size,V=this._computeTitleHeight(),{boxWidth:Q,itemHeight:ie}=xn(x,P);let Me,Ke;
1f.font=M.string,this.isHorizontal()?(Me=this.maxWidth,Ke=this._fitRows(V,P,Q,ie)+10):(Ke=this.maxHeight,Me=this._fitCols(V,M,Q,ie)+10),this.width=Math.min(Me,u.maxWidth||this.maxWidth),this.height=Math.min(Ke,u.maxHeight||this.maxHeight)}_fitRows(u,f,x,M){const{ctx:P,maxWidth:V,options:{labels:{padding:Q}}}=this,ie=this.legendHitBoxes=[],Me=this.lineWidths=[0],Ke=M+Q;let Ct=u;P.textAlign="left",P.textBaseline="middle";let St=-1,kt=-Ke;return this.legendItems.forEach((on,hn)=>{const On=x+f/2+P.measureText(on.text).width;(0===hn||Me[Me.length-1]+On+2*Q>V)&&(Ct+=Ke,Me[Me.length-(hn>0?0:1)]=0,kt+=Ke,St++),ie[hn]={left:0,top:kt,row:St,width:On,height:M},Me[Me.length-1]+=On+Q}),Ct}_fitCols(u,f,x,M){const{ctx:P,maxHeight:V,options:{labels:{padding:Q}}}=this,ie=this.legendHitBoxes=[],Me=this.columnSizes=[],Ke=V-u;let Ct=Q,St=0,kt=0,on=0,hn=0;return this.legendItems.forEach((On,Sn)=>{const{itemWidth:Un,itemHeight:oi}=function oo(y,u,f,x,M){const P=function Eo(y,u,f,x){let M=y.text;return M&&"string"!=typeof M&&(M=M.reduce((P,V)=>P.length>V.length?P:V)),u+f.size/2+x.measureText(M).width}(x,y,u,f),V=function ki(y,u,f){let x=y;return"string"!=typeof u.text&&(x=Gn(u,f)),x}(M,x,u.lineHeight);return{itemWidth:P,itemHeight:V}}(x,f,P,On,M);Sn>0&&kt+oi+2*Q>Ke&&(Ct+=St+Q,Me.push({width:St,height:kt}),on+=St+Q,hn++,St=kt=0),ie[Sn]={left:on,top:kt,col:hn,width:Un,height:oi},St=Math.max(St,Un),kt+=oi+Q}),Ct+=St,Me.push({width:St,height:kt}),Ct}adjustHitBoxes(){if(!this.options.display)return;const u=this._computeTitleHeight(),{legendHitBoxes:f,options:{align:x,labels:{padding:M},rtl:P}}=this,V=(0,i.az)(P,this.left,this.width);if(this.isHorizontal()){let Q=0,ie=(0,i.a2)(x,this.left+M,this.right-this.lineWidths[Q]);for(const Me of f)Q!==Me.row&&(Q=Me.row,ie=(0,i.a2)(x,this.left+M,this.right-this.lineWidths[Q])),Me.top+=this.top+u+M,Me.left=V.leftForLtr(V.x(ie),Me.width),ie+=Me.width+M}else{let Q=0,ie=(0,i.a2)(x,this.top+u+M,this.bottom-this.columnSizes[Q].height);for(const Me of f)Me.col!==Q&&(Q=Me.col,ie=(0,i.a2)(x,this.top+u+M,this.bottom-this.columnSizes[Q].height)),Me.top=ie,Me.left+=this.left+M,Me.left=V.leftForLtr(V.x(Me.left),Me.width),ie+=Me.height+M}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const u=this.ctx;(0,i.Y)(u,this),this._draw(),(0,i.$)(u)}}_draw(){const{options:u,columnSizes:f,lineWidths:x,ctx:M}=this,{align:P,labels:V}=u,Q=i.d.color,ie=(0,i.az)(u.rtl,this.left,this.width),Me=(0,i.a0)(V.font),{padding:Ke}=V,Ct=Me.size,St=Ct/2;let kt;this.drawTitle(),M.textAlign=ie.textAlign("left"),M.textBaseline="middle",M.lineWidth=.5,M.font=Me.string;const{boxWidth:on,boxHeight:hn,itemHeight:On}=xn(V,Ct),oi=this.isHorizontal(),Xn=this._computeTitleHeight();kt=oi?{x:(0,i.a2)(P,this.left+Ke,this.right-x[0]),y:this.top+Ke+Xn,line:0}:{x:this.left+Ke,y:(0,i.a2)(P,this.top+Xn+Ke,this.bottom-f[0].height),line:0},(0,i.aA)(this.ctx,u.textDirection);const Jn=On+Ke;this.legendItems.forEach((pi,vi)=>{M.strokeStyle=pi.fontColor,M.fillStyle=pi.fontColor;const yi=M.measureText(pi.text).width,ro=ie.textAlign(pi.textAlign||(pi.textAlign=V.textAlign)),Mo=on+St+yi;let Yi=kt.x,Vo=kt.y;ie.setWidth(this.width),oi?vi>0&&Yi+Mo+Ke>this.right&&(Vo=kt.y+=Jn,kt.line++,Yi=kt.x=(0,i.a2)(P,this.left+Ke,this.right-x[kt.line])):vi>0&&Vo+Jn>this.bottom&&(Yi=kt.x=Yi+f[kt.line].width+Ke,kt.line++,Vo=kt.y=(0,i.a2)(P,this.top+Xn+Ke,this.bottom-f[kt.line].height)),function(pi,vi,yi){if(isNaN(on)||on<=0||isNaN(hn)||hn<0)return;M.save();const ro=(0,i.v)(yi.lineWidth,1);if(M.fillStyle=(0,i.v)(yi.fillStyle,Q),M.lineCap=(0,i.v)(yi.lineCap,"butt"),M.lineDashOffset=(0,i.v)(yi.lineDashOffset,0),M.lineJoin=(0,i.v)(yi.lineJoin,"miter"),M.lineWidth=ro,M.strokeStyle=(0,i.v)(yi.strokeStyle,Q),M.setLineDash((0,i.v)(yi.lineDash,[])),V.usePointStyle){const Mo={radius:hn*Math.SQRT2/2,pointStyle:yi.pointStyle,rotation:yi.rotation,borderWidth:ro},Yi=ie.xPlus(pi,on/2);(0,i.aD)(M,Mo,Yi,vi+St,V.pointStyleWidth&&on)}else{const Mo=vi+Math.max((Ct-hn)/2,0),Yi=ie.leftForLtr(pi,on),Vo=(0,i.aw)(yi.borderRadius);M.beginPath(),Object.values(Vo).some(Qa=>0!==Qa)?(0,i.au)(M,{x:Yi,y:Mo,w:on,h:hn,radius:Vo}):M.rect(Yi,Mo,on,hn),M.fill(),0!==ro&&M.stroke()}
1M.restore()}(ie.x(Yi),Vo,pi),Yi=(0,i.aB)(ro,Yi+on+St,oi?Yi+Mo:this.right,u.rtl),function(pi,vi,yi){(0,i.Z)(M,yi.text,pi,vi+On/2,Me,{strikethrough:yi.hidden,textAlign:ie.textAlign(yi.textAlign)})}(ie.x(Yi),Vo,pi),oi?kt.x+=Mo+Ke:kt.y+="string"!=typeof pi.text?Gn(pi,Me.lineHeight):Jn}),(0,i.aC)(this.ctx,u.textDirection)}drawTitle(){const u=this.options,f=u.title,x=(0,i.a0)(f.font),M=(0,i.E)(f.padding);if(!f.display)return;const P=(0,i.az)(u.rtl,this.left,this.width),V=this.ctx,Q=f.position,Me=M.top+x.size/2;let Ke,Ct=this.left,St=this.width;if(this.isHorizontal())St=Math.max(...this.lineWidths),Ke=this.top+Me,Ct=(0,i.a2)(u.align,Ct,this.right-St);else{const on=this.columnSizes.reduce((hn,On)=>Math.max(hn,On.height),0);Ke=Me+(0,i.a2)(u.align,this.top,this.bottom-on-u.labels.padding-this._computeTitleHeight())}const kt=(0,i.a2)(Q,Ct,Ct+St);V.textAlign=P.textAlign((0,i.a1)(Q)),V.textBaseline="middle",V.strokeStyle=f.color,V.fillStyle=f.color,V.font=x.string,(0,i.Z)(V,f.text,kt,Ke,x)}_computeTitleHeight(){const u=this.options.title,f=(0,i.a0)(u.font),x=(0,i.E)(u.padding);return u.display?f.lineHeight+x.height:0}_getLegendItemAt(u,f){let x,M,P;if((0,i.aj)(u,this.left,this.right)&&(0,i.aj)(f,this.top,this.bottom))for(P=this.legendHitBoxes,x=0;x<P.length;++x)if(M=P[x],(0,i.aj)(u,M.left,M.left+M.width)&&(0,i.aj)(f,M.top,M.top+M.height))return this.legendItems[x];return null}handleEvent(u){const f=this.options;if(!function ra(y,u){return!(("mousemove"!==y&&"mouseout"!==y||!u.onHover&&!u.onLeave)&&(!u.onClick||"click"!==y&&"mouseup"!==y))}(u.type,f))return;const x=this._getLegendItemAt(u.x,u.y);if("mousemove"===u.type||"mouseout"===u.type){const M=this._hoveredItem,P=((y,u)=>null!==y&&null!==u&&y.datasetIndex===u.datasetIndex&&y.index===u.index)(M,x);M&&!P&&(0,i.Q)(f.onLeave,[u,M,this],this),this._hoveredItem=x,x&&!P&&(0,i.Q)(f.onHover,[u,x,this],this)}else x&&(0,i.Q)(f.onClick,[u,x,this],this)}}function Gn(y,u){return u*(y.text?y.text.length+.5:0)}var Os={id:"legend",_element:_i,start(y,u,f){const x=y.legend=new _i({ctx:y.ctx,options:f,chart:y});ni.configure(y,x,f),ni.addBox(y,x)},stop(y){ni.removeBox(y,y.legend),delete y.legend},beforeUpdate(y,u,f){const x=y.legend;ni.configure(y,x,f),x.options=f},afterUpdate(y){const u=y.legend;u.buildLabels(),u.adjustHitBoxes()},afterEvent(y,u){u.replay||y.legend.handleEvent(u.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(y,u,f){const x=u.datasetIndex,M=f.chart;M.isDatasetVisible(x)?(M.hide(x),u.hidden=!0):(M.show(x),u.hidden=!1)},onHover:null,onLeave:null,labels:{color:y=>y.chart.options.color,boxWidth:40,padding:10,generateLabels(y){const u=y.data.datasets,{labels:{usePointStyle:f,pointStyle:x,textAlign:M,color:P,useBorderRadius:V,borderRadius:Q}}=y.legend.options;return y._getSortedDatasetMetas().map(ie=>{const Me=ie.controller.getStyle(f?0:void 0),Ke=(0,i.E)(Me.borderWidth);return{text:u[ie.index].label,fillStyle:Me.backgroundColor,fontColor:P,hidden:!ie.visible,lineCap:Me.borderCapStyle,lineDash:Me.borderDash,lineDashOffset:Me.borderDashOffset,lineJoin:Me.borderJoinStyle,lineWidth:(Ke.width+Ke.height)/4,strokeStyle:Me.borderColor,pointStyle:x||Me.pointStyle,rotation:Me.rotation,textAlign:M||Me.textAlign,borderRadius:V&&(Q||Me.borderRadius),datasetIndex:ie.index}},this)}},title:{color:y=>y.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:y=>!y.startsWith("on"),labels:{_scriptable:y=>!["generateLabels","filter","sort"].includes(y)}}};class Xo extends Y{constructor(u){super(),this.chart=u.chart,this.options=u.options,this.ctx=u.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(u,f){const x=this.options;if(this.left=0,this.top=0,!x.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=u,this.height=this.bottom=f;const M=(0,i.b)(x.text)?x.text.length:1;this._padding=(0,i.E)(x.padding);const P=M*(0,i.a0)(x.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=P:this.width=P}isHorizontal(){const u=this.options.position;return"top"===u||"bottom"===u}_drawArgs(u){const{top:f,left:x,bottom:M,right:P,options:V}=this,Q=V.align;let Me,Ke,Ct,ie=0;return this.isHorizontal()?(Ke=(0,i.a2)(Q,x,P),Ct=f+u,Me=P-x):("left"===V.position?(Ke=x+u,Ct=(0,i.a2)(Q,M,f),ie=-.5*i.P):(Ke=P-u,Ct=(0,i.a2)(Q,f,M),ie=.5*i.P),Me=M-f),{titleX:Ke,titleY:Ct,maxWidth:Me,rotation:ie}}draw(){const u=this.ctx,f=this.options;if(!f.display)return;const x=(0,i.a0)(f.font),P=x.lineHeight/2+this._padding.top,{titleX:V,titleY:Q,maxWidth:ie,rotation:Me}=this._drawArgs(P);(0,i.Z)(u,f.text,0,0,x,{color:f.color,maxWidth:ie,rotation:Me,textAlign:(0,i.a1)(f.align),textBaseline:"middle",translation:[V,Q]})}}var ms={id:"title",_element:Xo,start(y,u,f){!function Ms(y,u){const f=new Xo({ctx:y.ctx,options:u,chart:y});ni.configure(y,f,u),ni.addBox(y,f),y.titleBlock=f}(y,f)},stop(y){ni.removeBox(y,y.titleBlock),delete y.titleBlock},beforeUpdate(y,u,f){const x=y.titleBlock;ni.configure(y,x,f),x.options=f},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Na=new WeakMap;var Fs={id:"subtitle",start(y,u,f){const x=new Xo({ctx:y.ctx,options:f,chart:y});ni.configure(y,x,f),ni.addBox(y,x),Na.set(y,x)},stop(y){ni.removeBox(y,Na.get(y)),Na.delete(y)},beforeUpdate(y,u,f){const x=Na.get(y);ni.configure(y,x,f),x.options=f},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const es={average(y){if(!y.length)return!1;let u,f,x=0,M=0,P=0;for(u=0,f=y.length;u<f;++u){const V=y[u].element;if(V&&V.hasValue()){const Q=V.tooltipPosition();x+=Q.x,M+=Q.y,++P}}return{x:x/P,y:M/P}},nearest(y,u){if(!y.length)return!1;let P,V,Q,f=u.x,x=u.y,M=Number.POSITIVE_INFINITY;for(P=0,V=y.length;P<V;++P){const ie=y[P].element;if(ie&&ie.hasValue()){const Me=ie.getCenterPoint(),Ke=(0,i.aE)(u,Me);Ke<M&&(M=Ke,Q=ie)}}if(Q){const ie=Q.tooltipPosition();f=ie.x,x=ie.y}return{x:f,y:x}}};function ja(y,u){return u&&((0,i.b)(u)?Array.prototype.push.apply(y,u):y.push(u)),y}function Ts(y){return("string"==typeof y||y instanceof String)&&y.indexOf("\n")>-1?y.split("\n"):y}function xc(y,u){const{element:f,datasetIndex:x,index:M}=u,P=y.getDatasetMeta(x).controller,{label:V,value:Q}=P.getLabelAndValue(M);return{chart:y,label:V,parsed:P.getParsed(M),raw:y.data.datasets[x].data[M],formattedValue:Q,dataset:P.getDataset(),dataIndex:M,datasetIndex:x,element:f}}function Ps(y,u){const f=y.chart.ctx,{body:x,footer:M,title:P}=y,{boxWidth:V,boxHeight:Q}=u,ie=(0,i.a0)(u.bodyFont),Me=(0,i.a0)(u.titleFont),Ke=(0,i.a0)(u.footerFont),Ct=P.length,St=M.length,kt=x.length,on=(0,i.E)(u.padding);let hn=on.height,On=0,Sn=x.reduce((Xn,Jn)=>Xn+Jn.before.length+Jn.lines.length+Jn.after.length,0);Sn+=y.beforeBody.length+y.afterBody.length,Ct&&(hn+=Ct*Me.lineHeight+(Ct-1)*u.titleSpacing+u.titleMarginBottom),Sn&&(hn+=kt*(u.displayColors?Math.max(Q,ie.lineHeight):ie.lineHeight)+(Sn-kt)*ie.lineHeight+(Sn-1)*u.bodySpacing),St&&(hn+=u.footerMarginTop+St*Ke.lineHeight+(St-1)*u.footerSpacing);let Un=0;const oi=function(Xn){On=Math.max(On,f.measureText(Xn).width+Un)};return f.save(),f.font=Me.string,(0,i.F)(y.title,oi),f.font=ie.string,(0,i.F)(y.beforeBody.concat(y.afterBody),oi),Un=u.displayColors?V+2+u.boxPadding:0,(0,i.F)(x,Xn=>{(0,i.F)(Xn.before,oi),(0,i.F)(Xn.lines,oi),(0,i.F)(Xn.after,oi)}
1),Un=0,f.font=Ke.string,(0,i.F)(y.footer,oi),f.restore(),On+=on.width,{width:On,height:hn}}function Br(y,u,f,x){const{x:M,width:P}=f,{width:V,chartArea:{left:Q,right:ie}}=y;let Me="center";return"center"===x?Me=M<=(Q+ie)/2?"left":"right":M<=P/2?Me="left":M>=V-P/2&&(Me="right"),function gr(y,u,f,x){const{x:M,width:P}=x,V=f.caretSize+f.caretPadding;if("left"===y&&M+P+V>u.width||"right"===y&&M-P-V<0)return!0}(Me,y,u,f)&&(Me="center"),Me}function Rr(y,u,f){const x=f.yAlign||u.yAlign||function Fr(y,u){const{y:f,height:x}=u;return f<x/2?"top":f>y.height-x/2?"bottom":"center"}(y,f);return{xAlign:f.xAlign||u.xAlign||Br(y,u,f,x),yAlign:x}}function J(y,u,f,x){const{caretSize:M,caretPadding:P,cornerRadius:V}=y,{xAlign:Q,yAlign:ie}=f,Me=M+P,{topLeft:Ke,topRight:Ct,bottomLeft:St,bottomRight:kt}=(0,i.aw)(V);let on=function F_(y,u){let{x:f,width:x}=y;return"right"===u?f-=x:"center"===u&&(f-=x/2),f}(u,Q);const hn=function ae(y,u,f){let{y:x,height:M}=y;return"top"===u?x+=f:x-="bottom"===u?M+f:M/2,x}(u,ie,Me);return"center"===ie?"left"===Q?on+=Me:"right"===Q&&(on-=Me):"left"===Q?on-=Math.max(Ke,St)+M:"right"===Q&&(on+=Math.max(Ct,kt)+M),{x:(0,i.S)(on,0,x.width-u.width),y:(0,i.S)(hn,0,x.height-u.height)}}function K(y,u,f){const x=(0,i.E)(f.padding);return"center"===u?y.x+y.width/2:"right"===u?y.x+y.width-x.right:y.x+x.left}function be(y){return ja([],Ts(y))}function ht(y,u){const f=u&&u.dataset&&u.dataset.tooltip&&u.dataset.tooltip.callbacks;return f?y.override(f):y}const qt={beforeTitle:i.aF,title(y){if(y.length>0){const u=y[0],f=u.chart.data.labels,x=f?f.length:0;if(this&&this.options&&"dataset"===this.options.mode)return u.dataset.label||"";if(u.label)return u.label;if(x>0&&u.dataIndex<x)return f[u.dataIndex]}return""},afterTitle:i.aF,beforeBody:i.aF,beforeLabel:i.aF,label(y){if(this&&this.options&&"dataset"===this.options.mode)return y.label+": "+y.formattedValue||y.formattedValue;let u=y.dataset.label||"";u&&(u+=": ");const f=y.formattedValue;return(0,i.k)(f)||(u+=f),u},labelColor(y){const f=y.chart.getDatasetMeta(y.datasetIndex).controller.getStyle(y.dataIndex);return{borderColor:f.borderColor,backgroundColor:f.backgroundColor,borderWidth:f.borderWidth,borderDash:f.borderDash,borderDashOffset:f.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(y){const f=y.chart.getDatasetMeta(y.datasetIndex).controller.getStyle(y.dataIndex);return{pointStyle:f.pointStyle,rotation:f.rotation}},afterLabel:i.aF,afterBody:i.aF,beforeFooter:i.aF,footer:i.aF,afterFooter:i.aF};function Kt(y,u,f,x){const M=y[u].call(f,x);return void 0===M?qt[u].call(f,x):M}class yn extends Y{constructor(u){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=u.chart,this.options=u.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(u){this.options=u,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const u=this._cachedAnimations;if(u)return u;const f=this.chart,x=this.options.setContext(this.getContext()),M=x.enabled&&f.options.animation&&x.animations,P=new C(this.chart,M);return M._cacheable&&(this._cachedAnimations=Object.freeze(P)),P}getContext(){return this.$context||(this.$context=function Re(y,u,f){return(0,i.j)(y,{tooltip:u,tooltipItems:f,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(u,f){const{callbacks:x}=f,M=Kt(x,"beforeTitle",this,u),P=Kt(x,"title",this,u),V=Kt(x,"afterTitle",this,u);let Q=[];return Q=ja(Q,Ts(M)),Q=ja(Q,Ts(P)),Q=ja(Q,Ts(V)),Q}getBeforeBody(u,f){return be(Kt(f.callbacks,"beforeBody",this,u))}getBody(u,f){const{callbacks:x}=f,M=[];return(0,i.F)(u,P=>{const V={before:[],lines:[],after:[]},Q=ht(x,P);ja(V.before,Ts(Kt(Q,"beforeLabel",this,P))),ja(V.lines,Kt(Q,"label",this,P)),ja(V.after,Ts(Kt(Q,"afterLabel",this,P))),M.push(V)}),M}getAfterBody(u,f){return be(Kt(f.callbacks,"afterBody",this,u))}getFooter(u,f){const{callbacks:x}=f,M=Kt(x,"beforeFooter",this,u),P=Kt(x,"footer",this,u),V=Kt(x,"afterFooter",this,u);let Q=[];return Q=ja(Q,Ts(M)),Q=ja(Q,Ts(P)),Q=ja(Q,Ts(V)),Q}_createItems(u){const f=this._active,x=this.chart.data,M=[],P=[],V=[];let ie,Me,Q=[];for(ie=0,Me=f.length;ie<Me;++ie)Q.push(xc(this.chart,f[ie]));return u.filter&&(Q=Q.filter((Ke,Ct,St)=>
1u.filter(Ke,Ct,St,x))),u.itemSort&&(Q=Q.sort((Ke,Ct)=>u.itemSort(Ke,Ct,x))),(0,i.F)(Q,Ke=>{const Ct=ht(u.callbacks,Ke);M.push(Kt(Ct,"labelColor",this,Ke)),P.push(Kt(Ct,"labelPointStyle",this,Ke)),V.push(Kt(Ct,"labelTextColor",this,Ke))}),this.labelColors=M,this.labelPointStyles=P,this.labelTextColors=V,this.dataPoints=Q,Q}update(u,f){const x=this.options.setContext(this.getContext()),M=this._active;let P,V=[];if(M.length){const Q=es[x.position].call(this,M,this._eventPosition);V=this._createItems(x),this.title=this.getTitle(V,x),this.beforeBody=this.getBeforeBody(V,x),this.body=this.getBody(V,x),this.afterBody=this.getAfterBody(V,x),this.footer=this.getFooter(V,x);const ie=this._size=Ps(this,x),Me=Object.assign({},Q,ie),Ke=Rr(this.chart,x,Me),Ct=J(x,Me,Ke,this.chart);this.xAlign=Ke.xAlign,this.yAlign=Ke.yAlign,P={opacity:1,x:Ct.x,y:Ct.y,width:ie.width,height:ie.height,caretX:Q.x,caretY:Q.y}}else 0!==this.opacity&&(P={opacity:0});this._tooltipItems=V,this.$context=void 0,P&&this._resolveAnimations().update(this,P),u&&x.external&&x.external.call(this,{chart:this.chart,tooltip:this,replay:f})}drawCaret(u,f,x,M){const P=this.getCaretPosition(u,x,M);f.lineTo(P.x1,P.y1),f.lineTo(P.x2,P.y2),f.lineTo(P.x3,P.y3)}getCaretPosition(u,f,x){const{xAlign:M,yAlign:P}=this,{caretSize:V,cornerRadius:Q}=x,{topLeft:ie,topRight:Me,bottomLeft:Ke,bottomRight:Ct}=(0,i.aw)(Q),{x:St,y:kt}=u,{width:on,height:hn}=f;let On,Sn,Un,oi,Xn,Jn;return"center"===P?(Xn=kt+hn/2,"left"===M?(On=St,Sn=On-V,oi=Xn+V,Jn=Xn-V):(On=St+on,Sn=On+V,oi=Xn-V,Jn=Xn+V),Un=On):(Sn="left"===M?St+Math.max(ie,Ke)+V:"right"===M?St+on-Math.max(Me,Ct)-V:this.caretX,"top"===P?(oi=kt,Xn=oi-V,On=Sn-V,Un=Sn+V):(oi=kt+hn,Xn=oi+V,On=Sn+V,Un=Sn-V),Jn=oi),{x1:On,x2:Sn,x3:Un,y1:oi,y2:Xn,y3:Jn}}drawTitle(u,f,x){const M=this.title,P=M.length;let V,Q,ie;if(P){const Me=(0,i.az)(x.rtl,this.x,this.width);for(u.x=K(this,x.titleAlign,x),f.textAlign=Me.textAlign(x.titleAlign),f.textBaseline="middle",V=(0,i.a0)(x.titleFont),Q=x.titleSpacing,f.fillStyle=x.titleColor,f.font=V.string,ie=0;ie<P;++ie)f.fillText(M[ie],Me.x(u.x),u.y+V.lineHeight/2),u.y+=V.lineHeight+Q,ie+1===P&&(u.y+=x.titleMarginBottom-Q)}}_drawColorBox(u,f,x,M,P){const V=this.labelColors[x],Q=this.labelPointStyles[x],{boxHeight:ie,boxWidth:Me,boxPadding:Ke}=P,Ct=(0,i.a0)(P.bodyFont),St=K(this,"left",P),kt=M.x(St),hn=f.y+(ie<Ct.lineHeight?(Ct.lineHeight-ie)/2:0);if(P.usePointStyle){const On={radius:Math.min(Me,ie)/2,pointStyle:Q.pointStyle,rotation:Q.rotation,borderWidth:1},Sn=M.leftForLtr(kt,Me)+Me/2,Un=hn+ie/2;u.strokeStyle=P.multiKeyBackground,u.fillStyle=P.multiKeyBackground,(0,i.at)(u,On,Sn,Un),u.strokeStyle=V.borderColor,u.fillStyle=V.backgroundColor,(0,i.at)(u,On,Sn,Un)}else{u.lineWidth=(0,i.i)(V.borderWidth)?Math.max(...Object.values(V.borderWidth)):V.borderWidth||1,u.strokeStyle=V.borderColor,u.setLineDash(V.borderDash||[]),u.lineDashOffset=V.borderDashOffset||0;const On=M.leftForLtr(kt,Me-Ke),Sn=M.leftForLtr(M.xPlus(kt,1),Me-Ke-2),Un=(0,i.aw)(V.borderRadius);Object.values(Un).some(oi=>0!==oi)?(u.beginPath(),u.fillStyle=P.multiKeyBackground,(0,i.au)(u,{x:On,y:hn,w:Me,h:ie,radius:Un}),u.fill(),u.stroke(),u.fillStyle=V.backgroundColor,u.beginPath(),(0,i.au)(u,{x:Sn,y:hn+1,w:Me-2,h:ie-2,radius:Un}),u.fill()):(u.fillStyle=P.multiKeyBackground,u.fillRect(On,hn,Me,ie),u.strokeRect(On,hn,Me,ie),u.fillStyle=V.backgroundColor,u.fillRect(Sn,hn+1,Me-2,ie-2))}u.fillStyle=this.labelTextColors[x]}drawBody(u,f,x){const{body:M}=this,{bodySpacing:P,bodyAlign:V,displayColors:Q,boxHeight:ie,boxWidth:Me,boxPadding:Ke}=x,Ct=(0,i.a0)(x.bodyFont);let St=Ct.lineHeight,kt=0;const on=(0,i.az)(x.rtl,this.x,this.width),hn=function(yi){f.fillText(yi,on.x(u.x+kt),u.y+St/2),u.y+=St+P},On=on.textAlign(V);let Sn,Un,oi,Xn,Jn,pi,vi;for(f.textAlign=V,f.textBaseline="middle",f.font=Ct.string,u.x=K(this,On,x),f.fillStyle=x.bodyColor,(0,i.F)(this.beforeBody,hn),kt=Q&&"right"!==On?"center"===V?Me/2+Ke:Me+2+Ke:0,Xn=0,pi=M.length;Xn<pi;++Xn){for(Sn=M[Xn],Un=this.labelTextColors[Xn],f.fillStyle=Un,(0,i.F)(Sn.before,hn),oi=Sn.lines,Q&&oi.length&&(this._drawColorBox(f,u,Xn,on,x),St=Math.max(Ct.lineHeight,ie)),Jn=0,vi=oi.length;Jn<vi;++Jn)hn(oi[Jn]),St=Ct.lineHeight;(0,i.F)(Sn.after,hn)}kt=0,St=Ct.lineHeight,(0,i.F)(this.afterBody,hn),u.y-=P}drawFooter(u,f,x){const M=this.footer,P=M.length;let V,Q;if(P){const ie=(0,i.az)(x.rtl,this.x,this.width);for(u.x=K(this,x.footerAlign,x),u.y+=x.footerMarginTop,f.textAlign=ie.textAlign(x.footerAlign),f.textBaseline="middle",V=(0,i.a0)(x.footerFont),f.fillStyle=x.footerColor,f.font=V.string,Q=0;Q<P;
1++Q)f.fillText(M[Q],ie.x(u.x),u.y+V.lineHeight/2),u.y+=V.lineHeight+x.footerSpacing}}drawBackground(u,f,x,M){const{xAlign:P,yAlign:V}=this,{x:Q,y:ie}=u,{width:Me,height:Ke}=x,{topLeft:Ct,topRight:St,bottomLeft:kt,bottomRight:on}=(0,i.aw)(M.cornerRadius);f.fillStyle=M.backgroundColor,f.strokeStyle=M.borderColor,f.lineWidth=M.borderWidth,f.beginPath(),f.moveTo(Q+Ct,ie),"top"===V&&this.drawCaret(u,f,x,M),f.lineTo(Q+Me-St,ie),f.quadraticCurveTo(Q+Me,ie,Q+Me,ie+St),"center"===V&&"right"===P&&this.drawCaret(u,f,x,M),f.lineTo(Q+Me,ie+Ke-on),f.quadraticCurveTo(Q+Me,ie+Ke,Q+Me-on,ie+Ke),"bottom"===V&&this.drawCaret(u,f,x,M),f.lineTo(Q+kt,ie+Ke),f.quadraticCurveTo(Q,ie+Ke,Q,ie+Ke-kt),"center"===V&&"left"===P&&this.drawCaret(u,f,x,M),f.lineTo(Q,ie+Ct),f.quadraticCurveTo(Q,ie,Q+Ct,ie),f.closePath(),f.fill(),M.borderWidth>0&&f.stroke()}_updateAnimationTarget(u){const f=this.chart,x=this.$animations,M=x&&x.x,P=x&&x.y;if(M||P){const V=es[u.position].call(this,this._active,this._eventPosition);if(!V)return;const Q=this._size=Ps(this,u),ie=Object.assign({},V,this._size),Me=Rr(f,u,ie),Ke=J(u,ie,Me,f);(M._to!==Ke.x||P._to!==Ke.y)&&(this.xAlign=Me.xAlign,this.yAlign=Me.yAlign,this.width=Q.width,this.height=Q.height,this.caretX=V.x,this.caretY=V.y,this._resolveAnimations().update(this,Ke))}}_willRender(){return!!this.opacity}draw(u){const f=this.options.setContext(this.getContext());let x=this.opacity;if(!x)return;this._updateAnimationTarget(f);const M={width:this.width,height:this.height},P={x:this.x,y:this.y};x=Math.abs(x)<.001?0:x;const V=(0,i.E)(f.padding);f.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(u.save(),u.globalAlpha=x,this.drawBackground(P,u,M,f),(0,i.aA)(u,f.textDirection),P.y+=V.top,this.drawTitle(P,u,f),this.drawBody(P,u,f),this.drawFooter(P,u,f),(0,i.aC)(u,f.textDirection),u.restore())}getActiveElements(){return this._active||[]}setActiveElements(u,f){const x=this._active,M=u.map(({datasetIndex:Q,index:ie})=>{const Me=this.chart.getDatasetMeta(Q);if(!Me)throw new Error("Cannot find a dataset at index "+Q);return{datasetIndex:Q,element:Me.data[ie],index:ie}}),P=!(0,i.ah)(x,M),V=this._positionChanged(M,f);(P||V)&&(this._active=M,this._eventPosition=f,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(u,f,x=!0){if(f&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const M=this.options,P=this._active||[],V=this._getActiveElements(u,P,f,x),Q=this._positionChanged(V,u),ie=f||!(0,i.ah)(V,P)||Q;return ie&&(this._active=V,(M.enabled||M.external)&&(this._eventPosition={x:u.x,y:u.y},this.update(!0,f))),ie}_getActiveElements(u,f,x,M){const P=this.options;if("mouseout"===u.type)return[];if(!M)return f;const V=this.chart.getElementsAtEventForMode(u,P.mode,P,x);return P.reverse&&V.reverse(),V}_positionChanged(u,f){const{caretX:x,caretY:M,options:P}=this,V=es[P.position].call(this,u,f);return!1!==V&&(x!==V.x||M!==V.y)}}Zi(yn,"positioners",es);var Ei={id:"tooltip",_element:yn,positioners:es,afterInit(y,u,f){f&&(y.tooltip=new yn({chart:y,options:f}))},beforeUpdate(y,u,f){y.tooltip&&y.tooltip.initialize(f)},reset(y,u,f){y.tooltip&&y.tooltip.initialize(f)},afterDraw(y){const u=y.tooltip;if(u&&u._willRender()){const f={tooltip:u};if(!1===y.notifyPlugins("beforeTooltipDraw",b1(C1({},f),{cancelable:!0})))return;u.draw(y.ctx),y.notifyPlugins("afterTooltipDraw",f)}},afterEvent(y,u){y.tooltip&&y.tooltip.handleEvent(u.event,u.replay,u.inChartArea)&&(u.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(y,u)=>u.bodyFont.size,boxWidth:(y,u)=>u.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:qt},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:y=>"filter"!==y&&"itemSort"!==y&&"external"!==y,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},vo=Object.freeze({__proto__:null,Colors:ks,Decimation:pe,Filler:cn,Legend:Os,SubTitle:Fs,Title:ms,Tooltip:Ei});function gs(y){const u=this.getLabels();return y>=0&&y<u.length?u[y]:y}class Ds extends Ao{constructor(u){super(u),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(u){const f=this._addedLabels;if(f.length){const x=this.getLabels();for(const{index:M,label:P}of f)x[M]===P&&x.splice(M,1);this._addedLabels=[]}super.init(u)}parse(u,f){if((0,i.k)(u))return null;const x=this.getLabels();return((y,u)=>null===y?null:(0,i.S)(Math.round(y),0,u))(f=isFinite(f)&&x[f]===u?f:function Lo(y,u,f,x){const M=y.indexOf(u);return-1===M?((y,u,f,x)=>
1("string"==typeof u?(f=y.push(u)-1,x.unshift({index:f,label:u})):isNaN(u)&&(f=null),f))(y,u,f,x):M!==y.lastIndexOf(u)?f:M}(x,u,(0,i.v)(f,u),this._addedLabels),x.length-1)}determineDataLimits(){const{minDefined:u,maxDefined:f}=this.getUserBounds();let{min:x,max:M}=this.getMinMax(!0);"ticks"===this.options.bounds&&(u||(x=0),f||(M=this.getLabels().length-1)),this.min=x,this.max=M}buildTicks(){const u=this.min,f=this.max,x=this.options.offset,M=[];let P=this.getLabels();P=0===u&&f===P.length-1?P:P.slice(u,f+1),this._valueRange=Math.max(P.length-(x?0:1),1),this._startValue=this.min-(x?.5:0);for(let V=u;V<=f;V++)M.push({value:V});return M}getLabelForValue(u){return gs.call(this,u)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(u){return"number"!=typeof u&&(u=this.parse(u)),null===u?NaN:this.getPixelForDecimal((u-this._startValue)/this._valueRange)}getPixelForTick(u){const f=this.ticks;return u<0||u>f.length-1?null:this.getPixelForValue(f[u].value)}getValueForPixel(u){return Math.round(this._startValue+this.getDecimalForPixel(u)*this._valueRange)}getBasePixel(){return this.bottom}}function tr(y,u,{horizontal:f,minRotation:x}){const M=(0,i.t)(x),P=(f?Math.sin(M):Math.cos(M))||.001;return Math.min(u/P,.75*u*(""+y).length)}Zi(Ds,"id","category"),Zi(Ds,"defaults",{ticks:{callback:gs}});class Bs extends Ao{constructor(u){super(u),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(u,f){return(0,i.k)(u)||("number"==typeof u||u instanceof Number)&&!isFinite(+u)?null:+u}handleTickRangeOptions(){const{beginAtZero:u}=this.options,{minDefined:f,maxDefined:x}=this.getUserBounds();let{min:M,max:P}=this;const V=ie=>M=f?M:ie,Q=ie=>P=x?P:ie;if(u){const ie=(0,i.s)(M),Me=(0,i.s)(P);ie<0&&Me<0?Q(0):ie>0&&Me>0&&V(0)}if(M===P){let ie=0===P?1:Math.abs(.05*P);Q(P+ie),u||V(M-ie)}this.min=M,this.max=P}getTickLimit(){const u=this.options.ticks;let M,{maxTicksLimit:f,stepSize:x}=u;return x?(M=Math.ceil(this.max/x)-Math.floor(this.min/x)+1,M>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${x} would result generating up to ${M} ticks. Limiting to 1000.`),M=1e3)):(M=this.computeTickLimit(),f=f||11),f&&(M=Math.min(f,M)),M}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const u=this.options,f=u.ticks;let x=this.getTickLimit();x=Math.max(2,x);const V=function fr(y,u){const f=[],{bounds:M,step:P,min:V,max:Q,precision:ie,count:Me,maxTicks:Ke,maxDigits:Ct,includeBounds:St}=y,kt=P||1,on=Ke-1,{min:hn,max:On}=u,Sn=!(0,i.k)(V),Un=!(0,i.k)(Q),oi=!(0,i.k)(Me),Xn=(On-hn)/(Ct+1);let pi,vi,yi,ro,Jn=(0,i.aH)((On-hn)/on/kt)*kt;if(Jn<1e-14&&!Sn&&!Un)return[{value:hn},{value:On}];ro=Math.ceil(On/Jn)-Math.floor(hn/Jn),ro>on&&(Jn=(0,i.aH)(ro*Jn/on/kt)*kt),(0,i.k)(ie)||(pi=Math.pow(10,ie),Jn=Math.ceil(Jn*pi)/pi),"ticks"===M?(vi=Math.floor(hn/Jn)*Jn,yi=Math.ceil(On/Jn)*Jn):(vi=hn,yi=On),Sn&&Un&&P&&(0,i.aI)((Q-V)/P,Jn/1e3)?(ro=Math.round(Math.min((Q-V)/Jn,Ke)),Jn=(Q-V)/ro,vi=V,yi=Q):oi?(vi=Sn?V:vi,yi=Un?Q:yi,ro=Me-1,Jn=(yi-vi)/ro):(ro=(yi-vi)/Jn,ro=(0,i.aJ)(ro,Math.round(ro),Jn/1e3)?Math.round(ro):Math.ceil(ro));const Mo=Math.max((0,i.aK)(Jn),(0,i.aK)(vi));pi=Math.pow(10,(0,i.k)(ie)?Mo:ie),vi=Math.round(vi*pi)/pi,yi=Math.round(yi*pi)/pi;let Yi=0;for(Sn&&(St&&vi!==V?(f.push({value:V}),vi<V&&Yi++,(0,i.aJ)(Math.round((vi+Yi*Jn)*pi)/pi,V,tr(V,Xn,y))&&Yi++):vi<V&&Yi++);Yi<ro;++Yi)f.push({value:Math.round((vi+Yi*Jn)*pi)/pi});return Un&&St&&yi!==Q?f.length&&(0,i.aJ)(f[f.length-1].value,Q,tr(Q,Xn,y))?f[f.length-1].value=Q:f.push({value:Q}):(!Un||yi===Q)&&f.push({value:yi}),f}({maxTicks:x,bounds:u.bounds,min:u.min,max:u.max,precision:f.precision,step:f.stepSize,count:f.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:f.minRotation||0,includeBounds:!1!==f.includeBounds},this._range||this);return"ticks"===u.bounds&&(0,i.aG)(V,this,"value"),u.reverse?(V.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),V}configure(){const u=this.ticks;let f=this.min,x=this.max;if(super.configure(),this.options.offset&&u.length){const M=(x-f)/Math.max(u.length-1,1)/2;f-=M,x+=M}this._startValue=f,this._endValue=x,this._valueRange=x-f}getLabelForValue(u){return(0,i.o)(u,this.chart.options.locale,this.options.ticks.format)}}class Zr extends Bs{determineDataLimits(){const{min:u,max:f}=this.getMinMax(!0);this.min=(0,i.g)(u)?u:0,this.max=(0,i.g)(f)?f:1,this.handleTickRangeOptions()}computeTickLimit(){const u=this.isHorizontal(),f=u?this.width:this.height,x=(0,i.t)(this.options.ticks.minRotation),M=(u?Math.sin(x):Math.cos(x))||.001,P=this._resolveTickFontOptions(0);return Math.ceil(f/Math.min(40,P.lineHeight/M))}getPixelForValue(u){return null===u?NaN:this.getPixelForDecimal((u-this._startValue)/this._valueRange)}getValueForPixel(u){return this._startValue+this.getDecimalForPixel(u)*this._valueRange}}Zi(Zr,"id","linear"),Zi(Zr,"defaults",{ticks:{callback:i.aL.formatters.numeric}});const La=y=>Math.floor((0,i.aM)(y)),Is=(y,u)=>Math.pow(10,La(y)+u);function el(y){return y/Math.pow(10,La(y))==1}function Ac(y,u,f){const x=Math.pow(10,f),M=Math.floor(y/x);return Math.ceil(u/x)-M}class nr extends Ao{constructor(u){super(u),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(u,f){const x=Bs.prototype.parse.apply(this,[u,f]);if(0!==x)return(0,i.g)(x)&&x>0?x:null;this._zero=!0}determineDataLimits(){const{min:u,max:f}=this.getMinMax(!0);this.min=(0,i.g)(u)?Math.max(0,u):null,this.max=(0,i.g)(f)?Math.max(0,f):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!(0,i.g)(this._userMin)&&(this.min=u===Is(this.min,0)?Is(this.min,-1):Is(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:u,maxDefined:f}=this.getUserBounds();let x=this.min,M=this.max;const P=Q=>x=u?x:Q,V=Q=>M=f?M:Q;x===M&&(x<=0?(P(1),V(10)):(P(Is(x,-1)),V(Is(M,1)))),x<=0&&P(Is(M,-1)),M<=0&&V(Is(x,1)),this.min=x,this.max=M}buildTicks(){const u=this.options,x=function $r(y,{min:u,max:f}){u=(0,i.O)(y.min,u);const x=[],M=La(u);let P=function tl(y,u){let x=La(u-y);for(;Ac(y,u,x)>10;)x++;for(;Ac(y,u,x)<10;)x--;return Math.min(x,La(y))}(u,f),V=P<0?Math.pow(10,Math.abs(P)):1;const Q=Math.pow(10,P),ie=M>P?Math.pow(10,M):0,Me=Math.round((u-ie)*V)/V,Ke=Math.floor((u-ie)/Q/10)*Q*10;let Ct=Math.floor((Me-Ke)/Math.pow(10,P)),St=(0,i.O)(y.min,Math.round((ie+Ke+Ct*Math.pow(10,P))*V)/V);for(;St<f;)x.push({value:St,major:el(St),significand:Ct}),Ct>=10?Ct=Ct<15?15:20:Ct++,Ct>=20&&(P++,Ct=2,V=P>=0?1:V),St=Math.round((ie+Ke+Ct*Math.pow(10,P))*V)/V;const kt=(0,i.O)(y.max,St);return x.push({value:kt,major:el(kt),significand:Ct}),x}({min:this._userMin,max:this._userMax},this);return"ticks"===u.bounds&&(0,i.aG)(x,this,"value"),u.reverse?(x.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),x}getLabelForValue(u){return void 0===u?"0":(0,i.o)(u,this.chart.options.locale,this.options.ticks.format)}configure(){const u=this.min;super.configure(),this._startValue=(0,i.aM)(u),this._valueRange=(0,i.aM)(this.max)-(0,i.aM)(u)}getPixelForValue(u){return(void 0===u||0===u)&&(u=this.min),null===u||isNaN(u)?NaN:this.getPixelForDecimal(u===this.min?0:((0,i.aM)(u)-this._startValue)/this._valueRange)}getValueForPixel(u){const f=this.getDecimalForPixel(u);return Math.pow(10,this._startValue+f*this._valueRange)}}function vr(y){const u=y.ticks;if(u.display&&y.display){const f=(0,i.E)(u.backdropPadding);return(0,i.v)(u.font&&u.font.size,i.d.font.size)+f.height}return 0}function ql(y,u,f){return f=(0,i.b)(f)?f:[f],{w:(0,i.aN)(y,u.string,f),h:f.length*u.lineHeight}}function Ec(y,u,f,x,M){return y===x||y===M?{start:u-f/2,end:u+f/2}:y<x||y>M?{start:u-f,end:u}:{start:u,end:u+f}}function vu(y,u,f,x,M){const P=Math.abs(Math.sin(f)),V=Math.abs(Math.cos(f));let Q=0,ie=0;x.start<u.l?(Q=(u.l-x.start)/P,y.l=Math.min(y.l,u.l-Q)):x.end>u.r&&(Q=(x.end-u.r)/P,y.r=Math.max(y.r,u.r+Q)),M.start<u.t?(ie=(u.t-M.start)/V,y.t=Math.min(y.t,u.t-ie)):M.end>u.b&&(ie=(M.end-u.b)/V,y.b=Math.max(y.b,u.b+ie))}function fa(y){return 0===y||180===y?"center":y<180?"left":"right"}function $_(y,u,f){return"right"===f?y-=u:"center"===f&&(y-=u/2),y}function Cu(y,u,f){return 90===f||270===f?y-=u/2:(f>270||f<90)&&(y-=u),y}function Y_(y,u,f,x){const{ctx:M}=y;if(f)M.arc(y.xCenter,y.yCenter,u,0,i.T);else{let P=y.getPointPosition(0,u);M.moveTo(P.x,P.y);for(let V=1;V<x;V++)P=y.getPointPosition(V,u),M.lineTo(P.x,P.y)}}Zi(nr,"id","logarithmic"),Zi(nr,"defaults",{ticks:{callback:i.aL.formatters.logarithmic,major:{enabled:!0}}});class Oc extends Bs{constructor(u){super(u),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const u=this._padding=(0,i.E)(vr(this.options)/2),f=this.width=this.maxWidth-u.width,x=this.height=this.maxHeight-u.height;this.xCenter=Math.floor(this.left+f/2+u.left),this.yCenter=Math.floor(this.top+x/2+u.top),this.drawingArea=Math.floor(Math.min(f,x)/2)}determineDataLimits(){const{min:u,max:f}=this.getMinMax(!1);this.min=(0,i.g)(u)&&!isNaN(u)?u:0,this.max=(0,i.g)(f)&&!isNaN(f)?f:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/vr(this.options))}generateTickLabels(u){Bs.prototype.generateTickLabels.call(this,u),this._pointLabels=this.getLabels().map((f,x)=>{const M=(0,i.Q)(this.options.pointLabels.callback,[f,x],this);return M||0===M?M:""}).filter((f,x)=>this.chart.getDataVisibility(x))}fit(){const u=this.options;u.display&&u.pointLabels.display?function Yr(y){const u={l:y.left+y._padding.left,r:y.right-y._padding.right,t:y.top+y._padding.top,b:y.bottom-y._padding.bottom},f=Object.assign({},u),x=[],M=[],P=y._pointLabels.length,V=y.options.pointLabels,Q=V.centerPointLabels?i.P/P:0;for(let ie=0;ie<P;ie++){const Me=V.setContext(y.getPointLabelContext(ie));M[ie]=Me.padding;const Ke=y.getPointPosition(ie,y.drawingArea+M[ie],Q),Ct=(0,i.a0)(Me.font),St=ql(y.ctx,Ct,y._pointLabels[ie]);x[ie]=St;
1const kt=(0,i.ay)(y.getIndexAngle(ie)+Q),on=Math.round((0,i.U)(kt));vu(f,u,kt,Ec(on,Ke.x,St.w,0,180),Ec(on,Ke.y,St.h,90,270))}y.setCenterPoint(u.l-f.l,f.r-u.r,u.t-f.t,f.b-u.b),y._pointLabelItems=function B_(y,u,f){const x=[],M=y._pointLabels.length,P=y.options,V=vr(P)/2,Q=y.drawingArea,ie=P.pointLabels.centerPointLabels?i.P/M:0;for(let Me=0;Me<M;Me++){const Ke=y.getPointPosition(Me,Q+V+f[Me],ie),Ct=Math.round((0,i.U)((0,i.ay)(Ke.angle+i.H))),St=u[Me],kt=Cu(Ke.y,St.h,Ct),on=fa(Ct),hn=$_(Ke.x,St.w,on);x.push({x:Ke.x,y:kt,textAlign:on,left:hn,top:kt,right:hn+St.w,bottom:kt+St.h})}return x}(y,x,M)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(u,f,x,M){this.xCenter+=Math.floor((u-f)/2),this.yCenter+=Math.floor((x-M)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(u,f,x,M))}getIndexAngle(u){return(0,i.ay)(u*(i.T/(this._pointLabels.length||1))+(0,i.t)(this.options.startAngle||0))}getDistanceFromCenterForValue(u){if((0,i.k)(u))return NaN;const f=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-u)*f:(u-this.min)*f}getValueForDistanceFromCenter(u){if((0,i.k)(u))return NaN;const f=u/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-f:this.min+f}getPointLabelContext(u){const f=this._pointLabels||[];if(u>=0&&u<f.length){const x=f[u];return function xu(y,u,f){return(0,i.j)(y,{label:f,index:u,type:"pointLabel"})}(this.getContext(),u,x)}}getPointPosition(u,f,x=0){const M=this.getIndexAngle(u)-i.H+x;return{x:Math.cos(M)*f+this.xCenter,y:Math.sin(M)*f+this.yCenter,angle:M}}getPointPositionForValue(u,f){return this.getPointPosition(u,this.getDistanceFromCenterForValue(f))}getBasePosition(u){return this.getPointPositionForValue(u||0,this.getBaseValue())}getPointLabelPosition(u){const{left:f,top:x,right:M,bottom:P}=this._pointLabelItems[u];return{left:f,top:x,right:M,bottom:P}}drawBackground(){const{backgroundColor:u,grid:{circular:f}}=this.options;if(u){const x=this.ctx;x.save(),x.beginPath(),Y_(this,this.getDistanceFromCenterForValue(this._endValue),f,this._pointLabels.length),x.closePath(),x.fillStyle=u,x.fill(),x.restore()}}drawGrid(){const u=this.ctx,f=this.options,{angleLines:x,grid:M,border:P}=f,V=this._pointLabels.length;let Q,ie,Me;if(f.pointLabels.display&&function Cr(y,u){const{ctx:f,options:{pointLabels:x}}=y;for(let M=u-1;M>=0;M--){const P=x.setContext(y.getPointLabelContext(M)),V=(0,i.a0)(P.font),{x:Q,y:ie,textAlign:Me,left:Ke,top:Ct,right:St,bottom:kt}=y._pointLabelItems[M],{backdropColor:on}=P;if(!(0,i.k)(on)){const hn=(0,i.aw)(P.borderRadius),On=(0,i.E)(P.backdropPadding);f.fillStyle=on;const Sn=Ke-On.left,Un=Ct-On.top,oi=St-Ke+On.width,Xn=kt-Ct+On.height;Object.values(hn).some(Jn=>0!==Jn)?(f.beginPath(),(0,i.au)(f,{x:Sn,y:Un,w:oi,h:Xn,radius:hn}),f.fill()):f.fillRect(Sn,Un,oi,Xn)}(0,i.Z)(f,y._pointLabels[M],Q,ie+V.lineHeight/2,V,{color:P.color,textAlign:Me,textBaseline:"middle"})}}(this,V),M.display&&this.ticks.forEach((Ke,Ct)=>{if(0!==Ct){ie=this.getDistanceFromCenterForValue(Ke.value);const St=this.getContext(Ct),kt=M.setContext(St),on=P.setContext(St);!function bu(y,u,f,x,M){const P=y.ctx,V=u.circular,{color:Q,lineWidth:ie}=u;!V&&!x||!Q||!ie||f<0||(P.save(),P.strokeStyle=Q,P.lineWidth=ie,P.setLineDash(M.dash),P.lineDashOffset=M.dashOffset,P.beginPath(),Y_(y,f,V,x),P.closePath(),P.stroke(),P.restore())}(this,kt,ie,V,on)}}),x.display){for(u.save(),Q=V-1;Q>=0;Q--){const Ke=x.setContext(this.getPointLabelContext(Q)),{color:Ct,lineWidth:St}=Ke;!St||!Ct||(u.lineWidth=St,u.strokeStyle=Ct,u.setLineDash(Ke.borderDash),u.lineDashOffset=Ke.borderDashOffset,ie=this.getDistanceFromCenterForValue(f.ticks.reverse?this.min:this.max),Me=this.getPointPosition(Q,ie),u.beginPath(),u.moveTo(this.xCenter,this.yCenter),u.lineTo(Me.x,Me.y),u.stroke())}u.restore()}}drawBorder(){}drawLabels(){const u=this.ctx,f=this.options,x=f.ticks;if(!x.display)return;const M=this.getIndexAngle(0);let P,V;u.save(),u.translate(this.xCenter,this.yCenter),u.rotate(M),u.textAlign="center",u.textBaseline="middle",this.ticks.forEach((Q,ie)=>{if(0===ie&&!f.reverse)return;const Me=x.setContext(this.getContext(ie)),Ke=(0,i.a0)(Me.font);if(P=this.getDistanceFromCenterForValue(this.ticks[ie].value),Me.showLabelBackdrop){u.font=Ke.string,V=u.measureText(Q.label).width,u.fillStyle=Me.backdropColor;const Ct=(0,i.E)(Me.backdropPadding);u.fillRect(-V/2-Ct.left,-P-Ke.size/2-Ct.top,V+Ct.width,Ke.size+Ct.height)}(0,i.Z)(u,Q.label,0,-P,Ke,{color:Me.color})}
1),u.restore()}drawTitle(){}}Zi(Oc,"id","radialLinear"),Zi(Oc,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:i.aL.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:u=>u,padding:5,centerPointLabels:!1}}),Zi(Oc,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),Zi(Oc,"descriptors",{angleLines:{_fallback:"grid"}});const br={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},fs=Object.keys(br);function Va(y,u){return y-u}function Mc(y,u){if((0,i.k)(u))return null;const f=y._adapter,{parser:x,round:M,isoWeekday:P}=y._parseOpts;let V=u;return"function"==typeof x&&(V=x(V)),(0,i.g)(V)||(V="string"==typeof x?f.parse(V,x):f.parse(V)),null===V?null:(M&&(V="week"!==M||!(0,i.x)(P)&&!0!==P?f.startOf(V,M):f.startOf(V,"isoWeek",P)),+V)}function jr(y,u,f,x){const M=fs.length;for(let P=fs.indexOf(y);P<M-1;++P){const V=br[fs[P]],Q=V.steps?V.steps:Number.MAX_SAFE_INTEGER;if(V.common&&Math.ceil((f-u)/(Q*V.size))<=x)return fs[P]}return fs[M-1]}function vs(y,u,f){if(f){if(f.length){const{lo:x,hi:M}=(0,i.aP)(f,u);y[f[x]>=u?f[x]:f[M]]=!0}}else y[u]=!0}function nl(y,u,f){const x=[],M={},P=u.length;let V,Q;for(V=0;V<P;++V)Q=u[V],M[Q]=V,x.push({value:Q,major:!1});return 0!==P&&f?function $s(y,u,f,x){const M=y._adapter,P=+M.startOf(u[0].value,x),V=u[u.length-1].value;let Q,ie;for(Q=P;Q<=V;Q=+M.add(Q,1,x))ie=f[Q],ie>=0&&(u[ie].major=!0);return u}(y,x,M,f):x}class xr extends Ao{constructor(u){super(u),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(u,f={}){const x=u.time||(u.time={}),M=this._adapter=new De._date(u.adapters.date);M.init(f),(0,i.ab)(x.displayFormats,M.formats()),this._parseOpts={parser:x.parser,round:x.round,isoWeekday:x.isoWeekday},super.init(u),this._normalized=f.normalized}parse(u,f){return void 0===u?null:Mc(this,u)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const u=this.options,f=this._adapter,x=u.time.unit||"day";let{min:M,max:P,minDefined:V,maxDefined:Q}=this.getUserBounds();function ie(Me){!V&&!isNaN(Me.min)&&(M=Math.min(M,Me.min)),!Q&&!isNaN(Me.max)&&(P=Math.max(P,Me.max))}(!V||!Q)&&(ie(this._getLabelBounds()),("ticks"!==u.bounds||"labels"!==u.ticks.source)&&ie(this.getMinMax(!1))),M=(0,i.g)(M)&&!isNaN(M)?M:+f.startOf(Date.now(),x),P=(0,i.g)(P)&&!isNaN(P)?P:+f.endOf(Date.now(),x)+1,this.min=Math.min(M,P-1),this.max=Math.max(M+1,P)}_getLabelBounds(){const u=this.getLabelTimestamps();let f=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY;return u.length&&(f=u[0],x=u[u.length-1]),{min:f,max:x}}buildTicks(){const u=this.options,f=u.time,x=u.ticks,M="labels"===x.source?this.getLabelTimestamps():this._generate();"ticks"===u.bounds&&M.length&&(this.min=this._userMin||M[0],this.max=this._userMax||M[M.length-1]);const P=this.min,Q=(0,i.aO)(M,P,this.max);return this._unit=f.unit||(x.autoSkip?jr(f.minUnit,this.min,this.max,this._getLabelCapacity(P)):function Au(y,u,f,x,M){for(let P=fs.length-1;P>=fs.indexOf(f);P--){const V=fs[P];if(br[V].common&&y._adapter.diff(M,x,V)>=u-1)return V}return fs[f?fs.indexOf(f):0]}(this,Q.length,f.minUnit,this.min,this.max)),this._majorUnit=x.major.enabled&&"year"!==this._unit?function j_(y){for(let u=fs.indexOf(y)+1,f=fs.length;u<f;++u)if(br[fs[u]].common)return fs[u]}(this._unit):void 0,this.initOffsets(M),u.reverse&&Q.reverse(),nl(this,Q,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(u=>+u.value))}initOffsets(u=[]){let M,P,f=0,x=0;this.options.offset&&u.length&&(M=this.getDecimalForValue(u[0]),f=1===u.length?1-M:(this.getDecimalForValue(u[1])-M)/2,P=this.getDecimalForValue(u[u.length-1]),x=1===u.length?P:(P-this.getDecimalForValue(u[u.length-2]))/2);const V=u.length<3?.5:.25;f=(0,i.S)(f,0,V),x=(0,i.S)(x,0,V),this._offsets={start:f,end:x,factor:1/(f+1+x)}}_generate(){const u=this._adapter,f=this.min,x=this.max,M=this.options,P=M.time,V=P.unit||jr(P.minUnit,f,x,this._getLabelCapacity(f)),Q=(0,i.v)(M.ticks.stepSize,1),ie="week"===V&&P.isoWeekday,Me=(0,i.x)(ie)||!0===ie,Ke={};let St,kt,Ct=f;if(Me&&(Ct=+u.startOf(Ct,"isoWeek",ie)),Ct=+u.startOf(Ct,Me?"day":V),u.diff(x,f,V)>1e5*Q)throw new Error(f+" and "+x+" are too far apart with stepSize of "+Q+" "+V);const on="data"===M.ticks.source&&this.getDataTimestamps();for(St=Ct,kt=0;St<x;St=+u.add(St,Q,V),kt++)vs(Ke,St,on);
1return(St===x||"ticks"===M.bounds||1===kt)&&vs(Ke,St,on),Object.keys(Ke).sort((hn,On)=>hn-On).map(hn=>+hn)}getLabelForValue(u){const x=this.options.time;return this._adapter.format(u,x.tooltipFormat?x.tooltipFormat:x.displayFormats.datetime)}_tickFormatFunction(u,f,x,M){const P=this.options,V=P.ticks.callback;if(V)return(0,i.Q)(V,[u,f,x],this);const Q=P.time.displayFormats,ie=this._unit,Me=this._majorUnit,Ct=Me&&Q[Me],St=x[f];return this._adapter.format(u,M||(Me&&Ct&&St&&St.major?Ct:ie&&Q[ie]))}generateTickLabels(u){let f,x,M;for(f=0,x=u.length;f<x;++f)M=u[f],M.label=this._tickFormatFunction(M.value,f,u)}getDecimalForValue(u){return null===u?NaN:(u-this.min)/(this.max-this.min)}getPixelForValue(u){const f=this._offsets,x=this.getDecimalForValue(u);return this.getPixelForDecimal((f.start+x)*f.factor)}getValueForPixel(u){const f=this._offsets,x=this.getDecimalForPixel(u)/f.factor-f.end;return this.min+x*(this.max-this.min)}_getLabelSize(u){const f=this.options.ticks,x=this.ctx.measureText(u).width,M=(0,i.t)(this.isHorizontal()?f.maxRotation:f.minRotation),P=Math.cos(M),V=Math.sin(M),Q=this._resolveTickFontOptions(0).size;return{w:x*P+Q*V,h:x*V+Q*P}}_getLabelCapacity(u){const f=this.options.time,x=f.displayFormats,M=x[f.unit]||x.millisecond,P=this._tick
1FormatFunction(u,0,nl(this,[u],this._majorUnit),M),V=this._getLabelSize(P),Q=Math.floor(this.isHorizontal()?this.width/V.w:this.height/V.h)-1;return Q>0?Q:1}getDataTimestamps(){let f,x,u=this._cache.data||[];if(u.length)return u;const M=this.getMatchingVisibleMetas();if(this._normalized&&M.length)return this._cache.data=M[0].controller.getAllParsedValues(this);for(f=0,x=M.length;f<x;++f)u=u.concat(M[f].controller.getAllParsedValues(this));return this._cache.data=this.normalize(u)}getLabelTimestamps(){const u=this._cache.labels||[];let f,x;if(u.length)return u;const M=this.getLabels();for(f=0,x=M.length;f<x;++f)u.push(Mc(this,M[f]));return this._cache.labels=this._normalized?u:this.normalize(u)}normalize(u){return(0,i._)(u.sort(Va))}}function Ar(y,u,f){let P,V,Q,ie,x=0,M=y.length-1;f?(u>=y[x].pos&&u<=y[M].pos&&({lo:x,hi:M}=(0,i.B)(y,"pos",u)),({pos:P,time:Q}=y[x]),({pos:V,time:ie}=y[M])):(u>=y[x].time&&u<=y[M].time&&({lo:x,hi:M}=(0,i.B)(y,"time",u)),({time:P,pos:Q}=y[x]),({time:V,pos:ie}=y[M]));const Me=V-P;return Me?Q+(ie-Q)*(u-P)/Me:Q}Zi(xr,"id","time"),Zi(xr,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});class Ka extends xr{constructor(u){super(u),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const u=this._getTimestampsForTable(),f=this._table=this.buildLookupTable(u);this._minPos=Ar(f,this.min),this._tableRange=Ar(f,this.max)-this._minPos,super.initOffsets(u)}buildLookupTable(u){const{min:f,max:x}=this,M=[],P=[];let V,Q,ie,Me,Ke;for(V=0,Q=u.length;V<Q;++V)Me=u[V],Me>=f&&Me<=x&&M.push(Me);if(M.length<2)return[{time:f,pos:0},{time:x,pos:1}];for(V=0,Q=M.length;V<Q;++V)Ke=M[V+1],ie=M[V-1],Me=M[V],Math.round((Ke+ie)/2)!==Me&&P.push({time:Me,pos:V/(Q-1)});return P}_getTimestampsForTable(){let u=this._cache.all||[];if(u.length)return u;const f=this.getDataTimestamps(),x=this.getLabelTimestamps();return u=f.length&&x.length?this.normalize(f.concat(x)):f.length?f:x,u=this._cache.all=u,u}getDecimalForValue(u){return(Ar(this._table,u)-this._minPos)/this._tableRange}getValueForPixel(u){const f=this._offsets,x=this.getDecimalForPixel(u)/f.factor-f.end;return Ar(this._table,x*this._tableRange+this._minPos,!0)}}Zi(Ka,"id","timeseries"),Zi(Ka,"defaults",xr.defaults);const Eu=[rn,Do,vo,Object.freeze({__proto__:null,CategoryScale:Ds,LinearScale:Zr,LogarithmicScale:nr,RadialLinearScale:Oc,TimeScale:xr,TimeSeriesScale:Ka})]},4425:(Yt,Ze,m)=>{"use strict";function i(){}m.d(Ze,{$:()=>cs,A:()=>Ve,B:()=>at,C:()=>Ja,D:()=>Ne,E:()=>jo,F:()=>w,G:()=>Fe,H:()=>dt,I:()=>xa,J:()=>pe,K:()=>j,L:()=>Kn,M:()=>so,N:()=>Ot,O:()=>C,P:()=>nt,Q:()=>q,R:()=>ya,S:()=>rn,T:()=>xt,U:()=>wt,V:()=>Pa,W:()=>Ue,X:()=>Ca,Y:()=>Ho,Z:()=>os,_:()=>Xt,a:()=>Ya,a0:()=>$a,a1:()=>di,a2:()=>ui,a3:()=>zn,a4:()=>c,a5:()=>oe,a6:()=>$i,a7:()=>Se,a8:()=>Ae,a9:()=>Oo,aA:()=>li,aB:()=>Di,aC:()=>wi,aD:()=>ha,aE:()=>Ut,aF:()=>i,aG:()=>It,aH:()=>ft,aI:()=>Lt,aJ:()=>re,aK:()=>le,aL:()=>an,aM:()=>me,aN:()=>Ia,aO:()=>ge,aP:()=>De,aR:()=>Fo,aa:()=>tt,ab:()=>Z,ac:()=>s,ad:()=>Bn,ae:()=>B,af:()=>oa,ag:()=>Be,ah:()=>k,ai:()=>ot,aj:()=>Je,ak:()=>za,al:()=>Do,am:()=>Oa,an:()=>Io,ao:()=>Tt,ap:()=>Gt,aq:()=>Ge,ar:()=>Fa,as:()=>Wa,at:()=>ka,au:()=>Za,av:()=>So,aw:()=>Ba,ax:()=>eo,ay:()=>Dn,az:()=>Vn,b:()=>l,c:()=>Ao,d:()=>ia,e:()=>Oe,f:()=>ne,g:()=>A,h:()=>he,i:()=>d,j:()=>ga,k:()=>e,l:()=>_t,m:()=>S,n:()=>R,o:()=>de,p:()=>Mn,q:()=>In,r:()=>Hn,s:()=>We,t:()=>it,u:()=>jt,v:()=>T,w:()=>Fn,x:()=>Et,y:()=>ce,z:()=>ks});const s=(()=>{let N=0;return()=>N++})();function e(N){return null==N}function l(N){if(Array.isArray&&Array.isArray(N))return!0;const H=Object.prototype.toString.call(N);return"[object"===H.slice(0,7)&&"Array]"===H.slice(-6)}function d(N){return null!==N&&"[object Object]"===Object.prototype.toString.call(N)}function A(N){return("number"==typeof N||N instanceof Number)&&isFinite(+N)}function C(N,H){return A(N)?N:H}function T(N,H){return void 0===N?H:N}const S=(N,H)=>"string"==typeof N&&N.endsWith("%")?parseFloat(N)/100:+N/H,R=(N,H)=>"string"==typeof N&&N.endsWith("%")?parseFloat(N)/100*H:+N;function q(N,H,xe){if(N&&"function"==typeof N.call)return N.apply(xe,H)}function w(N,H,xe,ke){let ut,Pt,Bt;if(l(N))if(Pt=N.length,ke)for(ut=Pt-1;ut>=0;ut--)H.call(xe,N[ut],ut);else for(ut=0;ut<Pt;ut++)H.call(xe,N[ut],ut);else if(d(N))for(Bt=Object.keys(N),Pt=Bt.length,ut=0;ut<Pt;ut++)H.call(xe,N[Bt[ut]],Bt[ut])}function k(N,H){let xe,ke,ut,Pt;if(!N||!H||N.length!==H.length)return!1;for(xe=0,ke=N.length;xe<ke;++xe)if(ut=N[xe],Pt=H[xe],ut.datasetIndex!==Pt.datasetIndex||ut.index!==Pt.index)return!1;return!0}function h(N){if(l(N))return N.map(h);if(d(N)){const H=Object.create(null),xe=Object.keys(N),ke=xe.length;let ut=0;for(;ut<ke;++ut)H[xe[ut]]=h(N[xe[ut]]);return H}return N}function O(N){return-1===["__proto__","prototype","constructor"].indexOf(N)}function E(N,H,xe,ke){if(!O(N))return;const ut=H[N],Pt=xe[N];d(ut)&&d(Pt)?c(ut,Pt,ke):H[N]=h(Pt)}function c(N,H,xe){const ke=l(H)?H:[H],ut=ke.length;if(!d(N))return N;const Pt=(xe=xe||{}).merger||E;let Bt;for(let nn=0;nn<ut;++nn){if(Bt=ke[nn],!d(Bt))continue;const en=Object.keys(Bt);for(let cn=0,xn=en.length;cn<xn;++cn)Pt(en[cn],N,Bt,xe)}return N}function Z(N,H){return c(N,H,{merger:v})}function v(N,H,xe){if(!O(N))return;const ke=H[N],ut=xe[N];d(ke)&&d(ut)?Z(ke,ut):Object.prototype.hasOwnProperty.call(H,N)||(H[N]=h(ut))}const X={"":N=>N,x:N=>N.x,y:N=>N.y};function ne(N,H){return(X[H]||(X[H]=function _e(N){const H=function te(N){const H=N.split("."),xe=[];let ke="";for(const ut of H)ke+=ut,ke.endsWith("\\")?ke=ke.slice(0,-1)+".":(xe.pu
1sh(ke),ke="");return xe}(N);return xe=>{for(const ke of H){if(""===ke)break;xe=xe&&xe[ke]}return xe}}(H)))(N)}function oe(N){return N.charAt(0).toUpperCase()+N.slice(1)}const he=N=>void 0!==N,Se=N=>"function"==typeof N,Be=(N,H)=>{if(N.size!==H.size)return!1;for(const xe of N)if(!H.has(xe))return!1;return!0};function ot(N){return"mouseup"===N.type||"click"===N.type||"contextmenu"===N.type}const nt=Math.PI,xt=2*nt,At=xt+nt,Qt=Number.POSITIVE_INFINITY,Vt=nt/180,dt=nt/2,Mt=nt/4,we=2*nt/3,me=Math.log10,We=Math.sign;function re(N,H,xe){return Math.abs(N-H)<xe}function ft(N){const H=Math.round(N);N=re(N,H,N/1e3)?H:N;const xe=Math.pow(10,Math.floor(me(N))),ke=N/xe;return(ke<=1?1:ke<=2?2:ke<=5?5:10)*xe}function Ot(N){const H=[],xe=Math.sqrt(N);let ke;for(ke=1;ke<xe;ke++)N%ke==0&&(H.push(ke),H.push(N/ke));return xe===(0|xe)&&H.push(xe),H.sort((ut,Pt)=>ut-Pt).pop(),H}function Et(N){return!isNaN(parseFloat(N))&&isFinite(N)}function Lt(N,H){const xe=Math.round(N);return xe-H<=N&&xe+H>=N}function It(N,H,xe){let ke,ut,Pt;for(ke=0,ut=N.length;ke<ut;ke++)Pt=N[ke][xe],isNaN(Pt)||(H.min=Math.min(H.min,Pt),H.max=Math.max(H.max,Pt))}function it(N){return N*(nt/180)}function wt(N){return N*(180/nt)}function le(N){if(!A(N))return;let H=1,xe=0;for(;Math.round(N*H)/H!==N;)H*=10,xe++;return xe}function Ne(N,H){const xe=H.x-N.x,ke=H.y-N.y,ut=Math.sqrt(xe*xe+ke*ke);let Pt=Math.atan2(ke,xe);return Pt<-.5*nt&&(Pt+=xt),{angle:Pt,distance:ut}}function Ut(N,H){return Math.sqrt(Math.pow(H.x-N.x,2)+Math.pow(H.y-N.y,2))}function pn(N,H){return(N-H+At)%xt-nt}function Dn(N){return(N%xt+xt)%xt}function Mn(N,H,xe,ke){const ut=Dn(N),Pt=Dn(H),Bt=Dn(xe),nn=Dn(Pt-ut),en=Dn(Bt-ut),cn=Dn(ut-Pt),xn=Dn(ut-Bt);return ut===Pt||ut===Bt||ke&&Pt===Bt||nn>en&&cn<xn}function rn(N,H,xe){return Math.max(H,Math.min(xe,N))}function Ue(N){return rn(N,-32768,32767)}function Je(N,H,xe,ke=1e-6){return N>=Math.min(H,xe)-ke&&N<=Math.max(H,xe)+ke}function De(N,H,xe){xe=xe||(Bt=>N[Bt]<H);let Pt,ke=N.length-1,ut=0;for(;ke-ut>1;)Pt=ut+ke>>1,xe(Pt)?ut=Pt:ke=Pt;return{lo:ut,hi:ke}}const at=(N,H,xe,ke)=>De(N,xe,ke?ut=>{const Pt=N[ut][H];return Pt<xe||Pt===xe&&N[ut+1][H]===xe}:ut=>N[ut][H]<xe),Ve=(N,H,xe)=>De(N,xe,ke=>N[ke][H]>=xe);function ge(N,H,xe){let ke=0,ut=N.length;for(;ke<ut&&N[ke]<H;)ke++;for(;ut>ke&&N[ut-1]>xe;)ut--;return ke>0||ut<N.length?N.slice(ke,ut):N}const et=["push","pop","shift","splice","unshift"];function _t(N,H){N._chartjs?N._chartjs.listeners.push(H):(Object.defineProperty(N,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[H]}}),et.forEach(xe=>{const ke="_onData"+oe(xe),ut=N[xe];Object.defineProperty(N,xe,{configurable:!0,enumerable:!1,value(...Pt){const Bt=ut.apply(this,Pt);return N._chartjs.listeners.forEach(nn=>{"function"==typeof nn[ke]&&nn[ke](...Pt)}),Bt}})}))}function jt(N,H){const xe=N._chartjs;if(!xe)return;const ke=xe.listeners,ut=ke.indexOf(H);-1!==ut&&ke.splice(ut,1),!(ke.length>0)&&(et.forEach(Pt=>{delete N[Pt]}),delete N._chartjs)}function Xt(N){const H=new Set;let xe,ke;for(xe=0,ke=N.length;xe<ke;++xe)H.add(N[xe]);return H.size===ke?N:Array.from(H)}const Hn="undefined"==typeof window?function(N){return N()}:window.requestAnimationFrame;function Kn(N,H){let xe=!1;return function(...ke){xe||(xe=!0,Hn.call(window,()=>{xe=!1,N.apply(H,ke)}))}}function Bn(N,H){let xe;return function(...ke){return H?(clearTimeout(xe),xe=setTimeout(N,H,ke)):N.apply(this,ke),H}}const di=N=>"start"===N?"left":"end"===N?"right":"center",ui=(N,H,xe)=>"start"===N?H:"end"===N?xe:(H+xe)/2,Di=(N,H,xe,ke)=>N===(ke?"left":"right")?xe:"center"===N?(H+xe)/2:H;function In(N,H,xe){const ke=H.length;let ut=0,Pt=ke;if(N._sorted){const{iScale:Bt,_parsed:nn}=N,en=Bt.axis,{min:cn,max:xn,minDefined:ti,maxDefined:_i}=Bt.getUserBounds();ti&&(ut=rn(Math.min(at(nn,Bt.axis,cn).lo,xe?ke:at(H,en,Bt.getPixelForValue(cn)).lo),0,ke-1)),Pt=_i?rn(Math.max(at(nn,Bt.axis,xn,!0).hi+1,xe?0:at(H,en,Bt.getPixelForValue(xn),!0).hi+1),ut,ke)-ut:ke-ut}return{start:ut,count:Pt}}function Fn(N){const{xScale:H,yScale:xe,_scaleRanges:ke}=N,ut={xmin:H.min,xmax:H.max,ymin:xe.min,ymax:xe.max};if(!ke)return N._scaleRanges=ut,!0;const Pt=ke.xmin!==H.min||ke.xmax!==H.max||ke.ymin!==xe.min||ke.ymax!==xe.max;return Object.assign(ke,ut),Pt}const ei=N=>0===N||1===N,Vi=(N,H,xe)=>-Math.pow(2,10*(N-=1))*Math.sin((N-H)*xt/xe),gt=(N,H,xe)=>Math.pow(2,-10*N)*Math.sin((N-H)*xt/xe)+1,He={linear:N=>N,easeInQuad:N=>
vendor: 5,838 bytes, line 1
1N*N,easeOutQuad:N=>-N*(N-2),easeInOutQuad:N=>(N/=.5)<1?.5*N*N:-.5*(--N*(N-2)-1),easeInCubic:N=>N*N*N,easeOutCubic:N=>(N-=1)*N*N+1,easeInOutCubic:N=>(N/=.5)<1?.5*N*N*N:.5*((N-=2)*N*N+2),easeInQuart:N=>N*N*N*N,easeOutQuart:N=>-((N-=1)*N*N*N-1),easeInOutQuart:N=>(N/=.5)<1?.5*N*N*N*N:-.5*((N-=2)*N*N*N-2),easeInQuint:N=>N*N*N*N*N,easeOutQuint:N=>(N-=1)*N*N*N*N+1,easeInOutQuint:N=>(N/=.5)<1?.5*N*N*N*N*N:.5*((N-=2)*N*N*N*N+2),easeInSine:N=>1-Math.cos(N*dt),easeOutSine:N=>Math.sin(N*dt),easeInOutSine:N=>-.5*(Math.cos(nt*N)-1),easeInExpo:N=>0===N?0:Math.pow(2,10*(N-1)),easeOutExpo:N=>1===N?1:1-Math.pow(2,-10*N),easeInOutExpo:N=>ei(N)?N:N<.5?.5*Math.pow(2,10*(2*N-1)):.5*(2-Math.pow(2,-10*(2*N-1))),easeInCirc:N=>N>=1?N:-(Math.sqrt(1-N*N)-1),easeOutCirc:N=>Math.sqrt(1-(N-=1)*N),easeInOutCirc:N=>(N/=.5)<1?-.5*(Math.sqrt(1-N*N)-1):.5*(Math.sqrt(1-(N-=2)*N)+1),easeInElastic:N=>ei(N)?N:Vi(N,.075,.3),easeOutElastic:N=>ei(N)?N:gt(N,.075,.3),easeInOutElastic:N=>ei(N)?N:N<.5?.5*Vi(2*N,.1125,.45):.5+.5*gt(2*N-1,.1125,.45),easeInBack:N=>N*N*(2.70158*N-1.70158),easeOutBack:N=>(N-=1)*N*(2.70158*N+1.70158)+1,easeInOutBack(N){let H=1.70158;return(N/=.5)<1?N*N*((1+(H*=1.525))*N-H)*.5:.5*((N-=2)*N*((1+(H*=1.525))*N+H)+2)},easeInBounce:N=>1-He.easeOutBounce(1-N),easeOutBounce:N=>N<1/2.75?7.5625*N*N:N<2/2.75?7.5625*(N-=1.5/2.75)*N+.75:N<2.5/2.75?7.5625*(N-=2.25/2.75)*N+.9375:7.5625*(N-=2.625/2.75)*N+.984375,easeInOutBounce:N=>N<.5?.5*He.easeInBounce(2*N):.5*He.easeOutBounce(2*N-1)+.5};var Oe=He;function pt(N){return N+.5|0}const Ft=(N,H,xe)=>Math.max(Math.min(N,xe),H);function fn(N){return Ft(pt(2.55*N),0,255)}function Zn(N){return Ft(pt(255*N),0,255)}function ni(N){return Ft(pt(N/2.55)/100,0,1)}function ln(N){return Ft(pt(100*N),0,100)}const An={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},bt=[..."0123456789ABCDEF"],Xe=N=>bt[15&N],st=N=>bt[(240&N)>>4]+bt[15&N],ct=N=>(240&N)>>4==(15&N);const Fi=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function co(N,H,xe){const ke=H*Math.min(xe,1-xe),ut=(Pt,Bt=(Pt+N/30)%12)=>xe-ke*Math.max(Math.min(Bt-3,9-Bt,1),-1);return[ut(0),ut(8),ut(4)]}function uo(N,H,xe){const ke=(ut,Pt=(ut+N/60)%6)=>xe-xe*H*Math.max(Math.min(Pt,4-Pt,1),0);return[ke(5),ke(3),ke(1)]}function gi(N,H,xe){const ke=co(N,1,.5);let ut;for(H+xe>1&&(ut=1/(H+xe),H*=ut,xe*=ut),ut=0;ut<3;ut++)ke[ut]*=1-H-xe,ke[ut]+=H;return ke}function to(N){const xe=N.r/255,ke=N.g/255,ut=N.b/255,Pt=Math.max(xe,ke,ut),Bt=Math.min(xe,ke,ut),nn=(Pt+Bt)/2;let en,cn,xn;return Pt!==Bt&&(xn=Pt-Bt,cn=nn>.5?xn/(2-Pt-Bt):xn/(Pt+Bt),en=function bo(N,H,xe,ke,ut){return N===ut?(H-xe)/ke+(H<xe?6:0):H===ut?(xe-N)/ke+2:(N-H)/ke+4}(xe,ke,ut,xn,Pt),en=60*en+.5),[0|en,cn||0,nn]}function xo(N,H,xe,ke){return(Array.isArray(H)?N(H[0],H[1],H[2]):N(H,xe,ke)).map(Zn)}function Nn(N,H,xe){return xo(co,N,H,xe)}function ye(N){return(N%360+360)%360}const Te={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},rt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Tn;const Si=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,zi=N=>N<=.0031308?12.92*N:1.055*Math.pow(N,1/2.4)-.055,Bi=N=>N<=.04045?N/12.92:Math.pow((N+.055)/1.055,2.4);function ci(N,H,xe){if(N){let ke=to(N);ke[H]=Math.max(0,Math.min(ke[H]+ke[H]*xe,0===H?360:1)),ke=Nn(ke),N.r=ke[0],N.g=ke[1],N.b=ke[2]}
1}function xi(N,H){return N&&Object.assign(H||{},N)}function Ii(N){var H={r:0,g:0,b:0,a:255};return Array.isArray(N)?N.length>=3&&(H={r:N[0],g:N[1],b:N[2],a:255},N.length>3&&(H.a=Zn(N[3]))):(H=xi(N,{r:0,g:0,b:0,a:1})).a=Zn(H.a),H}function Bo(N){return"r"===N.charAt(0)?function Ti(N){const H=Si.exec(N);let ke,ut,Pt,xe=255;if(H){if(H[7]!==ke){const Bt=+H[7];xe=H[8]?fn(Bt):Ft(255*Bt,0,255)}return ke=+H[1],ut=+H[3],Pt=+H[5],ke=255&(H[2]?fn(ke):Ft(ke,0,255)),ut=255&(H[4]?fn(ut):Ft(ut,0,255)),Pt=255&(H[6]?fn(Pt):Ft(Pt,0,255)),{r:ke,g:ut,b:Pt,a:xe}}}(N):function Ee(N){const H=Fi.exec(N);let ke,xe=255;if(!H)return;H[5]!==ke&&(xe=H[6]?fn(+H[5]):Zn(+H[5]));const ut=ye(+H[2]),Pt=+H[3]/100,Bt=+H[4]/100;return ke="hwb"===H[1]?function fe(N,H,xe){return xo(gi,N,H,xe)}(ut,Pt,Bt):"hsv"===H[1]?function Pe(N,H,xe){return xo(uo,N,H,xe)}(ut,Pt,Bt):Nn(ut,Pt,Bt),{r:ke[0],g:ke[1],b:ke[2],a:xe}}(N)}class Gi{constructor(H){if(H instanceof Gi)return H;const xe=typeof H;let ke;"object"===xe?ke=Ii(H):"string"===xe&&(ke=function un(N){var xe,H=N.length;return"#"===N[0]&&(4===H||5===H?xe={r:255&17*An[N[1]],g:255&17*An[N[2]],b:255&17*An[N[3]],a:5===H?17*An[N[4]]:255}:(7===H||9===H)&&(xe={r:An[N[1]]<<4|An[N[2]],g:An[N[3]]<<4|An[N[4]],b:An[N[5]]<<4|An[N[6]],a:9===H?An[N[7]]<<4|An[N[8]]:255})),xe}(H)||function Ln(N){Tn||(Tn=function Nt(){const N={},H=Object.keys(rt),xe=Object.keys(Te);let ke,ut,Pt,Bt,nn;for(ke=0;ke<H.length;ke++){for(Bt=nn=H[ke],ut=0;ut<xe.length;ut++)Pt=xe[ut],nn=nn.replace(Pt,Te[Pt]);Pt=parseInt(rt[Bt],16),N[nn]=[Pt>>16&255,Pt>>8&255,255&Pt]}return N}(),Tn.transparent=[0,0,0,0]);const H=Tn[N.toLowerCase()];return H&&{r:H[0],g:H[1],b:H[2],a:4===H.length?H[3]:255}}(H)||Bo(H)),this._rgb=ke,this._valid=!!ke}get valid(){return this._valid}get rgb(){var H=xi(this._rgb);return H&&(H.a=ni(H.a)),H}set rgb(H){this._rgb=Ii(H)}rgbString(){return this._valid?function ho(N){return N&&(N.a<255?`rgba(${N.r}, ${N.g}, ${N.b}, ${ni(N.a)})`:`rgb(${N.r}, ${N.g}, ${N.b})`)}(this._rgb):void 0}hexString(){return this._valid?function Qn(N){var H=(N=>ct(N.r)&&ct(N.g)&&ct(N.b)&&ct(N.a))(N)?Xe:st;return N?"#"+H(N.r)+H(N.g)+H(N.b)+((N,H)=>N<255?H(N):"")(N.a,H):void 0}(this._rgb):void 0}hslString(){return this._valid?function Y(N){if(!N)return;const H=to(N),xe=H[0],ke=ln(H[1]),ut=ln(H[2]);return N.a<255?`hsla(${xe}, ${ke}%, ${ut}%, ${ni(N.a)})`:`hsl(${xe}, ${ke}%, ${ut}%)`}(this._rgb):void 0}mix(H,xe){if(H){const ke=this.rgb,ut=H.rgb;let Pt;const Bt=xe===Pt?.5:xe,nn=2*Bt-1,en=ke.a-ut.a,cn=((nn*en==-1?nn:(nn+en)/(1+nn*en))+1)/2;Pt=1-cn,ke.r=255&cn*ke.r+Pt*ut.r+.5,ke.g=255&cn*ke.g+Pt*ut.g+.5,ke.b=255&cn*ke.b+Pt*ut.b+.5,ke.a=Bt*ke.a+(1-Bt)*ut.a,this.rgb=ke}return this}interpolate(H,xe){return H&&(this._rgb=function bn(N,H,xe){const ke=Bi(ni(N.r)),ut=Bi(ni(N.g)),Pt=Bi(ni(N.b));return{r:Zn(zi(ke+xe*(Bi(ni(H.r))-ke))),g:Zn(zi(ut+xe*(Bi(ni(H.g))-ut))),b:Zn(zi(Pt+xe*(Bi(ni(H.b))-Pt))),a:N.a+xe*(H.a-N.a)}}(this._rgb,H._rgb,xe)),this}clone(){return new Gi(this.rgb)}alpha(H){return this._rgb.a=Zn(H),this}clearer(H){return this._rgb.a*=1-H,this}greyscale(){const H=this._rgb,xe=pt(.3*H.r+.59*H.g+.11*H.b);return H.r=H.g=H.b=xe,this}opaquer(H){return this._rgb.a*=1+H,this}negate(){const H=this._rgb;return H.r=255-H.r,H.g=255-H.g,H.b=255-H.b,this}lighten(H){return ci(this._rgb,2,H),this}darken(H){return ci(this._rgb,2,-H),this}saturate(H){return ci(this._rgb,1,H),this}desaturate(H){return ci(this._rgb,1,-H),this}rotate(H){return function lt(N,H){var xe=to(N);xe[0]=ye(xe[0]+H),xe=Nn(xe),N.r=xe[0],N.g=xe[1],N.b=xe[2]}(this._rgb,H),this}}function go(N){return new Gi(N)}function wo(N){if(N&&"object"==typeof N){const H=N.toString();return"[object CanvasPattern]"===H||"[object CanvasGradient]"===H}return!1}function Ao(N){return wo(N)?N:go(N)}function Fo(N){return wo(N)?N:go(N).saturate(.5).darken(.1).hexString()}const ua=["x","y","borderWidth","radius","tension"],yt=["color","borderColor","backgroundColor"],Ie=new Map;function de(N,H,xe){return function G(N,H){H=H||{};const xe=N+JSON.stringify(H);let ke=Ie.get(xe);return ke||(ke=new Intl.NumberFormat(N,H),Ie.set(xe,ke)),ke}(H,xe).format(N)}const Ye={values:N=>
vendor: 1,893 bytes, line 1
1l(N)?N:""+N,numeric(N,H,xe){if(0===N)return"0";const ke=this.chart.options.locale;let ut,Pt=N;if(xe.length>1){const cn=Math.max(Math.abs(xe[0].value),Math.abs(xe[xe.length-1].value));(cn<1e-4||cn>1e15)&&(ut="scientific"),Pt=function Dt(N,H){let xe=H.length>3?H[2].value-H[1].value:H[1].value-H[0].value;return Math.abs(xe)>=1&&N!==Math.floor(N)&&(xe=N-Math.floor(N)),xe}(N,xe)}const Bt=me(Math.abs(Pt)),nn=Math.max(Math.min(-1*Math.floor(Bt),20),0),en={notation:ut,minimumFractionDigits:nn,maximumFractionDigits:nn};return Object.assign(en,this.options.ticks.format),de(N,ke,en)},logarithmic(N,H,xe){if(0===N)return"0";const ke=xe[H].significand||N/Math.pow(10,Math.floor(me(N)));return[1,2,3,5,10,15].includes(ke)||H>.8*xe.length?Ye.numeric.call(this,N,H,xe):""}};var an={formatters:Ye};const zn=Object.create(null),$i=Object.create(null);function no(N,H){if(!H)return N;const xe=H.split(".");for(let ke=0,ut=xe.length;ke<ut;++ke){const Pt=xe[ke];N=N[Pt]||(N[Pt]=Object.create(null))}return N}function Wi(N,H,xe){return"string"==typeof H?c(no(N,H),xe):c(no(N,""),H)}class Zo{constructor(H,xe){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=ke=>ke.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(ke,ut)=>Fo(ut.backgroundColor),this.hoverBorderColor=(ke,ut)=>Fo(ut.borderColor),this.hoverColor=(ke,ut)=>Fo(ut.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
1,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(H),this.apply(xe)}set(H,xe){return Wi(this,H,xe)}get(H){return no(this,H)}describe(H,xe){return Wi($i,H,xe)}override(H,xe){return Wi(zn,H,xe)}route(H,xe,ke,ut){const Pt=no(this,H),Bt=no(this,ke),nn="_"+xe;Object.defineProperties(Pt,{[nn]:{value:Pt[xe],writable:!0},[xe]:{enumerable:!0,get(){const en=this[nn],cn=Bt[ut];return d(en)?Object.assign({},cn,en):T(en,cn)},set(en){this[nn]=en}}})}apply(H){H.forEach(xe=>xe(this))}}var ia=new Zo({_scriptable:N=>!N.startsWith("on"),_indexable:N=>"events"!==N,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function $e(N){N.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),N.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:H=>"onProgress"!==H&&"onComplete"!==H&&"fn"!==H}),N.set("animations",{colors:{type:"color",properties:yt},numbers:{type:"number",properties:ua}}),N.describe("animations",{_fallback:"animation"}),N.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:H=>0|H}}}})},function z(N){N.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function vn(N){N.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(H,xe)=>xe.lineWidth,tickColor:(H,xe)=>xe.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:an.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),N.route("scale.ticks","color","","color"),N.route("scale.grid","color","","borderColor"),N.route("scale.border","color","","borderColor"),N.route("scale.title","color","","color"),N.describe("scale",{_fallback:!1,_scriptable:H=>!H.startsWith("before")&&!H.startsWith("after")&&"callback"!==H&&"parser"!==H,_indexable:H=>"borderDash"!==H&&"tickBorderDash"!==H&&"dash"!==H}),N.describe("scales",{_fallback:"scale"}),N.describe("scale.ticks",{_scriptable:H=>"backdropPadding"!==H&&"callback"!==H,_indexable:H=>"backdropPadding"!==H})}]);function Pa(N,H,xe,ke,ut){let Pt=H[ut];return Pt||(Pt=H[ut]=N.measureText(ut).width,xe.push(ut)),Pt>ke&&(ke=Pt),ke}function Ia(N,H,xe,ke){let ut=(ke=ke||{}).data=ke.data||{},Pt=ke.garbageCollect=ke.garbageCollect||[];ke.font!==H&&(ut=ke.data={},Pt=ke.garbageCollect=[],ke.font=H),N.save(),N.font=H;let Bt=0;const nn=xe.length;let en,cn,xn,ti,_i;for(en=0;en<nn;en++)if(ti=xe[en],null!=ti&&!0!==l(ti))Bt=Pa(N,ut,Pt,Bt,ti);else if(l(ti))for(cn=0,xn=ti.length;cn<xn;cn++)_i=ti[cn],null!=_i&&!l(_i)&&(Bt=Pa(N,ut,Pt,Bt,_i));N.restore();const oo=Pt.length/2;if(oo>xe.length){for(en=0;en<oo;en++)delete ut[Pt[en]];Pt.splice(0,oo)}return Bt}function Ca(N,H,xe){const ke=N.currentDevicePixelRatio,ut=0!==xe?Math.max(xe/2,.5):0;return Math.round((H-ut)*ke)/ke+ut}function oa(N,H){(H=H||N.getContext("2d")).save(),H.resetTransform(),H.clearRect(0,0,N.width,N.height),H.restore(
vendor: 4,339 bytes, line 1
1)}function ka(N,H,xe,ke){ha(N,H,xe,ke,null)}function ha(N,H,xe,ke,ut){let Pt,Bt,nn,en,cn,xn,ti,_i;const oo=H.pointStyle,Eo=H.rotation,ki=H.radius;let Gn=(Eo||0)*Vt;if(oo&&"object"==typeof oo&&(Pt=oo.toString(),"[object HTMLImageElement]"===Pt||"[object HTMLCanvasElement]"===Pt))return N.save(),N.translate(xe,ke),N.rotate(Gn),N.drawImage(oo,-oo.width/2,-oo.height/2,oo.width,oo.height),void N.restore();if(!(isNaN(ki)||ki<=0)){switch(N.beginPath(),oo){default:ut?N.ellipse(xe,ke,ut/2,ki,0,0,xt):N.arc(xe,ke,ki,0,xt),N.closePath();break;case"triangle":xn=ut?ut/2:ki,N.moveTo(xe+Math.sin(Gn)*xn,ke-Math.cos(Gn)*ki),Gn+=we,N.lineTo(xe+Math.sin(Gn)*xn,ke-Math.cos(Gn)*ki),Gn+=we,N.lineTo(xe+Math.sin(Gn)*xn,ke-Math.cos(Gn)*ki),N.closePath();break;case"rectRounded":cn=.516*ki,en=ki-cn,Bt=Math.cos(Gn+Mt)*en,ti=Math.cos(Gn+Mt)*(ut?ut/2-cn:en),nn=Math.sin(Gn+Mt)*en,_i=Math.sin(Gn+Mt)*(ut?ut/2-cn:en),N.arc(xe-ti,ke-nn,cn,Gn-nt,Gn-dt),N.arc(xe+_i,ke-Bt,cn,Gn-dt,Gn),N.arc(xe+ti,ke+nn,cn,Gn,Gn+dt),N.arc(xe-_i,ke+Bt,cn,Gn+dt,Gn+nt),N.closePath();break;case"rect":if(!Eo){en=Math.SQRT1_2*ki,xn=ut?ut/2:en,N.rect(xe-xn,ke-en,2*xn,2*en);break}Gn+=Mt;case"rectRot":ti=Math.cos(Gn)*(ut?ut/2:ki),Bt=Math.cos(Gn)*ki,nn=Math.sin(Gn)*ki,_i=Math.sin(Gn)*(ut?ut/2:ki),N.moveTo(xe-ti,ke-nn),N.lineTo(xe+_i,ke-Bt),N.lineTo(xe+ti,ke+nn),N.lineTo(xe-_i,ke+Bt),N.closePath();break;case"crossRot":Gn+=Mt;case"cross":ti=Math.cos(Gn)*(ut?ut/2:ki),Bt=Math.cos(Gn)*ki,nn=Math.sin(Gn)*ki,_i=Math.sin(Gn)*(ut?ut/2:ki),N.moveTo(xe-ti,ke-nn),N.lineTo(xe+ti,ke+nn),N.moveTo(xe+_i,ke-Bt),N.lineTo(xe-_i,ke+Bt);break;case"star":ti=Math.cos(Gn)*(ut?ut/2:ki),Bt=Math.cos(Gn)*ki,nn=Math.sin(Gn)*ki,_i=Math.sin(Gn)*(ut?ut/2:ki),N.moveTo(xe-ti,ke-nn),N.lineTo(xe+ti,ke+nn),N.moveTo(xe+_i,ke-Bt),N.lineTo(xe-_i,ke+Bt),Gn+=Mt,ti=Math.cos(Gn)*(ut?ut/2:ki),Bt=Math.cos(Gn)*ki,nn=Math.sin(Gn)*ki,_i=Math.sin(Gn)*(ut?ut/2:ki),N.moveTo(xe-ti,ke-nn),N.lineTo(xe+ti,ke+nn),N.moveTo(xe+_i,ke-Bt),N.lineTo(xe-_i,ke+Bt);break;case"line":Bt=ut?ut/2:Math.cos(Gn)*ki,nn=Math.sin(Gn)*ki,N.moveTo(xe-Bt,ke-nn),N.lineTo(xe+Bt,ke+nn);break;case"dash":N.moveTo(xe,ke),N.lineTo(xe+Math.cos(Gn)*(ut?ut/2:ki),ke+Math.sin(Gn)*ki)}N.fill(),H.borderWidth>0&&N.stroke()}}function Ja(N,H,xe){return xe=xe||.5,!H||N&&N.x>H.left-xe&&N.x<H.right+xe&&N.y>H.top-xe&&N.y<H.bottom+xe}function Ho(N,H){N.save(),N.beginPath(),N.rect(H.left,H.top,H.right-H.left,H.bottom-H.top),N.clip()}function cs(N){N.restore()}function Fa(N,H,xe,ke,ut){if(!H)return N.lineTo(xe.x,xe.y);if("middle"===ut){const Pt=(H.x+xe.x)/2;N.lineTo(Pt,H.y),N.lineTo(Pt,xe.y)}else"after"===ut!=!!ke?N.lineTo(H.x,xe.y):N.lineTo(xe.x,H.y);N.lineTo(xe.x,xe.y)}function Wa(N,H,xe,ke){if(!H)return N.lineTo(xe.x,xe.y);N.bezierCurveTo(ke?H.cp1x:H.cp2x,ke?H.cp1y:H.cp2y,ke?xe.cp2x:xe.cp1x,ke?xe.cp2y:xe.cp1y,xe.x,xe.y)}function os(N,H,xe,ke,ut,Pt={}){const Bt=l(H)?H:[H],nn=Pt.strokeWidth>0&&""!==Pt.strokeColor;let en,cn;for(N.save(),N.font=ut.string,function Ha(N,H){H.translation&&N.translate(H.translation[0],H.translation[1]),e(H.rotation)||N.rotate(H.rotation),H.color&&(N.fillStyle=H.color),H.textAlign&&(N.textAlign=H.textAlign),H.textBaseline&&(N.textBaseline=H.textBaseline)}(N,Pt),en=0;en<Bt.length;++en)cn=Bt[en],Pt.backdrop&&Ra(N,Pt.backdrop),nn&&(Pt.strokeColor&&(N.strokeStyle=Pt.strokeColor),e(Pt.strokeWidth)||(N.lineWidth=Pt.strokeWidth),N.strokeText(cn,xe,ke,Pt.maxWidth)),N.fillText(cn,xe,ke,Pt.maxWidth),ba(N,xe,ke,cn,Pt),ke+=ut.lineHeight;N.restore()}function ba(N,H,xe,ke,ut){if(ut.strikethrough||ut.underline){const Pt=N.measureText(ke),Bt=H-Pt.actualBoundingBoxLeft,nn=H+Pt.actualBoundingBoxRight,en=xe-Pt.actualBoundingBoxAscent,cn=xe+Pt.actualBoundingBoxDescent,xn=ut.strikethrough?(en+cn)/2:cn;N.strokeStyle=N.fillStyle,N.beginPath(),N.lineWidth=ut.decorationWidth||2,N.moveTo(Bt,xn),N.lineTo(nn,xn),N.stroke()}}function Ra(N,H){const xe=N.fillStyle;N.fillStyle=H.color,N.fillRect(H.left,H.top,H.width,H.height),N.fillStyle=xe}function Za(N,H){const{x:xe,y:ke,w:ut,h:Pt,radius:Bt}=H;N.arc(xe+Bt.topLeft,ke+Bt.topLeft,Bt.topLeft,-dt,nt,!0),N.lineTo(xe,ke+Pt-Bt.bottomLeft),N.arc(xe+Bt.bottomLeft,ke+Pt-Bt.bottomLeft,Bt.bottomLeft,nt,dt,!0),N.lineTo(xe+ut-Bt.bottomRight,ke+Pt),N.arc(xe+ut-Bt.bottomRight,ke+Pt-Bt.bottomRight,Bt.bottomRight,dt,0,!0),N.lineTo(xe+ut,ke+Bt.topRight),N.arc(xe+ut-Bt.topRight,ke+Bt.topRight,Bt.to
1pRight,0,-dt,!0),N.lineTo(xe+Bt.topLeft,ke)}const ma=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,as=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function lo(N,H){const xe=(""+N).match(ma);if(!xe||"normal"===xe[1])return 1.2*H;switch(N=+xe[2],xe[3]){case"px":return N;case"%":N/=100}return H*N}const ss=N=>+N||0;function za(N,H){const xe={},ke=d(H),ut=ke?Object.keys(H):H,Pt=d(N)?ke?Bt=>T(N[Bt],N[H[Bt]]):Bt=>N[Bt]:()=>N;for(const Bt of ut)xe[Bt]=ss(Pt(Bt));return xe}function So(N){return za(N,{top:"y",right:"x",bottom:"y",left:"x"})}function Ba(N){return za(N,["topLeft","topRight","bottomLeft","bottomRight"])}function jo(N){const H=So(N);return H.width=H.left+H.right,H.height=H.top+H.bottom,H}function $a(N,H){let xe=T((N=N||{}).size,(H=H||ia.font).size);"string"==typeof xe&&(xe=parseInt(xe,10));let ke=T(N.style,H.style);ke&&!(""+ke).match(as)&&(console.warn('Invalid font style specified: "'+ke+'"'),ke=void 0);const ut={family:T(N.family,H.family),lineHeight:lo(T(N.lineHeight,H.lineHeight),xe),size:xe,style:ke,weight:T(N.weight,H.weight),string:""};return ut.string=function Wo(N){return!N||e(N.size)||e(N.family)?null:(N.style?N.style+" ":"")+(N.weight?N.weight+" ":"")+N.size+"px "+N.family}(ut),ut}function Ya(N,H,xe,ke){let Pt,Bt,nn,ut=!0;for(Pt=0,Bt=N.length;Pt<Bt;++Pt)if(nn=N[Pt],void 0!==nn&&(void 0!==H&&"function"==typeof nn&&(nn=nn(H),ut=!1),void 0!==xe&&l(nn)&&(nn=nn[xe%nn.length],ut=!1),void 0!==nn))return ke&&!ut&&(ke.cacheable=!1),nn}function ya(N,H,xe){const{min:ke,max:ut}=N,Pt=R(H,(ut-ke)/2),Bt=(nn,en)=>xe&&0===nn?0:nn+en;return{min:Bt(ke,-Math.abs(Pt)),max:Bt(ut,Pt)}}function ga(N,H){return Object.assign(Object.create(N),H)}function Oo(N,H=[""],xe=N,ke,ut=(()=>N[0])){he(ke)||(ke=$("_fallback",N));const Pt={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:N,_rootScopes:xe,_fallback:ke,_getTarget:ut,override:Bt=>Oo([Bt,...N],H,xe,ke)};return new Proxy(Pt,{deleteProperty:(Bt,nn)=>(delete Bt[nn],delete Bt._keys,delete N[0][nn],!0),get:(Bt,nn)=>Ht(Bt,nn,()=>function ve(N,H,xe,ke){let ut;for(const Pt of H)if(ut=$(Ce(Pt,N),xe),he(ut))return mt(N,ut)?ao(xe,ke,N,ut):ut}(nn,H,N,Bt)),getOwnPropertyDescriptor:(Bt,nn)=>Reflect.getOwnPropertyDescriptor(Bt._scopes[0],nn),getPrototypeOf:()=>Reflect.getPrototypeOf(N[0]),has:(Bt,nn)=>L(Bt).includes(nn),ownKeys:Bt=>L(Bt),set(Bt,nn,en){const cn=Bt._storage||(Bt._storage=ut());return Bt[nn]=cn[nn]=en,delete Bt._keys,!0}})}function Ae(N,H,xe,ke){const ut={_cacheable:!1,_proxy:N,_context:H,_subProxy:xe,_stack:new Set,_descriptors:tt(N,ke),setContext:Pt=>Ae(N,Pt,xe,ke),override:Pt=>Ae(N.override(Pt),H,xe,ke)};return new Proxy(ut,{deleteProperty:(Pt,Bt)=>(delete Pt[Bt],delete N[Bt],!0),get:(Pt,Bt,nn)=>Ht(Pt,Bt,()=>function En(N,H,xe){const{_proxy:ke,_context:ut,_subProxy:Pt,_descriptors:Bt}=N;let nn=ke[H];return Se(nn)&&Bt.isScriptable(H)&&(nn=function wn(N,H,xe,ke){const{_proxy:ut,_context:Pt,_subProxy:Bt,_stack:nn}=xe;if(nn.has(N))throw new Error("Recursion detected: "+Array.from(nn).join("->")+"->"+N);return nn.add(N),H=H(Pt,Bt||ke),nn.delete(N),mt(N,H)&&(H=ao(ut._scopes,ut,N,H)),H}(H,nn,N,xe)),l(nn)&&nn.length&&(nn=function fi(N,H,xe,ke){const{_proxy:ut,_context:Pt,_subProxy:Bt,_descriptors:nn}=xe;if(he(Pt.index)&&ke(N))H=H[Pt.index%H.length];else if(d(H[0])){const en=H,cn=ut._scopes.filter(xn=>xn!==en);H=[];for(const xn of en){const ti=ao(cn,ut,N,xn);H.push(Ae(ti,Pt,Bt&&Bt[N],nn))}}return H}
1(H,nn,N,Bt.isIndexable)),mt(H,nn)&&(nn=Ae(nn,ut,Pt&&Pt[H],Bt)),nn}(Pt,Bt,nn)),getOwnPropertyDescriptor:(Pt,Bt)=>Pt._descriptors.allKeys?Reflect.has(N,Bt)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(N,Bt),getPrototypeOf:()=>Reflect.getPrototypeOf(N),has:(Pt,Bt)=>Reflect.has(N,Bt),ownKeys:()=>Reflect.ownKeys(N),set:(Pt,Bt,nn)=>(N[Bt]=nn,delete Pt[Bt],!0)})}function tt(N,H={scriptable:!0,indexable:!0}){const{_scriptable:xe=H.scriptable,_indexable:ke=H.indexable,_allKeys:ut=H.allKeys}=N;return{allKeys:ut,scriptable:xe,indexable:ke,isScriptable:Se(xe)?xe:()=>xe,isIndexable:Se(ke)?ke:()=>ke}}const Ce=(N,H)=>N?N+oe(H):H,mt=(N,H)=>d(H)&&"adapters"!==N&&(null===Object.getPrototypeOf(H)||H.constructor===Object);function Ht(N,H,xe){if(Object.prototype.hasOwnProperty.call(N,H))return N[H];const ke=xe();return N[H]=ke,ke}function mo(N,H,xe){return Se(N)?N(H,xe):N}const _o=(N,H)=>!0===N?H:"string"==typeof N?ne(H,N):void 0;function io(N,H,xe,ke,ut){for(const Pt of H){const Bt=_o(xe,Pt);if(Bt){N.add(Bt);const nn=mo(Bt._fallback,xe,ut);if(he(nn)&&nn!==xe&&nn!==ke)return nn}else if(!1===Bt&&he(ke)&&xe!==ke)return null}return!1}function ao(N,H,xe,ke){const ut=H._rootScopes,Pt=mo(H._fallback,xe,ke),Bt=[...N,...ut],nn=new Set;nn.add(ke);let en=No(nn,Bt,xe,Pt||xe,ke);return!(null===en||he(Pt)&&Pt!==xe&&(en=No(nn,Bt,Pt,en,ke),null===en))&&Oo(Array.from(nn),[""],ut,Pt,()=>function To(N,H,xe){const ke=N._getTarget();H in ke||(ke[H]={});const ut=ke[H];return l(ut)&&d(xe)?xe:ut||{}}(H,xe,ke))}function No(N,H,xe,ke,ut){for(;xe;)xe=io(N,H,xe,ke,ut);return xe}function $(N,H){for(const xe of H){if(!xe)continue;const ke=xe[N];if(he(ke))return ke}}function L(N){let H=N._keys;return H||(H=N._keys=function U(N){const H=new Set;for(const xe of N)for(const ke of Object.keys(xe).filter(ut=>!ut.startsWith("_")))H.add(ke);return Array.from(H)}(N._scopes)),H}function ce(N,H,xe,ke){const{iScale:ut}=N,{key:Pt="r"}=this._parsing,Bt=new Array(ke);let nn,en,cn,xn;for(nn=0,en=ke;nn<en;++nn)cn=nn+xe,xn=H[cn],Bt[nn]={r:ut.parse(ne(xn,Pt),cn)};return Bt}const vt=Number.EPSILON||1e-14,Wt=(N,H)=>H<N.length&&!N[H].skip&&N[H],qn=N=>"x"===N?"y":"x";function Mi(N,H,xe,ke){const ut=N.skip?H:N,Pt=H,Bt=xe.skip?H:xe,nn=Ut(Pt,ut),en=Ut(Bt,Pt);let cn=nn/(nn+en),xn=en/(nn+en);cn=isNaN(cn)?0:cn,xn=isNaN(xn)?0:xn;const ti=ke*cn,_i=ke*xn;return{previous:{x:Pt.x-ti*(Bt.x-ut.x),y:Pt.y-ti*(Bt.y-ut.y)},next:{x:Pt.x+_i*(Bt.x-ut.x),y:Pt.y+_i*(Bt.y-ut.y)}}}function gn(N,H,xe){return Math.max(Math.min(N,xe),H)}function Do(N,H,xe,ke,ut){let Pt,Bt,nn,en;if(H.spanGaps&&(N=N.filter(cn=>!cn.skip)),"monotone"===H.cubicInterpolationMode)!function fo(N,H="x"){const xe=qn(H),ke=N.length,ut=Array(ke).fill(0),Pt=Array(ke);let Bt,nn,en,cn=Wt(N,0);for(Bt=0;Bt<ke;++Bt)if(nn=en,en=cn,cn=Wt(N,Bt+1),en){if(cn){const xn=cn[H]-en[H];ut[Bt]=0!==xn?(cn[xe]-en[xe])/xn:0}Pt[Bt]=nn?cn?We(ut[Bt-1])!==We(ut[Bt])?0:(ut[Bt-1]+ut[Bt])/2:ut[Bt-1]:ut[Bt]}(function Wn(N,H,xe){const ke=N.length;let ut,Pt,Bt,nn,en,cn=Wt(N,0);for(let xn=0;xn<ke-1;++xn)if(en=cn,cn=Wt(N,xn+1),en&&cn){if(re(H[xn],0,vt)){xe[xn]=xe[xn+1]=0;continue}ut=xe[xn]/H[xn],Pt=xe[xn+1]/H[xn],nn=Math.pow(ut,2)+Math.pow(Pt,2),!(nn<=9)&&(Bt=3/Math.sqrt(nn),xe[xn]=ut*Bt*H[xn],xe[xn+1]=Pt*Bt*H[xn])}})(N,ut,Pt),function Ai(N,H,xe="x"){const ke=qn(xe),ut=N.length;let Pt,Bt,nn,en=Wt(N,0);for(let cn=0;cn<ut;++cn){if(Bt=nn,nn=en,en=Wt(N,cn+1),!nn)continue;const xn=nn[xe],ti=nn[ke];Bt&&(Pt=(xn-Bt[xe])/3,nn[`cp1${xe}`]=xn-Pt,nn[`cp1${ke}`]=ti-Pt*H[cn]),en&&(Pt=(en[xe]-xn)/3,nn[`cp2${xe}`]=xn+Pt,nn[`cp2${ke}`]=ti+Pt*H[cn])}}(N,Pt,H)}(N,ut);else{let cn=ke?N[N.length-1]:N[0];for(Pt=0,Bt=N.length;Pt<Bt;++Pt)nn=N[Pt],en=Mi(cn,nn,N[Math.min(Pt+1,Bt-(ke?0:1))%Bt],H.tension),nn.cp1x=en.previous.x,nn.cp1y=en.previous.y,nn.cp2x=en.next.x,nn.cp2y=en.next.y,cn=nn}H.capBezierPoints&&function ri(N,H){let xe,ke,ut,Pt,Bt,nn=Ja(N[0],H);for(xe=0,ke=N.length;xe<ke;++xe)Bt=Pt,Pt=nn,nn=xe<ke-1&&Ja(N[xe+1],H),Pt&&(ut=N[xe],Bt&&(ut.cp1x=gn(ut.cp1x,H.left,H.right),ut.cp1y=gn(ut.cp1y,H.top,H.bottom)),nn&&(ut.cp2x=gn(ut.cp2x,H.left,H.right),ut.cp2y=gn(ut.cp2y,H.top,H.bottom)))}(N,xe)}function so(){return"undefined"!=typeof window&&"undefined"!=typeof document}function xa(N){let H=N.parentNode;return H&&"[object ShadowRoot]"===H.toString()&&(H=H.host),H}function Aa(N,H,xe){let ke;return"string"==typeof N?(ke=parseInt(N,10),-1!==N.indexOf("%")&&(ke=ke/100*H.parentNode[xe])):ke=N,ke}const Sa=N=>N.ownerDocument.defaultView.getComputedStyle(N,null),Xs=["top","right","bottom","left"];function ds(N,H,xe){const ke={};xe=xe?"-"+xe:"";for(let ut=0;ut<4;ut++){const Pt=Xs[ut];ke[Pt]=parseFloat(N[H+"-"+Pt+xe])||0}return ke.width=ke.left+ke.right,ke.height=ke.top+ke.bottom,ke}
1function ks(N,H){if("native"in N)return N;const{canvas:xe,currentDevicePixelRatio:ke}=H,ut=Sa(xe),Pt="border-box"===ut.boxSizing,Bt=ds(ut,"padding"),nn=ds(ut,"border","width"),{x:en,y:cn,box:xn}=function mr(N,H){const xe=N.touches,ke=xe&&xe.length?xe[0]:N,{offsetX:ut,offsetY:Pt}=ke;let nn,en,Bt=!1;if(((N,H,xe)=>(N>0||H>0)&&(!xe||!xe.shadowRoot))(ut,Pt,N.target))nn=ut,en=Pt;else{const cn=H.getBoundingClientRect();nn=ke.clientX-cn.left,en=ke.clientY-cn.top,Bt=!0}return{x:nn,y:en,box:Bt}}(N,xe),ti=Bt.left+(xn&&nn.left),_i=Bt.top+(xn&&nn.top);let{width:oo,height:Eo}=H;return Pt&&(oo-=Bt.width+nn.width,Eo-=Bt.height+nn.height),{x:Math.round((en-ti)/oo*xe.width/ke),y:Math.round((cn-_i)/Eo*xe.height/ke)}}const Xa=N=>Math.round(10*N)/10;function Fe(N,H,xe,ke){const ut=Sa(N),Pt=ds(ut,"margin"),Bt=Aa(ut.maxWidth,N,"clientWidth")||Qt,nn=Aa(ut.maxHeight,N,"clientHeight")||Qt,en=function Ea(N,H,xe){let ke,ut;if(void 0===H||void 0===xe){const Pt=xa(N);if(Pt){const Bt=Pt.getBoundingClientRect(),nn=Sa(Pt),en=ds(nn,"border","width"),cn=ds(nn,"padding");H=Bt.width-cn.width-en.width,xe=Bt.height-cn.height-en.height,ke=Aa(nn.maxWidth,Pt,"clientWidth"),ut=Aa(nn.maxHeight,Pt,"clientHeight")}else H=N.clientWidth,xe=N.clientHeight}return{width:H,height:xe,maxWidth:ke||Qt,maxHeight:ut||Qt}}(N,H,xe);let{width:cn,height:xn}=en;if("content-box"===ut.boxSizing){const _i=ds(ut,"border","width"),oo=ds(ut,"padding");cn-=oo.width+_i.width,xn-=oo.height+_i.height}return cn=Math.max(0,cn-Pt.width),xn=Math.max(0,ke?Math.floor(cn/ke):xn-Pt.height),cn=Xa(Math.min(cn,Bt,en.maxWidth)),xn=Xa(Math.min(xn,nn,en.maxHeight)),cn&&!xn&&(xn=Xa(cn/2)),(void 0!==H||void 0!==xe)&&ke&&en.height&&xn>en.height&&(xn=en.height,cn=Xa(Math.floor(xn*ke))),{width:cn,height:xn}}function B(N,H,xe){const ke=H||1,ut=Math.floor(N.height*ke),Pt=Math.floor(N.width*ke);N.height=ut/ke,N.width=Pt/ke;const Bt=N.canvas;return Bt.style&&(xe||!Bt.style.height&&!Bt.style.width)&&(Bt.style.height=`${N.height}px`,Bt.style.width=`${N.width}px`),(N.currentDevicePixelRatio!==ke||Bt.height!==ut||Bt.width!==Pt)&&(N.currentDevicePixelRatio=ke,Bt.height=ut,Bt.width=Pt,N.ctx.setTransform(ke,0,0,ke,0,0),!0)}const j=function(){let N=!1;try{const H={get passive(){return N=!0,!1}};window.addEventListener("test",null,H),window.removeEventListener("test",null,H)}catch(H){}return N}();function pe(N,H){const xe=function zs(N,H){return Sa(N).getPropertyValue(H)}(N,H),ke=xe&&xe.match(/^(\d+)(\.\d+)?px$/);return ke?+ke[1]:void 0}function Ge(N,H,xe,ke){return{x:N.x+xe*(H.x-N.x),y:N.y+xe*(H.y-N.y)}}function Tt(N,H,xe,ke){return{x:N.x+xe*(H.x-N.x),y:"middle"===ke?xe<.5?N.y:H.y:"after"===ke?xe<1?N.y:H.y:xe>0?H.y:N.y}}function Gt(N,H,xe,ke){const ut={x:N.cp2x,y:N.cp2y},Pt={x:H.cp1x,y:H.cp1y},Bt=Ge(N,ut,xe),nn=Ge(ut,Pt,xe),en=Ge(Pt,H,xe),cn=Ge(Bt,nn,xe),xn=Ge(nn,en,xe);return Ge(cn,xn,xe)}function Vn(N,H,xe){return N?function(N,H){return{x:xe=>N+N+H-xe,setWidth(xe){H=xe},textAlign:xe=>"center"===xe?xe:"right"===xe?"left":"right",xPlus:(xe,ke)=>xe-ke,leftForLtr:(xe,ke)=>xe-ke}}(H,xe):{x:N=>N,setWidth(N){},textAlign:N=>N,xPlus:(N,H)=>N+H,leftForLtr:(N,H)=>N}}function li(N,H){let xe,ke;("ltr"===H||"rtl"===H)&&(xe=N.canvas.style,ke=[xe.getPropertyValue("direction"),xe.getPropertyPriority("direction")],xe.setProperty("direction",H,"important"),N.prevTextDirection=ke)}function wi(N,H){void 0!==H&&(delete N.prevTextDirection,N.canvas.style.setProperty("direction",H[0],H[1]))}function Qi(N){return"angle"===N?{between:Mn,compare:pn,normalize:Dn}:{between:Je,compare:(H,xe)=>H-xe,normalize:H=>H}}function Xi({start:N,end:H,count:xe,loop:ke,style:ut}){return{start:N%xe,end:H%xe,loop:ke&&(H-N+1)%xe==0,style:ut}}function eo(N,H,xe){if(!xe)return[N];const{property:ke,start:ut,end:Pt}=xe,Bt=H.length,{compare:nn,between:en,normalize:cn}=Qi(ke),{start:xn,end:ti,loop:_i,style:oo}=function Ui(N,H,xe){const{property:ke,start:ut,end:Pt}=xe,{between:Bt,normalize:nn}=Qi(ke),en=H.length;let _i,oo,{start:cn,end:xn,loop:ti}=N;if(ti){for(cn+=en,xn+=en,_i=0,oo=en;_i<oo&&Bt(nn(H[cn%en][ke]),ut,Pt);++_i)cn--,xn--;cn%=en,xn%=en}return xn<cn&&(xn+=en),{start:cn,end:xn,loop:ti,style:N.style}}(N,H,xe),Eo=[];let ra,Os,Xo,ki=!1,Gn=null;for(let es=xn,ja=xn;es<=ti;++es)Os=H[es%Bt],!Os.skip&&(ra=cn(Os[ke]),ra!==Xo&&(ki=en(ra,ut,Pt),null===Gn&&(ki||en(ut,Xo,ra)&&0!==nn(ut,Xo))&&(Gn=0===nn(ra,ut)?es:ja),null!==Gn&&(!ki||0===nn(Pt,ra)||en(Pt,Xo,ra))&&(Eo.push(Xi({start:Gn,end:es,loop:_i,count:Bt,style:oo})),Gn=null),ja=es,Xo=ra));return null!==Gn&&Eo.push(Xi({start:Gn,end:ti,loop:_i,count:Bt,style:oo})),Eo}function Io(N,H){const xe=[],ke=N.segments;for(let ut=0;ut<ke.length;ut++){const Pt=eo(ke[ut],N.points,H);Pt.length&&xe.push(...Pt)}return xe}function Oa(N,H){const xe=N.points,ke=N.options.spanGaps,ut=xe.length;if(!ut)return[];const Pt=!!N._loop,{start:Bt,end:nn}
1=function Ko(N,H,xe,ke){let ut=0,Pt=H-1;if(xe&&!ke)for(;ut<H&&!N[ut].skip;)ut++;for(;ut<H&&N[ut].skip;)ut++;for(ut%=H,xe&&(Pt+=ut);Pt>ut&&N[Pt%H].skip;)Pt--;return Pt%=H,{start:ut,end:Pt}}(xe,ut,Pt,ke);return aa(N,!0===ke?[{start:Bt,end:nn,loop:Pt}]:function Qo(N,H,xe,ke){const ut=N.length,Pt=[];let en,Bt=H,nn=N[H];for(en=H+1;en<=xe;++en){const cn=N[en%ut];cn.skip||cn.stop?nn.skip||(Pt.push({start:H%ut,end:(en-1)%ut,loop:ke=!1}),H=Bt=cn.stop?en:null):(Bt=en,nn.skip&&(H=en)),nn=cn}return null!==Bt&&Pt.push({start:H%ut,end:Bt%ut,loop:ke}),Pt}(xe,Bt,nn<Bt?nn+ut:nn,!!N._fullLoop&&0===Bt&&nn===ut-1),xe,H)}function aa(N,H,xe,ke){return ke&&ke.setContext&&xe?function zo(N,H,xe,ke){const ut=N._chart.getContext(),Pt=sa(N.options),{_datasetIndex:Bt,options:{spanGaps:nn}}=N,en=xe.length,cn=[];let xn=Pt,ti=H[0].start,_i=ti;function oo(Eo,ki,Gn,ra){const Os=nn?-1:1;if(Eo!==ki){for(Eo+=en;xe[Eo%en].skip;)Eo-=Os;for(;xe[ki%en].skip;)ki+=Os;Eo%en!=ki%en&&(cn.push({start:Eo%en,end:ki%en,loop:Gn,style:ra}),xn=ra,ti=ki%en)}}for(const Eo of H){ti=nn?ti:Eo.start;let Gn,ki=xe[ti%en];for(_i=ti+1;_i<=Eo.end;_i++){const ra=xe[_i%en];Gn=sa(ke.setContext(ga(ut,{type:"segment",p0:ki,p1:ra,p0DataIndex:(_i-1)%en,p1DataIndex:_i%en,datasetIndex:Bt}))),po(Gn,xn)&&oo(ti,_i-1,Eo.loop,xn),ki=ra,xn=Gn}ti<_i-1&&oo(ti,_i-1,Eo.loop,xn)}return cn}(N,H,xe,ke):H}function sa(N){return{backgroundColor:N.backgroundColor,borderCapStyle:N.borderCapStyle,borderDash:N.borderDash,borderDashOffset:N.borderDashOffset,borderJoinStyle:N.borderJoinStyle,borderWidth:N.borderWidth,borderColor:N.borderColor}}function po(N,H){return H&&JSON.stringify(N)!==JSON.stringify(H)}},9783:(Yt,Ze,m)=>{"use strict";m.d(Ze,{$_:()=>Z,b4:()=>C,h4:()=>c,iZ:()=>q,jx:()=>v,m8:()=>ee});var i=m(5e3),s=m(7579),e=m(5921),l=m(60);const d=["*"];let A=(()=>{class te{}return te.STARTS_WITH="startsWith",te.CONTAINS="contains",te.NOT_CONTAINS="notContains",te.ENDS_WITH="endsWith",te.EQUALS="equals",te.NOT_EQUALS="notEquals",te.IN="in",te.LESS_THAN="lt",te.LESS_THAN_OR_EQUAL_TO="lte",te.GREATER_THAN="gt",te.GREATER_THAN_OR_EQUAL_TO="gte",te.BETWEEN="between",te.IS="is",te.IS_NOT="isNot",te.BEFORE="before",te.AFTER="after",te.DATE_IS="dateIs",te.DATE_IS_NOT="dateIsNot",te.DATE_BEFORE="dateBefore",te.DATE_AFTER="dateAfter",te})(),C=(()=>{class te{constructor(){this.ripple=!1,this.filterMatchModeOptions={text:[A.STARTS_WITH,A.CONTAINS,A.NOT_CONTAINS,A.ENDS_WITH,A.EQUALS,A.NOT_EQUALS],numeric:[A.EQUALS,A.NOT_EQUALS,A.LESS_THAN,A.LESS_THAN_OR_EQUAL_TO,A.GREATER_THAN,A.GREATER_THAN_OR_EQUAL_TO],date:[A.DATE_IS,A.DATE_IS_NOT,A.DATE_BEFORE,A.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100},this.translationSource=new s.x,this.translationObserver=this.translationSource.asObservable()}getTranslation(ne){return this.translation[ne]}setTranslation(ne){this.translation=Object.assign(Object.assign({},this.translation),ne),this.translationSource.next(this.translation)}}return te.\u0275fac=function(ne){return new(ne||te)},te.\u0275prov=i.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),q=(()=>{class te{constructor(){this.filters={startsWith:(ne,oe,he)=>{if(null==oe||""===oe.trim())return!0;
1if(null==ne)return!1;let Se=e.gb.removeAccents(oe.toString()).toLocaleLowerCase(he);return e.gb.removeAccents(ne.toString()).toLocaleLowerCase(he).slice(0,Se.length)===Se},contains:(ne,oe,he)=>{if(null==oe||"string"==typeof oe&&""===oe.trim())return!0;if(null==ne)return!1;let Se=e.gb.removeAccents(oe.toString()).toLocaleLowerCase(he);return-1!==e.gb.removeAccents(ne.toString()).toLocaleLowerCase(he).indexOf(Se)},notContains:(ne,oe,he)=>{if(null==oe||"string"==typeof oe&&""===oe.trim())return!0;if(null==ne)return!1;let Se=e.gb.removeAccents(oe.toString()).toLocaleLowerCase(he);return-1===e.gb.removeAccents(ne.toString()).toLocaleLowerCase(he).indexOf(Se)},endsWith:(ne,oe,he)=>{if(null==oe||""===oe.trim())return!0;if(null==ne)return!1;let Se=e.gb.removeAccents(oe.toString()).toLocaleLowerCase(he),Be=e.gb.removeAccents(ne.toString()).toLocaleLowerCase(he);return-1!==Be.indexOf(Se,Be.length-Se.length)},equals:(ne,oe,he)=>null==oe||"string"==typeof oe&&""===oe.trim()||null!=ne&&(ne.getTime&&oe.getTime?ne.getTime()===oe.getTime():e.gb.removeAccents(ne.toString()).toLocaleLowerCase(he)==e.gb.removeAccents(oe.toString()).toLocaleLowerCase(he)),notEquals:(ne,oe,he)=>!(null==oe||"string"==typeof oe&&""===oe.trim()||null!=ne&&(ne.getTime&&oe.getTime?ne.getTime()===oe.getTime():e.gb.removeAccents(ne.toString()).toLocaleLowerCase(he)==e.gb.removeAccents(oe.toString()).toLocaleLowerCase(he))),in:(ne,oe)=>{if(null==oe||0===oe.length)return!0;for(let he=0;he<oe.length;he++)if(e.gb.equals(ne,oe[he]))return!0;return!1},between:(ne,oe)=>null==oe||null==oe[0]||null==oe[1]||null!=ne&&(ne.getTime?oe[0].getTime()<=ne.getTime()&&ne.getTime()<=oe[1].getTime():oe[0]<=ne&&ne<=oe[1]),lt:(ne,oe,he)=>null==oe||null!=ne&&(ne.getTime&&oe.getTime?ne.getTime()<oe.getTime():ne<oe),lte:(ne,oe,he)=>null==oe||null!=ne&&(ne.getTime&&oe.getTime?ne.getTime()<=oe.getTime():ne<=oe),gt:(ne,oe,he)=>null==oe||null!=ne&&(ne.getTime&&oe.getTime?ne.getTime()>oe.getTime():ne>oe),gte:(ne,oe,he)=>null==oe||null!=ne&&(ne.getTime&&oe.getTime?ne.getTime()>=oe.getTime():ne>=oe),is:(ne,oe,he)=>this.filters.equals(ne,oe,he),isNot:(ne,oe,he)=>this.filters.notEquals(ne,oe,he),before:(ne,oe,he)=>this.filters.lt(ne,oe,he),after:(ne,oe,he)=>this.filters.gt(ne,oe,he),dateIs:(ne,oe)=>null==oe||null!=ne&&ne.toDateString()===oe.toDateString(),dateIsNot:(ne,oe)=>null==oe||null!=ne&&ne.toDateString()!==oe.toDateString(),dateBefore:(ne,oe)=>null==oe||null!=ne&&ne.getTime()<oe.getTime(),dateAfter:(ne,oe)=>null==oe||null!=ne&&ne.getTime()>oe.getTime()}}filter(ne,oe,he,Se,Be){let ot=[];if(ne)for(let nt of ne)for(let xt of oe){let At=e.gb.resolveFieldData(nt,xt);if(this.filters[Se](At,he,Be)){ot.push(nt);break}}return ot}register(ne,oe){this.filters[ne]=oe}}return te.\u0275fac=function(ne){return new(ne||te)},te.\u0275prov=i.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),c=(()=>{class te{}return te.\u0275fac=function(ne){return new(ne||te)},te.\u0275cmp=i.Xpm({type:te,selectors:[["p-header"]],ngContentSelectors:d,decls:1,vars:0,template:function(ne,oe){1&ne&&(i.F$t(),i.Hsn(0))},encapsulation:2}),te})(),Z=(()=>{class te{}return te.\u0275fac=function(ne){return new(ne||te)},te.\u0275cmp=i.Xpm({type:te,selectors:[["p-footer"]],ngContentSelectors:d,decls:1,vars:0,template:function(ne,oe){1&ne&&(i.F$t(),i.Hsn(0))},encapsulation:2}),te})(),v=(()=>{class te{constructor(ne){this.template=ne}getType(){return this.name}}return te.\u0275fac=function(ne){return new(ne||te)(i.Y36(i.Rgc))},te.\u0275dir=i.lG2({type:te,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),te})(),ee=(()=>{class te{}return te.\u0275fac=function(ne){return new(ne||te)},te.\u0275mod=i.oAB({type:te}),te.\u0275inj=i.cJS({imports:[[l.ez]]}),te})()},142:(Yt,Ze,m)=>{"use strict";m.d(Ze,{a:()=>Mt,w:()=>we});var i=m(5e3),s=m(60),e=m(3932),l=m(5730),d=m(5921),A=m(9783);let C=(()=>{class me{constructor(re,ft,Ot){this.el=re,this.zone=ft,this.config=Ot,this.escape=!0,this._tooltipOptions={tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",tooltipZIndex:"auto",escape:!0,positionTop:0,positionLeft:0}}get disabled(){return this._disabled}set disabled(re){this._disabled=re,this.deactivate()}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.addEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let re=this.getTarget(this.el.nativeElement);re.addEventListener("focus",this.focusListener),re.addEventListener("blur",this.blurListener)}})}ngOnChanges(re){re.tooltipPosition&&this.setOption({tooltipPosition:re.tooltipPosition.currentValue}),re.tooltipEvent&&this.setOption({tooltipEvent:re.tooltipEvent.currentValue}),re.appendTo&&this.setOption({appendTo:re.appendTo.currentValue}),re.positionStyle&&this.setOption({positionStyle:re.positionStyle.currentValue}),re.tooltipStyleClass&&this.setOption({tooltipStyleClass:re.tooltipStyleClass.currentValue}),re.tooltipZIndex&&this.setOption({tooltipZIndex:re.tooltipZIndex.currentValue}),re.escape&&this.setOption({escape:re.escape.currentValue}),re.showDelay&&this.setOption({showDelay:re.showDelay.currentValue}),re.hideDelay&&this.setOption({hideDelay:re.hideDelay.currentValue}),re.life&&this.setOption({life:re.life.currentValue}),re.positionTop&&this.setOption({positionTop:re.positionTop.currentValue}),re.positionLeft&&this.setOption({positionLeft:re.positionLeft.currentValue}),re.disabled&&this.setOption({disabled:re.disabled.currentValue}),re.text&&(this.setOption({tooltipLabel:re.text.currentValue}),this.active&&(re.text.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),re.tooltipOptions&&(this._tooltipOptions=Object.assign(Object.assign({},this._tooltipOptions),re.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}onMouseEnter(re){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(re){this.deactivate()}onFocus(re){this.activate()}onBlur(re){this.deactivate()}onClick(re){this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let re=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},re)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div");let re=document.createElement("div");re.className="p-tooltip-arrow",this.container.appendChild(re),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?l.p.appendChild(this.container,this.el.nativeElement):l.p.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block"}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),l.p.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?d.P9.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&d.P9.clear(this.container),this.remove()}updateText(){this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this.getOption("tooltipLabel")))):this.tooltipText.innerHTML=this.getOption("tooltipLabel")}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let re=this.el.nativeElement.getBoundingClientRect();return{left:re.left+l.p.getWindowScrollLeft(),top:re.top+l.p.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let re=this.getHostOffset(),ft=re.left+l.p.getOuterWidth(this.el.nativeElement),Ot=re.top+(l.p.getOuterHeight(this.el.nativeElement)-l.p.getOuterHeight(this.container))/2;this.container.style.left=ft+this.getOption("positionLeft")+"px",this.container.style.top=Ot+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let re=this.getHostOffset(),ft=re.left-l.p.getOuterWidth(this.container),Ot=re.top+(l.p.getOuterHeight(this.el.nativeElement)-l.p.getOuterHeight(this.container))/2;this.container.style.left=ft+this.getOption("positionLeft")+"px",this.container.style.top=Ot+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let re=this.getHostOffset(),ft=re.left+(l.p.getOuterWidth(this.el.nativeElement)-l.p.getOuterWidth(this.container))/2,Ot=re.top-l.p.getOuterHeight(this.container);this.container.style.left=ft+this.getOption("positionLeft")+"px",this.container.style.top=Ot+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let re=this.getHostOffset(),ft=re.left+(l.p.getOuterWidth(this.el.nativeElement)-l.p.getOuterWidth(this.container))/2,Ot=re.top+l.p.getOuterHeight(this.el.nativeElement);this.container.style.left=ft+this.getOption("positionLeft")+"px",this.container.style.top=Ot+this.getOption("positionTop")+"px"}setOption(re){this._tooltipOptions=Object.assign(Object.assign({},this._tooltipOptions),re)}getOption(re){return this._tooltipOptions[re]}getTarget(re){return l.p.hasClass(re,"p-inputwrapper")?l.p.findSingle(re,"input"):re}preAlign(re){this.container.style.left="-999px",this.container.style.top="-999px";let ft="p-tooltip p-component p-tooltip-"+re;this.container.className=this.getOption("tooltipStyleClass")?ft+" "+this.getOption("tooltipStyleClass"):ft}isOutOfBounds(){let re=this.container.getBoundingClientRect(),ft=re.top,Ot=re.left,Et=l.p.getOuterWidth(this.container),Lt=l.p.getOuterHeight(this.container),It=l.p.getViewport();return Ot+Et>It.width||Ot<0||ft<0||ft+Lt>It.height}onWindowResize(re){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new l.V(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let re=this.getTarget(this.el.nativeElement);re.removeEventListener("focus",this.focusListener),re.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):l.p.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&d.P9.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}}return me.\u0275fac=function(re){return new(re||me)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(A.b4))},me.\u0275dir=i.lG2({type:me,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",text:["pTooltip","text"],disabled:["tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[i.TTD]}),me})(),T=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275mod=i.oAB({type:me}),me.\u0275inj=i.cJS({imports:[[s.ez]]}),me})();function S(me,We){if(1&me&&i._UZ(0,"span",10),2&me){const re=i.oxw(3);i.Q6J("ngClass",re.home.icon||"pi pi-home")("ngStyle",re.home.iconStyle)}}function R(me,We){if(1&me&&(i.TgZ(0,"span",13),i._uU(1),i.qZA()),2&me){const re=i.oxw(4);i.xp6(1),i.Oqu(re.home.label)}}function q(me,We){if(1&me&&i._UZ(0,"span",14),2&me){const re=i.oxw(4);i.Q6J("innerHTML",re.home.label,i.oJD)}}function w(me,We){if(1&me&&(i.ynx(0),i.YNc(1,R,2,1,"span",11),i.YNc(2,q,1,1,"ng-template",null,12,i.W1O),i.BQk()),2&me){const re=i.MAs(3),ft=i.oxw(3);i.xp6(1),i.Q6J("ngIf",!1!==ft.home.escape)("ngIfElse",re)}}function k(me,We){if(1&me){const re=i.EpF();
1i.TgZ(0,"a",7),i.NdJ("click",function(Ot){i.CHM(re);const Et=i.oxw(2);return Et.itemClick(Ot,Et.home)}),i.YNc(1,S,1,2,"span",8),i.YNc(2,w,4,2,"ng-container",9),i.qZA()}if(2&me){const re=i.oxw(2);i.Q6J("href",re.home.url?re.home.url:null,i.LSH)("target",re.home.target),i.uIk("aria-label",re.homeAriaLabel)("title",re.home.title)("id",re.home.id)("tabindex",re.home.disabled?null:"0"),i.xp6(1),i.Q6J("ngIf",re.home.icon),i.xp6(1),i.Q6J("ngIf",re.home.label)}}function h(me,We){if(1&me&&i._UZ(0,"span",10),2&me){const re=i.oxw(3);i.Q6J("ngClass",re.home.icon||"pi pi-home")("ngStyle",re.home.iconStyle)}}function O(me,We){if(1&me&&(i.TgZ(0,"span",13),i._uU(1),i.qZA()),2&me){const re=i.oxw(4);i.xp6(1),i.Oqu(re.home.label)}}function E(me,We){if(1&me&&i._UZ(0,"span",14),2&me){const re=i.oxw(4);i.Q6J("innerHTML",re.home.label,i.oJD)}}function c(me,We){if(1&me&&(i.ynx(0),i.YNc(1,O,2,1,"span",11),i.YNc(2,E,1,1,"ng-template",null,16,i.W1O),i.BQk()),2&me){const re=i.MAs(3),ft=i.oxw(3);i.xp6(1),i.Q6J("ngIf",!1!==ft.home.escape)("ngIfElse",re)}}const Z=function(){return{exact:!1}};function v(me,We){if(1&me){const re=i.EpF();i.TgZ(0,"a",15),i.NdJ("click",function(Ot){i.CHM(re);const Et=i.oxw(2);return Et.itemClick(Ot,Et.home)}),i.YNc(1,h,1,2,"span",8),i.YNc(2,c,4,2,"ng-container",9),i.qZA()}if(2&me){const re=i.oxw(2);i.Q6J("routerLink",re.home.routerLink)("queryParams",re.home.queryParams)("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",re.home.routerLinkActiveOptions||i.DdM(17,Z))("target",re.home.target)("fragment",re.home.fragment)("queryParamsHandling",re.home.queryParamsHandling)("preserveFragment",re.home.preserveFragment)("skipLocationChange",re.home.skipLocationChange)("replaceUrl",re.home.replaceUrl)("state",re.home.state),i.uIk("aria-label",re.homeAriaLabel)("title",re.home.title)("id",re.home.id)("tabindex",re.home.disabled?null:"0"),i.xp6(1),i.Q6J("ngIf",re.home.icon),i.xp6(1),i.Q6J("ngIf",re.home.label)}}const ee=function(me){return{"p-breadcrumb-home":!0,"p-disabled":me}};function X(me,We){if(1&me&&(i.TgZ(0,"li",4),i.YNc(1,k,3,8,"a",5),i.YNc(2,v,3,18,"a",6),i.qZA()),2&me){const re=i.oxw();i.Tol(re.home.styleClass),i.Q6J("ngClass",i.VKq(7,ee,re.home.disabled))("ngStyle",re.home.style)("tooltipOptions",re.home.tooltipOptions),i.xp6(1),i.Q6J("ngIf",!re.home.routerLink),i.xp6(1),i.Q6J("ngIf",re.home.routerLink)}}function te(me,We){1&me&&i._UZ(0,"li",17)}function _e(me,We){if(1&me&&i._UZ(0,"span",10),2&me){const re=i.oxw(2).$implicit;i.Q6J("ngClass",re.icon)("ngStyle",re.iconStyle)}}function ne(me,We){if(1&me&&(i.TgZ(0,"span",13),i._uU(1),i.qZA()),2&me){const re=i.oxw(3).$implicit;i.xp6(1),i.Oqu(re.label)}}function oe(me,We){if(1&me&&i._UZ(0,"span",14),2&me){const re=i.oxw(3).$implicit;i.Q6J("innerHTML",re.label,i.oJD)}}function he(me,We){if(1&me&&(i.ynx(0),i.YNc(1,ne,2,1,"span",11),i.YNc(2,oe,1,1,"ng-template",null,21,i.W1O),i.BQk()),2&me){const re=i.MAs(3),ft=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngIf",!1!==ft.escape)("ngIfElse",re)}}function Se(me,We){if(1&me){const re=i.EpF();i.TgZ(0,"a",20),i.NdJ("click",function(Ot){i.CHM(re);const Et=i.oxw().$implicit;return i.oxw().itemClick(Ot,Et)}),i.YNc(1,_e,1,2,"span",8),i.YNc(2,he,4,2,"ng-container",9),i.qZA()}if(2&me){const re=i.oxw().$implicit;i.Q6J("target",re.target),i.uIk("href",re.url?re.url:null,i.LSH)("title",re.title)("id",re.id)("tabindex",re.disabled?null:"0"),i.xp6(1),i.Q6J("ngIf",re.icon),i.xp6(1),i.Q6J("ngIf",re.label)}}function Be(me,We){if(1&me&&i._UZ(0,"span",10),2&me){const re=i.oxw(2).$implicit;i.Q6J("ngClass",re.icon)("ngStyle",re.iconStyle)}}function ot(me,We){if(1&me&&(i.TgZ(0,"span",13),i._uU(1),i.qZA()),2&me){const re=i.oxw(3).$implicit;i.xp6(1),i.Oqu(re.label)}}function nt(me,We){if(1&me&&i._UZ(0,"span",14),2&me){const re=i.oxw(3).$implicit;i.Q6J("innerHTML",re.label,i.oJD)}}function xt(me,We){if(1&me&&(i.ynx(0),i.YNc(1,ot,2,1,"span",11),i.YNc(2,nt,1,1,"ng-template",null,22,i.W1O),i.BQk()),2&me){const re=i.MAs(3),ft=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngIf",!1!==ft.escape)("ngIfElse",re)}}function At(me,We){if(1&me){const re=i.EpF();
1i.TgZ(0,"a",15),i.NdJ("click",function(Ot){i.CHM(re);const Et=i.oxw().$implicit;return i.oxw().itemClick(Ot,Et)}),i.YNc(1,Be,1,2,"span",8),i.YNc(2,xt,4,2,"ng-container",9),i.qZA()}if(2&me){const re=i.oxw().$implicit;i.Q6J("routerLink",re.routerLink)("queryParams",re.queryParams)("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",re.routerLinkActiveOptions||i.DdM(16,Z))("target",re.target)("fragment",re.fragment)("queryParamsHandling",re.queryParamsHandling)("preserveFragment",re.preserveFragment)("skipLocationChange",re.skipLocationChange)("replaceUrl",re.replaceUrl)("state",re.state),i.uIk("title",re.title)("id",re.id)("tabindex",re.disabled?null:"0"),i.xp6(1),i.Q6J("ngIf",re.icon),i.xp6(1),i.Q6J("ngIf",re.label)}}function Qt(me,We){1&me&&i._UZ(0,"li",17)}const Vt=function(me){return{"p-disabled":me}};function dt(me,We){if(1&me&&(i.TgZ(0,"li",18),i.YNc(1,Se,3,7,"a",19),i.YNc(2,At,3,17,"a",6),i.qZA(),i.YNc(3,Qt,1,0,"li",2)),2&me){const re=We.$implicit,ft=We.last;i.Tol(re.styleClass),i.Q6J("ngStyle",re.style)("ngClass",i.VKq(8,Vt,re.disabled))("tooltipOptions",re.tooltipOptions),i.xp6(1),i.Q6J("ngIf",!re.routerLink),i.xp6(1),i.Q6J("ngIf",re.routerLink),i.xp6(1),i.Q6J("ngIf",!ft)}}let Mt=(()=>{class me{constructor(){this.onItemClick=new i.vpe}itemClick(re,ft){ft.disabled?re.preventDefault():(!ft.url&&!ft.routerLink&&re.preventDefault(),ft.command&&ft.command({originalEvent:re,item:ft}),this.onItemClick.emit({originalEvent:re,item:ft}))}onHomeClick(re){this.home&&this.itemClick(re,this.home)}}return me.\u0275fac=function(re){return new(re||me)},me.\u0275cmp=i.Xpm({type:me,selectors:[["p-breadcrumb"]],hostAttrs:[1,"p-element"],inputs:{model:"model",style:"style",styleClass:"styleClass",home:"home",homeAriaLabel:"homeAriaLabel"},outputs:{onItemClick:"onItemClick"},decls:5,vars:7,consts:[[3,"ngStyle","ngClass"],["pTooltip","",3,"class","ngClass","ngStyle","tooltipOptions",4,"ngIf"],["class","p-breadcrumb-chevron pi pi-chevron-right",4,"ngIf"],["ngFor","",3,"ngForOf"],["pTooltip","",3,"ngClass","ngStyle","tooltipOptions"],["class","p-menuitem-link",3,"href","target","click",4,"ngIf"],["class","p-menuitem-link",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","click",4,"ngIf"],[1,"p-menuitem-link",3,"href","target","click"],["class","p-menuitem-icon",3,"ngClass","ngStyle",4,"ngIf"],[4,"ngIf"],[1,"p-menuitem-icon",3,"ngClass","ngStyle"],["class","p-menuitem-text",4,"ngIf","ngIfElse"],["htmlHomeLabel",""],[1,"p-menuitem-text"],[1,"p-menuitem-text",3,"innerHTML"],[1,"p-menuitem-link",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state","click"],["htmlHomeRouteLabel",""],[1,"p-breadcrumb-chevron","pi","pi-chevron-right"],["pTooltip","",3,"ngStyle","ngClass","tooltipOptions"],["class","p-menuitem-link",3,"target","click",4,"ngIf"],[1,"p-menuitem-link",3,"target","click"],["htmlLabel",""],["htmlRouteLabel",""]],template:function(re,ft){1&re&&(i.TgZ(0,"div",0)(1,"ul"),i.YNc(2,X,3,9,"li",1),i.YNc(3,te,1,0,"li",2),i.YNc(4,dt,4,10,"ng-template",3),i.qZA()()),2&re&&(i.Tol(ft.styleClass),i.Q6J("ngStyle",ft.style)("ngClass","p-breadcrumb p-component"),i.xp6(2),i.Q6J("ngIf",ft.home),i.xp6(1),i.Q6J("ngIf",ft.model&&ft.home),i.xp6(1),i.Q6J("ngForOf",ft.model))},directives:[s.PC,s.mk,s.O5,C,e.yS,e.Od,s.sg],styles:[".p-breadcrumb{overflow-x:auto}.p-breadcrumb ul{margin:0;padding:0;list-style-type:none;display:flex;align-items:center;flex-wrap:nowrap}.p-breadcrumb .p-menuitem-text{line-height:1}.p-breadcrumb .p-menuitem-link{text-decoration:none;cursor:pointer}.p-breadcrumb::-webkit-scrollbar{display:none}\n"],encapsulation:2,changeDetection:0}),me})(),we=(()=>{class me{}return me.\u0275fac=function(re){return new(re||me)},me.\u0275mod=i.oAB({type:me}),me.\u0275inj=i.cJS({imports:[[s.ez,e.Bz,T],e.Bz,T]}),me})()},8759:(Yt,Ze,m)=>{"use strict";m.d(Ze,{b:()=>Vt,l:()=>Qt});var i=m(5e3),s=m(9783),e=m(5787),l=m(60),d=m(5921);const A=["itemsContainer"];function C(dt,Mt){1&dt&&i.GkF(0)}function T(dt,Mt){if(1&dt&&(i.TgZ(0,"div",11),i.Hsn(1),i.YNc(2,C,1,0,"ng-container",12),i.qZA()),2&dt){const we=i.oxw();i.xp6(2),i.Q6J("ngTemplateOutlet",we.headerTemplate)}}const S=function(dt){return{"p-carousel-prev p-link":!0,"p-disabled":dt}},R=function(dt,Mt){return{"p-carousel-prev-icon pi":!0,"pi-chevron-left":dt,"pi-chevron-up":Mt}};function q(dt,Mt){if(1&dt){const we=i.EpF();
1i.TgZ(0,"button",13),i.NdJ("click",function(We){return i.CHM(we),i.oxw().navBackward(We)}),i._UZ(1,"span",2),i.qZA()}if(2&dt){const we=i.oxw();i.Q6J("ngClass",i.VKq(3,S,we.isBackwardNavDisabled()))("disabled",we.isBackwardNavDisabled()),i.xp6(1),i.Q6J("ngClass",i.WLB(5,R,!we.isVertical(),we.isVertical()))}}function w(dt,Mt){1&dt&&i.GkF(0)}const k=function(dt,Mt,we){return{"p-carousel-item p-carousel-item-cloned":!0,"p-carousel-item-active":dt,"p-carousel-item-start":Mt,"p-carousel-item-end":we}},h=function(dt){return{$implicit:dt}};function O(dt,Mt){if(1&dt&&(i.TgZ(0,"div",2),i.YNc(1,w,1,0,"ng-container",14),i.qZA()),2&dt){const we=Mt.$implicit,me=Mt.index,We=i.oxw();i.Q6J("ngClass",i.kEZ(3,k,-1*We.totalShiftedItems===We.value.length,0===me,We.clonedItemsForStarting.length-1===me)),i.xp6(1),i.Q6J("ngTemplateOutlet",We.itemTemplate)("ngTemplateOutletContext",i.VKq(7,h,we))}}function E(dt,Mt){1&dt&&i.GkF(0)}const c=function(dt,Mt,we){return{"p-carousel-item":!0,"p-carousel-item-active":dt,"p-carousel-item-start":Mt,"p-carousel-item-end":we}};function Z(dt,Mt){if(1&dt&&(i.TgZ(0,"div",2),i.YNc(1,E,1,0,"ng-container",14),i.qZA()),2&dt){const we=Mt.$implicit,me=Mt.index,We=i.oxw();i.Q6J("ngClass",i.kEZ(3,c,We.firstIndex()<=me&&We.lastIndex()>=me,We.firstIndex()===me,We.lastIndex()===me)),i.xp6(1),i.Q6J("ngTemplateOutlet",We.itemTemplate)("ngTemplateOutletContext",i.VKq(7,h,we))}}function v(dt,Mt){1&dt&&i.GkF(0)}function ee(dt,Mt){if(1&dt&&(i.TgZ(0,"div",2),i.YNc(1,v,1,0,"ng-container",14),i.qZA()),2&dt){const we=Mt.$implicit,me=Mt.index,We=i.oxw();i.Q6J("ngClass",i.kEZ(3,k,-1*We.totalShiftedItems===We.numVisible,0===me,We.clonedItemsForFinishing.length-1===me)),i.xp6(1),i.Q6J("ngTemplateOutlet",We.itemTemplate)("ngTemplateOutletContext",i.VKq(7,h,we))}}const X=function(dt){return{"p-carousel-next p-link":!0,"p-disabled":dt}},te=function(dt,Mt){return{"p-carousel-prev-icon pi":!0,"pi-chevron-right":dt,"pi-chevron-down":Mt}};function _e(dt,Mt){if(1&dt){const we=i.EpF();i.TgZ(0,"button",13),i.NdJ("click",function(We){return i.CHM(we),i.oxw().navForward(We)}),i._UZ(1,"span",2),i.qZA()}if(2&dt){const we=i.oxw();i.Q6J("ngClass",i.VKq(3,X,we.isForwardNavDisabled()))("disabled",we.isForwardNavDisabled()),i.xp6(1),i.Q6J("ngClass",i.WLB(5,te,!we.isVertical(),we.isVertical()))}}const ne=function(dt){return{"p-carousel-indicator":!0,"p-highlight":dt}};function oe(dt,Mt){if(1&dt){const we=i.EpF();i.TgZ(0,"li",2)(1,"button",15),i.NdJ("click",function(We){const ft=i.CHM(we).index;return i.oxw(2).onDotClick(We,ft)}),i.qZA()()}if(2&dt){const we=Mt.index,me=i.oxw(2);i.Q6J("ngClass",i.VKq(5,ne,me._page===we)),i.xp6(1),i.Tol(me.indicatorStyleClass),i.Q6J("ngClass","p-link")("ngStyle",me.indicatorStyle)}}function he(dt,Mt){if(1&dt&&(i.TgZ(0,"ul",0),i.YNc(1,oe,2,7,"li",8),i.qZA()),2&dt){const we=i.oxw();i.Tol(we.indicatorsContentClass),i.Q6J("ngClass","p-carousel-indicators p-reset")("ngStyle",we.indicatorsContentStyle),i.xp6(1),i.Q6J("ngForOf",we.totalDotsArray())}}function Se(dt,Mt){1&dt&&i.GkF(0)}function Be(dt,Mt){if(1&dt&&(i.TgZ(0,"div",16),i.Hsn(1,1),i.YNc(2,Se,1,0,"ng-container",12),i.qZA()),2&dt){const we=i.oxw();i.xp6(2),i.Q6J("ngTemplateOutlet",we.footerTemplate)}}const ot=[[["p-header"]],[["p-footer"]]],nt=function(dt,Mt){return{"p-carousel p-component":!0,"p-carousel-vertical":dt,"p-carousel-horizontal":Mt}},xt=function(dt){return{height:dt}},At=["p-header","p-footer"];let Qt=(()=>{class dt{constructor(we,me,We){this.el=we,this.zone=me,this.cd=We,this.orientation="horizontal",this.verticalViewPortHeight="300px",this.contentClass="",this.indicatorsContentClass="",this.indicatorStyleClass="",this.circular=!1,this.showIndicators=!0,this.showNavigators=!0,this.autoplayInterval=0,this.onPage=new i.vpe,this._numVisible=1,this._numScroll=1,this._oldNumScroll=0,this.prevState={numScroll:0,numVisible:0,value:[]},this.defaultNumScroll=1,this.defaultNumVisible=1,this._page=0,this.isRemainingItemsAdded=!1,this.remainingItems=0,this.swipeThreshold=20,this.totalShiftedItems=this.page*this.numScroll*-1}get page(){return this._page}set page(we){this.isCreated&&we!==this._page&&(this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),we>this._page&&we<=this.totalDots()-1?this.step(-1,we):we<this._page&&this.step(1,we)),this._page=we}get numVisible(){return this._numVisible}set numVisible(we){this._numVisible=we}get numScroll(){return this._numVisible}set numScroll(we){this._numScroll=we}get value(){return this._value}set value(we){this._value=we}ngOnChanges(we){we.value&&this.circular&&this._value&&this.setCloneItems(),this.isCreated&&(we.numVisible&&(this.responsiveOptions&&(this.defaultNumVisible=this.numVisible),this.isCircular()&&this.setCloneItems(),this.createStyle(),this.calculatePosition()),we.numScroll&&this.responsiveOptions&&(this.defaultNumScroll=this.numScroll))}ngAfterContentInit(){this.id=(0,d.Th)(),this.allowAutoplay=!!this.autoplayInterval,this.circular&&this.setCloneItems(),this.responsiveOptions&&(this.defaultNumScroll=this._numScroll,this.defaultNumVisible=this._numVisible),this.createStyle(),this.calculatePosition(),this.responsiveOptions&&this.bindDocumentListeners(),this.templates.forEac
1h(we=>{switch(we.getType()){case"item":default:this.itemTemplate=we.template;break;case"header":this.headerTemplate=we.template;break;case"footer":this.footerTemplate=we.template}})}ngAfterContentChecked(){const we=this.isCircular();let me=this.totalShiftedItems;if(this.value&&this.itemsContainer&&(this.prevState.numScroll!==this._numScroll||this.prevState.numVisible!==this._numVisible||this.prevState.value.length!==this.value.length)){this.autoplayInterval&&this.stopAutoplay(),this.remainingItems=(this.value.length-this._numVisible)%this._numScroll;let We=this._page;0!==this.totalDots()&&We>=this.totalDots()&&(We=this.totalDots()-1,this._page=We,this.onPage.emit({page:this.page})),me=We*this._numScroll*-1,we&&(me-=this._numVisible),We===this.totalDots()-1&&this.remainingItems>0?(me+=-1*this.remainingItems+this._numScroll,this.isRemainingItemsAdded=!0):this.isRemainingItemsAdded=!1,me!==this.totalShiftedItems&&(this.totalShiftedItems=me),this._oldNumScroll=this._numScroll,this.prevState.numScroll=this._numScroll,this.prevState.numVisible=this._numVisible,this.prevState.value=[...this._value],this.totalDots()>0&&this.itemsContainer.nativeElement&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${me*(100/this._numVisible)}%, 0)`:`translate3d(${me*(100/this._numVisible)}%, 0, 0)`),this.isCreated=!0,this.autoplayInterval&&this.isAutoplay()&&this.startAutoplay()}we&&(0===this.page?me=-1*this._numVisible:0===me&&(me=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),me!==this.totalShiftedItems&&(this.totalShiftedItems=me))}createStyle(){this.carouselStyle||(this.carouselStyle=document.createElement("style"),this.carouselStyle.type="text/css",document.body.appendChild(this.carouselStyle));let we=`\n            #${this.id} .p-carousel-item {\n\t\t\t\tflex: 1 0 ${100/this.numVisible}%\n\t\t\t}\n        `;if(this.responsiveOptions){this.responsiveOptions.sort((me,We)=>{const re=me.breakpoint,ft=We.breakpoint;let Ot=null;return Ot=null==re&&null!=ft?-1:null!=re&&null==ft?1:null==re&&null==ft?0:"string"==typeof re&&"string"==typeof ft?re.localeCompare(ft,void 0,{numeric:!0}):re<ft?-1:re>ft?1:0,-1*Ot});for(let me=0;me<this.responsiveOptions.length;me++){let We=this.responsiveOptions[me];we+=`\n                    @media screen and (max-width: ${We.breakpoint}) {\n                        #${this.id} .p-carousel-item {\n                            flex: 1 0 ${100/We.numVisible}%\n                        }\n                    }\n                `}}this.carouselStyle.innerHTML=we}calculatePosition(){if(this.responsiveOptions){let we=window.innerWidth,me={numVisible:this.defaultNumVisible,numScroll:this.defaultNumScroll};for(let We=0;We<this.responsiveOptions.length;We++){let re=this.responsiveOptions[We];parseInt(re.breakpoint,10)>=we&&(me=re)}if(this._numScroll!==me.numScroll){let We=this._page;We=Math.floor(We*this._numScroll/me.numScroll);let re=me.numScroll*this.page*-1;this.isCircular()&&(re-=me.numVisible),this.totalShiftedItems=re,this._numScroll=me.numScroll,this._page=We,this.onPage.emit({page:this.page})}this._numVisible!==me.numVisible&&(this._numVisible=me.numVisible,this.setCloneItems()),this.cd.markForCheck()}}setCloneItems(){this.clonedItemsForStarting=[],this.clonedItemsForFinishing=[],this.isCircular()&&(this.clonedItemsForStarting.push(...this.value.slice(-1*this._numVisible)),this.clonedItemsForFinishing.push(...this.value.slice(0,this._numVisible)))}firstIndex(){return this.isCircular()?-1*(this.totalShiftedItems+this.numVisible):-1*this.totalShiftedItems}lastIndex(){return this.firstIndex()+this.numVisible-1}totalDots(){return this.value?Math.ceil((this.value.length-this._numVisible)/this._numScroll)+1:0}totalDotsArray(){const we=this.totalDots();return we<=0?[]:Array(we).fill(0)}isVertical(){return"vertical"===this.orientation}isCircular(){return this.circular&&this.value&&this.value.length>=this.numVisible}isAutoplay(){return this.autoplayInterval&&this.allowAutoplay}isForwardNavDisabled(){return this.isEmpty()||this._page>=this.totalDots()-1&&!this.isCircular()}isBackwardNavDisabled(){return this.isEmpty()||this._page<=0&&!this.isCircular()}isEmpty(){return!this.value||0===this.value.length}navForward(we,me){(this.isCircular()||this._page<this.totalDots()-1)&&this.step(-1,me),this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),we&&we.cancelable&&we.preventDefault()}navBackward(we,me){(this.isCircular()||0!==this._page)&&this.step(1,me),this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),we&&we.cancelable&&we.preventDefault()}onDotClick(we,me){let We=this._page;this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),me>We?this.navForward(we,me):me<We&&this.navBackward(we,me)}step(we,me){let We=this.totalShiftedItems;const re=this.isCircular();null!=me?(We=this._numScroll*me*-1,re&&(We-=this._numVisible),this.isRemainingItemsAdded=!1):(We+=this._numScroll*we,this.isRemainingItemsAdded&&(We+=this.remainingItems-this._numScroll*we,this.isRemainingItemsAdded=!1),me=Math.abs(Math.floor((re?We+this._numVisible:We)/this._numScroll))),re&&this.page===this.totalDots()-1&&-1===we?(We=-1*(this.value.length+this._numVisible),me=0):re&&0===this.page&&1===we?(We=0,me=this.totalDots()-1):me===this.totalDots()-1&&this.remainingItems>0&&(We+=-1*this.remainingItems-this._numScroll*we,this.isRemainingItemsAdded=!0),this.itemsContainer&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${We*(100/this._numVisible)}%, 0)`:`translate3d(${We*(100/this._numVisible)}%, 0, 0)`,this.itemsContainer.nativeElement.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=We,this._page=me,this.onPage.emit({page:this.page})}startAutoplay(){this.interval=setInterval(()=>{this.totalDots()>0&&(this.page===this.totalDots()-1?this.step(-1,0):this.step(-1,this.page+1))},this.autoplayInterval)}stopAutoplay(){this.interval&&clearInterval(this.interval)}
1onTransitionEnd(){this.itemsContainer&&(this.itemsContainer.nativeElement.style.transition="",(0===this.page||this.page===this.totalDots()-1)&&this.isCircular()&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${this.totalShiftedItems*(100/this._numVisible)}%, 0)`:`translate3d(${this.totalShiftedItems*(100/this._numVisible)}%, 0, 0)`))}onTouchStart(we){let me=we.changedTouches[0];this.startPos={x:me.pageX,y:me.pageY}}onTouchMove(we){we.cancelable&&we.preventDefault()}onTouchEnd(we){let me=we.changedTouches[0];this.isVertical()?this.changePageOnTouch(we,me.pageY-this.startPos.y):this.changePageOnTouch(we,me.pageX-this.startPos.x)}changePageOnTouch(we,me){Math.abs(me)>this.swipeThreshold&&(me<0?this.navForward(we):this.navBackward(we))}bindDocumentListeners(){this.documentResizeListener||(this.documentResizeListener=we=>{this.calculatePosition()},window.addEventListener("resize",this.documentResizeListener))}unbindDocumentListeners(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}ngOnDestroy(){this.responsiveOptions&&this.unbindDocumentListeners(),this.autoplayInterval&&this.stopAutoplay()}}return dt.\u0275fac=function(we){return new(we||dt)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO))},dt.\u0275cmp=i.Xpm({type:dt,selectors:[["p-carousel"]],contentQueries:function(we,me,We){if(1&we&&(i.Suo(We,s.h4,5),i.Suo(We,s.$_,5),i.Suo(We,s.jx,4)),2&we){let re;i.iGM(re=i.CRH())&&(me.headerFacet=re.first),i.iGM(re=i.CRH())&&(me.footerFacet=re.first),i.iGM(re=i.CRH())&&(me.templates=re)}},viewQuery:function(we,me){if(1&we&&i.Gf(A,5),2&we){let We;i.iGM(We=i.CRH())&&(me.itemsContainer=We.first)}},hostAttrs:[1,"p-element"],inputs:{page:"page",numVisible:"numVisible",numScroll:"numScroll",responsiveOptions:"responsiveOptions",orientation:"orientation",verticalViewPortHeight:"verticalViewPortHeight",contentClass:"contentClass",indicatorsContentClass:"indicatorsContentClass",indicatorsContentStyle:"indicatorsContentStyle",indicatorStyleClass:"indicatorStyleClass",indicatorStyle:"indicatorStyle",value:"value",circular:"circular",showIndicators:"showIndicators",showNavigators:"showNavigators",autoplayInterval:"autoplayInterval",style:"style",styleClass:"styleClass"},outputs:{onPage:"onPage"},features:[i.TTD],ngContentSelectors:At,decls:14,vars:22,consts:[[3,"ngClass","ngStyle"],["class","p-carousel-header",4,"ngIf"],[3,"ngClass"],[1,"p-carousel-container"],["type","button","pRipple","",3,"ngClass","disabled","click",4,"ngIf"],[1,"p-carousel-items-content",3,"ngStyle"],[1,"p-carousel-items-container",3,"transitionend","touchend","touchstart","touchmove"],["itemsContainer",""],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass","class","ngStyle",4,"ngIf"],["class","p-carousel-footer",4,"ngIf"],[1,"p-carousel-header"],[4,"ngTemplateOutlet"],["type","button","pRipple","",3,"ngClass","disabled","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",3,"ngClass","ngStyle","click"],[1,"p-carousel-footer"]],template:function(we,me){1&we&&(i.F$t(ot),i.TgZ(0,"div",0),i.YNc(1,T,3,1,"div",1),i.TgZ(2,"div",2)(3,"div",3),i.YNc(4,q,2,8,"button",4),i.TgZ(5,"div",5)(6,"div",6,7),i.NdJ("transitionend",function(){return me.onTransitionEnd()})("touchend",function(re){return me.onTouchEnd(re)})("touchstart",function(re){return me.onTouchStart(re)})("touchmove",function(re){return me.onTouchMove(re)}),i.YNc(8,O,2,9,"div",8),i.YNc(9,Z,2,9,"div",8),i.YNc(10,ee,2,9,"div",8),i.qZA()(),i.YNc(11,_e,2,8,"button",4),i.qZA(),i.YNc(12,he,2,5,"ul",9),i.qZA(),i.YNc(13,Be,3,1,"div",10),i.qZA()),2&we&&(i.Tol(me.styleClass),i.Q6J("ngClass",i.WLB(17,nt,me.isVertical(),!me.isVertical()))("ngStyle",me.style),i.uIk("id",me.id),i.xp6(1),i.Q6J("ngIf",me.headerFacet||me.headerTemplate),i.xp6(1),i.Tol(me.contentClass),i.Q6J("ngClass","p-carousel-content"),i.xp6(2),i.Q6J("ngIf",me.showNavigators),i.xp6(1),i.Q6J("ngStyle",i.VKq(20,xt,me.isVertical()?me.verticalViewPortHeight:"auto")),i.xp6(3),i.Q6J("ngForOf",me.clonedItemsForStarting),i.xp6(1),i.Q6J("ngForOf",me.value),i.xp6(1),i.Q6J("ngForOf",me.clonedItemsForFinishing),i.xp6(1),i.Q6J("ngIf",me.showNavigators),i.xp6(1),i.Q6J("ngIf",me.showIndicators),i.xp6(1),i.Q6J("ngIf",me.footerFacet||me.footerTemplate))},directives:[l.mk,l.PC,l.O5,l.tP,e.H,l.sg],styles:[".p-carousel{display:flex;flex-direction:column}.p-carousel-content{display:flex;flex-direction:column;overflow:auto}.p-carousel-prev,.p-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-carousel-container{display:flex;flex-direction:row}.p-carousel-items-content{overflow:hidden;width:100%}.p-carousel-items-container{display:flex;flex-direction:row}.p-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.p-carousel-indicator>button{display:flex;align-items:center;justify-content:center}.p-carousel-vertical .p-carousel-container{flex-direction:column}.p-carousel-vertical .p-carousel-items-container{flex-direction:column;height:100%}.p-items-hidden .p-carousel-item{visibility:hidden}.p-items-hidden .p-carousel-item.p-carousel-item-active{visibility:visible}\n"],encapsulation:2,changeDetection:0}),dt})(),Vt=(()=>{class dt{}return dt.\u0275fac=function(we){return new(we||dt)},dt.\u0275mod=i.oAB({type:dt}),dt.\u0275inj=i.cJS({imports:[[l.ez,s.m8,e.T],l.ez,s.m8]}),dt})()},7663:(Yt,Ze,m)=>{"use strict";m.d(Ze,{S:()=>A,C:()=>d});var i=m(5e3),s=m(60),e=m(3192);e.kL.register(...e.zX);const l=e.kL;let d=(()=>{class C{constructor(S){this.el=S,this.plugins=[],this.responsive=!0,this.onDataSelect=new i.vpe,this._options={}}get data(){return this._data}set data(S){this._data=S,this.reinit()}get options(){return this._options}set options(S){this._options=S,this.reinit()}ngAfterViewInit(){this.initChart(),this.initialized=!0}onCanvasClick(S){if(this.chart){const R=this.chart.getElementsAtEventForMode(S,"nearest",{intersect:!0},!1),q=this.chart.getElementsAtEventForMode(S,"dataset",{intersect:!0},!1);R&&R[0]&&q&&this.onDataSelect.emit({originalEvent:S,element:R[0],dataset:q})}}initChart(){let S=this.options||{};S.responsive=this.responsive,S.responsive&&(this.height||this.width)&&(S.maintainAspectRatio=!1),this.chart=new l(this.el.nativeElement.children[0].children[0],{type:this.t
1ype,data:this.data,options:this.options,plugins:this.plugins})}getCanvas(){return this.el.nativeElement.children[0].children[0]}getBase64Image(){return this.chart.toBase64Image()}generateLegend(){if(this.chart)return this.chart.generateLegend()}refresh(){this.chart&&this.chart.update()}reinit(){this.chart&&(this.chart.destroy(),this.initChart())}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.initialized=!1,this.chart=null)}}return C.\u0275fac=function(S){return new(S||C)(i.Y36(i.SBq))},C.\u0275cmp=i.Xpm({type:C,selectors:[["p-chart"]],hostAttrs:[1,"p-element"],inputs:{type:"type",plugins:"plugins",width:"width",height:"height",responsive:"responsive",data:"data",options:"options"},outputs:{onDataSelect:"onDataSelect"},decls:2,vars:6,consts:[[2,"position","relative"],[3,"click"]],template:function(S,R){1&S&&(i.TgZ(0,"div",0)(1,"canvas",1),i.NdJ("click",function(w){return R.onCanvasClick(w)}),i.qZA()()),2&S&&(i.Udp("width",R.responsive&&!R.width?null:R.width)("height",R.responsive&&!R.height?null:R.height),i.xp6(1),i.uIk("width",R.responsive&&!R.width?null:R.width)("height",R.responsive&&!R.height?null:R.height))},encapsulation:2,changeDetection:0}),C})(),A=(()=>{class C{}return C.\u0275fac=function(S){return new(S||C)},C.\u0275mod=i.oAB({type:C}),C.\u0275inj=i.cJS({imports:[[s.ez]]}),C})()},5730:(Yt,Ze,m)=>{"use strict";m.d(Ze,{V:()=>s,p:()=>i});let i=(()=>{class e{static addClass(d,A){d.classList?d.classList.add(A):d.className+=" "+A}static addMultipleClasses(d,A){if(d.classList){let C=A.trim().split(" ");for(let T=0;T<C.length;T++)d.classList.add(C[T])}else{let C=A.split(" ");for(let T=0;T<C.length;T++)d.className+=" "+C[T]}}static removeClass(d,A){d.classList?d.classList.remove(A):d.className=d.className.replace(new RegExp("(^|\\b)"+A.split(" ").join("|")+"(\\b|$)","gi")," ")}static hasClass(d,A){return d.classList?d.classList.contains(A):new RegExp("(^| )"+A+"( |$)","gi").test(d.className)}static siblings(d){return Array.prototype.filter.call(d.parentNode.children,function(A){return A!==d})}static find(d,A){return Array.from(d.querySelectorAll(A))}static findSingle(d,A){return d?d.querySelector(A):null}static index(d){let A=d.parentNode.childNodes,C=0;for(var T=0;T<A.length;T++){if(A[T]==d)return C;1==A[T].nodeType&&C++}return-1}static indexWithinGroup(d,A){let C=d.parentNode?d.parentNode.childNodes:[],T=0;for(var S=0;S<C.length;S++){if(C[S]==d)return T;C[S].attributes&&C[S].attributes[A]&&1==C[S].nodeType&&T++}return-1}static relativePosition(d,A){let C=d.offsetParent?{width:d.offsetWidth,height:d.offsetHeight}:this.getHiddenElementDimensions(d);const T=A.offsetHeight,S=A.getBoundingClientRect(),R=this.getViewport();let q,w;S.top+T+C.height>R.height?(q=-1*C.height,d.style.transformOrigin="bottom",S.top+q<0&&(q=-1*S.top)):(q=T,d.style.transformOrigin="top"),w=C.width>R.width?-1*S.left:S.left+C.width>R.width?-1*(S.left+C.width-R.width):0,d.style.top=q+"px",d.style.left=w+"px"}static absolutePosition(d,A){let E,c,C=d.offsetParent?{width:d.offsetWidth,height:d.offsetHeight}:this.getHiddenElementDimensions(d),T=C.height,S=C.width,R=A.offsetHeight,q=A.offsetWidth,w=A.getBoundingClientRect(),k=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),O=this.getViewport();w.top+R+T>O.height?(E=w.top+k-T,d.style.transformOrigin="bottom",E<0&&(E=k)):(E=R+w.top+k,d.style.transformOrigin="top"),c=w.left+S>O.width?Math.max(0,w.left+h+q-S):w.left+h,d.style.top=E+"px",d.style.left=c+"px"}static getParents(d,A=[]){return null===d.parentNode?A:this.getParents(d.parentNode,A.concat([d.parentNode]))}static getScrollableParents(d){let A=[];if(d){let C=this.getParents(d);const T=/(auto|scroll)/,S=R=>{let q=window.getComputedStyle(R,null);return T.test(q.getPropertyValue("overflow"))||T.test(q.getPropertyValue("overflowX"))||T.test(q.getPropertyValue("overflowY"))};for(let R of C){let q=1===R.nodeType&&R.dataset.scrollselectors;if(q){let w=q.split(",");for(let k of w){let h=this.findSingle(R,k);h&&S(h)&&A.push(h)}}9!==R.nodeType&&S(R)&&A.push(R)}}return A}static getHiddenElementOuterHeight(d){d.style.visibility="hidden",d.style.display="block";let A=d.offsetHeight;return d.style.display="none",d.style.visibility="visible",A}static getHiddenElementOuterWidth(d){d.style.visibility="hidden",d.style.display="block";let A=d.offsetWidth;return d.style.display="none",d.style.visibility="visible",A}static getHiddenElementDimensions(d){let A={};return d.style.visibility="hidden",d.style.display="block",A.width=d.offsetWidth,A.height=d.offsetHeight,d.style.display="none",d.style.visibility="visible",A}static scrollInView(d,A){let C=getComputedStyle(d).getPropertyValue("borderTopWidth"),T=C?parseFloat(C):0,S=getComputedStyle(d).getPropertyValue("paddingTop"),R=S?parseFloat(S):0,q=d.getBoundingClientRect(),k=A.getBoundingClientRect().top+document.body.scrollTop-(q.top+document.body.scrollTop)-T-R,h=d.scrollTop,O=d.clientHeight,E=this.getOuterHeight(A);k<0?d.scrollTop=h+k:k+E>O&&(d.scrollTop=h+k-O+E)}static fadeIn(d,A){d.style.opacity=0;let C=+new Date,T=0,S=function(){T=+d.style.opacity.replace(",",".")+((new Date).getTime()-C)/A,d.style.opacity=T,C=+new Date,+T<1&&(window.requestAnimationFrame&&requestAnimationFrame(S)||setTimeout(S,16))};S()}static fadeOut(d,A){var C=1,R=50/A;let q=setInterval(()=>{(C-=R)<=0&&(C=0,clearInterval(q)),d.style.opacity=C},50)}
1static getWindowScrollTop(){let d=document.documentElement;return(window.pageYOffset||d.scrollTop)-(d.clientTop||0)}static getWindowScrollLeft(){let d=document.documentElement;return(window.pageXOffset||d.scrollLeft)-(d.clientLeft||0)}static matches(d,A){var C=Element.prototype;return(C.matches||C.webkitMatchesSelector||C.mozMatchesSelector||C.msMatchesSelector||function(S){return-1!==[].indexOf.call(document.querySelectorAll(S),this)}).call(d,A)}static getOuterWidth(d,A){let C=d.offsetWidth;if(A){let T=getComputedStyle(d);C+=parseFloat(T.marginLeft)+parseFloat(T.marginRight)}return C}static getHorizontalPadding(d){let A=getComputedStyle(d);return parseFloat(A.paddingLeft)+parseFloat(A.paddingRight)}static getHorizontalMargin(d){let A=getComputedStyle(d);return parseFloat(A.marginLeft)+parseFloat(A.marginRight)}static innerWidth(d){let A=d.offsetWidth,C=getComputedStyle(d);return A+=parseFloat(C.paddingLeft)+parseFloat(C.paddingRight),A}static width(d){let A=d.offsetWidth,C=getComputedStyle(d);return A-=parseFloat(C.paddingLeft)+parseFloat(C.paddingRight),A}static getInnerHeight(d){let A=d.offsetHeight,C=getComputedStyle(d);return A+=parseFloat(C.paddingTop)+parseFloat(C.paddingBottom),A}static getOuterHeight(d,A){let C=d.offsetHeight;if(A){let T=getComputedStyle(d);C+=parseFloat(T.marginTop)+parseFloat(T.marginBottom)}return C}static getHeight(d){let A=d.offsetHeight,C=getComputedStyle(d);return A-=parseFloat(C.paddingTop)+parseFloat(C.paddingBottom)+parseFloat(C.borderTopWidth)+parseFloat(C.borderBottomWidth),A}static getWidth(d){let A=d.offsetWidth,C=getComputedStyle(d);return A-=parseFloat(C.paddingLeft)+parseFloat(C.paddingRight)+parseFloat(C.borderLeftWidth)+parseFloat(C.borderRightWidth),A}static getViewport(){let d=window,A=document,C=A.documentElement,T=A.getElementsByTagName("body")[0];return{width:d.innerWidth||C.clientWidth||T.clientWidth,height:d.innerHeight||C.clientHeight||T.clientHeight}}static getOffset(d){var A=d.getBoundingClientRect();return{top:A.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:A.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(d,A){let C=d.parentNode;if(!C)throw"Can't replace element";return C.replaceChild(A,d)}static getUserAgent(){return navigator.userAgent}static isIE(){var d=window.navigator.userAgent;return d.indexOf("MSIE ")>0||(d.indexOf("Trident/")>0?(d.indexOf("rv:"),!0):d.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(d,A){if(this.isElement(A))A.appendChild(d);else{if(!A.el||!A.el.nativeElement)throw"Cannot append "+A+" to "+d;A.el.nativeElement.appendChild(d)}}static removeChild(d,A){if(this.isElement(A))A.removeChild(d);else{if(!A.el||!A.el.nativeElement)throw"Cannot remove "+d+" from "+A;A.el.nativeElement.removeChild(d)}}static removeElement(d){"remove"in Element.prototype?d.remove():d.parentNode.removeChild(d)}static isElement(d){return"object"==typeof HTMLElement?d instanceof HTMLElement:d&&"object"==typeof d&&null!==d&&1===d.nodeType&&"string"==typeof d.nodeName}static calculateScrollbarWidth(d){if(d){let A=getComputedStyle(d);return d.offsetWidth-d.clientWidth-parseFloat(A.borderLeftWidth)-parseFloat(A.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let A=document.createElement("div");A.className="p-scrollbar-measure",document.body.appendChild(A);let C=A.offsetWidth-A.clientWidth;return document.body.removeChild(A),this.calculatedScrollbarWidth=C,C}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let d=document.createElement("div");d.className="p-scrollbar-measure",document.body.appendChild(d);let A=d.offsetHeight-d.clientHeight;return document.body.removeChild(d),this.calculatedScrollbarWidth=A,A}static invokeElementMethod(d,A,C){d[A].apply(d,C)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(d){}}static getBrowser(){if(!this.browser){let d=this.resolveUserAgent();this.browser={},d.browser&&(this.browser[d.browser]=!0,this.browser.version=d.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let d=navigator.userAgent.toLowerCase(),A=/(chrome)[ \/]([\w.]+)/.exec(d)||/(webkit)[ \/]([\w.]+)/.exec(d)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(d)||/(msie) ([\w.]+)/.exec(d)||d.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(d)||[];return{browser:A[1]||"",version:A[2]||"0"}}static isInteger(d){return Number.isInteger?Number.isInteger(d):"number"==typeof d&&isFinite(d)&&Math.floor(d)===d}static isHidden(d){return null===d.offsetParent}static getFocusableElements(d){let A=e.find(d,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not
1([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),C=[];for(let T of A)"none"!=getComputedStyle(T).display&&"hidden"!=getComputedStyle(T).visibility&&C.push(T);return C}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}}return e.zindex=1e3,e.calculatedScrollbarWidth=null,e.calculatedScrollbarHeight=null,e})();class s{constructor(l,d=(()=>{})){this.element=l,this.listener=d}bindScrollListener(){this.scrollableParents=i.getScrollableParents(this.element);for(let l=0;l<this.scrollableParents.length;l++)this.scrollableParents[l].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let l=0;l<this.scrollableParents.length;l++)this.scrollableParents[l].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}},422:(Yt,Ze,m)=>{"use strict";m.d(Ze,{L:()=>te,p:()=>X});var i=m(5e3),s=m(1777),e=m(60),l=m(9783),d=m(5787);const A=function(_e,ne){return{"pi-minus":_e,"pi-plus":ne}};function C(_e,ne){if(1&_e&&i._UZ(0,"span",9),2&_e){const oe=i.oxw(2);i.Q6J("ngClass",i.WLB(1,A,!oe.collapsed,oe.collapsed))}}function T(_e,ne){1&_e&&i.GkF(0)}function S(_e,ne){if(1&_e){const oe=i.EpF();i.ynx(0),i.TgZ(1,"a",7),i.NdJ("click",function(Se){return i.CHM(oe),i.oxw().toggle(Se)})("keydown.enter",function(Se){return i.CHM(oe),i.oxw().toggle(Se)}),i.YNc(2,C,1,4,"span",8),i.YNc(3,T,1,0,"ng-container",6),i.qZA(),i.BQk()}if(2&_e){const oe=i.oxw(),he=i.MAs(4);i.xp6(1),i.uIk("aria-controls",oe.id+"-content")("aria-expanded",!oe.collapsed),i.xp6(1),i.Q6J("ngIf",oe.toggleable),i.xp6(1),i.Q6J("ngTemplateOutlet",he)}}function R(_e,ne){1&_e&&i.GkF(0)}function q(_e,ne){if(1&_e&&(i.TgZ(0,"span",10),i._uU(1),i.qZA(),i.Hsn(2,1),i.YNc(3,R,1,0,"ng-container",6)),2&_e){const oe=i.oxw();i.xp6(1),i.Oqu(oe.legend),i.xp6(2),i.Q6J("ngTemplateOutlet",oe.headerTemplate)}}function w(_e,ne){1&_e&&i.GkF(0)}const k=["*",[["p-header"]]],h=function(_e){return{"p-fieldset p-component":!0,"p-fieldset-toggleable":_e}},O=function(_e){return{transitionParams:_e,height:"0"}},E=function(_e){return{value:"hidden",params:_e}},c=function(_e){return{transitionParams:_e,height:"*"}},Z=function(_e){return{value:"visible",params:_e}},v=["*","p-header"];let ee=0,X=(()=>{class _e{constructor(oe){this.el=oe,this.collapsed=!1,this.collapsedChange=new i.vpe,this.onBeforeToggle=new i.vpe,this.onAfterToggle=new i.vpe,this.transitionOptions="400ms cubic-bezier(0.86, 0, 0.07, 1)",this.id="p-fieldset-"+ee++}
1ngAfterContentInit(){this.templates.forEach(oe=>{switch(oe.getType()){case"header":this.headerTemplate=oe.template;break;case"content":this.contentTemplate=oe.template}})}toggle(oe){if(this.animating)return!1;this.animating=!0,this.onBeforeToggle.emit({originalEvent:oe,collapsed:this.collapsed}),this.collapsed?this.expand(oe):this.collapse(oe),this.onAfterToggle.emit({originalEvent:oe,collapsed:this.collapsed}),oe.preventDefault()}expand(oe){this.collapsed=!1,this.collapsedChange.emit(this.collapsed)}collapse(oe){this.collapsed=!0,this.collapsedChange.emit(this.collapsed)}getBlockableElement(){return this.el.nativeElement.children[0]}onToggleDone(){this.animating=!1}}return _e.\u0275fac=function(oe){return new(oe||_e)(i.Y36(i.SBq))},_e.\u0275cmp=i.Xpm({type:_e,selectors:[["p-fieldset"]],contentQueries:function(oe,he,Se){if(1&oe&&i.Suo(Se,l.jx,4),2&oe){let Be;i.iGM(Be=i.CRH())&&(he.templates=Be)}},hostAttrs:[1,"p-element"],inputs:{legend:"legend",toggleable:"toggleable",collapsed:"collapsed",style:"style",styleClass:"styleClass",transitionOptions:"transitionOptions"},outputs:{collapsedChange:"collapsedChange",onBeforeToggle:"onBeforeToggle",onAfterToggle:"onAfterToggle"},ngContentSelectors:v,decls:9,vars:22,consts:[[3,"ngClass","ngStyle"],[1,"p-fieldset-legend"],[4,"ngIf","ngIfElse"],["legendContent",""],["role","region",1,"p-toggleable-content"],[1,"p-fieldset-content"],[4,"ngTemplateOutlet"],["tabindex","0","pRipple","",3,"click","keydown.enter"],["class","p-fieldset-toggler pi",3,"ngClass",4,"ngIf"],[1,"p-fieldset-toggler","pi",3,"ngClass"],[1,"p-fieldset-legend-text"]],template:function(oe,he){if(1&oe&&(i.F$t(k),i.TgZ(0,"fieldset",0)(1,"legend",1),i.YNc(2,S,4,4,"ng-container",2),i.YNc(3,q,4,2,"ng-template",null,3,i.W1O),i.qZA(),i.TgZ(5,"div",4),i.NdJ("@fieldsetContent.done",function(){return he.onToggleDone()}),i.TgZ(6,"div",5),i.Hsn(7),i.YNc(8,w,1,0,"ng-container",6),i.qZA()()()),2&oe){const Se=i.MAs(4);i.Tol(he.styleClass),i.Q6J("ngClass",i.VKq(12,h,he.toggleable))("ngStyle",he.style),i.uIk("id",he.id),i.xp6(2),i.Q6J("ngIf",he.toggleable)("ngIfElse",Se),i.xp6(3),i.Q6J("@fieldsetContent",he.collapsed?i.VKq(16,E,i.VKq(14,O,he.transitionOptions)):i.VKq(20,Z,i.VKq(18,c,he.animating?he.transitionOptions:"0ms"))),i.uIk("id",he.id+"-content")("aria-labelledby",he.id)("aria-hidden",he.collapsed),i.xp6(3),i.Q6J("ngTemplateOutlet",he.contentTemplate)}},directives:[e.mk,e.PC,e.O5,d.H,e.tP],styles:[".p-fieldset-legend>a,.p-fieldset-legend>span{display:flex;align-items:center;justify-content:center}.p-fieldset-toggleable .p-fieldset-legend a{cursor:pointer;-webkit-user-select:none;user-select:none;overflow:hidden;position:relative}.p-fieldset-legend-text{line-height:1}\n"],encapsulation:2,data:{animation:[(0,s.X$)("fieldsetContent",[(0,s.SB)("hidden",(0,s.oB)({height:"0",overflow:"hidden"})),(0,s.SB)("visible",(0,s.oB)({height:"*"})),(0,s.eR)("visible <=> hidden",[(0,s.oB)({overflow:"hidden"}),(0,s.jt)("{{transitionParams}}")]),(0,s.eR)("void => *",(0,s.jt)(0))])]},changeDetection:0}),_e})(),te=(()=>{class _e{}return _e.\u0275fac=function(oe){return new(oe||_e)},_e.\u0275mod=i.oAB({type:_e}),_e.\u0275inj=i.cJS({imports:[[e.ez,d.T],l.m8]}),_e})()},2993:(Yt,Ze,m)=>{"use strict";m.d(Ze,{G:()=>Fo,f:()=>ua});var i=m(5e3),s=m(60),e=m(5730),l=m(5787);let w=(()=>{class yt{constructor(z){this.el=z,this.iconPos="left",this.loadingIcon="pi pi-spinner pi-spin",this._loading=!1}ngAfterViewInit(){this._initialStyleClass=this.el.nativeElement.className,e.p.addMultipleClasses(this.el.nativeElement,this.getStyleClass()),(this.icon||this.loading)&&this.createIconEl();let z=document.createElement("span");this.icon&&!this.label&&z.setAttribute("aria-hidden","true"),z.className="p-button-label",this.label?z.appendChild(document.createTextNode(this.label)):z.innerHTML="&nbsp;",this.el.nativeElement.appendChild(z),this.initialized=!0}getStyleClass(){let z="p-button p-component";return this.icon&&!this.label&&(z+=" p-button-icon-only"),this.loading&&(z+=" p-disabled p-button-loading",!this.icon&&this.label&&(z+=" p-button-loading-label-only")),z}setStyleClass(){let z=this.getStyleClass();this.el.nativeElement.className=z+" "+this._initialStyleClass}createIconEl(){let z=document.createElement("span");z.className="p-button-icon",z.setAttribute("aria-hidden","true");
1let Ie=this.label?"p-button-icon-"+this.iconPos:null;Ie&&e.p.addClass(z,Ie);let G=this.getIconClass();G&&e.p.addMultipleClasses(z,G);let de=e.p.findSingle(this.el.nativeElement,".p-button-label");de?this.el.nativeElement.insertBefore(z,de):this.el.nativeElement.appendChild(z)}getIconClass(){return this.loading?"p-button-loading-icon "+this.loadingIcon:this._icon}setIconClass(){let z=e.p.findSingle(this.el.nativeElement,".p-button-icon");z?z.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIconEl()}removeIconElement(){let z=e.p.findSingle(this.el.nativeElement,".p-button-icon");this.el.nativeElement.removeChild(z)}get label(){return this._label}set label(z){this._label=z,this.initialized&&(e.p.findSingle(this.el.nativeElement,".p-button-label").textContent=this._label||"&nbsp;",(this.loading||this.icon)&&this.setIconClass(),this.setStyleClass())}get icon(){return this._icon}set icon(z){this._icon=z,this.initialized&&(this.setIconClass(),this.setStyleClass())}get loading(){return this._loading}set loading(z){this._loading=z,this.initialized&&(this.loading||this.icon?this.setIconClass():this.removeIconElement(),this.setStyleClass())}ngOnDestroy(){this.initialized=!1}}return yt.\u0275fac=function(z){return new(z||yt)(i.Y36(i.SBq))},yt.\u0275dir=i.lG2({type:yt,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}}),yt})(),h=(()=>{class yt{}return yt.\u0275fac=function(z){return new(z||yt)},yt.\u0275mod=i.oAB({type:yt}),yt.\u0275inj=i.cJS({imports:[[s.ez,l.T]]}),yt})();var O=m(9783),E=m(925),c=m(3191),Z=m(5664),v=m(7579),ee=m(727),X=m(4986),te=m(5963),ne=m(6406),oe=m(9751),he=m(6451),Se=m(2722),Be=m(8675),ot=m(4004),nt=m(5698),xt=m(8505),At=m(3900),Qt=m(2411),Vt=m(226);function dt(yt,$e,z){for(let Ie in $e)if($e.hasOwnProperty(Ie)){const G=$e[Ie];G?yt.setProperty(Ie,G,(null==z?void 0:z.has(Ie))?"important":""):yt.removeProperty(Ie)}return yt}function Mt(yt,$e){const z=$e?"":"none";dt(yt.style,{"touch-action":$e?"":"none","-webkit-user-drag":$e?"":"none","-webkit-tap-highlight-color":$e?"":"transparent","user-select":z,"-ms-user-select":z,"-webkit-user-select":z,"-moz-user-select":z})}function we(yt,$e,z){dt(yt.style,{position:$e?"":"fixed",top:$e?"":"0",opacity:$e?"":"0",left:$e?"":"-999em"},z)}function me(yt,$e){return $e&&"none"!=$e?yt+" "+$e:yt}function We(yt){const $e=yt.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(yt)*$e}function ft(yt,$e){return yt.getPropertyValue($e).split(",").map(Ie=>Ie.trim())}function Ot(yt){const $e=yt.getBoundingClientRect();return{top:$e.top,right:$e.right,bottom:$e.bottom,left:$e.left,width:$e.width,height:$e.height,x:$e.x,y:$e.y}}function Et(yt,$e,z){const{top:Ie,bottom:G,left:de,right:Ye}=yt;return z>=Ie&&z<=G&&$e>=de&&$e<=Ye}function Lt(yt,$e,z){yt.top+=$e,yt.bottom=yt.top+yt.height,yt.left+=z,yt.right=yt.left+yt.width}function It(yt,$e,z,Ie){const{top:G,right:de,bottom:Ye,left:Dt,width:an,height:vn}=yt,zn=an*$e,$i=vn*$e;return Ie>G-$i&&Ie<Ye+$i&&z>Dt-zn&&z<de+zn}class it{constructor($e){this._document=$e,this.positions=new Map}clear(){this.positions.clear()}cache($e){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),$e.forEach(z=>{this.positions.set(z,{scrollPosition:{top:z.scrollTop,left:z.scrollLeft},clientRect:Ot(z)})})}handleScroll($e){const z=(0,E.sA)($e),Ie=this.positions.get(z);if(!Ie)return null;const G=Ie.scrollPosition;let de,Ye;if(z===this._document){const vn=this.getViewportScrollPosition();de=vn.top,Ye=vn.left}else de=z.scrollTop,Ye=z.scrollLeft;const Dt=G.top-de,an=G.left-Ye;return this.positions.forEach((vn,zn)=>{vn.clientRect&&z!==zn&&z.contains(zn)&&Lt(vn.clientRect,Dt,an)}),G.top=de,G.left=Ye,{top:Dt,left:an}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function wt(yt){const $e=yt.cloneNode(!0),z=$e.querySelectorAll("[id]"),Ie=yt.nodeName.toLowerCase();$e.removeAttribute("id");for(let G=0;G<z.length;G++)z[G].removeAttribute("id");return"canvas"===Ie?pn(yt,$e):("input"===Ie||"select"===Ie||"textarea"===Ie)&&Ut(yt,$e),le("canvas",yt,$e,pn),le("input, textarea, select",yt,$e,Ut),$e}function le(yt,$e,z,Ie){const G=$e.querySelectorAll(yt);if(G.length){const de=z.querySelectorAll(yt);for(let Ye=0;Ye<G.length;Ye++)Ie(G[Ye],de[Ye])}}let Ne=0;function Ut(yt,$e){"file"!==$e.type&&($e.value=yt.value),"radio"===$e.type&&$e.name&&($e.name=`mat-clone-${$e.name}-${Ne++}`)}function pn(yt,$e){const z=$e.getContext("2d");
1if(z)try{z.drawImage(yt,0,0)}catch(Ie){}}const Dn=(0,E.i$)({passive:!0}),Mn=(0,E.i$)({passive:!1}),Ue=new Set(["position"]);class Je{constructor($e,z,Ie,G,de,Ye){this._config=z,this._document=Ie,this._ngZone=G,this._viewportRuler=de,this._dragDropRegistry=Ye,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new v.x,this._pointerMoveSubscription=ee.w0.EMPTY,this._pointerUpSubscription=ee.w0.EMPTY,this._scrollSubscription=ee.w0.EMPTY,this._resizeSubscription=ee.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new v.x,this.started=new v.x,this.released=new v.x,this.ended=new v.x,this.entered=new v.x,this.exited=new v.x,this.dropped=new v.x,this.moved=this._moveEvents,this._pointerDown=Dt=>{if(this.beforeStarted.next(),this._handles.length){const an=this._getTargetHandle(Dt);an&&!this._disabledHandles.has(an)&&!this.disabled&&this._initializeDragSequence(an,Dt)}else this.disabled||this._initializeDragSequence(this._rootElement,Dt)},this._pointerMove=Dt=>{const an=this._getPointerPositionOnPage(Dt);if(!this._hasStartedDragging){if(Math.abs(an.x-this._pickupPositionOnPage.x)+Math.abs(an.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Wi=Date.now()>=this._dragStartTime+this._getDragStartDelay(Dt),Zo=this._dropContainer;if(!Wi)return void this._endDragSequence(Dt);(!Zo||!Zo.isDragging()&&!Zo.isReceiving())&&(Dt.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Dt)))}return}Dt.preventDefault();const vn=this._getConstrainedPointerPosition(an);if(this._hasMoved=!0,this._lastKnownPointerPosition=an,this._updatePointerDirectionDelta(vn),this._dropContainer)this._updateActiveDropContainer(vn,an);else{const zn=this._activeTransform;zn.x=vn.x-this._pickupPositionOnPage.x+this._passiveTransform.x,zn.y=vn.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(zn.x,zn.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:vn,event:Dt,distance:this._getDragDistance(vn),delta:this._pointerDirectionDelta})})},this._pointerUp=Dt=>{this._endDragSequence(Dt)},this._nativeDragStart=Dt=>{if(this._handles.length){const an=this._getTargetHandle(Dt);an&&!this._disabledHandles.has(an)&&!this.disabled&&Dt.preventDefault()}else this.disabled||Dt.preventDefault()},this.withRootElement($e).withParent(z.parentDragRef||null),this._parentPositions=new it(Ie),Ye.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled($e){const z=(0,c.Ig)($e);z!==this._disabled&&(this._disabled=z,this._toggleNativeDragInteractions(),this._handles.forEach(Ie=>Mt(Ie,z)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles($e){this._handles=$e.map(Ie=>(0,c.fI)(Ie)),this._handles.forEach(Ie=>Mt(Ie,this.disabled)),this._toggleNativeDragInteractions();const z=new Set;return this._disabledHandles.forEach(Ie=>{this._handles.indexOf(Ie)>-1&&z.add(Ie)}),this._disabledHandles=z,this}withPreviewTemplate($e){return this._previewTemplate=$e,this}withPlaceholderTemplate($e){return this._placeholderTemplate=$e,this}withRootElement($e){const z=(0,c.fI)($e);return z!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{z.addEventListener("mousedown",this._pointerDown,Mn),z.addEventListener("touchstart",this._pointerDown,Dn),z.addEventListener("dragstart",this._nativeDragStart,Mn)}),this._initialTransform=void 0,this._rootElement=z),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement($e){return this._boundaryElement=$e?(0,c.fI)($e):null,this._resizeSubscription.unsubscribe(),$e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent($e){return this._parentDragRef=$e,this}dispose(){var $e,z;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===($e=this._rootElement)||void 0===$e||$e.remove()),null===(z=this._anchor)||void 0===z||z.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle($e){!this._disabledHandles.has($e)&&this._handles.indexOf($e)>-1&&(this._disabledHandles.add($e),Mt($e,!0))}enableHandle($e){this._disabledHandles.has($e)&&(this._disabledHandles.delete($e),Mt($e,this.disabled))}withDirection($e){return this._direction=$e,this}_withDropContainer($e){this._dropContainer=$e}getFreeDragPosition(){const $e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:$e.x,y:$e.y}}setFreeDragPosition($e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=$e.x,this._passiveTransform.y=$e.y,this._dropContainer||this._applyRootElementTransform($e.x,$e.y),this}withPreviewContainer($e){return this._previewContainer=$e,this}_sortFromLastPointerPosition(){const $e=this._lastKnownPointerPosition;$e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition($e),$e)}
1_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var $e,z;null===($e=this._preview)||void 0===$e||$e.remove(),null===(z=this._previewRef)||void 0===z||z.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var $e,z;null===($e=this._placeholder)||void 0===$e||$e.remove(),null===(z=this._placeholderRef)||void 0===z||z.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence($e){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts($e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const z=this._getPointerPositionOnPage($e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(z),dropPoint:z})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence($e){Ve($e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const z=this._dropContainer;if(z){const Ie=this._rootElement,G=Ie.parentNode,de=this._placeholder=this._createPlaceholderElement(),Ye=this._anchor=this._anchor||this._document.createComment(""),Dt=this._getShadowRoot();G.insertBefore(Ye,Ie),this._initialTransform=Ie.style.transform||"",this._preview=this._createPreviewElement(),we(Ie,!1,Ue),this._document.body.appendChild(G.replaceChild(de,Ie)),this._getPreviewInsertionPoint(G,Dt).appendChild(this._preview),this.started.next({source:this}),z.start(),this._initialContainer=z,this._initialIndex=z.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(z?z.getScrollableParents():[])}_initializeDragSequence($e,z){this._parentDragRef&&z.stopPropagation();const Ie=this.isDragging(),G=Ve(z),de=!G&&0!==z.button,Ye=this._rootElement,Dt=(0,E.sA)(z),an=!G&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),vn=G?(0,Z.yG)(z):(0,Z.X6)(z);if(Dt&&Dt.draggable&&"mousedown"===z.type&&z.preventDefault(),Ie||de||an||vn)return;if(this._handles.length){const no=Ye.style;this._rootElementTapHighlight=no.webkitTapHighlightColor||"",no.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(no=>this._updateOnScroll(no)),this._boundaryElement&&(this._boundaryRect=Ot(this._boundaryElement));const zn=this._previewTemplate;this._pickupPositionInElement=zn&&zn.template&&!zn.matchSize?{x:0,y:0}:this._getPointerPositionInElement($e,z);const $i=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(z);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:$i.x,y:$i.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,z)}_cleanupDragArtifacts($e){we(this._rootElement,!0,Ue),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const z=this._dropContainer,Ie=z.getItemIndex(this),G=this._getPointerPositionOnPage($e),de=this._getDragDistance(G),Ye=z._isOverContainer(G.x,G.y);this.ended.next({source:this,distance:de,dropPoint:G}),this.dropped.next({item:this,currentIndex:Ie,previousIndex:this._initialIndex,container:z,previousContainer:this._initialContainer,isPointerOverContainer:Ye,distance:de,dropPoint:G}),z.drop(this,Ie,this._initialIndex,this._initialContainer,Ye,de,G),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:$e,y:z},{x:Ie,y:G}){let de=this._initialContainer._getSiblingContainerFromPosition(this,$e,z);!de&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer($e,z)&&(de=this._initialContainer),de&&de!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=de,this._dropContainer.enter(this,$e,z,de===this._initialContainer&&de.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:de,currentIndex:de.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(Ie,G),this._dropContainer._sortItem(this,$e,z,this._pointerDirectionDelta),this._applyPreviewTransform($e-this._pickupPositionInElement.x,z-this._pickupPositionInElement.y))}_createPreviewElement(){const $e=this._previewTemplate,z=this.previewClass,Ie=$e?$e.template:null;let G;if(Ie&&$e){const de=$e.matchSize?this._rootElement.getBoundingClientRect():null,Ye=$e.viewContainer.createEmbeddedView(Ie,$e.context);Ye.detectChanges(),G=ge(Ye,this._document),this._previewRef=Ye,$e.matchSize?et(G,de):G.style.transform=De(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const de=this._rootElement;G=wt(de),et(G,de.getBoundingClientRect()),this._initialTransform&&(G.style.transform=this._initialTransform)}return dt(G.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},Ue),Mt(G,!1),G.classList.add("cdk-drag-preview"),G.setAttribute("dir",this._direction),z&&(Array.isArray(z)?z.forEach(de=>G.classList.add(de)):G.classList.add(z)),G}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const $e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform($e.left,$e.top);const z=function re(yt){const $e=getComputedStyle(yt),z=ft($e,"transition-property"),Ie=z.find(Dt=>"transform"===Dt||"all"===Dt);if(!Ie)return 0;const G=z.indexOf(Ie),de=ft($e,"transition-duration"),Ye=ft($e,"transition-delay");return We(de[G])+We(Ye[G])}(this._preview);return 0===z?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(Ie=>{const G=Ye=>{var Dt;(!Ye||(0,E.sA)(Ye)===this._preview&&"transform"===Ye.propertyName)&&(null===(Dt=this._preview)||void 0===Dt||Dt.removeEventListener("transitionend",G),Ie(),clearTimeout(de))},de=setTimeout(G,1.5*z);this._preview.addEventListener("transitionend",G)}))}_createPlaceholderElement(){const $e=this._placeholderTemplate,z=$e?$e.template:null;let Ie;return z?(this._placeholderRef=$e.viewContainer.createEmbeddedView(z,$e.context),this._placeholderRef.detectChanges(),Ie=ge(this._placeholderRef,this._document)):Ie=wt(this._rootElement),Ie.style.pointerEvents="none",Ie.classList.add("cdk-drag-placeholder"),Ie}_getPointerPositionInElement($e,z){const Ie=this._rootElement.getBoundingClientRect(),G=$e===this._rootElement?null:$e,de=G?G.getBoundingClientRect():Ie,Ye=Ve(z)?z.targetTouches[0]:z,Dt=this._getViewportScrollPosition();return{x:de.left-Ie.left+(Ye.pageX-de.left-Dt.left),y:de.top-Ie.top+(Ye.pageY-de.top-Dt.top)}}_getPointerPositionOnPage($e){const z=this._getViewportScrollPosition(),Ie=Ve($e)?$e.touches[0]||$e.changedTouches[0]||{pageX:0,pageY:0}:$e,G=Ie.pageX-z.left,de=Ie.pageY-z.top;if(this._ownerSVGElement){const Ye=this._ownerSVGElement.getScreenCTM();if(Ye){const Dt=this._ownerSVGElement.createSVGPoint();return Dt.x=G,Dt.y=de,Dt.matrixTransform(Ye.inverse())}}return{x:G,y:de}}_getConstrainedPointerPosition($e){const z=this._dropContainer?this._dropContainer.lockAxis:null;let{x:Ie,y:G}=this.constrainPosition?this.constrainPosition($e,this):$e;if("x"===this.lockAxis||"x"===z?G=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===z)&&(Ie=this._pickupPositionOnPage.x),this._boundaryRect){const{x:de,y:Ye}=this._pickupPositionInElement,Dt=this._boundaryRect,{width:an,height:vn}=this._getPreviewRect(),zn=Dt.top+Ye,$i=Dt.bottom-(vn-Ye);Ie=at(Ie,Dt.left+de,Dt.right-(an-de)),G=at(G,zn,$i)}return{x:Ie,y:G}}_updatePointerDirectionDelta($e){const{x:z,y:Ie}=$e,G=this._pointerDirectionDelta,de=this._pointerPositionAtLastDirectionChange,Ye=Math.abs(z-de.x),Dt=Math.abs(Ie-de.y);return Ye>this._config.pointerDirectionChangeThreshold&&(G.x=z>de.x?1:-1,de.x=z),Dt>this._config.pointerDirectionChangeThreshold&&(G.y=Ie>de.y?1:-1,de.y=Ie),G}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const $e=this._handles.length>0||!this.isDragging();$e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=$e,Mt(this._rootElement,$e))}_removeRootElementListeners($e){$e.removeEventListener("mousedown",this._pointerDown,Mn),$e.removeEventListener("touchstart",this._pointerDown,Dn),$e.removeEventListener("dragstart",this._nativeDragStart,Mn)}_applyRootElementTransform($e,z){const Ie=De($e,z),G=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=G.transform&&"none"!=G.transform?G.transform:""),G.transform=me(Ie,this._initialTransform)}_applyPreviewTransform($e,z){var Ie;const G=(null===(Ie=this._previewTemplate)||void 0===Ie?void 0:Ie.template)?void 0:this._initialTransform,de=De($e,z);
1this._preview.style.transform=me(de,G)}_getDragDistance($e){const z=this._pickupPositionOnPage;return z?{x:$e.x-z.x,y:$e.y-z.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:$e,y:z}=this._passiveTransform;if(0===$e&&0===z||this.isDragging()||!this._boundaryElement)return;const Ie=this._boundaryElement.getBoundingClientRect(),G=this._rootElement.getBoundingClientRect();if(0===Ie.width&&0===Ie.height||0===G.width&&0===G.height)return;const de=Ie.left-G.left,Ye=G.right-Ie.right,Dt=Ie.top-G.top,an=G.bottom-Ie.bottom;Ie.width>G.width?(de>0&&($e+=de),Ye>0&&($e-=Ye)):$e=0,Ie.height>G.height?(Dt>0&&(z+=Dt),an>0&&(z-=an)):z=0,($e!==this._passiveTransform.x||z!==this._passiveTransform.y)&&this.setFreeDragPosition({y:z,x:$e})}_getDragStartDelay($e){const z=this.dragStartDelay;return"number"==typeof z?z:Ve($e)?z.touch:z?z.mouse:0}_updateOnScroll($e){const z=this._parentPositions.handleScroll($e);if(z){const Ie=(0,E.sA)($e);this._boundaryRect&&Ie!==this._boundaryElement&&Ie.contains(this._boundaryElement)&&Lt(this._boundaryRect,z.top,z.left),this._pickupPositionOnPage.x+=z.left,this._pickupPositionOnPage.y+=z.top,this._dropContainer||(this._activeTransform.x-=z.left,this._activeTransform.y-=z.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var $e;return(null===($e=this._parentPositions.positions.get(this._document))||void 0===$e?void 0:$e.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,E.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint($e,z){const Ie=this._previewContainer||"global";if("parent"===Ie)return $e;if("global"===Ie){const G=this._document;return z||G.fullscreenElement||G.webkitFullscreenElement||G.mozFullScreenElement||G.msFullscreenElement||G.body}return(0,c.fI)(Ie)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle($e){return this._handles.find(z=>$e.target&&($e.target===z||z.contains($e.target)))}}function De(yt,$e){return`translate3d(${Math.round(yt)}px, ${Math.round($e)}px, 0)`}function at(yt,$e,z){return Math.max($e,Math.min(z,yt))}function Ve(yt){return"t"===yt.type[0]}function ge(yt,$e){const z=yt.rootNodes;if(1===z.length&&z[0].nodeType===$e.ELEMENT_NODE)return z[0];const Ie=$e.createElement("div");return z.forEach(G=>Ie.appendChild(G)),Ie}function et(yt,$e){yt.style.width=`${$e.width}px`,yt.style.height=`${$e.height}px`,yt.style.transform=De($e.left,$e.top)}function _t(yt,$e,z){const Ie=Cn($e,yt.length-1),G=Cn(z,yt.length-1);if(Ie===G)return;const de=yt[Ie],Ye=G<Ie?-1:1;for(let Dt=Ie;Dt!==G;Dt+=Ye)yt[Dt]=yt[Dt+Ye];yt[G]=de}function jt(yt,$e,z,Ie){const G=Cn(z,yt.length-1),de=Cn(Ie,$e.length);yt.length&&$e.splice(de,0,yt.splice(G,1)[0])}function Cn(yt,$e){return Math.max(0,Math.min($e,yt))}class Bn{constructor($e,z,Ie,G,de){this._dragDropRegistry=z,this._ngZone=G,this._viewportRuler=de,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new v.x,this.entered=new v.x,this.exited=new v.x,this.dropped=new v.x,this.sorted=new v.x,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=ee.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new v.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function _e(yt=0,$e=X.z){return yt<0&&(yt=0),(0,te.H)(yt,yt,$e)}(0,ne.Z).pipe((0,Se.R)(this._stopScrollTimers)).subscribe(()=>{const Ye=this._scrollNode,Dt=this.autoScrollStep;1===this._verticalScrollDirection?Ye.scrollBy(0,-Dt):2===this._verticalScrollDirection&&Ye.scrollBy(0,Dt),1===this._horizontalScrollDirection?Ye.scrollBy(-Dt,0):2===this._horizontalScrollDirection&&Ye.scrollBy(Dt,0)})},this.element=(0,c.fI)($e),this._document=Ie,this.withScrollableParents([this.element]),z.registerDropContainer(this),this._parentPositions=new it(Ie)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter($e,z,Ie,G){let de;this._draggingStarted(),null==G?(de=this.sortingDisabled?this._draggables.indexOf($e):-1,-1===de&&(de=this._getItemIndexFromPointerPosition($e,z,Ie))):de=G;const Ye=this._activeDraggables,Dt=Ye.indexOf($e),an=$e.getPlaceholderElement();let vn=Ye[de];if(vn===$e&&(vn=Ye[de+1]),!vn&&(null==de||-1===de||de<Ye.length-1)&&this._shouldEnterAsFirstChild(z,Ie)&&(vn=Ye[0]),Dt>-1&&Ye.splice(Dt,1),vn&&!this._dragDropRegistry.isDragging(vn)){const zn=vn.getRootElement();
1zn.parentElement.insertBefore(an,zn),Ye.splice(de,0,$e)}else(0,c.fI)(this.element).appendChild(an),Ye.push($e);an.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:$e,container:this,currentIndex:this.getItemIndex($e)})}exit($e){this._reset(),this.exited.next({item:$e,container:this})}drop($e,z,Ie,G,de,Ye,Dt){this._reset(),this.dropped.next({item:$e,currentIndex:z,previousIndex:Ie,container:this,previousContainer:G,isPointerOverContainer:de,distance:Ye,dropPoint:Dt})}withItems($e){const z=this._draggables;return this._draggables=$e,$e.forEach(Ie=>Ie._withDropContainer(this)),this.isDragging()&&(z.filter(G=>G.isDragging()).every(G=>-1===$e.indexOf(G))?this._reset():this._cacheItems()),this}withDirection($e){return this._direction=$e,this}connectedTo($e){return this._siblings=$e.slice(),this}withOrientation($e){return this._orientation=$e,this}withScrollableParents($e){const z=(0,c.fI)(this.element);return this._scrollableElements=-1===$e.indexOf(z)?[z,...$e]:$e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex($e){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(Ie=>Ie.drag===$e):this._draggables.indexOf($e)}isReceiving(){return this._activeSiblings.size>0}_sortItem($e,z,Ie,G){if(this.sortingDisabled||!this._clientRect||!It(this._clientRect,.05,z,Ie))return;const de=this._itemPositions,Ye=this._getItemIndexFromPointerPosition($e,z,Ie,G);if(-1===Ye&&de.length>0)return;const Dt="horizontal"===this._orientation,an=de.findIndex(Wo=>Wo.drag===$e),vn=de[Ye],$i=vn.clientRect,no=an>Ye?1:-1,Wi=this._getItemOffsetPx(de[an].clientRect,$i,no),Zo=this._getSiblingOffsetPx(an,de,no),ia=de.slice();
1_t(de,an,Ye),this.sorted.next({previousIndex:an,currentIndex:Ye,container:this,item:$e}),de.forEach((Wo,Pa)=>{if(ia[Pa]===Wo)return;const Ia=Wo.drag===$e,Ca=Ia?Wi:Zo,oa=Ia?$e.getPlaceholderElement():Wo.drag.getRootElement();Wo.offset+=Ca,Dt?(oa.style.transform=me(`translate3d(${Math.round(Wo.offset)}px, 0, 0)`,Wo.initialTransform),Lt(Wo.clientRect,0,Ca)):(oa.style.transform=me(`translate3d(0, ${Math.round(Wo.offset)}px, 0)`,Wo.initialTransform),Lt(Wo.clientRect,Ca,0))}),this._previousSwap.overlaps=Et($i,z,Ie),this._previousSwap.drag=vn.drag,this._previousSwap.delta=Dt?G.x:G.y}_startScrollingIfNecessary($e,z){if(this.autoScrollDisabled)return;let Ie,G=0,de=0;if(this._parentPositions.positions.forEach((Ye,Dt)=>{Dt===this._document||!Ye.clientRect||Ie||It(Ye.clientRect,.05,$e,z)&&([G,de]=function Di(yt,$e,z,Ie){const G=di($e,Ie),de=ui($e,z);let Ye=0,Dt=0;if(G){const an=yt.scrollTop;1===G?an>0&&(Ye=1):yt.scrollHeight-an>yt.clientHeight&&(Ye=2)}if(de){const an=yt.scrollLeft;1===de?an>0&&(Dt=1):yt.scrollWidth-an>yt.clientWidth&&(Dt=2)}return[Ye,Dt]}(Dt,Ye.clientRect,$e,z),(G||de)&&(Ie=Dt))}),!G&&!de){const{width:Ye,height:Dt}=this._viewportRuler.getViewportSize(),an={width:Ye,height:Dt,top:0,right:Ye,bottom:Dt,left:0};G=di(an,z),de=ui(an,$e),Ie=window}Ie&&(G!==this._verticalScrollDirection||de!==this._horizontalScrollDirection||Ie!==this._scrollNode)&&(this._verticalScrollDirection=G,this._horizontalScrollDirection=de,this._scrollNode=Ie,(G||de)&&Ie?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const $e=(0,c.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=$e.msScrollSnapType||$e.scrollSnapType||"",$e.scrollSnapType=$e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const $e=(0,c.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get($e).clientRect}_cacheItemPositions(){const $e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(z=>{const Ie=z.getVisibleElement();return{drag:z,offset:0,initialTransform:Ie.style.transform||"",clientRect:Ot(Ie)}}).sort((z,Ie)=>$e?z.clientRect.left-Ie.clientRect.left:z.clientRect.top-Ie.clientRect.top)}_reset(){this._isDragging=!1;const $e=(0,c.fI)(this.element).style;$e.scrollSnapType=$e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(z=>{var Ie;const G=z.getRootElement();if(G){const de=null===(Ie=this._itemPositions.find(Ye=>Ye.drag===z))||void 0===Ie?void 0:Ie.initialTransform;G.style.transform=de||""}}),this._siblings.forEach(z=>z._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx($e,z,Ie){const G="horizontal"===this._orientation,de=z[$e].clientRect,Ye=z[$e+-1*Ie];let Dt=de[G?"width":"height"]*Ie;if(Ye){const an=G?"left":"top",vn=G?"right":"bottom";-1===Ie?Dt-=Ye.clientRect[an]-de[vn]:Dt+=de[an]-Ye.clientRect[vn]}return Dt}_getItemOffsetPx($e,z,Ie){const G="horizontal"===this._orientation;let de=G?z.left-$e.left:z.top-$e.top;return-1===Ie&&(de+=G?z.width-$e.width:z.height-$e.height),de}_shouldEnterAsFirstChild($e,z){if(!this._activeDraggables.length)return!1;const Ie=this._itemPositions,G="horizontal"===this._orientation;if(Ie[0].drag!==this._activeDraggables[0]){const Ye=Ie[Ie.length-1].clientRect;return G?$e>=Ye.right:z>=Ye.bottom}{const Ye=Ie[0].clientRect;return G?$e<=Ye.left:z<=Ye.top}}_getItemIndexFromPointerPosition($e,z,Ie,G){const de="horizontal"===this._orientation,Ye=this._itemPositions.findIndex(({drag:Dt,clientRect:an})=>{if(Dt===$e)return!1;if(G){const vn=de?G.x:G.y;if(Dt===this._previousSwap.drag&&this._previousSwap.overlaps&&vn===this._previousSwap.delta)return!1}return de?z>=Math.floor(an.left)&&z<Math.floor(an.right):Ie>=Math.floor(an.top)&&Ie<Math.floor(an.bottom)});return-1!==Ye&&this.sortPredicate(Ye,$e,this)?Ye:-1}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer($e,z){return null!=this._clientRect&&Et(this._clientRect,$e,z)}_getSiblingContainerFromPosition($e,z,Ie){return this._siblings.find(G=>G._canReceive($e,z,Ie))}_canReceive($e,z,Ie){if(!this._clientRect||!Et(this._clientRect,z,Ie)||!this.enterPredicate($e,this))return!1;const G=this._getShadowRoot().elementFromPoint(z,Ie);if(!G)return!1;const de=(0,c.fI)(this.element);return G===de||de.contains(G)}_startReceiving($e,z){const Ie=this._activeSiblings;!Ie.has($e)&&z.every(G=>this.enterPredicate(G,this)||this._draggables.indexOf(G)>-1)&&(Ie.add($e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving($e){this._activeSiblings.delete($e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe($e=>{if(this.isDragging()){const z=this._parentPositions.handleScroll($e);z&&(this._itemPositions.forEach(({clientRect:Ie})=>{Lt(Ie,z.top,z.left)}),this._itemPositions.forEach(({drag:Ie})=>{this._dragDropRegistry.isDragging(Ie)&&Ie._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const $e=(0,E.kV)((0,c.fI)(this.element));this._cachedShadowRoot=$e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const $e=this._activeDraggables.filter(z=>z.isDragging());
1this._siblings.forEach(z=>z._startReceiving(this,$e))}}function di(yt,$e){const{top:z,bottom:Ie,height:G}=yt,de=.05*G;return $e>=z-de&&$e<=z+de?1:$e>=Ie-de&&$e<=Ie+de?2:0}function ui(yt,$e){const{left:z,right:Ie,width:G}=yt,de=.05*G;return $e>=z-de&&$e<=z+de?1:$e>=Ie-de&&$e<=Ie+de?2:0}const In=(0,E.i$)({passive:!1,capture:!0});let Fn=(()=>{class yt{constructor(z,Ie){this._ngZone=z,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=G=>G.isDragging(),this.pointerMove=new v.x,this.pointerUp=new v.x,this.scroll=new v.x,this._preventDefaultWhileDragging=G=>{this._activeDragInstances.length>0&&G.preventDefault()},this._persistentTouchmoveListener=G=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&G.preventDefault(),this.pointerMove.next(G))},this._document=Ie}registerDropContainer(z){this._dropInstances.has(z)||this._dropInstances.add(z)}registerDragItem(z){this._dragInstances.add(z),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,In)})}removeDropContainer(z){this._dropInstances.delete(z)}removeDragItem(z){this._dragInstances.delete(z),this.stopDragging(z),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,In)}startDragging(z,Ie){if(!(this._activeDragInstances.indexOf(z)>-1)&&(this._activeDragInstances.push(z),1===this._activeDragInstances.length)){const G=Ie.type.startsWith("touch");this._globalListeners.set(G?"touchend":"mouseup",{handler:de=>this.pointerUp.next(de),options:!0}).set("scroll",{handler:de=>this.scroll.next(de),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:In}),G||this._globalListeners.set("mousemove",{handler:de=>this.pointerMove.next(de),options:In}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((de,Ye)=>{this._document.addEventListener(Ye,de.handler,de.options)})})}}stopDragging(z){const Ie=this._activeDragInstances.indexOf(z);Ie>-1&&(this._activeDragInstances.splice(Ie,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(z){return this._activeDragInstances.indexOf(z)>-1}scrolled(z){const Ie=[this.scroll];return z&&z!==this._document&&Ie.push(new oe.y(G=>this._ngZone.runOutsideAngular(()=>{const Ye=Dt=>{this._activeDragInstances.length&&G.next(Dt)};return z.addEventListener("scroll",Ye,!0),()=>{z.removeEventListener("scroll",Ye,!0)}}))),(0,he.T)(...Ie)}ngOnDestroy(){this._dragInstances.forEach(z=>this.removeDragItem(z)),this._dropInstances.forEach(z=>this.removeDropContainer(z)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((z,Ie)=>{this._document.removeEventListener(Ie,z.handler,z.options)}),this._globalListeners.clear()}}return yt.\u0275fac=function(z){return new(z||yt)(i.LFG(i.R0b),i.LFG(s.K0))},yt.\u0275prov=i.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const ei={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Vi=(()=>{class yt{constructor(z,Ie,G,de){this._document=z,this._ngZone=Ie,this._viewportRuler=G,this._dragDropRegistry=de}createDrag(z,Ie=ei){return new Je(z,Ie,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(z){return new Bn(z,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return yt.\u0275fac=function(z){return new(z||yt)(i.LFG(s.K0),i.LFG(i.R0b),i.LFG(Qt.rL),i.LFG(Fn))},yt.\u0275prov=i.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const gt=new i.OlP("CDK_DRAG_PARENT"),He=new i.OlP("CdkDropListGroup");let Oe=(()=>{class yt{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(z){this._disabled=(0,c.Ig)(z)}ngOnDestroy(){this._items.clear()}}return yt.\u0275fac=function(z){return new(z||yt)},yt.\u0275dir=i.lG2({type:yt,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[i._Bn([{provide:He,useExisting:yt}])]}),yt})();const pt=new i.OlP("CDK_DRAG_CONFIG");let fn=0;const Zn=new i.OlP("CdkDropList");let ni=(()=>{class yt{constructor(z,Ie,G,de,Ye,Dt,an){this.element=z,this._changeDetectorRef=G,this._scrollDispatcher=de,this._dir=Ye,this._group=Dt,this._destroyed=new v.x,this.connectedTo=[],this.id="cdk-drop-list-"+fn++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.sorted=new i.vpe,this._unsortedItems=new Set,this._dropListRef=Ie.createDropList(z),this._dropListRef.data=this,an&&this._assignDefaults(an),this._dropListRef.enterPredicate=(vn,zn)=>this.enterPredicate(vn.data,zn.data),this._dropListRef.sortPredicate=(vn,zn,$i)=>this.sortPredicate(vn,zn.data,$i.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),yt._dropLists.push(this),Dt&&Dt._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(z){this._dropListRef.disabled=this._disabled=(0,c.Ig)(z)}addItem(z){this._unsortedItems.add(z),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(z){this._unsortedItems.delete(z),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((z,Ie)=>z._dragRef.getVisibleElement().compareDocumentPosition(Ie._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const z=yt._dropLists.indexOf(this);z>-1&&yt._dropLists.splice(z,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(z){this._dir&&this._dir.change.pipe((0,Be.O)(this._dir.value),(0,Se.R)(this._destroyed)).subscribe(Ie=>z.withDirection(Ie)),z.beforeStarted.subscribe(()=>{const Ie=(0,c.Eq)(this.connectedTo).map(G=>"string"==typeof G?yt._dropLists.find(Ye=>Ye.id===G):G);
1if(this._group&&this._group._items.forEach(G=>{-1===Ie.indexOf(G)&&Ie.push(G)}),!this._scrollableParentsResolved){const G=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(de=>de.getElementRef().nativeElement);this._dropListRef.withScrollableParents(G),this._scrollableParentsResolved=!0}z.disabled=this.disabled,z.lockAxis=this.lockAxis,z.sortingDisabled=(0,c.Ig)(this.sortingDisabled),z.autoScrollDisabled=(0,c.Ig)(this.autoScrollDisabled),z.autoScrollStep=(0,c.su)(this.autoScrollStep,2),z.connectedTo(Ie.filter(G=>G&&G!==this).map(G=>G._dropListRef)).withOrientation(this.orientation)})}_handleEvents(z){z.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),z.entered.subscribe(Ie=>{this.entered.emit({container:this,item:Ie.item.data,currentIndex:Ie.currentIndex})}),z.exited.subscribe(Ie=>{this.exited.emit({container:this,item:Ie.item.data}),this._changeDetectorRef.markForCheck()}),z.sorted.subscribe(Ie=>{this.sorted.emit({previousIndex:Ie.previousIndex,currentIndex:Ie.currentIndex,container:this,item:Ie.item.data})}),z.dropped.subscribe(Ie=>{this.dropped.emit({previousIndex:Ie.previousIndex,currentIndex:Ie.currentIndex,previousContainer:Ie.previousContainer.data,container:Ie.container.data,item:Ie.item.data,isPointerOverContainer:Ie.isPointerOverContainer,distance:Ie.distance,dropPoint:Ie.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(z){const{lockAxis:Ie,draggingDisabled:G,sortingDisabled:de,listAutoScrollDisabled:Ye,listOrientation:Dt}=z;this.disabled=null!=G&&G,this.sortingDisabled=null!=de&&de,this.autoScrollDisabled=null!=Ye&&Ye,this.orientation=Dt||"vertical",Ie&&(this.lockAxis=Ie)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(z=>z._dragRef))}}return yt._dropLists=[],yt.\u0275fac=function(z){return new(z||yt)(i.Y36(i.SBq),i.Y36(Vi),i.Y36(i.sBO),i.Y36(Qt.mF),i.Y36(Vt.Is,8),i.Y36(He,12),i.Y36(pt,8))},yt.\u0275dir=i.lG2({type:yt,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(z,Ie){2&z&&(i.uIk("id",Ie.id),i.ekj("cdk-drop-list-disabled",Ie.disabled)("cdk-drop-list-dragging",Ie._dropListRef.isDragging())("cdk-drop-list-receiving",Ie._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[i._Bn([{provide:He,useValue:void 0},{provide:Zn,useExisting:yt}])]}),yt})();const ln=new i.OlP("CdkDragHandle"),bt=new i.OlP("CdkDragPlaceholder"),st=new i.OlP("CdkDragPreview");let un=(()=>{class yt{constructor(z,Ie,G,de,Ye,Dt,an,vn,zn,$i,no){this.element=z,this.dropContainer=Ie,this._ngZone=de,this._viewContainerRef=Ye,this._dir=an,this._changeDetectorRef=zn,this._selfHandle=$i,this._parentDrag=no,this._destroyed=new v.x,this.started=new i.vpe,this.released=new i.vpe,this.ended=new i.vpe,this.entered=new i.vpe,this.exited=new i.vpe,this.dropped=new i.vpe,this.moved=new oe.y(Wi=>{const Zo=this._dragRef.moved.pipe((0,ot.U)(ia=>({source:this,pointerPosition:ia.pointerPosition,event:ia.event,delta:ia.delta,distance:ia.distance}))).subscribe(Wi);return()=>{Zo.unsubscribe()}}),this._dragRef=vn.createDrag(z,{dragStartThreshold:Dt&&null!=Dt.dragStartThreshold?Dt.dragStartThreshold:5,pointerDirectionChangeThreshold:Dt&&null!=Dt.pointerDirectionChangeThreshold?Dt.pointerDirectionChangeThreshold:5,zIndex:null==Dt?void 0:Dt.zIndex}),this._dragRef.data=this,yt._dragInstances.push(this),Dt&&this._assignDefaults(Dt),Ie&&(this._dragRef._withDropContainer(Ie._dropListRef),Ie.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(z){this._disabled=(0,c.Ig)(z),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,nt.q)(1),(0,Se.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(z){const Ie=z.rootElementSelector,G=z.freeDragPosition;Ie&&!Ie.firstChange&&this._updateRootElement(),G&&!G.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const z=yt._dragInstances.indexOf(this);z>-1&&yt._dragInstances.splice(z,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var z;const Ie=this.element.nativeElement;let G=Ie;this.rootElementSelector&&(G=void 0!==Ie.closest?Ie.closest(this.rootElementSelector):null===(z=Ie.parentElement)||void 0===z?void 0:z.closest(this.rootElementSelector)),this._dragRef.withRootElement(G||Ie)}_getBoundaryElement(){const z=this.boundaryElement;return z?"string"==typeof z?this.element.nativeElement.closest(z):(0,c.fI)(z):null}_syncInputs(z){z.beforeStarted.subscribe(()=>{if(!z.isDragging()){const Ie=this._dir,G=this.dragStartDelay,de=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,Ye=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;z.disabled=this.disabled,z.lockAxis=this.lockAxis,z.dragStartDelay="object"==typeof G&&G?G:(0,c.su)(G),z.constrainPosition=this.constrainPosition,z.previewClass=this.previewClass,z.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(de).withPreviewTemplate(Ye).withPreviewContainer(this.previewContainer||"global"),Ie&&z.withDirection(Ie.value)}}),z.beforeStarted.pipe((0,nt.q)(1)).subscribe(()=>{var Ie;if(this._parentDrag)return void z.withParent(this._parentDrag._dragRef);let G=this.element.nativeElement.parentElement;for(;G;){if(G.classList.contains("cdk-drag")){z.withParent((null===(Ie=yt._dragInstances.find(de=>de.element.nativeElement===G))||void 0===Ie?void 0:Ie._dragRef)||null);break}G=G.parentElement}})}_handleEvents(z){z.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),z.released.subscribe(()=>
1{this.released.emit({source:this})}),z.ended.subscribe(Ie=>{this.ended.emit({source:this,distance:Ie.distance,dropPoint:Ie.dropPoint}),this._changeDetectorRef.markForCheck()}),z.entered.subscribe(Ie=>{this.entered.emit({container:Ie.container.data,item:this,currentIndex:Ie.currentIndex})}),z.exited.subscribe(Ie=>{this.exited.emit({container:Ie.container.data,item:this})}),z.dropped.subscribe(Ie=>{this.dropped.emit({previousIndex:Ie.previousIndex,currentIndex:Ie.currentIndex,previousContainer:Ie.previousContainer.data,container:Ie.container.data,isPointerOverContainer:Ie.isPointerOverContainer,item:this,distance:Ie.distance,dropPoint:Ie.dropPoint})})}_assignDefaults(z){const{lockAxis:Ie,dragStartDelay:G,constrainPosition:de,previewClass:Ye,boundaryElement:Dt,draggingDisabled:an,rootElementSelector:vn,previewContainer:zn}=z;this.disabled=null!=an&&an,this.dragStartDelay=G||0,Ie&&(this.lockAxis=Ie),de&&(this.constrainPosition=de),Ye&&(this.previewClass=Ye),Dt&&(this.boundaryElement=Dt),vn&&(this.rootElementSelector=vn),zn&&(this.previewContainer=zn)}_setupHandlesListener(){this._handles.changes.pipe((0,Be.O)(this._handles),(0,xt.b)(z=>{const Ie=z.filter(G=>G._parentDrag===this).map(G=>G.element);this._selfHandle&&this.rootElementSelector&&Ie.push(this.element),this._dragRef.withHandles(Ie)}),(0,At.w)(z=>(0,he.T)(...z.map(Ie=>Ie._stateChanges.pipe((0,Be.O)(Ie))))),(0,Se.R)(this._destroyed)).subscribe(z=>{const Ie=this._dragRef,G=z.element.nativeElement;z.disabled?Ie.disableHandle(G):Ie.enableHandle(G)})}}return yt._dragInstances=[],yt.\u0275fac=function(z){return new(z||yt)(i.Y36(i.SBq),i.Y36(Zn,12),i.Y36(s.K0),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(pt,8),i.Y36(Vt.Is,8),i.Y36(Vi),i.Y36(i.sBO),i.Y36(ln,10),i.Y36(gt,12))},yt.\u0275dir=i.lG2({type:yt,selectors:[["","cdkDrag",""]],contentQueries:function(z,Ie,G){if(1&z&&(i.Suo(G,st,5),i.Suo(G,bt,5),i.Suo(G,ln,5)),2&z){let de;i.iGM(de=i.CRH())&&(Ie._previewTemplate=de.first),i.iGM(de=i.CRH())&&(Ie._placeholderTemplate=de.first),i.iGM(de=i.CRH())&&(Ie._handles=de)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(z,Ie){2&z&&i.ekj("cdk-drag-disabled",Ie.disabled)("cdk-drag-dragging",Ie._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[i._Bn([{provide:gt,useExisting:yt}]),i.TTD]}),yt})(),$n=(()=>{class yt{}return yt.\u0275fac=function(z){return new(z||yt)},yt.\u0275mod=i.oAB({type:yt}),yt.\u0275inj=i.cJS({providers:[Vi],imports:[Qt.ZD]}),yt})();var Qn=m(5921);const Fi=["sourcelist"],co=["targetlist"],uo=["sourceFilter"],gi=["targetFilter"];function bo(yt,$e){if(1&yt){const z=i.EpF();i.TgZ(0,"div",18)(1,"button",19),i.NdJ("click",function(){i.CHM(z);const G=i.oxw(),de=i.MAs(6);return G.moveUp(de,G.source,G.selectedItemsSource,G.onSourceReorder,G.SOURCE_LIST)}),i.qZA(),i.TgZ(2,"button",20),i.NdJ("click",function(){i.CHM(z);const G=i.oxw(),de=i.MAs(6);return G.moveTop(de,G.source,G.selectedItemsSource,G.onSourceReorder,G.SOURCE_LIST)}),i.qZA(),i.TgZ(3,"button",21),i.NdJ("click",function(){i.CHM(z);const G=i.oxw(),de=i.MAs(6);return G.moveDown(de,G.source,G.selectedItemsSource,G.onSourceReorder,G.SOURCE_LIST)}),i.qZA(),i.TgZ(4,"button",22),i.NdJ("click",function(){i.CHM(z);const G=i.oxw(),de=i.MAs(6);return G.moveBottom(de,G.source,G.selectedItemsSource,G.onSourceReorder,G.SOURCE_LIST)}),i.qZA()()}if(2&yt){const z=i.oxw();i.xp6(1),i.Q6J("disabled",z.sourceMoveDisabled()),i.uIk("aria-label",z.upButtonAriaLabel),i.xp6(1),i.Q6J("disabled",z.sourceMoveDisabled()),i.uIk("aria-label",z.topButtonAriaLabel),i.xp6(1),i.Q6J("disabled",z.sourceMoveDisabled()),i.uIk("aria-label",z.downButtonAriaLabel),i.xp6(1),i.Q6J("disabled",z.sourceMoveDisabled()),i.uIk("aria-label",z.bottomButtonAriaLabel)}}function to(yt,$e){if(1&yt&&(i.TgZ(0,"div",26),i._uU(1),i.qZA()),2&yt){const z=i.oxw(2);i.xp6(1),i.Oqu(z.sourceHeader)}}function xo(yt,$e){1&yt&&i.GkF(0)}function Nn(yt,$e){if(1&yt&&(i.TgZ(0,"div",23),i.YNc(1,to,2,1,"div",24),i.YNc(2,xo,1,0,"ng-container",25),i.qZA()),2&yt){const z=i.oxw();i.xp6(1),i.Q6J("ngIf",!z.sourceHeaderTemplate),i.xp6(1),i.Q6J("ngTemplateOutlet",z.sourceHeaderTemplate)}}function fe(yt,$e){if(1&yt){const z=i.EpF();i.TgZ(0,"div",27)(1,"div",28)(2,"input",29,30),i.NdJ("keyup",function(G){i.CHM(z);const de=i.oxw();return de.onFilter(G,de.source,de.SOURCE_LIST)}),i.qZA(),i._UZ(4,"span",31),i.qZA()()}if(2&yt){const z=i.oxw();i.xp6(2),i.Q6J("disabled",z.disabled),i.uIk("placeholder",z.sourceFilterPlaceholder)("aria-label",z.ariaSourceFilterLabel)}}function Pe(yt,$e){1&yt&&i.GkF(0)}const ye=function(yt,$e){return{"p-picklist-item":!0,"p-highlight":yt,"p-disabled":$e}},Ee=function(yt,$e){return{$implicit:yt,index:$e}};function lt(yt,$e){if(1&yt){const z=i.EpF();
1i.TgZ(0,"li",33),i.NdJ("click",function(G){i.CHM(z);const de=i.oxw().$implicit,Ye=i.oxw();return Ye.onItemClick(G,de,Ye.selectedItemsSource,Ye.onSourceSelect)})("dblclick",function(){return i.CHM(z),i.oxw(2).onSourceItemDblClick()})("touchend",function(){return i.CHM(z),i.oxw(2).onItemTouchEnd()})("keydown",function(G){i.CHM(z);const de=i.oxw().$implicit,Ye=i.oxw();return Ye.onItemKeydown(G,de,Ye.selectedItemsSource,Ye.onSourceSelect)}),i.YNc(1,Pe,1,0,"ng-container",34),i.qZA()}if(2&yt){const z=i.oxw(),Ie=z.$implicit,G=z.index,de=i.oxw();i.Q6J("ngClass",i.WLB(6,ye,de.isSelected(Ie,de.selectedItemsSource),de.disabled))("cdkDragData",Ie)("cdkDragDisabled",!de.dragdrop),i.uIk("aria-selected",de.isSelected(Ie,de.selectedItemsSource)),i.xp6(1),i.Q6J("ngTemplateOutlet",de.itemTemplate)("ngTemplateOutletContext",i.WLB(9,Ee,Ie,G))}}function Y(yt,$e){if(1&yt&&i.YNc(0,lt,2,12,"li",32),2&yt){const z=$e.$implicit,Ie=i.oxw();i.Q6J("ngIf",Ie.isItemVisible(z,Ie.SOURCE_LIST))}}function Te(yt,$e){1&yt&&i.GkF(0)}function rt(yt,$e){if(1&yt&&(i.TgZ(0,"li",36),i.YNc(1,Te,1,0,"ng-container",25),i.qZA()),2&yt){const z=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",z.emptyMessageSourceTemplate)}}function Nt(yt,$e){1&yt&&i.GkF(0)}function Tn(yt,$e){if(1&yt&&(i.TgZ(0,"li",36),i.YNc(1,Nt,1,0,"ng-container",25),i.qZA()),2&yt){const z=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",z.emptyFilterMessageSourceTemplate)}}function Ln(yt,$e){if(1&yt&&(i.ynx(0),i.YNc(1,rt,2,1,"li",35),i.YNc(2,Tn,2,1,"li",35),i.BQk()),2&yt){const z=i.oxw();i.xp6(1),i.Q6J("ngIf",!z.filterValueSource||!z.emptyFilterMessageSourceTemplate),i.xp6(1),i.Q6J("ngIf",z.filterValueSource)}}function Si(yt,$e){if(1&yt&&(i.TgZ(0,"div",26),i._uU(1),i.qZA()),2&yt){const z=i.oxw(2);i.xp6(1),i.Oqu(z.targetHeader)}}function Ti(yt,$e){1&yt&&i.GkF(0)}function ho(yt,$e){if(1&yt&&(i.TgZ(0,"div",23),i.YNc(1,Si,2,1,"div",24),i.YNc(2,Ti,1,0,"ng-container",25),i.qZA()),2&yt){const z=i.oxw();i.xp6(1),i.Q6J("ngIf",!z.targetHeaderTemplate),i.xp6(1),i.Q6J("ngTemplateOutlet",z.targetHeaderTemplate)}}function zi(yt,$e){if(1&yt){const z=i.EpF();i.TgZ(0,"div",27)(1,"div",28)(2,"input",29,37),i.NdJ("keyup",function(G){i.CHM(z);const de=i.oxw();return de.onFilter(G,de.target,de.TARGET_LIST)}),i.qZA(),i._UZ(4,"span",31),i.qZA()()}if(2&yt){const z=i.oxw();i.xp6(2),i.Q6J("disabled",z.disabled),i.uIk("placeholder",z.targetFilterPlaceholder)("aria-label",z.ariaTargetFilterLabel)}}function Bi(yt,$e){1&yt&&i.GkF(0)}function bn(yt,$e){if(1&yt){const z=i.EpF();i.TgZ(0,"li",33),i.NdJ("click",function(G){i.CHM(z);const de=i.oxw().$implicit,Ye=i.oxw();return Ye.onItemClick(G,de,Ye.selectedItemsTarget,Ye.onTargetSelect)})("dblclick",function(){return i.CHM(z),i.oxw(2).onTargetItemDblClick()})("touchend",function(){return i.CHM(z),i.oxw(2).onItemTouchEnd()})("keydown",function(G){i.CHM(z);const de=i.oxw().$implicit,Ye=i.oxw();return Ye.onItemKeydown(G,de,Ye.selectedItemsTarget,Ye.onTargetSelect)}),i.YNc(1,Bi,1,0,"ng-container",34),i.qZA()}if(2&yt){const z=i.oxw(),Ie=z.$implicit,G=z.index,de=i.oxw();i.Q6J("ngClass",i.WLB(6,ye,de.isSelected(Ie,de.selectedItemsTarget),de.disabled))("cdkDragData",Ie)("cdkDragDisabled",!de.dragdrop),i.uIk("aria-selected",de.isSelected(Ie,de.selectedItemsTarget)),i.xp6(1),i.Q6J("ngTemplateOutlet",de.itemTemplate)("ngTemplateOutletContext",i.WLB(9,Ee,Ie,G))}}function ci(yt,$e){if(1&yt&&i.YNc(0,bn,2,12,"li",32),2&yt){const z=$e.$implicit,Ie=i.oxw();i.Q6J("ngIf",Ie.isItemVisible(z,Ie.TARGET_LIST))}}function xi(yt,$e){1&yt&&i.GkF(0)}function Ii(yt,$e){if(1&yt&&(i.TgZ(0,"li",36),i.YNc(1,xi,1,0,"ng-container",25),i.qZA()),2&yt){const z=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",z.emptyMessageTargetTemplate)}}function Bo(yt,$e){1&yt&&i.GkF(0)}function Gi(yt,$e){if(1&yt&&(i.TgZ(0,"li",36),i.YNc(1,Bo,1,0,"ng-container",25),i.qZA()),2&yt){const z=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",z.emptyFilterMessageTargetTemplate)}}function go(yt,$e){if(1&yt&&(i.ynx(0),i.YNc(1,Ii,2,1,"li",35),i.YNc(2,Gi,2,1,"li",35),i.BQk()),2&yt){const z=i.oxw();i.xp6(1),i.Q6J("ngIf",!z.filterValueTarget||!z.emptyFilterMessageTargetTemplate),i.xp6(1),i.Q6J("ngIf",z.filterValueTarget)}}function wo(yt,$e){if(1&yt){const z=i.EpF();
1i.TgZ(0,"div",38)(1,"button",19),i.NdJ("click",function(){i.CHM(z);const G=i.oxw(),de=i.MAs(18);return G.moveUp(de,G.target,G.selectedItemsTarget,G.onTargetReorder,G.TARGET_LIST)}),i.qZA(),i.TgZ(2,"button",20),i.NdJ("click",function(){i.CHM(z);const G=i.oxw(),de=i.MAs(18);return G.moveTop(de,G.target,G.selectedItemsTarget,G.onTargetReorder,G.TARGET_LIST)}),i.qZA(),i.TgZ(3,"button",21),i.NdJ("click",function(){i.CHM(z);const G=i.oxw(),de=i.MAs(18);return G.moveDown(de,G.target,G.selectedItemsTarget,G.onTargetReorder,G.TARGET_LIST)}),i.qZA(),i.TgZ(4,"button",22),i.NdJ("click",function(){i.CHM(z);const G=i.oxw(),de=i.MAs(18);return G.moveBottom(de,G.target,G.selectedItemsTarget,G.onTargetReorder,G.TARGET_LIST)}),i.qZA()()}if(2&yt){const z=i.oxw();i.xp6(1),i.Q6J("disabled",z.targetMoveDisabled()),i.uIk("aria-label",z.upButtonAriaLabel),i.xp6(1),i.Q6J("disabled",z.targetMoveDisabled()),i.uIk("aria-label",z.topButtonAriaLabel),i.xp6(1),i.Q6J("disabled",z.targetMoveDisabled()),i.uIk("aria-label",z.downButtonAriaLabel),i.xp6(1),i.Q6J("disabled",z.targetMoveDisabled()),i.uIk("aria-label",z.bottomButtonAriaLabel)}}const Ao=function(yt){return{"p-picklist p-component":!0,"p-picklist-striped":yt}};let Fo=(()=>{class yt{constructor(z,Ie,G){this.el=z,this.cd=Ie,this.filterService=G,this.trackBy=(de,Ye)=>Ye,this.showSourceFilter=!0,this.showTargetFilter=!0,this.metaKeySelection=!0,this.dragdrop=!1,this.showSourceControls=!0,this.showTargetControls=!0,this.disabled=!1,this.filterMatchMode="contains",this.breakpoint="960px",this.keepSelection=!1,this.onMoveToSource=new i.vpe,this.onMoveAllToSource=new i.vpe,this.onMoveAllToTarget=new i.vpe,this.onMoveToTarget=new i.vpe,this.onSourceReorder=new i.vpe,this.onTargetReorder=new i.vpe,this.onSourceSelect=new i.vpe,this.onTargetSelect=new i.vpe,this.onSourceFilter=new i.vpe,this.onTargetFilter=new i.vpe,this.selectedItemsSource=[],this.selectedItemsTarget=[],this.id=(0,Qn.Th)(),this.SOURCE_LIST=-1,this.TARGET_LIST=1}ngOnInit(){this.responsive&&this.createStyle()}
1ngAfterContentInit(){this.templates.forEach(z=>{switch(z.getType()){case"item":default:this.itemTemplate=z.template;break;case"sourceHeader":this.sourceHeaderTemplate=z.template;break;case"targetHeader":this.targetHeaderTemplate=z.template;break;case"emptymessagesource":this.emptyMessageSourceTemplate=z.template;break;case"emptyfiltermessagesource":this.emptyFilterMessageSourceTemplate=z.template;break;case"emptymessagetarget":this.emptyMessageTargetTemplate=z.template;break;case"emptyfiltermessagetarget":this.emptyFilterMessageTargetTemplate=z.template}})}ngAfterViewChecked(){if(this.movedUp||this.movedDown){let Ie,z=e.p.find(this.reorderedListElement,"li.p-highlight");Ie=this.movedUp?z[0]:z[z.length-1],e.p.scrollInView(this.reorderedListElement,Ie),this.movedUp=!1,this.movedDown=!1,this.reorderedListElement=null}}onItemClick(z,Ie,G,de){if(this.disabled)return;let Ye=this.findIndexInSelection(Ie,G),Dt=-1!=Ye;if(!this.itemTouched&&this.metaKeySelection){let vn=z.metaKey||z.ctrlKey||z.shiftKey;Dt&&vn?G.splice(Ye,1):(vn||(G.length=0),G.push(Ie))}else Dt?G.splice(Ye,1):G.push(Ie);de.emit({originalEvent:z,items:G}),this.itemTouched=!1}onSourceItemDblClick(){this.disabled||this.moveRight()}onTargetItemDblClick(){this.disabled||this.moveLeft()}onFilter(z,Ie,G){let de=z.target.value.trim().toLocaleLowerCase(this.filterLocale);G===this.SOURCE_LIST?this.filterValueSource=de:G===this.TARGET_LIST&&(this.filterValueTarget=de),this.filter(Ie,G)}filter(z,Ie){let G=this.filterBy.split(",");Ie===this.SOURCE_LIST?(this.visibleOptionsSource=this.filterService.filter(z,G,this.filterValueSource,this.filterMatchMode,this.filterLocale),this.onSourceFilter.emit({query:this.filterValueSource,value:this.visibleOptionsSource})):Ie===this.TARGET_LIST&&(this.visibleOptionsTarget=this.filterService.filter(z,G,this.filterValueTarget,this.filterMatchMode,this.filterLocale),this.onTargetFilter.emit({query:this.filterValueTarget,value:this.visibleOptionsTarget}))}isItemVisible(z,Ie){return Ie==this.SOURCE_LIST?this.isVisibleInList(this.visibleOptionsSource,z,this.filterValueSource):this.isVisibleInList(this.visibleOptionsTarget,z,this.filterValueTarget)}isEmpty(z){return z==this.SOURCE_LIST?this.filterValueSource?!this.visibleOptionsSource||0===this.visibleOptionsSource.length:!this.source||0===this.source.length:this.filterValueTarget?!this.visibleOptionsTarget||0===this.visibleOptionsTarget.length:!this.target||0===this.target.length}isVisibleInList(z,Ie,G){if(!G||!G.trim().length)return!0;for(let de=0;de<z.length;de++)if(Ie==z[de])return!0}onItemTouchEnd(){this.disabled||(this.itemTouched=!0)}sortByIndexInList(z,Ie){return z.sort((G,de)=>Qn.gb.findIndexInList(G,Ie)-Qn.gb.findIndexInList(de,Ie))}moveUp(z,Ie,G,de,Ye){if(G&&G.length){G=this.sortByIndexInList(G,Ie);for(let Dt=0;Dt<G.length;Dt++){let vn=Qn.gb.findIndexInList(G[Dt],Ie);if(0==vn)break;{let $i=Ie[vn-1];Ie[vn-1]=Ie[vn],Ie[vn]=$i}}this.dragdrop&&(this.filterValueSource&&Ye===this.SOURCE_LIST||this.filterValueTarget&&Ye===this.TARGET_LIST)&&this.filter(Ie,Ye),this.movedUp=!0,this.reorderedListElement=z,de.emit({items:G})}}moveTop(z,Ie,G,de,Ye){if(G&&G.length){G=this.sortByIndexInList(G,Ie);for(let Dt=0;Dt<G.length;Dt++){let vn=Qn.gb.findIndexInList(G[Dt],Ie);if(0==vn)break;{let zn=Ie.splice(vn,1)[0];Ie.unshift(zn)}}this.dragdrop&&(this.filterValueSource&&Ye===this.SOURCE_LIST||this.filterValueTarget&&Ye===this.TARGET_LIST)&&this.filter(Ie,Ye),z.scrollTop=0,de.emit({items:G})}}moveDown(z,Ie,G,de,Ye){if(G&&G.length){for(let Dt=(G=this.sortByIndexInList(G,Ie)).length-1;Dt>=0;Dt--){let vn=Qn.gb.findIndexInList(G[Dt],Ie);if(vn==Ie.length-1)break;{let $i=Ie[vn+1];Ie[vn+1]=Ie[vn],Ie[vn]=$i}}this.dragdrop&&(this.filterValueSource&&Ye===this.SOURCE_LIST||this.filterValueTarget&&Ye===this.TARGET_LIST)&&this.filter(Ie,Ye),this.movedDown=!0,this.reorderedListElement=z,de.emit({items:G})}}moveBottom(z,Ie,G,de,Ye){if(G&&G.length){for(let Dt=(G=this.sortByIndexInList(G,Ie)).length-1;Dt>=0;Dt--){let vn=Qn.gb.findIndexInList(G[Dt],Ie);if(vn==Ie.length-1)break;{let zn=Ie.splice(vn,1)[0];Ie.push(zn)}}this.dragdrop&&(this.filterValueSource&&Ye===this.SOURCE_LIST||this.filterValueTarget&&Ye===this.TARGET_LIST)&&this.filter(Ie,Ye),z.scrollTop=z.scrollHeight,de.emit({items:G})}}moveRight(){if(this.selectedItemsSource&&this.selectedItemsSource.length){for(let z=0;z<this.selectedItemsSource.length;z++){let Ie=this.selectedItemsSource[z];
1-1==Qn.gb.findIndexInList(Ie,this.target)&&(this.target.push(this.source.splice(Qn.gb.findIndexInList(Ie,this.source),1)[0]),this.visibleOptionsSource&&this.visibleOptionsSource.splice(Qn.gb.findIndexInList(Ie,this.visibleOptionsSource),1))}this.onMoveToTarget.emit({items:this.selectedItemsSource}),this.keepSelection&&(this.selectedItemsTarget=[...this.selectedItemsTarget,...this.selectedItemsSource]),this.selectedItemsSource=[],this.filterValueTarget&&this.filter(this.target,this.TARGET_LIST)}}moveAllRight(){if(this.source){let z=[];for(let Ie=0;Ie<this.source.length;Ie++)if(this.isItemVisible(this.source[Ie],this.SOURCE_LIST)){let G=this.source.splice(Ie,1)[0];this.target.push(G),z.push(G),Ie--}this.onMoveAllToTarget.emit({items:z}),this.keepSelection&&(this.selectedItemsTarget=[...this.selectedItemsTarget,...this.selectedItemsSource]),this.selectedItemsSource=[],this.filterValueTarget&&this.filter(this.target,this.TARGET_LIST),this.visibleOptionsSource=[]}}moveLeft(){if(this.selectedItemsTarget&&this.selectedItemsTarget.length){for(let z=0;z<this.selectedItemsTarget.length;z++){let Ie=this.selectedItemsTarget[z];-1==Qn.gb.findIndexInList(Ie,this.source)&&(this.source.push(this.target.splice(Qn.gb.findIndexInList(Ie,this.target),1)[0]),this.visibleOptionsTarget&&this.visibleOptionsTarget.splice(Qn.gb.findIndexInList(Ie,this.visibleOptionsTarget),1))}this.onMoveToSource.emit({items:this.selectedItemsTarget}),this.keepSelection&&(this.selectedItemsSource=[...this.selectedItemsSource,...this.selectedItemsTarget]),this.selectedItemsTarget=[],this.filterValueSource&&this.filter(this.source,this.SOURCE_LIST)}}moveAllLeft(){if(this.target){let z=[];for(let Ie=0;Ie<this.target.length;Ie++)if(this.isItemVisible(this.target[Ie],this.TARGET_LIST)){let G=this.target.splice(Ie,1)[0];this.source.push(G),z.push(G),Ie--}this.onMoveAllToSource.emit({items:z}),this.keepSelection&&(this.selectedItemsSource=[...this.selectedItemsSource,...this.selectedItemsTarget]),this.selectedItemsTarget=[],this.filterValueSource&&this.filter(this.source,this.SOURCE_LIST),this.visibleOptionsTarget=[]}}isSelected(z,Ie){return-1!=this.findIndexInSelection(z,Ie)}findIndexInSelection(z,Ie){return Qn.gb.findIndexInList(z,Ie)}onDrop(z,Ie){let G=z.previousContainer!==z.container,de=this.getDropIndexes(z.previousIndex,z.currentIndex,Ie,G,z.item.data);if(Ie===this.SOURCE_LIST){if(G){jt(z.previousContainer.data,z.container.data,de.previousIndex,de.currentIndex);let Ye=Qn.gb.findIndexInList(z.item.data,this.selectedItemsTarget);-1!=Ye&&(this.selectedItemsTarget.splice(Ye,1),this.keepSelection&&this.selectedItemsTarget.push(z.item.data)),this.visibleOptionsTarget&&this.visibleOptionsTarget.splice(z.previousIndex,1),this.onMoveToSource.emit({items:[z.item.data]})}else _t(z.container.data,de.previousIndex,de.currentIndex),this.onSourceReorder.emit({items:[z.item.data]});this.filterValueSource&&this.filter(this.source,this.SOURCE_LIST)}else{if(G){jt(z.previousContainer.data,z.container.data,de.previousIndex,de.currentIndex);let Ye=Qn.gb.findIndexInList(z.item.data,this.selectedItemsSource);-1!=Ye&&(this.selectedItemsSource.splice(Ye,1),this.keepSelection&&this.selectedItemsTarget.push(z.item.data)),this.visibleOptionsSource&&this.visibleOptionsSource.splice(z.previousIndex,1),this.onMoveToTarget.emit({items:[z.item.data]})}else _t(z.container.data,de.previousIndex,de.currentIndex),this.onTargetReorder.emit({items:[z.item.data]});this.filterValueTarget&&this.filter(this.target,this.TARGET_LIST)}}getDropIndexes(z,Ie,G,de,Ye){let Dt,an;return G===this.SOURCE_LIST?(Dt=de?this.filterValueTarget?Qn.gb.findIndexInList(Ye,this.target):z:this.filterValueSource?Qn.gb.findIndexInList(Ye,this.source):z,an=this.filterValueSource?this.findFilteredCurrentIndex(this.visibleOptionsSource,Ie,this.source):Ie):(Dt=de?this.filterValueSource?Qn.gb.findIndexInList(Ye,this.source):z:this.filterValueTarget?Qn.gb.findIndexInList(Ye,this.target):z,an=this.filterValueTarget?this.findFilteredCurrentIndex(this.visibleOptionsTarget,Ie,this.target):Ie),{previousIndex:Dt,currentIndex:an}}findFilteredCurrentIndex(z,Ie,G){return z.length===Ie?Qn.gb.findIndexInList(z[Ie-1],G)+1:Qn.gb.f
1indIndexInList(z[Ie],G)}resetFilter(){this.visibleOptionsSource=null,this.filterValueSource=null,this.visibleOptionsTarget=null,this.filterValueTarget=null,this.sourceFilterViewChild.nativeElement.value="",this.targetFilterViewChild.nativeElement.value=""}onItemKeydown(z,Ie,G,de){let Ye=z.currentTarget;switch(z.which){case 40:var Dt=this.findNextItem(Ye);Dt&&Dt.focus(),z.preventDefault();break;case 38:var an=this.findPrevItem(Ye);an&&an.focus(),z.preventDefault();break;case 13:this.onItemClick(z,Ie,G,de),z.preventDefault()}}findNextItem(z){let Ie=z.nextElementSibling;return Ie?!e.p.hasClass(Ie,"p-picklist-item")||e.p.isHidden(Ie)?this.findNextItem(Ie):Ie:null}findPrevItem(z){let Ie=z.previousElementSibling;return Ie?!e.p.hasClass(Ie,"p-picklist-item")||e.p.isHidden(Ie)?this.findPrevItem(Ie):Ie:null}createStyle(){this.styleElement||(this.el.nativeElement.children[0].setAttribute(this.id,""),this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement),this.styleElement.innerHTML=`\n            @media screen and (max-width: ${this.breakpoint}) {\n                .p-picklist[${this.id}] {\n                    flex-direction: column;\n                }\n\n                .p-picklist[${this.id}] .p-picklist-buttons {\n                    padding: var(--content-padding);\n                    flex-direction: row;\n                }\n\n                .p-picklist[${this.id}] .p-picklist-buttons .p-button {\n                    margin-right: var(--inline-spacing);\n                    margin-bottom: 0;\n                }\n\n                .p-picklist[${this.id}] .p-picklist-buttons .p-button:last-child {\n                    margin-right: 0;\n                }\n\n                .p-picklist[${this.id}] .pi-angle-right:before {\n                    content: "\\e930"\n                }\n\n                .p-picklist[${this.id}] .pi-angle-double-right:before {\n                    content: "\\e92c"\n                }\n\n                .p-picklist[${this.id}] .pi-angle-left:before {\n                    content: "\\e933"\n                }\n\n                .p-picklist[${this.id}] .pi-angle-double-left:before {\n                    content: "\\e92f"\n                }\n            }\n            `)}sourceMoveDisabled(){if(this.disabled||!this.selectedItemsSource.length)return!0}targetMoveDisabled(){if(this.disabled||!this.selectedItemsTarget.length)return!0}moveRightDisabled(){return this.disabled||Qn.gb.isEmpty(this.selectedItemsSource)}moveLeftDisabled(){return this.disabled||Qn.gb.isEmpty(this.selectedItemsTarget)}moveAllRightDisabled(){return this.disabled||Qn.gb.isEmpty(this.source)}moveAllLeftDisabled(){return this.disabled||Qn.gb.isEmpty(this.target)}destroyStyle(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}ngOnDestroy(){this.destroyStyle()}}return yt.\u0275fac=function(z){return new(z||yt)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(O.iZ))},yt.\u0275cmp=i.Xpm({type:yt,selectors:[["p-pickList"]],contentQueries:function(z,Ie,G){if(1&z&&i.Suo(G,O.jx,4),2&z){let de;i.iGM(de=i.CRH())&&(Ie.templates=de)}},viewQuery:function(z,Ie){if(1&z&&(i.Gf(Fi,5),i.Gf(co,5),i.Gf(uo,5),i.Gf(gi,5)),2&z){let G;i.iGM(G=i.CRH())&&(Ie.listViewSourceChild=G.first),i.iGM(G=i.CRH())&&(Ie.listViewTargetChild=G.first),i.iGM(G=i.CRH())&&(Ie.sourceFilterViewChild=G.first),i.iGM(G=i.CRH())&&(Ie.targetFilterViewChild=G.first)}},hostAttrs:[1,"p-element"],inputs:{source:"source",target:"target",sourceHeader:"sourceHeader",rightButtonAriaLabel:"rightButtonAriaLabel",leftButtonAriaLabel:"leftButtonAriaLabel",allRightButtonAriaLabel:"allRightButtonAriaLabel",allLeftButtonAriaLabel:"allLeftButtonAriaLabel",upButtonAriaLabel:"upButtonAriaLabel",downButtonAriaLabel:"downButtonAriaLabel",topButtonAriaLabel:"topButtonAriaLabel",bottomButtonAriaLabel:"bottomButtonAriaLabel",targetHeader:"targetHeader",responsive:"responsive",filterBy:"filterBy",filterLocale:"filterLocale",trackBy:"trackBy",sourceTrackBy:"sourceTrackBy",targetTrackBy:"targetTrackBy",showSourceFilter:"showSourceFilter",showTargetFilter:"showTargetFilter",metaKeySelection:"metaKeySelection",dragdrop:"dragdrop",style:"style",styleClass:"styleClass",sourceStyle:"sourceStyle",targetStyle:"targetStyle",showSourceControls:"showSourceControls",showTargetControls:"showTargetControls",sourceFilterPlaceholder:"sourceFilterPlaceholder",targetFilterPlaceholder:"targetFilterPlaceholder",disabled:"disabled",ariaSourceFilterLabel:"ariaSourceFilterLabel",ariaTargetFilterLabel:"ariaTargetFilterLabel",filterMatchMode:"filterMatchMode",breakpoint:"breakpoint",stripedRows:"str
1ipedRows",keepSelection:"keepSelection"},outputs:{onMoveToSource:"onMoveToSource",onMoveAllToSource:"onMoveAllToSource",onMoveAllToTarget:"onMoveAllToTarget",onMoveToTarget:"onMoveToTarget",onSourceReorder:"onSourceReorder",onTargetReorder:"onTargetReorder",onSourceSelect:"onSourceSelect",onTargetSelect:"onTargetSelect",onSourceFilter:"onSourceFilter",onTargetFilter:"onTargetFilter"},decls:22,vars:30,consts:[["cdkDropListGroup","",3,"ngStyle","ngClass"],["class","p-picklist-buttons p-picklist-source-controls",4,"ngIf"],[1,"p-picklist-list-wrapper","p-picklist-source-wrapper"],["class","p-picklist-header",4,"ngIf"],["class","p-picklist-filter-container",4,"ngIf"],["cdkDropList","","role","listbox","aria-multiselectable","multiple",1,"p-picklist-list","p-picklist-source",3,"cdkDropListData","ngStyle","cdkDropListDropped"],["sourcelist",""],["ngFor","",3,"ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"p-picklist-buttons","p-picklist-transfer-buttons"],["type","button","pButton","","pRipple","","icon","pi pi-angle-right",3,"disabled","click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-double-right",3,"disabled","click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-left",3,"disabled","click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-double-left",3,"disabled","click"],[1,"p-picklist-list-wrapper","p-picklist-target-wrapper"],["cdkDropList","","role","listbox","aria-multiselectable","multiple",1,"p-picklist-list","p-picklist-target",3,"cdkDropListData","ngStyle","cdkDropListDropped"],["targetlist",""],["class","p-picklist-buttons p-picklist-target-controls",4,"ngIf"],[1,"p-picklist-buttons","p-picklist-source-controls"],["type","button","pButton","","pRipple","","icon","pi pi-angle-up",3,"disabled","click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-double-up",3,"disabled","click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-down",3,"disabled","click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-double-down",3,"disabled","click"],[1,"p-picklist-header"],["class","p-picklist-title",4,"ngIf"],[4,"ngTemplateOutlet"],[1,"p-picklist-title"],[1,"p-picklist-filter-container"],[1,"p-picklist-filter"],["type","text","role","textbox",1,"p-picklist-filter-input","p-inputtext","p-component",3,"disabled","keyup"],["sourceFilter",""],[1,"p-picklist-filter-icon","pi","pi-search"],["pRipple","","cdkDrag","","tabindex","0","role","option",3,"ngClass","cdkDragData","cdkDragDisabled","click","dblclick","touchend","keydown",4,"ngIf"],["pRipple","","cdkDrag","","tabindex","0","role","option",3,"ngClass","cdkDragData","cdkDragDisabled","click","dblclick","touchend","keydown"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-picklist-empty-message",4,"ngIf"],[1,"p-picklist-empty-message"],["targetFilter",""],[1,"p-picklist-buttons","p-picklist-target-controls"]],template:function(z,Ie){1&z&&(i.TgZ(0,"div",0),i.YNc(1,bo,5,8,"div",1),i.TgZ(2,"div",2),i.YNc(3,Nn,3,2,"div",3),i.YNc(4,fe,5,3,"div",4),i.TgZ(5,"ul",5,6),i.NdJ("cdkDropListDropped",function(de){return Ie.onDrop(de,Ie.SOURCE_LIST)}),i.YNc(7,Y,1,1,"ng-template",7),i.YNc(8,Ln,3,2,"ng-container",8),i.qZA()(),i.TgZ(9,"div",9)(10,"button",10),i.NdJ("click",function(){return Ie.moveRight()}),i.qZA(),i.TgZ(11,"button",11),i.NdJ("click",function(){return Ie.moveAllRight()}),i.qZA(),i.TgZ(12,"button",12),i.NdJ("click",function(){return Ie.moveLeft()}),i.qZA(),i.TgZ(13,"button",13),i.NdJ("click",function(){return Ie.moveAllLeft()}),i.qZA()(),i.TgZ(14,"div",14),i.YNc(15,ho,3,2,"div",3),i.YNc(16,zi,5,3,"div",4),i.TgZ(17,"ul",15,16),i.NdJ("cdkDropListDropped",function(de){return Ie.onDrop(de,Ie.TARGET_LIST)}),i.YNc(19,ci,1,1,"ng-template",7),i.YNc(20,go,3,2,"ng-container",8),i.qZA()(),i.YNc(21,wo,5,8,"div",17),i.qZA()),2&z&&(i.Tol(Ie.styleClass),i.Q6J("ngStyle",Ie.style)("ngClass",i.VKq(28,Ao,Ie.stripedRows)),i.xp6(1),i.Q6J("ngIf",Ie.showSourceControls),i.xp6(2),i.Q6J("ngIf",Ie.sourceHeader||Ie.sourceHeaderTemplate),i.xp6(1),i.Q6J("ngIf",Ie.filterBy&&!1!==Ie.showSourceFilter),i.xp6(1),i.Q6J("cdkDropListData",Ie.source)("ngStyle",Ie.sourceStyle),i.xp6(2),i.Q6J("ngForOf",Ie.source)("ngForTrackBy",Ie.sourceTrackBy||Ie.trackBy),i.xp6(1),i.Q6J("ngIf",Ie.isEmpty(Ie.SOURCE_LIST)&&(Ie.emptyMessageSourceTemplate||Ie.emptyFilterMessageSourceTemplate)),i.xp6(2),i.Q6J("disabled",Ie.moveRightDisabled()),i.uIk("aria-label",Ie.rightButtonAriaLabel),i.xp6(1),i.Q6J("disabled",Ie.moveAllRightDisabled()),i.uIk("aria-label",Ie.allRightButtonAriaLabel),i.xp6(1),i.Q6J("disabled",Ie.moveLeftDisabled()),i.uIk("aria-label",Ie.leftButtonAriaLabel),i.xp6(1),i.Q6J("disabled",Ie.moveAllLeftDisabled()),i.uIk("aria-label",Ie.allLeftButtonAriaLabel),i.xp6(2),i.Q6J("ngIf",Ie.targetHeader||Ie.targetHeaderTemplate),i.xp6(1),i.Q6J("ngIf",Ie.filterBy&&!1!==Ie.showTargetFilter),i.xp6(1),i.Q6J("cdkDropListData",Ie.target)("ngStyle",Ie.targetStyle),i.xp6(2),i.Q6J("ngForOf",Ie.target)("ngForTrackBy",Ie.targetTrackBy||Ie.trackBy),i.xp6(1),i.Q6J("ngIf",Ie.isEmpty(Ie.TARGET_LIST)&&(Ie.emptyMessageTargetTemplate||Ie.emptyFilterMessageTargetTemplate)),i.xp6(1),i.Q6J("ngIf",Ie.showTargetControls))},directives:[Oe,s.PC,s.mk,s.O5,w,l.H,s.tP,ni,s.sg,un],styles:[".p-picklist{display:flex}.p-picklist-buttons{display:flex;flex-direction:column;justify-content:center}.p-picklist-list-wrapper{flex:1 1 50%}.p-picklist-list{list-style-type:none;margin:0;padding:0;overflow:auto;min-height:12rem}.p-picklist-item{display:block;cursor:pointer;overflow:hidden;position:relative}.p-picklist-item:not(.cdk-drag-disabled){cursor:move}.p-picklist-item.cdk-drag-placeholder{opacity:0}
1.p-picklist-item.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.p-picklist-filter{position:relative}.p-picklist-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-picklist-filter-input{width:100%}.p-picklist-list.cdk-drop-list-dragging .p-picklist-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"],encapsulation:2,changeDetection:0}),yt})(),ua=(()=>{class yt{}return yt.\u0275fac=function(z){return new(z||yt)},yt.\u0275mod=i.oAB({type:yt}),yt.\u0275inj=i.cJS({imports:[[s.ez,h,O.m8,l.T,$n],O.m8,$n]}),yt})()},5787:(Yt,Ze,m)=>{"use strict";m.d(Ze,{H:()=>d,T:()=>A});var i=m(5e3),s=m(60),e=m(5730),l=m(9783);let d=(()=>{class C{constructor(S,R,q){this.el=S,this.zone=R,this.config=q}ngAfterViewInit(){this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.onMouseDown.bind(this),this.el.nativeElement.addEventListener("mousedown",this.mouseDownListener)})}onMouseDown(S){let R=this.getInk();if(!R||"none"===getComputedStyle(R,null).display)return;if(e.p.removeClass(R,"p-ink-active"),!e.p.getHeight(R)&&!e.p.getWidth(R)){let h=Math.max(e.p.getOuterWidth(this.el.nativeElement),e.p.getOuterHeight(this.el.nativeElement));R.style.height=h+"px",R.style.width=h+"px"}let q=e.p.getOffset(this.el.nativeElement),w=S.pageX-q.left+document.body.scrollTop-e.p.getWidth(R)/2,k=S.pageY-q.top+document.body.scrollLeft-e.p.getHeight(R)/2;R.style.top=k+"px",R.style.left=w+"px",e.p.addClass(R,"p-ink-active")}getInk(){for(let S=0;S<this.el.nativeElement.children.length;S++)if(-1!==this.el.nativeElement.children[S].className.indexOf("p-ink"))return this.el.nativeElement.children[S];return null}resetInk(){let S=this.getInk();S&&e.p.removeClass(S,"p-ink-active")}onAnimationEnd(S){e.p.removeClass(S.currentTarget,"p-ink-active")}create(){let S=document.createElement("span");S.className="p-ink",this.el.nativeElement.appendChild(S),this.animationListener=this.onAnimationEnd.bind(this),S.addEventListener("animationend",this.animationListener)}remove(){let S=this.getInk();S&&(this.el.nativeElement.removeEventListener("mousedown",this.mouseDownListener),S.removeEventListener("animationend",this.animationListener),e.p.removeElement(S))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}}return C.\u0275fac=function(S){return new(S||C)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(l.b4,8))},C.\u0275dir=i.lG2({type:C,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"]}),C})(),A=(()=>{class C{}return C.\u0275fac=function(S){return new(S||C)},C.\u0275mod=i.oAB({type:C}),C.\u0275inj=i.cJS({imports:[[s.ez]]}),C})()},5921:(Yt,Ze,m)=>{"use strict";m.d(Ze,{P9:()=>d,Th:()=>e,gb:()=>i});class i{static equals(C,T,S){return S?this.resolveFieldData(C,S)===this.resolveFieldData(T,S):this.equalsByValue(C,T)}static equalsByValue(C,T){if(C===T)return!0;if(C&&T&&"object"==typeof C&&"object"==typeof T){var q,w,k,S=Array.isArray(C),R=Array.isArray(T);if(S&&R){if((w=C.length)!=T.length)return!1;for(q=w;0!=q--;)if(!this.equalsByValue(C[q],T[q]))return!1;return!0}if(S!=R)return!1;var h=C instanceof Date,O=T instanceof Date;if(h!=O)return!1;if(h&&O)return C.getTime()==T.getTime();var E=C instanceof RegExp,c=T instanceof RegExp;if(E!=c)return!1;if(E&&c)return C.toString()==T.toString();var Z=Object.keys(C);if((w=Z.length)!==Object.keys(T).length)return!1;for(q=w;0!=q--;)if(!Object.prototype.hasOwnProperty.call(T,Z[q]))return!1;for(q=w;0!=q--;)if(!this.equalsByValue(C[k=Z[q]],T[k]))return!1;return!0}return C!=C&&T!=T}static resolveFieldData(C,T){if(C&&T){if(this.isFunction(T))return T(C);if(-1==T.indexOf("."))return C[T];{let S=T.split("."),R=C;for(let q=0,w=S.length;q<w;++q){if(null==R)return null;R=R[S[q]]}return R}}return null}static isFunction(C){return!!(C&&C.constructor&&C.call&&C.apply)}static reorderArray(C,T,S){C&&T!==S&&(S>=C.length&&(S%=C.length,T%=C.length),C.splice(S,0,C.splice(T,1)[0]))}static insertIntoOrderedArray(C,T,S,R){if(S.length>0){let q=!1;for(let w=0;w<S.length;w++)if(this.findIndexInList(S[w],R)>T){S.splice(w,0,C),q=!0;break}q||S.push(C)}else S.push(C)}static findIndexInList(C,T){let S=-1;if(T)for(let R=0;R<T.length;R++)if(T[R]==C){S=R;break}return S}static contains(C,T){if(null!=C&&T&&T.length)for(let S of T)if(this.equals(C,S))return!0;return!1}static removeAccents(C){return C&&C.search(/[\xC0-\xFF]/g)>-1&&(C=C.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\x
1F6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),C}static isEmpty(C){return null==C||""===C||Array.isArray(C)&&0===C.length||!(C instanceof Date)&&"object"==typeof C&&0===Object.keys(C).length}static isNotEmpty(C){return!this.isEmpty(C)}}var s=0;function e(){return"pr_id_"+ ++s}var d=function l(){let A=[];const R=q=>q&&parseInt(q.style.zIndex,10)||0;return{get:R,set:(q,w,k)=>{w&&(w.style.zIndex=String(((q,w)=>{let k=A.length>0?A[A.length-1]:{key:q,value:w},h=k.value+(k.key===q?0:w)+1;return A.push({key:q,value:h}),h})(q,k)))},clear:q=>{q&&((q=>{A=A.filter(w=>w.value!==q)})(R(q)),q.style.zIndex="")},getCurrent:()=>A.length>0?A[A.length-1].value:0}}()},5861:(Yt,Ze,m)=>{"use strict";function i(e,l,d,A,C,T,S){try{var R=e[T](S),q=R.value}catch(w){return void d(w)}R.done?l(q):Promise.resolve(q).then(A,C)}function s(e){return function(){var l=this,d=arguments;return new Promise(function(A,C){var T=e.apply(l,d);function S(q){i(T,A,C,S,R,"next",q)}function R(q){i(T,A,C,S,R,"throw",q)}S(void 0)})}}m.d(Ze,{Z:()=>s})}},Yt=>{Yt(Yt.s=342)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.