{"version":3,"sources":["src/app/cards/next-expected-card/next-expected-card.component.ts","src/app/cards/next-expected-card/next-expected-card.component.html","src/app/cards/volume-card/volume-card.component.ts","src/app/cards/volume-card/volume-card.component.html","node_modules/ngx-stars/fesm2020/ngx-stars.mjs","src/app/series-detail/_components/rating-modal/rating-modal.component.ts","src/app/series-detail/_components/rating-modal/rating-modal.component.html","src/app/series-detail/_components/external-rating/external-rating.component.ts","src/app/series-detail/_components/external-rating/external-rating.component.html","src/app/series-detail/_components/series-detail/series-detail.component.ts","src/app/series-detail/_components/series-detail/series-detail.component.html"],"sourcesContent":["import {ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, Input, OnInit} from '@angular/core';\nimport {ImageComponent} from \"../../shared/image/image.component\";\nimport {NextExpectedChapter} from \"../../_models/series-detail/next-expected-chapter\";\nimport {UtcToLocalTimePipe} from \"../../_pipes/utc-to-local-time.pipe\";\nimport {SafeHtmlPipe} from \"../../_pipes/safe-html.pipe\";\nimport {translate, TranslocoDirective} from \"@jsverse/transloco\";\n\n@Component({\n selector: 'app-next-expected-card',\n standalone: true,\n imports: [ImageComponent, SafeHtmlPipe, TranslocoDirective],\n templateUrl: './next-expected-card.component.html',\n styleUrl: './next-expected-card.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class NextExpectedCardComponent implements OnInit {\n private readonly cdRef = inject(ChangeDetectorRef);\n\n /**\n * Card item url. Will internally handle error and missing covers\n */\n @Input() imageUrl = '';\n /**\n * This is the entity we are representing. It will be returned if an action is executed.\n */\n @Input({required: true}) entity!: NextExpectedChapter;\n title: string = '';\n\n ngOnInit(): void {\n if (this.entity.expectedDate) {\n const utcPipe = new UtcToLocalTimePipe();\n this.title = translate('next-expected-card.title', {date: utcPipe.transform(this.entity.expectedDate, 'shortDate')});\n }\n this.cdRef.markForCheck();\n }\n\n}\n","\n