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AAa,UAGTC,kBAAkBC,YACtB3V,KAAKD,OAAOuH,IAAIyE,QAAQ,kBAAoB,EAAI/L,KAAKD,OAAOuH,IAAM,GACtE,iDAtJWgM,GAAiB9U,MAAAoC,MAAApC,MAAAqC,KAAArC,MAAAoC,MAAApC,MAAAsC,MAAAtC,MAAA0J,MAAA,oCAAjBoL,EAAiBvS,UAAA,oBAAA6U,UAAA,SAAAxU,EAAAC,MAAA,EAAAD,UACjByU,IAAa,SACbC,IAAe,SACfC,IAAgB,SAChBC,IAAmB,yuEDxChCxX,MAAA,EAAAyX,GAAA,oBAAiCzX,MAAA,OAAA6C,EAAAgS,khKCwBnB,IACV6C,MAAQ,iBAAkB,IACxBC,MAAW,SAAU,IACnBC,MAAM,CACJ1U,QAAS,EACT2U,SAAU,YACX,EACDC,MAAQ,oBAAkBF,MAAM,CAAE1U,QAAS,YAGhD,SAEU4R,CAAiB,kCCpB9BvJ,UAEA,MAAMwM,GAAiB,CACrB,CACEC,KAAM,GACNC,UAAWnD,GACXoD,YAAa,CAACC,KAAmBC,MACjCC,KAAM,CAACC,MAAO,CAAC,aAsBZ,IAAMC,GAAc,MAArB,MAAOA,oDAAc,mCAAdA,GAAc,uCAPvBC,KACAC,KAAaC,SAASX,IACtBY,IACAC,OAAc,SAILL,CAAc","names":["i0","_r1","brand_r2","$implicit","ctx_r2","gotoSearch","name","logo","InfoBlocksComponent_ng_container_0_ng_container_2_div_1_Template","bike_count","type","show","InfoBlocksComponent_ng_container_0_ng_container_2_Template","_c0","logos","length","selectedCompanyGroup","InfoBlocksComponent_ng_template_1_div_22_Template","selectLanguage","InfoBlocksComponent","constructor","applicationService","searchService","router","this","ngOnInit","getSelectCompanyGroupCode","getSelectedLanguage","getLogos","getSelectedCompanyGroupBrands","filter","b","brand","setBrandAndArticleType","emitChange","navigateByUrl","i1","i2","i3","selectors","decls","vars","consts","template","rf","ctx","InfoBlocksComponent_ng_container_0_Template","InfoBlocksComponent_ng_template_1_Template","comet_r4","ctx_r1","opacity","brandItem_r3","intervalActive","LogosContainerComponent_div_0_app_widget_3_Template","brandwidgets","LogosContainerComponent","cmsService","helperService","companyGroupCode","getBrandWidgets","then","apiResponse","checkResponse","result","items","allWidgets","sessionStorage","setItem","JSON","stringify","brandWidgets","getSelection","interval","setInterval","ngOnDestroy","clearInterval","shuffle","slice","timer","subscribe","a","i","j","Math","floor","random","LogosContainerComponent_div_0_Template","promotion_r2","image","PromotionsComponent_ng_container_9_ng_container_1_img_2_Template","i_r4","ctx_r4","activeId","getPromoImg","title","promotioncode","PromotionsComponent_ng_container_9_ng_container_1_Template","hasArticles","selectedPromotion","PromotionsComponent_ng_template_12_div_0_Template","PromotionsComponent_ng_template_12_div_1_Template","item_r6","article_r8","_r7","showArticleDetails","_r9","showAll","PromotionsComponent","loaded","totalResults","mixedArticles","parts","bikes","groups","getPromotions","companyPromotions","Object","values","articles","promotion","concat","totalPromotions","Array","getNettPrices","allArticles","getPromotionsFromSearch","array","temporaryValue","randomIndex","currentIndex","search","COMMON","id","options","value","results","count","article","article_type","startsWith","push","includes","url","Number","company_id","tabId","tabChange","nextId","selectChange","event","index","findIndex","group","endsWith","i4","$event","PromotionsComponent_ng_container_9_Template","PromotionsComponent_ng_template_12_Template","PromotionsComponent_ng_template_13_Template","PromotionsComponent_ng_container_15_Template","PromotionsComponent_button_16_Template","PromotionsComponent_ng_container_17_Template","slide_r2","click","CarouselComponent_swiper_container_0_ng_container_1_p_4_Template","image_url","CarouselComponent_swiper_container_0_ng_container_1_Template","carouselSlides","CarouselComponent","trackingService","cacheService","slideChanged","EventEmitter","speed","infinite","direction","directionToggle","autoplay","breakpoint","width","number","getCarousel","ngAfterViewChecked","register","swiperEl","document","querySelector","classList","contains","assign","injectStylesUrls","initialize","needRefresh","CacheType","carousels","dataLoaded","slides","forEach","slide","item","language_definitions","carousel","CarouselSlide","link_url","campaign","Campaign","position","next","SwiperCore","use","Navigation","Pagination","Scrollbar","A11y","Autoplay","indexOf","formattedUrl","replace","window","open","slideChange","i5","outputs","CarouselComponent_swiper_container_0_Template","ctx_r0","pointsText","JunckerLoyaltyCountBannerComponent","points","translateService","instant","generalService","junckerPoints","junckerLoyaltyPointsUpdatedEmitted$","JunckerLoyaltyCountBannerComponent_div_0_Template","orderLine_r1","article_code","formatToOnlyWeekNumber","delivery_week_or_date","article_description","orderStatus","quantity_to_send","netto_price","LatestOpenOrdersComponent_ng_container_0_ng_container_1_details_1_li_15_Template","order_r3","erp_id","parsed_delivery_week_range","quantity_in_transit","total_quantity","getSum","LatestOpenOrdersComponent_ng_container_0_ng_container_1_details_1_Template","LatestOpenOrdersComponent_ng_container_0_ng_container_1_Template","LatestOpenOrdersComponent_ng_container_0_a_2_Template","orders","LatestOpenOrdersComponent_ng_template_1_span_0_Template","LatestOpenOrdersComponent_ng_template_1_ngx_skeleton_loader_1_Template","LatestOpenOrdersComponent_ng_template_1_div_2_Template","LatestOpenOrdersComponent","financialService","getOrders","filters","OrderLineOptionInput","unsortedOrders","sortedOrders","getOpenOrders","_","order","firstOrderLine","deliveryWeekRange","getTotalInTransitAndQuantity","formatSortedWeekYearBack","keys","sort","key","reverse","date","split","toString","substring","from","reduce","s","f","quantity","orderLine","toLowerCase","features","SortByPipe","LatestOpenOrdersComponent_ng_container_0_Template","LatestOpenOrdersComponent_ng_template_1_Template","noOpenOrders_r5","HomePageComponent_div_0_div_2_div_6_app_promotions_carousel_4_Template","showCarousel","HomePageComponent_div_0_div_2_div_6_Template","isMobile","HomePageComponent_div_0_Defer_10_app_recently_viewed_0_Template","accountType","_r2","selectDealer","HomePageComponent_div_0_div_14_a_7_Template","HomePageComponent_div_0_div_14_a_8_Template","_r3","gotoLink","HomePageComponent_div_0_div_15_div_3_Template","HomePageComponent_div_0_div_19_Defer_4_app_latest_open_orders_0_Template","scrolled","_r4","HomePageComponent_div_0_div_19_Defer_4_Template","HomePageComponent_div_0_div_19_DeferPlaceholder_5_Template","HomePageComponent_div_0_div_19_Defer_6_DepsFn","HomePageComponent_div_0_div_20_Defer_4_app_quick_links_0_Template","HomePageComponent_div_0_div_20_Defer_4_Template","HomePageComponent_div_0_div_20_DeferPlaceholder_5_Template","HomePageComponent_div_0_div_20_Defer_6_DepsFn","HomePageComponent_div_0_app_info_blocks_1_Template","HomePageComponent_div_0_div_2_Template","HomePageComponent_div_0_app_info_blocks_3_Template","HomePageComponent_div_0_app_logos_container_5_Template","HomePageComponent_div_0_app_juncker_loyalty_count_banner_8_Template","HomePageComponent_div_0_app_promotions_9_Template","HomePageComponent_div_0_Defer_10_Template","HomePageComponent_div_0_DeferPlaceholder_11_Template","HomePageComponent_div_0_Defer_12_DepsFn","HomePageComponent_div_0_div_14_Template","HomePageComponent_div_0_div_15_Template","HomePageComponent_div_0_app_logos_container_16_Template","HomePageComponent_div_0_div_19_Template","HomePageComponent_div_0_div_20_Template","HomePageComponent_div_0_app_info_blocks_21_Template","undefined","dealerSelected","_c1","newsItems","newsLoaded","showPage","HomePageComponent","activatedRoute","accountService","modalService","deviceDetector","events","NavigationEnd","setTimeout","getBrowser","params","cgc","scrollTo","isDealer","getAccountType","setScrollDetect","ngAfterViewInit","news","alertsComponent","getAlerts","obs","unsubscribe","self","endScrollHandle","waiting","fromEvent","e","clearTimeout","onWindowScroll","target","scrollingElement","scrollTop","SearchDealerModalComponent","size","container","backdrop","windowClass","componentInstance","redirectUrl","viewQuery","NewsComponent","AlertsComponent","WidgetsComponent","QuickLinksComponent","HomePageComponent_div_0_Template","trigger","transition","style","overflow","animate","routes","path","component","canActivate","IsAuthorizedGuard","IsVerifiedGuard","data","roles","HomePageModule","CommonModule","RouterModule","forChild","SharedModule","DropdownModule"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/components/home-page-components/info-blocks/info-blocks.component.html","./src/app/components/home-page-components/info-blocks/info-blocks.component.ts","./src/app/components/home-page-components/logos-container/logos-container.component.html","./src/app/components/home-page-components/logos-container/logos-container.component.ts","./src/app/components/home-page-components/promotions/promotions.component.html","./src/app/components/home-page-components/promotions/promotions.component.ts","./src/app/components/cms/carousel/carousel.component.html","./src/app/components/cms/carousel/carousel.component.ts","./src/app/components/juncker-loyalty-count-banner/juncker-loyalty-count-banner.component.html","./src/app/components/juncker-loyalty-count-banner/juncker-loyalty-count-banner.component.ts","./src/app/components/home-page-components/latest-open-orders/latest-open-orders.component.html","./src/app/components/home-page-components/latest-open-orders/latest-open-orders.component.ts","./src/app/components/home-page-components/home-page.component.html","./src/app/components/home-page-components/home-page.component.ts","./src/app/modules/home-page/home-page.module.ts"],"sourcesContent":["\n
\n \n
0 || brand.type === 'parts') && brand.show\">\n \n
\n
\n
\n
\n\n\n
\n
\n
\n
\n headset_mic\n
\n
\n
\n
\n
\n
\n
\n
\n phone\n
\n
\n
\n
\n
\n
\n
\n
\n settings\n
\n
\n
\n
\n
\n
\n
\n
\n content_copy\n
\n
\n
\n
\n
\n
\n \n
\n","import { Component, OnInit } from '@angular/core';\nimport * as moment from 'moment';\nimport { ApplicationService } from 'src/app/services/application.service';\nimport * as appGlobal from \"src/app/globals\";\nimport { Router } from '@angular/router';\nimport { BrandSelectorLogo } from 'src/app/interfaces/brand-selector-logo';\nimport { SearchService } from 'src/app/services/search.service';\n\n@Component({\n selector: \"app-info-blocks\",\n templateUrl: \"./info-blocks.component.html\",\n styleUrls: [\"./info-blocks.component.scss\"],\n})\nexport class InfoBlocksComponent implements OnInit {\n selectedCompanyGroup: string;\n selectLanguage:any;\n logos: BrandSelectorLogo[];\n\n constructor(\n private applicationService: ApplicationService,\n private searchService: SearchService,\n private router: Router\n ) {}\n\n ngOnInit() {\n this.selectedCompanyGroup =\n this.applicationService.getSelectCompanyGroupCode();\n this.selectLanguage=this.applicationService.getSelectedLanguage(); \n this.getLogos();\n }\n\n getLogos() {\n this.logos = this.applicationService.getSelectedCompanyGroupBrands(\n this.applicationService.getSelectCompanyGroupCode()\n ).filter((b) => {\n const brand = b as BrandSelectorLogo;\n return brand.bike_count > 0 || brand.type === \"parts\";\n })\n }\n\n gotoSearch(brand: any) {\n this.searchService.setBrandAndArticleType([brand.name], brand.type);\n this.searchService.emitChange(\"\");\n\n this.router.navigateByUrl(\n `${this.applicationService.getSelectCompanyGroupCode()}/search#filter&brands=${brand.name}&article_type=${brand.type}`\n );\n }\n}\n","
\n
\n
\n \n \n
\n
\n
\n","import { Component, OnInit } from '@angular/core';\nimport { BrandWidget } from 'src/app/interfaces/cms/brand-widget';\nimport { CmsService } from 'src/app/services/cms.service';\nimport { ApplicationService } from 'src/app/services/application.service';\nimport { Router } from '@angular/router';\nimport { ApiResponse } from 'src/app/interfaces/api-response';\nimport { timer } from 'rxjs';\nimport * as _ from 'underscore';\nimport { HelperService } from 'src/app/services/helper.service';\n\n@Component({\n selector: 'app-logos-container',\n templateUrl: './logos-container.component.html',\n styleUrls: ['./logos-container.component.scss']\n})\nexport class LogosContainerComponent implements OnInit {\n [x: string]: any;\n allWidgets: BrandWidget[];\n brandwidgets: BrandWidget[];\n opacity = \"0.4\";\n companyGroupCode = \"\";\n interval: any;\n intervalActive = true;\n\n\n\n constructor(\n private cmsService: CmsService,\n private applicationService: ApplicationService,\n private helperService: HelperService\n ) {\n this.companyGroupCode = this.applicationService.getSelectCompanyGroupCode();\n }\n\n getBrandWidgets() {\n this.cmsService.getBrandWidgets().then((apiResponse: ApiResponse) => {\n if (this.helperService.checkResponse(apiResponse)) {\n if (apiResponse.result.items && apiResponse.result.items.length) {\n this.allWidgets = apiResponse.result.items;\n sessionStorage.setItem(\n \"brandwidgets-\" + this.applicationService.getSelectCompanyGroupCode(), JSON.stringify(this.allWidgets)\n );\n const brandWidgets = apiResponse.result.items;\n if (brandWidgets.length > 6) {\n this.getSelection();\n this.interval = setInterval(() => {\n this.getSelection();\n }, 6000);\n } else {\n this.brandwidgets = brandWidgets;\n }\n }\n } else {\n this.brandwidgets = [];\n }\n });\n }\n\n ngOnDestroy(): void {\n if (this.interval) {\n clearInterval(this.interval);\n }\n }\n\n private getSelection() {\n if (this.intervalActive) {\n this.opacity = \"0\";\n\n // Randomize\n this.shuffle(this.allWidgets);\n this.brandwidgets = this.allWidgets.slice(0, 5);\n timer(300).subscribe(() => {\n this.opacity = \"0.5\";\n });\n }\n }\n\n private shuffle(a) {\n for (let i = a.length; i; i--) {\n let j = Math.floor(Math.random() * i);\n [a[i - 1], a[j]] = [a[j], a[i - 1]];\n }\n }\n\n ngOnInit() {\n this.getBrandWidgets()\n }\n}\n","

\n {{ \"PROMOTIONS\" | translate }}\n

\n\n\n \n {{\"ALL\"|translate}}\n \n\n \n \n \n {{ promotion.title ? promotion.title : promotion.promotioncode }}\n \n \n \n\n\n\n\n
\n
{{ selectedPromotion.title ? selectedPromotion.title : selectedPromotion.promotioncode }}\n
\n
\n
\n
{{ \"ALL\"|translate }}\n
\n
\n
\n\n
\n
{{ item.title ? item.title : item.promotioncode }}\n
\n
\n
\n\n\n \n \n \n \n\n\n\n {{ \"SHOW_MORE\" | translate }}\n\n\n\n \n \n\n","import { Component, OnInit } from \"@angular/core\";\nimport { SearchService } from \"src/app/services/search.service\";\nimport { ApiResponse } from \"src/app/interfaces/api-response\";\nimport { Article } from \"src/app/interfaces/article\";\nimport { Router } from \"@angular/router\";\nimport { ApplicationService } from \"src/app/services/application.service\";\nimport { CompanyPromotion } from \"src/app/interfaces/company-promotion\";\nimport * as _ from \"underscore\";\nimport { HelperService } from \"src/app/services/helper.service\";\nimport { NgbNavChangeEvent, NgbNavItem } from \"@ng-bootstrap/ng-bootstrap\";\n\n@Component({\n selector: \"app-promotions\",\n templateUrl: \"./promotions.component.html\",\n styleUrls: [\"./promotions.component.scss\"]\n})\nexport class PromotionsComponent implements OnInit {\n articles: Article[];\n selectedCompanyGroup: string;\n companyPromotions: CompanyPromotion[];\n loaded = false;\n totalResults = 0;\n activeId = \"-1\";\n mixedArticles: Article[] = []\n parts: Article[] = [];\n bikes: Article[] = [];\n promotionsLoaded: boolean;\n promotions: unknown[];\n groups: any = [];\n allArticles: any;\n selectedPromotion: CompanyPromotion = null;\n\n constructor(\n private searchService: SearchService,\n private router: Router,\n private applicationService: ApplicationService,\n private helperService: HelperService\n ) {}\n\n ngOnInit() {\n this.selectedCompanyGroup = this.applicationService.getSelectCompanyGroupCode();\n\n this.getPromotions();\n }\n\n getPromotions() {\n this.loaded = false;\n\n this.searchService.getPromotions().then((apiResponse: ApiResponse) => {\n this.loaded = true;\n if (this.helperService.checkResponse(apiResponse)) {\n this.companyPromotions = Object.values(apiResponse.result);\n\n let articles = [];\n for (let promotion of this.companyPromotions) {\n this.groups = this.groups.concat(promotion);\n const totalPromotions = Array(promotion).length;\n for (let i = 0; i < totalPromotions; i++) {\n if (promotion[i]) {\n articles = this.shuffle(articles.concat(promotion[i].articles));\n }\n }\n }\n // Pick ten\n this.articles = this.shuffle(articles.slice(0,10));\n if (articles && articles.length) {\n this.searchService.getNettPrices(articles);\n }\n }\n\n if (!this.articles.length) {\n this.getPromotionsFromSearch();\n } else {\n this.allArticles = this.shuffle(this.articles);\n }\n });\n }\n\n private shuffle(array) {\n var currentIndex = array.length, temporaryValue, randomIndex;\n\n // While there remain elements to shuffle...\n while (0 !== currentIndex) {\n\n // Pick a remaining element...\n randomIndex = Math.floor(Math.random() * currentIndex);\n currentIndex -= 1;\n\n // And swap it with the current element.\n temporaryValue = array[currentIndex];\n array[currentIndex] = array[randomIndex];\n array[randomIndex] = temporaryValue;\n }\n\n return array;\n }\n\n getPromotionsFromSearch() {\n this.loaded = false;\n\n const filters = {\n COMMON: {\n id: \"COMMON\",\n options: [\n { id: \"CMN_PROM\", value: \"checked\" },\n { id: \"CMN_AVAIL\", value: \"checked\" }\n ]\n }\n };\n this.searchService\n .search(\"\", 1, 50, \"1\", filters, {})\n .subscribe((apiResponse: ApiResponse) => {\n this.loaded = true;\n if (this.helperService.checkResponse(apiResponse)) {\n this.articles = Object.values(apiResponse.result.results);\n // Initially shuffle the first 50 articles\n this.shuffle(this.articles)\n this.totalResults = apiResponse.result[\"count\"];\n this.searchService.getNettPrices(this.articles);\n\n // Loop through each article until both parts and bikes are filled with 5 articles\n for (let article of this.articles) {\n if (this.parts.length < 5) {\n if (!article.article_type.startsWith(\"F\")) {\n this.parts.push(article)\n }\n }\n if (this.bikes.length < 5) {\n if (article.article_type.startsWith(\"F\")) {\n this.bikes.push(article)\n }\n }\n }\n\n // Add 5 parts and 5 bikes together to mixedArticles\n this.mixedArticles = this.parts.concat(this.bikes)\n\n // If there aren't 10 mixedArticles in total\n if (this.mixedArticles.length < 10) {\n // Loop through each of the 50 articles\n for (let article of this.articles) {\n // Only add to list if it's not already in there\n if (this.mixedArticles.includes(article) === false && this.mixedArticles.length < 10) {\n this.mixedArticles.push(article);\n }\n }\n }\n\n // Shuffle the mixedArticles again and put them in the original articles variable again\n this.articles = this.shuffle(this.mixedArticles);\n this.allArticles = this.shuffle(this.mixedArticles);\n }\n });\n }\n\n showArticleDetails(article) {\n this.router.navigateByUrl(\n `${this.applicationService.getSelectCompanyGroupCode()}/articleDetails/${\n article.id\n }`\n );\n }\n\n showAll() {\n let url = this.selectedCompanyGroup + \"/search#filter/COMMON=CMN_PROM\";\n\n if (Number(this.activeId) >= 0) {\n url = `${url}&HOMEPROMO=${this.groups[this.activeId].promotioncode}&COMPANY=${this.groups[this.activeId].company_id}`\n }\n\n this.router.navigateByUrl(\n url\n );\n }\n\n hasArticles(tabId: number) {\n const articles = this.groups[tabId].articles.filter((a) => {\n return Number(a.company_id) === Number(this.groups[tabId].company_id)\n });\n return articles.length\n }\n\n\n tabChange(tabId?: NgbNavChangeEvent) {\n if (typeof tabId !== \"undefined\") {\n this.activeId = tabId.nextId;\n }\n if (Number(this.activeId) >= 0) {\n this.articles = this.groups[this.activeId].articles.filter((a) => {\n return Number(a.company_id) === Number(this.groups[this.activeId].company_id)\n });\n } else {\n this.articles = this.allArticles;\n }\n this.searchService.getNettPrices(this.articles);\n }\n\n selectChange(event: any) {\n const index = this.groups.findIndex((group: CompanyPromotion) => {\n return (group.promotioncode === this.selectedPromotion.promotioncode)\n })\n this.activeId = index;\n this.tabChange();\n }\n\n getPromoImg(url: string) {\n if (url && !url.endsWith(\"/_t.jpg\")) {\n return url;\n } else {\n return \"\";\n }\n }\n}\n","\n \n \n
\n \n
\n

{{ slide.title }}

\n
\n
\n
\n","import { Component, OnInit, Output, EventEmitter } from '@angular/core';\nimport { CmsService } from 'src/app/services/cms.service';\nimport { NewsItem } from 'src/app/interfaces/cms/news-item';\nimport { Widget } from 'src/app/interfaces/cms/widget';\nimport { CarouselSlide } from 'src/app/interfaces/cms/carousel-slide';\nimport { Router } from '@angular/router';\nimport { TrackingService } from 'src/app/services/tracking.service';\nimport { Campaign } from 'src/app/interfaces/tracking/campaign';\nimport { CacheService } from 'src/app/services/cache.service';\nimport { CacheType } from 'src/app/interfaces/cache-tracker';\nimport { NgxHmCarouselBreakPointUp } from 'ngx-hm-carousel';\nimport SwiperCore, {\n A11y,\n Navigation,\n Pagination,\n Scrollbar,\n Autoplay,\n} from 'swiper';\nimport { ApplicationService } from 'src/app/services/application.service';\nimport { ApiResponse } from 'src/app/interfaces/api-response';\nimport { register } from 'swiper/element/bundle';\n\n@Component({\n selector: 'app-carousel',\n templateUrl: './carousel.component.html',\n styleUrls: ['./carousel.component.scss'],\n})\nexport class CarouselComponent implements OnInit {\n @Output() slideChanged: EventEmitter = new EventEmitter();\n slides: Array;\n currentIndex = 0;\n speed = 5000;\n infinite = true;\n direction = 'right';\n directionToggle = true;\n autoplay = true;\n carouselSlides: CarouselSlide[] = [];\n\n breakpoint: NgxHmCarouselBreakPointUp[] = [\n {\n width: 500,\n number: 1,\n },\n {\n width: 800,\n number: 2,\n },\n {\n width: 1420,\n number: 2,\n },\n ];\n\n constructor(\n public applicationService: ApplicationService,\n private cmsService: CmsService,\n private router: Router,\n private trackingService: TrackingService,\n private cacheService: CacheService\n ) {}\n\n ngOnInit() {\n this.getCarousel();\n }\n\n ngAfterViewChecked() {\n register();\n\n const swiperEl = document.querySelector('swiper-container');\n if (swiperEl && !swiperEl.classList.contains(\"swiper-initialized\")) {\n const params = {\n injectStylesUrls: ['/assets/carousel.css'],\n };\n\n Object.assign(swiperEl, params);\n\n swiperEl['initialize']();\n }\n }\n\n getCarousel() {\n if (this.cacheService.needRefresh(CacheType.carousels)) {\n this.cacheService.carouselSlides = [];\n this.cmsService.getCarousel().subscribe((apiResponse: ApiResponse) => {\n if (apiResponse && apiResponse.result) {\n this.cacheService.dataLoaded(CacheType.carousels);\n const slides = apiResponse.result['items'];\n let count = 0;\n const carouselSlides = [];\n if (slides) {\n let campaigns = Array();\n slides.forEach((slide: Widget) => {\n if (count < 10) {\n const item = slide.language_definitions[0];\n const carousel = new CarouselSlide(\n item.image_url,\n item.title,\n item.link_url,\n item.id,\n count\n );\n carouselSlides.push(\n new CarouselSlide(\n item.image_url,\n item.title,\n item.link_url,\n item.id,\n count\n )\n );\n\n // Track first carousel\n if (count === 0) {\n this.trackingService.campaign('promoView', [\n new Campaign(\n carousel.id,\n carousel.title,\n carousel.position,\n carousel.link_url\n ),\n ]);\n }\n\n count++;\n }\n });\n\n if (carouselSlides.length === 1) {\n carouselSlides.push(carouselSlides[0]);\n }\n\n this.carouselSlides = carouselSlides;\n this.cacheService.carouselSlides = carouselSlides;\n if (this.carouselSlides && this.carouselSlides.length) {\n this.slideChanged.next(this.carouselSlides[0].image_url);\n }\n SwiperCore.use([Navigation, Pagination, Scrollbar, A11y, Autoplay]);\n }\n } else {\n this.carouselSlides = [];\n }\n });\n } else {\n this.carouselSlides = this.cacheService.carouselSlides;\n }\n }\n\n click(slide: CarouselSlide) {\n this.trackingService.campaign('promoClick', [\n new Campaign(slide.id, slide.title, slide.position, slide.link_url),\n ]);\n if (slide['link_url'] && slide['link_url'].indexOf('accentry.com') >= 0) {\n let formattedUrl = slide['link_url']\n .replace('http://', 'https://')\n .replace('https://www.accentry.com/', '')\n .replace('https://shop.accentry.com/', '');\n if (formattedUrl.includes('search')) {\n formattedUrl = `${formattedUrl}&widgetId=${slide.id}`;\n }\n this.router.navigateByUrl(formattedUrl);\n } else if (slide['link_url']) {\n window.open(slide['link_url']);\n }\n }\n\n slideChange() {\n const carousel = this.carouselSlides[this.currentIndex];\n this.trackingService.campaign('promoView', [\n new Campaign(\n carousel.id,\n carousel.title,\n carousel.position,\n carousel.link_url\n ),\n ]);\n this.slideChanged.next(this.carouselSlides[this.currentIndex].image_url);\n }\n}\n","
\n \n
\n

{{\"JUNCKER_LOYALTY_TOOLTIP_TITLE\"|translate}}

\n

{{pointsText}}

\n
\n
\n","import { Component } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { GeneralService } from 'src/app/services/general.service';\n\n@Component({\n selector: 'app-juncker-loyalty-count-banner',\n templateUrl: './juncker-loyalty-count-banner.component.html',\n styleUrls: ['./juncker-loyalty-count-banner.component.scss']\n})\nexport class JunckerLoyaltyCountBannerComponent {\n points: number = null;\n\n get pointsText() {\n return this.points || this.points == 0 ? this.translateService.instant(\"JUNCKER_LOYALTY_TOOLTIP_TEXT\").replace(\"[points]\", this.points) : \"\";\n }\n\n constructor(private generalService: GeneralService, private translateService: TranslateService) {\n\n // Init check if there are points\n this.points = this.generalService.junckerPoints;\n\n // Subscribe to changes\n this.generalService.junckerLoyaltyPointsUpdatedEmitted$.subscribe((points) => {\n this.points = points\n })\n }\n}\n","\n \n
\n \n
\n
\n {{ order[0].erp_id }}\n
\n
\n {{ \"WEEK\" | translate }} {{ order[0].parsed_delivery_week_range }}\n
\n
\n \n {{ order[0].quantity_in_transit }} / {{ order[0].total_quantity }}\n {{ \"IN_TRANSIT\" | translate }}\n
\n \n \n
\n \n
\n
\n
    \n
  • \n \n {{ \"WEEK\" | translate }}\n {{\n formatToOnlyWeekNumber(orderLine.delivery_week_or_date)\n }}\n {{ orderLine.article_description }} |\n {{ orderLine.delivery_week_or_date }}\n \n \n \n \n
  • \n
\n
\n
\n
\n {{ \"SHOW_MORE\" | translate }}\n
\n\n\n \n \n
\n

{{ \"NO_OPEN_ORDERS\" | translate }}

\n
\n
\n","import { Component, OnInit, NgModule } from '@angular/core';\nimport { FinancialService } from 'src/app/services/financial.service';\nimport { ApiResponse } from 'src/app/interfaces/api-response';\nimport * as _ from 'underscore';\nimport { OrderLineOptionInput } from 'src/app/interfaces/financial/openorders/order-line-option-input';\nimport { OrderLine } from 'src/app/interfaces/financial/openorders/order-line';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ApplicationService } from 'src/app/services/application.service';\nimport { SortByPipe } from \"src/app/pipes/sort-by.pipe\";\nimport { HelperService } from 'src/app/services/helper.service';\n\n\n@Component({\n selector: \"app-latest-open-orders\",\n templateUrl: \"./latest-open-orders.component.html\",\n styleUrls: [\"./latest-open-orders.component.scss\"],\n providers: [SortByPipe],\n})\nexport class LatestOpenOrdersComponent implements OnInit {\n orders: OrderLine[][];\n selectedCompanyGroup: string;\n loaded: boolean;\n constructor(\n private financialService: FinancialService,\n private applicationService: ApplicationService,\n private translateService: TranslateService,\n private helperService: HelperService\n ) {}\n\n ngOnInit() {\n this.getOrders();\n this.selectedCompanyGroup =\n this.applicationService.getSelectCompanyGroupCode();\n }\n\n getOrders() {\n const filters = new OrderLineOptionInput();\n let unsortedOrders = {};\n let sortedOrders = {};\n this.loaded = false;\n this.financialService\n .getOpenOrders(filters)\n .subscribe((apiResponse: ApiResponse) => {\n this.loaded = true;\n if (this.helperService.checkResponse(apiResponse)) {\n const items = typeof apiResponse.result !== \"undefined\" ? apiResponse.result[\"items\"] : []\n const orders: OrderLine[][] = Object.values(\n _.groupBy(items, \"erp_id\")\n );\n for (let order of orders) {\n const firstOrderLine =\n this.financialService.deliveryWeekRange(order);\n unsortedOrders[firstOrderLine.erp_id] = order;\n this.financialService.getTotalInTransitAndQuantity(order);\n this.financialService.formatSortedWeekYearBack(\n firstOrderLine.delivery_week_or_date\n );\n }\n Object.keys(unsortedOrders)\n .sort()\n .forEach(function (key) {\n sortedOrders[key] = unsortedOrders[key];\n });\n this.orders = Object.values(sortedOrders).reverse() as OrderLine[][];\n }\n });\n }\n\n formatToOnlyWeekNumber(date) {\n date = date.split(\" \");\n const week = date.toString().substring(0, 2).replace(/^0+/, \"\");\n return `${week}`;\n }\n\n getSum(orders: OrderLine[]) {\n const sum = Array.from(orders).reduce((s, f) => {\n return Number(s) + Number(Number(f[\"netto_price\"]) * f[\"quantity\"]);\n }, 0);\n return sum;\n }\n\n orderStatus(orderLine) {\n if (orderLine.quantity_in_transit > 0) {\n return `${orderLine.quantity_in_transit} / ${\n orderLine.quantity_to_send\n } ${this.translateService.instant(\"IN_TRANSIT\").toLowerCase()}`;\n }\n }\n\n formatSortedWeekYearBack(date) {\n date = date.toString();\n const week = date.substring(4, 6).replace(/^0+/, \"\");\n return `${week}`;\n }\n}\n","
\n \n \n
\n \n \n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n\n \n\n
\n \n
\n \n
\n \n \n @defer (on viewport) {\n \n } @placeholder {\n \n }\n\n\n \n
\n\n \n
\n \n \n
\n

\n {{ \"NEWS\" | translate }}\n

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

\n {{ \"BACKORDERS\" | translate }}\n

\n @defer (on viewport) {\n \n } @placeholder {\n \n }\n
\n\n \n
\n

{{ \"QUICKLINKS\" | translate }}

\n @defer (on viewport) {\n \n } @placeholder {\n \n }\n
\n \n
\n
\n
\n","import { Component, OnInit, ViewChild } from \"@angular/core\";\nimport { ActivatedRoute, NavigationEnd, Router } from \"@angular/router\";\nimport { ApplicationService } from \"src/app/services/application.service\";\nimport { CmsService } from \"src/app/services/cms.service\";\nimport { AlertItem } from \"src/app/interfaces/cms/alert-item\";\nimport { NewsItem } from \"src/app/interfaces/cms/news-item\";\nimport { Widget } from \"src/app/interfaces/cms/widget\";\nimport { ApiResponse } from \"src/app/interfaces/api-response\";\nimport { AlertsComponent } from \"./alerts/alerts.component\";\nimport { WidgetsComponent } from \"./widgets/widgets.component\";\nimport { NewsComponent } from \"./news/news.component\";\nimport { AccountService } from \"src/app/services/account.service\";\nimport { QuickLinksComponent } from \"../cms/quick-links/quick-links/quick-links.component\";\nimport { fromEvent } from \"rxjs\";\nimport { SearchDealerModalComponent } from \"../helpdesk/search-dealer-modal/search-dealer-modal.component\";\nimport { NgbModal } from \"@ng-bootstrap/ng-bootstrap\";\nimport { DeviceDetectorService } from \"ngx-device-detector\";\nimport * as moment from \"moment\";\nimport { animate, style, transition, trigger } from \"@angular/animations\";\n\n@Component({\n selector: \"app-home-page\",\n templateUrl: \"./home-page.component.html\",\n styleUrls: [\"./home-page.component.scss\"],\n animations: [\n trigger(\"enterAnimation\", [\n transition(\":enter\", [\n style({\n opacity: 0,\n overflow: \"hidden\",\n }),\n animate(\"325ms ease-out\", style({ opacity: 1 })),\n ]),\n ]),\n ],\n})\nexport class HomePageComponent implements OnInit {\n @ViewChild(NewsComponent) news: NewsComponent;\n @ViewChild(AlertsComponent) alertsComponent: AlertsComponent;\n @ViewChild(WidgetsComponent) widgetsComponent: WidgetsComponent;\n @ViewChild(QuickLinksComponent) quickLinksComponent: QuickLinksComponent;\n\n selectedCompanyGroup = \"\";\n newsItems: NewsItem[];\n dealerSelected: boolean;\n browser: string;\n showCarousel: boolean;\n obs: any;\n scrolled: boolean;\n accountType: string;\n showPromotions: boolean;\n newsLoaded: boolean;\n isMobile: boolean;\n showPage: boolean;\n\n\n gotoLink(type: string) {\n let url = \"#\";\n switch (type) {\n case \"promotions\":\n url = `${this.selectedCompanyGroup}/search#filter/COMMON=CMN_PROM`;\n break;\n case \"news\":\n url = `${this.selectedCompanyGroup}/news`;\n break;\n case \"backorders\":\n url = `${this.selectedCompanyGroup}/financial/openorders`;\n break;\n }\n this.router.navigateByUrl(url);\n }\n\n constructor(\n private activatedRoute: ActivatedRoute,\n private accountService: AccountService,\n private router: Router,\n private modalService: NgbModal,\n private deviceDetector: DeviceDetectorService\n ) {}\n\n ngOnInit() {\n this.showPage = true;\n this.router.events.subscribe(event => {\n if (event instanceof NavigationEnd) {\n this.showPage = false;\n setTimeout(() =>{\n this.showPage = true;\n }, 0)\n }\n });\n\n this.getBrowser();\n\n this.activatedRoute.params.subscribe((params) => {\n if (params[\"cgc\"]) {\n this.selectedCompanyGroup = params[\"cgc\"];\n window.scrollTo(0,0);\n }\n });\n\n this.router.events.subscribe((event) => {\n if (event instanceof NavigationEnd) {\n // do some logic again when same url is clicked\n }\n });\n\n this.router.events.subscribe((event) => {\n if (event instanceof NavigationEnd) {\n // do some logic again when same url is clicked\n }\n });\n\n this.router.events.subscribe((event) => {\n if (event instanceof NavigationEnd) {\n // do some logic again when same url is clicked\n }\n });\n\n this.dealerSelected = this.accountService.isDealer();\n this.accountType = this.accountService.getAccountType();\n this.isMobile = this.deviceDetector.isMobile();\n\n this.setScrollDetect();\n }\n\n ngAfterViewInit() {\n // Get news and alert items\n if (this.news) {\n this.alertsComponent.getAlerts();\n }\n }\n\n ngOnDestroy(): void {\n // Remove scroll listener\n if (this.obs) {\n this.obs.unsubscribe();\n }\n }\n\n setScrollDetect() {\n const self = this;\n let waiting = false;\n let endScrollHandle;\n this.obs = fromEvent(document, \"scroll\").subscribe((e) => {\n if (waiting) {\n return;\n }\n\n waiting = true;\n\n // clear previous scheduled endScrollHandle\n clearTimeout(endScrollHandle);\n this.onWindowScroll(e);\n\n setTimeout(function () {\n waiting = false;\n }, 100);\n\n endScrollHandle = setTimeout(function () {\n self.onWindowScroll(e);\n }, 200);\n });\n }\n\n onWindowScroll(e) {\n if (e.target && e.target.scrollingElement.scrollTop > 700) {\n this.scrolled = true;\n this.obs.unsubscribe();\n } else {\n }\n }\n\n getBrowser() {\n this.showCarousel = true;\n }\n\n selectDealer() {\n const modal = this.modalService.open(SearchDealerModalComponent, {\n size: \"lg\",\n container: \"#modalContainer\",\n backdrop: \"static\",\n windowClass: \"large\"\n });\n\n modal.componentInstance.redirectUrl =\n this.router.url.indexOf(\"yearAgreement\") >= 0 ? this.router.url : \"/\";\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SharedModule } from '../shared/shared.module';\nimport { HomePageComponent } from 'src/app/components/home-page-components/home-page.component';\nimport { Routes, RouterModule } from '@angular/router';\nimport { IsAuthorizedGuard } from 'src/app/guards/is-authorized.guard';\nimport { IsVerifiedGuard } from 'src/app/guards/is-verified.guard';\nimport { InfoBlocksComponent } from 'src/app/components/home-page-components/info-blocks/info-blocks.component';\nimport { CarouselComponent } from 'src/app/components/cms/carousel/carousel.component';\nimport { LogosContainerComponent } from 'src/app/components/home-page-components/logos-container/logos-container.component';\nimport { PromotionsComponent } from 'src/app/components/home-page-components/promotions/promotions.component';\nimport { LatestOpenOrdersComponent } from 'src/app/components/home-page-components/latest-open-orders/latest-open-orders.component';\nimport { register } from 'swiper/element/bundle';\nimport { JunckerLoyaltyCountBannerComponent } from 'src/app/components/juncker-loyalty-count-banner/juncker-loyalty-count-banner.component';\nimport { DropdownModule } from 'primeng/dropdown';\n\nregister();\n\nconst routes: Routes = [\n {\n path: \"\",\n component: HomePageComponent,\n canActivate: [IsAuthorizedGuard, IsVerifiedGuard],\n data: {roles: ['Dealer']},\n },\n];\n\n@NgModule({\n declarations: [\n InfoBlocksComponent,\n HomePageComponent,\n LogosContainerComponent,\n PromotionsComponent,\n CarouselComponent,\n LatestOpenOrdersComponent,\n JunckerLoyaltyCountBannerComponent,\n ],\n imports: [\n CommonModule,\n RouterModule.forChild(routes),\n SharedModule,\n DropdownModule\n ],\n exports: [],\n})\nexport class HomePageModule {}\n\n\n"],"x_google_ignoreList":[]}