@design-edito/tools 0.2.22 → 0.2.25

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 (188) hide show
  1. package/agnostic/arrays/index.js +7 -7
  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 +20 -20
  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 +4 -4
  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.d.ts +1 -0
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +5 -3
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +3 -3
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +3 -3
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +3 -3
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +3 -3
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +3 -3
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +3 -3
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +3 -3
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +3 -3
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +3 -3
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +3 -3
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +3 -3
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +3 -3
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +3 -3
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +3 -3
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +3 -3
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +3 -3
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +3 -3
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +3 -3
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +3 -3
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +3 -3
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +3 -3
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +3 -3
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +3 -3
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +3 -3
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +3 -3
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +3 -3
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +3 -3
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +3 -3
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +3 -3
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +3 -3
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +3 -3
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +3 -3
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +3 -3
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +3 -3
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +3 -3
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +3 -3
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +3 -3
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +3 -3
  73. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +3 -3
  74. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +3 -3
  75. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +3 -3
  76. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +3 -3
  77. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +3 -3
  78. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +3 -3
  79. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +3 -3
  80. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +3 -3
  81. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +3 -3
  82. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +3 -3
  83. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +3 -3
  84. package/agnostic/html/hyper-json/tree/index.js +3 -3
  85. package/agnostic/html/hyper-json/utils/index.js +3 -3
  86. package/agnostic/html/index.js +11 -11
  87. package/agnostic/html/sanitize/index.js +4 -4
  88. package/agnostic/html/selector-to-element/index.js +4 -4
  89. package/agnostic/html/string-to-nodes/index.js +5 -5
  90. package/agnostic/index.js +56 -56
  91. package/agnostic/misc/assert/index.js +3 -3
  92. package/agnostic/misc/index.js +15 -15
  93. package/agnostic/misc/logs/index.js +2 -2
  94. package/agnostic/misc/lorem-ipsum/index.js +8 -8
  95. package/agnostic/numbers/index.js +2 -2
  96. package/agnostic/objects/index.js +2 -2
  97. package/agnostic/strings/index.js +5 -5
  98. package/agnostic/time/index.js +4 -4
  99. package/chunks/{chunk-6Z6GDMOR.js → chunk-36CTYZYA.js} +2 -2
  100. package/chunks/{chunk-QQC3JHRJ.js → chunk-3LCD73SB.js} +1 -1
  101. package/chunks/{chunk-VMBHIU4V.js → chunk-3SR7VHYV.js} +2 -2
  102. package/chunks/{chunk-VPCSCCCL.js → chunk-5CTAKAIP.js} +2 -2
  103. package/chunks/{chunk-EYL6AWH7.js → chunk-64VDCR2W.js} +1 -1
  104. package/chunks/{chunk-WP72YVMR.js → chunk-7WT5CSN6.js} +17 -17
  105. package/chunks/{chunk-MW3KNVTG.js → chunk-B446JIN3.js} +1 -1
  106. package/chunks/{chunk-WC2LQPQP.js → chunk-CHUOCTRP.js} +1 -1
  107. package/chunks/{chunk-LTQFE3ZB.js → chunk-CIRKDR2H.js} +25 -20
  108. package/chunks/{chunk-OPLBIC4C.js → chunk-CLLJV343.js} +1 -1
  109. package/chunks/{chunk-E7W2GLLQ.js → chunk-CYUEPBUN.js} +1 -1
  110. package/chunks/{chunk-QCE65XN6.js → chunk-D5CCWCEI.js} +1 -1
  111. package/chunks/{chunk-HTCTWKY7.js → chunk-DKITT7OT.js} +4 -4
  112. package/chunks/{chunk-PYKBU4NU.js → chunk-EGBJXHCW.js} +1 -1
  113. package/chunks/{chunk-JOBQ6JWX.js → chunk-FTIAMLNA.js} +4 -4
  114. package/chunks/{chunk-O55JNDX3.js → chunk-JAD7QOAO.js} +20 -20
  115. package/chunks/{chunk-MTT7TVR3.js → chunk-JWF5EKM2.js} +1 -1
  116. package/chunks/{chunk-YPR3ZQ25.js → chunk-KPAXYNP2.js} +7 -7
  117. package/chunks/{chunk-3RQEGKXW.js → chunk-L7PIZQFC.js} +1 -1
  118. package/chunks/{chunk-VJSZCWSL.js → chunk-LEADFWEA.js} +1 -1
  119. package/chunks/{chunk-Y37OW2R5.js → chunk-MFIGSRSO.js} +1 -1
  120. package/chunks/{chunk-GPC6UDDY.js → chunk-NCYE5WML.js} +4 -4
  121. package/chunks/{chunk-EWQQMFFU.js → chunk-NZXM3KPP.js} +1 -1
  122. package/chunks/{chunk-3PH2XFJR.js → chunk-P5JJOC5K.js} +1 -1
  123. package/chunks/{chunk-SV4XYWHY.js → chunk-PBEXIVZ6.js} +2 -2
  124. package/chunks/{chunk-BYYRQLKP.js → chunk-PF2PROEX.js} +6 -6
  125. package/chunks/{chunk-KCIRDA7C.js → chunk-PO6EYWZP.js} +7 -7
  126. package/chunks/{chunk-W5ZHG3EU.js → chunk-PODVYCWI.js} +4 -4
  127. package/chunks/{chunk-EIQ5IQKU.js → chunk-PVRYR5KX.js} +1 -1
  128. package/chunks/{chunk-76626PSN.js → chunk-QNVAQZOA.js} +1 -1
  129. package/chunks/{chunk-ZIJLQD6J.js → chunk-QWNWZBIO.js} +1 -1
  130. package/chunks/{chunk-BPXES27P.js → chunk-RR5OYTN6.js} +2 -2
  131. package/chunks/{chunk-2HU2AWWJ.js → chunk-SA2IY5LN.js} +1 -1
  132. package/chunks/{chunk-V7VAAA4C.js → chunk-STPN5KZL.js} +1 -1
  133. package/chunks/{chunk-7ZIUGRTE.js → chunk-UAZBKB6A.js} +1 -1
  134. package/chunks/{chunk-E4FJHD5R.js → chunk-WAMSK4A3.js} +1 -1
  135. package/chunks/{chunk-LNJGMBOZ.js → chunk-WC675GM6.js} +5 -5
  136. package/chunks/{chunk-UTGGIUR3.js → chunk-WSC3WODJ.js} +1 -1
  137. package/chunks/{chunk-MKL533IV.js → chunk-XPGAVZGK.js} +1 -1
  138. package/chunks/{chunk-2HEESXVO.js → chunk-YSJNXT3C.js} +15 -15
  139. package/chunks/{chunk-H6T4IO4Z.js → chunk-YVKM7N55.js} +1 -1
  140. package/chunks/{chunk-KL6DNUKC.js → chunk-YXLHZ2KW.js} +2 -2
  141. package/chunks/{chunk-3ZJNGC4R.js → chunk-ZLBSI4TR.js} +1 -1
  142. package/node/@aws-s3/index.js +10 -10
  143. package/node/@aws-s3/storage/directory/index.js +7 -7
  144. package/node/@aws-s3/storage/file/index.js +13 -13
  145. package/node/@aws-s3/storage/index.js +9 -9
  146. package/node/@google-cloud/index.js +14 -14
  147. package/node/@google-cloud/storage/bucket/index.js +4 -4
  148. package/node/@google-cloud/storage/directory/index.js +7 -7
  149. package/node/@google-cloud/storage/file/index.js +16 -16
  150. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  151. package/node/@google-cloud/storage/index.js +15 -15
  152. package/node/cloud-storage/index.js +32 -32
  153. package/node/cloud-storage/operations/index.js +43 -43
  154. package/node/ftps/directory/index.js +7 -7
  155. package/node/ftps/file/index.js +13 -13
  156. package/node/ftps/index.js +9 -9
  157. package/node/images/create/index.js +15 -15
  158. package/node/images/format/index.js +15 -15
  159. package/node/images/index.js +27 -27
  160. package/node/images/metadata/index.js +15 -15
  161. package/node/images/transform/index.js +23 -23
  162. package/node/images/transform/operations/extend/index.js +15 -15
  163. package/node/images/transform/operations/flatten/index.js +15 -15
  164. package/node/images/transform/operations/overlay/index.js +15 -15
  165. package/node/images/transform/operations/resize/index.js +15 -15
  166. package/node/images/transform/operations/rotate/index.js +15 -15
  167. package/node/images/utils/index.js +14 -14
  168. package/node/index.js +89 -89
  169. package/node/sftp/directory/index.js +7 -7
  170. package/node/sftp/file/index.js +13 -13
  171. package/node/sftp/index.js +9 -9
  172. package/package.json +1 -1
  173. package/chunks/{chunk-XKRFL2AB.js → chunk-A7K5DUP7.js} +6 -6
  174. package/chunks/{chunk-KQAPQMHJ.js → chunk-CNMP2GU4.js} +6 -6
  175. package/chunks/{chunk-FIZVLXG6.js → chunk-EE7CSFBM.js} +12 -12
  176. package/chunks/{chunk-SNGK2CF5.js → chunk-FNQAF6CQ.js} +6 -6
  177. package/chunks/{chunk-K4KTBY3C.js → chunk-MISSKW6Z.js} +12 -12
  178. package/chunks/{chunk-X7KWB2VQ.js → chunk-MJQF3YZO.js} +3 -3
  179. package/chunks/{chunk-45E3E4KW.js → chunk-MZIUCQDZ.js} +3 -3
  180. package/chunks/{chunk-RKI6JPGR.js → chunk-N7KMBVPL.js} +12 -12
  181. package/chunks/{chunk-4QXLIIZL.js → chunk-SESIRLTS.js} +12 -12
  182. package/chunks/{chunk-UXEKCYL7.js → chunk-UEAMPAHK.js} +3 -3
  183. package/chunks/{chunk-24CGCZRJ.js → chunk-V3V3S2UU.js} +18 -18
  184. package/chunks/{chunk-2KT7AKRW.js → chunk-WH6BPDAC.js} +3 -3
  185. package/chunks/{chunk-EWCTVB6Q.js → chunk-WOYF3N4A.js} +3 -3
  186. package/chunks/{chunk-QXVZJYNY.js → chunk-X5F6XGEP.js} +6 -6
  187. package/chunks/{chunk-XPGDKBTU.js → chunk-ZBAKY6DB.js} +6 -6
  188. package/chunks/{chunk-LSZVKXDZ.js → chunk-ZPDKBMUH.js} +3 -3
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-K4KTBY3C.js";
3
+ } from "./chunk-MISSKW6Z.js";
4
4
  import {
5
5
  directory_exports
6
- } from "./chunk-XPGDKBTU.js";
6
+ } from "./chunk-ZBAKY6DB.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  luminance
3
- } from "./chunk-QQC3JHRJ.js";
3
+ } from "./chunk-3LCD73SB.js";
4
4
  import {
5
5
  toRgb
6
- } from "./chunk-SNGK2CF5.js";
6
+ } from "./chunk-FNQAF6CQ.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-VMBHIU4V.js";
3
+ } from "./chunk-3SR7VHYV.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -1,33 +1,33 @@
1
1
  import {
2
- lerp
3
- } from "./chunk-MKL533IV.js";
2
+ palette
3
+ } from "./chunk-MFIGSRSO.js";
4
4
  import {
5
- contrast
6
- } from "./chunk-VPCSCCCL.js";
5
+ rotate
6
+ } from "./chunk-YXLHZ2KW.js";
7
7
  import {
8
- grayscale
9
- } from "./chunk-UTGGIUR3.js";
8
+ contrast
9
+ } from "./chunk-5CTAKAIP.js";
10
10
  import {
11
11
  distance
12
- } from "./chunk-3RQEGKXW.js";
12
+ } from "./chunk-L7PIZQFC.js";
13
13
  import {
14
- invert
15
- } from "./chunk-PYKBU4NU.js";
14
+ grayscale
15
+ } from "./chunk-WSC3WODJ.js";
16
16
  import {
17
- luminance
18
- } from "./chunk-QQC3JHRJ.js";
17
+ invert
18
+ } from "./chunk-EGBJXHCW.js";
19
19
  import {
20
- palette
21
- } from "./chunk-Y37OW2R5.js";
20
+ lerp
21
+ } from "./chunk-XPGAVZGK.js";
22
22
  import {
23
- rotate
24
- } from "./chunk-KL6DNUKC.js";
23
+ luminance
24
+ } from "./chunk-3LCD73SB.js";
25
25
  import {
26
26
  addChannel,
27
27
  getChannel,
28
28
  multChannel,
29
29
  setChannel
30
- } from "./chunk-GPC6UDDY.js";
30
+ } from "./chunk-NCYE5WML.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-SNGK2CF5.js";
47
+ } from "./chunk-FNQAF6CQ.js";
48
48
  import {
49
49
  isCmyk,
50
50
  isColor,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-WC2LQPQP.js";
3
+ } from "./chunk-CHUOCTRP.js";
4
4
 
5
5
  // src/agnostic/arrays/random-pick/index.ts
6
6
  function randomPick(arr, exclude = []) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-UFKH5WD2.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({
@@ -28,22 +28,22 @@ import {
28
28
  import {
29
29
  isInEnum
30
30
  } from "./chunk-E6MSDKON.js";
31
+ import {
32
+ recordMap
33
+ } from "./chunk-XNF5MLCQ.js";
31
34
  import {
32
35
  isRecord
33
36
  } from "./chunk-YDIBNEGA.js";
34
37
  import {
35
- recordMap
36
- } from "./chunk-XNF5MLCQ.js";
38
+ trimEnd,
39
+ trimStart
40
+ } from "./chunk-6XL25OZX.js";
37
41
  import {
38
42
  Outcome
39
43
  } from "./chunk-JMU5PDBD.js";
40
44
  import {
41
45
  replaceAll
42
46
  } from "./chunk-ZTDVUXPR.js";
43
- import {
44
- trimEnd,
45
- trimStart
46
- } from "./chunk-6XL25OZX.js";
47
47
  import {
48
48
  Window
49
49
  } from "./chunk-RLJOYG64.js";
@@ -684,19 +684,23 @@ function deepGetProperty(record2, pathString) {
684
684
  // src/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.ts
685
685
  var textItemSymbol = "%%-hyperjson-text-%%";
686
686
  var nodelistItemSymbol = "%%-hyperjson-nodelist-%%";
687
+ var nodelistItemSplitterSymbol = "%%-hyperjson-nodelist-splitter-%%";
687
688
  var elementItemSymbol = "%%-hyperjson-element-%%";
688
689
  function stringifier(val) {
689
- if (typeof val === "string") return `"${val}"`;
690
- if (typeof val === "number" || typeof val === "boolean" || val === null) return `${val}`;
691
- if (val instanceof Text) return `"${textItemSymbol}${val.textContent}"`;
692
- if (val instanceof Element) return `"${elementItemSymbol}${val.outerHTML}"`;
690
+ if (typeof val === "string" || typeof val === "number" || typeof val === "boolean" || val === null) return JSON.stringify(val);
691
+ if (val instanceof Text) return JSON.stringify(`${textItemSymbol}${val.textContent}`);
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 `"${nodelistItemSymbol}${items.map(stringifier).join(", ")}"`;
695
+ return `"${nodelistItemSymbol}${items.map(stringifier).join(nodelistItemSplitterSymbol)}"`;
696
696
  }
697
- if (val instanceof Method) return `"[Object method]"`;
698
- if (Array.isArray(val)) return `[${val.map(stringifier).join(", ")}]`;
699
- return `{ ${Object.entries(val).map(([key, val2]) => `"${key}": ${stringifier(val2)}`).join(", ")} }`;
697
+ if (val instanceof Method) return `[Method object: ${val.transformer.name}`;
698
+ if (Array.isArray(val)) return JSON.stringify(val.map(stringifier));
699
+ return JSON.stringify(
700
+ Object.entries(val).reduce((acc, [key, val2]) => {
701
+ return { ...acc, [key]: stringifier(val2) };
702
+ }, {})
703
+ );
700
704
  }
701
705
  var hjstringify = SmartTags.makeSmartTag({
702
706
  name: "hjstringify",
@@ -751,13 +755,13 @@ function unescapeHyperJsonString(val) {
751
755
  }
752
756
  if (val.startsWith(nodelistItemSymbol)) {
753
757
  const trimmed = val.slice(nodelistItemSymbol.length);
758
+ const splitted = trimmed.split(nodelistItemSplitterSymbol).map(unescapeHyperJsonString);
754
759
  const div = document.createElement("div");
755
- div.innerHTML = trimmed;
756
- const children = Array.from(div.childNodes);
757
- const validChildren = children.filter((n) => n instanceof Text || n instanceof Element);
758
- const frag = document.createDocumentFragment();
759
- frag.append(...validChildren);
760
- return frag.childNodes;
760
+ splitted.forEach((item) => {
761
+ if (item instanceof NodeList) div.append(...Array.from(item));
762
+ else div.append(item);
763
+ });
764
+ return div.childNodes;
761
765
  }
762
766
  return val;
763
767
  }
@@ -2522,6 +2526,7 @@ export {
2522
2526
  deepGetProperty,
2523
2527
  textItemSymbol,
2524
2528
  nodelistItemSymbol,
2529
+ nodelistItemSplitterSymbol,
2525
2530
  elementItemSymbol,
2526
2531
  hjstringify,
2527
2532
  hjparse,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  isDuckTypedSharpInstance,
6
6
  toSharpInstance
7
- } from "./chunk-QCE65XN6.js";
7
+ } from "./chunk-D5CCWCEI.js";
8
8
  import {
9
9
  Outcome
10
10
  } from "./chunk-JMU5PDBD.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OVG5RGI3.js";
4
4
  import {
5
5
  register
6
- } from "./chunk-WC2LQPQP.js";
6
+ } from "./chunk-CHUOCTRP.js";
7
7
 
8
8
  // src/agnostic/css/styles-set/index.tsx
9
9
  import { Component } from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tidy,
3
3
  toRgb
4
- } from "./chunk-SNGK2CF5.js";
4
+ } from "./chunk-FNQAF6CQ.js";
5
5
  import {
6
6
  isNonNullObject
7
7
  } from "./chunk-HQLRJ7XW.js";
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  toSharpColor,
6
6
  toSharpInstance
7
- } from "./chunk-QCE65XN6.js";
7
+ } from "./chunk-D5CCWCEI.js";
8
8
  import {
9
9
  Outcome
10
10
  } from "./chunk-JMU5PDBD.js";
11
- import {
12
- isColor
13
- } from "./chunk-67V4BGOB.js";
14
11
  import {
15
12
  clamp
16
13
  } from "./chunk-OSAXBA7G.js";
14
+ import {
15
+ isColor
16
+ } from "./chunk-67V4BGOB.js";
17
17
  import {
18
18
  __export
19
19
  } from "./chunk-WSFCRVEQ.js";
@@ -2,7 +2,7 @@ import {
2
2
  viaLab,
3
3
  viaLch,
4
4
  viaRgb
5
- } from "./chunk-SNGK2CF5.js";
5
+ } from "./chunk-FNQAF6CQ.js";
6
6
  import {
7
7
  absoluteModulo
8
8
  } from "./chunk-DNIOWD7K.js";
@@ -1,13 +1,13 @@
1
+ import {
2
+ randomPick,
3
+ randomPickMany
4
+ } from "./chunk-B446JIN3.js";
1
5
  import {
2
6
  shuffle
3
7
  } from "./chunk-VJJIYJMY.js";
4
8
  import {
5
9
  make
6
10
  } from "./chunk-RLAZR3NL.js";
7
- import {
8
- randomPick,
9
- randomPickMany
10
- } from "./chunk-MW3KNVTG.js";
11
11
  import {
12
12
  findDuplicates
13
13
  } from "./chunk-YS6WMSWC.js";
@@ -1,31 +1,31 @@
1
1
  import {
2
- hue,
3
- isHueOperationParams
4
- } from "./chunk-QSU3CVGF.js";
2
+ isNormalizeOperationParams,
3
+ normalize
4
+ } from "./chunk-3G6FOHII.js";
5
+ import {
6
+ isLevelOperationParams,
7
+ level
8
+ } from "./chunk-2HJPX7E3.js";
5
9
  import {
6
10
  isLightenOperationParams,
7
11
  lighten
8
12
  } from "./chunk-RHKFMXM3.js";
9
- import {
10
- isNormalizeOperationParams,
11
- normalize
12
- } from "./chunk-3G6FOHII.js";
13
13
  import {
14
14
  isOverlayOperationParams,
15
15
  overlay
16
- } from "./chunk-OPLBIC4C.js";
16
+ } from "./chunk-CLLJV343.js";
17
+ import {
18
+ isSaturateOperationParams,
19
+ saturate
20
+ } from "./chunk-QTA7ZEVX.js";
17
21
  import {
18
22
  isResizeOperationParams,
19
23
  resize
20
- } from "./chunk-V7VAAA4C.js";
24
+ } from "./chunk-STPN5KZL.js";
21
25
  import {
22
26
  isRotateOperationParams,
23
27
  rotate
24
- } from "./chunk-ZIJLQD6J.js";
25
- import {
26
- isSaturateOperationParams,
27
- saturate
28
- } from "./chunk-QTA7ZEVX.js";
28
+ } from "./chunk-QWNWZBIO.js";
29
29
  import {
30
30
  blur,
31
31
  isBlurOperationParams
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  extend,
39
39
  isExtendOperationParams
40
- } from "./chunk-H6T4IO4Z.js";
40
+ } from "./chunk-YVKM7N55.js";
41
41
  import {
42
42
  extract,
43
43
  isExtractOperationParams
@@ -45,7 +45,7 @@ import {
45
45
  import {
46
46
  flatten,
47
47
  isFlattenOperationParams
48
- } from "./chunk-3PH2XFJR.js";
48
+ } from "./chunk-P5JJOC5K.js";
49
49
  import {
50
50
  flip
51
51
  } from "./chunk-WNDMYNDU.js";
@@ -53,12 +53,12 @@ import {
53
53
  flop
54
54
  } from "./chunk-YA2YCZUF.js";
55
55
  import {
56
- isLevelOperationParams,
57
- level
58
- } from "./chunk-2HJPX7E3.js";
56
+ hue,
57
+ isHueOperationParams
58
+ } from "./chunk-QSU3CVGF.js";
59
59
  import {
60
60
  toSharpInstance
61
- } from "./chunk-QCE65XN6.js";
61
+ } from "./chunk-D5CCWCEI.js";
62
62
  import {
63
63
  Outcome
64
64
  } from "./chunk-JMU5PDBD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-WC2LQPQP.js";
3
+ } from "./chunk-CHUOCTRP.js";
4
4
 
5
5
  // src/agnostic/html/sanitize/index.ts
6
6
  var Sanitize;
@@ -1,18 +1,18 @@
1
- import {
2
- StylesSet,
3
- StylesSetComp
4
- } from "./chunk-E7W2GLLQ.js";
5
- import {
6
- Bem
7
- } from "./chunk-KIONYWA7.js";
8
1
  import {
9
2
  generateNiceColor,
10
3
  niceColors
11
4
  } from "./chunk-EDVNAV3G.js";
5
+ import {
6
+ Bem
7
+ } from "./chunk-KIONYWA7.js";
12
8
  import {
13
9
  classNameRegex,
14
10
  isValidClassName
15
11
  } from "./chunk-W5A2TON3.js";
12
+ import {
13
+ StylesSet,
14
+ StylesSetComp
15
+ } from "./chunk-CYUEPBUN.js";
16
16
 
17
17
  // src/agnostic/css/index.ts
18
18
  var Css;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toLab
3
- } from "./chunk-SNGK2CF5.js";
3
+ } from "./chunk-FNQAF6CQ.js";
4
4
 
5
5
  // src/agnostic/colors/distance/index.ts
6
6
  function distanceCiede2000(c1, c2) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OVG5RGI3.js";
4
4
  import {
5
5
  Arrays
6
- } from "./chunk-JOBQ6JWX.js";
6
+ } from "./chunk-FTIAMLNA.js";
7
7
 
8
8
  // src/agnostic/misc/lorem-ipsum/index.ts
9
9
  var LoremIpsum;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  rotate
3
- } from "./chunk-KL6DNUKC.js";
3
+ } from "./chunk-YXLHZ2KW.js";
4
4
 
5
5
  // src/agnostic/colors/palette/index.ts
6
6
  function complementaryHsl(color) {
@@ -13,13 +13,13 @@ import {
13
13
  viaLch,
14
14
  viaRgb,
15
15
  viaXyz
16
- } from "./chunk-SNGK2CF5.js";
17
- import {
18
- clamp
19
- } from "./chunk-OSAXBA7G.js";
16
+ } from "./chunk-FNQAF6CQ.js";
20
17
  import {
21
18
  absoluteModulo
22
19
  } from "./chunk-DNIOWD7K.js";
20
+ import {
21
+ clamp
22
+ } from "./chunk-OSAXBA7G.js";
23
23
 
24
24
  // src/agnostic/colors/channels/index.ts
25
25
  function setChannel(color, channel, value) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  operations_exports
3
- } from "./chunk-24CGCZRJ.js";
3
+ } from "./chunk-V3V3S2UU.js";
4
4
  import {
5
5
  clients_exports
6
6
  } from "./chunk-V3GX7SIJ.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-QCE65XN6.js";
6
+ } from "./chunk-D5CCWCEI.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  directory_exports
3
- } from "./chunk-KQAPQMHJ.js";
3
+ } from "./chunk-CNMP2GU4.js";
4
4
  import {
5
5
  file_exports
6
- } from "./chunk-RKI6JPGR.js";
6
+ } from "./chunk-N7KMBVPL.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-WSFCRVEQ.js";
@@ -4,18 +4,18 @@ import {
4
4
  import {
5
5
  Placeholders
6
6
  } from "./chunk-VYW4IADX.js";
7
- import {
8
- selectorToElement
9
- } from "./chunk-2HU2AWWJ.js";
10
7
  import {
11
8
  stringToNodes
12
- } from "./chunk-6Z6GDMOR.js";
9
+ } from "./chunk-36CTYZYA.js";
13
10
  import {
14
11
  Sanitize
15
- } from "./chunk-MTT7TVR3.js";
12
+ } from "./chunk-JWF5EKM2.js";
13
+ import {
14
+ selectorToElement
15
+ } from "./chunk-SA2IY5LN.js";
16
16
  import {
17
17
  HyperJson
18
- } from "./chunk-76626PSN.js";
18
+ } from "./chunk-QNVAQZOA.js";
19
19
  import {
20
20
  insertNode
21
21
  } from "./chunk-XA4HVHJ4.js";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  Logs
3
- } from "./chunk-X7KWB2VQ.js";
3
+ } from "./chunk-MJQF3YZO.js";
4
4
  import {
5
- getCurrentDownlink
6
- } from "./chunk-7AWTHZLY.js";
5
+ data_size_exports
6
+ } from "./chunk-G4ZB72XY.js";
7
7
  import {
8
8
  LoremIpsum
9
- } from "./chunk-VJSZCWSL.js";
9
+ } from "./chunk-LEADFWEA.js";
10
10
  import {
11
11
  Assert
12
- } from "./chunk-E4FJHD5R.js";
12
+ } from "./chunk-WAMSK4A3.js";
13
13
  import {
14
14
  Crawler
15
15
  } from "./chunk-YUP434IY.js";
16
16
  import {
17
- data_size_exports
18
- } from "./chunk-G4ZB72XY.js";
17
+ getCurrentDownlink
18
+ } from "./chunk-7AWTHZLY.js";
19
19
  import {
20
20
  Cast
21
21
  } from "./chunk-SNJJII7A.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  create_exports
3
- } from "./chunk-EIQ5IQKU.js";
3
+ } from "./chunk-PVRYR5KX.js";
4
4
  import {
5
5
  format_exports
6
- } from "./chunk-HTCTWKY7.js";
6
+ } from "./chunk-DKITT7OT.js";
7
7
  import {
8
8
  metadata_exports
9
- } from "./chunk-3ZJNGC4R.js";
9
+ } from "./chunk-ZLBSI4TR.js";
10
10
  import {
11
11
  transform_exports
12
- } from "./chunk-O55JNDX3.js";
12
+ } from "./chunk-JAD7QOAO.js";
13
13
  import {
14
14
  types_exports
15
15
  } from "./chunk-FKDPPFHV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toCreateOptions
3
- } from "./chunk-QCE65XN6.js";
3
+ } from "./chunk-D5CCWCEI.js";
4
4
  import {
5
5
  __export
6
6
  } from "./chunk-WSFCRVEQ.js";
@@ -2,7 +2,7 @@ import {
2
2
  Cast,
3
3
  Tree,
4
4
  Utils
5
- } from "./chunk-LTQFE3ZB.js";
5
+ } from "./chunk-CIRKDR2H.js";
6
6
  import {
7
7
  Serialize
8
8
  } from "./chunk-SXRWMH3U.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-QCE65XN6.js";
6
+ } from "./chunk-D5CCWCEI.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  file_exports
3
- } from "./chunk-4QXLIIZL.js";
3
+ } from "./chunk-SESIRLTS.js";
4
4
  import {
5
5
  directory_exports
6
- } from "./chunk-XKRFL2AB.js";
6
+ } from "./chunk-A7K5DUP7.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-WC2LQPQP.js";
3
+ } from "./chunk-CHUOCTRP.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-DZ2T5DTY.js";
4
4
  import {
5
5
  toSharpColor
6
- } from "./chunk-QCE65XN6.js";
6
+ } from "./chunk-D5CCWCEI.js";
7
7
  import {
8
8
  Outcome
9
9
  } from "./chunk-JMU5PDBD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  storage_exports
3
- } from "./chunk-LNJGMBOZ.js";
3
+ } from "./chunk-WC675GM6.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,12 +1,12 @@
1
- import {
2
- bucket_exports
3
- } from "./chunk-UXEKCYL7.js";
4
1
  import {
5
2
  file_exports
6
- } from "./chunk-2HEESXVO.js";
3
+ } from "./chunk-YSJNXT3C.js";
4
+ import {
5
+ bucket_exports
6
+ } from "./chunk-UEAMPAHK.js";
7
7
  import {
8
8
  directory_exports
9
- } from "./chunk-QXVZJYNY.js";
9
+ } from "./chunk-X5F6XGEP.js";
10
10
  import {
11
11
  __export
12
12
  } from "./chunk-WSFCRVEQ.js";
@@ -6,7 +6,7 @@ import {
6
6
  viaLch,
7
7
  viaRgb,
8
8
  viaXyz
9
- } from "./chunk-SNGK2CF5.js";
9
+ } from "./chunk-FNQAF6CQ.js";
10
10
 
11
11
  // src/agnostic/colors/grayscale/index.ts
12
12
  function avgGrayscaleRgb(rgb) {