nggrouter 0.1.20 → 0.1.21

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 (919) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +16 -16
  3. package/app/.next-cli-build/build-manifest.json +4 -4
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/react-loadable-manifest.json +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/addons/page_client-reference-manifest.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/arena/page_client-reference-manifest.js +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_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/system-status/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  35. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  36. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  37. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  38. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  39. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  41. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  42. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  43. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  44. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  45. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  46. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  47. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  48. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  49. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  50. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  51. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  52. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  53. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  54. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  55. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  56. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
  57. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  58. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  59. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  60. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  61. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  62. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  63. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  64. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  65. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  66. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  67. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  68. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  69. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  70. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  71. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  72. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  73. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  74. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
  75. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  76. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  77. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  78. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  79. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  80. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  81. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  82. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  83. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  84. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  85. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  86. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  87. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  88. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  89. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  90. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  91. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  92. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  94. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/providers/bulk-proxy/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  138. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  152. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  153. package/app/.next-cli-build/server/app/callback.html +1 -1
  154. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  155. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  156. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  157. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  158. package/app/.next-cli-build/server/app/dashboard/arena.html +2 -2
  159. package/app/.next-cli-build/server/app/dashboard/arena.rsc +4 -4
  160. package/app/.next-cli-build/server/app/dashboard/arena.segments/!KGRhc2hib2FyZCk/dashboard/arena/__PAGE__.segment.rsc +4 -4
  161. package/app/.next-cli-build/server/app/dashboard/arena.segments/_full.segment.rsc +4 -4
  162. package/app/.next-cli-build/server/app/dashboard/arena.segments/_tree.segment.rsc +1 -1
  163. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  164. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +4 -4
  165. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +4 -4
  166. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +4 -4
  167. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  168. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  169. package/app/.next-cli-build/server/app/dashboard/combos.rsc +4 -4
  170. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +4 -4
  171. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +4 -4
  172. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  173. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  174. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +4 -4
  175. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +4 -4
  176. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +4 -4
  177. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  178. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  179. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +4 -4
  180. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +4 -4
  181. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +4 -4
  182. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  183. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  184. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +4 -4
  185. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +4 -4
  186. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +4 -4
  187. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  188. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  189. package/app/.next-cli-build/server/app/dashboard/profile.rsc +4 -4
  190. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +4 -4
  191. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +4 -4
  192. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  193. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  194. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +4 -4
  195. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +4 -4
  196. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +4 -4
  197. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  198. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  199. package/app/.next-cli-build/server/app/dashboard/providers.rsc +4 -4
  200. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +4 -4
  201. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +4 -4
  202. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  203. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  204. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +4 -4
  205. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +4 -4
  206. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +4 -4
  207. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  208. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  209. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +4 -4
  210. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +4 -4
  211. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +4 -4
  212. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  213. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  214. package/app/.next-cli-build/server/app/dashboard/quota.rsc +4 -4
  215. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
  216. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +4 -4
  217. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  218. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  219. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  220. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  221. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  222. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  223. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  224. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  225. package/app/.next-cli-build/server/app/dashboard/skills.rsc +4 -4
  226. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +4 -4
  227. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +4 -4
  228. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  229. package/app/.next-cli-build/server/app/dashboard/system-status.html +1 -1
  230. package/app/.next-cli-build/server/app/dashboard/system-status.rsc +4 -4
  231. package/app/.next-cli-build/server/app/dashboard/system-status.segments/!KGRhc2hib2FyZCk/dashboard/system-status/__PAGE__.segment.rsc +4 -4
  232. package/app/.next-cli-build/server/app/dashboard/system-status.segments/_full.segment.rsc +4 -4
  233. package/app/.next-cli-build/server/app/dashboard/system-status.segments/_tree.segment.rsc +1 -1
  234. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  235. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
  236. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
  237. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
  238. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  239. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  240. package/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
  241. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +5 -5
  242. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
  243. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  244. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  245. package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
  246. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +5 -5
  247. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  248. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  249. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  250. package/app/.next-cli-build/server/app/dashboard.rsc +4 -4
  251. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +4 -4
  252. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +4 -4
  253. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  254. package/app/.next-cli-build/server/app/index.html +1 -1
  255. package/app/.next-cli-build/server/app/index.rsc +4 -4
  256. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  257. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  258. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  259. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  260. package/app/.next-cli-build/server/app/landing.html +1 -1
  261. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  262. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  263. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  264. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  265. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  266. package/app/.next-cli-build/server/app/login.html +1 -1
  267. package/app/.next-cli-build/server/app/login.rsc +4 -4
  268. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
  269. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  270. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  271. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  272. package/app/.next-cli-build/server/app-paths-manifest.json +16 -16
  273. package/app/.next-cli-build/server/chunks/1132.js +1 -1
  274. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  275. package/app/.next-cli-build/server/chunks/1757.js +1 -1
  276. package/app/.next-cli-build/server/chunks/1998.js +1 -1
  277. package/app/.next-cli-build/server/chunks/2430.js +1 -1
  278. package/app/.next-cli-build/server/chunks/2559.js +1 -1
  279. package/app/.next-cli-build/server/chunks/2708.js +1 -1
  280. package/app/.next-cli-build/server/chunks/2970.js +2 -2
  281. package/app/.next-cli-build/server/chunks/3192.js +1 -1
  282. package/app/.next-cli-build/server/chunks/3277.js +1 -1
  283. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  284. package/app/.next-cli-build/server/chunks/412.js +5 -5
  285. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  286. package/app/.next-cli-build/server/chunks/4386.js +1 -1
  287. package/app/.next-cli-build/server/chunks/4827.js +1 -1
  288. package/app/.next-cli-build/server/chunks/5081.js +5 -5
  289. package/app/.next-cli-build/server/chunks/5330.js +1 -1
  290. package/app/.next-cli-build/server/chunks/5390.js +1 -1
  291. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  292. package/app/.next-cli-build/server/chunks/6921.js +22 -24
  293. package/app/.next-cli-build/server/chunks/7373.js +1 -1
  294. package/app/.next-cli-build/server/chunks/7811.js +1 -1
  295. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  296. package/app/.next-cli-build/server/chunks/915.js +1 -1
  297. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  298. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  299. package/app/.next-cli-build/server/middleware.js +3 -3
  300. package/app/.next-cli-build/server/pages/404.html +1 -1
  301. package/app/.next-cli-build/server/pages/500.html +1 -1
  302. package/app/.next-cli-build/server/preview-props.json +3 -3
  303. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  304. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  305. package/app/.next-cli-build/static/chunks/{3794-ba54cbd6a46cf18d.js → 3794-39f2d5bb0d40336b.js} +1 -1
  306. package/app/.next-cli-build/static/chunks/{5497-77c1e669b0fa87b5.js → 5497-bdb464e8bf997966.js} +5 -5
  307. package/app/.next-cli-build/static/chunks/{620-34e54cb68dbd1c04.js → 620-eb4703fefb0a8224.js} +1 -1
  308. package/app/.next-cli-build/static/chunks/{6808-89583fa8f1c517b5.js → 6808-e6340e2d4cfe01fe.js} +1 -1
  309. package/app/.next-cli-build/static/chunks/{8105-e01154a0855d3a4c.js → 8105-5dd3fc022d984a17.js} +1 -1
  310. package/app/.next-cli-build/static/chunks/9233.b5ad25d75f88baa7.js +65 -0
  311. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-b6170c51df54f400.js → page-deb38e87524ff14e.js} +2 -2
  312. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-a7e10190924841de.js → page-e2e50aefcea07c9b.js} +1 -1
  313. package/app/.next-cli-build/static/chunks/{main-39ed0ef7f2dd4724.js → main-00cd8c01f6f6e461.js} +1 -1
  314. package/app/.next-cli-build/static/chunks/{webpack-01342e1402621ba9.js → webpack-c056b5babdc7a81f.js} +1 -1
  315. package/app/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -3
  316. package/app/node_modules/@aws-sdk/core/package.json +1 -1
  317. package/app/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +2 -2
  318. package/app/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  319. package/app/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  320. package/app/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  321. package/app/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  322. package/app/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  323. package/app/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  324. package/app/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  325. package/app/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  326. package/app/node_modules/@aws-sdk/credential-providers/package.json +12 -12
  327. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  328. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  329. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  330. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  331. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  332. package/app/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  333. package/app/node_modules/@aws-sdk/token-providers/package.json +3 -3
  334. package/app/node_modules/@next/env/package.json +1 -1
  335. package/app/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1695 -3
  336. package/app/node_modules/@smithy/core/package.json +2 -1
  337. package/app/node_modules/caniuse-lite/data/agents.js +1 -1
  338. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  339. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  340. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  341. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  342. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  343. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  344. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  345. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  346. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  347. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  348. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  349. package/app/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  350. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  351. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  352. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  353. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  354. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  355. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  356. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  357. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  358. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  359. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  360. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  361. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  362. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  363. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  364. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  365. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  366. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  367. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  368. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  369. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  370. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  371. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  372. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  373. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  374. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  375. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  376. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  377. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  378. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  379. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  380. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  381. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  382. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  383. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  384. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  385. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  386. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  387. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  388. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  389. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  390. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  391. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  392. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  393. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  394. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  395. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  396. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  397. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  398. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  399. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  400. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  401. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  402. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  403. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  404. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  405. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  406. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  407. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  408. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  409. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  410. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  411. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  412. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  413. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  414. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  415. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  416. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  417. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  418. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  419. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  420. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  421. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  422. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  423. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  424. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  425. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  426. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  427. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  428. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  429. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  430. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  431. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  432. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  433. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  434. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  435. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  436. package/app/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  437. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  438. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  439. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  440. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  441. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  442. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  443. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  444. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  445. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  446. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  447. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  448. package/app/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  449. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  450. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  451. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  452. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  453. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  454. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  455. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  456. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  457. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  458. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  459. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  460. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  461. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  462. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  463. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  464. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  465. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  466. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  467. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  468. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  469. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  470. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  471. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  472. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  473. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  474. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  475. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  476. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  477. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  478. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  479. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  480. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  481. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  482. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  483. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  484. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  485. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  486. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  487. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  488. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  489. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  490. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  491. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  492. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  493. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  494. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  495. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  496. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  497. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  498. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  499. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  500. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  501. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  502. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  503. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  504. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  505. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  506. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  507. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  508. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  509. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  510. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  511. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  512. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  513. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  514. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  515. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  516. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  517. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  518. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  519. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  520. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  521. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  522. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  523. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  524. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  525. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  526. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  527. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  528. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  529. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  530. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  531. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  532. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  533. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  534. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  535. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  536. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  537. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  538. package/app/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  539. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  540. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  541. package/app/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  542. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  543. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  544. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  545. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  546. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  547. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  548. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  549. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  550. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  551. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  552. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  553. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  554. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  555. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  556. package/app/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  557. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  558. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  559. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  560. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  561. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  562. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  563. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  564. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  565. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  566. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  567. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  568. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  569. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  570. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  571. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  572. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  573. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  574. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  575. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  576. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  577. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  578. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  579. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  580. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  581. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  582. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  583. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  584. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  585. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  586. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  587. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  588. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  589. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  590. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  591. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  592. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  593. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  594. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  595. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  596. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  597. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  598. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  599. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  600. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  601. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  602. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  603. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  604. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  605. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  606. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  607. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  608. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  609. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  610. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  611. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  612. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  613. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  614. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  615. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  616. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  617. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  618. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  619. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  620. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  621. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  622. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  623. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  624. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  625. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  626. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  627. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  628. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  629. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  630. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  631. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  632. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  633. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  634. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  635. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  636. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  637. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  638. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  639. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  640. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  641. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  642. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  643. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  644. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  645. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  646. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  647. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  648. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  649. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  650. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  651. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  652. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  653. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  654. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  655. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  656. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  657. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  658. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  659. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  660. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  661. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  662. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  663. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  664. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  665. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  666. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  667. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  668. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  669. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  670. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  671. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  672. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  673. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  674. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  675. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  676. package/app/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  677. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  678. package/app/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  679. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  680. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  681. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  682. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  683. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  684. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  685. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  686. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  687. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  688. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  689. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  690. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  691. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  692. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  693. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  694. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  695. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  696. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  697. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  698. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  699. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  700. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  701. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  702. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  703. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  704. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  705. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  706. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  707. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  708. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  709. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  710. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  711. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  712. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  713. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  714. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  715. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  716. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  717. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  718. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  719. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  720. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  721. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  722. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  723. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  724. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  725. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  726. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  727. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  728. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  729. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  730. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  731. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  732. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  733. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  734. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  735. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  736. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  737. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  738. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  739. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  740. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  741. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  742. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  743. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  744. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  745. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  746. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  747. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  748. package/app/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  749. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  750. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  751. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  752. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  753. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  754. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  755. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  756. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  757. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  758. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  759. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  760. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  761. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  762. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  763. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  764. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  765. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  766. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  767. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  768. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  769. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  770. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  771. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  772. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  773. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  774. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  775. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  776. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  777. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  778. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  779. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  780. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  781. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  782. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  783. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  784. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  785. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  786. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  787. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  788. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  789. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  790. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  791. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  792. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  793. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  794. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  795. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  796. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  797. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  798. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  799. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  800. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  801. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  802. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  803. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  804. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  805. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  806. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  807. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  808. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  809. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  810. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  811. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  812. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  813. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  814. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  815. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  816. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  817. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  818. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  819. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  820. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  821. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  822. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  823. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  824. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  825. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  826. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  827. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  828. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  829. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  830. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  831. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  832. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  833. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  834. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  835. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  836. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  837. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  838. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  839. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  840. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  841. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  842. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  843. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  844. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  845. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  846. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  847. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  848. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  849. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  850. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  851. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  852. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  853. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  854. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  855. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  856. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  857. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  858. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  859. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  860. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  861. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  862. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  863. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  864. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  865. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  866. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  867. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  868. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  869. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  870. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  871. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  872. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  873. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  874. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  875. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  876. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  877. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  878. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  879. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  880. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  881. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  882. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  883. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  884. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  885. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  886. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  887. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  888. package/app/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  889. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  890. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  891. package/app/node_modules/caniuse-lite/data/versionGroups.js +1 -1
  892. package/app/node_modules/caniuse-lite/package.json +1 -1
  893. package/app/node_modules/next/dist/build/swc/index.js +1 -1
  894. package/app/node_modules/next/dist/build/webpack-config.js +3 -3
  895. package/app/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +2 -2
  896. package/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +2 -2
  897. package/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +2 -2
  898. package/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +2 -2
  899. package/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +1 -1
  900. package/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  901. package/app/node_modules/next/dist/server/app-render/async-local-storage.js +1 -1
  902. package/app/node_modules/next/dist/server/config.js +1 -1
  903. package/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  904. package/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  905. package/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  906. package/app/node_modules/next/dist/server/lib/router-server.js +1 -1
  907. package/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  908. package/app/node_modules/next/dist/server/lib/trace/tracer.js +1 -1
  909. package/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  910. package/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  911. package/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  912. package/app/node_modules/next/package.json +11 -11
  913. package/app/node_modules/sql.js/dist/sql-wasm.js +93 -93
  914. package/app/node_modules/sql.js/package.json +14 -14
  915. package/app/package.json +1 -1
  916. package/package.json +1 -1
  917. package/app/.next-cli-build/static/chunks/9233.e0ace25b5b543835.js +0 -67
  918. /package/app/.next-cli-build/static/{PDpzJec3Lz1lBuf7HCyjQ → -A8yVxeQUhunMwVeISlwZ}/_buildManifest.js +0 -0
  919. /package/app/.next-cli-build/static/{PDpzJec3Lz1lBuf7HCyjQ → -A8yVxeQUhunMwVeISlwZ}/_ssgManifest.js +0 -0
@@ -40,4 +40,4 @@
40
40
  <style>body{font-family:system-ui;display:flex;justify-content:center;align-items:center;height:100vh;margin:0;background:#f5f5f5}.c{text-align:center;padding:2rem;background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.1)}.i{color:${a?"#22c55e":"#ef4444"};font-size:3rem}h1{margin:1rem 0}p{color:#666}</style>
41
41
  </head><body><div class="c"><div class="i">${a?"&#10003;":"&#10007;"}</div><h1>${c}</h1><p>${d}</p><p>Closing in <span id="cd">3</span>s...</p>
42
42
  <script>let n=3;const c=document.getElementById("cd");const t=setInterval(()=>{n--;c.textContent=n;if(n<=0){clearInterval(t);window.close();}},1000);<\/script>
43
- </div></body></html>`}function r(a){return new Promise(b=>{if(j)return void b({success:!0});let d=e().createServer(async(b,d)=>{let e=new f.URL(b.url,"http://localhost");if("/callback"!==e.pathname&&"/auth/callback"!==e.pathname){d.writeHead(404),d.end("Not found");return}let g=e.searchParams.get("code"),h=e.searchParams.get("state"),i=e.searchParams.get("error"),j=h?m.get(h):null;if(j){try{if(i)throw Error(e.searchParams.get("error_description")||i);if(!g)throw Error("No authorization code received");let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(9696),c.e(7373),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:b}=await c.e(1998).then(c.bind(c,71998)),f=await a("codex",g,j.redirectUri,j.codeVerifier,h),k=await b({provider:"codex",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(q(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(q(!1,a.message))}finally{s()}return}let k=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:k}),d.end(),s()});d.listen(l,"127.0.0.1",()=>{j=d,k=setTimeout(()=>s(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function s(){k&&(clearTimeout(k),k=null),j&&(j.close(),j=null)}let t=null,u=null,v=new Map;function w({state:a,codeVerifier:b,redirectUri:c}){return!!a&&!!b&&!!c&&(v.set(a,{codeVerifier:b,redirectUri:c,status:"pending",createdAt:Date.now()}),!0)}function x(a){return v.get(a)||null}function y(a){v.delete(a)}function z(a){return new Promise(b=>{if(t)return void b({success:!0});let d=e().createServer(async(b,d)=>{let e=new f.URL(b.url,"http://localhost");if("/callback"!==e.pathname&&"/auth/callback"!==e.pathname){d.writeHead(404),d.end("Not found");return}let g=e.searchParams.get("code"),h=e.searchParams.get("state"),i=e.searchParams.get("error"),j=h?v.get(h):null;if(j){var k;try{if(i)throw Error(e.searchParams.get("error_description")||i);if(!g)throw Error("No authorization code received");let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(9696),c.e(7373),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:b}=await c.e(1998).then(c.bind(c,71998)),f=await a("xai",g,j.redirectUri,j.codeVerifier,h),k=await b({provider:"xai",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(q(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end((k=a.message,q(!1,k)))}finally{A()}return}let l=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:l}),d.end(),A()});d.listen(56121,"127.0.0.1",()=>{t=d,u=setTimeout(()=>A(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function A(){u&&(clearTimeout(u),u=null),t&&(t.close(),t=null)}let B=null,C=null,D=null,E=null;function F({state:a}){return!!a&&(E={state:a,status:"pending",createdAt:Date.now()},!0)}function G(a){return!E||a&&E.state!==a?null:E}function H(a){(!a||E&&E.state===a)&&(E=null)}function I(){return new Promise(a=>{if(B)return void a({success:!0,port:D,callbackUrl:`http://127.0.0.1:${D}${g.SK.callbackPath}`});let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(d.pathname!==g.SK.callbackPath&&"/auth/callback"!==d.pathname){b.writeHead(404),b.end("Not found");return}let e=E;if(!e){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"No active Trae login session"));return}if(!h(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"Cross-origin callback rejected"));return}let i=d.searchParams.get("state");if(i&&e.state&&i!==e.state){e.status="error",e.error="Trae callback state mismatch",b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,e.error)),J();return}let j=`${d.pathname}?${d.searchParams.toString()}`;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(9696),c.e(7373),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),f=await a("trae",j),g=await d({provider:"trae",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});e.status="done",e.connectionId=g.id,e.email=g.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!0,"You can close this window."))}catch(a){e.status="error",e.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,a.message))}finally{J()}});b.listen(0,"127.0.0.1",()=>{B=b,D=b.address().port,C=setTimeout(()=>J(),g.SK.oauthTimeoutMs),a({success:!0,port:D,callbackUrl:`http://127.0.0.1:${D}${g.SK.callbackPath}`})}),b.on("error",b=>a({success:!1,reason:b.message}))})}function J(){C&&(clearTimeout(C),C=null),B&&(B.close(),B=null),D=null}let K=null,L=null,M=null,N=null;function O({state:a}){return!!a&&(N={state:a,status:"pending",createdAt:Date.now()},!0)}function P(a){return!N||a&&N.state!==a?null:N}function Q(a){(!a||N&&N.state===a)&&(N=null)}function R(){return new Promise(a=>{if(K)return void a({success:!0,port:M,callbackUrl:`http://127.0.0.1:${M}${g.eD.callbackPath}`});let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(d.pathname!==g.eD.callbackPath){b.writeHead(404),b.end("Not found");return}let e=N;if(!e){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"No active Windsurf login session"));return}if(!h(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"Cross-origin callback rejected"));return}let i=d.searchParams.get("state");if(!i||!e.state||i!==e.state){e.status="error",e.error="Windsurf callback state mismatch",b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,e.error)),S();return}let j=`${d.pathname}?${d.searchParams.toString()}`;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(9696),c.e(7373),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),f=await a("windsurf",j,null,null,e.state),g=await d({provider:"windsurf",authType:"api_key",...f,testStatus:"active"});e.status="done",e.connectionId=g.id,e.email=g.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!0,"You can close this window."))}catch(a){e.status="error",e.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,a.message))}finally{S()}});b.listen(0,"127.0.0.1",()=>{K=b,M=b.address().port,L=setTimeout(()=>S(),g.eD.oauthTimeoutMs),a({success:!0,port:M,callbackUrl:`http://127.0.0.1:${M}${g.eD.callbackPath}`})}),b.on("error",b=>a({success:!1,reason:b.message}))})}function S(){L&&(clearTimeout(L),L=null),K&&(K.close(),K=null),M=null}let T=null,U=null,V=null,W=null;function X({state:a,codeVerifier:b,systemId:c}){return!!a&&!!b&&(W={state:a,codeVerifier:b,systemId:c||null,status:"pending",createdAt:Date.now()},!0)}function Y(a){return!W||a&&W.state!==a?null:W}function Z(a){(!a||W&&W.state===a)&&(W=null)}function $(a=0){return new Promise(b=>{if(T){U&&clearTimeout(U),U=setTimeout(()=>{console.log("[Zed proxy] timeout, stopping"),_()},g.RY.oauthTimeoutMs),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`});return}let d=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost"),e=Object.fromEntries(d.searchParams);for(let a of["access_token","user_id","code_verifier","state"])e[a]&&(e[a]="<redacted>");if(console.log("[Zed proxy]",a.method,d.pathname,JSON.stringify(e)),"/"!==d.pathname&&"/callback"!==d.pathname){b.writeHead(404),b.end("Not found");return}let g=W;if(!g){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"No active Zed login session"));return}if(!h(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"Cross-origin callback rejected"));return}let i=d.searchParams;if(!(i.has("user_id")||i.has("userId")||i.has("access_token")||i.has("accessToken")||i.has("token"))){console.log(`[Zed proxy] ignoring non-callback ${a.method} ${d.pathname} (session kept, server kept)`),b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"Waiting for Zed sign-in — this request carried no login data."));return}let j=d.search?`${d.pathname}?${d.searchParams.toString()}`:d.pathname;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(9696),c.e(7373),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),e=await a("zed",j,null,g.codeVerifier,g.state,g.systemId?{systemId:g.systemId}:void 0),f=await d({provider:"zed",authType:"oauth",...e,testStatus:"active"});g.status="done",g.connectionId=f.id,g.email=f.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!0,"You can close this window.")),_()}catch(a){g.status="error",g.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,a.message))}}),i=Number(a)||0;d.on("error",a=>{"EADDRINUSE"===a.code&&0!==i?(console.log(`[Zed proxy] port ${i} busy, falling back to random`),d.listen(0,"127.0.0.1",()=>{T=d,V=d.address().port,U=setTimeout(()=>_(),g.RY.oauthTimeoutMs),console.log(`[Zed proxy] listening on random port ${V}`),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`})})):(console.log(`[Zed proxy] listen error: ${a.message}`),b({success:!1,reason:a.message}))}),d.listen(i,"127.0.0.1",()=>{T=d,V=d.address().port,U=setTimeout(()=>{console.log("[Zed proxy] timeout, stopping"),_()},g.RY.oauthTimeoutMs),console.log(`[Zed proxy] listening on port ${V}`),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`})})})}function _(){console.log(`[Zed proxy] stopping (port ${V||"-"})`),U&&(clearTimeout(U),U=null),T&&(T.close(),T=null),V=null}},73159:(a,b,c)=>{c.d(b,{Ue:()=>k,oT:()=>l});var d=c(6118);let e=d.xq.xai?.clientId,f="https://auth.x.ai",g="/oauth2/authorize",h="/oauth2/token",i="/.well-known/openid-configuration",j="/callback",k=96,l={clientId:e,issuer:f,authEndpointPath:g,tokenEndpointPath:h,discoveryPath:i,authorizeUrl:`${f}${g}`,tokenUrl:`${f}${h}`,discoveryUrl:`${f}${i}`,scope:"openid profile email offline_access grok-cli:access api:access",apiBaseUrl:"https://api.x.ai/v1",redirectUri:`http://127.0.0.1:56121${j}`,loopbackPort:56121,callbackPath:j,pkceVerifierBytes:96,refreshLeadSeconds:300,userAgent:"grok-cli/9router",codeChallengeMethod:"S256"}},92990:(a,b,c)=>{c.d(b,{DI:()=>i,DV:()=>B,LT:()=>j,MZ:()=>w,Nl:()=>A,Nu:()=>p,OV:()=>h,RY:()=>I,S6:()=>t,SK:()=>F,Td:()=>C,Tx:()=>q,WN:()=>u,Ww:()=>J,YT:()=>n,Z2:()=>r,ZL:()=>m,_0:()=>H,aV:()=>v,cD:()=>o,eD:()=>G,f7:()=>z,hF:()=>k,lB:()=>x,qp:()=>D,sA:()=>E,t3:()=>l,w1:()=>y});var d=c(21820),e=c(74129),f=c(6118);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]},k={...f.sr.qoder},l={...f.sr["qoder-cn"]},m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r={...f.sr.nous},s=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function t(a){if("string"!=typeof a||!s.test(a))throw Error("Invalid region");return a}let u={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},v={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},w={...f.sr.kilocode},x={...f.sr.cline},y={...f.sr.clinepass},z={...f.sr.gitlab},A={...f.sr["codebuddy-cn"]},B={...f.sr["codebuddy-intl"]},C={...f.sr.kimchi},D={...f.sr["grok-cli"]},E={...f.sr.muse},F={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},G={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},H={...f.sr.glm},I={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},J=3e5}};
43
+ </div></body></html>`}function r(a){return new Promise(b=>{if(j)return void b({success:!0});let d=e().createServer(async(b,d)=>{let e=new f.URL(b.url,"http://localhost");if("/callback"!==e.pathname&&"/auth/callback"!==e.pathname){d.writeHead(404),d.end("Not found");return}let g=e.searchParams.get("code"),h=e.searchParams.get("state"),i=e.searchParams.get("error"),j=h?m.get(h):null;if(j){try{if(i)throw Error(e.searchParams.get("error_description")||i);if(!g)throw Error("No authorization code received");let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(7373),c.e(9696),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:b}=await c.e(1998).then(c.bind(c,71998)),f=await a("codex",g,j.redirectUri,j.codeVerifier,h),k=await b({provider:"codex",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(q(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(q(!1,a.message))}finally{s()}return}let k=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:k}),d.end(),s()});d.listen(l,"127.0.0.1",()=>{j=d,k=setTimeout(()=>s(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function s(){k&&(clearTimeout(k),k=null),j&&(j.close(),j=null)}let t=null,u=null,v=new Map;function w({state:a,codeVerifier:b,redirectUri:c}){return!!a&&!!b&&!!c&&(v.set(a,{codeVerifier:b,redirectUri:c,status:"pending",createdAt:Date.now()}),!0)}function x(a){return v.get(a)||null}function y(a){v.delete(a)}function z(a){return new Promise(b=>{if(t)return void b({success:!0});let d=e().createServer(async(b,d)=>{let e=new f.URL(b.url,"http://localhost");if("/callback"!==e.pathname&&"/auth/callback"!==e.pathname){d.writeHead(404),d.end("Not found");return}let g=e.searchParams.get("code"),h=e.searchParams.get("state"),i=e.searchParams.get("error"),j=h?v.get(h):null;if(j){var k;try{if(i)throw Error(e.searchParams.get("error_description")||i);if(!g)throw Error("No authorization code received");let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(7373),c.e(9696),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:b}=await c.e(1998).then(c.bind(c,71998)),f=await a("xai",g,j.redirectUri,j.codeVerifier,h),k=await b({provider:"xai",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(q(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end((k=a.message,q(!1,k)))}finally{A()}return}let l=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:l}),d.end(),A()});d.listen(56121,"127.0.0.1",()=>{t=d,u=setTimeout(()=>A(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function A(){u&&(clearTimeout(u),u=null),t&&(t.close(),t=null)}let B=null,C=null,D=null,E=null;function F({state:a}){return!!a&&(E={state:a,status:"pending",createdAt:Date.now()},!0)}function G(a){return!E||a&&E.state!==a?null:E}function H(a){(!a||E&&E.state===a)&&(E=null)}function I(){return new Promise(a=>{if(B)return void a({success:!0,port:D,callbackUrl:`http://127.0.0.1:${D}${g.SK.callbackPath}`});let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(d.pathname!==g.SK.callbackPath&&"/auth/callback"!==d.pathname){b.writeHead(404),b.end("Not found");return}let e=E;if(!e){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"No active Trae login session"));return}if(!h(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"Cross-origin callback rejected"));return}let i=d.searchParams.get("state");if(i&&e.state&&i!==e.state){e.status="error",e.error="Trae callback state mismatch",b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,e.error)),J();return}let j=`${d.pathname}?${d.searchParams.toString()}`;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(7373),c.e(9696),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),f=await a("trae",j),g=await d({provider:"trae",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});e.status="done",e.connectionId=g.id,e.email=g.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!0,"You can close this window."))}catch(a){e.status="error",e.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,a.message))}finally{J()}});b.listen(0,"127.0.0.1",()=>{B=b,D=b.address().port,C=setTimeout(()=>J(),g.SK.oauthTimeoutMs),a({success:!0,port:D,callbackUrl:`http://127.0.0.1:${D}${g.SK.callbackPath}`})}),b.on("error",b=>a({success:!1,reason:b.message}))})}function J(){C&&(clearTimeout(C),C=null),B&&(B.close(),B=null),D=null}let K=null,L=null,M=null,N=null;function O({state:a}){return!!a&&(N={state:a,status:"pending",createdAt:Date.now()},!0)}function P(a){return!N||a&&N.state!==a?null:N}function Q(a){(!a||N&&N.state===a)&&(N=null)}function R(){return new Promise(a=>{if(K)return void a({success:!0,port:M,callbackUrl:`http://127.0.0.1:${M}${g.eD.callbackPath}`});let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(d.pathname!==g.eD.callbackPath){b.writeHead(404),b.end("Not found");return}let e=N;if(!e){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"No active Windsurf login session"));return}if(!h(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"Cross-origin callback rejected"));return}let i=d.searchParams.get("state");if(!i||!e.state||i!==e.state){e.status="error",e.error="Windsurf callback state mismatch",b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,e.error)),S();return}let j=`${d.pathname}?${d.searchParams.toString()}`;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(7373),c.e(9696),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),f=await a("windsurf",j,null,null,e.state),g=await d({provider:"windsurf",authType:"api_key",...f,testStatus:"active"});e.status="done",e.connectionId=g.id,e.email=g.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!0,"You can close this window."))}catch(a){e.status="error",e.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,a.message))}finally{S()}});b.listen(0,"127.0.0.1",()=>{K=b,M=b.address().port,L=setTimeout(()=>S(),g.eD.oauthTimeoutMs),a({success:!0,port:M,callbackUrl:`http://127.0.0.1:${M}${g.eD.callbackPath}`})}),b.on("error",b=>a({success:!1,reason:b.message}))})}function S(){L&&(clearTimeout(L),L=null),K&&(K.close(),K=null),M=null}let T=null,U=null,V=null,W=null;function X({state:a,codeVerifier:b,systemId:c}){return!!a&&!!b&&(W={state:a,codeVerifier:b,systemId:c||null,status:"pending",createdAt:Date.now()},!0)}function Y(a){return!W||a&&W.state!==a?null:W}function Z(a){(!a||W&&W.state===a)&&(W=null)}function $(a=0){return new Promise(b=>{if(T){U&&clearTimeout(U),U=setTimeout(()=>{console.log("[Zed proxy] timeout, stopping"),_()},g.RY.oauthTimeoutMs),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`});return}let d=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost"),e=Object.fromEntries(d.searchParams);for(let a of["access_token","user_id","code_verifier","state"])e[a]&&(e[a]="<redacted>");if(console.log("[Zed proxy]",a.method,d.pathname,JSON.stringify(e)),"/"!==d.pathname&&"/callback"!==d.pathname){b.writeHead(404),b.end("Not found");return}let g=W;if(!g){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"No active Zed login session"));return}if(!h(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"Cross-origin callback rejected"));return}let i=d.searchParams;if(!(i.has("user_id")||i.has("userId")||i.has("access_token")||i.has("accessToken")||i.has("token"))){console.log(`[Zed proxy] ignoring non-callback ${a.method} ${d.pathname} (session kept, server kept)`),b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,"Waiting for Zed sign-in — this request carried no login data."));return}let j=d.search?`${d.pathname}?${d.searchParams.toString()}`:d.pathname;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(1851),c.e(3225),c.e(6922),c.e(700),c.e(5215),c.e(7373),c.e(9696),c.e(8499),c.e(5330),c.e(8895),c.e(4818),c.e(9295)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),e=await a("zed",j,null,g.codeVerifier,g.state,g.systemId?{systemId:g.systemId}:void 0),f=await d({provider:"zed",authType:"oauth",...e,testStatus:"active"});g.status="done",g.connectionId=f.id,g.email=f.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!0,"You can close this window.")),_()}catch(a){g.status="error",g.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(q(!1,a.message))}}),i=Number(a)||0;d.on("error",a=>{"EADDRINUSE"===a.code&&0!==i?(console.log(`[Zed proxy] port ${i} busy, falling back to random`),d.listen(0,"127.0.0.1",()=>{T=d,V=d.address().port,U=setTimeout(()=>_(),g.RY.oauthTimeoutMs),console.log(`[Zed proxy] listening on random port ${V}`),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`})})):(console.log(`[Zed proxy] listen error: ${a.message}`),b({success:!1,reason:a.message}))}),d.listen(i,"127.0.0.1",()=>{T=d,V=d.address().port,U=setTimeout(()=>{console.log("[Zed proxy] timeout, stopping"),_()},g.RY.oauthTimeoutMs),console.log(`[Zed proxy] listening on port ${V}`),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`})})})}function _(){console.log(`[Zed proxy] stopping (port ${V||"-"})`),U&&(clearTimeout(U),U=null),T&&(T.close(),T=null),V=null}},73159:(a,b,c)=>{c.d(b,{Ue:()=>k,oT:()=>l});var d=c(6118);let e=d.xq.xai?.clientId,f="https://auth.x.ai",g="/oauth2/authorize",h="/oauth2/token",i="/.well-known/openid-configuration",j="/callback",k=96,l={clientId:e,issuer:f,authEndpointPath:g,tokenEndpointPath:h,discoveryPath:i,authorizeUrl:`${f}${g}`,tokenUrl:`${f}${h}`,discoveryUrl:`${f}${i}`,scope:"openid profile email offline_access grok-cli:access api:access",apiBaseUrl:"https://api.x.ai/v1",redirectUri:`http://127.0.0.1:56121${j}`,loopbackPort:56121,callbackPath:j,pkceVerifierBytes:96,refreshLeadSeconds:300,userAgent:"grok-cli/9router",codeChallengeMethod:"S256"}},92990:(a,b,c)=>{c.d(b,{DI:()=>i,DV:()=>B,LT:()=>j,MZ:()=>w,Nl:()=>A,Nu:()=>p,OV:()=>h,RY:()=>I,S6:()=>t,SK:()=>F,Td:()=>C,Tx:()=>q,WN:()=>u,Ww:()=>J,YT:()=>n,Z2:()=>r,ZL:()=>m,_0:()=>H,aV:()=>v,cD:()=>o,eD:()=>G,f7:()=>z,hF:()=>k,lB:()=>x,qp:()=>D,sA:()=>E,t3:()=>l,w1:()=>y});var d=c(21820),e=c(74129),f=c(6118);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]},k={...f.sr.qoder},l={...f.sr["qoder-cn"]},m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r={...f.sr.nous},s=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function t(a){if("string"!=typeof a||!s.test(a))throw Error("Invalid region");return a}let u={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},v={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},w={...f.sr.kilocode},x={...f.sr.cline},y={...f.sr.clinepass},z={...f.sr.gitlab},A={...f.sr["codebuddy-cn"]},B={...f.sr["codebuddy-intl"]},C={...f.sr.kimchi},D={...f.sr["grok-cli"]},E={...f.sr.muse},F={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},G={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},H={...f.sr.glm},I={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},J=3e5}};
@@ -1,17 +1,17 @@
1
- "use strict";exports.id=6921,exports.ids=[6921],exports.modules={26921:(a,b,c)=>{function d(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}c.r(b),c.d(b,{Hooks:()=>aF,Lexer:()=>aB,Marked:()=>aG,Parser:()=>aE,Renderer:()=>aC,TextRenderer:()=>aD,Tokenizer:()=>aA,defaults:()=>e,getDefaults:()=>d,lexer:()=>aQ,marked:()=>aI,options:()=>aK,parse:()=>aO,parseInline:()=>aN,parser:()=>aP,setOptions:()=>aL,use:()=>aJ,walkTokens:()=>aM});var e=d(),f={exec:()=>null};function g(a){let b=[];return c=>{let d=Math.max(0,Math.min(3,c-1)),e=b[d];return e||(e=a(d),b[d]=e),e}}function h(a,b=""){let c="string"==typeof a?a:a.source,d={replace:(a,b)=>{let e="string"==typeof b?b:b.source;return e=e.replace(j.caret,"$1"),c=c.replace(a,e),d},getRegex:()=>new RegExp(c,b)};return d}var i=((a="")=>{try{return!!RegExp("(?<=1)(?<!1)"+a)}catch{return!1}})(),j={codeRemoveIndent:/^(?: {0,3}\t| {1,4})/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,endingSpaceTabChar:/[ \t]$/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,leadingSpaceTab:/^[ \t]+/,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,numericCharacterReference:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/g,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:a=>RegExp(`^( {0,3}${a})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:g(a=>RegExp(`^ {0,${a}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:g(a=>RegExp(`^ {0,${a}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:g(a=>RegExp(`^ {0,${a}}(?:\`\`\`|~~~)`)),headingBeginRegex:g(a=>RegExp(`^ {0,${a}}#`)),htmlBeginRegex:g(a=>RegExp(`^ {0,${a}}(?:</?(?:${t})(?: +|$|/?>)|<(?:script|pre|style|textarea|!--))`,"i")),blockquoteBeginRegex:g(a=>RegExp(`^ {0,${a}}>`))},k=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,l=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,m=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,n=h(m).replace(/bull/g,l).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),o=h(m).replace(/bull/g,l).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),p=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,q=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,r=h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",q).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),s=h(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,l).getRegex(),t="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",u=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,v=h("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][a-z0-9-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",u).replace("tag",t).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),w=a=>h(p).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",a).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t).getRegex(),x=w(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),y=w(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),z={blockquote:h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",y).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:r,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:k,html:v,lheading:n,list:s,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:x,table:f,text:/^[^\n]+/},A=h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t).getRegex(),B={...z,lheading:o,table:A,paragraph:h(p).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",A).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t).getRegex()},C={...z,html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",u).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:f,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:h(p).replace("hr",k).replace("heading",` *#{1,6} *[^
2
- ]`).replace("lheading",n).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},D=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,E=/[\p{P}\p{S}]/u,F=/[\s\p{P}\p{S}]/u,G=/[^\s\p{P}\p{S}]/u,H=h(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,F).getRegex(),I=/(?!~)[\p{P}\p{S}]/u,J=h(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",i?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),K=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,L=h(K,"u").replace(/punct/g,E).getRegex(),M=h(K,"u").replace(/punct/g,I).getRegex(),N=h(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,"u").replace(/openQuote/g,/[\p{Pi}\p{Ps}"']/u).replace(/punct/g,E).getRegex(),O="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",P=h(O,"gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),Q=h(O,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,I).getRegex(),R=h("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),S=h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),T=h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),U=h(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,E).getRegex(),V=h("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),W=h(/\\(punct)/,"gu").replace(/punct/g,E).getRegex(),X=h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Y=h(u).replace("(?:--\x3e|$)","--\x3e").getRegex(),Z=h("^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Y).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),$=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,_=h(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace("brackets",$).getRegex(),aa=h(/^!?\[(label)\]\([ \t\n]*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?[ \t\n]*\)/).replace("label",_).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ab=h(/^!?\[(label)\]\[(ref)\]/).replace("label",_).replace("ref",q).getRegex(),ac=h(/^!?\[(ref)\](?:\[\])?/).replace("ref",q).getRegex(),ad=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,ae=h(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace("brackets",$).getRegex(),af=h("reflink|nolink(?!\\()","g").replace("reflink",h(/^!?\[(label)\]\[(ref)\]/).replace("label",ae).replace("ref",ad).getRegex()).replace("nolink",h(/^!?\[(ref)\](?:\[\])?/).replace("ref",ad).getRegex()).getRegex(),ag=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ah=h(/(?:mailto:email|xmpp:email(?:\/[A-Za-z0-9@.]+)?)/).replace(/email/g,/[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),ai={_backpedal:f,anyPunctuation:W,autolink:X,blockSkip:J,br:D,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:f,delLDelim:f,delRDelim:f,emStrongLDelim:L,emStrongRDelimAst:P,emStrongRDelimUnd:S,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:aa,nolink:ac,punctuation:H,reflink:ab,reflinkSearch:af,tag:Z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:f},aj={...ai,emStrongLDelim:N,emStrongRDelimAst:R,emStrongRDelimUnd:T,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",_).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_).getRegex()},ak={...ai,emStrongRDelimAst:Q,emStrongLDelim:M,delLDelim:U,delRDelim:V,url:h(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("emailProtocol",ah).replace("protocol",ag).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:h(/^(?:[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))))/).replace("protocol",ag).replace(/emailProtocol/g,/(?:mailto|xmpp):/).getRegex()},al={...ak,br:h(D).replace("{2,}","*").getRegex(),text:h(ak.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},am={normal:z,gfm:B,pedantic:C},an={normal:ai,gfm:ak,breaks:al,pedantic:aj},ao={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ap=a=>ao[a];function aq(a,b){if(b){if(j.escapeTest.test(a))return a.replace(j.escapeReplace,ap)}else if(j.escapeTestNoEncode.test(a))return a.replace(j.escapeReplaceNoEncode,ap);return a}function ar(a){try{a=encodeURI(a).replace(j.percentDecode,"%")}catch{return null}return a}function as(a,b){let c=a.replace(j.findPipe,(a,b,c)=>{let d=!1,e=b;for(;--e>=0&&"\\"===c[e];)d=!d;return d?"|":" |"}).split(j.splitPipe),d=0;if(c[0].trim()||c.shift(),c.length>0&&!c.at(-1)?.trim()&&c.pop(),b)if(c.length>b)c.splice(b);else for(;c.length<b;)c.push("");for(;d<c.length;d++)c[d]=c[d].trim().replace(j.slashPipe,"|");return c}function at(a,b,c){let d=a.length;if(0===d)return"";let e=0;for(;e<d;){let f=a.charAt(d-e-1);if(f!==b||c)if(f!==b&&c)e++;else break;else e++}return a.slice(0,d-e)}function au(a){let b=a.split(`
1
+ "use strict";exports.id=6921,exports.ids=[6921],exports.modules={26921:(a,b,c)=>{function d(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}c.r(b),c.d(b,{Hooks:()=>aG,Lexer:()=>aC,Marked:()=>aI,Parser:()=>aF,Renderer:()=>aD,TextRenderer:()=>aE,Tokenizer:()=>aB,defaults:()=>e,getDefaults:()=>d,lexer:()=>aS,marked:()=>aK,options:()=>aM,parse:()=>aQ,parseInline:()=>aP,parser:()=>aR,setOptions:()=>aN,use:()=>aL,walkTokens:()=>aO});var e=d(),f={exec:()=>null};function g(a){let b=[];return c=>{let d=Math.max(0,Math.min(3,c-1)),e=b[d];return e||(e=a(d),b[d]=e),e}}function h(a,b=""){let c="string"==typeof a?a:a.source,d={replace:(a,b)=>{let e="string"==typeof b?b:b.source;return e=e.replace(j.caret,"$1"),c=c.replace(a,e),d},getRegex:()=>new RegExp(c,b)};return d}var i=((a="")=>{try{return!!RegExp("(?<=1)(?<!1)"+a)}catch{return!1}})(),j={codeRemoveIndent:/^(?: {0,3}\t| {1,4})/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,endingSpaceTabChar:/[ \t]$/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,leadingSpaceTab:/^[ \t]+/,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,numericCharacterReference:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/,numericCharacterReferenceOrAmpersand:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:a=>RegExp(`^( {0,3}${a})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:g(a=>RegExp(`^ {0,${a}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:g(a=>RegExp(`^ {0,${a}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:g(a=>RegExp(`^ {0,${a}}(?:\`\`\`|~~~)`)),headingBeginRegex:g(a=>RegExp(`^ {0,${a}}#`)),htmlBeginRegex:g(a=>RegExp(`^ {0,${a}}(?:</?(?:${t})(?: +|$|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`,"i")),blockquoteBeginRegex:g(a=>RegExp(`^ {0,${a}}>`))},k=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,l=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,m=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,n=h(m).replace(/bull/g,l).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),o=h(m).replace(/bull/g,l).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),p=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,q=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,r=h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",q).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),s=h(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,l).getRegex(),t="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",u=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,v=h("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!(?:script|pre|style|textarea)(?![a-z0-9-]))([a-z][a-z0-9-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",u).replace("tag",t).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),w=a=>h(p).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",a).replace("html"," {0,3}(?:</?(?:tag)(?: +|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)").replace("tag",t).getRegex(),x=w(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),y=w(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),z={blockquote:h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",y).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:r,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:k,html:v,lheading:n,list:s,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:x,table:f,text:/^[^\n]+/},A=h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html"," {0,3}(?:</?(?:tag)(?: +|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)").replace("tag",t).getRegex(),B={...z,lheading:o,table:A,paragraph:h(p).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",A).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html"," {0,3}(?:</?(?:tag)(?: +|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)").replace("tag",t).getRegex()},C={...z,html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",u).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:f,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:h(p).replace("hr",k).replace("heading",` *#{1,6} *[^
2
+ ]`).replace("lheading",n).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},D=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,E=/[\p{P}\p{S}]/u,F=/[\s\p{P}\p{S}]/u,G=/[^\s\p{P}\p{S}]/u,H=h(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,F).getRegex(),I=/(?!~)[\p{P}\p{S}]/u,J=h(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",i?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),K=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,L=h(K,"u").replace(/punct/g,E).getRegex(),M=h(K,"u").replace(/punct/g,I).getRegex(),N=h(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,"u").replace(/openQuote/g,/[\p{Pi}\p{Ps}"']/u).replace(/punct/g,E).getRegex(),O="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",P=h(O,"gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),Q=h(O,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,I).getRegex(),R=h("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),S=h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),T=h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),U=h(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,E).getRegex(),V=h("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),W=h(/\\(punct)/,"gu").replace(/punct/g,E).getRegex(),X=h(/(`+)(?:[^`]|[^`][\s\S]*?[^`])\1(?!`)|`+|\\(punct)/,"gu").replace(/punct/g,E).getRegex(),Y=h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Z=h(u).replace("(?:--\x3e|$)","--\x3e").getRegex(),$=h("^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Z).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,aa=h(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace("brackets",_).getRegex(),ab=h(/^!?\[(label)\]\([ \t\n]*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?[ \t\n]*\)/).replace("label",aa).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ac=h(/^!?\[(label)\]\[(ref)\]/).replace("label",aa).replace("ref",q).getRegex(),ad=h(/^!?\[(ref)\](?:\[\])?/).replace("ref",q).getRegex(),ae=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,af=h(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace("brackets",_).getRegex(),ag=h("reflink|nolink(?!\\()","g").replace("reflink",h(/^!?\[(label)\]\[(ref)\]/).replace("label",af).replace("ref",ae).getRegex()).replace("nolink",h(/^!?\[(ref)\](?:\[\])?/).replace("ref",ae).getRegex()).getRegex(),ah=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ai=h(/(?:mailto:email|xmpp:email(?:\/[A-Za-z0-9@.]+)?)/).replace(/email/g,/[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),aj={_backpedal:f,anyPunctuation:W,anyPunctuationOutsideCode:X,autolink:Y,blockSkip:J,br:D,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:f,delLDelim:f,delRDelim:f,emStrongLDelim:L,emStrongRDelimAst:P,emStrongRDelimUnd:S,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:ab,nolink:ad,punctuation:H,reflink:ac,reflinkSearch:ag,tag:$,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:f},ak={...aj,emStrongLDelim:N,emStrongRDelimAst:R,emStrongRDelimUnd:T,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",aa).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",aa).getRegex()},al={...aj,emStrongRDelimAst:Q,emStrongLDelim:M,delLDelim:U,delRDelim:V,url:h(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("emailProtocol",ai).replace("protocol",ah).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:h(/^(?:[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))))/).replace("protocol",ah).replace(/emailProtocol/g,/(?:mailto|xmpp):/).getRegex()},am={...al,br:h(D).replace("{2,}","*").getRegex(),text:h(al.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},an={normal:z,gfm:B,pedantic:C},ao={normal:aj,gfm:al,breaks:am,pedantic:ak},ap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},aq=a=>ap[a];function ar(a,b){if(b){if(j.escapeTest.test(a))return a.replace(j.escapeReplace,aq)}else if(j.escapeTestNoEncode.test(a))return a.replace(j.escapeReplaceNoEncode,aq);return a}function as(a){try{a=encodeURI(a).replace(j.percentDecode,"%")}catch{return null}return a}function at(a,b){let c=a.replace(j.findPipe,(a,b,c)=>{let d=!1,e=b;for(;--e>=0&&"\\"===c[e];)d=!d;return d?"|":" |"}).split(j.splitPipe),d=0;if(c[0].trim()||c.shift(),c.length>0&&!c.at(-1)?.trim()&&c.pop(),b)if(c.length>b)c.splice(b);else for(;c.length<b;)c.push("");for(;d<c.length;d++)c[d]=c[d].trim().replace(j.slashPipe,"|");return c}function au(a,b,c){let d=a.length;if(0===d)return"";let e=0;for(;e<d;){let f=a.charAt(d-e-1);if(f!==b||c)if(f!==b&&c)e++;else break;else e++}return a.slice(0,d-e)}function av(a){let b=a.split(`
3
3
  `),c=b.length-1;for(;c>=0&&j.blankLine.test(b[c]);)c--;return b.length-c<=2?a:b.slice(0,c+1).join(`
4
- `)}function av(a){return a.trim().toLowerCase().toUpperCase().toLowerCase()}function aw(a,b){if(-1===a.indexOf(b[0])&&-1===a.indexOf(b[1]))return -1;let c=0;for(let d=0;d<a.length;d++)if("\\"===a[d])d++;else if(a[d]===b[0])c++;else if(a[d]===b[1]&&--c<0)return d;return c>0?-2:-1}function ax(a,b=0){let c=b,d="";for(let b of a)if(" "===b){let a=4-c%4;d+=" ".repeat(a),c+=a}else d+=b,c++;return d}function ay(a,b,c,d,e){let f=b.href,g=b.title||null,h=a[1].replace(e.other.outputLinkReplace,"$1"),i="!"===a[0].charAt(0);d.state.inLink=!0;let j=d.state.linkEmitted,k=d.state.inRawBlock;d.state.linkEmitted=!1;let l=d.inlineTokens(h),m=d.state.linkEmitted;if(d.state.linkEmitted=j,d.state.inLink=!1,!i){if(m){d.state.inRawBlock=k;return}d.state.linkEmitted=!0}return{type:i?"image":"link",raw:c,href:f,title:g,text:h,tokens:l}}function az(a,b,c,d){if(!b.includes("<"))return!1;for(let e=0;e<b.length;e++){if("\\"===b[e]){e++;continue}if("`"===b[e]){let a=d.inline.code.exec(b.slice(e));if(a){e+=a[0].length-1;continue}}if("<"!==b[e])continue;let f=a.slice(c+e),g=d.inline.tag.exec(f)||d.inline.autolink.exec(f);if(g){if(g[0].length>b.length-e)return!0;e+=g[0].length-1}}return!1}var aA=class{constructor(a){this.options=a||e}space(a){let b=this.rules.block.newline.exec(a);if(b&&b[0].length>0)return{type:"space",raw:b[0]}}code(a){let b=this.rules.block.code.exec(a);if(b){let a=this.options.pedantic?b[0]:au(b[0]),c=a.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:a,codeBlockStyle:"indented",text:c}}}fences(a){let b=this.rules.block.fences.exec(a);if(b){let a=b[0],c=function(a,b,c){let d=a.match(c.other.indentCodeCompensation);if(null===d)return b;let e=d[1];return b.split(`
4
+ `)}function aw(a){return a.trim().toLowerCase().toUpperCase().toLowerCase()}function ax(a,b){if(-1===a.indexOf(b[0])&&-1===a.indexOf(b[1]))return -1;let c=0;for(let d=0;d<a.length;d++)if("\\"===a[d])d++;else if(a[d]===b[0])c++;else if(a[d]===b[1]&&--c<0)return d;return c>0?-2:-1}function ay(a,b=0){let c=b,d="";for(let b of a)if(" "===b){let a=4-c%4;d+=" ".repeat(a),c+=a}else d+=b,c++;return d}function az(a,b,c,d,e){let f=b.href,g=b.title||null,h=a[1].replace(e.other.outputLinkReplace,"$1"),i="!"===a[0].charAt(0),j=d.state.inLink,k=d.state.linkEmitted,l=d.state.inRawBlock;d.state.inLink=!0,d.state.linkEmitted=!1;let m=d.inlineTokens(h),n=d.state.linkEmitted;if(d.state.linkEmitted=k,d.state.inLink=j,!i){if(n){d.state.inRawBlock=l;return}d.state.linkEmitted=!0}return{type:i?"image":"link",raw:c,href:f,title:g,text:h,tokens:m}}function aA(a,b,c,d){if(!b.includes("<"))return!1;for(let e=0;e<b.length;e++){if("\\"===b[e]){e++;continue}if("`"===b[e]){let a=d.inline.code.exec(b.slice(e));if(a){e+=a[0].length-1;continue}}if("<"!==b[e])continue;let f=a.slice(c+e),g=d.inline.tag.exec(f)||d.inline.autolink.exec(f);if(g){if(g[0].length>b.length-e)return!0;e+=g[0].length-1}}return!1}var aB=class{constructor(a){this.options=a||e}space(a){let b=this.rules.block.newline.exec(a);if(b&&b[0].length>0)return{type:"space",raw:b[0]}}code(a){let b=this.rules.block.code.exec(a);if(b){let a=this.options.pedantic?b[0]:av(b[0]),c=a.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:a,codeBlockStyle:"indented",text:c}}}fences(a){let b=this.rules.block.fences.exec(a);if(b){let a=b[0],c=function(a,b,c){let d=a.match(c.other.indentCodeCompensation);if(null===d)return b;let e=d[1];return b.split(`
5
5
  `).map(a=>{let b=a.match(c.other.beginningSpace);if(null===b)return a;let[d]=b;return a.slice(Math.min(d.length,e.length))}).join(`
6
- `)}(a,b[3]||"",this.rules);return{type:"code",raw:a,lang:b[2]?b[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):b[2],text:c}}}heading(a){let b=this.rules.block.heading.exec(a);if(b){let a=b[2].trim();if(this.rules.other.endingHash.test(a)){let b=at(a,"#");(this.options.pedantic||!b||this.rules.other.endingSpaceTabChar.test(b))&&(a=b.trim())}return{type:"heading",raw:at(b[0],`
7
- `),depth:b[1].length,text:a,tokens:this.lexer.inline(a)}}}hr(a){let b=this.rules.block.hr.exec(a);if(b)return{type:"hr",raw:at(b[0],`
8
- `)}}blockquote(a){let b=this.rules.block.blockquote.exec(a);if(b){let a=at(b[0],`
6
+ `)}(a,b[3]||"",this.rules);return{type:"code",raw:a,lang:b[2]?b[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):b[2],text:c}}}heading(a){let b=this.rules.block.heading.exec(a);if(b){let a=b[2].trim();if(this.rules.other.endingHash.test(a)){let b=au(a,"#");(this.options.pedantic||!b||this.rules.other.endingSpaceTabChar.test(b))&&(a=b.trim())}return{type:"heading",raw:au(b[0],`
7
+ `),depth:b[1].length,text:a,tokens:this.lexer.inline(a)}}}hr(a){let b=this.rules.block.hr.exec(a);if(b)return{type:"hr",raw:au(b[0],`
8
+ `)}}blockquote(a){let b=this.rules.block.blockquote.exec(a);if(b){let a=au(b[0],`
9
9
  `).split(`
10
10
  `),c="",d="",e=[];for(;a.length>0;){let b=!1,f=[],g;for(g=0;g<a.length;g++)if(this.rules.other.blockquoteStart.test(a[g]))f.push(a[g]),b=!0;else if(b)break;else f.push(a[g]);a=a.slice(g);let h=f.join(`
11
11
  `),i=h.replace(this.rules.other.blockquoteSetextReplace,`
12
12
  $1`).replace(this.rules.other.blockquoteSetextReplace2,"");c=c?`${c}
13
13
  ${h}`:h,d=d?`${d}
14
- ${i}`:i;let j=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(i,e,!0),this.lexer.state.top=j,0===a.length)break;let k=e.at(-1);if(k?.type==="code")break;if(k?.type==="blockquote"){let b=a.join(`
14
+ ${i}`:i;let j=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(i,e,!0),this.lexer.state.top=j,0===a.length)break;let k=e.at(-1);if(k?.type==="code"||k?.type==="heading"||k?.type==="hr"||k?.type==="html")break;if(k?.type==="blockquote"){let b=a.join(`
15
15
  `),f=k.raw+`
16
16
  `+b.replace(this.rules.other.blockquoteSetextReplace2,""),g=this.blockquote(f);e[e.length-1]=g;let h=f.substring(g.raw.length).replace(/^\n/,""),i=h?h.split(`
17
17
  `).length:0,j=i?a.slice(0,-i):a;j.length>0&&(c=`${c}
@@ -19,19 +19,17 @@ ${j.join(`
19
19
  `)}`),d=d.substring(0,d.length-k.text.length)+g.text;break}if(k?.type==="list"){let b=k.raw+`
20
20
  `+a.join(`
21
21
  `),f=this.list(b);e[e.length-1]=f,c=c.substring(0,c.length-k.raw.length)+f.raw,d=d.substring(0,d.length-k.raw.length)+f.raw,a=b.substring(e.at(-1).raw.length).split(`
22
- `);continue}}return{type:"blockquote",raw:c,tokens:e,text:d}}}list(a){let b=this.rules.block.list.exec(a);if(b){let c=b[1].trim(),d=c.length>1,e={type:"list",raw:"",ordered:d,start:d?+c.slice(0,-1):"",loose:!1,items:[]};c=d?`\\d{1,9}\\${c.slice(-1)}`:`\\${c}`,this.options.pedantic&&(c=d?c:"[*+-]");let f=this.rules.other.listItemRegex(c),g=!1;for(;a;){let c=!1,d="",h="";if(!(b=f.exec(a))||this.rules.block.hr.test(a))break;d=b[0],a=a.substring(d.length);let i=b[2].split(`
23
- `,1)[0],j=b[1].length,k=this.options.pedantic?ax(i,j):i.replace(this.rules.other.leadingSpaceTab,a=>ax(a,j)),l=a.split(`
24
- `,1)[0],m=!k.trim(),n=0;if(this.options.pedantic?(n=2,h=k.trimStart()):m?n=j+1:(n=(n=k.search(this.rules.other.nonSpaceChar))>4?1:n,h=k.slice(n),n+=j),m&&this.rules.other.blankLine.test(l)&&(d+=l+`
25
- `,a=a.substring(l.length+1),c=!0),!c){let b=this.rules.other.nextBulletRegex(n),c=this.rules.other.hrRegex(n),e=this.rules.other.fencesBeginRegex(n),f=this.rules.other.headingBeginRegex(n),g=this.rules.other.htmlBeginRegex(n),i=this.rules.other.blockquoteBeginRegex(n);for(;a;){let j=a.split(`
26
- `,1)[0],o;if(l=j,o=this.options.pedantic?l=l.replace(this.rules.other.listReplaceNesting," "):l.replace(this.rules.other.leadingSpaceTab,a=>a.replace(this.rules.other.tabCharGlobal," ")),e.test(l)||f.test(l)||g.test(l)||i.test(l)||b.test(l)||c.test(l))break;if(o.search(this.rules.other.nonSpaceChar)>=n||!l.trim())h+=`
27
- `+o.slice(n);else{if(m||k.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||e.test(k)||f.test(k)||c.test(k))break;h+=`
28
- `+l}m=!l.trim(),d+=j+`
29
- `,a=a.substring(j.length+1),k=o.slice(n)}}e.loose||(g?e.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(g=!0)),e.items.push({type:"list_item",raw:d,task:!!this.options.gfm&&this.rules.other.listIsTask.test(h),loose:!1,text:h,tokens:[]}),e.raw+=d}let h=e.items.at(-1);if(!h)return;for(let a of(h.raw=h.raw.trimEnd(),h.text=h.text.trimEnd(),e.raw=e.raw.trimEnd(),e.items))if(this.lexer.state.top=!1,a.tokens=this.lexer.blockTokens(a.text,[]),!e.loose){let b=a.tokens.filter(a=>"space"===a.type);e.loose=b.length>0&&b.some(a=>this.rules.other.anyLine.test(a.raw))}for(let a of e.items){let b=a.tokens[0];if(a.task&&(b?.type==="text"||b?.type==="paragraph")){a.text=a.text.replace(this.rules.other.listReplaceTask,""),b.raw=b.raw.replace(this.rules.other.listReplaceTask,""),b.text=b.text.replace(this.rules.other.listReplaceTask,"");for(let a=this.lexer.inlineQueue.length-1;a>=0;a--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[a].src)){this.lexer.inlineQueue[a].src=this.lexer.inlineQueue[a].src.replace(this.rules.other.listReplaceTask,"");break}let c=this.rules.other.listTaskCheckbox.exec(a.raw);if(c){let b={type:"checkbox",raw:c[0]+" ",checked:"[ ]"!==c[0]};a.checked=b.checked,e.loose?a.tokens[0]&&["paragraph","text"].includes(a.tokens[0].type)&&"tokens"in a.tokens[0]&&a.tokens[0].tokens?(a.tokens[0].raw=b.raw+a.tokens[0].raw,a.tokens[0].text=b.raw+a.tokens[0].text,a.tokens[0].tokens.unshift(b)):a.tokens.unshift({type:"paragraph",raw:b.raw,text:b.raw,tokens:[b]}):a.tokens.unshift(b)}}else a.task&&(a.task=!1)}if(e.loose)for(let a of e.items)for(let b of(a.loose=!0,a.tokens))"text"===b.type&&(b.type="paragraph");return e}}html(a){let b=this.rules.block.html.exec(a);if(b){let a=au(b[0]);return{type:"html",block:!0,raw:a,pre:"pre"===b[1]||"script"===b[1]||"style"===b[1],text:a}}}def(a){let b=this.rules.block.def.exec(a);if(b){if(!this.rules.other.startAngleBracket.test(b[2])&&-1!==aw(b[2],"()"))return;let a=av(b[1]).replace(this.rules.other.multipleSpaceGlobal," "),c=b[2]?b[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",d=b[3]?b[3].substring(1,b[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):b[3];return{type:"def",tag:a,raw:at(b[0],`
30
- `),href:c,title:d}}}table(a){let b=this.rules.block.table.exec(a);if(!b||!this.rules.other.tableDelimiter.test(b[2]))return;let c=as(b[1]),d=b[2].replace(this.rules.other.tableAlignChars,"").split("|"),e=b[3]?.trim()?b[3].replace(this.rules.other.tableRowBlankLine,"").split(`
31
- `):[],f={type:"table",raw:at(b[0],`
32
- `),header:[],align:[],rows:[]};if(c.length===d.length){for(let a of d)this.rules.other.tableAlignRight.test(a)?f.align.push("right"):this.rules.other.tableAlignCenter.test(a)?f.align.push("center"):this.rules.other.tableAlignLeft.test(a)?f.align.push("left"):f.align.push(null);for(let a=0;a<c.length;a++)f.header.push({text:c[a],tokens:this.lexer.inline(c[a]),header:!0,align:f.align[a]});for(let a of e)f.rows.push(as(a,f.header.length).map((a,b)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:f.align[b]})));return f}}lheading(a){let b=this.rules.block.lheading.exec(a);if(b){let a=b[1].trim();return{type:"heading",raw:at(b[0],`
22
+ `);continue}}return{type:"blockquote",raw:c,tokens:e,text:d}}}list(a){let b=this.rules.block.list.exec(a);if(b){let c=a,d=()=>c.length-a.length,e=b[1].trim(),f=e.length>1,g={type:"list",raw:"",ordered:f,start:f?+e.slice(0,-1):"",loose:!1,items:[]};e=f?`\\d{1,9}\\${e.slice(-1)}`:`\\${e}`,this.options.pedantic&&(e=f?e:"[*+-]");let h=this.rules.other.listItemRegex(e),i=!1;for(;a;){let e=!1,f="";if(!(b=h.exec(a))||this.rules.block.hr.test(a))break;let j=d();a=a.substring(b[0].length);let k=b[2].split(`
23
+ `,1)[0],l=b[1].length,m=this.options.pedantic?ay(k,l):k.replace(this.rules.other.leadingSpaceTab,a=>ay(a,l)),n=a.split(`
24
+ `,1)[0],o=!m.trim(),p=0;if(this.options.pedantic?(p=2,f=m.trimStart()):o?p=l+1:(p=(p=m.search(this.rules.other.nonSpaceChar))>4?1:p,f=m.slice(p),p+=l),o&&this.rules.other.blankLine.test(n)&&(a=a.substring(n.length+1),e=!0),!e){let b=this.rules.other.nextBulletRegex(p),c=this.rules.other.hrRegex(p),d=this.rules.other.fencesBeginRegex(p),e=this.rules.other.headingBeginRegex(p),g=this.rules.other.htmlBeginRegex(p),h=this.rules.other.blockquoteBeginRegex(p);for(;a;){let i=a.split(`
25
+ `,1)[0],j;if(n=i,j=this.options.pedantic?n=n.replace(this.rules.other.listReplaceNesting," "):n.replace(this.rules.other.leadingSpaceTab,a=>ay(a)),d.test(n)||e.test(n)||g.test(n)||h.test(n)||b.test(n)||c.test(n))break;if(j.search(this.rules.other.nonSpaceChar)>=p||!n.trim())f+=`
26
+ `+j.slice(p);else{if(o||m.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||d.test(m)||e.test(m)||c.test(m))break;f+=`
27
+ `+n}o=!n.trim(),a=a.substring(i.length+1),m=j.slice(p)}}let q=c.slice(j,d());g.loose||(i?g.loose=!0:this.rules.other.doubleBlankLine.test(q)&&(i=!0)),g.items.push({type:"list_item",raw:q,task:!!this.options.gfm&&this.rules.other.listIsTask.test(f),loose:!1,text:f,tokens:[]})}let j=g.items.at(-1);if(!j)return;for(let a of(j.raw=j.raw.trimEnd(),j.text=j.text.trimEnd(),g.raw=c.slice(0,d()).trimEnd(),g.items))if(this.lexer.state.top=!1,a.tokens=this.lexer.blockTokens(a.text,[]),!g.loose){let b=a.tokens.filter(a=>"space"===a.type);g.loose=b.length>0&&b.some(a=>this.rules.other.anyLine.test(a.raw))}for(let a of g.items){let b=a.tokens[0];if(a.task&&(b?.type==="text"||b?.type==="paragraph")){a.text=a.text.replace(this.rules.other.listReplaceTask,""),b.raw=b.raw.replace(this.rules.other.listReplaceTask,""),b.text=b.text.replace(this.rules.other.listReplaceTask,"");for(let a=this.lexer.inlineQueue.length-1;a>=0;a--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[a].src)){this.lexer.inlineQueue[a].src=this.lexer.inlineQueue[a].src.replace(this.rules.other.listReplaceTask,"");break}let c=this.rules.other.listTaskCheckbox.exec(a.raw);if(c){let b={type:"checkbox",raw:c[0]+" ",checked:"[ ]"!==c[0]};a.checked=b.checked,g.loose?a.tokens[0]&&["paragraph","text"].includes(a.tokens[0].type)&&"tokens"in a.tokens[0]&&a.tokens[0].tokens?(a.tokens[0].raw=b.raw+a.tokens[0].raw,a.tokens[0].text=b.raw+a.tokens[0].text,a.tokens[0].tokens.unshift(b)):a.tokens.unshift({type:"paragraph",raw:b.raw,text:b.raw,tokens:[b]}):a.tokens.unshift(b)}}else a.task&&(a.task=!1)}if(g.loose)for(let a of g.items)for(let b of(a.loose=!0,a.tokens))"text"===b.type&&(b.type="paragraph");return g}}html(a){let b=this.rules.block.html.exec(a);if(b){let a=av(b[0]);return{type:"html",block:!0,raw:a,pre:"pre"===b[1]||"script"===b[1]||"style"===b[1],text:a}}}def(a){let b=this.rules.block.def.exec(a);if(b){if(!this.rules.other.startAngleBracket.test(b[2])&&-1!==ax(b[2],"()"))return;let a=aw(b[1]).replace(this.rules.other.multipleSpaceGlobal," "),c=b[2]?b[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",d=b[3]?b[3].substring(1,b[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):b[3];return{type:"def",tag:a,raw:au(b[0],`
28
+ `),href:c,title:d}}}table(a){let b=this.rules.block.table.exec(a);if(!b||!this.rules.other.tableDelimiter.test(b[2]))return;let c=at(b[1]),d=b[2].replace(this.rules.other.tableAlignChars,"").split("|"),e=b[3]?.trim()?b[3].replace(this.rules.other.tableRowBlankLine,"").split(`
29
+ `):[],f={type:"table",raw:au(b[0],`
30
+ `),header:[],align:[],rows:[]};if(c.length===d.length){for(let a of d)this.rules.other.tableAlignRight.test(a)?f.align.push("right"):this.rules.other.tableAlignCenter.test(a)?f.align.push("center"):this.rules.other.tableAlignLeft.test(a)?f.align.push("left"):f.align.push(null);for(let a=0;a<c.length;a++)f.header.push({text:c[a],tokens:this.lexer.inline(c[a]),header:!0,align:f.align[a]});for(let a of e)f.rows.push(at(a,f.header.length).map((a,b)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:f.align[b]})));return f}}lheading(a){let b=this.rules.block.lheading.exec(a);if(b){let a=b[1].trim();return{type:"heading",raw:au(b[0],`
33
31
  `),depth:"="===b[2].charAt(0)?1:2,text:a,tokens:this.lexer.inline(a)}}}paragraph(a){let b=this.rules.block.paragraph.exec(a);if(b){let a=b[1].charAt(b[1].length-1)===`
34
- `?b[1].slice(0,-1):b[1];return{type:"paragraph",raw:b[0],text:a,tokens:this.lexer.inline(a)}}}text(a){let b=this.rules.block.text.exec(a);if(b)return{type:"text",raw:b[0],text:b[0],tokens:this.lexer.inline(b[0])}}escape(a){let b=this.rules.inline.escape.exec(a);if(b)return{type:"escape",raw:b[0],text:b[1]}}tag(a){let b=this.rules.inline.tag.exec(a);if(b)return!this.lexer.state.inLink&&this.rules.other.startATag.test(b[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(b[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(b[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(b[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:b[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:b[0]}}link(a){if(!1===this.lexer.state.linkParenPossible)return;let b=this.rules.inline.link.exec(a);if(b){let c="!"===b[0].charAt(0)?2:1;if(!this.options.pedantic&&az(a,b[1],c,this.rules))return;let d=b[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(d)){if(!this.rules.other.endAngleBracket.test(d))return;let a=at(d.slice(0,-1),"\\");if((d.length-a.length)%2==0)return}else{let a=aw(b[2],"()");if(-2===a)return;if(a>-1){let c=(0===b[0].indexOf("!")?5:4)+b[1].length+a;b[2]=b[2].substring(0,a),b[0]=b[0].substring(0,c).trim(),b[3]=""}}let e=b[2],f="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(e);a&&(e=a[1],f=a[3])}else f=b[3]?b[3].slice(1,-1):"";return e=e.trim(),this.rules.other.startAngleBracket.test(e)&&(e=this.options.pedantic&&!this.rules.other.endAngleBracket.test(d)?e.slice(1):e.slice(1,-1)),ay(b,{href:e&&e.replace(this.rules.inline.anyPunctuation,"$1"),title:f&&f.replace(this.rules.inline.anyPunctuation,"$1")},b[0],this.lexer,this.rules)}}reflink(a,b){let c;if((c=this.rules.inline.reflink.exec(a))||(c=this.rules.inline.nolink.exec(a))){let d="!"===c[0].charAt(0)?2:1;if(!this.options.pedantic&&az(a,c[1],d,this.rules))return;let e=b[av((c[2]||c[1]).replace(this.rules.other.multipleSpaceGlobal," "))];if(!e){let a=c[0].charAt(0);return{type:"text",raw:a,text:a}}return ay(c,e,c[0],this.lexer,this.rules)}}emStrong(a,b,c=""){let d=this.rules.inline.emStrongLDelim.exec(a);if(!(!d||!d[1]&&!d[2]&&!d[3]&&!d[4]||d[4]&&c.match(this.rules.other.unicodeAlphaNumeric))&&(!(d[1]||d[3])||!c||this.rules.inline.punctuation.exec(c))){let e=[...d[0]].length-1,f,g,h=e,i=0,j=d[0][0],k=c===j,l="*"===j?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,b=b.slice(-1*a.length+e);null!==(d=l.exec(b));){if(!(f=d[1]||d[2]||d[3]||d[4]||d[5]||d[6]))continue;if(g=[...f].length,d[3]||d[4]){h+=g;continue}if(d[5]||d[6]){if(e%3&&!((e+g)%3)){i+=g;continue}if(k)break}if((h-=g)>0)continue;g=Math.min(g,g+h+i);let b=[...d[0]][0].length,c=a.slice(0,e+d.index+b+g);if(Math.min(e,g)%2){let a=c.slice(1,-1);return{type:"em",raw:c,text:a,tokens:this.lexer.inlineTokens(a)}}let j=c.slice(2,-2);return{type:"strong",raw:c,text:j,tokens:this.lexer.inlineTokens(j)}}}}codespan(a){let b=this.rules.inline.code.exec(a);if(b){let a=b[2].replace(this.rules.other.newLineCharGlobal," "),c=this.rules.other.nonSpaceChar.test(a),d=this.rules.other.startingSpaceChar.test(a)&&this.rules.other.endingSpaceChar.test(a);return c&&d&&(a=a.substring(1,a.length-1)),{type:"codespan",raw:b[0],text:a}}}br(a){let b=this.rules.inline.br.exec(a);if(b)return{type:"br",raw:b[0]}}del(a,b,c=""){let d=this.rules.inline.delLDelim.exec(a);if(d&&(!d[1]||!c||this.rules.inline.punctuation.exec(c))){let c=[...d[0]].length-1,e,f,g=c,h=this.rules.inline.delRDelim;for(h.lastIndex=0,b=b.slice(-1*a.length+c);null!==(d=h.exec(b));){if(!(e=d[1]||d[2]||d[3]||d[4]||d[5]||d[6])||(f=[...e].length)!==c)continue;if(d[3]||d[4]){g+=f;continue}if((g-=f)>0)continue;f=Math.min(f,f+g);let b=[...d[0]][0].length,h=a.slice(0,c+d.index+b+f),i=h.slice(c,-c);return{type:"del",raw:h,text:i,tokens:this.lexer.inlineTokens(i)}}}}autolink(a){let b=this.rules.inline.autolink.exec(a);if(b){let a,c;return c="@"===b[2]?"mailto:"+(a=b[1]):a=b[1],{type:"link",raw:b[0],text:a,href:c,autolink:!0,tokens:[{type:"text",raw:a,text:a}]}}}url(a){let b;if(b=this.rules.inline.url.exec(a)){let a,c;if("@"===b[2])c="mailto:"+(a=b[0]);else{let d;do d=b[0],b[0]=this.rules.inline._backpedal.exec(b[0])?.[0]??"";while(d!==b[0]);a=b[0],c="www."===b[1]?"http://"+b[0]:b[0]}return{type:"link",raw:b[0],text:a,href:c,autolink:!0,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(a){let b=this.rules.inline.text.exec(a);if(b){let a=this.lexer.state.inRawBlock;return{type:"text",raw:b[0],text:a?b[0]:b[0].replace(j.numericCharacterReference,(a,b,c)=>{let d=void 0===b?Number.parseInt(c,16):Number.parseInt(b,10);return 0===d||d>1114111||d>=55296&&d<=57343?"īŋŊ":String.fromCodePoint(d)}),escaped:a}}}},aB=class a{constructor(a){this.tokens=[],this.tokens.links=Object.create(null),this.options=a||e,this.options.tokenizer=this.options.tokenizer||new aA,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,linkEmitted:!1,linkParenPossible:!0,top:!0};let b={other:j,block:am.normal,inline:an.normal};this.options.pedantic?(b.block=am.pedantic,b.inline=an.pedantic):this.options.gfm&&(b.block=am.gfm,this.options.breaks?b.inline=an.breaks:b.inline=an.gfm),this.tokenizer.rules=b}static get rules(){return{block:am,inline:an}}static lex(b,c){return new a(c).lex(b)}static lexInline(b,c){return new a(c).inlineTokens(b)}lex(a){a=a.replace(j.carriageReturn,`
32
+ `?b[1].slice(0,-1):b[1];return{type:"paragraph",raw:b[0],text:a,tokens:this.lexer.inline(a)}}}text(a){let b=this.rules.block.text.exec(a);if(b)return{type:"text",raw:b[0],text:b[0],tokens:this.lexer.inline(b[0])}}escape(a){let b=this.rules.inline.escape.exec(a);if(b)return{type:"escape",raw:b[0],text:b[1]}}tag(a){let b=this.rules.inline.tag.exec(a);if(b)return!this.lexer.state.inLink&&this.rules.other.startATag.test(b[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(b[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(b[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(b[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:b[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:b[0]}}link(a){if(!1===this.lexer.state.linkParenPossible)return;let b=this.rules.inline.link.exec(a);if(b){let c="!"===b[0].charAt(0)?2:1;if(!this.options.pedantic&&aA(a,b[1],c,this.rules))return;let d=b[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(d)){if(!this.rules.other.endAngleBracket.test(d))return;let a=au(d.slice(0,-1),"\\");if((d.length-a.length)%2==0)return}else{let a=ax(b[2],"()");if(-2===a)return;if(a>-1){let c=(0===b[0].indexOf("!")?5:4)+b[1].length+a;b[2]=b[2].substring(0,a),b[0]=b[0].substring(0,c).trim(),b[3]=""}}let e=b[2],f="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(e);a&&(e=a[1],f=a[3])}else f=b[3]?b[3].slice(1,-1):"";return e=e.trim(),this.rules.other.startAngleBracket.test(e)&&(e=this.options.pedantic&&!this.rules.other.endAngleBracket.test(d)?e.slice(1):e.slice(1,-1)),az(b,{href:e&&e.replace(this.rules.inline.anyPunctuation,"$1"),title:f&&f.replace(this.rules.inline.anyPunctuation,"$1")},b[0],this.lexer,this.rules)}}reflink(a,b){let c;if((c=this.rules.inline.reflink.exec(a))||(c=this.rules.inline.nolink.exec(a))){let d="!"===c[0].charAt(0)?2:1;if(!this.options.pedantic&&aA(a,c[1],d,this.rules))return;let e=b[aw((c[2]||c[1]).replace(this.rules.other.multipleSpaceGlobal," "))];if(!e){let a=c[0].charAt(0);return{type:"text",raw:a,text:a}}return az(c,e,c[0],this.lexer,this.rules)}}emStrong(a,b,c=""){let d=this.rules.inline.emStrongLDelim.exec(a);if(!(!d||!d[1]&&!d[2]&&!d[3]&&!d[4]||d[4]&&c.match(this.rules.other.unicodeAlphaNumeric))&&(!(d[1]||d[3])||!c||this.rules.inline.punctuation.exec(c))){let e=[...d[0]].length-1,f,g,h=e,i=0,j=d[0][0],k=c===j,l="*"===j?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,b=b.slice(-1*a.length+e);null!==(d=l.exec(b));){if(!(f=d[1]||d[2]||d[3]||d[4]||d[5]||d[6]))continue;if(g=[...f].length,d[3]||d[4]){h+=g;continue}if(d[5]||d[6]){if(e%3&&!((e+g)%3)){i+=g;continue}if(k)break}if((h-=g)>0)continue;g=Math.min(g,g+h+i);let b=[...d[0]][0].length,c=a.slice(0,e+d.index+b+g);if(Math.min(e,g)%2){let a=c.slice(1,-1);return{type:"em",raw:c,text:a,tokens:this.lexer.inlineTokens(a)}}let j=c.slice(2,-2);return{type:"strong",raw:c,text:j,tokens:this.lexer.inlineTokens(j)}}}}codespan(a){let b=this.rules.inline.code.exec(a);if(b){let a=b[2].replace(this.rules.other.newLineCharGlobal," "),c=this.rules.other.nonSpaceChar.test(a),d=this.rules.other.startingSpaceChar.test(a)&&this.rules.other.endingSpaceChar.test(a);return c&&d&&(a=a.substring(1,a.length-1)),{type:"codespan",raw:b[0],text:a}}}br(a){let b=this.rules.inline.br.exec(a);if(b)return{type:"br",raw:b[0]}}del(a,b,c=""){let d=this.rules.inline.delLDelim.exec(a);if(d&&(!d[1]||!c||this.rules.inline.punctuation.exec(c))){let c=[...d[0]].length-1,e,f,g=c,h=this.rules.inline.delRDelim;for(h.lastIndex=0,b=b.slice(-1*a.length+c);null!==(d=h.exec(b));){if(!(e=d[1]||d[2]||d[3]||d[4]||d[5]||d[6])||(f=[...e].length)!==c)continue;if(d[3]||d[4]){g+=f;continue}if((g-=f)>0)continue;f=Math.min(f,f+g);let b=[...d[0]][0].length,h=a.slice(0,c+d.index+b+f),i=h.slice(c,-c);return{type:"del",raw:h,text:i,tokens:this.lexer.inlineTokens(i)}}}}autolink(a){let b=this.rules.inline.autolink.exec(a);if(b){let a,c;return c="@"===b[2]?"mailto:"+(a=b[1]):a=b[1],{type:"link",raw:b[0],text:a,href:c,autolink:!0,tokens:[{type:"text",raw:a,text:a}]}}}url(a){let b;if(b=this.rules.inline.url.exec(a)){let a,c;if("@"===b[2])c="mailto:"+(a=b[0]);else{let d;do d=b[0],b[0]=this.rules.inline._backpedal.exec(b[0])?.[0]??"";while(d!==b[0]);a=b[0],c="www."===b[1]?"http://"+b[0]:b[0]}return{type:"link",raw:b[0],text:a,href:c,autolink:!0,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(a){let b=this.rules.inline.text.exec(a);if(b){var c;let a=this.lexer.state.inRawBlock;return{type:"text",raw:b[0],text:a?b[0]:(c=b[0],j.numericCharacterReference.test(c)?c.replace(j.numericCharacterReferenceOrAmpersand,(a,b,c)=>{if(void 0===b&&void 0===c)return"&amp;";let d=void 0===b?Number.parseInt(c,16):Number.parseInt(b,10);return 0===d||d>1114111||d>=55296&&d<=57343?"īŋŊ":38===d?"&amp;":String.fromCodePoint(d)}):c),escaped:a}}}},aC=class a{constructor(a){this.tokens=[],this.tokens.links=Object.create(null),this.options=a||e,this.options.tokenizer=this.options.tokenizer||new aB,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,linkEmitted:!1,linkParenPossible:!0,top:!0};let b={other:j,block:an.normal,inline:ao.normal};this.options.pedantic?(b.block=an.pedantic,b.inline=ao.pedantic):this.options.gfm&&(b.block=an.gfm,this.options.breaks?b.inline=ao.breaks:b.inline=ao.gfm),this.tokenizer.rules=b}static get rules(){return{block:an,inline:ao}}static lex(b,c){return new a(c).lex(b)}static lexInline(b,c){return new a(c).inlineTokens(b)}lex(a){a=a.replace(j.carriageReturn,`
35
33
  `),this.blockTokens(a,this.tokens);for(let a=0;a<this.inlineQueue.length;a++){let b=this.inlineQueue[a];this.inlineTokens(b.src,b.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(a,b=[],c=!1){this.tokenizer.lexer=this,this.options.pedantic&&(a=a.replace(j.tabCharGlobal," ").replace(j.spaceLine,""));let d=1/0;for(;a;){let e;if(a.length<d)d=a.length;else{this.infiniteLoopError(a.charCodeAt(0));break}if(this.options.extensions?.block?.some(c=>!!(e=c.call({lexer:this},a,b))&&(a=a.substring(e.raw.length),b.push(e),!0)))continue;if(e=this.tokenizer.space(a)){a=a.substring(e.raw.length);let c=b.at(-1);1===e.raw.length&&void 0!==c?c.raw+=`
36
34
  `:b.push(e);continue}if(e=this.tokenizer.code(a)){a=a.substring(e.raw.length);let c=b.at(-1);c?.type==="paragraph"||c?.type==="text"?(c.raw+=(c.raw.endsWith(`
37
35
  `)?"":`
@@ -45,9 +43,9 @@ ${j.join(`
45
43
  `+e.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=d.text):b.push(e),c=f.length!==a.length,a=a.substring(e.raw.length);continue}if(e=this.tokenizer.text(a)){a=a.substring(e.raw.length);let c=b.at(-1);c?.type==="text"?(c.raw+=(c.raw.endsWith(`
46
44
  `)?"":`
47
45
  `)+e.raw,c.text+=`
48
- `+e.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):b.push(e);continue}if(a){this.infiniteLoopError(a.charCodeAt(0));break}}return this.state.top=!0,b}inline(a,b=[]){return this.inlineQueue.push({src:a,tokens:b}),b}linkInText(a){if(!a.includes("["))return!1;let b=this.tokenizer.rules.inline.link;for(let c of a.matchAll(this.tokenizer.rules.inline.blockSkip))if(b.test(c[0])&&"!"!==a.charAt(c.index-1))return!0;for(let b of a.matchAll(this.tokenizer.rules.inline.reflinkSearch)){let a=b[0],c=a.lastIndexOf("[");if(!("!"===a.charAt(0)||!Object.hasOwn(this.tokens.links,av(a.slice(c+1,-1))))&&!(c>1&&this.linkInText(a.slice(1,c-1))))return!0}return!1}inlineTokens(a,b=[]){this.tokenizer.lexer=this;let c=this.state.linkParenPossible;this.state.linkParenPossible=c&&a.includes(")");try{return this.#a(a,b)}finally{this.state.linkParenPossible=c}}#a(a,b){let c=a;if(this.tokens.links&&a.includes("[")){let a=this.tokenizer.rules.inline.reflinkSearch,b=c=>{let d=c.lastIndexOf("[");if(!Object.hasOwn(this.tokens.links,av(c.slice(d+1,-1))))return c;if(d>1&&"!"!==c.charAt(0)){let e=c.slice(1,d-1);if(this.linkInText(e))return"["+e.replace(a,b)+"]["+"a".repeat(c.length-d-2)+"]"}return"["+"a".repeat(c.length-2)+"]"};c=c.replace(a,b)}c=(c=c.replace(this.tokenizer.rules.inline.anyPunctuation,a=>"+".repeat(a.length))).replace(this.tokenizer.rules.inline.blockSkip,(a,b,c)=>{let d=c?c.length:0;return a.slice(0,d)+"["+"a".repeat(a.length-d-2)+"]"}),c=this.options.hooks?.emStrongMask?.call({lexer:this},c)??c;let d=!1,e="",f=1/0;for(;a;){let g;if(a.length<f)f=a.length;else{this.infiniteLoopError(a.charCodeAt(0));break}if(d||(e=""),d=!1,this.options.extensions?.inline?.some(c=>!!(g=c.call({lexer:this},a,b))&&(a=a.substring(g.raw.length),b.push(g),!0)))continue;if((g=this.tokenizer.escape(a))||(g=this.tokenizer.tag(a))||(g=this.tokenizer.link(a))){a=a.substring(g.raw.length),b.push(g);continue}if(g=this.tokenizer.reflink(a,this.tokens.links)){a=a.substring(g.raw.length);let c=b.at(-1);"text"===g.type&&c?.type==="text"?(c.raw+=g.raw,c.text+=g.text):b.push(g);continue}if((g=this.tokenizer.emStrong(a,c,e))||(g=this.tokenizer.codespan(a))||(g=this.tokenizer.br(a))||(g=this.tokenizer.del(a,c,e))||(g=this.tokenizer.autolink(a))||!this.state.inLink&&(g=this.tokenizer.url(a))){a=a.substring(g.raw.length),b.push(g);continue}let h=a;if(this.options.extensions?.startInline){let b=1/0,c=a.slice(1),d;this.options.extensions.startInline.forEach(a=>{"number"==typeof(d=a.call({lexer:this},c))&&d>=0&&(b=Math.min(b,d))}),b<1/0&&b>=0&&(h=a.substring(0,b+1))}if(g=this.tokenizer.inlineText(h)){a=a.substring(g.raw.length),"_"!==g.raw.slice(-1)&&(e=g.raw.slice(-1)),d=!0;let c=b.at(-1);c?.type==="text"?(c.raw+=g.raw,c.text+=g.text):b.push(g);continue}if(a){this.infiniteLoopError(a.charCodeAt(0));break}}return b}infiniteLoopError(a){let b="Infinite loop on byte: "+a;if(this.options.silent)console.error(b);else throw Error(b)}},aC=class{constructor(a){this.options=a||e}space(a){return""}code({text:a,lang:b,escaped:c}){let d=(b||"").match(j.notSpaceStart)?.[0],e=a?a.replace(j.endingNewline,"")+`
49
- `:"";return d?'<pre><code class="language-'+aq(d)+'">'+(c?e:aq(e,!0))+`</code></pre>
50
- `:"<pre><code>"+(c?e:aq(e,!0))+`</code></pre>
46
+ `+e.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):b.push(e);continue}if(a){this.infiniteLoopError(a.charCodeAt(0));break}}return this.state.top=!0,b}inline(a,b=[]){return this.inlineQueue.push({src:a,tokens:b}),b}linkInText(a){if(!a.includes("["))return!1;let b=this.tokenizer.rules.inline.link;for(let c of a.matchAll(this.tokenizer.rules.inline.blockSkip))if(b.test(c[0])&&"!"!==a.charAt(c.index-1))return!0;for(let b of a.matchAll(this.tokenizer.rules.inline.reflinkSearch)){let a=b[0],c=a.lastIndexOf("[");if(!("!"===a.charAt(0)||!Object.hasOwn(this.tokens.links,aw(a.slice(c+1,-1))))&&!(c>1&&this.linkInText(a.slice(1,c-1))))return!0}return!1}inlineTokens(a,b=[]){this.tokenizer.lexer=this;let c=this.state.linkParenPossible;this.state.linkParenPossible=c&&a.includes(")");try{return this.#a(a,b)}finally{this.state.linkParenPossible=c}}#a(a,b){let c=a;if(this.tokens.links&&a.includes("[")){let a=this.tokenizer.rules.inline.reflinkSearch,b=c=>{let d=c.lastIndexOf("[");if(!Object.hasOwn(this.tokens.links,aw(c.slice(d+1,-1))))return c;if(d>1&&"!"!==c.charAt(0)){let e=c.slice(1,d-1);if(this.linkInText(e))return"["+e.replace(a,b)+"]["+"a".repeat(c.length-d-2)+"]"}return"["+"a".repeat(c.length-2)+"]"};c=c.replace(a,b)}c=(c=c.replace(this.tokenizer.rules.inline.anyPunctuationOutsideCode,(a,b,c)=>c?"+".repeat(a.length):b?b+a.slice(b.length,-b.length).replace(/`/g,"+")+b:a)).replace(this.tokenizer.rules.inline.blockSkip,(a,b,c)=>{let d=c?c.length:0;return a.slice(0,d)+"["+"a".repeat(a.length-d-2)+"]"}),c=this.options.hooks?.emStrongMask?.call({lexer:this},c)??c;let d=!1,e="",f=1/0;for(;a;){let g;if(a.length<f)f=a.length;else{this.infiniteLoopError(a.charCodeAt(0));break}if(d||(e=""),d=!1,this.options.extensions?.inline?.some(c=>!!(g=c.call({lexer:this},a,b))&&(a=a.substring(g.raw.length),b.push(g),!0)))continue;if((g=this.tokenizer.escape(a))||(g=this.tokenizer.tag(a))||(g=this.tokenizer.link(a))){a=a.substring(g.raw.length),b.push(g);continue}if(g=this.tokenizer.reflink(a,this.tokens.links)){a=a.substring(g.raw.length);let c=b.at(-1);"text"===g.type&&c?.type==="text"?(c.raw+=g.raw,c.text+=g.text):b.push(g);continue}if((g=this.tokenizer.emStrong(a,c,e))||(g=this.tokenizer.codespan(a))||(g=this.tokenizer.br(a))||(g=this.tokenizer.del(a,c,e))||(g=this.tokenizer.autolink(a))||!this.state.inLink&&(g=this.tokenizer.url(a))){a=a.substring(g.raw.length),b.push(g);continue}let h=a;if(this.options.extensions?.startInline){let b=1/0,c=a.slice(1),d;this.options.extensions.startInline.forEach(a=>{"number"==typeof(d=a.call({lexer:this},c))&&d>=0&&(b=Math.min(b,d))}),b<1/0&&b>=0&&(h=a.substring(0,b+1))}if(g=this.tokenizer.inlineText(h)){a=a.substring(g.raw.length),"_"!==g.raw.slice(-1)&&(e=g.raw.slice(-1)),d=!0;let c=b.at(-1);c?.type==="text"?(c.raw+=g.raw,c.text+=g.text):b.push(g);continue}if(a){this.infiniteLoopError(a.charCodeAt(0));break}}return b}infiniteLoopError(a){let b="Infinite loop on byte: "+a;if(this.options.silent)console.error(b);else throw Error(b)}},aD=class{constructor(a){this.options=a||e}space(a){return""}code({text:a,lang:b,escaped:c}){let d=(b||"").match(j.notSpaceStart)?.[0],e=a?a.replace(j.endingNewline,"")+`
47
+ `:"";return d?'<pre><code class="language-'+ar(d)+'">'+(c?e:ar(e,!0))+`</code></pre>
48
+ `:"<pre><code>"+(c?e:ar(e,!0))+`</code></pre>
51
49
  `}blockquote({tokens:a}){return`<blockquote>
52
50
  ${this.parser.parse(a)}</blockquote>
53
51
  `}html({text:a}){return a}def(a){return""}heading({tokens:a,depth:b}){return`<h${b}>${this.parser.parseInline(a)}</h${b}>
@@ -63,5 +61,5 @@ ${this.parser.parse(a)}</blockquote>
63
61
  `}tablerow({text:a}){return`<tr>
64
62
  ${a}</tr>
65
63
  `}tablecell(a){let b=this.parser.parseInline(a.tokens),c=a.header?"th":"td";return(a.align?`<${c} align="${a.align}">`:`<${c}>`)+b+`</${c}>
66
- `}strong({tokens:a}){return`<strong>${this.parser.parseInline(a)}</strong>`}em({tokens:a}){return`<em>${this.parser.parseInline(a)}</em>`}codespan({text:a}){return`<code>${aq(a,!0)}</code>`}br(a){return"<br>"}del({tokens:a}){return`<del>${this.parser.parseInline(a)}</del>`}link({href:a,title:b,text:c,tokens:d,autolink:e}){let f=e?aq(c,!0):this.parser.parseInline(d),g=ar(a);if(null===g)return f;let h='<a href="'+(a=aq(g,e))+'"';return b&&(h+=' title="'+aq(b)+'"'),h+=">"+f+"</a>"}image({href:a,title:b,text:c,tokens:d}){d&&(c=this.parser.parseInline(d,this.parser.textRenderer));let e=ar(a);if(null===e)return aq(c);a=e;let f=`<img src="${aq(a)}" alt="${aq(c)}"`;return b&&(f+=` title="${aq(b)}"`),f+=">"}text(a){return"tokens"in a&&a.tokens?this.parser.parseInline(a.tokens):"escaped"in a&&a.escaped?a.text:aq(a.text)}},aD=class{strong({text:a}){return a}em({text:a}){return a}codespan({text:a}){return a}del({text:a}){return a}html({text:a}){return a}text({text:a}){return a}link({text:a}){return""+a}image({text:a}){return""+a}br(){return""}checkbox({raw:a}){return a}},aE=class a{constructor(a){this.options=a||e,this.options.renderer=this.options.renderer||new aC,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new aD}static parse(b,c){return new a(c).parse(b)}static parseInline(b,c){return new a(c).parseInline(b)}parse(a){this.renderer.parser=this;let b="";for(let c=0;c<a.length;c++){let d=a[c];if(this.options.extensions?.renderers?.[d.type]){let a=this.options.extensions.renderers[d.type].call({parser:this},d);if(!1!==a||!["space","hr","heading","code","table","blockquote","list","checkbox","html","def","paragraph","text"].includes(d.type)){b+=a||"";continue}}switch(d.type){case"space":b+=this.renderer.space(d);break;case"hr":b+=this.renderer.hr(d);break;case"heading":b+=this.renderer.heading(d);break;case"code":b+=this.renderer.code(d);break;case"table":b+=this.renderer.table(d);break;case"blockquote":b+=this.renderer.blockquote(d);break;case"list":b+=this.renderer.list(d);break;case"checkbox":b+=this.renderer.checkbox(d);break;case"html":b+=this.renderer.html(d);break;case"def":b+=this.renderer.def(d);break;case"paragraph":b+=this.renderer.paragraph(d);break;case"text":b+=this.renderer.text(d);break;default:{let a='Token with "'+d.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw Error(a)}}}return b}parseInline(a,b=this.renderer){this.renderer.parser=this;let c="";for(let d=0;d<a.length;d++){let e=a[d];if(this.options.extensions?.renderers?.[e.type]){let a=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==a||!["escape","html","link","image","checkbox","strong","em","codespan","br","del","text"].includes(e.type)){c+=a||"";continue}}switch(e.type){case"escape":case"text":c+=b.text(e);break;case"html":c+=b.html(e);break;case"link":c+=b.link(e);break;case"image":c+=b.image(e);break;case"checkbox":c+=b.checkbox(e);break;case"strong":c+=b.strong(e);break;case"em":c+=b.em(e);break;case"codespan":c+=b.codespan(e);break;case"br":c+=b.br(e);break;case"del":c+=b.del(e);break;default:{let a='Token with "'+e.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw Error(a)}}}return c}},aF=class{constructor(a){this.options=a||e}static{this.passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])}static{this.passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"])}preprocess(a){return a}postprocess(a){return a}processAllTokens(a){return a}emStrongMask(a){return a}provideLexer(a=this.block){return a?aB.lex:aB.lexInline}provideParser(a=this.block){return a?aE.parse:aE.parseInline}},aG=class{constructor(...a){this.defaults=d(),this.options=this.setOptions,this.parse=this.parseMarkdown(!0),this.parseInline=this.parseMarkdown(!1),this.Parser=aE,this.Renderer=aC,this.TextRenderer=aD,this.Lexer=aB,this.Tokenizer=aA,this.Hooks=aF,this.use(...a)}walkTokens(a,b){let c=[];for(let d of a)switch(c=c.concat(b.call(this,d)),d.type){case"table":for(let a of d.header)c=c.concat(this.walkTokens(a.tokens,b));for(let a of d.rows)for(let d of a)c=c.concat(this.walkTokens(d.tokens,b));break;case"list":c=c.concat(this.walkTokens(d.items,b));break;default:{let a=d;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(d=>{let e=a[d].flat(1/0);c=c.concat(this.walkTokens(e,b))}):a.tokens&&(c=c.concat(this.walkTokens(a.tokens,b)))}}return c}use(...a){let b=this.defaults.extensions||{renderers:{},childTokens:{}};return a.forEach(a=>{let c={...a};if(c.async=this.defaults.async||c.async||!1,a.extensions&&(a.extensions.forEach(a=>{if(!a.name)throw Error("extension name required");if("renderer"in a){let c=b.renderers[a.name];c?b.renderers[a.name]=function(...b){let d=a.renderer.apply(this,b);return!1===d&&(d=c.apply(this,b)),d}:b.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||"block"!==a.level&&"inline"!==a.level)throw Error("extension level must be 'block' or 'inline'");let c=b[a.level];c?c.unshift(a.tokenizer):b[a.level]=[a.tokenizer],a.start&&("block"===a.level?b.startBlock?b.startBlock.push(a.start):b.startBlock=[a.start]:"inline"===a.level&&(b.startInline?b.startInline.push(a.start):b.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(b.childTokens[a.name]=a.childTokens)}),c.extensions=b),a.renderer){let b=this.defaults.renderer||new aC(this.defaults);for(let c in a.renderer){if(!(c in b))throw Error(`renderer '${c}' does not exist`);if(["options","parser"].includes(c))continue;let d=a.renderer[c],e=b[c];b[c]=(...a)=>{let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c||""}}c.renderer=b}if(a.tokenizer){let b=this.defaults.tokenizer||new aA(this.defaults);for(let c in a.tokenizer){if(!(c in b))throw Error(`tokenizer '${c}' does not exist`);if(["options","rules","lexer"].includes(c))continue;let d=a.tokenizer[c],e=b[c];b[c]=(...a)=>{let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c}}c.tokenizer=b}if(a.hooks){let b=this.defaults.hooks||new aF;for(let c in a.hooks){if(!(c in b))throw Error(`hook '${c}' does not exist`);if(["options","block"].includes(c))continue;let d=a.hooks[c],e=b[c];aF.passThroughHooks.has(c)?b[c]=a=>{if(this.defaults.async&&aF.passThroughHooksRespectAsync.has(c))return(async()=>{let c=await d.call(b,a);return e.call(b,c)})();let f=d.call(b,a);return e.call(b,f)}:b[c]=(...a)=>{if(this.defaults.async)return(async()=>{let c=await d.apply(b,a);return!1===c&&(c=await e.apply(b,a)),c})();let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c}}c.hooks=b}if(a.walkTokens){let b=this.defaults.walkTokens,d=a.walkTokens;c.walkTokens=function(a){let c=[];return c.push(d.call(this,a)),b&&(c=c.concat(b.call(this,a))),c}}this.defaults={...this.defaults,...c}}),this}setOptions(a){return this.defaults={...this.defaults,...a},this}lexer(a,b){return aB.lex(a,b??this.defaults)}parser(a,b){return aE.parse(a,b??this.defaults)}parseMarkdown(a){return(b,c)=>{let d={...c},e={...this.defaults,...d},f=this.onError(!!e.silent,!!e.async);if(!0===this.defaults.async&&!1===d.async)return f(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof b>"u"||null===b)return f(Error("marked(): input parameter is undefined or null"));if("string"!=typeof b)return f(Error("marked(): input parameter is of type "+Object.prototype.toString.call(b)+", string expected"));if(e.hooks&&(e.hooks.options=e,e.hooks.block=a),e.async)return(async()=>{let c=e.hooks?await e.hooks.preprocess(b):b,d=await (e.hooks?await e.hooks.provideLexer(a):a?aB.lex:aB.lexInline)(c,e),f=e.hooks?await e.hooks.processAllTokens(d):d;e.walkTokens&&await Promise.all(this.walkTokens(f,e.walkTokens));let g=await (e.hooks?await e.hooks.provideParser(a):a?aE.parse:aE.parseInline)(f,e);return e.hooks?await e.hooks.postprocess(g):g})().catch(f);try{e.hooks&&(b=e.hooks.preprocess(b));let c=(e.hooks?e.hooks.provideLexer(a):a?aB.lex:aB.lexInline)(b,e);e.hooks&&(c=e.hooks.processAllTokens(c)),e.walkTokens&&this.walkTokens(c,e.walkTokens);let d=(e.hooks?e.hooks.provideParser(a):a?aE.parse:aE.parseInline)(c,e);return e.hooks&&(d=e.hooks.postprocess(d)),d}catch(a){return f(a)}}}onError(a,b){return c=>{if(c.message+=`
67
- Please report this to https://github.com/markedjs/marked.`,a){let a="<p>An error occurred:</p><pre>"+aq(c.message+"",!0)+"</pre>";return b?Promise.resolve(a):a}if(b)return Promise.reject(c);throw c}}},aH=new aG;function aI(a,b){return aH.parse(a,b)}function aJ(...a){return aH.use(...a),aI.defaults=aH.defaults,e=aI.defaults,aI}aI.options=aI.setOptions=function(a){return aH.setOptions(a),aI.defaults=aH.defaults,e=aI.defaults,aI},aI.getDefaults=d,aI.defaults=e,aI.use=aJ,aI.walkTokens=function(a,b){return aH.walkTokens(a,b)},aI.parseInline=aH.parseInline,aI.Parser=aE,aI.parser=aE.parse,aI.Renderer=aC,aI.TextRenderer=aD,aI.Lexer=aB,aI.lexer=aB.lex,aI.Tokenizer=aA,aI.Hooks=aF,aI.parse=aI;var aK=aI.options,aL=aI.setOptions,aM=aI.walkTokens,aN=aI.parseInline,aO=aI,aP=aE.parse,aQ=aB.lex}};
64
+ `}strong({tokens:a}){return`<strong>${this.parser.parseInline(a)}</strong>`}em({tokens:a}){return`<em>${this.parser.parseInline(a)}</em>`}codespan({text:a}){return`<code>${ar(a,!0)}</code>`}br(a){return"<br>"}del({tokens:a}){return`<del>${this.parser.parseInline(a)}</del>`}link({href:a,title:b,text:c,tokens:d,autolink:e}){let f=e?ar(c,!0):this.parser.parseInline(d),g=as(a);if(null===g)return f;let h='<a href="'+(a=ar(g,e))+'"';return b&&(h+=' title="'+ar(b)+'"'),h+=">"+f+"</a>"}image({href:a,title:b,text:c,tokens:d}){d&&(c=this.parser.parseInline(d,this.parser.textRenderer));let e=as(a);if(null===e)return ar(c);a=e;let f=`<img src="${ar(a)}" alt="${ar(c)}"`;return b&&(f+=` title="${ar(b)}"`),f+=">"}text(a){return"tokens"in a&&a.tokens?this.parser.parseInline(a.tokens):"escaped"in a&&a.escaped?a.text:ar(a.text)}},aE=class{strong({text:a}){return a}em({text:a}){return a}codespan({text:a}){return a}del({text:a}){return a}html({text:a}){return a}text({text:a}){return a}link({text:a}){return""+a}image({text:a}){return""+a}br(){return""}checkbox({raw:a}){return a}},aF=class a{constructor(a){this.options=a||e,this.options.renderer=this.options.renderer||new aD,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new aE}static parse(b,c){return new a(c).parse(b)}static parseInline(b,c){return new a(c).parseInline(b)}parse(a){this.renderer.parser=this;let b="";for(let c=0;c<a.length;c++){let d=a[c];if(this.options.extensions?.renderers?.[d.type]){let a=this.options.extensions.renderers[d.type].call({parser:this},d);if(!1!==a||!["space","hr","heading","code","table","blockquote","list","checkbox","html","def","paragraph","text"].includes(d.type)){b+=a||"";continue}}switch(d.type){case"space":b+=this.renderer.space(d);break;case"hr":b+=this.renderer.hr(d);break;case"heading":b+=this.renderer.heading(d);break;case"code":b+=this.renderer.code(d);break;case"table":b+=this.renderer.table(d);break;case"blockquote":b+=this.renderer.blockquote(d);break;case"list":b+=this.renderer.list(d);break;case"checkbox":b+=this.renderer.checkbox(d);break;case"html":b+=this.renderer.html(d);break;case"def":b+=this.renderer.def(d);break;case"paragraph":b+=this.renderer.paragraph(d);break;case"text":b+=this.renderer.text(d);break;default:{let a='Token with "'+d.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw Error(a)}}}return b}parseInline(a,b=this.renderer){this.renderer.parser=this;let c="";for(let d=0;d<a.length;d++){let e=a[d];if(this.options.extensions?.renderers?.[e.type]){let a=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==a||!["escape","html","link","image","checkbox","strong","em","codespan","br","del","text"].includes(e.type)){c+=a||"";continue}}switch(e.type){case"escape":case"text":c+=b.text(e);break;case"html":c+=b.html(e);break;case"link":c+=b.link(e);break;case"image":c+=b.image(e);break;case"checkbox":c+=b.checkbox(e);break;case"strong":c+=b.strong(e);break;case"em":c+=b.em(e);break;case"codespan":c+=b.codespan(e);break;case"br":c+=b.br(e);break;case"del":c+=b.del(e);break;default:{let a='Token with "'+e.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw Error(a)}}}return c}},aG=class{constructor(a){this.options=a||e}static{this.passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])}static{this.passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"])}preprocess(a){return a}postprocess(a){return a}processAllTokens(a){return a}emStrongMask(a){return a}provideLexer(a=this.block){return a?aC.lex:aC.lexInline}provideParser(a=this.block){return a?aF.parse:aF.parseInline}};function aH(a,b){if(Array.isArray(b))for(let c=0;c<b.length;c++)a.push(b[c]);else a.push(b)}var aI=class{constructor(...a){this.defaults=d(),this.options=this.setOptions,this.parse=this.parseMarkdown(!0),this.parseInline=this.parseMarkdown(!1),this.Parser=aF,this.Renderer=aD,this.TextRenderer=aE,this.Lexer=aC,this.Tokenizer=aB,this.Hooks=aG,this.use(...a)}walkTokens(a,b){let c=[];for(let d of a)switch(aH(c,b.call(this,d)),d.type){case"table":for(let a of d.header)aH(c,this.walkTokens(a.tokens,b));for(let a of d.rows)for(let d of a)aH(c,this.walkTokens(d.tokens,b));break;case"list":aH(c,this.walkTokens(d.items,b));break;default:{let a=d;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(d=>{let e=a[d].flat(1/0);aH(c,this.walkTokens(e,b))}):a.tokens&&aH(c,this.walkTokens(a.tokens,b))}}return c}use(...a){let b=this.defaults.extensions||{renderers:{},childTokens:{}};return a.forEach(a=>{let c={...a};if(c.async=this.defaults.async||c.async||!1,a.extensions&&(a.extensions.forEach(a=>{if(!a.name)throw Error("extension name required");if("renderer"in a){let c=b.renderers[a.name];c?b.renderers[a.name]=function(...b){let d=a.renderer.apply(this,b);return!1===d&&(d=c.apply(this,b)),d}:b.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||"block"!==a.level&&"inline"!==a.level)throw Error("extension level must be 'block' or 'inline'");let c=b[a.level];c?c.unshift(a.tokenizer):b[a.level]=[a.tokenizer],a.start&&("block"===a.level?b.startBlock?b.startBlock.push(a.start):b.startBlock=[a.start]:"inline"===a.level&&(b.startInline?b.startInline.push(a.start):b.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(b.childTokens[a.name]=a.childTokens)}),c.extensions=b),a.renderer){let b=this.defaults.renderer||new aD(this.defaults);for(let c in a.renderer){if(!(c in b))throw Error(`renderer '${c}' does not exist`);if(["options","parser"].includes(c))continue;let d=a.renderer[c],e=b[c];b[c]=(...a)=>{let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c||""}}c.renderer=b}if(a.tokenizer){let b=this.defaults.tokenizer||new aB(this.defaults);for(let c in a.tokenizer){if(!(c in b))throw Error(`tokenizer '${c}' does not exist`);if(["options","rules","lexer"].includes(c))continue;let d=a.tokenizer[c],e=b[c];b[c]=(...a)=>{let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c}}c.tokenizer=b}if(a.hooks){let b=this.defaults.hooks||new aG;for(let c in a.hooks){if(!(c in b))throw Error(`hook '${c}' does not exist`);if(["options","block"].includes(c))continue;let d=a.hooks[c],e=b[c];aG.passThroughHooks.has(c)?b[c]=a=>{if(this.defaults.async&&aG.passThroughHooksRespectAsync.has(c))return(async()=>{let c=await d.call(b,a);return e.call(b,c)})();let f=d.call(b,a);return e.call(b,f)}:b[c]=(...a)=>{if(this.defaults.async)return(async()=>{let c=await d.apply(b,a);return!1===c&&(c=await e.apply(b,a)),c})();let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c}}c.hooks=b}if(a.walkTokens){let b=this.defaults.walkTokens,d=a.walkTokens;c.walkTokens=function(a){let c=[];return c.push(d.call(this,a)),b&&aH(c,b.call(this,a)),c}}this.defaults={...this.defaults,...c}}),this}setOptions(a){return this.defaults={...this.defaults,...a},this}lexer(a,b){return aC.lex(a,b??this.defaults)}parser(a,b){return aF.parse(a,b??this.defaults)}parseMarkdown(a){return(b,c)=>{let d={...c},e={...this.defaults,...d},f=this.onError(!!e.silent,!!e.async);if(!0===this.defaults.async&&!1===d.async)return f(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof b>"u"||null===b)return f(Error("marked(): input parameter is undefined or null"));if("string"!=typeof b)return f(Error("marked(): input parameter is of type "+Object.prototype.toString.call(b)+", string expected"));if(e.hooks&&(e.hooks.options=e,e.hooks.block=a),e.async)return(async()=>{let c=e.hooks?await e.hooks.preprocess(b):b,d=await (e.hooks?await e.hooks.provideLexer(a):a?aC.lex:aC.lexInline)(c,e),f=e.hooks?await e.hooks.processAllTokens(d):d;e.walkTokens&&await Promise.all(this.walkTokens(f,e.walkTokens));let g=await (e.hooks?await e.hooks.provideParser(a):a?aF.parse:aF.parseInline)(f,e);return e.hooks?await e.hooks.postprocess(g):g})().catch(f);try{e.hooks&&(b=e.hooks.preprocess(b));let c=(e.hooks?e.hooks.provideLexer(a):a?aC.lex:aC.lexInline)(b,e);e.hooks&&(c=e.hooks.processAllTokens(c)),e.walkTokens&&this.walkTokens(c,e.walkTokens);let d=(e.hooks?e.hooks.provideParser(a):a?aF.parse:aF.parseInline)(c,e);return e.hooks&&(d=e.hooks.postprocess(d)),d}catch(a){return f(a)}}}onError(a,b){return c=>{if(c.message+=`
65
+ Please report this to https://github.com/markedjs/marked.`,a){let a="<p>An error occurred:</p><pre>"+ar(c.message+"",!0)+"</pre>";return b?Promise.resolve(a):a}if(b)return Promise.reject(c);throw c}}},aJ=new aI;function aK(a,b){return aJ.parse(a,b)}function aL(...a){return aJ.use(...a),aK.defaults=aJ.defaults,e=aK.defaults,aK}aK.options=aK.setOptions=function(a){return aJ.setOptions(a),aK.defaults=aJ.defaults,e=aK.defaults,aK},aK.getDefaults=d,aK.defaults=e,aK.use=aL,aK.walkTokens=function(a,b){return aJ.walkTokens(a,b)},aK.parseInline=aJ.parseInline,aK.Parser=aF,aK.parser=aF.parse,aK.Renderer=aD,aK.TextRenderer=aE,aK.Lexer=aC,aK.lexer=aC.lex,aK.Tokenizer=aB,aK.Hooks=aG,aK.parse=aK;var aM=aK.options,aN=aK.setOptions,aO=aK.walkTokens,aP=aK.parseInline,aQ=aK,aR=aF.parse,aS=aC.lex}};
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=7373,exports.ids=[7373],exports.modules={17373:(a,b,c)=>{c.d(b,{f6:()=>o,mO:()=>s});var d=c(77598),e=c.n(d),f=c(96179),g=c(80662),h=c(59096),i=c(37981);let j="x-opencode-session",k="_opencodeZenSession",l=/^ses_[0-9a-f]{12}[0-9A-Za-z]{14}$/,m="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",n=["bash","glob","grep","read"];function o(a=Date.now()){let b=~(4096n*BigInt(a)+1n),c=Array.from({length:6},(a,c)=>Number(b>>BigInt(40-8*c)&255n).toString(16).padStart(2,"0")).join("");return`ses_${c}${function(){let a=e().randomBytes(14),b="";for(let c=0;c<14;c++)b+=m[a[c]%62];return b}()}`}function p(a){if(!a||"object"!=typeof a||Array.isArray(a))return"";let b=a.function&&"object"==typeof a.function&&!Array.isArray(a.function)?a.function:null;return("string"==typeof a.name?a.name:"string"==typeof b?.name?b.name:"").trim()}function q(a){if("string"!=typeof a)return null;let b=a.trim();return!b||b.length>256?null:b}function r(a){return(0,h.nh)(String(a||"").replace(/\([^()]+\)\s*$/,"").trim())}class s extends f.L{constructor(){super("opencode-zen")}buildUrl(a,b,c=0,d=null){return r(a)?"https://opencode.ai/zen/v1/responses":super.buildUrl(a,b,c,d)}prepareRequestCredentials({body:a,credentials:b,providerSessionId:c,clientTool:d}={}){let f=b||{},h=function(a){if(!a||"object"!=typeof a)return null;for(let[b,c]of Object.entries(a))if(b.toLowerCase()===j){let a=q(c);if(a&&l.test(a))return a}return null}(f.rawHeaders),i=q(c)||(0,g.oV)({headers:f.rawHeaders,body:a,connectionId:f.connectionId,scope:"opencode-zen"});return{...f,[k]:h||function(a,b=""){if("string"==typeof a&&l.test(a.trim()))return a.trim();let c=e().createHash("sha256").update(`opencode\0${b||"generic"}\0${a||""}`).digest(),d=c.subarray(0,6).toString("hex"),f="";for(let a=6;a<20;a++)f+=m[c[a]%62];return`ses_${d}${f}`}(i,d)}}async execute(a){let b=this.prepareRequestCredentials(a);return super.execute({...a,credentials:b})}buildHeaders(a,b=!0,c,d){let e=super.buildHeaders(a||{},b,c,d),f=a?.rawHeaders||{},g={};for(let[a,b]of Object.entries(f))g[a.toLowerCase()]=b;let h=g["user-agent"]||"";e["User-Agent"]=!function(a){let b=String(a||"").match(/opencode\/(\d+)\.(\d+)(?:\.(\d+))?/i);if(!b)return!1;let c=parseInt(b[1],10),d=parseInt(b[2],10);return c>1||1===c&&d>=17}(h)?"opencode/1.18.31":h,e["x-opencode-client"]=g["x-opencode-client"]||"desktop";let i=a?.[k];if(i)return e[j]=i,e;let l=this.prepareRequestCredentials({credentials:a});return e[j]=l[k],e}transformRequest(a,b,c,d){let e=super.transformRequest(a,b);if(e&&"object"==typeof e&&(e.stream=!0),!r(a||b?.model))return!function(a){if(!a||"object"!=typeof a)return;let b=new Set;if(Array.isArray(a.tools))for(let c of a.tools){let a=p(c);a&&b.add(a)}else a.tools=[];for(let c of n)b.has(c)||(a.tools.push({type:"function",function:{name:c,description:`OpenCode built-in ${c} tool`,parameters:{type:"object",properties:{}}}}),b.add(c))}(e),e;let f=(0,i.me)(e.input);return f&&(e.input=f),Array.isArray(e.input)&&0!==e.input.length||(e.input=[{type:"message",role:"user",content:[{type:"input_text",text:"..."}]}]),void 0===e.max_output_tokens&&(void 0!==e.max_completion_tokens?e.max_output_tokens=e.max_completion_tokens:void 0!==e.max_tokens&&(e.max_output_tokens=e.max_tokens)),delete e.max_tokens,delete e.max_completion_tokens,void 0!==e.reasoning_effort&&void 0===e.reasoning&&(e.reasoning={effort:e.reasoning_effort,summary:"auto"}),!e.reasoning||"object"!=typeof e.reasoning||Array.isArray(e.reasoning)||e.reasoning.summary||(e.reasoning.summary="auto"),delete e.reasoning_effort,e.stream=!0,e.store=!1,!function(a){if(!a||"object"!=typeof a)return;let b=new Set;if(Array.isArray(a.tools))for(let c of a.tools){let a=p(c);a&&b.add(a)}else a.tools=[];for(let c of n)b.has(c)||(a.tools.push({type:"function",name:c,description:`OpenCode built-in ${c} tool`,parameters:{type:"object",properties:{}}}),b.add(c))}(e),!function(a){if(!Array.isArray(a.tools))return;let b=new Set;if(a.tools=a.tools.filter(a=>{if(!a||"object"!=typeof a||Array.isArray(a))return!1;let c=a.function&&"object"==typeof a.function&&!Array.isArray(a.function)?a.function:null,d=("string"==typeof a.name?a.name:"string"==typeof c?.name?c.name:"").trim();if(!d)return!1;let e="string"==typeof a.description?a.description:"string"==typeof c?.description?c.description:"",f=a.parameters&&"object"==typeof a.parameters&&!Array.isArray(a.parameters)?a.parameters:c?.parameters&&"object"==typeof c.parameters&&!Array.isArray(c.parameters)?c.parameters:{type:"object",properties:{}};for(let b of("object"!==f.type||f.properties||(f={...f,properties:{}}),Object.keys(a)))delete a[b];return a.type="function",a.name=d.slice(0,128),e&&(a.description=e),a.parameters=f,b.add(a.name),!0}),a.tool_choice&&"object"==typeof a.tool_choice&&!Array.isArray(a.tool_choice)&&"function"===a.tool_choice.type){let c="string"==typeof a.tool_choice.name?a.tool_choice.name.trim():"";c&&b.has(c)||delete a.tool_choice}}(e),Array.isArray(e.input)&&(e.input=e.input.filter(a=>!!(!a||"object"!=typeof a||Array.isArray(a))||"reasoning"!==a.type&&((delete a.encrypted_content,delete a.reasoning_encrypted_content,"function_call"===a.type)?!!a.name&&"string"==typeof a.name&&""!==a.name.trim()&&(a.name=a.name.trim().slice(0,128),a.call_id=(0,i.N8)(a.call_id),a.arguments=(0,i.We)(a.arguments),!0):("function_call_output"===a.type&&(a.call_id=(0,i.N8)(a.call_id),a.output=(0,i.DP)(a.output)),!0)))),e}}},74379:(a,b,c)=>{c.d(b,{c:()=>g});var d=c(24);let e=[{match:/claude/i,drop:["temperature"]},{provider:"github",match:/gpt-5\.4/i,drop:["temperature"]},{provider:"github",match:a=>/claude/i.test(a)&&!/claude.*(opus|sonnet).*4\.6/i.test(a),drop:["thinking","reasoning_effort"]},{provider:"cloudflare-ai",flattenContent:!0},{provider:"volcengine-ark",match:/glm-5/i,clampToModelMaxOutput:!0},{provider:"volcengine-ark",match:/kimi/i,maxOutputCap:32768,clampToModelMaxOutput:!0},{provider:"groq",dropMessageFields:["reasoning_content","reasoning","reasoning_details"]},{provider:"mistral",dropMessageFields:["reasoning_content","reasoning","reasoning_details"]},{provider:"cerebras",dropMessageFields:["reasoning_content","reasoning","reasoning_details"]}];function f(a,b,c){"number"==typeof a[b]&&Number.isFinite(a[b])&&a[b]>c&&(a[b]=c)}function g(a,b,c){if(!b||!c||"object"!=typeof c)return c;for(let g of e)if((!g.provider||g.provider===a)&&(!g.match||("function"==typeof g.match?g.match(b):g.match.test(b)))){for(let a of g.drop||[])void 0!==c[a]&&delete c[a];if(Array.isArray(g.dropMessageFields)&&Array.isArray(c.messages)){for(let a of c.messages)if(a&&"assistant"===a.role)for(let b of g.dropMessageFields)void 0!==a[b]&&delete a[b]}if(g.flattenContent&&Array.isArray(c.messages))for(let a of c.messages)a&&Array.isArray(a.content)&&(a.content=a.content.map(a=>a?.type==="text"&&"string"==typeof a.text?a.text:"").join(""));if(g.clampToModelMaxOutput||Number.isFinite(g.maxOutputCap)){let e=(0,d.getCapabilitiesForModel)(a,b).maxOutput,h=[];if(g.clampToModelMaxOutput&&Number.isFinite(e)&&e>0&&h.push(e),Number.isFinite(g.maxOutputCap)&&g.maxOutputCap>0&&h.push(g.maxOutputCap),h.length>0){let a=Math.min(...h);f(c,"max_tokens",a),f(c,"max_completion_tokens",a),f(c,"max_output_tokens",a)}}}return c}},86724:(a,b,c)=>{c.d(b,{Z:()=>h});var d=c(35024);let e=[{match:a=>/^kimi-/i.test(a||""),scope:"toolCalls"},{match:a=>/deepseek/i.test(a||""),scope:"all"}],f="deepseek-v4-pro",g={[`${f}-max`]:{thinkingType:"enabled",reasoningEffort:"max"},[`${f}-none`]:{thinkingType:"disabled",reasoningEffort:null}};function h({provider:a,model:b,body:c}){let i=d.xq[a]?.reasoningInject,j=e.find(a=>a.match(b));var k=function({provider:a,model:b,body:c}){let d=g[b];if("deepseek"!==a||!d||!c)return c;let e={...c,model:f,extra_body:{...c.extra_body||{},thinking:{...c.extra_body?.thinking||{},type:d.thinkingType}}};return d.reasoningEffort?e.reasoning_effort=d.reasoningEffort:delete e.reasoning_effort,e}({provider:a,model:b,body:c}),l=i||j;if(!l||!k?.messages)return k;let m=k.messages.map(a=>!function(a,b){if(a?.role!=="assistant")return!1;let c=a.reasoning_content;return("string"!=typeof c||!(c.length>0))&&("toolCalls"!==b||Array.isArray(a.tool_calls)&&a.tool_calls.length>0)}(a,l.scope)?a:{...a,reasoning_content:" "});return{...k,messages:m}}},96179:(a,b,c)=>{c.d(b,{L:()=>u});var d=c(74957),e=c(77598),f=c(35024),g=c(74129),h=c(57647),i=c(75924),j=c(52284),k=c(39609),l=c(86724),m=c(74379),n=c(55399);let o={combined:!0,header:"Authorization",scheme:"bearer"},p={combined:!0,header:"x-api-key",scheme:"raw"},q=Object.fromEntries(Object.entries(f.xq).filter(([,a])=>a.auth).map(([a,b])=>[a,b.auth]));function r(a,b,c){a[b.header]="bearer"===b.scheme?`Bearer ${c}`:c}let s={kimiHeaders:(a,b)=>Object.assign(a,(0,i.buildKimiHeaders)(b?.providerSpecificData?.deviceId)),minimaxHeaders:a=>{a["x-api-key"]="sk-xxx",a["X-Mavis-Timezone-Offset"]=String(-60*new Date().getTimezoneOffset()),a["X-Mavis-Session-Id"]||(a["X-Mavis-Session-Id"]=(0,e.randomUUID)())},museHeaders:(a,b)=>{b?.accessToken&&!b?.apiKey&&(a["x-api-version"]="1.0.0")},clineHeaders:(a,b)=>Object.assign(a,(0,j.w$)(b.apiKey||b.accessToken,{},{shape:b?.clineAuthShape})),kilocodeOrg:(a,b)=>{b.providerSpecificData?.orgId&&(a["X-Kilocode-OrganizationID"]=b.providerSpecificData.orgId)}},t=Object.fromEntries(Object.entries(f.sr).filter(([,a])=>a.refresh).map(([a,b])=>{let c=b.tokenUrl,d=b.refresh.encoding,e=b.refresh.scope?{scope:b.refresh.scope}:{};return[a,{encoding:d,url:()=>c,params:c=>"gemini"===a?{client_id:c.config.clientId,client_secret:c.config.clientSecret,...e}:{client_id:b.clientId,...e}}]}));class u extends d.H{constructor(a){super(a,f.xq[a]||f.xq.openai)}transformRequest(a,b){let c=this.applyJsonSchemaFallback(b);return c&&"object"==typeof c&&(this.config.quirks?.dropClientMetadata&&delete c.client_metadata,(0,m.c)(this.provider,a,c)),(0,l.Z)({provider:this.provider,model:a,body:c})}applyJsonSchemaFallback(a){if(!this.provider?.startsWith?.("openai-compatible-"))return a;let b=a?.response_format;if(b?.type!=="json_schema"||!b.json_schema?.schema)return a;let c=JSON.stringify(b.json_schema.schema,null,2),d=`You must respond with valid JSON that strictly follows this JSON schema:
1
+ "use strict";exports.id=7373,exports.ids=[7373],exports.modules={17373:(a,b,c)=>{c.d(b,{f6:()=>p,mO:()=>u});var d=c(77598),e=c.n(d),f=c(96179),g=c(80662),h=c(59096),i=c(37981),j=c(41004),k=c(23153);let l="x-opencode-session",m="_opencodeZenSession",n=j.w5,o=/^ses_[0-9a-f]{12}[0-9A-Za-z]{14}$/;function p(a=Date.now()){let b=~(4096n*BigInt(a)+1n),c=Array.from({length:6},(a,c)=>Number(b>>BigInt(40-8*c)&255n).toString(16).padStart(2,"0")).join("");return`ses_${c}${function(){let a=e().randomBytes(14),b="";for(let c=0;c<14;c++)b+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[a[c]%62];return b}()}`}let q=new Map,r=setInterval(()=>{let a=Date.now();for(let[b,c]of q)a-c.lastUsed>j.v1.sessionTtlMs&&q.delete(b)},j.v1.sessionCleanupIntervalMs);function s(a){if("string"!=typeof a)return null;let b=a.trim();return!b||b.length>256?null:b}function t(a){return(0,h.nh)(String(a||"").replace(/\([^()]+\)\s*$/,"").trim())}r.unref&&r.unref();class u extends f.L{constructor(){super("opencode-zen")}buildUrl(a,b,c=0,d=null){return t(a)?"https://opencode.ai/zen/v1/responses":super.buildUrl(a,b,c,d)}prepareRequestCredentials({body:a,credentials:b,providerSessionId:c,clientTool:d}={}){let e=b||{},f=function(a){if(!a||"object"!=typeof a)return null;for(let[b,c]of Object.entries(a))if(b.toLowerCase()===l){let a=s(c);if(a&&o.test(a))return a}return null}(e.rawHeaders),h=s(c)||(0,g.oV)({headers:e.rawHeaders,body:a,connectionId:e.connectionId,scope:"opencode-zen"});return{...e,[m]:f||function(a,b=""){if("string"==typeof a&&o.test(a.trim()))return a.trim();let c=`opencode-zen:ses:${b||"generic"}:${a||""}`,d=q.get(c);if(d)return d.lastUsed=Date.now(),q.delete(c),q.set(c,d),d.sessionId;let e=p();return q.size>=1e3&&q.delete(q.keys().next().value),q.set(c,{sessionId:e,lastUsed:Date.now()}),e}(h,d)}}async execute(a){let b=this.prepareRequestCredentials(a);return super.execute({...a,credentials:b})}buildHeaders(a,b=!0,c,d){let e=super.buildHeaders(a||{},b,c,d),f=a?.rawHeaders||{},g={};for(let[a,b]of Object.entries(f))g[a.toLowerCase()]=b;let h=g["user-agent"]||"";e["User-Agent"]=(0,k.t8)(h)?h:n,e["x-opencode-client"]=g["x-opencode-client"]||"desktop";let i=a?.[m]||this.prepareRequestCredentials({credentials:a})[m];return e[l]=i,e["x-opencode-session-id"]=i,e}transformRequest(a,b,c,d){let e=super.transformRequest(a,b);if(e&&"object"==typeof e&&(e.stream=!0),!t(a||b?.model))return(0,k.iB)(e,"chat"),e;let f=(0,i.me)(e.input);return f&&(e.input=f),Array.isArray(e.input)&&0!==e.input.length||(e.input=[{type:"message",role:"user",content:[{type:"input_text",text:"..."}]}]),void 0===e.max_output_tokens&&(void 0!==e.max_completion_tokens?e.max_output_tokens=e.max_completion_tokens:void 0!==e.max_tokens&&(e.max_output_tokens=e.max_tokens)),delete e.max_tokens,delete e.max_completion_tokens,void 0!==e.reasoning_effort&&void 0===e.reasoning&&(e.reasoning={effort:e.reasoning_effort,summary:"auto"}),!e.reasoning||"object"!=typeof e.reasoning||Array.isArray(e.reasoning)||e.reasoning.summary||(e.reasoning.summary="auto"),delete e.reasoning_effort,e.stream=!0,e.store=!1,!function(a){if(!Array.isArray(a.tools))return;let b=new Set;if(a.tools=a.tools.filter(a=>{if(!a||"object"!=typeof a||Array.isArray(a))return!1;let c=a.function&&"object"==typeof a.function&&!Array.isArray(a.function)?a.function:null,d=("string"==typeof a.name?a.name:"string"==typeof c?.name?c.name:"").trim();if(!d)return!1;let e="string"==typeof a.description?a.description:"string"==typeof c?.description?c.description:"",f=a.parameters&&"object"==typeof a.parameters&&!Array.isArray(a.parameters)?a.parameters:c?.parameters&&"object"==typeof c.parameters&&!Array.isArray(c.parameters)?c.parameters:{type:"object",properties:{}};for(let b of("object"!==f.type||f.properties||(f={...f,properties:{}}),Object.keys(a)))delete a[b];return a.type="function",a.name=d.slice(0,128),e&&(a.description=e),a.parameters=f,b.add(a.name),!0}),a.tool_choice&&"object"==typeof a.tool_choice&&!Array.isArray(a.tool_choice)&&"function"===a.tool_choice.type){let c="string"==typeof a.tool_choice.name?a.tool_choice.name.trim():"";c&&b.has(c)||delete a.tool_choice}}(e),Array.isArray(e.input)&&(e.input=e.input.filter(a=>!!(!a||"object"!=typeof a||Array.isArray(a))||"reasoning"!==a.type&&((delete a.encrypted_content,delete a.reasoning_encrypted_content,"function_call"===a.type)?!!a.name&&"string"==typeof a.name&&""!==a.name.trim()&&(a.name=a.name.trim().slice(0,128),a.call_id=(0,i.N8)(a.call_id),a.arguments=(0,i.We)(a.arguments),!0):("function_call_output"===a.type&&(a.call_id=(0,i.N8)(a.call_id),a.output=(0,i.DP)(a.output)),!0)))),(0,k.iB)(e,"responses"),e}}},23153:(a,b,c)=>{c.d(b,{iB:()=>h,t8:()=>i});let d=[{type:"function",function:{name:"bash",description:'Executes a given bash command in a persistent shell session with optional timeout, ensuring proper handling and security measures.\n\nBe aware: OS: linux, Shell: bash\n\nAll commands run in the current working directory by default. Use the `workdir` parameter if you need to run a command in a different directory. AVOID using `cd <directory> && <command>` patterns - use `workdir` instead.\n\nUse `/home/ubuntu/.hermes/cache/scratch/opencode` for temporary work outside the workspace. This directory has already been created, already exists, and is pre-approved for external directory access.\n\nIMPORTANT: This tool is for terminal operations like git, npm, docker, etc. DO NOT use it for file operations (reading, writing, editing, searching, finding files) - use the specialized tools for this instead.\n\nBefore executing the command, please follow these steps:\n\n1. Directory Verification:\n - If the command will create new directories or files, first use `ls` to verify the parent directory exists and is the correct location\n - For example, before running "mkdir foo/bar", first use `ls foo` to check that "foo" exists and is the intended parent directory\n\n2. Command Execution:\n - Always quote file paths that contain spaces with double quotes (e.g., rm "path with spaces/file.txt")\n - Examples of proper quoting:\n - mkdir "/Users/name/My Documents" (correct)\n - mkdir /Users/name/My Documents (incorrect - will fail)\n - python "/path/with spaces/script.py" (correct)\n - python /path/with spaces/script.py (incorrect - will fail)\n - After ensuring proper quoting, execute the command.\n - Capture the output of the command.\n\nUsage notes:\n - The command argument is required.\n - You can specify an optional timeout in milliseconds. If not specified, commands will time out after 120000ms.\n - If the output exceeds 2000 lines or 51200 bytes, it will be truncated and the full output will be written to a file. You can use Read with offset/limit to read specific sections or Grep to search the full content. Do NOT use `head`, `tail`, or other truncation commands to limit output; the full output will already be captured to a file for more precise searching.\n\n - Avoid using Bash with the `find`, `grep`, `cat`, `head`, `tail`, `sed`, `awk`, or `echo` commands, unless explicitly instructed or when these commands are truly necessary for the task. Instead, always prefer using the dedicated tools for these commands:\n - File search: Use Glob (NOT find or ls)\n - Content search: Use Grep (NOT grep or rg)\n - Read files: Use Read (NOT cat/head/tail)\n - Edit files: Use Edit (NOT sed/awk)\n - Write files: Use Write (NOT echo >/cat <<EOF)\n - Communication: Output text directly (NOT echo/printf)\n - When issuing multiple commands:\n - If the commands are independent and can run in parallel, make multiple bash tool calls in a single message. For example, if you need to run "git status" and "git diff", send a single message with two bash tool calls in parallel.\n - If the commands depend on each other and must run sequentially, use a single Bash call with \'&&\' to chain them together (e.g., `git add . && git commit -m "message" && git push`). For instance, if one operation must complete before another starts (like mkdir before cp, Write before Bash for git operations, or git add before git commit), run these operations sequentially instead.\n - Use \';\' only when you need to run commands sequentially but don\'t care if earlier commands fail\n - DO NOT use newlines to separate commands (newlines are ok in quoted strings)\n - AVOID using `cd <directory> && <command>`. Use the `workdir` parameter to change directories instead.\n <good-example>\n Use workdir="/foo/bar" with command: pytest tests\n </good-example>\n <bad-example>\n cd /foo/bar && pytest tests\n </bad-example>\n\n# Git and GitHub\n- Only commit, amend, push, or create PRs when explicitly requested.\n- Before committing, inspect `git status`, `git diff`, and `git log --oneline -10`; stage only intended files and never commit secrets.\n- Write a concise commit message that matches the repo style.\n- Do not update git config, skip hooks, use interactive `-i`, force-push, or create empty commits unless explicitly requested.\n- If a commit fails or hooks reject it, fix the issue and create a new commit; do not amend the failed commit.\n- Before creating a PR, inspect status, diff, remote tracking, recent commits, and the diff from the base branch.\n- Review all commits included in the PR, not just the latest commit.\n- Use `gh` for GitHub tasks, including PRs, issues, checks, and releases; return the PR URL when done.\n',parameters:{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{command:{type:"string",description:"The command to execute"},timeout:{minimum:-0x1fffffffffffff,exclusiveMinimum:0,type:"integer",maximum:0x1fffffffffffff,description:"Optional timeout in milliseconds"},workdir:{type:"string",description:"The working directory to run the command in. Defaults to the current directory. Use this instead of 'cd' commands."}},required:["command"]}}},{type:"function",function:{name:"glob",description:'- Fast file pattern matching tool that works with any codebase size\n- Supports glob patterns like "**/*.js" or "src/**/*.ts"\n- Returns matching file paths\n- Use this tool when you need to find files by name patterns\n- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead\n- You have the capability to call multiple tools in a single response. It is always better to speculatively perform multiple searches as a batch that are potentially useful.\n',parameters:{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{pattern:{type:"string",description:"The glob pattern to match files against"},path:{type:"string",description:'The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter "undefined" or "null" - simply omit it for the default behavior. Must be a valid directory path if provided.'}},required:["pattern"]}}},{type:"function",function:{name:"grep",description:'- Fast content search tool that works with any codebase size\n- Searches file contents using regular expressions\n- Supports full regex syntax (eg. "log.*Error", "function\\s+\\w+", etc.)\n- Filter files by pattern with the include parameter (eg. "*.js", "*.{ts,tsx}")\n- Returns file paths and line numbers with matching lines\n- Use this tool when you need to find files containing specific patterns\n- If you need to identify/count the number of matches within files, use the Bash tool with `rg` (ripgrep) directly. Do NOT use `grep`.\n- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead\n',parameters:{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{pattern:{type:"string",description:"The regex pattern to search for in file contents"},path:{type:"string",description:"The directory to search in. Defaults to the current working directory."},include:{type:"string",description:'File pattern to include in the search (e.g. "*.js", "*.{ts,tsx}")'}},required:["pattern"]}}},{type:"function",function:{name:"read",description:'Read a file or directory from the local filesystem. If the path does not exist, an error is returned.\n\nUsage:\n- The filePath parameter should be an absolute path.\n- By default, this tool returns up to 2000 lines from the start of the file.\n- The offset parameter is the line number to start from (1-indexed).\n- To read later sections, call this tool again with a larger offset.\n- Use the grep tool to find specific content in large files or files with long lines.\n- If you are unsure of the correct file path, use the glob tool to look up filenames by glob pattern.\n- Contents are returned with each line prefixed by its line number as `<line>: <content>`. For example, if a file has contents "foo\\n", you will receive "1: foo\\n". For directories, entries are returned one per line (without line numbers) with a trailing `/` for subdirectories.\n- Any line longer than 2000 characters is truncated.\n- Call this tool in parallel when you know there are multiple files you want to read.\n- Avoid tiny repeated slices (30 line chunks). If you need more context, read a larger window.\n- This tool can read image files and PDFs and return them as file attachments.\n',parameters:{$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:{filePath:{type:"string",description:"The absolute path to the file or directory to read"},offset:{minimum:0,type:"integer",maximum:0x1fffffffffffff,description:"The line number to start reading from (1-indexed)"},limit:{minimum:0,type:"integer",maximum:0x1fffffffffffff,description:"The maximum number of lines to read (defaults to 2000)"}},required:["filePath"]}}}];d.map(a=>a.function.name);let e=[{type:"function",name:"bash",description:'Executes a given bash command in a persistent shell session with optional timeout, ensuring proper handling and security measures.\n\nBe aware: OS: linux, Shell: bash\n\nAll commands run in the current working directory by default. Use the `workdir` parameter if you need to run a command in a different directory. AVOID using `cd <directory> && <command>` patterns - use `workdir` instead.\n\nUse `/home/ubuntu/.hermes/cache/scratch/opencode` for temporary work outside the workspace. This directory has already been created, already exists, and is pre-approved for external directory access.\n\nIMPORTANT: This tool is for terminal operations like git, npm, docker, etc. DO NOT use it for file operations (reading, writing, editing, searching, finding files) - use the specialized tools for this instead.\n\nBefore executing the command, please follow these steps:\n\n1. Directory Verification:\n - If the command will create new directories or files, first use `ls` to verify the parent directory exists and is the correct location\n - For example, before running "mkdir foo/bar", first use `ls foo` to check that "foo" exists and is the intended parent directory\n\n2. Command Execution:\n - Always quote file paths that contain spaces with double quotes (e.g., rm "path with spaces/file.txt")\n - Examples of proper quoting:\n - mkdir "/Users/name/My Documents" (correct)\n - mkdir /Users/name/My Documents (incorrect - will fail)\n - python "/path/with spaces/script.py" (correct)\n - python /path/with spaces/script.py (incorrect - will fail)\n - After ensuring proper quoting, execute the command.\n - Capture the output of the command.\n\nUsage notes:\n - The command argument is required.\n - You can specify an optional timeout in milliseconds. If not specified, commands will time out after 120000ms.\n - If the output exceeds 2000 lines or 51200 bytes, it will be truncated and the full output will be written to a file. You can use Read with offset/limit to read specific sections or Grep to search the full content. Do NOT use `head`, `tail`, or other truncation commands to limit output; the full output will already be captured to a file for more precise searching.\n\n - Avoid using Bash with the `find`, `grep`, `cat`, `head`, `tail`, `sed`, `awk`, or `echo` commands, unless explicitly instructed or when these commands are truly necessary for the task. Instead, always prefer using the dedicated tools for these commands:\n - File search: Use Glob (NOT find or ls)\n - Content search: Use Grep (NOT grep or rg)\n - Read files: Use Read (NOT cat/head/tail)\n - Edit files: Use Edit (NOT sed/awk)\n - Write files: Use Write (NOT echo >/cat <<EOF)\n - Communication: Output text directly (NOT echo/printf)\n - When issuing multiple commands:\n - If the commands are independent and can run in parallel, make multiple bash tool calls in a single message. For example, if you need to run "git status" and "git diff", send a single message with two bash tool calls in parallel.\n - If the commands depend on each other and must run sequentially, use a single Bash call with \'&&\' to chain them together (e.g., `git add . && git commit -m "message" && git push`). For instance, if one operation must complete before another starts (like mkdir before cp, Write before Bash for git operations, or git add before git commit), run these operations sequentially instead.\n - Use \';\' only when you need to run commands sequentially but don\'t care if earlier commands fail\n - DO NOT use newlines to separate commands (newlines are ok in quoted strings)\n - AVOID using `cd <directory> && <command>`. Use the `workdir` parameter to change directories instead.\n <good-example>\n Use workdir="/foo/bar" with command: pytest tests\n </good-example>\n <bad-example>\n cd /foo/bar && pytest tests\n </bad-example>\n\n# Git and GitHub\n- Only commit, amend, push, or create PRs when explicitly requested.\n- Before committing, inspect `git status`, `git diff`, and `git log --oneline -10`; stage only intended files and never commit secrets.\n- Write a concise commit message that matches the repo style.\n- Do not update git config, skip hooks, use interactive `-i`, force-push, or create empty commits unless explicitly requested.\n- If a commit fails or hooks reject it, fix the issue and create a new commit; do not amend the failed commit.\n- Before creating a PR, inspect status, diff, remote tracking, recent commits, and the diff from the base branch.\n- Review all commits included in the PR, not just the latest commit.\n- Use `gh` for GitHub tasks, including PRs, issues, checks, and releases; return the PR URL when done.\n',parameters:{properties:{command:{description:"The command to execute",type:"string"},timeout:{description:"Optional timeout in milliseconds",type:"integer"},workdir:{description:"The working directory to run the command in. Defaults to the current directory. Use this instead of 'cd' commands.",type:"string"}},required:["command"],type:"object"},strict:!1},{type:"function",name:"glob",description:'- Fast file pattern matching tool that works with any codebase size\n- Supports glob patterns like "**/*.js" or "src/**/*.ts"\n- Returns matching file paths\n- Use this tool when you need to find files by name patterns\n- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead\n- You have the capability to call multiple tools in a single response. It is always better to speculatively perform multiple searches as a batch that are potentially useful.\n',parameters:{properties:{pattern:{description:"The glob pattern to match files against",type:"string"},path:{description:'The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter "undefined" or "null" - simply omit it for the default behavior. Must be a valid directory path if provided.',type:"string"}},required:["pattern"],type:"object"},strict:!1},{type:"function",name:"grep",description:'- Fast content search tool that works with any codebase size\n- Searches file contents using regular expressions\n- Supports full regex syntax (eg. "log.*Error", "function\\s+\\w+", etc.)\n- Filter files by pattern with the include parameter (eg. "*.js", "*.{ts,tsx}")\n- Returns file paths and line numbers with matching lines\n- Use this tool when you need to find files containing specific patterns\n- If you need to identify/count the number of matches within files, use the Bash tool with `rg` (ripgrep) directly. Do NOT use `grep`.\n- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead\n',parameters:{properties:{pattern:{description:"The regex pattern to search for in file contents",type:"string"},path:{description:"The directory to search in. Defaults to the current working directory.",type:"string"},include:{description:'File pattern to include in the search (e.g. "*.js", "*.{ts,tsx}")',type:"string"}},required:["pattern"],type:"object"},strict:!1},{type:"function",name:"read",description:'Read a file or directory from the local filesystem. If the path does not exist, an error is returned.\n\nUsage:\n- The filePath parameter should be an absolute path.\n- By default, this tool returns up to 2000 lines from the start of the file.\n- The offset parameter is the line number to start from (1-indexed).\n- To read later sections, call this tool again with a larger offset.\n- Use the grep tool to find specific content in large files or files with long lines.\n- If you are unsure of the correct file path, use the glob tool to look up filenames by glob pattern.\n- Contents are returned with each line prefixed by its line number as `<line>: <content>`. For example, if a file has contents "foo\\n", you will receive "1: foo\\n". For directories, entries are returned one per line (without line numbers) with a trailing `/` for subdirectories.\n- Any line longer than 2000 characters is truncated.\n- Call this tool in parallel when you know there are multiple files you want to read.\n- Avoid tiny repeated slices (30 line chunks). If you need more context, read a larger window.\n- This tool can read image files and PDFs and return them as file attachments.\n',parameters:{properties:{filePath:{description:"The absolute path to the file or directory to read",type:"string"},offset:{description:"The line number to start reading from (1-indexed)",type:"integer"},limit:{description:"The maximum number of lines to read (defaults to 2000)",type:"integer"}},required:["filePath"],type:"object"},strict:!1}];e.map(a=>a.name);let f="chat",g="responses";function h(a,b=f){if(!a||"object"!=typeof a||Array.isArray(a))return a;let c=b===g?e:d,i=new Set(function(a=f){return(a===g?e:d).map(b=>a===g?b.name:b.function.name)}(b)),j=(Array.isArray(a.tools)?a.tools:[]).filter(a=>{let c=function(a,b){if(!a||"object"!=typeof a||Array.isArray(a))return"";let c=a.function&&"object"==typeof a.function&&!Array.isArray(a.function)?a.function:null;return(b===g?"string"==typeof a.name?a.name:"string"==typeof c?.name?c.name:"":"string"==typeof c?.name?c.name:"string"==typeof a.name?a.name:"").trim()}(a,b);return!c||!i.has(c)});return a.tools=[...j,...c.map(a=>b===g?{...a,parameters:{...a.parameters}}:{...a,function:{...a.function,parameters:{...a.function.parameters}}})],a.tool_choice||(a.tool_choice="auto"),a}function i(a){let b=String(a||"").match(/opencode\/(\d+)\.(\d+)\.\d+\s+\S/i);if(!b)return!1;let c=parseInt(b[1],10),d=parseInt(b[2],10);return c>1||1===c&&d>=18}},74379:(a,b,c)=>{c.d(b,{c:()=>g});var d=c(24);let e=[{match:/claude/i,drop:["temperature"]},{provider:"github",match:/gpt-5\.4/i,drop:["temperature"]},{provider:"github",match:a=>/claude/i.test(a)&&!/claude.*(opus|sonnet).*4\.6/i.test(a),drop:["thinking","reasoning_effort"]},{provider:"cloudflare-ai",flattenContent:!0},{provider:"volcengine-ark",match:/glm-5/i,clampToModelMaxOutput:!0},{provider:"volcengine-ark",match:/kimi/i,maxOutputCap:32768,clampToModelMaxOutput:!0},{provider:"groq",dropMessageFields:["reasoning_content","reasoning","reasoning_details"]},{provider:"mistral",dropMessageFields:["reasoning_content","reasoning","reasoning_details"]},{provider:"cerebras",dropMessageFields:["reasoning_content","reasoning","reasoning_details"]}];function f(a,b,c){"number"==typeof a[b]&&Number.isFinite(a[b])&&a[b]>c&&(a[b]=c)}function g(a,b,c){if(!b||!c||"object"!=typeof c)return c;for(let g of e)if((!g.provider||g.provider===a)&&(!g.match||("function"==typeof g.match?g.match(b):g.match.test(b)))){for(let a of g.drop||[])void 0!==c[a]&&delete c[a];if(Array.isArray(g.dropMessageFields)&&Array.isArray(c.messages)){for(let a of c.messages)if(a&&"assistant"===a.role)for(let b of g.dropMessageFields)void 0!==a[b]&&delete a[b]}if(g.flattenContent&&Array.isArray(c.messages))for(let a of c.messages)a&&Array.isArray(a.content)&&(a.content=a.content.map(a=>a?.type==="text"&&"string"==typeof a.text?a.text:"").join(""));if(g.clampToModelMaxOutput||Number.isFinite(g.maxOutputCap)){let e=(0,d.getCapabilitiesForModel)(a,b).maxOutput,h=[];if(g.clampToModelMaxOutput&&Number.isFinite(e)&&e>0&&h.push(e),Number.isFinite(g.maxOutputCap)&&g.maxOutputCap>0&&h.push(g.maxOutputCap),h.length>0){let a=Math.min(...h);f(c,"max_tokens",a),f(c,"max_completion_tokens",a),f(c,"max_output_tokens",a)}}}return c}},86724:(a,b,c)=>{c.d(b,{Z:()=>h});var d=c(35024);let e=[{match:a=>/^kimi-/i.test(a||""),scope:"toolCalls"},{match:a=>/deepseek/i.test(a||""),scope:"all"}],f="deepseek-v4-pro",g={[`${f}-max`]:{thinkingType:"enabled",reasoningEffort:"max"},[`${f}-none`]:{thinkingType:"disabled",reasoningEffort:null}};function h({provider:a,model:b,body:c}){let i=d.xq[a]?.reasoningInject,j=e.find(a=>a.match(b));var k=function({provider:a,model:b,body:c}){let d=g[b];if("deepseek"!==a||!d||!c)return c;let e={...c,model:f,extra_body:{...c.extra_body||{},thinking:{...c.extra_body?.thinking||{},type:d.thinkingType}}};return d.reasoningEffort?e.reasoning_effort=d.reasoningEffort:delete e.reasoning_effort,e}({provider:a,model:b,body:c}),l=i||j;if(!l||!k?.messages)return k;let m=k.messages.map(a=>!function(a,b){if(a?.role!=="assistant")return!1;let c=a.reasoning_content;return("string"!=typeof c||!(c.length>0))&&("toolCalls"!==b||Array.isArray(a.tool_calls)&&a.tool_calls.length>0)}(a,l.scope)?a:{...a,reasoning_content:" "});return{...k,messages:m}}},96179:(a,b,c)=>{c.d(b,{L:()=>u});var d=c(74957),e=c(77598),f=c(35024),g=c(74129),h=c(57647),i=c(75924),j=c(52284),k=c(39609),l=c(86724),m=c(74379),n=c(55399);let o={combined:!0,header:"Authorization",scheme:"bearer"},p={combined:!0,header:"x-api-key",scheme:"raw"},q=Object.fromEntries(Object.entries(f.xq).filter(([,a])=>a.auth).map(([a,b])=>[a,b.auth]));function r(a,b,c){a[b.header]="bearer"===b.scheme?`Bearer ${c}`:c}let s={kimiHeaders:(a,b)=>Object.assign(a,(0,i.buildKimiHeaders)(b?.providerSpecificData?.deviceId)),minimaxHeaders:a=>{a["x-api-key"]="sk-xxx",a["X-Mavis-Timezone-Offset"]=String(-60*new Date().getTimezoneOffset()),a["X-Mavis-Session-Id"]||(a["X-Mavis-Session-Id"]=(0,e.randomUUID)())},museHeaders:(a,b)=>{b?.accessToken&&!b?.apiKey&&(a["x-api-version"]="1.0.0")},clineHeaders:(a,b)=>Object.assign(a,(0,j.w$)(b.apiKey||b.accessToken,{},{shape:b?.clineAuthShape})),kilocodeOrg:(a,b)=>{b.providerSpecificData?.orgId&&(a["X-Kilocode-OrganizationID"]=b.providerSpecificData.orgId)}},t=Object.fromEntries(Object.entries(f.sr).filter(([,a])=>a.refresh).map(([a,b])=>{let c=b.tokenUrl,d=b.refresh.encoding,e=b.refresh.scope?{scope:b.refresh.scope}:{};return[a,{encoding:d,url:()=>c,params:c=>"gemini"===a?{client_id:c.config.clientId,client_secret:c.config.clientSecret,...e}:{client_id:b.clientId,...e}}]}));class u extends d.H{constructor(a){super(a,f.xq[a]||f.xq.openai)}transformRequest(a,b){let c=this.applyJsonSchemaFallback(b);return c&&"object"==typeof c&&(this.config.quirks?.dropClientMetadata&&delete c.client_metadata,(0,m.c)(this.provider,a,c)),(0,l.Z)({provider:this.provider,model:a,body:c})}applyJsonSchemaFallback(a){if(!this.provider?.startsWith?.("openai-compatible-"))return a;let b=a?.response_format;if(b?.type!=="json_schema"||!b.json_schema?.schema)return a;let c=JSON.stringify(b.json_schema.schema,null,2),d=`You must respond with valid JSON that strictly follows this JSON schema:
2
2
  \`\`\`json
3
3
  ${c}
4
4
  \`\`\`
@@ -1 +1 @@
1
- "use strict";exports.id=7811,exports.ids=[7811],exports.modules={7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>o,error:()=>r,errorLine:()=>l,fmtThink:()=>m,info:()=>p,line:()=>k,maskKey:()=>v,nextTag:()=>i,request:()=>s,response:()=>t,stream:()=>u,tagForSession:()=>j,warn:()=>q});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}let g=["\uD83D\uDFE2","\uD83D\uDD35","\uD83D\uDFE3","\uD83D\uDFE1","\uD83D\uDFE0","\uD83D\uDD34","âšĒ","\uD83D\uDFE4"],h=0;function i(){let a=g[h%g.length];return h++,a}function j(a){if(!a)return i();let b=0;for(let c=0;c<a.length;c++)b=31*b+a.charCodeAt(c)|0;return g[Math.abs(b)%g.length]}function k(a,b,c){e>d.INFO||console.log(`[${f()}] ${a} ${b} ${c}`)}function l(a,b,c){console.log(`[${f()}] ${a} ${b} ${c}`)}function m(a){return a&&a.mode?"none"===a.mode?"off":"auto"===a.mode?"auto":"budget"===a.mode?a.budget>=1e3?`${Math.round(a.budget/1e3)}k`:`${a.budget}`:"level"===a.mode?a.level:null:null}function n(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function o(a,b,c){if(e<=d.DEBUG){let d=c?` ${n(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function p(a,b,c){if(e<=d.INFO){let d=c?` ${n(c)}`:"";console.log(`[${f()}] â„šī¸ [${a}] ${b}${d}`)}}function q(a,b,c){if(e<=d.WARN){let d=c?` ${n(c)}`:"";console.warn(`[${f()}] âš ī¸ [${a}] ${b}${d}`)}}function r(a,b,c){if(e<=d.ERROR){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function s(a,b,c){let d=c?` ${n(c)}`:"";console.log(`\x1b[36m[${f()}] đŸ“Ĩ ${a} ${b}${d}\x1b[0m`)}function t(a,b,c){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function u(a,b){let c=b?` ${n(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function v(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}},27811:(a,b,c)=>{c.d(b,{Ge:()=>u,QU:()=>s,TM:()=>n,cI:()=>r,dR:()=>t,j:()=>v});var d=c(74452),e=c(1541),f=c(38775),g=c(40615),h=c(38606),i=c(43659),j=c(41004),k=c(7803);let l=a=>String(a).toLowerCase(),m=(a,b)=>l(`${a}/${b}`);async function n(a){let b=function(a){let b=a?.headers;if(!b?.get)return null;let c=b.get("Authorization");if(c?.startsWith("Bearer "))return c.slice(7);let d=b.get("x-api-key");if(d)return d;let e=b.get("x-goog-api-key");if(e)return e;try{return new URL(a.url).searchParams.get("key")||null}catch{return null}}(a);if(!b)return null;let c=await (0,d.getApiKeyByKey)(b);return c?.access?.restricted?{keyId:c.id,keyName:c.name||c.id,allow:c.access.allow||[],_sets:null}:null}async function o(a){if(a._sets)return a._sets;let b=new Set((await (0,e.Uv)()).map(a=>l(a.name))),c=new Set,d=new Set,h=new Set;for(let e of a.allow){let a=l(e);if(b.has(a)){c.add(a);continue}let i=await (0,f.mA)(e);i?.provider&&i.model&&d.add(m(i.provider,i.model)),e.includes("/")||h.add(l((0,g.rs)(e)))}return a._sets={combos:c,models:d,providers:h},a._sets}async function p(a,b){let c=await o(a),d=await (0,f.mA)(b);return d?.provider?c.models.has(m(d.provider,d.model)):c.combos.has(l(b))}function q(a,b){return k.warn("AUTH",`key-access: key "${a.keyName}" denied "${b}"`),(0,i.yj)(j.gx.FORBIDDEN,(0,h.Cq)(b))}async function r(a,b){if(!a)return null;if("string"!=typeof b||!b)return q(a,String(b??""));let c=await o(a);return(await (0,f.d_)(b)?c.combos.has(l(b)):await p(a,b))?null:q(a,b)}async function s(a,b,c,d){if(!a)return null;let e=b||(c?`${c}/${d??""}`:"");return c&&d&&(await o(a)).models.has(m(c,d))?null:q(a,e)}async function t(a,b,c){if(!a)return null;if("string"!=typeof b||!b)return q(a,String(b??""));let d=await o(a);return(c?d.combos.has(l(b)):d.providers.has(l((0,g.rs)(b))))?null:q(a,b)}async function u(a,b,c){if(!a||!Array.isArray(b))return b;let d=new Set(c||[]),e=[];for(let c of b)d.has(c)||await p(a,c)?e.push(c):k.info("AUTH",`key-access: key "${a.keyName}" skips adapter model "${c}" (not allowed)`);return e}async function v(a,b){if(!a||!Array.isArray(b))return b;let c=await o(a),d=[];for(let a of b){if(!a?.id)continue;if(a.owned_by===h.WR){c.combos.has(l(a.id))&&d.push(a);continue}let b=await (0,f.mA)(a.id);if(b?.provider){if(h.YR.includes(a.kind)){c.providers.has(l(b.provider))&&d.push(a);continue}c.models.has(m(b.provider,b.model))&&d.push(a)}}return d}},38775:(a,b,c)=>{c.d(b,{d_:()=>j,mA:()=>i});var d=c(89718),e=c(40669),f=c(85390);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"},h=new Set(Object.keys(g));for(let a of f.default)for(let b of(h.add(a.id),a.alias&&h.add(a.alias),a.aliases||[]))h.add(b);async function i(a){let b,c=(b=(0,e.Xh)(a),b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b);if(!c.isAlias){if(!h.has(c.providerAlias)){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===c.providerAlias);if(a)return{provider:a.id,model:c.model};let b=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===c.providerAlias);if(b)return{provider:b.id,model:c.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===c.providerAlias);if(e)return{provider:e.id,model:c.model}}return{provider:c.provider,model:c.model}}return await (0,d.Dj)(c.model)?{provider:null,model:c.model}:(0,e.js)(a,d.OM)}async function j(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}},43659:(a,b,c)=>{c.d(b,{A1:()=>h,lR:()=>j,wO:()=>i,xJ:()=>e,yj:()=>f,zL:()=>g});var d=c(3662);function e(a,b){let c=d.LY[a]||(a>=500?{type:"server_error",code:"internal_server_error"}:{type:"invalid_request_error",code:""});return{error:{message:b||d.O[a]||"An error occurred",type:c.type,code:c.code}}}function f(a,b,c=null){return new Response(JSON.stringify(e(a,b)),{status:a,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*",...c}})}async function g(a,b=null){let c="";try{c=await a.text()}catch{c=""}if(b&&"function"==typeof b.parseError)try{let e=b.parseError(a,c);if(e&&"object"==typeof e){let b=e.message||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:e.status||a.status,message:b,resetsAtMs:e.resetsAtMs}}}catch{}let e="";try{let a=JSON.parse(c);e=a.error?.message||a.message||a.error||c}catch{e=c}let f=("string"==typeof e?e:JSON.stringify(e))||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:a.status,message:f}}function h(a,b,c,d=null){return{success:!1,status:a,error:b,resetsAtMs:c,response:f(a,b,d)}}function i(a,b,c,d,e=null){let f=Math.max(Math.ceil((new Date(c).getTime()-Date.now())/1e3),1);return new Response(JSON.stringify({error:{message:`${b} (${d})`}}),{status:a,headers:{...e,"Content-Type":"application/json","retry-after":String(f)}})}function j(a,b,c,d){let e=d||a.code||"FETCH_FAILED",f=a.message||"Unknown error",g=a.cause?.code,h=a.cause?.message,i=g||h?` (cause: ${[g,h].filter(Boolean).join(": ")})`:"";return`[${e}]: ${f}${i}`}},89718:(a,b,c)=>{c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(83192)}};
1
+ "use strict";exports.id=7811,exports.ids=[7811],exports.modules={7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>o,error:()=>r,errorLine:()=>l,fmtThink:()=>m,info:()=>p,line:()=>k,maskKey:()=>v,nextTag:()=>i,request:()=>s,response:()=>t,stream:()=>u,tagForSession:()=>j,warn:()=>q});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}let g=["\uD83D\uDFE2","\uD83D\uDD35","\uD83D\uDFE3","\uD83D\uDFE1","\uD83D\uDFE0","\uD83D\uDD34","âšĒ","\uD83D\uDFE4"],h=0;function i(){let a=g[h%g.length];return h++,a}function j(a){if(!a)return i();let b=0;for(let c=0;c<a.length;c++)b=31*b+a.charCodeAt(c)|0;return g[Math.abs(b)%g.length]}function k(a,b,c){e>d.INFO||console.log(`[${f()}] ${a} ${b} ${c}`)}function l(a,b,c){console.log(`[${f()}] ${a} ${b} ${c}`)}function m(a){return a&&a.mode?"none"===a.mode?"off":"auto"===a.mode?"auto":"budget"===a.mode?a.budget>=1e3?`${Math.round(a.budget/1e3)}k`:`${a.budget}`:"level"===a.mode?a.level:null:null}function n(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function o(a,b,c){if(e<=d.DEBUG){let d=c?` ${n(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function p(a,b,c){if(e<=d.INFO){let d=c?` ${n(c)}`:"";console.log(`[${f()}] â„šī¸ [${a}] ${b}${d}`)}}function q(a,b,c){if(e<=d.WARN){let d=c?` ${n(c)}`:"";console.warn(`[${f()}] âš ī¸ [${a}] ${b}${d}`)}}function r(a,b,c){if(e<=d.ERROR){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function s(a,b,c){let d=c?` ${n(c)}`:"";console.log(`\x1b[36m[${f()}] đŸ“Ĩ ${a} ${b}${d}\x1b[0m`)}function t(a,b,c){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function u(a,b){let c=b?` ${n(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function v(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}},27811:(a,b,c)=>{c.d(b,{Ge:()=>u,QU:()=>s,TM:()=>n,cI:()=>r,dR:()=>t,j:()=>v});var d=c(74452),e=c(1541),f=c(38775),g=c(40615),h=c(38606),i=c(43659),j=c(41004),k=c(7803);let l=a=>String(a).toLowerCase(),m=(a,b)=>l(`${a}/${b}`);async function n(a){let b=function(a){let b=a?.headers;if(!b?.get)return null;let c=b.get("Authorization");if(c?.startsWith("Bearer "))return c.slice(7);let d=b.get("x-api-key");if(d)return d;let e=b.get("x-goog-api-key");if(e)return e;try{return new URL(a.url).searchParams.get("key")||null}catch{return null}}(a);if(!b)return null;let c=await (0,d.getApiKeyByKey)(b);return c?.access?.restricted?{keyId:c.id,keyName:c.name||c.id,allow:c.access.allow||[],_sets:null}:null}async function o(a){if(a._sets)return a._sets;let b=new Set((await (0,e.Uv)()).map(a=>l(a.name))),c=new Set,d=new Set,h=new Set;for(let e of a.allow){let a=l(e);if(b.has(a)){c.add(a);continue}let i=await (0,f.mA)(e);i?.provider&&i.model&&d.add(m(i.provider,i.model)),e.includes("/")||h.add(l((0,g.rs)(e)))}return a._sets={combos:c,models:d,providers:h},a._sets}async function p(a,b){let c=await o(a),d=await (0,f.mA)(b);return d?.provider?c.models.has(m(d.provider,d.model)):c.combos.has(l(b))}function q(a,b){return k.warn("AUTH",`key-access: key "${a.keyName}" denied "${b}"`),(0,i.yj)(j.gx.FORBIDDEN,(0,h.Cq)(b))}async function r(a,b){if(!a)return null;if("string"!=typeof b||!b)return q(a,String(b??""));let c=await o(a);return(await (0,f.d_)(b)?c.combos.has(l(b)):await p(a,b))?null:q(a,b)}async function s(a,b,c,d){if(!a)return null;let e=b||(c?`${c}/${d??""}`:"");return c&&d&&(await o(a)).models.has(m(c,d))?null:q(a,e)}async function t(a,b,c){if(!a)return null;if("string"!=typeof b||!b)return q(a,String(b??""));let d=await o(a);return(c?d.combos.has(l(b)):d.providers.has(l((0,g.rs)(b))))?null:q(a,b)}async function u(a,b,c){if(!a||!Array.isArray(b))return b;let d=new Set(c||[]),e=[];for(let c of b)d.has(c)||await p(a,c)?e.push(c):k.info("AUTH",`key-access: key "${a.keyName}" skips adapter model "${c}" (not allowed)`);return e}async function v(a,b){if(!a||!Array.isArray(b))return b;let c=await o(a),d=[];for(let a of b){if(!a?.id)continue;if(a.owned_by===h.WR){c.combos.has(l(a.id))&&d.push(a);continue}let b=await (0,f.mA)(a.id);if(b?.provider){if(h.YR.includes(a.kind)){c.providers.has(l(b.provider))&&d.push(a);continue}c.models.has(m(b.provider,b.model))&&d.push(a)}}return d}},38775:(a,b,c)=>{c.d(b,{d_:()=>j,mA:()=>i});var d=c(89718),e=c(40669),f=c(85390);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"},h=new Set(Object.keys(g));for(let a of f.default)for(let b of(h.add(a.id),a.alias&&h.add(a.alias),a.aliases||[]))h.add(b);async function i(a){let b,c=(b=(0,e.Xh)(a),b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b);if(!c.isAlias){if(!h.has(c.providerAlias)){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===c.providerAlias);if(a)return{provider:a.id,model:c.model};let b=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===c.providerAlias);if(b)return{provider:b.id,model:c.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===c.providerAlias);if(e)return{provider:e.id,model:c.model}}return{provider:c.provider,model:c.model}}return await (0,d.Dj)(c.model)?{provider:null,model:c.model}:(0,e.js)(a,d.OM)}async function j(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}},43659:(a,b,c)=>{c.d(b,{A1:()=>h,lR:()=>j,wO:()=>i,xJ:()=>e,yj:()=>f,zL:()=>g});var d=c(3662);function e(a,b){let c=d.LY[a]||(a>=500?{type:"server_error",code:"internal_server_error"}:{type:"invalid_request_error",code:""});return{error:{message:b||d.O[a]||"An error occurred",type:c.type,code:c.code}}}function f(a,b,c=null){return new Response(JSON.stringify(e(a,b)),{status:a,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*",...c}})}async function g(a,b=null){let c="";try{c=await a.text()}catch{c=""}if(b&&"function"==typeof b.parseError)try{let e=b.parseError(a,c);if(e&&"object"==typeof e){let b=e.message||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:e.status||a.status,message:b,resetsAtMs:e.resetsAtMs}}}catch{}let e="";try{let a=JSON.parse(c);e=a.error?.message||a.message||a.error||c}catch{e=c}let f=("string"==typeof e?e:JSON.stringify(e))||d.O[a.status]||`Upstream error: ${a.status}`;return{statusCode:a.status,message:f}}function h(a,b,c,d=null){return{success:!1,status:a,error:b,resetsAtMs:c,response:f(a,b,d)}}function i(a,b,c,d,e=null){let f=Math.max(Math.ceil((new Date(c).getTime()-Date.now())/1e3),1);return new Response(JSON.stringify({error:{message:`${b} (${d})`}}),{status:a,headers:{...e,"Content-Type":"application/json","retry-after":String(f)}})}function j(a,b,c,d){let e=d||a.code||"FETCH_FAILED",f=a.message||"Unknown error",g=a.cause?.code,h=a.cause?.message,i=g||h?` (cause: ${[g,h].filter(Boolean).join(": ")})`:"";return`[${e}]: ${f}${i}`}},89718:(a,b,c)=>{c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lf:()=>d.Lf,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(83192)}};