@design-edito/tools 0.1.72 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (714) hide show
  1. package/agnostic/arrays/find-duplicates/index.js +1 -1
  2. package/agnostic/arrays/index.js +6 -6
  3. package/agnostic/arrays/is-array-of/index.js +1 -1
  4. package/agnostic/arrays/make/index.js +1 -1
  5. package/agnostic/arrays/random-pick/index.js +1 -1
  6. package/agnostic/arrays/shuffle/index.js +1 -1
  7. package/agnostic/booleans/index.js +1 -1
  8. package/agnostic/booleans/is-falsy/index.js +1 -1
  9. package/agnostic/colors/complement-color/index.js +1 -1
  10. package/agnostic/colors/hex-to-rgb/index.js +1 -1
  11. package/agnostic/colors/hsl-to-rgb/index.js +1 -1
  12. package/agnostic/colors/index.js +12 -12
  13. package/agnostic/colors/lighten-color/index.js +3 -3
  14. package/agnostic/colors/rgb-to-hex/index.js +1 -1
  15. package/agnostic/colors/rgb-to-hsl/index.js +1 -1
  16. package/agnostic/colors/saturate-color/index.js +3 -3
  17. package/agnostic/css/bem/index.js +3 -3
  18. package/agnostic/css/generate-nice-color/index.js +1 -1
  19. package/agnostic/css/index.js +12 -12
  20. package/agnostic/css/is-valid-css-class-name/index.js +1 -1
  21. package/agnostic/css/styles-set/index.js +1 -1
  22. package/agnostic/errors/index.js +1 -1
  23. package/agnostic/errors/register/index.js +1 -1
  24. package/agnostic/errors/unknown-to-string/index.js +1 -1
  25. package/agnostic/html/get-node-ancestors/index.js +1 -1
  26. package/agnostic/html/get-position-inside-parent/index.js +1 -1
  27. package/agnostic/html/hyper-json/cast/index.js +3 -3
  28. package/agnostic/html/hyper-json/index.js +4 -4
  29. package/agnostic/html/hyper-json/method/index.js +1 -1
  30. package/agnostic/html/hyper-json/serialize/index.js +1 -1
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +3 -3
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +3 -3
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +3 -3
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +3 -3
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +3 -3
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +3 -3
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +3 -3
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +3 -3
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +3 -3
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +3 -3
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +3 -3
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +3 -3
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +3 -3
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +3 -3
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +3 -3
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +3 -3
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +3 -3
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +3 -3
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +3 -3
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +3 -3
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +3 -3
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +3 -3
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +3 -3
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +3 -3
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +3 -3
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +3 -3
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +3 -3
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +3 -3
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +3 -3
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +3 -3
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +3 -3
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +3 -3
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +3 -3
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +3 -3
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +3 -3
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +3 -3
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +3 -3
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +3 -3
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +3 -3
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +3 -3
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +3 -3
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +3 -3
  73. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +3 -3
  74. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +3 -3
  75. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +3 -3
  76. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +3 -3
  77. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +3 -3
  78. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +3 -3
  79. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +3 -3
  80. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +3 -3
  81. package/agnostic/html/hyper-json/smart-tags/index.js +1 -1
  82. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +1 -1
  83. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +1 -1
  84. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +3 -3
  85. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +3 -3
  86. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +3 -3
  87. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +3 -3
  88. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +3 -3
  89. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +3 -3
  90. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -1
  91. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +3 -3
  92. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +3 -3
  93. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +3 -3
  94. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +3 -3
  95. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +3 -3
  96. package/agnostic/html/hyper-json/transformer/index.js +1 -1
  97. package/agnostic/html/hyper-json/tree/index.js +3 -3
  98. package/agnostic/html/hyper-json/types/index.js +1 -1
  99. package/agnostic/html/hyper-json/utils/index.js +3 -3
  100. package/agnostic/html/index.js +10 -10
  101. package/agnostic/html/insert-node/index.js +1 -1
  102. package/agnostic/html/placeholders/index.js +1 -1
  103. package/agnostic/html/replace-in-element/index.js +1 -1
  104. package/agnostic/html/sanitize/index.js +1 -1
  105. package/agnostic/html/selector-to-element/index.js +1 -1
  106. package/agnostic/html/string-to-nodes/index.js +1 -1
  107. package/agnostic/misc/assert/index.js +1 -1
  108. package/agnostic/misc/cast/index.js +1 -1
  109. package/agnostic/misc/crawler/index.js +1 -1
  110. package/agnostic/misc/crossenv/detect-runtime/index.js +1 -1
  111. package/agnostic/misc/crossenv/index.js +1 -1
  112. package/agnostic/misc/crossenv/types/index.js +1 -1
  113. package/agnostic/misc/crossenv/window/index.js +1 -1
  114. package/agnostic/misc/data-size/index.js +2 -2
  115. package/agnostic/misc/elo/index.js +1 -1
  116. package/agnostic/misc/get-current-downlink/index.js +1 -1
  117. package/agnostic/misc/index.js +17 -17
  118. package/agnostic/misc/is-constructor-function/index.js +1 -1
  119. package/agnostic/misc/is-nullish/index.js +1 -1
  120. package/agnostic/misc/logs/index.js +1 -1
  121. package/agnostic/misc/logs/logger/index.js +1 -1
  122. package/agnostic/misc/logs/make-text-block/index.js +1 -1
  123. package/agnostic/misc/logs/styles/index.js +1 -1
  124. package/agnostic/misc/lorem-ipsum/index.js +7 -7
  125. package/agnostic/misc/normalize-extension/index.js +1 -1
  126. package/agnostic/misc/outcome/index.js +1 -1
  127. package/agnostic/numbers/absolute-modulo/index.js +1 -1
  128. package/agnostic/numbers/clamp/index.js +1 -1
  129. package/agnostic/numbers/index.js +4 -4
  130. package/agnostic/numbers/interpolate/index.js +1 -1
  131. package/agnostic/numbers/responsive-harmonics/index.js +1 -1
  132. package/agnostic/numbers/round/index.js +1 -1
  133. package/agnostic/objects/deep-get-property/index.js +1 -1
  134. package/agnostic/objects/enums/index.js +1 -1
  135. package/agnostic/objects/enums/is-in-enum/index.js +1 -1
  136. package/agnostic/objects/flatten-getters/index.js +1 -1
  137. package/agnostic/objects/index.js +11 -11
  138. package/agnostic/objects/is-object/index.js +1 -1
  139. package/agnostic/objects/is-record/index.js +1 -1
  140. package/agnostic/objects/record-format/index.js +1 -1
  141. package/agnostic/objects/record-map/index.js +1 -1
  142. package/agnostic/objects/validation/index.js +1 -1
  143. package/agnostic/optim/index.js +1 -1
  144. package/agnostic/optim/memoize/index.js +1 -1
  145. package/agnostic/optim/throttle-debounce/index.js +1 -1
  146. package/agnostic/random/hex-char/index.js +1 -1
  147. package/agnostic/random/index.js +1 -1
  148. package/agnostic/random/random/index.js +1 -1
  149. package/agnostic/random/uuid/index.js +1 -1
  150. package/agnostic/regexps/index.js +1 -1
  151. package/agnostic/sanitization/index.js +4 -1280
  152. package/agnostic/strings/char-codes/index.js +1 -1
  153. package/agnostic/strings/index.js +12 -12
  154. package/agnostic/strings/matches/index.js +1 -1
  155. package/agnostic/strings/normalize-indent/index.js +1 -1
  156. package/agnostic/strings/replace-all/index.js +1 -1
  157. package/agnostic/strings/to-alphanum/index.js +1 -1
  158. package/agnostic/strings/trim/index.js +1 -1
  159. package/agnostic/time/dates/format-date/index.js +1 -1
  160. package/agnostic/time/dates/index.js +1 -1
  161. package/agnostic/time/duration/index.js +1 -1
  162. package/agnostic/time/index.js +4 -4
  163. package/agnostic/time/timeout/index.js +1 -1
  164. package/agnostic/time/transitions/index.js +1 -1
  165. package/agnostic/time/wait/index.js +1 -1
  166. package/chunks/chunk-24MJDYQE.js +18 -0
  167. package/chunks/{chunk-OYUM24PM.js → chunk-24ZUWYIR.js} +6 -6
  168. package/chunks/{chunk-MPYCQ5IF.js → chunk-2JH4TCT2.js} +1 -1
  169. package/chunks/{chunk-HNFSETMT.js → chunk-2V7TLVCV.js} +6 -6
  170. package/chunks/{chunk-6RJY3F7A.js → chunk-2VJ4QISD.js} +7 -7
  171. package/chunks/{chunk-CEY7OIFX.js → chunk-37TRFYZT.js} +1 -1
  172. package/chunks/{chunk-26V5RC4U.js → chunk-3CLGBOHN.js} +1 -1
  173. package/chunks/{chunk-UU35YSBK.js → chunk-3RLCDQOJ.js} +12 -12
  174. package/chunks/{chunk-LBDZQNBM.js → chunk-3TKBCG7Y.js} +5 -9
  175. package/chunks/{chunk-XFMKYZKH.js → chunk-3XRPOHUB.js} +1 -1
  176. package/chunks/{chunk-6STIUASQ.js → chunk-42K3MQQ5.js} +1 -1
  177. package/chunks/{chunk-AOWLA5T2.js → chunk-4BPSIDYW.js} +19 -19
  178. package/chunks/{chunk-KOBZRZBX.js → chunk-4EFX53Y4.js} +10 -6
  179. package/chunks/chunk-4KNB7WYD.js +19 -0
  180. package/chunks/{chunk-3J4WAVX6.js → chunk-4OK2UH4M.js} +7 -7
  181. package/chunks/{chunk-24O4C4HG.js → chunk-4W7NAQMC.js} +4 -4
  182. package/chunks/{chunk-5WARYKLO.js → chunk-4XBUJAQU.js} +10 -10
  183. package/chunks/{chunk-LF4VYSOT.js → chunk-4XSDRT23.js} +8 -9
  184. package/chunks/chunk-5BQFHNTR.js +21 -0
  185. package/chunks/chunk-5KVGIG6J.js +31 -0
  186. package/chunks/chunk-5PAFOSWF.js +16 -0
  187. package/chunks/{chunk-BTJ2JXDV.js → chunk-5VHFXWFM.js} +1 -1
  188. package/chunks/chunk-5XBCPKNW.js +18 -0
  189. package/chunks/{chunk-FWR7ZA4M.js → chunk-5ZJ3KJPK.js} +1 -1
  190. package/chunks/{chunk-QP5GNEJY.js → chunk-646R6BQZ.js} +6 -6
  191. package/chunks/chunk-6FMANHGH.js +15 -0
  192. package/chunks/{chunk-XIMUZN5X.js → chunk-6IYUA43Q.js} +1 -1
  193. package/chunks/{chunk-V7FJOKAC.js → chunk-6LDTWID7.js} +10 -10
  194. package/chunks/{chunk-YXIFWOKO.js → chunk-6NLNUGBI.js} +6 -6
  195. package/chunks/{chunk-AVVDAISH.js → chunk-74CFPDKM.js} +7 -7
  196. package/chunks/{chunk-KBOL3LMK.js → chunk-7CHYRYXJ.js} +34 -34
  197. package/chunks/{chunk-VSYAOEKE.js → chunk-7DV4CM2Z.js} +1 -1
  198. package/chunks/chunk-7HSB4A2G.js +31 -0
  199. package/chunks/{chunk-GZWZ5SSG.js → chunk-7J2AUDU2.js} +19 -19
  200. package/chunks/{chunk-2RFYHF6F.js → chunk-7J7CYOXU.js} +1 -1
  201. package/chunks/{chunk-HL6LO6QF.js → chunk-7KSMK42F.js} +7 -7
  202. package/chunks/chunk-ABQMMHCL.js +16 -0
  203. package/chunks/{chunk-J5TWVAJJ.js → chunk-AIC5YAJU.js} +7 -7
  204. package/chunks/{chunk-XDTFPTMG.js → chunk-AKCO3SNC.js} +33 -33
  205. package/chunks/{chunk-J467ZNXE.js → chunk-ANPXBD2G.js} +1 -1
  206. package/chunks/{chunk-M6B5J46K.js → chunk-AU6JLO5B.js} +3 -3
  207. package/chunks/chunk-AW3I75FU.js +79 -0
  208. package/chunks/{chunk-OSZCNQBA.js → chunk-AY7SJG3R.js} +11 -11
  209. package/chunks/chunk-B5C6VXNI.js +18 -0
  210. package/chunks/{chunk-HY7RNBYE.js → chunk-BD56ZAYF.js} +7 -7
  211. package/chunks/{chunk-5HE6JLK7.js → chunk-BE7OXZRK.js} +1 -1
  212. package/chunks/{chunk-EAV5YDBD.js → chunk-BGSJ5XCH.js} +3 -3
  213. package/chunks/chunk-BN4MCFBZ.js +35 -0
  214. package/chunks/{chunk-YQ7FI6RT.js → chunk-BP3KL5L2.js} +9 -9
  215. package/chunks/chunk-BSLVDJVW.js +32 -0
  216. package/chunks/{chunk-EHLTUOGZ.js → chunk-BSUQNHAM.js} +1 -1
  217. package/chunks/chunk-BVPHULMY.js +21 -0
  218. package/chunks/{chunk-TQZ46CBX.js → chunk-BWYH445G.js} +1 -1
  219. package/chunks/{chunk-ME7RF24X.js → chunk-C2MFLI7A.js} +16 -16
  220. package/chunks/{chunk-3G4NTP23.js → chunk-C6QTHDDM.js} +8 -9
  221. package/chunks/{chunk-WQD2VKTO.js → chunk-CA3UPHYO.js} +6 -6
  222. package/chunks/{chunk-AXTDGCSY.js → chunk-CAV4FNVR.js} +19 -19
  223. package/chunks/chunk-CGITTQIW.js +42 -0
  224. package/chunks/{chunk-HP722G2E.js → chunk-CHKEZ72M.js} +4 -24
  225. package/chunks/chunk-CKENYYWH.js +28 -0
  226. package/chunks/{chunk-FR3BXMR5.js → chunk-CNYSX2L2.js} +1 -1
  227. package/chunks/{chunk-FTOEQNF6.js → chunk-CVDCTI7F.js} +1 -1
  228. package/chunks/{chunk-4XS5UIQF.js → chunk-CWZFRUBS.js} +1 -1
  229. package/chunks/{chunk-TLYXVMR5.js → chunk-CXUWFKJG.js} +6 -6
  230. package/chunks/{chunk-7WYDM5OX.js → chunk-CYBPWE5F.js} +1 -1
  231. package/chunks/chunk-D67AGMZF.js +23 -0
  232. package/chunks/{chunk-ZWWJ52EY.js → chunk-D7PZ7633.js} +8 -8
  233. package/chunks/{chunk-4MLQ42IU.js → chunk-DPQRXSZH.js} +6 -6
  234. package/chunks/chunk-ELPQUBKJ.js +30 -0
  235. package/chunks/chunk-EOTOFHUR.js +42 -0
  236. package/chunks/chunk-EWQDQMIO.js +22 -0
  237. package/chunks/{chunk-V4YB22WN.js → chunk-EZ22Z22X.js} +7 -7
  238. package/chunks/chunk-F4GFAM6X.js +31 -0
  239. package/chunks/{chunk-MP6CL7F7.js → chunk-FB3GNE2B.js} +1 -1
  240. package/chunks/chunk-FCB366FH.js +40 -0
  241. package/chunks/chunk-FD5WR2A5.js +63 -0
  242. package/chunks/{chunk-NX2FQWHA.js → chunk-FE4DECBU.js} +1 -1
  243. package/chunks/{chunk-QKK6WQDI.js → chunk-FF5NURFO.js} +1 -1
  244. package/chunks/chunk-FI675VZO.js +11609 -0
  245. package/chunks/chunk-FRJBHV4A.js +21 -0
  246. package/chunks/{chunk-JJA4KGAD.js → chunk-FS6LRTDK.js} +6 -6
  247. package/chunks/chunk-G4Y2EOVP.js +18 -0
  248. package/chunks/{chunk-UBJACMOZ.js → chunk-G5RRNREY.js} +4 -4
  249. package/chunks/chunk-GE7DNPF6.js +63 -0
  250. package/chunks/chunk-GGYWRA4A.js +231 -0
  251. package/chunks/chunk-GKCKBPY2.js +16 -0
  252. package/chunks/chunk-GZIEUPBF.js +18 -0
  253. package/chunks/{chunk-DJ7ABCYK.js → chunk-H4LW6FP3.js} +6 -6
  254. package/chunks/{chunk-HDGHODNO.js → chunk-H5O26IRG.js} +7 -7
  255. package/chunks/{chunk-LUZ7ZWWJ.js → chunk-HD7QU6D6.js} +11 -11
  256. package/chunks/{chunk-NCLB3UH3.js → chunk-HKTNK262.js} +1 -1
  257. package/chunks/{chunk-54B7VIY6.js → chunk-HRNDUTZE.js} +1 -1
  258. package/chunks/{chunk-TEQE3HY3.js → chunk-HRWQVASA.js} +14 -14
  259. package/chunks/{chunk-5RA25FYM.js → chunk-HWEGQVBQ.js} +1 -1
  260. package/chunks/{chunk-G2XDDBWE.js → chunk-HWVEI3RH.js} +1 -1
  261. package/chunks/chunk-HX5PHI2P.js +42 -0
  262. package/chunks/{chunk-2DYDNCZK.js → chunk-HY4V3SPP.js} +22 -22
  263. package/chunks/chunk-IFZ4CMF4.js +16 -0
  264. package/chunks/{chunk-H4NHF72W.js → chunk-IV75M3KE.js} +6 -8
  265. package/chunks/chunk-JAENHN5Z.js +42 -0
  266. package/chunks/chunk-JNQPNZTB.js +42 -0
  267. package/chunks/{chunk-B5OUYMUU.js → chunk-JQAOGZPV.js} +4 -4
  268. package/chunks/{chunk-NP5UEOSJ.js → chunk-JTJA7DGW.js} +2 -2
  269. package/chunks/chunk-JV6I54AC.js +16 -0
  270. package/chunks/{chunk-5CYREVPP.js → chunk-KJAEVOIW.js} +1 -1
  271. package/chunks/chunk-KOD5LUT3.js +28 -0
  272. package/chunks/{chunk-ESUBE7BB.js → chunk-KQCU3AXU.js} +6 -6
  273. package/chunks/{chunk-SCOY7PVB.js → chunk-KRICEY6O.js} +4 -4
  274. package/chunks/chunk-KUT7FQGS.js +16 -0
  275. package/chunks/chunk-LJO4SDD2.js +79 -0
  276. package/chunks/{chunk-KPYPESIY.js → chunk-LNL6TUDC.js} +14 -14
  277. package/chunks/chunk-LQ2H2YVS.js +60 -0
  278. package/chunks/chunk-LQ3PCG4Z.js +18 -0
  279. package/chunks/chunk-LRBVQNQI.js +40 -0
  280. package/chunks/chunk-LSZVKXDZ.js +37 -0
  281. package/chunks/chunk-LV4WOREW.js +40 -0
  282. package/chunks/chunk-LVCQ3CSC.js +21 -0
  283. package/chunks/chunk-M32C4GP2.js +15 -0
  284. package/chunks/{chunk-MYCT3HYF.js → chunk-MJFB3YE6.js} +3 -3
  285. package/chunks/chunk-MJMBDBEH.js +69 -0
  286. package/chunks/chunk-MKHTR43Q.js +231 -0
  287. package/chunks/{chunk-A3VTK5UF.js → chunk-N2T672IG.js} +1 -1
  288. package/chunks/chunk-NFSRT4ED.js +18 -0
  289. package/chunks/chunk-NHKKX4F7.js +18 -0
  290. package/chunks/{chunk-JZ6Z7V7F.js → chunk-NJVVOZVZ.js} +4 -4
  291. package/chunks/{chunk-Z2VDSEND.js → chunk-NMYVJJXV.js} +1 -1
  292. package/chunks/{chunk-4PAHEIPV.js → chunk-NOLQR5RW.js} +6 -6
  293. package/chunks/{chunk-YU5NILJC.js → chunk-NWGNIT4B.js} +3 -3
  294. package/chunks/chunk-O3V5DTNL.js +40 -0
  295. package/chunks/chunk-O6TWC4IK.js +56 -0
  296. package/chunks/{chunk-TOGOF74B.js → chunk-OA7Y2A5T.js} +6 -6
  297. package/chunks/chunk-OAGKCS7I.js +24 -0
  298. package/chunks/chunk-OMLGI3Y2.js +16 -0
  299. package/chunks/{chunk-2UPQ73EE.js → chunk-ON6LC3HE.js} +12 -11
  300. package/chunks/chunk-OT4SVHDX.js +11609 -0
  301. package/chunks/{chunk-6NZOSESD.js → chunk-PAIUCLVK.js} +1 -1
  302. package/chunks/chunk-PFYLNAAX.js +24 -0
  303. package/chunks/{chunk-HUT6SDJH.js → chunk-PGT5NXPS.js} +129 -42
  304. package/chunks/chunk-Q2SKOY7I.js +37 -0
  305. package/chunks/{chunk-BOJEVEPB.js → chunk-QCOO4PV5.js} +1 -1
  306. package/chunks/{chunk-IOZR2LGL.js → chunk-QDVDHFMZ.js} +1 -1
  307. package/chunks/{chunk-SSJ5YQMJ.js → chunk-QH64MYGA.js} +1 -1
  308. package/chunks/{chunk-6SSGHEQX.js → chunk-QLDN574K.js} +1 -1
  309. package/chunks/chunk-QTF7LWGT.js +28 -0
  310. package/chunks/{chunk-FTGHUU73.js → chunk-QTPSR7ZJ.js} +15 -15
  311. package/chunks/{chunk-ZO5FRL3M.js → chunk-QVPS2BCJ.js} +1 -1
  312. package/chunks/{chunk-QQAPFSMW.js → chunk-QWZ4ZNFA.js} +10 -10
  313. package/chunks/chunk-R4BWUNSM.js +28 -0
  314. package/chunks/chunk-REXT5ZMP.js +32 -0
  315. package/chunks/{chunk-CXU3QPN2.js → chunk-REZC75LB.js} +1 -1
  316. package/chunks/chunk-RNLVCCL2.js +151 -0
  317. package/chunks/{chunk-GKTDEHC6.js → chunk-RWO53U4X.js} +1 -1
  318. package/chunks/chunk-RXBMGIPJ.js +42 -0
  319. package/chunks/chunk-SEYXG56Q.js +23 -0
  320. package/chunks/{chunk-PUPASUMS.js → chunk-SHXOKSK3.js} +2 -2
  321. package/chunks/chunk-SP7EOGMF.js +30 -0
  322. package/chunks/chunk-SX2M5777.js +177 -0
  323. package/chunks/{chunk-PPJYUWHH.js → chunk-TGVYEQIA.js} +1 -1
  324. package/chunks/chunk-TQHR6A2P.js +40 -0
  325. package/chunks/chunk-TSAR3HF6.js +35 -0
  326. package/chunks/chunk-U2KKX7UV.js +19 -0
  327. package/chunks/{chunk-IQUEVQBN.js → chunk-UEAMPAHK.js} +7 -7
  328. package/chunks/{chunk-LUETT72P.js → chunk-UJ5LGWZL.js} +1 -1
  329. package/chunks/{chunk-7WUVBSIC.js → chunk-UK2F7CWI.js} +1 -1
  330. package/chunks/{chunk-EEZ3NV4Q.js → chunk-UK4HNSEJ.js} +6 -6
  331. package/chunks/chunk-UX2O74SG.js +42 -0
  332. package/chunks/chunk-UXEKCYL7.js +28 -0
  333. package/chunks/{chunk-4IHBBNAG.js → chunk-V3GX7SIJ.js} +4 -8
  334. package/chunks/{chunk-YCNUTWOG.js → chunk-V3L55I2S.js} +1 -1
  335. package/chunks/chunk-VEKKX6Z5.js +173 -0
  336. package/chunks/chunk-VISMB7RN.js +60 -0
  337. package/chunks/chunk-VJHE6WHS.js +164 -0
  338. package/chunks/{chunk-IIXTJZ6G.js → chunk-VROZGPC5.js} +6 -8
  339. package/chunks/chunk-VSM742EZ.js +40 -0
  340. package/chunks/{chunk-FNIJLHH2.js → chunk-W3G73JUU.js} +3 -3
  341. package/chunks/{chunk-JKAHSFJD.js → chunk-W3RXHN5I.js} +1 -1
  342. package/chunks/{chunk-HGDSHJEX.js → chunk-WAHPAZQS.js} +1 -1
  343. package/chunks/{chunk-V7JZNA6N.js → chunk-WG56WT6T.js} +3 -3
  344. package/chunks/chunk-WHLM3KTR.js +20 -0
  345. package/chunks/chunk-WJ3XV35I.js +28 -0
  346. package/chunks/chunk-WKGSTVTK.js +28 -0
  347. package/chunks/chunk-WMDZHUBQ.js +56 -0
  348. package/chunks/chunk-WS3JRFP7.js +69 -0
  349. package/chunks/chunk-WSFCRVEQ.js +9 -0
  350. package/chunks/chunk-X33GT7VY.js +28 -0
  351. package/chunks/chunk-XJ23DJY4.js +173 -0
  352. package/chunks/chunk-XNJYYULL.js +177 -0
  353. package/chunks/chunk-XNWEMAIP.js +42 -0
  354. package/chunks/chunk-XOUITWSM.js +21 -0
  355. package/chunks/{chunk-P5CBBXGK.js → chunk-XOXH4XNN.js} +3 -3
  356. package/chunks/chunk-XQ4V4LVP.js +28 -0
  357. package/chunks/chunk-Y6EREGHZ.js +20 -0
  358. package/chunks/chunk-YB2KZLMN.js +65 -0
  359. package/chunks/chunk-YDIFL3IZ.js +151 -0
  360. package/chunks/chunk-YJE3G6BE.js +16 -0
  361. package/chunks/{chunk-NXV33ZSC.js → chunk-YKPA3MQL.js} +1 -1
  362. package/chunks/chunk-YVWQXQTE.js +42 -0
  363. package/chunks/{chunk-S3GEV44K.js → chunk-Z4B2Z7QO.js} +124 -37
  364. package/chunks/{chunk-NHMEZ6ZP.js → chunk-ZEZCYPLQ.js} +6 -8
  365. package/chunks/chunk-ZH3QMMVD.js +28 -0
  366. package/chunks/{chunk-B7E3DQ4Z.js → chunk-ZJTWDCNZ.js} +1 -1
  367. package/chunks/chunk-ZKAK6JOS.js +98 -0
  368. package/chunks/chunk-ZN6IQRZT.js +141 -0
  369. package/chunks/{chunk-Z566RJUU.js → chunk-ZNA7SWFK.js} +1 -1
  370. package/chunks/chunk-ZQY2MR66.js +42 -0
  371. package/chunks/{chunk-ZAIWJI6A.js → chunk-ZSUG52DO.js} +6 -8
  372. package/chunks/chunk-ZUQEHFGL.js +42 -0
  373. package/components/Comp/index.js +1 -1
  374. package/node/@aws-s3/index.js +15 -16
  375. package/node/@aws-s3/storage/directory/copy-dir/index.js +2 -3
  376. package/node/@aws-s3/storage/directory/index.js +8 -9
  377. package/node/@aws-s3/storage/directory/list/index.js +2 -3
  378. package/node/@aws-s3/storage/directory/move-dir/index.js +2 -3
  379. package/node/@aws-s3/storage/directory/remove-dir/index.js +2 -3
  380. package/node/@aws-s3/storage/file/copy/index.js +2 -3
  381. package/node/@aws-s3/storage/file/download/index.js +2 -3
  382. package/node/@aws-s3/storage/file/exists/index.js +2 -3
  383. package/node/@aws-s3/storage/file/index.js +11 -12
  384. package/node/@aws-s3/storage/file/move/index.js +2 -3
  385. package/node/@aws-s3/storage/file/remove/index.js +2 -3
  386. package/node/@aws-s3/storage/file/stat/index.js +2 -3
  387. package/node/@aws-s3/storage/file/upload/index.js +2 -3
  388. package/node/@aws-s3/storage/index.js +15 -16
  389. package/node/@design-edito/index.js +1 -1
  390. package/node/@express/@multer/index.js +2 -2
  391. package/node/@express/index.js +2 -2
  392. package/node/@google-cloud/index.js +22 -22
  393. package/node/@google-cloud/storage/bucket/get-metadata/index.js +2 -2
  394. package/node/@google-cloud/storage/bucket/index.js +8 -8
  395. package/node/@google-cloud/storage/directory/copy-dir/index.js +2 -2
  396. package/node/@google-cloud/storage/directory/index.js +8 -8
  397. package/node/@google-cloud/storage/directory/list/index.js +2 -2
  398. package/node/@google-cloud/storage/directory/move-dir/index.js +2 -2
  399. package/node/@google-cloud/storage/directory/remove-dir/index.js +2 -2
  400. package/node/@google-cloud/storage/file/copy/index.js +2 -2
  401. package/node/@google-cloud/storage/file/download/index.js +2 -2
  402. package/node/@google-cloud/storage/file/exists/index.js +2 -2
  403. package/node/@google-cloud/storage/file/generate-signed-url/index.js +2 -2
  404. package/node/@google-cloud/storage/file/get-metadata/index.js +2 -2
  405. package/node/@google-cloud/storage/file/get-permissions/index.js +2 -2
  406. package/node/@google-cloud/storage/file/index.js +19 -19
  407. package/node/@google-cloud/storage/file/move/index.js +2 -2
  408. package/node/@google-cloud/storage/file/remove/index.js +2 -2
  409. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +5 -5
  410. package/node/@google-cloud/storage/file/stat/index.js +2 -2
  411. package/node/@google-cloud/storage/file/update-metadata/index.js +2 -2
  412. package/node/@google-cloud/storage/file/upload/index.js +2 -2
  413. package/node/@google-cloud/storage/index.js +24 -24
  414. package/node/cloud-storage/clients/index.js +2 -3
  415. package/node/cloud-storage/index.js +58 -59
  416. package/node/cloud-storage/operations/copy-dir/index.js +7 -8
  417. package/node/cloud-storage/operations/copy-file/index.js +7 -8
  418. package/node/cloud-storage/operations/download-file/index.js +7 -8
  419. package/node/cloud-storage/operations/exists-file/index.js +7 -8
  420. package/node/cloud-storage/operations/index.js +63 -64
  421. package/node/cloud-storage/operations/list-dir/index.js +7 -8
  422. package/node/cloud-storage/operations/move-dir/index.js +7 -8
  423. package/node/cloud-storage/operations/move-file/index.js +7 -8
  424. package/node/cloud-storage/operations/remove-dir/index.js +7 -8
  425. package/node/cloud-storage/operations/remove-file/index.js +7 -8
  426. package/node/cloud-storage/operations/stat-file/index.js +7 -8
  427. package/node/cloud-storage/operations/upload-file/index.js +7 -8
  428. package/node/encryption/@aes-256-gcm/buffer/index.js +3 -3
  429. package/node/encryption/@aes-256-gcm/index.js +4 -4
  430. package/node/encryption/@aes-256-gcm/uint8-array/index.js +2 -2
  431. package/node/encryption/index.js +5 -5
  432. package/node/encryption/key/index.js +2 -2
  433. package/node/files/index.js +5 -5
  434. package/node/files/is-in-directory/index.js +1 -1
  435. package/node/files/read-write/index.js +1 -1
  436. package/node/files/subpaths/index.js +1 -1
  437. package/node/ftps/directory/copy-dir/index.js +2 -2
  438. package/node/ftps/directory/index.js +8 -8
  439. package/node/ftps/directory/list/index.js +2 -2
  440. package/node/ftps/directory/move-dir/index.js +2 -2
  441. package/node/ftps/directory/remove-dir/index.js +2 -2
  442. package/node/ftps/file/copy/index.js +2 -2
  443. package/node/ftps/file/download/index.js +2 -2
  444. package/node/ftps/file/exists/index.js +2 -2
  445. package/node/ftps/file/index.js +11 -11
  446. package/node/ftps/file/move/index.js +2 -2
  447. package/node/ftps/file/remove/index.js +2 -2
  448. package/node/ftps/file/stat/index.js +2 -2
  449. package/node/ftps/file/upload/index.js +2 -2
  450. package/node/ftps/index.js +14 -14
  451. package/node/images/format/index.js +3 -3
  452. package/node/images/index.js +35 -35
  453. package/node/images/prepare/index.js +35 -35
  454. package/node/images/transform/_utils/color-schema/index.js +3 -3
  455. package/node/images/transform/_utils/operation-names/index.js +1 -1
  456. package/node/images/transform/_utils/positions/index.d.ts +8 -22
  457. package/node/images/transform/_utils/positions/index.js +3 -3
  458. package/node/images/transform/blur/index.js +3 -3
  459. package/node/images/transform/brighten/index.js +3 -3
  460. package/node/images/transform/compose/index.js +5 -5
  461. package/node/images/transform/extend/index.js +4 -4
  462. package/node/images/transform/extract/index.js +3 -3
  463. package/node/images/transform/flatten/index.js +4 -4
  464. package/node/images/transform/flip/index.js +3 -3
  465. package/node/images/transform/flop/index.js +3 -3
  466. package/node/images/transform/frame/backgrounds/create-line-background/index.d.ts +34 -127
  467. package/node/images/transform/frame/backgrounds/create-line-background/index.js +3 -3
  468. package/node/images/transform/frame/backgrounds/create-tile-background/index.d.ts +75 -76
  469. package/node/images/transform/frame/backgrounds/create-tile-background/index.js +3 -3
  470. package/node/images/transform/frame/index.js +7 -7
  471. package/node/images/transform/hue-rotate/index.js +3 -3
  472. package/node/images/transform/index.js +33 -33
  473. package/node/images/transform/lighten/index.js +3 -3
  474. package/node/images/transform/lineate-levels/index.js +3 -3
  475. package/node/images/transform/modulate/index.js +3 -3
  476. package/node/images/transform/normalize/index.js +3 -3
  477. package/node/images/transform/operations/_utils/compose/index.js +1 -1
  478. package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.js +5 -5
  479. package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.js +1 -1
  480. package/node/images/transform/operations/_utils/frame/create-color-palette/index.js +5 -5
  481. package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.js +1 -1
  482. package/node/images/transform/operations/_utils/frame/index.js +8 -8
  483. package/node/images/transform/operations/_utils/positions/index.js +1 -1
  484. package/node/images/transform/operations/_utils/scale/index.js +1 -1
  485. package/node/images/transform/resize/index.js +4 -4
  486. package/node/images/transform/rotate/index.js +3 -3
  487. package/node/images/transform/saturate/index.js +3 -3
  488. package/node/images/transform/scale/index.js +4 -4
  489. package/node/process/index.js +1 -1
  490. package/node/process/on-exit/index.js +1 -1
  491. package/node/sftp/directory/copy-dir/index.js +2 -2
  492. package/node/sftp/directory/index.js +8 -8
  493. package/node/sftp/directory/list/index.js +2 -2
  494. package/node/sftp/directory/move-dir/index.js +2 -2
  495. package/node/sftp/directory/remove-dir/index.js +2 -2
  496. package/node/sftp/file/copy/index.js +2 -2
  497. package/node/sftp/file/download/index.js +2 -2
  498. package/node/sftp/file/exists/index.js +2 -2
  499. package/node/sftp/file/index.js +11 -11
  500. package/node/sftp/file/move/index.js +2 -2
  501. package/node/sftp/file/remove/index.js +2 -2
  502. package/node/sftp/file/stat/index.js +2 -2
  503. package/node/sftp/file/upload/index.js +2 -2
  504. package/node/sftp/index.js +14 -14
  505. package/package.json +9 -7
  506. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +0 -4
  507. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +0 -21
  508. package/agnostic/misc/crossenv/get-document/index.d.ts +0 -2
  509. package/agnostic/misc/crossenv/get-document/index.js +0 -7
  510. package/agnostic/misc/crossenv/get-window/browser.d.ts +0 -2
  511. package/agnostic/misc/crossenv/get-window/index.d.ts +0 -2
  512. package/agnostic/misc/crossenv/get-window/index.js +0 -6
  513. package/agnostic/misc/crossenv/types.d.ts +0 -3
  514. package/chunks/chunk-2ALVFCSP.js +0 -211
  515. package/chunks/chunk-2NXYSAFE.js +0 -67
  516. package/chunks/chunk-2YGNPA2R.js +0 -79
  517. package/chunks/chunk-34C35EX6.js +0 -16
  518. package/chunks/chunk-36CTYZYA.js +0 -28
  519. package/chunks/chunk-45S766KF.js +0 -15
  520. package/chunks/chunk-4GUDL44X.js +0 -13
  521. package/chunks/chunk-4QQBKBYH.js +0 -59
  522. package/chunks/chunk-5HW7QLTB.js +0 -35
  523. package/chunks/chunk-5IR2PWO6.js +0 -211
  524. package/chunks/chunk-73FTH5T3.js +0 -211
  525. package/chunks/chunk-73V5RDSG.js +0 -13
  526. package/chunks/chunk-7647NLB2.js +0 -16
  527. package/chunks/chunk-B446JIN3.js +0 -29
  528. package/chunks/chunk-BEZTX3QU.js +0 -1
  529. package/chunks/chunk-BVCNQIKY.js +0 -18
  530. package/chunks/chunk-BW5CY5YB.js +0 -1
  531. package/chunks/chunk-CHUOCTRP.js +0 -26
  532. package/chunks/chunk-DIPJ73JH.js +0 -1
  533. package/chunks/chunk-DRH7Q4FL.js +0 -127
  534. package/chunks/chunk-E3NHW6J4.js +0 -211
  535. package/chunks/chunk-EAY65ZP6.js +0 -22
  536. package/chunks/chunk-EFFU6KXJ.js +0 -1
  537. package/chunks/chunk-EW46EXFB.js +0 -8
  538. package/chunks/chunk-EWQZUF22.js +0 -211
  539. package/chunks/chunk-EZW6DNPL.js +0 -23
  540. package/chunks/chunk-FCU6IHKD.js +0 -15
  541. package/chunks/chunk-FTDA7PRI.js +0 -2405
  542. package/chunks/chunk-FVPFKY5G.js +0 -2391
  543. package/chunks/chunk-GDYVCEWA.js +0 -38
  544. package/chunks/chunk-HCNRPWKW.js +0 -63
  545. package/chunks/chunk-HEJV6JIO.js +0 -133
  546. package/chunks/chunk-HLUWFMD7.js +0 -67
  547. package/chunks/chunk-HRWQ4TUA.js +0 -2405
  548. package/chunks/chunk-HZJY7N36.js +0 -2405
  549. package/chunks/chunk-IJIE2SLT.js +0 -211
  550. package/chunks/chunk-IPB3U2PD.js +0 -278
  551. package/chunks/chunk-IY44AG73.js +0 -69
  552. package/chunks/chunk-IZP4VIFZ.js +0 -35933
  553. package/chunks/chunk-JEYO7UP7.js +0 -44
  554. package/chunks/chunk-JFWEEBSR.js +0 -18
  555. package/chunks/chunk-JKISSFTR.js +0 -211
  556. package/chunks/chunk-JWF5EKM2.js +0 -127
  557. package/chunks/chunk-KH45J4DC.js +0 -48
  558. package/chunks/chunk-KNE7WIIW.js +0 -1
  559. package/chunks/chunk-LCFDDWJR.js +0 -278
  560. package/chunks/chunk-LCLAV6Q2.js +0 -1
  561. package/chunks/chunk-LVPFSXKA.js +0 -37
  562. package/chunks/chunk-LYMZZ4BB.js +0 -22
  563. package/chunks/chunk-MF56TTC5.js +0 -15
  564. package/chunks/chunk-MQ4Y3GBI.js +0 -19
  565. package/chunks/chunk-N4EJZLME.js +0 -21
  566. package/chunks/chunk-N7FA7QJK.js +0 -30
  567. package/chunks/chunk-NQNEYA4Z.js +0 -32
  568. package/chunks/chunk-O4AEYNFT.js +0 -16
  569. package/chunks/chunk-OO5SJJDW.js +0 -35
  570. package/chunks/chunk-P5TKDJ4T.js +0 -37
  571. package/chunks/chunk-PCAKH6ZJ.js +0 -1
  572. package/chunks/chunk-PO3V3I57.js +0 -23
  573. package/chunks/chunk-Q7XL3D4H.js +0 -37
  574. package/chunks/chunk-QQRJPDR7.js +0 -1
  575. package/chunks/chunk-R2H52CYP.js +0 -44
  576. package/chunks/chunk-R6KCN6CK.js +0 -40
  577. package/chunks/chunk-RUCTSKYQ.js +0 -2391
  578. package/chunks/chunk-S23WCXQK.js +0 -211
  579. package/chunks/chunk-S4FNXSMM.js +0 -18
  580. package/chunks/chunk-SA2IY5LN.js +0 -35
  581. package/chunks/chunk-SQZGZ3VT.js +0 -15
  582. package/chunks/chunk-T4KFB6QN.js +0 -4072
  583. package/chunks/chunk-UFKH5WD2.js +0 -21
  584. package/chunks/chunk-UOWPJDWO.js +0 -37
  585. package/chunks/chunk-UQVDRQ77.js +0 -2391
  586. package/chunks/chunk-UWAMSJ2X.js +0 -28
  587. package/chunks/chunk-VA6HXRX4.js +0 -211
  588. package/chunks/chunk-VDNIN3V5.js +0 -23
  589. package/chunks/chunk-W3MRYBZJ.js +0 -37
  590. package/chunks/chunk-W7YBGJ4H.js +0 -28
  591. package/chunks/chunk-WECTUHS5.js +0 -127
  592. package/chunks/chunk-WHGU2Q46.js +0 -31
  593. package/chunks/chunk-WTAMA5WX.js +0 -37
  594. package/chunks/chunk-WZ2EV5JB.js +0 -211
  595. package/chunks/chunk-WZBNXYN3.js +0 -1
  596. package/chunks/chunk-X2DODW4G.js +0 -211
  597. package/chunks/chunk-X7KWB2VQ.js +0 -21
  598. package/chunks/chunk-XCKXCF4A.js +0 -1
  599. package/chunks/chunk-XI2XIH6L.js +0 -2391
  600. package/chunks/chunk-XKMSDS3Z.js +0 -18
  601. package/chunks/chunk-XYNIGHGL.js +0 -654
  602. package/chunks/chunk-YCX3R64F.js +0 -211
  603. package/chunks/chunk-YMPNQJ4Z.js +0 -21
  604. package/chunks/chunk-YVUJ4WBL.js +0 -16
  605. package/chunks/chunk-YYE2MVZO.js +0 -211
  606. package/chunks/chunk-ZB73RE7P.js +0 -35
  607. package/chunks/chunk-ZONKYNKA.js +0 -28
  608. package/chunks/chunk-ZUWQPR2N.js +0 -37
  609. package/chunks/chunk-ZVJO36JU.js +0 -1
  610. package/index.d.ts +0 -3
  611. package/index.js +0 -96
  612. package/utils/agnostic/absolute-modulo/index.d.ts +0 -1
  613. package/utils/agnostic/absolute-modulo/index.js +0 -1
  614. package/utils/agnostic/array/index.d.ts +0 -7
  615. package/utils/agnostic/array/index.js +0 -1
  616. package/utils/agnostic/assert/index.d.ts +0 -3
  617. package/utils/agnostic/assert/index.js +0 -1
  618. package/utils/agnostic/await-timeout/index.d.ts +0 -2
  619. package/utils/agnostic/await-timeout/index.js +0 -1
  620. package/utils/agnostic/bem/BEM.d.ts +0 -29
  621. package/utils/agnostic/bem/getNamesArr.d.ts +0 -2
  622. package/utils/agnostic/bem/index.d.ts +0 -5
  623. package/utils/agnostic/bem/index.js +0 -1
  624. package/utils/agnostic/cast/index.d.ts +0 -7
  625. package/utils/agnostic/cast/index.js +0 -1
  626. package/utils/agnostic/charcode-string/index.d.ts +0 -2
  627. package/utils/agnostic/charcode-string/index.js +0 -1
  628. package/utils/agnostic/clamp/index.d.ts +0 -1
  629. package/utils/agnostic/clamp/index.js +0 -1
  630. package/utils/agnostic/clientside-html-sanitizer/index.d.ts +0 -22
  631. package/utils/agnostic/clientside-html-sanitizer/index.js +0 -1
  632. package/utils/agnostic/crossenv/index.d.ts +0 -11
  633. package/utils/agnostic/crossenv/index.js +0 -1
  634. package/utils/agnostic/flatten-getters/index.d.ts +0 -1
  635. package/utils/agnostic/flatten-getters/index.js +0 -1
  636. package/utils/agnostic/generate-html-placeholders/index.d.ts +0 -7
  637. package/utils/agnostic/generate-html-placeholders/index.js +0 -5
  638. package/utils/agnostic/generate-nice-color/index.d.ts +0 -3
  639. package/utils/agnostic/generate-nice-color/index.js +0 -1
  640. package/utils/agnostic/insert-node/index.d.ts +0 -2
  641. package/utils/agnostic/insert-node/index.js +0 -1
  642. package/utils/agnostic/interpolate/index.d.ts +0 -3
  643. package/utils/agnostic/interpolate/index.js +0 -1
  644. package/utils/agnostic/is-array-of/index.d.ts +0 -5
  645. package/utils/agnostic/is-array-of/index.js +0 -1
  646. package/utils/agnostic/is-constructor-function/index.d.ts +0 -2
  647. package/utils/agnostic/is-constructor-function/index.js +0 -1
  648. package/utils/agnostic/is-falsy/index.d.ts +0 -8
  649. package/utils/agnostic/is-falsy/index.js +0 -1
  650. package/utils/agnostic/is-in-enum/index.d.ts +0 -1
  651. package/utils/agnostic/is-in-enum/index.js +0 -1
  652. package/utils/agnostic/is-nullish/index.d.ts +0 -5
  653. package/utils/agnostic/is-nullish/index.js +0 -1
  654. package/utils/agnostic/is-object/index.d.ts +0 -1
  655. package/utils/agnostic/is-object/index.js +0 -1
  656. package/utils/agnostic/is-record/index.d.ts +0 -1
  657. package/utils/agnostic/is-record/index.js +0 -1
  658. package/utils/agnostic/is-valid-css-class-name/index.d.ts +0 -2
  659. package/utils/agnostic/is-valid-css-class-name/index.js +0 -1
  660. package/utils/agnostic/memoize/index.d.ts +0 -3
  661. package/utils/agnostic/memoize/index.js +0 -1
  662. package/utils/agnostic/object-validate-from-partial/index.d.ts +0 -1
  663. package/utils/agnostic/object-validate-from-partial/index.js +0 -1
  664. package/utils/agnostic/random/index.d.ts +0 -9
  665. package/utils/agnostic/random/index.js +0 -1
  666. package/utils/agnostic/record-format/index.d.ts +0 -11
  667. package/utils/agnostic/record-format/index.js +0 -1
  668. package/utils/agnostic/regexp/index.d.ts +0 -21
  669. package/utils/agnostic/regexp/index.js +0 -1
  670. package/utils/agnostic/replace-all/index.d.ts +0 -1
  671. package/utils/agnostic/replace-all/index.js +0 -1
  672. package/utils/agnostic/responsive-harmonics/index.d.ts +0 -10
  673. package/utils/agnostic/responsive-harmonics/index.js +0 -1
  674. package/utils/agnostic/round-numbers/index.d.ts +0 -1
  675. package/utils/agnostic/round-numbers/index.js +0 -1
  676. package/utils/agnostic/selector-to-element/index.d.ts +0 -1
  677. package/utils/agnostic/selector-to-element/index.js +0 -1
  678. package/utils/agnostic/silent-log/index.d.ts +0 -53
  679. package/utils/agnostic/silent-log/index.js +0 -9
  680. package/utils/agnostic/str-to-nodes/index.d.ts +0 -7
  681. package/utils/agnostic/str-to-nodes/index.js +0 -1
  682. package/utils/agnostic/string-matches/index.d.ts +0 -4
  683. package/utils/agnostic/string-matches/index.js +0 -1
  684. package/utils/agnostic/string-normalize-indent/index.d.ts +0 -1
  685. package/utils/agnostic/string-normalize-indent/index.js +0 -3
  686. package/utils/agnostic/throttle-debounce/index.d.ts +0 -30
  687. package/utils/agnostic/throttle-debounce/index.js +0 -1
  688. package/utils/agnostic/throttle-debounce/types.d.ts +0 -3
  689. package/utils/agnostic/to-alphanum/index.d.ts +0 -1
  690. package/utils/agnostic/to-alphanum/index.js +0 -1
  691. package/utils/agnostic/transition/index.d.ts +0 -39
  692. package/utils/agnostic/transition/index.js +0 -1
  693. package/utils/agnostic/wait/index.d.ts +0 -1
  694. package/utils/agnostic/wait/index.js +0 -1
  695. package/utils/browser/dynamic-css/index.d.ts +0 -4
  696. package/utils/browser/dynamic-css/index.js +0 -2
  697. package/utils/browser/get-current-downlink/index.d.ts +0 -1
  698. package/utils/browser/get-current-downlink/index.js +0 -1
  699. package/utils/browser/get-node-ancestors/index.d.ts +0 -1
  700. package/utils/browser/get-node-ancestors/index.js +0 -1
  701. package/utils/node/is-in-directory/index.d.ts +0 -1
  702. package/utils/node/is-in-directory/index.js +0 -1
  703. package/utils/node/list-subpaths/index.d.ts +0 -33
  704. package/utils/node/list-subpaths/index.js +0 -1
  705. package/utils/node/process-exit/index.d.ts +0 -5
  706. package/utils/node/process-exit/index.js +0 -1
  707. package/utils/node/read-write-file/index.d.ts +0 -12
  708. package/utils/node/read-write-file/index.js +0 -1
  709. package/chunks/{chunk-33GNX62K.js → chunk-3BSVGWTK.js} +6 -6
  710. package/chunks/{chunk-H5HM5EBO.js → chunk-6V6SYSHX.js} +5 -5
  711. package/chunks/{chunk-6LY5FJXY.js → chunk-OL4JB46K.js} +11 -11
  712. package/chunks/{chunk-DCKTGQOX.js → chunk-OVG5RGI3.js} +4 -4
  713. package/chunks/{chunk-2COSSNOE.js → chunk-SAFV7TBT.js} +6 -6
  714. package/chunks/{chunk-LMF52IW7.js → chunk-XTOAQTLP.js} +4 -4
@@ -1,1283 +1,7 @@
1
- import {
2
- __commonJS,
3
- __toESM
4
- } from "../../chunks/chunk-KH45J4DC.js";
5
-
6
- // node_modules/cssfilter/lib/default.js
7
- var require_default = __commonJS({
8
- "node_modules/cssfilter/lib/default.js"(exports) {
9
- function getDefaultWhiteList() {
10
- var whiteList = {};
11
- whiteList["align-content"] = false;
12
- whiteList["align-items"] = false;
13
- whiteList["align-self"] = false;
14
- whiteList["alignment-adjust"] = false;
15
- whiteList["alignment-baseline"] = false;
16
- whiteList["all"] = false;
17
- whiteList["anchor-point"] = false;
18
- whiteList["animation"] = false;
19
- whiteList["animation-delay"] = false;
20
- whiteList["animation-direction"] = false;
21
- whiteList["animation-duration"] = false;
22
- whiteList["animation-fill-mode"] = false;
23
- whiteList["animation-iteration-count"] = false;
24
- whiteList["animation-name"] = false;
25
- whiteList["animation-play-state"] = false;
26
- whiteList["animation-timing-function"] = false;
27
- whiteList["azimuth"] = false;
28
- whiteList["backface-visibility"] = false;
29
- whiteList["background"] = true;
30
- whiteList["background-attachment"] = true;
31
- whiteList["background-clip"] = true;
32
- whiteList["background-color"] = true;
33
- whiteList["background-image"] = true;
34
- whiteList["background-origin"] = true;
35
- whiteList["background-position"] = true;
36
- whiteList["background-repeat"] = true;
37
- whiteList["background-size"] = true;
38
- whiteList["baseline-shift"] = false;
39
- whiteList["binding"] = false;
40
- whiteList["bleed"] = false;
41
- whiteList["bookmark-label"] = false;
42
- whiteList["bookmark-level"] = false;
43
- whiteList["bookmark-state"] = false;
44
- whiteList["border"] = true;
45
- whiteList["border-bottom"] = true;
46
- whiteList["border-bottom-color"] = true;
47
- whiteList["border-bottom-left-radius"] = true;
48
- whiteList["border-bottom-right-radius"] = true;
49
- whiteList["border-bottom-style"] = true;
50
- whiteList["border-bottom-width"] = true;
51
- whiteList["border-collapse"] = true;
52
- whiteList["border-color"] = true;
53
- whiteList["border-image"] = true;
54
- whiteList["border-image-outset"] = true;
55
- whiteList["border-image-repeat"] = true;
56
- whiteList["border-image-slice"] = true;
57
- whiteList["border-image-source"] = true;
58
- whiteList["border-image-width"] = true;
59
- whiteList["border-left"] = true;
60
- whiteList["border-left-color"] = true;
61
- whiteList["border-left-style"] = true;
62
- whiteList["border-left-width"] = true;
63
- whiteList["border-radius"] = true;
64
- whiteList["border-right"] = true;
65
- whiteList["border-right-color"] = true;
66
- whiteList["border-right-style"] = true;
67
- whiteList["border-right-width"] = true;
68
- whiteList["border-spacing"] = true;
69
- whiteList["border-style"] = true;
70
- whiteList["border-top"] = true;
71
- whiteList["border-top-color"] = true;
72
- whiteList["border-top-left-radius"] = true;
73
- whiteList["border-top-right-radius"] = true;
74
- whiteList["border-top-style"] = true;
75
- whiteList["border-top-width"] = true;
76
- whiteList["border-width"] = true;
77
- whiteList["bottom"] = false;
78
- whiteList["box-decoration-break"] = true;
79
- whiteList["box-shadow"] = true;
80
- whiteList["box-sizing"] = true;
81
- whiteList["box-snap"] = true;
82
- whiteList["box-suppress"] = true;
83
- whiteList["break-after"] = true;
84
- whiteList["break-before"] = true;
85
- whiteList["break-inside"] = true;
86
- whiteList["caption-side"] = false;
87
- whiteList["chains"] = false;
88
- whiteList["clear"] = true;
89
- whiteList["clip"] = false;
90
- whiteList["clip-path"] = false;
91
- whiteList["clip-rule"] = false;
92
- whiteList["color"] = true;
93
- whiteList["color-interpolation-filters"] = true;
94
- whiteList["column-count"] = false;
95
- whiteList["column-fill"] = false;
96
- whiteList["column-gap"] = false;
97
- whiteList["column-rule"] = false;
98
- whiteList["column-rule-color"] = false;
99
- whiteList["column-rule-style"] = false;
100
- whiteList["column-rule-width"] = false;
101
- whiteList["column-span"] = false;
102
- whiteList["column-width"] = false;
103
- whiteList["columns"] = false;
104
- whiteList["contain"] = false;
105
- whiteList["content"] = false;
106
- whiteList["counter-increment"] = false;
107
- whiteList["counter-reset"] = false;
108
- whiteList["counter-set"] = false;
109
- whiteList["crop"] = false;
110
- whiteList["cue"] = false;
111
- whiteList["cue-after"] = false;
112
- whiteList["cue-before"] = false;
113
- whiteList["cursor"] = false;
114
- whiteList["direction"] = false;
115
- whiteList["display"] = true;
116
- whiteList["display-inside"] = true;
117
- whiteList["display-list"] = true;
118
- whiteList["display-outside"] = true;
119
- whiteList["dominant-baseline"] = false;
120
- whiteList["elevation"] = false;
121
- whiteList["empty-cells"] = false;
122
- whiteList["filter"] = false;
123
- whiteList["flex"] = false;
124
- whiteList["flex-basis"] = false;
125
- whiteList["flex-direction"] = false;
126
- whiteList["flex-flow"] = false;
127
- whiteList["flex-grow"] = false;
128
- whiteList["flex-shrink"] = false;
129
- whiteList["flex-wrap"] = false;
130
- whiteList["float"] = false;
131
- whiteList["float-offset"] = false;
132
- whiteList["flood-color"] = false;
133
- whiteList["flood-opacity"] = false;
134
- whiteList["flow-from"] = false;
135
- whiteList["flow-into"] = false;
136
- whiteList["font"] = true;
137
- whiteList["font-family"] = true;
138
- whiteList["font-feature-settings"] = true;
139
- whiteList["font-kerning"] = true;
140
- whiteList["font-language-override"] = true;
141
- whiteList["font-size"] = true;
142
- whiteList["font-size-adjust"] = true;
143
- whiteList["font-stretch"] = true;
144
- whiteList["font-style"] = true;
145
- whiteList["font-synthesis"] = true;
146
- whiteList["font-variant"] = true;
147
- whiteList["font-variant-alternates"] = true;
148
- whiteList["font-variant-caps"] = true;
149
- whiteList["font-variant-east-asian"] = true;
150
- whiteList["font-variant-ligatures"] = true;
151
- whiteList["font-variant-numeric"] = true;
152
- whiteList["font-variant-position"] = true;
153
- whiteList["font-weight"] = true;
154
- whiteList["grid"] = false;
155
- whiteList["grid-area"] = false;
156
- whiteList["grid-auto-columns"] = false;
157
- whiteList["grid-auto-flow"] = false;
158
- whiteList["grid-auto-rows"] = false;
159
- whiteList["grid-column"] = false;
160
- whiteList["grid-column-end"] = false;
161
- whiteList["grid-column-start"] = false;
162
- whiteList["grid-row"] = false;
163
- whiteList["grid-row-end"] = false;
164
- whiteList["grid-row-start"] = false;
165
- whiteList["grid-template"] = false;
166
- whiteList["grid-template-areas"] = false;
167
- whiteList["grid-template-columns"] = false;
168
- whiteList["grid-template-rows"] = false;
169
- whiteList["hanging-punctuation"] = false;
170
- whiteList["height"] = true;
171
- whiteList["hyphens"] = false;
172
- whiteList["icon"] = false;
173
- whiteList["image-orientation"] = false;
174
- whiteList["image-resolution"] = false;
175
- whiteList["ime-mode"] = false;
176
- whiteList["initial-letters"] = false;
177
- whiteList["inline-box-align"] = false;
178
- whiteList["justify-content"] = false;
179
- whiteList["justify-items"] = false;
180
- whiteList["justify-self"] = false;
181
- whiteList["left"] = false;
182
- whiteList["letter-spacing"] = true;
183
- whiteList["lighting-color"] = true;
184
- whiteList["line-box-contain"] = false;
185
- whiteList["line-break"] = false;
186
- whiteList["line-grid"] = false;
187
- whiteList["line-height"] = false;
188
- whiteList["line-snap"] = false;
189
- whiteList["line-stacking"] = false;
190
- whiteList["line-stacking-ruby"] = false;
191
- whiteList["line-stacking-shift"] = false;
192
- whiteList["line-stacking-strategy"] = false;
193
- whiteList["list-style"] = true;
194
- whiteList["list-style-image"] = true;
195
- whiteList["list-style-position"] = true;
196
- whiteList["list-style-type"] = true;
197
- whiteList["margin"] = true;
198
- whiteList["margin-bottom"] = true;
199
- whiteList["margin-left"] = true;
200
- whiteList["margin-right"] = true;
201
- whiteList["margin-top"] = true;
202
- whiteList["marker-offset"] = false;
203
- whiteList["marker-side"] = false;
204
- whiteList["marks"] = false;
205
- whiteList["mask"] = false;
206
- whiteList["mask-box"] = false;
207
- whiteList["mask-box-outset"] = false;
208
- whiteList["mask-box-repeat"] = false;
209
- whiteList["mask-box-slice"] = false;
210
- whiteList["mask-box-source"] = false;
211
- whiteList["mask-box-width"] = false;
212
- whiteList["mask-clip"] = false;
213
- whiteList["mask-image"] = false;
214
- whiteList["mask-origin"] = false;
215
- whiteList["mask-position"] = false;
216
- whiteList["mask-repeat"] = false;
217
- whiteList["mask-size"] = false;
218
- whiteList["mask-source-type"] = false;
219
- whiteList["mask-type"] = false;
220
- whiteList["max-height"] = true;
221
- whiteList["max-lines"] = false;
222
- whiteList["max-width"] = true;
223
- whiteList["min-height"] = true;
224
- whiteList["min-width"] = true;
225
- whiteList["move-to"] = false;
226
- whiteList["nav-down"] = false;
227
- whiteList["nav-index"] = false;
228
- whiteList["nav-left"] = false;
229
- whiteList["nav-right"] = false;
230
- whiteList["nav-up"] = false;
231
- whiteList["object-fit"] = false;
232
- whiteList["object-position"] = false;
233
- whiteList["opacity"] = false;
234
- whiteList["order"] = false;
235
- whiteList["orphans"] = false;
236
- whiteList["outline"] = false;
237
- whiteList["outline-color"] = false;
238
- whiteList["outline-offset"] = false;
239
- whiteList["outline-style"] = false;
240
- whiteList["outline-width"] = false;
241
- whiteList["overflow"] = false;
242
- whiteList["overflow-wrap"] = false;
243
- whiteList["overflow-x"] = false;
244
- whiteList["overflow-y"] = false;
245
- whiteList["padding"] = true;
246
- whiteList["padding-bottom"] = true;
247
- whiteList["padding-left"] = true;
248
- whiteList["padding-right"] = true;
249
- whiteList["padding-top"] = true;
250
- whiteList["page"] = false;
251
- whiteList["page-break-after"] = false;
252
- whiteList["page-break-before"] = false;
253
- whiteList["page-break-inside"] = false;
254
- whiteList["page-policy"] = false;
255
- whiteList["pause"] = false;
256
- whiteList["pause-after"] = false;
257
- whiteList["pause-before"] = false;
258
- whiteList["perspective"] = false;
259
- whiteList["perspective-origin"] = false;
260
- whiteList["pitch"] = false;
261
- whiteList["pitch-range"] = false;
262
- whiteList["play-during"] = false;
263
- whiteList["position"] = false;
264
- whiteList["presentation-level"] = false;
265
- whiteList["quotes"] = false;
266
- whiteList["region-fragment"] = false;
267
- whiteList["resize"] = false;
268
- whiteList["rest"] = false;
269
- whiteList["rest-after"] = false;
270
- whiteList["rest-before"] = false;
271
- whiteList["richness"] = false;
272
- whiteList["right"] = false;
273
- whiteList["rotation"] = false;
274
- whiteList["rotation-point"] = false;
275
- whiteList["ruby-align"] = false;
276
- whiteList["ruby-merge"] = false;
277
- whiteList["ruby-position"] = false;
278
- whiteList["shape-image-threshold"] = false;
279
- whiteList["shape-outside"] = false;
280
- whiteList["shape-margin"] = false;
281
- whiteList["size"] = false;
282
- whiteList["speak"] = false;
283
- whiteList["speak-as"] = false;
284
- whiteList["speak-header"] = false;
285
- whiteList["speak-numeral"] = false;
286
- whiteList["speak-punctuation"] = false;
287
- whiteList["speech-rate"] = false;
288
- whiteList["stress"] = false;
289
- whiteList["string-set"] = false;
290
- whiteList["tab-size"] = false;
291
- whiteList["table-layout"] = false;
292
- whiteList["text-align"] = true;
293
- whiteList["text-align-last"] = true;
294
- whiteList["text-combine-upright"] = true;
295
- whiteList["text-decoration"] = true;
296
- whiteList["text-decoration-color"] = true;
297
- whiteList["text-decoration-line"] = true;
298
- whiteList["text-decoration-skip"] = true;
299
- whiteList["text-decoration-style"] = true;
300
- whiteList["text-emphasis"] = true;
301
- whiteList["text-emphasis-color"] = true;
302
- whiteList["text-emphasis-position"] = true;
303
- whiteList["text-emphasis-style"] = true;
304
- whiteList["text-height"] = true;
305
- whiteList["text-indent"] = true;
306
- whiteList["text-justify"] = true;
307
- whiteList["text-orientation"] = true;
308
- whiteList["text-overflow"] = true;
309
- whiteList["text-shadow"] = true;
310
- whiteList["text-space-collapse"] = true;
311
- whiteList["text-transform"] = true;
312
- whiteList["text-underline-position"] = true;
313
- whiteList["text-wrap"] = true;
314
- whiteList["top"] = false;
315
- whiteList["transform"] = false;
316
- whiteList["transform-origin"] = false;
317
- whiteList["transform-style"] = false;
318
- whiteList["transition"] = false;
319
- whiteList["transition-delay"] = false;
320
- whiteList["transition-duration"] = false;
321
- whiteList["transition-property"] = false;
322
- whiteList["transition-timing-function"] = false;
323
- whiteList["unicode-bidi"] = false;
324
- whiteList["vertical-align"] = false;
325
- whiteList["visibility"] = false;
326
- whiteList["voice-balance"] = false;
327
- whiteList["voice-duration"] = false;
328
- whiteList["voice-family"] = false;
329
- whiteList["voice-pitch"] = false;
330
- whiteList["voice-range"] = false;
331
- whiteList["voice-rate"] = false;
332
- whiteList["voice-stress"] = false;
333
- whiteList["voice-volume"] = false;
334
- whiteList["volume"] = false;
335
- whiteList["white-space"] = false;
336
- whiteList["widows"] = false;
337
- whiteList["width"] = true;
338
- whiteList["will-change"] = false;
339
- whiteList["word-break"] = true;
340
- whiteList["word-spacing"] = true;
341
- whiteList["word-wrap"] = true;
342
- whiteList["wrap-flow"] = false;
343
- whiteList["wrap-through"] = false;
344
- whiteList["writing-mode"] = false;
345
- whiteList["z-index"] = false;
346
- return whiteList;
347
- }
348
- function onAttr(name, value, options) {
349
- }
350
- function onIgnoreAttr(name, value, options) {
351
- }
352
- var REGEXP_URL_JAVASCRIPT = /javascript\s*\:/img;
353
- function safeAttrValue(name, value) {
354
- if (REGEXP_URL_JAVASCRIPT.test(value)) return "";
355
- return value;
356
- }
357
- exports.whiteList = getDefaultWhiteList();
358
- exports.getDefaultWhiteList = getDefaultWhiteList;
359
- exports.onAttr = onAttr;
360
- exports.onIgnoreAttr = onIgnoreAttr;
361
- exports.safeAttrValue = safeAttrValue;
362
- }
363
- });
364
-
365
- // node_modules/cssfilter/lib/util.js
366
- var require_util = __commonJS({
367
- "node_modules/cssfilter/lib/util.js"(exports, module) {
368
- module.exports = {
369
- indexOf: function(arr, item) {
370
- var i, j;
371
- if (Array.prototype.indexOf) {
372
- return arr.indexOf(item);
373
- }
374
- for (i = 0, j = arr.length; i < j; i++) {
375
- if (arr[i] === item) {
376
- return i;
377
- }
378
- }
379
- return -1;
380
- },
381
- forEach: function(arr, fn, scope) {
382
- var i, j;
383
- if (Array.prototype.forEach) {
384
- return arr.forEach(fn, scope);
385
- }
386
- for (i = 0, j = arr.length; i < j; i++) {
387
- fn.call(scope, arr[i], i, arr);
388
- }
389
- },
390
- trim: function(str) {
391
- if (String.prototype.trim) {
392
- return str.trim();
393
- }
394
- return str.replace(/(^\s*)|(\s*$)/g, "");
395
- },
396
- trimRight: function(str) {
397
- if (String.prototype.trimRight) {
398
- return str.trimRight();
399
- }
400
- return str.replace(/(\s*$)/g, "");
401
- }
402
- };
403
- }
404
- });
405
-
406
- // node_modules/cssfilter/lib/parser.js
407
- var require_parser = __commonJS({
408
- "node_modules/cssfilter/lib/parser.js"(exports, module) {
409
- var _ = require_util();
410
- function parseStyle(css, onAttr) {
411
- css = _.trimRight(css);
412
- if (css[css.length - 1] !== ";") css += ";";
413
- var cssLength = css.length;
414
- var isParenthesisOpen = false;
415
- var lastPos = 0;
416
- var i = 0;
417
- var retCSS = "";
418
- function addNewAttr() {
419
- if (!isParenthesisOpen) {
420
- var source = _.trim(css.slice(lastPos, i));
421
- var j2 = source.indexOf(":");
422
- if (j2 !== -1) {
423
- var name = _.trim(source.slice(0, j2));
424
- var value = _.trim(source.slice(j2 + 1));
425
- if (name) {
426
- var ret = onAttr(lastPos, retCSS.length, name, value, source);
427
- if (ret) retCSS += ret + "; ";
428
- }
429
- }
430
- }
431
- lastPos = i + 1;
432
- }
433
- for (; i < cssLength; i++) {
434
- var c = css[i];
435
- if (c === "/" && css[i + 1] === "*") {
436
- var j = css.indexOf("*/", i + 2);
437
- if (j === -1) break;
438
- i = j + 1;
439
- lastPos = i + 1;
440
- isParenthesisOpen = false;
441
- } else if (c === "(") {
442
- isParenthesisOpen = true;
443
- } else if (c === ")") {
444
- isParenthesisOpen = false;
445
- } else if (c === ";") {
446
- if (isParenthesisOpen) {
447
- } else {
448
- addNewAttr();
449
- }
450
- } else if (c === "\n") {
451
- addNewAttr();
452
- }
453
- }
454
- return _.trim(retCSS);
455
- }
456
- module.exports = parseStyle;
457
- }
458
- });
459
-
460
- // node_modules/cssfilter/lib/css.js
461
- var require_css = __commonJS({
462
- "node_modules/cssfilter/lib/css.js"(exports, module) {
463
- var DEFAULT = require_default();
464
- var parseStyle = require_parser();
465
- var _ = require_util();
466
- function isNull(obj) {
467
- return obj === void 0 || obj === null;
468
- }
469
- function shallowCopyObject(obj) {
470
- var ret = {};
471
- for (var i in obj) {
472
- ret[i] = obj[i];
473
- }
474
- return ret;
475
- }
476
- function FilterCSS(options) {
477
- options = shallowCopyObject(options || {});
478
- options.whiteList = options.whiteList || DEFAULT.whiteList;
479
- options.onAttr = options.onAttr || DEFAULT.onAttr;
480
- options.onIgnoreAttr = options.onIgnoreAttr || DEFAULT.onIgnoreAttr;
481
- options.safeAttrValue = options.safeAttrValue || DEFAULT.safeAttrValue;
482
- this.options = options;
483
- }
484
- FilterCSS.prototype.process = function(css) {
485
- css = css || "";
486
- css = css.toString();
487
- if (!css) return "";
488
- var me = this;
489
- var options = me.options;
490
- var whiteList = options.whiteList;
491
- var onAttr = options.onAttr;
492
- var onIgnoreAttr = options.onIgnoreAttr;
493
- var safeAttrValue = options.safeAttrValue;
494
- var retCSS = parseStyle(css, function(sourcePosition, position, name, value, source) {
495
- var check = whiteList[name];
496
- var isWhite = false;
497
- if (check === true) isWhite = check;
498
- else if (typeof check === "function") isWhite = check(value);
499
- else if (check instanceof RegExp) isWhite = check.test(value);
500
- if (isWhite !== true) isWhite = false;
501
- value = safeAttrValue(name, value);
502
- if (!value) return;
503
- var opts = {
504
- position,
505
- sourcePosition,
506
- source,
507
- isWhite
508
- };
509
- if (isWhite) {
510
- var ret = onAttr(name, value, opts);
511
- if (isNull(ret)) {
512
- return name + ":" + value;
513
- } else {
514
- return ret;
515
- }
516
- } else {
517
- var ret = onIgnoreAttr(name, value, opts);
518
- if (!isNull(ret)) {
519
- return ret;
520
- }
521
- }
522
- });
523
- return retCSS;
524
- };
525
- module.exports = FilterCSS;
526
- }
527
- });
528
-
529
- // node_modules/cssfilter/lib/index.js
530
- var require_lib = __commonJS({
531
- "node_modules/cssfilter/lib/index.js"(exports, module) {
532
- var DEFAULT = require_default();
533
- var FilterCSS = require_css();
534
- function filterCSS(html, options) {
535
- var xss2 = new FilterCSS(options);
536
- return xss2.process(html);
537
- }
538
- exports = module.exports = filterCSS;
539
- exports.FilterCSS = FilterCSS;
540
- for (i in DEFAULT) exports[i] = DEFAULT[i];
541
- var i;
542
- if (typeof window !== "undefined") {
543
- window.filterCSS = module.exports;
544
- }
545
- }
546
- });
547
-
548
- // node_modules/xss/lib/util.js
549
- var require_util2 = __commonJS({
550
- "node_modules/xss/lib/util.js"(exports, module) {
551
- module.exports = {
552
- indexOf: function(arr, item) {
553
- var i, j;
554
- if (Array.prototype.indexOf) {
555
- return arr.indexOf(item);
556
- }
557
- for (i = 0, j = arr.length; i < j; i++) {
558
- if (arr[i] === item) {
559
- return i;
560
- }
561
- }
562
- return -1;
563
- },
564
- forEach: function(arr, fn, scope) {
565
- var i, j;
566
- if (Array.prototype.forEach) {
567
- return arr.forEach(fn, scope);
568
- }
569
- for (i = 0, j = arr.length; i < j; i++) {
570
- fn.call(scope, arr[i], i, arr);
571
- }
572
- },
573
- trim: function(str) {
574
- if (String.prototype.trim) {
575
- return str.trim();
576
- }
577
- return str.replace(/(^\s*)|(\s*$)/g, "");
578
- },
579
- spaceIndex: function(str) {
580
- var reg = /\s|\n|\t/;
581
- var match = reg.exec(str);
582
- return match ? match.index : -1;
583
- }
584
- };
585
- }
586
- });
587
-
588
- // node_modules/xss/lib/default.js
589
- var require_default2 = __commonJS({
590
- "node_modules/xss/lib/default.js"(exports) {
591
- var FilterCSS = require_lib().FilterCSS;
592
- var getDefaultCSSWhiteList = require_lib().getDefaultWhiteList;
593
- var _ = require_util2();
594
- function getDefaultWhiteList() {
595
- return {
596
- a: ["target", "href", "title"],
597
- abbr: ["title"],
598
- address: [],
599
- area: ["shape", "coords", "href", "alt"],
600
- article: [],
601
- aside: [],
602
- audio: [
603
- "autoplay",
604
- "controls",
605
- "crossorigin",
606
- "loop",
607
- "muted",
608
- "preload",
609
- "src"
610
- ],
611
- b: [],
612
- bdi: ["dir"],
613
- bdo: ["dir"],
614
- big: [],
615
- blockquote: ["cite"],
616
- br: [],
617
- caption: [],
618
- center: [],
619
- cite: [],
620
- code: [],
621
- col: ["align", "valign", "span", "width"],
622
- colgroup: ["align", "valign", "span", "width"],
623
- dd: [],
624
- del: ["datetime"],
625
- details: ["open"],
626
- div: [],
627
- dl: [],
628
- dt: [],
629
- em: [],
630
- figcaption: [],
631
- figure: [],
632
- font: ["color", "size", "face"],
633
- footer: [],
634
- h1: [],
635
- h2: [],
636
- h3: [],
637
- h4: [],
638
- h5: [],
639
- h6: [],
640
- header: [],
641
- hr: [],
642
- i: [],
643
- img: ["src", "alt", "title", "width", "height", "loading"],
644
- ins: ["datetime"],
645
- kbd: [],
646
- li: [],
647
- mark: [],
648
- nav: [],
649
- ol: [],
650
- p: [],
651
- pre: [],
652
- s: [],
653
- section: [],
654
- small: [],
655
- span: [],
656
- sub: [],
657
- summary: [],
658
- sup: [],
659
- strong: [],
660
- strike: [],
661
- table: ["width", "border", "align", "valign"],
662
- tbody: ["align", "valign"],
663
- td: ["width", "rowspan", "colspan", "align", "valign"],
664
- tfoot: ["align", "valign"],
665
- th: ["width", "rowspan", "colspan", "align", "valign"],
666
- thead: ["align", "valign"],
667
- tr: ["rowspan", "align", "valign"],
668
- tt: [],
669
- u: [],
670
- ul: [],
671
- video: [
672
- "autoplay",
673
- "controls",
674
- "crossorigin",
675
- "loop",
676
- "muted",
677
- "playsinline",
678
- "poster",
679
- "preload",
680
- "src",
681
- "height",
682
- "width"
683
- ]
684
- };
685
- }
686
- var defaultCSSFilter = new FilterCSS();
687
- function onTag(tag, html, options) {
688
- }
689
- function onIgnoreTag(tag, html, options) {
690
- }
691
- function onTagAttr(tag, name, value) {
692
- }
693
- function onIgnoreTagAttr(tag, name, value) {
694
- }
695
- function escapeHtml(html) {
696
- return html.replace(REGEXP_LT, "&lt;").replace(REGEXP_GT, "&gt;");
697
- }
698
- function safeAttrValue(tag, name, value, cssFilter) {
699
- value = friendlyAttrValue(value);
700
- if (name === "href" || name === "src") {
701
- value = _.trim(value);
702
- if (value === "#") return "#";
703
- if (!(value.substr(0, 7) === "http://" || value.substr(0, 8) === "https://" || value.substr(0, 7) === "mailto:" || value.substr(0, 4) === "tel:" || value.substr(0, 11) === "data:image/" || value.substr(0, 6) === "ftp://" || value.substr(0, 2) === "./" || value.substr(0, 3) === "../" || value[0] === "#" || value[0] === "/")) {
704
- return "";
705
- }
706
- } else if (name === "background") {
707
- REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex = 0;
708
- if (REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)) {
709
- return "";
710
- }
711
- } else if (name === "style") {
712
- REGEXP_DEFAULT_ON_TAG_ATTR_7.lastIndex = 0;
713
- if (REGEXP_DEFAULT_ON_TAG_ATTR_7.test(value)) {
714
- return "";
715
- }
716
- REGEXP_DEFAULT_ON_TAG_ATTR_8.lastIndex = 0;
717
- if (REGEXP_DEFAULT_ON_TAG_ATTR_8.test(value)) {
718
- REGEXP_DEFAULT_ON_TAG_ATTR_4.lastIndex = 0;
719
- if (REGEXP_DEFAULT_ON_TAG_ATTR_4.test(value)) {
720
- return "";
721
- }
722
- }
723
- if (cssFilter !== false) {
724
- cssFilter = cssFilter || defaultCSSFilter;
725
- value = cssFilter.process(value);
726
- }
727
- }
728
- value = escapeAttrValue(value);
729
- return value;
730
- }
731
- var REGEXP_LT = /</g;
732
- var REGEXP_GT = />/g;
733
- var REGEXP_QUOTE = /"/g;
734
- var REGEXP_QUOTE_2 = /&quot;/g;
735
- var REGEXP_ATTR_VALUE_1 = /&#([a-zA-Z0-9]*);?/gim;
736
- var REGEXP_ATTR_VALUE_COLON = /&colon;?/gim;
737
- var REGEXP_ATTR_VALUE_NEWLINE = /&newline;?/gim;
738
- var REGEXP_DEFAULT_ON_TAG_ATTR_4 = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi;
739
- var REGEXP_DEFAULT_ON_TAG_ATTR_7 = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi;
740
- var REGEXP_DEFAULT_ON_TAG_ATTR_8 = /u\s*r\s*l\s*\(.*/gi;
741
- function escapeQuote(str) {
742
- return str.replace(REGEXP_QUOTE, "&quot;");
743
- }
744
- function unescapeQuote(str) {
745
- return str.replace(REGEXP_QUOTE_2, '"');
746
- }
747
- function escapeHtmlEntities(str) {
748
- return str.replace(REGEXP_ATTR_VALUE_1, function replaceUnicode(str2, code) {
749
- return code[0] === "x" || code[0] === "X" ? String.fromCharCode(parseInt(code.substr(1), 16)) : String.fromCharCode(parseInt(code, 10));
750
- });
751
- }
752
- function escapeDangerHtml5Entities(str) {
753
- return str.replace(REGEXP_ATTR_VALUE_COLON, ":").replace(REGEXP_ATTR_VALUE_NEWLINE, " ");
754
- }
755
- function clearNonPrintableCharacter(str) {
756
- var str2 = "";
757
- for (var i = 0, len = str.length; i < len; i++) {
758
- str2 += str.charCodeAt(i) < 32 ? " " : str.charAt(i);
759
- }
760
- return _.trim(str2);
761
- }
762
- function friendlyAttrValue(str) {
763
- str = unescapeQuote(str);
764
- str = escapeHtmlEntities(str);
765
- str = escapeDangerHtml5Entities(str);
766
- str = clearNonPrintableCharacter(str);
767
- return str;
768
- }
769
- function escapeAttrValue(str) {
770
- str = escapeQuote(str);
771
- str = escapeHtml(str);
772
- return str;
773
- }
774
- function onIgnoreTagStripAll() {
775
- return "";
776
- }
777
- function StripTagBody(tags, next) {
778
- if (typeof next !== "function") {
779
- next = function() {
780
- };
781
- }
782
- var isRemoveAllTag = !Array.isArray(tags);
783
- function isRemoveTag(tag) {
784
- if (isRemoveAllTag) return true;
785
- return _.indexOf(tags, tag) !== -1;
786
- }
787
- var removeList = [];
788
- var posStart = false;
789
- return {
790
- onIgnoreTag: function(tag, html, options) {
791
- if (isRemoveTag(tag)) {
792
- if (options.isClosing) {
793
- var ret = "[/removed]";
794
- var end = options.position + ret.length;
795
- removeList.push([
796
- posStart !== false ? posStart : options.position,
797
- end
798
- ]);
799
- posStart = false;
800
- return ret;
801
- } else {
802
- if (!posStart) {
803
- posStart = options.position;
804
- }
805
- return "[removed]";
806
- }
807
- } else {
808
- return next(tag, html, options);
809
- }
810
- },
811
- remove: function(html) {
812
- var rethtml = "";
813
- var lastPos = 0;
814
- _.forEach(removeList, function(pos) {
815
- rethtml += html.slice(lastPos, pos[0]);
816
- lastPos = pos[1];
817
- });
818
- rethtml += html.slice(lastPos);
819
- return rethtml;
820
- }
821
- };
822
- }
823
- function stripCommentTag(html) {
824
- var retHtml = "";
825
- var lastPos = 0;
826
- while (lastPos < html.length) {
827
- var i = html.indexOf("<!--", lastPos);
828
- if (i === -1) {
829
- retHtml += html.slice(lastPos);
830
- break;
831
- }
832
- retHtml += html.slice(lastPos, i);
833
- var j = html.indexOf("-->", i);
834
- if (j === -1) {
835
- break;
836
- }
837
- lastPos = j + 3;
838
- }
839
- return retHtml;
840
- }
841
- function stripBlankChar(html) {
842
- var chars = html.split("");
843
- chars = chars.filter(function(char) {
844
- var c = char.charCodeAt(0);
845
- if (c === 127) return false;
846
- if (c <= 31) {
847
- if (c === 10 || c === 13) return true;
848
- return false;
849
- }
850
- return true;
851
- });
852
- return chars.join("");
853
- }
854
- exports.whiteList = getDefaultWhiteList();
855
- exports.getDefaultWhiteList = getDefaultWhiteList;
856
- exports.onTag = onTag;
857
- exports.onIgnoreTag = onIgnoreTag;
858
- exports.onTagAttr = onTagAttr;
859
- exports.onIgnoreTagAttr = onIgnoreTagAttr;
860
- exports.safeAttrValue = safeAttrValue;
861
- exports.escapeHtml = escapeHtml;
862
- exports.escapeQuote = escapeQuote;
863
- exports.unescapeQuote = unescapeQuote;
864
- exports.escapeHtmlEntities = escapeHtmlEntities;
865
- exports.escapeDangerHtml5Entities = escapeDangerHtml5Entities;
866
- exports.clearNonPrintableCharacter = clearNonPrintableCharacter;
867
- exports.friendlyAttrValue = friendlyAttrValue;
868
- exports.escapeAttrValue = escapeAttrValue;
869
- exports.onIgnoreTagStripAll = onIgnoreTagStripAll;
870
- exports.StripTagBody = StripTagBody;
871
- exports.stripCommentTag = stripCommentTag;
872
- exports.stripBlankChar = stripBlankChar;
873
- exports.attributeWrapSign = '"';
874
- exports.cssFilter = defaultCSSFilter;
875
- exports.getDefaultCSSWhiteList = getDefaultCSSWhiteList;
876
- }
877
- });
878
-
879
- // node_modules/xss/lib/parser.js
880
- var require_parser2 = __commonJS({
881
- "node_modules/xss/lib/parser.js"(exports) {
882
- var _ = require_util2();
883
- function getTagName(html) {
884
- var i = _.spaceIndex(html);
885
- var tagName;
886
- if (i === -1) {
887
- tagName = html.slice(1, -1);
888
- } else {
889
- tagName = html.slice(1, i + 1);
890
- }
891
- tagName = _.trim(tagName).toLowerCase();
892
- if (tagName.slice(0, 1) === "/") tagName = tagName.slice(1);
893
- if (tagName.slice(-1) === "/") tagName = tagName.slice(0, -1);
894
- return tagName;
895
- }
896
- function isClosing(html) {
897
- return html.slice(0, 2) === "</";
898
- }
899
- function parseTag(html, onTag, escapeHtml) {
900
- "use strict";
901
- var rethtml = "";
902
- var lastPos = 0;
903
- var tagStart = false;
904
- var quoteStart = false;
905
- var currentPos = 0;
906
- var len = html.length;
907
- var currentTagName = "";
908
- var currentHtml = "";
909
- chariterator: for (currentPos = 0; currentPos < len; currentPos++) {
910
- var c = html.charAt(currentPos);
911
- if (tagStart === false) {
912
- if (c === "<") {
913
- tagStart = currentPos;
914
- continue;
915
- }
916
- } else {
917
- if (quoteStart === false) {
918
- if (c === "<") {
919
- rethtml += escapeHtml(html.slice(lastPos, currentPos));
920
- tagStart = currentPos;
921
- lastPos = currentPos;
922
- continue;
923
- }
924
- if (c === ">" || currentPos === len - 1) {
925
- rethtml += escapeHtml(html.slice(lastPos, tagStart));
926
- currentHtml = html.slice(tagStart, currentPos + 1);
927
- currentTagName = getTagName(currentHtml);
928
- rethtml += onTag(
929
- tagStart,
930
- rethtml.length,
931
- currentTagName,
932
- currentHtml,
933
- isClosing(currentHtml)
934
- );
935
- lastPos = currentPos + 1;
936
- tagStart = false;
937
- continue;
938
- }
939
- if (c === '"' || c === "'") {
940
- var i = 1;
941
- var ic = html.charAt(currentPos - i);
942
- while (ic.trim() === "" || ic === "=") {
943
- if (ic === "=") {
944
- quoteStart = c;
945
- continue chariterator;
946
- }
947
- ic = html.charAt(currentPos - ++i);
948
- }
949
- }
950
- } else {
951
- if (c === quoteStart) {
952
- quoteStart = false;
953
- continue;
954
- }
955
- }
956
- }
957
- }
958
- if (lastPos < len) {
959
- rethtml += escapeHtml(html.substr(lastPos));
960
- }
961
- return rethtml;
962
- }
963
- var REGEXP_ILLEGAL_ATTR_NAME = /[^a-zA-Z0-9\\_:.-]/gim;
964
- function parseAttr(html, onAttr) {
965
- "use strict";
966
- var lastPos = 0;
967
- var lastMarkPos = 0;
968
- var retAttrs = [];
969
- var tmpName = false;
970
- var len = html.length;
971
- function addAttr(name, value) {
972
- name = _.trim(name);
973
- name = name.replace(REGEXP_ILLEGAL_ATTR_NAME, "").toLowerCase();
974
- if (name.length < 1) return;
975
- var ret = onAttr(name, value || "");
976
- if (ret) retAttrs.push(ret);
977
- }
978
- for (var i = 0; i < len; i++) {
979
- var c = html.charAt(i);
980
- var v, j;
981
- if (tmpName === false && c === "=") {
982
- tmpName = html.slice(lastPos, i);
983
- lastPos = i + 1;
984
- lastMarkPos = html.charAt(lastPos) === '"' || html.charAt(lastPos) === "'" ? lastPos : findNextQuotationMark(html, i + 1);
985
- continue;
986
- }
987
- if (tmpName !== false) {
988
- if (i === lastMarkPos) {
989
- j = html.indexOf(c, i + 1);
990
- if (j === -1) {
991
- break;
992
- } else {
993
- v = _.trim(html.slice(lastMarkPos + 1, j));
994
- addAttr(tmpName, v);
995
- tmpName = false;
996
- i = j;
997
- lastPos = i + 1;
998
- continue;
999
- }
1000
- }
1001
- }
1002
- if (/\s|\n|\t/.test(c)) {
1003
- html = html.replace(/\s|\n|\t/g, " ");
1004
- if (tmpName === false) {
1005
- j = findNextEqual(html, i);
1006
- if (j === -1) {
1007
- v = _.trim(html.slice(lastPos, i));
1008
- addAttr(v);
1009
- tmpName = false;
1010
- lastPos = i + 1;
1011
- continue;
1012
- } else {
1013
- i = j - 1;
1014
- continue;
1015
- }
1016
- } else {
1017
- j = findBeforeEqual(html, i - 1);
1018
- if (j === -1) {
1019
- v = _.trim(html.slice(lastPos, i));
1020
- v = stripQuoteWrap(v);
1021
- addAttr(tmpName, v);
1022
- tmpName = false;
1023
- lastPos = i + 1;
1024
- continue;
1025
- } else {
1026
- continue;
1027
- }
1028
- }
1029
- }
1030
- }
1031
- if (lastPos < html.length) {
1032
- if (tmpName === false) {
1033
- addAttr(html.slice(lastPos));
1034
- } else {
1035
- addAttr(tmpName, stripQuoteWrap(_.trim(html.slice(lastPos))));
1036
- }
1037
- }
1038
- return _.trim(retAttrs.join(" "));
1039
- }
1040
- function findNextEqual(str, i) {
1041
- for (; i < str.length; i++) {
1042
- var c = str[i];
1043
- if (c === " ") continue;
1044
- if (c === "=") return i;
1045
- return -1;
1046
- }
1047
- }
1048
- function findNextQuotationMark(str, i) {
1049
- for (; i < str.length; i++) {
1050
- var c = str[i];
1051
- if (c === " ") continue;
1052
- if (c === "'" || c === '"') return i;
1053
- return -1;
1054
- }
1055
- }
1056
- function findBeforeEqual(str, i) {
1057
- for (; i > 0; i--) {
1058
- var c = str[i];
1059
- if (c === " ") continue;
1060
- if (c === "=") return i;
1061
- return -1;
1062
- }
1063
- }
1064
- function isQuoteWrapString(text) {
1065
- if (text[0] === '"' && text[text.length - 1] === '"' || text[0] === "'" && text[text.length - 1] === "'") {
1066
- return true;
1067
- } else {
1068
- return false;
1069
- }
1070
- }
1071
- function stripQuoteWrap(text) {
1072
- if (isQuoteWrapString(text)) {
1073
- return text.substr(1, text.length - 2);
1074
- } else {
1075
- return text;
1076
- }
1077
- }
1078
- exports.parseTag = parseTag;
1079
- exports.parseAttr = parseAttr;
1080
- }
1081
- });
1082
-
1083
- // node_modules/xss/lib/xss.js
1084
- var require_xss = __commonJS({
1085
- "node_modules/xss/lib/xss.js"(exports, module) {
1086
- var FilterCSS = require_lib().FilterCSS;
1087
- var DEFAULT = require_default2();
1088
- var parser = require_parser2();
1089
- var parseTag = parser.parseTag;
1090
- var parseAttr = parser.parseAttr;
1091
- var _ = require_util2();
1092
- function isNull(obj) {
1093
- return obj === void 0 || obj === null;
1094
- }
1095
- function getAttrs(html) {
1096
- var i = _.spaceIndex(html);
1097
- if (i === -1) {
1098
- return {
1099
- html: "",
1100
- closing: html[html.length - 2] === "/"
1101
- };
1102
- }
1103
- html = _.trim(html.slice(i + 1, -1));
1104
- var isClosing = html[html.length - 1] === "/";
1105
- if (isClosing) html = _.trim(html.slice(0, -1));
1106
- return {
1107
- html,
1108
- closing: isClosing
1109
- };
1110
- }
1111
- function shallowCopyObject(obj) {
1112
- var ret = {};
1113
- for (var i in obj) {
1114
- ret[i] = obj[i];
1115
- }
1116
- return ret;
1117
- }
1118
- function keysToLowerCase(obj) {
1119
- var ret = {};
1120
- for (var i in obj) {
1121
- if (Array.isArray(obj[i])) {
1122
- ret[i.toLowerCase()] = obj[i].map(function(item) {
1123
- return item.toLowerCase();
1124
- });
1125
- } else {
1126
- ret[i.toLowerCase()] = obj[i];
1127
- }
1128
- }
1129
- return ret;
1130
- }
1131
- function FilterXSS(options) {
1132
- options = shallowCopyObject(options || {});
1133
- if (options.stripIgnoreTag) {
1134
- if (options.onIgnoreTag) {
1135
- console.error(
1136
- 'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
1137
- );
1138
- }
1139
- options.onIgnoreTag = DEFAULT.onIgnoreTagStripAll;
1140
- }
1141
- if (options.whiteList || options.allowList) {
1142
- options.whiteList = keysToLowerCase(options.whiteList || options.allowList);
1143
- } else {
1144
- options.whiteList = DEFAULT.whiteList;
1145
- }
1146
- this.attributeWrapSign = options.singleQuotedAttributeValue === true ? "'" : DEFAULT.attributeWrapSign;
1147
- options.onTag = options.onTag || DEFAULT.onTag;
1148
- options.onTagAttr = options.onTagAttr || DEFAULT.onTagAttr;
1149
- options.onIgnoreTag = options.onIgnoreTag || DEFAULT.onIgnoreTag;
1150
- options.onIgnoreTagAttr = options.onIgnoreTagAttr || DEFAULT.onIgnoreTagAttr;
1151
- options.safeAttrValue = options.safeAttrValue || DEFAULT.safeAttrValue;
1152
- options.escapeHtml = options.escapeHtml || DEFAULT.escapeHtml;
1153
- this.options = options;
1154
- if (options.css === false) {
1155
- this.cssFilter = false;
1156
- } else {
1157
- options.css = options.css || {};
1158
- this.cssFilter = new FilterCSS(options.css);
1159
- }
1160
- }
1161
- FilterXSS.prototype.process = function(html) {
1162
- html = html || "";
1163
- html = html.toString();
1164
- if (!html) return "";
1165
- var me = this;
1166
- var options = me.options;
1167
- var whiteList = options.whiteList;
1168
- var onTag = options.onTag;
1169
- var onIgnoreTag = options.onIgnoreTag;
1170
- var onTagAttr = options.onTagAttr;
1171
- var onIgnoreTagAttr = options.onIgnoreTagAttr;
1172
- var safeAttrValue = options.safeAttrValue;
1173
- var escapeHtml = options.escapeHtml;
1174
- var attributeWrapSign = me.attributeWrapSign;
1175
- var cssFilter = me.cssFilter;
1176
- if (options.stripBlankChar) {
1177
- html = DEFAULT.stripBlankChar(html);
1178
- }
1179
- if (!options.allowCommentTag) {
1180
- html = DEFAULT.stripCommentTag(html);
1181
- }
1182
- var stripIgnoreTagBody = false;
1183
- if (options.stripIgnoreTagBody) {
1184
- stripIgnoreTagBody = DEFAULT.StripTagBody(
1185
- options.stripIgnoreTagBody,
1186
- onIgnoreTag
1187
- );
1188
- onIgnoreTag = stripIgnoreTagBody.onIgnoreTag;
1189
- }
1190
- var retHtml = parseTag(
1191
- html,
1192
- function(sourcePosition, position, tag, html2, isClosing) {
1193
- var info = {
1194
- sourcePosition,
1195
- position,
1196
- isClosing,
1197
- isWhite: Object.prototype.hasOwnProperty.call(whiteList, tag)
1198
- };
1199
- var ret = onTag(tag, html2, info);
1200
- if (!isNull(ret)) return ret;
1201
- if (info.isWhite) {
1202
- if (info.isClosing) {
1203
- return "</" + tag + ">";
1204
- }
1205
- var attrs = getAttrs(html2);
1206
- var whiteAttrList = whiteList[tag];
1207
- var attrsHtml = parseAttr(attrs.html, function(name, value) {
1208
- var isWhiteAttr = _.indexOf(whiteAttrList, name) !== -1;
1209
- var ret2 = onTagAttr(tag, name, value, isWhiteAttr);
1210
- if (!isNull(ret2)) return ret2;
1211
- if (isWhiteAttr) {
1212
- value = safeAttrValue(tag, name, value, cssFilter);
1213
- if (value) {
1214
- return name + "=" + attributeWrapSign + value + attributeWrapSign;
1215
- } else {
1216
- return name;
1217
- }
1218
- } else {
1219
- ret2 = onIgnoreTagAttr(tag, name, value, isWhiteAttr);
1220
- if (!isNull(ret2)) return ret2;
1221
- return;
1222
- }
1223
- });
1224
- html2 = "<" + tag;
1225
- if (attrsHtml) html2 += " " + attrsHtml;
1226
- if (attrs.closing) html2 += " /";
1227
- html2 += ">";
1228
- return html2;
1229
- } else {
1230
- ret = onIgnoreTag(tag, html2, info);
1231
- if (!isNull(ret)) return ret;
1232
- return escapeHtml(html2);
1233
- }
1234
- },
1235
- escapeHtml
1236
- );
1237
- if (stripIgnoreTagBody) {
1238
- retHtml = stripIgnoreTagBody.remove(retHtml);
1239
- }
1240
- return retHtml;
1241
- };
1242
- module.exports = FilterXSS;
1243
- }
1244
- });
1245
-
1246
- // node_modules/xss/lib/index.js
1247
- var require_lib2 = __commonJS({
1248
- "node_modules/xss/lib/index.js"(exports, module) {
1249
- var DEFAULT = require_default2();
1250
- var parser = require_parser2();
1251
- var FilterXSS = require_xss();
1252
- function filterXSS(html, options) {
1253
- var xss2 = new FilterXSS(options);
1254
- return xss2.process(html);
1255
- }
1256
- exports = module.exports = filterXSS;
1257
- exports.filterXSS = filterXSS;
1258
- exports.FilterXSS = FilterXSS;
1259
- (function() {
1260
- for (var i in DEFAULT) {
1261
- exports[i] = DEFAULT[i];
1262
- }
1263
- for (var j in parser) {
1264
- exports[j] = parser[j];
1265
- }
1266
- })();
1267
- if (typeof window !== "undefined") {
1268
- window.filterXSS = module.exports;
1269
- }
1270
- function isWorkerEnv() {
1271
- return typeof self !== "undefined" && typeof DedicatedWorkerGlobalScope !== "undefined" && self instanceof DedicatedWorkerGlobalScope;
1272
- }
1273
- if (isWorkerEnv()) {
1274
- self.filterXSS = module.exports;
1275
- }
1276
- }
1277
- });
1
+ import "../../chunks/chunk-WSFCRVEQ.js";
1278
2
 
1279
3
  // src/agnostic/sanitization/index.ts
1280
- var import_xss = __toESM(require_lib2(), 1);
4
+ import xss from "xss";
1281
5
  function sanitizeFileName(input, maxLength = 255) {
1282
6
  input = input.normalize("NFKC").replace(/[<>:"/\\|?*\x00-\x1F]/g, "").trim().replace(/\s+/g, " ").replace(/\.+/g, ".").replace(/^\.+|\.+$/g, "");
1283
7
  if (input.length > maxLength) return null;
@@ -1289,7 +13,7 @@ function sanitizePath(targetPath) {
1289
13
  return sanitized.startsWith("/") ? sanitized : `/${sanitized}`;
1290
14
  }
1291
15
  var sanitizeUserInput = (input, seen = /* @__PURE__ */ new WeakSet()) => {
1292
- if (typeof input === "string") return (0, import_xss.default)(input);
16
+ if (typeof input === "string") return xss(input);
1293
17
  if (Array.isArray(input)) {
1294
18
  if (seen.has(input)) return input;
1295
19
  seen.add(input);
@@ -1299,7 +23,7 @@ var sanitizeUserInput = (input, seen = /* @__PURE__ */ new WeakSet()) => {
1299
23
  if (seen.has(input)) return input;
1300
24
  seen.add(input);
1301
25
  const entries = Object.entries(input);
1302
- const sanitizedEntries = entries.map(([key, value]) => [(0, import_xss.default)(key), sanitizeUserInput(value, seen)]);
26
+ const sanitizedEntries = entries.map(([key, value]) => [xss(key), sanitizeUserInput(value, seen)]);
1303
27
  return Object.fromEntries(sanitizedEntries);
1304
28
  }
1305
29
  return input;