import { ChangeDetectionStrategy , ChangeDetectorRef , Component , Input , ViewRef } from '@angular/core' ; @ Component ( { selector : 'empty-card' , styleUrls : [ '../../../../../css/global/components-global.scss' , '../../../../../css/component/decktracker/overlay/twitch/empty-card.component.scss' , ] , template : `
		<div
			class="card"
			[cardTooltip]="_cardId"
			[cardTooltipBgs]="_cardTooltipBgs"
			[style.transform]="_transform"
			[style.left.%]="_leftOFfset"
			[style.top.%]="_topOffset"
		></div>
	` , changeDetection : ChangeDetectionStrategy . OnPush , } ) export class EmptyCardComponent { @ Input ( ) set leftOffset ( value ) { this . _leftOFfset = value ; if ( ! ( this . cdr as ViewRef ) ?. destroyed ) { this . cdr . detectChanges ( ) ; } } @ Input ( ) set topOffset ( value ) { this . _topOffset = value ; if ( ! ( this . cdr as ViewRef ) ?. destroyed ) { this . cdr . detectChanges ( ) ; } } @ Input ( ) set transform ( value ) { this . _transform = value ; if ( ! ( this . cdr as ViewRef ) ?. destroyed ) { this . cdr . detectChanges ( ) ; } } @ Input ( ) set cardTooltipBgs ( value ) { this . _cardTooltipBgs = value ; if ( ! ( this . cdr as ViewRef ) ?. destroyed ) { this . cdr . detectChanges ( ) ; } } @ Input ( ) set cardId ( value ) { this . _cardId = value ; if ( ! ( this . cdr as ViewRef ) ?. destroyed ) { this . cdr . detectChanges ( ) ; } } _cardId : string ; _leftOFfset : number ; _topOffset : number ; _transform : string ; _cardTooltipBgs : boolean ; constructor ( private readonly cdr ) { } }