@plumile/ui 0.1.151 → 0.1.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/lib/esm/admin/organisms/admin_sidebar/adminSidebar.css.js +2 -0
  2. package/lib/esm/atomic/atoms/error_message/errorMessage.css.js +0 -1
  3. package/lib/esm/atomic/atoms/input/input.css.js +0 -1
  4. package/lib/esm/atomic/molecules/markdown/components/MarkdownArticleContainer.css.js +0 -1
  5. package/lib/esm/atomic/molecules/markdown/components/MarkdownHeading.css.js +1 -0
  6. package/lib/esm/node_modules/es-toolkit/dist/_internal/globalThis.js.map +1 -1
  7. package/lib/esm/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js.map +1 -1
  8. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js.map +1 -1
  9. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getTag.js.map +1 -1
  10. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js.map +1 -1
  11. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/tags.js.map +1 -1
  12. package/lib/esm/node_modules/es-toolkit/dist/compat/function/memoize.js.map +1 -1
  13. package/lib/esm/node_modules/es-toolkit/dist/compat/object/clone.js +4 -4
  14. package/lib/esm/node_modules/es-toolkit/dist/compat/object/clone.js.map +1 -1
  15. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeep.js.map +1 -1
  16. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js.map +1 -1
  17. package/lib/esm/node_modules/es-toolkit/dist/compat/object/merge.js.map +1 -1
  18. package/lib/esm/node_modules/es-toolkit/dist/compat/object/mergeWith.js +19 -19
  19. package/lib/esm/node_modules/es-toolkit/dist/compat/object/mergeWith.js.map +1 -1
  20. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArguments.js.map +1 -1
  21. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArray.js.map +1 -1
  22. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js.map +1 -1
  23. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js.map +1 -1
  24. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js +6 -6
  25. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js.map +1 -1
  26. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js.map +1 -1
  27. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js.map +1 -1
  28. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js.map +1 -1
  29. package/lib/esm/node_modules/es-toolkit/dist/function/noop.js.map +1 -1
  30. package/lib/esm/node_modules/es-toolkit/dist/object/clone.js.map +1 -1
  31. package/lib/esm/node_modules/es-toolkit/dist/object/cloneDeepWith.js +75 -75
  32. package/lib/esm/node_modules/es-toolkit/dist/object/cloneDeepWith.js.map +1 -1
  33. package/lib/esm/node_modules/es-toolkit/dist/predicate/isBuffer.js.map +1 -1
  34. package/lib/esm/node_modules/es-toolkit/dist/predicate/isLength.js.map +1 -1
  35. package/lib/esm/node_modules/es-toolkit/dist/predicate/isPrimitive.js.map +1 -1
  36. package/lib/esm/node_modules/es-toolkit/dist/predicate/isTypedArray.js.map +1 -1
  37. package/lib/esm/node_modules/react-shiki/dist/{component-C5lsWZSq.js → component-CYq7SnJ0.js} +8 -9
  38. package/lib/esm/node_modules/react-shiki/dist/component-CYq7SnJ0.js.map +1 -0
  39. package/lib/esm/node_modules/react-shiki/dist/index.js +1 -1
  40. package/lib/esm/node_modules/react-shiki/dist/index.js.map +1 -1
  41. package/lib/esm/style.css +1 -1
  42. package/package.json +2 -2
  43. package/lib/esm/node_modules/react-shiki/dist/component-C5lsWZSq.js.map +0 -1
@@ -4,6 +4,8 @@
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
+ /* empty css */
8
+ /* empty css */
7
9
  /* empty css */
8
10
  import { createRuntimeFn as e } from "@vanilla-extract/recipes/createRuntimeFn";
9
11
  //#region src/admin/organisms/admin_sidebar/adminSidebar.css.ts
@@ -1,5 +1,4 @@
1
1
  /* empty css */
2
- /* empty css */
3
2
  /* empty css */
4
3
  //#region src/atomic/atoms/error_message/errorMessage.css.ts
5
4
  var e = "_13gu5w50 txvbqb1bij txvbqb9j txvbqbryk";
@@ -1,5 +1,4 @@
1
1
  /* empty css */
2
- /* empty css */
3
2
  /* empty css */
4
3
  import { createRuntimeFn as e } from "@vanilla-extract/recipes/createRuntimeFn";
5
4
  //#region src/atomic/atoms/input/input.css.ts
@@ -1,5 +1,4 @@
1
1
  /* empty css */
2
- /* empty css */
3
2
  /* empty css */
4
3
  //#region src/atomic/molecules/markdown/components/MarkdownArticleContainer.css.ts
5
4
  var e = "_7ez1431 _7ez1430 txvbqbfpn txvbqbh4x txvbqbheb";
@@ -1,4 +1,5 @@
1
1
  /* empty css */
2
+ /* empty css */
2
3
  /* empty css */
3
4
  import { createRuntimeFn as e } from "@vanilla-extract/recipes/createRuntimeFn";
4
5
  //#region src/atomic/molecules/markdown/components/MarkdownHeading.css.ts
@@ -1 +1 @@
1
- {"version":3,"file":"globalThis.js","names":[],"sources":["../../../../../../../../node_modules/es-toolkit/dist/_internal/globalThis.mjs"],"sourcesContent":["const globalThis_ = (typeof globalThis === 'object' && globalThis) ||\n (typeof window === 'object' && window) ||\n (typeof self === 'object' && self) ||\n (typeof global === 'object' && global) ||\n (function () {\n return this;\n })() ||\n Function('return this')();\n\nexport { globalThis_ as globalThis };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAe,OAAO,cAAe,YAAY,cAClD,OAAO,UAAW,YAAY,UAC9B,OAAO,QAAS,YAAY,QAC5B,OAAO,UAAW,YAAY,WAC9B,WAAY;CACT,OAAO;AACX,GAAG,KACH,SAAS,aAAa,EAAE"}
1
+ {"version":3,"file":"globalThis.js","names":[],"sources":["../../../../../../../../node_modules/es-toolkit/dist/_internal/globalThis.mjs"],"sourcesContent":["//#region src/_internal/globalThis.ts\nconst globalThis_ = typeof globalThis === \"object\" && globalThis || typeof window === \"object\" && window || typeof self === \"object\" && self || typeof global === \"object\" && global || (function() {\n\treturn this;\n})() || Function(\"return this\")();\n//#endregion\nexport { globalThis_ };\n"],"x_google_ignoreList":[0],"mappings":";AACA,IAAM,IAAc,OAAO,cAAe,YAAY,cAAc,OAAO,UAAW,YAAY,UAAU,OAAO,QAAS,YAAY,QAAQ,OAAO,UAAW,YAAY,WAAW,WAAW;CACnM,OAAO;AACR,GAAG,KAAK,SAAS,aAAa,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"isUnsafeProperty.js","names":[],"sources":["../../../../../../../../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs"],"sourcesContent":["function isUnsafeProperty(key) {\n return key === '__proto__';\n}\n\nexport { isUnsafeProperty };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAiB,GAAK;CAC3B,OAAO,MAAQ;AACnB"}
1
+ {"version":3,"file":"isUnsafeProperty.js","names":[],"sources":["../../../../../../../../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs"],"sourcesContent":["//#region src/_internal/isUnsafeProperty.ts\n/**\n* Checks if a property key is unsafe to modify directly.\n*\n* This function is used in functions like `merge` to prevent prototype pollution attacks\n* by identifying property keys that could modify the object's prototype chain or constructor.\n*\n* @param key - The property key to check\n* @returns `true` if the property is unsafe to modify directly, `false` otherwise\n* @internal\n*/\nfunction isUnsafeProperty(key) {\n\treturn key === \"__proto__\";\n}\n//#endregion\nexport { isUnsafeProperty };\n"],"x_google_ignoreList":[0],"mappings":";AAWA,SAAS,EAAiB,GAAK;CAC9B,OAAO,MAAQ;AAChB"}
@@ -1 +1 @@
1
- {"version":3,"file":"getSymbols.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs"],"sourcesContent":["function getSymbols(object) {\n return Object.getOwnPropertySymbols(object).filter(symbol => Object.prototype.propertyIsEnumerable.call(object, symbol));\n}\n\nexport { getSymbols };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAW,GAAQ;CACxB,OAAO,OAAO,sBAAsB,CAAM,EAAE,QAAO,MAAU,OAAO,UAAU,qBAAqB,KAAK,GAAQ,CAAM,CAAC;AAC3H"}
1
+ {"version":3,"file":"getSymbols.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs"],"sourcesContent":["//#region src/compat/_internal/getSymbols.ts\nfunction getSymbols(object) {\n\treturn Object.getOwnPropertySymbols(object).filter((symbol) => Object.prototype.propertyIsEnumerable.call(object, symbol));\n}\n//#endregion\nexport { getSymbols };\n"],"x_google_ignoreList":[0],"mappings":";AACA,SAAS,EAAW,GAAQ;CAC3B,OAAO,OAAO,sBAAsB,CAAM,EAAE,QAAQ,MAAW,OAAO,UAAU,qBAAqB,KAAK,GAAQ,CAAM,CAAC;AAC1H"}
@@ -1 +1 @@
1
- {"version":3,"file":"getTag.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/_internal/getTag.mjs"],"sourcesContent":["function getTag(value) {\n if (value == null) {\n return value === undefined ? '[object Undefined]' : '[object Null]';\n }\n return Object.prototype.toString.call(value);\n}\n\nexport { getTag };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAO,GAAO;CAInB,OAHI,KAAS,OACF,MAAU,KAAA,IAAY,uBAAuB,kBAEjD,OAAO,UAAU,SAAS,KAAK,CAAK;AAC/C"}
1
+ {"version":3,"file":"getTag.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/_internal/getTag.mjs"],"sourcesContent":["//#region src/compat/_internal/getTag.ts\n/**\n* Gets the `toStringTag` of `value`.\n*\n* @private\n* @param {T} value The value to query.\n* @returns {string} Returns the `Object.prototype.toString.call` result.\n*/\nfunction getTag(value) {\n\tif (value == null) return value === void 0 ? \"[object Undefined]\" : \"[object Null]\";\n\treturn Object.prototype.toString.call(value);\n}\n//#endregion\nexport { getTag };\n"],"x_google_ignoreList":[0],"mappings":";AAQA,SAAS,EAAO,GAAO;CAEtB,OADI,KAAS,OAAa,MAAU,KAAK,IAAI,uBAAuB,kBAC7D,OAAO,UAAU,SAAS,KAAK,CAAK;AAC5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"isPrototype.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/_internal/isPrototype.mjs"],"sourcesContent":["function isPrototype(value) {\n const constructor = value?.constructor;\n const prototype = typeof constructor === 'function' ? constructor.prototype : Object.prototype;\n return value === prototype;\n}\n\nexport { isPrototype };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAY,GAAO;CACxB,IAAM,IAAc,GAAO;CAE3B,OAAO,OADW,OAAO,KAAgB,aAAa,EAAY,YAAY,OAAO;AAEzF"}
1
+ {"version":3,"file":"isPrototype.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/_internal/isPrototype.mjs"],"sourcesContent":["//#region src/compat/_internal/isPrototype.ts\nfunction isPrototype(value) {\n\tconst constructor = value?.constructor;\n\treturn value === (typeof constructor === \"function\" ? constructor.prototype : Object.prototype);\n}\n//#endregion\nexport { isPrototype };\n"],"x_google_ignoreList":[0],"mappings":";AACA,SAAS,EAAY,GAAO;CAC3B,IAAM,IAAc,GAAO;CAC3B,OAAO,OAAW,OAAO,KAAgB,aAAa,EAAY,YAAY,OAAO;AACtF"}
@@ -1 +1 @@
1
- {"version":3,"file":"tags.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/_internal/tags.mjs"],"sourcesContent":["const regexpTag = '[object RegExp]';\nconst stringTag = '[object String]';\nconst numberTag = '[object Number]';\nconst booleanTag = '[object Boolean]';\nconst argumentsTag = '[object Arguments]';\nconst symbolTag = '[object Symbol]';\nconst dateTag = '[object Date]';\nconst mapTag = '[object Map]';\nconst setTag = '[object Set]';\nconst arrayTag = '[object Array]';\nconst functionTag = '[object Function]';\nconst arrayBufferTag = '[object ArrayBuffer]';\nconst objectTag = '[object Object]';\nconst errorTag = '[object Error]';\nconst dataViewTag = '[object DataView]';\nconst uint8ArrayTag = '[object Uint8Array]';\nconst uint8ClampedArrayTag = '[object Uint8ClampedArray]';\nconst uint16ArrayTag = '[object Uint16Array]';\nconst uint32ArrayTag = '[object Uint32Array]';\nconst bigUint64ArrayTag = '[object BigUint64Array]';\nconst int8ArrayTag = '[object Int8Array]';\nconst int16ArrayTag = '[object Int16Array]';\nconst int32ArrayTag = '[object Int32Array]';\nconst bigInt64ArrayTag = '[object BigInt64Array]';\nconst float32ArrayTag = '[object Float32Array]';\nconst float64ArrayTag = '[object Float64Array]';\n\nexport { argumentsTag, arrayBufferTag, arrayTag, bigInt64ArrayTag, bigUint64ArrayTag, booleanTag, dataViewTag, dateTag, errorTag, float32ArrayTag, float64ArrayTag, functionTag, int16ArrayTag, int32ArrayTag, int8ArrayTag, mapTag, numberTag, objectTag, regexpTag, setTag, stringTag, symbolTag, uint16ArrayTag, uint32ArrayTag, uint8ArrayTag, uint8ClampedArrayTag };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAY,mBACZ,IAAY,mBACZ,IAAY,mBACZ,IAAa,oBACb,IAAe,sBACf,IAAY,mBACZ,IAAU,iBACV,IAAS,gBACT,IAAS,gBACT,IAAW,kBAEX,IAAiB,wBACjB,IAAY,mBAEZ,IAAc,qBACd,IAAgB,uBAChB,IAAuB,8BACvB,IAAiB,wBACjB,IAAiB,wBAEjB,IAAe,sBACf,IAAgB,uBAChB,IAAgB,uBAEhB,IAAkB,yBAClB,IAAkB"}
1
+ {"version":3,"file":"tags.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/_internal/tags.mjs"],"sourcesContent":["//#region src/compat/_internal/tags.ts\nconst regexpTag = \"[object RegExp]\";\nconst stringTag = \"[object String]\";\nconst numberTag = \"[object Number]\";\nconst booleanTag = \"[object Boolean]\";\nconst argumentsTag = \"[object Arguments]\";\nconst symbolTag = \"[object Symbol]\";\nconst dateTag = \"[object Date]\";\nconst mapTag = \"[object Map]\";\nconst setTag = \"[object Set]\";\nconst arrayTag = \"[object Array]\";\nconst functionTag = \"[object Function]\";\nconst arrayBufferTag = \"[object ArrayBuffer]\";\nconst objectTag = \"[object Object]\";\nconst errorTag = \"[object Error]\";\nconst dataViewTag = \"[object DataView]\";\nconst uint8ArrayTag = \"[object Uint8Array]\";\nconst uint8ClampedArrayTag = \"[object Uint8ClampedArray]\";\nconst uint16ArrayTag = \"[object Uint16Array]\";\nconst uint32ArrayTag = \"[object Uint32Array]\";\nconst bigUint64ArrayTag = \"[object BigUint64Array]\";\nconst int8ArrayTag = \"[object Int8Array]\";\nconst int16ArrayTag = \"[object Int16Array]\";\nconst int32ArrayTag = \"[object Int32Array]\";\nconst bigInt64ArrayTag = \"[object BigInt64Array]\";\nconst float32ArrayTag = \"[object Float32Array]\";\nconst float64ArrayTag = \"[object Float64Array]\";\n//#endregion\nexport { argumentsTag, arrayBufferTag, arrayTag, bigInt64ArrayTag, bigUint64ArrayTag, booleanTag, dataViewTag, dateTag, errorTag, float32ArrayTag, float64ArrayTag, functionTag, int16ArrayTag, int32ArrayTag, int8ArrayTag, mapTag, numberTag, objectTag, regexpTag, setTag, stringTag, symbolTag, uint16ArrayTag, uint32ArrayTag, uint8ArrayTag, uint8ClampedArrayTag };\n"],"x_google_ignoreList":[0],"mappings":";AACA,IAAM,IAAY,mBACZ,IAAY,mBACZ,IAAY,mBACZ,IAAa,oBACb,IAAe,sBACf,IAAY,mBACZ,IAAU,iBACV,IAAS,gBACT,IAAS,gBACT,IAAW,kBAEX,IAAiB,wBACjB,IAAY,mBAEZ,IAAc,qBACd,IAAgB,uBAChB,IAAuB,8BACvB,IAAiB,wBACjB,IAAiB,wBAEjB,IAAe,sBACf,IAAgB,uBAChB,IAAgB,uBAEhB,IAAkB,yBAClB,IAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"memoize.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/function/memoize.mjs"],"sourcesContent":["function memoize(func, resolver) {\n if (typeof func !== 'function' || (resolver != null && typeof resolver !== 'function')) {\n throw new TypeError('Expected a function');\n }\n const memoized = function (...args) {\n const key = resolver ? resolver.apply(this, args) : args[0];\n const cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n const result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n const CacheConstructor = memoize.Cache || Map;\n memoized.cache = new CacheConstructor();\n return memoized;\n}\nmemoize.Cache = Map;\n\nexport { memoize };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAQ,GAAM,GAAU;CAC7B,IAAI,OAAO,KAAS,cAAe,KAAY,QAAQ,OAAO,KAAa,YACvE,MAAU,UAAU,qBAAqB;CAE7C,IAAM,IAAW,SAAU,GAAG,GAAM;EAChC,IAAM,IAAM,IAAW,EAAS,MAAM,MAAM,CAAI,IAAI,EAAK,IACnD,IAAQ,EAAS;EACvB,IAAI,EAAM,IAAI,CAAG,GACb,OAAO,EAAM,IAAI,CAAG;EAExB,IAAM,IAAS,EAAK,MAAM,MAAM,CAAI;EAEpC,OADA,EAAS,QAAQ,EAAM,IAAI,GAAK,CAAM,KAAK,GACpC;CACX;CAGA,OADA,EAAS,QAAQ,KADQ,EAAQ,SAAS,KACJ,GAC/B;AACX;AACA,EAAQ,QAAQ"}
1
+ {"version":3,"file":"memoize.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/function/memoize.mjs"],"sourcesContent":["//#region src/compat/function/memoize.ts\n/**\n* Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for\n* storing the result based on the arguments provided to the memoized function. By default, the first argument\n* provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with\n* the this binding of the memoized function.\n*\n* @template T - The type of the original function being memoized\n* @param {T} func The function to have its output memoized.\n* @param {Function} [resolver] The function to resolve the cache key.\n* @return {MemoizedFunction<T>} Returns the new memoizing function.\n*/\nfunction memoize(func, resolver) {\n\tif (typeof func !== \"function\" || resolver != null && typeof resolver !== \"function\") throw new TypeError(\"Expected a function\");\n\tconst memoized = function(...args) {\n\t\tconst key = resolver ? resolver.apply(this, args) : args[0];\n\t\tconst cache = memoized.cache;\n\t\tif (cache.has(key)) return cache.get(key);\n\t\tconst result = func.apply(this, args);\n\t\tmemoized.cache = cache.set(key, result) || cache;\n\t\treturn result;\n\t};\n\tmemoized.cache = new (memoize.Cache || Map)();\n\treturn memoized;\n}\nmemoize.Cache = Map;\n//#endregion\nexport { memoize };\n"],"x_google_ignoreList":[0],"mappings":";AAYA,SAAS,EAAQ,GAAM,GAAU;CAChC,IAAI,OAAO,KAAS,cAAc,KAAY,QAAQ,OAAO,KAAa,YAAY,MAAU,UAAU,qBAAqB;CAC/H,IAAM,IAAW,SAAS,GAAG,GAAM;EAClC,IAAM,IAAM,IAAW,EAAS,MAAM,MAAM,CAAI,IAAI,EAAK,IACnD,IAAQ,EAAS;EACvB,IAAI,EAAM,IAAI,CAAG,GAAG,OAAO,EAAM,IAAI,CAAG;EACxC,IAAM,IAAS,EAAK,MAAM,MAAM,CAAI;EAEpC,OADA,EAAS,QAAQ,EAAM,IAAI,GAAK,CAAM,KAAK,GACpC;CACR;CAEA,OADA,EAAS,QAAQ,KAAK,EAAQ,SAAS,KAAK,GACrC;AACR;AACA,EAAQ,QAAQ"}
@@ -1,14 +1,14 @@
1
- import { isPrimitive as e } from "../../predicate/isPrimitive.js";
1
+ import { isArray as e } from "../predicate/isArray.js";
2
2
  import { getTag as t } from "../_internal/getTag.js";
3
3
  import { argumentsTag as n, arrayBufferTag as r, arrayTag as i, booleanTag as a, dataViewTag as o, dateTag as s, float32ArrayTag as c, float64ArrayTag as l, int16ArrayTag as u, int32ArrayTag as d, int8ArrayTag as f, mapTag as p, numberTag as m, objectTag as h, regexpTag as g, setTag as _, stringTag as v, symbolTag as y, uint16ArrayTag as b, uint32ArrayTag as x, uint8ArrayTag as S, uint8ClampedArrayTag as C } from "../_internal/tags.js";
4
- import { isArray as w } from "../predicate/isArray.js";
4
+ import { isPrimitive as w } from "../../predicate/isPrimitive.js";
5
5
  import { isTypedArray as T } from "../predicate/isTypedArray.js";
6
6
  //#region ../../node_modules/es-toolkit/dist/compat/object/clone.mjs
7
7
  function E(n) {
8
- if (e(n)) return n;
8
+ if (w(n)) return n;
9
9
  let r = t(n);
10
10
  if (!D(n)) return {};
11
- if (w(n)) {
11
+ if (e(n)) {
12
12
  let e = Array.from(n);
13
13
  return n.length > 0 && typeof n[0] == "string" && Object.hasOwn(n, "index") && (e.index = n.index, e.input = n.input), e;
14
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"clone.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/clone.mjs"],"sourcesContent":["import { isPrimitive } from '../../predicate/isPrimitive.mjs';\nimport { getTag } from '../_internal/getTag.mjs';\nimport { arrayBufferTag, dataViewTag, booleanTag, numberTag, stringTag, dateTag, regexpTag, symbolTag, mapTag, setTag, argumentsTag, uint32ArrayTag, uint16ArrayTag, uint8ClampedArrayTag, uint8ArrayTag, objectTag, int32ArrayTag, int16ArrayTag, int8ArrayTag, float64ArrayTag, float32ArrayTag, arrayTag } from '../_internal/tags.mjs';\nimport { isArray } from '../predicate/isArray.mjs';\nimport { isTypedArray } from '../predicate/isTypedArray.mjs';\n\nfunction clone(obj) {\n if (isPrimitive(obj)) {\n return obj;\n }\n const tag = getTag(obj);\n if (!isCloneableObject(obj)) {\n return {};\n }\n if (isArray(obj)) {\n const result = Array.from(obj);\n if (obj.length > 0 && typeof obj[0] === 'string' && Object.hasOwn(obj, 'index')) {\n result.index = obj.index;\n result.input = obj.input;\n }\n return result;\n }\n if (isTypedArray(obj)) {\n const typedArray = obj;\n const Ctor = typedArray.constructor;\n return new Ctor(typedArray.buffer, typedArray.byteOffset, typedArray.length);\n }\n if (tag === arrayBufferTag) {\n return new ArrayBuffer(obj.byteLength);\n }\n if (tag === dataViewTag) {\n const dataView = obj;\n const buffer = dataView.buffer;\n const byteOffset = dataView.byteOffset;\n const byteLength = dataView.byteLength;\n const clonedBuffer = new ArrayBuffer(byteLength);\n const srcView = new Uint8Array(buffer, byteOffset, byteLength);\n const destView = new Uint8Array(clonedBuffer);\n destView.set(srcView);\n return new DataView(clonedBuffer);\n }\n if (tag === booleanTag || tag === numberTag || tag === stringTag) {\n const Ctor = obj.constructor;\n const clone = new Ctor(obj.valueOf());\n if (tag === stringTag) {\n cloneStringObjectProperties(clone, obj);\n }\n else {\n copyOwnProperties(clone, obj);\n }\n return clone;\n }\n if (tag === dateTag) {\n return new Date(Number(obj));\n }\n if (tag === regexpTag) {\n const regExp = obj;\n const clone = new RegExp(regExp.source, regExp.flags);\n clone.lastIndex = regExp.lastIndex;\n return clone;\n }\n if (tag === symbolTag) {\n return Object(Symbol.prototype.valueOf.call(obj));\n }\n if (tag === mapTag) {\n const map = obj;\n const result = new Map();\n map.forEach((obj, key) => {\n result.set(key, obj);\n });\n return result;\n }\n if (tag === setTag) {\n const set = obj;\n const result = new Set();\n set.forEach(obj => {\n result.add(obj);\n });\n return result;\n }\n if (tag === argumentsTag) {\n const args = obj;\n const result = {};\n copyOwnProperties(result, args);\n result.length = args.length;\n result[Symbol.iterator] = args[Symbol.iterator];\n return result;\n }\n const result = {};\n copyPrototype(result, obj);\n copyOwnProperties(result, obj);\n copySymbolProperties(result, obj);\n return result;\n}\nfunction isCloneableObject(object) {\n switch (getTag(object)) {\n case argumentsTag:\n case arrayTag:\n case arrayBufferTag:\n case dataViewTag:\n case booleanTag:\n case dateTag:\n case float32ArrayTag:\n case float64ArrayTag:\n case int8ArrayTag:\n case int16ArrayTag:\n case int32ArrayTag:\n case mapTag:\n case numberTag:\n case objectTag:\n case regexpTag:\n case setTag:\n case stringTag:\n case symbolTag:\n case uint8ArrayTag:\n case uint8ClampedArrayTag:\n case uint16ArrayTag:\n case uint32ArrayTag: {\n return true;\n }\n default: {\n return false;\n }\n }\n}\nfunction copyOwnProperties(target, source) {\n for (const key in source) {\n if (Object.hasOwn(source, key)) {\n target[key] = source[key];\n }\n }\n}\nfunction copySymbolProperties(target, source) {\n const symbols = Object.getOwnPropertySymbols(source);\n for (let i = 0; i < symbols.length; i++) {\n const symbol = symbols[i];\n if (Object.prototype.propertyIsEnumerable.call(source, symbol)) {\n target[symbol] = source[symbol];\n }\n }\n}\nfunction cloneStringObjectProperties(target, source) {\n const stringLength = source.valueOf().length;\n for (const key in source) {\n if (Object.hasOwn(source, key) && (Number.isNaN(Number(key)) || Number(key) >= stringLength)) {\n target[key] = source[key];\n }\n }\n}\nfunction copyPrototype(target, source) {\n const proto = Object.getPrototypeOf(source);\n if (proto !== null) {\n const Ctor = source.constructor;\n if (typeof Ctor === 'function') {\n Object.setPrototypeOf(target, proto);\n }\n }\n}\n\nexport { clone };\n"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"clone.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/clone.mjs"],"sourcesContent":["import { isPrimitive } from \"../../predicate/isPrimitive.mjs\";\nimport { getTag } from \"../_internal/getTag.mjs\";\nimport { argumentsTag, arrayBufferTag, arrayTag, booleanTag, dataViewTag, dateTag, float32ArrayTag, float64ArrayTag, int16ArrayTag, int32ArrayTag, int8ArrayTag, mapTag, numberTag, objectTag, regexpTag, setTag, stringTag, symbolTag, uint16ArrayTag, uint32ArrayTag, uint8ArrayTag, uint8ClampedArrayTag } from \"../_internal/tags.mjs\";\nimport { isArray } from \"../predicate/isArray.mjs\";\nimport { isTypedArray } from \"../predicate/isTypedArray.mjs\";\n//#region src/compat/object/clone.ts\n/**\n* Creates a shallow clone of the given object.\n*\n* @template T - The type of the object.\n* @param {T} obj - The object to clone.\n* @returns {T} - A shallow clone of the given object.\n*\n* @example\n* // Clone a primitive objs\n* const num = 29;\n* const clonedNum = clone(num);\n* console.log(clonedNum); // 29\n* console.log(clonedNum === num); // true\n*\n* @example\n* // Clone an array\n* const arr = [1, 2, 3];\n* const clonedArr = clone(arr);\n* console.log(clonedArr); // [1, 2, 3]\n* console.log(clonedArr === arr); // false\n*\n* @example\n* // Clone an object\n* const obj = { a: 1, b: 'es-toolkit', c: [1, 2, 3] };\n* const clonedObj = clone(obj);\n* console.log(clonedObj); // { a: 1, b: 'es-toolkit', c: [1, 2, 3] }\n* console.log(clonedObj === obj); // false\n*/\nfunction clone(obj) {\n\tif (isPrimitive(obj)) return obj;\n\tconst tag = getTag(obj);\n\tif (!isCloneableObject(obj)) return {};\n\tif (isArray(obj)) {\n\t\tconst result = Array.from(obj);\n\t\tif (obj.length > 0 && typeof obj[0] === \"string\" && Object.hasOwn(obj, \"index\")) {\n\t\t\tresult.index = obj.index;\n\t\t\tresult.input = obj.input;\n\t\t}\n\t\treturn result;\n\t}\n\tif (isTypedArray(obj)) {\n\t\tconst typedArray = obj;\n\t\tconst Ctor = typedArray.constructor;\n\t\treturn new Ctor(typedArray.buffer, typedArray.byteOffset, typedArray.length);\n\t}\n\tif (tag === \"[object ArrayBuffer]\") return new ArrayBuffer(obj.byteLength);\n\tif (tag === \"[object DataView]\") {\n\t\tconst dataView = obj;\n\t\tconst buffer = dataView.buffer;\n\t\tconst byteOffset = dataView.byteOffset;\n\t\tconst byteLength = dataView.byteLength;\n\t\tconst clonedBuffer = new ArrayBuffer(byteLength);\n\t\tconst srcView = new Uint8Array(buffer, byteOffset, byteLength);\n\t\tnew Uint8Array(clonedBuffer).set(srcView);\n\t\treturn new DataView(clonedBuffer);\n\t}\n\tif (tag === \"[object Boolean]\" || tag === \"[object Number]\" || tag === \"[object String]\") {\n\t\tconst Ctor = obj.constructor;\n\t\tconst clone = new Ctor(obj.valueOf());\n\t\tif (tag === \"[object String]\") cloneStringObjectProperties(clone, obj);\n\t\telse copyOwnProperties(clone, obj);\n\t\treturn clone;\n\t}\n\tif (tag === \"[object Date]\") return new Date(Number(obj));\n\tif (tag === \"[object RegExp]\") {\n\t\tconst regExp = obj;\n\t\tconst clone = new RegExp(regExp.source, regExp.flags);\n\t\tclone.lastIndex = regExp.lastIndex;\n\t\treturn clone;\n\t}\n\tif (tag === \"[object Symbol]\") return Object(Symbol.prototype.valueOf.call(obj));\n\tif (tag === \"[object Map]\") {\n\t\tconst map = obj;\n\t\tconst result = /* @__PURE__ */ new Map();\n\t\tmap.forEach((obj, key) => {\n\t\t\tresult.set(key, obj);\n\t\t});\n\t\treturn result;\n\t}\n\tif (tag === \"[object Set]\") {\n\t\tconst set = obj;\n\t\tconst result = /* @__PURE__ */ new Set();\n\t\tset.forEach((obj) => {\n\t\t\tresult.add(obj);\n\t\t});\n\t\treturn result;\n\t}\n\tif (tag === \"[object Arguments]\") {\n\t\tconst args = obj;\n\t\tconst result = {};\n\t\tcopyOwnProperties(result, args);\n\t\tresult.length = args.length;\n\t\tresult[Symbol.iterator] = args[Symbol.iterator];\n\t\treturn result;\n\t}\n\tconst result = {};\n\tcopyPrototype(result, obj);\n\tcopyOwnProperties(result, obj);\n\tcopySymbolProperties(result, obj);\n\treturn result;\n}\nfunction isCloneableObject(object) {\n\tswitch (getTag(object)) {\n\t\tcase argumentsTag:\n\t\tcase arrayTag:\n\t\tcase arrayBufferTag:\n\t\tcase dataViewTag:\n\t\tcase booleanTag:\n\t\tcase dateTag:\n\t\tcase float32ArrayTag:\n\t\tcase float64ArrayTag:\n\t\tcase int8ArrayTag:\n\t\tcase int16ArrayTag:\n\t\tcase int32ArrayTag:\n\t\tcase mapTag:\n\t\tcase numberTag:\n\t\tcase objectTag:\n\t\tcase regexpTag:\n\t\tcase setTag:\n\t\tcase stringTag:\n\t\tcase symbolTag:\n\t\tcase uint8ArrayTag:\n\t\tcase uint8ClampedArrayTag:\n\t\tcase uint16ArrayTag:\n\t\tcase uint32ArrayTag: return true;\n\t\tdefault: return false;\n\t}\n}\nfunction copyOwnProperties(target, source) {\n\tfor (const key in source) if (Object.hasOwn(source, key)) target[key] = source[key];\n}\nfunction copySymbolProperties(target, source) {\n\tconst symbols = Object.getOwnPropertySymbols(source);\n\tfor (let i = 0; i < symbols.length; i++) {\n\t\tconst symbol = symbols[i];\n\t\tif (Object.prototype.propertyIsEnumerable.call(source, symbol)) target[symbol] = source[symbol];\n\t}\n}\nfunction cloneStringObjectProperties(target, source) {\n\tconst stringLength = source.valueOf().length;\n\tfor (const key in source) if (Object.hasOwn(source, key) && (Number.isNaN(Number(key)) || Number(key) >= stringLength)) target[key] = source[key];\n}\nfunction copyPrototype(target, source) {\n\tconst proto = Object.getPrototypeOf(source);\n\tif (proto !== null) {\n\t\tif (typeof source.constructor === \"function\") Object.setPrototypeOf(target, proto);\n\t}\n}\n//#endregion\nexport { clone };\n"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"cloneDeep.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs"],"sourcesContent":["import { cloneDeepWith } from './cloneDeepWith.mjs';\n\nfunction cloneDeep(obj) {\n return cloneDeepWith(obj);\n}\n\nexport { cloneDeep };\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAU,GAAK;CACpB,OAAO,EAAc,CAAG;AAC5B"}
1
+ {"version":3,"file":"cloneDeep.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs"],"sourcesContent":["import { cloneDeepWith } from \"./cloneDeepWith.mjs\";\n//#region src/compat/object/cloneDeep.ts\n/**\n* Creates a deep clone of the given object.\n*\n* @template T - The type of the object.\n* @param {T} obj - The object to clone.\n* @returns {T} - A deep clone of the given object.\n*\n* @example\n* // Clone a primitive values\n* const num = 29;\n* const clonedNum = clone(num);\n* console.log(clonedNum); // 29\n* console.log(clonedNum === num); // true\n*\n* @example\n* // Clone an array\n* const arr = [1, 2, 3];\n* const clonedArr = clone(arr);\n* console.log(clonedArr); // [1, 2, 3]\n* console.log(clonedArr === arr); // false\n*\n* @example\n* // Clone an array with nested objects\n* const arr = [1, { a: 1 }, [1, 2, 3]];\n* const clonedArr = clone(arr);\n* arr[1].a = 2;\n* console.log(arr); // [2, { a: 2 }, [1, 2, 3]]\n* console.log(clonedArr); // [1, { a: 1 }, [1, 2, 3]]\n* console.log(clonedArr === arr); // false\n*\n* @example\n* // Clone an object\n* const obj = { a: 1, b: 'es-toolkit', c: [1, 2, 3] };\n* const clonedObj = clone(obj);\n* console.log(clonedObj); // { a: 1, b: 'es-toolkit', c: [1, 2, 3] }\n* console.log(clonedObj === obj); // false\n*\n* @example\n* // Clone an object with nested objects\n* const obj = { a: 1, b: { c: 1 } };\n* const clonedObj = clone(obj);\n* obj.b.c = 2;\n* console.log(obj); // { a: 1, b: { c: 2 } }\n* console.log(clonedObj); // { a: 1, b: { c: 1 } }\n* console.log(clonedObj === obj); // false\n*/\nfunction cloneDeep(obj) {\n\treturn cloneDeepWith(obj);\n}\n//#endregion\nexport { cloneDeep };\n"],"x_google_ignoreList":[0],"mappings":";;AAgDA,SAAS,EAAU,GAAK;CACvB,OAAO,EAAc,CAAG;AACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"cloneDeepWith.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs"],"sourcesContent":["import { cloneDeepWith as cloneDeepWith$1, copyProperties } from '../../object/cloneDeepWith.mjs';\nimport { getTag } from '../_internal/getTag.mjs';\nimport { objectTag, argumentsTag, booleanTag, stringTag, numberTag } from '../_internal/tags.mjs';\n\nfunction cloneDeepWith(obj, customizer) {\n return cloneDeepWith$1(obj, (value, key, object, stack) => {\n const cloned = customizer?.(value, key, object, stack);\n if (cloned !== undefined) {\n return cloned;\n }\n if (typeof obj !== 'object') {\n return undefined;\n }\n if (getTag(obj) === objectTag && typeof obj.constructor !== 'function') {\n const result = {};\n stack.set(obj, result);\n copyProperties(result, obj, object, stack);\n return result;\n }\n switch (Object.prototype.toString.call(obj)) {\n case numberTag:\n case stringTag:\n case booleanTag: {\n const result = new obj.constructor(obj?.valueOf());\n copyProperties(result, obj);\n return result;\n }\n case argumentsTag: {\n const result = {};\n copyProperties(result, obj);\n result.length = obj.length;\n result[Symbol.iterator] = obj[Symbol.iterator];\n return result;\n }\n default: {\n return undefined;\n }\n }\n });\n}\n\nexport { cloneDeepWith };\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,SAAS,EAAc,GAAK,GAAY;CACpC,OAAO,EAAgB,IAAM,GAAO,GAAK,GAAQ,MAAU;EACvD,IAAM,IAAS,IAAa,GAAO,GAAK,GAAQ,CAAK;EACrD,IAAI,MAAW,KAAA,GACX,OAAO;EAEP,WAAO,KAAQ,UAGnB;OAAI,EAAO,CAAG,MAAA,qBAAmB,OAAO,EAAI,eAAgB,YAAY;IACpE,IAAM,IAAS,CAAC;IAGhB,OAFA,EAAM,IAAI,GAAK,CAAM,GACrB,EAAe,GAAQ,GAAK,GAAQ,CAAK,GAClC;GACX;GACA,QAAQ,OAAO,UAAU,SAAS,KAAK,CAAG,GAA1C;IACI,KAAK;IACL,KAAK;IACL,KAAK,GAAY;KACb,IAAM,IAAS,IAAI,EAAI,YAAY,GAAK,QAAQ,CAAC;KAEjD,OADA,EAAe,GAAQ,CAAG,GACnB;IACX;IACA,KAAK,GAAc;KACf,IAAM,IAAS,CAAC;KAIhB,OAHA,EAAe,GAAQ,CAAG,GAC1B,EAAO,SAAS,EAAI,QACpB,EAAO,OAAO,YAAY,EAAI,OAAO,WAC9B;IACX;IACA,SACI;GAER;EAnBA;CAoBJ,CAAC;AACL"}
1
+ {"version":3,"file":"cloneDeepWith.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs"],"sourcesContent":["import { getTag } from \"../_internal/getTag.mjs\";\nimport { argumentsTag, booleanTag, numberTag, stringTag } from \"../_internal/tags.mjs\";\nimport { cloneDeepWith as cloneDeepWith$1, copyProperties } from \"../../object/cloneDeepWith.mjs\";\n//#region src/compat/object/cloneDeepWith.ts\n/**\n* Creates a deep clone of the given object using a customizer function.\n*\n* @template T - The type of the object.\n* @param {T} obj - The object to clone.\n* @param {Function} [cloneValue] - A function to customize the cloning process.\n* @returns {T} - A deep clone of the given object.\n*\n* @example\n* // Clone a primitive value\n* const num = 29;\n* const clonedNum = cloneDeepWith(num);\n* console.log(clonedNum); // 29\n* console.log(clonedNum === num); // true\n*\n* @example\n* // Clone an object with a customizer\n* const obj = { a: 1, b: 2 };\n* const clonedObj = cloneDeepWith(obj, (value) => {\n* if (typeof value === 'number') {\n* return value * 2; // Double the number\n* }\n* });\n* console.log(clonedObj); // { a: 2, b: 4 }\n* console.log(clonedObj === obj); // false\n*\n* @example\n* // Clone an array with a customizer\n* const arr = [1, 2, 3];\n* const clonedArr = cloneDeepWith(arr, (value) => {\n* return value + 1; // Increment each value\n* });\n* console.log(clonedArr); // [2, 3, 4]\n* console.log(clonedArr === arr); // false\n*/\nfunction cloneDeepWith(obj, customizer) {\n\treturn cloneDeepWith$1(obj, (value, key, object, stack) => {\n\t\tconst cloned = customizer?.(value, key, object, stack);\n\t\tif (cloned !== void 0) return cloned;\n\t\tif (typeof obj !== \"object\") return;\n\t\tif (getTag(obj) === \"[object Object]\" && typeof obj.constructor !== \"function\") {\n\t\t\tconst result = {};\n\t\t\tstack.set(obj, result);\n\t\t\tcopyProperties(result, obj, object, stack);\n\t\t\treturn result;\n\t\t}\n\t\tswitch (Object.prototype.toString.call(obj)) {\n\t\t\tcase numberTag:\n\t\t\tcase stringTag:\n\t\t\tcase booleanTag: {\n\t\t\t\tconst result = new obj.constructor(obj?.valueOf());\n\t\t\t\tcopyProperties(result, obj);\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tcase argumentsTag: {\n\t\t\t\tconst result = {};\n\t\t\t\tcopyProperties(result, obj);\n\t\t\t\tresult.length = obj.length;\n\t\t\t\tresult[Symbol.iterator] = obj[Symbol.iterator];\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tdefault: return;\n\t\t}\n\t});\n}\n//#endregion\nexport { cloneDeepWith };\n"],"x_google_ignoreList":[0],"mappings":";;;;AAuCA,SAAS,EAAc,GAAK,GAAY;CACvC,OAAO,EAAgB,IAAM,GAAO,GAAK,GAAQ,MAAU;EAC1D,IAAM,IAAS,IAAa,GAAO,GAAK,GAAQ,CAAK;EACrD,IAAI,MAAW,KAAK,GAAG,OAAO;EAC1B,WAAO,KAAQ,UACnB;OAAI,EAAO,CAAG,MAAM,qBAAqB,OAAO,EAAI,eAAgB,YAAY;IAC/E,IAAM,IAAS,CAAC;IAGhB,OAFA,EAAM,IAAI,GAAK,CAAM,GACrB,EAAe,GAAQ,GAAK,GAAQ,CAAK,GAClC;GACR;GACA,QAAQ,OAAO,UAAU,SAAS,KAAK,CAAG,GAA1C;IACC,KAAK;IACL,KAAK;IACL,KAAK,GAAY;KAChB,IAAM,IAAS,IAAI,EAAI,YAAY,GAAK,QAAQ,CAAC;KAEjD,OADA,EAAe,GAAQ,CAAG,GACnB;IACR;IACA,KAAK,GAAc;KAClB,IAAM,IAAS,CAAC;KAIhB,OAHA,EAAe,GAAQ,CAAG,GAC1B,EAAO,SAAS,EAAI,QACpB,EAAO,OAAO,YAAY,EAAI,OAAO,WAC9B;IACR;IACA,SAAS;GACV;EAjBA;CAkBD,CAAC;AACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"merge.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/merge.mjs"],"sourcesContent":["import { mergeWith } from './mergeWith.mjs';\nimport { noop } from '../../function/noop.mjs';\n\nfunction merge(object, ...sources) {\n return mergeWith(object, ...sources, noop);\n}\n\nexport { merge };\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAM,GAAQ,GAAG,GAAS;CAC/B,OAAO,EAAU,GAAQ,GAAG,GAAS,CAAI;AAC7C"}
1
+ {"version":3,"file":"merge.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/merge.mjs"],"sourcesContent":["import { noop } from \"../../function/noop.mjs\";\nimport { mergeWith } from \"./mergeWith.mjs\";\n//#region src/compat/object/merge.ts\n/**\n* Merges the properties of one or more source objects into the target object.\n*\n* This function performs a deep merge, recursively merging nested objects and arrays.\n* If a property in the source object is an array or object and the corresponding property in the target object is also an array or object, they will be merged.\n* If a property in the source object is `undefined`, it will not overwrite a defined property in the target object.\n*\n* The function can handle multiple source objects and will merge them all into the target object.\n*\n* @param {any} object - The target object into which the source object properties will be merged. This object is modified in place.\n* @param {any[]} sources - The source objects whose properties will be merged into the target object.\n* @returns {any} The updated target object with properties from the source object(s) merged in.\n*\n* @example\n* const target = { a: 1, b: { x: 1, y: 2 } };\n* const source = { b: { y: 3, z: 4 }, c: 5 };\n*\n* const result = merge(target, source);\n* console.log(result);\n* // Output: { a: 1, b: { x: 1, y: 3, z: 4 }, c: 5 }\n*\n* @example\n* const target = { a: [1, 2], b: { x: 1 } };\n* const source = { a: [3], b: { y: 2 } };\n*\n* const result = merge(target, source);\n* console.log(result);\n* // Output: { a: [3], b: { x: 1, y: 2 } }\n*\n* @example\n* const target = { a: null };\n* const source = { a: [1, 2, 3] };\n*\n* const result = merge(target, source);\n* console.log(result);\n* // Output: { a: [1, 2, 3] }\n*/\nfunction merge(object, ...sources) {\n\treturn mergeWith(object, ...sources, noop);\n}\n//#endregion\nexport { merge };\n"],"x_google_ignoreList":[0],"mappings":";;;AAwCA,SAAS,EAAM,GAAQ,GAAG,GAAS;CAClC,OAAO,EAAU,GAAQ,GAAG,GAAS,CAAI;AAC1C"}
@@ -1,13 +1,13 @@
1
- import { isUnsafeProperty as e } from "../../_internal/isUnsafeProperty.js";
2
- import { isPrimitive as t } from "../../predicate/isPrimitive.js";
3
- import { getSymbols as n } from "../_internal/getSymbols.js";
4
- import { isBuffer as r } from "../../predicate/isBuffer.js";
5
- import { cloneDeep as i } from "./cloneDeep.js";
6
- import { isArguments as a } from "../predicate/isArguments.js";
7
- import { isObjectLike as o } from "../predicate/isObjectLike.js";
8
- import { isArrayLikeObject as s } from "../predicate/isArrayLikeObject.js";
9
- import { isTypedArray as c } from "../predicate/isTypedArray.js";
10
- import { isPlainObject as l } from "../predicate/isPlainObject.js";
1
+ import { isPlainObject as e } from "../predicate/isPlainObject.js";
2
+ import { getSymbols as t } from "../_internal/getSymbols.js";
3
+ import { isBuffer as n } from "../../predicate/isBuffer.js";
4
+ import { isUnsafeProperty as r } from "../../_internal/isUnsafeProperty.js";
5
+ import { isPrimitive as i } from "../../predicate/isPrimitive.js";
6
+ import { cloneDeep as a } from "./cloneDeep.js";
7
+ import { isArguments as o } from "../predicate/isArguments.js";
8
+ import { isObjectLike as s } from "../predicate/isObjectLike.js";
9
+ import { isArrayLikeObject as c } from "../predicate/isArrayLikeObject.js";
10
+ import { isTypedArray as l } from "../predicate/isTypedArray.js";
11
11
  import { clone as u } from "../../object/clone.js";
12
12
  //#region ../../node_modules/es-toolkit/dist/compat/object/mergeWith.mjs
13
13
  function d(e, ...t) {
@@ -19,31 +19,31 @@ function d(e, ...t) {
19
19
  return i;
20
20
  }
21
21
  function f(d, p, m, h) {
22
- if (t(d) && (d = Object(d)), typeof p != "object" || !p) return d;
22
+ if (i(d) && (d = Object(d)), typeof p != "object" || !p) return d;
23
23
  if (h.has(p)) return u(h.get(p));
24
24
  if (h.set(p, d), Array.isArray(p)) {
25
25
  p = p.slice();
26
26
  for (let e = 0; e < p.length; e++) p[e] = p[e] ?? void 0;
27
27
  }
28
- let g = [...Object.keys(p), ...n(p)];
28
+ let g = [...Object.keys(p), ...t(p)];
29
29
  for (let t = 0; t < g.length; t++) {
30
- let n = g[t];
31
- if (e(n)) continue;
32
- let u = p[n], _ = d[n];
33
- if (a(u) && (u = { ...u }), a(_) && (_ = { ..._ }), r(u) && (u = i(u)), Array.isArray(u)) if (Array.isArray(_)) {
30
+ let i = g[t];
31
+ if (r(i)) continue;
32
+ let u = p[i], _ = d[i];
33
+ if (o(u) && (u = { ...u }), o(_) && (_ = { ..._ }), n(u) && (u = a(u)), Array.isArray(u)) if (Array.isArray(_)) {
34
34
  let e = [], t = Reflect.ownKeys(_);
35
35
  for (let n = 0; n < t.length; n++) {
36
36
  let r = t[n];
37
37
  e[r] = _[r];
38
38
  }
39
39
  _ = e;
40
- } else if (s(_)) {
40
+ } else if (c(_)) {
41
41
  let e = [];
42
42
  for (let t = 0; t < _.length; t++) e[t] = _[t];
43
43
  _ = e;
44
44
  } else _ = [];
45
- let v = m(_, u, n, d, p, h);
46
- v === void 0 ? Array.isArray(u) || o(_) && o(u) && (l(_) || l(u) || c(_) || c(u)) ? d[n] = f(_, u, m, h) : _ == null && l(u) ? d[n] = f({}, u, m, h) : _ == null && c(u) ? d[n] = i(u) : (_ === void 0 || u !== void 0) && (d[n] = u) : d[n] = v;
45
+ let v = m(_, u, i, d, p, h);
46
+ v === void 0 ? Array.isArray(u) || s(_) && s(u) && (e(_) || e(u) || l(_) || l(u)) ? d[i] = f(_, u, m, h) : _ == null && e(u) ? d[i] = f({}, u, m, h) : _ == null && l(u) ? d[i] = a(u) : (_ === void 0 || u !== void 0) && (d[i] = u) : d[i] = v;
47
47
  }
48
48
  return d;
49
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mergeWith.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/mergeWith.mjs"],"sourcesContent":["import { cloneDeep } from './cloneDeep.mjs';\nimport { isUnsafeProperty } from '../../_internal/isUnsafeProperty.mjs';\nimport { clone } from '../../object/clone.mjs';\nimport { isBuffer } from '../../predicate/isBuffer.mjs';\nimport { isPrimitive } from '../../predicate/isPrimitive.mjs';\nimport { getSymbols } from '../_internal/getSymbols.mjs';\nimport { isArguments } from '../predicate/isArguments.mjs';\nimport { isArrayLikeObject } from '../predicate/isArrayLikeObject.mjs';\nimport { isObjectLike } from '../predicate/isObjectLike.mjs';\nimport { isPlainObject } from '../predicate/isPlainObject.mjs';\nimport { isTypedArray } from '../predicate/isTypedArray.mjs';\n\nfunction mergeWith(object, ...otherArgs) {\n const sources = otherArgs.slice(0, -1);\n const merge = otherArgs[otherArgs.length - 1];\n let result = object;\n for (let i = 0; i < sources.length; i++) {\n const source = sources[i];\n result = mergeWithDeep(result, source, merge, new Map());\n }\n return result;\n}\nfunction mergeWithDeep(target, source, merge, stack) {\n if (isPrimitive(target)) {\n target = Object(target);\n }\n if (source == null || typeof source !== 'object') {\n return target;\n }\n if (stack.has(source)) {\n return clone(stack.get(source));\n }\n stack.set(source, target);\n if (Array.isArray(source)) {\n source = source.slice();\n for (let i = 0; i < source.length; i++) {\n source[i] = source[i] ?? undefined;\n }\n }\n const sourceKeys = [...Object.keys(source), ...getSymbols(source)];\n for (let i = 0; i < sourceKeys.length; i++) {\n const key = sourceKeys[i];\n if (isUnsafeProperty(key)) {\n continue;\n }\n let sourceValue = source[key];\n let targetValue = target[key];\n if (isArguments(sourceValue)) {\n sourceValue = { ...sourceValue };\n }\n if (isArguments(targetValue)) {\n targetValue = { ...targetValue };\n }\n if (isBuffer(sourceValue)) {\n sourceValue = cloneDeep(sourceValue);\n }\n if (Array.isArray(sourceValue)) {\n if (Array.isArray(targetValue)) {\n const cloned = [];\n const targetKeys = Reflect.ownKeys(targetValue);\n for (let i = 0; i < targetKeys.length; i++) {\n const targetKey = targetKeys[i];\n cloned[targetKey] = targetValue[targetKey];\n }\n targetValue = cloned;\n }\n else if (isArrayLikeObject(targetValue)) {\n const cloned = [];\n for (let i = 0; i < targetValue.length; i++) {\n cloned[i] = targetValue[i];\n }\n targetValue = cloned;\n }\n else {\n targetValue = [];\n }\n }\n const merged = merge(targetValue, sourceValue, key, target, source, stack);\n if (merged !== undefined) {\n target[key] = merged;\n }\n else if (Array.isArray(sourceValue)) {\n target[key] = mergeWithDeep(targetValue, sourceValue, merge, stack);\n }\n else if (isObjectLike(targetValue) &&\n isObjectLike(sourceValue) &&\n (isPlainObject(targetValue) ||\n isPlainObject(sourceValue) ||\n isTypedArray(targetValue) ||\n isTypedArray(sourceValue))) {\n target[key] = mergeWithDeep(targetValue, sourceValue, merge, stack);\n }\n else if (targetValue == null && isPlainObject(sourceValue)) {\n target[key] = mergeWithDeep({}, sourceValue, merge, stack);\n }\n else if (targetValue == null && isTypedArray(sourceValue)) {\n target[key] = cloneDeep(sourceValue);\n }\n else if (targetValue === undefined || sourceValue !== undefined) {\n target[key] = sourceValue;\n }\n }\n return target;\n}\n\nexport { mergeWith };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAYA,SAAS,EAAU,GAAQ,GAAG,GAAW;CACrC,IAAM,IAAU,EAAU,MAAM,GAAG,EAAE,GAC/B,IAAQ,EAAU,EAAU,SAAS,IACvC,IAAS;CACb,KAAK,IAAI,IAAI,GAAG,IAAI,EAAQ,QAAQ,KAAK;EACrC,IAAM,IAAS,EAAQ;EACvB,IAAS,EAAc,GAAQ,GAAQ,mBAAO,IAAI,IAAI,CAAC;CAC3D;CACA,OAAO;AACX;AACA,SAAS,EAAc,GAAQ,GAAQ,GAAO,GAAO;CAIjD,IAHI,EAAY,CAAM,MAClB,IAAS,OAAO,CAAM,IAEJ,OAAO,KAAW,aAApC,GACA,OAAO;CAEX,IAAI,EAAM,IAAI,CAAM,GAChB,OAAO,EAAM,EAAM,IAAI,CAAM,CAAC;CAGlC,IADA,EAAM,IAAI,GAAQ,CAAM,GACpB,MAAM,QAAQ,CAAM,GAAG;EACvB,IAAS,EAAO,MAAM;EACtB,KAAK,IAAI,IAAI,GAAG,IAAI,EAAO,QAAQ,KAC/B,EAAO,KAAK,EAAO,MAAM,KAAA;CAEjC;CACA,IAAM,IAAa,CAAC,GAAG,OAAO,KAAK,CAAM,GAAG,GAAG,EAAW,CAAM,CAAC;CACjE,KAAK,IAAI,IAAI,GAAG,IAAI,EAAW,QAAQ,KAAK;EACxC,IAAM,IAAM,EAAW;EACvB,IAAI,EAAiB,CAAG,GACpB;EAEJ,IAAI,IAAc,EAAO,IACrB,IAAc,EAAO;EAUzB,IATI,EAAY,CAAW,MACvB,IAAc,EAAE,GAAG,EAAY,IAE/B,EAAY,CAAW,MACvB,IAAc,EAAE,GAAG,EAAY,IAE/B,EAAS,CAAW,MACpB,IAAc,EAAU,CAAW,IAEnC,MAAM,QAAQ,CAAW,GACzB,IAAI,MAAM,QAAQ,CAAW,GAAG;GAC5B,IAAM,IAAS,CAAC,GACV,IAAa,QAAQ,QAAQ,CAAW;GAC9C,KAAK,IAAI,IAAI,GAAG,IAAI,EAAW,QAAQ,KAAK;IACxC,IAAM,IAAY,EAAW;IAC7B,EAAO,KAAa,EAAY;GACpC;GACA,IAAc;EAClB,OACK,IAAI,EAAkB,CAAW,GAAG;GACrC,IAAM,IAAS,CAAC;GAChB,KAAK,IAAI,IAAI,GAAG,IAAI,EAAY,QAAQ,KACpC,EAAO,KAAK,EAAY;GAE5B,IAAc;EAClB,OAEI,IAAc,CAAC;EAGvB,IAAM,IAAS,EAAM,GAAa,GAAa,GAAK,GAAQ,GAAQ,CAAK;EACzE,AAAI,MAAW,KAAA,IAGN,MAAM,QAAQ,CAAW,KAGzB,EAAa,CAAW,KAC7B,EAAa,CAAW,MACvB,EAAc,CAAW,KACtB,EAAc,CAAW,KACzB,EAAa,CAAW,KACxB,EAAa,CAAW,KAP5B,EAAO,KAAO,EAAc,GAAa,GAAa,GAAO,CAAK,IAU7D,KAAe,QAAQ,EAAc,CAAW,IACrD,EAAO,KAAO,EAAc,CAAC,GAAG,GAAa,GAAO,CAAK,IAEpD,KAAe,QAAQ,EAAa,CAAW,IACpD,EAAO,KAAO,EAAU,CAAW,KAE9B,MAAgB,KAAA,KAAa,MAAgB,KAAA,OAClD,EAAO,KAAO,KApBd,EAAO,KAAO;CAsBtB;CACA,OAAO;AACX"}
1
+ {"version":3,"file":"mergeWith.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/object/mergeWith.mjs"],"sourcesContent":["import { isPrimitive } from \"../../predicate/isPrimitive.mjs\";\nimport { clone } from \"../../object/clone.mjs\";\nimport { getSymbols } from \"../_internal/getSymbols.mjs\";\nimport { isBuffer } from \"../../predicate/isBuffer.mjs\";\nimport { isUnsafeProperty } from \"../../_internal/isUnsafeProperty.mjs\";\nimport { isPlainObject } from \"../predicate/isPlainObject.mjs\";\nimport { cloneDeep } from \"./cloneDeep.mjs\";\nimport { isArguments } from \"../predicate/isArguments.mjs\";\nimport { isObjectLike } from \"../predicate/isObjectLike.mjs\";\nimport { isArrayLikeObject } from \"../predicate/isArrayLikeObject.mjs\";\nimport { isTypedArray } from \"../predicate/isTypedArray.mjs\";\n//#region src/compat/object/mergeWith.ts\n/**\n* Merges the properties of one or more source objects into the target object using a customizer function.\n*\n* This function performs a deep merge, recursively merging nested objects and arrays.\n* If a property in the source object is an array or object and the corresponding property in the target object is also an array or object, they will be merged.\n* If a property in the source object is `undefined`, it will not overwrite a defined property in the target object.\n*\n* You can provide a custom `merge` function to control how properties are merged. The `merge` function is called for each property that is being merged and receives the following arguments:\n*\n* - `targetValue`: The current value of the property in the target object.\n* - `sourceValue`: The value of the property in the source object.\n* - `key`: The key of the property being merged.\n* - `target`: The target object.\n* - `source`: The source object.\n* - `stack`: A `Map` used to keep track of objects that have already been processed to handle circular references.\n*\n* The `merge` function should return the value to be set in the target object. If it returns `undefined`, a default deep merge will be applied for arrays and objects.\n*\n* The function can handle multiple source objects and will merge them all into the target object.\n*\n* @param {any} object - The target object into which the source object properties will be merged. This object is modified in place.\n* @param {...any} otherArgs - Additional source objects to merge into the target object, including the custom `merge` function.\n* @returns {any} The updated target object with properties from the source object(s) merged in.\n*\n* @example\n* const target = { a: 1, b: 2 };\n* const source = { b: 3, c: 4 };\n*\n* mergeWith(target, source, (targetValue, sourceValue) => {\n* if (typeof targetValue === 'number' && typeof sourceValue === 'number') {\n* return targetValue + sourceValue;\n* }\n* });\n* // Returns { a: 1, b: 5, c: 4 }\n* @example\n* const target = { a: [1], b: [2] };\n* const source = { a: [3], b: [4] };\n*\n* const result = mergeWith(target, source, (objValue, srcValue) => {\n* if (Array.isArray(objValue)) {\n* return objValue.concat(srcValue);\n* }\n* });\n*\n* expect(result).toEqual({ a: [1, 3], b: [2, 4] });\n*/\nfunction mergeWith(object, ...otherArgs) {\n\tconst sources = otherArgs.slice(0, -1);\n\tconst merge = otherArgs[otherArgs.length - 1];\n\tlet result = object;\n\tfor (let i = 0; i < sources.length; i++) {\n\t\tconst source = sources[i];\n\t\tresult = mergeWithDeep(result, source, merge, /* @__PURE__ */ new Map());\n\t}\n\treturn result;\n}\nfunction mergeWithDeep(target, source, merge, stack) {\n\tif (isPrimitive(target)) target = Object(target);\n\tif (source == null || typeof source !== \"object\") return target;\n\tif (stack.has(source)) return clone(stack.get(source));\n\tstack.set(source, target);\n\tif (Array.isArray(source)) {\n\t\tsource = source.slice();\n\t\tfor (let i = 0; i < source.length; i++) source[i] = source[i] ?? void 0;\n\t}\n\tconst sourceKeys = [...Object.keys(source), ...getSymbols(source)];\n\tfor (let i = 0; i < sourceKeys.length; i++) {\n\t\tconst key = sourceKeys[i];\n\t\tif (isUnsafeProperty(key)) continue;\n\t\tlet sourceValue = source[key];\n\t\tlet targetValue = target[key];\n\t\tif (isArguments(sourceValue)) sourceValue = { ...sourceValue };\n\t\tif (isArguments(targetValue)) targetValue = { ...targetValue };\n\t\tif (isBuffer(sourceValue)) sourceValue = cloneDeep(sourceValue);\n\t\tif (Array.isArray(sourceValue)) if (Array.isArray(targetValue)) {\n\t\t\tconst cloned = [];\n\t\t\tconst targetKeys = Reflect.ownKeys(targetValue);\n\t\t\tfor (let i = 0; i < targetKeys.length; i++) {\n\t\t\t\tconst targetKey = targetKeys[i];\n\t\t\t\tcloned[targetKey] = targetValue[targetKey];\n\t\t\t}\n\t\t\ttargetValue = cloned;\n\t\t} else if (isArrayLikeObject(targetValue)) {\n\t\t\tconst cloned = [];\n\t\t\tfor (let i = 0; i < targetValue.length; i++) cloned[i] = targetValue[i];\n\t\t\ttargetValue = cloned;\n\t\t} else targetValue = [];\n\t\tconst merged = merge(targetValue, sourceValue, key, target, source, stack);\n\t\tif (merged !== void 0) target[key] = merged;\n\t\telse if (Array.isArray(sourceValue)) target[key] = mergeWithDeep(targetValue, sourceValue, merge, stack);\n\t\telse if (isObjectLike(targetValue) && isObjectLike(sourceValue) && (isPlainObject(targetValue) || isPlainObject(sourceValue) || isTypedArray(targetValue) || isTypedArray(sourceValue))) target[key] = mergeWithDeep(targetValue, sourceValue, merge, stack);\n\t\telse if (targetValue == null && isPlainObject(sourceValue)) target[key] = mergeWithDeep({}, sourceValue, merge, stack);\n\t\telse if (targetValue == null && isTypedArray(sourceValue)) target[key] = cloneDeep(sourceValue);\n\t\telse if (targetValue === void 0 || sourceValue !== void 0) target[key] = sourceValue;\n\t}\n\treturn target;\n}\n//#endregion\nexport { mergeWith };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AA0DA,SAAS,EAAU,GAAQ,GAAG,GAAW;CACxC,IAAM,IAAU,EAAU,MAAM,GAAG,EAAE,GAC/B,IAAQ,EAAU,EAAU,SAAS,IACvC,IAAS;CACb,KAAK,IAAI,IAAI,GAAG,IAAI,EAAQ,QAAQ,KAAK;EACxC,IAAM,IAAS,EAAQ;EACvB,IAAS,EAAc,GAAQ,GAAQ,mBAAuB,IAAI,IAAI,CAAC;CACxE;CACA,OAAO;AACR;AACA,SAAS,EAAc,GAAQ,GAAQ,GAAO,GAAO;CAEpD,IADI,EAAY,CAAM,MAAG,IAAS,OAAO,CAAM,IACzB,OAAO,KAAW,aAApC,GAA8C,OAAO;CACzD,IAAI,EAAM,IAAI,CAAM,GAAG,OAAO,EAAM,EAAM,IAAI,CAAM,CAAC;CAErD,IADA,EAAM,IAAI,GAAQ,CAAM,GACpB,MAAM,QAAQ,CAAM,GAAG;EAC1B,IAAS,EAAO,MAAM;EACtB,KAAK,IAAI,IAAI,GAAG,IAAI,EAAO,QAAQ,KAAK,EAAO,KAAK,EAAO,MAAM,KAAK;CACvE;CACA,IAAM,IAAa,CAAC,GAAG,OAAO,KAAK,CAAM,GAAG,GAAG,EAAW,CAAM,CAAC;CACjE,KAAK,IAAI,IAAI,GAAG,IAAI,EAAW,QAAQ,KAAK;EAC3C,IAAM,IAAM,EAAW;EACvB,IAAI,EAAiB,CAAG,GAAG;EAC3B,IAAI,IAAc,EAAO,IACrB,IAAc,EAAO;EAIzB,IAHI,EAAY,CAAW,MAAG,IAAc,EAAE,GAAG,EAAY,IACzD,EAAY,CAAW,MAAG,IAAc,EAAE,GAAG,EAAY,IACzD,EAAS,CAAW,MAAG,IAAc,EAAU,CAAW,IAC1D,MAAM,QAAQ,CAAW,GAAG,IAAI,MAAM,QAAQ,CAAW,GAAG;GAC/D,IAAM,IAAS,CAAC,GACV,IAAa,QAAQ,QAAQ,CAAW;GAC9C,KAAK,IAAI,IAAI,GAAG,IAAI,EAAW,QAAQ,KAAK;IAC3C,IAAM,IAAY,EAAW;IAC7B,EAAO,KAAa,EAAY;GACjC;GACA,IAAc;EACf,OAAO,IAAI,EAAkB,CAAW,GAAG;GAC1C,IAAM,IAAS,CAAC;GAChB,KAAK,IAAI,IAAI,GAAG,IAAI,EAAY,QAAQ,KAAK,EAAO,KAAK,EAAY;GACrE,IAAc;EACf,OAAO,IAAc,CAAC;EACtB,IAAM,IAAS,EAAM,GAAa,GAAa,GAAK,GAAQ,GAAQ,CAAK;EACzE,AAAI,MAAW,KAAK,IACX,MAAM,QAAQ,CAAW,KACzB,EAAa,CAAW,KAAK,EAAa,CAAW,MAAM,EAAc,CAAW,KAAK,EAAc,CAAW,KAAK,EAAa,CAAW,KAAK,EAAa,CAAW,KADhJ,EAAO,KAAO,EAAc,GAAa,GAAa,GAAO,CAAK,IAE9F,KAAe,QAAQ,EAAc,CAAW,IAAG,EAAO,KAAO,EAAc,CAAC,GAAG,GAAa,GAAO,CAAK,IAC5G,KAAe,QAAQ,EAAa,CAAW,IAAG,EAAO,KAAO,EAAU,CAAW,KACrF,MAAgB,KAAK,KAAK,MAAgB,KAAK,OAAG,EAAO,KAAO,KALlD,EAAO,KAAO;CAMtC;CACA,OAAO;AACR"}
@@ -1 +1 @@
1
- {"version":3,"file":"isArguments.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs"],"sourcesContent":["import { getTag } from '../_internal/getTag.mjs';\n\nfunction isArguments(value) {\n return value !== null && typeof value === 'object' && getTag(value) === '[object Arguments]';\n}\n\nexport { isArguments };\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAY,GAAO;CACxB,OAAyB,OAAO,KAAU,cAAnC,KAA+C,EAAO,CAAK,MAAM;AAC5E"}
1
+ {"version":3,"file":"isArguments.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs"],"sourcesContent":["import { getTag } from \"../_internal/getTag.mjs\";\n//#region src/compat/predicate/isArguments.ts\n/**\n* Checks if the given value is an arguments object.\n*\n* This function tests whether the provided value is an arguments object or not.\n* It returns `true` if the value is an arguments object, and `false` otherwise.\n*\n* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an arguments object.\n*\n* @param {any} value - The value to test if it is an arguments object.\n* @returns {value is IArguments} `true` if the value is an arguments, `false` otherwise.\n*\n* @example\n* const args = (function() { return arguments; })();\n* const strictArgs = (function() { 'use strict'; return arguments; })();\n* const value = [1, 2, 3];\n*\n* console.log(isArguments(args)); // true\n* console.log(isArguments(strictArgs)); // true\n* console.log(isArguments(value)); // false\n*/\nfunction isArguments(value) {\n\treturn value !== null && typeof value === \"object\" && getTag(value) === \"[object Arguments]\";\n}\n//#endregion\nexport { isArguments };\n"],"x_google_ignoreList":[0],"mappings":";;AAsBA,SAAS,EAAY,GAAO;CAC3B,OAAyB,OAAO,KAAU,cAAnC,KAA+C,EAAO,CAAK,MAAM;AACzE"}
@@ -1 +1 @@
1
- {"version":3,"file":"isArray.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs"],"sourcesContent":["function isArray(value) {\n return Array.isArray(value);\n}\n\nexport { isArray };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAQ,GAAO;CACpB,OAAO,MAAM,QAAQ,CAAK;AAC9B"}
1
+ {"version":3,"file":"isArray.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs"],"sourcesContent":["//#region src/compat/predicate/isArray.ts\n/**\n* Checks if the given value is an array.\n*\n* This function tests whether the provided value is an array or not.\n* It returns `true` if the value is an array, and `false` otherwise.\n*\n* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an array.\n*\n* @param {any} value - The value to test if it is an array.\n* @returns {value is any[]} `true` if the value is an array, `false` otherwise.\n*\n* @example\n* const value1 = [1, 2, 3];\n* const value2 = 'abc';\n* const value3 = () => {};\n*\n* console.log(isArray(value1)); // true\n* console.log(isArray(value2)); // false\n* console.log(isArray(value3)); // false\n*/\nfunction isArray(value) {\n\treturn Array.isArray(value);\n}\n//#endregion\nexport { isArray };\n"],"x_google_ignoreList":[0],"mappings":";AAqBA,SAAS,EAAQ,GAAO;CACvB,OAAO,MAAM,QAAQ,CAAK;AAC3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"isArrayLike.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs"],"sourcesContent":["import { isLength } from '../../predicate/isLength.mjs';\n\nfunction isArrayLike(value) {\n return value != null && typeof value !== 'function' && isLength(value.length);\n}\n\nexport { isArrayLike };\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAY,GAAO;CACxB,OAAO,KAAS,QAAQ,OAAO,KAAU,cAAc,EAAS,EAAM,MAAM;AAChF"}
1
+ {"version":3,"file":"isArrayLike.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs"],"sourcesContent":["import { isLength } from \"../../predicate/isLength.mjs\";\n//#region src/compat/predicate/isArrayLike.ts\n/**\n* Checks if `value` is array-like.\n*\n* @param {any} value The value to check.\n* @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n*\n* @example\n* isArrayLike([1, 2, 3]); // true\n* isArrayLike('abc'); // true\n* isArrayLike({ 0: 'a', length: 1 }); // true\n* isArrayLike({}); // false\n* isArrayLike(null); // false\n* isArrayLike(undefined); // false\n*/\nfunction isArrayLike(value) {\n\treturn value != null && typeof value !== \"function\" && isLength(value.length);\n}\n//#endregion\nexport { isArrayLike };\n"],"x_google_ignoreList":[0],"mappings":";;AAgBA,SAAS,EAAY,GAAO;CAC3B,OAAO,KAAS,QAAQ,OAAO,KAAU,cAAc,EAAS,EAAM,MAAM;AAC7E"}
@@ -1 +1 @@
1
- {"version":3,"file":"isArrayLikeObject.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs"],"sourcesContent":["import { isArrayLike } from './isArrayLike.mjs';\nimport { isObjectLike } from './isObjectLike.mjs';\n\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nexport { isArrayLikeObject };\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAkB,GAAO;CAC9B,OAAO,EAAa,CAAK,KAAK,EAAY,CAAK;AACnD"}
1
+ {"version":3,"file":"isArrayLikeObject.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs"],"sourcesContent":["import { isArrayLike } from \"./isArrayLike.mjs\";\nimport { isObjectLike } from \"./isObjectLike.mjs\";\n//#region src/compat/predicate/isArrayLikeObject.ts\n/**\n* Checks if the given value is a non-primitive, array-like object.\n*\n* @param {any} value The value to check.\n* @returns {boolean} `true` if the value is a non-primitive, array-like object, `false` otherwise.\n*\n* @example\n* isArrayLikeObject([1, 2, 3]); // true\n* isArrayLikeObject({ 0: 'a', length: 1 }); // true\n* isArrayLikeObject('abc'); // false\n* isArrayLikeObject(()=>{}); // false\n*/\nfunction isArrayLikeObject(value) {\n\treturn isObjectLike(value) && isArrayLike(value);\n}\n//#endregion\nexport { isArrayLikeObject };\n"],"x_google_ignoreList":[0],"mappings":";;;AAeA,SAAS,EAAkB,GAAO;CACjC,OAAO,EAAa,CAAK,KAAK,EAAY,CAAK;AAChD"}
@@ -1,16 +1,16 @@
1
- import { isArrayLike as e } from "./isArrayLike.js";
2
- import { isBuffer as t } from "../../predicate/isBuffer.js";
1
+ import { isBuffer as e } from "../../predicate/isBuffer.js";
2
+ import { isArrayLike as t } from "./isArrayLike.js";
3
3
  import { isArguments as n } from "./isArguments.js";
4
- import { isPrototype as r } from "../_internal/isPrototype.js";
5
- import { isTypedArray as i } from "./isTypedArray.js";
4
+ import { isTypedArray as r } from "./isTypedArray.js";
5
+ import { isPrototype as i } from "../_internal/isPrototype.js";
6
6
  //#region ../../node_modules/es-toolkit/dist/compat/predicate/isEmpty.mjs
7
7
  function a(a) {
8
8
  if (a == null) return !0;
9
- if (e(a)) return typeof a.splice != "function" && typeof a != "string" && !t(a) && !i(a) && !n(a) ? !1 : a.length === 0;
9
+ if (t(a)) return typeof a.splice != "function" && typeof a != "string" && !e(a) && !r(a) && !n(a) ? !1 : a.length === 0;
10
10
  if (typeof a == "object") {
11
11
  if (a instanceof Map || a instanceof Set) return a.size === 0;
12
12
  let e = Object.keys(a);
13
- return r(a) ? e.filter((e) => e !== "constructor").length === 0 : e.length === 0;
13
+ return i(a) ? e.filter((e) => e !== "constructor").length === 0 : e.length === 0;
14
14
  }
15
15
  return !0;
16
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"isEmpty.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isEmpty.mjs"],"sourcesContent":["import { isArguments } from './isArguments.mjs';\nimport { isArrayLike } from './isArrayLike.mjs';\nimport { isTypedArray } from './isTypedArray.mjs';\nimport { isBuffer } from '../../predicate/isBuffer.mjs';\nimport { isPrototype } from '../_internal/isPrototype.mjs';\n\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value)) {\n if (typeof value.splice !== 'function' &&\n typeof value !== 'string' &&\n !isBuffer(value) &&\n !isTypedArray(value) &&\n !isArguments(value)) {\n return false;\n }\n return value.length === 0;\n }\n if (typeof value === 'object') {\n if (value instanceof Map || value instanceof Set) {\n return value.size === 0;\n }\n const keys = Object.keys(value);\n if (isPrototype(value)) {\n return keys.filter(x => x !== 'constructor').length === 0;\n }\n return keys.length === 0;\n }\n return true;\n}\n\nexport { isEmpty };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAMA,SAAS,EAAQ,GAAO;CACpB,IAAI,KAAS,MACT,OAAO;CAEX,IAAI,EAAY,CAAK,GAQjB,OAPI,OAAO,EAAM,UAAW,cACxB,OAAO,KAAU,YACjB,CAAC,EAAS,CAAK,KACf,CAAC,EAAa,CAAK,KACnB,CAAC,EAAY,CAAK,IACX,KAEJ,EAAM,WAAW;CAE5B,IAAI,OAAO,KAAU,UAAU;EAC3B,IAAI,aAAiB,OAAO,aAAiB,KACzC,OAAO,EAAM,SAAS;EAE1B,IAAM,IAAO,OAAO,KAAK,CAAK;EAI9B,OAHI,EAAY,CAAK,IACV,EAAK,QAAO,MAAK,MAAM,aAAa,EAAE,WAAW,IAErD,EAAK,WAAW;CAC3B;CACA,OAAO;AACX"}
1
+ {"version":3,"file":"isEmpty.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isEmpty.mjs"],"sourcesContent":["import { isBuffer } from \"../../predicate/isBuffer.mjs\";\nimport { isArrayLike } from \"./isArrayLike.mjs\";\nimport { isArguments } from \"./isArguments.mjs\";\nimport { isPrototype } from \"../_internal/isPrototype.mjs\";\nimport { isTypedArray } from \"./isTypedArray.mjs\";\n//#region src/compat/predicate/isEmpty.ts\n/**\n* Checks if a given value is empty.\n*\n* - If the given value is a string, checks if it is an empty string.\n* - If the given value is an array, `Map`, or `Set`, checks if its size is 0.\n* - If the given value is an [array-like object](../predicate/isArrayLike.md), checks if its length is 0.\n* - If the given value is an object, checks if it is an empty object with no properties.\n* - Primitive values (booleans, numbers, or bigints) are considered empty.\n*\n* @param {unknown} [value] - The value to check.\n* @returns {boolean} `true` if the value is empty, `false` otherwise.\n*\n* @example\n* isEmpty(); // true\n* isEmpty(null); // true\n* isEmpty(\"\"); // true\n* isEmpty([]); // true\n* isEmpty({}); // true\n* isEmpty(new Map()); // true\n* isEmpty(new Set()); // true\n* isEmpty(\"hello\"); // false\n* isEmpty([1, 2, 3]); // false\n* isEmpty({ a: 1 }); // false\n* isEmpty(new Map([[\"key\", \"value\"]])); // false\n* isEmpty(new Set([1, 2, 3])); // false\n*/\nfunction isEmpty(value) {\n\tif (value == null) return true;\n\tif (isArrayLike(value)) {\n\t\tif (typeof value.splice !== \"function\" && typeof value !== \"string\" && !isBuffer(value) && !isTypedArray(value) && !isArguments(value)) return false;\n\t\treturn value.length === 0;\n\t}\n\tif (typeof value === \"object\") {\n\t\tif (value instanceof Map || value instanceof Set) return value.size === 0;\n\t\tconst keys = Object.keys(value);\n\t\tif (isPrototype(value)) return keys.filter((x) => x !== \"constructor\").length === 0;\n\t\treturn keys.length === 0;\n\t}\n\treturn true;\n}\n//#endregion\nexport { isEmpty };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAgCA,SAAS,EAAQ,GAAO;CACvB,IAAI,KAAS,MAAM,OAAO;CAC1B,IAAI,EAAY,CAAK,GAEpB,OADI,OAAO,EAAM,UAAW,cAAc,OAAO,KAAU,YAAY,CAAC,EAAS,CAAK,KAAK,CAAC,EAAa,CAAK,KAAK,CAAC,EAAY,CAAK,IAAU,KACxI,EAAM,WAAW;CAEzB,IAAI,OAAO,KAAU,UAAU;EAC9B,IAAI,aAAiB,OAAO,aAAiB,KAAK,OAAO,EAAM,SAAS;EACxE,IAAM,IAAO,OAAO,KAAK,CAAK;EAE9B,OADI,EAAY,CAAK,IAAU,EAAK,QAAQ,MAAM,MAAM,aAAa,EAAE,WAAW,IAC3E,EAAK,WAAW;CACxB;CACA,OAAO;AACR"}
@@ -1 +1 @@
1
- {"version":3,"file":"isObjectLike.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs"],"sourcesContent":["function isObjectLike(value) {\n return typeof value === 'object' && value !== null;\n}\n\nexport { isObjectLike };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAa,GAAO;CACzB,OAAO,OAAO,KAAU,cAAY;AACxC"}
1
+ {"version":3,"file":"isObjectLike.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs"],"sourcesContent":["//#region src/compat/predicate/isObjectLike.ts\n/**\n* Checks if the given value is object-like.\n*\n* A value is object-like if its type is object and it is not null.\n*\n* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an object-like value.\n*\n* @param {any} value - The value to test if it is an object-like.\n* @returns {boolean} `true` if the value is an object-like, `false` otherwise.\n*\n* @example\n* const value1 = { a: 1 };\n* const value2 = [1, 2, 3];\n* const value3 = 'abc';\n* const value4 = () => {};\n* const value5 = null;\n*\n* console.log(isObjectLike(value1)); // true\n* console.log(isObjectLike(value2)); // true\n* console.log(isObjectLike(value3)); // false\n* console.log(isObjectLike(value4)); // false\n* console.log(isObjectLike(value5)); // false\n*/\nfunction isObjectLike(value) {\n\treturn typeof value === \"object\" && value !== null;\n}\n//#endregion\nexport { isObjectLike };\n"],"x_google_ignoreList":[0],"mappings":";AAwBA,SAAS,EAAa,GAAO;CAC5B,OAAO,OAAO,KAAU,cAAY;AACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"isPlainObject.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs"],"sourcesContent":["function isPlainObject(object) {\n if (typeof object !== 'object') {\n return false;\n }\n if (object == null) {\n return false;\n }\n if (Object.getPrototypeOf(object) === null) {\n return true;\n }\n if (Object.prototype.toString.call(object) !== '[object Object]') {\n const tag = object[Symbol.toStringTag];\n if (tag == null) {\n return false;\n }\n const isTagReadonly = !Object.getOwnPropertyDescriptor(object, Symbol.toStringTag)?.writable;\n if (isTagReadonly) {\n return false;\n }\n return object.toString() === `[object ${tag}]`;\n }\n let proto = object;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(object) === proto;\n}\n\nexport { isPlainObject };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAc,GAAQ;CAI3B,IAHI,OAAO,KAAW,aAGlB,GACA,OAAO;CAEX,IAAI,OAAO,eAAe,CAAM,MAAM,MAClC,OAAO;CAEX,IAAI,OAAO,UAAU,SAAS,KAAK,CAAM,MAAM,mBAAmB;EAC9D,IAAM,IAAM,EAAO,OAAO;EAQ1B,OAPI,KAAO,QAIP,CADmB,OAAO,yBAAyB,GAAQ,OAAO,WAAW,GAAG,WAEzE,KAEJ,EAAO,SAAS,MAAM,WAAW,EAAI;CAChD;CACA,IAAI,IAAQ;CACZ,OAAO,OAAO,eAAe,CAAK,MAAM,OACpC,IAAQ,OAAO,eAAe,CAAK;CAEvC,OAAO,OAAO,eAAe,CAAM,MAAM;AAC7C"}
1
+ {"version":3,"file":"isPlainObject.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs"],"sourcesContent":["//#region src/compat/predicate/isPlainObject.ts\n/**\n* Checks if a given value is a plain object.\n*\n* A plain object is an object created by the `{}` literal, `new Object()`, or\n* `Object.create(null)`.\n*\n* This function also handles objects with custom\n* `Symbol.toStringTag` properties.\n*\n* `Symbol.toStringTag` is a built-in symbol that a constructor can use to customize the\n* default string description of objects.\n*\n* @param {any} [object] - The value to check.\n* @returns {boolean} - True if the value is a plain object, otherwise false.\n*\n* @example\n* console.log(isPlainObject({})); // true\n* console.log(isPlainObject([])); // false\n* console.log(isPlainObject(null)); // false\n* console.log(isPlainObject(Object.create(null))); // true\n* console.log(isPlainObject(new Map())); // false\n*/\nfunction isPlainObject(object) {\n\tif (typeof object !== \"object\") return false;\n\tif (object == null) return false;\n\tif (Object.getPrototypeOf(object) === null) return true;\n\tif (Object.prototype.toString.call(object) !== \"[object Object]\") {\n\t\tconst tag = object[Symbol.toStringTag];\n\t\tif (tag == null) return false;\n\t\tif (!Object.getOwnPropertyDescriptor(object, Symbol.toStringTag)?.writable) return false;\n\t\treturn object.toString() === `[object ${tag}]`;\n\t}\n\tlet proto = object;\n\twhile (Object.getPrototypeOf(proto) !== null) proto = Object.getPrototypeOf(proto);\n\treturn Object.getPrototypeOf(object) === proto;\n}\n//#endregion\nexport { isPlainObject };\n"],"x_google_ignoreList":[0],"mappings":";AAuBA,SAAS,EAAc,GAAQ;CAE9B,IADI,OAAO,KAAW,aAClB,GAAgB,OAAO;CAC3B,IAAI,OAAO,eAAe,CAAM,MAAM,MAAM,OAAO;CACnD,IAAI,OAAO,UAAU,SAAS,KAAK,CAAM,MAAM,mBAAmB;EACjE,IAAM,IAAM,EAAO,OAAO;EAG1B,OAFI,KAAO,QACP,CAAC,OAAO,yBAAyB,GAAQ,OAAO,WAAW,GAAG,WAAiB,KAC5E,EAAO,SAAS,MAAM,WAAW,EAAI;CAC7C;CACA,IAAI,IAAQ;CACZ,OAAO,OAAO,eAAe,CAAK,MAAM,OAAM,IAAQ,OAAO,eAAe,CAAK;CACjF,OAAO,OAAO,eAAe,CAAM,MAAM;AAC1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"isTypedArray.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs"],"sourcesContent":["import { isTypedArray as isTypedArray$1 } from '../../predicate/isTypedArray.mjs';\n\nfunction isTypedArray(x) {\n return isTypedArray$1(x);\n}\n\nexport { isTypedArray };\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAa,GAAG;CACrB,OAAO,EAAe,CAAC;AAC3B"}
1
+ {"version":3,"file":"isTypedArray.js","names":[],"sources":["../../../../../../../../../node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs"],"sourcesContent":["import { isTypedArray as isTypedArray$1 } from \"../../predicate/isTypedArray.mjs\";\n//#region src/compat/predicate/isTypedArray.ts\n/**\n* Checks if a value is a TypedArray.\n* @param {any} x The value to check.\n* @returns {boolean} Returns true if `x` is a TypedArray, false otherwise.\n*\n* @example\n* const arr = new Uint8Array([1, 2, 3]);\n* isTypedArray(arr); // true\n*\n* const regularArray = [1, 2, 3];\n* isTypedArray(regularArray); // false\n*\n* const buffer = new ArrayBuffer(16);\n* isTypedArray(buffer); // false\n*/\nfunction isTypedArray(x) {\n\treturn isTypedArray$1(x);\n}\n//#endregion\nexport { isTypedArray };\n"],"x_google_ignoreList":[0],"mappings":";;AAiBA,SAAS,EAAa,GAAG;CACxB,OAAO,EAAe,CAAC;AACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"noop.js","names":[],"sources":["../../../../../../../../node_modules/es-toolkit/dist/function/noop.mjs"],"sourcesContent":["function noop() { }\n\nexport { noop };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,IAAO,CAAE"}
1
+ {"version":3,"file":"noop.js","names":[],"sources":["../../../../../../../../node_modules/es-toolkit/dist/function/noop.mjs"],"sourcesContent":["//#region src/function/noop.ts\n/**\n* A no-operation function that does nothing.\n* This can be used as a placeholder or default function.\n*\n* @example\n* noop(); // Does nothing\n*\n* @returns {void} This function does not return anything.\n*/\nfunction noop() {}\n//#endregion\nexport { noop };\n"],"x_google_ignoreList":[0],"mappings":";AAUA,SAAS,IAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"clone.js","names":[],"sources":["../../../../../../../../node_modules/es-toolkit/dist/object/clone.mjs"],"sourcesContent":["import { isPrimitive } from '../predicate/isPrimitive.mjs';\nimport { isTypedArray } from '../predicate/isTypedArray.mjs';\n\nfunction clone(obj) {\n if (isPrimitive(obj)) {\n return obj;\n }\n if (Array.isArray(obj) ||\n isTypedArray(obj) ||\n obj instanceof ArrayBuffer ||\n (typeof SharedArrayBuffer !== 'undefined' && obj instanceof SharedArrayBuffer)) {\n return obj.slice(0);\n }\n const prototype = Object.getPrototypeOf(obj);\n if (prototype == null) {\n return Object.assign(Object.create(prototype), obj);\n }\n const Constructor = prototype.constructor;\n if (obj instanceof Date || obj instanceof Map || obj instanceof Set) {\n return new Constructor(obj);\n }\n if (obj instanceof RegExp) {\n const newRegExp = new Constructor(obj);\n newRegExp.lastIndex = obj.lastIndex;\n return newRegExp;\n }\n if (obj instanceof DataView) {\n return new Constructor(obj.buffer.slice(0));\n }\n if (obj instanceof Error) {\n let newError;\n if (obj instanceof AggregateError) {\n newError = new Constructor(obj.errors, obj.message, { cause: obj.cause });\n }\n else {\n newError = new Constructor(obj.message, { cause: obj.cause });\n }\n newError.stack = obj.stack;\n Object.assign(newError, obj);\n return newError;\n }\n if (typeof File !== 'undefined' && obj instanceof File) {\n const newFile = new Constructor([obj], obj.name, { type: obj.type, lastModified: obj.lastModified });\n return newFile;\n }\n if (typeof obj === 'object') {\n const newObject = Object.create(prototype);\n return Object.assign(newObject, obj);\n }\n return obj;\n}\n\nexport { clone };\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAM,GAAK;CAChB,IAAI,EAAY,CAAG,GACf,OAAO;CAEX,IAAI,MAAM,QAAQ,CAAG,KACjB,EAAa,CAAG,KAChB,aAAe,eACd,OAAO,oBAAsB,OAAe,aAAe,mBAC5D,OAAO,EAAI,MAAM,CAAC;CAEtB,IAAM,IAAY,OAAO,eAAe,CAAG;CAC3C,IAAI,KAAa,MACb,OAAO,OAAO,OAAO,OAAO,OAAO,CAAS,GAAG,CAAG;CAEtD,IAAM,IAAc,EAAU;CAC9B,IAAI,aAAe,QAAQ,aAAe,OAAO,aAAe,KAC5D,OAAO,IAAI,EAAY,CAAG;CAE9B,IAAI,aAAe,QAAQ;EACvB,IAAM,IAAY,IAAI,EAAY,CAAG;EAErC,OADA,EAAU,YAAY,EAAI,WACnB;CACX;CACA,IAAI,aAAe,UACf,OAAO,IAAI,EAAY,EAAI,OAAO,MAAM,CAAC,CAAC;CAE9C,IAAI,aAAe,OAAO;EACtB,IAAI;EASJ,OARA,AAII,IAJA,aAAe,iBACJ,IAAI,EAAY,EAAI,QAAQ,EAAI,SAAS,EAAE,OAAO,EAAI,MAAM,CAAC,IAG7D,IAAI,EAAY,EAAI,SAAS,EAAE,OAAO,EAAI,MAAM,CAAC,GAEhE,EAAS,QAAQ,EAAI,OACrB,OAAO,OAAO,GAAU,CAAG,GACpB;CACX;CASA,OARI,OAAO,OAAS,OAAe,aAAe,OAEvC,IADa,EAAY,CAAC,CAAG,GAAG,EAAI,MAAM;EAAE,MAAM,EAAI;EAAM,cAAc,EAAI;CAAa,CACrF,IAEb,OAAO,KAAQ,WAER,OAAO,OADI,OAAO,OAAO,CACH,GAAG,CAAG,IAEhC;AACX"}
1
+ {"version":3,"file":"clone.js","names":[],"sources":["../../../../../../../../node_modules/es-toolkit/dist/object/clone.mjs"],"sourcesContent":["import { isPrimitive } from \"../predicate/isPrimitive.mjs\";\nimport { isTypedArray } from \"../predicate/isTypedArray.mjs\";\n//#region src/object/clone.ts\n/**\n* Creates a shallow clone of the given object.\n*\n* @template T - The type of the object.\n* @param {T} obj - The object to clone.\n* @returns {T} - A shallow clone of the given object.\n*\n* @example\n* // Clone a primitive values\n* const num = 29;\n* const clonedNum = clone(num);\n* console.log(clonedNum); // 29\n* console.log(clonedNum === num); // true\n*\n* @example\n* // Clone an array\n* const arr = [1, 2, 3];\n* const clonedArr = clone(arr);\n* console.log(clonedArr); // [1, 2, 3]\n* console.log(clonedArr === arr); // false\n*\n* @example\n* // Clone an object\n* const obj = { a: 1, b: 'es-toolkit', c: [1, 2, 3] };\n* const clonedObj = clone(obj);\n* console.log(clonedObj); // { a: 1, b: 'es-toolkit', c: [1, 2, 3] }\n* console.log(clonedObj === obj); // false\n*/\nfunction clone(obj) {\n\tif (isPrimitive(obj)) return obj;\n\tif (Array.isArray(obj) || isTypedArray(obj) || obj instanceof ArrayBuffer || typeof SharedArrayBuffer !== \"undefined\" && obj instanceof SharedArrayBuffer) return obj.slice(0);\n\tconst prototype = Object.getPrototypeOf(obj);\n\tif (prototype == null) return Object.assign(Object.create(prototype), obj);\n\tconst Constructor = prototype.constructor;\n\tif (obj instanceof Date || obj instanceof Map || obj instanceof Set) return new Constructor(obj);\n\tif (obj instanceof RegExp) {\n\t\tconst newRegExp = new Constructor(obj);\n\t\tnewRegExp.lastIndex = obj.lastIndex;\n\t\treturn newRegExp;\n\t}\n\tif (obj instanceof DataView) return new Constructor(obj.buffer.slice(0));\n\tif (obj instanceof Error) {\n\t\tlet newError;\n\t\tif (obj instanceof AggregateError) newError = new Constructor(obj.errors, obj.message, { cause: obj.cause });\n\t\telse newError = new Constructor(obj.message, { cause: obj.cause });\n\t\tnewError.stack = obj.stack;\n\t\tObject.assign(newError, obj);\n\t\treturn newError;\n\t}\n\tif (typeof File !== \"undefined\" && obj instanceof File) return new Constructor([obj], obj.name, {\n\t\ttype: obj.type,\n\t\tlastModified: obj.lastModified\n\t});\n\tif (typeof obj === \"object\") return Object.assign(Object.create(prototype), obj);\n\treturn obj;\n}\n//#endregion\nexport { clone };\n"],"x_google_ignoreList":[0],"mappings":";;;AA+BA,SAAS,EAAM,GAAK;CACnB,IAAI,EAAY,CAAG,GAAG,OAAO;CAC7B,IAAI,MAAM,QAAQ,CAAG,KAAK,EAAa,CAAG,KAAK,aAAe,eAAe,OAAO,oBAAsB,OAAe,aAAe,mBAAmB,OAAO,EAAI,MAAM,CAAC;CAC7K,IAAM,IAAY,OAAO,eAAe,CAAG;CAC3C,IAAI,KAAa,MAAM,OAAO,OAAO,OAAO,OAAO,OAAO,CAAS,GAAG,CAAG;CACzE,IAAM,IAAc,EAAU;CAC9B,IAAI,aAAe,QAAQ,aAAe,OAAO,aAAe,KAAK,OAAO,IAAI,EAAY,CAAG;CAC/F,IAAI,aAAe,QAAQ;EAC1B,IAAM,IAAY,IAAI,EAAY,CAAG;EAErC,OADA,EAAU,YAAY,EAAI,WACnB;CACR;CACA,IAAI,aAAe,UAAU,OAAO,IAAI,EAAY,EAAI,OAAO,MAAM,CAAC,CAAC;CACvE,IAAI,aAAe,OAAO;EACzB,IAAI;EAKJ,OAJA,AACK,IADD,aAAe,iBAA2B,IAAI,EAAY,EAAI,QAAQ,EAAI,SAAS,EAAE,OAAO,EAAI,MAAM,CAAC,IAC3F,IAAI,EAAY,EAAI,SAAS,EAAE,OAAO,EAAI,MAAM,CAAC,GACjE,EAAS,QAAQ,EAAI,OACrB,OAAO,OAAO,GAAU,CAAG,GACpB;CACR;CAMA,OALI,OAAO,OAAS,OAAe,aAAe,OAAa,IAAI,EAAY,CAAC,CAAG,GAAG,EAAI,MAAM;EAC/F,MAAM,EAAI;EACV,cAAc,EAAI;CACnB,CAAC,IACG,OAAO,KAAQ,WAAiB,OAAO,OAAO,OAAO,OAAO,CAAS,GAAG,CAAG,IACxE;AACR"}