\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
{{'servicios' | translate}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
{{'busquedaavanzada' | translate}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{'categoria' | translate}}:
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{'state' | translate}}:
\r\n
\r\n \r\n
\r\n
\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 {{'noResults' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
{{'plataformasdigitales' | translate}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
{{'busquedaavanzada' | translate}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{'categoria' | translate}}:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{'estado' | translate}}:
\r\n
\r\n \r\n
\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 {{'noResults' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
{{'appsdapps' | translate}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
{{'busquedaavanzada' | translate}}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
{{'tipodesolucion' | translate}}:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{'categoria' | translate}}:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{'state' | translate}}:
\r\n
\r\n \r\n
\r\n
\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 {{'noResults' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
{{'advertencialstore' | translate}}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport * as AOS from 'aos';\r\n\r\n@Component({\r\n selector: 'app-lacchain',\r\n templateUrl: './lacchain.component.html',\r\n styleUrls: ['./lacchain.component.scss']\r\n})\r\nexport class LacchainComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n AOS.init();\r\n }\r\n\r\n scrollTop() {\r\n window.scroll({\r\n top: 1,\r\n left: 0,\r\n behavior: 'smooth'\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 { resourcesData } from '../../core/mocks/data-banners';\r\nimport { OurNewsService } from 'src/app/core/services/our-news.service';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { BlogsService } from 'src/app/core/services/blogs.service';\r\nimport { PublicationsService } from 'src/app/core/services/publications.service';\r\nimport { WebinarsService } from 'src/app/core/services/webinars.service';\r\nimport { Router } from '@angular/router';\r\nimport { ModalWebinarComponent } from 'src/app/shared/components/modal-webinar/modal.webinar.component';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { SeoService } from '../../core/services/seo.service';\r\nimport { Title } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'app-resources',\r\n templateUrl: './resources.component.html',\r\n styleUrls: ['./resources.component.scss']\r\n})\r\nexport class ResourcesComponent implements OnInit {\r\npublic resourcesDataBanner: any[] = [];\r\n ourResources;\r\n ourResoucesOpens = false;\r\n resources;\r\n videoUrl: string = 'https://player.vimeo.com/video/239566739?color=ffffff&title=0&byline=0&portrait=0';\r\n\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n searchPressValue = '';\r\n resourcesOpens = false;\r\n limitResources = 6;\r\n totalResources = 0;\r\n currentPageResources = 0;\r\n currentPageBlogs = 0;\r\n totalBlogs = 0;\r\n limitBlogs = 6;\r\n blogsOpens = false;\r\n blogs;\r\n publicationsOpens = false;\r\n totalPublications = 0;\r\n limitPublications = 6;\r\n publications;\r\n currentPagePublications = 0;\r\n webinarsOpens = false;\r\n webinars;\r\n\r\n modalRef: BsModalRef;\r\n urlRedirect = 'contact';\r\n public inTransact = {\r\n prensa: false,\r\n };\r\n indrag = false;\r\n\r\n constructor(\r\n private ourNewsService: OurNewsService,\r\n private blogsService: BlogsService,\r\n private publicationsService: PublicationsService,\r\n private webinarsService: WebinarsService,\r\n private router: Router,\r\n private modalService: BsModalService,\r\n private seoService: SeoService,\r\n private title: Title\r\n ) {\r\n this.resourcesDataBanner = resourcesData[0];\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.ngOnInit();\r\n }\r\n });\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.router.navigate([link, title]);\r\n }\r\n }\r\n\r\n searchPress() {\r\n if (this.searchPressValue !== '') {\r\n this.getOurNews(`{field:\"title\", operator: LIKE, value: \"%${this.searchPressValue}%\"}`);\r\n } else {\r\n this.getOurNews('');\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getOurNews('');\r\n this.getOurResources('');\r\n this.getBlogs('');\r\n this.getPublications('');\r\n this.getWebinars('');\r\n this.flags();\r\n }\r\n\r\n flags() {\r\n this.seoService.generateFlags({\r\n title: 'Recursos | LACChain es el resultado de un trabajo colectivo, el desarrollo de múltiples acciones de información y colaboración',\r\n site_name: 'LCChain',\r\n description: 'LACChain es el resultado de un trabajo colectivo, el desarrollo de múltiples acciones de información y colaboración que se traducen en la suma de...',\r\n slug: 'resources',\r\n image: 'https://www.lacchain.net/assets/images/cities/recursos.png'\r\n });\r\n this.title.setTitle('Recursos | LACChain es el resultado de un trabajo colectivo, el desarrollo de múltiples acciones de información y colaboración');\r\n }\r\n\r\n getPageResources(page: number) {\r\n this.currentPageResources = page;\r\n this.getOurNews('');\r\n }\r\n\r\n getPageBlogs(page: number) {\r\n this.currentPageBlogs = page;\r\n this.getBlogs('');\r\n }\r\n\r\n getBlogs(filter: string) {\r\n this.blogsService.getBlogs(filter,\r\n this.limitBlogs,\r\n this.getOfsset(this.currentPageBlogs, this.limitBlogs),\r\n localStorage.getItem('lang').toUpperCase(), (_blogs, total) => {\r\n this.blogs = _blogs;\r\n this.totalBlogs = total;\r\n this.blogsOpens = true;\r\n });\r\n }\r\n\r\n getPagePublications(page: number) {\r\n this.currentPagePublications = page;\r\n this.getPublications('');\r\n }\r\n\r\n getPublications(filter: string) {\r\n this.publicationsService.getPublications(filter,\r\n this.limitPublications,\r\n this.getOfsset(this.currentPagePublications, this.limitPublications),\r\n localStorage.getItem('lang').toUpperCase(), (_publications, total) => {\r\n this.publications = _publications;\r\n this.totalPublications = total;\r\n this.publicationsOpens = true;\r\n });\r\n }\r\n\r\n getOurResources(filter: string) {\r\n this.ourNewsService.getOurResources(localStorage.getItem('lang').toUpperCase(), (_ourResources, total) => {\r\n this.ourResources = _ourResources;\r\n this.ourResoucesOpens = true;\r\n });\r\n }\r\n\r\n getWebinars(filter: string) {\r\n this.webinarsService.getWebinars(localStorage.getItem('lang').toUpperCase() ,(_webinars, total) => {\r\n this.webinars = _webinars;\r\n this.webinarsOpens = true;\r\n });\r\n }\r\n\r\n getOurNews(filter: string) {\r\n this.inTransact.prensa = true;\r\n this.ourNewsService.getOurNews(filter,\r\n this.limitResources,\r\n this.getOfsset(this.currentPageResources, this.limitResources),\r\n localStorage.getItem('lang').toUpperCase(), (_resources, total) => {\r\n this.inTransact.prensa = false;\r\n this.resources = _resources;\r\n this.totalResources = total;\r\n this.resourcesOpens = true;\r\n });\r\n }\r\n\r\n private getOfsset(page, limit) {\r\n return (page === 0) ? 0 :\r\n (page * limit) - limit;\r\n }\r\n\r\n showWebinar(urlIframe: string): void {\r\n if (!this.indrag) {\r\n this.modalRef = this.modalService.show(ModalWebinarComponent, {\r\n initialState: {\r\n title: 'Modal title',\r\n url: urlIframe\r\n }\r\n });\r\n }\r\n }\r\n\r\n routerOurNews(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n\r\n
\r\n
\r\n
{{'notasdeprensa' | translate}}
\r\n \r\n
\r\n
\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 {{'noResults' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
{{'lacchainenmedios' | translate}}
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
{{'blogs' | translate}}
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
{{'recomendaciones' | translate}}
\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, Input } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { theBlockchainData, productionTheBlochain } from '../../core/mocks/data-banners';\r\nimport { SeoService } from '../../core/services/seo.service';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\nimport { TheBlockchainService } from 'src/app/core/services/the-blockchain.service';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-the-blockchain',\r\n templateUrl: './the-blockchain.component.html',\r\n styleUrls: ['./the-blockchain.component.scss']\r\n})\r\nexport class TheBlockchainComponent implements OnInit {\r\n public theBlockchainDataBanner: any[] = [];\r\n public productionTheBlochainLocal: any[] = [];\r\n\r\n statusDots: boolean;\r\n statusNav: boolean;\r\n isMobile: boolean;\r\n isTablet: boolean;\r\n customOptions: OwlOptions = {};\r\n selectedIndex: number = null;\r\n entitiesOpens = false;\r\n lang = 'en';\r\n\r\n @Input() entities: any[];\r\n\r\n constructor(\r\n private seoService: SeoService,\r\n private title: Title,\r\n private router: Router,\r\n private deviceService: DeviceDetectorService,\r\n private blockChainServices: TheBlockchainService,\r\n ) {\r\n this.theBlockchainDataBanner = theBlockchainData[0];\r\n this.productionTheBlochainLocal = productionTheBlochain;\r\n this.selectedIndex = 0;\r\n this.isMobile = this.deviceService.isMobile();\r\n this.isTablet = this.deviceService.isTablet();\r\n this.detectMobilCarrusel();\r\n\r\n this.router.events.subscribe((event: any) => {\r\n if (typeof event.url !== 'undefined') {\r\n if (event.url.includes('lang')) {\r\n this.ngOnInit();\r\n }\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.flags();\r\n this.getEntities();\r\n this.lang = localStorage.getItem('lang');\r\n }\r\n\r\n flags() {\r\n this.seoService.generateFlags({\r\n title: 'La Blockchain | Las redes de blockchain LACChain son la infraestructura que habilita el desarrollo del ecosistema blockchain en América Latina y el Caribe',\r\n site_name: 'LCChain',\r\n description: 'Las redes de blockchain LACChain son la infraestructura que habilita el desarrollo del ecosistema blockchain en América Latina y el Caribe que promueve...',\r\n slug: 'the-blockchain',\r\n image: 'https://www.lacchain.net/assets/images/cities/blockchain.png'\r\n });\r\n this.title.setTitle('La Blockchain | Las redes de blockchain LACChain son la infraestructura que habilita el desarrollo del ecosistema blockchain en América Latina y el Caribe');\r\n }\r\n\r\n detectMobilCarrusel(){\r\n if (this.isMobile === true || this.isTablet === true) {\r\n this.statusDots = false;\r\n this.statusNav = true;\r\n this.customOptions = {\r\n loop: true,\r\n autoplay: true,\r\n autoplayTimeout: 2000,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: this.statusDots,\r\n nav: this.statusNav,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['
', '
'],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 4,\r\n },\r\n },\r\n };\r\n }else{\r\n this.statusDots = true;\r\n this.statusNav = false;\r\n this.customOptions = {\r\n loop: true,\r\n autoplay: true,\r\n autoplayTimeout: 2000,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: this.statusDots,\r\n nav: this.statusNav,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['
', '
'],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 4,\r\n },\r\n },\r\n };\r\n }\r\n }\r\n\r\n getEntities() {\r\n this.blockChainServices.getEntities(localStorage.getItem('lang').toUpperCase(),(_rntities, total) => {\r\n this.entities = _rntities;\r\n this.entitiesOpens = true;\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
{{'enterpriselacchaindesc1' | translate}}
\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 { useCasesData } from '../../core/mocks/data-banners';\r\nimport { UseProjectsService } from 'src/app/core/services/use-projects.service';\r\nimport { TendersService } from 'src/app/core/services/tenders.service';\r\nimport { Router } from '@angular/router';\r\nimport { SeoService } from '../../core/services/seo.service';\r\nimport { Title } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'app-use-cases',\r\n templateUrl: './use-cases.component.html',\r\n styleUrls: ['./use-cases.component.scss']\r\n})\r\nexport class UseCasesComponent implements OnInit {\r\npublic useCasesDataBanner: any[] = [];\r\npublic listItems: Array
= [\"Nacional\", \"Local\", \"Regional\", \"Sectorial\"];\r\npublic listCategories: Array = [\r\n {id: 'Seleccionar', es: 'Todos', en: 'All', value: null},\r\n {id: 'Identidad Descentralizada', es: 'Identidad Descentralizada', en: 'Decentralized Identity', value: null},\r\n {id: 'Pagos y finanzas', es: 'Pagos y finanzas', en: 'Payments and finances', value: null},\r\n {id: 'Gobierno', es: 'Gobierno', en: 'Government', value: null},\r\n {id: 'Seguridad', es: 'Seguridad', en: 'Security', value: null},\r\n {id: 'Social', es: 'Social', en: 'Social', value: null},\r\n {id: 'Finanzas', es: 'Finanzas', en: 'Finance', value: null},\r\n {id: 'Pobreza', es: 'Pobreza', en: 'Poor', value: null},\r\n {id: 'Intercambio aduanero', es: 'Intercambio aduanero', en: 'Customs exchange', value: null},\r\n {id: 'Certificados Académicos Digitales', es: 'Certificados Académicos Digitales', en: 'Digital Academic Certificates', value: null},\r\n {\r\n id: 'Pagos internacionales a proveedores',\r\n es: 'Pagos internacionales a proveedores',\r\n en: 'International payments to suppliers', value: null\r\n },\r\n {id: 'Licitaciones públicas', es: 'Licitaciones públicas', en: 'Public tenders', value: null},\r\n];\r\npublic listTypeStateProyect: Array = [\r\n {id: 'Seleccionar', es: 'Todos', en: 'All', value: null},\r\n {id: 'En diseño', es: 'En diseño', en: 'In desing', value: null },\r\n {id: 'En desarrollo', es: 'En desarrollo', en: 'In development', value: null },\r\n {id: 'Finalizado', es: 'Finalizado', en: 'Finalized', value: null },\r\n {id: 'En producción', es: 'En producción', en: 'In production', value: null },\r\n];\r\nuseProjects: any[] = [];\r\ntenders: any[] = [];\r\ncurrentPageProyect = 0;\r\nfieldsProyects = [];\r\nlimitProyect = 6;\r\ntotalProyect = 0;\r\nproyectsOpens = false;\r\nlistCategoriesOpen = false;\r\nsearchProyectsValue = '';\r\ntendersOpens = false;\r\nsearchTendersValue = '';\r\ntotalTender = 0;\r\nlimitTender = 6;\r\ncurrentPageTender = 0;\r\nmainFilterproyect = '';\r\nmainFilterCategory = '';\r\ntypeStateProyect = 'Seleccionar';\r\ntypeCategoryProyect = 'Seleccionar';\r\nurlRedirect = 'contact';\r\nlistTypeStateProyectOpen = false;\r\npublic inTransact = {\r\n proyects: false,\r\n tenders: false,\r\n};\r\n\r\n constructor(\r\n private useProjectsService: UseProjectsService,\r\n private tendersService: TendersService,\r\n private router: Router,\r\n private seoService: SeoService,\r\n private title: Title\r\n ) {\r\n this.useCasesDataBanner = useCasesData[0];\r\n this.loadListLang();\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.ngOnInit();\r\n this.loadListLang();\r\n }\r\n });\r\n }\r\n\r\n private loadListLang(): void {\r\n this.listTypeStateProyectOpen = false;\r\n setTimeout(() => {\r\n this.listTypeStateProyect = this.listTypeStateProyect.map(x => {\r\n x.value = x[localStorage.getItem('lang')];\r\n return x;\r\n });\r\n this.listTypeStateProyectOpen = true;\r\n\r\n this.listCategories = this.listCategories.map(x => {\r\n x.value = x[localStorage.getItem('lang')];\r\n return x;\r\n });\r\n this.listCategoriesOpen = true;\r\n }, 200);\r\n }\r\n\r\n showAdvancedSearchCommunitiesClic = false;\r\n\r\n showAdvancedSearch() {\r\n this.showAdvancedSearchCommunitiesClic = !this.showAdvancedSearchCommunitiesClic;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getUseProjects('');\r\n this.getTenders('');\r\n this.flags();\r\n }\r\n\r\n flags() {\r\n this.seoService.generateFlags({\r\n title: 'Casos de uso | En esta sección encontrarás información sobre algunos de los proyectos que están desplegados sobre las redes de LACChain',\r\n site_name: 'LCChain',\r\n description: 'En esta sección encontrarás información sobre algunos de los proyectos que están desplegados sobre las redes de LACChain. El objetivo es que cada proyecto pueda...',\r\n slug: 'use-cases',\r\n image: 'https://www.lacchain.net/assets/images/cities/casos-de-uso.png'\r\n });\r\n this.title.setTitle('Casos de uso | En esta sección encontrarás información sobre algunos de los proyectos que están desplegados sobre las redes de LACChain');\r\n }\r\n\r\n getUseProjects(filter: string) {\r\n this.inTransact.proyects = true;\r\n this.useProjectsService.getUseProjects(filter,\r\n this.limitProyect,\r\n this.getOfsset(this.currentPageProyect, this.limitProyect),\r\n localStorage.getItem('lang').toUpperCase(),(_proyects, total) => {\r\n this.inTransact.proyects = false;\r\n this.useProjects = _proyects;\r\n this.totalProyect = total;\r\n this.proyectsOpens = true;\r\n });\r\n }\r\n\r\n getPageProyects(page: number) {\r\n this.currentPageProyect = page;\r\n this.getUseProjects('');\r\n }\r\n\r\n getPageTenders(page: number) {\r\n this.currentPageTender = page;\r\n this.getTenders('');\r\n }\r\n\r\n getTenders(filter: string) {\r\n this.inTransact.tenders = true;\r\n this.tendersService.getTenders(filter,\r\n this.limitTender,\r\n this.getOfsset(this.currentPageTender, this.limitTender),\r\n localStorage.getItem('lang').toUpperCase(),(_tenders, total) => {\r\n this.inTransact.tenders = false;\r\n this.tenders = _tenders;\r\n this.totalTender = total;\r\n this.tendersOpens = true;\r\n });\r\n }\r\n\r\n selectionTypeStateProyect(event) {\r\n const value = (typeof event.id !== 'undefined') ? event.id : event;\r\n this.typeStateProyect = value;\r\n this.purgeFilterProyect('field_estado_proyectos');\r\n if (value !== 'Seleccionar') {\r\n this.getUseProjects(this.concatFilterProyect(\r\n `{field:\"field_estado_proyectos\", operator: EQUAL, value: \"${value}\"}`, 'field_estado_proyectos'));\r\n } else {\r\n this.getUseProjects(this.mainFilterproyect);\r\n }\r\n this.searchProyects();\r\n }\r\n\r\n searchProyects() {\r\n this.purgeFilterProyect('title');\r\n if (this.searchProyectsValue !== '') {\r\n this.getUseProjects(this.concatFilterProyect(\r\n `{field:\"title\", operator: LIKE, value: \"%${this.searchProyectsValue}%\"}`, 'title'));\r\n } else {\r\n this.mainFilterproyect = '';\r\n this.getUseProjects(this.mainFilterproyect);\r\n }\r\n }\r\n\r\n selectionTypeCategoryProyect(event) {\r\n const value = (typeof event.id !== 'undefined') ? event.id : event;\r\n this.typeCategoryProyect = value;\r\n this.purgeFilterProyect('field_categoria_proyecto');\r\n if (value !== 'Seleccionar') {\r\n this.getUseProjects(this.concatFilterProyect(\r\n `{field:\"field_categoria_proyecto\", operator: EQUAL, value: \"${value}\"}`, 'field_categoria_proyecto'));\r\n } else {\r\n this.getUseProjects(this.mainFilterproyect);\r\n }\r\n this.searchProyects();\r\n }\r\n\r\n searchTenders() {\r\n if (this.searchTendersValue !== '') {\r\n this.getTenders(`{field:\"title\", operator: LIKE, value: \"%${this.searchTendersValue}%\"}`);\r\n } else {\r\n this.getTenders(``);\r\n }\r\n }\r\n\r\n private concatFilterProyect(filterSlabone: string, field: string) {\r\n if (this.fieldsProyects.filter((x) => x.id === field).length === 0) {\r\n this.fieldsProyects.push({ id: field, value: btoa(filterSlabone.toString())});\r\n }\r\n this.fieldsProyects = this.fieldsProyects.filter((x) => x !== field);\r\n if (this.fieldsProyects.filter((x) => x.id === field).length !== 0) {\r\n if (this.mainFilterproyect === '') {\r\n this.mainFilterproyect = this.mainFilterproyect + filterSlabone;\r\n } else {\r\n filterSlabone = ',' + filterSlabone;\r\n this.mainFilterproyect = this.mainFilterproyect + filterSlabone;\r\n }\r\n }\r\n return this.mainFilterproyect;\r\n }\r\n private getOfsset(page, limit) {\r\n return (page === 0) ? 0 :\r\n (page * limit) - limit;\r\n }\r\n\r\n private purgeFilterProyect(field: string): void {\r\n const fieldDataProyects = this.fieldsProyects.filter((x) => x.id === field);\r\n if (fieldDataProyects.length > 0) {\r\n this.fieldsProyects = this.fieldsProyects.filter((x) => x.id !== field);\r\n }\r\n }\r\n\r\n routerProjects(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n}\r\n","\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
{{'proyectos' | translate}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
{{'busquedaavanzada' | translate}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{'estado' | translate}}:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{'categoria' | translate}}:
\r\n
\r\n \r\n
\r\n
\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 {{'noResults' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
{{'licitaciones' | translate}}
\r\n
\r\n
\r\n
\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 {{'noResults' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n","\r\n
\r\n
{{'publicaciones' | translate}}
\r\n \r\n
\r\n
\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { EventsService } from 'src/app/core/services/events.service';\r\n\r\n@Component({\r\n selector: 'app-academic-publications',\r\n templateUrl: './academic-publications.component.html',\r\n styleUrls: ['./academic-publications.component.scss']\r\n})\r\nexport class AcademicPublicationsComponent implements OnInit {\r\n\r\n currentPagePublications = 0;\r\n publicationsOpens = false;\r\n totalPublications = 0;\r\n limitPublications = 6;\r\n publications: any;\r\n\r\n constructor(\r\n private eventsService: EventsService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.getPublicationAcademy('')\r\n }\r\n\r\n pageChanged(page: number) {\r\n this.currentPagePublications = page;\r\n this.getPublicationAcademy('');\r\n window.scrollTo({\r\n top: 1,\r\n left: 1,\r\n behavior: 'smooth'\r\n });\r\n }\r\n\r\n getPublicationAcademy(filter: string) {\r\n this.eventsService.getPublicationAcademy(filter, this.limitPublications,\r\n this.getOfsset(this.currentPagePublications, this.limitPublications),\r\n localStorage.getItem('lang').toUpperCase(), (publication, total) => {\r\n this.publications = publication;\r\n this.totalPublications = total;\r\n this.publicationsOpens = true;\r\n\r\n });\r\n }\r\n\r\n private getOfsset(page, limit) {\r\n return (page === 0) ? 0 :\r\n (page * limit) - limit;\r\n }\r\n\r\n}\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport * as moment from 'moment';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\nimport { academyItemsData } from 'src/app/core/mocks/data-banners';\r\nimport { GenericCodeService } from 'src/app/core/services/generic-code.service';\r\nimport { VideosService } from 'src/app/core/services/videos.service';\r\n\r\n@Component({\r\n selector: 'app-academic-videos',\r\n templateUrl: './academic-videos.component.html',\r\n styleUrls: ['./academic-videos.component.scss']\r\n})\r\nexport class AcademicVideosComponent implements OnInit {\r\n\r\n @ViewChild('gotoVideoList', { static: true }) gotoVideoList: ElementRef;\r\n public listItems: Array = ['X-Small', 'Small', 'Todos', 'Medium', 'Large', 'X-Large', '2X-Large'];\r\n public selectedValue = 'Todos';\r\n public languageItems = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n public selectedVLang = 'Todos';\r\n searchCommunityValue = '';\r\n public selectedVDate = { start: 2021, end: null };\r\n public curses = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n perfil = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n category = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n topic = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n dateItems = ['Todos', 2019, 2020, 2021];\r\n\r\n listCommunityOpen = false;\r\n public academyDataBanner: any[] = [];\r\n videos: any;\r\n videosOpens = false;\r\n fieldsServices = [];\r\n searchServiceValue = '';\r\n mainFilterService = '';\r\n selectPerfilValue = [];\r\n selectCategoryValue = [];\r\n selectedTopicValue = [];\r\n fieldsPlatsforms = [];\r\n mainFilterPlatform = [];\r\n urlRedirect = 'subscribe';\r\n\r\n currentPagePublications = 0;\r\n publicationsOpens = false;\r\n totalPublications = 0;\r\n limitPublications = 6;\r\n publications: any;\r\n firstLoad = true;\r\n searchItemsVideo: any = [{}];\r\n isMobile = false;\r\n isTablet = false;\r\n videoTitleSearch = '';\r\n searcherMultiple = [];\r\n\r\n constructor(\r\n private deviceService: DeviceDetectorService,\r\n private videosService: VideosService,\r\n private genericService: GenericCodeService, private router: Router) {\r\n this.isMobile = this.deviceService.isMobile();\r\n this.isTablet = this.deviceService.isTablet();\r\n this.academyDataBanner = academyItemsData[0];\r\n }\r\n\r\n loadFilters(): void {\r\n this.loadLang();\r\n this.loadPerfil();\r\n this.loadCategory();\r\n this.loadTopic();\r\n }\r\n\r\n loadLang(): void {\r\n this.languageItems.data = [];\r\n this.languageItems.open = false;\r\n\r\n this.genericService.getLang('', null, null, localStorage.getItem('lang').toUpperCase(), (data) => {\r\n if (data.length > 0) {\r\n this.languageItems.data = data;\r\n this.languageItems.data.push({\r\n id: 'Todos',\r\n value: (localStorage.getItem('lang') === 'es') ? 'Todos' : 'All',\r\n });\r\n this.languageItems.total = data.length;\r\n this.languageItems.open = true;\r\n }\r\n });\r\n }\r\n\r\n loadPerfil(): void {\r\n this.perfil.data = [];\r\n this.perfil.open = false;\r\n this.genericService.getPerfil('', null, null, localStorage.getItem('lang').toUpperCase(), (data) => {\r\n if (data.length > 0) {\r\n this.perfil.data = data;\r\n this.perfil.total = data.length;\r\n this.perfil.open = true;\r\n }\r\n });\r\n }\r\n\r\n loadCategory(): void {\r\n this.category.data = [];\r\n this.category.open = false;\r\n this.genericService.getCategory('', null, null, localStorage.getItem('lang').toUpperCase(), (data) => {\r\n if (data.length > 0) {\r\n this.category.data = data;\r\n this.category.total = data.length;\r\n this.category.open = true;\r\n }\r\n });\r\n }\r\n\r\n loadTopic(): void {\r\n this.topic.data = [];\r\n this.topic.open = false;\r\n this.genericService.getTopic('', null, null, localStorage.getItem('lang').toUpperCase(), (data) => {\r\n if (data.length > 0) {\r\n this.topic.data = data;\r\n this.topic.total = data.length;\r\n this.topic.open = true;\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getVideos('').then((x) => {\r\n this.loadFilters();\r\n });\r\n window.scrollTo({\r\n top: 1,\r\n left: 1,\r\n behavior: 'smooth'\r\n });\r\n this.router.events.subscribe((event: any) => {\r\n if (((typeof event.url !== 'undefined') && event.url.includes('lang')) || (this.firstLoad)) {\r\n this.firstLoad = false;\r\n this.loadFilters();\r\n }\r\n });\r\n }\r\n\r\n onChangeLanguage(event): void {\r\n if (event !== null && event !== '') {\r\n this.searchVideosFilter(null);\r\n }\r\n }\r\n\r\n searchVideosFilterReset(): void {\r\n this.languageItems.open = false;\r\n this.mainFilterPlatform = [];\r\n this.selectedVLang = 'Todos';\r\n this.selectedVDate = { start: null, end: null };\r\n this.selectPerfilValue = [];\r\n this.selectCategoryValue = [];\r\n this.selectedTopicValue = [];\r\n this.searcherMultiple = [];\r\n this.searchVideosFilter(null);\r\n setTimeout(() => {\r\n this.languageItems.open = true;\r\n }, 100);\r\n }\r\n\r\n onChangeDate($event): void {\r\n this.searchVideosFilter(null);\r\n }\r\n\r\n handleFilterVideo(searcher: string): void {\r\n if (searcher !== undefined && searcher.length > 3) {\r\n this.getVideosItems(`{field:\"title\", operator: LIKE, value: \"%${searcher}%\"}`);\r\n }\r\n }\r\n\r\n valueChangeVideo(searcher: any): void {\r\n if (this.searcherMultiple !== null && this.searcherMultiple.length > 0) {\r\n this.searchVideosByUuId(searcher);\r\n } else {\r\n this.searchVideosFilter(null);\r\n }\r\n }\r\n\r\n searchVideosFilter(element): void {\r\n this.purgeFilterAllPlatform();\r\n this.putFilters();\r\n if (element !== null && (this.isMobile || this.isTablet)) {\r\n element\r\n .scrollIntoView({behavior: 'smooth', block: 'start', inline: 'nearest'});\r\n }\r\n this.getVideos(this.mainFilterPlatform.map((x) => x.key).join(''));\r\n }\r\n\r\n pageChangedVideo(page: number) {\r\n this.currentPagePublications = page;\r\n this.getVideos('');\r\n }\r\n\r\n getVideos(filter) {\r\n if (this.searcherMultiple !== null && this.searcherMultiple.length > 0) {\r\n filter = filter +\r\n `{field:\"uuid\", operator: IN, value: [${\r\n this.searcherMultiple.map(d => `\"${d.uuid}\"`).join(',')}]}`;\r\n }\r\n return new Promise((resolve, reject) => {\r\n this.videosService.getVideosAcademy(filter, this.limitPublications,\r\n this.getOfsset(this.currentPagePublications, this.limitPublications),\r\n localStorage.getItem('lang').toUpperCase(), (data, total) => {\r\n this.videos = data;\r\n this.totalPublications = total;\r\n resolve(true);\r\n this.videosOpens = true;\r\n });\r\n });\r\n }\r\n\r\n getVideosItems(filter) {\r\n return new Promise((resolve, reject) => {\r\n this.videosService.getVideosAcademy(filter, this.limitPublications,\r\n this.getOfsset(this.currentPagePublications, this.limitPublications),\r\n localStorage.getItem('lang').toUpperCase(), (data, total) => {\r\n this.searchItemsVideo = data.map((x) => {\r\n return {\r\n name: x.title,\r\n uuid: x.uuid,\r\n };\r\n });\r\n resolve(true);\r\n });\r\n });\r\n }\r\n\r\n private getOfsset(page, limit) {\r\n return (page === 0) ? 0 :\r\n (page * limit) - limit;\r\n }\r\n\r\n concatFilterPlatform(filterSlabone: string, field: string) {\r\n if (this.fieldsPlatsforms.filter((x) => x.id === field).length === 0) {\r\n this.fieldsPlatsforms.push({ id: field, value: btoa(filterSlabone.toString())});\r\n }\r\n this.fieldsPlatsforms = this.fieldsPlatsforms.filter((x) => x !== field);\r\n if (this.fieldsPlatsforms.filter((x) => x.id === field).length !== 0) {\r\n if (this.mainFilterPlatform.length === 0) {\r\n this.mainFilterPlatform[this.mainFilterPlatform.length + 1] = {\r\n key: filterSlabone,\r\n fieldV: field,\r\n };\r\n } else {\r\n filterSlabone = ',' + filterSlabone;\r\n this.mainFilterPlatform[this.mainFilterPlatform.length + 1] = {\r\n key: filterSlabone,\r\n fieldV: field,\r\n };\r\n }\r\n }\r\n }\r\n\r\n\r\n routerEventCurse(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n searchEntity(): void { }\r\n searchVideos() {\r\n this.purgeFilterService('title');\r\n if (this.searcherMultiple !== null && this.searcherMultiple.length > 0) {\r\n this.getVideos(this.concatFilterService(\r\n `{field:\"uuid\", operator: IN, value: [${\r\n this.searcherMultiple.map(d => `\"${d.uuid}\"`).join(',')}]}`, 'title'));\r\n } else {\r\n this.mainFilterService = '';\r\n this.getVideos(this.mainFilterService);\r\n }\r\n }\r\n\r\n searchVideosByUuId(value: any) {\r\n this.purgeFilterService('title');\r\n if (value.length > 0) {\r\n this.getVideos(this.concatFilterService(\r\n `{field:\"uuid\", operator: IN, value: [${\r\n value.map(d => `\"${d.uuid}\"`).join(',')}]}`, 'title'));\r\n } else {\r\n this.mainFilterService = '';\r\n this.getVideos(this.mainFilterService);\r\n }\r\n }\r\n\r\n private concatFilterService(filterSlabone: string, field: string) {\r\n this.mainFilterService = '';\r\n if (this.fieldsServices.filter((x) => x.id === field).length === 0) {\r\n this.fieldsServices = this.fieldsServices.filter((x) => x.id !== 'title');\r\n this.fieldsServices.push({ id: field, value: btoa(filterSlabone.toString())});\r\n }\r\n this.fieldsServices = this.fieldsServices.filter((x) => x !== field);\r\n if (this.fieldsServices.filter((x) => x.id === field).length !== 0) {\r\n if (this.mainFilterService === '') {\r\n this.mainFilterService = this.mainFilterService + filterSlabone;\r\n } else {\r\n filterSlabone = ',' + filterSlabone;\r\n this.mainFilterService = this.mainFilterService + filterSlabone;\r\n }\r\n }\r\n\r\n return this.mainFilterService;\r\n }\r\n\r\n private purgeFilterService(field: string): void {\r\n const fieldDataService = this.fieldsServices.filter((x) => x.id === field);\r\n if (fieldDataService.length > 0) {\r\n this.fieldsServices = this.fieldsServices.filter((x) => x.id !== field);\r\n }\r\n }\r\n\r\n private putFilters(): void {\r\n if (this.selectedVLang !== undefined && this.selectedVLang !== 'Todos') {\r\n this.concatFilterPlatform(\r\n `{field:\"field_idm_video_educativo.entity.field_idioma_key\", operator: EQUAL, value: \"${\r\n (this.selectedVLang)}\"}`, 'langcode');\r\n }\r\n if (this.selectedVDate.start !== null) {\r\n this.concatFilterPlatform(\r\n `{field:\"field_temporal_video_educativo\", operator: BETWEEN, value: [\"${\r\n moment((this.selectedVDate.start + '-01-01')).format('YYYY-MM-DD HH:mm:ss')}\", \"${\r\n moment(new Date()).add('years', 50).format('YYYY-MM-DD HH:mm:ss')}\"]}`, 'entityChanged');\r\n }\r\n if (this.selectPerfilValue.length > 0) {\r\n this.concatFilterPlatform(\r\n `{field:\"field_tags_per_video_educativo.entity.field_perfil_key\", operator: IN, value: [${\r\n this.selectPerfilValue.map(d => `\"${d}\"`).join(',')}]}`, 'entityLabel');\r\n }\r\n if (this.selectCategoryValue.length > 0) {\r\n this.concatFilterPlatform(\r\n `{field:\"field_tags_cat_video_educativo.entity.field_categoria_key\", operator: IN, value: [${\r\n this.selectCategoryValue.map(d => `\"${d}\"`).join(',')}]}`, 'entityLabelCategory');\r\n }\r\n if (this.selectedTopicValue.length > 0) {\r\n this.concatFilterPlatform(\r\n `{field:\"field_tags_tema_video_educativo.entity.field_tema_key\", operator: IN, value: [${\r\n this.selectedTopicValue.map(d => `\"${d}\"`).join(',')}]}`, 'entityLabelTopic');\r\n }\r\n }\r\n\r\n\r\n private purgeFilterPlatform(field: string): void {\r\n this.fieldsPlatsforms = this.fieldsPlatsforms.filter((x) => x.id !== field);\r\n }\r\n\r\n private purgeFilterAllPlatform(): void {\r\n this.fieldsPlatsforms = [];\r\n this.fieldsServices = [];\r\n this.mainFilterPlatform = [];\r\n }\r\n\r\n private purgeFilterSearchByName(): void {\r\n this.searchItemsVideo = [{}];\r\n }\r\n\r\n}\r\n","\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'laccacademiatextdesarrolloredes' | translate}}\r\n
\r\n
\r\n {{'seleccionetematicasinteres' | translate}}:\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'idioma' | translate}}:\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'fecha' | translate}}:\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'audiencia' | translate}}:\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'categoria' | translate}}:\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {{'videoacademia' | translate}}\r\n
\r\n \r\n
\r\n {{'descubreproximoseventos' | translate}}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n\r\n\r\n
\r\n\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n\r\n
\r\n
\r\n
\r\n {{eventsId['title']}}\r\n
\r\n
\r\n
{{eventsId['text']}}
\r\n
\r\n
\r\n \r\n \r\n
\r\n {{'organizador' | translate}}:\r\n {{eventsId['fieldOrganizadorEvento']}}
\r\n \r\n
\r\n {{'type' | translate}}:\r\n {{eventsId['fieldTipoEvento']}}
\r\n \r\n
\r\n {{'lugar' | translate}}:\r\n {{eventsId['fieldLugarEvento']}}
\r\n \r\n
\r\n {{'fecha' | translate}}:\r\n {{date | date:'dd/MM/yyyy'}}\r\n
\r\n \r\n
\r\n {{'hora' | translate}}:\r\n {{date | date:'h:mm a'}}
\r\n \r\n
\r\n {{'puntoContacto' | translate}}:\r\n {{eventsId['fieldPuntoDeContactoEvento']}}
\r\n \r\n
\r\n {{'sitioweb' | translate}}:\r\n \r\n {{eventsId['fieldSitioWeb']['uri']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'agenda' | translate}}:\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { ActivatedRoute, Router } from '@angular/router';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { AllianceEventsService } from 'src/app/core/services/alliance-events.service';\r\nimport { AlliancesService } from 'src/app/core/services/alliances.service';\r\n\r\n@Component({\r\n selector: 'app-alliance-events-all',\r\n templateUrl: './alliance-events-all.component.html',\r\n styleUrls: ['./alliance-events-all.component.scss']\r\n})\r\nexport class AllianceEventsAllComponent implements OnInit {\r\n\r\n\r\n eventsId: any = {};\r\n events: any[] = [];\r\n eventsRouletteOpens = false;\r\n eventDetailOpen = false;\r\n date: string;\r\n\r\n customOptions: OwlOptions = {\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n };\r\n indrag = false;\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private allianceEventsService: AllianceEventsService,\r\n private alliancesServices: AlliancesService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getEventsId(true);\r\n this.getEvents();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getEventsId(false);\r\n this.getEvents();\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, title]);\r\n }\r\n }\r\n\r\n getEventsId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const eventId = this.getEvenIdByName(arg.title);\r\n this.eventDetailOpen = false;\r\n this.allianceEventsService.getAllianceEventsService(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (eventId) : this.eventsId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0, localStorage.getItem('lang').toUpperCase() ,(events, total) => {\r\n this.eventsId = events[0];\r\n this.date = this.eventsId.fieldFechaInicioDeEvento.date.replace(/-/g, '/');\r\n this.eventDetailOpen = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getEvents() {\r\n this.allianceEventsService.getAllianceEventsService('',\r\n 100,\r\n 0, localStorage.getItem('lang').toUpperCase(),(_alliances, total) => {\r\n this.events = _alliances;\r\n this.eventsRouletteOpens = true;\r\n });\r\n }\r\n\r\n scrollTop(){\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n routerEventParticipation(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{appsDappsId['title']}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'titularidad' | translate}}:\r\n {{appsDappsId['fieldTitularidad']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'tipodesolucion' | translate}}:\r\n {{appsDappsId['fieldTipoSolucionAppsDapps']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'plataforma' | translate}}:\r\n {{appsDappsId['fieldPlataformaApp']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'categoria' | translate}}:\r\n {{appsDappsId['fieldCategoriaAppDapp']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'estado' | translate}}:\r\n {{appsDappsId['fieldEstadoApp']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'sede' | translate}}:\r\n {{appsDappsId['fieldSedeLegalApp']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'idiomasdisponibles' | translate}}:\r\n {{appsDappsId['fieldIdiomasDisponibles']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'puntoContacto' | translate}}:\r\n {{appsDappsId['fieldPuntoContactoApp']}}
\r\n \r\n
\r\n
\r\n
\r\n GitHub:\r\n {{appsDappsId['fieldGithubApp']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'sitioweb' | translate}}:\r\n {{appsDappsId['fieldSitioWebApp']['uri']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'sitiodescarga' | translate}}:\r\n {{appsDappsId['fieldSitioDescargaApp']['uri']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { AppsDappsService } from 'src/app/core/services/apps-dapps.service';\r\n\r\n@Component({\r\n selector: 'app-apps-dapps-all',\r\n templateUrl: './apps-dapps-all.component.html',\r\n styleUrls: ['./apps-dapps-all.component.scss']\r\n})\r\nexport class AppsDappsAllComponent implements OnInit {\r\n\r\n appsDappsId: any = {};\r\n appsDapps: any[] = [];\r\n\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n appsDappsOpens = false;\r\n appsDappsIdsOpens = false;\r\n indrag = false;\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, (title) ]);\r\n }\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private appsDappsService: AppsDappsService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getAppsDappsId(true);\r\n this.getAppsDapps();\r\n }\r\n });\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getAppsDappsId(false);\r\n this.getAppsDapps();\r\n }\r\n\r\n getAppsDappsId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const eventId = this.getEvenIdByName(arg.title);\r\n this.appsDappsIdsOpens = false;\r\n this.appsDappsService.getAppsDapps(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (eventId) : this.appsDappsId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase()).subscribe((result: any) => {\r\n const apps = result.data.nodeQuery.entities;\r\n this.appsDappsId = apps[0];\r\n this.appsDappsIdsOpens = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n\r\n getAppsDapps() {\r\n this.appsDappsService.getAppsDapps('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase()).subscribe((result: any) => {\r\n const apps = result.data.nodeQuery.entities;\r\n this.appsDapps = apps;\r\n this.appsDappsOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n routerAppsDapps(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n}\r\n","","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-automatic-text',\r\n templateUrl: './automatic-text.component.html',\r\n styleUrls: ['./automatic-text.component.scss']\r\n})\r\nexport class AutomaticTextComponent implements OnInit {\r\n\r\n selectedIndex: number = null;\r\n htmlStr: string;\r\n showHtmlRecommendation = false;\r\n @Input() currentInfoLocal: any[] = [];\r\n constructor() { \r\n\r\n this.selectedIndex = 0;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.htmlStr = this.currentInfoLocal[0].detail;\r\n }\r\n\r\n setIndex(index: number) {\r\n this.selectedIndex = index;\r\n this.htmlStr = this.currentInfoLocal[index].detail;\r\n }\r\n}\r\n\r\n\r\n","\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
![\"\"]()
\r\n
\r\n
\r\n
{{title | translate}}\r\n
\r\n
\r\n
{{description | translate}}
\r\n
\r\n {{description | translate}}
{{description1 | translate}}
{{description2 | translate}}
{{description3 | translate}}\r\n
\r\n
\r\n {{description | translate}}
{{description1 | translate}}
{{description2 | translate}}
{{description3 | translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n\r\n@Component({\r\n selector: 'app-banner-sites',\r\n templateUrl: './banner-sites.component.html',\r\n styleUrls: ['./banner-sites.component.scss']\r\n})\r\nexport class BannerSitesComponent implements OnInit {\r\n @Input() image: string;\r\n @Input() icon: string;\r\n @Input() title: string;\r\n @Input() description: string;\r\n @Input() description1: string;\r\n @Input() description2: string;\r\n @Input() description3: string;\r\n @Input() color: string;\r\n @Input() isButton: boolean;\r\n @Input() textButton: string;\r\n @Input() isScroll: boolean;\r\n @Input() longDescription: boolean;\r\n @Input() urlRedirect: string;\r\n\r\n\r\n constructor(private router: Router) { }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n redirect() {\r\n this.router.navigate([`/${this.urlRedirect}`]);\r\n\r\n }\r\n\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-apps-dapps',\r\n templateUrl: './card-apps-dapps.component.html',\r\n styleUrls: ['./card-apps-dapps.component.scss']\r\n})\r\nexport class CardAppsDappsComponent implements OnInit {\r\n\r\n@Input() title: string;\r\n@Input() text: string;\r\n@Input() type: string;\r\n@Input() images: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
{{type}}
\r\n \r\n
\r\n
\r\n
","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-blueprint',\r\n templateUrl: './card-blueprint.component.html',\r\n styleUrls: ['./card-blueprint.component.scss']\r\n})\r\nexport class CardBlueprintComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n @Input() title;\r\n @Input() description;\r\n @Input() url;\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n"," \r\n
\r\n
{{title}}
\r\n
{{description}}
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-communities',\r\n templateUrl: './card-communities.component.html',\r\n styleUrls: ['./card-communities.component.scss']\r\n})\r\nexport class CardCommunitiesComponent implements OnInit {\r\n\r\n@Input() title: string;\r\n@Input() text: string;\r\n@Input() type: string;\r\n@Input() images: string;\r\n\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
{{type}}
\r\n \r\n
\r\n
\r\n
","\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{formatDate | date:'d' }}\r\n
\r\n {{formatDate | date:'MMM' }}\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{title}}
\r\n
{{text}}
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-content',\r\n templateUrl: './card-content.component.html',\r\n styleUrls: ['./card-content.component.scss']\r\n})\r\nexport class CardContentComponent implements OnInit {\r\n\r\n @Input() title: string;\r\n @Input() text: string;\r\n @Input() images: string;\r\n @Input() formatDate: string;\r\n @Input() colorAcademy: string;\r\n\r\n\r\n\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-digital-platform',\r\n templateUrl: './card-digital-platform.component.html',\r\n styleUrls: ['./card-digital-platform.component.scss']\r\n})\r\nexport class CardDigitalPlatformComponent implements OnInit {\r\n\r\n@Input() title: string;\r\n@Input() text: string;\r\n@Input() type: string;\r\n@Input() images: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
{{type}}
\r\n \r\n
\r\n
\r\n
","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-entities',\r\n templateUrl: './card-entities.component.html',\r\n styleUrls: ['./card-entities.component.scss']\r\n})\r\nexport class CardEntitiesComponent implements OnInit {\r\n\r\n @Input() title: string;\r\n @Input() text: string;\r\n @Input() type: string;\r\n @Input() images: string;\r\n \r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
{{type}}
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-event-alliance',\r\n templateUrl: './card-event-alliance.component.html',\r\n styleUrls: ['./card-event-alliance.component.scss']\r\n})\r\nexport class CardEventAllianceComponent implements OnInit {\r\n\r\n @Input() title: string;\r\n @Input() date: string;\r\n @Input() images: string;\r\n @Input() text: string;\r\n @Input() sponsor: string;\r\n @Input() time: string;\r\n formatDate: any;\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit(): void {\r\n this.formatDate = this.date.replace(/-/g, '/');\r\n }\r\n\r\n}\r\n","\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{formatDate | date:'d' }}\r\n
\r\n {{formatDate | date:'LLL' }}\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{title}}
\r\n
{{text}}
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-event-communities',\r\n templateUrl: './card-event-communities.component.html',\r\n styleUrls: ['./card-event-communities.component.scss']\r\n})\r\nexport class CardEventCommunitiesComponent implements OnInit {\r\n\r\n @Input() title: string;\r\n @Input() date: string;\r\n @Input() images: string;\r\n @Input() text: string;\r\n formatDate: any;\r\n\r\n\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n this.formatDate = this.date.replace(/-/g, '/');\r\n }\r\n\r\n}\r\n","\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
\r\n
{{formatDate | date:'d' }}
{{formatDate | date:'LLL' }}
\r\n \r\n
\r\n
\r\n
{{title}}
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-financing-opportunities',\r\n templateUrl: './card-financing-opportunities.component.html',\r\n styleUrls: ['./card-financing-opportunities.component.scss']\r\n})\r\nexport class CardFinancingOpportunitiesComponent implements OnInit {\r\n\r\n@Input() title: string;\r\n@Input() text: string;\r\n@Input() type: string;\r\n@Input() images: string;\r\n@Input() date: string;\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
{{date}}
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-our-news',\r\n templateUrl: './card-our-news.component.html'\r\n})\r\nexport class CardOurNewsComponent implements OnInit {\r\n @Input() title: string;\r\n @Input() text: string;\r\n @Input() type: string;\r\n @Input() images: string;\r\n @Input() fuente: string;\r\n @Input() color: boolean;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
\r\n
","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-projects',\r\n templateUrl: './card-projects.component.html',\r\n styleUrls: ['./card-projects.component.scss']\r\n})\r\nexport class CardProjectsComponent implements OnInit {\r\n\r\n@Input() title: string;\r\n@Input() text: string;\r\n@Input() state: string;\r\n@Input() images: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
{{state}}
\r\n \r\n
\r\n
\r\n
","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-services',\r\n templateUrl: './card-services.component.html',\r\n styleUrls: ['./card-services.component.scss']\r\n})\r\nexport class CardServicesComponent implements OnInit {\r\n\r\n @Input() title: string;\r\n @Input() text: string;\r\n @Input() type: string;\r\n @Input() images: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
{{type}}
\r\n \r\n
\r\n
\r\n
","\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{title}}
\r\n
\r\n {{year | date:'yyyy'}}\r\n \r\n \r\n
\r\n \r\n
{{text}}
\r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-slider-recent',\r\n templateUrl: './card-slider-recent.component.html',\r\n styleUrls: ['./card-slider-recent.component.scss']\r\n})\r\nexport class CardSliderRecentComponent implements OnInit {\r\n\r\n @Input() title: string;\r\n @Input() text: string;\r\n @Input() images: string;\r\n @Input() year: string;\r\n @Input() isVideoCurse: string;\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-card-tender',\r\n templateUrl: './card-tender.component.html',\r\n styleUrls: ['./card-tender.component.scss']\r\n})\r\nexport class CardTenderComponent implements OnInit {\r\n\r\n@Input() title: string;\r\n@Input() text: string;\r\n@Input() budget: string;\r\n@Input() images: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
{{title}}
\r\n \r\n
\r\n
{{budget}}
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport * as moment from 'moment';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\nimport { academyItemsData } from 'src/app/core/mocks/data-banners';\r\nimport { CursesService } from 'src/app/core/services/curses.service';\r\nimport { GenericCodeService } from 'src/app/core/services/generic-code.service';\r\n\r\n@Component({\r\n selector: 'app-certifiable-courses',\r\n templateUrl: './certifiable-courses.component.html',\r\n styleUrls: ['./certifiable-courses.component.scss']\r\n})\r\nexport class CertifiableCoursesComponent implements OnInit {\r\n @ViewChild('gotoCurseList', { static: true }) gotoCurseList: ElementRef;\r\n public listItems: Array = ['X-Small', 'Small', 'Todos', 'Medium', 'Large', 'X-Large', '2X-Large'];\r\n public languageItems = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n public selectedValue = 'Todos';\r\n public selectedVLang = 'Todos';\r\n public selectedVDate = { start: 2021, end: null };\r\n public curses = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n perfil = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n category = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n isMobile = false;\r\n isTablet = false;\r\n currentPageCurses = 0;\r\n publicationsOpens = false;\r\n totalCurses = 0;\r\n limitCurses = 6;\r\n mainFilterPlatform = [];\r\n\r\n topic = {\r\n open: false,\r\n data: null,\r\n total: 0,\r\n };\r\n dateItems = ['Todos', 2019, 2020, 2021];\r\n fieldsPlatsforms = [];\r\n searchCommunityValue = '';\r\n searchCurseValue = '';\r\n mainFilterService = '';\r\n fieldsServices = [];\r\n selectPerfilValue = [];\r\n selectCategoryValue = [];\r\n selectedTopicValue = [];\r\n firstLoad = true;\r\n searchItemsCurse: any = [{}];\r\n curseTitleSearch = '';\r\n searcherMultiple = [];\r\n\r\n listCommunityOpen = false;\r\n public academyDataBanner: any[] = [];\r\n urlRedirect = 'subscribe';\r\n constructor(\r\n public cursesService: CursesService, private genericService: GenericCodeService, private router: Router,\r\n private deviceService: DeviceDetectorService\r\n ) {\r\n this.isMobile = this.deviceService.isMobile();\r\n this.isTablet = this.deviceService.isTablet();\r\n this.academyDataBanner = academyItemsData[0];\r\n this.loadCurses('').then((x: boolean) => {\r\n this.curses.open = x;\r\n });\r\n this.router.events.subscribe((event: any) => {\r\n if (((typeof event.url !== 'undefined') && event.url.includes('lang')) || (this.firstLoad)) {\r\n this.firstLoad = false;\r\n this.selectedVLang = (localStorage.getItem('lang') === 'es') ? 'Todos' : 'All';\r\n this.loadComponent();\r\n }\r\n });\r\n }\r\n searchCursesByUuId(value: string) {\r\n this.purgeFilterService('title');\r\n if (value !== '') {\r\n this.loadCurses(this.concatFilterService(\r\n `{field:\"uuid\", operator: IN, value: [${\r\n this.searcherMultiple.map(d => `\"${d.uuid}\"`).join(',')}]}`, 'title'));\r\n } else {\r\n this.mainFilterService = '';\r\n this.loadCurses(this.mainFilterService);\r\n }\r\n }\r\n\r\n private putFilters(): void {\r\n if (this.selectedVLang !== undefined && this.selectedVLang !== 'Todos') {\r\n this.concatFilterPlatform(\r\n `{field:\"field_idioma.entity.field_idioma_key\", operator: EQUAL, value: \"${\r\n (this.selectedVLang)}\"}`, 'langcode');\r\n }\r\n if (this.selectedVDate.start !== null) {\r\n this.concatFilterPlatform(\r\n `{field:\"field_temporal_curso\", operator: BETWEEN, value: [\"${\r\n moment((this.selectedVDate.start + '-01-01')).format('YYYY-MM-DD HH:mm:ss')}\", \"${\r\n moment(new Date()).add('years', 50).format('YYYY-MM-DD HH:mm:ss')}\"]}`, 'entityChanged');\r\n }\r\n if (this.selectPerfilValue.length > 0) {\r\n this.concatFilterPlatform(\r\n `{field:\"field_tags_perfil.entity.field_perfil_key\", operator: IN, value: [${\r\n this.selectPerfilValue.map(d => `\"${d}\"`).join(',')}]}`, 'entityLabel');\r\n }\r\n if (this.selectCategoryValue.length > 0) {\r\n this.concatFilterPlatform(\r\n `{field:\"field_tags_categoria.entity.field_categoria_key\", operator: IN, value: [${\r\n this.selectCategoryValue.map(d => `\"${d}\"`).join(',')}]}`, 'entityLabelCategory');\r\n }\r\n if (this.selectedTopicValue.length > 0) {\r\n this.concatFilterPlatform(\r\n `{field:\"field_tags_tema.entity.field_tema_key\", operator: IN, value: [${\r\n this.selectedTopicValue.map(d => `\"${d}\"`).join(',')}]}`, 'entityLabelTopic');\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n window.scrollTo({\r\n top: 1,\r\n left: 1,\r\n behavior: 'smooth'\r\n });\r\n }\r\n\r\n loadFilters(): void {\r\n this.loadLang();\r\n this.loadPerfil();\r\n this.loadCategory();\r\n this.loadTopic();\r\n }\r\n\r\n loadLang(): void {\r\n this.languageItems.open = false;\r\n this.genericService.getLang('', null, null, localStorage.getItem('lang').toUpperCase(), (data) => {\r\n this.languageItems.data = [];\r\n if (data.length > 0) {\r\n this.languageItems.data = data;\r\n this.languageItems.data.push({\r\n id: 'Todos',\r\n value: (localStorage.getItem('lang') === 'es') ? 'Todos' : 'All',\r\n });\r\n this.languageItems.total = data.length;\r\n this.languageItems.open = true;\r\n }\r\n });\r\n }\r\n\r\n onChangeLanguage(event): void {\r\n if (event !== null && event !== '') {\r\n this.searchCurses(null);\r\n }\r\n }\r\n\r\n onChangeDate($event): void {\r\n this.searchCurses(null);\r\n }\r\n\r\n searchVideosFilterReset(): void {\r\n this.languageItems.open = false;\r\n this.mainFilterPlatform = [];\r\n this.selectedVLang = 'Todos';\r\n this.selectedVDate = { start: null, end: null };\r\n this.selectPerfilValue = [];\r\n this.selectCategoryValue = [];\r\n this.selectedTopicValue = [];\r\n this.searcherMultiple = [];\r\n this.searchCurses(null);\r\n setTimeout(() => {\r\n this.languageItems.open = true;\r\n }, 100);\r\n }\r\n\r\n loadPerfil(): void {\r\n this.perfil.data = [];\r\n this.perfil.open = false;\r\n this.genericService.getPerfil('', null, null, localStorage.getItem('lang').toUpperCase(), (data) => {\r\n if (data.length > 0) {\r\n this.perfil.data = data;\r\n this.perfil.total = data.length;\r\n this.perfil.open = true;\r\n }\r\n });\r\n }\r\n\r\n loadCategory(): void {\r\n this.category.data = [];\r\n this.category.open = false;\r\n this.genericService.getCategory('', null, null, localStorage.getItem('lang').toUpperCase(), (data) => {\r\n if (data.length > 0) {\r\n this.category.data = data;\r\n this.category.total = data.length;\r\n this.category.open = true;\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n loadTopic(): void {\r\n this.topic.data = [];\r\n this.topic.open = false;\r\n this.genericService.getTopic('', null, null, localStorage.getItem('lang').toUpperCase(), (data) => {\r\n if (data.length > 0) {\r\n this.topic.data = data;\r\n this.topic.total = data.length;\r\n this.topic.open = true;\r\n }\r\n });\r\n }\r\n pageChangedCurse(page: number) {\r\n this.currentPageCurses = page;\r\n this.loadCurses('');\r\n }\r\n\r\n private getOfsset(page, limit) {\r\n return (page === 0) ? 0 :\r\n (page * limit) - limit;\r\n }\r\n\r\n loadCurses(filter) {\r\n if (this.curseTitleSearch !== '') {\r\n filter = filter + `{field:\"title\", operator: LIKE, value: \"%${this.curseTitleSearch}%\"}`;\r\n }\r\n return new Promise((resolve, reject) => {\r\n this.cursesService.getCurses(filter, this.limitCurses,\r\n this.getOfsset(this.currentPageCurses, this.limitCurses),\r\n localStorage.getItem('lang').toUpperCase()).then((data: any) => {\r\n this.curses.total = data.length;\r\n if (data.length > 0 && data[0] !== null) {\r\n this.curses.data = data;\r\n this.curses.open = true;\r\n } else {\r\n this.curses.open = false;\r\n this.curses.data = [];\r\n }\r\n resolve(true);\r\n });\r\n });\r\n }\r\n\r\n getLangNameById(id) {\r\n return (id === 'es') ? 'español' : 'inglés';\r\n }\r\n\r\n handleFilterCurse(searcher: string): void {\r\n if (searcher !== undefined && searcher.length > 3) {\r\n this.getCursesItems(`{field:\"title\", operator: LIKE, value: \"%${searcher}%\"}`);\r\n }\r\n }\r\n\r\n getCursesItems(filter) {\r\n return new Promise((resolve, reject) => {\r\n this.cursesService.getCurses(filter, this.limitCurses,\r\n this.getOfsset(this.currentPageCurses, this.limitCurses),\r\n localStorage.getItem('lang').toUpperCase()).then((data: any) => {\r\n this.searchItemsCurse = data.map((x) => {\r\n return {\r\n name: x.title,\r\n uuid: x.uuid,\r\n };\r\n });\r\n resolve(true);\r\n });\r\n });\r\n }\r\n\r\n valueChangeCurse(searcher: string): void {\r\n const value = this.searchItemsCurse.filter((x: any) => x.name === searcher);\r\n if (value.length > 0) {\r\n this.searchCurseValue = value[0].name;\r\n this.searchCursesByUuId(value[0].uuid);\r\n } else {\r\n this.searchCurseValue = '';\r\n this.searchCursesFilter();\r\n }\r\n }\r\n\r\n searchCursesFilter(): void {\r\n this.purgeAllFilterPlatform();\r\n this.putFilters();\r\n this.loadCurses(this.mainFilterPlatform.map((x) => x.key).join(''));\r\n }\r\n\r\n searchCurse() {\r\n this.purgeFilterService('title');\r\n if (this.searchCurseValue !== '') {\r\n this.loadCurses(this.concatFilterService(\r\n `{field:\"uuid\", operator: IN, value: [${\r\n this.searcherMultiple.map(d => `\"${d.uuid}\"`).join(',')}]}`, 'title'));\r\n } else {\r\n this.mainFilterService = '';\r\n this.loadCurses(this.mainFilterService);\r\n }\r\n }\r\n\r\n searchCurses(element): void {\r\n this.purgeAllFilterPlatform();\r\n this.putFilters();\r\n if (element !== null && (this.isMobile || this.isTablet)) {\r\n element\r\n .scrollIntoView({behavior: 'smooth', block: 'start', inline: 'nearest'});\r\n }\r\n this.loadCurses(this.mainFilterPlatform.map((x) => x.key).join(''));\r\n }\r\n\r\n\r\n private concatFilterService(filterSlabone: string, field: string) {\r\n this.mainFilterService = '';\r\n if (this.fieldsServices.filter((x) => x.id === field).length === 0) {\r\n this.fieldsServices = this.fieldsServices.filter((x) => x.id !== 'title');\r\n this.fieldsServices.push({ id: field, value: btoa(filterSlabone.toString())});\r\n }\r\n this.fieldsServices = this.fieldsServices.filter((x) => x !== field);\r\n if (this.fieldsServices.filter((x) => x.id === field).length !== 0) {\r\n if (this.mainFilterService === '') {\r\n this.mainFilterService = this.mainFilterService + filterSlabone;\r\n } else {\r\n filterSlabone = ',' + filterSlabone;\r\n this.mainFilterService = this.mainFilterService + filterSlabone;\r\n }\r\n }\r\n return this.mainFilterService;\r\n }\r\n\r\n private purgeFilterService(field: string): void {\r\n const fieldDataService = this.fieldsServices.filter((x) => x.id === field);\r\n if (fieldDataService.length > 0) {\r\n this.fieldsServices = this.fieldsServices.filter((x) => x.id !== field);\r\n }\r\n }\r\n\r\n private purgeAllFilterPlatform(): void {\r\n this.mainFilterPlatform = [];\r\n this.fieldsServices = [];\r\n this.fieldsPlatsforms = [];\r\n }\r\n\r\n concatFilterPlatform(filterSlabone: string, field: string) {\r\n if (this.fieldsPlatsforms.filter((x) => x.id === field).length === 0) {\r\n this.fieldsPlatsforms.push({ id: field, value: btoa(filterSlabone.toString())});\r\n }\r\n this.fieldsPlatsforms = this.fieldsPlatsforms.filter((x) => x !== field);\r\n if (this.fieldsPlatsforms.filter((x) => x.id === field).length !== 0) {\r\n if (this.mainFilterPlatform.length === 0) {\r\n this.mainFilterPlatform[this.mainFilterPlatform.length + 1] = {\r\n key: filterSlabone,\r\n fieldV: field,\r\n };\r\n } else {\r\n filterSlabone = ',' + filterSlabone;\r\n this.mainFilterPlatform[this.mainFilterPlatform.length + 1] = {\r\n key: filterSlabone,\r\n fieldV: field,\r\n };\r\n }\r\n }\r\n }\r\n\r\n routerEventCurse(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n searchEntity(): void { }\r\n searchCommunity() { }\r\n\r\n private loadComponent(): void {\r\n this.loadFilters();\r\n }\r\n\r\n}\r\n","\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'laccacademiatextdesarrolloredes' | translate}}\r\n
\r\n
\r\n {{'seleccionetematicasinteres' | translate}}:\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'idioma' | translate}}:\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'fecha' | translate}}:\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{'audiencia' | translate}}:\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'categoria' | translate}}:\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {{'cursoscertificables' | translate}}\r\n
\r\n \r\n
\r\n {{'descubreproximoseventos' | translate}}\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n"," 1100\">\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \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, Input, } from '@angular/core';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\n\r\n\r\n@Component({\r\n selector: 'app-cities-map',\r\n templateUrl: './cities-map.component.html',\r\n styleUrls: ['./cities-map.component.scss']\r\n})\r\nexport class CitiesMapComponent implements OnInit {\r\n\r\n numerCities: number;\r\n @Input()\r\n activeCitiesInput: string;\r\n\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: false,\r\n nav: true,\r\n navSpeed: 900,\r\n dotsSpeed: 900,\r\n navText: [\"\", \"\"],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 4,\r\n },\r\n },\r\n };\r\n public innerWidth: any;\r\n isMobile = false;\r\n\r\n constructor(private deviceService: DeviceDetectorService) {\r\n this.isMobile = this.deviceService.isMobile();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.innerWidth = window.innerWidth;\r\n }\r\n\r\n activeCities(num){\r\n this.numerCities = num;\r\n\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{communitiesId['title']}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'type' | translate}}:\r\n {{communitiesId['fieldTipoDeComunidad']}}
\r\n \r\n
\r\n {{'sedesolo' | translate}}:\r\n {{communitiesId['fieldSedeComunidad']}}
\r\n \r\n
\r\n {{'fechaconstruccion' | translate}}:\r\n {{communitiesId['fieldFechaComunidad']}}
\r\n \r\n
\r\n {{'puntocontacto' | translate}}:\r\n {{communitiesId['fieldPuntoDeContactoComunida']}}
\r\n \r\n
\r\n {{'sitioweb' | translate}}:\r\n {{communitiesId['fieldSitioWeb']['uri']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { ActivatedRoute, Router } from '@angular/router';\r\nimport { CommunitiesService } from \"src/app/core/services/communities.service\";\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\n\r\n@Component({\r\n selector: 'app-communities-all',\r\n templateUrl: './communities-all.component.html',\r\n styleUrls: ['./communities-all.component.scss']\r\n})\r\nexport class CommunitiesAllComponent implements OnInit {\r\n\r\n communitiesId: any = {};\r\n communities: any[] = [];\r\n communitiesOpens = false;\r\n communitiesIdOpens = false;\r\n\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n indrag = false;\r\n\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private communitiesService: CommunitiesService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getCommunitiesId(true);\r\n this.getCommunities();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getCommunitiesId(false);\r\n this.getCommunities();\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, title]);\r\n }\r\n }\r\n\r\n getCommunitiesId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n\r\n const eventId = this.getEvenIdByName(arg.title);\r\n this.communitiesService.getCommunities(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (eventId) : this.communitiesId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(events, total) => {\r\n this.communitiesId = events[0];\r\n this.communitiesIdOpens = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string){\r\n return title.replace('-', ' ');\r\n }\r\n\r\n replace(){\r\n\r\n }\r\n\r\n getCommunities() {\r\n this.communitiesService.getCommunities('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (_alliances, total) => {\r\n this.communities = _alliances;\r\n this.communitiesOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n routerCommunities(title: string){\r\n return title.replace(' ', '-');\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 { Title } from '@angular/platform-browser';\r\nimport { NotificationsService } from 'angular2-notifications';\r\nimport { ContactUsStoreService } from 'src/app/core/services/forms/contact.us.store.service';\r\nimport { SeoService } from '../../../core/services/seo.service';\r\n\r\n@Component({\r\n selector: 'app-contact',\r\n templateUrl: './contact.component.html',\r\n styleUrls: ['./contact.component.scss']\r\n})\r\nexport class ContactComponent implements OnInit {\r\n\r\n\r\n showHidenInput: boolean;\r\n\r\n status = false;\r\n\r\n contact = {\r\n typeProyect: '',\r\n state: '',\r\n };\r\n support = {\r\n aliado: 'Ser aliado',\r\n licitacion: 'Anunciar Licitacion',\r\n financiacion: 'Anunciar financiacion',\r\n difundirConm: 'Difundir comunidad',\r\n promocionarP: 'Promocionar Proyecto',\r\n coOtro: 'Otro',\r\n data: []\r\n };\r\n aliado = false;\r\n licitacion = false;\r\n financiacion = false;\r\n difundirConm = false;\r\n promocionarP = false;\r\n coOtro = false;\r\n\r\n submitted = false;\r\n\r\n public form: FormGroup;\r\n get f() { return this.form.controls; }\r\n\r\n\r\n constructor(\r\n private contactUsService: ContactUsStoreService,\r\n private formBuilder: FormBuilder,\r\n private notificationService: NotificationsService,\r\n private seoService: SeoService,\r\n private title: Title\r\n )\r\n {\r\n this.loadValidations();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.flags();\r\n }\r\n\r\n flags() {\r\n this.seoService.generateFlags({\r\n title: 'LACChain Contacto',\r\n site_name: 'LCChain',\r\n description: 'LACChain Contacto',\r\n slug: 'contact',\r\n image: ''\r\n });\r\n this.title.setTitle('LACChain Contacto');\r\n }\r\n\r\n\r\n private loadValidations(): void {\r\n this.form = this.formBuilder.group({\r\n name: ['', Validators.compose([Validators.required, Validators.maxLength(255)])],\r\n contactPhone: ['', Validators.compose([Validators.required, Validators.maxLength(255)])],\r\n businessRepresent: ['', Validators.compose([Validators.required, Validators.maxLength(255)])],\r\n description: ['', Validators.compose([Validators.required, Validators.maxLength(1024)])],\r\n email: ['', Validators.compose([Validators.required, Validators.maxLength(255)])],\r\n categoriaOtro: ['', Validators.compose([Validators.maxLength(50)])],\r\n });\r\n }\r\n\r\n\r\n\r\n SendProyect(): void {\r\n this.submitted = true;\r\n\r\n if (this.form.invalid) {\r\n return;\r\n }\r\n\r\n const status = this.validateSupport();\r\n\r\n if (this.coOtro && this.f.categoriaOtro.value === '') {\r\n return;\r\n }\r\n\r\n if (!status) {\r\n return;\r\n }\r\n\r\n const form =\r\n {\r\n 'data': {\r\n 'type': 'node--formulario_l_store',\r\n 'attributes': {\r\n 'langcode': localStorage.getItem('lang'),\r\n 'title': this.f.name.value,\r\n 'field_categoria_formulario':\r\n this.support.data.join(',') +\r\n (', ' + (this.coOtro) ? (((this.support.data.length > 0) ? ',' : '') + this.f.categoriaOtro.value) : ''),\r\n 'field_correo_electronico': this.f.email.value,\r\n 'field_mensaje': this.f.description.value,\r\n 'field_nombre_de_la_compania': this.f.businessRepresent.value,\r\n 'field_telefono': this.f.contactPhone.value,\r\n }\r\n }\r\n };\r\n\r\n this.contactUsService.sendContactUsStore(form).subscribe((result: any) => {\r\n if (result.data.id !== null) {\r\n this.notificationService.success('Formulario enviado', '');\r\n setTimeout(() => {\r\n window.location.reload();\r\n }, 1000);\r\n } else {\r\n console.error('error on insert form');\r\n }\r\n })\r\n }\r\n\r\n validateSupport(): boolean {\r\n let status = false;\r\n const noSocial = this.support.data.filter(x => x === this.support.aliado === false).length === 0;\r\n\r\n if (this.aliado) {\r\n if (noSocial) {\r\n this.support.data.push(this.support.aliado);\r\n }\r\n status = true;\r\n } else {\r\n if (!this.aliado && !noSocial) {\r\n this.support.data = this.support.data.filter((x, y) => x !== this.support.aliado);\r\n }\r\n }\r\n\r\n const noFinanzas = this.support.data.filter(x => x === this.support.licitacion).length === 0;\r\n if (this.licitacion) {\r\n if (noFinanzas) {\r\n this.support.data.push(this.support.licitacion);\r\n }\r\n status = true;\r\n } else {\r\n if (!this.licitacion && !noFinanzas) {\r\n this.support.data = this.support.data.filter((x, y) => x !== this.support.licitacion);\r\n }\r\n }\r\n\r\n const noDesarrollo = this.support.data.filter(x => x === this.support.financiacion).length === 0;\r\n if (this.financiacion) {\r\n if (noDesarrollo) {\r\n this.support.data.push(this.support.financiacion);\r\n }\r\n status = true;\r\n } else {\r\n if (!this.financiacion && !noDesarrollo) {\r\n this.support.data = this.support.data.filter((x, y) => x !== this.support.financiacion);\r\n }\r\n }\r\n\r\n const noCoSeguridad = this.support.data.filter(x => x === this.support.difundirConm).length === 0;\r\n if (this.difundirConm) {\r\n if (noCoSeguridad) {\r\n this.support.data.push(this.support.difundirConm);\r\n }\r\n status = true;\r\n } else {\r\n if (!this.difundirConm && !noCoSeguridad) {\r\n this.support.data = this.support.data.filter((x, y) => x !== this.support.difundirConm);\r\n }\r\n }\r\n\r\n const noCoGobierno = this.support.data.filter(x => x === this.support.promocionarP).length === 0;\r\n\r\n if (this.promocionarP) {\r\n if (noCoGobierno) {\r\n this.support.data.push(this.support.promocionarP);\r\n }\r\n status = true;\r\n } else {\r\n if (!this.promocionarP && !noCoGobierno) {\r\n this.support.data = this.support.data.filter((x, y) => x !== this.support.promocionarP);\r\n }\r\n }\r\n\r\n if (this.coOtro) {\r\n status = true;\r\n }\r\n\r\n this.status = status;\r\n\r\n return status;\r\n }\r\n showInput() {\r\n this.showHidenInput = !this.showHidenInput;\r\n }\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, HostListener, OnInit } from '@angular/core';\r\nimport { NewContentLacchainService } from 'src/app/core/services/new.content.lacchain.service';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { CursesService } from 'src/app/core/services/curses.service';\r\nimport { ModalAcademyComponent } from '../modal-academy/modal-academy.component';\r\nimport { MatDialog } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-course-detail-academy',\r\n templateUrl: './course-detail-academy.component.html',\r\n styleUrls: ['./course-detail-academy.component.scss']\r\n})\r\nexport class CourseDetailAcademyComponent implements OnInit {\r\n widthIframe = '100%';\r\n heightIframe = 360;\r\n activeMedium = false;\r\n customOptionTwoAcademy: OwlOptions = {\r\n loop: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n margin: 15,\r\n navSpeed: 700,\r\n dotsSpeed: 500,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n nav: false,\r\n },\r\n 940: {\r\n items: 3,\r\n },\r\n },\r\n\r\n };\r\n curseSlider;\r\n eventsOpensSlider = false;\r\n hiddeninfoMenu = false;\r\n eventDetailOpen = false;\r\n claseOpen = false;\r\n dataId = null;\r\n clases = null;\r\n modules = null;\r\n moduleOpen = false;\r\n class = {\r\n open: false,\r\n data: null,\r\n };\r\n\r\n isShow: boolean;\r\n topPosToStartShowing = 100;\r\n activeIndex = 0;\r\n indexMain = 0;\r\n lastIndex = 0;\r\n dialogRef: any;\r\n showMoreId = true;\r\n showMoreText = 'vermas';\r\n indrag = false;\r\n\r\n constructor(private newContentService: NewContentLacchainService,\r\n private router: Router, private activatedRoute: ActivatedRoute,\r\n private cursesService: CursesService, public dialog: MatDialog) {\r\n window.scrollTo(0, 0);\r\n this.loadDetail(true);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getContents();\r\n window.scrollTo({\r\n top: 1,\r\n left: 1,\r\n behavior: 'smooth'\r\n });\r\n }\r\n iframeMedium(){\r\n this.widthIframe = '100%';\r\n this.heightIframe = 500;\r\n this.activeMedium = !this.activeMedium;\r\n if (this.activeMedium === false) {\r\n this.heightIframe = 360;\r\n }\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.router.navigate([link, this.routerEntities(title) ]);\r\n }\r\n }\r\n loadDetail(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const eventId = this.routerEntities(arg.title);\r\n if (arg.title !== undefined) {\r\n this.eventDetailOpen = false;\r\n this.cursesService.getCursesById(`\r\n {\r\n operator: EQUAL\r\n field: \"title\"\r\n value: \"${eventId}\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase()).then((data: any) => {\r\n window.scrollTo(0, 0);\r\n this.dataId = data[0];\r\n this.eventDetailOpen = true;\r\n });\r\n }\r\n\r\n this.loadModules(arg.title).then((x) => {\r\n this.loadClases(arg.title);\r\n });\r\n });\r\n }\r\n\r\n loadModules(id) {\r\n return new Promise((resolve, reject) => {\r\n this.moduleOpen = false;\r\n this.cursesService.getModulesByCurseId(`\r\n {\r\n operator: EQUAL\r\n field: \"field_curso_modulo.entity.title\"\r\n value: \"${(!id) ? (id) : id.replace('-', ' ')}\"\r\n },\r\n `,\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase()).then((data: any) => {\r\n window.scrollTo(0, 0);\r\n this.modules = data;\r\n this.moduleOpen = true;\r\n resolve(true);\r\n });\r\n });\r\n }\r\n\r\n loadClases(id) {\r\n return new Promise((resolve, reject) => {\r\n this.claseOpen = false;\r\n this.activatedRoute.params.subscribe(arg => {\r\n this.cursesService.getClasesByCurseId(`\r\n {\r\n operator: EQUAL\r\n field: \"field_curso_clase.entity.title\"\r\n value: \"${(!id) ? (id) : arg.title.replace('-', ' ')}\"\r\n },\r\n `,\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase()).then((data: any) => {\r\n if (data.length > 0) {\r\n window.scrollTo(0, 0);\r\n this.clases = data;\r\n this.lastIndex = this.clases.length - 1;\r\n this.class.data = data[0];\r\n this.class.open = true;\r\n this.claseOpen = true;\r\n resolve(true);\r\n }\r\n });\r\n });\r\n });\r\n }\r\n\r\n @HostListener('window:scroll')\r\n checkScroll() {\r\n const scrollPosition = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;\r\n if (scrollPosition >= this.topPosToStartShowing) {\r\n this.isShow = true;\r\n } else {\r\n this.isShow = false;\r\n }\r\n }\r\n\r\n getClasesByModule(keyModule, clases) {\r\n return clases.filter((x) => x.fieldModuloClase.entity.title === keyModule);\r\n }\r\n\r\n getGeneralIndexClassCurse(title): number {\r\n const indexers = this.clases.map((x, i) => {\r\n return {id: i, title: x.title, last: (this.clases.length === i)};\r\n });\r\n return indexers.filter((x) => x.title === title)[0].id;\r\n }\r\n\r\n goToClass(classs): void {\r\n this.activeIndex = this.getGeneralIndexClassCurse(classs.title);\r\n this.class.data = classs;\r\n this.class.open = true;\r\n }\r\n\r\n // TODO: Cross browsing\r\n gotoTop() {\r\n window.scroll({\r\n top: 0,\r\n left: 0,\r\n behavior: 'smooth'\r\n });\r\n }\r\n\r\n getUrlTypeContentRecent(target) {\r\n let url = '';\r\n url = 'course-detail';\r\n return url;\r\n }\r\n\r\n routerEntities(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n onViwModal() {\r\n (document.querySelector('body') as HTMLElement).style.height = '150vh';\r\n\r\n this.dialogRef = this.dialog.open(ModalAcademyComponent, {\r\n disableClose: true,\r\n });\r\n this.dialogRef.afterClosed().subscribe((result: any) => {\r\n (document.querySelector('body') as HTMLElement).style.height = '100vh';\r\n if (result) {\r\n }\r\n });\r\n\r\n }\r\n\r\n getContents() {\r\n this.cursesService.getCurses('', 100, 0,\r\n localStorage.getItem('lang').toUpperCase()).then((data: any) => {\r\n if (data.length > 0 && data[0] !== null) {\r\n this.curseSlider = data;\r\n this.eventsOpensSlider = true;\r\n }\r\n });\r\n }\r\n\r\n getImageTypeContent(target) {\r\n // tslint:disable-next-line:prefer-const\r\n let image = 'fieldImagenPreviewCurso';\r\n let result = '';\r\n if (image !== '') {\r\n const newData = target[image];\r\n result = (typeof newData.url !== 'undefined') ? newData.url : '';\r\n }\r\n return result;\r\n }\r\n\r\n desQuitActive() {\r\n (document.querySelector('#sidebar') as HTMLElement).classList.add('active');\r\n (document.querySelector('#content') as HTMLElement).classList.add('active');\r\n this.activeMedium = true;\r\n this.widthIframe = '100%';\r\n this.heightIframe = 500;\r\n this.hiddeninfoMenu = true;\r\n }\r\n\r\n quitActive() {\r\n (document.querySelector('#sidebar') as HTMLElement).classList.remove('active');\r\n (document.querySelector('#content') as HTMLElement).classList.remove('active');\r\n this.activeMedium = false;\r\n this.widthIframe = '100%';\r\n this.heightIframe = 500;\r\n this.hiddeninfoMenu = false;\r\n }\r\n\r\n showMore(){\r\n this.showMoreId = !this.showMoreId;\r\n if (this.showMoreId === false){\r\n this.showMoreText = 'vermenos';\r\n }\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
{{class.data.title}}\r\n
\r\n {{'tiempo' | translate}}: {{class.data.fieldDuracionClase}}\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
0\">\r\n
{{'adjuntosclase' | translate}}:
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
{{'descripcion' | translate}}:
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
{{item.entity.name}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
{{'informacionrelacionada' | translate}}\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{digitalProgramsId['title']}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'titularidad' | translate}}:\r\n {{digitalProgramsId['fieldTitularidadSoluciones']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'tipodesolucion' | translate}}:\r\n {{digitalProgramsId['fieldTipoSolucion']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'plataforma' | translate}}:\r\n {{digitalProgramsId['fieldPlataforma']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'categoria' | translate}}:\r\n {{digitalProgramsId['fieldCategoriaSoluciones']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'estado' | translate}}:\r\n {{digitalProgramsId['fieldEstadoSolucion']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'sede' | translate}}:\r\n {{digitalProgramsId['fieldSedeLegalSolucion']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'idiomasdisponibles' | translate}}:\r\n {{digitalProgramsId['fieldIdiomasDisponibles']}}
\r\n \r\n
\r\n
\r\n
\r\n {{'puntoContacto' | translate}}:\r\n {{digitalProgramsId['fieldPuntoContactoSoluciones']}}
\r\n \r\n
\r\n
\r\n
\r\n GitHub:\r\n {{digitalProgramsId['fieldGithub']['uri']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'sitioweb' | translate}}:\r\n {{digitalProgramsId['fieldSitioWebSoluciones']['uri']}}\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{'sitiodescarga' | translate}}:\r\n {{digitalProgramsId['fieldSitioDescargaSolucion']['uri']}}\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { DigitalProgramsService } from 'src/app/core/services/digital-programs.service';\r\n\r\n@Component({\r\n selector: 'app-digital-platforms-all',\r\n templateUrl: './digital-platforms-all.component.html',\r\n styleUrls: ['./digital-platforms-all.component.scss']\r\n})\r\nexport class DigitalPlatformsAllComponent implements OnInit {\r\n\r\n digitalProgramsId: any = {};\r\n digitalPrograms: any[] = [];\r\n\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n digitalProgramsIdOpens = false;\r\n digitalProgramsOpens = false;\r\n indrag = false;\r\n\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private lstoreService: DigitalProgramsService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getDigitalProgramsId(true);\r\n this.getDigitalPrograms();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getDigitalProgramsId(false);\r\n this.getDigitalPrograms();\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, (title) ]);\r\n }\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n getDigitalProgramsId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const entitiesId = this.getEvenIdByName(arg.title);\r\n this.digitalProgramsIdOpens = false;\r\n this.lstoreService.getPlatforms(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (entitiesId) : this.digitalProgramsId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(events, total) => {\r\n this.digitalProgramsId = events[0];\r\n this.digitalProgramsIdOpens = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getDigitalPrograms() {\r\n this.lstoreService.getPlatforms('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(_alliances, total) => {\r\n this.digitalPrograms = _alliances;\r\n this.digitalProgramsOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n routerDigitalPrograms(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{entitiesId['title']}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'expertise' | translate}}:\r\n {{entitiesId['fieldExpertiseEntidad']}}
\r\n \r\n
\r\n {{'sedesolo' | translate}}:\r\n {{entitiesId['fieldSede']}}
\r\n \r\n
\r\n {{'fechaconstruccion' | translate}}:\r\n {{entitiesId['fieldFechaEntidad']}}
\r\n \r\n
\r\n {{'puntocontacto' | translate}}:\r\n {{entitiesId['fieldContactoEntidad']}}
\r\n \r\n
\r\n {{'sitioweb' | translate}}:\r\n {{entitiesId['fieldSitioWeb']['uri']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { EntitiesService } from 'src/app/core/services/entities.service';\r\n\r\n@Component({\r\n selector: 'app-entities-all',\r\n templateUrl: './entities-all.component.html',\r\n styleUrls: ['./entities-all.component.scss']\r\n})\r\nexport class EntitiesAllComponent implements OnInit {\r\n\r\n entitiesId: any = {};\r\n entities: any[] = [];\r\n entitiesOpens = false;\r\n entitiesIdsOpens = false;\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n dots: true,\r\n nav: false,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n indrag = false;\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private entitiesService: EntitiesService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getEntities();\r\n this.getEntitiesId(true);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getEntities();\r\n this.getEntitiesId(false);\r\n }\r\n\r\n getEntitiesId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const entitiesId = this.getEvenIdByName(arg.title);\r\n this.entitiesIdsOpens = false;\r\n this.entitiesService.getEntities(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (entitiesId) : this.entitiesId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (events, total) => {\r\n this.entitiesId = events[0];\r\n this.entitiesIdsOpens = true;\r\n });\r\n });\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, title]);\r\n }\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getEntities() {\r\n this.entitiesService.getEntities('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (_alliances, total) => {\r\n this.entities = _alliances;\r\n this.entitiesOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n routerEntities(title: string){\r\n return title.replace(' ', '-');\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n\r\n
\r\n
\r\n
\r\n {{eventsId['title']}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'type' | translate}}:\r\n {{eventsId['fieldTipoEventoEcosistema']}}
\r\n \r\n
\r\n {{'lugar'| translate}}:\r\n {{eventsId['fieldLugarEventoEcosistema']}}
\r\n \r\n
\r\n {{'fecha'| translate}}:\r\n \r\n {{date | date: 'dd/MM/yyyy' }}
\r\n \r\n
\r\n {{'hora'| translate}}:\r\n {{date | date: 'h:mm a' }}\r\n
\r\n \r\n
\r\n {{'puntocontacto'| translate}}:\r\n {{eventsId['fieldPuntoContactoEventoComu']}}
\r\n \r\n
\r\n {{'sitioweb'| translate}}:\r\n {{eventsId['fieldSitioWeb']['uri']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'agenda' | translate}}:\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { EventsService } from 'src/app/core/services/events.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-events-all',\r\n templateUrl: './events-all.component.html',\r\n styleUrls: ['./events-all.component.scss']\r\n})\r\nexport class EventsAllComponent implements OnInit {\r\n\r\n eventsId: any = {};\r\n events;\r\n eventsIdOpens = false;\r\n eventsOpens = false;\r\n date: string;\r\n\r\n customOptions: OwlOptions = {\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n autoplay: true,\r\n loop: true,\r\n touchDrag: true,\r\n mouseDrag: true,\r\n dots: true,\r\n pullDrag: true,\r\n navSpeed: 700,\r\n nav: false,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n };\r\n indrag = false;\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private eventsService: EventsService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getEventsId(true);\r\n this.getEvents();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getEventsId(false);\r\n this.getEvents();\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, title]);\r\n }\r\n }\r\n\r\n getEventsId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const eventId = this.getEvenIdByName(arg.title);\r\n this.eventsService.getEvents(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (eventId) : this.eventsId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(events, total) => {\r\n this.eventsId = events[0];\r\n this.date = this.eventsId.fieldFechaInicioDeEvento.date.replace(/-/g, '/');\r\n this.eventsIdOpens = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getEvents() {\r\n this.eventsService.getEvents('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (_alliances, total) => {\r\n this.events = _alliances;\r\n this.eventsOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n routerEvents(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{financingOpportunitiesId['title']}}\r\n
\r\n
\r\n
\r\n {{'empresa' | translate}}:\r\n {{financingOpportunitiesId['fieldEmpresa']}}
\r\n \r\n
\r\n {{'descripcion' | translate}}:\r\n \r\n
\r\n
\r\n {{'tipodeproyecto' | translate}}:\r\n {{financingOpportunitiesId['fieldTipoDeProyecto']}}
\r\n \r\n
\r\n {{'categoria' | translate}}:\r\n {{financingOpportunitiesId['fieldCategoria']}}
\r\n \r\n
\r\n {{'tiposolicita' | translate}}:\r\n {{financingOpportunitiesId['fieldTipoDeApoyoQueSolicita']}}
\r\n \r\n
\r\n {{'puntocontacto' | translate}}:\r\n {{financingOpportunitiesId['fieldPuntoContactoOportunidad']}}
\r\n \r\n
\r\n {{'sitioweb' | translate}}:\r\n {{financingOpportunitiesId['fieldSitioWeb']['uri']}}
\r\n \r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\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 { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { FinancingOpportunitiesService } from 'src/app/core/services/financing-opportunities.service';\r\n\r\n@Component({\r\n selector: 'app-financing-opportunitienities-all',\r\n templateUrl: './financing-opportunitienities-all.component.html',\r\n styleUrls: ['./financing-opportunitienities-all.component.scss']\r\n})\r\nexport class FinancingOpportunitienitiesAllComponent implements OnInit {\r\n\r\n financingOpportunitiesId: any = {};\r\n financingOpportunities: any[] = [];\r\n\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n indrag = false;\r\n financingOpportunitiesIdsOpens = false;\r\n financingOpportunitiesOpens = false;\r\n\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private financingOpportunitiesService: FinancingOpportunitiesService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getFinancingOpportunitiesId(true);\r\n this.getFinancingOpportunities();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getFinancingOpportunitiesId(false);\r\n this.getFinancingOpportunities();\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, title]);\r\n }\r\n }\r\n\r\n getFinancingOpportunitiesId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const entitiesId = this.getEvenIdByName(arg.title);\r\n this.financingOpportunitiesIdsOpens = false;\r\n this.financingOpportunitiesService.getFinancingOpportunities(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (entitiesId) : this.financingOpportunitiesId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(events, total) => {\r\n this.financingOpportunitiesId = events[0];\r\n this.financingOpportunitiesIdsOpens = true;\r\n });\r\n });\r\n }\r\n\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getFinancingOpportunities() {\r\n this.financingOpportunitiesService.getFinancingOpportunities('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(_alliances, total) => {\r\n this.financingOpportunities = _alliances;\r\n this.financingOpportunitiesOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n routerFinancingOpportunities(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n templateUrl: './footer.component.html',\r\n styleUrls: ['./footer.component.scss']\r\n})\r\nexport class FooterComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","\r\n","import { Component, OnInit, EventEmitter, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-instruction',\r\n templateUrl: './instruction.component.html',\r\n styleUrls: ['./instruction.component.scss']\r\n})\r\nexport class InstructionComponent implements OnInit {\r\n participatesShow = false;\r\n carBlueActive = false;\r\n selectedIndex: number = null;\r\n selectedIndexMore: number = null;\r\n initalLoad = true;\r\n launchCommunity = '#launchcommunity';\r\n\r\n @Output()\r\n cardPositionEmit: EventEmitter = new EventEmitter();\r\n\r\n\r\n public informationCommunities = [\r\n { title_lang: 'promcomlacchain',\r\n description: 'promcomlacchainvermasone',\r\n descriptionII: 'manual',\r\n descriptionIII: 'promcomlacchainvermastwo',\r\n options:\r\n [{name: 'ecosistema', value: 'ecosystem'},\r\n {name: 'lablockchain', value: 'the-blockchain' },\r\n { name: 'academia', value: 'academy' }]\r\n },\r\n { title_lang: 'eresunaempresa',\r\n description: 'eresunaempresavermas',\r\n descriptionII: '',\r\n descriptionIII: '',\r\n options: [\r\n {name: 'lablockchain', value: 'the-blockchain' },\r\n {name: 'emprendimiento', value: 'entrepreneurship'},\r\n { name: 'academia', value: 'academy' }]},\r\n { title_lang: 'eresungobiero',\r\n description: 'eresungobierovermas',\r\n descriptionII: '',\r\n descriptionIII: '',\r\n options: [\r\n {name: 'casosdeuso', value: 'use-cases'},\r\n {name: 'lablockchain', value: 'the-blockchain'},\r\n { name: 'academia', value: 'academy' }] },\r\n { title_lang: 'eresemprendedor',\r\n description: 'eresemprendedorvermas',\r\n descriptionII: '',\r\n descriptionIII: '',\r\n options: [{name: 'emprendimiento', value: 'entrepreneurship'},\r\n {name: 'lstore', value: 'l-store'},\r\n { name: 'academia', value: 'academy' }] },\r\n ];\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n activeCard(index){\r\n this.selectedIndex = index;\r\n this.carBlueActive = !this.carBlueActive;\r\n if (index === 0){\r\n this.cardPositionEmit.emit('zero');\r\n } else if (index === 1){\r\n this.cardPositionEmit.emit('one');\r\n } else if (index === 2) {\r\n this.cardPositionEmit.emit('two');\r\n } else if (index === 3) {\r\n this.cardPositionEmit.emit('three');\r\n }\r\n }\r\n\r\n shoMore(index){\r\n this.initalLoad = false;\r\n this.participatesShow = !this.participatesShow ;\r\n this.selectedIndexMore = index;\r\n }\r\n\r\n backMe(){\r\n this.initalLoad = true;\r\n this.participatesShow = false;\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { NotificationsService } from 'angular2-notifications';\r\nimport { ContactHelpService } from 'src/app/core/services/forms/contact.help.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-modal-academy',\r\n templateUrl: './modal-academy.component.html',\r\n styleUrls: ['./modal-academy.component.scss']\r\n})\r\nexport class ModalAcademyComponent implements OnInit {\r\n submitted = false;\r\n coOtro = false;\r\n get primName() {return this.userEmails.get('primaryName');}\r\n get primEmail() { return this.userEmails.get('primaryEmail'); }\r\n get primAreaText() {\r\n return this.userEmails.get('primaryAreaText');\r\n }\r\n\r\n\r\n title = 'email-validation-tutorial';\r\n userEmails = new FormGroup({\r\n primaryName: new FormControl('', [\r\n Validators.required,\r\n Validators.maxLength(255),\r\n Validators.pattern('[a-zA-Z ñáéíóú]{2,254}')]),\r\n primaryEmail: new FormControl('', [\r\n Validators.required,\r\n Validators.maxLength(255),\r\n Validators.pattern('^[a-z0-9._%+-]+@[a-z0-9sinapsis iadb.-]+\\\\.[a-z global]{2,6}$')]),\r\n primaryAreaText: new FormControl('', [\r\n Validators.required,\r\n Validators.maxLength(255),\r\n Validators.pattern('[a-zA-Z0-9 ñáéíóú , . + - * () ?¿ !¡]{2,254}')]),\r\n });\r\n\r\n constructor(private contactHelpService: ContactHelpService,\r\n private formBuilder: FormBuilder,\r\n private notificationService: NotificationsService,\r\n private dialogRef: MatDialogRef) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n SendProyect(): void {\r\n this.submitted = true;\r\n\r\n if (this.userEmails.invalid) {\r\n return;\r\n }\r\n const form =\r\n {\r\n \"data\": {\r\n \"type\": \"node--ayuda_academy\",\r\n \"attributes\": {\r\n \"title\": \"Formulario de Ayuda\",\r\n \"field_descripcion_ayuda\": this.userEmails.value.primaryAreaText,\r\n \"field_email_ayuda\": this.userEmails.value.primaryEmail,\r\n \"field_nombre_ayuda\": this.userEmails.value.primaryName,\r\n }\r\n }\r\n };\r\n\r\n this.contactHelpService.sendHelp(form).subscribe((result: any) => {\r\n if (result.data.id !== null) {\r\n this.notificationService.success('Formulario enviado', '');\r\n this.dialogRef.close();\r\n } else {\r\n console.error('error on insert form');\r\n }\r\n });\r\n }\r\n\r\n\r\n}\r\n","\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n \r\n\r\n\r\n \r\n
¿En qué te podemos ayudar?
\r\n
Déjanos una breve descripción de en que te podría ayudar\r\n nuestro equipo de soporte.\r\n
\r\n
\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, Inject, Input, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n@Component({\r\n selector: 'app-modal-home',\r\n templateUrl: './modal-home.component.html',\r\n styleUrls: ['./modal-home.component.scss']\r\n})\r\nexport class ModalHomeComponent implements OnInit {\r\n image = null;\r\n link = null;\r\n open = false;\r\n constructor(@Inject(MAT_DIALOG_DATA) public data: any) {\r\n // if (data !== undefined && data !== null) {\r\n this.image = data.image;\r\n this.link = data.link;\r\n this.open = true;\r\n // }\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\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 { BsModalRef } from 'ngx-bootstrap/modal';\r\n\r\n@Component({\r\n selector: 'app-modal-webinar',\r\n templateUrl: './modal.webinar.component.html',\r\n styleUrls: ['./modal.webinar.component.scss']\r\n})\r\nexport class ModalWebinarComponent implements OnInit {\r\n\r\n title;\r\n url;\r\n constructor(\r\n public modalRef: BsModalRef\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n}\r\n","\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\nimport { TheBlockchainIframeComponent } from '../../components/the-blockchain-iframe/the-blockchain-iframe.component';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.scss'],\r\n})\r\nexport class NavMenuComponent implements OnInit {\r\n defaultSpanish = true;\r\n activeLang = 'es';\r\n isMobile = false;\r\n\r\n constructor(\r\n private translate: TranslateService,\r\n private router: Router,\r\n private deviceService: DeviceDetectorService,\r\n private route: ActivatedRoute\r\n ) {\r\n }\r\n\r\n ngOnInit(): void {\r\n localStorage.setItem('lang', this.activeLang);\r\n this.isMobile = this.deviceService.isMobile();\r\n this.initialLanguage();\r\n }\r\n\r\n\r\n initialLanguage(){\r\n this.route.queryParams.subscribe(params => {\r\n const lang = params['lang'];\r\n if (lang) {\r\n this.useLanguage(lang)\r\n localStorage.setItem('lang', lang);\r\n this.activeLang = lang;\r\n }\r\n });\r\n }\r\n\r\n useLanguage(lang: string) {\r\n if (lang === 'es') {\r\n this.defaultSpanish = true;\r\n } else {\r\n this.defaultSpanish = false;\r\n }\r\n this.activeLang = lang;\r\n localStorage.setItem('lang', lang);\r\n this.translate.use(lang);\r\n this.router.navigate([], {\r\n queryParams: { lang: localStorage.getItem('lang') },\r\n });\r\n\r\n TheBlockchainIframeComponent.updateLanguageSelected.next(true);\r\n }\r\n}\r\n","\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { OurNewsService } from 'src/app/core/services/our-news.service';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\n\r\n@Component({\r\n selector: 'app-our-news-all',\r\n templateUrl: './our-news-all.component.html',\r\n styleUrls: ['./our-news-all.component.scss']\r\n})\r\nexport class OurNewsAllComponent implements OnInit {\r\n\r\n ourNewsId: any = {};\r\n ourNews: any[] = [];\r\n indrag = false;\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n ourNewsIdOpens = false;\r\n ourNewsOpens = false;\r\n\r\n constructor(private activatedRoute: ActivatedRoute, private router: Router,\r\n private eurNewsService: OurNewsService) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getOurNews();\r\n this.getOurNewsId(true);\r\n }\r\n });\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getOurNews();\r\n this.getOurNewsId(false);\r\n }\r\n\r\n getOurNewsId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const entitiesId = this.getEvenIdByName(arg.title);\r\n this.ourNewsIdOpens = false;\r\n this.eurNewsService.getOurNews(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (entitiesId) : this.ourNewsId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(events, total) => {\r\n if(events.length > 0) {\r\n this.ourNewsId = events[0];\r\n this.ourNewsIdOpens = true;\r\n }\r\n });\r\n });\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, (title) ]);\r\n }\r\n }\r\n\r\n routerEntities(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getOurNews() {\r\n this.eurNewsService.getOurNews('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(_alliances, total) => {\r\n this.ourNews = _alliances;\r\n this.ourNewsOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n routerOurNews(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{useProjectsId['title']}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n {{'entidadesinvolucradas' | translate}}:\r\n {{useProjectsId['fieldEntidadesInvolucradas']}}
\r\n \r\n
\r\n {{'estado' | translate}}:\r\n {{useProjectsId['fieldEstadoProyectos']}}
\r\n \r\n
\r\n {{'categoria' | translate}}:\r\n {{useProjectsId['fieldCategoriaProyecto']}}
\r\n \r\n
\r\n {{'lugarorigen' | translate}}:\r\n {{useProjectsId['fieldLugarProyecto']}}
\r\n \r\n
\r\n {{'idiomasdisponibles' | translate}}:\r\n {{useProjectsId['fieldIdiomasDisponibles']}}
\r\n \r\n
\r\n {{'puntocontacto' | translate}}:\r\n {{useProjectsId['fieldPersonaDeContacto']}}
\r\n \r\n
\r\n {{'sitioweb' | translate}}/{{'sitiodescarga' | translate}}:\r\n {{useProjectsId['fieldSitioWebProyectos']['uri']}}
\r\n \r\n
\r\n Github:\r\n {{useProjectsId['fieldGithubProyecto']['uri']}}
\r\n \r\n
\r\n DEMO:\r\n {{useProjectsId['fieldDemo']['uri']}}
\r\n \r\n
\r\n {{'procesoboarding' | translate}}:\r\n {{useProjectsId['fieldProcesoDeIntegracion']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { UseProjectsService } from 'src/app/core/services/use-projects.service';\r\n\r\n@Component({\r\n selector: 'app-projects-all',\r\n templateUrl: './projects-all.component.html',\r\n styleUrls: ['./projects-all.component.scss']\r\n})\r\nexport class ProjectsAllComponent implements OnInit {\r\n\r\n useProjectsId: any = {};\r\n useProjects: any[] = [];\r\n\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n indrag = false;\r\n useProjectsIdOpens = false;\r\n useProjectsOpens = false;\r\n\r\n ngOnInit(): void {\r\n this.getUseProjectsId(false);\r\n this.getUseProjects();\r\n }\r\n\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private useProjectsService: UseProjectsService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getUseProjectsId(true);\r\n this.getUseProjects();\r\n }\r\n });\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, (title) ]);\r\n }\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n routerEntities(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n getUseProjectsId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const entitiesId = this.getEvenIdByName(arg.title);\r\n this.useProjectsIdOpens = false;\r\n this.useProjectsService.getUseProjects(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (entitiesId) : this.useProjectsId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (events, total) => {\r\n this.useProjectsId = events[0];\r\n this.useProjectsIdOpens = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getUseProjects() {\r\n this.useProjectsService.getUseProjects('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (_alliances, total) => {\r\n this.useProjects = _alliances;\r\n this.useProjectsOpens = true;\r\n });\r\n }\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n routerProjects(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n
\r\n
{{ image.entity.name }}\r\n
![]()
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{eventsId.title}}\r\n
\r\n
\r\n
\r\n
\r\n {{'fechaevento' | translate}}:\r\n {{date | date:'dd MMM yyyy'}}.\r\n
\r\n \r\n
\r\n {{'hora' | translate}}:\r\n \r\n \r\n \r\n
\r\n 400 && idHiddenShowDescription}\">\r\n
\r\n \r\n
400\"\r\n (click)=\"hiddenShowDescription()\">\r\n \r\n {{'vermas' | translate}}\r\n \r\n \r\n \r\n {{'vermenos' | translate}}\r\n \r\n \r\n \r\n
\r\n {{'impartidopor' | translate}}:\r\n
\r\n 140 && idHiddenShowImpartial}\">\r\n
\r\n \r\n
140\"\r\n (click)=\"hiddenShowImpartial()\">\r\n \r\n {{'vermas' | translate}}\r\n \r\n \r\n \r\n {{'vermenos' | translate}}\r\n \r\n \r\n \r\n
\r\n
\r\n {{ \"irevento\" | translate}}\r\n \r\n\r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\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 { ActivatedRoute, Router } from '@angular/router';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { AllianceEventsService } from 'src/app/core/services/alliance-events.service';\r\nimport { AlliancesService } from 'src/app/core/services/alliances.service';\r\nimport { EventsService } from 'src/app/core/services/events.service';\r\n\r\n@Component({\r\n selector: 'app-recent-content',\r\n templateUrl: './recent-content.component.html',\r\n styleUrls: ['./recent-content.component.scss']\r\n})\r\nexport class RecentContentComponent implements OnInit {\r\n\r\n eventsId: any = {};\r\n events: any[] = [];\r\n eventsRouletteOpens = false;\r\n eventDetailOpen = false;\r\n date: string;\r\n\r\n customOptions: OwlOptions = {\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n };\r\n indrag = false;\r\n idHiddenShowDescription = true;\r\n idHiddenShowImpartial = true;\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private allianceEventsService: AllianceEventsService,\r\n private alliancesServices: AlliancesService,\r\n private eventsService: EventsService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getEventsId(true);\r\n this.getEventsAcademy();\r\n }\r\n });\r\n }\r\n\r\n\r\n ngOnInit(): void {\r\n this.getEventsId(false);\r\n this.getEventsAcademy();\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, (title) ]);\r\n }\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n getEventsId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const eventId = this.getEvenIdByName(arg.title);\r\n this.eventDetailOpen = false;\r\n this.eventsService.getEventsAcademy(`\r\n {\r\n operator: EQUAL\r\n field: \"title\"\r\n value: \"${(!status) ? (eventId) : this.eventsId.title}\"\r\n },\r\n `,\r\n 1,\r\n 0, localStorage.getItem('lang').toUpperCase(), (events, total) => {\r\n this.eventsId = events[0];\r\n if (this.eventsId) {\r\n this.date = this.eventsId.fieldFechaInicioEvento.date.replace(/-/g, '/');\r\n }\r\n this.eventDetailOpen = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getEventsAcademy() {\r\n this.eventsService.getEventsAcademy('',\r\n 100,\r\n 0, localStorage.getItem('lang').toUpperCase(), (data, total) => {\r\n this.events = data;\r\n this.eventsRouletteOpens = true;\r\n });\r\n }\r\n\r\n getImageTypeContent(target) {\r\n // tslint:disable-next-line:prefer-const\r\n let image = 'fieldImagenPreviewAcademy';\r\n let result = '';\r\n if (image !== '') {\r\n const newData = target[image];\r\n result = (typeof newData.url !== 'undefined') ? newData.url : '';\r\n }\r\n return result;\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n routerEventParticipation(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n hiddenShowDescription(){\r\n this.idHiddenShowDescription = !this.idHiddenShowDescription;\r\n }\r\n\r\n hiddenShowImpartial(){\r\n this.idHiddenShowImpartial = !this.idHiddenShowImpartial;\r\n }\r\n\r\n}\r\n","import { Component, HostListener } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-schedule-call-banner',\r\n templateUrl: './schedule-call-banner.component.html',\r\n styleUrls: ['./schedule-call-banner.component.scss'],\r\n})\r\nexport class ScheduleCallBannerComponent {\r\n public showElement = false;\r\n private hasShownElement = false;\r\n @HostListener('window:scroll')\r\n onScroll() {\r\n if (this.hasShownElement) return;\r\n const scrollPosition =\r\n window.pageYOffset ||\r\n document.documentElement.scrollTop ||\r\n document.body.scrollTop ||\r\n 0;\r\n if (scrollPosition > 600) {\r\n this.showElement = true;\r\n this.hasShownElement = true;\r\n }\r\n }\r\n\r\n hideElement() {\r\n this.showElement = false;\r\n this.hasShownElement = true;\r\n }\r\n}\r\n","\r\n
\r\n
\r\n {{ \"scheduleCallText\" | translate }}\r\n
\r\n
\r\n
\r\n
\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{servicesId['title']}}\r\n
\r\n
\r\n
\r\n
{{servicesId['text']}}
\r\n\r\n
\r\n {{'tipodesolucion' | translate}}:\r\n {{servicesId['fieldTipoDeSolucion']}}
\r\n \r\n
\r\n {{'plataforma' | translate}}:\r\n {{servicesId['fieldPlataformaServicio']}}
\r\n \r\n
\r\n {{'categoria' | translate}}:\r\n {{servicesId['fieldCategoriaServicio']}}
\r\n \r\n
\r\n {{'estado' | translate}}:\r\n {{servicesId['fieldEstado']}}
\r\n \r\n
\r\n {{'sede' | translate}}:\r\n {{servicesId['fieldSedeLegal']}}
\r\n \r\n
\r\n {{'idiomasdisponibles' | translate}}:\r\n {{servicesId['fieldIdiomasDisponibleServics'].join(', ')}}
\r\n \r\n
\r\n {{'puntoContacto' | translate}}:\r\n {{servicesId['fieldPuntosDeContacto']}}
\r\n \r\n
\r\n {{'sitioweb' | translate}}:\r\n {{servicesId['fieldSitioWebServicio']['uri']}}
\r\n \r\n
\r\n {{'sitiodescarga' | translate}}:\r\n {{servicesId['fieldSitioDescarga']}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { ActivatedRoute, Router } from '@angular/router';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { StoreServices } from 'src/app/core/services/store.services.service';\r\n\r\n@Component({\r\n selector: 'app-services-all',\r\n templateUrl: './services-all.component.html',\r\n styleUrls: ['./services-all.component.scss']\r\n})\r\n\r\nexport class ServicesAllComponent implements OnInit {\r\n\r\n servicesId: any = {};\r\n services: any[] = [];\r\n\r\n customOptions: OwlOptions = {\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n };\r\n servicesOpens = false;\r\n servicesIdsOpens = false;\r\n servicesOpensId = false;\r\n indrag = false;\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private storeServices: StoreServices,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getServicesId(true);\r\n this.getServices();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getServicesId(false);\r\n this.getServices();\r\n }\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, (title) ]);\r\n }\r\n }\r\n\r\n getServicesId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const entitiesId = this.getEvenIdByName(arg.title);\r\n this.servicesOpensId = false;\r\n this.storeServices.getServices(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (entitiesId) : this.servicesId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (events, total) => {\r\n this.servicesId = events[0];\r\n this.servicesOpensId = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getServices() {\r\n this.storeServices.getServices('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(_alliances, total) => {\r\n this.services = _alliances;\r\n this.servicesOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n routerService(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { NotificationsService } from 'angular2-notifications';\r\nimport { ContactSubscribeService } from 'src/app/core/services/forms/contact.subscribe.service';\r\nimport { SeoService } from '../../../core/services/seo.service';\r\n\r\n@Component({\r\n selector: 'app-subscribe-academy',\r\n templateUrl: './subscribe-academy.component.html',\r\n styleUrls: ['./subscribe-academy.component.scss']\r\n})\r\nexport class SubscribeAcademyComponent implements OnInit {\r\n\r\n showHidenInput: boolean;\r\n\r\n status = false;\r\n\r\n contact = {\r\n typeProyect: '',\r\n state: '',\r\n };\r\n support = {\r\n aliado: 'Aceptar',\r\n data: []\r\n };\r\n aliado = false;\r\n\r\n\r\n submitted = false;\r\n\r\n language: string;\r\n profile: string;\r\n theme: string;\r\n checked = true;\r\n\r\n public allowCustom = true;\r\n get primName() { return this.form.get('name'); }\r\n get primEmail() { return this.form.get('email'); }\r\n get primContries() { return this.form.get('contriesInp'); }\r\n get primIndustry() { return this.form.get('industryInp'); }\r\n get primPosition() { return this.form.get('positionInp'); }\r\n\r\n form = new FormGroup({\r\n name: new FormControl('', [\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('[a-zA-Z ñáéíóú]{2,100}')]),\r\n email: new FormControl('', [\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('^[a-z0-9._%+-]+@[a-z0-9sinapsis iadb.-]+\\\\.[a-z global]{2,6}$')]),\r\n contriesInp: new FormControl('', [\r\n Validators.required,\r\n Validators.maxLength(100),\r\n Validators.pattern('[a-zA-Z ñáéíóú]{2,100}')]),\r\n industryInp: new FormControl('', [\r\n Validators.maxLength(100),\r\n Validators.pattern('[a-zA-Z ñáéíóú]{2,100}')]),\r\n positionInp: new FormControl('', [\r\n Validators.maxLength(100),\r\n Validators.pattern('[a-zA-Z ñáéíóú]{2,100}')]),\r\n });\r\n\r\n public lengItem:\r\n Array = ['Español', 'Portugúes', 'Inglés'];\r\n public temeItem:\r\n Array = ['Gobernanza', 'Estandarización', 'Regulación', 'Tecnología'];\r\n public profileItem:\r\n Array = ['Estudiante', 'Desarrollador', 'Emprendedor', 'Regulador', 'Sector público/Gobierno',\r\n 'Sector privado/Negocio'];\r\n\r\n constructor(\r\n private contactSubscribeService: ContactSubscribeService,\r\n\r\n private notificationService: NotificationsService,\r\n private seoService: SeoService,\r\n private title: Title\r\n ) {\r\n this.loadValidations();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.flags();\r\n }\r\n public selectionChangeLang(value: any): void {\r\n this.language = value;\r\n }\r\n\r\n public selectionChangeProfile(value: any): void {\r\n this.profile = value;\r\n }\r\n\r\n public selectionChangeTheme(value: any): void {\r\n this.theme = value;\r\n }\r\n\r\n flags() {\r\n this.seoService.generateFlags({\r\n title: 'LACChain Contacto',\r\n site_name: 'LCChain',\r\n description: 'LACChain Contacto',\r\n slug: 'contact',\r\n image: ''\r\n });\r\n this.title.setTitle('LACChain Contacto');\r\n }\r\n\r\n\r\n private loadValidations(): void {\r\n // this.form = this.formBuilder.group({\r\n // name: ['', Validators.compose([Validators.required, Validators.maxLength(255)])],\r\n // contactPhone: ['', Validators.compose([Validators.required, Validators.maxLength(255)])],\r\n // businessRepresent: ['', Validators.compose([Validators.required, Validators.maxLength(255)])],\r\n // description: ['', Validators.compose([Validators.required, Validators.maxLength(1024)])],\r\n // email: ['', Validators.compose([Validators.required, Validators.maxLength(255)])],\r\n // categoriaOtro: ['', Validators.compose([Validators.maxLength(50)])],\r\n // });\r\n }\r\n\r\n\r\n\r\n SendProyect(): void {\r\n\r\n this.submitted = true;\r\n if (this.language === undefined) {\r\n return;\r\n } else if (this.profile === undefined){\r\n return;\r\n\r\n } else if (this.theme === undefined) {\r\n return;\r\n }\r\n\r\n if (this.aliado === false) {\r\n return;\r\n }\r\n\r\n if (this.form.invalid) {\r\n return;\r\n }\r\n\r\n const form =\r\n {\r\n 'data': {\r\n 'type': 'node--suscriptores_academy',\r\n 'attributes': {\r\n 'title': 'Formulario de suscriptores_academy',\r\n 'field_nombre_suscriptor': this.form.value.name,\r\n 'field_email_suscriptores_academy': this.form.value.email,\r\n 'field_pais_suscriptor': this.form.value.contriesInp,\r\n 'field_idioma_suscriptor': this.language,\r\n 'field_perfil_suscriptor': this.profile,\r\n 'field_tema_suscriptor': this.theme,\r\n 'field_industria_suscriptor': this.form.value.industryInp,\r\n 'field_cargo_suscriptor': this.form.value.positionInp\r\n }\r\n }\r\n };\r\n\r\n this.contactSubscribeService.sendSubscribe(form).subscribe((result: any) => {\r\n if (result.data.id !== null) {\r\n this.notificationService.success('Formulario enviado', '');\r\n setTimeout(() => {\r\n window.location.reload();\r\n }, 4500);\r\n } else {\r\n console.error('error on insert form');\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n showInput() {\r\n this.showHidenInput = !this.showHidenInput;\r\n }\r\n\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
![\"\"]()
\r\n
\r\n
\r\n
\r\n {{tendersId['title']}}\r\n
\r\n
\r\n
{{tendersId['body']['summary']}}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\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 { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { TendersService } from 'src/app/core/services/tenders.service';\r\n\r\n@Component({\r\n selector: 'app-tenders-all',\r\n templateUrl: './tenders-all.component.html',\r\n styleUrls: ['./tenders-all.component.scss']\r\n})\r\nexport class TendersAllComponent implements OnInit {\r\n tendersId: any = {};\r\n tenders: any[] = [];\r\n\r\n customOptions: OwlOptions = {\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n },\r\n 1100: {\r\n items: 3,\r\n },\r\n 1200: {\r\n items: 3,\r\n },\r\n },\r\n loop: true,\r\n autoplay: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: false,\r\n navSpeed: 700,\r\n dotsSpeed: 700,\r\n navText: ['', ''],\r\n };\r\n tendersOpens = false;\r\n tendersIdOpens = false;\r\n indrag = false;\r\n\r\n goLinkNoDragging(link, title) {\r\n if (!this.indrag) {\r\n this.scrollTop();\r\n this.router.navigate([link, (title) ]);\r\n }\r\n }\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n constructor(\r\n private activatedRoute: ActivatedRoute,\r\n private tendersService: TendersService,\r\n private router: Router) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getTendersId(true);\r\n this.getTenders();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getTendersId(false);\r\n this.getTenders();\r\n }\r\n\r\n getTendersId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n const entitiesId = this.getEvenIdByName(arg.title);\r\n this.tendersIdOpens = false;\r\n this.tendersService.getTenders(`\r\n {\r\n operator: EQUAL\r\n field: \"field_titulo_ingles\"\r\n value: \"${(!status) ? (entitiesId) : this.tendersId.fieldTituloIngles }\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (events, total) => {\r\n this.tendersId = events[0];\r\n this.tendersIdOpens = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n getTenders() {\r\n this.tendersService.getTenders('',\r\n 100,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(), (_alliances, total) => {\r\n this.tenders = _alliances;\r\n this.tendersOpens = true;\r\n });\r\n }\r\n\r\n scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n routerTenders(title: string) {\r\n return title.replace(' ', '-');\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TheBlockchainService } from 'src/app/core/services/the-blockchain.service';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-the-blockchain-iframe',\r\n templateUrl: './the-blockchain-iframe.component.html',\r\n styleUrls: ['./the-blockchain-iframe.component.scss'],\r\n})\r\nexport class TheBlockchainIframeComponent implements OnInit {\r\n constructor(private theBlockchainService: TheBlockchainService) {\r\n TheBlockchainIframeComponent.updateLanguageSelected.subscribe((data) => {\r\n this.getImages();\r\n });\r\n this.getImages();\r\n }\r\n\r\n public static updateLanguageSelected: Subject = new Subject();\r\n\r\n dataOpen = false;\r\n data;\r\n\r\n getImages() {\r\n this.theBlockchainService.getImagesBlockchain(\r\n '',\r\n 100,\r\n 0,\r\n (academy, total) => {\r\n this.data = academy;\r\n this.dataOpen = true;\r\n }\r\n );\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getImages();\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

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

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

\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","\r\n
\r\n
\r\n
\r\n
{{videosId.title}}
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {{'idioma' | translate}}:\r\n {{videosId.fieldIdmVideoEducativo.entity.name}}
\r\n \r\n
\r\n
\r\n
\r\n {{'fechadecreacion' | translate}}:\r\n \r\n {{videosId.fieldTemporalVideoEducativo.date | date:'dd MMM yyyy'}}
\r\n \r\n
\r\n
\r\n
\r\n {{'audiencia' | translate}}:\r\n \r\n
{{item.entity.name}},
\r\n
,
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{'categoria' | translate}}:\r\n \r\n
{{item.entity.name}},
\r\n
,
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{'duracion' | translate}}:\r\n \r\n
{{videosId.fieldDuracionVideo}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n {{'informacionrelacionada' | translate}}\r\n
\r\n \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 { ActivatedRoute, Router } from '@angular/router';\r\nimport { OwlOptions } from 'ngx-owl-carousel-o';\r\nimport { NewContentLacchainService } from 'src/app/core/services/new.content.lacchain.service';\r\nimport { VideosService } from 'src/app/core/services/videos.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-video-related-information',\r\n templateUrl: './video-related-information.component.html',\r\n styleUrls: ['./video-related-information.component.scss']\r\n})\r\nexport class VideoRelatedInformationComponent implements OnInit {\r\n\r\n customOptionTwoAcademy: OwlOptions = {\r\n loop: true,\r\n mouseDrag: true,\r\n touchDrag: true,\r\n pullDrag: true,\r\n dots: true,\r\n nav: true,\r\n margin: 15,\r\n navSpeed: 700,\r\n dotsSpeed: 500,\r\n navText: ['<', '>'],\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n },\r\n 400: {\r\n items: 1,\r\n },\r\n 740: {\r\n items: 2,\r\n nav: false,\r\n },\r\n 940: {\r\n items: 3,\r\n },\r\n },\r\n\r\n };\r\n eventsSlider;\r\n eventsOpensSlider = false;\r\n videosId: any = {};\r\n date: string;\r\n eventDetailOpen = false;\r\n indrag = false;\r\n\r\n dragging(event): void {\r\n this.indrag = event.dragging;\r\n }\r\n\r\n goLinkNoDragging(arg1, arg2) {\r\n if (!this.indrag) {\r\n this.router.navigate([arg1, arg2]);\r\n }\r\n }\r\n\r\n constructor(private newContentService: NewContentLacchainService,\r\n private router: Router, private activatedRoute: ActivatedRoute,\r\n private videosService: VideosService,) {\r\n window.scrollTo(0, 0);\r\n this.router.events.subscribe((event: any) => {\r\n if ((typeof event.url !== 'undefined') && event.url.includes('lang')) {\r\n this.getEventsId(true);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.getEventsId(false);\r\n this.getContents();\r\n\r\n }\r\n\r\n getContents() {\r\n this.videosService.getVideosAcademy('', 9, 0,\r\n localStorage.getItem('lang').toUpperCase(), (data, total) => {\r\n this.eventsSlider = data;\r\n this.eventsOpensSlider = true;\r\n });\r\n }\r\n\r\n getUrlTypeContentRecent(target) {\r\n let url = '';\r\n url = 'video-related-information';\r\n return url;\r\n }\r\n\r\n getUrlTypeContent(target) {\r\n let url = '';\r\n switch (target) {\r\n case 'videos_educativos':\r\n url = 'video-related-information';\r\n break;\r\n case 'eventos_ecosistema':\r\n url = 'events';\r\n break;\r\n }\r\n\r\n return url;\r\n }\r\n\r\n\r\n getImageTypeContent(target) {\r\n // tslint:disable-next-line:prefer-const\r\n let image = 'fieldImagenVideoEducativo';\r\n let result = '';\r\n if (image !== '') {\r\n const newData = target[image];\r\n result = (typeof newData.url !== 'undefined') ? newData.url : '';\r\n }\r\n return result;\r\n }\r\n\r\n\r\n\r\n getEventsId(status: boolean) {\r\n this.activatedRoute.params.subscribe(arg => {\r\n\r\n const eventId = this.getEvenIdByName(arg.title);\r\n this.eventDetailOpen = false;\r\n this.videosService.getVideosAcademy(`\r\n {\r\n operator: EQUAL\r\n field: \"title\"\r\n value: \"${(!status) ? (eventId) : this.videosId.title}\"\r\n },\r\n `,\r\n 1,\r\n 0,\r\n localStorage.getItem('lang').toUpperCase(),(data, total) => {\r\n window.scrollTo(0, 0);\r\n this.videosId = data[0];\r\n this.eventDetailOpen = true;\r\n });\r\n });\r\n }\r\n\r\n getEvenIdByName(title: string) {\r\n return title.replace('-', ' ');\r\n }\r\n\r\n\r\n}\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false,\r\n dictionaryUrl: '../assets/i18n/'\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\ndocument.addEventListener('DOMContentLoaded', () => {\r\n platformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n });\r\n","var map = {\n\t\"./af\": 58685,\n\t\"./af.js\": 58685,\n\t\"./ar\": 254,\n\t\"./ar-dz\": 4312,\n\t\"./ar-dz.js\": 4312,\n\t\"./ar-kw\": 32614,\n\t\"./ar-kw.js\": 32614,\n\t\"./ar-ly\": 18630,\n\t\"./ar-ly.js\": 18630,\n\t\"./ar-ma\": 28674,\n\t\"./ar-ma.js\": 28674,\n\t\"./ar-sa\": 49032,\n\t\"./ar-sa.js\": 49032,\n\t\"./ar-tn\": 24730,\n\t\"./ar-tn.js\": 24730,\n\t\"./ar.js\": 254,\n\t\"./az\": 53052,\n\t\"./az.js\": 53052,\n\t\"./be\": 60150,\n\t\"./be.js\": 60150,\n\t\"./bg\": 63069,\n\t\"./bg.js\": 63069,\n\t\"./bm\": 13466,\n\t\"./bm.js\": 13466,\n\t\"./bn\": 18516,\n\t\"./bn.js\": 18516,\n\t\"./bo\": 26273,\n\t\"./bo.js\": 26273,\n\t\"./br\": 9588,\n\t\"./br.js\": 9588,\n\t\"./bs\": 19815,\n\t\"./bs.js\": 19815,\n\t\"./ca\": 83331,\n\t\"./ca.js\": 83331,\n\t\"./cs\": 21320,\n\t\"./cs.js\": 21320,\n\t\"./cv\": 72219,\n\t\"./cv.js\": 72219,\n\t\"./cy\": 68266,\n\t\"./cy.js\": 68266,\n\t\"./da\": 66427,\n\t\"./da.js\": 66427,\n\t\"./de\": 67435,\n\t\"./de-at\": 52871,\n\t\"./de-at.js\": 52871,\n\t\"./de-ch\": 12994,\n\t\"./de-ch.js\": 12994,\n\t\"./de.js\": 67435,\n\t\"./dv\": 82357,\n\t\"./dv.js\": 82357,\n\t\"./el\": 95649,\n\t\"./el.js\": 95649,\n\t\"./en-au\": 59961,\n\t\"./en-au.js\": 59961,\n\t\"./en-ca\": 10860,\n\t\"./en-ca.js\": 10860,\n\t\"./en-gb\": 3924,\n\t\"./en-gb.js\": 3924,\n\t\"./en-ie\": 70864,\n\t\"./en-ie.js\": 70864,\n\t\"./en-il\": 91579,\n\t\"./en-il.js\": 91579,\n\t\"./en-in\": 30940,\n\t\"./en-in.js\": 30940,\n\t\"./en-nz\": 16181,\n\t\"./en-nz.js\": 16181,\n\t\"./en-sg\": 44301,\n\t\"./en-sg.js\": 44301,\n\t\"./eo\": 85291,\n\t\"./eo.js\": 85291,\n\t\"./es\": 54529,\n\t\"./es-do\": 53764,\n\t\"./es-do.js\": 53764,\n\t\"./es-us\": 63425,\n\t\"./es-us.js\": 63425,\n\t\"./es.js\": 54529,\n\t\"./et\": 35203,\n\t\"./et.js\": 35203,\n\t\"./eu\": 70678,\n\t\"./eu.js\": 70678,\n\t\"./fa\": 83483,\n\t\"./fa.js\": 83483,\n\t\"./fi\": 96262,\n\t\"./fi.js\": 96262,\n\t\"./fil\": 52521,\n\t\"./fil.js\": 52521,\n\t\"./fo\": 34555,\n\t\"./fo.js\": 34555,\n\t\"./fr\": 63131,\n\t\"./fr-ca\": 88239,\n\t\"./fr-ca.js\": 88239,\n\t\"./fr-ch\": 21702,\n\t\"./fr-ch.js\": 21702,\n\t\"./fr.js\": 63131,\n\t\"./fy\": 267,\n\t\"./fy.js\": 267,\n\t\"./ga\": 23821,\n\t\"./ga.js\": 23821,\n\t\"./gd\": 71753,\n\t\"./gd.js\": 71753,\n\t\"./gl\": 4074,\n\t\"./gl.js\": 4074,\n\t\"./gom-deva\": 92762,\n\t\"./gom-deva.js\": 92762,\n\t\"./gom-latn\": 5969,\n\t\"./gom-latn.js\": 5969,\n\t\"./gu\": 82809,\n\t\"./gu.js\": 82809,\n\t\"./he\": 45402,\n\t\"./he.js\": 45402,\n\t\"./hi\": 315,\n\t\"./hi.js\": 315,\n\t\"./hr\": 10410,\n\t\"./hr.js\": 10410,\n\t\"./hu\": 38288,\n\t\"./hu.js\": 38288,\n\t\"./hy-am\": 67928,\n\t\"./hy-am.js\": 67928,\n\t\"./id\": 71334,\n\t\"./id.js\": 71334,\n\t\"./is\": 86959,\n\t\"./is.js\": 86959,\n\t\"./it\": 34864,\n\t\"./it-ch\": 51124,\n\t\"./it-ch.js\": 51124,\n\t\"./it.js\": 34864,\n\t\"./ja\": 36141,\n\t\"./ja.js\": 36141,\n\t\"./jv\": 29187,\n\t\"./jv.js\": 29187,\n\t\"./ka\": 42136,\n\t\"./ka.js\": 42136,\n\t\"./kk\": 94332,\n\t\"./kk.js\": 94332,\n\t\"./km\": 18607,\n\t\"./km.js\": 18607,\n\t\"./kn\": 84305,\n\t\"./kn.js\": 84305,\n\t\"./ko\": 70234,\n\t\"./ko.js\": 70234,\n\t\"./ku\": 16003,\n\t\"./ku.js\": 16003,\n\t\"./ky\": 75061,\n\t\"./ky.js\": 75061,\n\t\"./lb\": 32786,\n\t\"./lb.js\": 32786,\n\t\"./lo\": 66183,\n\t\"./lo.js\": 66183,\n\t\"./lt\": 50029,\n\t\"./lt.js\": 50029,\n\t\"./lv\": 24169,\n\t\"./lv.js\": 24169,\n\t\"./me\": 68577,\n\t\"./me.js\": 68577,\n\t\"./mi\": 68177,\n\t\"./mi.js\": 68177,\n\t\"./mk\": 50337,\n\t\"./mk.js\": 50337,\n\t\"./ml\": 65260,\n\t\"./ml.js\": 65260,\n\t\"./mn\": 52325,\n\t\"./mn.js\": 52325,\n\t\"./mr\": 14695,\n\t\"./mr.js\": 14695,\n\t\"./ms\": 75334,\n\t\"./ms-my\": 37151,\n\t\"./ms-my.js\": 37151,\n\t\"./ms.js\": 75334,\n\t\"./mt\": 63570,\n\t\"./mt.js\": 63570,\n\t\"./my\": 97963,\n\t\"./my.js\": 97963,\n\t\"./nb\": 88028,\n\t\"./nb.js\": 88028,\n\t\"./ne\": 86638,\n\t\"./ne.js\": 86638,\n\t\"./nl\": 50302,\n\t\"./nl-be\": 66782,\n\t\"./nl-be.js\": 66782,\n\t\"./nl.js\": 50302,\n\t\"./nn\": 33501,\n\t\"./nn.js\": 33501,\n\t\"./oc-lnc\": 50563,\n\t\"./oc-lnc.js\": 50563,\n\t\"./pa-in\": 50869,\n\t\"./pa-in.js\": 50869,\n\t\"./pl\": 65302,\n\t\"./pl.js\": 65302,\n\t\"./pt\": 49687,\n\t\"./pt-br\": 74884,\n\t\"./pt-br.js\": 74884,\n\t\"./pt.js\": 49687,\n\t\"./ro\": 79107,\n\t\"./ro.js\": 79107,\n\t\"./ru\": 33627,\n\t\"./ru.js\": 33627,\n\t\"./sd\": 30355,\n\t\"./sd.js\": 30355,\n\t\"./se\": 83427,\n\t\"./se.js\": 83427,\n\t\"./si\": 11848,\n\t\"./si.js\": 11848,\n\t\"./sk\": 54590,\n\t\"./sk.js\": 54590,\n\t\"./sl\": 20184,\n\t\"./sl.js\": 20184,\n\t\"./sq\": 56361,\n\t\"./sq.js\": 56361,\n\t\"./sr\": 78965,\n\t\"./sr-cyrl\": 81287,\n\t\"./sr-cyrl.js\": 81287,\n\t\"./sr.js\": 78965,\n\t\"./ss\": 25456,\n\t\"./ss.js\": 25456,\n\t\"./sv\": 70451,\n\t\"./sv.js\": 70451,\n\t\"./sw\": 77558,\n\t\"./sw.js\": 77558,\n\t\"./ta\": 51356,\n\t\"./ta.js\": 51356,\n\t\"./te\": 73693,\n\t\"./te.js\": 73693,\n\t\"./tet\": 21243,\n\t\"./tet.js\": 21243,\n\t\"./tg\": 42500,\n\t\"./tg.js\": 42500,\n\t\"./th\": 55768,\n\t\"./th.js\": 55768,\n\t\"./tk\": 77761,\n\t\"./tk.js\": 77761,\n\t\"./tl-ph\": 35780,\n\t\"./tl-ph.js\": 35780,\n\t\"./tlh\": 29590,\n\t\"./tlh.js\": 29590,\n\t\"./tr\": 33807,\n\t\"./tr.js\": 33807,\n\t\"./tzl\": 93857,\n\t\"./tzl.js\": 93857,\n\t\"./tzm\": 60654,\n\t\"./tzm-latn\": 8806,\n\t\"./tzm-latn.js\": 8806,\n\t\"./tzm.js\": 60654,\n\t\"./ug-cn\": 30845,\n\t\"./ug-cn.js\": 30845,\n\t\"./uk\": 19232,\n\t\"./uk.js\": 19232,\n\t\"./ur\": 47052,\n\t\"./ur.js\": 47052,\n\t\"./uz\": 77967,\n\t\"./uz-latn\": 32233,\n\t\"./uz-latn.js\": 32233,\n\t\"./uz.js\": 77967,\n\t\"./vi\": 98615,\n\t\"./vi.js\": 98615,\n\t\"./x-pseudo\": 12320,\n\t\"./x-pseudo.js\": 12320,\n\t\"./yo\": 31313,\n\t\"./yo.js\": 31313,\n\t\"./zh-cn\": 64490,\n\t\"./zh-cn.js\": 64490,\n\t\"./zh-hk\": 55910,\n\t\"./zh-hk.js\": 55910,\n\t\"./zh-mo\": 98262,\n\t\"./zh-mo.js\": 98262,\n\t\"./zh-tw\": 44223,\n\t\"./zh-tw.js\": 44223\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 46700;"],"names":["RouterModule","HomeComponent","AllianceComponent","EcosystemsComponent","EntrepreneurshipComponent","LStoreComponent","UseCasesComponent","ResourcesComponent","TheBlockchainComponent","CommunitiesAllComponent","EntitiesAllComponent","EventsAllComponent","OurNewsAllComponent","ServicesAllComponent","DigitalPlatformsAllComponent","AppsDappsAllComponent","FinancingOpportunitienitiesAllComponent","ProjectsAllComponent","AllianceEventsAllComponent","TendersAllComponent","ContactComponent","AcademyComponent","RecentContentComponent","CertifiableCoursesComponent","VideoRelatedInformationComponent","CourseDetailAcademyComponent","AcademicVideosComponent","SubscribeAcademyComponent","AcademicPublicationsComponent","routerOptions","useHash","anchorScrolling","scrollPositionRestoration","APP_ROUTES","path","component","redirectTo","AppRoutingModule","forRoot","imports","exports","AOS","AppComponent","constructor","translateService","console","log","getBrowserLang","currentLang","addLangs","setDefaultLang","ngOnInit","init","disable","selectors","decls","vars","template","i0","BrowserModule","LOCALE_ID","BrowserAnimationsModule","InputsModule","MatSliderModule","CarouselModule","MatTabsModule","MatCheckboxModule","MatDialogModule","DropDownsModule","ComboBoxModule","TranslateLoader","TranslateModule","TranslateHttpLoader","SimpleNotificationsModule","MultilineDotdotdotModule","LacchainComponent","NavMenuComponent","FooterComponent","BannerSitesComponent","CardCommunitiesComponent","CardEntitiesComponent","CardEventCommunitiesComponent","AutomaticTextComponent","DomSafePipe","CardBlueprintComponent","CardEventAllianceComponent","CardOurNewsComponent","CardServicesComponent","CardDigitalPlatformComponent","CardAppsDappsComponent","CardFinancingOpportunitiesComponent","CardProjectsComponent","CardTenderComponent","TheBlockchainIframeComponent","InstructionComponent","NgxPaginationModule","GraphQLModule","HttpClientModule","HttpClient","FormsModule","ReactiveFormsModule","environment","DateInputsModule","CardContentComponent","ModalModule","ModalWebinarComponent","DeviceDetectorModule","CitiesMapComponent","ModalHomeComponent","CardSliderRecentComponent","ModalAcademyComponent","EllipsisModule","registerLocaleData","localePt","localeEn","localeEsAR","ScheduleCallBannerComponent","AppModule","bootstrap","provide","useValue","withServerTransition","appId","loader","useFactory","HttpLoaderFactory","deps","timeOut","showProgressBar","pauseOnHover","clickToClose","maxLength","position","declarations","http","urlDinamicPrd","dictionaryUrl","allianceTextLine","descriptionInfra","allianceData","image","icon","title","description","color","isButton","textButton","isScroll","longDescription","ecosystemsData","entrepreneurshipData","description1","lStoreData","useCasesData","resourcesData","description2","description3","theBlockchainData","academyItemsData","organizationAlliance","id","number","detail","organizationAllianceCommunication","organizationAllianceStandard","organizationAllianceLegal","productionTheBlochain","homeOcdeGov","homeLacchain","domSanitizer","transform","value","args","bypassSecurityTrustResourceUrl","pure","gql","AllianceEventsService","apollo","getAllianceEvents","allianceEvents","getAllianceEventsId","getAllianceEventsService","searchFilter","limit","offset","lan","callback","query","getAllianceEventsQuery","fetchPolicy","subscribe","result","data","nodeQuery","entities","count","error","filter","language","factory","providedIn","AlliancesService","getAlliances","lang","getAlliancesQuery","AppsDappsService","getAppsDapps","getQuery","getAppsDappsId","appsDapps","BlogsService","getBlogs","BluePrintsService","getBluePrints","getBluePrintsQuery","CommunitiesService","getCommunities","getCommunitiesQuery","getCommunitiesId","communities","CursesService","getCurses","Promise","resolve","reject","getVideosCursesQuery","map","j","fieldTagsCategoria","x","fieldTagsCategoriaName","entity","name","getCursesById","getCursesQuery","getModulesByCurseId","getModulesByCurseQuery","getClasesByCurseId","getClasesByCurseQuery","getVideosId","videos","DigitalProgramsService","getPlatforms","getDigitalProgramsId","digitalPrograms","EntitiesService","getEntities","getEntitiesQuery","getEntitiesId","EventsService","getEvents","getEventsQuery","getEventsAcademy","getEventsAcademyQuery","getPublicationAcademy","getPublicationAcademyQuery","getEventsId","events","FinancingOpportunitiesService","getFinancingOpportunities","getFinancingOpportunitiesId","financingOpportunities","HttpHeaders","ContactHelpService","sendHelp","form","httpOptions","headers","btoa","post","ContactSubscribeService","sendSubscribe","ContactUsStoreService","sendContactUsStore","GenericCodeService","getLang","getLangQuery","taxonomyTermQuery","entityId","entityLabel","keyValue","fieldIdiomaKey","getPerfil","getPerfilQuery","fieldPerfilKey","getCategory","getCategoryQuery","fieldCategoriaKey","getTopic","getTopicQuery","fieldTemaKey","HomeService","getInformation","getInformationQuery","total","NewContentLacchainService","getNewContent","getRecentContent","getRecentContentQuery","OurNewsService","getOurResources","getQueryOurResources","getOurNews","getOurNewsId","ourNews","PublicationsService","getPublications","SeoService","meta","generateFlags","config","site_name","slug","updateTag","content","property","StadisticsHomeService","getStadistics","getStadisticsQuery","StoreServices","getServices","filters","TendersService","getTenders","getTendersId","tenders","TheBlockchainService","getImagesBlockchain","getImagesQuery","localStorage","getItem","toLocaleUpperCase","fieldTextoDashboard","processed","fieldTextoEnDashboard","fieldTextoExplorer","fieldTextoEnExplorer","fieldTextoMainnetNodes","fieldTextoEnMainnetNodes","fieldTextomainnetTransactions","fieldTextoEnMainnetTransact","UseProjectsService","getUseProjects","getUseProjectsId","useProjects","VideosService","getVideosAcademy","getVideosAcademyQuery","WebinarsService","getWebinars","ApolloModule","APOLLO_OPTIONS","HttpLinkModule","HttpLink","InMemoryCache","uri","createApollo","httpLink","link","create","cache","ctx_r6","ctx_r15","deviceService","newContentService","eventsService","router","seoService","es","en","isMobile","isTablet","academyDataBanner","detectMobilCarrusel","getContents","flags","window","scrollTo","top","left","behavior","goLinkNoDragging","indrag","navigate","routerEntities","setTitle","dragging","event","statusDots","statusNav","customOptionOne","loop","autoplay","autoplayTimeout","mouseDrag","touchDrag","pullDrag","dots","nav","navSpeed","dotsSpeed","navText","responsive","items","customOptionTwo","margin","toUpperCase","academy","eventsSlider","eventsOpensSlider","pageChanged","page","currentPagePublications","limitPublications","getOfsset","publication","publications","totalPublications","publicationsOpens","recentContent","recentContentOpens","getImageTypeContent","target","newData","url","getImageTypeContentRecent","type","targetId","imageTwo","getTextTypeContentRecent","text","summary","textTwo","getUrlTypeContent","encodeURIComponent","str","encodeURI","replace","selectionTypeCommunityChange","searchEntity","searchCommunity","showAdvancedSearch","consts","ctx","allianceEventsService","alliancesServices","organizationAllianceLocal","organizationAllianceLocalCommunication","organizationAllianceLocalStandard","organizationAllianceLocalLegal","allianceDataBanner","selectedIndex","getAlliancesEvents","includes","htmlStrText","customOptions","getPage","currentPage","setIndex","index","htmlStr","_alliances","alliances","allianceOpens","inTransact","allianceEventsOpen","routerEventParticipation","inputs","communitiesService","entitiesService","blueprintService","ecosystemDataBanner","loadListLang","listCommunityOpen","listTypeEventsOpen","setTimeout","listTypeCommunities","listTypeEvents","onChangeEventInitCommunities","concatFilter","filterSlabone","mainFilter","concatFilterEvent","mainFilterEvent","showAdvancedSearchCommunitiesClic","showAdvancedSearchEntities","showAdvancedSearchEntitiesClic","informationCommunities","selectionTypeEventChange","typeEvent","searchEvent","typeCommunity","_prints","blueprints","bluePrintOpens","currentPageCommunities","_communities","totalCommunities","communitiesOpen","limitEntities","getOfssetEntities","currentPageEntities","_entities","totalEntities","entitiesOpen","limitEvents","currentPageEvents","_events","totalEvents","eventsOpen","getPageCommunities","getPageEntities","getPageEvents","searchCommunityValue","searchEntitieValue","searchEventValue","routerCommunities","financingOpportunitiesService","opportunities","entrepreneurshipDataBanner","typeOpen","listTypeEntrepreneur","selectionType","typeProyect","purgeFilter","searchOpportunitie","selectionTypeSupport","typeSupport","_opportunnities","financingOpportunitiesOpen","field","fields","length","push","toString","fieldData","searchOpportunitieValue","routerFinancingOpportunities","ctx_r11","stadisticsService","dialog","location","renderer","homeService","open","homeOcdeLocal","homeLacchainLocal","homeModal","undefined","removeClass","nativeElement","addClass","modalView","getStadisticsHome","then","item","dialogRef","fieldImagenModalHome","fieldEnlaceModalHome","homeStadistics","eventsOpens","hiddenShoBtn","hiddenShowButton","getDateEvent","fieldDate","date","viewQuery","digitalProgramsService","appsDappsService","storeServices","apps","services","platforms","lStoreDataBanner","listTypeServiceOpen","listCategoryServiceOpen","listTypeStateOpen","listTypePlatformOpen","listCategoryOpen","listStateOpen","listCategoryTypeOpen","listTypeService","listCategoryService","listTypePlatform","listTypeState","ListCategoryApps","ListTypeStateApps","listTypeSolution","searchPlatform","purgeFilterPlatform","searchPlatformValue","getdigitalPrograms","concatFilterPlatform","mainFilterPlatform","fieldsPlatsforms","purgeFilterService","fieldDataService","fieldsServices","purgeFilterApp","fieldDataApp","fieldsApps","searchApp","searchAppValue","concatFilterApp","mainFilterApp","getPagePlatform","currentPagePlatform","selectionTypeService","typeService","concatFilterService","mainFilterService","searchService","selectionCategoryService","categoryService","selectionTypePlatform","typePlatform","selectionTypeSolution","typeSolution","selectionTypeSolutionApp","typeSolutionState","selectionCategorySolutionApp","categorySolution","selectionTypeState","typeState","getPageApp","currentPageApp","searchServiceValue","limitService","currentPageService","_services","totalService","servicesOpen","getPageService","limitPlatform","_platforms","totalPlatform","platformsOpen","limitApp","totalApp","appsOpens","routerService","scrollTop","scroll","ourNewsService","blogsService","publicationsService","webinarsService","modalService","prensa","resourcesDataBanner","searchPress","searchPressValue","getPageResources","currentPageResources","getPageBlogs","currentPageBlogs","limitBlogs","_blogs","blogs","totalBlogs","blogsOpens","getPagePublications","_publications","_ourResources","ourResources","ourResoucesOpens","_webinars","webinars","webinarsOpens","limitResources","_resources","resources","totalResources","resourcesOpens","showWebinar","urlIframe","modalRef","show","initialState","routerOurNews","blockChainServices","theBlockchainDataBanner","productionTheBlochainLocal","_rntities","entitiesOpens","useProjectsService","tendersService","proyects","useCasesDataBanner","listTypeStateProyectOpen","listTypeStateProyect","listCategories","listCategoriesOpen","limitProyect","currentPageProyect","_proyects","totalProyect","proyectsOpens","getPageProyects","getPageTenders","currentPageTender","limitTender","_tenders","totalTender","tendersOpens","selectionTypeStateProyect","typeStateProyect","purgeFilterProyect","concatFilterProyect","mainFilterproyect","searchProyects","searchProyectsValue","selectionTypeCategoryProyect","typeCategoryProyect","searchTenders","searchTendersValue","fieldsProyects","fieldDataProyects","routerProjects","moment","videosService","genericService","start","end","loadFilters","loadLang","loadPerfil","loadCategory","loadTopic","languageItems","perfil","category","topic","getVideos","firstLoad","onChangeLanguage","searchVideosFilter","searchVideosFilterReset","selectedVLang","selectedVDate","selectPerfilValue","selectCategoryValue","selectedTopicValue","searcherMultiple","onChangeDate","$event","handleFilterVideo","searcher","getVideosItems","valueChangeVideo","searchVideosByUuId","element","purgeFilterAllPlatform","putFilters","scrollIntoView","block","inline","key","join","pageChangedVideo","d","uuid","videosOpens","searchItemsVideo","fieldV","routerEventCurse","searchVideos","format","Date","add","purgeFilterSearchByName","ctx_r9","activatedRoute","status","params","arg","eventId","getEvenIdByName","eventDetailOpen","eventsId","fieldTituloIngles","fieldFechaInicioDeEvento","eventsRouletteOpens","ctx_r5","appsDappsIdsOpens","appsDappsId","appsDappsOpens","routerAppsDapps","currentInfoLocal","redirect","urlRedirect","images","formatDate","colorAcademy","sponsor","time","fuente","state","year","isVideoCurse","budget","cursesService","loadCurses","curses","loadComponent","searchCursesByUuId","searchCurses","pageChangedCurse","currentPageCurses","curseTitleSearch","limitCurses","getLangNameById","handleFilterCurse","getCursesItems","searchItemsCurse","valueChangeCurse","searchCurseValue","searchCursesFilter","purgeAllFilterPlatform","searchCurse","innerWidth","activeCities","num","numerCities","activeCitiesInput","communitiesId","communitiesIdOpens","communitiesOpens","Validators","f","controls","contactUsService","formBuilder","notificationService","aliado","licitacion","financiacion","difundirConm","promocionarP","coOtro","loadValidations","group","compose","required","contactPhone","businessRepresent","email","categoriaOtro","SendProyect","submitted","invalid","validateSupport","support","success","reload","noSocial","y","noFinanzas","noDesarrollo","noCoSeguridad","noCoGobierno","showInput","showHidenInput","ctx_r35","ctx_r37","loadDetail","iframeMedium","widthIframe","heightIframe","activeMedium","dataId","loadModules","loadClases","moduleOpen","modules","claseOpen","clases","lastIndex","class","checkScroll","scrollPosition","pageYOffset","document","documentElement","body","topPosToStartShowing","isShow","getClasesByModule","keyModule","fieldModuloClase","getGeneralIndexClassCurse","indexers","i","last","goToClass","classs","activeIndex","gotoTop","getUrlTypeContentRecent","onViwModal","querySelector","style","height","disableClose","afterClosed","curseSlider","desQuitActive","classList","hiddeninfoMenu","quitActive","remove","showMore","showMoreId","showMoreText","hostBindings","ctx_r8","lstoreService","getDigitalPrograms","entitiesId","digitalProgramsIdOpens","digitalProgramsId","digitalProgramsOpens","routerDigitalPrograms","entitiesIdsOpens","eventsIdOpens","routerEvents","financingOpportunitiesIdsOpens","financingOpportunitiesId","financingOpportunitiesOpens","EventEmitter","title_lang","descriptionII","descriptionIII","options","activeCard","carBlueActive","cardPositionEmit","emit","shoMore","initalLoad","participatesShow","selectedIndexMore","backMe","outputs","FormControl","FormGroup","primName","userEmails","get","primEmail","primAreaText","contactHelpService","primaryName","pattern","primaryEmail","primaryAreaText","close","MAT_DIALOG_DATA","translate","route","setItem","activeLang","initialLanguage","queryParams","useLanguage","defaultSpanish","use","updateLanguageSelected","next","eurNewsService","ourNewsIdOpens","ourNewsId","ourNewsOpens","ctx_r12","useProjectsIdOpens","useProjectsId","useProjectsOpens","ctx_r19","fieldFechaInicioEvento","hiddenShowDescription","idHiddenShowDescription","hiddenShowImpartial","idHiddenShowImpartial","onScroll","hasShownElement","showElement","hideElement","getServicesId","servicesOpensId","servicesId","servicesOpens","primContries","primIndustry","primPosition","contactSubscribeService","contriesInp","industryInp","positionInp","selectionChangeLang","selectionChangeProfile","profile","selectionChangeTheme","theme","ctx_r4","tendersIdOpens","tendersId","routerTenders","Subject","theBlockchainService","getImages","dataOpen","ctx_r14","arg1","arg2","videosId","production","enableProdMode","addEventListener","__NgCli_bootstrap_1","bootstrapModule","catch","err"],"sourceRoot":"webpack:///","x_google_ignoreList":[144]}