@claudiolabs/claudio 0.1.9 → 0.1.10

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 (813) hide show
  1. package/dist/chunks/AgentTool-0.1.10-6d1adwh4.mjs +1 -0
  2. package/dist/chunks/App-0.1.10-kcqgpy9v.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.1.10-276swzgm.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.1.10-zy1wpm5p.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.1.10-wm40g3s8.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.1.10-s6979mex.mjs +1 -0
  7. package/dist/chunks/ClaudeInChromeOnboarding-0.1.10-r7fr5krr.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.10-r34sxess.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.1.10-fkrt161g.mjs +1 -0
  10. package/dist/chunks/DiffDialog-0.1.10-z3c417rj.mjs +3 -0
  11. package/dist/chunks/Doctor-0.1.10-hzxpkma0.mjs +1 -0
  12. package/dist/chunks/Grove-0.1.10-k7t0bk1q.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.1.10-9nmcsqzc.mjs +1 -0
  14. package/dist/chunks/InProcessTransport-0.1.10-wpgrvt4k.mjs +1 -0
  15. package/dist/chunks/InvalidConfigDialog-0.1.10-1yxptsrm.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-0.1.10-2dx3wzpc.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-0.1.10-52vcfe6j.mjs +1 -0
  18. package/dist/chunks/Onboarding-0.1.10-sshvgxhv.mjs +1 -0
  19. package/dist/chunks/ProviderManager-0.1.10-gk479qf3.mjs +1 -0
  20. package/dist/chunks/REPL-0.1.10-pzwdjhkc.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-0.1.10-h4qtmeht.mjs +1 -0
  22. package/dist/chunks/SnapshotUpdateDialog-0.1.10-7pnzpe15.mjs +1 -0
  23. package/dist/chunks/TeleportProgress-0.1.10-pna8cvtz.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-0.1.10-qgt41j05.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-0.1.10-yhws2rqe.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-0.1.10-235npnf1.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-0.1.10-9dwz8tfs.mjs +1 -0
  28. package/dist/chunks/TrustDialog-0.1.10-j46d8gme.mjs +1 -0
  29. package/dist/chunks/activeProvider-0.1.10-mc05hsn1.mjs +1 -0
  30. package/dist/chunks/add-dir-0.1.10-67yt41qd.mjs +1 -0
  31. package/dist/chunks/agents-0.1.10-c6k1gjp7.mjs +3 -0
  32. package/dist/chunks/agents-0.1.10-ezzxfn1m.mjs +111 -0
  33. package/dist/chunks/api-0.1.10-712k136n.mjs +1 -0
  34. package/dist/chunks/asciicast-0.1.10-p5232pbe.mjs +1 -0
  35. package/dist/chunks/assistant-0.1.10-ghtz2fm5.mjs +1 -0
  36. package/dist/chunks/auth-0.1.10-ec2e3mg3.mjs +1 -0
  37. package/dist/chunks/auth-0.1.10-pnnxbpmz.mjs +1 -0
  38. package/dist/chunks/autoMode-0.1.10-en4g4zp3.mjs +48 -0
  39. package/dist/chunks/backgroundHousekeeping-0.1.10-w42bm2y9.mjs +1 -0
  40. package/dist/chunks/branch-0.1.10-z00acm0q.mjs +4 -0
  41. package/dist/chunks/bridgePointer-0.1.10-0fpe1aqp.mjs +1 -0
  42. package/dist/chunks/btw-0.1.10-zz9v05r2.mjs +1 -0
  43. package/dist/chunks/buddy-0.1.10-g62mmn7n.mjs +3 -0
  44. package/dist/chunks/cacache-0.1.10-jdqat7je.mjs +1 -0
  45. package/dist/chunks/cache-probe-0.1.10-m5je5wda.mjs +21 -0
  46. package/dist/chunks/cacheStats-0.1.10-h3wmx4ck.mjs +4 -0
  47. package/dist/chunks/caches-0.1.10-gfv0fw3r.mjs +1 -0
  48. package/dist/chunks/chrome-0.1.10-vn58ms2z.mjs +1 -0
  49. package/dist/chunks/chromeNativeHost-0.1.10-1546eayv.mjs +2 -0
  50. package/dist/chunks/claude-for-chrome-mcp-0.1.10-4pjczkdy.mjs +1 -0
  51. package/dist/chunks/claudeDesktop-0.1.10-gxr4sfek.mjs +1 -0
  52. package/dist/chunks/claudemd-0.1.10-fxjaqw0j.mjs +1 -0
  53. package/dist/chunks/clear-0.1.10-7a42j19v.mjs +1 -0
  54. package/dist/chunks/clearTerminal-0.1.10-vb1ec5bk.mjs +1 -0
  55. package/dist/chunks/cli-0.1.10-0n4bjm9z.mjs +3 -0
  56. package/dist/chunks/cli-0.1.10-0zwk2w6t.mjs +3 -0
  57. package/dist/chunks/cli-0.1.10-17f08ra3.mjs +2 -0
  58. package/dist/chunks/cli-0.1.10-19jdke0x.mjs +2 -0
  59. package/dist/chunks/cli-0.1.10-1faf50d6.mjs +2 -0
  60. package/dist/chunks/cli-0.1.10-1remt68x.mjs +2 -0
  61. package/dist/chunks/cli-0.1.10-1zgq248j.mjs +2 -0
  62. package/dist/chunks/cli-0.1.10-227xyew7.mjs +2 -0
  63. package/dist/chunks/cli-0.1.10-283zk2ee.mjs +2 -0
  64. package/dist/chunks/cli-0.1.10-28zx3btb.mjs +14 -0
  65. package/dist/chunks/cli-0.1.10-2a49sq4g.mjs +2 -0
  66. package/dist/chunks/cli-0.1.10-2ahvbvra.mjs +2 -0
  67. package/dist/chunks/cli-0.1.10-2gmmnep8.mjs +2 -0
  68. package/dist/chunks/cli-0.1.10-2k83cndj.mjs +2 -0
  69. package/dist/chunks/cli-0.1.10-2mqddc7q.mjs +31 -0
  70. package/dist/chunks/cli-0.1.10-2tygs780.mjs +2 -0
  71. package/dist/chunks/cli-0.1.10-3chjvgrj.mjs +2 -0
  72. package/dist/chunks/cli-0.1.10-3d0w3dmn.mjs +12 -0
  73. package/dist/chunks/cli-0.1.10-3q43p3wr.mjs +11 -0
  74. package/dist/chunks/cli-0.1.10-3s7cftaq.mjs +39 -0
  75. package/dist/chunks/cli-0.1.10-3zkqq9sp.mjs +2 -0
  76. package/dist/chunks/cli-0.1.10-4a42q38j.mjs +2 -0
  77. package/dist/chunks/cli-0.1.10-4c5p0gjr.mjs +3 -0
  78. package/dist/chunks/cli-0.1.10-4jsc4zm5.mjs +2 -0
  79. package/dist/chunks/cli-0.1.10-4md6sg2a.mjs +2 -0
  80. package/dist/chunks/cli-0.1.10-4n8p34vn.mjs +2 -0
  81. package/dist/chunks/cli-0.1.10-4n8rvtk0.mjs +2 -0
  82. package/dist/chunks/cli-0.1.10-4nrdrp9t.mjs +21 -0
  83. package/dist/chunks/cli-0.1.10-4q7m47pn.mjs +3 -0
  84. package/dist/chunks/cli-0.1.10-4vnky3f9.mjs +3 -0
  85. package/dist/chunks/cli-0.1.10-594z8zdp.mjs +2 -0
  86. package/dist/chunks/cli-0.1.10-5jnkne9q.mjs +2 -0
  87. package/dist/chunks/cli-0.1.10-5kg4wpz2.mjs +2 -0
  88. package/dist/chunks/cli-0.1.10-5tyyhz34.mjs +833 -0
  89. package/dist/chunks/cli-0.1.10-63qeecn7.mjs +24 -0
  90. package/dist/chunks/cli-0.1.10-6bn5q3gp.mjs +2 -0
  91. package/dist/chunks/cli-0.1.10-6f66h3s0.mjs +2 -0
  92. package/dist/chunks/cli-0.1.10-6g6ga1zd.mjs +2 -0
  93. package/dist/chunks/cli-0.1.10-6p8tttyp.mjs +2 -0
  94. package/dist/chunks/cli-0.1.10-6wf59qza.mjs +58 -0
  95. package/dist/chunks/cli-0.1.10-72ece2yk.mjs +2 -0
  96. package/dist/chunks/cli-0.1.10-73y7xdxy.mjs +2 -0
  97. package/dist/chunks/cli-0.1.10-7691mckr.mjs +2 -0
  98. package/dist/chunks/cli-0.1.10-77zcax57.mjs +2 -0
  99. package/dist/chunks/cli-0.1.10-7d7j1qyf.mjs +2 -0
  100. package/dist/chunks/cli-0.1.10-7ngfsh9h.mjs +4 -0
  101. package/dist/chunks/cli-0.1.10-7v1vvde4.mjs +8 -0
  102. package/dist/chunks/cli-0.1.10-7ydarbm4.mjs +2 -0
  103. package/dist/chunks/cli-0.1.10-8dyffagh.mjs +2 -0
  104. package/dist/chunks/cli-0.1.10-91tna7ay.mjs +2 -0
  105. package/dist/chunks/cli-0.1.10-977j0ey2.mjs +2 -0
  106. package/dist/chunks/cli-0.1.10-97rwbawt.mjs +2 -0
  107. package/dist/chunks/cli-0.1.10-9dfywk37.mjs +2 -0
  108. package/dist/chunks/cli-0.1.10-9rh1hjrr.mjs +16 -0
  109. package/dist/chunks/cli-0.1.10-9ybfn3a4.mjs +50 -0
  110. package/dist/chunks/cli-0.1.10-9zjhrr6j.mjs +2 -0
  111. package/dist/chunks/cli-0.1.10-a4p945wp.mjs +2 -0
  112. package/dist/chunks/cli-0.1.10-a53q2hat.mjs +2 -0
  113. package/dist/chunks/cli-0.1.10-a6j6www8.mjs +10 -0
  114. package/dist/chunks/cli-0.1.10-acy8ec7t.mjs +2 -0
  115. package/dist/chunks/cli-0.1.10-akaq0zte.mjs +2 -0
  116. package/dist/chunks/cli-0.1.10-aw4xkrf7.mjs +2 -0
  117. package/dist/chunks/cli-0.1.10-b59j6twr.mjs +2 -0
  118. package/dist/chunks/cli-0.1.10-be8dvtg8.mjs +2 -0
  119. package/dist/chunks/cli-0.1.10-bfw7yx17.mjs +2 -0
  120. package/dist/chunks/cli-0.1.10-bgxwxmv1.mjs +2 -0
  121. package/dist/chunks/cli-0.1.10-bqsa7eam.mjs +2 -0
  122. package/dist/chunks/cli-0.1.10-brfs5rdm.mjs +4 -0
  123. package/dist/chunks/cli-0.1.10-bw6411be.mjs +3 -0
  124. package/dist/chunks/cli-0.1.10-bxbkeycj.mjs +4 -0
  125. package/dist/chunks/cli-0.1.10-c7bkm855.mjs +4 -0
  126. package/dist/chunks/cli-0.1.10-cd9k16mb.mjs +2 -0
  127. package/dist/chunks/cli-0.1.10-ckb6d1wg.mjs +5 -0
  128. package/dist/chunks/cli-0.1.10-cp1bprrv.mjs +2 -0
  129. package/dist/chunks/cli-0.1.10-crwvcrfq.mjs +2 -0
  130. package/dist/chunks/cli-0.1.10-d48qgcag.mjs +2 -0
  131. package/dist/chunks/cli-0.1.10-d70y9y7x.mjs +2 -0
  132. package/dist/chunks/cli-0.1.10-dh7by4rw.mjs +2 -0
  133. package/dist/chunks/cli-0.1.10-dx1a4dz7.mjs +2 -0
  134. package/dist/chunks/cli-0.1.10-dx92txwb.mjs +13 -0
  135. package/dist/chunks/cli-0.1.10-e0ftjytk.mjs +2 -0
  136. package/dist/chunks/cli-0.1.10-e4qewc1p.mjs +44 -0
  137. package/dist/chunks/cli-0.1.10-e64kvn2p.mjs +2 -0
  138. package/dist/chunks/cli-0.1.10-eh248dzz.mjs +15 -0
  139. package/dist/chunks/cli-0.1.10-ejtn8grm.mjs +2 -0
  140. package/dist/chunks/cli-0.1.10-er8zk2kj.mjs +2 -0
  141. package/dist/chunks/cli-0.1.10-f1nw74m1.mjs +2 -0
  142. package/dist/chunks/cli-0.1.10-f2jh6yv0.mjs +2 -0
  143. package/dist/chunks/cli-0.1.10-f38gq0e0.mjs +2 -0
  144. package/dist/chunks/cli-0.1.10-f7wg8ttz.mjs +2 -0
  145. package/dist/chunks/cli-0.1.10-fay16q4v.mjs +2 -0
  146. package/dist/chunks/cli-0.1.10-fcarec7s.mjs +2 -0
  147. package/dist/chunks/cli-0.1.10-fh4zzwzq.mjs +5 -0
  148. package/dist/chunks/cli-0.1.10-fhvyzg2m.mjs +2 -0
  149. package/dist/chunks/cli-0.1.10-frs4kmth.mjs +2 -0
  150. package/dist/chunks/cli-0.1.10-g6rx9rdb.mjs +132 -0
  151. package/dist/chunks/cli-0.1.10-gccb3gw8.mjs +4 -0
  152. package/dist/chunks/cli-0.1.10-gdqbhzyr.mjs +100 -0
  153. package/dist/chunks/cli-0.1.10-gms4557v.mjs +252 -0
  154. package/dist/chunks/cli-0.1.10-gnds07ck.mjs +2 -0
  155. package/dist/chunks/cli-0.1.10-h7dsgrnw.mjs +2 -0
  156. package/dist/chunks/cli-0.1.10-h7egg5xp.mjs +2 -0
  157. package/dist/chunks/cli-0.1.10-hbk3dhq8.mjs +24 -0
  158. package/dist/chunks/cli-0.1.10-hpa8eyg4.mjs +2 -0
  159. package/dist/chunks/cli-0.1.10-hpg8gdm2.mjs +2 -0
  160. package/dist/chunks/cli-0.1.10-hrjh10v7.mjs +2 -0
  161. package/dist/chunks/cli-0.1.10-hwk5cfdc.mjs +2 -0
  162. package/dist/chunks/cli-0.1.10-hyxg32sc.mjs +2 -0
  163. package/dist/chunks/cli-0.1.10-jb7jbbms.mjs +2 -0
  164. package/dist/chunks/cli-0.1.10-jjdvb4je.mjs +2 -0
  165. package/dist/chunks/cli-0.1.10-js33z9dt.mjs +2 -0
  166. package/dist/chunks/cli-0.1.10-jy0nmcmp.mjs +2 -0
  167. package/dist/chunks/cli-0.1.10-jy7ds572.mjs +2 -0
  168. package/dist/chunks/cli-0.1.10-kdqsv63d.mjs +3 -0
  169. package/dist/chunks/cli-0.1.10-knbxee8j.mjs +2 -0
  170. package/dist/chunks/cli-0.1.10-kp2t4r8z.mjs +2 -0
  171. package/dist/chunks/cli-0.1.10-me1f9fvm.mjs +2 -0
  172. package/dist/chunks/cli-0.1.10-mjy2g3ce.mjs +7 -0
  173. package/dist/chunks/cli-0.1.10-mqgz2v10.mjs +2 -0
  174. package/dist/chunks/cli-0.1.10-mt4jf92z.mjs +2 -0
  175. package/dist/chunks/cli-0.1.10-mt6tj76h.mjs +192 -0
  176. package/dist/chunks/cli-0.1.10-mv1psn5z.mjs +15 -0
  177. package/dist/chunks/cli-0.1.10-n0kq1anb.mjs +22 -0
  178. package/dist/chunks/cli-0.1.10-nfnje7ew.mjs +34 -0
  179. package/dist/chunks/cli-0.1.10-nh3yfpyp.mjs +2 -0
  180. package/dist/chunks/cli-0.1.10-npkfteg7.mjs +2 -0
  181. package/dist/chunks/cli-0.1.10-nzvv74kz.mjs +2 -0
  182. package/dist/chunks/cli-0.1.10-nzxw7p2m.mjs +4 -0
  183. package/dist/chunks/cli-0.1.10-p42gvsdg.mjs +2 -0
  184. package/dist/chunks/cli-0.1.10-p4a151rw.mjs +2 -0
  185. package/dist/chunks/cli-0.1.10-p5wpvhbv.mjs +2 -0
  186. package/dist/chunks/cli-0.1.10-pagxn9ep.mjs +2 -0
  187. package/dist/chunks/cli-0.1.10-pw67rrjr.mjs +2 -0
  188. package/dist/chunks/cli-0.1.10-qez6cjt8.mjs +2 -0
  189. package/dist/chunks/cli-0.1.10-qf6ps98q.mjs +2 -0
  190. package/dist/chunks/cli-0.1.10-qhh8pa5t.mjs +2 -0
  191. package/dist/chunks/cli-0.1.10-qkv7g58s.mjs +2 -0
  192. package/dist/chunks/cli-0.1.10-qtq4gx83.mjs +3 -0
  193. package/dist/chunks/cli-0.1.10-qw2c8g14.mjs +2 -0
  194. package/dist/chunks/cli-0.1.10-qw7kdg27.mjs +2 -0
  195. package/dist/chunks/cli-0.1.10-rgtrj3k8.mjs +2 -0
  196. package/dist/chunks/cli-0.1.10-rjz4ymc4.mjs +2 -0
  197. package/dist/chunks/cli-0.1.10-rnwbgj0h.mjs +134 -0
  198. package/dist/chunks/cli-0.1.10-rpyv9ekb.mjs +45 -0
  199. package/dist/chunks/cli-0.1.10-rr3xpxx1.mjs +2 -0
  200. package/dist/chunks/cli-0.1.10-rvb440sp.mjs +2 -0
  201. package/dist/chunks/cli-0.1.10-s3x3vzah.mjs +2 -0
  202. package/dist/chunks/cli-0.1.10-s4x77tm0.mjs +2 -0
  203. package/dist/chunks/cli-0.1.10-s6jxst02.mjs +2 -0
  204. package/dist/chunks/cli-0.1.10-s7s5bgrq.mjs +11 -0
  205. package/dist/chunks/cli-0.1.10-s7zk0vc8.mjs +18 -0
  206. package/dist/chunks/cli-0.1.10-sab6x266.mjs +2 -0
  207. package/dist/chunks/cli-0.1.10-seekz53q.mjs +2 -0
  208. package/dist/chunks/cli-0.1.10-sre7cbsg.mjs +2 -0
  209. package/dist/chunks/cli-0.1.10-szz5tkt1.mjs +4 -0
  210. package/dist/chunks/cli-0.1.10-t0v9d184.mjs +2 -0
  211. package/dist/chunks/cli-0.1.10-t1zd86kd.mjs +2 -0
  212. package/dist/chunks/cli-0.1.10-t8rnwwhq.mjs +2 -0
  213. package/dist/chunks/cli-0.1.10-ta048zme.mjs +3 -0
  214. package/dist/chunks/cli-0.1.10-tf9dk84p.mjs +2 -0
  215. package/dist/chunks/cli-0.1.10-v0vhyf3h.mjs +4 -0
  216. package/dist/chunks/cli-0.1.10-v385rk98.mjs +2 -0
  217. package/dist/chunks/cli-0.1.10-v582vfad.mjs +2 -0
  218. package/dist/chunks/cli-0.1.10-v6gq9bxc.mjs +7 -0
  219. package/dist/chunks/cli-0.1.10-vrd90nhd.mjs +16 -0
  220. package/dist/chunks/cli-0.1.10-w1hqcxj1.mjs +2 -0
  221. package/dist/chunks/cli-0.1.10-w8np72sh.mjs +2 -0
  222. package/dist/chunks/cli-0.1.10-wajz23ff.mjs +2 -0
  223. package/dist/chunks/cli-0.1.10-wjmtd9vm.mjs +6 -0
  224. package/dist/chunks/cli-0.1.10-wm8pd1jq.mjs +2 -0
  225. package/dist/chunks/cli-0.1.10-wvhzawgv.mjs +12 -0
  226. package/dist/chunks/cli-0.1.10-x1qs5ctr.mjs +2 -0
  227. package/dist/chunks/cli-0.1.10-x2eaxa4s.mjs +2 -0
  228. package/dist/chunks/cli-0.1.10-xfdakzcb.mjs +2 -0
  229. package/dist/chunks/cli-0.1.10-xjpjs3y5.mjs +2 -0
  230. package/dist/chunks/cli-0.1.10-xzz1tdne.mjs +2 -0
  231. package/dist/chunks/cli-0.1.10-y17z0pes.mjs +2 -0
  232. package/dist/chunks/cli-0.1.10-y1bkenem.mjs +2 -0
  233. package/dist/chunks/cli-0.1.10-y2byece1.mjs +12 -0
  234. package/dist/chunks/cli-0.1.10-y3q22zvb.mjs +2 -0
  235. package/dist/chunks/cli-0.1.10-y6a8q1t3.mjs +9 -0
  236. package/dist/chunks/cli-0.1.10-y9mkzh11.mjs +5036 -0
  237. package/dist/chunks/cli-0.1.10-yq3dy7w2.mjs +2 -0
  238. package/dist/chunks/cli-0.1.10-yset0578.mjs +2 -0
  239. package/dist/chunks/cli-0.1.10-z20mk55m.mjs +5 -0
  240. package/dist/chunks/cli-0.1.10-z3f97n2d.mjs +6 -0
  241. package/dist/chunks/cli-0.1.10-z4a84y0c.mjs +2 -0
  242. package/dist/chunks/cli-0.1.10-z7ghb8z7.mjs +2 -0
  243. package/dist/chunks/cli-0.1.10-zeqsd250.mjs +2 -0
  244. package/dist/chunks/cli-0.1.10-zxcxqxwv.mjs +2 -0
  245. package/dist/chunks/cli-0.1.10-zxgw1kqq.mjs +2 -0
  246. package/dist/chunks/client-0.1.10-btm7zd17.mjs +1 -0
  247. package/dist/chunks/color-0.1.10-h3wdkq18.mjs +1 -0
  248. package/dist/chunks/compact-0.1.10-3vz0z7cj.mjs +3 -0
  249. package/dist/chunks/config-0.1.10-37452dtw.mjs +1 -0
  250. package/dist/chunks/config-0.1.10-apkj5t0e.mjs +1 -0
  251. package/dist/chunks/context-0.1.10-z4vfp64w.mjs +1 -0
  252. package/dist/chunks/context-noninteractive-0.1.10-xmmn39z5.mjs +1 -0
  253. package/dist/chunks/conversation-0.1.10-p82mc6k7.mjs +1 -0
  254. package/dist/chunks/copy-0.1.10-y1c1gb1w.mjs +9 -0
  255. package/dist/chunks/cost-0.1.10-d5wpnm54.mjs +1 -0
  256. package/dist/chunks/createSession-0.1.10-7bq5e7c3.mjs +1 -0
  257. package/dist/chunks/desktop-0.1.10-3f54fc1k.mjs +1 -0
  258. package/dist/chunks/detectRepository-0.1.10-1kyc0kvc.mjs +1 -0
  259. package/dist/chunks/detection-0.1.10-0h6d9cqt.mjs +1 -0
  260. package/dist/chunks/devtools-0.1.10-93f39njd.mjs +1 -0
  261. package/dist/chunks/diff-0.1.10-j17ke0k6.mjs +1 -0
  262. package/dist/chunks/doctor-0.1.10-wcq13152.mjs +1 -0
  263. package/dist/chunks/earlyInput-0.1.10-k1phbjt5.mjs +1 -0
  264. package/dist/chunks/effort-0.1.10-kanyae0a.mjs +8 -0
  265. package/dist/chunks/environmentSelection-0.1.10-ydckkyqx.mjs +1 -0
  266. package/dist/chunks/environments-0.1.10-7dht1svt.mjs +1 -0
  267. package/dist/chunks/exit-0.1.10-q7af8rb6.mjs +1 -0
  268. package/dist/chunks/export-0.1.10-tgsj9sg2.mjs +2 -0
  269. package/dist/chunks/extra-usage-0.1.10-qccdgzpk.mjs +1 -0
  270. package/dist/chunks/extra-usage-noninteractive-0.1.10-5rpbnmgs.mjs +1 -0
  271. package/dist/chunks/fast-0.1.10-eq1jgfqk.mjs +1 -0
  272. package/dist/chunks/feedback-0.1.10-yvpgv2wy.mjs +14 -0
  273. package/dist/chunks/firstPartyEventLogger-0.1.10-1q5vbtwp.mjs +1 -0
  274. package/dist/chunks/git-0.1.10-ngvcytb0.mjs +1 -0
  275. package/dist/chunks/githubModelsCredentials-0.1.10-w5g5cqhg.mjs +1 -0
  276. package/dist/chunks/growthbook-0.1.10-zkm4sham.mjs +1 -0
  277. package/dist/chunks/heapdump-0.1.10-29gq2jvb.mjs +6 -0
  278. package/dist/chunks/help-0.1.10-yj8ra443.mjs +1 -0
  279. package/dist/chunks/hookChains-0.1.10-32qn4nw8.mjs +3 -0
  280. package/dist/chunks/hooks-0.1.10-epp78p44.mjs +79 -0
  281. package/dist/chunks/hooks-0.1.10-fjrmscrk.mjs +1 -0
  282. package/dist/chunks/ide-0.1.10-361fyyet.mjs +3 -0
  283. package/dist/chunks/image-processor-napi-0.1.10-18yjap6z.mjs +1 -0
  284. package/dist/chunks/index-0.1.10-1cxj797w.mjs +2 -0
  285. package/dist/chunks/index-0.1.10-30c6wwdm.mjs +30 -0
  286. package/dist/chunks/index-0.1.10-80bh88yr.mjs +1 -0
  287. package/dist/chunks/index-0.1.10-8apwt1gk.mjs +1 -0
  288. package/dist/chunks/index-0.1.10-8c4f5nq6.mjs +2 -0
  289. package/dist/chunks/index-0.1.10-9mqxzarc.mjs +5 -0
  290. package/dist/chunks/index-0.1.10-c29w46aj.mjs +1 -0
  291. package/dist/chunks/index-0.1.10-c450y86m.mjs +1 -0
  292. package/dist/chunks/index-0.1.10-d1r31eyx.mjs +9 -0
  293. package/dist/chunks/index-0.1.10-drj30y1c.mjs +1 -0
  294. package/dist/chunks/index-0.1.10-g667a23q.mjs +1 -0
  295. package/dist/chunks/index-0.1.10-gz2mwwnj.mjs +1 -0
  296. package/dist/chunks/index-0.1.10-m1gd7g5v.mjs +1 -0
  297. package/dist/chunks/index-0.1.10-n4bkm7fr.mjs +9 -0
  298. package/dist/chunks/index-0.1.10-r42rb77w.mjs +7 -0
  299. package/dist/chunks/index-0.1.10-ra4k3x9k.mjs +1 -0
  300. package/dist/chunks/index-0.1.10-s32szzwg.mjs +1 -0
  301. package/dist/chunks/index-0.1.10-std21r3g.mjs +1 -0
  302. package/dist/chunks/index-0.1.10-t71jm4x7.mjs +1 -0
  303. package/dist/chunks/index-0.1.10-vpcq7nfa.mjs +1 -0
  304. package/dist/chunks/index-0.1.10-x6dkpkw7.mjs +1 -0
  305. package/dist/chunks/index-0.1.10-xqy1yh0c.mjs +1 -0
  306. package/dist/chunks/initReplBridge-0.1.10-4af5e275.mjs +1 -0
  307. package/dist/chunks/ink-0.1.10-57r8vscr.mjs +1 -0
  308. package/dist/chunks/insights-0.1.10-rptwhmpm.mjs +870 -0
  309. package/dist/chunks/install-0.1.10-9w2w5vre.mjs +1 -0
  310. package/dist/chunks/install-github-app-0.1.10-xhj1zyqh.mjs +149 -0
  311. package/dist/chunks/install-slack-app-0.1.10-tq51qy4s.mjs +1 -0
  312. package/dist/chunks/instrumentation-0.1.10-kyzfec48.mjs +12 -0
  313. package/dist/chunks/interactiveHelpers-0.1.10-1491802m.mjs +1 -0
  314. package/dist/chunks/keybindings-0.1.10-fpyw69y7.mjs +2 -0
  315. package/dist/chunks/knowledge-0.1.10-2aa0bb5w.mjs +2 -0
  316. package/dist/chunks/loadAgentsDir-0.1.10-h8t0ppav.mjs +1 -0
  317. package/dist/chunks/loadPluginHooks-0.1.10-ne71stmt.mjs +1 -0
  318. package/dist/chunks/logout-0.1.10-xxm4ydq9.mjs +1 -0
  319. package/dist/chunks/lsp-0.1.10-k53wta4y.mjs +1 -0
  320. package/dist/chunks/main-0.1.10-q3qenxfq.mjs +1 -0
  321. package/dist/chunks/managedEnv-0.1.10-s37qwcz1.mjs +1 -0
  322. package/dist/chunks/mcp-0.1.10-af795ewj.mjs +1 -0
  323. package/dist/chunks/mcp-0.1.10-b5z770fs.mjs +17 -0
  324. package/dist/chunks/mcp-0.1.10-nd17220r.mjs +4 -0
  325. package/dist/chunks/mcpServer-0.1.10-vrpfykem.mjs +1 -0
  326. package/dist/chunks/mcpb-0.1.10-jzxbat3k.mjs +1 -0
  327. package/dist/chunks/memory-0.1.10-zwzw20d5.mjs +3 -0
  328. package/dist/chunks/mobile-0.1.10-02fzsby3.mjs +2 -0
  329. package/dist/chunks/model-0.1.10-9g2nyrq7.mjs +1 -0
  330. package/dist/chunks/model-0.1.10-rygn5rc7.mjs +2 -0
  331. package/dist/chunks/oauth-0.1.10-t6fn448z.mjs +1 -0
  332. package/dist/chunks/openaiShim-0.1.10-gnhp89j2.mjs +14 -0
  333. package/dist/chunks/output-style-0.1.10-tnvcw858.mjs +1 -0
  334. package/dist/chunks/package-HMBVQOZ4-0.1.10-zd9nnmft.mjs +1 -0
  335. package/dist/chunks/parser-0.1.10-yemkwzb2.mjs +1 -0
  336. package/dist/chunks/passes-0.1.10-3zg7g2tp.mjs +1 -0
  337. package/dist/chunks/permissions-0.1.10-3tmntee5.mjs +3 -0
  338. package/dist/chunks/plan-0.1.10-sj11cbeb.mjs +1 -0
  339. package/dist/chunks/plist-0.1.10-mfhsxrkb.mjs +1 -0
  340. package/dist/chunks/plugin-0.1.10-c2rxcqb7.mjs +29 -0
  341. package/dist/chunks/pluginStartupCheck-0.1.10-n5esk5p9.mjs +1 -0
  342. package/dist/chunks/plugins-0.1.10-cyb1q58v.mjs +9 -0
  343. package/dist/chunks/print-0.1.10-s2t5nd3y.mjs +57 -0
  344. package/dist/chunks/privacy-settings-0.1.10-kxx4szxa.mjs +1 -0
  345. package/dist/chunks/process-0.1.10-kp51xxsy.mjs +1 -0
  346. package/dist/chunks/processBashCommand-0.1.10-t1cdkkjx.mjs +1 -0
  347. package/dist/chunks/processSlashCommand-0.1.10-pvndkc40.mjs +9 -0
  348. package/dist/chunks/prompt-0.1.10-2kjnmw4z.mjs +1 -0
  349. package/dist/chunks/prompt-0.1.10-v546t6x4.mjs +1 -0
  350. package/dist/chunks/prompts-0.1.10-8k80tabm.mjs +1 -0
  351. package/dist/chunks/provider-0.1.10-5p16y1p3.mjs +2 -0
  352. package/dist/chunks/providerProfiles-0.1.10-0r6j5m52.mjs +1 -0
  353. package/dist/chunks/rate-limit-options-0.1.10-0sgjcqvt.mjs +1 -0
  354. package/dist/chunks/registry-0.1.10-nyx80cwb.mjs +1 -0
  355. package/dist/chunks/release-notes-0.1.10-8bpsjmax.mjs +5 -0
  356. package/dist/chunks/reload-plugins-0.1.10-f8cj2ymj.mjs +2 -0
  357. package/dist/chunks/remote-env-0.1.10-x65rh1n3.mjs +1 -0
  358. package/dist/chunks/remoteBridgeCore-0.1.10-tk9vhzgk.mjs +1 -0
  359. package/dist/chunks/remoteSession-0.1.10-xx5eng27.mjs +1 -0
  360. package/dist/chunks/rename-0.1.10-zjwr9vqm.mjs +1 -0
  361. package/dist/chunks/replBridgeHandle-0.1.10-34e8jwrt.mjs +1 -0
  362. package/dist/chunks/resume-0.1.10-dc75n2zf.mjs +2 -0
  363. package/dist/chunks/rewind-0.1.10-kt2968kt.mjs +1 -0
  364. package/dist/chunks/sandbox-adapter-0.1.10-whhwsy1v.mjs +1 -0
  365. package/dist/chunks/sandbox-toggle-0.1.10-19w6767r.mjs +1 -0
  366. package/dist/chunks/session-0.1.10-pzsbjyqm.mjs +2 -0
  367. package/dist/chunks/sessionFileAccessHooks-0.1.10-jaadayzy.mjs +1 -0
  368. package/dist/chunks/sessionStorage-0.1.10-b72srv50.mjs +1 -0
  369. package/dist/chunks/setup-0.1.10-fbs90hdh.mjs +5 -0
  370. package/dist/chunks/sinks-0.1.10-02w5f1q9.mjs +1 -0
  371. package/dist/chunks/skills-0.1.10-pexnbjqd.mjs +1 -0
  372. package/dist/chunks/startupProfiler-0.1.10-gcv6ckp5.mjs +1 -0
  373. package/dist/chunks/state-0.1.10-embrgn1a.mjs +1 -0
  374. package/dist/chunks/stats-0.1.10-s0rzmsxx.mjs +6 -0
  375. package/dist/chunks/status-0.1.10-8r0jrc8n.mjs +1 -0
  376. package/dist/chunks/stickers-0.1.10-dj7ganhx.mjs +1 -0
  377. package/dist/chunks/subprocessEnv-0.1.10-hpv416jp.mjs +1 -0
  378. package/dist/chunks/tasks-0.1.10-cnvnk57k.mjs +1 -0
  379. package/dist/chunks/teamHelpers-0.1.10-j6sfy2zc.mjs +1 -0
  380. package/dist/chunks/teammateModeSnapshot-0.1.10-ddhe13pc.mjs +1 -0
  381. package/dist/chunks/teleport-0.1.10-saft8sby.mjs +1 -0
  382. package/dist/chunks/terminalSetup-0.1.10-4p5xvtyy.mjs +1 -0
  383. package/dist/chunks/theme-0.1.10-5xss74sp.mjs +1 -0
  384. package/dist/chunks/thinkback-0.1.10-e4bz61r1.mjs +1 -0
  385. package/dist/chunks/thinkback-play-0.1.10-0vjf0r8c.mjs +1 -0
  386. package/dist/chunks/toolPool-0.1.10-57jq29ct.mjs +1 -0
  387. package/dist/chunks/toolSearch-0.1.10-ysjw302j.mjs +1 -0
  388. package/dist/chunks/trustedDevice-0.1.10-zy988esg.mjs +1 -0
  389. package/dist/chunks/turndown.cjs-0.1.10-vhmcr6t6.mjs +69 -0
  390. package/dist/chunks/ultrareviewCommand-0.1.10-sqjsmw0x.mjs +4 -0
  391. package/dist/chunks/update-0.1.10-p7ctpbkr.mjs +94 -0
  392. package/dist/chunks/upgrade-0.1.10-8585sfbv.mjs +1 -0
  393. package/dist/chunks/upstreamproxy-0.1.10-ddbrjzqt.mjs +14 -0
  394. package/dist/chunks/usage-0.1.10-r8vznre6.mjs +1 -0
  395. package/dist/chunks/util-0.1.10-51fk6c0k.mjs +1 -0
  396. package/dist/chunks/utils-0.1.10-43r4vneb.mjs +1 -0
  397. package/dist/chunks/vim-0.1.10-3yzrqjw5.mjs +1 -0
  398. package/dist/chunks/watcher-0.1.10-xq2qsexd.mjs +1 -0
  399. package/dist/chunks/wiki-0.1.10-v3w4719f.mjs +132 -0
  400. package/dist/chunks/worktree-0.1.10-b5r0y9mr.mjs +1 -0
  401. package/dist/chunks/worktreeModeEnabled-0.1.10-ckcv927j.mjs +1 -0
  402. package/dist/chunks/wrapper-0.1.10-10976h3e.mjs +7 -0
  403. package/dist/claudio-vscode.vsix +0 -0
  404. package/dist/cli.mjs +6 -6
  405. package/package.json +1 -1
  406. package/dist/chunks/AgentTool-0.1.9-e26h2f7z.mjs +0 -1
  407. package/dist/chunks/App-0.1.9-7ttp2eny.mjs +0 -1
  408. package/dist/chunks/ApproveApiKey-0.1.9-pz0jzna9.mjs +0 -1
  409. package/dist/chunks/AssistantSessionChooser-0.1.9-r5wg1yfv.mjs +0 -1
  410. package/dist/chunks/AutoModeOptInDialog-0.1.9-nbnjg2tp.mjs +0 -1
  411. package/dist/chunks/BypassPermissionsModeDialog-0.1.9-wjg6qps3.mjs +0 -1
  412. package/dist/chunks/ClaudeInChromeOnboarding-0.1.9-h46b49p8.mjs +0 -1
  413. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.9-b8em430v.mjs +0 -1
  414. package/dist/chunks/ConsoleOAuthFlow-0.1.9-zb1h6dvy.mjs +0 -1
  415. package/dist/chunks/DiffDialog-0.1.9-09s28v8e.mjs +0 -3
  416. package/dist/chunks/Doctor-0.1.9-9ak6wqtr.mjs +0 -1
  417. package/dist/chunks/Grove-0.1.9-rbrf13rd.mjs +0 -1
  418. package/dist/chunks/ITermBackend-0.1.9-8dgw249h.mjs +0 -1
  419. package/dist/chunks/InProcessTransport-0.1.9-5cp1e7x7.mjs +0 -1
  420. package/dist/chunks/InvalidConfigDialog-0.1.9-6mv9wgt8.mjs +0 -1
  421. package/dist/chunks/InvalidSettingsDialog-0.1.9-d5kkd4yd.mjs +0 -1
  422. package/dist/chunks/MigrationDialog-0.1.9-56807wps.mjs +0 -1
  423. package/dist/chunks/Onboarding-0.1.9-g5nqdh1r.mjs +0 -1
  424. package/dist/chunks/ProviderManager-0.1.9-kj6t8003.mjs +0 -1
  425. package/dist/chunks/REPL-0.1.9-3h2fc9z7.mjs +0 -1
  426. package/dist/chunks/ResumeConversation-0.1.9-k4gv6dx4.mjs +0 -1
  427. package/dist/chunks/SnapshotUpdateDialog-0.1.9-v3h7drc0.mjs +0 -1
  428. package/dist/chunks/StartupScreen-0.1.9-jgk08xvj.mjs +0 -1
  429. package/dist/chunks/TeleportProgress-0.1.9-pnqkmgap.mjs +0 -1
  430. package/dist/chunks/TeleportRepoMismatchDialog-0.1.9-ddtmy43v.mjs +0 -1
  431. package/dist/chunks/TeleportResumeWrapper-0.1.9-vhnyx04e.mjs +0 -1
  432. package/dist/chunks/TmuxBackend-0.1.9-nb2ks1np.mjs +0 -9
  433. package/dist/chunks/ToolSearchTool-0.1.9-n40whaty.mjs +0 -1
  434. package/dist/chunks/TrustDialog-0.1.9-dm2wppgy.mjs +0 -1
  435. package/dist/chunks/activeProvider-0.1.9-kbwwatt3.mjs +0 -1
  436. package/dist/chunks/add-dir-0.1.9-ed53zp9j.mjs +0 -1
  437. package/dist/chunks/agents-0.1.9-4gwb1qtc.mjs +0 -111
  438. package/dist/chunks/agents-0.1.9-yr85gwa8.mjs +0 -3
  439. package/dist/chunks/api-0.1.9-kqwfw6wj.mjs +0 -1
  440. package/dist/chunks/asciicast-0.1.9-ekvsjx76.mjs +0 -1
  441. package/dist/chunks/assistant-0.1.9-h4rgf0xq.mjs +0 -1
  442. package/dist/chunks/auth-0.1.9-1c12xrxs.mjs +0 -1
  443. package/dist/chunks/auth-0.1.9-rqfx3vqa.mjs +0 -1
  444. package/dist/chunks/autoMode-0.1.9-s92asycq.mjs +0 -48
  445. package/dist/chunks/backgroundHousekeeping-0.1.9-jjbqckpm.mjs +0 -1
  446. package/dist/chunks/branch-0.1.9-m7j2aerq.mjs +0 -4
  447. package/dist/chunks/bridgePointer-0.1.9-rv3aq23v.mjs +0 -1
  448. package/dist/chunks/btw-0.1.9-g55x31zp.mjs +0 -1
  449. package/dist/chunks/buddy-0.1.9-fqmk7e4y.mjs +0 -3
  450. package/dist/chunks/cacache-0.1.9-dr1vt8s1.mjs +0 -1
  451. package/dist/chunks/cache-probe-0.1.9-ydmjrch4.mjs +0 -21
  452. package/dist/chunks/cacheStats-0.1.9-pkarrnw9.mjs +0 -4
  453. package/dist/chunks/caches-0.1.9-d6cndrra.mjs +0 -1
  454. package/dist/chunks/chrome-0.1.9-bvwzw157.mjs +0 -1
  455. package/dist/chunks/chromeNativeHost-0.1.9-8a20nscz.mjs +0 -2
  456. package/dist/chunks/claude-for-chrome-mcp-0.1.9-ndknjd3g.mjs +0 -1
  457. package/dist/chunks/claudeDesktop-0.1.9-7xprztbk.mjs +0 -1
  458. package/dist/chunks/claudemd-0.1.9-dqyhgy2v.mjs +0 -1
  459. package/dist/chunks/clear-0.1.9-tb8x7676.mjs +0 -1
  460. package/dist/chunks/cli-0.1.9-001s9kxw.mjs +0 -24
  461. package/dist/chunks/cli-0.1.9-03e1d9dw.mjs +0 -39
  462. package/dist/chunks/cli-0.1.9-04ez73f7.mjs +0 -5084
  463. package/dist/chunks/cli-0.1.9-0dtdhejj.mjs +0 -31
  464. package/dist/chunks/cli-0.1.9-0e6nsh68.mjs +0 -3
  465. package/dist/chunks/cli-0.1.9-0j8n671q.mjs +0 -2
  466. package/dist/chunks/cli-0.1.9-15y0qt1z.mjs +0 -2
  467. package/dist/chunks/cli-0.1.9-1c3qpbdh.mjs +0 -2
  468. package/dist/chunks/cli-0.1.9-1f5gmndb.mjs +0 -2
  469. package/dist/chunks/cli-0.1.9-1ghbcafn.mjs +0 -2
  470. package/dist/chunks/cli-0.1.9-1kaj4v6k.mjs +0 -2
  471. package/dist/chunks/cli-0.1.9-1xmdqqzd.mjs +0 -3
  472. package/dist/chunks/cli-0.1.9-263y2rkc.mjs +0 -3
  473. package/dist/chunks/cli-0.1.9-2dd7h0hn.mjs +0 -15
  474. package/dist/chunks/cli-0.1.9-2prq7peb.mjs +0 -2
  475. package/dist/chunks/cli-0.1.9-2tc83tsz.mjs +0 -2
  476. package/dist/chunks/cli-0.1.9-2thp2z73.mjs +0 -2
  477. package/dist/chunks/cli-0.1.9-2v0y90vz.mjs +0 -2
  478. package/dist/chunks/cli-0.1.9-2v4s8yf9.mjs +0 -7
  479. package/dist/chunks/cli-0.1.9-2x18rhq6.mjs +0 -6
  480. package/dist/chunks/cli-0.1.9-38zb09vp.mjs +0 -2
  481. package/dist/chunks/cli-0.1.9-3g3er8j1.mjs +0 -15
  482. package/dist/chunks/cli-0.1.9-3h4serkj.mjs +0 -58
  483. package/dist/chunks/cli-0.1.9-3rhe87kw.mjs +0 -2
  484. package/dist/chunks/cli-0.1.9-3vfq7jja.mjs +0 -34
  485. package/dist/chunks/cli-0.1.9-3wmbdmrp.mjs +0 -2
  486. package/dist/chunks/cli-0.1.9-3y36913h.mjs +0 -10
  487. package/dist/chunks/cli-0.1.9-3yscrq86.mjs +0 -833
  488. package/dist/chunks/cli-0.1.9-45ggwszg.mjs +0 -2
  489. package/dist/chunks/cli-0.1.9-4a9qwf11.mjs +0 -2
  490. package/dist/chunks/cli-0.1.9-4bg6jxs8.mjs +0 -2
  491. package/dist/chunks/cli-0.1.9-4kk9fmg2.mjs +0 -2
  492. package/dist/chunks/cli-0.1.9-4n4dqg6k.mjs +0 -2
  493. package/dist/chunks/cli-0.1.9-4sqfjw8t.mjs +0 -16
  494. package/dist/chunks/cli-0.1.9-4vmbyj20.mjs +0 -2
  495. package/dist/chunks/cli-0.1.9-4vt296k0.mjs +0 -18
  496. package/dist/chunks/cli-0.1.9-5ryrgdzg.mjs +0 -2
  497. package/dist/chunks/cli-0.1.9-5vgk7wf7.mjs +0 -2
  498. package/dist/chunks/cli-0.1.9-5ygmjsje.mjs +0 -2
  499. package/dist/chunks/cli-0.1.9-5ypg3t0t.mjs +0 -2
  500. package/dist/chunks/cli-0.1.9-5zhhyq4q.mjs +0 -2
  501. package/dist/chunks/cli-0.1.9-61ywjha3.mjs +0 -2
  502. package/dist/chunks/cli-0.1.9-68vwvmkw.mjs +0 -2
  503. package/dist/chunks/cli-0.1.9-6c7qrr4p.mjs +0 -16
  504. package/dist/chunks/cli-0.1.9-6gk46nr9.mjs +0 -2
  505. package/dist/chunks/cli-0.1.9-6j5gxw5r.mjs +0 -5
  506. package/dist/chunks/cli-0.1.9-6ne451jc.mjs +0 -2
  507. package/dist/chunks/cli-0.1.9-6p67vwxh.mjs +0 -2
  508. package/dist/chunks/cli-0.1.9-6pcahrj9.mjs +0 -2
  509. package/dist/chunks/cli-0.1.9-7047sjwh.mjs +0 -2
  510. package/dist/chunks/cli-0.1.9-7bakxr5q.mjs +0 -3
  511. package/dist/chunks/cli-0.1.9-7bthhhpf.mjs +0 -2
  512. package/dist/chunks/cli-0.1.9-7fp0smtp.mjs +0 -2
  513. package/dist/chunks/cli-0.1.9-7ftnjyps.mjs +0 -2
  514. package/dist/chunks/cli-0.1.9-7h5my4fb.mjs +0 -2
  515. package/dist/chunks/cli-0.1.9-7kcaaxvq.mjs +0 -12
  516. package/dist/chunks/cli-0.1.9-7q9461ka.mjs +0 -2
  517. package/dist/chunks/cli-0.1.9-7qhatm3v.mjs +0 -2
  518. package/dist/chunks/cli-0.1.9-86kws2c7.mjs +0 -192
  519. package/dist/chunks/cli-0.1.9-8egwvs85.mjs +0 -2
  520. package/dist/chunks/cli-0.1.9-90h21nv5.mjs +0 -2
  521. package/dist/chunks/cli-0.1.9-9d4sp76k.mjs +0 -2
  522. package/dist/chunks/cli-0.1.9-9hc8gyb7.mjs +0 -2
  523. package/dist/chunks/cli-0.1.9-9nhh15bp.mjs +0 -2
  524. package/dist/chunks/cli-0.1.9-9vab0er5.mjs +0 -2
  525. package/dist/chunks/cli-0.1.9-9vn4ys3c.mjs +0 -22
  526. package/dist/chunks/cli-0.1.9-a1gtww1d.mjs +0 -2
  527. package/dist/chunks/cli-0.1.9-a7zy4vqn.mjs +0 -134
  528. package/dist/chunks/cli-0.1.9-a95nqhbd.mjs +0 -4
  529. package/dist/chunks/cli-0.1.9-ag6a8kqj.mjs +0 -2
  530. package/dist/chunks/cli-0.1.9-ak0b9xfs.mjs +0 -100
  531. package/dist/chunks/cli-0.1.9-aqd7czgr.mjs +0 -3
  532. package/dist/chunks/cli-0.1.9-axg1kbe4.mjs +0 -2
  533. package/dist/chunks/cli-0.1.9-aype6q4y.mjs +0 -2
  534. package/dist/chunks/cli-0.1.9-b3031hmy.mjs +0 -2
  535. package/dist/chunks/cli-0.1.9-b6zp931m.mjs +0 -11
  536. package/dist/chunks/cli-0.1.9-b73n8vzm.mjs +0 -2
  537. package/dist/chunks/cli-0.1.9-b9kbpf6n.mjs +0 -2
  538. package/dist/chunks/cli-0.1.9-bg9xvmav.mjs +0 -2
  539. package/dist/chunks/cli-0.1.9-bn43vpc0.mjs +0 -2
  540. package/dist/chunks/cli-0.1.9-br9jzagb.mjs +0 -2
  541. package/dist/chunks/cli-0.1.9-c2fjeq7k.mjs +0 -2
  542. package/dist/chunks/cli-0.1.9-c38eyh49.mjs +0 -2
  543. package/dist/chunks/cli-0.1.9-cfzmq9k6.mjs +0 -2
  544. package/dist/chunks/cli-0.1.9-cvnkghgh.mjs +0 -3
  545. package/dist/chunks/cli-0.1.9-dmcbsmj4.mjs +0 -2
  546. package/dist/chunks/cli-0.1.9-dsx18zt1.mjs +0 -2
  547. package/dist/chunks/cli-0.1.9-dt31fs16.mjs +0 -2
  548. package/dist/chunks/cli-0.1.9-dzz1me99.mjs +0 -2
  549. package/dist/chunks/cli-0.1.9-e7ewtpew.mjs +0 -2
  550. package/dist/chunks/cli-0.1.9-e96x59hw.mjs +0 -2
  551. package/dist/chunks/cli-0.1.9-ehhkqhbv.mjs +0 -2
  552. package/dist/chunks/cli-0.1.9-eqxc9zxm.mjs +0 -12
  553. package/dist/chunks/cli-0.1.9-ewq9k9mr.mjs +0 -2
  554. package/dist/chunks/cli-0.1.9-ewwxqbvt.mjs +0 -2
  555. package/dist/chunks/cli-0.1.9-f4v4pahc.mjs +0 -4
  556. package/dist/chunks/cli-0.1.9-f643fvt4.mjs +0 -2
  557. package/dist/chunks/cli-0.1.9-f8ga1n8r.mjs +0 -6
  558. package/dist/chunks/cli-0.1.9-fcf313e7.mjs +0 -2
  559. package/dist/chunks/cli-0.1.9-fh5enjw8.mjs +0 -5
  560. package/dist/chunks/cli-0.1.9-fm2yycpj.mjs +0 -2
  561. package/dist/chunks/cli-0.1.9-fwqwgjwb.mjs +0 -2
  562. package/dist/chunks/cli-0.1.9-gandxpzf.mjs +0 -2
  563. package/dist/chunks/cli-0.1.9-gasw7sr9.mjs +0 -2
  564. package/dist/chunks/cli-0.1.9-gdymcvby.mjs +0 -2
  565. package/dist/chunks/cli-0.1.9-gpd1bhnf.mjs +0 -2
  566. package/dist/chunks/cli-0.1.9-gsc0t4gy.mjs +0 -2
  567. package/dist/chunks/cli-0.1.9-gvrtqwe3.mjs +0 -2
  568. package/dist/chunks/cli-0.1.9-h8xne7z8.mjs +0 -2
  569. package/dist/chunks/cli-0.1.9-hjcv9wr7.mjs +0 -50
  570. package/dist/chunks/cli-0.1.9-hva25eg3.mjs +0 -4
  571. package/dist/chunks/cli-0.1.9-hy4peemf.mjs +0 -3
  572. package/dist/chunks/cli-0.1.9-hy9s1fnj.mjs +0 -14
  573. package/dist/chunks/cli-0.1.9-hz8rssz0.mjs +0 -2
  574. package/dist/chunks/cli-0.1.9-j5zz6gbq.mjs +0 -4
  575. package/dist/chunks/cli-0.1.9-jb6af8n8.mjs +0 -2
  576. package/dist/chunks/cli-0.1.9-jchn9hyn.mjs +0 -2
  577. package/dist/chunks/cli-0.1.9-jdpz959j.mjs +0 -2
  578. package/dist/chunks/cli-0.1.9-jv2z42gk.mjs +0 -2
  579. package/dist/chunks/cli-0.1.9-kbrf27z8.mjs +0 -2
  580. package/dist/chunks/cli-0.1.9-krv35v3v.mjs +0 -2
  581. package/dist/chunks/cli-0.1.9-ksv4ntar.mjs +0 -2
  582. package/dist/chunks/cli-0.1.9-kt9xw7bn.mjs +0 -2
  583. package/dist/chunks/cli-0.1.9-m7shtst2.mjs +0 -2
  584. package/dist/chunks/cli-0.1.9-mfyd9h50.mjs +0 -2
  585. package/dist/chunks/cli-0.1.9-mj88t3jf.mjs +0 -2
  586. package/dist/chunks/cli-0.1.9-mjkhzp2c.mjs +0 -3
  587. package/dist/chunks/cli-0.1.9-mkfnnvz7.mjs +0 -4
  588. package/dist/chunks/cli-0.1.9-mme2x7fq.mjs +0 -2
  589. package/dist/chunks/cli-0.1.9-mnegaqr7.mjs +0 -2
  590. package/dist/chunks/cli-0.1.9-mx4ekht0.mjs +0 -2
  591. package/dist/chunks/cli-0.1.9-mz3mbxwb.mjs +0 -12
  592. package/dist/chunks/cli-0.1.9-n445yk6z.mjs +0 -2
  593. package/dist/chunks/cli-0.1.9-n54k4qt3.mjs +0 -2
  594. package/dist/chunks/cli-0.1.9-n8tc0gpm.mjs +0 -2
  595. package/dist/chunks/cli-0.1.9-nsgdz4rd.mjs +0 -2
  596. package/dist/chunks/cli-0.1.9-nw3rpxdd.mjs +0 -252
  597. package/dist/chunks/cli-0.1.9-nz8phj17.mjs +0 -2
  598. package/dist/chunks/cli-0.1.9-p1kdk178.mjs +0 -2
  599. package/dist/chunks/cli-0.1.9-p58rgwkr.mjs +0 -4
  600. package/dist/chunks/cli-0.1.9-p5scdysw.mjs +0 -2
  601. package/dist/chunks/cli-0.1.9-pdbfg3vh.mjs +0 -2
  602. package/dist/chunks/cli-0.1.9-pgwsmwz1.mjs +0 -2
  603. package/dist/chunks/cli-0.1.9-ph3w8t78.mjs +0 -2
  604. package/dist/chunks/cli-0.1.9-psx0e36a.mjs +0 -2
  605. package/dist/chunks/cli-0.1.9-q3e2h88a.mjs +0 -2
  606. package/dist/chunks/cli-0.1.9-q7hve442.mjs +0 -2
  607. package/dist/chunks/cli-0.1.9-qqjp7mpj.mjs +0 -2
  608. package/dist/chunks/cli-0.1.9-qydwhycw.mjs +0 -2
  609. package/dist/chunks/cli-0.1.9-r3ha1332.mjs +0 -7
  610. package/dist/chunks/cli-0.1.9-r7rcv2wm.mjs +0 -8
  611. package/dist/chunks/cli-0.1.9-rd0jctgk.mjs +0 -21
  612. package/dist/chunks/cli-0.1.9-rerthk1j.mjs +0 -2
  613. package/dist/chunks/cli-0.1.9-rft22htm.mjs +0 -2
  614. package/dist/chunks/cli-0.1.9-rp31nc37.mjs +0 -2
  615. package/dist/chunks/cli-0.1.9-rw09xkh7.mjs +0 -2
  616. package/dist/chunks/cli-0.1.9-s0w3y07w.mjs +0 -2
  617. package/dist/chunks/cli-0.1.9-s45y2ndk.mjs +0 -2
  618. package/dist/chunks/cli-0.1.9-s6bk4fbn.mjs +0 -2
  619. package/dist/chunks/cli-0.1.9-scpj6tps.mjs +0 -3
  620. package/dist/chunks/cli-0.1.9-sqja68fn.mjs +0 -2
  621. package/dist/chunks/cli-0.1.9-sv3awdsv.mjs +0 -2
  622. package/dist/chunks/cli-0.1.9-t24n24mw.mjs +0 -2
  623. package/dist/chunks/cli-0.1.9-teaymnrz.mjs +0 -2
  624. package/dist/chunks/cli-0.1.9-tq9z3reg.mjs +0 -2
  625. package/dist/chunks/cli-0.1.9-v32f99vc.mjs +0 -11
  626. package/dist/chunks/cli-0.1.9-v6x9pr1t.mjs +0 -2
  627. package/dist/chunks/cli-0.1.9-v7ajk1nz.mjs +0 -2
  628. package/dist/chunks/cli-0.1.9-vdw09f8y.mjs +0 -44
  629. package/dist/chunks/cli-0.1.9-vm7cggd9.mjs +0 -45
  630. package/dist/chunks/cli-0.1.9-vp3dtntc.mjs +0 -2
  631. package/dist/chunks/cli-0.1.9-vwv31syx.mjs +0 -2
  632. package/dist/chunks/cli-0.1.9-w692zn5c.mjs +0 -2
  633. package/dist/chunks/cli-0.1.9-wn39cz20.mjs +0 -2
  634. package/dist/chunks/cli-0.1.9-wpvrabrk.mjs +0 -2
  635. package/dist/chunks/cli-0.1.9-x0xxr5dh.mjs +0 -13
  636. package/dist/chunks/cli-0.1.9-x13p19zq.mjs +0 -2
  637. package/dist/chunks/cli-0.1.9-x257hapj.mjs +0 -9
  638. package/dist/chunks/cli-0.1.9-x7qrvj9f.mjs +0 -2
  639. package/dist/chunks/cli-0.1.9-xvn37fkk.mjs +0 -2
  640. package/dist/chunks/cli-0.1.9-xvvq2rcd.mjs +0 -4
  641. package/dist/chunks/cli-0.1.9-xws3mhz4.mjs +0 -2
  642. package/dist/chunks/cli-0.1.9-y8n4w5nn.mjs +0 -5
  643. package/dist/chunks/cli-0.1.9-ycvkz1gf.mjs +0 -4
  644. package/dist/chunks/cli-0.1.9-yddanjg2.mjs +0 -132
  645. package/dist/chunks/cli-0.1.9-ymsq31jx.mjs +0 -2
  646. package/dist/chunks/cli-0.1.9-ywf6743k.mjs +0 -2
  647. package/dist/chunks/cli-0.1.9-z5mm21jw.mjs +0 -24
  648. package/dist/chunks/cli-0.1.9-zae1me3j.mjs +0 -2
  649. package/dist/chunks/cli-0.1.9-zck4s4sh.mjs +0 -2
  650. package/dist/chunks/cli-0.1.9-zehsa1kq.mjs +0 -2
  651. package/dist/chunks/cli-0.1.9-zqyxbf50.mjs +0 -2
  652. package/dist/chunks/cli-0.1.9-zstpbdrf.mjs +0 -2
  653. package/dist/chunks/cli-0.1.9-zzp8m503.mjs +0 -3
  654. package/dist/chunks/cliArgs-0.1.9-kckasx4h.mjs +0 -1
  655. package/dist/chunks/client-0.1.9-ys52xz2v.mjs +0 -1
  656. package/dist/chunks/color-0.1.9-nmnytefc.mjs +0 -1
  657. package/dist/chunks/compact-0.1.9-qw915ckh.mjs +0 -3
  658. package/dist/chunks/config-0.1.9-1m69edch.mjs +0 -1
  659. package/dist/chunks/config-0.1.9-6knxc8a2.mjs +0 -1
  660. package/dist/chunks/context-0.1.9-47a3xmqq.mjs +0 -1
  661. package/dist/chunks/context-noninteractive-0.1.9-6s9bm74v.mjs +0 -1
  662. package/dist/chunks/conversation-0.1.9-vebter8y.mjs +0 -1
  663. package/dist/chunks/copy-0.1.9-ae06p3e2.mjs +0 -9
  664. package/dist/chunks/cost-0.1.9-x5zee0z9.mjs +0 -1
  665. package/dist/chunks/createSession-0.1.9-djn7xdsv.mjs +0 -1
  666. package/dist/chunks/desktop-0.1.9-xaecrssd.mjs +0 -1
  667. package/dist/chunks/detectRepository-0.1.9-qqzcce45.mjs +0 -1
  668. package/dist/chunks/detection-0.1.9-ry1q2ym2.mjs +0 -1
  669. package/dist/chunks/devtools-0.1.9-kzs9wq2w.mjs +0 -1
  670. package/dist/chunks/diff-0.1.9-af5n5bzh.mjs +0 -1
  671. package/dist/chunks/doctor-0.1.9-9f6fz2h0.mjs +0 -1
  672. package/dist/chunks/earlyInput-0.1.9-h7yskwvf.mjs +0 -1
  673. package/dist/chunks/effort-0.1.9-spz96zzr.mjs +0 -8
  674. package/dist/chunks/environmentSelection-0.1.9-0va5g53h.mjs +0 -1
  675. package/dist/chunks/environments-0.1.9-2hka6k26.mjs +0 -1
  676. package/dist/chunks/exit-0.1.9-rvk04qa2.mjs +0 -1
  677. package/dist/chunks/export-0.1.9-c3pqjktx.mjs +0 -2
  678. package/dist/chunks/extra-usage-0.1.9-92jjke47.mjs +0 -1
  679. package/dist/chunks/extra-usage-noninteractive-0.1.9-27zjp5q7.mjs +0 -1
  680. package/dist/chunks/fast-0.1.9-60sqqvgd.mjs +0 -1
  681. package/dist/chunks/feedback-0.1.9-anraj53n.mjs +0 -14
  682. package/dist/chunks/firstPartyEventLogger-0.1.9-y55fqx1x.mjs +0 -1
  683. package/dist/chunks/fullscreen-0.1.9-xy9bnpe3.mjs +0 -1
  684. package/dist/chunks/git-0.1.9-09pdaxwd.mjs +0 -1
  685. package/dist/chunks/githubModelsCredentials-0.1.9-bzx6c3bd.mjs +0 -1
  686. package/dist/chunks/growthbook-0.1.9-rqhcy76z.mjs +0 -1
  687. package/dist/chunks/heapdump-0.1.9-qrfce4dp.mjs +0 -6
  688. package/dist/chunks/help-0.1.9-sfn2ed9n.mjs +0 -1
  689. package/dist/chunks/hookChains-0.1.9-5t2mrtyc.mjs +0 -3
  690. package/dist/chunks/hooks-0.1.9-4cebdztn.mjs +0 -1
  691. package/dist/chunks/hooks-0.1.9-y0vtx23k.mjs +0 -79
  692. package/dist/chunks/ide-0.1.9-yxzacgd5.mjs +0 -3
  693. package/dist/chunks/image-processor-napi-0.1.9-fwc1ge47.mjs +0 -1
  694. package/dist/chunks/index-0.1.9-2gv7a7tq.mjs +0 -2
  695. package/dist/chunks/index-0.1.9-31vnb803.mjs +0 -1
  696. package/dist/chunks/index-0.1.9-68aa3hmw.mjs +0 -1
  697. package/dist/chunks/index-0.1.9-7ktx5gez.mjs +0 -1
  698. package/dist/chunks/index-0.1.9-8feamw1f.mjs +0 -1
  699. package/dist/chunks/index-0.1.9-8hzceckr.mjs +0 -5
  700. package/dist/chunks/index-0.1.9-96thm65j.mjs +0 -1
  701. package/dist/chunks/index-0.1.9-c7sexk3f.mjs +0 -2
  702. package/dist/chunks/index-0.1.9-fvtq6thw.mjs +0 -1
  703. package/dist/chunks/index-0.1.9-g2ngvhaf.mjs +0 -1
  704. package/dist/chunks/index-0.1.9-gtn0qcv2.mjs +0 -7
  705. package/dist/chunks/index-0.1.9-h548q4km.mjs +0 -1
  706. package/dist/chunks/index-0.1.9-j6ac60hq.mjs +0 -1
  707. package/dist/chunks/index-0.1.9-jxdymwv4.mjs +0 -1
  708. package/dist/chunks/index-0.1.9-kgdkzpmr.mjs +0 -1
  709. package/dist/chunks/index-0.1.9-mt2y3wyw.mjs +0 -9
  710. package/dist/chunks/index-0.1.9-smem7egb.mjs +0 -30
  711. package/dist/chunks/index-0.1.9-snmdvw2f.mjs +0 -1
  712. package/dist/chunks/index-0.1.9-vwevfx80.mjs +0 -1
  713. package/dist/chunks/index-0.1.9-w21jc8bp.mjs +0 -1
  714. package/dist/chunks/index-0.1.9-wpqaqk4y.mjs +0 -1
  715. package/dist/chunks/index-0.1.9-yjp28h60.mjs +0 -9
  716. package/dist/chunks/initReplBridge-0.1.9-dag95hyf.mjs +0 -1
  717. package/dist/chunks/ink-0.1.9-4n2nvw5p.mjs +0 -1
  718. package/dist/chunks/insights-0.1.9-9hr8tshw.mjs +0 -870
  719. package/dist/chunks/install-0.1.9-km91vvgf.mjs +0 -1
  720. package/dist/chunks/install-github-app-0.1.9-874a2dgj.mjs +0 -149
  721. package/dist/chunks/install-slack-app-0.1.9-q5yyb8vs.mjs +0 -1
  722. package/dist/chunks/instrumentation-0.1.9-raz129aj.mjs +0 -12
  723. package/dist/chunks/interactiveHelpers-0.1.9-21a8r4rv.mjs +0 -1
  724. package/dist/chunks/keybindings-0.1.9-nm8s4x8m.mjs +0 -2
  725. package/dist/chunks/knowledge-0.1.9-zhr6zq80.mjs +0 -2
  726. package/dist/chunks/loadAgentsDir-0.1.9-3m0mzw84.mjs +0 -1
  727. package/dist/chunks/loadPluginHooks-0.1.9-y46g5zj0.mjs +0 -1
  728. package/dist/chunks/logout-0.1.9-hb89bxj8.mjs +0 -1
  729. package/dist/chunks/lsp-0.1.9-2j3y8eqc.mjs +0 -1
  730. package/dist/chunks/main-0.1.9-7cnyr288.mjs +0 -1
  731. package/dist/chunks/managedEnv-0.1.9-y8wax2wz.mjs +0 -1
  732. package/dist/chunks/mcp-0.1.9-14beee71.mjs +0 -17
  733. package/dist/chunks/mcp-0.1.9-qw1n3pzx.mjs +0 -4
  734. package/dist/chunks/mcp-0.1.9-zd92e41j.mjs +0 -1
  735. package/dist/chunks/mcpServer-0.1.9-5p48a2y0.mjs +0 -1
  736. package/dist/chunks/mcpb-0.1.9-t8x1bjwv.mjs +0 -1
  737. package/dist/chunks/memory-0.1.9-mxz6vgsy.mjs +0 -3
  738. package/dist/chunks/mobile-0.1.9-144nwr03.mjs +0 -2
  739. package/dist/chunks/model-0.1.9-ghswdzx2.mjs +0 -1
  740. package/dist/chunks/model-0.1.9-j4vhm4vm.mjs +0 -2
  741. package/dist/chunks/oauth-0.1.9-a7p9ezjx.mjs +0 -1
  742. package/dist/chunks/openaiShim-0.1.9-5bn57rv6.mjs +0 -14
  743. package/dist/chunks/output-style-0.1.9-y8t5c5v3.mjs +0 -1
  744. package/dist/chunks/package-HMBVQOZ4-0.1.9-mbvqe0av.mjs +0 -1
  745. package/dist/chunks/parser-0.1.9-d7vc9q1w.mjs +0 -1
  746. package/dist/chunks/passes-0.1.9-84vsp058.mjs +0 -1
  747. package/dist/chunks/permissions-0.1.9-h0a2312z.mjs +0 -3
  748. package/dist/chunks/plan-0.1.9-k9dx9nwc.mjs +0 -1
  749. package/dist/chunks/plist-0.1.9-f3c6hvca.mjs +0 -1
  750. package/dist/chunks/plugin-0.1.9-z3nwra38.mjs +0 -29
  751. package/dist/chunks/pluginStartupCheck-0.1.9-p68xwmv4.mjs +0 -1
  752. package/dist/chunks/plugins-0.1.9-grc1bgmj.mjs +0 -9
  753. package/dist/chunks/print-0.1.9-z151tvas.mjs +0 -57
  754. package/dist/chunks/privacy-settings-0.1.9-m7xpxtd8.mjs +0 -1
  755. package/dist/chunks/process-0.1.9-anx0dq1a.mjs +0 -1
  756. package/dist/chunks/processBashCommand-0.1.9-bchtybqh.mjs +0 -1
  757. package/dist/chunks/processSlashCommand-0.1.9-ebvc859m.mjs +0 -9
  758. package/dist/chunks/prompt-0.1.9-08fnpwfx.mjs +0 -1
  759. package/dist/chunks/prompt-0.1.9-whqkx3td.mjs +0 -1
  760. package/dist/chunks/prompts-0.1.9-psek69yr.mjs +0 -1
  761. package/dist/chunks/provider-0.1.9-xwmdqr38.mjs +0 -2
  762. package/dist/chunks/providerProfiles-0.1.9-myc8zcfy.mjs +0 -1
  763. package/dist/chunks/rate-limit-options-0.1.9-06twart5.mjs +0 -1
  764. package/dist/chunks/registry-0.1.9-xxrsbce3.mjs +0 -1
  765. package/dist/chunks/release-notes-0.1.9-4r396x7z.mjs +0 -5
  766. package/dist/chunks/reload-plugins-0.1.9-hm09ekrf.mjs +0 -2
  767. package/dist/chunks/remote-env-0.1.9-0peng4np.mjs +0 -1
  768. package/dist/chunks/remoteBridgeCore-0.1.9-4eg0bkck.mjs +0 -1
  769. package/dist/chunks/remoteSession-0.1.9-7jagnaes.mjs +0 -1
  770. package/dist/chunks/rename-0.1.9-3r8bqa1y.mjs +0 -1
  771. package/dist/chunks/replBridgeHandle-0.1.9-1y32h5jq.mjs +0 -1
  772. package/dist/chunks/resume-0.1.9-gayv56qp.mjs +0 -2
  773. package/dist/chunks/rewind-0.1.9-krxjbzeg.mjs +0 -1
  774. package/dist/chunks/sandbox-adapter-0.1.9-b4ze2ex2.mjs +0 -1
  775. package/dist/chunks/sandbox-toggle-0.1.9-6vctxbed.mjs +0 -1
  776. package/dist/chunks/session-0.1.9-jtrr3jje.mjs +0 -2
  777. package/dist/chunks/sessionFileAccessHooks-0.1.9-wpgdva8t.mjs +0 -1
  778. package/dist/chunks/sessionStorage-0.1.9-1v6wyqzw.mjs +0 -1
  779. package/dist/chunks/setup-0.1.9-jc5w6v5s.mjs +0 -5
  780. package/dist/chunks/sinks-0.1.9-49ereb4y.mjs +0 -1
  781. package/dist/chunks/skills-0.1.9-d63w5m27.mjs +0 -1
  782. package/dist/chunks/startupProfiler-0.1.9-gmke65dk.mjs +0 -1
  783. package/dist/chunks/state-0.1.9-m8x0v07d.mjs +0 -1
  784. package/dist/chunks/stats-0.1.9-yvya6xg6.mjs +0 -6
  785. package/dist/chunks/status-0.1.9-sapnwz4b.mjs +0 -1
  786. package/dist/chunks/stickers-0.1.9-ewdagtd4.mjs +0 -1
  787. package/dist/chunks/subprocessEnv-0.1.9-2dqzh55d.mjs +0 -1
  788. package/dist/chunks/tasks-0.1.9-qgqwhse9.mjs +0 -1
  789. package/dist/chunks/teamHelpers-0.1.9-r474ar76.mjs +0 -1
  790. package/dist/chunks/teammateModeSnapshot-0.1.9-nwc11b9m.mjs +0 -1
  791. package/dist/chunks/teleport-0.1.9-xaj204my.mjs +0 -1
  792. package/dist/chunks/terminalSetup-0.1.9-xd5rhh32.mjs +0 -1
  793. package/dist/chunks/theme-0.1.9-f6jzdysz.mjs +0 -1
  794. package/dist/chunks/thinkback-0.1.9-8j25tex7.mjs +0 -1
  795. package/dist/chunks/thinkback-play-0.1.9-tzs2w3mj.mjs +0 -1
  796. package/dist/chunks/toolPool-0.1.9-6b4938vh.mjs +0 -1
  797. package/dist/chunks/toolSearch-0.1.9-7ych6nv7.mjs +0 -1
  798. package/dist/chunks/trustedDevice-0.1.9-xqxt3kmz.mjs +0 -1
  799. package/dist/chunks/turndown.cjs-0.1.9-m1wesrr4.mjs +0 -69
  800. package/dist/chunks/ultrareviewCommand-0.1.9-x09n5pvc.mjs +0 -4
  801. package/dist/chunks/update-0.1.9-8dntd8kh.mjs +0 -94
  802. package/dist/chunks/upgrade-0.1.9-eja31dgt.mjs +0 -1
  803. package/dist/chunks/upstreamproxy-0.1.9-pv2yqh11.mjs +0 -14
  804. package/dist/chunks/usage-0.1.9-neje6dea.mjs +0 -1
  805. package/dist/chunks/util-0.1.9-kdhggd68.mjs +0 -1
  806. package/dist/chunks/utils-0.1.9-bqw30f8b.mjs +0 -1
  807. package/dist/chunks/vim-0.1.9-w4d1qz6f.mjs +0 -1
  808. package/dist/chunks/watcher-0.1.9-ty2r0yxd.mjs +0 -1
  809. package/dist/chunks/wiki-0.1.9-ah646x2k.mjs +0 -132
  810. package/dist/chunks/worktree-0.1.9-d3fbxjwd.mjs +0 -1
  811. package/dist/chunks/worktreeModeEnabled-0.1.9-qbn6b5fs.mjs +0 -1
  812. package/dist/chunks/wrapper-0.1.9-eh46qafm.mjs +0 -7
  813. /package/dist/chunks/{cli-0.1.9-zrdz7st3.mjs → cli-0.1.10-9xpgjxhj.mjs} +0 -0
@@ -1,252 +0,0 @@
1
- import{$U as OI,WU as sD}from"./cli-0.1.9-263y2rkc.mjs";import{aV as JI,cV as mj,fV as QI}from"./cli-0.1.9-mx4ekht0.mjs";import{zX as t0}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as WZ}from"./cli-0.1.9-hy9s1fnj.mjs";import{o0 as nD,s0 as BI}from"./cli-0.1.9-rft22htm.mjs";import{$4 as O0,_4 as JN,a5 as C3}from"./cli-0.1.9-f8ga1n8r.mjs";import{h6 as kk,i6 as Ek}from"./cli-0.1.9-jchn9hyn.mjs";import{V9 as A4,Waa as jW,X9 as yj,Zaa as HW,a7 as d6,f7 as Fj,i7 as sA,j7 as Zk,n7 as K6,p7 as lR,qba as D_}from"./cli-0.1.9-86kws2c7.mjs";import{Kea as h$,Lea as aY,Mea as iY,Nea as eY,Oea as nY,Pea as O4,Qea as Zj,Rea as xJ,Sea as j4}from"./cli-0.1.9-mkfnnvz7.mjs";import{sfa as TX,yfa as WA}from"./cli-0.1.9-9nhh15bp.mjs";import{Aga as o8,xga as gZ}from"./cli-0.1.9-vdw09f8y.mjs";import{Ega as qK,Oga as PV}from"./cli-0.1.9-v7ajk1nz.mjs";import{Xha as LW,Yha as C_,eja as aD,fja as nA,pma as iD}from"./cli-0.1.9-7fp0smtp.mjs";import{sma as WW,tma as $_,yma as b8,zma as A3}from"./cli-0.1.9-1ghbcafn.mjs";import{hna as r,jna as y6,lna as h,mna as DR}from"./cli-0.1.9-kbrf27z8.mjs";var HQ=y6((xE,KW)=>{var O_=r(WZ()),nP=Object.create,Uz=Object.defineProperty,sP=Object.getOwnPropertyDescriptor,oP=Object.getOwnPropertyNames,rP=Object.getPrototypeOf,tP=Object.prototype.hasOwnProperty,eP=(Q,K)=>{for(var z in K)Uz(Q,z,{get:K[z],enumerable:!0})},JW=(Q,K,z,U)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let H of oP(K))if(!tP.call(Q,H)&&H!==z)Uz(Q,H,{get:()=>K[H],enumerable:!(U=sP(K,H))||U.enumerable})}return Q},Z_=(Q,K,z)=>(z=Q!=null?nP(rP(Q)):{},JW(K||!Q||!Q.__esModule?Uz(z,"default",{value:Q,enumerable:!0}):z,Q)),J_=(Q)=>JW(Uz({},"__esModule",{value:!0}),Q),QW={};eP(QW,{$dispatcherGuard:()=>z_,$makeReadOnly:()=>U_,$reset:()=>X_,$structuralCheck:()=>B_,c:()=>G_,clearRenderCounterRegistry:()=>q_,renderCounterRegistry:()=>v1,useRenderCounter:()=>F_});KW.exports=J_(QW);var J4=Z_(O_),{useRef:Q_,useEffect:K_,isValidElement:e5}=J4,tO,B3=(tO=J4.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?tO:J4.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O3=Symbol.for("react.memo_cache_sentinel"),eO,G_=typeof((eO=J4.__COMPILER_RUNTIME)==null?void 0:eO.c)==="function"?J4.__COMPILER_RUNTIME.c:function(K){return J4.useMemo(()=>{let z=Array(K);for(let U=0;U<K;U++)z[U]=O3;return z[O3]=!0,z},[])},Xz={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach((Q)=>{Xz[Q]=()=>{throw Error(`[React] Unexpected React hook call (${Q}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var w1=null;Xz.useMemoCache=(Q)=>{if(w1==null)throw Error("React Compiler internal invariant violation: unexpected null dispatcher");else return w1.useMemoCache(Q)};function zz(Q){return B3.ReactCurrentDispatcher.current=Q,B3.ReactCurrentDispatcher.current}var Z4=[];function z_(Q){let K=B3.ReactCurrentDispatcher.current;if(Q===0){if(Z4.push(K),Z4.length===1)w1=K;if(K===Xz)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");zz(Xz)}else if(Q===1){let z=Z4.pop();if(z==null)throw Error("React Compiler internal error: unexpected null in guard stack");if(Z4.length===0)w1=null;zz(z)}else if(Q===2)Z4.push(K),zz(w1);else if(Q===3){let z=Z4.pop();if(z==null)throw Error("React Compiler internal error: unexpected null in guard stack");zz(z)}else throw Error("React Compiler internal error: unreachable block"+Q)}function X_(Q){for(let K=0;K<Q.length;K++)Q[K]=O3}function U_(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var v1=new Map;function q_(){for(let Q of v1.values())Q.forEach((K)=>{K.count=0})}function j_(Q,K){let z=v1.get(Q);if(z==null)z=new Set,v1.set(Q,z);z.add(K)}function H_(Q,K){let z=v1.get(Q);if(z==null)return;z.delete(K)}function F_(Q){let K=Q_(null);if(K.current!=null)K.current.count+=1;K_(()=>{if(K.current==null){let z={count:0};j_(Q,z),K.current=z}return()=>{if(K.current!==null)H_(Q,K.current)}})}var ZW=new Set;function B_(Q,K,z,U,H,F){function B(D,A,N,M){let L=`${U}:${F} [${H}] ${z}${N} changed from ${D} to ${A} at depth ${M}`;if(ZW.has(L))return;ZW.add(L),console.error(L)}let W=2;function Y(D,A,N,M){if(M>W)return;else if(D===A)return;else if(typeof D!==typeof A)B(`type ${typeof D}`,`type ${typeof A}`,N,M);else if(typeof D==="object"){let L=Array.isArray(D),T=Array.isArray(A);if(D===null&&A!==null)B("null",`type ${typeof A}`,N,M);else if(A===null)B(`type ${typeof D}`,"null",N,M);else if(D instanceof Map)if(!(A instanceof Map))B("Map instance","other value",N,M);else if(D.size!==A.size)B(`Map instance with size ${D.size}`,`Map instance with size ${A.size}`,N,M);else for(let[_,E]of D)if(!A.has(_))B(`Map instance with key ${_}`,`Map instance without key ${_}`,N,M);else Y(E,A.get(_),`${N}.get(${_})`,M+1);else if(A instanceof Map)B("other value","Map instance",N,M);else if(D instanceof Set){if(!(A instanceof Set))B("Set instance","other value",N,M);else if(D.size!==A.size)B(`Set instance with size ${D.size}`,`Set instance with size ${A.size}`,N,M);else for(let _ of A)if(!D.has(_))B(`Set instance without element ${_}`,`Set instance with element ${_}`,N,M)}else if(A instanceof Set)B("other value","Set instance",N,M);else if(L||T)if(L!==T)B(`type ${L?"array":"object"}`,`type ${T?"array":"object"}`,N,M);else if(D.length!==A.length)B(`array with length ${D.length}`,`array with length ${A.length}`,N,M);else for(let _=0;_<D.length;_++)Y(D[_],A[_],`${N}[${_}]`,M+1);else if(e5(D)||e5(A))if(e5(D)!==e5(A))B(`type ${e5(D)?"React element":"object"}`,`type ${e5(A)?"React element":"object"}`,N,M);else if(D.type!==A.type)B(`React element of type ${D.type}`,`React element of type ${A.type}`,N,M);else Y(D.props,A.props,`[props of ${N}]`,M+1);else{for(let _ in A)if(!(_ in D))B(`object without key ${_}`,`object with key ${_}`,N,M);for(let _ in D)if(!(_ in A))B(`object with key ${_}`,`object without key ${_}`,N,M);else Y(D[_],A[_],`${N}.${_}`,M+1)}}else if(typeof D==="function")return;else if(isNaN(D)||isNaN(A)){if(isNaN(D)!==isNaN(A))B(`${isNaN(D)?"NaN":"non-NaN value"}`,`${isNaN(A)?"NaN":"non-NaN value"}`,N,M)}else if(D!==A)B(D,A,N,M)}Y(Q,K,"",0)}});class G9{_didStopImmediatePropagation=!1;didStopImmediatePropagation(){return this._didStopImmediatePropagation}stopImmediatePropagation(){this._didStopImmediatePropagation=!0}}var S8=()=>{};import{EventEmitter as W_}from"events";var Q4;var qz=h(()=>{S8();Q4=class Q4 extends W_{constructor(){super();this.setMaxListeners(0)}emit(Q,...K){if(Q==="error")return super.emit(Q,...K);let z=this.rawListeners(Q);if(z.length===0)return!1;let U=K[0]instanceof G9?K[0]:null;for(let H of z)if(H.apply(this,K),U?.didStopImmediatePropagation())break;return!0}}});var GW,zW,f8;var jz=h(()=>{qz();GW=r(WZ(),1),zW=GW.createContext({stdin:process.stdin,internal_eventEmitter:new Q4,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0,internal_querier:null});zW.displayName="InternalStdinContext";f8=zW});var XW,Y_=()=>XW.useContext(f8),y1;var Hz=h(()=>{jz();XW=r(WZ(),1),y1=Y_});function g1(){if(W3===void 0)W3=V_()??"dark";return W3}function uE(Q){if(Q==="auto")return g1();return Q}function V_(){let Q=process.env.COLORFGBG;if(!Q)return;let K=Q.split(";"),z=K[K.length-1];if(z===void 0||z==="")return;let U=Number(z);if(!Number.isInteger(U)||U<0||U>15)return;return U<=6||U===8?"dark":"light"}var W3;var UW=()=>{};function A_(){return HW().theme}function N_(Q){jW((K)=>({...K,theme:Q}))}function V3({children:Q,initialState:K,onThemeSave:z=N_}){let[U,H]=PQ.useState(K??A_),[F,B]=PQ.useState(null),[W,Y]=PQ.useState(()=>(K??U)==="auto"?g1():"dark"),D=F??U,{internal_querier:A}=y1();PQ.useEffect(()=>{},[D,A]);let N=D==="auto"?W:D,M=PQ.useMemo(()=>({themeSetting:U,setThemeSetting:(L)=>{if(H(L),B(null),L==="auto")Y(g1());z?.(L)},setPreviewTheme:(L)=>{if(B(L),L==="auto")Y(g1())},savePreview:()=>{if(F!==null)H(F),B(null),z?.(F)},cancelPreview:()=>{if(F!==null)B(null)},currentTheme:N}),[U,F,N,z]);return FW.jsxDEV(Fz.Provider,{value:M,children:Q},void 0,!1,void 0,this)}function m1(){let Q=Y3.c(3),{currentTheme:K,setThemeSetting:z}=PQ.useContext(Fz),U;if(Q[0]!==K||Q[1]!==z)U=[K,z],Q[0]=K,Q[1]=z,Q[2]=U;else U=Q[2];return U}function M_(){return PQ.useContext(Fz).themeSetting}function L_(){let Q=Y3.c(4),{setPreviewTheme:K,savePreview:z,cancelPreview:U}=PQ.useContext(Fz),H;if(Q[0]!==U||Q[1]!==z||Q[2]!==K)H={setPreviewTheme:K,savePreview:z,cancelPreview:U},Q[0]=U,Q[1]=z,Q[2]=K,Q[3]=H;else H=Q[3];return H}var Y3,PQ,FW,qW="dark",Fz;var u1=h(()=>{Hz();D_();UW();Y3=r(HQ(),1),PQ=r(WZ(),1),FW=r(t0(),1),Fz=PQ.createContext({themeSetting:qW,setThemeSetting:()=>{},setPreviewTheme:()=>{},savePreview:()=>{},cancelPreview:()=>{},currentTheme:qW})});function D3(Q,{include:K,exclude:z}={}){let U=(H)=>{let F=(B)=>typeof B==="string"?H===B:B.test(H);if(K)return K.some(F);if(z)return!z.some(F);return!0};for(let[H,F]of P_(Q.constructor.prototype)){if(F==="constructor"||!U(F))continue;let B=Reflect.getOwnPropertyDescriptor(H,F);if(B&&typeof B.value==="function")Q[F]=Q[F].bind(Q)}return Q}var P_=(Q)=>{let K=new Set;do for(let z of Reflect.ownKeys(Q))K.add([Q,z]);while((Q=Reflect.getPrototypeOf(Q))&&Q!==Object.prototype);return K};var BW=()=>{};function __(){}var Bz;var OW=h(()=>{Bz=__});var R_=function(){return WW.Date.now()},Oz;var YW=h(()=>{$_();Oz=R_});function k_(Q){var K=Q.length;while(K--&&I_.test(Q.charAt(K)));return K}var I_,VW;var DW=h(()=>{I_=/\s/;VW=k_});function T_(Q){return Q?Q.slice(0,VW(Q)+1).replace(E_,""):Q}var E_,AW;var NW=h(()=>{DW();E_=/^\s+/;AW=T_});function w_(Q){if(typeof Q=="number")return Q;if(LW(Q))return MW;if(b8(Q)){var K=typeof Q.valueOf=="function"?Q.valueOf():Q;Q=b8(K)?K+"":K}if(typeof Q!="string")return Q===0?Q:+Q;Q=AW(Q);var z=S_.test(Q);return z||f_.test(Q)?b_(Q.slice(2),z?2:8):x_.test(Q)?MW:+Q}var MW=NaN,x_,S_,f_,b_,N3;var PW=h(()=>{NW();A3();C_();x_=/^[-+]0x[0-9a-f]+$/i,S_=/^0b[01]+$/i,f_=/^0o[0-7]+$/i,b_=parseInt;N3=w_});function m_(Q,K,z){var U,H,F,B,W,Y,D=0,A=!1,N=!1,M=!0;if(typeof Q!="function")throw TypeError(v_);if(K=N3(K)||0,b8(z))A=!!z.leading,N="maxWait"in z,F=N?y_(N3(z.maxWait)||0,K):F,M="trailing"in z?!!z.trailing:M;function L(m){var s=U,y=H;return U=H=void 0,D=m,B=Q.apply(y,s),B}function T(m){return D=m,W=setTimeout(C,K),A?L(m):B}function _(m){var s=m-Y,y=m-D,S=K-s;return N?g_(S,F-y):S}function E(m){var s=m-Y,y=m-D;return Y===void 0||s>=K||s<0||N&&y>=F}function C(){var m=Oz();if(E(m))return I(m);W=setTimeout(C,_(m))}function I(m){if(W=void 0,M&&U)return L(m);return U=H=void 0,B}function g(){if(W!==void 0)clearTimeout(W);D=0,U=Y=H=W=void 0}function u(){return W===void 0?B:I(Oz())}function l(){var m=Oz(),s=E(m);if(U=arguments,H=this,Y=m,s){if(W===void 0)return T(Y);if(N)return clearTimeout(W),W=setTimeout(C,K),L(Y)}if(W===void 0)W=setTimeout(C,K);return B}return l.cancel=g,l.flush=u,l}var v_="Expected a function",y_,g_,_W;var $W=h(()=>{A3();YW();PW();y_=Math.max,g_=Math.min;_W=m_});function h_(Q,K,z){var U=!0,H=!0;if(typeof Q!="function")throw TypeError(u_);if(b8(z))U="leading"in z?!!z.leading:U,H="trailing"in z?!!z.trailing:H;return _W(Q,K,{leading:U,maxWait:K,trailing:H})}var u_="Expected a function",RW;var IW=h(()=>{$W();A3();RW=h_});var Wz=y6((p_)=>{p_.ConcurrentRoot=1,p_.ContinuousEventPriority=8,p_.DefaultEventPriority=32,p_.DiscreteEventPriority=2,p_.IdleEventPriority=268435456,p_.LegacyRoot=0,p_.NoEventPriority=0});var k0,Yz,g6,VZ,kW,oZ,r9,CJ,b0,w8,v8,LJ,m6;var EW=h(()=>{k0={Auto:0,FlexStart:1,Center:2,FlexEnd:3,Stretch:4,Baseline:5,SpaceBetween:6,SpaceAround:7,SpaceEvenly:8},Yz={Inherit:0,LTR:1,RTL:2},g6={Flex:0,None:1,Contents:2},VZ={Left:0,Top:1,Right:2,Bottom:3,Start:4,End:5,Horizontal:6,Vertical:7,All:8},kW={None:0,StretchFlexBasis:1,AbsolutePositionWithoutInsetsExcludesPadding:2,AbsolutePercentAgainstInnerSize:4,All:2147483647,Classic:2147483646},oZ={Column:0,ColumnReverse:1,Row:2,RowReverse:3},r9={Column:0,Row:1,All:2},CJ={FlexStart:0,Center:1,FlexEnd:2,SpaceBetween:3,SpaceAround:4,SpaceEvenly:5},b0={Undefined:0,Exactly:1,AtMost:2},w8={Visible:0,Hidden:1,Scroll:2},v8={Static:0,Relative:1,Absolute:2},LJ={Undefined:0,Point:1,Percent:2,Auto:3},m6={NoWrap:0,Wrap:1,WrapReverse:2}});function Mz(Q){return{unit:LJ.Point,value:Q}}function z9(Q){return{unit:LJ.Percent,value:Q}}function pZ(Q,K){switch(Q.unit){case LJ.Point:return Q.value;case LJ.Percent:return isNaN(K)?NaN:Q.value*K/100;default:return NaN}}function R0(Q){return!isNaN(Q)}function iJ(Q,K){return Q===K||Q!==Q&&K!==K}function TW(){return{direction:Yz.Inherit,flexDirection:oZ.Column,justifyContent:CJ.FlexStart,alignItems:k0.Stretch,alignSelf:k0.Auto,alignContent:k0.FlexStart,flexWrap:m6.NoWrap,overflow:w8.Visible,display:g6.Flex,positionType:v8.Relative,flexGrow:0,flexShrink:0,flexBasis:u6,margin:[,,,,,,,,,].fill(mQ),padding:[,,,,,,,,,].fill(mQ),border:[,,,,,,,,,].fill(mQ),position:[,,,,,,,,,].fill(mQ),gap:[,,,].fill(mQ),width:u6,height:u6,minWidth:mQ,minHeight:mQ,maxWidth:mQ,maxHeight:mQ}}function v7(Q,K,z,U=!1){let H=Q[K];if(H.unit===LJ.Undefined)if(K===FQ||K===X9)H=Q[VZ.Horizontal];else H=Q[VZ.Vertical];if(H.unit===LJ.Undefined)H=Q[VZ.All];if(H.unit===LJ.Undefined){if(K===FQ)H=Q[VZ.Start];if(K===X9)H=Q[VZ.End]}if(H.unit===LJ.Undefined)return 0;if(H.unit===LJ.Auto)return U?NaN:0;return pZ(H,z)}function C9(Q,K){let z=Q[K];if(z.unit===LJ.Undefined)if(K===FQ||K===X9)z=Q[VZ.Horizontal];else z=Q[VZ.Vertical];if(z.unit===LJ.Undefined)z=Q[VZ.All];if(z.unit===LJ.Undefined){if(K===FQ)z=Q[VZ.Start];if(K===X9)z=Q[VZ.End]}return z}function t9(Q,K){return C9(Q,K).unit===LJ.Auto}function CW(Q){for(let K=0;K<9;K++)if(Q[K].unit===3)return!0;return!1}function Vz(Q){for(let K=0;K<9;K++)if(Q[K].unit!==0)return!0;return!1}function M3(Q,K,z){let U=Q[6],H=Q[7],F=Q[8],B=Q[4],W=Q[5],Y=isNaN(K)?NaN:K/100,D=Q[0];if(D.unit===0)D=U;if(D.unit===0)D=F;if(D.unit===0)D=B;if(z[0]=D.unit===1?D.value:D.unit===2?D.value*Y:0,D=Q[1],D.unit===0)D=H;if(D.unit===0)D=F;if(z[1]=D.unit===1?D.value:D.unit===2?D.value*Y:0,D=Q[2],D.unit===0)D=U;if(D.unit===0)D=F;if(D.unit===0)D=W;if(z[2]=D.unit===1?D.value:D.unit===2?D.value*Y:0,D=Q[3],D.unit===0)D=H;if(D.unit===0)D=F;z[3]=D.unit===1?D.value:D.unit===2?D.value*Y:0}function c1(Q){return Q===oZ.Row||Q===oZ.RowReverse}function wW(Q){return Q===oZ.RowReverse||Q===oZ.ColumnReverse}function c_(Q){return c1(Q)?oZ.Column:oZ.Row}function $3(Q){switch(Q){case oZ.Row:return FQ;case oZ.RowReverse:return X9;case oZ.Column:return T9;case oZ.ColumnReverse:return h6}}function R3(Q){switch(Q){case oZ.Row:return X9;case oZ.RowReverse:return FQ;case oZ.Column:return h6;case oZ.ColumnReverse:return T9}}function vW(){let Q={pointScaleFactor:1,errata:kW.None,useWebDefaults:!1,free(){},isExperimentalFeatureEnabled(){return!1},setExperimentalFeatureEnabled(){},setPointScaleFactor(K){Q.pointScaleFactor=K},getErrata(){return Q.errata},setErrata(K){Q.errata=K},setUseWebDefaults(K){Q.useWebDefaults=K}};return Q}class Nz{style;layout;parent;children;measureFunc;config;isDirty_;isReferenceBaseline_;_flexBasis=0;_mainSize=0;_crossSize=0;_lineIndex=0;_hasAutoMargin=!1;_hasPosition=!1;_hasPadding=!1;_hasBorder=!1;_hasMargin=!1;_lW=NaN;_lH=NaN;_lWM=0;_lHM=0;_lOW=NaN;_lOH=NaN;_lFW=!1;_lFH=!1;_lOutW=NaN;_lOutH=NaN;_hasL=!1;_mW=NaN;_mH=NaN;_mWM=0;_mHM=0;_mOW=NaN;_mOH=NaN;_mOutW=NaN;_mOutH=NaN;_hasM=!1;_fbBasis=NaN;_fbOwnerW=NaN;_fbOwnerH=NaN;_fbAvailMain=NaN;_fbAvailCross=NaN;_fbCrossMode=0;_fbGen=-1;_cIn=null;_cOut=null;_cGen=-1;_cN=0;_cWr=0;constructor(Q){this.style=TW(),this.layout={left:0,top:0,width:0,height:0,border:[0,0,0,0],padding:[0,0,0,0],margin:[0,0,0,0]},this.parent=null,this.children=[],this.measureFunc=null,this.config=Q??d_,this.isDirty_=!0,this.isReferenceBaseline_=!1,I3++}insertChild(Q,K){Q.parent=this,this.children.splice(K,0,Q),this.markDirty()}removeChild(Q){let K=this.children.indexOf(Q);if(K>=0)this.children.splice(K,1),Q.parent=null,this.markDirty()}getChild(Q){return this.children[Q]}getChildCount(){return this.children.length}getParent(){return this.parent}free(){this.parent=null,this.children=[],this.measureFunc=null,this._cIn=null,this._cOut=null,I3--}freeRecursive(){for(let Q of this.children)Q.freeRecursive();this.free()}reset(){this.style=TW(),this.children=[],this.parent=null,this.measureFunc=null,this.isDirty_=!0,this._hasAutoMargin=!1,this._hasPosition=!1,this._hasPadding=!1,this._hasBorder=!1,this._hasMargin=!1,this._hasL=!1,this._hasM=!1,this._cN=0,this._cWr=0,this._fbBasis=NaN}markDirty(){if(this.isDirty_=!0,this.parent&&!this.parent.isDirty_)this.parent.markDirty()}isDirty(){return this.isDirty_}hasNewLayout(){return!0}markLayoutSeen(){}setMeasureFunc(Q){this.measureFunc=Q,this.markDirty()}unsetMeasureFunc(){this.measureFunc=null,this.markDirty()}getComputedLeft(){return this.layout.left}getComputedTop(){return this.layout.top}getComputedWidth(){return this.layout.width}getComputedHeight(){return this.layout.height}getComputedRight(){let Q=this.parent;return Q?Q.layout.width-this.layout.left-this.layout.width:0}getComputedBottom(){let Q=this.parent;return Q?Q.layout.height-this.layout.top-this.layout.height:0}getComputedLayout(){return{left:this.layout.left,top:this.layout.top,right:this.getComputedRight(),bottom:this.getComputedBottom(),width:this.layout.width,height:this.layout.height}}getComputedBorder(Q){return this.layout.border[_3(Q)]}getComputedPadding(Q){return this.layout.padding[_3(Q)]}getComputedMargin(Q){return this.layout.margin[_3(Q)]}setWidth(Q){this.style.width=k9(Q),this.markDirty()}setWidthPercent(Q){this.style.width=z9(Q),this.markDirty()}setWidthAuto(){this.style.width=u6,this.markDirty()}setHeight(Q){this.style.height=k9(Q),this.markDirty()}setHeightPercent(Q){this.style.height=z9(Q),this.markDirty()}setHeightAuto(){this.style.height=u6,this.markDirty()}setMinWidth(Q){this.style.minWidth=k9(Q),this.markDirty()}setMinWidthPercent(Q){this.style.minWidth=z9(Q),this.markDirty()}setMinHeight(Q){this.style.minHeight=k9(Q),this.markDirty()}setMinHeightPercent(Q){this.style.minHeight=z9(Q),this.markDirty()}setMaxWidth(Q){this.style.maxWidth=k9(Q),this.markDirty()}setMaxWidthPercent(Q){this.style.maxWidth=z9(Q),this.markDirty()}setMaxHeight(Q){this.style.maxHeight=k9(Q),this.markDirty()}setMaxHeightPercent(Q){this.style.maxHeight=z9(Q),this.markDirty()}setFlexDirection(Q){this.style.flexDirection=Q,this.markDirty()}setFlexGrow(Q){this.style.flexGrow=Q??0,this.markDirty()}setFlexShrink(Q){this.style.flexShrink=Q??0,this.markDirty()}setFlex(Q){if(Q===void 0||isNaN(Q))this.style.flexGrow=0,this.style.flexShrink=0;else if(Q>0)this.style.flexGrow=Q,this.style.flexShrink=1,this.style.flexBasis=Mz(0);else if(Q<0)this.style.flexGrow=0,this.style.flexShrink=-Q;else this.style.flexGrow=0,this.style.flexShrink=0;this.markDirty()}setFlexBasis(Q){this.style.flexBasis=k9(Q),this.markDirty()}setFlexBasisPercent(Q){this.style.flexBasis=z9(Q),this.markDirty()}setFlexBasisAuto(){this.style.flexBasis=u6,this.markDirty()}setFlexWrap(Q){this.style.flexWrap=Q,this.markDirty()}setAlignItems(Q){this.style.alignItems=Q,this.markDirty()}setAlignSelf(Q){this.style.alignSelf=Q,this.markDirty()}setAlignContent(Q){this.style.alignContent=Q,this.markDirty()}setJustifyContent(Q){this.style.justifyContent=Q,this.markDirty()}setDisplay(Q){this.style.display=Q,this.markDirty()}getDisplay(){return this.style.display}setPositionType(Q){this.style.positionType=Q,this.markDirty()}setPosition(Q,K){this.style.position[Q]=k9(K),this._hasPosition=Vz(this.style.position),this.markDirty()}setPositionPercent(Q,K){this.style.position[Q]=z9(K),this._hasPosition=!0,this.markDirty()}setPositionAuto(Q){this.style.position[Q]=u6,this._hasPosition=!0,this.markDirty()}setOverflow(Q){this.style.overflow=Q,this.markDirty()}setDirection(Q){this.style.direction=Q,this.markDirty()}setBoxSizing(Q){}setMargin(Q,K){let z=k9(K);if(this.style.margin[Q]=z,z.unit===LJ.Auto)this._hasAutoMargin=!0;else this._hasAutoMargin=CW(this.style.margin);this._hasMargin=this._hasAutoMargin||Vz(this.style.margin),this.markDirty()}setMarginPercent(Q,K){this.style.margin[Q]=z9(K),this._hasAutoMargin=CW(this.style.margin),this._hasMargin=!0,this.markDirty()}setMarginAuto(Q){this.style.margin[Q]=u6,this._hasAutoMargin=!0,this._hasMargin=!0,this.markDirty()}setPadding(Q,K){this.style.padding[Q]=k9(K),this._hasPadding=Vz(this.style.padding),this.markDirty()}setPaddingPercent(Q,K){this.style.padding[Q]=z9(K),this._hasPadding=!0,this.markDirty()}setBorder(Q,K){this.style.border[Q]=K===void 0?mQ:Mz(K),this._hasBorder=Vz(this.style.border),this.markDirty()}setGap(Q,K){this.style.gap[Q]=k9(K),this.markDirty()}setGapPercent(Q,K){this.style.gap[Q]=z9(K),this.markDirty()}getFlexDirection(){return this.style.flexDirection}getJustifyContent(){return this.style.justifyContent}getAlignItems(){return this.style.alignItems}getAlignSelf(){return this.style.alignSelf}getAlignContent(){return this.style.alignContent}getFlexGrow(){return this.style.flexGrow}getFlexShrink(){return this.style.flexShrink}getFlexBasis(){return this.style.flexBasis}getFlexWrap(){return this.style.flexWrap}getWidth(){return this.style.width}getHeight(){return this.style.height}getOverflow(){return this.style.overflow}getPositionType(){return this.style.positionType}getDirection(){return this.style.direction}copyStyle(Q){}setDirtiedFunc(Q){}unsetDirtiedFunc(){}setIsReferenceBaseline(Q){this.isReferenceBaseline_=Q,this.markDirty()}isReferenceBaseline(){return this.isReferenceBaseline_}setAspectRatio(Q){}getAspectRatio(){return NaN}setAlwaysFormsContainingBlock(Q){}calculateLayout(Q,K,z){E3=0,T3=0,h1=0,y7++;let U=Q===void 0?NaN:Q,H=K===void 0?NaN:K;p1(this,U,H,R0(U)?b0.Exactly:b0.Undefined,R0(H)?b0.Exactly:b0.Undefined,U,H,!0);let F=this.layout.margin,B=pZ(C9(this.style.position,FQ),R0(U)?U:0),W=pZ(C9(this.style.position,T9),R0(U)?U:0);this.layout.left=F[FQ]+(R0(B)?B:0),this.layout.top=F[T9]+(R0(W)?W:0),hW(this,this.config.pointScaleFactor,0,0)}}function L3(Q,K,z,U,H,F,B,W,Y,D){if(!Q._cIn)Q._cIn=new Float64Array(Dz*8),Q._cOut=new Float64Array(Dz*2);if(D&&Q._cGen!==y7)Q._cN=0,Q._cWr=0;let A=Q._cWr++%Dz;if(Q._cN<Dz)Q._cN=Q._cWr;let N=A*8,M=Q._cIn;M[N]=K,M[N+1]=z,M[N+2]=U,M[N+3]=H,M[N+4]=F,M[N+5]=B,M[N+6]=W?1:0,M[N+7]=Y?1:0,Q._cOut[A*2]=Q.layout.width,Q._cOut[A*2+1]=Q.layout.height,Q._cGen=y7}function P3(Q,K){if(K)Q._lOutW=Q.layout.width,Q._lOutH=Q.layout.height;else Q._mOutW=Q.layout.width,Q._mOutH=Q.layout.height}function Lz(){return{visited:E3,measured:T3,cacheHits:h1,live:I3}}function p1(Q,K,z,U,H,F,B,W,Y=!1,D=!1){E3++;let{style:A,layout:N}=Q,M=Q._cGen===y7&&!W;if(!Q.isDirty_||M){if(!Q.isDirty_&&Q._hasL&&Q._lWM===U&&Q._lHM===H&&Q._lFW===Y&&Q._lFH===D&&iJ(Q._lW,K)&&iJ(Q._lH,z)&&iJ(Q._lOW,F)&&iJ(Q._lOH,B)){h1++,N.width=Q._lOutW,N.height=Q._lOutH;return}if(Q._cN>0&&(M||!Q.isDirty_)){let e=Q._cIn;for(let x0=0;x0<Q._cN;x0++){let j0=x0*8;if(e[j0+2]===U&&e[j0+3]===H&&e[j0+6]===(Y?1:0)&&e[j0+7]===(D?1:0)&&iJ(e[j0],K)&&iJ(e[j0+1],z)&&iJ(e[j0+4],F)&&iJ(e[j0+5],B)){N.width=Q._cOut[x0*2],N.height=Q._cOut[x0*2+1],h1++;return}}}if(!Q.isDirty_&&!W&&Q._hasM&&Q._mWM===U&&Q._mHM===H&&iJ(Q._mW,K)&&iJ(Q._mH,z)&&iJ(Q._mOW,F)&&iJ(Q._mOH,B)){N.width=Q._mOutW,N.height=Q._mOutH,h1++;return}}let L=Q.isDirty_;if(W){if(Q._lW=K,Q._lH=z,Q._lWM=U,Q._lHM=H,Q._lOW=F,Q._lOH=B,Q._lFW=Y,Q._lFH=D,Q._hasL=!0,Q.isDirty_=!1,L)Q._hasM=!1}else if(Q._mW=K,Q._mH=z,Q._mWM=U,Q._mHM=H,Q._mOW=F,Q._mOH=B,Q._hasM=!0,L)Q._hasL=!1;let{padding:T,border:_,margin:E}=N;if(Q._hasPadding)M3(A.padding,F,T);else T[0]=T[1]=T[2]=T[3]=0;if(Q._hasBorder)M3(A.border,F,_);else _[0]=_[1]=_[2]=_[3]=0;if(Q._hasMargin)M3(A.margin,F,E);else E[0]=E[1]=E[2]=E[3]=0;let C=T[0]+T[2]+_[0]+_[2],I=T[1]+T[3]+_[1]+_[3],g=Y?NaN:pZ(A.width,F),u=D?NaN:pZ(A.height,B),l=K,m=z,s=U,y=H;if(R0(g))l=g,s=b0.Exactly;if(R0(u))m=u,y=b0.Exactly;if(l=E9(A,!0,l,F,B),m=E9(A,!1,m,F,B),Q.measureFunc&&Q.children.length===0){let e=s===b0.Undefined?NaN:Math.max(0,l-C),x0=y===b0.Undefined?NaN:Math.max(0,m-I);T3++;let j0=Q.measureFunc(e,s,x0,y);Q.layout.width=s===b0.Exactly?l:E9(A,!0,(j0.width??0)+C,F,B),Q.layout.height=y===b0.Exactly?m:E9(A,!1,(j0.height??0)+I,F,B),P3(Q,W),L3(Q,K,z,U,H,F,B,Y,D,L);return}if(Q.children.length===0){Q.layout.width=s===b0.Exactly?l:E9(A,!0,C,F,B),Q.layout.height=y===b0.Exactly?m:E9(A,!1,I,F,B),P3(Q,W),L3(Q,K,z,U,H,F,B,Y,D,L);return}let S=A.flexDirection,o=c_(S),d=c1(S),i=d?l:m,Z0=d?m:l,Q0=d?s:y,a=d?y:s,G0=d?C:I,z0=d?I:C,w0=R0(i)?Math.max(0,i-G0):NaN,C0=R0(Z0)?Math.max(0,Z0-z0):NaN,PZ=fW(A,d?r9.Column:r9.Row,w0),_Z=[],WJ=[];uW(Q,_Z,WJ);let o0=R0(l)?l:NaN,kZ=R0(m)?m:NaN,XJ=A.flexWrap!==m6.NoWrap,oJ=fW(A,d?r9.Row:r9.Column,C0);for(let e of _Z)e._flexBasis=a_(e,S,w0,C0,a,o0,kZ);let PJ=[];if(!XJ||!R0(w0)||_Z.length===0){for(let e of _Z)e._lineIndex=0;PJ.push(_Z)}else{let e=0,x0=0;for(let j0=0;j0<_Z.length;j0++){let KZ=_Z[j0],g0=E9(KZ.style,d,KZ._flexBasis,o0,kZ),P0=Math.max(0,g0)+Az(KZ,S,o0),wJ=j0>e?PZ:0;if(j0>e&&x0+wJ+P0>w0)PJ.push(_Z.slice(e,j0)),e=j0,x0=P0;else x0+=wJ+P0;KZ._lineIndex=PJ.length}PJ.push(_Z.slice(e))}let GZ=PJ.length,bJ=s_(Q,_Z),y0=Array(GZ),w9=Array(GZ),EZ=bJ?Array(GZ).fill(0):[],qZ=0,AZ=0;for(let e=0;e<GZ;e++){let x0=PJ[e],j0=x0.length>1?PZ*(x0.length-1):0,KZ=j0;for(let _0 of x0)KZ+=_0._flexBasis+Az(_0,S,o0);let g0=w0;if(!R0(g0)){let _0=d?F:B,l0=pZ(d?A.minWidth:A.minHeight,_0),zZ=pZ(d?A.maxWidth:A.maxHeight,_0);if(R0(zZ)&&KZ>zZ-G0)g0=Math.max(0,zZ-G0);else if(R0(l0)&&KZ<l0-G0)g0=Math.max(0,l0-G0)}i_(x0,g0,KZ,d,o0,kZ);let P0=0;for(let _0 of x0){let l0=_0.style,zZ=l0.alignSelf===k0.Auto?A.alignItems:l0.alignSelf,$Z=Az(_0,o,o0),Y0=NaN,FZ=b0.Undefined,CZ=pZ(d?l0.height:l0.width,d?kZ:o0),H9=d?T9:FQ,xZ=d?h6:X9,eZ=_0._hasAutoMargin&&(t9(l0.margin,H9)||t9(l0.margin,xZ));if(R0(CZ))Y0=CZ,FZ=b0.Exactly;else if(zZ===k0.Stretch&&!eZ&&!XJ&&R0(C0)&&a===b0.Exactly)Y0=Math.max(0,C0-$Z),FZ=b0.Exactly;else if(!XJ&&R0(C0))Y0=Math.max(0,C0-$Z),FZ=b0.AtMost;let SZ=d?_0._mainSize:Y0,vJ=d?Y0:_0._mainSize;p1(_0,SZ,vJ,d?b0.Exactly:FZ,d?FZ:b0.Exactly,o0,kZ,W,d,!d),_0._crossSize=d?_0.layout.height:_0.layout.width,P0=Math.max(P0,_0._crossSize+$Z)}if(bJ){let _0=0,l0=0;for(let zZ of x0){if(gW(Q,zZ)!==k0.Baseline)continue;let $Z=v7(zZ.style.margin,T9,o0),Y0=v7(zZ.style.margin,h6,o0),FZ=k3(zZ)+$Z,CZ=zZ.layout.height+$Z+Y0-FZ;if(FZ>_0)_0=FZ;if(CZ>l0)l0=CZ}if(EZ[e]=_0,_0+l0>P0)P0=_0+l0}let wJ=$3(S),RQ=R3(S),IQ=j0;for(let _0 of x0){let l0=_0.layout.margin;IQ+=_0._mainSize+l0[wJ]+l0[RQ]}y0[e]=IQ,w9[e]=P0,qZ=Math.max(qZ,IQ),AZ+=P0}let OQ=GZ>1?oJ*(GZ-1):0;AZ+=OQ;let YJ=A.overflow===w8.Scroll,_J=qZ+G0,$Q=Q0===b0.Exactly?i:Q0===b0.AtMost&&YJ?Math.max(Math.min(i,_J),G0):XJ&&GZ>1&&Q0===b0.AtMost?i:_J,X0=AZ+z0,$0=a===b0.Exactly?Z0:a===b0.AtMost&&YJ?Math.max(Math.min(Z0,X0),z0):X0;if(Q.layout.width=E9(A,!0,d?$Q:$0,F,B),Q.layout.height=E9(A,!1,d?$0:$Q,F,B),P3(Q,W),L3(Q,K,z,U,H,F,B,Y,D,L),!W)return;let V0=(d?Q.layout.width:Q.layout.height)-G0,t=(d?Q.layout.height:Q.layout.width)-z0,i0=$3(S),U0=R3(S),B0=d?T9:FQ,W0=d?h6:X9,TZ=wW(S),r0=d?Q.layout.width:Q.layout.height,n0=T[B0]+_[B0],dZ=oJ,UJ=t-AZ;if(GZ===1&&!XJ&&!bJ)w9[0]=t;else{let e=Math.max(0,UJ);switch(A.alignContent){case k0.FlexStart:break;case k0.Center:n0+=UJ/2;break;case k0.FlexEnd:n0+=UJ;break;case k0.Stretch:if(GZ>0&&e>0){let x0=e/GZ;for(let j0=0;j0<GZ;j0++)w9[j0]+=x0}break;case k0.SpaceBetween:if(GZ>1)dZ+=e/(GZ-1);break;case k0.SpaceAround:if(GZ>0)dZ+=e/GZ,n0+=e/GZ/2;break;case k0.SpaceEvenly:if(GZ>0)dZ+=e/(GZ+1),n0+=e/(GZ+1);break;default:break}}let JZ=A.flexWrap===m6.WrapReverse,VJ=d?Q.layout.height:Q.layout.width,d0=n0;for(let e=0;e<GZ;e++){let x0=PJ[e],j0=w9[e],KZ=y0[e],g0=x0.length;if(XJ||a!==b0.Exactly)for(let Y0 of x0){let FZ=Y0.style,CZ=FZ.alignSelf===k0.Auto?A.alignItems:FZ.alignSelf,H9=R0(pZ(d?FZ.height:FZ.width,d?kZ:o0)),xZ=Y0._hasAutoMargin&&(t9(FZ.margin,B0)||t9(FZ.margin,W0));if(CZ===k0.Stretch&&!H9&&!xZ){let eZ=Az(Y0,o,o0),SZ=Math.max(0,j0-eZ);if(Y0._crossSize!==SZ){let vJ=d?Y0._mainSize:SZ,WQ=d?SZ:Y0._mainSize;p1(Y0,vJ,WQ,b0.Exactly,b0.Exactly,o0,kZ,W,d,!d),Y0._crossSize=SZ}}}let P0=T[i0]+_[i0],wJ=PZ,RQ=0;for(let Y0 of x0){if(!Y0._hasAutoMargin)continue;if(t9(Y0.style.margin,i0))RQ++;if(t9(Y0.style.margin,U0))RQ++}let IQ=V0-KZ,_0=Math.max(0,IQ),l0=RQ>0&&_0>0?_0/RQ:0;if(RQ===0)switch(A.justifyContent){case CJ.FlexStart:break;case CJ.Center:P0+=IQ/2;break;case CJ.FlexEnd:P0+=IQ;break;case CJ.SpaceBetween:if(g0>1)wJ+=_0/(g0-1);break;case CJ.SpaceAround:if(g0>0)wJ+=_0/g0,P0+=_0/g0/2;break;case CJ.SpaceEvenly:if(g0>0)wJ+=_0/(g0+1),P0+=_0/(g0+1);break}let zZ=JZ?VJ-d0-j0:d0,$Z=P0;for(let Y0 of x0){let FZ=Y0.style.margin,CZ=Y0.layout.margin,H9=!1,xZ=!1,eZ=!1,SZ=!1,vJ,WQ,YQ,VQ;if(Y0._hasAutoMargin)H9=t9(FZ,i0),xZ=t9(FZ,U0),eZ=t9(FZ,B0),SZ=t9(FZ,W0),vJ=H9?l0:CZ[i0],WQ=xZ?l0:CZ[U0],YQ=eZ?0:CZ[B0],VQ=SZ?0:CZ[W0];else vJ=CZ[i0],WQ=CZ[U0],YQ=CZ[B0],VQ=CZ[W0];let cQ=TZ?r0-($Z+vJ)-Y0._mainSize:$Z+vJ,F9=Y0.style.alignSelf===k0.Auto?A.alignItems:Y0.style.alignSelf,yJ=zZ+YQ,U6=j0-Y0._crossSize-YQ-VQ;if(eZ&&SZ)yJ+=Math.max(0,U6)/2;else if(eZ)yJ+=Math.max(0,U6);else if(SZ);else switch(F9){case k0.FlexStart:case k0.Stretch:if(JZ)yJ+=U6;break;case k0.Center:yJ+=U6/2;break;case k0.FlexEnd:if(!JZ)yJ+=U6;break;case k0.Baseline:if(bJ)yJ=zZ+EZ[e]-k3(Y0);break;default:break}let e6=0,B9=0;if(Y0._hasPosition){let v9=pZ(C9(Y0.style.position,FQ),o0),i7=pZ(C9(Y0.style.position,X9),o0),n7=pZ(C9(Y0.style.position,T9),o0),J0=pZ(C9(Y0.style.position,h6),o0);e6=R0(v9)?v9:R0(i7)?-i7:0,B9=R0(n7)?n7:R0(J0)?-J0:0}if(d)Y0.layout.left=cQ+e6,Y0.layout.top=yJ+B9;else Y0.layout.left=yJ+e6,Y0.layout.top=cQ+B9;$Z+=Y0._mainSize+vJ+WQ+wJ}d0+=j0+dZ}for(let e of WJ)l_(Q,e,Q.layout.width,Q.layout.height,T,_)}function l_(Q,K,z,U,H,F){let B=K.style,W=C9(B.position,FQ),Y=C9(B.position,X9),D=C9(B.position,T9),A=C9(B.position,h6),N=pZ(W,z),M=pZ(Y,z),L=pZ(D,U),T=pZ(A,U),_=z-F[0]-F[2],E=U-F[1]-F[3],C=pZ(B.width,_),I=pZ(B.height,E);if(!R0(C)&&R0(N)&&R0(M))C=_-N-M;if(!R0(I)&&R0(L)&&R0(T))I=E-L-T;p1(K,C,I,R0(C)?b0.Exactly:b0.Undefined,R0(I)?b0.Exactly:b0.Undefined,_,E,!0);let g=v7(B.margin,FQ,z),u=v7(B.margin,T9,z),l=v7(B.margin,X9,z),m=v7(B.margin,h6,z),s=Q.style.flexDirection,y=wW(s),S=c1(s),o=Q.style.flexWrap===m6.WrapReverse,d=B.alignSelf===k0.Auto?Q.style.alignItems:B.alignSelf,i;if(R0(N))i=F[0]+N+g;else if(R0(M))i=z-F[2]-M-K.layout.width-l;else if(S){let Q0=H[0]+F[0],a=z-H[2]-F[2];i=y?a-K.layout.width-l:xW(Q.style.justifyContent,Q0,a,K.layout.width)+g}else i=SW(d,H[0]+F[0],z-H[2]-F[2],K.layout.width,o)+g;let Z0;if(R0(L))Z0=F[1]+L+u;else if(R0(T))Z0=U-F[3]-T-K.layout.height-m;else if(S)Z0=SW(d,H[1]+F[1],U-H[3]-F[3],K.layout.height,o)+u;else{let Q0=H[1]+F[1],a=U-H[3]-F[3];Z0=y?a-K.layout.height-m:xW(Q.style.justifyContent,Q0,a,K.layout.height)+u}K.layout.left=i,K.layout.top=Z0}function xW(Q,K,z,U){switch(Q){case CJ.Center:return K+(z-K-U)/2;case CJ.FlexEnd:return z-U;default:return K}}function SW(Q,K,z,U,H){switch(Q){case k0.Center:return K+(z-K-U)/2;case k0.FlexEnd:return H?K:z-U;default:return H?z-U:K}}function a_(Q,K,z,U,H,F,B){if((Q._fbGen===y7||!Q.isDirty_)&&Q._fbCrossMode===H&&iJ(Q._fbOwnerW,F)&&iJ(Q._fbOwnerH,B)&&iJ(Q._fbAvailMain,z)&&iJ(Q._fbAvailCross,U))return Q._fbBasis;let Y=Q.style,D=c1(K),A=pZ(Y.flexBasis,z);if(R0(A)){let S=Math.max(0,A);return Q._fbBasis=S,Q._fbOwnerW=F,Q._fbOwnerH=B,Q._fbAvailMain=z,Q._fbAvailCross=U,Q._fbCrossMode=H,Q._fbGen=y7,S}let N=D?Y.width:Y.height,L=pZ(N,D?F:B);if(R0(L)){let S=Math.max(0,L);return Q._fbBasis=S,Q._fbOwnerW=F,Q._fbOwnerH=B,Q._fbAvailMain=z,Q._fbAvailCross=U,Q._fbCrossMode=H,Q._fbGen=y7,S}let T=D?Y.height:Y.width,E=pZ(T,D?B:F),C=R0(E)?b0.Exactly:b0.Undefined;if(!R0(E)&&R0(U))E=U,C=H===b0.Exactly&&n_(Q)?b0.Exactly:b0.AtMost;let I=NaN,g=b0.Undefined;if(D&&R0(z)&&yW(Q))I=z,g=b0.AtMost;p1(Q,D?I:E,D?E:I,D?g:C,D?C:g,F,B,!1);let y=D?Q.layout.width:Q.layout.height;return Q._fbBasis=y,Q._fbOwnerW=F,Q._fbOwnerH=B,Q._fbAvailMain=z,Q._fbAvailCross=U,Q._fbCrossMode=H,Q._fbGen=y7,y}function yW(Q){if(Q.measureFunc)return!0;for(let K of Q.children)if(yW(K))return!0;return!1}function i_(Q,K,z,U,H,F){let B=Q.length,W=Array(B).fill(!1),Y=R0(K)?K-z:0;for(let A=0;A<B;A++){let N=Q[A],M=E9(N.style,U,N._flexBasis,H,F);if(!R0(K)||(Y>=0?N.style.flexGrow===0:N.style.flexShrink===0))N._mainSize=Math.max(0,M),W[A]=!0;else N._mainSize=N._flexBasis}let D=Array(B);for(let A=0;A<=B;A++){let N=0,M=0,L=0,T=0;for(let I=0;I<B;I++){let g=Q[I];if(W[I])N+=g._mainSize-g._flexBasis;else M+=g.style.flexGrow,L+=g.style.flexShrink*g._flexBasis,T++}if(T===0)break;let _=Y-N;if(_>0&&M>0&&M<1){let I=Y*M;if(I<_)_=I}else if(_<0&&L>0){let I=0;for(let g=0;g<B;g++)if(!W[g])I+=Q[g].style.flexShrink;if(I<1){let g=Y*I;if(g>_)_=g}}let E=0;for(let I=0;I<B;I++){if(W[I])continue;let g=Q[I],u=g._flexBasis;if(_>0&&M>0)u+=_*g.style.flexGrow/M;else if(_<0&&L>0)u+=_*(g.style.flexShrink*g._flexBasis)/L;D[I]=u;let l=Math.max(0,E9(g.style,U,u,H,F));g._mainSize=l,E+=l-u}if(E===0)break;let C=!1;for(let I=0;I<B;I++){if(W[I])continue;let g=Q[I]._mainSize-D[I];if(E>0&&g>0||E<0&&g<0)W[I]=!0,C=!0}if(!C)break}}function n_(Q){let K=Q.parent;if(!K)return!1;return(Q.style.alignSelf===k0.Auto?K.style.alignItems:Q.style.alignSelf)===k0.Stretch}function gW(Q,K){return K.style.alignSelf===k0.Auto?Q.style.alignItems:K.style.alignSelf}function k3(Q){let K=null;for(let z of Q.children){if(z._lineIndex>0)break;if(z.style.positionType===v8.Absolute)continue;if(z.style.display===g6.None)continue;if(gW(Q,z)===k0.Baseline||z.isReferenceBaseline_){K=z;break}if(K===null)K=z}if(K===null)return Q.layout.height;return k3(K)+K.layout.top}function s_(Q,K){if(!c1(Q.style.flexDirection))return!1;if(Q.style.alignItems===k0.Baseline)return!0;for(let z of K)if(z.style.alignSelf===k0.Baseline)return!0;return!1}function Az(Q,K,z){if(!Q._hasMargin)return 0;let U=v7(Q.style.margin,$3(K),z),H=v7(Q.style.margin,R3(K),z);return U+H}function fW(Q,K,z){let U=Q.gap[K];if(U.unit===LJ.Undefined)U=Q.gap[r9.All];let H=pZ(U,z);return R0(H)?Math.max(0,H):0}function E9(Q,K,z,U,H){let F=K?Q.minWidth:Q.minHeight,B=K?Q.maxWidth:Q.maxHeight,W=F.unit,Y=B.unit;if(W===0&&Y===0)return z;let D=K?U:H,A=z;if(Y===1){if(A>B.value)A=B.value}else if(Y===2){let N=B.value*D/100;if(N===N&&A>N)A=N}if(W===1){if(A<F.value)A=F.value}else if(W===2){let N=F.value*D/100;if(N===N&&A<N)A=N}return A}function mW(Q){for(let K of Q.children)K.layout.left=0,K.layout.top=0,K.layout.width=0,K.layout.height=0,K.isDirty_=!0,K._hasL=!1,K._hasM=!1,mW(K)}function uW(Q,K,z){for(let U of Q.children){let H=U.style.display;if(H===g6.None)U.layout.left=0,U.layout.top=0,U.layout.width=0,U.layout.height=0,mW(U);else if(H===g6.Contents)U.layout.left=0,U.layout.top=0,U.layout.width=0,U.layout.height=0,uW(U,K,z);else if(U.style.positionType===v8.Absolute)z.push(U);else K.push(U)}}function hW(Q,K,z,U){if(K===0)return;let H=Q.layout,F=H.left,B=H.top,W=H.width,Y=H.height,D=z+F,A=U+B,N=Q.measureFunc!==null;H.left=K4(F,K,!1,N),H.top=K4(B,K,!1,N);let M=D+W,L=A+Y,T=!bW(W*K),_=!bW(Y*K);H.width=K4(M,K,N&&T,N&&!T)-K4(D,K,!1,N),H.height=K4(L,K,N&&_,N&&!_)-K4(A,K,!1,N);for(let E of Q.children)hW(E,K,D,A)}function bW(Q){let K=Q-Math.floor(Q);return K<0.0001||K>0.9999}function K4(Q,K,z,U){let H=Q*K,F=H-Math.floor(H);if(F<0)F+=1;if(F<0.0001)H=Math.floor(H);else if(F>0.9999)H=Math.ceil(H);else if(z)H=Math.ceil(H);else if(U)H=Math.floor(H);else H=Math.floor(H)+(F>=0.4999?1:0);return H/K}function k9(Q){if(Q===void 0)return mQ;if(Q==="auto")return u6;if(typeof Q==="number")return Number.isFinite(Q)?Mz(Q):mQ;if(typeof Q==="string"&&Q.endsWith("%"))return z9(parseFloat(Q));let K=parseFloat(Q);return isNaN(K)?mQ:Mz(K)}function _3(Q){switch(Q){case VZ.Left:case VZ.Start:return FQ;case VZ.Top:return T9;case VZ.Right:case VZ.End:return X9;case VZ.Bottom:return h6;default:return FQ}}var mQ,u6,FQ=0,T9=1,X9=2,h6=3,d_,Dz=4,y7=0,E3=0,T3=0,h1=0,I3=0,o_,pW;var Pz=h(()=>{EW();mQ={unit:LJ.Undefined,value:NaN},u6={unit:LJ.Auto,value:NaN};d_=vW();o_={Config:{create:vW,destroy(){}},Node:{create:(Q)=>new Nz(Q),createDefault:()=>new Nz,createWithConfig:(Q)=>new Nz(Q),destroy(){}}},pW=o_});function r_(){if(process.env.TERM_PROGRAM==="vscode"&&O0.level===2)return O0.level=3,!0;return!1}function t_(){if(process.env.CLAUDE_CODE_TMUX_TRUECOLOR)return!1;if(process.env.TMUX&&O0.level>2)return O0.level=2,!0;return!1}function G4(Q,K){let z=Q;if(K.inverse)z=O0.inverse(z);if(K.strikethrough)z=O0.strikethrough(z);if(K.underline)z=O0.underline(z);if(K.italic)z=O0.italic(z);if(K.bold)z=O0.bold(z);if(K.dim)z=O0.dim(z);if(K.color)z=g7(z,K.color,"foreground");if(K.backgroundColor)z=g7(z,K.backgroundColor,"background");return z}function _z(Q,K){if(!K)return Q;return g7(Q,K,"foreground")}var IT,kT,e_,Z$,g7=(Q,K,z)=>{if(!K)return Q;if(K.startsWith("ansi:"))switch(K.substring(5)){case"black":return z==="foreground"?O0.black(Q):O0.bgBlack(Q);case"red":return z==="foreground"?O0.red(Q):O0.bgRed(Q);case"green":return z==="foreground"?O0.green(Q):O0.bgGreen(Q);case"yellow":return z==="foreground"?O0.yellow(Q):O0.bgYellow(Q);case"blue":return z==="foreground"?O0.blue(Q):O0.bgBlue(Q);case"magenta":return z==="foreground"?O0.magenta(Q):O0.bgMagenta(Q);case"cyan":return z==="foreground"?O0.cyan(Q):O0.bgCyan(Q);case"white":return z==="foreground"?O0.white(Q):O0.bgWhite(Q);case"blackBright":return z==="foreground"?O0.blackBright(Q):O0.bgBlackBright(Q);case"redBright":return z==="foreground"?O0.redBright(Q):O0.bgRedBright(Q);case"greenBright":return z==="foreground"?O0.greenBright(Q):O0.bgGreenBright(Q);case"yellowBright":return z==="foreground"?O0.yellowBright(Q):O0.bgYellowBright(Q);case"blueBright":return z==="foreground"?O0.blueBright(Q):O0.bgBlueBright(Q);case"magentaBright":return z==="foreground"?O0.magentaBright(Q):O0.bgMagentaBright(Q);case"cyanBright":return z==="foreground"?O0.cyanBright(Q):O0.bgCyanBright(Q);case"whiteBright":return z==="foreground"?O0.whiteBright(Q):O0.bgWhiteBright(Q)}if(K.startsWith("#"))return z==="foreground"?O0.hex(K)(Q):O0.bgHex(K)(Q);if(K.startsWith("ansi256")){let U=Z$.exec(K);if(!U)return Q;let H=Number(U[1]);return z==="foreground"?O0.ansi256(H)(Q):O0.bgAnsi256(H)(Q)}if(K.startsWith("rgb")){let U=e_.exec(K);if(!U)return Q;let H=Number(U[1]),F=Number(U[2]),B=Number(U[3]);return z==="foreground"?O0.rgb(H,F,B)(Q):O0.bgRgb(H,F,B)(Q)}return Q};var d1=h(()=>{C3();IT=r_(),kT=t_(),e_=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,Z$=/^ansi256\(\s?(\d+)\s?\)$/});function x3(Q){return Q>=48&&Q<=126}var e9,uQ="\x1B",Z6="\x07",m7=";",x9;var y8=h(()=>{e9={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},x9={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function cW(Q){return Q>=z4.PARAM_START&&Q<=z4.PARAM_END}function $z(Q){return Q>=z4.INTERMEDIATE_START&&Q<=z4.INTERMEDIATE_END}function dW(Q){return Q>=z4.FINAL_START&&Q<=z4.FINAL_END}function ZZ(...Q){if(Q.length===0)return S3;if(Q.length===1)return`${S3}${Q[0]}`;let K=Q.slice(0,-1),z=Q[Q.length-1];return`${S3}${K.join(m7)}${z}`}function iW(Q=1){return Q===0?"":ZZ(Q,"A")}function J$(Q=1){return Q===0?"":ZZ(Q,"B")}function Q$(Q=1){return Q===0?"":ZZ(Q,"C")}function K$(Q=1){return Q===0?"":ZZ(Q,"D")}function nW(Q){return ZZ(Q,"G")}function b3(Q,K){return ZZ(Q,K,"H")}function X4(Q,K){let z="";if(Q<0)z+=K$(-Q);else if(Q>0)z+=Q$(Q);if(K<0)z+=iW(-K);else if(K>0)z+=J$(K);return z}function sW(Q){if(Q<=0)return"";let K="";for(let z=0;z<Q;z++)if(K+=z$,z<Q-1)K+=iW(1);return K+=G$,K}function oW(Q=1){return Q===0?"":ZZ(Q,"S")}function rW(Q=1){return Q===0?"":ZZ(Q,"T")}function tW(Q,K){return ZZ(Q,K,"r")}var S3,z4,vZ,lW,aW,f3,G$,p6,xT,ST,z$,g8,fT,eW,ZY,JY,QY,KY,l1,m8,a1,i1;var S9=h(()=>{y8();S3=uQ+String.fromCharCode(x9.CSI),z4={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};vZ={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},lW=["toEnd","toStart","all","scrollback"],aW=["toEnd","toStart","all"],f3=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];G$=ZZ("G");p6=ZZ("H");xT=ZZ("s"),ST=ZZ("u"),z$=ZZ(2,"K"),g8=ZZ(2,"J"),fT=ZZ(3,"J");eW=ZZ("r"),ZY=ZZ("200~"),JY=ZZ("201~"),QY=ZZ("I"),KY=ZZ("O"),l1=ZZ(">1u"),m8=ZZ("<u"),a1=ZZ(">4;2m"),i1=ZZ(">4m")});function U4(Q){let K="ground",z="",U=Q?.x10Mouse??!1;return{feed(H){let F=GY(H,K,z,!1,U);return K=F.state.state,z=F.state.buffer,F.tokens},flush(){let H=GY("",K,z,!0,U);return K=H.state.state,z=H.state.buffer,H.tokens},reset(){K="ground",z=""},buffer(){return z}}}function GY(Q,K,z,U,H){let F=[],B={state:K,buffer:""},W=z+Q,Y=0,D=0,A=0,N=()=>{if(Y>D){let L=W.slice(D,Y);if(L)F.push({type:"text",value:L})}D=Y},M=(L)=>{if(L)F.push({type:"sequence",value:L});B.state="ground",D=Y};while(Y<W.length){let L=W.charCodeAt(Y);switch(B.state){case"ground":if(L===e9.ESC)N(),A=Y,B.state="escape",Y++;else Y++;break;case"escape":if(L===x9.CSI)B.state="csi",Y++;else if(L===x9.OSC)B.state="osc",Y++;else if(L===x9.DCS)B.state="dcs",Y++;else if(L===x9.APC)B.state="apc",Y++;else if(L===79)B.state="ss3",Y++;else if($z(L))B.state="escapeIntermediate",Y++;else if(x3(L))Y++,M(W.slice(A,Y));else if(L===e9.ESC)M(W.slice(A,Y)),A=Y,B.state="escape",Y++;else B.state="ground",D=A;break;case"escapeIntermediate":if($z(L))Y++;else if(x3(L))Y++,M(W.slice(A,Y));else B.state="ground",D=A;break;case"csi":if(H&&L===77&&Y-A===2&&(Y+1>=W.length||W.charCodeAt(Y+1)>=32)&&(Y+2>=W.length||W.charCodeAt(Y+2)>=32)&&(Y+3>=W.length||W.charCodeAt(Y+3)>=32)){if(Y+4<=W.length)Y+=4,M(W.slice(A,Y));else Y=W.length;break}if(dW(L))Y++,M(W.slice(A,Y));else if(cW(L)||$z(L))Y++;else B.state="ground",D=A;break;case"ss3":if(L>=64&&L<=126)Y++,M(W.slice(A,Y));else B.state="ground",D=A;break;case"osc":if(L===e9.BEL)Y++,M(W.slice(A,Y));else if(L===e9.ESC&&Y+1<W.length&&W.charCodeAt(Y+1)===x9.ST)Y+=2,M(W.slice(A,Y));else Y++;break;case"dcs":case"apc":if(L===e9.BEL)Y++,M(W.slice(A,Y));else if(L===e9.ESC&&Y+1<W.length&&W.charCodeAt(Y+1)===x9.ST)Y+=2,M(W.slice(A,Y));else Y++;break}}if(B.state==="ground")N();else if(U){let L=W.slice(A);if(L)F.push({type:"sequence",value:L});B.state="ground"}else B.buffer=W.slice(A);return{tokens:F,state:B}}var Rz=h(()=>{y8();S9()});import{Buffer as X$}from"buffer";function zY(Q){return{kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Q,raw:Q,isPasted:!0}}function A$(Q){if(Q.startsWith("\x1B[")){let K;if(K=F$.exec(Q))return{type:"decrpm",mode:parseInt(K[1],10),status:parseInt(K[2],10)};if(K=B$.exec(Q))return{type:"da1",params:XY(K[1])};if(K=O$.exec(Q))return{type:"da2",params:XY(K[1])};if(K=W$.exec(Q))return{type:"kittyKeyboard",flags:parseInt(K[1],10)};if(K=Y$.exec(Q))return{type:"cursorPosition",row:parseInt(K[1],10),col:parseInt(K[2],10)};return null}if(Q.startsWith("\x1B]")){let K=V$.exec(Q);if(K)return{type:"osc",code:parseInt(K[1],10),data:K[2]}}if(Q.startsWith("\x1BP")){let K=D$.exec(Q);if(K)return{type:"xtversion",name:K[1]}}return null}function XY(Q){if(!Q)return[];return Q.split(";").map((K)=>parseInt(K,10))}function N$(Q){if(X$.isBuffer(Q))if(Q[0]>127&&Q[1]===void 0)return Q[0]-=128,"\x1B"+String(Q);else return String(Q);else if(Q!==void 0&&typeof Q!=="string")return String(Q);else if(!Q)return"";else return Q}function BY(Q,K=""){let z=K===null,U=z?"":N$(K),H=Q._tokenizer??U4({x10Mouse:!0}),F=z?H.flush():H.feed(U),B=[],W=Q.mode==="IN_PASTE",Y=Q.pasteBuffer;for(let A of F)if(A.type==="sequence")if(A.value===ZY)W=!0,Y="";else if(A.value===JY)B.push(zY(Y)),W=!1,Y="";else if(W)Y+=A.value;else{let N=A$(A.value);if(N)B.push({kind:"response",sequence:A.value,response:N});else{let M=jY(A.value);if(M)B.push(M);else B.push(w3(A.value))}}else if(A.type==="text")if(W)Y+=A.value;else if(/^\[<\d+;\d+;\d+[Mm]$/.test(A.value)||/^\[M[\x60-\x7f][\x20-\uffff]{2}$/.test(A.value)){let N="\x1B"+A.value,M=jY(N);B.push(M??w3(N))}else B.push(w3(A.value));if(z&&W&&Y)B.push(zY(Y)),W=!1,Y="";let D={mode:W?"IN_PASTE":"NORMAL",incomplete:H.buffer(),pasteBuffer:Y,_tokenizer:H};return[B,D]}function UY(Q){let K=Math.max(Q,1)-1;return{shift:!!(K&1),meta:!!(K&2),ctrl:!!(K&4),super:!!(K&8)}}function P$(Q){return Q>=57344&&Q<=63743||Q>=983040&&Q<=1048573||Q>=1048576&&Q<=1114109}function qY(Q){switch(Q){case 9:return"tab";case 13:return"return";case 27:return"escape";case 32:return"space";case 127:return"backspace";case 57399:return"0";case 57400:return"1";case 57401:return"2";case 57402:return"3";case 57403:return"4";case 57404:return"5";case 57405:return"6";case 57406:return"7";case 57407:return"8";case 57408:return"9";case 57409:return".";case 57410:return"/";case 57411:return"*";case 57412:return"-";case 57413:return"+";case 57414:return"return";case 57415:return"=";default:if(Q>=32&&Q<=126)return String.fromCharCode(Q).toLowerCase();if(Q>31&&Q!==127&&(Q<128||Q>159)&&Q<=1114111&&(Q<55296||Q>57343)&&!P$(Q))return String.fromCodePoint(Q);return}}function jY(Q){let K=HY.exec(Q);if(!K)return null;let z=parseInt(K[1],10);if((z&64)!==0)return null;return{kind:"mouse",button:z,action:K[4]==="M"?"press":"release",col:parseInt(K[2],10),row:parseInt(K[3],10),sequence:Q}}function w3(Q=""){let K,z={kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Q,raw:Q,isPasted:!1};z.sequence=z.sequence||Q||z.name;let U;if(U=j$.exec(Q)){let H=parseInt(U[1],10),F=U[2]?parseInt(U[2],10):1,B=UY(F);return{kind:"key",name:qY(H),fn:!1,ctrl:B.ctrl,meta:B.meta,shift:B.shift,option:!1,super:B.super,sequence:Q,raw:Q,isPasted:!1}}if(U=H$.exec(Q)){let H=UY(parseInt(U[1],10));return{kind:"key",name:qY(parseInt(U[2],10)),fn:!1,ctrl:H.ctrl,meta:H.meta,shift:H.shift,option:!1,super:H.super,sequence:Q,raw:Q,isPasted:!1}}if(U=HY.exec(Q)){let H=parseInt(U[1],10);if((H&67)===64)return U9(Q,"wheelup",!1);if((H&67)===65)return U9(Q,"wheeldown",!1);return U9(Q,"mouse",!1)}if(Q.length===6&&Q.startsWith("\x1B[M")){let H=Q.charCodeAt(3)-32;if((H&67)===64)return U9(Q,"wheelup",!1);if((H&67)===65)return U9(Q,"wheeldown",!1);return U9(Q,"mouse",!1)}if(Q==="\r")z.raw=void 0,z.name="return";else if(Q===`
2
- `)z.name="enter";else if(Q==="\t")z.name="tab";else if(Q==="\b"||Q==="\x1B\b")z.name="backspace",z.meta=Q.charAt(0)==="\x1B";else if(Q===""||Q==="\x1B")z.name="backspace",z.meta=Q.charAt(0)==="\x1B";else if(Q==="\x1B"||Q==="\x1B\x1B")z.name="escape",z.meta=Q.length===2;else if(Q===" "||Q==="\x1B ")z.name="space",z.meta=Q.length===2;else if(Q==="\x1F")z.name="_",z.ctrl=!0;else if(Q<="\x1A"&&Q.length===1)z.name=String.fromCharCode(Q.charCodeAt(0)+97-1),z.ctrl=!0;else if(Q.length===1&&Q>="0"&&Q<="9")z.name="number";else if(Q.length===1&&Q>="a"&&Q<="z")z.name=Q;else if(Q.length===1&&Q>="A"&&Q<="Z")z.name=Q.toLowerCase(),z.shift=!0;else if(K=U$.exec(Q))z.meta=!0,z.shift=/^[A-Z]$/.test(K[1]);else if(K=q$.exec(Q)){let H=[...Q];if(H[0]==="\x1B"&&H[1]==="\x1B")z.option=!0;let F=[K[1],K[2],K[4],K[6]].filter(Boolean).join(""),B=(K[3]||K[5]||1)-1;z.ctrl=!!(B&4),z.meta=!!(B&2),z.super=!!(B&8),z.shift=!!(B&1),z.code=F,z.name=OY[F],z.shift=M$(F)||z.shift,z.ctrl=L$(F)||z.ctrl}if(z.raw==="\x1Bb")z.meta=!0,z.name="left";else if(z.raw==="\x1Bf")z.meta=!0,z.name="right";switch(Q){case"\x1B[1~":return U9(Q,"home",!1);case"\x1B[4~":return U9(Q,"end",!1);case"\x1B[5~":return U9(Q,"pageup",!1);case"\x1B[6~":return U9(Q,"pagedown",!1);case"\x1B[1;5D":return U9(Q,"left",!0);case"\x1B[1;5C":return U9(Q,"right",!0)}return z}function U9(Q,K,z){return{kind:"key",name:K,ctrl:z,meta:!1,shift:!1,option:!1,super:!1,fn:!1,sequence:Q,raw:Q,isPasted:!1}}var U$,q$,j$,H$,F$,B$,O$,W$,Y$,V$,D$,HY,FY,OY,WY,M$=(Q)=>{return["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(Q)},L$=(Q)=>{return["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(Q)};var v3=h(()=>{S9();Rz();U$=/^(?:\x1b)([a-zA-Z0-9])$/,q$=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,j$=/^\x1b\[(\d+)(?:;(\d+))?u/,H$=/^\x1b\[27;(\d+);(\d+)~/,F$=/^\x1b\[\?(\d+);(\d+)\$y$/,B$=/^\x1b\[\?([\d;]*)c$/,O$=/^\x1b\[>([\d;]*)c$/,W$=/^\x1b\[\?(\d+)u$/,Y$=/^\x1b\[\?(\d+);(\d+)R$/,V$=/^\x1b\](\d+);(.*?)(?:\x07|\x1b\\)$/s,D$=/^\x1bP>\|(.*?)(?:\x07|\x1b\\)$/s,HY=/^\x1b\[<(\d+);(\d+);(\d+)([Mm])$/;FY={mode:"NORMAL",incomplete:"",pasteBuffer:""};OY={OP:"f1",OQ:"f2",OR:"f3",OS:"f4",Op:"0",Oq:"1",Or:"2",Os:"3",Ot:"4",Ou:"5",Ov:"6",Ow:"7",Ox:"8",Oy:"9",Oj:"*",Ok:"+",Ol:",",Om:"-",On:".",Oo:"/",OM:"return","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"},WY=[...Object.values(OY).filter((Q)=>Q.length>1),"escape","backspace","wheelup","wheeldown","mouse"]});function _$(Q){let K={upArrow:Q.name==="up",downArrow:Q.name==="down",leftArrow:Q.name==="left",rightArrow:Q.name==="right",pageDown:Q.name==="pagedown",pageUp:Q.name==="pageup",wheelUp:Q.name==="wheelup",wheelDown:Q.name==="wheeldown",home:Q.name==="home",end:Q.name==="end",return:Q.name==="return",escape:Q.name==="escape",fn:Q.fn,ctrl:Q.ctrl,shift:Q.shift,tab:Q.name==="tab",backspace:Q.name==="backspace",delete:Q.name==="delete",meta:Q.meta||Q.name==="escape"||Q.option,super:Q.super},z=Q.ctrl?Q.name:Q.sequence;if(z===void 0)z="";if(Q.ctrl&&z==="space")z=" ";if(Q.code&&!Q.name)z="";if(!Q.name&&/^\[<\d+;\d+;\d+[Mm]/.test(z))z="";if(z.startsWith("\x1B"))z=z.slice(1);let U=!1;if(/^\[\d/.test(z)&&z.endsWith("u")){if(!Q.name)z="";else z=Q.name==="space"?" ":Q.name==="escape"?"":Q.name;U=!0}if(z.startsWith("[27;")&&z.endsWith("~")){if(!Q.name)z="";else z=Q.name==="space"?" ":Q.name==="escape"?"":Q.name;U=!0}if(z.startsWith("O")&&z.length===2&&Q.name&&Q.name.length===1)z=Q.name,U=!0;if(!U&&Q.name&&WY.includes(Q.name))z="";if(z.length===1&&typeof z[0]==="string"&&z[0]>="A"&&z[0]<="Z")K.shift=!0;return[K,z]}var Iz;var y3=h(()=>{v3();S8();Iz=class Iz extends G9{keypress;key;input;constructor(Q){super();let[K,z]=_$(Q);this.keypress=Q,this.key=K,this.input=z}}});var n1;var g3=h(()=>{S8();n1=class n1 extends G9{type;constructor(Q){super();this.type=Q}}});var YY=y6(($$)=>{(function(){function Q(){if(u=!1,y){var a=$$.unstable_now();d=a;var G0=!0;try{Z:{I=!1,g&&(g=!1,m(S),S=-1),C=!0;var z0=E;try{J:{F(a);for(_=z(M);_!==null&&!(_.expirationTime>a&&W());){var w0=_.callback;if(typeof w0==="function"){_.callback=null,E=_.priorityLevel;var C0=w0(_.expirationTime<=a);if(a=$$.unstable_now(),typeof C0==="function"){_.callback=C0,F(a),G0=!0;break J}_===z(M)&&U(M),F(a)}else U(M);_=z(M)}if(_!==null)G0=!0;else{var PZ=z(L);PZ!==null&&Y(B,PZ.startTime-a),G0=!1}}break Z}finally{_=null,E=z0,C=!1}G0=void 0}}finally{G0?i():y=!1}}}function K(a,G0){var z0=a.length;a.push(G0);Z:for(;0<z0;){var w0=z0-1>>>1,C0=a[w0];if(0<H(C0,G0))a[w0]=G0,a[z0]=C0,z0=w0;else break Z}}function z(a){return a.length===0?null:a[0]}function U(a){if(a.length===0)return null;var G0=a[0],z0=a.pop();if(z0!==G0){a[0]=z0;Z:for(var w0=0,C0=a.length,PZ=C0>>>1;w0<PZ;){var _Z=2*(w0+1)-1,WJ=a[_Z],o0=_Z+1,kZ=a[o0];if(0>H(WJ,z0))o0<C0&&0>H(kZ,WJ)?(a[w0]=kZ,a[o0]=z0,w0=o0):(a[w0]=WJ,a[_Z]=z0,w0=_Z);else if(o0<C0&&0>H(kZ,z0))a[w0]=kZ,a[o0]=z0,w0=o0;else break Z}}return G0}function H(a,G0){var z0=a.sortIndex-G0.sortIndex;return z0!==0?z0:a.id-G0.id}function F(a){for(var G0=z(L);G0!==null;){if(G0.callback===null)U(L);else if(G0.startTime<=a)U(L),G0.sortIndex=G0.expirationTime,K(M,G0);else break;G0=z(L)}}function B(a){if(g=!1,F(a),!I)if(z(M)!==null)I=!0,y||(y=!0,i());else{var G0=z(L);G0!==null&&Y(B,G0.startTime-a)}}function W(){return u?!0:$$.unstable_now()-d<o?!1:!0}function Y(a,G0){S=l(function(){a($$.unstable_now())},G0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),$$.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var D=performance;$$.unstable_now=function(){return D.now()}}else{var A=Date,N=A.now();$$.unstable_now=function(){return A.now()-N}}var M=[],L=[],T=1,_=null,E=3,C=!1,I=!1,g=!1,u=!1,l=typeof setTimeout==="function"?setTimeout:null,m=typeof clearTimeout==="function"?clearTimeout:null,s=typeof setImmediate<"u"?setImmediate:null,y=!1,S=-1,o=5,d=-1;if(typeof s==="function")var i=function(){s(Q)};else if(typeof MessageChannel<"u"){var Z0=new MessageChannel,Q0=Z0.port2;Z0.port1.onmessage=Q,i=function(){Q0.postMessage(null)}}else i=function(){l(Q,0)};$$.unstable_IdlePriority=5,$$.unstable_ImmediatePriority=1,$$.unstable_LowPriority=4,$$.unstable_NormalPriority=3,$$.unstable_Profiling=null,$$.unstable_UserBlockingPriority=2,$$.unstable_cancelCallback=function(a){a.callback=null},$$.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):o=0<a?Math.floor(1000/a):5},$$.unstable_getCurrentPriorityLevel=function(){return E},$$.unstable_next=function(a){switch(E){case 1:case 2:case 3:var G0=3;break;default:G0=E}var z0=E;E=G0;try{return a()}finally{E=z0}},$$.unstable_requestPaint=function(){u=!0},$$.unstable_runWithPriority=function(a,G0){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var z0=E;E=a;try{return G0()}finally{E=z0}},$$.unstable_scheduleCallback=function(a,G0,z0){var w0=$$.unstable_now();switch(typeof z0==="object"&&z0!==null?(z0=z0.delay,z0=typeof z0==="number"&&0<z0?w0+z0:w0):z0=w0,a){case 1:var C0=-1;break;case 2:C0=250;break;case 5:C0=1073741823;break;case 4:C0=1e4;break;default:C0=5000}return C0=z0+C0,a={id:T++,callback:G0,priorityLevel:a,startTime:z0,expirationTime:C0,sortIndex:-1},z0>w0?(a.sortIndex=z0,K(L,a),z(M)===null&&a===z(L)&&(g?(m(S),S=-1):g=!0,Y(B,z0-w0))):(a.sortIndex=C0,K(M,a),I||C||(I=!0,y||(y=!0,i()))),a},$$.unstable_shouldYield=W,$$.unstable_wrapCallback=function(a){var G0=E;return function(){var z0=E;E=G0;try{return a.apply(this,arguments)}finally{E=z0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var VY=y6((jC,s1)=>{var m3=r(WZ()),LZ=r(YY());s1.exports=function(Q){function K(Z,J){for(Z=Z.memoizedState;Z!==null&&0<J;)Z=Z.next,J--;return Z}function z(Z,J,G,X){if(G>=J.length)return X;var q=J[G],j=EJ(Z)?Z.slice():kJ({},Z);return j[q]=z(Z[q],J,G+1,X),j}function U(Z,J,G){if(J.length!==G.length)console.warn("copyWithRename() expects paths of the same length");else{for(var X=0;X<G.length-1;X++)if(J[X]!==G[X]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return H(Z,J,G,0)}}function H(Z,J,G,X){var q=J[X],j=EJ(Z)?Z.slice():kJ({},Z);return X+1===J.length?(j[G[X]]=j[q],EJ(j)?j.splice(q,1):delete j[q]):j[q]=H(Z[q],J,G,X+1),j}function F(Z,J,G){var X=J[G],q=EJ(Z)?Z.slice():kJ({},Z);if(G+1===J.length)return EJ(q)?q.splice(X,1):delete q[X],q;return q[X]=F(Z[X],J,G+1),q}function B(){return!1}function W(){return null}function Y(Z,J,G,X){return new pM(Z,J,G,X)}function D(Z,J){Z.context===A7&&(gB(J,Z,null,null),HG())}function A(Z,J){if(K9!==null){var G=J.staleFamilies;J=J.updatedFamilies,L5(),SB(Z.current,J,G),HG()}}function N(Z){K9=Z}function M(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function L(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function T(){}function _(){}function E(Z){var J=[];return Z.forEach(function(G){J.push(G)}),J.sort().join(", ")}function C(Z){var J=Z,G=Z;if(Z.alternate)for(;J.return;)J=J.return;else{Z=J;do J=Z,(J.flags&4098)!==0&&(G=J.return),Z=J.return;while(Z)}return J.tag===3?G:null}function I(Z){if(C(Z)!==Z)throw Error("Unable to find node on an unmounted component.")}function g(Z){var J=Z.alternate;if(!J){if(J=C(Z),J===null)throw Error("Unable to find node on an unmounted component.");return J!==Z?null:Z}for(var G=Z,X=J;;){var q=G.return;if(q===null)break;var j=q.alternate;if(j===null){if(X=q.return,X!==null){G=X;continue}break}if(q.child===j.child){for(j=q.child;j;){if(j===G)return I(q),Z;if(j===X)return I(q),J;j=j.sibling}throw Error("Unable to find node on an unmounted component.")}if(G.return!==X.return)G=q,X=j;else{for(var O=!1,V=q.child;V;){if(V===G){O=!0,G=q,X=j;break}if(V===X){O=!0,X=q,G=j;break}V=V.sibling}if(!O){for(V=j.child;V;){if(V===G){O=!0,G=j,X=q;break}if(V===X){O=!0,X=j,G=q;break}V=V.sibling}if(!O)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(G.alternate!==X)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(G.tag!==3)throw Error("Unable to find node on an unmounted component.");return G.stateNode.current===G?Z:J}function u(Z){return Z=g(Z),Z!==null?l(Z):null}function l(Z){var J=Z.tag;if(J===5||J===26||J===27||J===6)return Z;for(Z=Z.child;Z!==null;){if(J=l(Z),J!==null)return J;Z=Z.sibling}return null}function m(Z){var J=Z.tag;if(J===5||J===26||J===27||J===6)return Z;for(Z=Z.child;Z!==null;){if(Z.tag!==4&&(J=m(Z),J!==null))return J;Z=Z.sibling}return null}function s(Z){if(Z===null||typeof Z!=="object")return null;return Z=hB&&Z[hB]||Z["@@iterator"],typeof Z==="function"?Z:null}function y(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===iM?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case P5:return"Fragment";case Uq:return"Profiler";case YG:return"StrictMode";case jq:return"Suspense";case Hq:return"SuspenseList";case Fq:return"Activity"}if(typeof Z==="object")switch(typeof Z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Z.$$typeof){case B8:return"Portal";case A6:return Z.displayName||"Context";case qq:return(Z._context.displayName||"Context")+".Consumer";case Z1:var J=Z.render;return Z=Z.displayName,Z||(Z=J.displayName||J.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case VG:return J=Z.displayName||null,J!==null?J:y(Z.type)||"Memo";case bQ:J=Z._payload,Z=Z._init;try{return y(Z(J))}catch(G){}}return null}function S(Z){var J=Z.type;switch(Z.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(J._context.displayName||"Context")+".Consumer";case 10:return J.displayName||"Context";case 18:return"DehydratedFragment";case 11:return Z=J.render,Z=Z.displayName||Z.name||"",J.displayName||(Z!==""?"ForwardRef("+Z+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return J;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return y(J);case 8:return J===YG?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof J==="function")return J.displayName||J.name||null;if(typeof J==="string")return J;break;case 29:if(J=Z._debugInfo,J!=null){for(var G=J.length-1;0<=G;G--)if(typeof J[G].name==="string")return J[G].name}if(Z.return!==null)return S(Z.return)}return null}function o(Z){return{current:Z}}function d(Z,J){0>L6?console.error("Unexpected pop."):(J!==Mq[L6]&&console.error("Unexpected Fiber popped."),Z.current=Nq[L6],Nq[L6]=null,Mq[L6]=null,L6--)}function i(Z,J,G){L6++,Nq[L6]=Z.current,Mq[L6]=G,Z.current=J}function Z0(Z){return Z>>>=0,Z===0?32:31-(PP(Z)/_P|0)|0}function Q0(Z){var J=Z&42;if(J!==0)return J;switch(Z&-Z){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return Z&261888;case 262144:case 524288:case 1048576:case 2097152:return Z&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return Z&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),Z}}function a(Z,J,G){var X=Z.pendingLanes;if(X===0)return 0;var q=0,j=Z.suspendedLanes,O=Z.pingedLanes;Z=Z.warmLanes;var V=X&134217727;return V!==0?(X=V&~j,X!==0?q=Q0(X):(O&=V,O!==0?q=Q0(O):G||(G=V&~Z,G!==0&&(q=Q0(G))))):(V=X&~j,V!==0?q=Q0(V):O!==0?q=Q0(O):G||(G=X&~Z,G!==0&&(q=Q0(G)))),q===0?0:J!==0&&J!==q&&(J&j)===0&&(j=q&-q,G=J&-J,j>=G||j===32&&(G&4194048)!==0)?J:q}function G0(Z,J){return(Z.pendingLanes&~(Z.suspendedLanes&~Z.pingedLanes)&J)===0}function z0(Z,J){switch(Z){case 1:case 2:case 4:case 8:case 64:return J+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return J+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function w0(){var Z=MG;return MG<<=1,(MG&62914560)===0&&(MG=4194304),Z}function C0(Z){for(var J=[],G=0;31>G;G++)J.push(Z);return J}function PZ(Z,J){Z.pendingLanes|=J,J!==268435456&&(Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0)}function _Z(Z,J,G,X,q,j){var O=Z.pendingLanes;Z.pendingLanes=G,Z.suspendedLanes=0,Z.pingedLanes=0,Z.warmLanes=0,Z.expiredLanes&=G,Z.entangledLanes&=G,Z.errorRecoveryDisabledLanes&=G,Z.shellSuspendCounter=0;var{entanglements:V,expirationTimes:P,hiddenUpdates:k}=Z;for(G=O&~G;0<G;){var b=31-GQ(G),v=1<<b;V[b]=0,P[b]=-1;var c=k[b];if(c!==null)for(k[b]=null,b=0;b<c.length;b++){var q0=c[b];q0!==null&&(q0.lane&=-536870913)}G&=~v}X!==0&&WJ(Z,X,0),j!==0&&q===0&&Z.tag!==0&&(Z.suspendedLanes|=j&~(O&~J))}function WJ(Z,J,G){Z.pendingLanes|=J,Z.suspendedLanes&=~J;var X=31-GQ(J);Z.entangledLanes|=J,Z.entanglements[X]=Z.entanglements[X]|1073741824|G&261930}function o0(Z,J){var G=Z.entangledLanes|=J;for(Z=Z.entanglements;G;){var X=31-GQ(G),q=1<<X;q&J|Z[X]&J&&(Z[X]|=J),G&=~q}}function kZ(Z,J){var G=J&-J;return G=(G&42)!==0?1:XJ(G),(G&(Z.suspendedLanes|J))!==0?0:G}function XJ(Z){switch(Z){case 2:Z=1;break;case 8:Z=4;break;case 32:Z=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:Z=128;break;case 268435456:Z=134217728;break;default:Z=0}return Z}function oJ(Z,J,G){if(l9)for(Z=Z.pendingUpdatersLaneMap;0<G;){var X=31-GQ(G),q=1<<X;Z[X].add(J),G&=~q}}function PJ(Z,J){if(l9)for(var{pendingUpdatersLaneMap:G,memoizedUpdaters:X}=Z;0<J;){var q=31-GQ(J);Z=1<<q,q=G[q],0<q.size&&(q.forEach(function(j){var O=j.alternate;O!==null&&X.has(O)||X.add(j)}),q.clear()),J&=~Z}}function GZ(Z){return Z&=-Z,2<Z?8<Z?(Z&134217727)!==0?32:268435456:8:2}function bJ(Z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var J=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(J.isDisabled)return!0;if(!J.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{k5=J.inject(Z),lJ=J}catch(G){console.error("React instrumentation encountered an error: %o.",G)}return J.checkDCE?!0:!1}function y0(Z){if(typeof kP==="function"&&EP(Z),lJ&&typeof lJ.setStrictMode==="function")try{lJ.setStrictMode(k5,Z)}catch(J){d9||(d9=!0,console.error("React instrumentation encountered an error: %o",J))}}function w9(Z,J){return Z===J&&(Z!==0||1/Z===1/J)||Z!==Z&&J!==J}function EZ(Z){for(var J=0,G=0;G<Z.length;G++){var X=Z[G];if(typeof X==="object"&&X!==null)if(EJ(X)&&X.length===2&&typeof X[0]==="string"){if(J!==0&&J!==3)return 1;J=3}else return 1;else{if(typeof X==="function"||typeof X==="string"&&50<X.length||J!==0&&J!==2)return 1;J=2}}return J}function qZ(Z,J,G,X){for(var q in Z)Pq.call(Z,q)&&q[0]!=="_"&&AZ(q,Z[q],J,G,X)}function AZ(Z,J,G,X,q){switch(typeof J){case"object":if(J===null){J="null";break}else{if(J.$$typeof===D6){var j=y(J.type)||"…",O=J.key;J=J.props;var V=Object.keys(J),P=V.length;if(O==null&&P===0){J="<"+j+" />";break}if(3>X||P===1&&V[0]==="children"&&O==null){J="<"+j+" … />";break}G.push([q+"  ".repeat(X)+Z,"<"+j]),O!==null&&AZ("key",O,G,X+1,q),Z=!1;for(var k in J)k==="children"?J.children!=null&&(!EJ(J.children)||0<J.children.length)&&(Z=!0):Pq.call(J,k)&&k[0]!=="_"&&AZ(k,J[k],G,X+1,q);G.push(["",Z?">…</"+j+">":"/>"]);return}if(j=Object.prototype.toString.call(J),j=j.slice(8,j.length-1),j==="Array"){if(k=EZ(J),k===2||k===0){J=JSON.stringify(J);break}else if(k===3){G.push([q+"  ".repeat(X)+Z,""]);for(Z=0;Z<J.length;Z++)j=J[Z],AZ(j[0],j[1],G,X+1,q);return}}if(j==="Promise"){if(J.status==="fulfilled"){if(j=G.length,AZ(Z,J.value,G,X,q),G.length>j){G=G[j],G[1]="Promise<"+(G[1]||"Object")+">";return}}else if(J.status==="rejected"&&(j=G.length,AZ(Z,J.reason,G,X,q),G.length>j)){G=G[j],G[1]="Rejected Promise<"+G[1]+">";return}G.push(["  ".repeat(X)+Z,"Promise"]);return}j==="Object"&&(k=Object.getPrototypeOf(J))&&typeof k.constructor==="function"&&(j=k.constructor.name),G.push([q+"  ".repeat(X)+Z,j==="Object"?3>X?"":"…":j]),3>X&&qZ(J,G,X+1,q);return}case"function":J=J.name===""?"() => {}":J.name+"() {}";break;case"string":J=J==="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects."?"…":JSON.stringify(J);break;case"undefined":J="undefined";break;case"boolean":J=J?"true":"false";break;default:J=String(J)}G.push([q+"  ".repeat(X)+Z,J])}function OQ(Z,J,G,X){var q=!0;for(O in Z)O in J||(G.push(["– "+"  ".repeat(X)+O,"…"]),q=!1);for(var j in J)if(j in Z){var O=Z[j],V=J[j];if(O!==V){if(X===0&&j==="children")q="  ".repeat(X)+j,G.push(["– "+q,"…"],["+ "+q,"…"]);else{if(!(3<=X)){if(typeof O==="object"&&typeof V==="object"&&O!==null&&V!==null&&O.$$typeof===V.$$typeof)if(V.$$typeof===D6){if(O.type===V.type&&O.key===V.key){O=y(V.type)||"…",q="  ".repeat(X)+j,O="<"+O+" … />",G.push(["– "+q,O],["+ "+q,O]),q=!1;continue}}else{var P=Object.prototype.toString.call(O),k=Object.prototype.toString.call(V);if(P===k&&(k==="[object Object]"||k==="[object Array]")){P=["  "+"  ".repeat(X)+j,k==="[object Array]"?"Array":""],G.push(P),k=G.length,OQ(O,V,G,X+1)?k===G.length&&(P[1]="Referentially unequal but deeply equal objects. Consider memoization."):q=!1;continue}}else if(typeof O==="function"&&typeof V==="function"&&O.name===V.name&&O.length===V.length&&(P=Function.prototype.toString.call(O),k=Function.prototype.toString.call(V),P===k)){O=V.name===""?"() => {}":V.name+"() {}",G.push(["  "+"  ".repeat(X)+j,O+" Referentially unequal function closure. Consider memoization."]);continue}}AZ(j,O,G,X,"– "),AZ(j,V,G,X,"+ ")}q=!1}}else G.push(["+ "+"  ".repeat(X)+j,"…"]),q=!1;return q}function YJ(Z){u0=Z&63?"Blocking":Z&64?"Gesture":Z&4194176?"Transition":Z&62914560?"Suspense":Z&2080374784?"Idle":"Other"}function _J(Z,J,G,X){NZ&&(M7.start=J,M7.end=G,P6.color="warning",P6.tooltipText=X,P6.properties=null,(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,X,M7)):performance.measure(X,M7))}function $Q(Z,J,G){_J(Z,J,G,"Reconnect")}function X0(Z,J,G,X,q){var j=S(Z);if(j!==null&&NZ){var{alternate:O,actualDuration:V}=Z;if(O===null||O.child!==Z.child)for(var P=Z.child;P!==null;P=P.sibling)V-=P.actualDuration;X=0.5>V?X?"tertiary-light":"primary-light":10>V?X?"tertiary":"primary":100>V?X?"tertiary-dark":"primary-dark":"error";var k=Z.memoizedProps;V=Z._debugTask,k!==null&&O!==null&&O.memoizedProps!==k?(P=[xP],k=OQ(O.memoizedProps,k,P,0),1<P.length&&(k&&!N7&&(O.lanes&q)===0&&100<Z.actualDuration?(N7=!0,P[0]=SP,P6.color="warning",P6.tooltipText="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."):(P6.color=X,P6.tooltipText=j),P6.properties=P,M7.start=J,M7.end=G,V!=null?V.run(performance.measure.bind(performance,"​"+j,M7)):performance.measure("​"+j,M7))):V!=null?V.run(console.timeStamp.bind(console,j,J,G,"Components ⚛",void 0,X)):console.timeStamp(j,J,G,"Components ⚛",void 0,X)}}function $0(Z,J,G,X){if(NZ){var q=S(Z);if(q!==null){for(var j=null,O=[],V=0;V<X.length;V++){var P=X[V];j==null&&P.source!==null&&(j=P.source._debugTask),P=P.value,O.push(["Error",typeof P==="object"&&P!==null&&typeof P.message==="string"?String(P.message):String(P)])}Z.key!==null&&AZ("key",Z.key,O,0,""),Z.memoizedProps!==null&&qZ(Z.memoizedProps,O,0,""),j==null&&(j=Z._debugTask),Z={start:J,end:G,detail:{devtools:{color:"error",track:"Components ⚛",tooltipText:Z.tag===13?"Hydration failed":"Error boundary caught an error",properties:O}}},j?j.run(performance.measure.bind(performance,"​"+q,Z)):performance.measure("​"+q,Z)}}}function V0(Z,J,G,X,q){if(q!==null){if(NZ){var j=S(Z);if(j!==null){X=[];for(var O=0;O<q.length;O++){var V=q[O].value;X.push(["Error",typeof V==="object"&&V!==null&&typeof V.message==="string"?String(V.message):String(V)])}Z.key!==null&&AZ("key",Z.key,X,0,""),Z.memoizedProps!==null&&qZ(Z.memoizedProps,X,0,""),J={start:J,end:G,detail:{devtools:{color:"error",track:"Components ⚛",tooltipText:"A lifecycle or effect errored",properties:X}}},(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,"​"+j,J)):performance.measure("​"+j,J)}}}else j=S(Z),j!==null&&NZ&&(q=1>X?"secondary-light":100>X?"secondary":500>X?"secondary-dark":"error",(Z=Z._debugTask)?Z.run(console.timeStamp.bind(console,j,J,G,"Components ⚛",void 0,q)):console.timeStamp(j,J,G,"Components ⚛",void 0,q))}function t(Z,J,G,X){if(NZ&&!(J<=Z)){var q=(G&738197653)===G?"tertiary-dark":"primary-dark";G=(G&536870912)===G?"Prepared":(G&201326741)===G?"Hydrated":"Render",X?X.run(console.timeStamp.bind(console,G,Z,J,u0,"Scheduler ⚛",q)):console.timeStamp(G,Z,J,u0,"Scheduler ⚛",q)}}function i0(Z,J,G,X){!NZ||J<=Z||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Prewarm",Z,J,u0,"Scheduler ⚛",G)):console.timeStamp("Prewarm",Z,J,u0,"Scheduler ⚛",G))}function U0(Z,J,G,X){!NZ||J<=Z||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Suspended",Z,J,u0,"Scheduler ⚛",G)):console.timeStamp("Suspended",Z,J,u0,"Scheduler ⚛",G))}function B0(Z,J,G,X,q,j){if(NZ&&!(J<=Z)){G=[];for(var O=0;O<X.length;O++){var V=X[O].value;G.push(["Recoverable Error",typeof V==="object"&&V!==null&&typeof V.message==="string"?String(V.message):String(V)])}Z={start:Z,end:J,detail:{devtools:{color:"primary-dark",track:u0,trackGroup:"Scheduler ⚛",tooltipText:q?"Hydration Failed":"Recovered after Error",properties:G}}},j?j.run(performance.measure.bind(performance,"Recovered",Z)):performance.measure("Recovered",Z)}}function W0(Z,J,G,X){!NZ||J<=Z||(X?X.run(console.timeStamp.bind(console,"Errored",Z,J,u0,"Scheduler ⚛","error")):console.timeStamp("Errored",Z,J,u0,"Scheduler ⚛","error"))}function TZ(Z,J,G,X){!NZ||J<=Z||(X?X.run(console.timeStamp.bind(console,G,Z,J,u0,"Scheduler ⚛","secondary-light")):console.timeStamp(G,Z,J,u0,"Scheduler ⚛","secondary-light"))}function r0(Z,J,G,X,q){if(NZ&&!(J<=Z)){for(var j=[],O=0;O<G.length;O++){var V=G[O].value;j.push(["Error",typeof V==="object"&&V!==null&&typeof V.message==="string"?String(V.message):String(V)])}Z={start:Z,end:J,detail:{devtools:{color:"error",track:u0,trackGroup:"Scheduler ⚛",tooltipText:X?"Remaining Effects Errored":"Commit Errored",properties:j}}},q?q.run(performance.measure.bind(performance,"Errored",Z)):performance.measure("Errored",Z)}}function E0(){}function n0(){if(z1===0){N2=console.log,M2=console.info,L2=console.warn,P2=console.error,_2=console.group,$2=console.groupCollapsed,R2=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:E0,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}z1++}function dZ(){if(z1--,z1===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:kJ({},Z,{value:N2}),info:kJ({},Z,{value:M2}),warn:kJ({},Z,{value:L2}),error:kJ({},Z,{value:P2}),group:kJ({},Z,{value:_2}),groupCollapsed:kJ({},Z,{value:$2}),groupEnd:kJ({},Z,{value:R2})})}0>z1&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function UJ(Z){var J=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,Z=Z.stack,Error.prepareStackTrace=J,Z.startsWith(`Error: react-stack-top-frame
3
- `)&&(Z=Z.slice(29)),J=Z.indexOf(`
4
- `),J!==-1&&(Z=Z.slice(J+1)),J=Z.indexOf("react_stack_bottom_frame"),J!==-1&&(J=Z.lastIndexOf(`
5
- `,J)),J!==-1)Z=Z.slice(0,J);else return"";return Z}function JZ(Z){if(_q===void 0)try{throw Error()}catch(G){var J=G.stack.trim().match(/\n( *(at )?)/);_q=J&&J[1]||"",I2=-1<G.stack.indexOf(`
6
- at`)?" (<anonymous>)":-1<G.stack.indexOf("@")?"@unknown:0:0":""}return`
7
- `+_q+Z+I2}function VJ(Z,J){if(!Z||$q)return"";var G=Rq.get(Z);if(G!==void 0)return G;$q=!0,G=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var X=null;X=w.H,w.H=null,n0();try{var q={DetermineComponentFrameRoot:function(){try{if(J){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(L0){var q0=L0}Reflect.construct(Z,[],c)}else{try{c.call()}catch(L0){q0=L0}Z.call(c.prototype)}}else{try{throw Error()}catch(L0){q0=L0}(c=Z())&&typeof c.catch==="function"&&c.catch(function(){})}}catch(L0){if(L0&&q0&&typeof L0.stack==="string")return[L0.stack,q0.stack]}return[null,null]}};q.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var j=Object.getOwnPropertyDescriptor(q.DetermineComponentFrameRoot,"name");j&&j.configurable&&Object.defineProperty(q.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var O=q.DetermineComponentFrameRoot(),V=O[0],P=O[1];if(V&&P){var k=V.split(`
8
- `),b=P.split(`
9
- `);for(O=j=0;j<k.length&&!k[j].includes("DetermineComponentFrameRoot");)j++;for(;O<b.length&&!b[O].includes("DetermineComponentFrameRoot");)O++;if(j===k.length||O===b.length)for(j=k.length-1,O=b.length-1;1<=j&&0<=O&&k[j]!==b[O];)O--;for(;1<=j&&0<=O;j--,O--)if(k[j]!==b[O]){if(j!==1||O!==1)do if(j--,O--,0>O||k[j]!==b[O]){var v=`
10
- `+k[j].replace(" at new "," at ");return Z.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",Z.displayName)),typeof Z==="function"&&Rq.set(Z,v),v}while(1<=j&&0<=O);break}}}finally{$q=!1,w.H=X,dZ(),Error.prepareStackTrace=G}return k=(k=Z?Z.displayName||Z.name:"")?JZ(k):"",typeof Z==="function"&&Rq.set(Z,k),k}function d0(Z,J){switch(Z.tag){case 26:case 27:case 5:return JZ(Z.type);case 16:return JZ("Lazy");case 13:return Z.child!==J&&J!==null?JZ("Suspense Fallback"):JZ("Suspense");case 19:return JZ("SuspenseList");case 0:case 15:return VJ(Z.type,!1);case 11:return VJ(Z.type.render,!1);case 1:return VJ(Z.type,!0);case 31:return JZ("Activity");default:return""}}function e(Z){try{var J="",G=null;do{J+=d0(Z,G);var X=Z._debugInfo;if(X)for(var q=X.length-1;0<=q;q--){var j=X[q];if(typeof j.name==="string"){var O=J;Z:{var{name:V,env:P,debugLocation:k}=j;if(k!=null){var b=UJ(k),v=b.lastIndexOf(`
11
- `),c=v===-1?b:b.slice(v+1);if(c.indexOf(V)!==-1){var q0=`
12
- `+c;break Z}}q0=JZ(V+(P?" ["+P+"]":""))}J=O+q0}}G=Z,Z=Z.return}while(Z);return J}catch(L0){return`
13
- Error generating stack: `+L0.message+`
14
- `+L0.stack}}function x0(Z){return(Z=Z?Z.displayName||Z.name:"")?JZ(Z):""}function j0(Z,J){if(typeof Z==="object"&&Z!==null){var G=Iq.get(Z);if(G!==void 0)return G;return J={value:Z,source:J,stack:e(J)},Iq.set(Z,J),J}return{value:Z,source:J,stack:e(J)}}function KZ(Z,J){_0(),E5[T5++]=X1,E5[T5++]=PG,PG=Z,X1=J}function g0(Z,J,G){_0(),nQ[sQ++]=_6,nQ[sQ++]=$6,nQ[sQ++]=Y8,Y8=Z;var X=_6;Z=$6;var q=32-GQ(X)-1;X&=~(1<<q),G+=1;var j=32-GQ(J)+q;if(30<j){var O=q-q%5;j=(X&(1<<O)-1).toString(32),X>>=O,q-=O,_6=1<<32-GQ(J)+q|G<<q|X,$6=j+Z}else _6=1<<j|G<<q|X,$6=Z}function P0(Z){_0(),Z.return!==null&&(KZ(Z,1),g0(Z,1,0))}function wJ(Z){for(;Z===PG;)PG=E5[--T5],E5[T5]=null,X1=E5[--T5],E5[T5]=null;for(;Z===Y8;)Y8=nQ[--sQ],nQ[sQ]=null,$6=nQ[--sQ],nQ[sQ]=null,_6=nQ[--sQ],nQ[sQ]=null}function RQ(){return _0(),Y8!==null?{id:_6,overflow:$6}:null}function IQ(Z,J){_0(),nQ[sQ++]=_6,nQ[sQ++]=$6,nQ[sQ++]=Y8,_6=J.id,$6=J.overflow,Y8=Z}function _0(){p0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function l0(Z){return Z===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),Z}function zZ(Z,J){i(P7,J,Z),i(U1,Z,Z),i(L7,null,Z),J=oM(J),d(L7,Z),i(L7,J,Z)}function $Z(Z){d(L7,Z),d(U1,Z),d(P7,Z)}function Y0(){return l0(L7.current)}function FZ(Z){Z.memoizedState!==null&&i(_G,Z,Z);var J=l0(L7.current),G=rM(J,Z.type);J!==G&&(i(U1,Z,Z),i(L7,G,Z))}function CZ(Z){U1.current===Z&&(d(L7,Z),d(U1,Z)),_G.current===Z&&(d(_G,Z),N6?W8._currentValue=$5:W8._currentValue2=$5)}function H9(Z,J){return Z.serverProps===void 0&&Z.serverTail.length===0&&Z.children.length===1&&3<Z.distanceFromLeaf&&Z.distanceFromLeaf>15-J?H9(Z.children[0],J):Z}function xZ(Z){return" "+" ".repeat(Z)}function eZ(Z){return"+ "+" ".repeat(Z)}function SZ(Z){return"- "+" ".repeat(Z)}function vJ(Z){switch(Z.tag){case 26:case 27:case 5:return Z.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return Z=Z.type,Z.displayName||Z.name||null;case 11:return Z=Z.type.render,Z.displayName||Z.name||null;case 1:return Z=Z.type,Z.displayName||Z.name||null;default:return null}}function WQ(Z,J){return k2.test(Z)?(Z=JSON.stringify(Z),Z.length>J-2?8>J?'{"..."}':"{"+Z.slice(0,J-7)+'..."}':"{"+Z+"}"):Z.length>J?5>J?'{"..."}':Z.slice(0,J-3)+"...":Z}function YQ(Z,J,G){var X=120-2*G;if(J===null)return eZ(G)+WQ(Z,X)+`
15
- `;if(typeof J==="string"){for(var q=0;q<J.length&&q<Z.length&&J.charCodeAt(q)===Z.charCodeAt(q);q++);return q>X-8&&10<q&&(Z="..."+Z.slice(q-8),J="..."+J.slice(q-8)),eZ(G)+WQ(Z,X)+`
16
- `+SZ(G)+WQ(J,X)+`
17
- `}return xZ(G)+WQ(Z,X)+`
18
- `}function VQ(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(J,G){return G})}function cQ(Z,J){switch(typeof Z){case"string":return Z=JSON.stringify(Z),Z.length>J?5>J?'"..."':Z.slice(0,J-4)+'..."':Z;case"object":if(Z===null)return"null";if(EJ(Z))return"[...]";if(Z.$$typeof===D6)return(J=y(Z.type))?"<"+J+">":"<...>";var G=VQ(Z);if(G==="Object"){G="",J-=2;for(var X in Z)if(Z.hasOwnProperty(X)){var q=JSON.stringify(X);if(q!=='"'+X+'"'&&(X=q),J-=X.length-2,q=cQ(Z[X],15>J?J:15),J-=q.length,0>J){G+=G===""?"...":", ...";break}G+=(G===""?"":",")+X+":"+q}return"{"+G+"}"}return G;case"function":return(J=Z.displayName||Z.name)?"function "+J:"function";default:return String(Z)}}function F9(Z,J){return typeof Z!=="string"||k2.test(Z)?"{"+cQ(Z,J-2)+"}":Z.length>J-2?5>J?'"..."':'"'+Z.slice(0,J-5)+'..."':'"'+Z+'"'}function yJ(Z,J,G){var X=120-G.length-Z.length,q=[],j;for(j in J)if(J.hasOwnProperty(j)&&j!=="children"){var O=F9(J[j],120-G.length-j.length-1);X-=j.length+O.length+2,q.push(j+"="+O)}return q.length===0?G+"<"+Z+`>
19
- `:0<X?G+"<"+Z+" "+q.join(" ")+`>
20
- `:G+"<"+Z+`
21
- `+G+" "+q.join(`
22
- `+G+" ")+`
23
- `+G+`>
24
- `}function U6(Z,J,G){var X="",q=kJ({},J),j;for(j in Z)if(Z.hasOwnProperty(j)){delete q[j];var O=120-2*G-j.length-2,V=cQ(Z[j],O);J.hasOwnProperty(j)?(O=cQ(J[j],O),X+=eZ(G)+j+": "+V+`
25
- `,X+=SZ(G)+j+": "+O+`
26
- `):X+=eZ(G)+j+": "+V+`
27
- `}for(var P in q)q.hasOwnProperty(P)&&(Z=cQ(q[P],120-2*G-P.length-2),X+=SZ(G)+P+": "+Z+`
28
- `);return X}function e6(Z,J,G,X){var q="",j=new Map;for(k in G)G.hasOwnProperty(k)&&j.set(k.toLowerCase(),k);if(j.size===1&&j.has("children"))q+=yJ(Z,J,xZ(X));else{for(var O in J)if(J.hasOwnProperty(O)&&O!=="children"){var V=120-2*(X+1)-O.length-1,P=j.get(O.toLowerCase());if(P!==void 0){j.delete(O.toLowerCase());var k=J[O];P=G[P];var b=F9(k,V);V=F9(P,V),typeof k==="object"&&k!==null&&typeof P==="object"&&P!==null&&VQ(k)==="Object"&&VQ(P)==="Object"&&(2<Object.keys(k).length||2<Object.keys(P).length||-1<b.indexOf("...")||-1<V.indexOf("..."))?q+=xZ(X+1)+O+`={{
29
- `+U6(k,P,X+2)+xZ(X+1)+`}}
30
- `:(q+=eZ(X+1)+O+"="+b+`
31
- `,q+=SZ(X+1)+O+"="+V+`
32
- `)}else q+=xZ(X+1)+O+"="+F9(J[O],V)+`
33
- `}j.forEach(function(v){if(v!=="children"){var c=120-2*(X+1)-v.length-1;q+=SZ(X+1)+v+"="+F9(G[v],c)+`
34
- `}}),q=q===""?xZ(X)+"<"+Z+`>
35
- `:xZ(X)+"<"+Z+`
36
- `+q+xZ(X)+`>
37
- `}if(Z=G.children,J=J.children,typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint"){if(j="",typeof J==="string"||typeof J==="number"||typeof J==="bigint")j=""+J;q+=YQ(j,""+Z,X+1)}else if(typeof J==="string"||typeof J==="number"||typeof J==="bigint")q=Z==null?q+YQ(""+J,null,X+1):q+YQ(""+J,void 0,X+1);return q}function B9(Z,J){var G=vJ(Z);if(G===null){G="";for(Z=Z.child;Z;)G+=B9(Z,J),Z=Z.sibling;return G}return xZ(J)+"<"+G+`>
38
- `}function v9(Z,J){var G=H9(Z,J);if(G!==Z&&(Z.children.length!==1||Z.children[0]!==G))return xZ(J)+`...
39
- `+v9(G,J+1);G="";var X=Z.fiber._debugInfo;if(X)for(var q=0;q<X.length;q++){var j=X[q].name;typeof j==="string"&&(G+=xZ(J)+"<"+j+`>
40
- `,J++)}if(X="",q=Z.fiber.pendingProps,Z.fiber.tag===6)X=YQ(q,Z.serverProps,J),J++;else if(j=vJ(Z.fiber),j!==null)if(Z.serverProps===void 0){X=J;var O=120-2*X-j.length-2,V="";for(k in q)if(q.hasOwnProperty(k)&&k!=="children"){var P=F9(q[k],15);if(O-=k.length+P.length+2,0>O){V+=" ...";break}V+=" "+k+"="+P}X=xZ(X)+"<"+j+V+`>
41
- `,J++}else Z.serverProps===null?(X=yJ(j,q,eZ(J)),J++):typeof Z.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(X=e6(j,q,Z.serverProps,J),J++);var k="";q=Z.fiber.child;for(j=0;q&&j<Z.children.length;)O=Z.children[j],O.fiber===q?(k+=v9(O,J),j++):k+=B9(q,J),q=q.sibling;q&&0<Z.children.length&&(k+=xZ(J)+`...
42
- `),q=Z.serverTail,Z.serverProps===null&&J--;for(Z=0;Z<q.length;Z++)j=q[Z],k=typeof j==="string"?k+(SZ(J)+WQ(j,120-2*J)+`
43
- `):k+yJ(j.type,j.props,SZ(J));return G+X+k}function i7(Z){try{return`
44
-
45
- `+v9(Z,0)}catch(J){return""}}function n7(){if(R6===null)return"";var Z=R6;try{var J="";switch(Z.tag===6&&(Z=Z.return),Z.tag){case 26:case 27:case 5:J+=JZ(Z.type);break;case 13:J+=JZ("Suspense");break;case 19:J+=JZ("SuspenseList");break;case 31:J+=JZ("Activity");break;case 30:case 0:case 15:case 1:Z._debugOwner||J!==""||(J+=x0(Z.type));break;case 11:Z._debugOwner||J!==""||(J+=x0(Z.type.render))}for(;Z;)if(typeof Z.tag==="number"){var G=Z;Z=G._debugOwner;var X=G._debugStack;if(Z&&X){var q=UJ(X);q!==""&&(J+=`
46
- `+q)}}else if(Z.debugStack!=null){var j=Z.debugStack;(Z=Z.owner)&&j&&(J+=`
47
- `+UJ(j))}else break;var O=J}catch(V){O=`
48
- Error generating stack: `+V.message+`
49
- `+V.stack}return O}function J0(Z,J,G,X,q,j,O){var V=R6;s7(Z);try{return Z!==null&&Z._debugTask?Z._debugTask.run(J.bind(null,G,X,q,j,O)):J(G,X,q,j,O)}finally{s7(V)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function s7(Z){w.getCurrentStack=Z===null?null:n7,a9=!1,R6=Z}function O9(Z,J){if(Z.return===null){if(wQ===null)wQ={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:J};else{if(wQ.fiber!==Z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");wQ.distanceFromLeaf>J&&(wQ.distanceFromLeaf=J)}return wQ}var G=O9(Z.return,J+1).children;if(0<G.length&&G[G.length-1].fiber===Z)return G=G[G.length-1],G.distanceFromLeaf>J&&(G.distanceFromLeaf=J),G;return J={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:J},G.push(J),J}function H0(){p0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function y9(Z,J){i9||(Z=O9(Z,0),Z.serverProps=null,J!==null&&(J=K2(J),Z.serverTail.push(J)))}function W9(Z){var J=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,G="",X=wQ;throw X!==null&&(wQ=null,G=i7(X)),J7(j0(Error("Hydration failed because the server rendered "+(J?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
50
-
51
- - A server/client branch \`if (typeof window !== 'undefined')\`.
52
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
53
- - Date formatting in a user's locale which doesn't match the server.
54
- - External changing data without sending a snapshot of it along with the HTML.
55
- - Invalid HTML tag nesting.
56
-
57
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
58
-
59
- https://react.dev/link/hydration-mismatch`+G),Z)),kq}function q6(Z,J){if(!dJ)throw Error("Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");eL(Z.stateNode,Z.type,Z.memoizedProps,J,Z)||W9(Z,!0)}function o7(Z){for(TJ=Z.return;TJ;)switch(TJ.tag){case 5:case 31:case 13:oQ=!1;return;case 27:case 3:oQ=!0;return;default:TJ=TJ.return}}function j6(Z){if(!dJ||Z!==TJ)return!1;if(!p0)return o7(Z),p0=!0,!1;var J=Z.tag;if(HJ?J!==3&&J!==27&&(J!==5||Z2(Z.type)&&!DG(Z.type,Z.memoizedProps))&&fZ&&(X5(Z),W9(Z)):J!==3&&(J!==5||Z2(Z.type)&&!DG(Z.type,Z.memoizedProps))&&fZ&&(X5(Z),W9(Z)),o7(Z),J===13){if(!dJ)throw Error("Expected skipPastDehydratedSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");fZ=eB(Z)}else if(J===31){if(Z=Z.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");fZ=KP(Z)}else fZ=HJ&&J===27?cL(Z.type,fZ):TJ?Dq(Z.stateNode):null;return!0}function X5(Z){for(var J=fZ;J;){var G=O9(Z,0),X=K2(J);G.serverTail.push(X),J=X.type==="Suspense"?eB(J):Dq(J)}}function dQ(){dJ&&(fZ=TJ=null,i9=p0=!1)}function Z7(){var Z=_7;return Z!==null&&(jQ===null?jQ=Z:jQ.push.apply(jQ,Z),_7=null),Z}function J7(Z){_7===null?_7=[Z]:_7.push(Z)}function Q7(){var Z=wQ;if(Z!==null){wQ=null;for(var J=i7(Z);0<Z.children.length;)Z=Z.children[0];J0(Z.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
60
-
61
- - A server/client branch \`if (typeof window !== 'undefined')\`.
62
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
63
- - Date formatting in a user's locale which doesn't match the server.
64
- - External changing data without sending a snapshot of it along with the HTML.
65
- - Invalid HTML tag nesting.
66
-
67
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
68
-
69
- %s%s`,"https://react.dev/link/hydration-mismatch",J)})}}function r7(){C5=IG=null,x5=!1}function lQ(Z,J,G){N6?(i($G,J._currentValue,Z),J._currentValue=G,i(Eq,J._currentRenderer,Z),J._currentRenderer!==void 0&&J._currentRenderer!==null&&J._currentRenderer!==RG&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),J._currentRenderer=RG):(i($G,J._currentValue2,Z),J._currentValue2=G,i(Tq,J._currentRenderer2,Z),J._currentRenderer2!==void 0&&J._currentRenderer2!==null&&J._currentRenderer2!==RG&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),J._currentRenderer2=RG)}function aQ(Z,J){var G=$G.current;N6?(Z._currentValue=G,G=Eq.current,d(Eq,J),Z._currentRenderer=G):(Z._currentValue2=G,G=Tq.current,d(Tq,J),Z._currentRenderer2=G),d($G,J)}function H6(Z,J,G){for(;Z!==null;){var X=Z.alternate;if((Z.childLanes&J)!==J?(Z.childLanes|=J,X!==null&&(X.childLanes|=J)):X!==null&&(X.childLanes&J)!==J&&(X.childLanes|=J),Z===G)break;Z=Z.return}Z!==G&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function t7(Z,J,G,X){var q=Z.child;q!==null&&(q.return=Z);for(;q!==null;){var j=q.dependencies;if(j!==null){var O=q.child;j=j.firstContext;Z:for(;j!==null;){var V=j;j=q;for(var P=0;P<J.length;P++)if(V.context===J[P]){j.lanes|=G,V=j.alternate,V!==null&&(V.lanes|=G),H6(j.return,G,Z),X||(O=null);break Z}j=V.next}}else if(q.tag===18){if(O=q.return,O===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");O.lanes|=G,j=O.alternate,j!==null&&(j.lanes|=G),H6(O,G,Z),O=null}else O=q.child;if(O!==null)O.return=q;else for(O=q;O!==null;){if(O===Z){O=null;break}if(q=O.sibling,q!==null){q.return=O.return,O=q;break}O=O.return}q=O}}function kQ(Z,J,G,X){Z=null;for(var q=J,j=!1;q!==null;){if(!j){if((q.flags&524288)!==0)j=!0;else if((q.flags&262144)!==0)break}if(q.tag===10){var O=q.alternate;if(O===null)throw Error("Should have a current fiber. This is a bug in React.");if(O=O.memoizedProps,O!==null){var V=q.type;zQ(q.pendingProps.value,O.value)||(Z!==null?Z.push(V):Z=[V])}}else if(q===_G.current){if(O=q.alternate,O===null)throw Error("Should have a current fiber. This is a bug in React.");O.memoizedState.memoizedState!==q.memoizedState.memoizedState&&(Z!==null?Z.push(W8):Z=[W8])}q=q.return}Z!==null&&t7(J,Z,G,X),J.flags|=262144}function K7(Z){for(Z=Z.firstContext;Z!==null;){var J=Z.context;if(!zQ(N6?J._currentValue:J._currentValue2,Z.memoizedValue))return!0;Z=Z.next}return!1}function Y9(Z){IG=Z,C5=null,Z=Z.dependencies,Z!==null&&(Z.firstContext=null)}function jZ(Z){return x5&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),CK(IG,Z)}function rJ(Z,J){return IG===null&&Y9(Z),CK(Z,J)}function CK(Z,J){var G=N6?J._currentValue:J._currentValue2;if(J={context:J,memoizedValue:G,next:null},C5===null){if(Z===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");C5=J,Z.dependencies={lanes:0,firstContext:J,_debugThenableState:null},Z.flags|=524288}else C5=C5.next=J;return G}function G7(){return{controller:new fP,data:new Map,refCount:0}}function EQ(Z){Z.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),Z.refCount++}function z7(Z){Z.refCount--,0>Z.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),Z.refCount===0&&bP(wP,function(){Z.controller.abort()})}function tJ(Z,J,G){if((Z&127)!==0)0>n9&&(n9=ZJ(),q1=kG(J),Cq=J,G!=null&&(xq=S(G)),sU()&&(hZ=!0,R7=1),Z=Q1(),J=J1(),Z!==S5||J!==j1?S5=-1.1:J!==null&&(R7=1),A8=Z,j1=J);else if((Z&4194048)!==0&&0>rQ&&(rQ=ZJ(),H1=kG(J),E2=J,G!=null&&(T2=S(G)),0>T6)){if(Z=Q1(),J=J1(),Z!==k7||J!==N8)k7=-1.1;I7=Z,N8=J}}function U5(Z){if(0>n9){n9=ZJ(),q1=Z._debugTask!=null?Z._debugTask:null,sU()&&(R7=1);var J=Q1(),G=J1();J!==S5||G!==j1?S5=-1.1:G!==null&&(R7=1),A8=J,j1=G}if(0>rQ&&(rQ=ZJ(),H1=Z._debugTask!=null?Z._debugTask:null,0>T6)){if(Z=Q1(),J=J1(),Z!==k7||J!==N8)k7=-1.1;I7=Z,N8=J}}function TQ(){var Z=V8;return V8=0,Z}function e7(Z){var J=V8;return V8=Z,J}function X7(Z){var J=V8;return V8+=Z,J}function U7(){D0=F0=-1.1}function qJ(){var Z=F0;return F0=-1.1,Z}function gJ(Z){0<=Z&&(F0=Z)}function eJ(){var Z=bZ;return bZ=-0,Z}function $J(Z){0<=Z&&(bZ=Z)}function RJ(){var Z=RZ;return RZ=null,Z}function mJ(){var Z=hZ;return hZ=!1,Z}function q5(Z){XQ=ZJ(),0>Z.actualStartTime&&(Z.actualStartTime=XQ)}function F6(Z){if(0<=XQ){var J=ZJ()-XQ;Z.actualDuration+=J,Z.selfBaseDuration=J,XQ=-1}}function j5(Z){if(0<=XQ){var J=ZJ()-XQ;Z.actualDuration+=J,XQ=-1}}function DQ(){if(0<=XQ){var Z=ZJ(),J=Z-XQ;XQ=-1,V8+=J,bZ+=J,D0=Z}}function w4(Z){RZ===null&&(RZ=[]),RZ.push(Z),k6===null&&(k6=[]),k6.push(Z)}function ZQ(){XQ=ZJ(),0>F0&&(F0=XQ)}function B6(Z){for(var J=Z.child;J;)Z.actualDuration+=J.actualDuration,J=J.sibling}function Z8(){}function lZ(Z){Z!==b5&&Z.next===null&&(b5===null?SG=b5=Z:b5=b5.next=Z),fG=!0,w.actQueue!==null?bq||(bq=!0,q7()):fq||(fq=!0,q7())}function g9(Z,J){if(!wq&&fG){wq=!0;do{var G=!1;for(var X=SG;X!==null;){if(!J)if(Z!==0){var q=X.pendingLanes;if(q===0)var j=0;else{var{suspendedLanes:O,pingedLanes:V}=X;j=(1<<31-GQ(42|Z)+1)-1,j&=q&~(O&~V),j=j&201326741?j&201326741|1:j?j|2:0}j!==0&&(G=!0,g4(X,j))}else j=f0,j=a(X,X===OZ?j:0,X.cancelPendingCommit!==null||X.timeoutHandle!==O8),(j&3)===0||G0(X,j)||(G=!0,g4(X,j));X=X.next}}while(G);wq=!1}}function v4(){Oq(),H5()}function H5(){fG=bq=fq=!1;var Z=0;M8!==0&&XL()&&(Z=M8);for(var J=FJ(),G=null,X=SG;X!==null;){var q=X.next,j=F5(X,J);if(j===0)X.next=null,G===null?SG=q:G.next=q,q===null&&(b5=G);else if(G=X,Z!==0||(j&3)!==0)fG=!0;X=q}zJ!==b7&&zJ!==Qz||g9(Z,!1),M8!==0&&(M8=0)}function F5(Z,J){for(var{suspendedLanes:G,pingedLanes:X,expirationTimes:q}=Z,j=Z.pendingLanes&-62914561;0<j;){var O=31-GQ(j),V=1<<O,P=q[O];if(P===-1){if((V&G)===0||(V&X)!==0)q[O]=z0(V,J)}else P<=J&&(Z.expiredLanes|=V);j&=~V}if(J=OZ,G=f0,G=a(Z,Z===J?G:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==O8),X=Z.callbackNode,G===0||Z===J&&(UZ===E8||UZ===T8)||Z.cancelPendingCommit!==null)return X!==null&&O6(X),Z.callbackNode=null,Z.callbackPriority=0;if((G&3)===0||G0(Z,G)){if(J=G&-G,J!==Z.callbackPriority||w.actQueue!==null&&X!==vq)O6(X);else return J;switch(GZ(G)){case 2:case 8:G=W2;break;case 32:G=G1;break;case 268435456:G=Y2;break;default:G=G1}return X=y4.bind(null,Z),w.actQueue!==null?(w.actQueue.push(X),G=vq):G=LG(G,X),Z.callbackPriority=J,Z.callbackNode=G,J}return X!==null&&O6(X),Z.callbackPriority=2,Z.callbackNode=null,2}function y4(Z,J){if(xG=CG=!1,Oq(),zJ!==b7&&zJ!==Qz)return Z.callbackNode=null,Z.callbackPriority=0,null;var G=Z.callbackNode;if(R9===Jz&&(R9=X3),L5()&&Z.callbackNode!==G)return null;var X=f0;if(X=a(Z,Z===OZ?X:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==O8),X===0)return null;return HB(Z,X,J),F5(Z,FJ()),Z.callbackNode!=null&&Z.callbackNode===G?y4.bind(null,Z):null}function g4(Z,J){if(L5())return null;CG=xG,xG=!1,HB(Z,J,!0)}function O6(Z){Z!==vq&&Z!==null&&$P(Z)}function q7(){w.actQueue!==null&&w.actQueue.push(function(){return H5(),null}),YL?VL(function(){(c0&(MJ|Q9))!==NJ?LG(Lq,v4):H5()}):LG(Lq,v4)}function iQ(){if(M8===0){var Z=L8;Z===0&&(Z=AG,AG<<=1,(AG&261888)===0&&(AG=256)),M8=Z}return M8}function xK(Z,J){if(B1===null){var G=B1=[];yq=0,L8=iQ(),w5={status:"pending",value:void 0,then:function(X){G.push(X)}}}return yq++,J.then(B5,B5),J}function B5(){if(--yq===0&&(-1<rQ||(T6=-1.1),B1!==null)){w5!==null&&(w5.status="fulfilled");var Z=B1;B1=null,L8=0,w5=null;for(var J=0;J<Z.length;J++)(0,Z[J])()}}function m4(Z,J){var G=[],X={status:"pending",value:null,reason:null,then:function(q){G.push(q)}};return Z.then(function(){X.status="fulfilled",X.value=J;for(var q=0;q<G.length;q++)(0,G[q])(J)},function(q){X.status="rejected",X.reason=q;for(q=0;q<G.length;q++)(0,G[q])(void 0)}),X}function W6(){var Z=P8.current;return Z!==null?Z:OZ.pooledCache}function J8(Z,J){J===null?i(P8,P8.current,Z):i(P8,J.pool,Z)}function j7(){var Z=W6();return Z===null?null:{parent:N6?uZ._currentValue:uZ._currentValue2,pool:Z}}function H7(Z,J){if(zQ(Z,J))return!0;if(typeof Z!=="object"||Z===null||typeof J!=="object"||J===null)return!1;var G=Object.keys(Z),X=Object.keys(J);if(G.length!==X.length)return!1;for(X=0;X<G.length;X++){var q=G[X];if(!Pq.call(J,q)||!zQ(Z[q],J[q]))return!1}return!0}function uJ(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function SK(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function Q8(Z,J,G){w.actQueue!==null&&(w.didUsePromise=!0);var X=Z.thenables;if(G=X[G],G===void 0?X.push(J):G!==J&&(Z.didWarnAboutUncachedPromise||(Z.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),J.then(Z8,Z8),J=G),J._debugInfo===void 0){Z=performance.now(),X=J.displayName;var q={name:typeof X==="string"?X:"Promise",start:Z,end:Z,value:J};J._debugInfo=[{awaited:q}],J.status!=="fulfilled"&&J.status!=="rejected"&&(Z=function(){q.end=performance.now()},J.then(Z,Z))}switch(J.status){case"fulfilled":return J.value;case"rejected":throw Z=J.reason,fK(Z),Z;default:if(typeof J.status==="string")J.then(Z8,Z8);else{if(Z=OZ,Z!==null&&100<Z.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");Z=J,Z.status="pending",Z.then(function(j){if(J.status==="pending"){var O=J;O.status="fulfilled",O.value=j}},function(j){if(J.status==="pending"){var O=J;O.status="rejected",O.reason=j}})}switch(J.status){case"fulfilled":return J.value;case"rejected":throw Z=J.reason,fK(Z),Z}throw $8=J,N1=!0,v5}}function CQ(Z){try{return mP(Z)}catch(J){if(J!==null&&typeof J==="object"&&typeof J.then==="function")throw $8=J,N1=!0,v5;throw J}}function u4(){if($8===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var Z=$8;return $8=null,N1=!1,Z}function fK(Z){if(Z===v5||Z===wG)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function QZ(Z){var J=S0;return Z!=null&&(S0=J===null?Z:J.concat(Z)),J}function JQ(){var Z=S0;if(Z!=null){for(var J=Z.length-1;0<=J;J--)if(Z[J].name!=null){var G=Z[J].debugTask;if(G!=null)return G}}return null}function jJ(Z,J,G){for(var X=Object.keys(Z.props),q=0;q<X.length;q++){var j=X[q];if(j!=="children"&&j!=="key"){J===null&&(J=WG(Z,G.mode,0),J._debugInfo=S0,J.return=G),J0(J,function(O){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O)},j);break}}}function xQ(Z){var J=M1;return M1+=1,y5===null&&(y5=uJ()),Q8(y5,Z,J)}function F7(Z,J){J=J.props.ref,Z.ref=J!==void 0?J:null}function bH(Z,J){if(J.$$typeof===lM)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
70
- - Multiple copies of the "react" package is used.
71
- - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
72
- - A compiler tries to "inline" JSX instead of using the runtime.`);throw Z=Object.prototype.toString.call(J),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(J).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}function bK(Z,J){var G=JQ();G!==null?G.run(bH.bind(null,Z,J)):bH(Z,J)}function wH(Z,J){var G=S(Z)||"Component";i2[G]||(i2[G]=!0,J=J.displayName||J.name||"Component",Z.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
73
- root.render(%s)`,J,J,J):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
74
- <%s>{%s}</%s>`,J,J,G,J,G))}function wK(Z,J){var G=JQ();G!==null?G.run(wH.bind(null,Z,J)):wH(Z,J)}function vH(Z,J){var G=S(Z)||"Component";n2[G]||(n2[G]=!0,J=String(J),Z.tag===3?console.error(`Symbols are not valid as a React child.
75
- root.render(%s)`,J):console.error(`Symbols are not valid as a React child.
76
- <%s>%s</%s>`,G,J,G))}function vK(Z,J){var G=JQ();G!==null?G.run(vH.bind(null,Z,J)):vH(Z,J)}function yH(Z){function J($,R){if(Z){var x=$.deletions;x===null?($.deletions=[R],$.flags|=16):x.push(R)}}function G($,R){if(!Z)return null;for(;R!==null;)J($,R),R=R.sibling;return null}function X($){for(var R=new Map;$!==null;)$.key!==null?R.set($.key,$):R.set($.index,$),$=$.sibling;return R}function q($,R){return $=V6($,R),$.index=0,$.sibling=null,$}function j($,R,x){if($.index=x,!Z)return $.flags|=1048576,R;if(x=$.alternate,x!==null)return x=x.index,x<R?($.flags|=67108866,R):x;return $.flags|=67108866,R}function O($){return Z&&$.alternate===null&&($.flags|=67108866),$}function V($,R,x,p){if(R===null||R.tag!==6)return R=Gq(x,$.mode,p),R.return=$,R._debugOwner=$,R._debugTask=$._debugTask,R._debugInfo=S0,R;return R=q(R,x),R.return=$,R._debugInfo=S0,R}function P($,R,x,p){var K0=x.type;if(K0===P5)return R=b($,R,x.props.children,p,x.key),jJ(x,R,$),R;if(R!==null&&(R.elementType===K0||CB(R,x)||typeof K0==="object"&&K0!==null&&K0.$$typeof===bQ&&CQ(K0)===R.type))return R=q(R,x.props),F7(R,x),R.return=$,R._debugOwner=x._owner,R._debugInfo=S0,R;return R=WG(x,$.mode,p),F7(R,x),R.return=$,R._debugInfo=S0,R}function k($,R,x,p){if(R===null||R.tag!==4||R.stateNode.containerInfo!==x.containerInfo||R.stateNode.implementation!==x.implementation)return R=zq(x,$.mode,p),R.return=$,R._debugInfo=S0,R;return R=q(R,x.children||[]),R.return=$,R._debugInfo=S0,R}function b($,R,x,p,K0){if(R===null||R.tag!==7)return R=F8(x,$.mode,p,K0),R.return=$,R._debugOwner=$,R._debugTask=$._debugTask,R._debugInfo=S0,R;return R=q(R,x),R.return=$,R._debugInfo=S0,R}function v($,R,x){if(typeof R==="string"&&R!==""||typeof R==="number"||typeof R==="bigint")return R=Gq(""+R,$.mode,x),R.return=$,R._debugOwner=$,R._debugTask=$._debugTask,R._debugInfo=S0,R;if(typeof R==="object"&&R!==null){switch(R.$$typeof){case D6:return x=WG(R,$.mode,x),F7(x,R),x.return=$,$=QZ(R._debugInfo),x._debugInfo=S0,S0=$,x;case B8:return R=zq(R,$.mode,x),R.return=$,R._debugInfo=S0,R;case bQ:var p=QZ(R._debugInfo);return R=CQ(R),$=v($,R,x),S0=p,$}if(EJ(R)||s(R))return x=F8(R,$.mode,x,null),x.return=$,x._debugOwner=$,x._debugTask=$._debugTask,$=QZ(R._debugInfo),x._debugInfo=S0,S0=$,x;if(typeof R.then==="function")return p=QZ(R._debugInfo),$=v($,xQ(R),x),S0=p,$;if(R.$$typeof===A6)return v($,rJ($,R),x);bK($,R)}return typeof R==="function"&&wK($,R),typeof R==="symbol"&&vK($,R),null}function c($,R,x,p){var K0=R!==null?R.key:null;if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return K0!==null?null:V($,R,""+x,p);if(typeof x==="object"&&x!==null){switch(x.$$typeof){case D6:return x.key===K0?(K0=QZ(x._debugInfo),$=P($,R,x,p),S0=K0,$):null;case B8:return x.key===K0?k($,R,x,p):null;case bQ:return K0=QZ(x._debugInfo),x=CQ(x),$=c($,R,x,p),S0=K0,$}if(EJ(x)||s(x)){if(K0!==null)return null;return K0=QZ(x._debugInfo),$=b($,R,x,p,null),S0=K0,$}if(typeof x.then==="function")return K0=QZ(x._debugInfo),$=c($,R,xQ(x),p),S0=K0,$;if(x.$$typeof===A6)return c($,R,rJ($,x),p);bK($,x)}return typeof x==="function"&&wK($,x),typeof x==="symbol"&&vK($,x),null}function q0($,R,x,p,K0){if(typeof p==="string"&&p!==""||typeof p==="number"||typeof p==="bigint")return $=$.get(x)||null,V(R,$,""+p,K0);if(typeof p==="object"&&p!==null){switch(p.$$typeof){case D6:return x=$.get(p.key===null?x:p.key)||null,$=QZ(p._debugInfo),R=P(R,x,p,K0),S0=$,R;case B8:return $=$.get(p.key===null?x:p.key)||null,k(R,$,p,K0);case bQ:var s0=QZ(p._debugInfo);return p=CQ(p),R=q0($,R,x,p,K0),S0=s0,R}if(EJ(p)||s(p))return x=$.get(x)||null,$=QZ(p._debugInfo),R=b(R,x,p,K0,null),S0=$,R;if(typeof p.then==="function")return s0=QZ(p._debugInfo),R=q0($,R,x,xQ(p),K0),S0=s0,R;if(p.$$typeof===A6)return q0($,R,x,rJ(R,p),K0);bK(R,p)}return typeof p==="function"&&wK(R,p),typeof p==="symbol"&&vK(R,p),null}function L0($,R,x,p){if(typeof x!=="object"||x===null)return p;switch(x.$$typeof){case D6:case B8:_($,R,x);var K0=x.key;if(typeof K0!=="string")break;if(p===null){p=new Set,p.add(K0);break}if(!p.has(K0)){p.add(K0);break}J0(R,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",K0)});break;case bQ:x=CQ(x),L0($,R,x,p)}return p}function HZ($,R,x,p){for(var K0=null,s0=null,M0=null,I0=R,T0=R=0,MZ=null;I0!==null&&T0<x.length;T0++){I0.index>T0?(MZ=I0,I0=null):MZ=I0.sibling;var sZ=c($,I0,x[T0],p);if(sZ===null){I0===null&&(I0=MZ);break}K0=L0($,sZ,x[T0],K0),Z&&I0&&sZ.alternate===null&&J($,I0),R=j(sZ,R,T0),M0===null?s0=sZ:M0.sibling=sZ,M0=sZ,I0=MZ}if(T0===x.length)return G($,I0),p0&&KZ($,T0),s0;if(I0===null){for(;T0<x.length;T0++)I0=v($,x[T0],p),I0!==null&&(K0=L0($,I0,x[T0],K0),R=j(I0,R,T0),M0===null?s0=I0:M0.sibling=I0,M0=I0);return p0&&KZ($,T0),s0}for(I0=X(I0);T0<x.length;T0++)MZ=q0(I0,$,T0,x[T0],p),MZ!==null&&(K0=L0($,MZ,x[T0],K0),Z&&MZ.alternate!==null&&I0.delete(MZ.key===null?T0:MZ.key),R=j(MZ,R,T0),M0===null?s0=MZ:M0.sibling=MZ,M0=MZ);return Z&&I0.forEach(function(v6){return J($,v6)}),p0&&KZ($,T0),s0}function t5($,R,x,p){if(x==null)throw Error("An iterable object provided no iterator.");for(var K0=null,s0=null,M0=R,I0=R=0,T0=null,MZ=null,sZ=x.next();M0!==null&&!sZ.done;I0++,sZ=x.next()){M0.index>I0?(T0=M0,M0=null):T0=M0.sibling;var v6=c($,M0,sZ.value,p);if(v6===null){M0===null&&(M0=T0);break}MZ=L0($,v6,sZ.value,MZ),Z&&M0&&v6.alternate===null&&J($,M0),R=j(v6,R,I0),s0===null?K0=v6:s0.sibling=v6,s0=v6,M0=T0}if(sZ.done)return G($,M0),p0&&KZ($,I0),K0;if(M0===null){for(;!sZ.done;I0++,sZ=x.next())M0=v($,sZ.value,p),M0!==null&&(MZ=L0($,M0,sZ.value,MZ),R=j(M0,R,I0),s0===null?K0=M0:s0.sibling=M0,s0=M0);return p0&&KZ($,I0),K0}for(M0=X(M0);!sZ.done;I0++,sZ=x.next())T0=q0(M0,$,I0,sZ.value,p),T0!==null&&(MZ=L0($,T0,sZ.value,MZ),Z&&T0.alternate!==null&&M0.delete(T0.key===null?I0:T0.key),R=j(T0,R,I0),s0===null?K0=T0:s0.sibling=T0,s0=T0);return Z&&M0.forEach(function(iP){return J($,iP)}),p0&&KZ($,I0),K0}function I9($,R,x,p){if(typeof x==="object"&&x!==null&&x.type===P5&&x.key===null&&(jJ(x,null,$),x=x.props.children),typeof x==="object"&&x!==null){switch(x.$$typeof){case D6:var K0=QZ(x._debugInfo);Z:{for(var s0=x.key;R!==null;){if(R.key===s0){if(s0=x.type,s0===P5){if(R.tag===7){G($,R.sibling),p=q(R,x.props.children),p.return=$,p._debugOwner=x._owner,p._debugInfo=S0,jJ(x,p,$),$=p;break Z}}else if(R.elementType===s0||CB(R,x)||typeof s0==="object"&&s0!==null&&s0.$$typeof===bQ&&CQ(s0)===R.type){G($,R.sibling),p=q(R,x.props),F7(p,x),p.return=$,p._debugOwner=x._owner,p._debugInfo=S0,$=p;break Z}G($,R);break}else J($,R);R=R.sibling}x.type===P5?(p=F8(x.props.children,$.mode,p,x.key),p.return=$,p._debugOwner=$,p._debugTask=$._debugTask,p._debugInfo=S0,jJ(x,p,$),$=p):(p=WG(x,$.mode,p),F7(p,x),p.return=$,p._debugInfo=S0,$=p)}return $=O($),S0=K0,$;case B8:Z:{K0=x;for(x=K0.key;R!==null;){if(R.key===x)if(R.tag===4&&R.stateNode.containerInfo===K0.containerInfo&&R.stateNode.implementation===K0.implementation){G($,R.sibling),p=q(R,K0.children||[]),p.return=$,$=p;break Z}else{G($,R);break}else J($,R);R=R.sibling}p=zq(K0,$.mode,p),p.return=$,$=p}return O($);case bQ:return K0=QZ(x._debugInfo),x=CQ(x),$=I9($,R,x,p),S0=K0,$}if(EJ(x))return K0=QZ(x._debugInfo),$=HZ($,R,x,p),S0=K0,$;if(s(x)){if(K0=QZ(x._debugInfo),s0=s(x),typeof s0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var M0=s0.call(x);if(M0===x){if($.tag!==0||Object.prototype.toString.call($.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(M0)!=="[object Generator]")l2||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),l2=!0}else x.entries!==s0||hq||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),hq=!0);return $=t5($,R,M0,p),S0=K0,$}if(typeof x.then==="function")return K0=QZ(x._debugInfo),$=I9($,R,xQ(x),p),S0=K0,$;if(x.$$typeof===A6)return I9($,R,rJ($,x),p);bK($,x)}if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return K0=""+x,R!==null&&R.tag===6?(G($,R.sibling),p=q(R,K0),p.return=$,$=p):(G($,R),p=Gq(K0,$.mode,p),p.return=$,p._debugOwner=$,p._debugTask=$._debugTask,p._debugInfo=S0,$=p),O($);return typeof x==="function"&&wK($,x),typeof x==="symbol"&&vK($,x),G($,R)}return function($,R,x,p){var K0=S0;S0=null;try{M1=0;var s0=I9($,R,x,p);return y5=null,s0}catch(MZ){if(MZ===v5||MZ===wG)throw MZ;var M0=Y(29,MZ,null,$.mode);M0.lanes=p,M0.return=$;var I0=M0._debugInfo=S0;if(M0._debugOwner=$._debugOwner,M0._debugTask=$._debugTask,I0!=null){for(var T0=I0.length-1;0<=T0;T0--)if(typeof I0[T0].stack==="string"){M0._debugOwner=I0[T0],M0._debugTask=I0[T0].debugTask;break}}return M0}finally{S0=K0}}}function gH(Z,J){var G=EJ(Z);return Z=!G&&typeof s(Z)==="function",G||Z?(G=G?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",G,J,G),!1):!0}function yK(){for(var Z=g5,J=pq=g5=0;J<Z;){var G=tQ[J];tQ[J++]=null;var X=tQ[J];tQ[J++]=null;var q=tQ[J];tQ[J++]=null;var j=tQ[J];if(tQ[J++]=null,X!==null&&q!==null){var O=X.pending;O===null?q.next=q:(q.next=O.next,O.next=q),X.pending=q}j!==0&&mH(G,q,j)}}function gK(Z,J,G,X){tQ[g5++]=Z,tQ[g5++]=J,tQ[g5++]=G,tQ[g5++]=X,pq|=X,Z.lanes|=X,Z=Z.alternate,Z!==null&&(Z.lanes|=X)}function dX(Z,J,G,X){return gK(Z,J,G,X),mK(Z)}function hJ(Z,J){return gK(Z,null,null,J),mK(Z)}function mH(Z,J,G){Z.lanes|=G;var X=Z.alternate;X!==null&&(X.lanes|=G);for(var q=!1,j=Z.return;j!==null;)j.childLanes|=G,X=j.alternate,X!==null&&(X.childLanes|=G),j.tag===22&&(Z=j.stateNode,Z===null||Z._visibility&L1||(q=!0)),Z=j,j=j.return;return Z.tag===3?(j=Z.stateNode,q&&J!==null&&(q=31-GQ(G),Z=j.hiddenUpdates,X=Z[q],X===null?Z[q]=[J]:X.push(J),J.lane=G|536870912),j):null}function mK(Z){if(f1>dP)throw x8=f1=0,b1=H3=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");x8>lP&&(x8=0,b1=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),Z.alternate===null&&(Z.flags&4098)!==0&&TB(Z);for(var J=Z,G=J.return;G!==null;)J.alternate===null&&(J.flags&4098)!==0&&TB(Z),J=G,G=J.return;return J.tag===3?J.stateNode:null}function lX(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aX(Z,J){Z=Z.updateQueue,J.updateQueue===Z&&(J.updateQueue={baseState:Z.baseState,firstBaseUpdate:Z.firstBaseUpdate,lastBaseUpdate:Z.lastBaseUpdate,shared:Z.shared,callbacks:null})}function B7(Z){return{lane:Z,tag:o2,payload:null,callback:null,next:null}}function O7(Z,J,G){var X=Z.updateQueue;if(X===null)return null;if(X=X.shared,dq===X&&!e2){var q=S(Z);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
77
-
78
- Please update the following component: %s`,q),e2=!0}if((c0&MJ)!==NJ)return q=X.pending,q===null?J.next=J:(J.next=q.next,q.next=J),X.pending=J,J=mK(Z),mH(Z,null,G),J;return gK(Z,X,J,G),mK(Z)}function h4(Z,J,G){if(J=J.updateQueue,J!==null&&(J=J.shared,(G&4194048)!==0)){var X=J.lanes;X&=Z.pendingLanes,G|=X,J.lanes=G,o0(Z,G)}}function uK(Z,J){var{updateQueue:G,alternate:X}=Z;if(X!==null&&(X=X.updateQueue,G===X)){var q=null,j=null;if(G=G.firstBaseUpdate,G!==null){do{var O={lane:G.lane,tag:G.tag,payload:G.payload,callback:null,next:null};j===null?q=j=O:j=j.next=O,G=G.next}while(G!==null);j===null?q=j=J:j=j.next=J}else q=j=J;G={baseState:X.baseState,firstBaseUpdate:q,lastBaseUpdate:j,shared:X.shared,callbacks:X.callbacks},Z.updateQueue=G;return}Z=G.lastBaseUpdate,Z===null?G.firstBaseUpdate=J:Z.next=J,G.lastBaseUpdate=J}function p4(){if(lq){var Z=w5;if(Z!==null)throw Z}}function c4(Z,J,G,X){lq=!1;var q=Z.updateQueue;E7=!1,dq=q.shared;var{firstBaseUpdate:j,lastBaseUpdate:O}=q,V=q.shared.pending;if(V!==null){q.shared.pending=null;var P=V,k=P.next;P.next=null,O===null?j=k:O.next=k,O=P;var b=Z.alternate;b!==null&&(b=b.updateQueue,V=b.lastBaseUpdate,V!==O&&(V===null?b.firstBaseUpdate=k:V.next=k,b.lastBaseUpdate=P))}if(j!==null){var v=q.baseState;O=0,b=k=P=null,V=j;do{var c=V.lane&-536870913,q0=c!==V.lane;if(q0?(f0&c)===c:(X&c)===c){c!==0&&c===L8&&(lq=!0),b!==null&&(b=b.next={lane:0,tag:V.tag,payload:V.payload,callback:null,next:null});Z:{c=Z;var L0=V,HZ=J,t5=G;switch(L0.tag){case r2:if(L0=L0.payload,typeof L0==="function"){x5=!0;var I9=L0.call(t5,v,HZ);if(c.mode&8){y0(!0);try{L0.call(t5,v,HZ)}finally{y0(!1)}}x5=!1,v=I9;break Z}v=L0;break Z;case cq:c.flags=c.flags&-65537|128;case o2:if(I9=L0.payload,typeof I9==="function"){if(x5=!0,L0=I9.call(t5,v,HZ),c.mode&8){y0(!0);try{I9.call(t5,v,HZ)}finally{y0(!1)}}x5=!1}else L0=I9;if(L0===null||L0===void 0)break Z;v=kJ({},v,L0);break Z;case t2:E7=!0}}c=V.callback,c!==null&&(Z.flags|=64,q0&&(Z.flags|=8192),q0=q.callbacks,q0===null?q.callbacks=[c]:q0.push(c))}else q0={lane:c,tag:V.tag,payload:V.payload,callback:V.callback,next:null},b===null?(k=b=q0,P=v):b=b.next=q0,O|=c;if(V=V.next,V===null)if(V=q.shared.pending,V===null)break;else q0=V,V=q0.next,q0.next=null,q.lastBaseUpdate=q0,q.shared.pending=null}while(1);b===null&&(P=v),q.baseState=P,q.firstBaseUpdate=k,q.lastBaseUpdate=b,j===null&&(q.shared.lanes=0),x7|=O,Z.lanes=O,Z.memoizedState=v}dq=null}function uH(Z,J){if(typeof Z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+Z);Z.call(J)}function BM(Z,J){var G=Z.shared.hiddenCallbacks;if(G!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<G.length;Z++)uH(G[Z],J)}function hH(Z,J){var G=Z.callbacks;if(G!==null)for(Z.callbacks=null,Z=0;Z<G.length;Z++)uH(G[Z],J)}function pH(Z,J){var G=o9;i(yG,G,Z),i(m5,J,Z),o9=G|J.baseLanes}function iX(Z){i(yG,o9,Z),i(m5,m5.current,Z)}function nX(Z){o9=yG.current,d(m5,Z),d(yG,Z)}function W7(Z){var J=Z.alternate;i(nZ,nZ.current&u5,Z),i(vQ,Z,Z),eQ===null&&(J===null||m5.current!==null?eQ=Z:J.memoizedState!==null&&(eQ=Z))}function sX(Z){i(nZ,nZ.current,Z),i(vQ,Z,Z),eQ===null&&(eQ=Z)}function cH(Z){Z.tag===22?(i(nZ,nZ.current,Z),i(vQ,Z,Z),eQ===null&&(eQ=Z)):Y7(Z)}function Y7(Z){i(nZ,nZ.current,Z),i(vQ,vQ.current,Z)}function SQ(Z){d(vQ,Z),eQ===Z&&(eQ=null),d(nZ,Z)}function hK(Z){for(var J=Z;J!==null;){if(J.tag===13){var G=J.memoizedState;if(G!==null&&(G=G.dehydrated,G===null||Yq(G)||Vq(G)))return J}else if(J.tag===19&&(J.memoizedProps.revealOrder==="forwards"||J.memoizedProps.revealOrder==="backwards"||J.memoizedProps.revealOrder==="unstable_legacy-backwards"||J.memoizedProps.revealOrder==="together")){if((J.flags&128)!==0)return J}else if(J.child!==null){J.child.return=J,J=J.child;continue}if(J===Z)break;for(;J.sibling===null;){if(J.return===null||J.return===Z)return null;J=J.return}J.sibling.return=J.return,J=J.sibling}return null}function m0(){var Z=f;J9===null?J9=[Z]:J9.push(Z)}function n(){var Z=f;if(J9!==null&&(f6++,J9[f6]!==Z)){var J=S(N0);if(!ZO.has(J)&&(ZO.add(J),J9!==null)){for(var G="",X=0;X<=f6;X++){var q=J9[X],j=X===f6?Z:q;for(q=X+1+". "+q;30>q.length;)q+=" ";q+=j+`
79
- `,G+=q}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
80
-
81
- Previous render Next render
82
- ------------------------------------------------------
83
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
84
- `,J,G)}}}function O5(Z){Z===void 0||Z===null||EJ(Z)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",f,typeof Z)}function pK(){var Z=S(N0);QO.has(Z)||(QO.add(Z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",Z))}function aZ(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
85
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
86
- 2. You might be breaking the Rules of Hooks
87
- 3. You might have more than one copy of React in the same app
88
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function oX(Z,J){if($1)return!1;if(J===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",f),!1;Z.length!==J.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
89
-
90
- Previous: %s
91
- Incoming: %s`,f,"["+J.join(", ")+"]","["+Z.join(", ")+"]");for(var G=0;G<J.length&&G<Z.length;G++)if(!zQ(Z[G],J[G]))return!1;return!0}function rX(Z,J,G,X,q,j){if(x6=j,N0=J,J9=Z!==null?Z._debugHookTypes:null,f6=-1,$1=Z!==null&&Z.type!==J.type,Object.prototype.toString.call(G)==="[object AsyncFunction]"||Object.prototype.toString.call(G)==="[object AsyncGeneratorFunction]")j=S(N0),aq.has(j)||(aq.add(j),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",j===null?"An unknown Component":"<"+j+">"));J.memoizedState=null,J.updateQueue=null,J.lanes=0,w.H=Z!==null&&Z.memoizedState!==null?nq:J9!==null?KO:iq,I8=j=(J.mode&8)!==A0;var O=gq(G,X,q);if(I8=!1,p5&&(O=tX(J,G,X,q)),j){y0(!0);try{O=tX(J,G,X,q)}finally{y0(!1)}}return dH(Z,J),O}function dH(Z,J){J._debugHookTypes=J9,J.dependencies===null?S6!==null&&(J.dependencies={lanes:0,firstContext:null,_debugThenableState:S6}):J.dependencies._debugThenableState=S6,w.H=R1;var G=BZ!==null&&BZ.next!==null;if(x6=0,J9=f=JJ=BZ=N0=null,f6=-1,Z!==null&&(Z.flags&65011712)!==(J.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),mG=!1,_1=0,S6=null,G)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");Z===null||QJ||(Z=Z.dependencies,Z!==null&&K7(Z)&&(QJ=!0)),N1?(N1=!1,Z=!0):Z=!1,Z&&(J=S(J)||"Unknown",JO.has(J)||aq.has(J)||(JO.add(J),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function tX(Z,J,G,X){N0=Z;var q=0;do{if(p5&&(S6=null),_1=0,p5=!1,q>=hP)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(q+=1,$1=!1,JJ=BZ=null,Z.updateQueue!=null){var j=Z.updateQueue;j.lastEffect=null,j.events=null,j.stores=null,j.memoCache!=null&&(j.memoCache.index=0)}f6=-1,w.H=GO,j=gq(J,G,X)}while(p5);return j}function OM(){var Z=w.H,J=Z.useState()[0];return J=typeof J.then==="function"?d4(J):J,Z=Z.useState()[0],(BZ!==null?BZ.memoizedState:null)!==Z&&(N0.flags|=1024),J}function eX(){var Z=uG!==0;return uG=0,Z}function ZU(Z,J,G){J.updateQueue=Z.updateQueue,J.flags=(J.mode&16)!==A0?J.flags&-402655237:J.flags&-2053,Z.lanes&=~G}function JU(Z){if(mG){for(Z=Z.memoizedState;Z!==null;){var J=Z.queue;J!==null&&(J.pending=null),Z=Z.next}mG=!1}x6=0,J9=JJ=BZ=N0=null,f6=-1,f=null,p5=!1,_1=uG=0,S6=null}function QQ(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return JJ===null?N0.memoizedState=JJ=Z:JJ=JJ.next=Z,JJ}function XZ(){if(BZ===null){var Z=N0.alternate;Z=Z!==null?Z.memoizedState:null}else Z=BZ.next;var J=JJ===null?N0.memoizedState:JJ.next;if(J!==null)JJ=J,BZ=Z;else{if(Z===null){if(N0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}BZ=Z,Z={memoizedState:BZ.memoizedState,baseState:BZ.baseState,baseQueue:BZ.baseQueue,queue:BZ.queue,next:null},JJ===null?N0.memoizedState=JJ=Z:JJ=JJ.next=Z}return JJ}function cK(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function d4(Z){var J=_1;return _1+=1,S6===null&&(S6=uJ()),Z=Q8(S6,Z,J),J=N0,(JJ===null?J.memoizedState:JJ.next)===null&&(J=J.alternate,w.H=J!==null&&J.memoizedState!==null?nq:iq),Z}function V7(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return d4(Z);if(Z.$$typeof===A6)return jZ(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function K8(Z){var J=null,G=N0.updateQueue;if(G!==null&&(J=G.memoCache),J==null){var X=N0.alternate;X!==null&&(X=X.updateQueue,X!==null&&(X=X.memoCache,X!=null&&(J={data:X.data.map(function(q){return q.slice()}),index:0})))}if(J==null&&(J={data:[],index:0}),G===null&&(G=cK(),N0.updateQueue=G),G.memoCache=J,G=J.data[J.index],G===void 0||$1)for(G=J.data[J.index]=Array(Z),X=0;X<Z;X++)G[X]=aM;else G.length!==Z&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",G.length,Z);return J.index++,G}function V9(Z,J){return typeof J==="function"?J(Z):J}function QU(Z,J,G){var X=QQ();if(G!==void 0){var q=G(J);if(I8){y0(!0);try{G(J)}finally{y0(!1)}}}else q=J;return X.memoizedState=X.baseState=q,Z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Z,lastRenderedState:q},X.queue=Z,Z=Z.dispatch=AM.bind(null,N0,Z),[X.memoizedState,Z]}function W5(Z){var J=XZ();return KU(J,BZ,Z)}function KU(Z,J,G){var X=Z.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=G;var q=Z.baseQueue,j=X.pending;if(j!==null){if(q!==null){var O=q.next;q.next=j.next,j.next=O}J.baseQueue!==q&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),J.baseQueue=q=j,X.pending=null}if(j=Z.baseState,q===null)Z.memoizedState=j;else{J=q.next;var V=O=null,P=null,k=J,b=!1;do{var v=k.lane&-536870913;if(v!==k.lane?(f0&v)===v:(x6&v)===v){var c=k.revertLane;if(c===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null}),v===L8&&(b=!0);else if((x6&c)===c){k=k.next,c===L8&&(b=!0);continue}else v={lane:0,revertLane:k.revertLane,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},P===null?(V=P=v,O=j):P=P.next=v,N0.lanes|=c,x7|=c;v=k.action,I8&&G(j,v),j=k.hasEagerState?k.eagerState:G(j,v)}else c={lane:v,revertLane:k.revertLane,gesture:k.gesture,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},P===null?(V=P=c,O=j):P=P.next=c,N0.lanes|=v,x7|=v;k=k.next}while(k!==null&&k!==J);if(P===null?O=j:P.next=V,!zQ(j,Z.memoizedState)&&(QJ=!0,b&&(G=w5,G!==null)))throw G;Z.memoizedState=j,Z.baseState=O,Z.baseQueue=P,X.lastRenderedState=j}return q===null&&(X.lanes=0),[Z.memoizedState,X.dispatch]}function l4(Z){var J=XZ(),G=J.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=Z;var{dispatch:X,pending:q}=G,j=J.memoizedState;if(q!==null){G.pending=null;var O=q=q.next;do j=Z(j,O.action),O=O.next;while(O!==q);zQ(j,J.memoizedState)||(QJ=!0),J.memoizedState=j,J.baseQueue===null&&(J.baseState=j),G.lastRenderedState=j}return[j,X]}function GU(Z,J,G){var X=N0,q=QQ();if(p0){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var j=G();h5||j===G()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),h5=!0)}else{if(j=J(),h5||(G=J(),zQ(j,G)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),h5=!0)),OZ===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(f0&127)!==0||lH(X,J,j)}return q.memoizedState=j,G={value:j,getSnapshot:J},q.queue=G,iK(iH.bind(null,X,G,Z),[Z]),X.flags|=2048,V5(Z9|qQ,{destroy:void 0},aH.bind(null,X,G,j,J),null),j}function dK(Z,J,G){var X=N0,q=XZ(),j=p0;if(j){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");G=G()}else if(G=J(),!h5){var O=J();zQ(G,O)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),h5=!0)}if(O=!zQ((BZ||q).memoizedState,G))q.memoizedState=G,QJ=!0;q=q.queue;var V=iH.bind(null,X,q,Z);if(AQ(2048,qQ,V,[Z]),q.getSnapshot!==J||O||JJ!==null&&JJ.memoizedState.tag&Z9){if(X.flags|=2048,V5(Z9|qQ,{destroy:void 0},aH.bind(null,X,q,G,J),null),OZ===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");j||(x6&127)!==0||lH(X,J,G)}return G}function lH(Z,J,G){Z.flags|=16384,Z={getSnapshot:J,value:G},J=N0.updateQueue,J===null?(J=cK(),N0.updateQueue=J,J.stores=[Z]):(G=J.stores,G===null?J.stores=[Z]:G.push(Z))}function aH(Z,J,G,X){J.value=G,J.getSnapshot=X,nH(J)&&sH(Z)}function iH(Z,J,G){return G(function(){nH(J)&&(tJ(2,"updateSyncExternalStore()",Z),sH(Z))})}function nH(Z){var J=Z.getSnapshot;Z=Z.value;try{var G=J();return!zQ(Z,G)}catch(X){return!0}}function sH(Z){var J=hJ(Z,2);J!==null&&mZ(J,Z,2)}function zU(Z){var J=QQ();if(typeof Z==="function"){var G=Z;if(Z=G(),I8){y0(!0);try{G()}finally{y0(!1)}}}return J.memoizedState=J.baseState=Z,J.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:V9,lastRenderedState:Z},J}function XU(Z){Z=zU(Z);var J=Z.queue,G=OF.bind(null,N0,J);return J.dispatch=G,[Z.memoizedState,G]}function UU(Z){var J=QQ();J.memoizedState=J.baseState=Z;var G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return J.queue=G,J=MU.bind(null,N0,!0,G),G.dispatch=J,[Z,J]}function oH(Z,J){var G=XZ();return rH(G,BZ,Z,J)}function rH(Z,J,G,X){return Z.baseState=G,KU(Z,BZ,typeof X==="function"?X:V9)}function tH(Z,J){var G=XZ();if(BZ!==null)return rH(G,BZ,Z,J);return G.baseState=Z,[Z,G.queue.dispatch]}function WM(Z,J,G,X,q){if(eK(Z))throw Error("Cannot update form state while rendering.");if(Z=J.action,Z!==null){var j={payload:q,action:Z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(O){j.listeners.push(O)}};w.T!==null?G(!0):j.isTransition=!1,X(j),G=J.pending,G===null?(j.next=J.pending=j,eH(J,j)):(j.next=G.next,J.pending=G.next=j)}}function eH(Z,J){var{action:G,payload:X}=J,q=Z.state;if(J.isTransition){var j=w.T,O={};O._updatedFibers=new Set,w.T=O;try{var V=G(q,X),P=w.S;P!==null&&P(O,V),ZF(Z,J,V)}catch(k){qU(Z,J,k)}finally{j!==null&&O.types!==null&&(j.types!==null&&j.types!==O.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),j.types=O.types),w.T=j,j===null&&O._updatedFibers&&(Z=O._updatedFibers.size,O._updatedFibers.clear(),10<Z&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{O=G(q,X),ZF(Z,J,O)}catch(k){qU(Z,J,k)}}function ZF(Z,J,G){G!==null&&typeof G==="object"&&typeof G.then==="function"?(w.asyncTransitions++,G.then(tK,tK),G.then(function(X){JF(Z,J,X)},function(X){return qU(Z,J,X)}),J.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):JF(Z,J,G)}function JF(Z,J,G){J.status="fulfilled",J.value=G,QF(J),Z.state=G,J=Z.pending,J!==null&&(G=J.next,G===J?Z.pending=null:(G=G.next,J.next=G,eH(Z,G)))}function qU(Z,J,G){var X=Z.pending;if(Z.pending=null,X!==null){X=X.next;do J.status="rejected",J.reason=G,QF(J),J=J.next;while(J!==X)}Z.action=null}function QF(Z){Z=Z.listeners;for(var J=0;J<Z.length;J++)(0,Z[J])()}function KF(Z,J){return J}function Y5(Z,J){if(p0){var G=OZ.formState;if(G!==null){Z:{var X=N0;if(p0){if(fZ){var q=hL(fZ,oQ);if(q){fZ=Dq(q),X=pL(q);break Z}}W9(X)}X=!1}X&&(J=G[0])}}G=QQ(),G.memoizedState=G.baseState=J,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:KF,lastRenderedState:J},G.queue=X,G=OF.bind(null,N0,X),X.dispatch=G,X=zU(!1);var j=MU.bind(null,N0,!1,X.queue);return X=QQ(),q={state:J,dispatch:null,action:Z,pending:null},X.queue=q,G=WM.bind(null,N0,q,j,G),q.dispatch=G,X.memoizedState=Z,[J,G,!1]}function lK(Z){var J=XZ();return GF(J,BZ,Z)}function GF(Z,J,G){if(J=KU(Z,J,KF)[0],Z=W5(V9)[0],typeof J==="object"&&J!==null&&typeof J.then==="function")try{var X=d4(J)}catch(O){if(O===v5)throw wG;throw O}else X=J;J=XZ();var q=J.queue,j=q.dispatch;return G!==J.memoizedState&&(N0.flags|=2048,V5(Z9|qQ,{destroy:void 0},YM.bind(null,q,G),null)),[X,j,Z]}function YM(Z,J){Z.action=J}function aK(Z){var J=XZ(),G=BZ;if(G!==null)return GF(J,G,Z);XZ(),J=J.memoizedState,G=XZ();var X=G.queue.dispatch;return G.memoizedState=Z,[J,X,!1]}function V5(Z,J,G,X){return Z={tag:Z,create:G,deps:X,inst:J,next:null},J=N0.updateQueue,J===null&&(J=cK(),N0.updateQueue=J),G=J.lastEffect,G===null?J.lastEffect=Z.next=Z:(X=G.next,G.next=Z,Z.next=X,J.lastEffect=Z),Z}function jU(Z){var J=QQ();return Z={current:Z},J.memoizedState=Z}function G8(Z,J,G,X){var q=QQ();N0.flags|=Z,q.memoizedState=V5(Z9|J,{destroy:void 0},G,X===void 0?null:X)}function AQ(Z,J,G,X){var q=XZ();X=X===void 0?null:X;var j=q.memoizedState.inst;BZ!==null&&X!==null&&oX(X,BZ.memoizedState.deps)?q.memoizedState=V5(J,j,G,X):(N0.flags|=Z,q.memoizedState=V5(Z9|J,j,G,X))}function iK(Z,J){(N0.mode&16)!==A0?G8(276826112,qQ,Z,J):G8(8390656,qQ,Z,J)}function VM(Z){N0.flags|=4;var J=N0.updateQueue;if(J===null)J=cK(),N0.updateQueue=J,J.events=[Z];else{var G=J.events;G===null?J.events=[Z]:G.push(Z)}}function HU(Z){var J=QQ(),G={impl:Z};return J.memoizedState=G,function(){if((c0&MJ)!==NJ)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function nK(Z){var J=XZ().memoizedState;return VM({ref:J,nextImpl:Z}),function(){if((c0&MJ)!==NJ)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return J.impl.apply(void 0,arguments)}}function FU(Z,J){var G=4194308;return(N0.mode&16)!==A0&&(G|=134217728),G8(G,yQ,Z,J)}function zF(Z,J){if(typeof J==="function"){Z=Z();var G=J(Z);return function(){typeof G==="function"?G():J(null)}}if(J!==null&&J!==void 0)return J.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(J).join(", ")+"}"),Z=Z(),J.current=Z,function(){J.current=null}}function BU(Z,J,G){typeof J!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",J!==null?typeof J:"null"),G=G!==null&&G!==void 0?G.concat([Z]):null;var X=4194308;(N0.mode&16)!==A0&&(X|=134217728),G8(X,yQ,zF.bind(null,J,Z),G)}function sK(Z,J,G){typeof J!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",J!==null?typeof J:"null"),G=G!==null&&G!==void 0?G.concat([Z]):null,AQ(4,yQ,zF.bind(null,J,Z),G)}function OU(Z,J){return QQ().memoizedState=[Z,J===void 0?null:J],Z}function oK(Z,J){var G=XZ();J=J===void 0?null:J;var X=G.memoizedState;if(J!==null&&oX(J,X[1]))return X[0];return G.memoizedState=[Z,J],Z}function WU(Z,J){var G=QQ();J=J===void 0?null:J;var X=Z();if(I8){y0(!0);try{Z()}finally{y0(!1)}}return G.memoizedState=[X,J],X}function rK(Z,J){var G=XZ();J=J===void 0?null:J;var X=G.memoizedState;if(J!==null&&oX(J,X[1]))return X[0];if(X=Z(),I8){y0(!0);try{Z()}finally{y0(!1)}}return G.memoizedState=[X,J],X}function YU(Z,J){var G=QQ();return VU(G,Z,J)}function XF(Z,J){var G=XZ();return qF(G,BZ.memoizedState,Z,J)}function UF(Z,J){var G=XZ();return BZ===null?VU(G,Z,J):qF(G,BZ.memoizedState,Z,J)}function VU(Z,J,G){if(G===void 0||(x6&1073741824)!==0&&(f0&261930)===0)return Z.memoizedState=J;return Z.memoizedState=G,Z=jB(),N0.lanes|=Z,x7|=Z,G}function qF(Z,J,G,X){if(zQ(G,J))return G;if(m5.current!==null)return Z=VU(Z,G,X),zQ(Z,J)||(QJ=!0),Z;if((x6&42)===0||(x6&1073741824)!==0&&(f0&261930)===0)return QJ=!0,Z.memoizedState=G;return Z=jB(),N0.lanes|=Z,x7|=Z,J}function tK(){w.asyncTransitions--}function jF(Z,J,G,X,q){var j=M6();DJ(j!==0&&8>j?j:8);var O=w.T,V={};V._updatedFibers=new Set,w.T=V,MU(Z,!1,J,G);try{var P=q(),k=w.S;if(k!==null&&k(V,P),P!==null&&typeof P==="object"&&typeof P.then==="function"){w.asyncTransitions++,P.then(tK,tK);var b=m4(P,X);a4(Z,J,b,fQ(Z))}else a4(Z,J,X,fQ(Z))}catch(v){a4(Z,J,{then:function(){},status:"rejected",reason:v},fQ(Z))}finally{DJ(j),O!==null&&V.types!==null&&(O.types!==null&&O.types!==V.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),O.types=V.types),w.T=O,O===null&&V._updatedFibers&&(Z=V._updatedFibers.size,V._updatedFibers.clear(),10<Z&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function HF(Z){var J=Z.memoizedState;if(J!==null)return J;J={memoizedState:$5,baseState:$5,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:V9,lastRenderedState:$5},next:null};var G={};return J.next={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:V9,lastRenderedState:G},next:null},Z.memoizedState=J,Z=Z.alternate,Z!==null&&(Z.memoizedState=J),J}function DU(){var Z=zU(!1);return Z=jF.bind(null,N0,Z.queue,!0,!1),QQ().memoizedState=Z,[!1,Z]}function FF(){var Z=W5(V9)[0],J=XZ().memoizedState;return[typeof Z==="boolean"?Z:d4(Z),J]}function BF(){var Z=l4(V9)[0],J=XZ().memoizedState;return[typeof Z==="boolean"?Z:d4(Z),J]}function z8(){return jZ(W8)}function AU(){var Z=QQ(),J=OZ.identifierPrefix;if(p0){var G=$6,X=_6;G=(X&~(1<<32-GQ(X)-1)).toString(32)+G,J="_"+J+"R_"+G,G=uG++,0<G&&(J+="H"+G.toString(32)),J+="_"}else G=uP++,J="_"+J+"r_"+G.toString(32)+"_";return Z.memoizedState=J}function NU(){return QQ().memoizedState=DM.bind(null,N0)}function DM(Z,J){for(var G=Z.return;G!==null;){switch(G.tag){case 24:case 3:var X=fQ(G),q=B7(X),j=O7(G,q,X);j!==null&&(tJ(X,"refresh()",Z),mZ(j,G,X),h4(j,G,X)),Z=G7(),J!==null&&J!==void 0&&j!==null&&console.error("The seed argument is not enabled outside experimental channels."),q.payload={cache:Z};return}G=G.return}}function AM(Z,J,G){var X=arguments;typeof X[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),X=fQ(Z);var q={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};eK(Z)?WF(J,q):(q=dX(Z,J,q,X),q!==null&&(tJ(X,"dispatch()",Z),mZ(q,Z,X),YF(q,J,X)))}function OF(Z,J,G){var X=arguments;typeof X[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),X=fQ(Z),a4(Z,J,G,X)&&tJ(X,"setState()",Z)}function a4(Z,J,G,X){var q={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};if(eK(Z))WF(J,q);else{var j=Z.alternate;if(Z.lanes===0&&(j===null||j.lanes===0)&&(j=J.lastRenderedReducer,j!==null)){var O=w.H;w.H=P9;try{var V=J.lastRenderedState,P=j(V,G);if(q.hasEagerState=!0,q.eagerState=P,zQ(P,V))return gK(Z,J,q,0),OZ===null&&yK(),!1}catch(k){}finally{w.H=O}}if(G=dX(Z,J,q,X),G!==null)return mZ(G,Z,X),YF(G,J,X),!0}return!1}function MU(Z,J,G,X){if(w.T===null&&L8===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),X={lane:2,revertLane:iQ(),gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null},eK(Z)){if(J)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else J=dX(Z,G,X,2),J!==null&&(tJ(2,"setOptimistic()",Z),mZ(J,Z,2))}function eK(Z){var J=Z.alternate;return Z===N0||J!==null&&J===N0}function WF(Z,J){p5=mG=!0;var G=Z.pending;G===null?J.next=J:(J.next=G.next,G.next=J),Z.pending=J}function YF(Z,J,G){if((G&4194048)!==0){var X=J.lanes;X&=Z.pendingLanes,G|=X,J.lanes=G,o0(Z,G)}}function LU(Z){if(Z!==null&&typeof Z!=="function"){var J=String(Z);YO.has(J)||(YO.add(J),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z))}}function PU(Z,J,G,X){var q=Z.memoizedState,j=G(X,q);if(Z.mode&8){y0(!0);try{j=G(X,q)}finally{y0(!1)}}j===void 0&&(J=y(J)||"Component",FO.has(J)||(FO.add(J),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",J))),q=j===null||j===void 0?q:kJ({},q,j),Z.memoizedState=q,Z.lanes===0&&(Z.updateQueue.baseState=q)}function VF(Z,J,G,X,q,j,O){var V=Z.stateNode;if(typeof V.shouldComponentUpdate==="function"){if(G=V.shouldComponentUpdate(X,j,O),Z.mode&8){y0(!0);try{G=V.shouldComponentUpdate(X,j,O)}finally{y0(!1)}}return G===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",y(J)||"Component"),G}return J.prototype&&J.prototype.isPureReactComponent?!H7(G,X)||!H7(q,j):!0}function DF(Z,J,G,X){var q=J.state;typeof J.componentWillReceiveProps==="function"&&J.componentWillReceiveProps(G,X),typeof J.UNSAFE_componentWillReceiveProps==="function"&&J.UNSAFE_componentWillReceiveProps(G,X),J.state!==q&&(Z=S(Z)||"Component",XO.has(Z)||(XO.add(Z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Z)),sq.enqueueReplaceState(J,J.state,null))}function X8(Z,J){var G=J;if("ref"in J){G={};for(var X in J)X!=="ref"&&(G[X]=J[X])}if(Z=Z.defaultProps){G===J&&(G=kJ({},G));for(var q in Z)G[q]===void 0&&(G[q]=Z[q])}return G}function ZG(Z,J){try{c5=J.source?S(J.source):null,oq=null;var G=J.value;if(w.actQueue!==null)w.thrownErrors.push(G);else{var X=Z.onUncaughtError;X(G,{componentStack:J.stack})}}catch(q){setTimeout(function(){throw q})}}function AF(Z,J,G){try{c5=G.source?S(G.source):null,oq=S(J);var X=Z.onCaughtError;X(G.value,{componentStack:G.stack,errorBoundary:J.tag===1?J.stateNode:null})}catch(q){setTimeout(function(){throw q})}}function _U(Z,J,G){return G=B7(G),G.tag=cq,G.payload={element:null},G.callback=function(){J0(J.source,ZG,Z,J)},G}function $U(Z){return Z=B7(Z),Z.tag=cq,Z}function RU(Z,J,G,X){var q=G.type.getDerivedStateFromError;if(typeof q==="function"){var j=X.value;Z.payload=function(){return q(j)},Z.callback=function(){xB(G),J0(X.source,AF,J,G,X)}}var O=G.stateNode;O!==null&&typeof O.componentDidCatch==="function"&&(Z.callback=function(){xB(G),J0(X.source,AF,J,G,X),typeof q!=="function"&&(f7===null?f7=new Set([this]):f7.add(this)),vP(this,X),typeof q==="function"||(G.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",S(G)||"Unknown")})}function NM(Z,J,G,X,q){if(G.flags|=32768,l9&&e4(Z,q),X!==null&&typeof X==="object"&&typeof X.then==="function"){if(J=G.alternate,J!==null&&kQ(J,G,q,!0),p0&&(i9=!0),G=vQ.current,G!==null){switch(G.tag){case 31:case 13:return eQ===null?BG():G.alternate===null&&wZ===w6&&(wZ=sG),G.flags&=-257,G.flags|=65536,G.lanes=q,X===vG?G.flags|=16384:(J=G.updateQueue,J===null?G.updateQueue=new Set([X]):J.add(X),eU(Z,X,q)),!1;case 22:return G.flags|=65536,X===vG?G.flags|=16384:(J=G.updateQueue,J===null?(J={transitions:null,markerInstances:null,retryQueue:new Set([X])},G.updateQueue=J):(G=J.retryQueue,G===null?J.retryQueue=new Set([X]):G.add(X)),eU(Z,X,q)),!1}throw Error("Unexpected Suspense handler tag ("+G.tag+"). This is a bug in React.")}return eU(Z,X,q),BG(),!1}if(p0)return i9=!0,J=vQ.current,J!==null?((J.flags&65536)===0&&(J.flags|=256),J.flags|=65536,J.lanes=q,X!==kq&&J7(j0(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:X}),G))):(X!==kq&&J7(j0(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:X}),G)),Z=Z.current.alternate,Z.flags|=65536,q&=-q,Z.lanes|=q,X=j0(X,G),q=_U(Z.stateNode,X,q),uK(Z,q),wZ!==T7&&(wZ=k8)),!1;var j=j0(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:X}),G);if(C1===null?C1=[j]:C1.push(j),wZ!==T7&&(wZ=k8),J===null)return!0;X=j0(X,G),G=J;do{switch(G.tag){case 3:return G.flags|=65536,Z=q&-q,G.lanes|=Z,Z=_U(G.stateNode,X,Z),uK(G,Z),!1;case 1:if(J=G.type,j=G.stateNode,(G.flags&128)===0&&(typeof J.getDerivedStateFromError==="function"||j!==null&&typeof j.componentDidCatch==="function"&&(f7===null||!f7.has(j))))return G.flags|=65536,q&=-q,G.lanes|=q,q=$U(q),RU(q,Z,G,X),uK(G,q),!1}G=G.return}while(G!==null);return!1}function IJ(Z,J,G,X){J.child=Z===null?s2(J,null,G,X):R8(J,Z.child,G,X)}function NF(Z,J,G,X,q){G=G.render;var j=J.ref;if("ref"in X){var O={};for(var V in X)V!=="ref"&&(O[V]=X[V])}else O=X;if(Y9(J),X=rX(Z,J,G,O,j,q),V=eX(),Z!==null&&!QJ)return ZU(Z,J,q),Y6(Z,J,q);return p0&&V&&P0(J),J.flags|=1,IJ(Z,J,X,q),J.child}function MF(Z,J,G,X,q){if(Z===null){var j=G.type;if(typeof j==="function"&&!Qq(j)&&j.defaultProps===void 0&&G.compare===null)return G=H8(j),J.tag=15,J.type=G,kU(J,j),LF(Z,J,G,X,q);return Z=Kq(G.type,null,X,J,J.mode,q),Z.ref=J.ref,Z.return=J,J.child=Z}if(j=Z.child,!fU(Z,q)){var O=j.memoizedProps;if(G=G.compare,G=G!==null?G:H7,G(O,X)&&Z.ref===J.ref)return Y6(Z,J,q)}return J.flags|=1,Z=V6(j,X),Z.ref=J.ref,Z.return=J,J.child=Z}function LF(Z,J,G,X,q){if(Z!==null){var j=Z.memoizedProps;if(H7(j,X)&&Z.ref===J.ref&&J.type===Z.type)if(QJ=!1,J.pendingProps=X=j,fU(Z,q))(Z.flags&131072)!==0&&(QJ=!0);else return J.lanes=Z.lanes,Y6(Z,J,q)}return IU(Z,J,G,X,q)}function PF(Z,J,G,X){var q=X.children,j=Z!==null?Z.memoizedState:null;if(Z===null&&J.stateNode===null&&(J.stateNode={_visibility:L1,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.mode==="hidden"){if((J.flags&128)!==0){if(j=j!==null?j.baseLanes|G:G,Z!==null){X=J.child=Z.child;for(q=0;X!==null;)q=q|X.lanes|X.childLanes,X=X.sibling;X=q&~j}else X=0,J.child=null;return _F(Z,J,j,G,X)}if((G&536870912)!==0)J.memoizedState={baseLanes:0,cachePool:null},Z!==null&&J8(J,j!==null?j.cachePool:null),j!==null?pH(J,j):iX(J),cH(J);else return X=J.lanes=536870912,_F(Z,J,j!==null?j.baseLanes|G:G,G,X)}else j!==null?(J8(J,j.cachePool),pH(J,j),Y7(J),J.memoizedState=null):(Z!==null&&J8(J,null),iX(J),Y7(J));return IJ(Z,J,q,G),J.child}function i4(Z,J){return Z!==null&&Z.tag===22||J.stateNode!==null||(J.stateNode={_visibility:L1,_pendingMarkers:null,_retryCache:null,_transitions:null}),J.sibling}function _F(Z,J,G,X,q){var j=W6();return j=j===null?null:{parent:N6?uZ._currentValue:uZ._currentValue2,pool:j},J.memoizedState={baseLanes:G,cachePool:j},Z!==null&&J8(J,null),iX(J),cH(J),Z!==null&&kQ(Z,J,X,!0),J.childLanes=q,null}function JG(Z,J){var G=J.hidden;return G!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
92
- - <Activity %s>
93
- + <Activity %s>`,G===!0?"hidden":G===!1?"hidden={false}":"hidden={...}",G?'mode="hidden"':'mode="visible"'),J=KG({mode:J.mode,children:J.children},Z.mode),J.ref=Z.ref,Z.child=J,J.return=Z,J}function $F(Z,J,G){return R8(J,Z.child,null,G),Z=JG(J,J.pendingProps),Z.flags|=2,SQ(J),J.memoizedState=null,Z}function MM(Z,J,G){var X=J.pendingProps,q=(J.flags&128)!==0;if(J.flags&=-129,Z===null){if(p0){if(X.mode==="hidden")return Z=JG(J,X),J.lanes=536870912,i4(null,Z);if(sX(J),(Z=fZ)?(G=rL(Z,oQ),G!==null&&(X={dehydrated:G,treeContext:RQ(),retryLane:536870912,hydrationErrors:null},J.memoizedState=X,X=bB(G),X.return=J,J.child=X,TJ=J,fZ=null)):G=null,G===null)throw y9(J,Z),W9(J);return J.lanes=536870912,null}return JG(J,X)}var j=Z.memoizedState;if(j!==null){var O=j.dehydrated;if(sX(J),q)if(J.flags&256)J.flags&=-257,J=$F(Z,J,G);else if(J.memoizedState!==null)J.child=Z.child,J.flags|=128,J=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(H0(),(G&536870912)!==0&&FG(J),QJ||kQ(Z,J,G,!1),q=(G&Z.childLanes)!==0,QJ||q){if(X=OZ,X!==null&&(O=kZ(X,G),O!==0&&O!==j.retryLane))throw j.retryLane=O,hJ(Z,O),mZ(X,Z,O),rq;BG(),J=$F(Z,J,G)}else Z=j.treeContext,dJ&&(fZ=aL(O),TJ=J,p0=!0,_7=null,i9=!1,wQ=null,oQ=!1,Z!==null&&IQ(J,Z)),J=JG(J,X),J.flags|=4096;return J}return j=Z.child,X={mode:X.mode,children:X.children},(G&536870912)!==0&&(G&Z.lanes)!==0&&FG(J),Z=V6(j,X),Z.ref=J.ref,J.child=Z,Z.return=J,Z}function QG(Z,J){var G=J.ref;if(G===null)Z!==null&&Z.ref!==null&&(J.flags|=4194816);else{if(typeof G!=="function"&&typeof G!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(Z===null||Z.ref!==G)J.flags|=4194816}}function IU(Z,J,G,X,q){if(G.prototype&&typeof G.prototype.render==="function"){var j=y(G)||"Unknown";VO[j]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",j,j),VO[j]=!0)}if(J.mode&8&&L9.recordLegacyContextWarning(J,null),Z===null&&(kU(J,J.type),G.contextTypes&&(j=y(G)||"Unknown",AO[j]||(AO[j]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",j)))),Y9(J),G=rX(Z,J,G,X,void 0,q),X=eX(),Z!==null&&!QJ)return ZU(Z,J,q),Y6(Z,J,q);return p0&&X&&P0(J),J.flags|=1,IJ(Z,J,G,q),J.child}function RF(Z,J,G,X,q,j){if(Y9(J),f6=-1,$1=Z!==null&&Z.type!==J.type,J.updateQueue=null,G=tX(J,X,G,q),dH(Z,J),X=eX(),Z!==null&&!QJ)return ZU(Z,J,j),Y6(Z,J,j);return p0&&X&&P0(J),J.flags|=1,IJ(Z,J,G,j),J.child}function IF(Z,J,G,X,q){switch(W(J)){case!1:var j=J.stateNode,O=new J.type(J.memoizedProps,j.context).state;j.updater.enqueueSetState(j,O,null);break;case!0:J.flags|=128,J.flags|=65536,j=Error("Simulated error coming from DevTools");var V=q&-q;if(J.lanes|=V,O=OZ,O===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");V=$U(V),RU(V,O,J,j0(j,J)),uK(J,V)}if(Y9(J),J.stateNode===null){if(O=A7,j=G.contextType,"contextType"in G&&j!==null&&(j===void 0||j.$$typeof!==A6)&&!WO.has(G)&&(WO.add(G),V=j===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof j!=="object"?" However, it is set to a "+typeof j+".":j.$$typeof===qq?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(j).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",y(G)||"Component",V)),typeof j==="object"&&j!==null&&(O=jZ(j)),j=new G(X,O),J.mode&8){y0(!0);try{j=new G(X,O)}finally{y0(!1)}}if(O=J.memoizedState=j.state!==null&&j.state!==void 0?j.state:null,j.updater=sq,J.stateNode=j,j._reactInternals=J,j._reactInternalInstance=zO,typeof G.getDerivedStateFromProps==="function"&&O===null&&(O=y(G)||"Component",UO.has(O)||(UO.add(O),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",O,j.state===null?"null":"undefined",O))),typeof G.getDerivedStateFromProps==="function"||typeof j.getSnapshotBeforeUpdate==="function"){var P=V=O=null;if(typeof j.componentWillMount==="function"&&j.componentWillMount.__suppressDeprecationWarning!==!0?O="componentWillMount":typeof j.UNSAFE_componentWillMount==="function"&&(O="UNSAFE_componentWillMount"),typeof j.componentWillReceiveProps==="function"&&j.componentWillReceiveProps.__suppressDeprecationWarning!==!0?V="componentWillReceiveProps":typeof j.UNSAFE_componentWillReceiveProps==="function"&&(V="UNSAFE_componentWillReceiveProps"),typeof j.componentWillUpdate==="function"&&j.componentWillUpdate.__suppressDeprecationWarning!==!0?P="componentWillUpdate":typeof j.UNSAFE_componentWillUpdate==="function"&&(P="UNSAFE_componentWillUpdate"),O!==null||V!==null||P!==null){j=y(G)||"Component";var k=typeof G.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";jO.has(j)||(jO.add(j),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
94
-
95
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
96
-
97
- The above lifecycles should be removed. Learn more about this warning here:
98
- https://react.dev/link/unsafe-component-lifecycles`,j,k,O!==null?`
99
- `+O:"",V!==null?`
100
- `+V:"",P!==null?`
101
- `+P:""))}}j=J.stateNode,O=y(G)||"Component",j.render||(G.prototype&&typeof G.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",O):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",O)),!j.getInitialState||j.getInitialState.isReactClassApproved||j.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",O),j.getDefaultProps&&!j.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",O),j.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",O),G.childContextTypes&&!OO.has(G)&&(OO.add(G),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",O)),G.contextTypes&&!BO.has(G)&&(BO.add(G),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",O)),typeof j.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",O),G.prototype&&G.prototype.isPureReactComponent&&typeof j.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",y(G)||"A pure component"),typeof j.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",O),typeof j.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",O),typeof j.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",O),typeof j.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",O),V=j.props!==X,j.props!==void 0&&V&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",O),j.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",O,O),typeof j.getSnapshotBeforeUpdate!=="function"||typeof j.componentDidUpdate==="function"||qO.has(G)||(qO.add(G),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",y(G))),typeof j.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",O),typeof j.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",O),typeof G.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",O),(V=j.state)&&(typeof V!=="object"||EJ(V))&&console.error("%s.state: must be set to an object or null",O),typeof j.getChildContext==="function"&&typeof G.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",O),j=J.stateNode,j.props=X,j.state=J.memoizedState,j.refs={},lX(J),O=G.contextType,j.context=typeof O==="object"&&O!==null?jZ(O):A7,j.state===X&&(O=y(G)||"Component",HO.has(O)||(HO.add(O),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",O))),J.mode&8&&L9.recordLegacyContextWarning(J,j),L9.recordUnsafeLifecycleWarnings(J,j),j.state=J.memoizedState,O=G.getDerivedStateFromProps,typeof O==="function"&&(PU(J,G,O,X),j.state=J.memoizedState),typeof G.getDerivedStateFromProps==="function"||typeof j.getSnapshotBeforeUpdate==="function"||typeof j.UNSAFE_componentWillMount!=="function"&&typeof j.componentWillMount!=="function"||(O=j.state,typeof j.componentWillMount==="function"&&j.componentWillMount(),typeof j.UNSAFE_componentWillMount==="function"&&j.UNSAFE_componentWillMount(),O!==j.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",S(J)||"Component"),sq.enqueueReplaceState(j,j.state,null)),c4(J,X,j,q),p4(),j.state=J.memoizedState),typeof j.componentDidMount==="function"&&(J.flags|=4194308),(J.mode&16)!==A0&&(J.flags|=134217728),j=!0}else if(Z===null){j=J.stateNode;var b=J.memoizedProps;V=X8(G,b),j.props=V;var v=j.context;P=G.contextType,O=A7,typeof P==="object"&&P!==null&&(O=jZ(P)),k=G.getDerivedStateFromProps,P=typeof k==="function"||typeof j.getSnapshotBeforeUpdate==="function",b=J.pendingProps!==b,P||typeof j.UNSAFE_componentWillReceiveProps!=="function"&&typeof j.componentWillReceiveProps!=="function"||(b||v!==O)&&DF(J,j,X,O),E7=!1;var c=J.memoizedState;j.state=c,c4(J,X,j,q),p4(),v=J.memoizedState,b||c!==v||E7?(typeof k==="function"&&(PU(J,G,k,X),v=J.memoizedState),(V=E7||VF(J,G,V,X,c,v,O))?(P||typeof j.UNSAFE_componentWillMount!=="function"&&typeof j.componentWillMount!=="function"||(typeof j.componentWillMount==="function"&&j.componentWillMount(),typeof j.UNSAFE_componentWillMount==="function"&&j.UNSAFE_componentWillMount()),typeof j.componentDidMount==="function"&&(J.flags|=4194308),(J.mode&16)!==A0&&(J.flags|=134217728)):(typeof j.componentDidMount==="function"&&(J.flags|=4194308),(J.mode&16)!==A0&&(J.flags|=134217728),J.memoizedProps=X,J.memoizedState=v),j.props=X,j.state=v,j.context=O,j=V):(typeof j.componentDidMount==="function"&&(J.flags|=4194308),(J.mode&16)!==A0&&(J.flags|=134217728),j=!1)}else{j=J.stateNode,aX(Z,J),O=J.memoizedProps,P=X8(G,O),j.props=P,k=J.pendingProps,c=j.context,v=G.contextType,V=A7,typeof v==="object"&&v!==null&&(V=jZ(v)),b=G.getDerivedStateFromProps,(v=typeof b==="function"||typeof j.getSnapshotBeforeUpdate==="function")||typeof j.UNSAFE_componentWillReceiveProps!=="function"&&typeof j.componentWillReceiveProps!=="function"||(O!==k||c!==V)&&DF(J,j,X,V),E7=!1,c=J.memoizedState,j.state=c,c4(J,X,j,q),p4();var q0=J.memoizedState;O!==k||c!==q0||E7||Z!==null&&Z.dependencies!==null&&K7(Z.dependencies)?(typeof b==="function"&&(PU(J,G,b,X),q0=J.memoizedState),(P=E7||VF(J,G,P,X,c,q0,V)||Z!==null&&Z.dependencies!==null&&K7(Z.dependencies))?(v||typeof j.UNSAFE_componentWillUpdate!=="function"&&typeof j.componentWillUpdate!=="function"||(typeof j.componentWillUpdate==="function"&&j.componentWillUpdate(X,q0,V),typeof j.UNSAFE_componentWillUpdate==="function"&&j.UNSAFE_componentWillUpdate(X,q0,V)),typeof j.componentDidUpdate==="function"&&(J.flags|=4),typeof j.getSnapshotBeforeUpdate==="function"&&(J.flags|=1024)):(typeof j.componentDidUpdate!=="function"||O===Z.memoizedProps&&c===Z.memoizedState||(J.flags|=4),typeof j.getSnapshotBeforeUpdate!=="function"||O===Z.memoizedProps&&c===Z.memoizedState||(J.flags|=1024),J.memoizedProps=X,J.memoizedState=q0),j.props=X,j.state=q0,j.context=V,j=P):(typeof j.componentDidUpdate!=="function"||O===Z.memoizedProps&&c===Z.memoizedState||(J.flags|=4),typeof j.getSnapshotBeforeUpdate!=="function"||O===Z.memoizedProps&&c===Z.memoizedState||(J.flags|=1024),j=!1)}if(V=j,QG(Z,J),O=(J.flags&128)!==0,V||O){if(V=J.stateNode,s7(J),O&&typeof G.getDerivedStateFromError!=="function")G=null,XQ=-1;else if(G=w2(V),J.mode&8){y0(!0);try{w2(V)}finally{y0(!1)}}J.flags|=1,Z!==null&&O?(J.child=R8(J,Z.child,null,q),J.child=R8(J,null,G,q)):IJ(Z,J,G,q),J.memoizedState=V.state,Z=J.child}else Z=Y6(Z,J,q);return q=J.stateNode,j&&q.props!==X&&(d5||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",S(J)||"a component"),d5=!0),Z}function kF(Z,J,G,X){return dQ(),J.flags|=256,IJ(Z,J,G,X),J.child}function kU(Z,J){J&&J.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
102
- %s.childContextTypes = ...`,J.displayName||J.name||"Component"),typeof J.getDerivedStateFromProps==="function"&&(Z=y(J)||"Unknown",NO[Z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Z),NO[Z]=!0)),typeof J.contextType==="object"&&J.contextType!==null&&(J=y(J)||"Unknown",DO[J]||(console.error("%s: Function components do not support contextType.",J),DO[J]=!0))}function EU(Z){return{baseLanes:Z,cachePool:j7()}}function TU(Z,J,G){return Z=Z!==null?Z.childLanes&~G:0,J&&(Z|=LQ),Z}function EF(Z,J,G){var X=J.pendingProps;B(J)&&(J.flags|=128);var q=!1,j=(J.flags&128)!==0,O;if((O=j)||(O=Z!==null&&Z.memoizedState===null?!1:(nZ.current&P1)!==0),O&&(q=!0,J.flags&=-129),O=(J.flags&32)!==0,J.flags&=-33,Z===null){if(p0){if(q?W7(J):Y7(J),(Z=fZ)?(G=tL(Z,oQ),G!==null&&(O={dehydrated:G,treeContext:RQ(),retryLane:536870912,hydrationErrors:null},J.memoizedState=O,O=bB(G),O.return=J,J.child=O,TJ=J,fZ=null)):G=null,G===null)throw y9(J,Z),W9(J);return Vq(G)?J.lanes=32:J.lanes=536870912,null}var V=X.children;if(X=X.fallback,q)return Y7(J),q=J.mode,V=KG({mode:"hidden",children:V},q),X=F8(X,q,G,null),V.return=J,X.return=J,V.sibling=X,J.child=V,X=J.child,X.memoizedState=EU(G),X.childLanes=TU(Z,O,G),J.memoizedState=tq,i4(null,X);return W7(J),CU(J,V)}var P=Z.memoizedState;if(P!==null&&(V=P.dehydrated,V!==null)){if(j)J.flags&256?(W7(J),J.flags&=-257,J=xU(Z,J,G)):J.memoizedState!==null?(Y7(J),J.child=Z.child,J.flags|=128,J=null):(Y7(J),V=X.fallback,q=J.mode,X=KG({mode:"visible",children:X.children},q),V=F8(V,q,G,null),V.flags|=2,X.return=J,V.return=J,X.sibling=V,J.child=X,R8(J,Z.child,null,G),X=J.child,X.memoizedState=EU(G),X.childLanes=TU(Z,O,G),J.memoizedState=tq,J=i4(null,X));else if(W7(J),H0(),(G&536870912)!==0&&FG(J),Vq(V))q=mL(V),O=q.digest,V=q.message,X=q.stack,q=q.componentStack,V=V?Error(V):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),V.stack=X||"",V.digest=O,O=q===void 0?null:q,X={value:V,source:null,stack:O},typeof O==="string"&&Iq.set(V,X),J7(X),J=xU(Z,J,G);else if(QJ||kQ(Z,J,G,!1),O=(G&Z.childLanes)!==0,QJ||O){if(O=OZ,O!==null&&(X=kZ(O,G),X!==0&&X!==P.retryLane))throw P.retryLane=X,hJ(Z,X),mZ(O,Z,X),rq;Yq(V)||BG(),J=xU(Z,J,G)}else Yq(V)?(J.flags|=192,J.child=Z.child,J=null):(Z=P.treeContext,dJ&&(fZ=iL(V),TJ=J,p0=!0,_7=null,i9=!1,wQ=null,oQ=!1,Z!==null&&IQ(J,Z)),J=CU(J,X.children),J.flags|=4096);return J}if(q)return Y7(J),V=X.fallback,q=J.mode,P=Z.child,j=P.sibling,X=V6(P,{mode:"hidden",children:X.children}),X.subtreeFlags=P.subtreeFlags&65011712,j!==null?V=V6(j,V):(V=F8(V,q,G,null),V.flags|=2),V.return=J,X.return=J,X.sibling=V,J.child=X,i4(null,X),X=J.child,V=Z.child.memoizedState,V===null?V=EU(G):(q=V.cachePool,q!==null?(P=N6?uZ._currentValue:uZ._currentValue2,q=q.parent!==P?{parent:P,pool:P}:q):q=j7(),V={baseLanes:V.baseLanes|G,cachePool:q}),X.memoizedState=V,X.childLanes=TU(Z,O,G),J.memoizedState=tq,i4(Z.child,X);return P!==null&&(G&62914560)===G&&(G&Z.lanes)!==0&&FG(J),W7(J),G=Z.child,Z=G.sibling,G=V6(G,{mode:"visible",children:X.children}),G.return=J,G.sibling=null,Z!==null&&(O=J.deletions,O===null?(J.deletions=[Z],J.flags|=16):O.push(Z)),J.child=G,J.memoizedState=null,G}function CU(Z,J){return J=KG({mode:"visible",children:J},Z.mode),J.return=Z,Z.child=J}function KG(Z,J){return Z=Y(22,Z,null,J),Z.lanes=0,Z}function xU(Z,J,G){return R8(J,Z.child,null,G),Z=CU(J,J.pendingProps.children),Z.flags|=2,J.memoizedState=null,Z}function TF(Z,J,G){Z.lanes|=J;var X=Z.alternate;X!==null&&(X.lanes|=J),H6(Z.return,J,G)}function SU(Z,J,G,X,q,j){var O=Z.memoizedState;O===null?Z.memoizedState={isBackwards:J,rendering:null,renderingStartTime:0,last:X,tail:G,tailMode:q,treeForkCount:j}:(O.isBackwards=J,O.rendering=null,O.renderingStartTime=0,O.last=X,O.tail=G,O.tailMode=q,O.treeForkCount=j)}function CF(Z,J,G){var X=J.pendingProps,q=X.revealOrder,j=X.tail,O=X.children,V=nZ.current;if((X=(V&P1)!==0)?(V=V&u5|P1,J.flags|=128):V&=u5,i(nZ,V,J),V=q==null?"null":q,q!=="forwards"&&q!=="unstable_legacy-backwards"&&q!=="together"&&q!=="independent"&&!MO[V])if(MO[V]=!0,q==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(q==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof q==="string")switch(q.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',q,q.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',q,q.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',q)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',q);if(V=j==null?"null":j,!pG[V])if(j==null){if(q==="forwards"||q==="backwards"||q==="unstable_legacy-backwards")pG[V]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else j!=="visible"&&j!=="collapsed"&&j!=="hidden"?(pG[V]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',j)):q!=="forwards"&&q!=="backwards"&&q!=="unstable_legacy-backwards"&&(pG[V]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',j));Z:if((q==="forwards"||q==="backwards"||q==="unstable_legacy-backwards")&&O!==void 0&&O!==null&&O!==!1)if(EJ(O)){for(V=0;V<O.length;V++)if(!gH(O[V],V))break Z}else if(V=s(O),typeof V==="function"){if(V=V.call(O))for(var P=V.next(),k=0;!P.done;P=V.next()){if(!gH(P.value,k))break Z;k++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',q);if(IJ(Z,J,O,G),p0?(_0(),O=X1):O=0,!X&&Z!==null&&(Z.flags&128)!==0)Z:for(Z=J.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&TF(Z,G,J);else if(Z.tag===19)TF(Z,G,J);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===J)break Z;for(;Z.sibling===null;){if(Z.return===null||Z.return===J)break Z;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}switch(q){case"forwards":G=J.child;for(q=null;G!==null;)Z=G.alternate,Z!==null&&hK(Z)===null&&(q=G),G=G.sibling;G=q,G===null?(q=J.child,J.child=null):(q=G.sibling,G.sibling=null),SU(J,!1,q,G,j,O);break;case"backwards":case"unstable_legacy-backwards":G=null,q=J.child;for(J.child=null;q!==null;){if(Z=q.alternate,Z!==null&&hK(Z)===null){J.child=q;break}Z=q.sibling,q.sibling=G,G=q,q=Z}SU(J,!0,G,null,j,O);break;case"together":SU(J,!1,null,null,void 0,O);break;default:J.memoizedState=null}return J.child}function Y6(Z,J,G){if(Z!==null&&(J.dependencies=Z.dependencies),XQ=-1,x7|=J.lanes,(G&J.childLanes)===0)if(Z!==null){if(kQ(Z,J,G,!1),(G&J.childLanes)===0)return null}else return null;if(Z!==null&&J.child!==Z.child)throw Error("Resuming work not yet implemented.");if(J.child!==null){Z=J.child,G=V6(Z,Z.pendingProps),J.child=G;for(G.return=J;Z.sibling!==null;)Z=Z.sibling,G=G.sibling=V6(Z,Z.pendingProps),G.return=J;G.sibling=null}return J.child}function fU(Z,J){if((Z.lanes&J)!==0)return!0;return Z=Z.dependencies,Z!==null&&K7(Z)?!0:!1}function LM(Z,J,G){switch(J.tag){case 3:zZ(J,J.stateNode.containerInfo),lQ(J,uZ,Z.memoizedState.cache),dQ();break;case 27:case 5:FZ(J);break;case 4:zZ(J,J.stateNode.containerInfo);break;case 10:lQ(J,J.type,J.memoizedProps.value);break;case 12:(G&J.childLanes)!==0&&(J.flags|=4),J.flags|=2048;var X=J.stateNode;X.effectDuration=-0,X.passiveEffectDuration=-0;break;case 31:if(J.memoizedState!==null)return J.flags|=128,sX(J),null;break;case 13:if(X=J.memoizedState,X!==null){if(X.dehydrated!==null)return W7(J),J.flags|=128,null;if((G&J.child.childLanes)!==0)return EF(Z,J,G);return W7(J),Z=Y6(Z,J,G),Z!==null?Z.sibling:null}W7(J);break;case 19:var q=(Z.flags&128)!==0;if(X=(G&J.childLanes)!==0,X||(kQ(Z,J,G,!1),X=(G&J.childLanes)!==0),q){if(X)return CF(Z,J,G);J.flags|=128}if(q=J.memoizedState,q!==null&&(q.rendering=null,q.tail=null,q.lastEffect=null),i(nZ,nZ.current,J),X)break;else return null;case 22:return J.lanes=0,PF(Z,J,G,J.pendingProps);case 24:lQ(J,uZ,Z.memoizedState.cache)}return Y6(Z,J,G)}function bU(Z,J,G){if(J._debugNeedsRemount&&Z!==null){G=Kq(J.type,J.key,J.pendingProps,J._debugOwner||null,J.mode,J.lanes),G._debugStack=J._debugStack,G._debugTask=J._debugTask;var X=J.return;if(X===null)throw Error("Cannot swap the root fiber.");if(Z.alternate=null,J.alternate=null,G.index=J.index,G.sibling=J.sibling,G.return=J.return,G.ref=J.ref,G._debugInfo=J._debugInfo,J===X.child)X.child=G;else{var q=X.child;if(q===null)throw Error("Expected parent to have a child.");for(;q.sibling!==J;)if(q=q.sibling,q===null)throw Error("Expected to find the previous sibling.");q.sibling=G}return J=X.deletions,J===null?(X.deletions=[Z],X.flags|=16):J.push(Z),G.flags|=2,G}if(Z!==null)if(Z.memoizedProps!==J.pendingProps||J.type!==Z.type)QJ=!0;else{if(!fU(Z,G)&&(J.flags&128)===0)return QJ=!1,LM(Z,J,G);QJ=(Z.flags&131072)!==0?!0:!1}else{if(QJ=!1,X=p0)_0(),X=(J.flags&1048576)!==0;X&&(X=J.index,_0(),g0(J,X1,X))}switch(J.lanes=0,J.tag){case 16:Z:if(X=J.pendingProps,Z=CQ(J.elementType),J.type=Z,typeof Z==="function")Qq(Z)?(X=X8(Z,X),J.tag=1,J.type=Z=H8(Z),J=IF(null,J,Z,X,G)):(J.tag=0,kU(J,Z),J.type=Z=H8(Z),J=IU(null,J,Z,X,G));else{if(Z!==void 0&&Z!==null){if(q=Z.$$typeof,q===Z1){J.tag=11,J.type=Z=Jq(Z),J=NF(null,J,Z,X,G);break Z}else if(q===VG){J.tag=14,J=MF(null,J,Z,X,G);break Z}}throw J="",Z!==null&&typeof Z==="object"&&Z.$$typeof===bQ&&(J=" Did you wrap a component in React.lazy() more than once?"),Z=y(Z)||Z,Error("Element type is invalid. Received a promise that resolves to: "+Z+". Lazy element type must resolve to a class or function."+J)}return J;case 0:return IU(Z,J,J.type,J.pendingProps,G);case 1:return X=J.type,q=X8(X,J.pendingProps),IF(Z,J,X,q,G);case 3:Z:{if(zZ(J,J.stateNode.containerInfo),Z===null)throw Error("Should have a current fiber. This is a bug in React.");var j=J.pendingProps;q=J.memoizedState,X=q.element,aX(Z,J),c4(J,j,null,G);var O=J.memoizedState;if(j=O.cache,lQ(J,uZ,j),j!==q.cache&&t7(J,[uZ],G,!0),p4(),j=O.element,dJ&&q.isDehydrated)if(q={element:j,isDehydrated:!1,cache:O.cache},J.updateQueue.baseState=q,J.memoizedState=q,J.flags&256){J=kF(Z,J,j,G);break Z}else if(j!==X){X=j0(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),J),J7(X),J=kF(Z,J,j,G);break Z}else for(dJ&&(fZ=lL(J.stateNode.containerInfo),TJ=J,p0=!0,_7=null,i9=!1,wQ=null,oQ=!0),Z=s2(J,null,j,G),J.child=Z;Z;)Z.flags=Z.flags&-3|4096,Z=Z.sibling;else{if(dQ(),j===X){J=Y6(Z,J,G);break Z}IJ(Z,J,j,G)}J=J.child}return J;case 26:if(M9)return QG(Z,J),Z===null?(Z=z2(J.type,null,J.pendingProps,null))?J.memoizedState=Z:p0||(J.stateNode=DP(J.type,J.pendingProps,l0(P7.current),J)):J.memoizedState=z2(J.type,Z.memoizedProps,J.pendingProps,Z.memoizedState),null;case 27:if(HJ)return FZ(J),Z===null&&HJ&&p0&&(q=l0(P7.current),X=Y0(),q=J.stateNode=F2(J.type,J.pendingProps,q,X,!1),i9||(X=J2(q,J.type,J.pendingProps,X),X!==null&&(O9(J,0).serverProps=X)),TJ=J,oQ=!0,fZ=nL(J.type,q,fZ)),IJ(Z,J,J.pendingProps.children,G),QG(Z,J),Z===null&&(J.flags|=4194304),J.child;case 5:return Z===null&&p0&&(j=Y0(),X=WP(J.type,J.pendingProps,j),q=fZ,(O=!q)||(O=sL(q,J.type,J.pendingProps,oQ),O!==null?(J.stateNode=O,i9||(j=J2(O,J.type,J.pendingProps,j),j!==null&&(O9(J,0).serverProps=j)),TJ=J,fZ=dL(O),oQ=!1,j=!0):j=!1,O=!j),O&&(X&&y9(J,q),W9(J))),FZ(J),q=J.type,j=J.pendingProps,O=Z!==null?Z.memoizedProps:null,X=j.children,DG(q,j)?X=null:O!==null&&DG(q,O)&&(J.flags|=32),J.memoizedState!==null&&(q=rX(Z,J,OM,null,null,G),N6?W8._currentValue=q:W8._currentValue2=q),QG(Z,J),IJ(Z,J,X,G),J.child;case 6:return Z===null&&p0&&(Z=J.pendingProps,G=Y0(),Z=YP(Z,G),G=fZ,(X=!G)||(X=oL(G,J.pendingProps,oQ),X!==null?(J.stateNode=X,TJ=J,fZ=null,X=!0):X=!1,X=!X),X&&(Z&&y9(J,G),W9(J))),null;case 13:return EF(Z,J,G);case 4:return zZ(J,J.stateNode.containerInfo),X=J.pendingProps,Z===null?J.child=R8(J,null,X,G):IJ(Z,J,X,G),J.child;case 11:return NF(Z,J,J.type,J.pendingProps,G);case 7:return IJ(Z,J,J.pendingProps,G),J.child;case 8:return IJ(Z,J,J.pendingProps.children,G),J.child;case 12:return J.flags|=4,J.flags|=2048,X=J.stateNode,X.effectDuration=-0,X.passiveEffectDuration=-0,IJ(Z,J,J.pendingProps.children,G),J.child;case 10:return X=J.type,q=J.pendingProps,j=q.value,"value"in q||LO||(LO=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),lQ(J,X,j),IJ(Z,J,q.children,G),J.child;case 9:return q=J.type._context,X=J.pendingProps.children,typeof X!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Y9(J),q=jZ(q),X=gq(X,q,void 0),J.flags|=1,IJ(Z,J,X,G),J.child;case 14:return MF(Z,J,J.type,J.pendingProps,G);case 15:return LF(Z,J,J.type,J.pendingProps,G);case 19:return CF(Z,J,G);case 31:return MM(Z,J,G);case 22:return PF(Z,J,G,J.pendingProps);case 24:return Y9(J),X=jZ(uZ),Z===null?(q=W6(),q===null&&(q=OZ,j=G7(),q.pooledCache=j,EQ(j),j!==null&&(q.pooledCacheLanes|=G),q=j),J.memoizedState={parent:X,cache:q},lX(J),lQ(J,uZ,q)):((Z.lanes&G)!==0&&(aX(Z,J),c4(J,null,null,G),p4()),q=Z.memoizedState,j=J.memoizedState,q.parent!==X?(q={parent:X,cache:X},J.memoizedState=q,J.lanes===0&&(J.memoizedState=J.updateQueue.baseState=q),lQ(J,uZ,X)):(X=j.cache,lQ(J,uZ,X),X!==q.cache&&t7(J,[uZ],G,!0))),IJ(Z,J,J.pendingProps.children,G),J.child;case 29:throw J.pendingProps}throw Error("Unknown unit of work tag ("+J.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function D9(Z){Z.flags|=4}function GG(Z){c9&&(Z.flags|=8)}function xF(Z,J){if(Z!==null&&Z.child===J.child)return!1;if((J.flags&16)!==0)return!0;for(Z=J.child;Z!==null;){if((Z.flags&8218)!==0||(Z.subtreeFlags&8218)!==0)return!0;Z=Z.sibling}return!1}function wU(Z,J,G,X){if(cJ)for(G=J.child;G!==null;){if(G.tag===5||G.tag===6)Bq(Z,G.stateNode);else if(!(G.tag===4||HJ&&G.tag===27)&&G.child!==null){G.child.return=G,G=G.child;continue}if(G===J)break;for(;G.sibling===null;){if(G.return===null||G.return===J)return;G=G.return}G.sibling.return=G.return,G=G.sibling}else if(c9)for(var q=J.child;q!==null;){if(q.tag===5){var j=q.stateNode;G&&X&&(j=rB(j,q.type,q.memoizedProps)),Bq(Z,j)}else if(q.tag===6)j=q.stateNode,G&&X&&(j=tB(j,q.memoizedProps)),Bq(Z,j);else if(q.tag!==4){if(q.tag===22&&q.memoizedState!==null)j=q.child,j!==null&&(j.return=q),wU(Z,q,!0,!0);else if(q.child!==null){q.child.return=q,q=q.child;continue}}if(q===J)break;for(;q.sibling===null;){if(q.return===null||q.return===J)return;q=q.return}q.sibling.return=q.return,q=q.sibling}}function SF(Z,J,G,X){var q=!1;if(c9)for(var j=J.child;j!==null;){if(j.tag===5){var O=j.stateNode;G&&X&&(O=rB(O,j.type,j.memoizedProps)),sB(Z,O)}else if(j.tag===6)O=j.stateNode,G&&X&&(O=tB(O,j.memoizedProps)),sB(Z,O);else if(j.tag!==4){if(j.tag===22&&j.memoizedState!==null)q=j.child,q!==null&&(q.return=j),SF(Z,j,!0,!0),q=!0;else if(j.child!==null){j.child.return=j,j=j.child;continue}}if(j===J)break;for(;j.sibling===null;){if(j.return===null||j.return===J)return q;j=j.return}j.sibling.return=j.return,j=j.sibling}return q}function fF(Z,J){if(c9&&xF(Z,J)){Z=J.stateNode;var G=Z.containerInfo,X=nB();SF(X,J,!1,!1),Z.pendingChildren=X,D9(J),gL(G,X)}}function vU(Z,J,G,X){if(cJ)Z.memoizedProps!==X&&D9(J);else if(c9){var{stateNode:q,memoizedProps:j}=Z;if((Z=xF(Z,J))||j!==X){var O=Y0();j=yL(q,G,j,X,!Z,null),j===q?J.stateNode=q:(GG(J),cB(j,G,X,O)&&D9(J),J.stateNode=j,Z&&wU(j,J,!1,!1))}else J.stateNode=q}}function yU(Z,J,G,X,q){if((Z.mode&32)!==A0&&(G===null?qL(J,X):jL(J,G,X))){if(Z.flags|=16777216,(q&335544128)===q||Wq(J,X))if(lB(Z.stateNode,J,X))Z.flags|=8192;else if(OB())Z.flags|=8192;else throw $8=vG,uq}else Z.flags&=-16777217}function bF(Z,J){if(NP(J)){if(Z.flags|=16777216,!H2(J))if(OB())Z.flags|=8192;else throw $8=vG,uq}else Z.flags&=-16777217}function zG(Z,J){J!==null&&(Z.flags|=4),Z.flags&16384&&(J=Z.tag!==22?w0():536870912,Z.lanes|=J,C8|=J)}function n4(Z,J){if(!p0)switch(Z.tailMode){case"hidden":J=Z.tail;for(var G=null;J!==null;)J.alternate!==null&&(G=J),J=J.sibling;G===null?Z.tail=null:G.sibling=null;break;case"collapsed":G=Z.tail;for(var X=null;G!==null;)G.alternate!==null&&(X=G),G=G.sibling;X===null?J||Z.tail===null?Z.tail=null:Z.tail.sibling=null:X.sibling=null}}function YZ(Z){var J=Z.alternate!==null&&Z.alternate.child===Z.child,G=0,X=0;if(J)if((Z.mode&2)!==A0){for(var{selfBaseDuration:q,child:j}=Z;j!==null;)G|=j.lanes|j.childLanes,X|=j.subtreeFlags&65011712,X|=j.flags&65011712,q+=j.treeBaseDuration,j=j.sibling;Z.treeBaseDuration=q}else for(q=Z.child;q!==null;)G|=q.lanes|q.childLanes,X|=q.subtreeFlags&65011712,X|=q.flags&65011712,q.return=Z,q=q.sibling;else if((Z.mode&2)!==A0){q=Z.actualDuration,j=Z.selfBaseDuration;for(var O=Z.child;O!==null;)G|=O.lanes|O.childLanes,X|=O.subtreeFlags,X|=O.flags,q+=O.actualDuration,j+=O.treeBaseDuration,O=O.sibling;Z.actualDuration=q,Z.treeBaseDuration=j}else for(q=Z.child;q!==null;)G|=q.lanes|q.childLanes,X|=q.subtreeFlags,X|=q.flags,q.return=Z,q=q.sibling;return Z.subtreeFlags|=X,Z.childLanes=G,J}function PM(Z,J,G){var X=J.pendingProps;switch(wJ(J),J.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return YZ(J),null;case 1:return YZ(J),null;case 3:if(G=J.stateNode,X=null,Z!==null&&(X=Z.memoizedState.cache),J.memoizedState.cache!==X&&(J.flags|=2048),aQ(uZ,J),$Z(J),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),Z===null||Z.child===null)j6(J)?(Q7(),D9(J)):Z===null||Z.memoizedState.isDehydrated&&(J.flags&256)===0||(J.flags|=1024,Z7());return fF(Z,J),YZ(J),null;case 26:if(M9){var{type:q,memoizedState:j}=J;return Z===null?(D9(J),j!==null?(YZ(J),bF(J,j)):(YZ(J),yU(J,q,null,X,G))):j?j!==Z.memoizedState?(D9(J),YZ(J),bF(J,j)):(YZ(J),J.flags&=-16777217):(j=Z.memoizedProps,cJ?j!==X&&D9(J):vU(Z,J,q,X),YZ(J),yU(J,q,j,X,G)),null}case 27:if(HJ){if(CZ(J),G=l0(P7.current),q=J.type,Z!==null&&J.stateNode!=null)cJ?Z.memoizedProps!==X&&D9(J):vU(Z,J,q,X);else{if(!X){if(J.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return YZ(J),null}Z=Y0(),j6(J)?q6(J,Z):(Z=F2(q,X,G,Z,!0),J.stateNode=Z,D9(J))}return YZ(J),null}case 5:if(CZ(J),q=J.type,Z!==null&&J.stateNode!=null)vU(Z,J,q,X);else{if(!X){if(J.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return YZ(J),null}if(j=Y0(),j6(J))q6(J,j),qP(J.stateNode,q,X,j)&&(J.flags|=64);else{var O=l0(P7.current);O=ZL(q,X,O,j,J),GG(J),wU(O,J,!1,!1),J.stateNode=O,cB(O,q,X,j)&&D9(J)}}return YZ(J),yU(J,J.type,Z===null?null:Z.memoizedProps,J.pendingProps,G),null;case 6:if(Z&&J.stateNode!=null)G=Z.memoizedProps,cJ?G!==X&&D9(J):c9&&(G!==X?(Z=l0(P7.current),G=Y0(),GG(J),J.stateNode=dB(X,Z,G,J)):J.stateNode=Z.stateNode);else{if(typeof X!=="string"&&J.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(Z=l0(P7.current),G=Y0(),j6(J)){if(!dJ)throw Error("Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");if(Z=J.stateNode,G=J.memoizedProps,q=!i9,X=null,j=TJ,j!==null)switch(j.tag){case 3:q&&(q=Q2(Z,G,X),q!==null&&(O9(J,0).serverProps=q));break;case 27:case 5:X=j.memoizedProps,q&&(q=Q2(Z,G,X),q!==null&&(O9(J,0).serverProps=q))}ZP(Z,G,J,X)||W9(J,!0)}else GG(J),J.stateNode=dB(X,Z,G,J)}return YZ(J),null;case 31:if(G=J.memoizedState,Z===null||Z.memoizedState!==null){if(X=j6(J),G!==null){if(Z===null){if(!X)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!dJ)throw Error("Expected prepareToHydrateHostActivityInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");if(Z=J.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");JP(Z,J),YZ(J),(J.mode&2)!==A0&&G!==null&&(Z=J.child,Z!==null&&(J.treeBaseDuration-=Z.treeBaseDuration))}else Q7(),dQ(),(J.flags&128)===0&&(G=J.memoizedState=null),J.flags|=4,YZ(J),(J.mode&2)!==A0&&G!==null&&(Z=J.child,Z!==null&&(J.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else G=Z7(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=G),Z=!0;if(!Z){if(J.flags&256)return SQ(J),J;return SQ(J),null}if((J.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return YZ(J),null;case 13:if(X=J.memoizedState,Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){if(q=X,j=j6(J),q!==null&&q.dehydrated!==null){if(Z===null){if(!j)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!dJ)throw Error("Expected prepareToHydrateHostSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");if(j=J.memoizedState,j=j!==null?j.dehydrated:null,!j)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");QP(j,J),YZ(J),(J.mode&2)!==A0&&q!==null&&(q=J.child,q!==null&&(J.treeBaseDuration-=q.treeBaseDuration))}else Q7(),dQ(),(J.flags&128)===0&&(q=J.memoizedState=null),J.flags|=4,YZ(J),(J.mode&2)!==A0&&q!==null&&(q=J.child,q!==null&&(J.treeBaseDuration-=q.treeBaseDuration));q=!1}else q=Z7(),Z!==null&&Z.memoizedState!==null&&(Z.memoizedState.hydrationErrors=q),q=!0;if(!q){if(J.flags&256)return SQ(J),J;return SQ(J),null}}if(SQ(J),(J.flags&128)!==0)return J.lanes=G,(J.mode&2)!==A0&&B6(J),J;return G=X!==null,Z=Z!==null&&Z.memoizedState!==null,G&&(X=J.child,q=null,X.alternate!==null&&X.alternate.memoizedState!==null&&X.alternate.memoizedState.cachePool!==null&&(q=X.alternate.memoizedState.cachePool.pool),j=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(j=X.memoizedState.cachePool.pool),j!==q&&(X.flags|=2048)),G!==Z&&G&&(J.child.flags|=8192),zG(J,J.updateQueue),YZ(J),(J.mode&2)!==A0&&G&&(Z=J.child,Z!==null&&(J.treeBaseDuration-=Z.treeBaseDuration)),null;case 4:return $Z(J),fF(Z,J),Z===null&&GL(J.stateNode.containerInfo),YZ(J),null;case 10:return aQ(J.type,J),YZ(J),null;case 19:if(d(nZ,J),X=J.memoizedState,X===null)return YZ(J),null;if(q=(J.flags&128)!==0,j=X.rendering,j===null)if(q)n4(X,!1);else{if(wZ!==w6||Z!==null&&(Z.flags&128)!==0)for(Z=J.child;Z!==null;){if(j=hK(Z),j!==null){J.flags|=128,n4(X,!1),Z=j.updateQueue,J.updateQueue=Z,zG(J,Z),J.subtreeFlags=0,Z=G;for(G=J.child;G!==null;)fB(G,Z),G=G.sibling;return i(nZ,nZ.current&u5|P1,J),p0&&KZ(J,X.treeForkCount),J.child}Z=Z.sibling}X.tail!==null&&FJ()>x1&&(J.flags|=128,q=!0,n4(X,!1),J.lanes=4194304)}else{if(!q)if(Z=hK(j),Z!==null){if(J.flags|=128,q=!0,Z=Z.updateQueue,J.updateQueue=Z,zG(J,Z),n4(X,!0),X.tail===null&&X.tailMode==="hidden"&&!j.alternate&&!p0)return YZ(J),null}else 2*FJ()-X.renderingStartTime>x1&&G!==536870912&&(J.flags|=128,q=!0,n4(X,!1),J.lanes=4194304);X.isBackwards?(j.sibling=J.child,J.child=j):(Z=X.last,Z!==null?Z.sibling=j:J.child=j,X.last=j)}if(X.tail!==null)return Z=X.tail,X.rendering=Z,X.tail=Z.sibling,X.renderingStartTime=FJ(),Z.sibling=null,G=nZ.current,G=q?G&u5|P1:G&u5,i(nZ,G,J),p0&&KZ(J,X.treeForkCount),Z;return YZ(J),null;case 22:case 23:return SQ(J),nX(J),X=J.memoizedState!==null,Z!==null?Z.memoizedState!==null!==X&&(J.flags|=8192):X&&(J.flags|=8192),X?(G&536870912)!==0&&(J.flags&128)===0&&(YZ(J),J.subtreeFlags&6&&(J.flags|=8192)):YZ(J),G=J.updateQueue,G!==null&&zG(J,G.retryQueue),G=null,Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(G=Z.memoizedState.cachePool.pool),X=null,J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(X=J.memoizedState.cachePool.pool),X!==G&&(J.flags|=2048),Z!==null&&d(P8,J),null;case 24:return G=null,Z!==null&&(G=Z.memoizedState.cache),J.memoizedState.cache!==G&&(J.flags|=2048),aQ(uZ,J),YZ(J),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+J.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function _M(Z,J){switch(wJ(J),J.tag){case 1:return Z=J.flags,Z&65536?(J.flags=Z&-65537|128,(J.mode&2)!==A0&&B6(J),J):null;case 3:return aQ(uZ,J),$Z(J),Z=J.flags,(Z&65536)!==0&&(Z&128)===0?(J.flags=Z&-65537|128,J):null;case 26:case 27:case 5:return CZ(J),null;case 31:if(J.memoizedState!==null){if(SQ(J),J.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");dQ()}return Z=J.flags,Z&65536?(J.flags=Z&-65537|128,(J.mode&2)!==A0&&B6(J),J):null;case 13:if(SQ(J),Z=J.memoizedState,Z!==null&&Z.dehydrated!==null){if(J.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");dQ()}return Z=J.flags,Z&65536?(J.flags=Z&-65537|128,(J.mode&2)!==A0&&B6(J),J):null;case 19:return d(nZ,J),null;case 4:return $Z(J),null;case 10:return aQ(J.type,J),null;case 22:case 23:return SQ(J),nX(J),Z!==null&&d(P8,J),Z=J.flags,Z&65536?(J.flags=Z&-65537|128,(J.mode&2)!==A0&&B6(J),J):null;case 24:return aQ(uZ,J),null;case 25:return null;default:return null}}function wF(Z,J){switch(wJ(J),J.tag){case 3:aQ(uZ,J),$Z(J);break;case 26:case 27:case 5:CZ(J);break;case 4:$Z(J);break;case 31:J.memoizedState!==null&&SQ(J);break;case 13:SQ(J);break;case 19:d(nZ,J);break;case 10:aQ(J.type,J);break;case 22:case 23:SQ(J),nX(J),Z!==null&&d(P8,J);break;case 24:aQ(uZ,J)}}function m9(Z){return(Z.mode&2)!==A0}function vF(Z,J){m9(Z)?(ZQ(),s4(J,Z),DQ()):s4(J,Z)}function gU(Z,J,G){m9(Z)?(ZQ(),D5(G,Z,J),DQ()):D5(G,Z,J)}function s4(Z,J){try{var G=J.updateQueue,X=G!==null?G.lastEffect:null;if(X!==null){var q=X.next;G=q;do{if((G.tag&Z)===Z&&(X=void 0,(Z&UQ)!==gG&&(o5=!0),X=J0(J,yP,G),(Z&UQ)!==gG&&(o5=!1),X!==void 0&&typeof X!=="function")){var j=void 0;j=(G.tag&yQ)!==0?"useLayoutEffect":(G.tag&UQ)!==0?"useInsertionEffect":"useEffect";var O=void 0;O=X===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof X.then==="function"?`
103
-
104
- It looks like you wrote `+j+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
105
-
106
- `+j+`(() => {
107
- async function fetchData() {
108
- // You can await here
109
- const response = await MyAPI.getData(someId);
110
- // ...
111
- }
112
- fetchData();
113
- }, [someId]); // Or [] if effect doesn't need props or state
114
-
115
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+X,J0(J,function(V,P){console.error("%s must not return anything besides a function, which is used for clean-up.%s",V,P)},j,O)}G=G.next}while(G!==q)}}catch(V){e0(J,J.return,V)}}function D5(Z,J,G){try{var X=J.updateQueue,q=X!==null?X.lastEffect:null;if(q!==null){var j=q.next;X=j;do{if((X.tag&Z)===Z){var O=X.inst,V=O.destroy;V!==void 0&&(O.destroy=void 0,(Z&UQ)!==gG&&(o5=!0),q=J,J0(q,gP,q,G,V),(Z&UQ)!==gG&&(o5=!1))}X=X.next}while(X!==j)}}catch(P){e0(J,J.return,P)}}function yF(Z,J){m9(Z)?(ZQ(),s4(J,Z),DQ()):s4(J,Z)}function mU(Z,J,G){m9(Z)?(ZQ(),D5(G,Z,J),DQ()):D5(G,Z,J)}function gF(Z){var J=Z.updateQueue;if(J!==null){var G=Z.stateNode;Z.type.defaultProps||"ref"in Z.memoizedProps||d5||(G.props!==Z.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",S(Z)||"instance"),G.state!==Z.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",S(Z)||"instance"));try{J0(Z,hH,J,G)}catch(X){e0(Z,Z.return,X)}}}function $M(Z,J,G){return Z.getSnapshotBeforeUpdate(J,G)}function RM(Z,J){var{memoizedProps:G,memoizedState:X}=J;J=Z.stateNode,Z.type.defaultProps||"ref"in Z.memoizedProps||d5||(J.props!==Z.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",S(Z)||"instance"),J.state!==Z.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",S(Z)||"instance"));try{var q=X8(Z.type,G),j=J0(Z,$M,J,q,X);G=PO,j!==void 0||G.has(Z.type)||(G.add(Z.type),J0(Z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",S(Z))})),J.__reactInternalSnapshotBeforeUpdate=j}catch(O){e0(Z,Z.return,O)}}function mF(Z,J,G){G.props=X8(Z.type,Z.memoizedProps),G.state=Z.memoizedState,m9(Z)?(ZQ(),J0(Z,h2,Z,J,G),DQ()):J0(Z,h2,Z,J,G)}function IM(Z){var J=Z.ref;if(J!==null){switch(Z.tag){case 26:case 27:case 5:var G=_5(Z.stateNode);break;case 30:G=Z.stateNode;break;default:G=Z.stateNode}if(typeof J==="function")if(m9(Z))try{ZQ(),Z.refCleanup=J(G)}finally{DQ()}else Z.refCleanup=J(G);else typeof J==="string"?console.error("String refs are no longer supported."):J.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",S(Z)),J.current=G}}function o4(Z,J){try{J0(Z,IM,Z)}catch(G){e0(Z,J,G)}}function u9(Z,J){var{ref:G,refCleanup:X}=Z;if(G!==null)if(typeof X==="function")try{if(m9(Z))try{ZQ(),J0(Z,X)}finally{DQ(Z)}else J0(Z,X)}catch(q){e0(Z,J,q)}finally{Z.refCleanup=null,Z=Z.alternate,Z!=null&&(Z.refCleanup=null)}else if(typeof G==="function")try{if(m9(Z))try{ZQ(),J0(Z,G,null)}finally{DQ(Z)}else J0(Z,G,null)}catch(q){e0(Z,J,q)}else G.current=null}function uF(Z,J,G,X){var q=Z.memoizedProps,j=q.id,O=q.onCommit;q=q.onRender,J=J===null?"mount":"update",CG&&(J="nested-update"),typeof q==="function"&&q(j,J,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,G),typeof O==="function"&&O(j,J,X,G)}function kM(Z,J,G,X){var q=Z.memoizedProps;Z=q.id,q=q.onPostCommit,J=J===null?"mount":"update",CG&&(J="nested-update"),typeof q==="function"&&q(Z,J,X,G)}function hF(Z){var{type:J,memoizedProps:G,stateNode:X}=Z;try{J0(Z,IL,X,J,G,Z)}catch(q){e0(Z,Z.return,q)}}function uU(Z,J,G){try{J0(Z,kL,Z.stateNode,Z.type,G,J,Z)}catch(X){e0(Z,Z.return,X)}}function pF(Z){return Z.tag===5||Z.tag===3||(M9?Z.tag===26:!1)||(HJ?Z.tag===27&&I5(Z.type):!1)||Z.tag===4}function hU(Z){Z:for(;;){for(;Z.sibling===null;){if(Z.return===null||pF(Z.return))return null;Z=Z.return}Z.sibling.return=Z.return;for(Z=Z.sibling;Z.tag!==5&&Z.tag!==6&&Z.tag!==18;){if(HJ&&Z.tag===27&&I5(Z.type))continue Z;if(Z.flags&2)continue Z;if(Z.child===null||Z.tag===4)continue Z;else Z.child.return=Z,Z=Z.child}if(!(Z.flags&2))return Z.stateNode}}function pU(Z,J,G){var X=Z.tag;if(X===5||X===6)Z=Z.stateNode,J?TL(G,Z,J):$L(G,Z);else if(X!==4&&(HJ&&X===27&&I5(Z.type)&&(G=Z.stateNode,J=null),Z=Z.child,Z!==null))for(pU(Z,J,G),Z=Z.sibling;Z!==null;)pU(Z,J,G),Z=Z.sibling}function XG(Z,J,G){var X=Z.tag;if(X===5||X===6)Z=Z.stateNode,J?EL(G,Z,J):_L(G,Z);else if(X!==4&&(HJ&&X===27&&I5(Z.type)&&(G=Z.stateNode),Z=Z.child,Z!==null))for(XG(Z,J,G),Z=Z.sibling;Z!==null;)XG(Z,J,G),Z=Z.sibling}function EM(Z){for(var J,G=Z.return;G!==null;){if(pF(G)){J=G;break}G=G.return}if(cJ){if(J==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(J.tag){case 27:if(HJ){J=J.stateNode,G=hU(Z),XG(Z,G,J);break}case 5:G=J.stateNode,J.flags&32&&(iB(G),J.flags&=-33),J=hU(Z),XG(Z,J,G);break;case 3:case 4:J=J.stateNode.containerInfo,G=hU(Z),pU(Z,G,J);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}}function cF(Z,J,G){Z=Z.containerInfo;try{J0(J,oB,Z,G)}catch(X){e0(J,J.return,X)}}function dF(Z){var{stateNode:J,memoizedProps:G}=Z;try{J0(Z,LP,Z.type,G,J,Z)}catch(X){e0(Z,Z.return,X)}}function lF(Z,J){return J.tag===31?(J=J.memoizedState,Z.memoizedState!==null&&J===null):J.tag===13?(Z=Z.memoizedState,J=J.memoizedState,Z!==null&&Z.dehydrated!==null&&(J===null||J.dehydrated===null)):J.tag===3?Z.memoizedState.isDehydrated&&(J.flags&256)===0:!1}function TM(Z,J){tM(Z.containerInfo);for(AJ=J;AJ!==null;)if(Z=AJ,J=Z.child,(Z.subtreeFlags&1028)!==0&&J!==null)J.return=Z,AJ=J;else for(;AJ!==null;){J=Z=AJ;var{alternate:G,flags:X}=J;switch(J.tag){case 0:if((X&4)!==0&&(J=J.updateQueue,J=J!==null?J.events:null,J!==null))for(G=0;G<J.length;G++)X=J[G],X.ref.impl=X.nextImpl;break;case 11:case 15:break;case 1:(X&1024)!==0&&G!==null&&RM(J,G);break;case 3:(X&1024)!==0&&cJ&&vL(J.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((X&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(J=Z.sibling,J!==null){J.return=Z.return,AJ=J;break}AJ=Z.return}}function aF(Z,J,G){var X=qJ(),q=eJ(),j=RJ(),O=mJ(),V=G.flags;switch(G.tag){case 0:case 11:case 15:h9(Z,G),V&4&&vF(G,yQ|Z9);break;case 1:if(h9(Z,G),V&4)if(Z=G.stateNode,J===null)G.type.defaultProps||"ref"in G.memoizedProps||d5||(Z.props!==G.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",S(G)||"instance"),Z.state!==G.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",S(G)||"instance")),m9(G)?(ZQ(),J0(G,mq,G,Z),DQ()):J0(G,mq,G,Z);else{var P=X8(G.type,J.memoizedProps);J=J.memoizedState,G.type.defaultProps||"ref"in G.memoizedProps||d5||(Z.props!==G.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",S(G)||"instance"),Z.state!==G.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",S(G)||"instance")),m9(G)?(ZQ(),J0(G,g2,G,Z,P,J,Z.__reactInternalSnapshotBeforeUpdate),DQ()):J0(G,g2,G,Z,P,J,Z.__reactInternalSnapshotBeforeUpdate)}V&64&&gF(G),V&512&&o4(G,G.return);break;case 3:if(J=TQ(),h9(Z,G),V&64&&(V=G.updateQueue,V!==null)){if(P=null,G.child!==null)switch(G.child.tag){case 27:case 5:P=_5(G.child.stateNode);break;case 1:P=G.child.stateNode}try{J0(G,hH,V,P)}catch(b){e0(G,G.return,b)}}Z.effectDuration+=e7(J);break;case 27:HJ&&J===null&&V&4&&dF(G);case 26:case 5:if(h9(Z,G),J===null){if(V&4)hF(G);else if(V&64){Z=G.type,J=G.memoizedProps,P=G.stateNode;try{J0(G,GP,P,Z,J,G)}catch(b){e0(G,G.return,b)}}}V&512&&o4(G,G.return);break;case 12:if(V&4){V=TQ(),h9(Z,G),Z=G.stateNode,Z.effectDuration+=X7(V);try{J0(G,uF,G,J,$7,Z.effectDuration)}catch(b){e0(G,G.return,b)}}else h9(Z,G);break;case 31:h9(Z,G),V&4&&nF(Z,G);break;case 13:h9(Z,G),V&4&&sF(Z,G),V&64&&(Z=G.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&(V=gM.bind(null,G),uL(Z,V))));break;case 22:if(V=G.memoizedState!==null||b6,!V){J=J!==null&&J.memoizedState!==null||KJ,P=b6;var k=KJ;b6=V,(KJ=J)&&!k?(p9(Z,G,(G.subtreeFlags&8772)!==0),(G.mode&2)!==A0&&0<=F0&&0<=D0&&0.05<D0-F0&&$Q(G,F0,D0)):h9(Z,G),b6=P,KJ=k}break;case 30:break;default:h9(Z,G)}(G.mode&2)!==A0&&0<=F0&&0<=D0&&((hZ||0.05<bZ)&&V0(G,F0,D0,bZ,RZ),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<D0-F0&&(lF(G.return.alternate,G.return)||_J(G,F0,D0,"Mount"))),gJ(X),$J(q),RZ=j,hZ=O}function iF(Z){var J=Z.alternate;J!==null&&(Z.alternate=null,iF(J)),Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===5&&(J=Z.stateNode,J!==null&&UL(J)),Z.stateNode=null,Z._debugOwner=null,Z.return=null,Z.dependencies=null,Z.memoizedProps=null,Z.memoizedState=null,Z.pendingProps=null,Z.stateNode=null,Z.updateQueue=null}function A9(Z,J,G){for(G=G.child;G!==null;)cU(Z,J,G),G=G.sibling}function cU(Z,J,G){if(lJ&&typeof lJ.onCommitFiberUnmount==="function")try{lJ.onCommitFiberUnmount(k5,G)}catch(k){d9||(d9=!0,console.error("React instrumentation encountered an error: %o",k))}var X=qJ(),q=eJ(),j=RJ(),O=mJ();switch(G.tag){case 26:if(M9){KJ||u9(G,J),A9(Z,J,G),G.memoizedState?U2(G.memoizedState):G.stateNode&&j2(G.stateNode);break}case 27:if(HJ){KJ||u9(G,J);var V=GJ,P=NQ;I5(G.type)&&(GJ=G.stateNode,NQ=!1),A9(Z,J,G),J0(G,B2,G.stateNode),GJ=V,NQ=P;break}case 5:KJ||u9(G,J);case 6:if(cJ){if(V=GJ,P=NQ,GJ=null,A9(Z,J,G),GJ=V,NQ=P,GJ!==null)if(NQ)try{J0(G,xL,GJ,G.stateNode)}catch(k){e0(G,J,k)}else try{J0(G,CL,GJ,G.stateNode)}catch(k){e0(G,J,k)}}else A9(Z,J,G);break;case 18:cJ&&GJ!==null&&(NQ?FP(GJ,G.stateNode):HP(GJ,G.stateNode));break;case 4:cJ?(V=GJ,P=NQ,GJ=G.stateNode.containerInfo,NQ=!0,A9(Z,J,G),GJ=V,NQ=P):(c9&&cF(G.stateNode,G,nB()),A9(Z,J,G));break;case 0:case 11:case 14:case 15:D5(UQ,G,J),KJ||gU(G,J,yQ),A9(Z,J,G);break;case 1:KJ||(u9(G,J),V=G.stateNode,typeof V.componentWillUnmount==="function"&&mF(G,J,V)),A9(Z,J,G);break;case 21:A9(Z,J,G);break;case 22:KJ=(V=KJ)||G.memoizedState!==null,A9(Z,J,G),KJ=V;break;default:A9(Z,J,G)}(G.mode&2)!==A0&&0<=F0&&0<=D0&&(hZ||0.05<bZ)&&V0(G,F0,D0,bZ,RZ),gJ(X),$J(q),RZ=j,hZ=O}function nF(Z,J){if(dJ&&J.memoizedState===null&&(Z=J.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null))){Z=Z.dehydrated;try{J0(J,XP,Z)}catch(G){e0(J,J.return,G)}}}function sF(Z,J){if(dJ&&J.memoizedState===null&&(Z=J.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null))))try{J0(J,UP,Z)}catch(G){e0(J,J.return,G)}}function CM(Z){switch(Z.tag){case 31:case 13:case 19:var J=Z.stateNode;return J===null&&(J=Z.stateNode=new _O),J;case 22:return Z=Z.stateNode,J=Z._retryCache,J===null&&(J=Z._retryCache=new _O),J;default:throw Error("Unexpected Suspense handler tag ("+Z.tag+"). This is a bug in React.")}}function UG(Z,J){var G=CM(Z);J.forEach(function(X){if(!G.has(X)){if(G.add(X),l9)if(l5!==null&&a5!==null)e4(a5,l5);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var q=mM.bind(null,Z,X);X.then(q,q)}})}function pJ(Z,J){var G=J.deletions;if(G!==null)for(var X=0;X<G.length;X++){var q=Z,j=J,O=G[X],V=qJ();if(cJ){var P=j;Z:for(;P!==null;){switch(P.tag){case 27:if(HJ){if(I5(P.type)){GJ=P.stateNode,NQ=!1;break Z}break}case 5:GJ=P.stateNode,NQ=!1;break Z;case 3:case 4:GJ=P.stateNode.containerInfo,NQ=!0;break Z}P=P.return}if(GJ===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");cU(q,j,O),GJ=null,NQ=!1}else cU(q,j,O);(O.mode&2)!==A0&&0<=F0&&0<=D0&&0.05<D0-F0&&_J(O,F0,D0,"Unmount"),gJ(V),q=O,j=q.alternate,j!==null&&(j.return=null),q.return=null}if(J.subtreeFlags&13886)for(J=J.child;J!==null;)oF(J,Z),J=J.sibling}function oF(Z,J){var G=qJ(),X=eJ(),q=RJ(),j=mJ(),O=Z.alternate,V=Z.flags;switch(Z.tag){case 0:case 11:case 14:case 15:pJ(J,Z),KQ(Z),V&4&&(D5(UQ|Z9,Z,Z.return),s4(UQ|Z9,Z),gU(Z,Z.return,yQ|Z9));break;case 1:pJ(J,Z),KQ(Z),V&512&&(KJ||O===null||u9(O,O.return)),V&64&&b6&&(V=Z.updateQueue,V!==null&&(O=V.callbacks,O!==null&&(J=V.shared.hiddenCallbacks,V.shared.hiddenCallbacks=J===null?O:J.concat(O))));break;case 26:if(M9){var P=_9;pJ(J,Z),KQ(Z),V&512&&(KJ||O===null||u9(O,O.return)),V&4&&(V=O!==null?O.memoizedState:null,J=Z.memoizedState,O===null?J===null?Z.stateNode===null?Z.stateNode=VP(P,Z.type,Z.memoizedProps,Z):q2(P,Z.type,Z.stateNode):Z.stateNode=X2(P,J,Z.memoizedProps):V!==J?(V===null?O.stateNode!==null&&j2(O.stateNode):U2(V),J===null?q2(P,Z.type,Z.stateNode):X2(P,J,Z.memoizedProps)):J===null&&Z.stateNode!==null&&uU(Z,Z.memoizedProps,O.memoizedProps));break}case 27:if(HJ){pJ(J,Z),KQ(Z),V&512&&(KJ||O===null||u9(O,O.return)),O!==null&&V&4&&uU(Z,Z.memoizedProps,O.memoizedProps);break}case 5:if(pJ(J,Z),KQ(Z),V&512&&(KJ||O===null||u9(O,O.return)),cJ){if(Z.flags&32){J=Z.stateNode;try{J0(Z,iB,J)}catch(HZ){e0(Z,Z.return,HZ)}}V&4&&Z.stateNode!=null&&(J=Z.memoizedProps,uU(Z,J,O!==null?O.memoizedProps:J)),V&1024&&(eq=!0,Z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."))}else c9&&Z.alternate!==null&&(Z.alternate.stateNode=Z.stateNode);break;case 6:if(pJ(J,Z),KQ(Z),V&4&&cJ){if(Z.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");V=Z.memoizedProps,O=O!==null?O.memoizedProps:V,J=Z.stateNode;try{J0(Z,RL,J,O,V)}catch(HZ){e0(Z,Z.return,HZ)}}break;case 3:if(P=TQ(),M9){AP();var k=_9;_9=Aq(J.containerInfo),pJ(J,Z),_9=k}else pJ(J,Z);if(KQ(Z),V&4){if(cJ&&dJ&&O!==null&&O.memoizedState.isDehydrated)try{J0(Z,zP,J.containerInfo)}catch(HZ){e0(Z,Z.return,HZ)}if(c9){V=J.containerInfo,O=J.pendingChildren;try{J0(Z,oB,V,O)}catch(HZ){e0(Z,Z.return,HZ)}}}eq&&(eq=!1,rF(Z)),J.effectDuration+=e7(P);break;case 4:M9?(O=_9,_9=Aq(Z.stateNode.containerInfo),pJ(J,Z),KQ(Z),_9=O):(pJ(J,Z),KQ(Z)),V&4&&c9&&cF(Z.stateNode,Z,Z.stateNode.pendingChildren);break;case 12:V=TQ(),pJ(J,Z),KQ(Z),Z.stateNode.effectDuration+=X7(V);break;case 31:pJ(J,Z),KQ(Z),V&4&&(V=Z.updateQueue,V!==null&&(Z.updateQueue=null,UG(Z,V)));break;case 13:pJ(J,Z),KQ(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(O!==null&&O.memoizedState!==null)&&(Zz=FJ()),V&4&&(V=Z.updateQueue,V!==null&&(Z.updateQueue=null,UG(Z,V)));break;case 22:P=Z.memoizedState!==null;var b=O!==null&&O.memoizedState!==null,v=b6,c=KJ;if(b6=v||P,KJ=c||b,pJ(J,Z),KJ=c,b6=v,b&&!P&&!v&&!c&&(Z.mode&2)!==A0&&0<=F0&&0<=D0&&0.05<D0-F0&&$Q(Z,F0,D0),KQ(Z),V&8192&&(J=Z.stateNode,J._visibility=P?J._visibility&~L1:J._visibility|L1,!P||O===null||b||b6||KJ||(U8(Z),(Z.mode&2)!==A0&&0<=F0&&0<=D0&&0.05<D0-F0&&_J(Z,F0,D0,"Disconnect")),cJ))Z:if(O=null,cJ)for(J=Z;;){if(J.tag===5||M9&&J.tag===26){if(O===null){b=O=J;try{k=b.stateNode,P?J0(b,SL,k):J0(b,bL,b.stateNode,b.memoizedProps)}catch(HZ){e0(b,b.return,HZ)}}}else if(J.tag===6){if(O===null){b=J;try{var q0=b.stateNode;P?J0(b,fL,q0):J0(b,wL,q0,b.memoizedProps)}catch(HZ){e0(b,b.return,HZ)}}}else if(J.tag===18){if(O===null){b=J;try{var L0=b.stateNode;P?J0(b,BP,L0):J0(b,OP,b.stateNode)}catch(HZ){e0(b,b.return,HZ)}}}else if((J.tag!==22&&J.tag!==23||J.memoizedState===null||J===Z)&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===Z)break Z;for(;J.sibling===null;){if(J.return===null||J.return===Z)break Z;O===J&&(O=null),J=J.return}O===J&&(O=null),J.sibling.return=J.return,J=J.sibling}V&4&&(V=Z.updateQueue,V!==null&&(O=V.retryQueue,O!==null&&(V.retryQueue=null,UG(Z,O))));break;case 19:pJ(J,Z),KQ(Z),V&4&&(V=Z.updateQueue,V!==null&&(Z.updateQueue=null,UG(Z,V)));break;case 30:break;case 21:break;default:pJ(J,Z),KQ(Z)}(Z.mode&2)!==A0&&0<=F0&&0<=D0&&((hZ||0.05<bZ)&&V0(Z,F0,D0,bZ,RZ),Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null&&0.05<D0-F0&&(lF(Z.return.alternate,Z.return)||_J(Z,F0,D0,"Mount"))),gJ(G),$J(X),RZ=q,hZ=j}function KQ(Z){var J=Z.flags;if(J&2){try{J0(Z,EM,Z)}catch(G){e0(Z,Z.return,G)}Z.flags&=-3}J&4096&&(Z.flags&=-4097)}function rF(Z){if(Z.subtreeFlags&1024)for(Z=Z.child;Z!==null;){var J=Z;rF(J),J.tag===5&&J.flags&1024&&OL(J.stateNode),Z=Z.sibling}}function h9(Z,J){if(J.subtreeFlags&8772)for(J=J.child;J!==null;)aF(Z,J.alternate,J),J=J.sibling}function tF(Z){var J=qJ(),G=eJ(),X=RJ(),q=mJ();switch(Z.tag){case 0:case 11:case 14:case 15:gU(Z,Z.return,yQ),U8(Z);break;case 1:u9(Z,Z.return);var j=Z.stateNode;typeof j.componentWillUnmount==="function"&&mF(Z,Z.return,j),U8(Z);break;case 27:HJ&&J0(Z,B2,Z.stateNode);case 26:case 5:u9(Z,Z.return),U8(Z);break;case 22:Z.memoizedState===null&&U8(Z);break;case 30:U8(Z);break;default:U8(Z)}(Z.mode&2)!==A0&&0<=F0&&0<=D0&&(hZ||0.05<bZ)&&V0(Z,F0,D0,bZ,RZ),gJ(J),$J(G),RZ=X,hZ=q}function U8(Z){for(Z=Z.child;Z!==null;)tF(Z),Z=Z.sibling}function eF(Z,J,G,X){var q=qJ(),j=eJ(),O=RJ(),V=mJ(),P=G.flags;switch(G.tag){case 0:case 11:case 15:p9(Z,G,X),vF(G,yQ);break;case 1:if(p9(Z,G,X),J=G.stateNode,typeof J.componentDidMount==="function"&&J0(G,mq,G,J),J=G.updateQueue,J!==null){Z=G.stateNode;try{J0(G,BM,J,Z)}catch(k){e0(G,G.return,k)}}X&&P&64&&gF(G),o4(G,G.return);break;case 27:HJ&&dF(G);case 26:case 5:p9(Z,G,X),X&&J===null&&P&4&&hF(G),o4(G,G.return);break;case 12:if(X&&P&4){P=TQ(),p9(Z,G,X),X=G.stateNode,X.effectDuration+=X7(P);try{J0(G,uF,G,J,$7,X.effectDuration)}catch(k){e0(G,G.return,k)}}else p9(Z,G,X);break;case 31:p9(Z,G,X),X&&P&4&&nF(Z,G);break;case 13:p9(Z,G,X),X&&P&4&&sF(Z,G);break;case 22:G.memoizedState===null&&p9(Z,G,X),o4(G,G.return);break;case 30:break;default:p9(Z,G,X)}(G.mode&2)!==A0&&0<=F0&&0<=D0&&(hZ||0.05<bZ)&&V0(G,F0,D0,bZ,RZ),gJ(q),$J(j),RZ=O,hZ=V}function p9(Z,J,G){G=G&&(J.subtreeFlags&8772)!==0;for(J=J.child;J!==null;)eF(Z,J.alternate,J,G),J=J.sibling}function dU(Z,J){var G=null;Z!==null&&Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(G=Z.memoizedState.cachePool.pool),Z=null,J.memoizedState!==null&&J.memoizedState.cachePool!==null&&(Z=J.memoizedState.cachePool.pool),Z!==G&&(Z!=null&&EQ(Z),G!=null&&z7(G))}function lU(Z,J){Z=null,J.alternate!==null&&(Z=J.alternate.memoizedState.cache),J=J.memoizedState.cache,J!==Z&&(EQ(J),Z!=null&&z7(Z))}function N9(Z,J,G,X,q){if(J.subtreeFlags&10256||J.actualDuration!==0&&(J.alternate===null||J.alternate.child!==J.child))for(J=J.child;J!==null;){var j=J.sibling;ZB(Z,J,G,X,j!==null?j.actualStartTime:q),J=j}}function ZB(Z,J,G,X,q){var j=qJ(),O=eJ(),V=RJ(),P=mJ(),k=N7,b=J.flags;switch(J.tag){case 0:case 11:case 15:(J.mode&2)!==A0&&0<J.actualStartTime&&(J.flags&1)!==0&&X0(J,J.actualStartTime,q,BJ,G),N9(Z,J,G,X,q),b&2048&&yF(J,qQ|Z9);break;case 1:(J.mode&2)!==A0&&0<J.actualStartTime&&((J.flags&128)!==0?$0(J,J.actualStartTime,q,[]):(J.flags&1)!==0&&X0(J,J.actualStartTime,q,BJ,G)),N9(Z,J,G,X,q);break;case 3:var v=TQ(),c=BJ;BJ=J.alternate!==null&&J.alternate.memoizedState.isDehydrated&&(J.flags&256)===0,N9(Z,J,G,X,q),BJ=c,b&2048&&(G=null,J.alternate!==null&&(G=J.alternate.memoizedState.cache),X=J.memoizedState.cache,X!==G&&(EQ(X),G!=null&&z7(G))),Z.passiveEffectDuration+=e7(v);break;case 12:if(b&2048){b=TQ(),N9(Z,J,G,X,q),Z=J.stateNode,Z.passiveEffectDuration+=X7(b);try{J0(J,kM,J,J.alternate,$7,Z.passiveEffectDuration)}catch(q0){e0(J,J.return,q0)}}else N9(Z,J,G,X,q);break;case 31:b=BJ,v=J.alternate!==null?J.alternate.memoizedState:null,c=J.memoizedState,v!==null&&c===null?(c=J.deletions,c!==null&&0<c.length&&c[0].tag===18?(BJ=!1,v=v.hydrationErrors,v!==null&&$0(J,J.actualStartTime,q,v)):BJ=!0):BJ=!1,N9(Z,J,G,X,q),BJ=b;break;case 13:b=BJ,v=J.alternate!==null?J.alternate.memoizedState:null,c=J.memoizedState,v===null||v.dehydrated===null||c!==null&&c.dehydrated!==null?BJ=!1:(c=J.deletions,c!==null&&0<c.length&&c[0].tag===18?(BJ=!1,v=v.hydrationErrors,v!==null&&$0(J,J.actualStartTime,q,v)):BJ=!0),N9(Z,J,G,X,q),BJ=b;break;case 23:break;case 22:c=J.stateNode,v=J.alternate,J.memoizedState!==null?c._visibility&C6?N9(Z,J,G,X,q):r4(Z,J,G,X,q):c._visibility&C6?N9(Z,J,G,X,q):(c._visibility|=C6,A5(Z,J,G,X,(J.subtreeFlags&10256)!==0||J.actualDuration!==0&&(J.alternate===null||J.alternate.child!==J.child),q),(J.mode&2)===A0||BJ||(Z=J.actualStartTime,0<=Z&&0.05<q-Z&&$Q(J,Z,q),0<=F0&&0<=D0&&0.05<D0-F0&&$Q(J,F0,D0))),b&2048&&dU(v,J);break;case 24:N9(Z,J,G,X,q),b&2048&&lU(J.alternate,J);break;default:N9(Z,J,G,X,q)}if((J.mode&2)!==A0){if(Z=!BJ&&J.alternate===null&&J.return!==null&&J.return.alternate!==null)G=J.actualStartTime,0<=G&&0.05<q-G&&_J(J,G,q,"Mount");0<=F0&&0<=D0&&((hZ||0.05<bZ)&&V0(J,F0,D0,bZ,RZ),Z&&0.05<D0-F0&&_J(J,F0,D0,"Mount"))}gJ(j),$J(O),RZ=V,hZ=P,N7=k}function A5(Z,J,G,X,q,j){q=q&&((J.subtreeFlags&10256)!==0||J.actualDuration!==0&&(J.alternate===null||J.alternate.child!==J.child));for(J=J.child;J!==null;){var O=J.sibling;JB(Z,J,G,X,q,O!==null?O.actualStartTime:j),J=O}}function JB(Z,J,G,X,q,j){var O=qJ(),V=eJ(),P=RJ(),k=mJ(),b=N7;q&&(J.mode&2)!==A0&&0<J.actualStartTime&&(J.flags&1)!==0&&X0(J,J.actualStartTime,j,BJ,G);var v=J.flags;switch(J.tag){case 0:case 11:case 15:A5(Z,J,G,X,q,j),yF(J,qQ);break;case 23:break;case 22:var c=J.stateNode;J.memoizedState!==null?c._visibility&C6?A5(Z,J,G,X,q,j):r4(Z,J,G,X,j):(c._visibility|=C6,A5(Z,J,G,X,q,j)),q&&v&2048&&dU(J.alternate,J);break;case 24:A5(Z,J,G,X,q,j),q&&v&2048&&lU(J.alternate,J);break;default:A5(Z,J,G,X,q,j)}(J.mode&2)!==A0&&0<=F0&&0<=D0&&(hZ||0.05<bZ)&&V0(J,F0,D0,bZ,RZ),gJ(O),$J(V),RZ=P,hZ=k,N7=b}function r4(Z,J,G,X,q){if(J.subtreeFlags&10256||J.actualDuration!==0&&(J.alternate===null||J.alternate.child!==J.child))for(var j=J.child;j!==null;){J=j.sibling;var O=Z,V=G,P=X,k=J!==null?J.actualStartTime:q,b=N7;(j.mode&2)!==A0&&0<j.actualStartTime&&(j.flags&1)!==0&&X0(j,j.actualStartTime,k,BJ,V);var v=j.flags;switch(j.tag){case 22:r4(O,j,V,P,k),v&2048&&dU(j.alternate,j);break;case 24:r4(O,j,V,P,k),v&2048&&lU(j.alternate,j);break;default:r4(O,j,V,P,k)}N7=b,j=J}}function q8(Z,J,G){if(Z.subtreeFlags&i5)for(Z=Z.child;Z!==null;)QB(Z,J,G),Z=Z.sibling}function QB(Z,J,G){switch(Z.tag){case 26:if(q8(Z,J,G),Z.flags&i5)if(Z.memoizedState!==null)MP(G,_9,Z.memoizedState,Z.memoizedProps);else{var{stateNode:X,type:q}=Z;Z=Z.memoizedProps,((J&335544128)===J||Wq(q,Z))&&aB(G,X,q,Z)}break;case 5:q8(Z,J,G),Z.flags&i5&&(X=Z.stateNode,q=Z.type,Z=Z.memoizedProps,((J&335544128)===J||Wq(q,Z))&&aB(G,X,q,Z));break;case 3:case 4:M9?(X=_9,_9=Aq(Z.stateNode.containerInfo),q8(Z,J,G),_9=X):q8(Z,J,G);break;case 22:Z.memoizedState===null&&(X=Z.alternate,X!==null&&X.memoizedState!==null?(X=i5,i5=16777216,q8(Z,J,G),i5=X):q8(Z,J,G));break;default:q8(Z,J,G)}}function KB(Z){var J=Z.alternate;if(J!==null&&(Z=J.child,Z!==null)){J.child=null;do J=Z.sibling,Z.sibling=null,Z=J;while(Z!==null)}}function t4(Z){var J=Z.deletions;if((Z.flags&16)!==0){if(J!==null)for(var G=0;G<J.length;G++){var X=J[G],q=qJ();AJ=X,XB(X,Z),(X.mode&2)!==A0&&0<=F0&&0<=D0&&0.05<D0-F0&&_J(X,F0,D0,"Unmount"),gJ(q)}KB(Z)}if(Z.subtreeFlags&10256)for(Z=Z.child;Z!==null;)GB(Z),Z=Z.sibling}function GB(Z){var J=qJ(),G=eJ(),X=RJ(),q=mJ();switch(Z.tag){case 0:case 11:case 15:t4(Z),Z.flags&2048&&mU(Z,Z.return,qQ|Z9);break;case 3:var j=TQ();t4(Z),Z.stateNode.passiveEffectDuration+=e7(j);break;case 12:j=TQ(),t4(Z),Z.stateNode.passiveEffectDuration+=X7(j);break;case 22:j=Z.stateNode,Z.memoizedState!==null&&j._visibility&C6&&(Z.return===null||Z.return.tag!==13)?(j._visibility&=~C6,qG(Z),(Z.mode&2)!==A0&&0<=F0&&0<=D0&&0.05<D0-F0&&_J(Z,F0,D0,"Disconnect")):t4(Z);break;default:t4(Z)}(Z.mode&2)!==A0&&0<=F0&&0<=D0&&(hZ||0.05<bZ)&&V0(Z,F0,D0,bZ,RZ),gJ(J),$J(G),hZ=q,RZ=X}function qG(Z){var J=Z.deletions;if((Z.flags&16)!==0){if(J!==null)for(var G=0;G<J.length;G++){var X=J[G],q=qJ();AJ=X,XB(X,Z),(X.mode&2)!==A0&&0<=F0&&0<=D0&&0.05<D0-F0&&_J(X,F0,D0,"Unmount"),gJ(q)}KB(Z)}for(Z=Z.child;Z!==null;)zB(Z),Z=Z.sibling}function zB(Z){var J=qJ(),G=eJ(),X=RJ(),q=mJ();switch(Z.tag){case 0:case 11:case 15:mU(Z,Z.return,qQ),qG(Z);break;case 22:var j=Z.stateNode;j._visibility&C6&&(j._visibility&=~C6,qG(Z));break;default:qG(Z)}(Z.mode&2)!==A0&&0<=F0&&0<=D0&&(hZ||0.05<bZ)&&V0(Z,F0,D0,bZ,RZ),gJ(J),$J(G),hZ=q,RZ=X}function XB(Z,J){for(;AJ!==null;){var G=AJ,X=G,q=J,j=qJ(),O=eJ(),V=RJ(),P=mJ();switch(X.tag){case 0:case 11:case 15:mU(X,q,qQ);break;case 23:case 22:X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(q=X.memoizedState.cachePool.pool,q!=null&&EQ(q));break;case 24:z7(X.memoizedState.cache)}if((X.mode&2)!==A0&&0<=F0&&0<=D0&&(hZ||0.05<bZ)&&V0(X,F0,D0,bZ,RZ),gJ(j),$J(O),hZ=P,RZ=V,X=G.child,X!==null)X.return=G,AJ=X;else Z:for(G=Z;AJ!==null;){if(X=AJ,j=X.sibling,O=X.return,iF(X),X===G){AJ=null;break Z}if(j!==null){j.return=O,AJ=j;break Z}AJ=O}}}function aU(Z){var J=KL(Z);if(J!=null){if(typeof J.memoizedProps["data-testname"]!=="string")throw Error("Invalid host root specified. Should be either a React container or a node with a testname attribute.");return J}if(Z=DL(Z),Z===null)throw Error("Could not find React container within specified host subtree.");return Z.stateNode.current}function iU(Z,J){var G=Z.tag;switch(J.$$typeof){case cG:if(Z.type===J.value)return!0;break;case dG:Z:{J=J.value,Z=[Z,0];for(G=0;G<Z.length;){var X=Z[G++],q=X.tag,j=Z[G++],O=J[j];if(q!==5&&q!==26&&q!==27||!K1(X)){for(;O!=null&&iU(X,O);)j++,O=J[j];if(j===J.length){J=!0;break Z}else for(X=X.child;X!==null;)Z.push(X,j),X=X.sibling}}J=!1}return J;case lG:if((G===5||G===26||G===27)&&ML(Z.stateNode,J.value))return!0;break;case iG:if(G===5||G===6||G===26||G===27){if(Z=NL(Z),Z!==null&&0<=Z.indexOf(J.value))return!0}break;case aG:if(G===5||G===26||G===27){if(Z=Z.memoizedProps["data-testname"],typeof Z==="string"&&Z.toLowerCase()===J.value.toLowerCase())return!0}break;default:throw Error("Invalid selector type specified.")}return!1}function nU(Z){switch(Z.$$typeof){case cG:return"<"+(y(Z.value)||"Unknown")+">";case dG:return":has("+(nU(Z)||"")+")";case lG:return'[role="'+Z.value+'"]';case iG:return'"'+Z.value+'"';case aG:return'[data-testname="'+Z.value+'"]';default:throw Error("Invalid selector type specified.")}}function UB(Z,J){var G=[];Z=[Z,0];for(var X=0;X<Z.length;){var q=Z[X++],j=q.tag,O=Z[X++],V=J[O];if(j!==5&&j!==26&&j!==27||!K1(q)){for(;V!=null&&iU(q,V);)O++,V=J[O];if(O===J.length)G.push(q);else for(q=q.child;q!==null;)Z.push(q,O),q=q.sibling}}return G}function jG(Z,J){if(!R5)throw Error("Test selector API is not supported by this renderer.");Z=aU(Z),Z=UB(Z,J),J=[],Z=Array.from(Z);for(var G=0;G<Z.length;){var X=Z[G++],q=X.tag;if(q===5||q===26||q===27)K1(X)||J.push(X.stateNode);else for(X=X.child;X!==null;)Z.push(X),X=X.sibling}return J}function xM(){R5&&nG.forEach(function(Z){return Z()})}function qB(){var Z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return Z||w.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),Z}function fQ(Z){if((c0&MJ)!==NJ&&f0!==0)return f0&-f0;var J=w.T;return J!==null?(J._updatedFibers||(J._updatedFibers=new Set),J._updatedFibers.add(Z),iQ()):zL()}function jB(){if(LQ===0)if((f0&536870912)===0||p0){var Z=NG;NG<<=1,(NG&3932160)===0&&(NG=262144),LQ=Z}else LQ=536870912;return Z=vQ.current,Z!==null&&(Z.flags|=32),LQ}function mZ(Z,J,G){if(o5&&console.error("useInsertionEffect must not schedule updates."),F3&&(Kz=!0),Z===OZ&&(UZ===E8||UZ===T8)||Z.cancelPendingCommit!==null)N5(Z,0),D7(Z,f0,LQ,!1);if(PZ(Z,G),(c0&MJ)!==NJ&&Z===OZ){if(a9)switch(J.tag){case 0:case 11:case 15:Z=v0&&S(v0)||"Unknown",yO.has(Z)||(yO.add(Z),J=S(J)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",J,Z,Z));break;case 1:vO||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),vO=!0)}}else l9&&oJ(Z,J,G),hM(J),Z===OZ&&((c0&MJ)===NJ&&(S7|=G),wZ===T7&&D7(Z,f0,LQ,!1)),lZ(Z)}function HB(Z,J,G){if((c0&(MJ|Q9))!==NJ)throw Error("Should not already be working.");if(f0!==0&&v0!==null){var X=v0,q=FJ();switch(C2){case E1:case E8:var j=F1;NZ&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Suspended",j,q,"Components ⚛",void 0,"primary-light")):console.timeStamp("Suspended",j,q,"Components ⚛",void 0,"primary-light"));break;case T8:j=F1,NZ&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Action",j,q,"Components ⚛",void 0,"primary-light")):console.timeStamp("Action",j,q,"Components ⚛",void 0,"primary-light"));break;default:NZ&&(X=q-F1,3>X||console.timeStamp("Blocked",F1,q,"Components ⚛",void 0,5>X?"primary-light":10>X?"primary":100>X?"primary-dark":"error"))}}j=(G=!G&&(J&127)===0&&(J&Z.expiredLanes)===0||G0(Z,J))?fM(Z,J):rU(Z,J,!0);var O=G;do{if(j===w6){n5&&!G&&D7(Z,J,0,!1),J=UZ,F1=ZJ(),C2=J;break}else{if(X=FJ(),q=Z.current.alternate,O&&!SM(q)){YJ(J),q=aJ,j=X,!NZ||j<=q||(iZ?iZ.run(console.timeStamp.bind(console,"Teared Render",q,j,u0,"Scheduler ⚛","error")):console.timeStamp("Teared Render",q,j,u0,"Scheduler ⚛","error")),j8(J,X),j=rU(Z,J,!1),O=!1;continue}if(j===k8){if(O=J,Z.errorRecoveryDisabledLanes&O)var V=0;else V=Z.pendingLanes&-536870913,V=V!==0?V:V&536870912?536870912:0;if(V!==0){YJ(J),W0(aJ,X,J,iZ),j8(J,X),J=V;Z:{X=Z,j=O,O=C1;var P=dJ&&X.current.memoizedState.isDehydrated;if(P&&(N5(X,V).flags|=256),V=rU(X,V,!1),V!==k8){if(Q3&&!P){X.errorRecoveryDisabledLanes|=j,S7|=j,j=T7;break Z}X=jQ,jQ=O,X!==null&&(jQ===null?jQ=X:jQ.push.apply(jQ,X))}j=V}if(O=!1,j!==k8)continue;else X=FJ()}}if(j===k1){YJ(J),W0(aJ,X,J,iZ),j8(J,X),N5(Z,0),D7(Z,J,0,!0);break}Z:{switch(G=Z,j){case w6:case k1:throw Error("Root did not complete. This is a bug in React.");case T7:if((J&4194048)!==J)break;case oG:YJ(J),i0(aJ,X,J,iZ),j8(J,X),q=J,(q&127)!==0?EG=X:(q&4194048)!==0&&(TG=X),D7(G,J,LQ,!C7);break Z;case k8:jQ=null;break;case sG:case $O:break;default:throw Error("Unknown root exit status.")}if(w.actQueue!==null)tU(G,q,J,jQ,S1,eG,LQ,S7,C8,j,null,null,aJ,X);else{if((J&62914560)===J&&(O=Zz+kO-FJ(),10<O)){if(D7(G,J,LQ,!C7),a(G,0,!0)!==0)break Z;$9=J,G.timeoutHandle=JL(FB.bind(null,G,q,jQ,S1,eG,J,LQ,S7,C8,C7,j,"Throttled",aJ,X),O);break Z}FB(G,q,jQ,S1,eG,J,LQ,S7,C8,C7,j,null,aJ,X)}}}break}while(1);lZ(Z)}function FB(Z,J,G,X,q,j,O,V,P,k,b,v,c,q0){Z.timeoutHandle=O8;var L0=J.subtreeFlags,HZ=null;if(L0&8192||(L0&16785408)===16785408){if(HZ=HL(),QB(J,j,HZ),L0=(j&62914560)===j?Zz-FJ():(j&4194048)===j?IO-FJ():0,L0=FL(HZ,L0),L0!==null){$9=j,Z.cancelPendingCommit=L0(tU.bind(null,Z,J,j,G,X,q,O,V,P,b,HZ,BL(HZ,Z.containerInfo),c,q0)),D7(Z,j,O,!k);return}}tU(Z,J,j,G,X,q,O,V,P,b,HZ,v,c,q0)}function SM(Z){for(var J=Z;;){var G=J.tag;if((G===0||G===11||G===15)&&J.flags&16384&&(G=J.updateQueue,G!==null&&(G=G.stores,G!==null)))for(var X=0;X<G.length;X++){var q=G[X],j=q.getSnapshot;q=q.value;try{if(!zQ(j(),q))return!1}catch(O){return!1}}if(G=J.child,J.subtreeFlags&16384&&G!==null)G.return=J,J=G;else{if(J===Z)break;for(;J.sibling===null;){if(J.return===null||J.return===Z)return!0;J=J.return}J.sibling.return=J.return,J=J.sibling}}return!0}function D7(Z,J,G,X){J&=~K3,J&=~S7,Z.suspendedLanes|=J,Z.pingedLanes&=~J,X&&(Z.warmLanes|=J),X=Z.expirationTimes;for(var q=J;0<q;){var j=31-GQ(q),O=1<<j;X[j]=-1,q&=~O}G!==0&&WJ(Z,G,J)}function HG(){return(c0&(MJ|Q9))===NJ?(g9(0,!1),!1):!0}function sU(){return(c0&(MJ|Q9))!==NJ}function oU(){if(v0!==null){if(UZ===MQ)var Z=v0.return;else Z=v0,r7(),JU(Z),y5=null,M1=0,Z=v0;for(;Z!==null;)wF(Z.alternate,Z),Z=Z.return;v0=null}}function j8(Z,J){(Z&127)!==0&&(D8=J),(Z&4194048)!==0&&(E6=J)}function N5(Z,J){NZ&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking","Scheduler ⚛","primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition","Scheduler ⚛","primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense","Scheduler ⚛","primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle","Scheduler ⚛","primary-light"));var G=aJ;if(aJ=ZJ(),f0!==0&&0<G){if(YJ(f0),wZ===sG||wZ===T7)i0(G,aJ,J,iZ);else{var X=aJ,q=iZ;if(NZ&&!(X<=G)){var j=(J&738197653)===J?"tertiary-dark":"primary-dark",O=(J&536870912)===J?"Prewarm":(J&201326741)===J?"Interrupted Hydration":"Interrupted Render";q?q.run(console.timeStamp.bind(console,O,G,X,u0,"Scheduler ⚛",j)):console.timeStamp(O,G,X,u0,"Scheduler ⚛",j)}}j8(f0,aJ)}if(G=iZ,iZ=null,(J&127)!==0){iZ=q1,q=0<=n9&&n9<D8?D8:n9,X=0<=A8&&A8<D8?D8:A8,j=0<=X?X:0<=q?q:aJ,0<=EG&&(YJ(2),U0(EG,j,J,G)),G=q;var V=X,P=j1,k=0<S5,b=R7===1,v=R7===2;if(q=aJ,X=q1,j=Cq,O=xq,NZ){if(u0="Blocking",0<G?G>q&&(G=q):G=q,0<V?V>G&&(V=G):V=G,P!==null&&G>V){var c=k?"secondary-light":"warning";X?X.run(console.timeStamp.bind(console,k?"Consecutive":"Event: "+P,V,G,u0,"Scheduler ⚛",c)):console.timeStamp(k?"Consecutive":"Event: "+P,V,G,u0,"Scheduler ⚛",c)}q>G&&(V=b?"error":(J&738197653)===J?"tertiary-light":"primary-light",b=v?"Promise Resolved":b?"Cascading Update":5<q-G?"Update Blocked":"Update",v=[],O!=null&&v.push(["Component name",O]),j!=null&&v.push(["Method name",j]),G={start:G,end:q,detail:{devtools:{properties:v,track:u0,trackGroup:"Scheduler ⚛",color:V}}},X?X.run(performance.measure.bind(performance,b,G)):performance.measure(b,G))}n9=-1.1,R7=0,xq=Cq=null,EG=-1.1,S5=A8,A8=-1.1,D8=ZJ()}if((J&4194048)!==0&&(iZ=H1,q=0<=T6&&T6<E6?E6:T6,G=0<=rQ&&rQ<E6?E6:rQ,X=0<=I7&&I7<E6?E6:I7,j=0<=X?X:0<=G?G:aJ,0<=TG&&(YJ(256),U0(TG,j,J,iZ)),v=X,V=N8,P=0<k7,k=Sq===2,j=aJ,X=H1,O=E2,b=T2,NZ&&(u0="Transition",0<G?G>j&&(G=j):G=j,0<q?q>G&&(q=G):q=G,0<v?v>q&&(v=q):v=q,q>v&&V!==null&&(c=P?"secondary-light":"warning",X?X.run(console.timeStamp.bind(console,P?"Consecutive":"Event: "+V,v,q,u0,"Scheduler ⚛",c)):console.timeStamp(P?"Consecutive":"Event: "+V,v,q,u0,"Scheduler ⚛",c)),G>q&&(X?X.run(console.timeStamp.bind(console,"Action",q,G,u0,"Scheduler ⚛","primary-dark")):console.timeStamp("Action",q,G,u0,"Scheduler ⚛","primary-dark")),j>G&&(q=k?"Promise Resolved":5<j-G?"Update Blocked":"Update",v=[],b!=null&&v.push(["Component name",b]),O!=null&&v.push(["Method name",O]),G={start:G,end:j,detail:{devtools:{properties:v,track:u0,trackGroup:"Scheduler ⚛",color:"primary-light"}}},X?X.run(performance.measure.bind(performance,q,G)):performance.measure(q,G))),rQ=T6=-1.1,Sq=0,TG=-1.1,k7=I7,I7=-1.1,E6=ZJ()),G=Z.timeoutHandle,G!==O8&&(Z.timeoutHandle=O8,QL(G)),G=Z.cancelPendingCommit,G!==null&&(Z.cancelPendingCommit=null,G()),$9=0,oU(),OZ=Z,v0=G=V6(Z.current,null),f0=J,UZ=MQ,gQ=null,C7=!1,n5=G0(Z,J),Q3=!1,wZ=w6,C8=LQ=K3=S7=x7=0,jQ=C1=null,eG=!1,(J&8)!==0&&(J|=J&32),X=Z.entangledLanes,X!==0)for(Z=Z.entanglements,X&=J;0<X;)q=31-GQ(X),j=1<<q,J|=Z[q],X&=~j;return o9=J,yK(),Z=D2(),1000<Z-V2&&(w.recentlyCreatedOwnerStacks=0,V2=Z),L9.discardPendingWarnings(),G}function BB(Z,J){N0=null,w.H=R1,w.getCurrentStack=null,a9=!1,R6=null,J===v5||J===wG?(J=u4(),UZ=E1):J===uq?(J=u4(),UZ=RO):UZ=J===rq?J3:J!==null&&typeof J==="object"&&typeof J.then==="function"?T1:rG,gQ=J;var G=v0;G===null?(wZ=k1,ZG(Z,j0(J,Z.current))):G.mode&2&&F6(G)}function OB(){var Z=vQ.current;return Z===null?!0:(f0&4194048)===f0?eQ===null?!0:!1:(f0&62914560)===f0||(f0&536870912)!==0?Z===eQ:!1}function WB(){var Z=w.H;return w.H=R1,Z===null?R1:Z}function YB(){var Z=w.A;return w.A=pP,Z}function FG(Z){iZ===null&&(iZ=Z._debugTask==null?null:Z._debugTask)}function BG(){wZ=T7,C7||(f0&4194048)!==f0&&vQ.current!==null||(n5=!0),(x7&134217727)===0&&(S7&134217727)===0||OZ===null||D7(OZ,f0,LQ,!1)}function rU(Z,J,G){var X=c0;c0|=MJ;var q=WB(),j=YB();if(OZ!==Z||f0!==J){if(l9){var O=Z.memoizedUpdaters;0<O.size&&(e4(Z,f0),O.clear()),PJ(Z,J)}S1=null,N5(Z,J)}J=!1,O=wZ;Z:do try{if(UZ!==MQ&&v0!==null){var V=v0,P=gQ;switch(UZ){case J3:oU(),O=oG;break Z;case E1:case E8:case T8:case T1:vQ.current===null&&(J=!0);var k=UZ;if(UZ=MQ,gQ=null,M5(Z,V,P,k),G&&n5){O=w6;break Z}break;default:k=UZ,UZ=MQ,gQ=null,M5(Z,V,P,k)}}VB(),O=wZ;break}catch(b){BB(Z,b)}while(1);return J&&Z.shellSuspendCounter++,r7(),c0=X,w.H=q,w.A=j,v0===null&&(OZ=null,f0=0,yK()),O}function VB(){for(;v0!==null;)DB(v0)}function fM(Z,J){var G=c0;c0|=MJ;var X=WB(),q=YB();if(OZ!==Z||f0!==J){if(l9){var j=Z.memoizedUpdaters;0<j.size&&(e4(Z,f0),j.clear()),PJ(Z,J)}S1=null,x1=FJ()+G3,N5(Z,J)}else n5=G0(Z,J);Z:do try{if(UZ!==MQ&&v0!==null)J:switch(J=v0,j=gQ,UZ){case rG:UZ=MQ,gQ=null,M5(Z,J,j,rG);break;case E8:case T8:if(SK(j)){UZ=MQ,gQ=null,AB(J);break}J=function(){UZ!==E8&&UZ!==T8||OZ!==Z||(UZ=tG),lZ(Z)},j.then(J,J);break Z;case E1:UZ=tG;break Z;case RO:UZ=Z3;break Z;case tG:SK(j)?(UZ=MQ,gQ=null,AB(J)):(UZ=MQ,gQ=null,M5(Z,J,j,tG));break;case Z3:var O=null;switch(v0.tag){case 26:O=v0.memoizedState;case 5:case 27:var V=v0,P=V.type,k=V.pendingProps;if(O?H2(O):lB(V.stateNode,P,k)){UZ=MQ,gQ=null;var b=V.sibling;if(b!==null)v0=b;else{var v=V.return;v!==null?(v0=v,OG(v)):v0=null}break J}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}UZ=MQ,gQ=null,M5(Z,J,j,Z3);break;case T1:UZ=MQ,gQ=null,M5(Z,J,j,T1);break;case J3:oU(),wZ=oG;break Z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}w.actQueue!==null?VB():bM();break}catch(c){BB(Z,c)}while(1);if(r7(),w.H=X,w.A=q,c0=G,v0!==null)return w6;return OZ=null,f0=0,yK(),wZ}function bM(){for(;v0!==null&&!RP();)DB(v0)}function DB(Z){var J=Z.alternate;(Z.mode&2)!==A0?(q5(Z),J=J0(Z,bU,J,Z,o9),F6(Z)):J=J0(Z,bU,J,Z,o9),Z.memoizedProps=Z.pendingProps,J===null?OG(Z):v0=J}function AB(Z){var J=J0(Z,wM,Z);Z.memoizedProps=Z.pendingProps,J===null?OG(Z):v0=J}function wM(Z){var J=Z.alternate,G=(Z.mode&2)!==A0;switch(G&&q5(Z),Z.tag){case 15:case 0:J=RF(J,Z,Z.pendingProps,Z.type,void 0,f0);break;case 11:J=RF(J,Z,Z.pendingProps,Z.type.render,Z.ref,f0);break;case 5:JU(Z);default:wF(J,Z),Z=v0=fB(Z,o9),J=bU(J,Z,o9)}return G&&F6(Z),J}function M5(Z,J,G,X){r7(),JU(J),y5=null,M1=0;var q=J.return;try{if(NM(Z,q,J,G,f0)){wZ=k1,ZG(Z,j0(G,Z.current)),v0=null;return}}catch(j){if(q!==null)throw v0=q,j;wZ=k1,ZG(Z,j0(G,Z.current)),v0=null;return}if(J.flags&32768){if(p0||X===rG)Z=!0;else if(n5||(f0&536870912)!==0)Z=!1;else if(C7=Z=!0,X===E8||X===T8||X===E1||X===T1)X=vQ.current,X!==null&&X.tag===13&&(X.flags|=16384);NB(J,Z)}else OG(J)}function OG(Z){var J=Z;do{if((J.flags&32768)!==0){NB(J,C7);return}var G=J.alternate;if(Z=J.return,q5(J),G=J0(J,PM,G,J,o9),(J.mode&2)!==A0&&j5(J),G!==null){v0=G;return}if(J=J.sibling,J!==null){v0=J;return}v0=J=Z}while(J!==null);wZ===w6&&(wZ=$O)}function NB(Z,J){do{var G=_M(Z.alternate,Z);if(G!==null){G.flags&=32767,v0=G;return}if((Z.mode&2)!==A0){j5(Z),G=Z.actualDuration;for(var X=Z.child;X!==null;)G+=X.actualDuration,X=X.sibling;Z.actualDuration=G}if(G=Z.return,G!==null&&(G.flags|=32768,G.subtreeFlags=0,G.deletions=null),!J&&(Z=Z.sibling,Z!==null)){v0=Z;return}v0=Z=G}while(Z!==null);wZ=oG,v0=null}function tU(Z,J,G,X,q,j,O,V,P,k,b,v,c,q0){Z.cancelPendingCommit=null;do L5();while(zJ!==b7);if(L9.flushLegacyContextWarning(),L9.flushPendingUnsafeLifecycleWarnings(),(c0&(MJ|Q9))!==NJ)throw Error("Should not already be working.");if(YJ(G),k===k8?W0(c,q0,G,iZ):X!==null?B0(c,q0,G,X,J!==null&&J.alternate!==null&&J.alternate.memoizedState.isDehydrated&&(J.flags&256)!==0,iZ):t(c,q0,G,iZ),J!==null){if(G===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),J===Z.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(j=J.lanes|J.childLanes,j|=pq,_Z(Z,G,j,O,V,P),Z===OZ&&(v0=OZ=null,f0=0),s5=J,w7=Z,$9=G,U3=j,j3=q,fO=X,q3=q0,bO=v,R9=Jz,wO=null,J.actualDuration!==0||(J.subtreeFlags&10256)!==0||(J.flags&10256)!==0?(Z.callbackNode=null,Z.callbackPriority=0,uM(G1,function(){return Oq(),R9===Jz&&(R9=X3),$B(),null})):(Z.callbackNode=null,Z.callbackPriority=0),k6=null,$7=ZJ(),v!==null&&TZ(q0,$7,v,iZ),X=(J.flags&13878)!==0,(J.subtreeFlags&13878)!==0||X){X=w.T,w.T=null,q=M6(),DJ(2),O=c0,c0|=Q9;try{TM(Z,J,G)}finally{c0=O,DJ(q),w.T=X}}zJ=TO,MB(),LB(),PB()}}function MB(){if(zJ===TO){zJ=b7;var Z=w7,J=s5,G=$9,X=(J.flags&13878)!==0;if((J.subtreeFlags&13878)!==0||X){X=w.T,w.T=null;var q=M6();DJ(2);var j=c0;c0|=Q9;try{l5=G,a5=Z,U7(),oF(J,Z),a5=l5=null,eM(Z.containerInfo)}finally{c0=j,DJ(q),w.T=X}}Z.current=J,zJ=CO}}function LB(){if(zJ===CO){zJ=b7;var Z=wO;if(Z!==null){$7=ZJ();var J=I6,G=$7;!NZ||G<=J||(f5?f5.run(console.timeStamp.bind(console,Z,J,G,u0,"Scheduler ⚛","secondary-light")):console.timeStamp(Z,J,G,u0,"Scheduler ⚛","secondary-light"))}Z=w7,J=s5,G=$9;var X=(J.flags&8772)!==0;if((J.subtreeFlags&8772)!==0||X){X=w.T,w.T=null;var q=M6();DJ(2);var j=c0;c0|=Q9;try{l5=G,a5=Z,U7(),aF(Z,J.alternate,J),a5=l5=null}finally{c0=j,DJ(q),w.T=X}}Z=q3,J=bO,I6=ZJ(),Z=J===null?Z:$7,J=I6,G=R9===z3,X=iZ,k6!==null?r0(Z,J,k6,!1,X):!NZ||J<=Z||(X?X.run(console.timeStamp.bind(console,G?"Commit Interrupted View Transition":"Commit",Z,J,u0,"Scheduler ⚛",G?"error":"secondary-dark")):console.timeStamp(G?"Commit Interrupted View Transition":"Commit",Z,J,u0,"Scheduler ⚛",G?"error":"secondary-dark")),zJ=xO}}function PB(){if(zJ===SO||zJ===xO){if(zJ===SO){var Z=I6;I6=ZJ();var J=I6,G=R9===z3;!NZ||J<=Z||(f5?f5.run(console.timeStamp.bind(console,G?"Interrupted View Transition":"Starting Animation",Z,J,u0,"Scheduler ⚛",G?"error":"secondary-light")):console.timeStamp(G?"Interrupted View Transition":"Starting Animation",Z,J,u0,"Scheduler ⚛",G?" error":"secondary-light")),R9!==z3&&(R9=EO)}zJ=b7,IP(),Z=w7;var X=s5;J=$9,G=fO;var q=X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0;q?zJ=Qz:(zJ=b7,s5=w7=null,_B(Z,Z.pendingLanes),x8=0,b1=null);var j=Z.pendingLanes;if(j===0&&(f7=null),q||EB(Z),j=GZ(J),X=X.stateNode,lJ&&typeof lJ.onCommitFiberRoot==="function")try{var O=(X.current.flags&128)===128;switch(j){case 2:var V=Lq;break;case 8:V=W2;break;case 32:V=G1;break;case 268435456:V=Y2;break;default:V=G1}lJ.onCommitFiberRoot(k5,X,V,O)}catch(v){d9||(d9=!0,console.error("React instrumentation encountered an error: %o",v))}if(l9&&Z.memoizedUpdaters.clear(),xM(),G!==null){O=w.T,V=M6(),DJ(2),w.T=null;try{var P=Z.onRecoverableError;for(X=0;X<G.length;X++){var k=G[X],b=vM(k.stack);J0(k.source,P,k.value,b)}}finally{w.T=O,DJ(V)}}($9&3)!==0&&L5(),lZ(Z),j=Z.pendingLanes,(J&261930)!==0&&(j&42)!==0?(xG=!0,Z===H3?f1++:(f1=0,H3=Z)):f1=0,q||j8(J,I6),dJ&&jP(),g9(0,!1)}}function vM(Z){return Z={componentStack:Z},Object.defineProperty(Z,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),Z}function _B(Z,J){(Z.pooledCacheLanes&=J)===0&&(J=Z.pooledCache,J!=null&&(Z.pooledCache=null,z7(J)))}function L5(){return MB(),LB(),PB(),$B()}function $B(){if(zJ!==Qz)return!1;var Z=w7,J=U3;U3=0;var G=GZ($9),X=32>G?32:G;G=w.T;var q=M6();try{DJ(X),w.T=null;var j=j3;j3=null,X=w7;var O=$9;if(zJ=b7,s5=w7=null,$9=0,(c0&(MJ|Q9))!==NJ)throw Error("Cannot flush passive effects while already rendering.");YJ(O),F3=!0,Kz=!1;var V=0;if(k6=null,V=FJ(),R9===EO){var P=I6,k=V;!NZ||k<=P||(f5?f5.run(console.timeStamp.bind(console,"Animating",P,k,u0,"Scheduler ⚛","secondary-dark")):console.timeStamp("Animating",P,k,u0,"Scheduler ⚛","secondary-dark"))}else{P=I6,k=V;var b=R9===X3;!NZ||k<=P||(iZ?iZ.run(console.timeStamp.bind(console,b?"Waiting for Paint":"Waiting",P,k,u0,"Scheduler ⚛","secondary-light")):console.timeStamp(b?"Waiting for Paint":"Waiting",P,k,u0,"Scheduler ⚛","secondary-light"))}P=c0,c0|=Q9;var v=X.current;U7(),GB(v);var c=X.current;v=q3,U7(),ZB(X,c,O,j,v),EB(X),c0=P;var q0=FJ();if(c=V,v=iZ,k6!==null?r0(c,q0,k6,!0,v):!NZ||q0<=c||(v?v.run(console.timeStamp.bind(console,"Remaining Effects",c,q0,u0,"Scheduler ⚛","secondary-dark")):console.timeStamp("Remaining Effects",c,q0,u0,"Scheduler ⚛","secondary-dark")),j8(O,q0),g9(0,!1),Kz?X===b1?x8++:(x8=0,b1=X):x8=0,Kz=F3=!1,lJ&&typeof lJ.onPostCommitFiberRoot==="function")try{lJ.onPostCommitFiberRoot(k5,X)}catch(HZ){d9||(d9=!0,console.error("React instrumentation encountered an error: %o",HZ))}var L0=X.current.stateNode;return L0.effectDuration=0,L0.passiveEffectDuration=0,!0}finally{DJ(q),w.T=G,_B(Z,J)}}function RB(Z,J,G){J=j0(G,J),w4(J),J=_U(Z.stateNode,J,2),Z=O7(Z,J,2),Z!==null&&(PZ(Z,2),lZ(Z))}function e0(Z,J,G){if(o5=!1,Z.tag===3)RB(Z,Z,G);else{for(;J!==null;){if(J.tag===3){RB(J,Z,G);return}if(J.tag===1){var X=J.stateNode;if(typeof J.type.getDerivedStateFromError==="function"||typeof X.componentDidCatch==="function"&&(f7===null||!f7.has(X))){Z=j0(G,Z),w4(Z),G=$U(2),X=O7(J,G,2),X!==null&&(RU(G,X,J,Z),PZ(X,2),lZ(X));return}}J=J.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
116
-
117
- Error message:
118
-
119
- %s`,G)}}function eU(Z,J,G){var X=Z.pingCache;if(X===null){X=Z.pingCache=new cP;var q=new Set;X.set(J,q)}else q=X.get(J),q===void 0&&(q=new Set,X.set(J,q));q.has(G)||(Q3=!0,q.add(G),X=yM.bind(null,Z,J,G),l9&&e4(Z,G),J.then(X,X))}function yM(Z,J,G){var X=Z.pingCache;X!==null&&X.delete(J),Z.pingedLanes|=Z.suspendedLanes&G,Z.warmLanes&=~G,(G&127)!==0?0>n9&&(D8=n9=ZJ(),q1=kG("Promise Resolved"),R7=2):(G&4194048)!==0&&0>rQ&&(E6=rQ=ZJ(),H1=kG("Promise Resolved"),Sq=2),qB()&&w.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
120
-
121
- When testing, code that resolves suspended data should be wrapped into act(...):
122
-
123
- act(() => {
124
- /* finish loading suspended data */
125
- });
126
- /* assert on the output */
127
-
128
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),OZ===Z&&(f0&G)===G&&(wZ===T7||wZ===sG&&(f0&62914560)===f0&&FJ()-Zz<kO?(c0&MJ)===NJ&&N5(Z,0):K3|=G,C8===f0&&(C8=0)),lZ(Z)}function IB(Z,J){J===0&&(J=w0()),Z=hJ(Z,J),Z!==null&&(PZ(Z,J),lZ(Z))}function gM(Z){var J=Z.memoizedState,G=0;J!==null&&(G=J.retryLane),IB(Z,G)}function mM(Z,J){var G=0;switch(Z.tag){case 31:case 13:var{stateNode:X,memoizedState:q}=Z;q!==null&&(G=q.retryLane);break;case 19:X=Z.stateNode;break;case 22:X=Z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}X!==null&&X.delete(J),IB(Z,G)}function Zq(Z,J,G){if((J.subtreeFlags&67117056)!==0)for(J=J.child;J!==null;){var X=Z,q=J,j=q.type===YG;j=G||j,q.tag!==22?q.flags&67108864?j&&J0(q,kB,X,q):Zq(X,q,j):q.memoizedState===null&&(j&&q.flags&8192?J0(q,kB,X,q):q.subtreeFlags&67108864&&J0(q,Zq,X,q,j)),J=J.sibling}}function kB(Z,J){y0(!0);try{tF(J),zB(J),eF(Z,J.alternate,J,!1),JB(Z,J,0,null,!1,0)}finally{y0(!1)}}function EB(Z){var J=!0;Z.current.mode&24||(J=!1),Zq(Z,Z.current,J)}function TB(Z){if((c0&MJ)===NJ){var J=Z.tag;if(J===3||J===1||J===0||J===11||J===14||J===15){if(J=S(Z)||"ReactComponent",Gz!==null){if(Gz.has(J))return;Gz.add(J)}else Gz=new Set([J]);J0(Z,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function e4(Z,J){l9&&Z.memoizedUpdaters.forEach(function(G){oJ(Z,G,J)})}function uM(Z,J){var G=w.actQueue;return G!==null?(G.push(J),aP):LG(Z,J)}function hM(Z){qB()&&w.actQueue===null&&J0(Z,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
129
-
130
- When testing, code that causes React state updates should be wrapped into act(...):
131
-
132
- act(() => {
133
- /* fire events that update state */
134
- });
135
- /* assert on the output */
136
-
137
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,S(Z))})}function H8(Z){if(K9===null)return Z;var J=K9(Z);return J===void 0?Z:J.current}function Jq(Z){if(K9===null)return Z;var J=K9(Z);return J===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(J=H8(Z.render),Z.render!==J)?(J={$$typeof:Z1,render:J},Z.displayName!==void 0&&(J.displayName=Z.displayName),J):Z:J.current}function CB(Z,J){if(K9===null)return!1;var G=Z.elementType;J=J.type;var X=!1,q=typeof J==="object"&&J!==null?J.$$typeof:null;switch(Z.tag){case 1:typeof J==="function"&&(X=!0);break;case 0:typeof J==="function"?X=!0:q===bQ&&(X=!0);break;case 11:q===Z1?X=!0:q===bQ&&(X=!0);break;case 14:case 15:q===VG?X=!0:q===bQ&&(X=!0);break;default:return!1}return X&&(Z=K9(G),Z!==void 0&&Z===K9(J))?!0:!1}function xB(Z){K9!==null&&typeof WeakSet==="function"&&(r5===null&&(r5=new WeakSet),r5.add(Z))}function SB(Z,J,G){do{var X=Z,q=X.alternate,j=X.child,O=X.sibling,V=X.tag;X=X.type;var P=null;switch(V){case 0:case 15:case 1:P=X;break;case 11:P=X.render}if(K9===null)throw Error("Expected resolveFamily to be set during hot reload.");var k=!1;if(X=!1,P!==null&&(P=K9(P),P!==void 0&&(G.has(P)?X=!0:J.has(P)&&(V===1?X=!0:k=!0))),r5!==null&&(r5.has(Z)||q!==null&&r5.has(q))&&(X=!0),X&&(Z._debugNeedsRemount=!0),X||k)q=hJ(Z,2),q!==null&&mZ(q,Z,2);if(j===null||X||SB(j,J,G),O===null)break;Z=O}while(1)}function pM(Z,J,G,X){this.tag=Z,this.key=G,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=J,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=X,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,gO||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function Qq(Z){return Z=Z.prototype,!(!Z||!Z.isReactComponent)}function V6(Z,J){var G=Z.alternate;switch(G===null?(G=Y(Z.tag,J,Z.key,Z.mode),G.elementType=Z.elementType,G.type=Z.type,G.stateNode=Z.stateNode,G._debugOwner=Z._debugOwner,G._debugStack=Z._debugStack,G._debugTask=Z._debugTask,G._debugHookTypes=Z._debugHookTypes,G.alternate=Z,Z.alternate=G):(G.pendingProps=J,G.type=Z.type,G.flags=0,G.subtreeFlags=0,G.deletions=null,G.actualDuration=-0,G.actualStartTime=-1.1),G.flags=Z.flags&65011712,G.childLanes=Z.childLanes,G.lanes=Z.lanes,G.child=Z.child,G.memoizedProps=Z.memoizedProps,G.memoizedState=Z.memoizedState,G.updateQueue=Z.updateQueue,J=Z.dependencies,G.dependencies=J===null?null:{lanes:J.lanes,firstContext:J.firstContext,_debugThenableState:J._debugThenableState},G.sibling=Z.sibling,G.index=Z.index,G.ref=Z.ref,G.refCleanup=Z.refCleanup,G.selfBaseDuration=Z.selfBaseDuration,G.treeBaseDuration=Z.treeBaseDuration,G._debugInfo=Z._debugInfo,G._debugNeedsRemount=Z._debugNeedsRemount,G.tag){case 0:case 15:G.type=H8(Z.type);break;case 1:G.type=H8(Z.type);break;case 11:G.type=Jq(Z.type)}return G}function fB(Z,J){Z.flags&=65011714;var G=Z.alternate;return G===null?(Z.childLanes=0,Z.lanes=J,Z.child=null,Z.subtreeFlags=0,Z.memoizedProps=null,Z.memoizedState=null,Z.updateQueue=null,Z.dependencies=null,Z.stateNode=null,Z.selfBaseDuration=0,Z.treeBaseDuration=0):(Z.childLanes=G.childLanes,Z.lanes=G.lanes,Z.child=G.child,Z.subtreeFlags=0,Z.deletions=null,Z.memoizedProps=G.memoizedProps,Z.memoizedState=G.memoizedState,Z.updateQueue=G.updateQueue,Z.type=G.type,J=G.dependencies,Z.dependencies=J===null?null:{lanes:J.lanes,firstContext:J.firstContext,_debugThenableState:J._debugThenableState},Z.selfBaseDuration=G.selfBaseDuration,Z.treeBaseDuration=G.treeBaseDuration),Z}function Kq(Z,J,G,X,q,j){var O=0,V=Z;if(typeof Z==="function")Qq(Z)&&(O=1),V=H8(V);else if(typeof Z==="string")M9&&HJ?(O=Y0(),O=G2(Z,G,O)?26:O2(Z)?27:5):M9?(O=Y0(),O=G2(Z,G,O)?26:5):O=HJ?O2(Z)?27:5:5;else Z:switch(Z){case Fq:return J=Y(31,G,J,q),J.elementType=Fq,J.lanes=j,J;case P5:return F8(G.children,q,j,J);case YG:O=8,q|=24;break;case Uq:return Z=G,X=q,typeof Z.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof Z.id),J=Y(12,Z,J,X|2),J.elementType=Uq,J.lanes=j,J.stateNode={effectDuration:0,passiveEffectDuration:0},J;case jq:return J=Y(13,G,J,q),J.elementType=jq,J.lanes=j,J;case Hq:return J=Y(19,G,J,q),J.elementType=Hq,J.lanes=j,J;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case A6:O=10;break Z;case qq:O=9;break Z;case Z1:O=11,V=Jq(V);break Z;case VG:O=14;break Z;case bQ:O=16,V=null;break Z}if(V="",Z===void 0||typeof Z==="object"&&Z!==null&&Object.keys(Z).length===0)V+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";Z===null?G="null":EJ(Z)?G="array":Z!==void 0&&Z.$$typeof===D6?(G="<"+(y(Z.type)||"Unknown")+" />",V=" Did you accidentally export a JSX literal instead of a component?"):G=typeof Z,O=X?typeof X.tag==="number"?S(X):typeof X.name==="string"?X.name:null:null,O&&(V+=`
138
-
139
- Check the render method of \``+O+"`."),O=29,G=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(G+"."+V)),V=null}return J=Y(O,G,J,q),J.elementType=Z,J.type=V,J.lanes=j,J._debugOwner=X,J}function WG(Z,J,G){return J=Kq(Z.type,Z.key,Z.props,Z._owner,J,G),J._debugOwner=Z._owner,J._debugStack=Z._debugStack,J._debugTask=Z._debugTask,J}function F8(Z,J,G,X){return Z=Y(7,Z,X,J),Z.lanes=G,Z}function Gq(Z,J,G){return Z=Y(6,Z,null,J),Z.lanes=G,Z}function bB(Z){var J=Y(18,null,null,A0);return J.stateNode=Z,J}function zq(Z,J,G){return J=Y(4,Z.children!==null?Z.children:[],Z.key,J),J.lanes=G,J.stateNode={containerInfo:Z.containerInfo,pendingChildren:null,implementation:Z.implementation},J}function cM(Z,J,G,X,q,j,O,V,P){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=O8,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=C0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=C0(0),this.hiddenUpdates=C0(null),this.identifierPrefix=X,this.onUncaughtError=q,this.onCaughtError=j,this.onRecoverableError=O,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,Z=this.pendingUpdatersLaneMap=[];for(J=0;31>J;J++)Z.push(new Set);this._debugRootType=G?"hydrateRoot()":"createRoot()"}function wB(Z,J,G,X,q,j,O,V,P,k,b,v){return Z=new cM(Z,J,G,O,P,k,b,v,V),J=1,j===!0&&(J|=24),j=Y(3,null,null,J|2),Z.current=j,j.stateNode=Z,J=G7(),EQ(J),Z.pooledCache=J,EQ(J),j.memoizedState={element:X,isDehydrated:G,cache:J},lX(j),Z}function vB(Z){return""+Z}function yB(Z){if(!Z)return A7;return Z=A7,Z}function gB(Z,J,G,X){return mB(J.current,2,Z,J,G,X),2}function mB(Z,J,G,X,q,j){if(lJ&&typeof lJ.onScheduleFiberRoot==="function")try{lJ.onScheduleFiberRoot(k5,X,G)}catch(O){d9||(d9=!0,console.error("React instrumentation encountered an error: %o",O))}q=yB(q),X.context===null?X.context=q:X.pendingContext=q,a9&&R6!==null&&!uO&&(uO=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
140
-
141
- Check the render method of %s.`,S(R6)||"Unknown")),X=B7(J),X.payload={element:G},j=j===void 0?null:j,j!==null&&(typeof j!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",j),X.callback=j),G=O7(Z,X,J),G!==null&&(tJ(J,"root.render()",null),mZ(G,Z,J),h4(G,Z,J))}function uB(Z,J){if(Z=Z.memoizedState,Z!==null&&Z.dehydrated!==null){var G=Z.retryLane;Z.retryLane=G!==0&&G<J?G:J}}function Xq(Z,J){uB(Z,J),(Z=Z.alternate)&&uB(Z,J)}function dM(){return R6}var a0={},kJ=Object.assign,lM=Symbol.for("react.element"),D6=Symbol.for("react.transitional.element"),B8=Symbol.for("react.portal"),P5=Symbol.for("react.fragment"),YG=Symbol.for("react.strict_mode"),Uq=Symbol.for("react.profiler"),qq=Symbol.for("react.consumer"),A6=Symbol.for("react.context"),Z1=Symbol.for("react.forward_ref"),jq=Symbol.for("react.suspense"),Hq=Symbol.for("react.suspense_list"),VG=Symbol.for("react.memo"),bQ=Symbol.for("react.lazy"),Fq=Symbol.for("react.activity"),aM=Symbol.for("react.memo_cache_sentinel"),hB=Symbol.iterator,iM=Symbol.for("react.client.reference"),EJ=Array.isArray,w=m3.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,nM=Q.rendererVersion,sM=Q.rendererPackageName,pB=Q.extraDevToolsConfig,_5=Q.getPublicInstance,oM=Q.getRootHostContext,rM=Q.getChildHostContext,tM=Q.prepareForCommit,eM=Q.resetAfterCommit,ZL=Q.createInstance;Q.cloneMutableInstance;var{appendInitialChild:Bq,finalizeInitialChildren:cB,shouldSetTextContent:DG,createTextInstance:dB}=Q;Q.cloneMutableTextInstance;var{scheduleTimeout:JL,cancelTimeout:QL,noTimeout:O8,isPrimaryRenderer:N6}=Q;Q.warnsIfNotActing;var{supportsMutation:cJ,supportsPersistence:c9,supportsHydration:dJ,getInstanceFromNode:KL}=Q;Q.beforeActiveInstanceBlur;var GL=Q.preparePortalMount;Q.prepareScopeUpdate,Q.getInstanceFromScope;var{setCurrentUpdatePriority:DJ,getCurrentUpdatePriority:M6,resolveUpdatePriority:zL,trackSchedulerEvent:Oq,resolveEventType:J1,resolveEventTimeStamp:Q1,shouldAttemptEagerTransition:XL,detachDeletedInstance:UL}=Q;Q.requestPostPaintCallback;var{maySuspendCommit:qL,maySuspendCommitOnUpdate:jL,maySuspendCommitInSyncRender:Wq,preloadInstance:lB,startSuspendingCommit:HL,suspendInstance:aB}=Q;Q.suspendOnActiveViewTransition;var{waitForCommitToBeReady:FL,getSuspendedCommitReason:BL,NotPendingTransition:$5,HostTransitionContext:W8,resetFormInstance:OL,bindToConsole:WL,supportsMicrotasks:YL,scheduleMicrotask:VL,supportsTestSelectors:R5,findFiberRoot:DL,getBoundingRect:AL,getTextContent:NL,isHiddenSubtree:K1,matchAccessibilityRole:ML,setFocusIfFocusable:LL,setupIntersectionObserver:PL,appendChild:_L,appendChildToContainer:$L,commitTextUpdate:RL,commitMount:IL,commitUpdate:kL,insertBefore:EL,insertInContainerBefore:TL,removeChild:CL,removeChildFromContainer:xL,resetTextContent:iB,hideInstance:SL,hideTextInstance:fL,unhideInstance:bL,unhideTextInstance:wL}=Q;Q.cancelViewTransitionName,Q.cancelRootViewTransitionName,Q.restoreRootViewTransitionName,Q.cloneRootViewTransitionContainer,Q.removeRootViewTransitionClone,Q.measureClonedInstance,Q.hasInstanceChanged,Q.hasInstanceAffectedParent,Q.startViewTransition,Q.startGestureTransition,Q.stopViewTransition,Q.getCurrentGestureOffset,Q.createViewTransitionInstance;var vL=Q.clearContainer;Q.createFragmentInstance,Q.updateFragmentInstanceFiber,Q.commitNewChildToFragmentInstance,Q.deleteChildFromFragmentInstance;var{cloneInstance:yL,createContainerChildSet:nB,appendChildToContainerChildSet:sB,finalizeContainerChildren:gL,replaceContainerChildren:oB,cloneHiddenInstance:rB,cloneHiddenTextInstance:tB,isSuspenseInstancePending:Yq,isSuspenseInstanceFallback:Vq,getSuspenseInstanceFallbackErrorDetails:mL,registerSuspenseInstanceRetry:uL,canHydrateFormStateMarker:hL,isFormStateMarkerMatching:pL,getNextHydratableSibling:Dq,getNextHydratableSiblingAfterSingleton:cL,getFirstHydratableChild:dL,getFirstHydratableChildWithinContainer:lL,getFirstHydratableChildWithinActivityInstance:aL,getFirstHydratableChildWithinSuspenseInstance:iL,getFirstHydratableChildWithinSingleton:nL,canHydrateInstance:sL,canHydrateTextInstance:oL,canHydrateActivityInstance:rL,canHydrateSuspenseInstance:tL,hydrateInstance:eL,hydrateTextInstance:ZP,hydrateActivityInstance:JP,hydrateSuspenseInstance:QP,getNextHydratableInstanceAfterActivityInstance:KP,getNextHydratableInstanceAfterSuspenseInstance:eB,commitHydratedInstance:GP,commitHydratedContainer:zP,commitHydratedActivityInstance:XP,commitHydratedSuspenseInstance:UP,finalizeHydratedChildren:qP,flushHydrationEvents:jP}=Q;Q.clearActivityBoundary;var HP=Q.clearSuspenseBoundary;Q.clearActivityBoundaryFromContainer;var{clearSuspenseBoundaryFromContainer:FP,hideDehydratedBoundary:BP,unhideDehydratedBoundary:OP,shouldDeleteUnhydratedTailInstances:Z2,diffHydratedPropsForDevWarnings:J2,diffHydratedTextForDevWarnings:Q2,describeHydratableInstanceForDevWarnings:K2,validateHydratableInstance:WP,validateHydratableTextInstance:YP,supportsResources:M9,isHostHoistableType:G2,getHoistableRoot:Aq,getResource:z2,acquireResource:X2,releaseResource:U2,hydrateHoistable:VP,mountHoistable:q2,unmountHoistable:j2,createHoistableInstance:DP,prepareToCommitHoistables:AP,mayResourceSuspendCommit:NP,preloadResource:H2,suspendResource:MP,supportsSingletons:HJ,resolveSingletonInstance:F2,acquireSingletonInstance:LP,releaseSingletonInstance:B2,isHostSingletonType:O2,isSingletonScope:I5}=Q,Nq=[],Mq=[],L6=-1,A7={};Object.freeze(A7);var GQ=Math.clz32?Math.clz32:Z0,PP=Math.log,_P=Math.LN2,AG=256,NG=262144,MG=4194304,LG=LZ.unstable_scheduleCallback,$P=LZ.unstable_cancelCallback,RP=LZ.unstable_shouldYield,IP=LZ.unstable_requestPaint,FJ=LZ.unstable_now,Lq=LZ.unstable_ImmediatePriority,W2=LZ.unstable_UserBlockingPriority,G1=LZ.unstable_NormalPriority,Y2=LZ.unstable_IdlePriority,kP=LZ.log,EP=LZ.unstable_setDisableYieldValue,k5=null,lJ=null,d9=!1,l9=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",V2=0;if(typeof performance==="object"&&typeof performance.now==="function")var TP=performance,D2=function(){return TP.now()};else{var CP=Date;D2=function(){return CP.now()}}var zQ=typeof Object.is==="function"?Object.is:w9,A2=typeof reportError==="function"?reportError:function(Z){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var J=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Z==="object"&&Z!==null&&typeof Z.message==="string"?String(Z.message):String(Z),error:Z});if(!window.dispatchEvent(J))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",Z);return}console.error(Z)},Pq=Object.prototype.hasOwnProperty,NZ=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",u0="Blocking",N7=!1,P6={color:"primary",properties:null,tooltipText:"",track:"Components ⚛"},M7={start:-0,end:-0,detail:{devtools:P6}},xP=["Changed Props",""],SP=["Changed Props","This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."],z1=0,N2,M2,L2,P2,_2,$2,R2;E0.__reactDisabledLog=!0;var _q,I2,$q=!1,Rq=new(typeof WeakMap==="function"?WeakMap:Map),Iq=new WeakMap,E5=[],T5=0,PG=null,X1=0,nQ=[],sQ=0,Y8=null,_6=1,$6="",L7=o(null),U1=o(null),P7=o(null),_G=o(null),k2=/["'&<>\n\t]|^\s|\s$/,R6=null,a9=!1,TJ=null,fZ=null,p0=!1,i9=!1,wQ=null,_7=null,oQ=!1,kq=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),A0=0,$G=o(null),Eq=o(null),Tq=o(null),RG={},IG=null,C5=null,x5=!1,fP=typeof AbortController<"u"?AbortController:function(){var Z=[],J=this.signal={aborted:!1,addEventListener:function(G,X){Z.push(X)}};this.abort=function(){J.aborted=!0,Z.forEach(function(G){return G()})}},bP=LZ.unstable_scheduleCallback,wP=LZ.unstable_NormalPriority,uZ={$$typeof:A6,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},ZJ=LZ.unstable_now,kG=console.createTask?console.createTask:function(){return null},aJ=-0,$7=-0,I6=-0,k6=null,XQ=-1.1,V8=-0,bZ=-0,F0=-1.1,D0=-1.1,RZ=null,hZ=!1,D8=-0,n9=-1.1,q1=null,R7=0,Cq=null,xq=null,A8=-1.1,j1=null,S5=-1.1,EG=-1.1,E6=-0,T6=-1.1,rQ=-1.1,Sq=0,H1=null,E2=null,T2=null,I7=-1.1,N8=null,k7=-1.1,TG=-1.1,f5=null,C2=0,F1=-1.1,CG=!1,xG=!1,SG=null,b5=null,fq=!1,bq=!1,fG=!1,wq=!1,M8=0,vq={},B1=null,yq=0,L8=0,w5=null,x2=w.S;w.S=function(Z,J){if(IO=FJ(),typeof J==="object"&&J!==null&&typeof J.then==="function"){if(0>T6&&0>rQ){T6=ZJ();var G=Q1(),X=J1();if(G!==k7||X!==N8)k7=-1.1;I7=G,N8=X}xK(Z,J)}x2!==null&&x2(Z,J)};var P8=o(null),L9={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},O1=[],W1=[],Y1=[],V1=[],D1=[],A1=[],_8=new Set;L9.recordUnsafeLifecycleWarnings=function(Z,J){_8.has(Z.type)||(typeof J.componentWillMount==="function"&&J.componentWillMount.__suppressDeprecationWarning!==!0&&O1.push(Z),Z.mode&8&&typeof J.UNSAFE_componentWillMount==="function"&&W1.push(Z),typeof J.componentWillReceiveProps==="function"&&J.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Y1.push(Z),Z.mode&8&&typeof J.UNSAFE_componentWillReceiveProps==="function"&&V1.push(Z),typeof J.componentWillUpdate==="function"&&J.componentWillUpdate.__suppressDeprecationWarning!==!0&&D1.push(Z),Z.mode&8&&typeof J.UNSAFE_componentWillUpdate==="function"&&A1.push(Z))},L9.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<O1.length&&(O1.forEach(function(V){Z.add(S(V)||"Component"),_8.add(V.type)}),O1=[]);var J=new Set;0<W1.length&&(W1.forEach(function(V){J.add(S(V)||"Component"),_8.add(V.type)}),W1=[]);var G=new Set;0<Y1.length&&(Y1.forEach(function(V){G.add(S(V)||"Component"),_8.add(V.type)}),Y1=[]);var X=new Set;0<V1.length&&(V1.forEach(function(V){X.add(S(V)||"Component"),_8.add(V.type)}),V1=[]);var q=new Set;0<D1.length&&(D1.forEach(function(V){q.add(S(V)||"Component"),_8.add(V.type)}),D1=[]);var j=new Set;if(0<A1.length&&(A1.forEach(function(V){j.add(S(V)||"Component"),_8.add(V.type)}),A1=[]),0<J.size){var O=E(J);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
142
-
143
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
144
-
145
- Please update the following components: %s`,O)}0<X.size&&(O=E(X),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
146
-
147
- * Move data fetching code or side effects to componentDidUpdate.
148
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
149
-
150
- Please update the following components: %s`,O)),0<j.size&&(O=E(j),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
151
-
152
- * Move data fetching code or side effects to componentDidUpdate.
153
-
154
- Please update the following components: %s`,O)),0<Z.size&&(O=E(Z),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
155
-
156
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
157
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
158
-
159
- Please update the following components: %s`,O)),0<G.size&&(O=E(G),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
160
-
161
- * Move data fetching code or side effects to componentDidUpdate.
162
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
163
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
164
-
165
- Please update the following components: %s`,O)),0<q.size&&(O=E(q),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
166
-
167
- * Move data fetching code or side effects to componentDidUpdate.
168
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
169
-
170
- Please update the following components: %s`,O))};var bG=new Map,S2=new Set;L9.recordLegacyContextWarning=function(Z,J){var G=null;for(var X=Z;X!==null;)X.mode&8&&(G=X),X=X.return;G===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!S2.has(Z.type)&&(X=bG.get(G),Z.type.contextTypes!=null||Z.type.childContextTypes!=null||J!==null&&typeof J.getChildContext==="function")&&(X===void 0&&(X=[],bG.set(G,X)),X.push(Z))},L9.flushLegacyContextWarning=function(){bG.forEach(function(Z){if(Z.length!==0){var J=Z[0],G=new Set;Z.forEach(function(q){G.add(S(q)||"Component"),S2.add(q.type)});var X=E(G);J0(J,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
171
-
172
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
173
-
174
- Please update the following components: %s
175
-
176
- Learn more about this warning here: https://react.dev/link/legacy-context`,X)})}})},L9.discardPendingWarnings=function(){O1=[],W1=[],Y1=[],V1=[],D1=[],A1=[],bG=new Map};var f2={react_stack_bottom_frame:function(Z,J,G){var X=a9;a9=!0;try{return Z(J,G)}finally{a9=X}}},gq=f2.react_stack_bottom_frame.bind(f2),b2={react_stack_bottom_frame:function(Z){var J=a9;a9=!0;try{return Z.render()}finally{a9=J}}},w2=b2.react_stack_bottom_frame.bind(b2),v2={react_stack_bottom_frame:function(Z,J){try{J.componentDidMount()}catch(G){e0(Z,Z.return,G)}}},mq=v2.react_stack_bottom_frame.bind(v2),y2={react_stack_bottom_frame:function(Z,J,G,X,q){try{J.componentDidUpdate(G,X,q)}catch(j){e0(Z,Z.return,j)}}},g2=y2.react_stack_bottom_frame.bind(y2),m2={react_stack_bottom_frame:function(Z,J){var G=J.stack;Z.componentDidCatch(J.value,{componentStack:G!==null?G:""})}},vP=m2.react_stack_bottom_frame.bind(m2),u2={react_stack_bottom_frame:function(Z,J,G){try{G.componentWillUnmount()}catch(X){e0(Z,J,X)}}},h2=u2.react_stack_bottom_frame.bind(u2),p2={react_stack_bottom_frame:function(Z){var J=Z.create;return Z=Z.inst,J=J(),Z.destroy=J}},yP=p2.react_stack_bottom_frame.bind(p2),c2={react_stack_bottom_frame:function(Z,J,G){try{G()}catch(X){e0(Z,J,X)}}},gP=c2.react_stack_bottom_frame.bind(c2),d2={react_stack_bottom_frame:function(Z){var J=Z._init;return J(Z._payload)}},mP=d2.react_stack_bottom_frame.bind(d2),v5=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),uq=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),wG=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),vG={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},$8=null,N1=!1,y5=null,M1=0,S0=null,hq,l2=hq=!1,a2={},i2={},n2={};_=function(Z,J,G){if(G!==null&&typeof G==="object"&&G._store&&(!G._store.validated&&G.key==null||G._store.validated===2)){if(typeof G._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");G._store.validated=1;var X=S(Z),q=X||"null";if(!a2[q]){a2[q]=!0,G=G._owner,Z=Z._debugOwner;var j="";Z&&typeof Z.tag==="number"&&(q=S(Z))&&(j=`
177
-
178
- Check the render method of \``+q+"`."),j||X&&(j=`
179
-
180
- Check the top-level render call using <`+X+">.");var O="";G!=null&&Z!==G&&(X=null,typeof G.tag==="number"?X=S(G):typeof G.name==="string"&&(X=G.name),X&&(O=" It was passed a child from "+X+".")),J0(J,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',j,O)})}}};var R8=yH(!0),s2=yH(!1),L1=1,C6=2,tQ=[],g5=0,pq=0,o2=0,r2=1,t2=2,cq=3,E7=!1,e2=!1,dq=null,lq=!1,m5=o(null),yG=o(0),vQ=o(null),eQ=null,u5=1,P1=2,nZ=o(0),gG=0,Z9=1,UQ=2,yQ=4,qQ=8,h5,ZO=new Set,JO=new Set,aq=new Set,QO=new Set,x6=0,N0=null,BZ=null,JJ=null,mG=!1,p5=!1,I8=!1,uG=0,_1=0,S6=null,uP=0,hP=25,f=null,J9=null,f6=-1,$1=!1,R1={readContext:jZ,use:V7,useCallback:aZ,useContext:aZ,useEffect:aZ,useImperativeHandle:aZ,useLayoutEffect:aZ,useInsertionEffect:aZ,useMemo:aZ,useReducer:aZ,useRef:aZ,useState:aZ,useDebugValue:aZ,useDeferredValue:aZ,useTransition:aZ,useSyncExternalStore:aZ,useId:aZ,useHostTransitionStatus:aZ,useFormState:aZ,useActionState:aZ,useOptimistic:aZ,useMemoCache:aZ,useCacheRefresh:aZ};R1.useEffectEvent=aZ;var iq=null,KO=null,nq=null,GO=null,s9=null,P9=null,hG=null;iq={readContext:function(Z){return jZ(Z)},use:V7,useCallback:function(Z,J){return f="useCallback",m0(),O5(J),OU(Z,J)},useContext:function(Z){return f="useContext",m0(),jZ(Z)},useEffect:function(Z,J){return f="useEffect",m0(),O5(J),iK(Z,J)},useImperativeHandle:function(Z,J,G){return f="useImperativeHandle",m0(),O5(G),BU(Z,J,G)},useInsertionEffect:function(Z,J){f="useInsertionEffect",m0(),O5(J),G8(4,UQ,Z,J)},useLayoutEffect:function(Z,J){return f="useLayoutEffect",m0(),O5(J),FU(Z,J)},useMemo:function(Z,J){f="useMemo",m0(),O5(J);var G=w.H;w.H=s9;try{return WU(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){f="useReducer",m0();var X=w.H;w.H=s9;try{return QU(Z,J,G)}finally{w.H=X}},useRef:function(Z){return f="useRef",m0(),jU(Z)},useState:function(Z){f="useState",m0();var J=w.H;w.H=s9;try{return XU(Z)}finally{w.H=J}},useDebugValue:function(){f="useDebugValue",m0()},useDeferredValue:function(Z,J){return f="useDeferredValue",m0(),YU(Z,J)},useTransition:function(){return f="useTransition",m0(),DU()},useSyncExternalStore:function(Z,J,G){return f="useSyncExternalStore",m0(),GU(Z,J,G)},useId:function(){return f="useId",m0(),AU()},useFormState:function(Z,J){return f="useFormState",m0(),pK(),Y5(Z,J)},useActionState:function(Z,J){return f="useActionState",m0(),Y5(Z,J)},useOptimistic:function(Z){return f="useOptimistic",m0(),UU(Z)},useHostTransitionStatus:z8,useMemoCache:K8,useCacheRefresh:function(){return f="useCacheRefresh",m0(),NU()},useEffectEvent:function(Z){return f="useEffectEvent",m0(),HU(Z)}},KO={readContext:function(Z){return jZ(Z)},use:V7,useCallback:function(Z,J){return f="useCallback",n(),OU(Z,J)},useContext:function(Z){return f="useContext",n(),jZ(Z)},useEffect:function(Z,J){return f="useEffect",n(),iK(Z,J)},useImperativeHandle:function(Z,J,G){return f="useImperativeHandle",n(),BU(Z,J,G)},useInsertionEffect:function(Z,J){f="useInsertionEffect",n(),G8(4,UQ,Z,J)},useLayoutEffect:function(Z,J){return f="useLayoutEffect",n(),FU(Z,J)},useMemo:function(Z,J){f="useMemo",n();var G=w.H;w.H=s9;try{return WU(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){f="useReducer",n();var X=w.H;w.H=s9;try{return QU(Z,J,G)}finally{w.H=X}},useRef:function(Z){return f="useRef",n(),jU(Z)},useState:function(Z){f="useState",n();var J=w.H;w.H=s9;try{return XU(Z)}finally{w.H=J}},useDebugValue:function(){f="useDebugValue",n()},useDeferredValue:function(Z,J){return f="useDeferredValue",n(),YU(Z,J)},useTransition:function(){return f="useTransition",n(),DU()},useSyncExternalStore:function(Z,J,G){return f="useSyncExternalStore",n(),GU(Z,J,G)},useId:function(){return f="useId",n(),AU()},useActionState:function(Z,J){return f="useActionState",n(),Y5(Z,J)},useFormState:function(Z,J){return f="useFormState",n(),pK(),Y5(Z,J)},useOptimistic:function(Z){return f="useOptimistic",n(),UU(Z)},useHostTransitionStatus:z8,useMemoCache:K8,useCacheRefresh:function(){return f="useCacheRefresh",n(),NU()},useEffectEvent:function(Z){return f="useEffectEvent",n(),HU(Z)}},nq={readContext:function(Z){return jZ(Z)},use:V7,useCallback:function(Z,J){return f="useCallback",n(),oK(Z,J)},useContext:function(Z){return f="useContext",n(),jZ(Z)},useEffect:function(Z,J){f="useEffect",n(),AQ(2048,qQ,Z,J)},useImperativeHandle:function(Z,J,G){return f="useImperativeHandle",n(),sK(Z,J,G)},useInsertionEffect:function(Z,J){return f="useInsertionEffect",n(),AQ(4,UQ,Z,J)},useLayoutEffect:function(Z,J){return f="useLayoutEffect",n(),AQ(4,yQ,Z,J)},useMemo:function(Z,J){f="useMemo",n();var G=w.H;w.H=P9;try{return rK(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){f="useReducer",n();var X=w.H;w.H=P9;try{return W5(Z,J,G)}finally{w.H=X}},useRef:function(){return f="useRef",n(),XZ().memoizedState},useState:function(){f="useState",n();var Z=w.H;w.H=P9;try{return W5(V9)}finally{w.H=Z}},useDebugValue:function(){f="useDebugValue",n()},useDeferredValue:function(Z,J){return f="useDeferredValue",n(),XF(Z,J)},useTransition:function(){return f="useTransition",n(),FF()},useSyncExternalStore:function(Z,J,G){return f="useSyncExternalStore",n(),dK(Z,J,G)},useId:function(){return f="useId",n(),XZ().memoizedState},useFormState:function(Z){return f="useFormState",n(),pK(),lK(Z)},useActionState:function(Z){return f="useActionState",n(),lK(Z)},useOptimistic:function(Z,J){return f="useOptimistic",n(),oH(Z,J)},useHostTransitionStatus:z8,useMemoCache:K8,useCacheRefresh:function(){return f="useCacheRefresh",n(),XZ().memoizedState},useEffectEvent:function(Z){return f="useEffectEvent",n(),nK(Z)}},GO={readContext:function(Z){return jZ(Z)},use:V7,useCallback:function(Z,J){return f="useCallback",n(),oK(Z,J)},useContext:function(Z){return f="useContext",n(),jZ(Z)},useEffect:function(Z,J){f="useEffect",n(),AQ(2048,qQ,Z,J)},useImperativeHandle:function(Z,J,G){return f="useImperativeHandle",n(),sK(Z,J,G)},useInsertionEffect:function(Z,J){return f="useInsertionEffect",n(),AQ(4,UQ,Z,J)},useLayoutEffect:function(Z,J){return f="useLayoutEffect",n(),AQ(4,yQ,Z,J)},useMemo:function(Z,J){f="useMemo",n();var G=w.H;w.H=hG;try{return rK(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){f="useReducer",n();var X=w.H;w.H=hG;try{return l4(Z,J,G)}finally{w.H=X}},useRef:function(){return f="useRef",n(),XZ().memoizedState},useState:function(){f="useState",n();var Z=w.H;w.H=hG;try{return l4(V9)}finally{w.H=Z}},useDebugValue:function(){f="useDebugValue",n()},useDeferredValue:function(Z,J){return f="useDeferredValue",n(),UF(Z,J)},useTransition:function(){return f="useTransition",n(),BF()},useSyncExternalStore:function(Z,J,G){return f="useSyncExternalStore",n(),dK(Z,J,G)},useId:function(){return f="useId",n(),XZ().memoizedState},useFormState:function(Z){return f="useFormState",n(),pK(),aK(Z)},useActionState:function(Z){return f="useActionState",n(),aK(Z)},useOptimistic:function(Z,J){return f="useOptimistic",n(),tH(Z,J)},useHostTransitionStatus:z8,useMemoCache:K8,useCacheRefresh:function(){return f="useCacheRefresh",n(),XZ().memoizedState},useEffectEvent:function(Z){return f="useEffectEvent",n(),nK(Z)}},s9={readContext:function(Z){return L(),jZ(Z)},use:function(Z){return M(),V7(Z)},useCallback:function(Z,J){return f="useCallback",M(),m0(),OU(Z,J)},useContext:function(Z){return f="useContext",M(),m0(),jZ(Z)},useEffect:function(Z,J){return f="useEffect",M(),m0(),iK(Z,J)},useImperativeHandle:function(Z,J,G){return f="useImperativeHandle",M(),m0(),BU(Z,J,G)},useInsertionEffect:function(Z,J){f="useInsertionEffect",M(),m0(),G8(4,UQ,Z,J)},useLayoutEffect:function(Z,J){return f="useLayoutEffect",M(),m0(),FU(Z,J)},useMemo:function(Z,J){f="useMemo",M(),m0();var G=w.H;w.H=s9;try{return WU(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){f="useReducer",M(),m0();var X=w.H;w.H=s9;try{return QU(Z,J,G)}finally{w.H=X}},useRef:function(Z){return f="useRef",M(),m0(),jU(Z)},useState:function(Z){f="useState",M(),m0();var J=w.H;w.H=s9;try{return XU(Z)}finally{w.H=J}},useDebugValue:function(){f="useDebugValue",M(),m0()},useDeferredValue:function(Z,J){return f="useDeferredValue",M(),m0(),YU(Z,J)},useTransition:function(){return f="useTransition",M(),m0(),DU()},useSyncExternalStore:function(Z,J,G){return f="useSyncExternalStore",M(),m0(),GU(Z,J,G)},useId:function(){return f="useId",M(),m0(),AU()},useFormState:function(Z,J){return f="useFormState",M(),m0(),Y5(Z,J)},useActionState:function(Z,J){return f="useActionState",M(),m0(),Y5(Z,J)},useOptimistic:function(Z){return f="useOptimistic",M(),m0(),UU(Z)},useMemoCache:function(Z){return M(),K8(Z)},useHostTransitionStatus:z8,useCacheRefresh:function(){return f="useCacheRefresh",m0(),NU()},useEffectEvent:function(Z){return f="useEffectEvent",M(),m0(),HU(Z)}},P9={readContext:function(Z){return L(),jZ(Z)},use:function(Z){return M(),V7(Z)},useCallback:function(Z,J){return f="useCallback",M(),n(),oK(Z,J)},useContext:function(Z){return f="useContext",M(),n(),jZ(Z)},useEffect:function(Z,J){f="useEffect",M(),n(),AQ(2048,qQ,Z,J)},useImperativeHandle:function(Z,J,G){return f="useImperativeHandle",M(),n(),sK(Z,J,G)},useInsertionEffect:function(Z,J){return f="useInsertionEffect",M(),n(),AQ(4,UQ,Z,J)},useLayoutEffect:function(Z,J){return f="useLayoutEffect",M(),n(),AQ(4,yQ,Z,J)},useMemo:function(Z,J){f="useMemo",M(),n();var G=w.H;w.H=P9;try{return rK(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){f="useReducer",M(),n();var X=w.H;w.H=P9;try{return W5(Z,J,G)}finally{w.H=X}},useRef:function(){return f="useRef",M(),n(),XZ().memoizedState},useState:function(){f="useState",M(),n();var Z=w.H;w.H=P9;try{return W5(V9)}finally{w.H=Z}},useDebugValue:function(){f="useDebugValue",M(),n()},useDeferredValue:function(Z,J){return f="useDeferredValue",M(),n(),XF(Z,J)},useTransition:function(){return f="useTransition",M(),n(),FF()},useSyncExternalStore:function(Z,J,G){return f="useSyncExternalStore",M(),n(),dK(Z,J,G)},useId:function(){return f="useId",M(),n(),XZ().memoizedState},useFormState:function(Z){return f="useFormState",M(),n(),lK(Z)},useActionState:function(Z){return f="useActionState",M(),n(),lK(Z)},useOptimistic:function(Z,J){return f="useOptimistic",M(),n(),oH(Z,J)},useMemoCache:function(Z){return M(),K8(Z)},useHostTransitionStatus:z8,useCacheRefresh:function(){return f="useCacheRefresh",n(),XZ().memoizedState},useEffectEvent:function(Z){return f="useEffectEvent",M(),n(),nK(Z)}},hG={readContext:function(Z){return L(),jZ(Z)},use:function(Z){return M(),V7(Z)},useCallback:function(Z,J){return f="useCallback",M(),n(),oK(Z,J)},useContext:function(Z){return f="useContext",M(),n(),jZ(Z)},useEffect:function(Z,J){f="useEffect",M(),n(),AQ(2048,qQ,Z,J)},useImperativeHandle:function(Z,J,G){return f="useImperativeHandle",M(),n(),sK(Z,J,G)},useInsertionEffect:function(Z,J){return f="useInsertionEffect",M(),n(),AQ(4,UQ,Z,J)},useLayoutEffect:function(Z,J){return f="useLayoutEffect",M(),n(),AQ(4,yQ,Z,J)},useMemo:function(Z,J){f="useMemo",M(),n();var G=w.H;w.H=P9;try{return rK(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){f="useReducer",M(),n();var X=w.H;w.H=P9;try{return l4(Z,J,G)}finally{w.H=X}},useRef:function(){return f="useRef",M(),n(),XZ().memoizedState},useState:function(){f="useState",M(),n();var Z=w.H;w.H=P9;try{return l4(V9)}finally{w.H=Z}},useDebugValue:function(){f="useDebugValue",M(),n()},useDeferredValue:function(Z,J){return f="useDeferredValue",M(),n(),UF(Z,J)},useTransition:function(){return f="useTransition",M(),n(),BF()},useSyncExternalStore:function(Z,J,G){return f="useSyncExternalStore",M(),n(),dK(Z,J,G)},useId:function(){return f="useId",M(),n(),XZ().memoizedState},useFormState:function(Z){return f="useFormState",M(),n(),aK(Z)},useActionState:function(Z){return f="useActionState",M(),n(),aK(Z)},useOptimistic:function(Z,J){return f="useOptimistic",M(),n(),tH(Z,J)},useMemoCache:function(Z){return M(),K8(Z)},useHostTransitionStatus:z8,useCacheRefresh:function(){return f="useCacheRefresh",n(),XZ().memoizedState},useEffectEvent:function(Z){return f="useEffectEvent",M(),n(),nK(Z)}};var zO={},XO=new Set,UO=new Set,qO=new Set,jO=new Set,HO=new Set,FO=new Set,BO=new Set,OO=new Set,WO=new Set,YO=new Set;Object.freeze(zO);var sq={enqueueSetState:function(Z,J,G){Z=Z._reactInternals;var X=fQ(Z),q=B7(X);q.payload=J,G!==void 0&&G!==null&&(LU(G),q.callback=G),J=O7(Z,q,X),J!==null&&(tJ(X,"this.setState()",Z),mZ(J,Z,X),h4(J,Z,X))},enqueueReplaceState:function(Z,J,G){Z=Z._reactInternals;var X=fQ(Z),q=B7(X);q.tag=r2,q.payload=J,G!==void 0&&G!==null&&(LU(G),q.callback=G),J=O7(Z,q,X),J!==null&&(tJ(X,"this.replaceState()",Z),mZ(J,Z,X),h4(J,Z,X))},enqueueForceUpdate:function(Z,J){Z=Z._reactInternals;var G=fQ(Z),X=B7(G);X.tag=t2,J!==void 0&&J!==null&&(LU(J),X.callback=J),J=O7(Z,X,G),J!==null&&(tJ(G,"this.forceUpdate()",Z),mZ(J,Z,G),h4(J,Z,G))}},c5=null,oq=null,rq=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),QJ=!1,VO={},DO={},AO={},NO={},d5=!1,MO={},pG={},tq={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},LO=!1,PO=null;PO=new Set;var b6=!1,KJ=!1,eq=!1,_O=typeof WeakSet==="function"?WeakSet:Set,AJ=null,l5=null,a5=null,GJ=null,NQ=!1,_9=null,BJ=!1,i5=8192,pP={getCacheForType:function(Z){var J=jZ(uZ),G=J.data.get(Z);return G===void 0&&(G=Z(),J.data.set(Z,G)),G},cacheSignal:function(){return jZ(uZ).controller.signal},getOwner:function(){return R6}},cG=0,dG=1,lG=2,aG=3,iG=4;if(typeof Symbol==="function"&&Symbol.for){var I1=Symbol.for;cG=I1("selector.component"),dG=I1("selector.has_pseudo_class"),lG=I1("selector.role"),aG=I1("selector.test_id"),iG=I1("selector.text")}var nG=[],cP=typeof WeakMap==="function"?WeakMap:Map,NJ=0,MJ=2,Q9=4,w6=0,k1=1,k8=2,sG=3,T7=4,oG=6,$O=5,c0=NJ,OZ=null,v0=null,f0=0,MQ=0,rG=1,E8=2,E1=3,RO=4,Z3=5,T1=6,tG=7,J3=8,T8=9,UZ=MQ,gQ=null,C7=!1,n5=!1,Q3=!1,o9=0,wZ=w6,x7=0,S7=0,K3=0,LQ=0,C8=0,C1=null,jQ=null,eG=!1,Zz=0,IO=0,kO=300,x1=1/0,G3=500,S1=null,iZ=null,f7=null,Jz=0,z3=1,X3=2,EO=3,b7=0,TO=1,CO=2,xO=3,SO=4,Qz=5,zJ=0,w7=null,s5=null,$9=0,U3=0,q3=-0,j3=null,fO=null,bO=null,R9=Jz,wO=null,dP=50,f1=0,H3=null,F3=!1,Kz=!1,lP=50,x8=0,b1=null,o5=!1,Gz=null,vO=!1,yO=new Set,aP={},K9=null,r5=null,gO=!1;try{var mO=Object.preventExtensions({})}catch(Z){gO=!0}var uO=!1,hO={},pO=null,cO=null,dO=null,lO=null,aO=null,iO=null,nO=null,sO=null,oO=null,rO=null;return pO=function(Z,J,G,X){J=K(Z,J),J!==null&&(G=z(J.memoizedState,G,0,X),J.memoizedState=G,J.baseState=G,Z.memoizedProps=kJ({},Z.memoizedProps),G=hJ(Z,2),G!==null&&mZ(G,Z,2))},cO=function(Z,J,G){J=K(Z,J),J!==null&&(G=F(J.memoizedState,G,0),J.memoizedState=G,J.baseState=G,Z.memoizedProps=kJ({},Z.memoizedProps),G=hJ(Z,2),G!==null&&mZ(G,Z,2))},dO=function(Z,J,G,X){J=K(Z,J),J!==null&&(G=U(J.memoizedState,G,X),J.memoizedState=G,J.baseState=G,Z.memoizedProps=kJ({},Z.memoizedProps),G=hJ(Z,2),G!==null&&mZ(G,Z,2))},lO=function(Z,J,G){Z.pendingProps=z(Z.memoizedProps,J,0,G),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),J=hJ(Z,2),J!==null&&mZ(J,Z,2)},aO=function(Z,J){Z.pendingProps=F(Z.memoizedProps,J,0),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),J=hJ(Z,2),J!==null&&mZ(J,Z,2)},iO=function(Z,J,G){Z.pendingProps=U(Z.memoizedProps,J,G),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),J=hJ(Z,2),J!==null&&mZ(J,Z,2)},nO=function(Z){var J=hJ(Z,2);J!==null&&mZ(J,Z,2)},sO=function(Z){var J=w0(),G=hJ(Z,J);G!==null&&mZ(G,Z,J)},oO=function(Z){W=Z},rO=function(Z){B=Z},a0.attemptContinuousHydration=function(Z){if(Z.tag===13||Z.tag===31){var J=hJ(Z,67108864);J!==null&&mZ(J,Z,67108864),Xq(Z,67108864)}},a0.attemptHydrationAtCurrentPriority=function(Z){if(Z.tag===13||Z.tag===31){var J=fQ(Z);J=XJ(J);var G=hJ(Z,J);G!==null&&mZ(G,Z,J),Xq(Z,J)}},a0.attemptSynchronousHydration=function(Z){switch(Z.tag){case 3:if(Z=Z.stateNode,Z.current.memoizedState.isDehydrated){var J=Q0(Z.pendingLanes);if(J!==0){Z.pendingLanes|=2;for(Z.entangledLanes|=2;J;){var G=1<<31-GQ(J);Z.entanglements[1]|=G,J&=~G}lZ(Z),(c0&(MJ|Q9))===NJ&&(x1=FJ()+G3,g9(0,!1))}}break;case 31:case 13:J=hJ(Z,2),J!==null&&mZ(J,Z,2),HG(),Xq(Z,2)}},a0.batchedUpdates=function(Z,J){return Z(J)},a0.createComponentSelector=function(Z){return{$$typeof:cG,value:Z}},a0.createContainer=function(Z,J,G,X,q,j,O,V,P,k){return wB(Z,J,!1,null,G,X,j,null,O,V,P,k)},a0.createHasPseudoClassSelector=function(Z){return{$$typeof:dG,value:Z}},a0.createHydrationContainer=function(Z,J,G,X,q,j,O,V,P,k,b,v,c,q0){return Z=wB(G,X,!0,Z,q,j,V,q0,P,k,b,v),Z.context=yB(null),G=Z.current,X=fQ(G),X=XJ(X),q=B7(X),q.callback=J!==void 0&&J!==null?J:null,O7(G,q,X),tJ(X,"hydrateRoot()",null),J=X,Z.current.lanes=J,PZ(Z,J),lZ(Z),Z},a0.createPortal=function(Z,J,G){var X=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{vB(X);var q=!1}catch(j){q=!0}return q&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&X[Symbol.toStringTag]||X.constructor.name||"Object"),vB(X)),{$$typeof:B8,key:X==null?null:""+X,children:Z,containerInfo:J,implementation:G}},a0.createRoleSelector=function(Z){return{$$typeof:lG,value:Z}},a0.createTestNameSelector=function(Z){return{$$typeof:aG,value:Z}},a0.createTextSelector=function(Z){return{$$typeof:iG,value:Z}},a0.defaultOnCaughtError=function(Z){var J=c5?"The above error occurred in the <"+c5+"> component.":"The above error occurred in one of your React components.",G="React will try to recreate this component tree from scratch using the error boundary you provided, "+((oq||"Anonymous")+".");typeof Z==="object"&&Z!==null&&typeof Z.environmentName==="string"?WL("error",[`%o
181
-
182
- %s
183
-
184
- %s
185
- `,Z,J,G],Z.environmentName)():console.error(`%o
186
-
187
- %s
188
-
189
- %s
190
- `,Z,J,G)},a0.defaultOnRecoverableError=function(Z){A2(Z)},a0.defaultOnUncaughtError=function(Z){A2(Z),console.warn(`%s
191
-
192
- %s
193
- `,c5?"An error occurred in the <"+c5+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
194
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)},a0.deferredUpdates=function(Z){var J=w.T,G=M6();try{return DJ(32),w.T=null,Z()}finally{DJ(G),w.T=J}},a0.discreteUpdates=function(Z,J,G,X,q){var j=w.T,O=M6();try{return DJ(2),w.T=null,Z(J,G,X,q)}finally{DJ(O),w.T=j,c0===NJ&&(x1=FJ()+G3)}},a0.findAllNodes=jG,a0.findBoundingRects=function(Z,J){if(!R5)throw Error("Test selector API is not supported by this renderer.");J=jG(Z,J),Z=[];for(var G=0;G<J.length;G++)Z.push(AL(J[G]));for(J=Z.length-1;0<J;J--){G=Z[J];for(var X=G.x,q=X+G.width,j=G.y,O=j+G.height,V=J-1;0<=V;V--)if(J!==V){var P=Z[V],k=P.x,b=k+P.width,v=P.y,c=v+P.height;if(X>=k&&j>=v&&q<=b&&O<=c){Z.splice(J,1);break}else if(!(X!==k||G.width!==P.width||c<j||v>O)){v>j&&(P.height+=v-j,P.y=j),c<O&&(P.height=O-v),Z.splice(J,1);break}else if(!(j!==v||G.height!==P.height||b<X||k>q)){k>X&&(P.width+=k-X,P.x=X),b<q&&(P.width=q-k),Z.splice(J,1);break}}}return Z},a0.findHostInstance=function(Z){var J=Z._reactInternals;if(J===void 0){if(typeof Z.render==="function")throw Error("Unable to find node on an unmounted component.");throw Z=Object.keys(Z).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+Z)}return Z=u(J),Z===null?null:_5(Z.stateNode)},a0.findHostInstanceWithNoPortals=function(Z){return Z=g(Z),Z=Z!==null?m(Z):null,Z===null?null:_5(Z.stateNode)},a0.findHostInstanceWithWarning=function(Z,J){var G=Z._reactInternals;if(G===void 0){if(typeof Z.render==="function")throw Error("Unable to find node on an unmounted component.");throw Z=Object.keys(Z).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+Z)}if(Z=u(G),Z===null)return null;if(Z.mode&8){var X=S(G)||"Component";hO[X]||(hO[X]=!0,J0(Z,function(){G.mode&8?console.error("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://react.dev/link/strict-mode-find-node",J,J,X):console.error("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://react.dev/link/strict-mode-find-node",J,J,X)}))}return _5(Z.stateNode)},a0.flushPassiveEffects=L5,a0.flushSyncFromReconciler=function(Z){var J=c0;c0|=1;var G=w.T,X=M6();try{if(DJ(2),w.T=null,Z)return Z()}finally{DJ(X),w.T=G,c0=J,(c0&(MJ|Q9))===NJ&&g9(0,!1)}},a0.flushSyncWork=HG,a0.focusWithin=function(Z,J){if(!R5)throw Error("Test selector API is not supported by this renderer.");Z=aU(Z),J=UB(Z,J),J=Array.from(J);for(Z=0;Z<J.length;){var G=J[Z++],X=G.tag;if(!K1(G)){if((X===5||X===26||X===27)&&LL(G.stateNode))return!0;for(G=G.child;G!==null;)J.push(G),G=G.sibling}}return!1},a0.getFindAllNodesFailureDescription=function(Z,J){if(!R5)throw Error("Test selector API is not supported by this renderer.");var G=0,X=[];Z=[aU(Z),0];for(var q=0;q<Z.length;){var j=Z[q++],O=j.tag,V=Z[q++],P=J[V];if(O!==5&&O!==26&&O!==27||!K1(j)){if(iU(j,P)&&(X.push(nU(P)),V++,V>G&&(G=V)),V<J.length)for(j=j.child;j!==null;)Z.push(j,V),j=j.sibling}}if(G<J.length){for(Z=[];G<J.length;G++)Z.push(nU(J[G]));return`findAllNodes was able to match part of the selector:
195
- `+(X.join(" > ")+`
196
-
197
- No matching component was found for:
198
- `)+Z.join(" > ")}return null},a0.getPublicRootInstance=function(Z){if(Z=Z.current,!Z.child)return null;switch(Z.child.tag){case 27:case 5:return _5(Z.child.stateNode);default:return Z.child.stateNode}},a0.injectIntoDevTools=function(){var Z={bundleType:1,version:nM,rendererPackageName:sM,currentDispatcherRef:w,reconcilerVersion:"19.2.0"};return pB!==null&&(Z.rendererConfig=pB),Z.overrideHookState=pO,Z.overrideHookStateDeletePath=cO,Z.overrideHookStateRenamePath=dO,Z.overrideProps=lO,Z.overridePropsDeletePath=aO,Z.overridePropsRenamePath=iO,Z.scheduleUpdate=nO,Z.scheduleRetry=sO,Z.setErrorHandler=oO,Z.setSuspenseHandler=rO,Z.scheduleRefresh=A,Z.scheduleRoot=D,Z.setRefreshHandler=N,Z.getCurrentFiber=dM,bJ(Z)},a0.isAlreadyRendering=sU,a0.observeVisibleRects=function(Z,J,G,X){function q(){var k=jG(Z,J);j.forEach(function(b){0>k.indexOf(b)&&P(b)}),k.forEach(function(b){0>j.indexOf(b)&&V(b)})}if(!R5)throw Error("Test selector API is not supported by this renderer.");var j=jG(Z,J);G=PL(j,G,X);var{disconnect:O,observe:V,unobserve:P}=G;return nG.push(q),{disconnect:function(){var k=nG.indexOf(q);0<=k&&nG.splice(k,1),O()}}},a0.shouldError=function(Z){return W(Z)},a0.shouldSuspend=function(Z){return B(Z)},a0.startHostTransition=function(Z,J,G,X){if(Z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var q=HF(Z).queue;U5(Z),jF(Z,q,J,$5,G===null?T:function(){w.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var j=HF(Z);return j.next===null&&(j=Z.alternate.memoizedState),a4(Z,j.next.queue,{},fQ(Z)),G(X)})},a0.updateContainer=function(Z,J,G,X){var q=J.current,j=fQ(q);return mB(q,j,Z,J,G,X),j},a0.updateContainerSync=gB,a0},s1.exports.default=s1.exports,Object.defineProperty(s1.exports,"__esModule",{value:!0})});var h0,kz,hQ,o1,c6,h8,Ez,u3,Tz,q4;var p8=h(()=>{h0={All:"all",Horizontal:"horizontal",Vertical:"vertical",Left:"left",Right:"right",Top:"top",Bottom:"bottom",Start:"start",End:"end"},kz={All:"all",Column:"column",Row:"row"},hQ={Flex:"flex",None:"none"},o1={Row:"row",RowReverse:"row-reverse",Column:"column",ColumnReverse:"column-reverse"},c6={Auto:"auto",Stretch:"stretch",FlexStart:"flex-start",Center:"center",FlexEnd:"flex-end"},h8={FlexStart:"flex-start",Center:"center",FlexEnd:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Ez={NoWrap:"nowrap",Wrap:"wrap",WrapReverse:"wrap-reverse"},u3={Relative:"relative",Absolute:"absolute"},Tz={Visible:"visible",Hidden:"hidden",Scroll:"scroll"},q4={Undefined:"undefined",Exactly:"exactly",AtMost:"at-most"}});class h3{yoga;constructor(Q){this.yoga=Q}insertChild(Q,K){this.yoga.insertChild(Q.yoga,K)}removeChild(Q){this.yoga.removeChild(Q.yoga)}getChildCount(){return this.yoga.getChildCount()}getParent(){let Q=this.yoga.getParent();return Q?new h3(Q):null}calculateLayout(Q,K){this.yoga.calculateLayout(Q,void 0,Yz.LTR)}setMeasureFunc(Q){this.yoga.setMeasureFunc((K,z)=>{let U=z===b0.Exactly?q4.Exactly:z===b0.AtMost?q4.AtMost:q4.Undefined;return Q(K,U)})}unsetMeasureFunc(){this.yoga.unsetMeasureFunc()}markDirty(){this.yoga.markDirty()}getComputedLeft(){return this.yoga.getComputedLeft()}getComputedTop(){return this.yoga.getComputedTop()}getComputedWidth(){return this.yoga.getComputedWidth()}getComputedHeight(){return this.yoga.getComputedHeight()}getComputedBorder(Q){return this.yoga.getComputedBorder(c8[Q])}getComputedPadding(Q){return this.yoga.getComputedPadding(c8[Q])}setWidth(Q){this.yoga.setWidth(Q)}setWidthPercent(Q){this.yoga.setWidthPercent(Q)}setWidthAuto(){this.yoga.setWidthAuto()}setHeight(Q){this.yoga.setHeight(Q)}setHeightPercent(Q){this.yoga.setHeightPercent(Q)}setHeightAuto(){this.yoga.setHeightAuto()}setMinWidth(Q){this.yoga.setMinWidth(Q)}setMinWidthPercent(Q){this.yoga.setMinWidthPercent(Q)}setMinHeight(Q){this.yoga.setMinHeight(Q)}setMinHeightPercent(Q){this.yoga.setMinHeightPercent(Q)}setMaxWidth(Q){this.yoga.setMaxWidth(Q)}setMaxWidthPercent(Q){this.yoga.setMaxWidthPercent(Q)}setMaxHeight(Q){this.yoga.setMaxHeight(Q)}setMaxHeightPercent(Q){this.yoga.setMaxHeightPercent(Q)}setFlexDirection(Q){let K={row:oZ.Row,"row-reverse":oZ.RowReverse,column:oZ.Column,"column-reverse":oZ.ColumnReverse};this.yoga.setFlexDirection(K[Q])}setFlexGrow(Q){this.yoga.setFlexGrow(Q)}setFlexShrink(Q){this.yoga.setFlexShrink(Q)}setFlexBasis(Q){this.yoga.setFlexBasis(Q)}setFlexBasisPercent(Q){this.yoga.setFlexBasisPercent(Q)}setFlexWrap(Q){let K={nowrap:m6.NoWrap,wrap:m6.Wrap,"wrap-reverse":m6.WrapReverse};this.yoga.setFlexWrap(K[Q])}setAlignItems(Q){let K={auto:k0.Auto,stretch:k0.Stretch,"flex-start":k0.FlexStart,center:k0.Center,"flex-end":k0.FlexEnd};this.yoga.setAlignItems(K[Q])}setAlignSelf(Q){let K={auto:k0.Auto,stretch:k0.Stretch,"flex-start":k0.FlexStart,center:k0.Center,"flex-end":k0.FlexEnd};this.yoga.setAlignSelf(K[Q])}setJustifyContent(Q){let K={"flex-start":CJ.FlexStart,center:CJ.Center,"flex-end":CJ.FlexEnd,"space-between":CJ.SpaceBetween,"space-around":CJ.SpaceAround,"space-evenly":CJ.SpaceEvenly};this.yoga.setJustifyContent(K[Q])}setDisplay(Q){this.yoga.setDisplay(Q==="flex"?g6.Flex:g6.None)}getDisplay(){return this.yoga.getDisplay()===g6.None?hQ.None:hQ.Flex}setPositionType(Q){this.yoga.setPositionType(Q==="absolute"?v8.Absolute:v8.Relative)}setPosition(Q,K){this.yoga.setPosition(c8[Q],K)}setPositionPercent(Q,K){this.yoga.setPositionPercent(c8[Q],K)}setOverflow(Q){let K={visible:w8.Visible,hidden:w8.Hidden,scroll:w8.Scroll};this.yoga.setOverflow(K[Q])}setMargin(Q,K){this.yoga.setMargin(c8[Q],K)}setPadding(Q,K){this.yoga.setPadding(c8[Q],K)}setBorder(Q,K){this.yoga.setBorder(c8[Q],K)}setGap(Q,K){this.yoga.setGap(R$[Q],K)}free(){this.yoga.free()}freeRecursive(){this.yoga.freeRecursive()}}function DY(){return new h3(pW.Node.create())}var c8,R$;var AY=h(()=>{Pz();p8();c8={all:VZ.All,horizontal:VZ.Horizontal,vertical:VZ.Vertical,left:VZ.Left,right:VZ.Right,top:VZ.Top,bottom:VZ.Bottom,start:VZ.Start,end:VZ.End},R$={all:r9.All,column:r9.Column,row:r9.Row}});function NY(){return DY()}var MY=h(()=>{AY()});function xz(Q){let K=Cz.get(Q);if(K!==void 0)return K;let z=xJ(Q);if(Cz.size>=I$)Cz.clear();return Cz.set(Q,z),z}var Cz,I$=4096;var p3=h(()=>{j4();Cz=new Map});function k$(Q,K){if(Q.length===0)return{width:0,height:0};let z=K<=0||!Number.isFinite(K),U=0,H=0,F=0;while(F<=Q.length){let B=Q.indexOf(`
199
- `,F),W=B===-1?Q.substring(F):Q.substring(F,B),Y=xz(W);if(H=Math.max(H,Y),z)U++;else U+=Y===0?1:Math.ceil(Y/K);if(B===-1)break;F=B+1}return{width:H,height:U}}var Sz;var LY=h(()=>{p3();Sz=k$});function PY(Q,K,z){let U=r1.get(Q);if(U)U.push(K);else r1.set(Q,[K]);if(z)c3=!0}function _Y(){let Q=c3;return c3=!1,Q}var rZ,r1,c3=!1;var H4=h(()=>{rZ=new WeakMap,r1=new WeakMap});function fz(Q,K={},z,U=[]){let H=Q.textStyles?{...K,...Q.textStyles}:K;for(let F of Q.childNodes){if(F===void 0)continue;if(F.nodeName==="#text"){if(F.nodeValue.length>0)U.push({text:F.nodeValue,styles:H,hyperlink:z})}else if(F.nodeName==="ink-text"||F.nodeName==="ink-virtual-text")fz(F,H,z,U);else if(F.nodeName==="ink-link"){let B=F.attributes.href;fz(F,H,B||z,U)}}return U}function d3(Q){let K="";for(let z of Q.childNodes){if(z===void 0)continue;if(z.nodeName==="#text")K+=z.nodeValue;else if(z.nodeName==="ink-text"||z.nodeName==="ink-virtual-text")K+=d3(z);else if(z.nodeName==="ink-link")K+=d3(z)}return K}var $Y;var l3=h(()=>{$Y=d3});function RY(Q,K=E$){if(!Q.includes("\t"))return Q;let z=U4(),U=z.feed(Q);U.push(...z.flush());let H="",F=0;for(let B of U)if(B.type==="sequence")H+=B.value;else{let W=B.value.split(/(\t|\n)/);for(let Y of W)if(Y==="\t"){let D=K-F%K;H+=" ".repeat(D),F+=D}else if(Y===`
200
- `)H+=Y,F=0;else H+=Y,F+=xJ(Y)}return H}var E$=8;var IY=h(()=>{j4();Rz()});function x$(){let Q=new Map;for(let[K,z]of Object.entries(yZ)){for(let[U,H]of Object.entries(z))yZ[U]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[U]=yZ[U],Q.set(H[0],H[1]);Object.defineProperty(yZ,K,{value:z,enumerable:!1})}return Object.defineProperty(yZ,"codes",{value:Q,enumerable:!1}),yZ.color.close="\x1B[39m",yZ.bgColor.close="\x1B[49m",yZ.color.ansi=kY(),yZ.color.ansi256=EY(),yZ.color.ansi16m=TY(),yZ.bgColor.ansi=kY(10),yZ.bgColor.ansi256=EY(10),yZ.bgColor.ansi16m=TY(10),Object.defineProperties(yZ,{rgbToAnsi256:{value(K,z,U){if(K===z&&z===U){if(K<8)return 16;if(K>248)return 231;return Math.round((K-8)/247*24)+232}return 16+36*Math.round(K/255*5)+6*Math.round(z/255*5)+Math.round(U/255*5)},enumerable:!1},hexToRgb:{value(K){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(K.toString(16));if(!z)return[0,0,0];let[U]=z;if(U.length===3)U=[...U].map((F)=>F+F).join("");let H=Number.parseInt(U,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(K)=>yZ.rgbToAnsi256(...yZ.hexToRgb(K)),enumerable:!1},ansi256ToAnsi:{value(K){if(K<8)return 30+K;if(K<16)return 90+(K-8);let z,U,H;if(K>=232)z=((K-232)*10+8)/255,U=z,H=z;else{K-=16;let W=K%36;z=Math.floor(K/36)/5,U=Math.floor(W/6)/5,H=W%6/5}let F=Math.max(z,U,H)*2;if(F===0)return 30;let B=30+(Math.round(H)<<2|Math.round(U)<<1|Math.round(z));if(F===2)B+=60;return B},enumerable:!1},rgbToAnsi:{value:(K,z,U)=>yZ.ansi256ToAnsi(yZ.rgbToAnsi256(K,z,U)),enumerable:!1},hexToAnsi:{value:(K)=>yZ.ansi256ToAnsi(yZ.hexToAnsi256(K)),enumerable:!1}}),yZ}var kY=(Q=0)=>(K)=>`\x1B[${K+Q}m`,EY=(Q=0)=>(K)=>`\x1B[${38+Q};5;${K}m`,TY=(Q=0)=>(K,z,U)=>`\x1B[${38+Q};2;${K};${z};${U}m`,yZ,kC,T$,C$,EC,S$,nJ;var bz=h(()=>{yZ={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},kC=Object.keys(yZ.modifier),T$=Object.keys(yZ.color),C$=Object.keys(yZ.bgColor),EC=[...T$,...C$];S$=x$(),nJ=S$});var CY=7,xY=27,SY=92,fY=91,bY=93,wY,vY=48,yY=57,gY=59,mY=109,uY,wz="\x1B]8;",a3,hY="\x1B]8;;\x07",pY="\x1B]8;;\x1B\\",cY;var i3=h(()=>{wY="œ".charCodeAt(0),uY=new Set([27,155]),a3="\x1B]8;".split("").map((Q)=>Q.charCodeAt(0)),cY=`\x1B]8;;${"œ"}`});function s3(Q){if(vz.has(Q))return Q;if(n3.has(Q))return n3.get(Q);if(Q.startsWith(wz)){if(Q.endsWith("\x1B\\"))return pY;if(Q.endsWith("œ"))return cY;return hY}if(Q=Q.slice(2),Q.startsWith("38"))return nJ.color.close;else if(Q.startsWith("48"))return nJ.bgColor.close;let K=nJ.codes.get(parseInt(Q,10));if(K)return nJ.color.ansi(K);else return nJ.reset.open}function J6(Q){return[...new Set(Q.map((z)=>z.code))].join("")}function yz(Q){return Q.code===nJ.bold.open||Q.code===nJ.dim.open}var vz,n3;var F4=h(()=>{bz();i3();vz=new Set,n3=new Map;for(let[Q,K]of nJ.codes)vz.add(nJ.color.ansi(K)),n3.set(nJ.color.ansi(Q),nJ.color.ansi(K))});function B4(Q){return gz([],Q)}function gz(Q,K){let z=[...Q];for(let U of K)if(U.code===nJ.reset.open)z=[];else if(vz.has(U.code))z=z.filter((H)=>H.endCode!==U.code);else if(yz(U)){if(!z.find((H)=>H.code===U.code&&H.endCode===U.endCode))z.push(U)}else z=z.filter((H)=>H.endCode!==U.endCode),z.push(U);return z}var mz=h(()=>{bz();F4()});function t1(Q){return B4(Q).reverse().map((K)=>({...K,code:K.endCode}))}var o3=h(()=>{mz()});function d8(Q,K){let z=new Set(K.map((F)=>F.endCode)),U=new Set(K.map((F)=>F.code)),H=new Set(Q.map((F)=>F.code));return[...t1(Q.filter((F)=>{if(yz(F))return!U.has(F.code);return!z.has(F.endCode)})),...K.filter((F)=>!H.has(F.code))]}var r3=h(()=>{F4();o3()});function dY(Q){let K=[],z=[];for(let U of Q)if(U.type==="ansi")K=gz(K,[U]);else if(U.type==="char")z.push({...U,styles:[...K]});return z}var lY=h(()=>{F4();r3();mz()});function t3(Q){if(!Number.isInteger(Q))return!1;return aY(Q)||iY(Q)}var sY=h(()=>{nY()});function b$(Q,K){if(t3(K))return!0;if(Q.includes("️"))return!0;if(K>=127462&&K<=127487)return!0;return!1}function w$(Q,K){Q=Q.slice(K);for(let H=1;H<a3.length;H++)if(Q.charCodeAt(H)!==a3[H])return;let z=Q.indexOf(";",wz.length);if(z===-1)return;let U=oY(Q,z+1);if(U===-1)return;return Q.slice(0,U+1)}function v$(Q,K){Q=Q.slice(K);let z=oY(Q,2);if(z===-1)return;return Q.slice(0,z+1)}function oY(Q,K){for(let z=K;z<Q.length;z++){let U=Q.charCodeAt(z);if(U===CY)return z;if(U===wY)return z;if(U===xY&&z+1<Q.length&&Q.charCodeAt(z+1)===SY)return z+1}return-1}function y$(Q){for(let K=2;K<Q.length;K++){let z=Q.charCodeAt(K);if(z===mY)return K;if(z===gY)continue;if(z>=vY&&z<=yY)continue;break}return-1}function g$(Q,K){Q=Q.slice(K);let z=y$(Q);if(z===-1)return;return Q.slice(0,z+1)}function m$(Q){if(!Q.includes(";"))return[Q];let K=Q.slice(2,-1).split(";"),z=[];for(let U=0;U<K.length;U++){let H=K[U];if(H==="38"||H==="48"){if(U+2<K.length&&K[U+1]==="5"){z.push(K.slice(U,U+3).join(";")),U+=2;continue}else if(U+4<K.length&&K[U+1]==="2"){z.push(K.slice(U,U+5).join(";")),U+=4;continue}}z.push(H)}return z.map((U)=>`\x1B[${U}m`)}function uz(Q,K=Number.POSITIVE_INFINITY){let z=[],U=0,H=0;for(let{segment:F,index:B}of f$.segment(Q)){if(B<H)continue;let W=F.codePointAt(0);if(uY.has(W)){let D,A=Q.codePointAt(B+1);if(A===bY){if(D=w$(Q,B),D)z.push({type:"ansi",code:D,endCode:s3(D)});else if(D=v$(Q,B),D)z.push({type:"control",code:D})}else if(A===fY){if(D=g$(Q,B),D){let N=m$(D);for(let M of N)z.push({type:"ansi",code:M,endCode:s3(M)})}}if(D){H=B+D.length;continue}}let Y=b$(F,W);if(z.push({type:"char",value:F,fullWidth:Y}),U+=Y?2:1,U>=K)break}return z}var f$;var rY=h(()=>{sY();F4();i3();f$=new Intl.Segmenter(void 0,{granularity:"grapheme"})});var e1=h(()=>{F4();r3();mz();o3();lY();rY()});function u$(Q){return Q.code===Q.endCode}function tY(Q){return Q.filter((K)=>!u$(K))}function l8(Q,K,z){let U=uz(Q),H=[],F=0,B="",W=!1;for(let D of U){let A=D.type==="ansi"?0:D.fullWidth?2:xJ(D.value);if(z!==void 0&&F>=z){if(D.type==="ansi"||A>0||!W)break}if(D.type==="ansi"){if(H.push(D),W)B+=D.code}else{if(!W&&F>=K){if(K>0&&A===0)continue;W=!0,H=tY(B4(H)),B=J6(H)}if(W)B+=D.value;F+=A}}let Y=tY(B4(H));return B+=J6(t1(Y)),B}var e3=h(()=>{e1();j4()});function a8(Q,K={}){if(typeof Q!=="string"||Q.length===0)return 0;let{ambiguousIsNarrow:z=!0,countAnsiEscapeCodes:U=!1}=K;if(!U)Q=O4(Q);if(Q.length===0)return 0;let H=0,F={ambiguousAsWide:!z};for(let{segment:B}of p$.segment(Q)){let W=B.codePointAt(0);if(W<=31||W>=127&&W<=159)continue;if(W>=8203&&W<=8207||W===65279)continue;if(W>=768&&W<=879||W>=6832&&W<=6911||W>=7616&&W<=7679||W>=8400&&W<=8447||W>=65056&&W<=65071)continue;if(W>=55296&&W<=57343)continue;if(W>=65024&&W<=65039)continue;if(c$.test(B))continue;if(ZV.default().test(B)){H+=2;continue}H+=eY(W,F)}return H}var ZV,p$,c$;var JV=h(()=>{Zj();nY();ZV=r(h$(),1),p$=new Intl.Segmenter,c$=/^\p{Default_Ignorable_Code_Point}$/u});function Kj(Q,K,z){return String(Q).normalize().replaceAll(`\r
201
- `,`
202
- `).split(`
203
- `).map((U)=>n$(U,K,z)).join(`
204
- `)}var pz,d$=39,Qj="\x07",GV="[",l$="]",zV="m",hz,QV=(Q)=>`${pz.values().next().value}${GV}${Q}${zV}`,KV=(Q)=>`${pz.values().next().value}${hz}${Q}${Qj}`,a$=(Q)=>Q.split(" ").map((K)=>a8(K)),Jj=(Q,K,z)=>{let U=[...K],H=!1,F=!1,B=a8(O4(Q.at(-1)));for(let[W,Y]of U.entries()){let D=a8(Y);if(B+D<=z)Q[Q.length-1]+=Y;else Q.push(Y),B=0;if(pz.has(Y))H=!0,F=U.slice(W+1,W+1+hz.length).join("")===hz;if(H){if(F){if(Y===Qj)H=!1,F=!1}else if(Y===zV)H=!1;continue}if(B+=D,B===z&&W<U.length-1)Q.push(""),B=0}if(!B&&Q.at(-1).length>0&&Q.length>1)Q[Q.length-2]+=Q.pop()},i$=(Q)=>{let K=Q.split(" "),z=K.length;while(z>0){if(a8(K[z-1])>0)break;z--}if(z===K.length)return Q;return K.slice(0,z).join(" ")+K.slice(z).join("")},n$=(Q,K,z={})=>{if(z.trim!==!1&&Q.trim()==="")return"";let U="",H,F,B=a$(Q),W=[""];for(let[N,M]of Q.split(" ").entries()){if(z.trim!==!1)W[W.length-1]=W.at(-1).trimStart();let L=a8(W.at(-1));if(N!==0){if(L>=K&&(z.wordWrap===!1||z.trim===!1))W.push(""),L=0;if(L>0||z.trim===!1)W[W.length-1]+=" ",L++}if(z.hard&&B[N]>K){let T=K-L,_=1+Math.floor((B[N]-T-1)/K);if(Math.floor((B[N]-1)/K)<_)W.push("");Jj(W,M,K);continue}if(L+B[N]>K&&L>0&&B[N]>0){if(z.wordWrap===!1&&L<K){Jj(W,M,K);continue}W.push("")}if(L+B[N]>K&&z.wordWrap===!1){Jj(W,M,K);continue}W[W.length-1]+=M}if(z.trim!==!1)W=W.map((N)=>i$(N));let Y=W.join(`
205
- `),D=[...Y],A=0;for(let[N,M]of D.entries()){if(U+=M,pz.has(M)){let{groups:T}=new RegExp(`(?:\\${GV}(?<code>\\d+)m|\\${hz}(?<uri>.*)${Qj})`).exec(Y.slice(A))||{groups:{}};if(T.code!==void 0){let _=Number.parseFloat(T.code);H=_===d$?void 0:_}else if(T.uri!==void 0)F=T.uri.length===0?void 0:T.uri}let L=nJ.codes.get(Number(H));if(D[N+1]===`
206
- `){if(F)U+=KV("");if(H&&L)U+=QV(L)}else if(M===`
207
- `){if(H&&L)U+=QV(H);if(F)U+=KV(F)}A+=M.length}return U};var XV=h(()=>{JV();Zj();bz();pz=new Set(["\x1B","›"]),hz=`${l$}8;;`});var s$,Gj;var UV=h(()=>{XV();s$=typeof Bun<"u"&&typeof Bun.wrapAnsi==="function"?Bun.wrapAnsi:null,Gj=s$??Kj});function dz(Q,K,z){let U=l8(Q,K,z);return xJ(U)>z-K?l8(Q,K,z-1):U}function o$(Q,K,z){if(K<1)return"";if(K===1)return cz;let U=xJ(Q);if(U<=K)return Q;if(z==="start")return cz+dz(Q,U-K+1,U);if(z==="middle"){let H=Math.floor(K/2);return dz(Q,0,H)+cz+dz(Q,U-(K-H)+1,U)}return dz(Q,0,K-1)+cz}function i8(Q,K,z){if(z==="wrap")return Gj(Q,K,{trim:!1,hard:!0});if(z==="wrap-trim")return Gj(Q,K,{trim:!0,hard:!0});if(z.startsWith("truncate")){let U="end";if(z==="truncate-middle")U="middle";if(z==="truncate-start")U="start";return o$(Q,K,U)}return Q}var cz="…";var lz=h(()=>{e3();j4();UV()});function qV(Q,K,z=!1){if(!K||K.nodeName==="#text")return;let U=K,H=z||U.style?.position==="absolute",F=rZ.get(U);if(F)PY(Q,F,H),rZ.delete(U);let B=Array.isArray(U.childNodes)?[...U.childNodes]:[];for(let W of B){if(!W)continue;qV(Q,W,H)}}function r$(Q,K){return HV(Q,K)}function HV(Q,K){if(Q===K)return!0;if(Q===void 0||K===void 0)return!1;let z=Object.keys(Q),U=Object.keys(K);if(z.length!==U.length)return!1;for(let H of z)if(Q[H]!==K[H])return!1;return!0}function ZR(Q){return Q.nodeName!=="#text"}function BV(Q,K){let z=[];return U(Q,0),z;function U(H,F){let B=H.yogaNode;if(!B||B.getDisplay()===hQ.None)return;let W=F+B.getComputedTop(),Y=B.getComputedHeight();if(K<W||K>=W+Y)return;if(H.debugOwnerChain)z=H.debugOwnerChain;for(let D of H.childNodes)if(ZR(D))U(D,W)}}var ZK=(Q)=>{let z={nodeName:Q,style:{},attributes:{},childNodes:[],parentNode:void 0,yogaNode:Q!=="ink-virtual-text"&&Q!=="ink-link"&&Q!=="ink-progress"?NY():void 0,dirty:!1};if(Q==="ink-text")z.yogaNode?.setMeasureFunc(t$.bind(null,z));else if(Q==="ink-raw-ansi")z.yogaNode?.setMeasureFunc(e$.bind(null,z));return z},az=(Q,K)=>{if(K.parentNode)JK(K.parentNode,K);if(K.parentNode=Q,Q.childNodes.push(K),K.yogaNode)Q.yogaNode?.insertChild(K.yogaNode,Q.yogaNode.getChildCount());BQ(Q)},zj=(Q,K,z)=>{if(K.parentNode)JK(K.parentNode,K);K.parentNode=Q;let U=Q.childNodes.indexOf(z);if(U>=0){let H=0;if(K.yogaNode&&Q.yogaNode){for(let F=0;F<U;F++)if(Q.childNodes[F]?.yogaNode)H++}if(Q.childNodes.splice(U,0,K),K.yogaNode&&Q.yogaNode)Q.yogaNode.insertChild(K.yogaNode,H);BQ(Q);return}if(Q.childNodes.push(K),K.yogaNode)Q.yogaNode?.insertChild(K.yogaNode,Q.yogaNode.getChildCount());BQ(Q)},JK=(Q,K)=>{if(K.yogaNode)K.parentNode?.yogaNode?.removeChild(K.yogaNode);qV(Q,K),K.parentNode=void 0;let z=Q.childNodes.indexOf(K);if(z>=0)Q.childNodes.splice(z,1);BQ(Q)},Xj=(Q,K,z)=>{if(K==="children")return;if(Q.attributes[K]===z)return;Q.attributes[K]=z,BQ(Q)},Uj=(Q,K)=>{let z=K??{};if(r$(Q.style,z))return;Q.style=z,BQ(Q)},jV=(Q,K)=>{if(HV(Q.textStyles,K))return;Q.textStyles=K,BQ(Q)},FV=(Q)=>{let K={nodeName:"#text",nodeValue:Q,yogaNode:void 0,parentNode:void 0,style:{}};return QK(K,Q),K},t$=function(Q,K,z){let U=Q.nodeName==="#text"?Q.nodeValue:$Y(Q),H=RY(U),F=Sz(H,K);if(F.width<=K)return F;if(F.width>=1&&K>0&&K<1)return F;if(H.includes(`
208
- `)&&z===q4.Undefined){let Y=Math.max(K,F.width);return Sz(H,Y)}let B=Q.style?.textWrap??"wrap",W=i8(H,K,B);return Sz(W,K)},e$=function(Q){return{width:Q.attributes.rawWidth,height:Q.attributes.rawHeight}},BQ=(Q)=>{let K=Q,z=!1;while(K){if(K.nodeName!=="#text"){if(K.dirty=!0,!z&&(K.nodeName==="ink-text"||K.nodeName==="ink-raw-ansi")&&K.yogaNode)K.yogaNode.markDirty(),z=!0}K=K.parentNode}},Tx=(Q)=>{let K=Q;while(K?.parentNode)K=K.parentNode;if(K&&K.nodeName!=="#text")K.onRender?.()},QK=(Q,K)=>{if(typeof K!=="string")K=String(K);if(Q.nodeValue===K)return;Q.nodeValue=K,BQ(Q)},qj=(Q)=>{if("childNodes"in Q)for(let K of Q.childNodes)qj(K);Q.yogaNode=void 0};var KK=h(()=>{MY();p8();LY();H4();l3();IY();lz()});var OV,jj;var Hj=h(()=>{OV={keydown:{bubble:"onKeyDown",capture:"onKeyDownCapture"},focus:{bubble:"onFocus",capture:"onFocusCapture"},blur:{bubble:"onBlur",capture:"onBlurCapture"},paste:{bubble:"onPaste",capture:"onPasteCapture"},resize:{bubble:"onResize"},click:{bubble:"onClick"}},jj=new Set(["onKeyDown","onKeyDownCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onPaste","onPasteCapture","onResize","onClick","onMouseEnter","onMouseLeave"])});function YV(Q,K,z){let U=Q._eventHandlers;if(!U)return;let H=OV[K];if(!H)return;let F=z?H.capture:H.bubble;if(!F)return;return U[F]}function QR(Q,K){let z=[],U=Q;while(U){let H=U===Q,F=YV(U,K.type,!0),B=YV(U,K.type,!1);if(F)z.unshift({node:U,handler:F,phase:H?"at_target":"capturing"});if(B&&(K.bubbles||H))z.push({node:U,handler:B,phase:H?"at_target":"bubbling"});U=U.parentNode}return z}function KR(Q,K){let z;for(let{node:U,handler:H,phase:F}of Q){if(K._isImmediatePropagationStopped())break;if(K._isPropagationStopped()&&U!==z)break;K._setEventPhase(F),K._setCurrentTarget(U),K._prepareForTarget(U);try{H(K)}catch(B){d6(B)}z=U}}function GR(Q){switch(Q){case"keydown":case"keyup":case"click":case"focus":case"blur":case"paste":return u7.DiscreteEventPriority;case"resize":case"scroll":case"mousemove":return u7.ContinuousEventPriority;default:return u7.DefaultEventPriority}}class Bj{currentEvent=null;currentUpdatePriority=WV;discreteUpdates=null;resolveEventPriority(){if(this.currentUpdatePriority!==WV)return this.currentUpdatePriority;if(this.currentEvent)return GR(this.currentEvent.type);return u7.DefaultEventPriority}dispatch(Q,K){let z=this.currentEvent;this.currentEvent=K;try{K._setTarget(Q);let U=QR(Q,K);return KR(U,K),K._setEventPhase("none"),K._setCurrentTarget(null),!K.defaultPrevented}finally{this.currentEvent=z}}dispatchDiscrete(Q,K){if(!this.discreteUpdates)return this.dispatch(Q,K);return this.discreteUpdates((z,U)=>this.dispatch(z,U),Q,K,void 0,void 0)}dispatchContinuous(Q,K){let z=this.currentUpdatePriority;try{return this.currentUpdatePriority=u7.ContinuousEventPriority,this.dispatch(Q,K)}finally{this.currentUpdatePriority=z}}}var u7,WV=0;var VV=h(()=>{Fj();Hj();u7=r(Wz(),1)});var GK;var Oj=h(()=>{S8();GK=class GK extends G9{type;timeStamp;bubbles;cancelable;_target=null;_currentTarget=null;_eventPhase="none";_propagationStopped=!1;_defaultPrevented=!1;constructor(Q,K){super();this.type=Q,this.timeStamp=performance.now(),this.bubbles=K?.bubbles??!0,this.cancelable=K?.cancelable??!0}get target(){return this._target}get currentTarget(){return this._currentTarget}get eventPhase(){return this._eventPhase}get defaultPrevented(){return this._defaultPrevented}stopPropagation(){this._propagationStopped=!0}stopImmediatePropagation(){super.stopImmediatePropagation(),this._propagationStopped=!0}preventDefault(){if(this.cancelable)this._defaultPrevented=!0}_setTarget(Q){this._target=Q}_setCurrentTarget(Q){this._currentTarget=Q}_setEventPhase(Q){this._eventPhase=Q}_isPropagationStopped(){return this._propagationStopped}_isImmediatePropagationStopped(){return this.didStopImmediatePropagation()}_prepareForTarget(Q){}}});var n8;var DV=h(()=>{Oj();n8=class n8 extends GK{relatedTarget;constructor(Q,K=null){super(Q,{bubbles:!0,cancelable:!1});this.relatedTarget=K}}});class zK{activeElement=null;dispatchFocusEvent;enabled=!0;focusStack=[];constructor(Q){this.dispatchFocusEvent=Q}focus(Q){if(Q===this.activeElement)return;if(!this.enabled)return;let K=this.activeElement;if(K){let z=this.focusStack.indexOf(K);if(z!==-1)this.focusStack.splice(z,1);if(this.focusStack.push(K),this.focusStack.length>zR)this.focusStack.shift();this.dispatchFocusEvent(K,new n8("blur",Q))}this.activeElement=Q,this.dispatchFocusEvent(Q,new n8("focus",K))}blur(){if(!this.activeElement)return;let Q=this.activeElement;this.activeElement=null,this.dispatchFocusEvent(Q,new n8("blur",null))}handleNodeRemoved(Q,K){if(this.focusStack=this.focusStack.filter((U)=>U!==Q&&Wj(U,K)),!this.activeElement)return;if(this.activeElement!==Q&&Wj(this.activeElement,K))return;let z=this.activeElement;this.activeElement=null,this.dispatchFocusEvent(z,new n8("blur",null));while(this.focusStack.length>0){let U=this.focusStack.pop();if(Wj(U,K)){this.activeElement=U,this.dispatchFocusEvent(U,new n8("focus",z));return}}}handleAutoFocus(Q){this.focus(Q)}handleClickFocus(Q){if(typeof Q.attributes.tabIndex!=="number")return;this.focus(Q)}enable(){this.enabled=!0}disable(){this.enabled=!1}focusNext(Q){this.moveFocus(1,Q)}focusPrevious(Q){this.moveFocus(-1,Q)}moveFocus(Q,K){if(!this.enabled)return;let z=XR(K);if(z.length===0)return;let U=this.activeElement?z.indexOf(this.activeElement):-1,H=U===-1?Q===1?0:z.length-1:(U+Q+z.length)%z.length,F=z[H];if(F)this.focus(F)}}function XR(Q){let K=[];return AV(Q,K),K}function AV(Q,K){let z=Q.attributes.tabIndex;if(typeof z==="number"&&z>=0)K.push(Q);for(let U of Q.childNodes)if(U.nodeName!=="#text")AV(U,K)}function Wj(Q,K){let z=Q;while(z){if(z===K)return!0;z=z.parentNode}return!1}function Yj(Q){let K=Q;while(K){if(K.focusManager)return K;K=K.parentNode}throw Error("Node is not in a tree with a FocusManager")}function Vj(Q){return Yj(Q).focusManager}var zR=32;var XK=h(()=>{DV()});function iz(Q,K,z){if(typeof z==="string")Q.setPositionPercent(K,Number.parseInt(z,10));else if(typeof z==="number")Q.setPosition(K,z);else Q.setPosition(K,Number.NaN)}var UR=(Q,K)=>{if("position"in K)Q.setPositionType(K.position==="absolute"?u3.Absolute:u3.Relative);if("top"in K)iz(Q,"top",K.top);if("bottom"in K)iz(Q,"bottom",K.bottom);if("left"in K)iz(Q,"left",K.left);if("right"in K)iz(Q,"right",K.right)},qR=(Q,K)=>{let z=K.overflowY??K.overflow,U=K.overflowX??K.overflow;if(z==="scroll"||U==="scroll")Q.setOverflow(Tz.Scroll);else if(z==="hidden"||U==="hidden")Q.setOverflow(Tz.Hidden);else if("overflow"in K||"overflowX"in K||"overflowY"in K)Q.setOverflow(Tz.Visible)},jR=(Q,K)=>{if("margin"in K)Q.setMargin(h0.All,K.margin??0);if("marginX"in K)Q.setMargin(h0.Horizontal,K.marginX??0);if("marginY"in K)Q.setMargin(h0.Vertical,K.marginY??0);if("marginLeft"in K)Q.setMargin(h0.Start,K.marginLeft||0);if("marginRight"in K)Q.setMargin(h0.End,K.marginRight||0);if("marginTop"in K)Q.setMargin(h0.Top,K.marginTop||0);if("marginBottom"in K)Q.setMargin(h0.Bottom,K.marginBottom||0)},HR=(Q,K)=>{if("padding"in K)Q.setPadding(h0.All,K.padding??0);if("paddingX"in K)Q.setPadding(h0.Horizontal,K.paddingX??0);if("paddingY"in K)Q.setPadding(h0.Vertical,K.paddingY??0);if("paddingLeft"in K)Q.setPadding(h0.Left,K.paddingLeft||0);if("paddingRight"in K)Q.setPadding(h0.Right,K.paddingRight||0);if("paddingTop"in K)Q.setPadding(h0.Top,K.paddingTop||0);if("paddingBottom"in K)Q.setPadding(h0.Bottom,K.paddingBottom||0)},FR=(Q,K)=>{if("flexGrow"in K)Q.setFlexGrow(K.flexGrow??0);if("flexShrink"in K)Q.setFlexShrink(typeof K.flexShrink==="number"?K.flexShrink:1);if("flexWrap"in K){if(K.flexWrap==="nowrap")Q.setFlexWrap(Ez.NoWrap);if(K.flexWrap==="wrap")Q.setFlexWrap(Ez.Wrap);if(K.flexWrap==="wrap-reverse")Q.setFlexWrap(Ez.WrapReverse)}if("flexDirection"in K){if(K.flexDirection==="row")Q.setFlexDirection(o1.Row);if(K.flexDirection==="row-reverse")Q.setFlexDirection(o1.RowReverse);if(K.flexDirection==="column")Q.setFlexDirection(o1.Column);if(K.flexDirection==="column-reverse")Q.setFlexDirection(o1.ColumnReverse)}if("flexBasis"in K)if(typeof K.flexBasis==="number")Q.setFlexBasis(K.flexBasis);else if(typeof K.flexBasis==="string")Q.setFlexBasisPercent(Number.parseInt(K.flexBasis,10));else Q.setFlexBasis(Number.NaN);if("alignItems"in K){if(K.alignItems==="stretch"||!K.alignItems)Q.setAlignItems(c6.Stretch);if(K.alignItems==="flex-start")Q.setAlignItems(c6.FlexStart);if(K.alignItems==="center")Q.setAlignItems(c6.Center);if(K.alignItems==="flex-end")Q.setAlignItems(c6.FlexEnd)}if("alignSelf"in K){if(K.alignSelf==="auto"||!K.alignSelf)Q.setAlignSelf(c6.Auto);if(K.alignSelf==="flex-start")Q.setAlignSelf(c6.FlexStart);if(K.alignSelf==="center")Q.setAlignSelf(c6.Center);if(K.alignSelf==="flex-end")Q.setAlignSelf(c6.FlexEnd)}if("justifyContent"in K){if(K.justifyContent==="flex-start"||!K.justifyContent)Q.setJustifyContent(h8.FlexStart);if(K.justifyContent==="center")Q.setJustifyContent(h8.Center);if(K.justifyContent==="flex-end")Q.setJustifyContent(h8.FlexEnd);if(K.justifyContent==="space-between")Q.setJustifyContent(h8.SpaceBetween);if(K.justifyContent==="space-around")Q.setJustifyContent(h8.SpaceAround);if(K.justifyContent==="space-evenly")Q.setJustifyContent(h8.SpaceEvenly)}},BR=(Q,K)=>{if("width"in K)if(typeof K.width==="number")Q.setWidth(K.width);else if(typeof K.width==="string")Q.setWidthPercent(Number.parseInt(K.width,10));else Q.setWidthAuto();if("height"in K)if(typeof K.height==="number")Q.setHeight(K.height);else if(typeof K.height==="string")Q.setHeightPercent(Number.parseInt(K.height,10));else Q.setHeightAuto();if("minWidth"in K)if(typeof K.minWidth==="string")Q.setMinWidthPercent(Number.parseInt(K.minWidth,10));else Q.setMinWidth(K.minWidth??0);if("minHeight"in K)if(typeof K.minHeight==="string")Q.setMinHeightPercent(Number.parseInt(K.minHeight,10));else Q.setMinHeight(K.minHeight??0);if("maxWidth"in K)if(typeof K.maxWidth==="string")Q.setMaxWidthPercent(Number.parseInt(K.maxWidth,10));else Q.setMaxWidth(K.maxWidth??0);if("maxHeight"in K)if(typeof K.maxHeight==="string")Q.setMaxHeightPercent(Number.parseInt(K.maxHeight,10));else Q.setMaxHeight(K.maxHeight??0)},OR=(Q,K)=>{if("display"in K)Q.setDisplay(K.display==="flex"?hQ.Flex:hQ.None)},WR=(Q,K,z)=>{let U=z??K;if("borderStyle"in K){let H=K.borderStyle?1:0;Q.setBorder(h0.Top,U.borderTop!==!1?H:0),Q.setBorder(h0.Bottom,U.borderBottom!==!1?H:0),Q.setBorder(h0.Left,U.borderLeft!==!1?H:0),Q.setBorder(h0.Right,U.borderRight!==!1?H:0)}else{if("borderTop"in K&&K.borderTop!==void 0)Q.setBorder(h0.Top,K.borderTop===!1?0:1);if("borderBottom"in K&&K.borderBottom!==void 0)Q.setBorder(h0.Bottom,K.borderBottom===!1?0:1);if("borderLeft"in K&&K.borderLeft!==void 0)Q.setBorder(h0.Left,K.borderLeft===!1?0:1);if("borderRight"in K&&K.borderRight!==void 0)Q.setBorder(h0.Right,K.borderRight===!1?0:1)}},YR=(Q,K)=>{if("gap"in K)Q.setGap(kz.All,K.gap??0);if("columnGap"in K)Q.setGap(kz.Column,K.columnGap??0);if("rowGap"in K)Q.setGap(kz.Row,K.rowGap??0)},VR=(Q,K={},z)=>{UR(Q,K),qR(Q,K),jR(Q,K),HR(Q,K),FR(Q,K),BR(Q,K),OR(Q,K),WR(Q,K,z),YR(Q,K)},Dj;var NV=h(()=>{p8();Dj=VR});import{appendFileSync as nz}from"fs";function $V(Q,K,z){if(!Q._eventHandlers)Q._eventHandlers={};Q._eventHandlers[K]=z}function AR(Q,K,z){if(K==="children")return;if(K==="style"){if(Uj(Q,z),Q.yogaNode)Dj(Q.yogaNode,z);return}if(K==="textStyles"){Q.textStyles=z;return}if(jj.has(K)){$V(Q,K,z);return}Xj(Q,K,z)}function NR(Q){let K=[],z=new Set,U=Q;for(let H=0;U&&H<50;H++){if(z.has(U))break;z.add(U);let F=U.elementType,B=typeof F==="function"?F.displayName||F.name:typeof F==="string"?void 0:F?.displayName||F?.name;if(B&&B!==K[K.length-1])K.push(B);U=U._debugOwner??U.return}return K}function _j(){if(Aj===void 0)Aj=qK(process.env.CLAUDE_CODE_DEBUG_REPAINTS);return Aj}function RV(Q){$j=Q}function IV(){return $j}function rx(){UK=performance.now()}function kV(){return Rj}function EV(){$j=0,Rj=0,UK=0}var _V,sz=(Q,K)=>{if(Q===K)return;if(!Q)return K;let z={},U=!1;for(let H of Object.keys(Q))if(K?!Object.hasOwn(K,H):!0)z[H]=void 0,U=!0;if(K){for(let H of Object.keys(K))if(K[H]!==Q[H])z[H]=K[H],U=!0}return U?z:void 0},MV=(Q)=>{let K=Q.yogaNode;if(K)K.unsetMeasureFunc(),qj(Q),K.freeRecursive()},Aj,l6,f9,Nj=0,LV=0,Mj=0,oz=0,rz=0,Lj=0,$j=0,Rj=0,UK=0,Pj,Q6;var tz=h(()=>{Pz();PV();KK();VV();Hj();XK();p8();NV();_V=r(VY(),1);try{import("./devtools-0.1.9-kzs9wq2w.mjs")}catch(Q){if(Q.code==="ERR_MODULE_NOT_FOUND")console.warn(`
209
- The environment variable DEV is set to true, so Ink tried to import \`react-devtools-core\`,
210
- but this failed as it was not installed. Debugging with React Devtools requires it.
211
-
212
- To install use this command:
213
-
214
- $ npm install --save-dev react-devtools-core
215
- `.trim()+`
216
- `);else throw Q}l6=new Bj,f9=process.env.CLAUDE_CODE_COMMIT_LOG;Pj=_V.default({getRootHostContext:()=>({isInsideText:!1}),prepareForCommit:()=>{if(f9)Lj=performance.now();return null},preparePortalMount:()=>null,clearContainer:()=>!1,resetAfterCommit(Q){if(Rj=UK>0?performance.now()-UK:0,UK=0,f9){let U=performance.now();Nj++;let H=Mj>0?U-Mj:0;if(H>oz)oz=H;Mj=U;let F=Lj>0?U-Lj:0;if(H>30||F>20||rz>50)nz(f9,`${U.toFixed(1)} gap=${H.toFixed(1)}ms reconcile=${F.toFixed(1)}ms creates=${rz}
217
- `);if(rz=0,U-LV>1000)nz(f9,`${U.toFixed(1)} commits=${Nj}/s maxGap=${oz.toFixed(1)}ms
218
- `),Nj=0,oz=0,LV=U}let K=f9?performance.now():0;if(typeof Q.onComputeLayout==="function")Q.onComputeLayout();if(f9){let U=performance.now()-K;if(U>20){let H=Lz();nz(f9,`${K.toFixed(1)} SLOW_YOGA ${U.toFixed(1)}ms visited=${H.visited} measured=${H.measured} hits=${H.cacheHits} live=${H.live}
219
- `)}}let z=f9?performance.now():0;if(Q.onRender?.(),f9){let U=performance.now()-z;if(U>10)nz(f9,`${z.toFixed(1)} SLOW_PAINT ${U.toFixed(1)}ms
220
- `)}},getChildHostContext(Q,K){let z=Q.isInsideText,U=K==="ink-text"||K==="ink-virtual-text"||K==="ink-link";if(z===U)return Q;return{isInsideText:U}},shouldSetTextContent:()=>!1,createInstance(Q,K,z,U,H){if(U.isInsideText&&Q==="ink-box")throw Error("<Box> can't be nested inside <Text> component");let F=Q==="ink-text"&&U.isInsideText?"ink-virtual-text":Q,B=ZK(F);if(f9)rz++;for(let[W,Y]of Object.entries(K))AR(B,W,Y);if(_j())B.debugOwnerChain=NR(H);return B},createTextInstance(Q,K,z){return FV(Q)},resetTextContent(){},hideTextInstance(Q){QK(Q,"")},unhideTextInstance(Q,K){QK(Q,K)},getPublicInstance:(Q)=>Q,hideInstance(Q){Q.isHidden=!0,Q.yogaNode?.setDisplay(hQ.None),BQ(Q)},unhideInstance(Q){Q.isHidden=!1,Q.yogaNode?.setDisplay(hQ.Flex),BQ(Q)},appendInitialChild:az,appendChild:az,insertBefore:zj,finalizeInitialChildren(Q,K,z){return z.autoFocus===!0},prepareUpdate(Q,K,z,U){let H=sz(z,U),F=sz(z.style,U.style);if(!H&&!F)return null;return{props:H,style:F,nextStyle:U.style}},commitMount(Q){Vj(Q).handleAutoFocus(Q)},isPrimaryRenderer:!0,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,scheduleTimeout:setTimeout,cancelTimeout:clearTimeout,noTimeout:-1,supportsMicrotasks:!0,scheduleMicrotask:queueMicrotask,getCurrentUpdatePriority:()=>l6.currentUpdatePriority,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},getInstanceFromNode:()=>null,prepareScopeUpdate(){},getInstanceFromScope:()=>null,appendChildToContainer:az,insertInContainerBefore:zj,removeChildFromContainer(Q,K){JK(Q,K),MV(K),Vj(Q).handleNodeRemoved(K,Q)},commitUpdate(Q,K,z,U){let H=sz(z,U),F=sz(z.style,U.style),B=U.style;if(!H&&!F)return;if(H)for(let[W,Y]of Object.entries(H)){if(W==="style"){Uj(Q,Y);continue}if(W==="textStyles"){jV(Q,Y);continue}if(jj.has(W)){$V(Q,W,Y);continue}Xj(Q,W,Y)}if(F&&Q.yogaNode)Dj(Q.yogaNode,F,B)},commitTextUpdate(Q,K,z){QK(Q,z)},removeChild(Q,K){if(JK(Q,K),MV(K),K.nodeName!=="#text"){let z=Yj(Q);z.focusManager.handleNodeRemoved(K,z)}},maySuspendCommit(){return!1},preloadInstance(){return!0},startSuspendingCommit(){},suspendInstance(){},waitForCommitToBeReady(){return null},NotPendingTransition:null,HostTransitionContext:{$$typeof:Symbol.for("react.context"),_currentValue:null},setCurrentUpdatePriority(Q){l6.currentUpdatePriority=Q},resolveUpdatePriority(){return l6.resolveEventPriority()},resetFormInstance(){},requestPostPaintCallback(){},shouldAttemptEagerTransition(){return!1},trackSchedulerEvent(){},resolveEventType(){return l6.currentEvent?.type??null},resolveEventTimeStamp(){return l6.currentEvent?.timeStamp??-1.1}});l6.discreteUpdates=Pj.discreteUpdates.bind(Pj);Q6=Pj});function h7(Q,K){let z=Math.min(Q.x,K.x),U=Math.min(Q.y,K.y),H=Math.max(Q.x+Q.width,K.x+K.width),F=Math.max(Q.y+Q.height,K.y+K.height);return{x:z,y:U,width:H-z,height:F-U}}function s8(Q,K,z){if(K!==void 0&&Q<K)return K;if(z!==void 0&&Q>z)return z;return Q}var ez=()=>{};function cZ(Q,K){if(Q===void 0)return;if(Number.isInteger(Q))return;gZ(`${K} should be an integer, got ${Q}`,{level:"warn"})}var Ij=h(()=>{o8()});class jK{strings=[" ",""];stringMap=new Map([[" ",0],["",1]]);ascii=RR();intern(Q){if(Q.length===1){let U=Q.charCodeAt(0);if(U<128){let H=this.ascii[U];if(H!==-1)return H;let F=this.strings.length;return this.strings.push(Q),this.ascii[U]=F,F}}let K=this.stringMap.get(Q);if(K!==void 0)return K;let z=this.strings.length;return this.strings.push(Q),this.stringMap.set(Q,z),z}get(Q){return this.strings[Q]??" "}}class HK{strings=[""];stringMap=new Map;intern(Q){if(!Q)return 0;let K=this.stringMap.get(Q);if(K===void 0)K=this.strings.length,this.strings.push(Q),this.stringMap.set(Q,K);return K}get(Q){return Q===0?void 0:this.strings[Q]}}class QX{ids=new Map;styles=[];transitionCache=new Map;none;constructor(){this.none=this.intern([])}intern(Q){let K=Q.length===0?"":Q.map((U)=>U.code).join("\x00"),z=this.ids.get(K);if(z===void 0){let U=this.styles.length;this.styles.push(Q.length===0?[]:Q),z=U<<1|(Q.length>0&&$R(Q)?1:0),this.ids.set(K,z)}return z}get(Q){return this.styles[Q>>>1]??[]}transition(Q,K){if(Q===K)return"";let z=Q*1048576+K,U=this.transitionCache.get(z);if(U===void 0)U=J6(d8(this.get(Q),this.get(K))),this.transitionCache.set(z,U);return U}inverseCache=new Map;withInverse(Q){let K=this.inverseCache.get(Q);if(K===void 0){let z=this.get(Q);K=z.some((H)=>H.endCode==="\x1B[27m")?Q:this.intern([...z,CV]),this.inverseCache.set(Q,K)}return K}currentMatchCache=new Map;withCurrentMatch(Q){let K=this.currentMatchCache.get(Q);if(K===void 0){let z=this.get(Q),U=z.filter((H)=>H.endCode!=="\x1B[39m"&&H.endCode!=="\x1B[49m");if(U.push(PR),!z.some((H)=>H.endCode==="\x1B[27m"))U.push(CV);if(!z.some((H)=>H.endCode==="\x1B[22m"))U.push(MR);if(!z.some((H)=>H.endCode==="\x1B[24m"))U.push(LR);K=this.intern(U),this.currentMatchCache.set(Q,K)}return K}selectionBgCode=null;selectionBgCache=new Map;setSelectionBg(Q){if(this.selectionBgCode?.code===Q?.code)return;this.selectionBgCode=Q,this.selectionBgCache.clear()}withSelectionBg(Q){let K=this.selectionBgCode;if(K===null)return this.withInverse(Q);let z=this.selectionBgCache.get(Q);if(z===void 0){let U=this.get(Q).filter((H)=>H.endCode!=="\x1B[49m"&&H.endCode!=="\x1B[27m");U.push(K),z=this.intern(U),this.selectionBgCache.set(Q,z)}return z}}function $R(Q){for(let K of Q)if(_R.has(K.endCode))return!0;return!1}function RR(){let Q=new Int32Array(128);return Q.fill(-1),Q[32]=ZX,Q}function p7(Q,K,z){return Q<<W4|K<<Y4|z}function IR(Q,K){let z=K<<1;return Q.cells[z]===0&&Q.cells[z|1]===0}function KX(Q,K,z){if(K<0||z<0||K>=Q.width||z>=Q.height)return!0;return IR(Q,z*Q.width+K)}function kR(Q,K){return Q.hyperlinkPool.intern(K)}function a6(Q,K,z,U,H){if(cZ(Q,"createScreen width"),cZ(K,"createScreen height"),!Number.isInteger(Q)||Q<0)Q=Math.max(0,Math.floor(Q)||0);if(!Number.isInteger(K)||K<0)K=Math.max(0,Math.floor(K)||0);let F=Q*K,B=new ArrayBuffer(F<<3),W=new Int32Array(B),Y=new BigInt64Array(B);return{width:Q,height:K,cells:W,cells64:Y,charPool:U,hyperlinkPool:H,emptyStyleId:z.none,damage:void 0,noSelect:new Uint8Array(F),softWrap:new Int32Array(K)}}function kj(Q,K,z){if(cZ(K,"resetScreen width"),cZ(z,"resetScreen height"),!Number.isInteger(K)||K<0)K=Math.max(0,Math.floor(K)||0);if(!Number.isInteger(z)||z<0)z=Math.max(0,Math.floor(z)||0);let U=K*z;if(Q.cells64.length<U){let H=new ArrayBuffer(U<<3);Q.cells=new Int32Array(H),Q.cells64=new BigInt64Array(H),Q.noSelect=new Uint8Array(U)}if(Q.softWrap.length<z)Q.softWrap=new Int32Array(z);Q.cells64.fill(JX,0,U),Q.noSelect.fill(0,0,U),Q.softWrap.fill(0,0,z),Q.width=K,Q.height=z,Q.damage=void 0}function SV(Q,K,z){let{charPool:U,hyperlinkPool:H}=Q;if(U===K&&H===z)return;let F=Q.width*Q.height,B=Q.cells;for(let W=0;W<F<<1;W+=2){let Y=B[W];B[W]=K.intern(U.get(Y));let D=B[W+1],A=D>>>Y4&FK;if(A!==0){let N=H.get(A),M=z.intern(N),L=D>>>W4,T=D&b9;B[W+1]=p7(L,M,T)}}Q.charPool=K,Q.hyperlinkPool=z}function SJ(Q,K,z){if(K<0||z<0||K>=Q.width||z>=Q.height)return;return i6(Q,z*Q.width+K)}function i6(Q,K){let z=K<<1,U=Q.cells[z+1],H=U>>>Y4&FK;return{char:Q.charPool.get(Q.cells[z]),styleId:U>>>W4,width:U&b9,hyperlink:H===0?void 0:Q.hyperlinkPool.get(H)}}function fV(Q,K,z,U,H){let F=U<<1,B=Q[F];if(B===1)return;let W=Q[F+1];if(B===0&&(W&262140)===0){let D=W>>>W4;if(D===0||D===H)return}let Y=W>>>Y4&FK;return{char:K.get(B),styleId:W>>>W4,width:W&b9,hyperlink:Y===0?void 0:z.get(Y)}}function c7(Q,K,z){let U=K|1,H=Q.cells[U];z.char=Q.charPool.get(Q.cells[K]),z.styleId=H>>>W4,z.width=H&b9;let F=H>>>Y4&FK;z.hyperlink=F===0?void 0:Q.hyperlinkPool.get(F)}function bV(Q,K,z){if(K<0||z<0||K>=Q.width||z>=Q.height)return;let U=z*Q.width+K<<1;return Q.charPool.get(Q.cells[U])}function GX(Q,K,z,U){if(K<0||z<0||K>=Q.width||z>=Q.height)return;let H=z*Q.width+K<<1,F=Q.cells,B=F[H+1]&b9;if(B===1&&U.width!==1){if(K+1<Q.width){let N=H+2;if((F[N+1]&b9)===2)F[N]=ZX,F[N+1]=p7(Q.emptyStyleId,0,0)}}let W=-1;if(B===2&&U.width!==2){if(K>0){let A=H-2;if((F[A+1]&b9)===1)F[A]=ZX,F[A+1]=p7(Q.emptyStyleId,0,0),W=K-1}}F[H]=ER(Q,U.char),F[H+1]=p7(U.styleId,kR(Q,U.hyperlink),U.width);let Y=W>=0?Math.min(K,W):K,D=Q.damage;if(D){let A=D.x+D.width,N=D.y+D.height;if(Y<D.x)D.width+=D.x-Y,D.x=Y;else if(K>=A)D.width=K-D.x+1;if(z<D.y)D.height+=D.y-z,D.y=z;else if(z>=N)D.height=z-D.y+1}else Q.damage={x:Y,y:z,width:K-Y+1,height:1};if(U.width===1){let A=K+1;if(A<Q.width){let N=H+2;if((F[N+1]&b9)===1){let L=N+2;if(A+1<Q.width&&(F[L+1]&b9)===2)F[L]=ZX,F[L+1]=p7(Q.emptyStyleId,0,0)}F[N]=xV,F[N+1]=p7(Q.emptyStyleId,0,2);let M=Q.damage;if(M&&A>=M.x+M.width)M.width=A-M.x+1}}}function V4(Q,K,z,U){if(K<0||z<0||K>=Q.width||z>=Q.height)return;let H=z*Q.width+K<<1,F=Q.cells,B=F[H+1],W=B&b9;if(W===2||W===3)return;let Y=B>>>Y4&FK;F[H+1]=p7(U,Y,W);let D=Q.damage;if(D)Q.damage=h7(D,{x:K,y:z,width:1,height:1});else Q.damage={x:K,y:z,width:1,height:1}}function ER(Q,K){return Q.charPool.intern(K)}function Ej(Q,K,z,U,H,F){if(z=Math.max(0,z),U=Math.max(0,U),z>=H||U>=F)return;let B=H-z,W=K.width<<1,Y=Q.width<<1,D=B<<1,A=K.cells,N=Q.cells,M=K.noSelect,L=Q.noSelect;if(Q.softWrap.set(K.softWrap.subarray(U,F),U),z===0&&H===K.width&&K.width===Q.width){let _=U*W,E=(F-U)*W;N.set(A.subarray(_,_+E),_);let C=U*K.width,I=(F-U)*K.width;L.set(M.subarray(C,C+I),C)}else{let _=U*W+(z<<1),E=U*Y+(z<<1),C=U*K.width+z,I=U*Q.width+z;for(let g=U;g<F;g++)N.set(A.subarray(_,_+D),E),L.set(M.subarray(C,C+B),I),_+=W,E+=Y,C+=K.width,I+=Q.width}let T={x:z,y:U,width:B,height:F-U};if(Q.damage)Q.damage=h7(Q.damage,T);else Q.damage=T;if(H<Q.width){let _=U*K.width+(H-1)<<1,E=U*Q.width+H<<1,C=!1;for(let I=U;I<F;I++){if((A[_+1]&b9)===1)N[E]=xV,N[E+1]=p7(Q.emptyStyleId,0,2),C=!0;_+=W,E+=Y}if(C&&Q.damage){if(Q.damage.x+Q.damage.width===H)Q.damage={...Q.damage,width:Q.damage.width+1}}}}function zX(Q,K,z,U){if(U===0||K<0||z>=Q.height||K>z)return;let{width:H,cells64:F,noSelect:B,softWrap:W}=Q;if(Math.abs(U)>z-K){F.fill(JX,K*H,(z+1)*H),B.fill(0,K*H,(z+1)*H),W.fill(0,K,z+1);return}if(U>0)F.copyWithin(K*H,(K+U)*H,(z+1)*H),B.copyWithin(K*H,(K+U)*H,(z+1)*H),W.copyWithin(K,K+U,z+1),F.fill(JX,(z-U+1)*H,(z+1)*H),B.fill(0,(z-U+1)*H,(z+1)*H),W.fill(0,z-U+1,z+1);else F.copyWithin((K-U)*H,K*H,(z+U+1)*H),B.copyWithin((K-U)*H,K*H,(z+U+1)*H),W.copyWithin(K-U,K,z+U+1),F.fill(JX,K*H,(K-U)*H),B.fill(0,K*H,(K-U)*H),W.fill(0,K,K-U)}function vV(Q){for(let K of Q){let z=K.code;if(z.length<5||!z.startsWith(BK))continue;let U=z.match(wV);if(U)return U[1]||null}return null}function yV(Q){return Q.filter((K)=>!K.code.startsWith(BK)||!wV.test(K.code))}function Tj(Q,K,z){let U=Q.width,H=K.width,F=Q.height,B=K.height,W;if(U===0&&F===0)W={x:0,y:0,width:H,height:B};else if(K.damage){if(W=K.damage,Q.damage)W=h7(W,Q.damage)}else if(Q.damage)W=Q.damage;else W={x:0,y:0,width:0,height:0};if(F>B)W=h7(W,{x:0,y:B,width:U,height:F-B});if(U>H)W=h7(W,{x:H,y:0,width:U-H,height:F});let Y=Math.max(F,B),D=Math.max(U,H),A=Math.min(W.y+W.height,Y),N=Math.min(W.x+W.width,D);if(U===H)return fR(Q,K,W.x,N,W.y,A,z);return bR(Q,K,W.x,N,W.y,A,z)}function TR(Q,K,z,U){for(let H=0;H<U;H++,z+=2){let F=z|1;if(Q[z]!==K[z]||Q[F]!==K[F])return H}return U}function CR(Q,K,z,U,H,F,B,W,Y,D,A){let N=B;while(N<W){let M=TR(Q,K,H,W-N);if(N+=M,H+=M<<1,N>=W)break;if(c7(z,H,Y),c7(U,H,D),A(N,F,Y,D))return!0;N++,H+=2}return!1}function xR(Q,K,z,U,H,F,B){for(let W=U;W<H;W++,K+=2)if(c7(Q,K,F),B(W,z,F,void 0))return!0;return!1}function SR(Q,K,z,U,H,F,B,W){for(let Y=H;Y<F;Y++,z+=2){if(Q[z]===0&&Q[z|1]===0)continue;if(c7(K,z,B),W(Y,U,void 0,B))return!0}return!1}function fR(Q,K,z,U,H,F,B){let W=Q.cells,Y=K.cells,D=Q.width,A=Q.height,N=K.height,M=D<<1,L={char:" ",styleId:0,width:0,hyperlink:void 0},T={char:" ",styleId:0,width:0,hyperlink:void 0},_=Math.min(U,D),E=H*D+z<<1;for(let C=H;C<F;C++){let I=C<A,g=C<N;if(I&&g){if(CR(W,Y,Q,K,E,C,z,_,L,T,B))return!0}else if(I){if(xR(Q,E,C,z,_,L,B))return!0}else if(g){if(SR(Y,K,E,C,z,_,T,B))return!0}E+=M}return!1}function bR(Q,K,z,U,H,F,B){let W=Q.width,Y=K.width,D=Q.cells,A=K.cells,N={char:" ",styleId:0,width:0,hyperlink:void 0},M={char:" ",styleId:0,width:0,hyperlink:void 0},L=W<<1,T=Y<<1,_=H*W+z<<1,E=H*Y+z<<1;for(let C=H;C<F;C++){let I=C<Q.height,g=C<K.height,u=I?Math.min(U,W):z,l=g?Math.min(U,Y):z,m=Math.min(u,l),s=_,y=E;for(let S=z;S<m;S++){if(D[s]===A[y]&&D[s+1]===A[y+1]){s+=2,y+=2;continue}if(c7(Q,s,N),c7(K,y,M),s+=2,y+=2,B(S,C,N,M))return!0}if(u>m){s=_+(m-z<<1);for(let S=m;S<u;S++)if(c7(Q,s,N),s+=2,B(S,C,N,void 0))return!0}if(l>m){y=E+(m-z<<1);for(let S=m;S<l;S++){if(A[y]===0&&A[y|1]===0){y+=2;continue}if(c7(K,y,M),y+=2,B(S,C,void 0,M))return!0}}_+=L,E+=T}return!1}function gV(Q,K,z,U,H){let F=Math.min(K+U,Q.width),B=Math.min(z+H,Q.height),W=Q.noSelect,Y=Q.width;for(let D=Math.max(0,z);D<B;D++){let A=D*Y;W.fill(1,A+Math.max(0,K),A+F)}}var CV,MR,LR,PR,_R,ZX=0,xV=1,W4=17,Y4=2,FK=32767,b9=3,JX=0n,wV,BK;var n6=h(()=>{e1();ez();y8();Ij();CV={type:"ansi",code:"\x1B[7m",endCode:"\x1B[27m"},MR={type:"ansi",code:"\x1B[1m",endCode:"\x1B[22m"},LR={type:"ansi",code:"\x1B[4m",endCode:"\x1B[24m"},PR={type:"ansi",code:"\x1B[33m",endCode:"\x1B[39m"};_R=new Set(["\x1B[49m","\x1B[27m","\x1B[24m","\x1B[29m","\x1B[55m"]);wV=new RegExp(`^${uQ}\\]8${m7}${m7}([^${Z6}]*)${Z6}$`),BK=`${uQ}]8${m7}`});function mV(){return{anchor:null,focus:null,isDragging:!1,anchorSpan:null,scrolledOffAbove:[],scrolledOffBelow:[],scrolledOffAboveSW:[],scrolledOffBelowSW:[],lastPressHadAlt:!1}}function UX(Q,K,z){Q.anchor={col:K,row:z},Q.focus=null,Q.isDragging=!0,Q.anchorSpan=null,Q.scrolledOffAbove=[],Q.scrolledOffBelow=[],Q.scrolledOffAboveSW=[],Q.scrolledOffBelowSW=[],Q.virtualAnchorRow=void 0,Q.virtualFocusRow=void 0,Q.lastPressHadAlt=!1}function uV(Q,K,z){if(!Q.isDragging)return;if(!Q.focus&&Q.anchor&&Q.anchor.col===K&&Q.anchor.row===z)return;Q.focus={col:K,row:z}}function D4(Q){Q.isDragging=!1}function WK(Q){Q.anchor=null,Q.focus=null,Q.isDragging=!1,Q.anchorSpan=null,Q.scrolledOffAbove=[],Q.scrolledOffBelow=[],Q.scrolledOffAboveSW=[],Q.scrolledOffBelowSW=[],Q.virtualAnchorRow=void 0,Q.virtualFocusRow=void 0,Q.lastPressHadAlt=!1}function XX(Q){if(Q===" "||Q==="")return 0;if(wR.test(Q))return 1;return 2}function hV(Q,K,z){if(z<0||z>=Q.height)return null;let{width:U,noSelect:H}=Q,F=z*U,B=K;if(B>0){let N=SJ(Q,B,z);if(N&&N.width===2)B-=1}if(B<0||B>=U||H[F+B]===1)return null;let W=SJ(Q,B,z);if(!W)return null;let Y=XX(W.char),D=B;while(D>0){let N=D-1;if(H[F+N]===1)break;let M=SJ(Q,N,z);if(!M)break;if(M.width===2){if(N===0||H[F+N-1]===1)break;let L=SJ(Q,N-1,z);if(!L||XX(L.char)!==Y)break;D=N-1;continue}if(XX(M.char)!==Y)break;D=N}let A=B;while(A<U-1){let N=A+1;if(H[F+N]===1)break;let M=SJ(Q,N,z);if(!M)break;if(M.width===2){A=N;continue}if(XX(M.char)!==Y)break;A=N}return{lo:D,hi:A}}function Sj(Q,K){if(Q.row!==K.row)return Q.row<K.row?-1:1;if(Q.col!==K.col)return Q.col<K.col?-1:1;return 0}function pV(Q,K,z,U){let H=hV(K,z,U);if(!H)return;let F={col:H.lo,row:U},B={col:H.hi,row:U};Q.anchor=F,Q.focus=B,Q.isDragging=!0,Q.anchorSpan={lo:F,hi:B,kind:"word"}}function Cj(Q){if(Q.length!==1)return!1;let K=Q.charCodeAt(0);return K>=33&&K<=126&&!vR.has(Q)}function cV(Q,K,z){if(z<0||z>=Q.height)return;let{width:U,noSelect:H}=Q,F=z*U,B=K;if(B>0){let C=SJ(Q,B,z);if(C&&C.width===2)B-=1}if(B<0||B>=U||H[F+B]===1)return;let W=SJ(Q,B,z);if(!W||!Cj(W.char))return;let Y=B;while(Y>0){let C=Y-1;if(H[F+C]===1)break;let I=SJ(Q,C,z);if(!I||I.width!==0||!Cj(I.char))break;Y=C}let D=B;while(D<U-1){let C=D+1;if(H[F+C]===1)break;let I=SJ(Q,C,z);if(!I||I.width!==0||!Cj(I.char))break;D=C}let A="";for(let C=Y;C<=D;C++)A+=SJ(Q,C,z).char;let N=B-Y,M=/(?:https?|file):\/\//g,L=-1,T=A.length;for(let C;C=M.exec(A);){if(C.index>N){T=C.index;break}L=C.index}if(L<0)return;let _=A.slice(L,T),E={")":"(","]":"[","}":"{"};while(_.length>0){let C=_.at(-1);if(".,;:!?".includes(C)){_=_.slice(0,-1);continue}let I=E[C];if(!I)break;let g=0,u=0;for(let l=0;l<_.length;l++){let m=_.charAt(l);if(m===I)g++;else if(m===C)u++}if(u>g)_=_.slice(0,-1);else break}if(N>=L+_.length)return;return _}function dV(Q,K,z){if(z<0||z>=K.height)return;let U={col:0,row:z},H={col:K.width-1,row:z};Q.anchor=U,Q.focus=H,Q.isDragging=!0,Q.anchorSpan={lo:U,hi:H,kind:"line"}}function lV(Q,K,z,U){if(!Q.isDragging||!Q.anchorSpan)return;let H=Q.anchorSpan,F,B;if(H.kind==="word"){let W=hV(K,z,U);F={col:W?W.lo:z,row:U},B={col:W?W.hi:z,row:U}}else{let W=s8(U,0,K.height-1);F={col:0,row:W},B={col:K.width-1,row:W}}if(Sj(B,H.lo)<0)Q.anchor=H.hi,Q.focus=F;else if(Sj(F,H.hi)>0)Q.anchor=H.lo,Q.focus=B;else Q.anchor=H.lo,Q.focus=H.hi}function aV(Q,K,z){if(!Q.focus)return;Q.anchorSpan=null,Q.focus={col:K,row:z},Q.virtualFocusRow=void 0}function iV(Q,K,z,U,H){if(!Q.anchor||!Q.focus)return;let F=(Q.virtualAnchorRow??Q.anchor.row)+K,B=(Q.virtualFocusRow??Q.focus.row)+K;if(F<z&&B<z||F>U&&B>U){WK(Q);return}let W=Math.min(Q.virtualAnchorRow??Q.anchor.row,Q.virtualFocusRow??Q.focus.row),Y=Math.max(Q.virtualAnchorRow??Q.anchor.row,Q.virtualFocusRow??Q.focus.row),D=Math.max(0,z-W),A=Math.max(0,Y-U),N=Math.max(0,z-Math.min(F,B)),M=Math.max(0,Math.max(F,B)-U);if(N<D){let T=D-N;Q.scrolledOffAbove.length-=T,Q.scrolledOffAboveSW.length=Q.scrolledOffAbove.length}if(M<A){let T=A-M;Q.scrolledOffBelow.splice(0,T),Q.scrolledOffBelowSW.splice(0,T)}if(Q.scrolledOffAbove.length>N)Q.scrolledOffAbove=N>0?Q.scrolledOffAbove.slice(-N):[],Q.scrolledOffAboveSW=N>0?Q.scrolledOffAboveSW.slice(-N):[];if(Q.scrolledOffBelow.length>M)Q.scrolledOffBelow=Q.scrolledOffBelow.slice(0,M),Q.scrolledOffBelowSW=Q.scrolledOffBelowSW.slice(0,M);let L=(T,_)=>{if(_<z)return{col:0,row:z};if(_>U)return{col:H-1,row:U};return{col:T.col,row:_}};if(Q.anchor=L(Q.anchor,F),Q.focus=L(Q.focus,B),Q.virtualAnchorRow=F<z||F>U?F:void 0,Q.virtualFocusRow=B<z||B>U?B:void 0,Q.anchorSpan){let T=(_)=>{let E=_.row+K;if(E<z)return{col:0,row:z};if(E>U)return{col:H-1,row:U};return{col:_.col,row:E}};Q.anchorSpan={lo:T(Q.anchorSpan.lo),hi:T(Q.anchorSpan.hi),kind:Q.anchorSpan.kind}}}function qX(Q,K,z,U){if(!Q.anchor)return;let H=(Q.virtualAnchorRow??Q.anchor.row)+K;if(Q.anchor={col:Q.anchor.col,row:s8(H,z,U)},Q.virtualAnchorRow=H<z||H>U?H:void 0,Q.anchorSpan){let F=(B)=>({col:B.col,row:s8(B.row+K,z,U)});Q.anchorSpan={lo:F(Q.anchorSpan.lo),hi:F(Q.anchorSpan.hi),kind:Q.anchorSpan.kind}}}function nV(Q,K,z,U){if(!Q.anchor)return!1;let H=(Q.virtualAnchorRow??Q.anchor.row)+K,F=Q.focus?(Q.virtualFocusRow??Q.focus.row)+K:void 0;if(H<z&&F!==void 0&&F<z)return WK(Q),!0;if(Q.anchor={col:Q.anchor.col,row:s8(H,z,U)},Q.focus&&F!==void 0)Q.focus={col:Q.focus.col,row:s8(F,z,U)};if(Q.virtualAnchorRow=H<z||H>U?H:void 0,Q.virtualFocusRow=F!==void 0&&(F<z||F>U)?F:void 0,Q.anchorSpan){let B=(W)=>({col:W.col,row:s8(W.row+K,z,U)});Q.anchorSpan={lo:B(Q.anchorSpan.lo),hi:B(Q.anchorSpan.hi),kind:Q.anchorSpan.kind}}return!1}function q9(Q){return Q.anchor!==null&&Q.focus!==null}function fj(Q){if(!Q.anchor||!Q.focus)return null;return Sj(Q.anchor,Q.focus)<=0?{start:Q.anchor,end:Q.focus}:{start:Q.focus,end:Q.anchor}}function sV(Q,K,z,U){let H=Q.noSelect,F=K*Q.width,B=K+1<Q.height?Q.softWrap[K+1]:0,W=B>0?Math.min(U,B-1):U,Y="";for(let D=z;D<=W;D++){if(H[F+D]===1)continue;let A=SJ(Q,D,K);if(!A)continue;if(A.width===2||A.width===3)continue;Y+=A.char}return B>0?Y:Y.replace(/\s+$/,"")}function xj(Q,K,z){if(z&&Q.length>0)Q[Q.length-1]+=K;else Q.push(K)}function oV(Q,K){let z=fj(Q);if(!z)return"";let{start:U,end:H}=z,F=K.softWrap,B=[];for(let W=0;W<Q.scrolledOffAbove.length;W++)xj(B,Q.scrolledOffAbove[W],Q.scrolledOffAboveSW[W]);for(let W=U.row;W<=H.row;W++){let Y=W===U.row?U.col:0,D=W===H.row?H.col:K.width-1;xj(B,sV(K,W,Y,D),F[W]>0)}for(let W=0;W<Q.scrolledOffBelow.length;W++)xj(B,Q.scrolledOffBelow[W],Q.scrolledOffBelowSW[W]);return B.join(`
221
- `)}function jX(Q,K,z,U,H){let F=fj(Q);if(!F||z>U)return;let{start:B,end:W}=F,Y=Math.max(z,B.row),D=Math.min(U,W.row);if(Y>D)return;let{width:A,softWrap:N}=K,M=[],L=[];for(let T=Y;T<=D;T++){let _=T===B.row?B.col:0,E=T===W.row?W.col:A-1;M.push(sV(K,T,_,E)),L.push(N[T]>0)}if(H==="above"){if(Q.scrolledOffAbove.push(...M),Q.scrolledOffAboveSW.push(...L),Q.anchor&&Q.anchor.row===B.row&&Y===B.row){if(Q.anchor={col:0,row:Q.anchor.row},Q.anchorSpan)Q.anchorSpan={kind:Q.anchorSpan.kind,lo:{col:0,row:Q.anchorSpan.lo.row},hi:{col:A-1,row:Q.anchorSpan.hi.row}}}}else if(Q.scrolledOffBelow.unshift(...M),Q.scrolledOffBelowSW.unshift(...L),Q.anchor&&Q.anchor.row===W.row&&D===W.row){if(Q.anchor={col:A-1,row:Q.anchor.row},Q.anchorSpan)Q.anchorSpan={kind:Q.anchorSpan.kind,lo:{col:0,row:Q.anchorSpan.lo.row},hi:{col:A-1,row:Q.anchorSpan.hi.row}}}}function rV(Q,K,z){let U=fj(K);if(!U)return;let{start:H,end:F}=U,B=Q.width,W=Q.noSelect;for(let Y=H.row;Y<=F.row&&Y<Q.height;Y++){let D=Y===H.row?H.col:0,A=Y===F.row?Math.min(F.col,B-1):B-1,N=Y*B;for(let M=D;M<=A;M++){let L=N+M;if(W[L]===1)continue;let T=i6(Q,L);V4(Q,M,Y,z.withSelectionBg(T.styleId))}}}var wR,vR;var HX=h(()=>{ez();n6();wR=/[\p{L}\p{N}_/.\-+~\\]/u;vR=new Set([..."<>\"'` "])});function gR(){return process.platform==="win32"&&!!process.env.WT_SESSION}function mR(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function uR(){if(gR())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(mR())return!0;return!1}function bj(){if(process.platform==="win32"&&!uR())return g8+yR;return g8+p6}var yR,jS;var tV=h(()=>{S9();yR=ZZ(0,"f");jS=bj()});function s6(Q){return ZZ(`?${Q}h`)}function o6(Q){return ZZ(`?${Q}l`)}var DZ,eV,ZD,JD,FX,wj,YK,r8,VK,vj,QD,DK,AK;var NK=h(()=>{S9();DZ={CURSOR_VISIBLE:25,ALT_SCREEN:47,ALT_SCREEN_CLEAR:1049,MOUSE_NORMAL:1000,MOUSE_BUTTON:1002,MOUSE_ANY:1003,MOUSE_SGR:1006,FOCUS_EVENTS:1004,BRACKETED_PASTE:2004,SYNCHRONIZED_UPDATE:2026};eV=s6(DZ.SYNCHRONIZED_UPDATE),ZD=o6(DZ.SYNCHRONIZED_UPDATE),JD=s6(DZ.BRACKETED_PASTE),FX=o6(DZ.BRACKETED_PASTE),wj=s6(DZ.FOCUS_EVENTS),YK=o6(DZ.FOCUS_EVENTS),r8=s6(DZ.CURSOR_VISIBLE),VK=o6(DZ.CURSOR_VISIBLE),vj=s6(DZ.ALT_SCREEN_CLEAR),QD=o6(DZ.ALT_SCREEN_CLEAR),DK=s6(DZ.MOUSE_NORMAL)+s6(DZ.MOUSE_BUTTON)+s6(DZ.MOUSE_ANY)+s6(DZ.MOUSE_SGR),AK=o6(DZ.MOUSE_SGR)+o6(DZ.MOUSE_ANY)+o6(DZ.MOUSE_BUTTON)+o6(DZ.MOUSE_NORMAL)});import{createHash as hR,randomUUID as pR}from"crypto";import{tmpdir as cR}from"os";import{join as dR}from"path";function KD(Q="claude-prompt",K=".md",z){let U=z?.contentHash?hR("sha256").update(z.contentHash).digest("hex").slice(0,16):pR();return dR(cR(),`${Q}-${U}${K}`)}var GD=()=>{};import{Buffer as aR}from"buffer";import{unlink as iR,writeFile as nR}from"node:fs/promises";function OJ(...Q){let K=A4.terminal==="kitty"?XD:Z6;return`${gj}${Q.join(m7)}${K}`}function sJ(Q){if(process.env.TMUX)return`\x1BPtmux;${Q.replaceAll("\x1B","\x1B\x1B")}\x1B\\`;if(process.env.STY)return`\x1BP${Q}\x1B\\`;return Q}function _S(){if(process.platform==="darwin"&&!process.env.SSH_CONNECTION)return"native";if(process.env.TMUX)return"tmux-buffer";return"osc52"}function sR(Q){return`${uQ}Ptmux;${Q.replaceAll(uQ,uQ+uQ)}${XD}`}async function oR(Q){if(!process.env.TMUX)return!1;let K=process.env.LC_TERMINAL==="iTerm2"?["load-buffer","-"]:["load-buffer","-w","-"],{code:z}=await K6("tmux",K,{input:Q,useCwd:!1,timeout:2000});return z===0}async function UD(Q){let K=aR.from(Q,"utf8").toString("base64"),z=OJ(IZ.CLIPBOARD,"c",K);if(!process.env.SSH_CONNECTION)rR(Q);if(await oR(Q))return sR(`${uQ}]52;c;${K}${Z6}`);return z}function rR(Q){let K={input:Q,useCwd:!1,timeout:2000};switch(process.platform){case"darwin":K6("pbcopy",[],K);return;case"linux":{if(t8===null)return;if(t8==="wl-copy"){K6("wl-copy",[],K);return}if(t8==="xclip"){K6("xclip",["-selection","clipboard"],K);return}if(t8==="xsel"){K6("xsel",["--clipboard","--input"],K);return}K6("wl-copy",[],K).then((z)=>{if(z.code===0){t8="wl-copy";return}K6("xclip",["-selection","clipboard"],K).then((U)=>{if(U.code===0){t8="xclip";return}K6("xsel",["--clipboard","--input"],K).then((H)=>{t8=H.code===0?"xsel":null})})});return}case"win32":(async()=>{let z=KD("claudio-clipboard",".txt"),U=z.replace(/'/g,"''");try{await nR(z,Q,{encoding:"utf8"}),await K6("powershell",["-NoProfile","-NonInteractive","-Command",`$text = [System.IO.File]::ReadAllText('${U}', [System.Text.Encoding]::UTF8); Set-Clipboard -Value $text`],{useCwd:!1,timeout:K.timeout,stdin:"ignore"})}finally{await iR(z).catch(()=>{})}})().catch(()=>{});return}}function qD(Q){let K=Q.indexOf(";"),z=K>=0?Q.slice(0,K):Q,U=K>=0?Q.slice(K+1):"",H=parseInt(z,10);if(H===IZ.SET_TITLE_AND_ICON)return{type:"title",action:{type:"both",title:U}};if(H===IZ.SET_ICON)return{type:"title",action:{type:"iconName",name:U}};if(H===IZ.SET_TITLE)return{type:"title",action:{type:"windowTitle",title:U}};if(H===IZ.HYPERLINK){let F=U.split(";"),B=F[0]??"",W=F.slice(1).join(";");if(W==="")return{type:"link",action:{type:"end"}};let Y={};if(B)for(let D of B.split(":")){let A=D.indexOf("=");if(A>=0)Y[D.slice(0,A)]=D.slice(A+1)}return{type:"link",action:{type:"start",url:W,params:Object.keys(Y).length>0?Y:void 0}}}if(H===IZ.TAB_STATUS)return{type:"tabStatus",action:tR(U)};return{type:"unknown",sequence:`\x1B]${Q}`}}function zD(Q){let K=Q.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i);if(K)return{type:"rgb",r:parseInt(K[1],16),g:parseInt(K[2],16),b:parseInt(K[3],16)};let z=Q.match(/^rgb:([0-9a-f]{1,4})\/([0-9a-f]{1,4})\/([0-9a-f]{1,4})$/i);if(z){let U=(H)=>Math.round(parseInt(H,16)/(16**H.length-1)*255);return{type:"rgb",r:U(z[1]),g:U(z[2]),b:U(z[3])}}return null}function tR(Q){let K={};for(let[z,U]of eR(Q))switch(z){case"indicator":K.indicator=U===""?null:zD(U);break;case"status":K.status=U===""?null:U;break;case"status-color":K.statusColor=U===""?null:zD(U);break}return K}function*eR(Q){let K="",z="",U=!1,H=!1;for(let F of Q)if(H){if(U)z+=F;else K+=F;H=!1}else if(F==="\\")H=!0;else if(F===";")yield[K,z],K="",z="",U=!1;else if(F==="="&&!U)U=!0;else if(U)z+=F;else K+=F;if(K||U)yield[K,z]}function BX(Q,K){if(!Q)return OX;let z={id:ZI(Q),...K},U=Object.entries(z).map(([H,F])=>`${H}=${F}`).join(":");return OJ(IZ.HYPERLINK,U,Q)}function ZI(Q){let K=0;for(let z=0;z<Q.length;z++)K=(K<<5)-K+Q.charCodeAt(z)|0;return(K>>>0).toString(36)}function N4(){return!1}function HD(Q){let K=[],z=(U)=>U.type==="rgb"?`#${[U.r,U.g,U.b].map((H)=>H.toString(16).padStart(2,"0")).join("")}`:"";if("indicator"in Q)K.push(`indicator=${Q.indicator?z(Q.indicator):""}`);if("status"in Q)K.push(`status=${Q.status?.replaceAll("\\","\\\\").replaceAll(";","\\;")??""}`);if("statusColor"in Q)K.push(`status-color=${Q.statusColor?z(Q.statusColor):""}`);return OJ(IZ.TAB_STATUS,K.join(";"))}var gj,XD,t8,IZ,OX,e8,Z5,jD,$S,WX;var G6=h(()=>{yj();lR();GD();y8();gj=uQ+String.fromCharCode(x9.OSC),XD=uQ+"\\";IZ={SET_TITLE_AND_ICON:0,SET_ICON:1,SET_TITLE:2,SET_COLOR:4,SET_CWD:7,HYPERLINK:8,ITERM2:9,SET_FG_COLOR:10,SET_BG_COLOR:11,SET_CURSOR_COLOR:12,CLIPBOARD:52,KITTY:99,RESET_COLOR:104,RESET_FG_COLOR:110,RESET_BG_COLOR:111,RESET_CURSOR_COLOR:112,SEMANTIC_PROMPT:133,GHOSTTY:777,TAB_STATUS:21337};OX=OJ(IZ.HYPERLINK,"",""),e8={NOTIFY:0,BADGE:2,PROGRESS:4},Z5={CLEAR:0,SET:1,ERROR:2,INDETERMINATE:3},jD=`${gj}${IZ.ITERM2};${e8.PROGRESS};${Z5.CLEAR};${Z6}`,$S=`${gj}${IZ.SET_TITLE_AND_ICON};${Z6}`,WX=OJ(IZ.TAB_STATUS,"indicator=;status=;status-color=")});function BD(){if(!process.stdout.isTTY)return!1;if(process.env.WT_SESSION)return!1;if(process.env.ConEmuANSI||process.env.ConEmuPID||process.env.ConEmuTask)return!0;let Q=FD.coerce(process.env.TERM_PROGRAM_VERSION);if(!Q)return!1;if(process.env.TERM_PROGRAM==="ghostty")return mj(Q.version,"1.2.0");if(process.env.TERM_PROGRAM==="iTerm.app")return mj(Q.version,"3.6.6");return!1}function KI(){if(process.env.TMUX)return!1;let Q=process.env.TERM_PROGRAM,K=process.env.TERM;if(Q==="iTerm.app"||Q==="WezTerm"||Q==="WarpTerminal"||Q==="ghostty"||Q==="contour"||Q==="vscode"||Q==="alacritty")return!0;if(K?.includes("kitty")||process.env.KITTY_WINDOW_ID)return!0;if(K==="xterm-ghostty")return!0;if(K?.startsWith("foot"))return!0;if(K?.includes("alacritty"))return!0;if(process.env.ZED_TERM)return!0;if(process.env.WT_SESSION)return!0;let z=process.env.VTE_VERSION;if(z){if(parseInt(z,10)>=6800)return!0}return!1}function OD(Q){if(YX===void 0)YX=Q}function WD(){if(process.env.TERM_PROGRAM==="ghostty")return!0;if(process.env.TERM==="xterm-ghostty")return!0;return YX?.toLowerCase().startsWith("ghostty")??!1}function VX(){if(process.env.TERM_PROGRAM==="vscode")return!0;return YX?.startsWith("xterm.js")??!1}function YD(){return WD()}function VD(){return WD()}function MK(){if(process.env.CLAUDIO_ENABLE_EXTENDED_KEYS!=="1")return!1;return GI.includes(A4.terminal??"")}function SS(){return process.platform==="win32"||!!process.env.WT_SESSION}function hj(Q,K,z=!1){if(K.length===0)return;let U=!z,H=U?eV:"";for(let F of K)switch(F.type){case"stdout":H+=F.content;break;case"clear":if(F.count>0)H+=sW(F.count);break;case"clearTerminal":H+=bj();break;case"cursorHide":H+=VK;break;case"cursorShow":H+=r8;break;case"cursorMove":H+=X4(F.x,F.y);break;case"cursorTo":H+=nW(F.col);break;case"carriageReturn":H+="\r";break;case"hyperlink":H+=BX(F.uri);break;case"styleStr":H+=F.str;break}if(U)H+=ZD;Q.stdout.write(H)}var FD,YX,GI,uj;var LK=h(()=>{yj();QI();tV();S9();NK();G6();FD=r(JI(),1);GI=["iTerm.app","kitty","WezTerm","ghostty","tmux","windows-terminal"];uj=KI()});function dj(Q){cj=Q?"focused":"blurred";for(let K of pj)K();if(!Q){for(let K of DD)K();DD.clear()}}function DX(){return cj!=="blurred"}function AD(){return cj}function lj(Q){return pj.add(Q),()=>{pj.delete(Q)}}var cj="unknown",DD,pj;var aj=h(()=>{DD=new Set,pj=new Set});function ND(){return{request:ZZ(">0q"),match:(Q)=>Q.type==="xtversion"}}class ij{stdout;queue=[];constructor(Q){this.stdout=Q}send(Q){return new Promise((K)=>{this.queue.push({kind:"query",match:Q.match,resolve:(z)=>K(z)}),this.stdout.write(Q.request)})}flush(){return new Promise((Q)=>{this.queue.push({kind:"sentinel",resolve:Q}),this.stdout.write(zI)})}onResponse(Q){let K=this.queue.findIndex((z)=>z.kind==="query"&&z.match(Q));if(K!==-1){let[z]=this.queue.splice(K,1);if(z?.kind==="query")z.resolve(Q);return}if(Q.type==="da1"){let z=this.queue.findIndex((U)=>U.kind==="sentinel");if(z===-1)return;for(let U of this.queue.splice(0,z+1))if(U.kind==="query")U.resolve(void 0);else U.resolve()}}}var zI;var MD=h(()=>{S9();G6();zI=ZZ("c")});var LD,PD,AX;var nj=h(()=>{LD=r(WZ(),1),PD=LD.createContext({exit(){}});PD.displayName="InternalAppContext";AX=PD});var J5=16;var sj=()=>{};function $D(Q){let K=_D.c(6),{children:z}=Q,U=PK.useSyncExternalStore(lj,DX),H=PK.useSyncExternalStore(lj,AD),F;if(K[0]!==U||K[1]!==H)F={isTerminalFocused:U,terminalFocusState:H},K[0]=U,K[1]=H,K[2]=F;else F=K[2];let B=F,W;if(K[3]!==z||K[4]!==B)W=ID.jsxDEV(oj.Provider,{value:B,children:z},void 0,!1,void 0,this),K[3]=z,K[4]=B,K[5]=W;else W=K[5];return W}var _D,PK,ID,oj,RD;var rj=h(()=>{aj();_D=r(HQ(),1),PK=r(WZ(),1),ID=r(t0(),1),oj=PK.createContext({isTerminalFocused:!0,terminalFocusState:"unknown"});oj.displayName="TerminalFocusContext";RD=oj});function tj(){let{isTerminalFocused:Q}=kD.useContext(RD);return Q}var kD;var ej=h(()=>{rj();kD=r(WZ(),1)});function XI(Q){let K=new Map,z=null,U=Q,H=0,F=0;function B(){F=Date.now()-H;for(let Y of K.keys())Y()}function W(){if([...K.values()].some(Boolean)){if(z)clearInterval(z),z=null;if(H===0)H=Date.now();z=setInterval(B,U)}else if(z)clearInterval(z),z=null}return{subscribe(Y,D){return K.set(Y,D),W(),()=>{K.delete(Y),W()}},now(){if(H===0)H=Date.now();if(z&&F)return F;return Date.now()-H},setTickInterval(Y){if(Y===U)return;U=Y,W()}}}function TD(Q){let K=ED.c(7),{children:z}=Q,[U]=M4.useState(qI),H=tj(),F,B;if(K[0]!==U||K[1]!==H)F=()=>{U.setTickInterval(H?J5:UI)},B=[U,H],K[0]=U,K[1]=H,K[2]=F,K[3]=B;else F=K[2],B=K[3];M4.useEffect(F,B);let W;if(K[4]!==z||K[5]!==U)W=CD.jsxDEV(L4.Provider,{value:U,children:z},void 0,!1,void 0,this),K[4]=z,K[5]=U,K[6]=W;else W=K[6];return W}function qI(){return XI(J5)}var ED,M4,CD,L4,UI;var NX=h(()=>{sj();ej();ED=r(HQ(),1),M4=r(WZ(),1),CD=r(t0(),1);L4=M4.createContext(null),UI=J5*2});var xD,jI,SD;var fD=h(()=>{xD=r(WZ(),1),jI=xD.createContext(()=>{}),SD=jI});var bD=()=>{};function HI(Q,K){let z=wD.c(42),U,H,F,B,W,Y,D,A,N,M,L,T,_,E,C,I,g;if(z[0]!==Q){let{children:y,flexWrap:S,flexDirection:o,flexGrow:d,flexShrink:i,tabIndex:Z0,autoFocus:Q0,onClick:a,onFocus:G0,onFocusCapture:z0,onBlur:w0,onBlurCapture:C0,onMouseEnter:PZ,onMouseLeave:_Z,onKeyDown:WJ,onKeyDownCapture:o0,...kZ}=Q;H=y,g=Z0,U=Q0,N=a,M=G0,L=z0,D=w0,A=C0,E=PZ,C=_Z,T=WJ,_=o0,I=kZ,Y=S===void 0?"nowrap":S,F=o===void 0?"row":o,B=d===void 0?0:d,W=i===void 0?1:i,cZ(I.margin,"margin"),cZ(I.marginX,"marginX"),cZ(I.marginY,"marginY"),cZ(I.marginTop,"marginTop"),cZ(I.marginBottom,"marginBottom"),cZ(I.marginLeft,"marginLeft"),cZ(I.marginRight,"marginRight"),cZ(I.padding,"padding"),cZ(I.paddingX,"paddingX"),cZ(I.paddingY,"paddingY"),cZ(I.paddingTop,"paddingTop"),cZ(I.paddingBottom,"paddingBottom"),cZ(I.paddingLeft,"paddingLeft"),cZ(I.paddingRight,"paddingRight"),cZ(I.gap,"gap"),cZ(I.columnGap,"columnGap"),cZ(I.rowGap,"rowGap"),z[0]=Q,z[1]=U,z[2]=H,z[3]=F,z[4]=B,z[5]=W,z[6]=Y,z[7]=D,z[8]=A,z[9]=N,z[10]=M,z[11]=L,z[12]=T,z[13]=_,z[14]=E,z[15]=C,z[16]=I,z[17]=g}else U=z[1],H=z[2],F=z[3],B=z[4],W=z[5],Y=z[6],D=z[7],A=z[8],N=z[9],M=z[10],L=z[11],T=z[12],_=z[13],E=z[14],C=z[15],I=z[16],g=z[17];let u=I.overflowX??I.overflow??"visible",l=I.overflowY??I.overflow??"visible",m;if(z[19]!==F||z[20]!==B||z[21]!==W||z[22]!==Y||z[23]!==I||z[24]!==u||z[25]!==l)m={flexWrap:Y,flexDirection:F,flexGrow:B,flexShrink:W,...I,overflowX:u,overflowY:l},z[19]=F,z[20]=B,z[21]=W,z[22]=Y,z[23]=I,z[24]=u,z[25]=l,z[26]=m;else m=z[26];let s;if(z[27]!==U||z[28]!==H||z[29]!==D||z[30]!==A||z[31]!==N||z[32]!==M||z[33]!==L||z[34]!==T||z[35]!==_||z[36]!==E||z[37]!==C||z[38]!==K||z[39]!==m||z[40]!==g)s=gD.jsxDEV("ink-box",{ref:K,tabIndex:g,autoFocus:U,onClick:N,onFocus:M,onFocusCapture:L,onBlur:D,onBlurCapture:A,onMouseEnter:E,onMouseLeave:C,onKeyDown:T,onKeyDownCapture:_,style:m,children:H},void 0,!1,void 0,this),z[27]=U,z[28]=H,z[29]=D,z[30]=A,z[31]=N,z[32]=M,z[33]=L,z[34]=T,z[35]=_,z[36]=E,z[37]=C,z[38]=K,z[39]=m,z[40]=g,z[41]=s;else s=z[41];return s}var wD,vD,gD,yD,pQ;var Q5=h(()=>{bD();Ij();wD=r(HQ(),1),vD=r(WZ(),1),gD=r(t0(),1);yD=vD.default.forwardRef(HI);yD.displayName="Box";pQ=yD});function tZ(Q){let K=mD.c(29),{color:z,backgroundColor:U,bold:H,dim:F,italic:B,underline:W,strikethrough:Y,inverse:D,wrap:A,children:N}=Q,M=B===void 0?!1:B,L=W===void 0?!1:W,T=Y===void 0?!1:Y,_=D===void 0?!1:D,E=A===void 0?"wrap":A;if(N===void 0||N===null)return null;let C;if(K[0]!==z)C=z&&{color:z},K[0]=z,K[1]=C;else C=K[1];let I;if(K[2]!==U)I=U&&{backgroundColor:U},K[2]=U,K[3]=I;else I=K[3];let g;if(K[4]!==F)g=F&&{dim:F},K[4]=F,K[5]=g;else g=K[5];let u;if(K[6]!==H)u=H&&{bold:H},K[6]=H,K[7]=u;else u=K[7];let l;if(K[8]!==M)l=M&&{italic:M},K[8]=M,K[9]=l;else l=K[9];let m;if(K[10]!==L)m=L&&{underline:L},K[10]=L,K[11]=m;else m=K[11];let s;if(K[12]!==T)s=T&&{strikethrough:T},K[12]=T,K[13]=s;else s=K[13];let y;if(K[14]!==_)y=_&&{inverse:_},K[14]=_,K[15]=y;else y=K[15];let S;if(K[16]!==l||K[17]!==m||K[18]!==s||K[19]!==y||K[20]!==C||K[21]!==I||K[22]!==g||K[23]!==u)S={...C,...I,...g,...u,...l,...m,...s,...y},K[16]=l,K[17]=m,K[18]=s,K[19]=y,K[20]=C,K[21]=I,K[22]=g,K[23]=u,K[24]=S;else S=K[24];let o=S,d=FI[E],i;if(K[25]!==N||K[26]!==d||K[27]!==o)i=uD.jsxDEV("ink-text",{style:d,textStyles:o,children:N},void 0,!1,void 0,this),K[25]=N,K[26]=d,K[27]=o,K[28]=i;else i=K[28];return i}var mD,uD,FI;var P4=h(()=>{mD=r(HQ(),1),uD=r(t0(),1),FI={wrap:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:"wrap"},"wrap-trim":{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:"wrap-trim"},end:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:"end"},middle:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:"middle"},"truncate-end":{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:"truncate-end"},truncate:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:"truncate"},"truncate-middle":{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:"truncate-middle"},"truncate-start":{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:"truncate-start"}}});function ZH({error:Q}){let K=Q.message||"Unknown error",z=Q.stack?Q.stack.split(`
222
- `).slice(1):[];return K5.jsxDEV(pQ,{flexDirection:"column",padding:1,children:[K5.jsxDEV(pQ,{children:[K5.jsxDEV(tZ,{backgroundColor:"ansi:red",color:"ansi:white",children:[" ","ERROR"," "]},void 0,!0,void 0,this),K5.jsxDEV(tZ,{children:[" ",K]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),z.length>0&&K5.jsxDEV(pQ,{marginTop:1,flexDirection:"column",children:z.map((U,H)=>K5.jsxDEV(tZ,{children:U},`${H}:${U}`,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var K5;var hD=h(()=>{Q5();P4();K5=r(t0(),1)});var pD,MX;var JH=h(()=>{pD=r(WZ(),1),MX=pD.createContext(null)});function YI(Q,K,z,U){if(K.some((H)=>H.kind==="key"||H.kind==="mouse"&&!((H.button&32)!==0&&(H.button&3)===3)))aD();for(let H of K){if(H.kind==="response"){Q.querier.onResponse(H.response);continue}if(H.kind==="mouse"){VI(Q,H);continue}let F=H.sequence;if(F===QY){Q.handleTerminalFocus(!0);let W=new n1("terminalfocus");Q.internal_eventEmitter.emit("terminalfocus",W);continue}if(F===KY){if(Q.handleTerminalFocus(!1),Q.props.selection.isDragging)D4(Q.props.selection),Q.props.onSelectionChange();let W=new n1("terminalblur");Q.internal_eventEmitter.emit("terminalblur",W);continue}if(!DX())dj(!0);if(H.name==="z"&&H.ctrl&&WI){Q.handleSuspend();continue}Q.handleInput(F);let B=new Iz(H);Q.internal_eventEmitter.emit("input",B),Q.props.dispatchKeyboardEvent(H)}}function VI(Q,K){if(nD())return;let z=Q.props.selection,U=K.col-1,H=K.row-1,F=K.button&3;if(K.action==="press"){if((K.button&32)!==0&&F===3){if(z.isDragging)D4(z),Q.props.onSelectionChange();if(U===Q.lastHoverCol&&H===Q.lastHoverRow)return;Q.lastHoverCol=U,Q.lastHoverRow=H,Q.props.onHoverAt(U,H);return}if(F!==0){Q.clickCount=0;return}if((K.button&32)!==0){Q.props.onSelectionDrag(U,H);return}if(z.isDragging)D4(z),Q.props.onSelectionChange();let B=Date.now(),W=B-Q.lastClickTime<dD&&Math.abs(U-Q.lastClickCol)<=lD&&Math.abs(H-Q.lastClickRow)<=lD;if(Q.clickCount=W?Q.clickCount+1:1,Q.lastClickTime=B,Q.lastClickCol=U,Q.lastClickRow=H,Q.clickCount>=2){if(Q.pendingHyperlinkTimer)clearTimeout(Q.pendingHyperlinkTimer),Q.pendingHyperlinkTimer=null;let Y=Q.clickCount===2?2:3;Q.props.onMultiClick(U,H,Y);return}UX(z,U,H),z.lastPressHadAlt=(K.button&8)!==0,Q.props.onSelectionChange();return}if(F!==0){if(!z.isDragging)return;D4(z),Q.props.onSelectionChange();return}if(D4(z),!q9(z)&&z.anchor){if(!Q.props.onClickAt(U,H)){let B=Q.props.getHyperlinkAt(U,H);if(B&&process.env.TERM_PROGRAM!=="vscode"&&!VX()){if(Q.pendingHyperlinkTimer)clearTimeout(Q.pendingHyperlinkTimer);Q.pendingHyperlinkTimer=setTimeout((W,Y)=>{W.pendingHyperlinkTimer=null,W.props.onOpenHyperlink(Y)},dD,Q,B)}}}Q.props.onSelectionChange()}var oD,d7,WI,cD=5000,dD=500,lD=1,LX;var rD=h(()=>{iD();OI();PV();BI();Fj();qz();y3();g3();v3();tz();HX();LK();aj();MD();S9();NK();nj();NX();fD();hD();jz();rj();JH();oD=r(WZ(),1),d7=r(t0(),1),WI=process.platform!=="win32";LX=class LX extends oD.PureComponent{static displayName="InternalApp";static getDerivedStateFromError(Q){return{error:Q}}state={error:void 0};rawModeEnabledCount=0;internal_eventEmitter=new Q4;keyParseState=FY;incompleteEscapeTimer=null;stdinMode=process.env.CLAUDIO_USE_DATA_STDIN==="1"||process.env.CLAUDIO_USE_READABLE_STDIN==="0"?"data":"readable";NORMAL_TIMEOUT=50;PASTE_TIMEOUT=500;querier=new ij(this.props.stdout);lastClickTime=0;lastClickCol=-1;lastClickRow=-1;clickCount=0;pendingHyperlinkTimer=null;lastHoverCol=-1;lastHoverRow=-1;lastStdinTime=Date.now();isRawModeSupported(){return this.props.stdin.isTTY}render(){return d7.jsxDEV(MX.Provider,{value:{columns:this.props.terminalColumns,rows:this.props.terminalRows},children:d7.jsxDEV(AX.Provider,{value:{exit:this.handleExit},children:d7.jsxDEV(f8.Provider,{value:{stdin:this.props.stdin,setRawMode:this.handleSetRawMode,isRawModeSupported:this.isRawModeSupported(),internal_exitOnCtrlC:this.props.exitOnCtrlC,internal_eventEmitter:this.internal_eventEmitter,internal_querier:this.querier},children:d7.jsxDEV($D,{children:d7.jsxDEV(TD,{children:d7.jsxDEV(SD.Provider,{value:this.props.onCursorDeclaration??(()=>{}),children:this.state.error?d7.jsxDEV(ZH,{error:this.state.error},void 0,!1,void 0,this):this.props.children},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}componentDidMount(){if(this.props.stdout.isTTY&&!qK(process.env.CLAUDE_CODE_ACCESSIBILITY))this.props.stdout.write(VK)}componentWillUnmount(){if(this.props.stdout.isTTY)this.props.stdout.write(r8);if(this.incompleteEscapeTimer)clearTimeout(this.incompleteEscapeTimer),this.incompleteEscapeTimer=null;if(this.pendingHyperlinkTimer)clearTimeout(this.pendingHyperlinkTimer),this.pendingHyperlinkTimer=null;if(this.isRawModeSupported())this.handleSetRawMode(!1)}componentDidCatch(Q){d6(Q),this.handleExit(Q)}handleSetRawMode=(Q)=>{let{stdin:K}=this.props;if(!this.isRawModeSupported())if(K===process.stdin)throw Error(`Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
223
- Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`);else throw Error(`Raw mode is not supported on the stdin provided to Ink.
224
- Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`);if(K.setEncoding("utf8"),Q){if(this.rawModeEnabledCount===0){if(sD(),K.ref(),K.setRawMode(!0),this.stdinMode==="data")K.addListener("data",this.handleDataChunk);else K.addListener("readable",this.handleReadable);if(K.resume(),this.props.stdout.write(JD),this.props.stdout.write(wj),MK())this.props.stdout.write(l1),this.props.stdout.write(a1);setImmediate(()=>{Promise.all([this.querier.send(ND()),this.querier.flush()]).then(([z])=>{if(z)OD(z.name),logForDebugging(`XTVERSION: terminal identified as "${z.name}"`);else logForDebugging("XTVERSION: no reply (terminal ignored query)")})})}this.rawModeEnabledCount++;return}if(--this.rawModeEnabledCount===0)this.props.stdout.write(i1),this.props.stdout.write(m8),this.props.stdout.write(YK),this.props.stdout.write(FX),K.setRawMode(!1),K.removeListener("readable",this.handleReadable),K.removeListener("data",this.handleDataChunk),K.pause(),K.unref()};flushIncomplete=()=>{if(this.incompleteEscapeTimer=null,!this.keyParseState.incomplete)return;if(this.props.stdin.readableLength>0){this.incompleteEscapeTimer=setTimeout(this.flushIncomplete,this.NORMAL_TIMEOUT);return}this.processInput(null)};processInput=(Q)=>{let[K,z]=BY(this.keyParseState,Q);if(this.keyParseState=z,K.length>0)Q6.discreteUpdates(YI,this,K,void 0,void 0);if(this.keyParseState.incomplete){if(this.incompleteEscapeTimer)clearTimeout(this.incompleteEscapeTimer);this.incompleteEscapeTimer=setTimeout(this.flushIncomplete,this.keyParseState.mode==="IN_PASTE"?this.PASTE_TIMEOUT:this.NORMAL_TIMEOUT)}};handleReadable=()=>{let Q=Date.now();if(Q-this.lastStdinTime>cD)this.props.onStdinResume?.();this.lastStdinTime=Q;try{let K;while((K=this.props.stdin.read())!==null)this.processInput(K)}catch(K){d6(K);let{stdin:z}=this.props;if(this.rawModeEnabledCount>0&&!z.listeners("readable").includes(this.handleReadable))logForDebugging("handleReadable: re-attaching stdin readable listener after error recovery",{level:"warn"}),z.addListener("readable",this.handleReadable)}};handleDataChunk=(Q)=>{let K=Date.now();if(K-this.lastStdinTime>cD)this.props.onStdinResume?.();this.lastStdinTime=K;try{this.processInput(Q)}catch(z){d6(z);let{stdin:U}=this.props;if(this.rawModeEnabledCount>0&&!U.listeners("data").includes(this.handleDataChunk))logForDebugging("handleDataChunk: re-attaching stdin data listener after error recovery",{level:"warn"}),U.addListener("data",this.handleDataChunk)}};handleInput=(Q)=>{if(Q==="\x03"&&this.props.exitOnCtrlC)this.handleExit()};handleExit=(Q)=>{if(this.isRawModeSupported())this.handleSetRawMode(!1);this.props.onExit(Q)};handleTerminalFocus=(Q)=>{dj(Q)};handleSuspend=()=>{if(!this.isRawModeSupported())return;let Q=this.rawModeEnabledCount;while(this.rawModeEnabledCount>0)this.handleSetRawMode(!1);if(this.props.stdout.isTTY)this.props.stdout.write(r8+YK+AK);this.internal_eventEmitter.emit("suspend");let K=()=>{for(let z=0;z<Q;z++)if(this.isRawModeSupported())this.handleSetRawMode(!0);if(this.props.stdout.isTTY){if(!qK(process.env.CLAUDE_CODE_ACCESSIBILITY))this.props.stdout.write(VK);this.props.stdout.write(wj)}this.internal_eventEmitter.emit("resume"),process.removeListener("SIGCONT",K)};process.on("SIGCONT",K),process.kill(process.pid,"SIGSTOP")}}});function DI(Q){let K=Q.sequence??"",z=Q.name??"";if(Q.ctrl)return z;if(K.length===1){let U=K.charCodeAt(0);if(U>=32&&U!==127)return K}return z||K}var QH;var tD=h(()=>{Oj();QH=class QH extends GK{key;ctrl;shift;meta;superKey;fn;constructor(Q){super("keydown",{bubbles:!0,cancelable:!0});this.key=DI(Q),this.ctrl=Q.ctrl,this.shift=Q.shift,this.meta=Q.meta||Q.option,this.superKey=Q.super,this.fn=Q.fn}}});function l7(Q,K,z,U,H){return{screen:a6(0,0,z,U,H),viewport:{width:K,height:Q},cursor:{x:0,y:0,visible:!0}}}var eD=h(()=>{n6()});var PX;var KH=h(()=>{S8();PX=class PX extends G9{col;row;localCol=0;localRow=0;cellIsBlank;constructor(Q,K,z){super();this.col=Q,this.row=K,this.cellIsBlank=z}}});function GH(Q,K,z){let U=rZ.get(Q);if(!U)return null;if(K<U.x||K>=U.x+U.width||z<U.y||z>=U.y+U.height)return null;for(let H=Q.childNodes.length-1;H>=0;H--){let F=Q.childNodes[H];if(F.nodeName==="#text")continue;let B=GH(F,K,z);if(B)return B}return Q}function ZA(Q,K,z,U=!1){let H=GH(Q,K,z)??void 0;if(!H)return!1;if(Q.focusManager){let W=H;while(W){if(typeof W.attributes.tabIndex==="number"){Q.focusManager.handleClickFocus(W);break}W=W.parentNode}}let F=new PX(K,z,U),B=!1;while(H){let W=H._eventHandlers?.onClick;if(W){B=!0;let Y=rZ.get(H);if(Y)F.localCol=K-Y.x,F.localRow=z-Y.y;if(W(F),F.didStopImmediatePropagation())return!0}H=H.parentNode}return B}function JA(Q,K,z,U){let H=new Set,F=GH(Q,K,z)??void 0;while(F){let B=F._eventHandlers;if(B?.onMouseEnter||B?.onMouseLeave)H.add(F);F=F.parentNode}for(let B of U)if(!H.has(B)){if(U.delete(B),B.parentNode)B._eventHandlers?.onMouseLeave?.()}for(let B of H)if(!U.has(B))U.add(B),B._eventHandlers?.onMouseEnter?.()}var QA=h(()=>{KH();H4()});var AI,z6;var _X=h(()=>{AI=new Map,z6=AI});class zH{options;state;constructor(Q){this.options=Q;this.state={previousOutput:""}}renderPreviousOutput_DEPRECATED(Q){if(!this.options.isTTY)return[RX];return this.getRenderOpsForDone(Q)}reset(){this.state.previousOutput=""}renderFullFrame(Q){let{screen:K}=Q,z=[],U=[],H=void 0;for(let F=0;F<K.height;F++){let B="";for(let Y=0;Y<K.width;Y++){let D=SJ(K,Y,F);if(D&&D.width!==2){if(D.hyperlink!==H){if(H!==void 0)B+=OX;if(D.hyperlink!==void 0)B+=BX(D.hyperlink);H=D.hyperlink}let A=this.options.stylePool.get(D.styleId),N=d8(U,A);if(N.length>0)B+=J6(N),U=A;B+=D.char}}if(H!==void 0)B+=OX,H=void 0;let W=d8(U,[]);if(W.length>0)B+=J6(W),U=[];z.push(B.trimEnd())}if(z.length===0)return[];return[{type:"stdout",content:z.join(`
225
- `)}]}getRenderOpsForDone(Q){if(this.state.previousOutput="",!Q.cursor.visible)return[{type:"cursorShow"}];return[]}render(Q,K,z=!1,U=!0,H=!1){if(!this.options.isTTY)return this.renderFullFrame(K);let F=performance.now(),B=this.options.stylePool;if(K.viewport.height<Q.viewport.height||Q.viewport.width!==0&&K.viewport.width!==Q.viewport.width)return _K(K,"resize",B);if(!z&&H){let y=LI(Q.screen,K.screen);if(y!==null)return NI(Q,K,B,y)}let W=[];if(z&&K.scrollHint&&U){let{top:y,bottom:S,delta:o}=K.scrollHint;if(y>=0&&S<Q.screen.height&&S<K.screen.height)zX(Q.screen,y,S,o),W=[{type:"stdout",content:tW(y+1,S+1)+(o>0?oW(o):rW(-o))+eW+p6}]}let Y=Q.cursor.y>=Q.screen.height,D=K.screen.height>Q.screen.height,A=Y&&Q.screen.height>=Q.viewport.height,N=K.screen.height<Q.screen.height,M=K.screen.height<=Q.viewport.height;if(A&&M&&N)return gZ(`Full reset (shrink->below): prevHeight=${Q.screen.height}, nextHeight=${K.screen.height}, viewport=${Q.viewport.height}`),_K(K,"offscreen",B);if(Q.screen.height>=Q.viewport.height&&Q.screen.height>0&&Y&&!D){let S=Q.screen.height-Q.viewport.height+1,o=-1;if(Tj(Q.screen,K.screen,(d,i)=>{if(i<S)return o=i,!0}),o>=0){let d=$X(Q.screen,o),i=$X(K.screen,o);return _K(K,"offscreen",B,{triggerY:o,prevLine:d,nextLine:i})}}let L=new $K(Q.cursor,K.viewport.width),T=Math.max(K.screen.height,1)-Math.max(Q.screen.height,1),_=T<0,E=T>0;if(_){let y=Q.screen.height-K.screen.height;if(y>Q.viewport.height)return _K(K,"offscreen",this.options.stylePool);L.txn((S)=>[[{type:"clear",count:y},{type:"cursorMove",x:0,y:-1}],{dx:-S.x,dy:-y}])}let C=A?1:0,I=E?Math.max(0,Q.screen.height-Q.viewport.height+C):Math.max(Q.screen.height,K.screen.height)-K.viewport.height+C,g=B.none,u=void 0,l=!1,m=-1;if(Tj(Q.screen,K.screen,(y,S,o,d)=>{if(E&&S>=Q.screen.height)return;if(d&&(d.width===2||d.width===3))return;if(o&&(o.width===2||o.width===3)&&!d)return;if(d&&KX(K.screen,y,S)&&!o)return;if(S<I)return l=!0,m=S,!0;if(kX(L,y,S),d){let i=d.hyperlink;u=_4(L.diff,u,i);let Z0=B.transition(g,d.styleId);if(GA(L,d,Z0))g=d.styleId}else if(o){let i=g,Z0=u;g=B.none,u=void 0,L.txn(()=>{let Q0=[];return IX(Q0,B,i,B.none),_4(Q0,Z0,void 0),Q0.push({type:"stdout",content:" "}),[Q0,{dx:1,dy:0}]})}}),l)return _K(K,"offscreen",B,{triggerY:m,prevLine:$X(Q.screen,m),nextLine:$X(K.screen,m)});if(g=IX(L.diff,B,g,B.none),u=_4(L.diff,u,void 0),E)XH(L,K,Q.screen.height,K.screen.height,B);if(!z)KA(L,K);let s=performance.now()-F;if(s>50){let y=K.screen.damage,S=y?`${y.width}x${y.height} at (${y.x},${y.y})`:"none";gZ(`Slow render: ${s.toFixed(1)}ms, screen: ${K.screen.height}x${K.screen.width}, damage: ${S}, changes: ${L.diff.length}`)}return W.length>0?[...W,...L.diff]:L.diff}}function NI(Q,K,z,U){let H=[],F=Q.screen.height-U;if(F>0){let W=Q.screen.height-1,Y=new $K(Q.cursor,K.viewport.width);kX(Y,0,W),H.push(...Y.diff),H.push({type:"clear",count:F})}let B=new $K(F>0?{x:0,y:U}:Q.cursor,K.viewport.width);return XH(B,K,U,K.screen.height,z),KA(B,K),[...H,...B.diff]}function LI(Q,K){let z=Math.min(Q.height,K.height),U=z;for(let F=0;F<z;F+=1)if(!PI(Q,K,F)){U=F;break}let H=Math.max(Q.height,K.height)-U;if(H<=0)return null;return H<=MI?U:null}function PI(Q,K,z){if(Q.width!==K.width)return!1;if(Q.softWrap[z]!==K.softWrap[z])return!1;let U=z*Q.width,H=U+Q.width;for(let F=U;F<H;F+=1)if(Q.cells64[F]!==K.cells64[F]||Q.noSelect[F]!==K.noSelect[F])return!1;return!0}function _4(Q,K,z){if(K!==z)return Q.push({type:"hyperlink",uri:z??""}),z;return K}function IX(Q,K,z,U){let H=K.transition(z,U);if(H.length>0)Q.push({type:"styleStr",str:H});return U}function $X(Q,K){let z="";for(let U=0;U<Q.width;U++)z+=bV(Q,U,K)??" ";return z.trimEnd()}function _K(Q,K,z,U){let H=new $K({x:0,y:0},Q.viewport.width);return _I(H,Q,z),[{type:"clearTerminal",reason:K,debug:U},...H.diff]}function _I(Q,K,z){XH(Q,K,0,K.screen.height,z)}function XH(Q,K,z,U,H){let F=H.none,B=void 0,W=-1,{width:Y,cells:D,charPool:A,hyperlinkPool:N}=K.screen,M=z*Y;for(let L=z;L<U;L+=1){if(Q.cursor.y<L){let T=L-Q.cursor.y;Q.txn((_)=>{let E=Array(1+T);E[0]=$4;for(let C=0;C<T;C++)E[1+C]=RX;return[E,{dx:-_.x,dy:T}]})}W=-1;for(let T=0;T<Y;T+=1,M+=1){let _=fV(D,A,N,M,W);if(!_)continue;kX(Q,T,L);let E=_.hyperlink;B=_4(Q.diff,B,E);let C=H.transition(F,_.styleId);if(GA(Q,_,C))F=_.styleId,W=_.styleId}F=IX(Q.diff,H,F,H.none),B=_4(Q.diff,B,void 0),Q.txn((T)=>[[$4,RX],{dx:-T.x,dy:1}])}return IX(Q.diff,H,F,H.none),_4(Q.diff,B,void 0),Q}function KA(Q,K){if(K.cursor.y>=K.screen.height){Q.txn((z)=>{let U=K.cursor.y-z.y;if(U>0){let F=Array(1+U);F[0]=$4;for(let B=0;B<U;B++)F[1+B]=RX;return[F,{dx:-z.x,dy:U}]}let H=K.cursor.y-z.y;if(H!==0||z.x!==K.cursor.x){let F=[$4];return F.push({type:"cursorMove",x:K.cursor.x,y:H}),[F,{dx:K.cursor.x-z.x,dy:H}]}return[[],{dx:0,dy:0}]});return}kX(Q,K.cursor.x,K.cursor.y)}function GA(Q,K,z){let U=K.width===1?2:1,H=Q.cursor.x,F=Q.viewportWidth;if(U===2&&H<F){let Y=K.char.length>2?F:F+1;if(H+2>=Y)return!1}let B=Q.diff;if(z.length>0)B.push({type:"styleStr",str:z});let W=U===2&&$I(K.char);if(W&&H+1<F)B.push({type:"cursorTo",col:H+2}),B.push({type:"stdout",content:" "}),B.push({type:"cursorTo",col:H+1});if(B.push({type:"stdout",content:K.char}),W)B.push({type:"cursorTo",col:H+U+1});if(H>=F)Q.cursor.x=U,Q.cursor.y++;else Q.cursor.x=H+U;return!0}function kX(Q,K,z){Q.txn((U)=>{let H=K-U.x,F=z-U.y;if(U.x>=Q.viewportWidth)return[[$4,{type:"cursorMove",x:K,y:F}],{dx:H,dy:F}];if(F!==0)return[[$4,{type:"cursorMove",x:K,y:F}],{dx:H,dy:F}];return[[{type:"cursorMove",x:H,y:F}],{dx:H,dy:F}]})}function $I(Q){let K=Q.codePointAt(0);if(K===void 0)return!1;if(K>=129648&&K<=129791||K>=129792&&K<=130047)return!0;if(Q.length>=2){for(let z=0;z<Q.length;z++)if(Q.charCodeAt(z)===65039)return!0}return!1}class $K{viewportWidth;cursor;diff=[];constructor(Q,K){this.viewportWidth=K;this.cursor={...Q}}txn(Q){let[K,z]=Q(this.cursor);for(let U of K)this.diff.push(U);this.cursor.x+=z.dx,this.cursor.y+=z.dy}}var $4,RX,MI=6;var zA=h(()=>{e1();o8();n6();S9();G6();$4={type:"carriageReturn"},RX={type:"stdout",content:`
226
- `}});function UH(Q){if(Q.length<=1)return Q;let K=[],z=0;for(let U of Q){let H=U.type;if(H==="stdout"){if(U.content==="")continue}else if(H==="cursorMove"){if(U.x===0&&U.y===0)continue}else if(H==="clear"){if(U.count===0)continue}if(z>0){let F=z-1,B=K[F],W=B.type;if(H==="cursorMove"&&W==="cursorMove"){K[F]={type:"cursorMove",x:B.x+U.x,y:B.y+U.y};continue}if(H==="cursorTo"&&W==="cursorTo"){K[F]=U;continue}if(H==="styleStr"&&W==="styleStr"){K[F]={type:"styleStr",str:B.str+U.str};continue}if(H==="hyperlink"&&W==="hyperlink"&&U.uri===B.uri)continue;if(H==="cursorShow"&&W==="cursorHide"||H==="cursorHide"&&W==="cursorShow"){K.pop(),z--;continue}}K.push(U),z++}return K}var XA=()=>{};var UA=y6((qH,jH)=>{(function(Q,K){typeof qH==="object"&&typeof jH<"u"?jH.exports=K():typeof define==="function"&&define.amd?define(K):(Q=typeof globalThis<"u"?globalThis:Q||self,Q.bidi_js=K())})(qH,function(){function Q(){var K=function(z){var U={R:"13k,1a,2,3,3,2+1j,ch+16,a+1,5+2,2+n,5,a,4,6+16,4+3,h+1b,4mo,179q,2+9,2+11,2i9+7y,2+68,4,3+4,5+13,4+3,2+4k,3+29,8+cf,1t+7z,w+17,3+3m,1t+3z,16o1+5r,8+30,8+mc,29+1r,29+4v,75+73",EN:"1c+9,3d+1,6,187+9,513,4+5,7+9,sf+j,175h+9,qw+q,161f+1d,4xt+a,25i+9",ES:"17,2,6dp+1,f+1,av,16vr,mx+1,4o,2",ET:"z+2,3h+3,b+1,ym,3e+1,2o,p4+1,8,6u,7c,g6,1wc,1n9+4,30+1b,2n,6d,qhx+1,h0m,a+1,49+2,63+1,4+1,6bb+3,12jj",AN:"16o+5,2j+9,2+1,35,ed,1ff2+9,87+u",CS:"18,2+1,b,2u,12k,55v,l,17v0,2,3,53,2+1,b",B:"a,3,f+2,2v,690",S:"9,2,k",WS:"c,k,4f4,1vk+a,u,1j,335",ON:"x+1,4+4,h+5,r+5,r+3,z,5+3,2+1,2+1,5,2+2,3+4,o,w,ci+1,8+d,3+d,6+8,2+g,39+1,9,6+1,2,33,b8,3+1,3c+1,7+1,5r,b,7h+3,sa+5,2,3i+6,jg+3,ur+9,2v,ij+1,9g+9,7+a,8m,4+1,49+x,14u,2+2,c+2,e+2,e+2,e+1,i+n,e+e,2+p,u+2,e+2,36+1,2+3,2+1,b,2+2,6+5,2,2,2,h+1,5+4,6+3,3+f,16+2,5+3l,3+81,1y+p,2+40,q+a,m+13,2r+ch,2+9e,75+hf,3+v,2+2w,6e+5,f+6,75+2a,1a+p,2+2g,d+5x,r+b,6+3,4+o,g,6+1,6+2,2k+1,4,2j,5h+z,1m+1,1e+f,t+2,1f+e,d+3,4o+3,2s+1,w,535+1r,h3l+1i,93+2,2s,b+1,3l+x,2v,4g+3,21+3,kz+1,g5v+1,5a,j+9,n+v,2,3,2+8,2+1,3+2,2,3,46+1,4+4,h+5,r+5,r+a,3h+2,4+6,b+4,78,1r+24,4+c,4,1hb,ey+6,103+j,16j+c,1ux+7,5+g,fsh,jdq+1t,4,57+2e,p1,1m,1m,1m,1m,4kt+1,7j+17,5+2r,d+e,3+e,2+e,2+10,m+4,w,1n+5,1q,4z+5,4b+rb,9+c,4+c,4+37,d+2g,8+b,l+b,5+1j,9+9,7+13,9+t,3+1,27+3c,2+29,2+3q,d+d,3+4,4+2,6+6,a+o,8+6,a+2,e+6,16+42,2+1i",BN:"0+8,6+d,2s+5,2+p,e,4m9,1kt+2,2b+5,5+5,17q9+v,7k,6p+8,6+1,119d+3,440+7,96s+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+75,6p+2rz,1ben+1,1ekf+1,1ekf+1",NSM:"lc+33,7o+6,7c+18,2,2+1,2+1,2,21+a,1d+k,h,2u+6,3+5,3+1,2+3,10,v+q,2k+a,1n+8,a,p+3,2+8,2+2,2+4,18+2,3c+e,2+v,1k,2,5+7,5,4+6,b+1,u,1n,5+3,9,l+1,r,3+1,1m,5+1,5+1,3+2,4,v+1,4,c+1,1m,5+4,2+1,5,l+1,n+5,2,1n,3,2+3,9,8+1,c+1,v,1q,d,1f,4,1m+2,6+2,2+3,8+1,c+1,u,1n,g+1,l+1,t+1,1m+1,5+3,9,l+1,u,21,8+2,2,2j,3+6,d+7,2r,3+8,c+5,23+1,s,2,2,1k+d,2+4,2+1,6+a,2+z,a,2v+3,2+5,2+1,3+1,q+1,5+2,h+3,e,3+1,7,g,jk+2,qb+2,u+2,u+1,v+1,1t+1,2+6,9,3+a,a,1a+2,3c+1,z,3b+2,5+1,a,7+2,64+1,3,1n,2+6,2,2,3+7,7+9,3,1d+g,1s+3,1d,2+4,2,6,15+8,d+1,x+3,3+1,2+2,1l,2+1,4,2+2,1n+7,3+1,49+2,2+c,2+6,5,7,4+1,5j+1l,2+4,k1+w,2db+2,3y,2p+v,ff+3,30+1,n9x+3,2+9,x+1,29+1,7l,4,5,q+1,6,48+1,r+h,e,13+7,q+a,1b+2,1d,3+3,3+1,14,1w+5,3+1,3+1,d,9,1c,1g,2+2,3+1,6+1,2,17+1,9,6n,3,5,fn5,ki+f,h+f,r2,6b,46+4,1af+2,2+1,6+3,15+2,5,4m+1,fy+3,as+1,4a+a,4x,1j+e,1l+2,1e+3,3+1,1y+2,11+4,2+7,1r,d+1,1h+8,b+3,3,2o+2,3,2+1,7,4h,4+7,m+1,1m+1,4,12+6,4+4,5g+7,3+2,2,o,2d+5,2,5+1,2+1,6n+3,7+1,2+1,s+1,2e+7,3,2+1,2z,2,3+5,2,2u+2,3+3,2+4,78+8,2+1,75+1,2,5,41+3,3+1,5,x+5,3+1,15+5,3+3,9,a+5,3+2,1b+c,2+1,bb+6,2+5,2d+l,3+6,2+1,2+1,3f+5,4,2+1,2+6,2,21+1,4,2,9o+1,f0c+4,1o+6,t5,1s+3,2a,f5l+1,43t+2,i+7,3+6,v+3,45+2,1j0+1i,5+1d,9,f,n+4,2+e,11t+6,2+g,3+6,2+1,2+4,7a+6,c6+3,15t+6,32+6,gzhy+6n",AL:"16w,3,2,e+1b,z+2,2+2s,g+1,8+1,b+m,2+t,s+2i,c+e,4h+f,1d+1e,1bwe+dp,3+3z,x+c,2+1,35+3y,2rm+z,5+7,b+5,dt+l,c+u,17nl+27,1t+27,4x+6n,3+d",LRO:"6ct",RLO:"6cu",LRE:"6cq",RLE:"6cr",PDF:"6cs",LRI:"6ee",RLI:"6ef",FSI:"6eg",PDI:"6eh"},H={},F={};H.L=1,F[1]="L",Object.keys(U).forEach(function(X0,$0){H[X0]=1<<$0+1,F[H[X0]]=X0}),Object.freeze(H);var B=H.LRI|H.RLI|H.FSI,W=H.L|H.R|H.AL,Y=H.B|H.S|H.WS|H.ON|H.FSI|H.LRI|H.RLI|H.PDI,D=H.BN|H.RLE|H.LRE|H.RLO|H.LRO|H.PDF,A=H.S|H.WS|H.B|B|H.PDI|D,N=null;function M(){if(!N){N=new Map;var X0=function(V0){if(U.hasOwnProperty(V0)){var t=0;U[V0].split(",").forEach(function(i0){var U0=i0.split("+"),B0=U0[0],W0=U0[1];B0=parseInt(B0,36),W0=W0?parseInt(W0,36):0,N.set(t+=B0,H[V0]);for(var TZ=0;TZ<W0;TZ++)N.set(++t,H[V0])})}};for(var $0 in U)X0($0)}}function L(X0){return M(),N.get(X0.codePointAt(0))||H.L}function T(X0){return F[L(X0)]}var _={pairs:"14>1,1e>2,u>2,2wt>1,1>1,1ge>1,1wp>1,1j>1,f>1,hm>1,1>1,u>1,u6>1,1>1,+5,28>1,w>1,1>1,+3,b8>1,1>1,+3,1>3,-1>-1,3>1,1>1,+2,1s>1,1>1,x>1,th>1,1>1,+2,db>1,1>1,+3,3>1,1>1,+2,14qm>1,1>1,+1,4q>1,1e>2,u>2,2>1,+1",canonical:"6f1>-6dx,6dy>-6dx,6ec>-6ed,6ee>-6ed,6ww>2jj,-2ji>2jj,14r4>-1e7l,1e7m>-1e7l,1e7m>-1e5c,1e5d>-1e5b,1e5c>-14qx,14qy>-14qx,14vn>-1ecg,1ech>-1ecg,1edu>-1ecg,1eci>-1ecg,1eda>-1ecg,1eci>-1ecg,1eci>-168q,168r>-168q,168s>-14ye,14yf>-14ye"};function E(X0,$0){var V0=36,t=0,i0=new Map,U0=$0&&new Map,B0;return X0.split(",").forEach(function W0(TZ){if(TZ.indexOf("+")!==-1)for(var r0=+TZ;r0--;)W0(B0);else{B0=TZ;var E0=TZ.split(">"),n0=E0[0],dZ=E0[1];n0=String.fromCodePoint(t+=parseInt(n0,V0)),dZ=String.fromCodePoint(t+=parseInt(dZ,V0)),i0.set(n0,dZ),$0&&U0.set(dZ,n0)}}),{map:i0,reverseMap:U0}}var C,I,g;function u(){if(!C){var X0=E(_.pairs,!0),$0=X0.map,V0=X0.reverseMap;C=$0,I=V0,g=E(_.canonical,!1).map}}function l(X0){return u(),C.get(X0)||null}function m(X0){return u(),I.get(X0)||null}function s(X0){return u(),g.get(X0)||null}var{L:y,R:S,EN:o,ES:d,ET:i,AN:Z0,CS:Q0,B:a,S:G0,ON:z0,BN:w0,NSM:C0,AL:PZ,LRO:_Z,RLO:WJ,LRE:o0,RLE:kZ,PDF:XJ,LRI:oJ,RLI:PJ,FSI:GZ,PDI:bJ}=H;function y0(X0,$0){var V0=125,t=new Uint32Array(X0.length);for(var i0=0;i0<X0.length;i0++)t[i0]=L(X0[i0]);var U0=new Map;function B0(QZ,JQ){var jJ=t[QZ];if(t[QZ]=JQ,U0.set(jJ,U0.get(jJ)-1),jJ&Y)U0.set(Y,U0.get(Y)-1);if(U0.set(JQ,(U0.get(JQ)||0)+1),JQ&Y)U0.set(Y,(U0.get(Y)||0)+1)}var W0=new Uint8Array(X0.length),TZ=new Map,r0=[],E0=null;for(var n0=0;n0<X0.length;n0++){if(!E0)r0.push(E0={start:n0,end:X0.length-1,level:$0==="rtl"?1:$0==="ltr"?0:u4(n0,!1)});if(t[n0]&a)E0.end=n0,E0=null}var dZ=kZ|o0|WJ|_Z|B|bJ|XJ|a,UJ=function(QZ){return QZ+(QZ&1?1:2)},JZ=function(QZ){return QZ+(QZ&1?2:1)};for(var VJ=0;VJ<r0.length;VJ++){E0=r0[VJ];var d0=[{_level:E0.level,_override:0,_isolate:0}],e=void 0,x0=0,j0=0,KZ=0;U0.clear();for(var g0=E0.start;g0<=E0.end;g0++){var P0=t[g0];if(e=d0[d0.length-1],U0.set(P0,(U0.get(P0)||0)+1),P0&Y)U0.set(Y,(U0.get(Y)||0)+1);if(P0&dZ){if(P0&(kZ|o0)){W0[g0]=e._level;var wJ=(P0===kZ?JZ:UJ)(e._level);if(wJ<=V0&&!x0&&!j0)d0.push({_level:wJ,_override:0,_isolate:0});else if(!x0)j0++}else if(P0&(WJ|_Z)){W0[g0]=e._level;var RQ=(P0===WJ?JZ:UJ)(e._level);if(RQ<=V0&&!x0&&!j0)d0.push({_level:RQ,_override:P0&WJ?S:y,_isolate:0});else if(!x0)j0++}else if(P0&B){if(P0&GZ)P0=u4(g0+1,!0)===1?PJ:oJ;if(W0[g0]=e._level,e._override)B0(g0,e._override);var IQ=(P0===PJ?JZ:UJ)(e._level);if(IQ<=V0&&x0===0&&j0===0)KZ++,d0.push({_level:IQ,_override:0,_isolate:1,_isolInitIndex:g0});else x0++}else if(P0&bJ){if(x0>0)x0--;else if(KZ>0){j0=0;while(!d0[d0.length-1]._isolate)d0.pop();var _0=d0[d0.length-1]._isolInitIndex;if(_0!=null)TZ.set(_0,g0),TZ.set(g0,_0);d0.pop(),KZ--}if(e=d0[d0.length-1],W0[g0]=e._level,e._override)B0(g0,e._override)}else if(P0&XJ){if(x0===0){if(j0>0)j0--;else if(!e._isolate&&d0.length>1)d0.pop(),e=d0[d0.length-1]}W0[g0]=e._level}else if(P0&a)W0[g0]=E0.level}else if(W0[g0]=e._level,e._override&&P0!==w0)B0(g0,e._override)}var l0=[],zZ=null;for(var $Z=E0.start;$Z<=E0.end;$Z++){var Y0=t[$Z];if(!(Y0&D)){var FZ=W0[$Z],CZ=Y0&B,H9=Y0===bJ;if(zZ&&FZ===zZ._level)zZ._end=$Z,zZ._endsWithIsolInit=CZ;else l0.push(zZ={_start:$Z,_end:$Z,_level:FZ,_startsWithPDI:H9,_endsWithIsolInit:CZ})}}var xZ=[];for(var eZ=0;eZ<l0.length;eZ++){var SZ=l0[eZ];if(!SZ._startsWithPDI||SZ._startsWithPDI&&!TZ.has(SZ._start)){var vJ=[zZ=SZ];for(var WQ=void 0;zZ&&zZ._endsWithIsolInit&&(WQ=TZ.get(zZ._end))!=null;)for(var YQ=eZ+1;YQ<l0.length;YQ++)if(l0[YQ]._start===WQ){vJ.push(zZ=l0[YQ]);break}var VQ=[];for(var cQ=0;cQ<vJ.length;cQ++){var F9=vJ[cQ];for(var yJ=F9._start;yJ<=F9._end;yJ++)VQ.push(yJ)}var U6=W0[VQ[0]],e6=E0.level;for(var B9=VQ[0]-1;B9>=0;B9--)if(!(t[B9]&D)){e6=W0[B9];break}var v9=VQ[VQ.length-1],i7=W0[v9],n7=E0.level;if(!(t[v9]&B)){for(var J0=v9+1;J0<=E0.end;J0++)if(!(t[J0]&D)){n7=W0[J0];break}}xZ.push({_seqIndices:VQ,_sosType:Math.max(e6,U6)%2?S:y,_eosType:Math.max(n7,i7)%2?S:y})}}for(var s7=0;s7<xZ.length;s7++){var O9=xZ[s7],H0=O9._seqIndices,y9=O9._sosType,W9=O9._eosType,q6=W0[H0[0]]&1?S:y;if(U0.get(C0))for(var o7=0;o7<H0.length;o7++){var j6=H0[o7];if(t[j6]&C0){var X5=y9;for(var dQ=o7-1;dQ>=0;dQ--)if(!(t[H0[dQ]]&D)){X5=t[H0[dQ]];break}B0(j6,X5&(B|bJ)?z0:X5)}}if(U0.get(o))for(var Z7=0;Z7<H0.length;Z7++){var J7=H0[Z7];if(t[J7]&o)for(var Q7=Z7-1;Q7>=-1;Q7--){var r7=Q7===-1?y9:t[H0[Q7]];if(r7&W){if(r7===PZ)B0(J7,Z0);break}}}if(U0.get(PZ))for(var lQ=0;lQ<H0.length;lQ++){var aQ=H0[lQ];if(t[aQ]&PZ)B0(aQ,S)}if(U0.get(d)||U0.get(Q0))for(var H6=1;H6<H0.length-1;H6++){var t7=H0[H6];if(t[t7]&(d|Q0)){var kQ=0,K7=0;for(var Y9=H6-1;Y9>=0;Y9--)if(kQ=t[H0[Y9]],!(kQ&D))break;for(var jZ=H6+1;jZ<H0.length;jZ++)if(K7=t[H0[jZ]],!(K7&D))break;if(kQ===K7&&(t[t7]===d?kQ===o:kQ&(o|Z0)))B0(t7,kQ)}}if(U0.get(o))for(var rJ=0;rJ<H0.length;rJ++){var CK=H0[rJ];if(t[CK]&o){for(var G7=rJ-1;G7>=0&&t[H0[G7]]&(i|D);G7--)B0(H0[G7],o);for(rJ++;rJ<H0.length&&t[H0[rJ]]&(i|D|o);rJ++)if(t[H0[rJ]]!==o)B0(H0[rJ],o)}}if(U0.get(i)||U0.get(d)||U0.get(Q0))for(var EQ=0;EQ<H0.length;EQ++){var z7=H0[EQ];if(t[z7]&(i|d|Q0)){B0(z7,z0);for(var tJ=EQ-1;tJ>=0&&t[H0[tJ]]&D;tJ--)B0(H0[tJ],z0);for(var U5=EQ+1;U5<H0.length&&t[H0[U5]]&D;U5++)B0(H0[U5],z0)}}if(U0.get(o))for(var TQ=0,e7=y9;TQ<H0.length;TQ++){var X7=H0[TQ],U7=t[X7];if(U7&o){if(e7===y)B0(X7,y)}else if(U7&W)e7=U7}if(U0.get(Y)){var qJ=S|o|Z0,gJ=qJ|y,eJ=[];{var $J=[];for(var RJ=0;RJ<H0.length;RJ++)if(t[H0[RJ]]&Y){var mJ=X0[H0[RJ]],q5=void 0;if(l(mJ)!==null)if($J.length<63)$J.push({char:mJ,seqIndex:RJ});else break;else if((q5=m(mJ))!==null)for(var F6=$J.length-1;F6>=0;F6--){var j5=$J[F6].char;if(j5===q5||j5===m(s(mJ))||l(s(j5))===mJ){eJ.push([$J[F6].seqIndex,RJ]),$J.length=F6;break}}}eJ.sort(function(QZ,JQ){return QZ[0]-JQ[0]})}for(var DQ=0;DQ<eJ.length;DQ++){var w4=eJ[DQ],ZQ=w4[0],B6=w4[1],Z8=!1,lZ=0;for(var g9=ZQ+1;g9<B6;g9++){var v4=H0[g9];if(t[v4]&gJ){Z8=!0;var H5=t[v4]&qJ?S:y;if(H5===q6){lZ=H5;break}}}if(Z8&&!lZ){lZ=y9;for(var F5=ZQ-1;F5>=0;F5--){var y4=H0[F5];if(t[y4]&gJ){var g4=t[y4]&qJ?S:y;if(g4!==q6)lZ=g4;else lZ=q6;break}}}if(lZ){if(t[H0[ZQ]]=t[H0[B6]]=lZ,lZ!==q6){for(var O6=ZQ+1;O6<H0.length;O6++)if(!(t[H0[O6]]&D)){if(L(X0[H0[O6]])&C0)t[H0[O6]]=lZ;break}}if(lZ!==q6){for(var q7=B6+1;q7<H0.length;q7++)if(!(t[H0[q7]]&D)){if(L(X0[H0[q7]])&C0)t[H0[q7]]=lZ;break}}}}for(var iQ=0;iQ<H0.length;iQ++)if(t[H0[iQ]]&Y){var xK=iQ,B5=iQ,m4=y9;for(var W6=iQ-1;W6>=0;W6--)if(t[H0[W6]]&D)xK=W6;else{m4=t[H0[W6]]&qJ?S:y;break}var J8=W9;for(var j7=iQ+1;j7<H0.length;j7++)if(t[H0[j7]]&(Y|D))B5=j7;else{J8=t[H0[j7]]&qJ?S:y;break}for(var H7=xK;H7<=B5;H7++)t[H0[H7]]=m4===J8?m4:q6;iQ=B5}}}for(var uJ=E0.start;uJ<=E0.end;uJ++){var SK=W0[uJ],Q8=t[uJ];if(SK&1){if(Q8&(y|o|Z0))W0[uJ]++}else if(Q8&S)W0[uJ]++;else if(Q8&(Z0|o))W0[uJ]+=2;if(Q8&D)W0[uJ]=uJ===0?E0.level:W0[uJ-1];if(uJ===E0.end||L(X0[uJ])&(G0|a))for(var CQ=uJ;CQ>=0&&L(X0[CQ])&A;CQ--)W0[CQ]=E0.level}}return{levels:W0,paragraphs:r0};function u4(QZ,JQ){for(var jJ=QZ;jJ<X0.length;jJ++){var xQ=t[jJ];if(xQ&(S|PZ))return 1;if(xQ&(a|y)||JQ&&xQ===bJ)return 0;if(xQ&B){var F7=fK(jJ);jJ=F7===-1?X0.length:F7}}return 0}function fK(QZ){var JQ=1;for(var jJ=QZ+1;jJ<X0.length;jJ++){var xQ=t[jJ];if(xQ&a)break;if(xQ&bJ){if(--JQ===0)return jJ}else if(xQ&B)JQ++}return-1}}var w9="14>1,j>2,t>2,u>2,1a>g,2v3>1,1>1,1ge>1,1wd>1,b>1,1j>1,f>1,ai>3,-2>3,+1,8>1k0,-1jq>1y7,-1y6>1hf,-1he>1h6,-1h5>1ha,-1h8>1qi,-1pu>1,6>3u,-3s>7,6>1,1>1,f>1,1>1,+2,3>1,1>1,+13,4>1,1>1,6>1eo,-1ee>1,3>1mg,-1me>1mk,-1mj>1mi,-1mg>1mi,-1md>1,1>1,+2,1>10k,-103>1,1>1,4>1,5>1,1>1,+10,3>1,1>8,-7>8,+1,-6>7,+1,a>1,1>1,u>1,u6>1,1>1,+5,26>1,1>1,2>1,2>2,8>1,7>1,4>1,1>1,+5,b8>1,1>1,+3,1>3,-2>1,2>1,1>1,+2,c>1,3>1,1>1,+2,h>1,3>1,a>1,1>1,2>1,3>1,1>1,d>1,f>1,3>1,1a>1,1>1,6>1,7>1,13>1,k>1,1>1,+19,4>1,1>1,+2,2>1,1>1,+18,m>1,a>1,1>1,lk>1,1>1,4>1,2>1,f>1,3>1,1>1,+3,db>1,1>1,+3,3>1,1>1,+2,14qm>1,1>1,+1,6>1,4j>1,j>2,t>2,u>2,2>1,+1",EZ;function qZ(){if(!EZ){var X0=E(w9,!0),$0=X0.map,V0=X0.reverseMap;V0.forEach(function(t,i0){$0.set(i0,t)}),EZ=$0}}function AZ(X0){return qZ(),EZ.get(X0)||null}function OQ(X0,$0,V0,t){var i0=X0.length;V0=Math.max(0,V0==null?0:+V0),t=Math.min(i0-1,t==null?i0-1:+t);var U0=new Map;for(var B0=V0;B0<=t;B0++)if($0[B0]&1){var W0=AZ(X0[B0]);if(W0!==null)U0.set(B0,W0)}return U0}function YJ(X0,$0,V0,t){var i0=X0.length;V0=Math.max(0,V0==null?0:+V0),t=Math.min(i0-1,t==null?i0-1:+t);var U0=[];return $0.paragraphs.forEach(function(B0){var W0=Math.max(V0,B0.start),TZ=Math.min(t,B0.end);if(W0<TZ){var r0=$0.levels.slice(W0,TZ+1);for(var E0=TZ;E0>=W0&&L(X0[E0])&A;E0--)r0[E0]=B0.level;var n0=B0.level,dZ=1/0;for(var UJ=0;UJ<r0.length;UJ++){var JZ=r0[UJ];if(JZ>n0)n0=JZ;if(JZ<dZ)dZ=JZ|1}for(var VJ=n0;VJ>=dZ;VJ--)for(var d0=0;d0<r0.length;d0++)if(r0[d0]>=VJ){var e=d0;while(d0+1<r0.length&&r0[d0+1]>=VJ)d0++;if(d0>e)U0.push([e+W0,d0+W0])}}}),U0}function _J(X0,$0,V0,t){var i0=$Q(X0,$0,V0,t),U0=[].concat(X0);return i0.forEach(function(B0,W0){U0[W0]=($0.levels[B0]&1?AZ(X0[B0]):null)||X0[B0]}),U0.join("")}function $Q(X0,$0,V0,t){var i0=YJ(X0,$0,V0,t),U0=[];for(var B0=0;B0<X0.length;B0++)U0[B0]=B0;return i0.forEach(function(W0){var TZ=W0[0],r0=W0[1],E0=U0.slice(TZ,r0+1);for(var n0=E0.length;n0--;)U0[r0-n0]=E0[n0]}),U0}return z.closingToOpeningBracket=m,z.getBidiCharType=L,z.getBidiCharTypeName=T,z.getCanonicalBracket=s,z.getEmbeddingLevels=y0,z.getMirroredCharacter=AZ,z.getMirroredCharactersMap=OQ,z.getReorderSegments=YJ,z.getReorderedIndices=$Q,z.getReorderedString=_J,z.openingToClosingBracket=l,Object.defineProperty(z,"__esModule",{value:!0}),z}({});return K}return Q})});function RI(){if(FH===void 0)FH=process.platform==="win32"||typeof process.env.WT_SESSION==="string"||process.env.TERM_PROGRAM==="vscode";return FH}function II(){if(!HH)HH=qA.default();return HH}function jA(Q){if(!RI()||Q.length===0)return Q;let K=Q.map((Y)=>Y.value).join("");if(!TI(K))return Q;let z=II(),{levels:U}=z.getEmbeddingLevels(K,"auto"),H=[],F=0;for(let Y=0;Y<Q.length;Y++)H.push(U[F]),F+=Q[Y].value.length;let B=[...Q],W=Math.max(...H);for(let Y=W;Y>=1;Y--){let D=0;while(D<B.length)if(H[D]>=Y){let A=D+1;while(A<B.length&&H[A]>=Y)A++;kI(B,D,A-1),EI(H,D,A-1),D=A}else D++}return B}function kI(Q,K,z){while(K<z){let U=Q[K];Q[K]=Q[z],Q[z]=U,K++,z--}}function EI(Q,K,z){while(K<z){let U=Q[K];Q[K]=Q[z],Q[z]=U,K++,z--}}function TI(Q){return/[\u0590-\u05FF\uFB1D-\uFB4F\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF\u0780-\u07BF\u0700-\u074F]/u.test(Q)}var qA,HH,FH;var HA=h(()=>{qA=r(UA(),1)});function EX(Q){let K=0,z=0;while(z<=Q.length){let U=Q.indexOf(`
227
- `,z),H=U===-1?Q.substring(z):Q.substring(z,U);if(K=Math.max(K,xz(H)),U===-1)break;z=U+1}return K}var BH=h(()=>{p3()});function CI(Q,K){if(!Q)return K;return{x1:FA(Q.x1,K.x1),x2:BA(Q.x2,K.x2),y1:FA(Q.y1,K.y1),y2:BA(Q.y2,K.y2)}}function FA(Q,K){if(Q===void 0)return K;if(K===void 0)return Q;return Math.max(Q,K)}function BA(Q,K){if(Q===void 0)return K;if(K===void 0)return Q;return Math.min(Q,K)}class G5{width;height;stylePool;screen;operations=[];charCache=new Map;constructor(Q){let{width:K,height:z,stylePool:U,screen:H}=Q;this.width=K,this.height=z,this.stylePool=U,this.screen=H,kj(H,K,z)}reset(Q,K,z){if(this.width=Q,this.height=K,this.screen=z,this.operations.length=0,kj(z,Q,K),this.charCache.size>16384)this.charCache.clear()}blit(Q,K,z,U,H){this.operations.push({type:"blit",src:Q,x:K,y:z,width:U,height:H})}shift(Q,K,z){this.operations.push({type:"shift",top:Q,bottom:K,n:z})}clear(Q,K){this.operations.push({type:"clear",region:Q,fromAbsolute:K})}noSelect(Q){this.operations.push({type:"noSelect",region:Q})}write(Q,K,z,U){if(!z)return;this.operations.push({type:"write",x:Q,y:K,text:z,softWrap:U})}clip(Q){this.operations.push({type:"clip",clip:Q})}unclip(){this.operations.push({type:"unclip"})}get(){let Q=this.screen,K=this.width,z=this.height,U=0,H=0,F=[];for(let Y of this.operations){if(Y.type!=="clear")continue;let{x:D,y:A,width:N,height:M}=Y.region,L=Math.max(0,D),T=Math.max(0,A),_=Math.min(D+N,K),E=Math.min(A+M,z);if(L>=_||T>=E)continue;let C={x:L,y:T,width:_-L,height:E-T};if(Q.damage=Q.damage?h7(Q.damage,C):C,Y.fromAbsolute)F.push(C)}let B=[];for(let Y of this.operations)switch(Y.type){case"clear":continue;case"clip":B.push(CI(B.at(-1),Y.clip));continue;case"unclip":B.pop();continue;case"blit":{let{src:D,x:A,y:N,width:M,height:L}=Y,T=B.at(-1),_=Math.max(A,T?.x1??0),E=Math.max(N,T?.y1??0),C=Math.min(N+L,z,D.height,T?.y2??1/0),I=Math.min(A+M,K,D.width,T?.x2??1/0);if(_>=I||E>=C)continue;if(F.length===0){Ej(Q,D,_,E,I,C),U+=(C-E)*(I-_);continue}let g=E;for(let u=E;u<=C;u++)if(u<C&&F.some((m)=>u>=m.y&&u<m.y+m.height&&_>=m.x&&I<=m.x+m.width)||u===C){if(u>g)Ej(Q,D,_,g,I,u),U+=(u-g)*(I-_);g=u+1}continue}case"shift":{zX(Q,Y.top,Y.bottom,Y.n);continue}case"write":{let{text:D,softWrap:A}=Y,{x:N,y:M}=Y,L=D.split(`
228
- `),T=0,_=0,E=B.at(-1);if(E){let g=typeof E?.x1==="number"&&typeof E?.x2==="number",u=typeof E?.y1==="number"&&typeof E?.y2==="number";if(g){let l=EX(D);if(N+l<=E.x1||N>=E.x2)continue}if(u){let l=L.length;if(M+l<=E.y1||M>=E.y2)continue}if(g){if(L=L.map((l)=>{let m=N<E.x1?E.x1-N:0,s=xJ(l),y=N+s>E.x2?E.x2-N:s,S=l8(l,m,y);if(xJ(S)>y-m)S=l8(l,m,y-1);return S}),N<E.x1)N=E.x1}if(u){let l=M<E.y1?E.y1-M:0,m=L.length,s=M+m>E.y2?E.y2-M:m;if(A&&l>0&&A[l]===!0)_=N+xJ(L[l-1]);if(L=L.slice(l,s),T=l,M<E.y1)M=E.y1}}let C=Q.softWrap,I=0;for(let g of L){let u=M+I;if(u>=z)break;let l=fI(Q,g,N,u,K,this.stylePool,this.charCache);if(H+=l-N,A){let m=A[T+I]===!0;C[u]=m?_:0,_=l}I++}continue}}for(let Y of this.operations)if(Y.type==="noSelect"){let{x:D,y:A,width:N,height:M}=Y.region;gV(Q,D,A,N,M)}let W=U+H;if(W>1000&&H>U)gZ(`High write ratio: blit=${U}, write=${H} (${(H/W*100).toFixed(1)}% writes), screen=${z}x${K}`);return Q}}function xI(Q,K){if(Q===K)return!0;let z=Q.length;if(z!==K.length)return!1;if(z===0)return!0;for(let U=0;U<z;U++)if(Q[U].code!==K[U].code)return!1;return!0}function SI(Q,K){let z=Q.length;if(z===0)return[];let U=[],H=[],F=Q[0].styles;for(let B=0;B<z;B++){let W=Q[B],Y=W.styles;if(H.length>0&&!xI(Y,F))OA(H.join(""),F,K,U),H.length=0;H.push(W.value),F=Y}if(H.length>0)OA(H.join(""),F,K,U);return U}function OA(Q,K,z,U){let H=vV(K)??void 0,B=H!==void 0||K.some((Y)=>Y.code.length>=BK.length&&Y.code.startsWith(BK))?yV(K):K,W=z.intern(B);for(let{segment:Y}of TX().segment(Q))U.push({value:Y,width:xJ(Y),styleId:W,hyperlink:H})}function fI(Q,K,z,U,H,F,B){let W=B.get(K);if(!W)W=jA(SI(dY(uz(K)),F)),B.set(K,W);let Y=z;for(let D=0;D<W.length;D++){let A=W[D],N=A.value.codePointAt(0);if(N!==void 0&&N<=31){if(N===9){let _=8-Y%8;for(let E=0;E<_&&Y<H;E++)GX(Q,Y,U,{char:" ",styleId:F.none,width:0,hyperlink:void 0}),Y++}else if(N===27){let T=W[D+1]?.value,_=T?.codePointAt(0);if(T==="("||T===")"||T==="*"||T==="+")D+=2;else if(T==="["){D++;while(D<W.length-1){D++;let E=W[D]?.value.codePointAt(0);if(E!==void 0&&E>=64&&E<=126)break}}else if(T==="]"||T==="P"||T==="_"||T==="^"||T==="X"){D++;while(D<W.length-1){D++;let E=W[D]?.value;if(E==="\x07")break;if(E==="\x1B"){if(W[D+1]?.value==="\\"){D++;break}}}}else if(_!==void 0&&_>=48&&_<=126)D++}continue}let M=A.width;if(M===0)continue;let L=M>=2;if(L&&Y+2>H){GX(Q,Y,U,{char:" ",styleId:F.none,width:3,hyperlink:void 0}),Y++;continue}GX(Q,Y,U,{char:A.value,styleId:A.styleId,width:L?1:0,hyperlink:A.hyperlink}),Y+=L?2:1}return Y}var CX=h(()=>{e1();o8();WA();e3();HA();ez();n6();j4();BH()});function OH(Q,K=1,z={}){let{indent:U=" ",includeEmptyLines:H=!1}=z;if(typeof Q!=="string")throw TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof Q}\``);if(typeof K!=="number")throw TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof K}\``);if(K<0)throw RangeError(`Expected \`count\` to be at least 0, got \`${K}\``);if(typeof U!=="string")throw TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof U}\``);if(K===0)return Q;let F=H?/^/gm:/^(?!\s*$)/gm;return Q.replace(F,U.repeat(K))}var YA=()=>{};var bI=(Q)=>{return Q.getComputedWidth()-Q.getComputedPadding(h0.Left)-Q.getComputedPadding(h0.Right)-Q.getComputedBorder(h0.Left)-Q.getComputedBorder(h0.Right)},VA;var DA=h(()=>{p8();VA=bI});var AA=y6((jb,wI)=>{wI.exports={single:{topLeft:"┌",top:"─",topRight:"┐",right:"│",bottomRight:"┘",bottom:"─",bottomLeft:"└",left:"│"},double:{topLeft:"╔",top:"═",topRight:"╗",right:"║",bottomRight:"╝",bottom:"═",bottomLeft:"╚",left:"║"},round:{topLeft:"╭",top:"─",topRight:"╮",right:"│",bottomRight:"╯",bottom:"─",bottomLeft:"╰",left:"│"},bold:{topLeft:"┏",top:"━",topRight:"┓",right:"┃",bottomRight:"┛",bottom:"━",bottomLeft:"┗",left:"┃"},singleDouble:{topLeft:"╓",top:"─",topRight:"╖",right:"║",bottomRight:"╜",bottom:"─",bottomLeft:"╙",left:"║"},doubleSingle:{topLeft:"╒",top:"═",topRight:"╕",right:"│",bottomRight:"╛",bottom:"═",bottomLeft:"╘",left:"│"},classic:{topLeft:"+",top:"-",topRight:"+",right:"|",bottomRight:"+",bottom:"-",bottomLeft:"+",left:"|"},arrow:{topLeft:"↘",top:"↓",topRight:"↙",right:"←",bottomRight:"↖",bottom:"↑",bottomLeft:"↗",left:"→"}}});var MA=y6((Hb,WH)=>{var NA=AA();WH.exports=NA;WH.exports.default=NA});function yI(Q,K,z,U=0,H){let F=xJ(K),B=Q.length;if(F>=B-2)return["",K.substring(0,B),""];let W;if(z==="center")W=Math.floor((B-F)/2);else if(z==="start")W=U+1;else W=B-F-U-1;W=Math.max(1,Math.min(W,B-F-1));let Y=Q.substring(0,1)+H.repeat(W-1),D=H.repeat(B-W-F-1)+Q.substring(B-1);return[Y,K,D]}function R4(Q,K,z){let U=_z(Q,K);if(z)U=O0.dim(U);return U}function LA(Q,K,z,U,H){if(K.length===0)return R4(Q,U,H);let F=[];for(let Y of K){let D=xJ(Y.content);if(D>=Q.length-2){let[L,T,_]=yI(Q,Y.content,Y.align,Y.offset,z);return R4(L,U,H)+T+R4(_,U,H)}let A;if(Y.align==="center")A=Math.floor((Q.length-D)/2);else if(Y.align==="start")A=(Y.offset??0)+1;else A=Q.length-D-(Y.offset??0)-1;A=Math.max(1,Math.min(A,Q.length-D-1));let N=A+D;if(F.some((L)=>!(N<=L.start||A>=L.end)))continue;F.push({start:A,end:N,content:Y.content})}if(F.length===0)return R4(Q,U,H);F.sort((Y,D)=>Y.start-D.start);let B="",W=0;for(let Y of F){if(Y.start>W)B+=R4(Q.substring(W,Y.start),U,H);B+=Y.content,W=Y.end}if(W<Q.length)B+=R4(Q.substring(W),U,H);return B}function PA(Q,K){if(!Q)return[];return(Array.isArray(Q)?Q:[Q]).filter((U)=>U.position===K)}var _A,vI,gI=(Q,K,z,U)=>{if(z.style.borderStyle){let H=Math.floor(z.yogaNode.getComputedWidth()),F=Math.floor(z.yogaNode.getComputedHeight()),B=typeof z.style.borderStyle==="string"?vI[z.style.borderStyle]??_A.default[z.style.borderStyle]:z.style.borderStyle,W=z.style.borderTopColor??z.style.borderColor,Y=z.style.borderBottomColor??z.style.borderColor,D=z.style.borderLeftColor??z.style.borderColor,A=z.style.borderRightColor??z.style.borderColor,N=z.style.borderTopDimColor??z.style.borderDimColor,M=z.style.borderBottomDimColor??z.style.borderDimColor,L=z.style.borderLeftDimColor??z.style.borderDimColor,T=z.style.borderRightDimColor??z.style.borderDimColor,_=z.style.borderTop!==!1,E=z.style.borderBottom!==!1,C=z.style.borderLeft!==!1,I=z.style.borderRight!==!1,g=Math.max(0,H-(C?1:0)-(I?1:0)),u=_?(C?B.topLeft:"")+B.top.repeat(g)+(I?B.topRight:""):"",l;if(_){let i=PA(z.style.borderText,"top");l=LA(u,i,B.top,W,N)}let m=F;if(_)m-=1;if(E)m-=1;m=Math.max(0,m);let s=(_z(B.left,D)+`
229
- `).repeat(m);if(L)s=O0.dim(s);let y=(_z(B.right,A)+`
230
- `).repeat(m);if(T)y=O0.dim(y);let S=E?(C?B.bottomLeft:"")+B.bottom.repeat(g)+(I?B.bottomRight:""):"",o;if(E){let i=PA(z.style.borderText,"bottom");o=LA(S,i,B.bottom,Y,M)}let d=_?1:0;if(l)U.write(Q,K,l);if(C)U.write(Q,K+d,s);if(I)U.write(Q+H-1,K+d,y);if(o)U.write(Q,K+F-1,o)}},$A;var RA=h(()=>{C3();d1();j4();_A=r(MA(),1),vI={dashed:{top:"╌",left:"╎",right:"╎",bottom:"╌",topLeft:" ",topRight:" ",bottomLeft:" ",bottomRight:" "}};$A=gI});function mI(){return process.env.TERM_PROGRAM==="vscode"||VX()}function NH(){I4=!1}function CA(){return I4}function xA(){xX=null,DH=IK,IK=[]}function SA(){return xX}function fA(){MH=null}function bA(){return MH}function wA(){let Q=AH;return AH=null,Q}function lI(Q,K,z){let U=K>0?1:-1,H=Math.abs(K),F=0;if(H>YH)F+=U*(H-YH),H=YH;let B=H<=hI?H:H<pI?cI:dI;F+=U*B;let W=H-B,Y=Math.max(1,z-1),D=Math.abs(F);if(D>Y){let A=D-Y;return Q.pendingScrollDelta=U*(W+A),U*Y}return Q.pendingScrollDelta=W>0?U*W:void 0,F}function aI(Q,K,z){let U=Math.abs(K),H=Math.max(1,z-1),F=Math.min(H,Math.max(uI,U*3>>2));if(U<=F)return Q.pendingScrollDelta=void 0,K;let B=K>0?F:-F;return Q.pendingScrollDelta=K-B,B}function SX(Q,K){return`${IA}8;;${K}${kA}${Q}${IA}8;;${kA}`}function iI(Q){let K=[];for(let z=0;z<Q.length;z++){let U=Q[z].text.length;for(let H=0;H<U;H++)K.push(z)}return K}function nI(Q,K,z,U,H=!1){let F=Q.split(`
231
- `),B=[],W=0;for(let Y=0;Y<F.length;Y++){let D=F[Y];if(H&&D.length>0){let _=/\s/.test(D[0]);if(W<U.length&&/\s/.test(U[W])&&!_)while(W<U.length&&/\s/.test(U[W]))W++}let A="",N=0,M=z[W]??0;for(let _=0;_<D.length;_++){let E=z[W]??M;if(E!==M){let C=D.slice(N,_),I=K[M];if(I){let g=G4(C,I.styles);if(I.hyperlink)g=SX(g,I.hyperlink);A+=g}else A+=C;N=_,M=E}W++}let L=D.slice(N),T=K[M];if(T){let _=G4(L,T.styles);if(T.hyperlink)_=SX(_,T.hyperlink);A+=_}else A+=L;if(B.push(A),W<U.length&&U[W]===`
232
- `)W++;if(H&&Y<F.length-1){let _=F[Y+1],E=_.length>0?_[0]:null;while(W<U.length&&/\s/.test(U[W])){if(E!==null&&U[W]===E)break;W++}}}return B.join(`
233
- `)}function EA(Q,K,z){if(z!=="wrap"&&z!=="wrap-trim")return{wrapped:i8(Q,K,z),softWrap:void 0};let U=Q.split(`
234
- `),H=[],F=[];for(let B of U){let W=i8(B,K,z).split(`
235
- `);for(let Y=0;Y<W.length;Y++)H.push(W[Y]),F.push(Y>0)}return{wrapped:H.join(`
236
- `),softWrap:F}}function sI(Q,K,z){let U=Q.childNodes[0]?.yogaNode;if(U){let H=U.getComputedLeft(),F=U.getComputedTop();if(K=`
237
- `.repeat(F)+OH(K,H),z&&F>0)z.unshift(...Array(F).fill(!1))}return K}function RK(Q){return Boolean(Q&&Q.nodeName!=="#text")}function vA(Q){if(!Q||typeof Q!=="object")return!1;let K=Q;return K.nodeName!==void 0&&K.nodeName!=="#text"&&K.style!==void 0&&typeof K.style==="object"&&typeof K.dirty==="boolean"&&Array.isArray(K.childNodes)}function fX(Q,K,{offsetX:z=0,offsetY:U=0,prevScreen:H,skipSelfBlit:F=!1,inheritedBackgroundColor:B}){let{yogaNode:W}=Q;if(W){if(W.getDisplay()===hQ.None){if(Q.dirty){let I=rZ.get(Q);if(I)K.clear({x:Math.floor(I.x),y:Math.floor(I.y),width:Math.floor(I.width),height:Math.floor(I.height)}),LH(Q),I4=!0}return}let Y=z+W.getComputedLeft(),D=W.getComputedTop(),A=U+D,N=W.getComputedWidth(),M=W.getComputedHeight();if(A<0&&Q.style.position==="absolute")A=0;let L=rZ.get(Q);if(!Q.dirty&&!F&&Q.pendingScrollDelta===void 0&&L&&L.x===Y&&L.y===A&&L.width===N&&L.height===M&&H){let I=Math.floor(Y),g=Math.floor(A),u=Math.floor(N),l=Math.floor(M);if(K.blit(H,I,g,u,l),Q.style.position==="absolute")IK.push(L);yA(Q,K,H,I,g,u,l);return}let T=L!==void 0&&(L.x!==Y||L.y!==A||L.width!==N||L.height!==M);if(T)I4=!0;if(L&&(Q.dirty||T))K.clear({x:Math.floor(L.x),y:Math.floor(L.y),width:Math.floor(L.width),height:Math.floor(L.height)},Q.style.position==="absolute");let _=r1.get(Q),E=_!==void 0;if(E){I4=!0;for(let I of _)K.clear({x:Math.floor(I.x),y:Math.floor(I.y),width:Math.floor(I.width),height:Math.floor(I.height)});r1.delete(Q)}if(M===0&&rI(Q,W)){rZ.set(Q,{x:Y,y:A,width:N,height:M,top:D}),Q.dirty=!1;return}if(Q.nodeName==="ink-raw-ansi"){let I=Q.attributes.rawText;if(I)K.write(Y,A,I)}else if(Q.nodeName==="ink-text"){let I=fz(Q,B?{backgroundColor:B}:void 0),g=I.map((u)=>u.text).join("");if(g.length>0){let u=Math.min(VA(W),K.width-Y),l=Q.style.textWrap??"wrap",m=EX(g)>u,s,y;if(m&&I.length===1){let S=I[0],o=EA(g,u,l);y=o.softWrap,s=o.wrapped.split(`
238
- `).map((d)=>{let i=G4(d,S.styles);if(S.hyperlink)i=SX(i,S.hyperlink);return i}).join(`
239
- `)}else if(m){let S=EA(g,u,l);y=S.softWrap;let o=iI(I);s=nI(S.wrapped,I,o,g,l==="wrap-trim")}else s=I.map((S)=>{let o=G4(S.text,S.styles);if(S.hyperlink)o=SX(o,S.hyperlink);return o}).join("");s=sI(Q,s,y),K.write(Y,A,s,y)}}else if(Q.nodeName==="ink-box"){let I=Q.style.backgroundColor??B;if(Q.style.noSelect){let d=Math.floor(Y),i=Q.style.noSelect==="from-left-edge";K.noSelect({x:i?0:d,y:Math.floor(A),width:i?d+Math.floor(N):Math.floor(N),height:Math.floor(M)})}let g=Q.style.overflowX??Q.style.overflow,u=Q.style.overflowY??Q.style.overflow,l=g==="hidden"||g==="scroll",m=u==="hidden"||u==="scroll",s=u==="scroll",y=l||m,S,o;if(y){let d=l?Y+W.getComputedBorder(h0.Left):void 0,i=l?Y+W.getComputedWidth()-W.getComputedBorder(h0.Right):void 0;S=m?A+W.getComputedBorder(h0.Top):void 0,o=m?A+W.getComputedHeight()-W.getComputedBorder(h0.Bottom):void 0,K.clip({x1:d,x2:i,y1:S,y2:o})}if(s){let d=W.getComputedPadding(h0.Top),i=Math.max(0,(o??A+M)-(S??A)-d-W.getComputedPadding(h0.Bottom)),Z0=Q.childNodes.find((EZ)=>RK(EZ)&&EZ.yogaNode!==void 0),Q0=Z0?.yogaNode,a=Q0?.getComputedHeight()??0,G0=Q.scrollHeight??a,z0=Q.scrollViewportHeight??i;Q.scrollHeight=a,Q.scrollViewportHeight=i,Q.scrollViewportTop=(S??A)+d;let w0=Math.max(0,a-i);if(Q.scrollAnchor){let EZ=Q.scrollAnchor.el.yogaNode?.getComputedTop();if(EZ!=null)Q.scrollTop=EZ+Q.scrollAnchor.offset,Q.pendingScrollDelta=void 0;Q.scrollAnchor=void 0}let C0=Q.scrollTop??0,PZ=Q.stickyScroll??Boolean(Q.attributes.stickyScroll),_Z=Math.max(0,G0-z0),WJ=a>=G0;if((PZ||WJ&&C0>=_Z)&&(Q.pendingScrollDelta??0)>=0){if(Q.scrollTop=w0,Q.pendingScrollDelta=void 0,Q.stickyScroll===!1&&C0>=_Z)Q.stickyScroll=!0}let kZ=(Q.scrollTop??0)-C0;if(kZ>0){let EZ=Q.scrollViewportTop??0;AH={delta:kZ,viewportTop:EZ,viewportBottom:EZ+i-1}}let XJ=Q.scrollTop??0,oJ=Q.pendingScrollDelta,PJ=Q.scrollClampMin,GZ=Q.scrollClampMax,bJ=PJ!==void 0&&GZ!==void 0;if(oJ!==void 0&&oJ!==0){let qZ=bJ&&(oJ<0&&XJ<PJ||oJ>0&&XJ>GZ)?Math.min(4,i>>3):i;XJ+=mI()?lI(Q,oJ,qZ):aI(Q,oJ,qZ)}else if(oJ===0)Q.pendingScrollDelta=void 0;let y0=Math.max(0,Math.min(XJ,w0)),w9=bJ?Math.max(PJ,Math.min(y0,GZ)):y0;if(Q.scrollTop=y0,y0!==XJ)Q.pendingScrollDelta=void 0;if(Q.pendingScrollDelta!==void 0)MH=Q;if(y0=w9,Z0&&Q0){let EZ=Y+Q0.getComputedLeft(),qZ=A+Q0.getComputedTop()-y0,AZ=rZ.get(Z0),OQ=null;if(AZ&&AZ.y!==qZ){let $0=AZ.y-qZ,V0=Math.floor(A+Q0.getComputedTop()),t=V0+i-1;if(L?.y===A&&L.height===M&&i>0&&Math.abs($0)<i)OQ={top:V0,bottom:t,delta:$0},xX=OQ;else I4=!0}let YJ=Q0.getComputedHeight(),_J=AZ?.height??YJ,$Q=YJ-_J,X0=!OQ||$Q===0||OQ.delta>0&&$Q===OQ.delta;if(!X0)xX=null;if(OQ&&H&&X0){let{top:$0,bottom:V0,delta:t}=OQ,i0=Math.floor(N);K.blit(H,Math.floor(Y),$0,i0,V0-$0+1),K.shift($0,V0,t);let U0=t>0?V0-t+1:$0,B0=t>0?V0:$0-t-1;K.clear({x:Math.floor(Y),y:U0,width:i0,height:B0-U0+1}),K.clip({x1:void 0,x2:void 0,y1:U0,y2:B0+1});let W0=Z0.dirty?new Set(Z0.childNodes.filter((r0)=>RK(r0)&&r0.dirty)):null;if(VH(Z0,K,EZ,qZ,E,void 0,U0-qZ,B0+1-qZ,I,!0),K.unclip(),W0){let r0=U0-qZ,E0=B0+1-qZ,n0=" ".repeat(i0),dZ=0;for(let UJ of Z0.childNodes){if(!RK(UJ))continue;let JZ=UJ,VJ=W0.has(UJ);if(!VJ&&dZ===0){if(rZ.has(JZ))continue}let d0=JZ.yogaNode;if(!d0)continue;let e=d0.getComputedTop(),x0=d0.getComputedHeight(),j0=e+x0;if(VJ){let P0=rZ.get(JZ);dZ+=x0-(P0?P0.height:0)}if(j0<=y0||e>=y0+i)continue;if(e>=r0&&j0<=E0)continue;let KZ=Math.floor(qZ+e);if(!VJ){let P0=rZ.get(JZ);if(P0&&Math.floor(P0.y)-t===KZ)continue}let g0=Math.min(Math.floor(qZ+j0),Math.floor((S??A)+d+i));if(KZ<g0){let P0=Array(g0-KZ).fill(n0).join(`
240
- `);K.write(Math.floor(Y),KZ,P0),K.clip({x1:void 0,x2:void 0,y1:KZ,y2:g0}),fX(JZ,K,{offsetX:EZ,offsetY:qZ,prevScreen:void 0,inheritedBackgroundColor:I}),K.unclip()}}}let TZ=DH.length?" ".repeat(i0):"";for(let r0 of DH){if(r0.y>=V0+1||r0.y+r0.height<=$0)continue;let E0=Math.max($0,Math.floor(r0.y)-t),n0=Math.min(V0+1,Math.floor(r0.y+r0.height)-t);if(E0>=U0&&n0<=B0+1)continue;if(E0>=n0)continue;let dZ=Array(n0-E0).fill(TZ).join(`
241
- `);K.write(Math.floor(Y),E0,dZ),K.clip({x1:void 0,x2:void 0,y1:E0,y2:n0}),VH(Z0,K,EZ,qZ,E,void 0,E0-qZ,n0-qZ,I,!0),K.unclip()}}else{let $0=AZ&&AZ.y!==qZ;if($0&&S!==void 0&&o!==void 0)K.clear({x:Math.floor(Y),y:Math.floor(S),width:Math.floor(N),height:Math.floor(o-S)});VH(Z0,K,EZ,qZ,E,$0||T?void 0:H,y0,y0+i,I)}rZ.set(Z0,{x:EZ,y:qZ,width:Q0.getComputedWidth(),height:Q0.getComputedHeight()}),Z0.dirty=!1}}else{let d=Q.style.backgroundColor;if(d||Q.style.opaque){let i=W.getComputedBorder(h0.Left),Z0=W.getComputedBorder(h0.Right),Q0=W.getComputedBorder(h0.Top),a=W.getComputedBorder(h0.Bottom),G0=Math.floor(N)-i-Z0,z0=Math.floor(M)-Q0-a;if(G0>0&&z0>0){let w0=" ".repeat(G0),C0=d?G4(w0,{backgroundColor:d}):w0,PZ=Array(z0).fill(C0).join(`
242
- `);K.write(Y+i,A+Q0,PZ)}}TA(Q,K,Y,A,E,d||Q.style.opaque?void 0:H,I)}if(y)K.unclip();$A(Y,A,Q,K)}else if(Q.nodeName==="ink-root")TA(Q,K,Y,A,E,H,B);let C={x:Y,y:A,width:N,height:M,top:D};if(rZ.set(Q,C),Q.style.position==="absolute")IK.push(C);Q.dirty=!1}}function TA(Q,K,z,U,H,F,B){let W=!1,Y=!1;for(let D of Q.childNodes){if(!vA(D))continue;let A=D,N=A.dirty,M=A.style.position==="absolute";if(fX(A,K,{offsetX:z,offsetY:U,prevScreen:H||W?void 0:F,skipSelfBlit:Y&&M&&!A.style.opaque&&A.style.backgroundColor===void 0,inheritedBackgroundColor:B}),N&&!W)if(!oI(A)||M)W=!0;else Y=!0}}function oI(Q){let K=Q.style.overflowX??Q.style.overflow,z=Q.style.overflowY??Q.style.overflow;return(K==="hidden"||K==="scroll")&&(z==="hidden"||z==="scroll")}function rI(Q,K){let z=Q.parentNode;if(!z)return!1;let U=K.getComputedTop(),H=z.childNodes,F=H.indexOf(Q);for(let B=F+1;B<H.length;B++){let W=H[B];if(!RK(W))continue;let Y=W.yogaNode;if(!Y)continue;return Y.getComputedTop()===U}for(let B=F-1;B>=0;B--){let W=H[B];if(!RK(W))continue;let Y=W.yogaNode;if(!Y)continue;return Y.getComputedTop()===U}return!1}function yA(Q,K,z,U,H,F,B){let W=U+F,Y=H+B;for(let D of Q.childNodes){if(D.nodeName==="#text")continue;let A=D;if(A.style.position==="absolute"){let N=rZ.get(A);if(N){IK.push(N);let M=Math.floor(N.x),L=Math.floor(N.y),T=Math.floor(N.width),_=Math.floor(N.height);if(M<U||L<H||M+T>W||L+_>Y)K.blit(z,M,L,T,_)}}yA(A,K,z,U,H,F,B)}}function VH(Q,K,z,U,H,F,B,W,Y,D=!1){let A=!1,N=0;for(let M of Q.childNodes){if(!vA(M))continue;let L=M,T=L.yogaNode;if(T){let E=rZ.get(L),C,I;if(E?.top!==void 0&&!L.dirty&&N===0)C=E.top,I=E.height;else{if(C=T.getComputedTop(),I=T.getComputedHeight(),L.dirty)N+=I-(E?E.height:0);if(E)E.top=C}if(C+I<=B||C>=W){if(!D)LH(L);continue}}let _=L.dirty;if(fX(L,K,{offsetX:z,offsetY:U,prevScreen:H||A?void 0:F,inheritedBackgroundColor:Y}),_)A=!0}}function LH(Q){rZ.delete(Q);for(let K of Q.childNodes)if(K.nodeName!=="#text")LH(K)}var I4=!1,xX=null,DH,IK,MH=null,AH=null,uI=4,hI=5,pI=12,cI=2,dI=3,YH=30,IA="\x1B]",kA="\x07",kK;var bX=h(()=>{YA();d1();DA();p8();H4();RA();l3();LK();BH();lz();DH=[],IK=[];kK=fX});function gA(Q,K){let z=K.toLowerCase();if(!z)return[];let U=z.length,H=Q.width,F=Q.height,B=Q.noSelect,W=[],Y=performance.now();for(let D=0;D<F;D++){let A=D*H,N="",M=[],L=[];for(let _=0;_<H;_++){let E=A+_,C=i6(Q,E);if(C.width===2||C.width===3||B[E]===1)continue;let I=C.char.toLowerCase(),g=M.length;for(let u=0;u<I.length;u++)L.push(g);N+=I,M.push(_)}let T=N.indexOf(z);while(T>=0){let _=L[T],E=L[T+U-1],C=M[_],I=M[E]+1;W.push({row:D,col:C,len:I-C}),T=N.indexOf(z,T+U)}}return eI.scan+=performance.now()-Y,W}function mA(Q,K,z,U,H){if(H<0||H>=z.length)return!1;let F=z[H],B=F.row+U;if(B<0||B>=Q.height)return!1;let W=(D)=>K.withCurrentMatch(D),Y=B*Q.width;for(let D=F.col;D<F.col+F.len;D++){if(D<0||D>=Q.width)continue;let A=i6(Q,Y+D);V4(Q,D,B,W(A.styleId))}return!0}var tI,eI;var uA=h(()=>{o8();KK();XK();CX();tz();bX();n6();tI=r(Wz(),1),eI={reconcile:0,yoga:0,paint:0,scan:0,calls:0}});function PH(Q,K){let z;return(U)=>{let{frontFrame:H,backFrame:F,isTTY:B,terminalWidth:W,terminalRows:Y}=U,D=H.screen,A=F.screen,N=A.charPool,M=A.hyperlinkPool,L=Q.yogaNode?.getComputedHeight(),T=Q.yogaNode?.getComputedWidth(),_=L===void 0||!Number.isFinite(L)||L<0,E=T===void 0||!Number.isFinite(T)||T<0;if(!Q.yogaNode||_||E){if(Q.yogaNode&&(_||E))gZ(`Invalid yoga dimensions: width=${T}, height=${L}, childNodes=${Q.childNodes.length}, terminalWidth=${W}, terminalRows=${Y}`);return{screen:a6(W,0,K,N,M),viewport:{width:W,height:Y},cursor:{x:0,y:0,visible:!0}}}let C=Math.floor(Q.yogaNode.getComputedWidth()),I=Math.floor(Q.yogaNode.getComputedHeight()),g=U.altScreen?Y:I;if(U.altScreen&&I>Y)gZ(`alt-screen: yoga height ${I} > terminalRows ${Y} — `+"something is rendering outside <AlternateScreen>. Overflow clipped.",{level:"warn"});let u=A??a6(C,g,K,N,M);if(z)z.reset(C,g,u);else z=new G5({width:C,height:g,stylePool:K,screen:u});NH(),xA(),fA();let l=_Y();kK(Q,z,{prevScreen:l||U.prevFrameContaminated?void 0:D});let m=z.get(),s=bA();if(s)BQ(s);return{scrollHint:U.altScreen?SA():null,scrollDrainPending:s!==null,screen:m,viewport:{width:W,height:U.altScreen?Y+1:Y},cursor:{x:0,y:U.altScreen?Math.max(0,Math.min(u.height,Y)-1):u.height,visible:!B||u.height===0}}}}var hA=h(()=>{o8();KK();H4();CX();bX();n6()});function pA(Q,K,z){if(!K)return!1;let U=K.toLowerCase(),H=U.length,F=Q.width,B=Q.noSelect,W=Q.height,Y=!1;for(let D=0;D<W;D++){let A=D*F,N="",M=[],L=[];for(let _=0;_<F;_++){let E=A+_,C=i6(Q,E);if(C.width===2||C.width===3||B[E]===1)continue;let I=C.char.toLowerCase(),g=M.length;for(let u=0;u<I.length;u++)L.push(g);N+=I,M.push(_)}let T=N.indexOf(U);while(T>=0){Y=!0;let _=L[T],E=L[T+H-1];for(let C=_;C<=E;C++){let I=M[C],g=i6(Q,A+I);V4(Q,I,D,z.withInverse(g.styleId))}T=N.indexOf(U,T+H)}}return Y}var cA=h(()=>{n6()});function ab(){let Q=j9.useContext(k4);if(!Q)throw Error("useTerminalNotification must be used within TerminalWriteProvider");let K=j9.useCallback(({message:B,title:W})=>{let Y=W?`${W}:
243
- ${B}`:B;Q(sJ(OJ(IZ.ITERM2,`
244
-
245
- ${Y}`)))},[Q]),z=j9.useCallback(({message:B,title:W,id:Y})=>{Q(sJ(OJ(IZ.KITTY,`i=${Y}:d=0:p=title`,W))),Q(sJ(OJ(IZ.KITTY,`i=${Y}:p=body`,B))),Q(sJ(OJ(IZ.KITTY,`i=${Y}:d=1:a=focus`,"")))},[Q]),U=j9.useCallback(({message:B,title:W})=>{Q(sJ(OJ(IZ.GHOSTTY,"notify",W,B)))},[Q]),H=j9.useCallback(()=>{Q(Z6)},[Q]),F=j9.useCallback((B,W)=>{if(!BD())return;if(!B){Q(sJ(OJ(IZ.ITERM2,e8.PROGRESS,Z5.CLEAR,"")));return}let Y=Math.max(0,Math.min(100,Math.round(W??0)));switch(B){case"completed":Q(sJ(OJ(IZ.ITERM2,e8.PROGRESS,Z5.CLEAR,"")));break;case"error":Q(sJ(OJ(IZ.ITERM2,e8.PROGRESS,Z5.ERROR,Y)));break;case"indeterminate":Q(sJ(OJ(IZ.ITERM2,e8.PROGRESS,Z5.INDETERMINATE,"")));break;case"running":Q(sJ(OJ(IZ.ITERM2,e8.PROGRESS,Z5.SET,Y)));break;case null:break}},[Q]);return j9.useMemo(()=>({notifyITerm2:K,notifyKitty:z,notifyGhostty:U,notifyBell:H,progress:F}),[K,z,U,H,F])}var j9,k4,dA;var wX=h(()=>{LK();y8();G6();j9=r(WZ(),1),k4=j9.createContext(null),dA=k4.Provider});import{closeSync as Jk,constants as lA,openSync as Qk,readSync as Kk,writeSync as r6}from"fs";import{format as aA}from"util";function iA(Q){return Object.freeze({type:"stdout",content:b3(Q,1)})}class EK{options;log;terminal;scheduleRender;isUnmounted=!1;isPaused=!1;container;rootNode;focusManager;renderer;stylePool;charPool;hyperlinkPool;exitPromise;restoreConsole;restoreStderr;unsubscribeTTYHandlers;terminalColumns;terminalRows;currentNode=null;frontFrame;backFrame;lastPoolResetTime=performance.now();drainTimer=null;lastYogaCounters={ms:0,visited:0,measured:0,cacheHits:0,live:0};altScreenParkPatch;selection=mV();searchHighlightQuery="";searchPositions=null;selectionListeners=new Set;hoveredNodes=new Set;altScreenActive=!1;altScreenMouseTracking=!1;prevFrameContaminated=!1;needsEraseBeforePaint=!1;cursorDeclaration=null;displayCursor=null;reportRenderError=(Q,K)=>{let z=K instanceof Error?`${K.name}: ${K.message}`:String(K);gZ(`[Ink:${Q}] ${z}`,{level:"error"}),d6(K);try{this.options.stderr.write(`[Ink:${Q}] ${z}
246
- `)}catch{}};constructor(Q){this.options=Q;if(D3(this),this.options.patchConsole)this.restoreConsole=this.patchConsole(),this.restoreStderr=this.patchStderr();this.terminal={stdout:Q.stdout,stderr:Q.stderr},this.terminalColumns=Q.stdout.columns||80,this.terminalRows=Q.stdout.rows||24,this.altScreenParkPatch=iA(this.terminalRows),this.stylePool=new QX,this.charPool=new jK,this.hyperlinkPool=new HK,this.frontFrame=l7(this.terminalRows,this.terminalColumns,this.stylePool,this.charPool,this.hyperlinkPool),this.backFrame=l7(this.terminalRows,this.terminalColumns,this.stylePool,this.charPool,this.hyperlinkPool),this.log=new zH({isTTY:Q.stdout.isTTY||!1,stylePool:this.stylePool});let K=()=>queueMicrotask(this.onRender);if(this.scheduleRender=RW(K,J5,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.unsubscribeExit=sA(this.unmount,{alwaysLast:!1}),Q.stdout.isTTY)Q.stdout.on("resize",this.handleResize),process.on("SIGCONT",this.handleResume),this.unsubscribeTTYHandlers=()=>{Q.stdout.off("resize",this.handleResize),process.off("SIGCONT",this.handleResume)};this.rootNode=ZK("ink-root"),this.focusManager=new zK((z,U)=>l6.dispatchDiscrete(z,U)),this.rootNode.focusManager=this.focusManager,this.renderer=PH(this.rootNode,this.stylePool),this.rootNode.onRender=this.scheduleRender,this.rootNode.onImmediateRender=this.onRender,this.rootNode.onComputeLayout=()=>{if(this.isUnmounted)return;if(this.rootNode.yogaNode){let z=performance.now();this.rootNode.yogaNode.setWidth(this.terminalColumns),this.rootNode.yogaNode.calculateLayout(this.terminalColumns);let U=performance.now()-z;RV(U);let H=Lz();this.lastYogaCounters={ms:U,...H}}},this.container=Q6.createContainer(this.rootNode,oA.LegacyRoot,null,!1,null,"id",Bz,(z)=>{this.reportRenderError("uncaught",z)},(z)=>{this.reportRenderError("caught",z)},(z)=>{this.reportRenderError("recoverable",z)})}handleResume=()=>{if(!this.options.stdout.isTTY)return;if(this.altScreenActive){this.reenterAltScreen();return}this.frontFrame=l7(this.frontFrame.viewport.height,this.frontFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.backFrame=l7(this.backFrame.viewport.height,this.backFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.log.reset(),this.displayCursor=null};handleResize=()=>{let Q=this.options.stdout.columns||80,K=this.options.stdout.rows||24;if(Q===this.terminalColumns&&K===this.terminalRows)return;if(this.terminalColumns=Q,this.terminalRows=K,this.altScreenParkPatch=iA(this.terminalRows),this.altScreenActive&&!this.isPaused&&this.options.stdout.isTTY){if(this.altScreenMouseTracking)this.options.stdout.write(DK);this.resetFramesForAltScreen(),this.needsEraseBeforePaint=!0}if(this.currentNode!==null)this.render(this.currentNode)};resolveExitPromise=()=>{};rejectExitPromise=()=>{};unsubscribeExit=()=>{};enterAlternateScreen(){this.pause(),this.suspendStdin(),this.options.stdout.write(m8+i1+(this.altScreenMouseTracking?AK:"")+(this.altScreenActive?"":"\x1B[?1049h")+"\x1B[?1004l\x1B[0m\x1B[?25h\x1B[2J\x1B[H")}exitAlternateScreen(){if(this.options.stdout.write((this.altScreenActive?vj:"")+"\x1B[2J\x1B[H"+(this.altScreenMouseTracking?DK:"")+(this.altScreenActive?"":"\x1B[?1049l")+"\x1B[?25l"),this.resumeStdin(),this.altScreenActive)this.resetFramesForAltScreen();else this.repaint();this.resume(),this.options.stdout.write("\x1B[?1004h"+(MK()?m8+l1+a1:""))}onRender(){if(this.isUnmounted||this.isPaused)return;if(this.drainTimer!==null)clearTimeout(this.drainTimer),this.drainTimer=null;nA();let Q=performance.now(),K=this.options.stdout.columns||80,z=this.options.stdout.rows||24,U=this.renderer({frontFrame:this.frontFrame,backFrame:this.backFrame,isTTY:this.options.stdout.isTTY,terminalWidth:K,terminalRows:z,altScreen:this.altScreenActive,prevFrameContaminated:this.prevFrameContaminated}),H=performance.now()-Q,F=wA();if(F&&this.selection.anchor&&this.selection.anchor.row>=F.viewportTop&&this.selection.anchor.row<=F.viewportBottom){let{delta:Z0,viewportTop:Q0,viewportBottom:a}=F;if(this.selection.isDragging){if(q9(this.selection))jX(this.selection,this.frontFrame.screen,Q0,Q0+Z0-1,"above");qX(this.selection,-Z0,Q0,a)}else if(!this.selection.focus||this.selection.focus.row>=Q0&&this.selection.focus.row<=a){if(q9(this.selection))jX(this.selection,this.frontFrame.screen,Q0,Q0+Z0-1,"above");if(nV(this.selection,-Z0,Q0,a))for(let z0 of this.selectionListeners)z0()}}let B=!1,W=!1;if(this.altScreenActive){if(B=q9(this.selection),B)rV(U.screen,this.selection,this.stylePool);if(W=pA(U.screen,this.searchHighlightQuery,this.stylePool),this.searchPositions){let Z0=this.searchPositions,Q0=mA(U.screen,this.stylePool,Z0.positions,Z0.rowOffset,Z0.currentIdx);W=W||Q0}}if(CA()||B||W||this.prevFrameContaminated)U.screen.damage={x:0,y:0,width:U.screen.width,height:U.screen.height};let Y=this.frontFrame;if(this.altScreenActive)Y={...this.frontFrame,cursor:Gk};let D=performance.now(),A=!this.altScreenActive&&VD(),N=this.log.render(Y,U,this.altScreenActive,uj,A),M=performance.now()-D;if(this.backFrame=this.frontFrame,this.frontFrame=U,Q-this.lastPoolResetTime>300000)this.resetPools(),this.lastPoolResetTime=Q;let L=[];for(let Z0 of N)if(Z0.type==="clearTerminal"){if(L.push({desiredHeight:U.screen.height,availableHeight:U.viewport.height,reason:Z0.reason}),_j()&&Z0.debug){let Q0=BV(this.rootNode,Z0.debug.triggerY);gZ(`[REPAINT] full reset · ${Z0.reason} · row ${Z0.debug.triggerY}
247
- prev: "${Z0.debug.prevLine}"
248
- next: "${Z0.debug.nextLine}"
249
- culprit: ${Q0.length?Q0.join(" < "):"(no owner chain captured)"}`,{level:"warn"})}}let T=performance.now(),_=UH(N),E=performance.now()-T,C=_.length>0;if(this.altScreenActive&&C){if(this.needsEraseBeforePaint)this.needsEraseBeforePaint=!1,_.unshift(Xk);else _.unshift(zk);_.push(this.altScreenParkPatch)}let I=this.cursorDeclaration,g=I!==null?rZ.get(I.node):void 0,u=I!==null&&g!==void 0?{x:g.x+I.relativeX,y:g.y+I.relativeY}:null,l=this.displayCursor,m=u!==null&&(l===null||l.x!==u.x||l.y!==u.y);if(C||m||u===null&&l!==null){if(l!==null&&!this.altScreenActive&&C){let Z0=Y.cursor.x-l.x,Q0=Y.cursor.y-l.y;if(Z0!==0||Q0!==0)_.unshift({type:"stdout",content:X4(Z0,Q0)})}if(u!==null){if(this.altScreenActive){let Z0=Math.min(Math.max(u.y+1,1),z),Q0=Math.min(Math.max(u.x+1,1),K);_.push({type:"stdout",content:b3(Z0,Q0)})}else{let Z0=!C&&l!==null?l:{x:U.cursor.x,y:U.cursor.y},Q0=u.x-Z0.x,a=u.y-Z0.y;if(Q0!==0||a!==0)_.push({type:"stdout",content:X4(Q0,a)})}this.displayCursor=u}else{if(l!==null&&!this.altScreenActive&&!C){let Z0=U.cursor.x-l.x,Q0=U.cursor.y-l.y;if(Z0!==0||Q0!==0)_.push({type:"stdout",content:X4(Z0,Q0)})}this.displayCursor=null}}let s=performance.now(),y=this.altScreenActive?!uj:A||YD();hj(this.terminal,_,y);let S=performance.now()-s;if(this.prevFrameContaminated=B||W,U.scrollDrainPending)this.drainTimer=setTimeout(()=>this.onRender(),J5>>2);let o=IV(),d=kV(),i=this.lastYogaCounters;EV(),this.lastYogaCounters={ms:0,visited:0,measured:0,cacheHits:0,live:0},this.options.onFrame?.({durationMs:performance.now()-Q,phases:{renderer:H,diff:M,optimize:E,write:S,patches:N.length,yoga:o,commit:d,yogaVisited:i.visited,yogaMeasured:i.measured,yogaCacheHits:i.cacheHits,yogaLive:i.live},flickers:L})}pause(){Q6.flushSyncFromReconciler(),this.onRender(),this.isPaused=!0}resume(){this.isPaused=!1,this.onRender()}repaint(){this.frontFrame=l7(this.frontFrame.viewport.height,this.frontFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.backFrame=l7(this.backFrame.viewport.height,this.backFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.log.reset(),this.displayCursor=null}forceRedraw(){if(!this.options.stdout.isTTY||this.isUnmounted||this.isPaused)return;if(this.options.stdout.write(g8+p6),this.altScreenActive)this.resetFramesForAltScreen();else this.repaint(),this.prevFrameContaminated=!0;this.onRender()}invalidatePrevFrame(){this.prevFrameContaminated=!0}setAltScreenActive(Q,K=!1){if(this.altScreenActive===Q)return;if(this.altScreenActive=Q,this.altScreenMouseTracking=Q&&K,Q)this.resetFramesForAltScreen();else this.repaint()}get isAltScreenActive(){return this.altScreenActive}reassertTerminalModes=(Q=!1)=>{if(!this.options.stdout.isTTY)return;if(this.isPaused)return;if(MK())this.options.stdout.write(m8+l1+a1);if(!this.altScreenActive)return;if(this.altScreenMouseTracking)this.options.stdout.write(DK);if(Q)this.reenterAltScreen()};detachForShutdown(){this.isUnmounted=!0,this.scheduleRender.cancel?.();let Q=this.options.stdin;if(this.drainStdin(),Q.isTTY&&Q.isRaw&&Q.setRawMode)Q.setRawMode(!1)}drainStdin(){Uk(this.options.stdin)}reenterAltScreen(){this.options.stdout.write(vj+g8+p6+(this.altScreenMouseTracking?DK:"")),this.resetFramesForAltScreen()}resetFramesForAltScreen(){let Q=this.terminalRows,K=this.terminalColumns,z=()=>({screen:a6(K,Q,this.stylePool,this.charPool,this.hyperlinkPool),viewport:{width:K,height:Q+1},cursor:{x:0,y:0,visible:!0}});this.frontFrame=z(),this.backFrame=z(),this.log.reset(),this.displayCursor=null,this.prevFrameContaminated=!0}copySelectionNoClear(){if(!q9(this.selection))return"";let Q=oV(this.selection,this.frontFrame.screen);if(Q)UD(Q).then((K)=>{if(K)this.options.stdout.write(K)});return Q}copySelection(){if(!q9(this.selection))return"";let Q=this.copySelectionNoClear();return WK(this.selection),this.notifySelectionChange(),Q}clearTextSelection(){if(!q9(this.selection))return;WK(this.selection),this.notifySelectionChange()}setSearchHighlight(Q){if(this.searchHighlightQuery===Q)return;this.searchHighlightQuery=Q,this.scheduleRender()}scanElementSubtree(Q){if(!this.searchHighlightQuery||!Q.yogaNode)return[];let K=Math.ceil(Q.yogaNode.getComputedWidth()),z=Math.ceil(Q.yogaNode.getComputedHeight());if(K<=0||z<=0)return[];let U=Q.yogaNode.getComputedLeft(),H=Q.yogaNode.getComputedTop(),F=a6(K,z,this.stylePool,this.charPool,this.hyperlinkPool),B=new G5({width:K,height:z,stylePool:this.stylePool,screen:F});kK(Q,B,{offsetX:-U,offsetY:-H,prevScreen:void 0});let W=B.get();BQ(Q);let Y=gA(W,this.searchHighlightQuery);return gZ(`scanElementSubtree: q='${this.searchHighlightQuery}' el=${K}x${z}@(${U},${H}) n=${Y.length} [${Y.slice(0,10).map((D)=>`${D.row}:${D.col}`).join(",")}${Y.length>10?",…":""}]`),Y}setSearchPositions(Q){this.searchPositions=Q,this.scheduleRender()}setSelectionBgColor(Q){let K=g7("\x00",Q,"background"),z=K.indexOf("\x00");if(z<=0||z===K.length-1){this.stylePool.setSelectionBg(null);return}this.stylePool.setSelectionBg({type:"ansi",code:K.slice(0,z),endCode:K.slice(z+1)})}captureScrolledRows(Q,K,z){jX(this.selection,this.frontFrame.screen,Q,K,z)}shiftSelectionForScroll(Q,K,z){let U=q9(this.selection);if(iV(this.selection,Q,K,z,this.frontFrame.screen.width),U&&!q9(this.selection))this.notifySelectionChange()}moveSelectionFocus(Q){if(!this.altScreenActive)return;let{focus:K}=this.selection;if(!K)return;let{width:z,height:U}=this.frontFrame.screen,H=z-1,F=U-1,{col:B,row:W}=K;switch(Q){case"left":if(B>0)B--;else if(W>0)B=H,W--;break;case"right":if(B<H)B++;else if(W<F)B=0,W++;break;case"up":if(W>0)W--;break;case"down":if(W<F)W++;break;case"lineStart":B=0;break;case"lineEnd":B=H;break}if(B===K.col&&W===K.row)return;aV(this.selection,B,W),this.notifySelectionChange()}hasTextSelection(){return q9(this.selection)}subscribeToSelectionChange(Q){return this.selectionListeners.add(Q),()=>this.selectionListeners.delete(Q)}notifySelectionChange(){this.onRender();for(let Q of this.selectionListeners)Q()}dispatchClick(Q,K){if(!this.altScreenActive)return!1;let z=KX(this.frontFrame.screen,Q,K);return ZA(this.rootNode,Q,K,z)}dispatchHover(Q,K){if(!this.altScreenActive)return;JA(this.rootNode,Q,K,this.hoveredNodes)}dispatchKeyboardEvent(Q){let K=this.focusManager.activeElement??this.rootNode,z=new QH(Q);if(l6.dispatchDiscrete(K,z),!z.defaultPrevented&&Q.name==="tab"&&!Q.ctrl&&!Q.meta)if(Q.shift)this.focusManager.focusPrevious(this.rootNode);else this.focusManager.focusNext(this.rootNode)}getHyperlinkAt(Q,K){if(!this.altScreenActive)return;let z=this.frontFrame.screen,U=SJ(z,Q,K),H=U?.hyperlink;if(!H&&U?.width===2&&Q>0)H=SJ(z,Q-1,K)?.hyperlink;return H??cV(z,Q,K)}onHyperlinkClick;openHyperlink(Q){this.onHyperlinkClick?.(Q)}handleMultiClick(Q,K,z){if(!this.altScreenActive)return;let U=this.frontFrame.screen;if(UX(this.selection,Q,K),z===2)pV(this.selection,U,Q,K);else dV(this.selection,U,K);if(!this.selection.focus)this.selection.focus=this.selection.anchor;this.notifySelectionChange()}handleSelectionDrag(Q,K){if(!this.altScreenActive)return;let z=this.selection;if(z.anchorSpan)lV(z,this.frontFrame.screen,Q,K);else uV(z,Q,K);this.notifySelectionChange()}stdinListeners=[];wasRawMode=!1;suspendStdin(){let Q=this.options.stdin;if(!Q.isTTY)return;let K=Q.listeners("readable");gZ(`[stdin] suspendStdin: removing ${K.length} readable listener(s), wasRawMode=${Q.isRaw??!1}`),K.forEach((U)=>{this.stdinListeners.push({event:"readable",listener:U}),Q.removeListener("readable",U)});let z=Q;if(z.isRaw&&z.setRawMode)z.setRawMode(!1),this.wasRawMode=!0}resumeStdin(){let Q=this.options.stdin;if(!Q.isTTY)return;if(this.stdinListeners.length===0&&!this.wasRawMode)gZ("[stdin] resumeStdin: called with no stored listeners and wasRawMode=false (possible desync)",{level:"warn"});if(gZ(`[stdin] resumeStdin: re-attaching ${this.stdinListeners.length} listener(s), wasRawMode=${this.wasRawMode}`),this.stdinListeners.forEach(({event:K,listener:z})=>{Q.addListener(K,z)}),this.stdinListeners=[],this.wasRawMode){let K=Q;if(K.setRawMode)K.setRawMode(!0);this.wasRawMode=!1}}writeRaw(Q){this.options.stdout.write(Q)}setCursorDeclaration=(Q,K)=>{if(Q===null&&K!==void 0&&this.cursorDeclaration?.node!==K)return;this.cursorDeclaration=Q};render(Q){gZ("[Ink:render] start"),this.currentNode=Q;let K=_H.jsxDEV(LX,{stdin:this.options.stdin,stdout:this.options.stdout,stderr:this.options.stderr,exitOnCtrlC:this.options.exitOnCtrlC,onExit:this.unmount,terminalColumns:this.terminalColumns,terminalRows:this.terminalRows,selection:this.selection,onSelectionChange:this.notifySelectionChange,onClickAt:this.dispatchClick,onHoverAt:this.dispatchHover,getHyperlinkAt:this.getHyperlinkAt,onOpenHyperlink:this.openHyperlink,onMultiClick:this.handleMultiClick,onSelectionDrag:this.handleSelectionDrag,onStdinResume:this.reassertTerminalModes,onCursorDeclaration:this.setCursorDeclaration,dispatchKeyboardEvent:this.dispatchKeyboardEvent,children:_H.jsxDEV(dA,{value:this.writeRaw,children:Q},void 0,!1,void 0,this)},void 0,!1,void 0,this);Q6.updateContainerSync(K,this.container,null,Bz),Q6.flushSyncWork(),gZ("[Ink:render] updateContainer complete")}unmount(Q){if(this.isUnmounted)return;if(this.onRender(),this.unsubscribeExit(),typeof this.restoreConsole==="function")this.restoreConsole();this.restoreStderr?.(),this.unsubscribeTTYHandlers?.();let K=this.log.renderPreviousOutput_DEPRECATED(this.frontFrame);if(hj(this.terminal,UH(K)),this.options.stdout.isTTY){if(this.altScreenActive)r6(1,QD);if(r6(1,AK),this.drainStdin(),r6(1,i1),r6(1,m8),r6(1,YK),r6(1,FX),r6(1,r8),r6(1,jD),N4())r6(1,sJ(WX))}if(this.isUnmounted=!0,this.scheduleRender.cancel?.(),this.drainTimer!==null)clearTimeout(this.drainTimer),this.drainTimer=null;if(Q6.updateContainerSync(null,this.container,null,Bz),Q6.flushSyncWork(),z6.delete(this.options.stdout),this.rootNode.yogaNode?.free(),this.rootNode.yogaNode=void 0,Q instanceof Error)this.rejectExitPromise(Q);else this.resolveExitPromise()}async waitUntilExit(){return this.exitPromise||=new Promise((Q,K)=>{this.resolveExitPromise=Q,this.rejectExitPromise=K}),this.exitPromise}resetLineCount(){if(this.options.stdout.isTTY)this.backFrame=this.frontFrame,this.frontFrame=l7(this.frontFrame.viewport.height,this.frontFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.log.reset(),this.displayCursor=null}resetPools(){this.charPool=new jK,this.hyperlinkPool=new HK,SV(this.frontFrame.screen,this.charPool,this.hyperlinkPool),this.backFrame.screen.charPool=this.charPool,this.backFrame.screen.hyperlinkPool=this.hyperlinkPool}patchConsole(){let Q=console,K={},z=(...H)=>gZ(`console.log: ${aA(...H)}`),U=(...H)=>d6(Error(`console.error: ${aA(...H)}`));for(let H of qk)K[H]=Q[H],Q[H]=z;for(let H of jk)K[H]=Q[H],Q[H]=U;return K.assert=Q.assert,Q.assert=(H,...F)=>{if(!H)U(...F)},()=>Object.assign(Q,K)}patchStderr(){let Q=process.stderr,K=Q.write,z=!1,U=(H,F,B)=>{let W=typeof F==="function"?F:B;if(z){let Y=typeof F==="string"?F:void 0;return K.call(Q,H,Y,W)}z=!0;try{let Y=typeof H==="string"?H:Buffer.from(H).toString("utf8");if(gZ(`[stderr] ${Y}`,{level:"warn"}),this.altScreenActive&&!this.isUnmounted&&!this.isPaused)this.prevFrameContaminated=!0,this.scheduleRender()}finally{z=!1,W?.()}return!0};return Q.write=U,()=>{if(Q.write===U)Q.write=K}}}function Uk(Q=process.stdin){if(!Q.isTTY)return;try{while(Q.read()!==null);}catch{}if(process.platform==="win32")return;let K=Q,z=K.isRaw===!0,U=-1;try{if(!z)K.setRawMode?.(!0);U=Qk("/dev/tty",lA.O_RDONLY|lA.O_NONBLOCK);let H=Buffer.alloc(1024);for(let F=0;F<64;F++)if(Kk(U,H,0,H.length,null)<=0)break}catch{}finally{if(U>=0)try{Jk(U)}catch{}if(!z)try{K.setRawMode?.(!1)}catch{}}}var oA,_H,Gk,zk,Xk,qk,jk;var rA=h(()=>{BW();OW();IW();Zk();iD();Pz();o8();Fj();d1();rD();sj();KK();tD();XK();eD();QA();_X();zA();H4();XA();CX();tz();bX();uA();hA();n6();cA();HX();LK();S9();NK();G6();wX();oA=r(Wz(),1),_H=r(t0(),1),Gk=Object.freeze({x:0,y:0,visible:!1}),zk=Object.freeze({type:"stdout",content:p6}),Xk=Object.freeze({type:"stdout",content:g8+p6});qk=["log","info","debug","dir","dirxml","count","countReset","group","groupCollapsed","groupEnd","table","time","timeEnd","timeLog"],jk=["warn","error","trace"]});import{Stream as Hk}from"stream";async function tA({stdout:Q=process.stdout,stdin:K=process.stdin,stderr:z=process.stderr,exitOnCtrlC:U=!0,patchConsole:H=!0,onFrame:F}={}){await Promise.resolve();let B=new EK({stdout:Q,stdin:K,stderr:z,exitOnCtrlC:U,patchConsole:H,onFrame:F});return z6.set(Q,B),{render:(W)=>B.render(W),unmount:()=>B.unmount(),waitUntilExit:()=>B.waitUntilExit()}}var Fk=(Q,K)=>{let z=Ok(K),U={stdout:process.stdout,stdin:process.stdin,stderr:process.stderr,exitOnCtrlC:!0,patchConsole:!0,...z},H=Wk(U.stdout,()=>new EK(U));return H.render(Q),{rerender:H.render,unmount(){H.unmount()},waitUntilExit:H.waitUntilExit,cleanup:()=>z6.delete(U.stdout)}},Bk=async(Q,K)=>{await Promise.resolve();let z=Fk(Q,K);return gZ(`[render] first ink render: ${Math.round(process.uptime()*1000)}ms since process start`),z},eA,Ok=(Q={})=>{if(Q instanceof Hk)return{stdout:Q,stdin:process.stdin};return Q},Wk=(Q,K)=>{let z=z6.get(Q);if(!z)z=K(),z6.set(Q,z);return z};var ZN=h(()=>{o8();rA();_X();eA=Bk});function E4(Q){switch(Q){case"light":return Vk;case"light-ansi":return Dk;case"dark-ansi":return Ak;case"light-daltonized":return Nk;case"dark-daltonized":return Lk;default:return Mk}}function yw(Q){let K=Q.match(/rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)/);if(K){let z=parseInt(K[1],10),U=parseInt(K[2],10),H=parseInt(K[3],10),F=Pk.rgb(z,U,H)("X");return F.slice(0,F.indexOf("X"))}return"\x1B[35m"}var Yk,vw,Vk,Dk,Ak,Nk,Mk,Lk,Pk;var vX=h(()=>{C3();yj();Yk=["dark","light","light-daltonized","dark-daltonized","light-ansi","dark-ansi"],vw=["auto",...Yk],Vk={autoAccept:"rgb(135,0,255)",bashBorder:"rgb(255,0,135)",claude:"rgb(215,119,87)",claudeShimmer:"rgb(245,149,117)",claudeBlue_FOR_SYSTEM_SPINNER:"rgb(87,105,247)",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"rgb(117,135,255)",permission:"rgb(87,105,247)",permissionShimmer:"rgb(137,155,255)",planMode:"rgb(0,102,102)",ide:"rgb(71,130,200)",promptBorder:"rgb(153,153,153)",promptBorderShimmer:"rgb(183,183,183)",text:"rgb(0,0,0)",inverseText:"rgb(255,255,255)",inactive:"rgb(102,102,102)",inactiveShimmer:"rgb(142,142,142)",subtle:"rgb(175,175,175)",suggestion:"rgb(87,105,247)",remember:"rgb(0,0,255)",background:"rgb(0,153,153)",success:"rgb(44,122,57)",error:"rgb(171,43,63)",warning:"rgb(150,108,30)",merged:"rgb(135,0,255)",warningShimmer:"rgb(200,158,80)",diffAdded:"rgb(105,219,124)",diffRemoved:"rgb(255,168,180)",diffAddedDimmed:"rgb(199,225,203)",diffRemovedDimmed:"rgb(253,210,216)",diffAddedWord:"rgb(47,157,68)",diffRemovedWord:"rgb(209,69,75)",red_FOR_SUBAGENTS_ONLY:"rgb(220,38,38)",blue_FOR_SUBAGENTS_ONLY:"rgb(37,99,235)",green_FOR_SUBAGENTS_ONLY:"rgb(22,163,74)",yellow_FOR_SUBAGENTS_ONLY:"rgb(202,138,4)",purple_FOR_SUBAGENTS_ONLY:"rgb(147,51,234)",orange_FOR_SUBAGENTS_ONLY:"rgb(234,88,12)",pink_FOR_SUBAGENTS_ONLY:"rgb(219,39,119)",cyan_FOR_SUBAGENTS_ONLY:"rgb(8,145,178)",professionalBlue:"rgb(106,155,204)",chromeYellow:"rgb(251,188,4)",clawd_body:"rgb(215,119,87)",clawd_background:"rgb(0,0,0)",userMessageBackground:"rgb(240, 240, 240)",userMessageBackgroundHover:"rgb(252, 252, 252)",messageActionsBackground:"rgb(232, 236, 244)",selectionBg:"rgb(180, 213, 255)",bashMessageBackgroundColor:"rgb(250, 245, 250)",memoryBackgroundColor:"rgb(230, 245, 250)",rate_limit_fill:"rgb(87,105,247)",rate_limit_empty:"rgb(39,47,111)",fastMode:"rgb(255,106,0)",fastModeShimmer:"rgb(255,150,50)",briefLabelYou:"rgb(37,99,235)",briefLabelClaude:"rgb(215,119,87)",rainbow_red:"rgb(235,95,87)",rainbow_orange:"rgb(245,139,87)",rainbow_yellow:"rgb(250,195,95)",rainbow_green:"rgb(145,200,130)",rainbow_blue:"rgb(130,170,220)",rainbow_indigo:"rgb(155,130,200)",rainbow_violet:"rgb(200,130,180)",rainbow_red_shimmer:"rgb(250,155,147)",rainbow_orange_shimmer:"rgb(255,185,137)",rainbow_yellow_shimmer:"rgb(255,225,155)",rainbow_green_shimmer:"rgb(185,230,180)",rainbow_blue_shimmer:"rgb(180,205,240)",rainbow_indigo_shimmer:"rgb(195,180,230)",rainbow_violet_shimmer:"rgb(230,180,210)"},Dk={autoAccept:"ansi:magenta",bashBorder:"ansi:magenta",claude:"ansi:redBright",claudeShimmer:"ansi:yellowBright",claudeBlue_FOR_SYSTEM_SPINNER:"ansi:blue",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"ansi:blueBright",permission:"ansi:blue",permissionShimmer:"ansi:blueBright",planMode:"ansi:cyan",ide:"ansi:blueBright",promptBorder:"ansi:white",promptBorderShimmer:"ansi:whiteBright",text:"ansi:black",inverseText:"ansi:white",inactive:"ansi:blackBright",inactiveShimmer:"ansi:white",subtle:"ansi:blackBright",suggestion:"ansi:blue",remember:"ansi:blue",background:"ansi:cyan",success:"ansi:green",error:"ansi:red",warning:"ansi:yellow",merged:"ansi:magenta",warningShimmer:"ansi:yellowBright",diffAdded:"ansi:green",diffRemoved:"ansi:red",diffAddedDimmed:"ansi:green",diffRemovedDimmed:"ansi:red",diffAddedWord:"ansi:greenBright",diffRemovedWord:"ansi:redBright",red_FOR_SUBAGENTS_ONLY:"ansi:red",blue_FOR_SUBAGENTS_ONLY:"ansi:blue",green_FOR_SUBAGENTS_ONLY:"ansi:green",yellow_FOR_SUBAGENTS_ONLY:"ansi:yellow",purple_FOR_SUBAGENTS_ONLY:"ansi:magenta",orange_FOR_SUBAGENTS_ONLY:"ansi:redBright",pink_FOR_SUBAGENTS_ONLY:"ansi:magentaBright",cyan_FOR_SUBAGENTS_ONLY:"ansi:cyan",professionalBlue:"ansi:blueBright",chromeYellow:"ansi:yellow",clawd_body:"ansi:redBright",clawd_background:"ansi:black",userMessageBackground:"ansi:white",userMessageBackgroundHover:"ansi:whiteBright",messageActionsBackground:"ansi:white",selectionBg:"ansi:cyan",bashMessageBackgroundColor:"ansi:whiteBright",memoryBackgroundColor:"ansi:white",rate_limit_fill:"ansi:yellow",rate_limit_empty:"ansi:black",fastMode:"ansi:red",fastModeShimmer:"ansi:redBright",briefLabelYou:"ansi:blue",briefLabelClaude:"ansi:redBright",rainbow_red:"ansi:red",rainbow_orange:"ansi:redBright",rainbow_yellow:"ansi:yellow",rainbow_green:"ansi:green",rainbow_blue:"ansi:cyan",rainbow_indigo:"ansi:blue",rainbow_violet:"ansi:magenta",rainbow_red_shimmer:"ansi:redBright",rainbow_orange_shimmer:"ansi:yellow",rainbow_yellow_shimmer:"ansi:yellowBright",rainbow_green_shimmer:"ansi:greenBright",rainbow_blue_shimmer:"ansi:cyanBright",rainbow_indigo_shimmer:"ansi:blueBright",rainbow_violet_shimmer:"ansi:magentaBright"},Ak={autoAccept:"ansi:magentaBright",bashBorder:"ansi:magentaBright",claude:"ansi:redBright",claudeShimmer:"ansi:yellowBright",claudeBlue_FOR_SYSTEM_SPINNER:"ansi:blueBright",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"ansi:blueBright",permission:"ansi:blueBright",permissionShimmer:"ansi:blueBright",planMode:"ansi:cyanBright",ide:"ansi:blue",promptBorder:"ansi:white",promptBorderShimmer:"ansi:whiteBright",text:"ansi:whiteBright",inverseText:"ansi:black",inactive:"ansi:white",inactiveShimmer:"ansi:whiteBright",subtle:"ansi:white",suggestion:"ansi:blueBright",remember:"ansi:blueBright",background:"ansi:cyanBright",success:"ansi:greenBright",error:"ansi:redBright",warning:"ansi:yellowBright",merged:"ansi:magentaBright",warningShimmer:"ansi:yellowBright",diffAdded:"ansi:green",diffRemoved:"ansi:red",diffAddedDimmed:"ansi:green",diffRemovedDimmed:"ansi:red",diffAddedWord:"ansi:greenBright",diffRemovedWord:"ansi:redBright",red_FOR_SUBAGENTS_ONLY:"ansi:redBright",blue_FOR_SUBAGENTS_ONLY:"ansi:blueBright",green_FOR_SUBAGENTS_ONLY:"ansi:greenBright",yellow_FOR_SUBAGENTS_ONLY:"ansi:yellowBright",purple_FOR_SUBAGENTS_ONLY:"ansi:magentaBright",orange_FOR_SUBAGENTS_ONLY:"ansi:redBright",pink_FOR_SUBAGENTS_ONLY:"ansi:magentaBright",cyan_FOR_SUBAGENTS_ONLY:"ansi:cyanBright",professionalBlue:"rgb(106,155,204)",chromeYellow:"ansi:yellowBright",clawd_body:"ansi:redBright",clawd_background:"ansi:black",userMessageBackground:"ansi:blackBright",userMessageBackgroundHover:"ansi:white",messageActionsBackground:"ansi:blackBright",selectionBg:"ansi:blue",bashMessageBackgroundColor:"ansi:black",memoryBackgroundColor:"ansi:blackBright",rate_limit_fill:"ansi:yellow",rate_limit_empty:"ansi:white",fastMode:"ansi:redBright",fastModeShimmer:"ansi:redBright",briefLabelYou:"ansi:blueBright",briefLabelClaude:"ansi:redBright",rainbow_red:"ansi:red",rainbow_orange:"ansi:redBright",rainbow_yellow:"ansi:yellow",rainbow_green:"ansi:green",rainbow_blue:"ansi:cyan",rainbow_indigo:"ansi:blue",rainbow_violet:"ansi:magenta",rainbow_red_shimmer:"ansi:redBright",rainbow_orange_shimmer:"ansi:yellow",rainbow_yellow_shimmer:"ansi:yellowBright",rainbow_green_shimmer:"ansi:greenBright",rainbow_blue_shimmer:"ansi:cyanBright",rainbow_indigo_shimmer:"ansi:blueBright",rainbow_violet_shimmer:"ansi:magentaBright"},Nk={autoAccept:"rgb(135,0,255)",bashBorder:"rgb(0,102,204)",claude:"rgb(255,153,51)",claudeShimmer:"rgb(255,183,101)",claudeBlue_FOR_SYSTEM_SPINNER:"rgb(51,102,255)",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"rgb(101,152,255)",permission:"rgb(51,102,255)",permissionShimmer:"rgb(101,152,255)",planMode:"rgb(51,102,102)",ide:"rgb(71,130,200)",promptBorder:"rgb(153,153,153)",promptBorderShimmer:"rgb(183,183,183)",text:"rgb(0,0,0)",inverseText:"rgb(255,255,255)",inactive:"rgb(102,102,102)",inactiveShimmer:"rgb(142,142,142)",subtle:"rgb(175,175,175)",suggestion:"rgb(51,102,255)",remember:"rgb(51,102,255)",background:"rgb(0,153,153)",success:"rgb(0,102,153)",error:"rgb(204,0,0)",warning:"rgb(255,153,0)",merged:"rgb(135,0,255)",warningShimmer:"rgb(255,183,50)",diffAdded:"rgb(153,204,255)",diffRemoved:"rgb(255,204,204)",diffAddedDimmed:"rgb(209,231,253)",diffRemovedDimmed:"rgb(255,233,233)",diffAddedWord:"rgb(51,102,204)",diffRemovedWord:"rgb(153,51,51)",red_FOR_SUBAGENTS_ONLY:"rgb(204,0,0)",blue_FOR_SUBAGENTS_ONLY:"rgb(0,102,204)",green_FOR_SUBAGENTS_ONLY:"rgb(0,204,0)",yellow_FOR_SUBAGENTS_ONLY:"rgb(255,204,0)",purple_FOR_SUBAGENTS_ONLY:"rgb(128,0,128)",orange_FOR_SUBAGENTS_ONLY:"rgb(255,128,0)",pink_FOR_SUBAGENTS_ONLY:"rgb(255,102,178)",cyan_FOR_SUBAGENTS_ONLY:"rgb(0,178,178)",professionalBlue:"rgb(106,155,204)",chromeYellow:"rgb(251,188,4)",clawd_body:"rgb(215,119,87)",clawd_background:"rgb(0,0,0)",userMessageBackground:"rgb(220, 220, 220)",userMessageBackgroundHover:"rgb(232, 232, 232)",messageActionsBackground:"rgb(210, 216, 226)",selectionBg:"rgb(180, 213, 255)",bashMessageBackgroundColor:"rgb(250, 245, 250)",memoryBackgroundColor:"rgb(230, 245, 250)",rate_limit_fill:"rgb(51,102,255)",rate_limit_empty:"rgb(23,46,114)",fastMode:"rgb(255,106,0)",fastModeShimmer:"rgb(255,150,50)",briefLabelYou:"rgb(37,99,235)",briefLabelClaude:"rgb(255,153,51)",rainbow_red:"rgb(235,95,87)",rainbow_orange:"rgb(245,139,87)",rainbow_yellow:"rgb(250,195,95)",rainbow_green:"rgb(145,200,130)",rainbow_blue:"rgb(130,170,220)",rainbow_indigo:"rgb(155,130,200)",rainbow_violet:"rgb(200,130,180)",rainbow_red_shimmer:"rgb(250,155,147)",rainbow_orange_shimmer:"rgb(255,185,137)",rainbow_yellow_shimmer:"rgb(255,225,155)",rainbow_green_shimmer:"rgb(185,230,180)",rainbow_blue_shimmer:"rgb(180,205,240)",rainbow_indigo_shimmer:"rgb(195,180,230)",rainbow_violet_shimmer:"rgb(230,180,210)"},Mk={autoAccept:"rgb(175,135,255)",bashBorder:"rgb(253,93,177)",claude:"rgb(215,119,87)",claudeShimmer:"rgb(235,159,127)",claudeBlue_FOR_SYSTEM_SPINNER:"rgb(147,165,255)",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"rgb(177,195,255)",permission:"rgb(177,185,249)",permissionShimmer:"rgb(207,215,255)",planMode:"rgb(72,150,140)",ide:"rgb(71,130,200)",promptBorder:"rgb(136,136,136)",promptBorderShimmer:"rgb(166,166,166)",text:"rgb(255,255,255)",inverseText:"rgb(0,0,0)",inactive:"rgb(153,153,153)",inactiveShimmer:"rgb(193,193,193)",subtle:"rgb(80,80,80)",suggestion:"rgb(177,185,249)",remember:"rgb(177,185,249)",background:"rgb(0,204,204)",success:"rgb(78,186,101)",error:"rgb(255,107,128)",warning:"rgb(255,193,7)",merged:"rgb(175,135,255)",warningShimmer:"rgb(255,223,57)",diffAdded:"rgb(34,92,43)",diffRemoved:"rgb(122,41,54)",diffAddedDimmed:"rgb(71,88,74)",diffRemovedDimmed:"rgb(105,72,77)",diffAddedWord:"rgb(56,166,96)",diffRemovedWord:"rgb(179,89,107)",red_FOR_SUBAGENTS_ONLY:"rgb(220,38,38)",blue_FOR_SUBAGENTS_ONLY:"rgb(37,99,235)",green_FOR_SUBAGENTS_ONLY:"rgb(22,163,74)",yellow_FOR_SUBAGENTS_ONLY:"rgb(202,138,4)",purple_FOR_SUBAGENTS_ONLY:"rgb(147,51,234)",orange_FOR_SUBAGENTS_ONLY:"rgb(234,88,12)",pink_FOR_SUBAGENTS_ONLY:"rgb(219,39,119)",cyan_FOR_SUBAGENTS_ONLY:"rgb(8,145,178)",professionalBlue:"rgb(106,155,204)",chromeYellow:"rgb(251,188,4)",clawd_body:"rgb(215,119,87)",clawd_background:"rgb(0,0,0)",userMessageBackground:"rgb(55, 55, 55)",userMessageBackgroundHover:"rgb(70, 70, 70)",messageActionsBackground:"rgb(44, 50, 62)",selectionBg:"rgb(38, 79, 120)",bashMessageBackgroundColor:"rgb(65, 60, 65)",memoryBackgroundColor:"rgb(55, 65, 70)",rate_limit_fill:"rgb(177,185,249)",rate_limit_empty:"rgb(80,83,112)",fastMode:"rgb(255,120,20)",fastModeShimmer:"rgb(255,165,70)",briefLabelYou:"rgb(122,180,232)",briefLabelClaude:"rgb(215,119,87)",rainbow_red:"rgb(235,95,87)",rainbow_orange:"rgb(245,139,87)",rainbow_yellow:"rgb(250,195,95)",rainbow_green:"rgb(145,200,130)",rainbow_blue:"rgb(130,170,220)",rainbow_indigo:"rgb(155,130,200)",rainbow_violet:"rgb(200,130,180)",rainbow_red_shimmer:"rgb(250,155,147)",rainbow_orange_shimmer:"rgb(255,185,137)",rainbow_yellow_shimmer:"rgb(255,225,155)",rainbow_green_shimmer:"rgb(185,230,180)",rainbow_blue_shimmer:"rgb(180,205,240)",rainbow_indigo_shimmer:"rgb(195,180,230)",rainbow_violet_shimmer:"rgb(230,180,210)"},Lk={autoAccept:"rgb(175,135,255)",bashBorder:"rgb(51,153,255)",claude:"rgb(255,153,51)",claudeShimmer:"rgb(255,183,101)",claudeBlue_FOR_SYSTEM_SPINNER:"rgb(153,204,255)",claudeBlueShimmer_FOR_SYSTEM_SPINNER:"rgb(183,224,255)",permission:"rgb(153,204,255)",permissionShimmer:"rgb(183,224,255)",planMode:"rgb(102,153,153)",ide:"rgb(71,130,200)",promptBorder:"rgb(136,136,136)",promptBorderShimmer:"rgb(166,166,166)",text:"rgb(255,255,255)",inverseText:"rgb(0,0,0)",inactive:"rgb(153,153,153)",inactiveShimmer:"rgb(193,193,193)",subtle:"rgb(80,80,80)",suggestion:"rgb(153,204,255)",remember:"rgb(153,204,255)",background:"rgb(0,204,204)",success:"rgb(51,153,255)",error:"rgb(255,102,102)",warning:"rgb(255,204,0)",merged:"rgb(175,135,255)",warningShimmer:"rgb(255,234,50)",diffAdded:"rgb(0,68,102)",diffRemoved:"rgb(102,0,0)",diffAddedDimmed:"rgb(62,81,91)",diffRemovedDimmed:"rgb(62,44,44)",diffAddedWord:"rgb(0,119,179)",diffRemovedWord:"rgb(179,0,0)",red_FOR_SUBAGENTS_ONLY:"rgb(255,102,102)",blue_FOR_SUBAGENTS_ONLY:"rgb(102,178,255)",green_FOR_SUBAGENTS_ONLY:"rgb(102,255,102)",yellow_FOR_SUBAGENTS_ONLY:"rgb(255,255,102)",purple_FOR_SUBAGENTS_ONLY:"rgb(178,102,255)",orange_FOR_SUBAGENTS_ONLY:"rgb(255,178,102)",pink_FOR_SUBAGENTS_ONLY:"rgb(255,153,204)",cyan_FOR_SUBAGENTS_ONLY:"rgb(102,204,204)",professionalBlue:"rgb(106,155,204)",chromeYellow:"rgb(251,188,4)",clawd_body:"rgb(215,119,87)",clawd_background:"rgb(0,0,0)",userMessageBackground:"rgb(55, 55, 55)",userMessageBackgroundHover:"rgb(70, 70, 70)",messageActionsBackground:"rgb(44, 50, 62)",selectionBg:"rgb(38, 79, 120)",bashMessageBackgroundColor:"rgb(65, 60, 65)",memoryBackgroundColor:"rgb(55, 65, 70)",rate_limit_fill:"rgb(153,204,255)",rate_limit_empty:"rgb(69,92,115)",fastMode:"rgb(255,120,20)",fastModeShimmer:"rgb(255,165,70)",briefLabelYou:"rgb(122,180,232)",briefLabelClaude:"rgb(255,153,51)",rainbow_red:"rgb(235,95,87)",rainbow_orange:"rgb(245,139,87)",rainbow_yellow:"rgb(250,195,95)",rainbow_green:"rgb(145,200,130)",rainbow_blue:"rgb(130,170,220)",rainbow_indigo:"rgb(155,130,200)",rainbow_violet:"rgb(200,130,180)",rainbow_red_shimmer:"rgb(250,155,147)",rainbow_orange_shimmer:"rgb(255,185,137)",rainbow_yellow_shimmer:"rgb(255,225,155)",rainbow_green_shimmer:"rgb(185,230,180)",rainbow_blue_shimmer:"rgb(180,205,240)",rainbow_indigo_shimmer:"rgb(195,180,230)",rainbow_violet_shimmer:"rgb(230,180,210)"};Pk=A4.terminal==="Apple_Terminal"?new JN({level:2}):O0});function _k(Q,K,z="foreground"){return(U)=>{if(!Q)return U;if(Q.startsWith("rgb(")||Q.startsWith("#")||Q.startsWith("ansi256(")||Q.startsWith("ansi:"))return g7(U,Q,z);return g7(U,E4(K)[Q],z)}}var QN=h(()=>{d1();vX()});function T4(Q,K){if(!Q)return;if(Q.startsWith("rgb(")||Q.startsWith("#")||Q.startsWith("ansi256(")||Q.startsWith("ansi:"))return Q;return K[Q]}function $k(Q,K){let z=KN.c(33),U,H,F,B,W,Y,D,A;if(z[0]!==Q)({borderColor:F,borderTopColor:Y,borderBottomColor:H,borderLeftColor:B,borderRightColor:W,backgroundColor:U,children:D,...A}=Q),z[0]=Q,z[1]=U,z[2]=H,z[3]=F,z[4]=B,z[5]=W,z[6]=Y,z[7]=D,z[8]=A;else U=z[1],H=z[2],F=z[3],B=z[4],W=z[5],Y=z[6],D=z[7],A=z[8];let[N]=m1(),M,L,T,_,E,C;if(z[10]!==U||z[11]!==H||z[12]!==F||z[13]!==B||z[14]!==W||z[15]!==Y||z[16]!==N){let u=E4(N);L=T4(F,u),E=T4(Y,u),M=T4(H,u),T=T4(B,u),_=T4(W,u),C=T4(U,u),z[10]=U,z[11]=H,z[12]=F,z[13]=B,z[14]=W,z[15]=Y,z[16]=N,z[17]=M,z[18]=L,z[19]=T,z[20]=_,z[21]=E,z[22]=C}else M=z[17],L=z[18],T=z[19],_=z[20],E=z[21],C=z[22];let I=C,g;if(z[23]!==D||z[24]!==K||z[25]!==I||z[26]!==M||z[27]!==L||z[28]!==T||z[29]!==_||z[30]!==E||z[31]!==A)g=XN.jsxDEV(pQ,{ref:K,borderColor:L,borderTopColor:E,borderBottomColor:M,borderLeftColor:T,borderRightColor:_,backgroundColor:I,...A,children:D},void 0,!1,void 0,this),z[23]=D,z[24]=K,z[25]=I,z[26]=M,z[27]=L,z[28]=T,z[29]=_,z[30]=E,z[31]=A,z[32]=g;else g=z[32];return g}var KN,GN,XN,zN,Rk;var UN=h(()=>{Q5();vX();u1();KN=r(HQ(),1),GN=r(WZ(),1),XN=r(t0(),1);zN=GN.default.forwardRef($k);zN.displayName="ThemedBox";Rk=zN});function qN(Q,K){if(!Q)return;if(Q.startsWith("rgb(")||Q.startsWith("#")||Q.startsWith("ansi256(")||Q.startsWith("ansi:"))return Q;return K[Q]}function HN(Q){let K=jN.c(10),{color:z,backgroundColor:U,dimColor:H,bold:F,italic:B,underline:W,strikethrough:Y,inverse:D,wrap:A,children:N}=Q,M=H===void 0?!1:H,L=F===void 0?!1:F,T=B===void 0?!1:B,_=W===void 0?!1:W,E=Y===void 0?!1:Y,C=D===void 0?!1:D,I=A===void 0?"wrap":A,[g]=m1(),u=E4(g),l=yX.useContext(Ik),m=!z&&l?qN(l,u):M?u.inactive:qN(z,u),s=U?u[U]:void 0,y;if(K[0]!==L||K[1]!==N||K[2]!==C||K[3]!==T||K[4]!==s||K[5]!==m||K[6]!==E||K[7]!==_||K[8]!==I)y=FN.jsxDEV(tZ,{color:m,backgroundColor:s,bold:L,italic:T,underline:_,strikethrough:E,inverse:C,wrap:I,children:N},void 0,!1,void 0,this),K[0]=L,K[1]=N,K[2]=C,K[3]=T,K[4]=s,K[5]=m,K[6]=E,K[7]=_,K[8]=I,K[9]=y;else y=K[9];return y}var jN,yX,FN,Ik;var BN=h(()=>{P4();vX();u1();jN=r(HQ(),1),yX=r(WZ(),1),FN=r(t0(),1),Ik=yX.default.createContext(void 0)});var YN=y6((ow,WN)=>{var Tk=Ek(),C4=kk();function ON(Q){if(/^\d{3,4}$/.test(Q)){let z=/(\d{1,2})(\d{2})/.exec(Q)||[];return{major:0,minor:parseInt(z[1],10),patch:parseInt(z[2],10)}}let K=(Q||"").split(".").map((z)=>parseInt(z,10));return{major:K[0],minor:K[1],patch:K[2]}}function $H(Q){let{CI:K,FORCE_HYPERLINK:z,NETLIFY:U,TEAMCITY_VERSION:H,TERM_PROGRAM:F,TERM_PROGRAM_VERSION:B,VTE_VERSION:W,TERM:Y}=process.env;if(z)return!(z.length>0&&parseInt(z,10)===0);if(C4("no-hyperlink")||C4("no-hyperlinks")||C4("hyperlink=false")||C4("hyperlink=never"))return!1;if(C4("hyperlink=true")||C4("hyperlink=always"))return!0;if(U)return!0;if(!Tk.supportsColor(Q))return!1;if(Q&&!Q.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if(process.platform==="win32")return!1;if(K)return!1;if(H)return!1;if(F){let D=ON(B||"");switch(F){case"iTerm.app":if(D.major===3)return D.minor>=1;return D.major>3;case"WezTerm":return D.major>=20200620;case"vscode":return D.major>1||D.major===1&&D.minor>=72;case"ghostty":return!0}}if(W){if(W==="0.50.0")return!1;let D=ON(W);return D.major>0||D.minor>=50}switch(Y){case"alacritty":return!0}return!1}WN.exports={supportsHyperlink:$H,stdout:$H(process.stdout),stderr:$H(process.stderr)}});function DN(Q){if(Q?.stdoutSupported??RH.default.stdout)return!0;let z=Q?.env??process.env,U=z.TERM_PROGRAM;if(U&&VN.includes(U))return!0;let H=z.LC_TERMINAL;if(H&&VN.includes(H))return!0;if(z.TERM?.includes("kitty"))return!0;return!1}var RH,VN;var AN=h(()=>{RH=r(YN(),1),VN=["ghostty","Hyper","kitty","alacritty","iTerm.app","iTerm2"]});function TK(Q){let K=NN.c(5),{children:z,url:U,fallback:H}=Q,F=z??U;if(DN()){let Y;if(K[0]!==F||K[1]!==U)Y=gX.jsxDEV(tZ,{children:gX.jsxDEV("ink-link",{href:U,children:F},void 0,!1,void 0,this)},void 0,!1,void 0,this),K[0]=F,K[1]=U,K[2]=Y;else Y=K[2];return Y}let B=H??F,W;if(K[3]!==B)W=gX.jsxDEV(tZ,{children:B},void 0,!1,void 0,this),K[3]=B,K[4]=W;else W=K[4];return W}var NN,gX;var IH=h(()=>{AN();P4();NN=r(HQ(),1),gX=r(t0(),1)});function MN(Q){if(Q.length===0)return null;let K=Q[0];if(K==="c")return{type:"reset"};if(K==="7")return{type:"cursor",action:{type:"save"}};if(K==="8")return{type:"cursor",action:{type:"restore"}};if(K==="D")return{type:"cursor",action:{type:"move",direction:"down",count:1}};if(K==="M")return{type:"cursor",action:{type:"move",direction:"up",count:1}};if(K==="E")return{type:"cursor",action:{type:"nextLine",count:1}};if(K==="H")return null;if("()".includes(K)&&Q.length>=2)return null;return{type:"unknown",sequence:`\x1B${Q}`}}var LN=()=>{};function x4(){return{bold:!1,dim:!1,italic:!1,underline:"none",blink:!1,inverse:!1,hidden:!1,strikethrough:!1,overline:!1,fg:{type:"default"},bg:{type:"default"},underlineColor:{type:"default"}}}var mX=()=>{};function xk(Q){if(Q==="")return[{value:0,subparams:[],colon:!1}];let K=[],z={value:null,subparams:[],colon:!1},U="",H=!1;for(let F=0;F<=Q.length;F++){let B=Q[F];if(B===";"||B===void 0){let W=U===""?null:parseInt(U,10);if(H){if(W!==null)z.subparams.push(W)}else z.value=W;K.push(z),z={value:null,subparams:[],colon:!1},U="",H=!1}else if(B===":"){let W=U===""?null:parseInt(U,10);if(!H)z.value=W,z.colon=!0,H=!0;else if(W!==null)z.subparams.push(W);U=""}else if(B>="0"&&B<="9")U+=B}return K}function kH(Q,K){let z=Q[K];if(!z)return null;if(z.colon&&z.subparams.length>=1){if(z.subparams[0]===5&&z.subparams.length>=2)return{index:z.subparams[1]};if(z.subparams[0]===2&&z.subparams.length>=4){let H=z.subparams.length>=5?1:0;return{r:z.subparams[1+H],g:z.subparams[2+H],b:z.subparams[3+H]}}}let U=Q[K+1];if(!U)return null;if(U.value===5&&Q[K+2]?.value!==null&&Q[K+2]?.value!==void 0)return{index:Q[K+2].value};if(U.value===2){let H=Q[K+2]?.value,F=Q[K+3]?.value,B=Q[K+4]?.value;if(H!==null&&H!==void 0&&F!==null&&F!==void 0&&B!==null&&B!==void 0)return{r:H,g:F,b:B}}return null}function PN(Q,K){let z=xk(Q),U={...K},H=0;while(H<z.length){let F=z[H],B=F.value??0;if(B===0){U=x4(),H++;continue}if(B===1){U.bold=!0,H++;continue}if(B===2){U.dim=!0,H++;continue}if(B===3){U.italic=!0,H++;continue}if(B===4){U.underline=F.colon?Ck[F.subparams[0]]??"single":"single",H++;continue}if(B===5||B===6){U.blink=!0,H++;continue}if(B===7){U.inverse=!0,H++;continue}if(B===8){U.hidden=!0,H++;continue}if(B===9){U.strikethrough=!0,H++;continue}if(B===21){U.underline="double",H++;continue}if(B===22){U.bold=!1,U.dim=!1,H++;continue}if(B===23){U.italic=!1,H++;continue}if(B===24){U.underline="none",H++;continue}if(B===25){U.blink=!1,H++;continue}if(B===27){U.inverse=!1,H++;continue}if(B===28){U.hidden=!1,H++;continue}if(B===29){U.strikethrough=!1,H++;continue}if(B===53){U.overline=!0,H++;continue}if(B===55){U.overline=!1,H++;continue}if(B>=30&&B<=37){U.fg={type:"named",name:uX[B-30]},H++;continue}if(B===39){U.fg={type:"default"},H++;continue}if(B>=40&&B<=47){U.bg={type:"named",name:uX[B-40]},H++;continue}if(B===49){U.bg={type:"default"},H++;continue}if(B>=90&&B<=97){U.fg={type:"named",name:uX[B-90+8]},H++;continue}if(B>=100&&B<=107){U.bg={type:"named",name:uX[B-100+8]},H++;continue}if(B===38){let W=kH(z,H);if(W){U.fg="index"in W?{type:"indexed",index:W.index}:{type:"rgb",...W},H+=F.colon?1:("index"in W)?3:5;continue}}if(B===48){let W=kH(z,H);if(W){U.bg="index"in W?{type:"indexed",index:W.index}:{type:"rgb",...W},H+=F.colon?1:("index"in W)?3:5;continue}}if(B===58){let W=kH(z,H);if(W){U.underlineColor="index"in W?{type:"indexed",index:W.index}:{type:"rgb",...W},H+=F.colon?1:("index"in W)?3:5;continue}}if(B===59){U.underlineColor={type:"default"},H++;continue}H++}return U}var uX,Ck;var _N=h(()=>{mX();uX=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ck=["none","single","double","curly","dotted","dashed"]});function Sk(Q){return Q>=9728&&Q<=9983||Q>=9984&&Q<=10175||Q>=127744&&Q<=129535||Q>=129536&&Q<=129791||Q>=127456&&Q<=127487}function fk(Q){return Q>=4352&&Q<=4447||Q>=11904&&Q<=40959||Q>=44032&&Q<=55203||Q>=63744&&Q<=64255||Q>=65040&&Q<=65055||Q>=65072&&Q<=65135||Q>=65280&&Q<=65376||Q>=65504&&Q<=65510||Q>=131072&&Q<=196605||Q>=196608&&Q<=262141}function bk(Q){let K=0;for(let z of Q)if(K++,K>1)return!0;return!1}function wk(Q){if(bk(Q))return 2;let K=Q.codePointAt(0);if(K===void 0)return 1;if(Sk(K)||fk(K))return 2;return 1}function*$N(Q){for(let{segment:K}of TX().segment(Q))yield{value:K,width:wk(K)}}function vk(Q){if(Q==="")return[];return Q.split(/[;:]/).map((K)=>K===""?0:parseInt(K,10))}function yk(Q){let K=Q.slice(2);if(K.length===0)return null;let z=K.charCodeAt(K.length-1),U=K.slice(0,-1),H="",F=U,B="";if(U.length>0&&"?>=".includes(U[0]))H=U[0],F=U.slice(1);let W=F.match(/([^0-9;:]+)$/);if(W)B=W[1],F=F.slice(0,-B.length);let Y=vk(F),D=Y[0]??1,A=Y[1]??1;if(z===vZ.SGR&&H==="")return{type:"sgr",params:F};if(z===vZ.CUU)return{type:"cursor",action:{type:"move",direction:"up",count:D}};if(z===vZ.CUD)return{type:"cursor",action:{type:"move",direction:"down",count:D}};if(z===vZ.CUF)return{type:"cursor",action:{type:"move",direction:"forward",count:D}};if(z===vZ.CUB)return{type:"cursor",action:{type:"move",direction:"back",count:D}};if(z===vZ.CNL)return{type:"cursor",action:{type:"nextLine",count:D}};if(z===vZ.CPL)return{type:"cursor",action:{type:"prevLine",count:D}};if(z===vZ.CHA)return{type:"cursor",action:{type:"column",col:D}};if(z===vZ.CUP||z===vZ.HVP)return{type:"cursor",action:{type:"position",row:D,col:A}};if(z===vZ.VPA)return{type:"cursor",action:{type:"row",row:D}};if(z===vZ.ED)return{type:"erase",action:{type:"display",region:lW[Y[0]??0]??"toEnd"}};if(z===vZ.EL)return{type:"erase",action:{type:"line",region:aW[Y[0]??0]??"toEnd"}};if(z===vZ.ECH)return{type:"erase",action:{type:"chars",count:D}};if(z===vZ.SU)return{type:"scroll",action:{type:"up",count:D}};if(z===vZ.SD)return{type:"scroll",action:{type:"down",count:D}};if(z===vZ.DECSTBM)return{type:"scroll",action:{type:"setRegion",top:D,bottom:A}};if(z===vZ.SCOSC)return{type:"cursor",action:{type:"save"}};if(z===vZ.SCORC)return{type:"cursor",action:{type:"restore"}};if(z===vZ.DECSCUSR&&B===" ")return{type:"cursor",action:{type:"style",...f3[D]??f3[0]}};if(H==="?"&&(z===vZ.SM||z===vZ.RM)){let N=z===vZ.SM;if(D===DZ.CURSOR_VISIBLE)return{type:"cursor",action:N?{type:"show"}:{type:"hide"}};if(D===DZ.ALT_SCREEN_CLEAR||D===DZ.ALT_SCREEN)return{type:"mode",action:{type:"alternateScreen",enabled:N}};if(D===DZ.BRACKETED_PASTE)return{type:"mode",action:{type:"bracketedPaste",enabled:N}};if(D===DZ.MOUSE_NORMAL)return{type:"mode",action:{type:"mouseTracking",mode:N?"normal":"off"}};if(D===DZ.MOUSE_BUTTON)return{type:"mode",action:{type:"mouseTracking",mode:N?"button":"off"}};if(D===DZ.MOUSE_ANY)return{type:"mode",action:{type:"mouseTracking",mode:N?"any":"off"}};if(D===DZ.FOCUS_EVENTS)return{type:"mode",action:{type:"focusEvents",enabled:N}}}return{type:"unknown",sequence:Q}}function gk(Q){if(Q.length<2)return"unknown";if(Q.charCodeAt(0)!==e9.ESC)return"unknown";let K=Q.charCodeAt(1);if(K===91)return"csi";if(K===93)return"osc";if(K===79)return"ss3";return"esc"}class hX{tokenizer=U4();style=x4();inLink=!1;linkUrl;reset(){this.tokenizer.reset(),this.style=x4(),this.inLink=!1,this.linkUrl=void 0}feed(Q){let K=this.tokenizer.feed(Q),z=[];for(let U of K){let H=this.processToken(U);z.push(...H)}return z}processToken(Q){switch(Q.type){case"text":return this.processText(Q.value);case"sequence":return this.processSequence(Q.value)}}processText(Q){let K=[],z="";for(let U of Q)if(U.charCodeAt(0)===e9.BEL){if(z){let H=[...$N(z)];if(H.length>0)K.push({type:"text",graphemes:H,style:{...this.style}});z=""}K.push({type:"bell"})}else z+=U;if(z){let U=[...$N(z)];if(U.length>0)K.push({type:"text",graphemes:U,style:{...this.style}})}return K}processSequence(Q){switch(gk(Q)){case"csi":{let z=yk(Q);if(!z)return[];if(z.type==="sgr")return this.style=PN(z.params,this.style),[];return[z]}case"osc":{let z=Q.slice(2);if(z.endsWith("\x07"))z=z.slice(0,-1);else if(z.endsWith("\x1B\\"))z=z.slice(0,-2);let U=qD(z);if(U){if(U.type==="link")if(U.action.type==="start")this.inLink=!0,this.linkUrl=U.action.url;else this.inLink=!1,this.linkUrl=void 0;return[U]}return[]}case"esc":{let z=Q.slice(1),U=MN(z);return U?[U]:[]}case"ss3":return[{type:"unknown",sequence:Q}];default:return[{type:"unknown",sequence:Q}]}}}var RN=h(()=>{WA();y8();S9();NK();LN();G6();_N();Rz();mX()});var IN=h(()=>{RN();mX()});function uk(Q){let z=new hX().feed(Q),U=[],H;for(let F of z){if(F.type==="link"){if(F.action.type==="start")H=F.action.url;else H=void 0;continue}if(F.type==="text"){let B=F.graphemes.map((D)=>D.value).join("");if(!B)continue;let W=hk(F.style);if(H)W.hyperlink=H;let Y=U[U.length-1];if(Y&&ck(Y.props,W))Y.text+=B;else U.push({text:B,props:W})}}return U}function hk(Q){let K={};if(Q.bold)K.bold=!0;if(Q.dim)K.dim=!0;if(Q.italic)K.italic=!0;if(Q.underline!=="none")K.underline=!0;if(Q.strikethrough)K.strikethrough=!0;if(Q.inverse)K.inverse=!0;let z=kN(Q.fg);if(z)K.color=z;let U=kN(Q.bg);if(U)K.backgroundColor=U;return K}function kN(Q){switch(Q.type){case"named":return pk[Q.name];case"indexed":return`ansi256(${Q.index})`;case"rgb":return`rgb(${Q.r},${Q.g},${Q.b})`;case"default":return}}function ck(Q,K){return Q.color===K.color&&Q.backgroundColor===K.backgroundColor&&Q.bold===K.bold&&Q.dim===K.dim&&Q.italic===K.italic&&Q.underline===K.underline&&Q.strikethrough===K.strikethrough&&Q.inverse===K.inverse&&Q.hyperlink===K.hyperlink}function dk(Q){return Q.color!==void 0||Q.backgroundColor!==void 0||Q.dim===!0||Q.bold===!0||Q.italic===!0||Q.underline===!0||Q.strikethrough===!0||Q.inverse===!0||Q.hyperlink!==void 0}function lk(Q){return Q.color!==void 0||Q.backgroundColor!==void 0||Q.dim===!0||Q.bold===!0||Q.italic===!0||Q.underline===!0||Q.strikethrough===!0||Q.inverse===!0}function EN(Q){let K=EH.c(14),z,U,H,F;if(K[0]!==Q)({bold:z,dim:H,children:U,...F}=Q),K[0]=Q,K[1]=z,K[2]=U,K[3]=H,K[4]=F;else z=K[1],U=K[2],H=K[3],F=K[4];if(H){let W;if(K[5]!==U||K[6]!==F)W=_Q.jsxDEV(tZ,{...F,dim:!0,children:U},void 0,!1,void 0,this),K[5]=U,K[6]=F,K[7]=W;else W=K[7];return W}if(z){let W;if(K[8]!==U||K[9]!==F)W=_Q.jsxDEV(tZ,{...F,bold:!0,children:U},void 0,!1,void 0,this),K[8]=U,K[9]=F,K[10]=W;else W=K[10];return W}let B;if(K[11]!==U||K[12]!==F)B=_Q.jsxDEV(tZ,{...F,children:U},void 0,!1,void 0,this),K[11]=U,K[12]=F,K[13]=B;else B=K[13];return B}var EH,TN,_Q,mk,pk;var CN=h(()=>{IH();P4();IN();EH=r(HQ(),1),TN=r(WZ(),1),_Q=r(t0(),1),mk=TN.default.memo(function(K){let z=EH.c(12),{children:U,dimColor:H}=K;if(typeof U!=="string"){let D;if(z[0]!==U||z[1]!==H)D=H?_Q.jsxDEV(tZ,{dim:!0,children:String(U)},void 0,!1,void 0,this):_Q.jsxDEV(tZ,{children:String(U)},void 0,!1,void 0,this),z[0]=U,z[1]=H,z[2]=D;else D=z[2];return D}if(U==="")return null;let F,B;if(z[3]!==U||z[4]!==H){B=Symbol.for("react.early_return_sentinel");Z:{let D=uk(U);if(D.length===0){B=null;break Z}if(D.length===1&&!dk(D[0].props)){B=H?_Q.jsxDEV(tZ,{dim:!0,children:D[0].text},void 0,!1,void 0,this):_Q.jsxDEV(tZ,{children:D[0].text},void 0,!1,void 0,this);break Z}let A;if(z[7]!==H)A=(N,M)=>{let L=N.props.hyperlink;if(H)N.props.dim=!0;let T=lk(N.props);if(L)return T?_Q.jsxDEV(TK,{url:L,children:_Q.jsxDEV(EN,{color:N.props.color,backgroundColor:N.props.backgroundColor,dim:N.props.dim,bold:N.props.bold,italic:N.props.italic,underline:N.props.underline,strikethrough:N.props.strikethrough,inverse:N.props.inverse,children:N.text},void 0,!1,void 0,this)},M,!1,void 0,this):_Q.jsxDEV(TK,{url:L,children:N.text},M,!1,void 0,this);return T?_Q.jsxDEV(EN,{color:N.props.color,backgroundColor:N.props.backgroundColor,dim:N.props.dim,bold:N.props.bold,italic:N.props.italic,underline:N.props.underline,strikethrough:N.props.strikethrough,inverse:N.props.inverse,children:N.text},M,!1,void 0,this):N.text},z[7]=H,z[8]=A;else A=z[8];F=D.map(A)}z[3]=U,z[4]=H,z[5]=F,z[6]=B}else F=z[5],B=z[6];if(B!==Symbol.for("react.early_return_sentinel"))return B;let W=F,Y;if(z[9]!==W||z[10]!==H)Y=H?_Q.jsxDEV(tZ,{dim:!0,children:W},void 0,!1,void 0,this):_Q.jsxDEV(tZ,{children:W},void 0,!1,void 0,this),z[9]=W,z[10]=H,z[11]=Y;else Y=z[11];return Y});pk={black:"ansi:black",red:"ansi:red",green:"ansi:green",yellow:"ansi:yellow",blue:"ansi:blue",magenta:"ansi:magenta",cyan:"ansi:cyan",white:"ansi:white",brightBlack:"ansi:blackBright",brightRed:"ansi:redBright",brightGreen:"ansi:greenBright",brightYellow:"ansi:yellowBright",brightBlue:"ansi:blueBright",brightMagenta:"ansi:magentaBright",brightCyan:"ansi:cyanBright",brightWhite:"ansi:whiteBright"}});function ak(Q){let K=xN.c(30),z,U,H,F,B,W;if(K[0]!==Q)({onAction:H,tabIndex:W,autoFocus:z,children:U,ref:F,...B}=Q),K[0]=Q,K[1]=z,K[2]=U,K[3]=H,K[4]=F,K[5]=B,K[6]=W;else z=K[1],U=K[2],H=K[3],F=K[4],B=K[5],W=K[6];let Y=W===void 0?0:W,[D,A]=a7.useState(!1),[N,M]=a7.useState(!1),[L,T]=a7.useState(!1),_=a7.useRef(null),E,C;if(K[7]===Symbol.for("react.memo_cache_sentinel"))E=()=>()=>{if(_.current)clearTimeout(_.current)},C=[],K[7]=E,K[8]=C;else E=K[7],C=K[8];a7.useEffect(E,C);let I;if(K[9]!==H)I=(z0)=>{if(z0.key==="return"||z0.key===" "){if(z0.preventDefault(),T(!0),H(),_.current)clearTimeout(_.current);_.current=setTimeout(ik,100,T)}},K[9]=H,K[10]=I;else I=K[10];let g=I,u;if(K[11]!==H)u=(z0)=>{H()},K[11]=H,K[12]=u;else u=K[12];let l=u,m;if(K[13]===Symbol.for("react.memo_cache_sentinel"))m=(z0)=>A(!0),K[13]=m;else m=K[13];let s=m,y;if(K[14]===Symbol.for("react.memo_cache_sentinel"))y=(z0)=>A(!1),K[14]=y;else y=K[14];let S=y,o;if(K[15]===Symbol.for("react.memo_cache_sentinel"))o=()=>M(!0),K[15]=o;else o=K[15];let d=o,i;if(K[16]===Symbol.for("react.memo_cache_sentinel"))i=()=>M(!1),K[16]=i;else i=K[16];let Z0=i,Q0;if(K[17]!==U||K[18]!==L||K[19]!==D||K[20]!==N)Q0=typeof U==="function"?U({focused:D,hovered:N,active:L}):U,K[17]=U,K[18]=L,K[19]=D,K[20]=N,K[21]=Q0;else Q0=K[21];let a=Q0,G0;if(K[22]!==z||K[23]!==a||K[24]!==l||K[25]!==g||K[26]!==F||K[27]!==B||K[28]!==Y)G0=SN.jsxDEV(pQ,{ref:F,tabIndex:Y,autoFocus:z,onKeyDown:g,onClick:l,onFocus:s,onBlur:S,onMouseEnter:d,onMouseLeave:Z0,...B,children:a},void 0,!1,void 0,this),K[22]=z,K[23]=a,K[24]=l,K[25]=g,K[26]=F,K[27]=B,K[28]=Y,K[29]=G0;else G0=K[29];return G0}function ik(Q){return Q(!1)}var xN,a7,SN,nk;var fN=h(()=>{Q5();xN=r(HQ(),1),a7=r(WZ(),1),SN=r(t0(),1);nk=ak});function wN(Q){let K=bN.c(4),{count:z}=Q,U=z===void 0?1:z,H;if(K[0]!==U)H=`
250
- `.repeat(U),K[0]=U,K[1]=H;else H=K[1];let F;if(K[2]!==H)F=vN.jsxDEV("ink-text",{children:H},void 0,!1,void 0,this),K[2]=H,K[3]=F;else F=K[3];return F}var bN,vN;var yN=h(()=>{bN=r(HQ(),1),vN=r(t0(),1)});function sk(Q){let K=gN.c(8),z,U,H;if(K[0]!==Q)({children:U,fromLeftEdge:H,...z}=Q),K[0]=Q,K[1]=z,K[2]=U,K[3]=H;else z=K[1],U=K[2],H=K[3];let F=H?"from-left-edge":!0,B;if(K[4]!==z||K[5]!==U||K[6]!==F)B=mN.jsxDEV(pQ,{...z,noSelect:F,children:U},void 0,!1,void 0,this),K[4]=z,K[5]=U,K[6]=F,K[7]=B;else B=K[7];return B}var gN,mN;var uN=h(()=>{Q5();gN=r(HQ(),1),mN=r(t0(),1)});function ok(Q){let K=hN.c(6),{lines:z,width:U}=Q;if(z.length===0)return null;let H;if(K[0]!==z)H=z.join(`
251
- `),K[0]=z,K[1]=H;else H=K[1];let F;if(K[2]!==z.length||K[3]!==H||K[4]!==U)F=pN.jsxDEV("ink-raw-ansi",{rawText:H,rawWidth:U,rawHeight:z.length},void 0,!1,void 0,this),K[2]=z.length,K[3]=H,K[4]=U,K[5]=F;else F=K[5];return F}var hN,pN;var cN=h(()=>{hN=r(HQ(),1),pN=r(t0(),1)});function lN(){let Q=dN.c(1),K;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))K=aN.jsxDEV(pQ,{flexGrow:1},void 0,!1,void 0,this),Q[0]=K;else K=Q[0];return K}var dN,aN;var iN=h(()=>{Q5();dN=r(HQ(),1),aN=r(t0(),1)});function TH(){let Q=t6.useContext(MX),K=t6.useRef(null),z=t6.useRef({isVisible:!0}),U=t6.useCallback((H)=>{K.current=H},[]);return t6.useLayoutEffect(()=>{let H=K.current;if(!H?.yogaNode||!Q)return;let F=H.yogaNode.getComputedHeight(),B=Q.rows,W=H.yogaNode.getComputedTop(),Y=H.parentNode,D=H.yogaNode;while(Y){if(Y.yogaNode)W+=Y.yogaNode.getComputedTop(),D=Y.yogaNode;if(Y.scrollTop)W-=Y.scrollTop;Y=Y.parentNode}let A=D.getComputedHeight(),N=W+F,M=A>B?1:0,L=Math.max(0,A-B)+M,T=L+B,_=N>L&&W<T;if(_!==z.current.isVisible)z.current={isVisible:_}}),[U,z.current]}var t6;var CH=h(()=>{JH();t6=r(WZ(),1)});function rk(Q=16){let K=S4.useContext(L4),[z,{isVisible:U}]=TH(),[H,F]=S4.useState(()=>K?.now()??0),B=U&&Q!==null;return S4.useEffect(()=>{if(!K||!B)return;let W=K.now(),Y=()=>{let D=K.now();if(D-W>=Q)W=D,F(D)};return K.subscribe(Y,!0)},[K,Q,B]),[z,H]}var S4;var nN=h(()=>{NX();CH();S4=r(WZ(),1)});var sN,tk=()=>sN.useContext(AX),ek;var oN=h(()=>{nj();sN=r(WZ(),1),ek=tk});var ZM=y6((hv,eN)=>{var ZE="Expected a function",rN=NaN,JE="[object Symbol]",QE=/^\s+|\s+$/g,KE=/^[-+]0x[0-9a-f]+$/i,GE=/^0b[01]+$/i,zE=/^0o[0-7]+$/i,XE=parseInt,UE=typeof global=="object"&&global&&global.Object===Object&&global,qE=typeof self=="object"&&self&&self.Object===Object&&self,jE=UE||qE||Function("return this")(),HE=Object.prototype,FE=HE.toString,BE=Math.max,OE=Math.min,xH=function(){return jE.Date.now()};function WE(Q,K,z){var U,H,F,B,W,Y,D=0,A=!1,N=!1,M=!0;if(typeof Q!="function")throw TypeError(ZE);if(K=tN(K)||0,SH(z))A=!!z.leading,N="maxWait"in z,F=N?BE(tN(z.maxWait)||0,K):F,M="trailing"in z?!!z.trailing:M;function L(m){var s=U,y=H;return U=H=void 0,D=m,B=Q.apply(y,s),B}function T(m){return D=m,W=setTimeout(C,K),A?L(m):B}function _(m){var s=m-Y,y=m-D,S=K-s;return N?OE(S,F-y):S}function E(m){var s=m-Y,y=m-D;return Y===void 0||s>=K||s<0||N&&y>=F}function C(){var m=xH();if(E(m))return I(m);W=setTimeout(C,_(m))}function I(m){if(W=void 0,M&&U)return L(m);return U=H=void 0,B}function g(){if(W!==void 0)clearTimeout(W);D=0,U=Y=H=W=void 0}function u(){return W===void 0?B:I(xH())}function l(){var m=xH(),s=E(m);if(U=arguments,H=this,Y=m,s){if(W===void 0)return T(Y);if(N)return W=setTimeout(C,K),L(Y)}if(W===void 0)W=setTimeout(C,K);return B}return l.cancel=g,l.flush=u,l}function SH(Q){var K=typeof Q;return!!Q&&(K=="object"||K=="function")}function YE(Q){return!!Q&&typeof Q=="object"}function VE(Q){return typeof Q=="symbol"||YE(Q)&&FE.call(Q)==JE}function tN(Q){if(typeof Q=="number")return Q;if(VE(Q))return rN;if(SH(Q)){var K=typeof Q.valueOf=="function"?Q.valueOf():Q;Q=SH(K)?K+"":K}if(typeof Q!="string")return Q===0?Q:+Q;Q=Q.replace(QE,"");var z=GE.test(Q);return z||zE.test(Q)?XE(Q.slice(2),z?2:8):KE.test(Q)?rN:+Q}eN.exports=WE});function pv(Q,K){let z=fJ.useRef(Q);JM(()=>{z.current=Q},[Q]),fJ.useEffect(()=>{if(K===null)return;let U=setInterval(()=>{z.current()},K);return()=>{clearInterval(U)}},[K])}function QM(Q){let K=fJ.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return JM(()=>{K.current=Q},[Q]),fJ.useCallback((...z)=>{var U;return(U=K.current)==null?void 0:U.call(K,...z)},[K])}function DE(Q){let K=fJ.useRef(Q);K.current=Q,fJ.useEffect(()=>()=>{K.current()},[])}function cv(Q,K=500,z){let U=fJ.useRef();DE(()=>{if(U.current)U.current.cancel()});let H=fJ.useMemo(()=>{let F=fH.default(Q,K,z),B=(...W)=>{return F(...W)};return B.cancel=()=>{F.cancel()},B.isPending=()=>{return!!U.current},B.flush=()=>{return F.flush()},B},[Q,K,z]);return fJ.useEffect(()=>{U.current=fH.default(Q,K,z)},[Q,K,z]),H}var fJ,fH,JM;var KM=h(()=>{fJ=r(WZ(),1),fH=r(ZM(),1),JM=typeof window<"u"?fJ.useLayoutEffect:fJ.useEffect});var pX,AE=(Q,K={})=>{let{setRawMode:z,internal_exitOnCtrlC:U,internal_eventEmitter:H}=y1();pX.useLayoutEffect(()=>{if(K.isActive===!1)return;return z(!0),()=>{z(!1)}},[K.isActive,z]);let F=QM((B)=>{if(K.isActive===!1)return;let{input:W,key:Y}=B;if(!(W==="c"&&Y.ctrl)||!U)Q(W,Y,B)});pX.useEffect(()=>{return H?.on("input",F),()=>{H?.removeListener("input",F)}},[H,F])},NE;var GM=h(()=>{KM();Hz();pX=r(WZ(),1),NE=AE});function ME(Q){let K=X6.useContext(L4),[z,U]=X6.useState(()=>K?.now()??0);return X6.useEffect(()=>{if(!K)return;let H=K.now(),F=()=>{let B=K.now();if(B-H>=Q)H=B,U(B)};return K.subscribe(F,!1)},[K,Q]),z}function LE(Q,K){let z=X6.useRef(Q);z.current=Q;let U=X6.useContext(L4);X6.useEffect(()=>{if(!U||K===null)return;let H=U.now(),F=()=>{let B=U.now();if(B-H>=K)H=B,z.current()};return U.subscribe(F,!1)},[U,K])}var X6;var zM=h(()=>{NX();X6=r(WZ(),1)});function PE(){z5.useContext(f8);let Q=z6.get(process.stdout);return z5.useMemo(()=>{if(!Q)return{copySelection:()=>"",copySelectionNoClear:()=>"",clearSelection:()=>{},hasSelection:()=>!1,getState:()=>null,subscribe:()=>()=>{},shiftAnchor:()=>{},shiftSelection:()=>{},moveFocus:()=>{},captureScrolledRows:()=>{},setSelectionBgColor:()=>{}};return{copySelection:()=>Q.copySelection(),copySelectionNoClear:()=>Q.copySelectionNoClear(),clearSelection:()=>Q.clearTextSelection(),hasSelection:()=>Q.hasTextSelection(),getState:()=>Q.selection,subscribe:(K)=>Q.subscribeToSelectionChange(K),shiftAnchor:(K,z,U)=>qX(Q.selection,K,z,U),shiftSelection:(K,z,U)=>Q.shiftSelectionForScroll(K,z,U),moveFocus:(K)=>Q.moveSelectionFocus(K),captureScrolledRows:(K,z,U)=>Q.captureScrolledRows(K,z,U),setSelectionBgColor:(K)=>Q.setSelectionBgColor(K)}},[Q])}function ev(){z5.useContext(f8);let Q=z6.get(process.stdout);return z5.useSyncExternalStore(Q?Q.subscribeToSelectionChange:_E,Q?Q.hasTextSelection:$E)}var z5,_E=()=>()=>{},$E=()=>!1;var XM=h(()=>{jz();_X();HX();z5=r(WZ(),1)});function IE(Q){let K=b4.useContext(k4),z=b4.useRef(null);b4.useEffect(()=>{if(Q===null){if(z.current!==null&&K&&N4())K(sJ(WX));z.current=null;return}if(z.current=Q,!K||!N4())return;K(sJ(HD(RE[Q])))},[Q,K])}var b4,f4=(Q,K,z)=>({type:"rgb",r:Q,g:K,b:z}),RE;var UM=h(()=>{G6();wX();b4=r(WZ(),1),RE={idle:{indicator:f4(0,215,95),status:"Idle",statusColor:f4(136,136,136)},busy:{indicator:f4(255,149,0),status:"Working…",statusColor:f4(255,149,0)},waiting:{indicator:f4(95,135,255),status:"Waiting",statusColor:f4(95,135,255)}}});function kE(Q){let K=cX.useContext(k4);cX.useEffect(()=>{if(Q===null||!K)return;let z=O4(Q);if(process.platform==="win32")process.title=z;else K(OJ(IZ.SET_TITLE_AND_ICON,z))},[Q,K])}var cX;var qM=h(()=>{Zj();G6();wX();cX=r(WZ(),1)});var EE=(Q)=>({width:Q.yogaNode?.getComputedWidth()??0,height:Q.yogaNode?.getComputedHeight()??0}),TE;var jM=h(()=>{TE=EE});function FM(Q){return HM.createElement(V3,null,Q)}async function Fy(Q,K){return eA(FM(Q),K)}async function By(Q){let K=await tA(Q);return{...K,render:(z)=>K.render(FM(z))}}var HM;var CE=h(()=>{u1();ZN();QN();UN();BN();u1();CN();Q5();fN();IH();yN();uN();cN();iN();P4();KH();qz();S8();y3();g3();XK();nN();oN();GM();zM();XM();Hz();UM();ej();qM();CH();jM();G6();lz();HM=r(WZ(),1)});
252
- export{HQ as FS,G9 as GS,Q4 as HS,f8 as IS,jz as JS,y1 as KS,uE as LS,UW as MS,V3 as NS,m1 as OS,M_ as PS,L_ as QS,u1 as RS,Bz as SS,OW as TS,_z as US,d1 as VS,m8 as WS,i1 as XS,S9 as YS,Iz as ZS,n1 as _S,J6 as $S,B4 as aT,t1 as bT,uz as cT,e1 as dT,l8 as eT,e3 as fT,Gj as gT,UV as hT,i8 as iT,BQ as jT,Tx as kT,KK as lT,zK as mT,rx as nT,tz as oT,s8 as pT,ez as qT,FX as rT,YK as sT,r8 as tT,vj as uT,QD as vT,DK as wT,AK as xT,NK as yT,KD as zT,GD as AT,sJ as BT,_S as CT,UD as DT,jD as ET,$S as FT,WX as GT,N4 as HT,G6 as IT,KI as JT,VX as KT,SS as LT,LK as MT,DX as NT,AD as OT,lj as PT,aj as QT,tj as RT,ej as ST,SD as TT,fD as UT,bD as VT,pQ as WT,Q5 as XT,tZ as YT,P4 as ZT,MX as _T,JH as $T,QH as aU,tD as bU,PX as cU,z6 as dU,_X as eU,k4 as fU,ab as gU,wX as hU,E4 as iU,yw as jU,vX as kU,_k as lU,QN as mU,Rk as nU,Ik as oU,HN as pU,BN as qU,DN as rU,AN as sU,TK as tU,IH as uU,mk as vU,nk as wU,wN as xU,sk as yU,ok as zU,lN as AU,TH as BU,CH as CU,rk as DU,ek as EU,oN as FU,pv as GU,cv as HU,KM as IU,NE as JU,ME as KU,LE as LU,PE as MU,ev as NU,XM as OU,IE as PU,kE as QU,TE as RU,Fy as SU,By as TU,CE as UU};