diginext-utils 3.13.14 → 4.0.0

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 (938) hide show
  1. package/README.md +144 -138
  2. package/dist/Checker.d.ts +9 -8
  3. package/dist/Checker.d.ts.map +1 -0
  4. package/dist/Checker.js +32 -31
  5. package/dist/Checker.js.map +1 -0
  6. package/dist/EventDispatcher.d.ts +14 -13
  7. package/dist/EventDispatcher.d.ts.map +1 -0
  8. package/dist/EventDispatcher.js +52 -51
  9. package/dist/EventDispatcher.js.map +1 -0
  10. package/dist/FileUpload.d.ts +13 -12
  11. package/dist/FileUpload.d.ts.map +1 -0
  12. package/dist/FileUpload.js +65 -64
  13. package/dist/FileUpload.js.map +1 -0
  14. package/dist/Slug.d.ts +10 -9
  15. package/dist/Slug.d.ts.map +1 -0
  16. package/dist/Slug.js +335 -334
  17. package/dist/Slug.js.map +1 -0
  18. package/dist/Timer.d.ts +5 -4
  19. package/dist/Timer.d.ts.map +1 -0
  20. package/dist/Timer.js +9 -8
  21. package/dist/Timer.js.map +1 -0
  22. package/dist/Validation.d.ts +6 -5
  23. package/dist/Validation.d.ts.map +1 -0
  24. package/dist/Validation.js +39 -38
  25. package/dist/Validation.js.map +1 -0
  26. package/dist/array/average.d.ts +18 -0
  27. package/dist/array/average.d.ts.map +1 -0
  28. package/dist/array/average.js +27 -0
  29. package/dist/array/average.js.map +1 -0
  30. package/dist/array/chunk.d.ts +17 -0
  31. package/dist/array/chunk.d.ts.map +1 -0
  32. package/dist/array/chunk.js +32 -0
  33. package/dist/array/chunk.js.map +1 -0
  34. package/dist/array/compact.d.ts +17 -0
  35. package/dist/array/compact.d.ts.map +1 -0
  36. package/dist/array/compact.js +25 -0
  37. package/dist/array/compact.js.map +1 -0
  38. package/dist/array/difference.d.ts +17 -0
  39. package/dist/array/difference.d.ts.map +1 -0
  40. package/dist/array/difference.js +29 -0
  41. package/dist/array/difference.js.map +1 -0
  42. package/dist/array/first.d.ts +16 -0
  43. package/dist/array/first.d.ts.map +1 -0
  44. package/dist/array/first.js +24 -0
  45. package/dist/array/first.js.map +1 -0
  46. package/dist/array/flatten.d.ts +17 -0
  47. package/dist/array/flatten.d.ts.map +1 -0
  48. package/dist/array/flatten.js +36 -0
  49. package/dist/array/flatten.js.map +1 -0
  50. package/dist/array/index.d.ts +27 -0
  51. package/dist/array/index.d.ts.map +1 -0
  52. package/dist/array/index.js +52 -0
  53. package/dist/array/index.js.map +1 -0
  54. package/dist/array/intersection.d.ts +18 -0
  55. package/dist/array/intersection.d.ts.map +1 -0
  56. package/dist/array/intersection.js +27 -0
  57. package/dist/array/intersection.js.map +1 -0
  58. package/dist/array/last.d.ts +16 -0
  59. package/dist/array/last.d.ts.map +1 -0
  60. package/dist/array/last.js +24 -0
  61. package/dist/array/last.js.map +1 -0
  62. package/dist/array/max.d.ts +18 -0
  63. package/dist/array/max.d.ts.map +1 -0
  64. package/dist/array/max.js +36 -0
  65. package/dist/array/max.js.map +1 -0
  66. package/dist/array/min.d.ts +18 -0
  67. package/dist/array/min.d.ts.map +1 -0
  68. package/dist/array/min.js +36 -0
  69. package/dist/array/min.js.map +1 -0
  70. package/dist/array/moveElement.d.ts +18 -0
  71. package/dist/array/moveElement.d.ts.map +1 -0
  72. package/dist/array/moveElement.js +49 -0
  73. package/dist/array/moveElement.js.map +1 -0
  74. package/dist/array/randomElement.d.ts +16 -0
  75. package/dist/array/randomElement.d.ts.map +1 -0
  76. package/dist/array/randomElement.js +26 -0
  77. package/dist/array/randomElement.js.map +1 -0
  78. package/dist/array/randomIndex.d.ts +15 -0
  79. package/dist/array/randomIndex.d.ts.map +1 -0
  80. package/dist/array/randomIndex.js +23 -0
  81. package/dist/array/randomIndex.js.map +1 -0
  82. package/dist/array/removeItem.d.ts +18 -0
  83. package/dist/array/removeItem.d.ts.map +1 -0
  84. package/dist/array/removeItem.js +30 -0
  85. package/dist/array/removeItem.js.map +1 -0
  86. package/dist/array/removeItemByKey.d.ts +23 -0
  87. package/dist/array/removeItemByKey.d.ts.map +1 -0
  88. package/dist/array/removeItemByKey.js +35 -0
  89. package/dist/array/removeItemByKey.js.map +1 -0
  90. package/dist/array/sample.d.ts +18 -0
  91. package/dist/array/sample.d.ts.map +1 -0
  92. package/dist/array/sample.js +52 -0
  93. package/dist/array/sample.js.map +1 -0
  94. package/dist/array/shuffle.d.ts +17 -0
  95. package/dist/array/shuffle.d.ts.map +1 -0
  96. package/dist/array/shuffle.js +32 -0
  97. package/dist/array/shuffle.js.map +1 -0
  98. package/dist/array/sortByNumber.d.ts +22 -0
  99. package/dist/array/sortByNumber.d.ts.map +1 -0
  100. package/dist/array/sortByNumber.js +34 -0
  101. package/dist/array/sortByNumber.js.map +1 -0
  102. package/dist/array/sortByString.d.ts +22 -0
  103. package/dist/array/sortByString.d.ts.map +1 -0
  104. package/dist/array/sortByString.js +37 -0
  105. package/dist/array/sortByString.js.map +1 -0
  106. package/dist/array/sum.d.ts +18 -0
  107. package/dist/array/sum.d.ts.map +1 -0
  108. package/dist/array/sum.js +32 -0
  109. package/dist/array/sum.js.map +1 -0
  110. package/dist/array/union.d.ts +15 -0
  111. package/dist/array/union.d.ts.map +1 -0
  112. package/dist/array/union.js +23 -0
  113. package/dist/array/union.js.map +1 -0
  114. package/dist/array/unique.d.ts +18 -0
  115. package/dist/array/unique.d.ts.map +1 -0
  116. package/dist/array/unique.js +39 -0
  117. package/dist/array/unique.js.map +1 -0
  118. package/dist/array.d.ts +114 -113
  119. package/dist/array.d.ts.map +1 -0
  120. package/dist/array.js +298 -297
  121. package/dist/array.js.map +1 -0
  122. package/dist/cached/CacheManager.d.ts +22 -21
  123. package/dist/cached/CacheManager.d.ts.map +1 -0
  124. package/dist/cached/CacheManager.js +119 -118
  125. package/dist/cached/CacheManager.js.map +1 -0
  126. package/dist/color.d.ts +26 -25
  127. package/dist/color.d.ts.map +1 -0
  128. package/dist/color.js +97 -95
  129. package/dist/color.js.map +1 -0
  130. package/dist/date/index.d.ts +7 -0
  131. package/dist/date/index.d.ts.map +1 -0
  132. package/dist/date/index.js +15 -0
  133. package/dist/date/index.js.map +1 -0
  134. package/dist/date/timeAgo.d.ts +2 -1
  135. package/dist/date/timeAgo.d.ts.map +1 -0
  136. package/dist/date/timeAgo.js +32 -31
  137. package/dist/date/timeAgo.js.map +1 -0
  138. package/dist/device/browser.d.ts +6 -5
  139. package/dist/device/browser.d.ts.map +1 -0
  140. package/dist/device/browser.js +58 -58
  141. package/dist/device/browser.js.map +1 -0
  142. package/dist/device/camera.d.ts +8 -7
  143. package/dist/device/camera.d.ts.map +1 -0
  144. package/dist/device/camera.js +172 -178
  145. package/dist/device/camera.js.map +1 -0
  146. package/dist/device/index.d.ts +6 -5
  147. package/dist/device/index.d.ts.map +1 -0
  148. package/dist/device/index.js +220 -219
  149. package/dist/device/index.js.map +1 -0
  150. package/dist/device/os.d.ts +12 -11
  151. package/dist/device/os.d.ts.map +1 -0
  152. package/dist/device/os.js +37 -37
  153. package/dist/device/os.js.map +1 -0
  154. package/dist/email/index.d.ts +9 -8
  155. package/dist/email/index.d.ts.map +1 -0
  156. package/dist/email/index.js +39 -38
  157. package/dist/email/index.js.map +1 -0
  158. package/dist/file/createDir.d.ts +6 -5
  159. package/dist/file/createDir.d.ts.map +1 -0
  160. package/dist/file/createDir.js +16 -15
  161. package/dist/file/createDir.js.map +1 -0
  162. package/dist/file/detectPrivateKey.d.ts +6 -5
  163. package/dist/file/detectPrivateKey.d.ts.map +1 -0
  164. package/dist/file/detectPrivateKey.js +29 -29
  165. package/dist/file/detectPrivateKey.js.map +1 -0
  166. package/dist/file/detectPrivateKeyByFilePath.d.ts +3 -2
  167. package/dist/file/detectPrivateKeyByFilePath.d.ts.map +1 -0
  168. package/dist/file/detectPrivateKeyByFilePath.js +39 -37
  169. package/dist/file/detectPrivateKeyByFilePath.js.map +1 -0
  170. package/dist/file/fileMove.d.ts +5 -4
  171. package/dist/file/fileMove.d.ts.map +1 -0
  172. package/dist/file/fileMove.js +32 -32
  173. package/dist/file/fileMove.js.map +1 -0
  174. package/dist/file/findFilesByExt.d.ts +14 -13
  175. package/dist/file/findFilesByExt.d.ts.map +1 -0
  176. package/dist/file/findFilesByExt.js +50 -49
  177. package/dist/file/findFilesByExt.js.map +1 -0
  178. package/dist/file/getAllFiles.d.ts +2 -1
  179. package/dist/file/getAllFiles.d.ts.map +1 -0
  180. package/dist/file/getAllFiles.js +39 -38
  181. package/dist/file/getAllFiles.js.map +1 -0
  182. package/dist/file/index.d.ts +10 -9
  183. package/dist/file/index.d.ts.map +1 -0
  184. package/dist/file/index.js +11 -10
  185. package/dist/file/index.js.map +1 -0
  186. package/dist/file/parseEnvFile.d.ts +9 -8
  187. package/dist/file/parseEnvFile.d.ts.map +1 -0
  188. package/dist/file/parseEnvFile.js +44 -44
  189. package/dist/file/parseEnvFile.js.map +1 -0
  190. package/dist/gameboi/index.d.ts +12 -12
  191. package/dist/gameboi/index.d.ts.map +1 -0
  192. package/dist/gameboi/index.js +72 -72
  193. package/dist/gameboi/index.js.map +1 -0
  194. package/dist/html/transform3dToObject.d.ts +6 -5
  195. package/dist/html/transform3dToObject.d.ts.map +1 -0
  196. package/dist/html/transform3dToObject.js +13 -12
  197. package/dist/html/transform3dToObject.js.map +1 -0
  198. package/dist/images/downloadByUrl.d.ts +17 -16
  199. package/dist/images/downloadByUrl.d.ts.map +1 -0
  200. package/dist/images/downloadByUrl.js +81 -80
  201. package/dist/images/downloadByUrl.js.map +1 -0
  202. package/dist/images/getImageDimensions.d.ts +5 -4
  203. package/dist/images/getImageDimensions.d.ts.map +1 -0
  204. package/dist/images/getImageDimensions.js +20 -19
  205. package/dist/images/getImageDimensions.js.map +1 -0
  206. package/dist/images/getUrlBypassCors.d.ts +3 -2
  207. package/dist/images/getUrlBypassCors.d.ts.map +1 -0
  208. package/dist/images/getUrlBypassCors.js +15 -14
  209. package/dist/images/getUrlBypassCors.js.map +1 -0
  210. package/dist/images/index.d.ts +3 -2
  211. package/dist/images/index.d.ts.map +1 -0
  212. package/dist/images/index.js +9 -8
  213. package/dist/images/index.js.map +1 -0
  214. package/dist/images/loadImage.d.ts +2 -1
  215. package/dist/images/loadImage.d.ts.map +1 -0
  216. package/dist/images/loadImage.js +18 -17
  217. package/dist/images/loadImage.js.map +1 -0
  218. package/dist/images/loadImageAsBlobUrl.d.ts +2 -1
  219. package/dist/images/loadImageAsBlobUrl.d.ts.map +1 -0
  220. package/dist/images/loadImageAsBlobUrl.js +38 -37
  221. package/dist/images/loadImageAsBlobUrl.js.map +1 -0
  222. package/dist/images/resize.d.ts +4 -3
  223. package/dist/images/resize.d.ts.map +1 -0
  224. package/dist/images/resize.js +41 -40
  225. package/dist/images/resize.js.map +1 -0
  226. package/dist/images/upload.d.ts +11 -10
  227. package/dist/images/upload.d.ts.map +1 -0
  228. package/dist/images/upload.js +27 -26
  229. package/dist/images/upload.js.map +1 -0
  230. package/dist/index.d.ts +33 -37
  231. package/dist/index.d.ts.map +1 -0
  232. package/dist/index.js +75 -62
  233. package/dist/index.js.map +1 -0
  234. package/dist/json.d.ts +9 -8
  235. package/dist/json.d.ts.map +1 -0
  236. package/dist/json.js +32 -31
  237. package/dist/json.js.map +1 -0
  238. package/dist/lib/batchProcessor.d.ts +2 -1
  239. package/dist/lib/batchProcessor.d.ts.map +1 -0
  240. package/dist/lib/batchProcessor.js +17 -16
  241. package/dist/lib/batchProcessor.js.map +1 -0
  242. package/dist/math/angleBetweenPoints.d.ts +20 -0
  243. package/dist/math/angleBetweenPoints.d.ts.map +1 -0
  244. package/dist/math/angleBetweenPoints.js +29 -0
  245. package/dist/math/angleBetweenPoints.js.map +1 -0
  246. package/dist/math/clamp.d.ts +18 -0
  247. package/dist/math/clamp.d.ts.map +1 -0
  248. package/dist/math/clamp.js +24 -0
  249. package/dist/math/clamp.js.map +1 -0
  250. package/dist/math/degToRad.d.ts +15 -0
  251. package/dist/math/degToRad.d.ts.map +1 -0
  252. package/dist/math/degToRad.js +24 -0
  253. package/dist/math/degToRad.js.map +1 -0
  254. package/dist/math/diffDate.d.ts +6 -5
  255. package/dist/math/diffDate.d.ts.map +1 -0
  256. package/dist/math/diffDate.js +13 -13
  257. package/dist/math/diffDate.js.map +1 -0
  258. package/dist/math/distance.d.ts +18 -0
  259. package/dist/math/distance.d.ts.map +1 -0
  260. package/dist/math/distance.js +24 -0
  261. package/dist/math/distance.js.map +1 -0
  262. package/dist/math/index.d.ts +25 -30
  263. package/dist/math/index.d.ts.map +1 -0
  264. package/dist/math/index.js +40 -92
  265. package/dist/math/index.js.map +1 -0
  266. package/dist/math/lerp.d.ts +19 -0
  267. package/dist/math/lerp.d.ts.map +1 -0
  268. package/dist/math/lerp.js +24 -0
  269. package/dist/math/lerp.js.map +1 -0
  270. package/dist/math/positiveNumber.d.ts +3 -2
  271. package/dist/math/positiveNumber.d.ts.map +1 -0
  272. package/dist/math/positiveNumber.js +16 -16
  273. package/dist/math/positiveNumber.js.map +1 -0
  274. package/dist/math/radToDeg.d.ts +15 -0
  275. package/dist/math/radToDeg.d.ts.map +1 -0
  276. package/dist/math/radToDeg.js +24 -0
  277. package/dist/math/radToDeg.js.map +1 -0
  278. package/dist/math/random.d.ts +15 -0
  279. package/dist/math/random.d.ts.map +1 -0
  280. package/dist/math/random.js +20 -0
  281. package/dist/math/random.js.map +1 -0
  282. package/dist/math/randomFloat.d.ts +15 -0
  283. package/dist/math/randomFloat.d.ts.map +1 -0
  284. package/dist/math/randomFloat.js +20 -0
  285. package/dist/math/randomFloat.js.map +1 -0
  286. package/dist/math/randomInt.d.ts +15 -0
  287. package/dist/math/randomInt.d.ts.map +1 -0
  288. package/dist/math/randomInt.js +20 -0
  289. package/dist/math/randomInt.js.map +1 -0
  290. package/dist/math/round.d.ts +17 -0
  291. package/dist/math/round.d.ts.map +1 -0
  292. package/dist/math/round.js +23 -0
  293. package/dist/math/round.js.map +1 -0
  294. package/dist/name/en.d.ts +6 -5
  295. package/dist/name/en.d.ts.map +1 -0
  296. package/dist/name/en.js +29 -25
  297. package/dist/name/en.js.map +1 -0
  298. package/dist/name/index.d.ts +13 -12
  299. package/dist/name/index.d.ts.map +1 -0
  300. package/dist/name/index.js +13 -12
  301. package/dist/name/index.js.map +1 -0
  302. package/dist/name/vi.d.ts +6 -5
  303. package/dist/name/vi.d.ts.map +1 -0
  304. package/dist/name/vi.js +28 -27
  305. package/dist/name/vi.js.map +1 -0
  306. package/dist/object/deepClone.d.ts +18 -0
  307. package/dist/object/deepClone.d.ts.map +1 -0
  308. package/dist/object/deepClone.js +44 -0
  309. package/dist/object/deepClone.js.map +1 -0
  310. package/dist/object/index.d.ts +19 -0
  311. package/dist/object/index.d.ts.map +1 -0
  312. package/dist/object/index.js +36 -0
  313. package/dist/object/index.js.map +1 -0
  314. package/dist/object/isEmpty.d.ts +20 -0
  315. package/dist/object/isEmpty.d.ts.map +1 -0
  316. package/dist/object/isEmpty.js +34 -0
  317. package/dist/object/isEmpty.js.map +1 -0
  318. package/dist/object/isEqual.d.ts +19 -0
  319. package/dist/object/isEqual.d.ts.map +1 -0
  320. package/dist/object/isEqual.js +57 -0
  321. package/dist/object/isEqual.js.map +1 -0
  322. package/dist/object/isNull.d.ts +21 -0
  323. package/dist/object/isNull.d.ts.map +1 -0
  324. package/dist/object/isNull.js +47 -0
  325. package/dist/object/isNull.js.map +1 -0
  326. package/dist/object/isObject.d.ts +19 -0
  327. package/dist/object/isObject.d.ts.map +1 -0
  328. package/dist/object/isObject.js +24 -0
  329. package/dist/object/isObject.js.map +1 -0
  330. package/dist/object/iterate.d.ts +20 -0
  331. package/dist/object/iterate.d.ts.map +1 -0
  332. package/dist/object/iterate.js +35 -0
  333. package/dist/object/iterate.js.map +1 -0
  334. package/dist/object/merge.d.ts +18 -0
  335. package/dist/object/merge.d.ts.map +1 -0
  336. package/dist/object/merge.js +43 -0
  337. package/dist/object/merge.js.map +1 -0
  338. package/dist/object/omit.d.ts +17 -0
  339. package/dist/object/omit.d.ts.map +1 -0
  340. package/dist/object/omit.js +31 -0
  341. package/dist/object/omit.js.map +1 -0
  342. package/dist/object/pick.d.ts +17 -0
  343. package/dist/object/pick.d.ts.map +1 -0
  344. package/dist/object/pick.js +30 -0
  345. package/dist/object/pick.js.map +1 -0
  346. package/dist/object/toArray.d.ts +20 -0
  347. package/dist/object/toArray.d.ts.map +1 -0
  348. package/dist/object/toArray.js +32 -0
  349. package/dist/object/toArray.js.map +1 -0
  350. package/dist/object/toBool.d.ts +21 -0
  351. package/dist/object/toBool.d.ts.map +1 -0
  352. package/dist/object/toBool.js +38 -0
  353. package/dist/object/toBool.js.map +1 -0
  354. package/dist/object/toFloat.d.ts +19 -0
  355. package/dist/object/toFloat.d.ts.map +1 -0
  356. package/dist/object/toFloat.js +29 -0
  357. package/dist/object/toFloat.js.map +1 -0
  358. package/dist/object/toInt.d.ts +19 -0
  359. package/dist/object/toInt.d.ts.map +1 -0
  360. package/dist/object/toInt.js +29 -0
  361. package/dist/object/toInt.js.map +1 -0
  362. package/dist/object/toObject.d.ts +18 -0
  363. package/dist/object/toObject.d.ts.map +1 -0
  364. package/dist/object/toObject.js +32 -0
  365. package/dist/object/toObject.js.map +1 -0
  366. package/dist/object.d.ts +35 -35
  367. package/dist/object.d.ts.map +1 -0
  368. package/dist/object.js +119 -111
  369. package/dist/object.js.map +1 -0
  370. package/dist/permission/index.d.ts +9 -8
  371. package/dist/permission/index.d.ts.map +1 -0
  372. package/dist/permission/index.js +7 -6
  373. package/dist/permission/index.js.map +1 -0
  374. package/dist/permission/requestCamera.d.ts +6 -5
  375. package/dist/permission/requestCamera.d.ts.map +1 -0
  376. package/dist/permission/requestCamera.js +43 -42
  377. package/dist/permission/requestCamera.js.map +1 -0
  378. package/dist/permission/requestDeviceOrientationControl.d.ts +3 -2
  379. package/dist/permission/requestDeviceOrientationControl.d.ts.map +1 -0
  380. package/dist/permission/requestDeviceOrientationControl.js +39 -38
  381. package/dist/permission/requestDeviceOrientationControl.js.map +1 -0
  382. package/dist/response/index.d.ts +50 -49
  383. package/dist/response/index.d.ts.map +1 -0
  384. package/dist/response/index.js +67 -66
  385. package/dist/response/index.js.map +1 -0
  386. package/dist/string/convertPathnameAndQuery.d.ts +5 -4
  387. package/dist/string/convertPathnameAndQuery.d.ts.map +1 -0
  388. package/dist/string/convertPathnameAndQuery.js +25 -24
  389. package/dist/string/convertPathnameAndQuery.js.map +1 -0
  390. package/dist/string/formatBytes.d.ts +2 -1
  391. package/dist/string/formatBytes.d.ts.map +1 -0
  392. package/dist/string/formatBytes.js +18 -17
  393. package/dist/string/formatBytes.js.map +1 -0
  394. package/dist/string/formatNumber.d.ts +7 -6
  395. package/dist/string/formatNumber.d.ts.map +1 -0
  396. package/dist/string/formatNumber.js +14 -14
  397. package/dist/string/formatNumber.js.map +1 -0
  398. package/dist/string/generatePassword.d.ts +10 -9
  399. package/dist/string/generatePassword.d.ts.map +1 -0
  400. package/dist/string/generatePassword.js +26 -23
  401. package/dist/string/generatePassword.js.map +1 -0
  402. package/dist/string/generateUUID.d.ts +3 -2
  403. package/dist/string/generateUUID.d.ts.map +1 -0
  404. package/dist/string/generateUUID.js +36 -36
  405. package/dist/string/generateUUID.js.map +1 -0
  406. package/dist/string/getIntFromNextJsRouter.d.ts +2 -1
  407. package/dist/string/getIntFromNextJsRouter.d.ts.map +1 -0
  408. package/dist/string/getIntFromNextJsRouter.js +11 -10
  409. package/dist/string/getIntFromNextJsRouter.js.map +1 -0
  410. package/dist/string/getStringFromNextJsRouter.d.ts +2 -1
  411. package/dist/string/getStringFromNextJsRouter.d.ts.map +1 -0
  412. package/dist/string/getStringFromNextJsRouter.js +11 -10
  413. package/dist/string/getStringFromNextJsRouter.js.map +1 -0
  414. package/dist/string/getTextBetweenCharByIndex.d.ts +2 -1
  415. package/dist/string/getTextBetweenCharByIndex.d.ts.map +1 -0
  416. package/dist/string/getTextBetweenCharByIndex.js +21 -20
  417. package/dist/string/getTextBetweenCharByIndex.js.map +1 -0
  418. package/dist/string/guessMimeType.d.ts +3 -2
  419. package/dist/string/guessMimeType.d.ts.map +1 -0
  420. package/dist/string/guessMimeType.js +77 -77
  421. package/dist/string/guessMimeType.js.map +1 -0
  422. package/dist/string/guessMimeTypeByBuffer.d.ts +2 -3
  423. package/dist/string/guessMimeTypeByBuffer.d.ts.map +1 -0
  424. package/dist/string/guessMimeTypeByBuffer.js +40 -39
  425. package/dist/string/guessMimeTypeByBuffer.js.map +1 -0
  426. package/dist/string/index.d.ts +66 -65
  427. package/dist/string/index.d.ts.map +1 -0
  428. package/dist/string/index.js +162 -161
  429. package/dist/string/index.js.map +1 -0
  430. package/dist/string/indexesOf.d.ts +2 -1
  431. package/dist/string/indexesOf.d.ts.map +1 -0
  432. package/dist/string/indexesOf.js +15 -14
  433. package/dist/string/indexesOf.js.map +1 -0
  434. package/dist/string/makeDaySlug.d.ts +28 -27
  435. package/dist/string/makeDaySlug.d.ts.map +1 -0
  436. package/dist/string/makeDaySlug.js +18 -18
  437. package/dist/string/makeDaySlug.js.map +1 -0
  438. package/dist/string/makeSlug.d.ts +4 -3
  439. package/dist/string/makeSlug.d.ts.map +1 -0
  440. package/dist/string/makeSlug.js +7 -6
  441. package/dist/string/makeSlug.js.map +1 -0
  442. package/dist/string/padNumberWithLeadingZeros.d.ts +2 -1
  443. package/dist/string/padNumberWithLeadingZeros.d.ts.map +1 -0
  444. package/dist/string/padNumberWithLeadingZeros.js +13 -12
  445. package/dist/string/padNumberWithLeadingZeros.js.map +1 -0
  446. package/dist/string/random.d.ts +21 -20
  447. package/dist/string/random.d.ts.map +1 -0
  448. package/dist/string/random.js +51 -50
  449. package/dist/string/random.js.map +1 -0
  450. package/dist/string/trimNull.d.ts +3 -2
  451. package/dist/string/trimNull.d.ts.map +1 -0
  452. package/dist/string/trimNull.js +20 -20
  453. package/dist/string/trimNull.js.map +1 -0
  454. package/dist/string/url.d.ts +29 -28
  455. package/dist/string/url.d.ts.map +1 -0
  456. package/dist/string/url.js +121 -118
  457. package/dist/string/url.js.map +1 -0
  458. package/dist/xconsole/enableConsole.d.ts +3 -2
  459. package/dist/xconsole/enableConsole.d.ts.map +1 -0
  460. package/dist/xconsole/enableConsole.js +13 -13
  461. package/dist/xconsole/enableConsole.js.map +1 -0
  462. package/dist/xconsole/index.d.ts +12 -11
  463. package/dist/xconsole/index.d.ts.map +1 -0
  464. package/dist/xconsole/index.js +19 -18
  465. package/dist/xconsole/index.js.map +1 -0
  466. package/dist/xconsole/log.d.ts +16 -15
  467. package/dist/xconsole/log.d.ts.map +1 -0
  468. package/dist/xconsole/log.js +45 -44
  469. package/dist/xconsole/log.js.map +1 -0
  470. package/esm/Checker.d.ts +9 -8
  471. package/esm/Checker.d.ts.map +1 -0
  472. package/esm/Checker.js +28 -27
  473. package/esm/Checker.js.map +1 -0
  474. package/esm/EventDispatcher.d.ts +14 -13
  475. package/esm/EventDispatcher.d.ts.map +1 -0
  476. package/esm/EventDispatcher.js +49 -48
  477. package/esm/EventDispatcher.js.map +1 -0
  478. package/esm/FileUpload.d.ts +13 -12
  479. package/esm/FileUpload.d.ts.map +1 -0
  480. package/esm/FileUpload.js +62 -61
  481. package/esm/FileUpload.js.map +1 -0
  482. package/esm/Slug.d.ts +10 -9
  483. package/esm/Slug.d.ts.map +1 -0
  484. package/esm/Slug.js +331 -330
  485. package/esm/Slug.js.map +1 -0
  486. package/esm/Timer.d.ts +5 -4
  487. package/esm/Timer.d.ts.map +1 -0
  488. package/esm/Timer.js +7 -6
  489. package/esm/Timer.js.map +1 -0
  490. package/esm/Validation.d.ts +6 -5
  491. package/esm/Validation.d.ts.map +1 -0
  492. package/esm/Validation.js +37 -36
  493. package/esm/Validation.js.map +1 -0
  494. package/esm/array/average.d.ts +18 -0
  495. package/esm/array/average.d.ts.map +1 -0
  496. package/esm/array/average.js +24 -0
  497. package/esm/array/average.js.map +1 -0
  498. package/esm/array/chunk.d.ts +17 -0
  499. package/esm/array/chunk.d.ts.map +1 -0
  500. package/esm/array/chunk.js +29 -0
  501. package/esm/array/chunk.js.map +1 -0
  502. package/esm/array/compact.d.ts +17 -0
  503. package/esm/array/compact.d.ts.map +1 -0
  504. package/esm/array/compact.js +22 -0
  505. package/esm/array/compact.js.map +1 -0
  506. package/esm/array/difference.d.ts +17 -0
  507. package/esm/array/difference.d.ts.map +1 -0
  508. package/esm/array/difference.js +26 -0
  509. package/esm/array/difference.js.map +1 -0
  510. package/esm/array/first.d.ts +16 -0
  511. package/esm/array/first.d.ts.map +1 -0
  512. package/esm/array/first.js +21 -0
  513. package/esm/array/first.js.map +1 -0
  514. package/esm/array/flatten.d.ts +17 -0
  515. package/esm/array/flatten.d.ts.map +1 -0
  516. package/esm/array/flatten.js +33 -0
  517. package/esm/array/flatten.js.map +1 -0
  518. package/esm/array/index.d.ts +27 -0
  519. package/esm/array/index.d.ts.map +1 -0
  520. package/esm/array/index.js +27 -0
  521. package/esm/array/index.js.map +1 -0
  522. package/esm/array/intersection.d.ts +18 -0
  523. package/esm/array/intersection.d.ts.map +1 -0
  524. package/esm/array/intersection.js +24 -0
  525. package/esm/array/intersection.js.map +1 -0
  526. package/esm/array/last.d.ts +16 -0
  527. package/esm/array/last.d.ts.map +1 -0
  528. package/esm/array/last.js +21 -0
  529. package/esm/array/last.js.map +1 -0
  530. package/esm/array/max.d.ts +18 -0
  531. package/esm/array/max.d.ts.map +1 -0
  532. package/esm/array/max.js +33 -0
  533. package/esm/array/max.js.map +1 -0
  534. package/esm/array/min.d.ts +18 -0
  535. package/esm/array/min.d.ts.map +1 -0
  536. package/esm/array/min.js +33 -0
  537. package/esm/array/min.js.map +1 -0
  538. package/esm/array/moveElement.d.ts +18 -0
  539. package/esm/array/moveElement.d.ts.map +1 -0
  540. package/esm/array/moveElement.js +46 -0
  541. package/esm/array/moveElement.js.map +1 -0
  542. package/esm/array/randomElement.d.ts +16 -0
  543. package/esm/array/randomElement.d.ts.map +1 -0
  544. package/esm/array/randomElement.js +23 -0
  545. package/esm/array/randomElement.js.map +1 -0
  546. package/esm/array/randomIndex.d.ts +15 -0
  547. package/esm/array/randomIndex.d.ts.map +1 -0
  548. package/esm/array/randomIndex.js +20 -0
  549. package/esm/array/randomIndex.js.map +1 -0
  550. package/esm/array/removeItem.d.ts +18 -0
  551. package/esm/array/removeItem.d.ts.map +1 -0
  552. package/esm/array/removeItem.js +27 -0
  553. package/esm/array/removeItem.js.map +1 -0
  554. package/esm/array/removeItemByKey.d.ts +23 -0
  555. package/esm/array/removeItemByKey.d.ts.map +1 -0
  556. package/esm/array/removeItemByKey.js +32 -0
  557. package/esm/array/removeItemByKey.js.map +1 -0
  558. package/esm/array/sample.d.ts +18 -0
  559. package/esm/array/sample.d.ts.map +1 -0
  560. package/esm/array/sample.js +49 -0
  561. package/esm/array/sample.js.map +1 -0
  562. package/esm/array/shuffle.d.ts +17 -0
  563. package/esm/array/shuffle.d.ts.map +1 -0
  564. package/esm/array/shuffle.js +29 -0
  565. package/esm/array/shuffle.js.map +1 -0
  566. package/esm/array/sortByNumber.d.ts +22 -0
  567. package/esm/array/sortByNumber.d.ts.map +1 -0
  568. package/esm/array/sortByNumber.js +31 -0
  569. package/esm/array/sortByNumber.js.map +1 -0
  570. package/esm/array/sortByString.d.ts +22 -0
  571. package/esm/array/sortByString.d.ts.map +1 -0
  572. package/esm/array/sortByString.js +34 -0
  573. package/esm/array/sortByString.js.map +1 -0
  574. package/esm/array/sum.d.ts +18 -0
  575. package/esm/array/sum.d.ts.map +1 -0
  576. package/esm/array/sum.js +29 -0
  577. package/esm/array/sum.js.map +1 -0
  578. package/esm/array/union.d.ts +15 -0
  579. package/esm/array/union.d.ts.map +1 -0
  580. package/esm/array/union.js +20 -0
  581. package/esm/array/union.js.map +1 -0
  582. package/esm/array/unique.d.ts +18 -0
  583. package/esm/array/unique.d.ts.map +1 -0
  584. package/esm/array/unique.js +36 -0
  585. package/esm/array/unique.js.map +1 -0
  586. package/esm/array.d.ts +114 -113
  587. package/esm/array.d.ts.map +1 -0
  588. package/esm/array.js +276 -275
  589. package/esm/array.js.map +1 -0
  590. package/esm/cached/CacheManager.d.ts +22 -21
  591. package/esm/cached/CacheManager.d.ts.map +1 -0
  592. package/esm/cached/CacheManager.js +113 -112
  593. package/esm/cached/CacheManager.js.map +1 -0
  594. package/esm/color.d.ts +26 -25
  595. package/esm/color.d.ts.map +1 -0
  596. package/esm/color.js +87 -85
  597. package/esm/color.js.map +1 -0
  598. package/esm/date/index.d.ts +7 -0
  599. package/esm/date/index.d.ts.map +1 -0
  600. package/esm/date/index.js +7 -0
  601. package/esm/date/index.js.map +1 -0
  602. package/esm/date/timeAgo.d.ts +2 -1
  603. package/esm/date/timeAgo.d.ts.map +1 -0
  604. package/esm/date/timeAgo.js +29 -28
  605. package/esm/date/timeAgo.js.map +1 -0
  606. package/esm/device/browser.d.ts +6 -5
  607. package/esm/device/browser.d.ts.map +1 -0
  608. package/esm/device/browser.js +50 -50
  609. package/esm/device/browser.js.map +1 -0
  610. package/esm/device/camera.d.ts +8 -7
  611. package/esm/device/camera.d.ts.map +1 -0
  612. package/esm/device/camera.js +169 -174
  613. package/esm/device/camera.js.map +1 -0
  614. package/esm/device/index.d.ts +6 -5
  615. package/esm/device/index.d.ts.map +1 -0
  616. package/esm/device/index.js +212 -211
  617. package/esm/device/index.js.map +1 -0
  618. package/esm/device/os.d.ts +12 -11
  619. package/esm/device/os.d.ts.map +1 -0
  620. package/esm/device/os.js +28 -27
  621. package/esm/device/os.js.map +1 -0
  622. package/esm/email/index.d.ts +9 -8
  623. package/esm/email/index.d.ts.map +1 -0
  624. package/esm/email/index.js +32 -31
  625. package/esm/email/index.js.map +1 -0
  626. package/esm/file/createDir.d.ts +6 -5
  627. package/esm/file/createDir.d.ts.map +1 -0
  628. package/esm/file/createDir.js +14 -12
  629. package/esm/file/createDir.js.map +1 -0
  630. package/esm/file/detectPrivateKey.d.ts +6 -5
  631. package/esm/file/detectPrivateKey.d.ts.map +1 -0
  632. package/esm/file/detectPrivateKey.js +23 -22
  633. package/esm/file/detectPrivateKey.js.map +1 -0
  634. package/esm/file/detectPrivateKeyByFilePath.d.ts +3 -2
  635. package/esm/file/detectPrivateKeyByFilePath.d.ts.map +1 -0
  636. package/esm/file/detectPrivateKeyByFilePath.js +33 -30
  637. package/esm/file/detectPrivateKeyByFilePath.js.map +1 -0
  638. package/esm/file/fileMove.d.ts +5 -4
  639. package/esm/file/fileMove.d.ts.map +1 -0
  640. package/esm/file/fileMove.js +29 -28
  641. package/esm/file/fileMove.js.map +1 -0
  642. package/esm/file/findFilesByExt.d.ts +14 -13
  643. package/esm/file/findFilesByExt.d.ts.map +1 -0
  644. package/esm/file/findFilesByExt.js +46 -45
  645. package/esm/file/findFilesByExt.js.map +1 -0
  646. package/esm/file/getAllFiles.d.ts +2 -1
  647. package/esm/file/getAllFiles.d.ts.map +1 -0
  648. package/esm/file/getAllFiles.js +33 -32
  649. package/esm/file/getAllFiles.js.map +1 -0
  650. package/esm/file/index.d.ts +10 -9
  651. package/esm/file/index.d.ts.map +1 -0
  652. package/esm/file/index.js +6 -5
  653. package/esm/file/index.js.map +1 -0
  654. package/esm/file/parseEnvFile.d.ts +9 -8
  655. package/esm/file/parseEnvFile.d.ts.map +1 -0
  656. package/esm/file/parseEnvFile.js +38 -37
  657. package/esm/file/parseEnvFile.js.map +1 -0
  658. package/esm/gameboi/index.d.ts +12 -12
  659. package/esm/gameboi/index.d.ts.map +1 -0
  660. package/esm/gameboi/index.js +67 -66
  661. package/esm/gameboi/index.js.map +1 -0
  662. package/esm/html/transform3dToObject.d.ts +6 -5
  663. package/esm/html/transform3dToObject.d.ts.map +1 -0
  664. package/esm/html/transform3dToObject.js +10 -9
  665. package/esm/html/transform3dToObject.js.map +1 -0
  666. package/esm/images/downloadByUrl.d.ts +17 -16
  667. package/esm/images/downloadByUrl.d.ts.map +1 -0
  668. package/esm/images/downloadByUrl.js +74 -73
  669. package/esm/images/downloadByUrl.js.map +1 -0
  670. package/esm/images/getImageDimensions.d.ts +5 -4
  671. package/esm/images/getImageDimensions.d.ts.map +1 -0
  672. package/esm/images/getImageDimensions.js +17 -16
  673. package/esm/images/getImageDimensions.js.map +1 -0
  674. package/esm/images/getUrlBypassCors.d.ts +3 -2
  675. package/esm/images/getUrlBypassCors.d.ts.map +1 -0
  676. package/esm/images/getUrlBypassCors.js +13 -12
  677. package/esm/images/getUrlBypassCors.js.map +1 -0
  678. package/esm/images/index.d.ts +3 -2
  679. package/esm/images/index.d.ts.map +1 -0
  680. package/esm/images/index.js +4 -3
  681. package/esm/images/index.js.map +1 -0
  682. package/esm/images/loadImage.d.ts +2 -1
  683. package/esm/images/loadImage.d.ts.map +1 -0
  684. package/esm/images/loadImage.js +15 -14
  685. package/esm/images/loadImage.js.map +1 -0
  686. package/esm/images/loadImageAsBlobUrl.d.ts +2 -1
  687. package/esm/images/loadImageAsBlobUrl.d.ts.map +1 -0
  688. package/esm/images/loadImageAsBlobUrl.js +32 -31
  689. package/esm/images/loadImageAsBlobUrl.js.map +1 -0
  690. package/esm/images/resize.d.ts +4 -3
  691. package/esm/images/resize.d.ts.map +1 -0
  692. package/esm/images/resize.js +34 -33
  693. package/esm/images/resize.js.map +1 -0
  694. package/esm/images/upload.d.ts +11 -10
  695. package/esm/images/upload.d.ts.map +1 -0
  696. package/esm/images/upload.js +20 -19
  697. package/esm/images/upload.js.map +1 -0
  698. package/esm/index.d.ts +33 -37
  699. package/esm/index.d.ts.map +1 -0
  700. package/esm/index.js +39 -37
  701. package/esm/index.js.map +1 -0
  702. package/esm/json.d.ts +9 -8
  703. package/esm/json.d.ts.map +1 -0
  704. package/esm/json.js +28 -27
  705. package/esm/json.js.map +1 -0
  706. package/esm/lib/batchProcessor.d.ts +2 -1
  707. package/esm/lib/batchProcessor.d.ts.map +1 -0
  708. package/esm/lib/batchProcessor.js +14 -13
  709. package/esm/lib/batchProcessor.js.map +1 -0
  710. package/esm/math/angleBetweenPoints.d.ts +20 -0
  711. package/esm/math/angleBetweenPoints.d.ts.map +1 -0
  712. package/esm/math/angleBetweenPoints.js +26 -0
  713. package/esm/math/angleBetweenPoints.js.map +1 -0
  714. package/esm/math/clamp.d.ts +18 -0
  715. package/esm/math/clamp.d.ts.map +1 -0
  716. package/esm/math/clamp.js +21 -0
  717. package/esm/math/clamp.js.map +1 -0
  718. package/esm/math/degToRad.d.ts +15 -0
  719. package/esm/math/degToRad.d.ts.map +1 -0
  720. package/esm/math/degToRad.js +21 -0
  721. package/esm/math/degToRad.js.map +1 -0
  722. package/esm/math/diffDate.d.ts +6 -5
  723. package/esm/math/diffDate.d.ts.map +1 -0
  724. package/esm/math/diffDate.js +10 -9
  725. package/esm/math/diffDate.js.map +1 -0
  726. package/esm/math/distance.d.ts +18 -0
  727. package/esm/math/distance.d.ts.map +1 -0
  728. package/esm/math/distance.js +21 -0
  729. package/esm/math/distance.js.map +1 -0
  730. package/esm/math/index.d.ts +25 -30
  731. package/esm/math/index.d.ts.map +1 -0
  732. package/esm/math/index.js +25 -77
  733. package/esm/math/index.js.map +1 -0
  734. package/esm/math/lerp.d.ts +19 -0
  735. package/esm/math/lerp.d.ts.map +1 -0
  736. package/esm/math/lerp.js +21 -0
  737. package/esm/math/lerp.js.map +1 -0
  738. package/esm/math/positiveNumber.d.ts +3 -2
  739. package/esm/math/positiveNumber.d.ts.map +1 -0
  740. package/esm/math/positiveNumber.js +13 -12
  741. package/esm/math/positiveNumber.js.map +1 -0
  742. package/esm/math/radToDeg.d.ts +15 -0
  743. package/esm/math/radToDeg.d.ts.map +1 -0
  744. package/esm/math/radToDeg.js +21 -0
  745. package/esm/math/radToDeg.js.map +1 -0
  746. package/esm/math/random.d.ts +15 -0
  747. package/esm/math/random.d.ts.map +1 -0
  748. package/esm/math/random.js +17 -0
  749. package/esm/math/random.js.map +1 -0
  750. package/esm/math/randomFloat.d.ts +15 -0
  751. package/esm/math/randomFloat.d.ts.map +1 -0
  752. package/esm/math/randomFloat.js +17 -0
  753. package/esm/math/randomFloat.js.map +1 -0
  754. package/esm/math/randomInt.d.ts +15 -0
  755. package/esm/math/randomInt.d.ts.map +1 -0
  756. package/esm/math/randomInt.js +17 -0
  757. package/esm/math/randomInt.js.map +1 -0
  758. package/esm/math/round.d.ts +17 -0
  759. package/esm/math/round.d.ts.map +1 -0
  760. package/esm/math/round.js +20 -0
  761. package/esm/math/round.js.map +1 -0
  762. package/esm/name/en.d.ts +6 -5
  763. package/esm/name/en.d.ts.map +1 -0
  764. package/esm/name/en.js +26 -21
  765. package/esm/name/en.js.map +1 -0
  766. package/esm/name/index.d.ts +13 -12
  767. package/esm/name/index.d.ts.map +1 -0
  768. package/esm/name/index.js +6 -5
  769. package/esm/name/index.js.map +1 -0
  770. package/esm/name/vi.d.ts +6 -5
  771. package/esm/name/vi.d.ts.map +1 -0
  772. package/esm/name/vi.js +24 -23
  773. package/esm/name/vi.js.map +1 -0
  774. package/esm/object/deepClone.d.ts +18 -0
  775. package/esm/object/deepClone.d.ts.map +1 -0
  776. package/esm/object/deepClone.js +41 -0
  777. package/esm/object/deepClone.js.map +1 -0
  778. package/esm/object/index.d.ts +19 -0
  779. package/esm/object/index.d.ts.map +1 -0
  780. package/esm/object/index.js +19 -0
  781. package/esm/object/index.js.map +1 -0
  782. package/esm/object/isEmpty.d.ts +20 -0
  783. package/esm/object/isEmpty.d.ts.map +1 -0
  784. package/esm/object/isEmpty.js +31 -0
  785. package/esm/object/isEmpty.js.map +1 -0
  786. package/esm/object/isEqual.d.ts +19 -0
  787. package/esm/object/isEqual.d.ts.map +1 -0
  788. package/esm/object/isEqual.js +54 -0
  789. package/esm/object/isEqual.js.map +1 -0
  790. package/esm/object/isNull.d.ts +21 -0
  791. package/esm/object/isNull.d.ts.map +1 -0
  792. package/esm/object/isNull.js +44 -0
  793. package/esm/object/isNull.js.map +1 -0
  794. package/esm/object/isObject.d.ts +19 -0
  795. package/esm/object/isObject.d.ts.map +1 -0
  796. package/esm/object/isObject.js +21 -0
  797. package/esm/object/isObject.js.map +1 -0
  798. package/esm/object/iterate.d.ts +20 -0
  799. package/esm/object/iterate.d.ts.map +1 -0
  800. package/esm/object/iterate.js +32 -0
  801. package/esm/object/iterate.js.map +1 -0
  802. package/esm/object/merge.d.ts +18 -0
  803. package/esm/object/merge.d.ts.map +1 -0
  804. package/esm/object/merge.js +40 -0
  805. package/esm/object/merge.js.map +1 -0
  806. package/esm/object/omit.d.ts +17 -0
  807. package/esm/object/omit.d.ts.map +1 -0
  808. package/esm/object/omit.js +28 -0
  809. package/esm/object/omit.js.map +1 -0
  810. package/esm/object/pick.d.ts +17 -0
  811. package/esm/object/pick.d.ts.map +1 -0
  812. package/esm/object/pick.js +27 -0
  813. package/esm/object/pick.js.map +1 -0
  814. package/esm/object/toArray.d.ts +20 -0
  815. package/esm/object/toArray.d.ts.map +1 -0
  816. package/esm/object/toArray.js +29 -0
  817. package/esm/object/toArray.js.map +1 -0
  818. package/esm/object/toBool.d.ts +21 -0
  819. package/esm/object/toBool.d.ts.map +1 -0
  820. package/esm/object/toBool.js +35 -0
  821. package/esm/object/toBool.js.map +1 -0
  822. package/esm/object/toFloat.d.ts +19 -0
  823. package/esm/object/toFloat.d.ts.map +1 -0
  824. package/esm/object/toFloat.js +26 -0
  825. package/esm/object/toFloat.js.map +1 -0
  826. package/esm/object/toInt.d.ts +19 -0
  827. package/esm/object/toInt.d.ts.map +1 -0
  828. package/esm/object/toInt.js +26 -0
  829. package/esm/object/toInt.js.map +1 -0
  830. package/esm/object/toObject.d.ts +18 -0
  831. package/esm/object/toObject.d.ts.map +1 -0
  832. package/esm/object/toObject.js +29 -0
  833. package/esm/object/toObject.js.map +1 -0
  834. package/esm/object.d.ts +35 -35
  835. package/esm/object.d.ts.map +1 -0
  836. package/esm/object.js +108 -99
  837. package/esm/object.js.map +1 -0
  838. package/esm/permission/index.d.ts +9 -8
  839. package/esm/permission/index.d.ts.map +1 -0
  840. package/esm/permission/index.js +5 -4
  841. package/esm/permission/index.js.map +1 -0
  842. package/esm/permission/requestCamera.d.ts +6 -5
  843. package/esm/permission/requestCamera.d.ts.map +1 -0
  844. package/esm/permission/requestCamera.js +39 -38
  845. package/esm/permission/requestCamera.js.map +1 -0
  846. package/esm/permission/requestDeviceOrientationControl.d.ts +3 -2
  847. package/esm/permission/requestDeviceOrientationControl.d.ts.map +1 -0
  848. package/esm/permission/requestDeviceOrientationControl.js +35 -34
  849. package/esm/permission/requestDeviceOrientationControl.js.map +1 -0
  850. package/esm/response/index.d.ts +50 -49
  851. package/esm/response/index.d.ts.map +1 -0
  852. package/esm/response/index.js +61 -60
  853. package/esm/response/index.js.map +1 -0
  854. package/esm/string/convertPathnameAndQuery.d.ts +5 -4
  855. package/esm/string/convertPathnameAndQuery.d.ts.map +1 -0
  856. package/esm/string/convertPathnameAndQuery.js +22 -21
  857. package/esm/string/convertPathnameAndQuery.js.map +1 -0
  858. package/esm/string/formatBytes.d.ts +2 -1
  859. package/esm/string/formatBytes.d.ts.map +1 -0
  860. package/esm/string/formatBytes.js +15 -14
  861. package/esm/string/formatBytes.js.map +1 -0
  862. package/esm/string/formatNumber.d.ts +7 -6
  863. package/esm/string/formatNumber.d.ts.map +1 -0
  864. package/esm/string/formatNumber.js +11 -10
  865. package/esm/string/formatNumber.js.map +1 -0
  866. package/esm/string/generatePassword.d.ts +10 -9
  867. package/esm/string/generatePassword.d.ts.map +1 -0
  868. package/esm/string/generatePassword.js +23 -19
  869. package/esm/string/generatePassword.js.map +1 -0
  870. package/esm/string/generateUUID.d.ts +3 -2
  871. package/esm/string/generateUUID.d.ts.map +1 -0
  872. package/esm/string/generateUUID.js +33 -32
  873. package/esm/string/generateUUID.js.map +1 -0
  874. package/esm/string/getIntFromNextJsRouter.d.ts +2 -1
  875. package/esm/string/getIntFromNextJsRouter.d.ts.map +1 -0
  876. package/esm/string/getIntFromNextJsRouter.js +8 -7
  877. package/esm/string/getIntFromNextJsRouter.js.map +1 -0
  878. package/esm/string/getStringFromNextJsRouter.d.ts +2 -1
  879. package/esm/string/getStringFromNextJsRouter.d.ts.map +1 -0
  880. package/esm/string/getStringFromNextJsRouter.js +8 -7
  881. package/esm/string/getStringFromNextJsRouter.js.map +1 -0
  882. package/esm/string/getTextBetweenCharByIndex.d.ts +2 -1
  883. package/esm/string/getTextBetweenCharByIndex.d.ts.map +1 -0
  884. package/esm/string/getTextBetweenCharByIndex.js +15 -14
  885. package/esm/string/getTextBetweenCharByIndex.js.map +1 -0
  886. package/esm/string/guessMimeType.d.ts +3 -2
  887. package/esm/string/guessMimeType.d.ts.map +1 -0
  888. package/esm/string/guessMimeType.js +74 -73
  889. package/esm/string/guessMimeType.js.map +1 -0
  890. package/esm/string/guessMimeTypeByBuffer.d.ts +2 -3
  891. package/esm/string/guessMimeTypeByBuffer.d.ts.map +1 -0
  892. package/esm/string/guessMimeTypeByBuffer.js +37 -36
  893. package/esm/string/guessMimeTypeByBuffer.js.map +1 -0
  894. package/esm/string/index.d.ts +66 -65
  895. package/esm/string/index.d.ts.map +1 -0
  896. package/esm/string/index.js +151 -150
  897. package/esm/string/index.js.map +1 -0
  898. package/esm/string/indexesOf.d.ts +2 -1
  899. package/esm/string/indexesOf.d.ts.map +1 -0
  900. package/esm/string/indexesOf.js +12 -11
  901. package/esm/string/indexesOf.js.map +1 -0
  902. package/esm/string/makeDaySlug.d.ts +28 -27
  903. package/esm/string/makeDaySlug.d.ts.map +1 -0
  904. package/esm/string/makeDaySlug.js +12 -11
  905. package/esm/string/makeDaySlug.js.map +1 -0
  906. package/esm/string/makeSlug.d.ts +4 -3
  907. package/esm/string/makeSlug.d.ts.map +1 -0
  908. package/esm/string/makeSlug.js +4 -3
  909. package/esm/string/makeSlug.js.map +1 -0
  910. package/esm/string/padNumberWithLeadingZeros.d.ts +2 -1
  911. package/esm/string/padNumberWithLeadingZeros.d.ts.map +1 -0
  912. package/esm/string/padNumberWithLeadingZeros.js +10 -9
  913. package/esm/string/padNumberWithLeadingZeros.js.map +1 -0
  914. package/esm/string/random.d.ts +21 -20
  915. package/esm/string/random.d.ts.map +1 -0
  916. package/esm/string/random.js +43 -42
  917. package/esm/string/random.js.map +1 -0
  918. package/esm/string/trimNull.d.ts +3 -2
  919. package/esm/string/trimNull.d.ts.map +1 -0
  920. package/esm/string/trimNull.js +14 -13
  921. package/esm/string/trimNull.js.map +1 -0
  922. package/esm/string/url.d.ts +29 -28
  923. package/esm/string/url.d.ts.map +1 -0
  924. package/esm/string/url.js +108 -105
  925. package/esm/string/url.js.map +1 -0
  926. package/esm/xconsole/enableConsole.d.ts +3 -2
  927. package/esm/xconsole/enableConsole.d.ts.map +1 -0
  928. package/esm/xconsole/enableConsole.js +7 -6
  929. package/esm/xconsole/enableConsole.js.map +1 -0
  930. package/esm/xconsole/index.d.ts +12 -11
  931. package/esm/xconsole/index.d.ts.map +1 -0
  932. package/esm/xconsole/index.js +14 -13
  933. package/esm/xconsole/index.js.map +1 -0
  934. package/esm/xconsole/log.d.ts +16 -15
  935. package/esm/xconsole/log.d.ts.map +1 -0
  936. package/esm/xconsole/log.js +33 -32
  937. package/esm/xconsole/log.js.map +1 -0
  938. package/package.json +77 -28
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intersection.js","sourceRoot":"","sources":["../../src/array/intersection.ts"],"names":[],"mappings":";;AAgBA,oCAOC;AAvBD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAI,MAAW,EAAE,MAAW;IACvD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACtD,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AAChD,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Returns the last element of an array.
3
+ *
4
+ * @template T - The type of elements in the array
5
+ * @param array - The array to get the last element from
6
+ * @returns The last element, or undefined if array is empty
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * last([1, 2, 3]); // 3
11
+ * last([]); // undefined
12
+ * last(['a', 'b', 'c']); // 'c'
13
+ * ```
14
+ */
15
+ export declare function last<T>(array: T[]): T | undefined;
16
+ //# sourceMappingURL=last.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"last.d.ts","sourceRoot":"","sources":["../../src/array/last.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,CAAC,GAAG,SAAS,CAKjD"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.last = last;
4
+ /**
5
+ * Returns the last element of an array.
6
+ *
7
+ * @template T - The type of elements in the array
8
+ * @param array - The array to get the last element from
9
+ * @returns The last element, or undefined if array is empty
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * last([1, 2, 3]); // 3
14
+ * last([]); // undefined
15
+ * last(['a', 'b', 'c']); // 'c'
16
+ * ```
17
+ */
18
+ function last(array) {
19
+ if (!Array.isArray(array) || array.length === 0) {
20
+ return undefined;
21
+ }
22
+ return array[array.length - 1];
23
+ }
24
+ //# sourceMappingURL=last.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"last.js","sourceRoot":"","sources":["../../src/array/last.ts"],"names":[],"mappings":";;AAcA,oBAKC;AAnBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,IAAI,CAAI,KAAU;IACjC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,SAAS,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAChC,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Finds the maximum value in an array.
3
+ * If a key is provided, finds the maximum value of that property from each object.
4
+ *
5
+ * @template T - The type of elements in the array
6
+ * @param array - The array to search
7
+ * @param key - Optional key to find maximum value from objects
8
+ * @returns The maximum value, or 0 if array is empty
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * max([3, 1, 4, 1, 5]); // 5
13
+ * max([{ value: 5 }, { value: 2 }, { value: 8 }], 'value'); // 8
14
+ * max([]); // 0
15
+ * ```
16
+ */
17
+ export declare function max<T = number>(array: T[], key?: keyof T): number;
18
+ //# sourceMappingURL=max.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"max.d.ts","sourceRoot":"","sources":["../../src/array/max.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,CAiBjE"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.max = max;
4
+ /**
5
+ * Finds the maximum value in an array.
6
+ * If a key is provided, finds the maximum value of that property from each object.
7
+ *
8
+ * @template T - The type of elements in the array
9
+ * @param array - The array to search
10
+ * @param key - Optional key to find maximum value from objects
11
+ * @returns The maximum value, or 0 if array is empty
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * max([3, 1, 4, 1, 5]); // 5
16
+ * max([{ value: 5 }, { value: 2 }, { value: 8 }], 'value'); // 8
17
+ * max([]); // 0
18
+ * ```
19
+ */
20
+ function max(array, key) {
21
+ if (!Array.isArray(array) || array.length === 0) {
22
+ return 0;
23
+ }
24
+ if (key !== undefined) {
25
+ return array.reduce((maxVal, item) => {
26
+ const value = item[key];
27
+ const numValue = typeof value === "number" ? value : -Infinity;
28
+ return numValue > maxVal ? numValue : maxVal;
29
+ }, -Infinity);
30
+ }
31
+ return array.reduce((maxVal, value) => {
32
+ const numValue = typeof value === "number" ? value : -Infinity;
33
+ return numValue > maxVal ? numValue : maxVal;
34
+ }, -Infinity);
35
+ }
36
+ //# sourceMappingURL=max.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"max.js","sourceRoot":"","sources":["../../src/array/max.ts"],"names":[],"mappings":";;AAgBA,kBAiBC;AAjCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,GAAG,CAAa,KAAU,EAAE,GAAa;IACxD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,CAAC,CAAC;IACV,CAAC;IAED,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE;YACpC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;YACxB,MAAM,QAAQ,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;YAC/D,OAAO,QAAQ,GAAG,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9C,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;IACf,CAAC;IAED,OAAQ,KAAkB,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QACnD,MAAM,QAAQ,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;QAC/D,OAAO,QAAQ,GAAG,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IAC9C,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;AACf,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Finds the minimum value in an array.
3
+ * If a key is provided, finds the minimum value of that property from each object.
4
+ *
5
+ * @template T - The type of elements in the array
6
+ * @param array - The array to search
7
+ * @param key - Optional key to find minimum value from objects
8
+ * @returns The minimum value, or 0 if array is empty
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * min([3, 1, 4, 1, 5]); // 1
13
+ * min([{ value: 5 }, { value: 2 }, { value: 8 }], 'value'); // 2
14
+ * min([]); // 0
15
+ * ```
16
+ */
17
+ export declare function min<T = number>(array: T[], key?: keyof T): number;
18
+ //# sourceMappingURL=min.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"min.d.ts","sourceRoot":"","sources":["../../src/array/min.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,CAiBjE"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.min = min;
4
+ /**
5
+ * Finds the minimum value in an array.
6
+ * If a key is provided, finds the minimum value of that property from each object.
7
+ *
8
+ * @template T - The type of elements in the array
9
+ * @param array - The array to search
10
+ * @param key - Optional key to find minimum value from objects
11
+ * @returns The minimum value, or 0 if array is empty
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * min([3, 1, 4, 1, 5]); // 1
16
+ * min([{ value: 5 }, { value: 2 }, { value: 8 }], 'value'); // 2
17
+ * min([]); // 0
18
+ * ```
19
+ */
20
+ function min(array, key) {
21
+ if (!Array.isArray(array) || array.length === 0) {
22
+ return 0;
23
+ }
24
+ if (key !== undefined) {
25
+ return array.reduce((minVal, item) => {
26
+ const value = item[key];
27
+ const numValue = typeof value === "number" ? value : Infinity;
28
+ return numValue < minVal ? numValue : minVal;
29
+ }, Infinity);
30
+ }
31
+ return array.reduce((minVal, value) => {
32
+ const numValue = typeof value === "number" ? value : Infinity;
33
+ return numValue < minVal ? numValue : minVal;
34
+ }, Infinity);
35
+ }
36
+ //# sourceMappingURL=min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"min.js","sourceRoot":"","sources":["../../src/array/min.ts"],"names":[],"mappings":";;AAgBA,kBAiBC;AAjCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,GAAG,CAAa,KAAU,EAAE,GAAa;IACxD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,CAAC,CAAC;IACV,CAAC;IAED,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE;YACpC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;YACxB,MAAM,QAAQ,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;YAC9D,OAAO,QAAQ,GAAG,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9C,CAAC,EAAE,QAAQ,CAAC,CAAC;IACd,CAAC;IAED,OAAQ,KAAkB,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QACnD,MAAM,QAAQ,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;QAC9D,OAAO,QAAQ,GAAG,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IAC9C,CAAC,EAAE,QAAQ,CAAC,CAAC;AACd,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Moves an element from one index to another in an array.
3
+ * Returns a new array without modifying the original.
4
+ *
5
+ * @template T - The type of elements in the array
6
+ * @param array - The array to modify
7
+ * @param fromIndex - The index of the element to move
8
+ * @param toIndex - The index to move the element to
9
+ * @returns A new array with the element moved
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * moveElement([1, 2, 3, 4], 0, 2); // [2, 3, 1, 4]
14
+ * moveElement(['a', 'b', 'c'], 2, 0); // ['c', 'a', 'b']
15
+ * ```
16
+ */
17
+ export declare function moveElement<T>(array: T[], fromIndex: number, toIndex: number): T[];
18
+ //# sourceMappingURL=moveElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moveElement.d.ts","sourceRoot":"","sources":["../../src/array/moveElement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC,EAAE,CAiClF"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.moveElement = moveElement;
4
+ /**
5
+ * Moves an element from one index to another in an array.
6
+ * Returns a new array without modifying the original.
7
+ *
8
+ * @template T - The type of elements in the array
9
+ * @param array - The array to modify
10
+ * @param fromIndex - The index of the element to move
11
+ * @param toIndex - The index to move the element to
12
+ * @returns A new array with the element moved
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * moveElement([1, 2, 3, 4], 0, 2); // [2, 3, 1, 4]
17
+ * moveElement(['a', 'b', 'c'], 2, 0); // ['c', 'a', 'b']
18
+ * ```
19
+ */
20
+ function moveElement(array, fromIndex, toIndex) {
21
+ if (!Array.isArray(array) || array.length === 0) {
22
+ return [];
23
+ }
24
+ // Normalize negative indices
25
+ const normalizedFrom = fromIndex < 0 ? array.length + fromIndex : fromIndex;
26
+ const normalizedTo = toIndex < 0 ? array.length + toIndex : toIndex;
27
+ // Validate indices
28
+ if (normalizedFrom < 0 || normalizedFrom >= array.length) {
29
+ return [...array];
30
+ }
31
+ const result = [...array];
32
+ const [element] = result.splice(normalizedFrom, 1);
33
+ // Element could be undefined if array access fails
34
+ if (element === undefined) {
35
+ return result;
36
+ }
37
+ // If toIndex is beyond array length, pad with undefined
38
+ if (normalizedTo >= result.length) {
39
+ while (result.length < normalizedTo) {
40
+ result.push(undefined);
41
+ }
42
+ result.push(element);
43
+ }
44
+ else {
45
+ result.splice(normalizedTo, 0, element);
46
+ }
47
+ return result;
48
+ }
49
+ //# sourceMappingURL=moveElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moveElement.js","sourceRoot":"","sources":["../../src/array/moveElement.ts"],"names":[],"mappings":";;AAgBA,kCAiCC;AAjDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAI,KAAU,EAAE,SAAiB,EAAE,OAAe;IAC5E,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,EAAE,CAAC;IACX,CAAC;IAED,6BAA6B;IAC7B,MAAM,cAAc,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5E,MAAM,YAAY,GAAG,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEpE,mBAAmB;IACnB,IAAI,cAAc,GAAG,CAAC,IAAI,cAAc,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QAC1D,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC;IACnB,CAAC;IAED,MAAM,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;IAC1B,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;IAEnD,mDAAmD;IACnD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,MAAM,CAAC;IACf,CAAC;IAED,wDAAwD;IACxD,IAAI,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;QACnC,OAAO,MAAM,CAAC,MAAM,GAAG,YAAY,EAAE,CAAC;YACrC,MAAM,CAAC,IAAI,CAAC,SAAc,CAAC,CAAC;QAC7B,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtB,CAAC;SAAM,CAAC;QACP,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;IACzC,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Returns a random element from an array.
3
+ *
4
+ * @template T - The type of elements in the array
5
+ * @param array - The array to get a random element from
6
+ * @returns A random element, or undefined if array is empty
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * randomElement([1, 2, 3, 4, 5]); // Random element from array
11
+ * randomElement([]); // undefined
12
+ * randomElement(['apple', 'banana', 'cherry']); // Random fruit
13
+ * ```
14
+ */
15
+ export declare function randomElement<T>(array: T[]): T | undefined;
16
+ //# sourceMappingURL=randomElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"randomElement.d.ts","sourceRoot":"","sources":["../../src/array/randomElement.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,CAAC,GAAG,SAAS,CAM1D"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.randomElement = randomElement;
4
+ const randomIndex_1 = require("./randomIndex");
5
+ /**
6
+ * Returns a random element from an array.
7
+ *
8
+ * @template T - The type of elements in the array
9
+ * @param array - The array to get a random element from
10
+ * @returns A random element, or undefined if array is empty
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * randomElement([1, 2, 3, 4, 5]); // Random element from array
15
+ * randomElement([]); // undefined
16
+ * randomElement(['apple', 'banana', 'cherry']); // Random fruit
17
+ * ```
18
+ */
19
+ function randomElement(array) {
20
+ if (!Array.isArray(array) || array.length === 0) {
21
+ return undefined;
22
+ }
23
+ const index = (0, randomIndex_1.randomIndex)(array);
24
+ return index >= 0 ? array[index] : undefined;
25
+ }
26
+ //# sourceMappingURL=randomElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"randomElement.js","sourceRoot":"","sources":["../../src/array/randomElement.ts"],"names":[],"mappings":";;AAgBA,sCAMC;AAtBD,+CAA4C;AAE5C;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAI,KAAU;IAC1C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,SAAS,CAAC;IAClB,CAAC;IACD,MAAM,KAAK,GAAG,IAAA,yBAAW,EAAC,KAAK,CAAC,CAAC;IACjC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9C,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Returns a random index from an array.
3
+ *
4
+ * @template T - The type of elements in the array
5
+ * @param array - The array to get a random index from
6
+ * @returns A random index, or -1 if array is empty
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * randomIndex([1, 2, 3, 4, 5]); // Random number between 0 and 4
11
+ * randomIndex([]); // -1
12
+ * ```
13
+ */
14
+ export declare function randomIndex<T>(array: T[]): number;
15
+ //# sourceMappingURL=randomIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"randomIndex.d.ts","sourceRoot":"","sources":["../../src/array/randomIndex.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,MAAM,CAKjD"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.randomIndex = randomIndex;
4
+ /**
5
+ * Returns a random index from an array.
6
+ *
7
+ * @template T - The type of elements in the array
8
+ * @param array - The array to get a random index from
9
+ * @returns A random index, or -1 if array is empty
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * randomIndex([1, 2, 3, 4, 5]); // Random number between 0 and 4
14
+ * randomIndex([]); // -1
15
+ * ```
16
+ */
17
+ function randomIndex(array) {
18
+ if (!Array.isArray(array) || array.length === 0) {
19
+ return -1;
20
+ }
21
+ return Math.floor(Math.random() * array.length);
22
+ }
23
+ //# sourceMappingURL=randomIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"randomIndex.js","sourceRoot":"","sources":["../../src/array/randomIndex.ts"],"names":[],"mappings":";;AAaA,kCAKC;AAlBD;;;;;;;;;;;;GAYG;AACH,SAAgB,WAAW,CAAI,KAAU;IACxC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,CAAC,CAAC,CAAC;IACX,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AACjD,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Removes the first occurrence of an item from an array.
3
+ * Returns a new array without modifying the original.
4
+ *
5
+ * @template T - The type of elements in the array
6
+ * @param array - The array to remove from
7
+ * @param item - The item to remove
8
+ * @returns A new array with the item removed
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * removeItem([1, 2, 3, 2], 2); // [1, 3, 2]
13
+ * removeItem(['a', 'b', 'c'], 'b'); // ['a', 'c']
14
+ * removeItem([1, 2, 3], 4); // [1, 2, 3]
15
+ * ```
16
+ */
17
+ export declare function removeItem<T>(array: T[], item: T): T[];
18
+ //# sourceMappingURL=removeItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeItem.d.ts","sourceRoot":"","sources":["../../src/array/removeItem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,CAWtD"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.removeItem = removeItem;
4
+ /**
5
+ * Removes the first occurrence of an item from an array.
6
+ * Returns a new array without modifying the original.
7
+ *
8
+ * @template T - The type of elements in the array
9
+ * @param array - The array to remove from
10
+ * @param item - The item to remove
11
+ * @returns A new array with the item removed
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * removeItem([1, 2, 3, 2], 2); // [1, 3, 2]
16
+ * removeItem(['a', 'b', 'c'], 'b'); // ['a', 'c']
17
+ * removeItem([1, 2, 3], 4); // [1, 2, 3]
18
+ * ```
19
+ */
20
+ function removeItem(array, item) {
21
+ if (!Array.isArray(array)) {
22
+ return [];
23
+ }
24
+ const index = array.indexOf(item);
25
+ if (index === -1) {
26
+ return [...array];
27
+ }
28
+ return [...array.slice(0, index), ...array.slice(index + 1)];
29
+ }
30
+ //# sourceMappingURL=removeItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeItem.js","sourceRoot":"","sources":["../../src/array/removeItem.ts"],"names":[],"mappings":";;AAgBA,gCAWC;AA3BD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAI,KAAU,EAAE,IAAO;IAChD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QAClB,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC;IACnB,CAAC;IAED,OAAO,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;AAC9D,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Removes the first item from an array where the specified property matches the given value.
3
+ * Returns a new array without modifying the original.
4
+ *
5
+ * @template T - The type of elements in the array
6
+ * @param array - The array to remove from
7
+ * @param key - The property key to match
8
+ * @param value - The value to match
9
+ * @returns A new array with the matching item removed
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const users = [
14
+ * { id: 1, name: 'Alice' },
15
+ * { id: 2, name: 'Bob' },
16
+ * { id: 3, name: 'Charlie' }
17
+ * ];
18
+ * removeItemByKey(users, 'id', 2);
19
+ * // [{ id: 1, name: 'Alice' }, { id: 3, name: 'Charlie' }]
20
+ * ```
21
+ */
22
+ export declare function removeItemByKey<T extends Record<string, unknown>>(array: T[], key: keyof T, value: unknown): T[];
23
+ //# sourceMappingURL=removeItemByKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeItemByKey.d.ts","sourceRoot":"","sources":["../../src/array/removeItemByKey.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,CAAC,EAAE,CAWhH"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.removeItemByKey = removeItemByKey;
4
+ /**
5
+ * Removes the first item from an array where the specified property matches the given value.
6
+ * Returns a new array without modifying the original.
7
+ *
8
+ * @template T - The type of elements in the array
9
+ * @param array - The array to remove from
10
+ * @param key - The property key to match
11
+ * @param value - The value to match
12
+ * @returns A new array with the matching item removed
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const users = [
17
+ * { id: 1, name: 'Alice' },
18
+ * { id: 2, name: 'Bob' },
19
+ * { id: 3, name: 'Charlie' }
20
+ * ];
21
+ * removeItemByKey(users, 'id', 2);
22
+ * // [{ id: 1, name: 'Alice' }, { id: 3, name: 'Charlie' }]
23
+ * ```
24
+ */
25
+ function removeItemByKey(array, key, value) {
26
+ if (!Array.isArray(array)) {
27
+ return [];
28
+ }
29
+ const index = array.findIndex((item) => item[key] === value);
30
+ if (index === -1) {
31
+ return [...array];
32
+ }
33
+ return [...array.slice(0, index), ...array.slice(index + 1)];
34
+ }
35
+ //# sourceMappingURL=removeItemByKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeItemByKey.js","sourceRoot":"","sources":["../../src/array/removeItemByKey.ts"],"names":[],"mappings":";;AAqBA,0CAWC;AAhCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAoC,KAAU,EAAE,GAAY,EAAE,KAAc;IAC1G,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,CAAC;IAC7D,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QAClB,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC;IACnB,CAAC;IAED,OAAO,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;AAC9D,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Gets N random elements from an array.
3
+ * If N is not specified or greater than array length, returns all elements shuffled.
4
+ *
5
+ * @template T - The type of elements in the array
6
+ * @param array - The array to sample from
7
+ * @param n - Number of elements to sample (optional)
8
+ * @returns A new array with N random elements
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * sample([1, 2, 3, 4, 5], 2); // Two random elements, e.g., [3, 1]
13
+ * sample(['a', 'b', 'c']); // All elements in random order
14
+ * sample([1, 2, 3], 5); // All elements in random order (n > length)
15
+ * ```
16
+ */
17
+ export declare function sample<T>(array: T[], n?: number): T[];
18
+ //# sourceMappingURL=sample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sample.d.ts","sourceRoot":"","sources":["../../src/array/sample.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,CAoCrD"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sample = sample;
4
+ /**
5
+ * Gets N random elements from an array.
6
+ * If N is not specified or greater than array length, returns all elements shuffled.
7
+ *
8
+ * @template T - The type of elements in the array
9
+ * @param array - The array to sample from
10
+ * @param n - Number of elements to sample (optional)
11
+ * @returns A new array with N random elements
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * sample([1, 2, 3, 4, 5], 2); // Two random elements, e.g., [3, 1]
16
+ * sample(['a', 'b', 'c']); // All elements in random order
17
+ * sample([1, 2, 3], 5); // All elements in random order (n > length)
18
+ * ```
19
+ */
20
+ function sample(array, n) {
21
+ if (!Array.isArray(array) || array.length === 0) {
22
+ return [];
23
+ }
24
+ const sampleSize = n !== undefined ? Math.min(n, array.length) : array.length;
25
+ if (sampleSize >= array.length) {
26
+ // Return shuffled copy of entire array
27
+ const result = [...array];
28
+ for (let i = result.length - 1; i > 0; i--) {
29
+ const j = Math.floor(Math.random() * (i + 1));
30
+ const temp = result[i];
31
+ result[i] = result[j];
32
+ result[j] = temp;
33
+ }
34
+ return result;
35
+ }
36
+ // Use Set to avoid duplicates when sampling
37
+ const result = [];
38
+ const taken = new Set();
39
+ const len = array.length;
40
+ while (result.length < sampleSize) {
41
+ const index = Math.floor(Math.random() * len);
42
+ if (!taken.has(index)) {
43
+ taken.add(index);
44
+ const element = array[index];
45
+ if (element !== undefined) {
46
+ result.push(element);
47
+ }
48
+ }
49
+ }
50
+ return result;
51
+ }
52
+ //# sourceMappingURL=sample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sample.js","sourceRoot":"","sources":["../../src/array/sample.ts"],"names":[],"mappings":";;AAgBA,wBAoCC;AApDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,MAAM,CAAI,KAAU,EAAE,CAAU;IAC/C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,UAAU,GAAG,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;IAE9E,IAAI,UAAU,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QAChC,uCAAuC;QACvC,MAAM,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;QAC1B,KAAK,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YAC5C,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC9C,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;YACvB,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAE,CAAC;YACvB,MAAM,CAAC,CAAC,CAAC,GAAG,IAAK,CAAC;QACnB,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC;IAED,4CAA4C;IAC5C,MAAM,MAAM,GAAQ,EAAE,CAAC;IACvB,MAAM,KAAK,GAAG,IAAI,GAAG,EAAU,CAAC;IAChC,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;IAEzB,OAAO,MAAM,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;QACnC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;QAC9C,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YACvB,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACjB,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;YAC7B,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBAC3B,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACtB,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Creates a new array with elements shuffled in random order.
3
+ * Uses the Fisher-Yates shuffle algorithm for uniform randomness.
4
+ *
5
+ * @template T - The type of elements in the array
6
+ * @param array - The array to shuffle
7
+ * @returns A new shuffled array
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * shuffle([1, 2, 3, 4, 5]); // e.g., [3, 1, 5, 2, 4]
12
+ * shuffle(['a', 'b', 'c']); // e.g., ['c', 'a', 'b']
13
+ * shuffle([]); // []
14
+ * ```
15
+ */
16
+ export declare function shuffle<T>(array: T[]): T[];
17
+ //# sourceMappingURL=shuffle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shuffle.d.ts","sourceRoot":"","sources":["../../src/array/shuffle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAe1C"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.shuffle = shuffle;
4
+ /**
5
+ * Creates a new array with elements shuffled in random order.
6
+ * Uses the Fisher-Yates shuffle algorithm for uniform randomness.
7
+ *
8
+ * @template T - The type of elements in the array
9
+ * @param array - The array to shuffle
10
+ * @returns A new shuffled array
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * shuffle([1, 2, 3, 4, 5]); // e.g., [3, 1, 5, 2, 4]
15
+ * shuffle(['a', 'b', 'c']); // e.g., ['c', 'a', 'b']
16
+ * shuffle([]); // []
17
+ * ```
18
+ */
19
+ function shuffle(array) {
20
+ if (!Array.isArray(array) || array.length === 0) {
21
+ return [];
22
+ }
23
+ const result = [...array];
24
+ for (let i = result.length - 1; i > 0; i--) {
25
+ const j = Math.floor(Math.random() * (i + 1));
26
+ const temp = result[i];
27
+ result[i] = result[j];
28
+ result[j] = temp;
29
+ }
30
+ return result;
31
+ }
32
+ //# sourceMappingURL=shuffle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shuffle.js","sourceRoot":"","sources":["../../src/array/shuffle.ts"],"names":[],"mappings":";;AAeA,0BAeC;AA9BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAI,KAAU;IACpC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjD,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;IAE1B,KAAK,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC5C,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC9C,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;QACvB,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAE,CAAC;QACvB,MAAM,CAAC,CAAC,CAAC,GAAG,IAAK,CAAC;IACnB,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC"}