import { EMPTY_OBJECT as c } from "../../../utils/value/constants.js";
const f = (i) => {
  const { prefix: n = "", suffix: e = "" } = i ?? c;
  return (t) => t == null ? void 0 : `${n}${t}${e}`;
}, d = (i, n) => (e, t, a) => {
  let o;
  const r = i(t);
  return r != null && (o = e.get(r, a), o = o === r ? void 0 : o), o ?? n?.(r, t, a);
};
export {
  d as createDynamicTranslationFactory,
  f as createKeyFactoryFromConfig
};
