import u from "./index.es142.js";
function n(r) {
  var c = function(e) {
    return r[e];
  }, a = "(?:" + u(r).join("|") + ")", p = RegExp(a), t = RegExp(a, "g");
  return function(e) {
    return e = e == null ? "" : "" + e, p.test(e) ? e.replace(t, c) : e;
  };
}
export {
  n as default
};
//# sourceMappingURL=index.es268.js.map
