@azuro-org/images-generator 0.0.1 → 0.0.2

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 (2291) hide show
  1. package/README.md +3 -11
  2. package/foo/index.js +28 -0
  3. package/foo/node_modules/.package-lock.json +845 -0
  4. package/foo/node_modules/@azuro-org/images-generator/.nvmrc +1 -0
  5. package/foo/node_modules/@azuro-org/images-generator/.tool-versions +1 -0
  6. package/foo/node_modules/@azuro-org/images-generator/README.md +126 -0
  7. package/foo/node_modules/@azuro-org/images-generator/package.json +44 -0
  8. package/foo/node_modules/@azuro-org/images-generator/rollup.config.js +107 -0
  9. package/foo/node_modules/@azuro-org/images-generator/src/fonts/fivo-sans-modern/bold.woff +0 -0
  10. package/foo/node_modules/@azuro-org/images-generator/src/fonts/fivo-sans-modern/bold.woff2 +0 -0
  11. package/foo/node_modules/@azuro-org/images-generator/src/index.ts +1 -0
  12. package/foo/node_modules/@azuro-org/images-generator/src/templates/_template/index.css +13 -0
  13. package/foo/node_modules/@azuro-org/images-generator/src/templates/_template/index.html +13 -0
  14. package/foo/node_modules/@azuro-org/images-generator/src/templates/_template/index.ts +22 -0
  15. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-nft/example.png +0 -0
  16. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-nft/images/logo.png +0 -0
  17. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-nft/images/separator.png +0 -0
  18. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-nft/images/shadow.png +0 -0
  19. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-nft/images/team1.png +0 -0
  20. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-nft/images/team2.png +0 -0
  21. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-nft/index.html +325 -0
  22. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-nft/index.ts +69 -0
  23. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-og/example.jpeg +0 -0
  24. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-og/images/bg.jpg +0 -0
  25. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-og/images/logo.png +0 -0
  26. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-og/index.html +176 -0
  27. package/foo/node_modules/@azuro-org/images-generator/src/templates/bet-og/index.ts +57 -0
  28. package/foo/node_modules/@azuro-org/images-generator/src/utils/generateImage.ts +89 -0
  29. package/foo/node_modules/@azuro-org/images-generator/src/utils/index.ts +37 -0
  30. package/foo/node_modules/@azuro-org/images-generator/src/utils/types.ts +8 -0
  31. package/foo/node_modules/@azuro-org/images-generator/tsconfig.json +20 -0
  32. package/foo/node_modules/@babel/code-frame/LICENSE +22 -0
  33. package/foo/node_modules/@babel/code-frame/README.md +19 -0
  34. package/foo/node_modules/@babel/code-frame/lib/index.js +163 -0
  35. package/foo/node_modules/@babel/code-frame/package.json +30 -0
  36. package/foo/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  37. package/foo/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  38. package/foo/node_modules/@babel/helper-validator-identifier/lib/identifier.js +86 -0
  39. package/foo/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  40. package/foo/node_modules/@babel/helper-validator-identifier/lib/index.js +59 -0
  41. package/foo/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  42. package/foo/node_modules/@babel/helper-validator-identifier/lib/keyword.js +40 -0
  43. package/foo/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  44. package/foo/node_modules/@babel/helper-validator-identifier/package.json +28 -0
  45. package/foo/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +75 -0
  46. package/foo/node_modules/@babel/highlight/LICENSE +22 -0
  47. package/foo/node_modules/@babel/highlight/README.md +19 -0
  48. package/foo/node_modules/@babel/highlight/lib/index.js +116 -0
  49. package/foo/node_modules/@babel/highlight/package.json +30 -0
  50. package/foo/node_modules/@types/node/LICENSE +21 -0
  51. package/foo/node_modules/@types/node/README.md +16 -0
  52. package/foo/node_modules/@types/node/assert/strict.d.ts +8 -0
  53. package/foo/node_modules/@types/node/assert.d.ts +961 -0
  54. package/foo/node_modules/@types/node/async_hooks.d.ts +513 -0
  55. package/foo/node_modules/@types/node/buffer.d.ts +2282 -0
  56. package/foo/node_modules/@types/node/child_process.d.ts +1369 -0
  57. package/foo/node_modules/@types/node/cluster.d.ts +410 -0
  58. package/foo/node_modules/@types/node/console.d.ts +412 -0
  59. package/foo/node_modules/@types/node/constants.d.ts +18 -0
  60. package/foo/node_modules/@types/node/crypto.d.ts +3964 -0
  61. package/foo/node_modules/@types/node/dgram.d.ts +545 -0
  62. package/foo/node_modules/@types/node/diagnostics_channel.d.ts +153 -0
  63. package/foo/node_modules/@types/node/dns/promises.d.ts +370 -0
  64. package/foo/node_modules/@types/node/dns.d.ts +659 -0
  65. package/foo/node_modules/@types/node/dom-events.d.ts +126 -0
  66. package/foo/node_modules/@types/node/domain.d.ts +170 -0
  67. package/foo/node_modules/@types/node/events.d.ts +678 -0
  68. package/foo/node_modules/@types/node/fs/promises.d.ts +1138 -0
  69. package/foo/node_modules/@types/node/fs.d.ts +3872 -0
  70. package/foo/node_modules/@types/node/globals.d.ts +300 -0
  71. package/foo/node_modules/@types/node/globals.global.d.ts +1 -0
  72. package/foo/node_modules/@types/node/http.d.ts +1651 -0
  73. package/foo/node_modules/@types/node/http2.d.ts +2134 -0
  74. package/foo/node_modules/@types/node/https.d.ts +542 -0
  75. package/foo/node_modules/@types/node/index.d.ts +134 -0
  76. package/foo/node_modules/@types/node/inspector.d.ts +2741 -0
  77. package/foo/node_modules/@types/node/module.d.ts +115 -0
  78. package/foo/node_modules/@types/node/net.d.ts +877 -0
  79. package/foo/node_modules/@types/node/os.d.ts +466 -0
  80. package/foo/node_modules/@types/node/package.json +237 -0
  81. package/foo/node_modules/@types/node/path.d.ts +191 -0
  82. package/foo/node_modules/@types/node/perf_hooks.d.ts +625 -0
  83. package/foo/node_modules/@types/node/process.d.ts +1482 -0
  84. package/foo/node_modules/@types/node/punycode.d.ts +117 -0
  85. package/foo/node_modules/@types/node/querystring.d.ts +131 -0
  86. package/foo/node_modules/@types/node/readline/promises.d.ts +143 -0
  87. package/foo/node_modules/@types/node/readline.d.ts +653 -0
  88. package/foo/node_modules/@types/node/repl.d.ts +424 -0
  89. package/foo/node_modules/@types/node/stream/consumers.d.ts +12 -0
  90. package/foo/node_modules/@types/node/stream/promises.d.ts +42 -0
  91. package/foo/node_modules/@types/node/stream/web.d.ts +330 -0
  92. package/foo/node_modules/@types/node/stream.d.ts +1340 -0
  93. package/foo/node_modules/@types/node/string_decoder.d.ts +67 -0
  94. package/foo/node_modules/@types/node/test.d.ts +692 -0
  95. package/foo/node_modules/@types/node/timers/promises.d.ts +93 -0
  96. package/foo/node_modules/@types/node/timers.d.ts +94 -0
  97. package/foo/node_modules/@types/node/tls.d.ts +1107 -0
  98. package/foo/node_modules/@types/node/trace_events.d.ts +171 -0
  99. package/foo/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  100. package/foo/node_modules/@types/node/ts4.8/assert.d.ts +961 -0
  101. package/foo/node_modules/@types/node/ts4.8/async_hooks.d.ts +513 -0
  102. package/foo/node_modules/@types/node/ts4.8/buffer.d.ts +2283 -0
  103. package/foo/node_modules/@types/node/ts4.8/child_process.d.ts +1369 -0
  104. package/foo/node_modules/@types/node/ts4.8/cluster.d.ts +410 -0
  105. package/foo/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  106. package/foo/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  107. package/foo/node_modules/@types/node/ts4.8/crypto.d.ts +3964 -0
  108. package/foo/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  109. package/foo/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +153 -0
  110. package/foo/node_modules/@types/node/ts4.8/dns/promises.d.ts +370 -0
  111. package/foo/node_modules/@types/node/ts4.8/dns.d.ts +659 -0
  112. package/foo/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  113. package/foo/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  114. package/foo/node_modules/@types/node/ts4.8/events.d.ts +678 -0
  115. package/foo/node_modules/@types/node/ts4.8/fs/promises.d.ts +1138 -0
  116. package/foo/node_modules/@types/node/ts4.8/fs.d.ts +3872 -0
  117. package/foo/node_modules/@types/node/ts4.8/globals.d.ts +294 -0
  118. package/foo/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  119. package/foo/node_modules/@types/node/ts4.8/http.d.ts +1651 -0
  120. package/foo/node_modules/@types/node/ts4.8/http2.d.ts +2134 -0
  121. package/foo/node_modules/@types/node/ts4.8/https.d.ts +542 -0
  122. package/foo/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  123. package/foo/node_modules/@types/node/ts4.8/inspector.d.ts +2741 -0
  124. package/foo/node_modules/@types/node/ts4.8/module.d.ts +115 -0
  125. package/foo/node_modules/@types/node/ts4.8/net.d.ts +877 -0
  126. package/foo/node_modules/@types/node/ts4.8/os.d.ts +466 -0
  127. package/foo/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  128. package/foo/node_modules/@types/node/ts4.8/perf_hooks.d.ts +625 -0
  129. package/foo/node_modules/@types/node/ts4.8/process.d.ts +1482 -0
  130. package/foo/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  131. package/foo/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  132. package/foo/node_modules/@types/node/ts4.8/readline/promises.d.ts +143 -0
  133. package/foo/node_modules/@types/node/ts4.8/readline.d.ts +653 -0
  134. package/foo/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  135. package/foo/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  136. package/foo/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  137. package/foo/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  138. package/foo/node_modules/@types/node/ts4.8/stream.d.ts +1340 -0
  139. package/foo/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  140. package/foo/node_modules/@types/node/ts4.8/test.d.ts +692 -0
  141. package/foo/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  142. package/foo/node_modules/@types/node/ts4.8/timers.d.ts +94 -0
  143. package/foo/node_modules/@types/node/ts4.8/tls.d.ts +1107 -0
  144. package/foo/node_modules/@types/node/ts4.8/trace_events.d.ts +171 -0
  145. package/foo/node_modules/@types/node/ts4.8/tty.d.ts +206 -0
  146. package/foo/node_modules/@types/node/ts4.8/url.d.ts +897 -0
  147. package/foo/node_modules/@types/node/ts4.8/util.d.ts +2011 -0
  148. package/foo/node_modules/@types/node/ts4.8/v8.d.ts +396 -0
  149. package/foo/node_modules/@types/node/ts4.8/vm.d.ts +509 -0
  150. package/foo/node_modules/@types/node/ts4.8/wasi.d.ts +158 -0
  151. package/foo/node_modules/@types/node/ts4.8/worker_threads.d.ts +689 -0
  152. package/foo/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  153. package/foo/node_modules/@types/node/tty.d.ts +206 -0
  154. package/foo/node_modules/@types/node/url.d.ts +897 -0
  155. package/foo/node_modules/@types/node/util.d.ts +2011 -0
  156. package/foo/node_modules/@types/node/v8.d.ts +396 -0
  157. package/foo/node_modules/@types/node/vm.d.ts +509 -0
  158. package/foo/node_modules/@types/node/wasi.d.ts +158 -0
  159. package/foo/node_modules/@types/node/worker_threads.d.ts +689 -0
  160. package/foo/node_modules/@types/node/zlib.d.ts +517 -0
  161. package/foo/node_modules/@types/yauzl/LICENSE +21 -0
  162. package/foo/node_modules/@types/yauzl/README.md +16 -0
  163. package/foo/node_modules/@types/yauzl/index.d.ts +98 -0
  164. package/foo/node_modules/@types/yauzl/package.json +27 -0
  165. package/foo/node_modules/agent-base/README.md +145 -0
  166. package/foo/node_modules/agent-base/dist/src/index.d.ts +78 -0
  167. package/foo/node_modules/agent-base/dist/src/index.js +203 -0
  168. package/foo/node_modules/agent-base/dist/src/index.js.map +1 -0
  169. package/foo/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
  170. package/foo/node_modules/agent-base/dist/src/promisify.js +18 -0
  171. package/foo/node_modules/agent-base/dist/src/promisify.js.map +1 -0
  172. package/foo/node_modules/agent-base/package.json +64 -0
  173. package/foo/node_modules/agent-base/src/index.ts +345 -0
  174. package/foo/node_modules/agent-base/src/promisify.ts +33 -0
  175. package/foo/node_modules/ansi-styles/index.js +165 -0
  176. package/foo/node_modules/ansi-styles/license +9 -0
  177. package/foo/node_modules/ansi-styles/package.json +56 -0
  178. package/foo/node_modules/ansi-styles/readme.md +147 -0
  179. package/foo/node_modules/argparse/CHANGELOG.md +216 -0
  180. package/foo/node_modules/argparse/LICENSE +254 -0
  181. package/foo/node_modules/argparse/README.md +84 -0
  182. package/foo/node_modules/argparse/argparse.js +3707 -0
  183. package/foo/node_modules/argparse/lib/sub.js +67 -0
  184. package/foo/node_modules/argparse/lib/textwrap.js +440 -0
  185. package/foo/node_modules/argparse/package.json +31 -0
  186. package/foo/node_modules/axios/CHANGELOG.md +906 -0
  187. package/foo/node_modules/axios/LICENSE +19 -0
  188. package/foo/node_modules/axios/README.md +909 -0
  189. package/foo/node_modules/axios/SECURITY.md +5 -0
  190. package/foo/node_modules/axios/UPGRADE_GUIDE.md +168 -0
  191. package/foo/node_modules/axios/dist/axios.js +2293 -0
  192. package/foo/node_modules/axios/dist/axios.map +1 -0
  193. package/foo/node_modules/axios/dist/axios.min.js +2 -0
  194. package/foo/node_modules/axios/dist/axios.min.map +1 -0
  195. package/foo/node_modules/axios/index.d.ts +221 -0
  196. package/foo/node_modules/axios/index.js +1 -0
  197. package/foo/node_modules/axios/lib/adapters/README.md +37 -0
  198. package/foo/node_modules/axios/lib/adapters/http.js +404 -0
  199. package/foo/node_modules/axios/lib/adapters/xhr.js +212 -0
  200. package/foo/node_modules/axios/lib/axios.js +57 -0
  201. package/foo/node_modules/axios/lib/cancel/Cancel.js +19 -0
  202. package/foo/node_modules/axios/lib/cancel/CancelToken.js +119 -0
  203. package/foo/node_modules/axios/lib/cancel/isCancel.js +5 -0
  204. package/foo/node_modules/axios/lib/core/Axios.js +148 -0
  205. package/foo/node_modules/axios/lib/core/InterceptorManager.js +54 -0
  206. package/foo/node_modules/axios/lib/core/README.md +8 -0
  207. package/foo/node_modules/axios/lib/core/buildFullPath.js +20 -0
  208. package/foo/node_modules/axios/lib/core/createError.js +18 -0
  209. package/foo/node_modules/axios/lib/core/dispatchRequest.js +87 -0
  210. package/foo/node_modules/axios/lib/core/enhanceError.js +43 -0
  211. package/foo/node_modules/axios/lib/core/mergeConfig.js +99 -0
  212. package/foo/node_modules/axios/lib/core/settle.js +25 -0
  213. package/foo/node_modules/axios/lib/core/transformData.js +22 -0
  214. package/foo/node_modules/axios/lib/defaults/index.js +131 -0
  215. package/foo/node_modules/axios/lib/defaults/transitional.js +7 -0
  216. package/foo/node_modules/axios/lib/env/README.md +3 -0
  217. package/foo/node_modules/axios/lib/env/data.js +3 -0
  218. package/foo/node_modules/axios/lib/helpers/README.md +7 -0
  219. package/foo/node_modules/axios/lib/helpers/bind.js +11 -0
  220. package/foo/node_modules/axios/lib/helpers/buildURL.js +70 -0
  221. package/foo/node_modules/axios/lib/helpers/combineURLs.js +14 -0
  222. package/foo/node_modules/axios/lib/helpers/cookies.js +53 -0
  223. package/foo/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
  224. package/foo/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
  225. package/foo/node_modules/axios/lib/helpers/isAxiosError.js +13 -0
  226. package/foo/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
  227. package/foo/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
  228. package/foo/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
  229. package/foo/node_modules/axios/lib/helpers/spread.js +27 -0
  230. package/foo/node_modules/axios/lib/helpers/toFormData.js +55 -0
  231. package/foo/node_modules/axios/lib/helpers/validator.js +82 -0
  232. package/foo/node_modules/axios/lib/utils.js +349 -0
  233. package/foo/node_modules/axios/package.json +86 -0
  234. package/foo/node_modules/axios/tsconfig.json +14 -0
  235. package/foo/node_modules/axios/tslint.json +6 -0
  236. package/foo/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  237. package/foo/node_modules/balanced-match/LICENSE.md +21 -0
  238. package/foo/node_modules/balanced-match/README.md +97 -0
  239. package/foo/node_modules/balanced-match/index.js +62 -0
  240. package/foo/node_modules/balanced-match/package.json +48 -0
  241. package/foo/node_modules/base64-js/LICENSE +21 -0
  242. package/foo/node_modules/base64-js/README.md +34 -0
  243. package/foo/node_modules/base64-js/base64js.min.js +1 -0
  244. package/foo/node_modules/base64-js/index.d.ts +3 -0
  245. package/foo/node_modules/base64-js/index.js +150 -0
  246. package/foo/node_modules/base64-js/package.json +47 -0
  247. package/foo/node_modules/bl/.travis.yml +17 -0
  248. package/foo/node_modules/bl/BufferList.js +396 -0
  249. package/foo/node_modules/bl/LICENSE.md +13 -0
  250. package/foo/node_modules/bl/README.md +247 -0
  251. package/foo/node_modules/bl/bl.js +84 -0
  252. package/foo/node_modules/bl/package.json +37 -0
  253. package/foo/node_modules/bl/test/convert.js +21 -0
  254. package/foo/node_modules/bl/test/indexOf.js +492 -0
  255. package/foo/node_modules/bl/test/isBufferList.js +32 -0
  256. package/foo/node_modules/bl/test/test.js +869 -0
  257. package/foo/node_modules/brace-expansion/LICENSE +21 -0
  258. package/foo/node_modules/brace-expansion/README.md +129 -0
  259. package/foo/node_modules/brace-expansion/index.js +201 -0
  260. package/foo/node_modules/brace-expansion/package.json +47 -0
  261. package/foo/node_modules/buffer/AUTHORS.md +70 -0
  262. package/foo/node_modules/buffer/LICENSE +21 -0
  263. package/foo/node_modules/buffer/README.md +410 -0
  264. package/foo/node_modules/buffer/index.d.ts +186 -0
  265. package/foo/node_modules/buffer/index.js +1817 -0
  266. package/foo/node_modules/buffer/package.json +96 -0
  267. package/foo/node_modules/buffer-crc32/LICENSE +19 -0
  268. package/foo/node_modules/buffer-crc32/README.md +47 -0
  269. package/foo/node_modules/buffer-crc32/index.js +111 -0
  270. package/foo/node_modules/buffer-crc32/package.json +39 -0
  271. package/foo/node_modules/builtin-modules/builtin-modules.json +43 -0
  272. package/foo/node_modules/builtin-modules/index.d.ts +14 -0
  273. package/foo/node_modules/builtin-modules/index.js +11 -0
  274. package/foo/node_modules/builtin-modules/license +9 -0
  275. package/foo/node_modules/builtin-modules/package.json +44 -0
  276. package/foo/node_modules/builtin-modules/readme.md +44 -0
  277. package/foo/node_modules/builtin-modules/static.d.ts +14 -0
  278. package/foo/node_modules/builtin-modules/static.js +2 -0
  279. package/foo/node_modules/callsites/index.d.ts +96 -0
  280. package/foo/node_modules/callsites/index.js +13 -0
  281. package/foo/node_modules/callsites/license +9 -0
  282. package/foo/node_modules/callsites/package.json +39 -0
  283. package/foo/node_modules/callsites/readme.md +48 -0
  284. package/foo/node_modules/chalk/index.js +228 -0
  285. package/foo/node_modules/chalk/index.js.flow +93 -0
  286. package/foo/node_modules/chalk/license +9 -0
  287. package/foo/node_modules/chalk/package.json +71 -0
  288. package/foo/node_modules/chalk/readme.md +314 -0
  289. package/foo/node_modules/chalk/templates.js +128 -0
  290. package/foo/node_modules/chalk/types/index.d.ts +97 -0
  291. package/foo/node_modules/chownr/LICENSE +15 -0
  292. package/foo/node_modules/chownr/README.md +3 -0
  293. package/foo/node_modules/chownr/chownr.js +167 -0
  294. package/foo/node_modules/chownr/package.json +29 -0
  295. package/foo/node_modules/chromium-bidi/LICENSE +201 -0
  296. package/foo/node_modules/chromium-bidi/README.md +395 -0
  297. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiServer.d.ts +40 -0
  298. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiServer.js +89 -0
  299. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiServer.js.map +1 -0
  300. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiTransport.d.ts +22 -0
  301. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiTransport.js +19 -0
  302. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/BidiTransport.js.map +1 -0
  303. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/CdpConnection.d.ts +32 -0
  304. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/CdpConnection.js +19 -0
  305. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/CdpConnection.js.map +1 -0
  306. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/CommandProcessor.d.ts +46 -0
  307. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/CommandProcessor.js +136 -0
  308. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/CommandProcessor.js.map +1 -0
  309. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/OutgoingBidiMessage.d.ts +25 -0
  310. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/OutgoingBidiMessage.js +42 -0
  311. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/OutgoingBidiMessage.js.map +1 -0
  312. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/bidiMapper.d.ts +25 -0
  313. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/bidiMapper.js +24 -0
  314. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/bidiMapper.js.map +1 -0
  315. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextImpl.d.ts +43 -0
  316. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextImpl.js +375 -0
  317. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextImpl.js.map +1 -0
  318. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextProcessor.d.ts +47 -0
  319. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextProcessor.js +238 -0
  320. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextProcessor.js.map +1 -0
  321. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextStorage.d.ts +26 -0
  322. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextStorage.js +50 -0
  323. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/context/browsingContextStorage.js.map +1 -0
  324. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/EventManager.d.ts +32 -0
  325. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/EventManager.js +167 -0
  326. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/EventManager.js.map +1 -0
  327. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/SubscriptionManager.d.ts +25 -0
  328. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/SubscriptionManager.js +128 -0
  329. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/SubscriptionManager.js.map +1 -0
  330. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/SubscriptionManager.spec.d.ts +16 -0
  331. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/SubscriptionManager.spec.js +175 -0
  332. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/events/SubscriptionManager.spec.js.map +1 -0
  333. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper.d.ts +23 -0
  334. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper.js +176 -0
  335. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper.js.map +1 -0
  336. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper_getRemoteValuesText.spec.d.ts +17 -0
  337. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper_getRemoteValuesText.spec.js +65 -0
  338. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper_getRemoteValuesText.spec.js.map +1 -0
  339. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper_logMessageFormatter.spec.d.ts +17 -0
  340. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper_logMessageFormatter.spec.js +378 -0
  341. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logHelper_logMessageFormatter.spec.js.map +1 -0
  342. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logManager.d.ts +8 -0
  343. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logManager.js +136 -0
  344. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/log/logManager.js.map +1 -0
  345. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/realm.d.ts +56 -0
  346. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/realm.js +185 -0
  347. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/realm.js.map +1 -0
  348. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/realmStorage.d.ts +38 -0
  349. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/realmStorage.js +72 -0
  350. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/realmStorage.js.map +1 -0
  351. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/scriptEvaluator.d.ts +41 -0
  352. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/scriptEvaluator.js +365 -0
  353. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/domains/script/scriptEvaluator.js.map +1 -0
  354. package/foo/node_modules/chromium-bidi/lib/cjs/bidiMapper/tsconfig.tsbuildinfo +1 -0
  355. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/bidiServerRunner.d.ts +29 -0
  356. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/bidiServerRunner.js +157 -0
  357. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/bidiServerRunner.js.map +1 -0
  358. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/index.d.ts +17 -0
  359. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/index.js +112 -0
  360. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/index.js.map +1 -0
  361. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/mapperReader.d.ts +17 -0
  362. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/mapperReader.js +28 -0
  363. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/mapperReader.js.map +1 -0
  364. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/mapperServer.d.ts +32 -0
  365. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/mapperServer.js +139 -0
  366. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/mapperServer.js.map +1 -0
  367. package/foo/node_modules/chromium-bidi/lib/cjs/bidiServer/tsconfig.tsbuildinfo +1 -0
  368. package/foo/node_modules/chromium-bidi/lib/cjs/bidiTab/bidiTab.d.ts +30 -0
  369. package/foo/node_modules/chromium-bidi/lib/cjs/bidiTab/bidiTab.js +248 -0
  370. package/foo/node_modules/chromium-bidi/lib/cjs/bidiTab/bidiTab.js.map +1 -0
  371. package/foo/node_modules/chromium-bidi/lib/cjs/bidiTab/mapperTabPage.d.ts +19 -0
  372. package/foo/node_modules/chromium-bidi/lib/cjs/bidiTab/mapperTabPage.js +74 -0
  373. package/foo/node_modules/chromium-bidi/lib/cjs/bidiTab/mapperTabPage.js.map +1 -0
  374. package/foo/node_modules/chromium-bidi/lib/cjs/bidiTab/tsconfig.tsbuildinfo +1 -0
  375. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpClient.d.ts +41 -0
  376. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpClient.js +50 -0
  377. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpClient.js.map +1 -0
  378. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpClient.spec.d.ts +17 -0
  379. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpClient.spec.js +194 -0
  380. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpClient.spec.js.map +1 -0
  381. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpConnection.d.ts +42 -0
  382. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpConnection.js +121 -0
  383. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpConnection.js.map +1 -0
  384. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpConnection.spec.d.ts +17 -0
  385. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpConnection.spec.js +154 -0
  386. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpConnection.spec.js.map +1 -0
  387. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.d.ts +28 -0
  388. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.js +19 -0
  389. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/cdpMessage.js.map +1 -0
  390. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/index.d.ts +19 -0
  391. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/index.js +26 -0
  392. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/index.js.map +1 -0
  393. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/stubTransport.spec.d.ts +28 -0
  394. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/stubTransport.spec.js +44 -0
  395. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/stubTransport.spec.js.map +1 -0
  396. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/tsconfig.tsbuildinfo +1 -0
  397. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/websocketTransport.d.ts +26 -0
  398. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/websocketTransport.js +43 -0
  399. package/foo/node_modules/chromium-bidi/lib/cjs/cdp/websocketTransport.js.map +1 -0
  400. package/foo/node_modules/chromium-bidi/lib/cjs/protocol/protocol.d.ts +518 -0
  401. package/foo/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js +101 -0
  402. package/foo/node_modules/chromium-bidi/lib/cjs/protocol/protocol.js.map +1 -0
  403. package/foo/node_modules/chromium-bidi/lib/cjs/protocol/tsconfig.tsbuildinfo +1 -0
  404. package/foo/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.d.ts +765 -0
  405. package/foo/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.js +385 -0
  406. package/foo/node_modules/chromium-bidi/lib/cjs/protocol-parser/protocol-parser.js.map +1 -0
  407. package/foo/node_modules/chromium-bidi/lib/cjs/protocol-parser/tsconfig.tsbuildinfo +1 -0
  408. package/foo/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.d.ts +51 -0
  409. package/foo/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js +59 -0
  410. package/foo/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.js.map +1 -0
  411. package/foo/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.spec.d.ts +16 -0
  412. package/foo/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.spec.js +109 -0
  413. package/foo/node_modules/chromium-bidi/lib/cjs/utils/EventEmitter.spec.js.map +1 -0
  414. package/foo/node_modules/chromium-bidi/lib/cjs/utils/buffer.d.ts +29 -0
  415. package/foo/node_modules/chromium-bidi/lib/cjs/utils/buffer.js +49 -0
  416. package/foo/node_modules/chromium-bidi/lib/cjs/utils/buffer.js.map +1 -0
  417. package/foo/node_modules/chromium-bidi/lib/cjs/utils/buffer.spec.d.ts +17 -0
  418. package/foo/node_modules/chromium-bidi/lib/cjs/utils/buffer.spec.js +68 -0
  419. package/foo/node_modules/chromium-bidi/lib/cjs/utils/buffer.spec.js.map +1 -0
  420. package/foo/node_modules/chromium-bidi/lib/cjs/utils/deferred.d.ts +27 -0
  421. package/foo/node_modules/chromium-bidi/lib/cjs/utils/deferred.js +54 -0
  422. package/foo/node_modules/chromium-bidi/lib/cjs/utils/deferred.js.map +1 -0
  423. package/foo/node_modules/chromium-bidi/lib/cjs/utils/idWrapper.d.ts +24 -0
  424. package/foo/node_modules/chromium-bidi/lib/cjs/utils/idWrapper.js +34 -0
  425. package/foo/node_modules/chromium-bidi/lib/cjs/utils/idWrapper.js.map +1 -0
  426. package/foo/node_modules/chromium-bidi/lib/cjs/utils/idWrapper.spec.d.ts +17 -0
  427. package/foo/node_modules/chromium-bidi/lib/cjs/utils/idWrapper.spec.js +53 -0
  428. package/foo/node_modules/chromium-bidi/lib/cjs/utils/idWrapper.spec.js.map +1 -0
  429. package/foo/node_modules/chromium-bidi/lib/cjs/utils/log.d.ts +23 -0
  430. package/foo/node_modules/chromium-bidi/lib/cjs/utils/log.js +27 -0
  431. package/foo/node_modules/chromium-bidi/lib/cjs/utils/log.js.map +1 -0
  432. package/foo/node_modules/chromium-bidi/lib/cjs/utils/processingQueue.d.ts +22 -0
  433. package/foo/node_modules/chromium-bidi/lib/cjs/utils/processingQueue.js +60 -0
  434. package/foo/node_modules/chromium-bidi/lib/cjs/utils/processingQueue.js.map +1 -0
  435. package/foo/node_modules/chromium-bidi/lib/cjs/utils/processingQueue.spec.d.ts +17 -0
  436. package/foo/node_modules/chromium-bidi/lib/cjs/utils/processingQueue.spec.js +105 -0
  437. package/foo/node_modules/chromium-bidi/lib/cjs/utils/processingQueue.spec.js.map +1 -0
  438. package/foo/node_modules/chromium-bidi/lib/cjs/utils/transport.d.ts +25 -0
  439. package/foo/node_modules/chromium-bidi/lib/cjs/utils/transport.js +19 -0
  440. package/foo/node_modules/chromium-bidi/lib/cjs/utils/transport.js.map +1 -0
  441. package/foo/node_modules/chromium-bidi/lib/cjs/utils/tsconfig.tsbuildinfo +1 -0
  442. package/foo/node_modules/chromium-bidi/lib/iife/mapperTab.js +21 -0
  443. package/foo/node_modules/chromium-bidi/lib/iife/mapperTab.js.map +1 -0
  444. package/foo/node_modules/chromium-bidi/package.json +78 -0
  445. package/foo/node_modules/color-convert/CHANGELOG.md +54 -0
  446. package/foo/node_modules/color-convert/LICENSE +21 -0
  447. package/foo/node_modules/color-convert/README.md +68 -0
  448. package/foo/node_modules/color-convert/conversions.js +868 -0
  449. package/foo/node_modules/color-convert/index.js +78 -0
  450. package/foo/node_modules/color-convert/package.json +46 -0
  451. package/foo/node_modules/color-convert/route.js +97 -0
  452. package/foo/node_modules/color-name/.eslintrc.json +43 -0
  453. package/foo/node_modules/color-name/LICENSE +8 -0
  454. package/foo/node_modules/color-name/README.md +11 -0
  455. package/foo/node_modules/color-name/index.js +152 -0
  456. package/foo/node_modules/color-name/package.json +25 -0
  457. package/foo/node_modules/color-name/test.js +7 -0
  458. package/foo/node_modules/concat-map/.travis.yml +4 -0
  459. package/foo/node_modules/concat-map/LICENSE +18 -0
  460. package/foo/node_modules/concat-map/README.markdown +62 -0
  461. package/foo/node_modules/concat-map/example/map.js +6 -0
  462. package/foo/node_modules/concat-map/index.js +13 -0
  463. package/foo/node_modules/concat-map/package.json +43 -0
  464. package/foo/node_modules/concat-map/test/map.js +39 -0
  465. package/foo/node_modules/cosmiconfig/LICENSE +22 -0
  466. package/foo/node_modules/cosmiconfig/README.md +582 -0
  467. package/foo/node_modules/cosmiconfig/dist/Explorer.d.ts +14 -0
  468. package/foo/node_modules/cosmiconfig/dist/Explorer.d.ts.map +1 -0
  469. package/foo/node_modules/cosmiconfig/dist/Explorer.js +123 -0
  470. package/foo/node_modules/cosmiconfig/dist/Explorer.js.map +1 -0
  471. package/foo/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +21 -0
  472. package/foo/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +1 -0
  473. package/foo/node_modules/cosmiconfig/dist/ExplorerBase.js +142 -0
  474. package/foo/node_modules/cosmiconfig/dist/ExplorerBase.js.map +1 -0
  475. package/foo/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +14 -0
  476. package/foo/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +1 -0
  477. package/foo/node_modules/cosmiconfig/dist/ExplorerSync.js +123 -0
  478. package/foo/node_modules/cosmiconfig/dist/ExplorerSync.js.map +1 -0
  479. package/foo/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +5 -0
  480. package/foo/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +1 -0
  481. package/foo/node_modules/cosmiconfig/dist/cacheWrapper.js +32 -0
  482. package/foo/node_modules/cosmiconfig/dist/cacheWrapper.js.map +1 -0
  483. package/foo/node_modules/cosmiconfig/dist/getDirectory.d.ts +4 -0
  484. package/foo/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +1 -0
  485. package/foo/node_modules/cosmiconfig/dist/getDirectory.js +38 -0
  486. package/foo/node_modules/cosmiconfig/dist/getDirectory.js.map +1 -0
  487. package/foo/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +5 -0
  488. package/foo/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +1 -0
  489. package/foo/node_modules/cosmiconfig/dist/getPropertyByPath.js +28 -0
  490. package/foo/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +1 -0
  491. package/foo/node_modules/cosmiconfig/dist/index.d.ts +45 -0
  492. package/foo/node_modules/cosmiconfig/dist/index.d.ts.map +1 -0
  493. package/foo/node_modules/cosmiconfig/dist/index.js +82 -0
  494. package/foo/node_modules/cosmiconfig/dist/index.js.map +1 -0
  495. package/foo/node_modules/cosmiconfig/dist/loaders.d.ts +4 -0
  496. package/foo/node_modules/cosmiconfig/dist/loaders.d.ts.map +1 -0
  497. package/foo/node_modules/cosmiconfig/dist/loaders.js +58 -0
  498. package/foo/node_modules/cosmiconfig/dist/loaders.js.map +1 -0
  499. package/foo/node_modules/cosmiconfig/dist/readFile.d.ts +7 -0
  500. package/foo/node_modules/cosmiconfig/dist/readFile.d.ts.map +1 -0
  501. package/foo/node_modules/cosmiconfig/dist/readFile.js +56 -0
  502. package/foo/node_modules/cosmiconfig/dist/readFile.js.map +1 -0
  503. package/foo/node_modules/cosmiconfig/dist/types.d.ts +20 -0
  504. package/foo/node_modules/cosmiconfig/dist/types.d.ts.map +1 -0
  505. package/foo/node_modules/cosmiconfig/dist/types.js +6 -0
  506. package/foo/node_modules/cosmiconfig/dist/types.js.map +1 -0
  507. package/foo/node_modules/cosmiconfig/package.json +146 -0
  508. package/foo/node_modules/cross-fetch/LICENSE +21 -0
  509. package/foo/node_modules/cross-fetch/README.md +169 -0
  510. package/foo/node_modules/cross-fetch/dist/browser-polyfill.js +532 -0
  511. package/foo/node_modules/cross-fetch/dist/browser-ponyfill.js +554 -0
  512. package/foo/node_modules/cross-fetch/dist/cross-fetch.js +2 -0
  513. package/foo/node_modules/cross-fetch/dist/cross-fetch.js.map +1 -0
  514. package/foo/node_modules/cross-fetch/dist/node-polyfill.js +11 -0
  515. package/foo/node_modules/cross-fetch/dist/node-ponyfill.js +22 -0
  516. package/foo/node_modules/cross-fetch/dist/react-native-polyfill.js +12 -0
  517. package/foo/node_modules/cross-fetch/dist/react-native-ponyfill.js +6 -0
  518. package/foo/node_modules/cross-fetch/index.d.ts +14 -0
  519. package/foo/node_modules/cross-fetch/package.json +129 -0
  520. package/foo/node_modules/cross-fetch/polyfill/package.json +8 -0
  521. package/foo/node_modules/dayjs/.editorconfig +6 -0
  522. package/foo/node_modules/dayjs/CHANGELOG.md +877 -0
  523. package/foo/node_modules/dayjs/LICENSE +21 -0
  524. package/foo/node_modules/dayjs/README.md +140 -0
  525. package/foo/node_modules/dayjs/dayjs.min.js +1 -0
  526. package/foo/node_modules/dayjs/esm/constant.js +25 -0
  527. package/foo/node_modules/dayjs/esm/index.d.ts +429 -0
  528. package/foo/node_modules/dayjs/esm/index.js +441 -0
  529. package/foo/node_modules/dayjs/esm/locale/af.js +39 -0
  530. package/foo/node_modules/dayjs/esm/locale/am.js +40 -0
  531. package/foo/node_modules/dayjs/esm/locale/ar-dz.js +41 -0
  532. package/foo/node_modules/dayjs/esm/locale/ar-iq.js +42 -0
  533. package/foo/node_modules/dayjs/esm/locale/ar-kw.js +41 -0
  534. package/foo/node_modules/dayjs/esm/locale/ar-ly.js +27 -0
  535. package/foo/node_modules/dayjs/esm/locale/ar-ma.js +42 -0
  536. package/foo/node_modules/dayjs/esm/locale/ar-sa.js +41 -0
  537. package/foo/node_modules/dayjs/esm/locale/ar-tn.js +42 -0
  538. package/foo/node_modules/dayjs/esm/locale/ar.js +74 -0
  539. package/foo/node_modules/dayjs/esm/locale/az.js +39 -0
  540. package/foo/node_modules/dayjs/esm/locale/be.js +24 -0
  541. package/foo/node_modules/dayjs/esm/locale/bg.js +55 -0
  542. package/foo/node_modules/dayjs/esm/locale/bi.js +39 -0
  543. package/foo/node_modules/dayjs/esm/locale/bm.js +39 -0
  544. package/foo/node_modules/dayjs/esm/locale/bn-bd.js +81 -0
  545. package/foo/node_modules/dayjs/esm/locale/bn.js +72 -0
  546. package/foo/node_modules/dayjs/esm/locale/bo.js +38 -0
  547. package/foo/node_modules/dayjs/esm/locale/br.js +93 -0
  548. package/foo/node_modules/dayjs/esm/locale/bs.js +24 -0
  549. package/foo/node_modules/dayjs/esm/locale/ca.js +44 -0
  550. package/foo/node_modules/dayjs/esm/locale/cs.js +120 -0
  551. package/foo/node_modules/dayjs/esm/locale/cv.js +24 -0
  552. package/foo/node_modules/dayjs/esm/locale/cy.js +39 -0
  553. package/foo/node_modules/dayjs/esm/locale/da.js +39 -0
  554. package/foo/node_modules/dayjs/esm/locale/de-at.js +63 -0
  555. package/foo/node_modules/dayjs/esm/locale/de-ch.js +63 -0
  556. package/foo/node_modules/dayjs/esm/locale/de.js +64 -0
  557. package/foo/node_modules/dayjs/esm/locale/dv.js +39 -0
  558. package/foo/node_modules/dayjs/esm/locale/el.js +39 -0
  559. package/foo/node_modules/dayjs/esm/locale/en-au.js +39 -0
  560. package/foo/node_modules/dayjs/esm/locale/en-ca.js +38 -0
  561. package/foo/node_modules/dayjs/esm/locale/en-gb.js +42 -0
  562. package/foo/node_modules/dayjs/esm/locale/en-ie.js +39 -0
  563. package/foo/node_modules/dayjs/esm/locale/en-il.js +38 -0
  564. package/foo/node_modules/dayjs/esm/locale/en-in.js +42 -0
  565. package/foo/node_modules/dayjs/esm/locale/en-nz.js +41 -0
  566. package/foo/node_modules/dayjs/esm/locale/en-sg.js +39 -0
  567. package/foo/node_modules/dayjs/esm/locale/en-tt.js +42 -0
  568. package/foo/node_modules/dayjs/esm/locale/en.js +12 -0
  569. package/foo/node_modules/dayjs/esm/locale/eo.js +39 -0
  570. package/foo/node_modules/dayjs/esm/locale/es-do.js +39 -0
  571. package/foo/node_modules/dayjs/esm/locale/es-mx.js +38 -0
  572. package/foo/node_modules/dayjs/esm/locale/es-pr.js +39 -0
  573. package/foo/node_modules/dayjs/esm/locale/es-us.js +38 -0
  574. package/foo/node_modules/dayjs/esm/locale/es.js +39 -0
  575. package/foo/node_modules/dayjs/esm/locale/et.js +65 -0
  576. package/foo/node_modules/dayjs/esm/locale/eu.js +43 -0
  577. package/foo/node_modules/dayjs/esm/locale/fa.js +39 -0
  578. package/foo/node_modules/dayjs/esm/locale/fi.js +88 -0
  579. package/foo/node_modules/dayjs/esm/locale/fo.js +39 -0
  580. package/foo/node_modules/dayjs/esm/locale/fr-ca.js +38 -0
  581. package/foo/node_modules/dayjs/esm/locale/fr-ch.js +39 -0
  582. package/foo/node_modules/dayjs/esm/locale/fr.js +41 -0
  583. package/foo/node_modules/dayjs/esm/locale/fy.js +39 -0
  584. package/foo/node_modules/dayjs/esm/locale/ga.js +39 -0
  585. package/foo/node_modules/dayjs/esm/locale/gd.js +39 -0
  586. package/foo/node_modules/dayjs/esm/locale/gl.js +39 -0
  587. package/foo/node_modules/dayjs/esm/locale/gom-latn.js +25 -0
  588. package/foo/node_modules/dayjs/esm/locale/gu.js +38 -0
  589. package/foo/node_modules/dayjs/esm/locale/he.js +78 -0
  590. package/foo/node_modules/dayjs/esm/locale/hi.js +38 -0
  591. package/foo/node_modules/dayjs/esm/locale/hr.js +53 -0
  592. package/foo/node_modules/dayjs/esm/locale/ht.js +38 -0
  593. package/foo/node_modules/dayjs/esm/locale/hu.js +61 -0
  594. package/foo/node_modules/dayjs/esm/locale/hy-am.js +39 -0
  595. package/foo/node_modules/dayjs/esm/locale/id.js +39 -0
  596. package/foo/node_modules/dayjs/esm/locale/index.d.ts +11 -0
  597. package/foo/node_modules/dayjs/esm/locale/is.js +68 -0
  598. package/foo/node_modules/dayjs/esm/locale/it-ch.js +39 -0
  599. package/foo/node_modules/dayjs/esm/locale/it.js +39 -0
  600. package/foo/node_modules/dayjs/esm/locale/ja.js +45 -0
  601. package/foo/node_modules/dayjs/esm/locale/jv.js +39 -0
  602. package/foo/node_modules/dayjs/esm/locale/ka.js +39 -0
  603. package/foo/node_modules/dayjs/esm/locale/kk.js +39 -0
  604. package/foo/node_modules/dayjs/esm/locale/km.js +39 -0
  605. package/foo/node_modules/dayjs/esm/locale/kn.js +38 -0
  606. package/foo/node_modules/dayjs/esm/locale/ko.js +45 -0
  607. package/foo/node_modules/dayjs/esm/locale/ku.js +77 -0
  608. package/foo/node_modules/dayjs/esm/locale/ky.js +39 -0
  609. package/foo/node_modules/dayjs/esm/locale/lb.js +24 -0
  610. package/foo/node_modules/dayjs/esm/locale/lo.js +38 -0
  611. package/foo/node_modules/dayjs/esm/locale/lt.js +70 -0
  612. package/foo/node_modules/dayjs/esm/locale/lv.js +39 -0
  613. package/foo/node_modules/dayjs/esm/locale/me.js +24 -0
  614. package/foo/node_modules/dayjs/esm/locale/mi.js +39 -0
  615. package/foo/node_modules/dayjs/esm/locale/mk.js +39 -0
  616. package/foo/node_modules/dayjs/esm/locale/ml.js +38 -0
  617. package/foo/node_modules/dayjs/esm/locale/mn.js +38 -0
  618. package/foo/node_modules/dayjs/esm/locale/mr.js +23 -0
  619. package/foo/node_modules/dayjs/esm/locale/ms-my.js +39 -0
  620. package/foo/node_modules/dayjs/esm/locale/ms.js +39 -0
  621. package/foo/node_modules/dayjs/esm/locale/mt.js +39 -0
  622. package/foo/node_modules/dayjs/esm/locale/my.js +39 -0
  623. package/foo/node_modules/dayjs/esm/locale/nb.js +40 -0
  624. package/foo/node_modules/dayjs/esm/locale/ne.js +40 -0
  625. package/foo/node_modules/dayjs/esm/locale/nl-be.js +39 -0
  626. package/foo/node_modules/dayjs/esm/locale/nl.js +40 -0
  627. package/foo/node_modules/dayjs/esm/locale/nn.js +39 -0
  628. package/foo/node_modules/dayjs/esm/locale/oc-lnc.js +39 -0
  629. package/foo/node_modules/dayjs/esm/locale/pa-in.js +38 -0
  630. package/foo/node_modules/dayjs/esm/locale/pl.js +87 -0
  631. package/foo/node_modules/dayjs/esm/locale/pt-br.js +38 -0
  632. package/foo/node_modules/dayjs/esm/locale/pt.js +40 -0
  633. package/foo/node_modules/dayjs/esm/locale/rn.js +39 -0
  634. package/foo/node_modules/dayjs/esm/locale/ro.js +39 -0
  635. package/foo/node_modules/dayjs/esm/locale/ru.js +99 -0
  636. package/foo/node_modules/dayjs/esm/locale/rw.js +35 -0
  637. package/foo/node_modules/dayjs/esm/locale/sd.js +39 -0
  638. package/foo/node_modules/dayjs/esm/locale/se.js +39 -0
  639. package/foo/node_modules/dayjs/esm/locale/si.js +38 -0
  640. package/foo/node_modules/dayjs/esm/locale/sk.js +121 -0
  641. package/foo/node_modules/dayjs/esm/locale/sl.js +39 -0
  642. package/foo/node_modules/dayjs/esm/locale/sq.js +39 -0
  643. package/foo/node_modules/dayjs/esm/locale/sr-cyrl.js +74 -0
  644. package/foo/node_modules/dayjs/esm/locale/sr.js +74 -0
  645. package/foo/node_modules/dayjs/esm/locale/ss.js +39 -0
  646. package/foo/node_modules/dayjs/esm/locale/sv-fi.js +46 -0
  647. package/foo/node_modules/dayjs/esm/locale/sv.js +44 -0
  648. package/foo/node_modules/dayjs/esm/locale/sw.js +39 -0
  649. package/foo/node_modules/dayjs/esm/locale/ta.js +38 -0
  650. package/foo/node_modules/dayjs/esm/locale/te.js +38 -0
  651. package/foo/node_modules/dayjs/esm/locale/tet.js +39 -0
  652. package/foo/node_modules/dayjs/esm/locale/tg.js +39 -0
  653. package/foo/node_modules/dayjs/esm/locale/th.js +38 -0
  654. package/foo/node_modules/dayjs/esm/locale/tk.js +39 -0
  655. package/foo/node_modules/dayjs/esm/locale/tl-ph.js +39 -0
  656. package/foo/node_modules/dayjs/esm/locale/tlh.js +24 -0
  657. package/foo/node_modules/dayjs/esm/locale/tr.js +39 -0
  658. package/foo/node_modules/dayjs/esm/locale/types.d.ts +33 -0
  659. package/foo/node_modules/dayjs/esm/locale/tzl.js +24 -0
  660. package/foo/node_modules/dayjs/esm/locale/tzm-latn.js +39 -0
  661. package/foo/node_modules/dayjs/esm/locale/tzm.js +39 -0
  662. package/foo/node_modules/dayjs/esm/locale/ug-cn.js +39 -0
  663. package/foo/node_modules/dayjs/esm/locale/uk.js +77 -0
  664. package/foo/node_modules/dayjs/esm/locale/ur.js +39 -0
  665. package/foo/node_modules/dayjs/esm/locale/uz-latn.js +39 -0
  666. package/foo/node_modules/dayjs/esm/locale/uz.js +39 -0
  667. package/foo/node_modules/dayjs/esm/locale/vi.js +43 -0
  668. package/foo/node_modules/dayjs/esm/locale/x-pseudo.js +39 -0
  669. package/foo/node_modules/dayjs/esm/locale/yo.js +39 -0
  670. package/foo/node_modules/dayjs/esm/locale/zh-cn.js +67 -0
  671. package/foo/node_modules/dayjs/esm/locale/zh-hk.js +44 -0
  672. package/foo/node_modules/dayjs/esm/locale/zh-tw.js +65 -0
  673. package/foo/node_modules/dayjs/esm/locale/zh.js +67 -0
  674. package/foo/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts +4 -0
  675. package/foo/node_modules/dayjs/esm/plugin/advancedFormat/index.js +66 -0
  676. package/foo/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts +10 -0
  677. package/foo/node_modules/dayjs/esm/plugin/arraySupport/index.js +33 -0
  678. package/foo/node_modules/dayjs/esm/plugin/badMutable/index.d.ts +4 -0
  679. package/foo/node_modules/dayjs/esm/plugin/badMutable/index.js +61 -0
  680. package/foo/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts +11 -0
  681. package/foo/node_modules/dayjs/esm/plugin/bigIntSupport/index.js +32 -0
  682. package/foo/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts +4 -0
  683. package/foo/node_modules/dayjs/esm/plugin/buddhistEra/index.js +21 -0
  684. package/foo/node_modules/dayjs/esm/plugin/calendar/index.d.ts +10 -0
  685. package/foo/node_modules/dayjs/esm/plugin/calendar/index.js +32 -0
  686. package/foo/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts +8 -0
  687. package/foo/node_modules/dayjs/esm/plugin/customParseFormat/index.js +320 -0
  688. package/foo/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts +11 -0
  689. package/foo/node_modules/dayjs/esm/plugin/dayOfYear/index.js +9 -0
  690. package/foo/node_modules/dayjs/esm/plugin/devHelper/index.d.ts +4 -0
  691. package/foo/node_modules/dayjs/esm/plugin/devHelper/index.js +38 -0
  692. package/foo/node_modules/dayjs/esm/plugin/duration/index.d.ts +88 -0
  693. package/foo/node_modules/dayjs/esm/plugin/duration/index.js +341 -0
  694. package/foo/node_modules/dayjs/esm/plugin/isBetween/index.d.ts +10 -0
  695. package/foo/node_modules/dayjs/esm/plugin/isBetween/index.js +10 -0
  696. package/foo/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts +10 -0
  697. package/foo/node_modules/dayjs/esm/plugin/isLeapYear/index.js +7 -0
  698. package/foo/node_modules/dayjs/esm/plugin/isMoment/index.d.ts +10 -0
  699. package/foo/node_modules/dayjs/esm/plugin/isMoment/index.js +5 -0
  700. package/foo/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts +10 -0
  701. package/foo/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js +5 -0
  702. package/foo/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts +10 -0
  703. package/foo/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js +5 -0
  704. package/foo/node_modules/dayjs/esm/plugin/isToday/index.d.ts +10 -0
  705. package/foo/node_modules/dayjs/esm/plugin/isToday/index.js +9 -0
  706. package/foo/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts +10 -0
  707. package/foo/node_modules/dayjs/esm/plugin/isTomorrow/index.js +9 -0
  708. package/foo/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts +10 -0
  709. package/foo/node_modules/dayjs/esm/plugin/isYesterday/index.js +9 -0
  710. package/foo/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts +27 -0
  711. package/foo/node_modules/dayjs/esm/plugin/isoWeek/index.js +57 -0
  712. package/foo/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts +10 -0
  713. package/foo/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js +15 -0
  714. package/foo/node_modules/dayjs/esm/plugin/localeData/index.d.ts +44 -0
  715. package/foo/node_modules/dayjs/esm/plugin/localeData/index.js +114 -0
  716. package/foo/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts +4 -0
  717. package/foo/node_modules/dayjs/esm/plugin/localizedFormat/index.js +20 -0
  718. package/foo/node_modules/dayjs/esm/plugin/localizedFormat/utils.js +20 -0
  719. package/foo/node_modules/dayjs/esm/plugin/minMax/index.d.ts +11 -0
  720. package/foo/node_modules/dayjs/esm/plugin/minMax/index.js +36 -0
  721. package/foo/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts +48 -0
  722. package/foo/node_modules/dayjs/esm/plugin/objectSupport/index.js +97 -0
  723. package/foo/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts +44 -0
  724. package/foo/node_modules/dayjs/esm/plugin/pluralGetSet/index.js +7 -0
  725. package/foo/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts +4 -0
  726. package/foo/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js +40 -0
  727. package/foo/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts +26 -0
  728. package/foo/node_modules/dayjs/esm/plugin/quarterOfYear/index.js +41 -0
  729. package/foo/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts +24 -0
  730. package/foo/node_modules/dayjs/esm/plugin/relativeTime/index.js +130 -0
  731. package/foo/node_modules/dayjs/esm/plugin/timezone/index.d.ts +20 -0
  732. package/foo/node_modules/dayjs/esm/plugin/timezone/index.js +185 -0
  733. package/foo/node_modules/dayjs/esm/plugin/toArray/index.d.ts +10 -0
  734. package/foo/node_modules/dayjs/esm/plugin/toArray/index.js +7 -0
  735. package/foo/node_modules/dayjs/esm/plugin/toObject/index.d.ts +20 -0
  736. package/foo/node_modules/dayjs/esm/plugin/toObject/index.js +15 -0
  737. package/foo/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts +8 -0
  738. package/foo/node_modules/dayjs/esm/plugin/updateLocale/index.js +12 -0
  739. package/foo/node_modules/dayjs/esm/plugin/utc/index.d.ts +19 -0
  740. package/foo/node_modules/dayjs/esm/plugin/utc/index.js +188 -0
  741. package/foo/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts +12 -0
  742. package/foo/node_modules/dayjs/esm/plugin/weekOfYear/index.js +44 -0
  743. package/foo/node_modules/dayjs/esm/plugin/weekYear/index.d.ts +10 -0
  744. package/foo/node_modules/dayjs/esm/plugin/weekYear/index.js +19 -0
  745. package/foo/node_modules/dayjs/esm/plugin/weekday/index.d.ts +12 -0
  746. package/foo/node_modules/dayjs/esm/plugin/weekday/index.js +15 -0
  747. package/foo/node_modules/dayjs/esm/utils.js +58 -0
  748. package/foo/node_modules/dayjs/index.d.ts +429 -0
  749. package/foo/node_modules/dayjs/locale/af.js +1 -0
  750. package/foo/node_modules/dayjs/locale/am.js +1 -0
  751. package/foo/node_modules/dayjs/locale/ar-dz.js +1 -0
  752. package/foo/node_modules/dayjs/locale/ar-iq.js +1 -0
  753. package/foo/node_modules/dayjs/locale/ar-kw.js +1 -0
  754. package/foo/node_modules/dayjs/locale/ar-ly.js +1 -0
  755. package/foo/node_modules/dayjs/locale/ar-ma.js +1 -0
  756. package/foo/node_modules/dayjs/locale/ar-sa.js +1 -0
  757. package/foo/node_modules/dayjs/locale/ar-tn.js +1 -0
  758. package/foo/node_modules/dayjs/locale/ar.js +1 -0
  759. package/foo/node_modules/dayjs/locale/az.js +1 -0
  760. package/foo/node_modules/dayjs/locale/be.js +1 -0
  761. package/foo/node_modules/dayjs/locale/bg.js +1 -0
  762. package/foo/node_modules/dayjs/locale/bi.js +1 -0
  763. package/foo/node_modules/dayjs/locale/bm.js +1 -0
  764. package/foo/node_modules/dayjs/locale/bn-bd.js +1 -0
  765. package/foo/node_modules/dayjs/locale/bn.js +1 -0
  766. package/foo/node_modules/dayjs/locale/bo.js +1 -0
  767. package/foo/node_modules/dayjs/locale/br.js +1 -0
  768. package/foo/node_modules/dayjs/locale/bs.js +1 -0
  769. package/foo/node_modules/dayjs/locale/ca.js +1 -0
  770. package/foo/node_modules/dayjs/locale/cs.js +1 -0
  771. package/foo/node_modules/dayjs/locale/cv.js +1 -0
  772. package/foo/node_modules/dayjs/locale/cy.js +1 -0
  773. package/foo/node_modules/dayjs/locale/da.js +1 -0
  774. package/foo/node_modules/dayjs/locale/de-at.js +1 -0
  775. package/foo/node_modules/dayjs/locale/de-ch.js +1 -0
  776. package/foo/node_modules/dayjs/locale/de.js +1 -0
  777. package/foo/node_modules/dayjs/locale/dv.js +1 -0
  778. package/foo/node_modules/dayjs/locale/el.js +1 -0
  779. package/foo/node_modules/dayjs/locale/en-au.js +1 -0
  780. package/foo/node_modules/dayjs/locale/en-ca.js +1 -0
  781. package/foo/node_modules/dayjs/locale/en-gb.js +1 -0
  782. package/foo/node_modules/dayjs/locale/en-ie.js +1 -0
  783. package/foo/node_modules/dayjs/locale/en-il.js +1 -0
  784. package/foo/node_modules/dayjs/locale/en-in.js +1 -0
  785. package/foo/node_modules/dayjs/locale/en-nz.js +1 -0
  786. package/foo/node_modules/dayjs/locale/en-sg.js +1 -0
  787. package/foo/node_modules/dayjs/locale/en-tt.js +1 -0
  788. package/foo/node_modules/dayjs/locale/en.js +1 -0
  789. package/foo/node_modules/dayjs/locale/eo.js +1 -0
  790. package/foo/node_modules/dayjs/locale/es-do.js +1 -0
  791. package/foo/node_modules/dayjs/locale/es-mx.js +1 -0
  792. package/foo/node_modules/dayjs/locale/es-pr.js +1 -0
  793. package/foo/node_modules/dayjs/locale/es-us.js +1 -0
  794. package/foo/node_modules/dayjs/locale/es.js +1 -0
  795. package/foo/node_modules/dayjs/locale/et.js +1 -0
  796. package/foo/node_modules/dayjs/locale/eu.js +1 -0
  797. package/foo/node_modules/dayjs/locale/fa.js +1 -0
  798. package/foo/node_modules/dayjs/locale/fi.js +1 -0
  799. package/foo/node_modules/dayjs/locale/fo.js +1 -0
  800. package/foo/node_modules/dayjs/locale/fr-ca.js +1 -0
  801. package/foo/node_modules/dayjs/locale/fr-ch.js +1 -0
  802. package/foo/node_modules/dayjs/locale/fr.js +1 -0
  803. package/foo/node_modules/dayjs/locale/fy.js +1 -0
  804. package/foo/node_modules/dayjs/locale/ga.js +1 -0
  805. package/foo/node_modules/dayjs/locale/gd.js +1 -0
  806. package/foo/node_modules/dayjs/locale/gl.js +1 -0
  807. package/foo/node_modules/dayjs/locale/gom-latn.js +1 -0
  808. package/foo/node_modules/dayjs/locale/gu.js +1 -0
  809. package/foo/node_modules/dayjs/locale/he.js +1 -0
  810. package/foo/node_modules/dayjs/locale/hi.js +1 -0
  811. package/foo/node_modules/dayjs/locale/hr.js +1 -0
  812. package/foo/node_modules/dayjs/locale/ht.js +1 -0
  813. package/foo/node_modules/dayjs/locale/hu.js +1 -0
  814. package/foo/node_modules/dayjs/locale/hy-am.js +1 -0
  815. package/foo/node_modules/dayjs/locale/id.js +1 -0
  816. package/foo/node_modules/dayjs/locale/index.d.ts +11 -0
  817. package/foo/node_modules/dayjs/locale/is.js +1 -0
  818. package/foo/node_modules/dayjs/locale/it-ch.js +1 -0
  819. package/foo/node_modules/dayjs/locale/it.js +1 -0
  820. package/foo/node_modules/dayjs/locale/ja.js +1 -0
  821. package/foo/node_modules/dayjs/locale/jv.js +1 -0
  822. package/foo/node_modules/dayjs/locale/ka.js +1 -0
  823. package/foo/node_modules/dayjs/locale/kk.js +1 -0
  824. package/foo/node_modules/dayjs/locale/km.js +1 -0
  825. package/foo/node_modules/dayjs/locale/kn.js +1 -0
  826. package/foo/node_modules/dayjs/locale/ko.js +1 -0
  827. package/foo/node_modules/dayjs/locale/ku.js +1 -0
  828. package/foo/node_modules/dayjs/locale/ky.js +1 -0
  829. package/foo/node_modules/dayjs/locale/lb.js +1 -0
  830. package/foo/node_modules/dayjs/locale/lo.js +1 -0
  831. package/foo/node_modules/dayjs/locale/lt.js +1 -0
  832. package/foo/node_modules/dayjs/locale/lv.js +1 -0
  833. package/foo/node_modules/dayjs/locale/me.js +1 -0
  834. package/foo/node_modules/dayjs/locale/mi.js +1 -0
  835. package/foo/node_modules/dayjs/locale/mk.js +1 -0
  836. package/foo/node_modules/dayjs/locale/ml.js +1 -0
  837. package/foo/node_modules/dayjs/locale/mn.js +1 -0
  838. package/foo/node_modules/dayjs/locale/mr.js +1 -0
  839. package/foo/node_modules/dayjs/locale/ms-my.js +1 -0
  840. package/foo/node_modules/dayjs/locale/ms.js +1 -0
  841. package/foo/node_modules/dayjs/locale/mt.js +1 -0
  842. package/foo/node_modules/dayjs/locale/my.js +1 -0
  843. package/foo/node_modules/dayjs/locale/nb.js +1 -0
  844. package/foo/node_modules/dayjs/locale/ne.js +1 -0
  845. package/foo/node_modules/dayjs/locale/nl-be.js +1 -0
  846. package/foo/node_modules/dayjs/locale/nl.js +1 -0
  847. package/foo/node_modules/dayjs/locale/nn.js +1 -0
  848. package/foo/node_modules/dayjs/locale/oc-lnc.js +1 -0
  849. package/foo/node_modules/dayjs/locale/pa-in.js +1 -0
  850. package/foo/node_modules/dayjs/locale/pl.js +1 -0
  851. package/foo/node_modules/dayjs/locale/pt-br.js +1 -0
  852. package/foo/node_modules/dayjs/locale/pt.js +1 -0
  853. package/foo/node_modules/dayjs/locale/rn.js +1 -0
  854. package/foo/node_modules/dayjs/locale/ro.js +1 -0
  855. package/foo/node_modules/dayjs/locale/ru.js +1 -0
  856. package/foo/node_modules/dayjs/locale/rw.js +1 -0
  857. package/foo/node_modules/dayjs/locale/sd.js +1 -0
  858. package/foo/node_modules/dayjs/locale/se.js +1 -0
  859. package/foo/node_modules/dayjs/locale/si.js +1 -0
  860. package/foo/node_modules/dayjs/locale/sk.js +1 -0
  861. package/foo/node_modules/dayjs/locale/sl.js +1 -0
  862. package/foo/node_modules/dayjs/locale/sq.js +1 -0
  863. package/foo/node_modules/dayjs/locale/sr-cyrl.js +1 -0
  864. package/foo/node_modules/dayjs/locale/sr.js +1 -0
  865. package/foo/node_modules/dayjs/locale/ss.js +1 -0
  866. package/foo/node_modules/dayjs/locale/sv-fi.js +1 -0
  867. package/foo/node_modules/dayjs/locale/sv.js +1 -0
  868. package/foo/node_modules/dayjs/locale/sw.js +1 -0
  869. package/foo/node_modules/dayjs/locale/ta.js +1 -0
  870. package/foo/node_modules/dayjs/locale/te.js +1 -0
  871. package/foo/node_modules/dayjs/locale/tet.js +1 -0
  872. package/foo/node_modules/dayjs/locale/tg.js +1 -0
  873. package/foo/node_modules/dayjs/locale/th.js +1 -0
  874. package/foo/node_modules/dayjs/locale/tk.js +1 -0
  875. package/foo/node_modules/dayjs/locale/tl-ph.js +1 -0
  876. package/foo/node_modules/dayjs/locale/tlh.js +1 -0
  877. package/foo/node_modules/dayjs/locale/tr.js +1 -0
  878. package/foo/node_modules/dayjs/locale/types.d.ts +33 -0
  879. package/foo/node_modules/dayjs/locale/tzl.js +1 -0
  880. package/foo/node_modules/dayjs/locale/tzm-latn.js +1 -0
  881. package/foo/node_modules/dayjs/locale/tzm.js +1 -0
  882. package/foo/node_modules/dayjs/locale/ug-cn.js +1 -0
  883. package/foo/node_modules/dayjs/locale/uk.js +1 -0
  884. package/foo/node_modules/dayjs/locale/ur.js +1 -0
  885. package/foo/node_modules/dayjs/locale/uz-latn.js +1 -0
  886. package/foo/node_modules/dayjs/locale/uz.js +1 -0
  887. package/foo/node_modules/dayjs/locale/vi.js +1 -0
  888. package/foo/node_modules/dayjs/locale/x-pseudo.js +1 -0
  889. package/foo/node_modules/dayjs/locale/yo.js +1 -0
  890. package/foo/node_modules/dayjs/locale/zh-cn.js +1 -0
  891. package/foo/node_modules/dayjs/locale/zh-hk.js +1 -0
  892. package/foo/node_modules/dayjs/locale/zh-tw.js +1 -0
  893. package/foo/node_modules/dayjs/locale/zh.js +1 -0
  894. package/foo/node_modules/dayjs/locale.json +1 -0
  895. package/foo/node_modules/dayjs/package.json +99 -0
  896. package/foo/node_modules/dayjs/plugin/advancedFormat.d.ts +4 -0
  897. package/foo/node_modules/dayjs/plugin/advancedFormat.js +1 -0
  898. package/foo/node_modules/dayjs/plugin/arraySupport.d.ts +10 -0
  899. package/foo/node_modules/dayjs/plugin/arraySupport.js +1 -0
  900. package/foo/node_modules/dayjs/plugin/badMutable.d.ts +4 -0
  901. package/foo/node_modules/dayjs/plugin/badMutable.js +1 -0
  902. package/foo/node_modules/dayjs/plugin/bigIntSupport.d.ts +11 -0
  903. package/foo/node_modules/dayjs/plugin/bigIntSupport.js +1 -0
  904. package/foo/node_modules/dayjs/plugin/buddhistEra.d.ts +4 -0
  905. package/foo/node_modules/dayjs/plugin/buddhistEra.js +1 -0
  906. package/foo/node_modules/dayjs/plugin/calendar.d.ts +10 -0
  907. package/foo/node_modules/dayjs/plugin/calendar.js +1 -0
  908. package/foo/node_modules/dayjs/plugin/customParseFormat.d.ts +8 -0
  909. package/foo/node_modules/dayjs/plugin/customParseFormat.js +1 -0
  910. package/foo/node_modules/dayjs/plugin/dayOfYear.d.ts +11 -0
  911. package/foo/node_modules/dayjs/plugin/dayOfYear.js +1 -0
  912. package/foo/node_modules/dayjs/plugin/devHelper.d.ts +4 -0
  913. package/foo/node_modules/dayjs/plugin/devHelper.js +1 -0
  914. package/foo/node_modules/dayjs/plugin/duration.d.ts +88 -0
  915. package/foo/node_modules/dayjs/plugin/duration.js +1 -0
  916. package/foo/node_modules/dayjs/plugin/isBetween.d.ts +10 -0
  917. package/foo/node_modules/dayjs/plugin/isBetween.js +1 -0
  918. package/foo/node_modules/dayjs/plugin/isLeapYear.d.ts +10 -0
  919. package/foo/node_modules/dayjs/plugin/isLeapYear.js +1 -0
  920. package/foo/node_modules/dayjs/plugin/isMoment.d.ts +10 -0
  921. package/foo/node_modules/dayjs/plugin/isMoment.js +1 -0
  922. package/foo/node_modules/dayjs/plugin/isSameOrAfter.d.ts +10 -0
  923. package/foo/node_modules/dayjs/plugin/isSameOrAfter.js +1 -0
  924. package/foo/node_modules/dayjs/plugin/isSameOrBefore.d.ts +10 -0
  925. package/foo/node_modules/dayjs/plugin/isSameOrBefore.js +1 -0
  926. package/foo/node_modules/dayjs/plugin/isToday.d.ts +10 -0
  927. package/foo/node_modules/dayjs/plugin/isToday.js +1 -0
  928. package/foo/node_modules/dayjs/plugin/isTomorrow.d.ts +10 -0
  929. package/foo/node_modules/dayjs/plugin/isTomorrow.js +1 -0
  930. package/foo/node_modules/dayjs/plugin/isYesterday.d.ts +10 -0
  931. package/foo/node_modules/dayjs/plugin/isYesterday.js +1 -0
  932. package/foo/node_modules/dayjs/plugin/isoWeek.d.ts +27 -0
  933. package/foo/node_modules/dayjs/plugin/isoWeek.js +1 -0
  934. package/foo/node_modules/dayjs/plugin/isoWeeksInYear.d.ts +10 -0
  935. package/foo/node_modules/dayjs/plugin/isoWeeksInYear.js +1 -0
  936. package/foo/node_modules/dayjs/plugin/localeData.d.ts +44 -0
  937. package/foo/node_modules/dayjs/plugin/localeData.js +1 -0
  938. package/foo/node_modules/dayjs/plugin/localizedFormat.d.ts +4 -0
  939. package/foo/node_modules/dayjs/plugin/localizedFormat.js +1 -0
  940. package/foo/node_modules/dayjs/plugin/minMax.d.ts +11 -0
  941. package/foo/node_modules/dayjs/plugin/minMax.js +1 -0
  942. package/foo/node_modules/dayjs/plugin/objectSupport.d.ts +48 -0
  943. package/foo/node_modules/dayjs/plugin/objectSupport.js +1 -0
  944. package/foo/node_modules/dayjs/plugin/pluralGetSet.d.ts +44 -0
  945. package/foo/node_modules/dayjs/plugin/pluralGetSet.js +1 -0
  946. package/foo/node_modules/dayjs/plugin/preParsePostFormat.d.ts +4 -0
  947. package/foo/node_modules/dayjs/plugin/preParsePostFormat.js +1 -0
  948. package/foo/node_modules/dayjs/plugin/quarterOfYear.d.ts +26 -0
  949. package/foo/node_modules/dayjs/plugin/quarterOfYear.js +1 -0
  950. package/foo/node_modules/dayjs/plugin/relativeTime.d.ts +24 -0
  951. package/foo/node_modules/dayjs/plugin/relativeTime.js +1 -0
  952. package/foo/node_modules/dayjs/plugin/timezone.d.ts +20 -0
  953. package/foo/node_modules/dayjs/plugin/timezone.js +1 -0
  954. package/foo/node_modules/dayjs/plugin/toArray.d.ts +10 -0
  955. package/foo/node_modules/dayjs/plugin/toArray.js +1 -0
  956. package/foo/node_modules/dayjs/plugin/toObject.d.ts +20 -0
  957. package/foo/node_modules/dayjs/plugin/toObject.js +1 -0
  958. package/foo/node_modules/dayjs/plugin/updateLocale.d.ts +8 -0
  959. package/foo/node_modules/dayjs/plugin/updateLocale.js +1 -0
  960. package/foo/node_modules/dayjs/plugin/utc.d.ts +19 -0
  961. package/foo/node_modules/dayjs/plugin/utc.js +1 -0
  962. package/foo/node_modules/dayjs/plugin/weekOfYear.d.ts +12 -0
  963. package/foo/node_modules/dayjs/plugin/weekOfYear.js +1 -0
  964. package/foo/node_modules/dayjs/plugin/weekYear.d.ts +10 -0
  965. package/foo/node_modules/dayjs/plugin/weekYear.js +1 -0
  966. package/foo/node_modules/dayjs/plugin/weekday.d.ts +12 -0
  967. package/foo/node_modules/dayjs/plugin/weekday.js +1 -0
  968. package/foo/node_modules/debug/LICENSE +20 -0
  969. package/foo/node_modules/debug/README.md +481 -0
  970. package/foo/node_modules/debug/package.json +59 -0
  971. package/foo/node_modules/debug/src/browser.js +269 -0
  972. package/foo/node_modules/debug/src/common.js +274 -0
  973. package/foo/node_modules/debug/src/index.js +10 -0
  974. package/foo/node_modules/debug/src/node.js +263 -0
  975. package/foo/node_modules/devtools-protocol/LICENSE +27 -0
  976. package/foo/node_modules/devtools-protocol/README.md +11 -0
  977. package/foo/node_modules/devtools-protocol/json/browser_protocol.json +22787 -0
  978. package/foo/node_modules/devtools-protocol/json/js_protocol.json +3696 -0
  979. package/foo/node_modules/devtools-protocol/package.json +17 -0
  980. package/foo/node_modules/devtools-protocol/pdl/browser_protocol.pdl +10788 -0
  981. package/foo/node_modules/devtools-protocol/pdl/js_protocol.pdl +1775 -0
  982. package/foo/node_modules/devtools-protocol/types/protocol-mapping.d.ts +4585 -0
  983. package/foo/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts +3899 -0
  984. package/foo/node_modules/devtools-protocol/types/protocol.d.ts +16828 -0
  985. package/foo/node_modules/end-of-stream/LICENSE +21 -0
  986. package/foo/node_modules/end-of-stream/README.md +54 -0
  987. package/foo/node_modules/end-of-stream/index.js +94 -0
  988. package/foo/node_modules/end-of-stream/package.json +37 -0
  989. package/foo/node_modules/error-ex/LICENSE +21 -0
  990. package/foo/node_modules/error-ex/README.md +144 -0
  991. package/foo/node_modules/error-ex/index.js +141 -0
  992. package/foo/node_modules/error-ex/package.json +46 -0
  993. package/foo/node_modules/escape-string-regexp/index.js +11 -0
  994. package/foo/node_modules/escape-string-regexp/license +21 -0
  995. package/foo/node_modules/escape-string-regexp/package.json +41 -0
  996. package/foo/node_modules/escape-string-regexp/readme.md +27 -0
  997. package/foo/node_modules/extract-zip/LICENSE +23 -0
  998. package/foo/node_modules/extract-zip/cli.js +19 -0
  999. package/foo/node_modules/extract-zip/index.d.ts +21 -0
  1000. package/foo/node_modules/extract-zip/index.js +173 -0
  1001. package/foo/node_modules/extract-zip/package.json +80 -0
  1002. package/foo/node_modules/extract-zip/readme.md +57 -0
  1003. package/foo/node_modules/fd-slicer/.travis.yml +7 -0
  1004. package/foo/node_modules/fd-slicer/CHANGELOG.md +49 -0
  1005. package/foo/node_modules/fd-slicer/LICENSE +21 -0
  1006. package/foo/node_modules/fd-slicer/README.md +199 -0
  1007. package/foo/node_modules/fd-slicer/index.js +296 -0
  1008. package/foo/node_modules/fd-slicer/package.json +36 -0
  1009. package/foo/node_modules/fd-slicer/test/test.js +350 -0
  1010. package/foo/node_modules/follow-redirects/LICENSE +18 -0
  1011. package/foo/node_modules/follow-redirects/README.md +155 -0
  1012. package/foo/node_modules/follow-redirects/debug.js +15 -0
  1013. package/foo/node_modules/follow-redirects/http.js +1 -0
  1014. package/foo/node_modules/follow-redirects/https.js +1 -0
  1015. package/foo/node_modules/follow-redirects/index.js +621 -0
  1016. package/foo/node_modules/follow-redirects/package.json +59 -0
  1017. package/foo/node_modules/fs-constants/LICENSE +21 -0
  1018. package/foo/node_modules/fs-constants/README.md +26 -0
  1019. package/foo/node_modules/fs-constants/browser.js +1 -0
  1020. package/foo/node_modules/fs-constants/index.js +1 -0
  1021. package/foo/node_modules/fs-constants/package.json +19 -0
  1022. package/foo/node_modules/fs.realpath/LICENSE +43 -0
  1023. package/foo/node_modules/fs.realpath/README.md +33 -0
  1024. package/foo/node_modules/fs.realpath/index.js +66 -0
  1025. package/foo/node_modules/fs.realpath/old.js +303 -0
  1026. package/foo/node_modules/fs.realpath/package.json +26 -0
  1027. package/foo/node_modules/get-stream/buffer-stream.js +52 -0
  1028. package/foo/node_modules/get-stream/index.d.ts +108 -0
  1029. package/foo/node_modules/get-stream/index.js +60 -0
  1030. package/foo/node_modules/get-stream/license +9 -0
  1031. package/foo/node_modules/get-stream/package.json +50 -0
  1032. package/foo/node_modules/get-stream/readme.md +124 -0
  1033. package/foo/node_modules/glob/LICENSE +21 -0
  1034. package/foo/node_modules/glob/README.md +378 -0
  1035. package/foo/node_modules/glob/common.js +238 -0
  1036. package/foo/node_modules/glob/glob.js +790 -0
  1037. package/foo/node_modules/glob/package.json +55 -0
  1038. package/foo/node_modules/glob/sync.js +486 -0
  1039. package/foo/node_modules/has-flag/index.js +8 -0
  1040. package/foo/node_modules/has-flag/license +9 -0
  1041. package/foo/node_modules/has-flag/package.json +44 -0
  1042. package/foo/node_modules/has-flag/readme.md +70 -0
  1043. package/foo/node_modules/https-proxy-agent/README.md +137 -0
  1044. package/foo/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
  1045. package/foo/node_modules/https-proxy-agent/dist/agent.js +177 -0
  1046. package/foo/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
  1047. package/foo/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
  1048. package/foo/node_modules/https-proxy-agent/dist/index.js +14 -0
  1049. package/foo/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  1050. package/foo/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
  1051. package/foo/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  1052. package/foo/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  1053. package/foo/node_modules/https-proxy-agent/package.json +56 -0
  1054. package/foo/node_modules/ieee754/LICENSE +11 -0
  1055. package/foo/node_modules/ieee754/README.md +51 -0
  1056. package/foo/node_modules/ieee754/index.d.ts +10 -0
  1057. package/foo/node_modules/ieee754/index.js +85 -0
  1058. package/foo/node_modules/ieee754/package.json +52 -0
  1059. package/foo/node_modules/import-fresh/index.d.ts +30 -0
  1060. package/foo/node_modules/import-fresh/index.js +33 -0
  1061. package/foo/node_modules/import-fresh/license +9 -0
  1062. package/foo/node_modules/import-fresh/package.json +43 -0
  1063. package/foo/node_modules/import-fresh/readme.md +48 -0
  1064. package/foo/node_modules/inflight/LICENSE +15 -0
  1065. package/foo/node_modules/inflight/README.md +37 -0
  1066. package/foo/node_modules/inflight/inflight.js +54 -0
  1067. package/foo/node_modules/inflight/package.json +29 -0
  1068. package/foo/node_modules/inherits/LICENSE +16 -0
  1069. package/foo/node_modules/inherits/README.md +42 -0
  1070. package/foo/node_modules/inherits/inherits.js +9 -0
  1071. package/foo/node_modules/inherits/inherits_browser.js +27 -0
  1072. package/foo/node_modules/inherits/package.json +29 -0
  1073. package/foo/node_modules/is-arrayish/.editorconfig +18 -0
  1074. package/foo/node_modules/is-arrayish/.istanbul.yml +4 -0
  1075. package/foo/node_modules/is-arrayish/.travis.yml +17 -0
  1076. package/foo/node_modules/is-arrayish/LICENSE +21 -0
  1077. package/foo/node_modules/is-arrayish/README.md +16 -0
  1078. package/foo/node_modules/is-arrayish/index.js +10 -0
  1079. package/foo/node_modules/is-arrayish/package.json +34 -0
  1080. package/foo/node_modules/js-tokens/CHANGELOG.md +151 -0
  1081. package/foo/node_modules/js-tokens/LICENSE +21 -0
  1082. package/foo/node_modules/js-tokens/README.md +240 -0
  1083. package/foo/node_modules/js-tokens/index.js +23 -0
  1084. package/foo/node_modules/js-tokens/package.json +30 -0
  1085. package/foo/node_modules/js-yaml/CHANGELOG.md +616 -0
  1086. package/foo/node_modules/js-yaml/LICENSE +21 -0
  1087. package/foo/node_modules/js-yaml/README.md +246 -0
  1088. package/foo/node_modules/js-yaml/bin/js-yaml.js +126 -0
  1089. package/foo/node_modules/js-yaml/dist/js-yaml.js +3874 -0
  1090. package/foo/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
  1091. package/foo/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
  1092. package/foo/node_modules/js-yaml/index.js +47 -0
  1093. package/foo/node_modules/js-yaml/lib/common.js +59 -0
  1094. package/foo/node_modules/js-yaml/lib/dumper.js +965 -0
  1095. package/foo/node_modules/js-yaml/lib/exception.js +55 -0
  1096. package/foo/node_modules/js-yaml/lib/loader.js +1727 -0
  1097. package/foo/node_modules/js-yaml/lib/schema/core.js +11 -0
  1098. package/foo/node_modules/js-yaml/lib/schema/default.js +22 -0
  1099. package/foo/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
  1100. package/foo/node_modules/js-yaml/lib/schema/json.js +19 -0
  1101. package/foo/node_modules/js-yaml/lib/schema.js +121 -0
  1102. package/foo/node_modules/js-yaml/lib/snippet.js +101 -0
  1103. package/foo/node_modules/js-yaml/lib/type/binary.js +125 -0
  1104. package/foo/node_modules/js-yaml/lib/type/bool.js +35 -0
  1105. package/foo/node_modules/js-yaml/lib/type/float.js +97 -0
  1106. package/foo/node_modules/js-yaml/lib/type/int.js +156 -0
  1107. package/foo/node_modules/js-yaml/lib/type/map.js +8 -0
  1108. package/foo/node_modules/js-yaml/lib/type/merge.js +12 -0
  1109. package/foo/node_modules/js-yaml/lib/type/null.js +35 -0
  1110. package/foo/node_modules/js-yaml/lib/type/omap.js +44 -0
  1111. package/foo/node_modules/js-yaml/lib/type/pairs.js +53 -0
  1112. package/foo/node_modules/js-yaml/lib/type/seq.js +8 -0
  1113. package/foo/node_modules/js-yaml/lib/type/set.js +29 -0
  1114. package/foo/node_modules/js-yaml/lib/type/str.js +8 -0
  1115. package/foo/node_modules/js-yaml/lib/type/timestamp.js +88 -0
  1116. package/foo/node_modules/js-yaml/lib/type.js +66 -0
  1117. package/foo/node_modules/js-yaml/package.json +66 -0
  1118. package/foo/node_modules/json-parse-even-better-errors/CHANGELOG.md +50 -0
  1119. package/foo/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  1120. package/foo/node_modules/json-parse-even-better-errors/README.md +96 -0
  1121. package/foo/node_modules/json-parse-even-better-errors/index.js +121 -0
  1122. package/foo/node_modules/json-parse-even-better-errors/package.json +33 -0
  1123. package/foo/node_modules/lines-and-columns/LICENSE +21 -0
  1124. package/foo/node_modules/lines-and-columns/README.md +33 -0
  1125. package/foo/node_modules/lines-and-columns/build/index.d.ts +13 -0
  1126. package/foo/node_modules/lines-and-columns/build/index.js +62 -0
  1127. package/foo/node_modules/lines-and-columns/package.json +49 -0
  1128. package/foo/node_modules/minimatch/LICENSE +15 -0
  1129. package/foo/node_modules/minimatch/README.md +230 -0
  1130. package/foo/node_modules/minimatch/minimatch.js +947 -0
  1131. package/foo/node_modules/minimatch/package.json +33 -0
  1132. package/foo/node_modules/mitt/LICENSE +21 -0
  1133. package/foo/node_modules/mitt/README.md +205 -0
  1134. package/foo/node_modules/mitt/dist/mitt.js +2 -0
  1135. package/foo/node_modules/mitt/dist/mitt.js.map +1 -0
  1136. package/foo/node_modules/mitt/dist/mitt.mjs +2 -0
  1137. package/foo/node_modules/mitt/dist/mitt.mjs.map +1 -0
  1138. package/foo/node_modules/mitt/dist/mitt.umd.js +2 -0
  1139. package/foo/node_modules/mitt/dist/mitt.umd.js.map +1 -0
  1140. package/foo/node_modules/mitt/index.d.ts +21 -0
  1141. package/foo/node_modules/mitt/package.json +113 -0
  1142. package/foo/node_modules/mkdirp-classic/LICENSE +21 -0
  1143. package/foo/node_modules/mkdirp-classic/README.md +18 -0
  1144. package/foo/node_modules/mkdirp-classic/index.js +98 -0
  1145. package/foo/node_modules/mkdirp-classic/package.json +18 -0
  1146. package/foo/node_modules/ms/index.js +162 -0
  1147. package/foo/node_modules/ms/license.md +21 -0
  1148. package/foo/node_modules/ms/package.json +37 -0
  1149. package/foo/node_modules/ms/readme.md +60 -0
  1150. package/foo/node_modules/node-fetch/LICENSE.md +22 -0
  1151. package/foo/node_modules/node-fetch/README.md +590 -0
  1152. package/foo/node_modules/node-fetch/browser.js +25 -0
  1153. package/foo/node_modules/node-fetch/lib/index.es.js +1688 -0
  1154. package/foo/node_modules/node-fetch/lib/index.js +1697 -0
  1155. package/foo/node_modules/node-fetch/lib/index.mjs +1686 -0
  1156. package/foo/node_modules/node-fetch/package.json +76 -0
  1157. package/foo/node_modules/once/LICENSE +15 -0
  1158. package/foo/node_modules/once/README.md +79 -0
  1159. package/foo/node_modules/once/once.js +42 -0
  1160. package/foo/node_modules/once/package.json +33 -0
  1161. package/foo/node_modules/parent-module/index.js +37 -0
  1162. package/foo/node_modules/parent-module/license +9 -0
  1163. package/foo/node_modules/parent-module/package.json +46 -0
  1164. package/foo/node_modules/parent-module/readme.md +67 -0
  1165. package/foo/node_modules/parse-json/index.js +54 -0
  1166. package/foo/node_modules/parse-json/license +9 -0
  1167. package/foo/node_modules/parse-json/package.json +45 -0
  1168. package/foo/node_modules/parse-json/readme.md +119 -0
  1169. package/foo/node_modules/path-is-absolute/index.js +20 -0
  1170. package/foo/node_modules/path-is-absolute/license +21 -0
  1171. package/foo/node_modules/path-is-absolute/package.json +43 -0
  1172. package/foo/node_modules/path-is-absolute/readme.md +59 -0
  1173. package/foo/node_modules/path-type/index.d.ts +51 -0
  1174. package/foo/node_modules/path-type/index.js +43 -0
  1175. package/foo/node_modules/path-type/license +9 -0
  1176. package/foo/node_modules/path-type/package.json +45 -0
  1177. package/foo/node_modules/path-type/readme.md +72 -0
  1178. package/foo/node_modules/pend/LICENSE +23 -0
  1179. package/foo/node_modules/pend/README.md +41 -0
  1180. package/foo/node_modules/pend/index.js +55 -0
  1181. package/foo/node_modules/pend/package.json +18 -0
  1182. package/foo/node_modules/pend/test.js +137 -0
  1183. package/foo/node_modules/progress/CHANGELOG.md +115 -0
  1184. package/foo/node_modules/progress/LICENSE +22 -0
  1185. package/foo/node_modules/progress/Makefile +8 -0
  1186. package/foo/node_modules/progress/Readme.md +146 -0
  1187. package/foo/node_modules/progress/index.js +1 -0
  1188. package/foo/node_modules/progress/lib/node-progress.js +236 -0
  1189. package/foo/node_modules/progress/package.json +26 -0
  1190. package/foo/node_modules/proxy-from-env/.eslintrc +29 -0
  1191. package/foo/node_modules/proxy-from-env/.travis.yml +10 -0
  1192. package/foo/node_modules/proxy-from-env/LICENSE +20 -0
  1193. package/foo/node_modules/proxy-from-env/README.md +131 -0
  1194. package/foo/node_modules/proxy-from-env/index.js +108 -0
  1195. package/foo/node_modules/proxy-from-env/package.json +34 -0
  1196. package/foo/node_modules/proxy-from-env/test.js +483 -0
  1197. package/foo/node_modules/pump/.travis.yml +5 -0
  1198. package/foo/node_modules/pump/LICENSE +21 -0
  1199. package/foo/node_modules/pump/README.md +65 -0
  1200. package/foo/node_modules/pump/index.js +82 -0
  1201. package/foo/node_modules/pump/package.json +24 -0
  1202. package/foo/node_modules/pump/test-browser.js +66 -0
  1203. package/foo/node_modules/pump/test-node.js +53 -0
  1204. package/foo/node_modules/puppeteer/README.md +236 -0
  1205. package/foo/node_modules/puppeteer/install.js +40 -0
  1206. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/getConfiguration.d.ts +6 -0
  1207. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/getConfiguration.d.ts.map +1 -0
  1208. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/getConfiguration.js +59 -0
  1209. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/getConfiguration.js.map +1 -0
  1210. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/node/install.d.ts +20 -0
  1211. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/node/install.d.ts.map +1 -0
  1212. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/node/install.js +174 -0
  1213. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/node/install.js.map +1 -0
  1214. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/puppeteer.d.ts +25 -0
  1215. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/puppeteer.d.ts.map +1 -0
  1216. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/puppeteer.js +46 -0
  1217. package/foo/node_modules/puppeteer/lib/cjs/puppeteer/puppeteer.js.map +1 -0
  1218. package/foo/node_modules/puppeteer/lib/esm/package.json +1 -0
  1219. package/foo/node_modules/puppeteer/lib/esm/puppeteer/getConfiguration.d.ts +6 -0
  1220. package/foo/node_modules/puppeteer/lib/esm/puppeteer/getConfiguration.d.ts.map +1 -0
  1221. package/foo/node_modules/puppeteer/lib/esm/puppeteer/getConfiguration.js +55 -0
  1222. package/foo/node_modules/puppeteer/lib/esm/puppeteer/getConfiguration.js.map +1 -0
  1223. package/foo/node_modules/puppeteer/lib/esm/puppeteer/node/install.d.ts +20 -0
  1224. package/foo/node_modules/puppeteer/lib/esm/puppeteer/node/install.d.ts.map +1 -0
  1225. package/foo/node_modules/puppeteer/lib/esm/puppeteer/node/install.js +167 -0
  1226. package/foo/node_modules/puppeteer/lib/esm/puppeteer/node/install.js.map +1 -0
  1227. package/foo/node_modules/puppeteer/lib/esm/puppeteer/puppeteer.d.ts +25 -0
  1228. package/foo/node_modules/puppeteer/lib/esm/puppeteer/puppeteer.d.ts.map +1 -0
  1229. package/foo/node_modules/puppeteer/lib/esm/puppeteer/puppeteer.js +29 -0
  1230. package/foo/node_modules/puppeteer/lib/esm/puppeteer/puppeteer.js.map +1 -0
  1231. package/foo/node_modules/puppeteer/lib/types.d.ts +6919 -0
  1232. package/foo/node_modules/puppeteer/package.json +127 -0
  1233. package/foo/node_modules/puppeteer-core/README.md +236 -0
  1234. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Browser.d.ts +337 -0
  1235. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -0
  1236. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Browser.js +248 -0
  1237. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Browser.js.map +1 -0
  1238. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/BrowserContext.d.ts +148 -0
  1239. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/BrowserContext.d.ts.map +1 -0
  1240. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/BrowserContext.js +135 -0
  1241. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/BrowserContext.js.map +1 -0
  1242. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/ElementHandle.d.ts +521 -0
  1243. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/ElementHandle.d.ts.map +1 -0
  1244. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/ElementHandle.js +199 -0
  1245. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/ElementHandle.js.map +1 -0
  1246. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/JSHandle.d.ts +135 -0
  1247. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/JSHandle.d.ts.map +1 -0
  1248. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/JSHandle.js +142 -0
  1249. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/JSHandle.js.map +1 -0
  1250. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.d.ts +2098 -0
  1251. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.d.ts.map +1 -0
  1252. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js +536 -0
  1253. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js.map +1 -0
  1254. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/api.d.ts +21 -0
  1255. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/api.d.ts.map +1 -0
  1256. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/api.js +37 -0
  1257. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/api/api.js.map +1 -0
  1258. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts +176 -0
  1259. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.d.ts.map +1 -0
  1260. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js +428 -0
  1261. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Accessibility.js.map +1 -0
  1262. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts +27 -0
  1263. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -0
  1264. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js +88 -0
  1265. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -0
  1266. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Binding.d.ts +18 -0
  1267. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Binding.d.ts.map +1 -0
  1268. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Binding.js +114 -0
  1269. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Binding.js.map +1 -0
  1270. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts +290 -0
  1271. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -0
  1272. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js +586 -0
  1273. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser.js.map +1 -0
  1274. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts +61 -0
  1275. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -0
  1276. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js +113 -0
  1277. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -0
  1278. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +29 -0
  1279. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -0
  1280. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +54 -0
  1281. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js.map +1 -0
  1282. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ChromeTargetManager.d.ts +37 -0
  1283. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ChromeTargetManager.d.ts.map +1 -0
  1284. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ChromeTargetManager.js +306 -0
  1285. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ChromeTargetManager.js.map +1 -0
  1286. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Configuration.d.ts +133 -0
  1287. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Configuration.d.ts.map +1 -0
  1288. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Configuration.js +18 -0
  1289. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Configuration.js.map +1 -0
  1290. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts +187 -0
  1291. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -0
  1292. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js +406 -0
  1293. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js.map +1 -0
  1294. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts +25 -0
  1295. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.d.ts.map +1 -0
  1296. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js +18 -0
  1297. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConnectionTransport.js.map +1 -0
  1298. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +70 -0
  1299. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -0
  1300. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js +83 -0
  1301. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -0
  1302. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts +191 -0
  1303. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -0
  1304. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js +375 -0
  1305. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Coverage.js.map +1 -0
  1306. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CustomQueryHandler.d.ts +124 -0
  1307. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CustomQueryHandler.d.ts.map +1 -0
  1308. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CustomQueryHandler.js +193 -0
  1309. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CustomQueryHandler.js.map +1 -0
  1310. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts +70 -0
  1311. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -0
  1312. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js +150 -0
  1313. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Debug.js.map +1 -0
  1314. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Device.d.ts +52 -0
  1315. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Device.d.ts.map +1 -0
  1316. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Device.js +1433 -0
  1317. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Device.js.map +1 -0
  1318. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts +73 -0
  1319. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.d.ts.map +1 -0
  1320. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js +117 -0
  1321. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Dialog.js.map +1 -0
  1322. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ElementHandle.d.ts +112 -0
  1323. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ElementHandle.d.ts.map +1 -0
  1324. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ElementHandle.js +617 -0
  1325. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ElementHandle.js.map +1 -0
  1326. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts +11 -0
  1327. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.d.ts.map +1 -0
  1328. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js +55 -0
  1329. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EmulationManager.js.map +1 -0
  1330. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts +98 -0
  1331. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -0
  1332. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js +127 -0
  1333. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Errors.js.map +1 -0
  1334. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts +111 -0
  1335. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +1 -0
  1336. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js +133 -0
  1337. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -0
  1338. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts +163 -0
  1339. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -0
  1340. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js +316 -0
  1341. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -0
  1342. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts +65 -0
  1343. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.d.ts.map +1 -0
  1344. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js +95 -0
  1345. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FileChooser.js.map +1 -0
  1346. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts +46 -0
  1347. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -0
  1348. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FirefoxTargetManager.js +197 -0
  1349. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FirefoxTargetManager.js.map +1 -0
  1350. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Frame.d.ts +655 -0
  1351. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Frame.d.ts.map +1 -0
  1352. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Frame.js +833 -0
  1353. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Frame.js.map +1 -0
  1354. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts +66 -0
  1355. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -0
  1356. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js +372 -0
  1357. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js.map +1 -0
  1358. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameTree.d.ts +39 -0
  1359. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameTree.d.ts.map +1 -0
  1360. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameTree.js +120 -0
  1361. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameTree.js.map +1 -0
  1362. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/GetQueryHandler.d.ts +38 -0
  1363. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/GetQueryHandler.d.ts.map +1 -0
  1364. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/GetQueryHandler.js +65 -0
  1365. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/GetQueryHandler.js.map +1 -0
  1366. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts +376 -0
  1367. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -0
  1368. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js +656 -0
  1369. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -0
  1370. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts +123 -0
  1371. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -0
  1372. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js +222 -0
  1373. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -0
  1374. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HandleIterator.d.ts +22 -0
  1375. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HandleIterator.d.ts.map +1 -0
  1376. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HandleIterator.js +67 -0
  1377. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HandleIterator.js.map +1 -0
  1378. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts +398 -0
  1379. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts.map +1 -0
  1380. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js +649 -0
  1381. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js.map +1 -0
  1382. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorld.d.ts +119 -0
  1383. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorld.d.ts.map +1 -0
  1384. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorld.js +340 -0
  1385. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorld.js.map +1 -0
  1386. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorlds.d.ts +30 -0
  1387. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorlds.d.ts.map +1 -0
  1388. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorlds.js +33 -0
  1389. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/IsolatedWorlds.js.map +1 -0
  1390. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts +59 -0
  1391. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -0
  1392. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js +131 -0
  1393. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js.map +1 -0
  1394. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LazyArg.d.ts +26 -0
  1395. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LazyArg.d.ts.map +1 -0
  1396. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LazyArg.js +50 -0
  1397. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LazyArg.js.map +1 -0
  1398. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts +41 -0
  1399. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -0
  1400. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js +219 -0
  1401. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -0
  1402. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkEventManager.d.ts +67 -0
  1403. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkEventManager.d.ts.map +1 -0
  1404. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkEventManager.js +149 -0
  1405. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkEventManager.js.map +1 -0
  1406. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts +79 -0
  1407. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -0
  1408. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js +443 -0
  1409. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -0
  1410. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NodeWebSocketTransport.d.ts +30 -0
  1411. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NodeWebSocketTransport.d.ts.map +1 -0
  1412. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NodeWebSocketTransport.js +82 -0
  1413. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/NodeWebSocketTransport.js.map +1 -0
  1414. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts +168 -0
  1415. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -0
  1416. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js +35 -0
  1417. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -0
  1418. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PQueryHandler.d.ts +24 -0
  1419. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PQueryHandler.d.ts.map +1 -0
  1420. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PQueryHandler.js +32 -0
  1421. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PQueryHandler.js.map +1 -0
  1422. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts +173 -0
  1423. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.d.ts.map +1 -0
  1424. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js +1141 -0
  1425. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js.map +1 -0
  1426. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PierceQueryHandler.d.ts +25 -0
  1427. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PierceQueryHandler.d.ts.map +1 -0
  1428. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PierceQueryHandler.js +32 -0
  1429. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PierceQueryHandler.js.map +1 -0
  1430. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PredefinedNetworkConditions.d.ts +52 -0
  1431. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PredefinedNetworkConditions.d.ts.map +1 -0
  1432. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PredefinedNetworkConditions.js +59 -0
  1433. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PredefinedNetworkConditions.js.map +1 -0
  1434. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts +21 -0
  1435. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.d.ts.map +1 -0
  1436. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js +18 -0
  1437. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Product.js.map +1 -0
  1438. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts +117 -0
  1439. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -0
  1440. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js +106 -0
  1441. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -0
  1442. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts +52 -0
  1443. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts.map +1 -0
  1444. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js +3 -0
  1445. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.js.map +1 -0
  1446. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts +58 -0
  1447. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -0
  1448. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js +146 -0
  1449. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -0
  1450. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ScriptInjector.d.ts +12 -0
  1451. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ScriptInjector.d.ts.map +1 -0
  1452. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ScriptInjector.js +60 -0
  1453. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ScriptInjector.js.map +1 -0
  1454. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts +56 -0
  1455. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.d.ts.map +1 -0
  1456. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js +96 -0
  1457. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/SecurityDetails.js.map +1 -0
  1458. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts +117 -0
  1459. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts.map +1 -0
  1460. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js +211 -0
  1461. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js.map +1 -0
  1462. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TargetManager.d.ts +55 -0
  1463. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TargetManager.d.ts.map +1 -0
  1464. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TargetManager.js +18 -0
  1465. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TargetManager.js.map +1 -0
  1466. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts +24 -0
  1467. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +1 -0
  1468. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js +51 -0
  1469. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TaskQueue.js.map +1 -0
  1470. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TextQueryHandler.d.ts +23 -0
  1471. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TextQueryHandler.d.ts.map +1 -0
  1472. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TextQueryHandler.js +29 -0
  1473. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TextQueryHandler.js.map +1 -0
  1474. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +27 -0
  1475. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.d.ts.map +1 -0
  1476. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js +66 -0
  1477. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/TimeoutSettings.js.map +1 -0
  1478. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts +47 -0
  1479. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -0
  1480. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js +139 -0
  1481. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.js.map +1 -0
  1482. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts +40 -0
  1483. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts.map +1 -0
  1484. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js +407 -0
  1485. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/USKeyboardLayout.js.map +1 -0
  1486. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.d.ts +51 -0
  1487. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.d.ts.map +1 -0
  1488. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.js +198 -0
  1489. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.js.map +1 -0
  1490. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts +100 -0
  1491. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -0
  1492. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js +123 -0
  1493. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WebWorker.js.map +1 -0
  1494. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/XPathQueryHandler.d.ts +23 -0
  1495. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/XPathQueryHandler.d.ts.map +1 -0
  1496. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/XPathQueryHandler.js +29 -0
  1497. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/XPathQueryHandler.js.map +1 -0
  1498. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/BidiOverCDP.d.ts +7 -0
  1499. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/BidiOverCDP.d.ts.map +1 -0
  1500. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/BidiOverCDP.js +169 -0
  1501. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/BidiOverCDP.js.map +1 -0
  1502. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Browser.d.ts +45 -0
  1503. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Browser.d.ts.map +1 -0
  1504. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Browser.js +78 -0
  1505. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Browser.js.map +1 -0
  1506. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/BrowserContext.d.ts +28 -0
  1507. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/BrowserContext.d.ts.map +1 -0
  1508. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/BrowserContext.js +52 -0
  1509. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/BrowserContext.js.map +1 -0
  1510. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Connection.d.ts +81 -0
  1511. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Connection.d.ts.map +1 -0
  1512. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Connection.js +137 -0
  1513. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Connection.js.map +1 -0
  1514. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/JSHandle.d.ts +41 -0
  1515. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/JSHandle.d.ts.map +1 -0
  1516. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/JSHandle.js +128 -0
  1517. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/JSHandle.js.map +1 -0
  1518. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Page.d.ts +37 -0
  1519. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Page.d.ts.map +1 -0
  1520. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Page.js +158 -0
  1521. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Page.js.map +1 -0
  1522. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Serializer.d.ts +22 -0
  1523. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Serializer.d.ts.map +1 -0
  1524. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Serializer.js +224 -0
  1525. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/Serializer.js.map +1 -0
  1526. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/bidi.d.ts +21 -0
  1527. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/bidi.d.ts.map +1 -0
  1528. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/bidi.js +37 -0
  1529. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/bidi.js.map +1 -0
  1530. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/utils.d.ts +26 -0
  1531. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/utils.d.ts.map +1 -0
  1532. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/utils.js +43 -0
  1533. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/bidi/utils.js.map +1 -0
  1534. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/common.d.ts +70 -0
  1535. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/common.d.ts.map +1 -0
  1536. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/common.js +86 -0
  1537. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/common.js.map +1 -0
  1538. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts +22 -0
  1539. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.d.ts.map +1 -0
  1540. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js +51 -0
  1541. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/fetch.js.map +1 -0
  1542. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/types.d.ts +106 -0
  1543. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/types.d.ts.map +1 -0
  1544. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/types.js +18 -0
  1545. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/types.js.map +1 -0
  1546. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/util.d.ts +117 -0
  1547. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/util.d.ts.map +1 -0
  1548. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/util.js +389 -0
  1549. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/common/util.js.map +1 -0
  1550. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts +24 -0
  1551. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.d.ts.map +1 -0
  1552. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js +30 -0
  1553. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/environment.js.map +1 -0
  1554. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/generated/injected.d.ts +9 -0
  1555. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/generated/injected.d.ts.map +1 -0
  1556. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/generated/injected.js +12 -0
  1557. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/generated/injected.js.map +1 -0
  1558. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/generated/version.d.ts +5 -0
  1559. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/generated/version.d.ts.map +1 -0
  1560. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/generated/version.js +8 -0
  1561. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/generated/version.js.map +1 -0
  1562. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/ARIAQuerySelector.d.ts +30 -0
  1563. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -0
  1564. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/ARIAQuerySelector.js +27 -0
  1565. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/ARIAQuerySelector.js.map +1 -0
  1566. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/CustomQuerySelector.d.ts +34 -0
  1567. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/CustomQuerySelector.d.ts.map +1 -0
  1568. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/CustomQuerySelector.js +69 -0
  1569. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/CustomQuerySelector.js.map +1 -0
  1570. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PQuerySelector.d.ts +14 -0
  1571. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PQuerySelector.d.ts.map +1 -0
  1572. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PQuerySelector.js +168 -0
  1573. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PQuerySelector.js.map +1 -0
  1574. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PSelectorParser.d.ts +23 -0
  1575. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PSelectorParser.d.ts.map +1 -0
  1576. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PSelectorParser.js +153 -0
  1577. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PSelectorParser.js.map +1 -0
  1578. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PierceQuerySelector.d.ts +9 -0
  1579. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PierceQuerySelector.d.ts.map +1 -0
  1580. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PierceQuerySelector.js +71 -0
  1581. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/PierceQuerySelector.js.map +1 -0
  1582. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/Poller.d.ts +54 -0
  1583. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/Poller.d.ts.map +1 -0
  1584. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/Poller.js +171 -0
  1585. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/Poller.js.map +1 -0
  1586. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/TextContent.d.ts +39 -0
  1587. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/TextContent.d.ts.map +1 -0
  1588. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/TextContent.js +133 -0
  1589. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/TextContent.js.map +1 -0
  1590. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/TextQuerySelector.d.ts +22 -0
  1591. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/TextQuerySelector.d.ts.map +1 -0
  1592. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/TextQuerySelector.js +53 -0
  1593. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/TextQuerySelector.js.map +1 -0
  1594. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/XPathQuerySelector.d.ts +20 -0
  1595. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -0
  1596. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/XPathQuerySelector.js +31 -0
  1597. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/XPathQuerySelector.js.map +1 -0
  1598. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/injected.d.ts +57 -0
  1599. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/injected.d.ts.map +1 -0
  1600. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/injected.js +75 -0
  1601. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/injected.js.map +1 -0
  1602. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/util.d.ts +13 -0
  1603. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/util.d.ts.map +1 -0
  1604. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/util.js +57 -0
  1605. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/injected/util.js.map +1 -0
  1606. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +169 -0
  1607. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -0
  1608. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js +577 -0
  1609. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -0
  1610. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts +45 -0
  1611. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -0
  1612. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js +344 -0
  1613. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -0
  1614. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.d.ts +15 -0
  1615. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -0
  1616. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js +277 -0
  1617. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -0
  1618. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts +35 -0
  1619. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -0
  1620. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/FirefoxLauncher.js +391 -0
  1621. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/FirefoxLauncher.js.map +1 -0
  1622. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts +135 -0
  1623. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -0
  1624. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js +18 -0
  1625. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/LaunchOptions.js.map +1 -0
  1626. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts +29 -0
  1627. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -0
  1628. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js +75 -0
  1629. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -0
  1630. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.d.ts +43 -0
  1631. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.d.ts.map +1 -0
  1632. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js +143 -0
  1633. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js.map +1 -0
  1634. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PuppeteerNode.d.ts +189 -0
  1635. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PuppeteerNode.d.ts.map +1 -0
  1636. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PuppeteerNode.js +276 -0
  1637. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/PuppeteerNode.js.map +1 -0
  1638. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/node.d.ts +24 -0
  1639. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/node.d.ts.map +1 -0
  1640. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/node.js +40 -0
  1641. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/node/node.js.map +1 -0
  1642. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/puppeteer-core.d.ts +33 -0
  1643. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -0
  1644. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/puppeteer-core.js +51 -0
  1645. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/puppeteer-core.js.map +1 -0
  1646. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts +23 -0
  1647. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.d.ts.map +1 -0
  1648. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js +26 -0
  1649. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/revisions.js.map +1 -0
  1650. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/AsyncIterableUtil.d.ts +26 -0
  1651. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/AsyncIterableUtil.d.ts.map +1 -0
  1652. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/AsyncIterableUtil.js +33 -0
  1653. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/AsyncIterableUtil.js.map +1 -0
  1654. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/DebuggableDeferredPromise.d.ts +9 -0
  1655. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/DebuggableDeferredPromise.d.ts.map +1 -0
  1656. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/DebuggableDeferredPromise.js +22 -0
  1657. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/DebuggableDeferredPromise.js.map +1 -0
  1658. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/DeferredPromise.d.ts +27 -0
  1659. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/DeferredPromise.d.ts.map +1 -0
  1660. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/DeferredPromise.js +51 -0
  1661. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/DeferredPromise.js.map +1 -0
  1662. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/ErrorLike.d.ts +17 -0
  1663. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/ErrorLike.d.ts.map +1 -0
  1664. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/ErrorLike.js +22 -0
  1665. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/ErrorLike.js.map +1 -0
  1666. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Function.d.ts +34 -0
  1667. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Function.d.ts.map +1 -0
  1668. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Function.js +85 -0
  1669. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Function.js.map +1 -0
  1670. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/assert.d.ts +24 -0
  1671. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/assert.d.ts.map +1 -0
  1672. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/assert.js +32 -0
  1673. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/assert.js.map +1 -0
  1674. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/util.d.ts +21 -0
  1675. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/util.d.ts.map +1 -0
  1676. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/util.js +37 -0
  1677. package/foo/node_modules/puppeteer-core/lib/cjs/puppeteer/util/util.js.map +1 -0
  1678. package/foo/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.d.ts +17 -0
  1679. package/foo/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js +5 -0
  1680. package/foo/node_modules/puppeteer-core/lib/esm/package.json +1 -0
  1681. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.d.ts +337 -0
  1682. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.d.ts.map +1 -0
  1683. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +244 -0
  1684. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js.map +1 -0
  1685. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.d.ts +148 -0
  1686. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.d.ts.map +1 -0
  1687. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +131 -0
  1688. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js.map +1 -0
  1689. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.d.ts +521 -0
  1690. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.d.ts.map +1 -0
  1691. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +195 -0
  1692. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js.map +1 -0
  1693. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.d.ts +135 -0
  1694. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.d.ts.map +1 -0
  1695. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +138 -0
  1696. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js.map +1 -0
  1697. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.d.ts +2098 -0
  1698. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.d.ts.map +1 -0
  1699. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +532 -0
  1700. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js.map +1 -0
  1701. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.d.ts +21 -0
  1702. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.d.ts.map +1 -0
  1703. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +21 -0
  1704. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js.map +1 -0
  1705. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts +176 -0
  1706. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.d.ts.map +1 -0
  1707. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js +424 -0
  1708. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Accessibility.js.map +1 -0
  1709. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts +27 -0
  1710. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -0
  1711. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +84 -0
  1712. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -0
  1713. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Binding.d.ts +18 -0
  1714. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Binding.d.ts.map +1 -0
  1715. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Binding.js +110 -0
  1716. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Binding.js.map +1 -0
  1717. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts +290 -0
  1718. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.d.ts.map +1 -0
  1719. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js +581 -0
  1720. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Browser.js.map +1 -0
  1721. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts +61 -0
  1722. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -0
  1723. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +86 -0
  1724. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -0
  1725. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +29 -0
  1726. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -0
  1727. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +50 -0
  1728. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js.map +1 -0
  1729. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ChromeTargetManager.d.ts +37 -0
  1730. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ChromeTargetManager.d.ts.map +1 -0
  1731. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ChromeTargetManager.js +302 -0
  1732. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ChromeTargetManager.js.map +1 -0
  1733. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Configuration.d.ts +133 -0
  1734. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Configuration.d.ts.map +1 -0
  1735. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Configuration.js +17 -0
  1736. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Configuration.js.map +1 -0
  1737. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts +187 -0
  1738. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.d.ts.map +1 -0
  1739. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js +399 -0
  1740. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Connection.js.map +1 -0
  1741. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts +25 -0
  1742. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.d.ts.map +1 -0
  1743. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js +17 -0
  1744. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConnectionTransport.js.map +1 -0
  1745. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts +70 -0
  1746. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -0
  1747. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +79 -0
  1748. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -0
  1749. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts +191 -0
  1750. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -0
  1751. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js +369 -0
  1752. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Coverage.js.map +1 -0
  1753. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.d.ts +124 -0
  1754. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.d.ts.map +1 -0
  1755. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js +185 -0
  1756. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js.map +1 -0
  1757. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts +70 -0
  1758. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.d.ts.map +1 -0
  1759. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +120 -0
  1760. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js.map +1 -0
  1761. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.d.ts +52 -0
  1762. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.d.ts.map +1 -0
  1763. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js +1430 -0
  1764. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js.map +1 -0
  1765. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts +73 -0
  1766. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.d.ts.map +1 -0
  1767. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js +113 -0
  1768. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Dialog.js.map +1 -0
  1769. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ElementHandle.d.ts +112 -0
  1770. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ElementHandle.d.ts.map +1 -0
  1771. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ElementHandle.js +590 -0
  1772. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ElementHandle.js.map +1 -0
  1773. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts +11 -0
  1774. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.d.ts.map +1 -0
  1775. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js +51 -0
  1776. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/EmulationManager.js.map +1 -0
  1777. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts +98 -0
  1778. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.d.ts.map +1 -0
  1779. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +121 -0
  1780. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js.map +1 -0
  1781. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts +111 -0
  1782. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.d.ts.map +1 -0
  1783. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +126 -0
  1784. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js.map +1 -0
  1785. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts +163 -0
  1786. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -0
  1787. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js +312 -0
  1788. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -0
  1789. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts +65 -0
  1790. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.d.ts.map +1 -0
  1791. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +91 -0
  1792. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js.map +1 -0
  1793. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts +46 -0
  1794. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FirefoxTargetManager.d.ts.map +1 -0
  1795. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FirefoxTargetManager.js +193 -0
  1796. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FirefoxTargetManager.js.map +1 -0
  1797. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.d.ts +655 -0
  1798. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.d.ts.map +1 -0
  1799. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.js +806 -0
  1800. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.js.map +1 -0
  1801. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts +66 -0
  1802. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -0
  1803. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js +368 -0
  1804. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameManager.js.map +1 -0
  1805. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameTree.d.ts +39 -0
  1806. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameTree.d.ts.map +1 -0
  1807. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameTree.js +116 -0
  1808. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/FrameTree.js.map +1 -0
  1809. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.d.ts +38 -0
  1810. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.d.ts.map +1 -0
  1811. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +60 -0
  1812. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js.map +1 -0
  1813. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts +376 -0
  1814. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -0
  1815. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js +652 -0
  1816. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -0
  1817. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts +123 -0
  1818. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -0
  1819. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js +218 -0
  1820. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -0
  1821. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.d.ts +22 -0
  1822. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.d.ts.map +1 -0
  1823. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js +63 -0
  1824. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js.map +1 -0
  1825. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts +398 -0
  1826. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts.map +1 -0
  1827. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js +643 -0
  1828. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js.map +1 -0
  1829. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/IsolatedWorld.d.ts +119 -0
  1830. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/IsolatedWorld.d.ts.map +1 -0
  1831. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/IsolatedWorld.js +336 -0
  1832. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/IsolatedWorld.js.map +1 -0
  1833. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/IsolatedWorlds.d.ts +30 -0
  1834. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/IsolatedWorlds.d.ts.map +1 -0
  1835. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/IsolatedWorlds.js +30 -0
  1836. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/IsolatedWorlds.js.map +1 -0
  1837. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts +59 -0
  1838. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -0
  1839. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js +127 -0
  1840. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/JSHandle.js.map +1 -0
  1841. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.d.ts +26 -0
  1842. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.d.ts.map +1 -0
  1843. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js +46 -0
  1844. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js.map +1 -0
  1845. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts +41 -0
  1846. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -0
  1847. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js +215 -0
  1848. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -0
  1849. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkEventManager.d.ts +67 -0
  1850. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkEventManager.d.ts.map +1 -0
  1851. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkEventManager.js +145 -0
  1852. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkEventManager.js.map +1 -0
  1853. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts +79 -0
  1854. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -0
  1855. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js +439 -0
  1856. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManager.js.map +1 -0
  1857. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NodeWebSocketTransport.d.ts +30 -0
  1858. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NodeWebSocketTransport.d.ts.map +1 -0
  1859. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NodeWebSocketTransport.js +75 -0
  1860. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/NodeWebSocketTransport.js.map +1 -0
  1861. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts +168 -0
  1862. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -0
  1863. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +32 -0
  1864. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js.map +1 -0
  1865. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.d.ts +24 -0
  1866. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.d.ts.map +1 -0
  1867. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js +28 -0
  1868. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js.map +1 -0
  1869. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts +173 -0
  1870. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.d.ts.map +1 -0
  1871. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js +1137 -0
  1872. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js.map +1 -0
  1873. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.d.ts +25 -0
  1874. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.d.ts.map +1 -0
  1875. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js +28 -0
  1876. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js.map +1 -0
  1877. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PredefinedNetworkConditions.d.ts +52 -0
  1878. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PredefinedNetworkConditions.d.ts.map +1 -0
  1879. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PredefinedNetworkConditions.js +56 -0
  1880. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PredefinedNetworkConditions.js.map +1 -0
  1881. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts +21 -0
  1882. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.d.ts.map +1 -0
  1883. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js +17 -0
  1884. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Product.js.map +1 -0
  1885. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts +117 -0
  1886. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -0
  1887. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +102 -0
  1888. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js.map +1 -0
  1889. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts +52 -0
  1890. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts.map +1 -0
  1891. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js +2 -0
  1892. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.js.map +1 -0
  1893. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts +58 -0
  1894. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -0
  1895. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +142 -0
  1896. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js.map +1 -0
  1897. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.d.ts +12 -0
  1898. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.d.ts.map +1 -0
  1899. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +57 -0
  1900. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js.map +1 -0
  1901. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts +56 -0
  1902. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.d.ts.map +1 -0
  1903. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +92 -0
  1904. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js.map +1 -0
  1905. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts +117 -0
  1906. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts.map +1 -0
  1907. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js +207 -0
  1908. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js.map +1 -0
  1909. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.d.ts +55 -0
  1910. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.d.ts.map +1 -0
  1911. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.js +17 -0
  1912. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.js.map +1 -0
  1913. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts +24 -0
  1914. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.d.ts.map +1 -0
  1915. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +47 -0
  1916. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js.map +1 -0
  1917. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.d.ts +23 -0
  1918. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.d.ts.map +1 -0
  1919. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js +25 -0
  1920. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js.map +1 -0
  1921. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts +27 -0
  1922. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.d.ts.map +1 -0
  1923. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +62 -0
  1924. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js.map +1 -0
  1925. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts +47 -0
  1926. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -0
  1927. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js +135 -0
  1928. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.js.map +1 -0
  1929. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts +40 -0
  1930. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.d.ts.map +1 -0
  1931. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +404 -0
  1932. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js.map +1 -0
  1933. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.d.ts +51 -0
  1934. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.d.ts.map +1 -0
  1935. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js +193 -0
  1936. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js.map +1 -0
  1937. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts +100 -0
  1938. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -0
  1939. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js +119 -0
  1940. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/WebWorker.js.map +1 -0
  1941. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.d.ts +23 -0
  1942. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.d.ts.map +1 -0
  1943. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js +25 -0
  1944. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js.map +1 -0
  1945. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/BidiOverCDP.d.ts +7 -0
  1946. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/BidiOverCDP.d.ts.map +1 -0
  1947. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/BidiOverCDP.js +142 -0
  1948. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/BidiOverCDP.js.map +1 -0
  1949. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Browser.d.ts +45 -0
  1950. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Browser.d.ts.map +1 -0
  1951. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Browser.js +74 -0
  1952. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Browser.js.map +1 -0
  1953. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/BrowserContext.d.ts +28 -0
  1954. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/BrowserContext.d.ts.map +1 -0
  1955. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/BrowserContext.js +48 -0
  1956. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/BrowserContext.js.map +1 -0
  1957. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Connection.d.ts +81 -0
  1958. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Connection.d.ts.map +1 -0
  1959. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Connection.js +133 -0
  1960. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Connection.js.map +1 -0
  1961. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/JSHandle.d.ts +41 -0
  1962. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/JSHandle.d.ts.map +1 -0
  1963. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/JSHandle.js +124 -0
  1964. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/JSHandle.js.map +1 -0
  1965. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Page.d.ts +37 -0
  1966. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Page.d.ts.map +1 -0
  1967. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Page.js +153 -0
  1968. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Page.js.map +1 -0
  1969. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Serializer.d.ts +22 -0
  1970. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Serializer.d.ts.map +1 -0
  1971. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Serializer.js +220 -0
  1972. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/Serializer.js.map +1 -0
  1973. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/bidi.d.ts +21 -0
  1974. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/bidi.d.ts.map +1 -0
  1975. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/bidi.js +21 -0
  1976. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/bidi.js.map +1 -0
  1977. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/utils.d.ts +26 -0
  1978. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/utils.d.ts.map +1 -0
  1979. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/utils.js +39 -0
  1980. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/bidi/utils.js.map +1 -0
  1981. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.d.ts +70 -0
  1982. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.d.ts.map +1 -0
  1983. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js +70 -0
  1984. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js.map +1 -0
  1985. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts +22 -0
  1986. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.d.ts.map +1 -0
  1987. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js +24 -0
  1988. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/fetch.js.map +1 -0
  1989. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/types.d.ts +106 -0
  1990. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/types.d.ts.map +1 -0
  1991. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/types.js +17 -0
  1992. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/types.js.map +1 -0
  1993. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.d.ts +117 -0
  1994. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.d.ts.map +1 -0
  1995. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +344 -0
  1996. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js.map +1 -0
  1997. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts +24 -0
  1998. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/environment.d.ts.map +1 -0
  1999. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +27 -0
  2000. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js.map +1 -0
  2001. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.d.ts +9 -0
  2002. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.d.ts.map +1 -0
  2003. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js +9 -0
  2004. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js.map +1 -0
  2005. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/generated/version.d.ts +5 -0
  2006. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/generated/version.d.ts.map +1 -0
  2007. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/generated/version.js +5 -0
  2008. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/generated/version.js.map +1 -0
  2009. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/ARIAQuerySelector.d.ts +30 -0
  2010. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -0
  2011. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/ARIAQuerySelector.js +22 -0
  2012. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/ARIAQuerySelector.js.map +1 -0
  2013. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/CustomQuerySelector.d.ts +34 -0
  2014. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/CustomQuerySelector.d.ts.map +1 -0
  2015. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/CustomQuerySelector.js +66 -0
  2016. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/CustomQuerySelector.js.map +1 -0
  2017. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PQuerySelector.d.ts +14 -0
  2018. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PQuerySelector.d.ts.map +1 -0
  2019. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PQuerySelector.js +163 -0
  2020. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PQuerySelector.js.map +1 -0
  2021. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PSelectorParser.d.ts +23 -0
  2022. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PSelectorParser.d.ts.map +1 -0
  2023. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PSelectorParser.js +149 -0
  2024. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PSelectorParser.js.map +1 -0
  2025. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PierceQuerySelector.d.ts +9 -0
  2026. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PierceQuerySelector.d.ts.map +1 -0
  2027. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PierceQuerySelector.js +66 -0
  2028. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/PierceQuerySelector.js.map +1 -0
  2029. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/Poller.d.ts +54 -0
  2030. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/Poller.d.ts.map +1 -0
  2031. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/Poller.js +165 -0
  2032. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/Poller.js.map +1 -0
  2033. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/TextContent.d.ts +39 -0
  2034. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/TextContent.d.ts.map +1 -0
  2035. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/TextContent.js +128 -0
  2036. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/TextContent.js.map +1 -0
  2037. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/TextQuerySelector.d.ts +22 -0
  2038. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/TextQuerySelector.d.ts.map +1 -0
  2039. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/TextQuerySelector.js +49 -0
  2040. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/TextQuerySelector.js.map +1 -0
  2041. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/XPathQuerySelector.d.ts +20 -0
  2042. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -0
  2043. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/XPathQuerySelector.js +27 -0
  2044. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/XPathQuerySelector.js.map +1 -0
  2045. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/injected.d.ts +57 -0
  2046. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/injected.d.ts.map +1 -0
  2047. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/injected.js +50 -0
  2048. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/injected.js.map +1 -0
  2049. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/util.d.ts +13 -0
  2050. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/util.d.ts.map +1 -0
  2051. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/util.js +51 -0
  2052. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/injected/util.js.map +1 -0
  2053. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts +169 -0
  2054. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -0
  2055. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js +547 -0
  2056. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -0
  2057. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts +45 -0
  2058. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -0
  2059. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js +314 -0
  2060. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -0
  2061. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.d.ts +15 -0
  2062. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -0
  2063. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js +247 -0
  2064. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -0
  2065. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/FirefoxLauncher.d.ts +35 -0
  2066. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -0
  2067. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/FirefoxLauncher.js +361 -0
  2068. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/FirefoxLauncher.js.map +1 -0
  2069. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts +135 -0
  2070. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -0
  2071. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js +17 -0
  2072. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/LaunchOptions.js.map +1 -0
  2073. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts +29 -0
  2074. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -0
  2075. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js +71 -0
  2076. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/PipeTransport.js.map +1 -0
  2077. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ProductLauncher.d.ts +43 -0
  2078. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ProductLauncher.d.ts.map +1 -0
  2079. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ProductLauncher.js +116 -0
  2080. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ProductLauncher.js.map +1 -0
  2081. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/PuppeteerNode.d.ts +189 -0
  2082. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/PuppeteerNode.d.ts.map +1 -0
  2083. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/PuppeteerNode.js +272 -0
  2084. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/PuppeteerNode.js.map +1 -0
  2085. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/node.d.ts +24 -0
  2086. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/node.d.ts.map +1 -0
  2087. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/node.js +24 -0
  2088. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/node/node.js.map +1 -0
  2089. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.d.ts +33 -0
  2090. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -0
  2091. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +34 -0
  2092. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js.map +1 -0
  2093. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts +23 -0
  2094. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.d.ts.map +1 -0
  2095. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +23 -0
  2096. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js.map +1 -0
  2097. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.d.ts +26 -0
  2098. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.d.ts.map +1 -0
  2099. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js +29 -0
  2100. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js.map +1 -0
  2101. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/DebuggableDeferredPromise.d.ts +9 -0
  2102. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/DebuggableDeferredPromise.d.ts.map +1 -0
  2103. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/DebuggableDeferredPromise.js +18 -0
  2104. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/DebuggableDeferredPromise.js.map +1 -0
  2105. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/DeferredPromise.d.ts +27 -0
  2106. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/DeferredPromise.d.ts.map +1 -0
  2107. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/DeferredPromise.js +47 -0
  2108. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/DeferredPromise.js.map +1 -0
  2109. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.d.ts +17 -0
  2110. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.d.ts.map +1 -0
  2111. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js +17 -0
  2112. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js.map +1 -0
  2113. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.d.ts +34 -0
  2114. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.d.ts.map +1 -0
  2115. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js +79 -0
  2116. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js.map +1 -0
  2117. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.d.ts +24 -0
  2118. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.d.ts.map +1 -0
  2119. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js +28 -0
  2120. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js.map +1 -0
  2121. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.d.ts +21 -0
  2122. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.d.ts.map +1 -0
  2123. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js +21 -0
  2124. package/foo/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js.map +1 -0
  2125. package/foo/node_modules/puppeteer-core/lib/esm/third_party/mitt/index.d.ts +17 -0
  2126. package/foo/node_modules/puppeteer-core/lib/esm/third_party/mitt/index.js +3 -0
  2127. package/foo/node_modules/puppeteer-core/lib/types.d.ts +6919 -0
  2128. package/foo/node_modules/puppeteer-core/package.json +154 -0
  2129. package/foo/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  2130. package/foo/node_modules/readable-stream/GOVERNANCE.md +136 -0
  2131. package/foo/node_modules/readable-stream/LICENSE +47 -0
  2132. package/foo/node_modules/readable-stream/README.md +106 -0
  2133. package/foo/node_modules/readable-stream/errors-browser.js +127 -0
  2134. package/foo/node_modules/readable-stream/errors.js +116 -0
  2135. package/foo/node_modules/readable-stream/experimentalWarning.js +17 -0
  2136. package/foo/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
  2137. package/foo/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
  2138. package/foo/node_modules/readable-stream/lib/_stream_readable.js +1026 -0
  2139. package/foo/node_modules/readable-stream/lib/_stream_transform.js +189 -0
  2140. package/foo/node_modules/readable-stream/lib/_stream_writable.js +640 -0
  2141. package/foo/node_modules/readable-stream/lib/internal/streams/async_iterator.js +185 -0
  2142. package/foo/node_modules/readable-stream/lib/internal/streams/buffer_list.js +155 -0
  2143. package/foo/node_modules/readable-stream/lib/internal/streams/destroy.js +95 -0
  2144. package/foo/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
  2145. package/foo/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  2146. package/foo/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
  2147. package/foo/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
  2148. package/foo/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
  2149. package/foo/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  2150. package/foo/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  2151. package/foo/node_modules/readable-stream/package.json +68 -0
  2152. package/foo/node_modules/readable-stream/readable-browser.js +9 -0
  2153. package/foo/node_modules/readable-stream/readable.js +16 -0
  2154. package/foo/node_modules/resolve-from/index.js +47 -0
  2155. package/foo/node_modules/resolve-from/license +9 -0
  2156. package/foo/node_modules/resolve-from/package.json +34 -0
  2157. package/foo/node_modules/resolve-from/readme.md +72 -0
  2158. package/foo/node_modules/rimraf/CHANGELOG.md +65 -0
  2159. package/foo/node_modules/rimraf/LICENSE +15 -0
  2160. package/foo/node_modules/rimraf/README.md +101 -0
  2161. package/foo/node_modules/rimraf/bin.js +68 -0
  2162. package/foo/node_modules/rimraf/package.json +32 -0
  2163. package/foo/node_modules/rimraf/rimraf.js +360 -0
  2164. package/foo/node_modules/safe-buffer/LICENSE +21 -0
  2165. package/foo/node_modules/safe-buffer/README.md +584 -0
  2166. package/foo/node_modules/safe-buffer/index.d.ts +187 -0
  2167. package/foo/node_modules/safe-buffer/index.js +65 -0
  2168. package/foo/node_modules/safe-buffer/package.json +51 -0
  2169. package/foo/node_modules/string_decoder/LICENSE +48 -0
  2170. package/foo/node_modules/string_decoder/README.md +47 -0
  2171. package/foo/node_modules/string_decoder/lib/string_decoder.js +296 -0
  2172. package/foo/node_modules/string_decoder/package.json +34 -0
  2173. package/foo/node_modules/supports-color/browser.js +5 -0
  2174. package/foo/node_modules/supports-color/index.js +131 -0
  2175. package/foo/node_modules/supports-color/license +9 -0
  2176. package/foo/node_modules/supports-color/package.json +53 -0
  2177. package/foo/node_modules/supports-color/readme.md +66 -0
  2178. package/foo/node_modules/tar-fs/.travis.yml +6 -0
  2179. package/foo/node_modules/tar-fs/LICENSE +21 -0
  2180. package/foo/node_modules/tar-fs/README.md +165 -0
  2181. package/foo/node_modules/tar-fs/index.js +351 -0
  2182. package/foo/node_modules/tar-fs/package.json +41 -0
  2183. package/foo/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
  2184. package/foo/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
  2185. package/foo/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  2186. package/foo/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  2187. package/foo/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  2188. package/foo/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  2189. package/foo/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  2190. package/foo/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  2191. package/foo/node_modules/tar-fs/test/fixtures/e/file +0 -0
  2192. package/foo/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  2193. package/foo/node_modules/tar-fs/test/index.js +346 -0
  2194. package/foo/node_modules/tar-stream/LICENSE +21 -0
  2195. package/foo/node_modules/tar-stream/README.md +168 -0
  2196. package/foo/node_modules/tar-stream/extract.js +257 -0
  2197. package/foo/node_modules/tar-stream/headers.js +295 -0
  2198. package/foo/node_modules/tar-stream/index.js +2 -0
  2199. package/foo/node_modules/tar-stream/pack.js +255 -0
  2200. package/foo/node_modules/tar-stream/package.json +58 -0
  2201. package/foo/node_modules/tar-stream/sandbox.js +11 -0
  2202. package/foo/node_modules/through/.travis.yml +5 -0
  2203. package/foo/node_modules/through/LICENSE.APACHE2 +15 -0
  2204. package/foo/node_modules/through/LICENSE.MIT +24 -0
  2205. package/foo/node_modules/through/index.js +108 -0
  2206. package/foo/node_modules/through/package.json +36 -0
  2207. package/foo/node_modules/through/readme.markdown +64 -0
  2208. package/foo/node_modules/through/test/async.js +28 -0
  2209. package/foo/node_modules/through/test/auto-destroy.js +30 -0
  2210. package/foo/node_modules/through/test/buffering.js +71 -0
  2211. package/foo/node_modules/through/test/end.js +45 -0
  2212. package/foo/node_modules/through/test/index.js +133 -0
  2213. package/foo/node_modules/tr46/index.js +193 -0
  2214. package/foo/node_modules/tr46/lib/.gitkeep +0 -0
  2215. package/foo/node_modules/tr46/lib/mappingTable.json +1 -0
  2216. package/foo/node_modules/tr46/package.json +31 -0
  2217. package/foo/node_modules/unbzip2-stream/LICENSE +24 -0
  2218. package/foo/node_modules/unbzip2-stream/README.md +59 -0
  2219. package/foo/node_modules/unbzip2-stream/dist/unbzip2-stream.min.js +1 -0
  2220. package/foo/node_modules/unbzip2-stream/index.js +93 -0
  2221. package/foo/node_modules/unbzip2-stream/lib/bit_iterator.js +39 -0
  2222. package/foo/node_modules/unbzip2-stream/lib/bzip2.js +365 -0
  2223. package/foo/node_modules/unbzip2-stream/package.json +51 -0
  2224. package/foo/node_modules/util-deprecate/History.md +16 -0
  2225. package/foo/node_modules/util-deprecate/LICENSE +24 -0
  2226. package/foo/node_modules/util-deprecate/README.md +53 -0
  2227. package/foo/node_modules/util-deprecate/browser.js +67 -0
  2228. package/foo/node_modules/util-deprecate/node.js +6 -0
  2229. package/foo/node_modules/util-deprecate/package.json +27 -0
  2230. package/foo/node_modules/webidl-conversions/LICENSE.md +12 -0
  2231. package/foo/node_modules/webidl-conversions/README.md +53 -0
  2232. package/foo/node_modules/webidl-conversions/lib/index.js +189 -0
  2233. package/foo/node_modules/webidl-conversions/package.json +23 -0
  2234. package/foo/node_modules/whatwg-url/LICENSE.txt +21 -0
  2235. package/foo/node_modules/whatwg-url/README.md +67 -0
  2236. package/foo/node_modules/whatwg-url/lib/URL-impl.js +200 -0
  2237. package/foo/node_modules/whatwg-url/lib/URL.js +196 -0
  2238. package/foo/node_modules/whatwg-url/lib/public-api.js +11 -0
  2239. package/foo/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
  2240. package/foo/node_modules/whatwg-url/lib/utils.js +20 -0
  2241. package/foo/node_modules/whatwg-url/package.json +32 -0
  2242. package/foo/node_modules/wrappy/LICENSE +15 -0
  2243. package/foo/node_modules/wrappy/README.md +36 -0
  2244. package/foo/node_modules/wrappy/package.json +29 -0
  2245. package/foo/node_modules/wrappy/wrappy.js +33 -0
  2246. package/foo/node_modules/ws/LICENSE +19 -0
  2247. package/foo/node_modules/ws/README.md +495 -0
  2248. package/foo/node_modules/ws/browser.js +8 -0
  2249. package/foo/node_modules/ws/index.js +13 -0
  2250. package/foo/node_modules/ws/lib/buffer-util.js +127 -0
  2251. package/foo/node_modules/ws/lib/constants.js +12 -0
  2252. package/foo/node_modules/ws/lib/event-target.js +292 -0
  2253. package/foo/node_modules/ws/lib/extension.js +203 -0
  2254. package/foo/node_modules/ws/lib/limiter.js +55 -0
  2255. package/foo/node_modules/ws/lib/permessage-deflate.js +511 -0
  2256. package/foo/node_modules/ws/lib/receiver.js +618 -0
  2257. package/foo/node_modules/ws/lib/sender.js +478 -0
  2258. package/foo/node_modules/ws/lib/stream.js +159 -0
  2259. package/foo/node_modules/ws/lib/subprotocol.js +62 -0
  2260. package/foo/node_modules/ws/lib/validation.js +125 -0
  2261. package/foo/node_modules/ws/lib/websocket-server.js +535 -0
  2262. package/foo/node_modules/ws/lib/websocket.js +1305 -0
  2263. package/foo/node_modules/ws/package.json +64 -0
  2264. package/foo/node_modules/ws/wrapper.mjs +8 -0
  2265. package/foo/node_modules/yauzl/LICENSE +21 -0
  2266. package/foo/node_modules/yauzl/README.md +658 -0
  2267. package/foo/node_modules/yauzl/index.js +796 -0
  2268. package/foo/node_modules/yauzl/package.json +40 -0
  2269. package/foo/package-lock.json +1457 -0
  2270. package/foo/package.json +14 -0
  2271. package/lib/index-b34515b6.js +4198 -0
  2272. package/lib/index.d.ts +1 -0
  2273. package/lib/index.js +128 -0
  2274. package/lib/templates/_template/index.d.ts +4 -0
  2275. package/lib/templates/bet-nft/images/logo.png +0 -0
  2276. package/lib/templates/bet-nft/images/separator.png +0 -0
  2277. package/lib/templates/bet-nft/images/shadow.png +0 -0
  2278. package/lib/templates/bet-nft/images/team1.png +0 -0
  2279. package/lib/templates/bet-nft/images/team2.png +0 -0
  2280. package/lib/templates/bet-nft/index.d.ts +27 -0
  2281. package/lib/templates/bet-nft/index.html +325 -0
  2282. package/lib/templates/bet-nft/index.js +49 -0
  2283. package/lib/templates/bet-og/images/bg.jpg +0 -0
  2284. package/lib/templates/bet-og/images/logo.png +0 -0
  2285. package/lib/templates/bet-og/index.d.ts +15 -0
  2286. package/lib/templates/bet-og/index.html +176 -0
  2287. package/lib/templates/bet-og/index.js +39 -0
  2288. package/lib/utils/generateImage.d.ts +21 -0
  2289. package/lib/utils/index.d.ts +5 -0
  2290. package/lib/utils/types.d.ts +8 -0
  2291. package/package.json +4 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapperTab.js","sources":["../cjs/protocol/protocol.js","../../node_modules/zod/lib/helpers/util.js","../../node_modules/zod/lib/ZodError.js","../../node_modules/zod/lib/helpers/parseUtil.js","../../node_modules/zod/lib/helpers/typeAliases.js","../../node_modules/zod/lib/helpers/errorUtil.js","../../node_modules/zod/lib/types.js","../../node_modules/zod/lib/external.js","../../node_modules/zod/lib/index.js","../cjs/protocol-parser/protocol-parser.js","../cjs/utils/log.js","../cjs/bidiTab/mapperTabPage.js","../cjs/utils/deferred.js","../cjs/bidiMapper/domains/log/logHelper.js","../cjs/bidiMapper/domains/log/logManager.js","../cjs/bidiMapper/domains/script/scriptEvaluator.js","../cjs/bidiMapper/domains/script/realm.js","../cjs/bidiMapper/domains/context/browsingContextImpl.js","../cjs/bidiMapper/domains/context/browsingContextProcessor.js","../cjs/utils/EventEmitter.js","../../node_modules/mitt/dist/mitt.js","../cjs/bidiMapper/OutgoingBidiMessage.js","../cjs/bidiMapper/CommandProcessor.js","../cjs/bidiMapper/domains/context/browsingContextStorage.js","../cjs/utils/buffer.js","../cjs/utils/idWrapper.js","../cjs/bidiMapper/domains/events/SubscriptionManager.js","../cjs/bidiMapper/domains/events/EventManager.js","../cjs/utils/processingQueue.js","../cjs/bidiMapper/domains/script/realmStorage.js","../cjs/bidiMapper/BidiServer.js","../cjs/cdp/cdpClient.js","../cjs/cdp/cdpConnection.js","../cjs/cdp/websocketTransport.js","../cjs/cdp/index.js","../cjs/bidiTab/bidiTab.js"],"sourcesContent":["\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CDP = exports.Log = exports.BrowsingContext = exports.Message = void 0;\nvar Message;\n(function (Message) {\n class ErrorResponseClass {\n constructor(error, message, stacktrace) {\n this.error = error;\n this.message = message;\n this.stacktrace = stacktrace;\n }\n error;\n message;\n stacktrace;\n toErrorResponse(commandId) {\n return {\n id: commandId,\n error: this.error,\n message: this.message,\n stacktrace: this.stacktrace,\n };\n }\n }\n Message.ErrorResponseClass = ErrorResponseClass;\n class UnknownException extends ErrorResponseClass {\n constructor(message, stacktrace) {\n super('unknown error', message, stacktrace);\n }\n }\n Message.UnknownException = UnknownException;\n class UnknownCommandException extends ErrorResponseClass {\n constructor(message, stacktrace) {\n super('unknown command', message, stacktrace);\n }\n }\n Message.UnknownCommandException = UnknownCommandException;\n class InvalidArgumentException extends ErrorResponseClass {\n constructor(message, stacktrace) {\n super('invalid argument', message, stacktrace);\n }\n }\n Message.InvalidArgumentException = InvalidArgumentException;\n class NoSuchNodeException extends ErrorResponseClass {\n constructor(message, stacktrace) {\n super('no such node', message, stacktrace);\n }\n }\n Message.NoSuchNodeException = NoSuchNodeException;\n class NoSuchFrameException extends ErrorResponseClass {\n constructor(message) {\n super('no such frame', message);\n }\n }\n Message.NoSuchFrameException = NoSuchFrameException;\n})(Message = exports.Message || (exports.Message = {}));\n// https://w3c.github.io/webdriver-bidi/#module-browsingContext\nvar BrowsingContext;\n(function (BrowsingContext) {\n let EventNames;\n (function (EventNames) {\n EventNames[\"LoadEvent\"] = \"browsingContext.load\";\n EventNames[\"DomContentLoadedEvent\"] = \"browsingContext.domContentLoaded\";\n EventNames[\"ContextCreatedEvent\"] = \"browsingContext.contextCreated\";\n EventNames[\"ContextDestroyedEvent\"] = \"browsingContext.contextDestroyed\";\n })(EventNames = BrowsingContext.EventNames || (BrowsingContext.EventNames = {}));\n BrowsingContext.AllEvents = 'browsingContext';\n})(BrowsingContext = exports.BrowsingContext || (exports.BrowsingContext = {}));\n// https://w3c.github.io/webdriver-bidi/#module-log\nvar Log;\n(function (Log) {\n Log.AllEvents = 'log';\n let EventNames;\n (function (EventNames) {\n EventNames[\"LogEntryAddedEvent\"] = \"log.entryAdded\";\n })(EventNames = Log.EventNames || (Log.EventNames = {}));\n})(Log = exports.Log || (exports.Log = {}));\nvar CDP;\n(function (CDP) {\n CDP.AllEvents = 'cdp';\n let EventNames;\n (function (EventNames) {\n EventNames[\"EventReceivedEvent\"] = \"cdp.eventReceived\";\n })(EventNames = CDP.EventNames || (CDP.EventNames = {}));\n})(CDP = exports.CDP || (exports.CDP = {}));\n//# sourceMappingURL=protocol.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getParsedType = exports.ZodParsedType = exports.util = void 0;\nvar util;\n(function (util) {\n function assertNever(_x) {\n throw new Error();\n }\n util.assertNever = assertNever;\n util.arrayToEnum = (items) => {\n const obj = {};\n for (const item of items) {\n obj[item] = item;\n }\n return obj;\n };\n util.getValidEnumValues = (obj) => {\n const validKeys = util.objectKeys(obj).filter((k) => typeof obj[obj[k]] !== \"number\");\n const filtered = {};\n for (const k of validKeys) {\n filtered[k] = obj[k];\n }\n return util.objectValues(filtered);\n };\n util.objectValues = (obj) => {\n return util.objectKeys(obj).map(function (e) {\n return obj[e];\n });\n };\n util.objectKeys = typeof Object.keys === \"function\" // eslint-disable-line ban/ban\n ? (obj) => Object.keys(obj) // eslint-disable-line ban/ban\n : (object) => {\n const keys = [];\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key)) {\n keys.push(key);\n }\n }\n return keys;\n };\n util.find = (arr, checker) => {\n for (const item of arr) {\n if (checker(item))\n return item;\n }\n return undefined;\n };\n util.isInteger = typeof Number.isInteger === \"function\"\n ? (val) => Number.isInteger(val) // eslint-disable-line ban/ban\n : (val) => typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n function joinValues(array, separator = \" | \") {\n return array\n .map((val) => (typeof val === \"string\" ? `'${val}'` : val))\n .join(separator);\n }\n util.joinValues = joinValues;\n})(util = exports.util || (exports.util = {}));\nexports.ZodParsedType = util.arrayToEnum([\n \"string\",\n \"nan\",\n \"number\",\n \"integer\",\n \"float\",\n \"boolean\",\n \"date\",\n \"bigint\",\n \"symbol\",\n \"function\",\n \"undefined\",\n \"null\",\n \"array\",\n \"object\",\n \"unknown\",\n \"promise\",\n \"void\",\n \"never\",\n \"map\",\n \"set\",\n]);\nconst getParsedType = (data) => {\n const t = typeof data;\n switch (t) {\n case \"undefined\":\n return exports.ZodParsedType.undefined;\n case \"string\":\n return exports.ZodParsedType.string;\n case \"number\":\n return isNaN(data) ? exports.ZodParsedType.nan : exports.ZodParsedType.number;\n case \"boolean\":\n return exports.ZodParsedType.boolean;\n case \"function\":\n return exports.ZodParsedType.function;\n case \"bigint\":\n return exports.ZodParsedType.bigint;\n case \"object\":\n if (Array.isArray(data)) {\n return exports.ZodParsedType.array;\n }\n if (data === null) {\n return exports.ZodParsedType.null;\n }\n if (data.then &&\n typeof data.then === \"function\" &&\n data.catch &&\n typeof data.catch === \"function\") {\n return exports.ZodParsedType.promise;\n }\n if (typeof Map !== \"undefined\" && data instanceof Map) {\n return exports.ZodParsedType.map;\n }\n if (typeof Set !== \"undefined\" && data instanceof Set) {\n return exports.ZodParsedType.set;\n }\n if (typeof Date !== \"undefined\" && data instanceof Date) {\n return exports.ZodParsedType.date;\n }\n return exports.ZodParsedType.object;\n default:\n return exports.ZodParsedType.unknown;\n }\n};\nexports.getParsedType = getParsedType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.setErrorMap = exports.overrideErrorMap = exports.defaultErrorMap = exports.ZodError = exports.quotelessJson = exports.ZodIssueCode = void 0;\nconst util_1 = require(\"./helpers/util\");\nexports.ZodIssueCode = util_1.util.arrayToEnum([\n \"invalid_type\",\n \"invalid_literal\",\n \"custom\",\n \"invalid_union\",\n \"invalid_union_discriminator\",\n \"invalid_enum_value\",\n \"unrecognized_keys\",\n \"invalid_arguments\",\n \"invalid_return_type\",\n \"invalid_date\",\n \"invalid_string\",\n \"too_small\",\n \"too_big\",\n \"invalid_intersection_types\",\n \"not_multiple_of\",\n]);\nconst quotelessJson = (obj) => {\n const json = JSON.stringify(obj, null, 2);\n return json.replace(/\"([^\"]+)\":/g, \"$1:\");\n};\nexports.quotelessJson = quotelessJson;\nclass ZodError extends Error {\n constructor(issues) {\n super();\n this.issues = [];\n this.addIssue = (sub) => {\n this.issues = [...this.issues, sub];\n };\n this.addIssues = (subs = []) => {\n this.issues = [...this.issues, ...subs];\n };\n const actualProto = new.target.prototype;\n if (Object.setPrototypeOf) {\n // eslint-disable-next-line ban/ban\n Object.setPrototypeOf(this, actualProto);\n }\n else {\n this.__proto__ = actualProto;\n }\n this.name = \"ZodError\";\n this.issues = issues;\n }\n get errors() {\n return this.issues;\n }\n format(_mapper) {\n const mapper = _mapper ||\n function (issue) {\n return issue.message;\n };\n const fieldErrors = { _errors: [] };\n const processError = (error) => {\n for (const issue of error.issues) {\n if (issue.code === \"invalid_union\") {\n issue.unionErrors.map(processError);\n }\n else if (issue.code === \"invalid_return_type\") {\n processError(issue.returnTypeError);\n }\n else if (issue.code === \"invalid_arguments\") {\n processError(issue.argumentsError);\n }\n else if (issue.path.length === 0) {\n fieldErrors._errors.push(mapper(issue));\n }\n else {\n let curr = fieldErrors;\n let i = 0;\n while (i < issue.path.length) {\n const el = issue.path[i];\n const terminal = i === issue.path.length - 1;\n if (!terminal) {\n curr[el] = curr[el] || { _errors: [] };\n // if (typeof el === \"string\") {\n // curr[el] = curr[el] || { _errors: [] };\n // } else if (typeof el === \"number\") {\n // const errorArray: any = [];\n // errorArray._errors = [];\n // curr[el] = curr[el] || errorArray;\n // }\n }\n else {\n curr[el] = curr[el] || { _errors: [] };\n curr[el]._errors.push(mapper(issue));\n }\n curr = curr[el];\n i++;\n }\n }\n }\n };\n processError(this);\n return fieldErrors;\n }\n toString() {\n return this.message;\n }\n get message() {\n return JSON.stringify(this.issues, null, 2);\n }\n get isEmpty() {\n return this.issues.length === 0;\n }\n flatten(mapper = (issue) => issue.message) {\n const fieldErrors = {};\n const formErrors = [];\n for (const sub of this.issues) {\n if (sub.path.length > 0) {\n fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];\n fieldErrors[sub.path[0]].push(mapper(sub));\n }\n else {\n formErrors.push(mapper(sub));\n }\n }\n return { formErrors, fieldErrors };\n }\n get formErrors() {\n return this.flatten();\n }\n}\nexports.ZodError = ZodError;\nZodError.create = (issues) => {\n const error = new ZodError(issues);\n return error;\n};\nconst defaultErrorMap = (issue, _ctx) => {\n let message;\n switch (issue.code) {\n case exports.ZodIssueCode.invalid_type:\n if (issue.received === util_1.ZodParsedType.undefined) {\n message = \"Required\";\n }\n else {\n message = `Expected ${issue.expected}, received ${issue.received}`;\n }\n break;\n case exports.ZodIssueCode.invalid_literal:\n message = `Invalid literal value, expected ${JSON.stringify(issue.expected)}`;\n break;\n case exports.ZodIssueCode.unrecognized_keys:\n message = `Unrecognized key(s) in object: ${util_1.util.joinValues(issue.keys, \", \")}`;\n break;\n case exports.ZodIssueCode.invalid_union:\n message = `Invalid input`;\n break;\n case exports.ZodIssueCode.invalid_union_discriminator:\n message = `Invalid discriminator value. Expected ${util_1.util.joinValues(issue.options)}`;\n break;\n case exports.ZodIssueCode.invalid_enum_value:\n message = `Invalid enum value. Expected ${util_1.util.joinValues(issue.options)}, received '${issue.received}'`;\n break;\n case exports.ZodIssueCode.invalid_arguments:\n message = `Invalid function arguments`;\n break;\n case exports.ZodIssueCode.invalid_return_type:\n message = `Invalid function return type`;\n break;\n case exports.ZodIssueCode.invalid_date:\n message = `Invalid date`;\n break;\n case exports.ZodIssueCode.invalid_string:\n if (issue.validation !== \"regex\")\n message = `Invalid ${issue.validation}`;\n else\n message = \"Invalid\";\n break;\n case exports.ZodIssueCode.too_small:\n if (issue.type === \"array\")\n message = `Array must contain ${issue.inclusive ? `at least` : `more than`} ${issue.minimum} element(s)`;\n else if (issue.type === \"string\")\n message = `String must contain ${issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;\n else if (issue.type === \"number\")\n message = `Number must be greater than ${issue.inclusive ? `or equal to ` : ``}${issue.minimum}`;\n else\n message = \"Invalid input\";\n break;\n case exports.ZodIssueCode.too_big:\n if (issue.type === \"array\")\n message = `Array must contain ${issue.inclusive ? `at most` : `less than`} ${issue.maximum} element(s)`;\n else if (issue.type === \"string\")\n message = `String must contain ${issue.inclusive ? `at most` : `under`} ${issue.maximum} character(s)`;\n else if (issue.type === \"number\")\n message = `Number must be less than ${issue.inclusive ? `or equal to ` : ``}${issue.maximum}`;\n else\n message = \"Invalid input\";\n break;\n case exports.ZodIssueCode.custom:\n message = `Invalid input`;\n break;\n case exports.ZodIssueCode.invalid_intersection_types:\n message = `Intersection results could not be merged`;\n break;\n case exports.ZodIssueCode.not_multiple_of:\n message = `Number must be a multiple of ${issue.multipleOf}`;\n break;\n default:\n message = _ctx.defaultError;\n util_1.util.assertNever(issue);\n }\n return { message };\n};\nexports.defaultErrorMap = defaultErrorMap;\nexports.overrideErrorMap = exports.defaultErrorMap;\nconst setErrorMap = (map) => {\n exports.overrideErrorMap = map;\n};\nexports.setErrorMap = setErrorMap;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isAsync = exports.isValid = exports.isDirty = exports.isAborted = exports.OK = exports.DIRTY = exports.INVALID = exports.ParseStatus = exports.addIssueToContext = exports.EMPTY_PATH = exports.makeIssue = void 0;\nconst ZodError_1 = require(\"../ZodError\");\nconst makeIssue = (params) => {\n const { data, path, errorMaps, issueData } = params;\n const fullPath = [...path, ...(issueData.path || [])];\n const fullIssue = {\n ...issueData,\n path: fullPath,\n };\n let errorMessage = \"\";\n const maps = errorMaps\n .filter((m) => !!m)\n .slice()\n .reverse();\n for (const map of maps) {\n errorMessage = map(fullIssue, { data, defaultError: errorMessage }).message;\n }\n return {\n ...issueData,\n path: fullPath,\n message: issueData.message || errorMessage,\n };\n};\nexports.makeIssue = makeIssue;\nexports.EMPTY_PATH = [];\nfunction addIssueToContext(ctx, issueData) {\n const issue = exports.makeIssue({\n issueData: issueData,\n data: ctx.data,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n ZodError_1.overrideErrorMap,\n ZodError_1.defaultErrorMap,\n ].filter((x) => !!x),\n });\n ctx.common.issues.push(issue);\n}\nexports.addIssueToContext = addIssueToContext;\nclass ParseStatus {\n constructor() {\n this.value = \"valid\";\n }\n dirty() {\n if (this.value === \"valid\")\n this.value = \"dirty\";\n }\n abort() {\n if (this.value !== \"aborted\")\n this.value = \"aborted\";\n }\n static mergeArray(status, results) {\n const arrayValue = [];\n for (const s of results) {\n if (s.status === \"aborted\")\n return exports.INVALID;\n if (s.status === \"dirty\")\n status.dirty();\n arrayValue.push(s.value);\n }\n return { status: status.value, value: arrayValue };\n }\n static async mergeObjectAsync(status, pairs) {\n const syncPairs = [];\n for (const pair of pairs) {\n syncPairs.push({\n key: await pair.key,\n value: await pair.value,\n });\n }\n return ParseStatus.mergeObjectSync(status, syncPairs);\n }\n static mergeObjectSync(status, pairs) {\n const finalObject = {};\n for (const pair of pairs) {\n const { key, value } = pair;\n if (key.status === \"aborted\")\n return exports.INVALID;\n if (value.status === \"aborted\")\n return exports.INVALID;\n if (key.status === \"dirty\")\n status.dirty();\n if (value.status === \"dirty\")\n status.dirty();\n if (typeof value.value !== \"undefined\" || pair.alwaysSet) {\n finalObject[key.value] = value.value;\n }\n }\n return { status: status.value, value: finalObject };\n }\n}\nexports.ParseStatus = ParseStatus;\nexports.INVALID = Object.freeze({\n status: \"aborted\",\n});\nconst DIRTY = (value) => ({ status: \"dirty\", value });\nexports.DIRTY = DIRTY;\nconst OK = (value) => ({ status: \"valid\", value });\nexports.OK = OK;\nconst isAborted = (x) => x.status === \"aborted\";\nexports.isAborted = isAborted;\nconst isDirty = (x) => x.status === \"dirty\";\nexports.isDirty = isDirty;\nconst isValid = (x) => x.status === \"valid\";\nexports.isValid = isValid;\nconst isAsync = (x) => typeof Promise !== undefined && x instanceof Promise;\nexports.isAsync = isAsync;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.errorUtil = void 0;\nvar errorUtil;\n(function (errorUtil) {\n errorUtil.errToObj = (message) => typeof message === \"string\" ? { message } : message || {};\n errorUtil.toString = (message) => typeof message === \"string\" ? message : message === null || message === void 0 ? void 0 : message.message;\n})(errorUtil = exports.errorUtil || (exports.errorUtil = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.intersection = exports.instanceof = exports.function = exports.enum = exports.effect = exports.discriminatedUnion = exports.date = exports.boolean = exports.bigint = exports.array = exports.any = exports.ZodFirstPartyTypeKind = exports.late = exports.ZodSchema = exports.Schema = exports.custom = exports.ZodNaN = exports.ZodDefault = exports.ZodNullable = exports.ZodOptional = exports.ZodTransformer = exports.ZodEffects = exports.ZodPromise = exports.ZodNativeEnum = exports.ZodEnum = exports.ZodLiteral = exports.ZodLazy = exports.ZodFunction = exports.ZodSet = exports.ZodMap = exports.ZodRecord = exports.ZodTuple = exports.ZodIntersection = exports.ZodDiscriminatedUnion = exports.ZodUnion = exports.ZodObject = exports.objectUtil = exports.ZodArray = exports.ZodVoid = exports.ZodNever = exports.ZodUnknown = exports.ZodAny = exports.ZodNull = exports.ZodUndefined = exports.ZodDate = exports.ZodBoolean = exports.ZodBigInt = exports.ZodNumber = exports.ZodString = exports.ZodType = void 0;\nexports.void = exports.unknown = exports.union = exports.undefined = exports.tuple = exports.transformer = exports.string = exports.strictObject = exports.set = exports.record = exports.promise = exports.preprocess = exports.ostring = exports.optional = exports.onumber = exports.oboolean = exports.object = exports.number = exports.nullable = exports.null = exports.never = exports.nativeEnum = exports.nan = exports.map = exports.literal = exports.lazy = void 0;\nconst errorUtil_1 = require(\"./helpers/errorUtil\");\nconst parseUtil_1 = require(\"./helpers/parseUtil\");\nconst util_1 = require(\"./helpers/util\");\nconst ZodError_1 = require(\"./ZodError\");\nclass ParseInputLazyPath {\n constructor(parent, value, path, key) {\n this.parent = parent;\n this.data = value;\n this._path = path;\n this._key = key;\n }\n get path() {\n return this._path.concat(this._key);\n }\n}\nconst handleResult = (ctx, result) => {\n if (parseUtil_1.isValid(result)) {\n return { success: true, data: result.value };\n }\n else {\n if (!ctx.common.issues.length) {\n throw new Error(\"Validation failed but no issues detected.\");\n }\n const error = new ZodError_1.ZodError(ctx.common.issues);\n return { success: false, error };\n }\n};\nfunction processCreateParams(params) {\n if (!params)\n return {};\n const { errorMap, invalid_type_error, required_error, description } = params;\n if (errorMap && (invalid_type_error || required_error)) {\n throw new Error(`Can't use \"invalid\" or \"required\" in conjunction with custom error map.`);\n }\n if (errorMap)\n return { errorMap: errorMap, description };\n const customMap = (iss, ctx) => {\n if (iss.code !== \"invalid_type\")\n return { message: ctx.defaultError };\n if (typeof ctx.data === \"undefined\" && required_error)\n return { message: required_error };\n if (params.invalid_type_error)\n return { message: params.invalid_type_error };\n return { message: ctx.defaultError };\n };\n return { errorMap: customMap, description };\n}\nclass ZodType {\n constructor(def) {\n /** Alias of safeParseAsync */\n this.spa = this.safeParseAsync;\n this.superRefine = this._refinement;\n this._def = def;\n this.parse = this.parse.bind(this);\n this.safeParse = this.safeParse.bind(this);\n this.parseAsync = this.parseAsync.bind(this);\n this.safeParseAsync = this.safeParseAsync.bind(this);\n this.spa = this.spa.bind(this);\n this.refine = this.refine.bind(this);\n this.refinement = this.refinement.bind(this);\n this.superRefine = this.superRefine.bind(this);\n this.optional = this.optional.bind(this);\n this.nullable = this.nullable.bind(this);\n this.nullish = this.nullish.bind(this);\n this.array = this.array.bind(this);\n this.promise = this.promise.bind(this);\n this.or = this.or.bind(this);\n this.and = this.and.bind(this);\n this.transform = this.transform.bind(this);\n this.default = this.default.bind(this);\n this.describe = this.describe.bind(this);\n this.isNullable = this.isNullable.bind(this);\n this.isOptional = this.isOptional.bind(this);\n }\n get description() {\n return this._def.description;\n }\n _getType(input) {\n return util_1.getParsedType(input.data);\n }\n _getOrReturnCtx(input, ctx) {\n return (ctx || {\n common: input.parent.common,\n data: input.data,\n parsedType: util_1.getParsedType(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent,\n });\n }\n _processInputParams(input) {\n return {\n status: new parseUtil_1.ParseStatus(),\n ctx: {\n common: input.parent.common,\n data: input.data,\n parsedType: util_1.getParsedType(input.data),\n schemaErrorMap: this._def.errorMap,\n path: input.path,\n parent: input.parent,\n },\n };\n }\n _parseSync(input) {\n const result = this._parse(input);\n if (parseUtil_1.isAsync(result)) {\n throw new Error(\"Synchronous parse encountered promise.\");\n }\n return result;\n }\n _parseAsync(input) {\n const result = this._parse(input);\n return Promise.resolve(result);\n }\n parse(data, params) {\n const result = this.safeParse(data, params);\n if (result.success)\n return result.data;\n throw result.error;\n }\n safeParse(data, params) {\n var _a;\n const ctx = {\n common: {\n issues: [],\n async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data,\n parsedType: util_1.getParsedType(data),\n };\n const result = this._parseSync({ data, path: ctx.path, parent: ctx });\n return handleResult(ctx, result);\n }\n async parseAsync(data, params) {\n const result = await this.safeParseAsync(data, params);\n if (result.success)\n return result.data;\n throw result.error;\n }\n async safeParseAsync(data, params) {\n const ctx = {\n common: {\n issues: [],\n contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,\n async: true,\n },\n path: (params === null || params === void 0 ? void 0 : params.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data,\n parsedType: util_1.getParsedType(data),\n };\n const maybeAsyncResult = this._parse({ data, path: [], parent: ctx });\n const result = await (parseUtil_1.isAsync(maybeAsyncResult)\n ? maybeAsyncResult\n : Promise.resolve(maybeAsyncResult));\n return handleResult(ctx, result);\n }\n refine(check, message) {\n const getIssueProperties = (val) => {\n if (typeof message === \"string\" || typeof message === \"undefined\") {\n return { message };\n }\n else if (typeof message === \"function\") {\n return message(val);\n }\n else {\n return message;\n }\n };\n return this._refinement((val, ctx) => {\n const result = check(val);\n const setError = () => ctx.addIssue({\n code: ZodError_1.ZodIssueCode.custom,\n ...getIssueProperties(val),\n });\n if (typeof Promise !== \"undefined\" && result instanceof Promise) {\n return result.then((data) => {\n if (!data) {\n setError();\n return false;\n }\n else {\n return true;\n }\n });\n }\n if (!result) {\n setError();\n return false;\n }\n else {\n return true;\n }\n });\n }\n refinement(check, refinementData) {\n return this._refinement((val, ctx) => {\n if (!check(val)) {\n ctx.addIssue(typeof refinementData === \"function\"\n ? refinementData(val, ctx)\n : refinementData);\n return false;\n }\n else {\n return true;\n }\n });\n }\n _refinement(refinement) {\n return new ZodEffects({\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: { type: \"refinement\", refinement },\n });\n }\n optional() {\n return ZodOptional.create(this);\n }\n nullable() {\n return ZodNullable.create(this);\n }\n nullish() {\n return this.optional().nullable();\n }\n array() {\n return ZodArray.create(this);\n }\n promise() {\n return ZodPromise.create(this);\n }\n or(option) {\n return ZodUnion.create([this, option]);\n }\n and(incoming) {\n return ZodIntersection.create(this, incoming);\n }\n transform(transform) {\n return new ZodEffects({\n schema: this,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect: { type: \"transform\", transform },\n });\n }\n default(def) {\n const defaultValueFunc = typeof def === \"function\" ? def : () => def;\n return new ZodDefault({\n innerType: this,\n defaultValue: defaultValueFunc,\n typeName: ZodFirstPartyTypeKind.ZodDefault,\n });\n }\n describe(description) {\n const This = this.constructor;\n return new This({\n ...this._def,\n description,\n });\n }\n isOptional() {\n return this.safeParse(undefined).success;\n }\n isNullable() {\n return this.safeParse(null).success;\n }\n}\nexports.ZodType = ZodType;\nexports.Schema = ZodType;\nexports.ZodSchema = ZodType;\nconst cuidRegex = /^c[^\\s-]{8,}$/i;\nconst uuidRegex = /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;\n// from https://stackoverflow.com/a/46181/1550155\n// old version: too slow, didn't support unicode\n// const emailRegex = /^((([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$/i;\n// eslint-disable-next-line\nconst emailRegex = /^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i;\nclass ZodString extends ZodType {\n constructor() {\n super(...arguments);\n this._regex = (regex, validation, message) => this.refinement((data) => regex.test(data), {\n validation,\n code: ZodError_1.ZodIssueCode.invalid_string,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n /**\n * @deprecated Use z.string().min(1) instead.\n * @see {@link ZodString.min}\n */\n this.nonempty = (message) => this.min(1, errorUtil_1.errorUtil.errToObj(message));\n this.trim = () => new ZodString({\n ...this._def,\n checks: [...this._def.checks, { kind: \"trim\" }],\n });\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.string) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.string,\n received: ctx.parsedType,\n }\n //\n );\n return parseUtil_1.INVALID;\n }\n const status = new parseUtil_1.ParseStatus();\n let ctx = undefined;\n for (const check of this._def.checks) {\n if (check.kind === \"min\") {\n if (input.data.length < check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: check.value,\n type: \"string\",\n inclusive: true,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n if (input.data.length > check.value) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: check.value,\n type: \"string\",\n inclusive: true,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"email\") {\n if (!emailRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n validation: \"email\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"uuid\") {\n if (!uuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n validation: \"uuid\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"cuid\") {\n if (!cuidRegex.test(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n validation: \"cuid\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"url\") {\n try {\n new URL(input.data);\n }\n catch (_a) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n validation: \"url\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"regex\") {\n check.regex.lastIndex = 0;\n const testResult = check.regex.test(input.data);\n if (!testResult) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n validation: \"regex\",\n code: ZodError_1.ZodIssueCode.invalid_string,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"trim\") {\n input.data = input.data.trim();\n }\n else {\n util_1.util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n _addCheck(check) {\n return new ZodString({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n email(message) {\n return this._addCheck({ kind: \"email\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n url(message) {\n return this._addCheck({ kind: \"url\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n uuid(message) {\n return this._addCheck({ kind: \"uuid\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n cuid(message) {\n return this._addCheck({ kind: \"cuid\", ...errorUtil_1.errorUtil.errToObj(message) });\n }\n regex(regex, message) {\n return this._addCheck({\n kind: \"regex\",\n regex: regex,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n min(minLength, message) {\n return this._addCheck({\n kind: \"min\",\n value: minLength,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n max(maxLength, message) {\n return this._addCheck({\n kind: \"max\",\n value: maxLength,\n ...errorUtil_1.errorUtil.errToObj(message),\n });\n }\n length(len, message) {\n return this.min(len, message).max(len, message);\n }\n get isEmail() {\n return !!this._def.checks.find((ch) => ch.kind === \"email\");\n }\n get isURL() {\n return !!this._def.checks.find((ch) => ch.kind === \"url\");\n }\n get isUUID() {\n return !!this._def.checks.find((ch) => ch.kind === \"uuid\");\n }\n get isCUID() {\n return !!this._def.checks.find((ch) => ch.kind === \"cuid\");\n }\n get minLength() {\n let min = -Infinity;\n this._def.checks.map((ch) => {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min) {\n min = ch.value;\n }\n }\n });\n return min;\n }\n get maxLength() {\n let max = null;\n this._def.checks.map((ch) => {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max) {\n max = ch.value;\n }\n }\n });\n return max;\n }\n}\nexports.ZodString = ZodString;\nZodString.create = (params) => {\n return new ZodString({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodString,\n ...processCreateParams(params),\n });\n};\n// https://stackoverflow.com/questions/3966484/why-does-modulus-operator-return-fractional-number-in-javascript/31711034#31711034\nfunction floatSafeRemainder(val, step) {\n const valDecCount = (val.toString().split(\".\")[1] || \"\").length;\n const stepDecCount = (step.toString().split(\".\")[1] || \"\").length;\n const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;\n const valInt = parseInt(val.toFixed(decCount).replace(\".\", \"\"));\n const stepInt = parseInt(step.toFixed(decCount).replace(\".\", \"\"));\n return (valInt % stepInt) / Math.pow(10, decCount);\n}\nclass ZodNumber extends ZodType {\n constructor() {\n super(...arguments);\n this.min = this.gte;\n this.max = this.lte;\n this.step = this.multipleOf;\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.number) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.number,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n let ctx = undefined;\n const status = new parseUtil_1.ParseStatus();\n for (const check of this._def.checks) {\n if (check.kind === \"int\") {\n if (!util_1.util.isInteger(input.data)) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: \"integer\",\n received: \"float\",\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"min\") {\n const tooSmall = check.inclusive\n ? input.data < check.value\n : input.data <= check.value;\n if (tooSmall) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"max\") {\n const tooBig = check.inclusive\n ? input.data > check.value\n : input.data >= check.value;\n if (tooBig) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: check.value,\n type: \"number\",\n inclusive: check.inclusive,\n message: check.message,\n });\n status.dirty();\n }\n }\n else if (check.kind === \"multipleOf\") {\n if (floatSafeRemainder(input.data, check.value) !== 0) {\n ctx = this._getOrReturnCtx(input, ctx);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.not_multiple_of,\n multipleOf: check.value,\n message: check.message,\n });\n status.dirty();\n }\n }\n else {\n util_1.util.assertNever(check);\n }\n }\n return { status: status.value, value: input.data };\n }\n gte(value, message) {\n return this.setLimit(\"min\", value, true, errorUtil_1.errorUtil.toString(message));\n }\n gt(value, message) {\n return this.setLimit(\"min\", value, false, errorUtil_1.errorUtil.toString(message));\n }\n lte(value, message) {\n return this.setLimit(\"max\", value, true, errorUtil_1.errorUtil.toString(message));\n }\n lt(value, message) {\n return this.setLimit(\"max\", value, false, errorUtil_1.errorUtil.toString(message));\n }\n setLimit(kind, value, inclusive, message) {\n return new ZodNumber({\n ...this._def,\n checks: [\n ...this._def.checks,\n {\n kind,\n value,\n inclusive,\n message: errorUtil_1.errorUtil.toString(message),\n },\n ],\n });\n }\n _addCheck(check) {\n return new ZodNumber({\n ...this._def,\n checks: [...this._def.checks, check],\n });\n }\n int(message) {\n return this._addCheck({\n kind: \"int\",\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n positive(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: false,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n negative(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: false,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n nonpositive(message) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: true,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n nonnegative(message) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: true,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n multipleOf(value, message) {\n return this._addCheck({\n kind: \"multipleOf\",\n value: value,\n message: errorUtil_1.errorUtil.toString(message),\n });\n }\n get minValue() {\n let min = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"min\") {\n if (min === null || ch.value > min)\n min = ch.value;\n }\n }\n return min;\n }\n get maxValue() {\n let max = null;\n for (const ch of this._def.checks) {\n if (ch.kind === \"max\") {\n if (max === null || ch.value < max)\n max = ch.value;\n }\n }\n return max;\n }\n get isInt() {\n return !!this._def.checks.find((ch) => ch.kind === \"int\");\n }\n}\nexports.ZodNumber = ZodNumber;\nZodNumber.create = (params) => {\n return new ZodNumber({\n checks: [],\n typeName: ZodFirstPartyTypeKind.ZodNumber,\n ...processCreateParams(params),\n });\n};\nclass ZodBigInt extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.bigint) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.bigint,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return parseUtil_1.OK(input.data);\n }\n}\nexports.ZodBigInt = ZodBigInt;\nZodBigInt.create = (params) => {\n return new ZodBigInt({\n typeName: ZodFirstPartyTypeKind.ZodBigInt,\n ...processCreateParams(params),\n });\n};\nclass ZodBoolean extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.boolean) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.boolean,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return parseUtil_1.OK(input.data);\n }\n}\nexports.ZodBoolean = ZodBoolean;\nZodBoolean.create = (params) => {\n return new ZodBoolean({\n typeName: ZodFirstPartyTypeKind.ZodBoolean,\n ...processCreateParams(params),\n });\n};\nclass ZodDate extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.date) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.date,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n if (isNaN(input.data.getTime())) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_date,\n });\n return parseUtil_1.INVALID;\n }\n return {\n status: \"valid\",\n value: new Date(input.data.getTime()),\n };\n }\n}\nexports.ZodDate = ZodDate;\nZodDate.create = (params) => {\n return new ZodDate({\n typeName: ZodFirstPartyTypeKind.ZodDate,\n ...processCreateParams(params),\n });\n};\nclass ZodUndefined extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.undefined) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.undefined,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return parseUtil_1.OK(input.data);\n }\n}\nexports.ZodUndefined = ZodUndefined;\nZodUndefined.create = (params) => {\n return new ZodUndefined({\n typeName: ZodFirstPartyTypeKind.ZodUndefined,\n ...processCreateParams(params),\n });\n};\nclass ZodNull extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.null) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.null,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return parseUtil_1.OK(input.data);\n }\n}\nexports.ZodNull = ZodNull;\nZodNull.create = (params) => {\n return new ZodNull({\n typeName: ZodFirstPartyTypeKind.ZodNull,\n ...processCreateParams(params),\n });\n};\nclass ZodAny extends ZodType {\n constructor() {\n super(...arguments);\n // to prevent instances of other classes from extending ZodAny. this causes issues with catchall in ZodObject.\n this._any = true;\n }\n _parse(input) {\n return parseUtil_1.OK(input.data);\n }\n}\nexports.ZodAny = ZodAny;\nZodAny.create = (params) => {\n return new ZodAny({\n typeName: ZodFirstPartyTypeKind.ZodAny,\n ...processCreateParams(params),\n });\n};\nclass ZodUnknown extends ZodType {\n constructor() {\n super(...arguments);\n // required\n this._unknown = true;\n }\n _parse(input) {\n return parseUtil_1.OK(input.data);\n }\n}\nexports.ZodUnknown = ZodUnknown;\nZodUnknown.create = (params) => {\n return new ZodUnknown({\n typeName: ZodFirstPartyTypeKind.ZodUnknown,\n ...processCreateParams(params),\n });\n};\nclass ZodNever extends ZodType {\n _parse(input) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.never,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n}\nexports.ZodNever = ZodNever;\nZodNever.create = (params) => {\n return new ZodNever({\n typeName: ZodFirstPartyTypeKind.ZodNever,\n ...processCreateParams(params),\n });\n};\nclass ZodVoid extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.undefined) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.void,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return parseUtil_1.OK(input.data);\n }\n}\nexports.ZodVoid = ZodVoid;\nZodVoid.create = (params) => {\n return new ZodVoid({\n typeName: ZodFirstPartyTypeKind.ZodVoid,\n ...processCreateParams(params),\n });\n};\nclass ZodArray extends ZodType {\n _parse(input) {\n const { ctx, status } = this._processInputParams(input);\n const def = this._def;\n if (ctx.parsedType !== util_1.ZodParsedType.array) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.array,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n if (def.minLength !== null) {\n if (ctx.data.length < def.minLength.value) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: def.minLength.value,\n type: \"array\",\n inclusive: true,\n message: def.minLength.message,\n });\n status.dirty();\n }\n }\n if (def.maxLength !== null) {\n if (ctx.data.length > def.maxLength.value) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: def.maxLength.value,\n type: \"array\",\n inclusive: true,\n message: def.maxLength.message,\n });\n status.dirty();\n }\n }\n if (ctx.common.async) {\n return Promise.all(ctx.data.map((item, i) => {\n return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n })).then((result) => {\n return parseUtil_1.ParseStatus.mergeArray(status, result);\n });\n }\n const result = ctx.data.map((item, i) => {\n return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));\n });\n return parseUtil_1.ParseStatus.mergeArray(status, result);\n }\n get element() {\n return this._def.type;\n }\n min(minLength, message) {\n return new ZodArray({\n ...this._def,\n minLength: { value: minLength, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n max(maxLength, message) {\n return new ZodArray({\n ...this._def,\n maxLength: { value: maxLength, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n length(len, message) {\n return this.min(len, message).max(len, message);\n }\n nonempty(message) {\n return this.min(1, message);\n }\n}\nexports.ZodArray = ZodArray;\nZodArray.create = (schema, params) => {\n return new ZodArray({\n type: schema,\n minLength: null,\n maxLength: null,\n typeName: ZodFirstPartyTypeKind.ZodArray,\n ...processCreateParams(params),\n });\n};\n/////////////////////////////////////////\n/////////////////////////////////////////\n////////// //////////\n////////// ZodObject //////////\n////////// //////////\n/////////////////////////////////////////\n/////////////////////////////////////////\nvar objectUtil;\n(function (objectUtil) {\n objectUtil.mergeShapes = (first, second) => {\n return {\n ...first,\n ...second,\n };\n };\n})(objectUtil = exports.objectUtil || (exports.objectUtil = {}));\nconst AugmentFactory = (def) => (augmentation) => {\n return new ZodObject({\n ...def,\n shape: () => ({\n ...def.shape(),\n ...augmentation,\n }),\n });\n};\nfunction deepPartialify(schema) {\n if (schema instanceof ZodObject) {\n const newShape = {};\n for (const key in schema.shape) {\n const fieldSchema = schema.shape[key];\n newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));\n }\n return new ZodObject({\n ...schema._def,\n shape: () => newShape,\n });\n }\n else if (schema instanceof ZodArray) {\n return ZodArray.create(deepPartialify(schema.element));\n }\n else if (schema instanceof ZodOptional) {\n return ZodOptional.create(deepPartialify(schema.unwrap()));\n }\n else if (schema instanceof ZodNullable) {\n return ZodNullable.create(deepPartialify(schema.unwrap()));\n }\n else if (schema instanceof ZodTuple) {\n return ZodTuple.create(schema.items.map((item) => deepPartialify(item)));\n }\n else {\n return schema;\n }\n}\nclass ZodObject extends ZodType {\n constructor() {\n super(...arguments);\n this._cached = null;\n /**\n * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\n * If you want to pass through unknown properties, use `.passthrough()` instead.\n */\n this.nonstrict = this.passthrough;\n this.augment = AugmentFactory(this._def);\n this.extend = AugmentFactory(this._def);\n }\n _getCached() {\n if (this._cached !== null)\n return this._cached;\n const shape = this._def.shape();\n const keys = util_1.util.objectKeys(shape);\n return (this._cached = { shape, keys });\n }\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.object) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.object,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const { status, ctx } = this._processInputParams(input);\n const { shape, keys: shapeKeys } = this._getCached();\n const extraKeys = [];\n for (const key in ctx.data) {\n if (!shapeKeys.includes(key)) {\n extraKeys.push(key);\n }\n }\n const pairs = [];\n for (const key of shapeKeys) {\n const keyValidator = shape[key];\n const value = ctx.data[key];\n pairs.push({\n key: { status: \"valid\", value: key },\n value: keyValidator._parse(new ParseInputLazyPath(ctx, value, ctx.path, key)),\n alwaysSet: key in ctx.data,\n });\n }\n if (this._def.catchall instanceof ZodNever) {\n const unknownKeys = this._def.unknownKeys;\n if (unknownKeys === \"passthrough\") {\n for (const key of extraKeys) {\n pairs.push({\n key: { status: \"valid\", value: key },\n value: { status: \"valid\", value: ctx.data[key] },\n });\n }\n }\n else if (unknownKeys === \"strict\") {\n if (extraKeys.length > 0) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.unrecognized_keys,\n keys: extraKeys,\n });\n status.dirty();\n }\n }\n else if (unknownKeys === \"strip\") {\n }\n else {\n throw new Error(`Internal ZodObject error: invalid unknownKeys value.`);\n }\n }\n else {\n // run catchall validation\n const catchall = this._def.catchall;\n for (const key of extraKeys) {\n const value = ctx.data[key];\n pairs.push({\n key: { status: \"valid\", value: key },\n value: catchall._parse(new ParseInputLazyPath(ctx, value, ctx.path, key) //, ctx.child(key), value, getParsedType(value)\n ),\n alwaysSet: key in ctx.data,\n });\n }\n }\n if (ctx.common.async) {\n return Promise.resolve()\n .then(async () => {\n const syncPairs = [];\n for (const pair of pairs) {\n const key = await pair.key;\n syncPairs.push({\n key,\n value: await pair.value,\n alwaysSet: pair.alwaysSet,\n });\n }\n return syncPairs;\n })\n .then((syncPairs) => {\n return parseUtil_1.ParseStatus.mergeObjectSync(status, syncPairs);\n });\n }\n else {\n return parseUtil_1.ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n get shape() {\n return this._def.shape();\n }\n strict(message) {\n errorUtil_1.errorUtil.errToObj;\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strict\",\n ...(message !== undefined\n ? {\n errorMap: (issue, ctx) => {\n var _a, _b, _c, _d;\n const defaultError = (_c = (_b = (_a = this._def).errorMap) === null || _b === void 0 ? void 0 : _b.call(_a, issue, ctx).message) !== null && _c !== void 0 ? _c : ctx.defaultError;\n if (issue.code === \"unrecognized_keys\")\n return {\n message: (_d = errorUtil_1.errorUtil.errToObj(message).message) !== null && _d !== void 0 ? _d : defaultError,\n };\n return {\n message: defaultError,\n };\n },\n }\n : {}),\n });\n }\n strip() {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"strip\",\n });\n }\n passthrough() {\n return new ZodObject({\n ...this._def,\n unknownKeys: \"passthrough\",\n });\n }\n setKey(key, schema) {\n return this.augment({ [key]: schema });\n }\n /**\n * Prior to zod@1.0.12 there was a bug in the\n * inferred type of merged objects. Please\n * upgrade if you are experiencing issues.\n */\n merge(merging) {\n // const mergedShape = objectUtil.mergeShapes(\n // this._def.shape(),\n // merging._def.shape()\n // );\n const merged = new ZodObject({\n unknownKeys: merging._def.unknownKeys,\n catchall: merging._def.catchall,\n shape: () => objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n });\n return merged;\n }\n catchall(index) {\n return new ZodObject({\n ...this._def,\n catchall: index,\n });\n }\n pick(mask) {\n const shape = {};\n util_1.util.objectKeys(mask).map((key) => {\n // only add to shape if key corresponds to an element of the current shape\n if (this.shape[key])\n shape[key] = this.shape[key];\n });\n return new ZodObject({\n ...this._def,\n shape: () => shape,\n });\n }\n omit(mask) {\n const shape = {};\n util_1.util.objectKeys(this.shape).map((key) => {\n if (util_1.util.objectKeys(mask).indexOf(key) === -1) {\n shape[key] = this.shape[key];\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => shape,\n });\n }\n deepPartial() {\n return deepPartialify(this);\n }\n partial(mask) {\n const newShape = {};\n if (mask) {\n util_1.util.objectKeys(this.shape).map((key) => {\n if (util_1.util.objectKeys(mask).indexOf(key) === -1) {\n newShape[key] = this.shape[key];\n }\n else {\n newShape[key] = this.shape[key].optional();\n }\n });\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n else {\n for (const key in this.shape) {\n const fieldSchema = this.shape[key];\n newShape[key] = fieldSchema.optional();\n }\n }\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n required() {\n const newShape = {};\n for (const key in this.shape) {\n const fieldSchema = this.shape[key];\n let newField = fieldSchema;\n while (newField instanceof ZodOptional) {\n newField = newField._def.innerType;\n }\n newShape[key] = newField;\n }\n return new ZodObject({\n ...this._def,\n shape: () => newShape,\n });\n }\n}\nexports.ZodObject = ZodObject;\nZodObject.create = (shape, params) => {\n return new ZodObject({\n shape: () => shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nZodObject.strictCreate = (shape, params) => {\n return new ZodObject({\n shape: () => shape,\n unknownKeys: \"strict\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nZodObject.lazycreate = (shape, params) => {\n return new ZodObject({\n shape,\n unknownKeys: \"strip\",\n catchall: ZodNever.create(),\n typeName: ZodFirstPartyTypeKind.ZodObject,\n ...processCreateParams(params),\n });\n};\nclass ZodUnion extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const options = this._def.options;\n function handleResults(results) {\n // return first issue-free validation if it exists\n for (const result of results) {\n if (result.result.status === \"valid\") {\n return result.result;\n }\n }\n for (const result of results) {\n if (result.result.status === \"dirty\") {\n // add issues from dirty option\n ctx.common.issues.push(...result.ctx.common.issues);\n return result.result;\n }\n }\n // return invalid\n const unionErrors = results.map((result) => new ZodError_1.ZodError(result.ctx.common.issues));\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_union,\n unionErrors,\n });\n return parseUtil_1.INVALID;\n }\n if (ctx.common.async) {\n return Promise.all(options.map(async (option) => {\n const childCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n parent: null,\n };\n return {\n result: await option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx,\n }),\n ctx: childCtx,\n };\n })).then(handleResults);\n }\n else {\n let dirty = undefined;\n const issues = [];\n for (const option of options) {\n const childCtx = {\n ...ctx,\n common: {\n ...ctx.common,\n issues: [],\n },\n parent: null,\n };\n const result = option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: childCtx,\n });\n if (result.status === \"valid\") {\n return result;\n }\n else if (result.status === \"dirty\" && !dirty) {\n dirty = { result, ctx: childCtx };\n }\n if (childCtx.common.issues.length) {\n issues.push(childCtx.common.issues);\n }\n }\n if (dirty) {\n ctx.common.issues.push(...dirty.ctx.common.issues);\n return dirty.result;\n }\n const unionErrors = issues.map((issues) => new ZodError_1.ZodError(issues));\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_union,\n unionErrors,\n });\n return parseUtil_1.INVALID;\n }\n }\n get options() {\n return this._def.options;\n }\n}\nexports.ZodUnion = ZodUnion;\nZodUnion.create = (types, params) => {\n return new ZodUnion({\n options: types,\n typeName: ZodFirstPartyTypeKind.ZodUnion,\n ...processCreateParams(params),\n });\n};\nclass ZodDiscriminatedUnion extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.object) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.object,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const discriminator = this.discriminator;\n const discriminatorValue = ctx.data[discriminator];\n const option = this.options.get(discriminatorValue);\n if (!option) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_union_discriminator,\n options: this.validDiscriminatorValues,\n path: [discriminator],\n });\n return parseUtil_1.INVALID;\n }\n if (ctx.common.async) {\n return option._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n }\n else {\n return option._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n get discriminator() {\n return this._def.discriminator;\n }\n get validDiscriminatorValues() {\n return Array.from(this.options.keys());\n }\n get options() {\n return this._def.options;\n }\n /**\n * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\n * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\n * have a different value for each object in the union.\n * @param discriminator the name of the discriminator property\n * @param types an array of object schemas\n * @param params\n */\n static create(discriminator, types, params) {\n // Get all the valid discriminator values\n const options = new Map();\n try {\n types.forEach((type) => {\n const discriminatorValue = type.shape[discriminator].value;\n options.set(discriminatorValue, type);\n });\n }\n catch (e) {\n throw new Error(\"The discriminator value could not be extracted from all the provided schemas\");\n }\n // Assert that all the discriminator values are unique\n if (options.size !== types.length) {\n throw new Error(\"Some of the discriminator values are not unique\");\n }\n return new ZodDiscriminatedUnion({\n typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,\n discriminator,\n options,\n ...processCreateParams(params),\n });\n }\n}\nexports.ZodDiscriminatedUnion = ZodDiscriminatedUnion;\nfunction mergeValues(a, b) {\n const aType = util_1.getParsedType(a);\n const bType = util_1.getParsedType(b);\n if (a === b) {\n return { valid: true, data: a };\n }\n else if (aType === util_1.ZodParsedType.object && bType === util_1.ZodParsedType.object) {\n const bKeys = util_1.util.objectKeys(b);\n const sharedKeys = util_1.util\n .objectKeys(a)\n .filter((key) => bKeys.indexOf(key) !== -1);\n const newObj = { ...a, ...b };\n for (const key of sharedKeys) {\n const sharedValue = mergeValues(a[key], b[key]);\n if (!sharedValue.valid) {\n return { valid: false };\n }\n newObj[key] = sharedValue.data;\n }\n return { valid: true, data: newObj };\n }\n else if (aType === util_1.ZodParsedType.array && bType === util_1.ZodParsedType.array) {\n if (a.length !== b.length) {\n return { valid: false };\n }\n const newArray = [];\n for (let index = 0; index < a.length; index++) {\n const itemA = a[index];\n const itemB = b[index];\n const sharedValue = mergeValues(itemA, itemB);\n if (!sharedValue.valid) {\n return { valid: false };\n }\n newArray.push(sharedValue.data);\n }\n return { valid: true, data: newArray };\n }\n else if (aType === util_1.ZodParsedType.date &&\n bType === util_1.ZodParsedType.date &&\n +a === +b) {\n return { valid: true, data: a };\n }\n else {\n return { valid: false };\n }\n}\nclass ZodIntersection extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n const handleParsed = (parsedLeft, parsedRight) => {\n if (parseUtil_1.isAborted(parsedLeft) || parseUtil_1.isAborted(parsedRight)) {\n return parseUtil_1.INVALID;\n }\n const merged = mergeValues(parsedLeft.value, parsedRight.value);\n if (!merged.valid) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_intersection_types,\n });\n return parseUtil_1.INVALID;\n }\n if (parseUtil_1.isDirty(parsedLeft) || parseUtil_1.isDirty(parsedRight)) {\n status.dirty();\n }\n return { status: status.value, value: merged.data };\n };\n if (ctx.common.async) {\n return Promise.all([\n this._def.left._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }),\n this._def.right._parseAsync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }),\n ]).then(([left, right]) => handleParsed(left, right));\n }\n else {\n return handleParsed(this._def.left._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }), this._def.right._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n }));\n }\n }\n}\nexports.ZodIntersection = ZodIntersection;\nZodIntersection.create = (left, right, params) => {\n return new ZodIntersection({\n left: left,\n right: right,\n typeName: ZodFirstPartyTypeKind.ZodIntersection,\n ...processCreateParams(params),\n });\n};\nclass ZodTuple extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.array) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.array,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n if (ctx.data.length < this._def.items.length) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: this._def.items.length,\n inclusive: true,\n type: \"array\",\n });\n return parseUtil_1.INVALID;\n }\n const rest = this._def.rest;\n if (!rest && ctx.data.length > this._def.items.length) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: this._def.items.length,\n inclusive: true,\n type: \"array\",\n });\n status.dirty();\n }\n const items = ctx.data\n .map((item, itemIndex) => {\n const schema = this._def.items[itemIndex] || this._def.rest;\n if (!schema)\n return null;\n return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));\n })\n .filter((x) => !!x); // filter nulls\n if (ctx.common.async) {\n return Promise.all(items).then((results) => {\n return parseUtil_1.ParseStatus.mergeArray(status, results);\n });\n }\n else {\n return parseUtil_1.ParseStatus.mergeArray(status, items);\n }\n }\n get items() {\n return this._def.items;\n }\n rest(rest) {\n return new ZodTuple({\n ...this._def,\n rest,\n });\n }\n}\nexports.ZodTuple = ZodTuple;\nZodTuple.create = (schemas, params) => {\n return new ZodTuple({\n items: schemas,\n typeName: ZodFirstPartyTypeKind.ZodTuple,\n rest: null,\n ...processCreateParams(params),\n });\n};\nclass ZodRecord extends ZodType {\n get keySchema() {\n return this._def.keyType;\n }\n get valueSchema() {\n return this._def.valueType;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.object) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.object,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const pairs = [];\n const keyType = this._def.keyType;\n const valueType = this._def.valueType;\n for (const key in ctx.data) {\n pairs.push({\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),\n value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key)),\n });\n }\n if (ctx.common.async) {\n return parseUtil_1.ParseStatus.mergeObjectAsync(status, pairs);\n }\n else {\n return parseUtil_1.ParseStatus.mergeObjectSync(status, pairs);\n }\n }\n get element() {\n return this._def.valueType;\n }\n static create(first, second, third) {\n if (second instanceof ZodType) {\n return new ZodRecord({\n keyType: first,\n valueType: second,\n typeName: ZodFirstPartyTypeKind.ZodRecord,\n ...processCreateParams(third),\n });\n }\n return new ZodRecord({\n keyType: ZodString.create(),\n valueType: first,\n typeName: ZodFirstPartyTypeKind.ZodRecord,\n ...processCreateParams(second),\n });\n }\n}\nexports.ZodRecord = ZodRecord;\nclass ZodMap extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.map) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.map,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const keyType = this._def.keyType;\n const valueType = this._def.valueType;\n const pairs = [...ctx.data.entries()].map(([key, value], index) => {\n return {\n key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, [index, \"key\"])),\n value: valueType._parse(new ParseInputLazyPath(ctx, value, ctx.path, [index, \"value\"])),\n };\n });\n if (ctx.common.async) {\n const finalMap = new Map();\n return Promise.resolve().then(async () => {\n for (const pair of pairs) {\n const key = await pair.key;\n const value = await pair.value;\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return parseUtil_1.INVALID;\n }\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n finalMap.set(key.value, value.value);\n }\n return { status: status.value, value: finalMap };\n });\n }\n else {\n const finalMap = new Map();\n for (const pair of pairs) {\n const key = pair.key;\n const value = pair.value;\n if (key.status === \"aborted\" || value.status === \"aborted\") {\n return parseUtil_1.INVALID;\n }\n if (key.status === \"dirty\" || value.status === \"dirty\") {\n status.dirty();\n }\n finalMap.set(key.value, value.value);\n }\n return { status: status.value, value: finalMap };\n }\n }\n}\nexports.ZodMap = ZodMap;\nZodMap.create = (keyType, valueType, params) => {\n return new ZodMap({\n valueType,\n keyType,\n typeName: ZodFirstPartyTypeKind.ZodMap,\n ...processCreateParams(params),\n });\n};\nclass ZodSet extends ZodType {\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.set) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.set,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const def = this._def;\n if (def.minSize !== null) {\n if (ctx.data.size < def.minSize.value) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_small,\n minimum: def.minSize.value,\n type: \"set\",\n inclusive: true,\n message: def.minSize.message,\n });\n status.dirty();\n }\n }\n if (def.maxSize !== null) {\n if (ctx.data.size > def.maxSize.value) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.too_big,\n maximum: def.maxSize.value,\n type: \"set\",\n inclusive: true,\n message: def.maxSize.message,\n });\n status.dirty();\n }\n }\n const valueType = this._def.valueType;\n function finalizeSet(elements) {\n const parsedSet = new Set();\n for (const element of elements) {\n if (element.status === \"aborted\")\n return parseUtil_1.INVALID;\n if (element.status === \"dirty\")\n status.dirty();\n parsedSet.add(element.value);\n }\n return { status: status.value, value: parsedSet };\n }\n const elements = [...ctx.data.values()].map((item, i) => valueType._parse(new ParseInputLazyPath(ctx, item, ctx.path, i)));\n if (ctx.common.async) {\n return Promise.all(elements).then((elements) => finalizeSet(elements));\n }\n else {\n return finalizeSet(elements);\n }\n }\n min(minSize, message) {\n return new ZodSet({\n ...this._def,\n minSize: { value: minSize, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n max(maxSize, message) {\n return new ZodSet({\n ...this._def,\n maxSize: { value: maxSize, message: errorUtil_1.errorUtil.toString(message) },\n });\n }\n size(size, message) {\n return this.min(size, message).max(size, message);\n }\n nonempty(message) {\n return this.min(1, message);\n }\n}\nexports.ZodSet = ZodSet;\nZodSet.create = (valueType, params) => {\n return new ZodSet({\n valueType,\n minSize: null,\n maxSize: null,\n typeName: ZodFirstPartyTypeKind.ZodSet,\n ...processCreateParams(params),\n });\n};\nclass ZodFunction extends ZodType {\n constructor() {\n super(...arguments);\n this.validate = this.implement;\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.function) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.function,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n function makeArgsIssue(args, error) {\n return parseUtil_1.makeIssue({\n data: args,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n ZodError_1.overrideErrorMap,\n ZodError_1.defaultErrorMap,\n ].filter((x) => !!x),\n issueData: {\n code: ZodError_1.ZodIssueCode.invalid_arguments,\n argumentsError: error,\n },\n });\n }\n function makeReturnsIssue(returns, error) {\n return parseUtil_1.makeIssue({\n data: returns,\n path: ctx.path,\n errorMaps: [\n ctx.common.contextualErrorMap,\n ctx.schemaErrorMap,\n ZodError_1.overrideErrorMap,\n ZodError_1.defaultErrorMap,\n ].filter((x) => !!x),\n issueData: {\n code: ZodError_1.ZodIssueCode.invalid_return_type,\n returnTypeError: error,\n },\n });\n }\n const params = { errorMap: ctx.common.contextualErrorMap };\n const fn = ctx.data;\n if (this._def.returns instanceof ZodPromise) {\n return parseUtil_1.OK(async (...args) => {\n const error = new ZodError_1.ZodError([]);\n const parsedArgs = await this._def.args\n .parseAsync(args, params)\n .catch((e) => {\n error.addIssue(makeArgsIssue(args, e));\n throw error;\n });\n const result = await fn(...parsedArgs);\n const parsedReturns = await this._def.returns._def.type\n .parseAsync(result, params)\n .catch((e) => {\n error.addIssue(makeReturnsIssue(result, e));\n throw error;\n });\n return parsedReturns;\n });\n }\n else {\n return parseUtil_1.OK((...args) => {\n const parsedArgs = this._def.args.safeParse(args, params);\n if (!parsedArgs.success) {\n throw new ZodError_1.ZodError([makeArgsIssue(args, parsedArgs.error)]);\n }\n const result = fn(...parsedArgs.data);\n const parsedReturns = this._def.returns.safeParse(result, params);\n if (!parsedReturns.success) {\n throw new ZodError_1.ZodError([makeReturnsIssue(result, parsedReturns.error)]);\n }\n return parsedReturns.data;\n });\n }\n }\n parameters() {\n return this._def.args;\n }\n returnType() {\n return this._def.returns;\n }\n args(...items) {\n return new ZodFunction({\n ...this._def,\n args: ZodTuple.create(items).rest(ZodUnknown.create()),\n });\n }\n returns(returnType) {\n return new ZodFunction({\n ...this._def,\n returns: returnType,\n });\n }\n implement(func) {\n const validatedFunc = this.parse(func);\n return validatedFunc;\n }\n strictImplement(func) {\n const validatedFunc = this.parse(func);\n return validatedFunc;\n }\n}\nexports.ZodFunction = ZodFunction;\nZodFunction.create = (args, returns, params) => {\n return new ZodFunction({\n args: (args\n ? args.rest(ZodUnknown.create())\n : ZodTuple.create([]).rest(ZodUnknown.create())),\n returns: returns || ZodUnknown.create(),\n typeName: ZodFirstPartyTypeKind.ZodFunction,\n ...processCreateParams(params),\n });\n};\nclass ZodLazy extends ZodType {\n get schema() {\n return this._def.getter();\n }\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n const lazySchema = this._def.getter();\n return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });\n }\n}\nexports.ZodLazy = ZodLazy;\nZodLazy.create = (getter, params) => {\n return new ZodLazy({\n getter: getter,\n typeName: ZodFirstPartyTypeKind.ZodLazy,\n ...processCreateParams(params),\n });\n};\nclass ZodLiteral extends ZodType {\n _parse(input) {\n if (input.data !== this._def.value) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_literal,\n expected: this._def.value,\n });\n return parseUtil_1.INVALID;\n }\n return { status: \"valid\", value: input.data };\n }\n get value() {\n return this._def.value;\n }\n}\nexports.ZodLiteral = ZodLiteral;\nZodLiteral.create = (value, params) => {\n return new ZodLiteral({\n value: value,\n typeName: ZodFirstPartyTypeKind.ZodLiteral,\n ...processCreateParams(params),\n });\n};\nfunction createZodEnum(values, params) {\n return new ZodEnum({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodEnum,\n ...processCreateParams(params),\n });\n}\nclass ZodEnum extends ZodType {\n _parse(input) {\n if (typeof input.data !== \"string\") {\n const ctx = this._getOrReturnCtx(input);\n const expectedValues = this._def.values;\n parseUtil_1.addIssueToContext(ctx, {\n expected: util_1.util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodError_1.ZodIssueCode.invalid_type,\n });\n return parseUtil_1.INVALID;\n }\n if (this._def.values.indexOf(input.data) === -1) {\n const ctx = this._getOrReturnCtx(input);\n const expectedValues = this._def.values;\n parseUtil_1.addIssueToContext(ctx, {\n received: ctx.data,\n code: ZodError_1.ZodIssueCode.invalid_enum_value,\n options: expectedValues,\n });\n return parseUtil_1.INVALID;\n }\n return parseUtil_1.OK(input.data);\n }\n get options() {\n return this._def.values;\n }\n get enum() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n get Values() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n get Enum() {\n const enumValues = {};\n for (const val of this._def.values) {\n enumValues[val] = val;\n }\n return enumValues;\n }\n}\nexports.ZodEnum = ZodEnum;\nZodEnum.create = createZodEnum;\nclass ZodNativeEnum extends ZodType {\n _parse(input) {\n const nativeEnumValues = util_1.util.getValidEnumValues(this._def.values);\n const ctx = this._getOrReturnCtx(input);\n if (ctx.parsedType !== util_1.ZodParsedType.string &&\n ctx.parsedType !== util_1.ZodParsedType.number) {\n const expectedValues = util_1.util.objectValues(nativeEnumValues);\n parseUtil_1.addIssueToContext(ctx, {\n expected: util_1.util.joinValues(expectedValues),\n received: ctx.parsedType,\n code: ZodError_1.ZodIssueCode.invalid_type,\n });\n return parseUtil_1.INVALID;\n }\n if (nativeEnumValues.indexOf(input.data) === -1) {\n const expectedValues = util_1.util.objectValues(nativeEnumValues);\n parseUtil_1.addIssueToContext(ctx, {\n received: ctx.data,\n code: ZodError_1.ZodIssueCode.invalid_enum_value,\n options: expectedValues,\n });\n return parseUtil_1.INVALID;\n }\n return parseUtil_1.OK(input.data);\n }\n get enum() {\n return this._def.values;\n }\n}\nexports.ZodNativeEnum = ZodNativeEnum;\nZodNativeEnum.create = (values, params) => {\n return new ZodNativeEnum({\n values: values,\n typeName: ZodFirstPartyTypeKind.ZodNativeEnum,\n ...processCreateParams(params),\n });\n};\nclass ZodPromise extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n if (ctx.parsedType !== util_1.ZodParsedType.promise &&\n ctx.common.async === false) {\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.promise,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n const promisified = ctx.parsedType === util_1.ZodParsedType.promise\n ? ctx.data\n : Promise.resolve(ctx.data);\n return parseUtil_1.OK(promisified.then((data) => {\n return this._def.type.parseAsync(data, {\n path: ctx.path,\n errorMap: ctx.common.contextualErrorMap,\n });\n }));\n }\n}\nexports.ZodPromise = ZodPromise;\nZodPromise.create = (schema, params) => {\n return new ZodPromise({\n type: schema,\n typeName: ZodFirstPartyTypeKind.ZodPromise,\n ...processCreateParams(params),\n });\n};\nclass ZodEffects extends ZodType {\n innerType() {\n return this._def.schema;\n }\n _parse(input) {\n const { status, ctx } = this._processInputParams(input);\n const effect = this._def.effect || null;\n if (effect.type === \"preprocess\") {\n const processed = effect.transform(ctx.data);\n if (ctx.common.async) {\n return Promise.resolve(processed).then((processed) => {\n return this._def.schema._parseAsync({\n data: processed,\n path: ctx.path,\n parent: ctx,\n });\n });\n }\n else {\n return this._def.schema._parseSync({\n data: processed,\n path: ctx.path,\n parent: ctx,\n });\n }\n }\n const checkCtx = {\n addIssue: (arg) => {\n parseUtil_1.addIssueToContext(ctx, arg);\n if (arg.fatal) {\n status.abort();\n }\n else {\n status.dirty();\n }\n },\n get path() {\n return ctx.path;\n },\n };\n checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx);\n if (effect.type === \"refinement\") {\n const executeRefinement = (acc\n // effect: RefinementEffect<any>\n ) => {\n const result = effect.refinement(acc, checkCtx);\n if (ctx.common.async) {\n return Promise.resolve(result);\n }\n if (result instanceof Promise) {\n throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");\n }\n return acc;\n };\n if (ctx.common.async === false) {\n const inner = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n if (inner.status === \"aborted\")\n return parseUtil_1.INVALID;\n if (inner.status === \"dirty\")\n status.dirty();\n // return value is ignored\n executeRefinement(inner.value);\n return { status: status.value, value: inner.value };\n }\n else {\n return this._def.schema\n ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n .then((inner) => {\n if (inner.status === \"aborted\")\n return parseUtil_1.INVALID;\n if (inner.status === \"dirty\")\n status.dirty();\n return executeRefinement(inner.value).then(() => {\n return { status: status.value, value: inner.value };\n });\n });\n }\n }\n if (effect.type === \"transform\") {\n if (ctx.common.async === false) {\n const base = this._def.schema._parseSync({\n data: ctx.data,\n path: ctx.path,\n parent: ctx,\n });\n // if (base.status === \"aborted\") return INVALID;\n // if (base.status === \"dirty\") {\n // return { status: \"dirty\", value: base.value };\n // }\n if (!parseUtil_1.isValid(base))\n return base;\n const result = effect.transform(base.value, checkCtx);\n if (result instanceof Promise) {\n throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);\n }\n return { status: status.value, value: result };\n }\n else {\n return this._def.schema\n ._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })\n .then((base) => {\n if (!parseUtil_1.isValid(base))\n return base;\n // if (base.status === \"aborted\") return INVALID;\n // if (base.status === \"dirty\") {\n // return { status: \"dirty\", value: base.value };\n // }\n return Promise.resolve(effect.transform(base.value, checkCtx)).then((result) => ({ status: status.value, value: result }));\n });\n }\n }\n util_1.util.assertNever(effect);\n }\n}\nexports.ZodEffects = ZodEffects;\nexports.ZodTransformer = ZodEffects;\nZodEffects.create = (schema, effect, params) => {\n return new ZodEffects({\n schema,\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n effect,\n ...processCreateParams(params),\n });\n};\nZodEffects.createWithPreprocess = (preprocess, schema, params) => {\n return new ZodEffects({\n schema,\n effect: { type: \"preprocess\", transform: preprocess },\n typeName: ZodFirstPartyTypeKind.ZodEffects,\n ...processCreateParams(params),\n });\n};\nclass ZodOptional extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType === util_1.ZodParsedType.undefined) {\n return parseUtil_1.OK(undefined);\n }\n return this._def.innerType._parse(input);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nexports.ZodOptional = ZodOptional;\nZodOptional.create = (type, params) => {\n return new ZodOptional({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodOptional,\n ...processCreateParams(params),\n });\n};\nclass ZodNullable extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType === util_1.ZodParsedType.null) {\n return parseUtil_1.OK(null);\n }\n return this._def.innerType._parse(input);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nexports.ZodNullable = ZodNullable;\nZodNullable.create = (type, params) => {\n return new ZodNullable({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodNullable,\n ...processCreateParams(params),\n });\n};\nclass ZodDefault extends ZodType {\n _parse(input) {\n const { ctx } = this._processInputParams(input);\n let data = ctx.data;\n if (ctx.parsedType === util_1.ZodParsedType.undefined) {\n data = this._def.defaultValue();\n }\n return this._def.innerType._parse({\n data,\n path: ctx.path,\n parent: ctx,\n });\n }\n removeDefault() {\n return this._def.innerType;\n }\n}\nexports.ZodDefault = ZodDefault;\nZodDefault.create = (type, params) => {\n return new ZodOptional({\n innerType: type,\n typeName: ZodFirstPartyTypeKind.ZodOptional,\n ...processCreateParams(params),\n });\n};\nclass ZodNaN extends ZodType {\n _parse(input) {\n const parsedType = this._getType(input);\n if (parsedType !== util_1.ZodParsedType.nan) {\n const ctx = this._getOrReturnCtx(input);\n parseUtil_1.addIssueToContext(ctx, {\n code: ZodError_1.ZodIssueCode.invalid_type,\n expected: util_1.ZodParsedType.nan,\n received: ctx.parsedType,\n });\n return parseUtil_1.INVALID;\n }\n return { status: \"valid\", value: input.data };\n }\n}\nexports.ZodNaN = ZodNaN;\nZodNaN.create = (params) => {\n return new ZodNaN({\n typeName: ZodFirstPartyTypeKind.ZodNaN,\n ...processCreateParams(params),\n });\n};\nconst custom = (check, params = {}, fatal) => {\n if (check)\n return ZodAny.create().superRefine((data, ctx) => {\n if (!check(data)) {\n const p = typeof params === \"function\" ? params(data) : params;\n const p2 = typeof p === \"string\" ? { message: p } : p;\n ctx.addIssue({ code: \"custom\", ...p2, fatal });\n }\n });\n return ZodAny.create();\n};\nexports.custom = custom;\nexports.late = {\n object: ZodObject.lazycreate,\n};\nvar ZodFirstPartyTypeKind;\n(function (ZodFirstPartyTypeKind) {\n ZodFirstPartyTypeKind[\"ZodString\"] = \"ZodString\";\n ZodFirstPartyTypeKind[\"ZodNumber\"] = \"ZodNumber\";\n ZodFirstPartyTypeKind[\"ZodNaN\"] = \"ZodNaN\";\n ZodFirstPartyTypeKind[\"ZodBigInt\"] = \"ZodBigInt\";\n ZodFirstPartyTypeKind[\"ZodBoolean\"] = \"ZodBoolean\";\n ZodFirstPartyTypeKind[\"ZodDate\"] = \"ZodDate\";\n ZodFirstPartyTypeKind[\"ZodUndefined\"] = \"ZodUndefined\";\n ZodFirstPartyTypeKind[\"ZodNull\"] = \"ZodNull\";\n ZodFirstPartyTypeKind[\"ZodAny\"] = \"ZodAny\";\n ZodFirstPartyTypeKind[\"ZodUnknown\"] = \"ZodUnknown\";\n ZodFirstPartyTypeKind[\"ZodNever\"] = \"ZodNever\";\n ZodFirstPartyTypeKind[\"ZodVoid\"] = \"ZodVoid\";\n ZodFirstPartyTypeKind[\"ZodArray\"] = \"ZodArray\";\n ZodFirstPartyTypeKind[\"ZodObject\"] = \"ZodObject\";\n ZodFirstPartyTypeKind[\"ZodUnion\"] = \"ZodUnion\";\n ZodFirstPartyTypeKind[\"ZodDiscriminatedUnion\"] = \"ZodDiscriminatedUnion\";\n ZodFirstPartyTypeKind[\"ZodIntersection\"] = \"ZodIntersection\";\n ZodFirstPartyTypeKind[\"ZodTuple\"] = \"ZodTuple\";\n ZodFirstPartyTypeKind[\"ZodRecord\"] = \"ZodRecord\";\n ZodFirstPartyTypeKind[\"ZodMap\"] = \"ZodMap\";\n ZodFirstPartyTypeKind[\"ZodSet\"] = \"ZodSet\";\n ZodFirstPartyTypeKind[\"ZodFunction\"] = \"ZodFunction\";\n ZodFirstPartyTypeKind[\"ZodLazy\"] = \"ZodLazy\";\n ZodFirstPartyTypeKind[\"ZodLiteral\"] = \"ZodLiteral\";\n ZodFirstPartyTypeKind[\"ZodEnum\"] = \"ZodEnum\";\n ZodFirstPartyTypeKind[\"ZodEffects\"] = \"ZodEffects\";\n ZodFirstPartyTypeKind[\"ZodNativeEnum\"] = \"ZodNativeEnum\";\n ZodFirstPartyTypeKind[\"ZodOptional\"] = \"ZodOptional\";\n ZodFirstPartyTypeKind[\"ZodNullable\"] = \"ZodNullable\";\n ZodFirstPartyTypeKind[\"ZodDefault\"] = \"ZodDefault\";\n ZodFirstPartyTypeKind[\"ZodPromise\"] = \"ZodPromise\";\n})(ZodFirstPartyTypeKind = exports.ZodFirstPartyTypeKind || (exports.ZodFirstPartyTypeKind = {}));\nconst instanceOfType = (cls, params = {\n message: `Input not instance of ${cls.name}`,\n}) => exports.custom((data) => data instanceof cls, params, true);\nexports.instanceof = instanceOfType;\nconst stringType = ZodString.create;\nexports.string = stringType;\nconst numberType = ZodNumber.create;\nexports.number = numberType;\nconst nanType = ZodNaN.create;\nexports.nan = nanType;\nconst bigIntType = ZodBigInt.create;\nexports.bigint = bigIntType;\nconst booleanType = ZodBoolean.create;\nexports.boolean = booleanType;\nconst dateType = ZodDate.create;\nexports.date = dateType;\nconst undefinedType = ZodUndefined.create;\nexports.undefined = undefinedType;\nconst nullType = ZodNull.create;\nexports.null = nullType;\nconst anyType = ZodAny.create;\nexports.any = anyType;\nconst unknownType = ZodUnknown.create;\nexports.unknown = unknownType;\nconst neverType = ZodNever.create;\nexports.never = neverType;\nconst voidType = ZodVoid.create;\nexports.void = voidType;\nconst arrayType = ZodArray.create;\nexports.array = arrayType;\nconst objectType = ZodObject.create;\nexports.object = objectType;\nconst strictObjectType = ZodObject.strictCreate;\nexports.strictObject = strictObjectType;\nconst unionType = ZodUnion.create;\nexports.union = unionType;\nconst discriminatedUnionType = ZodDiscriminatedUnion.create;\nexports.discriminatedUnion = discriminatedUnionType;\nconst intersectionType = ZodIntersection.create;\nexports.intersection = intersectionType;\nconst tupleType = ZodTuple.create;\nexports.tuple = tupleType;\nconst recordType = ZodRecord.create;\nexports.record = recordType;\nconst mapType = ZodMap.create;\nexports.map = mapType;\nconst setType = ZodSet.create;\nexports.set = setType;\nconst functionType = ZodFunction.create;\nexports.function = functionType;\nconst lazyType = ZodLazy.create;\nexports.lazy = lazyType;\nconst literalType = ZodLiteral.create;\nexports.literal = literalType;\nconst enumType = ZodEnum.create;\nexports.enum = enumType;\nconst nativeEnumType = ZodNativeEnum.create;\nexports.nativeEnum = nativeEnumType;\nconst promiseType = ZodPromise.create;\nexports.promise = promiseType;\nconst effectsType = ZodEffects.create;\nexports.effect = effectsType;\nexports.transformer = effectsType;\nconst optionalType = ZodOptional.create;\nexports.optional = optionalType;\nconst nullableType = ZodNullable.create;\nexports.nullable = nullableType;\nconst preprocessType = ZodEffects.createWithPreprocess;\nexports.preprocess = preprocessType;\nconst ostring = () => stringType().optional();\nexports.ostring = ostring;\nconst onumber = () => numberType().optional();\nexports.onumber = onumber;\nconst oboolean = () => booleanType().optional();\nexports.oboolean = oboolean;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ZodParsedType = exports.getParsedType = void 0;\n__exportStar(require(\"./helpers/parseUtil\"), exports);\n__exportStar(require(\"./helpers/typeAliases\"), exports);\nvar util_1 = require(\"./helpers/util\");\nObject.defineProperty(exports, \"getParsedType\", { enumerable: true, get: function () { return util_1.getParsedType; } });\nObject.defineProperty(exports, \"ZodParsedType\", { enumerable: true, get: function () { return util_1.ZodParsedType; } });\n__exportStar(require(\"./types\"), exports);\n__exportStar(require(\"./ZodError\"), exports);\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.z = void 0;\nconst mod = __importStar(require(\"./external\"));\nexports.z = mod;\n__exportStar(require(\"./external\"), exports);\nexports.default = mod;\n","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Session = exports.CDP = exports.Log = exports.BrowsingContext = exports.Script = exports.CommonDataTypes = exports.parseObject = void 0;\n/**\n * @file Provides parsing and validator for WebDriver BiDi protocol.\n * Parser types should match the `../protocol` types.\n */\nconst MAX_INT = 9007199254740991;\nconst protocol_js_1 = require(\"../protocol/protocol.js\");\nconst zod_1 = require(\"zod\");\nfunction parseObject(obj, schema) {\n const parseResult = schema.safeParse(obj);\n if (parseResult.success) {\n return parseResult.data;\n }\n const errorMessage = parseResult.error.errors\n .map((e) => `${e.message} in ` +\n `${e.path.map((p) => JSON.stringify(p)).join('/')}.`)\n .join(' ');\n throw new protocol_js_1.Message.InvalidArgumentException(errorMessage);\n}\nexports.parseObject = parseObject;\nvar CommonDataTypes;\n(function (CommonDataTypes) {\n CommonDataTypes.SharedReferenceSchema = zod_1.z.object({\n sharedId: zod_1.z.string().min(1),\n });\n CommonDataTypes.RemoteReferenceSchema = zod_1.z.object({\n handle: zod_1.z.string().min(1),\n });\n // UndefinedValue = {\n // type: \"undefined\",\n // }\n const UndefinedValueSchema = zod_1.z.object({ type: zod_1.z.literal('undefined') });\n //\n // NullValue = {\n // type: \"null\",\n // }\n const NullValueSchema = zod_1.z.object({ type: zod_1.z.literal('null') });\n // StringValue = {\n // type: \"string\",\n // value: text,\n // }\n const StringValueSchema = zod_1.z.object({\n type: zod_1.z.literal('string'),\n value: zod_1.z.string(),\n });\n // SpecialNumber = \"NaN\" / \"-0\" / \"+Infinity\" / \"-Infinity\";\n const SpecialNumberSchema = zod_1.z.enum([\n 'NaN',\n '-0',\n 'Infinity',\n '+Infinity',\n '-Infinity',\n ]);\n //\n // NumberValue = {\n // type: \"number\",\n // value: number / SpecialNumber,\n // }\n const NumberValueSchema = zod_1.z.object({\n type: zod_1.z.literal('number'),\n value: zod_1.z.union([SpecialNumberSchema, zod_1.z.number()]),\n });\n // BooleanValue = {\n // type: \"boolean\",\n // value: bool,\n // }\n const BooleanValueSchema = zod_1.z.object({\n type: zod_1.z.literal('boolean'),\n value: zod_1.z.boolean(),\n });\n // BigIntValue = {\n // type: \"bigint\",\n // value: text,\n // }\n const BigIntValueSchema = zod_1.z.object({\n type: zod_1.z.literal('bigint'),\n value: zod_1.z.string(),\n });\n const PrimitiveProtocolValueSchema = zod_1.z.union([\n UndefinedValueSchema,\n NullValueSchema,\n StringValueSchema,\n NumberValueSchema,\n BooleanValueSchema,\n BigIntValueSchema,\n ]);\n CommonDataTypes.LocalValueSchema = zod_1.z.lazy(() => zod_1.z.union([\n PrimitiveProtocolValueSchema,\n ArrayLocalValueSchema,\n DateLocalValueSchema,\n MapLocalValueSchema,\n ObjectLocalValueSchema,\n RegExpLocalValueSchema,\n SetLocalValueSchema,\n ]));\n // Order is important, as `parse` is processed in the same order.\n // `SharedReferenceSchema`->`RemoteReferenceSchema`->`LocalValueSchema`.\n const LocalOrRemoteValueSchema = zod_1.z.union([\n CommonDataTypes.SharedReferenceSchema,\n CommonDataTypes.RemoteReferenceSchema,\n CommonDataTypes.LocalValueSchema,\n ]);\n // ListLocalValue = [*LocalValue];\n const ListLocalValueSchema = zod_1.z.array(LocalOrRemoteValueSchema);\n // ArrayLocalValue = {\n // type: \"array\",\n // value: ListLocalValue,\n // }\n const ArrayLocalValueSchema = zod_1.z.lazy(() => zod_1.z.object({\n type: zod_1.z.literal('array'),\n value: ListLocalValueSchema,\n }));\n // DateLocalValue = {\n // type: \"date\",\n // value: text\n // }\n const DateLocalValueSchema = zod_1.z.object({\n type: zod_1.z.literal('date'),\n value: zod_1.z.string().min(1),\n });\n // MappingLocalValue = [*[(LocalValue / text), LocalValue]];\n const MappingLocalValueSchema = zod_1.z.lazy(() => zod_1.z.tuple([\n zod_1.z.union([zod_1.z.string(), LocalOrRemoteValueSchema]),\n LocalOrRemoteValueSchema,\n ]));\n // MapLocalValue = {\n // type: \"map\",\n // value: MappingLocalValue,\n // }\n const MapLocalValueSchema = zod_1.z.object({\n type: zod_1.z.literal('map'),\n value: zod_1.z.array(MappingLocalValueSchema),\n });\n // ObjectLocalValue = {\n // type: \"object\",\n // value: MappingLocalValue,\n // }\n const ObjectLocalValueSchema = zod_1.z.object({\n type: zod_1.z.literal('object'),\n value: zod_1.z.array(MappingLocalValueSchema),\n });\n // RegExpLocalValue = {\n // type: \"regexp\",\n // value: RegExpValue,\n // }\n const RegExpLocalValueSchema = zod_1.z.lazy(() => zod_1.z.object({\n type: zod_1.z.literal('regexp'),\n value: zod_1.z.object({\n pattern: zod_1.z.string(),\n flags: zod_1.z.string().optional(),\n }),\n }));\n // SetLocalValue = {\n // type: \"set\",\n // value: ListLocalValue,\n // }\n const SetLocalValueSchema = zod_1.z.lazy(() => zod_1.z.object({\n type: zod_1.z.literal('set'),\n value: ListLocalValueSchema,\n }));\n // BrowsingContext = text;\n CommonDataTypes.BrowsingContextSchema = zod_1.z.string();\n})(CommonDataTypes = exports.CommonDataTypes || (exports.CommonDataTypes = {}));\nvar Script;\n(function (Script) {\n const RealmTypeSchema = zod_1.z.enum([\n 'window',\n 'dedicated-worker',\n 'shared-worker',\n 'service-worker',\n 'worker',\n 'paint-worklet',\n 'audio-worklet',\n 'worklet',\n ]);\n Script.GetRealmsParametersSchema = zod_1.z.object({\n context: CommonDataTypes.BrowsingContextSchema.optional(),\n type: RealmTypeSchema.optional(),\n });\n function parseGetRealmsParams(params) {\n return parseObject(params, Script.GetRealmsParametersSchema);\n }\n Script.parseGetRealmsParams = parseGetRealmsParams;\n // ContextTarget = {\n // context: BrowsingContext,\n // ?sandbox: text\n // }\n const ContextTargetSchema = zod_1.z.object({\n context: CommonDataTypes.BrowsingContextSchema,\n sandbox: zod_1.z.string().optional(),\n });\n // RealmTarget = {realm: Realm};\n const RealmTargetSchema = zod_1.z.object({\n realm: zod_1.z.string().min(1),\n });\n //\n // Target = (\n // RealmTarget //\n // ContextTarget\n // );\n // Order is important, as `parse` is processed in the same order.\n // `RealmTargetSchema` has higher priority.\n const TargetSchema = zod_1.z.union([RealmTargetSchema, ContextTargetSchema]);\n const OwnershipModelSchema = zod_1.z.enum(['root', 'none']);\n // ScriptEvaluateParameters = {\n // expression: text;\n // target: Target;\n // ?awaitPromise: bool;\n // ?resultOwnership: OwnershipModel;\n // }\n const EvaluateParametersSchema = zod_1.z.object({\n expression: zod_1.z.string(),\n awaitPromise: zod_1.z.boolean(),\n target: TargetSchema,\n resultOwnership: OwnershipModelSchema.optional(),\n });\n function parseEvaluateParams(params) {\n return parseObject(params, EvaluateParametersSchema);\n }\n Script.parseEvaluateParams = parseEvaluateParams;\n const DisownParametersSchema = zod_1.z.object({\n target: TargetSchema,\n handles: zod_1.z.array(zod_1.z.string()),\n });\n function parseDisownParams(params) {\n return parseObject(params, DisownParametersSchema);\n }\n Script.parseDisownParams = parseDisownParams;\n const ArgumentValueSchema = zod_1.z.union([\n CommonDataTypes.RemoteReferenceSchema,\n CommonDataTypes.SharedReferenceSchema,\n CommonDataTypes.LocalValueSchema,\n ]);\n const ScriptCallFunctionParametersSchema = zod_1.z.object({\n functionDeclaration: zod_1.z.string(),\n target: TargetSchema,\n arguments: zod_1.z.array(ArgumentValueSchema).optional(),\n this: ArgumentValueSchema.optional(),\n awaitPromise: zod_1.z.boolean(),\n resultOwnership: OwnershipModelSchema.optional(),\n });\n function parseCallFunctionParams(params) {\n return parseObject(params, ScriptCallFunctionParametersSchema);\n }\n Script.parseCallFunctionParams = parseCallFunctionParams;\n})(Script = exports.Script || (exports.Script = {}));\n// https://w3c.github.io/webdriver-bidi/#module-browsingContext\nvar BrowsingContext;\n(function (BrowsingContext) {\n const GetTreeParametersSchema = zod_1.z.object({\n maxDepth: zod_1.z.number().int().nonnegative().max(MAX_INT).optional(),\n root: CommonDataTypes.BrowsingContextSchema.optional(),\n });\n function parseGetTreeParams(params) {\n return parseObject(params, GetTreeParametersSchema);\n }\n BrowsingContext.parseGetTreeParams = parseGetTreeParams;\n const ReadinessStateSchema = zod_1.z.enum(['none', 'interactive', 'complete']);\n // BrowsingContextNavigateParameters = {\n // context: BrowsingContext,\n // url: text,\n // ?wait: ReadinessState,\n // }\n // ReadinessState = \"none\" / \"interactive\" / \"complete\"\n const NavigateParametersSchema = zod_1.z.object({\n context: CommonDataTypes.BrowsingContextSchema,\n url: zod_1.z.string().url(),\n wait: ReadinessStateSchema.optional(),\n });\n function parseNavigateParams(params) {\n return parseObject(params, NavigateParametersSchema);\n }\n BrowsingContext.parseNavigateParams = parseNavigateParams;\n // BrowsingContextCreateType = \"tab\" / \"window\"\n //\n // BrowsingContextCreateParameters = {\n // type: BrowsingContextCreateType\n // }\n const CreateParametersSchema = zod_1.z.object({\n type: zod_1.z.enum(['tab', 'window']),\n referenceContext: CommonDataTypes.BrowsingContextSchema.optional(),\n });\n function parseCreateParams(params) {\n return parseObject(params, CreateParametersSchema);\n }\n BrowsingContext.parseCreateParams = parseCreateParams;\n // BrowsingContextCloseParameters = {\n // context: BrowsingContext\n // }\n const CloseParametersSchema = zod_1.z.object({\n context: CommonDataTypes.BrowsingContextSchema,\n });\n function parseCloseParams(params) {\n return parseObject(params, CloseParametersSchema);\n }\n BrowsingContext.parseCloseParams = parseCloseParams;\n BrowsingContext.AllEvents = 'browsingContext';\n let EventNames;\n (function (EventNames) {\n EventNames[\"LoadEvent\"] = \"browsingContext.load\";\n EventNames[\"DomContentLoadedEvent\"] = \"browsingContext.domContentLoaded\";\n EventNames[\"ContextCreatedEvent\"] = \"browsingContext.contextCreated\";\n EventNames[\"ContextDestroyedEvent\"] = \"browsingContext.contextDestroyed\";\n })(EventNames = BrowsingContext.EventNames || (BrowsingContext.EventNames = {}));\n})(BrowsingContext = exports.BrowsingContext || (exports.BrowsingContext = {}));\n// https://w3c.github.io/webdriver-bidi/#module-log\nvar Log;\n(function (Log) {\n Log.AllEvents = 'log';\n let EventNames;\n (function (EventNames) {\n EventNames[\"LogEntryAddedEvent\"] = \"log.entryAdded\";\n })(EventNames = Log.EventNames || (Log.EventNames = {}));\n})(Log = exports.Log || (exports.Log = {}));\nvar CDP;\n(function (CDP) {\n const SendCommandParamsSchema = zod_1.z.object({\n cdpMethod: zod_1.z.string(),\n // `passthrough` allows object to have any fields.\n // https://github.com/colinhacks/zod#passthrough\n cdpParams: zod_1.z.object({}).passthrough(),\n cdpSession: zod_1.z.string().optional(),\n });\n function parseSendCommandParams(params) {\n return parseObject(params, SendCommandParamsSchema);\n }\n CDP.parseSendCommandParams = parseSendCommandParams;\n const GetSessionParamsSchema = zod_1.z.object({\n context: CommonDataTypes.BrowsingContextSchema,\n });\n function parseGetSessionParams(params) {\n return parseObject(params, GetSessionParamsSchema);\n }\n CDP.parseGetSessionParams = parseGetSessionParams;\n CDP.AllEvents = 'cdp';\n let EventNames;\n (function (EventNames) {\n EventNames[\"EventReceivedEvent\"] = \"cdp.eventReceived\";\n })(EventNames = CDP.EventNames || (CDP.EventNames = {}));\n})(CDP = exports.CDP || (exports.CDP = {}));\nvar Session;\n(function (Session) {\n const SubscribeParametersEventSchema = zod_1.z.enum([\n BrowsingContext.AllEvents,\n BrowsingContext.EventNames.ContextCreatedEvent,\n BrowsingContext.EventNames.ContextDestroyedEvent,\n BrowsingContext.EventNames.DomContentLoadedEvent,\n BrowsingContext.EventNames.LoadEvent,\n Log.AllEvents,\n Log.EventNames.LogEntryAddedEvent,\n CDP.AllEvents,\n CDP.EventNames.EventReceivedEvent,\n ]);\n // SessionSubscribeParameters = {\n // events: [*text],\n // ?contexts: [*BrowsingContext],\n // }\n const SubscribeParametersSchema = zod_1.z.object({\n events: zod_1.z.array(SubscribeParametersEventSchema),\n contexts: zod_1.z.array(CommonDataTypes.BrowsingContextSchema).optional(),\n });\n function parseSubscribeParams(params) {\n return parseObject(params, SubscribeParametersSchema);\n }\n Session.parseSubscribeParams = parseSubscribeParams;\n})(Session = exports.Session || (exports.Session = {}));\n//# sourceMappingURL=protocol-parser.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogType = void 0;\nvar LogType;\n(function (LogType) {\n LogType[\"bidi\"] = \"BiDi Messages\";\n LogType[\"browsingContexts\"] = \"Browsing Contexts\";\n LogType[\"cdp\"] = \"CDP\";\n LogType[\"system\"] = \"System\";\n})(LogType = exports.LogType || (exports.LogType = {}));\n//# sourceMappingURL=log.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.log = exports.generatePage = void 0;\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst log_js_1 = require(\"../utils/log.js\");\n/** HTML source code for the user-facing Mapper tab. */\nconst mapperPageSource = '<!DOCTYPE html><title>BiDi-CDP Mapper</title><style>body{font-family: Roboto, serif; font-size: 13px; color: #202124;}.log{padding: 12px; font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; font-size: 11px; line-height: 180%; background: #f1f3f4; border-radius: 4px;}.pre{overflow-wrap: break-word; padding: 10px;}.card{margin: 60px auto; padding: 2px 0; max-width: 900px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15), 0 1px 6px rgba(0, 0, 0, 0.2); border-radius: 8px;}.divider{height: 1px; background: #f0f0f0;}.item{padding: 16px 20px;}</style><div class=\"card\"><div class=\"item\"><h1>BiDi-CDP Mapper is controlling this tab</h1><p>Closing or reloading it will stop the BiDi process. <a target=\"_blank\" title=\"BiDi-CDP Mapper GitHub Repository\" href=\"https://github.com/GoogleChromeLabs/chromium-bidi\">Details.</a></p></div><div class=\"divider\"></div><details id=\"details\"><summary class=\"item\">Debug information</summary></details></div>';\n/**\n * The following piece of HTML should be added to the `debug` element:\n *\n * <div class=\"divider\"></div>\n * <div class=\"item\">\n * <h3>${name}</h3>\n * <div id=\"${name}_log\" class=\"log\">\n */\nfunction findOrCreateTypeLogContainer(logType) {\n const containerId = `${logType}_log`;\n const existingContainer = document.getElementById(containerId);\n if (existingContainer) {\n return existingContainer;\n }\n const debugElement = document.getElementById('details');\n const divider = document.createElement('div');\n divider.className = 'divider';\n debugElement.appendChild(divider);\n const htmlItem = document.createElement('div');\n htmlItem.className = 'item';\n htmlItem.innerHTML = `<h3>${logType}</h3><div id=\"${containerId}\" class=\"log\"></div>`;\n debugElement.appendChild(htmlItem);\n return document.getElementById(containerId);\n}\nfunction generatePage() {\n // If run not in browser (e.g. unit test), do nothing.\n if (!globalThis.document?.documentElement) {\n return;\n }\n window.document.documentElement.innerHTML = mapperPageSource;\n // Create main log containers in proper order.\n findOrCreateTypeLogContainer(log_js_1.LogType.system);\n findOrCreateTypeLogContainer(log_js_1.LogType.bidi);\n findOrCreateTypeLogContainer(log_js_1.LogType.browsingContexts);\n findOrCreateTypeLogContainer(log_js_1.LogType.cdp);\n}\nexports.generatePage = generatePage;\nfunction log(logType, ...messages) {\n // If run not in browser (e.g. unit test), do nothing.\n if (!globalThis.document?.documentElement) {\n return;\n }\n const typeLogContainer = findOrCreateTypeLogContainer(logType);\n // This piece of HTML should be added:\n // <div class=\"pre\">...log message...</div>\n const lineElement = document.createElement('div');\n lineElement.className = 'pre';\n lineElement.textContent = messages.join(' ');\n typeLogContainer.appendChild(lineElement);\n}\nexports.log = log;\n//# sourceMappingURL=mapperTabPage.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Deferred = void 0;\nclass Deferred {\n #resolve = () => { };\n #reject = () => { };\n #promise;\n #isFinished = false;\n get isFinished() {\n return this.#isFinished;\n }\n constructor() {\n this.#promise = new Promise((resolve, reject) => {\n this.#resolve = resolve;\n this.#reject = reject;\n });\n }\n then(onFulfilled, onRejected) {\n return this.#promise.then(onFulfilled, onRejected);\n }\n catch(onRejected) {\n return this.#promise.catch(onRejected);\n }\n resolve(value) {\n this.#isFinished = true;\n this.#resolve(value);\n }\n reject(reason) {\n this.#isFinished = true;\n this.#reject(reason);\n }\n finally(onFinally) {\n return this.#promise.finally(onFinally);\n }\n [Symbol.toStringTag] = 'Promise';\n}\nexports.Deferred = Deferred;\n//# sourceMappingURL=deferred.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRemoteValuesText = exports.logMessageFormatter = void 0;\nconst specifiers = ['%s', '%d', '%i', '%f', '%o', '%O', '%c'];\nfunction isFormmatSpecifier(str) {\n return specifiers.some((spec) => str.includes(spec));\n}\n/**\n * @param args input remote values to be format printed\n * @returns parsed text of the remote values in specific format\n */\nfunction logMessageFormatter(args) {\n let output = '';\n const argFormat = args[0].value.toString();\n const argValues = args.slice(1, undefined);\n const tokens = argFormat.split(new RegExp(specifiers.map((spec) => `(${spec})`).join('|'), 'g'));\n for (const token of tokens) {\n if (token === undefined || token === '') {\n continue;\n }\n if (isFormmatSpecifier(token)) {\n const arg = argValues.shift();\n // raise an exception when less value is provided\n if (arg === undefined) {\n throw new Error(`Less value is provided: \"${getRemoteValuesText(args, false)}\"`);\n }\n if (token === '%s') {\n output += stringFromArg(arg);\n }\n else if (token === '%d' || token === '%i') {\n if (arg.type === 'bigint' ||\n arg.type === 'number' ||\n arg.type === 'string') {\n output += parseInt(arg.value.toString(), 10);\n }\n else {\n output += 'NaN';\n }\n }\n else if (token === '%f') {\n if (arg.type === 'bigint' ||\n arg.type === 'number' ||\n arg.type === 'string') {\n output += parseFloat(arg.value.toString());\n }\n else {\n output += 'NaN';\n }\n }\n else {\n // %o, %O, %c\n output += toJson(arg);\n }\n }\n else {\n output += token;\n }\n }\n // raise an exception when more value is provided\n if (argValues.length > 0) {\n throw new Error(`More value is provided: \"${getRemoteValuesText(args, false)}\"`);\n }\n return output;\n}\nexports.logMessageFormatter = logMessageFormatter;\n/**\n * @param arg input remote value to be parsed\n * @returns parsed text of the remote value\n *\n * input: {\"type\": \"number\", \"value\": 1}\n * output: 1\n *\n * input: {\"type\": \"string\", \"value\": \"abc\"}\n * output: \"abc\"\n *\n * input: {\"type\": \"object\", \"value\": [[\"id\", {\"type\": \"number\", \"value\": 1}]]}\n * output: '{\"id\": 1}'\n *\n * input: {\"type\": \"object\", \"value\": [[\"font-size\", {\"type\": \"string\", \"value\": \"20px\"}]]}\n * output: '{\"font-size\": \"20px\"}'\n */\nfunction toJson(arg) {\n // arg type validation\n if (arg.type !== 'array' &&\n arg.type !== 'bigint' &&\n arg.type !== 'date' &&\n arg.type !== 'number' &&\n arg.type !== 'object' &&\n arg.type !== 'string') {\n return stringFromArg(arg);\n }\n if (arg.type === 'bigint') {\n return `${arg.value.toString()}n`;\n }\n if (arg.type === 'number') {\n return arg.value.toString();\n }\n if (['date', 'string'].includes(arg.type)) {\n return JSON.stringify(arg.value);\n }\n if (arg.type === 'object') {\n return `{${arg.value\n .map((pair) => {\n return `${JSON.stringify(pair[0])}:${toJson(pair[1])}`;\n })\n .join(',')}}`;\n }\n if (arg.type === 'array') {\n return `[${arg.value.map((val) => toJson(val)).join(',')}]`;\n }\n throw Error(`Invalid value type: ${arg.toString()}`);\n}\nfunction stringFromArg(arg) {\n if (!Object.hasOwn(arg, 'value')) {\n return arg.type;\n }\n switch (arg.type) {\n case 'string':\n case 'number':\n case 'boolean':\n case 'bigint':\n return String(arg.value);\n case 'regexp':\n return `/${arg.value.pattern}/${arg.value.flags}`;\n case 'date':\n return new Date(arg.value).toString();\n case 'object':\n return `Object(${arg.value?.length})`;\n case 'array':\n return `Array(${arg.value?.length})`;\n case 'map':\n return `Map(${arg.value.length})`;\n case 'set':\n return `Set(${arg.value.length})`;\n case 'node':\n return 'node';\n default:\n return arg.type;\n }\n}\nfunction getRemoteValuesText(args, formatText) {\n const arg = args[0];\n if (!arg) {\n return '';\n }\n // if args[0] is a format specifier, format the args as output\n if (arg.type === 'string' &&\n isFormmatSpecifier(arg.value.toString()) &&\n formatText) {\n return logMessageFormatter(args);\n }\n // if args[0] is not a format specifier, just join the args with \\u0020\n return args\n .map((arg) => {\n return stringFromArg(arg);\n })\n .join('\\u0020');\n}\nexports.getRemoteValuesText = getRemoteValuesText;\n//# sourceMappingURL=logHelper.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogManager = void 0;\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst logHelper_js_1 = require(\"./logHelper.js\");\n/** Converts CDP StackTrace object to Bidi StackTrace object. */\nfunction getBidiStackTrace(cdpStackTrace) {\n const stackFrames = cdpStackTrace?.callFrames.map((callFrame) => {\n return {\n columnNumber: callFrame.columnNumber,\n functionName: callFrame.functionName,\n lineNumber: callFrame.lineNumber,\n url: callFrame.url,\n };\n });\n return stackFrames ? { callFrames: stackFrames } : undefined;\n}\nfunction getLogLevel(consoleApiType) {\n if (['assert', 'error'].includes(consoleApiType)) {\n return 'error';\n }\n if (['debug', 'trace'].includes(consoleApiType)) {\n return 'debug';\n }\n if (['warn', 'warning'].includes(consoleApiType)) {\n return 'warn';\n }\n return 'info';\n}\nclass LogManager {\n #cdpClient;\n #cdpSessionId;\n #eventManager;\n #realmStorage;\n constructor(realmStorage, cdpClient, cdpSessionId, eventManager) {\n this.#realmStorage = realmStorage;\n this.#cdpSessionId = cdpSessionId;\n this.#cdpClient = cdpClient;\n this.#eventManager = eventManager;\n }\n static create(realmStorage, cdpClient, cdpSessionId, eventManager) {\n const logManager = new LogManager(realmStorage, cdpClient, cdpSessionId, eventManager);\n logManager.#initialize();\n return logManager;\n }\n #initialize() {\n this.#initializeLogEntryAddedEventListener();\n }\n #initializeLogEntryAddedEventListener() {\n this.#cdpClient.on('Runtime.consoleAPICalled', (params) => {\n // Try to find realm by `cdpSessionId` and `executionContextId`,\n // if provided.\n const realm = this.#realmStorage.findRealm({\n cdpSessionId: this.#cdpSessionId,\n executionContextId: params.executionContextId,\n });\n const argsPromise = realm === undefined\n ? Promise.resolve(params.args)\n : // Properly serialize arguments if possible.\n Promise.all(params.args.map((arg) => {\n return realm.serializeCdpObject(arg, 'none');\n }));\n // No need in waiting for the result, just register the event promise.\n // noinspection JSIgnoredPromiseFromCall\n this.#eventManager.registerPromiseEvent(argsPromise.then((args) => ({\n method: protocol_js_1.Log.EventNames.LogEntryAddedEvent,\n params: {\n level: getLogLevel(params.type),\n source: {\n realm: realm?.realmId ?? 'UNKNOWN',\n context: realm?.browsingContextId ?? 'UNKNOWN',\n },\n text: (0, logHelper_js_1.getRemoteValuesText)(args, true),\n timestamp: Math.round(params.timestamp),\n stackTrace: getBidiStackTrace(params.stackTrace),\n type: 'console',\n // Console method is `warn`, not `warning`.\n method: params.type === 'warning' ? 'warn' : params.type,\n args,\n },\n })), realm?.browsingContextId ?? 'UNKNOWN', protocol_js_1.Log.EventNames.LogEntryAddedEvent);\n });\n this.#cdpClient.on('Runtime.exceptionThrown', (params) => {\n // Try to find realm by `cdpSessionId` and `executionContextId`,\n // if provided.\n const realm = this.#realmStorage.findRealm({\n cdpSessionId: this.#cdpSessionId,\n executionContextId: params.exceptionDetails.executionContextId,\n });\n // Try all the best to get the exception text.\n const textPromise = (async () => {\n if (!params.exceptionDetails.exception) {\n return params.exceptionDetails.text;\n }\n if (realm === undefined) {\n return JSON.stringify(params.exceptionDetails.exception);\n }\n return await realm.stringifyObject(params.exceptionDetails.exception);\n })();\n // No need in waiting for the result, just register the event promise.\n // noinspection JSIgnoredPromiseFromCall\n this.#eventManager.registerPromiseEvent(textPromise.then((text) => ({\n method: protocol_js_1.Log.EventNames.LogEntryAddedEvent,\n params: {\n level: 'error',\n source: {\n realm: realm?.realmId ?? 'UNKNOWN',\n context: realm?.browsingContextId ?? 'UNKNOWN',\n },\n text,\n timestamp: Math.round(params.timestamp),\n stackTrace: getBidiStackTrace(params.exceptionDetails.stackTrace),\n type: 'javascript',\n },\n })), realm?.browsingContextId ?? 'UNKNOWN', protocol_js_1.Log.EventNames.LogEntryAddedEvent);\n });\n }\n}\nexports.LogManager = LogManager;\n//# sourceMappingURL=logManager.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ScriptEvaluator = exports.stringifyObject = exports.SHARED_ID_DIVIDER = void 0;\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\n// As `script.evaluate` wraps call into serialization script, `lineNumber`\n// should be adjusted.\nconst CALL_FUNCTION_STACKTRACE_LINE_OFFSET = 1;\nconst EVALUATE_STACKTRACE_LINE_OFFSET = 0;\nexports.SHARED_ID_DIVIDER = '_element_';\nfunction cdpRemoteObjectToCallArgument(cdpRemoteObject) {\n if (cdpRemoteObject.objectId !== undefined) {\n return { objectId: cdpRemoteObject.objectId };\n }\n if (cdpRemoteObject.unserializableValue !== undefined) {\n return { unserializableValue: cdpRemoteObject.unserializableValue };\n }\n return { value: cdpRemoteObject.value };\n}\nasync function deserializeToCdpArg(argumentValue, realm) {\n if ('sharedId' in argumentValue) {\n const [navigableId, rawBackendNodeId] = argumentValue.sharedId.split(exports.SHARED_ID_DIVIDER);\n const backendNodeId = parseInt(rawBackendNodeId ?? '');\n if (isNaN(backendNodeId) ||\n backendNodeId === undefined ||\n navigableId === undefined) {\n throw new protocol_js_1.Message.InvalidArgumentException(`SharedId \"${argumentValue.sharedId}\" should have format \"{navigableId}${exports.SHARED_ID_DIVIDER}{backendNodeId}\".`);\n }\n if (realm.navigableId !== navigableId) {\n throw new protocol_js_1.Message.NoSuchNodeException(`SharedId \"${argumentValue.sharedId}\" belongs to different document.`);\n }\n try {\n const obj = await realm.cdpClient.sendCommand('DOM.resolveNode', {\n backendNodeId,\n executionContextId: realm.executionContextId,\n });\n // TODO: release `obj.object.objectId` after using.\n // https://github.com/GoogleChromeLabs/chromium-bidi/issues/375\n return { objectId: obj.object.objectId };\n }\n catch (e) {\n // Heuristic to detect \"no such node\" exception. Based on the specific\n // CDP implementation.\n if (e.code === -32000 && e.message === 'No node with given id found') {\n throw new protocol_js_1.Message.NoSuchNodeException(`SharedId \"${argumentValue.sharedId}\" was not found.`);\n }\n throw e;\n }\n }\n if ('handle' in argumentValue) {\n return { objectId: argumentValue.handle };\n }\n switch (argumentValue.type) {\n // Primitive Protocol Value\n // https://w3c.github.io/webdriver-bidi/#data-types-protocolValue-primitiveProtocolValue\n case 'undefined': {\n return { unserializableValue: 'undefined' };\n }\n case 'null': {\n return { unserializableValue: 'null' };\n }\n case 'string': {\n return { value: argumentValue.value };\n }\n case 'number': {\n if (argumentValue.value === 'NaN') {\n return { unserializableValue: 'NaN' };\n }\n else if (argumentValue.value === '-0') {\n return { unserializableValue: '-0' };\n }\n else if (argumentValue.value === '+Infinity') {\n return { unserializableValue: '+Infinity' };\n }\n else if (argumentValue.value === 'Infinity') {\n return { unserializableValue: 'Infinity' };\n }\n else if (argumentValue.value === '-Infinity') {\n return { unserializableValue: '-Infinity' };\n }\n return {\n value: argumentValue.value,\n };\n }\n case 'boolean': {\n return { value: Boolean(argumentValue.value) };\n }\n case 'bigint': {\n return {\n unserializableValue: `BigInt(${JSON.stringify(argumentValue.value)})`,\n };\n }\n // Local Value\n // https://w3c.github.io/webdriver-bidi/#data-types-protocolValue-LocalValue\n case 'date': {\n return {\n unserializableValue: `new Date(Date.parse(${JSON.stringify(argumentValue.value)}))`,\n };\n }\n case 'regexp': {\n return {\n unserializableValue: `new RegExp(${JSON.stringify(argumentValue.value.pattern)}, ${JSON.stringify(argumentValue.value.flags)})`,\n };\n }\n case 'map': {\n // TODO(sadym): if non of the nested keys and values has remote\n // reference, serialize to `unserializableValue` without CDP roundtrip.\n const keyValueArray = await flattenKeyValuePairs(argumentValue.value, realm);\n const argEvalResult = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((...args) => {\n const result = new Map();\n for (let i = 0; i < args.length; i += 2) {\n result.set(args[i], args[i + 1]);\n }\n return result;\n }),\n awaitPromise: false,\n arguments: keyValueArray,\n returnByValue: false,\n executionContextId: realm.executionContextId,\n });\n // TODO: release `argEvalResult.result.objectId` after using.\n // https://github.com/GoogleChromeLabs/chromium-bidi/issues/375\n return { objectId: argEvalResult.result.objectId };\n }\n case 'object': {\n // TODO(sadym): if non of the nested keys and values has remote\n // reference, serialize to `unserializableValue` without CDP roundtrip.\n const keyValueArray = await flattenKeyValuePairs(argumentValue.value, realm);\n const argEvalResult = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((...args) => {\n const result = {};\n for (let i = 0; i < args.length; i += 2) {\n // Key should be either `string`, `number`, or `symbol`.\n const key = args[i];\n result[key] = args[i + 1];\n }\n return result;\n }),\n awaitPromise: false,\n arguments: keyValueArray,\n returnByValue: false,\n executionContextId: realm.executionContextId,\n });\n // TODO: release `argEvalResult.result.objectId` after using.\n // https://github.com/GoogleChromeLabs/chromium-bidi/issues/375\n return { objectId: argEvalResult.result.objectId };\n }\n case 'array': {\n // TODO(sadym): if non of the nested items has remote reference,\n // serialize to `unserializableValue` without CDP roundtrip.\n const args = await flattenValueList(argumentValue.value, realm);\n const argEvalResult = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((...args) => {\n return args;\n }),\n awaitPromise: false,\n arguments: args,\n returnByValue: false,\n executionContextId: realm.executionContextId,\n });\n // TODO: release `argEvalResult.result.objectId` after using.\n // https://github.com/GoogleChromeLabs/chromium-bidi/issues/375\n return { objectId: argEvalResult.result.objectId };\n }\n case 'set': {\n // TODO(sadym): if non of the nested items has remote reference,\n // serialize to `unserializableValue` without CDP roundtrip.\n const args = await flattenValueList(argumentValue.value, realm);\n const argEvalResult = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((...args) => {\n return new Set(args);\n }),\n awaitPromise: false,\n arguments: args,\n returnByValue: false,\n executionContextId: realm.executionContextId,\n });\n // TODO: release `argEvalResult.result.objectId` after using.\n // https://github.com/GoogleChromeLabs/chromium-bidi/issues/375\n return { objectId: argEvalResult.result.objectId };\n }\n // TODO(sadym): dispose nested objects.\n default:\n throw new Error(`Value ${JSON.stringify(argumentValue)} is not deserializable.`);\n }\n}\nasync function flattenKeyValuePairs(value, realm) {\n const keyValueArray = [];\n for (const pair of value) {\n const key = pair[0];\n const value = pair[1];\n let keyArg;\n if (typeof key === 'string') {\n // Key is a string.\n keyArg = { value: key };\n }\n else {\n // Key is a serialized value.\n keyArg = await deserializeToCdpArg(key, realm);\n }\n const valueArg = await deserializeToCdpArg(value, realm);\n keyValueArray.push(keyArg);\n keyValueArray.push(valueArg);\n }\n return keyValueArray;\n}\nasync function flattenValueList(list, realm) {\n const result = [];\n for (const value of list) {\n result.push(await deserializeToCdpArg(value, realm));\n }\n return result;\n}\n/**\n * Gets the string representation of an object. This is equivalent to\n * calling toString() on the object value.\n * @param cdpObject CDP remote object representing an object.\n * @param realm\n * @returns string The stringified object.\n */\nasync function stringifyObject(cdpObject, realm) {\n const stringifyResult = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((obj) => {\n return String(obj);\n }),\n awaitPromise: false,\n arguments: [cdpObject],\n returnByValue: true,\n executionContextId: realm.executionContextId,\n });\n return stringifyResult.result.value;\n}\nexports.stringifyObject = stringifyObject;\nclass ScriptEvaluator {\n /**\n * Serializes a given CDP object into BiDi, keeping references in the\n * target's `globalThis`.\n * @param cdpRemoteObject CDP remote object to be serialized.\n * @param resultOwnership indicates desired OwnershipModel.\n * @param realm\n */\n async serializeCdpObject(cdpRemoteObject, resultOwnership, realm) {\n const arg = cdpRemoteObjectToCallArgument(cdpRemoteObject);\n const cdpWebDriverValue = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: String((obj) => obj),\n awaitPromise: false,\n arguments: [arg],\n generateWebDriverValue: true,\n executionContextId: realm.executionContextId,\n });\n return await realm.cdpToBidiValue(cdpWebDriverValue, resultOwnership);\n }\n async callFunction(realm, functionDeclaration, _this, _arguments, awaitPromise, resultOwnership) {\n const callFunctionAndSerializeScript = `(...args)=>{ return _callFunction((\\n${functionDeclaration}\\n), args);\n function _callFunction(f, args) {\n const deserializedThis = args.shift();\n const deserializedArgs = args;\n return f.apply(deserializedThis, deserializedArgs);\n }}`;\n const thisAndArgumentsList = [await deserializeToCdpArg(_this, realm)];\n thisAndArgumentsList.push(...(await Promise.all(_arguments.map(async (a) => {\n return await deserializeToCdpArg(a, realm);\n }))));\n let cdpCallFunctionResult;\n try {\n cdpCallFunctionResult = await realm.cdpClient.sendCommand('Runtime.callFunctionOn', {\n functionDeclaration: callFunctionAndSerializeScript,\n awaitPromise,\n arguments: thisAndArgumentsList,\n generateWebDriverValue: true,\n executionContextId: realm.executionContextId,\n });\n }\n catch (e) {\n // Heuristic to determine if the problem is in the argument.\n // The check can be done on the `deserialization` step, but this approach\n // helps to save round-trips.\n if (e.code === -32000 &&\n [\n 'Could not find object with given id',\n 'Argument should belong to the same JavaScript world as target object',\n ].includes(e.message)) {\n throw new protocol_js_1.Message.InvalidArgumentException('Handle was not found.');\n }\n throw e;\n }\n if (cdpCallFunctionResult.exceptionDetails) {\n // Serialize exception details.\n return {\n exceptionDetails: await this.#serializeCdpExceptionDetails(cdpCallFunctionResult.exceptionDetails, CALL_FUNCTION_STACKTRACE_LINE_OFFSET, resultOwnership, realm),\n type: 'exception',\n realm: realm.realmId,\n };\n }\n return {\n type: 'success',\n result: await realm.cdpToBidiValue(cdpCallFunctionResult, resultOwnership),\n realm: realm.realmId,\n };\n }\n async #serializeCdpExceptionDetails(cdpExceptionDetails, lineOffset, resultOwnership, realm) {\n const callFrames = cdpExceptionDetails.stackTrace?.callFrames.map((frame) => ({\n url: frame.url,\n functionName: frame.functionName,\n // As `script.evaluate` wraps call into serialization script, so\n // `lineNumber` should be adjusted.\n lineNumber: frame.lineNumber - lineOffset,\n columnNumber: frame.columnNumber,\n }));\n const exception = await this.serializeCdpObject(\n // Exception should always be there.\n cdpExceptionDetails.exception, resultOwnership, realm);\n const text = await stringifyObject(cdpExceptionDetails.exception, realm);\n return {\n exception,\n columnNumber: cdpExceptionDetails.columnNumber,\n // As `script.evaluate` wraps call into serialization script, so\n // `lineNumber` should be adjusted.\n lineNumber: cdpExceptionDetails.lineNumber - lineOffset,\n stackTrace: {\n callFrames: callFrames || [],\n },\n text: text || cdpExceptionDetails.text,\n };\n }\n async scriptEvaluate(realm, expression, awaitPromise, resultOwnership) {\n const cdpEvaluateResult = await realm.cdpClient.sendCommand('Runtime.evaluate', {\n contextId: realm.executionContextId,\n expression,\n awaitPromise,\n generateWebDriverValue: true,\n });\n if (cdpEvaluateResult.exceptionDetails) {\n // Serialize exception details.\n return {\n exceptionDetails: await this.#serializeCdpExceptionDetails(cdpEvaluateResult.exceptionDetails, EVALUATE_STACKTRACE_LINE_OFFSET, resultOwnership, realm),\n type: 'exception',\n realm: realm.realmId,\n };\n }\n return {\n type: 'success',\n result: await realm.cdpToBidiValue(cdpEvaluateResult, resultOwnership),\n realm: realm.realmId,\n };\n }\n}\nexports.ScriptEvaluator = ScriptEvaluator;\n//# sourceMappingURL=scriptEvaluator.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Realm = void 0;\nconst scriptEvaluator_js_1 = require(\"./scriptEvaluator.js\");\nconst scriptEvaluator = new scriptEvaluator_js_1.ScriptEvaluator();\nclass Realm {\n #realmStorage;\n #realmId;\n #browsingContextId;\n #navigableId;\n #executionContextId;\n #origin;\n #type;\n #cdpClient;\n sandbox;\n cdpSessionId;\n constructor(realmStorage, realmId, browsingContextId, navigableId, executionContextId, origin, type, sandbox, cdpSessionId, cdpClient) {\n this.#realmId = realmId;\n this.#browsingContextId = browsingContextId;\n this.#navigableId = navigableId;\n this.#executionContextId = executionContextId;\n this.sandbox = sandbox;\n this.#origin = origin;\n this.#type = type;\n this.cdpSessionId = cdpSessionId;\n this.#cdpClient = cdpClient;\n this.#realmStorage = realmStorage;\n this.#realmStorage.realmMap.set(this.#realmId, this);\n }\n async disown(handle) {\n // Disowning an object from different realm does nothing.\n if (this.#realmStorage.knownHandlesToRealm.get(handle) !== this.realmId) {\n return;\n }\n try {\n await this.cdpClient.sendCommand('Runtime.releaseObject', {\n objectId: handle,\n });\n }\n catch (e) {\n // Heuristic to determine if the problem is in the unknown handler.\n // Ignore the error if so.\n if (!(e.code === -32000 && e.message === 'Invalid remote object id')) {\n throw e;\n }\n }\n this.#realmStorage.knownHandlesToRealm.delete(handle);\n }\n async cdpToBidiValue(cdpValue, resultOwnership) {\n const cdpWebDriverValue = cdpValue.result.webDriverValue;\n const bidiValue = this.webDriverValueToBiDi(cdpWebDriverValue);\n if (cdpValue.result.objectId) {\n const objectId = cdpValue.result.objectId;\n if (resultOwnership === 'root') {\n // Extend BiDi value with `handle` based on required `resultOwnership`\n // and CDP response but not on the actual BiDi type.\n bidiValue.handle = objectId;\n // Remember all the handles sent to client.\n this.#realmStorage.knownHandlesToRealm.set(objectId, this.realmId);\n }\n else {\n // No need in waiting for the object to be released.\n // noinspection ES6MissingAwait\n this.cdpClient.sendCommand('Runtime.releaseObject', { objectId });\n }\n }\n return bidiValue;\n }\n webDriverValueToBiDi(webDriverValue) {\n // This relies on the CDP to implement proper BiDi serialization, except\n // backendNodeId/sharedId.\n const result = webDriverValue;\n const bidiValue = result.value;\n if (bidiValue === undefined) {\n return result;\n }\n if (result.type === 'node') {\n if (Object.hasOwn(bidiValue, 'backendNodeId')) {\n bidiValue.sharedId = `${this.navigableId}${scriptEvaluator_js_1.SHARED_ID_DIVIDER}${bidiValue.backendNodeId}`;\n delete bidiValue['backendNodeId'];\n }\n if (Object.hasOwn(bidiValue, 'children')) {\n for (const i in bidiValue.children) {\n bidiValue.children[i] = this.webDriverValueToBiDi(bidiValue.children[i]);\n }\n }\n }\n // Recursively update the nested values.\n if (['array', 'set'].includes(webDriverValue.type)) {\n for (const i in bidiValue) {\n bidiValue[i] = this.webDriverValueToBiDi(bidiValue[i]);\n }\n }\n if (['object', 'map'].includes(webDriverValue.type)) {\n for (const i in bidiValue) {\n bidiValue[i] = [\n this.webDriverValueToBiDi(bidiValue[i][0]),\n this.webDriverValueToBiDi(bidiValue[i][1]),\n ];\n }\n }\n return result;\n }\n toBiDi() {\n return {\n realm: this.realmId,\n origin: this.origin,\n type: this.type,\n context: this.browsingContextId,\n ...(this.sandbox === undefined ? {} : { sandbox: this.sandbox }),\n };\n }\n get realmId() {\n return this.#realmId;\n }\n get navigableId() {\n return this.#navigableId;\n }\n get browsingContextId() {\n return this.#browsingContextId;\n }\n get executionContextId() {\n return this.#executionContextId;\n }\n get origin() {\n return this.#origin;\n }\n get type() {\n return this.#type;\n }\n get cdpClient() {\n return this.#cdpClient;\n }\n async callFunction(functionDeclaration, _this, _arguments, awaitPromise, resultOwnership, browsingContextStorage) {\n const context = browsingContextStorage.getKnownContext(this.browsingContextId);\n await context.awaitUnblocked();\n return {\n result: await scriptEvaluator.callFunction(this, functionDeclaration, _this, _arguments, awaitPromise, resultOwnership),\n };\n }\n async scriptEvaluate(expression, awaitPromise, resultOwnership, browsingContextStorage) {\n const context = browsingContextStorage.getKnownContext(this.browsingContextId);\n await context.awaitUnblocked();\n return {\n result: await scriptEvaluator.scriptEvaluate(this, expression, awaitPromise, resultOwnership),\n };\n }\n /**\n * Serializes a given CDP object into BiDi, keeping references in the\n * target's `globalThis`.\n * @param cdpObject CDP remote object to be serialized.\n * @param resultOwnership indicates desired OwnershipModel.\n */\n async serializeCdpObject(cdpObject, resultOwnership) {\n return await scriptEvaluator.serializeCdpObject(cdpObject, resultOwnership, this);\n }\n /**\n * Gets the string representation of an object. This is equivalent to\n * calling toString() on the object value.\n * @param cdpObject CDP remote object representing an object.\n * @param realm\n * @returns string The stringified object.\n */\n async stringifyObject(cdpObject) {\n return await (0, scriptEvaluator_js_1.stringifyObject)(cdpObject, this);\n }\n}\nexports.Realm = Realm;\n//# sourceMappingURL=realm.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BrowsingContextImpl = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst deferred_js_1 = require(\"../../../utils/deferred.js\");\nconst logManager_js_1 = require(\"../log/logManager.js\");\nconst realm_js_1 = require(\"../script/realm.js\");\nclass BrowsingContextImpl {\n #targetDefers = {\n documentInitialized: new deferred_js_1.Deferred(),\n targetUnblocked: new deferred_js_1.Deferred(),\n Page: {\n navigatedWithinDocument: new deferred_js_1.Deferred(),\n lifecycleEvent: {\n DOMContentLoaded: new deferred_js_1.Deferred(),\n load: new deferred_js_1.Deferred(),\n },\n },\n };\n #contextId;\n #parentId;\n #cdpBrowserContextId;\n #eventManager;\n #children = new Map();\n #realmStorage;\n #url = 'about:blank';\n #loaderId = null;\n #cdpSessionId;\n #cdpClient;\n #maybeDefaultRealm;\n #browsingContextStorage;\n get #defaultRealm() {\n if (this.#maybeDefaultRealm === undefined) {\n throw new Error(`No default realm for browsing context ${this.#contextId}`);\n }\n return this.#maybeDefaultRealm;\n }\n constructor(realmStorage, contextId, parentId, cdpClient, cdpSessionId, cdpBrowserContextId, eventManager, browsingContextStorage) {\n this.#realmStorage = realmStorage;\n this.#contextId = contextId;\n this.#parentId = parentId;\n this.#cdpClient = cdpClient;\n this.#cdpBrowserContextId = cdpBrowserContextId;\n this.#eventManager = eventManager;\n this.#cdpSessionId = cdpSessionId;\n this.#browsingContextStorage = browsingContextStorage;\n this.#initListeners();\n this.#browsingContextStorage.addContext(this);\n }\n static async createFrameContext(realmStorage, contextId, parentId, cdpClient, cdpSessionId, eventManager, browsingContextStorage) {\n const context = new BrowsingContextImpl(realmStorage, contextId, parentId, cdpClient, cdpSessionId, null, eventManager, browsingContextStorage);\n context.#targetDefers.targetUnblocked.resolve();\n await eventManager.registerEvent({\n method: protocol_js_1.BrowsingContext.EventNames.ContextCreatedEvent,\n params: context.serializeToBidiValue(),\n }, context.contextId);\n }\n static async createTargetContext(realmStorage, contextId, parentId, cdpClient, cdpSessionId, cdpBrowserContextId, eventManager, browsingContextStorage) {\n const context = new BrowsingContextImpl(realmStorage, contextId, parentId, cdpClient, cdpSessionId, cdpBrowserContextId, eventManager, browsingContextStorage);\n // No need in waiting for target to be unblocked.\n // noinspection ES6MissingAwait\n context.#unblockAttachedTarget();\n await eventManager.registerEvent({\n method: protocol_js_1.BrowsingContext.EventNames.ContextCreatedEvent,\n params: context.serializeToBidiValue(),\n }, context.contextId);\n }\n get cdpBrowserContextId() {\n return this.#cdpBrowserContextId;\n }\n // https://html.spec.whatwg.org/multipage/document-sequences.html#navigable\n get navigableId() {\n return this.#loaderId;\n }\n convertFrameToTargetContext(cdpClient, cdpSessionId) {\n this.#updateConnection(cdpClient, cdpSessionId);\n // No need in waiting for target to be unblocked.\n // noinspection JSIgnoredPromiseFromCall\n this.#unblockAttachedTarget();\n }\n async delete() {\n await this.#removeChildContexts();\n this.#realmStorage.deleteRealms({\n browsingContextId: this.contextId,\n });\n // Remove context from the parent.\n if (this.parentId !== null) {\n const parent = this.#browsingContextStorage.getKnownContext(this.parentId);\n parent.#children.delete(this.contextId);\n }\n await this.#eventManager.registerEvent({\n method: protocol_js_1.BrowsingContext.EventNames.ContextDestroyedEvent,\n params: this.serializeToBidiValue(),\n }, this.contextId);\n this.#browsingContextStorage.removeContext(this.contextId);\n }\n async #removeChildContexts() {\n await Promise.all(this.children.map((child) => child.delete()));\n }\n #updateConnection(cdpClient, cdpSessionId) {\n if (!this.#targetDefers.targetUnblocked.isFinished) {\n this.#targetDefers.targetUnblocked.reject('OOPiF');\n }\n this.#targetDefers.targetUnblocked = new deferred_js_1.Deferred();\n this.#cdpClient = cdpClient;\n this.#cdpSessionId = cdpSessionId;\n this.#initListeners();\n }\n async #unblockAttachedTarget() {\n logManager_js_1.LogManager.create(this.#realmStorage, this.#cdpClient, this.#cdpSessionId, this.#eventManager);\n await this.#cdpClient.sendCommand('Runtime.enable');\n await this.#cdpClient.sendCommand('Page.enable');\n await this.#cdpClient.sendCommand('Page.setLifecycleEventsEnabled', {\n enabled: true,\n });\n await this.#cdpClient.sendCommand('Target.setAutoAttach', {\n autoAttach: true,\n waitForDebuggerOnStart: true,\n flatten: true,\n });\n await this.#cdpClient.sendCommand('Runtime.runIfWaitingForDebugger');\n this.#targetDefers.targetUnblocked.resolve();\n }\n get contextId() {\n return this.#contextId;\n }\n get parentId() {\n return this.#parentId;\n }\n get cdpSessionId() {\n return this.#cdpSessionId;\n }\n get children() {\n return Array.from(this.#children.values());\n }\n get url() {\n return this.#url;\n }\n addChild(child) {\n this.#children.set(child.contextId, child);\n }\n async awaitLoaded() {\n await this.#targetDefers.Page.lifecycleEvent.load;\n }\n async awaitUnblocked() {\n await this.#targetDefers.targetUnblocked;\n }\n serializeToBidiValue(maxDepth = 0, addParentFiled = true) {\n return {\n context: this.#contextId,\n url: this.url,\n children: maxDepth > 0\n ? this.children.map((c) => c.serializeToBidiValue(maxDepth - 1, false))\n : null,\n ...(addParentFiled ? { parent: this.#parentId } : {}),\n };\n }\n #initListeners() {\n this.#cdpClient.on('Target.targetInfoChanged', (params) => {\n if (this.contextId !== params.targetInfo.targetId) {\n return;\n }\n this.#url = params.targetInfo.url;\n });\n this.#cdpClient.on('Page.frameNavigated', async (params) => {\n if (this.contextId !== params.frame.id) {\n return;\n }\n this.#url = params.frame.url + (params.frame.urlFragment ?? '');\n // At the point the page is initiated, all the nested iframes from the\n // previous page are detached and realms are destroyed.\n // Remove context's children.\n await this.#removeChildContexts();\n // Remove all the already created realms.\n this.#realmStorage.deleteRealms({ browsingContextId: this.contextId });\n });\n this.#cdpClient.on('Page.navigatedWithinDocument', (params) => {\n if (this.contextId !== params.frameId) {\n return;\n }\n this.#url = params.url;\n this.#targetDefers.Page.navigatedWithinDocument.resolve(params);\n });\n this.#cdpClient.on('Page.lifecycleEvent', async (params) => {\n if (this.contextId !== params.frameId) {\n return;\n }\n if (params.name === 'init') {\n this.#documentChanged(params.loaderId);\n this.#targetDefers.documentInitialized.resolve();\n }\n if (params.name === 'commit') {\n this.#loaderId = params.loaderId;\n return;\n }\n if (params.loaderId !== this.#loaderId) {\n return;\n }\n switch (params.name) {\n case 'DOMContentLoaded':\n this.#targetDefers.Page.lifecycleEvent.DOMContentLoaded.resolve(params);\n await this.#eventManager.registerEvent({\n method: protocol_js_1.BrowsingContext.EventNames.DomContentLoadedEvent,\n params: {\n context: this.contextId,\n navigation: this.#loaderId,\n url: this.#url,\n },\n }, this.contextId);\n break;\n case 'load':\n this.#targetDefers.Page.lifecycleEvent.load.resolve(params);\n await this.#eventManager.registerEvent({\n method: protocol_js_1.BrowsingContext.EventNames.LoadEvent,\n params: {\n context: this.contextId,\n navigation: this.#loaderId,\n url: this.#url,\n },\n }, this.contextId);\n break;\n }\n });\n this.#cdpClient.on('Runtime.executionContextCreated', (params) => {\n if (params.context.auxData.frameId !== this.contextId) {\n return;\n }\n // Only this execution contexts are supported for now.\n if (!['default', 'isolated'].includes(params.context.auxData.type)) {\n return;\n }\n const realm = new realm_js_1.Realm(this.#realmStorage, params.context.uniqueId, this.contextId, this.navigableId ?? 'UNKNOWN', params.context.id, this.#getOrigin(params), \n // TODO: differentiate types.\n 'window', \n // Sandbox name for isolated world.\n params.context.auxData.type === 'isolated'\n ? params.context.name\n : undefined, this.#cdpSessionId, this.#cdpClient);\n if (params.context.auxData.isDefault) {\n this.#maybeDefaultRealm = realm;\n }\n });\n this.#cdpClient.on('Runtime.executionContextDestroyed', (params) => {\n this.#realmStorage.deleteRealms({\n cdpSessionId: this.#cdpSessionId,\n executionContextId: params.executionContextId,\n });\n });\n }\n #getOrigin(params) {\n if (params.context.auxData.type === 'isolated') {\n // Sandbox should have the same origin as the context itself, but in CDP\n // it has an empty one.\n return this.#defaultRealm.origin;\n }\n // https://html.spec.whatwg.org/multipage/origin.html#ascii-serialisation-of-an-origin\n return ['://', ''].includes(params.context.origin)\n ? 'null'\n : params.context.origin;\n }\n #documentChanged(loaderId) {\n if (this.#loaderId === loaderId) {\n return;\n }\n if (!this.#targetDefers.documentInitialized.isFinished) {\n this.#targetDefers.documentInitialized.reject('Document changed');\n }\n this.#targetDefers.documentInitialized = new deferred_js_1.Deferred();\n if (!this.#targetDefers.Page.navigatedWithinDocument.isFinished) {\n this.#targetDefers.Page.navigatedWithinDocument.reject('Document changed');\n }\n this.#targetDefers.Page.navigatedWithinDocument =\n new deferred_js_1.Deferred();\n if (!this.#targetDefers.Page.lifecycleEvent.DOMContentLoaded.isFinished) {\n this.#targetDefers.Page.lifecycleEvent.DOMContentLoaded.reject('Document changed');\n }\n this.#targetDefers.Page.lifecycleEvent.DOMContentLoaded =\n new deferred_js_1.Deferred();\n if (!this.#targetDefers.Page.lifecycleEvent.load.isFinished) {\n this.#targetDefers.Page.lifecycleEvent.load.reject('Document changed');\n }\n this.#targetDefers.Page.lifecycleEvent.load =\n new deferred_js_1.Deferred();\n this.#loaderId = loaderId;\n }\n async navigate(url, wait) {\n await this.#targetDefers.targetUnblocked;\n // TODO: handle loading errors.\n const cdpNavigateResult = await this.#cdpClient.sendCommand('Page.navigate', {\n url,\n frameId: this.contextId,\n });\n if (cdpNavigateResult.errorText) {\n throw new protocol_js_1.Message.UnknownException(cdpNavigateResult.errorText);\n }\n if (cdpNavigateResult.loaderId !== undefined &&\n cdpNavigateResult.loaderId !== this.#loaderId) {\n this.#documentChanged(cdpNavigateResult.loaderId);\n }\n // Wait for `wait` condition.\n switch (wait) {\n case 'none':\n break;\n case 'interactive':\n // No `loaderId` means same-document navigation.\n if (cdpNavigateResult.loaderId === undefined) {\n await this.#targetDefers.Page.navigatedWithinDocument;\n }\n else {\n await this.#targetDefers.Page.lifecycleEvent.DOMContentLoaded;\n }\n break;\n case 'complete':\n // No `loaderId` means same-document navigation.\n if (cdpNavigateResult.loaderId === undefined) {\n await this.#targetDefers.Page.navigatedWithinDocument;\n }\n else {\n await this.#targetDefers.Page.lifecycleEvent.load;\n }\n break;\n default:\n throw new Error(`Not implemented wait '${wait}'`);\n }\n return {\n result: {\n navigation: cdpNavigateResult.loaderId || null,\n url: url,\n },\n };\n }\n async getOrCreateSandbox(sandbox) {\n if (sandbox === undefined || sandbox === '') {\n return this.#defaultRealm;\n }\n let maybeSandboxes = this.#realmStorage.findRealms({\n browsingContextId: this.contextId,\n sandbox,\n });\n if (maybeSandboxes.length === 0) {\n await this.#cdpClient.sendCommand('Page.createIsolatedWorld', {\n frameId: this.contextId,\n worldName: sandbox,\n });\n // `Runtime.executionContextCreated` should be emitted by the time the\n // previous command is done.\n maybeSandboxes = this.#realmStorage.findRealms({\n browsingContextId: this.contextId,\n sandbox,\n });\n }\n if (maybeSandboxes.length !== 1) {\n throw Error(`Sandbox ${sandbox} wasn't created.`);\n }\n return maybeSandboxes[0];\n }\n}\nexports.BrowsingContextImpl = BrowsingContextImpl;\n//# sourceMappingURL=browsingContextImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BrowsingContextProcessor = void 0;\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nconst log_js_1 = require(\"../../../utils/log.js\");\nconst browsingContextImpl_js_1 = require(\"./browsingContextImpl.js\");\nclass BrowsingContextProcessor {\n #browsingContextStorage;\n #cdpConnection;\n #eventManager;\n #logger;\n #realmStorage;\n #selfTargetId;\n #sessions;\n constructor(realmStorage, cdpConnection, selfTargetId, eventManager, browsingContextStorage, logger) {\n this.#browsingContextStorage = browsingContextStorage;\n this.#cdpConnection = cdpConnection;\n this.#eventManager = eventManager;\n this.#logger = logger;\n this.#realmStorage = realmStorage;\n this.#selfTargetId = selfTargetId;\n this.#sessions = new Set();\n this.#setBrowserClientEventListeners(this.#cdpConnection.browserClient());\n }\n #setBrowserClientEventListeners(browserClient) {\n this.#setTargetEventListeners(browserClient);\n }\n #setTargetEventListeners(cdpClient) {\n cdpClient.on('Target.attachedToTarget', async (params) => {\n await this.#handleAttachedToTargetEvent(params, cdpClient);\n });\n cdpClient.on('Target.detachedFromTarget', async (params) => {\n await this.#handleDetachedFromTargetEvent(params);\n });\n }\n #setSessionEventListeners(sessionId) {\n if (this.#sessions.has(sessionId)) {\n return;\n }\n this.#sessions.add(sessionId);\n const sessionCdpClient = this.#cdpConnection.getCdpClient(sessionId);\n this.#setTargetEventListeners(sessionCdpClient);\n sessionCdpClient.on('*', async (method, params) => {\n await this.#eventManager.registerEvent({\n method: protocol_js_1.CDP.EventNames.EventReceivedEvent,\n params: {\n cdpMethod: method,\n cdpParams: params || {},\n cdpSession: sessionId,\n },\n }, null);\n });\n sessionCdpClient.on('Page.frameAttached', async (params) => {\n await browsingContextImpl_js_1.BrowsingContextImpl.createFrameContext(this.#realmStorage, params.frameId, params.parentFrameId, sessionCdpClient, sessionId, this.#eventManager, this.#browsingContextStorage);\n });\n }\n async #handleAttachedToTargetEvent(params, parentSessionCdpClient) {\n const { sessionId, targetInfo } = params;\n const targetSessionCdpClient = this.#cdpConnection.getCdpClient(sessionId);\n if (!this.#isValidTarget(targetInfo)) {\n // DevTools or some other not supported by BiDi target.\n await targetSessionCdpClient.sendCommand('Runtime.runIfWaitingForDebugger');\n await parentSessionCdpClient.sendCommand('Target.detachFromTarget', params);\n return;\n }\n this.#logger?.(log_js_1.LogType.browsingContexts, 'AttachedToTarget event received:', JSON.stringify(params, null, 2));\n this.#setSessionEventListeners(sessionId);\n if (this.#browsingContextStorage.hasKnownContext(targetInfo.targetId)) {\n // OOPiF.\n this.#browsingContextStorage\n .getKnownContext(targetInfo.targetId)\n .convertFrameToTargetContext(targetSessionCdpClient, sessionId);\n }\n else {\n await browsingContextImpl_js_1.BrowsingContextImpl.createTargetContext(this.#realmStorage, targetInfo.targetId, null, targetSessionCdpClient, sessionId, params.targetInfo.browserContextId ?? null, this.#eventManager, this.#browsingContextStorage);\n }\n }\n // { \"method\": \"Target.detachedFromTarget\",\n // \"params\": {\n // \"sessionId\": \"7EFBFB2A4942A8989B3EADC561BC46E9\",\n // \"targetId\": \"19416886405CBA4E03DBB59FA67FF4E8\" } }\n async #handleDetachedFromTargetEvent(params) {\n // TODO: params.targetId is deprecated. Update this class to track using\n // params.sessionId instead.\n // https://github.com/GoogleChromeLabs/chromium-bidi/issues/60\n const contextId = params.targetId;\n await this.#browsingContextStorage.findContext(contextId)?.delete();\n }\n async process_browsingContext_getTree(params) {\n const resultContexts = params.root === undefined\n ? this.#browsingContextStorage.getTopLevelContexts()\n : [this.#browsingContextStorage.getKnownContext(params.root)];\n return {\n result: {\n contexts: resultContexts.map((c) => c.serializeToBidiValue(params.maxDepth ?? Number.MAX_VALUE)),\n },\n };\n }\n async process_browsingContext_create(params) {\n const browserCdpClient = this.#cdpConnection.browserClient();\n let referenceContext = undefined;\n if (params.referenceContext !== undefined) {\n referenceContext = this.#browsingContextStorage.getKnownContext(params.referenceContext);\n if (referenceContext.parentId !== null) {\n throw new protocol_js_1.Message.InvalidArgumentException(`referenceContext should be a top-level context`);\n }\n }\n const result = await browserCdpClient.sendCommand('Target.createTarget', {\n url: 'about:blank',\n newWindow: params.type === 'window',\n ...(referenceContext?.cdpBrowserContextId\n ? { browserContextId: referenceContext.cdpBrowserContextId }\n : {}),\n });\n // Wait for the new tab to be loaded to avoid race conditions in the\n // `browsingContext` events, when the `browsingContext.domContentLoaded` and\n // `browsingContext.load` events from the initial `about:blank` navigation\n // are emitted after the next navigation is started.\n // Details: https://github.com/web-platform-tests/wpt/issues/35846\n const contextId = result.targetId;\n const context = this.#browsingContextStorage.getKnownContext(contextId);\n await context.awaitLoaded();\n return {\n result: context.serializeToBidiValue(1),\n };\n }\n async process_browsingContext_navigate(params) {\n const context = this.#browsingContextStorage.getKnownContext(params.context);\n return await context.navigate(params.url, params.wait === undefined ? 'none' : params.wait);\n }\n async #getRealm(target) {\n if ('realm' in target) {\n return this.#realmStorage.getRealm({\n realmId: target.realm,\n });\n }\n const context = this.#browsingContextStorage.getKnownContext(target.context);\n return await context.getOrCreateSandbox(target.sandbox);\n }\n async process_script_evaluate(params) {\n const realm = await this.#getRealm(params.target);\n return await realm.scriptEvaluate(params.expression, params.awaitPromise, params.resultOwnership ?? 'none', this.#browsingContextStorage);\n }\n process_script_getRealms(params) {\n if (params.context !== undefined) {\n // Make sure the context is known.\n this.#browsingContextStorage.getKnownContext(params.context);\n }\n const realms = this.#realmStorage\n .findRealms({\n browsingContextId: params.context,\n type: params.type,\n })\n .map((realm) => realm.toBiDi());\n return { result: { realms } };\n }\n async process_script_callFunction(params) {\n const realm = await this.#getRealm(params.target);\n return await realm.callFunction(params.functionDeclaration, params.this || {\n type: 'undefined',\n }, // `this` is `undefined` by default.\n params.arguments || [], // `arguments` is `[]` by default.\n params.awaitPromise, params.resultOwnership ?? 'none', this.#browsingContextStorage);\n }\n async process_script_disown(params) {\n const realm = await this.#getRealm(params.target);\n await Promise.all(params.handles.map(async (h) => await realm.disown(h)));\n return { result: {} };\n }\n async process_browsingContext_close(commandParams) {\n const browserCdpClient = this.#cdpConnection.browserClient();\n const context = this.#browsingContextStorage.getKnownContext(commandParams.context);\n if (context.parentId !== null) {\n throw new protocol_js_1.Message.InvalidArgumentException('Not a top-level browsing context cannot be closed.');\n }\n const detachedFromTargetPromise = new Promise((resolve) => {\n const onContextDestroyed = (eventParams) => {\n if (eventParams.targetId === commandParams.context) {\n browserCdpClient.off('Target.detachedFromTarget', onContextDestroyed);\n resolve();\n }\n };\n browserCdpClient.on('Target.detachedFromTarget', onContextDestroyed);\n });\n await this.#cdpConnection\n .browserClient()\n .sendCommand('Target.closeTarget', {\n targetId: commandParams.context,\n });\n // Sometimes CDP command finishes before `detachedFromTarget` event,\n // sometimes after. Wait for the CDP command to be finished, and then wait\n // for `detachedFromTarget` if it hasn't emitted.\n await detachedFromTargetPromise;\n return { result: {} };\n }\n #isValidTarget(target) {\n if (target.targetId === this.#selfTargetId) {\n return false;\n }\n return ['page', 'iframe'].includes(target.type);\n }\n async process_cdp_sendCommand(params) {\n const client = params.cdpSession\n ? this.#cdpConnection.getCdpClient(params.cdpSession)\n : this.#cdpConnection.browserClient();\n const sendCdpCommandResult = await client.sendCommand(params.cdpMethod, params.cdpParams);\n return {\n result: sendCdpCommandResult,\n cdpSession: params.cdpSession,\n };\n }\n async process_cdp_getSession(params) {\n const context = params.context;\n const sessionId = this.#browsingContextStorage.getKnownContext(context).cdpSessionId;\n if (sessionId === undefined) {\n return { result: { cdpSession: null } };\n }\n return { result: { cdpSession: sessionId } };\n }\n}\nexports.BrowsingContextProcessor = BrowsingContextProcessor;\n//# sourceMappingURL=browsingContextProcessor.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventEmitter = void 0;\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst mitt_1 = __importDefault(require(\"mitt\"));\nclass EventEmitter {\n #emitter = (0, mitt_1.default)();\n on(type, handler) {\n this.#emitter.on(type, handler);\n return this;\n }\n /**\n * Like `on` but the listener will only be fired once and then it will be removed.\n * @param event - the event you'd like to listen to\n * @param handler - the handler function to run when the event occurs\n * @returns `this` to enable you to chain method calls.\n */\n once(event, handler) {\n const onceHandler = (eventData) => {\n handler(eventData);\n this.off(event, onceHandler);\n };\n return this.on(event, onceHandler);\n }\n off(type, handler) {\n this.#emitter.off(type, handler);\n return this;\n }\n /**\n * Emits an event and call any associated listeners.\n *\n * @param event - the event you'd like to emit\n * @param eventData - any data you'd like to emit with the event\n * @returns `true` if there are any listeners, `false` if there are not.\n */\n emit(event, eventData) {\n this.#emitter.emit(event, eventData);\n }\n}\nexports.EventEmitter = EventEmitter;\n//# sourceMappingURL=EventEmitter.js.map","module.exports=function(n){return{all:n=n||new Map,on:function(e,t){var i=n.get(e);i?i.push(t):n.set(e,[t])},off:function(e,t){var i=n.get(e);i&&(t?i.splice(i.indexOf(t)>>>0,1):n.set(e,[]))},emit:function(e,t){var i=n.get(e);i&&i.slice().map(function(n){n(t)}),(i=n.get(\"*\"))&&i.slice().map(function(n){n(e,t)})}}};\n//# sourceMappingURL=mitt.js.map\n","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OutgoingBidiMessage = void 0;\nclass OutgoingBidiMessage {\n #message;\n #channel;\n constructor(message, channel) {\n this.#message = message;\n this.#channel = channel;\n }\n static async createFromPromise(messagePromise, channel) {\n const message = await messagePromise;\n return new OutgoingBidiMessage(message, channel);\n }\n static createResolved(message, channel) {\n return Promise.resolve(new OutgoingBidiMessage(message, channel));\n }\n get message() {\n return this.#message;\n }\n get channel() {\n return this.#channel;\n }\n}\nexports.OutgoingBidiMessage = OutgoingBidiMessage;\n//# sourceMappingURL=OutgoingBidiMessage.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CommandProcessor = void 0;\nconst protocol_js_1 = require(\"../protocol/protocol.js\");\nconst browsingContextProcessor_js_1 = require(\"./domains/context/browsingContextProcessor.js\");\nconst EventEmitter_js_1 = require(\"../utils/EventEmitter.js\");\nconst OutgoingBidiMessage_js_1 = require(\"./OutgoingBidiMessage.js\");\nclass BidiNoOpParser {\n parseGetRealmsParams(params) {\n return params;\n }\n parseCallFunctionParams(params) {\n return params;\n }\n parseEvaluateParams(params) {\n return params;\n }\n parseDisownParams(params) {\n return params;\n }\n parseSendCommandParams(params) {\n return params;\n }\n parseGetSessionParams(params) {\n return params;\n }\n parseNavigateParams(params) {\n return params;\n }\n parseGetTreeParams(params) {\n return params;\n }\n parseSubscribeParams(params) {\n return params;\n }\n parseCreateParams(params) {\n return params;\n }\n parseCloseParams(params) {\n return params;\n }\n}\nclass CommandProcessor extends EventEmitter_js_1.EventEmitter {\n #contextProcessor;\n #eventManager;\n #parser;\n constructor(realmStorage, cdpConnection, eventManager, selfTargetId, parser = new BidiNoOpParser(), browsingContextStorage, logger) {\n super();\n this.#eventManager = eventManager;\n this.#contextProcessor = new browsingContextProcessor_js_1.BrowsingContextProcessor(realmStorage, cdpConnection, selfTargetId, eventManager, browsingContextStorage, logger);\n this.#parser = parser;\n }\n // noinspection JSMethodCanBeStatic,JSUnusedLocalSymbols\n async #process_session_status() {\n return { result: { ready: false, message: 'already connected' } };\n }\n async #process_session_subscribe(params, channel) {\n await this.#eventManager.subscribe(params.events, params.contexts ?? [null], channel);\n return { result: {} };\n }\n async #process_session_unsubscribe(params, channel) {\n await this.#eventManager.unsubscribe(params.events, params.contexts ?? [null], channel);\n return { result: {} };\n }\n async #processCommand(commandData) {\n switch (commandData.method) {\n case 'session.status':\n return await this.#process_session_status();\n case 'session.subscribe':\n return await this.#process_session_subscribe(this.#parser.parseSubscribeParams(commandData.params), commandData.channel ?? null);\n case 'session.unsubscribe':\n return await this.#process_session_unsubscribe(this.#parser.parseSubscribeParams(commandData.params), commandData.channel ?? null);\n case 'browsingContext.create':\n return await this.#contextProcessor.process_browsingContext_create(this.#parser.parseCreateParams(commandData.params));\n case 'browsingContext.close':\n return await this.#contextProcessor.process_browsingContext_close(this.#parser.parseCloseParams(commandData.params));\n case 'browsingContext.getTree':\n return await this.#contextProcessor.process_browsingContext_getTree(this.#parser.parseGetTreeParams(commandData.params));\n case 'browsingContext.navigate':\n return await this.#contextProcessor.process_browsingContext_navigate(this.#parser.parseNavigateParams(commandData.params));\n case 'script.getRealms':\n return this.#contextProcessor.process_script_getRealms(this.#parser.parseGetRealmsParams(commandData.params));\n case 'script.callFunction':\n return await this.#contextProcessor.process_script_callFunction(this.#parser.parseCallFunctionParams(commandData.params));\n case 'script.evaluate':\n return await this.#contextProcessor.process_script_evaluate(this.#parser.parseEvaluateParams(commandData.params));\n case 'script.disown':\n return await this.#contextProcessor.process_script_disown(this.#parser.parseDisownParams(commandData.params));\n case 'cdp.sendCommand':\n return await this.#contextProcessor.process_cdp_sendCommand(this.#parser.parseSendCommandParams(commandData.params));\n case 'cdp.getSession':\n return await this.#contextProcessor.process_cdp_getSession(this.#parser.parseGetSessionParams(commandData.params));\n default:\n throw new protocol_js_1.Message.UnknownCommandException(`Unknown command '${commandData.method}'.`);\n }\n }\n processCommand = async (command) => {\n try {\n const result = await this.#processCommand(command);\n const response = {\n id: command.id,\n ...result,\n };\n this.emit('response', OutgoingBidiMessage_js_1.OutgoingBidiMessage.createResolved(response, command.channel ?? null));\n }\n catch (e) {\n if (e instanceof protocol_js_1.Message.ErrorResponseClass) {\n const errorResponse = e;\n this.emit('response', OutgoingBidiMessage_js_1.OutgoingBidiMessage.createResolved(errorResponse.toErrorResponse(command.id), command.channel ?? null));\n }\n else {\n const error = e;\n console.error(error);\n this.emit('response', OutgoingBidiMessage_js_1.OutgoingBidiMessage.createResolved(new protocol_js_1.Message.UnknownException(error.message).toErrorResponse(command.id), command.channel ?? null));\n }\n }\n };\n}\nexports.CommandProcessor = CommandProcessor;\n//# sourceMappingURL=CommandProcessor.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BrowsingContextStorage = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nclass BrowsingContextStorage {\n #contexts = new Map();\n getTopLevelContexts() {\n return Array.from(this.#contexts.values()).filter((c) => c.parentId === null);\n }\n removeContext(contextId) {\n this.#contexts.delete(contextId);\n }\n addContext(context) {\n this.#contexts.set(context.contextId, context);\n if (context.parentId !== null) {\n this.getKnownContext(context.parentId).addChild(context);\n }\n }\n hasKnownContext(contextId) {\n return this.#contexts.has(contextId);\n }\n findContext(contextId) {\n return this.#contexts.get(contextId);\n }\n getKnownContext(contextId) {\n const result = this.findContext(contextId);\n if (result === undefined) {\n throw new protocol_js_1.Message.NoSuchFrameException(`Context ${contextId} not found`);\n }\n return result;\n }\n}\nexports.BrowsingContextStorage = BrowsingContextStorage;\n//# sourceMappingURL=browsingContextStorage.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Buffer = void 0;\n/**\n * Implements a FIFO buffer with a fixed size.\n */\nclass Buffer {\n #capacity;\n #entries = [];\n #onItemRemoved;\n /**\n * @param capacity\n * @param onItemRemoved optional delegate called for each removed element.\n */\n constructor(capacity, onItemRemoved = () => { }) {\n this.#capacity = capacity;\n this.#onItemRemoved = onItemRemoved;\n }\n get() {\n return this.#entries;\n }\n add(value) {\n this.#entries.push(value);\n while (this.#entries.length > this.#capacity) {\n const item = this.#entries.shift();\n if (item !== undefined) {\n this.#onItemRemoved(item);\n }\n }\n }\n}\nexports.Buffer = Buffer;\n//# sourceMappingURL=buffer.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IdWrapper = void 0;\n/**\n * Creates an object with a positive unique incrementing id.\n */\nclass IdWrapper {\n static #counter = 0;\n #id;\n constructor() {\n this.#id = ++IdWrapper.#counter;\n }\n get id() {\n return this.#id;\n }\n}\nexports.IdWrapper = IdWrapper;\n//# sourceMappingURL=idWrapper.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionManager = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nclass SubscriptionManager {\n #subscriptionPriority = 0;\n // BrowsingContext `null` means the event has subscription across all the\n // browsing contexts.\n // Channel `null` means no `channel` should be added.\n #channelToContextToEventMap = new Map();\n #browsingContextStorage;\n constructor(browsingContextStorage) {\n this.#browsingContextStorage = browsingContextStorage;\n }\n getChannelsSubscribedToEvent(eventMethod, contextId) {\n const prioritiesAndChannels = Array.from(this.#channelToContextToEventMap.keys())\n .map((channel) => ({\n priority: this.#getEventSubscriptionPriorityForChannel(eventMethod, contextId, channel),\n channel,\n }))\n .filter(({ priority }) => priority !== null);\n // Sort channels by priority.\n return prioritiesAndChannels\n .sort((a, b) => a.priority - b.priority)\n .map(({ channel }) => channel);\n }\n #getEventSubscriptionPriorityForChannel(eventMethod, contextId, channel) {\n const contextToEventMap = this.#channelToContextToEventMap.get(channel);\n if (contextToEventMap === undefined) {\n return null;\n }\n // Get all the subscription priorities.\n const priorities = this.#getRelevantContexts(contextId)\n .map((c) => contextToEventMap.get(c)?.get(eventMethod))\n .filter((p) => p !== undefined);\n if (priorities.length === 0) {\n // Not subscribed, return null.\n return null;\n }\n // Return minimal priority.\n return Math.min(...priorities);\n }\n #getRelevantContexts(contextId) {\n // `null` covers global subscription.\n const result = [null];\n while (contextId !== null) {\n result.push(contextId);\n const maybeParentContext = this.#browsingContextStorage.findContext(contextId);\n contextId = maybeParentContext?.parentId ?? null;\n }\n return result;\n }\n subscribe(event, contextId, channel) {\n if (event === protocol_js_1.BrowsingContext.AllEvents) {\n Object.values(protocol_js_1.BrowsingContext.EventNames).map((specificEvent) => this.subscribe(specificEvent, contextId, channel));\n return;\n }\n if (event === protocol_js_1.CDP.AllEvents) {\n Object.values(protocol_js_1.CDP.EventNames).map((specificEvent) => this.subscribe(specificEvent, contextId, channel));\n return;\n }\n if (event === protocol_js_1.Log.AllEvents) {\n Object.values(protocol_js_1.Log.EventNames).map((specificEvent) => this.subscribe(specificEvent, contextId, channel));\n return;\n }\n if (!this.#channelToContextToEventMap.has(channel)) {\n this.#channelToContextToEventMap.set(channel, new Map());\n }\n const contextToEventMap = this.#channelToContextToEventMap.get(channel);\n if (!contextToEventMap.has(contextId)) {\n contextToEventMap.set(contextId, new Map());\n }\n const eventMap = contextToEventMap.get(contextId);\n // Do not re-subscribe to events to keep the priority.\n if (eventMap.has(event)) {\n return;\n }\n eventMap.set(event, this.#subscriptionPriority++);\n }\n unsubscribe(event, contextId, channel) {\n if (event === protocol_js_1.BrowsingContext.AllEvents) {\n Object.values(protocol_js_1.BrowsingContext.EventNames).map((specificEvent) => this.unsubscribe(specificEvent, contextId, channel));\n return;\n }\n if (event === protocol_js_1.CDP.AllEvents) {\n Object.values(protocol_js_1.CDP.EventNames).map((specificEvent) => this.unsubscribe(specificEvent, contextId, channel));\n return;\n }\n if (event === protocol_js_1.Log.AllEvents) {\n Object.values(protocol_js_1.Log.EventNames).map((specificEvent) => this.unsubscribe(specificEvent, contextId, channel));\n return;\n }\n if (!this.#channelToContextToEventMap.has(channel)) {\n return;\n }\n const contextToEventMap = this.#channelToContextToEventMap.get(channel);\n if (!contextToEventMap.has(contextId)) {\n return;\n }\n const eventMap = contextToEventMap.get(contextId);\n eventMap.delete(event);\n // Clean up maps if empty.\n if (eventMap.size === 0) {\n contextToEventMap.delete(event);\n }\n if (contextToEventMap.size === 0) {\n this.#channelToContextToEventMap.delete(channel);\n }\n }\n}\nexports.SubscriptionManager = SubscriptionManager;\n//# sourceMappingURL=SubscriptionManager.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventManager = void 0;\nconst buffer_js_1 = require(\"../../../utils/buffer.js\");\nconst idWrapper_js_1 = require(\"../../../utils/idWrapper.js\");\nconst OutgoingBidiMessage_js_1 = require(\"../../OutgoingBidiMessage.js\");\nconst SubscriptionManager_js_1 = require(\"./SubscriptionManager.js\");\nclass EventWrapper extends idWrapper_js_1.IdWrapper {\n #contextId;\n #event;\n constructor(event, contextId) {\n super();\n this.#contextId = contextId;\n this.#event = event;\n }\n get contextId() {\n return this.#contextId;\n }\n get event() {\n return this.#event;\n }\n}\n/**\n * Maps event name to a desired buffer length.\n */\nconst eventBufferLength = new Map([\n ['log.entryAdded', 100],\n]);\nclass EventManager {\n /**\n * Maps event name to a set of contexts where this event already happened.\n * Needed for getting buffered events from all the contexts in case of\n * subscripting to all contexts.\n */\n #eventToContextsMap = new Map();\n /**\n * Maps `eventName` + `browsingContext` to buffer. Used to get buffered events\n * during subscription. Channel-agnostic.\n */\n #eventBuffers = new Map();\n /**\n * Maps `eventName` + `browsingContext` + `channel` to last sent event id.\n * Used to avoid sending duplicated events when user\n * subscribes -> unsubscribes -> subscribes.\n */\n #lastMessageSent = new Map();\n #subscriptionManager;\n #bidiServer;\n constructor(bidiServer) {\n this.#bidiServer = bidiServer;\n this.#subscriptionManager = new SubscriptionManager_js_1.SubscriptionManager(bidiServer.getBrowsingContextStorage());\n }\n /**\n * Returns consistent key to be used to access value maps.\n */\n #getMapKey(eventName, browsingContext, channel = undefined) {\n return JSON.stringify({ eventName, browsingContext, channel });\n }\n async registerEvent(event, contextId) {\n await this.registerPromiseEvent(Promise.resolve(event), contextId, event.method);\n }\n async registerPromiseEvent(event, contextId, eventName) {\n const eventWrapper = new EventWrapper(event, contextId);\n const sortedChannels = this.#subscriptionManager.getChannelsSubscribedToEvent(eventName, contextId);\n this.#bufferEvent(eventWrapper, eventName);\n // Send events to channels in the subscription priority.\n for (const channel of sortedChannels) {\n this.#bidiServer.emitOutgoingMessage(OutgoingBidiMessage_js_1.OutgoingBidiMessage.createFromPromise(event, channel));\n this.#markEventSent(eventWrapper, channel, eventName);\n }\n }\n async subscribe(events, contextIds, channel) {\n for (const eventName of events) {\n for (const contextId of contextIds) {\n if (contextId !== null &&\n !this.#bidiServer\n .getBrowsingContextStorage()\n .hasKnownContext(contextId)) {\n // Unknown context. Do nothing.\n continue;\n }\n this.#subscriptionManager.subscribe(eventName, contextId, channel);\n for (const eventWrapper of this.#getBufferedEvents(eventName, contextId, channel)) {\n // The order of the events is important.\n this.#bidiServer.emitOutgoingMessage(OutgoingBidiMessage_js_1.OutgoingBidiMessage.createFromPromise(eventWrapper.event, channel));\n this.#markEventSent(eventWrapper, channel, eventName);\n }\n }\n }\n }\n async unsubscribe(events, contextIds, channel) {\n for (const event of events) {\n for (const contextId of contextIds) {\n this.#subscriptionManager.unsubscribe(event, contextId, channel);\n }\n }\n }\n /**\n * If the event is buffer-able, put it in the buffer.\n */\n #bufferEvent(eventWrapper, eventName) {\n if (!eventBufferLength.has(eventName)) {\n // Do nothing if the event is no buffer-able.\n return;\n }\n const bufferMapKey = this.#getMapKey(eventName, eventWrapper.contextId);\n if (!this.#eventBuffers.has(bufferMapKey)) {\n this.#eventBuffers.set(bufferMapKey, new buffer_js_1.Buffer(eventBufferLength.get(eventName)));\n }\n this.#eventBuffers.get(bufferMapKey).add(eventWrapper);\n // Add the context to the list of contexts having `eventName` events.\n if (!this.#eventToContextsMap.has(eventName)) {\n this.#eventToContextsMap.set(eventName, new Set());\n }\n this.#eventToContextsMap.get(eventName).add(eventWrapper.contextId);\n }\n /**\n * If the event is buffer-able, mark it as sent to the given contextId and channel.\n */\n #markEventSent(eventWrapper, channel, eventName) {\n if (!eventBufferLength.has(eventName)) {\n // Do nothing if the event is no buffer-able.\n return;\n }\n const lastSentMapKey = this.#getMapKey(eventName, eventWrapper.contextId, channel);\n this.#lastMessageSent.set(lastSentMapKey, Math.max(this.#lastMessageSent.get(lastSentMapKey) ?? 0, eventWrapper.id));\n }\n /**\n * Returns events which are buffered and not yet sent to the given channel events.\n */\n #getBufferedEvents(eventName, contextId, channel) {\n const bufferMapKey = this.#getMapKey(eventName, contextId);\n const lastSentMapKey = this.#getMapKey(eventName, contextId, channel);\n const lastSentMessageId = this.#lastMessageSent.get(lastSentMapKey) ?? -Infinity;\n const result = this.#eventBuffers\n .get(bufferMapKey)\n ?.get()\n .filter((wrapper) => wrapper.id > lastSentMessageId) ?? [];\n if (contextId === null) {\n // For global subscriptions, events buffered in each context should be sent back.\n Array.from(this.#eventToContextsMap.get(eventName)?.keys() ?? [])\n // Events without context are already in the result.\n .filter((_contextId) => _contextId !== null)\n .map((_contextId) => this.#getBufferedEvents(eventName, _contextId, channel))\n .forEach((events) => result.push(...events));\n }\n return result.sort((e1, e2) => e1.id - e2.id);\n }\n}\nexports.EventManager = EventManager;\n//# sourceMappingURL=EventManager.js.map","\"use strict\";\n/**\n * Copyright 2022 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessingQueue = void 0;\nconst log_js_1 = require(\"./log.js\");\nclass ProcessingQueue {\n #catch;\n #logger;\n #processor;\n #queue = [];\n // Flag to keep only 1 active processor.\n #isProcessing = false;\n constructor(processor, _catch = () => Promise.resolve(), logger) {\n this.#catch = _catch;\n this.#processor = processor;\n this.#logger = logger;\n }\n add(entry) {\n this.#queue.push(entry);\n // No need in waiting. Just initialise processor if needed.\n // noinspection JSIgnoredPromiseFromCall\n this.#processIfNeeded();\n }\n async #processIfNeeded() {\n if (this.#isProcessing) {\n return;\n }\n this.#isProcessing = true;\n while (this.#queue.length > 0) {\n const entryPromise = this.#queue.shift();\n if (entryPromise !== undefined) {\n await entryPromise\n .then((entry) => this.#processor(entry))\n .catch((e) => {\n this.#logger?.(log_js_1.LogType.system, 'Event was not processed:', e);\n this.#catch(e);\n })\n .finally();\n }\n }\n this.#isProcessing = false;\n }\n}\nexports.ProcessingQueue = ProcessingQueue;\n//# sourceMappingURL=processingQueue.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RealmStorage = void 0;\nconst protocol_js_1 = require(\"../../../protocol/protocol.js\");\nclass RealmStorage {\n /** Tracks handles and their realms sent to the client. */\n #knownHandlesToRealm = new Map();\n #realmMap = new Map();\n get knownHandlesToRealm() {\n return this.#knownHandlesToRealm;\n }\n get realmMap() {\n return this.#realmMap;\n }\n findRealms(filter) {\n return Array.from(this.#realmMap.values()).filter((realm) => {\n if (filter.realmId !== undefined && filter.realmId !== realm.realmId) {\n return false;\n }\n if (filter.browsingContextId !== undefined &&\n filter.browsingContextId !== realm.browsingContextId) {\n return false;\n }\n if (filter.navigableId !== undefined &&\n filter.navigableId !== realm.navigableId) {\n return false;\n }\n if (filter.executionContextId !== undefined &&\n filter.executionContextId !== realm.executionContextId) {\n return false;\n }\n if (filter.origin !== undefined && filter.origin !== realm.origin) {\n return false;\n }\n if (filter.type !== undefined && filter.type !== realm.type) {\n return false;\n }\n if (filter.sandbox !== undefined && filter.sandbox !== realm.sandbox) {\n return false;\n }\n if (filter.cdpSessionId !== undefined &&\n filter.cdpSessionId !== realm.cdpSessionId) {\n return false;\n }\n return true;\n });\n }\n findRealm(filter) {\n const maybeRealms = this.findRealms(filter);\n if (maybeRealms.length !== 1) {\n return undefined;\n }\n return maybeRealms[0];\n }\n getRealm(filter) {\n const maybeRealm = this.findRealm(filter);\n if (maybeRealm === undefined) {\n throw new protocol_js_1.Message.NoSuchFrameException(`Realm ${JSON.stringify(filter)} not found`);\n }\n return maybeRealm;\n }\n deleteRealms(filter) {\n this.findRealms(filter).map((realm) => {\n this.#realmMap.delete(realm.realmId);\n Array.from(this.#knownHandlesToRealm.entries())\n .filter(([, r]) => r === realm.realmId)\n .map(([h]) => this.#knownHandlesToRealm.delete(h));\n });\n }\n}\nexports.RealmStorage = RealmStorage;\n//# sourceMappingURL=realmStorage.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BidiServer = void 0;\nconst CommandProcessor_js_1 = require(\"./CommandProcessor.js\");\nconst browsingContextStorage_js_1 = require(\"./domains/context/browsingContextStorage.js\");\nconst EventEmitter_js_1 = require(\"../utils/EventEmitter.js\");\nconst EventManager_js_1 = require(\"./domains/events/EventManager.js\");\nconst processingQueue_js_1 = require(\"../utils/processingQueue.js\");\nconst realmStorage_js_1 = require(\"./domains/script/realmStorage.js\");\nclass BidiServer extends EventEmitter_js_1.EventEmitter {\n #messageQueue;\n #transport;\n #commandProcessor;\n #browsingContextStorage;\n #realmStorage;\n #logger;\n constructor(bidiTransport, cdpConnection, selfTargetId, parser, logger) {\n super();\n this.#logger = logger;\n this.#browsingContextStorage = new browsingContextStorage_js_1.BrowsingContextStorage();\n this.#realmStorage = new realmStorage_js_1.RealmStorage();\n this.#messageQueue = new processingQueue_js_1.ProcessingQueue(this.#processOutgoingMessage, undefined, this.#logger);\n this.#transport = bidiTransport;\n this.#transport.setOnMessage(this.#handleIncomingMessage);\n this.#commandProcessor = new CommandProcessor_js_1.CommandProcessor(this.#realmStorage, cdpConnection, new EventManager_js_1.EventManager(this), selfTargetId, parser, this.#browsingContextStorage, this.#logger);\n this.#commandProcessor.on('response', (response) => {\n this.emitOutgoingMessage(response);\n });\n }\n static async createAndStart(bidiTransport, cdpConnection, selfTargetId, parser, logger) {\n const server = new BidiServer(bidiTransport, cdpConnection, selfTargetId, parser, logger);\n const cdpClient = cdpConnection.browserClient();\n // Needed to get events about new targets.\n await cdpClient.sendCommand('Target.setDiscoverTargets', { discover: true });\n // Needed to automatically attach to new targets.\n await cdpClient.sendCommand('Target.setAutoAttach', {\n autoAttach: true,\n waitForDebuggerOnStart: true,\n flatten: true,\n });\n await server.topLevelContextsLoaded();\n return server;\n }\n async topLevelContextsLoaded() {\n await Promise.all(this.#browsingContextStorage\n .getTopLevelContexts()\n .map((c) => c.awaitLoaded()));\n }\n #processOutgoingMessage = async (messageEntry) => {\n const message = messageEntry.message;\n if (messageEntry.channel !== null) {\n message['channel'] = messageEntry.channel;\n }\n await this.#transport.sendMessage(message);\n };\n /**\n * Sends BiDi message.\n */\n emitOutgoingMessage(messageEntry) {\n this.#messageQueue.add(messageEntry);\n }\n close() {\n this.#transport.close();\n }\n #handleIncomingMessage = async (message) => {\n this.#commandProcessor.processCommand(message);\n };\n getBrowsingContextStorage() {\n return this.#browsingContextStorage;\n }\n}\nexports.BidiServer = BidiServer;\n//# sourceMappingURL=BidiServer.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createClient = exports.CdpClient = void 0;\nconst EventEmitter_js_1 = require(\"../utils/EventEmitter.js\");\nclass CdpClient extends EventEmitter_js_1.EventEmitter {\n cdpConnection;\n sessionId;\n constructor(cdpConnection, sessionId) {\n super();\n this.cdpConnection = cdpConnection;\n this.sessionId = sessionId;\n }\n /**\n * Returns command promise, which will be resolved with the command result after receiving CDP result.\n * @param method Name of the CDP command to call.\n * @param params Parameters to pass to the CDP command.\n */\n sendCommand(method, ...params) {\n const param = params[0];\n return this.cdpConnection.sendCommand(method, param, this.sessionId);\n }\n}\nexports.CdpClient = CdpClient;\n/**\n * Creates a new CDP client object that communicates with the browser using a given\n * transport mechanism.\n * @param transport A transport object that will be used to send and receive raw CDP messages.\n * @returns A connected CDP client object.\n */\nfunction createClient(cdpConnection, sessionId) {\n return new CdpClient(cdpConnection, sessionId);\n}\nexports.createClient = createClient;\n//# sourceMappingURL=cdpClient.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CdpConnection = void 0;\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst cdpClient_js_1 = require(\"./cdpClient.js\");\n/**\n * Represents a high-level CDP connection to the browser backend.\n * Manages a CdpClient instance for each active CDP session.\n */\nclass CdpConnection {\n #transport;\n #browserCdpClient;\n #sessionCdpClients = new Map();\n #commandCallbacks = new Map();\n #log;\n #nextId = 0;\n constructor(transport, log = () => { }) {\n this.#transport = transport;\n this.#log = log;\n this.#transport.setOnMessage(this.onMessage);\n this.#browserCdpClient = (0, cdpClient_js_1.createClient)(this, null);\n }\n /**\n * Close the connection to the browser.\n */\n close() {\n this.#transport.close();\n for (const [, { reject }] of this.#commandCallbacks) {\n reject(new Error('Disconnected'));\n }\n this.#commandCallbacks.clear();\n this.#sessionCdpClients.clear();\n }\n /**\n * @returns The CdpClient object attached to the root browser session.\n */\n browserClient() {\n return this.#browserCdpClient;\n }\n /**\n * Get a CdpClient instance by sessionId.\n * @param sessionId The sessionId of the CdpClient to retrieve.\n * @returns The CdpClient object attached to the given session, or null if the session is not attached.\n */\n getCdpClient(sessionId) {\n const cdpClient = this.#sessionCdpClients.get(sessionId);\n if (!cdpClient) {\n throw new Error('Unknown CDP session ID');\n }\n return cdpClient;\n }\n sendCommand(method, params, sessionId) {\n return new Promise((resolve, reject) => {\n const id = this.#nextId++;\n this.#commandCallbacks.set(id, { resolve, reject });\n const messageObj = { id, method, params };\n if (sessionId) {\n messageObj.sessionId = sessionId;\n }\n const messageStr = JSON.stringify(messageObj);\n const messagePretty = JSON.stringify(messageObj, null, 2);\n this.#transport.sendMessage(messageStr);\n this.#log('sent ▸', messagePretty);\n });\n }\n onMessage = async (message) => {\n const parsed = JSON.parse(message);\n const messagePretty = JSON.stringify(parsed, null, 2);\n this.#log('received ◂', messagePretty);\n // Update client map if a session is attached or detached.\n // Listen for these events on every session.\n if (parsed.method === 'Target.attachedToTarget') {\n const { sessionId } = parsed.params;\n this.#sessionCdpClients.set(sessionId, (0, cdpClient_js_1.createClient)(this, sessionId));\n }\n else if (parsed.method === 'Target.detachedFromTarget') {\n const { sessionId } = parsed.params;\n const client = this.#sessionCdpClients.get(sessionId);\n if (client) {\n this.#sessionCdpClients.delete(sessionId);\n }\n }\n if (parsed.id !== undefined) {\n // Handle command response.\n const callbacks = this.#commandCallbacks.get(parsed.id);\n if (callbacks) {\n if (parsed.result) {\n callbacks.resolve(parsed.result);\n }\n else if (parsed.error) {\n callbacks.reject(parsed.error);\n }\n }\n }\n else if (parsed.method) {\n const client = parsed.sessionId\n ? this.#sessionCdpClients.get(parsed.sessionId)\n : this.#browserCdpClient;\n if (client) {\n client.emit(parsed.method, parsed.params || {});\n }\n }\n };\n}\nexports.CdpConnection = CdpConnection;\n//# sourceMappingURL=cdpConnection.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebSocketTransport = void 0;\nclass WebSocketTransport {\n ws;\n onMessage = null;\n constructor(ws) {\n this.ws = ws;\n this.ws.on('message', (message) => {\n if (this.onMessage) {\n this.onMessage.call(null, message);\n }\n });\n }\n setOnMessage(onMessage) {\n this.onMessage = onMessage;\n }\n async sendMessage(message) {\n this.ws.send(message);\n }\n close() {\n this.onMessage = null;\n this.ws.close();\n }\n}\nexports.WebSocketTransport = WebSocketTransport;\n//# sourceMappingURL=websocketTransport.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebSocketTransport = exports.CdpConnection = exports.CdpClient = void 0;\nvar cdpClient_js_1 = require(\"./cdpClient.js\");\nObject.defineProperty(exports, \"CdpClient\", { enumerable: true, get: function () { return cdpClient_js_1.CdpClient; } });\nvar cdpConnection_js_1 = require(\"./cdpConnection.js\");\nObject.defineProperty(exports, \"CdpConnection\", { enumerable: true, get: function () { return cdpConnection_js_1.CdpConnection; } });\nvar websocketTransport_js_1 = require(\"./websocketTransport.js\");\nObject.defineProperty(exports, \"WebSocketTransport\", { enumerable: true, get: function () { return websocketTransport_js_1.WebSocketTransport; } });\n//# sourceMappingURL=index.js.map","\"use strict\";\n/**\n * Copyright 2021 Google LLC.\n * Copyright (c) Microsoft Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @license\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst Parser = __importStar(require(\"../protocol-parser/protocol-parser.js\"));\nconst mapperTabPage_js_1 = require(\"./mapperTabPage.js\");\nconst BidiServer_js_1 = require(\"../bidiMapper/BidiServer.js\");\nconst index_js_1 = require(\"../cdp/index.js\");\nconst log_js_1 = require(\"../utils/log.js\");\nconst OutgoingBidiMessage_js_1 = require(\"../bidiMapper/OutgoingBidiMessage.js\");\n// Initiate `setSelfTargetId` as soon as possible to prevent race condition.\nconst waitSelfTargetIdPromise = waitSelfTargetId();\n(async () => {\n (0, mapperTabPage_js_1.generatePage)();\n // Needed to filter out info related to BiDi target.\n const selfTargetId = await waitSelfTargetIdPromise;\n const bidiServer = await createBidiServer(selfTargetId);\n (0, mapperTabPage_js_1.log)(log_js_1.LogType.system, 'Launched');\n bidiServer.emitOutgoingMessage(OutgoingBidiMessage_js_1.OutgoingBidiMessage.createResolved({ launched: true }, null));\n})();\nfunction createCdpConnection() {\n // A CdpTransport implementation that uses the window.cdp bindings\n // injected by Target.exposeDevToolsProtocol.\n class WindowCdpTransport {\n onMessage = null;\n constructor() {\n window.cdp.onmessage = (message) => {\n if (this.onMessage) {\n this.onMessage.call(null, message);\n }\n };\n }\n setOnMessage(onMessage) {\n this.onMessage = onMessage;\n }\n async sendMessage(message) {\n window.cdp.send(message);\n }\n close() {\n this.onMessage = null;\n window.cdp.onmessage = null;\n }\n }\n return new index_js_1.CdpConnection(new WindowCdpTransport(), (...messages) => {\n (0, mapperTabPage_js_1.log)(log_js_1.LogType.cdp, ...messages);\n });\n}\nasync function createBidiServer(selfTargetId) {\n class WindowBidiTransport {\n onMessage = null;\n constructor() {\n window.onBidiMessage = (messageStr) => {\n (0, mapperTabPage_js_1.log)(log_js_1.LogType.bidi, 'received ◂', messageStr);\n let messageObj;\n try {\n messageObj = WindowBidiTransport.#parseBidiMessage(messageStr);\n }\n catch (e) {\n // Transport-level error does not provide channel.\n this.#respondWithError(messageStr, 'invalid argument', e.message, null);\n return;\n }\n if (this.onMessage) {\n this.onMessage.call(null, messageObj);\n }\n };\n }\n setOnMessage(onMessage) {\n this.onMessage = onMessage;\n }\n async sendMessage(message) {\n const messageStr = JSON.stringify(message);\n window.sendBidiResponse(messageStr);\n (0, mapperTabPage_js_1.log)(log_js_1.LogType.bidi, 'sent ▸', messageStr);\n }\n close() {\n this.onMessage = null;\n window.onBidiMessage = null;\n }\n #respondWithError(plainCommandData, errorCode, errorMessage, channel) {\n const errorResponse = WindowBidiTransport.#getErrorResponse(plainCommandData, errorCode, errorMessage);\n if (channel) {\n // TODO: get rid of any, same code existed in BidiServer.\n this.sendMessage({\n ...errorResponse,\n channel,\n });\n }\n else {\n this.sendMessage(errorResponse);\n }\n }\n static #getJsonType(value) {\n if (value === null) {\n return 'null';\n }\n if (Array.isArray(value)) {\n return 'array';\n }\n return typeof value;\n }\n static #getErrorResponse(messageStr, errorCode, errorMessage) {\n // TODO: this is bizarre per spec. We reparse the payload and\n // extract the ID, regardless of what kind of value it was.\n let messageId;\n try {\n const messageObj = JSON.parse(messageStr);\n if (WindowBidiTransport.#getJsonType(messageObj) === 'object' &&\n 'id' in messageObj) {\n messageId = messageObj.id;\n }\n }\n catch { }\n return {\n id: messageId,\n error: errorCode,\n message: errorMessage,\n // TODO: optional stacktrace field.\n };\n }\n static #parseBidiMessage(messageStr) {\n let messageObj;\n try {\n messageObj = JSON.parse(messageStr);\n }\n catch {\n throw new Error('Cannot parse data as JSON');\n }\n const parsedType = WindowBidiTransport.#getJsonType(messageObj);\n if (parsedType !== 'object') {\n throw new Error(`Expected JSON object but got ${parsedType}`);\n }\n // Extract amd validate id, method and params.\n const { id, method, params } = messageObj;\n const idType = WindowBidiTransport.#getJsonType(id);\n if (idType !== 'number' || !Number.isInteger(id) || id < 0) {\n // TODO: should uint64_t be the upper limit?\n // https://tools.ietf.org/html/rfc7049#section-2.1\n throw new Error(`Expected unsigned integer but got ${idType}`);\n }\n const methodType = WindowBidiTransport.#getJsonType(method);\n if (methodType !== 'string') {\n throw new Error(`Expected string method but got ${methodType}`);\n }\n const paramsType = WindowBidiTransport.#getJsonType(params);\n if (paramsType !== 'object') {\n throw new Error(`Expected object params but got ${paramsType}`);\n }\n let channel = messageObj.channel;\n if (channel !== undefined) {\n const channelType = WindowBidiTransport.#getJsonType(channel);\n if (channelType !== 'string') {\n throw new Error(`Expected string channel but got ${channelType}`);\n }\n // Empty string channel is considered as no channel provided.\n if (channel === '') {\n channel = undefined;\n }\n }\n return { id, method, params, channel };\n }\n }\n return await BidiServer_js_1.BidiServer.createAndStart(new WindowBidiTransport(), createCdpConnection(), selfTargetId, new BidiParserImpl(), mapperTabPage_js_1.log);\n}\nclass BidiParserImpl {\n parseGetRealmsParams(params) {\n return Parser.Script.parseGetRealmsParams(params);\n }\n parseCallFunctionParams(params) {\n return Parser.Script.parseCallFunctionParams(params);\n }\n parseEvaluateParams(params) {\n return Parser.Script.parseEvaluateParams(params);\n }\n parseDisownParams(params) {\n return Parser.Script.parseDisownParams(params);\n }\n parseSendCommandParams(params) {\n return Parser.CDP.parseSendCommandParams(params);\n }\n parseGetSessionParams(params) {\n return Parser.CDP.parseGetSessionParams(params);\n }\n parseNavigateParams(params) {\n return Parser.BrowsingContext.parseNavigateParams(params);\n }\n parseGetTreeParams(params) {\n return Parser.BrowsingContext.parseGetTreeParams(params);\n }\n parseSubscribeParams(params) {\n return Parser.Session.parseSubscribeParams(params);\n }\n parseCreateParams(params) {\n return Parser.BrowsingContext.parseCreateParams(params);\n }\n parseCloseParams(params) {\n return Parser.BrowsingContext.parseCloseParams(params);\n }\n}\n// Needed to filter out info related to BiDi target.\nasync function waitSelfTargetId() {\n return await new Promise((resolve) => {\n window.setSelfTargetId = (targetId) => {\n (0, mapperTabPage_js_1.log)(log_js_1.LogType.system, 'Current target ID:', targetId);\n resolve(targetId);\n };\n });\n}\n//# sourceMappingURL=bidiTab.js.map"],"names":["BrowsingContext","EventNames","Log","CDP","Object","defineProperty","exports","value","Message","ErrorResponseClass","constructor","error","message","stacktrace","this","toErrorResponse","commandId","id","UnknownException","super","UnknownCommandException","InvalidArgumentException","NoSuchNodeException","NoSuchFrameException","AllEvents","util","getParsedType","ZodParsedType","assertNever","_x","Error","arrayToEnum","items","obj","item","getValidEnumValues","validKeys","objectKeys","filter","k","filtered","objectValues","map","e","keys","object","key","prototype","hasOwnProperty","call","push","find","arr","checker","isInteger","Number","val","isFinite","Math","floor","joinValues","array","separator","join","data","undefined","string","isNaN","nan","number","boolean","function","bigint","Array","isArray","null","then","catch","promise","Map","Set","set","Date","date","unknown","setErrorMap","defaultErrorMap","ZodError","ZodIssueCode","util_1","require$$0","quotelessJson","JSON","stringify","replace","issues","addIssue","sub","addIssues","subs","actualProto","setPrototypeOf","__proto__","name","errors","format","_mapper","mapper","issue","fieldErrors","_errors","processError","code","unionErrors","returnTypeError","argumentsError","path","length","curr","i","el","toString","isEmpty","flatten","formErrors","create","_ctx","invalid_type","received","expected","invalid_literal","unrecognized_keys","invalid_union","invalid_union_discriminator","options","invalid_enum_value","invalid_arguments","invalid_return_type","invalid_date","invalid_string","validation","too_small","type","inclusive","minimum","too_big","maximum","custom","invalid_intersection_types","not_multiple_of","multipleOf","defaultError","overrideErrorMap","isAsync","isValid","isDirty","isAborted","OK","DIRTY","INVALID","ParseStatus","addIssueToContext","EMPTY_PATH","makeIssue","ZodError_1","params","errorMaps","issueData","fullPath","fullIssue","errorMessage","maps","m","slice","reverse","ctx","common","contextualErrorMap","schemaErrorMap","x","dirty","abort","static","status","results","arrayValue","s","pairs","syncPairs","pair","mergeObjectSync","finalObject","alwaysSet","freeze","Promise","typeAliases","errorUtil","errToObj","intersection","instanceof","enum","effect","any","ZodFirstPartyTypeKind","ZodSchema","Schema","ZodNaN","ZodDefault","ZodNullable","ZodTransformer","ZodEffects","ZodPromise","ZodNativeEnum","ZodEnum","ZodLiteral","ZodFunction","ZodSet","ZodMap","ZodRecord","ZodTuple","ZodIntersection","ZodUnion","ZodObject","objectUtil","ZodArray","ZodVoid","ZodNever","ZodAny","ZodNull","ZodUndefined","ZodDate","ZodBoolean","ZodBigInt","ZodString","ZodType","void","union","tuple","transformer","strictObject","record","preprocess","ostring","optional","onumber","oboolean","nullable","never","nativeEnum","literal","lazy","errorUtil_1","parseUtil_1","require$$1","require$$2","require$$3","ParseInputLazyPath","parent","_path","_key","concat","handleResult","result","success","processCreateParams","errorMap","invalid_type_error","required_error","description","iss","def","spa","safeParseAsync","superRefine","_refinement","_def","parse","bind","safeParse","parseAsync","refine","refinement","nullish","or","and","transform","default","describe","isNullable","isOptional","_getType","input","_getOrReturnCtx","parsedType","_processInputParams","_parseSync","_parse","_parseAsync","resolve","_a","async","maybeAsyncResult","check","getIssueProperties","setError","refinementData","schema","typeName","ZodOptional","option","incoming","innerType","defaultValue","This","cuidRegex","uuidRegex","emailRegex","arguments","_regex","regex","test","nonempty","min","trim","checks","kind","URL","lastIndex","_addCheck","email","url","uuid","cuid","minLength","max","maxLength","len","isEmail","ch","isURL","isUUID","isCUID","Infinity","floatSafeRemainder","step","valDecCount","split","stepDecCount","decCount","parseInt","toFixed","pow","ZodNumber","gte","lte","setLimit","gt","lt","int","positive","negative","nonpositive","nonnegative","minValue","maxValue","isInt","getTime","_any","ZodUnknown","_unknown","all","mergeArray","element","mergeShapes","first","second","AugmentFactory","augmentation","shape","deepPartialify","newShape","fieldSchema","unwrap","_cached","nonstrict","passthrough","augment","extend","_getCached","shapeKeys","extraKeys","includes","keyValidator","catchall","unknownKeys","strict","_b","_c","_d","strip","setKey","merge","merging","index","pick","mask","omit","indexOf","deepPartial","partial","required","newField","strictCreate","lazycreate","childCtx","types","ZodDiscriminatedUnion","discriminator","discriminatorValue","get","validDiscriminatorValues","from","forEach","size","mergeValues","a","b","aType","bType","valid","bKeys","sharedKeys","newObj","sharedValue","newArray","handleParsed","parsedLeft","parsedRight","merged","left","right","rest","itemIndex","schemas","keySchema","keyType","valueSchema","valueType","mergeObjectAsync","third","entries","finalMap","minSize","maxSize","finalizeSet","elements","parsedSet","add","values","validate","implement","makeArgsIssue","args","makeReturnsIssue","returns","fn","parsedArgs","parsedReturns","parameters","returnType","func","strictImplement","ZodLazy","getter","expectedValues","enumValues","Values","Enum","nativeEnumValues","promisified","processed","checkCtx","arg","fatal","executeRefinement","acc","inner","base","createWithPreprocess","removeDefault","p","p2","late","cls","stringType","numberType","nanType","bigIntType","booleanType","dateType","undefinedType","nullType","anyType","unknownType","neverType","voidType","arrayType","objectType","strictObjectType","unionType","discriminatedUnionType","discriminatedUnion","intersectionType","tupleType","recordType","mapType","setType","functionType","lazyType","literalType","enumType","nativeEnumType","promiseType","effectsType","optionalType","nullableType","preprocessType","__createBinding","o","k2","enumerable","__exportStar","require$$4","__setModuleDefault","v","__importStar","mod","__esModule","z","Session","Script","parseObject","protocol_js_1","zod_1","parseResult","CommonDataTypes","SharedReferenceSchema","sharedId","RemoteReferenceSchema","handle","UndefinedValueSchema","NullValueSchema","StringValueSchema","SpecialNumberSchema","NumberValueSchema","BooleanValueSchema","BigIntValueSchema","PrimitiveProtocolValueSchema","LocalValueSchema","ArrayLocalValueSchema","DateLocalValueSchema","MapLocalValueSchema","ObjectLocalValueSchema","RegExpLocalValueSchema","SetLocalValueSchema","LocalOrRemoteValueSchema","ListLocalValueSchema","MappingLocalValueSchema","pattern","flags","BrowsingContextSchema","RealmTypeSchema","GetRealmsParametersSchema","context","parseGetRealmsParams","ContextTargetSchema","sandbox","RealmTargetSchema","realm","TargetSchema","OwnershipModelSchema","EvaluateParametersSchema","expression","awaitPromise","target","resultOwnership","parseEvaluateParams","DisownParametersSchema","handles","parseDisownParams","ArgumentValueSchema","ScriptCallFunctionParametersSchema","functionDeclaration","parseCallFunctionParams","GetTreeParametersSchema","maxDepth","root","parseGetTreeParams","ReadinessStateSchema","NavigateParametersSchema","wait","parseNavigateParams","CreateParametersSchema","referenceContext","parseCreateParams","CloseParametersSchema","parseCloseParams","SendCommandParamsSchema","cdpMethod","cdpParams","cdpSession","parseSendCommandParams","GetSessionParamsSchema","parseGetSessionParams","SubscribeParametersEventSchema","ContextCreatedEvent","ContextDestroyedEvent","DomContentLoadedEvent","LoadEvent","LogEntryAddedEvent","EventReceivedEvent","SubscribeParametersSchema","events","contexts","parseSubscribeParams","LogType","mapperTabPage","log","generatePage","log_js_1","findOrCreateTypeLogContainer","logType","containerId","existingContainer","document","getElementById","debugElement","divider","createElement","className","appendChild","htmlItem","innerHTML","globalThis","documentElement","window","system","bidi","browsingContexts","cdp","messages","typeLogContainer","lineElement","textContent","deferred","Deferred","reject","isFinished","onFulfilled","onRejected","reason","finally","onFinally","Symbol","toStringTag","logHelper","getRemoteValuesText","logMessageFormatter","specifiers","isFormmatSpecifier","str","some","spec","output","argFormat","argValues","tokens","RegExp","token","shift","stringFromArg","parseFloat","toJson","hasOwn","String","formatText","logManager","LogManager","logHelper_js_1","getBidiStackTrace","cdpStackTrace","stackFrames","callFrames","callFrame","columnNumber","functionName","lineNumber","cdpClient","cdpSessionId","eventManager","realmStorage","initialize","initializeLogEntryAddedEventListener","on","findRealm","executionContextId","argsPromise","serializeCdpObject","registerPromiseEvent","method","level","consoleApiType","source","realmId","browsingContextId","text","timestamp","round","stackTrace","exceptionDetails","textPromise","exception","stringifyObject","ScriptEvaluator","SHARED_ID_DIVIDER","deserializeToCdpArg","argumentValue","navigableId","rawBackendNodeId","backendNodeId","objectId","sendCommand","unserializableValue","Boolean","keyValueArray","flattenKeyValuePairs","returnByValue","flattenValueList","keyArg","valueArg","list","cdpObject","cdpRemoteObject","cdpRemoteObjectToCallArgument","cdpWebDriverValue","generateWebDriverValue","cdpToBidiValue","_this","_arguments","callFunctionAndSerializeScript","thisAndArgumentsList","cdpCallFunctionResult","serializeCdpExceptionDetails","cdpExceptionDetails","lineOffset","frame","cdpEvaluateResult","contextId","Realm","scriptEvaluator_js_1","scriptEvaluator","origin","realmMap","knownHandlesToRealm","delete","cdpValue","webDriverValue","bidiValue","webDriverValueToBiDi","children","toBiDi","browsingContextStorage","getKnownContext","awaitUnblocked","callFunction","scriptEvaluate","browsingContextImpl","BrowsingContextImpl","deferred_js_1","logManager_js_1","realm_js_1","targetDefers","documentInitialized","targetUnblocked","Page","navigatedWithinDocument","lifecycleEvent","DOMContentLoaded","load","parentId","cdpBrowserContextId","loaderId","maybeDefaultRealm","defaultRealm","initListeners","addContext","registerEvent","serializeToBidiValue","unblockAttachedTarget","convertFrameToTargetContext","updateConnection","removeChildContexts","deleteRealms","removeContext","child","enabled","autoAttach","waitForDebuggerOnStart","addChild","addParentFiled","c","targetInfo","targetId","urlFragment","frameId","documentChanged","navigation","auxData","uniqueId","getOrigin","isDefault","cdpNavigateResult","errorText","maybeSandboxes","findRealms","worldName","browsingContextProcessor","BrowsingContextProcessor","browsingContextImpl_js_1","cdpConnection","logger","selfTargetId","sessions","setBrowserClientEventListeners","browserClient","setTargetEventListeners","handleAttachedToTargetEvent","handleDetachedFromTargetEvent","setSessionEventListeners","sessionId","has","sessionCdpClient","getCdpClient","createFrameContext","parentFrameId","parentSessionCdpClient","targetSessionCdpClient","isValidTarget","hasKnownContext","createTargetContext","browserContextId","findContext","getTopLevelContexts","MAX_VALUE","browserCdpClient","newWindow","awaitLoaded","navigate","getRealm","getOrCreateSandbox","process_script_getRealms","realms","h","disown","commandParams","detachedFromTargetPromise","onContextDestroyed","eventParams","off","client","__importDefault","EventEmitter_1","EventEmitter","mitt_1","n","t","splice","emit","EventEmitter$1","emitter","handler","once","event","onceHandler","eventData","OutgoingBidiMessage_1","OutgoingBidiMessage","channel","messagePromise","OutgoingBidiMessage$1","CommandProcessor_1","CommandProcessor","browsingContextProcessor_js_1","EventEmitter_js_1","OutgoingBidiMessage_js_1","BidiNoOpParser","contextProcessor","parser","ready","subscribe","unsubscribe","commandData","process_session_status","process_session_subscribe","process_session_unsubscribe","process_browsingContext_create","process_browsingContext_close","process_browsingContext_getTree","process_browsingContext_navigate","process_script_callFunction","process_script_evaluate","process_script_disown","process_cdp_sendCommand","process_cdp_getSession","processCommand","command","response","createResolved","errorResponse","console","CommandProcessor$1","BrowsingContextStorage","buffer","Buffer","capacity","onItemRemoved","idWrapper","IdWrapper","counter","SubscriptionManager_1","SubscriptionManager","SubscriptionManager$1","subscriptionPriority","channelToContextToEventMap","getChannelsSubscribedToEvent","eventMethod","priority","getEventSubscriptionPriorityForChannel","sort","contextToEventMap","priorities","getRelevantContexts","specificEvent","eventMap","EventManager_1","EventManager","buffer_js_1","idWrapper_js_1","SubscriptionManager_js_1","EventWrapper","eventBufferLength","EventManager$1","eventToContextsMap","eventBuffers","lastMessageSent","subscriptionManager","bidiServer","getBrowsingContextStorage","getMapKey","eventName","browsingContext","eventWrapper","sortedChannels","bufferEvent","emitOutgoingMessage","createFromPromise","markEventSent","contextIds","getBufferedEvents","bufferMapKey","lastSentMapKey","lastSentMessageId","wrapper","_contextId","e1","e2","processingQueue","ProcessingQueue","processor","queue","isProcessing","_catch","entry","processIfNeeded","entryPromise","RealmStorage","maybeRealms","maybeRealm","r","BidiServer_1","BidiServer","CommandProcessor_js_1","browsingContextStorage_js_1","EventManager_js_1","processingQueue_js_1","realmStorage_js_1","require$$5","messageQueue","transport","commandProcessor","bidiTransport","processOutgoingMessage","setOnMessage","handleIncomingMessage","server","discover","topLevelContextsLoaded","messageEntry","sendMessage","close","BidiServer$1","createClient","CdpClient","param","CdpConnection","cdpClient_js_1","sessionCdpClients","commandCallbacks","nextId","onMessage","clear","messageObj","messageStr","messagePretty","parsed","callbacks","websocketTransport","WebSocketTransport","ws","send","cdpConnection_js_1","websocketTransport_js_1","desc","getOwnPropertyDescriptor","writable","configurable","bidiTab","Parser","mapperTabPage_js_1","BidiServer_js_1","index_js_1","waitSelfTargetIdPromise","setSelfTargetId","waitSelfTargetId","WindowBidiTransport","onBidiMessage","parseBidiMessage","respondWithError","sendBidiResponse","plainCommandData","errorCode","getErrorResponse","messageId","getJsonType","idType","methodType","paramsType","channelType","createAndStart","WindowCdpTransport","onmessage","createCdpConnection","BidiParserImpl","createBidiServer","launched"],"mappings":"4CAyEWA,EAEIC,EAUJC,EAQAC,sKA5EXC,OAAOC,eAAcC,EAAU,aAAc,CAAEC,OAAO,IACtDD,EAAAH,IAAcG,EAAcJ,IAAAI,EAAAN,gBAA0BM,EAAkBE,aAAA,EAExE,S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