@design-edito/tools 0.1.60 → 0.1.62

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 (572) hide show
  1. package/agnostic/arrays/index.js +6 -6
  2. package/agnostic/arrays/random-pick/index.js +4 -4
  3. package/agnostic/css/bem/index.js +2 -2
  4. package/agnostic/css/index.js +11 -11
  5. package/agnostic/css/styles-set/index.js +4 -4
  6. package/agnostic/html/hyper-json/cast/index.js +5 -5
  7. package/agnostic/html/hyper-json/index.js +6 -6
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  9. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  66. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  67. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  68. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  69. package/agnostic/html/hyper-json/tree/index.js +5 -5
  70. package/agnostic/html/hyper-json/utils/index.js +5 -5
  71. package/agnostic/html/index.js +20 -20
  72. package/agnostic/html/sanitize/index.js +4 -4
  73. package/agnostic/html/selector-to-element/index.js +4 -4
  74. package/agnostic/html/string-to-nodes/index.js +5 -5
  75. package/agnostic/misc/crossenv/index.js +2 -2
  76. package/agnostic/misc/index.js +22 -22
  77. package/agnostic/misc/lorem-ipsum/index.js +7 -7
  78. package/agnostic/numbers/index.js +6 -6
  79. package/agnostic/objects/index.js +14 -14
  80. package/agnostic/strings/index.js +6 -6
  81. package/agnostic/time/index.js +3 -3
  82. package/chunks/{chunk-5UM7HYXS.js → chunk-2JKV6KXE.js} +1 -1
  83. package/chunks/{chunk-6A7GLDXD.js → chunk-4HLAM4RP.js} +3 -3
  84. package/chunks/chunk-BGSJ5XCH.js +20 -0
  85. package/chunks/{chunk-OOETQRTY.js → chunk-HGQGQLLC.js} +1 -1
  86. package/chunks/{chunk-UL6OZKRF.js → chunk-ISFXCV7D.js} +2 -2
  87. package/chunks/chunk-JTJA7DGW.js +36 -0
  88. package/chunks/{chunk-344X5RHV.js → chunk-MZKZI6JL.js} +1 -1
  89. package/chunks/{chunk-5KEIMXTB.js → chunk-PDHAMES3.js} +1 -1
  90. package/chunks/{chunk-ITECXQUB.js → chunk-QPT6R6CL.js} +6 -6
  91. package/chunks/{chunk-EHOZ6VCE.js → chunk-R7J7Q2UL.js} +4 -4
  92. package/chunks/chunk-REZC75LB.js +55 -0
  93. package/chunks/{chunk-BX6M7WBE.js → chunk-V4KSJHTU.js} +1 -1
  94. package/chunks/{chunk-XC2YGMNJ.js → chunk-YVEMIEOT.js} +1 -1
  95. package/node/@aws-s3/index.js +3 -3
  96. package/node/@aws-s3/storage/file/index.js +4 -4
  97. package/node/@aws-s3/storage/index.js +3 -3
  98. package/node/@design-edito/index.js +3 -3
  99. package/node/@design-edito/thumbnails/index.js +7 -7
  100. package/node/@design-edito/thumbnails/layout/index.js +2 -2
  101. package/node/@google-cloud/index.js +7 -7
  102. package/node/@google-cloud/storage/file/index.js +12 -12
  103. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  104. package/node/@google-cloud/storage/index.js +7 -7
  105. package/node/cloud-storage/index.js +9 -9
  106. package/node/cloud-storage/operations/download/index.js +2 -2
  107. package/node/cloud-storage/operations/index.js +10 -10
  108. package/node/cloud-storage/operations/upload/index.js +2 -2
  109. package/node/encryption/@aes-256-gcm/buffer/index.d.ts +20 -0
  110. package/node/encryption/@aes-256-gcm/buffer/index.js +12 -0
  111. package/node/encryption/@aes-256-gcm/index.d.ts +3 -0
  112. package/node/encryption/@aes-256-gcm/index.js +14 -0
  113. package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +21 -0
  114. package/node/encryption/@aes-256-gcm/uint8-array/index.js +11 -0
  115. package/node/encryption/index.d.ts +2 -3
  116. package/node/encryption/index.js +6 -8
  117. package/node/files/index.js +3 -3
  118. package/node/ftps/file/index.js +4 -4
  119. package/node/ftps/index.js +2 -2
  120. package/node/images/index.js +8 -8
  121. package/node/images/prepare/index.js +6 -6
  122. package/node/images/transform/area-composition/index.js +4 -4
  123. package/node/images/transform/index.js +5 -5
  124. package/node/sftp/file/index.js +4 -4
  125. package/node/sftp/index.js +2 -2
  126. package/package.json +5 -5
  127. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +0 -4
  128. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +0 -21
  129. package/agnostic/html/hyper-json/transformers/append/index.d.ts +0 -2
  130. package/agnostic/html/hyper-json/transformers/append/index.js +0 -16
  131. package/agnostic/html/hyper-json/transformers/classList/index.d.ts +0 -2
  132. package/agnostic/html/hyper-json/transformers/classList/index.js +0 -16
  133. package/agnostic/html/hyper-json/transformers/index.d.ts +0 -4
  134. package/agnostic/html/hyper-json/transformers/index.js +0 -16
  135. package/agnostic/html/hyper-json/transformers/join/index.d.ts +0 -2
  136. package/agnostic/html/hyper-json/transformers/join/index.js +0 -16
  137. package/agnostic/html/hyper-json/transformers/length/index.d.ts +0 -2
  138. package/agnostic/html/hyper-json/transformers/length/index.js +0 -16
  139. package/agnostic/html/hyper-json/transformers/print/index.d.ts +0 -2
  140. package/agnostic/html/hyper-json/transformers/print/index.js +0 -16
  141. package/agnostic/html/hyper-json/transformers/push/index.d.ts +0 -2
  142. package/agnostic/html/hyper-json/transformers/push/index.js +0 -16
  143. package/agnostic/html/hyper-json/transformers/querySelector/index.d.ts +0 -2
  144. package/agnostic/html/hyper-json/transformers/querySelector/index.js +0 -16
  145. package/agnostic/html/hyper-json/transformers/ref/index.d.ts +0 -2
  146. package/agnostic/html/hyper-json/transformers/ref/index.js +0 -16
  147. package/agnostic/html/hyper-json/transformers/replace/index.d.ts +0 -2
  148. package/agnostic/html/hyper-json/transformers/replace/index.js +0 -16
  149. package/agnostic/html/hyper-json/transformers/split/index.d.ts +0 -2
  150. package/agnostic/html/hyper-json/transformers/split/index.js +0 -16
  151. package/agnostic/html/hyper-json/transformers/toArray/index.d.ts +0 -2
  152. package/agnostic/html/hyper-json/transformers/toArray/index.js +0 -16
  153. package/agnostic/html/hyper-json/transformers/toBoolean/index.d.ts +0 -2
  154. package/agnostic/html/hyper-json/transformers/toBoolean/index.js +0 -16
  155. package/agnostic/html/hyper-json/transformers/toElement/index.d.ts +0 -2
  156. package/agnostic/html/hyper-json/transformers/toElement/index.js +0 -16
  157. package/agnostic/html/hyper-json/transformers/toNodeList/index.d.ts +0 -2
  158. package/agnostic/html/hyper-json/transformers/toNodeList/index.js +0 -16
  159. package/agnostic/html/hyper-json/transformers/toNull/index.d.ts +0 -2
  160. package/agnostic/html/hyper-json/transformers/toNull/index.js +0 -16
  161. package/agnostic/html/hyper-json/transformers/toNumber/index.d.ts +0 -2
  162. package/agnostic/html/hyper-json/transformers/toNumber/index.js +0 -16
  163. package/agnostic/html/hyper-json/transformers/toRecord/index.d.ts +0 -2
  164. package/agnostic/html/hyper-json/transformers/toRecord/index.js +0 -16
  165. package/agnostic/html/hyper-json/transformers/toRef/index.d.ts +0 -2
  166. package/agnostic/html/hyper-json/transformers/toRef/index.js +0 -16
  167. package/agnostic/html/hyper-json/transformers/toString/index.d.ts +0 -2
  168. package/agnostic/html/hyper-json/transformers/toString/index.js +0 -16
  169. package/agnostic/html/hyper-json/transformers/toText/index.d.ts +0 -2
  170. package/agnostic/html/hyper-json/transformers/toText/index.js +0 -16
  171. package/agnostic/html/hyper-json/transformers/toTransformer/index.d.ts +0 -2
  172. package/agnostic/html/hyper-json/transformers/toTransformer/index.js +0 -16
  173. package/agnostic/html/hyper-json/transformers/transformSelected/index.d.ts +0 -2
  174. package/agnostic/html/hyper-json/transformers/transformSelected/index.js +0 -16
  175. package/agnostic/html/hyper-json/transformers/trim/index.d.ts +0 -2
  176. package/agnostic/html/hyper-json/transformers/trim/index.js +0 -16
  177. package/agnostic/objects/record-filter/index.d.ts +0 -1
  178. package/agnostic/objects/record-filter/index.js +0 -6
  179. package/chunks/chunk-22Q6VKLR.js +0 -2369
  180. package/chunks/chunk-27HRTQ7Z.js +0 -20
  181. package/chunks/chunk-2G5MFJ66.js +0 -2420
  182. package/chunks/chunk-2HU2AWWJ.js +0 -35
  183. package/chunks/chunk-2IV3O7FX.js +0 -27
  184. package/chunks/chunk-2KCKWG7R.js +0 -104
  185. package/chunks/chunk-2KT7AKRW.js +0 -17
  186. package/chunks/chunk-2U2J4P3O.js +0 -31
  187. package/chunks/chunk-2UJYUMTT.js +0 -37
  188. package/chunks/chunk-35W7XRC3.js +0 -173
  189. package/chunks/chunk-365LSZZ7.js +0 -37
  190. package/chunks/chunk-36CTYZYA.js +0 -28
  191. package/chunks/chunk-3C3MXKEW.js +0 -31
  192. package/chunks/chunk-3GTGE66Y.js +0 -32
  193. package/chunks/chunk-3N2LP2TN.js +0 -191
  194. package/chunks/chunk-3OMANUYH.js +0 -211
  195. package/chunks/chunk-3SSUHWUD.js +0 -56
  196. package/chunks/chunk-3TX6SJRO.js +0 -31
  197. package/chunks/chunk-3UAAYFXA.js +0 -56
  198. package/chunks/chunk-42ZKFWKF.js +0 -2369
  199. package/chunks/chunk-44XPTCIO.js +0 -49
  200. package/chunks/chunk-4EFX53Y4.js +0 -31
  201. package/chunks/chunk-4FOK7DUZ.js +0 -35
  202. package/chunks/chunk-4HPUOADZ.js +0 -37
  203. package/chunks/chunk-4LCL2RIC.js +0 -209
  204. package/chunks/chunk-4OH2EX3D.js +0 -191
  205. package/chunks/chunk-4WOAFIVN.js +0 -31
  206. package/chunks/chunk-4WOYAD35.js +0 -31
  207. package/chunks/chunk-53MBV4TG.js +0 -6212
  208. package/chunks/chunk-55MT7BMY.js +0 -16
  209. package/chunks/chunk-57RPA6DU.js +0 -56
  210. package/chunks/chunk-57YCNOX7.js +0 -15
  211. package/chunks/chunk-5CYZ66VE.js +0 -31
  212. package/chunks/chunk-5E7N4BDI.js +0 -186
  213. package/chunks/chunk-5GI5G45R.js +0 -27
  214. package/chunks/chunk-5HWYTIYR.js +0 -211
  215. package/chunks/chunk-5JMTDJWX.js +0 -37
  216. package/chunks/chunk-5P7LHIDR.js +0 -37
  217. package/chunks/chunk-5QVKJGTN.js +0 -95
  218. package/chunks/chunk-5RSHXPTG.js +0 -21
  219. package/chunks/chunk-5VHXL242.js +0 -37
  220. package/chunks/chunk-5ZTW4PHE.js +0 -173
  221. package/chunks/chunk-64SYLWJ7.js +0 -37
  222. package/chunks/chunk-65YZMVWZ.js +0 -35
  223. package/chunks/chunk-66X6D4HF.js +0 -191
  224. package/chunks/chunk-6DA4S65P.js +0 -37
  225. package/chunks/chunk-6FRKSLBC.js +0 -2369
  226. package/chunks/chunk-6GZXU2Z3.js +0 -191
  227. package/chunks/chunk-6JRUZYTL.js +0 -211
  228. package/chunks/chunk-6KWNKTNI.js +0 -173
  229. package/chunks/chunk-6PNTQUTX.js +0 -20
  230. package/chunks/chunk-6Z6GDMOR.js +0 -28
  231. package/chunks/chunk-72NLUT3X.js +0 -29
  232. package/chunks/chunk-72U4TDEB.js +0 -127
  233. package/chunks/chunk-75DDEILC.js +0 -191
  234. package/chunks/chunk-7DNQ6RM2.js +0 -211
  235. package/chunks/chunk-7ICUR6QY.js +0 -31
  236. package/chunks/chunk-7K2EL46G.js +0 -2391
  237. package/chunks/chunk-7KHJKCA7.js +0 -2369
  238. package/chunks/chunk-7NO34XJI.js +0 -26
  239. package/chunks/chunk-7QIYI4CK.js +0 -209
  240. package/chunks/chunk-7VL2O6SQ.js +0 -211
  241. package/chunks/chunk-7VTVA56L.js +0 -37
  242. package/chunks/chunk-7W5LABV2.js +0 -37
  243. package/chunks/chunk-7YW5HL6N.js +0 -168
  244. package/chunks/chunk-A4FSJC46.js +0 -58
  245. package/chunks/chunk-AF2MI5O5.js +0 -29
  246. package/chunks/chunk-AM26FWT6.js +0 -31
  247. package/chunks/chunk-APRHU5KY.js +0 -31
  248. package/chunks/chunk-ARDAQZRR.js +0 -239
  249. package/chunks/chunk-AXMMBQRD.js +0 -191
  250. package/chunks/chunk-B446JIN3.js +0 -29
  251. package/chunks/chunk-BLAAWANI.js +0 -191
  252. package/chunks/chunk-BNNAZPI2.js +0 -191
  253. package/chunks/chunk-BPOJYE4X.js +0 -1108
  254. package/chunks/chunk-BQV4DOSE.js +0 -1108
  255. package/chunks/chunk-BV67SWXG.js +0 -20
  256. package/chunks/chunk-BVCWBTHQ.js +0 -35
  257. package/chunks/chunk-BW3XNPCJ.js +0 -191
  258. package/chunks/chunk-C2VF2MJV.js +0 -60
  259. package/chunks/chunk-C5753KUP.js +0 -127
  260. package/chunks/chunk-C5CIYEMD.js +0 -191
  261. package/chunks/chunk-C7SRAQMW.js +0 -29
  262. package/chunks/chunk-CAMYGA44.js +0 -22
  263. package/chunks/chunk-CB52KVOZ.js +0 -22
  264. package/chunks/chunk-CHUOCTRP.js +0 -26
  265. package/chunks/chunk-CIJQHLIW.js +0 -31
  266. package/chunks/chunk-CK73EBO5.js +0 -35
  267. package/chunks/chunk-CMKKX7WQ.js +0 -56
  268. package/chunks/chunk-CNPV4DFI.js +0 -20
  269. package/chunks/chunk-COLNKMBN.js +0 -35
  270. package/chunks/chunk-CQ3R7BEH.js +0 -173
  271. package/chunks/chunk-CQEDNACN.js +0 -28
  272. package/chunks/chunk-CRGU2EHQ.js +0 -31
  273. package/chunks/chunk-CRGUZBZX.js +0 -37
  274. package/chunks/chunk-CRZMH2K5.js +0 -2369
  275. package/chunks/chunk-CSYW7AAI.js +0 -191
  276. package/chunks/chunk-CWRRSS4V.js +0 -27
  277. package/chunks/chunk-D2JMITOU.js +0 -37
  278. package/chunks/chunk-D2NTUAFE.js +0 -4284
  279. package/chunks/chunk-D2V6SYYA.js +0 -191
  280. package/chunks/chunk-D5E2CIDK.js +0 -20
  281. package/chunks/chunk-D6VWX3D6.js +0 -186
  282. package/chunks/chunk-DCKTGQOX.js +0 -29
  283. package/chunks/chunk-DCSNQUVT.js +0 -56
  284. package/chunks/chunk-DHMARF6D.js +0 -62
  285. package/chunks/chunk-DHWHB53F.js +0 -191
  286. package/chunks/chunk-DLGA4UD5.js +0 -37
  287. package/chunks/chunk-DLSXW4NB.js +0 -2369
  288. package/chunks/chunk-DMR2WE3C.js +0 -62
  289. package/chunks/chunk-DZME4OQW.js +0 -2369
  290. package/chunks/chunk-E4FJHD5R.js +0 -67
  291. package/chunks/chunk-ECKOTCS4.js +0 -2369
  292. package/chunks/chunk-EEIJDUNV.js +0 -209
  293. package/chunks/chunk-EHVYR4OU.js +0 -56
  294. package/chunks/chunk-EI6W5HLB.js +0 -56
  295. package/chunks/chunk-EJEG2LDE.js +0 -2427
  296. package/chunks/chunk-ERAFJXWH.js +0 -20
  297. package/chunks/chunk-EUY4OBBI.js +0 -100
  298. package/chunks/chunk-EVOTJ7SU.js +0 -35
  299. package/chunks/chunk-EWM3VOPO.js +0 -191
  300. package/chunks/chunk-EX7FS6IR.js +0 -28
  301. package/chunks/chunk-F5DWWSOB.js +0 -31
  302. package/chunks/chunk-F5GXXF3A.js +0 -31
  303. package/chunks/chunk-FCU6IHKD.js +0 -15
  304. package/chunks/chunk-FDPPGRBY.js +0 -211
  305. package/chunks/chunk-FEFY3V6P.js +0 -31
  306. package/chunks/chunk-FG53JEP2.js +0 -31
  307. package/chunks/chunk-FHEUGVMU.js +0 -37
  308. package/chunks/chunk-FJTOFK3C.js +0 -203
  309. package/chunks/chunk-FOLCH72D.js +0 -211
  310. package/chunks/chunk-FONURDTX.js +0 -211
  311. package/chunks/chunk-FQD3VK47.js +0 -37
  312. package/chunks/chunk-FTIDPZZ5.js +0 -209
  313. package/chunks/chunk-FWZSMFVA.js +0 -211
  314. package/chunks/chunk-GARJTJ6V.js +0 -6
  315. package/chunks/chunk-GB4UQS6V.js +0 -35
  316. package/chunks/chunk-GBMHGF7P.js +0 -20
  317. package/chunks/chunk-GDFWDU4Q.js +0 -2369
  318. package/chunks/chunk-GGT2PUZH.js +0 -21
  319. package/chunks/chunk-GKG3UQH3.js +0 -191
  320. package/chunks/chunk-GL54CDM2.js +0 -20
  321. package/chunks/chunk-GNZY3ZTH.js +0 -14
  322. package/chunks/chunk-GP44TBRI.js +0 -39
  323. package/chunks/chunk-GPWFYPER.js +0 -211
  324. package/chunks/chunk-GQMFBT5T.js +0 -191
  325. package/chunks/chunk-GWXVHCAB.js +0 -31
  326. package/chunks/chunk-H7WUTMKQ.js +0 -31
  327. package/chunks/chunk-HDNYKGJM.js +0 -31
  328. package/chunks/chunk-HE6F5XJQ.js +0 -20
  329. package/chunks/chunk-HNB6B4FO.js +0 -37
  330. package/chunks/chunk-HP3OH2K7.js +0 -27
  331. package/chunks/chunk-HP722G2E.js +0 -211
  332. package/chunks/chunk-HQACEDCF.js +0 -37
  333. package/chunks/chunk-HTNLTDQT.js +0 -28
  334. package/chunks/chunk-I2ILSLBK.js +0 -32
  335. package/chunks/chunk-I4EBRCSJ.js +0 -20
  336. package/chunks/chunk-I66DPQN2.js +0 -31
  337. package/chunks/chunk-IECKIGM7.js +0 -2391
  338. package/chunks/chunk-IGHRNHVK.js +0 -16
  339. package/chunks/chunk-IJ7SOXLA.js +0 -107
  340. package/chunks/chunk-ILG6VQTL.js +0 -100
  341. package/chunks/chunk-IMR3ZNXR.js +0 -211
  342. package/chunks/chunk-IMZIWMCE.js +0 -191
  343. package/chunks/chunk-IOWZMFCU.js +0 -28
  344. package/chunks/chunk-IPON4W2H.js +0 -31
  345. package/chunks/chunk-ISAIFQAY.js +0 -100
  346. package/chunks/chunk-IUFAHY2R.js +0 -38
  347. package/chunks/chunk-IYHWMMQE.js +0 -37
  348. package/chunks/chunk-JBSS64SA.js +0 -6
  349. package/chunks/chunk-JJ5ME3A2.js +0 -191
  350. package/chunks/chunk-JJK5733Z.js +0 -211
  351. package/chunks/chunk-JKWNIKHN.js +0 -37
  352. package/chunks/chunk-JNXO4QEM.js +0 -56
  353. package/chunks/chunk-JRXEHYIE.js +0 -37
  354. package/chunks/chunk-JRXTMXKV.js +0 -15967
  355. package/chunks/chunk-JSYVAPV6.js +0 -6
  356. package/chunks/chunk-JUIKU4XP.js +0 -191
  357. package/chunks/chunk-JWF5EKM2.js +0 -127
  358. package/chunks/chunk-JWKI6G6E.js +0 -102
  359. package/chunks/chunk-JYW5L62E.js +0 -211
  360. package/chunks/chunk-KB4BPJBE.js +0 -2369
  361. package/chunks/chunk-KD627A47.js +0 -191
  362. package/chunks/chunk-KEYRP27F.js +0 -191
  363. package/chunks/chunk-KFW3ORPQ.js +0 -20
  364. package/chunks/chunk-KQZK54ZT.js +0 -2369
  365. package/chunks/chunk-KTB7NX4Q.js +0 -56
  366. package/chunks/chunk-KUIQRVIC.js +0 -100
  367. package/chunks/chunk-KYMCGWPM.js +0 -31
  368. package/chunks/chunk-L2L27BLX.js +0 -56
  369. package/chunks/chunk-L5JWJRZ7.js +0 -484
  370. package/chunks/chunk-LAA2DQDK.js +0 -31
  371. package/chunks/chunk-LATEK24U.js +0 -31
  372. package/chunks/chunk-LDLSU4OG.js +0 -191
  373. package/chunks/chunk-LLGU4W6F.js +0 -37
  374. package/chunks/chunk-LLSKBXT7.js +0 -14
  375. package/chunks/chunk-LOFELEU3.js +0 -1108
  376. package/chunks/chunk-LVXK54LL.js +0 -27
  377. package/chunks/chunk-LWWXPVXY.js +0 -25173
  378. package/chunks/chunk-LXPG32TV.js +0 -31
  379. package/chunks/chunk-M6WWIEQJ.js +0 -37
  380. package/chunks/chunk-M737IMZM.js +0 -37
  381. package/chunks/chunk-M7YNPJYY.js +0 -173
  382. package/chunks/chunk-MAP7OSVR.js +0 -37
  383. package/chunks/chunk-MBWRDYGE.js +0 -191
  384. package/chunks/chunk-MC5RLVK5.js +0 -4284
  385. package/chunks/chunk-MF56TTC5.js +0 -15
  386. package/chunks/chunk-MMNQZ2IM.js +0 -20
  387. package/chunks/chunk-MMPJODO2.js +0 -31
  388. package/chunks/chunk-MOA6JFUQ.js +0 -2369
  389. package/chunks/chunk-MQPY7A3O.js +0 -211
  390. package/chunks/chunk-MTT7TVR3.js +0 -127
  391. package/chunks/chunk-MUYZV5F3.js +0 -2369
  392. package/chunks/chunk-MUZGZ3ZF.js +0 -50
  393. package/chunks/chunk-MV7CCO4Y.js +0 -4430
  394. package/chunks/chunk-MW3KNVTG.js +0 -29
  395. package/chunks/chunk-MY4VMHSH.js +0 -191
  396. package/chunks/chunk-MZ2RAM5Y.js +0 -62
  397. package/chunks/chunk-MZSIKE3H.js +0 -211
  398. package/chunks/chunk-N2AOS7WW.js +0 -20
  399. package/chunks/chunk-N37FT2RW.js +0 -2391
  400. package/chunks/chunk-N4BZJOGW.js +0 -56
  401. package/chunks/chunk-N4LMP4UM.js +0 -31
  402. package/chunks/chunk-NGYJGQT3.js +0 -25002
  403. package/chunks/chunk-NHQVXC4Y.js +0 -2391
  404. package/chunks/chunk-NIOOIUSD.js +0 -104
  405. package/chunks/chunk-NLHFSJYR.js +0 -15
  406. package/chunks/chunk-NQ5ESZNO.js +0 -191
  407. package/chunks/chunk-NRRDPNOH.js +0 -100
  408. package/chunks/chunk-NWFX6TEY.js +0 -28
  409. package/chunks/chunk-O2WG3EMN.js +0 -2369
  410. package/chunks/chunk-O6NULFZI.js +0 -37
  411. package/chunks/chunk-OAQG5VAW.js +0 -211
  412. package/chunks/chunk-OJI6SN6F.js +0 -31
  413. package/chunks/chunk-OJXN5JW7.js +0 -37
  414. package/chunks/chunk-OVMNSJOW.js +0 -6
  415. package/chunks/chunk-P2H6PV4O.js +0 -26
  416. package/chunks/chunk-PEEPNNRS.js +0 -173
  417. package/chunks/chunk-PEOXR2Q6.js +0 -191
  418. package/chunks/chunk-PIIE3634.js +0 -37
  419. package/chunks/chunk-PJDZMLNG.js +0 -127
  420. package/chunks/chunk-PM7FWQYD.js +0 -20
  421. package/chunks/chunk-PMYUC6VD.js +0 -37
  422. package/chunks/chunk-PPHUIOHO.js +0 -28
  423. package/chunks/chunk-PPK2JEO6.js +0 -28
  424. package/chunks/chunk-PVHLWKA6.js +0 -31
  425. package/chunks/chunk-PYVUC6EN.js +0 -191
  426. package/chunks/chunk-Q7HA7IAA.js +0 -20
  427. package/chunks/chunk-QAJYFNPZ.js +0 -211
  428. package/chunks/chunk-QHGZBCFZ.js +0 -1108
  429. package/chunks/chunk-QI67BXO6.js +0 -2370
  430. package/chunks/chunk-QIXAGMCI.js +0 -211
  431. package/chunks/chunk-QLJBBAQ5.js +0 -37
  432. package/chunks/chunk-QMWX2A56.js +0 -56
  433. package/chunks/chunk-QN3UAKIU.js +0 -21
  434. package/chunks/chunk-QPBY235R.js +0 -239
  435. package/chunks/chunk-QTTNO4T6.js +0 -37
  436. package/chunks/chunk-QUWGF5WZ.js +0 -191
  437. package/chunks/chunk-QZPBUDX2.js +0 -20
  438. package/chunks/chunk-R23B2MRN.js +0 -2405
  439. package/chunks/chunk-R57V5HA7.js +0 -211
  440. package/chunks/chunk-RDQJSWRC.js +0 -127
  441. package/chunks/chunk-REBANVPP.js +0 -104
  442. package/chunks/chunk-RHV7UOXD.js +0 -211
  443. package/chunks/chunk-RI37ZSKY.js +0 -2369
  444. package/chunks/chunk-ROJZUEYL.js +0 -37
  445. package/chunks/chunk-RORBHBEN.js +0 -20
  446. package/chunks/chunk-RRSHCFEP.js +0 -191
  447. package/chunks/chunk-RSMUYH5H.js +0 -31
  448. package/chunks/chunk-RTFKMYT7.js +0 -2369
  449. package/chunks/chunk-RVVJ4QD4.js +0 -173
  450. package/chunks/chunk-RWWYR54P.js +0 -31
  451. package/chunks/chunk-RX3BKRJU.js +0 -2407
  452. package/chunks/chunk-S7MJLTCR.js +0 -211
  453. package/chunks/chunk-SA2IY5LN.js +0 -35
  454. package/chunks/chunk-SBAY4ZKE.js +0 -211
  455. package/chunks/chunk-SEB7TFUB.js +0 -20
  456. package/chunks/chunk-SFYYQPAK.js +0 -37
  457. package/chunks/chunk-SJLH36CH.js +0 -26
  458. package/chunks/chunk-SJQNLCGS.js +0 -173
  459. package/chunks/chunk-SOAU5CRO.js +0 -56
  460. package/chunks/chunk-SPMF4X5X.js +0 -31
  461. package/chunks/chunk-SR2YFPJZ.js +0 -2419
  462. package/chunks/chunk-SYD5FZEO.js +0 -20
  463. package/chunks/chunk-T5C73QJF.js +0 -56
  464. package/chunks/chunk-TAVCC26N.js +0 -37
  465. package/chunks/chunk-TEB7KZWB.js +0 -21
  466. package/chunks/chunk-TL3JMADI.js +0 -2391
  467. package/chunks/chunk-TLTLM47Y.js +0 -27
  468. package/chunks/chunk-TOZXS7ZY.js +0 -2369
  469. package/chunks/chunk-TSQVG7GA.js +0 -31
  470. package/chunks/chunk-TXOUGP37.js +0 -62
  471. package/chunks/chunk-TYJOCMG7.js +0 -37
  472. package/chunks/chunk-U32YPAPW.js +0 -2369
  473. package/chunks/chunk-U6W7BPH4.js +0 -2369
  474. package/chunks/chunk-U6YRINXJ.js +0 -22
  475. package/chunks/chunk-UBFLFJMH.js +0 -37
  476. package/chunks/chunk-UDY37VIJ.js +0 -22
  477. package/chunks/chunk-UFKH5WD2.js +0 -21
  478. package/chunks/chunk-UG36UPJK.js +0 -31
  479. package/chunks/chunk-UHH75BZP.js +0 -56
  480. package/chunks/chunk-UMJX4S4M.js +0 -56
  481. package/chunks/chunk-UODICVLG.js +0 -173
  482. package/chunks/chunk-UT75PSLP.js +0 -20
  483. package/chunks/chunk-UXM54YBI.js +0 -68
  484. package/chunks/chunk-VDNIN3V5.js +0 -23
  485. package/chunks/chunk-VEKKX6Z5.js +0 -173
  486. package/chunks/chunk-VH4FK3TX.js +0 -31
  487. package/chunks/chunk-VHCD3Z4T.js +0 -20
  488. package/chunks/chunk-VHFMQI7Z.js +0 -20
  489. package/chunks/chunk-VKURVIRV.js +0 -28
  490. package/chunks/chunk-VLHSIIPO.js +0 -20
  491. package/chunks/chunk-VP3Y6EMX.js +0 -190
  492. package/chunks/chunk-VQEP2EQF.js +0 -100
  493. package/chunks/chunk-VV35APGM.js +0 -2369
  494. package/chunks/chunk-VV72XGJJ.js +0 -58
  495. package/chunks/chunk-VXSOUAUT.js +0 -100
  496. package/chunks/chunk-VZQ4WCBH.js +0 -2391
  497. package/chunks/chunk-W4OFHYWN.js +0 -1108
  498. package/chunks/chunk-W6BFU7Y5.js +0 -56
  499. package/chunks/chunk-W7YBGJ4H.js +0 -28
  500. package/chunks/chunk-WABWQCFE.js +0 -127
  501. package/chunks/chunk-WC2LQPQP.js +0 -26
  502. package/chunks/chunk-WDWDHE7I.js +0 -31
  503. package/chunks/chunk-WFED6NDN.js +0 -28
  504. package/chunks/chunk-WJMBLQRX.js +0 -29
  505. package/chunks/chunk-WKW34B3A.js +0 -2369
  506. package/chunks/chunk-WLHJM76F.js +0 -2369
  507. package/chunks/chunk-WNLP6R5Y.js +0 -191
  508. package/chunks/chunk-WO2R3QFK.js +0 -20
  509. package/chunks/chunk-WP7L5ZFP.js +0 -173
  510. package/chunks/chunk-WTAMA5WX.js +0 -37
  511. package/chunks/chunk-WTPUSGMJ.js +0 -104
  512. package/chunks/chunk-WXXW6YLW.js +0 -127
  513. package/chunks/chunk-WYY3N6PO.js +0 -2369
  514. package/chunks/chunk-WZC2HZ5W.js +0 -27
  515. package/chunks/chunk-X4XXZ44B.js +0 -37
  516. package/chunks/chunk-X5HMM3LD.js +0 -35
  517. package/chunks/chunk-XCBH6NLF.js +0 -42
  518. package/chunks/chunk-XDYRPW7Q.js +0 -37
  519. package/chunks/chunk-XDZD6C76.js +0 -37
  520. package/chunks/chunk-XETVQW6S.js +0 -56
  521. package/chunks/chunk-XGOWRHVM.js +0 -37
  522. package/chunks/chunk-XH6TZMNR.js +0 -211
  523. package/chunks/chunk-XI2XIH6L.js +0 -2391
  524. package/chunks/chunk-XK2PI5WI.js +0 -31
  525. package/chunks/chunk-XL7AQDAE.js +0 -31
  526. package/chunks/chunk-XPRBKRSB.js +0 -37
  527. package/chunks/chunk-XRUSQWPJ.js +0 -173
  528. package/chunks/chunk-XSOBXDGQ.js +0 -191
  529. package/chunks/chunk-XT6XKGKK.js +0 -20
  530. package/chunks/chunk-XWLQR4UY.js +0 -25
  531. package/chunks/chunk-XWU7O5KD.js +0 -211
  532. package/chunks/chunk-XXDQWJP3.js +0 -56
  533. package/chunks/chunk-YBYXIDGC.js +0 -20
  534. package/chunks/chunk-YCZQAM7E.js +0 -2407
  535. package/chunks/chunk-YDNQHZRS.js +0 -31
  536. package/chunks/chunk-YGJHHWBJ.js +0 -37
  537. package/chunks/chunk-YHT73ULP.js +0 -2369
  538. package/chunks/chunk-YKECGAIJ.js +0 -37
  539. package/chunks/chunk-YMNBUQVR.js +0 -2420
  540. package/chunks/chunk-YO5KOEJF.js +0 -27
  541. package/chunks/chunk-YRKWVEWA.js +0 -20
  542. package/chunks/chunk-YRSNU7IX.js +0 -49
  543. package/chunks/chunk-YTS4JME6.js +0 -2369
  544. package/chunks/chunk-YVHJ7TUJ.js +0 -211
  545. package/chunks/chunk-YVSS4IT2.js +0 -37
  546. package/chunks/chunk-YYE7TVB6.js +0 -2420
  547. package/chunks/chunk-YYYRFMNZ.js +0 -191
  548. package/chunks/chunk-YZDZQ7AZ.js +0 -37
  549. package/chunks/chunk-Z352MSRL.js +0 -127
  550. package/chunks/chunk-Z4SQDCFG.js +0 -37
  551. package/chunks/chunk-ZCPGE7H7.js +0 -64
  552. package/chunks/chunk-ZGYU6F7Q.js +0 -13
  553. package/chunks/chunk-ZLQUBC5B.js +0 -31
  554. package/chunks/chunk-ZNPRJEP5.js +0 -28
  555. package/chunks/chunk-ZS5OHINP.js +0 -31
  556. package/index.d.ts +0 -3
  557. package/node/encryption/buffer/index.d.ts +0 -56
  558. package/node/encryption/buffer/index.js +0 -16
  559. package/node/encryption/generate-key/index.d.ts +0 -16
  560. package/node/encryption/generate-key/index.js +0 -7
  561. package/node/encryption/uint8-array/index.d.ts +0 -57
  562. package/node/encryption/uint8-array/index.js +0 -15
  563. package/chunks/{chunk-3DJI3JTM.js → chunk-3CQON3DO.js} +9 -9
  564. package/chunks/{chunk-OPO25SDO.js → chunk-DW4ILX77.js} +3 -3
  565. package/chunks/{chunk-VKNWPV5T.js → chunk-FIVB3FON.js} +3 -3
  566. package/chunks/{chunk-EFLJJ5VF.js → chunk-FVFYLT5T.js} +6 -6
  567. package/chunks/{chunk-222367I5.js → chunk-HZGGYNZ5.js} +9 -9
  568. package/chunks/{chunk-GBBM5DLR.js → chunk-JSKVNOTW.js} +3 -3
  569. package/chunks/{chunk-AE6L2HYA.js → chunk-K4Q2MG65.js} +3 -3
  570. package/chunks/{chunk-EZFHN4ST.js → chunk-KTK3BMX2.js} +11 -11
  571. package/chunks/{chunk-EIU72AEZ.js → chunk-VWLJ5IEE.js} +7 -7
  572. package/chunks/{chunk-HQGZVWBB.js → chunk-XAZT2MME.js} +5 -5
@@ -1,56 +0,0 @@
1
- import {
2
- update_metadata_exports
3
- } from "./chunk-JBDWHJ4Q.js";
4
- import {
5
- revoke_signed_urls_exports
6
- } from "./chunk-QTTNO4T6.js";
7
- import {
8
- move_exports
9
- } from "./chunk-3GTGE66Y.js";
10
- import {
11
- upload_exports
12
- } from "./chunk-4WOYAD35.js";
13
- import {
14
- copy_exports
15
- } from "./chunk-N4LMP4UM.js";
16
- import {
17
- erase_exports
18
- } from "./chunk-G66DWXF3.js";
19
- import {
20
- download_exports
21
- } from "./chunk-I66DPQN2.js";
22
- import {
23
- exists_exports
24
- } from "./chunk-5VHFXWFM.js";
25
- import {
26
- get_metadata_exports
27
- } from "./chunk-QVIRBFMQ.js";
28
- import {
29
- generate_signed_url_exports
30
- } from "./chunk-EM37BFXO.js";
31
- import {
32
- get_permissions_exports
33
- } from "./chunk-WOGRENMM.js";
34
- import {
35
- __export
36
- } from "./chunk-WSFCRVEQ.js";
37
-
38
- // src/node/@google-cloud/storage/file/index.ts
39
- var file_exports = {};
40
- __export(file_exports, {
41
- Copy: () => copy_exports,
42
- Download: () => download_exports,
43
- Erase: () => erase_exports,
44
- Exists: () => exists_exports,
45
- GenerateSignedUrl: () => generate_signed_url_exports,
46
- GetMetaData: () => get_metadata_exports,
47
- GetPermissions: () => get_permissions_exports,
48
- Move: () => move_exports,
49
- RevokeSignedUrls: () => revoke_signed_urls_exports,
50
- UpdateMetadata: () => update_metadata_exports,
51
- Upload: () => upload_exports
52
- });
53
-
54
- export {
55
- file_exports
56
- };
@@ -1,28 +0,0 @@
1
- // src/agnostic/misc/assert/index.ts
2
- var Assert;
3
- ((Assert2) => {
4
- function makeSuccess(label) {
5
- console.info(`\u2705 SUCCESS: "${label}"`);
6
- }
7
- function makeFailure(label) {
8
- throw new Error(`\u{1F6AB} FAILURE: "${label}""`);
9
- }
10
- function assert(label, assertion) {
11
- if (Array.isArray(assertion)) assertion.forEach((innerAssertion, pos) => assert(`${label} (${pos})`, innerAssertion));
12
- else if (typeof assertion === "function") {
13
- try {
14
- const result = assertion();
15
- if (result === false) makeFailure(label);
16
- else makeSuccess(label);
17
- } catch (err) {
18
- makeFailure(`${err}`);
19
- }
20
- } else if (assertion === false) makeFailure(label);
21
- else makeSuccess(label);
22
- }
23
- Assert2.assert = assert;
24
- })(Assert || (Assert = {}));
25
-
26
- export {
27
- Assert
28
- };
@@ -1,127 +0,0 @@
1
- import {
2
- register
3
- } from "./chunk-CB52KVOZ.js";
4
-
5
- // src/agnostic/html/sanitize/index.ts
6
- var Sanitize;
7
- ((Sanitize2) => {
8
- Sanitize2.defaultOptions = { depth: 20 };
9
- function sanitize(inputStr, options = Sanitize2.defaultOptions) {
10
- const actualDocument = options.documentObj ?? window.document;
11
- if (actualDocument === null) throw register.getError("no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */, "See documentObj in the options object");
12
- const wrapperDiv = actualDocument.createElement("div");
13
- const { inputFreeTransform } = options;
14
- wrapperDiv.innerHTML = inputFreeTransform !== void 0 ? inputFreeTransform(inputStr) : inputStr;
15
- const sanitizedWrapper = sanitizeElement(wrapperDiv, options);
16
- const returned = sanitizedWrapper?.innerHTML;
17
- return returned ?? "";
18
- }
19
- Sanitize2.sanitize = sanitize;
20
- function sanitizeElement(element, options = Sanitize2.defaultOptions) {
21
- const actualDocument = options.documentObj ?? window.document;
22
- if (actualDocument === null) throw register.getError("no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */, "See documentObj in the options object");
23
- const { tagName, attributes, childNodes } = element;
24
- const {
25
- allowedTags = [],
26
- allowedAttributes = {},
27
- forbiddenTags = [],
28
- forbiddenAttributes = {},
29
- depth = 20,
30
- verbose = false
31
- } = options;
32
- if (depth <= 0) {
33
- console.warn("Max depth reached");
34
- return null;
35
- }
36
- const normalizedTagName = tagName.toLowerCase().trim();
37
- const tagIsInForbidden = forbiddenTags.includes("*") || forbiddenTags.includes(normalizedTagName);
38
- if (tagIsInForbidden) {
39
- if (verbose === true) console.warn(tagName, "tag is forbidden");
40
- return null;
41
- }
42
- const tagIsInAllowed = allowedTags.includes("*") || allowedTags.includes(normalizedTagName);
43
- if (!tagIsInAllowed) {
44
- if (verbose === true) console.warn(tagName, "tag is not allowed");
45
- return null;
46
- }
47
- const returnedElement = actualDocument.createElement(tagName);
48
- const returnedAttributes = Array.from(attributes).filter(({ name: attributeName, value: attributeValue }) => {
49
- const allTagsForbiddenAttributes = forbiddenAttributes["*"] ?? [];
50
- const thisTagForbiddenAttributes = forbiddenAttributes[normalizedTagName] ?? [];
51
- const mergedForbiddenAttributes = [...allTagsForbiddenAttributes, ...thisTagForbiddenAttributes];
52
- const isInForbidden = mergedForbiddenAttributes.some(({
53
- attributeName: nameTester,
54
- attributeValues: valTesters
55
- }) => {
56
- if (typeof nameTester === "string" && nameTester !== "*" && attributeName !== nameTester) return false;
57
- if (typeof nameTester !== "string" && !nameTester.test(attributeName)) return false;
58
- if (valTesters === void 0) {
59
- if (verbose === true) console.warn(attributeName, "attribute on", tagName, "tag is forbidden");
60
- return true;
61
- }
62
- if (valTesters.includes("*")) {
63
- if (verbose === true) console.warn(attributeName, "attribute on", tagName, "tag is forbidden");
64
- return true;
65
- }
66
- return valTesters.some((valTester) => {
67
- if (typeof valTester === "string" && attributeValue === valTester) {
68
- if (verbose === true) console.warn(attributeValue, "value for", attributeName, "attribute on", tagName, "tag is forbidden. Rule:", valTester);
69
- return true;
70
- }
71
- if (typeof valTester !== "string" && valTester.test(attributeValue)) {
72
- if (verbose === true) console.warn(attributeValue, "value for", attributeName, "attribute on", tagName, "tag is forbidden. Rule:", valTester);
73
- return true;
74
- }
75
- return false;
76
- });
77
- });
78
- if (isInForbidden) return false;
79
- const allTagsAllowedAttributes = allowedAttributes["*"] ?? [];
80
- const thisTagAllowedAttributes = allowedAttributes[normalizedTagName] ?? [];
81
- const mergedAllowedAttributes = [...allTagsAllowedAttributes, ...thisTagAllowedAttributes];
82
- let latestNotAllowedReason = [tagName, "has no allowed attributes"];
83
- const isInAllowed = mergedAllowedAttributes.some(({
84
- attributeName: nameTester,
85
- attributeValues: valTesters
86
- }) => {
87
- if (typeof nameTester === "string" && nameTester !== "*" && attributeName !== nameTester) {
88
- latestNotAllowedReason = [attributeName, "attribute on", tagName, "tag is not allowed"];
89
- return false;
90
- }
91
- if (typeof nameTester !== "string" && !nameTester.test(attributeName)) {
92
- latestNotAllowedReason = [attributeName, "attribute on", tagName, "tag is not allowed"];
93
- return false;
94
- }
95
- if (valTesters === void 0) return true;
96
- if (valTesters.includes("*")) return true;
97
- return valTesters.some((valTester) => {
98
- if (typeof valTester === "string" && attributeValue === valTester) return true;
99
- if (typeof valTester !== "string" && valTester.test(attributeValue)) return true;
100
- latestNotAllowedReason = [attributeValue, "value for", attributeName, "attribute on", tagName, "tag is not allowed"];
101
- return false;
102
- });
103
- });
104
- if (!isInAllowed) {
105
- if (verbose === true) console.warn(...latestNotAllowedReason);
106
- return false;
107
- }
108
- return true;
109
- });
110
- returnedAttributes.forEach(({ name, value }) => {
111
- returnedElement.setAttribute(name, value);
112
- });
113
- const sanitizedChildNodes = Array.from(childNodes).map((node) => {
114
- if (node.nodeType === Node.ELEMENT_NODE) return sanitizeElement(node, { ...options, depth: depth - 1 });
115
- else if (node.nodeType === Node.TEXT_NODE) return node;
116
- else if (options.keepComments === true && node.nodeType === Node.COMMENT_NODE) return node;
117
- return null;
118
- }).filter((elt) => elt !== null);
119
- returnedElement.replaceChildren(...sanitizedChildNodes);
120
- return returnedElement;
121
- }
122
- Sanitize2.sanitizeElement = sanitizeElement;
123
- })(Sanitize || (Sanitize = {}));
124
-
125
- export {
126
- Sanitize
127
- };
@@ -1,26 +0,0 @@
1
- import {
2
- Crossenv
3
- } from "./chunk-UFKH5WD2.js";
4
- import {
5
- Errors
6
- } from "./chunk-2KT7AKRW.js";
7
-
8
- // src/shared/errors/index.ts
9
- var register = Errors.Register.from({
10
- ["no-window-document-on-runtime" /* NO_DOCUMENT */]: {
11
- message: `Runtime '${Crossenv.detectRuntime()}' does not provide a Document object, cannot complete.`,
12
- detailsMaker: () => void 0
13
- },
14
- ["no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */]: {
15
- message: `Please provide a Document object since none are found on runtime '${Crossenv.detectRuntime()}'`,
16
- detailsMaker: (tips) => tips
17
- },
18
- ["impossible-to-pick-in-array" /* IMPOSSIBLE_TO_PICK_IN_ARRAY */]: {
19
- message: "Impossible to pick",
20
- detailsMaker: (array) => array.length === 0 ? "Array cannot be empty" : "Too many exclusions"
21
- }
22
- });
23
-
24
- export {
25
- register
26
- };
@@ -1,31 +0,0 @@
1
- import {
2
- make
3
- } from "./chunk-RLAZR3NL.js";
4
- import {
5
- isArrayOf
6
- } from "./chunk-6RGDWX4A.js";
7
- import {
8
- findDuplicates
9
- } from "./chunk-YS6WMSWC.js";
10
- import {
11
- shuffle
12
- } from "./chunk-VJJIYJMY.js";
13
- import {
14
- randomPick,
15
- randomPickMany
16
- } from "./chunk-AQBJ6HNB.js";
17
-
18
- // src/agnostic/arrays/index.tsx
19
- var Arrays;
20
- ((Arrays2) => {
21
- Arrays2.findDuplicates = findDuplicates;
22
- Arrays2.isArrayOf = isArrayOf;
23
- Arrays2.make = make;
24
- Arrays2.randomPick = randomPick;
25
- Arrays2.randomPickMany = randomPickMany;
26
- Arrays2.shuffle = shuffle;
27
- })(Arrays || (Arrays = {}));
28
-
29
- export {
30
- Arrays
31
- };
@@ -1,28 +0,0 @@
1
- import {
2
- Sanitize
3
- } from "./chunk-PJDZMLNG.js";
4
- import {
5
- register
6
- } from "./chunk-7NO34XJI.js";
7
-
8
- // src/agnostic/html/string-to-nodes/index.ts
9
- function stringToNodes(dirtyStr, options) {
10
- const actualDocument = options?.documentObj ?? window.document;
11
- if (actualDocument === null) throw register.getError("no-window-document-on-runtime-please-provide" /* NO_DOCUMENT_PLEASE_PROVIDE */, "See documentObj in the options object");
12
- const sanitizeOptions = {
13
- ...options?.sanitize,
14
- documentObj: options?.sanitize?.documentObj ?? options?.documentObj
15
- };
16
- const str = options?.sanitize !== void 0 ? Sanitize.sanitize(dirtyStr, sanitizeOptions) : dirtyStr;
17
- const wrapperDiv = actualDocument.createElement("div");
18
- wrapperDiv.innerHTML = str;
19
- const nodes = Array.from(wrapperDiv.childNodes).filter((node) => {
20
- const allowedNodeTypes = [Node.ELEMENT_NODE, Node.TEXT_NODE];
21
- return allowedNodeTypes.includes(node.nodeType);
22
- });
23
- return nodes;
24
- }
25
-
26
- export {
27
- stringToNodes
28
- };
@@ -1,29 +0,0 @@
1
- import {
2
- register
3
- } from "./chunk-7NO34XJI.js";
4
-
5
- // src/agnostic/arrays/random-pick/index.ts
6
- function randomPick(arr, exclude = []) {
7
- const filteredArr = [...arr].filter((elt) => !exclude.includes(elt));
8
- const length = filteredArr.length;
9
- if (length === 0) throw register.getError("impossible-to-pick-in-array" /* IMPOSSIBLE_TO_PICK_IN_ARRAY */, arr);
10
- const pos = Math.floor(Math.random() * length);
11
- const found = filteredArr[pos];
12
- return found;
13
- }
14
- function randomPickMany(howMuch, arr, exclude = []) {
15
- const grindedArr = [...arr];
16
- const pickedSelection = [];
17
- for (let i = 0; i < howMuch; i++) {
18
- const picked = randomPick(grindedArr, exclude);
19
- const indexOfPicked = grindedArr.indexOf(picked);
20
- grindedArr.splice(indexOfPicked, 1);
21
- pickedSelection.push(picked);
22
- }
23
- return pickedSelection;
24
- }
25
-
26
- export {
27
- randomPick,
28
- randomPickMany
29
- };