"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isEn = exports.getLocale = void 0;

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

var getLocale = function getLocale(key) {
  return window.getLocale && window.getLocale(key) || "";
};

exports.getLocale = getLocale;
var i18nInfo = (0, _bsGlobal.getBSGlobal)("I18NInfo");
var isEn = i18nInfo && i18nInfo.I18NOpen && i18nInfo.I18NUserLang === "en_US";
exports.isEn = isEn;