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EAAwB,CAAC,eAAe,CAAC,sDAAS,CAAC;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAlB,CAAkB,CAAC,CAAC","sources":["./$_lazy_route_resources|lazy|groupOptions: {}|namespace object","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/boletos-colaboradores-carrito/boletos-colaboradores-carrito.component.ts","./src/app/boletos-colaboradores-carrito/boletos-colaboradores-carrito.component.html","./src/app/boletos-colaboradores/boletos-colaboradores.component.ts","./src/app/boletos-colaboradores/boletos-colaboradores.component.html","./src/app/boletos-colaboradores/services/boletos-colaboradores.service.ts","./src/app/compartir/compartir.component.ts","./src/app/compartir/compartir.component.html","./src/app/counter/counter.component.ts","./src/app/counter/counter.component.html","./src/app/datos-comprador/datos-comprador.component.ts","./src/app/datos-comprador/datos-comprador.component.html","./src/app/datos-comprador/services/datos-comprador.service.ts","./src/app/error-pago/error-pago.component.ts","./src/app/error-pago/error-pago.component.html","./src/app/fetchdata/fetchdata.component.ts","./src/app/fetchdata/fetchdata.component.html","./src/app/forma-pago/forma-pago.component.ts","./src/app/forma-pago/forma-pago.component.html","./src/app/home/home.component.ts","./src/app/home/home.component.html","./src/app/home/services/home.service.ts","./src/app/interfaces/Scripts.ts","./src/app/login/login.component.ts","./src/app/login/login.component.html","./src/app/models/BoletoValidar.ts","./src/app/navmenu/navmenu.component.ts","./src/app/navmenu/navmenu.component.html","./src/app/pagar/pagar.component.ts","./src/app/pagar/pagar.component.html","./src/app/premios/premios.component.ts","./src/app/premios/premios.component.html","./src/app/services/http.service.ts","./src/app/services/http.services.token.ts","./src/app/services/localstorage.service.ts","./src/app/services/script.service.ts","./src/app/services/seguimiento.service.ts","./src/app/services/sessionstorage.service.ts","./src/app/single-boletos-col/single-boletos-col.component.ts","./src/app/single-boletos-col/single-boletos-col.component.html","./src/app/timer/timer.service.ts","./src/app/ui/footer/footer.component.ts","./src/app/ui/footer/footer.component.html","./src/app/ui/header/header.component.ts","./src/app/ui/header/header.component.html","./src/app/ui/layout/layout.component.ts","./src/app/ui/layout/layout.component.html","./src/app/ui/ui.module.ts","./src/app/venta-exitosa/venta-exitosa.component.ts","./src/app/venta-exitosa/venta-exitosa.component.html","./src/environments/environment.ts","./src/main.ts"],"sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 98255;\nmodule.exports = webpackEmptyAsyncContext;","import { Component } from '@angular/core';\nimport { Observable, Subscription } from 'rxjs/Rx';\nimport { Router, NavigationEnd } from \"@angular/router\";\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n\n constructor(private router: Router) {\n this.router.events.subscribe(event => {\n // if (event instanceof NavigationEnd) {\n // (window).ga('set', 'page', event.urlAfterRedirects);\n // (window).ga('send', 'pageview');\n // }\n });\n }\n\n ticks = 0;\n\n minutesDisplay: number = 0;\n hoursDisplay: number = 0;\n secondsDisplay: number = 0;\n\n sub: Subscription;\n\n public startTimer() {\n ////console.log(\"ENTRA\");\n let timer = Observable.timer(1, 1000);\n this.sub = timer.subscribe(\n t => {\n this.ticks = t;\n\n this.secondsDisplay = this.getSeconds(this.ticks);\n this.minutesDisplay = this.getMinutes(this.ticks);\n this.hoursDisplay = this.getHours(this.ticks);\n }\n );\n }\n\n public getSeconds(ticks: number) {\n return this.pad(ticks % 60);\n }\n\n public getMinutes(ticks: number) {\n return this.pad((Math.floor(ticks / 60)) % 60);\n }\n\n public getHours(ticks: number) {\n return this.pad(Math.floor((ticks / 60) / 60));\n }\n\n public pad(digit: any) {\n return digit <= 9 ? '0' + digit : digit;\n }\n}\n","\n\n\n\n \n\n","import { CommonModule } from '@angular/common';\nimport { HttpClient, HttpClientModule } from '@angular/common/http';\nimport { NgModule } from '@angular/core';\n\nimport { HttpModule } from '@angular/http';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { RouterModule } from '@angular/router';\n\nimport { SimpleTimer } from 'ng2-simple-timer';\nimport { BsModalService } from 'ngx-bootstrap/modal';\n// import { AlertsModule } from 'angular-alert-module';\n//import { CountdownTimerModule } from 'ngx-countdown-timer';\nimport { AppComponent } from './app.component';\nimport { BoletosColaboradoresCarritoComponent } from './boletos-colaboradores-carrito/boletos-colaboradores-carrito.component';\nimport { BoletosColaboradoresComponent } from './boletos-colaboradores/boletos-colaboradores.component';\nimport { BoletosColaboradoresService } from './boletos-colaboradores/services/boletos-colaboradores.service';\nimport { CounterComponent } from './counter/counter.component';\nimport { DatosCompradorComponent } from './datos-comprador/datos-comprador.component';\nimport { DatosCompradorService } from './datos-comprador/services/datos-comprador.service';\nimport { FetchDataComponent } from './fetchdata/fetchdata.component';\n//import { FooterComponent } from './footer/footer.component';\nimport { FormaPagoComponent } from './forma-pago/forma-pago.component';\nimport { HomeComponent } from './home/home.component';\nimport { HomeService } from './home/services/home.service';\nimport { LoginComponent } from './login/login.component';\n\nimport { NavMenuComponent } from './navmenu/navmenu.component';\nimport { PagarComponent } from './pagar/pagar.component';\nimport { HttpService } from './services/http.service';\nimport { MyHttpGetService } from './services/http.services.token';\nimport { LocalstorageService } from './services/localstorage.service';\nimport { ScriptService } from './services/script.service';\nimport { SessionstorageService } from './services/sessionstorage.service';\nimport { TimerService } from './timer/timer.service';\nimport { UiModule } from './ui/ui.module';\nimport { VentaExitosaComponent } from './venta-exitosa/venta-exitosa.component';\nimport { CompartirComponent } from './compartir/compartir.component';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { SingleBoletosColComponent } from './single-boletos-col/single-boletos-col.component';\n\n\n/** Cambios Luis Aguilar WECODE */\nimport { ModalModule } from 'ngx-bootstrap/modal';\n/** END Cambios Luis Aguilar WECODE */\nimport { ErrorPagoComponent } from './error-pago/error-pago.component';\nimport { environment } from 'src/environments/environment';\nimport { interval } from 'rxjs';\nimport { takeWhile } from 'rxjs/operators';\nimport { SeguimientoService } from './services/seguimiento.service';\nimport { PremiosComponent } from './premios/premios.component';\n\n\n\n@NgModule({\n imports: [\n BrowserModule,\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n HttpClientModule,\n HttpModule,\n // CountdownTimerModule,\n // AlertsModule.forRoot(),\n // BsModalService,\n /** Cambios Luis Aguilar WECODE */\n ModalModule.forRoot(),\n /** END Cambios Luis Aguilar WECODE */\n RouterModule.forRoot(\n [\n { path: '', redirectTo: 'compra-en-linea-boletos-sorteo-anahuac', pathMatch: 'full' },\n { path: 'home', component: HomeComponent },\n { path: 'boletos-colaborador/:id', component: BoletosColaboradoresComponent },\n { path: 'boletos-colaborador-anahuac-online/:id', component: SingleBoletosColComponent },\n { path: 'datos-comprador', component: DatosCompradorComponent },\n { path: 'venta-exitosa', component: VentaExitosaComponent },\n { path: 'forma-pago', component: FormaPagoComponent },\n { path: 'carrito-compra', component: BoletosColaboradoresCarritoComponent },\n { path: 'compartir-boleto', component: CompartirComponent },\n { path: 'pagar/:id/:pk', component: PagarComponent },\n { path: 'pagar/:id/:pk/:boleto', component: PagarComponent },\n { path: 'login', component: LoginComponent },\n { path: 'pagar', component: LoginComponent },\n { path: 'home/:liga_colaborador', component: HomeComponent },\n { path: 'compra-en-linea-boletos-sorteo-anahuac', component: HomeComponent },\n { path: 'compra-en-linea-boletos-sorteo-anahuac/:liga_colaborador', component: HomeComponent },\n { path: 'pagar-boletos-en-linea', component: LoginComponent },\n { path: 'pagar-boletos-en-linea/:id/:pk', component: PagarComponent },\n { path: 'pagar-boletos-en-linea/:id/:pk/:boleto', component: PagarComponent },\n { path: 'error-pago', component: ErrorPagoComponent },\n { path: 'premios-sorteo-aniversario', component: PremiosComponent },\n\n { path: '**', redirectTo: 'compra-en-linea-boletos-sorteo-anahuac' },\n ],\n {\n scrollPositionRestoration: 'enabled',\n }\n ),\n\n UiModule,\n ],\n declarations: [\n AppComponent,\n NavMenuComponent,\n CounterComponent,\n FetchDataComponent,\n HomeComponent,\n BoletosColaboradoresComponent,\n DatosCompradorComponent,\n VentaExitosaComponent,\n FormaPagoComponent,\n BoletosColaboradoresCarritoComponent,\n\n //FooterComponent,\n PagarComponent,\n LoginComponent,\n CompartirComponent,\n SingleBoletosColComponent,\n ErrorPagoComponent,\n PremiosComponent,\n ],\n\n providers: [\n BoletosColaboradoresService,\n HttpService,\n HomeService,\n LocalstorageService,\n SessionstorageService,\n MyHttpGetService,\n SimpleTimer,\n DatosCompradorService,\n TimerService,\n ScriptService,\n SeguimientoService,\n /** Cambios Luis Aguilar WECODE */\n BsModalService\n /** END Cambios Luis Aguilar WECODE */\n ],\n bootstrap: [AppComponent],\n})\nexport class AppModule {\n urlMain = environment.UrlBase;\n intervalMs: number = 12 * 60 * 60 * 1000; // 12 horas en milisegundos\n lastCall: string = 'Nunca';\n constructor(private http: HttpClient) {\n\n // const lastCallTime = localStorage.getItem('lastCallTime');\n \n // if (!lastCallTime || Date.now() - parseInt(lastCallTime, 10) >= this.intervalMs) {\n // this.performApiCall();\n // }\n\n // interval(120000).subscribe(() => {\n // const lastCallTime = localStorage.getItem('lastCallTime');\n // // Si no hay registro en el localStorage o han pasado 12 horas, realiza la llamada\n // if (!lastCallTime || Date.now() - parseInt(lastCallTime, 10) >= this.intervalMs) {\n // this.performApiCall();\n // }\n // });\n\n\n \n\n\n //cachar utm de pagiana web\n let urlUtm = window.location.href;\n let utm = urlUtm.split(\"?\");\n let search = utm[1];\n //console.log(search);\n\n if (search == undefined) {\n let organico = \"?utm_source=organico&utm_medium=organico&utm_campaign=organico&utm_term=organico&utm_content=organico\";\n let utm2 = organico.split(\"?\");\n var search2 = utm2[1];\n //console.log(JSON.stringify(organico));\n let finalUtm = JSON.parse('{\"' + search2.replace(/&/g, '\",\"').replace(/=/g, '\":\"') + '\"}', function (key, value) { return key === \"\" ? value : decodeURIComponent(value) });\n ////console.log(finalUtm);\n localStorage.setItem('campaingData', JSON.stringify(finalUtm));\n }\n\n if (search) {\n //console.log(\"entro\");\n //console.log(search.toString());\n //console.log(search.toString().split(\"utm_campaign\"));\n //console.log(search.toString().split(\"utm_campaign\").length);\n if (search.toString().split(\"utm_campaign\").length > 1) {\n let finalUtm = JSON.parse('{\"' + search.replace(/&/g, '\",\"').replace(/=/g, '\":\"') + '\"}', function (key, value) { return key === \"\" ? value : decodeURIComponent(value) });\n // lead.site_source_name = finalUtm.site_source_name ? finalUtm.site_source_name : \"\";\n // lead.placement = finalUtm.placement ? finalUtm.placement : \"\";\n // lead.utm_campaign = finalUtm.utm_campaign ? finalUtm.utm_campaign : \"\";\n // lead.utm_content = finalUtm.utm_content ? finalUtm.utm_campaign : \"\";\n //console.log(finalUtm);\n localStorage.setItem('campaingData', JSON.stringify(finalUtm));\n } else {\n let campaingData = JSON.parse(localStorage.getItem('campaingData'));\n if (campaingData && campaingData['pk']) {\n // console.log(\"existe camapaña\");\n } else {\n let organico = \"?utm_source=organico&utm_medium=organico&utm_campaign=organico&utm_term=organico&utm_content=organico\";\n let utm2 = organico.split(\"?\");\n var search2 = utm2[1];\n //console.log(JSON.stringify(organico));\n let finalUtm = JSON.parse('{\"' + search2.replace(/&/g, '\",\"').replace(/=/g, '\":\"') + '\"}', function (key, value) { return key === \"\" ? value : decodeURIComponent(value) });\n ////console.log(finalUtm);\n localStorage.setItem('campaingData', JSON.stringify(finalUtm));\n }\n\n }\n } else {\n //console.log(\"No existe utm es otra cosa\");\n }\n\n\n\n\n }\n\n performApiCall(): void {\n //debugger;\n //console.log(\"1\");\n this.http.get(this.urlMain+'api/createTokenPaypal').subscribe((response: any) => {\n \n //console.log(\"api generada\");\n this.lastCall = new Date().toLocaleTimeString();\n // Guarda la hora de la llamada actual en el localStorage\n localStorage.setItem('lastCallTime', Date.now().toString());\n\n },\n err => {\n console.log(err.status);\n });\n\n //console.log(\"2\");\n\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Boleto } from '../models/Boleto';\nimport { MyHttpGetService } from '../services/http.services.token';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { SessionstorageService } from '../services/sessionstorage.service';\nimport { TimerService } from '../timer/timer.service';\n/** Cambios Luis Aguilar WECODE */\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { ViewChild } from '@angular/core';\nimport { ModalDirective } from 'ngx-bootstrap/modal';\nimport { DatosCompradorService } from '../datos-comprador/services/datos-comprador.service';\nimport { BoletoValidar } from '../models/BoletoValidar';\n/** END Cambios Luis Aguilar WECODE */\n\n@Component({\n selector: 'app-boletos-colaboradores-carrito',\n templateUrl: './boletos-colaboradores-carrito.component.html',\n styleUrls: ['./boletos-colaboradores-carrito.component.scss'],\n providers: [MyHttpGetService, LocalstorageService],\n})\nexport class BoletosColaboradoresCarritoComponent implements OnInit {\n //boletos_generados -> Boletos de publico general.\n //boletos_recomendados -> Boletos recomendados de un colaborador especifico.\n //boletos_asignados -> Boletos de un comprador previo.\n //boletos_bloqueados -> Array de boletos a bloquear para el cliente por un periodo de 15min.\n //boletos - > Boletos a mostrar en carrito de compra.\n //tipos_pago -> Metodos de pago a mostrar seg�n el tipo de sesi�n (1 -> PublicoGeneral, 2 -> Colaborador desde APP, 3 -> Colaborador desde PC)\n\n /////////////////////////\n\n public boletos_generados: Array = [];\n public boletos_recomendados: Array = [];\n public boletos_asignados: Array = []; //\n public boletos_bloqueados_local: Array = [];\n public boletos_bloqueados: { boletos: Array; fecha: string; carrito: string } = {\n boletos: [],\n fecha: '',\n carrito: '',\n };\n public boletos_p_liberar: { boletos: Array; fecha: string; orden: string; carrito: string } = {\n boletos: [],\n fecha: '',\n orden: '',\n carrito: '',\n };\n public boletos: Array = [];\n public total_compra: number = 0;\n public bolCola: number = 0;\n public tipos_pago: number;\n public spinner: boolean = false;\n public carrito: string;\n\n\n\n\n constructor(\n private myGetService: MyHttpGetService,\n private _session: SessionstorageService,\n private _local: LocalstorageService,\n private router: Router,\n public st: TimerService,\n ) {\n var lsRecomendados = this._local.getBoletosRecomendados();\n var lsGenerados = this._local.getBoletosGenerados();\n var lsAsignados = this._local.getBoletosAsignados();\n var lsBloqueados = this._local.getBoletosBloqueados();\n var lsCarrito = this._local.getCarrito();\n var lsbolCol = this._session.getBoletosCol();\n this.bolCola = lsbolCol ? parseInt(lsbolCol) : 0;\n this.boletos_generados = lsGenerados == null ? [] : JSON.parse(lsGenerados);\n this.boletos_recomendados = lsRecomendados == null ? [] : JSON.parse(lsRecomendados);\n this.boletos_asignados = lsAsignados == null ? [] : JSON.parse(lsAsignados);\n this.boletos_bloqueados_local = lsBloqueados == null ? [] : JSON.parse(lsBloqueados);\n this.tipos_pago = parseInt(this._session.getTiposPago());\n this.carrito = lsCarrito;\n }\n\n async ngOnInit() {\n this.spinner = false;\n this.verificaCarrito();\n await this.getData(this.boletos_generados, this.boletos_recomendados, this.boletos_asignados);\n if (this.tipos_pago == 1) {\n this.st.startTimer();\n }\n this._local.deleteFolio();\n /// Pop up\n var popC = this._session.getPopstate();\n ////console.log(popC);\n //this.PopupAmigable(popC);\n\n\n \n // const folios = this.boletos.map(objeto => objeto.folio).join(',');\n // console.log(folios);\n\n\n // this.myGetService.checkTickets(folios).subscribe(\n // (res: any) => {\n\n // const body = JSON.parse(res._body);\n // console.log(body);\n // if (body.length > 0) {\n\n // let boletosEnCarritoList = '';\n // let boletosConReferenciaList = '';\n // body.forEach(item => {\n // if (item.RefBancaria && item.RefBancaria.trim() !== '') {\n // boletosConReferenciaList += `
  • Boleto: ${item.Folio} - Referencia: ${item.RefBancaria} - Fecha liberación: ${this.formatDate(item.FechaLiberacion)}
  • `;\n // } else {\n // boletosEnCarritoList += `
  • Boleto: ${item.Folio} - Fecha liberación: ${this.formatDate(item.FechaLiberacion)}
  • `;\n // }\n\n // });\n\n // const confirmContent = `\n //
    \n //

    Existen problemas con tus boletos, a continuación te mostramos un resumen:

    \n // ${boletosEnCarritoList ?\n // `

    Boletos en carrito:

    \n //
      ${boletosEnCarritoList}
    `\n // : ''}\n // ${boletosConReferenciaList ?\n\n // `

    Boletos con referencia bancaria:

    \n \n //
      ${boletosConReferenciaList}
    `\n // : ''}\n //

    NOTA: Si tienes varios boletos por pagar, te recomendamos que quites del carrito (es decir, los boletos que aparecen en pantalla o que tienen referencia bancaria) usando la \"x\" que aparece junto a cada boleto. Si intentas proceder al pago sin quitar estos boletos, es posible que se produzca un error.

    \n\n //
    \n // `;\n\n\n // if (window['alertify']) {\n // (window as any).alertify\n // .confirm('Estado de los boletos', confirmContent,\n // () => {\n // (window as any).alertify.success('¡LO TENGO!');\n // console.log(\"Aceptar\");\n // },\n // () => {\n // console.log(\"Cancelar\");\n // }\n // )\n // .set('labels', { ok: 'He leído', cancel: '' })\n // .set('closable', false)\n // .set('defaultFocus', 'ok')\n // .set('className', 'custom-confirm');\n // }\n\n\n // }\n // },\n // (error) => {\n // console.error('Error en la solicitud:', error);\n // }\n // );\n\n\n }\n\n formatDate(dateString: string): string {\n const date = new Date(dateString);\n const options: Intl.DateTimeFormatOptions = {\n day: '2-digit',\n month: 'long',\n year: 'numeric'\n };\n return date.toLocaleDateString('es-ES', options);\n }\n\n verificaCarrito(): void {\n let boletosl: Boleto[] = this.bolCola == 0 ? this.boletos_recomendados : this.boletos_generados;\n\n boletosl.forEach((boleto) => {\n this.deleteBoleto(boleto);\n });\n }\n\n async getData(\n boletos_generados: Array,\n boletos_recomendados: Array,\n boletos_asignados: Array\n ) {\n //debugger;\n var fechaFin = new Date(this._local.getFechaFin()); //Fecha en que se limpia el carrito\n var fechaInicio = new Date(this._local.getFechaInicio()); //Fecha en que se agrego el boleto al carrito\n var seconds = fechaFin.getTime() - fechaInicio.getTime(); // Timer\n\n if (this.tipos_pago == 1) {\n if (boletos_generados !== []) {\n boletos_generados.sort(function (a, b) {\n return a.folio - b.folio;\n });\n\n for (var i = 0; i <= boletos_generados.length - 1; i++) {\n this.total_compra = this.total_compra + boletos_generados[i].costo;\n this.boletos.push(boletos_generados[i]);\n }\n }\n\n if (boletos_recomendados !== []) {\n boletos_recomendados.sort(function (a, b) {\n return a.folio - b.folio;\n });\n for (var i = 0; i <= boletos_recomendados.length - 1; i++) {\n this.total_compra = this.total_compra + boletos_recomendados[i].costo;\n this.boletos.push(boletos_recomendados[i]);\n }\n }\n ////console.log(fechaFin);\n this.boletos_bloqueados.boletos =\n this.boletos_generados.length > 0 ? this.boletos_generados : this.boletos_recomendados;\n if (this.boletos_bloqueados_local.length > 0) {\n this.boletos_bloqueados_local.forEach((boleto) => {\n this.boletos_bloqueados.boletos = this.boletos_bloqueados.boletos.filter((b) => b.clave !== boleto.clave);\n });\n }\n\n this.boletos_bloqueados.fecha = fechaFin.toISOString();\n this.boletos_bloqueados.carrito = this.carrito;\n ////console.log(this.boletos_bloqueados);\n\n if (this.boletos_bloqueados.boletos.length > 0) {\n return new Promise((resolve, reject) => {\n this.myGetService.postData(this.boletos_bloqueados, 'api/BoletosWeb/ValidaBoletosPagoMIT').subscribe(\n (res) => {\n this.myGetService.postData(this.boletos_bloqueados, 'api/BoletosWeb/ActualizaCarroBoletos').subscribe(\n (res) => {\n ////console.log(res);\n if (res.ok) {\n if (!this.carrito) {\n this.carrito = res.json();\n this._local.setCarrito(this.carrito);\n }\n this.spinner = true;\n this.boletos_bloqueados.boletos = [\n ...this.boletos_bloqueados.boletos,\n ...this.boletos_bloqueados_local,\n ];\n this._local.setBoletosBloqueados(this.boletos_bloqueados.boletos);\n this.boletos_bloqueados_local = this.boletos_bloqueados.boletos;\n resolve('Promise complete');\n }\n },\n (error) => {\n console.log(error);\n //validar que este en carrito o mandar error\n window.location.href = 'error-pago?success=false&nbResponse=ErrorDatosCarrito';\n }\n );\n },\n (err) => {\n window.location.href = 'error-pago?success=false&nbResponse=Invalido';\n }\n );\n });\n } else {\n this.spinner = true;\n }\n } else {\n if (boletos_asignados !== []) {\n return new Promise((resolve, reject) => {\n this.boletos_bloqueados.boletos = boletos_asignados;\n this.boletos_bloqueados.fecha = fechaFin.toISOString();\n this.boletos_bloqueados.carrito = '';\n this.myGetService.postData(this.boletos_bloqueados, 'api/BoletosWeb/ValidaBoletosPagoMIT').subscribe(\n (res) => {\n this._session.setContCarrito(1);\n boletos_asignados.sort(function (a, b) {\n return a.folio - b.folio;\n });\n for (var i = 0; i <= boletos_asignados.length - 1; i++) {\n this.total_compra = this.total_compra + boletos_asignados[i].costo;\n this.boletos.push(boletos_asignados[i]);\n }\n\n this.spinner = true;\n resolve('Promise complete');\n },\n (err) => {\n window.location.href = 'error-pago?success=false&nbResponse=Invalido';\n }\n );\n });\n }\n }\n }\n\n efectuarPago() {\n if (this.tipos_pago == 2 || this.tipos_pago == 3) {\n this.router.navigate(['forma-pago']);\n } else {\n this.router.navigate(['datos-comprador']);\n }\n }\n\n regresar() {\n if (this.tipos_pago == 2 || this.tipos_pago == 3) {\n this.router.navigate(['login']);\n } else {\n this.router.navigate(['compra-en-linea-boletos-sorteo-anahuac']);\n }\n }\n\n deleteBoleto = (boleto: Boleto): void => {\n this.boletos = this.boletos.filter((b) => b.clave !== boleto.clave);\n this.boletos_generados = this.boletos_generados.filter((b) => b.clave !== boleto.clave);\n this.boletos_recomendados = this.boletos_recomendados.filter((b) => b.clave !== boleto.clave);\n this.boletos_asignados = this.boletos_asignados.filter((b) => b.clave !== boleto.clave);\n this.boletos_bloqueados_local = this.boletos_bloqueados_local.filter((b) => b.clave !== boleto.clave);\n this._local.setBoletosGenerados(this.boletos_generados);\n this._local.setBoletosRecomendados(this.boletos_recomendados);\n this._local.setBoletosAsignados(this.boletos_asignados);\n this._local.setBoletosBloqueados(this.boletos_bloqueados_local);\n if (this.total_compra > 0) {\n this.total_compra = this.total_compra - boleto.costo;\n }\n\n this.boletos_p_liberar.boletos[0] = boleto;\n this.boletos_p_liberar.fecha = new Date().toISOString();\n if (this.tipos_pago == 1) {\n this.boletos_p_liberar.carrito = this.carrito;\n this.myGetService.postData(this.boletos_p_liberar, 'api/BoletosWeb/LiberaBoletos').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n });\n if (this.boletos_bloqueados_local.length == 0) {\n this._local.deleteCarrito();\n this.carrito = '';\n }\n }\n };\n\n //// ------------ POPUP------------\n /*\n PopupAmigable(popC) {\n var PopAct = document.getElementById('popupamigable');\n if (popC == 0) {\n setTimeout(() => {\n document.addEventListener('mouseout', (event) => {\n if (event.relatedTarget === null && popC == 0) {\n PopAct.hidden = false;\n popC = 2;\n this._session.setPopstate(popC);\n }\n });\n }, 5);\n } else {\n PopAct.hidden = true;\n }\n }\n*/\n\n}\n","
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t\t\t\t\n\n\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\"Carrito\n\t\t\t\t\t

    \n\t\t\t\t\t carrito de\n\t\t\t\t\t compras\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\n\n
    \n\t
    \n\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{boletos.length}}\n\t\t\t\t\t\t\n\t\t\t\t\t\tBoleto(s) seleccionado(s):\n\t\t\t\t\t

    \n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t{{(st.minutesDisplay) && (st.minutesDisplay <= 59) ? st.minutesDisplay : '00'}} : {{(st.secondsDisplay) && (st.secondsDisplay <= 59) ? (st.secondsDisplay < 10) ? '0' + st.secondsDisplay : st.secondsDisplay : '00'}}\n\t\t\t\t\t\n\t\t\t\t
    \n\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\n\t\t\t
    \n\t
    \n
    \n\n\n\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n\n\n\n\n\n\n\n\n\n\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport * as base64 from 'base-64';\nimport * as utf8 from 'utf8';\nimport { Boleto } from '../models/Boleto';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { SessionstorageService } from '../services/sessionstorage.service';\nimport { TimerService } from '../timer/timer.service';\nimport { BoletosColaboradoresService } from './services/boletos-colaboradores.service';\n\n@Component({\n selector: 'app-boletos-colaboradores',\n templateUrl: './boletos-colaboradores.component.html',\n styleUrls: ['./boletos-colaboradores.component.scss'],\n})\nexport class BoletosColaboradoresComponent implements OnInit {\n public clave_colaborador: number = 0;\n public clave_colaborador_encoded: string;\n public nombre_colaborador: string;\n public boletos_recomendados: Array = [];\n public boletos_colaborador: Array = [];\n public total_compra: number = 0;\n public tipos_pago: number = 1;\n\n constructor(\n private _session: SessionstorageService,\n private _local: LocalstorageService,\n private _BColaboradoresService: BoletosColaboradoresService,\n private route: ActivatedRoute,\n private router: Router,\n public st: TimerService\n ) {\n this.route.params.subscribe((params) => (this.clave_colaborador_encoded = params.id));\n var lsRecomendados = this._local.getBoletosRecomendados();\n this.boletos_recomendados = lsRecomendados == null ? [] : JSON.parse(lsRecomendados);\n }\n\n ngOnInit() {\n let clave = this.clave_colaborador_encoded;\n ////console.log(atob(clave));\n if(atob(clave) == \"65960\") {\n this.router.navigate(['/boletos-colaborador-anahuac-online/NjU5NjA']);\n }\n var decodedString = base64.decode(decodeURIComponent(this.clave_colaborador_encoded));\n var bytesString = utf8.decode(decodedString);\n this.clave_colaborador = Number(bytesString);\n ////console.log(this.clave_colaborador);\n this.getBoletosColaborador(this.clave_colaborador);\n }\n\n getBoletosColaborador(clave_colaborador: number) {\n ////console.log(\"Entra getBoletos\");\n this._BColaboradoresService.getBoletosColaborador(clave_colaborador).subscribe(\n (data) => {\n this.boletos_colaborador = data;\n // //console.log(data);\n },\n (err) => console.error(err),\n () =>\n ////console.log('done loading boletos')\n {}\n );\n\n this._BColaboradoresService.getNombreColaborador(clave_colaborador).subscribe(\n (data) => {\n this.nombre_colaborador = data;\n ////console.log(data);\n },\n (\n err //console.error(err)\n ) => {},\n () =>\n ////console.log('done loading boletos')\n {}\n );\n }\n\n add(boletos_colaborador: Array) {\n for (var i = 0; i <= boletos_colaborador.length - 1; i++) {\n if (boletos_colaborador[i].seleccionado) {\n var control = 0;\n if (this.boletos_recomendados.length == 0) {\n this.boletos_recomendados.push(boletos_colaborador[i]);\n this.total_compra = this.total_compra + boletos_colaborador[i].costo;\n } else {\n for (var j = 0; j <= this.boletos_recomendados.length - 1; j++) {\n if (this.boletos_recomendados[j].folio !== boletos_colaborador[i].folio) {\n control = control + 1;\n if (control == this.boletos_recomendados.length) {\n this.boletos_recomendados.push(boletos_colaborador[i]);\n this.total_compra = this.total_compra + boletos_colaborador[i].costo;\n }\n }\n }\n }\n }\n }\n var date = new Date();\n this._local.setFechaInicio(date);\n this._local.setFechaFin(date);\n this._local.setBoletosRecomendados(this.boletos_recomendados);\n this.st.startTimer();\n this._session.setBoletosCol(1);\n this._session.setTiposPago(this.tipos_pago);\n sessionStorage.setItem('pagina', 'Liga compartida');\n sessionStorage.setItem('tipoBoleto', 'Boleto desde micrositio liga compartida');\n sessionStorage.setItem('texto', 'Gracias por sumarte a Sorteo Anáhuac, con tu boleto ayudaras a muchos estudiantes');\n this.router.navigate(['carrito-compra']);\n }\n}\n","\n\n\n
    \n\t
    \n\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t

    BOLETOS RECOMENDADOS

    \n\t\t\t\t
    \n\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Elige los boletos que le desees comprar a {{nombre_colaborador}}:

    \n\t\t\t\t\t
    \n\t\t\n\t\t\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Lo sentimos, por el momento no contamos con boletos disponibles.

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t
    \n\t\n\t
    \n
    ","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { HttpService } from '../../services/http.service';\n \n\n@Injectable()\nexport class BoletosColaboradoresService extends HttpService {\n \n constructor(public _http:HttpClient) {\n super(_http)\n }\n \n // Uses http.get() to load data from a single API endpoint\n getBoletosColaborador(clave_colaborador: number) {\n const url = `${this.apiURL}api/BoletosColaborador/${clave_colaborador}`;\n return this.get(url);\n }\n\n getNombreColaborador(clave_colaborador: number) {\n const url = `${this.apiURL}api/NombreColaborador/${clave_colaborador}`;\n return this.get(url);\n }\n}","import { Component, OnInit } from '@angular/core';\nimport { Meta } from '@angular/platform-browser';\nimport { Router, ActivatedRoute, ParamMap } from '@angular/router';\nimport * as base64 from 'base-64';\nimport * as utf8 from 'utf8';\nimport { MyHttpGetService } from '../services/http.services.token';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { SessionstorageService } from '../services/sessionstorage.service';\nimport { TimerService } from '../timer/timer.service';\nimport { environment } from '../../environments/environment';\nimport { utf8Encode } from '@angular/compiler/src/util';\n\n@Component({\n selector: 'app-compartir',\n templateUrl: './compartir.component.html',\n styleUrls: ['./compartir.component.scss']\n})\nexport class CompartirComponent implements OnInit {\n activatedRoute: any;\n link: string;\n has_userkey: boolean;\n message: string;\n\n public body: { correo: string } = { correo: '' };\n public user: { clave: string, nombre: string } = { clave: '', nombre: ''};\n\n constructor(\n private _session: SessionstorageService,\n private _local: LocalstorageService,\n private router: Router,\n private route: ActivatedRoute,\n private myGetService: MyHttpGetService,\n private st: TimerService,\n private meta: Meta\n ) {\n this.meta.updateTag({ name: 'title', content: 'Comparte tus boletos del Sorteo Anáhuac en línea' });\n this.meta.updateTag({\n name: 'description',\n content:\n 'Invita a tus amigos a comprar un boleto de sorteo Anáhuac.',\n });\n this.has_userkey = false;\n this.message = \"Lo sentimos, no se encontró un colaborador registrado bajo ese correo.\";\n }\n\n ngOnInit() {\n\n this.route.queryParams\n .subscribe(params => {\n this.body.correo = params.correo;\n }\n );\n \n if(this.body.correo != \"\"){\n //consume endpoint y obtiene clave\n this.myGetService.postData(this.body, 'api/Usuarios/GetNameKey').subscribe(\n (result) => {\n var result_json = result.json();\n ////console.log(result_json);\n if(result_json != undefined && result_json != null && result_json.length > 0){\n var user_json = JSON.parse(result_json);\n var bytes:any;\n var user_key:any;\n if (Object.keys(user_json).length > 0) { \n if(user_json.clave != \"\"){\n if(user_json.hasTickets == true){\n if(user_json.hasDigitalTickets == true){\n this.has_userkey = true;\n var bytes = utf8.encode(user_json.clave);\n user_key = encodeURIComponent(base64.encode(bytes));\n this.user.clave = user_json.clave;\n this.user.nombre = user_json.nombre;\n this.link = environment.urlCompartirBoletos + user_key;\n }\n else{\n this.message = \"Lo sentimos, este colaborador no cuenta con boletos digitales.\";\n }\n }\n else{\n this.message = \"Lo sentimos, este colaborador aún no cuenta con boletos.\";\n }\n }\n }\n }\n\n },\n (error) => {\n this.has_userkey = false;\n this.message = \"Ocurrió un error al intentar localizar al colaborador. Disculpa las molestias.\"\n ////console.log(\"error al solicitar clave de colaborador\");\n ////console.log(error);\n }\n );\n }\n }\n\n public copylink(inputElement){\n inputElement.select();\n document.execCommand('copy');\n inputElement.setSelectionRange(0,0);\n var alert = document.getElementById('message');\n alert.classList.remove(\"hidden\");\n setTimeout(() => {\n alert.classList.add(\"hidden\");\n }, 2000);\n }\n}\n","\n
    \n
    \n \n
    \n \n
    \n
    \n

    Comparte tus boletos del Sorteo Anáhuac en línea

    \n
    \n
    \n
    \n

    ¡Hola {{user.nombre ? user.nombre : ' Colaborador'}}!

    \n
    {{user.clave ? 'CLAVE ' + user.clave : ''}}
    \n
    \n\n
    \n Invita a tus amigos a comprar un boleto de sorteo Anáhuac por medio de tus redes sociales.\n
    \n \n
    \n
    \n
    Puedes copiar este link para compartirlo donde quieras.
    \n \n

    Este es el link con tu clave para invitar a comprar.

    \n Copiar link\n \n
    \n
    \n
    \n
    \n \n\n
    \n
    \n
    \n

    Comparte tus boletos del Sorteo Anáhuac en línea

    \n
    \n
    \n
    \n {{message}}\n
    \n Regresar\n
    \n
    \n
    \n\n
    \n
    \n\n
    \n \n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'counter',\n templateUrl: './counter.component.html'\n})\nexport class CounterComponent {\n public currentCount = 0;\n\n public incrementCounter() {\n this.currentCount++;\n }\n}\n","

    Counter

    \n\n

    This is a simple example of an Angular component.

    \n\n

    Current count: {{ currentCount }}

    \n\n\n","import { HtmlAstPath } from \"@angular/compiler\";\nimport { AfterViewInit, ChangeDetectorRef, Component, OnInit } from \"@angular/core\";\nimport { FormBuilder, FormGroup, Validators } from \"@angular/forms\";\n\nimport { ActivatedRoute, NavigationEnd, Router } from \"@angular/router\";\n//import { ConsoleReporter } from \"jasmine\";\nimport { Observable } from \"rxjs\";\nimport { environment } from \"src/environments/environment\";\nimport { Boleto } from \"../models/Boleto\";\nimport { BoletoValidar } from \"../models/BoletoValidar\";\nimport { Campus } from \"../models/Campus\";\nimport { Comprador } from \"../models/Comprador\";\nimport { Pais } from \"../models/Pais\";\nimport { MyHttpGetService } from \"../services/http.services.token\";\nimport { LocalstorageService } from \"../services/localstorage.service\";\nimport { SessionstorageService } from \"../services/sessionstorage.service\";\nimport { TimerService } from \"../timer/timer.service\";\nimport { DatosCompradorService } from \"./services/datos-comprador.service\";\nimport * as $ from 'jquery';\nimport { SeguimientoService } from \"../services/seguimiento.service\";\n\nimport { driver } from \"driver.js\";\nimport \"driver.js/dist/driver.css\";\n\ndeclare var $: any;\n\n(window).$ = $; // Asegúrate de que jQuery sea accesible globalmente\n\n\n\nvar tab, img, imge, nombre, apellidos, apellido_paterno, apellido_materno, egresado, campus, egresadoslct: any;\n@Component({\n selector: \"app-datos-comprador\",\n templateUrl: \"./datos-comprador.component.html\",\n styleUrls: [\"./datos-comprador.component.scss\"],\n})\nexport class DatosCompradorComponent implements OnInit, AfterViewInit {\n ///\n public flagCampus: boolean;\n public flagPlaceCampus: boolean;\n ///\n\n /* autocompletar correo*/\n isSearching: boolean = false;\n flagBuyer: boolean = false;\n\n\n\n\n formDatosComprador: FormGroup;\n public tipos_pago: number;\n formDatosColaborador: FormGroup;\n formDatosCampus: FormGroup;\n public cont = 0;\n public contador: number = 0;\n public boletos_generados: Array = [];\n public boletos_recomendados: Array = [];\n public boletos: Array = [];\n public boletocheck: Boleto;\n public total_compra: number = 0;\n public mensajeError: string = \"\";\n public valida: boolean = false;\n public messageAlert: string;\n private messageAlert1: string;\n private typeAlert: string;\n public Colonias: any = [];\n public obtenerDatos: Array = [];\n public aceptar_terminos: boolean = false;\n public rotular_todos: boolean = false;\n public ocultar_cp: boolean = false;\n public Datos: any = [];\n public Compradores: any = [];\n public nuevoUsuario: boolean = false;\n public flagSelect = false;\n //BOLETO VALIDAR\n boletoValida: BoletoValidar = new BoletoValidar();\n public boletoVal: any = [];\n public flagBolVal = false;\n\n especificaCanalInvalid: boolean = false;\n //FIN BOLETO VALIDAR\n public Info: Array = [\n {\n pk1: 0,\n nombre: \"\",\n apellidos: \"\",\n apellido_materno: \"\",\n apellido_paterno: \"\",\n telefono_fijo: \"\",\n telefono_movil: \"\",\n correo_electronico: \"\",\n correo_alternativo: \"\",\n correo_tarjetahabiente: \"\",\n calle: \"\",\n numero: \"\",\n pais: \"\",\n codigo_postal: \"\",\n colonia: \"\",\n estado: \"\",\n municipio: \"\",\n campus: \"\",\n egresado: \"\",\n pkcanal: null,\n especifica_canal: \"\",\n dia: \"\",\n mes: \"\",\n anio: \"\",\n pk_comprador_existente: 0\n },\n ];\n\n public InfoEgr: any = [\n {\n pk1: \"\",\n folio3: \"\",\n folio2: \"\",\n folio1: \"\",\n pais: \"\",\n telefono_celular: \"\",\n telefono_casa: \"\",\n colonia: \"\",\n calle: \"\",\n cp: \"\",\n alcaldia_municipo: \"\",\n ciudad: \"\",\n estado_provincia: \"\",\n nombre_empresa: \"\",\n ocupacion: \"\",\n apellidos: \"\",\n segundo_nombre: \"\",\n nombre_pila: \"\",\n email_original: \"\",\n generacion: \"\",\n email: \"\",\n fecha_nacimiento: \"\",\n nombre_completo: \"\",\n carrera: \"\",\n campus: \"\",\n matricula: \"\"\n }\n\n\n ];\n\n\n public validaDatos: Array = [];\n public UrlAnahuac: string;\n public colaborador_voluntarioC: boolean = false;\n public egresadoC: boolean = false;\n public selecciona_colaboradorC: boolean = false;\n public selecciona_egresadoC: string = \"0\";\n public correocolaborador: any;\n public IDColab: string;\n public egresado: string;\n public resultIDcolab: string;\n public nombreColab: string;\n public nombreColab2: string;\n public intentosColab: number = 3;\n public paises: Observable;\n public canales: any = [];\n public campusall: Observable;\n public flagCP = false;\n\n\n /** Cambios Luis Aguilar WECODE */\n ShowPopCampania: boolean = false;\n //@ViewChild('autoShownModal', { static: false }) autoShownModal: ModalDirective;\n // formDatosCompradorCampania: FormGroup;\n // public InfoCompradorCampania: any = {\n // correo: ''\n // };\n public flagVentaXInt = false;\n /** END Cambios Luis Aguilar WECODE */\n\n\n dias: number[] = [];\n meses = [\n { name: '01', value: 1 },\n { name: '02', value: 2 },\n { name: '03', value: 3 },\n { name: '04', value: 4 },\n { name: '05', value: 5 },\n { name: '06', value: 6 },\n { name: '07', value: 7 },\n { name: '08', value: 8 },\n { name: '09', value: 9 },\n { name: '10', value: 10 },\n { name: '11', value: 11 },\n { name: '12', value: 12 }\n ];\n anios: number[] = [];\n fechaNacimiento = { dia: null, mes: null, anio: null };\n public listaCompradores: any = [];\n compradorSeleccionadoIndex: number | null = null;\n cambiarBoton = false\n\n constructor(\n private _local: LocalstorageService,\n private _session: SessionstorageService,\n public st: TimerService,\n private fb: FormBuilder,\n private router: Router,\n private _DCompradorService: DatosCompradorService,\n private myGetService: MyHttpGetService,\n private route: ActivatedRoute,\n private readonly _seguimiento: SeguimientoService,\n private cdr: ChangeDetectorRef\n ) {\n\n /*test */\n //console.log(this._local.getCampaingnData());\n /*end tes*/\n this.flagCampus = false;\n this.flagPlaceCampus = false;\n var lsGenerados = this._local.getBoletosGenerados();\n var lsRecomendados = this._local.getBoletosRecomendados();\n this.boletos_generados = lsGenerados == null ? [] : JSON.parse(lsGenerados);\n this.boletos_recomendados =\n lsRecomendados == null ? [] : JSON.parse(lsRecomendados);\n this.UrlAnahuac = environment.Url_Avisos_Privacidad;\n this.paises = _DCompradorService.getInfopais();\n\n this.campusall = _DCompradorService.getInfocampus();\n\n this.formDatosComprador = this.fb.group({\n pais: [\"\", Validators.compose([Validators.required])],\n //pkcanal1: [\"\", Validators.compose([Validators.required])],\n egresado: [\n \"\",\n Validators.compose([Validators.required, Validators.pattern(/^\\d*$/)]),\n ],\n campus: [\n \"\",\n Validators.compose([Validators.pattern(/[a-z0-9A-Z????????????\\s]/)]),\n ],\n nombre: [\n \"\",\n Validators.compose([\n Validators.required,\n Validators.pattern(/^[a-zA-ZáéíóúñÑÁÉÍÓÚ\\s]+$/),\n ]),\n ],\n apellidos: [\n \"\",\n Validators.compose([\n Validators.pattern(/^[a-zA-ZáéíóúñÑÁÉÍÓÚ\\s]+$/),\n ]),\n ],\n apellido_materno: [\n \"\",\n Validators.compose([\n Validators.required,\n Validators.pattern(/^[a-zA-ZáéíóúñÑÁÉÍÓÚ\\s]+$/),\n ]),\n ],\n apellido_paterno: [\n \"\",\n Validators.compose([\n Validators.required,\n Validators.pattern(/^[a-zA-ZáéíóúñÑÁÉÍÓÚ\\s]+$/),\n ]),\n ],\n // telefono_fijo: [\n // \"\",\n // Validators.compose([Validators.required, Validators.pattern(/^\\d*$/)]),\n // ],\n telefono_movil: [\n \"\",\n Validators.compose([Validators.required, Validators.pattern(/^\\d+$/)]),\n ],\n correo_electronico: [\n \"\",\n Validators.compose([\n Validators.required,\n Validators.pattern(\n /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/\n ),\n ]),\n ],\n correo_alternativo: [\n \"\",\n Validators.pattern(\n /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/\n ),\n ],\n correo_tarjetahabiente: [\n \"\",\n Validators.compose([\n Validators.required,\n Validators.pattern(\n /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/\n ),\n ]),\n ],\n // calle: [\n // \"\",\n // Validators.compose([\n // Validators.required,\n // Validators.pattern(/^[a-zA-ZáéíóúÁÉÍÓÚ0-9\\s]+$/),\n // ]),\n // ],\n // numero: [\n // \"\",\n // Validators.compose([\n // Validators.required,\n // Validators.pattern(/^[a-zA-ZáéíóúÁÉÍÓÚ0-9\\s]+$/),\n // ]),\n // ],\n codigo_postal: [\n \"\",\n Validators.compose([Validators.required, Validators.pattern(/^\\d*$/)]),\n ],\n colonia: [\"\", Validators.required],\n municipio: [\"\", Validators.required],\n estado: [\"\", Validators.required],\n dia: [\"\", Validators.required],\n mes: [\"\", Validators.required],\n anio: [\"\", Validators.required]\n });\n\n this.formDatosColaborador = this.fb.group({\n correo_electronico: [\n \"\",\n Validators.compose([\n Validators.required,\n Validators.pattern(\n /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/\n ),\n ]),\n ],\n });\n\n this.IDColab = this._local.getPKColab();\n }\n\n initDias(): void {\n this.dias = Array.from({ length: 31 }, (_, i) => i + 1);\n }\n\n initAnios(): void {\n const currentYear = 2007; // Año máximo\n const minYear = currentYear - 100; // Últimos 100 años\n this.anios = Array.from({ length: currentYear - minYear + 1 }, (_, i) => currentYear - i);\n }\n\n\n ngOnInit() {\n\n console.log(\"OBTENER DATOS\");\n console.log(this.obtenerDatos);\n $(\"#codigo_postal\").addClass(\"enable-inp\");\n setTimeout(() => {\n const input = document.getElementById('correo_electronico') as HTMLInputElement;\n if (input) {\n input.removeAttribute('readonly');\n }\n }, 100);\n\n /* deshabilitar inputs */\n // Deshabilitar todos los campos excepto 'correo_electronico'\n this.formDatosComprador.get('codigo_postal')?.disable();\n\n Object.keys(this.formDatosComprador.controls).forEach((key) => {\n if (key !== 'correo_electronico') {\n this.formDatosComprador.get(key)?.disable(); // Deshabilitar todos excepto correo_electronico\n }\n });\n\n // if (localStorage.getItem('showTuto') !== 'true') {\n // this.driveShow();\n // }\n\n this.initDias();\n this.initAnios();\n /* */\n // $(\"#pais\").on(\"change\", function () {\n // //console.log(\"cambio\"); \n // });\n /* */\n this._DCompradorService.getCanales().subscribe(a => {\n this.canales = a;\n ////console.log(this.canales)\n });\n\n\n this.st.startTimer();\n this.router.events.subscribe((evt) => {\n if (!(evt instanceof NavigationEnd)) {\n return;\n }\n window.scrollTo(0, 0);\n });\n this.limpiaInfo();\n this.getData(this.boletos_generados, this.boletos_recomendados);\n this.boletos.sort(function (a, b) {\n return a.folio - b.folio;\n });\n ////console.log(this.boletos);\n this.boletocheck = this.boletos[0];\n\n //VALIDAR BOLETOS\n this.boletoValida.folioBoleto = this.boletocheck.folio.toString();\n ////console.log(this.boletoValida);\n this._DCompradorService.validarBoletoPasaVoz(this.boletoValida).subscribe(a => {\n this.boletoVal = a;\n ////console.log(this.boletoVal);\n if (this.boletoVal.folioBoleto === \"-1\") {\n this.flagBolVal = false;\n } else {\n this.flagBolVal = true;\n }\n ////console.log(this.flagBolVal);\n ////console.log(this.IDColab);\n },\n err => {\n\n });\n\n //FIN VALIDAR BOLETO\n\n //crear modelo\n /// Pop up\n var popC = this._session.getPopstate();\n //this.PopupAmigable(popC);\n /// Pop up\n //Autocomplete colaboradores\n if (\n parseInt(this._session.getTipoAsignado()) == 1 &&\n this._session.getColab() != null\n ) {\n ////console.log(\"trae los datos del colaborador\")\n this.AutocompleteColab();\n //\n }\n if (this.IDColab !== null) {\n this.validaColaborador();\n }\n\n /// Pop up\n /** Cambios Luis Aguilar WECODE */\n this.ChecaCampania();\n /** END Cambios Luis Aguilar WECODE */\n\n\n /*TRER DATOS EGRESADO SI ES QUE EXISTE */\n let pk_egr = sessionStorage.getItem('pk_egresado');\n let pk_egresado = 0;\n if (pk_egr) {\n pk_egresado = parseInt(pk_egr, 10);\n this._DCompradorService.GetDataEgresado(pk_egresado).subscribe(a => {\n this.InfoEgr = a;\n //console.log(this.Info);\n console.log(this.InfoEgr);\n this.Info[0].pk1 = 0;\n this.Info[0].nombre = this.InfoEgr.nombre_pila;\n this.Info[0].apellidos = this.InfoEgr.apellidos;\n\n let cadenaOriginal = this.InfoEgr.apellidos;\n let cadenaLimpia = cadenaOriginal.trim();\n let apellidos = cadenaLimpia.split(\" \");\n\n //console.log(apellidos);\n\n\n this.Info[0].apellido_paterno = apellidos[0];\n this.Info[0].apellido_materno = apellidos[1];\n\n this.Info[0].telefono_fijo = this.InfoEgr.telefono_celular;\n this.Info[0].telefono_movil = this.InfoEgr.telefono_celular;\n this.Info[0].correo_electronico = this.InfoEgr.email;\n this.Info[0].correo_alternativo = this.InfoEgr.email;\n this.Info[0].correo_tarjetahabiente = this.InfoEgr.email;\n //this.Info[0].pais = this.InfoEgr.pais;\n //console.log(this.InfoEgr.cp.toString().padStart(5, '0'));\n this.Info[0].codigo_postal = this.InfoEgr.cp.toString().padStart(5, '0');\n this.getInfoCP(this.Info[0].codigo_postal);\n this.Info[0].colonia = this.InfoEgr.colonia;\n this.Info[0].estado = this.InfoEgr.estado_provincia;\n this.Info[0].municipio = this.InfoEgr.alcaldia_municipo;\n this.Info[0].egresado = \"1\";\n this.flagPlaceCampus = true;\n this.Info[0].campus = this.InfoEgr.campus;\n\n this.aceptar_terminos = true;\n this.rotular_todos = true;\n console.log(this.Info[0]);\n sessionStorage.removeItem('pk_egresado');\n },\n err => {\n\n });\n } else {\n // console.log(\"no existe\");\n }\n\n\n }\n\n\n driveShow() {\n document.querySelector(\"#driver-popover-content > footer > span.driver-popover-progress-text\")\n const driverObj = driver({\n showProgress: true,\n nextBtnText: 'Siguiente', // Cambiar texto del botón 'Next'\n prevBtnText: 'Anterior', // Cambiar texto del botón 'Previous'\n doneBtnText: 'Listo', // Cambiar texto del botón 'Done'\n\n steps: [\n {\n element: '#correo_electronico',\n popover: {\n title: 'Nuevo flujo',\n description: 'Ahora te mostraremos cómo funciona la nueva forma de comprar en el sitio.',\n side: 'right',\n align: 'center'\n }\n },\n {\n element: '#correo_electronico',\n popover: {\n title: 'Correo electrónico',\n description: 'Ingresa tu correo para verificar si ya tienes alguna compra registrada con esa dirección.',\n side: 'top',\n align: 'center'\n }\n },\n {\n element: '#search-email-comp',\n popover: {\n title: 'Buscar correo',\n description: 'Haz clic para buscar el correo. Si existe alguna compra asociada, los datos se autocompletarán en el formulario. Si no, podrás continuar con la compra.',\n side: 'top',\n align: 'center'\n }\n },\n {\n popover: {\n title: '¡Eso es todo!',\n description: 'Recuerda leer todos los pasos con atención para evitar inconvenientes al realizar tu compra.'\n }\n }\n ],\n onNextClick: () => {\n localStorage.setItem('showTuto', 'true')\n // Implement your own functionality here\n driverObj.moveNext();\n },\n onCloseClick: () => {\n console.log('Close Button Clicked');\n localStorage.setItem('showTuto', 'true')\n // Implement your own functionality here\n driverObj.destroy();\n },\n });\n\n\n setTimeout(() => {\n driverObj.drive(); // Usar drive() en lugar de start()\n }, 100);\n\n }\n\n ngAfterViewInit() {\n tab = document.getElementById(\"tabla\");\n img = document.getElementById(\"Izq\");\n imge = document.getElementById(\"Der\");\n img.hidden = true;\n var tabc = document.getElementById(\"tab\");\n ////console.log(tabc.clientWidth);\n\n if (tab.clientWidth >= tabc.clientWidth) {\n imge.hidden = true;\n }\n nombre = document.getElementById(\"nombre\") as HTMLInputElement;\n campus = document.getElementById(\"campus\") as HTMLSelectElement;\n egresado = document.getElementById(\"egresado\") as HTMLInputElement;\n\n apellido_paterno = document.getElementById(\"apellido_paterno\") as HTMLInputElement;\n apellido_materno = document.getElementById(\"apellido_materno\") as HTMLInputElement;\n apellidos = document.getElementById(\"apellidos\") as HTMLInputElement;\n\n\n\n //\tthis.Bloqueanombre(nombre,apellido_paterno,apellido_materno);\n }\n\n private Anterior() {\n if (this.formDatosComprador.valid) {\n this.validaDatos[this.cont] = \"valido\";\n this.cont--;\n this.Info[0] = this.obtenerDatos[this.cont];\n this.getInfoCP(this.Info[0].codigo_postal);\n this.boletocheck = this.boletos[this.cont];\n //this.Bloqueanombre(nombre,apellido_paterno,apellido_materno);\n //VALIDAR BOLETOS\n this.boletoValida.folioBoleto = this.boletocheck.folio.toString();\n ////console.log(this.boletoValida);\n this._DCompradorService.validarBoletoPasaVoz(this.boletoValida).subscribe(a => {\n this.boletoVal = a;\n ////console.log(this.boletoVal);\n if (this.boletoVal.folioBoleto === \"-1\") {\n this.flagBolVal = false;\n } else {\n this.flagBolVal = true;\n }\n ////console.log(this.flagBolVal);\n ////console.log(this.IDColab);\n },\n err => {\n\n });\n\n //FIN VALIDAR BOLETO\n } else {\n this.valida = true;\n this.mensajeError = \"Favor de llenar todos los campos obligatorios\";\n }\n }\n\n\n private Siguiente() {\n\n // Lista de campos obligatorios a validar\n this.Info[0].pkcanal = 1;\n const camposAValidar = [\n \"correo_electronico\",\n \"correo_tarjetahabiente\",\n \"nombre\",\n \"apellido_paterno\",\n \"apellido_materno\",\n \"telefono_movil\",\n \"dia\",\n \"mes\",\n \"anio\",\n \"pais\",\n \"codigo_postal\",\n \"colonia\",\n \"municipio\",\n \"estado\",\n \"egresado\",\n \"pkcanal\"\n ];\n\n let formularioValido = true; // Bandera para determinar si todo el formulario es válido\n\n // 🔥 Validar cada campo en Info[0]\n camposAValidar.forEach((campo) => {\n const valor = this.Info[0]?.[campo];\n\n if (!valor || valor.toString().trim() === \"\") {\n this.formDatosComprador.get(campo)?.setErrors({ required: true }); // 🔴 Marcar como inválido si está vacío\n formularioValido = false;\n }\n });\n\n // 🔹 Forzar la validación en el formulario\n this.formDatosComprador.markAllAsTouched();\n this.formDatosComprador.updateValueAndValidity();\n\n // 🔴 Si el formulario es inválido, mostramos error y no avanzamos\n if (!formularioValido || !this.formDatosComprador.valid) {\n console.log(\"❌ Formulario inválido\");\n\n // Mostrar en consola qué campos son inválidos\n camposAValidar.forEach((campo) => {\n const control = this.formDatosComprador.get(campo);\n if (control && control.invalid) {\n console.log(`❌ Campo inválido: ${campo}`, control.errors);\n }\n });\n\n this.valida = true;\n this.mensajeError = \"Favor de llenar todos los campos obligatorios antes de continuar.\";\n return;\n }\n\n // Validar que los términos y condiciones hayan sido aceptados\n if (!this.aceptar_terminos) {\n this.mensajeError = \"Favor de aceptar los términos y condiciones\";\n $(\"input.ng-invalid, select.ng-invalid\").addClass(\"is-invalid\");\n return; // Detener ejecución si los términos no han sido aceptados\n }\n\n // Validar que el canal sea correcto\n if ((this.Info[this.cont].pkcanal == 14 || this.Info[this.cont].pkcanal == 15) && (this.Info[this.cont].especifica_canal === \"\" || this.especificaCanalInvalid)) {\n $(\"input#especifica_canal\").addClass('is-invalid');\n $(\"input#especifica_canal\").removeClass('is-valid');\n this.mensajeError = \"Favor de especificar el canal correctamente.\";\n return; // Detener ejecución si el canal no es válido\n }\n\n // Validar que el campus sea correcto\n if (this.flagCampus && !this.flagPlaceCampus) {\n this.mensajeError = \"Favor de seleccionar un campus válido.\";\n return; // Detener ejecución si el campus no es válido\n }\n\n // // Validar que todos los boletos hayan sido llenados\n // for (var i = 0; i < this.boletos.length; i++) {\n // if (this.validaDatos[i] != \"valido\") {\n // this.mensajeError = \"Favor de llenar todos los boletos\";\n // return; // Detener ejecución si algún boleto no ha sido llenado\n // }\n // }\n\n\n console.log(\"Lista completa de datos en boton siguiente:\", JSON.stringify(this.obtenerDatos, null, 10));\n\n this.AlmacenaDatos();\n\n this.formDatosComprador.get('codigo_postal')?.disable();\n\n Object.keys(this.formDatosComprador.controls).forEach((key) => {\n if (key !== 'correo_electronico') {\n this.formDatosComprador.get(key)?.disable(); // Deshabilitar todos excepto correo_electronico\n }\n });\n $(\"#codigo_postal\").addClass(\"enable-inp\");\n\n\n\n this.validaDatos[this.cont] = \"valido\";\n this.cont++;\n //this.infoDatosChanged();\n this.Info[0] = this.obtenerDatos[this.cont];\n this.Colonias = [];\n if (this.obtenerDatos[this.cont].codigo_postal.length > 3) {\n this.getInfoCP(this.Info[0].codigo_postal);\n }\n this.boletocheck = this.boletos[this.cont];\n //VALIDAR BOLETOS\n this.boletoValida.folioBoleto = this.boletocheck.folio.toString();\n ////console.log(this.boletoValida);\n this._DCompradorService.validarBoletoPasaVoz(this.boletoValida).subscribe(a => {\n this.boletoVal = a;\n // //console.log(this.boletoVal);\n if (this.boletoVal.folioBoleto === \"-1\") {\n this.flagBolVal = false;\n } else {\n this.flagBolVal = true;\n }\n ////console.log(this.flagBolVal);\n ////console.log(this.IDColab);\n },\n err => {\n\n });\n\n //FIN VALIDAR BOLETO\n\n }\n\n private ValidaPais() {\n\n if (this.Info[0].pais == \"484\") {\n\n this.ocultar_cp = true;\n this.Info[0].codigo_postal = \"\";\n this.formDatosComprador.controls[\"codigo_postal\"].enable();\n this.formDatosComprador.controls[\"municipio\"].disable();\n //this.formDatosComprador.controls[\"colonia\"].disable(); \n this.formDatosComprador.controls[\"estado\"].disable();\n if (this.Colonias.length == 0) {\n this.formDatosComprador.controls[\"colonia\"].disable();\n }\n if (this.Colonias.length > 0) {\n this.formDatosComprador.controls[\"colonia\"].enable();\n }\n } else {\n\n this.ocultar_cp = false;\n this.Info[0].codigo_postal = \"00000\";\n this.formDatosComprador.controls[\"colonia\"].enable();\n this.formDatosComprador.controls[\"municipio\"].enable();\n this.formDatosComprador.controls[\"estado\"].enable();\n\n }\n this.Info[0].pais = \"484\";\n ////console.log(this.Info[0])\n }\n\n\n public ValidaApellidos() {\n var ap1 = document.getElementById('apellido_paterno');\n var ap2 = document.getElementById('apellido_materno');\n var ap3 = document.getElementById('apellidos');\n ap3.value = ap1.value + \" \" + ap2.value;\n this.formDatosComprador.controls['apellidos'].setValue(ap3.value);\n }\n\n public ValidaCampus() {\n var camslct = document.getElementById('campusslct') as HTMLSelectElement;\n var caminp = document.getElementById('campus');\n caminp.value = camslct.value;\n this.flagPlaceCampus = true;\n //campus\n\n $('#campusslct').removeClass('inv');\n $('#campusslct').removeClass('is-invalid');\n $('#campusslct').addClass('is-valid');\n ////console.log( this.flagPlaceCampus);\n }\n\n public ValidaEgresado() {\n var cod = document.getElementById('egresadoslct') as HTMLSelectElement;\n var coe = document.getElementById('egresadoinput') as HTMLInputElement;\n var di = document.getElementById('campusdiv') as HTMLDivElement;\n if (cod.value == \"0\") {\n coe.value = \"0\";\n } else {\n\n coe.value = \"1\";\n }\n\n let combo = document.getElementById(\"egresadoslct\") as HTMLSelectElement;\n let selected = combo.options[combo.selectedIndex].text;\n\n if (selected === \"Si\") {\n this.flagCampus = true;\n } else {\n this.flagCampus = false;\n }\n\n\n ////console.log(this.flagCampus);\n }\n\n\n private AlmacenaDatos() {\n console.log(\"CONTADOR\");\n console.log(this.cont);\n\n let municipio = (document.getElementById('municipio')).value;\n let estado = (document.getElementById('estado')).value;\n\n // Crear una copia profunda de this.Info[0] antes de asignarla a this.obtenerDatos[this.cont]\n this.obtenerDatos[this.cont] = JSON.parse(JSON.stringify(this.Info[0]));\n\n // Asignar valores adicionales que pueden depender de otras fuentes\n this.obtenerDatos[this.cont].estado = estado;\n this.obtenerDatos[this.cont].municipio = municipio;\n\n if (this.Info[0].pkcanal == 14 || this.Info[0].pkcanal == 15) {\n this.obtenerDatos[this.cont].especifica_canal = this.Info[0].especifica_canal;\n } else {\n this.obtenerDatos[this.cont].especifica_canal = \"\";\n }\n\n if (!this.flagCampus) {\n this.obtenerDatos[this.cont].campus = \"\";\n } else {\n this.obtenerDatos[this.cont].campus = this.Info[0].campus;\n }\n\n console.log(\"OBTENER DATOS\");\n console.log(this.obtenerDatos);\n }\n\n\n getData(\n boletos_generados: Array,\n boletos_recomendados: Array\n ) {\n ////console.log(boletos_generados);\n ////console.log(boletos_recomendados);\n\n if (boletos_recomendados !== []) {\n for (var i = 0; i <= boletos_recomendados.length - 1; i++) {\n this.total_compra = this.total_compra + boletos_recomendados[i].costo;\n this.boletos.push(boletos_recomendados[i]);\n ///Autocomplete compradores boletos de la suerte\n if (this.boletos[i].compradorFront != null) {\n this.boletos[i].comprador = this.boletos[i].compradorFront;\n this.obtenerDatos[i].nombre = this.boletos[i].compradorFront.nombre;\n this.obtenerDatos[i].apellidos =\n this.boletos[i].compradorFront.apellidos;\n this.obtenerDatos[i].correo_electronico =\n this.boletos[i].compradorFront.correo_electronico;\n\n this.Info[i].nombre = this.boletos[i].compradorFront.nombre;\n this.Info[i].apellidos = this.boletos[i].compradorFront.apellidos;\n this.Info[i].correo_electronico =\n this.boletos[i].compradorFront.correo_electronico;\n\n\n this.Info[0].telefono_movil =\n this.boletos[i].compradorFront.telefono_movil;\n if (this.boletos[i].compradorFront.direccion != null) {\n this.Info[0].telefono_fijo =\n this.boletos[i].compradorFront.direccion.telefono;\n this.Info[0].calle = this.boletos[i].compradorFront.direccion.calle;\n if (this.boletos[i].compradorFront.direccion.codigo_postal != 0) {\n this.Info[0].codigo_postal =\n this.boletos[i].compradorFront.direccion.codigo_postal;\n this.getInfoCP(this.Info[0].codigo_postal);\n }\n if (!this.boletos[i].compradorFront.pais) {\n this.Info[0].codigo_postal =\n this.boletos[i].compradorFront.direccion.codigo_postal;\n }\n }\n }\n }\n }\n\n if (boletos_generados !== []) {\n for (var i = 0; i <= boletos_generados.length - 1; i++) {\n //this.total_compra = this.total_compra + boletos_generados[i].costo;\n this.boletos.push(boletos_generados[i]);\n }\n }\n }\n\n infoCPChanged() {\n this.Info[0].estado = \"\";\n this.Info[0].municipio = \"\";\n this.Info[0].colonia = \"\";\n\n if ($(\"input#codigo_postal\").val().length < 5) {\n this.Info[0].estado = \"\";\n this.Info[0].municipio = \"\";\n this.Info[0].colonia = \"\";\n $('#municipio').addClass('is-invalid');\n $('#municipio').removeClass('is-valid');\n $('#estado').addClass('is-invalid');\n $('#estado').removeClass('is-valid');\n this.flagCP = false;\n this.Colonias = [];\n } else {\n this.flagCP = true;\n }\n }\n\n infoDatosChanged() {\n this.Info[0].nombre = \"\";\n this.Info[0].apellidos = \"\";\n this.Info[0].telefono_fijo = \"\";\n this.Info[0].telefono_movil = \"\";\n this.Info[0].correo_electronico = \"\";\n this.Info[0].correo_alternativo = \"\";\n this.Info[0].correo_tarjetahabiente = \"\";\n this.Info[0].calle = \"\";\n this.Info[0].numero = \"\";\n this.Info[0].estado = \"\";\n this.Info[0].municipio = \"\";\n this.Info[0].colonia = \"\";\n this.Info[0].nombre = \"\";\n this.Info[0].codigo_postal = \"\";\n this.Info[0].campus = \"\";\n this.Info[0].egresado = \"\";\n this.Info[0].apellido_materno = \"\";\n this.Info[0].apellido_paterno = \"\";\n\n }\n\n getInfoCP(codigo_postal: string) {\n //console.log(\"Entra getInfoCP\");\n if (codigo_postal.length < 5) {\n ////console.log(codigo_postal);\n for (var i = codigo_postal.length; i < 5; i++) {\n this.Info[this.cont].codigo_postal =\n \"0\" + this.Info[this.cont].codigo_postal;\n ////console.log(codigo_postal.length);\n ////console.log(this.Info[this.cont].codigo_postal);\n }\n codigo_postal = this.Info[this.cont].codigo_postal;\n ////console.log(codigo_postal);\n }\n this._DCompradorService.getInfoCP(codigo_postal).subscribe(\n (res) => {\n ////console.log(\"200 COD POSTAL\");\n ////console.log(res);\n\n if (res.length == 0) {\n //Estado\n $('#estado').addClass('is-invalid');\n $('#estado').removeClass('is-valid');\n //Municipio\n $('#municipio').addClass('is-invalid');\n $('#municipio').removeClass('is-valid');\n this.typeAlert = \"error\";\n this.messageAlert =\n \"No se encontraron datos para el código postal proporcionado\";\n } else {\n this.messageAlert = \"\";\n //Estado\n $('#estado').removeClass('is-invalid');\n $('#estado').addClass('is-valid');\n //Municipio\n $('#municipio').removeClass('is-invalid');\n $('#municipio').addClass('is-valid');\n this.Colonias = [];\n this.Info[this.cont].colonia = \"\";\n var Datos = res;\n //console.dir(Datos);\n if (Datos.length == 1) {\n this.Info[0].colonia = Datos[0].colonia;\n } else {\n Datos.forEach(\n function (item) {\n this.Colonias.push({ colonia: item.colonia });\n }.bind(this)\n );\n this.typeAlert = \"success\";\n this.messageAlert = \"Favor seleccionar colonia.\";\n }\n\n this.Info[0].estado = Datos[0].estado;\n this.Info[0].municipio = Datos[0].municipio;\n\n //Toast.makeText(\"Estado y municipio cargado.\", \"short\").show();\n\n if (this.Info[0].pais != \"484\") {\n this.formDatosComprador.controls[\"colonia\"].enable();\n }\n\n if (this.Info[0].pais == \"484\" && this.Colonias.length > 0) {\n this.formDatosComprador.controls[\"colonia\"].enable();\n }\n if (this.Info[0].pais == \"484\" && this.Colonias.length == 0) {\n this.formDatosComprador.controls[\"colonia\"].disable();\n $('#colonia').addClass('is-valid');\n $('#colonia').removeClass('is-invalid');\n }\n }\n },\n (error) => {\n ////console.log(\"500 COD POSTAL\");\n ////console.log(error);\n this.typeAlert = \"error\";\n this.messageAlert =\n \"No se encontraron datos para el código postal proporcionado.\";\n }\n );\n\n\n }\n\n\n\n getInfoCPCompradorExistente(codigo_postal: string) {\n //console.log(\"Entra getInfoCP\");\n if (codigo_postal.length < 5) {\n ////console.log(codigo_postal);\n for (var i = codigo_postal.length; i < 5; i++) {\n this.Info[this.cont].codigo_postal =\n \"0\" + this.Info[this.cont].codigo_postal;\n ////console.log(codigo_postal.length);\n ////console.log(this.Info[this.cont].codigo_postal);\n }\n codigo_postal = this.Info[this.cont].codigo_postal;\n ////console.log(codigo_postal);\n }\n this._DCompradorService.getInfoCP(codigo_postal).subscribe(\n (res) => {\n ////console.log(\"200 COD POSTAL\");\n this.messageAlert = \"\";\n // //Estado\n // $('#estado').removeClass('is-invalid');\n // $('#estado').addClass('is-valid');\n // //Municipio\n // $('#municipio').removeClass('is-invalid');\n // $('#municipio').addClass('is-valid');\n\n var Datos = res;\n //console.dir(Datos);\n this.Info[0].estado = Datos[0].estado;\n this.Info[0].municipio = Datos[0].municipio;\n\n //Toast.makeText(\"Estado y municipio cargado.\", \"short\").show();\n\n if (this.Info[0].pais != \"484\") {\n this.formDatosComprador.controls[\"colonia\"].enable();\n }\n\n\n },\n (error) => {\n ////console.log(\"500 COD POSTAL\");\n ////console.log(error);\n this.typeAlert = \"error\";\n this.messageAlert =\n \"No se encontraron datos para el código postal proporcionado.\";\n }\n );\n\n\n }\n\n efectuarPago() {\n let flagPlcCampus = false;\n if (this.flagCampus == false) {\n flagPlcCampus = true;\n } else if (this.flagCampus && this.flagPlaceCampus) {\n flagPlcCampus = true;\n } else {\n flagPlcCampus = false;\n }\n\n let flagCanal = false;\n this.Info[0].pkcanal = 1;\n\n // if (this.Info[0].pkcanal == 14 || this.Info[0].pkcanal == 15) {\n // ////console.log( $(\"input#especifica_canal\").val());\n // if (($(\"input#especifica_canal\").val().length != 0) && !this.especificaCanalInvalid) {\n // flagCanal = true;\n // } else if ($(\"input#especifica_canal\").val() == \"\") {\n // $(\"input#especifica_canal\").addClass('is-invalid');\n // $(\"input#especifica_canal\").removeClass('is-valid');\n // flagCanal = false;\n // }\n // }\n\n // if (this.Info[0].pkcanal != 14 && this.Info[0].pkcanal != 15) {\n // flagCanal = true;\n // }\n\n ////console.log(flagCanal);\n\n // si aceptar es true\n ////console.log(this.obtenerDatos);\n if (this.aceptar_terminos && flagPlcCampus) {\n ////console.log(flagCanal);\n if (this.formDatosComprador.valid ) {\n this.mensajeError = \"\";\n ////console.log(\"entro\");\n ////////////////////Nuevo codigo////////////////\n // if(!this.rotular_todos){\n // \tif(this.cont< this.boletos.length-1){\n\n // \t\tthis.AlmacenaDatos();\n // \t\tthis.infoDatosChanged();\n // \t\treturn 0;\n // \t}\n // }\n\n //GUARDA LEAD\n this.RegistroDatosCampanias();\n this.AlmacenaDatos();\n console.log(\"DATOS FINALEEES\");\n console.log(JSON.stringify(this.obtenerDatos, null, 10));\n\n this.rotulaBoleto();\n\n for (var i = 0; i < this.boletos.length; i++) {\n if (this.validaDatos[i] != \"valido\") {\n this.mensajeError = \"Favor de llenar todos los boletos\";\n //this.cont--;\n ////console.log(this.validaDatos);\n return 0;\n }\n }\n\n ////////////////////nuevo codigo //////////////\n\n ////console.log('Boletos a pagar', this.boletos);\n\n /// Asigna Colaborador Voluntario\n\n if (!this.colaborador_voluntarioC) {\n if (this.selecciona_colaboradorC) {\n if (this.resultIDcolab != undefined) {\n this._local.setPKColab(this.resultIDcolab);\n if (this._local.getMecanismoColabExt() == null) {\n this._local.setMecanismoColabExt(\"VentaPorI\");\n }\n } else {\n if (this.resultIDcolab == null) {\n this._local.removePKColab();\n this._local.removeMecanismoColabExt();\n }\n }\n } else {\n if (this.IDColab) {\n this._local.setPKColab(\"null\");\n this._local.removePKColab();\n this._local.removeMecanismoColabExt();\n }\n }\n } else {\n if (this._local.getPKColab() != null) {\n this._local.setPKColab(this.resultIDcolab);\n if (this._local.getMecanismoColabExt() == null) {\n this._local.setMecanismoColabExt(\"VentaPorI\");\n }\n }\n }\n\n ////console.log(\"pk colab externo:\");\n ////console.log(this._local.getPKColab());\n ////console.log(\"mecanismo:\");\n ////console.log(this._local.getMecanismoColabExt());\n // if(info_bol.length > 0){\n this._local.setBoletosApartados(this.boletos);\n //\tthis._local.setBoletosApartados(info_bol);\n //console.log(this.boletos);\n //LLAMAR API PARA INSERTAR EL SIGUIMIENTO\n sessionStorage.setItem('paginaclick', '/datos-comprador');\n let respuesta: any;\n this._seguimiento.addSeguimiento(this.boletos).subscribe(a => {\n // console.log(a);\n respuesta = a;\n const pk_seguimiento = respuesta.pk1;\n //console.log(pk_seguimiento);\n sessionStorage.setItem('pk_seguimiento', pk_seguimiento);\n },\n err => {\n\n });\n this.router.navigate([\"forma-pago\"]);// descomentar\n // }else {\n // \tthis.mensajeError = \"Favor de seleccionar al menos un boleto\"\n // }\n } else {\n this.valida = true;\n this.mensajeError = \"Favor de llenar todos los campos obligatorios\";\n //LLAMAR MODAL ERROR INPUTS\n $(\"input.ng-invalid, select.ng-invalid\").addClass(\"is-invalid\");\n }\n } else {\n //LLAMAR MODAL ERROR INPUTS\n this.mensajeError = \"Favor de aceptar los términos y condiciones\";\n $(\"input.ng-invalid, select.ng-invalid\").addClass(\"is-invalid\");\n }\n }\n\n // -- Limpia Info --\n public limpiaInfo() {\n var cantboletos = 0;\n cantboletos = cantboletos + this.boletos_generados.length;\n cantboletos = cantboletos + this.boletos_recomendados.length;\n for (var i = 0; i < cantboletos; i++) {\n this.Info[i] = {\n pk1: 0,\n nombre: \"\",\n apellidos: \"\",\n apellido_materno: \"\",\n apellido_paterno: \"\",\n telefono_fijo: \"\",\n telefono_movil: \"\",\n correo_electronico: \"\",\n correo_alternativo: \"\",\n correo_tarjetahabiente: \"\",\n calle: \"\",\n numero: \"\",\n pais: \"\",\n codigo_postal: \"\",\n colonia: \"\",\n estado: \"\",\n municipio: \"\",\n campus: \"\",\n egresado: \"\",\n pkcanal: null,\n especifica_canal: \"\",\n dia: \"\",\n mes: \"\",\n anio: \"\",\n pk_comprador_existente: 0\n };\n this.obtenerDatos[i] = {\n pk1: 0,\n nombre: \"\",\n apellidos: \"\",\n apellido_paterno: \"\",\n apellido_materno: \"\",\n telefono_fijo: \"\",\n telefono_movil: \"\",\n correo_electronico: \"\",\n correo_alternativo: \"\",\n correo_tarjetahabiente: \"\",\n calle: \"\",\n numero: \"\",\n codigo_postal: \"\",\n pais: \"\",\n colonia: \"\",\n municipio: \"\",\n estado: \"\",\n campus: \"\",\n egresado: \"\",\n pkcanal: null,\n especifica_canal: \"\",\n dia: \"\",\n mes: \"\",\n anio: \"\",\n pk_comprador_existente: 0\n };\n this.validaDatos[i] = \"\";\n }\n }\n // -- Limpia Info --\n\n //// ------------ POPUP------------\n /*\n PopupAmigable(popC) {\n var PopAct = document.getElementById(\"popupamigable\");\n if (popC == 0) {\n setTimeout(() => {\n document.addEventListener(\"mouseout\", (event) => {\n if (event.relatedTarget === null && popC == 0) {\n PopAct.hidden = false;\n popC = 2;\n this._session.setPopstate(popC);\n }\n });\n }, 5);\n } else {\n PopAct.hidden = true;\n }\n }*/\n //// ------------ POPUP------------\n\n scroll(mov) {\n if (mov == 1) {\n tab.scrollLeft -= 20;\n } else {\n tab.scrollLeft += 20;\n }\n this.hidscroll();\n }\n hidscroll() {\n var max = tab.scrollWidth - tab.clientWidth;\n if (tab.scrollLeft == 0) {\n img.hidden = true;\n } else {\n img.hidden = false;\n }\n if (tab.scrollLeft == max) {\n imge.hidden = true;\n } else {\n imge.hidden = false;\n }\n }\n\n rotulaBoleto() {\n if (this.rotular_todos) {\n for (var i = 0; i < this.boletos.length; i++) {\n this.boletos[i].comprador = this.obtenerDatos[0];\n this.validaDatos[i] = \"valido\";\n }\n } else {\n for (var i = 0; i < this.boletos.length; i++) {\n this.boletos[i].comprador = this.obtenerDatos[i];\n }\n this.validaDatos[this.cont] = \"valido\";\n }\n }\n\n public onLoaded(contador) {\n ////console.log(\"---Contador---\");\n ////console.log(contador);\n }\n\n private CambiaBoletoCheck(index) {\n if (this.formDatosComprador.valid) {\n this.AlmacenaDatos();\n this.validaDatos[this.cont] = \"valido\";\n this.cont = index;\n this.Info[0] = this.obtenerDatos[this.cont];\n this.Colonias = [];\n if (this.obtenerDatos[this.cont].codigo_postal.length > 3) {\n this.getInfoCP(this.Info[0].codigo_postal);\n }\n this.boletocheck = this.boletos[this.cont];\n } else {\n this.valida = true;\n this.mensajeError = \"Favor de llenar todos los campos obligatorios\";\n }\n }\n\n private AutocompleteColab() {\n this._DCompradorService\n .getInfoColab(this._session.getColab())\n .subscribe((res) => {\n ////console.log(res);\n this.Info[0].nombre = res.nombre;\n this.Info[0].apellidos = res.apellidos;\n this.Info[0].apellido_materno = res.apellido_materno;\n this.Info[0].apellido_paterno = res.apellido_paterno;\n this.Info[0].telefono_movil = res.telefono_movil;\n this.Info[0].correo_electronico = res.correo_electronico;\n this.Info[0].correo_alternativo = res.correo_alternativo;\n this.Info[0].correo_tarjetahabiente = res.correo_tarjetahabiente;\n this.Info[0].telefono_fijo = res.direccion.telefono;\n this.Info[0].calle = res.direccion.calle;\n this.Info[0].numero = res.direccion.numero;\n this.Info[0].codigo_postal = res.direccion.codigo_postal;\n this.getInfoCP(this.Info[0].codigo_postal);\n this.Info[0].colonia = res.direccion.colonia;\n this.Info[0].campus = res.campus;\n this.Info[0].egresado = res.egresado;\n });\n }\n\n // private Bloqueanombre(nombre,apellido_paterno,apellido_materno){\n\n // \tif(this.boletos[this.cont].compradorFront != null){\n // \t\tnombre.disabled = true;\n // \t\tapellido_paterno.disabled = true;\n\n // \t\tif(this.boletos[this.cont].compradorFront.apellido_materno != null){\n // \t\t\tapellido_materno.disabled = true;\n // \t\t}\n\n // \t}else{\n // \t\tnombre.disabled = false;\n // \t\tapellido_paterno.disabled = false;\n // \t\tapellido_materno.disabled = false;\n // \t}\n\n // }\n\n private validaColaborador() {\n ////console.log(this.IDColab);\n var Datos = {\n Nombre: null,\n IDColaborador: this.IDColab, //IDColab\n };\n this.myGetService\n .postData(Datos, \"api/Colaborador/Externos/GetNombre\")\n .subscribe((res) => {\n ////console.log(res);\n var result = res.json();\n this.nombreColab = result.Nombre;\n this.resultIDcolab = result.IDColaborador;\n this.colaborador_voluntarioC = true;\n });\n }\n\n private GetNombreColab() {\n if (this.intentosColab > 0) {\n if (this.correocolaborador != null) {\n var Datos = {\n Nombre: this.correocolaborador, //Correo Colab\n IDColaborador: null,\n };\n this.intentosColab--;\n this.myGetService\n .postData(Datos, \"api/Colaborador/Externos/GetNombre\")\n .subscribe(\n (res) => {\n ////console.log(res);\n var result = res.json();\n this.nombreColab2 = result.Nombre;\n this.resultIDcolab = result.IDColaborador;\n this.messageAlert1 =\n \"Si no es la persona correcta, por favor, verifica el e-mail.\";\n if (this.intentosColab == 0) {\n var input = document.getElementById(\n \"inp_colab\"\n ) as HTMLInputElement;\n input.readOnly = true;\n }\n },\n (err) => {\n if (this.intentosColab > 0) {\n this.nombreColab2 = \"Colaborador voluntario no encontrado\";\n this.messageAlert1 =\n \"Por favor, verifique el e-mail. Cuenta con \" +\n this.intentosColab +\n \" intentos más de busqueda, después será bloqueada.\";\n ////console.log(this.resultIDcolab);\n this.nombreColab2 = null;\n this.resultIDcolab = null;\n }\n if (this.intentosColab == 0) {\n this.messageAlert1 =\n \"Has llegado al limite de 3 intentos. Ponten en contacto con nosotros al correo: \" +\n environment.correo_pasalavoz;\n var input = document.getElementById(\n \"inp_colab\"\n ) as HTMLInputElement;\n input.readOnly = true;\n //this.selecciona_colaboradorC = false;\n var cbox = document.getElementById(\n \"checkbox_seleccionaC\"\n ) as HTMLInputElement;\n //cbox.checked = false;\n //cbox.readOnly = true;\n this.nombreColab2 = null;\n this.resultIDcolab = null;\n ////console.log(this.resultIDcolab);\n }\n }\n );\n }\n }\n }\n\n //change select\n onChange(deviceValue) {\n this.flagSelect = true;\n }\n\n validaCanal(event: any) {\n const inputElement = event.target;\n const pattern = /^[a-zA-ZáéíóúÁÉÍÓÚ0-9\\s\\-\\/\\.]+$/;\n\n if (inputElement.value.length !== 0 && pattern.test(inputElement.value)) {\n inputElement.classList.add('is-valid');\n inputElement.classList.remove('is-invalid');\n this.especificaCanalInvalid = false;\n this.Info[0].especifica_canal = inputElement.value;\n } else {\n inputElement.classList.add('is-invalid');\n inputElement.classList.remove('is-valid');\n this.especificaCanalInvalid = true;\n }\n }\n validaDir() {\n //console.log(\"entre\");\n //console.log( this.Info[0]);\n\n this.Info[0].colonia = null;\n $('#colonia').val(\"\");\n if ($('#colonia').hasClass('is-valid')) { $('#colonia').removeClass('is-valid'); }\n //console.log(\"colonia \" + this.Info[0].colonia);\n\n this.Info[0].municipio = null;\n $('#municipio').val(\"\");\n if ($('#municipio').hasClass('is-valid')) { $('#municipio').removeClass('is-valid'); }\n //console.log(\"municipio \" + this.Info[0].municipio);\n\n this.Info[0].estado = null;\n $('#estado').val(\"\");\n if ($('#estado').hasClass('is-valid')) { $('#estado').removeClass('is-valid'); }\n //console.log(\"estado \" + this.Info[0].municipio);\n\n }\n\n validaInfo() {\n // this.isSearching = true;\n // const correo = this.formDatosComprador.get('correo_electronico')?.value;\n\n // this._DCompradorService.GetEmail(correo).subscribe(\n // (result) => {\n // this.flagBuyer = true;\n // this.isSearching = false;\n\n // if (this.flagBuyer) {\n // alert(\"Este correo ya ha comprado un boleto antes, favor de verificar en el primer input llamado nombre, seleccionar icono buscar\");\n // return;\n // }\n\n if (\n $('#colonia').hasClass(\"is-invalid\") || $('#colonia').val() == \"\" ||\n $('#municipio').hasClass(\"is-invalid\") || $('#colonia').val() == \"\" ||\n $('#estado').hasClass(\"is-invalid\") || $('#estado').val() == \"\"\n ) {\n alert(\"Favor de completar datos\");\n } else {\n this.efectuarPago();\n }\n // },\n // (error) => {\n // console.error('Error:', error);\n // this.isSearching = false;\n // }\n // );\n }\n\n\n //// ------------ POPUP------------\n /* VALIDAR BOLETOS */\n validaBoletoVxI() {\n //console.log( \"validaBoleto\");1\n let boletoTem = this.boletos.map(b => b.folio).join(',');\n //console.log(boletoTem);\n let spliData = boletoTem.split(\",\");\n\n //console.log(spliData);\n for (let i = 0; i < spliData.length; i++) {\n let boletoValida: BoletoValidar = new BoletoValidar();\n boletoValida.folioBoleto = spliData[i];\n //console.log(boletoValida);\n this._DCompradorService.validarBoletoPasaVoz(boletoValida).subscribe(a => {\n //console.log(a);\n let boletoTem: any = a;\n //console.log(boletoTem.folioBoleto);\n if (boletoTem.folioBoleto === \"-1\") {\n //console.log(\"aqui entre\");\n this.flagVentaXInt = false;\n localStorage.setItem(\"leads\", 'false');\n } else {\n this.flagVentaXInt = true;\n localStorage.setItem(\"leads\", 'true');\n }\n });\n }\n\n //console.log( localStorage.getItem(\"leads\"));\n }\n /** CAMBIOS LUIS AGUILAR WECODE */\n //Funcion para revisar si se registraron datos de redirecciones por campaña en la página principal\n private ChecaCampania() {\n //console.log(\"campnia\");\n this.validaBoletoVxI();\n setTimeout(() => {\n let campaingData = this._local.getCampaingnData();\n if (campaingData && campaingData['pk']) {//ya se registro el correo, solo se actualizan los boletos\n campaingData['boletos_seleccionados'] = this.boletos.map(b => b.folio).join(',');\n //comprobar que los boletos sean solo venta por internet\n\n /* */\n if (this.flagVentaXInt) {\n\n this.myGetService.postData(campaingData, 'api/Leads/ModificaLeads')\n .subscribe((res) => {\n console.log(res);\n console.log('Info Registro de campaña', campaingData);\n this._local.setCampaingnData(campaingData);\n });\n }\n\n\n } else {//no han registrado el correo mostrar el popup\n //console.log(this.flagVentaXInt);\n if (campaingData && this.flagVentaXInt) {//Revisar si hay datos de campaña\n //console.log(\"else entro\");\n\n //this.formDatosCompradorCampania = this.fb.group({\n //correo: [ '', Validators.compose([ Validators.required, Validators.pattern( /^[!#$%&'*+-=?^_`{|}~a-z0-9-]+(\\.[!#$%&'*+-=?^_`{|}~a-z0-9]+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,4})$/),]),],\n //});\n /* abrit modal modalCompania */\n //var element = document.getElementById(\"modalCompania\");\n //element.classList.add(\"show\");\n //element.classList.add(\"shwModalCompania\");\n this.ShowPopCampania = true;\n localStorage.setItem(\"ShowPopCampania2\", 'true');\n }\n }\n }, 300);\n\n }\n\n RegistroDatosCampanias() {\n this.validaBoletoVxI();\n setTimeout(() => {\n\n if (this.flagVentaXInt) {\n let campaingData = this._local.getCampaingnData();\n\n let registro: Object = Object.assign({}, '', {\n utm_source: campaingData.utm_source ? campaingData.utm_source : \"N/A\",\n utm_medium: campaingData.utm_medium ? campaingData.utm_medium : \"N/A\",\n utm_campaign: campaingData.utm_campaign ? campaingData.utm_campaign : \"N/A\",\n utm_term: campaingData.utm_term ? campaingData.utm_term : \"N/A\",\n utm_content: campaingData.utm_content ? campaingData.utm_content : \"N/A\",\n site_source_name: campaingData.site_source_name ? campaingData.site_source_name : \"N/A\",\n placement: campaingData.placement ? campaingData.placement : \"N/A\",\n boletos_seleccionados: this.boletos.map(b => b.folio).join(','),\n tipo_comprador: 'Externo',\n sorteo: 10,\n anio: new Date().getFullYear(),\n correo: this.Info[0].correo_electronico\n });\n //console\n //console.log('RegistroDatosCampanias registro', registro);\n this.myGetService.postData(registro, 'api/Leads/RegistroLeads')\n .subscribe((res) => {\n //console.log(res);\n let bodyData = JSON.parse(res['_body']);\n registro['pk'] = Number(bodyData['pkCreado']);\n //console.log('Info Registro de campaña', registro);\n /* cerrar modal */\n // var element = document.getElementById(\"modalCompania\");\n // element.classList.remove(\"show\");\n // element.classList.remove(\"shwModalCompania\");\n this._local.setCampaingnData(registro);\n });\n this.ShowPopCampania = false;\n }\n }, 300);\n }\n\n ClosePopCampanias() {\n /*let registro: Object = Object.assign({}, this.InfoCompradorCampania, {\n utm_campaign: this.campaingData.utm_campaign,\n utm_content: this.campaingData.utm_content,\n utm_placement: this.campaingData.utm_placement,\n campaign_name: this.campaingData.campaign_name,\n site_source_name: this.campaingData.site_source_name,\n placement: this.campaingData.placement,\n completo: false,\n });\n //console.log('Info Registro de campaña incompleta', registro);\n localStorage.setItem('campaingData', JSON.stringify(registro));*/\n this._local.deleteCampaingnData();\n this.ShowPopCampania = false;\n localStorage.setItem(\"ShowPopCampania2\", 'false');\n }\n\n /** END CAMBIOS LUIS AGUILAR WECODE */\n\n\n\n //get email\n searchEmail(): void {\n console.log(\"Lista completa de datos:\", JSON.stringify(this.obtenerDatos, null, 10));\n const correo = this.formDatosComprador.get('correo_electronico')?.value;\n this.listaCompradores = [];\n\n console.log(correo);\n\n\n this.flagBuyer = false;\n\n // Si el control no es válido, puedes abortar la búsqueda\n if (this.formDatosComprador.get('correo_electronico')?.invalid) {\n return;\n }\n\n //validar si el siguiente se encuentra en el array de obtener datos\n console.log(\"contador----\" + this.cont);\n console.log(\"obtener dos----\");\n\n\n\n const correoLimpio = correo ? correo.trim().toLowerCase() : \"\"; // Asegurar que no sea null\n\n console.log(\"Buscando correo:\", correoLimpio);\n console.log(\"Lista completa de correos:\", this.obtenerDatos.map(item => item.correo_electronico));\n\n const index = this.obtenerDatos.slice(0, this.cont).findIndex((item, i) => {\n if (!item.correo_electronico) {\n console.log(`Elemento ${i} sin correo:`, item);\n return false;\n }\n\n const correoItem = item.correo_electronico.trim().toLowerCase();\n console.log(`Comparando en índice ${i}: ${correoItem} === ${correoLimpio}`);\n return correoItem === correoLimpio;\n });\n\n\n console.log(\"Índice encontrado:\", index);\n\n if (index >= 0) {\n console.log(\"Correo ya existente en el índice:\", index, this.obtenerDatos[index].correo_electronico);\n alert(\"Este correo ya está siendo utilizado, favor de usar otro\");\n return;\n }\n\n\n this.isSearching = true;\n // Deshabilitamos el input marcando que se está buscando\n\n //deesbloquear aquellos que puedem ser editados\n this.formDatosComprador.controls['correo_tarjetahabiente'].enable();\n this.formDatosComprador.controls['telefono_movil'].enable();\n this.formDatosComprador.controls['pais'].enable();\n this.formDatosComprador.controls['codigo_postal'].enable();\n\n this.formDatosComprador.controls['egresado'].enable();\n // this.formDatosComprador.controls['pkcanal1'].enable();\n this.formDatosComprador.controls['campus'].enable();\n\n $(\"#codigo_postal\").removeClass(\"enable-inp\");\n\n //setTimeout(() => {\n\n\n this._DCompradorService.GetEmail(correo).subscribe(\n (res: any) => {\n console.log(res.data);\n\n // this.formDatosComprador.controls['dia'].enable();\n\n if (!res || !res.data) {\n\n console.error(\"Error: La respuesta no contiene 'data'.\", res);\n this.isSearching = false;\n return;\n }\n\n this.listaCompradores = res.data;\n console.log(\"---------------AQUIIIII------------\");\n console.log(this.listaCompradores);\n\n $('#modalCompradores').modal('show');\n ($('#modalCompradores')).modal({\n backdrop: 'static',\n keyboard: false\n });\n \n // setTimeout(() => {\n\n\n this.flagBuyer = true;\n this.isSearching = false;\n // }, 100);\n\n console.log(this.Info[0]);\n },\n (error) => {\n this.Info[0] =\n {\n pk1: 0,\n nombre: \"\",\n apellidos: \"\",\n apellido_materno: \"\",\n apellido_paterno: \"\",\n telefono_fijo: \"\",\n telefono_movil: \"\",\n correo_electronico: this.Info[0].correo_electronico,\n correo_alternativo: \"\",\n correo_tarjetahabiente: \"\",\n calle: \"\",\n numero: \"\",\n pais: \"\",\n codigo_postal: \"\",\n colonia: \"\",\n estado: \"\",\n municipio: \"\",\n campus: \"\",\n egresado: \"\",\n pkcanal: null,\n especifica_canal: \"\",\n dia: \"\",\n mes: \"\",\n anio: \"\",\n pk_comprador_existente: 0\n };\n\n this.formDatosComprador.controls['dia'].enable();\n this.formDatosComprador.controls['mes'].enable();\n this.formDatosComprador.controls['anio'].enable();\n\n this.formDatosComprador.controls['nombre'].enable();\n this.formDatosComprador.controls['apellido_paterno'].enable();\n this.formDatosComprador.controls['apellido_materno'].enable();\n\n console.error('Error:', error);\n this.isSearching = false;\n }\n );\n\n\n\n }\n\n\n seleccionarComprador(index: number) {\n this.compradorSeleccionadoIndex = index;\n }\n\n confirmarSeleccion() {\n if (this.compradorSeleccionadoIndex === null) {\n alert(\"Por favor selecciona un comprador.\");\n return;\n }\n\n const data2 = this.listaCompradores[this.compradorSeleccionadoIndex];\n\n\n this.formDatosComprador.controls['nombre'].disable();\n this.formDatosComprador.controls['apellido_paterno'].disable();\n this.formDatosComprador.controls['apellido_materno'].disable();\n \n\n //deshabilitar correo y colocar boton cambiar\n this.formDatosComprador.controls['correo_electronico'].disable();\n this.cambiarBoton = true;\n\n\n this.Info[0].nombre = data2.NOMBRE || \"\";\n this.Info[0].apellidos = data2.APELLIDOS || \"\";\n\n const apellidos = data2.APELLIDOS?.trim() || \"\";\n const apellidosArray = apellidos.split(\" \").filter(apellido => apellido.trim() !== \"\");\n\n this.Info[0].apellido_paterno = apellidosArray.length > 0 ? apellidosArray[0] : \"\";\n this.Info[0].apellido_materno = apellidosArray.length > 1 ? apellidosArray.slice(1).join(\" \") : \"\";\n\n this.Info[0].telefono_movil = data2.TELEFONO_M || \"\";\n this.Info[0].correo_electronico = data2.CORREO || \"\";\n this.Info[0].correo_tarjetahabiente = data2.CORREO_TARJETAHABIENTE || \"\";\n this.Info[0].telefono_fijo = data2.TELEFONO_F || \"\";\n this.Info[0].calle = data2.CALLE || \"\";\n this.Info[0].numero = data2.NUMERO || \"\";\n\n setTimeout(() => {\n this.Info[0].colonia = data2.COLONIA || \"\";\n this.Info[0].municipio = data2.MUNDEL || \"\";\n this.Info[0].estado = data2.ESTADO || \"\";\n }, 0);\n\n this.cdr.detectChanges();\n this.Info[0].codigo_postal = data2.CP || \"\";\n this.Info[0].campus = data2.CAMPUS !== \"NULL\" ? data2.CAMPUS : \"\";\n this.Info[0].egresado = data2.EGRESADO;\n this.Info[0].pk_comprador_existente = data2.PK1 || 0;\n\n // Manejo de fecha de nacimiento\n if (!data2.fechaNacimiento || typeof data2.fechaNacimiento !== 'string' || isNaN(Date.parse(data2.fechaNacimiento))) {\n this.formDatosComprador.controls['dia'].enable();\n this.formDatosComprador.controls['mes'].enable();\n this.formDatosComprador.controls['anio'].enable();\n } else {\n const fecha = new Date(data2.fechaNacimiento);\n\n this.formDatosComprador.controls['dia'].enable();\n this.formDatosComprador.controls['mes'].enable();\n this.formDatosComprador.controls['anio'].enable();\n\n if (!isNaN(fecha.getTime())) {\n // Verificamos que this.Info[0] exista y tenga datos antes de asignar valores\n if (this.Info[0]) {\n this.Info[0].dia = this.Info[0].dia || fecha.getDate().toString();\n this.Info[0].mes = this.Info[0].mes || (fecha.getMonth() + 1).toString();\n this.Info[0].anio = this.Info[0].anio || fecha.getFullYear().toString();\n }\n }\n }\n\n $('#modalCompradores').modal('hide');\n console.log(\"Comprador seleccionado:\", this.Info[0]);\n }\n\n // Función para formatear fecha en DD/MM/YYYY\n formatFecha(fecha: string): string {\n if (!fecha || fecha.trim() === '' || isNaN(Date.parse(fecha))) {\n return 'No tiene fecha';\n }\n const date = new Date(fecha);\n return date.toLocaleDateString('es-MX', { day: '2-digit', month: '2-digit', year: 'numeric' });\n }\n\n changeEmail() {\n this.cambiarBoton = false;\n this.Info[0] =\n {\n pk1: 0,\n nombre: \"\",\n apellidos: \"\",\n apellido_materno: \"\",\n apellido_paterno: \"\",\n telefono_fijo: \"\",\n telefono_movil: \"\",\n correo_electronico: \"\",\n correo_alternativo: \"\",\n correo_tarjetahabiente: \"\",\n calle: \"\",\n numero: \"\",\n pais: \"\",\n codigo_postal: \"\",\n colonia: \"\",\n estado: \"\",\n municipio: \"\",\n campus: \"\",\n egresado: \"\",\n pkcanal: null,\n especifica_canal: \"\",\n dia: \"\",\n mes: \"\",\n anio: \"\",\n pk_comprador_existente: 0\n };\n\n Object.keys(this.formDatosComprador.controls).forEach(campo => {\n this.formDatosComprador.controls[campo].disable();\n });\n\n this.formDatosComprador.controls['correo_electronico'].enable();\n \n\n }\n\n\n}\n","
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n

    \r\n Datos del\r\n \r\n comprador\r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n\r\n \r\n \r\n {{\r\n st.minutesDisplay && st.minutesDisplay <= 59\r\n ? st.minutesDisplay\r\n : \"00\"\r\n }}\r\n :\r\n {{\r\n st.secondsDisplay && st.secondsDisplay <= 59\r\n ? st.secondsDisplay < 10\r\n ? \"0\" + st.secondsDisplay\r\n : st.secondsDisplay\r\n : \"00\"\r\n }}\r\n \r\n
    \r\n
    \r\n\r\n
    \r\n

    Recuerda

    \r\n
      \r\n
    • \r\n

      \r\n Que el nombre que proporciones debe coincidir exactamente con\r\n una identificación oficial (INE,pasaporte,etc.)\r\n

      \r\n
    • \r\n
    • \r\n

      \r\n Si el correo electrónico ya fue usado para una compra, no podras modificar el nombre del comprador.\r\n

      \r\n
    • \r\n\r\n
    \r\n\r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n
    \r\n Primero coloca tu correo electrónico y da en el icono buscar.\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n Buscar\r\n \r\n\r\n \r\n Cambiar\r\n \r\n
    \r\n
    \r\n
    \r\n Loading...\r\n
    \r\n

    Validando

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

    Formato incorrecto

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

    Formato incorrecto

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

    Formato incorrecto

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

    Formato incorrecto

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

    Formato incorrecto

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

    Formato incorrecto

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

    Por favor selecciona una fecha válida

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

    Formato incorrecto

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

    {{ messageAlert }}

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

    Seleccionar colonia

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

    Dato faltante

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

    Dato faltante

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

    Selecciona una opción

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

    Selecciona Campus

    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n\r\n\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n Este campo solo debe contener letras, números, espacios, acentos, guiones, barras y puntos.\r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n\r\n\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    1\">\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    1 && rotular_todos == false\">\r\n \r\n \r\n
    \r\n \r\n \r\n\r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n\r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n
    \r\n \r\n

    {{ mensajeError }}

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

    \r\n El boleto que compres se te proporcionará vía correo electrónico.\r\n

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

    *Datos obligatorios

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Lista de Compradores
    \r\n
    \r\n
    \r\n
    0; else noCompradores\">\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    Seleccionar#NombreApellidosCorreo
    \r\n \r\n {{ i + 1 }}{{ comprador.NOMBRE }}{{ comprador.APELLIDOS }}{{ comprador.CORREO }}
    \r\n
    \r\n
    \r\n \r\n

    No hay compradores disponibles.

    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { HttpService } from '../../services/http.service';\r\nimport { Pais } from 'src/app/models/Pais';\r\nimport { Campus } from 'src/app/models/Campus';\r\nimport { BoletoValidar } from 'src/app/models/BoletoValidar';\r\nimport { Canales } from 'src/app/models/canales';\r\n\r\n@Injectable()\r\nexport class DatosCompradorService extends HttpService {\r\n \r\n constructor(public _http:HttpClient) {\r\n super(_http)\r\n }\r\n \r\n // Uses http.get() to load data from a single API endpoint\r\n getInfoCP(codigo_postal: string) {\r\n const url = `${this.apiURL}/api/BoletosWeb/Buscar/${codigo_postal}`;\r\n return this.get(url);\r\n }\r\n\r\n getInfopais() : Observable {\r\n const url = `${this.apiURL}/api/Catalogo/Pais`;\r\n return this.get(url).pipe();\r\n }\r\n\r\n getCanales() {\r\n return this._http.get(`${this.apiURL}/api/Colaborador/ObtenerCanales`);\r\n }\r\n\r\n getInfocampus() : Observable {\r\n const url = `${this.apiURL}/api/Catalogo/Campus`;\r\n return this.get(url).pipe();\r\n }\r\n\r\n getInfoColab(colab: string) {\r\n const url = `${this.apiURL}api/BoletosWeb/GetColab/${colab}`;\r\n return this.get(url);\r\n }\r\n gett(api: string) {\r\n const url = `${this.apiURL}${api}`;\r\n return this.get(url);\r\n }\r\n //VALIDAR BOLETOS\r\n validarBoletoPasaVoz( boletoValida: BoletoValidar) {\r\n //console.log(boletoValida);\r\n return this._http.post( `${this.apiURL}api/PasaLaVoz/validarBoletoPasaLaVoz`, boletoValida); \r\n //return this._http.post( `http://localhost:2393/api/PasaLaVoz/validarBoletoPasaLaVoz`, boletoValida);\r\n }\r\n \r\n /*MODIFICAR LEADS*/\r\n modificaLeads( lead: any) {\r\n //console.log(this.apiURL);\r\n //console.log(lead);\r\n return this._http.post( `${this.apiURL}api/Leads/ModificaLeads`, lead); \r\n }\r\n\r\n insertarIdPaypal(data: any){\r\n return this._http.post( `${this.apiURL}api/Leads/ModificaLeads`,data ); \r\n }\r\n\r\n GetDataEgresado(pk_egresado: number){\r\n return this._http.get( `${this.apiURL}api/Egresado/ObtieneEgresado?num=`+pk_egresado ); \r\n }\r\n\r\n GetEmail(email: string) {\r\n return this._http.get(`${this.apiURL}api/Comprador/ObtenerCompradorCorreo?correo=`+email ); \r\n }\r\n \r\n}","import { Location } from '@angular/common';\nimport { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Observable } from 'rxjs-compat';\nimport { DatosCompradorService } from '../datos-comprador/services/datos-comprador.service';\nimport { Boleto } from '../models/Boleto';\nimport { Pais } from '../models/Pais';\nimport { ScriptParams, Scripts } from '../models/ScriptParams';\nimport { SeleccionMultipleBoleto } from '../models/SeleccionMultipleBoleto';\nimport { HttpService } from '../services/http.service';\nimport { MyHttpGetService } from '../services/http.services.token';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { ScriptService } from '../services/script.service';\nimport { SessionstorageService } from '../services/sessionstorage.service';\nimport * as $ from 'jquery';\n\n@Component({\n selector: 'app-error-pago',\n templateUrl: './error-pago.component.html',\n styleUrls: ['./error-pago.component.scss']\n})\nexport class ErrorPagoComponent implements OnInit {\n public compradores_tag: any[];\n public tipos_pago: number = 1;\n public tipo_asignado: number;\n public boletos_generados: Array = [];\n public boletos_recomendados: Array = [];\n public boletos_asignados: Array = [];\n public boletos: Array = [];\n public boletos_bloqueados: { boletos: Array; fecha: string; orden: string; carrito } = {\n boletos: [],\n fecha: '',\n orden: '',\n carrito: '',\n };\n public total_compra: number = 0;\n public comprador: any;\n check: any;\n c: any;\n public request: {\n nbResponse: string;\n cdResponse: string;\n idLiga: string;\n referencia: string;\n importe: string;\n no_tarjeta: string;\n nombre: string;\n tipo_tarjeta: string;\n email: string;\n nuAuth: string;\n error: string;\n } = {\n nbResponse: '',\n cdResponse: '',\n idLiga: '',\n referencia: '',\n importe: '',\n no_tarjeta: '',\n nombre: '',\n tipo_tarjeta: '',\n email: '',\n nuAuth: '',\n error: '',\n };\n public datos_compra: { response: string; folio: string; amount: string; objeto: string } = {\n response: '',\n folio: '',\n amount: '',\n objeto: '',\n };\n public colab: SeleccionMultipleBoleto = { numero: '', mecanismo: '', pkcolab: '' };\n public orden_banamex: any;\n public reqBanamex: { resultIndicator: string; sessionVersion: string };\n //public datos: { folio: string, nombre_cliente: string,\tmonto: string, mensaje : string}\n private params: ScriptParams[] = [];\n private scriptsobj: Scripts[] = [];\n public Paybackref: string;\n public logGtag: { response: string; folio: string; amount: string; objeto: string } = {\n response: '',\n folio: '',\n amount: '',\n objeto: '',\n };\n\n public listPaises : any[];\n constructor(\n private _http: HttpService,\n private myGetService: MyHttpGetService,\n private _local: LocalstorageService,\n private router: Router,\n private route: ActivatedRoute,\n private _session: SessionstorageService,\n private location: Location,\n private scripts: ScriptService,\n ) {\n var lsGenerados = this._local.getBoletosGenerados();\n var lsRecomendados = this._local.getBoletosRecomendados();\n var lsAsignados = this._local.getBoletosAsignados();\n var lsApartados = this._local.getBoletosApartados();\n var lsCarrito = this._local.getCarrito();\n this.boletos_generados = lsGenerados == null ? [] : JSON.parse(lsGenerados);\n this.boletos_recomendados = lsRecomendados == null ? [] : JSON.parse(lsRecomendados);\n this.boletos_asignados = lsAsignados == null ? [] : JSON.parse(lsAsignados);\n this.boletos_bloqueados.boletos = lsApartados == null ? [] : JSON.parse(lsApartados);\n this.boletos_bloqueados.orden = this._local.getFolio();\n this.boletos_bloqueados.carrito = lsCarrito;\n this.route.queryParams.subscribe((params) => {\n this.request = {\n nbResponse: params.nbResponse,\n cdResponse: params.cdResponse,\n idLiga: params.idLiga,\n referencia: params.referencia,\n importe: params.importe,\n nombre: '',\n tipo_tarjeta: '',\n no_tarjeta: '',\n error: params.nb_error,\n email: params.email,\n nuAuth: params.nuAuth,\n };\n\n this.datos_compra = {\n response: params.nbResponse,\n folio: params.referencia,\n amount: params.importe,\n objeto: this.router.url,\n };\n this.reqBanamex = {\n resultIndicator: params.resultIndicator,\n sessionVersion: params.sessionVersion,\n };\n });\n\n this.tipos_pago = parseInt(this._session.getTiposPago());\n this.tipo_asignado = parseInt(this._session.getTipoAsignado());\n this.Paybackref = this._local.getPaybackref() ? this._local.getPaybackref() : '0';\n }\n\n async ngOnInit() {\n\n \n \n //console.log( this.listPaises);\n ////console.log(this.datos_compra);\n this.myGetService.postData(this.datos_compra, 'api/BoletosWeb/LogMit').subscribe((res) => {});\n \n if (this.request.nbResponse != 'Aprobado' && this.reqBanamex.resultIndicator == undefined) {\n //this.request.referencia == undefined || this.request.referencia == null){\n // const registroventa = await this.LiberaBoletos();\n this.LiberaBoletos();\n }\n //obtener compradores\n this.compradores_tag = JSON.parse(sessionStorage.getItem('BoletosApartados'));\n\n this.getData(this.boletos_generados, this.boletos_recomendados, this.boletos_asignados);\n\n this.orden_banamex = this._session.getOrdenBanamex();\n if (this.reqBanamex.resultIndicator != undefined) {\n if (this.reqBanamex.resultIndicator == this.orden_banamex) {\n const registroventa = await this.RegistraVentaBanamex();\n }\n }\n\n if (this.request.referencia != undefined || this.request.referencia != null) {\n this.getInfoCompra();\n }\n\n if (this._local.getPKColab != null) {\n this.AsignaColabExt();\n }\n\n this._local.deleteFolio();\n this._local.deleteBoletosGenerados();\n this._local.deleteBoletosRecomendados();\n this._local.deleteBoletosAsignados();\n this._local.deleteCarrito();\n this._local.deletePaybackref();\n\n history.pushState(null, null, 'error-pago');\n window.addEventListener('popstate', function (event) {\n history.pushState(null, null, 'error-pago');\n });\n window.sessionStorage.clear();\n\n\n \n }\n\n getInfoCompra() {\n this.myGetService\n .getInfoCompra('api/BoletosWeb/InformacionCompraBoletos', this.request.referencia)\n .subscribe((res) => {\n ////console.log(res);\n this.request.nombre = res.json().nombre_cliente;\n this.request.tipo_tarjeta = res.json().tipo_tarjeta;\n this.request.no_tarjeta = res.json().numero_tarjeta;\n this.request.nuAuth = res.json().autorizacion;\n this.boletos = res.json().boletos;\n this.comprador = res.json().comprador;\n this.boletos[0].estado_boleto = this.comprador;\n\n ////console.log(\"comprador: \"+this.comprador);\n ////console.log(this.boletos);\n ////console.log(this.comprador);\n var lab = document.getElementById('CantBoletos1');\n lab.hidden = false;\n\n if (this._session.getBoletoSuerteComprador != null) {\n this.myGetService\n .postData(this.boletos, 'api/BoletosWeb/PagoRecibidoBoletoSuerte/' + this.comprador)\n .subscribe((res) => {\n ////console.log(res);\n });\n }\n\n this.PaybackScript();\n });\n }\n\n getData(boletos_generados: Array, boletos_recomendados: Array, boletos_asignados: Array) {\n this._local.deleteBoletosGenerados();\n this._local.deleteBoletosRecomendados();\n this._local.deleteBoletosAsignados();\n //window.sessionStorage.clear();\n }\n\n comprarOtro() {\n this.router.navigate(['compra-en-linea-boletos-sorteo-anahuac']);\n }\n\n terminar() {\n \n let deletescripts: string[] = ['tradetracker', 'gtag'];\n this.scripts.deleteScript(deletescripts);\n\n this.check = document.getElementById('checkPerpetuo');\n if (this.check != null) {\n if (this.check.checked) {\n this.BoletoPerpetuo(1);\n } else {\n this.BoletoPerpetuo(2);\n }\n }\n\n document.removeEventListener('mouseout', (event) => {\n if (event.relatedTarget === null) {\n this.check = document.getElementById('checkPerpetuo');\n if (this.check.checked && this.c != 1) {\n this.BoletoPerpetuo(1);\n alert('Registrado');\n this.c = 1;\n } else if (!this.check.checked && this.c != 0) {\n this.BoletoPerpetuo(2);\n alert('no registrado');\n this.c = 0;\n }\n }\n });\n const lastCallTime = localStorage.getItem('lastCallTime');\n localStorage.clear();\n localStorage.setItem('lastCallTime', lastCallTime);\n\n let organico = \"?utm_source=organico&utm_medium=organico&utm_campaign=organico&utm_term=organico&utm_content=organico\";\n let utm2 = organico.split(\"?\");\n var search2 = utm2[1] ;\n //console.log(JSON.stringify(organico));\n let finalUtm = JSON.parse('{\"' + search2.replace(/&/g, '\",\"').replace(/=/g,'\":\"') + '\"}', function(key, value) { return key===\"\"?value:decodeURIComponent(value) });\n ////console.log(finalUtm);\n localStorage.setItem('campaingData', JSON.stringify(finalUtm));\n this.router.navigate(['compra-en-linea-boletos-sorteo-anahuac']);\n }\n\n reintentarPago() {\n this.router.navigate(['forma-pago'], { queryParams: { ordencompra: this.request.referencia } });\n }\n\n MarcarBoleto() {\n document.addEventListener('mouseout', (event) => {\n if (event.relatedTarget === null) {\n this.check = document.getElementById('checkPerpetuo');\n if (this.check.checked && this.c != 1) {\n this.BoletoPerpetuo(1);\n alert('Registrado');\n this.c = 1;\n } else if (!this.check.checked && this.c != 0) {\n this.BoletoPerpetuo(2);\n alert('no registrado');\n this.c = 0;\n }\n }\n });\n }\n\n BoletoPerpetuo(opc) {\n if (opc == 1) {\n this.myGetService.postData(this.boletos, 'api/BoletosWeb/BoletoPerpetuo_V').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n });\n }\n if (opc == 2) {\n this.myGetService.postData(this.boletos, 'api/BoletosWeb/Del_BoletoPerpetuo_V').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n });\n }\n }\n\n //Metodo para asignar venta a Colaborador Externo\n AsignaColabExt() {\n this.colab.numero = this.request.referencia;\n this.colab.pkcolab = this._local.getPKColab();\n this.colab.mecanismo = this._local.getMecanismoColabExt();\n if (this.colab.numero != null && this.colab.pkcolab != null) {\n this.myGetService.postData(this.colab, 'api/BoletosWeb/AsignaColabExt').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n this._local.removePKColab();\n this._local.removeMecanismoColabExt();\n });\n }\n }\n\n async RegistraVentaBanamex() {\n var datos = this._session.getDatosOrdenBanamex();\n if (datos != null || datos != undefined) {\n return new Promise((resolve, reject) => {\n this.myGetService.postData(datos, 'api/BoletosWeb/PagoPayPalConfirmado').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n var datos_orden = JSON.parse(datos);\n this.request.referencia = datos_orden.folio;\n this.request.importe = datos_orden.monto;\n\n return resolve(res);\n });\n });\n }\n }\n\n LiberaBoletos() {\n // if(boletos_generados != null || boletos_generados != undefined)\n // {\n // \tvar boletos = boletos_generados;\n // } else if(boletos_recomendados != null || boletos_recomendados != undefined)\n // {\n // \tvar boletos = boletos_recomendados;\n // } else if(boletos_asignados != null || boletos_asignados != undefined)\n // {\n // \tvar boletos = boletos_asignados;\n // }\n\n this.boletos_bloqueados.fecha = new Date().toISOString();\n\n if (this.boletos_bloqueados.boletos.length != 0) {\n this.myGetService.postData(this.boletos_bloqueados, 'api/BoletosWeb/LiberaBoletos').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n });\n }\n }\n\n PaybackScript(): void {\n this.params.push({ name: 'ORDER_ID', value: this.request.referencia });\n //add pararams\n \n this.params.push({\n name: 'ORDER_AMOUNT',\n value: this.request.importe.replace('.00', '').replace(',', ''),\n });\n\n \n \n\n \n\n \n\n if (this.params) {\n this.ScriptBoletos();\n if (this.Paybackref == '1') {\n this.scriptsobj.push({ script: 'tradetracker', params: this.params });\n }\n //datos comprador\n \n\n this.scriptsobj.push({ script: 'gtag', params: this.params });\n ////console.log(this.scriptsobj);\n this.scripts\n .load(this.scriptsobj)\n .then((data) => {\n ////console.log('script loaded ', data);\n let LogGtag = this._session.getLogGtag();\n if (LogGtag) {\n this.logGtag = {\n response: '',\n folio: this.request.referencia,\n amount: '',\n objeto: LogGtag,\n };\n ////console.log(this.logGtag);\n this.myGetService.postData(this.logGtag, 'api/BoletosWeb/LogGtag').subscribe((res) => {\n ////console.log(res);\n });\n }\n })\n .catch((error) => {\n ////console.log(error);\n });\n }\n }\n\n ScriptBoletos(): void {\n\n let count = this.boletos.length-1;\n for (var i = 0; i < this.boletos.length ; i++) {\n this.params.push({ name: 'BOLETO_ID', value:this.compradores_tag[i].folio });\n \n\n this.params.push({ name: 'EMAIL', value: this.compradores_tag[i].comprador.correo_electronico });\n this.params.push({ name: 'PHONE', value: this.compradores_tag[i].comprador.telefono_movil });\n this.params.push({ name: 'NAME', value: this.compradores_tag[i].comprador.nombre });\n this.params.push({ name: 'LASTNAME', value: this.compradores_tag[i].comprador.apellidos });\n this.params.push({ name: 'STREET', value: this.compradores_tag[i].comprador.calle });\n this.params.push({ name: 'CITY', value: this.compradores_tag[i].comprador.estado });\n this.params.push({ name: 'STATE', value: this.compradores_tag[i].comprador.municipio });\n let namePais = \"\";\n if(this.compradores_tag[i].comprador.pais==\"484\") {\n namePais = \"México\"\n }else{\n namePais = \"Extranjero\"\n }\n this.params.push({ name: 'COUNTRY', value: namePais });\n this.params.push({ name: 'CP', value: this.compradores_tag[i].comprador.codigo_postal });\n count--;\n }\n this.params.push({ name: 'BOLETO_PRICE', value: this.boletos[0].costo.toString() });\n ////console.log( this.params);\n // this.boletos.forEach((boleto) => {\n // this.params.push({ name: 'BOLETO_ID', value: boleto.folio.toString() });\n // });\n // this.params.push({ name: 'BOLETO_PRICE', value: this.boletos[0].costo.toString() });\n\n // for (var i = 0; i < this.compradores_tag.length ; i++) {\n // this.params.push({ name: 'EMAIL', value: this.compradores_tag[i].comprador.correo_electronico });\n // this.params.push({ name: 'PHONE', value: this.compradores_tag[i].telefono_movil });\n // this.params.push({ name: 'NAME', value: this.compradores_tag[i].nombre });\n // this.params.push({ name: 'LASTNAME', value: this.compradores_tag[i].apellidos });\n // this.params.push({ name: 'STREET', value: this.compradores_tag[i].calle });\n // this.params.push({ name: 'CITY', value: this.compradores_tag[i].estado });\n // this.params.push({ name: 'STATE', value: this.compradores_tag[i].municipio });\n // this.params.push({ name: 'COUNTRY', value: this.compradores_tag[i].pais });\n // this.params.push({ name: 'CP', value: this.compradores_tag[i].codigo_postal });\n // }\n\n // this.compradores_tag.forEach((data) => {\n // this.params.push({ name: 'EMAIL', value: data.comprador.correo_electronico });\n // this.params.push({ name: 'PHONE', value: data.comprador.telefono_movil });\n // this.params.push({ name: 'NAME', value: data.comprador.nombre });\n // this.params.push({ name: 'LASTNAME', value: data.comprador.apellidos });\n // this.params.push({ name: 'STREET', value: data.comprador.calle });\n // this.params.push({ name: 'CITY', value: data.comprador.estado });\n // this.params.push({ name: 'STATE', value: data.comprador.municipio });\n // this.params.push({ name: 'COUNTRY', value: data.comprador.pais });\n // this.params.push({ name: 'CP', value: data.comprador.codigo_postal });\n // });\n \n\n \n }\n\n\n scrollPage(name) {\n var posicion = $(name).offset().top;\n $(\"html, body\").animate({\n scrollTop: posicion\n }, 2000); \n }\n}\n","
    \n
    \n
    \n
    \n \"Error\n \"Error\n\n
    \n\n
    \n

    \n ERROR\n \n DE PAGO\n \n

    \n\n

    \n BOLETO\n \n BLOQUEADO\n \n

    \n
    \n \n
    \n
    \n \n \n \n
    \n \n
    \n
    \n \n \n
    \n
    \n

    Transacción no exitosa

    \n

    Motivos de bloqueo

    \n
    \n
    \n \n
    \n
    \n \n \n
    \n \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    ","import { Component, Inject } from '@angular/core';\nimport { Http } from '@angular/http';\n\n@Component({\n selector: 'fetchdata',\n templateUrl: './fetchdata.component.html'\n})\nexport class FetchDataComponent {\n public forecasts: WeatherForecast[] = [];\n\n constructor(http: Http, @Inject('BASE_URL') baseUrl: string) {\n \n }\n}\n\ninterface WeatherForecast {\n dateFormatted: string;\n temperatureC: number;\n temperatureF: number;\n summary: string;\n}\n","

    Weather forecast

    \n\n

    This component demonstrates fetching data from the server.

    \n\n

    Loading...

    \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    DateTemp. (C)Temp. (F)Summary
    {{ forecast.dateFormatted }}{{ forecast.temperatureC }}{{ forecast.temperatureF }}{{ forecast.summary }}
    \n","import { AfterViewChecked, Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\r\n\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { environment } from 'src/environments/environment';\r\nimport { v4 as uuid } from 'uuid';\r\nimport { Boleto } from '../models/Boleto';\r\nimport { MyHttpGetService } from '../services/http.services.token';\r\nimport { LocalstorageService } from '../services/localstorage.service';\r\nimport { SessionstorageService } from '../services/sessionstorage.service';\r\nimport { TimerService } from '../timer/timer.service';\r\nimport { Leads } from '../models/Leads';\r\nimport { DatosCompradorService } from '../datos-comprador/services/datos-comprador.service';\r\nimport { PaymentSource } from '../models/PaymentSource';\r\nimport { SeguimientoService } from '../services/seguimiento.service';\r\n\r\n// para uso de paypal y popup\r\ndeclare var paypal, Checkout, window: any;\r\nvar datosbol, Urlp, Urlc, popC, spin, Tcomprador, UrlBanamex, ordenbanamex, btn_banamex: any;\r\n\r\n@Component({\r\n selector: 'app-forma-pago',\r\n templateUrl: './forma-pago.component.html',\r\n styleUrls: ['./forma-pago.component.scss'],\r\n providers: [MyHttpGetService, LocalstorageService],\r\n})\r\nexport class FormaPagoComponent implements OnInit, AfterViewChecked {\r\n //tipos_pago -> Metodos de pago a mostrar según el tipo de sesión (1 -> PublicoGeneral, 2 -> Colaborador desde APP, 3 -> Colaborador desde PC)\r\n\r\n /////////////////////////\r\n\r\n formFormaPago: FormGroup;\r\n public boletos: Array = [];\r\n public boletos_asignados: Array = [];\r\n public boletos_log: {\r\n pk1: string;\r\n boletos: Array;\r\n folio: string;\r\n email: string;\r\n amount: string;\r\n nombre: string;\r\n apellidos: string;\r\n telefono: string;\r\n boletos_string: string;\r\n tipo_comprador: number;\r\n referencia: string;\r\n } = {\r\n pk1: '',\r\n boletos: [],\r\n folio: '',\r\n email: '',\r\n amount: '',\r\n nombre: '',\r\n apellidos: '',\r\n telefono: '',\r\n boletos_string: '',\r\n tipo_comprador: 3,\r\n referencia: '',\r\n };\r\n public boletos_preAsignados: { boletos: Array; confirmacion: string; correo: string; folio: string } = {\r\n boletos: [],\r\n confirmacion: '',\r\n correo: '',\r\n folio: '',\r\n };\r\n public total_compra: number = 0;\r\n public metodo_pago: number = 1;\r\n public tipos_pago: number = 1;\r\n public valida: boolean = false;\r\n public folio: string = '0';\r\n public referenciaBanco: string = '0';\r\n public convenio: string = '0';\r\n public clabe: string = '0';\r\n public cuenta: string = '0';\r\n public procesando: number = 0;\r\n public tipo_comprador: number = 3;\r\n public mostrarReferencia: boolean = false;\r\n public correo: string = ''; // correo con el que se inicio sesion.\r\n public correo_adicional: string = ''; // correo con el que se inicio sesion.\r\n public datos: {\r\n boletos: Array;\r\n referencia: string;\r\n folio: string;\r\n convenio: string;\r\n clabe: string;\r\n cuenta: string;\r\n correo: string;\r\n fecha: string;\r\n colaborador: boolean;\r\n } = {\r\n boletos: [],\r\n referencia: '',\r\n folio: '',\r\n convenio: '',\r\n clabe: '',\r\n correo: '',\r\n fecha: '',\r\n colaborador: false,\r\n cuenta: '',\r\n };\r\n public urlWebPay: { cd_response: string; nb_response: string; nb_url: SafeResourceUrl } = {\r\n cd_response: '',\r\n nb_response: '',\r\n nb_url: '',\r\n };\r\n public enviando: boolean = false;\r\n public envioTexto: string = '';\r\n public Paybackref: string;\r\n public pkcolab: string;\r\n public BoletosCol: string;\r\n public habilitarReferencia: boolean = true;\r\n public habilitaPaypal: boolean = true;\r\n public spinhandler: number = 0;\r\n cargando = false;\r\n\r\n\r\n constructor(\r\n private domSanitizer: DomSanitizer,\r\n private myGetService: MyHttpGetService,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n public st: TimerService,\r\n private _local: LocalstorageService,\r\n private _session: SessionstorageService,\r\n private fb: FormBuilder,\r\n private _DCompradorService: DatosCompradorService,\r\n private readonly _seguimiento: SeguimientoService\r\n ) {\r\n this.correo = this._session.getCorreoComp();\r\n var lsApartados = this._local.getBoletosApartados();\r\n var lsAsignados = this._local.getBoletosAsignados();\r\n this.boletos = lsApartados == null ? [] : JSON.parse(lsApartados);\r\n //console.log(lsApartados);\r\n //console.log(lsAsignados);\r\n //console.log(this.boletos);\r\n this.boletos_preAsignados.boletos = lsAsignados == null ? [] : JSON.parse(lsAsignados);\r\n this.tipo_comprador = this._session.getTipoAsignado() ? parseInt(this._session.getTipoAsignado()) : 3;\r\n\r\n this.route.queryParams.subscribe((params) => {\r\n this.folio = params.ordencompra == undefined ? '0' : params.ordencompra;\r\n });\r\n ////console.log(this.folio);\r\n\r\n this.tipos_pago = parseInt(this._session.getTiposPago());\r\n\r\n this.formFormaPago = this.fb.group({\r\n nombre_titular: ['', Validators.pattern(/[a-zA-Z������������\\s]/)],\r\n no_tarjeta: ['', Validators.pattern(/^\\d*$/)],\r\n vence_mes: ['', Validators.pattern(/^\\d*$/)],\r\n vence_anio: ['', Validators.pattern(/^\\d*$/)],\r\n codigo_seg: ['', Validators.pattern(/^\\d*$/)],\r\n });\r\n //#region Validacion Referencia Banc Activa\r\n this.BoletosCol = this._session.getBoletosCol() ? this._session.getBoletosCol() : '0';\r\n this.Paybackref = this._local.getPaybackref() ? this._local.getPaybackref() : '0';\r\n this.pkcolab = this._local.getPKColab() ? this._local.getPKColab() : '0';\r\n //#endregion\r\n }\r\n\r\n async ngOnInit() {\r\n /*INSERTAR LOG CUANDO SE PASE DIRECTO A FORMA DE PAGO */\r\n //console.log(this.boletos_preAsignados.boletos);\r\n //console.log(this.tipo_comprador);\r\n ///console.log();\r\n\r\n /* */\r\n // let noshow = localStorage.getItem('noShow');\r\n //if(noshow != 'true') { this.showConfirm(); }\r\n \r\n spin = document.getElementById('spin');\r\n spin.hidden = false;\r\n\r\n /// Pop up\t& Paypal\r\n popC = this._session.getPopstate();\r\n ////console.log(popC);\r\n //this.PopupAmigable(popC);\r\n Urlp = this.myGetService.getInfoOrden('api/BoletosWeb/PagoPayPalSDK');\r\n Urlc = this.myGetService.getInfoOrden('api/BoletosWeb/PagoPayPalConfirmado');\r\n UrlBanamex = this.myGetService.getInfoOrden('api/BoletosWeb/PagoBanamex');\r\n Tcomprador = this.tipo_comprador;\r\n /// Pop up & Paypal\r\n\r\n if (this.tipos_pago == 1) {\r\n this.st.startTimer();\r\n }\r\n\r\n this.procesando = 0;\r\n if (this.tipos_pago == 1) {\r\n this.getTotalCompra(this.boletos);\r\n } else {\r\n this.getTotalCompra(this.boletos_preAsignados.boletos);\r\n }\r\n\r\n if (this.folio != '0') {\r\n this.efectuarPagoPublicoGeneral();\r\n }\r\n\r\n // history.pushState(null,null, 'forma-pago');\r\n // window.addEventListener('popstate', function(event) {\r\n // \thistory.pushState(null,null, 'forma-pago');\r\n // \t//console.log(this.history.length);\r\n // })\r\n ////console.log(\"tipo comprador\");\r\n ////console.log(this.tipo_comprador);\r\n if (this.tipo_comprador == 3) {\r\n if (this.tipos_pago >= 2) {\r\n } else {\r\n history.pushState(null, null, 'forma-pago');\r\n window.addEventListener('popstate', function (event) {\r\n history.replaceState(null, null, 'compra-en-linea-boletos-sorteo-anahuac');\r\n history.pushState(null, null, 'compra-en-linea-boletos-sorteo-anahuac');\r\n history.go(0);\r\n });\r\n }\r\n }\r\n if (this._local.getFolio()) {\r\n ////console.log(\"Si tiene folio\");\r\n if (this.tipo_comprador == 3) {\r\n if (this.tipos_pago >= 2) {\r\n } else {\r\n this._local.deleteBoletosGenerados();\r\n this._local.deleteBoletosRecomendados();\r\n this._local.deleteBoletosAsignados();\r\n window.sessionStorage.clear();\r\n this._local.deleteFolio();\r\n this.router.navigate(['compra-en-linea-boletos-sorteo-anahuac']);\r\n }\r\n }\r\n // if (this.tipo_comprador == 1 || this.tipo_comprador == 2) {\r\n // this.router.navigate([\"login\"]);\r\n //\tthis.router.navigate([\"compra-en-linea-boletos-sorteo-anahuac\"]);\r\n // } else {\r\n // \tthis.router.navigate([\"compra-en-linea-boletos-sorteo-anahuac\"]);\r\n // }\r\n }\r\n //ordenbanamex = false;\r\n const ref1 = await this.GetMetodoParametrizado();\r\n if (this.BoletosCol != '2') {\r\n const ref = await this.RefBancStatus();\r\n //const ref1 = await this.GetMetodoParametrizado();\r\n } else {\r\n this.spinHandlerMetodoParametrizado();\r\n }\r\n\r\n\r\n /**/\r\n let ctnMit = document.getElementById(\"content-mit\");\r\n let ctnPay = document.getElementById(\"content-pay\");\r\n let ctnRef = document.getElementById(\"content-ref\");\r\n let ctaMorePay = document.getElementById(\"ctaMorePay\");\r\n ctaMorePay.style.display = \"none\";\r\n\r\n let btnMit = document.getElementById(\"FormaMIT\");\r\n let btnPay = document.getElementById(\"FormaPaypal\");\r\n let btnRef = document.getElementById(\"FormaDeposito\");\r\n\r\n btnMit.addEventListener(\"click\", function () {\r\n ctnPay.style.display = \"none\";\r\n ctnRef.style.display = \"none\";\r\n ctaMorePay.style.display = \"block\";\r\n });\r\n\r\n btnPay.addEventListener(\"click\", function () {\r\n ctnMit.style.display = \"none\";\r\n ctnRef.style.display = \"none\";\r\n // ctaMorePay.style.display = \"block\";\r\n });\r\n\r\n btnRef.addEventListener(\"click\", function () {\r\n ctnMit.style.display = \"none\";\r\n ctnPay.style.display = \"none\";\r\n ctaMorePay.style.display = \"block\";\r\n });\r\n\r\n\r\n /**/\r\n\r\n }\r\n\r\n showConfirm() {\r\n (window as any).alertify\r\n .confirm('IMPORTANTE',\r\n `
    \r\n

    Por favor, considera los siguientes puntos:

    \r\n
      \r\n \r\n
    • En este momento, tu boleto se encuentra en el carrito. En caso de que salgas de la pantalla, actualices la página, cierres el navegador o experimentes un error durante el pago, tendrás que esperar 15 minutos antes de volver a intentar la compra por el mismo número.
    • \r\n \r\n
    • Si generas una referencia bancaria, tu boleto quedará reservado durante 5 días hábiles. No podrás pagar con otro método de pago hasta que el boleto se libere.
    • \r\n\r\n
    • Si vas a pagar con tarjeta de débito, se recomienda hacerlo con tu tarjeta digital.
    • \r\n\r\n
    \r\n\r\n \r\n

    \r\n Siguiendo estas recomendaciones podrás evitar problemas y asegurarte de que tu compra se procese sin inconvenientes. Si sigues los pasos correctamente, el proceso de pago será más fluido y sin complicaciones.\r\n

    \r\n
    `,\r\n () => {\r\n (window as any).alertify.success('¡LO TENGO!');\r\n \r\n },\r\n () => {\r\n // Esta función puede estar vacía si no necesitas manejar el clic en Cancelar\r\n localStorage.setItem('noShow', 'true');\r\n }\r\n )\r\n .set('labels', { ok: 'He leído', cancel: 'No mostar más' }) // Etiqueta vacía para el botón Cancelar\r\n .set('closable', false) // Evitar cerrar la ventana al hacer clic fuera de ella\r\n .set('defaultFocus', 'ok') // Definir el enfoque por defecto\r\n .set('className', 'custom-confirm'); // Aplicar la clase CSS personalizada\r\n }\r\n\r\n showMethod() {\r\n let ctaMorePay = document.getElementById(\"ctaMorePay\");\r\n ctaMorePay.style.display = \"none\";\r\n /**/\r\n let ctnMit = document.getElementById(\"content-mit\");\r\n let ctnPay = document.getElementById(\"content-pay\");\r\n let ctnRef = document.getElementById(\"content-ref\");\r\n ctnMit.style.display = \"block\";\r\n ctnPay.style.display = \"block\";\r\n ctnRef.style.display = \"block\";\r\n }\r\n\r\n getTotalCompra(boletos: Array) {\r\n if (boletos !== []) {\r\n for (var i = 0; i <= boletos.length - 1; i++) {\r\n this.total_compra = this.total_compra + boletos[i].costo;\r\n }\r\n }\r\n }\r\n\r\n async efectuarPagoPublicoGeneral() {\r\n\r\n var btnpay = document.getElementById('paypal-button-container');\r\n btnpay.hidden = true;\r\n spin = document.getElementById('spin');\r\n spin.hidden = true;\r\n\r\n if (this.metodo_pago == 1 || this.metodo_pago == 2) {\r\n spin.hidden = false;\r\n }\r\n\r\n this.boletos_asignados = [];\r\n\r\n this.boletos.forEach(\r\n function (Item) {\r\n this.boletos_asignados.push({\r\n comprador: {\r\n direccion: {\r\n telefono: Item.comprador.telefono_fijo,\r\n municipio: Item.comprador.municipio,\r\n estado: Item.comprador.estado,\r\n codigo_postal: Item.comprador.codigo_postal,\r\n colonia: Item.comprador.colonia,\r\n numero: Item.comprador.numero,\r\n calle: Item.comprador.calle,\r\n\r\n },\r\n nombre_completo: Item.comprador.nombre + ' ' + Item.comprador.apellidos,\r\n celular: Item.comprador.telefono_movil,\r\n correo: Item.comprador.correo_electronico,\r\n correo_alternativo: Item.comprador.correo_alternativo,\r\n correo_tarjetahabiente: Item.comprador.correo_tarjetahabiente,\r\n apellidos: Item.comprador.apellidos,\r\n apellido_paterno: Item.comprador.apellido_paterno,\r\n apellido_materno: Item.comprador.apellido_materno,\r\n egresado: Item.comprador.egresado,\r\n campus: Item.comprador.campus,\r\n nombre: Item.comprador.nombre,\r\n pkcanal: Item.comprador.pkcanal,\r\n especifica_canal: Item.comprador.especifica_canal,\r\n pais: Item.comprador.pais,\r\n dia: Item.comprador.dia,\r\n mes: Item.comprador.mes, \r\n anio: Item.comprador.anio,\r\n pk_comprador_existente: Item.comprador.pk_comprador_existente\r\n },\r\n folio_talonario: Item.folio_talonario,\r\n folio: Item.folio,\r\n clave: Item.clave.toString(),\r\n });\r\n this.boletos_log.boletos.push({\r\n folio_talonario: Item.folio_talonario,\r\n folio: Item.folio,\r\n clave: Item.clave.toString(),\r\n });\r\n }.bind(this)\r\n );\r\n ////console.log( this.boletos_asignados);\r\n this.boletos_log.nombre = this.boletos[0].comprador.nombre;\r\n this.boletos_log.apellidos = this.boletos[0].comprador.apellidos;\r\n this.boletos_log.email = this.boletos[0].comprador.correo_electronico;\r\n this.boletos_log.telefono = this.boletos[0].comprador.telefono_movil;\r\n this.boletos_log.pk1 = uuid();\r\n this.boletos_log.tipo_comprador = this._session.getBoletosCol() == '1' ? 4 : 3;\r\n /* aqui se crea el comprador y se tra referencia y todos los datos pero aun no se hace la compra */\r\n //console.log(this.boletos_asignados);\r\n //console.log(\"respuesta\");\r\n /* */\r\n console.log(this.folio);\r\n if (this.folio != '0') {\r\n window.location.href = 'error-pago?success=false&nbResponse=ErrorDatosCarrito';\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n console.log(this.boletos_asignados);\r\n this.myGetService\r\n .postData(this.boletos_asignados, 'api/BoletosWeb/PreventaPublicoGeneralBanco/' + this.metodo_pago)\r\n .subscribe((res) => {\r\n\r\n console.log(res);\r\n\r\n let obj = res.json();\r\n\r\n this.folio = obj.folio;\r\n this.referenciaBanco = obj.referencia;\r\n this.convenio = obj.convenio;\r\n this.clabe = obj.clabe;\r\n this.cuenta = obj.cuenta;\r\n this.boletos_log.folio = this.folio;\r\n this.boletos_log.amount = this.total_compra.toString();\r\n this.boletos_log.boletos_string = JSON.stringify(this.boletos_log.boletos);\r\n this._local.setFolio(this.folio);\r\n /* crear localstorage boletos*/\r\n localStorage.setItem(\"boletosAparatadosTem\", sessionStorage.getItem('BoletosApartados'));\r\n if (this.folio == '0' || !this.folio) {\r\n window.location.href = 'error-pago?success=false&nbResponse=ErrorDatosCarrito';\r\n } else {\r\n //aqui llama function para pago al banco\r\n\r\n this.myGetService.postData(this.boletos_log, 'api/BoletosWeb/VentaLog').subscribe((res) => {\r\n //console.log(res);\r\n });\r\n\r\n if (this.metodo_pago == 2) {\r\n this.datos.folio = this.folio;\r\n this.datos.referencia = this.referenciaBanco;\r\n this.datos.convenio = this.convenio;\r\n this.datos.clabe = this.clabe;\r\n this.datos.cuenta = this.cuenta;\r\n this.datos.boletos = this.boletos;\r\n console.log( \"BOLETOS\" );\r\n console.log( this.datos.boletos);\r\n this.datos.correo = this.boletos_log.email;\r\n this.mostrarReferencia = true;\r\n spin.hidden = true;\r\n this.myGetService.postData(this.datos, 'api/BoletosWeb/ReenvioReferencia').subscribe((res) => {\r\n ////console.log(res);\r\n });\r\n\r\n this.myGetService.postData(this.datos, 'api/BoletosWeb/EnviarRecordatorio').subscribe((res) => {\r\n ////console.log(res);\r\n });\r\n\r\n var correoalt = this.boletos[0].comprador.correo_alternativo;\r\n\r\n if (correoalt) {\r\n this.datos.correo = this.boletos[0].comprador.correo_alternativo;\r\n\r\n this.myGetService.postData(this.datos, 'api/BoletosWeb/ReenvioReferencia').subscribe((res) => {\r\n ////console.log(res);\r\n });\r\n }\r\n\r\n //enviar referencia\r\n let infoCampania: Leads;\r\n //console.log(\"lead referencia bancaria\");\r\n let temInfo = JSON.parse(localStorage.getItem('campaingData'));\r\n //localStorage.setItem(\"first\", 'false' );\r\n //console.log(temInfo);\r\n infoCampania = temInfo;\r\n //console.log( infoCampania);\r\n //traer datos de la compra\r\n let datosComprador = JSON.parse(sessionStorage.getItem('BoletosApartados'));\r\n //console.log(datosComprador);\r\n let numBoletos = infoCampania.boletos_seleccionados.split(\",\");\r\n\r\n //añadir nuevo correo \r\n /* datos comprador */\r\n infoCampania.correo = datosComprador[0].comprador.correo_electronico;\r\n infoCampania.sorteo = 8;\r\n infoCampania.nombre = datosComprador[0].comprador.nombre;\r\n\r\n infoCampania.apellido_peterno = datosComprador[0].comprador.apellido_paterno;\r\n infoCampania.apellido_materno = datosComprador[0].comprador.apellido_materno;\r\n infoCampania.telefono = datosComprador[0].comprador.telefono_fijo;\r\n infoCampania.celular = datosComprador[0].comprador.telefono_movil;\r\n infoCampania.num_boletos_comprados = numBoletos.length;\r\n infoCampania.monto = 500 * numBoletos.length;\r\n infoCampania.estatus_pago = \"REFERENCIA-\" + this.datos.referencia;\r\n infoCampania.boletos_seleccionados = \"\";\r\n //console.log(datosComprador);\r\n //console.log(infoCampania);\r\n let dataCampania: Leads = infoCampania;\r\n this._DCompradorService.modificaLeads(dataCampania).subscribe(a => {\r\n //console.log(a);\r\n\r\n\r\n },\r\n err => {\r\n //console.log(err);\r\n if (err.status == 200) {\r\n //console.log(\"entre2 REFERENCIA\");\r\n localStorage.removeItem(\"InfoCompania\");\r\n localStorage.removeItem(\"campaingData\");\r\n localStorage.setItem(\"leads\", \"false\");\r\n let organico = \"?utm_source=organico&utm_medium=organico&utm_campaign=organico&utm_term=organico&utm_content=organico\";\r\n let utm2 = organico.split(\"?\");\r\n var search2 = utm2[1];\r\n //console.log(JSON.stringify(organico));\r\n let finalUtm = JSON.parse('{\"' + search2.replace(/&/g, '\",\"').replace(/=/g, '\":\"') + '\"}', function (key, value) { return key === \"\" ? value : decodeURIComponent(value) });\r\n ////console.log(finalUtm);\r\n localStorage.setItem('campaingData', JSON.stringify(finalUtm));\r\n\r\n //console.log(localStorage.getItem('leads'));\r\n //console.log(dataCampania);\r\n }\r\n });\r\n\r\n //add seguimiento\r\n sessionStorage.setItem('metodoPago', 'REFERENCIA');\r\n sessionStorage.setItem('ordenDeCompra', \"REFERENCIA - \" + this.datos.referencia);\r\n let respuesta;\r\n let tipoP = sessionStorage.getItem('TiposPago');\r\n let tipoPInt = parseInt(tipoP, 10)\r\n if (tipoPInt == 2 || tipoPInt == 3) {\r\n sessionStorage.setItem('paginaclick', '/forma-pago - directo');\r\n this._seguimiento.addSeguimiento(JSON.parse(sessionStorage.getItem('BoletosAsignados'))).subscribe(a => {\r\n console.log(a);\r\n respuesta = a;\r\n const pk_seguimiento = respuesta.pk1;\r\n console.log(pk_seguimiento);\r\n sessionStorage.setItem('pk_seguimiento', pk_seguimiento);\r\n },\r\n err => {\r\n\r\n });\r\n } else {\r\n //updatear cuando ya esta creado el seguimiento\r\n sessionStorage.setItem('paginaclick', '/forma-pago');\r\n this._seguimiento.updateSeguimiento().subscribe(a => {\r\n console.log(a);\r\n },\r\n err => {\r\n\r\n });\r\n }\r\n //this.myGetService.postData(this.datos, \"api/BoletosWeb/ReenviarRecordatorio\").subscribe((res) => {\r\n //\t//console.log(res);\r\n //});\r\n this.terminar();\r\n } else if (this.metodo_pago == 1) {\r\n this.procesando = 1;\r\n //MIT pago\r\n localStorage.setItem('campaingData1', localStorage.getItem(\"campaingData\"));\r\n let respuesta;\r\n sessionStorage.setItem('metodoPago', 'MIT');\r\n sessionStorage.setItem('ordenDeCompra', this.folio);\r\n console.log(\"this.tipos_pago\" + this.tipos_pago);\r\n let tipoP = sessionStorage.getItem('TiposPago');\r\n let tipoPInt = parseInt(tipoP, 10)\r\n if (tipoPInt == 2 || tipoPInt == 3) {\r\n console.log(\"efectuarPagoPublicoGeneral insert\");\r\n sessionStorage.setItem('paginaclick', '/forma-pago - directo');\r\n this._seguimiento.addSeguimiento(JSON.parse(sessionStorage.getItem('BoletosAsignados'))).subscribe(a => {\r\n console.log(a);\r\n respuesta = a;\r\n const pk_seguimiento = respuesta.pk1;\r\n console.log(pk_seguimiento);\r\n sessionStorage.setItem('pk_seguimiento', pk_seguimiento);\r\n },\r\n err => {\r\n\r\n });\r\n } else {\r\n //updatear cuando ya esta creado el seguimiento\r\n sessionStorage.setItem('paginaclick', '/forma-pago');\r\n console.log(\"efectuarPagoPublicoGeneral update\");\r\n this._seguimiento.updateSeguimiento().subscribe(a => {\r\n console.log(a);\r\n },\r\n err => {\r\n\r\n });\r\n }\r\n\r\n //orden de compra generada\r\n this.myGetService.getLigaWebPay('api/BoletosWeb/PagoWPP2', this.folio).subscribe((res) => {\r\n this.urlWebPay.cd_response = res.json().cd_response;\r\n this.urlWebPay.nb_response = res.json().nb_response;\r\n //console.log( this.urlWebPay);\r\n //console.log( res);\r\n //corregir aqui\r\n //window.open(res.json().nb_url, '_blank');\r\n window.location.href = res.json().nb_url;\r\n },\r\n err => {\r\n console.log(err);\r\n });\r\n } else {\r\n //Metodo paypal & Metodo Banamex\r\n if (this.metodo_pago == 3 || this.metodo_pago == 4) {\r\n var datosorden = {\r\n folio: this.boletos_log.folio,\r\n amount: this.boletos_log.amount,\r\n email: this.boletos_log.email,\r\n };\r\n datosbol = datosorden;\r\n this._local.deleteBoletosGenerados();\r\n this._local.deleteBoletosRecomendados();\r\n this._local.deleteBoletosAsignados();\r\n //window.sessionStorage.clear();\r\n if (this.metodo_pago == 3) {\r\n btnpay.hidden = false;\r\n }\r\n //return (datosorden);\r\n }\r\n }\r\n }\r\n if (this.metodo_pago == 3 || this.metodo_pago == 4) {\r\n if (datosbol != null || datosbol != undefined) {\r\n resolve('datosbol listo promise');\r\n }\r\n } else {\r\n resolve('preventa completa');\r\n }\r\n }, err => {\r\n console.log(err);\r\n const errorBody = JSON.parse(err._body);\r\n\r\n console.log(errorBody.error); // Accede a la propiedad `error`\r\n console.log(errorBody.message); // Accede a la propiedad `message`\r\n if (errorBody.error == 1) {\r\n //guarda el mensaje el pk de seguimiento\r\n this._seguimiento.updateErrorCaracteres(errorBody.message).subscribe(a => {\r\n console.log(a);\r\n });\r\n window.location.href = 'error-pago?success=false&nbResponse=ErrorDatos';\r\n }\r\n });\r\n }); //del promise\r\n\r\n ///aqui acaba el post preventa\r\n }\r\n\r\n this._local.deleteBoletosGenerados();\r\n this._local.deleteBoletosRecomendados();\r\n this._local.deleteBoletosAsignados();\r\n //window.sessionStorage.clear();\r\n }\r\n\r\n async efectuarPagoAlterno(metodoPago) {\r\n this.procesando = 1;\r\n\r\n var btnpay = document.getElementById('paypal-button-container');\r\n btnpay.hidden = true;\r\n spin = document.getElementById('spin');\r\n spin.hidden = true;\r\n if (metodoPago == 2 || metodoPago == 1) {\r\n spin.hidden = false;\r\n }\r\n this.tipo_comprador = this._session.getTipoAsignado() ? parseInt(this._session.getTipoAsignado()) : 3;\r\n //console.log(this.tipo_comprador);\r\n return new Promise((resolve, reject) => {\r\n //api/BoletosWeb/PagoWPP2/{ordenCompra}\r\n this.myGetService\r\n .postData(\r\n this.boletos_preAsignados.boletos,\r\n 'api/BoletosWeb/Preventa/' + metodoPago + '/' + this.tipo_comprador\r\n )\r\n .subscribe((res) => {\r\n //console.log(res);\r\n\r\n this.folio = res.json().folio;\r\n console.log(this.folio);\r\n this._local.setFolio(this.folio);\r\n this.datos.referencia = res.json().referencia;\r\n this.datos.convenio = res.json().convenio;\r\n this.datos.clabe = res.json().clabe;\r\n this.datos.cuenta = res.json().cuenta;\r\n\r\n this.boletos_log.pk1 = uuid();\r\n this.boletos_log.referencia = res.json().referencia;\r\n this.boletos_log.tipo_comprador = parseInt(this._session.getTipoAsignado());\r\n this.boletos_log.folio = res.json().folio;\r\n this.boletos_log.boletos_string = JSON.stringify(this.boletos_preAsignados.boletos);\r\n this.boletos_log.amount = this.total_compra.toString();\r\n\r\n var tipo_asig = this._session.getTipoAsignado();\r\n\r\n this.boletos_log.email = tipo_asig == '1' ? this._session.getColab() : this.correo;\r\n\r\n var tipo_asig = this._session.getTipoAsignado();\r\n ////console.log(this.boletos_preAsignados);\r\n if (this.folio == '0') {\r\n window.location.href = 'error-pago?success=false&nbResponse=ErrorDatosCarrito';\r\n } else {\r\n this.myGetService.postData(this.boletos_log, 'api/BoletosWeb/VentaLog').subscribe((res) => {\r\n ////console.log(\"exitoso\");\r\n });\r\n //debugger;\r\n if (metodoPago == 1) {\r\n let respuesta;\r\n sessionStorage.setItem('metodoPago', 'MIT');\r\n sessionStorage.setItem('ordenDeCompra', this.folio);\r\n let tipoP = sessionStorage.getItem('TiposPago');\r\n let tipoPInt = parseInt(tipoP, 10)\r\n if (tipoPInt == 2 || tipoPInt == 3) {\r\n sessionStorage.setItem('paginaclick', '/forma-pago - directo');\r\n this._seguimiento.addSeguimiento(JSON.parse(sessionStorage.getItem('BoletosAsignados'))).subscribe(a => {\r\n console.log(a);\r\n respuesta = a;\r\n const pk_seguimiento = respuesta.pk1;\r\n console.log(pk_seguimiento);\r\n sessionStorage.setItem('pk_seguimiento', pk_seguimiento);\r\n },\r\n err => {\r\n\r\n });\r\n } else {\r\n //updatear cuando ya esta creado el seguimiento\r\n sessionStorage.setItem('paginaclick', '/forma-pago');\r\n this._seguimiento.updateSeguimiento().subscribe(a => {\r\n console.log(a);\r\n },\r\n err => {\r\n\r\n });\r\n }\r\n this.myGetService.getLigaWebPay('api/BoletosWeb/PagoWPP2', this.folio).subscribe((res) => {\r\n this.urlWebPay.cd_response = res.json().cd_response;\r\n this.urlWebPay.nb_response = res.json().nb_response;\r\n ////console.log(res.json().nb_url);\r\n window.location.href = res.json().nb_url;\r\n });\r\n } else if (metodoPago == 2) {\r\n this.datos.folio = this.folio;\r\n this.datos.boletos = this.boletos_preAsignados.boletos;\r\n this.datos.correo = this.correo;\r\n this.datos.colaborador = true;\r\n\r\n //add seguimiento\r\n sessionStorage.setItem('metodoPago', 'REFERENCIA');\r\n sessionStorage.setItem('ordenDeCompra', \"REFERENCIA - \" + this.folio);\r\n let respuesta;\r\n let tipoP = sessionStorage.getItem('TiposPago');\r\n let tipoPInt = parseInt(tipoP, 10)\r\n if (tipoPInt == 2 || tipoPInt == 3) {\r\n sessionStorage.setItem('paginaclick', '/forma-pago - directo');\r\n this._seguimiento.addSeguimiento(JSON.parse(sessionStorage.getItem('BoletosAsignados'))).subscribe(a => {\r\n console.log(a);\r\n respuesta = a;\r\n const pk_seguimiento = respuesta.pk1;\r\n console.log(pk_seguimiento);\r\n sessionStorage.setItem('pk_seguimiento', pk_seguimiento);\r\n },\r\n err => {\r\n\r\n });\r\n } else {\r\n //updatear cuando ya esta creado el seguimiento\r\n sessionStorage.setItem('paginaclick', '/forma-pago');\r\n this._seguimiento.updateSeguimiento().subscribe(a => {\r\n console.log(a);\r\n },\r\n err => {\r\n\r\n });\r\n }\r\n ////console.log(this.datos);\r\n\r\n this.myGetService.postData(this.datos, 'api/BoletosWeb/ReenvioReferencia').subscribe((res) => {\r\n ////console.log(res);\r\n this.mostrarReferencia = true;\r\n spin.hidden = true;\r\n });\r\n\r\n this.myGetService.postData(this.datos, 'api/BoletosWeb/EnviarRecordatorio').subscribe((res) => {\r\n ////console.log(res);\r\n });\r\n this.terminar();\r\n } else if (metodoPago == 3 || metodoPago == 4) {\r\n //servicio paypal\r\n var datosorden = {\r\n folio: this.boletos_log.folio,\r\n amount: this.boletos_log.amount,\r\n };\r\n datosbol = datosorden;\r\n if (metodoPago == 3) {\r\n btnpay.hidden = false;\r\n }\r\n\r\n //return (datosorden);\r\n }\r\n }\r\n if (this.metodo_pago == 3 || this.metodo_pago == 4) {\r\n if (datosbol != null || datosbol != undefined) {\r\n resolve('datosbol listo promise');\r\n }\r\n } else {\r\n resolve('preventa completa');\r\n }\r\n\r\n }, err => {\r\n console.error('Error en la llamada a la API de preventa', err);\r\n reject('Error en la llamada a la API de preventa');\r\n }); // subscribe\r\n }); // promise\r\n }\r\n\r\n reenviarCorreo() {\r\n this.enviando = true;\r\n this.datos.boletos =\r\n this.boletos_preAsignados && this.boletos_preAsignados.boletos.length > 0\r\n ? this.boletos_preAsignados.boletos\r\n : this.boletos;\r\n this.datos.correo = this.correo_adicional; //(this.boletos_preAsignados && this.boletos_preAsignados.boletos.length > 0) ? this.boletos_preAsignados.correo : this.boletos_log.email ;\r\n\r\n ////console.log(\"datos para reenvio\");\r\n ////console.log(this.datos);\r\n this.myGetService.postData(this.datos, 'api/BoletosWeb/ReenvioReferenciaCorreo').subscribe((res) => {\r\n this.envioTexto = 'Referencia enviada nuevamente';\r\n setTimeout(() => {\r\n this.enviando = false;\r\n }, 3000);\r\n });\r\n }\r\n\r\n regresar(): void {\r\n this.router.navigate(['compra-en-linea-boletos-sorteo-anahuac']);\r\n }\r\n\r\n terminar(): void {\r\n this._local.deleteBoletosGenerados();\r\n this._local.deleteBoletosRecomendados();\r\n this._local.deleteBoletosAsignados();\r\n this._local.deleteCarrito();\r\n window.sessionStorage.clear();\r\n }\r\n\r\n //// ------------ POPUP------------\r\n /*\r\n PopupAmigable(popC) {\r\n var PopAct = document.getElementById('popupamigable');\r\n if (popC == 0) {\r\n setTimeout(() => {\r\n document.addEventListener('mouseout', (event) => {\r\n if (event.relatedTarget === null && popC == 0) {\r\n PopAct.hidden = false;\r\n popC = 2;\r\n this._session.setPopstate(popC);\r\n }\r\n });\r\n }, 5);\r\n } else {\r\n PopAct.hidden = true;\r\n }\r\n }*/\r\n //// ------------ POPUP------------\r\n\r\n // -------- paypal metodo ------------------\r\n // Para evitar carga de paypal antes de generar la orden\r\n addScript: boolean = false;\r\n paypalLoad: boolean = true;\r\n addScriptBanamex: boolean = false;\r\n\r\n\r\n ngAfterViewChecked(): void {\r\n let self = this;\r\n let statusPago = \"\";\r\n if (!this.addScript && this.metodo_pago == 3) {\r\n this.addPaypalScript()\r\n .then(() => {\r\n datosbol = {\r\n folio: this.boletos_log.folio,\r\n amount: this.boletos_log.amount,\r\n };\r\n })\r\n .then(() => { })\r\n .then(() => {\r\n paypal\r\n .Buttons({\r\n commit: true,\r\n createOrder: function () {\r\n this.procesando = 1;\r\n popC = 2;\r\n //console.log(\"fetch\");\r\n return fetch(Urlp, {\r\n method: 'post',\r\n headers: { 'content-type': 'application/json' },\r\n body: JSON.stringify(datosbol),\r\n })\r\n .then(function (res) {\r\n return res.json();\r\n })\r\n .then(function (data) {\r\n // console.log(\"datos de front\");\r\n // console.log(data);\r\n spin.hidden = false;\r\n return data.id;\r\n });\r\n },\r\n\r\n onApprove: function (data, actions) {\r\n return actions.order.capture().then(function (details) {\r\n // Show a success message to the buyer\r\n //alert('Pago realizado por ' + details.payer.name.given_name + '!');\r\n // console.log(\"Datos de onApprove listos para procesar en back\");\r\n // console.log(\"Folio de orden registrado en back\");\r\n // console.log(details.purchase_units[0].custom_id);\r\n // console.log(\"Cantidad pagada\");\r\n // console.log(details.purchase_units[0].amount.value);\r\n // console.log(details.payer.email_address);\r\n // console.log(\"Id de usuario paypal\");\r\n // console.log(details.payer.payer_id);\r\n // console.log(\"Id orden paypal\");\r\n // console.log(details.purchase_units[0].payments.captures[0].id);\r\n // console.log(\"todos los datos\");\r\n // console.log(details);\r\n var datosorden = {\r\n folio: details.purchase_units[0].custom_id,\r\n nombre_cliente: details.payer.name.given_name,\r\n monto: details.purchase_units[0].amount.value,\r\n mensaje: details.purchase_units[0].payments.captures[0].id,\r\n };\r\n // console.log(datosorden);\r\n self.seguimientoPaypal(datosorden);\r\n fetch(Urlc, {\r\n method: 'post',\r\n headers: { 'content-type': 'application/json' },\r\n body: JSON.stringify(datosorden),\r\n })\r\n .then(function (data) {\r\n return data;\r\n })\r\n .then(function (data) {\r\n localStorage.setItem('campaingData1', localStorage.getItem(\"campaingData\"));\r\n var Url =\r\n 'venta-exitosa?success=true&nbResponse=Aprobado&cdResponse=' +\r\n data +\r\n '&idLiga=' +\r\n details.purchase_units[0].payments.captures[0].id +\r\n '&referencia=' +\r\n details.purchase_units[0].custom_id +\r\n '&importe=' +\r\n details.purchase_units[0].amount.value +\r\n '&email=' +\r\n details.payer.email_address;\r\n window.location.href = Url;\r\n });\r\n });\r\n },\r\n onCancel: function (data, actions) {\r\n //console.log(data);\r\n popC = 0;\r\n if (Tcomprador == 3) {\r\n window.location.href = 'venta-exitosa?success=false&nbResponse=Rechazado';\r\n } else {\r\n spin.hidden = true;\r\n alert('La operacion fue cancelada');\r\n this.procesando = 0;\r\n }\r\n },\r\n\r\n onError: function (err) {\r\n // alert(\"La operacion no se completo\");\r\n spin.hidden = false;\r\n this.procesando = 0;\r\n //console.log(err);\r\n popC = 0;\r\n window.location.href = 'venta-exitosa?success=false&nbResponse=Bloqueo';\r\n },\r\n })\r\n .render('#paypal-button-container');\r\n this.paypalLoad = false;\r\n });\r\n }\r\n\r\n //Metodo de pago Banamex\r\n if (!this.addScriptBanamex && this.metodo_pago == 4) {\r\n this.addPaypalScript()\r\n .then(() => {\r\n datosbol = {\r\n folio: this.boletos_log.folio,\r\n amount: this.boletos_log.amount,\r\n };\r\n })\r\n .then(() => { })\r\n .then(async () => {\r\n async function createOrder() {\r\n popC = 2;\r\n //console.log(\"creamos orden banamex\");\r\n return fetch(UrlBanamex, {\r\n method: 'post',\r\n headers: { 'content-type': 'application/json' },\r\n body: JSON.stringify(datosbol),\r\n })\r\n .then(function (res) {\r\n return res.json();\r\n })\r\n .then(function (data) {\r\n //console.log(\"datos de front\");\r\n //console.log(data);\r\n ordenbanamex = data;\r\n //spin.hidden=false;\r\n return data;\r\n })\r\n .then(function (data) {\r\n return new Promise((resolve, reject) => {\r\n if (data != null || data != undefined) {\r\n return resolve('orden de banamex generada');\r\n }\r\n });\r\n });\r\n }\r\n\r\n await createOrder();\r\n })\r\n .then((data) => {\r\n Checkout.configure({\r\n session: {\r\n id: ordenbanamex.session.id,\r\n },\r\n interaction: {\r\n merchant: {\r\n name: 'Sorteo Anahuac 2024',\r\n address: {\r\n line1: 'Av. Universidad Anáhuac #46 Col. Lomas Anáhuac',\r\n line2: ' Huixquilucan, Estado de México C.P.52786',\r\n },\r\n },\r\n },\r\n });\r\n\r\n function PagoBanamex() {\r\n spin.hidden = false;\r\n var scriptban = document.getElementById('ban');\r\n (scriptban as HTMLScriptElement).setAttribute('data-complete', 'completeCallback');\r\n window.completeCallback = (resultIndicator, sessionVersion) => {\r\n //console.log(\"Operacion completada\");\r\n //console.log(resultIndicator);\r\n };\r\n Checkout.showLightbox();\r\n //Checkout.showPaymentPage()\r\n\r\n sessionS.setDatosOrdenBanamex(JSON.stringify(datosorden));\r\n sessionS.setOrdenBanamex(ordenbanamex.successIndicator);\r\n }\r\n\r\n function btncreate() {\r\n const container = document.getElementById('banamex-button-container');\r\n\r\n const button = document.createElement('button');\r\n button.textContent = 'Paga con Bananamex';\r\n button.className = 'btn btn-secondary';\r\n button.style.backgroundColor = '#dd741d';\r\n button.style.fontSize = '1.4rem';\r\n button.onclick = PagoBanamex;\r\n container.appendChild(button);\r\n }\r\n\r\n var datosorden = {\r\n folio: this.boletos_log.folio,\r\n nombre_cliente: 'Banamex',\r\n monto: this.boletos_log.amount,\r\n mensaje: 'Pago con Banamex',\r\n };\r\n var sessionS = this._session;\r\n btncreate();\r\n });\r\n }\r\n }\r\n\r\n\r\n async addPaypalScript() {\r\n if (this.metodo_pago == 3) {\r\n this.addScript = true;\r\n } else {\r\n this.addScriptBanamex = true;\r\n }\r\n\r\n if (this.tipos_pago == 2 || this.tipos_pago == 3) {\r\n await this.efectuarPagoAlterno(this.metodo_pago);\r\n } else {\r\n const genera_Orden = await this.efectuarPagoPublicoGeneral();\r\n }\r\n let promise = new Promise((resolve, reject) => {\r\n let scripttagElement = document.createElement('script');\r\n if (this.metodo_pago == 3) {\r\n scripttagElement.src = environment.PaypalAmbiente;\r\n }\r\n if (this.metodo_pago == 4) {\r\n scripttagElement.src = 'https://evopaymentsmexico.gateway.mastercard.com/checkout/version/57/checkout.js';\r\n //scripttagElement.setAttribute(\"data-complete\",\"completeCallback\");\r\n scripttagElement.setAttribute('data-cancel', 'cancel');\r\n scripttagElement.setAttribute('data-error', 'error');\r\n scripttagElement.setAttribute('data-beforeRedirect', 'beforeRed');\r\n scripttagElement.setAttribute('data-afterRedirect', 'afterRed');\r\n\r\n window.cancel = (payload) => {\r\n if (this.tipos_pago == 1) {\r\n window.location.href = 'error-pago?success=false&nbResponse=Rechazado';\r\n ////console.log(\"Operacion cancelada\");\r\n } else {\r\n spin.hidden = true;\r\n ////console.log(\"Operacion cancelada\");\r\n ////console.log(payload);\r\n }\r\n };\r\n window.error = (error) => {\r\n ////console.log(JSON.stringify(error));\r\n window.location.href = 'error-pago?success=false&nbResponse=Bloqueo';\r\n };\r\n window.beforeRed = (payload) => {\r\n ////console.log(\"Guarda datos de orden\");\r\n Checkout.saveFormFields();\r\n };\r\n window.afterRed = (resultIndicator) => {\r\n ////console.log(\"Carga datos de orden\");\r\n Checkout.restoreFormFields();\r\n ////console.log(\"Resultado de orden\");\r\n ////console.log(resultIndicator);\r\n };\r\n // window.completeCallback = (resultIndicator, sessionVersion) => {\r\n // \t//console.log(\"Operacion completada\");\r\n // \t//console.log(resultIndicator);\r\n // };\r\n }\r\n //\t\tscripttagElement.src = 'https://www.paypal.com/sdk/js?client-id=sb¤cy=MXN&disable-funding=credit,card';\r\n scripttagElement.onload = resolve;\r\n scripttagElement.oncancel = reject;\r\n scripttagElement.id = 'ban';\r\n document.body.appendChild(scripttagElement);\r\n });\r\n\r\n return promise;\r\n }\r\n\r\n async RefBancStatus(): Promise {\r\n let tipocompra: number;\r\n if (this.Paybackref == '1') {\r\n tipocompra = 1; //payback\r\n } else if (this.pkcolab != '0') {\r\n tipocompra = 2; // pkcolab == pasa la voz\r\n } else if (this.BoletosCol == '1') {\r\n tipocompra = 3; //Liga de colaborador\r\n } else if (this.BoletosCol == '0') {\r\n tipocompra = 4; //publico general\r\n }\r\n\r\n let boletos: any =\r\n this.boletos_preAsignados && this.boletos_preAsignados.boletos.length > 0\r\n ? this.boletos_preAsignados.boletos\r\n : this.boletos;\r\n\r\n let datos: any = {\r\n opc: tipocompra,\r\n boletos: boletos,\r\n };\r\n\r\n ////console.log('ref enviando');\r\n return new Promise((resolve, reject) => {\r\n this.myGetService.postData(datos, 'api/BoletosWeb/ReferenciaBancaria/Estatus').subscribe(\r\n (res) => {\r\n this.habilitarReferencia = res.json();\r\n ////console.log('response ref recibida');\r\n this.spinHandlerMetodoParametrizado();\r\n resolve();\r\n },\r\n (error) => {\r\n this.spinHandlerMetodoParametrizado();\r\n }\r\n );\r\n });\r\n }\r\n\r\n async GetMetodoParametrizado(): Promise {\r\n let tipocompra: number;\r\n let nicho: string;\r\n if (this.Paybackref == '1') {\r\n tipocompra = 1; //payback\r\n nicho = 'payback';\r\n } else if (this.pkcolab != '0') {\r\n tipocompra = 2; // pkcolab == pasa la voz\r\n nicho = 'pasalavoz';\r\n } else if (this.BoletosCol == '1') {\r\n tipocompra = 3; //Liga de colaborador\r\n nicho = 'ligacolaborador';\r\n } else if (this.BoletosCol == '0') {\r\n tipocompra = 4; //publico general\r\n }\r\n\r\n let boletos: any =\r\n this.boletos_preAsignados && this.boletos_preAsignados.boletos.length > 0\r\n ? this.boletos_preAsignados.boletos\r\n : this.boletos;\r\n\r\n let datos: any = {\r\n pkmetodo: '3',\r\n pknicho: nicho,\r\n boletos: boletos,\r\n };\r\n\r\n ////console.log('paypal parametrizado enviando');\r\n return new Promise((resolve, reject) => {\r\n this.myGetService.postData(datos, 'api/BoletosWeb/Config/GetMetodoParametrizado').subscribe(\r\n (res) => {\r\n this.habilitaPaypal = res.json();\r\n ////console.log('response ref recibida');\r\n this.spinHandlerMetodoParametrizado();\r\n resolve();\r\n },\r\n (error) => {\r\n console.log(error);\r\n window.location.href = 'error-pago?success=false&nbResponse=Invalido';\r\n this.spinHandlerMetodoParametrizado();\r\n }\r\n );\r\n });\r\n }\r\n\r\n public spinHandlerMetodoParametrizado(): void {\r\n if (this.spinhandler == 1) {\r\n spin.hidden = true;\r\n } else {\r\n this.spinhandler++;\r\n }\r\n }\r\n\r\n seguimientoPaypal(datosorden: { folio: string; nombre_cliente: any; monto: string; mensaje: any; }) {\r\n let respuesta;\r\n sessionStorage.setItem('metodoPago', 'PAYPAL');\r\n sessionStorage.setItem('ordenDeCompra', datosorden.folio);\r\n let tipoP = sessionStorage.getItem('TiposPago');\r\n let tipoPF = parseInt(tipoP, 10);\r\n\r\n console.log(tipoPF);\r\n if (tipoPF == 2 || tipoPF == 3) {\r\n sessionStorage.setItem('paginaclick', '/forma-pago - directo');\r\n this._seguimiento.addSeguimiento(JSON.parse(sessionStorage.getItem('BoletosAsignados'))).subscribe(a => {\r\n console.log(a);\r\n respuesta = a;\r\n const pk_seguimiento = respuesta.pk1;\r\n console.log(pk_seguimiento);\r\n sessionStorage.setItem('pk_seguimiento', pk_seguimiento);\r\n },\r\n err => {\r\n\r\n });\r\n } else {\r\n //updatear cuando ya esta creado el seguimiento\r\n sessionStorage.setItem('paginaclick', '/forma-pago');\r\n this._seguimiento.updateSeguimiento().subscribe(a => {\r\n console.log(a);\r\n },\r\n err => {\r\n\r\n });\r\n }\r\n }\r\n\r\n\r\n\r\n\r\n}\r\n\r\n","
    \r\n
    \r\n
    \r\n
    \r\n \"Forma\r\n
    \r\n
    \r\n

    \r\n formas\r\n \r\n de pago\r\n \r\n \r\n

    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n\r\n\r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {{ st.minutesDisplay && st.minutesDisplay <= 59 ? st.minutesDisplay : '00' }} :\r\n {{\r\n st.secondsDisplay && st.secondsDisplay <= 59\r\n ? st.secondsDisplay < 10\r\n ? '0' + st.secondsDisplay\r\n : st.secondsDisplay\r\n : '00'\r\n }}\r\n \r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n\r\n
    \r\n
    \r\n \r\n\r\n
    \r\n

    \r\n Paga con nuestro servicio de pago seguro con tarjetas.
    \r\n Si tu tarjeta de crédito/débito tiene seguridad 3DS te pedirá un código de compra para la verificación.\r\n Por\r\n favor revisar el SMS en tu celular, donde te llegará este código que es generado por tu banco.\r\n

    \r\n\r\n \"Tarjetas\r\n\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \"Paypal\"\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n

    \r\n Puedes pagar acudiendo al banco Santander y realiza el depósito proporcionando el convenio y la\r\n referencia.\r\n

    \r\n
    \r\n
    \r\n\r\n Ver métodos de pago +\r\n\r\n
    \r\n\r\n
    \r\n

    Referencia bancaria

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

    Banco:

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

    Cuenta: {{ datos.cuenta }}

    \r\n

    Convenio: {{ datos.convenio }}

    \r\n

    CLABE: {{ datos.clabe }}

    \r\n

    Para transferencia bancaria poner en campo \"Concepto\" la referencia

    \r\n

    Referencia: {{ datos.referencia }}

    \r\n

    \r\n La referencia generada ha sido enviada a su email .\r\n

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

    {{ envioTexto }}

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

    Referencia bancaria

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

    Banco:

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

    Cuenta: {{ datos.cuenta }}

    \r\n

    Convenio: {{ datos.convenio }}

    \r\n

    CLABE: {{ datos.clabe }}

    \r\n

    Para transferencia bancaria poner en campo \"Concepto\" la referencia

    \r\n

    Referencia: {{ datos.referencia }}

    \r\n

    \r\n La referencia generada ha sido enviada a su email .\r\n

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

    {{ envioTexto }}

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

    \r\n this.boletos.length ? 'badge' : 'badgeG'\">{{ boletos.length }}\r\n Boleto(s) seleccionado(s):\r\n

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

    \r\n NOTA IMPORTANTE: Si vas a hacer tu pago por Safari, verifica que tengas deshabilitadas las ventanas\r\n emergentes (dar click en el enlace) en caso que este sea por cualquier otro navegador, continúa con tu pago\r\n sin problema.\r\n https://www.youtube.com/shorts/XdR8SFZvABQ\r\n

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

    \r\n this.boletos_preAsignados.boletos.length ? 'badge' : 'badgeG'\">{{\r\n boletos_preAsignados.boletos.length\r\n }}\r\n Boleto(s) seleccionado(s)\r\n

    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n\r\n \r\n
    \r\n
    \r\n
    \r\n Loading...\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n\r\n\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Meta } from '@angular/platform-browser';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { Subscription, timer } from 'rxjs';\r\nimport { Boleto } from '../models/Boleto';\r\nimport { Comprador } from '../models/Comprador';\r\nimport { SeleccionMultipleBoleto } from '../models/SeleccionMultipleBoleto';\r\nimport { LocalstorageService } from '../services/localstorage.service';\r\nimport { SessionstorageService } from '../services/sessionstorage.service';\r\nimport { TimerService } from '../timer/timer.service';\r\nimport { HomeService } from './services/home.service';\r\nimport * as $ from 'jquery';\r\nimport { Leads } from '../models/Leads';\r\nimport AOS from 'aos';\r\n@Component({\r\n selector: 'app-home',\r\n templateUrl: './home.component.html',\r\n styleUrls: ['./home.component.scss'],\r\n})\r\nexport class HomeComponent implements OnInit {\r\n public start: boolean = false;\r\n private boletos_generados: Array = [];\r\n private miSeleccion: SeleccionMultipleBoleto = { numero: '', mecanismo: '', pkcolab: '' };\r\n private info_boleto: Array = [];\r\n private boleto_random: Object = {};\r\n private precio_boleto: number = 0;\r\n public boleto: Boleto;\r\n private tipos_pago: number = 1;\r\n public boleto_disponible: number = 1;\r\n public boletos: Array = [];\r\n public boleto_: Array = [];\r\n public boletosLuck: Array = [];\r\n public boletosLuckfil: Array = [];\r\n // public enabled: boolean = true;\r\n inputDisabled_1: boolean = true;\r\n inputDisabled_2: boolean = true;\r\n inputDisabled_3: boolean = true;\r\n inputDisabled_4: boolean = true;\r\n botonDisabled: boolean = true;\r\n option_1: string = '';\r\n option_2: string = '';\r\n option_3: string = '';\r\n option_4: string = '';\r\n public metodo: boolean = false;\r\n public mensajeError: string = '';\r\n public boleto_check: boolean = false;\r\n checkbox: string = '';\r\n public subsasdas: Subscription;\r\n Error: boolean = false;\r\n ErrorSuerte: boolean = false;\r\n public popC: any;\r\n public popstate: any;\r\n public checkC: number = 0;\r\n public box: any;\r\n formDatosComprador: FormGroup;\r\n PopBoleto: boolean = false;\r\n contlck: number = 3;\r\n public Info: Comprador = {\r\n pk1: -1,\r\n nombre: '',\r\n apellidos: '',\r\n telefono_fijo: '',\r\n telefono_movil: '',\r\n correo_electronico: '',\r\n correo_alternativo: '',\r\n correo_tarjetahabiente: '',\r\n calle: '',\r\n numero: '',\r\n pais: '',\r\n codigo_postal: '',\r\n colonia: '',\r\n estado: '',\r\n municipio: '',\r\n campus: '',\r\n egresado: '',\r\n apellido_materno: '',\r\n apellido_paterno: '',\r\n pkcanal: null,\r\n especifica_canal: \"\",\r\n dia: '',\r\n mes: '',\r\n anio: '',\r\n pk_comprador_existente: 0\r\n };\r\n\r\n //nuevo\r\n flagGirar = false;\r\n flag_buy = false;\r\n flag_buy_loader = false;\r\n flag_buy_btn = false;\r\n\r\n /* */\r\n public popColaborador: boolean = false;\r\n private pkcolab: string;\r\n\r\n /*counter*/\r\n\r\n //time magno\r\n _second = 1000;\r\n _minute = this._second * 60;\r\n _hour = this._minute * 60;\r\n _day = this._hour * 24;\r\n end: any;\r\n now: any;\r\n day: any;\r\n hours: any;\r\n minutes: any;\r\n seconds: any;\r\n source = timer(0, 1000);\r\n /* VARIABLES ZODIACO*/\r\n showZod = false;\r\n info_zod: any = [];\r\n formattedNumbers: string[] = [];\r\n boletosZod: any = [];\r\n showDefault = false;\r\n claveCampania = \"\";\r\n showPkCompania = \"\";\r\n constructor(\r\n private _session: SessionstorageService,\r\n private _local: LocalstorageService,\r\n private _HomeService: HomeService,\r\n private router: Router,\r\n private st: TimerService,\r\n private fb: FormBuilder,\r\n private route: ActivatedRoute,\r\n private meta: Meta\r\n ) {\r\n\r\n // var lsAsignados = this._local.getBoletosAsignados();\r\n var lsGenerados = this._local.getBoletosGenerados();\r\n this.boleto_ = lsGenerados == null ? [] : JSON.parse(lsGenerados);\r\n this.popC = Number.parseInt(this._session.getPopstate());\r\n\r\n // validaciones\r\n\r\n this.formDatosComprador = this.fb.group({\r\n nombre: ['', Validators.compose([Validators.required, Validators.pattern(/[a-zA-Z������������\\s]/)])],\r\n apellidos: ['', Validators.compose([Validators.required, Validators.pattern(/[a-zA-Z������������\\s]/)])],\r\n celular: ['', Validators.compose([Validators.required, Validators.pattern(/^\\d*$/)])],\r\n correo: [\r\n '',\r\n Validators.compose([\r\n Validators.required,\r\n Validators.pattern(\r\n /^[!#$%&'*+-=?^_`{|}~a-z0-9-]+(\\.[!#$%&'*+-=?^_`{|}~a-z0-9]+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,4})$/\r\n ),\r\n ]),\r\n ],\r\n });\r\n\r\n this.meta.updateTag({ name: 'title', content: 'Compra boletos en línea | Sorteo Anáhuac' });\r\n this.meta.updateTag({\r\n name: 'description',\r\n content:\r\n 'Compra aquí tus boletos online para del Sorteo Anáhuac 9ª Edición e impulsa la formación de líderes de acción positiva, ¡gracias por participar!',\r\n });\r\n }\r\n\r\n mostrar = this.boleto_.length;\r\n\r\n images = [\r\n { img: '/assets/img/sorteo2025/premios/premio1.png', title: 'DEPARTAMENTO', subtitle:'AMUEBLADO', place: 'BREZZA TOWERS MAR', subplace:'CANCÚN', price: 'VALOR + DE 12.5 MILLONES', order: 'order-md-1 order-2' },\r\n { img: '/assets/img/sorteo2025/premios/premio2.png', title: 'DEPARTAMENTO', subtitle:'AMUEBLADO', place: 'BOSQUE REAL FIVE', subplace:'EDO. MÉXICO', price: 'VALOR + DE 12.2 MILLONES', order: 'order-md-4 order-3' },\r\n { img: '/assets/img/sorteo2025/premios/premio3.png', title: 'CASA', subtitle:'AMUEBLADA', place: 'EL ORIGEN ', subplace:'MÉRIDA', price: 'VALOR + DE 8 MILLONES' },\r\n { img: '/assets/img/sorteo2025/premios/premio4.png', title: 'CASA', subtitle:'AMUEBLADA', place: 'ZIBATÁ', subplace:'QUERÉTARO', price: 'VALOR + DE 5.3 MILLONES' },\r\n { img: '/assets/img/sorteo2025/premios/premio5.png', title: 'CASA', subtitle:'AMUEBLADA', place: 'EL CAPRICHO', subplace:'PUEBLA', price: 'VALOR + DE 5.1 MILLONES' },\r\n\r\n ];\r\n \r\n leftImages = [];\r\n rightImages = [];\r\n\r\n ngAfterViewInit(): void {\r\n AOS.refresh(); // Reinicializa AOS después de que Angular cargue el DOM\r\n }\r\n\r\n showDateSorteoMagno() {\r\n let distance = this.end - this.now;\r\n\r\n if (this.end - this.now <= 0) {\r\n distance = 0;\r\n }\r\n\r\n this.day = Math.floor(distance / this._day);\r\n if (this.day < 10) this.day = \"0\" + this.day;\r\n\r\n\r\n this.hours = Math.floor((distance % this._day) / this._hour);\r\n if (this.hours < 10) this.hours = \"0\" + this.hours;\r\n\r\n this.minutes = Math.floor((distance % this._hour) / this._minute);\r\n if (this.minutes < 10) this.minutes = \"0\" + this.minutes;\r\n\r\n this.seconds = Math.floor((distance % this._minute) / this._second);\r\n if (this.seconds < 10) this.seconds = \"0\" + this.seconds;\r\n\r\n }\r\n\r\n ngOnInit() {\r\n var tipo_asignado = parseInt(this._session.getTipoAsignado());\r\n ////console.log(this.popC);\r\n this._session.setContCarrito(0);\r\n this.PopActive(); //Consulta de estado de PopUp\r\n if (this._local.getPKColab != null) {\r\n this._local.removePKColab();\r\n }\r\n this.ValidaLigaUnica();\r\n this.ChecaCampania();\r\n\r\n //time magno\r\n this.source.subscribe(t => {\r\n this.now = new Date();\r\n this.end = new Date('11/23/' + (this.now.getFullYear()) + ' 17:00');\r\n //this.showDateSorteoMagno();\r\n });\r\n\r\n //llamar api zodiaco \r\n // this._HomeService.getToken().subscribe(a => {\r\n // //console.log(a);\r\n // }, err => {\r\n // //console.log(err);\r\n // //console.log(err.error.text);\r\n // if (err.status == 200) {\r\n // this._HomeService.getActiveZod(err.error.text).subscribe(a => {\r\n // console.log(a);\r\n // this.info_zod = a;\r\n // this.showZod = true;\r\n // if (this.info_zod.length > 0) {\r\n // this.claveCampania = this.info_zod[0].CLAVE;\r\n\r\n // switch (this.info_zod[0].CLAVE) {\r\n // case \"001\"://campaña zodiaco\r\n // this.showPkCompania = this.info_zod[0].CLAVE;\r\n // const numbers = this.info_zod[0].NUMEROS.split(',');\r\n // this.formattedNumbers = numbers;\r\n // break;\r\n // case \"002\"://campaña cuenta regresiva\r\n // this.showPkCompania = this.info_zod[0].CLAVE;\r\n // break;\r\n // case \"003\"://campaña default\r\n // this.showZod = false;\r\n // this.showDefault = true;\r\n // break;\r\n // default:\r\n // break;\r\n // }\r\n\r\n // } else {\r\n // this.showZod = false;\r\n // }\r\n\r\n // },\r\n // err => {\r\n // ////console.log(err);\r\n\r\n // if (err.status === 404) {\r\n // location.reload();\r\n // this.showZod = false;\r\n // }\r\n // });\r\n // }\r\n // });\r\n\r\n }\r\n //Animacion de maquinita + Funcion para generar boleto random\r\n BtnStart() {\r\n this.start = true;\r\n // (document.getElementById('maquinita') as HTMLImageElement).src =\r\n // '../../assets/img/NuevoDiseño/Recursos/Home/BtnFortunaDown.png';\r\n // setTimeout(() => {\r\n // (document.getElementById('maquinita') as HTMLImageElement).src =\r\n // '../../assets/img/NuevoDiseño/Recursos/Home/BtnFortunaUpp.png';\r\n // }, 500);\r\n\r\n this.getBoletoRandom();\r\n //this.Msgvisible();\r\n }\r\n // msj de error si no encuentra boletos disponibles despues de 2.5 seg\r\n Msgvisible() {\r\n if (this.boleto == undefined && this.start == true) {\r\n var MsgBoletos = document.getElementById('Msg');\r\n setTimeout(() => {\r\n if (this.boleto == undefined && this.start == true) {\r\n MsgBoletos.hidden = false;\r\n }\r\n }, 2500);\r\n }\r\n }\r\n MsgInvisible() {\r\n var MsgBoletos = document.getElementById('Msg');\r\n MsgBoletos.hidden = true;\r\n }\r\n\r\n OnDestroy() {\r\n this.subsasdas.unsubscribe();\r\n }\r\n\r\n // Habilitar y desabilitar entrada con radio y limpiar campos\r\n inputDisabled(opcion) {\r\n this.box = document.getElementById('ListBol');\r\n if (opcion == 1) {\r\n this.inputDisabled_1 = false;\r\n this.inputDisabled_2 = true;\r\n this.inputDisabled_3 = true;\r\n this.inputDisabled_4 = true;\r\n this.boletos = [];\r\n this.option_2 = '';\r\n this.option_3 = '';\r\n this.option_4 = '';\r\n this.Error = false;\r\n this.box.hidden = true;\r\n } else if (opcion == 2) {\r\n this.inputDisabled_1 = true;\r\n this.inputDisabled_2 = false;\r\n this.inputDisabled_3 = true;\r\n this.inputDisabled_4 = true;\r\n this.boletos = [];\r\n this.option_1 = '';\r\n this.option_3 = '';\r\n this.option_4 = '';\r\n this.Error = false;\r\n this.box.hidden = true;\r\n } else if (opcion == 3) {\r\n this.inputDisabled_1 = true;\r\n this.inputDisabled_2 = true;\r\n this.inputDisabled_3 = false;\r\n this.inputDisabled_4 = true;\r\n this.boletos = [];\r\n this.option_1 = '';\r\n this.option_2 = '';\r\n this.option_4 = '';\r\n this.Error = false;\r\n this.box.hidden = true;\r\n } else if (opcion == 4) {\r\n this.inputDisabled_1 = true;\r\n this.inputDisabled_2 = true;\r\n this.inputDisabled_3 = true;\r\n this.inputDisabled_4 = false;\r\n this.boletos = [];\r\n this.boletosLuck = [];\r\n this.option_1 = '';\r\n this.option_2 = '';\r\n this.option_3 = '';\r\n this.Error = false;\r\n this.box.hidden = true;\r\n }\r\n }\r\n\r\n // Método pone en ceros maquinita\r\n Reset_maquinita(value) {\r\n ////console.log(value);\r\n this.start = false;\r\n this.info_boleto = [];\r\n for (var i = 0; i < 6; i++) {\r\n this.boleto_random = {\r\n posicion: i,\r\n valor: '0',\r\n clase: 'num_cero',\r\n };\r\n this.info_boleto.push(this.boleto_random);\r\n }\r\n }\r\n\r\n //obtenerNumeroZodiaco\r\n getBoletosZod() {\r\n //this.botonDisabled = false;\r\n this.Reset_maquinita(null); //Llama método de reset\r\n this.metodo = false;\r\n this.mensajeError = '';\r\n this.Error = false;\r\n this.box = document.getElementById('ListBol2');\r\n\r\n /* llamar api zodiaco */\r\n this._HomeService.getToken().subscribe(a => {\r\n // console.log(a);\r\n }, err => {\r\n //console.log(err);\r\n //console.log(err.error.text);\r\n if (err.status == 200) {\r\n let n1 = \"0\", n2 = \"0\";\r\n if (this.claveCampania == '001') {\r\n n1 = this.formattedNumbers[0];\r\n n2 = this.formattedNumbers[1];\r\n } else {\r\n n1 = Math.floor(Math.random() * 100) + '';\r\n n2 = Math.floor(Math.random() * 100) + '';\r\n }\r\n this._HomeService.getBoletosZod(n1, n2, err.error.text, this.claveCampania).subscribe(data => {\r\n //console.log(data);\r\n this.boletos = data;\r\n\r\n },\r\n err => {\r\n console.log(err);\r\n\r\n if (err.status === 404) {\r\n // location.reload();\r\n }\r\n });\r\n }\r\n });\r\n\r\n\r\n // this._HomeService.postBoletoConditioned(this.miSeleccion).subscribe((data) => {\r\n // this.boletos = data;\r\n // this.box.hidden = false;\r\n // });\r\n\r\n }\r\n\r\n // Obtener valores de los boletos según busqueda para boleto de la suerte\r\n getLuckyBoleto(opcion1, opcion2, opcion3, opcion4) {\r\n //this.botonDisabled = false;\r\n this.Reset_maquinita(null); //Llama método de reset\r\n this.metodo = false;\r\n this.mensajeError = '';\r\n this.Error = false;\r\n this.box = document.getElementById('ListBol');\r\n\r\n if (opcion1 != '') {\r\n this.miSeleccion = { numero: opcion1, mecanismo: 'option_termination', pkcolab: this.pkcolab };\r\n this._HomeService.postBoletoConditioned(this.miSeleccion).subscribe((data) => {\r\n //console.log(data);\r\n if (data.length == 0) {\r\n this.boletos = data;\r\n data = '';\r\n this.mensajeError = 'Boleto(s) no disponible(s)';\r\n this.Error = true;\r\n this.box.hidden = false;\r\n } else {\r\n this.boletos = data;\r\n this.box.hidden = false;\r\n }\r\n });\r\n ////console.log(\"Seleccione opcion 1\")\r\n } else if (opcion2 != '') {\r\n\r\n this.miSeleccion = { numero: opcion2, mecanismo: 'option_contains', pkcolab: this.pkcolab };\r\n this.subsasdas = this._HomeService.postBoletoConditioned(this.miSeleccion).subscribe(\r\n // this._HomeService.postBoletoConditioned(this.miSeleccion).subscribe(\r\n (data) => {\r\n //console.log(data);\r\n\r\n if (data.length == 0) {\r\n this.boletos = data;\r\n data = '';\r\n this.mensajeError = 'Boleto(s) no disponible(s)';\r\n this.Error = true;\r\n this.box.hidden = false;\r\n } else {\r\n this.boletos = data;\r\n ////console.log(JSON.stringify(data))\r\n this.box.hidden = false;\r\n }\r\n }\r\n );\r\n ////console.log(\"Seleccione opcion 2\")\r\n } else if (opcion3 != '') {\r\n\r\n this.miSeleccion = { numero: opcion3, mecanismo: 'option_starts', pkcolab: this.pkcolab };\r\n this._HomeService.postBoletoConditioned(this.miSeleccion).subscribe((data) => {\r\n // console.log(data);\r\n\r\n if (data.length == 0) {\r\n this.boletos = data;\r\n data = '';\r\n this.mensajeError = 'Boleto(s) no disponible(s)';\r\n this.Error = true;\r\n this.box.hidden = false;\r\n } else {\r\n this.boletos = data;\r\n this.Error = false;\r\n this.box.hidden = false;\r\n }\r\n // ////console.log(JSON.stringify(data))\r\n });\r\n ////console.log(\"Seleccione opcion 3\")\r\n } else if (opcion4 != '') {\r\n this.miSeleccion = { numero: opcion4, mecanismo: 'option_full_number', pkcolab: this.pkcolab };\r\n this._HomeService.postBoletoConditioned(this.miSeleccion).subscribe((data) => {\r\n ////console.log(data.length)\r\n if (data.length == 0) {\r\n // console.log(data);\r\n\r\n this.boletos = data;\r\n data = '';\r\n this.mensajeError = 'Boleto(s) no disponible(s)';\r\n this.Error = false;\r\n this.ErrorSuerte = true;\r\n this.box.hidden = false;\r\n } else {\r\n this.boletos = data;\r\n ////console.log(this.boletos);\r\n this.Error = false;\r\n this.ErrorSuerte = false;\r\n this.box.hidden = false;\r\n }\r\n });\r\n ////console.log(\"Seleccione opcion 4\")\r\n }\r\n\r\n }\r\n /* NUEVO */\r\n getBoletoRandom() {\r\n //guardar tipo boleto\r\n sessionStorage.setItem('tipoBoleto', 'Maquina de la suerte');\r\n\r\n this.botonDisabled = false;\r\n //Se giro una vez la maquina\r\n this.metodo = true;\r\n this.box = document.getElementById('ListBol');\r\n this.box.hidden = true;\r\n // Resetea caja busq por tipo\r\n this.boletos = [];\r\n this.boletosLuck = [];\r\n this.mensajeError = '';\r\n this.Error = false;\r\n // false = Habilitado | true = Desabilitado\r\n this.inputDisabled_1 = true;\r\n this.inputDisabled_2 = true;\r\n this.inputDisabled_3 = true;\r\n this.inputDisabled_4 = true;\r\n this.option_1 = '';\r\n this.option_2 = '';\r\n this.option_3 = '';\r\n this.option_4 = '';\r\n\r\n this.boleto_disponible = 1;\r\n\r\n /*nuevo */\r\n this.flag_buy = true;\r\n this.flag_buy_loader = true;\r\n this.flag_buy_btn = false;\r\n ////console.log(\"Entra getBoletoRandom\");\r\n var pkc = { pkcolab: this.pkcolab };\r\n console.log(\"pk_colaboradro\"+this.pkcolab);\r\n this._HomeService.getBoletoTablero(pkc).subscribe(\r\n (data) => {\r\n if (data.length == 0) {\r\n this.Msgvisible();\r\n return 0;\r\n } else {\r\n // this.MsgInvisible();\r\n }\r\n ////console.log(\"ONE --\", this.boleto);\r\n if (this.flagGirar) this.deleteNumbers(this.boleto.folio.toString().split(\"\"));\r\n\r\n this.boleto = data[0];\r\n ////console.log(\"TWO\", this.boleto);\r\n this.precio_boleto = data[0].costo;\r\n\r\n this.info_boleto = [];\r\n ////console.log(\"Aquiiiiiii\", this.info_boleto);\r\n\r\n\r\n ////console.log(\"THREE\", data[0].folio);\r\n\r\n\r\n ////console.log(this.boleto.folio);\r\n this.girar();\r\n\r\n ////console.log(this.info_boleto);\r\n if (data[0].folio == null || data[0].folio == '') {\r\n this.Msgvisible();\r\n }\r\n },\r\n (err) => {\r\n console.error(err);\r\n this.Msgvisible();\r\n },\r\n () =>\r\n ////console.log('done loading boletos')\r\n { }\r\n );\r\n }\r\n\r\n deleteNumbers(numerosBoletos) {\r\n for (let i = 0; i < 6; i++) {\r\n let number = numerosBoletos[i];\r\n for (let index = 0; index <= parseInt(number); index++) {\r\n $(\"#list-n\" + i + \" li:last\").remove();\r\n }\r\n $(\"#list-n\" + i).removeClass(\"animation-list\" + i);\r\n }\r\n }\r\n\r\n girar() {\r\n let boleto = this.boleto.folio.toString();\r\n let numerosBoletos = boleto.split(\"\");\r\n\r\n setTimeout(() => {\r\n\r\n for (let i = 0; i < 6; i++) {\r\n let number = numerosBoletos[i];\r\n let lis = \"\";\r\n let sizePx = 40;\r\n for (let index = 0; index <= parseInt(number); index++) {\r\n lis += \"
  • \" + index + \"
  • \";\r\n }\r\n\r\n $(\"#list-n\" + i).append(lis);\r\n\r\n sizePx *= parseInt(number);\r\n sizePx = -760 - sizePx - 40;\r\n ////console.log(sizePx);\r\n document.documentElement.style\r\n .setProperty('--my-start-px' + i, sizePx + \"px\");\r\n $(\"#list-n\" + i).addClass(\"animation-list\" + i);\r\n }\r\n setTimeout(() => {\r\n this.flag_buy_loader = false;\r\n this.flag_buy_btn = true;\r\n this.flag_buy = false;\r\n }, 5500);\r\n }, 100);\r\n\r\n\r\n this.flagGirar = true;\r\n\r\n\r\n }\r\n efectuarPago2() {\r\n\r\n //this.boleto_ = null;\r\n this.popstate = this._session.getDBEstadoPopUp();\r\n // if (this.popC != 0 && this.popC != 2 && this.popstate == 'true') {\r\n // this._session.setPopstate(0);\r\n // }\r\n\r\n var ls = this._local.getBoletosGenerados();\r\n //console.log(ls);\r\n this.boletos_generados = ls == null ? [] : JSON.parse(ls);\r\n //this.box.hidden = true;\r\n this._session.setBoletosCol(0);\r\n\r\n // this._local.getBoletosGenerados() = ;\r\n\r\n var date = new Date();\r\n this._local.setFechaInicio(date);\r\n this._local.setFechaFin(date);\r\n //console.log(this.boletos.filter((boleto) => boleto['marcado'] === true));\r\n var info_bol = this.boletos.filter((boleto) => boleto['marcado'] === true);\r\n ////console.log(\"Infor de boletos\", info_bol)\r\n info_bol.forEach((element) => {\r\n // delete element['pk_boleto'];\r\n // delete element['pk_colaborador'];\r\n // delete element['clave_colaborador'];\r\n // delete element['marcado'];\r\n // console.log(\"ciclando boleto: \", element);\r\n //console.log(\"Conteo existe boleto: \", this.boletos_generados.filter(bol => bol[\"folio\"] === element[\"folio\"]).length);\r\n if (this.boletos_generados.filter((bol) => bol['folio'] === element['folio']).length == 0) {\r\n // console.log(\"Agregando boleto:\", element);\r\n this.boletos_generados.push(element);\r\n }\r\n });\r\n\r\n this._local.setBoletosGenerados(this.boletos_generados);\r\n\r\n this.st.startTimer();\r\n this._session.setTiposPago(this.tipos_pago);\r\n sessionStorage.setItem('pagina', 'Home');\r\n sessionStorage.setItem('texto', 'Gracias por participar en nuestro Sorteo');\r\n sessionStorage.setItem('tipoBoleto', 'Modal folios zodiaco ');\r\n this.router.navigate(['carrito-compra']);\r\n\r\n\r\n }\r\n /*FIN NUEVO */\r\n\r\n efectuarPago() {\r\n\r\n this.boleto_ = null;\r\n this.popstate = this._session.getDBEstadoPopUp();\r\n if (this.popC != 0 && this.popC != 2 && this.popstate == 'true') {\r\n this._session.setPopstate(0);\r\n }\r\n\r\n var ls = this._local.getBoletosGenerados();\r\n this.boletos_generados = ls == null ? [] : JSON.parse(ls);\r\n this._session.setBoletosCol(0);\r\n // Si metodo=true y btnElegir es igual al parametro que mando el boton Agregar a Carrito, inserta add-cart!\r\n if (this.metodo) {\r\n var date = new Date();\r\n this._local.setFechaInicio(date);\r\n this._local.setFechaFin(date);\r\n\r\n this.boletos_generados.push(this.boleto);\r\n\r\n this._local.setBoletosGenerados(this.boletos_generados);\r\n\r\n this.st.startTimer();\r\n this._session.setTiposPago(this.tipos_pago);\r\n sessionStorage.setItem('pagina', 'Home');\r\n sessionStorage.setItem('tipoBoleto', 'Maquinita Suerte');\r\n sessionStorage.setItem('texto', 'Gracias por participar en nuestro Sorteo');\r\n this.router.navigate(['carrito-compra']);\r\n } else if (!this.metodo) {\r\n // this._local.getBoletosGenerados() = ;\r\n\r\n var date = new Date();\r\n this._local.setFechaInicio(date);\r\n this._local.setFechaFin(date);\r\n var info_bol = this.boletos.filter((boleto) => boleto['marcado'] === true);\r\n ////console.log(\"Infor de boletos\", info_bol)\r\n info_bol.forEach((element) => {\r\n ////console.log(\"ciclando boleto: \", element);\r\n ////console.log(\"Conteo existe boleto: \", this.boletos_generados.filter(bol => bol[\"folio\"] === element[\"folio\"]).length);\r\n if (this.boletos_generados.filter((bol) => bol['folio'] === element['folio']).length == 0) {\r\n ////console.log(\"Agregando boleto:\", element);\r\n this.boletos_generados.push(element);\r\n }\r\n });\r\n this._local.setBoletosGenerados(this.boletos_generados);\r\n\r\n this.st.startTimer();\r\n this._session.setTiposPago(this.tipos_pago);\r\n sessionStorage.setItem('pagina', 'Home');\r\n sessionStorage.setItem('tipoBoleto', 'Modal folios ');\r\n sessionStorage.setItem('texto', 'Gracias por participar en nuestro Sorteo');\r\n this.router.navigate(['carrito-compra']);\r\n }\r\n this.metodo = false;\r\n }\r\n //Metodo para habilitar btn en caso de buscar boleto\r\n btnable(check) {\r\n if (check) {\r\n this.checkC++;\r\n } else {\r\n this.checkC--;\r\n }\r\n if (this.checkC > 0) {\r\n this.botonDisabled = false;\r\n } else {\r\n this.botonDisabled = true;\r\n }\r\n }\r\n\r\n // Funcion para buscar boletos para registrar como perpetuos en DB\r\n SetLuckyBoleto(boletol) {\r\n if (boletol != '') {\r\n this.miSeleccion = { numero: boletol, mecanismo: 'option_termination', pkcolab: this.pkcolab };\r\n this._HomeService.getLuckyBol(this.miSeleccion).subscribe((data) => {\r\n ////console.log(\"No boletos\");\r\n ////console.log(data.length)\r\n ////console.log(\"Boletos\")\r\n ////console.log(data);\r\n if (data.length == 0) {\r\n //Si no hay boletos disponibles\r\n this.boletosLuck = data;\r\n data = '';\r\n this.mensajeError = 'Desafortunadamente el boleto(s) ya está reservado(s). Intenta con otro.';\r\n this.PopBoleto = false;\r\n this.Error = true;\r\n this.ErrorSuerte = false;\r\n } else if (data[0].clave == 0) {\r\n //Si el boleto no existe\r\n this.boletosLuck = data;\r\n data = '';\r\n this.mensajeError = 'Desafortunadamente el boleto no existe. Intenta con otro.';\r\n this.PopBoleto = false;\r\n this.Error = true;\r\n this.ErrorSuerte = false;\r\n } else if (data[0].clave == 1 && data[0].folio == 'Reservado') {\r\n //Si el boleto está reservado\r\n this.boletosLuck = data;\r\n data = '';\r\n this.mensajeError = 'Desafortunadamente el boleto(s) ya está reservado(s). Intenta con otro.';\r\n this.PopBoleto = false;\r\n this.Error = true;\r\n this.ErrorSuerte = false;\r\n } // Si encuentra boletos para registrar\r\n else {\r\n this.boletosLuck = data;\r\n this.boletosLuckfil = this.boletosLuck.filter((item, index) => index < 3);\r\n this.Error = false;\r\n this.PopBoleto = true;\r\n this.contlck = 3;\r\n ////console.log(\"Correcto\");\r\n }\r\n });\r\n } else {\r\n this.PopBoleto = false;\r\n }\r\n }\r\n // Metodo para rotacion de boletos de la suerte\r\n GetLuckyPermBoleto() {\r\n if (this.contlck <= this.boletosLuck.length) {\r\n this.contlck = this.contlck + 3;\r\n var ind = this.contlck - 3;\r\n this.boletosLuckfil = [];\r\n var i = 0;\r\n for (ind; ind < this.contlck; ind++) {\r\n if (this.boletosLuck.length <= ind) {\r\n //Si solo queda un boleto, lo centra\r\n // document.getElementById(\"Mas\").hidden = true;\r\n var lck = this.boletosLuckfil[0];\r\n this.boleto = undefined;\r\n this.boleto.estado_boleto = 'Null';\r\n this.boletosLuckfil = [];\r\n this.boletosLuckfil.push(this.boleto);\r\n this.boletosLuckfil.push(lck);\r\n this.boletosLuckfil.push(this.boleto);\r\n return 0;\r\n }\r\n this.boletosLuckfil[i] = this.boletosLuck[ind];\r\n i++;\r\n }\r\n\r\n //this.boletosLuckfil = this.boletosLuck.filter((item, index) => index>=ind && index < this.contlck);\r\n // if(this.contlck>=this.boletosLuck.length){\r\n // \tdocument.getElementById(\"Mas\").hidden = true;\r\n // }\r\n // }else{\r\n // \tdocument.getElementById(\"Mas\").hidden = true;\r\n // }\r\n }\r\n }\r\n //Metodo para cerrar pop Boletos de la Suerte\r\n CloseLuckyBoleto() {\r\n this.contlck = 0;\r\n this.boletosLuckfil = [];\r\n this.PopBoleto = false;\r\n }\r\n\r\n //Metodo para buscar boleto de la suerte en DB\r\n Registrobol(boleto) {\r\n this.SetLuckyBoleto(boleto);\r\n //this.offbtnMas();\r\n }\r\n\r\n //Funcion para registrar boletos como perpetuos\r\n RegistroDatos() {\r\n if (this.formDatosComprador.valid) {\r\n var info_bol = this.boletosLuckfil.filter((boleto) => boleto['marcado'] === true);\r\n info_bol.forEach((element) => {\r\n ////console.log(\"ciclando boleto: \", element);\r\n ////console.log(\"Conteo existe boleto: \", this.boletosLuckfil.filter(bol => bol[\"folio\"] === element[\"folio\"]).length);\r\n if (this.boletosLuckfil.filter((bol) => bol['folio'] === element['folio']).length == 0) {\r\n ////console.log(\"Agregando boleto:\", element);\r\n this.boletosLuckfil.push(element);\r\n }\r\n });\r\n for (var i = 0; i < info_bol.length; i++) {\r\n info_bol[i].comprador = this.Info;\r\n }\r\n ////console.log(info_bol);\r\n if (info_bol.length > 0) {\r\n this._HomeService.setLuckyBol(info_bol).subscribe((data) => {\r\n //var patt1 = /\\d/g;\r\n var result = data.match(/(\\d+)/);\r\n if (data == 'Exitoso') {\r\n //this.boletos = data;\r\n //data = \"\";\r\n alert('Registro completo');\r\n } else if (result != null) {\r\n alert(\r\n 'Ocurrio un error al registrar el boleto: ' +\r\n result[0] +\r\n '\\nSe ha alcanzado el limite de boletos reservados.'\r\n );\r\n } else if (data == 'ErrorComprador') {\r\n alert('Ocurrio un error al registrar sus datos');\r\n }\r\n this.CloseLuckyBoleto();\r\n document.getElementById('ListBol').hidden = true;\r\n });\r\n } else {\r\n alert('Selecciona al menos un boleto');\r\n }\r\n } else {\r\n alert('Favor de llenar el formulario correctamente');\r\n }\r\n }\r\n\r\n //Funcion para controlar PopUp desde DB\r\n PopActive() {\r\n this._HomeService.getEstadoPopUp().subscribe((data) => {\r\n //EstadoPopUp\r\n this._session.setDBEstadoPopUp(data);\r\n });\r\n }\r\n\r\n CerrarPopColaborador() {\r\n this.popColaborador = false;\r\n }\r\n\r\n private ValidaLigaUnica() {\r\n this.route.params.subscribe((params) => {\r\n ////console.log(params); //log the entire params object\r\n //Si es liga de colaborador\r\n if (params['liga_colaborador'] != null) {\r\n var datosliga = params['liga_colaborador'];\r\n // RegExp para separar las palabras delimitadas por _\r\n var ligaConmedio = datosliga.match(\r\n /([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)/\r\n );\r\n ////console.log(ligaConmedio);\r\n if (ligaConmedio == null) {\r\n var liga = datosliga.match(\r\n /([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)/\r\n );\r\n ////console.log(liga);\r\n this.pkcolab = liga[5];\r\n } else {\r\n this.pkcolab = ligaConmedio[5];\r\n }\r\n this._local.setPKColab(this.pkcolab);\r\n this._local.setMecanismoColabExt('PasaLaVoz');\r\n this.popColaborador = true;\r\n } else {\r\n this.popColaborador = false;\r\n }\r\n });\r\n this.route.queryParams.subscribe((params) => {\r\n if (params.pb) {\r\n this._local.setPaybackref(1);\r\n }\r\n });\r\n }\r\n\r\n /** CAMBIOS LUIS AGUILAR WECODE */\r\n //Funcion para registrar datos de redirecciones por campaña\r\n private ChecaCampania() {\r\n this.route.queryParams.subscribe((params) => {\r\n if (params['utm_campaign']) {\r\n let registeredCampaingnData = this._local.getCampaingnData();\r\n if (registeredCampaingnData && registeredCampaingnData['correo']) {\r\n\r\n } else {\r\n this._local.setCampaingnData(params);\r\n }\r\n }\r\n });\r\n }\r\n /** END CAMBIOS LUIS AGUILAR WECODE */\r\n}\r\n","
    \n
    \n
    \n \n
    \n \"Premio\"\n\n
    \n\n
    \n \"Sorteo\n
    \n\n
    \n
    \n
    \n\n\n\n\n\n\n\n\n\n
    \n
    \n
    \n\n
    \n

    \n Máquina de la suerte\n

    \n

    \n Descubre tu número de la suerte\n

    \n
    \n\n\n
    \n\n
    \n
    \n \"Sorteo\n
    \n\n
    \n\n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n
    \n
    \n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n\n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n\n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n\n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n\n
    \n\n
    \n \n\n\n\n
    \n

    \n Generando tu número...\n

    \n \n \n\n
    \n\n\n
    \n Por el momento no contamos con boletos disponibles\n
    \n \n
    \n El boleto ya no se encuentra disponible, favor de escoger otro\n
    \n\n\n\n
    \n\n\n
    \n\n\n
    \n\n
    \n
    \n

    FECHA DEL SORTEO

    \n

    20 . nov . 2025

    \n\n

    COSTO BOLETO

    \n\n \n $500\n \n\n
    \n
    \n\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    \n o selecciona tus boletos por:\n

    \n
    \n\n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n\n \n
    \n \n
    \n\n
    \n \n
    \n\n \n
    \n \n
    \n
    \n \n
    \n\n \n\n
    \n \n
    \n
    \n \n \n
    \n\n\n\n
    \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    0\">\n \n
    \n\n\n\n\n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \n
    CONOCE LOS PREMIOS
    \n\n
    \n\n \n
    \n \n
    \n \"image\"\n
    \n\n \n
    \n

    {{ image.title }}

    \n

    {{ image.subtitle }}

    \n

    {{ image.place }}

    \n

    {{ image.subplace }}

    \n

    {{ image.price }}

    \n\n
    \n
    \n
    \n\n\n\n
    \n \n \n
    \n\n
    \n \n
    \n\n\n\n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \n
    Boletos generados numeros {{ formattedNumbers.join(', ') }}
    \n \n
    \n\n
    \n
    Boletos generados
    \n \n
    \n\n
    \n
    \n\n
    \n \n
    \n\n\n
    \n\n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n
    \n
    Boletos generados
    \n \n
    \n
    \n
    \n\n
    \n

    \n {{ mensajeError }}\n

    \n
    \n\n
    \n

    \n En este Sorteo el boleto no está disponible\n ¿deseas que te lo reservemos para el próximo Sorteo?\n

    \n \n
    \n\n\n\n
    \n \n
    \n\n
    \n\n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n\n\n\n
    \n
    \n\n \n \n\n
    \n
    \n \n\n \n
    \n
    \n
    \n \n
    \n\n
    \n
    \n
    \n \n \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n\n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { HttpService } from '../../services/http.service';\nimport { Observable } from 'rxjs';\n\n@Injectable()\nexport class HomeService extends HttpService {\n constructor(public _http: HttpClient) {\n super(_http);\n }\n\n // Uses http.get() to load data from a single API endpoint\n getBoletoTablero(pkcolab) {\n const url = `${this.apiURL}/api/TombolaBoleto`;\n // console.log(pkcolab);\n return this.post(url, pkcolab);\n }\n getValidaBoleto(folio) {\n const url = `${this.apiURL}/api/BoletosWeb/ValidaBoleto/${folio}`;\n return this.get(url);\n }\n postBoletoConditioned(obj) {\n const url = `${this.apiURL}/api/BoletosWeb/Seleccion`;\n return this.post(url, obj);\n }\n getLuckyBol(obj) {\n //Lista de boletos para registrar como perpetuos\n const url = `${this.apiURL}/api/BoletosWeb/GetLuckyBol_Perm`;\n return this.post(url, obj);\n }\n setLuckyBol(obj) {\n // Boletos enviados a Back para registrar como perpetuos\n //(obj[0].comprador);\n const url = `${this.apiURL}/api/BoletosWeb/Registro_BoletoPerpetuo`;\n return this.post(url, obj);\n }\n getEstadoPopUp() {\n // Estado de Pop según DB\n const url = `${this.apiURL}/api/EstadoPopUp`;\n return this.get(url);\n }\n\n\n getToken() {\n /*local*/\n const body = {\n \"correo\": \"ejemplo@gmail.com\",\n \"tipo_usuario\": \"0\",\n \"tipo_seguridad\": \"GCSaTPT6rUlfbDAriV5i4kIoS0w0d3oCXAh6v\"\n\n };\n //test \n /*\n const body = {\n \"correo\": \"ejemplo@gmail.com\",\n \"tipo_usuario\": \"0\",\n \"tipo_seguridad\": \"TDBHNjNuczNDdVIxVDNUQCNLM05CVFIqMjI0JTUzYzgzVA==\"\n\n };*/\n /*prod\n const body = {\n \"correo\": \"ejemplo@gmail.com\",\n \"tipo_usuario\": \"0\",\n \n \"tipo_seguridad\": \"dDBrM25EM1MzZ1U3SWRARDlAclFTM3ZpQzAyJCUjQTlJcyRlIzNQNXIwZFU1NTFPbmMyMXNUM200YXM=\"\n \n };*/\n return this._http.post(`${this.apiURL}/api/Seguridad/Token`, body);\n }\n\n getActiveZod(tokenS: string) {\n const headers = new HttpHeaders({\n 'Authorization': 'Bearer ' + tokenS\n });\n return this._http.get(`${this.apiURL}/api/BoletosWeb/SeleccionInformacionZodiaco`, { headers });\n }\n\n getBoletosZod(num1: string, num2: string, tokenS: string, pkCampania: string): Observable {\n const headers = new HttpHeaders({\n 'Authorization': 'Bearer ' + tokenS\n });\n const obj = {\n terminacionUno: num1,\n terminacionDos: num2\n };\n \n return this._http.post(`${this.apiURL}/api/BoletosWeb/SeleccionBoletoZodiaco?claveCampania=${pkCampania}`, obj, { headers });\n\n }\n}\n","interface Scripts {\n name: string;\n src: string;\n text: string;\n noscriptsrc: string;\n}\nexport const ScriptStore: Scripts[] = [\n {\n name: 'tradetracker',\n src: '../../assets/Js/tradetrackerscript.js',\n text: \"var ttConversionOptions = ttConversionOptions || []; ttConversionOptions.push({type: 'sales',campaignID: '34569',productID: '54299',transactionID: 'ORDER_ID',transactionAmount: 'ORDER_AMOUNT',quantity: '1',descrMerchant: '',descrAffiliate: '',vc: '',currency: ''});(function(ttConversionOptions) {var campaignID = 'campaignID' in ttConversionOptions ? ttConversionOptions.campaignID : ('length' in ttConversionOptions && ttConversionOptions.length ? ttConversionOptions[0].campaignID : null);var tt = document.createElement('script'); tt.type = 'text/javascript'; tt.async = true; tt.src = '//tm.tradetracker.net/conversion?s=' + encodeURIComponent(campaignID) + '&t=m';var s = document.getElementsByTagName('script'); s = s[s.length - 1]; s.parentNode.insertBefore(tt, s);})(ttConversionOptions);\",\n noscriptsrc:\n '//ts.tradetracker.net/?cid=34569&pid=54299&tid=ORDER_ID&tam=ORDER_AMOUNT&data=&qty=1&descrMerchant=&descrAffiliate=&event=sales&currency=MXN&vc=',\n },\n {\n name: 'gtag',\n src: '../../assets/Js/tradetrackerscript.js',\n text: \"dataLayer.push({ ecommerce: null }); dataLayer.push({ event: 'purchase', 'ecommerce': { 'purchase': { 'actionField': {'id': 'ORDER_ID','affiliation': 'Sorteo Anáhuac','revenue': ORDER_AMOUNT,'tax':'0','shipping': '0','coupon': ''},'products': [BOLETOS]}}});\",\n noscriptsrc: '',\n },\n];\n","import { Component, OnInit } from '@angular/core';\nimport { FormControl, Validators } from '@angular/forms';\nimport { Meta, Title } from '@angular/platform-browser';\nimport { Router } from '@angular/router';\nimport { MyHttpGetService } from '../services/http.services.token';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { SessionstorageService } from '../services/sessionstorage.service';\n\n@Component({\n selector: 'Login',\n templateUrl: './login.component.html',\n styleUrls: ['./login.component.scss'],\n providers: [MyHttpGetService, LocalstorageService, SessionstorageService],\n})\nexport class LoginComponent implements OnInit {\n public inputEmail: string = '';\n public inputPassword: string = '';\n public correoComprador: string = '';\n public tipoLogin: number = 1;\n public infoColaborador: Array;\n public mensaje: string = '';\n public mostrarMsj: boolean = false;\n public body: { correo: string } = { correo: '' };\n\n constructor(\n private myGetService: MyHttpGetService,\n private _local: LocalstorageService,\n private router: Router,\n private _session: SessionstorageService\n ) {}\n\n ngOnInit(): void {}\n\n public entrar(correo: string) {\n ////console.log(\"entro a funcion\");\n const patronCorreo = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/;\n var correoReplace = correo.split('.').join('!');\n ////console.log(correoReplace);\n this.body.correo = correo;\n\n\n if (patronCorreo.test(correo)) {\n this.myGetService.postData(this.body, 'api/BoletosWeb/ClaveColaborador').subscribe((res) => {\n ////console.log(res.json());\n if (res.json().length > 0) {\n ////console.log('Tengo resultados');\n this._local.deleteBoletosGenerados();\n this._local.deleteBoletosRecomendados();\n sessionStorage.setItem('pagina', 'pagar-boletos-en-linea');\n sessionStorage.setItem('tipoBoleto', 'Colaborador pago boleto micrositio');\n sessionStorage.setItem('texto', 'Gracias por sumarte a Sorteo Anáhuac, con tu boleto ayudaras a muchos estudiantes');\n this.router.navigate(['pagar/1/' + res.json()]);\n }\n });\n }\n \n }\n\n private entrarPago() {\n this.router.navigate(['carrito-compra']);\n }\n\n\n //soy comprador\n public entrarPagoCorreo(correo: String) {\n const patronCorreo = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/;\n var correoReplace = correo.split('.').join('!');\n ////console.log(correoReplace);\n this._local.deleteBoletosGenerados();\n this._local.deleteBoletosRecomendados();\n this._session.setTipoAsignado(2);\n if (patronCorreo.test(this.inputEmail)) {\n sessionStorage.setItem('pagina', 'pagar-boletos-en-linea');\n sessionStorage.setItem('tipoBoleto', 'Comprador pago boleto micrositio');\n sessionStorage.setItem('texto', 'Gracias por sumarte a Sorteo Anáhuac, con tu boleto ayudaras a muchos estudiantes');\n this.router.navigate(['pagar/2/' + correoReplace]);\n }\n \n }\n\n public compartirBoletos(correo: String) {\n const control = new FormControl(correo, Validators.compose([Validators.email, Validators.required]));\n ////console.log(control.errors);\n if(control.errors == null){\n var colaborador = correo;\n this._local.deleteBoletosGenerados();\n this._local.deleteBoletosRecomendados();\n this.router.navigate(['compartir-boleto'],{ queryParams: {correo: colaborador}, skipLocationChange: true});\n }\n else{\n if(control.errors.required){\n this.mensaje = \"El campo no debe estar vacío.\";\n }\n if(control.errors.email){\n this.mensaje = \"Formato de correo inválido.\";\n }\n this.mostrarMsj = true;\n }\n }\n\n private makeUuid() {\n var text = '';\n var possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n\n for (var i = 0; i < 30; i++) text += possible.charAt(Math.floor(Math.random() * possible.length));\n\n return text;\n }\n}\n","
    \n
    \n \n
    \n \n\n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n\n
    \n
    \n \n
    \n \n \n Ingresa un correo valido\n \n Ver Boletos\n \n \n
    \n
    \n \n \n
    \n
    \n \n \n Ingresa un correo valido\n\n {{ mensaje }}\n
    \n \n \n Ver Boletos\n \n \n
    \n
    \n \n
    \n \n \n {{mensaje}}\n Ingresa un correo valido\n \n Compartir Boletos\n \n \n
    \n
    \n
    \n\n \n
    \n
    ","export class BoletoValidar {\n folioBoleto: string;\n} ","import { Component } from '@angular/core';\n\n@Component({\n selector: 'nav-menu',\n templateUrl: './navmenu.component.html',\n styleUrls: ['./navmenu.component.css']\n})\nexport class NavMenuComponent {\n}\n","\n","import { Component, OnInit } from '@angular/core';\nimport { Meta } from '@angular/platform-browser';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport * as base64 from 'base-64';\nimport { MyHttpGetService } from '../services/http.services.token';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { SessionstorageService } from '../services/sessionstorage.service';\nimport { TimerService } from '../timer/timer.service';\n\n@Component({\n selector: 'app-pagar',\n templateUrl: './pagar.component.html',\n styleUrls: ['./pagar.component.scss'],\n})\nexport class PagarComponent implements OnInit {\n public pendiente: number = 0;\n public spin: any;\n\n constructor(\n private _session: SessionstorageService,\n private _local: LocalstorageService,\n private router: Router,\n private route: ActivatedRoute,\n private myGetService: MyHttpGetService,\n private st: TimerService,\n private meta: Meta\n ) {\n this.meta.updateTag({ name: 'title', content: 'Paga tus boletos del Sorteo Anáhuac en línea' });\n this.meta.updateTag({\n name: 'description',\n content:\n 'Ingresa y realiza el pago online de tus boletos del Sorteo Anáhuac 6ª Edición usando tu tarjeta de crédito o débito.',\n });\n }\n\n ngOnInit() {\n ////console.log('entrando a controlador');\n\n var cont = this._session.getContCarrito();\n if (parseInt(cont) != 1) {\n this.route.params.subscribe((params) => {\n \n //console.log(params) //log the entire params object\n ////console.log(params['id']) //log the value of id\n this.spin = document.getElementById('spin');\n this.spin.hidden = false;\n this._local.removePKColab();\n ///pago uno o varios boletos\n if (params['id'] == '1') {\n var colab = params['pk'];\n this._session.setColab(colab);\n ////console.log(\"Es un colaborador \" + colab);\n this._session.setTipoAsignado(1);\n this._session.setBoletosCol(2);\n\n ////console.log(\"Es false\");\n\n if (params['boleto']) {\n var boleto = params['boleto'];\n ////console.log('Pagar solo un boleto');\n this.myGetService.getPagoColaborador({}, 'api/BoletosWeb/PagoBoleto', boleto).subscribe(\n (result) => {\n ////console.log(result.json());\n if (result.json().length > 0) {\n sessionStorage.setItem('pagina', 'APP Boleto - btn pagar - btn pagar o pagar inmediatamente despues de rotular');\n sessionStorage.setItem('tipoBoleto', 'Pago de un solo boleto rotulado en app ');\n sessionStorage.setItem('texto', 'Gracias por ayudar a la educación');\n ////console.log('Tengo resultados');\n this._session.setTiposPago(2);\n this._local.setBoletosAsignados(result.json());\n this.router.navigate(['carrito-compra']);\n } else {\n this.spin.hidden = true;\n ////console.log('No tengo resultados');\n this.pendiente = 1;\n }\n },\n (error) => {\n this.spin.hidden = true;\n ////console.log(\"error de usuario o contraseña\");\n }\n );\n } else {\n ////console.log('Pagar muchos boletos');\n this.myGetService.getPagoColaborador({}, 'api/BoletosWeb/PagoSaldo', parseInt(colab)).subscribe(\n (result) => {\n ////console.log(result.json());\n if (result.json().length > 0) {\n ////console.log('Tengo resultados');\n sessionStorage.setItem('pagina', 'APP - Estado de cuenta');\n sessionStorage.setItem('tipoBoleto', 'Pagar todos los rotulados en app y que esten pendientes de pago');\n sessionStorage.setItem('texto', 'Gracias por ayudar a la educación');\n this._session.setTiposPago(2);\n this._local.setBoletosAsignados(result.json());\n this.router.navigate(['carrito-compra']);\n } else {\n this.spin.hidden = true;\n ////console.log('No tengo resultados');\n this.pendiente = 1;\n }\n },\n (error) => {\n this.spin.hidden = true;\n ////console.log(\"error de usuario o contraseña\");\n }\n );\n }\n } else if (params['id'] == '4') {\n\n ////console.log(\"Es un comprador queriendo pagar su boleto ind\");\n //liga compartida un boleto\n this._session.setTipoAsignado(2);\n this._session.setBoletosCol(1);\n var boletoInd = params['pk'];\n ////console.log(boletoInd);\n this.myGetService.getPagoCompradorBoletoInd({}, 'api/BoletosWeb/PagoBoletoIndividual/', boletoInd).subscribe(\n (result) => {\n ////console.log(result.json());\n if (result.json().length > 0) {\n ////console.log('Tengo resultados');\n ////console.log(result.json());\n ////console.log(result.json()[0].correo_comprador);\n this._session.setTiposPago(3);\n this._session.setCorreoComp(result.json()[0].correo_comprador);\n this._local.setBoletosAsignados(result.json());\n sessionStorage.setItem('pagina', 'APP Boleto - btn pagar - btn compartir liga');\n sessionStorage.setItem('tipoBoleto', 'Liga compartida a comprador desde APP');\n sessionStorage.setItem('texto', 'Gracias por ayudar a la educación');\n this.router.navigate(['carrito-compra']);\n } else {\n this.spin.hidden = true;\n ////console.log('No tengo resultados');\n this.pendiente = 1;\n }\n },\n (error) => {\n this.spin.hidden = true;\n ////console.log(\"error de usuario o contraseña\");\n //this.router.navigate([\"compra-en-linea-boletos-sorteo-anahuac\"]);\n }\n );\n } else if (params['id'] == '9') {\n ////console.log(\"Es un comprador queriendo pagar muchos boletos\");\n \n this._session.setTipoAsignado(2);\n this._session.setTiposPago(2);\n this._session.setBoletosCol(1);\n var grupoBoletos = params['pk'];\n this.myGetService\n .getPagoCompradorVariosBoletos({}, 'api/BoletosWeb/PagoVariosBoletos/', grupoBoletos)\n .subscribe(\n (result) => {\n ////console.log(result.json());\n if (result.json().length > 0) {\n // for each de boletos en el servicio enviar al carrito\n this._local.setBoletosAsignados(result.json());\n sessionStorage.setItem('pagina', 'APP Boletos - Vender varios');\n sessionStorage.setItem('tipoBoleto', 'Se selecciona mas de una boleto en app y se venden todos juntos');\n sessionStorage.setItem('texto', 'Gracias por ayudar a la educación');\n this.router.navigate(['carrito-compra']);\n } else {\n this.spin.hidden = true;\n ////console.log('No tengo resultados');\n this.pendiente = 1;\n }\n },\n (error) => {\n this.spin.hidden = true;\n ////console.log(\"error de usuario o contraseña\");\n //this.router.navigate([\"compra-en-linea-boletos-sorteo-anahuac\"]);\n }\n );\n } else if (params['id'] == '7') {\n ////console.log(\"Boleto de la suerte\")\n\n this._session.setTiposPago(1);\n this._session.setTipoAsignado(2);\n this._session.setBoletosCol(1);\n var boletoSuerte = params['pk'];\n this._session.setBoletoSuerteComprador(boletoSuerte);\n var date = new Date();\n this._local.setFechaInicio(date);\n this._local.setFechaFin(date);\n this.myGetService.getInfoCompra('api/BoletosWeb/PagoBoletoSuerte', boletoSuerte).subscribe(\n (result) => {\n ////console.log(result.json());\n if (result.json().length > 0) {\n // for each de boletos en el servicio enviar al carrito\n this._local.setBoletosRecomendados(result.json());\n sessionStorage.setItem('pagina', 'Boletos de la suerte');\n sessionStorage.setItem('tipoBoleto', 'Se rotula desde boleto de la suerte');\n sessionStorage.setItem('texto', 'Gracias por participar en nuestro Sorteo');\n this.router.navigate(['carrito-compra']);\n } else {\n this.spin.hidden = true;\n ////console.log('No tengo resultados');\n this.pendiente = 3;\n }\n },\n (error) => {\n this.spin.hidden = true;\n ////console.log(\"error de usuario o contraseña\");\n //this.router.navigate([\"compra-en-linea-boletos-sorteo-anahuac\"]);\n }\n );\n } else if (params['id'] == '11') {\n ////console.log(\"Boleto de la suerte\");\n this._session.setTiposPago(1);\n this._session.setTipoAsignado(2);\n this._session.setBoletosCol(1);\n var boletoPerpetuo = params['pk'];\n this._session.setBoletoSuerteComprador(boletoPerpetuo);\n var date = new Date();\n this._local.setFechaInicio(date);\n this._local.setFechaFin(date);\n //debugger;\n this.myGetService.getInfoCompra('api/BoletosWeb/PagoBoletoperpetuo', boletoPerpetuo).subscribe(\n (result) => {\n console.log(result.json());\n if (result.json().length > 0) {\n // for each de boletos en el servicio enviar al carrito\n sessionStorage.setItem('pagina', 'Boleto perpetuo');\n sessionStorage.setItem('tipoBoleto', 'Se rotula desde boleto perpetuo');\n sessionStorage.setItem('texto', 'Gracias por participar en nuestro Sorteo');\n this._local.setBoletosRecomendados(result.json());\n this.router.navigate(['carrito-compra']);\n } else {\n this.spin.hidden = true;\n ////console.log('No tengo resultados');\n this.pendiente = 3;\n }\n },\n (error) => {\n this.spin.hidden = true;\n ////console.log(\"error de usuario o contraseña\");\n //this.router.navigate([\"compra-en-linea-boletos-sorteo-anahuac\"]);\n }\n );\n }\n else if (params['id'] == '5') {\n //Desde sorteo mx\n ////console.log(\"Compra desde sorteoMX\");\n this._session.setBoletosCol(0);\n this.route.queryParams.subscribe((params) => {\n if (params.pb) {\n this._local.setPaybackref(1);\n }\n });\n\n var boletoSorteoMX = JSON.parse(base64.decode(params['pk']));\n\n this.myGetService.postData(boletoSorteoMX, 'api/BoletosWeb/ValidaBoletoPublico').subscribe(\n (res) => {\n ////console.log(\"El boleto estaba disponible\")\n ////console.log(res);\n var objeto_boletoSorteoMX: Array = [];\n objeto_boletoSorteoMX.push(boletoSorteoMX);\n ////console.log(JSON.parse(base64.decode(params['pk'])))\n\n var tipos_pago: number = 1;\n\n var date = new Date();\n this._local.setFechaInicio(date);\n this._local.setFechaFin(date);\n\n this._local.setBoletosGenerados(objeto_boletoSorteoMX);\n\n this.st.startTimer();\n this._session.setTiposPago(tipos_pago);\n sessionStorage.setItem('pagina', 'pagina webb');\n sessionStorage.setItem('tipoBoleto', 'Se trae desde maquinita de la suerte sorteo mx');\n sessionStorage.setItem('texto', 'Gracias por participar en nuestro Sorteo');\n this.router.navigate(['carrito-compra']);\n },\n (err) => {\n this.spin.hidden = true;\n ////console.log(\"El boleto no estaba disponible\");\n this.pendiente = 2;\n }\n );\n } else\n if (params['id'] == '20') {\n //Desde sorteo mx\n // debugger;\n //console.log(\"Boletos egresado\");\n // console.log(params.pk + \" -- \"+ params['id'] );\n\n const pk_egresado = Number(params['pk']);\n\n const pk_egr = { pk_egresado: pk_egresado }; \n const pk_egrJSON = JSON.stringify(pk_egr);\n //console.log(pk_egrJSON );\n\n var date = new Date();\n this._local.setFechaInicio(date);\n this._local.setFechaFin(date);\n\n // Guardar un dato en sessionStorage\n sessionStorage.setItem('pk_egresado', params.pk );\n\n \n\n this.myGetService.getFoliosBoletos( pk_egresado).subscribe(\n (res) => {\n ////console.log(\"El boleto estaba disponible\")\n //console.log(res.json());\n var objeto_boletoSorteoMX: Array = [];\n objeto_boletoSorteoMX.push(res.json());\n //console.log(objeto_boletoSorteoMX);\n\n this._local.setBoletosGenerados(res.json());\n\n this.st.startTimer();\n this._session.setTiposPago(1);\n sessionStorage.setItem('pagina', 'pagina web camapaña egresados');\n sessionStorage.setItem('tipoBoleto', 'Se trae desde campaña de egresados');\n sessionStorage.setItem('texto', 'Gracias por participar en nuestro Sorteo');\n this.router.navigate(['carrito-compra']);\n },\n (err) => {\n this.spin.hidden = true;\n ////console.log(\"El boleto no estaba disponible\");\n this.pendiente = 2;\n }\n );\n } \n \n else {\n ////console.log(\"Es un comprador queriendo pagar su boleto\");\n this._session.setTipoAsignado(2);\n var email = params['pk'].split('!').join('.');\n this._session.setCorreoComp(email);\n this._session.setBoletosCol(1);\n ////console.log(email);\n this.myGetService.getPagoComprador({}, 'api/BoletosWeb/PagoBoletos/', email).subscribe(\n (result) => {\n ////console.log(result.json());\n if (result.json().length > 0) {\n ////console.log('Tengo resultados');\n this._session.setTiposPago(3);\n this._local.setBoletosAsignados(result.json());\n sessionStorage.setItem('pagina', '/pagar-boletos-en-linea');\n sessionStorage.setItem('tipoBoleto', 'Comprador tratando de pagar sus boletos');\n sessionStorage.setItem('texto', 'Gracias por participar en nuestro Sorteo');\n this.router.navigate(['carrito-compra']);\n } else {\n this.spin.hidden = true;\n ////console.log('No tengo resultados');\n this.pendiente = 1;\n }\n },\n (error) => {\n this.spin.hidden = true;\n ////console.log(\"error de usuario o contraseña\");\n }\n );\n }\n });\n } else {\n ////console.log(\"regresaste a home\");\n this.router.navigate(['compra-en-linea-boletos-sorteo-anahuac']);\n }\n }\n}\n","
    \n
    \n\n
    \n
    \n

    Procesando...

    \n

    No hay boletos pendientes por pagar y/o el correo es incorrecto

    \n

    El boleto no se encuentra disponible. Favor de intentar nuevamente

    \n

    El boleto ya no se encuentra disponible.

    \n
    \n
    \n
    \n
    \t\n Loading...\n
    \n
    \n \n
    \n
    \n
    \n \n\n
    \n
    \n\n\n","import { Component, HostListener, OnInit } from '@angular/core';\nimport AOS from 'aos'; // Asegúrate de importar AOS\n\n@Component({\n selector: 'app-premios',\n templateUrl: './premios.component.html',\n styleUrls: ['./premios.component.scss']\n})\nexport class PremiosComponent implements OnInit {\n isSmallScreen: boolean;\n\n premios = [\n {\n id: 'carSlider1',\n title: 'DEPARTAMENTO',\n subtitle: 'AMUEBLADO',\n place: 'BOSQUE REAL FIVE',\n subplace: 'EDO. MÉXICO',\n price: 'VALOR + DE 12 MILLONES',\n imagenes: [\n '/assets/img/sorteo2025/casas/casa1.jpg',\n '/assets/img/sorteo2025/casas/casa1.jpg'\n ],\n number: '1° Premio'\n },\n {\n id: 'carSlider2',\n title: 'DEPARTAMENTO',\n subtitle: 'AMUEBLADO',\n place: 'BREZZA TOWERS MAR',\n subplace: 'CANCÚN',\n price: 'VALOR + DE 12 MILLONES',\n imagenes: [\n '/assets/img/sorteo2025/casas/casa2.jpg',\n '/assets/img/sorteo2025/casas/casa2.jpg'\n ],\n number: '2° Premio'\n },\n {\n id: 'carSlider3',\n title: 'CASA',\n subtitle: 'AMUEBLADA',\n place: 'EL ORIGEN ',\n subplace: 'MÉRIDA',\n price: 'VALOR + DE 8 MILLONES',\n imagenes: [\n '/assets/img/sorteo2025/casas/casa3.jpg',\n '/assets/img/sorteo2025/casas/casa3.jpg'\n ],\n number: '3° Premio'\n },\n {\n id: 'carSlider4',\n title: 'CASA',\n subtitle: 'AMUEBLADA',\n place: 'ZIBATÁ',\n subplace: 'QUERÉTARO',\n price: 'VALOR + DE 5 MILLONES',\n imagenes: [\n '/assets/img/sorteo2025/casas/casa4.jpg',\n '/assets/img/sorteo2025/casas/casa4.jpg'\n ],\n number: '4° Premio'\n },\n {\n id: 'carSlider5',\n title: 'CASA', \n subtitle:'AMUEBLADA', \n place: 'EL CAPRICHO', \n subplace:'PUEBLA', \n price: 'VALOR + DE 5 MILLONES', \n imagenes: [\n '/assets/img/sorteo2025/casas/casa5.jpg',\n '/assets/img/sorteo2025/casas/casa5.jpg'\n ],\n number: '5° Premio'\n },\n ];\n constructor() { }\n\n ngOnInit(): void {\n this.isSmallScreen = window.innerWidth <= 767;\n window.addEventListener('resize', this.onResize.bind(this));\n // setTimeout(() => {\n // document.querySelector(\".byd\").classList.add(\"animate-bounce\");\n // document.querySelector(\".bmw\").classList.add(\"animate-bounce2\");\n // }, 2400);\n\n AOS.init({\n once: true, // Para que las animaciones se activen solo una vez\n startEvent: 'load', // Asegura que las animaciones inicien al cargar la página\n });\n\n // Fuerza la actualización de AOS para que se apliquen las animaciones de inmediato\n AOS.refresh();\n }\n\n\n @HostListener('window:resize', ['$event'])\n onResize(event: Event) {\n this.isSmallScreen = window.innerWidth <= 767;\n }\n}\n","
    \n
    \n
    \n\n
    \n
    \n
    \n\n\n\n\n
    \n
    \n
    \n\n
    \n

    \n ¡DÉJATE \n SORPRENDER \n
    \n CON SORTEO MAGNO!\n

    \n
    \n\n
    \n \"Primer\n
    \n\n\n
    \n

    Primer premio

    \n

    \n Departamento amueblado en Cancún\n

    \n

    Valor más de 12,5 millones

    \n
    \n

    Fecha del Sorteo:
    20 de Noviembre 2025

    \n

    Sede:
    Universidad Anáhuac Cancún

    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n\n \n
    \n
    \n\n\n\n
    \n

    \n DESCUBRE NUESTRAS NUEVAS\n SORPRESAS\n

    \n

    \n Más de 920 increíbles premios! Exclusivas propiedades amuebladas,\n incluyendo un departamento en Cancún y otras 4 impresionantes ubicaciones.\n Además, tendrás la oportunidad de ganar el nuevo Kia K3 y productos Apple de última generación.\n

    \n
    \n\n\n
    \n\n\n\n
    \n
    \n\n\n\n\n\n\n
    \n
    \n
    \n
    \n
    \n ¡SÚMATE A
    SORTEO ANÁHUAC!\n
    \n\n

    \n Y gana apoyando la educación de miles de\n alumnos de la Red de Universidades Anáhuac y\n creemos un mejor futuro para nuestro país.\n\n

    \n
    \n
    \n
    \n
    \n\n\n\n\n\n
    \n
    \n
    \n\n\n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n \n \n \n \n \n
    \n
    \n\n
    \n {{ image.number }}\n

    {{ image.title }}

    \n

    {{ image.subtitle }}

    \n

    {{ image.place }}

    \n

    {{ image.subplace }}

    \n

    {{ image.price }}

    \n

    Precio del boleto: $500

    \n\n ¡COMPRA YA!\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n\n \n \n
    \n {{ image.number }}\n

    {{ image.title }}

    \n

    {{ image.subtitle }}

    \n

    {{ image.place }}

    \n

    {{ image.subplace }}

    \n

    {{ image.price }}

    \n

    Precio del boleto: $500

    \n ¡COMPRA YA!\n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n\n
    \n \n \n
    \n\n\n\n\n
    \n
    \n
    ","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { environment } from 'src/environments/environment';\n\n// import { Config } from '../config';\n@Injectable()\nexport class HttpService {\n apiURL: string;\n\n constructor(protected _http: HttpClient) {\n this.apiURL = environment.UrlBase;\n }\n\n public get(url: string): Observable {\n return this._http.get(url);\n }\n\n public post(url: string, payload: string, token?: string): Observable {\n return this._http.post(url, payload);\n }\n\n public put(url: string, payload: string, token?: string): Observable {\n return this._http.put(url, payload);\n }\n\n public delete(url: string, token: string): Observable {\n return this._http.delete(url);\n }\n}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Headers, Http } from '@angular/http';\nimport * as base64 from 'base-64';\nimport { Observable, throwError } from 'rxjs';\nimport 'rxjs/add/operator/do';\nimport { catchError, map } from 'rxjs/operators';\nimport { environment } from 'src/environments/environment';\nimport * as utf8 from 'utf8';\nimport { Leads } from '../models/Leads';\n\n@Injectable()\nexport class MyHttpGetService {\n private serverUrl = environment.UrlBase;\n\n constructor(private http: Http) {}\n\n getLogin(data: any, path) {\n let options = this.createRequestOptionsLogin(data);\n return this.http.get(encodeURI(this.serverUrl + path), { headers: options }).pipe(map((res) => res));\n }\n\n getPagoComprador(data: any, path, params) {\n return this.http.get(encodeURI(this.serverUrl + path + '?correo=' + params)).pipe(map((res) => res));\n }\n\n getPagoCompradorBoletoInd(data: any, path, params) {\n return this.http.get(encodeURI(this.serverUrl + path + '?boleto=' + params)).pipe(map((res) => res));\n }\n\n getPagoCompradorVariosBoletos(data: any, path, params) {\n return this.http.get(encodeURI(this.serverUrl + path + '?boletos=' + params)).pipe(map((res) => res));\n }\n\n getPagoColaborador(data: any, path, params) {\n return this.http.get(encodeURI(this.serverUrl + path + '?pk1=' + params)).pipe(map((res) => res));\n }\n\n getLigaWebPay(path, params) {\n return this.http.get(encodeURI(this.serverUrl + path + '/' + params)).pipe(map((res) => res));\n }\n\n getInfoCompra(path, params) {\n return this.http.get(encodeURI(this.serverUrl + path + '/' + params)).pipe(map((res) => res));\n }\n\n getInfoOrden(path) {\n return this.serverUrl + path;\n }\n\n private createRequestOptionsLogin(data) {\n var model = data,\n email = model.email.toLowerCase(),\n password = model.password;\n ////console.log(model);\n var str = email + ':' + password;\n var bytes = utf8.encode(str);\n let headers = new Headers();\n headers.set('Authorization', 'Basic ' + base64.encode(bytes));\n headers.set('Content-Type', 'application/json');\n return headers;\n }\n\n private handleError(error: HttpErrorResponse) {\n if (error.error instanceof ErrorEvent) {\n //console.error('An error occurred:', error.error.message);\n } else {\n //console.error(\n //`Backend returned code ${error.status}, ` +\n //`body was: ${error.error}`);\n }\n return throwError('Something bad happened; please try again later.');\n }\n\n postData(data: Object, path) {\n let options = this.createRequestOptions();\n ////console.log(data);\n return this.http.post(encodeURI(this.serverUrl + path), data, { headers: options }).pipe(\n map((res) => res),\n //catchError(this.handleError)\n );\n }\n\n post(path) {\n let options = this.createRequestOptions();\n return this.http.post(encodeURI(this.serverUrl + path), { headers: options }).pipe(map((res) => res));\n }\n\n private createRequestOptions() {\n let headers = new Headers();\n headers.set('Content-Type', 'application/json');\n return headers;\n }\n\n getFoliosBoletos( pk_egresado: number) {\n return this.http.get(`${this.serverUrl}api/Egresado/EgregarCarritoBoletos?pk_egresado=`+pk_egresado);\n }\n\n checkTickets(folios: string): Observable {\n return this.http.get(`http://localhost:2393/api/Boletos/checkTickets?folios=${folios}`);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Boleto } from '../models/Boleto';\n\n@Injectable()\nexport class LocalstorageService {\n setBoletosGenerados(boletos_generados: Array) {\n sessionStorage.setItem('BoletosGenerados', JSON.stringify(boletos_generados));\n }\n\n getBoletosGenerados() {\n return sessionStorage.getItem('BoletosGenerados');\n }\n\n deleteBoletosGenerados() {\n sessionStorage.removeItem('BoletosGenerados');\n }\n\n getBoletosRecomendados() {\n return sessionStorage.getItem('BoletosRecomendados');\n }\n\n setBoletosRecomendados(boletos_recomendados: Array) {\n sessionStorage.setItem('BoletosRecomendados', JSON.stringify(boletos_recomendados));\n }\n\n getBoletosAsignados() {\n return sessionStorage.getItem('BoletosAsignados');\n }\n\n deleteBoletosAsignados() {\n sessionStorage.removeItem('BoletosAsignados');\n }\n\n setBoletosAsignados(boletos_asignados: Array) {\n sessionStorage.setItem('BoletosAsignados', JSON.stringify(boletos_asignados));\n }\n\n getBoletosApartados() {\n return sessionStorage.getItem('BoletosApartados');\n }\n\n setBoletosApartados(boletos_apartados: Array) {\n sessionStorage.setItem('BoletosApartados', JSON.stringify(boletos_apartados));\n }\n\n deleteBoletosApartados() {\n sessionStorage.removeItem('BoletosApartados');\n }\n\n setArrayLogin(login: Array) {\n localStorage.setItem('Login', JSON.stringify(login));\n }\n\n getArrayLogin() {\n return localStorage.getItem('Login');\n }\n\n deleteArrayLogin() {\n localStorage.removeItem('Login');\n }\n\n deleteBoletosRecomendados() {\n sessionStorage.removeItem('BoletosRecomendados');\n }\n\n setFechaInicio(date: Date) {\n localStorage.setItem('FechaInicio', date.toString());\n }\n\n getFechaInicio() {\n return localStorage.getItem('FechaInicio');\n }\n\n deleteFechaInicio() {\n localStorage.removeItem('FechaInicio');\n }\n\n setFechaFin(date: Date) {\n date.setMinutes(date.getMinutes() + 17);\n localStorage.setItem('FechaFin', date.toString());\n }\n\n getFechaFin() {\n return localStorage.getItem('FechaFin');\n }\n\n deleteFechaFin() {\n localStorage.removeItem('FechaFin');\n }\n\n setFolio(folio: string) {\n localStorage.setItem('Folio', folio);\n }\n\n getFolio() {\n return localStorage.getItem('Folio');\n }\n\n deleteFolio() {\n localStorage.removeItem('Folio');\n }\n setPKColab(pkcolab: string) {\n localStorage.setItem('pkcolab', pkcolab);\n }\n getPKColab() {\n return localStorage.getItem('pkcolab');\n }\n removePKColab() {\n localStorage.removeItem('pkcolab');\n }\n setMecanismoColabExt(Mecanismo: string) {\n localStorage.setItem('MecanismoColab', Mecanismo);\n }\n getMecanismoColabExt() {\n return localStorage.getItem('MecanismoColab');\n }\n removeMecanismoColabExt() {\n localStorage.removeItem('MecanismoColab');\n }\n\n setBoletosBloqueados(boletos_bloqueados: Array) {\n sessionStorage.setItem('BoletosBloqueados', JSON.stringify(boletos_bloqueados));\n }\n\n getBoletosBloqueados() {\n return sessionStorage.getItem('BoletosBloqueados');\n }\n\n deleteBoletosBloqueados() {\n sessionStorage.removeItem('BoletosBloqueados');\n }\n setCarrito(idcarrito: string) {\n sessionStorage.setItem('idcarrito', idcarrito);\n }\n\n getCarrito() {\n return sessionStorage.getItem('idcarrito');\n }\n\n deleteCarrito() {\n sessionStorage.removeItem('idcarrito');\n }\n\n setPaybackref(compradorPayback: number) {\n localStorage.setItem('Paybackref', compradorPayback.toString());\n }\n getPaybackref() {\n return localStorage.getItem('Paybackref');\n }\n deletePaybackref() {\n localStorage.removeItem('Paybackref');\n }\n/** Cambios Luis Aguilar WECODE */\n setCampaingnData(campaingData: any) {\n localStorage.setItem('campaingData', JSON.stringify(campaingData));\n }\n getCampaingnData() {\n return JSON.parse(localStorage.getItem('campaingData'));\n }\n deleteCampaingnData() {\n localStorage.removeItem('campaingData');\n }\n /** END Cambios Luis Aguilar WECODE */\n}\n","import { Injectable } from '@angular/core';\nimport { ScriptStore } from '../interfaces/Scripts';\nimport { ScriptParams, Scripts } from '../models/ScriptParams';\nimport { SessionstorageService } from './sessionstorage.service';\n\ndeclare var document: any;\n@Injectable()\nexport class ScriptService {\n private scripts: any = {};\n\n constructor(private _session: SessionstorageService) {\n ////console.log(\"script ini\");\n ScriptStore.forEach((script: any) => {\n this.scripts[script.name] = {\n loaded: false,\n src: script.src,\n text: script.text,\n noscriptsrc: script.noscriptsrc,\n };\n });\n }\n\n load(scripts: Scripts[]) {\n var promises: any[] = [];\n scripts.forEach((script) => {\n promises.push(this.loadScript(script.script, script.params));\n promises.push(this.loadNoScript(script.script, script.params));\n });\n return Promise.all(promises);\n }\n\n loadScript(name: string, params: ScriptParams[]) {\n return new Promise((resolve, reject) => {\n //resolve if already loaded\n\n if (this.scripts[name].loaded) {\n resolve({ script: name, loaded: true, status: 'Already Loaded' });\n } else {\n //load script\n let script = document.createElement('script');\n script.type = 'text/javascript';\n script.text = this.scripts[name].text;\n script.id = name;\n script.setAttribute('id', name);\n if (params) {\n let boletosgtag = '';\n params.forEach((param) => {\n \n switch (param.name) {\n case 'BOLETO_ID':\n let boletoscript =\n \"{'name': 'Boleto','id': 'BOLETO_ID','price': BOLETO_PRICE,'brand': 'Sorteo Anáhuac','category': 'Boleto','quantity': 1, 'user_data_email_address': 'EMAIL','user_data_phone': 'PHONE','user_data_address_first_name': 'NAME', 'user_data_address_last_name': 'LASTNAME', 'user_data_street': 'STREET', 'user_data_city': 'CITY', 'user_data_state': 'STATE', 'CountryElogia': 'COUNTRY', 'user_data_cp': 'CP' },\";\n boletoscript = boletoscript.replace(param.name, param.value);\n boletosgtag = boletosgtag + boletoscript;\n break;\n \n case 'BOLETO_PRICE':\n boletosgtag = boletosgtag.replace(/BOLETO_PRICE/g, param.value);\n boletosgtag = boletosgtag.slice(0, -1);\n script.text = script.text.replace('BOLETOS', boletosgtag);\n break;\n case 'EMAIL' :\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n case 'PHONE':\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n case 'NAME':\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n case 'LASTNAME':\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n case 'STREET' :\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n case 'CITY' :\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n case 'STATE' :\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n case 'COUNTRY':\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n case 'CP':\n boletosgtag = boletosgtag.replace(param.name, param.value);\n break;\n\n default:\n script.text = script.text.replace(param.name, param.value);\n break;\n }\n });\n }\n if (script.readyState) {\n //IE\n script.onreadystatechange = () => {\n if (script.readyState === 'loaded' || script.readyState === 'complete') {\n script.onreadystatechange = null;\n this.scripts[name].loaded = true;\n resolve({ script: name, loaded: true, status: 'Loaded' });\n }\n };\n } else {\n //Others\n script.onload = () => {\n this.scripts[name].loaded = true;\n resolve({ script: name, loaded: true, status: 'Loaded' });\n };\n }\n script.onerror = (error: any) => {\n resolve({ script: name, loaded: false, status: 'Loaded' });\n };\n document.getElementsByTagName('head')[0].appendChild(script);\n\n this._session.setLogGtag(script.text);\n resolve({ script: name, loaded: true, status: 'Loaded' });\n }\n });\n }\n\n loadNoScript(name: string, params: ScriptParams[]) {\n return new Promise((resolve, reject) => {\n if (name == 'tradetracker') {\n ////console.log(\"noscript ini\");\n let noscript = document.createElement('noscript');\n let img = document.createElement('img');\n img.src = this.scripts[name].noscriptsrc;\n img.alt = '';\n if (params) {\n params.forEach((param) => {\n img.src = img.src.replace(param.name, param.value);\n });\n }\n noscript.appendChild(img);\n noscript.id = name + 'noscript';\n document.body.appendChild(noscript);\n resolve({ script: name, loaded: true, status: 'Loaded NoScript' });\n } else {\n resolve({ script: name, loaded: true, status: 'No Scripts available' });\n }\n });\n }\n\n deleteScript(names: string[]) {\n return new Promise((resolve, reject) => {\n names.forEach((name) => {\n var scripts = document.getElementsByTagName('script');\n for (var i = scripts.length; i >= 0; i--) {\n if (\n scripts[i] &&\n scripts[i].getAttribute('id') != null &&\n (scripts[i].getAttribute('id') == name ||\n (scripts[i].getAttribute('src') != null && scripts[i].getAttribute('src').includes(name)))\n ) {\n scripts[i].parentNode.removeChild(scripts[i]);\n }\n if (scripts[i] && scripts[i].getAttribute('src') != null && name != 'gtag') {\n const scr = scripts[i].getAttribute('src');\n if (scr.includes(name) || scr.indexOf(name) !== -1) {\n scripts[i].parentNode.removeChild(scripts[i]);\n }\n }\n }\n var img = document.getElementsByTagName('img');\n for (var i = img.length; i >= 0; i--) {\n if (img[i] && img[i].getAttribute('src') != null) {\n const scr = img[i].getAttribute('src');\n if (scr.includes(name) || scr.indexOf(name) !== -1) {\n img[i].parentNode.removeChild(img[i]);\n }\n }\n }\n\n var noscript = document.getElementById(name + 'noscript');\n if (noscript) {\n noscript.parentNode.removeChild(noscript);\n }\n });\n resolve({ script: name, loaded: false, status: 'Script deleted' });\n });\n }\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { environment } from 'src/environments/environment';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SeguimientoService {\n\n constructor(private _http: HttpClient) { }\n\n addSeguimiento(jsonBoletoCom: any) {\n const folios = jsonBoletoCom.map((item: any) => item.folio).join(',');\n return this._http.post(`${environment.UrlBase}api/seguimiento/addSeguimiento`, \n { \n \"folio\": folios,\n \"objetoDatos\": JSON.stringify(jsonBoletoCom),\n \"pagina\": sessionStorage.getItem('pagina') ?? '',\n \"tipoBoleto\": sessionStorage.getItem('tipoBoleto') ?? '',\n \"paginaclick\": sessionStorage.getItem('paginaclick') ?? '',\n \"metodoPago\": sessionStorage.getItem('metodoPago') ?? '',\n \"ordenDeCompra\": sessionStorage.getItem('ordenDeCompra') ?? ''\n }\n );\n}\n\n updateSeguimiento() {\n return this._http.post(`${environment.UrlBase}api/seguimiento/updateSeguimiento`, \n { \n \"paginaclick\": sessionStorage.getItem('paginaclick')?? '',\n \"metodoPago\": sessionStorage.getItem('metodoPago')?? '',\n \"ordenDeCompra\": sessionStorage.getItem('ordenDeCompra')?? '',\n \"pk1\": sessionStorage.getItem('pk_seguimiento'),\n }\n );\n }\n\n updateErrorCaracteres(mensaje:string) {\n return this._http.post(`${environment.UrlBase}api/seguimiento/updateErrorCaracteres`, \n { \n \"errorCaracteres\": mensaje ?? '',\n \"pk1\": sessionStorage.getItem('pk_seguimiento'),\n }\n );\n }\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable()\nexport class SessionstorageService {\n setTiposPago(tipo_pago: number) {\n sessionStorage.setItem('TiposPago', tipo_pago.toString());\n }\n\n getTiposPago() {\n return sessionStorage.getItem('TiposPago');\n }\n\n setTipoAsignado(tipo_asignado: number) {\n sessionStorage.setItem('TipoAsignado', tipo_asignado.toString());\n }\n\n getTipoAsignado() {\n return sessionStorage.getItem('TipoAsignado');\n }\n\n setBoletosCol(tipo_asignado: number) {\n sessionStorage.setItem('BoletosCol', tipo_asignado.toString());\n }\n\n getBoletosCol() {\n return sessionStorage.getItem('BoletosCol');\n }\n\n setCorreoComp(correo_comp: string) {\n sessionStorage.setItem('CorreoComp', correo_comp.toString());\n }\n\n getCorreoComp() {\n return sessionStorage.getItem('CorreoComp');\n }\n\n setColab(colab: string) {\n sessionStorage.setItem('Colab', colab.toString());\n }\n\n getColab() {\n return sessionStorage.getItem('Colab');\n }\n setPopstate(pop: any) {\n sessionStorage.setItem('PopupC', pop);\n }\n getPopstate() {\n return sessionStorage.getItem('PopupC');\n }\n setContCarrito(cont: number) {\n sessionStorage.setItem('Cont', cont.toString());\n }\n getContCarrito() {\n return sessionStorage.getItem('Cont');\n }\n setDBEstadoPopUp(pop: any) {\n sessionStorage.setItem('popState', pop);\n }\n getDBEstadoPopUp() {\n return sessionStorage.getItem('popState');\n }\n setOrdenBanamex(orden: any) {\n sessionStorage.setItem('OrdenBanamex', orden);\n }\n getOrdenBanamex() {\n return sessionStorage.getItem('OrdenBanamex');\n }\n setDatosOrdenBanamex(orden: any) {\n sessionStorage.setItem('DatosOrdenBanamex', orden);\n }\n getDatosOrdenBanamex() {\n return sessionStorage.getItem('DatosOrdenBanamex');\n }\n setBoletoSuerteComprador(idcomprador: any) {\n sessionStorage.setItem('IdComprador', idcomprador);\n }\n getBoletoSuerteComprador() {\n return sessionStorage.getItem('IdComprador');\n }\n setLogGtag(script: any) {\n sessionStorage.setItem('LogGtag', script);\n }\n getLogGtag() {\n return sessionStorage.getItem('LogGtag');\n }\n}\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport * as base64 from 'base-64';\nimport * as utf8 from 'utf8';\nimport { Boleto } from '../models/Boleto';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { SessionstorageService } from '../services/sessionstorage.service';\nimport { TimerService } from '../timer/timer.service';\nimport { BoletosColaboradoresService } from '../boletos-colaboradores/services/boletos-colaboradores.service';\nimport * as $ from 'jquery';\nimport { HomeService } from '../home/services/home.service';\n\n@Component({\n selector: 'app-single-boletos-col',\n templateUrl: './single-boletos-col.component.html',\n styleUrls: ['./single-boletos-col.component.scss']\n})\nexport class SingleBoletosColComponent implements OnInit {\n public clave_colaborador: number = 0;\n public clave_colaborador_encoded: string;\n public nombre_colaborador: string;\n public boletos_recomendados: Array = [];\n public boletos_colaborador: Array = [];\n public total_compra: number = 0;\n public tipos_pago: number = 1;\n\n\n\n /* Girar */\n //nuevo\n flagGirar = false;\n flag_buy = false;\n flag_buy_loader = false;\n flag_buy_btn = false;\n boleto_disponible = 1;\n\n\n public boleto: Boleto;\n private info_boleto: Array = [];\n private precio_boleto: number = 0;\n private pkcolab: string;\n\n public mensajeError: string = '';\n Error: boolean = false;\n public boletosLuck: Array = [];\n public boletosLuckfil: Array = [];\n public boletos: Array = [];\n public box: any;\n public metodo: boolean = false;\n botonDisabled: boolean = true;\n\n\n constructor(\n private _session: SessionstorageService,\n private _local: LocalstorageService,\n private _BColaboradoresService: BoletosColaboradoresService,\n private route: ActivatedRoute,\n private router: Router,\n public st: TimerService,\n ) {\n this.route.params.subscribe((params) => (this.clave_colaborador_encoded = params.id));\n var lsRecomendados = this._local.getBoletosRecomendados();\n this.boletos_recomendados = lsRecomendados == null ? [] : JSON.parse(lsRecomendados);\n }\n\n ngOnInit() {\n var decodedString = base64.decode(decodeURIComponent(this.clave_colaborador_encoded));\n var bytesString = utf8.decode(decodedString);\n this.clave_colaborador = Number(bytesString);\n ////console.log(this.clave_colaborador);\n this.getBoletosColaborador(this.clave_colaborador);\n $(\"#main-header\").addClass(\"d-none\");\n }\n\n getBoletosColaborador(clave_colaborador: number) {\n ////console.log(\"Entra getBoletos\");\n this._BColaboradoresService.getBoletosColaborador(clave_colaborador).subscribe(\n (data) => {\n this.boletos_colaborador = data;\n console.log(data);\n },\n (err) => console.error(err),\n () =>\n ////console.log('done loading boletos')\n { }\n );\n\n this._BColaboradoresService.getNombreColaborador(clave_colaborador).subscribe(\n (data) => {\n this.nombre_colaborador = data;\n ////console.log(data);\n },\n (\n err //console.error(err)\n ) => { },\n () =>\n ////console.log('done loading boletos')\n { }\n );\n }\n\n add(boletos_colaborador: Array) {\n for (var i = 0; i <= boletos_colaborador.length - 1; i++) {\n if (boletos_colaborador[i].seleccionado) {\n var control = 0;\n if (this.boletos_recomendados.length == 0) {\n this.boletos_recomendados.push(boletos_colaborador[i]);\n this.total_compra = this.total_compra + boletos_colaborador[i].costo;\n } else {\n for (var j = 0; j <= this.boletos_recomendados.length - 1; j++) {\n if (this.boletos_recomendados[j].folio !== boletos_colaborador[i].folio) {\n control = control + 1;\n if (control == this.boletos_recomendados.length) {\n this.boletos_recomendados.push(boletos_colaborador[i]);\n this.total_compra = this.total_compra + boletos_colaborador[i].costo;\n }\n }\n }\n }\n }\n }\n var date = new Date();\n this._local.setFechaInicio(date);\n this._local.setFechaFin(date);\n this._local.setBoletosRecomendados(this.boletos_recomendados);\n this.st.startTimer();\n this._session.setBoletosCol(1);\n this._session.setTiposPago(this.tipos_pago);\n sessionStorage.setItem('texto', 'Estás ayudando a formar líderes del mañana, ¡Gracias por confiar en Sorteo Anáhuac!');\n $(\"#main-header\").removeClass(\"d-none\");\n const url = this.router.serializeUrl(\n this.router.createUrlTree(['carrito-compra'])\n );\n window.open(url, '_blank');\n \n }\n\n\n efectuarPago() {\n if (!this.boleto) {\n this.mensajeError = \"No se ha seleccionado un boleto. Por favor, gira la ruleta para obtener uno.\";\n this.Error = true;\n return;\n }\n // Si el boleto no está ya en la lista de recomendados, lo agregamos\n const existe = this.boletos_recomendados.find(b => b.folio === this.boleto.folio);\n if (!existe) {\n this.boletos_recomendados.push(this.boleto);\n this.total_compra += this.boleto.costo;\n }\n\n const date = new Date();\n this._local.setFechaInicio(date);\n this._local.setFechaFin(date);\n this._local.setBoletosRecomendados(this.boletos_recomendados);\n this.st.startTimer();\n this._session.setBoletosCol(1);\n this._session.setTiposPago(this.tipos_pago);\n sessionStorage.setItem('texto', 'Estás ayudando a formar líderes del mañana, ¡Gracias por confiar en Sorteo Anáhuac!');\n $(\"#main-header\").removeClass(\"d-none\");\n this.router.navigate(['carrito-compra']);\n }\n\n\n\n /* NUEVO */\n getBoletoRandom() {\n //guardar tipo boleto\n sessionStorage.setItem('tipoBoleto', 'Maquina de la suerte Anahuac online');\n\n this.botonDisabled = false;\n this.metodo = true;\n this.boletos = [];\n this.boletosLuck = [];\n this.mensajeError = '';\n this.Error = false;\n\n\n this.boleto_disponible = 1;\n\n /*nuevo */\n this.flag_buy = true;\n this.flag_buy_loader = true;\n this.flag_buy_btn = false;\n ////console.log(\"Entra getBoletoRandom\");\n\n console.log(\"pk_colaboradro\" + this.pkcolab);\n if (this.boletos_colaborador.length === 0) {\n return 0; // No hay boletos disponibles\n }\n\n const randomIndex = Math.floor(Math.random() * this.boletos_colaborador.length);\n this.boleto = this.boletos_colaborador[randomIndex]; // Selecciona un boleto aleatorio\n\n this.precio_boleto = this.boleto.costo;\n this.info_boleto = [];\n\n if (this.flagGirar) {\n this.deleteNumbers(this.boleto.folio.toString().split(\"\"));\n }\n\n this.girar();\n }\n\n deleteNumbers(numerosBoletos) {\n for (let i = 0; i < 6; i++) {\n let number = numerosBoletos[i];\n for (let index = 0; index <= parseInt(number); index++) {\n $(\"#list-n\" + i + \" li:last\").remove();\n }\n $(\"#list-n\" + i).removeClass(\"animation-list\" + i);\n }\n }\n\n girar() {\n let boleto = this.boleto.folio.toString();\n let numerosBoletos = boleto.split(\"\");\n\n setTimeout(() => {\n\n for (let i = 0; i < 6; i++) {\n let number = numerosBoletos[i];\n let lis = \"\";\n let sizePx = 40;\n for (let index = 0; index <= parseInt(number); index++) {\n lis += \"
  • \" + index + \"
  • \";\n }\n\n $(\"#list-n\" + i).append(lis);\n\n sizePx *= parseInt(number);\n sizePx = -760 - sizePx - 40;\n ////console.log(sizePx);\n document.documentElement.style\n .setProperty('--my-start-px' + i, sizePx + \"px\");\n $(\"#list-n\" + i).addClass(\"animation-list\" + i);\n }\n setTimeout(() => {\n this.flag_buy_loader = false;\n this.flag_buy_btn = true;\n this.flag_buy = false;\n }, 5500);\n }, 100);\n\n\n this.flagGirar = true;\n\n\n }\n\n}\n","
    \n
    \n
    \n
    \n \"Sorteo\n
    \n\n
    \n \"Sorteo\n
    \n
    \n
    \n
    \n\n\n\n\n\n\n\n
    \n
    \n
    \n\n
    \n

    \n Máquina de la suerte \n

    \n

    \n Anáhuac Online\n

    \n
    \n\n\n
    \n\n
    \n
    \n \"Sorteo\n
    \n\n
    \n\n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n
    \n
    \n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n\n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n\n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n\n
    \n
      \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n
    • 0
    • \n
    • 1
    • \n
    • 2
    • \n
    • 3
    • \n
    • 4
    • \n
    • 5
    • \n
    • 6
    • \n
    • 7
    • \n
    • 8
    • \n
    • 9
    • \n\n\n
    \n
    \n\n
    \n\n
    \n\n \n\n Activar\n \n
    \n

    \n Generando tu número...\n

    \n \n \n\n
    \n\n \n\n
    \n Por el momento no contamos con boletos disponibles\n
    \n \n
    \n El boleto ya no se encuentra disponible, favor de escoger otro\n
    \n\n \n\n
    \n\n\n
    \n\n\n
    \n\n
    \n
    \n

    FECHA DEL SORTEO

    \n

    18 . sept . 2025

    \n\n

    COSTO BOLETO

    \n\n \n $500\n \n\n
    \n
    \n\n
    \n
    \n
    \n","import { Injectable } from '@angular/core';\nimport { Observable, Subscription } from 'rxjs';\nimport { Boleto } from '../models/Boleto';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { timer } from 'rxjs';\nimport { MyHttpGetService } from '../services/http.services.token';\n\n@Injectable()\nexport class TimerService {\n\n\tminutesDisplay: number = 0;\n\tsecondsDisplay: number = 0;\n\tms: number = 0;\n\n\tsub: Subscription;\n\tpublic boletos_bloqueados: { boletos: Array, fecha: string, orden : string, carrito } = { boletos: [], fecha: \"\", orden : \"\", carrito : \"\" };\n public boletos_bloqueados_local: Array = [];\n private folio : string;\n\tconstructor(private _local: LocalstorageService, private router: Router, private myGetService: MyHttpGetService) {\n\n\t}\n\n\tpublic startTimer() {\n\n\n\n\t\tconst baseTimer = timer(1,1000);\n\n\t\tthis.sub = baseTimer.subscribe(\n\t\t\tt => {\n\n\t\t\t\tvar currentDate = new Date();\n\t\t\t\tvar fechaFin = new Date(this._local.getFechaFin());\n\n\t\t\t\tthis.ms = fechaFin.getTime() - currentDate.getTime();\n\n\t\t\t\tvar minutes = Math.floor(this.ms / 60000);\n\t\t\t\tvar seconds = ((this.ms % 60000) / 1000).toFixed(0);\n\t\t\t\tthis.minutesDisplay = minutes;\n\t\t\t\tthis.secondsDisplay = parseInt(seconds);\n\t\t\t\tif (this.minutesDisplay <= 0 && this.secondsDisplay <= 0) {\n this.folio = this._local.getFolio();\n if(!this.folio){\n this.LiberaBoletos();\n this._local.deleteBoletosGenerados();\n this._local.deleteBoletosRecomendados();\n this._local.deleteBoletosApartados();\n this._local.deleteFechaFin();\n this._local.deleteFechaInicio();\n this._local.deleteBoletosBloqueados();\n this._local.deleteCarrito();\n this.minutesDisplay = 0;\n this.secondsDisplay = 0;\n if (this.sub) this.sub.unsubscribe();\n this.router.navigate([\"compra-en-linea-boletos-sorteo-anahuac\"]);\n }else{\n var date = new Date();\n this._local.setFechaFin(date);\n this.sub.unsubscribe();\n this.sub.closed;\n }\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n private LiberaBoletos() : void{\n var lsApartados = this._local.getBoletosApartados();\n var lsCarrito = this._local.getCarrito();\n var lsBloqueados = this._local.getBoletosBloqueados();\n this.boletos_bloqueados.boletos = lsApartados == null ? [] : JSON.parse(lsApartados);\n this.boletos_bloqueados_local = lsBloqueados == null ? [] : JSON.parse(lsBloqueados);\n this.boletos_bloqueados.orden = this._local.getFolio();\n this.boletos_bloqueados.carrito = lsCarrito;\n this.boletos_bloqueados.boletos = [...this.boletos_bloqueados.boletos, ...this.boletos_bloqueados_local];\n if(this.boletos_bloqueados.carrito && this.boletos_bloqueados.boletos.length != 0){\n this.boletos_bloqueados.fecha = new Date().toISOString();\n this.myGetService.postData(this.boletos_bloqueados,\"api/BoletosWeb/LiberaBoletos\").subscribe((res) => {\n });\n }\n\t}\n}\n","import { Component, OnInit } from '@angular/core';\nimport { environment } from 'src/environments/environment';\n\n@Component({\n selector: 'app-footer',\n templateUrl: './footer.component.html',\n styleUrls: ['./footer.component.scss']\n})\nexport class FooterComponent implements OnInit {\n\n public Url_privacidad : string;\n public Url_reglamento : string;\n public Url_terminos : string;\n public url_sitio: string;\n \n constructor() {\n this.Url_privacidad = environment.Url_Avisos_Privacidad;\n this.Url_reglamento = environment.Url_reglamento;\n this.Url_terminos = environment.Url_terminos;\n\n this.url_sitio = environment.Urlsitio\n }\n\n ngOnInit() {\n\n }\n\n}\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n ©SorteoAnáhuac,A.C. - Algunos derechos reservados.\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n","import { Component, OnInit } from '@angular/core';\nimport { NgForm } from '@angular/forms';\nimport * as $ from 'jquery';\n// import { HomeService } from '../../../../services/home.service';\n// import { RetrieveEmail } from '../../../../models/retrieveEmail';\nimport { ActivatedRoute, Router } from '@angular/router';\n// import { Login } from '../../../../models/login';\n// import {Md5} from 'ts-md5/dist/md5';\nimport { environment } from 'src/environments/environment';\nimport * as AOS from 'aos';\nimport { timer } from 'rxjs';\n\n@Component({\n selector: 'app-header',\n templateUrl: './header.component.html',\n styleUrls: ['../hamburgers/hamburgers.scss','./header.component.scss']\n})\nexport class HeaderComponent implements OnInit {\n public Urlsitio : string;\n\n //contadores\n\n //time magno\n\t_second = 1000;\n\t_minute = this._second * 60;\n\t_hour = this._minute * 60;\n\t_day = this._hour * 24;\n\tend: any;\n\tnow: any;\n\tday: any;\n\thours: any;\n\tminutes: any;\n\tseconds: any;\n\tsource = timer(0, 1000);\n\n\n\t//time oportuno\n\t_segundos = 1000;\n\t_minutos = this._segundos * 60;\n\t_horas = this._minutos * 60;\n\t_dias = this._horas * 24;\n\tfin: any;\n\tahora: any;\n\tdias: any;\n\thoras: any;\n\tminutos: any;\n\tsegundos: any;\n\tsource1 = timer(0, 1000);\n\n\t//time egresado\n\t_segundos_egr = 1000;\n\t_minutos_egr = this._segundos_egr * 60;\n\t_horas_egr = this._minutos_egr * 60;\n\t_dias_egr = this._horas_egr * 24;\n\tfin_egr: any;\n\tahora_egr: any;\n\tdias_egr: any;\n\thoras_egr: any;\n\tminutos_egr: any;\n\tsegundos_egr: any;\n\tsource2 = timer(0, 1000);\n\n\n\n constructor(private route: ActivatedRoute, ) {\n this.Urlsitio = environment.Urlsitio;\n }\n\n\n ngOnInit(): void { \n\n AOS.init({\n duration: 1000,\n });\n $(document).ready(function(){\n //main\n $(\".mobile-nav-trigger\").click(function(){\n $(this).children(\".hamburger\").toggleClass('is-active');\n $('.mobile-menu').toggleClass('active-nav');\n $('.overlay').toggleClass('active-overlay');\n });\n $('.main-nav-link').click(function(){\n $('.hamburger').toggleClass('is-active');\n $('.mobile-menu').toggleClass('active-nav');\n $('.overlay').toggleClass('active-overlay');\n });\n });\n\n //contador\n //time oportuno\n\t\tthis.source1.subscribe(t => {\n this.ahora = new Date();\n this.fin = new Date('08/11/' + (this.ahora.getFullYear() ) +' 11:00');\n this.showDate();\n });\n\n //time magno\n this.source.subscribe(t => {\n this.now = new Date();\n this.end = new Date('11/23/' + (this.now.getFullYear() ) +' 17:00');\n this.showDateSorteoMagno();\n });\n\n //time egresado\n this.source2.subscribe(t => {\n this.ahora_egr = new Date();\n this.fin_egr = new Date('06/30/' + (this.ahora_egr.getFullYear() ) +' 12:00');\n this.showDateEgr();\n });\n\n }\n\n showDate(){\n\t\tlet distance = this.fin - this.ahora;\n\t\tif(this.fin - this.ahora <= 0) {\n\t\t\tdistance = 0;\n\t \t}\n\t\tthis.dias = Math.floor(distance / this._dias);\n\t\tif(this.dias < 10) this.dias =\"0\" + this.dias;\n\n\t\tthis.horas = Math.floor((distance % this._dias) / this._horas);\n\t\tif(this.horas < 10) this.horas =\"0\" + this.horas;\n\n\t\tthis.minutos = Math.floor((distance % this._horas) / this._minutos);\n\t\tif(this.minutos < 10) this.minutos =\"0\" + this.minutos;\n\n\t\tthis.segundos = Math.floor((distance % this._minutos) / this._segundos);\n\t\tif(this.segundos < 10) this.segundos =\"0\" + this.segundos;\n\n\t}\n\n\tshowDateSorteoMagno(){\n\t\tlet distance = this.end - this.now;\n\t\t\n\t\tif(this.end - this.now <= 0) {\n\t\t\t distance = 0;\n\t\t}\n\n\t\tthis.day = Math.floor(distance / this._day);\n\t\tif(this.day < 10) this.day =\"0\" + this.day;\n\t\t\n\t\t\n\t\tthis.hours = Math.floor((distance % this._day) / this._hour);\n\t\tif(this.hours < 10) this.hours =\"0\" + this.hours;\n\n\t\tthis.minutes = Math.floor((distance % this._hour) / this._minute);\n\t\tif(this.minutes < 10) this.minutes =\"0\" + this.minutes;\n\n\t\tthis.seconds = Math.floor((distance % this._minute) / this._second);\n\t\tif(this.seconds < 10) this.seconds =\"0\" + this.seconds;\n\n\t}\n\n\tshowDateEgr(){\n\t\tlet distance = this.fin_egr - this.ahora_egr;\n\t\tif(this.fin_egr - this.ahora_egr <= 0) {\n\t\t\tdistance = 0;\n\t \t}\n\t\tthis.dias_egr = Math.floor(distance / this._dias_egr);\n\t\tif(this.dias_egr < 10) this.dias_egr =\"0\" + this.dias_egr;\n\n\t\tthis.horas_egr = Math.floor((distance % this._dias_egr) / this._horas_egr);\n\t\tif(this.horas_egr < 10) this.horas_egr =\"0\" + this.horas_egr;\n\n\t\tthis.minutos_egr = Math.floor((distance % this._horas_egr) / this._minutos_egr);\n\t\tif(this.minutos_egr < 10) this.minutos_egr =\"0\" + this.minutos_egr;\n\n\t\tthis.segundos_egr = Math.floor((distance % this._minutos_egr) / this._segundos_egr);\n\t\tif(this.segundos_egr < 10) this.segundos_egr =\"0\" + this.segundos_egr;\n\n\t}\n\n close() {\n $('.overlay').removeClass('active-overlay');\n $('.hamburger').removeClass('is-active');\n $('.mobile-menu').removeClass('active-nav');\n\n }\n\n \n\n}\n","
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \"Sorteo\r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n\r\n\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \"Sorteo\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n\r\n
    \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
    \r\n\r\n
    \r\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-layout',\n templateUrl: './layout.component.html',\n styleUrls: ['./layout.component.css']\n})\nexport class LayoutComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","\n\n \n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { LayoutComponent } from './layout/layout.component';\nimport { HeaderComponent } from './header/header.component';\nimport { FooterComponent } from './footer/footer.component';\nimport { RouterModule } from '@angular/router';\n\n@NgModule({\n imports: [\n CommonModule,\n RouterModule\n ],\n declarations: [LayoutComponent, HeaderComponent, FooterComponent],\n exports: [LayoutComponent]\n})\nexport class UiModule { }","import { Location } from '@angular/common';\nimport { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Observable } from 'rxjs-compat';\nimport { DatosCompradorService } from '../datos-comprador/services/datos-comprador.service';\nimport { Boleto } from '../models/Boleto';\nimport { Pais } from '../models/Pais';\nimport { ScriptParams, Scripts } from '../models/ScriptParams';\nimport { SeleccionMultipleBoleto } from '../models/SeleccionMultipleBoleto';\nimport { HttpService } from '../services/http.service';\nimport { MyHttpGetService } from '../services/http.services.token';\nimport { LocalstorageService } from '../services/localstorage.service';\nimport { ScriptService } from '../services/script.service';\nimport { SessionstorageService } from '../services/sessionstorage.service';\nimport * as $ from 'jquery';\nimport { Leads } from '../models/Leads';\n\n@Component({\n selector: 'app-venta-exitosa',\n templateUrl: './venta-exitosa.component.html',\n styleUrls: ['./venta-exitosa.component.scss'],\n providers: [MyHttpGetService, LocalstorageService, SessionstorageService],\n})\nexport class VentaExitosaComponent implements OnInit {\n public compradores_tag: any[];\n public tipos_pago: number = 1;\n public tipo_asignado: number;\n public boletos_generados: Array = [];\n public boletos_recomendados: Array = [];\n public boletos_asignados: Array = [];\n public boletos: Array = [];\n public boletos_bloqueados: { boletos: Array; fecha: string; orden: string; carrito } = {\n boletos: [],\n fecha: '',\n orden: '',\n carrito: '',\n };\n public total_compra: number = 0;\n public comprador: any;\n check: any;\n c: any;\n public request: {\n nbResponse: string;\n cdResponse: string;\n idLiga: string;\n referencia: string;\n importe: string;\n no_tarjeta: string;\n nombre: string;\n tipo_tarjeta: string;\n email: string;\n nuAuth: string;\n error: string;\n } = {\n nbResponse: '',\n cdResponse: '',\n idLiga: '',\n referencia: '',\n importe: '',\n no_tarjeta: '',\n nombre: '',\n tipo_tarjeta: '',\n email: '',\n nuAuth: '',\n error: '',\n };\n public datos_compra: { response: string; folio: string; amount: string; objeto: string } = {\n response: '',\n folio: '',\n amount: '',\n objeto: '',\n };\n public colab: SeleccionMultipleBoleto = { numero: '', mecanismo: '', pkcolab: '' };\n public orden_banamex: any;\n public reqBanamex: { resultIndicator: string; sessionVersion: string };\n //public datos: { folio: string, nombre_cliente: string,\tmonto: string, mensaje : string}\n private params: ScriptParams[] = [];\n private scriptsobj: Scripts[] = [];\n public Paybackref: string;\n public logGtag: { response: string; folio: string; amount: string; objeto: string } = {\n response: '',\n folio: '',\n amount: '',\n objeto: '',\n };\n\n public listPaises : any[];\n textoInt: string = \"\";\n constructor(\n private _http: HttpService,\n private myGetService: MyHttpGetService,\n private _local: LocalstorageService,\n private router: Router,\n private route: ActivatedRoute,\n private _session: SessionstorageService,\n private location: Location,\n private scripts: ScriptService,\n private _DCompradorService: DatosCompradorService,\n ) {\n var lsGenerados = this._local.getBoletosGenerados();\n var lsRecomendados = this._local.getBoletosRecomendados();\n var lsAsignados = this._local.getBoletosAsignados();\n var lsApartados = this._local.getBoletosApartados();\n var lsCarrito = this._local.getCarrito();\n this.boletos_generados = lsGenerados == null ? [] : JSON.parse(lsGenerados);\n this.boletos_recomendados = lsRecomendados == null ? [] : JSON.parse(lsRecomendados);\n this.boletos_asignados = lsAsignados == null ? [] : JSON.parse(lsAsignados);\n this.boletos_bloqueados.boletos = lsApartados == null ? [] : JSON.parse(lsApartados);\n this.boletos_bloqueados.orden = this._local.getFolio();\n this.boletos_bloqueados.carrito = lsCarrito;\n this.route.queryParams.subscribe((params) => {\n this.request = {\n nbResponse: params.nbResponse,\n cdResponse: params.cdResponse,\n idLiga: params.idLiga,\n referencia: params.referencia,\n importe: params.importe,\n nombre: '',\n tipo_tarjeta: '',\n no_tarjeta: '',\n error: params.nb_error,\n email: params.email,\n nuAuth: params.nuAuth,\n };\n //console.log(this.request);\n this.datos_compra = {\n response: params.nbResponse,\n folio: params.referencia,\n amount: params.importe,\n objeto: this.router.url,\n };\n //console.log(this.datos_compra);\n this.reqBanamex = {\n resultIndicator: params.resultIndicator,\n sessionVersion: params.sessionVersion,\n };\n //console.log( this.reqBanamex);\n });\n\n this.tipos_pago = parseInt(this._session.getTiposPago());\n this.tipo_asignado = parseInt(this._session.getTipoAsignado());\n this.Paybackref = this._local.getPaybackref() ? this._local.getPaybackref() : '0';\n\n\n /* redirect pago no exitoo */\n if(this.request.nbResponse != 'Aprobado' && this.reqBanamex.resultIndicator == undefined) {\n this.router.navigate(['error-pago']);\n if(this.request.nbResponse=='Invalido' || this.request.nbResponse == 'Rechazado'|| this.request.nbResponse == 'Bloqueo' || this.request.nbResponse == null) {\n this.router.navigate(['error-pago']);\n }\n }\n }\n\n async ngOnInit() {\n this.textoInt = sessionStorage.getItem('texto');\n //console.log( this.listPaises);\n ////console.log(this.datos_compra);\n this.myGetService.postData(this.datos_compra, 'api/BoletosWeb/LogMit').subscribe((res) => {});\n \n if (this.request.nbResponse != 'Aprobado' && this.reqBanamex.resultIndicator == undefined) {\n //this.request.referencia == undefined || this.request.referencia == null){\n // const registroventa = await this.LiberaBoletos();\n this.LiberaBoletos();\n }\n //obtener compradores\n this.compradores_tag = JSON.parse(sessionStorage.getItem('BoletosApartados'));\n\n this.getData(this.boletos_generados, this.boletos_recomendados, this.boletos_asignados);\n\n this.orden_banamex = this._session.getOrdenBanamex();\n if (this.reqBanamex.resultIndicator != undefined) {\n if (this.reqBanamex.resultIndicator == this.orden_banamex) {\n const registroventa = await this.RegistraVentaBanamex();\n }\n }\n //aqui valida la autorizacion\n if (this.request.referencia != undefined || this.request.referencia != null) {\n this.getInfoCompra();\n }\n\n if (this._local.getPKColab != null) {\n this.AsignaColabExt();\n }\n\n \n this._local.deleteFolio();\n this._local.deleteBoletosGenerados();\n this._local.deleteBoletosRecomendados();\n this._local.deleteBoletosAsignados();\n this._local.deleteCarrito();\n this._local.deletePaybackref();\n\n history.pushState(null, null, 'venta-exitosa');\n window.addEventListener('popstate', function (event) {\n history.pushState(null, null, 'venta-exitosa');\n });\n window.sessionStorage.clear();\n \n }\n\n getInfoCompra() {\n //console.log(\"entre a get info\");\n //debugger;\n console.log(this.request.referencia.toString().padStart(8, '0'));\n this.myGetService\n .getInfoCompra('api/BoletosWeb/InformacionCompraBoletos', this.request.referencia.toString().padStart(8, '0'))\n .subscribe((res) => {\n console.log(res.json());\n\n this.request.nombre = res.json().nombre_cliente;\n this.request.tipo_tarjeta = res.json().tipo_tarjeta;\n this.request.no_tarjeta = res.json().numero_tarjeta;\n this.request.nuAuth = res.json().autorizacion;\n this.boletos = res.json().boletos;\n\n console.log( \"BOLETOS\" );\n console.log( this.boletos);\n this.comprador = res.json().comprador;\n this.boletos[0].estado_boleto = this.comprador;\n //console.log(this.request);\n console.log(this.boletos);\n console.log(this.comprador);\n\n //console.log(\"request: \"+this.request);\n ////console.log(this.boletos);\n ////console.log(this.comprador);\n this.PaybackScript();\n\n /* DATOS */\n\n let infoCampania: Leads;\n /* LEADS */\n \n if (localStorage.getItem('leads') === \"true\" && localStorage.getItem('ShowPopCampania2') === \"true\" ) {\n // console.log(\"lead modifica entro\");\n let temInfo: Leads= JSON.parse(localStorage.getItem('campaingData1')) ;\n //localStorage.setItem(\"first\", 'false' );\n //console.log(temInfo);\n infoCampania = temInfo; \n //console.log( temInfo);\n //traer datos de la compra\n \n let datosComprador = JSON.parse(localStorage.getItem('boletosAparatadosTem'));\n //console.log(datosComprador);\n let numBoletos = temInfo.boletos_seleccionados.split(\",\");\n\n //añadir nuevo correo \n /* datos comprador */\n infoCampania.correo = datosComprador[0].comprador.correo_electronico;\n infoCampania.sorteo = 10;\n infoCampania.nombre = datosComprador[0].comprador.nombre;\n //infoCampania.nombre = \"Modificado desde web\";\n infoCampania.apellido_peterno = datosComprador[0].comprador.apellido_paterno ;\n infoCampania.apellido_materno = datosComprador[0].comprador.apellido_materno ; \n infoCampania.telefono = datosComprador[0].comprador.telefono_fijo;\n infoCampania.celular = datosComprador[0].comprador.telefono_movil;\n infoCampania.num_boletos_comprados = numBoletos.length;\n infoCampania.monto = numBoletos.length * 500;\n //console.log(res.json().autorizacion);\n if( res.json().autorizacion != \"\" || res.json().autorizacion != null) {\n infoCampania.estatus_pago = \"APROBADO\";\n }else {\n infoCampania.estatus_pago = \"NO EXITOSO\";\n }\n \n infoCampania.boletos_seleccionados = \"\";\n //console.log(datosComprador);\n //console.log(infoCampania);\n \n\n //llamar metodo\n let dataCampania: Leads = infoCampania;\n //console.log(dataCampania);\n //console.log(\"entre venta exitosa\");\n this._DCompradorService.modificaLeads(dataCampania).subscribe( a => {\n // console.log(a);\n \n \n },\n err => {\n //console.log(err);\n if(err.status ==200) {\n // console.log(\"entre a limpiar\");\n const lastCallTime = localStorage.getItem('lastCallTime');\n localStorage.clear();\n localStorage.setItem('lastCallTime', lastCallTime);\n /* retirnamos a organico */\n let organico = \"?utm_source=organico&utm_medium=organico&utm_campaign=organico&utm_term=organico&utm_content=organico\";\n let utm2 = organico.split(\"?\");\n var search2 = utm2[1] ;\n //console.log(JSON.stringify(organico));\n let finalUtm = JSON.parse('{\"' + search2.replace(/&/g, '\",\"').replace(/=/g,'\":\"') + '\"}', function(key, value) { return key===\"\"?value:decodeURIComponent(value) });\n ////console.log(finalUtm);\n localStorage.setItem('campaingData', JSON.stringify(finalUtm));\n }\n });\n \n \n }\n \n\n\n /* FIN DATOS */\n\n var lab = document.getElementById('CantBoletos1');\n lab.hidden = false;\n\n if (this._session.getBoletoSuerteComprador != null) {\n this.myGetService\n .postData(this.boletos, 'api/BoletosWeb/PagoRecibidoBoletoSuerte/' + this.comprador)\n .subscribe((res) => {\n ////console.log(res);\n });\n }\n\n //this.PaybackScript();\n });\n }\n\n getData(boletos_generados: Array, boletos_recomendados: Array, boletos_asignados: Array) {\n this._local.deleteBoletosGenerados();\n this._local.deleteBoletosRecomendados();\n this._local.deleteBoletosAsignados();\n //window.sessionStorage.clear();\n }\n\n comprarOtro() {\n this.router.navigate(['compra-en-linea-boletos-sorteo-anahuac']);\n }\n\n terminar() {\n let deletescripts: string[] = ['tradetracker', 'gtag'];\n this.scripts.deleteScript(deletescripts);\n\n this.check = document.getElementById('checkPerpetuo');\n if (this.check != null) {\n if (this.check.checked) {\n this.BoletoPerpetuo(1);\n } else {\n this.BoletoPerpetuo(2);\n }\n }\n\n document.removeEventListener('mouseout', (event) => {\n if (event.relatedTarget === null) {\n this.check = document.getElementById('checkPerpetuo');\n if (this.check.checked && this.c != 1) {\n this.BoletoPerpetuo(1);\n alert('Registrado');\n this.c = 1;\n } else if (!this.check.checked && this.c != 0) {\n this.BoletoPerpetuo(2);\n alert('no registrado');\n this.c = 0;\n }\n }\n });\n\n const lastCallTime = localStorage.getItem('lastCallTime');\n localStorage.clear();\n localStorage.setItem('lastCallTime', lastCallTime);\n let organico = \"?utm_source=organico&utm_medium=organico&utm_campaign=organico&utm_term=organico&utm_content=organico\";\n let utm2 = organico.split(\"?\");\n var search2 = utm2[1] ;\n //console.log(JSON.stringify(organico));\n let finalUtm = JSON.parse('{\"' + search2.replace(/&/g, '\",\"').replace(/=/g,'\":\"') + '\"}', function(key, value) { return key===\"\"?value:decodeURIComponent(value) });\n ////console.log(finalUtm);\n localStorage.setItem('campaingData', JSON.stringify(finalUtm));\n this.router.navigate(['compra-en-linea-boletos-sorteo-anahuac']);\n }\n\n reintentarPago() {\n this.router.navigate(['forma-pago'], { queryParams: { ordencompra: this.request.referencia } });\n }\n\n MarcarBoleto() {\n document.addEventListener('mouseout', (event) => {\n if (event.relatedTarget === null) {\n this.check = document.getElementById('checkPerpetuo');\n if (this.check.checked && this.c != 1) {\n this.BoletoPerpetuo(1);\n alert('Registrado');\n this.c = 1;\n } else if (!this.check.checked && this.c != 0) {\n this.BoletoPerpetuo(2);\n alert('no registrado');\n this.c = 0;\n }\n }\n });\n }\n\n BoletoPerpetuo(opc) {\n if (opc == 1) {\n this.myGetService.postData(this.boletos, 'api/BoletosWeb/BoletoPerpetuo_V').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n });\n }\n if (opc == 2) {\n this.myGetService.postData(this.boletos, 'api/BoletosWeb/Del_BoletoPerpetuo_V').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n });\n }\n }\n\n //Metodo para asignar venta a Colaborador Externo\n AsignaColabExt() {\n this.colab.numero = this.request.referencia;\n this.colab.pkcolab = this._local.getPKColab();\n this.colab.mecanismo = this._local.getMecanismoColabExt();\n if (this.colab.numero != null && this.colab.pkcolab != null) {\n this.myGetService.postData(this.colab, 'api/BoletosWeb/AsignaColabExt').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n this._local.removePKColab();\n this._local.removeMecanismoColabExt();\n });\n }\n }\n\n async RegistraVentaBanamex() {\n var datos = this._session.getDatosOrdenBanamex();\n if (datos != null || datos != undefined) {\n return new Promise((resolve, reject) => {\n this.myGetService.postData(datos, 'api/BoletosWeb/PagoPayPalConfirmado').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n var datos_orden = JSON.parse(datos);\n this.request.referencia = datos_orden.folio;\n this.request.importe = datos_orden.monto;\n\n return resolve(res);\n });\n });\n }\n }\n\n LiberaBoletos() {\n // if(boletos_generados != null || boletos_generados != undefined)\n // {\n // \tvar boletos = boletos_generados;\n // } else if(boletos_recomendados != null || boletos_recomendados != undefined)\n // {\n // \tvar boletos = boletos_recomendados;\n // } else if(boletos_asignados != null || boletos_asignados != undefined)\n // {\n // \tvar boletos = boletos_asignados;\n // }\n\n this.boletos_bloqueados.fecha = new Date().toISOString();\n\n if (this.boletos_bloqueados.boletos.length != 0) {\n this.myGetService.postData(this.boletos_bloqueados, 'api/BoletosWeb/LiberaBoletos').subscribe((res) => {\n ////console.log(\"response\");\n ////console.log(res);\n });\n }\n }\n\n PaybackScript(): void {\n \n this.params.push({ name: 'ORDER_ID', value: this.request.referencia });\n //add pararams\n \n this.params.push({\n name: 'ORDER_AMOUNT',\n value: this.request.importe.replace('.00', '').replace(',', ''),\n });\n\n \n \n\n \n\n \n\n if (this.params) {\n this.ScriptBoletos();\n if (this.Paybackref == '1') {\n this.scriptsobj.push({ script: 'tradetracker', params: this.params });\n }\n //datos comprador\n \n\n this.scriptsobj.push({ script: 'gtag', params: this.params });\n //console.log(this.scriptsobj);\n this.scripts\n .load(this.scriptsobj)\n .then((data) => {\n ////console.log('script loaded ', data);\n let LogGtag = this._session.getLogGtag();\n if (LogGtag) {\n this.logGtag = {\n response: '',\n folio: this.request.referencia,\n amount: '',\n objeto: LogGtag,\n };\n // console.log(this.logGtag);\n this.myGetService.postData(this.logGtag, 'api/BoletosWeb/LogGtag').subscribe((res) => {\n //console.log(res);\n });\n }\n })\n .catch((error) => {\n ////console.log(error);\n });\n }\n }\n\n ScriptBoletos(): void {\n\n let count = this.boletos.length-1;\n for (var i = 0; i < this.boletos.length ; i++) {\n this.params.push({ name: 'BOLETO_ID', value:this.compradores_tag[i].folio });\n \n\n this.params.push({ name: 'EMAIL', value: this.compradores_tag[i].comprador.correo_electronico });\n this.params.push({ name: 'PHONE', value: this.compradores_tag[i].comprador.telefono_movil });\n this.params.push({ name: 'NAME', value: this.compradores_tag[i].comprador.nombre });\n this.params.push({ name: 'LASTNAME', value: this.compradores_tag[i].comprador.apellidos });\n this.params.push({ name: 'STREET', value: this.compradores_tag[i].comprador.calle });\n this.params.push({ name: 'CITY', value: this.compradores_tag[i].comprador.estado });\n this.params.push({ name: 'STATE', value: this.compradores_tag[i].comprador.municipio });\n let namePais = \"\";\n if(this.compradores_tag[i].comprador.pais==\"484\") {\n namePais = \"México\"\n }else{\n namePais = \"Extranjero\"\n }\n this.params.push({ name: 'COUNTRY', value: namePais });\n this.params.push({ name: 'CP', value: this.compradores_tag[i].comprador.codigo_postal });\n count--;\n }\n this.params.push({ name: 'BOLETO_PRICE', value: this.boletos[0].costo.toString() });\n // console.log( this.params);\n this.boletos.forEach((boleto) => {\n this.params.push({ name: 'BOLETO_ID', value: boleto.folio.toString() });\n });\n \n this.params.push({ name: 'BOLETO_PRICE', value: this.boletos[0].costo.toString() });\n\n for (var i = 0; i < this.compradores_tag.length ; i++) {\n this.params.push({ name: 'EMAIL', value: this.compradores_tag[i].comprador.correo_electronico });\n this.params.push({ name: 'PHONE', value: this.compradores_tag[i].telefono_movil });\n this.params.push({ name: 'NAME', value: this.compradores_tag[i].nombre });\n this.params.push({ name: 'LASTNAME', value: this.compradores_tag[i].apellidos });\n this.params.push({ name: 'STREET', value: this.compradores_tag[i].calle });\n this.params.push({ name: 'CITY', value: this.compradores_tag[i].estado });\n this.params.push({ name: 'STATE', value: this.compradores_tag[i].municipio });\n this.params.push({ name: 'COUNTRY', value: this.compradores_tag[i].pais });\n this.params.push({ name: 'CP', value: this.compradores_tag[i].codigo_postal });\n }\n\n // this.compradores_tag.forEach((data) => {\n // this.params.push({ name: 'EMAIL', value: data.comprador.correo_electronico });\n // this.params.push({ name: 'PHONE', value: data.comprador.telefono_movil });\n // this.params.push({ name: 'NAME', value: data.comprador.nombre });\n // this.params.push({ name: 'LASTNAME', value: data.comprador.apellidos });\n // this.params.push({ name: 'STREET', value: data.comprador.calle });\n // this.params.push({ name: 'CITY', value: data.comprador.estado });\n // this.params.push({ name: 'STATE', value: data.comprador.municipio });\n // this.params.push({ name: 'COUNTRY', value: data.comprador.pais });\n // this.params.push({ name: 'CP', value: data.comprador.codigo_postal });\n // });\n \n\n \n }\n\n\n scrollPage(name) {\n var posicion = $(name).offset().top;\n $(\"html, body\").animate({\n scrollTop: posicion\n }, 2000); \n }\n}\n","
    \n
    \n
    \n\n\n
    \n \n

    \n ¡gracias por\n \n tu apoyo!\n \n

    \n
    \n \n\n
    \n
    \n \n \n \n
    \n\n\n
    \n
    \n
    \n\n\n
    \n

    \n {{textoInt}}\n

    \n
    \n
    \n \n
    \n\n\n
    \n

    Boleto(s) pagado(s): {{ boletos.length }}

    \n
    \n
    \n \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    No. BoletoDueño del BoletoCorreoCosto
    {{ boleto.folio }}{{ boleto.nombre_comprador }}{{ boleto.correo_comprador }}$ {{ boleto.costo }} MXN
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n\n \n \n \n \n\n \n \n
    \n\n
    \n
    \n
    \n

    Transacción no exitosa

    \n
    \n
    \n\n
    \n
    \n \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n","export const environment = {\n production: true,\n PaypalAmbiente: 'https://www.paypal.com/sdk/js?client-id=ATsnhu44NueZp7SnVuwAertIxRbFokIEPm5gPhNlVsJSfFqiybGPtPo4PyGCfZW1hKEuj5GlrFs69DVk¤cy=MXN&vault=true',\n UrlBase: 'https://serviciosapp.sorteoanahuac.mx/',\n Url_Avisos_Privacidad: 'https://www.sorteoanahuac.mx/aviso-de-privacidad',\n Url_reglamento: 'https://www.sorteoanahuac.mx/reglamento-becario',\n Url_terminos: 'https://www.sorteoanahuac.mx/terminos-y-condiciones',\n correo_pasalavoz: 'voz.sorteo@anahuac.com',\n Urlsitio: 'https://www.sorteoanahuac.mx/',\n urlCompartirBoletos: 'https://sorteoanahuaccompra.sorteoanahuac.mx/boletos-colaborador/'\n};\n\n\n\n/*\n\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\nimport '@angular/compiler';\nenableProdMode();\n\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n\n"],"names":[],"sourceRoot":"webpack:///"}