import Component from 'ember-component';
import InteractivityDeferredComponent from 'web-client/mixins/interactivity-deferred-component';
import run from 'ember-runloop';

import { TTV_BOXART_404_URL } from 'web-client/utilities/urls/static-cdn';

export default Component.extend(InteractivityDeferredComponent, {
  classNames: ['js-directory-game'],
  didInsertElement() {
    this._super(...arguments);
    run.scheduleOnce('afterRender', this, this.reportInteractive);
  },
  boxartPlaceholder: TTV_BOXART_404_URL
});
