{"size": 676, "ext": "js", "max_stars_repo_path": "app/pods/components/pow-navigation/component.js", "max_stars_repo_name": "pboutin/poe-world", "max_stars_repo_stars_event_min_datetime": "2019-06-17T13:34:23.000Z", "max_stars_repo_stars_event_max_datetime": "2019-06-17T13:34:23.000Z", "max_issues_repo_path": "app/pods/components/pow-navigation/component.js", "max_issues_repo_name": "pboutin/poe-world", "max_issues_repo_issues_event_min_datetime": "2018-09-15T20:52:46.000Z", "max_issues_repo_issues_event_max_datetime": "2019-02-26T02:34:55.000Z", "max_forks_repo_path": "app/pods/components/pow-navigation/component.js", "max_forks_repo_name": "pboutin/poe-world", "max_forks_repo_forks_event_min_datetime": "2019-04-03T13:50:53.000Z", "max_forks_repo_forks_event_max_datetime": "2019-04-03T13:50:53.000Z"}
{"max_stars_count": 1, "max_issues_count": 4, "max_forks_count": 1, "avg_line_length": 24.1428571429, "max_line_length": 64, "alphanum_fraction": 0.7588757396}
// Vendor
import {tagName} from '@ember-decorators/component';
import Component from '@ember/component';
import {service} from '@ember-decorators/service';
import {reads} from '@ember-decorators/object/computed';

// Constants
import EXTERNAL_SITES from 'poe-world/constants/external-sites';
const BRAND_TITLE = 'PoeWorld';

@tagName('')
export default class Navigation extends Component {
  @service('active-league/setting')
  activeLeagueSetting;

  @service('global-state')
  globalState;

  externalSites = EXTERNAL_SITES;
  brandTitle = BRAND_TITLE;

  @reads('activeLeagueSetting.league.name')
  leagueName;

  @reads('globalState.isAuthenticated')
  isAuthenticated;
}
