"use strict";
Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.stringUtil = stringUtil, exports.enums2array = enums2array, exports.bizs = void 0;
var bizs = {
  lua: "lua",
  JavaScript: "JavaScript",
  Python: "Python"
};

function stringUtil(e, r) {
  var t = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : bizs,
    r = e.get(r);
  return r && r.key ? t[r.key] : ""
}

function enums2array(e) {
  var r = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : bizs,
    t = [];
  return e.enums.forEach(function(e) {
    t.push({
      key: e.value,
      value: e.key,
      label: r[e.key]
    })
  }), t
}
exports.bizs = bizs;
