9router-proxy 0.6.25 → 0.6.27

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 (1061) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +10 -10
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +26 -26
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  54. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  56. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  57. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  58. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  59. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  60. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  63. package/app/.next-cli-build/server/app/_not-found.rsc +31 -30
  64. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +31 -30
  65. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +37 -36
  66. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  67. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  69. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  72. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  75. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
  79. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  81. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  84. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  85. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  86. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  87. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  88. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  89. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  90. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  91. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  92. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  94. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  100. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  102. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  104. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  110. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  113. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  115. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  117. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +3 -3
  119. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  121. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
  125. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  127. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/oauth/miaoshou/auto-import/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/oauth/miaoshou/import/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  241. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  267. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  301. package/app/.next-cli-build/server/app/callback.html +1 -1
  302. package/app/.next-cli-build/server/app/callback.rsc +36 -35
  303. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +36 -35
  304. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  305. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +42 -41
  306. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  307. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +36 -35
  308. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +44 -43
  309. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +36 -35
  310. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  311. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  312. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +39 -38
  313. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +46 -45
  314. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +39 -38
  315. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  316. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  317. package/app/.next-cli-build/server/app/dashboard/combos.rsc +40 -39
  318. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +48 -47
  319. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +40 -39
  320. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  321. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  322. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +38 -37
  323. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +45 -44
  324. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +38 -37
  325. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  326. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  327. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +40 -39
  328. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +49 -48
  329. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +40 -39
  330. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  331. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  332. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +38 -37
  333. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +46 -45
  334. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +38 -37
  335. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  336. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  337. package/app/.next-cli-build/server/app/dashboard/profile.rsc +39 -38
  338. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +47 -46
  339. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +39 -38
  340. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  341. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  342. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +40 -39
  343. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +49 -48
  344. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +40 -39
  345. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  346. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  347. package/app/.next-cli-build/server/app/dashboard/providers.rsc +39 -38
  348. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +47 -46
  349. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +39 -38
  350. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  351. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  352. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +39 -38
  353. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +47 -46
  354. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +39 -38
  355. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  356. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  357. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +39 -38
  358. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +47 -46
  359. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +39 -38
  360. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  361. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  362. package/app/.next-cli-build/server/app/dashboard/quota.rsc +37 -36
  363. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +45 -44
  364. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +37 -36
  365. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  366. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  368. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  369. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +38 -37
  370. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +38 -37
  371. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  372. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +46 -45
  373. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  374. package/app/.next-cli-build/server/app/dashboard/skills.rsc +39 -38
  375. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +47 -46
  376. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +39 -38
  377. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  378. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  379. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +36 -35
  380. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +44 -43
  381. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +36 -35
  382. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  383. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  384. package/app/.next-cli-build/server/app/dashboard/translator.rsc +39 -38
  385. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +47 -46
  386. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +39 -38
  387. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  388. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  389. package/app/.next-cli-build/server/app/dashboard/usage.rsc +40 -39
  390. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +48 -47
  391. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +40 -39
  392. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  393. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  394. package/app/.next-cli-build/server/app/dashboard.rsc +37 -36
  395. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +43 -42
  396. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +37 -36
  397. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  398. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/index.html +1 -1
  400. package/app/.next-cli-build/server/app/index.rsc +29 -28
  401. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +34 -33
  402. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +29 -28
  403. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  404. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  406. package/app/.next-cli-build/server/app/landing.html +1 -1
  407. package/app/.next-cli-build/server/app/landing.rsc +37 -36
  408. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +37 -36
  409. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  410. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +43 -42
  411. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  413. package/app/.next-cli-build/server/app/login.html +1 -1
  414. package/app/.next-cli-build/server/app/login.rsc +36 -35
  415. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +36 -35
  416. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  417. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +42 -41
  418. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  421. package/app/.next-cli-build/server/app-paths-manifest.json +10 -10
  422. package/app/.next-cli-build/server/chunks/1248.js +1 -1
  423. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  424. package/app/.next-cli-build/server/chunks/1757.js +1 -1
  425. package/app/.next-cli-build/server/chunks/2220.js +1 -1
  426. package/app/.next-cli-build/server/chunks/2224.js +1 -0
  427. package/app/.next-cli-build/server/chunks/24.js +1 -1
  428. package/app/.next-cli-build/server/chunks/3256.js +1 -1
  429. package/app/.next-cli-build/server/chunks/3459.js +1 -1
  430. package/app/.next-cli-build/server/chunks/3726.js +1 -1
  431. package/app/.next-cli-build/server/chunks/3835.js +1 -1
  432. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  433. package/app/.next-cli-build/server/chunks/412.js +1 -1
  434. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  435. package/app/.next-cli-build/server/chunks/4478.js +1 -1
  436. package/app/.next-cli-build/server/chunks/5026.js +1 -1
  437. package/app/.next-cli-build/server/chunks/5330.js +3 -3
  438. package/app/.next-cli-build/server/chunks/5615.js +2 -2
  439. package/app/.next-cli-build/server/chunks/702.js +2 -0
  440. package/app/.next-cli-build/server/chunks/7220.js +1 -1
  441. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  442. package/app/.next-cli-build/server/chunks/7828.js +1 -1
  443. package/app/.next-cli-build/server/chunks/794.js +1 -1
  444. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  445. package/app/.next-cli-build/server/chunks/8271.js +1 -1
  446. package/app/.next-cli-build/server/chunks/8895.js +2 -2
  447. package/app/.next-cli-build/server/chunks/9310.js +1 -1
  448. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  449. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  450. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/pages/404.html +1 -1
  452. package/app/.next-cli-build/server/pages/500.html +1 -1
  453. package/app/.next-cli-build/server/preview-props.json +3 -3
  454. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  455. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  456. package/app/.next-cli-build/static/chunks/1321-6b5146ba33211449.js +1 -0
  457. package/app/.next-cli-build/static/chunks/1592-7a1b8f3c2180b75e.js +1 -0
  458. package/app/.next-cli-build/static/chunks/1610-3f2a428594c9c558.js +1 -0
  459. package/app/.next-cli-build/static/chunks/2599-e954754c18e14dc4.js +11 -0
  460. package/app/.next-cli-build/static/chunks/{5497-94d4f9da330e2758.js → 5497-5edd305639e92d2a.js} +2 -2
  461. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-ea4bef63948f4a79.js → page-07860701d1f36356.js} +1 -1
  462. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-72ec90d965d57554.js → page-ae984b5ad00b815e.js} +1 -1
  463. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-218501982818a903.js → page-e11d3606ae59138e.js} +1 -1
  464. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-9f1dd6ca7ceeabb7.js → page-41c527db65ecc456.js} +1 -1
  465. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-66757e17ed9f3b23.js → page-7462d58828409915.js} +1 -1
  466. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-3e8642754ac07e6c.js +1 -0
  467. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-78497e3fc309a66b.js → page-a2d8782942f79c7a.js} +1 -1
  468. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-cb24c102a5535c19.js → page-bccd29d8fdb1420b.js} +1 -1
  469. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-bdffd7da424a40f6.js → page-a115f2f850d39128.js} +1 -1
  470. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-e9115d1643fe83ab.js → page-bc5f2544706ca405.js} +1 -1
  471. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-830479c6d2b66001.js → page-e75bafb632a626bf.js} +1 -1
  472. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-9388fd549174fd34.js +1 -0
  473. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-a49e8b527b71b335.js → page-78a0a5ea58f9a4bc.js} +1 -1
  474. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-1af8c2edc9c0ae1d.js → page-904dc75c59a37284.js} +3 -3
  475. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-8dee526b0891af9f.js → page-883eae14cd5e19d5.js} +1 -1
  476. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-68597056465adc3d.js → page-fd714aed70be1291.js} +1 -1
  477. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-5545d5f7a6f26894.js → page-f31106889f308c23.js} +1 -1
  478. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-9d4ff69bd12d4c5a.js → page-d7accdd5a36f268c.js} +1 -1
  479. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-3c36f41167857750.js → page-6ac24ff171abe1f6.js} +1 -1
  480. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-cfdf2480dbe558ad.js → page-0d4c8de9cddb2798.js} +1 -1
  481. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-f7d7700d4afd666f.js → page-a59a90e55a3d6e21.js} +1 -1
  482. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-e84a334408baee9c.js → page-88bd684463c3b41a.js} +1 -1
  483. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-68f3751d62bcacbd.js → page-84497afdde6117e5.js} +1 -1
  484. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-ecd45841ec1ff701.js → layout-ce8c7297b5839e06.js} +1 -1
  485. package/app/.next-cli-build/static/chunks/app/{layout-00c8624593ca90e2.js → layout-b71d3072d7d0c248.js} +1 -1
  486. package/app/.next-cli-build/static/chunks/app/login/{page-89eb6dc8740863de.js → page-cc43b7351e61ff65.js} +1 -1
  487. package/app/.next-cli-build/static/chunks/{webpack-d2b96a2313c45c57.js → webpack-2d6a76068971e74e.js} +1 -1
  488. package/app/.next-cli-build/static/css/{a4a1d5192ab47550.css → 20a8e781bd7763d0.css} +1 -1
  489. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  490. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  491. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  492. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  493. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  494. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  495. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  496. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  497. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  498. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  499. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  500. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  501. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  502. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  503. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  504. package/app/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  505. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  506. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  507. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  508. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  509. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  510. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  511. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  512. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  513. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  514. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  515. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  516. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  517. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  518. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  519. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  520. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  521. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  522. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  523. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  524. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  525. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  526. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  527. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  528. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  529. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  530. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  531. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  532. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  533. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  534. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  535. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  536. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  537. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  538. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  539. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  540. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  541. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  542. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  543. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  544. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  545. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  546. package/app/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  547. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  548. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  549. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  550. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  551. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  552. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  553. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  554. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  555. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  556. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  557. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  558. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  559. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  560. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  561. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  562. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  563. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  564. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  565. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  566. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  567. package/app/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  568. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  569. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  570. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  571. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  572. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  573. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  574. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  575. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  576. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  577. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  578. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  579. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  580. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  581. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  582. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  583. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  584. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  585. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  586. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  587. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  588. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  589. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  590. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  591. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  592. package/app/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  593. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  594. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  595. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  596. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  597. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  598. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  599. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  600. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  601. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  602. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  603. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  604. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  605. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  606. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  607. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  608. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  609. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  610. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  611. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  612. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  613. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  614. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  615. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  616. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  617. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  618. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  619. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  620. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  621. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  622. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  623. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  624. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  625. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  626. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  627. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  628. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  629. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  630. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  631. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  632. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  633. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  634. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  635. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  636. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  637. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  638. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  639. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  640. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  641. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  642. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  643. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  644. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  645. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  646. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  647. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  648. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  649. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  650. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  651. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  652. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  653. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  654. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  655. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  656. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  657. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  658. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  659. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  660. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  661. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  662. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  663. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  664. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  665. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  666. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  667. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  668. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  669. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  670. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  671. package/app/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  672. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  673. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  674. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  675. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  676. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  677. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  678. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  679. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  680. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  681. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  682. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  683. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  684. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  685. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  686. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  687. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  688. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  689. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  690. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  691. package/app/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  692. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  693. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  694. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  695. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  696. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  697. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  698. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  699. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  700. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  701. package/app/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  702. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  703. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  704. package/app/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  705. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  706. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  707. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  708. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  709. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  710. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  711. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  712. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  713. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  714. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  715. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  716. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  717. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  718. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  719. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  720. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  721. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  722. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  723. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  724. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  725. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  726. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  727. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  728. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  729. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  730. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  731. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  732. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  733. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  734. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  735. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  736. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  737. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  738. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  739. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  740. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  741. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  742. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  743. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  744. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  745. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  746. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  747. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  748. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  749. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  750. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  751. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  752. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  753. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  754. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  755. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  756. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  757. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  758. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  759. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  760. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  761. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  762. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  763. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  764. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  765. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  766. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  767. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  768. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  769. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  770. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  771. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  772. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  773. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  774. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  775. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  776. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  777. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  778. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  779. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  780. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  781. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  782. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  783. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  784. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  785. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  786. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  787. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  788. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  789. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  790. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  791. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  792. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  793. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  794. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  795. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  796. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  797. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  798. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  799. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  800. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  801. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  802. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  803. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  804. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  805. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  806. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  807. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  808. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  809. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  810. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  811. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  812. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  813. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  814. package/app/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  815. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  816. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  817. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  818. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  819. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  820. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  821. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  822. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  823. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  824. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  825. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  826. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  827. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  828. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  829. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  830. package/app/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  831. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  832. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  833. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  834. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  835. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  836. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  837. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  838. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  839. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  840. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  841. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  842. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  843. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  844. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  845. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  846. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  847. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  848. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  849. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  850. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  851. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  852. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  853. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  854. package/app/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  855. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  856. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  857. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  858. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  859. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  860. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  861. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  862. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  863. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  864. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  865. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  866. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  867. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  868. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  869. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  870. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  871. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  872. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  873. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  874. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  875. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  876. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  877. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  878. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  879. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  880. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  881. package/app/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  882. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  883. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  884. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  885. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  886. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  887. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  888. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  889. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  890. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  891. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  892. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  893. package/app/node_modules/caniuse-lite/data/features/ping.js +1 -1
  894. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  895. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  896. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  897. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  898. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  899. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  900. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  901. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  902. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  903. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  904. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  905. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  906. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  907. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  908. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  909. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  910. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  911. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  912. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  913. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  914. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  915. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  916. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  917. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  918. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  919. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  920. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  921. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  922. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  923. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  924. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  925. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  926. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  927. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  928. package/app/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  929. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  930. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  931. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  932. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  933. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  934. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  935. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  936. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  937. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  938. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  939. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  940. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  941. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  942. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  943. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  944. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  945. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  946. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  947. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  948. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  949. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  950. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  951. package/app/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  952. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  953. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  954. package/app/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  955. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  956. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  957. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  958. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  959. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  960. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  961. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  962. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  963. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  964. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  965. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  966. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  967. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  968. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  969. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  970. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  971. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  972. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  973. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  974. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  975. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  976. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  977. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  978. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  979. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  980. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  981. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  982. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  983. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  984. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  985. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  986. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  987. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  988. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  989. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  990. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  991. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  992. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  993. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  994. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  995. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  996. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  997. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  998. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  999. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  1000. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  1001. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  1002. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  1003. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  1004. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  1005. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  1006. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  1007. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  1008. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  1009. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  1010. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  1011. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  1012. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  1013. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  1014. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  1015. package/app/node_modules/caniuse-lite/data/features/wav.js +1 -1
  1016. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  1017. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  1018. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  1019. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  1020. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  1021. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  1022. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  1023. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  1024. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  1025. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  1026. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  1027. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  1028. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  1029. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  1030. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  1031. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  1032. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  1033. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  1034. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  1035. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  1036. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  1037. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  1038. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  1039. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  1040. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  1041. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  1042. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  1043. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  1044. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  1045. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  1046. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  1047. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  1048. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  1049. package/app/node_modules/caniuse-lite/data/versionGroups.js +1 -1
  1050. package/app/node_modules/caniuse-lite/package.json +1 -1
  1051. package/app/package.json +1 -1
  1052. package/package.json +1 -1
  1053. package/app/.next-cli-build/server/chunks/7913.js +0 -2
  1054. package/app/.next-cli-build/server/chunks/8402.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/1321-3a69a854a444fcd0.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/763-64b80a1ab0aa3cfc.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/8982-034c1a89a74fd310.js +0 -11
  1058. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-a2112a715423804a.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-0eae4c30300946df.js +0 -1
  1060. /package/app/.next-cli-build/static/{GqCiYVA1XNTqU43gq2Fhm → zfYHuQvzglYJyhsqgUYWW}/_buildManifest.js +0 -0
  1061. /package/app/.next-cli-build/static/{GqCiYVA1XNTqU43gq2Fhm → zfYHuQvzglYJyhsqgUYWW}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";exports.id=1350,exports.ids=[1350],exports.modules={21350:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>Q,GET:()=>O,POST:()=>P});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(55511),m=c.n(l),n=c(28286),o=c(30869),p=c(54603),q=c(24424);let r=o.h0.appPort,s=`http://localhost:${r}/api/mcp/`,t=null,u=async()=>(t||(t=await (0,p.Xj)("9r-cli-auth")),t),v=async a=>{let b=await u();for(let c of a)"string"==typeof c?.url&&c.url.startsWith(s)&&(c.headers={...c.headers||{},"x-9r-cli-token":b});return a},w="gateway",x={coworkEgressAllowedHosts:["*"],disabledBuiltinTools:[],isLocalDevMcpEnabled:!0,isDesktopExtensionEnabled:!0,isDesktopExtensionDirectoryEnabled:!0,isDesktopExtensionSignatureRequired:!1,isClaudeCodeForDesktopEnabled:!0,disableEssentialTelemetry:!0,disableNonessentialTelemetry:!0,disableNonessentialServices:!0},y=()=>{if("darwin"===k().platform()){let a=i().join(k().homedir(),"Library","Application Support");return[i().join(a,"Claude-3p"),i().join(a,"Claude")]}if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return[i().join(a,"Claude-3p"),i().join(b,"Claude-3p"),i().join(a,"Claude"),i().join(b,"Claude")]}return[i().join(k().homedir(),".config","Claude-3p"),i().join(k().homedir(),".config","Claude")]},z=async()=>{let a=y();for(let b of a)try{return await g().access(i().join(b,"configLibrary")),b}catch{}return a[0]},A=()=>y()[0],B=async()=>i().join(await z(),"configLibrary"),C=()=>i().join(A(),"configLibrary"),D=async()=>i().join(await B(),"_meta.json"),E=()=>{if("darwin"===k().platform())return i().join(k().homedir(),"Library","Application Support","Claude");if("win32"===k().platform()){let a=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return i().join(a,"Claude")}return i().join(k().homedir(),".config","Claude")},F=()=>i().join(E(),"claude_desktop_config.json"),G=async()=>{try{let a=(await g().readFile(F(),"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(a)||{}}catch(a){return{}}},H=async a=>{await g().mkdir(E(),{recursive:!0}),await g().writeFile(F(),JSON.stringify(a,null,2))},I=async()=>{let a=await G();return"3p"!==a.deploymentMode&&(a.deploymentMode="3p",await H(a),!0)},J=async()=>{let a=await G();if(!a.mcpServers||"object"!=typeof a.mcpServers)return;let b=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name));for(let c of Object.keys(a.mcpServers))b.has(c)&&delete a.mcpServers[c];0===Object.keys(a.mcpServers).length&&delete a.mcpServers,await H(a)},K=async()=>{for(let a of[...y(),...(()=>{if("darwin"===k().platform())return["/Applications/Claude.app",i().join(k().homedir(),"Applications","Claude.app")];if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.ProgramFiles||"C:\\Program Files";return[i().join(a,"AnthropicClaude"),i().join(b,"Claude"),i().join(b,"AnthropicClaude")]}return[]})()])try{return await g().access(a),!0}catch{}return!1},L=async a=>{try{let b=(await g().readFile(a,"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(b)}catch(a){return null}},M=async()=>{let a=i().join(C(),"_meta.json"),b=await L(a);if(!b||!b.appliedId){let c=await L(await D());if(c?.appliedId)b=c;else{let a=m().randomUUID();b={appliedId:a,entries:[{id:a,name:"Default"}]}}await g().mkdir(C(),{recursive:!0}),await g().writeFile(a,JSON.stringify(b,null,2))}return b};async function N(a){let b=i().join(A(),"config.json"),c={};try{c=JSON.parse(await g().readFile(b,"utf-8"))||{}}catch(a){if("ENOENT"!==a.code)return{error:a.code}}let d={};for(let b of a)b?.name&&(d[b.name]=!0);return c.operonSkipMcpApprovals=d,await g().mkdir(A(),{recursive:!0}),await g().writeFile(b,JSON.stringify(c,null,2)),{written:Object.keys(d).length}}async function O(){try{if(!await K())return e.NextResponse.json({installed:!1,config:null,message:"Claude Desktop (Cowork mode) not detected"});let a=await L(await D()),b=a?.appliedId||null,c=await B(),d=b?i().join(c,`${b}.json`):null,f=d?await L(d):null,g=f?.inferenceGatewayBaseUrl||null,h=Array.isArray(f?.inferenceModels)?f.inferenceModels.map(a=>"string"==typeof a?a:a?.name).filter(Boolean):[],j=Array.isArray(f?.managedMcpServers)?f.managedMcpServers:[],k=!!(f?.inferenceProvider===w&&g),l=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name)),m=j.filter(a=>l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>a.name),o=j.filter(a=>a.custom||!l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>({name:a.name,url:a.url,transport:a.transport,custom:!0}));return e.NextResponse.json({installed:!0,config:f,has9Router:k,configPath:d,cowork:{appliedId:b,baseUrl:g,models:h,provider:f?.inferenceProvider||null,plugins:j.filter(a=>!a.custom&&!(l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/"))).map(a=>{let b=a.toolPolicy?Object.keys(a.toolPolicy):[],c=`${a.name}-`,d=new Set;for(let a of b){let b=a;for(;b.startsWith(c);)b=b.slice(c.length);d.add(b)}let e=n.DEFAULT_PLUGINS.find(b=>b.name===a.name),f=e&&Array.isArray(e.toolNames)?e.toolNames:Array.from(d);return{name:a.name,url:a.url,transport:a.transport,oauth:!!a.oauth,toolNames:f}}),localPlugins:m,customPlugins:o},defaultPlugins:n.DEFAULT_PLUGINS,localStdioPlugins:n.LOCAL_STDIO_PLUGINS})}catch(a){return console.log("Error reading cowork settings:",a),e.NextResponse.json({error:"Failed to read cowork settings"},{status:500})}}async function P(a){try{let{baseUrl:b,apiKey:c,models:d,plugins:f,localPlugins:h,customPlugins:j}=await a.json();if(!b||!c)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let k=Array.isArray(d)?d.filter(a=>"string"==typeof a&&a.trim()):[];if(0===k.length)return e.NextResponse.json({error:"At least one model is required"},{status:400});let l=Array.isArray(f)?f:n.DEFAULT_PLUGINS,m=Array.isArray(h)?h:[],o=(Array.isArray(j)?j:[]).filter(a=>a?.url),p=await v((a=>{let b=Array.isArray(a)?a:[],c=[];for(let a of b){let b=n.LOCAL_STDIO_PLUGINS.find(b=>b.name===a);if(!b)continue;let d={name:b.name,url:`http://localhost:${r}/api/mcp/${b.name}/sse`,transport:"sse"};if(Array.isArray(b.toolNames)&&b.toolNames.length>0){let a=`${b.name}-`,c={};for(let d of b.toolNames)c[d]="allow",c[`${a}${d}`]="allow";d.toolPolicy=c}c.push(d)}return c})(m)),q=await v((a=>{if(!Array.isArray(a))return[];let b=[];for(let c of a)c?.name&&c?.url&&b.push({name:c.name,url:c.url,transport:c.transport||"sse",custom:!0});return b})(o)),s=[...(0,n.buildManagedMcpServers)(l),...p,...q],t=await I(),u=await M(),y=i().join(C(),`${u.appliedId}.json`),z={...x,inferenceProvider:w,inferenceGatewayBaseUrl:b,inferenceGatewayApiKey:c,inferenceModels:k.map(a=>({name:a}))};s.length>0&&(z.managedMcpServers=s),await g().writeFile(y,JSON.stringify(z,null,2));let A=null;try{A=await N(s)}catch(a){A={error:a.message}}try{await J()}catch{}return e.NextResponse.json({success:!0,bootstrapped:t,message:t?"Cowork enabled (3p mode set). Quit & reopen Claude Desktop.":"Cowork settings applied. Quit & reopen Claude Desktop.",configPath:y,skipApprovals:A,localMcp:{applied:m,via:"3p-sse-bridge"}})}catch(a){return console.log("Error applying cowork settings:",a),e.NextResponse.json({error:"Failed to apply cowork settings"},{status:500})}}async function Q(){try{let a=await L(await D());if(!a?.appliedId)return e.NextResponse.json({success:!0,message:"No active config to reset"});let b=i().join(await B(),`${a.appliedId}.json`);try{await g().writeFile(b,JSON.stringify({},null,2))}catch(a){if("ENOENT"!==a.code)throw a}try{await N([])}catch{}try{await J()}catch{}return e.NextResponse.json({success:!0,message:"Cowork config reset"})}catch(a){return console.log("Error resetting cowork settings:",a),e.NextResponse.json({error:"Failed to reset cowork settings"},{status:500})}}(0,q.D)([O,P,Q]),(0,d.A)(O,"003b604983e301bd9c8f7cc3199288c5efcadf873e",null),(0,d.A)(P,"409e399801aca44a20bc2de7ecf7698405de87111a",null),(0,d.A)(Q,"00db9409e244ae2bc928170bc09bf507b5e832b030",null)},28286:a=>{a.exports={DEFAULT_PLUGINS:[{name:"exa",title:"Exa",description:"Real-time web search and code documentation",url:"https://mcp.exa.ai/mcp",transport:"http",oauth:!1,toolNames:["web_search_exa","web_fetch_exa"]},{name:"tavily",title:"Tavily",description:"Real-time web search optimized for LLM agents",url:"https://mcp.tavily.com/mcp",transport:"http",oauth:!0,toolNames:["tavily_search","tavily_extract","tavily_crawl","tavily_map"]}],LOCAL_STDIO_PLUGINS:[{name:"browsermcp",title:"Browser MCP",description:"Control your running Chrome (requires Chrome extension)",extensionUrl:"https://chromewebstore.google.com/detail/browser-mcp-automate-your/bjfgambnhccakkhmkepdoekmckoijdlc",command:"npx",args:["-y","@browsermcp/mcp@latest"],toolNames:["browser_navigate","browser_snapshot","browser_click","browser_type","browser_screenshot","browser_get_console_logs","browser_wait","browser_press_key","browser_go_back","browser_go_forward"]}],buildManagedMcpServers:function(a){let b=Array.isArray(a)?a:[],c=[],d=new Set;for(let a of b){if(!a?.name||!a?.url||d.has(a.name))continue;d.add(a.name);let b={name:a.name,url:a.url,transport:a.transport||(/\/sse(\b|\/)/i.test(a.url)?"sse":"http")};if(a.oauth&&(b.oauth=!0),Array.isArray(a.toolNames)&&a.toolNames.length>0){let c=`${a.name}-`,d=new Set;for(let b of a.toolNames){if("string"!=typeof b||!b)continue;let a=b;for(;a.startsWith(c);)a=a.slice(c.length);d.add(a)}let e={};for(let a of d)e[a]="allow",e[`${c}${a}`]="allow";b.toolPolicy=e}c.push(b)}return c}}},30869:(a,b,c)=>{c.d(b,{UY:()=>h,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,oc:()=>i});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"9router",installCmd:"npm i -g 9router",installCmdLatest:"npm i -g 9router@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20128},h={maxLines:200,pollIntervalMs:1e3},i={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.6-terra",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}}},39006:a=>{a.exports={rE:"0.6.25"}},54603:(a,b,c)=>{c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.n,"machine-id"),m=h().join(k.n,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.n,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}}};
1
+ "use strict";exports.id=1350,exports.ids=[1350],exports.modules={21350:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>Q,GET:()=>O,POST:()=>P});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(55511),m=c.n(l),n=c(28286),o=c(30869),p=c(54603),q=c(24424);let r=o.h0.appPort,s=`http://localhost:${r}/api/mcp/`,t=null,u=async()=>(t||(t=await (0,p.Xj)("9r-cli-auth")),t),v=async a=>{let b=await u();for(let c of a)"string"==typeof c?.url&&c.url.startsWith(s)&&(c.headers={...c.headers||{},"x-9r-cli-token":b});return a},w="gateway",x={coworkEgressAllowedHosts:["*"],disabledBuiltinTools:[],isLocalDevMcpEnabled:!0,isDesktopExtensionEnabled:!0,isDesktopExtensionDirectoryEnabled:!0,isDesktopExtensionSignatureRequired:!1,isClaudeCodeForDesktopEnabled:!0,disableEssentialTelemetry:!0,disableNonessentialTelemetry:!0,disableNonessentialServices:!0},y=()=>{if("darwin"===k().platform()){let a=i().join(k().homedir(),"Library","Application Support");return[i().join(a,"Claude-3p"),i().join(a,"Claude")]}if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return[i().join(a,"Claude-3p"),i().join(b,"Claude-3p"),i().join(a,"Claude"),i().join(b,"Claude")]}return[i().join(k().homedir(),".config","Claude-3p"),i().join(k().homedir(),".config","Claude")]},z=async()=>{let a=y();for(let b of a)try{return await g().access(i().join(b,"configLibrary")),b}catch{}return a[0]},A=()=>y()[0],B=async()=>i().join(await z(),"configLibrary"),C=()=>i().join(A(),"configLibrary"),D=async()=>i().join(await B(),"_meta.json"),E=()=>{if("darwin"===k().platform())return i().join(k().homedir(),"Library","Application Support","Claude");if("win32"===k().platform()){let a=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return i().join(a,"Claude")}return i().join(k().homedir(),".config","Claude")},F=()=>i().join(E(),"claude_desktop_config.json"),G=async()=>{try{let a=(await g().readFile(F(),"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(a)||{}}catch(a){return{}}},H=async a=>{await g().mkdir(E(),{recursive:!0}),await g().writeFile(F(),JSON.stringify(a,null,2))},I=async()=>{let a=await G();return"3p"!==a.deploymentMode&&(a.deploymentMode="3p",await H(a),!0)},J=async()=>{let a=await G();if(!a.mcpServers||"object"!=typeof a.mcpServers)return;let b=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name));for(let c of Object.keys(a.mcpServers))b.has(c)&&delete a.mcpServers[c];0===Object.keys(a.mcpServers).length&&delete a.mcpServers,await H(a)},K=async()=>{for(let a of[...y(),...(()=>{if("darwin"===k().platform())return["/Applications/Claude.app",i().join(k().homedir(),"Applications","Claude.app")];if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.ProgramFiles||"C:\\Program Files";return[i().join(a,"AnthropicClaude"),i().join(b,"Claude"),i().join(b,"AnthropicClaude")]}return[]})()])try{return await g().access(a),!0}catch{}return!1},L=async a=>{try{let b=(await g().readFile(a,"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(b)}catch(a){return null}},M=async()=>{let a=i().join(C(),"_meta.json"),b=await L(a);if(!b||!b.appliedId){let c=await L(await D());if(c?.appliedId)b=c;else{let a=m().randomUUID();b={appliedId:a,entries:[{id:a,name:"Default"}]}}await g().mkdir(C(),{recursive:!0}),await g().writeFile(a,JSON.stringify(b,null,2))}return b};async function N(a){let b=i().join(A(),"config.json"),c={};try{c=JSON.parse(await g().readFile(b,"utf-8"))||{}}catch(a){if("ENOENT"!==a.code)return{error:a.code}}let d={};for(let b of a)b?.name&&(d[b.name]=!0);return c.operonSkipMcpApprovals=d,await g().mkdir(A(),{recursive:!0}),await g().writeFile(b,JSON.stringify(c,null,2)),{written:Object.keys(d).length}}async function O(){try{if(!await K())return e.NextResponse.json({installed:!1,config:null,message:"Claude Desktop (Cowork mode) not detected"});let a=await L(await D()),b=a?.appliedId||null,c=await B(),d=b?i().join(c,`${b}.json`):null,f=d?await L(d):null,g=f?.inferenceGatewayBaseUrl||null,h=Array.isArray(f?.inferenceModels)?f.inferenceModels.map(a=>"string"==typeof a?a:a?.name).filter(Boolean):[],j=Array.isArray(f?.managedMcpServers)?f.managedMcpServers:[],k=!!(f?.inferenceProvider===w&&g),l=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name)),m=j.filter(a=>l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>a.name),o=j.filter(a=>a.custom||!l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>({name:a.name,url:a.url,transport:a.transport,custom:!0}));return e.NextResponse.json({installed:!0,config:f,has9Router:k,configPath:d,cowork:{appliedId:b,baseUrl:g,models:h,provider:f?.inferenceProvider||null,plugins:j.filter(a=>!a.custom&&!(l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/"))).map(a=>{let b=a.toolPolicy?Object.keys(a.toolPolicy):[],c=`${a.name}-`,d=new Set;for(let a of b){let b=a;for(;b.startsWith(c);)b=b.slice(c.length);d.add(b)}let e=n.DEFAULT_PLUGINS.find(b=>b.name===a.name),f=e&&Array.isArray(e.toolNames)?e.toolNames:Array.from(d);return{name:a.name,url:a.url,transport:a.transport,oauth:!!a.oauth,toolNames:f}}),localPlugins:m,customPlugins:o},defaultPlugins:n.DEFAULT_PLUGINS,localStdioPlugins:n.LOCAL_STDIO_PLUGINS})}catch(a){return console.log("Error reading cowork settings:",a),e.NextResponse.json({error:"Failed to read cowork settings"},{status:500})}}async function P(a){try{let{baseUrl:b,apiKey:c,models:d,plugins:f,localPlugins:h,customPlugins:j}=await a.json();if(!b||!c)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let k=Array.isArray(d)?d.filter(a=>"string"==typeof a&&a.trim()):[];if(0===k.length)return e.NextResponse.json({error:"At least one model is required"},{status:400});let l=Array.isArray(f)?f:n.DEFAULT_PLUGINS,m=Array.isArray(h)?h:[],o=(Array.isArray(j)?j:[]).filter(a=>a?.url),p=await v((a=>{let b=Array.isArray(a)?a:[],c=[];for(let a of b){let b=n.LOCAL_STDIO_PLUGINS.find(b=>b.name===a);if(!b)continue;let d={name:b.name,url:`http://localhost:${r}/api/mcp/${b.name}/sse`,transport:"sse"};if(Array.isArray(b.toolNames)&&b.toolNames.length>0){let a=`${b.name}-`,c={};for(let d of b.toolNames)c[d]="allow",c[`${a}${d}`]="allow";d.toolPolicy=c}c.push(d)}return c})(m)),q=await v((a=>{if(!Array.isArray(a))return[];let b=[];for(let c of a)c?.name&&c?.url&&b.push({name:c.name,url:c.url,transport:c.transport||"sse",custom:!0});return b})(o)),s=[...(0,n.buildManagedMcpServers)(l),...p,...q],t=await I(),u=await M(),y=i().join(C(),`${u.appliedId}.json`),z={...x,inferenceProvider:w,inferenceGatewayBaseUrl:b,inferenceGatewayApiKey:c,inferenceModels:k.map(a=>({name:a}))};s.length>0&&(z.managedMcpServers=s),await g().writeFile(y,JSON.stringify(z,null,2));let A=null;try{A=await N(s)}catch(a){A={error:a.message}}try{await J()}catch{}return e.NextResponse.json({success:!0,bootstrapped:t,message:t?"Cowork enabled (3p mode set). Quit & reopen Claude Desktop.":"Cowork settings applied. Quit & reopen Claude Desktop.",configPath:y,skipApprovals:A,localMcp:{applied:m,via:"3p-sse-bridge"}})}catch(a){return console.log("Error applying cowork settings:",a),e.NextResponse.json({error:"Failed to apply cowork settings"},{status:500})}}async function Q(){try{let a=await L(await D());if(!a?.appliedId)return e.NextResponse.json({success:!0,message:"No active config to reset"});let b=i().join(await B(),`${a.appliedId}.json`);try{await g().writeFile(b,JSON.stringify({},null,2))}catch(a){if("ENOENT"!==a.code)throw a}try{await N([])}catch{}try{await J()}catch{}return e.NextResponse.json({success:!0,message:"Cowork config reset"})}catch(a){return console.log("Error resetting cowork settings:",a),e.NextResponse.json({error:"Failed to reset cowork settings"},{status:500})}}(0,q.D)([O,P,Q]),(0,d.A)(O,"00f971fce23ca01d465d3a5773254aa03f36c2070a",null),(0,d.A)(P,"40a96fa5aa2c8f45a57626dcac27bb207a7b635cc7",null),(0,d.A)(Q,"00ea8734e41a5421bb5ef87dc3db40eba9c6cfceef",null)},28286:a=>{a.exports={DEFAULT_PLUGINS:[{name:"exa",title:"Exa",description:"Real-time web search and code documentation",url:"https://mcp.exa.ai/mcp",transport:"http",oauth:!1,toolNames:["web_search_exa","web_fetch_exa"]},{name:"tavily",title:"Tavily",description:"Real-time web search optimized for LLM agents",url:"https://mcp.tavily.com/mcp",transport:"http",oauth:!0,toolNames:["tavily_search","tavily_extract","tavily_crawl","tavily_map"]}],LOCAL_STDIO_PLUGINS:[{name:"browsermcp",title:"Browser MCP",description:"Control your running Chrome (requires Chrome extension)",extensionUrl:"https://chromewebstore.google.com/detail/browser-mcp-automate-your/bjfgambnhccakkhmkepdoekmckoijdlc",command:"npx",args:["-y","@browsermcp/mcp@latest"],toolNames:["browser_navigate","browser_snapshot","browser_click","browser_type","browser_screenshot","browser_get_console_logs","browser_wait","browser_press_key","browser_go_back","browser_go_forward"]}],buildManagedMcpServers:function(a){let b=Array.isArray(a)?a:[],c=[],d=new Set;for(let a of b){if(!a?.name||!a?.url||d.has(a.name))continue;d.add(a.name);let b={name:a.name,url:a.url,transport:a.transport||(/\/sse(\b|\/)/i.test(a.url)?"sse":"http")};if(a.oauth&&(b.oauth=!0),Array.isArray(a.toolNames)&&a.toolNames.length>0){let c=`${a.name}-`,d=new Set;for(let b of a.toolNames){if("string"!=typeof b||!b)continue;let a=b;for(;a.startsWith(c);)a=a.slice(c.length);d.add(a)}let e={};for(let a of d)e[a]="allow",e[`${c}${a}`]="allow";b.toolPolicy=e}c.push(b)}return c}}},30869:(a,b,c)=>{c.d(b,{UY:()=>h,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,oc:()=>i});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"9router",installCmd:"npm i -g 9router",installCmdLatest:"npm i -g 9router@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20128},h={maxLines:200,pollIntervalMs:1e3},i={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.6-terra",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}}},39006:a=>{a.exports={rE:"0.6.27"}},54603:(a,b,c)=>{c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.n,"machine-id"),m=h().join(k.n,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.n,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}}};
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=1757,exports.ids=[1757],exports.modules={21757:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>A,GET:()=>x,POST:()=>z});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(21820),k=c.n(j),l=c(42339),m=c(92182),n=c(24424);let o=(0,g.promisify)(f.exec),p=(a,b)=>{if(!a)return null;try{let c=a.nextUrl||("string"==typeof a.url?new URL(a.url):null);return c?.searchParams?.get(b)||null}catch{return null}},q=a=>!0===a||"true"===a||"1"===a,r=a=>{try{return{home:(0,m.Yc)(a)}}catch(a){return{error:a.message}}},s=async a=>{try{return await i().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}},t=a=>s(a.configPath),u=async(a,b)=>{a.isDefault&&await i().mkdir(a.dir,{recursive:!0}),await i().writeFile(a.configPath,b)},v=async(a,b)=>{if(!b)return;a.isDefault&&await i().mkdir(a.dir,{recursive:!0});let c=(0,l.C1)(await s(a.envPath),"OPENAI_API_KEY",b);await i().writeFile(a.envPath,c)},w=async()=>{try{let a="win32"===k().platform();return await o(a?"where hermes":"which hermes",{windowsHide:!0}),!0}catch{try{return await i().access((0,m.Yc)(null).configPath),!0}catch{return!1}}};async function x(a){try{if(!await w())return e.NextResponse.json({installed:!1,settings:null,message:"Hermes Agent is not installed"});let{home:b,error:c}=r(p(a,"profile"));if(c)return e.NextResponse.json({error:c},{status:400});if(!b.isDefault&&!await (0,m.U1)(b.dir))return e.NextResponse.json({error:`Hermes profile "${b.name}" not found`},{status:404});let d=await t(b),f=(0,l.Gx)(d),g=(0,l.dp)(d),h=(0,l.hh)(d),i=(0,l.EW)(d);return e.NextResponse.json({installed:!0,profile:{name:b.name,dir:b.dir,isDefault:b.isDefault},settings:{model:f,delegation:g,auxiliary:h,stt:i},has9Router:(0,l.DN)(f)||(0,l.DN)(g)||Object.values(h).some(l.DN),has9RouterStt:(0,l.ef)(i),configPath:b.configPath})}catch(a){return console.log("Error checking hermes settings:",a),e.NextResponse.json({error:"Failed to check hermes settings"},{status:500})}}let y=async({normalizedBaseUrl:a,apiKey:b,model:c})=>{let d=await (0,m.Bn)(),f=[];for(let e of d){let d=(0,m.Yc)(e.name);try{let g=await t(d),h=(0,l.Gx)(g);if(h?.default&&(0,l.lP)(h)){g=(0,l.Wy)(g,(0,l.bl)(h.default,a));let c=(0,l.dp)(g);for(let[b,d]of(c?.model&&(0,l.lP)(c)&&(g=(0,l.P5)(g,(0,l.W3)(c.model,a))),Object.entries((0,l.hh)(g))))d?.model&&(0,l.lP)(d)&&(g=(0,l.K)(g,b,(0,l.E3)(b,d.model,a)));await u(d,g),await v(d,b),f.push({profile:e.name,status:"updated",model:h.default})}else h?.default?f.push({profile:e.name,status:"skipped",reason:`main model uses provider "${h.provider||"unknown"}" — configure this profile individually`}):c?(g=(0,l.Wy)(g,(0,l.bl)(c,a)),await u(d,g),await v(d,b),f.push({profile:e.name,status:"updated",model:c})):f.push({profile:e.name,status:"skipped",reason:"no main model configured"})}catch(a){f.push({profile:e.name,status:"failed",reason:a.message})}}let g=f.filter(a=>"updated"===a.status).length;return e.NextResponse.json({success:g>0,bulk:!0,results:f,updated:g,skipped:f.length-g,message:`Updated endpoint on ${g} profile(s)`})};async function z(a){try{let b=await a.json(),{baseUrl:c,apiKey:d,model:f,selections:g,audio:h}=b,i=Array.isArray(g)&&g.some(a=>a?.role&&a?.model)?g.filter(a=>a?.role&&a?.model):f?[{role:"default",model:f}]:[],j=i.find(a=>"default"===a.role);if(!c||!j&&!h)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let k=!!h&&q(h.enabled),n="string"==typeof h?.model?h.model.trim():"";if(k&&!n)return e.NextResponse.json({error:"audio.model is required when enabling audio transcription"},{status:400});let o=c.endsWith("/v1")?c:`${c}/v1`;if(q(b.applyToAll??p(a,"applyToAll")))return await y({normalizedBaseUrl:o,apiKey:d,model:j?.model});let{home:s,error:w}=r(b.profile??p(a,"profile"));if(w)return e.NextResponse.json({error:w},{status:400});if(!s.isDefault&&!await (0,m.U1)(s.dir))return e.NextResponse.json({error:`Hermes profile "${s.name}" not found`},{status:404});let x=await t(s);for(let{role:a,model:b}of i)x="default"===a?(0,l.Wy)(x,(0,l.bl)(b,o)):"delegation"===a?(0,l.P5)(x,(0,l.W3)(b,o)):(0,l.K)(x,a,(0,l.E3)(a,b,o));return h&&(k?x=(0,l.V1)(x,n,o):(0,l.ef)((0,l.EW)(x))&&(x=(0,l._g)(x))),await u(s,x),await v(s,d),e.NextResponse.json({success:!0,message:s.isDefault?"Hermes settings applied successfully!":`Hermes settings applied to profile "${s.name}"!`,profile:{name:s.name,dir:s.dir,isDefault:s.isDefault},stt9Router:(0,l.ef)((0,l.EW)(x)),configPath:s.configPath})}catch(a){return console.log("Error updating hermes settings:",a),e.NextResponse.json({error:"Failed to update hermes settings"},{status:500})}}async function A(a){try{let b=null;if(a&&"function"==typeof a.json)try{b=await a.json()}catch{b=null}let{home:c,error:d}=r(b?.profile??p(a,"profile"));if(d)return e.NextResponse.json({error:d},{status:400});if(!c.isDefault&&!await (0,m.U1)(c.dir))return e.NextResponse.json({error:`Hermes profile "${c.name}" not found`},{status:404});let f="";try{f=await i().readFile(c.configPath,"utf-8")}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,profile:c.name,message:"No config file to reset"});throw a}let g={model:!1,delegation:!1,auxiliary:[],stt:!1},h=[],j=(0,l.Gx)(f);j&&(0,l.lP)(j)?(f=(0,l.Fj)(f),g.model=!0):j&&h.push("model");let k=(0,l.dp)(f);for(let[a,b]of(k&&(0,l.lP)(k)?(f=(0,l.IP)(f),g.delegation=!0):k&&h.push("delegation"),Object.entries((0,l.hh)(f))))(0,l.lP)(b)&&(f=(0,l.$d)(f,a),g.auxiliary.push(a));let n=(0,l.EW)(f);n&&(0,l.ef)(n)?(f=(0,l._g)(f),g.stt=!0,(0,l.EW)(f)&&h.push("stt")):n&&h.push("stt"),f=f.replace(/^\n+/,""),await u(c,f);let o=c.isDefault?"":` in profile "${c.name}"`;return e.NextResponse.json({success:!0,profile:c.name,removed:g,kept:h,message:`9router model blocks removed${o}`})}catch(a){return console.log("Error resetting hermes settings:",a),e.NextResponse.json({error:"Failed to reset hermes settings"},{status:500})}}(0,n.D)([x,z,A]),(0,d.A)(x,"40b2ea0fcc791dd3bbe72583c0f12ccb50b4efe7e1",null),(0,d.A)(z,"40324acde44d381c804dc9742f002a342471e03ed7",null),(0,d.A)(A,"40de2c6faf614248da7b153fcf9db79dd508ed2796",null)},42339:(a,b,c)=>{c.d(b,{$d:()=>r,C1:()=>v,DN:()=>w,E3:()=>k,EW:()=>C,Fj:()=>u,Gx:()=>m,IP:()=>p,K:()=>q,P5:()=>o,V1:()=>G,W3:()=>j,Wy:()=>n,_g:()=>H,bl:()=>i,dp:()=>t,ef:()=>D,hh:()=>s,lP:()=>x});let d=/^model:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,e=/^model:[ \t]*[^\r\n]*\r?\n?/m,f=/^delegation:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,g=/^auxiliary:[ \t]*\r?\n((?:(?:[ \t]+.*\r?\n?)|(?:[ \t]*\r?\n))*)/m,h=a=>RegExp(`^ ${a}:[ \\t]*\\r?\\n(?:(?:[ \\t]{4,}.*\\r?\\n?)|(?:[ \\t]*\\r?\\n))*`,"m"),i=(a,b)=>`model:
1
+ "use strict";exports.id=1757,exports.ids=[1757],exports.modules={21757:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>A,GET:()=>x,POST:()=>z});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(21820),k=c.n(j),l=c(42339),m=c(92182),n=c(24424);let o=(0,g.promisify)(f.exec),p=(a,b)=>{if(!a)return null;try{let c=a.nextUrl||("string"==typeof a.url?new URL(a.url):null);return c?.searchParams?.get(b)||null}catch{return null}},q=a=>!0===a||"true"===a||"1"===a,r=a=>{try{return{home:(0,m.Yc)(a)}}catch(a){return{error:a.message}}},s=async a=>{try{return await i().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}},t=a=>s(a.configPath),u=async(a,b)=>{a.isDefault&&await i().mkdir(a.dir,{recursive:!0}),await i().writeFile(a.configPath,b)},v=async(a,b)=>{if(!b)return;a.isDefault&&await i().mkdir(a.dir,{recursive:!0});let c=(0,l.C1)(await s(a.envPath),"OPENAI_API_KEY",b);await i().writeFile(a.envPath,c)},w=async()=>{try{let a="win32"===k().platform();return await o(a?"where hermes":"which hermes",{windowsHide:!0}),!0}catch{try{return await i().access((0,m.Yc)(null).configPath),!0}catch{return!1}}};async function x(a){try{if(!await w())return e.NextResponse.json({installed:!1,settings:null,message:"Hermes Agent is not installed"});let{home:b,error:c}=r(p(a,"profile"));if(c)return e.NextResponse.json({error:c},{status:400});if(!b.isDefault&&!await (0,m.U1)(b.dir))return e.NextResponse.json({error:`Hermes profile "${b.name}" not found`},{status:404});let d=await t(b),f=(0,l.Gx)(d),g=(0,l.dp)(d),h=(0,l.hh)(d),i=(0,l.EW)(d);return e.NextResponse.json({installed:!0,profile:{name:b.name,dir:b.dir,isDefault:b.isDefault},settings:{model:f,delegation:g,auxiliary:h,stt:i},has9Router:(0,l.DN)(f)||(0,l.DN)(g)||Object.values(h).some(l.DN),has9RouterStt:(0,l.ef)(i),configPath:b.configPath})}catch(a){return console.log("Error checking hermes settings:",a),e.NextResponse.json({error:"Failed to check hermes settings"},{status:500})}}let y=async({normalizedBaseUrl:a,apiKey:b,model:c})=>{let d=await (0,m.Bn)(),f=[];for(let e of d){let d=(0,m.Yc)(e.name);try{let g=await t(d),h=(0,l.Gx)(g);if(h?.default&&(0,l.lP)(h)){g=(0,l.Wy)(g,(0,l.bl)(h.default,a));let c=(0,l.dp)(g);for(let[b,d]of(c?.model&&(0,l.lP)(c)&&(g=(0,l.P5)(g,(0,l.W3)(c.model,a))),Object.entries((0,l.hh)(g))))d?.model&&(0,l.lP)(d)&&(g=(0,l.K)(g,b,(0,l.E3)(b,d.model,a)));await u(d,g),await v(d,b),f.push({profile:e.name,status:"updated",model:h.default})}else h?.default?f.push({profile:e.name,status:"skipped",reason:`main model uses provider "${h.provider||"unknown"}" — configure this profile individually`}):c?(g=(0,l.Wy)(g,(0,l.bl)(c,a)),await u(d,g),await v(d,b),f.push({profile:e.name,status:"updated",model:c})):f.push({profile:e.name,status:"skipped",reason:"no main model configured"})}catch(a){f.push({profile:e.name,status:"failed",reason:a.message})}}let g=f.filter(a=>"updated"===a.status).length;return e.NextResponse.json({success:g>0,bulk:!0,results:f,updated:g,skipped:f.length-g,message:`Updated endpoint on ${g} profile(s)`})};async function z(a){try{let b=await a.json(),{baseUrl:c,apiKey:d,model:f,selections:g,audio:h}=b,i=Array.isArray(g)&&g.some(a=>a?.role&&a?.model)?g.filter(a=>a?.role&&a?.model):f?[{role:"default",model:f}]:[],j=i.find(a=>"default"===a.role);if(!c||!j&&!h)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let k=!!h&&q(h.enabled),n="string"==typeof h?.model?h.model.trim():"";if(k&&!n)return e.NextResponse.json({error:"audio.model is required when enabling audio transcription"},{status:400});let o=c.endsWith("/v1")?c:`${c}/v1`;if(q(b.applyToAll??p(a,"applyToAll")))return await y({normalizedBaseUrl:o,apiKey:d,model:j?.model});let{home:s,error:w}=r(b.profile??p(a,"profile"));if(w)return e.NextResponse.json({error:w},{status:400});if(!s.isDefault&&!await (0,m.U1)(s.dir))return e.NextResponse.json({error:`Hermes profile "${s.name}" not found`},{status:404});let x=await t(s);for(let{role:a,model:b}of i)x="default"===a?(0,l.Wy)(x,(0,l.bl)(b,o)):"delegation"===a?(0,l.P5)(x,(0,l.W3)(b,o)):(0,l.K)(x,a,(0,l.E3)(a,b,o));return h&&(k?x=(0,l.V1)(x,n,o):(0,l.ef)((0,l.EW)(x))&&(x=(0,l._g)(x))),await u(s,x),await v(s,d),e.NextResponse.json({success:!0,message:s.isDefault?"Hermes settings applied successfully!":`Hermes settings applied to profile "${s.name}"!`,profile:{name:s.name,dir:s.dir,isDefault:s.isDefault},stt9Router:(0,l.ef)((0,l.EW)(x)),configPath:s.configPath})}catch(a){return console.log("Error updating hermes settings:",a),e.NextResponse.json({error:"Failed to update hermes settings"},{status:500})}}async function A(a){try{let b=null;if(a&&"function"==typeof a.json)try{b=await a.json()}catch{b=null}let{home:c,error:d}=r(b?.profile??p(a,"profile"));if(d)return e.NextResponse.json({error:d},{status:400});if(!c.isDefault&&!await (0,m.U1)(c.dir))return e.NextResponse.json({error:`Hermes profile "${c.name}" not found`},{status:404});let f="";try{f=await i().readFile(c.configPath,"utf-8")}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,profile:c.name,message:"No config file to reset"});throw a}let g={model:!1,delegation:!1,auxiliary:[],stt:!1},h=[],j=(0,l.Gx)(f);j&&(0,l.lP)(j)?(f=(0,l.Fj)(f),g.model=!0):j&&h.push("model");let k=(0,l.dp)(f);for(let[a,b]of(k&&(0,l.lP)(k)?(f=(0,l.IP)(f),g.delegation=!0):k&&h.push("delegation"),Object.entries((0,l.hh)(f))))(0,l.lP)(b)&&(f=(0,l.$d)(f,a),g.auxiliary.push(a));let n=(0,l.EW)(f);n&&(0,l.ef)(n)?(f=(0,l._g)(f),g.stt=!0,(0,l.EW)(f)&&h.push("stt")):n&&h.push("stt"),f=f.replace(/^\n+/,""),await u(c,f);let o=c.isDefault?"":` in profile "${c.name}"`;return e.NextResponse.json({success:!0,profile:c.name,removed:g,kept:h,message:`9router model blocks removed${o}`})}catch(a){return console.log("Error resetting hermes settings:",a),e.NextResponse.json({error:"Failed to reset hermes settings"},{status:500})}}(0,n.D)([x,z,A]),(0,d.A)(x,"40260eb0ab1a226087b488083e5265a3920cefa13c",null),(0,d.A)(z,"406a31a4c954e50bcb4dd626a544b613be255e360e",null),(0,d.A)(A,"4010ab38716421e80c7bcd4b52c3f1b28f821d0f3f",null)},42339:(a,b,c)=>{c.d(b,{$d:()=>r,C1:()=>v,DN:()=>w,E3:()=>k,EW:()=>C,Fj:()=>u,Gx:()=>m,IP:()=>p,K:()=>q,P5:()=>o,V1:()=>G,W3:()=>j,Wy:()=>n,_g:()=>H,bl:()=>i,dp:()=>t,ef:()=>D,hh:()=>s,lP:()=>x});let d=/^model:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,e=/^model:[ \t]*[^\r\n]*\r?\n?/m,f=/^delegation:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,g=/^auxiliary:[ \t]*\r?\n((?:(?:[ \t]+.*\r?\n?)|(?:[ \t]*\r?\n))*)/m,h=a=>RegExp(`^ ${a}:[ \\t]*\\r?\\n(?:(?:[ \\t]{4,}.*\\r?\\n?)|(?:[ \\t]*\\r?\\n))*`,"m"),i=(a,b)=>`model:
2
2
  default: "${a}"
3
3
  provider: "custom"
4
4
  base_url: "${b}"
@@ -1 +1 @@
1
- exports.id=2220,exports.ids=[2220],exports.modules={3771:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.isInSubnet=function(a){return!(this.subnetMask<a.subnetMask)&&e.call(this,a)},b.isHostInSubnet=e,b.isGloballyReachable=function(a){let b=null;for(let c=0;c<a.length;c++){let d=a[c];null!==d.reachable&&e.call(this,d.subnet)&&(null===b||d.subnet.subnetMask>b.subnet.subnetMask)&&(b=d)}return null===b||b.reachable},b.offsetBigInt=function(a,b,c,e){if("number"==typeof b&&!Number.isSafeInteger(b)||"number"!=typeof b&&"bigint"!=typeof b)throw new d.AddressError(`${e} offset must be an integer`);let f=a+BigInt(b);if(f<BigInt(0)||f>(BigInt(1)<<BigInt(c))-BigInt(1))throw new d.AddressError(`${e} offset leaves the address space`);return f},b.isCorrect=function(a){return function(){return this.addressMinusSuffix===this.correctForm()&&(this.subnetMask===a&&!this.parsedSubnet||this.parsedSubnet===String(this.subnetMask))}},b.prefixLengthFromMask=function(a,b){let c=a.toString(2).padStart(b,"0");if(c.length>b)throw new d.AddressError("Invalid subnet mask.");let e=c.indexOf("0");if(-1===e)return b;if(c.slice(e).includes("1"))throw new d.AddressError("Invalid subnet mask.");return e},b.assertByteArray=function(a,b,c,e){if(a.length!==b)throw new d.AddressError(`${c} addresses require exactly ${b} bytes`);for(let b=0;b<a.length;b++)if(!Number.isInteger(a[b])||a[b]<e||a[b]>255)throw new d.AddressError(`All bytes must be integers between ${e} and 255`)},b.numberToPaddedHex=f,b.stringToPaddedHex=function(a){return f(parseInt(a,10))},b.testBit=function(a,b){let{length:c}=a;if(b>=c)return!1;let d=c-b-1;return"1"===a.substring(d,d+1)};let d=c(66763);function e(a){return this.binaryZeroPad().length===a.binaryZeroPad().length&&this.mask(a.subnetMask)===a.mask()}function f(a){return a.toString(16).padStart(2,"0")}},9923:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(79428),e={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};function f(a){var b;return"number"==typeof a&&isFinite(a)&&"number"==typeof(b=a)&&isFinite(b)&&Math.floor(b)===b}function g(a,b){if("number"==typeof a){if(!f(a)||a<0)throw Error(b?e.INVALID_OFFSET:e.INVALID_LENGTH)}else throw Error(b?e.INVALID_OFFSET_NON_NUMBER:e.INVALID_LENGTH_NON_NUMBER)}b.ERRORS=e,b.checkEncoding=function(a){if(!d.Buffer.isEncoding(a))throw Error(e.INVALID_ENCODING)},b.isFiniteInteger=f,b.checkLengthValue=function(a){g(a,!1)},b.checkOffsetValue=function(a){g(a,!0)},b.checkTargetOffset=function(a,b){if(a<0||a>b.length)throw Error(e.INVALID_TARGET_OFFSET)},b.bigIntAndBufferInt64Check=function(a){if("u"<typeof BigInt)throw Error("Platform does not support JS BigInt type.");if(void 0===d.Buffer.prototype[a])throw Error(`Platform does not support Buffer.prototype.${a}.`)}},13369:(a,b,c)=>{"use strict";let d,e=c(21820),f=c(83997),g=c(52760),{env:h}=process;function i(a){return 0!==a&&{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3}}function j(a,b){if(0===d)return 0;if(g("color=16m")||g("color=full")||g("color=truecolor"))return 3;if(g("color=256"))return 2;if(a&&!b&&void 0===d)return 0;let c=d||0;if("dumb"===h.TERM)return c;if("win32"===process.platform){let a=e.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in h)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(a=>a in h)||"codeship"===h.CI_NAME?1:c;if("TEAMCITY_VERSION"in h)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION);if("truecolor"===h.COLORTERM)return 3;if("TERM_PROGRAM"in h){let a=parseInt((h.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(h.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM)||"COLORTERM"in h?1:c}g("no-color")||g("no-colors")||g("color=false")||g("color=never")?d=0:(g("color")||g("colors")||g("color=true")||g("color=always"))&&(d=1),"FORCE_COLOR"in h&&(d="true"===h.FORCE_COLOR?1:"false"===h.FORCE_COLOR?0:0===h.FORCE_COLOR.length?1:Math.min(parseInt(h.FORCE_COLOR,10),3)),a.exports={supportsColor:function(a){return i(j(a,a&&a.isTTY))},stdout:i(j(!0,f.isatty(1))),stderr:i(j(!0,f.isatty(2)))}},16607:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.ADDRESS_BOUNDARY=void 0,b.groupPossibilities=h,b.padGroup=i,b.simpleRegularExpression=function(a){let b=[];a.forEach((a,c)=>{0===parseInt(a,16)&&b.push(c)});let c=b.map(b=>a.map((a,c)=>{if(c===b){let b=0===c||c===g.GROUPS-1?":":"";return h([i(a),b])}return i(a)}).join(":"));return c.push(a.map(i).join(":")),h(c)},b.possibleElisions=function(a,b,c){let d=[];b||c||d.push("::"),b&&c&&d.push(""),(c&&!b||!c&&b)&&d.push(":"),d.push(`${b?"":":"}(:0{1,4}){1,${a-1}}`),d.push(`(0{1,4}:){1,${a-1}}${c?"":":"}`),d.push(`(0{1,4}:){${a-1}}0{1,4}`);for(let b=1;b<a-1;b++)for(let c=1;c<a-b;c++)d.push(`(0{1,4}:){${c}}:(0{1,4}:){${a-c-b-1}}0{1,4}`);return h(d)};let g=f(c(35538));function h(a){return`(${a.join("|")})`}function i(a){return a.length<4?`0{0,${4-a.length}}${a}`:a}b.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]"},22999:a=>{function b(a,b,c,d){return Math.round(a/c)+" "+d+(b>=1.5*c?"s":"")}a.exports=function(a,c){c=c||{};var d,e,f,g,h=typeof a;if("string"===h&&a.length>0){var i=a;if(!((i=String(i)).length>100)){var j=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(j){var k=parseFloat(j[1]);switch((j[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*k;case"weeks":case"week":case"w":return 6048e5*k;case"days":case"day":case"d":return 864e5*k;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*k;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*k;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*k;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return k;default:break}}}return}if("number"===h&&isFinite(a)){return c.long?(e=Math.abs(d=a))>=864e5?b(d,e,864e5,"day"):e>=36e5?b(d,e,36e5,"hour"):e>=6e4?b(d,e,6e4,"minute"):e>=1e3?b(d,e,1e3,"second"):d+" ms":(g=Math.abs(f=a))>=864e5?Math.round(f/864e5)+"d":g>=36e5?Math.round(f/36e5)+"h":g>=6e4?Math.round(f/6e4)+"m":g>=1e3?Math.round(f/1e3)+"s":f+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))}},28908:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.ReceiveBuffer=void 0;class c{constructor(a=4096){this.buffer=Buffer.allocUnsafe(a),this.offset=0,this.originalSize=a}get length(){return this.offset}append(a){if(!Buffer.isBuffer(a))throw Error("Attempted to append a non-buffer instance to ReceiveBuffer.");if(this.offset+a.length>=this.buffer.length){let b=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+a.length)),b.copy(this.buffer)}return a.copy(this.buffer,this.offset),this.offset+=a.length}peek(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");return this.buffer.slice(0,a)}get(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");let b=Buffer.allocUnsafe(a);return this.buffer.slice(0,a).copy(b),this.buffer.copyWithin(0,a,a+this.offset-a),this.offset-=a,b}}b.ReceiveBuffer=c},31034:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.validateSocksClientOptions=function(a,b=["connect","bind","associate"]){if(!e.SocksCommand[a.command])throw new d.SocksClientError(e.ERRORS.InvalidSocksCommand,a);if(-1===b.indexOf(a.command))throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandForOperation,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!k(a.proxy))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);if(i(a.proxy,a),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a);if(a.existing_socket&&!(a.existing_socket instanceof f.Duplex))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsExistingSocket,a)},b.validateSocksClientChainOptions=function(a){if("connect"!==a.command)throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandChain,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!(a.proxies&&Array.isArray(a.proxies)&&a.proxies.length>=2))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxiesLength,a);if(a.proxies.forEach(b=>{if(!k(b))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);i(b,a)}),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a)},b.ipv4ToInt32=function(a){return new g.Address4(a).toArray().reduce((a,b)=>(a<<8)+b,0)>>>0},b.int32ToIpv4=function(a){return[a>>>24&255,a>>>16&255,a>>>8&255,255&a].join(".")},b.ipToBuffer=function(a){if(h.isIPv4(a)){let b=new g.Address4(a);return Buffer.from(b.toArray())}if(h.isIPv6(a)){let b=new g.Address6(a);return Buffer.from(b.canonicalForm().split(":").map(a=>a.padStart(4,"0")).join(""),"hex")}throw Error("Invalid IP address format")};let d=c(84157),e=c(80534),f=c(27910),g=c(71252),h=c(91645);function i(a,b){if(void 0!==a.custom_auth_method){if(a.custom_auth_method<e.SOCKS5_CUSTOM_AUTH_START||a.custom_auth_method>e.SOCKS5_CUSTOM_AUTH_END)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthRange,b);if(void 0===a.custom_auth_request_handler||"function"!=typeof a.custom_auth_request_handler||void 0===a.custom_auth_response_size||void 0===a.custom_auth_response_handler||"function"!=typeof a.custom_auth_response_handler)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,b)}}function j(a){return a&&"string"==typeof a.host&&256>Buffer.byteLength(a.host)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535}function k(a){return a&&("string"==typeof a.host||"string"==typeof a.ipaddress)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535&&(4===a.type||5===a.type)}function l(a){return"number"==typeof a&&a>0}},31644:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SPECIAL_PURPOSE=b.RE_SUBNET_STRING=b.RE_ADDRESS=b.GROUPS=b.BITS=void 0,b.BITS=32,b.GROUPS=4,b.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$/g,b.RE_SUBNET_STRING=/\/\d{1,2}$/,b.SPECIAL_PURPOSE=[["0.0.0.0/8","This network",!1],["0.0.0.0/32","This host on this network",!1],["10.0.0.0/8","Private-Use",!1],["100.64.0.0/10","Shared Address Space",!1],["127.0.0.0/8","Loopback",!1],["169.254.0.0/16","Link Local",!1],["172.16.0.0/12","Private-Use",!1],["192.0.0.0/24","IETF Protocol Assignments",!1],["192.0.0.0/29","IPv4 Service Continuity Prefix",!1],["192.0.0.8/32","IPv4 dummy address",!1],["192.0.0.9/32","Port Control Protocol Anycast",!0],["192.0.0.10/32","Traversal Using Relays around NAT Anycast",!0],["192.0.0.170/32","NAT64/DNS64 Discovery",!1],["192.0.0.171/32","NAT64/DNS64 Discovery",!1],["192.0.2.0/24","Documentation (TEST-NET-1)",!1],["192.31.196.0/24","AS112-v4",!0],["192.52.193.0/24","AMT",!0],["192.88.99.0/24","Deprecated (6to4 Relay Anycast)",null],["192.88.99.2/32","6a44-relay anycast address",!1],["192.168.0.0/16","Private-Use",!1],["192.175.48.0/24","Direct Delegation AS112 Service",!0],["198.18.0.0/15","Benchmarking",!1],["198.51.100.0/24","Documentation (TEST-NET-2)",!1],["203.0.113.0/24","Documentation (TEST-NET-3)",!1],["240.0.0.0/4","Reserved",!1],["255.255.255.255/32","Limited Broadcast",!1]]},32220:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b},g=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksProxyAgent=void 0;let h=c(35467),i=c(47099),j=g(c(78359)),k=f(c(14985)),l=f(c(91645)),m=f(c(34631)),n=c(1932),o=(0,j.default)("socks-proxy-agent");class p extends i.Agent{constructor(a,b){super(b);let{proxy:c,lookup:d}=function(a){let b=!1,c=5,d=a.hostname,e=parseInt(a.port,10)||1080;switch(a.protocol.replace(":","")){case"socks4":b=!0,c=4;break;case"socks4a":c=4;break;case"socks5":b=!0,c=5;break;case"socks":case"socks5h":c=5;break;default:throw TypeError(`A "socks" protocol must be specified! Got: ${String(a.protocol)}`)}let f={host:d,port:e,type:c};return a.username&&Object.defineProperty(f,"userId",{value:decodeURIComponent(a.username),enumerable:!1}),null!=a.password&&Object.defineProperty(f,"password",{value:decodeURIComponent(a.password),enumerable:!1}),{lookup:b,proxy:f}}("string"==typeof a?new n.URL(a):a);this.shouldLookup=d,this.proxy=c,this.timeout=b?.timeout??null,this.socketOptions=b?.socketOptions??null}async connect(a,b){let{shouldLookup:c,proxy:d,timeout:e}=this;if(!b.host)throw Error("No `host` defined!");let{host:f}=b,{port:g,lookup:i=k.lookup}=b;c&&(f=await new Promise((a,b)=>{i(f,{},(c,d)=>{c?b(c):a(d)})}));let j={proxy:d,destination:{host:f,port:"number"==typeof g?g:parseInt(g,10)},command:"connect",timeout:e??void 0,socket_options:this.socketOptions??void 0},n=b=>{a.destroy(),p.destroy(),b&&b.destroy()};o("Creating socks proxy connection: %o",j);let{socket:p}=await h.SocksClient.createConnection(j);if(o("Successfully created socks proxy connection"),null!==e&&(p.setTimeout(e),p.on("timeout",()=>n())),b.secureEndpoint){o("Upgrading socket connection to TLS");let a=m.connect({...function(a,...b){let c,d={};for(c in a)b.includes(c)||(d[c]=a[c]);return d}(void 0===b.servername&&b.host&&!l.isIP(b.host)?{...b,servername:b.host}:b,"host","path","port"),socket:p});return a.once("error",b=>{o("Socket TLS error",b.message),n(a)}),a}return p}}p.protocols=["socks","socks4","socks4a","socks5","socks5h"],b.SocksProxyAgent=p},34905:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address4=void 0;let g=f(c(3771)),h=f(c(31644)),i=c(66763),j=g.isCorrect(h.BITS);class k{constructor(a){this.addressMinusSuffix="",this.groups=h.GROUPS,this.parsedAddress=[],this.parsedSubnet="",this.subnet="/32",this.subnetMask=32,this.v4=!0,this.isCorrect=j,this.isInSubnet=g.isInSubnet,this.isHostInSubnet=g.isHostInSubnet,this.address=a;let b=h.RE_SUBNET_STRING.exec(a);if(b){if(this.parsedSubnet=b[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,this.subnetMask<0||this.subnetMask>h.BITS)throw new i.AddressError("Invalid subnet mask.");a=a.replace(h.RE_SUBNET_STRING,"")}let c=4*h.GROUPS-1;if(a.length>c)throw new i.AddressError(`IPv4 addresses are at most ${c} characters.`);this.addressMinusSuffix=a,this.parsedAddress=this.parse(a)}static isValid(a){try{return new k(a),!0}catch{return!1}}parse(a){let b=a.split(".");if(b.some(a=>/^0\d/.test(a)))throw new i.AddressError("IPv4 addresses can't have leading zeroes.");if(!a.match(h.RE_ADDRESS))throw new i.AddressError("Invalid IPv4 address.");return b}correctForm(){return this.parsedAddress.map(a=>parseInt(a,10)).join(".")}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new k(b).bigInt(),h.BITS);return new k(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new k(b).bigInt(),d=(BigInt(1)<<BigInt(h.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,h.BITS);return new k(`${a}/${e}`)}static fromWildcard(a){let b=a.split(".");if(b.length!==h.GROUPS)throw new i.AddressError("Wildcard pattern must have 4 octets");let c=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===c&&(c=a);else if(-1!==c)throw new i.AddressError("Wildcard `*` must only appear in trailing octets (e.g. `192.168.0.*`)");let d=-1===c?0:b.length-c,e=b.map(a=>"*"===a?"0":a),f=h.BITS-8*d;return new k(`${e.join(".")}/${f}`)}static fromHex(a){let b=a.replace(/:/g,"");if(!/^[0-9a-fA-F]{8}$/.test(b))throw new i.AddressError("IPv4 hex must be exactly 8 hex digits");let c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k(c.join("."))}static fromInteger(a){if(!Number.isInteger(a)||a<0||a>0xffffffff)throw new i.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromArpa(a){let b=4*h.GROUPS-1+3+14;if(a.length>b)throw new i.AddressError(`in-addr.arpa names are at most ${b} characters.`);return new k(a.replace(/(\.in-addr\.arpa)?\.?$/i,"").split(".").reverse().join("."))}toHex(){return this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join(":")}toArray(){return this.parsedAddress.map(a=>parseInt(a,10))}toGroup6(){let a,b=[];for(a=0;a<h.GROUPS;a+=2)b.push(`${g.stringToPaddedHex(this.parsedAddress[a])}${g.stringToPaddedHex(this.parsedAddress[a+1])}`);return b.join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join("")}`)}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(h.BITS-this.subnetMask)}`)}startAddress(){return k.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._startAddress()+a)}offset(a){return k.fromBigInt(g.offsetBigInt(this.bigInt(),a,h.BITS,"IPv4")).withSubnetMask(this.subnetMask)}nextNetwork(){return k.fromBigInt(g.offsetBigInt(this._endAddress(),1,h.BITS,"IPv4")).withSubnetMask(this.subnetMask)}withSubnetMask(a){return new k(`${this.correctForm()}/${a}`)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(h.BITS-this.subnetMask)}`)}endAddress(){return k.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._endAddress()-a)}subnetMaskAddress(){return k.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(h.BITS-this.subnetMask)}`))}wildcardMask(){return k.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(h.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}static fromBigInt(a){if(a<BigInt(0)||a>BigInt(0xffffffff))throw new i.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromByteArray(a){return g.assertByteArray(a,4,"IPv4",0),this.fromUnsignedByteArray(a)}static fromUnsignedByteArray(a){if(4!==a.length)throw new i.AddressError("IPv4 addresses require exactly 4 bytes");return new k(a.join("."))}mask(a){return void 0===a&&(a=this.subnetMask),this.getBitsBase2(0,a)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}reverseForm(a){a||(a={});let b=this.correctForm().split(".").reverse().join(".");return a.omitSuffix?b:`${b}.in-addr.arpa.`}isMulticast(){return this.isHostInSubnet(l)}isPrivate(){return m.some(a=>this.isHostInSubnet(a))}isLoopback(){return this.isHostInSubnet(n)}isLinkLocal(){return this.isHostInSubnet(o)}isUnspecified(){return this.isHostInSubnet(p)}isBroadcast(){return this.isHostInSubnet(q)}isCGNAT(){return this.isHostInSubnet(r)}isDocumentation(){return s.some(a=>this.isHostInSubnet(a))}isBenchmarking(){return this.isHostInSubnet(t)}isReserved(){return this.isHostInSubnet(u)}isGlobal(){return!this.isMulticast()&&g.isGloballyReachable.call(this,v)}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(h.BITS,"0")),this._binaryZeroPad}groupForV6(){let a=this.parsedAddress;return this.correctForm().replace(h.RE_ADDRESS,`<span class="hover-group group-v4 group-6">${a.slice(0,2).join(".")}</span>.<span class="hover-group group-v4 group-7">${a.slice(2,4).join(".")}</span>`)}}b.Address4=k;let l=new k("224.0.0.0/4"),m=[new k("10.0.0.0/8"),new k("172.16.0.0/12"),new k("192.168.0.0/16")],n=new k("127.0.0.0/8"),o=new k("169.254.0.0/16"),p=new k("0.0.0.0/32"),q=new k("255.255.255.255/32"),r=new k("100.64.0.0/10"),s=[new k("192.0.2.0/24"),new k("198.51.100.0/24"),new k("203.0.113.0/24")],t=new k("198.18.0.0/15"),u=new k("240.0.0.0/4"),v=h.SPECIAL_PURPOSE.map(([a,,b])=>({subnet:new k(a),reachable:b}))},35467:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(37617),b)},35538:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SPECIAL_PURPOSE=b.RE_URL_WITH_PORT=b.RE_URL=b.RE_ZONE_STRING=b.RE_SUBNET_STRING=b.RE_BAD_ADDRESS=b.RE_BAD_CHARACTERS=b.TYPES=b.SCOPES=b.GROUPS=b.BITS=void 0,b.BITS=128,b.GROUPS=8,b.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"},b.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","::ffff:0:0/96":"IPv4-mapped","ff00::/8":"Multicast","fe80::/10":"Link-local unicast","fc00::/7":"Unique local","2001::/32":"Teredo","2001:2::/48":"Benchmarking","2002::/16":"6to4","2001:db8::/32":"Documentation","3fff::/20":"Documentation","100::/64":"Discard-only","fec0::/10":"Site-local unicast (deprecated)","::/96":"IPv4-compatible (deprecated)","64:ff9b::/96":"NAT64 (well-known)","64:ff9b:1::/48":"NAT64 (local-use)"},b.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi,b.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi,b.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/,b.RE_ZONE_STRING=/%.*$/,b.RE_URL=/^(?:\[([0-9a-f:.]+)\]|([0-9a-f:.]+))(?:[/?#].*)?$/i,b.RE_URL_WITH_PORT=/^\[([0-9a-f:.]+)\]:([0-9]{1,5})(?:[/?#].*)?$/i,b.SPECIAL_PURPOSE=[["::1/128","Loopback Address",!1],["::/128","Unspecified Address",!1],["::ffff:0:0/96","IPv4-mapped Address",!1],["64:ff9b::/96","IPv4-IPv6 Translat.",!0],["64:ff9b:1::/48","IPv4-IPv6 Translat.",!1],["100::/64","Discard-Only Address Block",!1],["100:0:0:1::/64","Dummy IPv6 Prefix",!1],["2001::/23","IETF Protocol Assignments",!1],["2001::/32","TEREDO",!1],["2001:1::1/128","Port Control Protocol Anycast",!0],["2001:1::2/128","Traversal Using Relays around NAT Anycast",!0],["2001:1::3/128","DNS-SD Service Registration Protocol Anycast",!0],["2001:2::/48","Benchmarking",!1],["2001:3::/32","AMT",!0],["2001:4:112::/48","AS112-v6",!0],["2001:10::/28","Deprecated (previously ORCHID)",null],["2001:20::/28","ORCHIDv2",!0],["2001:30::/28","Drone Remote ID Protocol Entity Tags (DETs) Prefix",!0],["2001:db8::/32","Documentation",!1],["2002::/16","6to4",!1],["2620:4f:8000::/48","Direct Delegation AS112 Service",!0],["3fff::/20","Documentation",!1],["5f00::/16","Segment Routing (SRv6) SIDs",!1],["fc00::/7","Unique-Local",!1],["fe80::/10","Link-Local Unicast",!1]]},37617:function(a,b,c){"use strict";var d=this&&this.__awaiter||function(a,b,c,d){return new(c||(c=Promise))(function(e,f){function g(a){try{i(d.next(a))}catch(a){f(a)}}function h(a){try{i(d.throw(a))}catch(a){f(a)}}function i(a){var b;a.done?e(a.value):((b=a.value)instanceof c?b:new c(function(a){a(b)})).then(g,h)}i((d=d.apply(a,b||[])).next())})};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=b.SocksClient=void 0;let e=c(94735),f=c(91645),g=c(67513),h=c(80534),i=c(31034),j=c(28908),k=c(84157);Object.defineProperty(b,"SocksClientError",{enumerable:!0,get:function(){return k.SocksClientError}});let l=c(71252);class m extends e.EventEmitter{constructor(a){super(),this.options=Object.assign({},a),(0,i.validateSocksClientOptions)(a),this.setState(h.SocksClientState.Created)}static createConnection(a,b){return new Promise((c,d)=>{try{(0,i.validateSocksClientOptions)(a,["connect"])}catch(a){if("function"==typeof b)return b(a),c(a);return d(a)}let e=new m(a);e.connect(a.existing_socket),e.once("established",a=>{e.removeAllListeners(),"function"==typeof b&&b(null,a),c(a)}),e.once("error",a=>{e.removeAllListeners(),"function"==typeof b?(b(a),c(a)):d(a)})})}static createConnectionChain(a,b){return new Promise((c,e)=>d(this,void 0,void 0,function*(){try{(0,i.validateSocksClientChainOptions)(a)}catch(a){if("function"==typeof b)return b(a),c(a);return e(a)}a.randomizeChain&&(0,k.shuffleArray)(a.proxies);try{let d;for(let b=0;b<a.proxies.length;b++){let c=a.proxies[b],e=b===a.proxies.length-1?a.destination:{host:a.proxies[b+1].host||a.proxies[b+1].ipaddress,port:a.proxies[b+1].port},f=yield m.createConnection({command:"connect",proxy:c,destination:e,existing_socket:d});d=d||f.socket}"function"==typeof b&&b(null,{socket:d}),c({socket:d})}catch(a){"function"==typeof b?(b(a),c(a)):e(a)}}))}static createUDPFrame(a){let b=new g.SmartBuffer;return b.writeUInt16BE(0),b.writeUInt8(a.frameNumber||0),f.isIPv4(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv4),b.writeUInt32BE((0,i.ipv4ToInt32)(a.remoteHost.host))):f.isIPv6(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv6),b.writeBuffer((0,i.ipToBuffer)(a.remoteHost.host))):(b.writeUInt8(h.Socks5HostType.Hostname),b.writeUInt8(Buffer.byteLength(a.remoteHost.host)),b.writeString(a.remoteHost.host)),b.writeUInt16BE(a.remoteHost.port),b.writeBuffer(a.data),b.toBuffer()}static parseUDPFrame(a){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c=b.readUInt8(),d=b.readUInt8();return{frameNumber:c,remoteHost:{host:d===h.Socks5HostType.IPv4?(0,i.int32ToIpv4)(b.readUInt32BE()):d===h.Socks5HostType.IPv6?l.Address6.fromByteArray(Array.from(b.readBuffer(16))).canonicalForm():b.readString(b.readUInt8()),port:b.readUInt16BE()},data:b.readBuffer()}}setState(a){this.state!==h.SocksClientState.Error&&(this.state=a)}connect(a){this.onDataReceived=a=>this.onDataReceivedHandler(a),this.onClose=()=>this.onCloseHandler(),this.onError=a=>this.onErrorHandler(a),this.onConnect=()=>this.onConnectHandler();let b=setTimeout(()=>this.onEstablishedTimeout(),this.options.timeout||h.DEFAULT_TIMEOUT);b.unref&&"function"==typeof b.unref&&b.unref(),a?this.socket=a:this.socket=new f.Socket,this.socket.once("close",this.onClose),this.socket.once("error",this.onError),this.socket.once("connect",this.onConnect),this.socket.on("data",this.onDataReceived),this.setState(h.SocksClientState.Connecting),this.receiveBuffer=new j.ReceiveBuffer,a?this.socket.emit("connect"):(this.socket.connect(this.getSocketOptions()),void 0!==this.options.set_tcp_nodelay&&null!==this.options.set_tcp_nodelay&&this.socket.setNoDelay(!!this.options.set_tcp_nodelay)),this.prependOnceListener("established",a=>{setImmediate(()=>{if(this.receiveBuffer.length>0){let b=this.receiveBuffer.get(this.receiveBuffer.length);a.socket.emit("data",b)}a.socket.resume()})})}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.BoundWaitingForConnection&&this.closeSocket(h.ERRORS.ProxyConnectionTimedOut)}onConnectHandler(){this.setState(h.SocksClientState.Connected),4===this.options.proxy.type?this.sendSocks4InitialHandshake():this.sendSocks5InitialHandshake(),this.setState(h.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(a){this.receiveBuffer.append(a),this.processData()}processData(){for(;this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize;)if(this.state===h.SocksClientState.SentInitialHandshake)4===this.options.proxy.type?this.handleSocks4FinalHandshakeResponse():this.handleInitialSocks5HandshakeResponse();else if(this.state===h.SocksClientState.SentAuthentication)this.handleInitialSocks5AuthenticationHandshakeResponse();else if(this.state===h.SocksClientState.SentFinalHandshake)this.handleSocks5FinalHandshakeResponse();else if(this.state===h.SocksClientState.BoundWaitingForConnection)4===this.options.proxy.type?this.handleSocks4IncomingConnectionResponse():this.handleSocks5IncomingConnectionResponse();else{this.closeSocket(h.ERRORS.InternalError);break}}onCloseHandler(){this.closeSocket(h.ERRORS.SocketClosed)}onErrorHandler(a){this.closeSocket(a.message)}removeInternalSocketHandlers(){this.socket.pause(),this.socket.removeListener("data",this.onDataReceived),this.socket.removeListener("close",this.onClose),this.socket.removeListener("error",this.onError),this.socket.removeListener("connect",this.onConnect)}closeSocket(a){this.state!==h.SocksClientState.Error&&(this.setState(h.SocksClientState.Error),this.socket.destroy(),this.removeInternalSocketHandlers(),this.emit("error",new k.SocksClientError(a,this.options)))}sendSocks4InitialHandshake(){let a=this.options.proxy.userId||"",b=new g.SmartBuffer;b.writeUInt8(4),b.writeUInt8(h.SocksCommand[this.options.command]),b.writeUInt16BE(this.options.destination.port),f.isIPv4(this.options.destination.host)?(b.writeBuffer((0,i.ipToBuffer)(this.options.destination.host)),b.writeStringNT(a)):(b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(1),b.writeStringNT(a),b.writeStringNT(this.options.destination.host)),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks4Response,this.socket.write(b.toBuffer())}handleSocks4FinalHandshakeResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedConnection} - (${h.Socks4Response[a[1]]})`);else if(h.SocksCommand[this.options.command]===h.SocksCommand.bind){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};"0.0.0.0"===c.host&&(c.host=this.options.proxy.ipaddress),this.setState(h.SocksClientState.BoundWaitingForConnection),this.emit("bound",{remoteHost:c,socket:this.socket})}else this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{socket:this.socket})}handleSocks4IncomingConnectionResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${h.Socks4Response[a[1]]})`);else{let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:c,socket:this.socket})}}sendSocks5InitialHandshake(){let a=new g.SmartBuffer,b=[h.Socks5Auth.NoAuth];for(let c of((this.options.proxy.userId||this.options.proxy.password)&&b.push(h.Socks5Auth.UserPass),void 0!==this.options.proxy.custom_auth_method&&b.push(this.options.proxy.custom_auth_method),a.writeUInt8(5),a.writeUInt8(b.length),b))a.writeUInt8(c);this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){let a=this.receiveBuffer.get(2);5!==a[0]?this.closeSocket(h.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion):a[1]===h.SOCKS5_NO_ACCEPTABLE_AUTH?this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType):a[1]===h.Socks5Auth.NoAuth?(this.socks5ChosenAuthType=h.Socks5Auth.NoAuth,this.sendSocks5CommandRequest()):a[1]===h.Socks5Auth.UserPass?(this.socks5ChosenAuthType=h.Socks5Auth.UserPass,this.sendSocks5UserPassAuthentication()):a[1]===this.options.proxy.custom_auth_method?(this.socks5ChosenAuthType=this.options.proxy.custom_auth_method,this.sendSocks5CustomAuthentication()):this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}sendSocks5UserPassAuthentication(){let a=this.options.proxy.userId||"",b=this.options.proxy.password||"",c=new g.SmartBuffer;c.writeUInt8(1),c.writeUInt8(Buffer.byteLength(a)),c.writeString(a),c.writeUInt8(Buffer.byteLength(b)),c.writeString(b),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse,this.socket.write(c.toBuffer()),this.setState(h.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return d(this,void 0,void 0,function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size,this.socket.write((yield this.options.proxy.custom_auth_request_handler())),this.setState(h.SocksClientState.SentAuthentication)})}handleSocks5CustomAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return yield this.options.proxy.custom_auth_response_handler(a)})}handleSocks5AuthenticationNoAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleSocks5AuthenticationUserPassHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleInitialSocks5AuthenticationHandshakeResponse(){return d(this,void 0,void 0,function*(){this.setState(h.SocksClientState.ReceivedAuthenticationResponse);let a=!1;this.socks5ChosenAuthType===h.Socks5Auth.NoAuth?a=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===h.Socks5Auth.UserPass?a=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===this.options.proxy.custom_auth_method&&(a=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))),a?this.sendSocks5CommandRequest():this.closeSocket(h.ERRORS.Socks5AuthenticationFailed)})}sendSocks5CommandRequest(){let a=new g.SmartBuffer;a.writeUInt8(5),a.writeUInt8(h.SocksCommand[this.options.command]),a.writeUInt8(0),f.isIPv4(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv4),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):f.isIPv6(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv6),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):(a.writeUInt8(h.Socks5HostType.Hostname),a.writeUInt8(this.options.destination.host.length),a.writeString(this.options.destination.host)),a.writeUInt16BE(this.options.destination.port),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.ReceivedFinalResponse),h.SocksCommand[this.options.command]===h.SocksCommand.connect?(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.bind?(this.setState(h.SocksClientState.BoundWaitingForConnection),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.emit("bound",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.associate&&(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket}))}}handleSocks5IncomingConnectionResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})}}get socksClientOptions(){return Object.assign({},this.options)}}b.SocksClient=m},47099:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b},g=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),b.Agent=void 0;let h=f(c(91645)),i=f(c(81630)),j=c(55591);g(c(66084),b);let k=Symbol("AgentBaseInternalState");class l extends i.Agent{constructor(a){super(a),this[k]={}}isSecureEndpoint(a){if(a){if("boolean"==typeof a.secureEndpoint)return a.secureEndpoint;if("string"==typeof a.protocol)return"https:"===a.protocol}let{stack:b}=Error();return"string"==typeof b&&b.split("\n").some(a=>-1!==a.indexOf("(https.js:")||-1!==a.indexOf("node:https:"))}incrementSockets(a){if(1/0===this.maxSockets&&1/0===this.maxTotalSockets)return null;this.sockets[a]||(this.sockets[a]=[]);let b=new h.Socket({writable:!1});return this.sockets[a].push(b),this.totalSocketCount++,b}decrementSockets(a,b){if(!this.sockets[a]||null===b)return;let c=this.sockets[a],d=c.indexOf(b);-1!==d&&(c.splice(d,1),this.totalSocketCount--,0===c.length&&delete this.sockets[a])}getName(a){return this.isSecureEndpoint(a)?j.Agent.prototype.getName.call(this,a):super.getName(a)}createSocket(a,b,c){let d={...b,secureEndpoint:this.isSecureEndpoint(b)},e=this.getName(d),f=this.incrementSockets(e);Promise.resolve().then(()=>this.connect(a,d)).then(g=>{if(this.decrementSockets(e,f),g instanceof i.Agent)try{return g.addRequest(a,d)}catch(a){return c(a)}this[k].currentSocket=g,super.createSocket(a,b,c)},a=>{this.decrementSockets(e,f),c(a)})}createConnection(){let a=this[k].currentSocket;if(this[k].currentSocket=void 0,!a)throw Error("No socket was returned in the `connect()` function");return a}get defaultPort(){return this[k].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(a){this[k]&&(this[k].defaultPort=a)}get protocol(){return this[k].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(a){this[k]&&(this[k].protocol=a)}}b.Agent=l},52760:a=>{"use strict";a.exports=(a,b=process.argv)=>{let c=a.startsWith("-")?"":1===a.length?"-":"--",d=b.indexOf(c+a),e=b.indexOf("--");return -1!==d&&(-1===e||d<e)}},61743:(a,b,c)=>{let d=c(83997),e=c(28354);b.init=function(a){a.inspectOpts={};let c=Object.keys(b.inspectOpts);for(let d=0;d<c.length;d++)a.inspectOpts[c[d]]=b.inspectOpts[c[d]]},b.log=function(...a){return process.stderr.write(e.formatWithOptions(b.inspectOpts,...a)+"\n")},b.formatArgs=function(c){let{namespace:d,useColors:e}=this;if(e){let b=this.color,e="\x1b[3"+(b<8?b:"8;5;"+b),f=` ${e};1m${d} \x1b[0m`;c[0]=f+c[0].split("\n").join("\n"+f),c.push(e+"m+"+a.exports.humanize(this.diff)+"\x1b[0m")}else c[0]=(b.inspectOpts.hideDate?"":new Date().toISOString()+" ")+d+" "+c[0]},b.save=function(a){a?process.env.DEBUG=a:delete process.env.DEBUG},b.load=function(){return process.env.DEBUG},b.useColors=function(){return"colors"in b.inspectOpts?!!b.inspectOpts.colors:d.isatty(process.stderr.fd)},b.destroy=e.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),b.colors=[6,2,3,4,5,1];try{let a=c(13369);a&&(a.stderr||a).level>=2&&(b.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(a){}b.inspectOpts=Object.keys(process.env).filter(a=>/^debug_/i.test(a)).reduce((a,b)=>{let c=b.substring(6).toLowerCase().replace(/_([a-z])/g,(a,b)=>b.toUpperCase()),d=process.env[b];return d=!!/^(yes|on|true|enabled)$/i.test(d)||!/^(no|off|false|disabled)$/i.test(d)&&("null"===d?null:Number(d)),a[c]=d,a},{}),a.exports=c(65060)(b);let{formatters:f}=a.exports;f.o=function(a){return this.inspectOpts.colors=this.useColors,e.inspect(a,this.inspectOpts).split("\n").map(a=>a.trim()).join(" ")},f.O=function(a){return this.inspectOpts.colors=this.useColors,e.inspect(a,this.inspectOpts)}},62678:(a,b)=>{"use strict";function c(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function d(a){return c(a).replace(/(0+)/g,'<span class="zero">$1</span>')}function e(a){return c(a).replace(/^(0+)/,'<span class="zero">$1</span>')}Object.defineProperty(b,"__esModule",{value:!0}),b.escapeHtml=c,b.spanAllZeroes=d,b.spanAll=function(a,b=0){return a.split("").map((a,e)=>`<span class="digit value-${c(a)} position-${e+b}">${d(a)}</span>`).join("")},b.spanLeadingZeroes=function(a){return a.split(":").map(a=>e(a)).join(":")},b.simpleGroup=function(a,b=0){return a.split(":").map((a,c)=>/group-v4/.test(a)?a:`<span class="hover-group group-${c+b}">${e(a)}</span>`)}},65060:(a,b,c)=>{a.exports=function(a){function b(a){let c,e,f,g=null;function h(...a){if(!h.enabled)return;let d=Number(new Date);h.diff=d-(c||d),h.prev=c,h.curr=d,c=d,a[0]=b.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");let e=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(c,d)=>{if("%%"===c)return"%";e++;let f=b.formatters[d];if("function"==typeof f){let b=a[e];c=f.call(h,b),a.splice(e,1),e--}return c}),b.formatArgs.call(h,a),(h.log||b.log).apply(h,a)}return h.namespace=a,h.useColors=b.useColors(),h.color=b.selectColor(a),h.extend=d,h.destroy=b.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==g?g:(e!==b.namespaces&&(e=b.namespaces,f=b.enabled(a)),f),set:a=>{g=a}}),"function"==typeof b.init&&b.init(h),h}function d(a,c){let d=b(this.namespace+(void 0===c?":":c)+a);return d.log=this.log,d}function e(a,b){let c=0,d=0,e=-1,f=0;for(;c<a.length;)if(d<b.length&&(b[d]===a[c]||"*"===b[d]))"*"===b[d]?(e=d,f=c):c++,d++;else{if(-1===e)return!1;d=e+1,c=++f}for(;d<b.length&&"*"===b[d];)d++;return d===b.length}return b.debug=b,b.default=b,b.coerce=function(a){return a instanceof Error?a.stack||a.message:a},b.disable=function(){let a=[...b.names,...b.skips.map(a=>"-"+a)].join(",");return b.enable(""),a},b.enable=function(a){for(let c of(b.save(a),b.namespaces=a,b.names=[],b.skips=[],("string"==typeof a?a:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===c[0]?b.skips.push(c.slice(1)):b.names.push(c)},b.enabled=function(a){for(let c of b.skips)if(e(a,c))return!1;for(let c of b.names)if(e(a,c))return!0;return!1},b.humanize=c(22999),b.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(a).forEach(c=>{b[c]=a[c]}),b.names=[],b.skips=[],b.formatters={},b.selectColor=function(a){let c=0;for(let b=0;b<a.length;b++)c=(c<<5)-c+a.charCodeAt(b)|0;return b.colors[Math.abs(c)%b.colors.length]},b.enable(b.load()),b}},66084:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.req=b.json=b.toBuffer=void 0;let g=f(c(81630)),h=f(c(55591));async function i(a){let b=0,c=[];for await(let d of a)b+=d.length,c.push(d);return Buffer.concat(c,b)}b.toBuffer=i,b.json=async function(a){let b=(await i(a)).toString("utf8");try{return JSON.parse(b)}catch(a){throw a.message+=` (input: ${b})`,a}},b.req=function(a,b={}){let c=(("string"==typeof a?a:a.href).startsWith("https:")?h:g).request(a,b),d=new Promise((a,b)=>{c.once("response",a).once("error",b).end()});return c.then=d.then.bind(d),c}},66763:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.AddressError=void 0;class c extends Error{constructor(a,b){super(a),this.name="AddressError",this.parseMessage=b}}b.AddressError=c},67513:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(9923);class e{constructor(a){if(this.length=0,this._encoding="utf8",this._writeOffset=0,this._readOffset=0,e.isSmartBufferOptions(a))if(a.encoding&&(d.checkEncoding(a.encoding),this._encoding=a.encoding),a.size)if(d.isFiniteInteger(a.size)&&a.size>0)this._buff=Buffer.allocUnsafe(a.size);else throw Error(d.ERRORS.INVALID_SMARTBUFFER_SIZE);else if(a.buff)if(Buffer.isBuffer(a.buff))this._buff=a.buff,this.length=a.buff.length;else throw Error(d.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(4096);else{if(void 0!==a)throw Error(d.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(4096)}}static fromSize(a,b){return new this({size:a,encoding:b})}static fromBuffer(a,b){return new this({buff:a,encoding:b})}static fromOptions(a){return new this(a)}static isSmartBufferOptions(a){return a&&(void 0!==a.encoding||void 0!==a.size||void 0!==a.buff)}readInt8(a){return this._readNumberValue(Buffer.prototype.readInt8,1,a)}readInt16BE(a){return this._readNumberValue(Buffer.prototype.readInt16BE,2,a)}readInt16LE(a){return this._readNumberValue(Buffer.prototype.readInt16LE,2,a)}readInt32BE(a){return this._readNumberValue(Buffer.prototype.readInt32BE,4,a)}readInt32LE(a){return this._readNumberValue(Buffer.prototype.readInt32LE,4,a)}readBigInt64BE(a){return d.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,a)}readBigInt64LE(a){return d.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,a)}writeInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeInt8,1,a,b),this}insertInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeInt8,1,a,b)}writeInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}insertInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}writeInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}insertInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}writeInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}insertInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}writeInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}insertInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}writeBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}insertBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}writeBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}insertBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}readUInt8(a){return this._readNumberValue(Buffer.prototype.readUInt8,1,a)}readUInt16BE(a){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,a)}readUInt16LE(a){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,a)}readUInt32BE(a){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,a)}readUInt32LE(a){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,a)}readBigUInt64BE(a){return d.bigIntAndBufferInt64Check("readBigUInt64BE"),this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,a)}readBigUInt64LE(a){return d.bigIntAndBufferInt64Check("readBigUInt64LE"),this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,a)}writeUInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,a,b)}insertUInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,a,b)}writeUInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}insertUInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}writeUInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}insertUInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}writeUInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}insertUInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}writeUInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}insertUInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}writeBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}insertBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}writeBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}insertBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}readFloatBE(a){return this._readNumberValue(Buffer.prototype.readFloatBE,4,a)}readFloatLE(a){return this._readNumberValue(Buffer.prototype.readFloatLE,4,a)}writeFloatBE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}insertFloatBE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}writeFloatLE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}insertFloatLE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}readDoubleBE(a){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,a)}readDoubleLE(a){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,a)}writeDoubleBE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}insertDoubleBE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}writeDoubleLE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}insertDoubleLE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}readString(a,b){let c;"number"==typeof a?(d.checkLengthValue(a),c=Math.min(a,this.length-this._readOffset)):(b=a,c=this.length-this._readOffset),void 0!==b&&d.checkEncoding(b);let e=this._buff.slice(this._readOffset,this._readOffset+c).toString(b||this._encoding);return this._readOffset+=c,e}insertString(a,b,c){return d.checkOffsetValue(b),this._handleString(a,!0,b,c)}writeString(a,b,c){return this._handleString(a,!1,b,c)}readStringNT(a){void 0!==a&&d.checkEncoding(a);let b=this.length;for(let a=this._readOffset;a<this.length;a++)if(0===this._buff[a]){b=a;break}let c=this._buff.slice(this._readOffset,b);return this._readOffset=b+1,c.toString(a||this._encoding)}insertStringNT(a,b,c){return d.checkOffsetValue(b),this.insertString(a,b,c),this.insertUInt8(0,b+a.length),this}writeStringNT(a,b,c){return this.writeString(a,b,c),this.writeUInt8(0,"number"==typeof b?b+a.length:this.writeOffset),this}readBuffer(a){void 0!==a&&d.checkLengthValue(a);let b="number"==typeof a?a:this.length,c=Math.min(this.length,this._readOffset+b),e=this._buff.slice(this._readOffset,c);return this._readOffset=c,e}insertBuffer(a,b){return d.checkOffsetValue(b),this._handleBuffer(a,!0,b)}writeBuffer(a,b){return this._handleBuffer(a,!1,b)}readBufferNT(){let a=this.length;for(let b=this._readOffset;b<this.length;b++)if(0===this._buff[b]){a=b;break}let b=this._buff.slice(this._readOffset,a);return this._readOffset=a+1,b}insertBufferNT(a,b){return d.checkOffsetValue(b),this.insertBuffer(a,b),this.insertUInt8(0,b+a.length),this}writeBufferNT(a,b){return void 0!==b&&d.checkOffsetValue(b),this.writeBuffer(a,b),this.writeUInt8(0,"number"==typeof b?b+a.length:this._writeOffset),this}clear(){return this._writeOffset=0,this._readOffset=0,this.length=0,this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._readOffset=a}get writeOffset(){return this._writeOffset}set writeOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._writeOffset=a}get encoding(){return this._encoding}set encoding(a){d.checkEncoding(a),this._encoding=a}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(a){let b="string"==typeof a?a:this._encoding;return d.checkEncoding(b),this._buff.toString(b,0,this.length)}destroy(){return this.clear(),this}_handleString(a,b,c,e){let f=this._writeOffset,g=this._encoding;"number"==typeof c?f=c:"string"==typeof c&&(d.checkEncoding(c),g=c),"string"==typeof e&&(d.checkEncoding(e),g=e);let h=Buffer.byteLength(a,g);return b?this.ensureInsertable(h,f):this._ensureWriteable(h,f),this._buff.write(a,f,h,g),b?this._writeOffset+=h:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,f+h):this._writeOffset+=h,this}_handleBuffer(a,b,c){let d="number"==typeof c?c:this._writeOffset;return b?this.ensureInsertable(a.length,d):this._ensureWriteable(a.length,d),a.copy(this._buff,d),b?this._writeOffset+=a.length:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,d+a.length):this._writeOffset+=a.length,this}ensureReadable(a,b){let c=this._readOffset;if(void 0!==b&&(d.checkOffsetValue(b),c=b),c<0||c+a>this.length)throw Error(d.ERRORS.INVALID_READ_BEYOND_BOUNDS)}ensureInsertable(a,b){d.checkOffsetValue(b),this._ensureCapacity(this.length+a),b<this.length&&this._buff.copy(this._buff,b+a,b,this._buff.length),b+a>this.length?this.length=b+a:this.length+=a}_ensureWriteable(a,b){let c="number"==typeof b?b:this._writeOffset;this._ensureCapacity(c+a),c+a>this.length&&(this.length=c+a)}_ensureCapacity(a){let b=this._buff.length;if(a>b){let c=this._buff,d=3*b/2+1;d<a&&(d=a),this._buff=Buffer.allocUnsafe(d),c.copy(this._buff,0,0,b)}}_readNumberValue(a,b,c){this.ensureReadable(b,c);let d=a.call(this._buff,"number"==typeof c?c:this._readOffset);return void 0===c&&(this._readOffset+=b),d}_insertNumberValue(a,b,c,e){return d.checkOffsetValue(e),this.ensureInsertable(b,e),a.call(this._buff,c,e),this._writeOffset+=b,this}_writeNumberValue(a,b,c,e){if("number"==typeof e){if(e<0)throw Error(d.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);d.checkOffsetValue(e)}let f="number"==typeof e?e:this._writeOffset;return this._ensureWriteable(b,f),a.call(this._buff,c,f),"number"==typeof e?this._writeOffset=Math.max(this._writeOffset,f+b):this._writeOffset+=b,this}}b.SmartBuffer=e},71252:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.v6=b.AddressError=b.Address6=b.Address4=void 0;var g=c(34905);Object.defineProperty(b,"Address4",{enumerable:!0,get:function(){return g.Address4}});var h=c(74023);Object.defineProperty(b,"Address6",{enumerable:!0,get:function(){return h.Address6}});var i=c(66763);Object.defineProperty(b,"AddressError",{enumerable:!0,get:function(){return i.AddressError}}),b.v6={helpers:f(c(62678))}},74023:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address6=void 0;let g=f(c(3771)),h=f(c(31644)),i=f(c(35538)),j=f(c(62678)),k=c(34905),l=c(16607),m=c(66763),n=c(3771),o=g.isCorrect(i.BITS);function p(a){if(!a)throw Error("Assertion failed.")}function q(a){return(a=a.replace(/^(0{1,})([1-9]+)$/,'<span class="parse-error">$1</span>$2')).replace(/^(0{1,})(0)$/,'<span class="parse-error">$1</span>$2')}function r(a){return parseInt(a,16).toString(16).padStart(4,"0")}function s(a){return 255&a}class t{constructor(a,b){this.addressMinusSuffix="",this.parsedSubnet="",this.subnet="/128",this.subnetMask=128,this.v4=!1,this.zone="",this.isInSubnet=g.isInSubnet,this.isHostInSubnet=g.isHostInSubnet,this.isCorrect=o,void 0===b?this.groups=i.GROUPS:this.groups=b,this.address=a;let c=i.RE_SUBNET_STRING.exec(a);if(c){if(this.parsedSubnet=c[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>i.BITS)throw new m.AddressError("Invalid subnet mask.");a=a.replace(i.RE_SUBNET_STRING,"")}if(/\//.test(a))throw new m.AddressError("Invalid subnet mask.");let d=a.indexOf("%");-1!==d&&/^.*$/.test(a.slice(d))&&(this.zone=a.slice(d),a=a.slice(0,d));let e=5*this.groups+5;if(a.length>e)throw new m.AddressError(`IPv6 addresses are at most ${e} characters.`);this.addressMinusSuffix=a,this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(a){try{return new t(a),!0}catch{return!1}}static fromBigInt(a){if(a<BigInt(0)||a>(BigInt(1)<<BigInt(i.BITS))-BigInt(1))throw new m.AddressError("IPv6 BigInt must be in the range 0 to 2**128 - 1");let b=a.toString(16).padStart(32,"0"),c=[];for(let a=0;a<i.GROUPS;a++)c.push(b.slice(4*a,(a+1)*4));return new t(c.join(":"))}static fromURL(a){var b;let c,d,e,f,g=null,h=a.replace(/^[a-z][a-z0-9+.-]*:\/\//i,"");if(-1!==h.indexOf("[")&&-1!==h.indexOf("]:")){if(e="failed to parse address with port",null===(d=i.RE_URL_WITH_PORT.exec(h)))return{error:e,address:null,port:null};c=d[1],g=d[2]}else{if(e="failed to parse address from URL",null===(d=i.RE_URL.exec(h)))return{error:e,address:null,port:null};c=null!=(b=d[1])?b:d[2]}g?((g=parseInt(g,10))<0||g>65535)&&(g=null):g=null;try{f=new t(c)}catch{return{error:e,address:null,port:null}}return{address:f,port:g}}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new t(b).bigInt(),i.BITS);return new t(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new t(b).bigInt(),d=(BigInt(1)<<BigInt(i.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,i.BITS);return new t(`${a}/${e}`)}static fromWildcard(a){let b;if(a.includes("%")||a.includes("/"))throw new m.AddressError("Wildcard pattern must not include a zone or CIDR suffix");let c=a.split("::");if(c.length>2)throw new m.AddressError("Wildcard pattern cannot contain more than one '::'");if(2===c.length){let a=""===c[0]?[]:c[0].split(":"),d=""===c[1]?[]:c[1].split(":"),e=i.GROUPS-a.length-d.length;if(e<1)throw new m.AddressError("Wildcard pattern with '::' has too many groups");b=[...a,...Array(e).fill("0"),...d]}else b=a.split(":");if(b.length!==i.GROUPS)throw new m.AddressError("Wildcard pattern must have 8 groups");let d=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===d&&(d=a);else if(-1!==d)throw new m.AddressError("Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)");let e=-1===d?0:b.length-d,f=b.map(a=>"*"===a?"0":a),g=i.BITS-16*e;return new t(`${f.join(":")}/${g}`)}static fromAddress4(a){let b=new k.Address4(a),c=i.BITS-(h.BITS-b.subnetMask);return new t(`::ffff:${b.correctForm()}/${c}`)}static fromArpa(a){let b=a.replace(/(\.ip6\.arpa)?\.?$/i,"");if(!/^[0-9a-f](\.[0-9a-f]){0,31}$/i.test(b))throw new m.AddressError("Invalid 'ip6.arpa' form.");let c=b.split(".").reverse(),d=4*c.length,e=c.join("").padEnd(32,"0"),f=[];for(let a=0;a<i.GROUPS;a++)f.push(e.slice(4*a,(a+1)*4));return new t(`${f.join(":")}/${d}`)}microsoftTranscription(){return`${this.correctForm().replace(/:/g,"-")}.ipv6-literal.net`}mask(a=this.subnetMask){return this.getBitsBase2(0,a)}possibleSubnets(a=128){let b=i.BITS-this.subnetMask-Math.abs(a-i.BITS);if(b<0)return"0";var c=(BigInt("2")**BigInt(b)).toString(10);let d=/(\d+)(\d{3})/;for(;d.test(c);)c=c.replace(d,"$1,$2");return c}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(i.BITS-this.subnetMask)}`)}startAddress(){return t.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._startAddress()+a)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(i.BITS-this.subnetMask)}`)}endAddress(){return t.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._endAddress()-a)}offset(a){return t.fromBigInt(g.offsetBigInt(this.bigInt(),a,i.BITS,"IPv6")).withSubnetMask(this.subnetMask)}nextNetwork(){return t.fromBigInt(g.offsetBigInt(this._endAddress(),1,i.BITS,"IPv6")).withSubnetMask(this.subnetMask)}withSubnetMask(a){return new t(`${this.correctForm()}/${a}`)}subnetMaskAddress(){return t.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(i.BITS-this.subnetMask)}`))}wildcardMask(){return t.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(i.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}getScope(){let a=this.getType();return"Multicast"===a||a.startsWith("Multicast ")?i.SCOPES[parseInt(this.getBits(12,16).toString(10),10)]||"Unknown":"Link-local unicast"===a||"Loopback"===a?"Link local":"Unspecified"===a?"Unknown":"Global"}getType(){for(let a=0;a<u.length;a++){let b=u[a];if(this.isHostInSubnet(b[0]))return b[1]}return"Global unicast"}getBits(a,b){return BigInt(`0b${this.getBitsBase2(a,b)}`)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}getBitsBase16(a,b){let c=b-a;if(c%4!=0)throw Error("Length of bits to retrieve must be divisible by four");return this.getBits(a,b).toString(16).padStart(c/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,i.BITS)}reverseForm(a){a||(a={});let b=Math.floor(this.subnetMask/4),c=this.canonicalForm().replace(/:/g,"").split("").slice(0,b).reverse().join(".");return b>0?a.omitSuffix?c:`${c}.ip6.arpa.`:a.omitSuffix?"":"ip6.arpa."}correctForm(){let a,b=[],c=0,d=[];for(a=0;a<this.parsedAddress.length;a++){let b=parseInt(this.parsedAddress[a],16);0===b&&c++,0!==b&&c>0&&(c>1&&d.push([a-c,a-1]),c=0)}c>1&&d.push([this.parsedAddress.length-c,this.parsedAddress.length-1]);let e=d.map(a=>a[1]-a[0]+1);if(d.length>0){let a=e.indexOf(Math.max(...e));b=function(a,b){let c,d=[],e=[];for(c=0;c<a.length;c++)c<b[0]?d.push(a[c]):c>b[1]&&e.push(a[c]);return d.concat(["compact"]).concat(e)}(this.parsedAddress,d[a])}else b=this.parsedAddress;for(a=0;a<b.length;a++)"compact"!==b[a]&&(b[a]=parseInt(b[a],16).toString(16));let f=b.join(":");return(f=(f=f.replace(/^compact$/,"::")).replace(/(^compact)|(compact$)/,":")).replace(/compact/,"")}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(i.BITS,"0")),this._binaryZeroPad}parse4in6(a){if(-1===a.indexOf("."))return a;let b=a.split(":"),c=b.slice(-1)[0],d=c.split(".");if(d.length===h.GROUPS&&d.every(a=>/^\d{1,3}$/.test(a))&&d.some(a=>/^0\d/.test(a))){let a=d.map(q).join("."),c=b.slice(0,-1).map(j.escapeHtml).join(":"),e=b.length>1?":":"";throw new m.AddressError("IPv4 addresses can't have leading zeroes.",`${c}${e}${a}`)}let e=c.match(h.RE_ADDRESS);if(e){this.parsedAddress4=e[0];let c=this.subnetMask>=96?`/${this.subnetMask-96}`:"";this.address4=new k.Address4(`${this.parsedAddress4}${c}`),this.v4=!0,b[b.length-1]=this.address4.toGroup6(),a=b.join(":")}return a}parse(a){let b=(a=this.parse4in6(a)).match(i.RE_BAD_CHARACTERS);if(b)throw new m.AddressError(`Bad character${b.length>1?"s":""} detected in address: ${b.join("")}`,a.replace(i.RE_BAD_CHARACTERS,a=>`<span class="parse-error">${j.escapeHtml(a)}</span>`));let c=a.match(i.RE_BAD_ADDRESS);if(c)throw new m.AddressError(`Address failed regex: ${c.join("")}`,a.replace(i.RE_BAD_ADDRESS,'<span class="parse-error">$1</span>'));let d=[],e=a.split("::");if(2===e.length){let a=e[0].split(":"),b=e[1].split(":");1===a.length&&""===a[0]&&(a=[]),1===b.length&&""===b[0]&&(b=[]);let c=this.groups-(a.length+b.length);if(!c)throw new m.AddressError("Error parsing groups");this.elidedGroups=c,this.elisionBegin=a.length,this.elisionEnd=a.length+this.elidedGroups,d=d.concat(a);for(let a=0;a<c;a++)d.push("0");d=d.concat(b)}else if(1===e.length)d=a.split(":"),this.elidedGroups=0;else throw new m.AddressError("Too many :: groups found");if((d=d.map(a=>parseInt(a,16).toString(16))).length!==this.groups)throw new m.AddressError("Incorrect number of groups found");return d}canonicalForm(){return this.parsedAddress.map(r).join(":")}decimal(){return this.parsedAddress.map(a=>parseInt(a,16).toString(10).padStart(5,"0")).join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(r).join("")}`)}to4(){let a=this.binaryZeroPad().split(""),b=BigInt(`0b${a.slice(96,128).join("")}`).toString(16).padStart(8,"0");if(this.subnetMask>=96){let a=this.subnetMask-96,c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k.Address4(`${c.join(".")}/${a}`)}return k.Address4.fromHex(b)}to4in6(){let a=this.to4(),b=new t(this.parsedAddress.slice(0,6).join(":"),6).correctForm(),c="";return/:$/.test(b)||(c=":"),b+c+a.correctForm()}inspectTeredo(){let a=this.getBitsBase16(0,32),b=(this.getBits(80,96)^BigInt("0xffff")).toString(),c=k.Address4.fromHex(this.getBitsBase16(32,64)),d=this.getBits(96,128),e=k.Address4.fromHex((d^BigInt("0xffffffff")).toString(16).padStart(8,"0")),f=this.getBitsBase2(64,80),g=(0,n.testBit)(f,15),h=(0,n.testBit)(f,14),i=(0,n.testBit)(f,8),j=(0,n.testBit)(f,9),l=BigInt(`0b${f.slice(2,6)+f.slice(8,16)}`).toString(10);return{prefix:`${a.slice(0,4)}:${a.slice(4,8)}`,server4:c.address,client4:e.address,flags:f,coneNat:g,microsoft:{reserved:h,universalLocal:j,groupIndividual:i,nonce:l},udpPort:b}}inspect6to4(){let a=this.getBitsBase16(0,16),b=k.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:a.slice(0,4),gateway:b.address}}to6to4(){return this.is4()?new t(["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),":/16"].join(":")):null}static fromAddress4Nat64(a,b="64:ff9b::/96"){let c,d=new k.Address4(a),e=new t(b),f=e.subnetMask;if(32!==f&&40!==f&&48!==f&&56!==f&&64!==f&&96!==f)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");let g=e.binaryZeroPad(),h=d.binaryZeroPad();if(96===f)c=g.slice(0,96)+h;else{let a=64-f;c=[g.slice(0,f),h.slice(0,a),"00000000",h.slice(a),"0".repeat(56-(32-a))].join("")}let i=BigInt(`0b${c}`).toString(16).padStart(32,"0"),j=[];for(let a=0;a<8;a++)j.push(i.slice(4*a,(a+1)*4));return new t(j.join(":"))}toAddress4Nat64(a="64:ff9b::/96"){let b,c=new t(a),d=c.subnetMask;if(32!==d&&40!==d&&48!==d&&56!==d&&64!==d&&96!==d)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");if(!this.isHostInSubnet(c))return null;let e=this.binaryZeroPad();if(96===d)b=e.slice(96,128);else{let a=64-d;b=e.slice(d,d+a)+e.slice(72,72+(32-a))}let f=[];for(let a=0;a<4;a++)f.push(parseInt(b.slice(8*a,(a+1)*8),2).toString());return new k.Address4(f.join("."))}toByteArray(){let a=this.bigInt().toString(16).padStart(i.BITS/4,"0"),b=[];for(let c=0,d=a.length;c<d;c+=2)b.push(parseInt(a.substring(c,c+2),16));return b}toUnsignedByteArray(){return this.toByteArray().map(s)}static fromByteArray(a){return g.assertByteArray(a,16,"IPv6",-128),this.fromUnsignedByteArray(a.map(s))}static fromUnsignedByteArray(a){g.assertByteArray(a,16,"IPv6",0);let b=BigInt("256"),c=BigInt("0"),d=BigInt("1");for(let e=a.length-1;e>=0;e--)c+=d*BigInt(a[e].toString(10)),d*=b;return t.fromBigInt(c)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){let a=this.embeddedIPv4();return a?a.isLinkLocal():this.isHostInSubnet(y)}isMulticast(){let a=this.embeddedIPv4();if(a)return a.isMulticast();let b=this.getType();return"Multicast"===b||b.startsWith("Multicast ")}is4(){return this.v4}isMapped4(){return this.isHostInSubnet(D)}embeddedIPv4(){return this.isMapped4()||this.isHostInSubnet(E)?this.to4():null}isTeredo(){return this.isHostInSubnet(v)}is6to4(){return this.isHostInSubnet(w)}isLoopback(){let a=this.embeddedIPv4();return a?a.isLoopback():"Loopback"===this.getType()}isULA(){return this.isHostInSubnet(x)}isPrivate(){let a=this.embeddedIPv4();return a?a.isPrivate():this.isULA()||this.isHostInSubnet(F)}isCGNAT(){let a=this.embeddedIPv4();return!!a&&a.isCGNAT()}isBroadcast(){let a=this.embeddedIPv4();return!!a&&a.isBroadcast()}isUnspecified(){let a=this.embeddedIPv4();return a?a.isUnspecified():"Unspecified"===this.getType()}isDocumentation(){return z.some(a=>this.isHostInSubnet(a))}isBenchmarking(){let a=this.embeddedIPv4();return a?a.isBenchmarking():this.isHostInSubnet(A)}isGlobal(){let a=this.embeddedIPv4();return a?a.isGlobal():this.isHostInSubnet(B)&&g.isGloballyReachable.call(this,C)}href(a){return a=void 0===a?"":`:${a}`,`http://[${this.correctForm()}]${a}/`}link(a){a||(a={}),void 0===a.className&&(a.className=""),void 0===a.prefix&&(a.prefix="/#address="),void 0===a.v4&&(a.v4=!1);let b=this.correctForm;a.v4&&(b=this.to4in6);let c=b.call(this),d=j.escapeHtml(`${a.prefix}${c}`),e=j.escapeHtml(c);if(a.className){let b=j.escapeHtml(a.className);return`<a href="${d}" class="${b}">${e}</a>`}return`<a href="${d}">${e}</a>`}group(){if(0===this.elidedGroups)return j.simpleGroup(this.addressMinusSuffix).join(":");p("number"==typeof this.elidedGroups),p("number"==typeof this.elisionBegin);let a=[],[b,c]=this.addressMinusSuffix.split("::");b.length?a.push(...j.simpleGroup(b)):a.push("");let d=["hover-group"];for(let a=this.elisionBegin;a<this.elisionBegin+this.elidedGroups;a++)d.push(`group-${a}`);return a.push(`<span class="${d.join(" ")}"></span>`),c.length?a.push(...j.simpleGroup(c,this.elisionEnd)):a.push(""),this.is4()&&(p(this.address4 instanceof k.Address4),a.pop(),a.push(this.address4.groupForV6())),a.join(":")}regularExpressionString(a=!1){let b=[],c=new t(this.correctForm());if(0===c.elidedGroups)b.push((0,l.simpleRegularExpression)(c.parsedAddress));else if(c.elidedGroups===i.GROUPS)b.push((0,l.possibleElisions)(i.GROUPS));else{let a=c.address.split("::");a[0].length&&b.push((0,l.simpleRegularExpression)(a[0].split(":"))),p("number"==typeof c.elidedGroups),b.push((0,l.possibleElisions)(c.elidedGroups,0!==a[0].length,0!==a[1].length)),a[1].length&&b.push((0,l.simpleRegularExpression)(a[1].split(":"))),b=[b.join(":")]}return a||(b=["(?=^|",l.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...b,")(?=[^\\w\\:]|",l.ADDRESS_BOUNDARY,"|$)"]),b.join("")}regularExpression(a=!1){return RegExp(this.regularExpressionString(a),"i")}}b.Address6=t;let u=Object.keys(i.TYPES).map(a=>[new t(a),i.TYPES[a]]),v=new t("2001::/32"),w=new t("2002::/16"),x=new t("fc00::/7"),y=new t("fe80::/10"),z=[new t("2001:db8::/32"),new t("3fff::/20")],A=new t("2001:2::/48"),B=new t("2000::/3"),C=i.SPECIAL_PURPOSE.map(([a,,b])=>({subnet:new t(a),reachable:b})),D=new t("::ffff:0:0/96"),E=new t("64:ff9b::/96"),F=new t("64:ff9b:1::/48")},78359:(a,b,c)=>{"u"<typeof process||"renderer"===process.type||process.__nwjs?a.exports=c(92007):a.exports=c(61743)},80534:(a,b)=>{"use strict";var c,d,e,f,g,h,i,j,k,l,m,n;Object.defineProperty(b,"__esModule",{value:!0}),b.SOCKS5_NO_ACCEPTABLE_AUTH=b.SOCKS5_CUSTOM_AUTH_END=b.SOCKS5_CUSTOM_AUTH_START=b.SOCKS_INCOMING_PACKET_SIZES=b.SocksClientState=b.Socks5Response=b.Socks5HostType=b.Socks5Auth=b.Socks4Response=b.SocksCommand=b.ERRORS=b.DEFAULT_TIMEOUT=void 0,b.DEFAULT_TIMEOUT=3e4,b.ERRORS={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"},b.SOCKS_INCOMING_PACKET_SIZES={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:a=>a+7,Socks4Response:8},(i=c||(b.SocksCommand=c={}))[i.connect=1]="connect",i[i.bind=2]="bind",i[i.associate=3]="associate",(j=d||(b.Socks4Response=d={}))[j.Granted=90]="Granted",j[j.Failed=91]="Failed",j[j.Rejected=92]="Rejected",j[j.RejectedIdent=93]="RejectedIdent",(k=e||(b.Socks5Auth=e={}))[k.NoAuth=0]="NoAuth",k[k.GSSApi=1]="GSSApi",k[k.UserPass=2]="UserPass",b.SOCKS5_CUSTOM_AUTH_START=128,b.SOCKS5_CUSTOM_AUTH_END=254,b.SOCKS5_NO_ACCEPTABLE_AUTH=255,(l=f||(b.Socks5Response=f={}))[l.Granted=0]="Granted",l[l.Failure=1]="Failure",l[l.NotAllowed=2]="NotAllowed",l[l.NetworkUnreachable=3]="NetworkUnreachable",l[l.HostUnreachable=4]="HostUnreachable",l[l.ConnectionRefused=5]="ConnectionRefused",l[l.TTLExpired=6]="TTLExpired",l[l.CommandNotSupported=7]="CommandNotSupported",l[l.AddressNotSupported=8]="AddressNotSupported",(m=g||(b.Socks5HostType=g={}))[m.IPv4=1]="IPv4",m[m.Hostname=3]="Hostname",m[m.IPv6=4]="IPv6",(n=h||(b.SocksClientState=h={}))[n.Created=0]="Created",n[n.Connecting=1]="Connecting",n[n.Connected=2]="Connected",n[n.SentInitialHandshake=3]="SentInitialHandshake",n[n.ReceivedInitialHandshakeResponse=4]="ReceivedInitialHandshakeResponse",n[n.SentAuthentication=5]="SentAuthentication",n[n.ReceivedAuthenticationResponse=6]="ReceivedAuthenticationResponse",n[n.SentFinalHandshake=7]="SentFinalHandshake",n[n.ReceivedFinalResponse=8]="ReceivedFinalResponse",n[n.BoundWaitingForConnection=9]="BoundWaitingForConnection",n[n.Established=10]="Established",n[n.Disconnected=11]="Disconnected",n[n.Error=99]="Error"},84157:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=void 0,b.shuffleArray=function(a){for(let b=a.length-1;b>0;b--){let c=Math.floor(Math.random()*(b+1));[a[b],a[c]]=[a[c],a[b]]}};class c extends Error{constructor(a,b){super(a),this.options=b}}b.SocksClientError=c},92007:(a,b,c)=>{let d;b.formatArgs=function(b){if(b[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+b[0]+(this.useColors?"%c ":" ")+"+"+a.exports.humanize(this.diff),!this.useColors)return;let c="color: "+this.color;b.splice(1,0,c,"color: inherit");let d=0,e=0;b[0].replace(/%[a-zA-Z%]/g,a=>{"%%"!==a&&(d++,"%c"===a&&(e=d))}),b.splice(e,0,c)},b.save=function(a){try{a?b.storage.setItem("debug",a):b.storage.removeItem("debug")}catch(a){}},b.load=function(){let a;try{a=b.storage.getItem("debug")||b.storage.getItem("DEBUG")}catch(a){}return!a&&"u">typeof process&&"env"in process&&(a=process.env.DEBUG),a},b.useColors=function(){let a;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},b.storage=function(){try{return localStorage}catch(a){}}(),d=!1,b.destroy=()=>{d||(d=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},b.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],b.log=console.debug||console.log||(()=>{}),a.exports=c(65060)(b);let{formatters:e}=a.exports;e.j=function(a){try{return JSON.stringify(a)}catch(a){return"[UnexpectedJSONParseError]: "+a.message}}}};
1
+ exports.id=2220,exports.ids=[2220],exports.modules={3771:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.isInSubnet=function(a){return!(this.subnetMask<a.subnetMask)&&e.call(this,a)},b.isHostInSubnet=e,b.isGloballyReachable=function(a){let b=null;for(let c=0;c<a.length;c++){let d=a[c];null!==d.reachable&&e.call(this,d.subnet)&&(null===b||d.subnet.subnetMask>b.subnet.subnetMask)&&(b=d)}return null===b||b.reachable},b.offsetBigInt=function(a,b,c,e){if("number"==typeof b&&!Number.isSafeInteger(b)||"number"!=typeof b&&"bigint"!=typeof b)throw new d.AddressError(`${e} offset must be an integer`);let f=a+BigInt(b);if(f<BigInt(0)||f>(BigInt(1)<<BigInt(c))-BigInt(1))throw new d.AddressError(`${e} offset leaves the address space`);return f},b.isCorrect=function(a){return function(){return this.addressMinusSuffix===this.correctForm()&&(this.subnetMask===a&&!this.parsedSubnet||this.parsedSubnet===String(this.subnetMask))}},b.prefixLengthFromMask=function(a,b){let c=a.toString(2).padStart(b,"0");if(c.length>b)throw new d.AddressError("Invalid subnet mask.");let e=c.indexOf("0");if(-1===e)return b;if(c.slice(e).includes("1"))throw new d.AddressError("Invalid subnet mask.");return e},b.assertByteArray=function(a,b,c,e){if(a.length!==b)throw new d.AddressError(`${c} addresses require exactly ${b} bytes`);for(let b=0;b<a.length;b++)if(!Number.isInteger(a[b])||a[b]<e||a[b]>255)throw new d.AddressError(`All bytes must be integers between ${e} and 255`)},b.numberToPaddedHex=f,b.stringToPaddedHex=function(a){return f(parseInt(a,10))},b.testBit=function(a,b){let{length:c}=a;if(b>=c)return!1;let d=c-b-1;return"1"===a.substring(d,d+1)};let d=c(66763);function e(a){return this.binaryZeroPad().length===a.binaryZeroPad().length&&this.mask(a.subnetMask)===a.mask()}function f(a){return a.toString(16).padStart(2,"0")}},9923:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(79428),e={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};function f(a){var b;return"number"==typeof a&&isFinite(a)&&"number"==typeof(b=a)&&isFinite(b)&&Math.floor(b)===b}function g(a,b){if("number"==typeof a){if(!f(a)||a<0)throw Error(b?e.INVALID_OFFSET:e.INVALID_LENGTH)}else throw Error(b?e.INVALID_OFFSET_NON_NUMBER:e.INVALID_LENGTH_NON_NUMBER)}b.ERRORS=e,b.checkEncoding=function(a){if(!d.Buffer.isEncoding(a))throw Error(e.INVALID_ENCODING)},b.isFiniteInteger=f,b.checkLengthValue=function(a){g(a,!1)},b.checkOffsetValue=function(a){g(a,!0)},b.checkTargetOffset=function(a,b){if(a<0||a>b.length)throw Error(e.INVALID_TARGET_OFFSET)},b.bigIntAndBufferInt64Check=function(a){if("u"<typeof BigInt)throw Error("Platform does not support JS BigInt type.");if(void 0===d.Buffer.prototype[a])throw Error(`Platform does not support Buffer.prototype.${a}.`)}},13369:(a,b,c)=>{"use strict";let d,e=c(21820),f=c(83997),g=c(52760),{env:h}=process;function i(a){return 0!==a&&{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3}}function j(a,b){if(0===d)return 0;if(g("color=16m")||g("color=full")||g("color=truecolor"))return 3;if(g("color=256"))return 2;if(a&&!b&&void 0===d)return 0;let c=d||0;if("dumb"===h.TERM)return c;if("win32"===process.platform){let a=e.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in h)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(a=>a in h)||"codeship"===h.CI_NAME?1:c;if("TEAMCITY_VERSION"in h)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION);if("truecolor"===h.COLORTERM)return 3;if("TERM_PROGRAM"in h){let a=parseInt((h.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(h.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM)||"COLORTERM"in h?1:c}g("no-color")||g("no-colors")||g("color=false")||g("color=never")?d=0:(g("color")||g("colors")||g("color=true")||g("color=always"))&&(d=1),"FORCE_COLOR"in h&&(d="true"===h.FORCE_COLOR?1:"false"===h.FORCE_COLOR?0:0===h.FORCE_COLOR.length?1:Math.min(parseInt(h.FORCE_COLOR,10),3)),a.exports={supportsColor:function(a){return i(j(a,a&&a.isTTY))},stdout:i(j(!0,f.isatty(1))),stderr:i(j(!0,f.isatty(2)))}},16607:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.ADDRESS_BOUNDARY=void 0,b.groupPossibilities=h,b.padGroup=i,b.simpleRegularExpression=function(a){let b=[];a.forEach((a,c)=>{0===parseInt(a,16)&&b.push(c)});let c=b.map(b=>a.map((a,c)=>{if(c===b){let b=0===c||c===g.GROUPS-1?":":"";return h([i(a),b])}return i(a)}).join(":"));return c.push(a.map(i).join(":")),h(c)},b.possibleElisions=function(a,b,c){let d=[];b||c||d.push("::"),b&&c&&d.push(""),(c&&!b||!c&&b)&&d.push(":"),d.push(`${b?"":":"}(:0{1,4}){1,${a-1}}`),d.push(`(0{1,4}:){1,${a-1}}${c?"":":"}`),d.push(`(0{1,4}:){${a-1}}0{1,4}`);for(let b=1;b<a-1;b++)for(let c=1;c<a-b;c++)d.push(`(0{1,4}:){${c}}:(0{1,4}:){${a-c-b-1}}0{1,4}`);return h(d)};let g=f(c(35538));function h(a){return`(${a.join("|")})`}function i(a){return a.length<4?`0{0,${4-a.length}}${a}`:a}b.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]"},22999:a=>{function b(a,b,c,d){return Math.round(a/c)+" "+d+(b>=1.5*c?"s":"")}a.exports=function(a,c){c=c||{};var d,e,f,g,h=typeof a;if("string"===h&&a.length>0){var i=a;if(!((i=String(i)).length>100)){var j=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(j){var k=parseFloat(j[1]);switch((j[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*k;case"weeks":case"week":case"w":return 6048e5*k;case"days":case"day":case"d":return 864e5*k;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*k;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*k;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*k;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return k;default:break}}}return}if("number"===h&&isFinite(a)){return c.long?(e=Math.abs(d=a))>=864e5?b(d,e,864e5,"day"):e>=36e5?b(d,e,36e5,"hour"):e>=6e4?b(d,e,6e4,"minute"):e>=1e3?b(d,e,1e3,"second"):d+" ms":(g=Math.abs(f=a))>=864e5?Math.round(f/864e5)+"d":g>=36e5?Math.round(f/36e5)+"h":g>=6e4?Math.round(f/6e4)+"m":g>=1e3?Math.round(f/1e3)+"s":f+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))}},28908:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.ReceiveBuffer=void 0;class c{constructor(a=4096){this.buffer=Buffer.allocUnsafe(a),this.offset=0,this.originalSize=a}get length(){return this.offset}append(a){if(!Buffer.isBuffer(a))throw Error("Attempted to append a non-buffer instance to ReceiveBuffer.");if(this.offset+a.length>=this.buffer.length){let b=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+a.length)),b.copy(this.buffer)}return a.copy(this.buffer,this.offset),this.offset+=a.length}peek(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");return this.buffer.slice(0,a)}get(a){if(a>this.offset)throw Error("Attempted to read beyond the bounds of the managed internal data.");let b=Buffer.allocUnsafe(a);return this.buffer.slice(0,a).copy(b),this.buffer.copyWithin(0,a,a+this.offset-a),this.offset-=a,b}}b.ReceiveBuffer=c},31034:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.validateSocksClientOptions=function(a,b=["connect","bind","associate"]){if(!e.SocksCommand[a.command])throw new d.SocksClientError(e.ERRORS.InvalidSocksCommand,a);if(-1===b.indexOf(a.command))throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandForOperation,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!k(a.proxy))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);if(i(a.proxy,a),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a);if(a.existing_socket&&!(a.existing_socket instanceof f.Duplex))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsExistingSocket,a)},b.validateSocksClientChainOptions=function(a){if("connect"!==a.command)throw new d.SocksClientError(e.ERRORS.InvalidSocksCommandChain,a);if(!j(a.destination))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsDestination,a);if(!(a.proxies&&Array.isArray(a.proxies)&&a.proxies.length>=2))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxiesLength,a);if(a.proxies.forEach(b=>{if(!k(b))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsProxy,a);i(b,a)}),a.timeout&&!l(a.timeout))throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsTimeout,a)},b.ipv4ToInt32=function(a){return new g.Address4(a).toArray().reduce((a,b)=>(a<<8)+b,0)>>>0},b.int32ToIpv4=function(a){return[a>>>24&255,a>>>16&255,a>>>8&255,255&a].join(".")},b.ipToBuffer=function(a){if(h.isIPv4(a)){let b=new g.Address4(a);return Buffer.from(b.toArray())}if(h.isIPv6(a)){let b=new g.Address6(a);return Buffer.from(b.canonicalForm().split(":").map(a=>a.padStart(4,"0")).join(""),"hex")}throw Error("Invalid IP address format")};let d=c(84157),e=c(80534),f=c(27910),g=c(71252),h=c(91645);function i(a,b){if(void 0!==a.custom_auth_method){if(a.custom_auth_method<e.SOCKS5_CUSTOM_AUTH_START||a.custom_auth_method>e.SOCKS5_CUSTOM_AUTH_END)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthRange,b);if(void 0===a.custom_auth_request_handler||"function"!=typeof a.custom_auth_request_handler||void 0===a.custom_auth_response_size||void 0===a.custom_auth_response_handler||"function"!=typeof a.custom_auth_response_handler)throw new d.SocksClientError(e.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,b)}}function j(a){return a&&"string"==typeof a.host&&256>Buffer.byteLength(a.host)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535}function k(a){return a&&("string"==typeof a.host||"string"==typeof a.ipaddress)&&"number"==typeof a.port&&a.port>=0&&a.port<=65535&&(4===a.type||5===a.type)}function l(a){return"number"==typeof a&&a>0}},31644:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SPECIAL_PURPOSE=b.RE_SUBNET_STRING=b.RE_ADDRESS=b.GROUPS=b.BITS=void 0,b.BITS=32,b.GROUPS=4,b.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$/g,b.RE_SUBNET_STRING=/\/\d{1,2}$/,b.SPECIAL_PURPOSE=[["0.0.0.0/8","This network",!1],["0.0.0.0/32","This host on this network",!1],["10.0.0.0/8","Private-Use",!1],["100.64.0.0/10","Shared Address Space",!1],["127.0.0.0/8","Loopback",!1],["169.254.0.0/16","Link Local",!1],["172.16.0.0/12","Private-Use",!1],["192.0.0.0/24","IETF Protocol Assignments",!1],["192.0.0.0/29","IPv4 Service Continuity Prefix",!1],["192.0.0.8/32","IPv4 dummy address",!1],["192.0.0.9/32","Port Control Protocol Anycast",!0],["192.0.0.10/32","Traversal Using Relays around NAT Anycast",!0],["192.0.0.170/32","NAT64/DNS64 Discovery",!1],["192.0.0.171/32","NAT64/DNS64 Discovery",!1],["192.0.2.0/24","Documentation (TEST-NET-1)",!1],["192.31.196.0/24","AS112-v4",!0],["192.52.193.0/24","AMT",!0],["192.88.99.0/24","Deprecated (6to4 Relay Anycast)",null],["192.88.99.2/32","6a44-relay anycast address",!1],["192.168.0.0/16","Private-Use",!1],["192.175.48.0/24","Direct Delegation AS112 Service",!0],["198.18.0.0/15","Benchmarking",!1],["198.51.100.0/24","Documentation (TEST-NET-2)",!1],["203.0.113.0/24","Documentation (TEST-NET-3)",!1],["240.0.0.0/4","Reserved",!1],["255.255.255.255/32","Limited Broadcast",!1]]},32220:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b},g=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksProxyAgent=void 0;let h=c(35467),i=c(47099),j=g(c(78359)),k=f(c(14985)),l=f(c(91645)),m=f(c(34631)),n=c(1932),o=(0,j.default)("socks-proxy-agent");class p extends i.Agent{constructor(a,b){super(b);let{proxy:c,lookup:d}=function(a){let b=!1,c=5,d=a.hostname,e=parseInt(a.port,10)||1080;switch(a.protocol.replace(":","")){case"socks4":b=!0,c=4;break;case"socks4a":c=4;break;case"socks5":b=!0,c=5;break;case"socks":case"socks5h":c=5;break;default:throw TypeError(`A "socks" protocol must be specified! Got: ${String(a.protocol)}`)}let f={host:d,port:e,type:c};return a.username&&Object.defineProperty(f,"userId",{value:decodeURIComponent(a.username),enumerable:!1}),null!=a.password&&Object.defineProperty(f,"password",{value:decodeURIComponent(a.password),enumerable:!1}),{lookup:b,proxy:f}}("string"==typeof a?new n.URL(a):a);this.shouldLookup=d,this.proxy=c,this.timeout=b?.timeout??null,this.socketOptions=b?.socketOptions??null}async connect(a,b){let{shouldLookup:c,proxy:d,timeout:e}=this;if(!b.host)throw Error("No `host` defined!");let{host:f}=b,{port:g,lookup:i=k.lookup}=b;c&&(f=await new Promise((a,b)=>{i(f,{},(c,d)=>{c?b(c):a(d)})}));let j={proxy:d,destination:{host:f,port:"number"==typeof g?g:parseInt(g,10)},command:"connect",timeout:e??void 0,socket_options:this.socketOptions??void 0},n=b=>{a.destroy(),p.destroy(),b&&b.destroy()};o("Creating socks proxy connection: %o",j);let{socket:p}=await h.SocksClient.createConnection(j);if(o("Successfully created socks proxy connection"),null!==e&&(p.setTimeout(e),p.on("timeout",()=>n())),b.secureEndpoint){o("Upgrading socket connection to TLS");let a=m.connect({...function(a,...b){let c,d={};for(c in a)b.includes(c)||(d[c]=a[c]);return d}(void 0===b.servername&&b.host&&!l.isIP(b.host)?{...b,servername:b.host}:b,"host","path","port"),socket:p});return a.once("error",b=>{o("Socket TLS error",b.message),n(a)}),a}return p}}p.protocols=["socks","socks4","socks4a","socks5","socks5h"],b.SocksProxyAgent=p},34905:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address4=void 0;let g=f(c(3771)),h=f(c(31644)),i=c(66763),j=g.isCorrect(h.BITS);class k{constructor(a){this.addressMinusSuffix="",this.groups=h.GROUPS,this.parsedAddress=[],this.parsedSubnet="",this.subnet="/32",this.subnetMask=32,this.v4=!0,this.isCorrect=j,this.isInSubnet=g.isInSubnet,this.isHostInSubnet=g.isHostInSubnet,this.address=a;let b=h.RE_SUBNET_STRING.exec(a);if(b){if(this.parsedSubnet=b[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,this.subnetMask<0||this.subnetMask>h.BITS)throw new i.AddressError("Invalid subnet mask.");a=a.replace(h.RE_SUBNET_STRING,"")}let c=4*h.GROUPS-1;if(a.length>c)throw new i.AddressError(`IPv4 addresses are at most ${c} characters.`);this.addressMinusSuffix=a,this.parsedAddress=this.parse(a)}static isValid(a){try{return new k(a),!0}catch{return!1}}parse(a){let b=a.split(".");if(b.some(a=>/^0\d/.test(a)))throw new i.AddressError("IPv4 addresses can't have leading zeroes.");if(!a.match(h.RE_ADDRESS))throw new i.AddressError("Invalid IPv4 address.");return b}correctForm(){return this.parsedAddress.map(a=>parseInt(a,10)).join(".")}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new k(b).bigInt(),h.BITS);return new k(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new k(b).bigInt(),d=(BigInt(1)<<BigInt(h.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,h.BITS);return new k(`${a}/${e}`)}static fromWildcard(a){let b=a.split(".");if(b.length!==h.GROUPS)throw new i.AddressError("Wildcard pattern must have 4 octets");let c=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===c&&(c=a);else if(-1!==c)throw new i.AddressError("Wildcard `*` must only appear in trailing octets (e.g. `192.168.0.*`)");let d=-1===c?0:b.length-c,e=b.map(a=>"*"===a?"0":a),f=h.BITS-8*d;return new k(`${e.join(".")}/${f}`)}static fromHex(a){let b=a.replace(/:/g,"");if(!/^[0-9a-fA-F]{8}$/.test(b))throw new i.AddressError("IPv4 hex must be exactly 8 hex digits");let c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k(c.join("."))}static fromInteger(a){if(!Number.isInteger(a)||a<0||a>0xffffffff)throw new i.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromArpa(a){let b=4*h.GROUPS-1+3+14;if(a.length>b)throw new i.AddressError(`in-addr.arpa names are at most ${b} characters.`);return new k(a.replace(/(\.in-addr\.arpa)?\.?$/i,"").split(".").reverse().join("."))}toHex(){return this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join(":")}toArray(){return this.parsedAddress.map(a=>parseInt(a,10))}toGroup6(){let a,b=[];for(a=0;a<h.GROUPS;a+=2)b.push(`${g.stringToPaddedHex(this.parsedAddress[a])}${g.stringToPaddedHex(this.parsedAddress[a+1])}`);return b.join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(a=>g.stringToPaddedHex(a)).join("")}`)}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(h.BITS-this.subnetMask)}`)}startAddress(){return k.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._startAddress()+a)}offset(a){return k.fromBigInt(g.offsetBigInt(this.bigInt(),a,h.BITS,"IPv4")).withSubnetMask(this.subnetMask)}nextNetwork(){return k.fromBigInt(g.offsetBigInt(this._endAddress(),1,h.BITS,"IPv4")).withSubnetMask(this.subnetMask)}withSubnetMask(a){return new k(`${this.correctForm()}/${a}`)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(h.BITS-this.subnetMask)}`)}endAddress(){return k.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return k.fromBigInt(this._endAddress()-a)}subnetMaskAddress(){return k.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(h.BITS-this.subnetMask)}`))}wildcardMask(){return k.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(h.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}static fromBigInt(a){if(a<BigInt(0)||a>BigInt(0xffffffff))throw new i.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1");return k.fromHex(a.toString(16).padStart(8,"0"))}static fromByteArray(a){return g.assertByteArray(a,4,"IPv4",0),this.fromUnsignedByteArray(a)}static fromUnsignedByteArray(a){if(4!==a.length)throw new i.AddressError("IPv4 addresses require exactly 4 bytes");return new k(a.join("."))}mask(a){return void 0===a&&(a=this.subnetMask),this.getBitsBase2(0,a)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}reverseForm(a){a||(a={});let b=this.correctForm().split(".").reverse().join(".");return a.omitSuffix?b:`${b}.in-addr.arpa.`}isMulticast(){return this.isHostInSubnet(l)}isPrivate(){return m.some(a=>this.isHostInSubnet(a))}isLoopback(){return this.isHostInSubnet(n)}isLinkLocal(){return this.isHostInSubnet(o)}isUnspecified(){return this.isHostInSubnet(p)}isBroadcast(){return this.isHostInSubnet(q)}isCGNAT(){return this.isHostInSubnet(r)}isDocumentation(){return s.some(a=>this.isHostInSubnet(a))}isBenchmarking(){return this.isHostInSubnet(t)}isReserved(){return this.isHostInSubnet(u)}isGlobal(){return!this.isMulticast()&&g.isGloballyReachable.call(this,v)}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(h.BITS,"0")),this._binaryZeroPad}groupForV6(){let a=this.parsedAddress;return this.correctForm().replace(h.RE_ADDRESS,`<span class="hover-group group-v4 group-6">${a.slice(0,2).join(".")}</span>.<span class="hover-group group-v4 group-7">${a.slice(2,4).join(".")}</span>`)}}b.Address4=k;let l=new k("224.0.0.0/4"),m=[new k("10.0.0.0/8"),new k("172.16.0.0/12"),new k("192.168.0.0/16")],n=new k("127.0.0.0/8"),o=new k("169.254.0.0/16"),p=new k("0.0.0.0/32"),q=new k("255.255.255.255/32"),r=new k("100.64.0.0/10"),s=[new k("192.0.2.0/24"),new k("198.51.100.0/24"),new k("203.0.113.0/24")],t=new k("198.18.0.0/15"),u=new k("240.0.0.0/4"),v=h.SPECIAL_PURPOSE.map(([a,,b])=>({subnet:new k(a),reachable:b}))},35467:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(37617),b)},35538:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SPECIAL_PURPOSE=b.RE_URL_WITH_PORT=b.RE_URL=b.RE_ZONE_STRING=b.RE_SUBNET_STRING=b.RE_BAD_ADDRESS=b.RE_BAD_CHARACTERS=b.TYPES=b.SCOPES=b.GROUPS=b.BITS=void 0,b.BITS=128,b.GROUPS=8,b.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"},b.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","::ffff:0:0/96":"IPv4-mapped","ff00::/8":"Multicast","fe80::/10":"Link-local unicast","fc00::/7":"Unique local","2001::/32":"Teredo","2001:2::/48":"Benchmarking","2002::/16":"6to4","2001:db8::/32":"Documentation","3fff::/20":"Documentation","100::/64":"Discard-only","fec0::/10":"Site-local unicast (deprecated)","::/96":"IPv4-compatible (deprecated)","64:ff9b::/96":"NAT64 (well-known)","64:ff9b:1::/48":"NAT64 (local-use)"},b.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi,b.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi,b.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/,b.RE_ZONE_STRING=/%.*$/,b.RE_URL=/^(?:\[([0-9a-f:.]+)\]|([0-9a-f:.]+))(?:[/?#].*)?$/i,b.RE_URL_WITH_PORT=/^\[([0-9a-f:.]+)\]:([0-9]{1,5})(?:[/?#].*)?$/i,b.SPECIAL_PURPOSE=[["::1/128","Loopback Address",!1],["::/128","Unspecified Address",!1],["::ffff:0:0/96","IPv4-mapped Address",!1],["64:ff9b::/96","IPv4-IPv6 Translat.",!0],["64:ff9b:1::/48","IPv4-IPv6 Translat.",!1],["100::/64","Discard-Only Address Block",!1],["100:0:0:1::/64","Dummy IPv6 Prefix",!1],["2001::/23","IETF Protocol Assignments",!1],["2001::/32","TEREDO",!1],["2001:1::1/128","Port Control Protocol Anycast",!0],["2001:1::2/128","Traversal Using Relays around NAT Anycast",!0],["2001:1::3/128","DNS-SD Service Registration Protocol Anycast",!0],["2001:2::/48","Benchmarking",!1],["2001:3::/32","AMT",!0],["2001:4:112::/48","AS112-v6",!0],["2001:10::/28","Deprecated (previously ORCHID)",null],["2001:20::/28","ORCHIDv2",!0],["2001:30::/28","Drone Remote ID Protocol Entity Tags (DETs) Prefix",!0],["2001:db8::/32","Documentation",!1],["2002::/16","6to4",!1],["2620:4f:8000::/48","Direct Delegation AS112 Service",!0],["3fff::/20","Documentation",!1],["5f00::/16","Segment Routing (SRv6) SIDs",!1],["fc00::/7","Unique-Local",!1],["fe80::/10","Link-Local Unicast",!1]]},37617:function(a,b,c){"use strict";var d=this&&this.__awaiter||function(a,b,c,d){return new(c||(c=Promise))(function(e,f){function g(a){try{i(d.next(a))}catch(a){f(a)}}function h(a){try{i(d.throw(a))}catch(a){f(a)}}function i(a){var b;a.done?e(a.value):((b=a.value)instanceof c?b:new c(function(a){a(b)})).then(g,h)}i((d=d.apply(a,b||[])).next())})};Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=b.SocksClient=void 0;let e=c(94735),f=c(91645),g=c(67513),h=c(80534),i=c(31034),j=c(28908),k=c(84157);Object.defineProperty(b,"SocksClientError",{enumerable:!0,get:function(){return k.SocksClientError}});let l=c(71252);class m extends e.EventEmitter{constructor(a){super(),this.options=Object.assign({},a),(0,i.validateSocksClientOptions)(a),this.setState(h.SocksClientState.Created)}static createConnection(a,b){return new Promise((c,d)=>{try{(0,i.validateSocksClientOptions)(a,["connect"])}catch(a){if("function"==typeof b)return b(a),c(a);return d(a)}let e=new m(a);e.connect(a.existing_socket),e.once("established",a=>{e.removeAllListeners(),"function"==typeof b&&b(null,a),c(a)}),e.once("error",a=>{e.removeAllListeners(),"function"==typeof b?(b(a),c(a)):d(a)})})}static createConnectionChain(a,b){return new Promise((c,e)=>d(this,void 0,void 0,function*(){try{(0,i.validateSocksClientChainOptions)(a)}catch(a){if("function"==typeof b)return b(a),c(a);return e(a)}a.randomizeChain&&(0,k.shuffleArray)(a.proxies);try{let d;for(let b=0;b<a.proxies.length;b++){let c=a.proxies[b],e=b===a.proxies.length-1?a.destination:{host:a.proxies[b+1].host||a.proxies[b+1].ipaddress,port:a.proxies[b+1].port},f=yield m.createConnection({command:"connect",proxy:c,destination:e,existing_socket:d});d=d||f.socket}"function"==typeof b&&b(null,{socket:d}),c({socket:d})}catch(a){"function"==typeof b?(b(a),c(a)):e(a)}}))}static createUDPFrame(a){let b=new g.SmartBuffer;return b.writeUInt16BE(0),b.writeUInt8(a.frameNumber||0),f.isIPv4(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv4),b.writeUInt32BE((0,i.ipv4ToInt32)(a.remoteHost.host))):f.isIPv6(a.remoteHost.host)?(b.writeUInt8(h.Socks5HostType.IPv6),b.writeBuffer((0,i.ipToBuffer)(a.remoteHost.host))):(b.writeUInt8(h.Socks5HostType.Hostname),b.writeUInt8(Buffer.byteLength(a.remoteHost.host)),b.writeString(a.remoteHost.host)),b.writeUInt16BE(a.remoteHost.port),b.writeBuffer(a.data),b.toBuffer()}static parseUDPFrame(a){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c=b.readUInt8(),d=b.readUInt8();return{frameNumber:c,remoteHost:{host:d===h.Socks5HostType.IPv4?(0,i.int32ToIpv4)(b.readUInt32BE()):d===h.Socks5HostType.IPv6?l.Address6.fromByteArray(Array.from(b.readBuffer(16))).canonicalForm():b.readString(b.readUInt8()),port:b.readUInt16BE()},data:b.readBuffer()}}setState(a){this.state!==h.SocksClientState.Error&&(this.state=a)}connect(a){this.onDataReceived=a=>this.onDataReceivedHandler(a),this.onClose=()=>this.onCloseHandler(),this.onError=a=>this.onErrorHandler(a),this.onConnect=()=>this.onConnectHandler();let b=setTimeout(()=>this.onEstablishedTimeout(),this.options.timeout||h.DEFAULT_TIMEOUT);b.unref&&"function"==typeof b.unref&&b.unref(),a?this.socket=a:this.socket=new f.Socket,this.socket.once("close",this.onClose),this.socket.once("error",this.onError),this.socket.once("connect",this.onConnect),this.socket.on("data",this.onDataReceived),this.setState(h.SocksClientState.Connecting),this.receiveBuffer=new j.ReceiveBuffer,a?this.socket.emit("connect"):(this.socket.connect(this.getSocketOptions()),void 0!==this.options.set_tcp_nodelay&&null!==this.options.set_tcp_nodelay&&this.socket.setNoDelay(!!this.options.set_tcp_nodelay)),this.prependOnceListener("established",a=>{setImmediate(()=>{if(this.receiveBuffer.length>0){let b=this.receiveBuffer.get(this.receiveBuffer.length);a.socket.emit("data",b)}a.socket.resume()})})}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.BoundWaitingForConnection&&this.closeSocket(h.ERRORS.ProxyConnectionTimedOut)}onConnectHandler(){this.setState(h.SocksClientState.Connected),4===this.options.proxy.type?this.sendSocks4InitialHandshake():this.sendSocks5InitialHandshake(),this.setState(h.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(a){this.receiveBuffer.append(a),this.processData()}processData(){for(;this.state!==h.SocksClientState.Established&&this.state!==h.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize;)if(this.state===h.SocksClientState.SentInitialHandshake)4===this.options.proxy.type?this.handleSocks4FinalHandshakeResponse():this.handleInitialSocks5HandshakeResponse();else if(this.state===h.SocksClientState.SentAuthentication)this.handleInitialSocks5AuthenticationHandshakeResponse();else if(this.state===h.SocksClientState.SentFinalHandshake)this.handleSocks5FinalHandshakeResponse();else if(this.state===h.SocksClientState.BoundWaitingForConnection)4===this.options.proxy.type?this.handleSocks4IncomingConnectionResponse():this.handleSocks5IncomingConnectionResponse();else{this.closeSocket(h.ERRORS.InternalError);break}}onCloseHandler(){this.closeSocket(h.ERRORS.SocketClosed)}onErrorHandler(a){this.closeSocket(a.message)}removeInternalSocketHandlers(){this.socket.pause(),this.socket.removeListener("data",this.onDataReceived),this.socket.removeListener("close",this.onClose),this.socket.removeListener("error",this.onError),this.socket.removeListener("connect",this.onConnect)}closeSocket(a){this.state!==h.SocksClientState.Error&&(this.setState(h.SocksClientState.Error),this.socket.destroy(),this.removeInternalSocketHandlers(),this.emit("error",new k.SocksClientError(a,this.options)))}sendSocks4InitialHandshake(){let a=this.options.proxy.userId||"",b=new g.SmartBuffer;b.writeUInt8(4),b.writeUInt8(h.SocksCommand[this.options.command]),b.writeUInt16BE(this.options.destination.port),f.isIPv4(this.options.destination.host)?(b.writeBuffer((0,i.ipToBuffer)(this.options.destination.host)),b.writeStringNT(a)):(b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(0),b.writeUInt8(1),b.writeStringNT(a),b.writeStringNT(this.options.destination.host)),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks4Response,this.socket.write(b.toBuffer())}handleSocks4FinalHandshakeResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedConnection} - (${h.Socks4Response[a[1]]})`);else if(h.SocksCommand[this.options.command]===h.SocksCommand.bind){let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};"0.0.0.0"===c.host&&(c.host=this.options.proxy.ipaddress),this.setState(h.SocksClientState.BoundWaitingForConnection),this.emit("bound",{remoteHost:c,socket:this.socket})}else this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{socket:this.socket})}handleSocks4IncomingConnectionResponse(){let a=this.receiveBuffer.get(8);if(a[1]!==h.Socks4Response.Granted)this.closeSocket(`${h.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${h.Socks4Response[a[1]]})`);else{let b=g.SmartBuffer.fromBuffer(a);b.readOffset=2;let c={port:b.readUInt16BE(),host:(0,i.int32ToIpv4)(b.readUInt32BE())};this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:c,socket:this.socket})}}sendSocks5InitialHandshake(){let a=new g.SmartBuffer,b=[h.Socks5Auth.NoAuth];for(let c of((this.options.proxy.userId||this.options.proxy.password)&&b.push(h.Socks5Auth.UserPass),void 0!==this.options.proxy.custom_auth_method&&b.push(this.options.proxy.custom_auth_method),a.writeUInt8(5),a.writeUInt8(b.length),b))a.writeUInt8(c);this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){let a=this.receiveBuffer.get(2);5!==a[0]?this.closeSocket(h.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion):a[1]===h.SOCKS5_NO_ACCEPTABLE_AUTH?this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType):a[1]===h.Socks5Auth.NoAuth?(this.socks5ChosenAuthType=h.Socks5Auth.NoAuth,this.sendSocks5CommandRequest()):a[1]===h.Socks5Auth.UserPass?(this.socks5ChosenAuthType=h.Socks5Auth.UserPass,this.sendSocks5UserPassAuthentication()):a[1]===this.options.proxy.custom_auth_method?(this.socks5ChosenAuthType=this.options.proxy.custom_auth_method,this.sendSocks5CustomAuthentication()):this.closeSocket(h.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}sendSocks5UserPassAuthentication(){let a=this.options.proxy.userId||"",b=this.options.proxy.password||"",c=new g.SmartBuffer;c.writeUInt8(1),c.writeUInt8(Buffer.byteLength(a)),c.writeString(a),c.writeUInt8(Buffer.byteLength(b)),c.writeString(b),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse,this.socket.write(c.toBuffer()),this.setState(h.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return d(this,void 0,void 0,function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size,this.socket.write((yield this.options.proxy.custom_auth_request_handler())),this.setState(h.SocksClientState.SentAuthentication)})}handleSocks5CustomAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return yield this.options.proxy.custom_auth_response_handler(a)})}handleSocks5AuthenticationNoAuthHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleSocks5AuthenticationUserPassHandshakeResponse(a){return d(this,void 0,void 0,function*(){return 0===a[1]})}handleInitialSocks5AuthenticationHandshakeResponse(){return d(this,void 0,void 0,function*(){this.setState(h.SocksClientState.ReceivedAuthenticationResponse);let a=!1;this.socks5ChosenAuthType===h.Socks5Auth.NoAuth?a=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===h.Socks5Auth.UserPass?a=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)):this.socks5ChosenAuthType===this.options.proxy.custom_auth_method&&(a=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))),a?this.sendSocks5CommandRequest():this.closeSocket(h.ERRORS.Socks5AuthenticationFailed)})}sendSocks5CommandRequest(){let a=new g.SmartBuffer;a.writeUInt8(5),a.writeUInt8(h.SocksCommand[this.options.command]),a.writeUInt8(0),f.isIPv4(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv4),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):f.isIPv6(this.options.destination.host)?(a.writeUInt8(h.Socks5HostType.IPv6),a.writeBuffer((0,i.ipToBuffer)(this.options.destination.host))):(a.writeUInt8(h.Socks5HostType.Hostname),a.writeUInt8(this.options.destination.host.length),a.writeString(this.options.destination.host)),a.writeUInt16BE(this.options.destination.port),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.socket.write(a.toBuffer()),this.setState(h.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.ReceivedFinalResponse),h.SocksCommand[this.options.command]===h.SocksCommand.connect?(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.bind?(this.setState(h.SocksClientState.BoundWaitingForConnection),this.nextRequiredPacketBufferSize=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader,this.emit("bound",{remoteHost:b,socket:this.socket})):h.SocksCommand[this.options.command]===h.SocksCommand.associate&&(this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket}))}}handleSocks5IncomingConnectionResponse(){let a=this.receiveBuffer.peek(5);if(5!==a[0]||a[1]!==h.Socks5Response.Granted)this.closeSocket(`${h.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${h.Socks5Response[a[1]]}`);else{let b,c,d=a[3];if(d===h.Socks5HostType.IPv4){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),"0.0.0.0"===(b={host:(0,i.int32ToIpv4)(c.readUInt32BE()),port:c.readUInt16BE()}).host&&(b.host=this.options.proxy.ipaddress)}else if(d===h.Socks5HostType.Hostname){let d=a[4],e=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(d);if(this.receiveBuffer.length<e){this.nextRequiredPacketBufferSize=e;return}b={host:(c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(e).slice(5))).readString(d),port:c.readUInt16BE()}}else if(d===h.Socks5HostType.IPv6){let a=h.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<a){this.nextRequiredPacketBufferSize=a;return}c=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(a).slice(4)),b={host:l.Address6.fromByteArray(Array.from(c.readBuffer(16))).canonicalForm(),port:c.readUInt16BE()}}this.setState(h.SocksClientState.Established),this.removeInternalSocketHandlers(),this.emit("established",{remoteHost:b,socket:this.socket})}}get socksClientOptions(){return Object.assign({},this.options)}}b.SocksClient=m},40297:(a,b)=>{"use strict";function c(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function d(a){return c(a).replace(/(0+)/g,'<span class="zero">$1</span>')}function e(a){return c(a).replace(/^(0+)/,'<span class="zero">$1</span>')}Object.defineProperty(b,"__esModule",{value:!0}),b.escapeHtml=c,b.spanAllZeroes=d,b.spanAll=function(a,b=0){return a.split("").map((a,e)=>`<span class="digit value-${c(a)} position-${e+b}">${d(a)}</span>`).join("")},b.spanLeadingZeroes=function(a){return a.split(":").map(a=>e(a)).join(":")},b.simpleGroup=function(a,b=0){return a.split(":").map((a,c)=>/group-v4/.test(a)?a:`<span class="hover-group group-${c+b}">${e(a)}</span>`)}},47099:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b},g=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),b.Agent=void 0;let h=f(c(91645)),i=f(c(81630)),j=c(55591);g(c(66084),b);let k=Symbol("AgentBaseInternalState");class l extends i.Agent{constructor(a){super(a),this[k]={}}isSecureEndpoint(a){if(a){if("boolean"==typeof a.secureEndpoint)return a.secureEndpoint;if("string"==typeof a.protocol)return"https:"===a.protocol}let{stack:b}=Error();return"string"==typeof b&&b.split("\n").some(a=>-1!==a.indexOf("(https.js:")||-1!==a.indexOf("node:https:"))}incrementSockets(a){if(1/0===this.maxSockets&&1/0===this.maxTotalSockets)return null;this.sockets[a]||(this.sockets[a]=[]);let b=new h.Socket({writable:!1});return this.sockets[a].push(b),this.totalSocketCount++,b}decrementSockets(a,b){if(!this.sockets[a]||null===b)return;let c=this.sockets[a],d=c.indexOf(b);-1!==d&&(c.splice(d,1),this.totalSocketCount--,0===c.length&&delete this.sockets[a])}getName(a){return this.isSecureEndpoint(a)?j.Agent.prototype.getName.call(this,a):super.getName(a)}createSocket(a,b,c){let d={...b,secureEndpoint:this.isSecureEndpoint(b)},e=this.getName(d),f=this.incrementSockets(e);Promise.resolve().then(()=>this.connect(a,d)).then(g=>{if(this.decrementSockets(e,f),g instanceof i.Agent)try{return g.addRequest(a,d)}catch(a){return c(a)}this[k].currentSocket=g,super.createSocket(a,b,c)},a=>{this.decrementSockets(e,f),c(a)})}createConnection(){let a=this[k].currentSocket;if(this[k].currentSocket=void 0,!a)throw Error("No socket was returned in the `connect()` function");return a}get defaultPort(){return this[k].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(a){this[k]&&(this[k].defaultPort=a)}get protocol(){return this[k].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(a){this[k]&&(this[k].protocol=a)}}b.Agent=l},52760:a=>{"use strict";a.exports=(a,b=process.argv)=>{let c=a.startsWith("-")?"":1===a.length?"-":"--",d=b.indexOf(c+a),e=b.indexOf("--");return -1!==d&&(-1===e||d<e)}},61743:(a,b,c)=>{let d=c(83997),e=c(28354);b.init=function(a){a.inspectOpts={};let c=Object.keys(b.inspectOpts);for(let d=0;d<c.length;d++)a.inspectOpts[c[d]]=b.inspectOpts[c[d]]},b.log=function(...a){return process.stderr.write(e.formatWithOptions(b.inspectOpts,...a)+"\n")},b.formatArgs=function(c){let{namespace:d,useColors:e}=this;if(e){let b=this.color,e="\x1b[3"+(b<8?b:"8;5;"+b),f=` ${e};1m${d} \x1b[0m`;c[0]=f+c[0].split("\n").join("\n"+f),c.push(e+"m+"+a.exports.humanize(this.diff)+"\x1b[0m")}else c[0]=(b.inspectOpts.hideDate?"":new Date().toISOString()+" ")+d+" "+c[0]},b.save=function(a){a?process.env.DEBUG=a:delete process.env.DEBUG},b.load=function(){return process.env.DEBUG},b.useColors=function(){return"colors"in b.inspectOpts?!!b.inspectOpts.colors:d.isatty(process.stderr.fd)},b.destroy=e.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),b.colors=[6,2,3,4,5,1];try{let a=c(13369);a&&(a.stderr||a).level>=2&&(b.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(a){}b.inspectOpts=Object.keys(process.env).filter(a=>/^debug_/i.test(a)).reduce((a,b)=>{let c=b.substring(6).toLowerCase().replace(/_([a-z])/g,(a,b)=>b.toUpperCase()),d=process.env[b];return d=!!/^(yes|on|true|enabled)$/i.test(d)||!/^(no|off|false|disabled)$/i.test(d)&&("null"===d?null:Number(d)),a[c]=d,a},{}),a.exports=c(65060)(b);let{formatters:f}=a.exports;f.o=function(a){return this.inspectOpts.colors=this.useColors,e.inspect(a,this.inspectOpts).split("\n").map(a=>a.trim()).join(" ")},f.O=function(a){return this.inspectOpts.colors=this.useColors,e.inspect(a,this.inspectOpts)}},65060:(a,b,c)=>{a.exports=function(a){function b(a){let c,e,f,g=null;function h(...a){if(!h.enabled)return;let d=Number(new Date);h.diff=d-(c||d),h.prev=c,h.curr=d,c=d,a[0]=b.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");let e=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(c,d)=>{if("%%"===c)return"%";e++;let f=b.formatters[d];if("function"==typeof f){let b=a[e];c=f.call(h,b),a.splice(e,1),e--}return c}),b.formatArgs.call(h,a),(h.log||b.log).apply(h,a)}return h.namespace=a,h.useColors=b.useColors(),h.color=b.selectColor(a),h.extend=d,h.destroy=b.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==g?g:(e!==b.namespaces&&(e=b.namespaces,f=b.enabled(a)),f),set:a=>{g=a}}),"function"==typeof b.init&&b.init(h),h}function d(a,c){let d=b(this.namespace+(void 0===c?":":c)+a);return d.log=this.log,d}function e(a,b){let c=0,d=0,e=-1,f=0;for(;c<a.length;)if(d<b.length&&(b[d]===a[c]||"*"===b[d]))"*"===b[d]?(e=d,f=c):c++,d++;else{if(-1===e)return!1;d=e+1,c=++f}for(;d<b.length&&"*"===b[d];)d++;return d===b.length}return b.debug=b,b.default=b,b.coerce=function(a){return a instanceof Error?a.stack||a.message:a},b.disable=function(){let a=[...b.names,...b.skips.map(a=>"-"+a)].join(",");return b.enable(""),a},b.enable=function(a){for(let c of(b.save(a),b.namespaces=a,b.names=[],b.skips=[],("string"==typeof a?a:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===c[0]?b.skips.push(c.slice(1)):b.names.push(c)},b.enabled=function(a){for(let c of b.skips)if(e(a,c))return!1;for(let c of b.names)if(e(a,c))return!0;return!1},b.humanize=c(22999),b.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(a).forEach(c=>{b[c]=a[c]}),b.names=[],b.skips=[],b.formatters={},b.selectColor=function(a){let c=0;for(let b=0;b<a.length;b++)c=(c<<5)-c+a.charCodeAt(b)|0;return b.colors[Math.abs(c)%b.colors.length]},b.enable(b.load()),b}},66084:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.req=b.json=b.toBuffer=void 0;let g=f(c(81630)),h=f(c(55591));async function i(a){let b=0,c=[];for await(let d of a)b+=d.length,c.push(d);return Buffer.concat(c,b)}b.toBuffer=i,b.json=async function(a){let b=(await i(a)).toString("utf8");try{return JSON.parse(b)}catch(a){throw a.message+=` (input: ${b})`,a}},b.req=function(a,b={}){let c=(("string"==typeof a?a:a.href).startsWith("https:")?h:g).request(a,b),d=new Promise((a,b)=>{c.once("response",a).once("error",b).end()});return c.then=d.then.bind(d),c}},66763:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.AddressError=void 0;class c extends Error{constructor(a,b){super(a),this.name="AddressError",this.parseMessage=b}}b.AddressError=c},67513:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(9923);class e{constructor(a){if(this.length=0,this._encoding="utf8",this._writeOffset=0,this._readOffset=0,e.isSmartBufferOptions(a))if(a.encoding&&(d.checkEncoding(a.encoding),this._encoding=a.encoding),a.size)if(d.isFiniteInteger(a.size)&&a.size>0)this._buff=Buffer.allocUnsafe(a.size);else throw Error(d.ERRORS.INVALID_SMARTBUFFER_SIZE);else if(a.buff)if(Buffer.isBuffer(a.buff))this._buff=a.buff,this.length=a.buff.length;else throw Error(d.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(4096);else{if(void 0!==a)throw Error(d.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(4096)}}static fromSize(a,b){return new this({size:a,encoding:b})}static fromBuffer(a,b){return new this({buff:a,encoding:b})}static fromOptions(a){return new this(a)}static isSmartBufferOptions(a){return a&&(void 0!==a.encoding||void 0!==a.size||void 0!==a.buff)}readInt8(a){return this._readNumberValue(Buffer.prototype.readInt8,1,a)}readInt16BE(a){return this._readNumberValue(Buffer.prototype.readInt16BE,2,a)}readInt16LE(a){return this._readNumberValue(Buffer.prototype.readInt16LE,2,a)}readInt32BE(a){return this._readNumberValue(Buffer.prototype.readInt32BE,4,a)}readInt32LE(a){return this._readNumberValue(Buffer.prototype.readInt32LE,4,a)}readBigInt64BE(a){return d.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,a)}readBigInt64LE(a){return d.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,a)}writeInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeInt8,1,a,b),this}insertInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeInt8,1,a,b)}writeInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}insertInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,a,b)}writeInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}insertInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,a,b)}writeInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}insertInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,a,b)}writeInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}insertInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,a,b)}writeBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}insertBigInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,a,b)}writeBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}insertBigInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,a,b)}readUInt8(a){return this._readNumberValue(Buffer.prototype.readUInt8,1,a)}readUInt16BE(a){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,a)}readUInt16LE(a){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,a)}readUInt32BE(a){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,a)}readUInt32LE(a){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,a)}readBigUInt64BE(a){return d.bigIntAndBufferInt64Check("readBigUInt64BE"),this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,a)}readBigUInt64LE(a){return d.bigIntAndBufferInt64Check("readBigUInt64LE"),this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,a)}writeUInt8(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,a,b)}insertUInt8(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,a,b)}writeUInt16BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}insertUInt16BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,a,b)}writeUInt16LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}insertUInt16LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,a,b)}writeUInt32BE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}insertUInt32BE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,a,b)}writeUInt32LE(a,b){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}insertUInt32LE(a,b){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,a,b)}writeBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}insertBigUInt64BE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,a,b)}writeBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}insertBigUInt64LE(a,b){return d.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,a,b)}readFloatBE(a){return this._readNumberValue(Buffer.prototype.readFloatBE,4,a)}readFloatLE(a){return this._readNumberValue(Buffer.prototype.readFloatLE,4,a)}writeFloatBE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}insertFloatBE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,a,b)}writeFloatLE(a,b){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}insertFloatLE(a,b){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,a,b)}readDoubleBE(a){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,a)}readDoubleLE(a){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,a)}writeDoubleBE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}insertDoubleBE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,a,b)}writeDoubleLE(a,b){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}insertDoubleLE(a,b){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,a,b)}readString(a,b){let c;"number"==typeof a?(d.checkLengthValue(a),c=Math.min(a,this.length-this._readOffset)):(b=a,c=this.length-this._readOffset),void 0!==b&&d.checkEncoding(b);let e=this._buff.slice(this._readOffset,this._readOffset+c).toString(b||this._encoding);return this._readOffset+=c,e}insertString(a,b,c){return d.checkOffsetValue(b),this._handleString(a,!0,b,c)}writeString(a,b,c){return this._handleString(a,!1,b,c)}readStringNT(a){void 0!==a&&d.checkEncoding(a);let b=this.length;for(let a=this._readOffset;a<this.length;a++)if(0===this._buff[a]){b=a;break}let c=this._buff.slice(this._readOffset,b);return this._readOffset=b+1,c.toString(a||this._encoding)}insertStringNT(a,b,c){return d.checkOffsetValue(b),this.insertString(a,b,c),this.insertUInt8(0,b+a.length),this}writeStringNT(a,b,c){return this.writeString(a,b,c),this.writeUInt8(0,"number"==typeof b?b+a.length:this.writeOffset),this}readBuffer(a){void 0!==a&&d.checkLengthValue(a);let b="number"==typeof a?a:this.length,c=Math.min(this.length,this._readOffset+b),e=this._buff.slice(this._readOffset,c);return this._readOffset=c,e}insertBuffer(a,b){return d.checkOffsetValue(b),this._handleBuffer(a,!0,b)}writeBuffer(a,b){return this._handleBuffer(a,!1,b)}readBufferNT(){let a=this.length;for(let b=this._readOffset;b<this.length;b++)if(0===this._buff[b]){a=b;break}let b=this._buff.slice(this._readOffset,a);return this._readOffset=a+1,b}insertBufferNT(a,b){return d.checkOffsetValue(b),this.insertBuffer(a,b),this.insertUInt8(0,b+a.length),this}writeBufferNT(a,b){return void 0!==b&&d.checkOffsetValue(b),this.writeBuffer(a,b),this.writeUInt8(0,"number"==typeof b?b+a.length:this._writeOffset),this}clear(){return this._writeOffset=0,this._readOffset=0,this.length=0,this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._readOffset=a}get writeOffset(){return this._writeOffset}set writeOffset(a){d.checkOffsetValue(a),d.checkTargetOffset(a,this),this._writeOffset=a}get encoding(){return this._encoding}set encoding(a){d.checkEncoding(a),this._encoding=a}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(a){let b="string"==typeof a?a:this._encoding;return d.checkEncoding(b),this._buff.toString(b,0,this.length)}destroy(){return this.clear(),this}_handleString(a,b,c,e){let f=this._writeOffset,g=this._encoding;"number"==typeof c?f=c:"string"==typeof c&&(d.checkEncoding(c),g=c),"string"==typeof e&&(d.checkEncoding(e),g=e);let h=Buffer.byteLength(a,g);return b?this.ensureInsertable(h,f):this._ensureWriteable(h,f),this._buff.write(a,f,h,g),b?this._writeOffset+=h:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,f+h):this._writeOffset+=h,this}_handleBuffer(a,b,c){let d="number"==typeof c?c:this._writeOffset;return b?this.ensureInsertable(a.length,d):this._ensureWriteable(a.length,d),a.copy(this._buff,d),b?this._writeOffset+=a.length:"number"==typeof c?this._writeOffset=Math.max(this._writeOffset,d+a.length):this._writeOffset+=a.length,this}ensureReadable(a,b){let c=this._readOffset;if(void 0!==b&&(d.checkOffsetValue(b),c=b),c<0||c+a>this.length)throw Error(d.ERRORS.INVALID_READ_BEYOND_BOUNDS)}ensureInsertable(a,b){d.checkOffsetValue(b),this._ensureCapacity(this.length+a),b<this.length&&this._buff.copy(this._buff,b+a,b,this._buff.length),b+a>this.length?this.length=b+a:this.length+=a}_ensureWriteable(a,b){let c="number"==typeof b?b:this._writeOffset;this._ensureCapacity(c+a),c+a>this.length&&(this.length=c+a)}_ensureCapacity(a){let b=this._buff.length;if(a>b){let c=this._buff,d=3*b/2+1;d<a&&(d=a),this._buff=Buffer.allocUnsafe(d),c.copy(this._buff,0,0,b)}}_readNumberValue(a,b,c){this.ensureReadable(b,c);let d=a.call(this._buff,"number"==typeof c?c:this._readOffset);return void 0===c&&(this._readOffset+=b),d}_insertNumberValue(a,b,c,e){return d.checkOffsetValue(e),this.ensureInsertable(b,e),a.call(this._buff,c,e),this._writeOffset+=b,this}_writeNumberValue(a,b,c,e){if("number"==typeof e){if(e<0)throw Error(d.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);d.checkOffsetValue(e)}let f="number"==typeof e?e:this._writeOffset;return this._ensureWriteable(b,f),a.call(this._buff,c,f),"number"==typeof e?this._writeOffset=Math.max(this._writeOffset,f+b):this._writeOffset+=b,this}}b.SmartBuffer=e},71252:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.v6=b.AddressError=b.Address6=b.Address4=void 0;var g=c(34905);Object.defineProperty(b,"Address4",{enumerable:!0,get:function(){return g.Address4}});var h=c(74023);Object.defineProperty(b,"Address6",{enumerable:!0,get:function(){return h.Address6}});var i=c(66763);Object.defineProperty(b,"AddressError",{enumerable:!0,get:function(){return i.AddressError}}),b.v6={helpers:f(c(40297))}},74023:function(a,b,c){"use strict";var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c);var e=Object.getOwnPropertyDescriptor(b,c);(!e||("get"in e?!b.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return b[c]}}),Object.defineProperty(a,d,e)}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__setModuleDefault||(Object.create?function(a,b){Object.defineProperty(a,"default",{enumerable:!0,value:b})}:function(a,b){a.default=b}),f=this&&this.__importStar||function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)"default"!==c&&Object.prototype.hasOwnProperty.call(a,c)&&d(b,a,c);return e(b,a),b};Object.defineProperty(b,"__esModule",{value:!0}),b.Address6=void 0;let g=f(c(3771)),h=f(c(31644)),i=f(c(35538)),j=f(c(40297)),k=c(34905),l=c(16607),m=c(66763),n=c(3771),o=g.isCorrect(i.BITS);function p(a){if(!a)throw Error("Assertion failed.")}function q(a){return(a=a.replace(/^(0{1,})([1-9]+)$/,'<span class="parse-error">$1</span>$2')).replace(/^(0{1,})(0)$/,'<span class="parse-error">$1</span>$2')}function r(a){return parseInt(a,16).toString(16).padStart(4,"0")}function s(a){return 255&a}class t{constructor(a,b){this.addressMinusSuffix="",this.parsedSubnet="",this.subnet="/128",this.subnetMask=128,this.v4=!1,this.zone="",this.isInSubnet=g.isInSubnet,this.isHostInSubnet=g.isHostInSubnet,this.isCorrect=o,void 0===b?this.groups=i.GROUPS:this.groups=b,this.address=a;let c=i.RE_SUBNET_STRING.exec(a);if(c){if(this.parsedSubnet=c[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet=`/${this.subnetMask}`,Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>i.BITS)throw new m.AddressError("Invalid subnet mask.");a=a.replace(i.RE_SUBNET_STRING,"")}if(/\//.test(a))throw new m.AddressError("Invalid subnet mask.");let d=a.indexOf("%");-1!==d&&/^.*$/.test(a.slice(d))&&(this.zone=a.slice(d),a=a.slice(0,d));let e=5*this.groups+5;if(a.length>e)throw new m.AddressError(`IPv6 addresses are at most ${e} characters.`);this.addressMinusSuffix=a,this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(a){try{return new t(a),!0}catch{return!1}}static fromBigInt(a){if(a<BigInt(0)||a>(BigInt(1)<<BigInt(i.BITS))-BigInt(1))throw new m.AddressError("IPv6 BigInt must be in the range 0 to 2**128 - 1");let b=a.toString(16).padStart(32,"0"),c=[];for(let a=0;a<i.GROUPS;a++)c.push(b.slice(4*a,(a+1)*4));return new t(c.join(":"))}static fromURL(a){var b;let c,d,e,f,g=null,h=a.replace(/^[a-z][a-z0-9+.-]*:\/\//i,"");if(-1!==h.indexOf("[")&&-1!==h.indexOf("]:")){if(e="failed to parse address with port",null===(d=i.RE_URL_WITH_PORT.exec(h)))return{error:e,address:null,port:null};c=d[1],g=d[2]}else{if(e="failed to parse address from URL",null===(d=i.RE_URL.exec(h)))return{error:e,address:null,port:null};c=null!=(b=d[1])?b:d[2]}g?((g=parseInt(g,10))<0||g>65535)&&(g=null):g=null;try{f=new t(c)}catch{return{error:e,address:null,port:null}}return{address:f,port:g}}static fromAddressAndMask(a,b){let c=g.prefixLengthFromMask(new t(b).bigInt(),i.BITS);return new t(`${a}/${c}`)}static fromAddressAndWildcardMask(a,b){let c=new t(b).bigInt(),d=(BigInt(1)<<BigInt(i.BITS))-BigInt(1),e=g.prefixLengthFromMask(c^d,i.BITS);return new t(`${a}/${e}`)}static fromWildcard(a){let b;if(a.includes("%")||a.includes("/"))throw new m.AddressError("Wildcard pattern must not include a zone or CIDR suffix");let c=a.split("::");if(c.length>2)throw new m.AddressError("Wildcard pattern cannot contain more than one '::'");if(2===c.length){let a=""===c[0]?[]:c[0].split(":"),d=""===c[1]?[]:c[1].split(":"),e=i.GROUPS-a.length-d.length;if(e<1)throw new m.AddressError("Wildcard pattern with '::' has too many groups");b=[...a,...Array(e).fill("0"),...d]}else b=a.split(":");if(b.length!==i.GROUPS)throw new m.AddressError("Wildcard pattern must have 8 groups");let d=-1;for(let a=0;a<b.length;a++)if("*"===b[a])-1===d&&(d=a);else if(-1!==d)throw new m.AddressError("Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)");let e=-1===d?0:b.length-d,f=b.map(a=>"*"===a?"0":a),g=i.BITS-16*e;return new t(`${f.join(":")}/${g}`)}static fromAddress4(a){let b=new k.Address4(a),c=i.BITS-(h.BITS-b.subnetMask);return new t(`::ffff:${b.correctForm()}/${c}`)}static fromArpa(a){let b=a.replace(/(\.ip6\.arpa)?\.?$/i,"");if(!/^[0-9a-f](\.[0-9a-f]){0,31}$/i.test(b))throw new m.AddressError("Invalid 'ip6.arpa' form.");let c=b.split(".").reverse(),d=4*c.length,e=c.join("").padEnd(32,"0"),f=[];for(let a=0;a<i.GROUPS;a++)f.push(e.slice(4*a,(a+1)*4));return new t(`${f.join(":")}/${d}`)}microsoftTranscription(){return`${this.correctForm().replace(/:/g,"-")}.ipv6-literal.net`}mask(a=this.subnetMask){return this.getBitsBase2(0,a)}possibleSubnets(a=128){let b=i.BITS-this.subnetMask-Math.abs(a-i.BITS);if(b<0)return"0";var c=(BigInt("2")**BigInt(b)).toString(10);let d=/(\d+)(\d{3})/;for(;d.test(c);)c=c.replace(d,"$1,$2");return c}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(i.BITS-this.subnetMask)}`)}startAddress(){return t.fromBigInt(this._startAddress())}startAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._startAddress()+a)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(i.BITS-this.subnetMask)}`)}endAddress(){return t.fromBigInt(this._endAddress())}endAddressExclusive(){let a=BigInt("1");return t.fromBigInt(this._endAddress()-a)}offset(a){return t.fromBigInt(g.offsetBigInt(this.bigInt(),a,i.BITS,"IPv6")).withSubnetMask(this.subnetMask)}nextNetwork(){return t.fromBigInt(g.offsetBigInt(this._endAddress(),1,i.BITS,"IPv6")).withSubnetMask(this.subnetMask)}withSubnetMask(a){return new t(`${this.correctForm()}/${a}`)}subnetMaskAddress(){return t.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(i.BITS-this.subnetMask)}`))}wildcardMask(){return t.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(i.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}getScope(){let a=this.getType();return"Multicast"===a||a.startsWith("Multicast ")?i.SCOPES[parseInt(this.getBits(12,16).toString(10),10)]||"Unknown":"Link-local unicast"===a||"Loopback"===a?"Link local":"Unspecified"===a?"Unknown":"Global"}getType(){for(let a=0;a<u.length;a++){let b=u[a];if(this.isHostInSubnet(b[0]))return b[1]}return"Global unicast"}getBits(a,b){return BigInt(`0b${this.getBitsBase2(a,b)}`)}getBitsBase2(a,b){return this.binaryZeroPad().slice(a,b)}getBitsBase16(a,b){let c=b-a;if(c%4!=0)throw Error("Length of bits to retrieve must be divisible by four");return this.getBits(a,b).toString(16).padStart(c/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,i.BITS)}reverseForm(a){a||(a={});let b=Math.floor(this.subnetMask/4),c=this.canonicalForm().replace(/:/g,"").split("").slice(0,b).reverse().join(".");return b>0?a.omitSuffix?c:`${c}.ip6.arpa.`:a.omitSuffix?"":"ip6.arpa."}correctForm(){let a,b=[],c=0,d=[];for(a=0;a<this.parsedAddress.length;a++){let b=parseInt(this.parsedAddress[a],16);0===b&&c++,0!==b&&c>0&&(c>1&&d.push([a-c,a-1]),c=0)}c>1&&d.push([this.parsedAddress.length-c,this.parsedAddress.length-1]);let e=d.map(a=>a[1]-a[0]+1);if(d.length>0){let a=e.indexOf(Math.max(...e));b=function(a,b){let c,d=[],e=[];for(c=0;c<a.length;c++)c<b[0]?d.push(a[c]):c>b[1]&&e.push(a[c]);return d.concat(["compact"]).concat(e)}(this.parsedAddress,d[a])}else b=this.parsedAddress;for(a=0;a<b.length;a++)"compact"!==b[a]&&(b[a]=parseInt(b[a],16).toString(16));let f=b.join(":");return(f=(f=f.replace(/^compact$/,"::")).replace(/(^compact)|(compact$)/,":")).replace(/compact/,"")}binaryZeroPad(){return void 0===this._binaryZeroPad&&(this._binaryZeroPad=this.bigInt().toString(2).padStart(i.BITS,"0")),this._binaryZeroPad}parse4in6(a){if(-1===a.indexOf("."))return a;let b=a.split(":"),c=b.slice(-1)[0],d=c.split(".");if(d.length===h.GROUPS&&d.every(a=>/^\d{1,3}$/.test(a))&&d.some(a=>/^0\d/.test(a))){let a=d.map(q).join("."),c=b.slice(0,-1).map(j.escapeHtml).join(":"),e=b.length>1?":":"";throw new m.AddressError("IPv4 addresses can't have leading zeroes.",`${c}${e}${a}`)}let e=c.match(h.RE_ADDRESS);if(e){this.parsedAddress4=e[0];let c=this.subnetMask>=96?`/${this.subnetMask-96}`:"";this.address4=new k.Address4(`${this.parsedAddress4}${c}`),this.v4=!0,b[b.length-1]=this.address4.toGroup6(),a=b.join(":")}return a}parse(a){let b=(a=this.parse4in6(a)).match(i.RE_BAD_CHARACTERS);if(b)throw new m.AddressError(`Bad character${b.length>1?"s":""} detected in address: ${b.join("")}`,a.replace(i.RE_BAD_CHARACTERS,a=>`<span class="parse-error">${j.escapeHtml(a)}</span>`));let c=a.match(i.RE_BAD_ADDRESS);if(c)throw new m.AddressError(`Address failed regex: ${c.join("")}`,a.replace(i.RE_BAD_ADDRESS,'<span class="parse-error">$1</span>'));let d=[],e=a.split("::");if(2===e.length){let a=e[0].split(":"),b=e[1].split(":");1===a.length&&""===a[0]&&(a=[]),1===b.length&&""===b[0]&&(b=[]);let c=this.groups-(a.length+b.length);if(!c)throw new m.AddressError("Error parsing groups");this.elidedGroups=c,this.elisionBegin=a.length,this.elisionEnd=a.length+this.elidedGroups,d=d.concat(a);for(let a=0;a<c;a++)d.push("0");d=d.concat(b)}else if(1===e.length)d=a.split(":"),this.elidedGroups=0;else throw new m.AddressError("Too many :: groups found");if((d=d.map(a=>parseInt(a,16).toString(16))).length!==this.groups)throw new m.AddressError("Incorrect number of groups found");return d}canonicalForm(){return this.parsedAddress.map(r).join(":")}decimal(){return this.parsedAddress.map(a=>parseInt(a,16).toString(10).padStart(5,"0")).join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(r).join("")}`)}to4(){let a=this.binaryZeroPad().split(""),b=BigInt(`0b${a.slice(96,128).join("")}`).toString(16).padStart(8,"0");if(this.subnetMask>=96){let a=this.subnetMask-96,c=[];for(let a=0;a<8;a+=2)c.push(parseInt(b.slice(a,a+2),16));return new k.Address4(`${c.join(".")}/${a}`)}return k.Address4.fromHex(b)}to4in6(){let a=this.to4(),b=new t(this.parsedAddress.slice(0,6).join(":"),6).correctForm(),c="";return/:$/.test(b)||(c=":"),b+c+a.correctForm()}inspectTeredo(){let a=this.getBitsBase16(0,32),b=(this.getBits(80,96)^BigInt("0xffff")).toString(),c=k.Address4.fromHex(this.getBitsBase16(32,64)),d=this.getBits(96,128),e=k.Address4.fromHex((d^BigInt("0xffffffff")).toString(16).padStart(8,"0")),f=this.getBitsBase2(64,80),g=(0,n.testBit)(f,15),h=(0,n.testBit)(f,14),i=(0,n.testBit)(f,8),j=(0,n.testBit)(f,9),l=BigInt(`0b${f.slice(2,6)+f.slice(8,16)}`).toString(10);return{prefix:`${a.slice(0,4)}:${a.slice(4,8)}`,server4:c.address,client4:e.address,flags:f,coneNat:g,microsoft:{reserved:h,universalLocal:j,groupIndividual:i,nonce:l},udpPort:b}}inspect6to4(){let a=this.getBitsBase16(0,16),b=k.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:a.slice(0,4),gateway:b.address}}to6to4(){return this.is4()?new t(["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),":/16"].join(":")):null}static fromAddress4Nat64(a,b="64:ff9b::/96"){let c,d=new k.Address4(a),e=new t(b),f=e.subnetMask;if(32!==f&&40!==f&&48!==f&&56!==f&&64!==f&&96!==f)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");let g=e.binaryZeroPad(),h=d.binaryZeroPad();if(96===f)c=g.slice(0,96)+h;else{let a=64-f;c=[g.slice(0,f),h.slice(0,a),"00000000",h.slice(a),"0".repeat(56-(32-a))].join("")}let i=BigInt(`0b${c}`).toString(16).padStart(32,"0"),j=[];for(let a=0;a<8;a++)j.push(i.slice(4*a,(a+1)*4));return new t(j.join(":"))}toAddress4Nat64(a="64:ff9b::/96"){let b,c=new t(a),d=c.subnetMask;if(32!==d&&40!==d&&48!==d&&56!==d&&64!==d&&96!==d)throw new m.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96");if(!this.isHostInSubnet(c))return null;let e=this.binaryZeroPad();if(96===d)b=e.slice(96,128);else{let a=64-d;b=e.slice(d,d+a)+e.slice(72,72+(32-a))}let f=[];for(let a=0;a<4;a++)f.push(parseInt(b.slice(8*a,(a+1)*8),2).toString());return new k.Address4(f.join("."))}toByteArray(){let a=this.bigInt().toString(16).padStart(i.BITS/4,"0"),b=[];for(let c=0,d=a.length;c<d;c+=2)b.push(parseInt(a.substring(c,c+2),16));return b}toUnsignedByteArray(){return this.toByteArray().map(s)}static fromByteArray(a){return g.assertByteArray(a,16,"IPv6",-128),this.fromUnsignedByteArray(a.map(s))}static fromUnsignedByteArray(a){g.assertByteArray(a,16,"IPv6",0);let b=BigInt("256"),c=BigInt("0"),d=BigInt("1");for(let e=a.length-1;e>=0;e--)c+=d*BigInt(a[e].toString(10)),d*=b;return t.fromBigInt(c)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){let a=this.embeddedIPv4();return a?a.isLinkLocal():this.isHostInSubnet(y)}isMulticast(){let a=this.embeddedIPv4();if(a)return a.isMulticast();let b=this.getType();return"Multicast"===b||b.startsWith("Multicast ")}is4(){return this.v4}isMapped4(){return this.isHostInSubnet(D)}embeddedIPv4(){return this.isMapped4()||this.isHostInSubnet(E)?this.to4():null}isTeredo(){return this.isHostInSubnet(v)}is6to4(){return this.isHostInSubnet(w)}isLoopback(){let a=this.embeddedIPv4();return a?a.isLoopback():"Loopback"===this.getType()}isULA(){return this.isHostInSubnet(x)}isPrivate(){let a=this.embeddedIPv4();return a?a.isPrivate():this.isULA()||this.isHostInSubnet(F)}isCGNAT(){let a=this.embeddedIPv4();return!!a&&a.isCGNAT()}isBroadcast(){let a=this.embeddedIPv4();return!!a&&a.isBroadcast()}isUnspecified(){let a=this.embeddedIPv4();return a?a.isUnspecified():"Unspecified"===this.getType()}isDocumentation(){return z.some(a=>this.isHostInSubnet(a))}isBenchmarking(){let a=this.embeddedIPv4();return a?a.isBenchmarking():this.isHostInSubnet(A)}isGlobal(){let a=this.embeddedIPv4();return a?a.isGlobal():this.isHostInSubnet(B)&&g.isGloballyReachable.call(this,C)}href(a){return a=void 0===a?"":`:${a}`,`http://[${this.correctForm()}]${a}/`}link(a){a||(a={}),void 0===a.className&&(a.className=""),void 0===a.prefix&&(a.prefix="/#address="),void 0===a.v4&&(a.v4=!1);let b=this.correctForm;a.v4&&(b=this.to4in6);let c=b.call(this),d=j.escapeHtml(`${a.prefix}${c}`),e=j.escapeHtml(c);if(a.className){let b=j.escapeHtml(a.className);return`<a href="${d}" class="${b}">${e}</a>`}return`<a href="${d}">${e}</a>`}group(){if(0===this.elidedGroups)return j.simpleGroup(this.addressMinusSuffix).join(":");p("number"==typeof this.elidedGroups),p("number"==typeof this.elisionBegin);let a=[],[b,c]=this.addressMinusSuffix.split("::");b.length?a.push(...j.simpleGroup(b)):a.push("");let d=["hover-group"];for(let a=this.elisionBegin;a<this.elisionBegin+this.elidedGroups;a++)d.push(`group-${a}`);return a.push(`<span class="${d.join(" ")}"></span>`),c.length?a.push(...j.simpleGroup(c,this.elisionEnd)):a.push(""),this.is4()&&(p(this.address4 instanceof k.Address4),a.pop(),a.push(this.address4.groupForV6())),a.join(":")}regularExpressionString(a=!1){let b=[],c=new t(this.correctForm());if(0===c.elidedGroups)b.push((0,l.simpleRegularExpression)(c.parsedAddress));else if(c.elidedGroups===i.GROUPS)b.push((0,l.possibleElisions)(i.GROUPS));else{let a=c.address.split("::");a[0].length&&b.push((0,l.simpleRegularExpression)(a[0].split(":"))),p("number"==typeof c.elidedGroups),b.push((0,l.possibleElisions)(c.elidedGroups,0!==a[0].length,0!==a[1].length)),a[1].length&&b.push((0,l.simpleRegularExpression)(a[1].split(":"))),b=[b.join(":")]}return a||(b=["(?=^|",l.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...b,")(?=[^\\w\\:]|",l.ADDRESS_BOUNDARY,"|$)"]),b.join("")}regularExpression(a=!1){return RegExp(this.regularExpressionString(a),"i")}}b.Address6=t;let u=Object.keys(i.TYPES).map(a=>[new t(a),i.TYPES[a]]),v=new t("2001::/32"),w=new t("2002::/16"),x=new t("fc00::/7"),y=new t("fe80::/10"),z=[new t("2001:db8::/32"),new t("3fff::/20")],A=new t("2001:2::/48"),B=new t("2000::/3"),C=i.SPECIAL_PURPOSE.map(([a,,b])=>({subnet:new t(a),reachable:b})),D=new t("::ffff:0:0/96"),E=new t("64:ff9b::/96"),F=new t("64:ff9b:1::/48")},78359:(a,b,c)=>{"u"<typeof process||"renderer"===process.type||process.__nwjs?a.exports=c(92007):a.exports=c(61743)},80534:(a,b)=>{"use strict";var c,d,e,f,g,h,i,j,k,l,m,n;Object.defineProperty(b,"__esModule",{value:!0}),b.SOCKS5_NO_ACCEPTABLE_AUTH=b.SOCKS5_CUSTOM_AUTH_END=b.SOCKS5_CUSTOM_AUTH_START=b.SOCKS_INCOMING_PACKET_SIZES=b.SocksClientState=b.Socks5Response=b.Socks5HostType=b.Socks5Auth=b.Socks4Response=b.SocksCommand=b.ERRORS=b.DEFAULT_TIMEOUT=void 0,b.DEFAULT_TIMEOUT=3e4,b.ERRORS={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"},b.SOCKS_INCOMING_PACKET_SIZES={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:a=>a+7,Socks4Response:8},(i=c||(b.SocksCommand=c={}))[i.connect=1]="connect",i[i.bind=2]="bind",i[i.associate=3]="associate",(j=d||(b.Socks4Response=d={}))[j.Granted=90]="Granted",j[j.Failed=91]="Failed",j[j.Rejected=92]="Rejected",j[j.RejectedIdent=93]="RejectedIdent",(k=e||(b.Socks5Auth=e={}))[k.NoAuth=0]="NoAuth",k[k.GSSApi=1]="GSSApi",k[k.UserPass=2]="UserPass",b.SOCKS5_CUSTOM_AUTH_START=128,b.SOCKS5_CUSTOM_AUTH_END=254,b.SOCKS5_NO_ACCEPTABLE_AUTH=255,(l=f||(b.Socks5Response=f={}))[l.Granted=0]="Granted",l[l.Failure=1]="Failure",l[l.NotAllowed=2]="NotAllowed",l[l.NetworkUnreachable=3]="NetworkUnreachable",l[l.HostUnreachable=4]="HostUnreachable",l[l.ConnectionRefused=5]="ConnectionRefused",l[l.TTLExpired=6]="TTLExpired",l[l.CommandNotSupported=7]="CommandNotSupported",l[l.AddressNotSupported=8]="AddressNotSupported",(m=g||(b.Socks5HostType=g={}))[m.IPv4=1]="IPv4",m[m.Hostname=3]="Hostname",m[m.IPv6=4]="IPv6",(n=h||(b.SocksClientState=h={}))[n.Created=0]="Created",n[n.Connecting=1]="Connecting",n[n.Connected=2]="Connected",n[n.SentInitialHandshake=3]="SentInitialHandshake",n[n.ReceivedInitialHandshakeResponse=4]="ReceivedInitialHandshakeResponse",n[n.SentAuthentication=5]="SentAuthentication",n[n.ReceivedAuthenticationResponse=6]="ReceivedAuthenticationResponse",n[n.SentFinalHandshake=7]="SentFinalHandshake",n[n.ReceivedFinalResponse=8]="ReceivedFinalResponse",n[n.BoundWaitingForConnection=9]="BoundWaitingForConnection",n[n.Established=10]="Established",n[n.Disconnected=11]="Disconnected",n[n.Error=99]="Error"},84157:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SocksClientError=void 0,b.shuffleArray=function(a){for(let b=a.length-1;b>0;b--){let c=Math.floor(Math.random()*(b+1));[a[b],a[c]]=[a[c],a[b]]}};class c extends Error{constructor(a,b){super(a),this.options=b}}b.SocksClientError=c},92007:(a,b,c)=>{let d;b.formatArgs=function(b){if(b[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+b[0]+(this.useColors?"%c ":" ")+"+"+a.exports.humanize(this.diff),!this.useColors)return;let c="color: "+this.color;b.splice(1,0,c,"color: inherit");let d=0,e=0;b[0].replace(/%[a-zA-Z%]/g,a=>{"%%"!==a&&(d++,"%c"===a&&(e=d))}),b.splice(e,0,c)},b.save=function(a){try{a?b.storage.setItem("debug",a):b.storage.removeItem("debug")}catch(a){}},b.load=function(){let a;try{a=b.storage.getItem("debug")||b.storage.getItem("DEBUG")}catch(a){}return!a&&"u">typeof process&&"env"in process&&(a=process.env.DEBUG),a},b.useColors=function(){let a;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},b.storage=function(){try{return localStorage}catch(a){}}(),d=!1,b.destroy=()=>{d||(d=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},b.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],b.log=console.debug||console.log||(()=>{}),a.exports=c(65060)(b);let{formatters:e}=a.exports;e.j=function(a){try{return JSON.stringify(a)}catch(a){return"[UnexpectedJSONParseError]: "+a.message}}}};