"use strict";

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

var _getLocale = require("../../utils/getLocale");

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.Standard, (0, _getLocale.getLocale)("Sw_ProEdit")), _defineProperty(_ref, _constant.Versions.WeixinAssess, (0, _getLocale.getLocale)("Sw_PerEdit")), _defineProperty(_ref, _constant.Versions.Professional, (0, _getLocale.getLocale)("Sw_OKREdit")), _defineProperty(_ref, _constant.Versions.Flagship, (0, _getLocale.getLocale)("Sw_Flagship")), _defineProperty(_ref, _constant.Versions.Reviews360, (0, _getLocale.getLocale)("360Version")), _ref;
};

exports.getVersionTextMap = getVersionTextMap;