"use strict";
(self["webpackChunktguia_iv_admin"] = self["webpackChunktguia_iv_admin"] || []).push([["main"],{

/***/ 9232:
/*!********************************************!*\
  !*** ./src/app/acceso/acceso.component.ts ***!
  \********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AccesoComponent: () => (/* binding */ AccesoComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _inicio_sesion_inicio_sesion_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./inicio-sesion/inicio-sesion.component */ 4579);
/* harmony import */ var _verificacion_codigo_verificacion_codigo_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./verificacion-codigo/verificacion-codigo.component */ 7373);





function AccesoComponent_app_inicio_sesion_0_Template(rf, ctx) {
  if (rf & 1) {
    const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "app-inicio-sesion", 2);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("idUsuario", function AccesoComponent_app_inicio_sesion_0_Template_app_inicio_sesion_idUsuario_0_listener($event) {
      _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r3);
      const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r2.gestionarIdUsuario($event));
    })("dobleFactor", function AccesoComponent_app_inicio_sesion_0_Template_app_inicio_sesion_dobleFactor_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r3);
      const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r4.activarDobleFactorAutenticacion());
    })("areaTrabajo", function AccesoComponent_app_inicio_sesion_0_Template_app_inicio_sesion_areaTrabajo_0_listener($event) {
      _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r3);
      const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r5.gestionarUsuarioValidado($event));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
  }
}
function AccesoComponent_app_verificacion_codigo_1_Template(rf, ctx) {
  if (rf & 1) {
    const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "app-verificacion-codigo", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("verificado", function AccesoComponent_app_verificacion_codigo_1_Template_app_verificacion_codigo_verificado_0_listener($event) {
      _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r7);
      const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r6.gestionarUsuarioValidado($event));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("idUsuario", ctx_r1.idUsuario);
  }
}
class AccesoComponent {
  constructor() {
    this.avanzar = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
    this.autenticacion = true;
    this.dobleFactorAutenticacion = false;
  }
  gestionarIdUsuario(id) {
    this.idUsuario = id;
  }
  activarAutenticacion() {
    this.autenticacion = true;
    this.dobleFactorAutenticacion = false;
  }
  activarDobleFactorAutenticacion() {
    this.autenticacion = false;
    this.dobleFactorAutenticacion = true;
  }
  gestionarUsuarioValidado(rol) {
    this.avanzar.emit(rol);
  }
  static #_ = this.ɵfac = function AccesoComponent_Factory(t) {
    return new (t || AccesoComponent)();
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
    type: AccesoComponent,
    selectors: [["app-acceso"]],
    outputs: {
      avanzar: "avanzar"
    },
    decls: 2,
    vars: 2,
    consts: [["class", "appear-effect-fast", 3, "idUsuario", "dobleFactor", "areaTrabajo", 4, "ngIf"], ["class", "appear-effect-fast", 3, "idUsuario", "verificado", 4, "ngIf"], [1, "appear-effect-fast", 3, "idUsuario", "dobleFactor", "areaTrabajo"], [1, "appear-effect-fast", 3, "idUsuario", "verificado"]],
    template: function AccesoComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, AccesoComponent_app_inicio_sesion_0_Template, 1, 0, "app-inicio-sesion", 0)(1, AccesoComponent_app_verificacion_codigo_1_Template, 1, 1, "app-verificacion-codigo", 1);
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.autenticacion);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.dobleFactorAutenticacion);
      }
    },
    dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgIf, _inicio_sesion_inicio_sesion_component__WEBPACK_IMPORTED_MODULE_0__.InicioSesionComponent, _verificacion_codigo_verificacion_codigo_component__WEBPACK_IMPORTED_MODULE_1__.VerificacionCodigoComponent],
    styles: ["/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */"]
  });
}

/***/ }),

/***/ 535:
/*!*****************************************!*\
  !*** ./src/app/acceso/acceso.module.ts ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AccesoModule: () => (/* binding */ AccesoModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 8849);
/* harmony import */ var _acceso_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./acceso.component */ 9232);
/* harmony import */ var _inicio_sesion_inicio_sesion_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./inicio-sesion/inicio-sesion.component */ 4579);
/* harmony import */ var _verificacion_codigo_verificacion_codigo_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./verificacion-codigo/verificacion-codigo.component */ 7373);
/* harmony import */ var _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/error-conexion/error-conexion.module */ 145);
/* harmony import */ var _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/pantalla-espera/pantalla-espera.module */ 5863);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 1699);








class AccesoModule {
  static #_ = this.ɵfac = function AccesoModule_Factory(t) {
    return new (t || AccesoModule)();
  };
  static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineNgModule"]({
    type: AccesoModule
  });
  static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjector"]({
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.ReactiveFormsModule, _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_4__.PantallaEsperaModule, _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__.ErrorConexionModule]
  });
}
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵsetNgModuleScope"](AccesoModule, {
    declarations: [_acceso_component__WEBPACK_IMPORTED_MODULE_0__.AccesoComponent, _inicio_sesion_inicio_sesion_component__WEBPACK_IMPORTED_MODULE_1__.InicioSesionComponent, _verificacion_codigo_verificacion_codigo_component__WEBPACK_IMPORTED_MODULE_2__.VerificacionCodigoComponent],
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.ReactiveFormsModule, _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_4__.PantallaEsperaModule, _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__.ErrorConexionModule],
    exports: [_acceso_component__WEBPACK_IMPORTED_MODULE_0__.AccesoComponent]
  });
})();

/***/ }),

/***/ 4579:
/*!*****************************************************************!*\
  !*** ./src/app/acceso/inicio-sesion/inicio-sesion.component.ts ***!
  \*****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   InicioSesionComponent: () => (/* binding */ InicioSesionComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 8849);
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/environments/environment */ 553);
/* harmony import */ var _smakss_random_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @smakss/random-string */ 322);
/* harmony import */ var src_app_util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/pantalla-espera/pantalla-espera.component */ 4976);
/* harmony import */ var src_app_services_acceso_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/acceso.service */ 9130);
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/snack-bar */ 9409);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 6575);











function InicioSesionComponent_ng_container_6_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](1, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](2, "label", 43);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](3, "AMBIENTE DE PRUEBAS");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"]();
  }
}
function InicioSesionComponent_i_19_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "i", 44);
  }
}
function InicioSesionComponent_i_20_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "i", 45);
  }
}
const _c0 = a0 => ({
  "d-none": a0
});
class InicioSesionComponent {
  constructor(accesoService, snackBar) {
    this.accesoService = accesoService;
    this.snackBar = snackBar;
    this.idUsuario = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter();
    // Abrir la interfaz de doble factor de autenticacion
    this.dobleFactor = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter();
    // Abrir la interfaz del aplicativo
    this.areaTrabajo = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter();
    this.esProduccion = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.production;
    this.version = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.version;
    this.captcha = '';
    this.tipoContrasena = 'password';
    this.formulario = new _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormGroup({
      correo: new _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormControl(null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.email]),
      contrasena: new _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required),
      captcha: new _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required)
    });
    this.formularioRec = new _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormGroup({
      correoRecuperacion: new _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormControl(null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.email]),
      captcha2: new _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.Validators.required)
    });
    // Captcha
    this.mostrarCaptcha = false;
    this.captchaInterval = undefined;
    this.contadorInterval = undefined;
    this.contadorCaptcha = 59;
  }
  ngOnDestroy() {
    if (this.captchaInterval !== undefined || this.contadorInterval !== undefined) {
      clearInterval(this.captchaInterval);
      this.captchaInterval = undefined;
      clearInterval(this.contadorInterval);
      this.contadorInterval = undefined;
    }
  }
  get f() {
    return this.formulario.controls;
  }
  get fr() {
    return this.formularioRec.controls;
  }
  validarCredenciales() {
    setTimeout(() => this.pantallaEspera?.activarModoEspera());
    const contrasena = this.f['contrasena'].value;
    this.f['contrasena'].setValue(null);
    this.accesoService.autenticarUsuario(this.f['correo'].value.trim(), contrasena).subscribe({
      next: resp => {
        if (resp['estado']) {
          this.idUsuario.emit(resp['id']);
          setTimeout(() => {
            this.pantallaEspera?.desactivarModoEspera();
            this.dobleFactor.emit();
          });
        } else {
          this.gestionarMostrarCredenciales();
          setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
          this.snackBar.open(resp.error, 'Cerrar', {
            duration: 5000
          });
        }
      },
      error: e => {
        this.f['contrasena'].setValue('');
        this.gestionarMostrarCredenciales();
        this.gestionarCancelacionCaptcha();
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
        this.snackBar.open('No se pudo contactar con el servidor de autenticación', 'Cerrar', {
          duration: 5000
        });
      }
    });
  }
  recuperarContrasena() {
    setTimeout(() => this.pantallaEspera?.activarModoEspera());
    this.accesoService.enviarRecuperacionContrasena(this.fr['correoRecuperacion'].value).subscribe({
      next: () => {
        this.formularioRec.reset();
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
        this.snackBar.open('El correo de recuperación fue enviado. Por favor verifique su buzón enunos segundos.', 'Cerrar', {
          duration: 5000
        });
      },
      error: e => {
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
        this.snackBar.open('No se pudo enviar el correo de recuperación de la contraseña', 'Cerrar', {
          duration: 5000
        });
      }
    });
  }
  gestionarCaptchaUsuario() {
    if (this.f['captcha'].value !== null && +this.f['captcha'].value.length === 7) {
      setTimeout(() => {
        document.getElementById('loginBtn')?.focus();
      });
    }
  }
  gestionarMostrarCredenciales() {
    this.mostrarCaptcha = false;
    this.gestionarCancelacionCaptcha();
  }
  gestionarMostrarCaptcha() {
    this.mostrarCaptcha = true;
    this.gestionarActivacionCaptcha();
  }
  refrescarCaptcha() {
    this.captcha = (0,_smakss_random_string__WEBPACK_IMPORTED_MODULE_1__["default"])({
      length: 7,
      allowedCharacters: 'Xa8Tbc6DdeGfgHhj5knpAqr7stu2vNPwxyQzBCE34FJiL9MRSoUVWYZmK'
    });
    this.f['captcha'].setValue('');
    this.fr['captcha2'].setValue('');
    this.contadorCaptcha = 59;
  }
  gestionarActivacionCaptcha() {
    if (this.captchaInterval !== undefined || this.contadorInterval !== undefined) {
      clearInterval(this.captchaInterval);
      this.captchaInterval = undefined;
      clearInterval(this.contadorInterval);
      this.contadorInterval = undefined;
    }
    this.refrescarCaptcha();
    this.generarCaptcha();
    this.captchaInterval = setInterval(() => {
      this.refrescarCaptcha();
      this.generarCaptcha();
    }, 45000);
    this.contadorInterval = setInterval(() => {
      this.gestionarContadorCaptcha();
    }, 1000);
  }
  gestionarCancelacionCaptcha() {
    if (this.captchaInterval !== undefined || this.contadorInterval !== undefined) {
      clearInterval(this.captchaInterval);
      this.captchaInterval = undefined;
      clearInterval(this.contadorInterval);
      this.contadorInterval = undefined;
    }
  }
  generarCaptcha() {
    setTimeout(() => {
      var canvas = document.getElementById("captcha");
      var ctx = canvas.getContext("2d");
      ctx.clearRect(0, 0, canvas.width, canvas.height);
      ctx.font = "33px consolas";
      ctx.fillText(this.captcha, 35, 35);
      var canvas2 = document.getElementById("captcha2");
      var ctx2 = canvas2.getContext("2d");
      ctx2.clearRect(0, 0, canvas.width, canvas.height);
      ctx2.font = "33px consolas";
      ctx2.fillText(this.captcha, 35, 35);
    });
  }
  gestionarContadorCaptcha() {
    if (this.contadorCaptcha >= 1) {
      this.contadorCaptcha--;
    } else {
      this.contadorCaptcha = 59;
    }
  }
  cambiarTipoCampoContrasena() {
    if (this.tipoContrasena === 'password') {
      this.tipoContrasena = 'text';
    } else {
      this.tipoContrasena = 'password';
    }
  }
  static #_ = this.ɵfac = function InicioSesionComponent_Factory(t) {
    return new (t || InicioSesionComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](src_app_services_acceso_service__WEBPACK_IMPORTED_MODULE_3__.AccesoService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__.MatSnackBar));
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({
    type: InicioSesionComponent,
    selectors: [["app-inicio-sesion"]],
    viewQuery: function InicioSesionComponent_Query(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵviewQuery"](src_app_util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaComponent, 5);
      }
      if (rf & 2) {
        let _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵloadQuery"]()) && (ctx.pantallaEspera = _t.first);
      }
    },
    outputs: {
      idUsuario: "idUsuario",
      dobleFactor: "dobleFactor",
      areaTrabajo: "areaTrabajo"
    },
    decls: 83,
    vars: 25,
    consts: [[1, "externo", "p-4", "bg-light"], [1, "m-2", "text-center"], [1, "mt-1", "fw-bold", "fs-12"], ["width", "300", "src", "/assets/logos/logo_verifica.svg"], [4, "ngIf"], [3, "formGroup"], [1, "appear-effect", 3, "ngClass"], ["formControlName", "correo", "type", "text", "placeholder", "Correo electr\u00F3nico", 1, "form-control", "form-control-sm", "text-center", "classic-center", "shadow-sm", 2, "max-width", "300px"], [1, "input-group", "mb-3", "classic-center", "shadow-sm", 2, "max-width", "300px"], ["formControlName", "contrasena", "autocomplete", "on", "placeholder", "Contrase\u00F1a", 1, "form-control", "form-control-sm", "text-center", 3, "type"], ["id", "basic-addon1", 1, "input-group-text", "hand-cursor", "bg-tguia-1", "text-light", 3, "click"], ["class", "fa-solid fa-eye", 4, "ngIf"], ["class", "fa-solid fa-eye-slash", 4, "ngIf"], ["type", "button", 1, "btn", "bg-tguia-2", "w-100", "shadow", "text-light", 2, "max-width", "300px", 3, "disabled", "click"], [1, "fa-solid", "fa-arrow-right"], ["data-bs-toggle", "modal", "data-bs-target", "#exampleModal", 1, "fs-14", "w-100", "text-center", "mt-4", "hand-cursor", "fw-bold", 3, "click"], [1, "fa-solid", "fa-key", "me-2"], ["id", "captcha", "width", "200", "height", "50", 1, "captcha"], ["matInput", "", "formControlName", "captcha", "placeholder", "Texto de la imagen", "maxlength", "7", "type", "text", "autocomplete", "off", 1, "text-center", "form-control", "fs-12", "classic-center", "mt-2", 2, "max-width", "300px", 3, "input"], [1, "glacial-indiferent-font", "font-weight-bold", "fs-12", "mt-1"], ["type", "button", "id", "loginBtn", 1, "btn", "bg-tguia-2", "w-100", "shadow", "mt-2", "text-light", 2, "max-width", "300px", 3, "disabled", "click"], [1, "fa-solid", "fa-key"], ["id", "exampleModal", "tabindex", "-1", "aria-labelledby", "exampleModalLabel", "aria-hidden", "true", "data-bs-backdrop", "static", "data-bs-keyboard", "false", 1, "modal", "fade"], [1, "modal-dialog", "modal-dialog-centered"], [1, "modal-content", "shadow"], [1, "modal-header", "bg-tguia-1", "text-light"], ["id", "exampleModalLabel", 1, "monserrat-font", "fs-16"], [1, "fa-solid", "fa-user-lock"], ["type", "button", "data-bs-dismiss", "modal", "aria-label", "Close", 1, "btn-close", "text-light", 3, "click"], [1, "modal-body"], [1, "row"], [1, "text-center"], ["formControlName", "correoRecuperacion", "type", "email", "autocomplete", "off", "placeholder", "Correo electr\u00F3nico", 1, "form-control", "text-center"], ["id", "captcha2", "width", "200", "height", "70", 1, "captcha"], ["formControlName", "captcha2", "type", "text", "autocomplete", "off", "placeholder", "Texto de la imagen", 1, "form-control", "text-center"], [1, "mt-2"], [1, "glacial-indiferent-font", "font-weight-bold", "fs-12"], [1, "modal-footer"], [1, "row", "w-100"], [1, "col-12", "text-center"], ["type", "button", "data-bs-dismiss", "modal", 1, "btn", "bg-tguia-1", "text-light", "m-2", 3, "disabled", "click"], ["type", "button", "data-bs-dismiss", "modal", 1, "btn", "btn-secondary", "m-2", 3, "click"], [3, "identificador"], [1, "mt-1", "fw-bold", "fs-18", "text-tguia-1"], [1, "fa-solid", "fa-eye"], [1, "fa-solid", "fa-eye-slash"]],
    template: function InicioSesionComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "label", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](3, "M\u00F3dulo de administraci\u00F3n");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](4, "br")(5, "img", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](6, InicioSesionComponent_ng_container_6_Template, 4, 0, "ng-container", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](7, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](8, "label", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](9);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](10, "br")(11, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](12, "form", 5)(13, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](14, "input", 7)(15, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](16, "div", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](17, "input", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](18, "span", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function InicioSesionComponent_Template_span_click_18_listener() {
          return ctx.cambiarTipoCampoContrasena();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](19, InicioSesionComponent_i_19_Template, 1, 0, "i", 11)(20, InicioSesionComponent_i_20_Template, 1, 0, "i", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](21, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](22, "button", 13);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function InicioSesionComponent_Template_button_click_22_listener() {
          return ctx.gestionarMostrarCaptcha();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](23, "i", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](24, "\u00A0\u00A0Siguiente ");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](25, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](26, "label", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function InicioSesionComponent_Template_label_click_26_listener() {
          return ctx.gestionarActivacionCaptcha();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](27, "i", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](28, "Olvid\u00E9 mi contrase\u00F1a ");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](29, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](30, "canvas", 17)(31, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](32, "input", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function InicioSesionComponent_Template_input_input_32_listener() {
          return ctx.gestionarCaptchaUsuario();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](33, "label", 19);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](34);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpipe"](35, "number");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](36, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](37, "button", 20);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function InicioSesionComponent_Template_button_click_37_listener() {
          return ctx.validarCredenciales();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](38, "i", 21);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](39, "\u00A0\u00A0Iniciar sesi\u00F3n ");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()()();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](40, "br")(41, "br")(42, "br")(43, "br")(44, "br")(45, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](46, "form", 5)(47, "div", 22)(48, "div", 23)(49, "div", 24)(50, "div", 25)(51, "label", 26);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](52, "i", 27);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](53, "\u00A0\u00A0Recuperar contrase\u00F1a ");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](54, "button", 28);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function InicioSesionComponent_Template_button_click_54_listener() {
          return ctx.gestionarCancelacionCaptcha();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](55, "div", 29)(56, "div", 30)(57, "div", 31)(58, "label");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](59, "Correo electr\u00F3nico");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](60, "br")(61, "input", 32)(62, "br")(63, "br")(64, "canvas", 33)(65, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](66, "label");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](67, "Texto de la imagen");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](68, "br")(69, "input", 34);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](70, "div", 35)(71, "span", 36);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](72);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpipe"](73, "number");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()()()()();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](74, "div", 37)(75, "div", 38)(76, "div", 39)(77, "button", 40);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function InicioSesionComponent_Template_button_click_77_listener() {
          return ctx.recuperarContrasena();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](78, "i", 21);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](79, "\u00A0Recuperar contrase\u00F1a ");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](80, "button", 41);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function InicioSesionComponent_Template_button_click_80_listener() {
          return ctx.gestionarCancelacionCaptcha();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](81, "Cerrar");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()()()()()()()();
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](82, "app-pantalla-espera", 42);
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](6);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx.esProduccion);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"]("Versi\u00F3n ", ctx.version, "");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("formGroup", ctx.formulario);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpureFunction1"](21, _c0, ctx.mostrarCaptcha));
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("type", ctx.tipoContrasena);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx.tipoContrasena === "password");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx.tipoContrasena === "text");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("disabled", ctx.f["correo"].invalid || ctx.f["contrasena"].invalid);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](7);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpureFunction1"](23, _c0, !ctx.mostrarCaptcha));
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"]("00:", _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpipeBind2"](35, 15, ctx.contadorCaptcha, "2.0-0"), "");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](3);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("disabled", ctx.f["captcha"].invalid || ctx.f["captcha"].value.length < 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](9);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("formGroup", ctx.formularioRec);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](26);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"]("00:", _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpipeBind2"](73, 18, ctx.contadorCaptcha, "2.0-0"), "");
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("disabled", ctx.formularioRec.invalid || ctx.captcha != ctx.fr["captcha2"].value);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](5);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("identificador", "pe_1_inicio_sesion");
      }
    },
    dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.MaxLengthValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormControlName, src_app_util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaComponent, _angular_common__WEBPACK_IMPORTED_MODULE_7__.DecimalPipe],
    styles: [".externo[_ngcontent-%COMP%] {\n    align-items: center;\n    display: flex;\n    justify-content: center;\n    height: 100vh;\n    width: 100%;\n}\n\n.extra-rounded[_ngcontent-%COMP%] {\n    border-radius: 15px;\n}\n\n.captcha[_ngcontent-%COMP%] {\n    filter: blur(1.3px);\n    -webkit-filter: blur(1.3px);\n    animation: _ngcontent-%COMP%_captcha-anim ease 8s infinite;\n    z-index: 1 !important;\n}\n\n@keyframes _ngcontent-%COMP%_captcha-anim {\n    0% {\n        transform: scale(1.3, 1) rotate(0deg);\n        filter: blur(1.3px);\n        -webkit-filter: blur(1.3px);\n    }\n    25% {\n        transform: rotate(2deg);\n        filter: blur(2px);\n        -webkit-filter: blur(2px);\n    }\n    50% {\n        transform: scale(1.2, 1) rotate(0deg);\n        filter: blur(1.3px);\n        -webkit-filter: blur(1.3px);\n    }\n    75% {\n        transform: rotate(-2deg);\n        filter: blur(2px);\n        -webkit-filter: blur(2px);\n    }\n    100% {\n        transform: scale(1.3, 1) rotate(0deg);\n        filter: blur(1.3px);\n        -webkit-filter: blur(1.3px);\n    }\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvYWNjZXNvL2luaWNpby1zZXNpb24vaW5pY2lvLXNlc2lvbi5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksbUJBQW1CO0lBQ25CLGFBQWE7SUFDYix1QkFBdUI7SUFDdkIsYUFBYTtJQUNiLFdBQVc7QUFDZjs7QUFFQTtJQUNJLG1CQUFtQjtBQUN2Qjs7QUFFQTtJQUNJLG1CQUFtQjtJQUNuQiwyQkFBMkI7SUFDM0Isd0NBQXdDO0lBQ3hDLHFCQUFxQjtBQUN6Qjs7QUFFQTtJQUNJO1FBQ0kscUNBQXFDO1FBQ3JDLG1CQUFtQjtRQUNuQiwyQkFBMkI7SUFDL0I7SUFDQTtRQUNJLHVCQUF1QjtRQUN2QixpQkFBaUI7UUFDakIseUJBQXlCO0lBQzdCO0lBQ0E7UUFDSSxxQ0FBcUM7UUFDckMsbUJBQW1CO1FBQ25CLDJCQUEyQjtJQUMvQjtJQUNBO1FBQ0ksd0JBQXdCO1FBQ3hCLGlCQUFpQjtRQUNqQix5QkFBeUI7SUFDN0I7SUFDQTtRQUNJLHFDQUFxQztRQUNyQyxtQkFBbUI7UUFDbkIsMkJBQTJCO0lBQy9CO0FBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyIuZXh0ZXJubyB7XHJcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xyXG4gICAgaGVpZ2h0OiAxMDB2aDtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG59XHJcblxyXG4uZXh0cmEtcm91bmRlZCB7XHJcbiAgICBib3JkZXItcmFkaXVzOiAxNXB4O1xyXG59XHJcblxyXG4uY2FwdGNoYSB7XHJcbiAgICBmaWx0ZXI6IGJsdXIoMS4zcHgpO1xyXG4gICAgLXdlYmtpdC1maWx0ZXI6IGJsdXIoMS4zcHgpO1xyXG4gICAgYW5pbWF0aW9uOiBjYXB0Y2hhLWFuaW0gZWFzZSA4cyBpbmZpbml0ZTtcclxuICAgIHotaW5kZXg6IDEgIWltcG9ydGFudDtcclxufVxyXG5cclxuQGtleWZyYW1lcyBjYXB0Y2hhLWFuaW0ge1xyXG4gICAgMCUge1xyXG4gICAgICAgIHRyYW5zZm9ybTogc2NhbGUoMS4zLCAxKSByb3RhdGUoMGRlZyk7XHJcbiAgICAgICAgZmlsdGVyOiBibHVyKDEuM3B4KTtcclxuICAgICAgICAtd2Via2l0LWZpbHRlcjogYmx1cigxLjNweCk7XHJcbiAgICB9XHJcbiAgICAyNSUge1xyXG4gICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDJkZWcpO1xyXG4gICAgICAgIGZpbHRlcjogYmx1cigycHgpO1xyXG4gICAgICAgIC13ZWJraXQtZmlsdGVyOiBibHVyKDJweCk7XHJcbiAgICB9XHJcbiAgICA1MCUge1xyXG4gICAgICAgIHRyYW5zZm9ybTogc2NhbGUoMS4yLCAxKSByb3RhdGUoMGRlZyk7XHJcbiAgICAgICAgZmlsdGVyOiBibHVyKDEuM3B4KTtcclxuICAgICAgICAtd2Via2l0LWZpbHRlcjogYmx1cigxLjNweCk7XHJcbiAgICB9XHJcbiAgICA3NSUge1xyXG4gICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0yZGVnKTtcclxuICAgICAgICBmaWx0ZXI6IGJsdXIoMnB4KTtcclxuICAgICAgICAtd2Via2l0LWZpbHRlcjogYmx1cigycHgpO1xyXG4gICAgfVxyXG4gICAgMTAwJSB7XHJcbiAgICAgICAgdHJhbnNmb3JtOiBzY2FsZSgxLjMsIDEpIHJvdGF0ZSgwZGVnKTtcclxuICAgICAgICBmaWx0ZXI6IGJsdXIoMS4zcHgpO1xyXG4gICAgICAgIC13ZWJraXQtZmlsdGVyOiBibHVyKDEuM3B4KTtcclxuICAgIH1cclxufSJdLCJzb3VyY2VSb290IjoiIn0= */"]
  });
}

/***/ }),

/***/ 7373:
/*!*****************************************************************************!*\
  !*** ./src/app/acceso/verificacion-codigo/verificacion-codigo.component.ts ***!
  \*****************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   VerificacionCodigoComponent: () => (/* binding */ VerificacionCodigoComponent)
/* harmony export */ });
/* harmony import */ var C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var src_app_util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/error-conexion/error-conexion.component */ 7641);
/* harmony import */ var src_app_services_acceso_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/acceso.service */ 9130);
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/snack-bar */ 9409);
/* harmony import */ var src_app_services_crypto_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/crypto.service */ 1952);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 6575);









function VerificacionCodigoComponent_div_0_div_2_span_25_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1, " \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](2, "i", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
  }
}
function VerificacionCodigoComponent_div_0_div_2_label_30_strong_2_Template(rf, ctx) {
  if (rf & 1) {
    const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "strong", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function VerificacionCodigoComponent_div_0_div_2_label_30_strong_2_Template_strong_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r10);
      const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](4);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r9.reenviarCodigoVerificacion());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1, " Clic aqu\u00ED para reenviar ");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
  }
}
function VerificacionCodigoComponent_div_0_div_2_label_30_i_3_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "i", 27);
  }
}
function VerificacionCodigoComponent_div_0_div_2_label_30_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "label", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1, " \u00BFNo recibi\u00F3 el c\u00F3digo en su correo? ");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](2, VerificacionCodigoComponent_div_0_div_2_label_30_strong_2_Template, 2, 0, "strong", 24)(3, VerificacionCodigoComponent_div_0_div_2_label_30_i_3_Template, 1, 0, "i", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx_r4.cargandoReenvio);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r4.cargandoReenvio);
  }
}
function VerificacionCodigoComponent_div_0_div_2_ng_container_31_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](1, "label", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](2, "Tan pronto termine la cuenta regresiva, podr\u00E1 solicitar el reenvio del correo nuevamente");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](3, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](4, "label", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"]();
  }
  if (rf & 2) {
    const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"]("00:", ctx_r5.tiempoReenvio <= 9 ? "0" + ctx_r5.tiempoReenvio : ctx_r5.tiempoReenvio, "");
  }
}
function VerificacionCodigoComponent_div_0_div_2_label_32_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "label", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1, " Si no recibe el correo en este intento, por favor contacte al administrador de la aplicaci\u00F3n por revisar este caso. ");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
  }
}
function VerificacionCodigoComponent_div_0_div_2_Template(rf, ctx) {
  if (rf & 1) {
    const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 5)(1, "div", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](2, "i", 7)(3, "i", 8)(4, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](5, "label", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](6, "Vamos a confirmar su identidad");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](7, "br")(8, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](9, "label", 10);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](10, "Ingrese el c\u00F3digo de verificaci\u00F3n que hemos enviado a tu correo");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](11, "br")(12, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](13, "input", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function VerificacionCodigoComponent_div_0_div_2_Template_input_input_13_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r12);
      const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      ctx_r11.gestionarInput(1);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r11.validarCodigo());
    })("paste", function VerificacionCodigoComponent_div_0_div_2_Template_input_paste_13_listener($event) {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r12);
      const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r13.gestionarPegadoCodigo($event));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](14, "input", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function VerificacionCodigoComponent_div_0_div_2_Template_input_input_14_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r12);
      const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      ctx_r14.gestionarInput(2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r14.validarCodigo());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](15, "input", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function VerificacionCodigoComponent_div_0_div_2_Template_input_input_15_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r12);
      const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      ctx_r15.gestionarInput(3);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r15.validarCodigo());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](16, "input", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function VerificacionCodigoComponent_div_0_div_2_Template_input_input_16_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r12);
      const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      ctx_r16.gestionarInput(4);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r16.validarCodigo());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](17, "input", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function VerificacionCodigoComponent_div_0_div_2_Template_input_input_17_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r12);
      const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      ctx_r17.gestionarInput(5);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r17.validarCodigo());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](18, "input", 16);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function VerificacionCodigoComponent_div_0_div_2_Template_input_input_18_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r12);
      const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      ctx_r18.gestionarInput(6);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r18.validarCodigo());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](19, "br")(20, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](21, "button", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("click", function VerificacionCodigoComponent_div_0_div_2_Template_button_click_21_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵrestoreView"](_r12);
      const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵresetView"](ctx_r19.comprobarCodigoVerificacion());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](22, "label", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](23, "i", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](24, " \u00A0\u00A0 Validar c\u00F3digo ");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](25, VerificacionCodigoComponent_div_0_div_2_span_25_Template, 3, 0, "span", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](26, "br")(27, "br")(28, "br")(29, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](30, VerificacionCodigoComponent_div_0_div_2_label_30_Template, 4, 2, "label", 21)(31, VerificacionCodigoComponent_div_0_div_2_ng_container_31_Template, 6, 1, "ng-container", 20)(32, VerificacionCodigoComponent_div_0_div_2_label_32_Template, 2, 0, "label", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](33, "br")(34, "br")(35, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](21);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("disabled", !ctx_r1.codigoListo || ctx_r1.cargandoCodigo || ctx_r1.cargandoReenvio);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r1.cargandoCodigo);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r1.intentosReenvio < 3 && ctx_r1.tiempoReenvio == 0);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r1.intentosReenvio < 3 && ctx_r1.tiempoReenvio > 0);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r1.intentosReenvio >= 3);
  }
}
function VerificacionCodigoComponent_div_0_div_3_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 5)(1, "div", 6);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](2, "i", 28)(3, "i", 8)(4, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](5, "label", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](6, "\u00A1SU CUENTA HA SIDO BLOQUEADA POR SEGURIDAD!");
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()()();
  }
}
function VerificacionCodigoComponent_div_0_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 2)(1, "div", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](2, VerificacionCodigoComponent_div_0_div_2_Template, 36, 5, "div", 4)(3, VerificacionCodigoComponent_div_0_div_3_Template, 7, 0, "div", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx_r0.cuentaBloqueada);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r0.cuentaBloqueada);
  }
}
class VerificacionCodigoComponent {
  constructor(accesoService, snackBar, cryptoService) {
    this.accesoService = accesoService;
    this.snackBar = snackBar;
    this.cryptoService = cryptoService;
    this.verificado = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter();
    this.moduloListo = false;
    this.codigoVerificacion = '';
    this.codigoListo = false;
    this.codigoFinal = '';
    this.cargandoCodigo = false;
    this.intentosCodigo = 0;
    this.cuentaBloqueada = false;
    this.cargandoReenvio = false;
    this.intentosReenvio = 0;
    this.tiempoReenvio = 0;
    this.idIntTiempoReenvio = -1;
  }
  ngOnChanges() {
    var _this = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      if (_this.idUsuario !== undefined) {
        // Llave de encriptación
        const key = yield _this.cryptoService.generateKey();
        sessionStorage.setItem('ek', JSON.stringify(Array.from(new Uint8Array(key))));
        // IV
        const iv = _this.cryptoService.generateIv();
        ;
        sessionStorage.setItem('iv', iv);
        // Genericos
        _this.moduloListo = true;
        setTimeout(() => {
          setTimeout(() => {
            document.getElementById('code1').focus();
          }, 200);
        });
      }
    })();
  }
  ngAfterViewInit() {
    if (this.moduloListo) {
      setTimeout(() => {
        document.getElementById('code1').focus();
      }, 200);
    }
  }
  comprobarCodigoVerificacion() {
    var _this2 = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      _this2.cargandoCodigo = true;
      _this2.accesoService.verificarCodigoAccesoUsuario(_this2.idUsuario, _this2.codigoFinal).subscribe({
        next: function () {
          var _ref = (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (resp) {
            if (resp['estado']) {
              const cryptoKey = yield _this2.cryptoService.getStoredKey();
              const cryptoIv = _this2.cryptoService.getStoredIv();
              const tap = yield _this2.cryptoService.encrypt(resp['token'], cryptoKey, cryptoIv);
              sessionStorage.setItem('tap', _this2.cryptoService.arrayBufferToString(tap));
              sessionStorage.setItem('correo', resp['usuario']['email']);
              sessionStorage.setItem('nombre', resp['usuario']['name']);
              setTimeout(() => {
                _this2.verificado.emit(resp['usuario']['rol_fk_id']);
              }, 200);
            } else {
              _this2.intentosCodigo++;
              if (_this2.intentosCodigo < 2) {
                _this2.cargandoCodigo = false;
                _this2.snackBar.open('El código ingresado no es correcto', 'Cerrar', {
                  duration: 5000
                });
              } else if (_this2.intentosCodigo === 2) {
                _this2.cargandoCodigo = false;
                _this2.snackBar.open('El código ingresado no es correcto. Si el siguiente intento no es correcto, su cuenta será bloqueda por seguridad', 'Cerrar');
              } else {
                sessionStorage.clear();
                _this2.cargandoCodigo = false;
                _this2.cuentaBloqueada = true;
              }
            }
          });
          return function next(_x) {
            return _ref.apply(this, arguments);
          };
        }(),
        error: e => {
          console.log(e);
          _this2.cargandoCodigo = false;
          _this2.cargandoReenvio = false;
          _this2.errorConexion?.activarErrorConexion();
        }
      });
    })();
  }
  reenviarCodigoVerificacion() {
    if (!this.cargandoCodigo) {
      this.cargandoReenvio = true;
      this.accesoService.reenviarCodigoVerificacionUsuario(this.idUsuario).subscribe({
        next: () => {
          this.intentosReenvio++;
          this.cargandoReenvio = false;
          if (this.intentosReenvio < 3) {
            this.generarCuentaRegresiva();
          }
          this.snackBar.open('Se ha reenviado un nuevo código de verificación a su correo. Por favor revise en spam si no lo encuentra.', 'Cerrar', {
            duration: 5000
          });
        },
        error: e => {
          console.log(e);
          this.cargandoReenvio = false;
          this.errorConexion?.activarErrorConexion();
        }
      });
    }
  }
  generarCuentaRegresiva() {
    this.tiempoReenvio = 30;
    this.idIntTiempoReenvio = window.setInterval(() => {
      if (this.tiempoReenvio > 0) {
        this.tiempoReenvio -= 1;
      } else {
        this.tiempoReenvio = 0;
        window.clearInterval(this.idIntTiempoReenvio);
      }
    }, 1000);
  }
  gestionarInput(id) {
    if (id < 6) {
      const valor = document.getElementById('code' + id).value;
      setTimeout(() => {
        document.getElementById('code' + id).value = valor.trim();
      });
      if (!isNaN(+valor)) {
        if (valor != null && valor.trim() !== '') {
          document.getElementById('code' + (id + 1)).disabled = false;
          setTimeout(() => {
            document.getElementById('code' + (id + 1)).focus();
          });
        } else {
          for (let i = id + 1; i <= 6; i++) {
            document.getElementById('code' + i).value = null;
            document.getElementById('code' + i).disabled = true;
          }
        }
      } else {
        document.getElementById('code' + id).value = null;
      }
    }
  }
  gestionarPegadoCodigo(evento) {
    if (evento.clipboardData !== null) {
      const codigo = evento.clipboardData.getData('text').toString().trim();
      const target = codigo.length < 6 ? codigo.length : 6;
      for (let i = 1; i <= target; i++) {
        if (!isNaN(+codigo.charAt(i - 1))) {
          document.getElementById('code' + i).value = codigo.charAt(i - 1);
          document.getElementById('code' + i).disabled = false;
        } else {
          setTimeout(() => {
            document.getElementById('code1').value = null;
            document.getElementById('code2').value = null;
            document.getElementById('code3').value = null;
            document.getElementById('code4').value = null;
            document.getElementById('code5').value = null;
            document.getElementById('code6').value = null;
          }, 100);
          break;
        }
      }
      setTimeout(() => {
        document.getElementById('code1').focus();
      }, 100);
    }
  }
  validarCodigo() {
    this.codigoListo = false;
    this.codigoFinal = '';
    for (let i = 1; i <= 6; i++) {
      const valor = document.getElementById('code' + i).value;
      if (valor == null || valor.trim() == '') {
        this.codigoFinal = '';
        return;
      } else {
        this.codigoFinal += valor;
      }
    }
    this.codigoListo = true;
  }
  static #_ = this.ɵfac = function VerificacionCodigoComponent_Factory(t) {
    return new (t || VerificacionCodigoComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](src_app_services_acceso_service__WEBPACK_IMPORTED_MODULE_2__.AccesoService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_5__.MatSnackBar), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](src_app_services_crypto_service__WEBPACK_IMPORTED_MODULE_3__.CryptoService));
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({
    type: VerificacionCodigoComponent,
    selectors: [["app-verificacion-codigo"]],
    viewQuery: function VerificacionCodigoComponent_Query(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵviewQuery"](src_app_util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__.ErrorConexionComponent, 5);
      }
      if (rf & 2) {
        let _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵloadQuery"]()) && (ctx.errorConexion = _t.first);
      }
    },
    inputs: {
      idUsuario: "idUsuario"
    },
    outputs: {
      verificado: "verificado"
    },
    features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵNgOnChangesFeature"]],
    decls: 2,
    vars: 2,
    consts: [["class", "container-fluid p-0 appear-effect", 4, "ngIf"], [3, "identificador"], [1, "container-fluid", "p-0", "appear-effect"], [1, "externo", "p-4"], ["class", "row", "style", "margin-top: -60px;", 4, "ngIf"], [1, "row", 2, "margin-top", "-60px"], [1, "col-12", "text-center"], [1, "fa-solid", "fa-envelope-open-text", "m-4", "text-yellow-1", "fa-icon-stroke", 2, "font-size", "70px"], [1, "fa-solid", "fa-user", "m-4", "text-yellow-1", "fa-icon-stroke", 2, "font-size", "70px"], [1, "fs-36", "lh-base", "fw-bold", "text-dark"], [1, "monserrat-font", "fs-24", "lh-base", "text-dark"], ["id", "code1", "type", "text", "maxlength", "1", "autofocus", "", "autocomplete", "off", 1, "form-control", "code-input", "d-inline", "m-2", "text-center", "monserrat-font", "text-syn-1", "shadow-sm", 3, "input", "paste"], ["id", "code2", "type", "text", "maxlength", "1", "disabled", "", "autocomplete", "off", 1, "form-control", "code-input", "d-inline", "m-2", "text-center", "monserrat-font", "text-syn-1", 3, "input"], ["id", "code3", "type", "text", "maxlength", "1", "disabled", "", "autocomplete", "off", 1, "form-control", "code-input", "d-inline", "m-2", "text-center", "monserrat-font", "text-syn-1", 3, "input"], ["id", "code4", "type", "text", "maxlength", "1", "disabled", "", "autocomplete", "off", 1, "form-control", "code-input", "d-inline", "m-2", "text-center", "monserrat-font", "text-syn-1", 3, "input"], ["id", "code5", "type", "text", "maxlength", "1", "disabled", "", "autocomplete", "off", 1, "form-control", "code-input", "d-inline", "m-2", "text-center", "monserrat-font", "text-syn-1", 3, "input"], ["id", "code6", "type", "text", "maxlength", "1", "disabled", "", "autocomplete", "off", 1, "form-control", "code-input", "d-inline", "m-2", "text-center", "monserrat-font", "text-syn-1", 3, "input"], [1, "btn", "bg-tguia-1", "text-light", 3, "disabled", "click"], [1, "monserrat-font", "hand-cursor"], [1, "fa-solid", "fa-solid", "fa-envelope-open-text"], [4, "ngIf"], ["class", "monserrat-font text-dark", 4, "ngIf"], [1, "fa-solid", "fa-spinner", "taskbar-loading", "fa-spin", "ms-1", "me-2"], [1, "monserrat-font", "text-dark"], ["class", "hand-cursor text-usaid-red ms-1", 3, "click", 4, "ngIf"], ["class", "fa-solid fa-spinner text-syn-3 fa-spin spinner ms-1 me-2", 4, "ngIf"], [1, "hand-cursor", "text-usaid-red", "ms-1", 3, "click"], [1, "fa-solid", "fa-spinner", "text-syn-3", "fa-spin", "spinner", "ms-1", "me-2"], [1, "fa-solid", "fa-lock", "m-4", "text-yellow-1", "fa-icon-stroke", 2, "font-size", "70px"], [1, "monserrat-font", "fs-36", "lh-base", "fw-bold", "text-dark"]],
    template: function VerificacionCodigoComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](0, VerificacionCodigoComponent_div_0_Template, 4, 2, "div", 0);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](1, "app-error-conexion", 1);
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx.moduloListo);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("identificador", "ver_cod_email");
      }
    },
    dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.NgIf, src_app_util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__.ErrorConexionComponent],
    styles: [".externo[_ngcontent-%COMP%] {\n    align-items: center;\n    display: flex;\n    justify-content: center;\n    height: 100vh;\n    background: #EAECEE;\n}\n\n.fa-icon-stroke[_ngcontent-%COMP%] {\n    -webkit-text-stroke: 1px black;\n    -moz-text-stroke: 1px black;\n}\n\n.code-input[_ngcontent-%COMP%] {\n    width: 80px;\n    height: 120px;\n    font-size: 80px !important;\n    border: 1px solid black;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvYWNjZXNvL3ZlcmlmaWNhY2lvbi1jb2RpZ28vdmVyaWZpY2FjaW9uLWNvZGlnby5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksbUJBQW1CO0lBQ25CLGFBQWE7SUFDYix1QkFBdUI7SUFDdkIsYUFBYTtJQUNiLG1CQUFtQjtBQUN2Qjs7QUFFQTtJQUNJLDhCQUE4QjtJQUM5QiwyQkFBMkI7QUFDL0I7O0FBRUE7SUFDSSxXQUFXO0lBQ1gsYUFBYTtJQUNiLDBCQUEwQjtJQUMxQix1QkFBdUI7QUFDM0IiLCJzb3VyY2VzQ29udGVudCI6WyIuZXh0ZXJubyB7XHJcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xyXG4gICAgaGVpZ2h0OiAxMDB2aDtcclxuICAgIGJhY2tncm91bmQ6ICNFQUVDRUU7XHJcbn1cclxuXHJcbi5mYS1pY29uLXN0cm9rZSB7XHJcbiAgICAtd2Via2l0LXRleHQtc3Ryb2tlOiAxcHggYmxhY2s7XHJcbiAgICAtbW96LXRleHQtc3Ryb2tlOiAxcHggYmxhY2s7XHJcbn1cclxuXHJcbi5jb2RlLWlucHV0IHtcclxuICAgIHdpZHRoOiA4MHB4O1xyXG4gICAgaGVpZ2h0OiAxMjBweDtcclxuICAgIGZvbnQtc2l6ZTogODBweCAhaW1wb3J0YW50O1xyXG4gICAgYm9yZGVyOiAxcHggc29saWQgYmxhY2s7XHJcbn0iXSwic291cmNlUm9vdCI6IiJ9 */"]
  });
}

/***/ }),

/***/ 4866:
/*!*********************************************************************************!*\
  !*** ./src/app/area-trabajo/area-trabajo-admin/area-trabajo-admin.component.ts ***!
  \*********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AreaTrabajoAdminComponent: () => (/* binding */ AreaTrabajoAdminComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _clientes_clientes_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../clientes/clientes.component */ 8083);
/* harmony import */ var _usuarios_usuarios_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../usuarios/usuarios.component */ 4332);
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/tooltip */ 702);






function AreaTrabajoAdminComponent_div_25_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 21)(1, "label", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](2, "i", 23)(3, "br")(4, "br")(5, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](6, "strong");
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](7, "Acceda a alguno de los m\u00F3dulos para comenzar");
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()();
  }
}
function AreaTrabajoAdminComponent_div_26_Template(rf, ctx) {
  if (rf & 1) {
    const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 24)(1, "app-clientes", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("cerrarModulo", function AreaTrabajoAdminComponent_div_26_Template_app_clientes_cerrarModulo_1_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r4);
      const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r3.cerrarModulo());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()();
  }
}
function AreaTrabajoAdminComponent_div_27_Template(rf, ctx) {
  if (rf & 1) {
    const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 24)(1, "app-usuarios", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("cerrarModulo", function AreaTrabajoAdminComponent_div_27_Template_app_usuarios_cerrarModulo_1_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r6);
      const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r5.cerrarModulo());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()();
  }
}
const _c0 = a0 => ({
  "rounded bg-tguia-2 appear-effect": a0
});
class AreaTrabajoAdminComponent {
  constructor() {
    this.cerrarSesion = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
    this.modulos = [true, false, false // Usuarios
    ];
  }

  abrirModulo(modulo) {
    this.reestablecerModulos();
    this.modulos[modulo] = true;
  }
  cerrarModulo() {
    this.reestablecerModulos();
    this.modulos[0] = true;
  }
  reestablecerModulos() {
    for (let i = 0; i < this.modulos.length; i++) {
      this.modulos[i] = false;
    }
  }
  static #_ = this.ɵfac = function AreaTrabajoAdminComponent_Factory(t) {
    return new (t || AreaTrabajoAdminComponent)();
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
    type: AreaTrabajoAdminComponent,
    selectors: [["app-area-trabajo-admin"]],
    outputs: {
      cerrarSesion: "cerrarSesion"
    },
    decls: 28,
    vars: 11,
    consts: [[1, "d-flex", "position-fixed", "flex-column", "flex-shrink-0", "bg-tguia-1", "shadow", 2, "width", "4.5rem", "height", "100vh", "z-index", "100 !important"], [1, "py-2", "border-bottom", "w-100", "text-center", "mb-2", "bg-light"], ["width", "51", "src", "/assets/logos/logo_verifica_icono.png"], [1, "nav", "nav-flush", "flex-column", "mb-auto", "text-center"], ["matTooltip", "Clientes", 1, "nav-item", 3, "matTooltipPosition", "click"], [1, "nav-link", "hand-cursor", "text-decoration-none", "text-light"], [1, "py-2", 3, "ngClass"], [1, "fa-solid", "fa-building", "fa-xl"], ["matTooltip", "Usuarios", 1, "nav-item", 3, "matTooltipPosition", "click"], [1, "fa-solid", "fa-users", "fa-xl"], [1, "dropdown", "border-top"], ["href", "#", "id", "dropdownUser3", "data-bs-toggle", "dropdown", "aria-expanded", "false", 1, "d-flex", "align-items-center", "justify-content-center", "p-3", "text-decoration-none", "dropdown-toggle", "text-light"], [1, "fa-solid", "fa-user"], ["aria-labelledby", "dropdownUser3", 1, "dropdown-menu", "text-small", "shadow"], [1, "dropdown-item", "fst-italic", "fs-12"], [1, "dropdown-divider"], [1, "dropdown-item", 3, "click"], [1, "fa-solid", "fa-door-open"], [1, "area-trabajo"], ["class", "externo text-center p-5 appear-effect", 4, "ngIf"], ["class", "appear-effect", 4, "ngIf"], [1, "externo", "text-center", "p-5", "appear-effect"], [1, "h6", "fs-20"], [1, "fa-solid", "fa-hand-pointer", "text-dark", 2, "font-size", "90px"], [1, "appear-effect"], [3, "cerrarModulo"]],
    template: function AreaTrabajoAdminComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 0)(1, "label", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](2, "img", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](3, "ul", 3)(4, "li", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function AreaTrabajoAdminComponent_Template_li_click_4_listener() {
          return ctx.abrirModulo(1);
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](5, "label", 5)(6, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](7, "i", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()();
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](8, "li", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function AreaTrabajoAdminComponent_Template_li_click_8_listener() {
          return ctx.abrirModulo(2);
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](9, "label", 5)(10, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](11, "i", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()();
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](12, "div", 10)(13, "a", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](14, "i", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](15, "ul", 13)(16, "li", 14);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](17, "Due\u00F1o de la herramienta");
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](18, "li");
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](19, "hr", 15);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](20, "li")(21, "button", 16);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function AreaTrabajoAdminComponent_Template_button_click_21_listener() {
          return ctx.cerrarSesion.emit();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](22, "i", 17);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](23, "\u00A0Cerrar sesi\u00F3n ");
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()()();
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](24, "div", 18);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](25, AreaTrabajoAdminComponent_div_25_Template, 8, 0, "div", 19)(26, AreaTrabajoAdminComponent_div_26_Template, 2, 0, "div", 20)(27, AreaTrabajoAdminComponent_div_27_Template, 2, 0, "div", 20);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](4);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("matTooltipPosition", "right");
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpureFunction1"](7, _c0, ctx.modulos[1]));
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("matTooltipPosition", "right");
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpureFunction1"](9, _c0, ctx.modulos[2]));
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](15);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.modulos[0]);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.modulos[1]);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.modulos[2]);
      }
    },
    dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_3__.NgIf, _clientes_clientes_component__WEBPACK_IMPORTED_MODULE_0__.ClientesComponent, _usuarios_usuarios_component__WEBPACK_IMPORTED_MODULE_1__.UsuariosComponent, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_4__.MatTooltip],
    styles: [".area-trabajo[_ngcontent-%COMP%] {\n    position: absolute;\n    width: calc(100% - 72px);\n    height: 100vh;\n    left: 72px;\n}\n\n.externo[_ngcontent-%COMP%] {\n    align-items: center;\n    display: flex;\n    justify-content: center;\n    height: 85vh;\n    width: 100%;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvYXJlYS10cmFiYWpvL2FyZWEtdHJhYmFqby1hZG1pbi9hcmVhLXRyYWJham8tYWRtaW4uY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGtCQUFrQjtJQUNsQix3QkFBd0I7SUFDeEIsYUFBYTtJQUNiLFVBQVU7QUFDZDs7QUFFQTtJQUNJLG1CQUFtQjtJQUNuQixhQUFhO0lBQ2IsdUJBQXVCO0lBQ3ZCLFlBQVk7SUFDWixXQUFXO0FBQ2YiLCJzb3VyY2VzQ29udGVudCI6WyIuYXJlYS10cmFiYWpvIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHdpZHRoOiBjYWxjKDEwMCUgLSA3MnB4KTtcclxuICAgIGhlaWdodDogMTAwdmg7XHJcbiAgICBsZWZ0OiA3MnB4O1xyXG59XHJcblxyXG4uZXh0ZXJubyB7XHJcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xyXG4gICAgaGVpZ2h0OiA4NXZoO1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcbn0iXSwic291cmNlUm9vdCI6IiJ9 */"]
  });
}

/***/ }),

/***/ 1517:
/*!********************************************************!*\
  !*** ./src/app/area-trabajo/area-trabajo.component.ts ***!
  \********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AreaTrabajoComponent: () => (/* binding */ AreaTrabajoComponent)
/* harmony export */ });
/* harmony import */ var C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/pantalla-espera/pantalla-espera.component */ 4976);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _services_acceso_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../services/acceso.service */ 9130);
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/snack-bar */ 9409);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _acceso_acceso_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../acceso/acceso.component */ 9232);
/* harmony import */ var _area_trabajo_admin_area_trabajo_admin_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./area-trabajo-admin/area-trabajo-admin.component */ 4866);









function AreaTrabajoComponent_app_acceso_0_Template(rf, ctx) {
  if (rf & 1) {
    const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "app-acceso", 3);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("avanzar", function AreaTrabajoComponent_app_acceso_0_Template_app_acceso_avanzar_0_listener($event) {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r3);
      const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r2.activarAplicativo($event));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function AreaTrabajoComponent_div_1_Template(rf, ctx) {
  if (rf & 1) {
    const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div")(1, "app-area-trabajo-admin", 4);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("cerrarSesion", function AreaTrabajoComponent_div_1_Template_app_area_trabajo_admin_cerrarSesion_1_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r5);
      const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r4.activarAutenticacion());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
  }
}
class AreaTrabajoComponent {
  constructor(accesoService, snackBar) {
    this.accesoService = accesoService;
    this.snackBar = snackBar;
    this.autenticacion = false;
    this.aplicativo = false;
  }
  ngOnInit() {
    var _this = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      if (sessionStorage.getItem('tap') !== null) {
        setTimeout(() => _this.pantallaEspera?.activarModoEspera());
        yield _this.accesoService.actualizarJWTHeaders();
        _this.accesoService.validarTokenUsuario().subscribe({
          next: resp => {
            if (resp && resp['rol_fk_id'] && +resp['rol_fk_id'] === 1) {
              _this.rolUsuario = resp['rol_fk_id'];
              _this.aplicativo = true;
              if (_this.idIntervaloToken !== undefined) {
                clearInterval(_this.idIntervaloToken);
              }
              _this.verificarTokenAcceso();
            } else {
              sessionStorage.clear();
              _this.autenticacion = true;
            }
            setTimeout(() => _this.pantallaEspera?.desactivarModoEspera());
          },
          error: e => {
            _this.autenticacion = true;
            setTimeout(() => _this.pantallaEspera?.desactivarModoEspera());
          }
        });
      } else {
        _this.autenticacion = true;
      }
    })();
  }
  ngOnDestroy() {
    if (this.idIntervaloToken !== undefined) {
      clearInterval(this.idIntervaloToken);
    }
  }
  verificarTokenAcceso() {
    this.idIntervaloToken = setInterval(() => {
      this.accesoService.validarTokenUsuario().subscribe({
        error: e => {
          if (+e.status === 401) {
            clearInterval(this.idIntervaloToken);
            this.snackBar.open(`Se ha cerrado su sesión por motivos de seguridad.
                                Es posible que se haya iniciado sesión con sus credenciales en otro dispositivo`, 'Cerrar', {
              duration: 5000
            });
            sessionStorage.clear();
            this.autenticacion = true;
          }
        }
      });
    }, 5000);
  }
  activarAutenticacion() {
    var _this2 = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      setTimeout(() => _this2.pantallaEspera?.activarModoEspera());
      if (_this2.idIntervaloToken !== undefined) {
        clearInterval(_this2.idIntervaloToken);
      }
      sessionStorage.clear();
      _this2.aplicativo = false;
      _this2.autenticacion = true;
      setTimeout(() => _this2.pantallaEspera?.desactivarModoEspera(), 500);
    })();
  }
  activarAplicativo(rol) {
    var _this3 = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      _this3.rolUsuario = rol;
      if (_this3.idIntervaloToken !== undefined) {
        clearInterval(_this3.idIntervaloToken);
      }
      yield _this3.accesoService.actualizarJWTHeaders();
      _this3.verificarTokenAcceso();
      _this3.autenticacion = false;
      _this3.aplicativo = true;
    })();
  }
  static #_ = this.ɵfac = function AreaTrabajoComponent_Factory(t) {
    return new (t || AreaTrabajoComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_acceso_service__WEBPACK_IMPORTED_MODULE_2__.AccesoService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__.MatSnackBar));
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({
    type: AreaTrabajoComponent,
    selectors: [["app-area-trabajo"]],
    viewQuery: function AreaTrabajoComponent_Query(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵviewQuery"](_util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_1__.PantallaEsperaComponent, 5);
      }
      if (rf & 2) {
        let _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵloadQuery"]()) && (ctx.pantallaEspera = _t.first);
      }
    },
    decls: 3,
    vars: 3,
    consts: [[3, "avanzar", 4, "ngIf"], [4, "ngIf"], [3, "identificador"], [3, "avanzar"], [3, "cerrarSesion"]],
    template: function AreaTrabajoComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](0, AreaTrabajoComponent_app_acceso_0_Template, 1, 0, "app-acceso", 0)(1, AreaTrabajoComponent_div_1_Template, 2, 0, "div", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](2, "app-pantalla-espera", 2);
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.autenticacion);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.aplicativo && +ctx.rolUsuario === 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("identificador", "pe_1_area_trabajo_gen");
      }
    },
    dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _acceso_acceso_component__WEBPACK_IMPORTED_MODULE_3__.AccesoComponent, _util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_1__.PantallaEsperaComponent, _area_trabajo_admin_area_trabajo_admin_component__WEBPACK_IMPORTED_MODULE_4__.AreaTrabajoAdminComponent],
    styles: ["/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */"]
  });
}

/***/ }),

/***/ 7746:
/*!*****************************************************!*\
  !*** ./src/app/area-trabajo/area-trabajo.module.ts ***!
  \*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AreaTrabajoModule: () => (/* binding */ AreaTrabajoModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _area_trabajo_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./area-trabajo.component */ 1517);
/* harmony import */ var _acceso_acceso_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../acceso/acceso.module */ 535);
/* harmony import */ var _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/pantalla-espera/pantalla-espera.module */ 5863);
/* harmony import */ var _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/error-conexion/error-conexion.module */ 145);
/* harmony import */ var _area_trabajo_admin_area_trabajo_admin_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./area-trabajo-admin/area-trabajo-admin.component */ 4866);
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/tooltip */ 702);
/* harmony import */ var _clientes_clientes_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../clientes/clientes.module */ 5433);
/* harmony import */ var _usuarios_usuarios_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../usuarios/usuarios.module */ 6807);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 1699);










class AreaTrabajoModule {
  static #_ = this.ɵfac = function AreaTrabajoModule_Factory(t) {
    return new (t || AreaTrabajoModule)();
  };
  static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({
    type: AreaTrabajoModule
  });
  static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.CommonModule, _acceso_acceso_module__WEBPACK_IMPORTED_MODULE_1__.AccesoModule, _clientes_clientes_module__WEBPACK_IMPORTED_MODULE_5__.ClientesModule, _usuarios_usuarios_module__WEBPACK_IMPORTED_MODULE_6__.UsuariosModule, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_9__.MatTooltipModule, _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaModule, _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__.ErrorConexionModule]
  });
}
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](AreaTrabajoModule, {
    declarations: [_area_trabajo_component__WEBPACK_IMPORTED_MODULE_0__.AreaTrabajoComponent, _area_trabajo_admin_area_trabajo_admin_component__WEBPACK_IMPORTED_MODULE_4__.AreaTrabajoAdminComponent],
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.CommonModule, _acceso_acceso_module__WEBPACK_IMPORTED_MODULE_1__.AccesoModule, _clientes_clientes_module__WEBPACK_IMPORTED_MODULE_5__.ClientesModule, _usuarios_usuarios_module__WEBPACK_IMPORTED_MODULE_6__.UsuariosModule, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_9__.MatTooltipModule, _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaModule, _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__.ErrorConexionModule],
    exports: [_area_trabajo_component__WEBPACK_IMPORTED_MODULE_0__.AreaTrabajoComponent]
  });
})();

/***/ }),

/***/ 8083:
/*!************************************************!*\
  !*** ./src/app/clientes/clientes.component.ts ***!
  \************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClientesComponent: () => (/* binding */ ClientesComponent)
/* harmony export */ });
/* harmony import */ var C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ 8849);
/* harmony import */ var _util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/error-conexion/error-conexion.component */ 7641);
/* harmony import */ var _util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/pantalla-espera/pantalla-espera.component */ 4976);
/* harmony import */ var _services_clientes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../services/clientes.service */ 9306);
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/snack-bar */ 9409);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var angular_datatables__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! angular-datatables */ 8588);
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/tooltip */ 702);
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material/select */ 6355);
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/core */ 5309);
















function ClientesComponent_div_15_label_1_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "label", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1, "Clientes activos");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_15_label_2_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "label", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1, "Clientes inactivos");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_15_table_4_tr_18_ng_container_7_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerEnd"]();
  }
  if (rf & 2) {
    const cli_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" ", cli_r9.mun_nombre, " ");
  }
}
function ClientesComponent_div_15_table_4_tr_18_Template(rf, ctx) {
  if (rf & 1) {
    const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "tr")(1, "td", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](3, "td", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](5, "td", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](7, ClientesComponent_div_15_table_4_tr_18_ng_container_7_Template, 3, 1, "ng-container", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](8, "td", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](10, "td", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](11);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](12, "td", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](13);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](14, "td", 20)(15, "button", 23);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function ClientesComponent_div_15_table_4_tr_18_Template_button_click_15_listener() {
      const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r14);
      const cli_r9 = restoredCtx.$implicit;
      const i_r10 = restoredCtx.index;
      const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](3);
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r13.prepararActualizacion(cli_r9, i_r10));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](16, "i", 24);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
  }
  if (rf & 2) {
    const cli_r9 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](cli_r9.cli_pk_id);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](cli_r9.cli_razon_social);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" ", cli_r9.dep_nombre, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", cli_r9.mun_fk_id !== null);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](cli_r9.cli_fecha_inicio);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](cli_r9.cli_fecha_fin);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](cli_r9.cli_activo ? "Si" : "No");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("matTooltip", "Actualizar el cliente");
  }
}
function ClientesComponent_div_15_table_4_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "table", 19)(1, "thead")(2, "tr")(3, "th", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](4, "ID");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](5, "th", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](6, "Raz\u00F3n social");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](7, "th", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](8, "Depto / municipio");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](9, "th", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](10, "Fecha inicio");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](11, "th", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](12, "Fecha Fin");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](13, "th", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](14, "\u00BFActivo?");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](15, "th", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](16, "Acciones");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](17, "tbody");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](18, ClientesComponent_div_15_table_4_tr_18_Template, 17, 8, "tr", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("dtOptions", ctx_r4.opcionesTabla);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](18);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngForOf", ctx_r4.clientes);
  }
}
function ClientesComponent_div_15_button_7_Template(rf, ctx) {
  if (rf & 1) {
    const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "button", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function ClientesComponent_div_15_button_7_Template_button_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r16);
      const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r15.gestionarModoCreacion(true));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](2, "\u00A0\u00A0Crear nuevo cliente ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_15_button_8_Template(rf, ctx) {
  if (rf & 1) {
    const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "button", 27);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function ClientesComponent_div_15_button_8_Template_button_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r18);
      const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r17.gestionarClientesInactivos());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](2, "\u00A0\u00A0Ver clientes inactivos ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_15_button_9_Template(rf, ctx) {
  if (rf & 1) {
    const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "button", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function ClientesComponent_div_15_button_9_Template_button_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r20);
      const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r19.gestionarClientesActivos());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](2, "\u00A0\u00A0Ver clientes activos ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_15_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](1, ClientesComponent_div_15_label_1_Template, 2, 0, "label", 12)(2, ClientesComponent_div_15_label_2_Template, 2, 0, "label", 12);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](3, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](4, ClientesComponent_div_15_table_4_Template, 19, 2, "table", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](5, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](6, "div", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](7, ClientesComponent_div_15_button_7_Template, 3, 0, "button", 15)(8, ClientesComponent_div_15_button_8_Template, 3, 0, "button", 16)(9, ClientesComponent_div_15_button_9_Template, 3, 0, "button", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r0.verClientesInactivos);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r0.verClientesInactivos);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r0.rerender);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r0.verClientesInactivos);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r0.verClientesInactivos);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r0.verClientesInactivos);
  }
}
function ClientesComponent_div_16_label_1_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "label", 58);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1, "Crear un cliente");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_label_2_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "label", 58);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1, "Actualizar cliente");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_9_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_10_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_16_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_17_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_23_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_24_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_32_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_33_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_mat_option_36_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "mat-option", 61);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const dep_r51 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpropertyInterpolate"]("value", dep_r51.dep_pk_id);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](dep_r51.dep_nombre);
  }
}
function ClientesComponent_div_16_span_40_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_41_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_mat_option_44_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "mat-option", 61);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const mun_r52 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpropertyInterpolate"]("value", mun_r52.mun_pk_id);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](mun_r52.mun_nombre);
  }
}
function ClientesComponent_div_16_span_48_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_49_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_57_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_58_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_64_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_65_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_71_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_72_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_ng_container_82_Template(rf, ctx) {
  if (rf & 1) {
    const _r54 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](1, "input", 62);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function ClientesComponent_div_16_ng_container_82_Template_input_change_1_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r54);
      const ctx_r53 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r53.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](2, "\u00A0\u00A0Auditor\u00EDa de calidad \u00A0\u00A0\u00A0\u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerEnd"]();
  }
}
function ClientesComponent_div_16_ng_container_85_Template(rf, ctx) {
  if (rf & 1) {
    const _r56 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1, " \u00A0\u00A0\u00A0\u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](2, "input", 63);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function ClientesComponent_div_16_ng_container_85_Template_input_change_2_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r56);
      const ctx_r55 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r55.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](3, "\u00A0\u00A0RIAS ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerEnd"]();
  }
}
function ClientesComponent_div_16_span_95_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_96_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_109_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 59);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_span_110_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 60);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
}
function ClientesComponent_div_16_button_116_Template(rf, ctx) {
  if (rf & 1) {
    const _r58 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "button", 64);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function ClientesComponent_div_16_button_116_Template_button_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r58);
      const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r57.onSubmit());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 65);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](2, "\u00A0\u00A0Crear cliente ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r49 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("disabled", !ctx_r49.formularioCorrecto);
  }
}
function ClientesComponent_div_16_button_117_Template(rf, ctx) {
  if (rf & 1) {
    const _r60 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "button", 64);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function ClientesComponent_div_16_button_117_Template_button_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r60);
      const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r59.onUpdate());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "i", 65);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](2, "\u00A0\u00A0Actualizar cliente ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("disabled", !ctx_r50.formularioCorrecto || !ctx_r50.hayCambios);
  }
}
const _c0 = a0 => ({
  "d-none": a0
});
function ClientesComponent_div_16_Template(rf, ctx) {
  if (rf & 1) {
    const _r62 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 11);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](1, ClientesComponent_div_16_label_1_Template, 2, 0, "label", 31)(2, ClientesComponent_div_16_label_2_Template, 2, 0, "label", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](3, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "form", 32)(5, "div", 33)(6, "div", 34)(7, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](8, " Razon social \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](9, ClientesComponent_div_16_span_9_Template, 2, 0, "span", 22)(10, ClientesComponent_div_16_span_10_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](11, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](12, "input", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("input", function ClientesComponent_div_16_Template_input_input_12_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r61 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r61.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](13, "div", 34)(14, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](15, " Representante legal \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](16, ClientesComponent_div_16_span_16_Template, 2, 0, "span", 22)(17, ClientesComponent_div_16_span_17_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](18, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](19, "input", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("input", function ClientesComponent_div_16_Template_input_input_19_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r63 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r63.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](20, "div", 34)(21, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](22, " Correo electr\u00F3nico \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](23, ClientesComponent_div_16_span_23_Template, 2, 0, "span", 22)(24, ClientesComponent_div_16_span_24_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](25, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](26, "input", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("input", function ClientesComponent_div_16_Template_input_input_26_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r64 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r64.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](27, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](28, "div", 33)(29, "div", 34)(30, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](31, " Departamento \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](32, ClientesComponent_div_16_span_32_Template, 2, 0, "span", 22)(33, ClientesComponent_div_16_span_33_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](34, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](35, "mat-select", 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("selectionChange", function ClientesComponent_div_16_Template_mat_select_selectionChange_35_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      ctx_r65.gestionarMunicipios();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r65.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](36, ClientesComponent_div_16_mat_option_36_Template, 2, 2, "mat-option", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](37, "div", 34)(38, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](39, " Municipio \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](40, ClientesComponent_div_16_span_40_Template, 2, 0, "span", 22)(41, ClientesComponent_div_16_span_41_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](42, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](43, "mat-select", 41);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("selectionChange", function ClientesComponent_div_16_Template_mat_select_selectionChange_43_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r66 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      ctx_r66.gestionarMunicipios();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r66.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](44, ClientesComponent_div_16_mat_option_44_Template, 2, 2, "mat-option", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](45, "div", 34)(46, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](47, " Direcci\u00F3n \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](48, ClientesComponent_div_16_span_48_Template, 2, 0, "span", 22)(49, ClientesComponent_div_16_span_49_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](50, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](51, "input", 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("input", function ClientesComponent_div_16_Template_input_input_51_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r67 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r67.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](52, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](53, "div", 33)(54, "div", 34)(55, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](56, " Fecha de inicio \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](57, ClientesComponent_div_16_span_57_Template, 2, 0, "span", 22)(58, ClientesComponent_div_16_span_58_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](59, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](60, "input", 43);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("input", function ClientesComponent_div_16_Template_input_input_60_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r68 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      ctx_r68.gestionarFechaInicio();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r68.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](61, "div", 34)(62, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](63, " Fecha de fin \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](64, ClientesComponent_div_16_span_64_Template, 2, 0, "span", 22)(65, ClientesComponent_div_16_span_65_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](66, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](67, "input", 44);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("input", function ClientesComponent_div_16_Template_input_input_67_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r69 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      ctx_r69.gestionarFechaFin();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r69.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](68, "div", 34)(69, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](70, " Usuarios disponibles \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](71, ClientesComponent_div_16_span_71_Template, 2, 0, "span", 22)(72, ClientesComponent_div_16_span_72_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](73, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](74, "input", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function ClientesComponent_div_16_Template_input_change_74_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r70 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      ctx_r70.gestionarNumeroUsuarios();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r70.revisarFormulario());
    })("input", function ClientesComponent_div_16_Template_input_input_74_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r71 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r71.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](75, "br")(76, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](77, "div", 33)(78, "div", 46)(79, "label", 47);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](80, " M\u00F3dulos habilitados ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](81, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](82, ClientesComponent_div_16_ng_container_82_Template, 3, 0, "ng-container", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](83, "input", 48);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function ClientesComponent_div_16_Template_input_change_83_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r72 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r72.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](84, "\u00A0\u00A0PAMEC ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](85, ClientesComponent_div_16_ng_container_85_Template, 4, 0, "ng-container", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](86, " \u00A0\u00A0\u00A0\u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](87, "input", 49);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function ClientesComponent_div_16_Template_input_change_87_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r73 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r73.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](88, "\u00A0\u00A0SUH 3100 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](89, "br")(90, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](91, "div", 33)(92, "div", 46)(93, "label", 47);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](94, " \u00BFEl cliente tiene acceso a almacenamiento en la nube? \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](95, ClientesComponent_div_16_span_95_Template, 2, 0, "span", 22)(96, ClientesComponent_div_16_span_96_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](97, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](98, "div", 50)(99, "input", 51);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function ClientesComponent_div_16_Template_input_change_99_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r74 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r74.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](100, "\u00A0\u00A0Si \u00A0\u00A0\u00A0\u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](101, "input", 52);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function ClientesComponent_div_16_Template_input_change_101_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r75 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r75.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](102, "\u00A0\u00A0No ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](103, "div", 53);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](104, "br")(105, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](106, "div", 14)(107, "label", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](108, " \u00BFEste cliente est\u00E1 activo en la aplicaci\u00F3n Verifica? \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](109, ClientesComponent_div_16_span_109_Template, 2, 0, "span", 22)(110, ClientesComponent_div_16_span_110_Template, 2, 0, "span", 22);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](111, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](112, "input", 54);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function ClientesComponent_div_16_Template_input_change_112_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r76 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r76.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](113, "br")(114, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](115, "div", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](116, ClientesComponent_div_16_button_116_Template, 3, 1, "button", 55)(117, ClientesComponent_div_16_button_117_Template, 3, 1, "button", 55);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](118, "button", 56);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function ClientesComponent_div_16_Template_button_click_118_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r62);
      const ctx_r77 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r77.gestionarModoCreacion(false));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](119, "i", 57);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](120, "\u00A0\u00A0Regresar ");
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()();
  }
  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.idCliente === undefined);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.idCliente !== undefined);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("formGroup", ctx_r1.formulario);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["razonSocial"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["razonSocial"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["representanteLegal"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["representanteLegal"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["correo"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["correo"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["departamento"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["departamento"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngForOf", ctx_r1.departamentos);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["municipio"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["municipio"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngForOf", ctx_r1.municipios);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["direccion"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["direccion"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["fechaInicio"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["fechaInicio"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["fechaFin"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["fechaFin"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["numeroUsuarios"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["numeroUsuarios"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](10);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", false);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", false);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](10);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["almacenamientoNube"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["almacenamientoNube"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](7);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpureFunction1"](32, _c0, ctx_r1.idCliente === undefined));
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx_r1.f["activo"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.f["activo"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.idCliente === undefined);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r1.idCliente !== undefined);
  }
}
class ClientesComponent {
  constructor(clientesService, snackBar) {
    this.clientesService = clientesService;
    this.snackBar = snackBar;
    this.cerrarModulo = new _angular_core__WEBPACK_IMPORTED_MODULE_5__.EventEmitter();
    // Opciones para Datatables de JQuery
    this.opcionesTabla = {
      pagingType: 'full_numbers',
      lengthMenu: [[5, 10, 25, 50], [5, 10, 25, 50]],
      pageLength: 5,
      language: {
        url: "//cdn.datatables.net/plug-ins/1.10.15/i18n/Spanish.json"
      }
    };
    this.departamentos = __webpack_require__(/*! src/app/util/parametrosJSON/departamentos.json */ 5385);
    this.municipiosCompleto = __webpack_require__(/*! src/app/util/parametrosJSON/municipios.json */ 9937);
    this.municipios = [];
    this.departamentos.sort(function (a, b) {
      return a.dep_nombre < b.dep_nombre ? -1 : 1;
    });
    this.formulario = new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormGroup({
      razonSocial: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      representanteLegal: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      correo: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, [_angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.email]),
      departamento: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      municipio: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, null),
      direccion: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      fechaInicio: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      fechaFin: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      numeroUsuarios: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      auditoriaCalidad: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      pamec: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      rias: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      suh3100: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      almacenamientoNube: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required),
      activo: new _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.Validators.required)
    });
    this.f['auditoriaCalidad'].setValue(false);
    this.f['pamec'].setValue(false);
    this.f['rias'].setValue(false);
    this.f['suh3100'].setValue(false);
    this.f['activo'].setValue(true);
    this.clientes = [];
    this.modoCreacion = false;
    this.verClientesInactivos = false;
    this.rerender = false;
    this.formularioCorrecto = false;
    this.hayCambios = false;
  }
  get f() {
    return this.formulario.controls;
  }
  ngOnInit() {
    var _this = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      yield _this.clientesService.actualizarJWTHeaders();
      setTimeout(() => {
        _this.pantallaEspera?.activarModoEspera();
      });
      _this.obtenerClientesActivos().add(() => {
        setTimeout(() => {
          _this.rerender = true;
          _this.pantallaEspera?.desactivarModoEspera();
        }, 200);
      });
    })();
  }
  obtenerClientesActivos() {
    return this.clientesService.obtenerClientesActivos().subscribe({
      next: resp => {
        this.clientes = [...resp];
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  obtenerClientesInactivos() {
    return this.clientesService.obtenerClientesInactivos().subscribe({
      next: resp => {
        this.clientes = resp;
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  onSubmit() {
    setTimeout(() => {
      this.pantallaEspera?.activarModoEspera();
    });
    const descripcionDepto = this.departamentos.filter(x => {
      return +x.dep_pk_id === +this.f['departamento'].value;
    })[0].dep_nombre;
    let descripcionMunicipio = null;
    if (this.f['municipio'].value !== null) {
      descripcionMunicipio = this.municipiosCompleto.filter(x => {
        return +x.mun_pk_id === +this.f['municipio'].value;
      })[0].mun_nombre;
    }
    const cliente = {
      cli_pk_id: this.idCliente,
      cli_razon_social: this.f['razonSocial'].value,
      cli_rep_legal: this.f['representanteLegal'].value,
      cli_email: this.f['correo'].value,
      dep_fk_id: this.f['departamento'].value,
      dep_nombre: descripcionDepto,
      mun_fk_id: this.f['municipio'].value,
      mun_nombre: descripcionMunicipio,
      cli_direccion: this.f['direccion'].value,
      cli_fecha_inicio: this.f['fechaInicio'].value,
      cli_fecha_fin: this.f['fechaFin'].value,
      cli_numero_usuarios: this.f['numeroUsuarios'].value,
      cli_mod_suh_3100: this.f['suh3100'].value,
      cli_mod_aud_calidad: this.f['auditoriaCalidad'].value,
      cli_mod_rias: this.f['rias'].value,
      cli_mod_pamec: this.f['pamec'].value,
      cli_almacenamiento_nube: +this.f['almacenamientoNube'].value === 1 ? true : false
    };
    this.clientesService.crearCliente(cliente).subscribe({
      next: resp => {
        this.idCliente = resp[0].toString();
        cliente['cli_pk_id'] = this.idCliente;
        const hoy = new Date();
        hoy.setHours(0);
        hoy.setMinutes(0);
        hoy.setSeconds(0);
        hoy.setMilliseconds(0);
        const fechaInicio = new Date(this.f['fechaInicio'].value);
        fechaInicio.setMinutes(fechaInicio.getMinutes() + fechaInicio.getTimezoneOffset());
        fechaInicio.setHours(0);
        fechaInicio.setMinutes(0);
        fechaInicio.setSeconds(0);
        fechaInicio.setMilliseconds(0);
        if (fechaInicio <= hoy) {
          this.clientes.push(cliente);
        }
        this.hayCambios = false;
        setTimeout(() => {
          this.pantallaEspera?.desactivarModoEspera();
        });
        if (resp[1] === undefined || resp[1] === null || resp[1] === '') {
          this.snackBar.open('El cliente fue creado exitosamente', 'Cerrar', {
            duration: 5000
          });
        } else {
          this.snackBar.open(`El cliente fue creado exitosamente, sin embargo se reporta una novedad: ` + resp[1], 'Cerrar', {
            duration: 5000
          });
        }
      },
      error: e => {
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  onUpdate() {
    setTimeout(() => {
      this.pantallaEspera?.activarModoEspera();
    });
    const descripcionDepto = this.departamentos.filter(x => {
      return +x.dep_pk_id === +this.f['departamento'].value;
    })[0].dep_nombre;
    let descripcionMunicipio = null;
    if (this.f['municipio'].value !== null) {
      descripcionMunicipio = this.municipiosCompleto.filter(x => {
        return +x.mun_pk_id === +this.f['municipio'].value;
      })[0].mun_nombre;
    }
    const cliente = {
      cli_pk_id: this.idCliente,
      cli_razon_social: this.f['razonSocial'].value,
      cli_rep_legal: this.f['representanteLegal'].value,
      cli_email: this.f['correo'].value,
      dep_fk_id: this.f['departamento'].value,
      dep_nombre: descripcionDepto,
      mun_fk_id: this.f['municipio'].value,
      mun_nombre: descripcionMunicipio,
      cli_direccion: this.f['direccion'].value,
      cli_fecha_inicio: this.f['fechaInicio'].value,
      cli_fecha_fin: this.f['fechaFin'].value,
      cli_numero_usuarios: this.f['numeroUsuarios'].value,
      cli_mod_suh_3100: this.f['suh3100'].value,
      cli_mod_aud_calidad: this.f['auditoriaCalidad'].value,
      cli_mod_rias: this.f['rias'].value,
      cli_mod_pamec: this.f['pamec'].value,
      cli_almacenamiento_nube: +this.f['almacenamientoNube'].value === 1 ? true : false,
      cli_activo: this.f['activo'].value
    };
    this.clientesService.actualizarCliente(this.idCliente, cliente).subscribe({
      next: () => {
        this.hayCambios = false;
        this.clientes = this.clientes.filter(x => {
          return +x.cli_pk_id !== +this.idCliente;
        });
        const hoy = new Date();
        hoy.setHours(0);
        hoy.setMinutes(0);
        hoy.setSeconds(0);
        hoy.setMilliseconds(0);
        const fechaInicio = new Date(this.f['fechaInicio'].value);
        fechaInicio.setMinutes(fechaInicio.getMinutes() + fechaInicio.getTimezoneOffset());
        fechaInicio.setHours(0);
        fechaInicio.setMinutes(0);
        fechaInicio.setSeconds(0);
        fechaInicio.setMilliseconds(0);
        const fechaFin = new Date(this.f['fechaFin'].value);
        fechaFin.setMinutes(fechaInicio.getMinutes() + fechaInicio.getTimezoneOffset());
        fechaFin.setHours(0);
        fechaFin.setMinutes(0);
        fechaFin.setSeconds(0);
        fechaFin.setMilliseconds(0);
        if (this.verClientesInactivos) {
          if (hoy < fechaInicio || hoy > fechaFin || !cliente['cli_activo']) {
            this.clientes.push(cliente);
          }
        } else {
          if (hoy >= fechaInicio && hoy <= fechaFin && cliente['cli_activo']) {
            this.clientes.push(cliente);
          }
        }
        setTimeout(() => {
          this.pantallaEspera?.desactivarModoEspera();
        });
        this.snackBar.open('El cliente fue actualizado exitosamente', 'Cerrar', {
          duration: 5000
        });
      },
      error: e => {
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  prepararActualizacion(cli, indice) {
    this.gestionarModoCreacion(true);
    this.idCliente = cli.cli_pk_id;
    this.indiceCliente = indice;
    this.f['razonSocial'].setValue(cli.cli_razon_social);
    this.f['representanteLegal'].setValue(cli.cli_rep_legal);
    this.f['correo'].setValue(cli.cli_email);
    this.f['departamento'].setValue(cli.dep_fk_id.toString());
    this.gestionarMunicipios();
    if (cli.mun_fk_id !== null) {
      this.f['municipio'].setValue(cli.mun_fk_id.toString());
    }
    this.f['direccion'].setValue(cli.cli_direccion);
    this.f['fechaInicio'].setValue(cli.cli_fecha_inicio);
    this.f['fechaFin'].setValue(cli.cli_fecha_fin);
    this.f['numeroUsuarios'].setValue(cli.cli_numero_usuarios);
    this.f['suh3100'].setValue(cli.cli_mod_suh_3100);
    this.f['auditoriaCalidad'].setValue(cli.cli_mod_aud_calidad);
    this.f['rias'].setValue(cli.cli_mod_rias);
    this.f['pamec'].setValue(cli.cli_mod_pamec);
    this.f['almacenamientoNube'].setValue(cli.cli_almacenamiento_nube ? '1' : '0');
    this.f['activo'].setValue(cli.cli_activo);
    this.formularioCorrecto = true;
    this.hayCambios = false;
  }
  gestionarModoCreacion(estado) {
    this.idCliente = undefined;
    this.indiceCliente = undefined;
    this.formulario.reset();
    this.f['activo'].setValue(true);
    this.f['suh3100'].setValue(false);
    this.f['auditoriaCalidad'].setValue(false);
    this.f['rias'].setValue(false);
    this.f['pamec'].setValue(false);
    this.formularioCorrecto = false;
    this.modoCreacion = estado;
  }
  gestionarClientesActivos() {
    this.verClientesInactivos = false;
    setTimeout(() => {
      this.pantallaEspera?.activarModoEspera();
    });
    this.rerender = false;
    this.obtenerClientesActivos().add(() => {
      setTimeout(() => {
        this.rerender = true;
        this.pantallaEspera?.desactivarModoEspera();
      }, 200);
    });
  }
  gestionarClientesInactivos() {
    this.verClientesInactivos = true;
    setTimeout(() => {
      this.pantallaEspera?.activarModoEspera();
    });
    this.rerender = false;
    this.obtenerClientesInactivos().add(() => {
      setTimeout(() => {
        this.rerender = true;
        this.pantallaEspera?.desactivarModoEspera();
      }, 200);
    });
  }
  gestionarMunicipios() {
    this.municipios = [];
    if (this.f['departamento'].value !== null) {
      this.municipios = this.municipiosCompleto.filter(x => {
        return +x.dep_fk_id === +this.f['departamento'].value;
      });
      this.municipios.sort(function (a, b) {
        return a.mun_nombre < b.mun_nombre ? -1 : 1;
      });
    }
  }
  gestionarFechaInicio() {
    if (this.f['fechaInicio'].value !== null && this.f['fechaFin'].value !== null) {
      const fechaInicio = new Date(this.f['fechaInicio'].value);
      const fechaFin = new Date(this.f['fechaFin'].value);
      if (fechaInicio > fechaFin) {
        setTimeout(() => {
          this.f['fechaInicio'].setValue(null);
          this.snackBar.open('La fecha de inicio no puede ser mayor a la fecha de fin', 'Cerrar', {
            duration: 3000
          });
        });
      }
    }
  }
  gestionarFechaFin() {
    if (this.f['fechaInicio'].value !== null && this.f['fechaFin'].value !== null) {
      const fechaInicio = new Date(this.f['fechaInicio'].value);
      const fechaFin = new Date(this.f['fechaFin'].value);
      if (fechaFin < fechaInicio) {
        setTimeout(() => {
          this.f['fechaFin'].setValue(null);
          this.snackBar.open('La fecha de fin no puede ser menor a la fecha de inicio', 'Cerrar', {
            duration: 3000
          });
        });
      }
    }
  }
  gestionarNumeroUsuarios() {
    const numero = +this.f['numeroUsuarios'].value;
    if (isNaN(numero) || !isFinite(numero) || numero < 1) {
      setTimeout(() => {
        this.f['numeroUsuarios'].setValue(null);
        this.snackBar.open('El número de usuario debe ser una valor numérico mayor a cero', 'Cerrar', {
          duration: 3000
        });
      });
    }
  }
  revisarFormulario() {
    if (this.idCliente !== undefined) {
      this.hayCambios = true;
    }
    this.formularioCorrecto = this.formulario.valid;
  }
  static #_ = this.ɵfac = function ClientesComponent_Factory(t) {
    return new (t || ClientesComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_clientes_service__WEBPACK_IMPORTED_MODULE_3__.ClientesService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_7__.MatSnackBar));
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({
    type: ClientesComponent,
    selectors: [["app-clientes"]],
    viewQuery: function ClientesComponent_Query(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵviewQuery"](_util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaComponent, 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵviewQuery"](_util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__.ErrorConexionComponent, 7);
      }
      if (rf & 2) {
        let _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵloadQuery"]()) && (ctx.pantallaEspera = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵloadQuery"]()) && (ctx.errorConexion = _t.first);
      }
    },
    outputs: {
      cerrarModulo: "cerrarModulo"
    },
    decls: 25,
    vars: 4,
    consts: [[1, "header", "position-fixed", "p-3", "bg-tguia-1", "text-light", 2, "width", "calc(100% - 72px) !important", "z-index", "100 !important", "height", "68px"], [1, "va-super"], [1, "fa-solid", "fa-building-user", "fa-xl"], [1, "mt-2", "fs-32"], [1, "va-super", "float-end", "mt-2", "hand-cursor", 3, "click"], [1, "fa-solid", "fa-xmark", "fa-xl"], [1, "w-100", 2, "margin-top", "1%"], [1, "p-3"], [1, "container"], ["class", "appear-effect-fast mt-2", 4, "ngIf"], [3, "identificador"], [1, "appear-effect-fast", "mt-2"], ["class", "fs-26 fw-bold mb-4", 4, "ngIf"], ["datatable", "", "class", "hover stripe glacial-indiferent-font", 3, "dtOptions", 4, "ngIf"], [1, "w-100", "text-center"], ["class", "btn bg-tguia-1 glacial-indiferent-font m-2 text-light", 3, "click", 4, "ngIf"], ["class", "btn bg-tguia-3 glacial-indiferent-font m-2 text-dark", 3, "click", 4, "ngIf"], ["class", "btn bg-tguia-2 glacial-indiferent-font m-2 text-dark", 3, "click", 4, "ngIf"], [1, "fs-26", "fw-bold", "mb-4"], ["datatable", "", 1, "hover", "stripe", "glacial-indiferent-font", 3, "dtOptions"], [1, "text-center"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [1, "btn", "bg-tguia-1", "text-light", 3, "matTooltip", "click"], [1, "fa-solid", "fa-pencil"], [1, "btn", "bg-tguia-1", "glacial-indiferent-font", "m-2", "text-light", 3, "click"], [1, "fa-solid", "fa-plus"], [1, "btn", "bg-tguia-3", "glacial-indiferent-font", "m-2", "text-dark", 3, "click"], [1, "fa-solid", "fa-ban"], [1, "btn", "bg-tguia-2", "glacial-indiferent-font", "m-2", "text-dark", 3, "click"], [1, "fa-solid", "fa-circle-check"], ["class", "glacial-indiferent-font fs-26 fw-bold mb-4", 4, "ngIf"], [3, "formGroup"], [1, "row"], [1, "col-sm-4"], [1, "h6", "glacial-indiferent-font"], ["formControlName", "razonSocial", "type", "text", "maxlength", "450", "placeholder", "Raz\u00F3n social", 1, "form-control", "glacial-indiferent-font", 3, "input"], ["formControlName", "representanteLegal", "type", "text", "maxlength", "200", "placeholder", "Representante", 1, "form-control", "glacial-indiferent-font", 3, "input"], ["formControlName", "correo", "type", "text", "maxlength", "98", "placeholder", "Correo electr\u00F3nico", 1, "form-control", "glacial-indiferent-font", 3, "input"], ["formControlName", "departamento", "placeholder", "Seleccione una opci\u00F3n", 1, "form-control", "glacial-indiferent-font", 3, "selectionChange"], ["class", "glacial-indiferent-font", 3, "value", 4, "ngFor", "ngForOf"], ["formControlName", "municipio", "placeholder", "Seleccione una opci\u00F3n", 1, "form-control", "glacial-indiferent-font", 3, "selectionChange"], ["formControlName", "direccion", "type", "text", "maxlength", "200", "placeholder", "Direcci\u00F3n", 1, "form-control", "glacial-indiferent-font", 3, "input"], ["formControlName", "fechaInicio", "type", "date", 1, "form-control", "glacial-indiferent-font", "text-center", 3, "input"], ["formControlName", "fechaFin", "type", "date", 1, "form-control", "glacial-indiferent-font", "text-center", 3, "input"], ["formControlName", "numeroUsuarios", "type", "number", "placeholder", "N\u00FAmero de usuarios", 1, "form-control", "glacial-indiferent-font", "text-center", 3, "change", "input"], [1, "col-sm-12", "text-center"], [1, "h6", "glacial-indiferent-font", "mb-2"], ["formControlName", "pamec", "type", "checkbox", 1, "fs-16", 3, "change"], ["formControlName", "suh3100", "type", "checkbox", 1, "fs-16", 3, "change"], [1, "fs-18"], ["formControlName", "almacenamientoNube", "type", "radio", "value", "1", "name", "almacenamientoNube", 3, "change"], ["formControlName", "almacenamientoNube", "type", "radio", "value", "0", "name", "almacenamientoNube", 3, "change"], [3, "ngClass"], ["formControlName", "activo", "type", "checkbox", 3, "change"], ["class", "btn bg-tguia-1 glacial-indiferent-font m-2 text-light", 3, "disabled", "click", 4, "ngIf"], [1, "btn", "bg-tguia-3", "glacial-indiferent-font", "m-2", 3, "click"], [1, "fa-solid", "fa-rotate-left"], [1, "glacial-indiferent-font", "fs-26", "fw-bold", "mb-4"], [1, "fa-solid", "fa-times", "text-danger"], [1, "fa-solid", "fa-check", "text-success"], [1, "glacial-indiferent-font", 3, "value"], ["formControlName", "auditoriaCalidad", "type", "checkbox", 1, "fs-16", 3, "change"], ["formControlName", "rias", "type", "checkbox", 1, "fs-16", 3, "change"], [1, "btn", "bg-tguia-1", "glacial-indiferent-font", "m-2", "text-light", 3, "disabled", "click"], [1, "fa-solid", "fa-save"]],
    template: function ClientesComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 0)(1, "label", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](2, "i", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](3, " \u00A0 ");
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "label", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](5, "Clientes");
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](6, "label", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function ClientesComponent_Template_label_click_6_listener() {
          return ctx.cerrarModulo.emit();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](7, "i", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()();
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](8, "br")(9, "br")(10, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](11, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](12, "\u00A0");
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](13, "div", 7)(14, "div", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](15, ClientesComponent_div_15_Template, 10, 6, "div", 9)(16, ClientesComponent_div_16_Template, 121, 34, "div", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](17, "br")(18, "br")(19, "br")(20, "br")(21, "br")(22, "br")(23, "app-pantalla-espera", 10)(24, "app-error-conexion", 10);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]();
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](15);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", !ctx.modoCreacion);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.modoCreacion);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](7);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("identificador", "clientes_adm_pe");
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("identificador", "clientes_adm_ec");
      }
    },
    dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.NumberValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.CheckboxControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.RadioControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.MaxLengthValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormControlName, angular_datatables__WEBPACK_IMPORTED_MODULE_4__.DataTableDirective, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_9__.MatTooltip, _angular_material_select__WEBPACK_IMPORTED_MODULE_10__.MatSelect, _angular_material_core__WEBPACK_IMPORTED_MODULE_11__.MatOption, _util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaComponent, _util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__.ErrorConexionComponent],
    styles: ["/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */"]
  });
}

/***/ }),

/***/ 5433:
/*!*********************************************!*\
  !*** ./src/app/clientes/clientes.module.ts ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClientesModule: () => (/* binding */ ClientesModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _clientes_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clientes.component */ 8083);
/* harmony import */ var angular_datatables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angular-datatables */ 8588);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ 8849);
/* harmony import */ var _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/pantalla-espera/pantalla-espera.module */ 5863);
/* harmony import */ var _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/error-conexion/error-conexion.module */ 145);
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/snack-bar */ 9409);
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/select */ 6355);
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/tooltip */ 702);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 1699);










class ClientesModule {
  static #_ = this.ɵfac = function ClientesModule_Factory(t) {
    return new (t || ClientesModule)();
  };
  static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
    type: ClientesModule
  });
  static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.ReactiveFormsModule, angular_datatables__WEBPACK_IMPORTED_MODULE_1__.DataTablesModule, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_7__.MatTooltipModule, _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_8__.MatSnackBarModule, _angular_material_select__WEBPACK_IMPORTED_MODULE_9__.MatSelectModule, _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaModule, _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__.ErrorConexionModule]
  });
}
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](ClientesModule, {
    declarations: [_clientes_component__WEBPACK_IMPORTED_MODULE_0__.ClientesComponent],
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.ReactiveFormsModule, angular_datatables__WEBPACK_IMPORTED_MODULE_1__.DataTablesModule, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_7__.MatTooltipModule, _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_8__.MatSnackBarModule, _angular_material_select__WEBPACK_IMPORTED_MODULE_9__.MatSelectModule, _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaModule, _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_3__.ErrorConexionModule],
    exports: [_clientes_component__WEBPACK_IMPORTED_MODULE_0__.ClientesComponent]
  });
})();

/***/ }),

/***/ 8994:
/*!********************************************!*\
  !*** ./src/app/root/app-routing.module.ts ***!
  \********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AppRoutingModule: () => (/* binding */ AppRoutingModule)
/* harmony export */ });
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 7947);
/* harmony import */ var _area_trabajo_area_trabajo_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../area-trabajo/area-trabajo.component */ 1517);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 1699);




const routes = [{
  path: 'app',
  component: _area_trabajo_area_trabajo_component__WEBPACK_IMPORTED_MODULE_0__.AreaTrabajoComponent
},
// Redirección al área de trabajo del aplicativo
{
  path: '',
  redirectTo: 'app',
  pathMatch: 'full'
}, {
  path: '**',
  redirectTo: 'app',
  pathMatch: 'full'
}];
class AppRoutingModule {
  static #_ = this.ɵfac = function AppRoutingModule_Factory(t) {
    return new (t || AppRoutingModule)();
  };
  static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
    type: AppRoutingModule
  });
  static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
    imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule.forRoot(routes, {
      onSameUrlNavigation: 'reload',
      useHash: true
    }), _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule]
  });
}
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](AppRoutingModule, {
    imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule],
    exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule]
  });
})();

/***/ }),

/***/ 6005:
/*!***************************************!*\
  !*** ./src/app/root/app.component.ts ***!
  \***************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AppComponent: () => (/* binding */ AppComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 7947);


class AppComponent {
  constructor() {
    this.title = 'TGUIA-IV';
  }
  static #_ = this.ɵfac = function AppComponent_Factory(t) {
    return new (t || AppComponent)();
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
    type: AppComponent,
    selectors: [["app-root"]],
    decls: 1,
    vars: 0,
    template: function AppComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "router-outlet");
      }
    },
    dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_1__.RouterOutlet],
    styles: ["/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */"]
  });
}

/***/ }),

/***/ 3753:
/*!************************************!*\
  !*** ./src/app/root/app.module.ts ***!
  \************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AppModule: () => (/* binding */ AppModule)
/* harmony export */ });
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/platform-browser */ 6480);
/* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app-routing.module */ 8994);
/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app.component */ 6005);
/* harmony import */ var _area_trabajo_area_trabajo_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../area-trabajo/area-trabajo.module */ 7746);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common/http */ 4860);
/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/platform-browser/animations */ 4987);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 1699);







class AppModule {
  static #_ = this.ɵfac = function AppModule_Factory(t) {
    return new (t || AppModule)();
  };
  static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({
    type: AppModule,
    bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_1__.AppComponent]
  });
  static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({
    imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__.BrowserModule, _app_routing_module__WEBPACK_IMPORTED_MODULE_0__.AppRoutingModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_5__.BrowserAnimationsModule, _angular_common_http__WEBPACK_IMPORTED_MODULE_6__.HttpClientModule, _area_trabajo_area_trabajo_module__WEBPACK_IMPORTED_MODULE_2__.AreaTrabajoModule]
  });
}
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](AppModule, {
    declarations: [_app_component__WEBPACK_IMPORTED_MODULE_1__.AppComponent],
    imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__.BrowserModule, _app_routing_module__WEBPACK_IMPORTED_MODULE_0__.AppRoutingModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_5__.BrowserAnimationsModule, _angular_common_http__WEBPACK_IMPORTED_MODULE_6__.HttpClientModule, _area_trabajo_area_trabajo_module__WEBPACK_IMPORTED_MODULE_2__.AreaTrabajoModule]
  });
})();

/***/ }),

/***/ 9130:
/*!********************************************!*\
  !*** ./src/app/services/acceso.service.ts ***!
  \********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AccesoService: () => (/* binding */ AccesoService)
/* harmony export */ });
/* harmony import */ var C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ 4860);
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/environments/environment */ 553);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _crypto_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./crypto.service */ 1952);






class AccesoService {
  constructor(http, cryptoService) {
    this.http = http;
    this.cryptoService = cryptoService;
    this.urlAutenticarUsuarioAdministrador = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/acceso/autenticarUsuarioAdministrador';
    this.urlVerificarCodigoAccesoUsuario = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/acceso/verificarCodigoAccesoUsuario';
    this.urlReenviarCodigoVerificacionUsuario = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/acceso/reenviarCodigoVerificacionUsuario';
    this.urlValidarTokenUsuario = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/acceso/validarTokenUsuario';
    this.urlEnviarRecuperacionContrasena = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/acceso/enviarRecuperacionContrasena';
    this.headers = null;
  }
  actualizarJWTHeaders() {
    var _this = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      try {
        const cryptoKey = yield _this.cryptoService.getStoredKey();
        const cryptoIv = _this.cryptoService.getStoredIv();
        const tokenEncriptado = _this.cryptoService.stringToArrayBuffer(sessionStorage.getItem('tap'));
        const tokenFinal = yield _this.cryptoService.decrypt(tokenEncriptado, cryptoKey, cryptoIv);
        _this.headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_3__.HttpHeaders({
          'Accept': 'application/json',
          'Authorization': tokenFinal
        });
      } catch {
        _this.headers = null;
      }
    })();
  }
  autenticarUsuario(email, password) {
    return this.http.post(this.urlAutenticarUsuarioAdministrador, {
      email,
      password
    });
  }
  verificarCodigoAccesoUsuario(id, codigo) {
    return this.http.post(this.urlVerificarCodigoAccesoUsuario, {
      id,
      codigo
    });
  }
  reenviarCodigoVerificacionUsuario(id) {
    return this.http.post(this.urlReenviarCodigoVerificacionUsuario, {
      id
    });
  }
  validarTokenUsuario() {
    return this.http.get(this.urlValidarTokenUsuario, {
      headers: this.headers
    });
  }
  enviarRecuperacionContrasena(email) {
    email = email.trim();
    return this.http.post(this.urlEnviarRecuperacionContrasena, {
      email
    });
  }
  static #_ = this.ɵfac = function AccesoService_Factory(t) {
    return new (t || AccesoService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__.HttpClient), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_crypto_service__WEBPACK_IMPORTED_MODULE_2__.CryptoService));
  };
  static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
    token: AccesoService,
    factory: AccesoService.ɵfac,
    providedIn: 'root'
  });
}

/***/ }),

/***/ 9306:
/*!**********************************************!*\
  !*** ./src/app/services/clientes.service.ts ***!
  \**********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClientesService: () => (/* binding */ ClientesService)
/* harmony export */ });
/* harmony import */ var C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ 4860);
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/environments/environment */ 553);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _crypto_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./crypto.service */ 1952);






class ClientesService {
  constructor(http, cryptoService) {
    this.http = http;
    this.cryptoService = cryptoService;
    this.urlObtenerClientes = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/clientes/obtenerClientes';
    this.urlObtenerClientesActivos = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/clientes/obtenerClientesActivos';
    this.urlObtenerClientesInactivos = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/clientes/obtenerClientesInactivos';
    this.urlCrearCliente = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/clientes/crearCliente';
    this.urlActualizarCliente = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/clientes/actualizarCliente';
    this.headers = null;
  }
  actualizarJWTHeaders() {
    var _this = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      try {
        const cryptoKey = yield _this.cryptoService.getStoredKey();
        const cryptoIv = _this.cryptoService.getStoredIv();
        const tokenEncriptado = _this.cryptoService.stringToArrayBuffer(sessionStorage.getItem('tap'));
        const tokenFinal = yield _this.cryptoService.decrypt(tokenEncriptado, cryptoKey, cryptoIv);
        _this.headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_3__.HttpHeaders({
          'Accept': 'application/json',
          'Authorization': tokenFinal
        });
      } catch {
        _this.headers = null;
      }
    })();
  }
  obtenerClientes() {
    return this.http.get(this.urlObtenerClientes, {
      headers: this.headers
    });
  }
  obtenerClientesActivos() {
    return this.http.get(this.urlObtenerClientesActivos, {
      headers: this.headers
    });
  }
  obtenerClientesInactivos() {
    return this.http.get(this.urlObtenerClientesInactivos, {
      headers: this.headers
    });
  }
  crearCliente(datos) {
    return this.http.post(this.urlCrearCliente, datos, {
      headers: this.headers
    });
  }
  actualizarCliente(id, datos) {
    return this.http.put(this.urlActualizarCliente + '/' + id, datos, {
      headers: this.headers
    });
  }
  static #_ = this.ɵfac = function ClientesService_Factory(t) {
    return new (t || ClientesService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__.HttpClient), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_crypto_service__WEBPACK_IMPORTED_MODULE_2__.CryptoService));
  };
  static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
    token: ClientesService,
    factory: ClientesService.ɵfac,
    providedIn: 'root'
  });
}

/***/ }),

/***/ 1952:
/*!********************************************!*\
  !*** ./src/app/services/crypto.service.ts ***!
  \********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CryptoService: () => (/* binding */ CryptoService)
/* harmony export */ });
/* harmony import */ var C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 1699);


class CryptoService {
  constructor() {
    this.crypto = window.crypto || window.msCrypto;
  }
  generateKey() {
    var _this = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      const key = yield _this.crypto.subtle.generateKey({
        name: 'AES-GCM',
        length: 256
      }, true, ['encrypt', 'decrypt']);
      return yield _this.getRawKey(key);
    })();
  }
  getRawKey(key) {
    var _this2 = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      return yield _this2.crypto.subtle.exportKey('raw', key);
    })();
  }
  generateIv() {
    const iv = this.crypto.getRandomValues(new Uint8Array(12));
    return this.arrayBufferToString(iv);
  }
  getStoredKey() {
    var _this3 = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      // Obtiene la clave almacenada desde sessionStorage
      const storedKey = sessionStorage.getItem('ek');
      if (storedKey) {
        // Convierte la clave almacenada de nuevo a un ArrayBuffer
        const keyArray = JSON.parse(storedKey);
        const keyBuffer = new Uint8Array(keyArray).buffer;
        // Importa la clave desde el ArrayBuffer
        const importedKey = yield _this3.crypto.subtle.importKey('raw', keyBuffer, {
          name: 'AES-GCM'
        }, true, ['encrypt', 'decrypt']);
        return importedKey;
      }
      return null;
    })();
  }
  getStoredIv() {
    return this.stringToArrayBuffer(sessionStorage.getItem('iv'));
  }
  arrayBufferToString(buffer) {
    const uint8Array = new Uint8Array(buffer);
    const stringArray = Array.from(uint8Array);
    return String.fromCharCode.apply(null, stringArray);
  }
  stringToArrayBuffer(str) {
    const buffer = new ArrayBuffer(str.length);
    const uint8Array = new Uint8Array(buffer);
    for (let i = 0; i < str.length; i++) {
      uint8Array[i] = str.charCodeAt(i);
    }
    return buffer;
  }
  encrypt(data, key, iv) {
    var _this4 = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      const encodedData = new TextEncoder().encode(data);
      const encryptedData = yield _this4.crypto.subtle.encrypt({
        name: 'AES-GCM',
        iv
      }, key, encodedData);
      return encryptedData;
    })();
  }
  decrypt(encryptedData, key, iv) {
    var _this5 = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      const decryptedData = yield _this5.crypto.subtle.decrypt({
        name: 'AES-GCM',
        iv
      }, key, encryptedData);
      const decodedData = new TextDecoder().decode(decryptedData);
      return decodedData;
    })();
  }
  static #_ = this.ɵfac = function CryptoService_Factory(t) {
    return new (t || CryptoService)();
  };
  static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
    token: CryptoService,
    factory: CryptoService.ɵfac,
    providedIn: 'root'
  });
}

/***/ }),

/***/ 2759:
/*!**********************************************!*\
  !*** ./src/app/services/usuarios.service.ts ***!
  \**********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   UsuariosService: () => (/* binding */ UsuariosService)
/* harmony export */ });
/* harmony import */ var C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ 4860);
/* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/environments/environment */ 553);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _crypto_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./crypto.service */ 1952);






class UsuariosService {
  constructor(http, cryptoService) {
    this.http = http;
    this.cryptoService = cryptoService;
    this.urlObtenerUsuarioResponsableEntidad = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/usuarios/obtenerUsuarioResponsableEntidad';
    this.urlVerificarExistenciaCorreoElectronico = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/usuarios/verificarExistenciaCorreoElectronico';
    this.urlVerificarExistenciaCorreoElectronicoActualizacion = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/usuarios/verificarExistenciaCorreoElectronicoActualizacion';
    this.urlRegistrarUsuario = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/usuarios/registrarUsuario';
    this.urlActualizarUsuario = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/usuarios/actualizarUsuario';
    this.urlReenviarVerificacionCorreo = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.laravel + '/api/v1/usuarios/reenviarVerificacionCorreo';
    this.headers = null;
  }
  actualizarJWTHeaders() {
    var _this = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      try {
        const cryptoKey = yield _this.cryptoService.getStoredKey();
        const cryptoIv = _this.cryptoService.getStoredIv();
        const tokenEncriptado = _this.cryptoService.stringToArrayBuffer(sessionStorage.getItem('tap'));
        const tokenFinal = yield _this.cryptoService.decrypt(tokenEncriptado, cryptoKey, cryptoIv);
        _this.headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_3__.HttpHeaders({
          'Accept': 'application/json',
          'Authorization': tokenFinal
        });
      } catch {
        _this.headers = null;
      }
    })();
  }
  obtenerUsuarioResponsableEntidad(idCliente) {
    return this.http.get(this.urlObtenerUsuarioResponsableEntidad + '/' + idCliente, {
      headers: this.headers
    });
  }
  verificarExistenciaCorreoElectronico(email) {
    return this.http.post(this.urlVerificarExistenciaCorreoElectronico, {
      email
    }, {
      headers: this.headers
    });
  }
  verificarExistenciaCorreoElectronicoActualizacion(email, emailOriginal) {
    return this.http.post(this.urlVerificarExistenciaCorreoElectronicoActualizacion, {
      email,
      emailOriginal
    }, {
      headers: this.headers
    });
  }
  registrarUsuario(email, name, tdo_fk_id, usu_documento, usu_cargo, cli_fk_id) {
    const datos = {
      email,
      name,
      rol_fk_id: 2,
      tdo_fk_id,
      usu_documento,
      usu_cargo,
      cli_fk_id
    };
    return this.http.post(this.urlRegistrarUsuario, datos, {
      headers: this.headers
    });
  }
  actualizarUsuario(id, email, name, tdo_fk_id, usu_documento, usu_cargo, cli_fk_id) {
    const datos = {
      email,
      name,
      rol_fk_id: 2,
      tdo_fk_id,
      usu_documento,
      usu_cargo,
      usu_activo: true
    };
    return this.http.put(this.urlActualizarUsuario + '/' + id, datos, {
      headers: this.headers
    });
  }
  reenviarCorreoVerificacion(idUsuario) {
    return this.http.put(this.urlReenviarVerificacionCorreo + '/' + idUsuario, {}, {
      headers: this.headers
    });
  }
  static #_ = this.ɵfac = function UsuariosService_Factory(t) {
    return new (t || UsuariosService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__.HttpClient), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_crypto_service__WEBPACK_IMPORTED_MODULE_2__.CryptoService));
  };
  static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
    token: UsuariosService,
    factory: UsuariosService.ɵfac,
    providedIn: 'root'
  });
}

/***/ }),

/***/ 4332:
/*!************************************************!*\
  !*** ./src/app/usuarios/usuarios.component.ts ***!
  \************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   UsuariosComponent: () => (/* binding */ UsuariosComponent)
/* harmony export */ });
/* harmony import */ var C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ 8849);
/* harmony import */ var _util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/error-conexion/error-conexion.component */ 7641);
/* harmony import */ var _util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/pantalla-espera/pantalla-espera.component */ 4976);
/* harmony import */ var _services_clientes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../services/clientes.service */ 9306);
/* harmony import */ var _services_usuarios_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../services/usuarios.service */ 2759);
/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/snack-bar */ 9409);
/* harmony import */ var _util_helpers_WindowScroll__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/helpers/WindowScroll */ 3372);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var angular_datatables__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! angular-datatables */ 8588);
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/tooltip */ 702);
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/select */ 6355);
/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/core */ 5309);


















function UsuariosComponent_table_17_tr_18_ng_container_7_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementContainerStart"](0);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementContainerEnd"]();
  }
  if (rf & 2) {
    const cli_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]().$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate1"](" ", cli_r3.mun_nombre, " ");
  }
}
const _c0 = a0 => ({
  "fst-italic fw-bold": a0
});
const _c1 = (a0, a1) => ({
  "bg-tguia-1": a0,
  "bg-tguia-3": a1
});
function UsuariosComponent_table_17_tr_18_Template(rf, ctx) {
  if (rf & 1) {
    const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "tr", 16)(1, "td", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](3, "td", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](5, "td", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](7, UsuariosComponent_table_17_tr_18_ng_container_7_Template, 3, 1, "ng-container", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](8, "td", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](9);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](10, "td", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](11);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](12, "td", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](13);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](14, "td", 14)(15, "button", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function UsuariosComponent_table_17_tr_18_Template_button_click_15_listener() {
      const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r8);
      const cli_r3 = restoredCtx.$implicit;
      const i_r4 = restoredCtx.index;
      const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r7.seleccionarCliente(cli_r3.cli_pk_id, i_r4));
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](16, "i", 19);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()();
  }
  if (rf & 2) {
    const cli_r3 = ctx.$implicit;
    const i_r4 = ctx.index;
    const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction1"](10, _c0, i_r4 === ctx_r2.indiceCliente));
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](cli_r3.cli_pk_id);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](cli_r3.cli_razon_social);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate1"](" ", cli_r3.dep_nombre, " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", cli_r3.mun_fk_id !== null);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](cli_r3.cli_fecha_inicio);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](cli_r3.cli_fecha_fin);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](cli_r3.cli_activo ? "Si" : "No");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction2"](12, _c1, i_r4 !== ctx_r2.indiceCliente, i_r4 === ctx_r2.indiceCliente))("matTooltip", "Seleccionar el cliente");
  }
}
function UsuariosComponent_table_17_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "table", 13)(1, "thead")(2, "tr")(3, "th", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](4, "ID");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](5, "th", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](6, "Raz\u00F3n social");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](7, "th", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](8, "Depto / municipio");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](9, "th", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](10, "Fecha inicio");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](11, "th", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](12, "Fecha Fin");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](13, "th", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](14, "\u00BFActivo?");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](15, "th", 14);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](16, "Acciones");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](17, "tbody");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](18, UsuariosComponent_table_17_tr_18_Template, 17, 15, "tr", 15);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("dtOptions", ctx_r0.opcionesTabla);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](18);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngForOf", ctx_r0.clientes);
  }
}
function UsuariosComponent_div_18_label_3_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "label", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](1, "Crear responsable de la entidad");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_label_4_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "label", 9);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](1, "Actualizar responsable de la entidad");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_11_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_12_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_18_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_19_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_mat_option_22_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "mat-option", 39);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const tdo_r26 = ctx.$implicit;
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpropertyInterpolate"]("value", tdo_r26.tdo_pk_id);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](tdo_r26.tdo_descripcion);
  }
}
function UsuariosComponent_div_18_span_26_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_27_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_35_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_36_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_42_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 37);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_span_43_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "span");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 38);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_button_49_Template(rf, ctx) {
  if (rf & 1) {
    const _r28 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "button", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function UsuariosComponent_div_18_button_49_Template_button_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r28);
      const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r27.onSubmit());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 41);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2, "\u00A0\u00A0Crear usuario ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("disabled", !ctx_r22.formularioCorrecto);
  }
}
function UsuariosComponent_div_18_button_50_Template(rf, ctx) {
  if (rf & 1) {
    const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "button", 40);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function UsuariosComponent_div_18_button_50_Template_button_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r30);
      const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r29.onUpdate());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 41);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2, "\u00A0\u00A0Actualizar usuario ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
  if (rf & 2) {
    const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("disabled", !ctx_r23.formularioCorrecto || !ctx_r23.hayCambios);
  }
}
function UsuariosComponent_div_18_button_51_Template(rf, ctx) {
  if (rf & 1) {
    const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "button", 42);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function UsuariosComponent_div_18_button_51_Template_button_click_0_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r32);
      const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2);
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r31.reenviarCorreoVerificacion());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 43);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2, "\u00A0\u00A0Reenviar correo verificacion ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
  }
}
function UsuariosComponent_div_18_div_52_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](2, "label", 44);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](3, "i", 45);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](4, "\u00A0El usuario a\u00FAn no ha activado su cuenta ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()();
  }
}
function UsuariosComponent_div_18_Template(rf, ctx) {
  if (rf & 1) {
    const _r34 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "br")(2, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](3, UsuariosComponent_div_18_label_3_Template, 2, 0, "label", 21)(4, UsuariosComponent_div_18_label_4_Template, 2, 0, "label", 21);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](5, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](6, "form", 22)(7, "div", 23)(8, "div", 24)(9, "label", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](10, " Nombre \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](11, UsuariosComponent_div_18_span_11_Template, 2, 0, "span", 17)(12, UsuariosComponent_div_18_span_12_Template, 2, 0, "span", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](13, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](14, "input", 26);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("input", function UsuariosComponent_div_18_Template_input_input_14_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r34);
      const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r33.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](15, "div", 27)(16, "label", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](17, " Tipo de documento \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](18, UsuariosComponent_div_18_span_18_Template, 2, 0, "span", 17)(19, UsuariosComponent_div_18_span_19_Template, 2, 0, "span", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](20, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](21, "mat-select", 28);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("selectionChange", function UsuariosComponent_div_18_Template_mat_select_selectionChange_21_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r34);
      const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r35.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](22, UsuariosComponent_div_18_mat_option_22_Template, 2, 2, "mat-option", 29);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](23, "div", 27)(24, "label", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](25, " Documento \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](26, UsuariosComponent_div_18_span_26_Template, 2, 0, "span", 17)(27, UsuariosComponent_div_18_span_27_Template, 2, 0, "span", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](28, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](29, "input", 30);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("input", function UsuariosComponent_div_18_Template_input_input_29_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r34);
      const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r36.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](30, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](31, "div", 23)(32, "div", 24)(33, "label", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](34, " Correo electr\u00F3nico \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](35, UsuariosComponent_div_18_span_35_Template, 2, 0, "span", 17)(36, UsuariosComponent_div_18_span_36_Template, 2, 0, "span", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](37, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](38, "input", 31);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("change", function UsuariosComponent_div_18_Template_input_change_38_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r34);
      const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r37.idUsuario === null ? ctx_r37.verificarExistenciaCorreo() : ctx_r37.verificarExistenciaCorreoActualizacion());
    })("input", function UsuariosComponent_div_18_Template_input_input_38_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r34);
      const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r38.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](39, "div", 24)(40, "label", 25);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](41, " Cargo \u00A0 ");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](42, UsuariosComponent_div_18_span_42_Template, 2, 0, "span", 17)(43, UsuariosComponent_div_18_span_43_Template, 2, 0, "span", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](44, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](45, "input", 32);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("input", function UsuariosComponent_div_18_Template_input_input_45_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r34);
      const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r39.revisarFormulario());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](46, "br")(47, "br");
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](48, "div", 33);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](49, UsuariosComponent_div_18_button_49_Template, 3, 1, "button", 34)(50, UsuariosComponent_div_18_button_50_Template, 3, 1, "button", 34)(51, UsuariosComponent_div_18_button_51_Template, 3, 0, "button", 35);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](52, UsuariosComponent_div_18_div_52_Template, 5, 0, "div", 36);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()();
  }
  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.idUsuario === null);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.idUsuario !== null);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("formGroup", ctx_r1.formulario);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](5);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", !ctx_r1.f["nombre"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.f["nombre"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", !ctx_r1.f["tipoDocumento"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.f["tipoDocumento"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngForOf", ctx_r1.tiposDocumento);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", !ctx_r1.f["documento"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.f["documento"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](8);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", !ctx_r1.f["correo"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.f["correo"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", !ctx_r1.f["cargo"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.f["cargo"].valid);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](6);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.idUsuario === null);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.idUsuario !== null);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.idUsuario !== null && ctx_r1.infoUsuario && ctx_r1.infoUsuario[0] && ctx_r1.infoUsuario[0].email_verified_at === null);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
    _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r1.idUsuario !== null && ctx_r1.infoUsuario && ctx_r1.infoUsuario[0] && ctx_r1.infoUsuario[0].email_verified_at === null);
  }
}
class UsuariosComponent {
  constructor(clientesService, usuariosService, snackBar, windowScroll) {
    this.clientesService = clientesService;
    this.usuariosService = usuariosService;
    this.snackBar = snackBar;
    this.windowScroll = windowScroll;
    this.cerrarModulo = new _angular_core__WEBPACK_IMPORTED_MODULE_7__.EventEmitter();
    // Opciones para Datatables de JQuery
    this.opcionesTabla = {
      pagingType: 'full_numbers',
      lengthMenu: [[5, 10, 25, 50], [5, 10, 25, 50]],
      pageLength: 5,
      language: {
        url: "//cdn.datatables.net/plug-ins/1.10.15/i18n/Spanish.json"
      }
    };
    this.tiposDocumento = __webpack_require__(/*! src/app/util/parametrosJSON/tiposDocumento.json */ 528);
    this.formulario = new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormGroup({
      correo: new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormControl(null, [_angular_forms__WEBPACK_IMPORTED_MODULE_8__.Validators.required, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.Validators.email]),
      nombre: new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.Validators.required),
      tipoDocumento: new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.Validators.required),
      documento: new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.Validators.required),
      cargo: new _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormControl(null, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.Validators.required)
    });
    this.clientes = [];
    this.idCliente = null;
    this.indiceCliente = -1;
    this.idUsuario = null;
    this.infoUsuario = [];
    this.correoOriginal = null;
    this.rerender = false;
    this.formularioCorrecto = false;
    this.hayCambios = false;
  }
  get f() {
    return this.formulario.controls;
  }
  ngOnInit() {
    var _this = this;
    return (0,C_Users_afjimenezt_Documents_01_Proyectos_TGUIA_IV_admin_tguia_iv_admin_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
      yield _this.clientesService.actualizarJWTHeaders();
      yield _this.usuariosService.actualizarJWTHeaders();
      setTimeout(() => {
        _this.pantallaEspera?.activarModoEspera();
      });
      _this.obtenerClientes().add(() => {
        setTimeout(() => {
          _this.rerender = true;
          _this.pantallaEspera?.desactivarModoEspera();
        }, 200);
      });
    })();
  }
  obtenerClientes() {
    return this.clientesService.obtenerClientesActivos().subscribe({
      next: resp => {
        this.clientes = [...resp];
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  onSubmit() {
    setTimeout(() => {
      this.pantallaEspera?.activarModoEspera();
    });
    this.usuariosService.registrarUsuario(this.f['correo'].value, this.f['nombre'].value, this.f['tipoDocumento'].value, this.f['documento'].value, this.f['cargo'].value, this.idCliente).subscribe({
      next: resp => {
        this.idUsuario = resp;
        this.infoUsuario = [{
          id: this.idUsuario,
          name: this.f['nombre'].value,
          email: this.f['correo'].value,
          cli_fk_id: this.idCliente.toString(),
          rol_fk_id: '2',
          tdo_fk_id: this.f['tipoDocumento'].value,
          usu_documento: this.f['documento'].value,
          usu_cargo: this.f['cargo'].value,
          usu_activo: true,
          email_verified_at: null
        }];
        this.hayCambios = false;
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
        this.snackBar.open('El usuario se ha creado exitosamente', 'Cerrar', {
          duration: 3000
        });
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  onUpdate() {
    setTimeout(() => {
      this.pantallaEspera?.activarModoEspera();
    });
    this.usuariosService.actualizarUsuario(this.idUsuario, this.f['correo'].value, this.f['nombre'].value, this.f['tipoDocumento'].value, this.f['documento'].value, this.f['cargo'].value, this.idCliente).subscribe({
      next: () => {
        this.infoUsuario = [{
          id: this.idUsuario,
          name: this.f['nombre'].value,
          email: this.f['correo'].value,
          cli_fk_id: this.idCliente.toString(),
          rol_fk_id: '2',
          tdo_fk_id: this.f['tipoDocumento'].value,
          usu_documento: this.f['documento'].value,
          usu_cargo: this.f['cargo'].value,
          usu_activo: true
        }];
        this.hayCambios = false;
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
        this.snackBar.open('El usuario se ha actualizado exitosamente', 'Cerrar', {
          duration: 3000
        });
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  seleccionarCliente(id, indice) {
    setTimeout(() => this.pantallaEspera?.activarModoEspera());
    this.idCliente = id;
    this.indiceCliente = indice;
    this.idUsuario = null;
    this.infoUsuario = [];
    this.formulario.reset();
    this.formularioCorrecto = false;
    this.usuariosService.obtenerUsuarioResponsableEntidad(this.idCliente).subscribe({
      next: resp => {
        this.infoUsuario = resp;
        if (this.infoUsuario[0] !== undefined) {
          this.idUsuario = this.infoUsuario[0].id;
          this.correoOriginal = this.infoUsuario[0].email;
          this.f['nombre'].setValue(this.infoUsuario[0].name);
          this.f['tipoDocumento'].setValue(this.infoUsuario[0].tdo_fk_id.toString());
          this.f['documento'].setValue(this.infoUsuario[0].usu_documento);
          this.f['correo'].setValue(this.infoUsuario[0].email);
          this.f['cargo'].setValue(this.infoUsuario[0].usu_cargo);
          this.revisarFormulario();
          this.hayCambios = false;
        }
        this.windowScroll.scrollToBottom();
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  reenviarCorreoVerificacion() {
    setTimeout(() => this.pantallaEspera?.activarModoEspera());
    this.usuariosService.reenviarCorreoVerificacion(this.idUsuario).subscribe({
      next: () => {
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
        this.snackBar.open('El correo de verificación fue reenviado', 'Cerrar', {
          duration: 3000
        });
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  verificarExistenciaCorreo() {
    setTimeout(() => this.pantallaEspera?.activarModoEspera());
    this.usuariosService.verificarExistenciaCorreoElectronico(this.f['correo'].value).subscribe({
      next: resp => {
        if (+resp > 0) {
          setTimeout(() => {
            this.f['correo'].setValue(null);
            this.snackBar.open('El correo electrónico ya está asociado a otro usuario', 'Cerrar', {
              duration: 3000
            });
          });
        }
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  verificarExistenciaCorreoActualizacion() {
    setTimeout(() => this.pantallaEspera?.activarModoEspera());
    this.usuariosService.verificarExistenciaCorreoElectronicoActualizacion(this.f['correo'].value, this.correoOriginal).subscribe({
      next: resp => {
        if (+resp > 0) {
          setTimeout(() => {
            this.f['correo'].setValue(null);
            this.snackBar.open('El correo electrónico ya está asociado a otro usuario', 'Cerrar', {
              duration: 3000
            });
          });
        }
        setTimeout(() => this.pantallaEspera?.desactivarModoEspera());
      },
      error: e => {
        console.log(e);
        this.pantallaEspera?.desactivarModoEspera();
        this.errorConexion?.activarErrorConexion();
      }
    });
  }
  revisarFormulario() {
    if (this.idUsuario !== undefined) {
      this.hayCambios = true;
    }
    this.formularioCorrecto = this.formulario.valid;
  }
  static #_ = this.ɵfac = function UsuariosComponent_Factory(t) {
    return new (t || UsuariosComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_services_clientes_service__WEBPACK_IMPORTED_MODULE_3__.ClientesService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_services_usuarios_service__WEBPACK_IMPORTED_MODULE_4__.UsuariosService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__.MatSnackBar), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_util_helpers_WindowScroll__WEBPACK_IMPORTED_MODULE_5__.WindowScroll));
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineComponent"]({
    type: UsuariosComponent,
    selectors: [["app-usuarios"]],
    viewQuery: function UsuariosComponent_Query(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵviewQuery"](_util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaComponent, 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵviewQuery"](_util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__.ErrorConexionComponent, 7);
      }
      if (rf & 2) {
        let _t;
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵloadQuery"]()) && (ctx.pantallaEspera = _t.first);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵloadQuery"]()) && (ctx.errorConexion = _t.first);
      }
    },
    outputs: {
      cerrarModulo: "cerrarModulo"
    },
    decls: 27,
    vars: 4,
    consts: [[1, "header", "position-fixed", "p-3", "bg-tguia-1", "text-light", 2, "width", "calc(100% - 72px) !important", "z-index", "100 !important", "height", "68px"], [1, "va-super"], [1, "fa-solid", "fa-users", "fa-xl"], [1, "mt-2", "fs-32"], [1, "va-super", "float-end", "mt-2", "hand-cursor", 3, "click"], [1, "fa-solid", "fa-xmark", "fa-xl"], [1, "w-100", 2, "margin-top", "1%"], [1, "p-3"], [1, "container"], [1, "fs-26", "fw-bold", "mb-4"], ["datatable", "", "class", "hover stripe glacial-indiferent-font", 3, "dtOptions", 4, "ngIf"], ["class", "appear-effect-fast", 4, "ngIf"], [3, "identificador"], ["datatable", "", 1, "hover", "stripe", "glacial-indiferent-font", 3, "dtOptions"], [1, "text-center"], [3, "ngClass", 4, "ngFor", "ngForOf"], [3, "ngClass"], [4, "ngIf"], [1, "btn", "text-light", 3, "ngClass", "matTooltip", "click"], [1, "fa-solid", "fa-arrow-left"], [1, "appear-effect-fast"], ["class", "fs-26 fw-bold mb-4", 4, "ngIf"], [3, "formGroup"], [1, "row"], [1, "col-sm-6"], [1, "h6", "glacial-indiferent-font"], ["formControlName", "nombre", "type", "text", "maxlength", "490", "placeholder", "Nombre del usuario", 1, "form-control", "glacial-indiferent-font", 3, "input"], [1, "col-sm-3"], ["formControlName", "tipoDocumento", "placeholder", "Seleccione una opci\u00F3n", 1, "form-control", "glacial-indiferent-font", 3, "selectionChange"], ["class", "glacial-indiferent-font", 3, "value", 4, "ngFor", "ngForOf"], ["formControlName", "documento", "type", "text", "maxlength", "95", "placeholder", "Documento", 1, "form-control", "glacial-indiferent-font", 3, "input"], ["formControlName", "correo", "type", "email", "maxlength", "800", "placeholder", "Correo electr\u00F3nico", 1, "form-control", "glacial-indiferent-font", 3, "change", "input"], ["formControlName", "cargo", "type", "text", "maxlength", "490", "placeholder", "Cargo del usuario", 1, "form-control", "glacial-indiferent-font", 3, "input"], [1, "w-100", "text-center"], ["class", "btn bg-tguia-1 glacial-indiferent-font m-2 text-light", 3, "disabled", "click", 4, "ngIf"], ["class", "btn bg-tguia-4 glacial-indiferent-font m-2 text-dark", 3, "click", 4, "ngIf"], ["class", "w-100 text-center", 4, "ngIf"], [1, "fa-solid", "fa-times", "text-danger"], [1, "fa-solid", "fa-check", "text-success"], [1, "glacial-indiferent-font", 3, "value"], [1, "btn", "bg-tguia-1", "glacial-indiferent-font", "m-2", "text-light", 3, "disabled", "click"], [1, "fa-solid", "fa-save"], [1, "btn", "bg-tguia-4", "glacial-indiferent-font", "m-2", "text-dark", 3, "click"], [1, "fa-solid", "fa-envelope"], [1, "fw-bold", "fst-italic", "fs-14"], [1, "fa-solid", "fa-circle-info"]],
    template: function UsuariosComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 0)(1, "label", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](2, "i", 2);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](3, " \u00A0 ");
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](4, "label", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](5, "Usuarios");
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](6, "label", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function UsuariosComponent_Template_label_click_6_listener() {
          return ctx.cerrarModulo.emit();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](7, "i", 5);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()();
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](8, "br")(9, "br")(10, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](11, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](12, "\u00A0");
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](13, "div", 7)(14, "div", 8)(15, "label", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](16, "Clientes registrados");
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](17, UsuariosComponent_table_17_Template, 19, 2, "table", 10)(18, UsuariosComponent_div_18_Template, 53, 18, "div", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()();
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](19, "br")(20, "br")(21, "br")(22, "br")(23, "br")(24, "br")(25, "app-pantalla-espera", 12)(26, "app-error-conexion", 12);
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](17);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx.rerender);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx.idCliente !== null);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](7);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("identificador", "usuarios_adm_pe");
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1);
        _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("identificador", "usuarios_adm_ec");
      }
    },
    dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_10__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_10__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_10__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_8__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.MaxLengthValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormControlName, angular_datatables__WEBPACK_IMPORTED_MODULE_6__.DataTableDirective, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_11__.MatTooltip, _angular_material_select__WEBPACK_IMPORTED_MODULE_12__.MatSelect, _angular_material_core__WEBPACK_IMPORTED_MODULE_13__.MatOption, _util_pantalla_espera_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_2__.PantallaEsperaComponent, _util_error_conexion_error_conexion_component__WEBPACK_IMPORTED_MODULE_1__.ErrorConexionComponent],
    styles: ["/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */"]
  });
}

/***/ }),

/***/ 6807:
/*!*********************************************!*\
  !*** ./src/app/usuarios/usuarios.module.ts ***!
  \*********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   UsuariosModule: () => (/* binding */ UsuariosModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _usuarios_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./usuarios.component */ 4332);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ 8849);
/* harmony import */ var _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/pantalla-espera/pantalla-espera.module */ 5863);
/* harmony import */ var _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/error-conexion/error-conexion.module */ 145);
/* harmony import */ var angular_datatables__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! angular-datatables */ 8588);
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/tooltip */ 702);
/* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/select */ 6355);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 1699);









class UsuariosModule {
  static #_ = this.ɵfac = function UsuariosModule_Factory(t) {
    return new (t || UsuariosModule)();
  };
  static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
    type: UsuariosModule
  });
  static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.ReactiveFormsModule, angular_datatables__WEBPACK_IMPORTED_MODULE_3__.DataTablesModule, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_7__.MatTooltipModule, _angular_material_select__WEBPACK_IMPORTED_MODULE_8__.MatSelectModule, _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_1__.PantallaEsperaModule, _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_2__.ErrorConexionModule]
  });
}
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](UsuariosModule, {
    declarations: [_usuarios_component__WEBPACK_IMPORTED_MODULE_0__.UsuariosComponent],
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.ReactiveFormsModule, angular_datatables__WEBPACK_IMPORTED_MODULE_3__.DataTablesModule, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_7__.MatTooltipModule, _angular_material_select__WEBPACK_IMPORTED_MODULE_8__.MatSelectModule, _util_pantalla_espera_pantalla_espera_module__WEBPACK_IMPORTED_MODULE_1__.PantallaEsperaModule, _util_error_conexion_error_conexion_module__WEBPACK_IMPORTED_MODULE_2__.ErrorConexionModule],
    exports: [_usuarios_component__WEBPACK_IMPORTED_MODULE_0__.UsuariosComponent]
  });
})();

/***/ }),

/***/ 7641:
/*!*****************************************************************!*\
  !*** ./src/app/util/error-conexion/error-conexion.component.ts ***!
  \*****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorConexionComponent: () => (/* binding */ ErrorConexionComponent)
/* harmony export */ });
/* harmony import */ var motion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! motion */ 6471);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_material_card__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/card */ 8497);
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/button */ 895);




class ErrorConexionComponent {
  constructor() {
    this.identificador = '';
  }
  ngOnInit() {}
  activarErrorConexion() {
    document.getElementById('errorConexion' + this.identificador)?.classList.add('show');
    document.getElementById('errorConexion' + this.identificador)?.classList.remove('hide');
    (0,motion__WEBPACK_IMPORTED_MODULE_0__.animate)('#computerBug', {
      rotate: [0, 45, 0, -45, 0, 45, 0, -45, 0]
    }, {
      duration: 5
    });
  }
  desactivarError() {
    document.getElementById('errorConexion' + this.identificador)?.classList.add('hide');
    document.getElementById('errorConexion' + this.identificador)?.classList.remove('show');
  }
  static #_ = this.ɵfac = function ErrorConexionComponent_Factory(t) {
    return new (t || ErrorConexionComponent)();
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
    type: ErrorConexionComponent,
    selectors: [["app-error-conexion"]],
    inputs: {
      identificador: "identificador"
    },
    decls: 19,
    vars: 1,
    consts: [[1, "fullscreen", "cortina", "hide", 3, "id"], [1, "vertical-center-hijo"], [1, "row"], [1, "col-12", "text-center"], [1, "p-4"], [1, "h5"], ["id", "computerBug", 1, "d-inline-block", "me-2"], [1, "text-danger", "fa-solid", "fa-computer"], [1, "m-0", "mt-1", "mb-3"], [1, "h6"], [1, "col-sm-12", "text-center"], ["mat-raised-button", "", "color", "warn", 3, "click"], [1, "fa-solid", "fa-xmark"]],
    template: function ErrorConexionComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "mat-card", 4)(5, "label", 5)(6, "div", 6);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](7, "i", 7);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "label");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](9, " \u00A1Tenemos un problema para completar tu petici\u00F3n! ");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](10, "hr", 8);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "label", 9);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](12, " Por favor cierra este mensaje e intenta nuevamente. Si este mensaje persiste, cont\u00E1cta con el administrador de la aplicaci\u00F3n. ");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](13, "br");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "div", 2)(15, "div", 10)(16, "button", 11);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function ErrorConexionComponent_Template_button_click_16_listener() {
          return ctx.desactivarError();
        });
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](17, "i", 12);
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](18, " \u00A0 Cerrar ");
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()()()()()()();
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate1"]("id", "errorConexion", ctx.identificador, "");
      }
    },
    dependencies: [_angular_material_card__WEBPACK_IMPORTED_MODULE_2__.MatCard, _angular_material_button__WEBPACK_IMPORTED_MODULE_3__.MatButton],
    styles: [".fullscreen[_ngcontent-%COMP%] {\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 9999;\n\tposition: fixed;\n    right: 0;\n    left: 0;\n    top: 0;\n}\n\n.cortina[_ngcontent-%COMP%] {\n\tbackground-color: rgba(0,0,0, 0.5);\n}\n\n.back-hijo[_ngcontent-%COMP%] {\n\tbackground-color: white;\n\tborder-radius: 5px 5px 5px 5px;\n}\n\n.vertical-center-hijo[_ngcontent-%COMP%] {\n    position: absolute;\n    top: 0;\n    bottom: 0;\n    left: 0;\n    right: 0;\n    width: 650px;\n    height: 250px;\n    margin: auto;\n}\n\n.hide[_ngcontent-%COMP%] {\n\tdisplay: none;\n}\n\n.show[_ngcontent-%COMP%] {\n\tdisplay: inherit;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvdXRpbC9lcnJvci1jb25leGlvbi9lcnJvci1jb25leGlvbi5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0NBQ0MsV0FBVztDQUNYLFlBQVk7Q0FDWixhQUFhO0NBQ2IsZUFBZTtJQUNaLFFBQVE7SUFDUixPQUFPO0lBQ1AsTUFBTTtBQUNWOztBQUVBO0NBQ0Msa0NBQWtDO0FBQ25DOztBQUVBO0NBQ0MsdUJBQXVCO0NBQ3ZCLDhCQUE4QjtBQUMvQjs7QUFFQTtJQUNJLGtCQUFrQjtJQUNsQixNQUFNO0lBQ04sU0FBUztJQUNULE9BQU87SUFDUCxRQUFRO0lBQ1IsWUFBWTtJQUNaLGFBQWE7SUFDYixZQUFZO0FBQ2hCOztBQUVBO0NBQ0MsYUFBYTtBQUNkOztBQUVBO0NBQ0MsZ0JBQWdCO0FBQ2pCIiwic291cmNlc0NvbnRlbnQiOlsiLmZ1bGxzY3JlZW4ge1xyXG5cdHdpZHRoOiAxMDAlO1xyXG5cdGhlaWdodDogMTAwJTtcclxuXHR6LWluZGV4OiA5OTk5O1xyXG5cdHBvc2l0aW9uOiBmaXhlZDtcclxuICAgIHJpZ2h0OiAwO1xyXG4gICAgbGVmdDogMDtcclxuICAgIHRvcDogMDtcclxufVxyXG5cclxuLmNvcnRpbmEge1xyXG5cdGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwwLDAsIDAuNSk7XHJcbn1cclxuXHJcbi5iYWNrLWhpam8ge1xyXG5cdGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xyXG5cdGJvcmRlci1yYWRpdXM6IDVweCA1cHggNXB4IDVweDtcclxufVxyXG5cclxuLnZlcnRpY2FsLWNlbnRlci1oaWpvIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHRvcDogMDtcclxuICAgIGJvdHRvbTogMDtcclxuICAgIGxlZnQ6IDA7XHJcbiAgICByaWdodDogMDtcclxuICAgIHdpZHRoOiA2NTBweDtcclxuICAgIGhlaWdodDogMjUwcHg7XHJcbiAgICBtYXJnaW46IGF1dG87XHJcbn1cclxuXHJcbi5oaWRlIHtcclxuXHRkaXNwbGF5OiBub25lO1xyXG59XHJcblxyXG4uc2hvdyB7XHJcblx0ZGlzcGxheTogaW5oZXJpdDtcclxufSJdLCJzb3VyY2VSb290IjoiIn0= */"]
  });
}

/***/ }),

/***/ 145:
/*!**************************************************************!*\
  !*** ./src/app/util/error-conexion/error-conexion.module.ts ***!
  \**************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorConexionModule: () => (/* binding */ ErrorConexionModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _error_conexion_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./error-conexion.component */ 7641);
/* harmony import */ var _angular_material_card__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/card */ 8497);
/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/button */ 895);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 1699);





class ErrorConexionModule {
  static #_ = this.ɵfac = function ErrorConexionModule_Factory(t) {
    return new (t || ErrorConexionModule)();
  };
  static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
    type: ErrorConexionModule
  });
  static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule, _angular_material_card__WEBPACK_IMPORTED_MODULE_3__.MatCardModule, _angular_material_button__WEBPACK_IMPORTED_MODULE_4__.MatButtonModule]
  });
}
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](ErrorConexionModule, {
    declarations: [_error_conexion_component__WEBPACK_IMPORTED_MODULE_0__.ErrorConexionComponent],
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule, _angular_material_card__WEBPACK_IMPORTED_MODULE_3__.MatCardModule, _angular_material_button__WEBPACK_IMPORTED_MODULE_4__.MatButtonModule],
    exports: [_error_conexion_component__WEBPACK_IMPORTED_MODULE_0__.ErrorConexionComponent]
  });
})();

/***/ }),

/***/ 3372:
/*!**********************************************!*\
  !*** ./src/app/util/helpers/WindowScroll.ts ***!
  \**********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   WindowScroll: () => (/* binding */ WindowScroll)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 1699);

class WindowScroll {
  scrollToTop() {
    window.scrollTo({
      top: 0,
      behavior: 'smooth'
    });
  }
  scrollToBottom() {
    window.scrollTo({
      top: document.body.scrollHeight,
      behavior: 'smooth'
    });
  }
  static #_ = this.ɵfac = function WindowScroll_Factory(t) {
    return new (t || WindowScroll)();
  };
  static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
    token: WindowScroll,
    factory: WindowScroll.ɵfac,
    providedIn: 'root'
  });
}

/***/ }),

/***/ 4976:
/*!*******************************************************************!*\
  !*** ./src/app/util/pantalla-espera/pantalla-espera.component.ts ***!
  \*******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PantallaEsperaComponent: () => (/* binding */ PantallaEsperaComponent)
/* harmony export */ });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 1699);
/* harmony import */ var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/progress-spinner */ 3910);


class PantallaEsperaComponent {
  constructor() {
    this.identificador = '';
  }
  ngOnInit() {}
  activarModoEspera() {
    document.getElementById('esperaModal' + this.identificador)?.classList.add('show');
    document.getElementById('esperaModal' + this.identificador)?.classList.remove('hide');
  }
  desactivarModoEspera() {
    document.getElementById('esperaModal' + this.identificador)?.classList.add('hide');
    document.getElementById('esperaModal' + this.identificador)?.classList.remove('show');
  }
  static #_ = this.ɵfac = function PantallaEsperaComponent_Factory(t) {
    return new (t || PantallaEsperaComponent)();
  };
  static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
    type: PantallaEsperaComponent,
    selectors: [["app-pantalla-espera"]],
    inputs: {
      identificador: "identificador"
    },
    decls: 5,
    vars: 1,
    consts: [[1, "fullscreen", "cortina", "hide", 2, "z-index", "1000 !important", 3, "id"], [1, "vertical-center-hijo"], [1, "row"], [1, "col-sm-12"], [1, "classic-center"]],
    template: function PantallaEsperaComponent_Template(rf, ctx) {
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "mat-spinner", 4);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()()();
      }
      if (rf & 2) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "esperaModal", ctx.identificador, "");
      }
    },
    dependencies: [_angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_1__.MatProgressSpinner],
    styles: [".fullscreen[_ngcontent-%COMP%] {\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 1000 !important;\n\tposition: fixed;\n    right: 0;\n    left: 0;\n    top: 0;\n}\n\n.cortina[_ngcontent-%COMP%] {\n\tbackground-color: rgba(0,0,0, 0.5);\n}\n\n.vertical-center-hijo[_ngcontent-%COMP%] {\n    position: absolute;\n    top: 0;\n    bottom: 0;\n    left: 0;\n    right: 0;\n    width: 450px;\n    height: 100px;\n    margin: auto;\n}\n\n.hide[_ngcontent-%COMP%] {\n\tdisplay: none;\n}\n\n.show[_ngcontent-%COMP%] {\n\tdisplay: inherit;\n}\n\n  .mat-progress-spinner circle, .mat-spinner[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%] {\n    stroke: #D1C2D9;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL3NyYy9hcHAvdXRpbC9wYW50YWxsYS1lc3BlcmEvcGFudGFsbGEtZXNwZXJhLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Q0FDQyxXQUFXO0NBQ1gsWUFBWTtDQUNaLHdCQUF3QjtDQUN4QixlQUFlO0lBQ1osUUFBUTtJQUNSLE9BQU87SUFDUCxNQUFNO0FBQ1Y7O0FBRUE7Q0FDQyxrQ0FBa0M7QUFDbkM7O0FBRUE7SUFDSSxrQkFBa0I7SUFDbEIsTUFBTTtJQUNOLFNBQVM7SUFDVCxPQUFPO0lBQ1AsUUFBUTtJQUNSLFlBQVk7SUFDWixhQUFhO0lBQ2IsWUFBWTtBQUNoQjs7QUFFQTtDQUNDLGFBQWE7QUFDZDs7QUFFQTtDQUNDLGdCQUFnQjtBQUNqQjs7QUFFQTtJQUNJLGVBQWU7QUFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyIuZnVsbHNjcmVlbiB7XHJcblx0d2lkdGg6IDEwMCU7XHJcblx0aGVpZ2h0OiAxMDAlO1xyXG5cdHotaW5kZXg6IDEwMDAgIWltcG9ydGFudDtcclxuXHRwb3NpdGlvbjogZml4ZWQ7XHJcbiAgICByaWdodDogMDtcclxuICAgIGxlZnQ6IDA7XHJcbiAgICB0b3A6IDA7XHJcbn1cclxuXHJcbi5jb3J0aW5hIHtcclxuXHRiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsMCwwLCAwLjUpO1xyXG59XHJcblxyXG4udmVydGljYWwtY2VudGVyLWhpam8ge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiAwO1xyXG4gICAgYm90dG9tOiAwO1xyXG4gICAgbGVmdDogMDtcclxuICAgIHJpZ2h0OiAwO1xyXG4gICAgd2lkdGg6IDQ1MHB4O1xyXG4gICAgaGVpZ2h0OiAxMDBweDtcclxuICAgIG1hcmdpbjogYXV0bztcclxufVxyXG5cclxuLmhpZGUge1xyXG5cdGRpc3BsYXk6IG5vbmU7XHJcbn1cclxuXHJcbi5zaG93IHtcclxuXHRkaXNwbGF5OiBpbmhlcml0O1xyXG59XHJcblxyXG46Om5nLWRlZXAgLm1hdC1wcm9ncmVzcy1zcGlubmVyIGNpcmNsZSwgLm1hdC1zcGlubmVyIGNpcmNsZSB7XHJcbiAgICBzdHJva2U6ICNEMUMyRDk7XHJcbn0iXSwic291cmNlUm9vdCI6IiJ9 */"]
  });
}

/***/ }),

/***/ 5863:
/*!****************************************************************!*\
  !*** ./src/app/util/pantalla-espera/pantalla-espera.module.ts ***!
  \****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PantallaEsperaModule: () => (/* binding */ PantallaEsperaModule)
/* harmony export */ });
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 6575);
/* harmony import */ var _pantalla_espera_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./pantalla-espera.component */ 4976);
/* harmony import */ var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/progress-spinner */ 3910);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 1699);




class PantallaEsperaModule {
  static #_ = this.ɵfac = function PantallaEsperaModule_Factory(t) {
    return new (t || PantallaEsperaModule)();
  };
  static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
    type: PantallaEsperaModule
  });
  static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule, _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_3__.MatProgressSpinnerModule]
  });
}
(function () {
  (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](PantallaEsperaModule, {
    declarations: [_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_0__.PantallaEsperaComponent],
    imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule, _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_3__.MatProgressSpinnerModule],
    exports: [_pantalla_espera_component__WEBPACK_IMPORTED_MODULE_0__.PantallaEsperaComponent]
  });
})();

/***/ }),

/***/ 553:
/*!*****************************************!*\
  !*** ./src/environments/environment.ts ***!
  \*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   environment: () => (/* binding */ environment)
/* harmony export */ });
const environment = {
  production: false,
  version: '1.0.0',
  laravel: 'https://verifica-test.synergiasa.com/services'
};

/***/ }),

/***/ 4913:
/*!*********************!*\
  !*** ./src/main.ts ***!
  \*********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ 6480);
/* harmony import */ var _app_root_app_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app/root/app.module */ 3753);


_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__.platformBrowser().bootstrapModule(_app_root_app_module__WEBPACK_IMPORTED_MODULE_0__.AppModule).catch(err => console.error(err));

/***/ }),

/***/ 5385:
/*!********************************************************!*\
  !*** ./src/app/util/parametrosJSON/departamentos.json ***!
  \********************************************************/
/***/ ((module) => {

module.exports = JSON.parse('[{"dep_pk_id":"5","dep_nombre":"Antioquia"},{"dep_pk_id":"41","dep_nombre":"Huila"},{"dep_pk_id":"76","dep_nombre":"Valle del Cauca"},{"dep_pk_id":"20","dep_nombre":"Cesar"},{"dep_pk_id":"68","dep_nombre":"Santander"},{"dep_pk_id":"17","dep_nombre":"Caldas"},{"dep_pk_id":"85","dep_nombre":"Casanare"},{"dep_pk_id":"15","dep_nombre":"Boyacá"},{"dep_pk_id":"44","dep_nombre":"La Guajira"},{"dep_pk_id":"47","dep_nombre":"Magdalena"},{"dep_pk_id":"19","dep_nombre":"Cauca"},{"dep_pk_id":"73","dep_nombre":"Tolima"},{"dep_pk_id":"52","dep_nombre":"Nariño"},{"dep_pk_id":"25","dep_nombre":"Cundinamarca"},{"dep_pk_id":"81","dep_nombre":"Arauca"},{"dep_pk_id":"54","dep_nombre":"Norte de Santander"},{"dep_pk_id":"63","dep_nombre":"Quindio"},{"dep_pk_id":"27","dep_nombre":"Chocó"},{"dep_pk_id":"66","dep_nombre":"Risaralda"},{"dep_pk_id":"18","dep_nombre":"Caquetá"},{"dep_pk_id":"13","dep_nombre":"Bolívar"},{"dep_pk_id":"70","dep_nombre":"Sucre"},{"dep_pk_id":"23","dep_nombre":"Córdoba"},{"dep_pk_id":"99","dep_nombre":"Vichada"},{"dep_pk_id":"97","dep_nombre":"Vaupés"},{"dep_pk_id":"8","dep_nombre":"Atlántico"},{"dep_pk_id":"50","dep_nombre":"Meta"},{"dep_pk_id":"95","dep_nombre":"Guaviare"},{"dep_pk_id":"94","dep_nombre":"Guainía"},{"dep_pk_id":"88","dep_nombre":"Archipiélago de San Andrés Providencia y Santa Catalina"},{"dep_pk_id":"91","dep_nombre":"Amazonas"},{"dep_pk_id":"86","dep_nombre":"Putumayo"},{"dep_pk_id":"11","dep_nombre":"Bogotá D.C."}]');

/***/ }),

/***/ 9937:
/*!*****************************************************!*\
  !*** ./src/app/util/parametrosJSON/municipios.json ***!
  \*****************************************************/
/***/ ((module) => {

module.exports = JSON.parse('[{"mun_pk_id":5002,"dep_fk_id":5,"mun_nombre":"Abejorral"},{"mun_pk_id":41006,"dep_fk_id":41,"mun_nombre":"Acevedo"},{"mun_pk_id":41013,"dep_fk_id":41,"mun_nombre":"Agrado"},{"mun_pk_id":76243,"dep_fk_id":76,"mun_nombre":"El Águila"},{"mun_pk_id":20011,"dep_fk_id":20,"mun_nombre":"Aguachica"},{"mun_pk_id":68013,"dep_fk_id":68,"mun_nombre":"Aguada"},{"mun_pk_id":17013,"dep_fk_id":17,"mun_nombre":"Aguadas"},{"mun_pk_id":85010,"dep_fk_id":85,"mun_nombre":"Aguazul"},{"mun_pk_id":15720,"dep_fk_id":15,"mun_nombre":"Sativanorte"},{"mun_pk_id":41016,"dep_fk_id":41,"mun_nombre":"Aipe"},{"mun_pk_id":44035,"dep_fk_id":44,"mun_nombre":"Albania"},{"mun_pk_id":68020,"dep_fk_id":68,"mun_nombre":"Albania"},{"mun_pk_id":47030,"dep_fk_id":47,"mun_nombre":"Algarrobo"},{"mun_pk_id":41020,"dep_fk_id":41,"mun_nombre":"Algeciras"},{"mun_pk_id":19022,"dep_fk_id":19,"mun_nombre":"Almaguer"},{"mun_pk_id":73024,"dep_fk_id":73,"mun_nombre":"Alpujarra"},{"mun_pk_id":41026,"dep_fk_id":41,"mun_nombre":"Altamira"},{"mun_pk_id":5665,"dep_fk_id":5,"mun_nombre":"San Pedro de Urabá"},{"mun_pk_id":52788,"dep_fk_id":52,"mun_nombre":"Tangua"},{"mun_pk_id":73026,"dep_fk_id":73,"mun_nombre":"Alvarado"},{"mun_pk_id":5031,"dep_fk_id":5,"mun_nombre":"Amalfi"},{"mun_pk_id":73030,"dep_fk_id":73,"mun_nombre":"Ambalema"},{"mun_pk_id":25035,"dep_fk_id":25,"mun_nombre":"Anapoima"},{"mun_pk_id":5034,"dep_fk_id":5,"mun_nombre":"Andes"},{"mun_pk_id":5038,"dep_fk_id":5,"mun_nombre":"Angostura"},{"mun_pk_id":25040,"dep_fk_id":25,"mun_nombre":"Anolaima"},{"mun_pk_id":17042,"dep_fk_id":17,"mun_nombre":"Anserma"},{"mun_pk_id":76041,"dep_fk_id":76,"mun_nombre":"Ansermanuevo"},{"mun_pk_id":25599,"dep_fk_id":25,"mun_nombre":"Apulo"},{"mun_pk_id":47053,"dep_fk_id":47,"mun_nombre":"Aracataca"},{"mun_pk_id":17050,"dep_fk_id":17,"mun_nombre":"Aranzazu"},{"mun_pk_id":68051,"dep_fk_id":68,"mun_nombre":"Aratoca"},{"mun_pk_id":81001,"dep_fk_id":81,"mun_nombre":"Arauca"},{"mun_pk_id":81065,"dep_fk_id":81,"mun_nombre":"Arauquita"},{"mun_pk_id":54051,"dep_fk_id":54,"mun_nombre":"Arboledas"},{"mun_pk_id":5051,"dep_fk_id":5,"mun_nombre":"Arboletes"},{"mun_pk_id":5055,"dep_fk_id":5,"mun_nombre":"Argelia"},{"mun_pk_id":19050,"dep_fk_id":19,"mun_nombre":"Argelia"},{"mun_pk_id":76054,"dep_fk_id":76,"mun_nombre":"Argelia"},{"mun_pk_id":5059,"dep_fk_id":5,"mun_nombre":"Armenia"},{"mun_pk_id":63001,"dep_fk_id":63,"mun_nombre":"Armenia"},{"mun_pk_id":52435,"dep_fk_id":52,"mun_nombre":"Mallama"},{"mun_pk_id":20032,"dep_fk_id":20,"mun_nombre":"Astrea"},{"mun_pk_id":73067,"dep_fk_id":73,"mun_nombre":"Ataco"},{"mun_pk_id":27787,"dep_fk_id":27,"mun_nombre":"Tadó"},{"mun_pk_id":15755,"dep_fk_id":15,"mun_nombre":"Socotá"},{"mun_pk_id":19075,"dep_fk_id":19,"mun_nombre":"Balboa"},{"mun_pk_id":66075,"dep_fk_id":66,"mun_nombre":"Balboa"},{"mun_pk_id":41078,"dep_fk_id":41,"mun_nombre":"Baraya"},{"mun_pk_id":15690,"dep_fk_id":15,"mun_nombre":"Santa María"},{"mun_pk_id":18479,"dep_fk_id":18,"mun_nombre":"Morelia"},{"mun_pk_id":18256,"dep_fk_id":18,"mun_nombre":"El Paujíl"},{"mun_pk_id":15097,"dep_fk_id":15,"mun_nombre":"Boavita"},{"mun_pk_id":15104,"dep_fk_id":15,"mun_nombre":"Boyacá"},{"mun_pk_id":15762,"dep_fk_id":15,"mun_nombre":"Sora"},{"mun_pk_id":15776,"dep_fk_id":15,"mun_nombre":"Sutamarchán"},{"mun_pk_id":47720,"dep_fk_id":47,"mun_nombre":"Santa Bárbara de Pinto"},{"mun_pk_id":13655,"dep_fk_id":13,"mun_nombre":"San Jacinto del Cauca"},{"mun_pk_id":15296,"dep_fk_id":15,"mun_nombre":"Gámeza"},{"mun_pk_id":27745,"dep_fk_id":27,"mun_nombre":"Sipí"},{"mun_pk_id":17873,"dep_fk_id":17,"mun_nombre":"Villamaría"},{"mun_pk_id":5658,"dep_fk_id":5,"mun_nombre":"San José la Montaña"},{"mun_pk_id":18756,"dep_fk_id":18,"mun_nombre":"Solano"},{"mun_pk_id":5647,"dep_fk_id":5,"mun_nombre":"San Andrés de Cuerquía"},{"mun_pk_id":20443,"dep_fk_id":20,"mun_nombre":"Manaure Balcón del Cesar"},{"mun_pk_id":17088,"dep_fk_id":17,"mun_nombre":"Belalcázar"},{"mun_pk_id":52215,"dep_fk_id":52,"mun_nombre":"Córdoba"},{"mun_pk_id":18029,"dep_fk_id":18,"mun_nombre":"Albania"},{"mun_pk_id":70670,"dep_fk_id":70,"mun_nombre":"Sampués"},{"mun_pk_id":47268,"dep_fk_id":47,"mun_nombre":"El Retén"},{"mun_pk_id":23682,"dep_fk_id":23,"mun_nombre":"San José de Uré"},{"mun_pk_id":19418,"dep_fk_id":19,"mun_nombre":"López de Micay"},{"mun_pk_id":54810,"dep_fk_id":54,"mun_nombre":"Tibú"},{"mun_pk_id":15514,"dep_fk_id":15,"mun_nombre":"Páez"},{"mun_pk_id":13430,"dep_fk_id":13,"mun_nombre":"Magangué"},{"mun_pk_id":68229,"dep_fk_id":68,"mun_nombre":"Curití"},{"mun_pk_id":99624,"dep_fk_id":99,"mun_nombre":"Santa Rosalía"},{"mun_pk_id":97666,"dep_fk_id":97,"mun_nombre":"Taraira"},{"mun_pk_id":47288,"dep_fk_id":47,"mun_nombre":"Fundación"},{"mun_pk_id":54174,"dep_fk_id":54,"mun_nombre":"Chitagá"},{"mun_pk_id":5079,"dep_fk_id":5,"mun_nombre":"Barbosa"},{"mun_pk_id":68077,"dep_fk_id":68,"mun_nombre":"Barbosa"},{"mun_pk_id":68079,"dep_fk_id":68,"mun_nombre":"Barichara"},{"mun_pk_id":73001,"dep_fk_id":73,"mun_nombre":"Ibagué"},{"mun_pk_id":68081,"dep_fk_id":68,"mun_nombre":"Barrancabermeja"},{"mun_pk_id":44078,"dep_fk_id":44,"mun_nombre":"Barrancas"},{"mun_pk_id":23300,"dep_fk_id":23,"mun_nombre":"Cotorra"},{"mun_pk_id":8758,"dep_fk_id":8,"mun_nombre":"Soledad"},{"mun_pk_id":20045,"dep_fk_id":20,"mun_nombre":"Becerril"},{"mun_pk_id":5172,"dep_fk_id":5,"mun_nombre":"Chigorodó"},{"mun_pk_id":15814,"dep_fk_id":15,"mun_nombre":"Toca"},{"mun_pk_id":5088,"dep_fk_id":5,"mun_nombre":"Bello"},{"mun_pk_id":5086,"dep_fk_id":5,"mun_nombre":"Belmira"},{"mun_pk_id":5091,"dep_fk_id":5,"mun_nombre":"Betania"},{"mun_pk_id":5093,"dep_fk_id":5,"mun_nombre":"Betulia"},{"mun_pk_id":68092,"dep_fk_id":68,"mun_nombre":"Betulia"},{"mun_pk_id":25095,"dep_fk_id":25,"mun_nombre":"Bituima"},{"mun_pk_id":54099,"dep_fk_id":54,"mun_nombre":"Bochalema"},{"mun_pk_id":85315,"dep_fk_id":85,"mun_nombre":"Sácama"},{"mun_pk_id":20060,"dep_fk_id":20,"mun_nombre":"Bosconia"},{"mun_pk_id":68001,"dep_fk_id":68,"mun_nombre":"Bucaramanga"},{"mun_pk_id":54109,"dep_fk_id":54,"mun_nombre":"Bucarasica"},{"mun_pk_id":76109,"dep_fk_id":76,"mun_nombre":"Buenaventura"},{"mun_pk_id":63111,"dep_fk_id":63,"mun_nombre":"Buenavista"},{"mun_pk_id":70110,"dep_fk_id":70,"mun_nombre":"Buenavista"},{"mun_pk_id":27245,"dep_fk_id":27,"mun_nombre":"El Carmen de Atrato"},{"mun_pk_id":76113,"dep_fk_id":76,"mun_nombre":"Bugalagrande"},{"mun_pk_id":25120,"dep_fk_id":25,"mun_nombre":"Cabrera"},{"mun_pk_id":68121,"dep_fk_id":68,"mun_nombre":"Cabrera"},{"mun_pk_id":50124,"dep_fk_id":50,"mun_nombre":"Cabuyaro"},{"mun_pk_id":25123,"dep_fk_id":25,"mun_nombre":"Cachipay"},{"mun_pk_id":5125,"dep_fk_id":5,"mun_nombre":"Caicedo"},{"mun_pk_id":76122,"dep_fk_id":76,"mun_nombre":"Caicedonia"},{"mun_pk_id":70124,"dep_fk_id":70,"mun_nombre":"Caimito"},{"mun_pk_id":73124,"dep_fk_id":73,"mun_nombre":"Cajamarca"},{"mun_pk_id":95015,"dep_fk_id":95,"mun_nombre":"Calamar"},{"mun_pk_id":5129,"dep_fk_id":5,"mun_nombre":"Caldas"},{"mun_pk_id":19137,"dep_fk_id":19,"mun_nombre":"Caldono"},{"mun_pk_id":76001,"dep_fk_id":76,"mun_nombre":"Cali"},{"mun_pk_id":68132,"dep_fk_id":68,"mun_nombre":"California"},{"mun_pk_id":76126,"dep_fk_id":76,"mun_nombre":"Calima"},{"mun_pk_id":19142,"dep_fk_id":19,"mun_nombre":"Caloto"},{"mun_pk_id":5134,"dep_fk_id":5,"mun_nombre":"Campamento"},{"mun_pk_id":15740,"dep_fk_id":15,"mun_nombre":"Siachoque"},{"mun_pk_id":41132,"dep_fk_id":41,"mun_nombre":"Campoalegre"},{"mun_pk_id":76130,"dep_fk_id":76,"mun_nombre":"Candelaria"},{"mun_pk_id":52352,"dep_fk_id":52,"mun_nombre":"Iles"},{"mun_pk_id":68147,"dep_fk_id":68,"mun_nombre":"Capitanejo"},{"mun_pk_id":5145,"dep_fk_id":5,"mun_nombre":"Caramanta"},{"mun_pk_id":5147,"dep_fk_id":5,"mun_nombre":"Carepa"},{"mun_pk_id":68101,"dep_fk_id":68,"mun_nombre":"Bolívar"},{"mun_pk_id":5197,"dep_fk_id":5,"mun_nombre":"Cocorná"},{"mun_pk_id":27077,"dep_fk_id":27,"mun_nombre":"Bajo Baudó"},{"mun_pk_id":5150,"dep_fk_id":5,"mun_nombre":"Carolina"},{"mun_pk_id":76100,"dep_fk_id":76,"mun_nombre":"Bolívar"},{"mun_pk_id":15638,"dep_fk_id":15,"mun_nombre":"Sáchica"},{"mun_pk_id":76147,"dep_fk_id":76,"mun_nombre":"Cartago"},{"mun_pk_id":73152,"dep_fk_id":73,"mun_nombre":"Casabianca"},{"mun_pk_id":19780,"dep_fk_id":19,"mun_nombre":"Suárez"},{"mun_pk_id":5154,"dep_fk_id":5,"mun_nombre":"Caucasia"},{"mun_pk_id":68162,"dep_fk_id":68,"mun_nombre":"Cerrito"},{"mun_pk_id":52051,"dep_fk_id":52,"mun_nombre":"Arboleda"},{"mun_pk_id":73168,"dep_fk_id":73,"mun_nombre":"Chaparral"},{"mun_pk_id":68169,"dep_fk_id":68,"mun_nombre":"Charta"},{"mun_pk_id":68176,"dep_fk_id":68,"mun_nombre":"Chima"},{"mun_pk_id":20175,"dep_fk_id":20,"mun_nombre":"Chimichagua"},{"mun_pk_id":25178,"dep_fk_id":25,"mun_nombre":"Chipaque"},{"mun_pk_id":47170,"dep_fk_id":47,"mun_nombre":"Chivolo"},{"mun_pk_id":13458,"dep_fk_id":13,"mun_nombre":"Montecristo"},{"mun_pk_id":68190,"dep_fk_id":68,"mun_nombre":"Cimitarra"},{"mun_pk_id":63190,"dep_fk_id":63,"mun_nombre":"Circasia"},{"mun_pk_id":5190,"dep_fk_id":5,"mun_nombre":"Cisneros"},{"mun_pk_id":41807,"dep_fk_id":41,"mun_nombre":"Timaná"},{"mun_pk_id":73200,"dep_fk_id":73,"mun_nombre":"Coello"},{"mun_pk_id":25200,"dep_fk_id":25,"mun_nombre":"Cogua"},{"mun_pk_id":41206,"dep_fk_id":41,"mun_nombre":"Colombia"},{"mun_pk_id":70204,"dep_fk_id":70,"mun_nombre":"Coloso"},{"mun_pk_id":5209,"dep_fk_id":5,"mun_nombre":"Concordia"},{"mun_pk_id":47205,"dep_fk_id":47,"mun_nombre":"Concordia"},{"mun_pk_id":68209,"dep_fk_id":68,"mun_nombre":"Confines"},{"mun_pk_id":27615,"dep_fk_id":27,"mun_nombre":"Riosucio"},{"mun_pk_id":5212,"dep_fk_id":5,"mun_nombre":"Copacabana"},{"mun_pk_id":19212,"dep_fk_id":19,"mun_nombre":"Corinto"},{"mun_pk_id":68217,"dep_fk_id":68,"mun_nombre":"Coromoro"},{"mun_pk_id":70215,"dep_fk_id":70,"mun_nombre":"Corozal"},{"mun_pk_id":25214,"dep_fk_id":25,"mun_nombre":"Cota"},{"mun_pk_id":73217,"dep_fk_id":73,"mun_nombre":"Coyaima"},{"mun_pk_id":85139,"dep_fk_id":85,"mun_nombre":"Maní"},{"mun_pk_id":54223,"dep_fk_id":54,"mun_nombre":"Cucutilla"},{"mun_pk_id":50226,"dep_fk_id":50,"mun_nombre":"Cumaral"},{"mun_pk_id":99773,"dep_fk_id":99,"mun_nombre":"Cumaribo"},{"mun_pk_id":73226,"dep_fk_id":73,"mun_nombre":"Cunday"},{"mun_pk_id":5234,"dep_fk_id":5,"mun_nombre":"Dabeiba"},{"mun_pk_id":76233,"dep_fk_id":76,"mun_nombre":"Dagua"},{"mun_pk_id":44090,"dep_fk_id":44,"mun_nombre":"Dibulla"},{"mun_pk_id":73236,"dep_fk_id":73,"mun_nombre":"Dolores"},{"mun_pk_id":66170,"dep_fk_id":66,"mun_nombre":"Dosquebradas"},{"mun_pk_id":54239,"dep_fk_id":54,"mun_nombre":"Durania"},{"mun_pk_id":15686,"dep_fk_id":15,"mun_nombre":"Santana"},{"mun_pk_id":5809,"dep_fk_id":5,"mun_nombre":"Titiribí"},{"mun_pk_id":15464,"dep_fk_id":15,"mun_nombre":"Mongua"},{"mun_pk_id":5885,"dep_fk_id":5,"mun_nombre":"Yalí"},{"mun_pk_id":5858,"dep_fk_id":5,"mun_nombre":"Vegachí"},{"mun_pk_id":23570,"dep_fk_id":23,"mun_nombre":"Pueblo Nuevo"},{"mun_pk_id":52835,"dep_fk_id":52,"mun_nombre":"San Andrés de Tumaco"},{"mun_pk_id":5364,"dep_fk_id":5,"mun_nombre":"Jardín"},{"mun_pk_id":25053,"dep_fk_id":25,"mun_nombre":"Arbeláez"},{"mun_pk_id":76616,"dep_fk_id":76,"mun_nombre":"Riofrío"},{"mun_pk_id":25871,"dep_fk_id":25,"mun_nombre":"Villagómez"},{"mun_pk_id":25777,"dep_fk_id":25,"mun_nombre":"Supatá"},{"mun_pk_id":13673,"dep_fk_id":13,"mun_nombre":"Santa Catalina"},{"mun_pk_id":5480,"dep_fk_id":5,"mun_nombre":"Mutatá"},{"mun_pk_id":68324,"dep_fk_id":68,"mun_nombre":"Guavatá"},{"mun_pk_id":25269,"dep_fk_id":25,"mun_nombre":"Facatativá"},{"mun_pk_id":18592,"dep_fk_id":18,"mun_nombre":"Puerto Rico"},{"mun_pk_id":27491,"dep_fk_id":27,"mun_nombre":"Nóvita"},{"mun_pk_id":8436,"dep_fk_id":8,"mun_nombre":"Manatí"},{"mun_pk_id":52480,"dep_fk_id":52,"mun_nombre":"Nariño"},{"mun_pk_id":15693,"dep_fk_id":15,"mun_nombre":"Santa Rosa de Viterbo"},{"mun_pk_id":13006,"dep_fk_id":13,"mun_nombre":"Achí"},{"mun_pk_id":52560,"dep_fk_id":52,"mun_nombre":"Potosí"},{"mun_pk_id":5679,"dep_fk_id":5,"mun_nombre":"Santa Bárbara"},{"mun_pk_id":27073,"dep_fk_id":27,"mun_nombre":"Bagadó"},{"mun_pk_id":15759,"dep_fk_id":15,"mun_nombre":"Sogamoso"},{"mun_pk_id":5264,"dep_fk_id":5,"mun_nombre":"Entrerríos"},{"mun_pk_id":15185,"dep_fk_id":15,"mun_nombre":"Chitaraque"},{"mun_pk_id":13160,"dep_fk_id":13,"mun_nombre":"Cantagallo"},{"mun_pk_id":15790,"dep_fk_id":15,"mun_nombre":"Tasco"},{"mun_pk_id":52256,"dep_fk_id":52,"mun_nombre":"El Rosario"},{"mun_pk_id":68235,"dep_fk_id":68,"mun_nombre":"El Carmen de Chucurí"},{"mun_pk_id":66045,"dep_fk_id":66,"mun_nombre":"Apía"},{"mun_pk_id":52786,"dep_fk_id":52,"mun_nombre":"Taminango"},{"mun_pk_id":68720,"dep_fk_id":68,"mun_nombre":"Santa Helena del Opón"},{"mun_pk_id":52320,"dep_fk_id":52,"mun_nombre":"Guaitarilla"},{"mun_pk_id":25151,"dep_fk_id":25,"mun_nombre":"Cáqueza"},{"mun_pk_id":8573,"dep_fk_id":8,"mun_nombre":"Puerto Colombia"},{"mun_pk_id":15276,"dep_fk_id":15,"mun_nombre":"Floresta"},{"mun_pk_id":94663,"dep_fk_id":94,"mun_nombre":"Mapiripana"},{"mun_pk_id":15248,"dep_fk_id":15,"mun_nombre":"El Espino"},{"mun_pk_id":63130,"dep_fk_id":63,"mun_nombre":"Calarcá"},{"mun_pk_id":15204,"dep_fk_id":15,"mun_nombre":"Cómbita"},{"mun_pk_id":8558,"dep_fk_id":8,"mun_nombre":"Polonuevo"},{"mun_pk_id":47058,"dep_fk_id":47,"mun_nombre":"Ariguaní"},{"mun_pk_id":68264,"dep_fk_id":68,"mun_nombre":"Encino"},{"mun_pk_id":68266,"dep_fk_id":68,"mun_nombre":"Enciso"},{"mun_pk_id":5266,"dep_fk_id":5,"mun_nombre":"Envigado"},{"mun_pk_id":73268,"dep_fk_id":73,"mun_nombre":"Espinal"},{"mun_pk_id":73270,"dep_fk_id":73,"mun_nombre":"Falan"},{"mun_pk_id":17272,"dep_fk_id":17,"mun_nombre":"Filadelfia"},{"mun_pk_id":63272,"dep_fk_id":63,"mun_nombre":"Filandia"},{"mun_pk_id":73275,"dep_fk_id":73,"mun_nombre":"Flandes"},{"mun_pk_id":19290,"dep_fk_id":19,"mun_nombre":"Florencia"},{"mun_pk_id":76275,"dep_fk_id":76,"mun_nombre":"Florida"},{"mun_pk_id":68276,"dep_fk_id":68,"mun_nombre":"Floridablanca"},{"mun_pk_id":44279,"dep_fk_id":44,"mun_nombre":"Fonseca"},{"mun_pk_id":81300,"dep_fk_id":81,"mun_nombre":"Fortul"},{"mun_pk_id":25281,"dep_fk_id":25,"mun_nombre":"Fosca"},{"mun_pk_id":15212,"dep_fk_id":15,"mun_nombre":"Coper"},{"mun_pk_id":5282,"dep_fk_id":5,"mun_nombre":"Fredonia"},{"mun_pk_id":73283,"dep_fk_id":73,"mun_nombre":"Fresno"},{"mun_pk_id":5284,"dep_fk_id":5,"mun_nombre":"Frontino"},{"mun_pk_id":27025,"dep_fk_id":27,"mun_nombre":"Alto Baudó"},{"mun_pk_id":25286,"dep_fk_id":25,"mun_nombre":"Funza"},{"mun_pk_id":70235,"dep_fk_id":70,"mun_nombre":"Galeras"},{"mun_pk_id":25299,"dep_fk_id":25,"mun_nombre":"Gama"},{"mun_pk_id":20295,"dep_fk_id":20,"mun_nombre":"Gamarra"},{"mun_pk_id":41306,"dep_fk_id":41,"mun_nombre":"Gigante"},{"mun_pk_id":76306,"dep_fk_id":76,"mun_nombre":"Ginebra"},{"mun_pk_id":5306,"dep_fk_id":5,"mun_nombre":"Giraldo"},{"mun_pk_id":25307,"dep_fk_id":25,"mun_nombre":"Girardot"},{"mun_pk_id":5308,"dep_fk_id":5,"mun_nombre":"Girardota"},{"mun_pk_id":15317,"dep_fk_id":15,"mun_nombre":"Guacamayas"},{"mun_pk_id":54313,"dep_fk_id":54,"mun_nombre":"Gramalote"},{"mun_pk_id":5313,"dep_fk_id":5,"mun_nombre":"Granada"},{"mun_pk_id":25312,"dep_fk_id":25,"mun_nombre":"Granada"},{"mun_pk_id":50313,"dep_fk_id":50,"mun_nombre":"Granada"},{"mun_pk_id":68318,"dep_fk_id":68,"mun_nombre":"Guaca"},{"mun_pk_id":8560,"dep_fk_id":8,"mun_nombre":"Ponedera"},{"mun_pk_id":5315,"dep_fk_id":5,"mun_nombre":"Guadalupe"},{"mun_pk_id":41319,"dep_fk_id":41,"mun_nombre":"Guadalupe"},{"mun_pk_id":68320,"dep_fk_id":68,"mun_nombre":"Guadalupe"},{"mun_pk_id":25320,"dep_fk_id":25,"mun_nombre":"Guaduas"},{"mun_pk_id":47318,"dep_fk_id":47,"mun_nombre":"Guamal"},{"mun_pk_id":50318,"dep_fk_id":50,"mun_nombre":"Guamal"},{"mun_pk_id":73319,"dep_fk_id":73,"mun_nombre":"Guamo"},{"mun_pk_id":52565,"dep_fk_id":52,"mun_nombre":"Providencia"},{"mun_pk_id":70265,"dep_fk_id":70,"mun_nombre":"Guaranda"},{"mun_pk_id":5318,"dep_fk_id":5,"mun_nombre":"Guarne"},{"mun_pk_id":25322,"dep_fk_id":25,"mun_nombre":"Guasca"},{"mun_pk_id":25326,"dep_fk_id":25,"mun_nombre":"Guatavita"},{"mun_pk_id":27135,"dep_fk_id":27,"mun_nombre":"El Cantón San Pablo"},{"mun_pk_id":25335,"dep_fk_id":25,"mun_nombre":"Guayabetal"},{"mun_pk_id":15092,"dep_fk_id":15,"mun_nombre":"Betéitiva"},{"mun_pk_id":68344,"dep_fk_id":68,"mun_nombre":"Hato"},{"mun_pk_id":76364,"dep_fk_id":76,"mun_nombre":"Jamundí"},{"mun_pk_id":44378,"dep_fk_id":44,"mun_nombre":"Hatonuevo"},{"mun_pk_id":5347,"dep_fk_id":5,"mun_nombre":"Heliconia"},{"mun_pk_id":73347,"dep_fk_id":73,"mun_nombre":"Herveo"},{"mun_pk_id":5353,"dep_fk_id":5,"mun_nombre":"Hispania"},{"mun_pk_id":41349,"dep_fk_id":41,"mun_nombre":"Hobo"},{"mun_pk_id":73349,"dep_fk_id":73,"mun_nombre":"Honda"},{"mun_pk_id":73352,"dep_fk_id":73,"mun_nombre":"Icononzo"},{"mun_pk_id":41359,"dep_fk_id":41,"mun_nombre":"Isnos"},{"mun_pk_id":5361,"dep_fk_id":5,"mun_nombre":"Ituango"},{"mun_pk_id":27006,"dep_fk_id":27,"mun_nombre":"Acandí"},{"mun_pk_id":19693,"dep_fk_id":19,"mun_nombre":"San Sebastián"},{"mun_pk_id":15368,"dep_fk_id":15,"mun_nombre":"Jericó"},{"mun_pk_id":97511,"dep_fk_id":97,"mun_nombre":"Pacoa"},{"mun_pk_id":15226,"dep_fk_id":15,"mun_nombre":"Cuítiva"},{"mun_pk_id":94887,"dep_fk_id":94,"mun_nombre":"Pana Pana"},{"mun_pk_id":5044,"dep_fk_id":5,"mun_nombre":"Anzá"},{"mun_pk_id":97889,"dep_fk_id":97,"mun_nombre":"Yavaraté"},{"mun_pk_id":52473,"dep_fk_id":52,"mun_nombre":"Mosquera"},{"mun_pk_id":27075,"dep_fk_id":27,"mun_nombre":"Bahía Solano"},{"mun_pk_id":15820,"dep_fk_id":15,"mun_nombre":"Tópaga"},{"mun_pk_id":52418,"dep_fk_id":52,"mun_nombre":"Los Andes"},{"mun_pk_id":73408,"dep_fk_id":73,"mun_nombre":"Lérida"},{"mun_pk_id":15377,"dep_fk_id":15,"mun_nombre":"Labranzagrande"},{"mun_pk_id":23466,"dep_fk_id":23,"mun_nombre":"Montelíbano"},{"mun_pk_id":68298,"dep_fk_id":68,"mun_nombre":"Gámbita"},{"mun_pk_id":25580,"dep_fk_id":25,"mun_nombre":"Pulí"},{"mun_pk_id":23580,"dep_fk_id":23,"mun_nombre":"Puerto Libertador"},{"mun_pk_id":5237,"dep_fk_id":5,"mun_nombre":"Donmatías"},{"mun_pk_id":5756,"dep_fk_id":5,"mun_nombre":"Sonsón"},{"mun_pk_id":97161,"dep_fk_id":97,"mun_nombre":"Carurú"},{"mun_pk_id":15664,"dep_fk_id":15,"mun_nombre":"San José de Pare"},{"mun_pk_id":23670,"dep_fk_id":23,"mun_nombre":"San Andrés de Sotavento"},{"mun_pk_id":23001,"dep_fk_id":23,"mun_nombre":"Montería"},{"mun_pk_id":27099,"dep_fk_id":27,"mun_nombre":"Bojayá"},{"mun_pk_id":52323,"dep_fk_id":52,"mun_nombre":"Gualmatán"},{"mun_pk_id":5040,"dep_fk_id":5,"mun_nombre":"Anorí"},{"mun_pk_id":52411,"dep_fk_id":52,"mun_nombre":"Linares"},{"mun_pk_id":88001,"dep_fk_id":88,"mun_nombre":"San Andrés"},{"mun_pk_id":25258,"dep_fk_id":25,"mun_nombre":"El Peñón"},{"mun_pk_id":27495,"dep_fk_id":27,"mun_nombre":"Nuquí"},{"mun_pk_id":52520,"dep_fk_id":52,"mun_nombre":"Francisco Pizarro"},{"mun_pk_id":99001,"dep_fk_id":99,"mun_nombre":"Puerto Carreño"},{"mun_pk_id":8137,"dep_fk_id":8,"mun_nombre":"Campo de la Cruz"},{"mun_pk_id":23807,"dep_fk_id":23,"mun_nombre":"Tierralta"},{"mun_pk_id":52079,"dep_fk_id":52,"mun_nombre":"Barbacoas"},{"mun_pk_id":8421,"dep_fk_id":8,"mun_nombre":"Luruaco"},{"mun_pk_id":52385,"dep_fk_id":52,"mun_nombre":"La Llanada"},{"mun_pk_id":15238,"dep_fk_id":15,"mun_nombre":"Duitama"},{"mun_pk_id":13490,"dep_fk_id":13,"mun_nombre":"Norosí"},{"mun_pk_id":25181,"dep_fk_id":25,"mun_nombre":"Choachí"},{"mun_pk_id":18094,"dep_fk_id":18,"mun_nombre":"Belén de los Andaquíes"},{"mun_pk_id":23068,"dep_fk_id":23,"mun_nombre":"Ayapel"},{"mun_pk_id":13650,"dep_fk_id":13,"mun_nombre":"San Fernando"},{"mun_pk_id":15183,"dep_fk_id":15,"mun_nombre":"Chita"},{"mun_pk_id":5142,"dep_fk_id":5,"mun_nombre":"Caracolí"},{"mun_pk_id":94888,"dep_fk_id":94,"mun_nombre":"Morichal"},{"mun_pk_id":18205,"dep_fk_id":18,"mun_nombre":"Curillo"},{"mun_pk_id":20228,"dep_fk_id":20,"mun_nombre":"Curumaní"},{"mun_pk_id":54377,"dep_fk_id":54,"mun_nombre":"Labateca"},{"mun_pk_id":68406,"dep_fk_id":68,"mun_nombre":"Lebrija"},{"mun_pk_id":25407,"dep_fk_id":25,"mun_nombre":"Lenguazaque"},{"mun_pk_id":91001,"dep_fk_id":91,"mun_nombre":"Leticia"},{"mun_pk_id":5411,"dep_fk_id":5,"mun_nombre":"Liborina"},{"mun_pk_id":52110,"dep_fk_id":52,"mun_nombre":"Buesaco"},{"mun_pk_id":15511,"dep_fk_id":15,"mun_nombre":"Pachavita"},{"mun_pk_id":68669,"dep_fk_id":68,"mun_nombre":"San Andrés"},{"mun_pk_id":52207,"dep_fk_id":52,"mun_nombre":"Consacá"},{"mun_pk_id":20310,"dep_fk_id":20,"mun_nombre":"González"},{"mun_pk_id":15469,"dep_fk_id":15,"mun_nombre":"Moniquirá"},{"mun_pk_id":54418,"dep_fk_id":54,"mun_nombre":"Lourdes"},{"mun_pk_id":68425,"dep_fk_id":68,"mun_nombre":"Macaravita"},{"mun_pk_id":5425,"dep_fk_id":5,"mun_nombre":"Maceo"},{"mun_pk_id":25430,"dep_fk_id":25,"mun_nombre":"Madrid"},{"mun_pk_id":44430,"dep_fk_id":44,"mun_nombre":"Maicao"},{"mun_pk_id":70429,"dep_fk_id":70,"mun_nombre":"Majagual"},{"mun_pk_id":44560,"dep_fk_id":44,"mun_nombre":"Manaure"},{"mun_pk_id":23162,"dep_fk_id":23,"mun_nombre":"Cereté"},{"mun_pk_id":17001,"dep_fk_id":17,"mun_nombre":"Manizales"},{"mun_pk_id":25436,"dep_fk_id":25,"mun_nombre":"Manta"},{"mun_pk_id":17433,"dep_fk_id":17,"mun_nombre":"Manzanares"},{"mun_pk_id":19809,"dep_fk_id":19,"mun_nombre":"Timbiquí"},{"mun_pk_id":5440,"dep_fk_id":5,"mun_nombre":"Marinilla"},{"mun_pk_id":17442,"dep_fk_id":17,"mun_nombre":"Marmato"},{"mun_pk_id":17444,"dep_fk_id":17,"mun_nombre":"Marquetalia"},{"mun_pk_id":66440,"dep_fk_id":66,"mun_nombre":"Marsella"},{"mun_pk_id":17446,"dep_fk_id":17,"mun_nombre":"Marulanda"},{"mun_pk_id":68444,"dep_fk_id":68,"mun_nombre":"Matanza"},{"mun_pk_id":25438,"dep_fk_id":25,"mun_nombre":"Medina"},{"mun_pk_id":18785,"dep_fk_id":18,"mun_nombre":"Solita"},{"mun_pk_id":95001,"dep_fk_id":95,"mun_nombre":"San José del Guaviare"},{"mun_pk_id":25740,"dep_fk_id":25,"mun_nombre":"Sibaté"},{"mun_pk_id":73449,"dep_fk_id":73,"mun_nombre":"Melgar"},{"mun_pk_id":19450,"dep_fk_id":19,"mun_nombre":"Mercaderes"},{"mun_pk_id":50330,"dep_fk_id":50,"mun_nombre":"Mesetas"},{"mun_pk_id":95200,"dep_fk_id":95,"mun_nombre":"Miraflores"},{"mun_pk_id":19455,"dep_fk_id":19,"mun_nombre":"Miranda"},{"mun_pk_id":5042,"dep_fk_id":5,"mun_nombre":"Santa Fé de Antioquia"},{"mun_pk_id":86001,"dep_fk_id":86,"mun_nombre":"Mocoa"},{"mun_pk_id":68464,"dep_fk_id":68,"mun_nombre":"Mogotes"},{"mun_pk_id":68468,"dep_fk_id":68,"mun_nombre":"Molagavita"},{"mun_pk_id":5467,"dep_fk_id":5,"mun_nombre":"Montebello"},{"mun_pk_id":63470,"dep_fk_id":63,"mun_nombre":"Montenegro"},{"mun_pk_id":85162,"dep_fk_id":85,"mun_nombre":"Monterrey"},{"mun_pk_id":19473,"dep_fk_id":19,"mun_nombre":"Morales"},{"mun_pk_id":70473,"dep_fk_id":70,"mun_nombre":"Morroa"},{"mun_pk_id":25473,"dep_fk_id":25,"mun_nombre":"Mosquera"},{"mun_pk_id":73461,"dep_fk_id":73,"mun_nombre":"Murillo"},{"mun_pk_id":54480,"dep_fk_id":54,"mun_nombre":"Mutiscua"},{"mun_pk_id":73483,"dep_fk_id":73,"mun_nombre":"Natagaima"},{"mun_pk_id":17486,"dep_fk_id":17,"mun_nombre":"Neira"},{"mun_pk_id":41001,"dep_fk_id":41,"mun_nombre":"Neiva"},{"mun_pk_id":25488,"dep_fk_id":25,"mun_nombre":"Nilo"},{"mun_pk_id":25489,"dep_fk_id":25,"mun_nombre":"Nimaima"},{"mun_pk_id":25491,"dep_fk_id":25,"mun_nombre":"Nocaima"},{"mun_pk_id":17495,"dep_fk_id":17,"mun_nombre":"Norcasia"},{"mun_pk_id":25851,"dep_fk_id":25,"mun_nombre":"Útica"},{"mun_pk_id":13836,"dep_fk_id":13,"mun_nombre":"Turbaco"},{"mun_pk_id":76497,"dep_fk_id":76,"mun_nombre":"Obando"},{"mun_pk_id":68498,"dep_fk_id":68,"mun_nombre":"Ocamonte"},{"mun_pk_id":68500,"dep_fk_id":68,"mun_nombre":"Oiba"},{"mun_pk_id":5501,"dep_fk_id":5,"mun_nombre":"Olaya"},{"mun_pk_id":13052,"dep_fk_id":13,"mun_nombre":"Arjona"},{"mun_pk_id":68502,"dep_fk_id":68,"mun_nombre":"Onzaga"},{"mun_pk_id":41503,"dep_fk_id":41,"mun_nombre":"Oporapa"},{"mun_pk_id":86320,"dep_fk_id":86,"mun_nombre":"Orito"},{"mun_pk_id":73504,"dep_fk_id":73,"mun_nombre":"Ortega"},{"mun_pk_id":70508,"dep_fk_id":70,"mun_nombre":"Ovejas"},{"mun_pk_id":25513,"dep_fk_id":25,"mun_nombre":"Pacho"},{"mun_pk_id":19513,"dep_fk_id":19,"mun_nombre":"Padilla"},{"mun_pk_id":41518,"dep_fk_id":41,"mun_nombre":"Paicol"},{"mun_pk_id":20517,"dep_fk_id":20,"mun_nombre":"Pailitas"},{"mun_pk_id":25518,"dep_fk_id":25,"mun_nombre":"Paime"},{"mun_pk_id":41524,"dep_fk_id":41,"mun_nombre":"Palermo"},{"mun_pk_id":17524,"dep_fk_id":17,"mun_nombre":"Palestina"},{"mun_pk_id":41530,"dep_fk_id":41,"mun_nombre":"Palestina"},{"mun_pk_id":18247,"dep_fk_id":18,"mun_nombre":"El Doncello"},{"mun_pk_id":15516,"dep_fk_id":15,"mun_nombre":"Paipa"},{"mun_pk_id":13140,"dep_fk_id":13,"mun_nombre":"Calamar"},{"mun_pk_id":15533,"dep_fk_id":15,"mun_nombre":"Paya"},{"mun_pk_id":19001,"dep_fk_id":19,"mun_nombre":"Popayán"},{"mun_pk_id":76036,"dep_fk_id":76,"mun_nombre":"Andalucía"},{"mun_pk_id":85400,"dep_fk_id":85,"mun_nombre":"Támara"},{"mun_pk_id":15774,"dep_fk_id":15,"mun_nombre":"Susacón"},{"mun_pk_id":23574,"dep_fk_id":23,"mun_nombre":"Puerto Escondido"},{"mun_pk_id":19824,"dep_fk_id":19,"mun_nombre":"Totoró"},{"mun_pk_id":54172,"dep_fk_id":54,"mun_nombre":"Chinácota"},{"mun_pk_id":18460,"dep_fk_id":18,"mun_nombre":"Milán"},{"mun_pk_id":19585,"dep_fk_id":19,"mun_nombre":"Puracé"},{"mun_pk_id":52203,"dep_fk_id":52,"mun_nombre":"Colón"},{"mun_pk_id":5790,"dep_fk_id":5,"mun_nombre":"Tarazá"},{"mun_pk_id":15646,"dep_fk_id":15,"mun_nombre":"Samacá"},{"mun_pk_id":19300,"dep_fk_id":19,"mun_nombre":"Guachené"},{"mun_pk_id":13810,"dep_fk_id":13,"mun_nombre":"Tiquisio"},{"mun_pk_id":41357,"dep_fk_id":41,"mun_nombre":"Íquira"},{"mun_pk_id":25293,"dep_fk_id":25,"mun_nombre":"Gachalá"},{"mun_pk_id":73043,"dep_fk_id":73,"mun_nombre":"Anzoátegui"},{"mun_pk_id":91540,"dep_fk_id":91,"mun_nombre":"Puerto Nariño"},{"mun_pk_id":52621,"dep_fk_id":52,"mun_nombre":"Roberto Payán"},{"mun_pk_id":68861,"dep_fk_id":68,"mun_nombre":"Vélez"},{"mun_pk_id":15507,"dep_fk_id":15,"mun_nombre":"Otanche"},{"mun_pk_id":8296,"dep_fk_id":8,"mun_nombre":"Galapa"},{"mun_pk_id":13894,"dep_fk_id":13,"mun_nombre":"Zambrano"},{"mun_pk_id":5045,"dep_fk_id":5,"mun_nombre":"Apartadó"},{"mun_pk_id":76020,"dep_fk_id":76,"mun_nombre":"Alcalá"},{"mun_pk_id":27001,"dep_fk_id":27,"mun_nombre":"Quibdó"},{"mun_pk_id":52405,"dep_fk_id":52,"mun_nombre":"Leiva"},{"mun_pk_id":68432,"dep_fk_id":68,"mun_nombre":"Málaga"},{"mun_pk_id":15403,"dep_fk_id":15,"mun_nombre":"La Uvita"},{"mun_pk_id":68370,"dep_fk_id":68,"mun_nombre":"Jordán"},{"mun_pk_id":13074,"dep_fk_id":13,"mun_nombre":"Barranco de Loba"},{"mun_pk_id":15480,"dep_fk_id":15,"mun_nombre":"Muzo"},{"mun_pk_id":25823,"dep_fk_id":25,"mun_nombre":"Topaipí"},{"mun_pk_id":54344,"dep_fk_id":54,"mun_nombre":"Hacarí"},{"mun_pk_id":86571,"dep_fk_id":86,"mun_nombre":"Puerto Guzmán"},{"mun_pk_id":15599,"dep_fk_id":15,"mun_nombre":"Ramiriquí"},{"mun_pk_id":15757,"dep_fk_id":15,"mun_nombre":"Socha"},{"mun_pk_id":68522,"dep_fk_id":68,"mun_nombre":"Palmar"},{"mun_pk_id":27250,"dep_fk_id":27,"mun_nombre":"El Litoral San Juan"},{"mun_pk_id":25839,"dep_fk_id":25,"mun_nombre":"Ubalá"},{"mun_pk_id":76520,"dep_fk_id":76,"mun_nombre":"Palmira"},{"mun_pk_id":70523,"dep_fk_id":70,"mun_nombre":"Palmito"},{"mun_pk_id":73520,"dep_fk_id":73,"mun_nombre":"Palocabildo"},{"mun_pk_id":54518,"dep_fk_id":54,"mun_nombre":"Pamplona"},{"mun_pk_id":54520,"dep_fk_id":54,"mun_nombre":"Pamplonita"},{"mun_pk_id":76834,"dep_fk_id":76,"mun_nombre":"Tuluá"},{"mun_pk_id":25524,"dep_fk_id":25,"mun_nombre":"Pandi"},{"mun_pk_id":25530,"dep_fk_id":25,"mun_nombre":"Paratebueno"},{"mun_pk_id":25535,"dep_fk_id":25,"mun_nombre":"Pasca"},{"mun_pk_id":11001,"dep_fk_id":11,"mun_nombre":"Bogotá D.C."},{"mun_pk_id":68780,"dep_fk_id":68,"mun_nombre":"Suratá"},{"mun_pk_id":47541,"dep_fk_id":47,"mun_nombre":"Pedraza"},{"mun_pk_id":20550,"dep_fk_id":20,"mun_nombre":"Pelaya"},{"mun_pk_id":17541,"dep_fk_id":17,"mun_nombre":"Pensilvania"},{"mun_pk_id":5543,"dep_fk_id":5,"mun_nombre":"Peque"},{"mun_pk_id":66001,"dep_fk_id":66,"mun_nombre":"Pereira"},{"mun_pk_id":19533,"dep_fk_id":19,"mun_nombre":"Piamonte"},{"mun_pk_id":68547,"dep_fk_id":68,"mun_nombre":"Piedecuesta"},{"mun_pk_id":73547,"dep_fk_id":73,"mun_nombre":"Piedras"},{"mun_pk_id":63548,"dep_fk_id":63,"mun_nombre":"Pijao"},{"mun_pk_id":5541,"dep_fk_id":5,"mun_nombre":"Peñol"},{"mun_pk_id":68549,"dep_fk_id":68,"mun_nombre":"Pinchote"},{"mun_pk_id":41548,"dep_fk_id":41,"mun_nombre":"Pital"},{"mun_pk_id":41551,"dep_fk_id":41,"mun_nombre":"Pitalito"},{"mun_pk_id":47551,"dep_fk_id":47,"mun_nombre":"Pivijay"},{"mun_pk_id":73555,"dep_fk_id":73,"mun_nombre":"Planadas"},{"mun_pk_id":73585,"dep_fk_id":73,"mun_nombre":"Purificación"},{"mun_pk_id":47555,"dep_fk_id":47,"mun_nombre":"Plato"},{"mun_pk_id":85263,"dep_fk_id":85,"mun_nombre":"Pore"},{"mun_pk_id":76563,"dep_fk_id":76,"mun_nombre":"Pradera"},{"mun_pk_id":73563,"dep_fk_id":73,"mun_nombre":"Prado"},{"mun_pk_id":68211,"dep_fk_id":68,"mun_nombre":"Contratación"},{"mun_pk_id":27600,"dep_fk_id":27,"mun_nombre":"Río Quito"},{"mun_pk_id":8549,"dep_fk_id":8,"mun_nombre":"Piojó"},{"mun_pk_id":5576,"dep_fk_id":5,"mun_nombre":"Pueblorrico"},{"mun_pk_id":47570,"dep_fk_id":47,"mun_nombre":"Puebloviejo"},{"mun_pk_id":15001,"dep_fk_id":15,"mun_nombre":"Tunja"},{"mun_pk_id":5873,"dep_fk_id":5,"mun_nombre":"Vigía del Fuerte"},{"mun_pk_id":25317,"dep_fk_id":25,"mun_nombre":"Guachetá"},{"mun_pk_id":68689,"dep_fk_id":68,"mun_nombre":"San Vicente de Chucurí"},{"mun_pk_id":25899,"dep_fk_id":25,"mun_nombre":"Zipaquirá"},{"mun_pk_id":15816,"dep_fk_id":15,"mun_nombre":"Togüí"},{"mun_pk_id":52696,"dep_fk_id":52,"mun_nombre":"Santa Bárbara"},{"mun_pk_id":52356,"dep_fk_id":52,"mun_nombre":"Ipiales"},{"mun_pk_id":52227,"dep_fk_id":52,"mun_nombre":"Cumbal"},{"mun_pk_id":13433,"dep_fk_id":13,"mun_nombre":"Mahates"},{"mun_pk_id":47545,"dep_fk_id":47,"mun_nombre":"Pijiño del Carmen"},{"mun_pk_id":15806,"dep_fk_id":15,"mun_nombre":"Tibasosa"},{"mun_pk_id":25324,"dep_fk_id":25,"mun_nombre":"Guataquí"},{"mun_pk_id":8606,"dep_fk_id":8,"mun_nombre":"Repelón"},{"mun_pk_id":15131,"dep_fk_id":15,"mun_nombre":"Caldas"},{"mun_pk_id":13600,"dep_fk_id":13,"mun_nombre":"Río Viejo"},{"mun_pk_id":20178,"dep_fk_id":20,"mun_nombre":"Chiriguaná"},{"mun_pk_id":52001,"dep_fk_id":52,"mun_nombre":"Pasto"},{"mun_pk_id":15332,"dep_fk_id":15,"mun_nombre":"Güicán"},{"mun_pk_id":13744,"dep_fk_id":13,"mun_nombre":"Simití"},{"mun_pk_id":15839,"dep_fk_id":15,"mun_nombre":"Tutazá"},{"mun_pk_id":5004,"dep_fk_id":5,"mun_nombre":"Abriaquí"},{"mun_pk_id":52885,"dep_fk_id":52,"mun_nombre":"Yacuanquer"},{"mun_pk_id":70742,"dep_fk_id":70,"mun_nombre":"San Luis de Sincé"},{"mun_pk_id":15673,"dep_fk_id":15,"mun_nombre":"San Mateo"},{"mun_pk_id":5475,"dep_fk_id":5,"mun_nombre":"Murindó"},{"mun_pk_id":47960,"dep_fk_id":47,"mun_nombre":"Zapayán"},{"mun_pk_id":15476,"dep_fk_id":15,"mun_nombre":"Motavita"},{"mun_pk_id":15810,"dep_fk_id":15,"mun_nombre":"Tipacoque"},{"mun_pk_id":88564,"dep_fk_id":88,"mun_nombre":"Providencia"},{"mun_pk_id":52381,"dep_fk_id":52,"mun_nombre":"La Florida"},{"mun_pk_id":13222,"dep_fk_id":13,"mun_nombre":"Clemencia"},{"mun_pk_id":25592,"dep_fk_id":25,"mun_nombre":"Quebradanegra"},{"mun_pk_id":25594,"dep_fk_id":25,"mun_nombre":"Quetame"},{"mun_pk_id":63594,"dep_fk_id":63,"mun_nombre":"Quimbaya"},{"mun_pk_id":25596,"dep_fk_id":25,"mun_nombre":"Quipile"},{"mun_pk_id":54599,"dep_fk_id":54,"mun_nombre":"Ragonvalia"},{"mun_pk_id":85279,"dep_fk_id":85,"mun_nombre":"Recetor"},{"mun_pk_id":5604,"dep_fk_id":5,"mun_nombre":"Remedios"},{"mun_pk_id":47605,"dep_fk_id":47,"mun_nombre":"Remolino"},{"mun_pk_id":50606,"dep_fk_id":50,"mun_nombre":"Restrepo"},{"mun_pk_id":76606,"dep_fk_id":76,"mun_nombre":"Restrepo"},{"mun_pk_id":5607,"dep_fk_id":5,"mun_nombre":"Retiro"},{"mun_pk_id":25612,"dep_fk_id":25,"mun_nombre":"Ricaurte"},{"mun_pk_id":91460,"dep_fk_id":91,"mun_nombre":"Mirití Paraná"},{"mun_pk_id":27810,"dep_fk_id":27,"mun_nombre":"Unión Panamericana"},{"mun_pk_id":15660,"dep_fk_id":15,"mun_nombre":"San Eduardo"},{"mun_pk_id":52260,"dep_fk_id":52,"mun_nombre":"El Tambo"},{"mun_pk_id":73616,"dep_fk_id":73,"mun_nombre":"Rioblanco"},{"mun_pk_id":44001,"dep_fk_id":44,"mun_nombre":"Riohacha"},{"mun_pk_id":5615,"dep_fk_id":5,"mun_nombre":"Rionegro"},{"mun_pk_id":68615,"dep_fk_id":68,"mun_nombre":"Rionegro"},{"mun_pk_id":17614,"dep_fk_id":17,"mun_nombre":"Riosucio"},{"mun_pk_id":17616,"dep_fk_id":17,"mun_nombre":"Risaralda"},{"mun_pk_id":41615,"dep_fk_id":41,"mun_nombre":"Rivera"},{"mun_pk_id":70221,"dep_fk_id":70,"mun_nombre":"Coveñas"},{"mun_pk_id":76622,"dep_fk_id":76,"mun_nombre":"Roldanillo"},{"mun_pk_id":73622,"dep_fk_id":73,"mun_nombre":"Roncesvalles"},{"mun_pk_id":19622,"dep_fk_id":19,"mun_nombre":"Rosas"},{"mun_pk_id":73624,"dep_fk_id":73,"mun_nombre":"Rovira"},{"mun_pk_id":5030,"dep_fk_id":5,"mun_nombre":"Amagá"},{"mun_pk_id":5628,"dep_fk_id":5,"mun_nombre":"Sabanalarga"},{"mun_pk_id":85300,"dep_fk_id":85,"mun_nombre":"Sabanalarga"},{"mun_pk_id":41298,"dep_fk_id":41,"mun_nombre":"Garzón"},{"mun_pk_id":5631,"dep_fk_id":5,"mun_nombre":"Sabaneta"},{"mun_pk_id":41660,"dep_fk_id":41,"mun_nombre":"Saladoblanco"},{"mun_pk_id":17653,"dep_fk_id":17,"mun_nombre":"Salamina"},{"mun_pk_id":47675,"dep_fk_id":47,"mun_nombre":"Salamina"},{"mun_pk_id":54660,"dep_fk_id":54,"mun_nombre":"Salazar"},{"mun_pk_id":63690,"dep_fk_id":63,"mun_nombre":"Salento"},{"mun_pk_id":5642,"dep_fk_id":5,"mun_nombre":"Salgar"},{"mun_pk_id":23672,"dep_fk_id":23,"mun_nombre":"San Antero"},{"mun_pk_id":27425,"dep_fk_id":27,"mun_nombre":"Medio Atrato"},{"mun_pk_id":44098,"dep_fk_id":44,"mun_nombre":"Distracción"},{"mun_pk_id":13647,"dep_fk_id":13,"mun_nombre":"San Estanislao"},{"mun_pk_id":25148,"dep_fk_id":25,"mun_nombre":"Caparrapí"},{"mun_pk_id":23586,"dep_fk_id":23,"mun_nombre":"Purísima de la Concepción"},{"mun_pk_id":27361,"dep_fk_id":27,"mun_nombre":"Istmina"},{"mun_pk_id":52210,"dep_fk_id":52,"mun_nombre":"Contadero"},{"mun_pk_id":15425,"dep_fk_id":15,"mun_nombre":"Macanal"},{"mun_pk_id":25368,"dep_fk_id":25,"mun_nombre":"Jerusalén"},{"mun_pk_id":66594,"dep_fk_id":66,"mun_nombre":"Quinchía"},{"mun_pk_id":25224,"dep_fk_id":25,"mun_nombre":"Cucunubá"},{"mun_pk_id":25288,"dep_fk_id":25,"mun_nombre":"Fúquene"},{"mun_pk_id":15723,"dep_fk_id":15,"mun_nombre":"Sativasur"},{"mun_pk_id":25279,"dep_fk_id":25,"mun_nombre":"Fómeque"},{"mun_pk_id":52354,"dep_fk_id":52,"mun_nombre":"Imués"},{"mun_pk_id":68682,"dep_fk_id":68,"mun_nombre":"San Joaquín"},{"mun_pk_id":54498,"dep_fk_id":54,"mun_nombre":"Ocaña"},{"mun_pk_id":86568,"dep_fk_id":86,"mun_nombre":"Puerto Asís"},{"mun_pk_id":76318,"dep_fk_id":76,"mun_nombre":"Guacarí"},{"mun_pk_id":15676,"dep_fk_id":15,"mun_nombre":"San Miguel de Sema"},{"mun_pk_id":70820,"dep_fk_id":70,"mun_nombre":"Santiago de Tolú"},{"mun_pk_id":68368,"dep_fk_id":68,"mun_nombre":"Jesús María"},{"mun_pk_id":70400,"dep_fk_id":70,"mun_nombre":"La Unión"},{"mun_pk_id":68160,"dep_fk_id":68,"mun_nombre":"Cepitá"},{"mun_pk_id":15832,"dep_fk_id":15,"mun_nombre":"Tununguá"},{"mun_pk_id":5656,"dep_fk_id":5,"mun_nombre":"San Jerónimo"},{"mun_pk_id":13670,"dep_fk_id":13,"mun_nombre":"San Pablo"},{"mun_pk_id":25426,"dep_fk_id":25,"mun_nombre":"Machetá"},{"mun_pk_id":23168,"dep_fk_id":23,"mun_nombre":"Chimá"},{"mun_pk_id":19355,"dep_fk_id":19,"mun_nombre":"Inzá"},{"mun_pk_id":52378,"dep_fk_id":52,"mun_nombre":"La Cruz"},{"mun_pk_id":15753,"dep_fk_id":15,"mun_nombre":"Soatá"},{"mun_pk_id":5368,"dep_fk_id":5,"mun_nombre":"Jericó"},{"mun_pk_id":19130,"dep_fk_id":19,"mun_nombre":"Cajibío"},{"mun_pk_id":15494,"dep_fk_id":15,"mun_nombre":"Nuevo Colón"},{"mun_pk_id":54125,"dep_fk_id":54,"mun_nombre":"Cácota"},{"mun_pk_id":15187,"dep_fk_id":15,"mun_nombre":"Chivatá"},{"mun_pk_id":91530,"dep_fk_id":91,"mun_nombre":"Puerto Alegría"},{"mun_pk_id":5206,"dep_fk_id":5,"mun_nombre":"Concepción"},{"mun_pk_id":94884,"dep_fk_id":94,"mun_nombre":"Puerto Colombia"},{"mun_pk_id":13188,"dep_fk_id":13,"mun_nombre":"Cicuco"},{"mun_pk_id":25168,"dep_fk_id":25,"mun_nombre":"Chaguaní"},{"mun_pk_id":68207,"dep_fk_id":68,"mun_nombre":"Concepción"},{"mun_pk_id":86885,"dep_fk_id":86,"mun_nombre":"Villagarzón"},{"mun_pk_id":13838,"dep_fk_id":13,"mun_nombre":"Turbaná"},{"mun_pk_id":15162,"dep_fk_id":15,"mun_nombre":"Cerinza"},{"mun_pk_id":41885,"dep_fk_id":41,"mun_nombre":"Yaguará"},{"mun_pk_id":13549,"dep_fk_id":13,"mun_nombre":"Pinillos"},{"mun_pk_id":23419,"dep_fk_id":23,"mun_nombre":"Los Córdobas"},{"mun_pk_id":68322,"dep_fk_id":68,"mun_nombre":"Guapotá"},{"mun_pk_id":19517,"dep_fk_id":19,"mun_nombre":"Páez"},{"mun_pk_id":15879,"dep_fk_id":15,"mun_nombre":"Viracachá"},{"mun_pk_id":15835,"dep_fk_id":15,"mun_nombre":"Turmequé"},{"mun_pk_id":5120,"dep_fk_id":5,"mun_nombre":"Cáceres"},{"mun_pk_id":52254,"dep_fk_id":52,"mun_nombre":"El Peñol"},{"mun_pk_id":23090,"dep_fk_id":23,"mun_nombre":"Canalete"},{"mun_pk_id":5400,"dep_fk_id":5,"mun_nombre":"La Unión"},{"mun_pk_id":68271,"dep_fk_id":68,"mun_nombre":"Florián"},{"mun_pk_id":5659,"dep_fk_id":5,"mun_nombre":"San Juan de Urabá"},{"mun_pk_id":23660,"dep_fk_id":23,"mun_nombre":"Sahagún"},{"mun_pk_id":8141,"dep_fk_id":8,"mun_nombre":"Candelaria"},{"mun_pk_id":15632,"dep_fk_id":15,"mun_nombre":"Saboyá"},{"mun_pk_id":52022,"dep_fk_id":52,"mun_nombre":"Aldana"},{"mun_pk_id":25295,"dep_fk_id":25,"mun_nombre":"Gachancipá"},{"mun_pk_id":5101,"dep_fk_id":5,"mun_nombre":"Ciudad Bolívar"},{"mun_pk_id":17665,"dep_fk_id":17,"mun_nombre":"San José"},{"mun_pk_id":52720,"dep_fk_id":52,"mun_nombre":"Sapuyes"},{"mun_pk_id":15897,"dep_fk_id":15,"mun_nombre":"Zetaquira"},{"mun_pk_id":15696,"dep_fk_id":15,"mun_nombre":"Santa Sofía"},{"mun_pk_id":70230,"dep_fk_id":70,"mun_nombre":"Chalán"},{"mun_pk_id":41668,"dep_fk_id":41,"mun_nombre":"San Agustín"},{"mun_pk_id":52490,"dep_fk_id":52,"mun_nombre":"Olaya Herrera"},{"mun_pk_id":5360,"dep_fk_id":5,"mun_nombre":"Itagüí"},{"mun_pk_id":15537,"dep_fk_id":15,"mun_nombre":"Paz de Río"},{"mun_pk_id":15407,"dep_fk_id":15,"mun_nombre":"Villa de Leyva"},{"mun_pk_id":50568,"dep_fk_id":50,"mun_nombre":"Puerto Gaitán"},{"mun_pk_id":15531,"dep_fk_id":15,"mun_nombre":"Pauna"},{"mun_pk_id":52694,"dep_fk_id":52,"mun_nombre":"San Pedro de Cartago"},{"mun_pk_id":68307,"dep_fk_id":68,"mun_nombre":"Girón"},{"mun_pk_id":47258,"dep_fk_id":47,"mun_nombre":"El Piñón"},{"mun_pk_id":15500,"dep_fk_id":15,"mun_nombre":"Oicatá"},{"mun_pk_id":8078,"dep_fk_id":8,"mun_nombre":"Baranoa"},{"mun_pk_id":27372,"dep_fk_id":27,"mun_nombre":"Juradó"},{"mun_pk_id":41483,"dep_fk_id":41,"mun_nombre":"Nátaga"},{"mun_pk_id":15232,"dep_fk_id":15,"mun_nombre":"Chíquiza"},{"mun_pk_id":8832,"dep_fk_id":8,"mun_nombre":"Tubará"},{"mun_pk_id":25183,"dep_fk_id":25,"mun_nombre":"Chocontá"},{"mun_pk_id":54347,"dep_fk_id":54,"mun_nombre":"Herrán"},{"mun_pk_id":94001,"dep_fk_id":94,"mun_nombre":"Inírida"},{"mun_pk_id":15798,"dep_fk_id":15,"mun_nombre":"Tenza"},{"mun_pk_id":23855,"dep_fk_id":23,"mun_nombre":"Valencia"},{"mun_pk_id":13062,"dep_fk_id":13,"mun_nombre":"Arroyohondo"},{"mun_pk_id":27050,"dep_fk_id":27,"mun_nombre":"Atrato"},{"mun_pk_id":27160,"dep_fk_id":27,"mun_nombre":"Cértegui"},{"mun_pk_id":15804,"dep_fk_id":15,"mun_nombre":"Tibaná"},{"mun_pk_id":27430,"dep_fk_id":27,"mun_nombre":"Medio Baudó"},{"mun_pk_id":50110,"dep_fk_id":50,"mun_nombre":"Barranca de Upía"},{"mun_pk_id":25817,"dep_fk_id":25,"mun_nombre":"Tocancipá"},{"mun_pk_id":13760,"dep_fk_id":13,"mun_nombre":"Soplaviento"},{"mun_pk_id":52683,"dep_fk_id":52,"mun_nombre":"Sandoná"},{"mun_pk_id":15172,"dep_fk_id":15,"mun_nombre":"Chinavita"},{"mun_pk_id":52036,"dep_fk_id":52,"mun_nombre":"Ancuyá"},{"mun_pk_id":52573,"dep_fk_id":52,"mun_nombre":"Puerres"},{"mun_pk_id":15681,"dep_fk_id":15,"mun_nombre":"San Pablo de Borbur"},{"mun_pk_id":15491,"dep_fk_id":15,"mun_nombre":"Nobsa"},{"mun_pk_id":54001,"dep_fk_id":54,"mun_nombre":"Cúcuta"},{"mun_pk_id":97777,"dep_fk_id":97,"mun_nombre":"Papunaua"},{"mun_pk_id":15621,"dep_fk_id":15,"mun_nombre":"Rondón"},{"mun_pk_id":13442,"dep_fk_id":13,"mun_nombre":"María la Baja"},{"mun_pk_id":54680,"dep_fk_id":54,"mun_nombre":"Santiago"},{"mun_pk_id":86760,"dep_fk_id":86,"mun_nombre":"Santiago"},{"mun_pk_id":52390,"dep_fk_id":52,"mun_nombre":"La Tola"},{"mun_pk_id":15518,"dep_fk_id":15,"mun_nombre":"Pajarito"},{"mun_pk_id":66456,"dep_fk_id":66,"mun_nombre":"Mistrató"},{"mun_pk_id":66687,"dep_fk_id":66,"mun_nombre":"Santuario"},{"mun_pk_id":81736,"dep_fk_id":81,"mun_nombre":"Saravena"},{"mun_pk_id":54720,"dep_fk_id":54,"mun_nombre":"Sardinata"},{"mun_pk_id":25718,"dep_fk_id":25,"mun_nombre":"Sasaima"},{"mun_pk_id":5736,"dep_fk_id":5,"mun_nombre":"Segovia"},{"mun_pk_id":76736,"dep_fk_id":76,"mun_nombre":"Sevilla"},{"mun_pk_id":86749,"dep_fk_id":86,"mun_nombre":"Sibundoy"},{"mun_pk_id":54743,"dep_fk_id":54,"mun_nombre":"Silos"},{"mun_pk_id":25743,"dep_fk_id":25,"mun_nombre":"Silvania"},{"mun_pk_id":19743,"dep_fk_id":19,"mun_nombre":"Silvia"},{"mun_pk_id":68745,"dep_fk_id":68,"mun_nombre":"Simacota"},{"mun_pk_id":25745,"dep_fk_id":25,"mun_nombre":"Simijaca"},{"mun_pk_id":70001,"dep_fk_id":70,"mun_nombre":"Sincelejo"},{"mun_pk_id":47745,"dep_fk_id":47,"mun_nombre":"Sitionuevo"},{"mun_pk_id":25754,"dep_fk_id":25,"mun_nombre":"Soacha"},{"mun_pk_id":68755,"dep_fk_id":68,"mun_nombre":"Socorro"},{"mun_pk_id":19760,"dep_fk_id":19,"mun_nombre":"Sotara"},{"mun_pk_id":68770,"dep_fk_id":68,"mun_nombre":"Suaita"},{"mun_pk_id":41770,"dep_fk_id":41,"mun_nombre":"Suaza"},{"mun_pk_id":25769,"dep_fk_id":25,"mun_nombre":"Subachoque"},{"mun_pk_id":19785,"dep_fk_id":19,"mun_nombre":"Sucre"},{"mun_pk_id":68152,"dep_fk_id":68,"mun_nombre":"Carcasí"},{"mun_pk_id":68773,"dep_fk_id":68,"mun_nombre":"Sucre"},{"mun_pk_id":70771,"dep_fk_id":70,"mun_nombre":"Sucre"},{"mun_pk_id":25772,"dep_fk_id":25,"mun_nombre":"Suesca"},{"mun_pk_id":25779,"dep_fk_id":25,"mun_nombre":"Susa"},{"mun_pk_id":25781,"dep_fk_id":25,"mun_nombre":"Sutatausa"},{"mun_pk_id":25785,"dep_fk_id":25,"mun_nombre":"Tabio"},{"mun_pk_id":8685,"dep_fk_id":8,"mun_nombre":"Santo Tomás"},{"mun_pk_id":20787,"dep_fk_id":20,"mun_nombre":"Tamalameque"},{"mun_pk_id":81794,"dep_fk_id":81,"mun_nombre":"Tame"},{"mun_pk_id":41791,"dep_fk_id":41,"mun_nombre":"Tarqui"},{"mun_pk_id":5792,"dep_fk_id":5,"mun_nombre":"Tarso"},{"mun_pk_id":85410,"dep_fk_id":85,"mun_nombre":"Tauramena"},{"mun_pk_id":25793,"dep_fk_id":25,"mun_nombre":"Tausa"},{"mun_pk_id":41799,"dep_fk_id":41,"mun_nombre":"Tello"},{"mun_pk_id":25797,"dep_fk_id":25,"mun_nombre":"Tena"},{"mun_pk_id":47798,"dep_fk_id":47,"mun_nombre":"Tenerife"},{"mun_pk_id":25799,"dep_fk_id":25,"mun_nombre":"Tenjo"},{"mun_pk_id":54800,"dep_fk_id":54,"mun_nombre":"Teorama"},{"mun_pk_id":41801,"dep_fk_id":41,"mun_nombre":"Teruel"},{"mun_pk_id":41797,"dep_fk_id":41,"mun_nombre":"Tesalia"},{"mun_pk_id":25805,"dep_fk_id":25,"mun_nombre":"Tibacuy"},{"mun_pk_id":25807,"dep_fk_id":25,"mun_nombre":"Tibirita"},{"mun_pk_id":25815,"dep_fk_id":25,"mun_nombre":"Tocaima"},{"mun_pk_id":5819,"dep_fk_id":5,"mun_nombre":"Toledo"},{"mun_pk_id":54820,"dep_fk_id":54,"mun_nombre":"Toledo"},{"mun_pk_id":15466,"dep_fk_id":15,"mun_nombre":"Monguí"},{"mun_pk_id":68820,"dep_fk_id":68,"mun_nombre":"Tona"},{"mun_pk_id":76823,"dep_fk_id":76,"mun_nombre":"Toro"},{"mun_pk_id":85430,"dep_fk_id":85,"mun_nombre":"Trinidad"},{"mun_pk_id":76828,"dep_fk_id":76,"mun_nombre":"Trujillo"},{"mun_pk_id":5837,"dep_fk_id":5,"mun_nombre":"Turbo"},{"mun_pk_id":25841,"dep_fk_id":25,"mun_nombre":"Ubaque"},{"mun_pk_id":76845,"dep_fk_id":76,"mun_nombre":"Ulloa"},{"mun_pk_id":25845,"dep_fk_id":25,"mun_nombre":"Une"},{"mun_pk_id":5036,"dep_fk_id":5,"mun_nombre":"Angelópolis"},{"mun_pk_id":52699,"dep_fk_id":52,"mun_nombre":"Santacruz"},{"mun_pk_id":52083,"dep_fk_id":52,"mun_nombre":"Belén"},{"mun_pk_id":63302,"dep_fk_id":63,"mun_nombre":"Génova"},{"mun_pk_id":5483,"dep_fk_id":5,"mun_nombre":"Nariño"},{"mun_pk_id":8372,"dep_fk_id":8,"mun_nombre":"Juan de Acosta"},{"mun_pk_id":23686,"dep_fk_id":23,"mun_nombre":"San Pelayo"},{"mun_pk_id":18860,"dep_fk_id":18,"mun_nombre":"Valparaíso"},{"mun_pk_id":50400,"dep_fk_id":50,"mun_nombre":"Lejanías"},{"mun_pk_id":81591,"dep_fk_id":81,"mun_nombre":"Puerto Rondón"},{"mun_pk_id":5001,"dep_fk_id":5,"mun_nombre":"Medellín"},{"mun_pk_id":25878,"dep_fk_id":25,"mun_nombre":"Viotá"},{"mun_pk_id":76400,"dep_fk_id":76,"mun_nombre":"La Unión"},{"mun_pk_id":15763,"dep_fk_id":15,"mun_nombre":"Sotaquirá"},{"mun_pk_id":15299,"dep_fk_id":15,"mun_nombre":"Garagoa"},{"mun_pk_id":13001,"dep_fk_id":13,"mun_nombre":"Cartagena de Indias"},{"mun_pk_id":85015,"dep_fk_id":85,"mun_nombre":"Chámeza"},{"mun_pk_id":73148,"dep_fk_id":73,"mun_nombre":"Carmen de Apicalá"},{"mun_pk_id":50689,"dep_fk_id":50,"mun_nombre":"San Martín"},{"mun_pk_id":25898,"dep_fk_id":25,"mun_nombre":"Zipacón"},{"mun_pk_id":13580,"dep_fk_id":13,"mun_nombre":"Regidor"},{"mun_pk_id":68250,"dep_fk_id":68,"mun_nombre":"El Peñón"},{"mun_pk_id":15215,"dep_fk_id":15,"mun_nombre":"Corrales"},{"mun_pk_id":25398,"dep_fk_id":25,"mun_nombre":"La Peña"},{"mun_pk_id":25086,"dep_fk_id":25,"mun_nombre":"Beltrán"},{"mun_pk_id":5113,"dep_fk_id":5,"mun_nombre":"Buriticá"},{"mun_pk_id":23815,"dep_fk_id":23,"mun_nombre":"Tuchín"},{"mun_pk_id":15367,"dep_fk_id":15,"mun_nombre":"Jenesano"},{"mun_pk_id":15325,"dep_fk_id":15,"mun_nombre":"Guayatá"},{"mun_pk_id":8520,"dep_fk_id":8,"mun_nombre":"Palmar de Varela"},{"mun_pk_id":15244,"dep_fk_id":15,"mun_nombre":"El Cocuy"},{"mun_pk_id":13440,"dep_fk_id":13,"mun_nombre":"Margarita"},{"mun_pk_id":25736,"dep_fk_id":25,"mun_nombre":"Sesquilé"},{"mun_pk_id":5761,"dep_fk_id":5,"mun_nombre":"Sopetrán"},{"mun_pk_id":15401,"dep_fk_id":15,"mun_nombre":"La Victoria"},{"mun_pk_id":20013,"dep_fk_id":20,"mun_nombre":"Agustín Codazzi"},{"mun_pk_id":15572,"dep_fk_id":15,"mun_nombre":"Puerto Boyacá"},{"mun_pk_id":25297,"dep_fk_id":25,"mun_nombre":"Gachetá"},{"mun_pk_id":13212,"dep_fk_id":13,"mun_nombre":"Córdoba"},{"mun_pk_id":47692,"dep_fk_id":47,"mun_nombre":"San Sebastián de Buenavista"},{"mun_pk_id":66088,"dep_fk_id":66,"mun_nombre":"Belén de Umbría"},{"mun_pk_id":68855,"dep_fk_id":68,"mun_nombre":"Valle de San José"},{"mun_pk_id":18150,"dep_fk_id":18,"mun_nombre":"Cartagena del Chairá"},{"mun_pk_id":52693,"dep_fk_id":52,"mun_nombre":"San Pablo"},{"mun_pk_id":15114,"dep_fk_id":15,"mun_nombre":"Busbanzá"},{"mun_pk_id":52224,"dep_fk_id":52,"mun_nombre":"Cuaspúd"},{"mun_pk_id":5842,"dep_fk_id":5,"mun_nombre":"Uramita"},{"mun_pk_id":50370,"dep_fk_id":50,"mun_nombre":"Uribe"},{"mun_pk_id":44847,"dep_fk_id":44,"mun_nombre":"Uribia"},{"mun_pk_id":5847,"dep_fk_id":5,"mun_nombre":"Urrao"},{"mun_pk_id":44855,"dep_fk_id":44,"mun_nombre":"Urumita"},{"mun_pk_id":5854,"dep_fk_id":5,"mun_nombre":"Valdivia"},{"mun_pk_id":15176,"dep_fk_id":15,"mun_nombre":"Chiquinquirá"},{"mun_pk_id":25328,"dep_fk_id":25,"mun_nombre":"Guayabal de Síquima"},{"mun_pk_id":13657,"dep_fk_id":13,"mun_nombre":"San Juan Nepomuceno"},{"mun_pk_id":20001,"dep_fk_id":20,"mun_nombre":"Valledupar"},{"mun_pk_id":73861,"dep_fk_id":73,"mun_nombre":"Venadillo"},{"mun_pk_id":5861,"dep_fk_id":5,"mun_nombre":"Venecia"},{"mun_pk_id":25506,"dep_fk_id":25,"mun_nombre":"Venecia"},{"mun_pk_id":25862,"dep_fk_id":25,"mun_nombre":"Vergara"},{"mun_pk_id":76863,"dep_fk_id":76,"mun_nombre":"Versalles"},{"mun_pk_id":68867,"dep_fk_id":68,"mun_nombre":"Vetas"},{"mun_pk_id":17867,"dep_fk_id":17,"mun_nombre":"Victoria"},{"mun_pk_id":15442,"dep_fk_id":15,"mun_nombre":"Maripí"},{"mun_pk_id":76869,"dep_fk_id":76,"mun_nombre":"Vijes"},{"mun_pk_id":5495,"dep_fk_id":5,"mun_nombre":"Nechí"},{"mun_pk_id":13473,"dep_fk_id":13,"mun_nombre":"Morales"},{"mun_pk_id":5893,"dep_fk_id":5,"mun_nombre":"Yondó"},{"mun_pk_id":52585,"dep_fk_id":52,"mun_nombre":"Pupiales"},{"mun_pk_id":19845,"dep_fk_id":19,"mun_nombre":"Villa rica"},{"mun_pk_id":73870,"dep_fk_id":73,"mun_nombre":"Villahermosa"},{"mun_pk_id":85440,"dep_fk_id":85,"mun_nombre":"Villanueva"},{"mun_pk_id":44874,"dep_fk_id":44,"mun_nombre":"Villanueva"},{"mun_pk_id":68872,"dep_fk_id":68,"mun_nombre":"Villanueva"},{"mun_pk_id":73873,"dep_fk_id":73,"mun_nombre":"Villarrica"},{"mun_pk_id":50001,"dep_fk_id":50,"mun_nombre":"Villavicencio"},{"mun_pk_id":41872,"dep_fk_id":41,"mun_nombre":"Villavieja"},{"mun_pk_id":25875,"dep_fk_id":25,"mun_nombre":"Villeta"},{"mun_pk_id":50711,"dep_fk_id":50,"mun_nombre":"Vistahermosa"},{"mun_pk_id":17877,"dep_fk_id":17,"mun_nombre":"Viterbo"},{"mun_pk_id":5887,"dep_fk_id":5,"mun_nombre":"Yarumal"},{"mun_pk_id":85001,"dep_fk_id":85,"mun_nombre":"Yopal"},{"mun_pk_id":76890,"dep_fk_id":76,"mun_nombre":"Yotoco"},{"mun_pk_id":76892,"dep_fk_id":76,"mun_nombre":"Yumbo"},{"mun_pk_id":68895,"dep_fk_id":68,"mun_nombre":"Zapatoca"},{"mun_pk_id":5895,"dep_fk_id":5,"mun_nombre":"Zaragoza"},{"mun_pk_id":76895,"dep_fk_id":76,"mun_nombre":"Zarzal"},{"mun_pk_id":73671,"dep_fk_id":73,"mun_nombre":"Saldaña"},{"mun_pk_id":25658,"dep_fk_id":25,"mun_nombre":"San Francisco"},{"mun_pk_id":50450,"dep_fk_id":50,"mun_nombre":"Puerto Concordia"},{"mun_pk_id":70678,"dep_fk_id":70,"mun_nombre":"San Benito abad"},{"mun_pk_id":19807,"dep_fk_id":19,"mun_nombre":"Timbío"},{"mun_pk_id":66682,"dep_fk_id":66,"mun_nombre":"Santa Rosa de Cabal"},{"mun_pk_id":15778,"dep_fk_id":15,"mun_nombre":"Sutatenza"},{"mun_pk_id":73854,"dep_fk_id":73,"mun_nombre":"Valle de San Juan"},{"mun_pk_id":25386,"dep_fk_id":25,"mun_nombre":"La Mesa"},{"mun_pk_id":20570,"dep_fk_id":20,"mun_nombre":"Pueblo Bello"},{"mun_pk_id":5649,"dep_fk_id":5,"mun_nombre":"San Carlos"},{"mun_pk_id":25572,"dep_fk_id":25,"mun_nombre":"Puerto Salgar"},{"mun_pk_id":76403,"dep_fk_id":76,"mun_nombre":"La Victoria"},{"mun_pk_id":47707,"dep_fk_id":47,"mun_nombre":"Santa Ana"},{"mun_pk_id":63401,"dep_fk_id":63,"mun_nombre":"La Tebaida"},{"mun_pk_id":25645,"dep_fk_id":25,"mun_nombre":"San Antonio del Tequendama"},{"mun_pk_id":41396,"dep_fk_id":41,"mun_nombre":"La Plata"},{"mun_pk_id":19397,"dep_fk_id":19,"mun_nombre":"La Vega"},{"mun_pk_id":85136,"dep_fk_id":85,"mun_nombre":"La Salina"},{"mun_pk_id":19573,"dep_fk_id":19,"mun_nombre":"Puerto Tejada"},{"mun_pk_id":68575,"dep_fk_id":68,"mun_nombre":"Puerto Wilches"},{"mun_pk_id":25649,"dep_fk_id":25,"mun_nombre":"San Bernardo"},{"mun_pk_id":68572,"dep_fk_id":68,"mun_nombre":"Puente Nacional"},{"mun_pk_id":25394,"dep_fk_id":25,"mun_nombre":"La Palma"},{"mun_pk_id":85125,"dep_fk_id":85,"mun_nombre":"Hato Corozal"},{"mun_pk_id":68418,"dep_fk_id":68,"mun_nombre":"Los Santos"},{"mun_pk_id":54553,"dep_fk_id":54,"mun_nombre":"Puerto Santander"},{"mun_pk_id":5690,"dep_fk_id":5,"mun_nombre":"Santo Domingo"},{"mun_pk_id":54670,"dep_fk_id":54,"mun_nombre":"San Calixto"},{"mun_pk_id":68377,"dep_fk_id":68,"mun_nombre":"La Belleza"},{"mun_pk_id":20710,"dep_fk_id":20,"mun_nombre":"San Alberto"},{"mun_pk_id":68573,"dep_fk_id":68,"mun_nombre":"Puerto Parra"},{"mun_pk_id":25653,"dep_fk_id":25,"mun_nombre":"San Cayetano"},{"mun_pk_id":47001,"dep_fk_id":47,"mun_nombre":"Santa Marta"},{"mun_pk_id":99524,"dep_fk_id":99,"mun_nombre":"La Primavera"},{"mun_pk_id":73686,"dep_fk_id":73,"mun_nombre":"Santa Isabel"},{"mun_pk_id":76670,"dep_fk_id":76,"mun_nombre":"San Pedro"},{"mun_pk_id":5591,"dep_fk_id":5,"mun_nombre":"Puerto Triunfo"},{"mun_pk_id":68679,"dep_fk_id":68,"mun_nombre":"San Gil"},{"mun_pk_id":86569,"dep_fk_id":86,"mun_nombre":"Puerto Caicedo"},{"mun_pk_id":5670,"dep_fk_id":5,"mun_nombre":"San Roque"},{"mun_pk_id":5789,"dep_fk_id":5,"mun_nombre":"Támesis"},{"mun_pk_id":23555,"dep_fk_id":23,"mun_nombre":"Planeta Rica"},{"mun_pk_id":15090,"dep_fk_id":15,"mun_nombre":"Berbeo"},{"mun_pk_id":8849,"dep_fk_id":8,"mun_nombre":"Usiacurí"},{"mun_pk_id":27413,"dep_fk_id":27,"mun_nombre":"Lloró"},{"mun_pk_id":8638,"dep_fk_id":8,"mun_nombre":"Sabanalarga"},{"mun_pk_id":5321,"dep_fk_id":5,"mun_nombre":"Guatapé"},{"mun_pk_id":70823,"dep_fk_id":70,"mun_nombre":"Tolú Viejo"},{"mun_pk_id":25843,"dep_fk_id":25,"mun_nombre":"Villa de de Ubaté"},{"mun_pk_id":52399,"dep_fk_id":52,"mun_nombre":"La Unión"},{"mun_pk_id":18753,"dep_fk_id":18,"mun_nombre":"San Vicente del Caguán"},{"mun_pk_id":8770,"dep_fk_id":8,"mun_nombre":"Suan"},{"mun_pk_id":13780,"dep_fk_id":13,"mun_nombre":"Talaigua Nuevo"},{"mun_pk_id":13300,"dep_fk_id":13,"mun_nombre":"Hatillo de Loba"},{"mun_pk_id":52678,"dep_fk_id":52,"mun_nombre":"Samaniego"},{"mun_pk_id":41676,"dep_fk_id":41,"mun_nombre":"Santa María"},{"mun_pk_id":54003,"dep_fk_id":54,"mun_nombre":"Ábrego"},{"mun_pk_id":17777,"dep_fk_id":17,"mun_nombre":"Supía"},{"mun_pk_id":25372,"dep_fk_id":25,"mun_nombre":"Junín"},{"mun_pk_id":68167,"dep_fk_id":68,"mun_nombre":"Charalá"},{"mun_pk_id":13244,"dep_fk_id":13,"mun_nombre":"El Carmen de Bolívar"},{"mun_pk_id":18410,"dep_fk_id":18,"mun_nombre":"La Montañita"},{"mun_pk_id":25873,"dep_fk_id":25,"mun_nombre":"Villapinzón"},{"mun_pk_id":27150,"dep_fk_id":27,"mun_nombre":"Carmen del Darién"},{"mun_pk_id":8001,"dep_fk_id":8,"mun_nombre":"Barranquilla"},{"mun_pk_id":52838,"dep_fk_id":52,"mun_nombre":"Túquerres"},{"mun_pk_id":15808,"dep_fk_id":15,"mun_nombre":"Tinjacá"},{"mun_pk_id":15380,"dep_fk_id":15,"mun_nombre":"La Capilla"},{"mun_pk_id":27450,"dep_fk_id":27,"mun_nombre":"Medio San Juan"},{"mun_pk_id":18001,"dep_fk_id":18,"mun_nombre":"Florencia"},{"mun_pk_id":15180,"dep_fk_id":15,"mun_nombre":"Chiscas"},{"mun_pk_id":68255,"dep_fk_id":68,"mun_nombre":"El Playón"},{"mun_pk_id":23675,"dep_fk_id":23,"mun_nombre":"San Bernardo del Viento"},{"mun_pk_id":15667,"dep_fk_id":15,"mun_nombre":"San Luis de Gaceno"},{"mun_pk_id":25758,"dep_fk_id":25,"mun_nombre":"Sopó"},{"mun_pk_id":5138,"dep_fk_id":5,"mun_nombre":"Cañasgordas"},{"mun_pk_id":25885,"dep_fk_id":25,"mun_nombre":"Yacopí"},{"mun_pk_id":73770,"dep_fk_id":73,"mun_nombre":"Suárez"},{"mun_pk_id":5579,"dep_fk_id":5,"mun_nombre":"Puerto Berrío"},{"mun_pk_id":19364,"dep_fk_id":19,"mun_nombre":"Jambaló"},{"mun_pk_id":5652,"dep_fk_id":5,"mun_nombre":"San Francisco"},{"mun_pk_id":5660,"dep_fk_id":5,"mun_nombre":"San Luis"},{"mun_pk_id":70717,"dep_fk_id":70,"mun_nombre":"San Pedro"},{"mun_pk_id":73675,"dep_fk_id":73,"mun_nombre":"San Antonio"},{"mun_pk_id":54385,"dep_fk_id":54,"mun_nombre":"La Esperanza"},{"mun_pk_id":91536,"dep_fk_id":91,"mun_nombre":"Puerto Arica"},{"mun_pk_id":50150,"dep_fk_id":50,"mun_nombre":"Castilla la Nueva"},{"mun_pk_id":19698,"dep_fk_id":19,"mun_nombre":"Santander de Quilichao"},{"mun_pk_id":5390,"dep_fk_id":5,"mun_nombre":"La Pintada"},{"mun_pk_id":25154,"dep_fk_id":25,"mun_nombre":"Carmen de Carupa"},{"mun_pk_id":66400,"dep_fk_id":66,"mun_nombre":"La Virginia"},{"mun_pk_id":68673,"dep_fk_id":68,"mun_nombre":"San Benito"},{"mun_pk_id":5585,"dep_fk_id":5,"mun_nombre":"Puerto Nare"},{"mun_pk_id":70708,"dep_fk_id":70,"mun_nombre":"San Marcos"},{"mun_pk_id":54398,"dep_fk_id":54,"mun_nombre":"La Playa"},{"mun_pk_id":91669,"dep_fk_id":91,"mun_nombre":"Puerto Santander"},{"mun_pk_id":15189,"dep_fk_id":15,"mun_nombre":"Ciénega"},{"mun_pk_id":44420,"dep_fk_id":44,"mun_nombre":"La Jagua del Pilar"},{"mun_pk_id":20383,"dep_fk_id":20,"mun_nombre":"La Gloria"},{"mun_pk_id":73678,"dep_fk_id":73,"mun_nombre":"San Luis"},{"mun_pk_id":68179,"dep_fk_id":68,"mun_nombre":"Chipatá"},{"mun_pk_id":91407,"dep_fk_id":91,"mun_nombre":"La Pedrera"},{"mun_pk_id":5667,"dep_fk_id":5,"mun_nombre":"San Rafael"},{"mun_pk_id":91405,"dep_fk_id":91,"mun_nombre":"La Chorrera"},{"mun_pk_id":19701,"dep_fk_id":19,"mun_nombre":"Santa Rosa"},{"mun_pk_id":25662,"dep_fk_id":25,"mun_nombre":"San Juan de Rioseco"},{"mun_pk_id":47980,"dep_fk_id":47,"mun_nombre":"Zona Bananera"},{"mun_pk_id":76377,"dep_fk_id":76,"mun_nombre":"La Cumbre"},{"mun_pk_id":68397,"dep_fk_id":68,"mun_nombre":"La Paz"},{"mun_pk_id":17380,"dep_fk_id":17,"mun_nombre":"La Dorada"},{"mun_pk_id":20400,"dep_fk_id":20,"mun_nombre":"La Jagua de Ibirico"},{"mun_pk_id":66572,"dep_fk_id":66,"mun_nombre":"Pueblo Rico"},{"mun_pk_id":70418,"dep_fk_id":70,"mun_nombre":"Los Palmitos"},{"mun_pk_id":66383,"dep_fk_id":66,"mun_nombre":"La Celia"},{"mun_pk_id":50350,"dep_fk_id":50,"mun_nombre":"La Macarena"},{"mun_pk_id":47161,"dep_fk_id":47,"mun_nombre":"Cerro de San Antonio"},{"mun_pk_id":17662,"dep_fk_id":17,"mun_nombre":"Samaná"},{"mun_pk_id":86755,"dep_fk_id":86,"mun_nombre":"San Francisco"},{"mun_pk_id":15842,"dep_fk_id":15,"mun_nombre":"Úmbita"},{"mun_pk_id":13620,"dep_fk_id":13,"mun_nombre":"San Cristóbal"},{"mun_pk_id":27580,"dep_fk_id":27,"mun_nombre":"Río Iró"},{"mun_pk_id":8433,"dep_fk_id":8,"mun_nombre":"Malambo"},{"mun_pk_id":13042,"dep_fk_id":13,"mun_nombre":"Arenal"},{"mun_pk_id":54206,"dep_fk_id":54,"mun_nombre":"Convención"},{"mun_pk_id":15580,"dep_fk_id":15,"mun_nombre":"Quípama"},{"mun_pk_id":25099,"dep_fk_id":25,"mun_nombre":"Bojacá"},{"mun_pk_id":15236,"dep_fk_id":15,"mun_nombre":"Chivor"},{"mun_pk_id":23464,"dep_fk_id":23,"mun_nombre":"Momil"},{"mun_pk_id":50006,"dep_fk_id":50,"mun_nombre":"Acacías"},{"mun_pk_id":5490,"dep_fk_id":5,"mun_nombre":"Necoclí"},{"mun_pk_id":23500,"dep_fk_id":23,"mun_nombre":"Moñitos"},{"mun_pk_id":52258,"dep_fk_id":52,"mun_nombre":"El Tablón de Gómez"},{"mun_pk_id":23189,"dep_fk_id":23,"mun_nombre":"Ciénaga de Oro"},{"mun_pk_id":50325,"dep_fk_id":50,"mun_nombre":"Mapiripán"},{"mun_pk_id":13468,"dep_fk_id":13,"mun_nombre":"Mompós"},{"mun_pk_id":15224,"dep_fk_id":15,"mun_nombre":"Cucaita"},{"mun_pk_id":23417,"dep_fk_id":23,"mun_nombre":"Lorica"},{"mun_pk_id":68684,"dep_fk_id":68,"mun_nombre":"San José de Miranda"},{"mun_pk_id":15542,"dep_fk_id":15,"mun_nombre":"Pesca"},{"mun_pk_id":52240,"dep_fk_id":52,"mun_nombre":"Chachagüí"},{"mun_pk_id":8675,"dep_fk_id":8,"mun_nombre":"Santa Lucía"},{"mun_pk_id":73411,"dep_fk_id":73,"mun_nombre":"Líbano"},{"mun_pk_id":85225,"dep_fk_id":85,"mun_nombre":"Nunchía"},{"mun_pk_id":13030,"dep_fk_id":13,"mun_nombre":"Altos del Rosario"},{"mun_pk_id":68705,"dep_fk_id":68,"mun_nombre":"Santa Bárbara"},{"mun_pk_id":23079,"dep_fk_id":23,"mun_nombre":"Buenavista"},{"mun_pk_id":52612,"dep_fk_id":52,"mun_nombre":"Ricaurte"},{"mun_pk_id":94885,"dep_fk_id":94,"mun_nombre":"La Guadalupe"},{"mun_pk_id":41244,"dep_fk_id":41,"mun_nombre":"Elías"},{"mun_pk_id":52540,"dep_fk_id":52,"mun_nombre":"Policarpa"},{"mun_pk_id":25339,"dep_fk_id":25,"mun_nombre":"Gutiérrez"},{"mun_pk_id":47703,"dep_fk_id":47,"mun_nombre":"San Zenón"},{"mun_pk_id":52687,"dep_fk_id":52,"mun_nombre":"San Lorenzo"},{"mun_pk_id":15087,"dep_fk_id":15,"mun_nombre":"Belén"},{"mun_pk_id":19548,"dep_fk_id":19,"mun_nombre":"Piendamó"},{"mun_pk_id":15272,"dep_fk_id":15,"mun_nombre":"Firavitoba"},{"mun_pk_id":27800,"dep_fk_id":27,"mun_nombre":"Unguía"},{"mun_pk_id":15550,"dep_fk_id":15,"mun_nombre":"Pisba"},{"mun_pk_id":85325,"dep_fk_id":85,"mun_nombre":"San Luis de Palenque"},{"mun_pk_id":18610,"dep_fk_id":18,"mun_nombre":"San José del Fragua"},{"mun_pk_id":70713,"dep_fk_id":70,"mun_nombre":"San Onofre"},{"mun_pk_id":25402,"dep_fk_id":25,"mun_nombre":"La Vega"},{"mun_pk_id":86757,"dep_fk_id":86,"mun_nombre":"San Miguel"},{"mun_pk_id":50686,"dep_fk_id":50,"mun_nombre":"San Juanito"},{"mun_pk_id":47460,"dep_fk_id":47,"mun_nombre":"Nueva Granada"},{"mun_pk_id":5686,"dep_fk_id":5,"mun_nombre":"Santa Rosa de Osos"},{"mun_pk_id":5664,"dep_fk_id":5,"mun_nombre":"San Pedro los Milagros"},{"mun_pk_id":5674,"dep_fk_id":5,"mun_nombre":"San Vicente Ferrer"},{"mun_pk_id":81220,"dep_fk_id":81,"mun_nombre":"Cravo Norte"},{"mun_pk_id":19392,"dep_fk_id":19,"mun_nombre":"La Sierra"},{"mun_pk_id":54673,"dep_fk_id":54,"mun_nombre":"San Cayetano"},{"mun_pk_id":5376,"dep_fk_id":5,"mun_nombre":"La Ceja"},{"mun_pk_id":17388,"dep_fk_id":17,"mun_nombre":"La Merced"},{"mun_pk_id":23350,"dep_fk_id":23,"mun_nombre":"La Apartada"},{"mun_pk_id":54871,"dep_fk_id":54,"mun_nombre":"Villa Caro"},{"mun_pk_id":5380,"dep_fk_id":5,"mun_nombre":"La Estrella"},{"mun_pk_id":44650,"dep_fk_id":44,"mun_nombre":"San Juan del Cesar"},{"mun_pk_id":68655,"dep_fk_id":68,"mun_nombre":"Sabana de Torres"},{"mun_pk_id":41378,"dep_fk_id":41,"mun_nombre":"La Argentina"},{"mun_pk_id":91430,"dep_fk_id":91,"mun_nombre":"La Victoria"},{"mun_pk_id":70702,"dep_fk_id":70,"mun_nombre":"San Juan de Betulia"},{"mun_pk_id":19110,"dep_fk_id":19,"mun_nombre":"Buenos Aires"},{"mun_pk_id":50590,"dep_fk_id":50,"mun_nombre":"Puerto Rico"},{"mun_pk_id":47660,"dep_fk_id":47,"mun_nombre":"Sabanas de San Ángel"},{"mun_pk_id":15109,"dep_fk_id":15,"mun_nombre":"Buenavista"},{"mun_pk_id":66318,"dep_fk_id":66,"mun_nombre":"Guática"},{"mun_pk_id":68533,"dep_fk_id":68,"mun_nombre":"Páramo"},{"mun_pk_id":15764,"dep_fk_id":15,"mun_nombre":"Soracá"},{"mun_pk_id":15218,"dep_fk_id":15,"mun_nombre":"Covarachía"},{"mun_pk_id":23182,"dep_fk_id":23,"mun_nombre":"Chinú"},{"mun_pk_id":15837,"dep_fk_id":15,"mun_nombre":"Tuta"},{"mun_pk_id":19532,"dep_fk_id":19,"mun_nombre":"Patía"},{"mun_pk_id":91798,"dep_fk_id":91,"mun_nombre":"Tarapacá"},{"mun_pk_id":15455,"dep_fk_id":15,"mun_nombre":"Miraflores"},{"mun_pk_id":15051,"dep_fk_id":15,"mun_nombre":"Arcabuco"},{"mun_pk_id":97001,"dep_fk_id":97,"mun_nombre":"Mitú"},{"mun_pk_id":52685,"dep_fk_id":52,"mun_nombre":"San Bernardo"},{"mun_pk_id":17174,"dep_fk_id":17,"mun_nombre":"Chinchiná"},{"mun_pk_id":15861,"dep_fk_id":15,"mun_nombre":"Ventaquemada"},{"mun_pk_id":23678,"dep_fk_id":23,"mun_nombre":"San Carlos"},{"mun_pk_id":15106,"dep_fk_id":15,"mun_nombre":"Briceño"},{"mun_pk_id":8634,"dep_fk_id":8,"mun_nombre":"Sabanagrande"},{"mun_pk_id":52019,"dep_fk_id":52,"mun_nombre":"Albán"},{"mun_pk_id":86573,"dep_fk_id":86,"mun_nombre":"Puerto Leguízamo"},{"mun_pk_id":52233,"dep_fk_id":52,"mun_nombre":"Cumbitara"},{"mun_pk_id":25175,"dep_fk_id":25,"mun_nombre":"Chía"},{"mun_pk_id":13654,"dep_fk_id":13,"mun_nombre":"San Jacinto"},{"mun_pk_id":54128,"dep_fk_id":54,"mun_nombre":"Cáchira"},{"mun_pk_id":25290,"dep_fk_id":25,"mun_nombre":"Fusagasugá"},{"mun_pk_id":5240,"dep_fk_id":5,"mun_nombre":"Ebéjico"},{"mun_pk_id":25019,"dep_fk_id":25,"mun_nombre":"Albán"},{"mun_pk_id":17513,"dep_fk_id":17,"mun_nombre":"Pácora"},{"mun_pk_id":68327,"dep_fk_id":68,"mun_nombre":"Güepsa"},{"mun_pk_id":13688,"dep_fk_id":13,"mun_nombre":"Santa Rosa del Sur"},{"mun_pk_id":5890,"dep_fk_id":5,"mun_nombre":"Yolombó"},{"mun_pk_id":15822,"dep_fk_id":15,"mun_nombre":"Tota"},{"mun_pk_id":73443,"dep_fk_id":73,"mun_nombre":"San Sebastián de Mariquita"},{"mun_pk_id":20614,"dep_fk_id":20,"mun_nombre":"Río de Oro"},{"mun_pk_id":15362,"dep_fk_id":15,"mun_nombre":"Iza"},{"mun_pk_id":15223,"dep_fk_id":15,"mun_nombre":"Cubará"},{"mun_pk_id":19821,"dep_fk_id":19,"mun_nombre":"Toribío"},{"mun_pk_id":13873,"dep_fk_id":13,"mun_nombre":"Villanueva"},{"mun_pk_id":52287,"dep_fk_id":52,"mun_nombre":"Funes"},{"mun_pk_id":15293,"dep_fk_id":15,"mun_nombre":"Gachantivá"},{"mun_pk_id":15522,"dep_fk_id":15,"mun_nombre":"Panqueba"},{"mun_pk_id":63212,"dep_fk_id":63,"mun_nombre":"Córdoba"},{"mun_pk_id":94883,"dep_fk_id":94,"mun_nombre":"San Felipe"},{"mun_pk_id":25483,"dep_fk_id":25,"mun_nombre":"Nariño"},{"mun_pk_id":5021,"dep_fk_id":5,"mun_nombre":"Alejandría"},{"mun_pk_id":25126,"dep_fk_id":25,"mun_nombre":"Cajicá"},{"mun_pk_id":52250,"dep_fk_id":52,"mun_nombre":"El Charco"},{"mun_pk_id":47189,"dep_fk_id":47,"mun_nombre":"Ciénaga"},{"mun_pk_id":68385,"dep_fk_id":68,"mun_nombre":"Landázuri"},{"mun_pk_id":85230,"dep_fk_id":85,"mun_nombre":"Orocué"},{"mun_pk_id":15022,"dep_fk_id":15,"mun_nombre":"Almeida"},{"mun_pk_id":86219,"dep_fk_id":86,"mun_nombre":"Colón"},{"mun_pk_id":25377,"dep_fk_id":25,"mun_nombre":"La Calera"},{"mun_pk_id":76111,"dep_fk_id":76,"mun_nombre":"Guadalajara de Buga"},{"mun_pk_id":20621,"dep_fk_id":20,"mun_nombre":"La Paz"},{"mun_pk_id":50223,"dep_fk_id":50,"mun_nombre":"San Luis de Cubarral"},{"mun_pk_id":50577,"dep_fk_id":50,"mun_nombre":"Puerto Lleras"},{"mun_pk_id":86865,"dep_fk_id":86,"mun_nombre":"Valle del Guamuez"},{"mun_pk_id":50287,"dep_fk_id":50,"mun_nombre":"Fuente de Oro"},{"mun_pk_id":68524,"dep_fk_id":68,"mun_nombre":"Palmas del Socorro"},{"mun_pk_id":50683,"dep_fk_id":50,"mun_nombre":"San Juan de Arama"},{"mun_pk_id":20750,"dep_fk_id":20,"mun_nombre":"San Diego"},{"mun_pk_id":54405,"dep_fk_id":54,"mun_nombre":"Los Patios"},{"mun_pk_id":68686,"dep_fk_id":68,"mun_nombre":"San Miguel"},{"mun_pk_id":50680,"dep_fk_id":50,"mun_nombre":"San Carlos de Guaroa"},{"mun_pk_id":54874,"dep_fk_id":54,"mun_nombre":"Villa del Rosario"},{"mun_pk_id":85250,"dep_fk_id":85,"mun_nombre":"Paz de Ariporo"},{"mun_pk_id":50270,"dep_fk_id":50,"mun_nombre":"El Dorado"},{"mun_pk_id":47245,"dep_fk_id":47,"mun_nombre":"El Banco"},{"mun_pk_id":54245,"dep_fk_id":54,"mun_nombre":"El Carmen"},{"mun_pk_id":19256,"dep_fk_id":19,"mun_nombre":"El Tambo"},{"mun_pk_id":70233,"dep_fk_id":70,"mun_nombre":"El Roble"},{"mun_pk_id":54250,"dep_fk_id":54,"mun_nombre":"El Tarra"},{"mun_pk_id":5148,"dep_fk_id":5,"mun_nombre":"El Carmen de Viboral"},{"mun_pk_id":68245,"dep_fk_id":68,"mun_nombre":"El Guacamayo"},{"mun_pk_id":76246,"dep_fk_id":76,"mun_nombre":"El Cairo"},{"mun_pk_id":95025,"dep_fk_id":95,"mun_nombre":"El Retorno"},{"mun_pk_id":44110,"dep_fk_id":44,"mun_nombre":"El Molino"},{"mun_pk_id":54261,"dep_fk_id":54,"mun_nombre":"El Zulia"},{"mun_pk_id":5250,"dep_fk_id":5,"mun_nombre":"El Bagre"},{"mun_pk_id":5697,"dep_fk_id":5,"mun_nombre":"El Santuario"},{"mun_pk_id":50245,"dep_fk_id":50,"mun_nombre":"El Calvario"},{"mun_pk_id":91263,"dep_fk_id":91,"mun_nombre":"El Encanto"},{"mun_pk_id":25245,"dep_fk_id":25,"mun_nombre":"El Colegio"},{"mun_pk_id":20238,"dep_fk_id":20,"mun_nombre":"El Copey"},{"mun_pk_id":50251,"dep_fk_id":50,"mun_nombre":"El Castillo"},{"mun_pk_id":25260,"dep_fk_id":25,"mun_nombre":"El Rosal"},{"mun_pk_id":25001,"dep_fk_id":25,"mun_nombre":"Agua de Dios"},{"mun_pk_id":76250,"dep_fk_id":76,"mun_nombre":"El Dovio"},{"mun_pk_id":76248,"dep_fk_id":76,"mun_nombre":"El Cerrito"},{"mun_pk_id":20250,"dep_fk_id":20,"mun_nombre":"El Paso"},{"mun_pk_id":15322,"dep_fk_id":15,"mun_nombre":"Guateque"},{"mun_pk_id":5107,"dep_fk_id":5,"mun_nombre":"Briceño"},{"mun_pk_id":52427,"dep_fk_id":52,"mun_nombre":"Magüí"},{"mun_pk_id":27660,"dep_fk_id":27,"mun_nombre":"San José del Palmar"},{"mun_pk_id":52506,"dep_fk_id":52,"mun_nombre":"Ospina"},{"mun_pk_id":25867,"dep_fk_id":25,"mun_nombre":"Vianí"},{"mun_pk_id":20770,"dep_fk_id":20,"mun_nombre":"San Martín"},{"mun_pk_id":13248,"dep_fk_id":13,"mun_nombre":"El Guamo"},{"mun_pk_id":5310,"dep_fk_id":5,"mun_nombre":"Gómez Plata"},{"mun_pk_id":94343,"dep_fk_id":94,"mun_nombre":"Barranco Minas"},{"mun_pk_id":50573,"dep_fk_id":50,"mun_nombre":"Puerto López"},{"mun_pk_id":15600,"dep_fk_id":15,"mun_nombre":"Ráquira"},{"mun_pk_id":13667,"dep_fk_id":13,"mun_nombre":"San Martín de Loba"},{"mun_pk_id":94886,"dep_fk_id":94,"mun_nombre":"Cacahual"},{"mun_pk_id":52317,"dep_fk_id":52,"mun_nombre":"Guachucal"},{"mun_pk_id":68296,"dep_fk_id":68,"mun_nombre":"Galán"},{"mun_pk_id":19100,"dep_fk_id":19,"mun_nombre":"Bolívar"},{"mun_pk_id":15135,"dep_fk_id":15,"mun_nombre":"Campohermoso"},{"mun_pk_id":13268,"dep_fk_id":13,"mun_nombre":"El Peñón"},{"mun_pk_id":15761,"dep_fk_id":15,"mun_nombre":"Somondoco"},{"mun_pk_id":13683,"dep_fk_id":13,"mun_nombre":"Santa Rosa"},{"mun_pk_id":19318,"dep_fk_id":19,"mun_nombre":"Guapí"},{"mun_pk_id":25486,"dep_fk_id":25,"mun_nombre":"Nemocón"},{"mun_pk_id":5856,"dep_fk_id":5,"mun_nombre":"Valparaíso"},{"mun_pk_id":27205,"dep_fk_id":27,"mun_nombre":"Condoto"},{"mun_pk_id":15047,"dep_fk_id":15,"mun_nombre":"Aquitania"},{"mun_pk_id":73055,"dep_fk_id":73,"mun_nombre":"Armero"}]');

/***/ }),

/***/ 528:
/*!*********************************************************!*\
  !*** ./src/app/util/parametrosJSON/tiposDocumento.json ***!
  \*********************************************************/
/***/ ((module) => {

module.exports = JSON.parse('[{"tdo_pk_id":"1","tdo_descripcion":"Cédula de ciudadanía","tdo_descripcion_corta":"CC"},{"tdo_pk_id":"2","tdo_descripcion":"Cédula de extranjería","tdo_descripcion_corta":"CE"},{"tdo_pk_id":"3","tdo_descripcion":"Pasaporte","tdo_descripcion_corta":"PA"},{"tdo_pk_id":"4","tdo_descripcion":"Permiso especial de permanencia","tdo_descripcion_corta":"PP"},{"tdo_pk_id":"5","tdo_descripcion":"Carné diplomático","tdo_descripcion_corta":"CD"}]');

/***/ })

},
/******/ __webpack_require__ => { // webpackRuntimeModules
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
/******/ __webpack_require__.O(0, ["vendor"], () => (__webpack_exec__(4913)));
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=main.js.map