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A,GAGnEA,wCAXuCA,cAAA,eAAA6C,GAAA,MAAAA,EAAArC,aAAAqC,EAAArC,YAAAC,MAGvBT,cAAA,aAAA6C,GAAA,MAAAA,EAAArC,YAAA,KAAAqC,EAAArC,YAAAC,KAI4BT,MAAA,GAAAA,MAAA,MAAA6C,EAAA,KAAAA,EAAAZ,MACuBjC,MAAA,GAAAA,MAAA,SAAA6C,EAAA,KAAAA,EAAAX,YAAA,MCdhE,IAAMgB,EAAyB,UAAAC,EAAhC,MAAOD,EAUXvE,cALAG,KAAAsE,OAAS,IAAIpC,KAKG,CAEhBE,WACEpC,KAAKuE,cAAgB,CACnBC,cAAgBxE,KAAKyE,SAASC,OAAS,EAAI,EAAI1E,KAAKyE,SAASC,OAC7DC,aAAc,GACdC,KAAO5E,KAAKyE,SAASC,OAAS,EAC9BG,qBAAsB,EACtBC,YAAY,EAEZC,SAAU,CACRC,MAAO,KACPC,kBAAiB,EACjBC,sBAAqB,GAG3B,CAEAzB,YAAYhC,GACU,MAAfzB,KAAKsE,QACNtE,KAAKsE,OAAOhC,KAAKb,EAEvB,WAhCW2C,yCAAyB,0BAAzBA,EAAyB7B,UAAA,4BAAAC,OAAA,CAAAiC,SAAA,YAAAhC,QAAA,CAAA6B,OAAA,UAAA5B,MAAA,EAAAC,KAAA,EAAAC,OAAA,6dAAAC,SAAA,SAAAC,EAAAC,GAAA,EAAAD,IDTpC5B,MADF,QACEA,CADG,gBAeDA,MAbA,EAAAiE,EAAA,qBAaAjE,CAb+C,EAAAkE,EAAA,sBA2BnDlE,iBA5B8DA,cAAA,gBAAA6B,EAAAwB,eACxBrD,MAAA,GAAAA,MAAA,UAAA6B,EAAA0B,UAaAvD,cAAA,UAAA6B,EAAA0B,4KCLzBL,CAAyB","names":["FeaturedContentService","_FeaturedContentService","constructor","apollo","appHotelService","this","getFeaturedContent","idHotel","query","getFeaturedContents","variables","filters","IsActive","eq","hotels","IdHotel","pipe","map","obj","normalizeStrapiV3","data","featuredContents","toPromise","i0","i1","i2","factory","ɵfac","providedIn","ctx_r0","service","ServiceIcon","url","caption","_r2","openPDFSerice","ServiceDetailComponent","_ServiceDetailComponent","onClose","EventEmitter","onOpenPdf","ngOnInit","closeModel","emit","selectors","inputs","outputs","decls","vars","consts","template","rf","ctx","ServiceDetailComponent_caption_box_8_Template","ServiceDetailComponent_a_12_Template","PathIcon","Name","Description","PDF","service_r3","$implicit","ctx_r3","showService","_r5","ServicesCarouselComponent_swiper_slide_3_div_1_Template","ServicesCarouselComponent_swiper_slide_3_caption_box_2_Template","_r1","_r7","service_r8","_r9","ServicesCarouselComponent_swiper_slide_4_div_1_Template","ServicesCarouselComponent_swiper_slide_4_caption_box_2_Template","_r6","ServicesCarouselComponent","_ServicesCarouselComponent","onShow","swiperOptions","slidesPerView","Services","length","spaceBetween","loop","loopAdditionalSlides","navigation","autoplay","delay","reverseDirection","disableOnInteraction","ServicesCarouselComponent_swiper_slide_3_Template","ServicesCarouselComponent_swiper_slide_4_Template"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/modules/featured-content/services/featured-content.service.ts","./src/app/modules/shared/components/service-detail/service-detail.component.html","./src/app/modules/shared/components/service-detail/service-detail.component.ts","./src/app/modules/shared/components/services-carousel/services-carousel.component.html","./src/app/modules/shared/components/services-carousel/services-carousel.component.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { Apollo } from 'apollo-angular';\nimport { GetContactsQuery, GetFeaturedContentsQuery } from 'src/app/generatedGQLTypes';\nimport { GetContactsQueryDto, GetFeaturedContentsQueryDto } from 'src/app/generatedGQLTypesDto';\nimport { AppHotelService } from '../../app-hotel/services/app-hotel.service';\nimport {normalizeStrapiV3} from '../../shared/utils/normalizeStrapiV3' ;\nimport { orderData } from '../../graph-ql/orderFunction';\nimport { map } from 'rxjs/operators';\nimport * as _ from 'lodash';\nimport { getFeaturedContents } from '../queries/featured-content.queries';\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class FeaturedContentService {\n\n constructor(\n private apollo: Apollo,\n private appHotelService: AppHotelService,\n ) { }\n\n getFeaturedContent(idHotel:number): Promise {\n return this.apollo\n .query({\n query: getFeaturedContents,\n variables:{\n \"filters\": {\n \"IsActive\":{\n \"eq\":true\n },\n \"hotels\": {\n \"IdHotel\": {\n \"eq\": idHotel\n\n }\n }\n }\n }\n })\n .pipe(map( obj => normalizeStrapiV3(obj) ))\n .pipe(map(data => data.featuredContents)).toPromise();\n }\n\n}\n","
\n \n
\n \n
\n
\n\n\n\n
\n

{{service.ServiceIcon?.caption}}

\n
\n
\n\n
\n \n \n
\n\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { GetEventRoomsQueryDto } from 'src/app/generatedGQLTypesDto';\n\n@Component({\n selector: 'app-service-detail',\n templateUrl: './service-detail.component.html',\n styleUrls: ['./service-detail.component.scss']\n})\nexport class ServiceDetailComponent implements OnInit {\n\n @Input()\n service:GetEventRoomsQueryDto['hotel']['event']['Services'][0];\n\n @Output()\n onClose = new EventEmitter();\n\n @Output()\n onOpenPdf = new EventEmitter();\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n\n closeModel(){\n if(this.onClose != null){\n this.onClose.emit();\n }\n }\n openPDFSerice(){\n if(this.onOpenPdf != null){\n this.onOpenPdf.emit(this.service);\n }\n }\n\n}\n\n","
\n \n \n
\n \n
\n \n \n
\n

{{service?.Name}}

\n

{{service?.Description}}\n

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

{{service?.Name}}

\n

{{service?.Description}}\n

\n
\n
\n
\n
","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { GetRestaurantBySlugQueryDto } from 'src/app/generatedGQLTypesDto';\n// import { SwiperOptions } from 'swiper/types';\nimport { SwiperOptions } from 'swiper/types';\n\n@Component({\n selector: 'app-services-carousel',\n templateUrl: './services-carousel.component.html',\n styleUrls: ['./services-carousel.component.scss']\n})\nexport class ServicesCarouselComponent implements OnInit {\n @Input()\n Services:GetRestaurantBySlugQueryDto['restaurants'][0]['Services'];\n\n @Output()\n onShow = new EventEmitter();\n\n\n swiperOptions: SwiperOptions;\n\n constructor() { }\n\n ngOnInit(): void {\n this.swiperOptions = {\n slidesPerView: (this.Services.length > 2 ? 2 : this.Services.length),\n spaceBetween: 15,\n loop: (this.Services.length > 2 ),\n loopAdditionalSlides: 1,\n navigation: false,\n // pagination: { clickable: true }, \n autoplay: {\n delay: 2500,\n reverseDirection:true,\n disableOnInteraction:false\n }\n };\n }\n\n showService(service:GetRestaurantBySlugQueryDto['restaurants'][0]['Services'][0]){\n if(this.onShow != null){\n this.onShow.emit(service);\n }\n }\n\n}\n"],"x_google_ignoreList":[]}