antigravity-mobile-proxy 0.1.1 → 0.1.3

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 (600) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +2 -2
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/required-server-files.json +5 -2
  5. package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
  6. package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.html +2 -2
  8. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  12. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  13. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
  15. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  16. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  17. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js +2 -2
  18. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js.nft.json +1 -1
  19. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js +2 -2
  20. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js.nft.json +1 -1
  21. package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js +2 -2
  22. package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js.nft.json +1 -1
  23. package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js +2 -2
  24. package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js.nft.json +1 -1
  25. package/.next/standalone/.next/server/app/api/v1/artifacts/route.js +2 -2
  26. package/.next/standalone/.next/server/app/api/v1/artifacts/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/v1/chat/action/route.js +6 -2
  28. package/.next/standalone/.next/server/app/api/v1/chat/action/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js +6 -2
  30. package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/v1/chat/history/route.js +6 -2
  32. package/.next/standalone/.next/server/app/api/v1/chat/history/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js +6 -2
  34. package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/v1/chat/new/route.js +6 -2
  36. package/.next/standalone/.next/server/app/api/v1/chat/new/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js +6 -2
  38. package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/v1/chat/route.js +6 -2
  40. package/.next/standalone/.next/server/app/api/v1/chat/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/api/v1/chat/state/route.js +6 -2
  42. package/.next/standalone/.next/server/app/api/v1/chat/state/route.js.nft.json +1 -1
  43. package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js +6 -3
  44. package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js +2 -2
  46. package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js.nft.json +1 -1
  47. package/.next/standalone/.next/server/app/api/v1/conversations/route.js +6 -3
  48. package/.next/standalone/.next/server/app/api/v1/conversations/route.js.nft.json +1 -1
  49. package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js +6 -2
  50. package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js +6 -2
  52. package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js +6 -2
  54. package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/api/v1/health/route.js +6 -2
  56. package/.next/standalone/.next/server/app/api/v1/health/route.js.nft.json +1 -1
  57. package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js +2 -2
  58. package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js.nft.json +1 -1
  59. package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js +2 -2
  60. package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js.nft.json +1 -1
  61. package/.next/standalone/.next/server/app/api/v1/windows/close/route.js +6 -2
  62. package/.next/standalone/.next/server/app/api/v1/windows/close/route.js.nft.json +1 -1
  63. package/.next/standalone/.next/server/app/api/v1/windows/open/route.js +6 -2
  64. package/.next/standalone/.next/server/app/api/v1/windows/open/route.js.nft.json +1 -1
  65. package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js +2 -2
  66. package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js.nft.json +1 -1
  67. package/.next/standalone/.next/server/app/api/v1/windows/route.js +6 -2
  68. package/.next/standalone/.next/server/app/api/v1/windows/route.js.nft.json +1 -1
  69. package/.next/standalone/.next/server/app/api/v1/windows/select/route.js +6 -2
  70. package/.next/standalone/.next/server/app/api/v1/windows/select/route.js.nft.json +1 -1
  71. package/.next/standalone/.next/server/app/debug/page.js +1 -1
  72. package/.next/standalone/.next/server/app/debug/page.js.nft.json +1 -1
  73. package/.next/standalone/.next/server/app/debug/page_client-reference-manifest.js +1 -1
  74. package/.next/standalone/.next/server/app/favicon.ico/route.js +1 -1
  75. package/.next/standalone/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  76. package/.next/standalone/.next/server/app/page.js +1 -1
  77. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  78. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  79. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d31b133._.js +3 -0
  80. package/.next/standalone/.next/server/chunks/[root-of-the-server]__133ac672._.js +3 -0
  81. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1535be2d._.js +3 -0
  82. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1ee7d416._.js +3 -0
  83. package/.next/standalone/.next/server/chunks/[root-of-the-server]__22df301c._.js +3 -0
  84. package/.next/standalone/.next/server/chunks/[root-of-the-server]__25f5f8ec._.js +3 -0
  85. package/.next/standalone/.next/server/chunks/[root-of-the-server]__26662154._.js +3 -0
  86. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__2ec5ba30._.js → [root-of-the-server]__3fe6d12c._.js} +2 -2
  87. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4b17d628._.js +3 -0
  88. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4c540a38._.js +3 -0
  89. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8d2624da._.js → [root-of-the-server]__4d161104._.js} +2 -2
  90. package/.next/standalone/.next/server/chunks/[root-of-the-server]__53c4f34d._.js +3 -0
  91. package/.next/standalone/.next/server/chunks/[root-of-the-server]__68965284._.js +3 -0
  92. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8cb67283._.js +5 -0
  93. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f5ebbc3._.js +7 -0
  94. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f8bd59f._.js +20 -0
  95. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9166d84a._.js +3 -0
  96. package/.next/standalone/.next/server/chunks/[root-of-the-server]__94275f7f._.js +3 -0
  97. package/.next/standalone/.next/server/chunks/[root-of-the-server]__c34d50c8._.js +3 -0
  98. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8fdd2340._.js → [root-of-the-server]__c696771d._.js} +2 -2
  99. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0bd52b41._.js → [root-of-the-server]__cd7ccfdd._.js} +2 -2
  100. package/.next/standalone/.next/server/chunks/[root-of-the-server]__d5818e20._.js +3 -0
  101. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__360475ac._.js → [root-of-the-server]__db7b3604._.js} +2 -2
  102. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__eeb89c13._.js → [root-of-the-server]__dc1db6cb._.js} +2 -2
  103. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4effd91a._.js → [root-of-the-server]__e9181374._.js} +2 -2
  104. package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb9ef4db._.js +3 -0
  105. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4448d3d4._.js → [root-of-the-server]__ec32b318._.js} +2 -2
  106. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__7f18ffd0._.js → [root-of-the-server]__f54bea3d._.js} +2 -2
  107. package/.next/standalone/.next/server/chunks/[root-of-the-server]__fabd57e0._.js +3 -0
  108. package/.next/standalone/.next/server/chunks/[root-of-the-server]__fd0215df._.js +3 -0
  109. package/.next/standalone/.next/server/chunks/lib_cdp_connection_ts_075c799e._.js +41 -0
  110. package/.next/standalone/.next/server/chunks/node_modules_151ca6ae._.js +3 -0
  111. package/.next/standalone/.next/server/chunks/node_modules_1f8a2929._.js +3 -0
  112. package/.next/standalone/.next/server/chunks/node_modules_2d9a2f12._.js +4 -0
  113. package/.next/standalone/.next/server/chunks/node_modules_3b486fee._.js +3 -0
  114. package/.next/standalone/.next/server/chunks/node_modules_64199bef._.js +3 -0
  115. package/.next/standalone/.next/server/chunks/node_modules_@puppeteer_browsers_lib_esm_main_83020de3.js +3 -0
  116. package/.next/standalone/.next/server/chunks/node_modules_f81d3958._.js +3 -0
  117. package/.next/standalone/.next/server/chunks/node_modules_next_1402a1da._.js +2 -2
  118. package/.next/standalone/.next/server/chunks/node_modules_yargs_helpers_helpers_mjs_abe15519._.js +3 -0
  119. package/.next/standalone/.next/server/chunks/node_modules_yargs_index_mjs_c4f6f97b._.js +56 -0
  120. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__703e5e24._.js +3 -0
  121. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__edab6069._.js +3 -0
  122. package/.next/standalone/.next/server/chunks/ssr/node_modules_63dba3f8._.js +1 -1
  123. package/.next/standalone/.next/server/pages/500.html +2 -2
  124. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  125. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  126. package/.next/standalone/app/globals.css +20 -14
  127. package/.next/standalone/next.config.js +19 -0
  128. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
  129. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +221 -0
  130. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
  131. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  132. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
  133. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
  134. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  135. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
  136. package/.next/standalone/node_modules/next/dist/build/generate-build-id.js +5 -1
  137. package/.next/standalone/package-lock.json +140 -129
  138. package/.next/standalone/package.json +4 -3
  139. package/.next/standalone/scripts/patch-next.js +69 -0
  140. package/.next/standalone/server.js +1 -1
  141. package/.next/standalone/tsconfig.json +14 -4
  142. package/.next/static/chunks/54866979a976deea.css +1 -0
  143. package/package.json +4 -3
  144. package/.next/standalone/.next/server/chunks/[root-of-the-server]__08f06ee9._.js +0 -3
  145. package/.next/standalone/.next/server/chunks/[root-of-the-server]__15c96786._.js +0 -3
  146. package/.next/standalone/.next/server/chunks/[root-of-the-server]__19ee93c1._.js +0 -3
  147. package/.next/standalone/.next/server/chunks/[root-of-the-server]__324dc867._.js +0 -3
  148. package/.next/standalone/.next/server/chunks/[root-of-the-server]__38025e07._.js +0 -3
  149. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4a837477._.js +0 -3
  150. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4f9fdc77._.js +0 -3
  151. package/.next/standalone/.next/server/chunks/[root-of-the-server]__556e6cd5._.js +0 -3
  152. package/.next/standalone/.next/server/chunks/[root-of-the-server]__6479a312._.js +0 -3
  153. package/.next/standalone/.next/server/chunks/[root-of-the-server]__693625a1._.js +0 -3
  154. package/.next/standalone/.next/server/chunks/[root-of-the-server]__6ec98c1f._.js +0 -3
  155. package/.next/standalone/.next/server/chunks/[root-of-the-server]__7f696ede._.js +0 -3
  156. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8aa4aa02._.js +0 -3
  157. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9d217c47._.js +0 -7
  158. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9e54cdc1._.js +0 -3
  159. package/.next/standalone/.next/server/chunks/[root-of-the-server]__a73e4e4f._.js +0 -3
  160. package/.next/standalone/.next/server/chunks/[root-of-the-server]__cd1b9505._.js +0 -3
  161. package/.next/standalone/.next/server/chunks/[root-of-the-server]__d850c12e._.js +0 -3
  162. package/.next/standalone/.next/server/chunks/[root-of-the-server]__ef121746._.js +0 -3
  163. package/.next/standalone/.next/server/chunks/_7273dcfc._.js +0 -3
  164. package/.next/standalone/.next/server/chunks/_8dd0f398._.js +0 -5
  165. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4fe85c38._.js +0 -3
  166. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__85930638._.js +0 -3
  167. package/.next/standalone/next.config.ts +0 -10
  168. package/.next/standalone/node_modules/@puppeteer/browsers/package.json +0 -125
  169. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
  170. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
  171. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
  172. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
  173. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
  174. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
  175. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
  176. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
  177. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
  178. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
  179. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
  180. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
  181. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
  182. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
  183. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
  184. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
  185. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
  186. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
  187. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
  188. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
  189. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
  190. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
  191. package/.next/standalone/node_modules/agent-base/dist/helpers.js +0 -66
  192. package/.next/standalone/node_modules/agent-base/dist/index.js +0 -178
  193. package/.next/standalone/node_modules/agent-base/package.json +0 -46
  194. package/.next/standalone/node_modules/ast-types/def/babel-core.js +0 -256
  195. package/.next/standalone/node_modules/ast-types/def/babel.js +0 -11
  196. package/.next/standalone/node_modules/ast-types/def/core.js +0 -298
  197. package/.next/standalone/node_modules/ast-types/def/es-proposals.js +0 -33
  198. package/.next/standalone/node_modules/ast-types/def/es2020.js +0 -16
  199. package/.next/standalone/node_modules/ast-types/def/es6.js +0 -210
  200. package/.next/standalone/node_modules/ast-types/def/es7.js +0 -34
  201. package/.next/standalone/node_modules/ast-types/def/esprima.js +0 -49
  202. package/.next/standalone/node_modules/ast-types/def/flow.js +0 -292
  203. package/.next/standalone/node_modules/ast-types/def/jsx.js +0 -103
  204. package/.next/standalone/node_modules/ast-types/def/type-annotations.js +0 -40
  205. package/.next/standalone/node_modules/ast-types/def/typescript.js +0 -344
  206. package/.next/standalone/node_modules/ast-types/fork.js +0 -52
  207. package/.next/standalone/node_modules/ast-types/gen/namedTypes.js +0 -6
  208. package/.next/standalone/node_modules/ast-types/lib/equiv.js +0 -154
  209. package/.next/standalone/node_modules/ast-types/lib/node-path.js +0 -411
  210. package/.next/standalone/node_modules/ast-types/lib/path-visitor.js +0 -343
  211. package/.next/standalone/node_modules/ast-types/lib/path.js +0 -331
  212. package/.next/standalone/node_modules/ast-types/lib/scope.js +0 -318
  213. package/.next/standalone/node_modules/ast-types/lib/shared.js +0 -47
  214. package/.next/standalone/node_modules/ast-types/lib/types.js +0 -780
  215. package/.next/standalone/node_modules/ast-types/main.js +0 -53
  216. package/.next/standalone/node_modules/ast-types/package.json +0 -65
  217. package/.next/standalone/node_modules/b4a/index.js +0 -188
  218. package/.next/standalone/node_modules/b4a/package.json +0 -49
  219. package/.next/standalone/node_modules/basic-ftp/dist/Client.js +0 -782
  220. package/.next/standalone/node_modules/basic-ftp/dist/FileInfo.js +0 -92
  221. package/.next/standalone/node_modules/basic-ftp/dist/FtpContext.js +0 -365
  222. package/.next/standalone/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
  223. package/.next/standalone/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
  224. package/.next/standalone/node_modules/basic-ftp/dist/StringWriter.js +0 -23
  225. package/.next/standalone/node_modules/basic-ftp/dist/index.js +0 -28
  226. package/.next/standalone/node_modules/basic-ftp/dist/netUtils.js +0 -66
  227. package/.next/standalone/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
  228. package/.next/standalone/node_modules/basic-ftp/dist/parseList.js +0 -79
  229. package/.next/standalone/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
  230. package/.next/standalone/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
  231. package/.next/standalone/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
  232. package/.next/standalone/node_modules/basic-ftp/dist/transfer.js +0 -318
  233. package/.next/standalone/node_modules/basic-ftp/package.json +0 -52
  234. package/.next/standalone/node_modules/buffer-crc32/index.js +0 -111
  235. package/.next/standalone/node_modules/buffer-crc32/package.json +0 -39
  236. package/.next/standalone/node_modules/cliui/build/lib/index.js +0 -287
  237. package/.next/standalone/node_modules/cliui/build/lib/string-utils.js +0 -27
  238. package/.next/standalone/node_modules/cliui/index.mjs +0 -13
  239. package/.next/standalone/node_modules/cliui/package.json +0 -83
  240. package/.next/standalone/node_modules/data-uri-to-buffer/dist/common.js +0 -54
  241. package/.next/standalone/node_modules/data-uri-to-buffer/dist/node.js +0 -26
  242. package/.next/standalone/node_modules/data-uri-to-buffer/package.json +0 -48
  243. package/.next/standalone/node_modules/debug/package.json +0 -64
  244. package/.next/standalone/node_modules/debug/src/browser.js +0 -272
  245. package/.next/standalone/node_modules/debug/src/common.js +0 -292
  246. package/.next/standalone/node_modules/debug/src/index.js +0 -10
  247. package/.next/standalone/node_modules/debug/src/node.js +0 -263
  248. package/.next/standalone/node_modules/degenerator/dist/compile.js +0 -107
  249. package/.next/standalone/node_modules/degenerator/dist/degenerator.js +0 -156
  250. package/.next/standalone/node_modules/degenerator/dist/index.js +0 -19
  251. package/.next/standalone/node_modules/degenerator/package.json +0 -42
  252. package/.next/standalone/node_modules/end-of-stream/index.js +0 -96
  253. package/.next/standalone/node_modules/end-of-stream/package.json +0 -37
  254. package/.next/standalone/node_modules/escalade/package.json +0 -74
  255. package/.next/standalone/node_modules/escodegen/escodegen.js +0 -2667
  256. package/.next/standalone/node_modules/escodegen/package.json +0 -63
  257. package/.next/standalone/node_modules/esprima/dist/esprima.js +0 -6709
  258. package/.next/standalone/node_modules/esprima/package.json +0 -112
  259. package/.next/standalone/node_modules/estraverse/estraverse.js +0 -805
  260. package/.next/standalone/node_modules/estraverse/package.json +0 -40
  261. package/.next/standalone/node_modules/esutils/lib/ast.js +0 -144
  262. package/.next/standalone/node_modules/esutils/lib/code.js +0 -135
  263. package/.next/standalone/node_modules/esutils/lib/keyword.js +0 -165
  264. package/.next/standalone/node_modules/esutils/lib/utils.js +0 -33
  265. package/.next/standalone/node_modules/esutils/package.json +0 -44
  266. package/.next/standalone/node_modules/events-universal/default.js +0 -1
  267. package/.next/standalone/node_modules/events-universal/package.json +0 -39
  268. package/.next/standalone/node_modules/extract-zip/LICENSE +0 -23
  269. package/.next/standalone/node_modules/extract-zip/cli.js +0 -19
  270. package/.next/standalone/node_modules/extract-zip/index.js +0 -173
  271. package/.next/standalone/node_modules/extract-zip/package.json +0 -80
  272. package/.next/standalone/node_modules/extract-zip/readme.md +0 -57
  273. package/.next/standalone/node_modules/fast-fifo/fixed-size.js +0 -39
  274. package/.next/standalone/node_modules/fast-fifo/index.js +0 -48
  275. package/.next/standalone/node_modules/fast-fifo/package.json +0 -28
  276. package/.next/standalone/node_modules/fd-slicer/index.js +0 -296
  277. package/.next/standalone/node_modules/fd-slicer/package.json +0 -36
  278. package/.next/standalone/node_modules/get-stream/buffer-stream.js +0 -52
  279. package/.next/standalone/node_modules/get-stream/index.js +0 -60
  280. package/.next/standalone/node_modules/get-stream/package.json +0 -50
  281. package/.next/standalone/node_modules/get-uri/dist/data.js +0 -43
  282. package/.next/standalone/node_modules/get-uri/dist/file.js +0 -57
  283. package/.next/standalone/node_modules/get-uri/dist/ftp.js +0 -93
  284. package/.next/standalone/node_modules/get-uri/dist/http-error.js +0 -15
  285. package/.next/standalone/node_modules/get-uri/dist/http.js +0 -191
  286. package/.next/standalone/node_modules/get-uri/dist/https.js +0 -16
  287. package/.next/standalone/node_modules/get-uri/dist/index.js +0 -57
  288. package/.next/standalone/node_modules/get-uri/dist/notfound.js +0 -16
  289. package/.next/standalone/node_modules/get-uri/dist/notmodified.js +0 -17
  290. package/.next/standalone/node_modules/get-uri/package.json +0 -58
  291. package/.next/standalone/node_modules/has-flag/index.js +0 -8
  292. package/.next/standalone/node_modules/has-flag/package.json +0 -46
  293. package/.next/standalone/node_modules/http-proxy-agent/dist/index.js +0 -148
  294. package/.next/standalone/node_modules/http-proxy-agent/package.json +0 -47
  295. package/.next/standalone/node_modules/https-proxy-agent/dist/index.js +0 -180
  296. package/.next/standalone/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -101
  297. package/.next/standalone/node_modules/https-proxy-agent/package.json +0 -50
  298. package/.next/standalone/node_modules/ip-address/dist/address-error.js +0 -12
  299. package/.next/standalone/node_modules/ip-address/dist/common.js +0 -46
  300. package/.next/standalone/node_modules/ip-address/dist/ip-address.js +0 -35
  301. package/.next/standalone/node_modules/ip-address/dist/ipv4.js +0 -360
  302. package/.next/standalone/node_modules/ip-address/dist/ipv6.js +0 -1003
  303. package/.next/standalone/node_modules/ip-address/dist/v4/constants.js +0 -8
  304. package/.next/standalone/node_modules/ip-address/dist/v6/constants.js +0 -76
  305. package/.next/standalone/node_modules/ip-address/dist/v6/helpers.js +0 -45
  306. package/.next/standalone/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  307. package/.next/standalone/node_modules/ip-address/package.json +0 -78
  308. package/.next/standalone/node_modules/lru-cache/index.js +0 -1227
  309. package/.next/standalone/node_modules/lru-cache/package.json +0 -96
  310. package/.next/standalone/node_modules/ms/index.js +0 -162
  311. package/.next/standalone/node_modules/ms/package.json +0 -38
  312. package/.next/standalone/node_modules/netmask/lib/netmask.js +0 -208
  313. package/.next/standalone/node_modules/netmask/package.json +0 -36
  314. package/.next/standalone/node_modules/once/once.js +0 -42
  315. package/.next/standalone/node_modules/once/package.json +0 -33
  316. package/.next/standalone/node_modules/pac-proxy-agent/dist/index.js +0 -238
  317. package/.next/standalone/node_modules/pac-proxy-agent/package.json +0 -58
  318. package/.next/standalone/node_modules/pac-resolver/dist/dateRange.js +0 -73
  319. package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
  320. package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
  321. package/.next/standalone/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
  322. package/.next/standalone/node_modules/pac-resolver/dist/index.js +0 -87
  323. package/.next/standalone/node_modules/pac-resolver/dist/ip.js +0 -50
  324. package/.next/standalone/node_modules/pac-resolver/dist/isInNet.js +0 -42
  325. package/.next/standalone/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
  326. package/.next/standalone/node_modules/pac-resolver/dist/isResolvable.js +0 -23
  327. package/.next/standalone/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
  328. package/.next/standalone/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
  329. package/.next/standalone/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
  330. package/.next/standalone/node_modules/pac-resolver/dist/timeRange.js +0 -92
  331. package/.next/standalone/node_modules/pac-resolver/dist/util.js +0 -22
  332. package/.next/standalone/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
  333. package/.next/standalone/node_modules/pac-resolver/package.json +0 -47
  334. package/.next/standalone/node_modules/pend/index.js +0 -55
  335. package/.next/standalone/node_modules/pend/package.json +0 -18
  336. package/.next/standalone/node_modules/progress/index.js +0 -1
  337. package/.next/standalone/node_modules/progress/lib/node-progress.js +0 -236
  338. package/.next/standalone/node_modules/progress/package.json +0 -26
  339. package/.next/standalone/node_modules/proxy-agent/dist/index.js +0 -138
  340. package/.next/standalone/node_modules/proxy-agent/package.json +0 -60
  341. package/.next/standalone/node_modules/proxy-from-env/index.js +0 -108
  342. package/.next/standalone/node_modules/proxy-from-env/package.json +0 -34
  343. package/.next/standalone/node_modules/pump/index.js +0 -86
  344. package/.next/standalone/node_modules/pump/package.json +0 -30
  345. package/.next/standalone/node_modules/puppeteer-core/lib/esm/package.json +0 -1
  346. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +0 -204
  347. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +0 -182
  348. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/CDPSession.js +0 -68
  349. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/DeviceRequestPrompt.js +0 -34
  350. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Dialog.js +0 -90
  351. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +0 -1406
  352. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js +0 -10
  353. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js +0 -904
  354. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js +0 -461
  355. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js +0 -56
  356. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js +0 -211
  357. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +0 -227
  358. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +0 -1511
  359. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +0 -44
  360. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Target.js +0 -49
  361. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js +0 -106
  362. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +0 -22
  363. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js +0 -769
  364. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js +0 -83
  365. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js +0 -591
  366. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Binding.js +0 -162
  367. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BluetoothEmulation.js +0 -26
  368. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +0 -327
  369. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js +0 -26
  370. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js +0 -192
  371. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js +0 -39
  372. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js +0 -129
  373. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js +0 -244
  374. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js +0 -372
  375. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +0 -151
  376. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js +0 -23
  377. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +0 -206
  378. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js +0 -458
  379. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +0 -457
  380. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExtensionTransport.js +0 -175
  381. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +0 -358
  382. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +0 -455
  383. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js +0 -24
  384. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js +0 -91
  385. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPRequest.js +0 -195
  386. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPResponse.js +0 -126
  387. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js +0 -499
  388. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js +0 -157
  389. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js +0 -20
  390. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js +0 -101
  391. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js +0 -174
  392. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js +0 -162
  393. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js +0 -601
  394. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +0 -1011
  395. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +0 -69
  396. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +0 -243
  397. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManageEvents.js +0 -7
  398. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js +0 -320
  399. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Tracing.js +0 -110
  400. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js +0 -73
  401. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js +0 -43
  402. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js +0 -216
  403. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +0 -54
  404. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +0 -129
  405. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +0 -39
  406. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js +0 -18
  407. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js +0 -133
  408. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +0 -78
  409. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js +0 -114
  410. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +0 -109
  411. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js +0 -1604
  412. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +0 -94
  413. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +0 -128
  414. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +0 -75
  415. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +0 -70
  416. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js +0 -142
  417. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js +0 -23
  418. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js +0 -21
  419. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +0 -58
  420. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js +0 -18
  421. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js +0 -100
  422. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js +0 -18
  423. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +0 -98
  424. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +0 -225
  425. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +0 -51
  426. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +0 -69
  427. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +0 -24
  428. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js +0 -15
  429. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +0 -39
  430. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +0 -394
  431. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js +0 -197
  432. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js +0 -21
  433. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js +0 -35
  434. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +0 -375
  435. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +0 -24
  436. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js +0 -9
  437. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index-browser.js +0 -11
  438. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index.js +0 -8
  439. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +0 -41
  440. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +0 -14
  441. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js +0 -29
  442. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js +0 -105
  443. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js +0 -41
  444. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js +0 -70
  445. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +0 -46
  446. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js +0 -18
  447. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js +0 -232
  448. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/disposable.js +0 -342
  449. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/encoding.js +0 -63
  450. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js +0 -18
  451. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js +0 -13
  452. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/version.js +0 -10
  453. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js +0 -44
  454. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js +0 -196
  455. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js +0 -2887
  456. package/.next/standalone/node_modules/puppeteer-core/package.json +0 -169
  457. package/.next/standalone/node_modules/semver/functions/clean.js +0 -8
  458. package/.next/standalone/node_modules/semver/functions/compare-build.js +0 -9
  459. package/.next/standalone/node_modules/semver/functions/compare-loose.js +0 -5
  460. package/.next/standalone/node_modules/semver/functions/diff.js +0 -60
  461. package/.next/standalone/node_modules/semver/functions/inc.js +0 -21
  462. package/.next/standalone/node_modules/semver/functions/major.js +0 -5
  463. package/.next/standalone/node_modules/semver/functions/minor.js +0 -5
  464. package/.next/standalone/node_modules/semver/functions/patch.js +0 -5
  465. package/.next/standalone/node_modules/semver/functions/prerelease.js +0 -8
  466. package/.next/standalone/node_modules/semver/functions/rcompare.js +0 -5
  467. package/.next/standalone/node_modules/semver/functions/rsort.js +0 -5
  468. package/.next/standalone/node_modules/semver/functions/sort.js +0 -5
  469. package/.next/standalone/node_modules/semver/functions/valid.js +0 -8
  470. package/.next/standalone/node_modules/semver/index.js +0 -91
  471. package/.next/standalone/node_modules/semver/ranges/gtr.js +0 -6
  472. package/.next/standalone/node_modules/semver/ranges/intersects.js +0 -9
  473. package/.next/standalone/node_modules/semver/ranges/ltr.js +0 -6
  474. package/.next/standalone/node_modules/semver/ranges/max-satisfying.js +0 -27
  475. package/.next/standalone/node_modules/semver/ranges/min-satisfying.js +0 -26
  476. package/.next/standalone/node_modules/semver/ranges/min-version.js +0 -63
  477. package/.next/standalone/node_modules/semver/ranges/outside.js +0 -82
  478. package/.next/standalone/node_modules/semver/ranges/simplify.js +0 -49
  479. package/.next/standalone/node_modules/semver/ranges/subset.js +0 -249
  480. package/.next/standalone/node_modules/semver/ranges/to-comparators.js +0 -10
  481. package/.next/standalone/node_modules/semver/ranges/valid.js +0 -13
  482. package/.next/standalone/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  483. package/.next/standalone/node_modules/smart-buffer/build/utils.js +0 -108
  484. package/.next/standalone/node_modules/smart-buffer/package.json +0 -79
  485. package/.next/standalone/node_modules/socks/build/client/socksclient.js +0 -793
  486. package/.next/standalone/node_modules/socks/build/common/constants.js +0 -108
  487. package/.next/standalone/node_modules/socks/build/common/helpers.js +0 -167
  488. package/.next/standalone/node_modules/socks/build/common/receivebuffer.js +0 -43
  489. package/.next/standalone/node_modules/socks/build/common/util.js +0 -25
  490. package/.next/standalone/node_modules/socks/build/index.js +0 -18
  491. package/.next/standalone/node_modules/socks/package.json +0 -58
  492. package/.next/standalone/node_modules/socks-proxy-agent/dist/index.js +0 -195
  493. package/.next/standalone/node_modules/socks-proxy-agent/package.json +0 -142
  494. package/.next/standalone/node_modules/source-map/lib/array-set.js +0 -121
  495. package/.next/standalone/node_modules/source-map/lib/base64-vlq.js +0 -140
  496. package/.next/standalone/node_modules/source-map/lib/base64.js +0 -67
  497. package/.next/standalone/node_modules/source-map/lib/binary-search.js +0 -111
  498. package/.next/standalone/node_modules/source-map/lib/mapping-list.js +0 -79
  499. package/.next/standalone/node_modules/source-map/lib/quick-sort.js +0 -114
  500. package/.next/standalone/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  501. package/.next/standalone/node_modules/source-map/lib/source-map-generator.js +0 -425
  502. package/.next/standalone/node_modules/source-map/lib/source-node.js +0 -413
  503. package/.next/standalone/node_modules/source-map/lib/util.js +0 -488
  504. package/.next/standalone/node_modules/source-map/package.json +0 -73
  505. package/.next/standalone/node_modules/source-map/source-map.js +0 -8
  506. package/.next/standalone/node_modules/streamx/index.js +0 -1184
  507. package/.next/standalone/node_modules/streamx/package.json +0 -34
  508. package/.next/standalone/node_modules/supports-color/index.js +0 -135
  509. package/.next/standalone/node_modules/supports-color/package.json +0 -53
  510. package/.next/standalone/node_modules/tar-stream/constants.js +0 -14
  511. package/.next/standalone/node_modules/tar-stream/extract.js +0 -406
  512. package/.next/standalone/node_modules/tar-stream/headers.js +0 -321
  513. package/.next/standalone/node_modules/tar-stream/index.js +0 -2
  514. package/.next/standalone/node_modules/tar-stream/pack.js +0 -287
  515. package/.next/standalone/node_modules/tar-stream/package.json +0 -42
  516. package/.next/standalone/node_modules/text-decoder/index.js +0 -64
  517. package/.next/standalone/node_modules/text-decoder/lib/pass-through-decoder.js +0 -19
  518. package/.next/standalone/node_modules/text-decoder/lib/utf8-decoder.js +0 -185
  519. package/.next/standalone/node_modules/text-decoder/package.json +0 -39
  520. package/.next/standalone/node_modules/tslib/package.json +0 -47
  521. package/.next/standalone/node_modules/tslib/tslib.js +0 -484
  522. package/.next/standalone/node_modules/wrappy/package.json +0 -29
  523. package/.next/standalone/node_modules/wrappy/wrappy.js +0 -33
  524. package/.next/standalone/node_modules/ws/lib/buffer-util.js +0 -131
  525. package/.next/standalone/node_modules/ws/lib/constants.js +0 -19
  526. package/.next/standalone/node_modules/ws/lib/event-target.js +0 -292
  527. package/.next/standalone/node_modules/ws/lib/extension.js +0 -203
  528. package/.next/standalone/node_modules/ws/lib/limiter.js +0 -55
  529. package/.next/standalone/node_modules/ws/lib/permessage-deflate.js +0 -528
  530. package/.next/standalone/node_modules/ws/lib/receiver.js +0 -706
  531. package/.next/standalone/node_modules/ws/lib/sender.js +0 -602
  532. package/.next/standalone/node_modules/ws/lib/stream.js +0 -161
  533. package/.next/standalone/node_modules/ws/lib/subprotocol.js +0 -62
  534. package/.next/standalone/node_modules/ws/lib/validation.js +0 -152
  535. package/.next/standalone/node_modules/ws/lib/websocket-server.js +0 -554
  536. package/.next/standalone/node_modules/ws/lib/websocket.js +0 -1393
  537. package/.next/standalone/node_modules/ws/package.json +0 -69
  538. package/.next/standalone/node_modules/ws/wrapper.mjs +0 -8
  539. package/.next/standalone/node_modules/y18n/build/lib/index.js +0 -174
  540. package/.next/standalone/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  541. package/.next/standalone/node_modules/y18n/index.mjs +0 -8
  542. package/.next/standalone/node_modules/y18n/package.json +0 -70
  543. package/.next/standalone/node_modules/yargs/build/lib/argsert.js +0 -62
  544. package/.next/standalone/node_modules/yargs/build/lib/command.js +0 -449
  545. package/.next/standalone/node_modules/yargs/build/lib/completion-templates.js +0 -48
  546. package/.next/standalone/node_modules/yargs/build/lib/completion.js +0 -243
  547. package/.next/standalone/node_modules/yargs/build/lib/middleware.js +0 -88
  548. package/.next/standalone/node_modules/yargs/build/lib/parse-command.js +0 -32
  549. package/.next/standalone/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  550. package/.next/standalone/node_modules/yargs/build/lib/usage.js +0 -584
  551. package/.next/standalone/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  552. package/.next/standalone/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  553. package/.next/standalone/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
  554. package/.next/standalone/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
  555. package/.next/standalone/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  556. package/.next/standalone/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  557. package/.next/standalone/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  558. package/.next/standalone/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  559. package/.next/standalone/node_modules/yargs/build/lib/validation.js +0 -305
  560. package/.next/standalone/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
  561. package/.next/standalone/node_modules/yargs/build/lib/yerror.js +0 -9
  562. package/.next/standalone/node_modules/yargs/helpers/helpers.mjs +0 -10
  563. package/.next/standalone/node_modules/yargs/index.mjs +0 -8
  564. package/.next/standalone/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
  565. package/.next/standalone/node_modules/yargs/package.json +0 -123
  566. package/.next/standalone/node_modules/yargs-parser/build/lib/index.js +0 -62
  567. package/.next/standalone/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  568. package/.next/standalone/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  569. package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  570. package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
  571. package/.next/standalone/node_modules/yargs-parser/package.json +0 -92
  572. package/.next/standalone/node_modules/yauzl/LICENSE +0 -21
  573. package/.next/standalone/node_modules/yauzl/README.md +0 -658
  574. package/.next/standalone/node_modules/yauzl/index.js +0 -796
  575. package/.next/standalone/node_modules/yauzl/package.json +0 -40
  576. package/.next/static/chunks/6f8d5b34a0746c30.css +0 -1
  577. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
  578. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +0 -0
  579. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +0 -0
  580. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
  581. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
  582. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
  583. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
  584. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
  585. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
  586. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
  587. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
  588. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
  589. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
  590. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
  591. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
  592. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
  593. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
  594. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
  595. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
  596. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +0 -0
  597. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +0 -0
  598. /package/.next/static/{kjjeNNqdepzMMavZeMWoK → standalone-build}/_buildManifest.js +0 -0
  599. /package/.next/static/{kjjeNNqdepzMMavZeMWoK → standalone-build}/_clientMiddlewareManifest.json +0 -0
  600. /package/.next/static/{kjjeNNqdepzMMavZeMWoK → standalone-build}/_ssgManifest.js +0 -0
@@ -1,343 +0,0 @@
1
- "use strict";;
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- var types_1 = tslib_1.__importDefault(require("./types"));
5
- var node_path_1 = tslib_1.__importDefault(require("./node-path"));
6
- var hasOwn = Object.prototype.hasOwnProperty;
7
- function pathVisitorPlugin(fork) {
8
- var types = fork.use(types_1.default);
9
- var NodePath = fork.use(node_path_1.default);
10
- var isArray = types.builtInTypes.array;
11
- var isObject = types.builtInTypes.object;
12
- var isFunction = types.builtInTypes.function;
13
- var undefined;
14
- var PathVisitor = function PathVisitor() {
15
- if (!(this instanceof PathVisitor)) {
16
- throw new Error("PathVisitor constructor cannot be invoked without 'new'");
17
- }
18
- // Permanent state.
19
- this._reusableContextStack = [];
20
- this._methodNameTable = computeMethodNameTable(this);
21
- this._shouldVisitComments =
22
- hasOwn.call(this._methodNameTable, "Block") ||
23
- hasOwn.call(this._methodNameTable, "Line");
24
- this.Context = makeContextConstructor(this);
25
- // State reset every time PathVisitor.prototype.visit is called.
26
- this._visiting = false;
27
- this._changeReported = false;
28
- };
29
- function computeMethodNameTable(visitor) {
30
- var typeNames = Object.create(null);
31
- for (var methodName in visitor) {
32
- if (/^visit[A-Z]/.test(methodName)) {
33
- typeNames[methodName.slice("visit".length)] = true;
34
- }
35
- }
36
- var supertypeTable = types.computeSupertypeLookupTable(typeNames);
37
- var methodNameTable = Object.create(null);
38
- var typeNameKeys = Object.keys(supertypeTable);
39
- var typeNameCount = typeNameKeys.length;
40
- for (var i = 0; i < typeNameCount; ++i) {
41
- var typeName = typeNameKeys[i];
42
- methodName = "visit" + supertypeTable[typeName];
43
- if (isFunction.check(visitor[methodName])) {
44
- methodNameTable[typeName] = methodName;
45
- }
46
- }
47
- return methodNameTable;
48
- }
49
- PathVisitor.fromMethodsObject = function fromMethodsObject(methods) {
50
- if (methods instanceof PathVisitor) {
51
- return methods;
52
- }
53
- if (!isObject.check(methods)) {
54
- // An empty visitor?
55
- return new PathVisitor;
56
- }
57
- var Visitor = function Visitor() {
58
- if (!(this instanceof Visitor)) {
59
- throw new Error("Visitor constructor cannot be invoked without 'new'");
60
- }
61
- PathVisitor.call(this);
62
- };
63
- var Vp = Visitor.prototype = Object.create(PVp);
64
- Vp.constructor = Visitor;
65
- extend(Vp, methods);
66
- extend(Visitor, PathVisitor);
67
- isFunction.assert(Visitor.fromMethodsObject);
68
- isFunction.assert(Visitor.visit);
69
- return new Visitor;
70
- };
71
- function extend(target, source) {
72
- for (var property in source) {
73
- if (hasOwn.call(source, property)) {
74
- target[property] = source[property];
75
- }
76
- }
77
- return target;
78
- }
79
- PathVisitor.visit = function visit(node, methods) {
80
- return PathVisitor.fromMethodsObject(methods).visit(node);
81
- };
82
- var PVp = PathVisitor.prototype;
83
- PVp.visit = function () {
84
- if (this._visiting) {
85
- throw new Error("Recursively calling visitor.visit(path) resets visitor state. " +
86
- "Try this.visit(path) or this.traverse(path) instead.");
87
- }
88
- // Private state that needs to be reset before every traversal.
89
- this._visiting = true;
90
- this._changeReported = false;
91
- this._abortRequested = false;
92
- var argc = arguments.length;
93
- var args = new Array(argc);
94
- for (var i = 0; i < argc; ++i) {
95
- args[i] = arguments[i];
96
- }
97
- if (!(args[0] instanceof NodePath)) {
98
- args[0] = new NodePath({ root: args[0] }).get("root");
99
- }
100
- // Called with the same arguments as .visit.
101
- this.reset.apply(this, args);
102
- var didNotThrow;
103
- try {
104
- var root = this.visitWithoutReset(args[0]);
105
- didNotThrow = true;
106
- }
107
- finally {
108
- this._visiting = false;
109
- if (!didNotThrow && this._abortRequested) {
110
- // If this.visitWithoutReset threw an exception and
111
- // this._abortRequested was set to true, return the root of
112
- // the AST instead of letting the exception propagate, so that
113
- // client code does not have to provide a try-catch block to
114
- // intercept the AbortRequest exception. Other kinds of
115
- // exceptions will propagate without being intercepted and
116
- // rethrown by a catch block, so their stacks will accurately
117
- // reflect the original throwing context.
118
- return args[0].value;
119
- }
120
- }
121
- return root;
122
- };
123
- PVp.AbortRequest = function AbortRequest() { };
124
- PVp.abort = function () {
125
- var visitor = this;
126
- visitor._abortRequested = true;
127
- var request = new visitor.AbortRequest();
128
- // If you decide to catch this exception and stop it from propagating,
129
- // make sure to call its cancel method to avoid silencing other
130
- // exceptions that might be thrown later in the traversal.
131
- request.cancel = function () {
132
- visitor._abortRequested = false;
133
- };
134
- throw request;
135
- };
136
- PVp.reset = function (_path /*, additional arguments */) {
137
- // Empty stub; may be reassigned or overridden by subclasses.
138
- };
139
- PVp.visitWithoutReset = function (path) {
140
- if (this instanceof this.Context) {
141
- // Since this.Context.prototype === this, there's a chance we
142
- // might accidentally call context.visitWithoutReset. If that
143
- // happens, re-invoke the method against context.visitor.
144
- return this.visitor.visitWithoutReset(path);
145
- }
146
- if (!(path instanceof NodePath)) {
147
- throw new Error("");
148
- }
149
- var value = path.value;
150
- var methodName = value &&
151
- typeof value === "object" &&
152
- typeof value.type === "string" &&
153
- this._methodNameTable[value.type];
154
- if (methodName) {
155
- var context = this.acquireContext(path);
156
- try {
157
- return context.invokeVisitorMethod(methodName);
158
- }
159
- finally {
160
- this.releaseContext(context);
161
- }
162
- }
163
- else {
164
- // If there was no visitor method to call, visit the children of
165
- // this node generically.
166
- return visitChildren(path, this);
167
- }
168
- };
169
- function visitChildren(path, visitor) {
170
- if (!(path instanceof NodePath)) {
171
- throw new Error("");
172
- }
173
- if (!(visitor instanceof PathVisitor)) {
174
- throw new Error("");
175
- }
176
- var value = path.value;
177
- if (isArray.check(value)) {
178
- path.each(visitor.visitWithoutReset, visitor);
179
- }
180
- else if (!isObject.check(value)) {
181
- // No children to visit.
182
- }
183
- else {
184
- var childNames = types.getFieldNames(value);
185
- // The .comments field of the Node type is hidden, so we only
186
- // visit it if the visitor defines visitBlock or visitLine, and
187
- // value.comments is defined.
188
- if (visitor._shouldVisitComments &&
189
- value.comments &&
190
- childNames.indexOf("comments") < 0) {
191
- childNames.push("comments");
192
- }
193
- var childCount = childNames.length;
194
- var childPaths = [];
195
- for (var i = 0; i < childCount; ++i) {
196
- var childName = childNames[i];
197
- if (!hasOwn.call(value, childName)) {
198
- value[childName] = types.getFieldValue(value, childName);
199
- }
200
- childPaths.push(path.get(childName));
201
- }
202
- for (var i = 0; i < childCount; ++i) {
203
- visitor.visitWithoutReset(childPaths[i]);
204
- }
205
- }
206
- return path.value;
207
- }
208
- PVp.acquireContext = function (path) {
209
- if (this._reusableContextStack.length === 0) {
210
- return new this.Context(path);
211
- }
212
- return this._reusableContextStack.pop().reset(path);
213
- };
214
- PVp.releaseContext = function (context) {
215
- if (!(context instanceof this.Context)) {
216
- throw new Error("");
217
- }
218
- this._reusableContextStack.push(context);
219
- context.currentPath = null;
220
- };
221
- PVp.reportChanged = function () {
222
- this._changeReported = true;
223
- };
224
- PVp.wasChangeReported = function () {
225
- return this._changeReported;
226
- };
227
- function makeContextConstructor(visitor) {
228
- function Context(path) {
229
- if (!(this instanceof Context)) {
230
- throw new Error("");
231
- }
232
- if (!(this instanceof PathVisitor)) {
233
- throw new Error("");
234
- }
235
- if (!(path instanceof NodePath)) {
236
- throw new Error("");
237
- }
238
- Object.defineProperty(this, "visitor", {
239
- value: visitor,
240
- writable: false,
241
- enumerable: true,
242
- configurable: false
243
- });
244
- this.currentPath = path;
245
- this.needToCallTraverse = true;
246
- Object.seal(this);
247
- }
248
- if (!(visitor instanceof PathVisitor)) {
249
- throw new Error("");
250
- }
251
- // Note that the visitor object is the prototype of Context.prototype,
252
- // so all visitor methods are inherited by context objects.
253
- var Cp = Context.prototype = Object.create(visitor);
254
- Cp.constructor = Context;
255
- extend(Cp, sharedContextProtoMethods);
256
- return Context;
257
- }
258
- // Every PathVisitor has a different this.Context constructor and
259
- // this.Context.prototype object, but those prototypes can all use the
260
- // same reset, invokeVisitorMethod, and traverse function objects.
261
- var sharedContextProtoMethods = Object.create(null);
262
- sharedContextProtoMethods.reset =
263
- function reset(path) {
264
- if (!(this instanceof this.Context)) {
265
- throw new Error("");
266
- }
267
- if (!(path instanceof NodePath)) {
268
- throw new Error("");
269
- }
270
- this.currentPath = path;
271
- this.needToCallTraverse = true;
272
- return this;
273
- };
274
- sharedContextProtoMethods.invokeVisitorMethod =
275
- function invokeVisitorMethod(methodName) {
276
- if (!(this instanceof this.Context)) {
277
- throw new Error("");
278
- }
279
- if (!(this.currentPath instanceof NodePath)) {
280
- throw new Error("");
281
- }
282
- var result = this.visitor[methodName].call(this, this.currentPath);
283
- if (result === false) {
284
- // Visitor methods return false to indicate that they have handled
285
- // their own traversal needs, and we should not complain if
286
- // this.needToCallTraverse is still true.
287
- this.needToCallTraverse = false;
288
- }
289
- else if (result !== undefined) {
290
- // Any other non-undefined value returned from the visitor method
291
- // is interpreted as a replacement value.
292
- this.currentPath = this.currentPath.replace(result)[0];
293
- if (this.needToCallTraverse) {
294
- // If this.traverse still hasn't been called, visit the
295
- // children of the replacement node.
296
- this.traverse(this.currentPath);
297
- }
298
- }
299
- if (this.needToCallTraverse !== false) {
300
- throw new Error("Must either call this.traverse or return false in " + methodName);
301
- }
302
- var path = this.currentPath;
303
- return path && path.value;
304
- };
305
- sharedContextProtoMethods.traverse =
306
- function traverse(path, newVisitor) {
307
- if (!(this instanceof this.Context)) {
308
- throw new Error("");
309
- }
310
- if (!(path instanceof NodePath)) {
311
- throw new Error("");
312
- }
313
- if (!(this.currentPath instanceof NodePath)) {
314
- throw new Error("");
315
- }
316
- this.needToCallTraverse = false;
317
- return visitChildren(path, PathVisitor.fromMethodsObject(newVisitor || this.visitor));
318
- };
319
- sharedContextProtoMethods.visit =
320
- function visit(path, newVisitor) {
321
- if (!(this instanceof this.Context)) {
322
- throw new Error("");
323
- }
324
- if (!(path instanceof NodePath)) {
325
- throw new Error("");
326
- }
327
- if (!(this.currentPath instanceof NodePath)) {
328
- throw new Error("");
329
- }
330
- this.needToCallTraverse = false;
331
- return PathVisitor.fromMethodsObject(newVisitor || this.visitor).visitWithoutReset(path);
332
- };
333
- sharedContextProtoMethods.reportChanged = function reportChanged() {
334
- this.visitor.reportChanged();
335
- };
336
- sharedContextProtoMethods.abort = function abort() {
337
- this.needToCallTraverse = false;
338
- this.visitor.abort();
339
- };
340
- return PathVisitor;
341
- }
342
- exports.default = pathVisitorPlugin;
343
- module.exports = exports["default"];
@@ -1,331 +0,0 @@
1
- "use strict";;
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var tslib_1 = require("tslib");
4
- var types_1 = tslib_1.__importDefault(require("./types"));
5
- var Op = Object.prototype;
6
- var hasOwn = Op.hasOwnProperty;
7
- function pathPlugin(fork) {
8
- var types = fork.use(types_1.default);
9
- var isArray = types.builtInTypes.array;
10
- var isNumber = types.builtInTypes.number;
11
- var Path = function Path(value, parentPath, name) {
12
- if (!(this instanceof Path)) {
13
- throw new Error("Path constructor cannot be invoked without 'new'");
14
- }
15
- if (parentPath) {
16
- if (!(parentPath instanceof Path)) {
17
- throw new Error("");
18
- }
19
- }
20
- else {
21
- parentPath = null;
22
- name = null;
23
- }
24
- // The value encapsulated by this Path, generally equal to
25
- // parentPath.value[name] if we have a parentPath.
26
- this.value = value;
27
- // The immediate parent Path of this Path.
28
- this.parentPath = parentPath;
29
- // The name of the property of parentPath.value through which this
30
- // Path's value was reached.
31
- this.name = name;
32
- // Calling path.get("child") multiple times always returns the same
33
- // child Path object, for both performance and consistency reasons.
34
- this.__childCache = null;
35
- };
36
- var Pp = Path.prototype;
37
- function getChildCache(path) {
38
- // Lazily create the child cache. This also cheapens cache
39
- // invalidation, since you can just reset path.__childCache to null.
40
- return path.__childCache || (path.__childCache = Object.create(null));
41
- }
42
- function getChildPath(path, name) {
43
- var cache = getChildCache(path);
44
- var actualChildValue = path.getValueProperty(name);
45
- var childPath = cache[name];
46
- if (!hasOwn.call(cache, name) ||
47
- // Ensure consistency between cache and reality.
48
- childPath.value !== actualChildValue) {
49
- childPath = cache[name] = new path.constructor(actualChildValue, path, name);
50
- }
51
- return childPath;
52
- }
53
- // This method is designed to be overridden by subclasses that need to
54
- // handle missing properties, etc.
55
- Pp.getValueProperty = function getValueProperty(name) {
56
- return this.value[name];
57
- };
58
- Pp.get = function get() {
59
- var names = [];
60
- for (var _i = 0; _i < arguments.length; _i++) {
61
- names[_i] = arguments[_i];
62
- }
63
- var path = this;
64
- var count = names.length;
65
- for (var i = 0; i < count; ++i) {
66
- path = getChildPath(path, names[i]);
67
- }
68
- return path;
69
- };
70
- Pp.each = function each(callback, context) {
71
- var childPaths = [];
72
- var len = this.value.length;
73
- var i = 0;
74
- // Collect all the original child paths before invoking the callback.
75
- for (var i = 0; i < len; ++i) {
76
- if (hasOwn.call(this.value, i)) {
77
- childPaths[i] = this.get(i);
78
- }
79
- }
80
- // Invoke the callback on just the original child paths, regardless of
81
- // any modifications made to the array by the callback. I chose these
82
- // semantics over cleverly invoking the callback on new elements because
83
- // this way is much easier to reason about.
84
- context = context || this;
85
- for (i = 0; i < len; ++i) {
86
- if (hasOwn.call(childPaths, i)) {
87
- callback.call(context, childPaths[i]);
88
- }
89
- }
90
- };
91
- Pp.map = function map(callback, context) {
92
- var result = [];
93
- this.each(function (childPath) {
94
- result.push(callback.call(this, childPath));
95
- }, context);
96
- return result;
97
- };
98
- Pp.filter = function filter(callback, context) {
99
- var result = [];
100
- this.each(function (childPath) {
101
- if (callback.call(this, childPath)) {
102
- result.push(childPath);
103
- }
104
- }, context);
105
- return result;
106
- };
107
- function emptyMoves() { }
108
- function getMoves(path, offset, start, end) {
109
- isArray.assert(path.value);
110
- if (offset === 0) {
111
- return emptyMoves;
112
- }
113
- var length = path.value.length;
114
- if (length < 1) {
115
- return emptyMoves;
116
- }
117
- var argc = arguments.length;
118
- if (argc === 2) {
119
- start = 0;
120
- end = length;
121
- }
122
- else if (argc === 3) {
123
- start = Math.max(start, 0);
124
- end = length;
125
- }
126
- else {
127
- start = Math.max(start, 0);
128
- end = Math.min(end, length);
129
- }
130
- isNumber.assert(start);
131
- isNumber.assert(end);
132
- var moves = Object.create(null);
133
- var cache = getChildCache(path);
134
- for (var i = start; i < end; ++i) {
135
- if (hasOwn.call(path.value, i)) {
136
- var childPath = path.get(i);
137
- if (childPath.name !== i) {
138
- throw new Error("");
139
- }
140
- var newIndex = i + offset;
141
- childPath.name = newIndex;
142
- moves[newIndex] = childPath;
143
- delete cache[i];
144
- }
145
- }
146
- delete cache.length;
147
- return function () {
148
- for (var newIndex in moves) {
149
- var childPath = moves[newIndex];
150
- if (childPath.name !== +newIndex) {
151
- throw new Error("");
152
- }
153
- cache[newIndex] = childPath;
154
- path.value[newIndex] = childPath.value;
155
- }
156
- };
157
- }
158
- Pp.shift = function shift() {
159
- var move = getMoves(this, -1);
160
- var result = this.value.shift();
161
- move();
162
- return result;
163
- };
164
- Pp.unshift = function unshift() {
165
- var args = [];
166
- for (var _i = 0; _i < arguments.length; _i++) {
167
- args[_i] = arguments[_i];
168
- }
169
- var move = getMoves(this, args.length);
170
- var result = this.value.unshift.apply(this.value, args);
171
- move();
172
- return result;
173
- };
174
- Pp.push = function push() {
175
- var args = [];
176
- for (var _i = 0; _i < arguments.length; _i++) {
177
- args[_i] = arguments[_i];
178
- }
179
- isArray.assert(this.value);
180
- delete getChildCache(this).length;
181
- return this.value.push.apply(this.value, args);
182
- };
183
- Pp.pop = function pop() {
184
- isArray.assert(this.value);
185
- var cache = getChildCache(this);
186
- delete cache[this.value.length - 1];
187
- delete cache.length;
188
- return this.value.pop();
189
- };
190
- Pp.insertAt = function insertAt(index) {
191
- var argc = arguments.length;
192
- var move = getMoves(this, argc - 1, index);
193
- if (move === emptyMoves && argc <= 1) {
194
- return this;
195
- }
196
- index = Math.max(index, 0);
197
- for (var i = 1; i < argc; ++i) {
198
- this.value[index + i - 1] = arguments[i];
199
- }
200
- move();
201
- return this;
202
- };
203
- Pp.insertBefore = function insertBefore() {
204
- var args = [];
205
- for (var _i = 0; _i < arguments.length; _i++) {
206
- args[_i] = arguments[_i];
207
- }
208
- var pp = this.parentPath;
209
- var argc = args.length;
210
- var insertAtArgs = [this.name];
211
- for (var i = 0; i < argc; ++i) {
212
- insertAtArgs.push(args[i]);
213
- }
214
- return pp.insertAt.apply(pp, insertAtArgs);
215
- };
216
- Pp.insertAfter = function insertAfter() {
217
- var args = [];
218
- for (var _i = 0; _i < arguments.length; _i++) {
219
- args[_i] = arguments[_i];
220
- }
221
- var pp = this.parentPath;
222
- var argc = args.length;
223
- var insertAtArgs = [this.name + 1];
224
- for (var i = 0; i < argc; ++i) {
225
- insertAtArgs.push(args[i]);
226
- }
227
- return pp.insertAt.apply(pp, insertAtArgs);
228
- };
229
- function repairRelationshipWithParent(path) {
230
- if (!(path instanceof Path)) {
231
- throw new Error("");
232
- }
233
- var pp = path.parentPath;
234
- if (!pp) {
235
- // Orphan paths have no relationship to repair.
236
- return path;
237
- }
238
- var parentValue = pp.value;
239
- var parentCache = getChildCache(pp);
240
- // Make sure parentCache[path.name] is populated.
241
- if (parentValue[path.name] === path.value) {
242
- parentCache[path.name] = path;
243
- }
244
- else if (isArray.check(parentValue)) {
245
- // Something caused path.name to become out of date, so attempt to
246
- // recover by searching for path.value in parentValue.
247
- var i = parentValue.indexOf(path.value);
248
- if (i >= 0) {
249
- parentCache[path.name = i] = path;
250
- }
251
- }
252
- else {
253
- // If path.value disagrees with parentValue[path.name], and
254
- // path.name is not an array index, let path.value become the new
255
- // parentValue[path.name] and update parentCache accordingly.
256
- parentValue[path.name] = path.value;
257
- parentCache[path.name] = path;
258
- }
259
- if (parentValue[path.name] !== path.value) {
260
- throw new Error("");
261
- }
262
- if (path.parentPath.get(path.name) !== path) {
263
- throw new Error("");
264
- }
265
- return path;
266
- }
267
- Pp.replace = function replace(replacement) {
268
- var results = [];
269
- var parentValue = this.parentPath.value;
270
- var parentCache = getChildCache(this.parentPath);
271
- var count = arguments.length;
272
- repairRelationshipWithParent(this);
273
- if (isArray.check(parentValue)) {
274
- var originalLength = parentValue.length;
275
- var move = getMoves(this.parentPath, count - 1, this.name + 1);
276
- var spliceArgs = [this.name, 1];
277
- for (var i = 0; i < count; ++i) {
278
- spliceArgs.push(arguments[i]);
279
- }
280
- var splicedOut = parentValue.splice.apply(parentValue, spliceArgs);
281
- if (splicedOut[0] !== this.value) {
282
- throw new Error("");
283
- }
284
- if (parentValue.length !== (originalLength - 1 + count)) {
285
- throw new Error("");
286
- }
287
- move();
288
- if (count === 0) {
289
- delete this.value;
290
- delete parentCache[this.name];
291
- this.__childCache = null;
292
- }
293
- else {
294
- if (parentValue[this.name] !== replacement) {
295
- throw new Error("");
296
- }
297
- if (this.value !== replacement) {
298
- this.value = replacement;
299
- this.__childCache = null;
300
- }
301
- for (i = 0; i < count; ++i) {
302
- results.push(this.parentPath.get(this.name + i));
303
- }
304
- if (results[0] !== this) {
305
- throw new Error("");
306
- }
307
- }
308
- }
309
- else if (count === 1) {
310
- if (this.value !== replacement) {
311
- this.__childCache = null;
312
- }
313
- this.value = parentValue[this.name] = replacement;
314
- results.push(this);
315
- }
316
- else if (count === 0) {
317
- delete parentValue[this.name];
318
- delete this.value;
319
- this.__childCache = null;
320
- // Leave this path cached as parentCache[this.name], even though
321
- // it no longer has a value defined.
322
- }
323
- else {
324
- throw new Error("Could not replace path");
325
- }
326
- return results;
327
- };
328
- return Path;
329
- }
330
- exports.default = pathPlugin;
331
- module.exports = exports["default"];