Index: node_modules/es-toolkit/dist/map/every.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/every.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/every.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,28 @@
+/**
+ * Tests whether all entries in a Map satisfy the provided predicate function.
+ *
+ * This function iterates through all entries of the Map and checks if the predicate function
+ * returns true for every entry. It returns true if the predicate is satisfied for all entries,
+ * and false otherwise.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to test.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
+ * @returns {boolean} true if all entries satisfy the predicate, false otherwise.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 10],
+ *   ['b', 20],
+ *   ['c', 30]
+ * ]);
+ * const result = every(map, (value) => value > 5);
+ * // result will be: true
+ *
+ * const result2 = every(map, (value) => value > 15);
+ * // result2 will be: false
+ */
+declare function every<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): boolean;
+
+export { every };
Index: node_modules/es-toolkit/dist/map/every.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/every.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/every.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,28 @@
+/**
+ * Tests whether all entries in a Map satisfy the provided predicate function.
+ *
+ * This function iterates through all entries of the Map and checks if the predicate function
+ * returns true for every entry. It returns true if the predicate is satisfied for all entries,
+ * and false otherwise.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to test.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
+ * @returns {boolean} true if all entries satisfy the predicate, false otherwise.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 10],
+ *   ['b', 20],
+ *   ['c', 30]
+ * ]);
+ * const result = every(map, (value) => value > 5);
+ * // result will be: true
+ *
+ * const result2 = every(map, (value) => value > 15);
+ * // result2 will be: false
+ */
+declare function every<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): boolean;
+
+export { every };
Index: node_modules/es-toolkit/dist/map/every.js
===================================================================
--- node_modules/es-toolkit/dist/map/every.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/every.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,14 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+function every(map, doesMatch) {
+    for (const [key, value] of map) {
+        if (!doesMatch(value, key, map)) {
+            return false;
+        }
+    }
+    return true;
+}
+
+exports.every = every;
Index: node_modules/es-toolkit/dist/map/every.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/every.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/every.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,10 @@
+function every(map, doesMatch) {
+    for (const [key, value] of map) {
+        if (!doesMatch(value, key, map)) {
+            return false;
+        }
+    }
+    return true;
+}
+
+export { every };
Index: node_modules/es-toolkit/dist/map/filter.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/filter.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/filter.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,29 @@
+/**
+ * Filters a Map based on a predicate function.
+ *
+ * This function takes a Map and a predicate function, and returns a new Map containing
+ * only the entries for which the predicate function returns true.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to filter.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} callback - A predicate function that tests each entry.
+ * @returns {Map<K, V>} A new Map containing only the entries that satisfy the predicate.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3],
+ *   ['d', 4]
+ * ]);
+ * const result = filter(map, (value) => value > 2);
+ * // result will be:
+ * // Map(2) {
+ * //   'c' => 3,
+ * //   'd' => 4
+ * // }
+ */
+declare function filter<K, V>(map: Map<K, V>, callback: (value: V, key: K, map: Map<K, V>) => boolean): Map<K, V>;
+
+export { filter };
Index: node_modules/es-toolkit/dist/map/filter.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/filter.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/filter.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,29 @@
+/**
+ * Filters a Map based on a predicate function.
+ *
+ * This function takes a Map and a predicate function, and returns a new Map containing
+ * only the entries for which the predicate function returns true.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to filter.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} callback - A predicate function that tests each entry.
+ * @returns {Map<K, V>} A new Map containing only the entries that satisfy the predicate.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3],
+ *   ['d', 4]
+ * ]);
+ * const result = filter(map, (value) => value > 2);
+ * // result will be:
+ * // Map(2) {
+ * //   'c' => 3,
+ * //   'd' => 4
+ * // }
+ */
+declare function filter<K, V>(map: Map<K, V>, callback: (value: V, key: K, map: Map<K, V>) => boolean): Map<K, V>;
+
+export { filter };
Index: node_modules/es-toolkit/dist/map/filter.js
===================================================================
--- node_modules/es-toolkit/dist/map/filter.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/filter.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,15 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+function filter(map, callback) {
+    const result = new Map();
+    for (const [key, value] of map) {
+        if (callback(value, key, map)) {
+            result.set(key, value);
+        }
+    }
+    return result;
+}
+
+exports.filter = filter;
Index: node_modules/es-toolkit/dist/map/filter.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/filter.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/filter.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,11 @@
+function filter(map, callback) {
+    const result = new Map();
+    for (const [key, value] of map) {
+        if (callback(value, key, map)) {
+            result.set(key, value);
+        }
+    }
+    return result;
+}
+
+export { filter };
Index: node_modules/es-toolkit/dist/map/findKey.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/findKey.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/findKey.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,25 @@
+/**
+ * Finds the first key in a Map for which the predicate function returns true.
+ *
+ * This function iterates through the entries of the Map and returns the key of the first
+ * entry for which the predicate function returns true. If no entry satisfies the predicate,
+ * it returns undefined.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to search.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
+ * @returns {K | undefined} The key of the first entry that satisfies the predicate, or undefined if none found.
+ *
+ * @example
+ * const map = new Map([
+ *   ['apple', { color: 'red', quantity: 10 }],
+ *   ['banana', { color: 'yellow', quantity: 5 }],
+ *   ['grape', { color: 'purple', quantity: 15 }]
+ * ]);
+ * const result = findKey(map, (value) => value.quantity > 10);
+ * // result will be: 'grape'
+ */
+declare function findKey<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): K | undefined;
+
+export { findKey };
Index: node_modules/es-toolkit/dist/map/findKey.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/findKey.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/findKey.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,25 @@
+/**
+ * Finds the first key in a Map for which the predicate function returns true.
+ *
+ * This function iterates through the entries of the Map and returns the key of the first
+ * entry for which the predicate function returns true. If no entry satisfies the predicate,
+ * it returns undefined.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to search.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
+ * @returns {K | undefined} The key of the first entry that satisfies the predicate, or undefined if none found.
+ *
+ * @example
+ * const map = new Map([
+ *   ['apple', { color: 'red', quantity: 10 }],
+ *   ['banana', { color: 'yellow', quantity: 5 }],
+ *   ['grape', { color: 'purple', quantity: 15 }]
+ * ]);
+ * const result = findKey(map, (value) => value.quantity > 10);
+ * // result will be: 'grape'
+ */
+declare function findKey<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): K | undefined;
+
+export { findKey };
Index: node_modules/es-toolkit/dist/map/findKey.js
===================================================================
--- node_modules/es-toolkit/dist/map/findKey.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/findKey.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,16 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+function findKey(map, doesMatch) {
+    let result = undefined;
+    for (const [key, value] of map) {
+        if (doesMatch(value, key, map)) {
+            result = key;
+            break;
+        }
+    }
+    return result;
+}
+
+exports.findKey = findKey;
Index: node_modules/es-toolkit/dist/map/findKey.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/findKey.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/findKey.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,12 @@
+function findKey(map, doesMatch) {
+    let result = undefined;
+    for (const [key, value] of map) {
+        if (doesMatch(value, key, map)) {
+            result = key;
+            break;
+        }
+    }
+    return result;
+}
+
+export { findKey };
Index: node_modules/es-toolkit/dist/map/findValue.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/findValue.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/findValue.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,25 @@
+/**
+ * Finds the first value in a Map for which the predicate function returns true.
+ *
+ * This function iterates through the entries of the Map and returns the value of the first
+ * entry for which the predicate function returns true. If no entry satisfies the predicate,
+ * it returns undefined.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to search.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
+ * @returns {V | undefined} The value of the first entry that satisfies the predicate, or undefined if none found.
+ *
+ * @example
+ * const map = new Map([
+ *   ['apple', { color: 'red', quantity: 10 }],
+ *   ['banana', { color: 'yellow', quantity: 5 }],
+ *   ['grape', { color: 'purple', quantity: 15 }]
+ * ]);
+ * const result = findValue(map, (value) => value.quantity > 10);
+ * // result will be: { color: 'purple', quantity: 15 }
+ */
+declare function findValue<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): V | undefined;
+
+export { findValue };
Index: node_modules/es-toolkit/dist/map/findValue.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/findValue.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/findValue.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,25 @@
+/**
+ * Finds the first value in a Map for which the predicate function returns true.
+ *
+ * This function iterates through the entries of the Map and returns the value of the first
+ * entry for which the predicate function returns true. If no entry satisfies the predicate,
+ * it returns undefined.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to search.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
+ * @returns {V | undefined} The value of the first entry that satisfies the predicate, or undefined if none found.
+ *
+ * @example
+ * const map = new Map([
+ *   ['apple', { color: 'red', quantity: 10 }],
+ *   ['banana', { color: 'yellow', quantity: 5 }],
+ *   ['grape', { color: 'purple', quantity: 15 }]
+ * ]);
+ * const result = findValue(map, (value) => value.quantity > 10);
+ * // result will be: { color: 'purple', quantity: 15 }
+ */
+declare function findValue<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): V | undefined;
+
+export { findValue };
Index: node_modules/es-toolkit/dist/map/findValue.js
===================================================================
--- node_modules/es-toolkit/dist/map/findValue.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/findValue.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,16 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+function findValue(map, doesMatch) {
+    let result = undefined;
+    for (const [key, value] of map) {
+        if (doesMatch(value, key, map)) {
+            result = value;
+            break;
+        }
+    }
+    return result;
+}
+
+exports.findValue = findValue;
Index: node_modules/es-toolkit/dist/map/findValue.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/findValue.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/findValue.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,12 @@
+function findValue(map, doesMatch) {
+    let result = undefined;
+    for (const [key, value] of map) {
+        if (doesMatch(value, key, map)) {
+            result = value;
+            break;
+        }
+    }
+    return result;
+}
+
+export { findValue };
Index: node_modules/es-toolkit/dist/map/hasValue.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/hasValue.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/hasValue.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,28 @@
+/**
+ * Checks if a Map contains a specific value.
+ *
+ * This function iterates through all values in the Map and checks if any value
+ * is equal to the search element using SameValueZero comparison (similar to
+ * Array.prototype.includes). This means that NaN is considered equal to NaN.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to search.
+ * @param {V} searchElement - The value to search for.
+ * @returns {boolean} true if the Map contains the value, false otherwise.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = hasValue(map, 2);
+ * // result will be: true
+ *
+ * const result2 = hasValue(map, 5);
+ * // result2 will be: false
+ */
+declare function hasValue<K, V>(map: Map<K, V>, searchElement: V): boolean;
+
+export { hasValue };
Index: node_modules/es-toolkit/dist/map/hasValue.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/hasValue.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/hasValue.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,28 @@
+/**
+ * Checks if a Map contains a specific value.
+ *
+ * This function iterates through all values in the Map and checks if any value
+ * is equal to the search element using SameValueZero comparison (similar to
+ * Array.prototype.includes). This means that NaN is considered equal to NaN.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to search.
+ * @param {V} searchElement - The value to search for.
+ * @returns {boolean} true if the Map contains the value, false otherwise.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = hasValue(map, 2);
+ * // result will be: true
+ *
+ * const result2 = hasValue(map, 5);
+ * // result2 will be: false
+ */
+declare function hasValue<K, V>(map: Map<K, V>, searchElement: V): boolean;
+
+export { hasValue };
Index: node_modules/es-toolkit/dist/map/hasValue.js
===================================================================
--- node_modules/es-toolkit/dist/map/hasValue.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/hasValue.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,16 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+const isEqualsSameValueZero = require('../_internal/isEqualsSameValueZero.js');
+
+function hasValue(map, searchElement) {
+    for (const value of map.values()) {
+        if (isEqualsSameValueZero.isEqualsSameValueZero(value, searchElement)) {
+            return true;
+        }
+    }
+    return false;
+}
+
+exports.hasValue = hasValue;
Index: node_modules/es-toolkit/dist/map/hasValue.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/hasValue.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/hasValue.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,12 @@
+import { isEqualsSameValueZero } from '../_internal/isEqualsSameValueZero.mjs';
+
+function hasValue(map, searchElement) {
+    for (const value of map.values()) {
+        if (isEqualsSameValueZero(value, searchElement)) {
+            return true;
+        }
+    }
+    return false;
+}
+
+export { hasValue };
Index: node_modules/es-toolkit/dist/map/index.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/index.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/index.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,9 @@
+export { every } from './every.mjs';
+export { filter } from './filter.mjs';
+export { findKey } from './findKey.mjs';
+export { findValue } from './findValue.mjs';
+export { hasValue } from './hasValue.mjs';
+export { mapKeys } from './mapKeys.mjs';
+export { mapValues } from './mapValues.mjs';
+export { reduce } from './reduce.mjs';
+export { some } from './some.mjs';
Index: node_modules/es-toolkit/dist/map/index.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/index.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/index.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,9 @@
+export { every } from './every.js';
+export { filter } from './filter.js';
+export { findKey } from './findKey.js';
+export { findValue } from './findValue.js';
+export { hasValue } from './hasValue.js';
+export { mapKeys } from './mapKeys.js';
+export { mapValues } from './mapValues.js';
+export { reduce } from './reduce.js';
+export { some } from './some.js';
Index: node_modules/es-toolkit/dist/map/index.js
===================================================================
--- node_modules/es-toolkit/dist/map/index.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/index.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,25 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+const every = require('./every.js');
+const filter = require('./filter.js');
+const findKey = require('./findKey.js');
+const findValue = require('./findValue.js');
+const hasValue = require('./hasValue.js');
+const mapKeys = require('./mapKeys.js');
+const mapValues = require('./mapValues.js');
+const reduce = require('./reduce.js');
+const some = require('./some.js');
+
+
+
+exports.every = every.every;
+exports.filter = filter.filter;
+exports.findKey = findKey.findKey;
+exports.findValue = findValue.findValue;
+exports.hasValue = hasValue.hasValue;
+exports.mapKeys = mapKeys.mapKeys;
+exports.mapValues = mapValues.mapValues;
+exports.reduce = reduce.reduce;
+exports.some = some.some;
Index: node_modules/es-toolkit/dist/map/index.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/index.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/index.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,9 @@
+export { every } from './every.mjs';
+export { filter } from './filter.mjs';
+export { findKey } from './findKey.mjs';
+export { findValue } from './findValue.mjs';
+export { hasValue } from './hasValue.mjs';
+export { mapKeys } from './mapKeys.mjs';
+export { mapValues } from './mapValues.mjs';
+export { reduce } from './reduce.mjs';
+export { some } from './some.mjs';
Index: node_modules/es-toolkit/dist/map/mapKeys.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/mapKeys.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/mapKeys.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,30 @@
+/**
+ * Creates a new Map with the same values but with keys transformed by the provided function.
+ *
+ * This function takes a Map and a function that generates a new key from each value-key pair.
+ * It returns a new Map where the keys are the result of applying the function to each entry,
+ * while the values remain the same.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to transform.
+ * @param {(value: V, key: K, object: Map<K, V>) => K} getNewKey - A function that generates a new key from a value-key pair.
+ * @returns {Map<K, V>} A new Map with transformed keys and the same values.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = mapKeys(map, (value, key) => key.toUpperCase());
+ * // result will be:
+ * // Map(3) {
+ * //   'A' => 1,
+ * //   'B' => 2,
+ * //   'C' => 3
+ * // }
+ */
+declare function mapKeys<K, V>(map: Map<K, V>, getNewKey: (value: V, key: K, object: Map<K, V>) => K): Map<K, V>;
+
+export { mapKeys };
Index: node_modules/es-toolkit/dist/map/mapKeys.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/mapKeys.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/mapKeys.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,30 @@
+/**
+ * Creates a new Map with the same values but with keys transformed by the provided function.
+ *
+ * This function takes a Map and a function that generates a new key from each value-key pair.
+ * It returns a new Map where the keys are the result of applying the function to each entry,
+ * while the values remain the same.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to transform.
+ * @param {(value: V, key: K, object: Map<K, V>) => K} getNewKey - A function that generates a new key from a value-key pair.
+ * @returns {Map<K, V>} A new Map with transformed keys and the same values.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = mapKeys(map, (value, key) => key.toUpperCase());
+ * // result will be:
+ * // Map(3) {
+ * //   'A' => 1,
+ * //   'B' => 2,
+ * //   'C' => 3
+ * // }
+ */
+declare function mapKeys<K, V>(map: Map<K, V>, getNewKey: (value: V, key: K, object: Map<K, V>) => K): Map<K, V>;
+
+export { mapKeys };
Index: node_modules/es-toolkit/dist/map/mapKeys.js
===================================================================
--- node_modules/es-toolkit/dist/map/mapKeys.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/mapKeys.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,14 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+function mapKeys(map, getNewKey) {
+    const result = new Map();
+    for (const [key, value] of map) {
+        const newKey = getNewKey(value, key, map);
+        result.set(newKey, value);
+    }
+    return result;
+}
+
+exports.mapKeys = mapKeys;
Index: node_modules/es-toolkit/dist/map/mapKeys.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/mapKeys.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/mapKeys.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,10 @@
+function mapKeys(map, getNewKey) {
+    const result = new Map();
+    for (const [key, value] of map) {
+        const newKey = getNewKey(value, key, map);
+        result.set(newKey, value);
+    }
+    return result;
+}
+
+export { mapKeys };
Index: node_modules/es-toolkit/dist/map/mapValues.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/mapValues.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/mapValues.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,30 @@
+/**
+ * Creates a new Map with the same keys but with values transformed by the provided function.
+ *
+ * This function takes a Map and a function that generates a new value from each value-key pair.
+ * It returns a new Map where the values are the result of applying the function to each entry,
+ * while the keys remain the same.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to transform.
+ * @param {(value: V, key: K, object: Map<K, V>) => V} getNewValue - A function that generates a new value from a value-key pair.
+ * @returns {Map<K, V>} A new Map with the same keys and transformed values.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = mapValues(map, (value) => value * 2);
+ * // result will be:
+ * // Map(3) {
+ * //   'a' => 2,
+ * //   'b' => 4,
+ * //   'c' => 6
+ * // }
+ */
+declare function mapValues<K, V, R>(map: Map<K, V>, getNewValue: (value: V, key: K, object: Map<K, V>) => R): Map<K, R>;
+
+export { mapValues };
Index: node_modules/es-toolkit/dist/map/mapValues.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/mapValues.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/mapValues.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,30 @@
+/**
+ * Creates a new Map with the same keys but with values transformed by the provided function.
+ *
+ * This function takes a Map and a function that generates a new value from each value-key pair.
+ * It returns a new Map where the values are the result of applying the function to each entry,
+ * while the keys remain the same.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to transform.
+ * @param {(value: V, key: K, object: Map<K, V>) => V} getNewValue - A function that generates a new value from a value-key pair.
+ * @returns {Map<K, V>} A new Map with the same keys and transformed values.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = mapValues(map, (value) => value * 2);
+ * // result will be:
+ * // Map(3) {
+ * //   'a' => 2,
+ * //   'b' => 4,
+ * //   'c' => 6
+ * // }
+ */
+declare function mapValues<K, V, R>(map: Map<K, V>, getNewValue: (value: V, key: K, object: Map<K, V>) => R): Map<K, R>;
+
+export { mapValues };
Index: node_modules/es-toolkit/dist/map/mapValues.js
===================================================================
--- node_modules/es-toolkit/dist/map/mapValues.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/mapValues.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,14 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+function mapValues(map, getNewValue) {
+    const result = new Map();
+    for (const [key, value] of map) {
+        const newValue = getNewValue(value, key, map);
+        result.set(key, newValue);
+    }
+    return result;
+}
+
+exports.mapValues = mapValues;
Index: node_modules/es-toolkit/dist/map/mapValues.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/mapValues.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/mapValues.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,10 @@
+function mapValues(map, getNewValue) {
+    const result = new Map();
+    for (const [key, value] of map) {
+        const newValue = getNewValue(value, key, map);
+        result.set(key, newValue);
+    }
+    return result;
+}
+
+export { mapValues };
Index: node_modules/es-toolkit/dist/map/reduce.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/reduce.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/reduce.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,35 @@
+/**
+ * Reduces a Map to a single value by iterating through its entries and applying a callback function.
+ *
+ * This function iterates through all entries of the Map and applies the callback function to each entry,
+ * accumulating the result. If an initial value is provided, it is used as the starting accumulator value.
+ * If no initial value is provided and the Map is empty, a TypeError is thrown.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to reduce.
+ * @param {(accumulator: V, value: V, key: K, map: Map<K, V>) => V} callback - A function that processes each entry and updates the accumulator.
+ * @param {V} [initialValue] - The initial value for the accumulator. If not provided, the first value in the Map is used.
+ * @returns {V} The final accumulated value.
+ * @throws {TypeError} If the Map is empty and no initial value is provided.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = reduce(map, (acc, value) => acc + value, 0);
+ * // result will be: 6
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 10],
+ *   ['b', 20]
+ * ]);
+ * const result = reduce(map, (acc, value) => acc + value);
+ * // result will be: 30 (starts with first value 10)
+ */
+declare function reduce<K, V, A = V>(map: Map<K, V>, callback: (accumulator: A, value: V, key: K, map: Map<K, V>) => A, initialValue?: A): A;
+
+export { reduce };
Index: node_modules/es-toolkit/dist/map/reduce.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/reduce.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/reduce.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,35 @@
+/**
+ * Reduces a Map to a single value by iterating through its entries and applying a callback function.
+ *
+ * This function iterates through all entries of the Map and applies the callback function to each entry,
+ * accumulating the result. If an initial value is provided, it is used as the starting accumulator value.
+ * If no initial value is provided and the Map is empty, a TypeError is thrown.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to reduce.
+ * @param {(accumulator: V, value: V, key: K, map: Map<K, V>) => V} callback - A function that processes each entry and updates the accumulator.
+ * @param {V} [initialValue] - The initial value for the accumulator. If not provided, the first value in the Map is used.
+ * @returns {V} The final accumulated value.
+ * @throws {TypeError} If the Map is empty and no initial value is provided.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = reduce(map, (acc, value) => acc + value, 0);
+ * // result will be: 6
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 10],
+ *   ['b', 20]
+ * ]);
+ * const result = reduce(map, (acc, value) => acc + value);
+ * // result will be: 30 (starts with first value 10)
+ */
+declare function reduce<K, V, A = V>(map: Map<K, V>, callback: (accumulator: A, value: V, key: K, map: Map<K, V>) => A, initialValue?: A): A;
+
+export { reduce };
Index: node_modules/es-toolkit/dist/map/reduce.js
===================================================================
--- node_modules/es-toolkit/dist/map/reduce.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/reduce.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,21 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+function reduce(map, callback, initialValue) {
+    if (initialValue == null && map.size === 0) {
+        throw new TypeError('Reduce of empty map with no initial value');
+    }
+    let accumulator = initialValue;
+    for (const [key, value] of map) {
+        if (accumulator == null) {
+            accumulator = value;
+        }
+        else {
+            accumulator = callback(accumulator, value, key, map);
+        }
+    }
+    return accumulator;
+}
+
+exports.reduce = reduce;
Index: node_modules/es-toolkit/dist/map/reduce.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/reduce.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/reduce.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,17 @@
+function reduce(map, callback, initialValue) {
+    if (initialValue == null && map.size === 0) {
+        throw new TypeError('Reduce of empty map with no initial value');
+    }
+    let accumulator = initialValue;
+    for (const [key, value] of map) {
+        if (accumulator == null) {
+            accumulator = value;
+        }
+        else {
+            accumulator = callback(accumulator, value, key, map);
+        }
+    }
+    return accumulator;
+}
+
+export { reduce };
Index: node_modules/es-toolkit/dist/map/some.d.mts
===================================================================
--- node_modules/es-toolkit/dist/map/some.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/some.d.mts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,28 @@
+/**
+ * Tests whether at least one entry in a Map satisfies the provided predicate function.
+ *
+ * This function iterates through the entries of the Map and checks if the predicate function
+ * returns true for at least one entry. It returns true if any entry satisfies the predicate,
+ * and false otherwise.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to test.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
+ * @returns {boolean} true if at least one entry satisfies the predicate, false otherwise.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = some(map, (value) => value > 2);
+ * // result will be: true
+ *
+ * const result2 = some(map, (value) => value > 5);
+ * // result2 will be: false
+ */
+declare function some<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): boolean;
+
+export { some };
Index: node_modules/es-toolkit/dist/map/some.d.ts
===================================================================
--- node_modules/es-toolkit/dist/map/some.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/some.d.ts	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,28 @@
+/**
+ * Tests whether at least one entry in a Map satisfies the provided predicate function.
+ *
+ * This function iterates through the entries of the Map and checks if the predicate function
+ * returns true for at least one entry. It returns true if any entry satisfies the predicate,
+ * and false otherwise.
+ *
+ * @template K - The type of keys in the Map.
+ * @template V - The type of values in the Map.
+ * @param {Map<K, V>} map - The Map to test.
+ * @param {(value: V, key: K, map: Map<K, V>) => boolean} doesMatch - A predicate function that tests each entry.
+ * @returns {boolean} true if at least one entry satisfies the predicate, false otherwise.
+ *
+ * @example
+ * const map = new Map([
+ *   ['a', 1],
+ *   ['b', 2],
+ *   ['c', 3]
+ * ]);
+ * const result = some(map, (value) => value > 2);
+ * // result will be: true
+ *
+ * const result2 = some(map, (value) => value > 5);
+ * // result2 will be: false
+ */
+declare function some<K, V>(map: Map<K, V>, doesMatch: (value: V, key: K, map: Map<K, V>) => boolean): boolean;
+
+export { some };
Index: node_modules/es-toolkit/dist/map/some.js
===================================================================
--- node_modules/es-toolkit/dist/map/some.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/some.js	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,14 @@
+'use strict';
+
+Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+function some(map, doesMatch) {
+    for (const [key, value] of map) {
+        if (doesMatch(value, key, map)) {
+            return true;
+        }
+    }
+    return false;
+}
+
+exports.some = some;
Index: node_modules/es-toolkit/dist/map/some.mjs
===================================================================
--- node_modules/es-toolkit/dist/map/some.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
+++ node_modules/es-toolkit/dist/map/some.mjs	(revision a762898ecd37a452c782821d4c2c4955c6ed2521)
@@ -0,0 +1,10 @@
+function some(map, doesMatch) {
+    for (const [key, value] of map) {
+        if (doesMatch(value, key, map)) {
+            return true;
+        }
+    }
+    return false;
+}
+
+export { some };
