{"version":3,"sources":["webpack:///src/app/directives/directives.module.ts","webpack:///src/app/modules/shared/components/major-actions/major-actions.component.ts","webpack:///src/app/modules/shared/components/major-actions/major-actions.component.html","webpack:///src/app/modules/shared/components/major-actions/major-actions.module.ts","webpack:///src/app/modules/shared/components/rating/rating.module.ts","webpack:///src/app/modules/shared/pipes.shared.module.ts","webpack:///src/app/modules/shared/primary-components/reader-feedback-card/reader-feedback-card.component.html","webpack:///src/app/modules/shared/primary-components/reader-feedback-card/reader-feedback-card.component.ts","webpack:///src/app/modules/shared/primary-components/reader-feedback-card/reader-feedback-card.module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport {HoverDirective} from './hover.directive';\nimport {AutoFocusDirective} from './auto-focus.directive';\nimport {BgSliderDirective} from './bg-slider.directive';\nimport {CallDirective} from './call.directive';\nimport {ChatDirective} from './chat.directive';\nimport {HoverUnionDirective} from './hover-union';\nimport {IsGrantedDirective} from './is-granted.directive';\nimport {MatchHeightsDirective} from './match-heights.directive';\nimport {NgxModalDraggableDirective} from './ngx-modal-draggable.directive ';\nimport {DigitOnlyDirective} from './digit-only.directive';\n@NgModule({\n declarations: [\n AutoFocusDirective,\n BgSliderDirective,\n CallDirective,\n ChatDirective,\n HoverDirective,\n HoverUnionDirective,\n IsGrantedDirective,\n MatchHeightsDirective,\n NgxModalDraggableDirective,\n DigitOnlyDirective\n ],\n exports: [\n AutoFocusDirective,\n BgSliderDirective,\n CallDirective,\n ChatDirective,\n HoverDirective,\n HoverUnionDirective,\n IsGrantedDirective,\n MatchHeightsDirective,\n NgxModalDraggableDirective,\n DigitOnlyDirective\n ],\n})\nexport class DirectivesModule { }\n","import {Component, Input, OnInit} from '@angular/core';\n\n@Component({\n selector: 'shared-major-actions',\n templateUrl: './major-actions.component.html',\n styleUrls: ['./major-actions.component.scss'],\n})\nexport class MajorActionsComponent implements OnInit {\n\n constructor() {\n }\n\n @Input()\n set data(item) {\n }\n\n ngOnInit() {\n }\n\n}\n","
\n \n
\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {MajorActionsComponent} from './major-actions.component';\n\n\n\n@NgModule({\n declarations: [MajorActionsComponent],\n exports: [MajorActionsComponent],\n imports: [\n CommonModule\n ]\n})\nexport class MajorActionsModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {RatingComponent} from './rating.component';\nimport {DirectivesModule} from '../../../../directives/directives.module';\n\n\n\n@NgModule({\n declarations: [RatingComponent],\n exports: [RatingComponent],\n imports: [\n CommonModule,\n DirectivesModule\n ]\n})\nexport class RatingModule { }\n","import {NgModule} from '@angular/core';\nimport {UnescapePipe} from '../../pipes/unescape-pipe';\n\n@NgModule({\n declarations: [\n UnescapePipe,\n ],\n exports: [\n UnescapePipe,\n ]\n})\nexport class PipesSharedModule {\n}\n","
\n
\n
\n
\n \n
\n
\n {{context.date|date:'yyyy/MM/d hh:mm'}}\n
\n
\n review by \n {{context.reviewer}}\n
\n
\n {{context.description | unescape}}\n
\n
\n
\n
\n
\n\n \n \"\"\n\n\n
\n\n
\n
\n
\n \n \n Click to see your Gift!\n
\n
\n \n
\n \n
\n \n
\n
\n
\n \n
\n
\n \n {{context.consultant.callRates.currency.asciiSymbol}}\n {{context.consultant.callRates.callRate|currency:'symbol':''}}\n /min*\n \n 0 || !userIsLoggedIn\">\n Chat: 4 free min\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 {{context.date|date:'yyyy/MM/d hh:mm'}}\n
\n
\n review by  {{context.reviewer}}\n
\n
\n {{context.description | unescape}}\n
\n
\n
\n
\n
\n \n \n Click to see your Gift!\n
\n
\n \n
\n
\n \n \"\"\n\n
\n
\n
\n \n \n \n
\n
\n
\n {{context.consultant.nickname}}\n
\n
\n \n {{context.consultant.callRates.currency.asciiSymbol}}\n {{context.consultant.callRates.callRate|currency:'symbol':''}}\n /min*\n \n
\n
0 || !userIsLoggedIn\" class=\"gift\">\n Chat: 4 free min\n
\n
\n
\n \n
\n
\n \n \n
\n
\n
\n
\n
\n
    \n
  • \n {{tag}}\n
  • \n
\n
\n
\n \n
\n \n \n \n
\n
\n\n
\n \n \n \n \n \n \n\n
\n
\n
\n
\n \n
\n \n \n \n
\n
\n
\n \n \n \n \n \n \n\n
\n\n
\n\n
\n
\n
\n","import {Component, Input, OnDestroy, OnInit, QueryList, ViewChildren} from '@angular/core';\nimport {RegistrationComponent} from '../../components/registration/registration.component';\nimport {CustomerService} from '../../../customer/services/customer.service';\nimport {BsModalRef, BsModalService} from 'ngx-bootstrap/modal';\nimport {UserService} from '../../../../services/user.service';\nimport {NotifyComponent} from '../../components/notify/notify.component';\nimport {GiftShadeComponent} from '../../components/gift-shade/gift-shade.component';\nimport {ReaderService} from '../../services/reader-service';\nimport {SubSink} from 'subsink';\nimport {BackRouter} from '../../services/back-router';\nimport {AllEmiterService} from '../../../../services/all-emiter.service';\n\n@Component({\n selector: 'shared-reader-feedback-card',\n templateUrl: './reader-feedback-card.component.html',\n styleUrls: ['./reader-feedback-card.component.scss'],\n})\nexport class ReaderFeedbackCardComponent implements OnInit, OnDestroy {\n extraInfo = false;\n bsModalRef: BsModalRef;\n @Input()\n context;\n @ViewChildren(GiftShadeComponent)\n sharedComponents: QueryList;\n /**\n * It is used to determinate where the component is used\n */\n @Input()\n type = '';\n private subs = new SubSink();\n\n userIsLoggedIn = false;\n\n profileLink = '';\n customerRole = '';\n\n constructor(\n private customerService: CustomerService,\n private bsModalService: BsModalService,\n public userService: UserService,\n private readerService: ReaderService,\n public br: BackRouter,\n private allEmiterService: AllEmiterService\n ) {\n\n this.subs.sink = this.allEmiterService.subsLoggedIn = this.allEmiterService.invokeLoggedIn.subscribe((data) => {\n this.customerRole = this.userService.getRole();\n });\n }\n\n ngOnInit() {\n const self = this;\n this.userIsLoggedIn = this.userService.isLoggedIn();\n this.subs.sink = this.readerService.onUpdateReader.subscribe((reader) => {\n if (reader.id === self.context.consultant.id) {\n self.context.consultant = reader;\n self.profileLink = self.goToProfile(reader);\n }\n });\n\n self.profileLink = self.goToProfile(this.context.consultant);\n\n }\n\n\n goToProfile(reader) {\n return '/psychic-reader/' + reader.nickname.toLowerCase()\n .replace(/ /g, '-')\n .replace(/\\b\\w/g, l => l.toUpperCase());\n }\n\n addFav(reader) {\n if (!this.userService.isLoggedIn()) {\n this.bsModalService.show(RegistrationComponent, {\n class: 'modal-dialog-steps',\n backdrop: true,\n keyboard: true,\n animated: false,\n });\n return;\n }\n\n if (this.userService.getRole() !== 'ROLE_CUSTOMER') {\n return;\n }\n\n this.subs.sink = this.customerService.addReaderFavorite({readerId: reader.id}).subscribe((res) => {\n reader.favorite = res.favourite;\n });\n }\n\n openNotifyModal(reader) {\n const initialState = {\n readerId: reader.id,\n };\n this.bsModalRef = this.bsModalService.show(NotifyComponent, {\n initialState: initialState,\n class: 'modal-md',\n animated: false,\n });\n }\n\n doOpenSade() {\n this.sharedComponents.map((item) => {\n item.open = true;\n });\n }\n\n ngOnDestroy(): void {\n this.subs.unsubscribe();\n }\n}\n","import { NgModule } from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {SharedModule} from '../../shared.module';\nimport {ReaderFeedbackCardComponent} from './reader-feedback-card.component';\nimport {PipesSharedModule} from '../../pipes.shared.module';\nimport {LazyLoadImageModule} from 'ng-lazyload-image';\nimport {RouterModule} from '@angular/router';\nimport {GiftShadeModule} from '../../components/gift-shade/gift-shade.module';\nimport {OnlineModule} from '../../components/online/online.module';\nimport {PremierModule} from '../../components/premier/premier.module';\nimport {FavouriteModule} from '../../components/favourite/favourite.module';\nimport {CallButtonModule} from '../call-button/call-button.module';\nimport {BookButtonModule} from '../book-button/book-button.module';\nimport {ChatButtonModule} from '../chat-button/chat-button.module';\nimport {BusyButtonModule} from '../busy-button/busy-button.module';\nimport {RatingModule} from '../../components/rating/rating.module';\nimport {MajorActionsModule} from '../../components/major-actions/major-actions.module';\n@NgModule({\n declarations: [ReaderFeedbackCardComponent],\n bootstrap: [ReaderFeedbackCardComponent],\n exports: [\n ReaderFeedbackCardComponent\n ],\n imports: [\n CommonModule,\n // SharedModule,\n PipesSharedModule,\n LazyLoadImageModule,\n RouterModule,\n GiftShadeModule,\n OnlineModule,\n PremierModule,\n FavouriteModule,\n CallButtonModule,\n BookButtonModule,\n ChatButtonModule,\n BusyButtonModule,\n RatingModule,\n MajorActionsModule\n ]\n})\nexport class ReaderFeedbackCardModule { }\n"],"names":["DirectivesModule","MajorActionsComponent","constructor","item","ngOnInit","selectors","i0","MajorActionsModule","CommonModule","RatingModule","PipesSharedModule","ReaderFeedbackCardComponent","customerService","bsModalService","userService","readerService","br","allEmiterService","this","SubSink","subs","sink","subsLoggedIn","invokeLoggedIn","subscribe","data","customerRole","getRole","self","userIsLoggedIn","isLoggedIn","onUpdateReader","reader","id","context","consultant","profileLink","goToProfile","nickname","toLowerCase","replace","l","toUpperCase","addFav","addReaderFavorite","readerId","res","favorite","favourite","show","RegistrationComponent","class","backdrop","keyboard","animated","openNotifyModal","bsModalRef","NotifyComponent","initialState","doOpenSade","sharedComponents","map","open","ngOnDestroy","unsubscribe","GiftShadeComponent","ReaderFeedbackCardModule","bootstrap","LazyLoadImageModule","RouterModule","GiftShadeModule","OnlineModule","PremierModule","FavouriteModule","CallButtonModule","BookButtonModule","ChatButtonModule","BusyButtonModule"],"mappings":";;gJAqCO,IAAMA,EAAb,MAAM,sDAAOA,yDAAb,uFC9BO,IAAMC,EAAb,MAAM,QAEFC,wBAISC,IAGTC,0DATSH,8BAAqBI,gKCPlCC,iBACIA,SACJA,kHDKaL,GAAb,oFEMO,IAAMM,EAAb,MAAM,sDAAOA,4DAJF,CACPC,SAGSD,GAAb,+FCEO,IAAME,EAAb,MAAM,sDAAOA,4DALA,CACLD,KACAR,QAGKS,GAAb,wECJO,IAAMC,EAAb,MAAM,sDAAOA,yDAAb,gWCiBoBJ,kBAAKA,gEACDA,kBAEIA,gBACAA,qCACJA,QACJA,iCAC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+BAIxBA,2CAIhBA,uJAIeA,iFAIWA,iCACHA,sDAUAA,uDAgBZA,0CAGZA,8DAG+CA,mCAGlDA,2DAIqBA,qDAOTA,qDAIFA,iGAILA,gCACcA,0BAAW,4BAAXA,CAAW,YACVA,0BAAW,6BACTA,0BAAW,+BAIRA,8CAIrBA,uJAKEA,iFAQQA,qDACAA,qDAKZA,wsYCjIDK,GAAb,4OCwBO,IAAMuD,EAAb,MAAM,sDAAOA,8BAAwBC,WAtBrBxD,mCAIH,CACLH,KAEAE,IACA0D,KACAC,KACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACApE,IACAF,QAGK2D,GAAb","debug_id":"6f63ea46-828f-53dc-b434-b807427f055e"}