import Component from 'ember-component';
import computed from 'ember-computed';
import injectService from 'ember-service/inject';

export default Component.extend({
  tagName: '',
  bitsRoom: injectService(),

  needsToSeeRecipientCanEnableFTUE: computed.readOnly('bitsRoom.needsToSeeRecipientCanEnableFTUE'),
  needsToSeeFTUE: computed.readOnly('bitsRoom.needsToSeeFTUE'),
  needsToSeeAdsFTUE: computed.readOnly('bitsRoom.needsToSeeAdsFTUE'),
  notLoggedIn: computed.readOnly('bitsRoom.notLoggedIn'),
  isOwnChannel: computed.readOnly('bitsRoom.isOwnChannel'),
  isSenderIneligible: computed.readOnly('bitsRoom.isSenderIneligible'),
  isRecipientIneligible: computed.readOnly('bitsRoom.isRecipientIneligible'),
  isBalanceUnavailable: computed.readOnly('bitsRoom.isBalanceUnavailable'),
  showUndoPrompt: computed.readOnly('bitsRoom.delayedBitsMessageToSend'),
  showAsyncError: computed.readOnly('bitsRoom.showAsyncError'),
  isFetching: computed.readOnly('bitsRoom.isFetching'),
  isSendingBits: computed.readOnly('bitsRoom.isSendingBits'),
  isBuyingBits: computed.readOnly('bitsRoom.isBuyingBits'),
  isShowingAdReward: computed.readOnly('bitsRoom.isShowingAdReward'),
  isShowingAdsForBitsError: computed.readOnly('bitsRoom.isShowingAdsForBitsError'),
  showBitsInventory: computed.readOnly('bitsRoom.showInventory')
});
