@design-edito/tools 0.2.11 → 0.2.13

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 (164) hide show
  1. package/agnostic/arrays/index.js +9 -9
  2. package/agnostic/arrays/random-pick/index.js +6 -6
  3. package/agnostic/colors/index.js +11 -11
  4. package/agnostic/colors/lighten-color/index.js +2 -2
  5. package/agnostic/colors/saturate-color/index.js +2 -2
  6. package/agnostic/css/index.js +13 -13
  7. package/agnostic/css/styles-set/index.js +6 -6
  8. package/agnostic/errors/index.js +2 -2
  9. package/agnostic/html/hyper-json/cast/index.js +2 -2
  10. package/agnostic/html/hyper-json/index.js +3 -3
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +2 -2
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +2 -2
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +2 -2
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +2 -2
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +2 -2
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +2 -2
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +2 -2
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +2 -2
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +2 -2
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +2 -2
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +2 -2
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +2 -2
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +2 -2
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +2 -2
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +2 -2
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +2 -2
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +2 -2
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +2 -2
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +2 -2
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +2 -2
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +2 -2
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +2 -2
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +2 -2
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +2 -2
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +2 -2
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +2 -2
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +2 -2
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +2 -2
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +2 -2
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +2 -2
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +2 -2
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +2 -2
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +2 -2
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +2 -2
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +2 -2
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +2 -2
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +2 -2
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +2 -2
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +2 -2
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +2 -2
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +2 -2
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +2 -2
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +2 -2
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +2 -2
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +2 -2
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +2 -2
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +2 -2
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +2 -2
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +2 -2
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +2 -2
  61. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +2 -2
  62. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +2 -2
  63. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +2 -2
  64. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +2 -2
  65. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +2 -2
  66. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +2 -2
  67. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +2 -2
  68. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +2 -2
  69. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +2 -2
  70. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +2 -2
  71. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +2 -2
  72. package/agnostic/html/hyper-json/tree/index.js +2 -2
  73. package/agnostic/html/hyper-json/utils/index.js +2 -2
  74. package/agnostic/html/index.js +18 -18
  75. package/agnostic/html/sanitize/index.js +6 -6
  76. package/agnostic/html/selector-to-element/index.js +6 -6
  77. package/agnostic/html/string-to-nodes/index.js +7 -7
  78. package/agnostic/misc/assert/index.js +3 -3
  79. package/agnostic/misc/crossenv/index.js +2 -2
  80. package/agnostic/misc/data-size/index.d.ts +27 -1
  81. package/agnostic/misc/data-size/index.js +27 -1
  82. package/agnostic/misc/index.js +16 -16
  83. package/agnostic/misc/lorem-ipsum/index.js +10 -10
  84. package/agnostic/numbers/index.js +8 -8
  85. package/agnostic/numbers/responsive-harmonics/index.js +2 -2
  86. package/agnostic/numbers/round/index.d.ts +2 -0
  87. package/agnostic/numbers/round/index.js +5 -1
  88. package/agnostic/objects/index.js +5 -5
  89. package/agnostic/strings/index.js +3 -3
  90. package/agnostic/time/index.js +8 -8
  91. package/chunks/{chunk-XIYECYET.js → chunk-23F5NF34.js} +20 -20
  92. package/chunks/{chunk-RVVJ4QD4.js → chunk-7GIJUKYP.js} +1 -1
  93. package/chunks/{chunk-WJMBLQRX.js → chunk-AQBJ6HNB.js} +1 -1
  94. package/chunks/{chunk-SH4ACYVB.js → chunk-DBFLPPDJ.js} +4 -4
  95. package/chunks/chunk-EOE2ODJR.js +19 -0
  96. package/chunks/{chunk-7DV4CM2Z.js → chunk-G4ZB72XY.js} +67 -15
  97. package/chunks/{chunk-UYTXXUU7.js → chunk-KXIA3YGF.js} +1 -1
  98. package/chunks/{chunk-HKNCJOAR.js → chunk-L5KVLHWF.js} +1 -1
  99. package/chunks/{chunk-3UIJ4IYZ.js → chunk-OIXMQDBV.js} +6 -6
  100. package/chunks/{chunk-KFDXJEQ7.js → chunk-Q373CMPR.js} +13 -13
  101. package/chunks/{chunk-CK73EBO5.js → chunk-SKBOSWM2.js} +1 -1
  102. package/chunks/{chunk-7NO34XJI.js → chunk-TIER4TF4.js} +2 -2
  103. package/chunks/{chunk-E4FJHD5R.js → chunk-WAMSK4A3.js} +1 -1
  104. package/chunks/{chunk-H54GDVNS.js → chunk-WUW3GUNC.js} +2 -2
  105. package/chunks/{chunk-PJDZMLNG.js → chunk-XB3EGDBI.js} +1 -1
  106. package/chunks/{chunk-7NM3LHIZ.js → chunk-YPIFPJYU.js} +1 -1
  107. package/chunks/{chunk-WFED6NDN.js → chunk-ZBBU2P4D.js} +2 -2
  108. package/node/@aws-s3/index.js +10 -10
  109. package/node/@aws-s3/storage/directory/index.js +4 -4
  110. package/node/@aws-s3/storage/file/index.js +8 -8
  111. package/node/@aws-s3/storage/index.js +10 -10
  112. package/node/@google-cloud/index.js +12 -12
  113. package/node/@google-cloud/storage/directory/index.js +4 -4
  114. package/node/@google-cloud/storage/file/index.js +14 -14
  115. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  116. package/node/@google-cloud/storage/index.js +14 -14
  117. package/node/cloud-storage/index.js +47 -47
  118. package/node/cloud-storage/operations/copy-dir/index.js +3 -3
  119. package/node/cloud-storage/operations/copy-file/index.js +3 -3
  120. package/node/cloud-storage/operations/download-file/index.js +3 -3
  121. package/node/cloud-storage/operations/exists-file/index.js +3 -3
  122. package/node/cloud-storage/operations/index.js +58 -58
  123. package/node/cloud-storage/operations/list-dir/index.js +3 -3
  124. package/node/cloud-storage/operations/move-dir/index.js +3 -3
  125. package/node/cloud-storage/operations/move-file/index.js +3 -3
  126. package/node/cloud-storage/operations/remove-dir/index.js +3 -3
  127. package/node/cloud-storage/operations/remove-file/index.js +3 -3
  128. package/node/cloud-storage/operations/stat-file/index.js +3 -3
  129. package/node/cloud-storage/operations/upload-file/index.js +3 -3
  130. package/node/ftps/directory/index.js +4 -4
  131. package/node/ftps/file/index.js +10 -10
  132. package/node/ftps/index.js +9 -9
  133. package/node/images/index.js +10 -10
  134. package/node/images/transform/index.js +10 -10
  135. package/node/sftp/directory/index.js +4 -4
  136. package/node/sftp/file/index.js +9 -9
  137. package/node/sftp/index.js +11 -11
  138. package/package.json +1 -1
  139. package/chunks/chunk-32IRF4OP.js +0 -9
  140. package/chunks/{chunk-I3LKH6JC.js → chunk-5VBWOSWF.js} +6 -6
  141. package/chunks/{chunk-AK5LBEW3.js → chunk-6QX4OHYB.js} +6 -6
  142. package/chunks/{chunk-IIMYMEJ6.js → chunk-7N7ULH2L.js} +6 -6
  143. package/chunks/{chunk-NSB5NOKA.js → chunk-ADE5WQX7.js} +6 -6
  144. package/chunks/{chunk-RG5U7D3R.js → chunk-C6VNKTJ5.js} +6 -6
  145. package/chunks/{chunk-X5F6XGEP.js → chunk-CKENYYWH.js} +3 -3
  146. package/chunks/{chunk-E7JWKPHC.js → chunk-CXB2UFYS.js} +6 -6
  147. package/chunks/{chunk-ZGCSADRX.js → chunk-DIJAUFYY.js} +9 -9
  148. package/chunks/{chunk-A7K5DUP7.js → chunk-EZ22Z22X.js} +3 -3
  149. package/chunks/{chunk-GGT2PUZH.js → chunk-FR5H2OCV.js} +3 -3
  150. package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
  151. package/chunks/{chunk-6AYH6N4T.js → chunk-J5BXM6NQ.js} +6 -6
  152. package/chunks/{chunk-B2A3V4QD.js → chunk-LPBDLSCT.js} +27 -27
  153. package/chunks/{chunk-MRCJT2LW.js → chunk-LSUYC3S2.js} +6 -6
  154. package/chunks/{chunk-PXRLKO5Y.js → chunk-MB7HWF22.js} +3 -3
  155. package/chunks/{chunk-XV6XLBSP.js → chunk-MCXQONL2.js} +3 -3
  156. package/chunks/{chunk-N7TMNMOK.js → chunk-NVKPR4H5.js} +6 -6
  157. package/chunks/{chunk-MQMIN4B7.js → chunk-P7VNHQBT.js} +7 -7
  158. package/chunks/{chunk-TRGMY56Q.js → chunk-QTF7LWGT.js} +3 -3
  159. package/chunks/{chunk-IH6TPXGZ.js → chunk-RCEI45JF.js} +6 -6
  160. package/chunks/{chunk-3LAWRHHB.js → chunk-U57Q62IN.js} +3 -3
  161. package/chunks/{chunk-2KT7AKRW.js → chunk-WH6BPDAC.js} +3 -3
  162. package/chunks/{chunk-Y26GZH2J.js → chunk-XG7THU7X.js} +8 -8
  163. package/chunks/{chunk-ZBAKY6DB.js → chunk-ZH3QMMVD.js} +3 -3
  164. package/chunks/{chunk-JZ6QNL7U.js → chunk-ZSOK5Z67.js} +6 -6
@@ -1,19 +1,19 @@
1
- import {
2
- createScale,
3
- getHarmonic
4
- } from "../../chunks/chunk-UYTXXUU7.js";
5
- import {
6
- absoluteModulo
7
- } from "../../chunks/chunk-DNIOWD7K.js";
8
1
  import {
9
2
  clamp
10
3
  } from "../../chunks/chunk-OSAXBA7G.js";
11
4
  import {
12
5
  interpolate
13
6
  } from "../../chunks/chunk-BJAYUP7M.js";
7
+ import {
8
+ absoluteModulo
9
+ } from "../../chunks/chunk-DNIOWD7K.js";
10
+ import {
11
+ createScale,
12
+ getHarmonic
13
+ } from "../../chunks/chunk-KXIA3YGF.js";
14
14
  import {
15
15
  round
16
- } from "../../chunks/chunk-32IRF4OP.js";
16
+ } from "../../chunks/chunk-EOE2ODJR.js";
17
17
  import "../../chunks/chunk-WSFCRVEQ.js";
18
18
 
19
19
  // src/agnostic/numbers/index.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createScale,
3
3
  getHarmonic
4
- } from "../../../chunks/chunk-UYTXXUU7.js";
5
- import "../../../chunks/chunk-32IRF4OP.js";
4
+ } from "../../../chunks/chunk-KXIA3YGF.js";
5
+ import "../../../chunks/chunk-EOE2ODJR.js";
6
6
  import "../../../chunks/chunk-WSFCRVEQ.js";
7
7
  export {
8
8
  createScale,
@@ -1 +1,3 @@
1
1
  export declare function round(number: number, nbDecimals: number): number;
2
+ export declare function ceil(number: number, nbDecimals: number): number;
3
+ export declare function floor(number: number, nbDecimals: number): number;
@@ -1,7 +1,11 @@
1
1
  import {
2
+ ceil,
3
+ floor,
2
4
  round
3
- } from "../../../chunks/chunk-32IRF4OP.js";
5
+ } from "../../../chunks/chunk-EOE2ODJR.js";
4
6
  import "../../../chunks/chunk-WSFCRVEQ.js";
5
7
  export {
8
+ ceil,
9
+ floor,
6
10
  round
7
11
  };
@@ -2,6 +2,9 @@ import {
2
2
  Enums
3
3
  } from "../../chunks/chunk-WOAYU6LB.js";
4
4
  import "../../chunks/chunk-E6MSDKON.js";
5
+ import {
6
+ deepGetProperty
7
+ } from "../../chunks/chunk-SKMCIFS3.js";
5
8
  import {
6
9
  flattenGetters
7
10
  } from "../../chunks/chunk-VFJYLXCI.js";
@@ -11,14 +14,11 @@ import {
11
14
  isObject
12
15
  } from "../../chunks/chunk-HQLRJ7XW.js";
13
16
  import {
14
- deepGetProperty
15
- } from "../../chunks/chunk-SKMCIFS3.js";
17
+ recordFormat
18
+ } from "../../chunks/chunk-YP64J65L.js";
16
19
  import {
17
20
  isRecord
18
21
  } from "../../chunks/chunk-YDIBNEGA.js";
19
- import {
20
- recordFormat
21
- } from "../../chunks/chunk-YP64J65L.js";
22
22
  import {
23
23
  recordMap
24
24
  } from "../../chunks/chunk-XNF5MLCQ.js";
@@ -6,6 +6,9 @@ import {
6
6
  matchesEvery,
7
7
  matchesSome
8
8
  } from "../../chunks/chunk-R3AWQXMY.js";
9
+ import {
10
+ replaceAll
11
+ } from "../../chunks/chunk-ZTDVUXPR.js";
9
12
  import {
10
13
  normalizeIndent
11
14
  } from "../../chunks/chunk-JQXNEJAP.js";
@@ -13,9 +16,6 @@ import {
13
16
  parseTable
14
17
  } from "../../chunks/chunk-A3CDUWGR.js";
15
18
  import "../../chunks/chunk-JMU5PDBD.js";
16
- import {
17
- replaceAll
18
- } from "../../chunks/chunk-ZTDVUXPR.js";
19
19
  import {
20
20
  toAlphanum
21
21
  } from "../../chunks/chunk-COVPTTAD.js";
@@ -1,19 +1,19 @@
1
1
  import {
2
- timeout
3
- } from "../../chunks/chunk-Z7ZDDBV5.js";
2
+ Duration
3
+ } from "../../chunks/chunk-6NYUQXJT.js";
4
4
  import {
5
5
  Transitions
6
6
  } from "../../chunks/chunk-ENMBK6H7.js";
7
7
  import {
8
- Dates
9
- } from "../../chunks/chunk-FZOU4OAW.js";
10
- import "../../chunks/chunk-YQWZ3EP2.js";
11
- import {
12
- Duration
13
- } from "../../chunks/chunk-6NYUQXJT.js";
8
+ timeout
9
+ } from "../../chunks/chunk-Z7ZDDBV5.js";
14
10
  import {
15
11
  wait
16
12
  } from "../../chunks/chunk-4CIS3R7T.js";
13
+ import {
14
+ Dates
15
+ } from "../../chunks/chunk-FZOU4OAW.js";
16
+ import "../../chunks/chunk-YQWZ3EP2.js";
17
17
  import "../../chunks/chunk-WSFCRVEQ.js";
18
18
 
19
19
  // src/agnostic/time/index.ts
@@ -1,36 +1,36 @@
1
1
  import {
2
- move_file_exports
3
- } from "./chunk-N7TMNMOK.js";
2
+ remove_file_exports
3
+ } from "./chunk-RCEI45JF.js";
4
4
  import {
5
5
  upload_file_exports
6
- } from "./chunk-I3LKH6JC.js";
6
+ } from "./chunk-5VBWOSWF.js";
7
7
  import {
8
- list_dir_exports
9
- } from "./chunk-E7JWKPHC.js";
8
+ copy_file_exports
9
+ } from "./chunk-ZSOK5Z67.js";
10
10
  import {
11
- move_dir_exports
12
- } from "./chunk-AK5LBEW3.js";
11
+ stat_file_exports
12
+ } from "./chunk-ADE5WQX7.js";
13
13
  import {
14
- copy_file_exports
15
- } from "./chunk-JZ6QNL7U.js";
14
+ copy_dir_exports
15
+ } from "./chunk-C6VNKTJ5.js";
16
16
  import {
17
17
  exists_file_exports
18
- } from "./chunk-MRCJT2LW.js";
19
- import {
20
- remove_dir_exports
21
- } from "./chunk-6AYH6N4T.js";
18
+ } from "./chunk-LSUYC3S2.js";
22
19
  import {
23
20
  download_file_exports
24
- } from "./chunk-IIMYMEJ6.js";
21
+ } from "./chunk-7N7ULH2L.js";
25
22
  import {
26
- remove_file_exports
27
- } from "./chunk-IH6TPXGZ.js";
23
+ list_dir_exports
24
+ } from "./chunk-CXB2UFYS.js";
28
25
  import {
29
- stat_file_exports
30
- } from "./chunk-NSB5NOKA.js";
26
+ move_dir_exports
27
+ } from "./chunk-6QX4OHYB.js";
31
28
  import {
32
- copy_dir_exports
33
- } from "./chunk-RG5U7D3R.js";
29
+ remove_dir_exports
30
+ } from "./chunk-J5BXM6NQ.js";
31
+ import {
32
+ move_file_exports
33
+ } from "./chunk-NVKPR4H5.js";
34
34
  import {
35
35
  __export
36
36
  } from "./chunk-WSFCRVEQ.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S32K7POB.js";
4
4
  import {
5
5
  register
6
- } from "./chunk-7NO34XJI.js";
6
+ } from "./chunk-TIER4TF4.js";
7
7
 
8
8
  // src/agnostic/css/styles-set/index.tsx
9
9
  import { Component } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-7NO34XJI.js";
3
+ } from "./chunk-TIER4TF4.js";
4
4
 
5
5
  // src/agnostic/arrays/random-pick/index.ts
6
6
  function randomPick(arr, exclude = []) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-KFDXJEQ7.js";
4
- import {
5
- directory_exports
6
- } from "./chunk-X5F6XGEP.js";
3
+ } from "./chunk-Q373CMPR.js";
7
4
  import {
8
5
  bucket_exports
9
6
  } from "./chunk-UEAMPAHK.js";
7
+ import {
8
+ directory_exports
9
+ } from "./chunk-CKENYYWH.js";
10
10
  import {
11
11
  __export
12
12
  } from "./chunk-WSFCRVEQ.js";
@@ -0,0 +1,19 @@
1
+ // src/agnostic/numbers/round/index.ts
2
+ function round(number, nbDecimals) {
3
+ const multiplier = Math.pow(10, nbDecimals);
4
+ return Math.round(number * multiplier) / multiplier;
5
+ }
6
+ function ceil(number, nbDecimals) {
7
+ const multiplier = Math.pow(10, nbDecimals);
8
+ return Math.ceil(number * multiplier) / multiplier;
9
+ }
10
+ function floor(number, nbDecimals) {
11
+ const multiplier = Math.pow(10, nbDecimals);
12
+ return Math.floor(number * multiplier) / multiplier;
13
+ }
14
+
15
+ export {
16
+ round,
17
+ ceil,
18
+ floor
19
+ };
@@ -5,7 +5,20 @@ import {
5
5
  // src/agnostic/misc/data-size/index.ts
6
6
  var data_size_exports = {};
7
7
  __export(data_size_exports, {
8
+ B: () => B,
8
9
  DataSize: () => DataSize,
10
+ EB: () => EB,
11
+ EiB: () => EiB,
12
+ GB: () => GB,
13
+ GiB: () => GiB,
14
+ KB: () => KB,
15
+ KiB: () => KiB,
16
+ MB: () => MB,
17
+ MiB: () => MiB,
18
+ PB: () => PB,
19
+ PiB: () => PiB,
20
+ TB: () => TB,
21
+ TiB: () => TiB,
9
22
  bits: () => bits,
10
23
  bytes: () => bytes,
11
24
  exabytes: () => exabytes,
@@ -93,113 +106,152 @@ var DataSize = class {
93
106
  const bits2 = this.toBits();
94
107
  return bits2 / 8;
95
108
  }
109
+ toB = this.toBytes.bind(this);
96
110
  toKiloBytes() {
97
111
  const bytes2 = this.toBytes();
98
112
  return bytes2 / 1e3;
99
113
  }
114
+ toKB = this.toKiloBytes.bind(this);
100
115
  toMegabytes() {
101
116
  const bytes2 = this.toBytes();
102
117
  return bytes2 / 1e3 / 1e3;
103
118
  }
119
+ toMB = this.toMegabytes.bind(this);
104
120
  toGigabytes() {
105
121
  const bytes2 = this.toBytes();
106
122
  return bytes2 / 1e3 / 1e3 / 1e3;
107
123
  }
124
+ toGB = this.toGigabytes.bind(this);
108
125
  toTerabytes() {
109
126
  const bytes2 = this.toBytes();
110
127
  return bytes2 / 1e3 / 1e3 / 1e3 / 1e3;
111
128
  }
129
+ toTB = this.toTerabytes.bind(this);
112
130
  toPetabytes() {
113
131
  const bytes2 = this.toBytes();
114
132
  return bytes2 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3;
115
133
  }
134
+ toPB = this.toPetabytes.bind(this);
116
135
  toExabytes() {
117
136
  const bytes2 = this.toBytes();
118
137
  return bytes2 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3;
119
138
  }
139
+ toEB = this.toExabytes.bind(this);
120
140
  toKibibytes() {
121
141
  const bytes2 = this.toBytes();
122
142
  return bytes2 / 1024;
123
143
  }
144
+ toKiB = this.toKibibytes.bind(this);
124
145
  toMebibytes() {
125
146
  const bytes2 = this.toBytes();
126
147
  return bytes2 / 1024 / 1024;
127
148
  }
149
+ toMiB = this.toMebibytes.bind(this);
128
150
  toGibibytes() {
129
151
  const bytes2 = this.toBytes();
130
152
  return bytes2 / 1024 / 1024 / 1024;
131
153
  }
154
+ toGiB = this.toGibibytes.bind(this);
132
155
  toTebibytes() {
133
156
  const bytes2 = this.toBytes();
134
157
  return bytes2 / 1024 / 1024 / 1024 / 1024;
135
158
  }
159
+ toTiB = this.toTebibytes.bind(this);
136
160
  toPebibytes() {
137
161
  const bytes2 = this.toBytes();
138
162
  return bytes2 / 1024 / 1024 / 1024 / 1024 / 1024;
139
163
  }
164
+ toPiB = this.toPebibytes.bind(this);
140
165
  toExbibytes() {
141
166
  const bytes2 = this.toBytes();
142
167
  return bytes2 / 1024 / 1024 / 1024 / 1024 / 1024 / 1024;
143
168
  }
169
+ toEiB = this.toExbibytes.bind(this);
144
170
  };
145
171
  function bits(value) {
146
- return bytes(value, "bit");
172
+ return new DataSize(value, "bit");
147
173
  }
148
- function bytes(value, unit) {
149
- return new DataSize(value, unit);
174
+ function bytes(value) {
175
+ return new DataSize(value, "byte");
150
176
  }
177
+ var B = bytes;
151
178
  function kiloBytes(value) {
152
- return bytes(value, "kilobyte");
179
+ return new DataSize(value, "kilobyte");
153
180
  }
181
+ var KB = kiloBytes;
154
182
  function megaBytes(value) {
155
- return bytes(value, "megabyte");
183
+ return new DataSize(value, "megabyte");
156
184
  }
185
+ var MB = megaBytes;
157
186
  function gigabytes(value) {
158
- return bytes(value, "gigabyte");
187
+ return new DataSize(value, "gigabyte");
159
188
  }
189
+ var GB = gigabytes;
160
190
  function terabytes(value) {
161
- return bytes(value, "terabyte");
191
+ return new DataSize(value, "terabyte");
162
192
  }
193
+ var TB = terabytes;
163
194
  function petabytes(value) {
164
- return bytes(value, "petabyte");
195
+ return new DataSize(value, "petabyte");
165
196
  }
197
+ var PB = petabytes;
166
198
  function exabytes(value) {
167
- return bytes(value, "exabyte");
199
+ return new DataSize(value, "exabyte");
168
200
  }
201
+ var EB = exabytes;
169
202
  function kibibytes(value) {
170
- return bytes(value, "kibibyte");
203
+ return new DataSize(value, "kibibyte");
171
204
  }
205
+ var KiB = kibibytes;
172
206
  function mebibytes(value) {
173
- return bytes(value, "mebibyte");
207
+ return new DataSize(value, "mebibyte");
174
208
  }
209
+ var MiB = mebibytes;
175
210
  function gibibytes(value) {
176
- return bytes(value, "gibibyte");
211
+ return new DataSize(value, "gibibyte");
177
212
  }
213
+ var GiB = gibibytes;
178
214
  function tebibytes(value) {
179
- return bytes(value, "tebibyte");
215
+ return new DataSize(value, "tebibyte");
180
216
  }
217
+ var TiB = tebibytes;
181
218
  function pebibytes(value) {
182
- return bytes(value, "pebibyte");
219
+ return new DataSize(value, "pebibyte");
183
220
  }
221
+ var PiB = pebibytes;
184
222
  function exbibytes(value) {
185
- return bytes(value, "exbibyte");
223
+ return new DataSize(value, "exbibyte");
186
224
  }
225
+ var EiB = exbibytes;
187
226
 
188
227
  export {
189
228
  DataSize,
190
229
  bits,
191
230
  bytes,
231
+ B,
192
232
  kiloBytes,
233
+ KB,
193
234
  megaBytes,
235
+ MB,
194
236
  gigabytes,
237
+ GB,
195
238
  terabytes,
239
+ TB,
196
240
  petabytes,
241
+ PB,
197
242
  exabytes,
243
+ EB,
198
244
  kibibytes,
245
+ KiB,
199
246
  mebibytes,
247
+ MiB,
200
248
  gibibytes,
249
+ GiB,
201
250
  tebibytes,
251
+ TiB,
202
252
  pebibytes,
253
+ PiB,
203
254
  exbibytes,
255
+ EiB,
204
256
  data_size_exports
205
257
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  round
3
- } from "./chunk-32IRF4OP.js";
3
+ } from "./chunk-EOE2ODJR.js";
4
4
 
5
5
  // src/agnostic/numbers/responsive-harmonics/index.ts
6
6
  function getHarmonic(min, max, level, steps) {
@@ -2,7 +2,7 @@ import {
2
2
  Cast,
3
3
  Tree,
4
4
  Utils
5
- } from "./chunk-XV6XLBSP.js";
5
+ } from "./chunk-MCXQONL2.js";
6
6
  import {
7
7
  Serialize
8
8
  } from "./chunk-SXRWMH3U.js";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  randomPick,
3
3
  randomPickMany
4
- } from "./chunk-WJMBLQRX.js";
4
+ } from "./chunk-AQBJ6HNB.js";
5
5
  import {
6
- shuffle
7
- } from "./chunk-VJJIYJMY.js";
6
+ findDuplicates
7
+ } from "./chunk-YS6WMSWC.js";
8
8
  import {
9
9
  isArrayOf
10
10
  } from "./chunk-6RGDWX4A.js";
11
+ import {
12
+ shuffle
13
+ } from "./chunk-VJJIYJMY.js";
11
14
  import {
12
15
  make
13
16
  } from "./chunk-RLAZR3NL.js";
14
- import {
15
- findDuplicates
16
- } from "./chunk-YS6WMSWC.js";
17
17
 
18
18
  // src/agnostic/arrays/index.tsx
19
19
  var Arrays;
@@ -1,9 +1,12 @@
1
- import {
2
- revoke_signed_urls_exports
3
- } from "./chunk-LSZVKXDZ.js";
4
1
  import {
5
2
  update_metadata_exports
6
3
  } from "./chunk-HWVEI3RH.js";
4
+ import {
5
+ revoke_signed_urls_exports
6
+ } from "./chunk-G5RRNREY.js";
7
+ import {
8
+ get_metadata_exports
9
+ } from "./chunk-42K3MQQ5.js";
7
10
  import {
8
11
  get_permissions_exports
9
12
  } from "./chunk-YKPA3MQL.js";
@@ -11,17 +14,17 @@ import {
11
14
  generate_signed_url_exports
12
15
  } from "./chunk-PAIUCLVK.js";
13
16
  import {
14
- get_metadata_exports
15
- } from "./chunk-42K3MQQ5.js";
16
- import {
17
- move_exports
18
- } from "./chunk-6IYUA43Q.js";
17
+ remove_exports
18
+ } from "./chunk-7J7CYOXU.js";
19
19
  import {
20
20
  upload_exports
21
21
  } from "./chunk-FB3GNE2B.js";
22
22
  import {
23
23
  copy_exports
24
24
  } from "./chunk-CWZFRUBS.js";
25
+ import {
26
+ stat_exports
27
+ } from "./chunk-W3RXHN5I.js";
25
28
  import {
26
29
  exists_exports
27
30
  } from "./chunk-5VHFXWFM.js";
@@ -29,11 +32,8 @@ import {
29
32
  download_exports
30
33
  } from "./chunk-2JH4TCT2.js";
31
34
  import {
32
- remove_exports
33
- } from "./chunk-7J7CYOXU.js";
34
- import {
35
- stat_exports
36
- } from "./chunk-W3RXHN5I.js";
35
+ move_exports
36
+ } from "./chunk-6IYUA43Q.js";
37
37
  import {
38
38
  __export
39
39
  } from "./chunk-WSFCRVEQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-7NO34XJI.js";
3
+ } from "./chunk-TIER4TF4.js";
4
4
 
5
5
  // src/agnostic/html/selector-to-element/index.ts
6
6
  function selectorToElement(selector, documentObj) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Crossenv
3
- } from "./chunk-GGT2PUZH.js";
3
+ } from "./chunk-FR5H2OCV.js";
4
4
  import {
5
5
  Errors
6
- } from "./chunk-2KT7AKRW.js";
6
+ } from "./chunk-WH6BPDAC.js";
7
7
 
8
8
  // src/shared/errors/index.ts
9
9
  var register = Errors.Register.from({
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-JMU5PDBD.js";
4
4
  import {
5
5
  Errors
6
- } from "./chunk-2KT7AKRW.js";
6
+ } from "./chunk-WH6BPDAC.js";
7
7
 
8
8
  // src/agnostic/misc/assert/index.ts
9
9
  var Assert;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  directory_exports
3
- } from "./chunk-ZBAKY6DB.js";
3
+ } from "./chunk-ZH3QMMVD.js";
4
4
  import {
5
5
  file_exports
6
- } from "./chunk-MQMIN4B7.js";
6
+ } from "./chunk-P7VNHQBT.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-WSFCRVEQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-7NO34XJI.js";
3
+ } from "./chunk-TIER4TF4.js";
4
4
 
5
5
  // src/agnostic/html/sanitize/index.ts
6
6
  var Sanitize;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S32K7POB.js";
4
4
  import {
5
5
  Arrays
6
- } from "./chunk-3UIJ4IYZ.js";
6
+ } from "./chunk-OIXMQDBV.js";
7
7
 
8
8
  // src/agnostic/misc/lorem-ipsum/index.ts
9
9
  var LoremIpsum;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Sanitize
3
- } from "./chunk-PJDZMLNG.js";
3
+ } from "./chunk-XB3EGDBI.js";
4
4
  import {
5
5
  register
6
- } from "./chunk-7NO34XJI.js";
6
+ } from "./chunk-TIER4TF4.js";
7
7
 
8
8
  // src/agnostic/html/string-to-nodes/index.ts
9
9
  function stringToNodes(dirtyStr, options) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  storage_exports
3
- } from "../../chunks/chunk-H54GDVNS.js";
4
- import "../../chunks/chunk-ZBAKY6DB.js";
5
- import "../../chunks/chunk-MQMIN4B7.js";
6
- import "../../chunks/chunk-QWZ4ZNFA.js";
3
+ } from "../../chunks/chunk-WUW3GUNC.js";
4
+ import "../../chunks/chunk-ZH3QMMVD.js";
5
+ import "../../chunks/chunk-P7VNHQBT.js";
6
+ import "../../chunks/chunk-3TKBCG7Y.js";
7
7
  import "../../chunks/chunk-FD5WR2A5.js";
8
- import "../../chunks/chunk-ZSUG52DO.js";
9
- import "../../chunks/chunk-ON6LC3HE.js";
10
8
  import "../../chunks/chunk-C6QTHDDM.js";
11
- import "../../chunks/chunk-ZEZCYPLQ.js";
12
- import "../../chunks/chunk-4XSDRT23.js";
13
- import "../../chunks/chunk-IV75M3KE.js";
14
- import "../../chunks/chunk-3TKBCG7Y.js";
15
9
  import "../../chunks/chunk-VROZGPC5.js";
16
10
  import "../../chunks/chunk-4XBUJAQU.js";
11
+ import "../../chunks/chunk-ZEZCYPLQ.js";
12
+ import "../../chunks/chunk-IV75M3KE.js";
13
+ import "../../chunks/chunk-ZSUG52DO.js";
14
+ import "../../chunks/chunk-ON6LC3HE.js";
15
+ import "../../chunks/chunk-4XSDRT23.js";
16
+ import "../../chunks/chunk-QWZ4ZNFA.js";
17
17
  import "../../chunks/chunk-JMU5PDBD.js";
18
18
  import "../../chunks/chunk-FENXVJYO.js";
19
19
  import "../../chunks/chunk-WSFCRVEQ.js";
@@ -1,4 +1,7 @@
1
- import "../../../../chunks/chunk-ZBAKY6DB.js";
1
+ import "../../../../chunks/chunk-ZH3QMMVD.js";
2
+ import {
3
+ copy_dir_exports
4
+ } from "../../../../chunks/chunk-4XBUJAQU.js";
2
5
  import {
3
6
  list_exports
4
7
  } from "../../../../chunks/chunk-ZSUG52DO.js";
@@ -8,9 +11,6 @@ import {
8
11
  import {
9
12
  remove_dir_exports
10
13
  } from "../../../../chunks/chunk-4XSDRT23.js";
11
- import {
12
- copy_dir_exports
13
- } from "../../../../chunks/chunk-4XBUJAQU.js";
14
14
  import "../../../../chunks/chunk-JMU5PDBD.js";
15
15
  import "../../../../chunks/chunk-FENXVJYO.js";
16
16
  import "../../../../chunks/chunk-WSFCRVEQ.js";