\n \n
\n @if (message && message.desktopChannelList && message.desktopChannelList.length) {\n
\n }\n
\n {{ message.desktopGameTitles }}\n
\n @for (sectionNameGames of message.desktopSectionGamesViewModel; track trackByTitle($index, sectionNameGames)) {\n
\n
\n
{{ sectionNameGames.value }}
\n
\n }\n
\n {{ contentMessages.AllCasinoGames }}\n
\n
\n
\n @for (current of message.desktopAllList; track trackBySectionTitle($index, current)) {\n
{{ contentMessages.All }}
\n }\n
\n
\n","import { CommonModule } from '@angular/common';\nimport { Component, Input, OnInit } from '@angular/core';\n\nimport { trackByProp } from '@frontend/vanilla/core';\nimport { TrustAsHtmlPipe } from '@frontend/vanilla/shared/browser';\n\nimport { InboxMessage } from '../services/inbox.models';\nimport { InboxMessageChannelsComponent } from './inbox-message-channels.component';\n\n@Component({\n standalone: true,\n imports: [CommonModule, TrustAsHtmlPipe, InboxMessageChannelsComponent],\n selector: 'lh-inbox-desktop-game-list',\n templateUrl: 'inbox-desktop-game-list.component.html',\n})\nexport class InboxDesktopGameListComponent implements OnInit {\n @Input() message: InboxMessage;\n @Input() contentMessages: { [key: string]: string };\n isGameListHidden: boolean;\n readonly trackByTitle = trackByProp('title');\n readonly trackBySectionTitle = trackByProp('sectionTitle');\n\n ngOnInit() {\n this.isGameListHidden =\n (!this.message.desktopGameList || this.message.desktopGameList.length === 0) &&\n (!this.message.desktopAllList || this.message.desktopAllList.length === 0) &&\n !this.message.isAllDesktopGames;\n }\n\n getSectionTitle(sectionTitle: string): string {\n return this.contentMessages['GameSection.' + sectionTitle.replace(' ', '')] || sectionTitle;\n }\n}\n","\n
\n @if (message.content.detailImage) {\n
\n @if (renderImageLink()) {\n \n \n \n }\n @if (!renderImageLink()) {\n \n }\n \n }\n @if (message.content.headerTermsAndConditionsInbox) {\n
\n }\n
\n
\n \n @if (message.isExpired) {\n \n }\n
\n
\n
\n @if (!showJumioTriggerButton && showCallToActionButton) {\n
\n }\n @if (showJumioTriggerButton) {\n
\n \n
\n }\n @if (showTermsAndConditions) {\n
\n
\n
\n @if (isTacExpanded) {\n
\n } @else {\n
\n }\n
\n
\n
\n }\n
\n
\n
\n}\n