imran-downloader-servar 0.0.1-security → 2.3.7

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.

Potentially problematic release.


This version of imran-downloader-servar might be problematic. Click here for more details.

Files changed (229) hide show
  1. package/.cache/nix/binary-cache-v6.sqlite +0 -0
  2. package/.cache/nix/binary-cache-v6.sqlite-journal +0 -0
  3. package/.cache/replit/__replit_disk_meta.json +1 -0
  4. package/.cache/replit/modules/nodejs-20:v32-20240401-269b323.res +1 -0
  5. package/.cache/replit/modules/replit:v8-20240329-787bc7d.res +1 -0
  6. package/.cache/replit/modules.stamp +0 -0
  7. package/.cache/replit/nix/env.json +1 -0
  8. package/.cache/typescript/5.0/node_modules/.package-lock.json +12 -0
  9. package/.cache/typescript/5.0/node_modules/types-registry/README.md +2 -0
  10. package/.cache/typescript/5.0/node_modules/types-registry/index.json +1 -0
  11. package/.cache/typescript/5.0/node_modules/types-registry/package.json +20 -0
  12. package/.cache/typescript/5.0/package.json +1 -0
  13. package/.cache/typescript/5.3/node_modules/.package-lock.json +114 -0
  14. package/.cache/typescript/5.3/node_modules/@types/cheerio/LICENSE +21 -0
  15. package/.cache/typescript/5.3/node_modules/@types/cheerio/README.md +15 -0
  16. package/.cache/typescript/5.3/node_modules/@types/cheerio/index.d.ts +318 -0
  17. package/.cache/typescript/5.3/node_modules/@types/cheerio/package.json +71 -0
  18. package/.cache/typescript/5.3/node_modules/@types/node/LICENSE +21 -0
  19. package/.cache/typescript/5.3/node_modules/@types/node/README.md +15 -0
  20. package/.cache/typescript/5.3/node_modules/@types/node/assert/strict.d.ts +8 -0
  21. package/.cache/typescript/5.3/node_modules/@types/node/assert.d.ts +996 -0
  22. package/.cache/typescript/5.3/node_modules/@types/node/async_hooks.d.ts +539 -0
  23. package/.cache/typescript/5.3/node_modules/@types/node/buffer.d.ts +2362 -0
  24. package/.cache/typescript/5.3/node_modules/@types/node/child_process.d.ts +1540 -0
  25. package/.cache/typescript/5.3/node_modules/@types/node/cluster.d.ts +432 -0
  26. package/.cache/typescript/5.3/node_modules/@types/node/console.d.ts +415 -0
  27. package/.cache/typescript/5.3/node_modules/@types/node/constants.d.ts +19 -0
  28. package/.cache/typescript/5.3/node_modules/@types/node/crypto.d.ts +4456 -0
  29. package/.cache/typescript/5.3/node_modules/@types/node/dgram.d.ts +586 -0
  30. package/.cache/typescript/5.3/node_modules/@types/node/diagnostics_channel.d.ts +191 -0
  31. package/.cache/typescript/5.3/node_modules/@types/node/dns/promises.d.ts +425 -0
  32. package/.cache/typescript/5.3/node_modules/@types/node/dns.d.ts +809 -0
  33. package/.cache/typescript/5.3/node_modules/@types/node/dom-events.d.ts +122 -0
  34. package/.cache/typescript/5.3/node_modules/@types/node/domain.d.ts +170 -0
  35. package/.cache/typescript/5.3/node_modules/@types/node/events.d.ts +879 -0
  36. package/.cache/typescript/5.3/node_modules/@types/node/fs/promises.d.ts +1239 -0
  37. package/.cache/typescript/5.3/node_modules/@types/node/fs.d.ts +4291 -0
  38. package/.cache/typescript/5.3/node_modules/@types/node/globals.d.ts +385 -0
  39. package/.cache/typescript/5.3/node_modules/@types/node/globals.global.d.ts +1 -0
  40. package/.cache/typescript/5.3/node_modules/@types/node/http.d.ts +1888 -0
  41. package/.cache/typescript/5.3/node_modules/@types/node/http2.d.ts +2382 -0
  42. package/.cache/typescript/5.3/node_modules/@types/node/https.d.ts +550 -0
  43. package/.cache/typescript/5.3/node_modules/@types/node/index.d.ts +88 -0
  44. package/.cache/typescript/5.3/node_modules/@types/node/inspector.d.ts +2747 -0
  45. package/.cache/typescript/5.3/node_modules/@types/node/module.d.ts +301 -0
  46. package/.cache/typescript/5.3/node_modules/@types/node/net.d.ts +949 -0
  47. package/.cache/typescript/5.3/node_modules/@types/node/os.d.ts +478 -0
  48. package/.cache/typescript/5.3/node_modules/@types/node/package.json +230 -0
  49. package/.cache/typescript/5.3/node_modules/@types/node/path.d.ts +191 -0
  50. package/.cache/typescript/5.3/node_modules/@types/node/perf_hooks.d.ts +639 -0
  51. package/.cache/typescript/5.3/node_modules/@types/node/process.d.ts +1539 -0
  52. package/.cache/typescript/5.3/node_modules/@types/node/punycode.d.ts +117 -0
  53. package/.cache/typescript/5.3/node_modules/@types/node/querystring.d.ts +141 -0
  54. package/.cache/typescript/5.3/node_modules/@types/node/readline/promises.d.ts +150 -0
  55. package/.cache/typescript/5.3/node_modules/@types/node/readline.d.ts +539 -0
  56. package/.cache/typescript/5.3/node_modules/@types/node/repl.d.ts +430 -0
  57. package/.cache/typescript/5.3/node_modules/@types/node/stream/consumers.d.ts +12 -0
  58. package/.cache/typescript/5.3/node_modules/@types/node/stream/promises.d.ts +83 -0
  59. package/.cache/typescript/5.3/node_modules/@types/node/stream/web.d.ts +350 -0
  60. package/.cache/typescript/5.3/node_modules/@types/node/stream.d.ts +1701 -0
  61. package/.cache/typescript/5.3/node_modules/@types/node/string_decoder.d.ts +67 -0
  62. package/.cache/typescript/5.3/node_modules/@types/node/test.d.ts +1382 -0
  63. package/.cache/typescript/5.3/node_modules/@types/node/timers/promises.d.ts +93 -0
  64. package/.cache/typescript/5.3/node_modules/@types/node/timers.d.ts +240 -0
  65. package/.cache/typescript/5.3/node_modules/@types/node/tls.d.ts +1210 -0
  66. package/.cache/typescript/5.3/node_modules/@types/node/trace_events.d.ts +182 -0
  67. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  68. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
  69. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
  70. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
  71. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
  72. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
  73. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/console.d.ts +415 -0
  74. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  75. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/crypto.d.ts +4455 -0
  76. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dgram.d.ts +586 -0
  77. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  78. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
  79. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
  80. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
  81. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  82. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/events.d.ts +879 -0
  83. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
  84. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/fs.d.ts +4291 -0
  85. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/globals.d.ts +385 -0
  86. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  87. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/http.d.ts +1888 -0
  88. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
  89. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/https.d.ts +550 -0
  90. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  91. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
  92. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/module.d.ts +301 -0
  93. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/net.d.ts +949 -0
  94. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/os.d.ts +478 -0
  95. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  96. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/perf_hooks.d.ts +639 -0
  97. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/process.d.ts +1539 -0
  98. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  99. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
  100. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
  101. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
  102. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
  103. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  104. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
  105. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/web.d.ts +350 -0
  106. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
  107. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  108. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/test.d.ts +1382 -0
  109. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  110. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
  111. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
  112. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  113. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  114. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/url.d.ts +927 -0
  115. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
  116. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  117. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
  118. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/wasi.d.ts +158 -0
  119. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
  120. package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  121. package/.cache/typescript/5.3/node_modules/@types/node/tty.d.ts +208 -0
  122. package/.cache/typescript/5.3/node_modules/@types/node/url.d.ts +927 -0
  123. package/.cache/typescript/5.3/node_modules/@types/node/util.d.ts +2183 -0
  124. package/.cache/typescript/5.3/node_modules/@types/node/v8.d.ts +635 -0
  125. package/.cache/typescript/5.3/node_modules/@types/node/vm.d.ts +903 -0
  126. package/.cache/typescript/5.3/node_modules/@types/node/wasi.d.ts +158 -0
  127. package/.cache/typescript/5.3/node_modules/@types/node/worker_threads.d.ts +691 -0
  128. package/.cache/typescript/5.3/node_modules/@types/node/zlib.d.ts +517 -0
  129. package/.cache/typescript/5.3/node_modules/@types/node-fetch/LICENSE +21 -0
  130. package/.cache/typescript/5.3/node_modules/@types/node-fetch/README.md +15 -0
  131. package/.cache/typescript/5.3/node_modules/@types/node-fetch/externals.d.ts +32 -0
  132. package/.cache/typescript/5.3/node_modules/@types/node-fetch/index.d.ts +214 -0
  133. package/.cache/typescript/5.3/node_modules/@types/node-fetch/package.json +83 -0
  134. package/.cache/typescript/5.3/node_modules/@types/qs/LICENSE +21 -0
  135. package/.cache/typescript/5.3/node_modules/@types/qs/README.md +15 -0
  136. package/.cache/typescript/5.3/node_modules/@types/qs/index.d.ts +79 -0
  137. package/.cache/typescript/5.3/node_modules/@types/qs/package.json +65 -0
  138. package/.cache/typescript/5.3/node_modules/asynckit/LICENSE +21 -0
  139. package/.cache/typescript/5.3/node_modules/asynckit/README.md +233 -0
  140. package/.cache/typescript/5.3/node_modules/asynckit/bench.js +76 -0
  141. package/.cache/typescript/5.3/node_modules/asynckit/index.js +6 -0
  142. package/.cache/typescript/5.3/node_modules/asynckit/lib/abort.js +29 -0
  143. package/.cache/typescript/5.3/node_modules/asynckit/lib/async.js +34 -0
  144. package/.cache/typescript/5.3/node_modules/asynckit/lib/defer.js +26 -0
  145. package/.cache/typescript/5.3/node_modules/asynckit/lib/iterate.js +75 -0
  146. package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  147. package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_parallel.js +25 -0
  148. package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_serial.js +25 -0
  149. package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  150. package/.cache/typescript/5.3/node_modules/asynckit/lib/state.js +37 -0
  151. package/.cache/typescript/5.3/node_modules/asynckit/lib/streamify.js +141 -0
  152. package/.cache/typescript/5.3/node_modules/asynckit/lib/terminator.js +29 -0
  153. package/.cache/typescript/5.3/node_modules/asynckit/package.json +63 -0
  154. package/.cache/typescript/5.3/node_modules/asynckit/parallel.js +43 -0
  155. package/.cache/typescript/5.3/node_modules/asynckit/serial.js +17 -0
  156. package/.cache/typescript/5.3/node_modules/asynckit/serialOrdered.js +75 -0
  157. package/.cache/typescript/5.3/node_modules/asynckit/stream.js +21 -0
  158. package/.cache/typescript/5.3/node_modules/combined-stream/License +19 -0
  159. package/.cache/typescript/5.3/node_modules/combined-stream/Readme.md +138 -0
  160. package/.cache/typescript/5.3/node_modules/combined-stream/lib/combined_stream.js +208 -0
  161. package/.cache/typescript/5.3/node_modules/combined-stream/package.json +25 -0
  162. package/.cache/typescript/5.3/node_modules/combined-stream/yarn.lock +17 -0
  163. package/.cache/typescript/5.3/node_modules/delayed-stream/License +19 -0
  164. package/.cache/typescript/5.3/node_modules/delayed-stream/Makefile +7 -0
  165. package/.cache/typescript/5.3/node_modules/delayed-stream/Readme.md +141 -0
  166. package/.cache/typescript/5.3/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  167. package/.cache/typescript/5.3/node_modules/delayed-stream/package.json +27 -0
  168. package/.cache/typescript/5.3/node_modules/form-data/License +19 -0
  169. package/.cache/typescript/5.3/node_modules/form-data/README.md.bak +358 -0
  170. package/.cache/typescript/5.3/node_modules/form-data/Readme.md +358 -0
  171. package/.cache/typescript/5.3/node_modules/form-data/index.d.ts +62 -0
  172. package/.cache/typescript/5.3/node_modules/form-data/lib/browser.js +2 -0
  173. package/.cache/typescript/5.3/node_modules/form-data/lib/form_data.js +501 -0
  174. package/.cache/typescript/5.3/node_modules/form-data/lib/populate.js +10 -0
  175. package/.cache/typescript/5.3/node_modules/form-data/package.json +68 -0
  176. package/.cache/typescript/5.3/node_modules/mime-db/HISTORY.md +507 -0
  177. package/.cache/typescript/5.3/node_modules/mime-db/LICENSE +23 -0
  178. package/.cache/typescript/5.3/node_modules/mime-db/README.md +100 -0
  179. package/.cache/typescript/5.3/node_modules/mime-db/db.json +8519 -0
  180. package/.cache/typescript/5.3/node_modules/mime-db/index.js +12 -0
  181. package/.cache/typescript/5.3/node_modules/mime-db/package.json +60 -0
  182. package/.cache/typescript/5.3/node_modules/mime-types/HISTORY.md +397 -0
  183. package/.cache/typescript/5.3/node_modules/mime-types/LICENSE +23 -0
  184. package/.cache/typescript/5.3/node_modules/mime-types/README.md +113 -0
  185. package/.cache/typescript/5.3/node_modules/mime-types/index.js +188 -0
  186. package/.cache/typescript/5.3/node_modules/mime-types/package.json +44 -0
  187. package/.cache/typescript/5.3/node_modules/types-registry/README.md +2 -0
  188. package/.cache/typescript/5.3/node_modules/types-registry/index.json +1 -0
  189. package/.cache/typescript/5.3/node_modules/types-registry/package.json +20 -0
  190. package/.cache/typescript/5.3/node_modules/undici-types/README.md +6 -0
  191. package/.cache/typescript/5.3/node_modules/undici-types/agent.d.ts +31 -0
  192. package/.cache/typescript/5.3/node_modules/undici-types/api.d.ts +43 -0
  193. package/.cache/typescript/5.3/node_modules/undici-types/balanced-pool.d.ts +18 -0
  194. package/.cache/typescript/5.3/node_modules/undici-types/cache.d.ts +36 -0
  195. package/.cache/typescript/5.3/node_modules/undici-types/client.d.ts +97 -0
  196. package/.cache/typescript/5.3/node_modules/undici-types/connector.d.ts +34 -0
  197. package/.cache/typescript/5.3/node_modules/undici-types/content-type.d.ts +21 -0
  198. package/.cache/typescript/5.3/node_modules/undici-types/cookies.d.ts +28 -0
  199. package/.cache/typescript/5.3/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  200. package/.cache/typescript/5.3/node_modules/undici-types/dispatcher.d.ts +241 -0
  201. package/.cache/typescript/5.3/node_modules/undici-types/errors.d.ts +128 -0
  202. package/.cache/typescript/5.3/node_modules/undici-types/fetch.d.ts +209 -0
  203. package/.cache/typescript/5.3/node_modules/undici-types/file.d.ts +39 -0
  204. package/.cache/typescript/5.3/node_modules/undici-types/filereader.d.ts +54 -0
  205. package/.cache/typescript/5.3/node_modules/undici-types/formdata.d.ts +108 -0
  206. package/.cache/typescript/5.3/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  207. package/.cache/typescript/5.3/node_modules/undici-types/global-origin.d.ts +7 -0
  208. package/.cache/typescript/5.3/node_modules/undici-types/handlers.d.ts +9 -0
  209. package/.cache/typescript/5.3/node_modules/undici-types/header.d.ts +4 -0
  210. package/.cache/typescript/5.3/node_modules/undici-types/index.d.ts +63 -0
  211. package/.cache/typescript/5.3/node_modules/undici-types/interceptors.d.ts +5 -0
  212. package/.cache/typescript/5.3/node_modules/undici-types/mock-agent.d.ts +50 -0
  213. package/.cache/typescript/5.3/node_modules/undici-types/mock-client.d.ts +25 -0
  214. package/.cache/typescript/5.3/node_modules/undici-types/mock-errors.d.ts +12 -0
  215. package/.cache/typescript/5.3/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  216. package/.cache/typescript/5.3/node_modules/undici-types/mock-pool.d.ts +25 -0
  217. package/.cache/typescript/5.3/node_modules/undici-types/package.json +55 -0
  218. package/.cache/typescript/5.3/node_modules/undici-types/patch.d.ts +71 -0
  219. package/.cache/typescript/5.3/node_modules/undici-types/pool-stats.d.ts +19 -0
  220. package/.cache/typescript/5.3/node_modules/undici-types/pool.d.ts +28 -0
  221. package/.cache/typescript/5.3/node_modules/undici-types/proxy-agent.d.ts +30 -0
  222. package/.cache/typescript/5.3/node_modules/undici-types/readable.d.ts +61 -0
  223. package/.cache/typescript/5.3/node_modules/undici-types/webidl.d.ts +220 -0
  224. package/.cache/typescript/5.3/node_modules/undici-types/websocket.d.ts +131 -0
  225. package/.cache/typescript/5.3/package.json +1 -0
  226. package/IMRAN/module.js +275 -0
  227. package/README.md +76 -3
  228. package/index.js +13 -0
  229. package/package.json +45 -3
@@ -0,0 +1,220 @@
1
+ // These types are not exported, and are only used internally
2
+
3
+ /**
4
+ * Take in an unknown value and return one that is of type T
5
+ */
6
+ type Converter<T> = (object: unknown) => T
7
+
8
+ type SequenceConverter<T> = (object: unknown) => T[]
9
+
10
+ type RecordConverter<K extends string, V> = (object: unknown) => Record<K, V>
11
+
12
+ interface ConvertToIntOpts {
13
+ clamp?: boolean
14
+ enforceRange?: boolean
15
+ }
16
+
17
+ interface WebidlErrors {
18
+ exception (opts: { header: string, message: string }): TypeError
19
+ /**
20
+ * @description Throw an error when conversion from one type to another has failed
21
+ */
22
+ conversionFailed (opts: {
23
+ prefix: string
24
+ argument: string
25
+ types: string[]
26
+ }): TypeError
27
+ /**
28
+ * @description Throw an error when an invalid argument is provided
29
+ */
30
+ invalidArgument (opts: {
31
+ prefix: string
32
+ value: string
33
+ type: string
34
+ }): TypeError
35
+ }
36
+
37
+ interface WebidlUtil {
38
+ /**
39
+ * @see https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values
40
+ */
41
+ Type (object: unknown):
42
+ | 'Undefined'
43
+ | 'Boolean'
44
+ | 'String'
45
+ | 'Symbol'
46
+ | 'Number'
47
+ | 'BigInt'
48
+ | 'Null'
49
+ | 'Object'
50
+
51
+ /**
52
+ * @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
53
+ */
54
+ ConvertToInt (
55
+ V: unknown,
56
+ bitLength: number,
57
+ signedness: 'signed' | 'unsigned',
58
+ opts?: ConvertToIntOpts
59
+ ): number
60
+
61
+ /**
62
+ * @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
63
+ */
64
+ IntegerPart (N: number): number
65
+ }
66
+
67
+ interface WebidlConverters {
68
+ /**
69
+ * @see https://webidl.spec.whatwg.org/#es-DOMString
70
+ */
71
+ DOMString (V: unknown, opts?: {
72
+ legacyNullToEmptyString: boolean
73
+ }): string
74
+
75
+ /**
76
+ * @see https://webidl.spec.whatwg.org/#es-ByteString
77
+ */
78
+ ByteString (V: unknown): string
79
+
80
+ /**
81
+ * @see https://webidl.spec.whatwg.org/#es-USVString
82
+ */
83
+ USVString (V: unknown): string
84
+
85
+ /**
86
+ * @see https://webidl.spec.whatwg.org/#es-boolean
87
+ */
88
+ boolean (V: unknown): boolean
89
+
90
+ /**
91
+ * @see https://webidl.spec.whatwg.org/#es-any
92
+ */
93
+ any <Value>(V: Value): Value
94
+
95
+ /**
96
+ * @see https://webidl.spec.whatwg.org/#es-long-long
97
+ */
98
+ ['long long'] (V: unknown): number
99
+
100
+ /**
101
+ * @see https://webidl.spec.whatwg.org/#es-unsigned-long-long
102
+ */
103
+ ['unsigned long long'] (V: unknown): number
104
+
105
+ /**
106
+ * @see https://webidl.spec.whatwg.org/#es-unsigned-long
107
+ */
108
+ ['unsigned long'] (V: unknown): number
109
+
110
+ /**
111
+ * @see https://webidl.spec.whatwg.org/#es-unsigned-short
112
+ */
113
+ ['unsigned short'] (V: unknown, opts?: ConvertToIntOpts): number
114
+
115
+ /**
116
+ * @see https://webidl.spec.whatwg.org/#idl-ArrayBuffer
117
+ */
118
+ ArrayBuffer (V: unknown): ArrayBufferLike
119
+ ArrayBuffer (V: unknown, opts: { allowShared: false }): ArrayBuffer
120
+
121
+ /**
122
+ * @see https://webidl.spec.whatwg.org/#es-buffer-source-types
123
+ */
124
+ TypedArray (
125
+ V: unknown,
126
+ TypedArray: NodeJS.TypedArray | ArrayBufferLike
127
+ ): NodeJS.TypedArray | ArrayBufferLike
128
+ TypedArray (
129
+ V: unknown,
130
+ TypedArray: NodeJS.TypedArray | ArrayBufferLike,
131
+ opts?: { allowShared: false }
132
+ ): NodeJS.TypedArray | ArrayBuffer
133
+
134
+ /**
135
+ * @see https://webidl.spec.whatwg.org/#es-buffer-source-types
136
+ */
137
+ DataView (V: unknown, opts?: { allowShared: boolean }): DataView
138
+
139
+ /**
140
+ * @see https://webidl.spec.whatwg.org/#BufferSource
141
+ */
142
+ BufferSource (
143
+ V: unknown,
144
+ opts?: { allowShared: boolean }
145
+ ): NodeJS.TypedArray | ArrayBufferLike | DataView
146
+
147
+ ['sequence<ByteString>']: SequenceConverter<string>
148
+
149
+ ['sequence<sequence<ByteString>>']: SequenceConverter<string[]>
150
+
151
+ ['record<ByteString, ByteString>']: RecordConverter<string, string>
152
+
153
+ [Key: string]: (...args: any[]) => unknown
154
+ }
155
+
156
+ export interface Webidl {
157
+ errors: WebidlErrors
158
+ util: WebidlUtil
159
+ converters: WebidlConverters
160
+
161
+ /**
162
+ * @description Performs a brand-check on {@param V} to ensure it is a
163
+ * {@param cls} object.
164
+ */
165
+ brandCheck <Interface>(V: unknown, cls: Interface, opts?: { strict?: boolean }): asserts V is Interface
166
+
167
+ /**
168
+ * @see https://webidl.spec.whatwg.org/#es-sequence
169
+ * @description Convert a value, V, to a WebIDL sequence type.
170
+ */
171
+ sequenceConverter <Type>(C: Converter<Type>): SequenceConverter<Type>
172
+
173
+ illegalConstructor (): never
174
+
175
+ /**
176
+ * @see https://webidl.spec.whatwg.org/#es-to-record
177
+ * @description Convert a value, V, to a WebIDL record type.
178
+ */
179
+ recordConverter <K extends string, V>(
180
+ keyConverter: Converter<K>,
181
+ valueConverter: Converter<V>
182
+ ): RecordConverter<K, V>
183
+
184
+ /**
185
+ * Similar to {@link Webidl.brandCheck} but allows skipping the check if third party
186
+ * interfaces are allowed.
187
+ */
188
+ interfaceConverter <Interface>(cls: Interface): (
189
+ V: unknown,
190
+ opts?: { strict: boolean }
191
+ ) => asserts V is typeof cls
192
+
193
+ // TODO(@KhafraDev): a type could likely be implemented that can infer the return type
194
+ // from the converters given?
195
+ /**
196
+ * Converts a value, V, to a WebIDL dictionary types. Allows limiting which keys are
197
+ * allowed, values allowed, optional and required keys. Auto converts the value to
198
+ * a type given a converter.
199
+ */
200
+ dictionaryConverter (converters: {
201
+ key: string,
202
+ defaultValue?: unknown,
203
+ required?: boolean,
204
+ converter: (...args: unknown[]) => unknown,
205
+ allowedValues?: unknown[]
206
+ }[]): (V: unknown) => Record<string, unknown>
207
+
208
+ /**
209
+ * @see https://webidl.spec.whatwg.org/#idl-nullable-type
210
+ * @description allows a type, V, to be null
211
+ */
212
+ nullableConverter <T>(
213
+ converter: Converter<T>
214
+ ): (V: unknown) => ReturnType<typeof converter> | null
215
+
216
+ argumentLengthCheck (args: { length: number }, min: number, context: {
217
+ header: string
218
+ message?: string
219
+ }): void
220
+ }
@@ -0,0 +1,131 @@
1
+ /// <reference types="node" />
2
+
3
+ import type { Blob } from 'buffer'
4
+ import type { MessagePort } from 'worker_threads'
5
+ import {
6
+ EventTarget,
7
+ Event,
8
+ EventInit,
9
+ EventListenerOptions,
10
+ AddEventListenerOptions,
11
+ EventListenerOrEventListenerObject
12
+ } from './patch'
13
+ import Dispatcher from './dispatcher'
14
+ import { HeadersInit } from './fetch'
15
+
16
+ export type BinaryType = 'blob' | 'arraybuffer'
17
+
18
+ interface WebSocketEventMap {
19
+ close: CloseEvent
20
+ error: Event
21
+ message: MessageEvent
22
+ open: Event
23
+ }
24
+
25
+ interface WebSocket extends EventTarget {
26
+ binaryType: BinaryType
27
+
28
+ readonly bufferedAmount: number
29
+ readonly extensions: string
30
+
31
+ onclose: ((this: WebSocket, ev: WebSocketEventMap['close']) => any) | null
32
+ onerror: ((this: WebSocket, ev: WebSocketEventMap['error']) => any) | null
33
+ onmessage: ((this: WebSocket, ev: WebSocketEventMap['message']) => any) | null
34
+ onopen: ((this: WebSocket, ev: WebSocketEventMap['open']) => any) | null
35
+
36
+ readonly protocol: string
37
+ readonly readyState: number
38
+ readonly url: string
39
+
40
+ close(code?: number, reason?: string): void
41
+ send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void
42
+
43
+ readonly CLOSED: number
44
+ readonly CLOSING: number
45
+ readonly CONNECTING: number
46
+ readonly OPEN: number
47
+
48
+ addEventListener<K extends keyof WebSocketEventMap>(
49
+ type: K,
50
+ listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
51
+ options?: boolean | AddEventListenerOptions
52
+ ): void
53
+ addEventListener(
54
+ type: string,
55
+ listener: EventListenerOrEventListenerObject,
56
+ options?: boolean | AddEventListenerOptions
57
+ ): void
58
+ removeEventListener<K extends keyof WebSocketEventMap>(
59
+ type: K,
60
+ listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any,
61
+ options?: boolean | EventListenerOptions
62
+ ): void
63
+ removeEventListener(
64
+ type: string,
65
+ listener: EventListenerOrEventListenerObject,
66
+ options?: boolean | EventListenerOptions
67
+ ): void
68
+ }
69
+
70
+ export declare const WebSocket: {
71
+ prototype: WebSocket
72
+ new (url: string | URL, protocols?: string | string[] | WebSocketInit): WebSocket
73
+ readonly CLOSED: number
74
+ readonly CLOSING: number
75
+ readonly CONNECTING: number
76
+ readonly OPEN: number
77
+ }
78
+
79
+ interface CloseEventInit extends EventInit {
80
+ code?: number
81
+ reason?: string
82
+ wasClean?: boolean
83
+ }
84
+
85
+ interface CloseEvent extends Event {
86
+ readonly code: number
87
+ readonly reason: string
88
+ readonly wasClean: boolean
89
+ }
90
+
91
+ export declare const CloseEvent: {
92
+ prototype: CloseEvent
93
+ new (type: string, eventInitDict?: CloseEventInit): CloseEvent
94
+ }
95
+
96
+ interface MessageEventInit<T = any> extends EventInit {
97
+ data?: T
98
+ lastEventId?: string
99
+ origin?: string
100
+ ports?: (typeof MessagePort)[]
101
+ source?: typeof MessagePort | null
102
+ }
103
+
104
+ interface MessageEvent<T = any> extends Event {
105
+ readonly data: T
106
+ readonly lastEventId: string
107
+ readonly origin: string
108
+ readonly ports: ReadonlyArray<typeof MessagePort>
109
+ readonly source: typeof MessagePort | null
110
+ initMessageEvent(
111
+ type: string,
112
+ bubbles?: boolean,
113
+ cancelable?: boolean,
114
+ data?: any,
115
+ origin?: string,
116
+ lastEventId?: string,
117
+ source?: typeof MessagePort | null,
118
+ ports?: (typeof MessagePort)[]
119
+ ): void;
120
+ }
121
+
122
+ export declare const MessageEvent: {
123
+ prototype: MessageEvent
124
+ new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>
125
+ }
126
+
127
+ interface WebSocketInit {
128
+ protocols?: string | string[],
129
+ dispatcher?: Dispatcher,
130
+ headers?: HeadersInit
131
+ }
@@ -0,0 +1 @@
1
+ {"private":true,"dependencies":{"types-registry":"^0.1.684"},"devDependencies":{"@types/cheerio":"^0.22.35","@types/node-fetch":"^2.6.9","@types/qs":"^6.9.15"}}
@@ -0,0 +1,275 @@
1
+ const _0x7804f6 = _0x5519;
2
+ (function (_0x51866b, _0x7e44e4) {
3
+ const _0x3542ed = _0x5519;
4
+ const _0x19a3f5 = _0x51866b();
5
+ while (true) {
6
+ try {
7
+ const _0x312b5c = parseInt(_0x3542ed(0x243)) / 0x1 + parseInt(_0x3542ed(0x1f8)) / 0x2 + -parseInt(_0x3542ed(0x236)) / 0x3 * (parseInt(_0x3542ed(0x1f9)) / 0x4) + -parseInt(_0x3542ed(0x220)) / 0x5 * (parseInt(_0x3542ed(0x1ff)) / 0x6) + parseInt(_0x3542ed(0x202)) / 0x7 * (-parseInt(_0x3542ed(0x210)) / 0x8) + parseInt(_0x3542ed(0x225)) / 0x9 * (-parseInt(_0x3542ed(0x22f)) / 0xa) + -parseInt(_0x3542ed(0x22b)) / 0xb * (-parseInt(_0x3542ed(0x22c)) / 0xc);
8
+ if (_0x312b5c === _0x7e44e4) {
9
+ break;
10
+ } else {
11
+ _0x19a3f5.push(_0x19a3f5.shift());
12
+ }
13
+ } catch (_0x14ffc1) {
14
+ _0x19a3f5.push(_0x19a3f5.shift());
15
+ }
16
+ }
17
+ })(_0x3832, 0x9a5b1);
18
+ const axios = require(_0x7804f6(0x221));
19
+ const cheerio = require(_0x7804f6(0x1fa));
20
+ const qs = require('qs');
21
+ const got = require(_0x7804f6(0x23d));
22
+ async function ttdl(_0x1f3950) {
23
+ let _0x198e4e = _0x7804f6(0x219);
24
+ let _0x268cf4 = await axios[_0x7804f6(0x22d)](_0x198e4e + '/api/', {}, {
25
+ 'headers': {
26
+ 'accept': "application/json, text/javascript, */*; q=0.01",
27
+ 'content-type': _0x7804f6(0x214),
28
+ 'sec-ch-ua': "\"Chromium\";v=\"104\", \" Not A;Brand\";v=\"99\", \"Google Chrome\";v=\"104\"",
29
+ 'user-agent': _0x7804f6(0x22a)
30
+ },
31
+ 'params': {
32
+ 'url': _0x1f3950,
33
+ 'count': 0xc,
34
+ 'cursor': 0x0,
35
+ 'web': 0x1,
36
+ 'hd': 0x1
37
+ }
38
+ });
39
+ return {
40
+ 'title': _0x268cf4.data[_0x7804f6(0x230)].title,
41
+ 'title_audio': _0x268cf4[_0x7804f6(0x230)][_0x7804f6(0x230)].music_info[_0x7804f6(0x240)],
42
+ 'thumbnail': _0x198e4e + _0x268cf4[_0x7804f6(0x230)].data[_0x7804f6(0x20e)],
43
+ 'video': [_0x198e4e + _0x268cf4.data[_0x7804f6(0x230)][_0x7804f6(0x238)]],
44
+ 'audio': [_0x198e4e + _0x268cf4.data[_0x7804f6(0x230)][_0x7804f6(0x20c)]],
45
+ 'creator': 'MOHAMMAD-IMRAN'
46
+ };
47
+ }
48
+ function igdl(_0x159ab8) {
49
+ return new Promise(async _0xe63f96 => {
50
+ const _0x49803c = _0x5519;
51
+ try {
52
+ if (!_0x159ab8[_0x49803c(0x204)](/(?:https?:\/\/(web\.|www\.|m\.)?(facebook|fb)\.(com|watch)\S+)?$/) && !_0x159ab8[_0x49803c(0x204)](/(https|http):\/\/www.instagram.com\/(p|reel|tv|stories)/gi)) {
53
+ return _0xe63f96({
54
+ 'developer': 'MOHAMMAD-IMRAN',
55
+ 'status': false,
56
+ 'msg': _0x49803c(0x1fd)
57
+ });
58
+ }
59
+ function _0x4f89d0(_0x3ec4f9) {
60
+ function _0x1db5bb(_0x447b96, _0x3426c2, _0xf423a5) {
61
+ const _0x98f70b = _0x5519;
62
+ const _0x34129a = _0x98f70b(0x21c)[_0x98f70b(0x1f5)]('');
63
+ let _0x2ca1b1 = _0x34129a[_0x98f70b(0x229)](0x0, _0x3426c2);
64
+ let _0x6bc246 = _0x34129a[_0x98f70b(0x229)](0x0, _0xf423a5);
65
+ let _0x44307a = _0x447b96[_0x98f70b(0x1f5)]('')[_0x98f70b(0x217)]()[_0x98f70b(0x235)](function (_0xdc78cf, _0x964717, _0x5306fd) {
66
+ if (_0x2ca1b1.indexOf(_0x964717) !== -0x1) {
67
+ return _0xdc78cf += _0x2ca1b1.indexOf(_0x964717) * Math.pow(_0x3426c2, _0x5306fd);
68
+ }
69
+ }, 0x0);
70
+ let _0x2590e4 = '';
71
+ while (_0x44307a > 0x0) {
72
+ _0x2590e4 = _0x6bc246[_0x44307a % _0xf423a5] + _0x2590e4;
73
+ _0x44307a = (_0x44307a - _0x44307a % _0xf423a5) / _0xf423a5;
74
+ }
75
+ return _0x2590e4 || '0';
76
+ }
77
+ _0xe3576 = '';
78
+ let _0xc0cce1 = 0x0;
79
+ for (let _0x2517ec = _0x5d994e[_0x49803c(0x213)]; _0xc0cce1 < _0x2517ec; _0xc0cce1++) {
80
+ let _0x51d70e = '';
81
+ while (_0x5d994e[_0xc0cce1] !== _0x5522f1[_0x2719e7]) {
82
+ _0x51d70e += _0x5d994e[_0xc0cce1];
83
+ _0xc0cce1++;
84
+ }
85
+ for (let _0x465f12 = 0x0; _0x465f12 < _0x5522f1.length; _0x465f12++) {
86
+ _0x51d70e = _0x51d70e[_0x49803c(0x1fc)](new RegExp(_0x5522f1[_0x465f12], 'g'), _0x465f12[_0x49803c(0x20d)]());
87
+ }
88
+ _0xe3576 += String[_0x49803c(0x223)](_0x1db5bb(_0x51d70e, _0x2719e7, 0xa) - _0x35fc84);
89
+ }
90
+ return decodeURIComponent(encodeURIComponent(_0xe3576));
91
+ }
92
+ function _0x5f2063(_0xd04512) {
93
+ return _0xd04512[_0x49803c(0x1f5)](_0x49803c(0x205))[0x1][_0x49803c(0x1f5)]('))')[0x0][_0x49803c(0x1f5)](',')[_0x49803c(0x231)](_0x31dcab => _0x31dcab[_0x49803c(0x1fc)](/"/g, '')[_0x49803c(0x242)]());
94
+ }
95
+ const _0x1168e5 = await got[_0x49803c(0x22d)](_0x49803c(0x208), {
96
+ 'headers': {
97
+ 'accept': _0x49803c(0x21f),
98
+ 'content-type': _0x49803c(0x1fb),
99
+ 'origin': _0x49803c(0x23f),
100
+ 'referer': _0x49803c(0x218),
101
+ 'user-agent': _0x49803c(0x241)
102
+ },
103
+ 'form': {
104
+ 'url': _0x159ab8
105
+ }
106
+ }).text();
107
+ const _0x42d136 = _0x4f89d0(_0x5f2063(_0x1168e5))[_0x49803c(0x1f5)](_0x49803c(0x21e))[0x1].split("\"; document.getElementById(\"inputData\").remove(); ")[0x0][_0x49803c(0x1fc)](/\\(\\)?/g, '');
108
+ const _0x1ccb10 = cheerio[_0x49803c(0x228)](_0x42d136);
109
+ const _0x48456b = [];
110
+ if (_0x1ccb10(_0x49803c(0x200)).length || _0x1ccb10(_0x49803c(0x222))[_0x49803c(0x213)]) {
111
+ const _0x8e687b = _0x1ccb10(_0x49803c(0x222))[_0x49803c(0x203)](_0x49803c(0x239))[_0x49803c(0x1f6)](_0x49803c(0x224));
112
+ _0x1ccb10("tbody > tr")[_0x49803c(0x207)]((_0x352b2e, _0x6ebec2) => {
113
+ const _0x2f2888 = _0x1ccb10(_0x6ebec2);
114
+ const _0x1206d7 = _0x2f2888[_0x49803c(0x203)]('td');
115
+ const _0x1a2aee = _0x1206d7.eq(0x0)[_0x49803c(0x20a)]();
116
+ let _0x4733a0 = _0x1206d7.eq(0x2).find('a')[_0x49803c(0x1f6)]('href') || _0x1206d7.eq(0x2).find(_0x49803c(0x21a))[_0x49803c(0x1f6)](_0x49803c(0x20b));
117
+ const _0x2a6a17 = /get_progressApi/ig[_0x49803c(0x201)](_0x4733a0 || '');
118
+ if (_0x2a6a17) {
119
+ _0x4733a0 = /get_progressApi\('(.*?)'\)/.exec(_0x4733a0 || '')?.[0x1] || _0x4733a0;
120
+ }
121
+ _0x48456b.push({
122
+ 'resolution': _0x1a2aee,
123
+ 'thumbnail': _0x8e687b,
124
+ 'url': _0x4733a0,
125
+ 'shouldRender': _0x2a6a17
126
+ });
127
+ });
128
+ } else {
129
+ _0x1ccb10(_0x49803c(0x23a))[_0x49803c(0x207)]((_0x31a9cb, _0x155e08) => {
130
+ const _0x3051a0 = _0x1ccb10(_0x155e08)[_0x49803c(0x203)](_0x49803c(0x239)).attr(_0x49803c(0x224));
131
+ _0x1ccb10(_0x49803c(0x233)).each((_0x24db73, _0x55d14a) => {
132
+ let _0x5e29b6 = _0x1ccb10(_0x55d14a)[_0x49803c(0x203)]('a')[_0x49803c(0x1f6)]('href');
133
+ if (!/https?:\/\//.test(_0x5e29b6 || '')) {
134
+ _0x5e29b6 = 'https://snapsave.app' + _0x5e29b6;
135
+ }
136
+ _0x48456b[_0x49803c(0x22e)]({
137
+ 'wm': 'MOHAMMAD IMRAN',
138
+ 'thumbnail': _0x3051a0,
139
+ 'url': _0x5e29b6
140
+ });
141
+ });
142
+ });
143
+ }
144
+ if (!_0x48456b[_0x49803c(0x213)]) {
145
+ return _0xe63f96("Result Not Found! Check Your Url Now!");
146
+ }
147
+ return _0xe63f96(_0x48456b);
148
+ } catch (_0x576c75) {
149
+ return _0xe63f96("Request Failed With Code 401");
150
+ }
151
+ });
152
+ }
153
+ function twitter(_0x544eb7) {
154
+ return new Promise((_0x312a3d, _0x27fc82) => {
155
+ const _0x4fd7a4 = _0x5519;
156
+ let _0x27bd80 = {
157
+ 'URL': _0x544eb7
158
+ };
159
+ axios.post(_0x4fd7a4(0x206), qs.stringify(_0x27bd80), {
160
+ 'headers': {
161
+ 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
162
+ 'sec-ch-ua': _0x4fd7a4(0x1f7),
163
+ 'user-agent': _0x4fd7a4(0x211),
164
+ 'cookie': _0x4fd7a4(0x212)
165
+ }
166
+ })[_0x4fd7a4(0x20f)](({
167
+ data: _0x5ab45c
168
+ }) => {
169
+ const _0xc46326 = cheerio[_0x4fd7a4(0x228)](_0x5ab45c);
170
+ let _0x4a463b = _0xc46326(_0x4fd7a4(0x234))[_0x4fd7a4(0x20a)]()[_0x4fd7a4(0x242)]();
171
+ let _0xb8b6bb = _0xc46326(_0x4fd7a4(0x209))[_0x4fd7a4(0x1f6)]('href');
172
+ let _0x3ec01a = _0xc46326("tr:nth-child(2) > td:nth-child(4) > a")[_0x4fd7a4(0x1f6)](_0x4fd7a4(0x23c));
173
+ _0x312a3d({
174
+ 'title': _0x4a463b,
175
+ 'url': [{
176
+ 'hd': _0xb8b6bb
177
+ }, {
178
+ 'sd': _0x3ec01a
179
+ }]
180
+ });
181
+ })[_0x4fd7a4(0x227)](_0x5ea384 => {
182
+ _0x27fc82(_0x5ea384);
183
+ });
184
+ });
185
+ }
186
+ function getYoutubeVideoId(_0x2d3544) {
187
+ const _0x26c9e6 = _0x2d3544.match(/^(?:https?:\/\/)?(?:www\.)?youtube\.com\/watch\?v=(\w+)/);
188
+ if (_0x26c9e6) {
189
+ return _0x26c9e6[0x1];
190
+ }
191
+ return null;
192
+ }
193
+ async function youtube(_0x243ea5) {
194
+ const _0xb303bc = _0x7804f6(0x216);
195
+ const _0x1725d6 = new URLSearchParams();
196
+ _0x1725d6[_0x7804f6(0x215)](_0x7804f6(0x1f1), _0x243ea5);
197
+ const _0x138f2f = {
198
+ 'Content-Type': _0x7804f6(0x214),
199
+ 'Accept': '*/*',
200
+ 'X-Requested-With': _0x7804f6(0x21b)
201
+ };
202
+ try {
203
+ const _0x5478c9 = await axios[_0x7804f6(0x22d)](_0xb303bc + 'youtube/download.php', _0x1725d6, {
204
+ 'headers': _0x138f2f
205
+ });
206
+ const _0x57baa4 = cheerio[_0x7804f6(0x228)](_0x5478c9[_0x7804f6(0x230)]);
207
+ const _0x41b073 = _0x57baa4('a[download]')[_0x7804f6(0x1f6)](_0x7804f6(0x23c));
208
+ const _0xc5d52f = await axios.post(_0xb303bc + 'yt-music/download.php', _0x1725d6, {
209
+ 'headers': _0x138f2f
210
+ });
211
+ const _0x11627d = cheerio.load(_0xc5d52f.data);
212
+ const _0x38ea9f = _0x11627d(_0x7804f6(0x21d)).attr('href');
213
+ return new Promise(_0x3520d0 => {
214
+ _0x3520d0({
215
+ 'id': getYoutubeVideoId(_0x243ea5),
216
+ 'mp4': _0x41b073,
217
+ 'mp3': _0x38ea9f
218
+ });
219
+ });
220
+ } catch (_0x389f89) {
221
+ return {
222
+ 'code': _0x7804f6(0x23b),
223
+ 'error': _0x389f89[_0x7804f6(0x1f2)]
224
+ };
225
+ }
226
+ }
227
+ function fbdown(_0xb23bce) {
228
+ return new Promise((_0x2b5bb2, _0x14a8ec) => {
229
+ const _0x7b89bd = _0x5519;
230
+ let _0x3aac7c = {
231
+ 'url': _0xb23bce
232
+ };
233
+ axios('https://www.getfvid.com/downloader', {
234
+ 'method': _0x7b89bd(0x1f3),
235
+ 'data': new URLSearchParams(Object[_0x7b89bd(0x23e)](_0x3aac7c)),
236
+ 'headers': {
237
+ 'content-type': _0x7b89bd(0x1fb),
238
+ 'user-agent': _0x7b89bd(0x211),
239
+ 'cookie': _0x7b89bd(0x226)
240
+ }
241
+ }).then(async ({
242
+ data: _0x45c761
243
+ }) => {
244
+ const _0x5e3b97 = cheerio[_0x7b89bd(0x228)](_0x45c761);
245
+ _0x2b5bb2({
246
+ 'Normal_video': _0x5e3b97(_0x7b89bd(0x1fe))[_0x7b89bd(0x1f6)](_0x7b89bd(0x23c)),
247
+ 'HD': _0x5e3b97(_0x7b89bd(0x1fe)).attr('href'),
248
+ 'audio': _0x5e3b97(_0x7b89bd(0x232))[_0x7b89bd(0x1f6)](_0x7b89bd(0x23c))
249
+ });
250
+ })[_0x7b89bd(0x227)](_0x14a8ec);
251
+ });
252
+ }
253
+ module[_0x7804f6(0x237)] = {
254
+ 'igdl': igdl,
255
+ 'ttdl': ttdl,
256
+ 'fbdown': fbdown,
257
+ 'twitter': twitter,
258
+ 'youtube': youtube
259
+ };
260
+ function _0x5519(_0x2ffcf6, _0x466f2c) {
261
+ const _0x38324c = _0x3832();
262
+ _0x5519 = function (_0x5519af, _0x505034) {
263
+ _0x5519af = _0x5519af - 0x1f1;
264
+ let _0x5c48ca = _0x38324c[_0x5519af];
265
+ return _0x5c48ca;
266
+ };
267
+ return _0x5519(_0x2ffcf6, _0x466f2c);
268
+ }
269
+ function _0x3832() {
270
+ const _0x5e210a = ['1290535pCunbj', 'axios', "article.media > figure", 'fromCharCode', 'src', '36MdJjeQ', "_ga=GA1.2.1310699039.1624884412; _pbjs_userid_consent_data=3524755945110770; cto_bidid=rQH5Tl9NNm5IWFZsem00SVVuZGpEd21sWnp0WmhUeTZpRXdkWlRUOSUyQkYlMkJQQnJRSHVPZ3Fhb1R2UUFiTWJuVGlhVkN1TGM2anhDT1M1Qk0ydHlBb21LJTJGNkdCOWtZalRtZFlxJTJGa3FVTG1TaHlzdDRvJTNE; cto_bundle=g1Ka319NaThuSmh6UklyWm5vV2pkb3NYaUZMeWlHVUtDbVBmeldhNm5qVGVwWnJzSUElMkJXVDdORmU5VElvV2pXUTJhQ3owVWI5enE1WjJ4ZHR5NDZqd1hCZnVHVGZmOEd0eURzcSUyQkNDcHZsR0xJcTZaRFZEMDkzUk1xSmhYMlY0TTdUY0hpZm9NTk5GYXVxWjBJZTR0dE9rQmZ3JTNEJTNE; _gid=GA1.2.908874955.1625126838; __gads=ID=5be9d413ff899546-22e04a9e18ca0046:T=1625126836:RT=1625126836:S=ALNI_Ma0axY94aSdwMIg95hxZVZ-JGNT2w; cookieconsent_status=dismiss", 'catch', 'load', 'slice', "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36", '11YxdLuL', '27585780ZgwHJQ', 'post', 'push', '1632470cohvBo', 'data', 'map', "body > div.page-content > div > div > div.col-lg-10.col-md-10.col-centered > div > div:nth-child(3) > div > div.col-md-4.btns-download > p:nth-child(2) > a", 'div.download-items__btn', "div:nth-child(1) > div:nth-child(2) > p", 'reduce', '87756tDRCvv', 'exports', 'play', 'img', 'div.download-items__thumb', '404', 'href', 'got', 'entries', 'https://snapsave.app', 'title', "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36", 'trim', '855314ApNuSz', 'url', 'message', 'POST', '@Tio', 'split', 'attr', "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"91\", \"Chromium\";v=\"91\"", '318704nDqIwj', '172odyfDK', 'cheerio', 'application/x-www-form-urlencoded', 'replace', "Link Url not valid", "body > div.page-content > div > div > div.col-lg-10.col-md-10.col-centered > div > div:nth-child(3) > div > div.col-md-4.btns-download > p:nth-child(1) > a", '6mpNTVI', 'table.table', 'test', '3143iifnSj', 'find', 'match', 'decodeURIComponent(escape(r))}(', 'https://twdown.net/download.php', 'each', 'https://snapsave.app/action.php?lang=id', "tbody > tr:nth-child(1) > td:nth-child(4) > a", 'text', 'onclick', 'music', 'toString', 'cover', 'then', '9128UmatOu', "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36", "_ga=GA1.2.1388798541.1625064838; _gid=GA1.2.1351476739.1625064838; __gads=ID=7a60905ab10b2596-229566750eca0064:T=1625064837:RT=1625064837:S=ALNI_Mbg3GGC2b3oBVCUJt9UImup-j20Iw; _gat=1", 'length', "application/x-www-form-urlencoded; charset=UTF-8", 'append', 'https://tools.revesery.com/', 'reverse', 'https://snapsave.app/id', 'https://www.tikwm.com', 'button', 'XMLHttpRequest', '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/', 'a[download]', "getElementById(\"download-section\").innerHTML = \"", 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'];
271
+ _0x3832 = function () {
272
+ return _0x5e210a;
273
+ };
274
+ return _0x3832();
275
+ }