"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.userId = exports.tm = exports.popupAlignPhoto = exports.getVersionTextMap = exports.apiServer = void 0;

var _bsGlobal = require("../../utils/bs-global");

var _constant = require("../version-change-modal/constant");

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var userId = (0, _bsGlobal.getUserInfo)().Id;
exports.userId = userId;
var apiServer = (0, _bsGlobal.getBSGlobal)("apiPath");
exports.apiServer = apiServer;
var tm = (0, _bsGlobal.getBSGlobal)("tm");
exports.tm = tm;
var popupAlignPhoto = {
  offset: [4, 3],
  overflow: {
    adjustX: true,
    adjustY: true
  },
  targetOffset: [0, 0]
};
exports.popupAlignPhoto = popupAlignPhoto;

var getVersionTextMap = function getVersionTextMap() {
  var _ref;

  return _ref = {}, _defineProperty(_ref, _constant.Versions.OKR, 'OKRs-E 专业版'), _defineProperty(_ref, _constant.Versions.PERFORMANCE, '绩效宝'), _defineProperty(_ref, _constant.Versions.SURVEY, '360 专业版'), _defineProperty(_ref, _constant.Versions.SENIOR_PERFORMANCE, '绩效高级版'), _defineProperty(_ref, _constant.Versions.UTIMATE, '旗舰版'), _defineProperty(_ref, _constant.Versions.SENIOR_UTIMATE, '旗舰增强版'), _defineProperty(_ref, _constant.Versions.PROJECT, '项目管理'), _defineProperty(_ref, _constant.Versions.PERFORMANCE_E, '绩效执行版'), _ref;
};

exports.getVersionTextMap = getVersionTextMap;