function mapValues(input, mapper) {
  return mapEntries(input, (k, v) => [k, mapper(v)]);
}
function mapEntries(input, mapper) {
  const output = {};
  for (const entry of Object.entries(input)) {
    const mapped = mapper(entry[0], entry[1]);
    output[mapped[0]] = mapped[1];
  }
  return output;
}
function mapAllEntries(input, mapper) {
  const output = {};
  for (const mapped of mapper(Object.entries(input))) {
    output[mapped[0]] = mapped[1];
  }
  return output;
}
export {
  mapAllEntries,
  mapEntries,
  mapValues
};
//# sourceMappingURL=objects.js.map
