import computed from 'ember-computed';
import Controller from 'ember-controller';
import injectService from 'ember-service/inject';

export default Controller.extend({
  settings: injectService('chatSettings'),

  isChatApp: true,

  isPopout: computed(function () {
    return !!(window.location.search || '').match(/^\?popout/);
  }),

  isDarkPopout: computed(function () {
    return !!(window.location.search || '').match(/^\?darkpopout/);
  })
});
