@mtkruto/node 0.1.152 → 0.1.155

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 (659) hide show
  1. package/esm/0_deps.d.ts +6 -8
  2. package/esm/0_deps.js +14 -9
  3. package/esm/1_utilities.d.ts +3 -1
  4. package/esm/1_utilities.js +3 -1
  5. package/esm/3_types.d.ts +2 -0
  6. package/esm/3_types.js +2 -0
  7. package/esm/4_constants.d.ts +2 -2
  8. package/esm/4_constants.js +4 -4
  9. package/esm/5_client.d.ts +0 -1
  10. package/esm/5_client.js +0 -1
  11. package/esm/client/0_params.d.ts +21 -3
  12. package/esm/client/0_types.d.ts +1 -0
  13. package/esm/client/1_account_manager.d.ts +11 -0
  14. package/esm/client/1_account_manager.js +76 -0
  15. package/esm/client/1_file_manager.js +12 -10
  16. package/esm/client/1_update_manager.js +27 -20
  17. package/esm/client/2_client_plain.js +22 -15
  18. package/esm/client/2_message_manager.d.ts +3 -0
  19. package/esm/client/2_message_manager.js +41 -6
  20. package/esm/client/3_chat_list_manager.js +7 -6
  21. package/esm/client/3_story_manager.js +9 -0
  22. package/esm/client/4_client.d.ts +63 -3
  23. package/esm/client/4_client.js +145 -39
  24. package/esm/connection/1_connection_web_socket.js +9 -10
  25. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/assert_rejects.d.ts +4 -0
  26. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/assert_throws.d.ts +6 -0
  27. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/unreachable.d.ts +1 -1
  28. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unreachable.js +2 -2
  29. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.js +12 -9
  30. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_db.d.ts +3 -1
  31. package/esm/deps/deno.land/std@0.218.0/media_types/_db.js +32 -0
  32. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/media_types/_util.d.ts +0 -2
  33. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_util.js +0 -2
  34. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/media_types/extensions_by_type.d.ts +1 -3
  35. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extensions_by_type.js +1 -3
  36. package/esm/deps/deno.land/std@0.218.0/path/_common/assert_path.d.ts +1 -0
  37. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.js +3 -1
  38. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/format.d.ts +1 -1
  39. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.d.ts +1 -1
  40. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/mod.d.ts +1 -1
  41. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/mod.js +1 -1
  42. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/posix/glob_to_regexp.d.ts +1 -1
  43. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.d.ts +1 -1
  44. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.d.ts +1 -1
  45. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.d.ts +1 -1
  46. package/esm/deps/deno.land/{std@0.216.0/path/posix → std@0.218.0/path/windows}/glob_to_regexp.d.ts +1 -1
  47. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.d.ts +1 -1
  48. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.d.ts +1 -1
  49. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.d.ts +1 -1
  50. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +1 -0
  51. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +1 -0
  52. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -2
  53. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +1 -5
  54. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +2 -2
  55. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +1 -5
  56. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +1 -1
  57. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +8 -8
  58. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +2 -2
  59. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +21 -19
  60. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +3 -3
  61. package/esm/mod.d.ts +1 -2
  62. package/esm/mod.js +1 -2
  63. package/esm/storage/0_storage.d.ts +2 -0
  64. package/esm/storage/0_storage.js +21 -2
  65. package/esm/storage/1_storage_memory.d.ts +2 -1
  66. package/esm/storage/1_storage_memory.js +15 -10
  67. package/esm/tl/2_types.d.ts +44 -6
  68. package/esm/tl/2_types.js +143 -20
  69. package/esm/tl/3_functions.d.ts +36 -0
  70. package/esm/tl/3_functions.js +88 -0
  71. package/esm/types/0_message_search_filter.d.ts +2 -0
  72. package/esm/types/0_message_search_filter.js +36 -0
  73. package/esm/types/2_inactive_chat.d.ts +7 -0
  74. package/esm/types/2_inactive_chat.js +13 -0
  75. package/esm/types/4_message.js +3 -4
  76. package/esm/utilities/0_logger.d.ts +25 -0
  77. package/esm/utilities/0_logger.js +90 -0
  78. package/esm/utilities/0_mutex.d.ts +4 -0
  79. package/esm/utilities/0_mutex.js +26 -0
  80. package/esm/utilities/{0_queue.js → 1_queue.js} +6 -6
  81. package/package.json +1 -1
  82. package/script/0_deps.d.ts +6 -8
  83. package/script/0_deps.js +18 -15
  84. package/script/1_utilities.d.ts +3 -1
  85. package/script/1_utilities.js +3 -1
  86. package/script/3_types.d.ts +2 -0
  87. package/script/3_types.js +2 -0
  88. package/script/4_constants.d.ts +2 -2
  89. package/script/4_constants.js +4 -4
  90. package/script/5_client.d.ts +0 -1
  91. package/script/5_client.js +0 -1
  92. package/script/client/0_params.d.ts +21 -3
  93. package/script/client/0_types.d.ts +1 -0
  94. package/script/client/1_account_manager.d.ts +11 -0
  95. package/script/client/1_account_manager.js +80 -0
  96. package/script/client/1_file_manager.js +10 -8
  97. package/script/client/1_update_manager.js +26 -19
  98. package/script/client/2_client_plain.js +20 -13
  99. package/script/client/2_message_manager.d.ts +3 -0
  100. package/script/client/2_message_manager.js +39 -4
  101. package/script/client/3_chat_list_manager.js +6 -5
  102. package/script/client/3_story_manager.js +9 -0
  103. package/script/client/4_client.d.ts +63 -3
  104. package/script/client/4_client.js +144 -38
  105. package/script/connection/1_connection_web_socket.js +11 -12
  106. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/assert_rejects.d.ts +4 -0
  107. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/assert_throws.d.ts +6 -0
  108. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/unreachable.d.ts +1 -1
  109. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unreachable.js +2 -2
  110. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.js +12 -9
  111. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_db.d.ts +3 -1
  112. package/script/deps/deno.land/std@0.218.0/media_types/_db.js +39 -0
  113. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/media_types/_util.d.ts +0 -2
  114. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_util.js +1 -3
  115. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/media_types/extensions_by_type.d.ts +1 -3
  116. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extensions_by_type.js +3 -5
  117. package/script/deps/deno.land/std@0.218.0/path/_common/assert_path.d.ts +1 -0
  118. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.js +3 -1
  119. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/path/format.d.ts +1 -1
  120. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.d.ts +1 -1
  121. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/path/mod.d.ts +1 -1
  122. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/mod.js +1 -1
  123. package/{esm/deps/deno.land/std@0.216.0/path/windows → script/deps/deno.land/std@0.218.0/path/posix}/glob_to_regexp.d.ts +1 -1
  124. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.d.ts +1 -1
  125. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.d.ts +1 -1
  126. package/script/deps/deno.land/std@0.218.0/path/posix/parse.d.ts +6 -0
  127. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.d.ts +1 -1
  128. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.d.ts +1 -1
  129. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.d.ts +1 -1
  130. package/script/deps/deno.land/std@0.218.0/path/windows/parse.d.ts +6 -0
  131. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +1 -0
  132. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +6 -0
  133. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -2
  134. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +1 -7
  135. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +2 -2
  136. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +1 -7
  137. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +1 -1
  138. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +8 -8
  139. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +2 -2
  140. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +21 -19
  141. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +3 -3
  142. package/script/mod.d.ts +1 -2
  143. package/script/mod.js +2 -2
  144. package/script/storage/0_storage.d.ts +2 -0
  145. package/script/storage/0_storage.js +19 -0
  146. package/script/storage/1_storage_memory.d.ts +2 -1
  147. package/script/storage/1_storage_memory.js +15 -10
  148. package/script/tl/2_types.d.ts +44 -6
  149. package/script/tl/2_types.js +168 -43
  150. package/script/tl/3_functions.d.ts +36 -0
  151. package/script/tl/3_functions.js +93 -3
  152. package/script/types/0_message_search_filter.d.ts +2 -0
  153. package/script/types/0_message_search_filter.js +40 -0
  154. package/script/types/2_inactive_chat.d.ts +7 -0
  155. package/script/types/2_inactive_chat.js +17 -0
  156. package/script/types/4_message.js +2 -3
  157. package/script/utilities/0_logger.d.ts +25 -0
  158. package/script/utilities/0_logger.js +118 -0
  159. package/script/utilities/0_mutex.d.ts +4 -0
  160. package/script/utilities/0_mutex.js +30 -0
  161. package/script/utilities/{0_queue.js → 1_queue.js} +6 -6
  162. package/esm/_dnt.polyfills.d.ts +0 -6
  163. package/esm/_dnt.polyfills.js +0 -1
  164. package/esm/client/5_session_string.d.ts +0 -3
  165. package/esm/client/5_session_string.js +0 -22
  166. package/esm/deps/deno.land/std@0.216.0/media_types/_db.js +0 -33
  167. package/esm/deps/deno.land/std@0.216.0/path/_common/assert_path.d.ts +0 -1
  168. package/esm/deps/deno.land/std@0.69.0/fmt/colors.d.ts +0 -77
  169. package/esm/deps/deno.land/std@0.69.0/fmt/colors.js +0 -224
  170. package/esm/deps/deno.land/x/crc32@v0.2.0/mod.d.ts +0 -15
  171. package/esm/deps/deno.land/x/crc32@v0.2.0/mod.js +0 -105
  172. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.d.ts +0 -16
  173. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js +0 -239
  174. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.d.ts +0 -3
  175. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.js +0 -71
  176. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.d.ts +0 -22
  177. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.js +0 -112
  178. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.d.ts +0 -2
  179. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.js +0 -2
  180. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/format.d.ts +0 -1
  181. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/format.js +0 -39
  182. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.d.ts +0 -1
  183. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.js +0 -1
  184. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.d.ts +0 -2
  185. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.js +0 -2
  186. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.d.ts +0 -26
  187. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.js +0 -32
  188. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.d.ts +0 -41
  189. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.js +0 -113
  190. package/esm/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.d.ts +0 -1
  191. package/esm/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.js +0 -524
  192. package/script/_dnt.polyfills.d.ts +0 -6
  193. package/script/_dnt.polyfills.js +0 -2
  194. package/script/client/5_session_string.d.ts +0 -3
  195. package/script/client/5_session_string.js +0 -27
  196. package/script/deps/deno.land/std@0.216.0/media_types/_db.js +0 -39
  197. package/script/deps/deno.land/std@0.216.0/path/_common/assert_path.d.ts +0 -1
  198. package/script/deps/deno.land/std@0.216.0/path/posix/parse.d.ts +0 -6
  199. package/script/deps/deno.land/std@0.216.0/path/windows/parse.d.ts +0 -6
  200. package/script/deps/deno.land/std@0.69.0/fmt/colors.d.ts +0 -77
  201. package/script/deps/deno.land/std@0.69.0/fmt/colors.js +0 -298
  202. package/script/deps/deno.land/x/crc32@v0.2.0/mod.d.ts +0 -15
  203. package/script/deps/deno.land/x/crc32@v0.2.0/mod.js +0 -113
  204. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.d.ts +0 -16
  205. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js +0 -271
  206. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.d.ts +0 -3
  207. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.js +0 -98
  208. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.d.ts +0 -22
  209. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.js +0 -141
  210. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.d.ts +0 -2
  211. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.js +0 -32
  212. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/format.d.ts +0 -1
  213. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/format.js +0 -43
  214. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.d.ts +0 -1
  215. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.js +0 -17
  216. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.d.ts +0 -2
  217. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.js +0 -18
  218. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.d.ts +0 -26
  219. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.js +0 -36
  220. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.d.ts +0 -41
  221. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.js +0 -117
  222. package/script/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.d.ts +0 -1
  223. package/script/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.js +0 -550
  224. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_rejects.js +0 -0
  267. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.d.ts +0 -0
  268. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.js +0 -0
  269. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.d.ts +0 -0
  270. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.js +0 -0
  271. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_throws.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.d.ts +0 -0
  286. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.js +0 -0
  287. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.d.ts +0 -0
  288. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.js +0 -0
  289. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.d.ts +0 -0
  290. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.js +0 -0
  291. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.d.ts +0 -0
  292. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.js +0 -0
  293. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.d.ts +0 -0
  294. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.js +0 -0
  295. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.d.ts +0 -0
  296. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.js +0 -0
  297. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.d.ts +0 -0
  298. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.js +0 -0
  299. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  300. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  301. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/assert_path.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.d.ts +0 -0
  316. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.js +0 -0
  317. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.d.ts +0 -0
  318. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.js +0 -0
  319. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.d.ts +0 -0
  320. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.js +0 -0
  321. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  322. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.js +0 -0
  323. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.d.ts +0 -0
  324. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.js +0 -0
  325. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.d.ts +0 -0
  326. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.js +0 -0
  327. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.d.ts +0 -0
  328. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.js +0 -0
  329. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.d.ts +0 -0
  330. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.js +0 -0
  331. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.d.ts +0 -0
  332. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.js +0 -0
  333. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.d.ts +0 -0
  334. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.js +0 -0
  335. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.d.ts +0 -0
  336. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.js +0 -0
  337. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.d.ts +0 -0
  338. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.js +0 -0
  339. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/format.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.js +0 -0
  343. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.d.ts +0 -0
  344. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.js +0 -0
  345. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.d.ts +0 -0
  346. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.js +0 -0
  347. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.d.ts +0 -0
  348. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.js +0 -0
  349. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.d.ts +0 -0
  350. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.js +0 -0
  351. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.d.ts +0 -0
  352. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.js +0 -0
  353. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.d.ts +0 -0
  354. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.js +0 -0
  355. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.d.ts +0 -0
  356. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.js +0 -0
  357. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.d.ts +0 -0
  358. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.js +0 -0
  359. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.d.ts +0 -0
  360. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.js +0 -0
  361. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.d.ts +0 -0
  362. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.js +0 -0
  363. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.d.ts +0 -0
  364. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.js +0 -0
  365. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.d.ts +0 -0
  366. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.js +0 -0
  367. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.d.ts +0 -0
  368. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.js +0 -0
  369. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.d.ts +0 -0
  370. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.js +0 -0
  371. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.d.ts +0 -0
  372. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.js +0 -0
  373. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/glob_to_regexp.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.js +0 -0
  381. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.d.ts +0 -0
  382. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.js +0 -0
  383. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.d.ts +0 -0
  384. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.js +0 -0
  385. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.js +0 -0
  387. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.d.ts +0 -0
  388. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.js +0 -0
  389. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.d.ts +0 -0
  390. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.js +0 -0
  391. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.d.ts +0 -0
  392. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.js +0 -0
  393. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.d.ts +0 -0
  394. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.js +0 -0
  395. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.d.ts +0 -0
  396. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.js +0 -0
  397. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.d.ts +0 -0
  398. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.js +0 -0
  399. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.d.ts +0 -0
  400. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.js +0 -0
  401. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.d.ts +0 -0
  402. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.js +0 -0
  403. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.d.ts +0 -0
  404. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.js +0 -0
  405. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.d.ts +0 -0
  406. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.js +0 -0
  407. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.d.ts +0 -0
  408. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.js +0 -0
  409. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.d.ts +0 -0
  410. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.js +0 -0
  411. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.d.ts +0 -0
  412. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.js +0 -0
  413. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.d.ts +0 -0
  414. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.js +0 -0
  415. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.d.ts +0 -0
  416. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.js +0 -0
  417. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.d.ts +0 -0
  418. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.js +0 -0
  419. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.js +0 -0
  420. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.d.ts +0 -0
  421. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.js +0 -0
  422. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.d.ts +0 -0
  423. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.js +0 -0
  424. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.d.ts +0 -0
  425. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.js +0 -0
  426. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.js +0 -0
  427. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.d.ts +0 -0
  428. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.js +0 -0
  429. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.d.ts +0 -0
  430. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.js +0 -0
  431. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.js +0 -0
  432. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.js +0 -0
  433. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.d.ts +0 -0
  434. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.js +0 -0
  435. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.d.ts +0 -0
  436. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.js +0 -0
  437. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.d.ts +0 -0
  438. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.js +0 -0
  439. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.d.ts +0 -0
  440. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.js +0 -0
  441. /package/esm/utilities/{0_queue.d.ts → 1_queue.d.ts} +0 -0
  442. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.js +0 -0
  444. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.js +0 -0
  446. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.js +0 -0
  448. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.js +0 -0
  450. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.js +0 -0
  452. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.js +0 -0
  454. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.js +0 -0
  456. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.js +0 -0
  458. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.js +0 -0
  460. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.js +0 -0
  462. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.js +0 -0
  464. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.js +0 -0
  466. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.js +0 -0
  468. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.js +0 -0
  470. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.js +0 -0
  472. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.js +0 -0
  474. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.js +0 -0
  476. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.js +0 -0
  478. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.js +0 -0
  480. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.js +0 -0
  482. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.js +0 -0
  484. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_rejects.js +0 -0
  485. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.js +0 -0
  487. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.js +0 -0
  489. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_throws.js +0 -0
  490. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.js +0 -0
  492. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.js +0 -0
  494. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.js +0 -0
  496. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.js +0 -0
  498. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.js +0 -0
  500. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.js +0 -0
  502. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.d.ts +0 -0
  504. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.js +0 -0
  505. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.js +0 -0
  507. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.js +0 -0
  509. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.js +0 -0
  511. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.js +0 -0
  513. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.js +0 -0
  515. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.js +0 -0
  517. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  519. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/assert_path.js +0 -0
  520. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.js +0 -0
  522. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.js +0 -0
  524. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.js +0 -0
  526. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.js +0 -0
  528. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.js +0 -0
  530. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.js +0 -0
  532. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.d.ts +0 -0
  534. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.js +0 -0
  535. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.d.ts +0 -0
  536. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.js +0 -0
  537. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.d.ts +0 -0
  538. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.js +0 -0
  539. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  540. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.js +0 -0
  541. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.d.ts +0 -0
  542. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.js +0 -0
  543. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.d.ts +0 -0
  544. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.js +0 -0
  545. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.d.ts +0 -0
  546. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.js +0 -0
  547. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.d.ts +0 -0
  548. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.js +0 -0
  549. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.d.ts +0 -0
  550. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.js +0 -0
  551. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.d.ts +0 -0
  552. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.js +0 -0
  553. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.d.ts +0 -0
  554. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.js +0 -0
  555. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.d.ts +0 -0
  556. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.js +0 -0
  557. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/format.js +0 -0
  558. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.js +0 -0
  560. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.js +0 -0
  561. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.d.ts +0 -0
  562. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.js +0 -0
  563. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.d.ts +0 -0
  564. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.js +0 -0
  565. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.d.ts +0 -0
  566. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.js +0 -0
  567. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.d.ts +0 -0
  568. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.js +0 -0
  569. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.d.ts +0 -0
  570. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.js +0 -0
  571. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.d.ts +0 -0
  572. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.js +0 -0
  573. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.d.ts +0 -0
  574. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.js +0 -0
  575. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.d.ts +0 -0
  576. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.js +0 -0
  577. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.d.ts +0 -0
  578. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.js +0 -0
  579. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.d.ts +0 -0
  580. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.js +0 -0
  581. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.d.ts +0 -0
  582. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.js +0 -0
  583. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.d.ts +0 -0
  584. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.js +0 -0
  585. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.d.ts +0 -0
  586. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.js +0 -0
  587. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.d.ts +0 -0
  588. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.js +0 -0
  589. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.d.ts +0 -0
  590. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.js +0 -0
  591. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/glob_to_regexp.js +0 -0
  592. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.d.ts +0 -0
  593. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.js +0 -0
  594. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.d.ts +0 -0
  595. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.js +0 -0
  596. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.d.ts +0 -0
  597. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.js +0 -0
  598. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.js +0 -0
  599. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.d.ts +0 -0
  600. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.js +0 -0
  601. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.d.ts +0 -0
  602. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.js +0 -0
  603. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.js +0 -0
  604. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.js +0 -0
  605. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.d.ts +0 -0
  606. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.js +0 -0
  607. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.d.ts +0 -0
  608. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.js +0 -0
  609. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.d.ts +0 -0
  610. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.js +0 -0
  611. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.d.ts +0 -0
  612. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.js +0 -0
  613. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.d.ts +0 -0
  614. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.js +0 -0
  615. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.d.ts +0 -0
  616. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.js +0 -0
  617. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.d.ts +0 -0
  618. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.js +0 -0
  619. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.d.ts +0 -0
  620. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.js +0 -0
  621. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.d.ts +0 -0
  622. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.js +0 -0
  623. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.d.ts +0 -0
  624. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.js +0 -0
  625. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.d.ts +0 -0
  626. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.js +0 -0
  627. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.d.ts +0 -0
  628. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.js +0 -0
  629. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.d.ts +0 -0
  630. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.js +0 -0
  631. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.d.ts +0 -0
  632. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.js +0 -0
  633. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.d.ts +0 -0
  634. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.js +0 -0
  635. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.d.ts +0 -0
  636. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.js +0 -0
  637. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.js +0 -0
  638. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.d.ts +0 -0
  639. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.js +0 -0
  640. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.d.ts +0 -0
  641. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.js +0 -0
  642. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.d.ts +0 -0
  643. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.js +0 -0
  644. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.js +0 -0
  645. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.d.ts +0 -0
  646. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.js +0 -0
  647. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.d.ts +0 -0
  648. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.js +0 -0
  649. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.js +0 -0
  650. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.js +0 -0
  651. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.d.ts +0 -0
  652. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.js +0 -0
  653. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.d.ts +0 -0
  654. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.js +0 -0
  655. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.d.ts +0 -0
  656. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.js +0 -0
  657. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.d.ts +0 -0
  658. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.js +0 -0
  659. /package/script/utilities/{0_queue.d.ts → 1_queue.d.ts} +0 -0
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
13
+ var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_accountManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_id, _Client_L, _Client_Lauthorize, _Client_LreceiveLoop, _Client_LpingLoop, _Client_Linvoke, _Client_LhandleMigrationError, _Client_L$initConncetion, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.Client = exports.restartAuth = exports.skipInvoke = exports.handleMigrationError = void 0;
16
16
  const _0_deps_js_1 = require("../0_deps.js");
@@ -26,6 +26,7 @@ const _0_message_js_1 = require("./0_message.js");
26
26
  const _0_password_js_1 = require("./0_password.js");
27
27
  const _0_types_js_1 = require("./0_types.js");
28
28
  const _0_utilities_js_1 = require("./0_utilities.js");
29
+ const _1_account_manager_js_1 = require("./1_account_manager.js");
29
30
  const _1_bot_info_manager_js_1 = require("./1_bot_info_manager.js");
30
31
  const _1_composer_js_1 = require("./1_composer.js");
31
32
  const _1_file_manager_js_1 = require("./1_file_manager.js");
@@ -38,9 +39,7 @@ const _3_callback_query_manager_js_1 = require("./3_callback_query_manager.js");
38
39
  const _3_chat_list_manager_js_1 = require("./3_chat_list_manager.js");
39
40
  const _3_inline_query_manager_js_1 = require("./3_inline_query_manager.js");
40
41
  const _3_story_manager_js_1 = require("./3_story_manager.js");
41
- const d = (0, _0_deps_js_1.debug)("Client");
42
- const dAuth = (0, _0_deps_js_1.debug)("Client/authorize");
43
- const dRecv = (0, _0_deps_js_1.debug)("Client/receiveLoop");
42
+ let id = 0;
44
43
  const getEntity = Symbol();
45
44
  exports.handleMigrationError = Symbol();
46
45
  const functionNamespaces = Object.entries(_2_tl_js_1.functions).filter(([, v]) => !(v instanceof Function)).map(([k]) => k);
@@ -53,7 +52,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
53
52
  /**
54
53
  * Constructs the client.
55
54
  *
56
- * @param storage The storage provider to use. Defaults to memory storage.
55
+ * @param storage The storage provider to use. Defaults to memory storage. Passing a string constructs a memory storage with the string being the string session.
57
56
  * @param apiId App's API ID from [my.telegram.org](https://my.telegram.org/apps). Defaults to 0 (unset).
58
57
  * @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Defaults to empty string (unset).
59
58
  */
@@ -88,6 +87,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
88
87
  _Client_callbackQueryManager.set(this, void 0);
89
88
  _Client_inlineQueryManager.set(this, void 0);
90
89
  _Client_chatListManager.set(this, void 0);
90
+ _Client_accountManager.set(this, void 0);
91
91
  Object.defineProperty(this, "storage", {
92
92
  enumerable: true,
93
93
  configurable: true,
@@ -142,6 +142,14 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
142
142
  _Client_ignoreOutgoing.set(this, void 0);
143
143
  _Client_prefixes.set(this, void 0);
144
144
  _Client_storeMessages.set(this, void 0);
145
+ _Client_id.set(this, void 0);
146
+ _Client_L.set(this, void 0);
147
+ _Client_Lauthorize.set(this, void 0);
148
+ _Client_LreceiveLoop.set(this, void 0);
149
+ _Client_LpingLoop.set(this, void 0);
150
+ _Client_Linvoke.set(this, void 0);
151
+ _Client_LhandleMigrationError.set(this, void 0);
152
+ _Client_L$initConncetion.set(this, void 0);
145
153
  _Client_namespaceProxies.set(this, (() => {
146
154
  // deno-lint-ignore no-explicit-any
147
155
  const proxies = {};
@@ -469,6 +477,14 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
469
477
  const { chatId } = mustGetMsg();
470
478
  return this.deleteChatMemberMessages(chatId, userId);
471
479
  },
480
+ searchMessages: (query, params) => {
481
+ const { chatId } = mustGetMsg();
482
+ return this.searchMessages(chatId, query, params);
483
+ },
484
+ setBoostsRequiredToCircumventRestrictions: (boosts) => {
485
+ const { chatId } = mustGetMsg();
486
+ return this.setBoostsRequiredToCircumventRestrictions(chatId, boosts);
487
+ },
472
488
  };
473
489
  return (0, _1_utilities_js_1.cleanObject)(context);
474
490
  });
@@ -478,7 +494,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
478
494
  configurable: true,
479
495
  writable: true,
480
496
  value: ((connected) => {
481
- __classPrivateFieldGet(this, _Client_connectMutex, "f").acquire().then((release) => {
497
+ __classPrivateFieldGet(this, _Client_connectMutex, "f").lock().then((unlock) => {
482
498
  try {
483
499
  const connectionState = connected ? "ready" : "notConnected";
484
500
  if (this.connected == connected && __classPrivateFieldGet(this, _Client_lastPropagatedConnectionState, "f") != connectionState) {
@@ -486,13 +502,13 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
486
502
  }
487
503
  }
488
504
  finally {
489
- release();
505
+ unlock();
490
506
  }
491
507
  });
492
508
  }).bind(this)
493
509
  });
494
510
  _Client_storageInited.set(this, false);
495
- _Client_connectMutex.set(this, new _0_deps_js_1.Mutex());
511
+ _Client_connectMutex.set(this, new _1_utilities_js_1.Mutex());
496
512
  _Client_connectionInited.set(this, false);
497
513
  _Client_lastPropagatedAuthorizationState.set(this, null);
498
514
  _Client_selfId.set(this, null);
@@ -531,8 +547,9 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
531
547
  _Client_lastGetMe.set(this, null);
532
548
  //#region Composer
533
549
  _Client_handle.set(this, _1_composer_js_1.skip);
534
- this.storage = storage ?? new _3_storage_js_1.StorageMemory();
535
- if (!(__classPrivateFieldSet(this, _Client_storeMessages, params?.storeMessages ?? false, "f"))) {
550
+ this.storage = typeof storage === "string" ? new _3_storage_js_1.StorageMemory(storage) : storage ?? new _3_storage_js_1.StorageMemory();
551
+ __classPrivateFieldSet(this, _Client_storeMessages, params?.storeMessages ?? false, "f");
552
+ if (!__classPrivateFieldGet(this, _Client_storeMessages, "f")) {
536
553
  this.messageStorage = new _3_storage_js_1.StorageMemory();
537
554
  }
538
555
  else {
@@ -550,7 +567,16 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
550
567
  __classPrivateFieldSet(this, _Client_ignoreOutgoing, params?.ignoreOutgoing ?? null, "f");
551
568
  __classPrivateFieldSet(this, _Client_prefixes, params?.prefixes, "f");
552
569
  __classPrivateFieldSet(this, _Client_guaranteeUpdateDelivery, params?.guaranteeUpdateDelivery ?? false, "f");
570
+ __classPrivateFieldSet(this, _Client_id, id++, "f");
571
+ const L = __classPrivateFieldSet(this, _Client_L, (0, _1_utilities_js_1.getLogger)("Client").client(__classPrivateFieldGet(this, _Client_id, "f")), "f");
572
+ __classPrivateFieldSet(this, _Client_Lauthorize, L.branch("authorize"), "f");
573
+ __classPrivateFieldSet(this, _Client_LreceiveLoop, L.branch("receiveLoop"), "f");
574
+ __classPrivateFieldSet(this, _Client_LpingLoop, L.branch("pingLoop"), "f");
575
+ __classPrivateFieldSet(this, _Client_Linvoke, L.branch("invoke"), "f");
576
+ __classPrivateFieldSet(this, _Client_LhandleMigrationError, L.branch("[handleMigrationError]"), "f");
577
+ __classPrivateFieldSet(this, _Client_L$initConncetion, L.branch("#initConnection"), "f");
553
578
  const c = {
579
+ id,
554
580
  api: this.api,
555
581
  storage: this.storage,
556
582
  messageStorage: this.messageStorage,
@@ -620,6 +646,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
620
646
  __classPrivateFieldSet(this, _Client_storyManager, new _3_story_manager_js_1.StoryManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f"), messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
621
647
  __classPrivateFieldSet(this, _Client_inlineQueryManager, new _3_inline_query_manager_js_1.InlineQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
622
648
  __classPrivateFieldSet(this, _Client_chatListManager, new _3_chat_list_manager_js_1.ChatListManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
649
+ __classPrivateFieldSet(this, _Client_accountManager, new _1_account_manager_js_1.AccountManager(c), "f");
623
650
  __classPrivateFieldGet(this, _Client_updateManager, "f").setUpdateHandler(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleUpdate).bind(this));
624
651
  const transportProvider = this.transportProvider;
625
652
  this.transportProvider = (params) => {
@@ -632,20 +659,20 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
632
659
  (0, _1_utilities_js_1.drop)((async () => {
633
660
  if (connectionState == "notConnected") {
634
661
  if (!this.transport?.transport.initialized) {
635
- d("not reconnecting");
662
+ L.debug("not reconnecting");
636
663
  return;
637
664
  }
638
665
  let delay = 5;
639
666
  while (!this.connected) {
640
- d("reconnecting");
667
+ L.debug("reconnecting");
641
668
  try {
642
669
  await this.connect();
643
- d("reconnected");
670
+ L.debug("reconnected");
644
671
  (0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("reconnect"));
645
672
  break;
646
673
  }
647
674
  catch (err) {
648
- d("failed to reconnect, retrying in %d: %o", delay, err);
675
+ L.debug(`failed to reconnect, retrying in ${delay}:`, err);
649
676
  }
650
677
  await new Promise((r) => setTimeout(r, delay * 1000));
651
678
  if (delay < 15) {
@@ -658,7 +685,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
658
685
  });
659
686
  this.invoke.use(async ({ error }, next) => {
660
687
  if (error instanceof _4_errors_js_1.FloodWait && error.seconds <= 10) {
661
- d("sleeping for %d because of: %o", error.seconds, error);
688
+ L.warning("sleeping for", error.seconds, "because of:", error);
662
689
  await new Promise((r) => setTimeout(r, 1000 * error.seconds));
663
690
  return true;
664
691
  }
@@ -692,7 +719,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
692
719
  if (this.connected) {
693
720
  return;
694
721
  }
695
- const release = await __classPrivateFieldGet(this, _Client_connectMutex, "f").acquire();
722
+ const unlock = await __classPrivateFieldGet(this, _Client_connectMutex, "f").lock();
696
723
  try {
697
724
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initStorage).call(this);
698
725
  const authKey = await this.storage.getAuthKey();
@@ -724,17 +751,17 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
724
751
  if (dc == null) {
725
752
  await this.storage.setDc(this.initialDc);
726
753
  }
727
- d("encrypted client connected");
754
+ __classPrivateFieldGet(this, _Client_L, "f").debug("connected");
728
755
  (0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_instances, "m", _Client_receiveLoop).call(this));
729
756
  if (__classPrivateFieldGet(this, _Client_pingLoopStarted, "f")) {
730
757
  (0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_instances, "m", _Client_pingLoop).call(this));
731
758
  }
732
759
  }
733
760
  finally {
734
- release();
761
+ unlock();
735
762
  }
736
763
  }
737
- async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
764
+ async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_accountManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_id = new WeakMap(), _Client_L = new WeakMap(), _Client_Lauthorize = new WeakMap(), _Client_LreceiveLoop = new WeakMap(), _Client_LpingLoop = new WeakMap(), _Client_Linvoke = new WeakMap(), _Client_LhandleMigrationError = new WeakMap(), _Client_L$initConncetion = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
738
765
  __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
739
766
  __classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
740
767
  }, _Client_setAuth = async function _Client_setAuth(key) {
@@ -755,7 +782,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
755
782
  newDc += "-test";
756
783
  }
757
784
  await this.reconnect(newDc);
758
- d("migrated to DC%s", newDc);
785
+ __classPrivateFieldGet(this, _Client_LhandleMigrationError, "f").debug(`migrated to DC${newDc}`);
759
786
  }
760
787
  async disconnect() {
761
788
  __classPrivateFieldSet(this, _Client_connectionInited, false, "f");
@@ -791,7 +818,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
791
818
  await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
792
819
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
793
820
  (0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("authorize"));
794
- d("already authorized");
821
+ __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("already authorized");
795
822
  return;
796
823
  }
797
824
  catch (err) {
@@ -808,7 +835,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
808
835
  params = { phone: () => (0, _1_utilities_js_1.mustPrompt)("Phone number:"), code: () => (0, _1_utilities_js_1.mustPrompt)("Verification code:"), password: () => (0, _1_utilities_js_1.mustPrompt)("Password:") };
809
836
  }
810
837
  }
811
- dAuth("authorizing with %s", typeof params === "string" ? "bot token" : params instanceof _2_tl_js_1.types.auth.ExportedAuthorization ? "exported authorization" : "AuthorizeUserParams");
838
+ __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorizing with", typeof params === "string" ? "bot token" : params instanceof _2_tl_js_1.types.auth.ExportedAuthorization ? "exported authorization" : "AuthorizeUserParams");
812
839
  if (typeof params === "string") {
813
840
  while (true) {
814
841
  try {
@@ -828,14 +855,14 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
828
855
  }
829
856
  }
830
857
  }
831
- dAuth("authorized as bot");
858
+ __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as bot");
832
859
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
833
860
  await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
834
861
  return;
835
862
  }
836
863
  if (params instanceof _2_tl_js_1.types.auth.ExportedAuthorization) {
837
864
  await this.api.auth.importAuthorization({ id: params.id, bytes: params.bytes });
838
- dAuth("authorization imported");
865
+ __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorization imported");
839
866
  return;
840
867
  }
841
868
  auth: while (true) {
@@ -875,7 +902,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
875
902
  }
876
903
  }
877
904
  }
878
- dAuth("verification code sent");
905
+ __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("verification code sent");
879
906
  let err;
880
907
  code: while (true) {
881
908
  const code = typeof params.code === "string" ? params.code : await params.code();
@@ -887,7 +914,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
887
914
  });
888
915
  __classPrivateFieldSet(this, _Client_selfId, Number(auth[_2_tl_js_1.as](_2_tl_js_1.types.auth.Authorization).user.id), "f");
889
916
  await this.storage.setAccountType("user");
890
- dAuth("authorized as user");
917
+ __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as user");
891
918
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
892
919
  await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
893
920
  return;
@@ -916,7 +943,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
916
943
  const auth = await this.api.auth.checkPassword({ password: input });
917
944
  __classPrivateFieldSet(this, _Client_selfId, Number(auth[_2_tl_js_1.as](_2_tl_js_1.types.auth.Authorization).user.id), "f");
918
945
  await this.storage.setAccountType("user");
919
- dAuth("authorized as user");
946
+ __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as user");
920
947
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
921
948
  await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
922
949
  return;
@@ -954,6 +981,13 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
954
981
  send(function_) {
955
982
  return this.invoke(function_, true);
956
983
  }
984
+ exportAuthString() {
985
+ return this.storage.exportAuthString();
986
+ }
987
+ async importAuthString(authString) {
988
+ await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initStorage).call(this);
989
+ await this.storage.importAuthString(authString);
990
+ }
957
991
  async getInputPeer(id) {
958
992
  if (id === "me") {
959
993
  return new _2_tl_js_1.types.InputPeerSelf();
@@ -999,7 +1033,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
999
1033
  system_version: this.systemVersion,
1000
1034
  });
1001
1035
  __classPrivateFieldSet(this, _Client_connectionInited, true, "f");
1002
- d("connection inited");
1036
+ __classPrivateFieldGet(this, _Client_L$initConncetion, "f").debug("connection inited");
1003
1037
  }
1004
1038
  }, _Client_propagateAuthorizationState = async function _Client_propagateAuthorizationState(authorized) {
1005
1039
  if (__classPrivateFieldGet(this, _Client_lastPropagatedAuthorizationState, "f") != authorized) {
@@ -1022,12 +1056,14 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
1022
1056
  __classPrivateFieldGet(this, _Client_toAcknowledge, "f").clear();
1023
1057
  }
1024
1058
  const buffer = await this.transport.transport.receive();
1059
+ __classPrivateFieldGet(this, _Client_L, "f").inBin(buffer);
1025
1060
  let decrypted;
1026
1061
  try {
1027
1062
  decrypted = await ((0, _0_message_js_1.decryptMessage)(buffer, __classPrivateFieldGet(this, _Client_auth, "f").key, __classPrivateFieldGet(this, _Client_auth, "f").id, __classPrivateFieldGet(this, _Client_sessionId, "f")));
1063
+ __classPrivateFieldGet(this, _Client_L, "f").in(decrypted);
1028
1064
  }
1029
1065
  catch (err) {
1030
- dRecv("failed to decrypt message: %o", err);
1066
+ __classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("failed to decrypt message:", err);
1031
1067
  (0, _1_utilities_js_1.drop)((async () => {
1032
1068
  try {
1033
1069
  await this.disconnect();
@@ -1046,7 +1082,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
1046
1082
  if (body instanceof _2_tl_js_1.types.Gzip_packed) {
1047
1083
  body = new _2_tl_js_1.TLReader((0, _0_deps_js_1.gunzip)(body.packed_data)).readObject();
1048
1084
  }
1049
- dRecv("received %s", (typeof body === "object" && _2_tl_js_1.name in body) ? body[_2_tl_js_1.name] : body.constructor.name);
1085
+ __classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("received", (typeof body === "object" && _2_tl_js_1.name in body) ? body[_2_tl_js_1.name] : body.constructor.name);
1050
1086
  if (body instanceof _2_tl_js_1.types._Updates || body instanceof _2_tl_js_1.types._Update) {
1051
1087
  __classPrivateFieldGet(this, _Client_updateManager, "f").processUpdates(body, true);
1052
1088
  }
@@ -1060,10 +1096,10 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
1060
1096
  result = new _2_tl_js_1.TLReader((0, _0_deps_js_1.gunzip)(result.packed_data)).readObject();
1061
1097
  }
1062
1098
  if (result instanceof _2_tl_js_1.types.Rpc_error) {
1063
- dRecv("RPCResult: %d %s", result.error_code, result.error_message);
1099
+ __classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("RPCResult:", result.error_code, result.error_message);
1064
1100
  }
1065
1101
  else {
1066
- dRecv("RPCResult: %s", (typeof result === "object" && _2_tl_js_1.name in result) ? result[_2_tl_js_1.name] : result.constructor.name);
1102
+ __classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("RPCResult:", (typeof result === "object" && _2_tl_js_1.name in result) ? result[_2_tl_js_1.name] : result.constructor.name);
1067
1103
  }
1068
1104
  const messageId = message.body.messageId;
1069
1105
  const promise = __classPrivateFieldGet(this, _Client_promises, "f").get(messageId);
@@ -1094,7 +1130,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
1094
1130
  }
1095
1131
  }
1096
1132
  else if (message.body instanceof _2_tl_js_1.types.Bad_server_salt) {
1097
- d("server salt reassigned");
1133
+ __classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("server salt reassigned");
1098
1134
  __classPrivateFieldGet(this, _Client_state, "f").salt = message.body.new_server_salt;
1099
1135
  await this.storage.setServerSalt(__classPrivateFieldGet(this, _Client_state, "f").salt);
1100
1136
  const promise = __classPrivateFieldGet(this, _Client_promises, "f").get(message.body.bad_msg_id);
@@ -1111,11 +1147,11 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
1111
1147
  break;
1112
1148
  }
1113
1149
  else if (err instanceof _2_tl_js_1.TLError) {
1114
- dRecv("failed to deserialize: %o", err);
1150
+ __classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("failed to deserialize:", err);
1115
1151
  (0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("deserialize"));
1116
1152
  }
1117
1153
  else {
1118
- dRecv("uncaught error: %o", err);
1154
+ __classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("unexpected error:", err);
1119
1155
  }
1120
1156
  }
1121
1157
  }
@@ -1151,7 +1187,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
1151
1187
  if (!this.connected) {
1152
1188
  continue;
1153
1189
  }
1154
- d("ping loop error: %o", err);
1190
+ __classPrivateFieldGet(this, _Client_LpingLoop, "f").error(err);
1155
1191
  }
1156
1192
  }
1157
1193
  }, _Client_invoke = async function _Client_invoke(function_, noWait) {
@@ -1176,8 +1212,11 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
1176
1212
  }
1177
1213
  const messageId = __classPrivateFieldSet(this, _Client_lastMsgId, (0, _0_message_js_1.getMessageId)(__classPrivateFieldGet(this, _Client_lastMsgId, "f")), "f");
1178
1214
  const message = new _2_tl_js_1.Message_(messageId, seqNo, function_);
1179
- await this.transport.transport.send(await (0, _0_message_js_1.encryptMessage)(message, __classPrivateFieldGet(this, _Client_auth, "f").key, __classPrivateFieldGet(this, _Client_auth, "f").id, __classPrivateFieldGet(this, _Client_state, "f").salt, __classPrivateFieldGet(this, _Client_sessionId, "f")));
1180
- d("invoked %s", function_[_2_tl_js_1.name]);
1215
+ const payload = await (0, _0_message_js_1.encryptMessage)(message, __classPrivateFieldGet(this, _Client_auth, "f").key, __classPrivateFieldGet(this, _Client_auth, "f").id, __classPrivateFieldGet(this, _Client_state, "f").salt, __classPrivateFieldGet(this, _Client_sessionId, "f"));
1216
+ await this.transport.transport.send(payload);
1217
+ __classPrivateFieldGet(this, _Client_L, "f").out(message);
1218
+ __classPrivateFieldGet(this, _Client_L, "f").outBin(payload);
1219
+ __classPrivateFieldGet(this, _Client_Linvoke, "f").debug("invoked", function_[_2_tl_js_1.name]);
1181
1220
  if (noWait) {
1182
1221
  __classPrivateFieldGet(this, _Client_promises, "f").set(message.id, {
1183
1222
  resolve: (result) => {
@@ -2062,6 +2101,73 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
2062
2101
  async disableJoinRequests(chatId) {
2063
2102
  await __classPrivateFieldGet(this, _Client_messageManager, "f").disableJoinRequests(chatId);
2064
2103
  }
2104
+ /**
2105
+ * Show a username in the current account, a bot account, sa upergroup, or a channel's profile. User-only.
2106
+ *
2107
+ * @method ac
2108
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
2109
+ * @param username The username to show.
2110
+ */
2111
+ async showUsername(id, username) {
2112
+ await __classPrivateFieldGet(this, _Client_accountManager, "f").showUsername(id, username);
2113
+ }
2114
+ /**
2115
+ * Hide a username from the current account, a bot account, a supergroup, or a channel's profile. User-only.
2116
+ *
2117
+ * @method ac
2118
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
2119
+ * @param username The username to hide.
2120
+ */
2121
+ async hideUsername(id, username) {
2122
+ await __classPrivateFieldGet(this, _Client_accountManager, "f").hideUsername(id, username);
2123
+ }
2124
+ /**
2125
+ * Reorder the usernames of the current account, a bot account, a supergroup, or a channel's profile. User-only.
2126
+ *
2127
+ * @method ac
2128
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
2129
+ * @param order The new order to use.
2130
+ */
2131
+ async reorderUsernames(id, order) {
2132
+ return await __classPrivateFieldGet(this, _Client_accountManager, "f").reorderUsernames(id, order);
2133
+ }
2134
+ /**
2135
+ * Hide all usernames from the a supergroup or a channel's profile. User-only.
2136
+ *
2137
+ * @method ac
2138
+ * @param id A supergroup ID or a channel ID.
2139
+ */
2140
+ async hideUsernames(id) {
2141
+ return await __classPrivateFieldGet(this, _Client_accountManager, "f").hideUsernames(id);
2142
+ }
2143
+ /**
2144
+ * Get inactive chats. User-only.
2145
+ *
2146
+ * @method ch
2147
+ */
2148
+ async getInactiveChats() {
2149
+ return await __classPrivateFieldGet(this, _Client_accountManager, "f").getInactiveChats();
2150
+ }
2151
+ /**
2152
+ * Search the messages of a chat.
2153
+ *
2154
+ * @method ms
2155
+ * @param chatId The identifier of the chat to search the messages in.
2156
+ * @param query The message search query.
2157
+ */
2158
+ async searchMessages(chatId, query, params) {
2159
+ return await __classPrivateFieldGet(this, _Client_messageManager, "f").searchMessages(chatId, query, params);
2160
+ }
2161
+ /**
2162
+ * Set the number of boosts required to circument a chat's default restrictions.
2163
+ *
2164
+ * @method ch
2165
+ * @param chatId The identifier of the chat.
2166
+ * @param boosts The number of boosts required to circumvent its restrictions.
2167
+ */
2168
+ async setBoostsRequiredToCircumventRestrictions(chatId, boosts) {
2169
+ await __classPrivateFieldGet(this, _Client_messageManager, "f").setBoostsRequiredToCircumventRestrictions(chatId, boosts);
2170
+ }
2065
2171
  }
2066
2172
  exports.Client = Client;
2067
2173
  _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
@@ -37,10 +37,9 @@ var _ConnectionWebSocket_instances, _ConnectionWebSocket_webSocket, _ConnectionW
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.ConnectionWebSocket = void 0;
39
39
  const dntShim = __importStar(require("../_dnt.shims.js"));
40
- const _0_deps_js_1 = require("../0_deps.js");
41
40
  const _1_utilities_js_1 = require("../1_utilities.js");
42
41
  const _0_connection_js_1 = require("./0_connection.js");
43
- const d = (0, _0_deps_js_1.debug)("ConnectionWebSocket");
42
+ const L = (0, _1_utilities_js_1.getLogger)("ConnectionWebSocket");
44
43
  const errConnectionNotOpen = new Error("Connection not open");
45
44
  class ConnectionWebSocket extends _0_connection_js_1.ConnectionUnframed {
46
45
  constructor(url) {
@@ -53,8 +52,8 @@ class ConnectionWebSocket extends _0_connection_js_1.ConnectionUnframed {
53
52
  value: url
54
53
  });
55
54
  _ConnectionWebSocket_webSocket.set(this, void 0);
56
- _ConnectionWebSocket_rMutex.set(this, new _0_deps_js_1.Mutex());
57
- _ConnectionWebSocket_wMutex.set(this, new _0_deps_js_1.Mutex());
55
+ _ConnectionWebSocket_rMutex.set(this, new _1_utilities_js_1.Mutex());
56
+ _ConnectionWebSocket_wMutex.set(this, new _1_utilities_js_1.Mutex());
58
57
  _ConnectionWebSocket_buffer.set(this, new Uint8Array());
59
58
  _ConnectionWebSocket_nextResolve.set(this, null);
60
59
  _ConnectionWebSocket_wasConnected.set(this, false);
@@ -96,7 +95,7 @@ class ConnectionWebSocket extends _0_connection_js_1.ConnectionUnframed {
96
95
  }
97
96
  async read(p) {
98
97
  __classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_assertConnected).call(this);
99
- const release = await __classPrivateFieldGet(this, _ConnectionWebSocket_rMutex, "f").acquire();
98
+ const unlock = await __classPrivateFieldGet(this, _ConnectionWebSocket_rMutex, "f").lock();
100
99
  try {
101
100
  __classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_assertConnected).call(this);
102
101
  if (__classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f").length < p.length) {
@@ -107,18 +106,18 @@ class ConnectionWebSocket extends _0_connection_js_1.ConnectionUnframed {
107
106
  __classPrivateFieldSet(this, _ConnectionWebSocket_buffer, __classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f").slice(slice.length), "f");
108
107
  }
109
108
  finally {
110
- release();
109
+ unlock();
111
110
  }
112
111
  }
113
112
  async write(p) {
114
113
  __classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_assertConnected).call(this);
115
- const release = await __classPrivateFieldGet(this, _ConnectionWebSocket_wMutex, "f").acquire();
114
+ const unlock = await __classPrivateFieldGet(this, _ConnectionWebSocket_wMutex, "f").lock();
116
115
  try {
117
116
  __classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_assertConnected).call(this);
118
117
  __classPrivateFieldGet(this, _ConnectionWebSocket_webSocket, "f").send(p);
119
118
  }
120
119
  finally {
121
- release();
120
+ unlock();
122
121
  }
123
122
  }
124
123
  close() {
@@ -130,7 +129,7 @@ class ConnectionWebSocket extends _0_connection_js_1.ConnectionUnframed {
130
129
  exports.ConnectionWebSocket = ConnectionWebSocket;
131
130
  _ConnectionWebSocket_webSocket = new WeakMap(), _ConnectionWebSocket_rMutex = new WeakMap(), _ConnectionWebSocket_wMutex = new WeakMap(), _ConnectionWebSocket_buffer = new WeakMap(), _ConnectionWebSocket_nextResolve = new WeakMap(), _ConnectionWebSocket_wasConnected = new WeakMap(), _ConnectionWebSocket_isConnecting = new WeakMap(), _ConnectionWebSocket_connectionError = new WeakMap(), _ConnectionWebSocket_instances = new WeakSet(), _ConnectionWebSocket_initWs = function _ConnectionWebSocket_initWs() {
132
131
  const webSocket = new dntShim.WebSocket(this.url, "binary");
133
- const mutex = new _0_deps_js_1.Mutex();
132
+ const mutex = new _1_utilities_js_1.Mutex();
134
133
  webSocket.addEventListener("close", () => {
135
134
  __classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_rejectRead).call(this);
136
135
  this.stateChangeHandler?.(false);
@@ -142,14 +141,14 @@ _ConnectionWebSocket_webSocket = new WeakMap(), _ConnectionWebSocket_rMutex = ne
142
141
  if (typeof e.data === "string") {
143
142
  return;
144
143
  }
145
- const release = await mutex.acquire();
144
+ const unlock = await mutex.lock();
146
145
  const data = new Uint8Array(await new Blob([e.data].map((v) => v instanceof Blob || v instanceof Uint8Array ? v : v instanceof ArrayBuffer ? v : (0, _1_utilities_js_1.UNREACHABLE)())).arrayBuffer());
147
146
  __classPrivateFieldSet(this, _ConnectionWebSocket_buffer, (0, _1_utilities_js_1.concat)(__classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f"), data), "f");
148
147
  if (__classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f") != null && __classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f").length >= __classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f")[0]) {
149
148
  __classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f")[1].resolve();
150
149
  __classPrivateFieldSet(this, _ConnectionWebSocket_nextResolve, null, "f");
151
150
  }
152
- release();
151
+ unlock();
153
152
  });
154
153
  webSocket.addEventListener("error", (err) => {
155
154
  if (__classPrivateFieldGet(this, _ConnectionWebSocket_isConnecting, "f")) {
@@ -157,7 +156,7 @@ _ConnectionWebSocket_webSocket = new WeakMap(), _ConnectionWebSocket_rMutex = ne
157
156
  __classPrivateFieldSet(this, _ConnectionWebSocket_connectionError, err, "f");
158
157
  }
159
158
  if (this.connected) {
160
- d("WebSocket error: %o", err);
159
+ L.error(err);
161
160
  }
162
161
  });
163
162
  return webSocket;
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * Executes a function which returns a promise, expecting it to reject.
3
3
  *
4
+ * To assert that a synchronous function throws, use {@linkcode assertThrows}.
5
+ *
4
6
  * @example
5
7
  * ```ts
6
8
  * import { assertRejects } from "https://deno.land/std@$STD_VERSION/assert/assert_rejects.ts";
@@ -15,6 +17,8 @@ export declare function assertRejects(fn: () => PromiseLike<unknown>, msg?: stri
15
17
  * If it does not, then it throws. An error class and a string that should be
16
18
  * included in the error message can also be asserted.
17
19
  *
20
+ * To assert that a synchronous function throws, use {@linkcode assertThrows}.
21
+ *
18
22
  * @example
19
23
  * ```ts
20
24
  * import { assertRejects } from "https://deno.land/std@$STD_VERSION/assert/assert_rejects.ts";
@@ -2,6 +2,9 @@
2
2
  * Executes a function, expecting it to throw. If it does not, then it
3
3
  * throws.
4
4
  *
5
+ * To assert that an asynchronous function rejects, use
6
+ * {@linkcode assertRejects}.
7
+ *
5
8
  * @example
6
9
  * ```ts
7
10
  * import { assertThrows } from "https://deno.land/std@$STD_VERSION/assert/assert_throws.ts";
@@ -16,6 +19,9 @@ export declare function assertThrows(fn: () => unknown, msg?: string): unknown;
16
19
  * throws. An error class and a string that should be included in the
17
20
  * error message can also be asserted.
18
21
  *
22
+ * To assert that an asynchronous function rejects, use
23
+ * {@linkcode assertRejects}.
24
+ *
19
25
  * @example
20
26
  * ```ts
21
27
  * import { assertThrows } from "https://deno.land/std@$STD_VERSION/assert/assert_throws.ts";
@@ -8,4 +8,4 @@
8
8
  * unreachable(); // Throws
9
9
  * ```
10
10
  */
11
- export declare function unreachable(): never;
11
+ export declare function unreachable(reason?: string): never;
@@ -13,7 +13,7 @@ const assertion_error_js_1 = require("./assertion_error.js");
13
13
  * unreachable(); // Throws
14
14
  * ```
15
15
  */
16
- function unreachable() {
17
- throw new assertion_error_js_1.AssertionError("unreachable");
16
+ function unreachable(reason) {
17
+ throw new assertion_error_js_1.AssertionError(reason ?? "unreachable");
18
18
  }
19
19
  exports.unreachable = unreachable;
@@ -97,22 +97,25 @@ function encodeBase64(data) {
97
97
  let result = "", i;
98
98
  const l = uint8.length;
99
99
  for (i = 2; i < l; i += 3) {
100
- result += base64abc[uint8[i - 2] >> 2];
101
- result += base64abc[((uint8[i - 2] & 0x03) << 4) | (uint8[i - 1] >> 4)];
102
- result += base64abc[((uint8[i - 1] & 0x0f) << 2) | (uint8[i] >> 6)];
103
- result += base64abc[uint8[i] & 0x3f];
100
+ result += base64abc[(uint8[i - 2]) >> 2];
101
+ result += base64abc[(((uint8[i - 2]) & 0x03) << 4) |
102
+ ((uint8[i - 1]) >> 4)];
103
+ result += base64abc[(((uint8[i - 1]) & 0x0f) << 2) |
104
+ ((uint8[i]) >> 6)];
105
+ result += base64abc[(uint8[i]) & 0x3f];
104
106
  }
105
107
  if (i === l + 1) {
106
108
  // 1 octet yet to write
107
- result += base64abc[uint8[i - 2] >> 2];
108
- result += base64abc[(uint8[i - 2] & 0x03) << 4];
109
+ result += base64abc[(uint8[i - 2]) >> 2];
110
+ result += base64abc[((uint8[i - 2]) & 0x03) << 4];
109
111
  result += "==";
110
112
  }
111
113
  if (i === l) {
112
114
  // 2 octets yet to write
113
- result += base64abc[uint8[i - 2] >> 2];
114
- result += base64abc[((uint8[i - 2] & 0x03) << 4) | (uint8[i - 1] >> 4)];
115
- result += base64abc[(uint8[i - 1] & 0x0f) << 2];
115
+ result += base64abc[(uint8[i - 2]) >> 2];
116
+ result += base64abc[(((uint8[i - 2]) & 0x03) << 4) |
117
+ ((uint8[i - 1]) >> 4)];
118
+ result += base64abc[((uint8[i - 1]) & 0x0f) << 2];
116
119
  result += "=";
117
120
  }
118
121
  return result;