function b(u, { maskChar: e = "•", maskCharCount: f = 10, lengthToKeep: i = 0, position: n = "start" } = {}) {
  if (!i)
    return e == null ? void 0 : e.repeat(f);
  let t;
  return n === "end" ? (t = u.substring(0, i), t + (e == null ? void 0 : e.repeat(f))) : (t = u.substring(u.length - i), (e == null ? void 0 : e.repeat(f)) + t);
}
export {
  b as default
};
//# sourceMappingURL=obfuscateText.js.map
