@design-edito/tools 0.2.37 → 0.2.40

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 (749) hide show
  1. package/agnostic/arrays/dedupe/index.d.ts +7 -0
  2. package/agnostic/arrays/dedupe/index.js +10 -0
  3. package/agnostic/arrays/find-duplicates/index.d.ts +14 -0
  4. package/agnostic/arrays/find-duplicates/index.js +24 -5
  5. package/agnostic/arrays/find-duplicates/index.test.d.ts +1 -0
  6. package/agnostic/arrays/is-array-of/index.d.ts +15 -4
  7. package/agnostic/arrays/is-array-of/index.js +23 -4
  8. package/agnostic/arrays/is-array-of/index.test.d.ts +1 -0
  9. package/agnostic/arrays/make/index.d.ts +8 -0
  10. package/agnostic/arrays/make/index.js +6 -4
  11. package/agnostic/arrays/make/index.test.d.ts +1 -0
  12. package/agnostic/arrays/random-pick/index.d.ts +20 -0
  13. package/agnostic/arrays/random-pick/index.js +2 -10
  14. package/agnostic/arrays/random-pick/index.test.d.ts +1 -0
  15. package/agnostic/arrays/shuffle/index.d.ts +8 -0
  16. package/agnostic/arrays/shuffle/index.js +11 -4
  17. package/agnostic/arrays/shuffle/index.test.d.ts +1 -0
  18. package/agnostic/booleans/is-falsy/index.d.ts +17 -0
  19. package/agnostic/booleans/is-falsy/index.js +1 -1
  20. package/agnostic/colors/channels/index.d.ts +34 -0
  21. package/agnostic/colors/channels/index.js +6 -6
  22. package/agnostic/colors/contrast/index.d.ts +8 -0
  23. package/agnostic/colors/contrast/index.js +27 -8
  24. package/agnostic/colors/convert/index.d.ts +144 -0
  25. package/agnostic/colors/convert/index.js +5 -5
  26. package/agnostic/colors/distance/index.d.ts +8 -0
  27. package/agnostic/colors/distance/index.js +50 -7
  28. package/agnostic/colors/grayscale/index.d.ts +9 -1
  29. package/agnostic/colors/grayscale/index.js +156 -7
  30. package/agnostic/colors/invert/index.d.ts +8 -0
  31. package/agnostic/colors/invert/index.js +45 -7
  32. package/agnostic/colors/lerp/index.d.ts +12 -1
  33. package/agnostic/colors/lerp/index.js +97 -7
  34. package/agnostic/colors/luminance/index.d.ts +7 -0
  35. package/agnostic/colors/luminance/index.js +6 -6
  36. package/agnostic/colors/palette/index.d.ts +10 -1
  37. package/agnostic/colors/palette/index.js +104 -9
  38. package/agnostic/colors/rotate/index.d.ts +10 -1
  39. package/agnostic/colors/rotate/index.js +7 -7
  40. package/agnostic/colors/tidy/index.d.ts +9 -1
  41. package/agnostic/colors/tidy/index.js +5 -5
  42. package/agnostic/colors/typechecks/index.d.ts +60 -0
  43. package/agnostic/colors/typechecks/index.js +3 -3
  44. package/agnostic/colors/types.d.ts +106 -0
  45. package/agnostic/colors/types.js +2 -2
  46. package/agnostic/css/bem/index.d.ts +29 -6
  47. package/agnostic/css/bem/index.js +155 -6
  48. package/agnostic/css/generate-nice-color/index.d.ts +8 -2
  49. package/agnostic/css/generate-nice-color/index.js +70 -5
  50. package/agnostic/css/is-valid-css-class-name/index.d.ts +11 -0
  51. package/agnostic/css/is-valid-css-class-name/index.js +1 -1
  52. package/agnostic/css/styles-set/index.js +167 -15
  53. package/agnostic/errors/register/index.d.ts +31 -33
  54. package/agnostic/errors/register/index.js +49 -5
  55. package/agnostic/errors/unknown-to-string/index.d.ts +6 -0
  56. package/agnostic/errors/unknown-to-string/index.js +1 -1
  57. package/agnostic/html/get-node-ancestors/index.d.ts +12 -0
  58. package/agnostic/html/get-node-ancestors/index.js +1 -1
  59. package/agnostic/html/get-position-inside-parent/index.d.ts +8 -0
  60. package/agnostic/html/get-position-inside-parent/index.js +8 -4
  61. package/agnostic/html/hyper-json/cast/index.js +12 -12
  62. package/agnostic/html/hyper-json/index.js +40 -16
  63. package/agnostic/html/hyper-json/method/index.js +1 -1
  64. package/agnostic/html/hyper-json/serialize/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +12 -12
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +12 -12
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +12 -12
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +12 -12
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +12 -12
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +12 -12
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +12 -12
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +12 -12
  73. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +12 -12
  74. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +12 -12
  75. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +12 -12
  76. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +12 -12
  77. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +12 -12
  78. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +12 -12
  79. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +12 -12
  80. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +12 -12
  81. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +12 -12
  82. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +12 -12
  83. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +12 -12
  84. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +12 -12
  85. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +12 -12
  86. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +12 -12
  87. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +12 -12
  88. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +12 -12
  89. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +12 -12
  90. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +12 -12
  91. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +12 -12
  92. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +12 -12
  93. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +12 -12
  94. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +12 -12
  95. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +12 -12
  96. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +4 -3
  97. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +16 -14
  98. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +12 -12
  99. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +12 -12
  100. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +12 -12
  101. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +12 -12
  102. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +12 -12
  103. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +12 -12
  104. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +12 -12
  105. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +12 -12
  106. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +12 -12
  107. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +12 -12
  108. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +12 -12
  109. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +12 -12
  110. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +12 -12
  111. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +12 -12
  112. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +12 -12
  113. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +12 -12
  114. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +12 -12
  115. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +12 -12
  116. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +12 -12
  117. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +12 -12
  118. package/agnostic/html/hyper-json/smart-tags/index.js +4 -4
  119. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +5 -5
  120. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +5 -5
  121. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +12 -12
  122. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +12 -12
  123. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +12 -12
  124. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +12 -12
  125. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +12 -12
  126. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +12 -12
  127. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +5 -5
  128. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +12 -12
  129. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +12 -12
  130. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +12 -12
  131. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +12 -12
  132. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +12 -12
  133. package/agnostic/html/hyper-json/transformer/index.d.ts +1 -1
  134. package/agnostic/html/hyper-json/transformer/index.js +3 -3
  135. package/agnostic/html/hyper-json/tree/index.js +12 -12
  136. package/agnostic/html/hyper-json/types/index.d.ts +1 -1
  137. package/agnostic/html/hyper-json/types/index.js +1 -1
  138. package/agnostic/html/hyper-json/utils/index.d.ts +1 -1
  139. package/agnostic/html/hyper-json/utils/index.js +12 -12
  140. package/agnostic/html/insert-node/index.d.ts +17 -0
  141. package/agnostic/html/insert-node/index.js +1 -1
  142. package/agnostic/html/placeholders/index.d.ts +7 -9
  143. package/agnostic/html/placeholders/index.js +37 -5
  144. package/agnostic/html/replace-in-element/index.d.ts +14 -0
  145. package/agnostic/html/replace-in-element/index.js +1 -1
  146. package/agnostic/html/selector-to-element/index.d.ts +16 -1
  147. package/agnostic/html/selector-to-element/index.js +29 -11
  148. package/agnostic/html/string-to-nodes/index.d.ts +14 -7
  149. package/agnostic/html/string-to-nodes/index.js +14 -12
  150. package/agnostic/misc/assert/index.d.ts +5 -7
  151. package/agnostic/misc/assert/index.js +61 -8
  152. package/agnostic/misc/cast/index.d.ts +81 -10
  153. package/agnostic/misc/cast/index.js +18 -4
  154. package/agnostic/misc/connection/index.d.ts +26 -0
  155. package/agnostic/misc/connection/index.js +39 -0
  156. package/agnostic/misc/crawler/index.d.ts +63 -16
  157. package/agnostic/misc/crawler/index.js +36 -5
  158. package/agnostic/misc/crossenv/detect-runtime/index.d.ts +12 -2
  159. package/agnostic/misc/crossenv/detect-runtime/index.js +14 -5
  160. package/agnostic/misc/crossenv/types.d.ts +39 -0
  161. package/agnostic/misc/crossenv/types.js +7 -0
  162. package/agnostic/misc/crossenv/window/index.d.ts +28 -7
  163. package/agnostic/misc/crossenv/window/index.js +10 -4
  164. package/agnostic/misc/crossenv/window/index.test.d.ts +1 -0
  165. package/agnostic/misc/data-size/index.d.ts +43 -21
  166. package/agnostic/misc/data-size/index.js +270 -34
  167. package/agnostic/misc/data-size/types.d.ts +37 -0
  168. package/agnostic/misc/elo/index.d.ts +28 -30
  169. package/agnostic/misc/elo/index.js +27 -30
  170. package/agnostic/misc/is-constructor-function/index.d.ts +11 -0
  171. package/agnostic/misc/is-constructor-function/index.js +1 -1
  172. package/agnostic/misc/is-nullish/index.d.ts +22 -0
  173. package/agnostic/misc/is-nullish/index.js +1 -1
  174. package/agnostic/misc/logs/logger/index.js +109 -4
  175. package/agnostic/misc/logs/make-text-block/index.js +1 -1
  176. package/agnostic/misc/logs/styles/index.js +1 -1
  177. package/agnostic/misc/lorem-ipsum/index.d.ts +3 -5
  178. package/agnostic/misc/lorem-ipsum/index.js +187 -23
  179. package/agnostic/misc/normalize-extension/index.d.ts +10 -0
  180. package/agnostic/misc/normalize-extension/index.js +1 -1
  181. package/agnostic/misc/outcome/index.d.ts +56 -15
  182. package/agnostic/misc/outcome/index.js +8 -4
  183. package/agnostic/numbers/absolute-modulo/index.d.ts +7 -0
  184. package/agnostic/numbers/absolute-modulo/index.js +1 -1
  185. package/agnostic/numbers/clamp/index.d.ts +8 -0
  186. package/agnostic/numbers/clamp/index.js +1 -1
  187. package/agnostic/numbers/interpolate/index.d.ts +20 -1
  188. package/agnostic/numbers/interpolate/index.js +12 -7
  189. package/agnostic/numbers/responsive-harmonics/index.d.ts +20 -0
  190. package/agnostic/numbers/responsive-harmonics/index.js +49 -5
  191. package/agnostic/numbers/round/index.d.ts +24 -3
  192. package/agnostic/numbers/round/index.js +2 -2
  193. package/agnostic/objects/deep-get-property/index.d.ts +8 -0
  194. package/agnostic/objects/deep-get-property/index.js +23 -4
  195. package/agnostic/objects/enums/is-in-enum/index.d.ts +10 -0
  196. package/agnostic/objects/enums/is-in-enum/index.js +1 -1
  197. package/agnostic/objects/flatten-getters/index.d.ts +6 -0
  198. package/agnostic/objects/flatten-getters/index.js +19 -4
  199. package/agnostic/objects/is-object/index.d.ts +12 -0
  200. package/agnostic/objects/is-object/index.js +1 -1
  201. package/agnostic/objects/is-record/index.d.ts +6 -0
  202. package/agnostic/objects/is-record/index.js +1 -1
  203. package/agnostic/objects/record-format/index.d.ts +27 -0
  204. package/agnostic/objects/record-format/index.js +15 -4
  205. package/agnostic/objects/record-map/index.d.ts +9 -0
  206. package/agnostic/objects/record-map/index.js +1 -1
  207. package/agnostic/objects/validation/index.d.ts +11 -3
  208. package/agnostic/objects/validation/index.js +9 -5
  209. package/agnostic/optim/memoize/index.d.ts +10 -1
  210. package/agnostic/optim/memoize/index.js +16 -4
  211. package/agnostic/optim/throttle-debounce/index.js +110 -5
  212. package/agnostic/optim/throttle-debounce/types.d.ts +1 -1
  213. package/agnostic/random/hex-char/index.d.ts +2 -0
  214. package/agnostic/random/hex-char/index.js +1 -1
  215. package/agnostic/random/random/index.d.ts +14 -0
  216. package/agnostic/random/random/index.js +1 -1
  217. package/agnostic/random/uuid/index.d.ts +18 -0
  218. package/agnostic/random/uuid/index.js +1 -1
  219. package/agnostic/regexps/index.d.ts +95 -24
  220. package/agnostic/regexps/index.js +86 -5
  221. package/agnostic/sanitization/file-name/index.d.ts +13 -0
  222. package/agnostic/sanitization/file-name/index.js +7 -0
  223. package/agnostic/sanitization/html/index.d.ts +61 -0
  224. package/agnostic/sanitization/html/index.js +121 -0
  225. package/agnostic/sanitization/path/index.d.ts +11 -0
  226. package/agnostic/sanitization/path/index.js +14 -0
  227. package/agnostic/sanitization/types.d.ts +37 -0
  228. package/agnostic/sanitization/types.js +0 -0
  229. package/agnostic/sanitization/user-input/index.d.ts +13 -0
  230. package/agnostic/sanitization/user-input/index.js +23 -0
  231. package/agnostic/strings/char-codes/index.d.ts +82 -17
  232. package/agnostic/strings/char-codes/index.js +68 -5
  233. package/agnostic/strings/matches/index.d.ts +24 -0
  234. package/agnostic/strings/matches/index.js +1 -1
  235. package/agnostic/strings/normalize-indent/index.d.ts +22 -0
  236. package/agnostic/strings/normalize-indent/index.js +16 -4
  237. package/agnostic/strings/parse-table/index.d.ts +123 -66
  238. package/agnostic/strings/parse-table/index.js +83 -4
  239. package/agnostic/strings/replace-all/index.d.ts +20 -0
  240. package/agnostic/strings/replace-all/index.js +2 -2
  241. package/agnostic/strings/to-alphanum/index.d.ts +18 -0
  242. package/agnostic/strings/to-alphanum/index.js +8 -4
  243. package/agnostic/strings/trim/index.d.ts +18 -0
  244. package/agnostic/strings/trim/index.js +1 -1
  245. package/agnostic/time/dates/format-date/index.d.ts +47 -0
  246. package/agnostic/time/dates/format-date/index.js +58 -4
  247. package/agnostic/time/duration/index.d.ts +38 -25
  248. package/agnostic/time/duration/index.js +110 -5
  249. package/agnostic/time/timeout/index.d.ts +8 -0
  250. package/agnostic/time/timeout/index.js +16 -4
  251. package/agnostic/time/transitions/index.d.ts +73 -40
  252. package/agnostic/time/transitions/index.js +158 -5
  253. package/agnostic/time/wait/index.d.ts +6 -0
  254. package/agnostic/time/wait/index.js +1 -1
  255. package/chunks/{chunk-CLLJV343.js → chunk-27SSMK5F.js} +8 -7
  256. package/chunks/{chunk-FNQAF6CQ.js → chunk-2QDYPY2O.js} +5 -5
  257. package/chunks/{chunk-ON6LC3HE.js → chunk-2WSVYQ5Q.js} +6 -13
  258. package/chunks/chunk-4WE2WEXL.js +12 -0
  259. package/chunks/{chunk-QWNWZBIO.js → chunk-53ILYMIY.js} +8 -7
  260. package/chunks/{chunk-FF5NURFO.js → chunk-54KPQCVI.js} +6 -13
  261. package/chunks/{chunk-SRXNICSE.js → chunk-5CFQCSKJ.js} +6 -5
  262. package/chunks/{chunk-FKDPPFHV.js → chunk-5NTPCRFH.js} +1 -11
  263. package/chunks/{chunk-IV75M3KE.js → chunk-5O52VUI6.js} +6 -13
  264. package/chunks/{chunk-4XSDRT23.js → chunk-5X76KDYN.js} +7 -14
  265. package/chunks/{chunk-RHKFMXM3.js → chunk-65BFQP3T.js} +6 -5
  266. package/chunks/{chunk-7J7CYOXU.js → chunk-66BURDRK.js} +8 -15
  267. package/chunks/{chunk-ZEZCYPLQ.js → chunk-6BGIDRU5.js} +7 -14
  268. package/chunks/{chunk-5ZJ3KJPK.js → chunk-6YVXSCRH.js} +7 -14
  269. package/chunks/{chunk-NMYVJJXV.js → chunk-7B2E2NGH.js} +7 -14
  270. package/chunks/{chunk-YXLHZ2KW.js → chunk-AKFDKOHE.js} +2 -2
  271. package/chunks/{chunk-QAVYONH6.js → chunk-AKNR3U25.js} +5 -5
  272. package/chunks/{chunk-CVDCTI7F.js → chunk-AOEOW5XW.js} +7 -14
  273. package/chunks/{chunk-QSU3CVGF.js → chunk-ASWI3EO6.js} +6 -5
  274. package/chunks/{chunk-QWZ4ZNFA.js → chunk-AV373PHY.js} +8 -15
  275. package/chunks/{chunk-VROZGPC5.js → chunk-AXMAF3J2.js} +7 -14
  276. package/chunks/{chunk-QTA7ZEVX.js → chunk-AYGAQQXD.js} +6 -5
  277. package/chunks/chunk-BHGRXDTS.js +28 -0
  278. package/chunks/{chunk-CNYSX2L2.js → chunk-BQABPH3I.js} +7 -14
  279. package/chunks/{chunk-WV5N7ESL.js → chunk-BQXTV2GG.js} +9 -16
  280. package/chunks/{chunk-37TRFYZT.js → chunk-BXFRBV67.js} +6 -13
  281. package/chunks/{chunk-3LCD73SB.js → chunk-C4VX4TTP.js} +1 -1
  282. package/chunks/{chunk-3CLGBOHN.js → chunk-DBNCEHTT.js} +6 -13
  283. package/chunks/{chunk-HRNDUTZE.js → chunk-DBZAJJUF.js} +8 -15
  284. package/chunks/{chunk-SXRWMH3U.js → chunk-DUCLFPGE.js} +5 -5
  285. package/chunks/{chunk-UK2F7CWI.js → chunk-EBQRPRRC.js} +6 -13
  286. package/chunks/{chunk-TGVYEQIA.js → chunk-EEPLTO3E.js} +7 -14
  287. package/chunks/{chunk-D5CCWCEI.js → chunk-ENOTZXFS.js} +1 -1
  288. package/chunks/{chunk-ZTDVUXPR.js → chunk-EPUHVR7J.js} +1 -0
  289. package/chunks/{chunk-NCYE5WML.js → chunk-FAAIUU6V.js} +4 -4
  290. package/chunks/{chunk-REZC75LB.js → chunk-FH74QWR6.js} +10 -18
  291. package/chunks/{chunk-FD5WR2A5.js → chunk-FM3HGCFL.js} +8 -15
  292. package/chunks/{chunk-W3RXHN5I.js → chunk-FSI422YG.js} +6 -13
  293. package/chunks/{chunk-UT2J62LH.js → chunk-HEY7J6GI.js} +1 -1
  294. package/chunks/chunk-HOFEVF7T.js +61 -0
  295. package/chunks/chunk-HYPEWMYZ.js +10 -0
  296. package/chunks/{chunk-V3L55I2S.js → chunk-IBQQCUYV.js} +6 -13
  297. package/chunks/{chunk-2HJPX7E3.js → chunk-IK2S6ZYP.js} +6 -5
  298. package/chunks/{chunk-V3GX7SIJ.js → chunk-ISJONMNA.js} +1 -13
  299. package/chunks/{chunk-ZJTWDCNZ.js → chunk-J5D4OQ5U.js} +6 -13
  300. package/chunks/{chunk-67V4BGOB.js → chunk-JDINERKY.js} +1 -1
  301. package/chunks/{chunk-ZSUG52DO.js → chunk-JFXEMK66.js} +6 -13
  302. package/chunks/{chunk-RWO53U4X.js → chunk-JN2UETL4.js} +7 -14
  303. package/chunks/chunk-JU23NBY2.js +22 -0
  304. package/chunks/{chunk-BKO7GLC2.js → chunk-JVMFT3IT.js} +7 -6
  305. package/chunks/{chunk-AQBJ6HNB.js → chunk-K5UF634H.js} +1 -5
  306. package/chunks/{chunk-7UGMWTP5.js → chunk-KRYJVBO5.js} +1 -10
  307. package/chunks/{chunk-DZ2T5DTY.js → chunk-LFHDJTZJ.js} +1 -1
  308. package/chunks/{chunk-3G6FOHII.js → chunk-MHNUCHPP.js} +6 -5
  309. package/chunks/{chunk-P5JJOC5K.js → chunk-MSJ7WDFX.js} +8 -7
  310. package/chunks/{chunk-5VHFXWFM.js → chunk-NEMHJSNM.js} +6 -13
  311. package/chunks/{chunk-BWYH445G.js → chunk-NIIAUOBO.js} +6 -13
  312. package/chunks/{chunk-HFZGH6V2.js → chunk-NR7STUY3.js} +6 -5
  313. package/chunks/{chunk-2JH4TCT2.js → chunk-O66PEU62.js} +6 -13
  314. package/chunks/{chunk-QH64MYGA.js → chunk-O7UCJNVF.js} +7 -14
  315. package/chunks/{chunk-WAHPAZQS.js → chunk-OF2W4ZRG.js} +6 -13
  316. package/chunks/{chunk-P26Y7YUA.js → chunk-PTJO2TGI.js} +6 -5
  317. package/chunks/{chunk-BE7OXZRK.js → chunk-PTN2V757.js} +7 -14
  318. package/chunks/chunk-QEKI6WGQ.js +27 -0
  319. package/chunks/{chunk-EOE2ODJR.js → chunk-QHEWBOQI.js} +3 -3
  320. package/chunks/{chunk-N2T672IG.js → chunk-RGQNRTBI.js} +6 -13
  321. package/chunks/chunk-ROWPCMQY.js +29 -0
  322. package/chunks/{chunk-KJAEVOIW.js → chunk-S2I77NEE.js} +8 -15
  323. package/chunks/{chunk-CWZFRUBS.js → chunk-S6ZFFGWH.js} +7 -14
  324. package/chunks/{chunk-6IYUA43Q.js → chunk-SBBIQ5UH.js} +7 -14
  325. package/chunks/{chunk-NGIZKJDJ.js → chunk-SGGJJ46D.js} +335 -327
  326. package/chunks/{chunk-YVKM7N55.js → chunk-U225LGOV.js} +8 -7
  327. package/chunks/{chunk-HWEGQVBQ.js → chunk-ULYGDEW2.js} +6 -13
  328. package/chunks/{chunk-QAQZEKIF.js → chunk-USIYKRNX.js} +6 -6
  329. package/chunks/{chunk-FB3GNE2B.js → chunk-UZ4SWSOZ.js} +8 -15
  330. package/chunks/{chunk-4XBUJAQU.js → chunk-VU6JYR3W.js} +7 -14
  331. package/chunks/{chunk-FE4DECBU.js → chunk-VYDUHDXW.js} +7 -14
  332. package/chunks/{chunk-BSUQNHAM.js → chunk-W5VY535B.js} +7 -14
  333. package/chunks/{chunk-STPN5KZL.js → chunk-WF2JNQV4.js} +8 -7
  334. package/chunks/chunk-XCBH6NLF.js +42 -0
  335. package/chunks/chunk-XIIJYVJZ.js +15 -0
  336. package/chunks/{chunk-QDVDHFMZ.js → chunk-Y6FD4ASO.js} +7 -14
  337. package/chunks/{chunk-C6QTHDDM.js → chunk-YOP6WVCF.js} +7 -14
  338. package/chunks/chunk-ZKIQ753F.js +23 -0
  339. package/chunks/{chunk-QLDN574K.js → chunk-ZTPRFEPV.js} +7 -14
  340. package/components/Comp/index.js +7 -4
  341. package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +4 -12
  342. package/node/@aws-s3/storage/directory/copy-dir/index.js +3 -3
  343. package/node/@aws-s3/storage/directory/list/index.d.ts +1 -1
  344. package/node/@aws-s3/storage/directory/list/index.js +3 -3
  345. package/node/@aws-s3/storage/directory/move-dir/index.d.ts +1 -1
  346. package/node/@aws-s3/storage/directory/move-dir/index.js +3 -3
  347. package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +1 -1
  348. package/node/@aws-s3/storage/directory/remove-dir/index.js +3 -3
  349. package/node/@aws-s3/storage/file/copy/index.d.ts +1 -1
  350. package/node/@aws-s3/storage/file/copy/index.js +3 -3
  351. package/node/@aws-s3/storage/file/download/index.d.ts +1 -1
  352. package/node/@aws-s3/storage/file/download/index.js +3 -3
  353. package/node/@aws-s3/storage/file/exists/index.d.ts +1 -1
  354. package/node/@aws-s3/storage/file/exists/index.js +3 -3
  355. package/node/@aws-s3/storage/file/move/index.d.ts +1 -1
  356. package/node/@aws-s3/storage/file/move/index.js +3 -3
  357. package/node/@aws-s3/storage/file/remove/index.d.ts +1 -1
  358. package/node/@aws-s3/storage/file/remove/index.js +3 -3
  359. package/node/@aws-s3/storage/file/stat/index.d.ts +1 -1
  360. package/node/@aws-s3/storage/file/stat/index.js +3 -3
  361. package/node/@aws-s3/storage/file/upload/index.d.ts +1 -1
  362. package/node/@aws-s3/storage/file/upload/index.js +3 -3
  363. package/node/@design-edito/index.d.ts +1 -2
  364. package/node/@design-edito/index.js +0 -8
  365. package/node/@express/@multer/index.d.ts +34 -1
  366. package/node/@express/@multer/index.js +43 -5
  367. package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +1 -1
  368. package/node/@google-cloud/storage/bucket/get-metadata/index.js +18 -5
  369. package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +1 -1
  370. package/node/@google-cloud/storage/directory/copy-dir/index.js +3 -3
  371. package/node/@google-cloud/storage/directory/list/index.d.ts +1 -1
  372. package/node/@google-cloud/storage/directory/list/index.js +3 -3
  373. package/node/@google-cloud/storage/directory/move-dir/index.d.ts +1 -1
  374. package/node/@google-cloud/storage/directory/move-dir/index.js +3 -3
  375. package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +1 -1
  376. package/node/@google-cloud/storage/directory/remove-dir/index.js +3 -3
  377. package/node/@google-cloud/storage/file/copy/index.d.ts +1 -1
  378. package/node/@google-cloud/storage/file/copy/index.js +3 -3
  379. package/node/@google-cloud/storage/file/download/index.d.ts +1 -1
  380. package/node/@google-cloud/storage/file/download/index.js +3 -3
  381. package/node/@google-cloud/storage/file/exists/index.d.ts +1 -1
  382. package/node/@google-cloud/storage/file/exists/index.js +3 -3
  383. package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +1 -1
  384. package/node/@google-cloud/storage/file/generate-signed-url/index.js +24 -5
  385. package/node/@google-cloud/storage/file/get-metadata/index.d.ts +1 -1
  386. package/node/@google-cloud/storage/file/get-metadata/index.js +20 -5
  387. package/node/@google-cloud/storage/file/get-permissions/index.d.ts +1 -1
  388. package/node/@google-cloud/storage/file/get-permissions/index.js +20 -5
  389. package/node/@google-cloud/storage/file/move/index.d.ts +1 -1
  390. package/node/@google-cloud/storage/file/move/index.js +3 -3
  391. package/node/@google-cloud/storage/file/remove/index.d.ts +1 -1
  392. package/node/@google-cloud/storage/file/remove/index.js +3 -3
  393. package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +1 -1
  394. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +25 -7
  395. package/node/@google-cloud/storage/file/stat/index.d.ts +1 -1
  396. package/node/@google-cloud/storage/file/stat/index.js +3 -3
  397. package/node/@google-cloud/storage/file/update-metadata/index.d.ts +1 -1
  398. package/node/@google-cloud/storage/file/update-metadata/index.js +20 -5
  399. package/node/@google-cloud/storage/file/upload/index.d.ts +1 -1
  400. package/node/@google-cloud/storage/file/upload/index.js +3 -3
  401. package/node/cloud-storage/clients/index.d.ts +27 -0
  402. package/node/cloud-storage/clients/index.js +2 -2
  403. package/node/cloud-storage/operations/copy-dir/index.d.ts +46 -1
  404. package/node/cloud-storage/operations/copy-dir/index.js +30 -9
  405. package/node/cloud-storage/operations/copy-file/index.d.ts +46 -1
  406. package/node/cloud-storage/operations/copy-file/index.js +30 -9
  407. package/node/cloud-storage/operations/download-file/index.d.ts +50 -1
  408. package/node/cloud-storage/operations/download-file/index.js +30 -9
  409. package/node/cloud-storage/operations/exists-file/index.d.ts +44 -1
  410. package/node/cloud-storage/operations/exists-file/index.js +30 -9
  411. package/node/cloud-storage/operations/list-dir/index.d.ts +40 -1
  412. package/node/cloud-storage/operations/list-dir/index.js +30 -9
  413. package/node/cloud-storage/operations/move-dir/index.d.ts +46 -1
  414. package/node/cloud-storage/operations/move-dir/index.js +30 -9
  415. package/node/cloud-storage/operations/move-file/index.d.ts +46 -1
  416. package/node/cloud-storage/operations/move-file/index.js +30 -9
  417. package/node/cloud-storage/operations/remove-dir/index.d.ts +42 -1
  418. package/node/cloud-storage/operations/remove-dir/index.js +30 -9
  419. package/node/cloud-storage/operations/remove-file/index.d.ts +42 -1
  420. package/node/cloud-storage/operations/remove-file/index.js +30 -9
  421. package/node/cloud-storage/operations/stat-file/index.d.ts +40 -1
  422. package/node/cloud-storage/operations/stat-file/index.js +30 -9
  423. package/node/cloud-storage/operations/upload-file/index.d.ts +46 -1
  424. package/node/cloud-storage/operations/upload-file/index.js +30 -9
  425. package/node/encryption/@aes-256-gcm/buffer/index.d.ts +1 -1
  426. package/node/encryption/@aes-256-gcm/buffer/index.js +22 -6
  427. package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +1 -1
  428. package/node/encryption/@aes-256-gcm/uint8-array/index.js +3 -3
  429. package/node/encryption/key/index.js +12 -4
  430. package/node/files/is-in-directory/index.d.ts +7 -0
  431. package/node/files/is-in-directory/index.js +8 -4
  432. package/node/files/read-write/index.d.ts +48 -4
  433. package/node/files/read-write/index.js +15 -4
  434. package/node/files/subpaths/index.d.ts +62 -33
  435. package/node/files/subpaths/index.js +119 -5
  436. package/node/ftps/directory/copy-dir/index.d.ts +1 -1
  437. package/node/ftps/directory/copy-dir/index.js +3 -3
  438. package/node/ftps/directory/list/index.d.ts +1 -1
  439. package/node/ftps/directory/list/index.js +3 -3
  440. package/node/ftps/directory/move-dir/index.d.ts +1 -1
  441. package/node/ftps/directory/move-dir/index.js +3 -3
  442. package/node/ftps/directory/remove-dir/index.d.ts +1 -1
  443. package/node/ftps/directory/remove-dir/index.js +3 -3
  444. package/node/ftps/file/copy/index.d.ts +1 -1
  445. package/node/ftps/file/copy/index.js +3 -3
  446. package/node/ftps/file/download/index.d.ts +1 -1
  447. package/node/ftps/file/download/index.js +3 -3
  448. package/node/ftps/file/exists/index.d.ts +1 -1
  449. package/node/ftps/file/exists/index.js +3 -3
  450. package/node/ftps/file/move/index.d.ts +1 -1
  451. package/node/ftps/file/move/index.js +3 -3
  452. package/node/ftps/file/remove/index.d.ts +1 -1
  453. package/node/ftps/file/remove/index.js +3 -3
  454. package/node/ftps/file/stat/index.d.ts +1 -1
  455. package/node/ftps/file/stat/index.js +3 -3
  456. package/node/ftps/file/upload/index.d.ts +1 -1
  457. package/node/ftps/file/upload/index.js +3 -3
  458. package/node/images/create/index.d.ts +6 -0
  459. package/node/images/create/index.js +13 -18
  460. package/node/images/format/index.d.ts +36 -1
  461. package/node/images/format/index.js +241 -44
  462. package/node/images/metadata/index.d.ts +6 -0
  463. package/node/images/metadata/index.js +13 -18
  464. package/node/images/transform/index.d.ts +23 -1
  465. package/node/images/transform/index.js +199 -39
  466. package/node/images/transform/operations/blur/index.d.ts +1 -1
  467. package/node/images/transform/operations/blur/index.js +4 -4
  468. package/node/images/transform/operations/brighten/index.d.ts +1 -1
  469. package/node/images/transform/operations/brighten/index.js +4 -4
  470. package/node/images/transform/operations/extend/index.d.ts +1 -1
  471. package/node/images/transform/operations/extend/index.js +9 -19
  472. package/node/images/transform/operations/extract/index.d.ts +1 -1
  473. package/node/images/transform/operations/extract/index.js +4 -4
  474. package/node/images/transform/operations/flatten/index.d.ts +1 -1
  475. package/node/images/transform/operations/flatten/index.js +9 -19
  476. package/node/images/transform/operations/flip/index.js +1 -1
  477. package/node/images/transform/operations/flop/index.js +1 -1
  478. package/node/images/transform/operations/hue/index.d.ts +1 -1
  479. package/node/images/transform/operations/hue/index.js +4 -4
  480. package/node/images/transform/operations/level/index.d.ts +1 -1
  481. package/node/images/transform/operations/level/index.js +4 -4
  482. package/node/images/transform/operations/lighten/index.d.ts +1 -1
  483. package/node/images/transform/operations/lighten/index.js +4 -4
  484. package/node/images/transform/operations/normalize/index.d.ts +1 -1
  485. package/node/images/transform/operations/normalize/index.js +4 -4
  486. package/node/images/transform/operations/overlay/index.d.ts +1 -1
  487. package/node/images/transform/operations/overlay/index.js +9 -19
  488. package/node/images/transform/operations/resize/index.d.ts +1 -1
  489. package/node/images/transform/operations/resize/index.js +9 -19
  490. package/node/images/transform/operations/rotate/index.d.ts +1 -1
  491. package/node/images/transform/operations/rotate/index.js +9 -19
  492. package/node/images/transform/operations/saturate/index.d.ts +1 -1
  493. package/node/images/transform/operations/saturate/index.js +4 -4
  494. package/node/images/types.d.ts +136 -1
  495. package/node/images/types.js +2 -2
  496. package/node/images/utils/index.d.ts +20 -0
  497. package/node/images/utils/index.js +6 -16
  498. package/node/process/on-exit/index.d.ts +23 -0
  499. package/node/process/on-exit/index.js +25 -8
  500. package/node/process/prompt-continue/index.d.ts +18 -0
  501. package/node/process/prompt-continue/index.js +1680 -0
  502. package/node/process/spawner/index.d.ts +18 -0
  503. package/node/process/spawner/index.js +83 -0
  504. package/node/sftp/directory/copy-dir/index.d.ts +1 -1
  505. package/node/sftp/directory/copy-dir/index.js +3 -3
  506. package/node/sftp/directory/list/index.d.ts +1 -1
  507. package/node/sftp/directory/list/index.js +3 -3
  508. package/node/sftp/directory/move-dir/index.d.ts +1 -1
  509. package/node/sftp/directory/move-dir/index.js +3 -3
  510. package/node/sftp/directory/remove-dir/index.d.ts +1 -1
  511. package/node/sftp/directory/remove-dir/index.js +3 -3
  512. package/node/sftp/file/copy/index.d.ts +1 -1
  513. package/node/sftp/file/copy/index.js +3 -3
  514. package/node/sftp/file/download/index.d.ts +1 -1
  515. package/node/sftp/file/download/index.js +3 -3
  516. package/node/sftp/file/exists/index.d.ts +1 -1
  517. package/node/sftp/file/exists/index.js +3 -3
  518. package/node/sftp/file/move/index.d.ts +1 -1
  519. package/node/sftp/file/move/index.js +3 -3
  520. package/node/sftp/file/remove/index.d.ts +1 -1
  521. package/node/sftp/file/remove/index.js +3 -3
  522. package/node/sftp/file/stat/index.d.ts +1 -1
  523. package/node/sftp/file/stat/index.js +3 -3
  524. package/node/sftp/file/upload/index.d.ts +1 -1
  525. package/node/sftp/file/upload/index.js +3 -3
  526. package/package.json +11 -3
  527. package/agnostic/arrays/index.d.ts +0 -13
  528. package/agnostic/arrays/index.js +0 -21
  529. package/agnostic/booleans/index.d.ts +0 -8
  530. package/agnostic/booleans/index.js +0 -9
  531. package/agnostic/colors/index.d.ts +0 -14
  532. package/agnostic/colors/index.js +0 -107
  533. package/agnostic/css/bem/BEM.d.ts +0 -29
  534. package/agnostic/css/bem/getNamesArr.d.ts +0 -2
  535. package/agnostic/css/index.d.ts +0 -14
  536. package/agnostic/css/index.js +0 -25
  537. package/agnostic/errors/index.d.ts +0 -6
  538. package/agnostic/errors/index.js +0 -9
  539. package/agnostic/html/index.d.ts +0 -19
  540. package/agnostic/html/index.js +0 -39
  541. package/agnostic/html/sanitize/index.d.ts +0 -24
  542. package/agnostic/html/sanitize/index.js +0 -15
  543. package/agnostic/index.d.ts +0 -26
  544. package/agnostic/index.js +0 -144
  545. package/agnostic/misc/crossenv/index.d.ts +0 -8
  546. package/agnostic/misc/crossenv/index.js +0 -10
  547. package/agnostic/misc/crossenv/types/index.d.ts +0 -19
  548. package/agnostic/misc/crossenv/types/index.js +0 -7
  549. package/agnostic/misc/get-current-downlink/index.d.ts +0 -1
  550. package/agnostic/misc/get-current-downlink/index.js +0 -7
  551. package/agnostic/misc/index.d.ts +0 -25
  552. package/agnostic/misc/index.js +0 -65
  553. package/agnostic/misc/logs/index.d.ts +0 -17
  554. package/agnostic/misc/logs/index.js +0 -10
  555. package/agnostic/numbers/index.d.ts +0 -13
  556. package/agnostic/numbers/index.js +0 -12
  557. package/agnostic/objects/enums/index.d.ts +0 -4
  558. package/agnostic/objects/enums/index.js +0 -8
  559. package/agnostic/objects/index.d.ts +0 -19
  560. package/agnostic/objects/index.js +0 -19
  561. package/agnostic/optim/index.d.ts +0 -7
  562. package/agnostic/optim/index.js +0 -9
  563. package/agnostic/random/index.d.ts +0 -12
  564. package/agnostic/random/index.js +0 -10
  565. package/agnostic/sanitization/index.d.ts +0 -3
  566. package/agnostic/sanitization/index.js +0 -35
  567. package/agnostic/strings/index.d.ts +0 -19
  568. package/agnostic/strings/index.js +0 -15
  569. package/agnostic/time/dates/index.d.ts +0 -4
  570. package/agnostic/time/dates/index.js +0 -8
  571. package/agnostic/time/index.d.ts +0 -12
  572. package/agnostic/time/index.js +0 -30
  573. package/chunks/chunk-34U4HX4V.js +0 -73
  574. package/chunks/chunk-42K3MQQ5.js +0 -31
  575. package/chunks/chunk-5CTAKAIP.js +0 -28
  576. package/chunks/chunk-5ZPVE6NR.js +0 -40
  577. package/chunks/chunk-63J76ST6.js +0 -191
  578. package/chunks/chunk-6KM4UT6T.js +0 -34
  579. package/chunks/chunk-6NYUQXJT.js +0 -109
  580. package/chunks/chunk-6RGDWX4A.js +0 -24
  581. package/chunks/chunk-6UXES4W7.js +0 -40
  582. package/chunks/chunk-6YQGM6N6.js +0 -19
  583. package/chunks/chunk-73UGWJYI.js +0 -31
  584. package/chunks/chunk-7AWTHZLY.js +0 -12
  585. package/chunks/chunk-7DBNMU6N.js +0 -14
  586. package/chunks/chunk-7NLDR53D.js +0 -16
  587. package/chunks/chunk-7YJ4BB73.js +0 -20
  588. package/chunks/chunk-A3CDUWGR.js +0 -73
  589. package/chunks/chunk-AL7ESVX4.js +0 -42
  590. package/chunks/chunk-ALAGBHFV.js +0 -42
  591. package/chunks/chunk-ALFP7OQ3.js +0 -24
  592. package/chunks/chunk-ANPXBD2G.js +0 -35
  593. package/chunks/chunk-BDGFY3GP.js +0 -42
  594. package/chunks/chunk-BGSJ5XCH.js +0 -20
  595. package/chunks/chunk-BJAYUP7M.js +0 -13
  596. package/chunks/chunk-BLDUC7TT.js +0 -17
  597. package/chunks/chunk-BPYICFMX.js +0 -37
  598. package/chunks/chunk-CKENYYWH.js +0 -28
  599. package/chunks/chunk-COVPTTAD.js +0 -10
  600. package/chunks/chunk-DFDH7MGI.js +0 -206
  601. package/chunks/chunk-DKITT7OT.js +0 -296
  602. package/chunks/chunk-EDVNAV3G.js +0 -72
  603. package/chunks/chunk-EGBJXHCW.js +0 -47
  604. package/chunks/chunk-ENMBK6H7.js +0 -162
  605. package/chunks/chunk-EZ22Z22X.js +0 -28
  606. package/chunks/chunk-F3WCF6DL.js +0 -122
  607. package/chunks/chunk-FHLCPVND.js +0 -23
  608. package/chunks/chunk-FLE22O3O.js +0 -56
  609. package/chunks/chunk-FNGETPCZ.js +0 -84
  610. package/chunks/chunk-FPEW3A27.js +0 -14
  611. package/chunks/chunk-FR5H2OCV.js +0 -21
  612. package/chunks/chunk-FZOU4OAW.js +0 -13
  613. package/chunks/chunk-G4ZB72XY.js +0 -257
  614. package/chunks/chunk-GL42Q643.js +0 -42
  615. package/chunks/chunk-GXOIVZUI.js +0 -60
  616. package/chunks/chunk-GYEO7JZV.js +0 -112
  617. package/chunks/chunk-HKTNK262.js +0 -23
  618. package/chunks/chunk-HWVEI3RH.js +0 -31
  619. package/chunks/chunk-IRTPQATN.js +0 -16
  620. package/chunks/chunk-JBSS64SA.js +0 -6
  621. package/chunks/chunk-JMU5PDBD.js +0 -20
  622. package/chunks/chunk-JQXNEJAP.js +0 -18
  623. package/chunks/chunk-JTJA7DGW.js +0 -36
  624. package/chunks/chunk-JWBDZPQG.js +0 -18
  625. package/chunks/chunk-KIONYWA7.js +0 -168
  626. package/chunks/chunk-KXIA3YGF.js +0 -54
  627. package/chunks/chunk-L7PIZQFC.js +0 -51
  628. package/chunks/chunk-LEXQ6E6L.js +0 -31
  629. package/chunks/chunk-LGBQWEXH.js +0 -40
  630. package/chunks/chunk-LV2VMOWR.js +0 -18
  631. package/chunks/chunk-MFIGSRSO.js +0 -103
  632. package/chunks/chunk-MJQF3YZO.js +0 -21
  633. package/chunks/chunk-MVYH3CSJ.js +0 -42
  634. package/chunks/chunk-NK62JYTD.js +0 -43
  635. package/chunks/chunk-NRITRUZW.js +0 -10
  636. package/chunks/chunk-NUPAV2JX.js +0 -20
  637. package/chunks/chunk-OC4VIF3N.js +0 -42
  638. package/chunks/chunk-OKFZJ6DJ.js +0 -9
  639. package/chunks/chunk-OVG5RGI3.js +0 -29
  640. package/chunks/chunk-OYDCT5KK.js +0 -32
  641. package/chunks/chunk-PAIUCLVK.js +0 -35
  642. package/chunks/chunk-PVRYR5KX.js +0 -21
  643. package/chunks/chunk-QCOO4PV5.js +0 -54
  644. package/chunks/chunk-QHAB6XYD.js +0 -30
  645. package/chunks/chunk-QHLQVR3E.js +0 -54
  646. package/chunks/chunk-QKE2IYT5.js +0 -42
  647. package/chunks/chunk-QTF7LWGT.js +0 -28
  648. package/chunks/chunk-QVPS2BCJ.js +0 -29
  649. package/chunks/chunk-R4DZKWSR.js +0 -42
  650. package/chunks/chunk-RASMASS4.js +0 -111
  651. package/chunks/chunk-RLAZR3NL.js +0 -8
  652. package/chunks/chunk-RLJOYG64.js +0 -33
  653. package/chunks/chunk-S2NMAH7K.js +0 -19
  654. package/chunks/chunk-S4VO4PFZ.js +0 -37
  655. package/chunks/chunk-SKBOSWM2.js +0 -35
  656. package/chunks/chunk-SKMCIFS3.js +0 -27
  657. package/chunks/chunk-SNJJII7A.js +0 -65
  658. package/chunks/chunk-TAUQZCR6.js +0 -41
  659. package/chunks/chunk-TGDJWP5U.js +0 -20
  660. package/chunks/chunk-TIER4TF4.js +0 -26
  661. package/chunks/chunk-U4ORVPZC.js +0 -175
  662. package/chunks/chunk-UEAMPAHK.js +0 -28
  663. package/chunks/chunk-UNXRB2AV.js +0 -16
  664. package/chunks/chunk-V3NHCEO5.js +0 -31
  665. package/chunks/chunk-VFJYLXCI.js +0 -23
  666. package/chunks/chunk-VJJIYJMY.js +0 -13
  667. package/chunks/chunk-VTPRO4NJ.js +0 -10
  668. package/chunks/chunk-VYW4IADX.js +0 -35
  669. package/chunks/chunk-VZDUZTW6.js +0 -113
  670. package/chunks/chunk-WAMSK4A3.js +0 -67
  671. package/chunks/chunk-WH6BPDAC.js +0 -17
  672. package/chunks/chunk-WJBQ2BO4.js +0 -16
  673. package/chunks/chunk-WOAYU6LB.js +0 -13
  674. package/chunks/chunk-WOYF3N4A.js +0 -31
  675. package/chunks/chunk-WSC3WODJ.js +0 -157
  676. package/chunks/chunk-WSFCRVEQ.js +0 -9
  677. package/chunks/chunk-X53BGT33.js +0 -42
  678. package/chunks/chunk-XB3EGDBI.js +0 -127
  679. package/chunks/chunk-XBA26Z7E.js +0 -42
  680. package/chunks/chunk-XPGAVZGK.js +0 -98
  681. package/chunks/chunk-XPPOIKJL.js +0 -43
  682. package/chunks/chunk-XR2LNUGW.js +0 -42
  683. package/chunks/chunk-YFBIPMXD.js +0 -20
  684. package/chunks/chunk-YKPA3MQL.js +0 -31
  685. package/chunks/chunk-YP64J65L.js +0 -17
  686. package/chunks/chunk-YPTFPS76.js +0 -91
  687. package/chunks/chunk-YQWZ3EP2.js +0 -60
  688. package/chunks/chunk-YRZFKMR4.js +0 -20
  689. package/chunks/chunk-YS6WMSWC.js +0 -15
  690. package/chunks/chunk-YUP434IY.js +0 -43
  691. package/chunks/chunk-Z7ZDDBV5.js +0 -18
  692. package/chunks/chunk-ZBBU2P4D.js +0 -28
  693. package/chunks/chunk-ZH3QMMVD.js +0 -28
  694. package/chunks/chunk-ZLBSI4TR.js +0 -21
  695. package/chunks/chunk-ZNA7SWFK.js +0 -29
  696. package/components/index.d.ts +0 -4
  697. package/components/index.js +0 -13
  698. package/node/@aws-s3/index.d.ts +0 -2
  699. package/node/@aws-s3/index.js +0 -23
  700. package/node/@aws-s3/storage/directory/index.d.ts +0 -5
  701. package/node/@aws-s3/storage/directory/index.js +0 -22
  702. package/node/@aws-s3/storage/file/index.d.ts +0 -8
  703. package/node/@aws-s3/storage/file/index.js +0 -34
  704. package/node/@aws-s3/storage/index.d.ts +0 -3
  705. package/node/@aws-s3/storage/index.js +0 -25
  706. package/node/@design-edito/thumbnails/index.js +0 -1
  707. package/node/@express/index.d.ts +0 -2
  708. package/node/@express/index.js +0 -10
  709. package/node/@google-cloud/index.d.ts +0 -2
  710. package/node/@google-cloud/index.js +0 -30
  711. package/node/@google-cloud/storage/bucket/index.d.ts +0 -5
  712. package/node/@google-cloud/storage/bucket/index.js +0 -22
  713. package/node/@google-cloud/storage/directory/index.d.ts +0 -5
  714. package/node/@google-cloud/storage/directory/index.js +0 -22
  715. package/node/@google-cloud/storage/file/index.d.ts +0 -13
  716. package/node/@google-cloud/storage/file/index.js +0 -54
  717. package/node/@google-cloud/storage/index.d.ts +0 -4
  718. package/node/@google-cloud/storage/index.js +0 -35
  719. package/node/cloud-storage/index.d.ts +0 -3
  720. package/node/cloud-storage/index.js +0 -69
  721. package/node/cloud-storage/operations/index.d.ts +0 -12
  722. package/node/cloud-storage/operations/index.js +0 -95
  723. package/node/encryption/@aes-256-gcm/index.d.ts +0 -3
  724. package/node/encryption/@aes-256-gcm/index.js +0 -14
  725. package/node/encryption/index.d.ts +0 -3
  726. package/node/encryption/index.js +0 -16
  727. package/node/files/index.d.ts +0 -7
  728. package/node/files/index.js +0 -15
  729. package/node/ftps/directory/index.d.ts +0 -5
  730. package/node/ftps/directory/index.js +0 -22
  731. package/node/ftps/file/index.d.ts +0 -8
  732. package/node/ftps/file/index.js +0 -34
  733. package/node/ftps/index.d.ts +0 -3
  734. package/node/ftps/index.js +0 -25
  735. package/node/images/index.d.ts +0 -6
  736. package/node/images/index.js +0 -59
  737. package/node/index.d.ts +0 -12
  738. package/node/index.js +0 -172
  739. package/node/process/index.d.ts +0 -6
  740. package/node/process/index.js +0 -16
  741. package/node/sftp/directory/index.d.ts +0 -5
  742. package/node/sftp/directory/index.js +0 -22
  743. package/node/sftp/file/index.d.ts +0 -8
  744. package/node/sftp/file/index.js +0 -34
  745. package/node/sftp/index.d.ts +0 -3
  746. package/node/sftp/index.js +0 -25
  747. package/shared/errors/index.d.ts +0 -138
  748. /package/{node/@design-edito/thumbnails/index.d.ts → agnostic/arrays/dedupe/index.test.d.ts} +0 -0
  749. /package/{shared/index.d.ts → agnostic/misc/data-size/types.js} +0 -0
@@ -1,65 +0,0 @@
1
- import {
2
- isFalsy
3
- } from "./chunk-QXAJXTXV.js";
4
-
5
- // src/agnostic/misc/cast/index.ts
6
- var Cast;
7
- ((Cast2) => {
8
- function toBoolean(value) {
9
- if (typeof value === "boolean") return value;
10
- if (typeof value === "string") {
11
- if (value.toLowerCase().trim() === "true") return true;
12
- return false;
13
- }
14
- return !isFalsy(value);
15
- }
16
- Cast2.toBoolean = toBoolean;
17
- function toNumber(value) {
18
- if (typeof value === "number") return value;
19
- if (typeof value === "string") return parseFloat(value);
20
- return 0;
21
- }
22
- Cast2.toNumber = toNumber;
23
- function toString(value) {
24
- if (typeof value === "string") return value;
25
- return String(value);
26
- }
27
- Cast2.toString = toString;
28
- function toNull(_value) {
29
- return null;
30
- }
31
- Cast2.toNull = toNull;
32
- function toArray(value) {
33
- if (Array.isArray(value)) return value;
34
- if (typeof value === "object" && value !== null) return Object.entries(value).map((key, value2) => ({ key, value: value2 }));
35
- return [value];
36
- }
37
- Cast2.toArray = toArray;
38
- function toNumberArr(value) {
39
- const arrValue = toArray(value);
40
- return arrValue.map((val) => toNumber(val));
41
- }
42
- Cast2.toNumberArr = toNumberArr;
43
- function toRecord(value) {
44
- const record = {};
45
- try {
46
- Object.keys(value).forEach((key) => {
47
- record[key] = value[key];
48
- });
49
- } catch (err) {
50
- return record;
51
- }
52
- return record;
53
- }
54
- Cast2.toRecord = toRecord;
55
- function toError(value) {
56
- if (value instanceof Error) return value;
57
- if (typeof value === "string") return new Error(value);
58
- return new Error(toString(value));
59
- }
60
- Cast2.toError = toError;
61
- })(Cast || (Cast = {}));
62
-
63
- export {
64
- Cast
65
- };
@@ -1,41 +0,0 @@
1
- import {
2
- Placeholders
3
- } from "./chunk-VYW4IADX.js";
4
- import {
5
- getPositionInsideParent
6
- } from "./chunk-VTPRO4NJ.js";
7
- import {
8
- selectorToElement
9
- } from "./chunk-SKBOSWM2.js";
10
- import {
11
- stringToNodes
12
- } from "./chunk-ZBBU2P4D.js";
13
- import {
14
- Sanitize
15
- } from "./chunk-XB3EGDBI.js";
16
- import {
17
- HyperJson
18
- } from "./chunk-BPYICFMX.js";
19
- import {
20
- insertNode
21
- } from "./chunk-XA4HVHJ4.js";
22
- import {
23
- getNodeAncestors
24
- } from "./chunk-LUPVHC73.js";
25
-
26
- // src/agnostic/html/index.ts
27
- var Html;
28
- ((Html2) => {
29
- Html2.getNodeAncestors = getNodeAncestors;
30
- Html2.getPositionInsideParent = getPositionInsideParent;
31
- Html2.HyperJson = HyperJson;
32
- Html2.insertNode = insertNode;
33
- Html2.Placeholders = Placeholders;
34
- Html2.Sanitize = Sanitize;
35
- Html2.selectorToElement = selectorToElement;
36
- Html2.stringToNodes = stringToNodes;
37
- })(Html || (Html = {}));
38
-
39
- export {
40
- Html
41
- };
@@ -1,20 +0,0 @@
1
- import {
2
- file_exports
3
- } from "./chunk-6UXES4W7.js";
4
- import {
5
- directory_exports
6
- } from "./chunk-ZH3QMMVD.js";
7
- import {
8
- __export
9
- } from "./chunk-WSFCRVEQ.js";
10
-
11
- // src/node/@aws-s3/storage/index.ts
12
- var storage_exports = {};
13
- __export(storage_exports, {
14
- Directory: () => directory_exports,
15
- File: () => file_exports
16
- });
17
-
18
- export {
19
- storage_exports
20
- };
@@ -1,26 +0,0 @@
1
- import {
2
- Crossenv
3
- } from "./chunk-FR5H2OCV.js";
4
- import {
5
- Errors
6
- } from "./chunk-WH6BPDAC.js";
7
-
8
- // src/shared/errors/index.ts
9
- var register = Errors.Register.from({
10
- ["no-window-document-on-runtime" /* NO_DOCUMENT */]: {
11
- message: `Runtime '${Crossenv.detectRuntime()}' does not provide a Document object, cannot complete.`,
12
- detailsMaker: () => void 0
13
- },
14
- ["no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */]: {
15
- message: `Please provide a Document object since none are found on runtime '${Crossenv.detectRuntime()}'`,
16
- detailsMaker: (tips) => tips
17
- },
18
- ["impossible-to-pick-in-array" /* IMPOSSIBLE_TO_PICK_IN_ARRAY */]: {
19
- message: "Impossible to pick",
20
- detailsMaker: (array) => array.length === 0 ? "Array cannot be empty" : "Too many exclusions"
21
- }
22
- });
23
-
24
- export {
25
- register
26
- };
@@ -1,175 +0,0 @@
1
- import {
2
- Random
3
- } from "./chunk-OVG5RGI3.js";
4
- import {
5
- register
6
- } from "./chunk-TIER4TF4.js";
7
-
8
- // src/agnostic/css/styles-set/index.tsx
9
- import { Component } from "react";
10
- import {
11
- createRoot as reactCreateRoot
12
- } from "react-dom/client";
13
- import { Fragment, jsx } from "react/jsx-runtime";
14
- var StylesSet = class _StylesSet {
15
- static defaultPrivateIDAttribute = "data-styleset-private-id";
16
- static defaultPublicIDAttribute = "data-styleset-public-id";
17
- tagsPrivateIDAttribute = _StylesSet.defaultPrivateIDAttribute;
18
- tagsPublicIDAttribute = _StylesSet.defaultPublicIDAttribute;
19
- _items = /* @__PURE__ */ new Map();
20
- get items() {
21
- const sortedItemsArray = Array.from(this._items).map(([privateId, item]) => {
22
- const targetPosition = this.getTargetPosition(privateId) ?? 0;
23
- return { targetPosition, privateId, item };
24
- }).sort((a, b) => a.targetPosition - b.targetPosition).map(({ item, privateId }) => [privateId, item]);
25
- const sortedItemsMap = new Map(sortedItemsArray);
26
- return sortedItemsMap;
27
- }
28
- getTargetPosition(privateId) {
29
- const orderedStyles = Array.from(this._items).map(([privateId2, data]) => ({ privateId: privateId2, data })).sort((a, b) => {
30
- const aPos = a.data.position ?? 0;
31
- const bPos = b.data.position ?? 0;
32
- return aPos - bPos;
33
- });
34
- const foundIndex = orderedStyles.findIndex((item) => item.privateId === privateId);
35
- return foundIndex === -1 ? null : foundIndex;
36
- }
37
- setTagsPrivateIDAttribute(str) {
38
- this.tagsPrivateIDAttribute = str;
39
- return this;
40
- }
41
- setTagsPublicIDAttribute(str) {
42
- this.tagsPublicIDAttribute = str;
43
- return this;
44
- }
45
- getById(id) {
46
- const found = Array.from(this._items.values()).find((entry) => entry.id === id);
47
- if (found === void 0) return void 0;
48
- return found;
49
- }
50
- generateUniquePrivateId() {
51
- const existingIds = Array.from(this._items.keys());
52
- const generated = Random.randomHash(12);
53
- if (existingIds.includes(generated)) return this.generateUniquePrivateId();
54
- return generated;
55
- }
56
- _rendered = /* @__PURE__ */ new Map();
57
- render(element) {
58
- const root = reactCreateRoot(element);
59
- const items = this.items;
60
- root.render(/* @__PURE__ */ jsx(
61
- StylesSetComp,
62
- {
63
- items,
64
- privateIDAttribute: this.tagsPrivateIDAttribute,
65
- publicIDAttribute: this.tagsPublicIDAttribute
66
- }
67
- ));
68
- this._rendered.set(element, root);
69
- return this;
70
- }
71
- unmount(element) {
72
- if (!this._rendered.has(element)) return this;
73
- const root = this._rendered.get(element);
74
- if (root === void 0) return this;
75
- root.unmount();
76
- this._rendered.delete(element);
77
- return this;
78
- }
79
- updateRendered() {
80
- const { items } = this;
81
- this._rendered.forEach((root) => root.render(/* @__PURE__ */ jsx(
82
- StylesSetComp,
83
- {
84
- items,
85
- privateIDAttribute: this.tagsPrivateIDAttribute,
86
- publicIDAttribute: this.tagsPublicIDAttribute
87
- }
88
- )));
89
- return this;
90
- }
91
- addItem(item, abortIfIdExists = true) {
92
- const existing = Array.from(this._items.entries()).map(([privateId2, entry]) => ({ privateId: privateId2, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === item.id);
93
- if (existing !== void 0) {
94
- if (abortIfIdExists) return this;
95
- this._items.delete(existing.privateId);
96
- }
97
- const privateId = this.generateUniquePrivateId();
98
- this._items.set(privateId, item);
99
- this.updateRendered();
100
- return this;
101
- }
102
- removeItem(idOrPosition) {
103
- if (typeof idOrPosition === "string") {
104
- const existing = Array.from(this._items.entries()).map(([privateId, entry]) => ({ privateId, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === idOrPosition);
105
- if (existing === void 0) return this;
106
- this._items.delete(existing.privateId);
107
- this.updateRendered();
108
- return this;
109
- }
110
- const toRemove = Array.from(this._items).map(([privateId, entry]) => ({ privateId, entry })).at(idOrPosition);
111
- if (toRemove === void 0) return this;
112
- this._items.delete(toRemove.privateId);
113
- this.updateRendered();
114
- return this;
115
- }
116
- async getDomString(documentObj) {
117
- const actualDocumentObj = documentObj ?? window.document;
118
- if (actualDocumentObj === null) throw register.getError("no-window-document-on-runtime" /* NO_DOCUMENT */);
119
- return new Promise((resolve) => {
120
- const tempElt = actualDocumentObj.createElement("div");
121
- const tempRoot = reactCreateRoot(tempElt);
122
- const { items } = this;
123
- const onRendered = () => {
124
- resolve(tempElt.innerHTML);
125
- tempRoot.unmount();
126
- tempElt.remove();
127
- };
128
- tempRoot.render(/* @__PURE__ */ jsx(
129
- StylesSetComp,
130
- {
131
- items,
132
- privateIDAttribute: this.tagsPrivateIDAttribute,
133
- publicIDAttribute: this.tagsPublicIDAttribute,
134
- onRendered
135
- }
136
- ));
137
- });
138
- }
139
- };
140
- var StylesSetComp = class extends Component {
141
- componentDidMount() {
142
- const { props } = this;
143
- const { onRendered } = props;
144
- if (onRendered !== void 0) onRendered();
145
- }
146
- componentDidUpdate() {
147
- const { props } = this;
148
- const { onRendered } = props;
149
- if (onRendered !== void 0) onRendered();
150
- }
151
- render() {
152
- const { props } = this;
153
- const items = props.items ?? /* @__PURE__ */ new Map();
154
- const pidAttr = props.privateIDAttribute ?? StylesSet.defaultPrivateIDAttribute;
155
- const idAttr = props.publicIDAttribute ?? StylesSet.defaultPublicIDAttribute;
156
- return /* @__PURE__ */ jsx(Fragment, { children: Array.from(items).map(([privateId, itemData]) => {
157
- const customAttributes = { [pidAttr]: privateId, [idAttr]: itemData.id };
158
- if (itemData.type === "url") return /* @__PURE__ */ jsx(
159
- "link",
160
- {
161
- onLoad: itemData.onLoad,
162
- rel: "stylesheet",
163
- href: itemData.content,
164
- ...customAttributes
165
- }
166
- );
167
- return /* @__PURE__ */ jsx("style", { ...customAttributes, children: itemData.content });
168
- }) });
169
- }
170
- };
171
-
172
- export {
173
- StylesSet,
174
- StylesSetComp
175
- };
@@ -1,28 +0,0 @@
1
- import {
2
- get_metadata_exports
3
- } from "./chunk-ZNA7SWFK.js";
4
- import {
5
- list_exports
6
- } from "./chunk-37TRFYZT.js";
7
- import {
8
- move_dir_exports
9
- } from "./chunk-BWYH445G.js";
10
- import {
11
- remove_dir_exports
12
- } from "./chunk-QLDN574K.js";
13
- import {
14
- __export
15
- } from "./chunk-WSFCRVEQ.js";
16
-
17
- // src/node/@google-cloud/storage/bucket/index.ts
18
- var bucket_exports = {};
19
- __export(bucket_exports, {
20
- GetMetadata: () => get_metadata_exports,
21
- List: () => list_exports,
22
- MoveDir: () => move_dir_exports,
23
- RemoveDir: () => remove_dir_exports
24
- });
25
-
26
- export {
27
- bucket_exports
28
- };
@@ -1,16 +0,0 @@
1
- import {
2
- multer_exports
3
- } from "./chunk-QCOO4PV5.js";
4
- import {
5
- __export
6
- } from "./chunk-WSFCRVEQ.js";
7
-
8
- // src/node/@express/index.ts
9
- var express_exports = {};
10
- __export(express_exports, {
11
- Multer: () => multer_exports
12
- });
13
-
14
- export {
15
- express_exports
16
- };
@@ -1,31 +0,0 @@
1
- import {
2
- Bem
3
- } from "./chunk-KIONYWA7.js";
4
- import {
5
- classNameRegex,
6
- isValidClassName
7
- } from "./chunk-W5A2TON3.js";
8
- import {
9
- generateNiceColor,
10
- niceColors
11
- } from "./chunk-EDVNAV3G.js";
12
- import {
13
- StylesSet,
14
- StylesSetComp
15
- } from "./chunk-U4ORVPZC.js";
16
-
17
- // src/agnostic/css/index.ts
18
- var Css;
19
- ((Css2) => {
20
- Css2.Bem = Bem;
21
- Css2.niceColors = niceColors;
22
- Css2.generateNiceColor = generateNiceColor;
23
- Css2.classNameRegex = classNameRegex;
24
- Css2.isValidClassName = isValidClassName;
25
- Css2.StylesSet = StylesSet;
26
- Css2.StylesSetComp = StylesSetComp;
27
- })(Css || (Css = {}));
28
-
29
- export {
30
- Css
31
- };
@@ -1,23 +0,0 @@
1
- import {
2
- Cast
3
- } from "./chunk-SNJJII7A.js";
4
-
5
- // src/agnostic/objects/flatten-getters/index.ts
6
- function flattenGetters(obj) {
7
- try {
8
- const { entries, getOwnPropertyDescriptors } = Object;
9
- const properties = Cast.toRecord(obj);
10
- const getters = entries(getOwnPropertyDescriptors(obj)).filter(([_, desc]) => typeof desc.get === "function").map(([key]) => key);
11
- const returned = { ...properties };
12
- getters.forEach((getter) => {
13
- returned[getter] = obj[getter];
14
- });
15
- return returned;
16
- } catch (err) {
17
- return {};
18
- }
19
- }
20
-
21
- export {
22
- flattenGetters
23
- };
@@ -1,13 +0,0 @@
1
- // src/agnostic/arrays/shuffle/index.ts
2
- function shuffle(array) {
3
- const shuffled = [...array];
4
- for (let i = shuffled.length - 1; i > 0; i--) {
5
- const j = Math.floor(Math.random() * (i + 1));
6
- [shuffled[i], shuffled[j]] = [shuffled[j], shuffled[i]];
7
- }
8
- return shuffled;
9
- }
10
-
11
- export {
12
- shuffle
13
- };
@@ -1,10 +0,0 @@
1
- // src/agnostic/html/get-position-inside-parent/index.ts
2
- function getPositionInsideParent(node) {
3
- if (!node.parentNode) return null;
4
- const childNodes = Array.from(node.parentNode.childNodes);
5
- return childNodes.indexOf(node);
6
- }
7
-
8
- export {
9
- getPositionInsideParent
10
- };
@@ -1,35 +0,0 @@
1
- // src/agnostic/html/placeholders/index.ts
2
- var Placeholders;
3
- ((Placeholders2) => {
4
- Placeholders2.EightKiloByteOfLoremIpsumSentences = "Etiam consequat interdum elit eu interdum. Nunc eu nulla vel arcu mattis venenatis sit amet gravida sem. Mauris pretium aliquam augue vitae tempor. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nam mollis in ipsum nec efficitur. Nullam imperdiet et urna vitae suscipit. In hac habitasse platea dictumst. Nullam lacinia commodo enim non iaculis. Nam elementum tellus ac lectus aliquam porta. Mauris ut lorem nec magna porttitor efficitur sed sed odio. Ut in dapibus nulla, non eleifend elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Maecenas posuere leo neque, a luctus quam feugiat in. Phasellus lobortis egestas cursus. In sit amet massa et sem scelerisque facilisis quis fringilla felis. Praesent purus velit, vehicula id orci ac, placerat congue quam. Cras vulputate nisi eu justo accumsan malesuada. Vestibulum ex urna, volutpat non quam in, vulputate pellentesque est. Pellentesque interdum orci in quam finibus faucibus. In eget lectus augue. Vestibulum lobortis vulputate odio. Nam vitae felis in lorem dignissim venenatis. Curabitur bibendum, est quis tempor efficitur, magna orci facilisis erat, id rhoncus massa ante non tellus. Etiam id gravida elit. Mauris ut semper risus. Nulla sed interdum lorem. Nullam eu consectetur purus. Praesent ut enim diam. Nulla hendrerit dapibus eros, sit amet rhoncus eros consequat aliquam. Duis viverra erat vel commodo facilisis. Quisque hendrerit posuere sapien, id cursus ligula rhoncus vitae. Ut et turpis augue. Aliquam augue lorem, fringilla at magna eu, egestas sagittis ex. Vestibulum elementum diam facilisis elit ultrices, eget viverra massa venenatis. Nullam finibus ligula est. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nam condimentum, justo pulvinar posuere tincidunt, mi libero convallis sapien, id consectetur nunc tellus eget nisi. Fusce tincidunt sit amet enim vitae feugiat. Etiam in nulla vitae orci consequat vulputate. Vestibulum sodales urna sit amet velit elementum, vel fringilla eros iaculis. Vestibulum gravida tempus nulla, at vulputate nunc aliquam vitae. Phasellus ac augue et augue finibus congue ut nec nunc. Ut in dictum lectus, eget efficitur dui. Suspendisse bibendum congue arcu, sit amet maximus felis dictum sit amet. Morbi scelerisque feugiat risus, id pellentesque elit cursus nec. Vivamus at erat id magna sagittis cursus vitae eu magna. Integer pretium nec lorem at consectetur. Integer id justo vitae nunc gravida posuere eu vel magna. Donec ex nunc, condimentum id laoreet et, scelerisque nec enim. Sed venenatis, augue vel posuere ullamcorper, lorem velit auctor erat, a auctor mi odio id velit. Donec justo erat, tempor ut diam sed, scelerisque aliquam dolor. Donec erat dui, dictum a tortor sit amet, pellentesque blandit risus. Donec tincidunt ligula ex, vel tincidunt leo posuere sit amet. Curabitur lacinia blandit pellentesque. Donec fringilla aliquam purus ac porta. Fusce faucibus convallis leo, ut aliquet libero maximus nec. Morbi ac magna lorem. Quisque suscipit quis nisi interdum condimentum. Pellentesque imperdiet lorem diam, eu molestie ipsum scelerisque vel. Vivamus hendrerit, ipsum id sollicitudin pharetra, justo justo laoreet lorem, ac scelerisque turpis justo vitae augue. Nullam lacinia magna nec neque auctor scelerisque. Nunc sit amet lacus condimentum, interdum nisl eu, pharetra lorem. Morbi consectetur eros ac nisi facilisis, facilisis placerat magna aliquet. Donec bibendum leo ac est aliquam dictum. Quisque commodo magna risus, ut rhoncus ex feugiat nec. Sed vel tellus porta, feugiat sem quis, facilisis enim. Quisque accumsan imperdiet felis id laoreet. Etiam condimentum at ligula nec vehicula. Phasellus eget placerat quam. Cras efficitur mauris id ex tempus porttitor. Quisque pulvinar tellus id tempus ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In non erat justo. Nulla blandit placerat hendrerit. Sed blandit mattis magna eget sodales. Morbi eget accumsan sapien. Sed ornare interdum tortor iaculis volutpat. Maecenas vel tortor quis urna placerat mollis. Mauris ultrices, magna sit amet molestie sagittis, libero mi tincidunt diam, eu scelerisque nulla est vel dolor. Aenean congue congue eros bibendum elementum. Phasellus lobortis faucibus eros, et cursus lectus ultricies et. Vivamus augue metus, iaculis eget egestas in, tincidunt et lectus. Mauris varius arcu at cursus auctor. Curabitur eget nunc tellus. In eget tempor odio, vitae dictum massa. Proin in cursus est. Curabitur lobortis, velit eu accumsan sollicitudin, orci orci aliquam velit, ac iaculis massa justo sit amet massa. Duis a mauris iaculis, aliquam ipsum vel, vulputate mauris. Sed ex augue, cursus a dapibus sed, iaculis lacinia quam. Vivamus sit amet justo tellus. Nunc ac neque mattis, euismod velit id, feugiat massa. Etiam vitae auctor orci. Pellentesque sollicitudin est nibh, vitae scelerisque lacus sagittis eu. Morbi convallis metus eu enim gravida, non finibus enim accumsan. In quis pharetra justo, et tempor nibh. Duis non interdum diam. Vestibulum nec felis rhoncus, pharetra ipsum eu, rutrum magna. Integer dignissim odio eu mi finibus sollicitudin. Sed ut magna a nulla porttitor lobortis in id nibh. Pellentesque in lobortis ligula, vel malesuada neque. Aenean commodo arcu nunc, et posuere eros vulputate et. Mauris vestibulum euismod molestie. Vestibulum luctus sapien sollicitudin, cursus ante vel, varius massa. Mauris non magna pharetra, luctus felis sed, dapibus massa. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec posuere sapien diam, vitae porttitor nisi dictum sed. Maecenas sit amet eleifend odio. In luctus, neque eget eleifend ultricies, neque ante vestibulum leo, non ullamcorper enim orci vestibulum erat. Phasellus bibendum urna at aliquet elementum. Nulla facilisi. Sed porttitor lacus id hendrerit iaculis. Vivamus facilisis ex eget odio malesuada bibendum. Vestibulum fermentum at sem nec dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nunc faucibus augue id odio ornare, et maximus quam placerat. Nullam rutrum enim justo, id hendrerit felis faucibus sed. Aenean id nulla arcu. Nulla vitae eleifend ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque ipsum risus, cursus at ligula convallis, interdum fringilla quam. Curabitur libero sapien, mollis in consectetur sit amet, accumsan vel justo. Nulla a eros sit amet nibh pharetra ultricies. Proin et dapibus mauris. Maecenas at lacinia felis. Vestibulum consectetur vestibulum ante. Interdum et malesuada fames ac ante ipsum primis in faucibus. In imperdiet ipsum ac facilisis interdum. Nullam vestibulum dictum vestibulum. Cras pharetra vehicula neque.".split(".").map((e) => e.trim());
5
- Placeholders2.generateSentence = () => {
6
- const pos = Math.floor(Math.random() * Placeholders2.EightKiloByteOfLoremIpsumSentences.length);
7
- return Placeholders2.EightKiloByteOfLoremIpsumSentences[pos];
8
- };
9
- Placeholders2.generateSentences = (amount = 1) => {
10
- return new Array(amount).fill(null).map(Placeholders2.generateSentence);
11
- };
12
- Placeholders2.generateTitle = () => `<h1 class="title">${(0, Placeholders2.generateSentence)()}</h1>`;
13
- Placeholders2.generateIntertitle = () => `<h2 class="intertitle">${(0, Placeholders2.generateSentence)()}</h2>`;
14
- Placeholders2.generateParagraph = () => {
15
- const length = Math.floor(Math.random() * 5) + 3;
16
- const sentencesArr = new Array(length).fill(null).map(Placeholders2.generateSentence);
17
- return `<p class="paragraph">${sentencesArr.join(". ")}</p>`;
18
- };
19
- Placeholders2.generateContentPage = (len = 1) => {
20
- const length = (Math.floor(Math.random() * 3) + 3) * Math.round(len);
21
- const pageBody = new Array(length).fill(null).map(() => {
22
- if (Math.random() < 0.2) return (0, Placeholders2.generateIntertitle)();
23
- return (0, Placeholders2.generateParagraph)();
24
- }).join("");
25
- return `<div class="content-page">
26
- ${(0, Placeholders2.generateTitle)()}
27
- ${pageBody}
28
- ${(0, Placeholders2.generateParagraph)()}
29
- </div>`;
30
- };
31
- })(Placeholders || (Placeholders = {}));
32
-
33
- export {
34
- Placeholders
35
- };
@@ -1,113 +0,0 @@
1
- // src/agnostic/optim/throttle-debounce/index.ts
2
- function throttle(toThrottleFunc, delayMs) {
3
- let currentDelayMs = delayMs;
4
- let lastArgs = [];
5
- let lastExecutedOn = 0;
6
- let lastReturnValue = void 0;
7
- let nextExecutionTimeout = null;
8
- function scheduleNextCall() {
9
- if (nextExecutionTimeout !== null) {
10
- clearTimeout(nextExecutionTimeout);
11
- nextExecutionTimeout = null;
12
- }
13
- const now = Date.now();
14
- const nextExecutionTimestamp = lastExecutedOn + currentDelayMs;
15
- const msTillNextExecution = nextExecutionTimestamp - now;
16
- nextExecutionTimeout = setTimeout(() => {
17
- nextExecutionTimeout = null;
18
- const returnValue = toThrottleFunc(...lastArgs);
19
- lastReturnValue = returnValue;
20
- lastExecutedOn = now;
21
- }, msTillNextExecution) ?? null;
22
- }
23
- function throttled(...args) {
24
- const now = Date.now();
25
- lastArgs = args;
26
- if (now - lastExecutedOn >= delayMs) {
27
- const returnValue = toThrottleFunc(...lastArgs);
28
- lastReturnValue = returnValue;
29
- lastExecutedOn = now;
30
- return {
31
- returnValue: lastReturnValue,
32
- lastExecutedOn,
33
- delayMs: currentDelayMs,
34
- isCached: false
35
- };
36
- }
37
- if (nextExecutionTimeout === null) scheduleNextCall();
38
- return {
39
- returnValue: lastReturnValue,
40
- lastExecutedOn,
41
- delayMs: currentDelayMs,
42
- isCached: true
43
- };
44
- }
45
- function setDelay(delayMs2) {
46
- currentDelayMs = delayMs2;
47
- if (nextExecutionTimeout !== null) scheduleNextCall();
48
- }
49
- return {
50
- throttled,
51
- setDelay
52
- };
53
- }
54
- function debounce(toDebounceFunc, delayMs) {
55
- let currentDelayMs = delayMs;
56
- let lastArgs = [];
57
- let lastCalledOn = 0;
58
- let lastExecutedOn = 0;
59
- let lastReturnValue = void 0;
60
- let nextExecutionTimeout = null;
61
- function scheduleNextCall() {
62
- if (typeof nextExecutionTimeout === "number") {
63
- clearTimeout(nextExecutionTimeout);
64
- nextExecutionTimeout = null;
65
- }
66
- const now = Date.now();
67
- const nextExecutionTimestamp = lastCalledOn + currentDelayMs;
68
- const msTillNextExecution = nextExecutionTimestamp - now;
69
- nextExecutionTimeout = setTimeout(() => {
70
- nextExecutionTimeout = null;
71
- const returnValue = toDebounceFunc(...lastArgs);
72
- lastReturnValue = returnValue;
73
- lastExecutedOn = now;
74
- }, msTillNextExecution) ?? null;
75
- }
76
- function debounced(...args) {
77
- const now = Date.now();
78
- lastArgs = args;
79
- if (now - lastCalledOn >= currentDelayMs) {
80
- lastCalledOn = now;
81
- const returnValue = toDebounceFunc(...lastArgs);
82
- lastReturnValue = returnValue;
83
- lastExecutedOn = now;
84
- return {
85
- returnValue: lastReturnValue,
86
- lastExecutedOn,
87
- delayMs: currentDelayMs,
88
- isCached: false
89
- };
90
- }
91
- lastCalledOn = now;
92
- scheduleNextCall();
93
- return {
94
- returnValue: lastReturnValue,
95
- lastExecutedOn,
96
- delayMs: currentDelayMs,
97
- isCached: true
98
- };
99
- }
100
- function setDelay(delayMs2) {
101
- currentDelayMs = delayMs2;
102
- if (nextExecutionTimeout !== null) scheduleNextCall();
103
- }
104
- return {
105
- debounced,
106
- setDelay
107
- };
108
- }
109
-
110
- export {
111
- throttle,
112
- debounce
113
- };
@@ -1,67 +0,0 @@
1
- import {
2
- Outcome
3
- } from "./chunk-JMU5PDBD.js";
4
- import {
5
- Errors
6
- } from "./chunk-WH6BPDAC.js";
7
-
8
- // src/agnostic/misc/assert/index.ts
9
- var Assert;
10
- ((Assert2) => {
11
- function makeSuccess(label) {
12
- const formattedLabel = label.split("\n").join("\n ");
13
- console.info(`\u2705 SUCCESS:
14
- ${formattedLabel}`);
15
- }
16
- function makeFailure(label) {
17
- const formattedLabel = label.split("\n").join("\n ");
18
- throw new Error(`\u{1F6AB} FAILURE:
19
- ${formattedLabel}`);
20
- }
21
- async function assert(label, assertion) {
22
- if (typeof assertion === "boolean") return assertion ? Outcome.makeSuccess(label) : Outcome.makeFailure(label);
23
- else if (typeof assertion === "function") {
24
- try {
25
- const result = await assertion();
26
- if (result === false) return Outcome.makeFailure(label);
27
- else return Outcome.makeSuccess(label);
28
- } catch (err) {
29
- const errStr = Errors.unknownToString(err);
30
- return Outcome.makeFailure(`${label} / ${errStr}`);
31
- }
32
- } else {
33
- let assertions;
34
- if (Array.isArray(assertion)) {
35
- assertions = [...assertion].map((a, p) => [`${p}`, a]);
36
- } else if (assertion instanceof Map) {
37
- assertions = Array.from(assertion);
38
- } else {
39
- assertions = Object.entries(assertion);
40
- }
41
- const allAsserted = await Promise.all(assertions.map(([innerLabel, innerAssertion]) => {
42
- const fullLabel = `${label} / ${innerLabel}`;
43
- const asserted = assert(fullLabel, innerAssertion);
44
- return asserted;
45
- }));
46
- const allSuccess = allAsserted.every((asserted) => asserted.success);
47
- if (allSuccess) return Outcome.makeSuccess(allAsserted.map((e) => e.payload).join("\n"));
48
- const failures = allAsserted.filter((asserted) => asserted.success === false);
49
- const failuresStr = failures.map((failure) => failure.error).join("\n ");
50
- return Outcome.makeFailure(failuresStr);
51
- }
52
- }
53
- Assert2.assert = assert;
54
- async function assertVerbose(label, assertion) {
55
- const asserted = await assert(label, assertion);
56
- if (asserted?.success) {
57
- makeSuccess(asserted.payload);
58
- return asserted;
59
- }
60
- return makeFailure(asserted.error);
61
- }
62
- Assert2.assertVerbose = assertVerbose;
63
- })(Assert || (Assert = {}));
64
-
65
- export {
66
- Assert
67
- };