@mtkruto/node 0.5.1 → 0.6.1

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 (1193) hide show
  1. package/esm/0_deps.d.ts +11 -8
  2. package/esm/0_deps.d.ts.map +1 -1
  3. package/esm/0_deps.js +12 -9
  4. package/esm/1_utilities.d.ts +1 -0
  5. package/esm/1_utilities.d.ts.map +1 -1
  6. package/esm/1_utilities.js +1 -0
  7. package/esm/client/0_params.d.ts +26 -0
  8. package/esm/client/0_params.d.ts.map +1 -1
  9. package/esm/client/1_client_encrypted.js +4 -4
  10. package/esm/client/2_account_manager.d.ts +1 -0
  11. package/esm/client/2_account_manager.d.ts.map +1 -1
  12. package/esm/client/2_account_manager.js +4 -0
  13. package/esm/client/2_file_manager.js +6 -6
  14. package/esm/client/3_message_manager.d.ts +3 -1
  15. package/esm/client/3_message_manager.d.ts.map +1 -1
  16. package/esm/client/3_message_manager.js +20 -0
  17. package/esm/client/4_chat_list_manager.d.ts +7 -3
  18. package/esm/client/4_chat_list_manager.d.ts.map +1 -1
  19. package/esm/client/4_chat_list_manager.js +71 -14
  20. package/esm/client/5_client.d.ts +62 -4
  21. package/esm/client/5_client.d.ts.map +1 -1
  22. package/esm/client/5_client.js +103 -9
  23. package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.d.ts.map +1 -0
  25. package/esm/deps/jsr.io/@std/assert/1.0.8/almost_equals.d.ts.map +1 -0
  26. package/esm/deps/jsr.io/@std/assert/1.0.8/array_includes.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@std/assert/1.0.8/assert.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@std/assert/1.0.8/assertion_error.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@std/assert/1.0.8/equal.d.ts +17 -0
  30. package/esm/deps/jsr.io/@std/assert/1.0.8/equal.d.ts.map +1 -0
  31. package/esm/deps/jsr.io/@std/assert/1.0.8/equal.js +183 -0
  32. package/esm/deps/jsr.io/@std/assert/1.0.8/equals.d.ts.map +1 -0
  33. package/esm/deps/jsr.io/@std/assert/1.0.8/exists.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@std/assert/1.0.8/fail.d.ts.map +1 -0
  35. package/esm/deps/jsr.io/@std/assert/1.0.8/false.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@std/assert/1.0.8/greater.d.ts.map +1 -0
  37. package/esm/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@std/assert/1.0.8/instance_of.d.ts.map +1 -0
  39. package/esm/deps/jsr.io/@std/assert/1.0.8/is_error.d.ts.map +1 -0
  40. package/esm/deps/jsr.io/@std/assert/1.0.8/is_error.js +53 -0
  41. package/esm/deps/jsr.io/@std/assert/1.0.8/less.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@std/assert/1.0.8/less_or_equal.d.ts.map +1 -0
  43. package/esm/deps/jsr.io/@std/assert/1.0.8/match.d.ts.map +1 -0
  44. package/esm/deps/jsr.io/@std/assert/1.0.8/mod.d.ts.map +1 -0
  45. package/esm/deps/jsr.io/@std/assert/1.0.8/not_equals.d.ts.map +1 -0
  46. package/esm/deps/jsr.io/@std/assert/1.0.8/not_instance_of.d.ts.map +1 -0
  47. package/esm/deps/jsr.io/@std/assert/1.0.8/not_match.d.ts.map +1 -0
  48. package/esm/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.d.ts.map +1 -0
  49. package/esm/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts.map +1 -0
  50. package/esm/deps/jsr.io/@std/assert/1.0.8/rejects.d.ts.map +1 -0
  51. package/esm/deps/jsr.io/@std/assert/1.0.8/strict_equals.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@std/assert/1.0.8/string_includes.d.ts.map +1 -0
  53. package/esm/deps/jsr.io/@std/assert/1.0.8/throws.d.ts.map +1 -0
  54. package/esm/deps/jsr.io/@std/assert/1.0.8/unimplemented.d.ts.map +1 -0
  55. package/esm/deps/jsr.io/@std/assert/1.0.8/unreachable.d.ts.map +1 -0
  56. package/esm/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +1 -0
  57. package/esm/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts +8 -0
  58. package/esm/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts.map +1 -0
  59. package/esm/deps/jsr.io/@std/media-types/1.1.0/_util.d.ts.map +1 -0
  60. package/esm/deps/jsr.io/@std/media-types/1.1.0/all_extensions.d.ts.map +1 -0
  61. package/esm/deps/jsr.io/@std/media-types/1.1.0/content_type.d.ts.map +1 -0
  62. package/esm/deps/jsr.io/@std/media-types/1.1.0/extension.d.ts.map +1 -0
  63. package/esm/deps/jsr.io/@std/media-types/1.1.0/format_media_type.d.ts.map +1 -0
  64. package/esm/deps/jsr.io/@std/media-types/1.1.0/get_charset.d.ts.map +1 -0
  65. package/esm/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.d.ts.map +1 -0
  66. package/esm/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts.map +1 -0
  67. package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts +9103 -0
  68. package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts.map +1 -0
  69. package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.js +9138 -0
  70. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
  71. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
  72. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
  73. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
  74. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
  75. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
  76. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
  78. package/esm/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
  79. package/esm/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
  81. package/esm/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
  82. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
  83. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
  84. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
  85. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +49 -0
  86. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
  87. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
  88. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +89 -0
  89. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
  90. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
  91. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
  92. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +42 -0
  93. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
  94. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +57 -0
  96. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
  97. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
  98. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
  99. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
  100. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
  101. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
  102. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
  103. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
  104. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
  105. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
  106. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
  107. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +35 -0
  108. package/esm/transport/3_transport_provider_tcp.d.ts +19 -8
  109. package/esm/transport/3_transport_provider_tcp.d.ts.map +1 -1
  110. package/esm/transport/3_transport_provider_tcp.js +19 -5
  111. package/esm/types/0_birthday.d.ts.map +1 -1
  112. package/esm/types/0_birthday.js +3 -2
  113. package/esm/types/0_chat_member_rights.js +3 -3
  114. package/esm/types/0_contact.d.ts.map +1 -1
  115. package/esm/types/0_contact.js +3 -2
  116. package/esm/types/0_location.d.ts.map +1 -1
  117. package/esm/types/0_location.js +7 -6
  118. package/esm/types/1_animation.d.ts.map +1 -1
  119. package/esm/types/1_animation.js +3 -2
  120. package/esm/types/1_audio.d.ts.map +1 -1
  121. package/esm/types/1_audio.js +3 -2
  122. package/esm/types/1_venue.d.ts.map +1 -1
  123. package/esm/types/1_venue.js +2 -5
  124. package/esm/types/2_story_interactions.d.ts.map +1 -1
  125. package/esm/types/2_story_interactions.js +2 -1
  126. package/esm/utilities/0_gunzip.d.ts +2 -0
  127. package/esm/utilities/0_gunzip.d.ts.map +1 -0
  128. package/esm/utilities/0_gunzip.js +17 -0
  129. package/package.json +2 -1
  130. package/script/0_deps.d.ts +11 -8
  131. package/script/0_deps.d.ts.map +1 -1
  132. package/script/0_deps.js +20 -26
  133. package/script/1_utilities.d.ts +1 -0
  134. package/script/1_utilities.d.ts.map +1 -1
  135. package/script/1_utilities.js +1 -0
  136. package/script/client/0_params.d.ts +26 -0
  137. package/script/client/0_params.d.ts.map +1 -1
  138. package/script/client/1_client_encrypted.js +2 -2
  139. package/script/client/2_account_manager.d.ts +1 -0
  140. package/script/client/2_account_manager.d.ts.map +1 -1
  141. package/script/client/2_account_manager.js +4 -0
  142. package/script/client/2_file_manager.js +5 -5
  143. package/script/client/3_message_manager.d.ts +3 -1
  144. package/script/client/3_message_manager.d.ts.map +1 -1
  145. package/script/client/3_message_manager.js +20 -0
  146. package/script/client/4_chat_list_manager.d.ts +7 -3
  147. package/script/client/4_chat_list_manager.d.ts.map +1 -1
  148. package/script/client/4_chat_list_manager.js +70 -13
  149. package/script/client/5_client.d.ts +62 -4
  150. package/script/client/5_client.d.ts.map +1 -1
  151. package/script/client/5_client.js +103 -9
  152. package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.d.ts.map +1 -0
  153. package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.d.ts.map +1 -0
  154. package/script/deps/jsr.io/@std/assert/1.0.8/almost_equals.d.ts.map +1 -0
  155. package/script/deps/jsr.io/@std/assert/1.0.8/array_includes.d.ts.map +1 -0
  156. package/script/deps/jsr.io/@std/assert/1.0.8/assert.d.ts.map +1 -0
  157. package/script/deps/jsr.io/@std/assert/1.0.8/assertion_error.d.ts.map +1 -0
  158. package/script/deps/jsr.io/@std/assert/1.0.8/equal.d.ts +17 -0
  159. package/script/deps/jsr.io/@std/assert/1.0.8/equal.d.ts.map +1 -0
  160. package/script/deps/jsr.io/@std/assert/1.0.8/equal.js +209 -0
  161. package/script/deps/jsr.io/@std/assert/1.0.8/equals.d.ts.map +1 -0
  162. package/script/deps/jsr.io/@std/assert/1.0.8/exists.d.ts.map +1 -0
  163. package/script/deps/jsr.io/@std/assert/1.0.8/fail.d.ts.map +1 -0
  164. package/script/deps/jsr.io/@std/assert/1.0.8/false.d.ts.map +1 -0
  165. package/script/deps/jsr.io/@std/assert/1.0.8/greater.d.ts.map +1 -0
  166. package/script/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.d.ts.map +1 -0
  167. package/script/deps/jsr.io/@std/assert/1.0.8/instance_of.d.ts.map +1 -0
  168. package/script/deps/jsr.io/@std/assert/1.0.8/is_error.d.ts.map +1 -0
  169. package/script/deps/jsr.io/@std/assert/1.0.8/is_error.js +56 -0
  170. package/script/deps/jsr.io/@std/assert/1.0.8/less.d.ts.map +1 -0
  171. package/script/deps/jsr.io/@std/assert/1.0.8/less_or_equal.d.ts.map +1 -0
  172. package/script/deps/jsr.io/@std/assert/1.0.8/match.d.ts.map +1 -0
  173. package/script/deps/jsr.io/@std/assert/1.0.8/mod.d.ts.map +1 -0
  174. package/script/deps/jsr.io/@std/assert/1.0.8/not_equals.d.ts.map +1 -0
  175. package/script/deps/jsr.io/@std/assert/1.0.8/not_instance_of.d.ts.map +1 -0
  176. package/script/deps/jsr.io/@std/assert/1.0.8/not_match.d.ts.map +1 -0
  177. package/script/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.d.ts.map +1 -0
  178. package/script/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts.map +1 -0
  179. package/script/deps/jsr.io/@std/assert/1.0.8/rejects.d.ts.map +1 -0
  180. package/script/deps/jsr.io/@std/assert/1.0.8/strict_equals.d.ts.map +1 -0
  181. package/script/deps/jsr.io/@std/assert/1.0.8/string_includes.d.ts.map +1 -0
  182. package/script/deps/jsr.io/@std/assert/1.0.8/throws.d.ts.map +1 -0
  183. package/script/deps/jsr.io/@std/assert/1.0.8/unimplemented.d.ts.map +1 -0
  184. package/script/deps/jsr.io/@std/assert/1.0.8/unreachable.d.ts.map +1 -0
  185. package/script/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +1 -0
  186. package/script/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts +8 -0
  187. package/script/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts.map +1 -0
  188. package/script/deps/jsr.io/@std/media-types/1.1.0/_util.d.ts.map +1 -0
  189. package/script/deps/jsr.io/@std/media-types/1.1.0/all_extensions.d.ts.map +1 -0
  190. package/script/deps/jsr.io/@std/media-types/1.1.0/content_type.d.ts.map +1 -0
  191. package/script/deps/jsr.io/@std/media-types/1.1.0/extension.d.ts.map +1 -0
  192. package/script/deps/jsr.io/@std/media-types/1.1.0/format_media_type.d.ts.map +1 -0
  193. package/script/deps/jsr.io/@std/media-types/1.1.0/get_charset.d.ts.map +1 -0
  194. package/script/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.d.ts.map +1 -0
  195. package/script/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts.map +1 -0
  196. package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts +9103 -0
  197. package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts.map +1 -0
  198. package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.js +9140 -0
  199. package/script/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
  200. package/script/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
  201. package/script/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
  202. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
  203. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
  204. package/script/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
  205. package/script/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
  206. package/script/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
  207. package/script/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
  208. package/script/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
  209. package/script/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
  210. package/script/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
  211. package/script/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
  212. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
  213. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
  214. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.js +52 -0
  215. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
  216. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
  217. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.js +92 -0
  218. package/script/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
  219. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
  220. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
  221. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.js +45 -0
  222. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
  223. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
  224. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +60 -0
  225. package/script/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
  226. package/script/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
  227. package/script/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
  228. package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
  229. package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
  230. package/script/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
  231. package/script/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
  232. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
  233. package/script/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
  234. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
  235. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
  236. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +38 -0
  237. package/script/transport/3_transport_provider_tcp.d.ts +19 -8
  238. package/script/transport/3_transport_provider_tcp.d.ts.map +1 -1
  239. package/script/transport/3_transport_provider_tcp.js +19 -5
  240. package/script/types/0_birthday.d.ts.map +1 -1
  241. package/script/types/0_birthday.js +3 -2
  242. package/script/types/0_chat_member_rights.js +2 -2
  243. package/script/types/0_contact.d.ts.map +1 -1
  244. package/script/types/0_contact.js +3 -2
  245. package/script/types/0_location.d.ts.map +1 -1
  246. package/script/types/0_location.js +7 -6
  247. package/script/types/1_animation.d.ts.map +1 -1
  248. package/script/types/1_animation.js +3 -2
  249. package/script/types/1_audio.d.ts.map +1 -1
  250. package/script/types/1_audio.js +3 -2
  251. package/script/types/1_venue.d.ts.map +1 -1
  252. package/script/types/1_venue.js +2 -5
  253. package/script/types/2_story_interactions.d.ts.map +1 -1
  254. package/script/types/2_story_interactions.js +2 -1
  255. package/script/utilities/0_gunzip.d.ts +2 -0
  256. package/script/utilities/0_gunzip.d.ts.map +1 -0
  257. package/script/utilities/0_gunzip.js +20 -0
  258. package/esm/deps/deno.land/std@0.224.0/io/types.d.ts +0 -95
  259. package/esm/deps/deno.land/std@0.224.0/io/types.d.ts.map +0 -1
  260. package/esm/deps/deno.land/std@0.224.0/io/types.js +0 -3
  261. package/esm/deps/deno.land/std@0.224.0/io/write_all.d.ts +0 -39
  262. package/esm/deps/deno.land/std@0.224.0/io/write_all.d.ts.map +0 -1
  263. package/esm/deps/deno.land/std@0.224.0/io/write_all.js +0 -49
  264. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts +0 -84
  265. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts.map +0 -1
  266. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.js +0 -203
  267. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts +0 -51
  268. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts.map +0 -1
  269. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +0 -274
  270. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts +0 -48
  271. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts.map +0 -1
  272. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +0 -51
  273. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts +0 -67
  274. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts.map +0 -1
  275. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +0 -191
  276. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts +0 -169
  277. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts.map +0 -1
  278. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +0 -385
  279. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts +0 -160
  280. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts.map +0 -1
  281. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.js +0 -431
  282. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts +0 -182
  283. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts.map +0 -1
  284. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.js +0 -1046
  285. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts +0 -43
  286. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts.map +0 -1
  287. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +0 -52
  288. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts +0 -12
  289. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts.map +0 -1
  290. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.js +0 -122
  291. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts +0 -2
  292. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts.map +0 -1
  293. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +0 -24
  294. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts +0 -47
  295. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts.map +0 -1
  296. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +0 -121
  297. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts +0 -32
  298. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts.map +0 -1
  299. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.js +0 -30
  300. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts +0 -2129
  301. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts.map +0 -1
  302. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.js +0 -2127
  303. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts +0 -110
  304. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts.map +0 -1
  305. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.js +0 -108
  306. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts +0 -9
  307. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts.map +0 -1
  308. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.js +0 -1
  309. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts +0 -91
  310. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts.map +0 -1
  311. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +0 -95
  312. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts +0 -51
  313. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts.map +0 -1
  314. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +0 -128
  315. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts +0 -47
  316. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts.map +0 -1
  317. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +0 -110
  318. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts +0 -43
  319. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts.map +0 -1
  320. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +0 -120
  321. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts +0 -7
  322. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts.map +0 -1
  323. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.js +0 -6
  324. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts +0 -55
  325. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts.map +0 -1
  326. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +0 -110
  327. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts +0 -41
  328. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts.map +0 -1
  329. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +0 -75
  330. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts +0 -59
  331. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts.map +0 -1
  332. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +0 -101
  333. package/esm/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts.map +0 -1
  334. package/esm/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts.map +0 -1
  335. package/esm/deps/jsr.io/@std/assert/1.0.6/almost_equals.d.ts.map +0 -1
  336. package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.d.ts.map +0 -1
  337. package/esm/deps/jsr.io/@std/assert/1.0.6/assert.d.ts.map +0 -1
  338. package/esm/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts.map +0 -1
  339. package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts +0 -17
  340. package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts.map +0 -1
  341. package/esm/deps/jsr.io/@std/assert/1.0.6/equal.js +0 -136
  342. package/esm/deps/jsr.io/@std/assert/1.0.6/equals.d.ts.map +0 -1
  343. package/esm/deps/jsr.io/@std/assert/1.0.6/exists.d.ts.map +0 -1
  344. package/esm/deps/jsr.io/@std/assert/1.0.6/fail.d.ts.map +0 -1
  345. package/esm/deps/jsr.io/@std/assert/1.0.6/false.d.ts.map +0 -1
  346. package/esm/deps/jsr.io/@std/assert/1.0.6/greater.d.ts.map +0 -1
  347. package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.d.ts.map +0 -1
  348. package/esm/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +0 -1
  349. package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +0 -1
  350. package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.js +0 -53
  351. package/esm/deps/jsr.io/@std/assert/1.0.6/less.d.ts.map +0 -1
  352. package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.d.ts.map +0 -1
  353. package/esm/deps/jsr.io/@std/assert/1.0.6/match.d.ts.map +0 -1
  354. package/esm/deps/jsr.io/@std/assert/1.0.6/mod.d.ts.map +0 -1
  355. package/esm/deps/jsr.io/@std/assert/1.0.6/not_equals.d.ts.map +0 -1
  356. package/esm/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +0 -1
  357. package/esm/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts.map +0 -1
  358. package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts.map +0 -1
  359. package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts.map +0 -1
  360. package/esm/deps/jsr.io/@std/assert/1.0.6/rejects.d.ts.map +0 -1
  361. package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts.map +0 -1
  362. package/esm/deps/jsr.io/@std/assert/1.0.6/string_includes.d.ts.map +0 -1
  363. package/esm/deps/jsr.io/@std/assert/1.0.6/throws.d.ts.map +0 -1
  364. package/esm/deps/jsr.io/@std/assert/1.0.6/unimplemented.d.ts.map +0 -1
  365. package/esm/deps/jsr.io/@std/assert/1.0.6/unreachable.d.ts.map +0 -1
  366. package/esm/deps/jsr.io/@std/bytes/1.0.2/concat.d.ts.map +0 -1
  367. package/esm/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts +0 -8
  368. package/esm/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts.map +0 -1
  369. package/esm/deps/jsr.io/@std/media-types/1.0.3/_util.d.ts.map +0 -1
  370. package/esm/deps/jsr.io/@std/media-types/1.0.3/all_extensions.d.ts.map +0 -1
  371. package/esm/deps/jsr.io/@std/media-types/1.0.3/content_type.d.ts.map +0 -1
  372. package/esm/deps/jsr.io/@std/media-types/1.0.3/extension.d.ts.map +0 -1
  373. package/esm/deps/jsr.io/@std/media-types/1.0.3/format_media_type.d.ts.map +0 -1
  374. package/esm/deps/jsr.io/@std/media-types/1.0.3/get_charset.d.ts.map +0 -1
  375. package/esm/deps/jsr.io/@std/media-types/1.0.3/parse_media_type.d.ts.map +0 -1
  376. package/esm/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.d.ts.map +0 -1
  377. package/esm/deps/jsr.io/@std/media-types/1.0.3/vendor/db.d.ts +0 -8796
  378. package/esm/deps/jsr.io/@std/media-types/1.0.3/vendor/db.d.ts.map +0 -1
  379. package/esm/deps/jsr.io/@std/media-types/1.0.3/vendor/db.js +0 -8831
  380. package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +0 -1
  381. package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +0 -1
  382. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +0 -2
  383. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +0 -1
  384. package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.js +0 -23
  385. package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +0 -1
  386. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +0 -2
  387. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +0 -1
  388. package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +0 -8
  389. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +0 -4
  390. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +0 -1
  391. package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.js +0 -19
  392. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +0 -2
  393. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +0 -1
  394. package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +0 -9
  395. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +0 -35
  396. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +0 -1
  397. package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +0 -234
  398. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +0 -1
  399. package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +0 -1
  400. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +0 -2
  401. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +0 -1
  402. package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.js +0 -9
  403. package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +0 -1
  404. package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +0 -1
  405. package/esm/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +0 -1
  406. package/esm/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +0 -1
  407. package/esm/deps/jsr.io/@std/path/1.0.6/common.d.ts +0 -28
  408. package/esm/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +0 -1
  409. package/esm/deps/jsr.io/@std/path/1.0.6/common.js +0 -33
  410. package/esm/deps/jsr.io/@std/path/1.0.6/constants.d.ts +0 -15
  411. package/esm/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +0 -1
  412. package/esm/deps/jsr.io/@std/path/1.0.6/constants.js +0 -17
  413. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +0 -23
  414. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +0 -1
  415. package/esm/deps/jsr.io/@std/path/1.0.6/dirname.js +0 -29
  416. package/esm/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +0 -1
  417. package/esm/deps/jsr.io/@std/path/1.0.6/format.d.ts +0 -22
  418. package/esm/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +0 -1
  419. package/esm/deps/jsr.io/@std/path/1.0.6/format.js +0 -27
  420. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +0 -22
  421. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +0 -1
  422. package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.js +0 -28
  423. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +0 -77
  424. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +0 -1
  425. package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +0 -83
  426. package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +0 -1
  427. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +0 -17
  428. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +0 -1
  429. package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.js +0 -42
  430. package/esm/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +0 -1
  431. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +0 -28
  432. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +0 -1
  433. package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.js +0 -34
  434. package/esm/deps/jsr.io/@std/path/1.0.6/mod.d.ts +0 -54
  435. package/esm/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +0 -1
  436. package/esm/deps/jsr.io/@std/path/1.0.6/mod.js +0 -57
  437. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +0 -27
  438. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +0 -1
  439. package/esm/deps/jsr.io/@std/path/1.0.6/normalize.js +0 -33
  440. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +0 -29
  441. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +0 -1
  442. package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +0 -35
  443. package/esm/deps/jsr.io/@std/path/1.0.6/parse.d.ts +0 -35
  444. package/esm/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +0 -1
  445. package/esm/deps/jsr.io/@std/path/1.0.6/parse.js +0 -39
  446. package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +0 -1
  447. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +0 -23
  448. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +0 -1
  449. package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.js +0 -32
  450. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +0 -13
  451. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +0 -1
  452. package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.js +0 -14
  453. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +0 -20
  454. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +0 -1
  455. package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +0 -50
  456. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +0 -21
  457. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +0 -1
  458. package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.js +0 -73
  459. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +0 -24
  460. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +0 -1
  461. package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.js +0 -28
  462. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +0 -16
  463. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +0 -1
  464. package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +0 -21
  465. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +0 -72
  466. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +0 -1
  467. package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +0 -82
  468. package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +0 -1
  469. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +0 -20
  470. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +0 -1
  471. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.js +0 -29
  472. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +0 -20
  473. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +0 -1
  474. package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +0 -39
  475. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +0 -22
  476. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +0 -1
  477. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +0 -39
  478. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +0 -20
  479. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +0 -1
  480. package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +0 -31
  481. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +0 -25
  482. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +0 -1
  483. package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.js +0 -115
  484. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +0 -20
  485. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +0 -1
  486. package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.js +0 -106
  487. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +0 -17
  488. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +0 -1
  489. package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +0 -59
  490. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +0 -1
  491. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +0 -16
  492. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +0 -1
  493. package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +0 -20
  494. package/esm/deps/jsr.io/@std/path/1.0.6/relative.d.ts +0 -24
  495. package/esm/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +0 -1
  496. package/esm/deps/jsr.io/@std/path/1.0.6/relative.js +0 -30
  497. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +0 -22
  498. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +0 -1
  499. package/esm/deps/jsr.io/@std/path/1.0.6/resolve.js +0 -30
  500. package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +0 -1
  501. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +0 -21
  502. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +0 -1
  503. package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +0 -29
  504. package/esm/deps/jsr.io/@std/path/1.0.6/types.d.ts +0 -38
  505. package/esm/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +0 -1
  506. package/esm/deps/jsr.io/@std/path/1.0.6/types.js +0 -3
  507. package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +0 -1
  508. package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +0 -1
  509. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +0 -13
  510. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +0 -1
  511. package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.js +0 -14
  512. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +0 -20
  513. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +0 -1
  514. package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +0 -112
  515. package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +0 -1
  516. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +0 -24
  517. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +0 -1
  518. package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.js +0 -28
  519. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +0 -18
  520. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +0 -1
  521. package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +0 -30
  522. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +0 -71
  523. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +0 -1
  524. package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +0 -82
  525. package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +0 -1
  526. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +0 -1
  527. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +0 -21
  528. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +0 -1
  529. package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +0 -40
  530. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +0 -1
  531. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +0 -20
  532. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +0 -1
  533. package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +0 -31
  534. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +0 -25
  535. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +0 -1
  536. package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.js +0 -176
  537. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +0 -23
  538. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +0 -1
  539. package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.js +0 -131
  540. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +0 -17
  541. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +0 -1
  542. package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +0 -154
  543. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +0 -1
  544. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +0 -17
  545. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +0 -1
  546. package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +0 -49
  547. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +0 -2
  548. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts.map +0 -1
  549. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +0 -1
  550. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts +0 -2
  551. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts.map +0 -1
  552. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +0 -10
  553. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -28
  554. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts.map +0 -1
  555. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +0 -135
  556. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +0 -24
  557. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts.map +0 -1
  558. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +0 -172
  559. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts +0 -3
  560. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts.map +0 -1
  561. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.js +0 -2
  562. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts +0 -2
  563. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts.map +0 -1
  564. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +0 -19
  565. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts +0 -3
  566. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts.map +0 -1
  567. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +0 -25
  568. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts +0 -79
  569. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts.map +0 -1
  570. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +0 -1941
  571. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts +0 -13
  572. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts.map +0 -1
  573. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.js +0 -85
  574. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts +0 -2
  575. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts.map +0 -1
  576. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +0 -321
  577. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts +0 -48
  578. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts.map +0 -1
  579. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +0 -1660
  580. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts +0 -2
  581. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts.map +0 -1
  582. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +0 -355
  583. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts +0 -13
  584. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts.map +0 -1
  585. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.js +0 -11
  586. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts +0 -31
  587. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts.map +0 -1
  588. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.js +0 -42
  589. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts +0 -6
  590. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts.map +0 -1
  591. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +0 -1107
  592. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts +0 -15
  593. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts.map +0 -1
  594. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.js +0 -86
  595. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts +0 -45
  596. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts.map +0 -1
  597. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.js +0 -253
  598. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts +0 -3
  599. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts.map +0 -1
  600. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.js +0 -1
  601. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts +0 -3
  602. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts.map +0 -1
  603. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +0 -13
  604. package/script/deps/deno.land/std@0.224.0/io/types.d.ts +0 -95
  605. package/script/deps/deno.land/std@0.224.0/io/types.d.ts.map +0 -1
  606. package/script/deps/deno.land/std@0.224.0/io/types.js +0 -4
  607. package/script/deps/deno.land/std@0.224.0/io/write_all.d.ts +0 -39
  608. package/script/deps/deno.land/std@0.224.0/io/write_all.d.ts.map +0 -1
  609. package/script/deps/deno.land/std@0.224.0/io/write_all.js +0 -53
  610. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts +0 -84
  611. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts.map +0 -1
  612. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.js +0 -207
  613. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts +0 -51
  614. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts.map +0 -1
  615. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +0 -301
  616. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts +0 -48
  617. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts.map +0 -1
  618. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +0 -55
  619. package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts +0 -67
  620. package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts.map +0 -1
  621. package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +0 -222
  622. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts +0 -169
  623. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts.map +0 -1
  624. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +0 -404
  625. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts +0 -160
  626. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts.map +0 -1
  627. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.js +0 -438
  628. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts +0 -182
  629. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts.map +0 -1
  630. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.js +0 -1052
  631. package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts +0 -43
  632. package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts.map +0 -1
  633. package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +0 -88
  634. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts +0 -12
  635. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts.map +0 -1
  636. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.js +0 -128
  637. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts +0 -2
  638. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts.map +0 -1
  639. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +0 -30
  640. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts +0 -47
  641. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts.map +0 -1
  642. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +0 -129
  643. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts +0 -32
  644. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts.map +0 -1
  645. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.js +0 -32
  646. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts +0 -2129
  647. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts.map +0 -1
  648. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.js +0 -2129
  649. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts +0 -110
  650. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts.map +0 -1
  651. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.js +0 -110
  652. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts +0 -9
  653. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts.map +0 -1
  654. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.js +0 -3
  655. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts +0 -91
  656. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts.map +0 -1
  657. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +0 -114
  658. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts +0 -51
  659. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts.map +0 -1
  660. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +0 -134
  661. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts +0 -47
  662. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts.map +0 -1
  663. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +0 -117
  664. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts +0 -43
  665. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts.map +0 -1
  666. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +0 -128
  667. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts +0 -7
  668. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts.map +0 -1
  669. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.js +0 -22
  670. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts +0 -55
  671. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts.map +0 -1
  672. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +0 -118
  673. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts +0 -41
  674. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts.map +0 -1
  675. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +0 -85
  676. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts +0 -59
  677. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts.map +0 -1
  678. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +0 -111
  679. package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts.map +0 -1
  680. package/script/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts.map +0 -1
  681. package/script/deps/jsr.io/@std/assert/1.0.6/almost_equals.d.ts.map +0 -1
  682. package/script/deps/jsr.io/@std/assert/1.0.6/array_includes.d.ts.map +0 -1
  683. package/script/deps/jsr.io/@std/assert/1.0.6/assert.d.ts.map +0 -1
  684. package/script/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts.map +0 -1
  685. package/script/deps/jsr.io/@std/assert/1.0.6/equal.d.ts +0 -17
  686. package/script/deps/jsr.io/@std/assert/1.0.6/equal.d.ts.map +0 -1
  687. package/script/deps/jsr.io/@std/assert/1.0.6/equal.js +0 -139
  688. package/script/deps/jsr.io/@std/assert/1.0.6/equals.d.ts.map +0 -1
  689. package/script/deps/jsr.io/@std/assert/1.0.6/exists.d.ts.map +0 -1
  690. package/script/deps/jsr.io/@std/assert/1.0.6/fail.d.ts.map +0 -1
  691. package/script/deps/jsr.io/@std/assert/1.0.6/false.d.ts.map +0 -1
  692. package/script/deps/jsr.io/@std/assert/1.0.6/greater.d.ts.map +0 -1
  693. package/script/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.d.ts.map +0 -1
  694. package/script/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +0 -1
  695. package/script/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +0 -1
  696. package/script/deps/jsr.io/@std/assert/1.0.6/is_error.js +0 -56
  697. package/script/deps/jsr.io/@std/assert/1.0.6/less.d.ts.map +0 -1
  698. package/script/deps/jsr.io/@std/assert/1.0.6/less_or_equal.d.ts.map +0 -1
  699. package/script/deps/jsr.io/@std/assert/1.0.6/match.d.ts.map +0 -1
  700. package/script/deps/jsr.io/@std/assert/1.0.6/mod.d.ts.map +0 -1
  701. package/script/deps/jsr.io/@std/assert/1.0.6/not_equals.d.ts.map +0 -1
  702. package/script/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +0 -1
  703. package/script/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts.map +0 -1
  704. package/script/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts.map +0 -1
  705. package/script/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts.map +0 -1
  706. package/script/deps/jsr.io/@std/assert/1.0.6/rejects.d.ts.map +0 -1
  707. package/script/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts.map +0 -1
  708. package/script/deps/jsr.io/@std/assert/1.0.6/string_includes.d.ts.map +0 -1
  709. package/script/deps/jsr.io/@std/assert/1.0.6/throws.d.ts.map +0 -1
  710. package/script/deps/jsr.io/@std/assert/1.0.6/unimplemented.d.ts.map +0 -1
  711. package/script/deps/jsr.io/@std/assert/1.0.6/unreachable.d.ts.map +0 -1
  712. package/script/deps/jsr.io/@std/bytes/1.0.2/concat.d.ts.map +0 -1
  713. package/script/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts +0 -8
  714. package/script/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts.map +0 -1
  715. package/script/deps/jsr.io/@std/media-types/1.0.3/_util.d.ts.map +0 -1
  716. package/script/deps/jsr.io/@std/media-types/1.0.3/all_extensions.d.ts.map +0 -1
  717. package/script/deps/jsr.io/@std/media-types/1.0.3/content_type.d.ts.map +0 -1
  718. package/script/deps/jsr.io/@std/media-types/1.0.3/extension.d.ts.map +0 -1
  719. package/script/deps/jsr.io/@std/media-types/1.0.3/format_media_type.d.ts.map +0 -1
  720. package/script/deps/jsr.io/@std/media-types/1.0.3/get_charset.d.ts.map +0 -1
  721. package/script/deps/jsr.io/@std/media-types/1.0.3/parse_media_type.d.ts.map +0 -1
  722. package/script/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.d.ts.map +0 -1
  723. package/script/deps/jsr.io/@std/media-types/1.0.3/vendor/db.d.ts +0 -8796
  724. package/script/deps/jsr.io/@std/media-types/1.0.3/vendor/db.d.ts.map +0 -1
  725. package/script/deps/jsr.io/@std/media-types/1.0.3/vendor/db.js +0 -8833
  726. package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +0 -1
  727. package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +0 -1
  728. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +0 -2
  729. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +0 -1
  730. package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +0 -26
  731. package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +0 -1
  732. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +0 -2
  733. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +0 -1
  734. package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +0 -11
  735. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +0 -4
  736. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +0 -1
  737. package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +0 -23
  738. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +0 -2
  739. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +0 -1
  740. package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +0 -12
  741. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +0 -35
  742. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +0 -1
  743. package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +0 -237
  744. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +0 -1
  745. package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +0 -1
  746. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +0 -2
  747. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +0 -1
  748. package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +0 -12
  749. package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +0 -1
  750. package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +0 -1
  751. package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +0 -1
  752. package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +0 -1
  753. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts +0 -28
  754. package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +0 -1
  755. package/script/deps/jsr.io/@std/path/1.0.6/common.js +0 -36
  756. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts +0 -15
  757. package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +0 -1
  758. package/script/deps/jsr.io/@std/path/1.0.6/constants.js +0 -20
  759. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +0 -23
  760. package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +0 -1
  761. package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +0 -32
  762. package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +0 -1
  763. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts +0 -22
  764. package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +0 -1
  765. package/script/deps/jsr.io/@std/path/1.0.6/format.js +0 -30
  766. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +0 -22
  767. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +0 -1
  768. package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +0 -31
  769. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +0 -77
  770. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +0 -1
  771. package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +0 -86
  772. package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +0 -1
  773. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +0 -17
  774. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +0 -1
  775. package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +0 -45
  776. package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +0 -1
  777. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +0 -28
  778. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +0 -1
  779. package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +0 -37
  780. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts +0 -54
  781. package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +0 -1
  782. package/script/deps/jsr.io/@std/path/1.0.6/mod.js +0 -73
  783. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +0 -27
  784. package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +0 -1
  785. package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +0 -36
  786. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +0 -29
  787. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +0 -1
  788. package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +0 -38
  789. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts +0 -35
  790. package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +0 -1
  791. package/script/deps/jsr.io/@std/path/1.0.6/parse.js +0 -42
  792. package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +0 -1
  793. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +0 -23
  794. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +0 -1
  795. package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +0 -35
  796. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +0 -13
  797. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +0 -1
  798. package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.js +0 -17
  799. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +0 -20
  800. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +0 -1
  801. package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +0 -53
  802. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +0 -21
  803. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +0 -1
  804. package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +0 -76
  805. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +0 -24
  806. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +0 -1
  807. package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +0 -31
  808. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +0 -16
  809. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +0 -1
  810. package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +0 -24
  811. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +0 -72
  812. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +0 -1
  813. package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +0 -85
  814. package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +0 -1
  815. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +0 -20
  816. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +0 -1
  817. package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +0 -32
  818. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +0 -20
  819. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +0 -1
  820. package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +0 -42
  821. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +0 -22
  822. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +0 -1
  823. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +0 -42
  824. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +0 -20
  825. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +0 -1
  826. package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +0 -34
  827. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +0 -25
  828. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +0 -1
  829. package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +0 -118
  830. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +0 -20
  831. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +0 -1
  832. package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +0 -109
  833. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +0 -17
  834. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +0 -1
  835. package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +0 -85
  836. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +0 -1
  837. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +0 -16
  838. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +0 -1
  839. package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +0 -23
  840. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts +0 -24
  841. package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +0 -1
  842. package/script/deps/jsr.io/@std/path/1.0.6/relative.js +0 -33
  843. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +0 -22
  844. package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +0 -1
  845. package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +0 -33
  846. package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +0 -1
  847. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +0 -21
  848. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +0 -1
  849. package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +0 -32
  850. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts +0 -38
  851. package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +0 -1
  852. package/script/deps/jsr.io/@std/path/1.0.6/types.js +0 -4
  853. package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +0 -1
  854. package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +0 -1
  855. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +0 -13
  856. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +0 -1
  857. package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.js +0 -17
  858. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +0 -20
  859. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +0 -1
  860. package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +0 -115
  861. package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +0 -1
  862. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +0 -24
  863. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +0 -1
  864. package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +0 -31
  865. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +0 -18
  866. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +0 -1
  867. package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +0 -33
  868. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +0 -71
  869. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +0 -1
  870. package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +0 -85
  871. package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +0 -1
  872. package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +0 -1
  873. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +0 -21
  874. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +0 -1
  875. package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +0 -43
  876. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +0 -1
  877. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +0 -20
  878. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +0 -1
  879. package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +0 -34
  880. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +0 -25
  881. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +0 -1
  882. package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +0 -179
  883. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +0 -23
  884. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +0 -1
  885. package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +0 -134
  886. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +0 -17
  887. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +0 -1
  888. package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +0 -180
  889. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +0 -1
  890. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +0 -17
  891. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +0 -1
  892. package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +0 -52
  893. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +0 -2
  894. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts.map +0 -1
  895. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +0 -6
  896. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts +0 -2
  897. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts.map +0 -1
  898. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +0 -13
  899. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -28
  900. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts.map +0 -1
  901. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +0 -166
  902. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +0 -24
  903. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts.map +0 -1
  904. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +0 -202
  905. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts +0 -3
  906. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts.map +0 -1
  907. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.js +0 -18
  908. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts +0 -2
  909. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts.map +0 -1
  910. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +0 -22
  911. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts +0 -3
  912. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts.map +0 -1
  913. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +0 -29
  914. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts +0 -79
  915. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts.map +0 -1
  916. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +0 -1976
  917. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts +0 -13
  918. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts.map +0 -1
  919. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.js +0 -88
  920. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts +0 -2
  921. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts.map +0 -1
  922. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +0 -324
  923. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts +0 -48
  924. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts.map +0 -1
  925. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +0 -1676
  926. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts +0 -2
  927. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts.map +0 -1
  928. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +0 -358
  929. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts +0 -13
  930. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts.map +0 -1
  931. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.js +0 -14
  932. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts +0 -31
  933. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts.map +0 -1
  934. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.js +0 -44
  935. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts +0 -6
  936. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts.map +0 -1
  937. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +0 -1114
  938. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts +0 -15
  939. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts.map +0 -1
  940. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.js +0 -89
  941. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts +0 -45
  942. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts.map +0 -1
  943. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.js +0 -280
  944. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts +0 -3
  945. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts.map +0 -1
  946. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.js +0 -5
  947. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts +0 -3
  948. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts.map +0 -1
  949. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +0 -39
  950. /package/esm/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/mod.d.ts +0 -0
  951. /package/esm/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/mod.js +0 -0
  952. /package/esm/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/tgcrypto.d.ts +0 -0
  953. /package/esm/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/tgcrypto.js +0 -0
  954. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/almost_equals.d.ts +0 -0
  955. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/almost_equals.js +0 -0
  956. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/array_includes.d.ts +0 -0
  957. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/array_includes.js +0 -0
  958. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/assert.d.ts +0 -0
  959. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/assert.js +0 -0
  960. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/assertion_error.d.ts +0 -0
  961. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/assertion_error.js +0 -0
  962. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/equals.d.ts +0 -0
  963. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/equals.js +0 -0
  964. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/exists.d.ts +0 -0
  965. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/exists.js +0 -0
  966. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/fail.d.ts +0 -0
  967. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/fail.js +0 -0
  968. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/false.d.ts +0 -0
  969. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/false.js +0 -0
  970. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/greater.d.ts +0 -0
  971. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/greater.js +0 -0
  972. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/greater_or_equal.d.ts +0 -0
  973. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/greater_or_equal.js +0 -0
  974. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/instance_of.d.ts +0 -0
  975. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/instance_of.js +0 -0
  976. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/is_error.d.ts +0 -0
  977. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/less.d.ts +0 -0
  978. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/less.js +0 -0
  979. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/less_or_equal.d.ts +0 -0
  980. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/less_or_equal.js +0 -0
  981. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/match.d.ts +0 -0
  982. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/match.js +0 -0
  983. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/mod.d.ts +0 -0
  984. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/mod.js +0 -0
  985. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_equals.d.ts +0 -0
  986. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_equals.js +0 -0
  987. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_instance_of.d.ts +0 -0
  988. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_instance_of.js +0 -0
  989. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_match.d.ts +0 -0
  990. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_match.js +0 -0
  991. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_strict_equals.d.ts +0 -0
  992. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_strict_equals.js +0 -0
  993. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/object_match.d.ts +0 -0
  994. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/object_match.js +0 -0
  995. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/rejects.d.ts +0 -0
  996. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/rejects.js +0 -0
  997. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/strict_equals.d.ts +0 -0
  998. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/strict_equals.js +0 -0
  999. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/string_includes.d.ts +0 -0
  1000. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/string_includes.js +0 -0
  1001. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/throws.d.ts +0 -0
  1002. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/throws.js +0 -0
  1003. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/unimplemented.d.ts +0 -0
  1004. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/unimplemented.js +0 -0
  1005. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/unreachable.d.ts +0 -0
  1006. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/unreachable.js +0 -0
  1007. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.4}/concat.d.ts +0 -0
  1008. /package/esm/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.4}/concat.js +0 -0
  1009. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_db.js +0 -0
  1010. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.d.ts +0 -0
  1011. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.js +0 -0
  1012. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.d.ts +0 -0
  1013. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.js +0 -0
  1014. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.d.ts +0 -0
  1015. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.js +0 -0
  1016. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.d.ts +0 -0
  1017. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.js +0 -0
  1018. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.d.ts +0 -0
  1019. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.js +0 -0
  1020. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.d.ts +0 -0
  1021. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.js +0 -0
  1022. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.d.ts +0 -0
  1023. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.js +0 -0
  1024. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.d.ts +0 -0
  1025. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.js +0 -0
  1026. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/assert_path.d.ts +0 -0
  1027. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/assert_path.js +0 -0
  1028. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/basename.d.ts +0 -0
  1029. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/basename.js +0 -0
  1030. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/constants.d.ts +0 -0
  1031. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/constants.js +0 -0
  1032. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/normalize.d.ts +0 -0
  1033. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/normalize.js +0 -0
  1034. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/normalize_string.d.ts +0 -0
  1035. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/normalize_string.js +0 -0
  1036. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
  1037. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/strip_trailing_separators.js +0 -0
  1038. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/to_file_url.d.ts +0 -0
  1039. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/to_file_url.js +0 -0
  1040. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_os.d.ts +0 -0
  1041. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_os.js +0 -0
  1042. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/basename.d.ts +0 -0
  1043. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/basename.js +0 -0
  1044. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/extname.d.ts +0 -0
  1045. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/extname.js +0 -0
  1046. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/is_absolute.d.ts +0 -0
  1047. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/is_absolute.js +0 -0
  1048. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/join.d.ts +0 -0
  1049. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/join.js +0 -0
  1050. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/_util.d.ts +0 -0
  1051. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/_util.js +0 -0
  1052. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/is_absolute.d.ts +0 -0
  1053. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/is_absolute.js +0 -0
  1054. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/to_file_url.d.ts +0 -0
  1055. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/to_file_url.js +0 -0
  1056. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/to_file_url.d.ts +0 -0
  1057. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/to_file_url.js +0 -0
  1058. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/_util.d.ts +0 -0
  1059. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/_util.js +0 -0
  1060. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/basename.d.ts +0 -0
  1061. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/basename.js +0 -0
  1062. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/extname.d.ts +0 -0
  1063. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/extname.js +0 -0
  1064. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/is_absolute.d.ts +0 -0
  1065. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/is_absolute.js +0 -0
  1066. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/join.d.ts +0 -0
  1067. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/join.js +0 -0
  1068. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/normalize.d.ts +0 -0
  1069. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/normalize.js +0 -0
  1070. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/to_file_url.d.ts +0 -0
  1071. /package/esm/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/to_file_url.js +0 -0
  1072. /package/script/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/mod.d.ts +0 -0
  1073. /package/script/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/mod.js +0 -0
  1074. /package/script/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/tgcrypto.d.ts +0 -0
  1075. /package/script/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/tgcrypto.js +0 -0
  1076. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/almost_equals.d.ts +0 -0
  1077. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/almost_equals.js +0 -0
  1078. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/array_includes.d.ts +0 -0
  1079. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/array_includes.js +0 -0
  1080. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/assert.d.ts +0 -0
  1081. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/assert.js +0 -0
  1082. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/assertion_error.d.ts +0 -0
  1083. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/assertion_error.js +0 -0
  1084. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/equals.d.ts +0 -0
  1085. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/equals.js +0 -0
  1086. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/exists.d.ts +0 -0
  1087. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/exists.js +0 -0
  1088. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/fail.d.ts +0 -0
  1089. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/fail.js +0 -0
  1090. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/false.d.ts +0 -0
  1091. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/false.js +0 -0
  1092. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/greater.d.ts +0 -0
  1093. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/greater.js +0 -0
  1094. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/greater_or_equal.d.ts +0 -0
  1095. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/greater_or_equal.js +0 -0
  1096. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/instance_of.d.ts +0 -0
  1097. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/instance_of.js +0 -0
  1098. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/is_error.d.ts +0 -0
  1099. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/less.d.ts +0 -0
  1100. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/less.js +0 -0
  1101. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/less_or_equal.d.ts +0 -0
  1102. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/less_or_equal.js +0 -0
  1103. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/match.d.ts +0 -0
  1104. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/match.js +0 -0
  1105. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/mod.d.ts +0 -0
  1106. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/mod.js +0 -0
  1107. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_equals.d.ts +0 -0
  1108. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_equals.js +0 -0
  1109. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_instance_of.d.ts +0 -0
  1110. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_instance_of.js +0 -0
  1111. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_match.d.ts +0 -0
  1112. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_match.js +0 -0
  1113. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_strict_equals.d.ts +0 -0
  1114. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/not_strict_equals.js +0 -0
  1115. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/object_match.d.ts +0 -0
  1116. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/object_match.js +0 -0
  1117. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/rejects.d.ts +0 -0
  1118. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/rejects.js +0 -0
  1119. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/strict_equals.d.ts +0 -0
  1120. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/strict_equals.js +0 -0
  1121. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/string_includes.d.ts +0 -0
  1122. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/string_includes.js +0 -0
  1123. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/throws.d.ts +0 -0
  1124. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/throws.js +0 -0
  1125. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/unimplemented.d.ts +0 -0
  1126. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/unimplemented.js +0 -0
  1127. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/unreachable.d.ts +0 -0
  1128. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.8}/unreachable.js +0 -0
  1129. /package/script/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.4}/concat.d.ts +0 -0
  1130. /package/script/deps/jsr.io/@std/bytes/{1.0.2 → 1.0.4}/concat.js +0 -0
  1131. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_db.js +0 -0
  1132. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.d.ts +0 -0
  1133. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.js +0 -0
  1134. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.d.ts +0 -0
  1135. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.js +0 -0
  1136. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.d.ts +0 -0
  1137. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.js +0 -0
  1138. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.d.ts +0 -0
  1139. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.js +0 -0
  1140. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.d.ts +0 -0
  1141. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.js +0 -0
  1142. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.d.ts +0 -0
  1143. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.js +0 -0
  1144. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.d.ts +0 -0
  1145. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.js +0 -0
  1146. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.d.ts +0 -0
  1147. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.js +0 -0
  1148. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/assert_path.d.ts +0 -0
  1149. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/assert_path.js +0 -0
  1150. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/basename.d.ts +0 -0
  1151. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/basename.js +0 -0
  1152. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/constants.d.ts +0 -0
  1153. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/constants.js +0 -0
  1154. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/normalize.d.ts +0 -0
  1155. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/normalize.js +0 -0
  1156. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/normalize_string.d.ts +0 -0
  1157. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/normalize_string.js +0 -0
  1158. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
  1159. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/strip_trailing_separators.js +0 -0
  1160. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/to_file_url.d.ts +0 -0
  1161. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_common/to_file_url.js +0 -0
  1162. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_os.d.ts +0 -0
  1163. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/_os.js +0 -0
  1164. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/basename.d.ts +0 -0
  1165. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/basename.js +0 -0
  1166. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/extname.d.ts +0 -0
  1167. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/extname.js +0 -0
  1168. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/is_absolute.d.ts +0 -0
  1169. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/is_absolute.js +0 -0
  1170. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/join.d.ts +0 -0
  1171. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/join.js +0 -0
  1172. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/_util.d.ts +0 -0
  1173. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/_util.js +0 -0
  1174. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/is_absolute.d.ts +0 -0
  1175. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/is_absolute.js +0 -0
  1176. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/to_file_url.d.ts +0 -0
  1177. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/posix/to_file_url.js +0 -0
  1178. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/to_file_url.d.ts +0 -0
  1179. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/to_file_url.js +0 -0
  1180. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/_util.d.ts +0 -0
  1181. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/_util.js +0 -0
  1182. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/basename.d.ts +0 -0
  1183. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/basename.js +0 -0
  1184. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/extname.d.ts +0 -0
  1185. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/extname.js +0 -0
  1186. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/is_absolute.d.ts +0 -0
  1187. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/is_absolute.js +0 -0
  1188. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/join.d.ts +0 -0
  1189. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/join.js +0 -0
  1190. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/normalize.d.ts +0 -0
  1191. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/normalize.js +0 -0
  1192. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/to_file_url.d.ts +0 -0
  1193. /package/script/deps/jsr.io/@std/path/{1.0.6 → 1.0.8}/windows/to_file_url.js +0 -0
@@ -1,1941 +0,0 @@
1
- import { message as msg } from "./messages.js";
2
- import * as trees from "./trees.js";
3
- import adler32 from "./adler32.js";
4
- import { crc32 } from "./crc32.js";
5
- import STATUS from "./status.js";
6
- /* Return codes for the compression/decompression functions. Negative values
7
- * are errors, positive values are used for special but normal events.
8
- */
9
- const Z_OK = 0;
10
- const Z_STREAM_END = 1;
11
- //const Z_NEED_DICT = 2;
12
- //const Z_ERRNO = -1;
13
- const Z_STREAM_ERROR = -2;
14
- const Z_DATA_ERROR = -3;
15
- //const Z_MEM_ERROR = -4;
16
- const Z_BUF_ERROR = -5;
17
- //const Z_VERSION_ERROR = -6;
18
- /* compression levels */
19
- //const Z_NO_COMPRESSION = 0;
20
- //const Z_BEST_SPEED = 1;
21
- //const Z_BEST_COMPRESSION = 9;
22
- const Z_DEFAULT_COMPRESSION = -1;
23
- const Z_FILTERED = 1;
24
- const Z_HUFFMAN_ONLY = 2;
25
- const Z_RLE = 3;
26
- const Z_FIXED = 4;
27
- const Z_DEFAULT_STRATEGY = 0;
28
- /* Possible values of the data_type field (though see inflate()) */
29
- //const Z_BINARY = 0;
30
- //const Z_TEXT = 1;
31
- //const Z_ASCII = 1; // = Z_TEXT
32
- const Z_UNKNOWN = 2;
33
- /* The deflate compression method */
34
- const Z_DEFLATED = 8;
35
- const MAX_MEM_LEVEL = 9;
36
- /* Maximum value for memLevel in deflateInit2 */
37
- const MAX_WBITS = 15;
38
- /* 32K LZ77 window */
39
- const DEF_MEM_LEVEL = 8;
40
- const LENGTH_CODES = 29;
41
- /* number of length codes, not counting the special END_BLOCK code */
42
- const LITERALS = 256;
43
- /* number of literal bytes 0..255 */
44
- const L_CODES = LITERALS + 1 + LENGTH_CODES;
45
- /* number of Literal or Length codes, including the END_BLOCK code */
46
- const D_CODES = 30;
47
- /* number of distance codes */
48
- const BL_CODES = 19;
49
- /* number of codes used to transfer the bit lengths */
50
- const HEAP_SIZE = 2 * L_CODES + 1;
51
- /* maximum heap size */
52
- const MAX_BITS = 15;
53
- /* All codes must not exceed MAX_BITS bits */
54
- const MIN_MATCH = 3;
55
- const MAX_MATCH = 258;
56
- const MIN_LOOKAHEAD = MAX_MATCH + MIN_MATCH + 1;
57
- const PRESET_DICT = 0x20;
58
- const INIT_STATE = 42;
59
- const EXTRA_STATE = 69;
60
- const NAME_STATE = 73;
61
- const COMMENT_STATE = 91;
62
- const HCRC_STATE = 103;
63
- const BUSY_STATE = 113;
64
- const FINISH_STATE = 666;
65
- const BS_NEED_MORE = 1; /* block not completed, need more input or more output */
66
- const BS_BLOCK_DONE = 2; /* block flush performed */
67
- const BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */
68
- const BS_FINISH_DONE = 4; /* finish done, accept no more input or output */
69
- const OS_CODE = 0x03; // Unix :) . Don't detect, use this default.
70
- function err(strm, errorCode) {
71
- strm.msg = msg[errorCode];
72
- return errorCode;
73
- }
74
- function rank(f) {
75
- return (f << 1) - (f > 4 ? 9 : 0);
76
- }
77
- function zero(buf) {
78
- buf.fill(0, 0, buf.length);
79
- }
80
- /* =========================================================================
81
- * Flush as much pending output as possible. All deflate() output goes
82
- * through this function so some applications may wish to modify it
83
- * to avoid allocating a large strm->output buffer and copying into it.
84
- * (See also read_buf()).
85
- */
86
- function flush_pending(strm) {
87
- let s = strm.state;
88
- //_tr_flush_bits(s);
89
- let len = s.pending;
90
- if (len > strm.avail_out) {
91
- len = strm.avail_out;
92
- }
93
- if (len === 0)
94
- return;
95
- strm.output.set(s.pending_buf.subarray(s.pending_out, s.pending_out + len), strm.next_out);
96
- strm.next_out += len;
97
- s.pending_out += len;
98
- strm.total_out += len;
99
- strm.avail_out -= len;
100
- s.pending -= len;
101
- if (s.pending === 0) {
102
- s.pending_out = 0;
103
- }
104
- }
105
- function flush_block_only(s, last) {
106
- trees._tr_flush_block(s, s.block_start >= 0 ? s.block_start : -1, s.strstart - s.block_start, last);
107
- s.block_start = s.strstart;
108
- flush_pending(s.strm);
109
- }
110
- function put_byte(s, b) {
111
- s.pending_buf[s.pending++] = b;
112
- }
113
- /* =========================================================================
114
- * Put a short in the pending buffer. The 16-bit value is put in MSB order.
115
- * IN assertion: the stream state is correct and there is enough room in
116
- * pending_buf.
117
- */
118
- function putShortMSB(s, b) {
119
- // put_byte(s, (Byte)(b >> 8));
120
- // put_byte(s, (Byte)(b & 0xff));
121
- s.pending_buf[s.pending++] = (b >>> 8) & 0xff;
122
- s.pending_buf[s.pending++] = b & 0xff;
123
- }
124
- /* ===========================================================================
125
- * Read a new buffer from the current input stream, update the adler32
126
- * and total number of bytes read. All deflate() input goes through
127
- * this function so some applications may wish to modify it to avoid
128
- * allocating a large strm->input buffer and copying from it.
129
- * (See also flush_pending()).
130
- */
131
- function read_buf(strm, buf, start, size) {
132
- let len = strm.avail_in;
133
- if (len > size)
134
- len = size;
135
- if (len === 0)
136
- return 0;
137
- strm.avail_in -= len;
138
- // zmemcpy(buf, strm->next_in, len);
139
- buf.set(strm.input.subarray(strm.next_in, strm.next_in + len), start);
140
- if (strm.state.wrap === 1) {
141
- strm.adler = adler32(strm.adler, buf, len, start);
142
- }
143
- else if (strm.state.wrap === 2) {
144
- strm.adler = crc32(strm.adler, buf, len, start);
145
- }
146
- strm.next_in += len;
147
- strm.total_in += len;
148
- return len;
149
- }
150
- /* ===========================================================================
151
- * Set match_start to the longest match starting at the given string and
152
- * return its length. Matches shorter or equal to prev_length are discarded,
153
- * in which case the result is equal to prev_length and match_start is
154
- * garbage.
155
- * IN assertions: cur_match is the head of the hash chain for the current
156
- * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
157
- * OUT assertion: the match length is not greater than s->lookahead.
158
- */
159
- function longest_match(s, cur_match) {
160
- let chain_length = s.max_chain_length; /* max hash chain length */
161
- let scan = s.strstart; /* current string */
162
- let match; /* matched string */
163
- let len; /* length of current match */
164
- let best_len = s.prev_length; /* best match length so far */
165
- let nice_match = s.nice_match; /* stop if match long enough */
166
- let limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD))
167
- ? s.strstart - (s.w_size - MIN_LOOKAHEAD)
168
- : 0 /*NIL*/;
169
- let _win = s.window; // shortcut
170
- let wmask = s.w_mask;
171
- let prev = s.prev;
172
- /* Stop when cur_match becomes <= limit. To simplify the code,
173
- * we prevent matches with the string of window index 0.
174
- */
175
- let strend = s.strstart + MAX_MATCH;
176
- let scan_end1 = _win[scan + best_len - 1];
177
- let scan_end = _win[scan + best_len];
178
- /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
179
- * It is easy to get rid of this optimization if necessary.
180
- */
181
- // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
182
- /* Do not waste too much time if we already have a good match: */
183
- if (s.prev_length >= s.good_match) {
184
- chain_length >>= 2;
185
- }
186
- /* Do not look for matches beyond the end of the input. This is necessary
187
- * to make deflate deterministic.
188
- */
189
- if (nice_match > s.lookahead)
190
- nice_match = s.lookahead;
191
- // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
192
- do {
193
- // Assert(cur_match < s->strstart, "no future");
194
- match = cur_match;
195
- /* Skip to next match if the match length cannot increase
196
- * or if the match length is less than 2. Note that the checks below
197
- * for insufficient lookahead only occur occasionally for performance
198
- * reasons. Therefore uninitialized memory will be accessed, and
199
- * conditional jumps will be made that depend on those values.
200
- * However the length of the match is limited to the lookahead, so
201
- * the output of deflate is not affected by the uninitialized values.
202
- */
203
- if (_win[match + best_len] !== scan_end ||
204
- _win[match + best_len - 1] !== scan_end1 ||
205
- _win[match] !== _win[scan] ||
206
- _win[++match] !== _win[scan + 1]) {
207
- continue;
208
- }
209
- /* The check at best_len-1 can be removed because it will be made
210
- * again later. (This heuristic is not always a win.)
211
- * It is not necessary to compare scan[2] and match[2] since they
212
- * are always equal when the other bytes match, given that
213
- * the hash keys are equal and that HASH_BITS >= 8.
214
- */
215
- scan += 2;
216
- match++;
217
- // Assert(*scan == *match, "match[2]?");
218
- /* We check for insufficient lookahead only every 8th comparison;
219
- * the 256th check will be made at strstart+258.
220
- */
221
- do {
222
- /*jshint noempty:false*/
223
- } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
224
- _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
225
- _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
226
- _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
227
- scan < strend);
228
- // Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
229
- len = MAX_MATCH - (strend - scan);
230
- scan = strend - MAX_MATCH;
231
- if (len > best_len) {
232
- s.match_start = cur_match;
233
- best_len = len;
234
- if (len >= nice_match) {
235
- break;
236
- }
237
- scan_end1 = _win[scan + best_len - 1];
238
- scan_end = _win[scan + best_len];
239
- }
240
- } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);
241
- if (best_len <= s.lookahead) {
242
- return best_len;
243
- }
244
- return s.lookahead;
245
- }
246
- /* ===========================================================================
247
- * Fill the window when the lookahead becomes insufficient.
248
- * Updates strstart and lookahead.
249
- *
250
- * IN assertion: lookahead < MIN_LOOKAHEAD
251
- * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD
252
- * At least one byte has been read, or avail_in == 0; reads are
253
- * performed for at least two bytes (required for the zip translate_eol
254
- * option -- not supported here).
255
- */
256
- function fill_window(s) {
257
- let _w_size = s.w_size;
258
- let p, n, m, more, str;
259
- //Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead");
260
- do {
261
- more = s.window_size - s.lookahead - s.strstart;
262
- // JS ints have 32 bit, block below not needed
263
- /* Deal with !@#$% 64K limit: */
264
- //if (sizeof(int) <= 2) {
265
- // if (more == 0 && s->strstart == 0 && s->lookahead == 0) {
266
- // more = wsize;
267
- //
268
- // } else if (more == (unsigned)(-1)) {
269
- // /* Very unlikely, but possible on 16 bit machine if
270
- // * strstart == 0 && lookahead == 1 (input done a byte at time)
271
- // */
272
- // more--;
273
- // }
274
- //}
275
- /* If the window is almost full and there is insufficient lookahead,
276
- * move the upper half to the lower one to make room in the upper half.
277
- */
278
- if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {
279
- s.window.set(s.window.subarray(_w_size, _w_size + _w_size), 0);
280
- s.match_start -= _w_size;
281
- s.strstart -= _w_size;
282
- /* we now have strstart >= MAX_DIST */
283
- s.block_start -= _w_size;
284
- /* Slide the hash table (could be avoided with 32 bit values
285
- at the expense of memory usage). We slide even when level == 0
286
- to keep the hash table consistent if we switch back to level > 0
287
- later. (Using level 0 permanently is not an optimal usage of
288
- zlib, so we don't care about this pathological case.)
289
- */
290
- n = s.hash_size;
291
- p = n;
292
- do {
293
- m = s.head[--p];
294
- s.head[p] = m >= _w_size ? m - _w_size : 0;
295
- } while (--n);
296
- n = _w_size;
297
- p = n;
298
- do {
299
- m = s.prev[--p];
300
- s.prev[p] = m >= _w_size ? m - _w_size : 0;
301
- /* If n is not on any hash chain, prev[n] is garbage but
302
- * its value will never be used.
303
- */
304
- } while (--n);
305
- more += _w_size;
306
- }
307
- if (s.strm.avail_in === 0) {
308
- break;
309
- }
310
- /* If there was no sliding:
311
- * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
312
- * more == window_size - lookahead - strstart
313
- * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
314
- * => more >= window_size - 2*WSIZE + 2
315
- * In the BIG_MEM or MMAP case (not yet supported),
316
- * window_size == input_size + MIN_LOOKAHEAD &&
317
- * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.
318
- * Otherwise, window_size == 2*WSIZE so more >= 2.
319
- * If there was sliding, more >= WSIZE. So in all cases, more >= 2.
320
- */
321
- //Assert(more >= 2, "more < 2");
322
- n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);
323
- s.lookahead += n;
324
- /* Initialize the hash value now that we have some input: */
325
- if (s.lookahead + s.insert >= MIN_MATCH) {
326
- str = s.strstart - s.insert;
327
- s.ins_h = s.window[str];
328
- /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */
329
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + 1]) & s.hash_mask;
330
- //#if MIN_MATCH != 3
331
- // Call update_hash() MIN_MATCH-3 more times
332
- //#endif
333
- while (s.insert) {
334
- /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
335
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH - 1]) &
336
- s.hash_mask;
337
- s.prev[str & s.w_mask] = s.head[s.ins_h];
338
- s.head[s.ins_h] = str;
339
- str++;
340
- s.insert--;
341
- if (s.lookahead + s.insert < MIN_MATCH) {
342
- break;
343
- }
344
- }
345
- }
346
- /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,
347
- * but this is not important since only literal bytes will be emitted.
348
- */
349
- } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);
350
- /* If the WIN_INIT bytes after the end of the current data have never been
351
- * written, then zero those bytes in order to avoid memory check reports of
352
- * the use of uninitialized (or uninitialised as Julian writes) bytes by
353
- * the longest match routines. Update the high water mark for the next
354
- * time through here. WIN_INIT is set to MAX_MATCH since the longest match
355
- * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.
356
- */
357
- // if (s.high_water < s.window_size) {
358
- // let curr = s.strstart + s.lookahead;
359
- // let init = 0;
360
- //
361
- // if (s.high_water < curr) {
362
- // /* Previous high water mark below current data -- zero WIN_INIT
363
- // * bytes or up to end of window, whichever is less.
364
- // */
365
- // init = s.window_size - curr;
366
- // if (init > WIN_INIT)
367
- // init = WIN_INIT;
368
- // zmemzero(s->window + curr, (unsigned)init);
369
- // s->high_water = curr + init;
370
- // }
371
- // else if (s->high_water < (ulg)curr + WIN_INIT) {
372
- // /* High water mark at or above current data, but below current data
373
- // * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up
374
- // * to end of window, whichever is less.
375
- // */
376
- // init = (ulg)curr + WIN_INIT - s->high_water;
377
- // if (init > s->window_size - s->high_water)
378
- // init = s->window_size - s->high_water;
379
- // zmemzero(s->window + s->high_water, (unsigned)init);
380
- // s->high_water += init;
381
- // }
382
- // }
383
- //
384
- // Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,
385
- // "not enough room for search");
386
- }
387
- /* ===========================================================================
388
- * Copy without compression as much as possible from the input stream, return
389
- * the current block state.
390
- * This function does not insert new strings in the dictionary since
391
- * uncompressible data is probably not useful. This function is used
392
- * only for the level=0 compression option.
393
- * NOTE: this function should be optimized to avoid extra copying from
394
- * window to pending_buf.
395
- */
396
- function deflate_stored(s, flush) {
397
- /* Stored blocks are limited to 0xffff bytes, pending_buf is limited
398
- * to pending_buf_size, and each stored block has a 5 byte header:
399
- */
400
- let max_block_size = 0xffff;
401
- if (max_block_size > s.pending_buf_size - 5) {
402
- max_block_size = s.pending_buf_size - 5;
403
- }
404
- /* Copy as much as possible from input to output: */
405
- for (;;) {
406
- /* Fill the window as much as possible: */
407
- if (s.lookahead <= 1) {
408
- //Assert(s->strstart < s->w_size+MAX_DIST(s) ||
409
- // s->block_start >= (long)s->w_size, "slide too late");
410
- // if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) ||
411
- // s.block_start >= s.w_size)) {
412
- // throw new Error("slide too late");
413
- // }
414
- fill_window(s);
415
- if (s.lookahead === 0 && flush === STATUS.Z_NO_FLUSH) {
416
- return BS_NEED_MORE;
417
- }
418
- if (s.lookahead === 0) {
419
- break;
420
- }
421
- /* flush the current block */
422
- }
423
- //Assert(s->block_start >= 0L, "block gone");
424
- // if (s.block_start < 0) throw new Error("block gone");
425
- s.strstart += s.lookahead;
426
- s.lookahead = 0;
427
- /* Emit a stored block if pending_buf will be full: */
428
- let max_start = s.block_start + max_block_size;
429
- if (s.strstart === 0 || s.strstart >= max_start) {
430
- /* strstart == 0 is possible when wraparound on 16-bit machine */
431
- s.lookahead = s.strstart - max_start;
432
- s.strstart = max_start;
433
- /*** FLUSH_BLOCK(s, 0); ***/
434
- flush_block_only(s, false);
435
- if (s.strm.avail_out === 0) {
436
- return BS_NEED_MORE;
437
- }
438
- /***/
439
- }
440
- /* Flush if we may have to slide, otherwise block_start may become
441
- * negative and the data will be gone:
442
- */
443
- if (s.strstart - s.block_start >= (s.w_size - MIN_LOOKAHEAD)) {
444
- /*** FLUSH_BLOCK(s, 0); ***/
445
- flush_block_only(s, false);
446
- if (s.strm.avail_out === 0) {
447
- return BS_NEED_MORE;
448
- }
449
- /***/
450
- }
451
- }
452
- s.insert = 0;
453
- if (flush === STATUS.Z_FINISH) {
454
- /*** FLUSH_BLOCK(s, 1); ***/
455
- flush_block_only(s, true);
456
- if (s.strm.avail_out === 0) {
457
- return BS_FINISH_STARTED;
458
- }
459
- /***/
460
- return BS_FINISH_DONE;
461
- }
462
- if (s.strstart > s.block_start) {
463
- /*** FLUSH_BLOCK(s, 0); ***/
464
- flush_block_only(s, false);
465
- if (s.strm.avail_out === 0) {
466
- return BS_NEED_MORE;
467
- }
468
- /***/
469
- }
470
- return BS_NEED_MORE;
471
- }
472
- /* ===========================================================================
473
- * Compress as much as possible from the input stream, return the current
474
- * block state.
475
- * This function does not perform lazy evaluation of matches and inserts
476
- * new strings in the dictionary only for unmatched strings or for short
477
- * matches. It is used only for the fast compression options.
478
- */
479
- function deflate_fast(s, flush) {
480
- let hash_head; /* head of the hash chain */
481
- let bflush; /* set if current block must be flushed */
482
- for (;;) {
483
- /* Make sure that we always have enough lookahead, except
484
- * at the end of the input file. We need MAX_MATCH bytes
485
- * for the next match, plus MIN_MATCH bytes to insert the
486
- * string following the next match.
487
- */
488
- if (s.lookahead < MIN_LOOKAHEAD) {
489
- fill_window(s);
490
- if (s.lookahead < MIN_LOOKAHEAD && flush === STATUS.Z_NO_FLUSH) {
491
- return BS_NEED_MORE;
492
- }
493
- if (s.lookahead === 0) {
494
- break; /* flush the current block */
495
- }
496
- }
497
- /* Insert the string window[strstart .. strstart+2] in the
498
- * dictionary, and set hash_head to the head of the hash chain:
499
- */
500
- hash_head = 0 /*NIL*/;
501
- if (s.lookahead >= MIN_MATCH) {
502
- /*** INSERT_STRING(s, s.strstart, hash_head); ***/
503
- s.ins_h =
504
- ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) &
505
- s.hash_mask;
506
- hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
507
- s.head[s.ins_h] = s.strstart;
508
- /***/
509
- }
510
- /* Find the longest match, discarding those <= prev_length.
511
- * At this point we have always match_length < MIN_MATCH
512
- */
513
- if (hash_head !== 0 /*NIL*/ &&
514
- ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {
515
- /* To simplify the code, we prevent matches with the string
516
- * of window index 0 (in particular we have to avoid a match
517
- * of the string with itself at the start of the input file).
518
- */
519
- s.match_length = longest_match(s, hash_head);
520
- /* longest_match() sets match_start */
521
- }
522
- if (s.match_length >= MIN_MATCH) {
523
- // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only
524
- /*** _tr_tally_dist(s, s.strstart - s.match_start,
525
- s.match_length - MIN_MATCH, bflush); ***/
526
- bflush = trees._tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);
527
- s.lookahead -= s.match_length;
528
- /* Insert new strings in the hash table only if the match length
529
- * is not too large. This saves time but degrades compression.
530
- */
531
- if (s.match_length <= s.max_lazy_match /*max_insert_length*/ &&
532
- s.lookahead >= MIN_MATCH) {
533
- s.match_length--; /* string at strstart already in table */
534
- do {
535
- s.strstart++;
536
- /*** INSERT_STRING(s, s.strstart, hash_head); ***/
537
- s.ins_h =
538
- ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) &
539
- s.hash_mask;
540
- hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
541
- s.head[s.ins_h] = s.strstart;
542
- /***/
543
- /* strstart never exceeds WSIZE-MAX_MATCH, so there are
544
- * always MIN_MATCH bytes ahead.
545
- */
546
- } while (--s.match_length !== 0);
547
- s.strstart++;
548
- }
549
- else {
550
- s.strstart += s.match_length;
551
- s.match_length = 0;
552
- s.ins_h = s.window[s.strstart];
553
- /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */
554
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + 1]) &
555
- s.hash_mask;
556
- //#if MIN_MATCH != 3
557
- // Call UPDATE_HASH() MIN_MATCH-3 more times
558
- //#endif
559
- /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not
560
- * matter since it will be recomputed at next deflate call.
561
- */
562
- }
563
- }
564
- else {
565
- /* No match, output a literal byte */
566
- //Tracevv((stderr,"%c", s.window[s.strstart]));
567
- /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
568
- bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
569
- s.lookahead--;
570
- s.strstart++;
571
- }
572
- if (bflush) {
573
- /*** FLUSH_BLOCK(s, 0); ***/
574
- flush_block_only(s, false);
575
- if (s.strm.avail_out === 0) {
576
- return BS_NEED_MORE;
577
- }
578
- /***/
579
- }
580
- }
581
- s.insert = (s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1;
582
- if (flush === STATUS.Z_FINISH) {
583
- /*** FLUSH_BLOCK(s, 1); ***/
584
- flush_block_only(s, true);
585
- if (s.strm.avail_out === 0) {
586
- return BS_FINISH_STARTED;
587
- }
588
- /***/
589
- return BS_FINISH_DONE;
590
- }
591
- if (s.last_lit) {
592
- /*** FLUSH_BLOCK(s, 0); ***/
593
- flush_block_only(s, false);
594
- if (s.strm.avail_out === 0) {
595
- return BS_NEED_MORE;
596
- }
597
- /***/
598
- }
599
- return BS_BLOCK_DONE;
600
- }
601
- /* ===========================================================================
602
- * Same as above, but achieves better compression. We use a lazy
603
- * evaluation for matches: a match is finally adopted only if there is
604
- * no better match at the next window position.
605
- */
606
- function deflate_slow(s, flush) {
607
- let hash_head; /* head of hash chain */
608
- let bflush; /* set if current block must be flushed */
609
- let max_insert;
610
- /* Process the input block. */
611
- for (;;) {
612
- /* Make sure that we always have enough lookahead, except
613
- * at the end of the input file. We need MAX_MATCH bytes
614
- * for the next match, plus MIN_MATCH bytes to insert the
615
- * string following the next match.
616
- */
617
- if (s.lookahead < MIN_LOOKAHEAD) {
618
- fill_window(s);
619
- if (s.lookahead < MIN_LOOKAHEAD && flush === STATUS.Z_NO_FLUSH) {
620
- return BS_NEED_MORE;
621
- }
622
- if (s.lookahead === 0)
623
- break; /* flush the current block */
624
- }
625
- /* Insert the string window[strstart .. strstart+2] in the
626
- * dictionary, and set hash_head to the head of the hash chain:
627
- */
628
- hash_head = 0 /*NIL*/;
629
- if (s.lookahead >= MIN_MATCH) {
630
- /*** INSERT_STRING(s, s.strstart, hash_head); ***/
631
- s.ins_h =
632
- ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) &
633
- s.hash_mask;
634
- hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
635
- s.head[s.ins_h] = s.strstart;
636
- /***/
637
- }
638
- /* Find the longest match, discarding those <= prev_length.
639
- */
640
- s.prev_length = s.match_length;
641
- s.prev_match = s.match_start;
642
- s.match_length = MIN_MATCH - 1;
643
- if (hash_head !== 0 /*NIL*/ && s.prev_length < s.max_lazy_match &&
644
- s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD) /*MAX_DIST(s)*/) {
645
- /* To simplify the code, we prevent matches with the string
646
- * of window index 0 (in particular we have to avoid a match
647
- * of the string with itself at the start of the input file).
648
- */
649
- s.match_length = longest_match(s, hash_head);
650
- /* longest_match() sets match_start */
651
- if (s.match_length <= 5 &&
652
- (s.strategy === Z_FILTERED ||
653
- (s.match_length === MIN_MATCH &&
654
- s.strstart - s.match_start > 4096 /*TOO_FAR*/))) {
655
- /* If prev_match is also MIN_MATCH, match_start is garbage
656
- * but we will ignore the current match anyway.
657
- */
658
- s.match_length = MIN_MATCH - 1;
659
- }
660
- }
661
- /* If there was a match at the previous step and the current
662
- * match is not better, output the previous match:
663
- */
664
- if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {
665
- max_insert = s.strstart + s.lookahead - MIN_MATCH;
666
- /* Do not insert strings in hash table beyond this. */
667
- //check_match(s, s.strstart-1, s.prev_match, s.prev_length);
668
- /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,
669
- s.prev_length - MIN_MATCH, bflush);***/
670
- bflush = trees._tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);
671
- /* Insert in hash table all strings up to the end of the match.
672
- * strstart-1 and strstart are already inserted. If there is not
673
- * enough lookahead, the last two strings are not inserted in
674
- * the hash table.
675
- */
676
- s.lookahead -= s.prev_length - 1;
677
- s.prev_length -= 2;
678
- do {
679
- if (++s.strstart <= max_insert) {
680
- /*** INSERT_STRING(s, s.strstart, hash_head); ***/
681
- s.ins_h =
682
- ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) &
683
- s.hash_mask;
684
- hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
685
- s.head[s.ins_h] = s.strstart;
686
- /***/
687
- }
688
- } while (--s.prev_length !== 0);
689
- s.match_available = 0;
690
- s.match_length = MIN_MATCH - 1;
691
- s.strstart++;
692
- if (bflush) {
693
- /*** FLUSH_BLOCK(s, 0); ***/
694
- flush_block_only(s, false);
695
- if (s.strm.avail_out === 0) {
696
- return BS_NEED_MORE;
697
- }
698
- /***/
699
- }
700
- }
701
- else if (s.match_available) {
702
- /* If there was no match at the previous position, output a
703
- * single literal. If there was a match but the current match
704
- * is longer, truncate the previous match to a single literal.
705
- */
706
- //Tracevv((stderr,"%c", s->window[s->strstart-1]));
707
- /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
708
- bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);
709
- if (bflush) {
710
- /*** FLUSH_BLOCK_ONLY(s, 0) ***/
711
- flush_block_only(s, false);
712
- /***/
713
- }
714
- s.strstart++;
715
- s.lookahead--;
716
- if (s.strm.avail_out === 0) {
717
- return BS_NEED_MORE;
718
- }
719
- }
720
- else {
721
- /* There is no previous match to compare with, wait for
722
- * the next step to decide.
723
- */
724
- s.match_available = 1;
725
- s.strstart++;
726
- s.lookahead--;
727
- }
728
- }
729
- //Assert (flush != Z_NO_FLUSH, "no flush?");
730
- if (s.match_available) {
731
- //Tracevv((stderr,"%c", s->window[s->strstart-1]));
732
- /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
733
- bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);
734
- s.match_available = 0;
735
- }
736
- s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;
737
- if (flush === STATUS.Z_FINISH) {
738
- /*** FLUSH_BLOCK(s, 1); ***/
739
- flush_block_only(s, true);
740
- if (s.strm.avail_out === 0) {
741
- return BS_FINISH_STARTED;
742
- }
743
- /***/
744
- return BS_FINISH_DONE;
745
- }
746
- if (s.last_lit) {
747
- /*** FLUSH_BLOCK(s, 0); ***/
748
- flush_block_only(s, false);
749
- if (s.strm.avail_out === 0) {
750
- return BS_NEED_MORE;
751
- }
752
- /***/
753
- }
754
- return BS_BLOCK_DONE;
755
- }
756
- /* ===========================================================================
757
- * For Z_RLE, simply look for runs of bytes, generate matches only of distance
758
- * one. Do not maintain a hash table. (It will be regenerated if this run of
759
- * deflate switches away from Z_RLE.)
760
- */
761
- function deflate_rle(s, flush) {
762
- let bflush; /* set if current block must be flushed */
763
- let prev; /* byte at distance one to match */
764
- let scan, strend; /* scan goes up to strend for length of run */
765
- let _win = s.window;
766
- for (;;) {
767
- /* Make sure that we always have enough lookahead, except
768
- * at the end of the input file. We need MAX_MATCH bytes
769
- * for the longest run, plus one for the unrolled loop.
770
- */
771
- if (s.lookahead <= MAX_MATCH) {
772
- fill_window(s);
773
- if (s.lookahead <= MAX_MATCH && flush === STATUS.Z_NO_FLUSH) {
774
- return BS_NEED_MORE;
775
- }
776
- if (s.lookahead === 0)
777
- break; /* flush the current block */
778
- }
779
- /* See how many times the previous byte repeats */
780
- s.match_length = 0;
781
- if (s.lookahead >= MIN_MATCH && s.strstart > 0) {
782
- scan = s.strstart - 1;
783
- prev = _win[scan];
784
- if (prev === _win[++scan] && prev === _win[++scan] &&
785
- prev === _win[++scan]) {
786
- strend = s.strstart + MAX_MATCH;
787
- do {
788
- /*jshint noempty:false*/
789
- } while (prev === _win[++scan] && prev === _win[++scan] &&
790
- prev === _win[++scan] && prev === _win[++scan] &&
791
- prev === _win[++scan] && prev === _win[++scan] &&
792
- prev === _win[++scan] && prev === _win[++scan] &&
793
- scan < strend);
794
- s.match_length = MAX_MATCH - (strend - scan);
795
- if (s.match_length > s.lookahead) {
796
- s.match_length = s.lookahead;
797
- }
798
- }
799
- //Assert(scan <= s->window+(uInt)(s->window_size-1), "wild scan");
800
- }
801
- /* Emit match if have run of MIN_MATCH or longer, else emit literal */
802
- if (s.match_length >= MIN_MATCH) {
803
- //check_match(s, s.strstart, s.strstart - 1, s.match_length);
804
- /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/
805
- bflush = trees._tr_tally(s, 1, s.match_length - MIN_MATCH);
806
- s.lookahead -= s.match_length;
807
- s.strstart += s.match_length;
808
- s.match_length = 0;
809
- }
810
- else {
811
- /* No match, output a literal byte */
812
- //Tracevv((stderr,"%c", s->window[s->strstart]));
813
- /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
814
- bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
815
- s.lookahead--;
816
- s.strstart++;
817
- }
818
- if (bflush) {
819
- /*** FLUSH_BLOCK(s, 0); ***/
820
- flush_block_only(s, false);
821
- if (s.strm.avail_out === 0) {
822
- return BS_NEED_MORE;
823
- }
824
- /***/
825
- }
826
- }
827
- s.insert = 0;
828
- if (flush === STATUS.Z_FINISH) {
829
- /*** FLUSH_BLOCK(s, 1); ***/
830
- flush_block_only(s, true);
831
- if (s.strm.avail_out === 0) {
832
- return BS_FINISH_STARTED;
833
- }
834
- /***/
835
- return BS_FINISH_DONE;
836
- }
837
- if (s.last_lit) {
838
- /*** FLUSH_BLOCK(s, 0); ***/
839
- flush_block_only(s, false);
840
- if (s.strm.avail_out === 0) {
841
- return BS_NEED_MORE;
842
- }
843
- /***/
844
- }
845
- return BS_BLOCK_DONE;
846
- }
847
- /* ===========================================================================
848
- * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.
849
- * (It will be regenerated if this run of deflate switches away from Huffman.)
850
- */
851
- function deflate_huff(s, flush) {
852
- let bflush; /* set if current block must be flushed */
853
- for (;;) {
854
- /* Make sure that we have a literal to write. */
855
- if (s.lookahead === 0) {
856
- fill_window(s);
857
- if (s.lookahead === 0) {
858
- if (flush === STATUS.Z_NO_FLUSH) {
859
- return BS_NEED_MORE;
860
- }
861
- break; /* flush the current block */
862
- }
863
- }
864
- /* Output a literal byte */
865
- s.match_length = 0;
866
- //Tracevv((stderr,"%c", s->window[s->strstart]));
867
- /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
868
- bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
869
- s.lookahead--;
870
- s.strstart++;
871
- if (bflush) {
872
- /*** FLUSH_BLOCK(s, 0); ***/
873
- flush_block_only(s, false);
874
- if (s.strm.avail_out === 0) {
875
- return BS_NEED_MORE;
876
- }
877
- /***/
878
- }
879
- }
880
- s.insert = 0;
881
- if (flush === STATUS.Z_FINISH) {
882
- /*** FLUSH_BLOCK(s, 1); ***/
883
- flush_block_only(s, true);
884
- if (s.strm.avail_out === 0) {
885
- return BS_FINISH_STARTED;
886
- }
887
- /***/
888
- return BS_FINISH_DONE;
889
- }
890
- if (s.last_lit) {
891
- /*** FLUSH_BLOCK(s, 0); ***/
892
- flush_block_only(s, false);
893
- if (s.strm.avail_out === 0) {
894
- return BS_NEED_MORE;
895
- }
896
- /***/
897
- }
898
- return BS_BLOCK_DONE;
899
- }
900
- /* Values for max_lazy_match, good_match and max_chain_length, depending on
901
- * the desired pack level (0..9). The values given below have been tuned to
902
- * exclude worst case performance for pathological files. Better values may be
903
- * found for specific files.
904
- */
905
- class Config {
906
- constructor(good_length, max_lazy, nice_length, max_chain, func) {
907
- Object.defineProperty(this, "good_length", {
908
- enumerable: true,
909
- configurable: true,
910
- writable: true,
911
- value: void 0
912
- });
913
- Object.defineProperty(this, "max_lazy", {
914
- enumerable: true,
915
- configurable: true,
916
- writable: true,
917
- value: void 0
918
- });
919
- Object.defineProperty(this, "nice_length", {
920
- enumerable: true,
921
- configurable: true,
922
- writable: true,
923
- value: void 0
924
- });
925
- Object.defineProperty(this, "max_chain", {
926
- enumerable: true,
927
- configurable: true,
928
- writable: true,
929
- value: void 0
930
- });
931
- Object.defineProperty(this, "func", {
932
- enumerable: true,
933
- configurable: true,
934
- writable: true,
935
- value: void 0
936
- });
937
- this.good_length = good_length;
938
- this.max_lazy = max_lazy;
939
- this.nice_length = nice_length;
940
- this.max_chain = max_chain;
941
- this.func = func;
942
- }
943
- }
944
- let configuration_table;
945
- configuration_table = [
946
- /* good lazy nice chain */
947
- new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */
948
- new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */
949
- new Config(4, 5, 16, 8, deflate_fast), /* 2 */
950
- new Config(4, 6, 32, 32, deflate_fast), /* 3 */
951
- new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */
952
- new Config(8, 16, 32, 32, deflate_slow), /* 5 */
953
- new Config(8, 16, 128, 128, deflate_slow), /* 6 */
954
- new Config(8, 32, 128, 256, deflate_slow), /* 7 */
955
- new Config(32, 128, 258, 1024, deflate_slow), /* 8 */
956
- new Config(32, 258, 258, 4096, deflate_slow), /* 9 max compression */
957
- ];
958
- /* ===========================================================================
959
- * Initialize the "longest match" routines for a new zlib stream
960
- */
961
- function lm_init(s) {
962
- s.window_size = 2 * s.w_size;
963
- /*** CLEAR_HASH(s); ***/
964
- zero(s.head); // Fill with NIL (= 0);
965
- /* Set the default configuration parameters:
966
- */
967
- s.max_lazy_match = configuration_table[s.level].max_lazy;
968
- s.good_match = configuration_table[s.level].good_length;
969
- s.nice_match = configuration_table[s.level].nice_length;
970
- s.max_chain_length = configuration_table[s.level].max_chain;
971
- s.strstart = 0;
972
- s.block_start = 0;
973
- s.lookahead = 0;
974
- s.insert = 0;
975
- s.match_length = s.prev_length = MIN_MATCH - 1;
976
- s.match_available = 0;
977
- s.ins_h = 0;
978
- }
979
- export class DeflateState {
980
- /* Number of valid bits in bi_buf. All bits above the last valid bit
981
- * are always zero.
982
- */
983
- // Used for window memory init. We safely ignore it for JS. That makes
984
- // sense only for pointers and memory check tools.
985
- //this.high_water = 0;
986
- /* High water mark offset in window for initialized bytes -- bytes above
987
- * this are set to zero in order to avoid memory check warnings when
988
- * longest match routines access bytes past the input. This is then
989
- * updated to the new high water mark.
990
- */
991
- constructor() {
992
- Object.defineProperty(this, "strm", {
993
- enumerable: true,
994
- configurable: true,
995
- writable: true,
996
- value: null
997
- }); /* pointer back to this zlib stream */
998
- Object.defineProperty(this, "status", {
999
- enumerable: true,
1000
- configurable: true,
1001
- writable: true,
1002
- value: 0
1003
- }); /* as the name implies */
1004
- Object.defineProperty(this, "pending_buf", {
1005
- enumerable: true,
1006
- configurable: true,
1007
- writable: true,
1008
- value: null
1009
- }); /* output still pending */
1010
- Object.defineProperty(this, "pending_buf_size", {
1011
- enumerable: true,
1012
- configurable: true,
1013
- writable: true,
1014
- value: 0
1015
- }); /* size of pending_buf */
1016
- Object.defineProperty(this, "pending_out", {
1017
- enumerable: true,
1018
- configurable: true,
1019
- writable: true,
1020
- value: 0
1021
- }); /* next pending byte to output to the stream */
1022
- Object.defineProperty(this, "pending", {
1023
- enumerable: true,
1024
- configurable: true,
1025
- writable: true,
1026
- value: 0
1027
- }); /* nb of bytes in the pending buffer */
1028
- Object.defineProperty(this, "wrap", {
1029
- enumerable: true,
1030
- configurable: true,
1031
- writable: true,
1032
- value: 0
1033
- }); /* bit 0 true for zlib, bit 1 true for gzip */
1034
- Object.defineProperty(this, "gzhead", {
1035
- enumerable: true,
1036
- configurable: true,
1037
- writable: true,
1038
- value: null
1039
- }); /* gzip header information to write */
1040
- Object.defineProperty(this, "gzindex", {
1041
- enumerable: true,
1042
- configurable: true,
1043
- writable: true,
1044
- value: 0
1045
- }); /* where in extra, name, or comment */
1046
- Object.defineProperty(this, "method", {
1047
- enumerable: true,
1048
- configurable: true,
1049
- writable: true,
1050
- value: Z_DEFLATED
1051
- }); /* can only be DEFLATED */
1052
- Object.defineProperty(this, "last_flush", {
1053
- enumerable: true,
1054
- configurable: true,
1055
- writable: true,
1056
- value: -1
1057
- }); /* value of flush param for previous deflate call */
1058
- Object.defineProperty(this, "w_size", {
1059
- enumerable: true,
1060
- configurable: true,
1061
- writable: true,
1062
- value: 0
1063
- }); /* LZ77 window size (32K by default) */
1064
- Object.defineProperty(this, "w_bits", {
1065
- enumerable: true,
1066
- configurable: true,
1067
- writable: true,
1068
- value: 0
1069
- }); /* log2(w_size) (8..16) */
1070
- Object.defineProperty(this, "w_mask", {
1071
- enumerable: true,
1072
- configurable: true,
1073
- writable: true,
1074
- value: 0
1075
- }); /* w_size - 1 */
1076
- Object.defineProperty(this, "window", {
1077
- enumerable: true,
1078
- configurable: true,
1079
- writable: true,
1080
- value: null
1081
- });
1082
- /* Sliding window. Input bytes are read into the second half of the window,
1083
- * and move to the first half later to keep a dictionary of at least wSize
1084
- * bytes. With this organization, matches are limited to a distance of
1085
- * wSize-MAX_MATCH bytes, but this ensures that IO is always
1086
- * performed with a length multiple of the block size.
1087
- */
1088
- Object.defineProperty(this, "window_size", {
1089
- enumerable: true,
1090
- configurable: true,
1091
- writable: true,
1092
- value: 0
1093
- });
1094
- /* Actual size of window: 2*wSize, except when the user input buffer
1095
- * is directly used as sliding window.
1096
- */
1097
- Object.defineProperty(this, "prev", {
1098
- enumerable: true,
1099
- configurable: true,
1100
- writable: true,
1101
- value: null
1102
- });
1103
- /* Link to older string with same hash index. To limit the size of this
1104
- * array to 64K, this link is maintained only for the last 32K strings.
1105
- * An index in this array is thus a window index modulo 32K.
1106
- */
1107
- Object.defineProperty(this, "head", {
1108
- enumerable: true,
1109
- configurable: true,
1110
- writable: true,
1111
- value: null
1112
- }); /* Heads of the hash chains or NIL. */
1113
- Object.defineProperty(this, "ins_h", {
1114
- enumerable: true,
1115
- configurable: true,
1116
- writable: true,
1117
- value: 0
1118
- }); /* hash index of string to be inserted */
1119
- Object.defineProperty(this, "hash_size", {
1120
- enumerable: true,
1121
- configurable: true,
1122
- writable: true,
1123
- value: 0
1124
- }); /* number of elements in hash table */
1125
- Object.defineProperty(this, "hash_bits", {
1126
- enumerable: true,
1127
- configurable: true,
1128
- writable: true,
1129
- value: 0
1130
- }); /* log2(hash_size) */
1131
- Object.defineProperty(this, "hash_mask", {
1132
- enumerable: true,
1133
- configurable: true,
1134
- writable: true,
1135
- value: 0
1136
- }); /* hash_size-1 */
1137
- Object.defineProperty(this, "hash_shift", {
1138
- enumerable: true,
1139
- configurable: true,
1140
- writable: true,
1141
- value: 0
1142
- });
1143
- /* Number of bits by which ins_h must be shifted at each input
1144
- * step. It must be such that after MIN_MATCH steps, the oldest
1145
- * byte no longer takes part in the hash key, that is:
1146
- * hash_shift * MIN_MATCH >= hash_bits
1147
- */
1148
- Object.defineProperty(this, "block_start", {
1149
- enumerable: true,
1150
- configurable: true,
1151
- writable: true,
1152
- value: 0
1153
- });
1154
- /* Window position at the beginning of the current output block. Gets
1155
- * negative when the window is moved backwards.
1156
- */
1157
- Object.defineProperty(this, "match_length", {
1158
- enumerable: true,
1159
- configurable: true,
1160
- writable: true,
1161
- value: 0
1162
- }); /* length of best match */
1163
- Object.defineProperty(this, "prev_match", {
1164
- enumerable: true,
1165
- configurable: true,
1166
- writable: true,
1167
- value: 0
1168
- }); /* previous match */
1169
- Object.defineProperty(this, "match_available", {
1170
- enumerable: true,
1171
- configurable: true,
1172
- writable: true,
1173
- value: 0
1174
- }); /* set if previous match exists */
1175
- Object.defineProperty(this, "strstart", {
1176
- enumerable: true,
1177
- configurable: true,
1178
- writable: true,
1179
- value: 0
1180
- }); /* start of string to insert */
1181
- Object.defineProperty(this, "match_start", {
1182
- enumerable: true,
1183
- configurable: true,
1184
- writable: true,
1185
- value: 0
1186
- }); /* start of matching string */
1187
- Object.defineProperty(this, "lookahead", {
1188
- enumerable: true,
1189
- configurable: true,
1190
- writable: true,
1191
- value: 0
1192
- }); /* number of valid bytes ahead in window */
1193
- Object.defineProperty(this, "prev_length", {
1194
- enumerable: true,
1195
- configurable: true,
1196
- writable: true,
1197
- value: 0
1198
- });
1199
- /* Length of the best match at previous step. Matches not greater than this
1200
- * are discarded. This is used in the lazy match evaluation.
1201
- */
1202
- Object.defineProperty(this, "max_chain_length", {
1203
- enumerable: true,
1204
- configurable: true,
1205
- writable: true,
1206
- value: 0
1207
- });
1208
- /* To speed up deflation, hash chains are never searched beyond this
1209
- * length. A higher limit improves compression ratio but degrades the
1210
- * speed.
1211
- */
1212
- Object.defineProperty(this, "max_lazy_match", {
1213
- enumerable: true,
1214
- configurable: true,
1215
- writable: true,
1216
- value: 0
1217
- });
1218
- /* Attempt to find a better match only when the current match is strictly
1219
- * smaller than this value. This mechanism is used only for compression
1220
- * levels >= 4.
1221
- */
1222
- // That's alias to max_lazy_match, don't use directly
1223
- //this.max_insert_length = 0;
1224
- /* Insert new strings in the hash table only if the match length is not
1225
- * greater than this length. This saves time but degrades compression.
1226
- * max_insert_length is used only for compression levels <= 3.
1227
- */
1228
- Object.defineProperty(this, "level", {
1229
- enumerable: true,
1230
- configurable: true,
1231
- writable: true,
1232
- value: 0
1233
- }); /* compression level (1..9) */
1234
- Object.defineProperty(this, "strategy", {
1235
- enumerable: true,
1236
- configurable: true,
1237
- writable: true,
1238
- value: 0
1239
- }); /* favor or force Huffman coding*/
1240
- Object.defineProperty(this, "good_match", {
1241
- enumerable: true,
1242
- configurable: true,
1243
- writable: true,
1244
- value: 0
1245
- });
1246
- /* Use a faster search when the previous match is longer than this */
1247
- Object.defineProperty(this, "nice_match", {
1248
- enumerable: true,
1249
- configurable: true,
1250
- writable: true,
1251
- value: 0
1252
- }); /* Stop searching when current match exceeds this */
1253
- /* used by trees.c: */
1254
- /* Didn't use ct_data typedef below to suppress compiler warning */
1255
- // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */
1256
- // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
1257
- // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */
1258
- // Use flat array of DOUBLE size, with interleaved fata,
1259
- // because JS does not support effective
1260
- Object.defineProperty(this, "dyn_ltree", {
1261
- enumerable: true,
1262
- configurable: true,
1263
- writable: true,
1264
- value: new Uint16Array(HEAP_SIZE * 2)
1265
- });
1266
- Object.defineProperty(this, "dyn_dtree", {
1267
- enumerable: true,
1268
- configurable: true,
1269
- writable: true,
1270
- value: new Uint16Array((2 * D_CODES + 1) * 2)
1271
- });
1272
- Object.defineProperty(this, "bl_tree", {
1273
- enumerable: true,
1274
- configurable: true,
1275
- writable: true,
1276
- value: new Uint16Array((2 * BL_CODES + 1) * 2)
1277
- });
1278
- Object.defineProperty(this, "l_desc", {
1279
- enumerable: true,
1280
- configurable: true,
1281
- writable: true,
1282
- value: null
1283
- }); /* desc. for literal tree */
1284
- Object.defineProperty(this, "d_desc", {
1285
- enumerable: true,
1286
- configurable: true,
1287
- writable: true,
1288
- value: null
1289
- }); /* desc. for distance tree */
1290
- Object.defineProperty(this, "bl_desc", {
1291
- enumerable: true,
1292
- configurable: true,
1293
- writable: true,
1294
- value: null
1295
- }); /* desc. for bit length tree */
1296
- //ush bl_count[MAX_BITS+1];
1297
- Object.defineProperty(this, "bl_count", {
1298
- enumerable: true,
1299
- configurable: true,
1300
- writable: true,
1301
- value: new Uint16Array(MAX_BITS + 1)
1302
- });
1303
- /* number of codes at each bit length for an optimal tree */
1304
- //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */
1305
- Object.defineProperty(this, "heap", {
1306
- enumerable: true,
1307
- configurable: true,
1308
- writable: true,
1309
- value: new Uint16Array(2 * L_CODES + 1)
1310
- }); /* heap used to build the Huffman trees */
1311
- Object.defineProperty(this, "heap_len", {
1312
- enumerable: true,
1313
- configurable: true,
1314
- writable: true,
1315
- value: 0
1316
- }); /* number of elements in the heap */
1317
- Object.defineProperty(this, "heap_max", {
1318
- enumerable: true,
1319
- configurable: true,
1320
- writable: true,
1321
- value: 0
1322
- }); /* element of largest frequency */
1323
- /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.
1324
- * The same heap array is used to build all trees.
1325
- */
1326
- Object.defineProperty(this, "depth", {
1327
- enumerable: true,
1328
- configurable: true,
1329
- writable: true,
1330
- value: new Uint16Array(2 * L_CODES + 1)
1331
- }); //uch depth[2*L_CODES+1];
1332
- /* Depth of each subtree used as tie breaker for trees of equal frequency
1333
- */
1334
- Object.defineProperty(this, "l_buf", {
1335
- enumerable: true,
1336
- configurable: true,
1337
- writable: true,
1338
- value: 0
1339
- }); /* buffer index for literals or lengths */
1340
- Object.defineProperty(this, "lit_bufsize", {
1341
- enumerable: true,
1342
- configurable: true,
1343
- writable: true,
1344
- value: 0
1345
- });
1346
- /* Size of match buffer for literals/lengths. There are 4 reasons for
1347
- * limiting lit_bufsize to 64K:
1348
- * - frequencies can be kept in 16 bit counters
1349
- * - if compression is not successful for the first block, all input
1350
- * data is still in the window so we can still emit a stored block even
1351
- * when input comes from standard input. (This can also be done for
1352
- * all blocks if lit_bufsize is not greater than 32K.)
1353
- * - if compression is not successful for a file smaller than 64K, we can
1354
- * even emit a stored file instead of a stored block (saving 5 bytes).
1355
- * This is applicable only for zip (not gzip or zlib).
1356
- * - creating new Huffman trees less frequently may not provide fast
1357
- * adaptation to changes in the input data statistics. (Take for
1358
- * example a binary file with poorly compressible code followed by
1359
- * a highly compressible string table.) Smaller buffer sizes give
1360
- * fast adaptation but have of course the overhead of transmitting
1361
- * trees more frequently.
1362
- * - I can't count above 4
1363
- */
1364
- Object.defineProperty(this, "last_lit", {
1365
- enumerable: true,
1366
- configurable: true,
1367
- writable: true,
1368
- value: 0
1369
- }); /* running index in l_buf */
1370
- Object.defineProperty(this, "d_buf", {
1371
- enumerable: true,
1372
- configurable: true,
1373
- writable: true,
1374
- value: 0
1375
- });
1376
- /* Buffer index for distances. To simplify the code, d_buf and l_buf have
1377
- * the same number of elements. To use different lengths, an extra flag
1378
- * array would be necessary.
1379
- */
1380
- Object.defineProperty(this, "opt_len", {
1381
- enumerable: true,
1382
- configurable: true,
1383
- writable: true,
1384
- value: 0
1385
- }); /* bit length of current block with optimal trees */
1386
- Object.defineProperty(this, "static_len", {
1387
- enumerable: true,
1388
- configurable: true,
1389
- writable: true,
1390
- value: 0
1391
- }); /* bit length of current block with static trees */
1392
- Object.defineProperty(this, "matches", {
1393
- enumerable: true,
1394
- configurable: true,
1395
- writable: true,
1396
- value: 0
1397
- }); /* number of string matches in current block */
1398
- Object.defineProperty(this, "insert", {
1399
- enumerable: true,
1400
- configurable: true,
1401
- writable: true,
1402
- value: 0
1403
- }); /* bytes at end of window left to insert */
1404
- Object.defineProperty(this, "bi_buf", {
1405
- enumerable: true,
1406
- configurable: true,
1407
- writable: true,
1408
- value: 0
1409
- });
1410
- /* Output buffer. bits are inserted starting at the bottom (least
1411
- * significant bits).
1412
- */
1413
- Object.defineProperty(this, "bi_valid", {
1414
- enumerable: true,
1415
- configurable: true,
1416
- writable: true,
1417
- value: 0
1418
- });
1419
- zero(this.dyn_ltree);
1420
- zero(this.dyn_dtree);
1421
- zero(this.bl_tree);
1422
- zero(this.heap);
1423
- zero(this.depth);
1424
- }
1425
- }
1426
- function deflateResetKeep(strm) {
1427
- let s;
1428
- if (!strm || !strm.state) {
1429
- return err(strm, STATUS.Z_STREAM_ERROR.toString());
1430
- }
1431
- strm.total_in = strm.total_out = 0;
1432
- strm.data_type = Z_UNKNOWN;
1433
- s = strm.state;
1434
- s.pending = 0;
1435
- s.pending_out = 0;
1436
- if (s.wrap < 0) {
1437
- s.wrap = -s.wrap;
1438
- /* was made negative by deflate(..., Z_FINISH); */
1439
- }
1440
- s.status = s.wrap ? INIT_STATE : BUSY_STATE;
1441
- strm.adler = (s.wrap === 2)
1442
- ? 0 // crc32(0, Z_NULL, 0)
1443
- : 1; // adler32(0, Z_NULL, 0)
1444
- s.last_flush = STATUS.Z_NO_FLUSH;
1445
- trees._tr_init(s);
1446
- return Z_OK;
1447
- }
1448
- function deflateReset(strm) {
1449
- let ret = deflateResetKeep(strm);
1450
- if (ret === Z_OK) {
1451
- lm_init(strm.state);
1452
- }
1453
- return ret;
1454
- }
1455
- export function deflateSetHeader(strm, head) {
1456
- if (!strm || !strm.state)
1457
- return Z_STREAM_ERROR;
1458
- if (strm.state.wrap !== 2)
1459
- return Z_STREAM_ERROR;
1460
- strm.state.gzhead = head;
1461
- return Z_OK;
1462
- }
1463
- export function deflateInit2(strm, level, method, windowBits, memLevel, strategy) {
1464
- if (!strm) { // === Z_NULL
1465
- return STATUS.Z_STREAM_ERROR;
1466
- }
1467
- let wrap = 1;
1468
- if (level === Z_DEFAULT_COMPRESSION) {
1469
- level = 6;
1470
- }
1471
- if (windowBits < 0) {
1472
- /* suppress zlib wrapper */
1473
- wrap = 0;
1474
- windowBits = -windowBits;
1475
- }
1476
- else if (windowBits > 15) {
1477
- wrap = 2; /* write gzip wrapper instead */
1478
- windowBits -= 16;
1479
- }
1480
- if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||
1481
- windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
1482
- strategy < 0 || strategy > Z_FIXED) {
1483
- return err(strm, STATUS.Z_STREAM_ERROR.toString());
1484
- }
1485
- if (windowBits === 8) {
1486
- windowBits = 9;
1487
- }
1488
- /* until 256-byte window bug fixed */
1489
- let s = new DeflateState();
1490
- strm.state = s;
1491
- s.strm = strm;
1492
- s.wrap = wrap;
1493
- s.gzhead = null;
1494
- s.w_bits = windowBits;
1495
- s.w_size = 1 << s.w_bits;
1496
- s.w_mask = s.w_size - 1;
1497
- s.hash_bits = memLevel + 7;
1498
- s.hash_size = 1 << s.hash_bits;
1499
- s.hash_mask = s.hash_size - 1;
1500
- s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);
1501
- s.window = new Uint8Array(s.w_size * 2);
1502
- s.head = new Uint16Array(s.hash_size);
1503
- s.prev = new Uint16Array(s.w_size);
1504
- // Don't need mem init magic for JS.
1505
- //s.high_water = 0; /* nothing written to s->window yet */
1506
- s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */
1507
- s.pending_buf_size = s.lit_bufsize * 4;
1508
- //overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
1509
- //s->pending_buf = (uchf *) overlay;
1510
- s.pending_buf = new Uint8Array(s.pending_buf_size);
1511
- // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)
1512
- //s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
1513
- s.d_buf = 1 * s.lit_bufsize;
1514
- //s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
1515
- s.l_buf = (1 + 2) * s.lit_bufsize;
1516
- s.level = level;
1517
- s.strategy = strategy;
1518
- s.method = method;
1519
- return deflateReset(strm);
1520
- }
1521
- function deflateInit(strm, level) {
1522
- return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);
1523
- }
1524
- export function deflate(strm, flush) {
1525
- let old_flush, s;
1526
- let beg, val; // for gzip header write only
1527
- if (!strm || !strm.state ||
1528
- flush > STATUS.Z_BLOCK || flush < 0) {
1529
- return strm ? err(strm, STATUS.Z_STREAM_ERROR) : Z_STREAM_ERROR;
1530
- }
1531
- s = strm.state;
1532
- if (!strm.output ||
1533
- (!strm.input && strm.avail_in !== 0) ||
1534
- (s.status === FINISH_STATE && flush !== STATUS.Z_FINISH)) {
1535
- return err(strm, (strm.avail_out === 0
1536
- ? STATUS.Z_BUF_ERROR
1537
- : STATUS.Z_STREAM_ERROR));
1538
- }
1539
- s.strm = strm; /* just in case */
1540
- old_flush = s.last_flush;
1541
- s.last_flush = flush;
1542
- /* Write the header */
1543
- if (s.status === INIT_STATE) {
1544
- if (s.wrap === 2) { // GZIP header
1545
- strm.adler = 0; //crc32(0L, Z_NULL, 0);
1546
- put_byte(s, 31);
1547
- put_byte(s, 139);
1548
- put_byte(s, 8);
1549
- if (!s.gzhead) { // s->gzhead == Z_NULL
1550
- put_byte(s, 0);
1551
- put_byte(s, 0);
1552
- put_byte(s, 0);
1553
- put_byte(s, 0);
1554
- put_byte(s, 0);
1555
- put_byte(s, s.level === 9
1556
- ? 2
1557
- : (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ? 4 : 0));
1558
- put_byte(s, OS_CODE);
1559
- s.status = BUSY_STATE;
1560
- }
1561
- else {
1562
- put_byte(s, (s.gzhead.text ? 1 : 0) +
1563
- (s.gzhead.hcrc ? 2 : 0) +
1564
- (!s.gzhead.extra ? 0 : 4) +
1565
- (!s.gzhead.name ? 0 : 8) +
1566
- (!s.gzhead.comment ? 0 : 16));
1567
- put_byte(s, s.gzhead.time & 0xff);
1568
- put_byte(s, (s.gzhead.time >> 8) & 0xff);
1569
- put_byte(s, (s.gzhead.time >> 16) & 0xff);
1570
- put_byte(s, (s.gzhead.time >> 24) & 0xff);
1571
- put_byte(s, s.level === 9
1572
- ? 2
1573
- : (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ? 4 : 0));
1574
- put_byte(s, s.gzhead.os & 0xff);
1575
- if (s.gzhead.extra && s.gzhead.extra.length) {
1576
- put_byte(s, s.gzhead.extra.length & 0xff);
1577
- put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);
1578
- }
1579
- if (s.gzhead.hcrc) {
1580
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);
1581
- }
1582
- s.gzindex = 0;
1583
- s.status = EXTRA_STATE;
1584
- }
1585
- } // DEFLATE header
1586
- else {
1587
- let header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;
1588
- let level_flags = -1;
1589
- if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {
1590
- level_flags = 0;
1591
- }
1592
- else if (s.level < 6) {
1593
- level_flags = 1;
1594
- }
1595
- else if (s.level === 6) {
1596
- level_flags = 2;
1597
- }
1598
- else {
1599
- level_flags = 3;
1600
- }
1601
- header |= level_flags << 6;
1602
- if (s.strstart !== 0)
1603
- header |= PRESET_DICT;
1604
- header += 31 - (header % 31);
1605
- s.status = BUSY_STATE;
1606
- putShortMSB(s, header);
1607
- /* Save the adler32 of the preset dictionary: */
1608
- if (s.strstart !== 0) {
1609
- putShortMSB(s, strm.adler >>> 16);
1610
- putShortMSB(s, strm.adler & 0xffff);
1611
- }
1612
- strm.adler = 1; // adler32(0L, Z_NULL, 0);
1613
- }
1614
- }
1615
- //#ifdef GZIP
1616
- if (s.status === EXTRA_STATE) {
1617
- if (s.gzhead.extra /* != Z_NULL*/) {
1618
- beg = s.pending; /* start of bytes to update crc */
1619
- while (s.gzindex < (s.gzhead.extra.length & 0xffff)) {
1620
- if (s.pending === s.pending_buf_size) {
1621
- if (s.gzhead.hcrc && s.pending > beg) {
1622
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1623
- }
1624
- flush_pending(strm);
1625
- beg = s.pending;
1626
- if (s.pending === s.pending_buf_size) {
1627
- break;
1628
- }
1629
- }
1630
- put_byte(s, s.gzhead.extra[s.gzindex] & 0xff);
1631
- s.gzindex++;
1632
- }
1633
- if (s.gzhead.hcrc && s.pending > beg) {
1634
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1635
- }
1636
- if (s.gzindex === s.gzhead.extra.length) {
1637
- s.gzindex = 0;
1638
- s.status = NAME_STATE;
1639
- }
1640
- }
1641
- else {
1642
- s.status = NAME_STATE;
1643
- }
1644
- }
1645
- if (s.status === NAME_STATE) {
1646
- if (s.gzhead.name /* != Z_NULL*/) {
1647
- beg = s.pending; /* start of bytes to update crc */
1648
- //int val;
1649
- do {
1650
- if (s.pending === s.pending_buf_size) {
1651
- if (s.gzhead.hcrc && s.pending > beg) {
1652
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1653
- }
1654
- flush_pending(strm);
1655
- beg = s.pending;
1656
- if (s.pending === s.pending_buf_size) {
1657
- val = 1;
1658
- break;
1659
- }
1660
- }
1661
- // JS specific: little magic to add zero terminator to end of string
1662
- if (s.gzindex < s.gzhead.name.length) {
1663
- val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;
1664
- }
1665
- else {
1666
- val = 0;
1667
- }
1668
- put_byte(s, val);
1669
- } while (val !== 0);
1670
- if (s.gzhead.hcrc && s.pending > beg) {
1671
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1672
- }
1673
- if (val === 0) {
1674
- s.gzindex = 0;
1675
- s.status = COMMENT_STATE;
1676
- }
1677
- }
1678
- else {
1679
- s.status = COMMENT_STATE;
1680
- }
1681
- }
1682
- if (s.status === COMMENT_STATE) {
1683
- if (s.gzhead.comment /* != Z_NULL*/) {
1684
- beg = s.pending; /* start of bytes to update crc */
1685
- //int val;
1686
- do {
1687
- if (s.pending === s.pending_buf_size) {
1688
- if (s.gzhead.hcrc && s.pending > beg) {
1689
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1690
- }
1691
- flush_pending(strm);
1692
- beg = s.pending;
1693
- if (s.pending === s.pending_buf_size) {
1694
- val = 1;
1695
- break;
1696
- }
1697
- }
1698
- // JS specific: little magic to add zero terminator to end of string
1699
- if (s.gzindex < s.gzhead.comment.length) {
1700
- val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;
1701
- }
1702
- else {
1703
- val = 0;
1704
- }
1705
- put_byte(s, val);
1706
- } while (val !== 0);
1707
- if (s.gzhead.hcrc && s.pending > beg) {
1708
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1709
- }
1710
- if (val === 0) {
1711
- s.status = HCRC_STATE;
1712
- }
1713
- }
1714
- else {
1715
- s.status = HCRC_STATE;
1716
- }
1717
- }
1718
- if (s.status === HCRC_STATE) {
1719
- if (s.gzhead.hcrc) {
1720
- if (s.pending + 2 > s.pending_buf_size) {
1721
- flush_pending(strm);
1722
- }
1723
- if (s.pending + 2 <= s.pending_buf_size) {
1724
- put_byte(s, strm.adler & 0xff);
1725
- put_byte(s, (strm.adler >> 8) & 0xff);
1726
- strm.adler = 0; //crc32(0L, Z_NULL, 0);
1727
- s.status = BUSY_STATE;
1728
- }
1729
- }
1730
- else {
1731
- s.status = BUSY_STATE;
1732
- }
1733
- }
1734
- //#endif
1735
- /* Flush as much pending output as possible */
1736
- if (s.pending !== 0) {
1737
- flush_pending(strm);
1738
- if (strm.avail_out === 0) {
1739
- /* Since avail_out is 0, deflate will be called again with
1740
- * more output space, but possibly with both pending and
1741
- * avail_in equal to zero. There won't be anything to do,
1742
- * but this is not an error situation so make sure we
1743
- * return OK instead of BUF_ERROR at next call of deflate:
1744
- */
1745
- s.last_flush = -1;
1746
- return Z_OK;
1747
- }
1748
- /* Make sure there is something to do and avoid duplicate consecutive
1749
- * flushes. For repeated and useless calls with Z_FINISH, we keep
1750
- * returning Z_STREAM_END instead of Z_BUF_ERROR.
1751
- */
1752
- }
1753
- else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&
1754
- flush !== STATUS.Z_FINISH) {
1755
- return err(strm, STATUS.Z_BUF_ERROR);
1756
- }
1757
- /* User must not provide more input after the first FINISH: */
1758
- if (s.status === FINISH_STATE && strm.avail_in !== 0) {
1759
- return err(strm, STATUS.Z_BUF_ERROR);
1760
- }
1761
- /* Start a new block or continue the current one.
1762
- */
1763
- if (strm.avail_in !== 0 || s.lookahead !== 0 ||
1764
- (flush !== STATUS.Z_NO_FLUSH && s.status !== FINISH_STATE)) {
1765
- let bstate = (s.strategy === Z_HUFFMAN_ONLY)
1766
- ? deflate_huff(s, flush)
1767
- : (s.strategy === Z_RLE
1768
- ? deflate_rle(s, flush)
1769
- : configuration_table[s.level].func(s, flush));
1770
- if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {
1771
- s.status = FINISH_STATE;
1772
- }
1773
- if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {
1774
- if (strm.avail_out === 0) {
1775
- s.last_flush = -1;
1776
- /* avoid BUF_ERROR next call, see above */
1777
- }
1778
- return STATUS.Z_OK;
1779
- /* If flush != Z_NO_FLUSH && avail_out == 0, the next call
1780
- * of deflate should use the same flush parameter to make sure
1781
- * that the flush is complete. So we don't have to output an
1782
- * empty block here, this will be done at next call. This also
1783
- * ensures that for a very small output buffer, we emit at most
1784
- * one empty block.
1785
- */
1786
- }
1787
- if (bstate === BS_BLOCK_DONE) {
1788
- if (flush === STATUS.Z_PARTIAL_FLUSH) {
1789
- trees._tr_align(s);
1790
- }
1791
- else if (flush !== STATUS.Z_BLOCK) {
1792
- /* FULL_FLUSH or SYNC_FLUSH */
1793
- trees._tr_stored_block(s, 0, 0, false);
1794
- /* For a full flush, this empty block will be recognized
1795
- * as a special marker by inflate_sync().
1796
- */
1797
- if (flush === STATUS.Z_FULL_FLUSH) {
1798
- /*** CLEAR_HASH(s); ***/
1799
- /* forget history */
1800
- zero(s.head); // Fill with NIL (= 0);
1801
- if (s.lookahead === 0) {
1802
- s.strstart = 0;
1803
- s.block_start = 0;
1804
- s.insert = 0;
1805
- }
1806
- }
1807
- }
1808
- flush_pending(strm);
1809
- if (strm.avail_out === 0) {
1810
- s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */
1811
- return STATUS.Z_OK;
1812
- }
1813
- }
1814
- }
1815
- //Assert(strm->avail_out > 0, "bug2");
1816
- //if (strm.avail_out <= 0) { throw new Error("bug2");}
1817
- if (flush !== STATUS.Z_FINISH)
1818
- return STATUS.Z_OK;
1819
- if (s.wrap <= 0)
1820
- return STATUS.Z_STREAM_END;
1821
- /* Write the trailer */
1822
- if (s.wrap === 2) {
1823
- put_byte(s, strm.adler & 0xff);
1824
- put_byte(s, (strm.adler >> 8) & 0xff);
1825
- put_byte(s, (strm.adler >> 16) & 0xff);
1826
- put_byte(s, (strm.adler >> 24) & 0xff);
1827
- put_byte(s, strm.total_in & 0xff);
1828
- put_byte(s, (strm.total_in >> 8) & 0xff);
1829
- put_byte(s, (strm.total_in >> 16) & 0xff);
1830
- put_byte(s, (strm.total_in >> 24) & 0xff);
1831
- }
1832
- else {
1833
- putShortMSB(s, strm.adler >>> 16);
1834
- putShortMSB(s, strm.adler & 0xffff);
1835
- }
1836
- flush_pending(strm);
1837
- /* If avail_out is zero, the application will call deflate again
1838
- * to flush the rest.
1839
- */
1840
- if (s.wrap > 0)
1841
- s.wrap = -s.wrap;
1842
- /* write the trailer only once! */
1843
- return s.pending !== 0 ? Z_OK : Z_STREAM_END;
1844
- }
1845
- export function deflateEnd(strm) {
1846
- let status;
1847
- if (!strm /*== Z_NULL*/ || !strm.state /*== Z_NULL*/) {
1848
- return Z_STREAM_ERROR;
1849
- }
1850
- status = strm.state.status;
1851
- if (status !== INIT_STATE &&
1852
- status !== EXTRA_STATE &&
1853
- status !== NAME_STATE &&
1854
- status !== COMMENT_STATE &&
1855
- status !== HCRC_STATE &&
1856
- status !== BUSY_STATE &&
1857
- status !== FINISH_STATE) {
1858
- return err(strm, STATUS.Z_STREAM_ERROR);
1859
- }
1860
- strm.state = null;
1861
- return status === BUSY_STATE ? err(strm, STATUS.Z_DATA_ERROR) : Z_OK;
1862
- }
1863
- /* =========================================================================
1864
- * Initializes the compression dictionary from the given byte
1865
- * sequence without producing any compressed output.
1866
- */
1867
- export function deflateSetDictionary(strm, dictionary) {
1868
- let dictLength = dictionary.length;
1869
- let s;
1870
- let str, n;
1871
- let wrap;
1872
- let avail;
1873
- let next;
1874
- let input;
1875
- let tmpDict;
1876
- if (!strm /*== Z_NULL*/ || !strm.state /*== Z_NULL*/) {
1877
- return Z_STREAM_ERROR;
1878
- }
1879
- s = strm.state;
1880
- wrap = s.wrap;
1881
- if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {
1882
- return Z_STREAM_ERROR;
1883
- }
1884
- /* when using zlib wrappers, compute Adler-32 for provided dictionary */
1885
- if (wrap === 1) {
1886
- /* adler32(strm->adler, dictionary, dictLength); */
1887
- strm.adler = adler32(strm.adler, dictionary, dictLength, 0);
1888
- }
1889
- s.wrap = 0; /* avoid computing Adler-32 in read_buf */
1890
- /* if dictionary would fill window, just replace the history */
1891
- if (dictLength >= s.w_size) {
1892
- if (wrap === 0) {
1893
- /* already empty otherwise */
1894
- /*** CLEAR_HASH(s); ***/
1895
- zero(s.head); // Fill with NIL (= 0);
1896
- s.strstart = 0;
1897
- s.block_start = 0;
1898
- s.insert = 0;
1899
- }
1900
- /* use the tail */
1901
- // dictionary = dictionary.slice(dictLength - s.w_size);
1902
- tmpDict = new Uint8Array(s.w_size);
1903
- tmpDict.set(dictionary.subarray(dictLength - s.w_size, dictLength), 0);
1904
- dictionary = tmpDict;
1905
- dictLength = s.w_size;
1906
- }
1907
- /* insert dictionary into window and hash */
1908
- avail = strm.avail_in;
1909
- next = strm.next_in;
1910
- input = strm.input;
1911
- strm.avail_in = dictLength;
1912
- strm.next_in = 0;
1913
- strm.input = dictionary;
1914
- fill_window(s);
1915
- while (s.lookahead >= MIN_MATCH) {
1916
- str = s.strstart;
1917
- n = s.lookahead - (MIN_MATCH - 1);
1918
- do {
1919
- /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
1920
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH - 1]) &
1921
- s.hash_mask;
1922
- s.prev[str & s.w_mask] = s.head[s.ins_h];
1923
- s.head[s.ins_h] = str;
1924
- str++;
1925
- } while (--n);
1926
- s.strstart = str;
1927
- s.lookahead = MIN_MATCH - 1;
1928
- fill_window(s);
1929
- }
1930
- s.strstart += s.lookahead;
1931
- s.block_start = s.strstart;
1932
- s.insert = s.lookahead;
1933
- s.lookahead = 0;
1934
- s.match_length = s.prev_length = MIN_MATCH - 1;
1935
- s.match_available = 0;
1936
- strm.next_in = next;
1937
- strm.input = input;
1938
- strm.avail_in = avail;
1939
- s.wrap = wrap;
1940
- return Z_OK;
1941
- }