@crewspaceai/server 2026.412.0-canary.0

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 (806) hide show
  1. package/LICENSE +21 -0
  2. package/dist/adapters/codex-models.d.ts +4 -0
  3. package/dist/adapters/codex-models.d.ts.map +1 -0
  4. package/dist/adapters/codex-models.js +98 -0
  5. package/dist/adapters/codex-models.js.map +1 -0
  6. package/dist/adapters/cursor-models.d.ts +13 -0
  7. package/dist/adapters/cursor-models.d.ts.map +1 -0
  8. package/dist/adapters/cursor-models.js +148 -0
  9. package/dist/adapters/cursor-models.js.map +1 -0
  10. package/dist/adapters/http/execute.d.ts +3 -0
  11. package/dist/adapters/http/execute.d.ts.map +1 -0
  12. package/dist/adapters/http/execute.js +39 -0
  13. package/dist/adapters/http/execute.js.map +1 -0
  14. package/dist/adapters/http/index.d.ts +3 -0
  15. package/dist/adapters/http/index.d.ts.map +1 -0
  16. package/dist/adapters/http/index.js +20 -0
  17. package/dist/adapters/http/index.js.map +1 -0
  18. package/dist/adapters/http/test.d.ts +3 -0
  19. package/dist/adapters/http/test.d.ts.map +1 -0
  20. package/dist/adapters/http/test.js +106 -0
  21. package/dist/adapters/http/test.js.map +1 -0
  22. package/dist/adapters/index.d.ts +4 -0
  23. package/dist/adapters/index.d.ts.map +1 -0
  24. package/dist/adapters/index.js +3 -0
  25. package/dist/adapters/index.js.map +1 -0
  26. package/dist/adapters/process/execute.d.ts +3 -0
  27. package/dist/adapters/process/execute.d.ts.map +1 -0
  28. package/dist/adapters/process/execute.js +70 -0
  29. package/dist/adapters/process/execute.js.map +1 -0
  30. package/dist/adapters/process/index.d.ts +3 -0
  31. package/dist/adapters/process/index.d.ts.map +1 -0
  32. package/dist/adapters/process/index.js +23 -0
  33. package/dist/adapters/process/index.js.map +1 -0
  34. package/dist/adapters/process/test.d.ts +3 -0
  35. package/dist/adapters/process/test.d.ts.map +1 -0
  36. package/dist/adapters/process/test.js +77 -0
  37. package/dist/adapters/process/test.js.map +1 -0
  38. package/dist/adapters/registry.d.ts +14 -0
  39. package/dist/adapters/registry.d.ts.map +1 -0
  40. package/dist/adapters/registry.js +164 -0
  41. package/dist/adapters/registry.js.map +1 -0
  42. package/dist/adapters/types.d.ts +2 -0
  43. package/dist/adapters/types.d.ts.map +1 -0
  44. package/dist/adapters/types.js +2 -0
  45. package/dist/adapters/types.js.map +1 -0
  46. package/dist/adapters/utils.d.ts +41 -0
  47. package/dist/adapters/utils.d.ts.map +1 -0
  48. package/dist/adapters/utils.js +51 -0
  49. package/dist/adapters/utils.js.map +1 -0
  50. package/dist/agent-auth-jwt.d.ts +14 -0
  51. package/dist/agent-auth-jwt.d.ts.map +1 -0
  52. package/dist/agent-auth-jwt.js +117 -0
  53. package/dist/agent-auth-jwt.js.map +1 -0
  54. package/dist/app.d.ts +25 -0
  55. package/dist/app.d.ts.map +1 -0
  56. package/dist/app.js +267 -0
  57. package/dist/app.js.map +1 -0
  58. package/dist/attachment-types.d.ts +33 -0
  59. package/dist/attachment-types.d.ts.map +1 -0
  60. package/dist/attachment-types.js +67 -0
  61. package/dist/attachment-types.js.map +1 -0
  62. package/dist/auth/better-auth.d.ts +24 -0
  63. package/dist/auth/better-auth.d.ts.map +1 -0
  64. package/dist/auth/better-auth.js +108 -0
  65. package/dist/auth/better-auth.js.map +1 -0
  66. package/dist/board-claim.d.ts +23 -0
  67. package/dist/board-claim.d.ts.map +1 -0
  68. package/dist/board-claim.js +115 -0
  69. package/dist/board-claim.js.map +1 -0
  70. package/dist/config-file.d.ts +3 -0
  71. package/dist/config-file.d.ts.map +1 -0
  72. package/dist/config-file.js +16 -0
  73. package/dist/config-file.js.map +1 -0
  74. package/dist/config.d.ts +38 -0
  75. package/dist/config.d.ts.map +1 -0
  76. package/dist/config.js +164 -0
  77. package/dist/config.js.map +1 -0
  78. package/dist/dev-server-status.d.ts +27 -0
  79. package/dist/dev-server-status.d.ts.map +1 -0
  80. package/dist/dev-server-status.js +70 -0
  81. package/dist/dev-server-status.js.map +1 -0
  82. package/dist/dev-watch-ignore.d.ts +2 -0
  83. package/dist/dev-watch-ignore.d.ts.map +1 -0
  84. package/dist/dev-watch-ignore.js +33 -0
  85. package/dist/dev-watch-ignore.js.map +1 -0
  86. package/dist/errors.d.ts +12 -0
  87. package/dist/errors.d.ts.map +1 -0
  88. package/dist/errors.js +28 -0
  89. package/dist/errors.js.map +1 -0
  90. package/dist/home-paths.d.ts +17 -0
  91. package/dist/home-paths.d.ts.map +1 -0
  92. package/dist/home-paths.js +75 -0
  93. package/dist/home-paths.js.map +1 -0
  94. package/dist/index.d.ts +10 -0
  95. package/dist/index.d.ts.map +1 -0
  96. package/dist/index.js +615 -0
  97. package/dist/index.js.map +1 -0
  98. package/dist/log-redaction.d.ts +11 -0
  99. package/dist/log-redaction.d.ts.map +1 -0
  100. package/dist/log-redaction.js +118 -0
  101. package/dist/log-redaction.js.map +1 -0
  102. package/dist/middleware/auth.d.ts +12 -0
  103. package/dist/middleware/auth.d.ts.map +1 -0
  104. package/dist/middleware/auth.js +144 -0
  105. package/dist/middleware/auth.js.map +1 -0
  106. package/dist/middleware/board-mutation-guard.d.ts +3 -0
  107. package/dist/middleware/board-mutation-guard.d.ts.map +1 -0
  108. package/dist/middleware/board-mutation-guard.js +60 -0
  109. package/dist/middleware/board-mutation-guard.js.map +1 -0
  110. package/dist/middleware/error-handler.d.ts +17 -0
  111. package/dist/middleware/error-handler.d.ts.map +1 -0
  112. package/dist/middleware/error-handler.js +37 -0
  113. package/dist/middleware/error-handler.js.map +1 -0
  114. package/dist/middleware/index.d.ts +4 -0
  115. package/dist/middleware/index.d.ts.map +1 -0
  116. package/dist/middleware/index.js +4 -0
  117. package/dist/middleware/index.js.map +1 -0
  118. package/dist/middleware/logger.d.ts +4 -0
  119. package/dist/middleware/logger.d.ts.map +1 -0
  120. package/dist/middleware/logger.js +87 -0
  121. package/dist/middleware/logger.js.map +1 -0
  122. package/dist/middleware/private-hostname-guard.d.ts +11 -0
  123. package/dist/middleware/private-hostname-guard.d.ts.map +1 -0
  124. package/dist/middleware/private-hostname-guard.js +78 -0
  125. package/dist/middleware/private-hostname-guard.js.map +1 -0
  126. package/dist/middleware/validate.d.ts +4 -0
  127. package/dist/middleware/validate.d.ts.map +1 -0
  128. package/dist/middleware/validate.js +7 -0
  129. package/dist/middleware/validate.js.map +1 -0
  130. package/dist/onboarding-assets/ceo/AGENTS.md +54 -0
  131. package/dist/onboarding-assets/ceo/HEARTBEAT.md +72 -0
  132. package/dist/onboarding-assets/ceo/SOUL.md +33 -0
  133. package/dist/onboarding-assets/ceo/TOOLS.md +3 -0
  134. package/dist/onboarding-assets/default/AGENTS.md +3 -0
  135. package/dist/paths.d.ts +3 -0
  136. package/dist/paths.d.ts.map +1 -0
  137. package/dist/paths.js +31 -0
  138. package/dist/paths.js.map +1 -0
  139. package/dist/realtime/live-events-ws.d.ts +28 -0
  140. package/dist/realtime/live-events-ws.d.ts.map +1 -0
  141. package/dist/realtime/live-events-ws.js +187 -0
  142. package/dist/realtime/live-events-ws.js.map +1 -0
  143. package/dist/redaction.d.ts +4 -0
  144. package/dist/redaction.d.ts.map +1 -0
  145. package/dist/redaction.js +63 -0
  146. package/dist/redaction.js.map +1 -0
  147. package/dist/routes/access.d.ts +62 -0
  148. package/dist/routes/access.d.ts.map +1 -0
  149. package/dist/routes/access.js +2296 -0
  150. package/dist/routes/access.js.map +1 -0
  151. package/dist/routes/activity.d.ts +3 -0
  152. package/dist/routes/activity.d.ts.map +1 -0
  153. package/dist/routes/activity.js +78 -0
  154. package/dist/routes/activity.js.map +1 -0
  155. package/dist/routes/agent-memories.d.ts +3 -0
  156. package/dist/routes/agent-memories.d.ts.map +1 -0
  157. package/dist/routes/agent-memories.js +148 -0
  158. package/dist/routes/agent-memories.js.map +1 -0
  159. package/dist/routes/agents.d.ts +3 -0
  160. package/dist/routes/agents.d.ts.map +1 -0
  161. package/dist/routes/agents.js +1999 -0
  162. package/dist/routes/agents.js.map +1 -0
  163. package/dist/routes/approvals.d.ts +3 -0
  164. package/dist/routes/approvals.d.ts.map +1 -0
  165. package/dist/routes/approvals.js +275 -0
  166. package/dist/routes/approvals.js.map +1 -0
  167. package/dist/routes/assets.d.ts +4 -0
  168. package/dist/routes/assets.d.ts.map +1 -0
  169. package/dist/routes/assets.js +309 -0
  170. package/dist/routes/assets.js.map +1 -0
  171. package/dist/routes/authz.d.ts +16 -0
  172. package/dist/routes/authz.d.ts.map +1 -0
  173. package/dist/routes/authz.js +47 -0
  174. package/dist/routes/authz.js.map +1 -0
  175. package/dist/routes/companies.d.ts +4 -0
  176. package/dist/routes/companies.d.ts.map +1 -0
  177. package/dist/routes/companies.js +303 -0
  178. package/dist/routes/companies.js.map +1 -0
  179. package/dist/routes/company-skills.d.ts +3 -0
  180. package/dist/routes/company-skills.d.ts.map +1 -0
  181. package/dist/routes/company-skills.js +228 -0
  182. package/dist/routes/company-skills.js.map +1 -0
  183. package/dist/routes/costs.d.ts +3 -0
  184. package/dist/routes/costs.d.ts.map +1 -0
  185. package/dist/routes/costs.js +268 -0
  186. package/dist/routes/costs.js.map +1 -0
  187. package/dist/routes/dashboard.d.ts +3 -0
  188. package/dist/routes/dashboard.d.ts.map +1 -0
  189. package/dist/routes/dashboard.js +15 -0
  190. package/dist/routes/dashboard.js.map +1 -0
  191. package/dist/routes/execution-workspaces.d.ts +3 -0
  192. package/dist/routes/execution-workspaces.d.ts.map +1 -0
  193. package/dist/routes/execution-workspaces.js +367 -0
  194. package/dist/routes/execution-workspaces.js.map +1 -0
  195. package/dist/routes/goals.d.ts +3 -0
  196. package/dist/routes/goals.d.ts.map +1 -0
  197. package/dist/routes/goals.js +95 -0
  198. package/dist/routes/goals.js.map +1 -0
  199. package/dist/routes/health.d.ts +9 -0
  200. package/dist/routes/health.d.ts.map +1 -0
  201. package/dist/routes/health.js +80 -0
  202. package/dist/routes/health.js.map +1 -0
  203. package/dist/routes/index.d.ts +18 -0
  204. package/dist/routes/index.d.ts.map +1 -0
  205. package/dist/routes/index.js +18 -0
  206. package/dist/routes/index.js.map +1 -0
  207. package/dist/routes/instance-settings.d.ts +3 -0
  208. package/dist/routes/instance-settings.d.ts.map +1 -0
  209. package/dist/routes/instance-settings.js +71 -0
  210. package/dist/routes/instance-settings.js.map +1 -0
  211. package/dist/routes/issues-checkout-wakeup.d.ts +9 -0
  212. package/dist/routes/issues-checkout-wakeup.d.ts.map +1 -0
  213. package/dist/routes/issues-checkout-wakeup.js +12 -0
  214. package/dist/routes/issues-checkout-wakeup.js.map +1 -0
  215. package/dist/routes/issues.d.ts +4 -0
  216. package/dist/routes/issues.d.ts.map +1 -0
  217. package/dist/routes/issues.js +1670 -0
  218. package/dist/routes/issues.js.map +1 -0
  219. package/dist/routes/llms.d.ts +3 -0
  220. package/dist/routes/llms.d.ts.map +1 -0
  221. package/dist/routes/llms.js +78 -0
  222. package/dist/routes/llms.js.map +1 -0
  223. package/dist/routes/org-chart-svg.d.ts +25 -0
  224. package/dist/routes/org-chart-svg.d.ts.map +1 -0
  225. package/dist/routes/org-chart-svg.js +656 -0
  226. package/dist/routes/org-chart-svg.js.map +1 -0
  227. package/dist/routes/plugin-ui-static.d.ts +69 -0
  228. package/dist/routes/plugin-ui-static.d.ts.map +1 -0
  229. package/dist/routes/plugin-ui-static.js +411 -0
  230. package/dist/routes/plugin-ui-static.js.map +1 -0
  231. package/dist/routes/plugins.d.ts +120 -0
  232. package/dist/routes/plugins.d.ts.map +1 -0
  233. package/dist/routes/plugins.js +1784 -0
  234. package/dist/routes/plugins.js.map +1 -0
  235. package/dist/routes/projects.d.ts +3 -0
  236. package/dist/routes/projects.d.ts.map +1 -0
  237. package/dist/routes/projects.js +386 -0
  238. package/dist/routes/projects.js.map +1 -0
  239. package/dist/routes/routines.d.ts +3 -0
  240. package/dist/routes/routines.d.ts.map +1 -0
  241. package/dist/routes/routines.js +277 -0
  242. package/dist/routes/routines.js.map +1 -0
  243. package/dist/routes/secrets.d.ts +3 -0
  244. package/dist/routes/secrets.d.ts.map +1 -0
  245. package/dist/routes/secrets.js +128 -0
  246. package/dist/routes/secrets.js.map +1 -0
  247. package/dist/routes/sidebar-badges.d.ts +3 -0
  248. package/dist/routes/sidebar-badges.d.ts.map +1 -0
  249. package/dist/routes/sidebar-badges.js +45 -0
  250. package/dist/routes/sidebar-badges.js.map +1 -0
  251. package/dist/secrets/external-stub-providers.d.ts +5 -0
  252. package/dist/secrets/external-stub-providers.d.ts.map +1 -0
  253. package/dist/secrets/external-stub-providers.js +21 -0
  254. package/dist/secrets/external-stub-providers.js.map +1 -0
  255. package/dist/secrets/local-encrypted-provider.d.ts +3 -0
  256. package/dist/secrets/local-encrypted-provider.d.ts.map +1 -0
  257. package/dist/secrets/local-encrypted-provider.js +116 -0
  258. package/dist/secrets/local-encrypted-provider.js.map +1 -0
  259. package/dist/secrets/provider-registry.d.ts +5 -0
  260. package/dist/secrets/provider-registry.d.ts.map +1 -0
  261. package/dist/secrets/provider-registry.js +20 -0
  262. package/dist/secrets/provider-registry.js.map +1 -0
  263. package/dist/secrets/types.d.ts +21 -0
  264. package/dist/secrets/types.d.ts.map +1 -0
  265. package/dist/secrets/types.js +2 -0
  266. package/dist/secrets/types.js.map +1 -0
  267. package/dist/services/access.d.ts +113 -0
  268. package/dist/services/access.d.ts.map +1 -0
  269. package/dist/services/access.js +247 -0
  270. package/dist/services/access.js.map +1 -0
  271. package/dist/services/activity-log.d.ts +17 -0
  272. package/dist/services/activity-log.d.ts.map +1 -0
  273. package/dist/services/activity-log.js +74 -0
  274. package/dist/services/activity-log.js.map +1 -0
  275. package/dist/services/activity.d.ts +764 -0
  276. package/dist/services/activity.d.ts.map +1 -0
  277. package/dist/services/activity.js +105 -0
  278. package/dist/services/activity.js.map +1 -0
  279. package/dist/services/agent-instructions.d.ts +91 -0
  280. package/dist/services/agent-instructions.d.ts.map +1 -0
  281. package/dist/services/agent-instructions.js +580 -0
  282. package/dist/services/agent-instructions.js.map +1 -0
  283. package/dist/services/agent-permissions.d.ts +6 -0
  284. package/dist/services/agent-permissions.d.ts.map +1 -0
  285. package/dist/services/agent-permissions.js +18 -0
  286. package/dist/services/agent-permissions.js.map +1 -0
  287. package/dist/services/agentMemories.d.ts +149 -0
  288. package/dist/services/agentMemories.d.ts.map +1 -0
  289. package/dist/services/agentMemories.js +109 -0
  290. package/dist/services/agentMemories.js.map +1 -0
  291. package/dist/services/agentMemoryExtraction.d.ts +32 -0
  292. package/dist/services/agentMemoryExtraction.d.ts.map +1 -0
  293. package/dist/services/agentMemoryExtraction.js +95 -0
  294. package/dist/services/agentMemoryExtraction.js.map +1 -0
  295. package/dist/services/agentTaskMemory.d.ts +28 -0
  296. package/dist/services/agentTaskMemory.d.ts.map +1 -0
  297. package/dist/services/agentTaskMemory.js +159 -0
  298. package/dist/services/agentTaskMemory.js.map +1 -0
  299. package/dist/services/agents.d.ts +1670 -0
  300. package/dist/services/agents.d.ts.map +1 -0
  301. package/dist/services/agents.js +566 -0
  302. package/dist/services/agents.js.map +1 -0
  303. package/dist/services/approvals.d.ts +546 -0
  304. package/dist/services/approvals.d.ts.map +1 -0
  305. package/dist/services/approvals.js +212 -0
  306. package/dist/services/approvals.js.map +1 -0
  307. package/dist/services/assets.d.ts +33 -0
  308. package/dist/services/assets.d.ts.map +1 -0
  309. package/dist/services/assets.js +17 -0
  310. package/dist/services/assets.js.map +1 -0
  311. package/dist/services/board-auth.d.ts +234 -0
  312. package/dist/services/board-auth.d.ts.map +1 -0
  313. package/dist/services/board-auth.js +295 -0
  314. package/dist/services/board-auth.js.map +1 -0
  315. package/dist/services/budgets.d.ts +38 -0
  316. package/dist/services/budgets.d.ts.map +1 -0
  317. package/dist/services/budgets.js +784 -0
  318. package/dist/services/budgets.js.map +1 -0
  319. package/dist/services/companies.d.ts +124 -0
  320. package/dist/services/companies.d.ts.map +1 -0
  321. package/dist/services/companies.js +256 -0
  322. package/dist/services/companies.js.map +1 -0
  323. package/dist/services/company-export-readme.d.ts +17 -0
  324. package/dist/services/company-export-readme.d.ts.map +1 -0
  325. package/dist/services/company-export-readme.js +148 -0
  326. package/dist/services/company-export-readme.js.map +1 -0
  327. package/dist/services/company-portability.d.ts +23 -0
  328. package/dist/services/company-portability.d.ts.map +1 -0
  329. package/dist/services/company-portability.js +3739 -0
  330. package/dist/services/company-portability.js.map +1 -0
  331. package/dist/services/company-skills.d.ts +77 -0
  332. package/dist/services/company-skills.d.ts.map +1 -0
  333. package/dist/services/company-skills.js +2042 -0
  334. package/dist/services/company-skills.js.map +1 -0
  335. package/dist/services/costs.d.ts +114 -0
  336. package/dist/services/costs.d.ts.map +1 -0
  337. package/dist/services/costs.js +294 -0
  338. package/dist/services/costs.js.map +1 -0
  339. package/dist/services/cron.d.ts +80 -0
  340. package/dist/services/cron.d.ts.map +1 -0
  341. package/dist/services/cron.js +300 -0
  342. package/dist/services/cron.js.map +1 -0
  343. package/dist/services/dashboard.d.ts +26 -0
  344. package/dist/services/dashboard.d.ts.map +1 -0
  345. package/dist/services/dashboard.js +98 -0
  346. package/dist/services/dashboard.js.map +1 -0
  347. package/dist/services/default-agent-instructions.d.ts +9 -0
  348. package/dist/services/default-agent-instructions.d.ts.map +1 -0
  349. package/dist/services/default-agent-instructions.js +20 -0
  350. package/dist/services/default-agent-instructions.js.map +1 -0
  351. package/dist/services/documents.d.ts +194 -0
  352. package/dist/services/documents.d.ts.map +1 -0
  353. package/dist/services/documents.js +407 -0
  354. package/dist/services/documents.js.map +1 -0
  355. package/dist/services/execution-workspace-policy.d.ts +21 -0
  356. package/dist/services/execution-workspace-policy.d.ts.map +1 -0
  357. package/dist/services/execution-workspace-policy.js +177 -0
  358. package/dist/services/execution-workspace-policy.js.map +1 -0
  359. package/dist/services/execution-workspaces.d.ts +22 -0
  360. package/dist/services/execution-workspaces.d.ts.map +1 -0
  361. package/dist/services/execution-workspaces.js +551 -0
  362. package/dist/services/execution-workspaces.js.map +1 -0
  363. package/dist/services/finance.d.ts +93 -0
  364. package/dist/services/finance.d.ts.map +1 -0
  365. package/dist/services/finance.js +120 -0
  366. package/dist/services/finance.js.map +1 -0
  367. package/dist/services/goals.d.ts +433 -0
  368. package/dist/services/goals.d.ts.map +1 -0
  369. package/dist/services/goals.js +54 -0
  370. package/dist/services/goals.js.map +1 -0
  371. package/dist/services/heartbeat-run-summary.d.ts +2 -0
  372. package/dist/services/heartbeat-run-summary.d.ts.map +1 -0
  373. package/dist/services/heartbeat-run-summary.js +30 -0
  374. package/dist/services/heartbeat-run-summary.js.map +1 -0
  375. package/dist/services/heartbeat.d.ts +839 -0
  376. package/dist/services/heartbeat.d.ts.map +1 -0
  377. package/dist/services/heartbeat.js +3303 -0
  378. package/dist/services/heartbeat.js.map +1 -0
  379. package/dist/services/hire-hook.d.ts +14 -0
  380. package/dist/services/hire-hook.d.ts.map +1 -0
  381. package/dist/services/hire-hook.js +85 -0
  382. package/dist/services/hire-hook.js.map +1 -0
  383. package/dist/services/index.d.ts +33 -0
  384. package/dist/services/index.d.ts.map +1 -0
  385. package/dist/services/index.js +33 -0
  386. package/dist/services/index.js.map +1 -0
  387. package/dist/services/instance-settings.d.ts +11 -0
  388. package/dist/services/instance-settings.d.ts.map +1 -0
  389. package/dist/services/instance-settings.js +116 -0
  390. package/dist/services/instance-settings.js.map +1 -0
  391. package/dist/services/issue-approvals.d.ts +56 -0
  392. package/dist/services/issue-approvals.d.ts.map +1 -0
  393. package/dist/services/issue-approvals.js +153 -0
  394. package/dist/services/issue-approvals.js.map +1 -0
  395. package/dist/services/issue-assignment-wakeup.d.ts +29 -0
  396. package/dist/services/issue-assignment-wakeup.d.ts.map +1 -0
  397. package/dist/services/issue-assignment-wakeup.js +22 -0
  398. package/dist/services/issue-assignment-wakeup.js.map +1 -0
  399. package/dist/services/issue-goal-fallback.d.ts +18 -0
  400. package/dist/services/issue-goal-fallback.d.ts.map +1 -0
  401. package/dist/services/issue-goal-fallback.js +33 -0
  402. package/dist/services/issue-goal-fallback.js.map +1 -0
  403. package/dist/services/issues.d.ts +564 -0
  404. package/dist/services/issues.d.ts.map +1 -0
  405. package/dist/services/issues.js +1541 -0
  406. package/dist/services/issues.js.map +1 -0
  407. package/dist/services/live-events.d.ts +17 -0
  408. package/dist/services/live-events.d.ts.map +1 -0
  409. package/dist/services/live-events.js +33 -0
  410. package/dist/services/live-events.js.map +1 -0
  411. package/dist/services/local-service-supervisor.d.ts +55 -0
  412. package/dist/services/local-service-supervisor.d.ts.map +1 -0
  413. package/dist/services/local-service-supervisor.js +240 -0
  414. package/dist/services/local-service-supervisor.js.map +1 -0
  415. package/dist/services/memoryExtractor.d.ts +34 -0
  416. package/dist/services/memoryExtractor.d.ts.map +1 -0
  417. package/dist/services/memoryExtractor.js +121 -0
  418. package/dist/services/memoryExtractor.js.map +1 -0
  419. package/dist/services/plugin-capability-validator.d.ts +108 -0
  420. package/dist/services/plugin-capability-validator.d.ts.map +1 -0
  421. package/dist/services/plugin-capability-validator.js +268 -0
  422. package/dist/services/plugin-capability-validator.js.map +1 -0
  423. package/dist/services/plugin-config-validator.d.ts +26 -0
  424. package/dist/services/plugin-config-validator.d.ts.map +1 -0
  425. package/dist/services/plugin-config-validator.js +41 -0
  426. package/dist/services/plugin-config-validator.js.map +1 -0
  427. package/dist/services/plugin-dev-watcher.d.ts +30 -0
  428. package/dist/services/plugin-dev-watcher.d.ts.map +1 -0
  429. package/dist/services/plugin-dev-watcher.js +241 -0
  430. package/dist/services/plugin-dev-watcher.js.map +1 -0
  431. package/dist/services/plugin-event-bus.d.ts +149 -0
  432. package/dist/services/plugin-event-bus.d.ts.map +1 -0
  433. package/dist/services/plugin-event-bus.js +258 -0
  434. package/dist/services/plugin-event-bus.js.map +1 -0
  435. package/dist/services/plugin-host-service-cleanup.d.ts +14 -0
  436. package/dist/services/plugin-host-service-cleanup.d.ts.map +1 -0
  437. package/dist/services/plugin-host-service-cleanup.js +37 -0
  438. package/dist/services/plugin-host-service-cleanup.js.map +1 -0
  439. package/dist/services/plugin-host-services.d.ts +13 -0
  440. package/dist/services/plugin-host-services.d.ts.map +1 -0
  441. package/dist/services/plugin-host-services.js +969 -0
  442. package/dist/services/plugin-host-services.js.map +1 -0
  443. package/dist/services/plugin-job-coordinator.d.ts +81 -0
  444. package/dist/services/plugin-job-coordinator.d.ts.map +1 -0
  445. package/dist/services/plugin-job-coordinator.js +172 -0
  446. package/dist/services/plugin-job-coordinator.js.map +1 -0
  447. package/dist/services/plugin-job-scheduler.d.ts +163 -0
  448. package/dist/services/plugin-job-scheduler.d.ts.map +1 -0
  449. package/dist/services/plugin-job-scheduler.js +454 -0
  450. package/dist/services/plugin-job-scheduler.js.map +1 -0
  451. package/dist/services/plugin-job-store.d.ts +208 -0
  452. package/dist/services/plugin-job-store.d.ts.map +1 -0
  453. package/dist/services/plugin-job-store.js +350 -0
  454. package/dist/services/plugin-job-store.js.map +1 -0
  455. package/dist/services/plugin-lifecycle.d.ts +203 -0
  456. package/dist/services/plugin-lifecycle.d.ts.map +1 -0
  457. package/dist/services/plugin-lifecycle.js +476 -0
  458. package/dist/services/plugin-lifecycle.js.map +1 -0
  459. package/dist/services/plugin-loader.d.ts +441 -0
  460. package/dist/services/plugin-loader.d.ts.map +1 -0
  461. package/dist/services/plugin-loader.js +1192 -0
  462. package/dist/services/plugin-loader.js.map +1 -0
  463. package/dist/services/plugin-log-retention.d.ts +20 -0
  464. package/dist/services/plugin-log-retention.d.ts.map +1 -0
  465. package/dist/services/plugin-log-retention.js +63 -0
  466. package/dist/services/plugin-log-retention.js.map +1 -0
  467. package/dist/services/plugin-manifest-validator.d.ts +79 -0
  468. package/dist/services/plugin-manifest-validator.d.ts.map +1 -0
  469. package/dist/services/plugin-manifest-validator.js +84 -0
  470. package/dist/services/plugin-manifest-validator.js.map +1 -0
  471. package/dist/services/plugin-registry.d.ts +2542 -0
  472. package/dist/services/plugin-registry.d.ts.map +1 -0
  473. package/dist/services/plugin-registry.js +539 -0
  474. package/dist/services/plugin-registry.js.map +1 -0
  475. package/dist/services/plugin-runtime-sandbox.d.ts +40 -0
  476. package/dist/services/plugin-runtime-sandbox.d.ts.map +1 -0
  477. package/dist/services/plugin-runtime-sandbox.js +154 -0
  478. package/dist/services/plugin-runtime-sandbox.js.map +1 -0
  479. package/dist/services/plugin-secrets-handler.d.ts +81 -0
  480. package/dist/services/plugin-secrets-handler.d.ts.map +1 -0
  481. package/dist/services/plugin-secrets-handler.js +275 -0
  482. package/dist/services/plugin-secrets-handler.js.map +1 -0
  483. package/dist/services/plugin-state-store.d.ts +92 -0
  484. package/dist/services/plugin-state-store.d.ts.map +1 -0
  485. package/dist/services/plugin-state-store.js +190 -0
  486. package/dist/services/plugin-state-store.js.map +1 -0
  487. package/dist/services/plugin-stream-bus.d.ts +29 -0
  488. package/dist/services/plugin-stream-bus.d.ts.map +1 -0
  489. package/dist/services/plugin-stream-bus.js +48 -0
  490. package/dist/services/plugin-stream-bus.js.map +1 -0
  491. package/dist/services/plugin-tool-dispatcher.d.ts +180 -0
  492. package/dist/services/plugin-tool-dispatcher.d.ts.map +1 -0
  493. package/dist/services/plugin-tool-dispatcher.js +224 -0
  494. package/dist/services/plugin-tool-dispatcher.js.map +1 -0
  495. package/dist/services/plugin-tool-registry.d.ts +192 -0
  496. package/dist/services/plugin-tool-registry.d.ts.map +1 -0
  497. package/dist/services/plugin-tool-registry.js +224 -0
  498. package/dist/services/plugin-tool-registry.js.map +1 -0
  499. package/dist/services/plugin-worker-manager.d.ts +260 -0
  500. package/dist/services/plugin-worker-manager.d.ts.map +1 -0
  501. package/dist/services/plugin-worker-manager.js +835 -0
  502. package/dist/services/plugin-worker-manager.js.map +1 -0
  503. package/dist/services/project-workspace-runtime-config.d.ts +4 -0
  504. package/dist/services/project-workspace-runtime-config.d.ts.map +1 -0
  505. package/dist/services/project-workspace-runtime-config.js +43 -0
  506. package/dist/services/project-workspace-runtime-config.js.map +1 -0
  507. package/dist/services/projects.d.ts +88 -0
  508. package/dist/services/projects.d.ts.map +1 -0
  509. package/dist/services/projects.js +669 -0
  510. package/dist/services/projects.js.map +1 -0
  511. package/dist/services/quota-windows.d.ts +9 -0
  512. package/dist/services/quota-windows.d.ts.map +1 -0
  513. package/dist/services/quota-windows.js +56 -0
  514. package/dist/services/quota-windows.js.map +1 -0
  515. package/dist/services/routines.d.ts +135 -0
  516. package/dist/services/routines.d.ts.map +1 -0
  517. package/dist/services/routines.js +1105 -0
  518. package/dist/services/routines.js.map +1 -0
  519. package/dist/services/run-log-store.d.ts +34 -0
  520. package/dist/services/run-log-store.d.ts.map +1 -0
  521. package/dist/services/run-log-store.js +109 -0
  522. package/dist/services/run-log-store.js.map +1 -0
  523. package/dist/services/secrets.d.ts +511 -0
  524. package/dist/services/secrets.d.ts.map +1 -0
  525. package/dist/services/secrets.js +289 -0
  526. package/dist/services/secrets.js.map +1 -0
  527. package/dist/services/sidebar-badges.d.ts +9 -0
  528. package/dist/services/sidebar-badges.d.ts.map +1 -0
  529. package/dist/services/sidebar-badges.js +33 -0
  530. package/dist/services/sidebar-badges.js.map +1 -0
  531. package/dist/services/work-products.d.ts +14 -0
  532. package/dist/services/work-products.d.ts.map +1 -0
  533. package/dist/services/work-products.js +100 -0
  534. package/dist/services/work-products.js.map +1 -0
  535. package/dist/services/workspace-operation-log-store.d.ts +33 -0
  536. package/dist/services/workspace-operation-log-store.d.ts.map +1 -0
  537. package/dist/services/workspace-operation-log-store.js +110 -0
  538. package/dist/services/workspace-operation-log-store.js.map +1 -0
  539. package/dist/services/workspace-operations.d.ts +44 -0
  540. package/dist/services/workspace-operations.d.ts.map +1 -0
  541. package/dist/services/workspace-operations.js +211 -0
  542. package/dist/services/workspace-operations.js.map +1 -0
  543. package/dist/services/workspace-runtime.d.ts +187 -0
  544. package/dist/services/workspace-runtime.d.ts.map +1 -0
  545. package/dist/services/workspace-runtime.js +1702 -0
  546. package/dist/services/workspace-runtime.js.map +1 -0
  547. package/dist/startup-banner.d.ts +31 -0
  548. package/dist/startup-banner.d.ts.map +1 -0
  549. package/dist/startup-banner.js +117 -0
  550. package/dist/startup-banner.js.map +1 -0
  551. package/dist/storage/index.d.ts +6 -0
  552. package/dist/storage/index.d.ts.map +1 -0
  553. package/dist/storage/index.js +29 -0
  554. package/dist/storage/index.js.map +1 -0
  555. package/dist/storage/local-disk-provider.d.ts +3 -0
  556. package/dist/storage/local-disk-provider.d.ts.map +1 -0
  557. package/dist/storage/local-disk-provider.js +79 -0
  558. package/dist/storage/local-disk-provider.js.map +1 -0
  559. package/dist/storage/provider-registry.d.ts +4 -0
  560. package/dist/storage/provider-registry.d.ts.map +1 -0
  561. package/dist/storage/provider-registry.js +15 -0
  562. package/dist/storage/provider-registry.js.map +1 -0
  563. package/dist/storage/s3-provider.d.ts +11 -0
  564. package/dist/storage/s3-provider.d.ts.map +1 -0
  565. package/dist/storage/s3-provider.js +123 -0
  566. package/dist/storage/s3-provider.js.map +1 -0
  567. package/dist/storage/service.d.ts +3 -0
  568. package/dist/storage/service.d.ts.map +1 -0
  569. package/dist/storage/service.js +120 -0
  570. package/dist/storage/service.js.map +1 -0
  571. package/dist/storage/types.d.ts +55 -0
  572. package/dist/storage/types.d.ts.map +1 -0
  573. package/dist/storage/types.js +2 -0
  574. package/dist/storage/types.js.map +1 -0
  575. package/dist/ui-branding.d.ts +13 -0
  576. package/dist/ui-branding.d.ts.map +1 -0
  577. package/dist/ui-branding.js +187 -0
  578. package/dist/ui-branding.js.map +1 -0
  579. package/dist/version.d.ts +2 -0
  580. package/dist/version.d.ts.map +1 -0
  581. package/dist/version.js +5 -0
  582. package/dist/version.js.map +1 -0
  583. package/dist/worktree-config.d.ts +19 -0
  584. package/dist/worktree-config.d.ts.map +1 -0
  585. package/dist/worktree-config.js +365 -0
  586. package/dist/worktree-config.js.map +1 -0
  587. package/package.json +91 -0
  588. package/skills/crewspace/SKILL.md +367 -0
  589. package/skills/crewspace/references/api-reference.md +676 -0
  590. package/skills/crewspace/references/company-skills.md +193 -0
  591. package/skills/crewspace-create-agent/SKILL.md +142 -0
  592. package/skills/crewspace-create-agent/references/api-reference.md +105 -0
  593. package/skills/crewspace-create-plugin/SKILL.md +101 -0
  594. package/skills/para-memory-files/SKILL.md +104 -0
  595. package/skills/para-memory-files/references/schemas.md +35 -0
  596. package/ui-dist/android-chrome-192x192.png +0 -0
  597. package/ui-dist/android-chrome-512x512.png +0 -0
  598. package/ui-dist/apple-touch-icon.png +0 -0
  599. package/ui-dist/assets/Office-JSp1M1WZ.js +1 -0
  600. package/ui-dist/assets/_basePickBy-s4e5ujOx.js +1 -0
  601. package/ui-dist/assets/_baseUniq-CZlZWBgA.js +1 -0
  602. package/ui-dist/assets/apl-B4CMkyY2.js +1 -0
  603. package/ui-dist/assets/arc-CKpxyOmJ.js +1 -0
  604. package/ui-dist/assets/architectureDiagram-VXUJARFQ-DGSV8xDY.js +36 -0
  605. package/ui-dist/assets/asciiarmor-Df11BRmG.js +1 -0
  606. package/ui-dist/assets/asn1-EdZsLKOL.js +1 -0
  607. package/ui-dist/assets/asterisk-B-8jnY81.js +1 -0
  608. package/ui-dist/assets/blockDiagram-VD42YOAC-D_3nEA4B.js +122 -0
  609. package/ui-dist/assets/brainfuck-C4LP7Hcl.js +1 -0
  610. package/ui-dist/assets/c4Diagram-YG6GDRKO-NqPZTfn7.js +10 -0
  611. package/ui-dist/assets/channel-D7AdA9V2.js +1 -0
  612. package/ui-dist/assets/chunk-4BX2VUAB-tMK9zEr7.js +1 -0
  613. package/ui-dist/assets/chunk-55IACEB6-DWaKiROy.js +1 -0
  614. package/ui-dist/assets/chunk-B4BG7PRW-CbA_TqG9.js +165 -0
  615. package/ui-dist/assets/chunk-DI55MBZ5-BWa54S__.js +220 -0
  616. package/ui-dist/assets/chunk-FMBD7UC4-DXu8dZmI.js +15 -0
  617. package/ui-dist/assets/chunk-QN33PNHL-BqB6ArE4.js +1 -0
  618. package/ui-dist/assets/chunk-QZHKN3VN-CERctbKo.js +1 -0
  619. package/ui-dist/assets/chunk-TZMSLE5B-Dp8FkMIs.js +1 -0
  620. package/ui-dist/assets/classDiagram-2ON5EDUG-DzVRFXNT.js +1 -0
  621. package/ui-dist/assets/classDiagram-v2-WZHVMYZB-DzVRFXNT.js +1 -0
  622. package/ui-dist/assets/clike-B9uivgTg.js +1 -0
  623. package/ui-dist/assets/clojure-BMjYHr_A.js +1 -0
  624. package/ui-dist/assets/clone-C_VGIz_D.js +1 -0
  625. package/ui-dist/assets/cmake-BQqOBYOt.js +1 -0
  626. package/ui-dist/assets/cobol-CWcv1MsR.js +1 -0
  627. package/ui-dist/assets/coffeescript-S37ZYGWr.js +1 -0
  628. package/ui-dist/assets/commonlisp-DBKNyK5s.js +1 -0
  629. package/ui-dist/assets/cose-bilkent-S5V4N54A-nuFb9gZh.js +1 -0
  630. package/ui-dist/assets/crystal-SjHAIU92.js +1 -0
  631. package/ui-dist/assets/css-BnMrqG3P.js +1 -0
  632. package/ui-dist/assets/cypher-C_CwsFkJ.js +1 -0
  633. package/ui-dist/assets/cytoscape.esm-BQaXIfA_.js +331 -0
  634. package/ui-dist/assets/d-pRatUO7H.js +1 -0
  635. package/ui-dist/assets/dagre-6UL2VRFP-COXI_RP-.js +4 -0
  636. package/ui-dist/assets/defaultLocale-DX6XiGOO.js +1 -0
  637. package/ui-dist/assets/diagram-PSM6KHXK-Cv3_gSji.js +24 -0
  638. package/ui-dist/assets/diagram-QEK2KX5R-EnFKfz5j.js +43 -0
  639. package/ui-dist/assets/diagram-S2PKOQOG-DFk9MizC.js +24 -0
  640. package/ui-dist/assets/diff-DbItnlRl.js +1 -0
  641. package/ui-dist/assets/dockerfile-BKs6k2Af.js +1 -0
  642. package/ui-dist/assets/dtd-DF_7sFjM.js +1 -0
  643. package/ui-dist/assets/dylan-DwRh75JA.js +1 -0
  644. package/ui-dist/assets/ebnf-CDyGwa7X.js +1 -0
  645. package/ui-dist/assets/ecl-Cabwm37j.js +1 -0
  646. package/ui-dist/assets/eiffel-CnydiIhH.js +1 -0
  647. package/ui-dist/assets/elm-vLlmbW-K.js +1 -0
  648. package/ui-dist/assets/erDiagram-Q2GNP2WA-BzTGjR4m.js +60 -0
  649. package/ui-dist/assets/erlang-BNw1qcRV.js +1 -0
  650. package/ui-dist/assets/factor-kuTfRLto.js +1 -0
  651. package/ui-dist/assets/fcl-Kvtd6kyn.js +1 -0
  652. package/ui-dist/assets/flowDiagram-NV44I4VS-BhxG9HVf.js +162 -0
  653. package/ui-dist/assets/forth-Ffai-XNe.js +1 -0
  654. package/ui-dist/assets/fortran-DYz_wnZ1.js +1 -0
  655. package/ui-dist/assets/ganttDiagram-JELNMOA3-D7x-T2Wm.js +267 -0
  656. package/ui-dist/assets/gas-Bneqetm1.js +1 -0
  657. package/ui-dist/assets/gherkin-heZmZLOM.js +1 -0
  658. package/ui-dist/assets/gitGraphDiagram-V2S2FVAM-3XW2I3EE.js +65 -0
  659. package/ui-dist/assets/graph-BVl_UcnC.js +1 -0
  660. package/ui-dist/assets/groovy-D9Dt4D0W.js +1 -0
  661. package/ui-dist/assets/haskell-Cw1EW3IL.js +1 -0
  662. package/ui-dist/assets/haxe-H-WmDvRZ.js +1 -0
  663. package/ui-dist/assets/http-DBlCnlav.js +1 -0
  664. package/ui-dist/assets/idl-BEugSyMb.js +1 -0
  665. package/ui-dist/assets/index-1uTJjl8a.js +1 -0
  666. package/ui-dist/assets/index-B7hacZaa.js +3 -0
  667. package/ui-dist/assets/index-BHf1Hzdf.css +1 -0
  668. package/ui-dist/assets/index-BSW5JwaH.js +1 -0
  669. package/ui-dist/assets/index-BZnHexpx.js +1 -0
  670. package/ui-dist/assets/index-BiQcZBBL.js +1 -0
  671. package/ui-dist/assets/index-BpFmY7hp.js +1 -0
  672. package/ui-dist/assets/index-C8TA_OLZ.js +1 -0
  673. package/ui-dist/assets/index-CMWIT5Av.js +1 -0
  674. package/ui-dist/assets/index-CVMKjtie.js +1 -0
  675. package/ui-dist/assets/index-Ce_rFd0H.js +2 -0
  676. package/ui-dist/assets/index-Cq0h5Zql.js +1 -0
  677. package/ui-dist/assets/index-Cz2Ibuki.js +227 -0
  678. package/ui-dist/assets/index-D5wnSweq.js +7 -0
  679. package/ui-dist/assets/index-DRpI4zkj.js +1 -0
  680. package/ui-dist/assets/index-DbELJA96.js +1 -0
  681. package/ui-dist/assets/index-IzLA2Fcd.js +1 -0
  682. package/ui-dist/assets/index-kLee7BdF.js +1 -0
  683. package/ui-dist/assets/index-vmBmu2hn.js +1 -0
  684. package/ui-dist/assets/infoDiagram-HS3SLOUP-BQIlcg9w.js +2 -0
  685. package/ui-dist/assets/init-Gi6I4Gst.js +1 -0
  686. package/ui-dist/assets/javascript-iXu5QeM3.js +1 -0
  687. package/ui-dist/assets/journeyDiagram-XKPGCS4Q-ob8GRXev.js +139 -0
  688. package/ui-dist/assets/julia-DuME0IfC.js +1 -0
  689. package/ui-dist/assets/kanban-definition-3W4ZIXB7-DRnEFfcR.js +89 -0
  690. package/ui-dist/assets/katex-O9d3_IXG.js +261 -0
  691. package/ui-dist/assets/layout-EfaGCOrM.js +1 -0
  692. package/ui-dist/assets/linear-DPC6vJZk.js +1 -0
  693. package/ui-dist/assets/livescript-BwQOo05w.js +1 -0
  694. package/ui-dist/assets/lua-BgMRiT3U.js +1 -0
  695. package/ui-dist/assets/mathematica-DTrFuWx2.js +1 -0
  696. package/ui-dist/assets/mbox-CNhZ1qSd.js +1 -0
  697. package/ui-dist/assets/mermaid.core-Cma2jq_8.js +256 -0
  698. package/ui-dist/assets/mindmap-definition-VGOIOE7T-D7BZyIVg.js +68 -0
  699. package/ui-dist/assets/mirc-CjQqDB4T.js +1 -0
  700. package/ui-dist/assets/mllike-CXdrOF99.js +1 -0
  701. package/ui-dist/assets/modelica-Dc1JOy9r.js +1 -0
  702. package/ui-dist/assets/mscgen-BA5vi2Kp.js +1 -0
  703. package/ui-dist/assets/mumps-BT43cFF4.js +1 -0
  704. package/ui-dist/assets/nginx-DdIZxoE0.js +1 -0
  705. package/ui-dist/assets/nsis-LdVXkNf5.js +1 -0
  706. package/ui-dist/assets/ntriples-BfvgReVJ.js +1 -0
  707. package/ui-dist/assets/octave-Ck1zUtKM.js +1 -0
  708. package/ui-dist/assets/ordinal-Cboi1Yqb.js +1 -0
  709. package/ui-dist/assets/oz-BzwKVEFT.js +1 -0
  710. package/ui-dist/assets/pascal--L3eBynH.js +1 -0
  711. package/ui-dist/assets/perl-CdXCOZ3F.js +1 -0
  712. package/ui-dist/assets/pieDiagram-ADFJNKIX-BvJHngd-.js +30 -0
  713. package/ui-dist/assets/pig-CevX1Tat.js +1 -0
  714. package/ui-dist/assets/powershell-CFHJl5sT.js +1 -0
  715. package/ui-dist/assets/properties-C78fOPTZ.js +1 -0
  716. package/ui-dist/assets/protobuf-ChK-085T.js +1 -0
  717. package/ui-dist/assets/pug-DeIclll2.js +1 -0
  718. package/ui-dist/assets/puppet-DMA9R1ak.js +1 -0
  719. package/ui-dist/assets/python-BuPzkPfP.js +1 -0
  720. package/ui-dist/assets/q-pXgVlZs6.js +1 -0
  721. package/ui-dist/assets/quadrantDiagram-AYHSOK5B-D_aE_NAU.js +7 -0
  722. package/ui-dist/assets/r-B6wPVr8A.js +1 -0
  723. package/ui-dist/assets/requirementDiagram-UZGBJVZJ-Co7ddlL_.js +64 -0
  724. package/ui-dist/assets/rpm-CTu-6PCP.js +1 -0
  725. package/ui-dist/assets/ruby-B2Rjki9n.js +1 -0
  726. package/ui-dist/assets/sankeyDiagram-TZEHDZUN-R0_C3AmA.js +10 -0
  727. package/ui-dist/assets/sas-B4kiWyti.js +1 -0
  728. package/ui-dist/assets/scheme-C41bIUwD.js +1 -0
  729. package/ui-dist/assets/sequenceDiagram-WL72ISMW-BcVqSpRw.js +145 -0
  730. package/ui-dist/assets/shell-CjFT_Tl9.js +1 -0
  731. package/ui-dist/assets/sieve-C3Gn_uJK.js +1 -0
  732. package/ui-dist/assets/simple-mode-GW_nhZxv.js +1 -0
  733. package/ui-dist/assets/smalltalk-CnHTOXQT.js +1 -0
  734. package/ui-dist/assets/solr-DehyRSwq.js +1 -0
  735. package/ui-dist/assets/sparql-DkYu6x3z.js +1 -0
  736. package/ui-dist/assets/spreadsheet-BCZA_wO0.js +1 -0
  737. package/ui-dist/assets/sql-D0XecflT.js +1 -0
  738. package/ui-dist/assets/stateDiagram-FKZM4ZOC-DYU4zTpw.js +1 -0
  739. package/ui-dist/assets/stateDiagram-v2-4FDKWEC3-BTQNL-wM.js +1 -0
  740. package/ui-dist/assets/stex-C3f8Ysf7.js +1 -0
  741. package/ui-dist/assets/stylus-B533Al4x.js +1 -0
  742. package/ui-dist/assets/swift-BzpIVaGY.js +1 -0
  743. package/ui-dist/assets/tcl-DVfN8rqt.js +1 -0
  744. package/ui-dist/assets/textile-CnDTJFAw.js +1 -0
  745. package/ui-dist/assets/tiddlywiki-DO-Gjzrf.js +1 -0
  746. package/ui-dist/assets/tiki-DGYXhP31.js +1 -0
  747. package/ui-dist/assets/timeline-definition-IT6M3QCI-CS7a2_SC.js +61 -0
  748. package/ui-dist/assets/toml-Bm5Em-hy.js +1 -0
  749. package/ui-dist/assets/treemap-GDKQZRPO-DXGAnUr4.js +162 -0
  750. package/ui-dist/assets/troff-wAsdV37c.js +1 -0
  751. package/ui-dist/assets/ttcn-CfJYG6tj.js +1 -0
  752. package/ui-dist/assets/ttcn-cfg-B9xdYoR4.js +1 -0
  753. package/ui-dist/assets/turtle-B1tBg_DP.js +1 -0
  754. package/ui-dist/assets/vb-CmGdzxic.js +1 -0
  755. package/ui-dist/assets/vbscript-BuJXcnF6.js +1 -0
  756. package/ui-dist/assets/velocity-D8B20fx6.js +1 -0
  757. package/ui-dist/assets/vendor-editor-C6NiDIhH.js +176 -0
  758. package/ui-dist/assets/vendor-query-Cn7TC_2z.js +9 -0
  759. package/ui-dist/assets/vendor-r3f-CKsrCNAb.js +98 -0
  760. package/ui-dist/assets/vendor-react-DGHjaq9o.js +28 -0
  761. package/ui-dist/assets/vendor-three-DXQ-izGk.js +3827 -0
  762. package/ui-dist/assets/vendor-ui-yncrCeEA.js +801 -0
  763. package/ui-dist/assets/verilog-C6RDOZhf.js +1 -0
  764. package/ui-dist/assets/vhdl-lSbBsy5d.js +1 -0
  765. package/ui-dist/assets/webidl-ZXfAyPTL.js +1 -0
  766. package/ui-dist/assets/xquery-DzFWVndE.js +1 -0
  767. package/ui-dist/assets/xychartDiagram-PRI3JC2R-D7cecXuv.js +7 -0
  768. package/ui-dist/assets/yacas-BJ4BC0dw.js +1 -0
  769. package/ui-dist/assets/z80-Hz9HOZM7.js +1 -0
  770. package/ui-dist/brands/opencode-logo-dark-square.svg +18 -0
  771. package/ui-dist/brands/opencode-logo-light-square.svg +18 -0
  772. package/ui-dist/favicon-16x16.png +0 -0
  773. package/ui-dist/favicon-32x32.png +0 -0
  774. package/ui-dist/favicon.ico +0 -0
  775. package/ui-dist/favicon.svg +9 -0
  776. package/ui-dist/index.html +55 -0
  777. package/ui-dist/models/agent-figure.glb +0 -0
  778. package/ui-dist/models/cars/1987_ferrari_f40.glb +0 -0
  779. package/ui-dist/models/cars/1987_mazda_rx-7_fc.glb +0 -0
  780. package/ui-dist/models/cars/1997_veilside_fortune_mazda_rx-7_fd_tokyo_drift.glb +0 -0
  781. package/ui-dist/models/cars/2010_r_magic_fd_armor_mazda_rx-7_fd3s.glb +0 -0
  782. package/ui-dist/models/cars/2023_lbsuper_silhouette_mazda_fd3s_rx-7.glb +0 -0
  783. package/ui-dist/models/chair.glb +0 -0
  784. package/ui-dist/models/filing-cabinet.glb +0 -0
  785. package/ui-dist/models/logos/nike_logo.glb +0 -0
  786. package/ui-dist/models/monitor.glb +0 -0
  787. package/ui-dist/models/movie_sonic_sonic_rumble.glb +0 -0
  788. package/ui-dist/models/office_chair (4).glb +0 -0
  789. package/ui-dist/models/plant-hanging.glb +0 -0
  790. package/ui-dist/models/plant-small.glb +0 -0
  791. package/ui-dist/models/plant-tall.glb +0 -0
  792. package/ui-dist/models/programmer_desktop_3d_pc.glb +0 -0
  793. package/ui-dist/models/rhyzome_plant.glb +0 -0
  794. package/ui-dist/models/server-rack.glb +0 -0
  795. package/ui-dist/models/simple_bunk_bed.glb +0 -0
  796. package/ui-dist/models/sofa.glb +0 -0
  797. package/ui-dist/models/table-round.glb +0 -0
  798. package/ui-dist/models/table.glb +0 -0
  799. package/ui-dist/models/tree/mango_tree.glb +0 -0
  800. package/ui-dist/models/whiteboard.glb +0 -0
  801. package/ui-dist/site.webmanifest +30 -0
  802. package/ui-dist/sw.js +42 -0
  803. package/ui-dist/worktree-favicon-16x16.png +0 -0
  804. package/ui-dist/worktree-favicon-32x32.png +0 -0
  805. package/ui-dist/worktree-favicon.ico +0 -0
  806. package/ui-dist/worktree-favicon.svg +9 -0
@@ -0,0 +1,28 @@
1
+ function Ie(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Gr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ue(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Kr(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var se={exports:{}},w={};/**
2
+ * @license React
3
+ * react.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Pe;function ct(){if(Pe)return w;Pe=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),a=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),m=Symbol.iterator;function v(u){return u===null||typeof u!="object"?null:(u=m&&u[m]||u["@@iterator"],typeof u=="function"?u:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,g={};function E(u,h,_){this.props=u,this.context=h,this.refs=g,this.updater=_||b}E.prototype.isReactComponent={},E.prototype.setState=function(u,h){if(typeof u!="object"&&typeof u!="function"&&u!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,u,h,"setState")},E.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function S(){}S.prototype=E.prototype;function y(u,h,_){this.props=u,this.context=h,this.refs=g,this.updater=_||b}var A=y.prototype=new S;A.constructor=y,R(A,E.prototype),A.isPureReactComponent=!0;var $=Array.isArray;function N(){}var x={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function H(u,h,_){var C=_.ref;return{$$typeof:e,type:u,key:h,ref:C!==void 0?C:null,props:_}}function z(u,h){return H(u.type,h,u.props)}function ue(u){return typeof u=="object"&&u!==null&&u.$$typeof===e}function at(u){var h={"=":"=0",":":"=2"};return"$"+u.replace(/[=:]/g,function(_){return h[_]})}var be=/\/+/g;function le(u,h){return typeof u=="object"&&u!==null&&u.key!=null?at(""+u.key):h.toString(36)}function it(u){switch(u.status){case"fulfilled":return u.value;case"rejected":throw u.reason;default:switch(typeof u.status=="string"?u.then(N,N):(u.status="pending",u.then(function(h){u.status==="pending"&&(u.status="fulfilled",u.value=h)},function(h){u.status==="pending"&&(u.status="rejected",u.reason=h)})),u.status){case"fulfilled":return u.value;case"rejected":throw u.reason}}throw u}function q(u,h,_,C,P){var T=typeof u;(T==="undefined"||T==="boolean")&&(u=null);var O=!1;if(u===null)O=!0;else switch(T){case"bigint":case"string":case"number":O=!0;break;case"object":switch(u.$$typeof){case e:case t:O=!0;break;case d:return O=u._init,q(O(u._payload),h,_,C,P)}}if(O)return P=P(u),O=C===""?"."+le(u,0):C,$(P)?(_="",O!=null&&(_=O.replace(be,"$&/")+"/"),q(P,h,_,"",function(st){return st})):P!=null&&(ue(P)&&(P=z(P,_+(P.key==null||u&&u.key===P.key?"":(""+P.key).replace(be,"$&/")+"/")+O)),h.push(P)),1;O=0;var j=C===""?".":C+":";if($(u))for(var D=0;D<u.length;D++)C=u[D],T=j+le(C,D),O+=q(C,h,_,T,P);else if(D=v(u),typeof D=="function")for(u=D.call(u),D=0;!(C=u.next()).done;)C=C.value,T=j+le(C,D++),O+=q(C,h,_,T,P);else if(T==="object"){if(typeof u.then=="function")return q(it(u),h,_,C,P);throw h=String(u),Error("Objects are not valid as a React child (found: "+(h==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":h)+"). If you meant to render a collection of children, use an array instead.")}return O}function ee(u,h,_){if(u==null)return u;var C=[],P=0;return q(u,C,"","",function(T){return h.call(_,T,P++)}),C}function ut(u){if(u._status===-1){var h=u._result;h=h(),h.then(function(_){(u._status===0||u._status===-1)&&(u._status=1,u._result=_)},function(_){(u._status===0||u._status===-1)&&(u._status=2,u._result=_)}),u._status===-1&&(u._status=0,u._result=h)}if(u._status===1)return u._result.default;throw u._result}var xe=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var h=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(h))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)},lt={map:ee,forEach:function(u,h,_){ee(u,function(){h.apply(this,arguments)},_)},count:function(u){var h=0;return ee(u,function(){h++}),h},toArray:function(u){return ee(u,function(h){return h})||[]},only:function(u){if(!ue(u))throw Error("React.Children.only expected to receive a single React element child.");return u}};return w.Activity=p,w.Children=lt,w.Component=E,w.Fragment=r,w.Profiler=o,w.PureComponent=y,w.StrictMode=n,w.Suspense=s,w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,w.__COMPILER_RUNTIME={__proto__:null,c:function(u){return x.H.useMemoCache(u)}},w.cache=function(u){return function(){return u.apply(null,arguments)}},w.cacheSignal=function(){return null},w.cloneElement=function(u,h,_){if(u==null)throw Error("The argument must be a React element, but you passed "+u+".");var C=R({},u.props),P=u.key;if(h!=null)for(T in h.key!==void 0&&(P=""+h.key),h)!F.call(h,T)||T==="key"||T==="__self"||T==="__source"||T==="ref"&&h.ref===void 0||(C[T]=h[T]);var T=arguments.length-2;if(T===1)C.children=_;else if(1<T){for(var O=Array(T),j=0;j<T;j++)O[j]=arguments[j+2];C.children=O}return H(u.type,P,C)},w.createContext=function(u){return u={$$typeof:l,_currentValue:u,_currentValue2:u,_threadCount:0,Provider:null,Consumer:null},u.Provider=u,u.Consumer={$$typeof:i,_context:u},u},w.createElement=function(u,h,_){var C,P={},T=null;if(h!=null)for(C in h.key!==void 0&&(T=""+h.key),h)F.call(h,C)&&C!=="key"&&C!=="__self"&&C!=="__source"&&(P[C]=h[C]);var O=arguments.length-2;if(O===1)P.children=_;else if(1<O){for(var j=Array(O),D=0;D<O;D++)j[D]=arguments[D+2];P.children=j}if(u&&u.defaultProps)for(C in O=u.defaultProps,O)P[C]===void 0&&(P[C]=O[C]);return H(u,T,P)},w.createRef=function(){return{current:null}},w.forwardRef=function(u){return{$$typeof:f,render:u}},w.isValidElement=ue,w.lazy=function(u){return{$$typeof:d,_payload:{_status:-1,_result:u},_init:ut}},w.memo=function(u,h){return{$$typeof:a,type:u,compare:h===void 0?null:h}},w.startTransition=function(u){var h=x.T,_={};x.T=_;try{var C=u(),P=x.S;P!==null&&P(_,C),typeof C=="object"&&C!==null&&typeof C.then=="function"&&C.then(N,xe)}catch(T){xe(T)}finally{h!==null&&_.types!==null&&(h.types=_.types),x.T=h}},w.unstable_useCacheRefresh=function(){return x.H.useCacheRefresh()},w.use=function(u){return x.H.use(u)},w.useActionState=function(u,h,_){return x.H.useActionState(u,h,_)},w.useCallback=function(u,h){return x.H.useCallback(u,h)},w.useContext=function(u){return x.H.useContext(u)},w.useDebugValue=function(){},w.useDeferredValue=function(u,h){return x.H.useDeferredValue(u,h)},w.useEffect=function(u,h){return x.H.useEffect(u,h)},w.useEffectEvent=function(u){return x.H.useEffectEvent(u)},w.useId=function(){return x.H.useId()},w.useImperativeHandle=function(u,h,_){return x.H.useImperativeHandle(u,h,_)},w.useInsertionEffect=function(u,h){return x.H.useInsertionEffect(u,h)},w.useLayoutEffect=function(u,h){return x.H.useLayoutEffect(u,h)},w.useMemo=function(u,h){return x.H.useMemo(u,h)},w.useOptimistic=function(u,h){return x.H.useOptimistic(u,h)},w.useReducer=function(u,h,_){return x.H.useReducer(u,h,_)},w.useRef=function(u){return x.H.useRef(u)},w.useState=function(u){return x.H.useState(u)},w.useSyncExternalStore=function(u,h,_){return x.H.useSyncExternalStore(u,h,_)},w.useTransition=function(){return x.H.useTransition()},w.version="19.2.4",w}var Te;function He(){return Te||(Te=1,se.exports=ct()),se.exports}var c=He();const ft=Ue(c),Vr=Ie({__proto__:null,default:ft},[c]);var ce={exports:{}},k={};/**
10
+ * @license React
11
+ * react-dom.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Oe;function dt(){if(Oe)return k;Oe=1;var e=He();function t(s){var a="https://react.dev/errors/"+s;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)a+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+s+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function i(s,a,d){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:p==null?null:""+p,children:s,containerInfo:a,implementation:d}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(s,a){if(s==="font")return"";if(typeof a=="string")return a==="use-credentials"?a:""}return k.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,k.createPortal=function(s,a){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)throw Error(t(299));return i(s,a,null,d)},k.flushSync=function(s){var a=l.T,d=n.p;try{if(l.T=null,n.p=2,s)return s()}finally{l.T=a,n.p=d,n.d.f()}},k.preconnect=function(s,a){typeof s=="string"&&(a?(a=a.crossOrigin,a=typeof a=="string"?a==="use-credentials"?a:"":void 0):a=null,n.d.C(s,a))},k.prefetchDNS=function(s){typeof s=="string"&&n.d.D(s)},k.preinit=function(s,a){if(typeof s=="string"&&a&&typeof a.as=="string"){var d=a.as,p=f(d,a.crossOrigin),m=typeof a.integrity=="string"?a.integrity:void 0,v=typeof a.fetchPriority=="string"?a.fetchPriority:void 0;d==="style"?n.d.S(s,typeof a.precedence=="string"?a.precedence:void 0,{crossOrigin:p,integrity:m,fetchPriority:v}):d==="script"&&n.d.X(s,{crossOrigin:p,integrity:m,fetchPriority:v,nonce:typeof a.nonce=="string"?a.nonce:void 0})}},k.preinitModule=function(s,a){if(typeof s=="string")if(typeof a=="object"&&a!==null){if(a.as==null||a.as==="script"){var d=f(a.as,a.crossOrigin);n.d.M(s,{crossOrigin:d,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0})}}else a==null&&n.d.M(s)},k.preload=function(s,a){if(typeof s=="string"&&typeof a=="object"&&a!==null&&typeof a.as=="string"){var d=a.as,p=f(d,a.crossOrigin);n.d.L(s,d,{crossOrigin:p,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,type:typeof a.type=="string"?a.type:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0,referrerPolicy:typeof a.referrerPolicy=="string"?a.referrerPolicy:void 0,imageSrcSet:typeof a.imageSrcSet=="string"?a.imageSrcSet:void 0,imageSizes:typeof a.imageSizes=="string"?a.imageSizes:void 0,media:typeof a.media=="string"?a.media:void 0})}},k.preloadModule=function(s,a){if(typeof s=="string")if(a){var d=f(a.as,a.crossOrigin);n.d.m(s,{as:typeof a.as=="string"&&a.as!=="script"?a.as:void 0,crossOrigin:d,integrity:typeof a.integrity=="string"?a.integrity:void 0})}else n.d.m(s)},k.requestFormReset=function(s){n.d.r(s)},k.unstable_batchedUpdates=function(s,a){return s(a)},k.useFormState=function(s,a,d){return l.H.useFormState(s,a,d)},k.useFormStatus=function(){return l.H.useHostTransitionStatus()},k.version="19.2.4",k}var Le;function pt(){if(Le)return ce.exports;Le=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),ce.exports=dt(),ce.exports}var je=pt();const ht=Ue(je),Jr=Ie({__proto__:null,default:ht},[je]);/**
18
+ * react-router v7.13.0
19
+ *
20
+ * Copyright (c) Remix Software Inc.
21
+ *
22
+ * This source code is licensed under the MIT license found in the
23
+ * LICENSE.md file in the root directory of this source tree.
24
+ *
25
+ * @license MIT
26
+ */var $e="popstate";function mt(e={}){function t(n,o){let{pathname:i,search:l,hash:f}=n.location;return he("",{pathname:i,search:l,hash:f},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function r(n,o){return typeof o=="string"?o:X(o)}return gt(t,r,null,e)}function L(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function I(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function yt(){return Math.random().toString(36).substring(2,10)}function Ae(e,t){return{usr:e.state,key:e.key,idx:t}}function he(e,t,r=null,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?G(t):t,state:r,key:t&&t.key||n||yt()}}function X({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function G(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function gt(e,t,r,n={}){let{window:o=document.defaultView,v5Compat:i=!1}=n,l=o.history,f="POP",s=null,a=d();a==null&&(a=0,l.replaceState({...l.state,idx:a},""));function d(){return(l.state||{idx:null}).idx}function p(){f="POP";let g=d(),E=g==null?null:g-a;a=g,s&&s({action:f,location:R.location,delta:E})}function m(g,E){f="PUSH";let S=he(R.location,g,E);a=d()+1;let y=Ae(S,a),A=R.createHref(S);try{l.pushState(y,"",A)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;o.location.assign(A)}i&&s&&s({action:f,location:R.location,delta:1})}function v(g,E){f="REPLACE";let S=he(R.location,g,E);a=d();let y=Ae(S,a),A=R.createHref(S);l.replaceState(y,"",A),i&&s&&s({action:f,location:R.location,delta:0})}function b(g){return vt(g)}let R={get action(){return f},get location(){return e(o,l)},listen(g){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener($e,p),s=g,()=>{o.removeEventListener($e,p),s=null}},createHref(g){return t(o,g)},createURL:b,encodeLocation(g){let E=b(g);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:m,replace:v,go(g){return l.go(g)}};return R}function vt(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),L(r,"No window.location.(origin|href) available to create URL");let n=typeof e=="string"?e:X(e);return n=n.replace(/ $/,"%20"),!t&&n.startsWith("//")&&(n=r+n),new URL(n,r)}function Fe(e,t,r="/"){return Et(e,t,r,!1)}function Et(e,t,r,n){let o=typeof t=="string"?G(t):t,i=W(o.pathname||"/",r);if(i==null)return null;let l=Be(e);Rt(l);let f=null;for(let s=0;f==null&&s<l.length;++s){let a=$t(i);f=Ot(l[s],a,n)}return f}function Be(e,t=[],r=[],n="",o=!1){let i=(l,f,s=o,a)=>{let d={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:f,route:l};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(n)&&s)return;L(d.relativePath.startsWith(n),`Absolute route path "${d.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(n.length)}let p=B([n,d.relativePath]),m=r.concat(d);l.children&&l.children.length>0&&(L(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),Be(l.children,t,m,p,s)),!(l.path==null&&!l.index)&&t.push({path:p,score:Pt(p,l.index),routesMeta:m})};return e.forEach((l,f)=>{var s;if(l.path===""||!((s=l.path)!=null&&s.includes("?")))i(l,f);else for(let a of We(l.path))i(l,f,!0,a)}),t}function We(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let l=We(n.join("/")),f=[];return f.push(...l.map(s=>s===""?i:[i,s].join("/"))),o&&f.push(...l),f.map(s=>e.startsWith("/")&&s===""?"/":s)}function Rt(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Tt(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var wt=/^:[\w-]+$/,Ct=3,_t=2,St=1,bt=10,xt=-2,ke=e=>e==="*";function Pt(e,t){let r=e.split("/"),n=r.length;return r.some(ke)&&(n+=xt),t&&(n+=_t),r.filter(o=>!ke(o)).reduce((o,i)=>o+(wt.test(i)?Ct:i===""?St:bt),n)}function Tt(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function Ot(e,t,r=!1){let{routesMeta:n}=e,o={},i="/",l=[];for(let f=0;f<n.length;++f){let s=n[f],a=f===n.length-1,d=i==="/"?t:t.slice(i.length)||"/",p=oe({path:s.relativePath,caseSensitive:s.caseSensitive,end:a},d),m=s.route;if(!p&&a&&r&&!n[n.length-1].route.index&&(p=oe({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},d)),!p)return null;Object.assign(o,p.params),l.push({params:o,pathname:B([i,p.pathname]),pathnameBase:Nt(B([i,p.pathnameBase])),route:m}),p.pathnameBase!=="/"&&(i=B([i,p.pathnameBase]))}return l}function oe(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=Lt(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let i=o[0],l=i.replace(/(.)\/+$/,"$1"),f=o.slice(1);return{params:n.reduce((a,{paramName:d,isOptional:p},m)=>{if(d==="*"){let b=f[m]||"";l=i.slice(0,i.length-b.length).replace(/(.)\/+$/,"$1")}const v=f[m];return p&&!v?a[d]=void 0:a[d]=(v||"").replace(/%2F/g,"/"),a},{}),pathname:i,pathnameBase:l,pattern:e}}function Lt(e,t=!1,r=!0){I(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,f,s)=>(n.push({paramName:f,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function $t(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return I(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function W(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}var At=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function kt(e,t="/"){let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?G(e):e,i;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?i=De(r.substring(1),"/"):i=De(r,t)):i=t,{pathname:i,search:Mt(n),hash:It(o)}}function De(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function fe(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Dt(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function ge(e){let t=Dt(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function ve(e,t,r,n=!1){let o;typeof e=="string"?o=G(e):(o={...e},L(!o.pathname||!o.pathname.includes("?"),fe("?","pathname","search",o)),L(!o.pathname||!o.pathname.includes("#"),fe("#","pathname","hash",o)),L(!o.search||!o.search.includes("#"),fe("#","search","hash",o)));let i=e===""||o.pathname==="",l=i?"/":o.pathname,f;if(l==null)f=r;else{let p=t.length-1;if(!n&&l.startsWith("..")){let m=l.split("/");for(;m[0]==="..";)m.shift(),p-=1;o.pathname=m.join("/")}f=p>=0?t[p]:"/"}let s=kt(o,f),a=l&&l!=="/"&&l.endsWith("/"),d=(i||l===".")&&r.endsWith("/");return!s.pathname.endsWith("/")&&(a||d)&&(s.pathname+="/"),s}var B=e=>e.join("/").replace(/\/\/+/g,"/"),Nt=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Mt=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,It=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Ut=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Ht(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function jt(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Ye=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ze(e,t){let r=e;if(typeof r!="string"||!At.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,o=!1;if(Ye)try{let i=new URL(window.location.href),l=r.startsWith("//")?new URL(i.protocol+r):new URL(r),f=W(l.pathname,t);l.origin===i.origin&&f!=null?r=f+l.search+l.hash:o=!0}catch{I(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:o,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var qe=["POST","PUT","PATCH","DELETE"];new Set(qe);var Ft=["GET",...qe];new Set(Ft);var K=c.createContext(null);K.displayName="DataRouter";var ae=c.createContext(null);ae.displayName="DataRouterState";var Bt=c.createContext(!1),Ge=c.createContext({isTransitioning:!1});Ge.displayName="ViewTransition";var Wt=c.createContext(new Map);Wt.displayName="Fetchers";var Yt=c.createContext(null);Yt.displayName="Await";var M=c.createContext(null);M.displayName="Navigation";var Q=c.createContext(null);Q.displayName="Location";var U=c.createContext({outlet:null,matches:[],isDataRoute:!1});U.displayName="Route";var Ee=c.createContext(null);Ee.displayName="RouteError";var Ke="REACT_ROUTER_ERROR",zt="REDIRECT",qt="ROUTE_ERROR_RESPONSE";function Gt(e){if(e.startsWith(`${Ke}:${zt}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function Kt(e){if(e.startsWith(`${Ke}:${qt}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new Ut(t.status,t.statusText,t.data)}catch{}}function Vt(e,{relative:t}={}){L(V(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=c.useContext(M),{hash:o,pathname:i,search:l}=Z(e,{relative:t}),f=i;return r!=="/"&&(f=i==="/"?r:B([r,i])),n.createHref({pathname:f,search:l,hash:o})}function V(){return c.useContext(Q)!=null}function Y(){return L(V(),"useLocation() may be used only in the context of a <Router> component."),c.useContext(Q).location}var Ve="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Je(e){c.useContext(M).static||c.useLayoutEffect(e)}function Re(){let{isDataRoute:e}=c.useContext(U);return e?cr():Jt()}function Jt(){L(V(),"useNavigate() may be used only in the context of a <Router> component.");let e=c.useContext(K),{basename:t,navigator:r}=c.useContext(M),{matches:n}=c.useContext(U),{pathname:o}=Y(),i=JSON.stringify(ge(n)),l=c.useRef(!1);return Je(()=>{l.current=!0}),c.useCallback((s,a={})=>{if(I(l.current,Ve),!l.current)return;if(typeof s=="number"){r.go(s);return}let d=ve(s,JSON.parse(i),o,a.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:B([t,d.pathname])),(a.replace?r.replace:r.push)(d,a.state,a)},[t,r,i,o,e])}var Xt=c.createContext(null);function Qt(e){let t=c.useContext(U).outlet;return c.useMemo(()=>t&&c.createElement(Xt.Provider,{value:e},t),[t,e])}function Xr(){let{matches:e}=c.useContext(U),t=e[e.length-1];return t?t.params:{}}function Z(e,{relative:t}={}){let{matches:r}=c.useContext(U),{pathname:n}=Y(),o=JSON.stringify(ge(r));return c.useMemo(()=>ve(e,JSON.parse(o),n,t==="path"),[e,o,n,t])}function Zt(e,t){return Xe(e,t)}function Xe(e,t,r,n,o){var S;L(V(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=c.useContext(M),{matches:l}=c.useContext(U),f=l[l.length-1],s=f?f.params:{},a=f?f.pathname:"/",d=f?f.pathnameBase:"/",p=f&&f.route;{let y=p&&p.path||"";Ze(a,!p||y.endsWith("*")||y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${a}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
27
+
28
+ Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}/*`}">.`)}let m=Y(),v;if(t){let y=typeof t=="string"?G(t):t;L(d==="/"||((S=y.pathname)==null?void 0:S.startsWith(d)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${y.pathname}" was given in the \`location\` prop.`),v=y}else v=m;let b=v.pathname||"/",R=b;if(d!=="/"){let y=d.replace(/^\//,"").split("/");R="/"+b.replace(/^\//,"").split("/").slice(y.length).join("/")}let g=Fe(e,{pathname:R});I(p||g!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),I(g==null||g[g.length-1].route.element!==void 0||g[g.length-1].route.Component!==void 0||g[g.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let E=or(g&&g.map(y=>Object.assign({},y,{params:Object.assign({},s,y.params),pathname:B([d,i.encodeLocation?i.encodeLocation(y.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?d:B([d,i.encodeLocation?i.encodeLocation(y.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathnameBase])})),l,r,n,o);return t&&E?c.createElement(Q.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},E):E}function er(){let e=sr(),t=Ht(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:n},i={padding:"2px 4px",backgroundColor:n},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=c.createElement(c.Fragment,null,c.createElement("p",null,"💿 Hey developer 👋"),c.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",c.createElement("code",{style:i},"ErrorBoundary")," or"," ",c.createElement("code",{style:i},"errorElement")," prop on your route.")),c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),r?c.createElement("pre",{style:o},r):null,l)}var tr=c.createElement(er,null),Qe=class extends c.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=Kt(e.digest);r&&(e=r)}let t=e!==void 0?c.createElement(U.Provider,{value:this.props.routeContext},c.createElement(Ee.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?c.createElement(rr,{error:e},t):t}};Qe.contextType=Bt;var de=new WeakMap;function rr({children:e,error:t}){let{basename:r}=c.useContext(M);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=Gt(t.digest);if(n){let o=de.get(t);if(o)throw o;let i=ze(n.location,r);if(Ye&&!de.get(t))if(i.isExternal||n.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const l=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:n.replace}));throw de.set(t,l),l}return c.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function nr({routeContext:e,match:t,children:r}){let n=c.useContext(K);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),c.createElement(U.Provider,{value:e},r)}function or(e,t=[],r=null,n=null,o=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,l=r==null?void 0:r.errors;if(l!=null){let d=i.findIndex(p=>p.route.id&&(l==null?void 0:l[p.route.id])!==void 0);L(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),i=i.slice(0,Math.min(i.length,d+1))}let f=!1,s=-1;if(r)for(let d=0;d<i.length;d++){let p=i[d];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(s=d),p.route.id){let{loaderData:m,errors:v}=r,b=p.route.loader&&!m.hasOwnProperty(p.route.id)&&(!v||v[p.route.id]===void 0);if(p.route.lazy||b){f=!0,s>=0?i=i.slice(0,s+1):i=[i[0]];break}}}let a=r&&n?(d,p)=>{var m,v;n(d,{location:r.location,params:((v=(m=r.matches)==null?void 0:m[0])==null?void 0:v.params)??{},unstable_pattern:jt(r.matches),errorInfo:p})}:void 0;return i.reduceRight((d,p,m)=>{let v,b=!1,R=null,g=null;r&&(v=l&&p.route.id?l[p.route.id]:void 0,R=p.route.errorElement||tr,f&&(s<0&&m===0?(Ze("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,g=null):s===m&&(b=!0,g=p.route.hydrateFallbackElement||null)));let E=t.concat(i.slice(0,m+1)),S=()=>{let y;return v?y=R:b?y=g:p.route.Component?y=c.createElement(p.route.Component,null):p.route.element?y=p.route.element:y=d,c.createElement(nr,{match:p,routeContext:{outlet:d,matches:E,isDataRoute:r!=null},children:y})};return r&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?c.createElement(Qe,{location:r.location,revalidation:r.revalidation,component:R,error:v,children:S(),routeContext:{outlet:null,matches:E,isDataRoute:!0},onError:a}):S()},null)}function we(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ar(e){let t=c.useContext(K);return L(t,we(e)),t}function ir(e){let t=c.useContext(ae);return L(t,we(e)),t}function ur(e){let t=c.useContext(U);return L(t,we(e)),t}function Ce(e){let t=ur(e),r=t.matches[t.matches.length-1];return L(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function lr(){return Ce("useRouteId")}function sr(){var n;let e=c.useContext(Ee),t=ir("useRouteError"),r=Ce("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}function cr(){let{router:e}=ar("useNavigate"),t=Ce("useNavigate"),r=c.useRef(!1);return Je(()=>{r.current=!0}),c.useCallback(async(o,i={})=>{I(r.current,Ve),r.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var Ne={};function Ze(e,t,r){!t&&!Ne[e]&&(Ne[e]=!0,I(!1,r))}c.memo(fr);function fr({routes:e,future:t,state:r,onError:n}){return Xe(e,void 0,r,n,t)}function Qr({to:e,replace:t,state:r,relative:n}){L(V(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=c.useContext(M);I(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:i}=c.useContext(U),{pathname:l}=Y(),f=Re(),s=ve(e,ge(i),l,n==="path"),a=JSON.stringify(s);return c.useEffect(()=>{f(JSON.parse(a),{replace:t,state:r,relative:n})},[f,a,n,t,r]),null}function Zr(e){return Qt(e.context)}function dr(e){L(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function pr({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:o,static:i=!1,unstable_useTransitions:l}){L(!V(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),s=c.useMemo(()=>({basename:f,navigator:o,static:i,unstable_useTransitions:l,future:{}}),[f,o,i,l]);typeof r=="string"&&(r=G(r));let{pathname:a="/",search:d="",hash:p="",state:m=null,key:v="default"}=r,b=c.useMemo(()=>{let R=W(a,f);return R==null?null:{location:{pathname:R,search:d,hash:p,state:m,key:v},navigationType:n}},[f,a,d,p,m,v,n]);return I(b!=null,`<Router basename="${f}"> is not able to match the URL "${a}${d}${p}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:c.createElement(M.Provider,{value:s},c.createElement(Q.Provider,{children:t,value:b}))}function en({children:e,location:t}){return Zt(me(e),t)}function me(e,t=[]){let r=[];return c.Children.forEach(e,(n,o)=>{if(!c.isValidElement(n))return;let i=[...t,o];if(n.type===c.Fragment){r.push.apply(r,me(n.props.children,i));return}L(n.type===dr,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),L(!n.props.index||!n.props.children,"An index route cannot have child routes.");let l={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,middleware:n.props.middleware,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=me(n.props.children,i)),r.push(l)}),r}var re="get",ne="application/x-www-form-urlencoded";function ie(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function hr(e){return ie(e)&&e.tagName.toLowerCase()==="button"}function mr(e){return ie(e)&&e.tagName.toLowerCase()==="form"}function yr(e){return ie(e)&&e.tagName.toLowerCase()==="input"}function gr(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function vr(e,t){return e.button===0&&(!t||t==="_self")&&!gr(e)}function ye(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(o=>[r,o]):[[r,n]])},[]))}function Er(e,t){let r=ye(e);return t&&t.forEach((n,o)=>{r.has(o)||t.getAll(o).forEach(i=>{r.append(o,i)})}),r}var te=null;function Rr(){if(te===null)try{new FormData(document.createElement("form"),0),te=!1}catch{te=!0}return te}var wr=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pe(e){return e!=null&&!wr.has(e)?(I(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ne}"`),null):e}function Cr(e,t){let r,n,o,i,l;if(mr(e)){let f=e.getAttribute("action");n=f?W(f,t):null,r=e.getAttribute("method")||re,o=pe(e.getAttribute("enctype"))||ne,i=new FormData(e)}else if(hr(e)||yr(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||f.getAttribute("action");if(n=s?W(s,t):null,r=e.getAttribute("formmethod")||f.getAttribute("method")||re,o=pe(e.getAttribute("formenctype"))||pe(f.getAttribute("enctype"))||ne,i=new FormData(f,e),!Rr()){let{name:a,type:d,value:p}=e;if(d==="image"){let m=a?`${a}.`:"";i.append(`${m}x`,"0"),i.append(`${m}y`,"0")}else a&&i.append(a,p)}}else{if(ie(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=re,n=null,o=ne,l=e}return i&&o==="text/plain"&&(l=i,i=void 0),{action:n,method:r.toLowerCase(),encType:o,formData:i,body:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function _e(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function _r(e,t,r,n){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${n}`:o.pathname=`${o.pathname}.${n}`:o.pathname==="/"?o.pathname=`_root.${n}`:t&&W(o.pathname,t)==="/"?o.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${n}`,o}async function Sr(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function br(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function xr(e,t,r){let n=await Promise.all(e.map(async o=>{let i=t.routes[o.route.id];if(i){let l=await Sr(i,r);return l.links?l.links():[]}return[]}));return Lr(n.flat(1).filter(br).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Me(e,t,r,n,o,i){let l=(s,a)=>r[a]?s.route.id!==r[a].route.id:!0,f=(s,a)=>{var d;return r[a].pathname!==s.pathname||((d=r[a].route.path)==null?void 0:d.endsWith("*"))&&r[a].params["*"]!==s.params["*"]};return i==="assets"?t.filter((s,a)=>l(s,a)||f(s,a)):i==="data"?t.filter((s,a)=>{var p;let d=n.routes[s.route.id];if(!d||!d.hasLoader)return!1;if(l(s,a)||f(s,a))return!0;if(s.route.shouldRevalidate){let m=s.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((p=r[0])==null?void 0:p.params)||{},nextUrl:new URL(e,window.origin),nextParams:s.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function Pr(e,t,{includeHydrateFallback:r}={}){return Tr(e.map(n=>{let o=t.routes[n.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),r&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function Tr(e){return[...new Set(e)]}function Or(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function Lr(e,t){let r=new Set;return new Set(t),e.reduce((n,o)=>{let i=JSON.stringify(Or(o));return r.has(i)||(r.add(i),n.push({key:i,link:o})),n},[])}function et(){let e=c.useContext(K);return _e(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function $r(){let e=c.useContext(ae);return _e(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Se=c.createContext(void 0);Se.displayName="FrameworkContext";function tt(){let e=c.useContext(Se);return _e(e,"You must render this element inside a <HydratedRouter> element"),e}function Ar(e,t){let r=c.useContext(Se),[n,o]=c.useState(!1),[i,l]=c.useState(!1),{onFocus:f,onBlur:s,onMouseEnter:a,onMouseLeave:d,onTouchStart:p}=t,m=c.useRef(null);c.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let R=E=>{E.forEach(S=>{l(S.isIntersecting)})},g=new IntersectionObserver(R,{threshold:.5});return m.current&&g.observe(m.current),()=>{g.disconnect()}}},[e]),c.useEffect(()=>{if(n){let R=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(R)}}},[n]);let v=()=>{o(!0)},b=()=>{o(!1),l(!1)};return r?e!=="intent"?[i,m,{}]:[i,m,{onFocus:J(f,v),onBlur:J(s,b),onMouseEnter:J(a,v),onMouseLeave:J(d,b),onTouchStart:J(p,v)}]:[!1,m,{}]}function J(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function kr({page:e,...t}){let{router:r}=et(),n=c.useMemo(()=>Fe(r.routes,e,r.basename),[r.routes,e,r.basename]);return n?c.createElement(Nr,{page:e,matches:n,...t}):null}function Dr(e){let{manifest:t,routeModules:r}=tt(),[n,o]=c.useState([]);return c.useEffect(()=>{let i=!1;return xr(e,t,r).then(l=>{i||o(l)}),()=>{i=!0}},[e,t,r]),n}function Nr({page:e,matches:t,...r}){let n=Y(),{future:o,manifest:i,routeModules:l}=tt(),{basename:f}=et(),{loaderData:s,matches:a}=$r(),d=c.useMemo(()=>Me(e,t,a,i,n,"data"),[e,t,a,i,n]),p=c.useMemo(()=>Me(e,t,a,i,n,"assets"),[e,t,a,i,n]),m=c.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let R=new Set,g=!1;if(t.forEach(S=>{var A;let y=i.routes[S.route.id];!y||!y.hasLoader||(!d.some($=>$.route.id===S.route.id)&&S.route.id in s&&((A=l[S.route.id])!=null&&A.shouldRevalidate)||y.hasClientLoader?g=!0:R.add(S.route.id))}),R.size===0)return[];let E=_r(e,f,o.unstable_trailingSlashAwareDataRequests,"data");return g&&R.size>0&&E.searchParams.set("_routes",t.filter(S=>R.has(S.route.id)).map(S=>S.route.id).join(",")),[E.pathname+E.search]},[f,o.unstable_trailingSlashAwareDataRequests,s,n,i,d,t,e,l]),v=c.useMemo(()=>Pr(p,i),[p,i]),b=Dr(p);return c.createElement(c.Fragment,null,m.map(R=>c.createElement("link",{key:R,rel:"prefetch",as:"fetch",href:R,...r})),v.map(R=>c.createElement("link",{key:R,rel:"modulepreload",href:R,...r})),b.map(({key:R,link:g})=>c.createElement("link",{key:R,nonce:r.nonce,...g,crossOrigin:g.crossOrigin??r.crossOrigin})))}function Mr(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var Ir=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ir&&(window.__reactRouterVersion="7.13.0")}catch{}function tn({basename:e,children:t,unstable_useTransitions:r,window:n}){let o=c.useRef();o.current==null&&(o.current=mt({window:n,v5Compat:!0}));let i=o.current,[l,f]=c.useState({action:i.action,location:i.location}),s=c.useCallback(a=>{r===!1?f(a):c.startTransition(()=>f(a))},[r]);return c.useLayoutEffect(()=>i.listen(s),[i,s]),c.createElement(pr,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:i,unstable_useTransitions:r})}var rt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nt=c.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:o,reloadDocument:i,replace:l,state:f,target:s,to:a,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:m,...v},b){let{basename:R,unstable_useTransitions:g}=c.useContext(M),E=typeof a=="string"&&rt.test(a),S=ze(a,R);a=S.to;let y=Vt(a,{relative:o}),[A,$,N]=Ar(n,v),x=Fr(a,{replace:l,state:f,target:s,preventScrollReset:d,relative:o,viewTransition:p,unstable_defaultShouldRevalidate:m,unstable_useTransitions:g});function F(z){t&&t(z),z.defaultPrevented||x(z)}let H=c.createElement("a",{...v,...N,href:S.absoluteURL||y,onClick:S.isExternal||i?t:F,ref:Mr(b,$),target:s,"data-discover":!E&&r==="render"?"true":void 0});return A&&!E?c.createElement(c.Fragment,null,H,c.createElement(kr,{page:y})):H});nt.displayName="Link";var Ur=c.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:o=!1,style:i,to:l,viewTransition:f,children:s,...a},d){let p=Z(l,{relative:a.relative}),m=Y(),v=c.useContext(ae),{navigator:b,basename:R}=c.useContext(M),g=v!=null&&qr(p)&&f===!0,E=b.encodeLocation?b.encodeLocation(p).pathname:p.pathname,S=m.pathname,y=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;r||(S=S.toLowerCase(),y=y?y.toLowerCase():null,E=E.toLowerCase()),y&&R&&(y=W(y,R)||y);const A=E!=="/"&&E.endsWith("/")?E.length-1:E.length;let $=S===E||!o&&S.startsWith(E)&&S.charAt(A)==="/",N=y!=null&&(y===E||!o&&y.startsWith(E)&&y.charAt(E.length)==="/"),x={isActive:$,isPending:N,isTransitioning:g},F=$?t:void 0,H;typeof n=="function"?H=n(x):H=[n,$?"active":null,N?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let z=typeof i=="function"?i(x):i;return c.createElement(nt,{...a,"aria-current":F,className:H,ref:d,style:z,to:l,viewTransition:f},typeof s=="function"?s(x):s)});Ur.displayName="NavLink";var Hr=c.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:o,state:i,method:l=re,action:f,onSubmit:s,relative:a,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:m,...v},b)=>{let{unstable_useTransitions:R}=c.useContext(M),g=Yr(),E=zr(f,{relative:a}),S=l.toLowerCase()==="get"?"get":"post",y=typeof f=="string"&&rt.test(f),A=$=>{if(s&&s($),$.defaultPrevented)return;$.preventDefault();let N=$.nativeEvent.submitter,x=(N==null?void 0:N.getAttribute("formmethod"))||l,F=()=>g(N||$.currentTarget,{fetcherKey:t,method:x,navigate:r,replace:o,state:i,relative:a,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:m});R&&r!==!1?c.startTransition(()=>F()):F()};return c.createElement("form",{ref:b,method:S,action:E,onSubmit:n?s:A,...v,"data-discover":!y&&e==="render"?"true":void 0})});Hr.displayName="Form";function jr(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ot(e){let t=c.useContext(K);return L(t,jr(e)),t}function Fr(e,{target:t,replace:r,state:n,preventScrollReset:o,relative:i,viewTransition:l,unstable_defaultShouldRevalidate:f,unstable_useTransitions:s}={}){let a=Re(),d=Y(),p=Z(e,{relative:i});return c.useCallback(m=>{if(vr(m,t)){m.preventDefault();let v=r!==void 0?r:X(d)===X(p),b=()=>a(e,{replace:v,state:n,preventScrollReset:o,relative:i,viewTransition:l,unstable_defaultShouldRevalidate:f});s?c.startTransition(()=>b()):b()}},[d,a,p,r,n,t,e,o,i,l,f,s])}function rn(e){I(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=c.useRef(ye(e)),r=c.useRef(!1),n=Y(),o=c.useMemo(()=>Er(n.search,r.current?null:t.current),[n.search]),i=Re(),l=c.useCallback((f,s)=>{const a=ye(typeof f=="function"?f(new URLSearchParams(o)):f);r.current=!0,i("?"+a,s)},[i,o]);return[o,l]}var Br=0,Wr=()=>`__${String(++Br)}__`;function Yr(){let{router:e}=ot("useSubmit"),{basename:t}=c.useContext(M),r=lr(),n=e.fetch,o=e.navigate;return c.useCallback(async(i,l={})=>{let{action:f,method:s,encType:a,formData:d,body:p}=Cr(i,t);if(l.navigate===!1){let m=l.fetcherKey||Wr();await n(m,r,l.action||f,{unstable_defaultShouldRevalidate:l.unstable_defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:d,body:p,formMethod:l.method||s,formEncType:l.encType||a,flushSync:l.flushSync})}else await o(l.action||f,{unstable_defaultShouldRevalidate:l.unstable_defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:d,body:p,formMethod:l.method||s,formEncType:l.encType||a,replace:l.replace,state:l.state,fromRouteId:r,flushSync:l.flushSync,viewTransition:l.viewTransition})},[n,o,t,r])}function zr(e,{relative:t}={}){let{basename:r}=c.useContext(M),n=c.useContext(U);L(n,"useFormAction must be used inside a RouteContext");let[o]=n.matches.slice(-1),i={...Z(e||".",{relative:t})},l=Y();if(e==null){i.search=l.search;let f=new URLSearchParams(i.search),s=f.getAll("index");if(s.some(d=>d==="")){f.delete("index"),s.filter(p=>p).forEach(p=>f.append("index",p));let d=f.toString();i.search=d?`?${d}`:""}}return(!e||e===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(i.pathname=i.pathname==="/"?r:B([r,i.pathname])),X(i)}function nn(e,t){let{capture:r}={};c.useEffect(()=>{let n=r!=null?{capture:r}:void 0;return window.addEventListener("beforeunload",e,n),()=>{window.removeEventListener("beforeunload",e,n)}},[e,r])}function qr(e,{relative:t}={}){let r=c.useContext(Ge);L(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=ot("useViewTransitionState"),o=Z(e,{relative:t});if(!r.isTransitioning)return!1;let i=W(r.currentLocation.pathname,n)||r.currentLocation.pathname,l=W(r.nextLocation.pathname,n)||r.nextLocation.pathname;return oe(o.pathname,l)!=null||oe(o.pathname,i)!=null}export{tn as B,nt as L,Ur as N,Zr as O,ft as R,je as a,Vr as b,ht as c,Gr as d,He as e,pt as f,Ue as g,Y as h,Re as i,Qr as j,nn as k,rn as l,en as m,dr as n,Jr as o,Kr as p,c as r,Xr as u};