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,YAAc,IAIvC1D,WACED,KAAK4D,mBAGPA,mBAEE5D,KAAK6D,UAAU7D,KAAK8D,cAEGC,YAAY,KACjC/D,KAAKiD,OAAOe,IAAI,KACdhE,KAAK8D,cAAgB9D,KAAK8D,aAAe,GAAK9D,KAAKiE,aAAarD,OAChEZ,KAAK6D,UAAU7D,KAAK8D,iBANH,KAWvBD,UAAUK,GACRlE,KAAKmE,mBAAqB,mCAAmCnE,KAAKiE,aAAaC,8DA3CtEE,GAAaxE,mDAAbwE,EAAa9D,2FAAb+D,gBAAgB,odCN7BzE,iBAEIA,iBACIA,iBACIA,iBACIA,gBACAA,kBAAMA,mCAAYyE,eACdzE,iBACIA,mBAAuDA,uDAAvDA,QAEAA,iBACIA,oBAA0CA,mBAAMA,QACpDA,QACJA,QACJA,QACJA,QACJA,QACJA,QACJA,QAEAA,2BACAA,oBACAA,4BACAA,gCAtBIA,oGAO2EA,+GDFlEwE,GAAb,KDqBO,IAAME,EAAb,MAAM,sDAAOA,4DANF,CACPC,KACAC,KACAC,cAAsB3B,OAGbwB,GAAb","names":["i0","DepartmentComponent","constructor","dataService","this","ngOnInit","get","subscribe","result","departments","selectors","JobComponent","jobs","$","each","next","length","siblings","children","clone","appendTo","i","splitLocations","locations","split","ctx_r2","oxw","ctx_r4","TestimonialComponent","testimonialService","Testimonial","testimonials","jQuery","document","ready","owlCarousel","loop","center","autoplay","margin","nav","dots","navText","responsive","items","detail","id","getById","testimonial","LocationComponent","appRoutes","path","component","ngZone","router","onSearch","navigate","queryParams","keyword","onResize","event","isMobile","window","innerWidth","startImageSlider","loadImage","currentIndex","setInterval","run","slideIndexes","index","currentMobileImage","HomeComponent","ctx","HomeModule","CommonModule","FormsModule","RouterModule"],"sources":["./src/app/modules/home/components/department/department.component.html","./src/app/modules/home/components/department/department.component.ts","./src/app/modules/home/components/job/job.component.html","./src/app/modules/home/components/job/job.component.ts","./src/app/modules/home/components/testimonial/testimonial.component.html","./src/app/modules/home/components/testimonial/testimonial.component.ts","./src/app/modules/home/components/location/location.component.html","./src/app/modules/home/components/location/location.component.ts","./src/app/modules/home/home.module.ts","./src/app/modules/home/home.component.ts","./src/app/modules/home/home.component.html"],"sourcesContent":["\n
\n
\n
\n

Popular Categories

\n
\n
\n
\n
\n
\n\n
\n {{ department.name }}\n

{{ department.count }} Open Position

\n

1\">{{ department.count }} Open Positions

\n
\n
\n
\n
\n
\n
\n","import { Component, OnInit } from '@angular/core'; \nimport { DataService } from '@core/services';\n\n@Component({\n selector: 'app-department',\n templateUrl: './department.component.html'\n})\nexport class DepartmentComponent implements OnInit {\n departments: any[] = [];\n constructor(private dataService: DataService) { }\n\n ngOnInit(): void {\n this.dataService.get('api/Departments/GetCount').subscribe((result: any[]) => this.departments = result);\n }\n}\n","\n
\n
\n
\n
\n

Recent Jobs

\n
\n \n
\n
\n
\n \n
\n\n
\n
\n
\n","import { Component, OnInit } from '@angular/core';\nimport { Job } from '@core/models';\nimport { DataService } from '@core/services';\n\ndeclare var $: any;\n\n@Component({\n selector: 'app-job',\n templateUrl: './job.component.html'\n})\n\nexport class JobComponent implements OnInit {\n jobs: any[] = [];\n constructor(private dataService: DataService) { }\n\n ngOnInit(): void {\n this.dataService.get('api/Jobs/GetRecent').subscribe((result: any[]) => this.jobs = result);\n $('.post-job-bx li').each(function () {\n var next = $(this).next();\n if (!next.length) {\n next = $(this).siblings(':first');\n }\n next.children(':first-child').clone().appendTo($(this));\n\n for (var i = 1; i < 2; i++) {\n next = next.next();\n if (!next.length) {\n next = $(this).siblings(':first');\n }\n\n next.children(':first-child').clone().appendTo($(this));\n }\n });\n }\n\n splitLocations(locations) {\n return locations.split(\",\");\n }\n\n}\n","\n
\n
\n
\n

Testimonials

\n
Few words from our employees
\n
\n \n
\n
\n\n\n\n
\n
\n
\n
\n
{{ testimonial.name }}
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
","import { Component, OnInit } from '@angular/core'; \nimport { Testimonial } from '@core/models';\nimport { DataService, TestimonialService } from '@core/services';\n\ndeclare var jQuery: any;\n\n@Component({\n selector: 'app-testimonial',\n templateUrl: './testimonial.component.html',\n styles: [\n ]\n})\nexport class TestimonialComponent implements OnInit {\n\n testimonials: any[] = [];\n testimonial: Testimonial = new Testimonial();\n constructor(private dataService: DataService, private testimonialService: TestimonialService) { }\n\n ngOnInit(): void {\n this.dataService.get('api/Testimonials/GetByType/Employee').subscribe((result: any[]) => {\n this.testimonials = result;\n jQuery(document).ready(function () {\n jQuery('.blog-carousel-center').owlCarousel({\n loop: true,\n center: true,\n autoplay: true,\n margin: 30,\n nav: true,\n dots: false,\n navText: ['', ''],\n responsive: {\n 0: {\n items: 1\n },\n 480: {\n items: 2\n },\n 991: {\n items: 2\n },\n 1000: {\n items: 3\n }\n }\n })\n });\n });\n }\n\n detail(id: number) {\n this.testimonialService.getById(id).subscribe((testimonial: Testimonial) => this.testimonial = testimonial);\n }\n}\n","
\n
\n
\n
\n

Cities

\n
\n
\n \n
\n
","import { Component, OnInit } from '@angular/core'; \nimport { DataService } from '@core/services';\n\n@Component({\n selector: 'app-location',\n templateUrl: './location.component.html'\n})\nexport class LocationComponent implements OnInit {\n\n locations: any[] = [];\n constructor(private dataService: DataService) { }\n\n ngOnInit(): void {\n this.dataService.get('api/Locations/GetCount').subscribe((result: any[]) => this.locations = result);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule, Routes } from '@angular/router';\nimport { HomeComponent } from './home.component';\nimport { DepartmentComponent } from './components/department/department.component';\nimport { TestimonialComponent } from './components/testimonial/testimonial.component';\nimport { JobComponent } from './components/job/job.component';\nimport { LocationComponent } from './components/location/location.component';\nimport { FormsModule } from '@angular/forms'; \n\nconst appRoutes: Routes = [\n { path: '', component: HomeComponent },\n];\n\n@NgModule({\n declarations: [\n HomeComponent,\n DepartmentComponent,\n TestimonialComponent,\n JobComponent,\n LocationComponent\n ],\n imports: [\n CommonModule,\n FormsModule, \n RouterModule.forChild(appRoutes)\n ]\n})\nexport class HomeModule { }\n","import { Component, HostListener, NgZone, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'app-home',\n templateUrl: './home.component.html',\n})\nexport class HomeComponent implements OnInit {\n slideIndexes: number[] = [1, 2, 3]; // Array of slide indexes\n currentMobileImage: string;\n currentIndex = 0;\n\n\n isMobile = false;\n keyword: string;\n mobileImageUrl: string;\n desktopImageUrl: string = '/assets/images/main-slider/slide1-desktop.jpg';\n\n constructor(\n private ngZone: NgZone,\n private router: Router) { }\n\n\n onSearch() {\n this.router.navigate(['/jobs'], { queryParams: { keyword: this.keyword } });\n }\n\n @HostListener('window:resize', ['$event'])\n onResize(event: any): void {\n this.isMobile = window.innerWidth <= 768;\n\n }\n\n ngOnInit() {\n this.startImageSlider();\n }\n\n startImageSlider() {\n const intervalTime = 5000; // Time in milliseconds between image changes\n this.loadImage(this.currentIndex);\n\n const sliderInterval = setInterval(() => {\n this.ngZone.run(() => {\n this.currentIndex = (this.currentIndex + 1) % this.slideIndexes.length;\n this.loadImage(this.currentIndex);\n });\n }, intervalTime);\n }\n\n loadImage(index: number) {\n this.currentMobileImage = `/assets/images/main-slider/slide${this.slideIndexes[index]}-mobile.jpg`;\n }\n\n}\n\n\n","\n
\n
\n
\n
\n

\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n"],"sourceRoot":"webpack:///","file":"197.6af0af8b01bd5173.js"}