@design-edito/tools 0.2.28 → 0.2.29

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 (175) hide show
  1. package/agnostic/arrays/index.js +6 -6
  2. package/agnostic/arrays/random-pick/index.js +4 -4
  3. package/agnostic/colors/channels/index.js +4 -4
  4. package/agnostic/colors/contrast/index.js +5 -5
  5. package/agnostic/colors/convert/index.js +3 -3
  6. package/agnostic/colors/distance/index.js +4 -4
  7. package/agnostic/colors/grayscale/index.js +4 -4
  8. package/agnostic/colors/index.js +19 -19
  9. package/agnostic/colors/invert/index.js +4 -4
  10. package/agnostic/colors/lerp/index.js +4 -4
  11. package/agnostic/colors/luminance/index.js +4 -4
  12. package/agnostic/colors/palette/index.js +6 -6
  13. package/agnostic/colors/rotate/index.js +5 -5
  14. package/agnostic/colors/tidy/index.js +3 -3
  15. package/agnostic/css/index.js +8 -8
  16. package/agnostic/css/styles-set/index.js +6 -6
  17. package/agnostic/errors/index.js +2 -2
  18. package/agnostic/html/hyper-json/cast/index.js +3 -3
  19. package/agnostic/html/hyper-json/index.js +4 -4
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +3 -3
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +3 -3
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +3 -3
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +3 -3
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +3 -3
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +3 -3
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +3 -3
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +3 -3
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +3 -3
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +3 -3
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +3 -3
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +3 -3
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +3 -3
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +3 -3
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +3 -3
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +3 -3
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +3 -3
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +3 -3
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +3 -3
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +3 -3
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +3 -3
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +3 -3
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +3 -3
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +3 -3
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +3 -3
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +3 -3
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +3 -3
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +3 -3
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +3 -3
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +3 -3
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +3 -3
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +3 -3
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +3 -3
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +3 -3
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +3 -3
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +3 -3
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +3 -3
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +3 -3
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +3 -3
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +3 -3
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +3 -3
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +3 -3
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +3 -3
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +3 -3
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +3 -3
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +3 -3
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +3 -3
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +3 -3
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +3 -3
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +3 -3
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +3 -3
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +3 -3
  72. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +3 -3
  73. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +3 -3
  74. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +3 -3
  75. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +3 -3
  76. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +3 -3
  77. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +3 -3
  78. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +3 -3
  79. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +3 -3
  80. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +3 -3
  81. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +3 -3
  82. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +3 -3
  83. package/agnostic/html/hyper-json/tree/index.js +3 -3
  84. package/agnostic/html/hyper-json/utils/index.js +3 -3
  85. package/agnostic/html/index.js +13 -13
  86. package/agnostic/html/sanitize/index.js +4 -4
  87. package/agnostic/html/selector-to-element/index.js +4 -4
  88. package/agnostic/html/string-to-nodes/index.js +5 -5
  89. package/agnostic/index.js +56 -56
  90. package/agnostic/misc/assert/index.js +3 -3
  91. package/agnostic/misc/index.js +12 -12
  92. package/agnostic/misc/lorem-ipsum/index.js +9 -9
  93. package/agnostic/numbers/index.js +2 -2
  94. package/agnostic/objects/index.js +5 -5
  95. package/agnostic/random/index.js +2 -2
  96. package/agnostic/strings/index.js +2 -2
  97. package/agnostic/time/index.js +3 -3
  98. package/chunks/{chunk-ZVT4KKLB.js → chunk-3PH2XFJR.js} +1 -1
  99. package/chunks/{chunk-TVPTWOFP.js → chunk-3RQEGKXW.js} +1 -1
  100. package/chunks/{chunk-YRNTL6UO.js → chunk-3ZJNGC4R.js} +1 -1
  101. package/chunks/{chunk-THR4YEHN.js → chunk-43T4F2R5.js} +2 -2
  102. package/chunks/{chunk-RYGUIYQP.js → chunk-5MDJL4HI.js} +6 -6
  103. package/chunks/{chunk-E6ETENWX.js → chunk-6EGJGM2F.js} +1 -1
  104. package/chunks/{chunk-C7SRAQMW.js → chunk-AQBJ6HNB.js} +1 -1
  105. package/chunks/{chunk-QYEWGRKJ.js → chunk-CDIBSSJU.js} +9 -9
  106. package/chunks/{chunk-7JWUXOAT.js → chunk-EIQ5IQKU.js} +1 -1
  107. package/chunks/{chunk-6WIKRRT5.js → chunk-GPC6UDDY.js} +1 -1
  108. package/chunks/{chunk-CIE4SQ2R.js → chunk-GRECFK66.js} +1 -1
  109. package/chunks/{chunk-OMW6VKSN.js → chunk-H6T4IO4Z.js} +1 -1
  110. package/chunks/{chunk-WHYXVF3N.js → chunk-H7FZBOOI.js} +1 -1
  111. package/chunks/{chunk-KAG7WIK5.js → chunk-HTCTWKY7.js} +4 -4
  112. package/chunks/{chunk-7CSIFGP6.js → chunk-IAYKSX27.js} +1 -1
  113. package/chunks/{chunk-VX2CSZU6.js → chunk-JEGI4KJI.js} +23 -14
  114. package/chunks/{chunk-MGCOD7CI.js → chunk-KL6DNUKC.js} +2 -2
  115. package/chunks/{chunk-JDHBVRKO.js → chunk-KNXO2CDI.js} +4 -4
  116. package/chunks/{chunk-T74A5BQ6.js → chunk-LMHJDTNO.js} +1 -1
  117. package/chunks/{chunk-KXJUKOMC.js → chunk-MKL533IV.js} +1 -1
  118. package/chunks/{chunk-IIVELPLX.js → chunk-NDNF2ACF.js} +1 -1
  119. package/chunks/{chunk-CZTIZX7S.js → chunk-OPLBIC4C.js} +1 -1
  120. package/chunks/{chunk-5EY7FDIL.js → chunk-PQJL7SYS.js} +4 -4
  121. package/chunks/{chunk-BJKQMSLO.js → chunk-PYKBU4NU.js} +1 -1
  122. package/chunks/{chunk-WUK3SRAL.js → chunk-QCE65XN6.js} +1 -1
  123. package/chunks/{chunk-RDSYH5NJ.js → chunk-QQC3JHRJ.js} +1 -1
  124. package/chunks/{chunk-X5HMM3LD.js → chunk-SKBOSWM2.js} +1 -1
  125. package/chunks/{chunk-P2H6PV4O.js → chunk-TIER4TF4.js} +1 -1
  126. package/chunks/{chunk-ZEAQ6B6I.js → chunk-UTGGIUR3.js} +1 -1
  127. package/chunks/{chunk-YLNSMUZA.js → chunk-V7VAAA4C.js} +1 -1
  128. package/chunks/{chunk-KG2YA3PO.js → chunk-VPCSCCCL.js} +2 -2
  129. package/chunks/{chunk-WRJA7VLE.js → chunk-VTSF7GZC.js} +1 -1
  130. package/chunks/{chunk-E4FJHD5R.js → chunk-WAMSK4A3.js} +1 -1
  131. package/chunks/{chunk-LKLJOPG7.js → chunk-WX7R34DF.js} +1 -1
  132. package/chunks/{chunk-RDQJSWRC.js → chunk-XB3EGDBI.js} +1 -1
  133. package/chunks/{chunk-SXC5GRYJ.js → chunk-XQWTMJRC.js} +5 -5
  134. package/chunks/{chunk-NCLSAIJZ.js → chunk-Y37OW2R5.js} +1 -1
  135. package/chunks/{chunk-PX4DPCZM.js → chunk-Y6IIXPKF.js} +2 -2
  136. package/chunks/{chunk-LBIMKKDV.js → chunk-YELBRNKX.js} +16 -16
  137. package/chunks/{chunk-GBGM564N.js → chunk-YYFIH526.js} +18 -18
  138. package/chunks/{chunk-CQEDNACN.js → chunk-ZBBU2P4D.js} +2 -2
  139. package/chunks/{chunk-2YGE65HG.js → chunk-ZIJLQD6J.js} +1 -1
  140. package/node/@aws-s3/index.js +7 -7
  141. package/node/@aws-s3/storage/file/index.js +7 -7
  142. package/node/@aws-s3/storage/index.js +6 -6
  143. package/node/@google-cloud/index.js +8 -8
  144. package/node/@google-cloud/storage/file/index.js +10 -10
  145. package/node/@google-cloud/storage/index.js +7 -7
  146. package/node/cloud-storage/index.js +22 -22
  147. package/node/cloud-storage/operations/index.js +28 -28
  148. package/node/ftps/file/index.js +7 -7
  149. package/node/ftps/index.js +6 -6
  150. package/node/images/create/index.js +15 -15
  151. package/node/images/format/index.js +15 -15
  152. package/node/images/index.js +29 -29
  153. package/node/images/metadata/index.js +15 -15
  154. package/node/images/transform/index.js +23 -23
  155. package/node/images/transform/operations/extend/index.js +15 -15
  156. package/node/images/transform/operations/flatten/index.js +15 -15
  157. package/node/images/transform/operations/overlay/index.js +15 -15
  158. package/node/images/transform/operations/resize/index.js +15 -15
  159. package/node/images/transform/operations/rotate/index.js +15 -15
  160. package/node/images/utils/index.js +14 -14
  161. package/node/index.js +64 -64
  162. package/node/sftp/file/index.js +7 -7
  163. package/node/sftp/index.js +6 -6
  164. package/package.json +1 -1
  165. package/chunks/{chunk-A7DUPQSC.js → chunk-3ICXQ5XJ.js} +3 -3
  166. package/chunks/{chunk-YYP4JITV.js → chunk-45E3E4KW.js} +9 -9
  167. package/chunks/{chunk-66S3WWJV.js → chunk-5RBXVRM5.js} +6 -6
  168. package/chunks/{chunk-5ZYRXXPT.js → chunk-AGUMKZWZ.js} +9 -9
  169. package/chunks/{chunk-S32K7POB.js → chunk-DCKTGQOX.js} +4 -4
  170. package/chunks/{chunk-OBTYLRE3.js → chunk-EWCTVB6Q.js} +3 -3
  171. package/chunks/{chunk-OMPMEBW4.js → chunk-JMBBYLCU.js} +11 -11
  172. package/chunks/{chunk-LYEZ5IRT.js → chunk-JTF3SVLS.js} +6 -6
  173. package/chunks/{chunk-XXRTRR5D.js → chunk-O7D235HS.js} +6 -6
  174. package/chunks/{chunk-4XIY6THU.js → chunk-SNGK2CF5.js} +6 -6
  175. package/chunks/{chunk-2KT7AKRW.js → chunk-WH6BPDAC.js} +3 -3
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Duration
3
3
  } from "../../chunks/chunk-6NYUQXJT.js";
4
- import {
5
- Transitions
6
- } from "../../chunks/chunk-ENMBK6H7.js";
7
4
  import {
8
5
  timeout
9
6
  } from "../../chunks/chunk-Z7ZDDBV5.js";
7
+ import {
8
+ Transitions
9
+ } from "../../chunks/chunk-ENMBK6H7.js";
10
10
  import {
11
11
  Dates
12
12
  } from "../../chunks/chunk-FZOU4OAW.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-WUK3SRAL.js";
6
+ } from "./chunk-QCE65XN6.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toLab
3
- } from "./chunk-4XIY6THU.js";
3
+ } from "./chunk-SNGK2CF5.js";
4
4
 
5
5
  // src/agnostic/colors/distance/index.ts
6
6
  function distanceCiede2000(c1, c2) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toSharpInstance
3
- } from "./chunk-WUK3SRAL.js";
3
+ } from "./chunk-QCE65XN6.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Random
3
- } from "./chunk-S32K7POB.js";
3
+ } from "./chunk-DCKTGQOX.js";
4
4
  import {
5
5
  Arrays
6
- } from "./chunk-5EY7FDIL.js";
6
+ } from "./chunk-PQJL7SYS.js";
7
7
 
8
8
  // src/agnostic/misc/lorem-ipsum/index.ts
9
9
  var LoremIpsum;
@@ -1,15 +1,15 @@
1
- import {
2
- format_exports
3
- } from "./chunk-KAG7WIK5.js";
4
1
  import {
5
2
  create_exports
6
- } from "./chunk-7JWUXOAT.js";
3
+ } from "./chunk-EIQ5IQKU.js";
4
+ import {
5
+ format_exports
6
+ } from "./chunk-HTCTWKY7.js";
7
7
  import {
8
8
  metadata_exports
9
- } from "./chunk-YRNTL6UO.js";
9
+ } from "./chunk-3ZJNGC4R.js";
10
10
  import {
11
11
  transform_exports
12
- } from "./chunk-GBGM564N.js";
12
+ } from "./chunk-YYFIH526.js";
13
13
  import {
14
14
  types_exports
15
15
  } from "./chunk-FKDPPFHV.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-42B5RQDS.js";
4
4
  import {
5
5
  file_exports
6
- } from "./chunk-LYEZ5IRT.js";
6
+ } from "./chunk-JTF3SVLS.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-P2H6PV4O.js";
3
+ } from "./chunk-TIER4TF4.js";
4
4
 
5
5
  // src/agnostic/arrays/random-pick/index.ts
6
6
  function randomPick(arr, exclude = []) {
@@ -1,27 +1,27 @@
1
+ import {
2
+ getPositionInsideParent
3
+ } from "./chunk-VTPRO4NJ.js";
1
4
  import {
2
5
  Placeholders
3
6
  } from "./chunk-VYW4IADX.js";
4
- import {
5
- getNodeAncestors
6
- } from "./chunk-LUPVHC73.js";
7
7
  import {
8
8
  selectorToElement
9
- } from "./chunk-X5HMM3LD.js";
9
+ } from "./chunk-SKBOSWM2.js";
10
10
  import {
11
11
  stringToNodes
12
- } from "./chunk-CQEDNACN.js";
12
+ } from "./chunk-ZBBU2P4D.js";
13
13
  import {
14
14
  Sanitize
15
- } from "./chunk-RDQJSWRC.js";
15
+ } from "./chunk-XB3EGDBI.js";
16
16
  import {
17
17
  HyperJson
18
- } from "./chunk-IIVELPLX.js";
18
+ } from "./chunk-NDNF2ACF.js";
19
19
  import {
20
20
  insertNode
21
21
  } from "./chunk-XA4HVHJ4.js";
22
22
  import {
23
- getPositionInsideParent
24
- } from "./chunk-VTPRO4NJ.js";
23
+ getNodeAncestors
24
+ } from "./chunk-LUPVHC73.js";
25
25
 
26
26
  // src/agnostic/html/index.ts
27
27
  var Html;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toCreateOptions
3
- } from "./chunk-WUK3SRAL.js";
3
+ } from "./chunk-QCE65XN6.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -13,7 +13,7 @@ import {
13
13
  viaLch,
14
14
  viaRgb,
15
15
  viaXyz
16
- } from "./chunk-4XIY6THU.js";
16
+ } from "./chunk-SNGK2CF5.js";
17
17
  import {
18
18
  clamp
19
19
  } from "./chunk-OSAXBA7G.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  storage_exports
3
- } from "./chunk-7CSIFGP6.js";
3
+ } from "./chunk-IAYKSX27.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-WUK3SRAL.js";
6
+ } from "./chunk-QCE65XN6.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  operations_exports
3
- } from "./chunk-OMPMEBW4.js";
3
+ } from "./chunk-JMBBYLCU.js";
4
4
  import {
5
5
  clients_exports
6
6
  } from "./chunk-V3GX7SIJ.js";
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  toSharpColor,
6
6
  toSharpInstance
7
- } from "./chunk-WUK3SRAL.js";
7
+ } from "./chunk-QCE65XN6.js";
8
8
  import {
9
9
  Outcome
10
10
  } from "./chunk-JMU5PDBD.js";
11
- import {
12
- clamp
13
- } from "./chunk-OSAXBA7G.js";
14
11
  import {
15
12
  isColor
16
13
  } from "./chunk-67V4BGOB.js";
14
+ import {
15
+ clamp
16
+ } from "./chunk-OSAXBA7G.js";
17
17
  import {
18
18
  __export
19
19
  } from "./chunk-WSFCRVEQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-5ZYRXXPT.js";
3
+ } from "./chunk-AGUMKZWZ.js";
4
4
  import {
5
5
  bucket_exports
6
6
  } from "./chunk-OMTDHKJI.js";
@@ -1,12 +1,12 @@
1
+ import {
2
+ nullFunc
3
+ } from "./chunk-QAVYONH6.js";
1
4
  import {
2
5
  any
3
6
  } from "./chunk-FHLCPVND.js";
4
7
  import {
5
8
  array
6
9
  } from "./chunk-QAQZEKIF.js";
7
- import {
8
- nullFunc
9
- } from "./chunk-QAVYONH6.js";
10
10
  import {
11
11
  Serialize
12
12
  } from "./chunk-SXRWMH3U.js";
@@ -25,15 +25,15 @@ import {
25
25
  import {
26
26
  insertNode
27
27
  } from "./chunk-XA4HVHJ4.js";
28
- import {
29
- recordMap
30
- } from "./chunk-XNF5MLCQ.js";
31
28
  import {
32
29
  isInEnum
33
30
  } from "./chunk-E6MSDKON.js";
34
31
  import {
35
32
  isRecord
36
33
  } from "./chunk-YDIBNEGA.js";
34
+ import {
35
+ recordMap
36
+ } from "./chunk-XNF5MLCQ.js";
37
37
  import {
38
38
  trimEnd,
39
39
  trimStart
@@ -692,7 +692,9 @@ function stringifier(val) {
692
692
  if (val instanceof Element) return JSON.stringify(`${elementItemSymbol}${val.outerHTML}`);
693
693
  if (val instanceof NodeList) {
694
694
  const items = Array.from(val);
695
- return JSON.stringify(`${nodelistItemSymbol}${items.map(stringifier).join(nodelistItemSplitterSymbol)}`);
695
+ const strItems = items.map(stringifier);
696
+ const strItemsArray = JSON.stringify(strItems);
697
+ return JSON.stringify(`${nodelistItemSymbol}${strItemsArray}`);
696
698
  }
697
699
  if (val instanceof Method) return `[Method object: ${val.transformer.name}`;
698
700
  if (Array.isArray(val)) return JSON.stringify(val.map(stringifier));
@@ -755,12 +757,15 @@ function unescapeHyperJsonString(val) {
755
757
  }
756
758
  if (val.startsWith(nodelistItemSymbol)) {
757
759
  const trimmed = val.slice(nodelistItemSymbol.length);
758
- const splitted = trimmed.split(nodelistItemSplitterSymbol);
760
+ const parsedItemsArr = JSON.parse(trimmed);
761
+ if (!Array.isArray(parsedItemsArr)) throw new Error(`Stringified nodelist expected to contain a stringified JSON array. Found ${unknownToString(parsedItemsArr)}`);
762
+ const parsedOnlyHasStrings = parsedItemsArr.every((item) => typeof item === "string");
763
+ if (!parsedOnlyHasStrings) throw new Error(`Stringified nodelist expected to contain a stringified JSON array OF STRINGS. Found ${unknownToString(parsedItemsArr)}`);
764
+ const unescapedItems = parsedItemsArr.map(unescapeHyperJsonString);
759
765
  const div = document.createElement("div");
760
- splitted.forEach((item) => {
761
- const unescapedItem = unescapeHyperJsonString(item);
762
- if (unescapedItem instanceof NodeList) div.append(...Array.from(unescapedItem));
763
- else div.append(unescapedItem);
766
+ unescapedItems.forEach((item) => {
767
+ if (item instanceof NodeList) div.append(...Array.from(item));
768
+ else div.append(item);
764
769
  });
765
770
  return div.childNodes;
766
771
  }
@@ -784,8 +789,12 @@ var hjparse = SmartTags.makeSmartTag({
784
789
  func: (main) => {
785
790
  const parsed = parse(main);
786
791
  if (parsed instanceof Error) return Outcome.makeFailure({ details: parsed });
787
- const unescaped = unescapeHyperJson(parsed);
788
- return Outcome.makeSuccess(unescaped);
792
+ try {
793
+ const unescaped = unescapeHyperJson(parsed);
794
+ return Outcome.makeSuccess(unescaped);
795
+ } catch (err) {
796
+ return Outcome.makeFailure({ details: err });
797
+ }
789
798
  }
790
799
  });
791
800
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  addChannel
3
- } from "./chunk-6WIKRRT5.js";
3
+ } from "./chunk-GPC6UDDY.js";
4
4
  import {
5
5
  viaLab,
6
6
  viaLch
7
- } from "./chunk-4XIY6THU.js";
7
+ } from "./chunk-SNGK2CF5.js";
8
8
  import {
9
9
  absoluteModulo
10
10
  } from "./chunk-DNIOWD7K.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  StylesSet,
3
3
  StylesSetComp
4
- } from "./chunk-PX4DPCZM.js";
4
+ } from "./chunk-Y6IIXPKF.js";
5
+ import {
6
+ Bem
7
+ } from "./chunk-KIONYWA7.js";
5
8
  import {
6
9
  generateNiceColor,
7
10
  niceColors
8
11
  } from "./chunk-EDVNAV3G.js";
9
- import {
10
- Bem
11
- } from "./chunk-KIONYWA7.js";
12
12
  import {
13
13
  classNameRegex,
14
14
  isValidClassName
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-66S3WWJV.js";
3
+ } from "./chunk-5RBXVRM5.js";
4
4
  import {
5
5
  directory_exports
6
6
  } from "./chunk-2WIWINVL.js";
@@ -11,7 +11,7 @@ import {
11
11
  viaLch,
12
12
  viaRgb,
13
13
  viaXyz
14
- } from "./chunk-4XIY6THU.js";
14
+ } from "./chunk-SNGK2CF5.js";
15
15
 
16
16
  // src/agnostic/colors/lerp/index.ts
17
17
  function lerpRgb(rgb1, rgb2, amount) {
@@ -2,7 +2,7 @@ import {
2
2
  Cast,
3
3
  Tree,
4
4
  Utils
5
- } from "./chunk-VX2CSZU6.js";
5
+ } from "./chunk-JEGI4KJI.js";
6
6
  import {
7
7
  Serialize
8
8
  } from "./chunk-SXRWMH3U.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  isDuckTypedSharpInstance,
6
6
  toSharpInstance
7
- } from "./chunk-WUK3SRAL.js";
7
+ } from "./chunk-QCE65XN6.js";
8
8
  import {
9
9
  Outcome
10
10
  } from "./chunk-JMU5PDBD.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  isArrayOf
3
3
  } from "./chunk-6RGDWX4A.js";
4
- import {
5
- shuffle
6
- } from "./chunk-VJJIYJMY.js";
7
4
  import {
8
5
  randomPick,
9
6
  randomPickMany
10
- } from "./chunk-C7SRAQMW.js";
7
+ } from "./chunk-AQBJ6HNB.js";
8
+ import {
9
+ shuffle
10
+ } from "./chunk-VJJIYJMY.js";
11
11
  import {
12
12
  findDuplicates
13
13
  } from "./chunk-YS6WMSWC.js";
@@ -2,7 +2,7 @@ import {
2
2
  viaLab,
3
3
  viaLch,
4
4
  viaRgb
5
- } from "./chunk-4XIY6THU.js";
5
+ } from "./chunk-SNGK2CF5.js";
6
6
  import {
7
7
  absoluteModulo
8
8
  } from "./chunk-DNIOWD7K.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tidy,
3
3
  toRgb
4
- } from "./chunk-4XIY6THU.js";
4
+ } from "./chunk-SNGK2CF5.js";
5
5
  import {
6
6
  isNonNullObject
7
7
  } from "./chunk-HQLRJ7XW.js";
@@ -3,7 +3,7 @@ import {
3
3
  toLab,
4
4
  toRgb,
5
5
  toXyz
6
- } from "./chunk-4XIY6THU.js";
6
+ } from "./chunk-SNGK2CF5.js";
7
7
 
8
8
  // src/agnostic/colors/luminance/index.ts
9
9
  function luminanceRgb(rgb) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-P2H6PV4O.js";
3
+ } from "./chunk-TIER4TF4.js";
4
4
 
5
5
  // src/agnostic/html/selector-to-element/index.ts
6
6
  function selectorToElement(selector, documentObj) {
@@ -3,7 +3,7 @@ import {
3
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({
@@ -6,7 +6,7 @@ import {
6
6
  viaLch,
7
7
  viaRgb,
8
8
  viaXyz
9
- } from "./chunk-4XIY6THU.js";
9
+ } from "./chunk-SNGK2CF5.js";
10
10
 
11
11
  // src/agnostic/colors/grayscale/index.ts
12
12
  function avgGrayscaleRgb(rgb) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-WUK3SRAL.js";
6
+ } from "./chunk-QCE65XN6.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  luminance
3
- } from "./chunk-RDSYH5NJ.js";
3
+ } from "./chunk-QQC3JHRJ.js";
4
4
  import {
5
5
  toRgb
6
- } from "./chunk-4XIY6THU.js";
6
+ } from "./chunk-SNGK2CF5.js";
7
7
 
8
8
  // src/agnostic/colors/contrast/index.ts
9
9
  function contrastWcag(c1, c2) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  storage_exports
3
- } from "./chunk-T74A5BQ6.js";
3
+ } from "./chunk-LMHJDTNO.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -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,6 +1,6 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-XXRTRR5D.js";
3
+ } from "./chunk-O7D235HS.js";
4
4
  import {
5
5
  directory_exports
6
6
  } from "./chunk-MUOULXIW.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-P2H6PV4O.js";
3
+ } from "./chunk-TIER4TF4.js";
4
4
 
5
5
  // src/agnostic/html/sanitize/index.ts
6
6
  var Sanitize;
@@ -6,19 +6,19 @@ import {
6
6
  } from "./chunk-7AWTHZLY.js";
7
7
  import {
8
8
  LoremIpsum
9
- } from "./chunk-THR4YEHN.js";
10
- import {
11
- Cast
12
- } from "./chunk-SNJJII7A.js";
9
+ } from "./chunk-43T4F2R5.js";
13
10
  import {
14
11
  Assert
15
- } from "./chunk-E4FJHD5R.js";
12
+ } from "./chunk-WAMSK4A3.js";
16
13
  import {
17
14
  Crawler
18
15
  } from "./chunk-YUP434IY.js";
19
16
  import {
20
17
  data_size_exports
21
18
  } from "./chunk-G4ZB72XY.js";
19
+ import {
20
+ Cast
21
+ } from "./chunk-SNJJII7A.js";
22
22
  import {
23
23
  Outcome
24
24
  } from "./chunk-JMU5PDBD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  rotate
3
- } from "./chunk-MGCOD7CI.js";
3
+ } from "./chunk-KL6DNUKC.js";
4
4
 
5
5
  // src/agnostic/colors/palette/index.ts
6
6
  function complementaryHsl(color) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Random
3
- } from "./chunk-S32K7POB.js";
3
+ } from "./chunk-DCKTGQOX.js";
4
4
  import {
5
5
  register
6
- } from "./chunk-P2H6PV4O.js";
6
+ } from "./chunk-TIER4TF4.js";
7
7
 
8
8
  // src/agnostic/css/styles-set/index.tsx
9
9
  import { Component } from "react";
@@ -1,33 +1,33 @@
1
1
  import {
2
- distance
3
- } from "./chunk-TVPTWOFP.js";
2
+ invert
3
+ } from "./chunk-PYKBU4NU.js";
4
4
  import {
5
5
  grayscale
6
- } from "./chunk-ZEAQ6B6I.js";
6
+ } from "./chunk-UTGGIUR3.js";
7
7
  import {
8
- invert
9
- } from "./chunk-BJKQMSLO.js";
8
+ distance
9
+ } from "./chunk-3RQEGKXW.js";
10
10
  import {
11
11
  lerp
12
- } from "./chunk-KXJUKOMC.js";
12
+ } from "./chunk-MKL533IV.js";
13
13
  import {
14
14
  palette
15
- } from "./chunk-NCLSAIJZ.js";
15
+ } from "./chunk-Y37OW2R5.js";
16
16
  import {
17
17
  rotate
18
- } from "./chunk-MGCOD7CI.js";
18
+ } from "./chunk-KL6DNUKC.js";
19
+ import {
20
+ contrast
21
+ } from "./chunk-VPCSCCCL.js";
22
+ import {
23
+ luminance
24
+ } from "./chunk-QQC3JHRJ.js";
19
25
  import {
20
26
  addChannel,
21
27
  getChannel,
22
28
  multChannel,
23
29
  setChannel
24
- } from "./chunk-6WIKRRT5.js";
25
- import {
26
- contrast
27
- } from "./chunk-KG2YA3PO.js";
28
- import {
29
- luminance
30
- } from "./chunk-RDSYH5NJ.js";
30
+ } from "./chunk-GPC6UDDY.js";
31
31
  import {
32
32
  tidy,
33
33
  toCmyk,
@@ -44,7 +44,7 @@ import {
44
44
  viaLch,
45
45
  viaRgb,
46
46
  viaXyz
47
- } from "./chunk-4XIY6THU.js";
47
+ } from "./chunk-SNGK2CF5.js";
48
48
  import {
49
49
  isCmyk,
50
50
  isColor,