"use strict";exports.__esModule = true;exports.LocaleHelper = void 0;var _constants = require("./constants");var


LocaleHelper = exports.LocaleHelper = /*#__PURE__*/function () {



  function LocaleHelper(locales, langCode) {if (langCode === void 0) {langCode = _constants.defaultLangCode;}
    this.locales = locales;
    this.defaultLangCode = langCode;
  }var _proto = LocaleHelper.prototype;_proto.

  get = function get(langCode) {if (langCode === void 0) {langCode = this.defaultLangCode;}
    return this.locales[langCode] || this.locales[this.defaultLangCode] || {};
  };return LocaleHelper;}();