@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
@@ -0,0 +1,252 @@
1
+ import{rV as nD,wV as FI}from"./cli-0.1.10-0n4bjm9z.mjs";import{CV as QI,xV as JI,zV as gj}from"./cli-0.1.10-4n8rvtk0.mjs";import{kX as t0}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as OZ}from"./cli-0.1.10-28zx3btb.mjs";import{A0 as EN,B0 as TN,C0 as EH,D0 as UD,E0 as _H,F0 as Z5,G0 as D4,H0 as vX,I0 as qD,J0 as QA,K0 as GA,L0 as KA,M0 as zA,N0 as XY,O0 as UY,P0 as aD,Q0 as iD,R0 as NG,S0 as e8,T0 as MG,U0 as LG,V0 as h6,W0 as jD,Y0 as ZI,o0 as r9,p0 as x9,q0 as Z6,r0 as j4,s0 as u6,t0 as f3,u0 as d1,v0 as eW,w0 as $z,x0 as ZY,y0 as W4,z0 as yZ}from"./cli-0.1.10-73y7xdxy.mjs";import{w5 as KN,x5 as O0,y5 as S3}from"./cli-0.1.10-wjmtd9vm.mjs";import{F6 as Ik,G6 as kk}from"./cli-0.1.10-fcarec7s.mjs";import{D7 as Bj,G7 as tA,H7 as eI,L7 as z9,N7 as nW,Oba as BW,r_ as Y4,sba as HW,t_ as vj,vba as Hz,y7 as c6}from"./cli-0.1.10-mt6tj76h.mjs";import{hfa as l$,ifa as dY,jfa as lY,kfa as rY,lfa as aY,mfa as q4,nfa as Zj,ofa as CJ,pfa as K4}from"./cli-0.1.10-nzxw7p2m.mjs";import{Rfa as TX,Xfa as DA}from"./cli-0.1.10-97rwbawt.mjs";import{Wga as MZ,Zga as g7}from"./cli-0.1.10-e4qewc1p.mjs";import{bha as m6,cha as iW,lha as b3}from"./cli-0.1.10-y1bkenem.mjs";import{Dja as lD,Eja as rA,Jka as aW,Oma as x3,uia as PW,via as f_}from"./cli-0.1.10-mqgz2v10.mjs";import{Rma as YW,Sma as E_,Xma as b8,Yma as N3}from"./cli-0.1.10-akaq0zte.mjs";import{Gna as r,Ina as f6,Kna as p,Lna as LR}from"./cli-0.1.10-hyxg32sc.mjs";var jQ=f6((CE,KW)=>{var A_=r(OZ()),eP=Object.create,Xz=Object.defineProperty,Z_=Object.getOwnPropertyDescriptor,J_=Object.getOwnPropertyNames,Q_=Object.getPrototypeOf,G_=Object.prototype.hasOwnProperty,K_=(Q,K)=>{for(var z in K)Xz(Q,z,{get:K[z],enumerable:!0})},QW=(Q,K,z,U)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let H of J_(K))if(!G_.call(Q,H)&&H!==z)Xz(Q,H,{get:()=>K[H],enumerable:!(U=Z_(K,H))||U.enumerable})}return Q},z_=(Q,K,z)=>(z=Q!=null?eP(Q_(Q)):{},QW(K||!Q||!Q.__esModule?Xz(z,"default",{value:Q,enumerable:!0}):z,Q)),X_=(Q)=>QW(Xz({},"__esModule",{value:!0}),Q),GW={};K_(GW,{$dispatcherGuard:()=>H_,$makeReadOnly:()=>F_,$reset:()=>B_,$structuralCheck:()=>D_,c:()=>j_,clearRenderCounterRegistry:()=>O_,renderCounterRegistry:()=>f1,useRenderCounter:()=>V_});KW.exports=X_(GW);var t5=z_(A_),{useRef:U_,useEffect:q_,isValidElement:o5}=t5,eO,O3=(eO=t5.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?eO:t5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W3=Symbol.for("react.memo_cache_sentinel"),ZW,j_=typeof((ZW=t5.__COMPILER_RUNTIME)==null?void 0:ZW.c)==="function"?t5.__COMPILER_RUNTIME.c:function(K){return t5.useMemo(()=>{let z=Array(K);for(let U=0;U<K;U++)z[U]=W3;return z[W3]=!0,z},[])},zz={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach((Q)=>{zz[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 b1=null;zz.useMemoCache=(Q)=>{if(b1==null)throw Error("React Compiler internal invariant violation: unexpected null dispatcher");else return b1.useMemoCache(Q)};function Kz(Q){return O3.ReactCurrentDispatcher.current=Q,O3.ReactCurrentDispatcher.current}var r5=[];function H_(Q){let K=O3.ReactCurrentDispatcher.current;if(Q===0){if(r5.push(K),r5.length===1)b1=K;if(K===zz)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.");Kz(zz)}else if(Q===1){let z=r5.pop();if(z==null)throw Error("React Compiler internal error: unexpected null in guard stack");if(r5.length===0)b1=null;Kz(z)}else if(Q===2)r5.push(K),Kz(b1);else if(Q===3){let z=r5.pop();if(z==null)throw Error("React Compiler internal error: unexpected null in guard stack");Kz(z)}else throw Error("React Compiler internal error: unreachable block"+Q)}function B_(Q){for(let K=0;K<Q.length;K++)Q[K]=W3}function F_(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var f1=new Map;function O_(){for(let Q of f1.values())Q.forEach((K)=>{K.count=0})}function W_(Q,K){let z=f1.get(Q);if(z==null)z=new Set,f1.set(Q,z);z.add(K)}function Y_(Q,K){let z=f1.get(Q);if(z==null)return;z.delete(K)}function V_(Q){let K=U_(null);if(K.current!=null)K.current.count+=1;q_(()=>{if(K.current==null){let z={count:0};W_(Q,z),K.current=z}return()=>{if(K.current!==null)Y_(Q,K.current)}})}var JW=new Set;function D_(Q,K,z,U,H,B){function F(D,A,N,M){let L=`${U}:${B} [${H}] ${z}${N} changed from ${D} to ${A} at depth ${M}`;if(JW.has(L))return;JW.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)F(`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)F("null",`type ${typeof A}`,N,M);else if(A===null)F(`type ${typeof D}`,"null",N,M);else if(D instanceof Map)if(!(A instanceof Map))F("Map instance","other value",N,M);else if(D.size!==A.size)F(`Map instance with size ${D.size}`,`Map instance with size ${A.size}`,N,M);else for(let[_,E]of D)if(!A.has(_))F(`Map instance with key ${_}`,`Map instance without key ${_}`,N,M);else Y(E,A.get(_),`${N}.get(${_})`,M+1);else if(A instanceof Map)F("other value","Map instance",N,M);else if(D instanceof Set){if(!(A instanceof Set))F("Set instance","other value",N,M);else if(D.size!==A.size)F(`Set instance with size ${D.size}`,`Set instance with size ${A.size}`,N,M);else for(let _ of A)if(!D.has(_))F(`Set instance without element ${_}`,`Set instance with element ${_}`,N,M)}else if(A instanceof Set)F("other value","Set instance",N,M);else if(L||T)if(L!==T)F(`type ${L?"array":"object"}`,`type ${T?"array":"object"}`,N,M);else if(D.length!==A.length)F(`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(o5(D)||o5(A))if(o5(D)!==o5(A))F(`type ${o5(D)?"React element":"object"}`,`type ${o5(A)?"React element":"object"}`,N,M);else if(D.type!==A.type)F(`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))F(`object without key ${_}`,`object with key ${_}`,N,M);for(let _ in D)if(!(_ in A))F(`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))F(`${isNaN(D)?"NaN":"non-NaN value"}`,`${isNaN(A)?"NaN":"non-NaN value"}`,N,M)}else if(D!==A)F(D,A,N,M)}Y(Q,K,"",0)}});class Q9{_didStopImmediatePropagation=!1;didStopImmediatePropagation(){return this._didStopImmediatePropagation}stopImmediatePropagation(){this._didStopImmediatePropagation=!0}}var S8=()=>{};import{EventEmitter as N_}from"events";var e5;var Uz=p(()=>{S8();e5=class e5 extends N_{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 Q9?K[0]:null;for(let H of z)if(H.apply(this,K),U?.didStopImmediatePropagation())break;return!0}}});var zW,XW,x8;var qz=p(()=>{Uz();zW=r(OZ(),1),XW=zW.createContext({stdin:process.stdin,internal_eventEmitter:new e5,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0,internal_querier:null});XW.displayName="InternalStdinContext";x8=XW});var UW,M_=()=>UW.useContext(x8),w1;var jz=p(()=>{qz();UW=r(OZ(),1),w1=M_});function v1(){if(Y3===void 0)Y3=L_()??"dark";return Y3}function mE(Q){if(Q==="auto")return v1();return Q}function L_(){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 Y3;var qW=()=>{};function P_(){return Hz().theme}function __(Q){HW((K)=>({...K,theme:Q}))}function D3({children:Q,initialState:K,onThemeSave:z=__}){let[U,H]=LQ.useState(K??P_),[B,F]=LQ.useState(null),[W,Y]=LQ.useState(()=>(K??U)==="auto"?v1():"dark"),D=B??U,{internal_querier:A}=w1();LQ.useEffect(()=>{},[D,A]);let N=D==="auto"?W:D,M=LQ.useMemo(()=>({themeSetting:U,setThemeSetting:(L)=>{if(H(L),F(null),L==="auto")Y(v1());z?.(L)},setPreviewTheme:(L)=>{if(F(L),L==="auto")Y(v1())},savePreview:()=>{if(B!==null)H(B),F(null),z?.(B)},cancelPreview:()=>{if(B!==null)F(null)},currentTheme:N}),[U,B,N,z]);return FW.jsxDEV(Bz.Provider,{value:M,children:Q},void 0,!1,void 0,this)}function y1(){let Q=V3.c(3),{currentTheme:K,setThemeSetting:z}=LQ.useContext(Bz),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 $_(){return LQ.useContext(Bz).themeSetting}function R_(){let Q=V3.c(4),{setPreviewTheme:K,savePreview:z,cancelPreview:U}=LQ.useContext(Bz),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 V3,LQ,FW,jW="dark",Bz;var g1=p(()=>{jz();BW();qW();V3=r(jQ(),1),LQ=r(OZ(),1),FW=r(t0(),1),Bz=LQ.createContext({themeSetting:jW,setThemeSetting:()=>{},setPreviewTheme:()=>{},savePreview:()=>{},cancelPreview:()=>{},currentTheme:jW})});function A3(Q,{include:K,exclude:z}={}){let U=(H)=>{let B=(F)=>typeof F==="string"?H===F:F.test(H);if(K)return K.some(B);if(z)return!z.some(B);return!0};for(let[H,B]of I_(Q.constructor.prototype)){if(B==="constructor"||!U(B))continue;let F=Reflect.getOwnPropertyDescriptor(H,B);if(F&&typeof F.value==="function")Q[B]=Q[B].bind(Q)}return Q}var I_=(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 OW=()=>{};function k_(){}var Fz;var WW=p(()=>{Fz=k_});var T_=function(){return YW.Date.now()},Oz;var VW=p(()=>{E_();Oz=T_});function S_(Q){var K=Q.length;while(K--&&C_.test(Q.charAt(K)));return K}var C_,DW;var AW=p(()=>{C_=/\s/;DW=S_});function b_(Q){return Q?Q.slice(0,DW(Q)+1).replace(x_,""):Q}var x_,NW;var MW=p(()=>{AW();x_=/^\s+/;NW=b_});function m_(Q){if(typeof Q=="number")return Q;if(PW(Q))return LW;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=NW(Q);var z=v_.test(Q);return z||y_.test(Q)?g_(Q.slice(2),z?2:8):w_.test(Q)?LW:+Q}var LW=NaN,w_,v_,y_,g_,M3;var _W=p(()=>{MW();N3();f_();w_=/^[-+]0x[0-9a-f]+$/i,v_=/^0b[01]+$/i,y_=/^0o[0-7]+$/i,g_=parseInt;M3=m_});function c_(Q,K,z){var U,H,B,F,W,Y,D=0,A=!1,N=!1,M=!0;if(typeof Q!="function")throw TypeError(u_);if(K=M3(K)||0,b8(z))A=!!z.leading,N="maxWait"in z,B=N?h_(M3(z.maxWait)||0,K):B,M="trailing"in z?!!z.trailing:M;function L(m){var s=U,y=H;return U=H=void 0,D=m,F=Q.apply(y,s),F}function T(m){return D=m,W=setTimeout(C,K),A?L(m):F}function _(m){var s=m-Y,y=m-D,x=K-s;return N?p_(x,B-y):x}function E(m){var s=m-Y,y=m-D;return Y===void 0||s>=K||s<0||N&&y>=B}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,F}function g(){if(W!==void 0)clearTimeout(W);D=0,U=Y=H=W=void 0}function u(){return W===void 0?F: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 F}return l.cancel=g,l.flush=u,l}var u_="Expected a function",h_,p_,$W;var RW=p(()=>{N3();VW();_W();h_=Math.max,p_=Math.min;$W=c_});function l_(Q,K,z){var U=!0,H=!0;if(typeof Q!="function")throw TypeError(d_);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 d_="Expected a function",IW;var kW=p(()=>{RW();N3();IW=l_});var Wz=f6((a_)=>{a_.ConcurrentRoot=1,a_.ContinuousEventPriority=8,a_.DefaultEventPriority=32,a_.DiscreteEventPriority=2,a_.IdleEventPriority=268435456,a_.LegacyRoot=0,a_.NoEventPriority=0});var k0,Yz,w6,YZ,EW,sZ,s9,TJ,f0,f8,w8,MJ,v6;var TW=p(()=>{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},w6={Flex:0,None:1,Contents:2},YZ={Left:0,Top:1,Right:2,Bottom:3,Start:4,End:5,Horizontal:6,Vertical:7,All:8},EW={None:0,StretchFlexBasis:1,AbsolutePositionWithoutInsetsExcludesPadding:2,AbsolutePercentAgainstInnerSize:4,All:2147483647,Classic:2147483646},sZ={Column:0,ColumnReverse:1,Row:2,RowReverse:3},s9={Column:0,Row:1,All:2},TJ={FlexStart:0,Center:1,FlexEnd:2,SpaceBetween:3,SpaceAround:4,SpaceEvenly:5},f0={Undefined:0,Exactly:1,AtMost:2},f8={Visible:0,Hidden:1,Scroll:2},w8={Static:0,Relative:1,Absolute:2},MJ={Undefined:0,Point:1,Percent:2,Auto:3},v6={NoWrap:0,Wrap:1,WrapReverse:2}});function Mz(Q){return{unit:MJ.Point,value:Q}}function G9(Q){return{unit:MJ.Percent,value:Q}}function hZ(Q,K){switch(Q.unit){case MJ.Point:return Q.value;case MJ.Percent:return isNaN(K)?NaN:Q.value*K/100;default:return NaN}}function R0(Q){return!isNaN(Q)}function aJ(Q,K){return Q===K||Q!==Q&&K!==K}function CW(){return{direction:Yz.Inherit,flexDirection:sZ.Column,justifyContent:TJ.FlexStart,alignItems:k0.Stretch,alignSelf:k0.Auto,alignContent:k0.FlexStart,flexWrap:v6.NoWrap,overflow:f8.Visible,display:w6.Flex,positionType:w8.Relative,flexGrow:0,flexShrink:0,flexBasis:y6,margin:[,,,,,,,,,].fill(gQ),padding:[,,,,,,,,,].fill(gQ),border:[,,,,,,,,,].fill(gQ),position:[,,,,,,,,,].fill(gQ),gap:[,,,].fill(gQ),width:y6,height:y6,minWidth:gQ,minHeight:gQ,maxWidth:gQ,maxHeight:gQ}}function w7(Q,K,z,U=!1){let H=Q[K];if(H.unit===MJ.Undefined)if(K===HQ||K===K9)H=Q[YZ.Horizontal];else H=Q[YZ.Vertical];if(H.unit===MJ.Undefined)H=Q[YZ.All];if(H.unit===MJ.Undefined){if(K===HQ)H=Q[YZ.Start];if(K===K9)H=Q[YZ.End]}if(H.unit===MJ.Undefined)return 0;if(H.unit===MJ.Auto)return U?NaN:0;return hZ(H,z)}function T9(Q,K){let z=Q[K];if(z.unit===MJ.Undefined)if(K===HQ||K===K9)z=Q[YZ.Horizontal];else z=Q[YZ.Vertical];if(z.unit===MJ.Undefined)z=Q[YZ.All];if(z.unit===MJ.Undefined){if(K===HQ)z=Q[YZ.Start];if(K===K9)z=Q[YZ.End]}return z}function o9(Q,K){return T9(Q,K).unit===MJ.Auto}function SW(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 L3(Q,K,z){let U=Q[6],H=Q[7],B=Q[8],F=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=B;if(D.unit===0)D=F;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=B;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=B;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=B;z[3]=D.unit===1?D.value:D.unit===2?D.value*Y:0}function h1(Q){return Q===sZ.Row||Q===sZ.RowReverse}function vW(Q){return Q===sZ.RowReverse||Q===sZ.ColumnReverse}function i_(Q){return h1(Q)?sZ.Column:sZ.Row}function R3(Q){switch(Q){case sZ.Row:return HQ;case sZ.RowReverse:return K9;case sZ.Column:return E9;case sZ.ColumnReverse:return g6}}function I3(Q){switch(Q){case sZ.Row:return K9;case sZ.RowReverse:return HQ;case sZ.Column:return g6;case sZ.ColumnReverse:return E9}}function yW(){let Q={pointScaleFactor:1,errata:EW.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=CW(),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??n_,this.isDirty_=!0,this.isReferenceBaseline_=!1,k3++}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,k3--}freeRecursive(){for(let Q of this.children)Q.freeRecursive();this.free()}reset(){this.style=CW(),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=I9(Q),this.markDirty()}setWidthPercent(Q){this.style.width=G9(Q),this.markDirty()}setWidthAuto(){this.style.width=y6,this.markDirty()}setHeight(Q){this.style.height=I9(Q),this.markDirty()}setHeightPercent(Q){this.style.height=G9(Q),this.markDirty()}setHeightAuto(){this.style.height=y6,this.markDirty()}setMinWidth(Q){this.style.minWidth=I9(Q),this.markDirty()}setMinWidthPercent(Q){this.style.minWidth=G9(Q),this.markDirty()}setMinHeight(Q){this.style.minHeight=I9(Q),this.markDirty()}setMinHeightPercent(Q){this.style.minHeight=G9(Q),this.markDirty()}setMaxWidth(Q){this.style.maxWidth=I9(Q),this.markDirty()}setMaxWidthPercent(Q){this.style.maxWidth=G9(Q),this.markDirty()}setMaxHeight(Q){this.style.maxHeight=I9(Q),this.markDirty()}setMaxHeightPercent(Q){this.style.maxHeight=G9(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=I9(Q),this.markDirty()}setFlexBasisPercent(Q){this.style.flexBasis=G9(Q),this.markDirty()}setFlexBasisAuto(){this.style.flexBasis=y6,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]=I9(K),this._hasPosition=Vz(this.style.position),this.markDirty()}setPositionPercent(Q,K){this.style.position[Q]=G9(K),this._hasPosition=!0,this.markDirty()}setPositionAuto(Q){this.style.position[Q]=y6,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=I9(K);if(this.style.margin[Q]=z,z.unit===MJ.Auto)this._hasAutoMargin=!0;else this._hasAutoMargin=SW(this.style.margin);this._hasMargin=this._hasAutoMargin||Vz(this.style.margin),this.markDirty()}setMarginPercent(Q,K){this.style.margin[Q]=G9(K),this._hasAutoMargin=SW(this.style.margin),this._hasMargin=!0,this.markDirty()}setMarginAuto(Q){this.style.margin[Q]=y6,this._hasAutoMargin=!0,this._hasMargin=!0,this.markDirty()}setPadding(Q,K){this.style.padding[Q]=I9(K),this._hasPadding=Vz(this.style.padding),this.markDirty()}setPaddingPercent(Q,K){this.style.padding[Q]=G9(K),this._hasPadding=!0,this.markDirty()}setBorder(Q,K){this.style.border[Q]=K===void 0?gQ:Mz(K),this._hasBorder=Vz(this.style.border),this.markDirty()}setGap(Q,K){this.style.gap[Q]=I9(K),this.markDirty()}setGapPercent(Q,K){this.style.gap[Q]=G9(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){T3=0,C3=0,m1=0,v7++;let U=Q===void 0?NaN:Q,H=K===void 0?NaN:K;u1(this,U,H,R0(U)?f0.Exactly:f0.Undefined,R0(H)?f0.Exactly:f0.Undefined,U,H,!0);let B=this.layout.margin,F=hZ(T9(this.style.position,HQ),R0(U)?U:0),W=hZ(T9(this.style.position,E9),R0(U)?U:0);this.layout.left=B[HQ]+(R0(F)?F:0),this.layout.top=B[E9]+(R0(W)?W:0),pW(this,this.config.pointScaleFactor,0,0)}}function P3(Q,K,z,U,H,B,F,W,Y,D){if(!Q._cIn)Q._cIn=new Float64Array(Dz*8),Q._cOut=new Float64Array(Dz*2);if(D&&Q._cGen!==v7)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]=B,M[N+5]=F,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=v7}function _3(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:T3,measured:C3,cacheHits:m1,live:k3}}function u1(Q,K,z,U,H,B,F,W,Y=!1,D=!1){T3++;let{style:A,layout:N}=Q,M=Q._cGen===v7&&!W;if(!Q.isDirty_||M){if(!Q.isDirty_&&Q._hasL&&Q._lWM===U&&Q._lHM===H&&Q._lFW===Y&&Q._lFH===D&&aJ(Q._lW,K)&&aJ(Q._lH,z)&&aJ(Q._lOW,B)&&aJ(Q._lOH,F)){m1++,N.width=Q._lOutW,N.height=Q._lOutH;return}if(Q._cN>0&&(M||!Q.isDirty_)){let e=Q._cIn;for(let S0=0;S0<Q._cN;S0++){let j0=S0*8;if(e[j0+2]===U&&e[j0+3]===H&&e[j0+6]===(Y?1:0)&&e[j0+7]===(D?1:0)&&aJ(e[j0],K)&&aJ(e[j0+1],z)&&aJ(e[j0+4],B)&&aJ(e[j0+5],F)){N.width=Q._cOut[S0*2],N.height=Q._cOut[S0*2+1],m1++;return}}}if(!Q.isDirty_&&!W&&Q._hasM&&Q._mWM===U&&Q._mHM===H&&aJ(Q._mW,K)&&aJ(Q._mH,z)&&aJ(Q._mOW,B)&&aJ(Q._mOH,F)){N.width=Q._mOutW,N.height=Q._mOutH,m1++;return}}let L=Q.isDirty_;if(W){if(Q._lW=K,Q._lH=z,Q._lWM=U,Q._lHM=H,Q._lOW=B,Q._lOH=F,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=B,Q._mOH=F,Q._hasM=!0,L)Q._hasL=!1;let{padding:T,border:_,margin:E}=N;if(Q._hasPadding)L3(A.padding,B,T);else T[0]=T[1]=T[2]=T[3]=0;if(Q._hasBorder)L3(A.border,B,_);else _[0]=_[1]=_[2]=_[3]=0;if(Q._hasMargin)L3(A.margin,B,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:hZ(A.width,B),u=D?NaN:hZ(A.height,F),l=K,m=z,s=U,y=H;if(R0(g))l=g,s=f0.Exactly;if(R0(u))m=u,y=f0.Exactly;if(l=k9(A,!0,l,B,F),m=k9(A,!1,m,B,F),Q.measureFunc&&Q.children.length===0){let e=s===f0.Undefined?NaN:Math.max(0,l-C),S0=y===f0.Undefined?NaN:Math.max(0,m-I);C3++;let j0=Q.measureFunc(e,s,S0,y);Q.layout.width=s===f0.Exactly?l:k9(A,!0,(j0.width??0)+C,B,F),Q.layout.height=y===f0.Exactly?m:k9(A,!1,(j0.height??0)+I,B,F),_3(Q,W),P3(Q,K,z,U,H,B,F,Y,D,L);return}if(Q.children.length===0){Q.layout.width=s===f0.Exactly?l:k9(A,!0,C,B,F),Q.layout.height=y===f0.Exactly?m:k9(A,!1,I,B,F),_3(Q,W),P3(Q,K,z,U,H,B,F,Y,D,L);return}let x=A.flexDirection,o=i_(x),d=h1(x),i=d?l:m,Z0=d?m:l,Q0=d?s:y,a=d?y:s,K0=d?C:I,z0=d?I:C,w0=R0(i)?Math.max(0,i-K0):NaN,C0=R0(Z0)?Math.max(0,Z0-z0):NaN,PZ=fW(A,d?s9.Column:s9.Row,w0),_Z=[],OJ=[];hW(Q,_Z,OJ);let o0=R0(l)?l:NaN,kZ=R0(m)?m:NaN,zJ=A.flexWrap!==v6.NoWrap,sJ=fW(A,d?s9.Row:s9.Column,C0);for(let e of _Z)e._flexBasis=o_(e,x,w0,C0,a,o0,kZ);let LJ=[];if(!zJ||!R0(w0)||_Z.length===0){for(let e of _Z)e._lineIndex=0;LJ.push(_Z)}else{let e=0,S0=0;for(let j0=0;j0<_Z.length;j0++){let QZ=_Z[j0],g0=k9(QZ.style,d,QZ._flexBasis,o0,kZ),P0=Math.max(0,g0)+Az(QZ,x,o0),fJ=j0>e?PZ:0;if(j0>e&&S0+fJ+P0>w0)LJ.push(_Z.slice(e,j0)),e=j0,S0=P0;else S0+=fJ+P0;QZ._lineIndex=LJ.length}LJ.push(_Z.slice(e))}let GZ=LJ.length,bJ=e_(Q,_Z),y0=Array(GZ),b9=Array(GZ),EZ=bJ?Array(GZ).fill(0):[],UZ=0,DZ=0;for(let e=0;e<GZ;e++){let S0=LJ[e],j0=S0.length>1?PZ*(S0.length-1):0,QZ=j0;for(let _0 of S0)QZ+=_0._flexBasis+Az(_0,x,o0);let g0=w0;if(!R0(g0)){let _0=d?B:F,l0=hZ(d?A.minWidth:A.minHeight,_0),KZ=hZ(d?A.maxWidth:A.maxHeight,_0);if(R0(KZ)&&QZ>KZ-K0)g0=Math.max(0,KZ-K0);else if(R0(l0)&&QZ<l0-K0)g0=Math.max(0,l0-K0)}r_(S0,g0,QZ,d,o0,kZ);let P0=0;for(let _0 of S0){let l0=_0.style,KZ=l0.alignSelf===k0.Auto?A.alignItems:l0.alignSelf,$Z=Az(_0,o,o0),Y0=NaN,HZ=f0.Undefined,CZ=hZ(d?l0.height:l0.width,d?kZ:o0),j9=d?E9:HQ,SZ=d?g6:K9,tZ=_0._hasAutoMargin&&(o9(l0.margin,j9)||o9(l0.margin,SZ));if(R0(CZ))Y0=CZ,HZ=f0.Exactly;else if(KZ===k0.Stretch&&!tZ&&!zJ&&R0(C0)&&a===f0.Exactly)Y0=Math.max(0,C0-$Z),HZ=f0.Exactly;else if(!zJ&&R0(C0))Y0=Math.max(0,C0-$Z),HZ=f0.AtMost;let xZ=d?_0._mainSize:Y0,wJ=d?Y0:_0._mainSize;u1(_0,xZ,wJ,d?f0.Exactly:HZ,d?HZ:f0.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 KZ of S0){if(mW(Q,KZ)!==k0.Baseline)continue;let $Z=w7(KZ.style.margin,E9,o0),Y0=w7(KZ.style.margin,g6,o0),HZ=E3(KZ)+$Z,CZ=KZ.layout.height+$Z+Y0-HZ;if(HZ>_0)_0=HZ;if(CZ>l0)l0=CZ}if(EZ[e]=_0,_0+l0>P0)P0=_0+l0}let fJ=R3(x),$Q=I3(x),RQ=j0;for(let _0 of S0){let l0=_0.layout.margin;RQ+=_0._mainSize+l0[fJ]+l0[$Q]}y0[e]=RQ,b9[e]=P0,UZ=Math.max(UZ,RQ),DZ+=P0}let FQ=GZ>1?sJ*(GZ-1):0;DZ+=FQ;let WJ=A.overflow===f8.Scroll,PJ=UZ+K0,_Q=Q0===f0.Exactly?i:Q0===f0.AtMost&&WJ?Math.max(Math.min(i,PJ),K0):zJ&&GZ>1&&Q0===f0.AtMost?i:PJ,X0=DZ+z0,$0=a===f0.Exactly?Z0:a===f0.AtMost&&WJ?Math.max(Math.min(Z0,X0),z0):X0;if(Q.layout.width=k9(A,!0,d?_Q:$0,B,F),Q.layout.height=k9(A,!1,d?$0:_Q,B,F),_3(Q,W),P3(Q,K,z,U,H,B,F,Y,D,L),!W)return;let V0=(d?Q.layout.width:Q.layout.height)-K0,t=(d?Q.layout.height:Q.layout.width)-z0,i0=R3(x),U0=I3(x),F0=d?E9:HQ,W0=d?g6:K9,TZ=vW(x),r0=d?Q.layout.width:Q.layout.height,n0=T[F0]+_[F0],cZ=sJ,XJ=t-DZ;if(GZ===1&&!zJ&&!bJ)b9[0]=t;else{let e=Math.max(0,XJ);switch(A.alignContent){case k0.FlexStart:break;case k0.Center:n0+=XJ/2;break;case k0.FlexEnd:n0+=XJ;break;case k0.Stretch:if(GZ>0&&e>0){let S0=e/GZ;for(let j0=0;j0<GZ;j0++)b9[j0]+=S0}break;case k0.SpaceBetween:if(GZ>1)cZ+=e/(GZ-1);break;case k0.SpaceAround:if(GZ>0)cZ+=e/GZ,n0+=e/GZ/2;break;case k0.SpaceEvenly:if(GZ>0)cZ+=e/(GZ+1),n0+=e/(GZ+1);break;default:break}}let ZZ=A.flexWrap===v6.WrapReverse,YJ=d?Q.layout.height:Q.layout.width,d0=n0;for(let e=0;e<GZ;e++){let S0=LJ[e],j0=b9[e],QZ=y0[e],g0=S0.length;if(zJ||a!==f0.Exactly)for(let Y0 of S0){let HZ=Y0.style,CZ=HZ.alignSelf===k0.Auto?A.alignItems:HZ.alignSelf,j9=R0(hZ(d?HZ.height:HZ.width,d?kZ:o0)),SZ=Y0._hasAutoMargin&&(o9(HZ.margin,F0)||o9(HZ.margin,W0));if(CZ===k0.Stretch&&!j9&&!SZ){let tZ=Az(Y0,o,o0),xZ=Math.max(0,j0-tZ);if(Y0._crossSize!==xZ){let wJ=d?Y0._mainSize:xZ,OQ=d?xZ:Y0._mainSize;u1(Y0,wJ,OQ,f0.Exactly,f0.Exactly,o0,kZ,W,d,!d),Y0._crossSize=xZ}}}let P0=T[i0]+_[i0],fJ=PZ,$Q=0;for(let Y0 of S0){if(!Y0._hasAutoMargin)continue;if(o9(Y0.style.margin,i0))$Q++;if(o9(Y0.style.margin,U0))$Q++}let RQ=V0-QZ,_0=Math.max(0,RQ),l0=$Q>0&&_0>0?_0/$Q:0;if($Q===0)switch(A.justifyContent){case TJ.FlexStart:break;case TJ.Center:P0+=RQ/2;break;case TJ.FlexEnd:P0+=RQ;break;case TJ.SpaceBetween:if(g0>1)fJ+=_0/(g0-1);break;case TJ.SpaceAround:if(g0>0)fJ+=_0/g0,P0+=_0/g0/2;break;case TJ.SpaceEvenly:if(g0>0)fJ+=_0/(g0+1),P0+=_0/(g0+1);break}let KZ=ZZ?YJ-d0-j0:d0,$Z=P0;for(let Y0 of S0){let HZ=Y0.style.margin,CZ=Y0.layout.margin,j9=!1,SZ=!1,tZ=!1,xZ=!1,wJ,OQ,WQ,YQ;if(Y0._hasAutoMargin)j9=o9(HZ,i0),SZ=o9(HZ,U0),tZ=o9(HZ,F0),xZ=o9(HZ,W0),wJ=j9?l0:CZ[i0],OQ=SZ?l0:CZ[U0],WQ=tZ?0:CZ[F0],YQ=xZ?0:CZ[W0];else wJ=CZ[i0],OQ=CZ[U0],WQ=CZ[F0],YQ=CZ[W0];let hQ=TZ?r0-($Z+wJ)-Y0._mainSize:$Z+wJ,H9=Y0.style.alignSelf===k0.Auto?A.alignItems:Y0.style.alignSelf,vJ=KZ+WQ,K6=j0-Y0._crossSize-WQ-YQ;if(tZ&&xZ)vJ+=Math.max(0,K6)/2;else if(tZ)vJ+=Math.max(0,K6);else if(xZ);else switch(H9){case k0.FlexStart:case k0.Stretch:if(ZZ)vJ+=K6;break;case k0.Center:vJ+=K6/2;break;case k0.FlexEnd:if(!ZZ)vJ+=K6;break;case k0.Baseline:if(bJ)vJ=KZ+EZ[e]-E3(Y0);break;default:break}let t6=0,B9=0;if(Y0._hasPosition){let f9=hZ(T9(Y0.style.position,HQ),o0),a7=hZ(T9(Y0.style.position,K9),o0),i7=hZ(T9(Y0.style.position,E9),o0),J0=hZ(T9(Y0.style.position,g6),o0);t6=R0(f9)?f9:R0(a7)?-a7:0,B9=R0(i7)?i7:R0(J0)?-J0:0}if(d)Y0.layout.left=hQ+t6,Y0.layout.top=vJ+B9;else Y0.layout.left=vJ+t6,Y0.layout.top=hQ+B9;$Z+=Y0._mainSize+wJ+OQ+fJ}d0+=j0+cZ}for(let e of OJ)s_(Q,e,Q.layout.width,Q.layout.height,T,_)}function s_(Q,K,z,U,H,B){let F=K.style,W=T9(F.position,HQ),Y=T9(F.position,K9),D=T9(F.position,E9),A=T9(F.position,g6),N=hZ(W,z),M=hZ(Y,z),L=hZ(D,U),T=hZ(A,U),_=z-B[0]-B[2],E=U-B[1]-B[3],C=hZ(F.width,_),I=hZ(F.height,E);if(!R0(C)&&R0(N)&&R0(M))C=_-N-M;if(!R0(I)&&R0(L)&&R0(T))I=E-L-T;u1(K,C,I,R0(C)?f0.Exactly:f0.Undefined,R0(I)?f0.Exactly:f0.Undefined,_,E,!0);let g=w7(F.margin,HQ,z),u=w7(F.margin,E9,z),l=w7(F.margin,K9,z),m=w7(F.margin,g6,z),s=Q.style.flexDirection,y=vW(s),x=h1(s),o=Q.style.flexWrap===v6.WrapReverse,d=F.alignSelf===k0.Auto?Q.style.alignItems:F.alignSelf,i;if(R0(N))i=B[0]+N+g;else if(R0(M))i=z-B[2]-M-K.layout.width-l;else if(x){let Q0=H[0]+B[0],a=z-H[2]-B[2];i=y?a-K.layout.width-l:xW(Q.style.justifyContent,Q0,a,K.layout.width)+g}else i=bW(d,H[0]+B[0],z-H[2]-B[2],K.layout.width,o)+g;let Z0;if(R0(L))Z0=B[1]+L+u;else if(R0(T))Z0=U-B[3]-T-K.layout.height-m;else if(x)Z0=bW(d,H[1]+B[1],U-H[3]-B[3],K.layout.height,o)+u;else{let Q0=H[1]+B[1],a=U-H[3]-B[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 TJ.Center:return K+(z-K-U)/2;case TJ.FlexEnd:return z-U;default:return K}}function bW(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 o_(Q,K,z,U,H,B,F){if((Q._fbGen===v7||!Q.isDirty_)&&Q._fbCrossMode===H&&aJ(Q._fbOwnerW,B)&&aJ(Q._fbOwnerH,F)&&aJ(Q._fbAvailMain,z)&&aJ(Q._fbAvailCross,U))return Q._fbBasis;let Y=Q.style,D=h1(K),A=hZ(Y.flexBasis,z);if(R0(A)){let x=Math.max(0,A);return Q._fbBasis=x,Q._fbOwnerW=B,Q._fbOwnerH=F,Q._fbAvailMain=z,Q._fbAvailCross=U,Q._fbCrossMode=H,Q._fbGen=v7,x}let N=D?Y.width:Y.height,L=hZ(N,D?B:F);if(R0(L)){let x=Math.max(0,L);return Q._fbBasis=x,Q._fbOwnerW=B,Q._fbOwnerH=F,Q._fbAvailMain=z,Q._fbAvailCross=U,Q._fbCrossMode=H,Q._fbGen=v7,x}let T=D?Y.height:Y.width,E=hZ(T,D?F:B),C=R0(E)?f0.Exactly:f0.Undefined;if(!R0(E)&&R0(U))E=U,C=H===f0.Exactly&&t_(Q)?f0.Exactly:f0.AtMost;let I=NaN,g=f0.Undefined;if(D&&R0(z)&&gW(Q))I=z,g=f0.AtMost;u1(Q,D?I:E,D?E:I,D?g:C,D?C:g,B,F,!1);let y=D?Q.layout.width:Q.layout.height;return Q._fbBasis=y,Q._fbOwnerW=B,Q._fbOwnerH=F,Q._fbAvailMain=z,Q._fbAvailCross=U,Q._fbCrossMode=H,Q._fbGen=v7,y}function gW(Q){if(Q.measureFunc)return!0;for(let K of Q.children)if(gW(K))return!0;return!1}function r_(Q,K,z,U,H,B){let F=Q.length,W=Array(F).fill(!1),Y=R0(K)?K-z:0;for(let A=0;A<F;A++){let N=Q[A],M=k9(N.style,U,N._flexBasis,H,B);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(F);for(let A=0;A<=F;A++){let N=0,M=0,L=0,T=0;for(let I=0;I<F;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<F;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<F;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,k9(g.style,U,u,H,B));g._mainSize=l,E+=l-u}if(E===0)break;let C=!1;for(let I=0;I<F;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 t_(Q){let K=Q.parent;if(!K)return!1;return(Q.style.alignSelf===k0.Auto?K.style.alignItems:Q.style.alignSelf)===k0.Stretch}function mW(Q,K){return K.style.alignSelf===k0.Auto?Q.style.alignItems:K.style.alignSelf}function E3(Q){let K=null;for(let z of Q.children){if(z._lineIndex>0)break;if(z.style.positionType===w8.Absolute)continue;if(z.style.display===w6.None)continue;if(mW(Q,z)===k0.Baseline||z.isReferenceBaseline_){K=z;break}if(K===null)K=z}if(K===null)return Q.layout.height;return E3(K)+K.layout.top}function e_(Q,K){if(!h1(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=w7(Q.style.margin,R3(K),z),H=w7(Q.style.margin,I3(K),z);return U+H}function fW(Q,K,z){let U=Q.gap[K];if(U.unit===MJ.Undefined)U=Q.gap[s9.All];let H=hZ(U,z);return R0(H)?Math.max(0,H):0}function k9(Q,K,z,U,H){let B=K?Q.minWidth:Q.minHeight,F=K?Q.maxWidth:Q.maxHeight,W=B.unit,Y=F.unit;if(W===0&&Y===0)return z;let D=K?U:H,A=z;if(Y===1){if(A>F.value)A=F.value}else if(Y===2){let N=F.value*D/100;if(N===N&&A>N)A=N}if(W===1){if(A<B.value)A=B.value}else if(W===2){let N=B.value*D/100;if(N===N&&A<N)A=N}return A}function uW(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,uW(K)}function hW(Q,K,z){for(let U of Q.children){let H=U.style.display;if(H===w6.None)U.layout.left=0,U.layout.top=0,U.layout.width=0,U.layout.height=0,uW(U);else if(H===w6.Contents)U.layout.left=0,U.layout.top=0,U.layout.width=0,U.layout.height=0,hW(U,K,z);else if(U.style.positionType===w8.Absolute)z.push(U);else K.push(U)}}function pW(Q,K,z,U){if(K===0)return;let H=Q.layout,B=H.left,F=H.top,W=H.width,Y=H.height,D=z+B,A=U+F,N=Q.measureFunc!==null;H.left=Z4(B,K,!1,N),H.top=Z4(F,K,!1,N);let M=D+W,L=A+Y,T=!wW(W*K),_=!wW(Y*K);H.width=Z4(M,K,N&&T,N&&!T)-Z4(D,K,!1,N),H.height=Z4(L,K,N&&_,N&&!_)-Z4(A,K,!1,N);for(let E of Q.children)pW(E,K,D,A)}function wW(Q){let K=Q-Math.floor(Q);return K<0.0001||K>0.9999}function Z4(Q,K,z,U){let H=Q*K,B=H-Math.floor(H);if(B<0)B+=1;if(B<0.0001)H=Math.floor(H);else if(B>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)+(B>=0.4999?1:0);return H/K}function I9(Q){if(Q===void 0)return gQ;if(Q==="auto")return y6;if(typeof Q==="number")return Number.isFinite(Q)?Mz(Q):gQ;if(typeof Q==="string"&&Q.endsWith("%"))return G9(parseFloat(Q));let K=parseFloat(Q);return isNaN(K)?gQ:Mz(K)}function $3(Q){switch(Q){case YZ.Left:case YZ.Start:return HQ;case YZ.Top:return E9;case YZ.Right:case YZ.End:return K9;case YZ.Bottom:return g6;default:return HQ}}var gQ,y6,HQ=0,E9=1,K9=2,g6=3,n_,Dz=4,v7=0,T3=0,C3=0,m1=0,k3=0,Z$,cW;var Pz=p(()=>{TW();gQ={unit:MJ.Undefined,value:NaN},y6={unit:MJ.Auto,value:NaN};n_=yW();Z$={Config:{create:yW,destroy(){}},Node:{create:(Q)=>new Nz(Q),createDefault:()=>new Nz,createWithConfig:(Q)=>new Nz(Q),destroy(){}}},cW=Z$});function J$(){if(process.env.TERM_PROGRAM==="vscode"&&O0.level===2)return O0.level=3,!0;return!1}function Q$(){if(process.env.CLAUDE_CODE_TMUX_TRUECOLOR)return!1;if(process.env.TMUX&&O0.level>2)return O0.level=2,!0;return!1}function J4(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=y7(z,K.color,"foreground");if(K.backgroundColor)z=y7(z,K.backgroundColor,"background");return z}function _z(Q,K){if(!K)return Q;return y7(Q,K,"foreground")}var RT,IT,G$,K$,y7=(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=K$.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=G$.exec(K);if(!U)return Q;let H=Number(U[1]),B=Number(U[2]),F=Number(U[3]);return z==="foreground"?O0.rgb(H,B,F)(Q):O0.bgRgb(H,B,F)(Q)}return Q};var p1=p(()=>{S3();RT=J$(),IT=Q$(),G$=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,K$=/^ansi256\(\s?(\d+)\s?\)$/});import{spawnSync as z$}from"child_process";function X$(){if(!process.env.TMUX)return!1;if(process.env.TERM_PROGRAM!=="iTerm.app")return!1;let Q=process.env.TERM??"";return!Q.startsWith("screen")&&!Q.startsWith("tmux")}function U$(){if(c1=X$(),c1)return;if(!process.env.TMUX)return;if(process.env.TERM_PROGRAM)return;let Q;try{Q=z$("tmux",["display-message","-p","#{client_control_mode}"],{encoding:"utf8",timeout:2000})}catch{return}if(Q.status!==0)return;c1=Q.stdout.trim()==="1"}function sW(){if(c1===void 0)U$();return c1??!1}function q$(){if(iW(process.env.CLAUDE_CODE_NO_FLICKER))return!1;if(m6(process.env.CLAUDE_CODE_NO_FLICKER))return!0;if(sW()){if(!dW)dW=!0,MZ("fullscreen disabled: tmux -CC (iTerm2 integration mode) detected · set CLAUDE_CODE_NO_FLICKER=1 to override");return!1}let Q=Hz().flickerFreeMode;if(Q!==void 0)return Q;return!1}function fT(){return!m6(process.env.CLAUDE_CODE_DISABLE_MOUSE)}function oW(){return m6(process.env.CLAUDE_CODE_DISABLE_MOUSE_CLICKS)}function j$(){return aW()&&q$()}async function wT(){if(!process.env.TMUX)return null;if(!j$()||sW())return null;if(lW)return null;lW=!0;let{stdout:Q,code:K}=await z9("tmux",["show","-Av","mouse"],{useCwd:!1,timeout:2000});if(K!==0||Q.trim()==="on")return null;return"tmux detected · scroll with PgUp/PgDn · or add 'set -g mouse on' to ~/.tmux.conf for wheel scroll"}var dW=!1,lW=!1,c1;var rW=p(()=>{x3();BW();g7();b3();nW()});function Q4(Q){let K="ground",z="",U=Q?.x10Mouse??!1;return{feed(H){let B=tW(H,K,z,!1,U);return K=B.state.state,z=B.state.buffer,B.tokens},flush(){let H=tW("",K,z,!0,U);return K=H.state.state,z=H.state.buffer,H.tokens},reset(){K="ground",z=""},buffer(){return z}}}function tW(Q,K,z,U,H){let B=[],F={state:K,buffer:""},W=z+Q,Y=0,D=0,A=0,N=()=>{if(Y>D){let L=W.slice(D,Y);if(L)B.push({type:"text",value:L})}D=Y},M=(L)=>{if(L)B.push({type:"sequence",value:L});F.state="ground",D=Y};while(Y<W.length){let L=W.charCodeAt(Y);switch(F.state){case"ground":if(L===r9.ESC)N(),A=Y,F.state="escape",Y++;else Y++;break;case"escape":if(L===u6.CSI)F.state="csi",Y++;else if(L===u6.OSC)F.state="osc",Y++;else if(L===u6.DCS)F.state="dcs",Y++;else if(L===u6.APC)F.state="apc",Y++;else if(L===79)F.state="ss3",Y++;else if($z(L))F.state="escapeIntermediate",Y++;else if(f3(L))Y++,M(W.slice(A,Y));else if(L===r9.ESC)M(W.slice(A,Y)),A=Y,F.state="escape",Y++;else F.state="ground",D=A;break;case"escapeIntermediate":if($z(L))Y++;else if(f3(L))Y++,M(W.slice(A,Y));else F.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(ZY(L))Y++,M(W.slice(A,Y));else if(eW(L)||$z(L))Y++;else F.state="ground",D=A;break;case"ss3":if(L>=64&&L<=126)Y++,M(W.slice(A,Y));else F.state="ground",D=A;break;case"osc":if(L===r9.BEL)Y++,M(W.slice(A,Y));else if(L===r9.ESC&&Y+1<W.length&&W.charCodeAt(Y+1)===u6.ST)Y+=2,M(W.slice(A,Y));else Y++;break;case"dcs":case"apc":if(L===r9.BEL)Y++,M(W.slice(A,Y));else if(L===r9.ESC&&Y+1<W.length&&W.charCodeAt(Y+1)===u6.ST)Y+=2,M(W.slice(A,Y));else Y++;break}}if(F.state==="ground")N();else if(U){let L=W.slice(A);if(L)B.push({type:"sequence",value:L});F.state="ground"}else F.buffer=W.slice(A);return{tokens:B,state:F}}var Rz=p(()=>{d1();h6()});import{Buffer as H$}from"buffer";function JY(Q){return{kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Q,raw:Q,isPasted:!0}}function P$(Q){if(Q.startsWith("\x1B[")){let K;if(K=Y$.exec(Q))return{type:"decrpm",mode:parseInt(K[1],10),status:parseInt(K[2],10)};if(K=V$.exec(Q))return{type:"da1",params:QY(K[1])};if(K=D$.exec(Q))return{type:"da2",params:QY(K[1])};if(K=A$.exec(Q))return{type:"kittyKeyboard",flags:parseInt(K[1],10)};if(K=N$.exec(Q))return{type:"cursorPosition",row:parseInt(K[1],10),col:parseInt(K[2],10)};return null}if(Q.startsWith("\x1B]")){let K=M$.exec(Q);if(K)return{type:"osc",code:parseInt(K[1],10),data:K[2]}}if(Q.startsWith("\x1BP")){let K=L$.exec(Q);if(K)return{type:"xtversion",name:K[1]}}return null}function QY(Q){if(!Q)return[];return Q.split(";").map((K)=>parseInt(K,10))}function _$(Q){if(H$.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 HY(Q,K=""){let z=K===null,U=z?"":_$(K),H=Q._tokenizer??Q4({x10Mouse:!0}),B=z?H.flush():H.feed(U),F=[],W=Q.mode==="IN_PASTE",Y=Q.pasteBuffer;for(let A of B)if(A.type==="sequence")if(A.value===XY)W=!0,Y="";else if(A.value===UY)F.push(JY(Y)),W=!1,Y="";else if(W)Y+=A.value;else{let N=P$(A.value);if(N)F.push({kind:"response",sequence:A.value,response:N});else{let M=zY(A.value);if(M)F.push(M);else F.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=zY(N);F.push(M??w3(N))}else F.push(w3(A.value));if(z&&W&&Y)F.push(JY(Y)),W=!1,Y="";let D={mode:W?"IN_PASTE":"NORMAL",incomplete:H.buffer(),pasteBuffer:Y,_tokenizer:H};return[F,D]}function GY(Q){let K=Math.max(Q,1)-1;return{shift:!!(K&1),meta:!!(K&2),ctrl:!!(K&4),super:!!(K&8)}}function I$(Q){return Q>=57344&&Q<=63743||Q>=983040&&Q<=1048573||Q>=1048576&&Q<=1114109}function KY(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)&&!I$(Q))return String.fromCodePoint(Q);return}}function zY(Q){let K=qY.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=O$.exec(Q)){let H=parseInt(U[1],10),B=U[2]?parseInt(U[2],10):1,F=GY(B);return{kind:"key",name:KY(H),fn:!1,ctrl:F.ctrl,meta:F.meta,shift:F.shift,option:!1,super:F.super,sequence:Q,raw:Q,isPasted:!1}}if(U=W$.exec(Q)){let H=GY(parseInt(U[1],10));return{kind:"key",name:KY(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=qY.exec(Q)){let H=parseInt(U[1],10);if((H&67)===64)return X9(Q,"wheelup",!1);if((H&67)===65)return X9(Q,"wheeldown",!1);return X9(Q,"mouse",!1)}if(Q.length===6&&Q.startsWith("\x1B[M")){let H=Q.charCodeAt(3)-32;if((H&67)===64)return X9(Q,"wheelup",!1);if((H&67)===65)return X9(Q,"wheeldown",!1);return X9(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=B$.exec(Q))z.meta=!0,z.shift=/^[A-Z]$/.test(K[1]);else if(K=F$.exec(Q)){let H=[...Q];if(H[0]==="\x1B"&&H[1]==="\x1B")z.option=!0;let B=[K[1],K[2],K[4],K[6]].filter(Boolean).join(""),F=(K[3]||K[5]||1)-1;z.ctrl=!!(F&4),z.meta=!!(F&2),z.super=!!(F&8),z.shift=!!(F&1),z.code=B,z.name=BY[B],z.shift=$$(B)||z.shift,z.ctrl=R$(B)||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 X9(Q,"home",!1);case"\x1B[4~":return X9(Q,"end",!1);case"\x1B[5~":return X9(Q,"pageup",!1);case"\x1B[6~":return X9(Q,"pagedown",!1);case"\x1B[1;5D":return X9(Q,"left",!0);case"\x1B[1;5C":return X9(Q,"right",!0)}return z}function X9(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 B$,F$,O$,W$,Y$,V$,D$,A$,N$,M$,L$,qY,jY,BY,FY,$$=(Q)=>{return["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(Q)},R$=(Q)=>{return["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(Q)};var v3=p(()=>{h6();Rz();B$=/^(?:\x1b)([a-zA-Z0-9])$/,F$=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,O$=/^\x1b\[(\d+)(?:;(\d+))?u/,W$=/^\x1b\[27;(\d+);(\d+)~/,Y$=/^\x1b\[\?(\d+);(\d+)\$y$/,V$=/^\x1b\[\?([\d;]*)c$/,D$=/^\x1b\[>([\d;]*)c$/,A$=/^\x1b\[\?(\d+)u$/,N$=/^\x1b\[\?(\d+);(\d+)R$/,M$=/^\x1b\](\d+);(.*?)(?:\x07|\x1b\\)$/s,L$=/^\x1bP>\|(.*?)(?:\x07|\x1b\\)$/s,qY=/^\x1b\[<(\d+);(\d+);(\d+)([Mm])$/;jY={mode:"NORMAL",incomplete:"",pasteBuffer:""};BY={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"},FY=[...Object.values(BY).filter((Q)=>Q.length>1),"escape","backspace","wheelup","wheeldown","mouse"]});function k$(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&&FY.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=p(()=>{v3();S8();Iz=class Iz extends Q9{keypress;key;input;constructor(Q){super();let[K,z]=k$(Q);this.keypress=Q,this.key=K,this.input=z}}});var l1;var g3=p(()=>{S8();l1=class l1 extends Q9{type;constructor(Q){super();this.type=Q}}});var OY=f6((E$)=>{(function(){function Q(){if(u=!1,y){var a=E$.unstable_now();d=a;var K0=!0;try{Z:{I=!1,g&&(g=!1,m(x),x=-1),C=!0;var z0=E;try{J:{B(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=E$.unstable_now(),typeof C0==="function"){_.callback=C0,B(a),K0=!0;break J}_===z(M)&&U(M),B(a)}else U(M);_=z(M)}if(_!==null)K0=!0;else{var PZ=z(L);PZ!==null&&Y(F,PZ.startTime-a),K0=!1}}break Z}finally{_=null,E=z0,C=!1}K0=void 0}}finally{K0?i():y=!1}}}function K(a,K0){var z0=a.length;a.push(K0);Z:for(;0<z0;){var w0=z0-1>>>1,C0=a[w0];if(0<H(C0,K0))a[w0]=K0,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 K0=a[0],z0=a.pop();if(z0!==K0){a[0]=z0;Z:for(var w0=0,C0=a.length,PZ=C0>>>1;w0<PZ;){var _Z=2*(w0+1)-1,OJ=a[_Z],o0=_Z+1,kZ=a[o0];if(0>H(OJ,z0))o0<C0&&0>H(kZ,OJ)?(a[w0]=kZ,a[o0]=z0,w0=o0):(a[w0]=OJ,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 K0}function H(a,K0){var z0=a.sortIndex-K0.sortIndex;return z0!==0?z0:a.id-K0.id}function B(a){for(var K0=z(L);K0!==null;){if(K0.callback===null)U(L);else if(K0.startTime<=a)U(L),K0.sortIndex=K0.expirationTime,K(M,K0);else break;K0=z(L)}}function F(a){if(g=!1,B(a),!I)if(z(M)!==null)I=!0,y||(y=!0,i());else{var K0=z(L);K0!==null&&Y(F,K0.startTime-a)}}function W(){return u?!0:E$.unstable_now()-d<o?!1:!0}function Y(a,K0){x=l(function(){a(E$.unstable_now())},K0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),E$.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var D=performance;E$.unstable_now=function(){return D.now()}}else{var A=Date,N=A.now();E$.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,x=-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)};E$.unstable_IdlePriority=5,E$.unstable_ImmediatePriority=1,E$.unstable_LowPriority=4,E$.unstable_NormalPriority=3,E$.unstable_Profiling=null,E$.unstable_UserBlockingPriority=2,E$.unstable_cancelCallback=function(a){a.callback=null},E$.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},E$.unstable_getCurrentPriorityLevel=function(){return E},E$.unstable_next=function(a){switch(E){case 1:case 2:case 3:var K0=3;break;default:K0=E}var z0=E;E=K0;try{return a()}finally{E=z0}},E$.unstable_requestPaint=function(){u=!0},E$.unstable_runWithPriority=function(a,K0){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var z0=E;E=a;try{return K0()}finally{E=z0}},E$.unstable_scheduleCallback=function(a,K0,z0){var w0=E$.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:K0,priorityLevel:a,startTime:z0,expirationTime:C0,sortIndex:-1},z0>w0?(a.sortIndex=z0,K(L,a),z(M)===null&&a===z(L)&&(g?(m(x),x=-1):g=!0,Y(F,z0-w0))):(a.sortIndex=C0,K(M,a),I||C||(I=!0,y||(y=!0,i()))),a},E$.unstable_shouldYield=W,E$.unstable_wrapCallback=function(a){var K0=E;return function(){var z0=E;E=K0;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 WY=f6((BC,a1)=>{var m3=r(OZ()),LZ=r(OY());a1.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=kJ(Z)?Z.slice():IJ({},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=kJ(Z)?Z.slice():IJ({},Z);return X+1===J.length?(j[G[X]]=j[q],kJ(j)?j.splice(q,1):delete j[q]):j[q]=H(Z[q],J,G,X+1),j}function B(Z,J,G){var X=J[G],q=kJ(Z)?Z.slice():IJ({},Z);if(G+1===J.length)return kJ(q)?q.splice(X,1):delete q[X],q;return q[X]=B(Z[X],J,G+1),q}function F(){return!1}function W(){return null}function Y(Z,J,G,X){return new iM(Z,J,G,X)}function D(Z,J){Z.context===D7&&(mF(J,Z,null,null),jK())}function A(Z,J){if(J9!==null){var G=J.staleFamilies;J=J.updatedFamilies,A5(),bF(Z.current,J,G),jK()}}function N(Z){J9=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=pF&&Z[pF]||Z["@@iterator"],typeof Z==="function"?Z:null}function y(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===tM?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case N5:return"Fragment";case qq:return"Profiler";case WK:return"StrictMode";case Hq:return"Suspense";case Bq: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 Y6:return Z.displayName||"Context";case jq:return(Z._context.displayName||"Context")+".Consumer";case t4:var J=Z.render;return Z=Z.displayName,Z||(Z=J.displayName||J.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case YK: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 x(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===WK?"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 x(Z.return)}return null}function o(Z){return{current:Z}}function d(Z,J){0>A6?console.error("Unexpected pop."):(J!==Lq[A6]&&console.error("Unexpected Fiber popped."),Z.current=Mq[A6],Mq[A6]=null,Lq[A6]=null,A6--)}function i(Z,J,G){A6++,Mq[A6]=Z.current,Lq[A6]=G,Z.current=J}function Z0(Z){return Z>>>=0,Z===0?32:31-(kP(Z)/EP|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 K0(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=NK;return NK<<=1,(NK&62914560)===0&&(NK=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 f=31-GQ(G),v=1<<f;V[f]=0,P[f]=-1;var c=k[f];if(c!==null)for(k[f]=null,f=0;f<c.length;f++){var q0=c[f];q0!==null&&(q0.lane&=-536870913)}G&=~v}X!==0&&OJ(Z,X,0),j!==0&&q===0&&Z.tag!==0&&(Z.suspendedLanes|=j&~(O&~J))}function OJ(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:zJ(G),(G&(Z.suspendedLanes|J))!==0?0:G}function zJ(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 sJ(Z,J,G){if(c9)for(Z=Z.pendingUpdatersLaneMap;0<G;){var X=31-GQ(G),q=1<<X;Z[X].add(J),G&=~q}}function LJ(Z,J){if(c9)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{$5=J.inject(Z),dJ=J}catch(G){console.error("React instrumentation encountered an error: %o.",G)}return J.checkDCE?!0:!1}function y0(Z){if(typeof xP==="function"&&bP(Z),dJ&&typeof dJ.setStrictMode==="function")try{dJ.setStrictMode($5,Z)}catch(J){p9||(p9=!0,console.error("React instrumentation encountered an error: %o",J))}}function b9(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(kJ(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 UZ(Z,J,G,X){for(var q in Z)_q.call(Z,q)&&q[0]!=="_"&&DZ(q,Z[q],J,G,X)}function DZ(Z,J,G,X,q){switch(typeof J){case"object":if(J===null){J="null";break}else{if(J.$$typeof===W6){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&&DZ("key",O,G,X+1,q),Z=!1;for(var k in J)k==="children"?J.children!=null&&(!kJ(J.children)||0<J.children.length)&&(Z=!0):_q.call(J,k)&&k[0]!=="_"&&DZ(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],DZ(j[0],j[1],G,X+1,q);return}}if(j==="Promise"){if(J.status==="fulfilled"){if(j=G.length,DZ(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,DZ(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&&UZ(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 FQ(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===W6){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,FQ(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}}DZ(j,O,G,X,"– "),DZ(j,V,G,X,"+ ")}q=!1}}else G.push(["+ "+"  ".repeat(X)+j,"…"]),q=!1;return q}function WJ(Z){u0=Z&63?"Blocking":Z&64?"Gesture":Z&4194176?"Transition":Z&62914560?"Suspense":Z&2080374784?"Idle":"Other"}function PJ(Z,J,G,X){AZ&&(N7.start=J,N7.end=G,N6.color="warning",N6.tooltipText=X,N6.properties=null,(Z=Z._debugTask)?Z.run(performance.measure.bind(performance,X,N7)):performance.measure(X,N7))}function _Q(Z,J,G){PJ(Z,J,G,"Reconnect")}function X0(Z,J,G,X,q){var j=x(Z);if(j!==null&&AZ){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=[vP],k=FQ(O.memoizedProps,k,P,0),1<P.length&&(k&&!A7&&(O.lanes&q)===0&&100<Z.actualDuration?(A7=!0,P[0]=yP,N6.color="warning",N6.tooltipText="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."):(N6.color=X,N6.tooltipText=j),N6.properties=P,N7.start=J,N7.end=G,V!=null?V.run(performance.measure.bind(performance,"​"+j,N7)):performance.measure("​"+j,N7))):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(AZ){var q=x(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&&DZ("key",Z.key,O,0,""),Z.memoizedProps!==null&&UZ(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(AZ){var j=x(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&&DZ("key",Z.key,X,0,""),Z.memoizedProps!==null&&UZ(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=x(Z),j!==null&&AZ&&(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(AZ&&!(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){!AZ||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){!AZ||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 F0(Z,J,G,X,q,j){if(AZ&&!(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){!AZ||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){!AZ||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(AZ&&!(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(G1===0){M2=console.log,L2=console.info,P2=console.warn,_2=console.error,$2=console.group,R2=console.groupCollapsed,I2=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})}G1++}function cZ(){if(G1--,G1===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:IJ({},Z,{value:M2}),info:IJ({},Z,{value:L2}),warn:IJ({},Z,{value:P2}),error:IJ({},Z,{value:_2}),group:IJ({},Z,{value:$2}),groupCollapsed:IJ({},Z,{value:R2}),groupEnd:IJ({},Z,{value:I2})})}0>G1&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function XJ(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 ZZ(Z){if($q===void 0)try{throw Error()}catch(G){var J=G.stack.trim().match(/\n( *(at )?)/);$q=J&&J[1]||"",k2=-1<G.stack.indexOf(`
6
+ at`)?" (<anonymous>)":-1<G.stack.indexOf("@")?"@unknown:0:0":""}return`
7
+ `+$q+Z+k2}function YJ(Z,J){if(!Z||Rq)return"";var G=Iq.get(Z);if(G!==void 0)return G;Rq=!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
+ `),f=P.split(`
9
+ `);for(O=j=0;j<k.length&&!k[j].includes("DetermineComponentFrameRoot");)j++;for(;O<f.length&&!f[O].includes("DetermineComponentFrameRoot");)O++;if(j===k.length||O===f.length)for(j=k.length-1,O=f.length-1;1<=j&&0<=O&&k[j]!==f[O];)O--;for(;1<=j&&0<=O;j--,O--)if(k[j]!==f[O]){if(j!==1||O!==1)do if(j--,O--,0>O||k[j]!==f[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"&&Iq.set(Z,v),v}while(1<=j&&0<=O);break}}}finally{Rq=!1,w.H=X,cZ(),Error.prepareStackTrace=G}return k=(k=Z?Z.displayName||Z.name:"")?ZZ(k):"",typeof Z==="function"&&Iq.set(Z,k),k}function d0(Z,J){switch(Z.tag){case 26:case 27:case 5:return ZZ(Z.type);case 16:return ZZ("Lazy");case 13:return Z.child!==J&&J!==null?ZZ("Suspense Fallback"):ZZ("Suspense");case 19:return ZZ("SuspenseList");case 0:case 15:return YJ(Z.type,!1);case 11:return YJ(Z.type.render,!1);case 1:return YJ(Z.type,!0);case 31:return ZZ("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 f=XJ(k),v=f.lastIndexOf(`
11
+ `),c=v===-1?f:f.slice(v+1);if(c.indexOf(V)!==-1){var q0=`
12
+ `+c;break Z}}q0=ZZ(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 S0(Z){return(Z=Z?Z.displayName||Z.name:"")?ZZ(Z):""}function j0(Z,J){if(typeof Z==="object"&&Z!==null){var G=kq.get(Z);if(G!==void 0)return G;return J={value:Z,source:J,stack:e(J)},kq.set(Z,J),J}return{value:Z,source:J,stack:e(J)}}function QZ(Z,J){_0(),R5[I5++]=K1,R5[I5++]=LK,LK=Z,K1=J}function g0(Z,J,G){_0(),aQ[iQ++]=M6,aQ[iQ++]=L6,aQ[iQ++]=W8,W8=Z;var X=M6;Z=L6;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,M6=1<<32-GQ(J)+q|G<<q|X,L6=j+Z}else M6=1<<j|G<<q|X,L6=Z}function P0(Z){_0(),Z.return!==null&&(QZ(Z,1),g0(Z,1,0))}function fJ(Z){for(;Z===LK;)LK=R5[--I5],R5[I5]=null,K1=R5[--I5],R5[I5]=null;for(;Z===W8;)W8=aQ[--iQ],aQ[iQ]=null,L6=aQ[--iQ],aQ[iQ]=null,M6=aQ[--iQ],aQ[iQ]=null}function $Q(){return _0(),W8!==null?{id:M6,overflow:L6}:null}function RQ(Z,J){_0(),aQ[iQ++]=M6,aQ[iQ++]=L6,aQ[iQ++]=W8,M6=J.id,L6=J.overflow,W8=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 KZ(Z,J){i(L7,J,Z),i(z1,Z,Z),i(M7,null,Z),J=JL(J),d(M7,Z),i(M7,J,Z)}function $Z(Z){d(M7,Z),d(z1,Z),d(L7,Z)}function Y0(){return l0(M7.current)}function HZ(Z){Z.memoizedState!==null&&i(PK,Z,Z);var J=l0(M7.current),G=QL(J,Z.type);J!==G&&(i(z1,Z,Z),i(M7,G,Z))}function CZ(Z){z1.current===Z&&(d(M7,Z),d(z1,Z)),PK.current===Z&&(d(PK,Z),V6?O8._currentValue=L5:O8._currentValue2=L5)}function j9(Z,J){return Z.serverProps===void 0&&Z.serverTail.length===0&&Z.children.length===1&&3<Z.distanceFromLeaf&&Z.distanceFromLeaf>15-J?j9(Z.children[0],J):Z}function SZ(Z){return" "+" ".repeat(Z)}function tZ(Z){return"+ "+" ".repeat(Z)}function xZ(Z){return"- "+" ".repeat(Z)}function wJ(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 OQ(Z,J){return E2.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 WQ(Z,J,G){var X=120-2*G;if(J===null)return tZ(G)+OQ(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)),tZ(G)+OQ(Z,X)+`
16
+ `+xZ(G)+OQ(J,X)+`
17
+ `}return SZ(G)+OQ(Z,X)+`
18
+ `}function YQ(Z){return Object.prototype.toString.call(Z).replace(/^\[object (.*)\]$/,function(J,G){return G})}function hQ(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(kJ(Z))return"[...]";if(Z.$$typeof===W6)return(J=y(Z.type))?"<"+J+">":"<...>";var G=YQ(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=hQ(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 H9(Z,J){return typeof Z!=="string"||E2.test(Z)?"{"+hQ(Z,J-2)+"}":Z.length>J-2?5>J?'"..."':'"'+Z.slice(0,J-5)+'..."':'"'+Z+'"'}function vJ(Z,J,G){var X=120-G.length-Z.length,q=[],j;for(j in J)if(J.hasOwnProperty(j)&&j!=="children"){var O=H9(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 K6(Z,J,G){var X="",q=IJ({},J),j;for(j in Z)if(Z.hasOwnProperty(j)){delete q[j];var O=120-2*G-j.length-2,V=hQ(Z[j],O);J.hasOwnProperty(j)?(O=hQ(J[j],O),X+=tZ(G)+j+": "+V+`
25
+ `,X+=xZ(G)+j+": "+O+`
26
+ `):X+=tZ(G)+j+": "+V+`
27
+ `}for(var P in q)q.hasOwnProperty(P)&&(Z=hQ(q[P],120-2*G-P.length-2),X+=xZ(G)+P+": "+Z+`
28
+ `);return X}function t6(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+=vJ(Z,J,SZ(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 f=H9(k,V);V=H9(P,V),typeof k==="object"&&k!==null&&typeof P==="object"&&P!==null&&YQ(k)==="Object"&&YQ(P)==="Object"&&(2<Object.keys(k).length||2<Object.keys(P).length||-1<f.indexOf("...")||-1<V.indexOf("..."))?q+=SZ(X+1)+O+`={{
29
+ `+K6(k,P,X+2)+SZ(X+1)+`}}
30
+ `:(q+=tZ(X+1)+O+"="+f+`
31
+ `,q+=xZ(X+1)+O+"="+V+`
32
+ `)}else q+=SZ(X+1)+O+"="+H9(J[O],V)+`
33
+ `}j.forEach(function(v){if(v!=="children"){var c=120-2*(X+1)-v.length-1;q+=xZ(X+1)+v+"="+H9(G[v],c)+`
34
+ `}}),q=q===""?SZ(X)+"<"+Z+`>
35
+ `:SZ(X)+"<"+Z+`
36
+ `+q+SZ(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+=WQ(j,""+Z,X+1)}else if(typeof J==="string"||typeof J==="number"||typeof J==="bigint")q=Z==null?q+WQ(""+J,null,X+1):q+WQ(""+J,void 0,X+1);return q}function B9(Z,J){var G=wJ(Z);if(G===null){G="";for(Z=Z.child;Z;)G+=B9(Z,J),Z=Z.sibling;return G}return SZ(J)+"<"+G+`>
38
+ `}function f9(Z,J){var G=j9(Z,J);if(G!==Z&&(Z.children.length!==1||Z.children[0]!==G))return SZ(J)+`...
39
+ `+f9(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+=SZ(J)+"<"+j+`>
40
+ `,J++)}if(X="",q=Z.fiber.pendingProps,Z.fiber.tag===6)X=WQ(q,Z.serverProps,J),J++;else if(j=wJ(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=H9(q[k],15);if(O-=k.length+P.length+2,0>O){V+=" ...";break}V+=" "+k+"="+P}X=SZ(X)+"<"+j+V+`>
41
+ `,J++}else Z.serverProps===null?(X=vJ(j,q,tZ(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=t6(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+=f9(O,J),j++):k+=B9(q,J),q=q.sibling;q&&0<Z.children.length&&(k+=SZ(J)+`...
42
+ `),q=Z.serverTail,Z.serverProps===null&&J--;for(Z=0;Z<q.length;Z++)j=q[Z],k=typeof j==="string"?k+(xZ(J)+OQ(j,120-2*J)+`
43
+ `):k+vJ(j.type,j.props,xZ(J));return G+X+k}function a7(Z){try{return`
44
+
45
+ `+f9(Z,0)}catch(J){return""}}function i7(){if(P6===null)return"";var Z=P6;try{var J="";switch(Z.tag===6&&(Z=Z.return),Z.tag){case 26:case 27:case 5:J+=ZZ(Z.type);break;case 13:J+=ZZ("Suspense");break;case 19:J+=ZZ("SuspenseList");break;case 31:J+=ZZ("Activity");break;case 30:case 0:case 15:case 1:Z._debugOwner||J!==""||(J+=S0(Z.type));break;case 11:Z._debugOwner||J!==""||(J+=S0(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=XJ(X);q!==""&&(J+=`
46
+ `+q)}}else if(Z.debugStack!=null){var j=Z.debugStack;(Z=Z.owner)&&j&&(J+=`
47
+ `+XJ(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=P6;n7(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{n7(V)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function n7(Z){w.getCurrentStack=Z===null?null:i7,d9=!1,P6=Z}function F9(Z,J){if(Z.return===null){if(fQ===null)fQ={fiber:Z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:J};else{if(fQ.fiber!==Z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");fQ.distanceFromLeaf>J&&(fQ.distanceFromLeaf=J)}return fQ}var G=F9(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 w9(Z,J){l9||(Z=F9(Z,0),Z.serverProps=null,J!==null&&(J=K2(J),Z.serverTail.push(J)))}function O9(Z){var J=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,G="",X=fQ;throw X!==null&&(fQ=null,G=a7(X)),Z7(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)),Eq}function z6(Z,J){if(!cJ)throw Error("Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");KP(Z.stateNode,Z.type,Z.memoizedProps,J,Z)||O9(Z,!0)}function s7(Z){for(EJ=Z.return;EJ;)switch(EJ.tag){case 5:case 31:case 13:nQ=!1;return;case 27:case 3:nQ=!0;return;default:EJ=EJ.return}}function X6(Z){if(!cJ||Z!==EJ)return!1;if(!p0)return s7(Z),p0=!0,!1;var J=Z.tag;if(jJ?J!==3&&J!==27&&(J!==5||J2(Z.type)&&!VK(Z.type,Z.memoizedProps))&&bZ&&(G5(Z),O9(Z)):J!==3&&(J!==5||J2(Z.type)&&!VK(Z.type,Z.memoizedProps))&&bZ&&(G5(Z),O9(Z)),s7(Z),J===13){if(!cJ)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.");bZ=Z2(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.");bZ=qP(Z)}else bZ=jJ&&J===27?nL(Z.type,bZ):EJ?Aq(Z.stateNode):null;return!0}function G5(Z){for(var J=bZ;J;){var G=F9(Z,0),X=K2(J);G.serverTail.push(X),J=X.type==="Suspense"?Z2(J):Aq(J)}}function pQ(){cJ&&(bZ=EJ=null,l9=p0=!1)}function e6(){var Z=P7;return Z!==null&&(qQ===null?qQ=Z:qQ.push.apply(qQ,Z),P7=null),Z}function Z7(Z){P7===null?P7=[Z]:P7.push(Z)}function J7(){var Z=fQ;if(Z!==null){fQ=null;for(var J=a7(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 o7(){k5=RK=null,E5=!1}function cQ(Z,J,G){V6?(i(_K,J._currentValue,Z),J._currentValue=G,i(Tq,J._currentRenderer,Z),J._currentRenderer!==void 0&&J._currentRenderer!==null&&J._currentRenderer!==$K&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),J._currentRenderer=$K):(i(_K,J._currentValue2,Z),J._currentValue2=G,i(Cq,J._currentRenderer2,Z),J._currentRenderer2!==void 0&&J._currentRenderer2!==null&&J._currentRenderer2!==$K&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),J._currentRenderer2=$K)}function dQ(Z,J){var G=_K.current;V6?(Z._currentValue=G,G=Tq.current,d(Tq,J),Z._currentRenderer=G):(Z._currentValue2=G,G=Cq.current,d(Cq,J),Z._currentRenderer2=G),d(_K,J)}function U6(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 r7(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),U6(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),U6(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 IQ(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;KQ(q.pendingProps.value,O.value)||(Z!==null?Z.push(V):Z=[V])}}else if(q===PK.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(O8):Z=[O8])}q=q.return}Z!==null&&r7(J,Z,G,X),J.flags|=262144}function Q7(Z){for(Z=Z.firstContext;Z!==null;){var J=Z.context;if(!KQ(V6?J._currentValue:J._currentValue2,Z.memoizedValue))return!0;Z=Z.next}return!1}function W9(Z){RK=Z,k5=null,Z=Z.dependencies,Z!==null&&(Z.firstContext=null)}function qZ(Z){return E5&&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()."),TG(RK,Z)}function oJ(Z,J){return RK===null&&W9(Z),TG(Z,J)}function TG(Z,J){var G=V6?J._currentValue:J._currentValue2;if(J={context:J,memoizedValue:G,next:null},k5===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().");k5=J,Z.dependencies={lanes:0,firstContext:J,_debugThenableState:null},Z.flags|=524288}else k5=k5.next=J;return G}function G7(){return{controller:new gP,data:new Map,refCount:0}}function kQ(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 K7(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&&mP(uP,function(){Z.controller.abort()})}function rJ(Z,J,G){if((Z&127)!==0)0>a9&&(a9=eZ(),X1=IK(J),Sq=J,G!=null&&(xq=x(G)),oU()&&(uZ=!0,$7=1),Z=Z1(),J=e4(),Z!==T5||J!==U1?T5=-1.1:J!==null&&($7=1),D8=Z,U1=J);else if((Z&4194048)!==0&&0>sQ&&(sQ=eZ(),q1=IK(J),T2=J,G!=null&&(C2=x(G)),0>I6)){if(Z=Z1(),J=e4(),Z!==I7||J!==A8)I7=-1.1;R7=Z,A8=J}}function K5(Z){if(0>a9){a9=eZ(),X1=Z._debugTask!=null?Z._debugTask:null,oU()&&($7=1);var J=Z1(),G=e4();J!==T5||G!==U1?T5=-1.1:G!==null&&($7=1),D8=J,U1=G}if(0>sQ&&(sQ=eZ(),q1=Z._debugTask!=null?Z._debugTask:null,0>I6)){if(Z=Z1(),J=e4(),Z!==I7||J!==A8)I7=-1.1;R7=Z,A8=J}}function EQ(){var Z=Y8;return Y8=0,Z}function t7(Z){var J=Y8;return Y8=Z,J}function z7(Z){var J=Y8;return Y8+=Z,J}function X7(){D0=B0=-1.1}function UJ(){var Z=B0;return B0=-1.1,Z}function yJ(Z){0<=Z&&(B0=Z)}function tJ(){var Z=fZ;return fZ=-0,Z}function _J(Z){0<=Z&&(fZ=Z)}function $J(){var Z=RZ;return RZ=null,Z}function gJ(){var Z=uZ;return uZ=!1,Z}function z5(Z){zQ=eZ(),0>Z.actualStartTime&&(Z.actualStartTime=zQ)}function q6(Z){if(0<=zQ){var J=eZ()-zQ;Z.actualDuration+=J,Z.selfBaseDuration=J,zQ=-1}}function X5(Z){if(0<=zQ){var J=eZ()-zQ;Z.actualDuration+=J,zQ=-1}}function VQ(){if(0<=zQ){var Z=eZ(),J=Z-zQ;zQ=-1,Y8+=J,fZ+=J,D0=Z}}function b4(Z){RZ===null&&(RZ=[]),RZ.push(Z),$6===null&&($6=[]),$6.push(Z)}function eJ(){zQ=eZ(),0>B0&&(B0=zQ)}function j6(Z){for(var J=Z.child;J;)Z.actualDuration+=J.actualDuration,J=J.sibling}function e7(){}function dZ(Z){Z!==S5&&Z.next===null&&(S5===null?SK=S5=Z:S5=S5.next=Z),xK=!0,w.actQueue!==null?wq||(wq=!0,U7()):fq||(fq=!0,U7())}function v9(Z,J){if(!vq&&xK){vq=!0;do{var G=!1;for(var X=SK;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,v4(X,j))}else j=b0,j=a(X,X===FZ?j:0,X.cancelPendingCommit!==null||X.timeoutHandle!==F8),(j&3)===0||K0(X,j)||(G=!0,v4(X,j));X=X.next}}while(G);vq=!1}}function f4(){Wq(),U5()}function U5(){xK=wq=fq=!1;var Z=0;N8!==0&&BL()&&(Z=N8);for(var J=HJ(),G=null,X=SK;X!==null;){var q=X.next,j=q5(X,J);if(j===0)X.next=null,G===null?SK=q:G.next=q,q===null&&(S5=G);else if(G=X,Z!==0||(j&3)!==0)xK=!0;X=q}KJ!==b7&&KJ!==Jz||v9(Z,!1),N8!==0&&(N8=0)}function q5(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=FZ,G=b0,G=a(Z,Z===J?G:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==F8),X=Z.callbackNode,G===0||Z===J&&(XZ===k8||XZ===E8)||Z.cancelPendingCommit!==null)return X!==null&&H6(X),Z.callbackNode=null,Z.callbackPriority=0;if((G&3)===0||K0(Z,G)){if(J=G&-G,J!==Z.callbackPriority||w.actQueue!==null&&X!==yq)H6(X);else return J;switch(GZ(G)){case 2:case 8:G=Y2;break;case 32:G=Q1;break;case 268435456:G=V2;break;default:G=Q1}return X=w4.bind(null,Z),w.actQueue!==null?(w.actQueue.push(X),G=yq):G=MK(G,X),Z.callbackPriority=J,Z.callbackNode=G,J}return X!==null&&H6(X),Z.callbackPriority=2,Z.callbackNode=null,2}function w4(Z,J){if(CK=TK=!1,Wq(),KJ!==b7&&KJ!==Jz)return Z.callbackNode=null,Z.callbackPriority=0,null;var G=Z.callbackNode;if($9===Zz&&($9=U3),A5()&&Z.callbackNode!==G)return null;var X=b0;if(X=a(Z,Z===FZ?X:0,Z.cancelPendingCommit!==null||Z.timeoutHandle!==F8),X===0)return null;return BF(Z,X,J),q5(Z,HJ()),Z.callbackNode!=null&&Z.callbackNode===G?w4.bind(null,Z):null}function v4(Z,J){if(A5())return null;TK=CK,CK=!1,BF(Z,J,!0)}function H6(Z){Z!==yq&&Z!==null&&TP(Z)}function U7(){w.actQueue!==null&&w.actQueue.push(function(){return U5(),null}),ML?LL(function(){(c0&(NJ|Z9))!==AJ?MK(Pq,f4):U5()}):MK(Pq,f4)}function lQ(){if(N8===0){var Z=M8;Z===0&&(Z=DK,DK<<=1,(DK&261888)===0&&(DK=256)),N8=Z}return N8}function CG(Z,J){if(H1===null){var G=H1=[];gq=0,M8=lQ(),x5={status:"pending",value:void 0,then:function(X){G.push(X)}}}return gq++,J.then(j5,j5),J}function j5(){if(--gq===0&&(-1<sQ||(I6=-1.1),H1!==null)){x5!==null&&(x5.status="fulfilled");var Z=H1;H1=null,M8=0,x5=null;for(var J=0;J<Z.length;J++)(0,Z[J])()}}function y4(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 B6(){var Z=L8.current;return Z!==null?Z:FZ.pooledCache}function Z8(Z,J){J===null?i(L8,L8.current,Z):i(L8,J.pool,Z)}function q7(){var Z=B6();return Z===null?null:{parent:V6?mZ._currentValue:mZ._currentValue2,pool:Z}}function j7(Z,J){if(KQ(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(!_q.call(J,q)||!KQ(Z[q],J[q]))return!1}return!0}function mJ(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function SG(Z){return Z=Z.status,Z==="fulfilled"||Z==="rejected"}function J8(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(e7,e7),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,xG(Z),Z;default:if(typeof J.status==="string")J.then(e7,e7);else{if(Z=FZ,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,xG(Z),Z}throw _8=J,D1=!0,b5}}function TQ(Z){try{return dP(Z)}catch(J){if(J!==null&&typeof J==="object"&&typeof J.then==="function")throw _8=J,D1=!0,b5;throw J}}function g4(){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,D1=!1,Z}function xG(Z){if(Z===b5||Z===fK)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 JZ(Z){var J=x0;return Z!=null&&(x0=J===null?Z:J.concat(Z)),J}function ZQ(){var Z=x0;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 qJ(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=OK(Z,G.mode,0),J._debugInfo=x0,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 CQ(Z){var J=A1;return A1+=1,f5===null&&(f5=mJ()),J8(f5,Z,J)}function H7(Z,J){J=J.props.ref,Z.ref=J!==void 0?J:null}function wH(Z,J){if(J.$$typeof===oM)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 bG(Z,J){var G=ZQ();G!==null?G.run(wH.bind(null,Z,J)):wH(Z,J)}function vH(Z,J){var G=x(Z)||"Component";n2[G]||(n2[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 fG(Z,J){var G=ZQ();G!==null?G.run(vH.bind(null,Z,J)):vH(Z,J)}function yH(Z,J){var G=x(Z)||"Component";s2[G]||(s2[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 wG(Z,J){var G=ZQ();G!==null?G.run(yH.bind(null,Z,J)):yH(Z,J)}function gH(Z){function J($,R){if(Z){var S=$.deletions;S===null?($.deletions=[R],$.flags|=16):S.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 $=O6($,R),$.index=0,$.sibling=null,$}function j($,R,S){if($.index=S,!Z)return $.flags|=1048576,R;if(S=$.alternate,S!==null)return S=S.index,S<R?($.flags|=67108866,R):S;return $.flags|=67108866,R}function O($){return Z&&$.alternate===null&&($.flags|=67108866),$}function V($,R,S,h){if(R===null||R.tag!==6)return R=zq(S,$.mode,h),R.return=$,R._debugOwner=$,R._debugTask=$._debugTask,R._debugInfo=x0,R;return R=q(R,S),R.return=$,R._debugInfo=x0,R}function P($,R,S,h){var G0=S.type;if(G0===N5)return R=f($,R,S.props.children,h,S.key),qJ(S,R,$),R;if(R!==null&&(R.elementType===G0||SF(R,S)||typeof G0==="object"&&G0!==null&&G0.$$typeof===bQ&&TQ(G0)===R.type))return R=q(R,S.props),H7(R,S),R.return=$,R._debugOwner=S._owner,R._debugInfo=x0,R;return R=OK(S,$.mode,h),H7(R,S),R.return=$,R._debugInfo=x0,R}function k($,R,S,h){if(R===null||R.tag!==4||R.stateNode.containerInfo!==S.containerInfo||R.stateNode.implementation!==S.implementation)return R=Xq(S,$.mode,h),R.return=$,R._debugInfo=x0,R;return R=q(R,S.children||[]),R.return=$,R._debugInfo=x0,R}function f($,R,S,h,G0){if(R===null||R.tag!==7)return R=H8(S,$.mode,h,G0),R.return=$,R._debugOwner=$,R._debugTask=$._debugTask,R._debugInfo=x0,R;return R=q(R,S),R.return=$,R._debugInfo=x0,R}function v($,R,S){if(typeof R==="string"&&R!==""||typeof R==="number"||typeof R==="bigint")return R=zq(""+R,$.mode,S),R.return=$,R._debugOwner=$,R._debugTask=$._debugTask,R._debugInfo=x0,R;if(typeof R==="object"&&R!==null){switch(R.$$typeof){case W6:return S=OK(R,$.mode,S),H7(S,R),S.return=$,$=JZ(R._debugInfo),S._debugInfo=x0,x0=$,S;case B8:return R=Xq(R,$.mode,S),R.return=$,R._debugInfo=x0,R;case bQ:var h=JZ(R._debugInfo);return R=TQ(R),$=v($,R,S),x0=h,$}if(kJ(R)||s(R))return S=H8(R,$.mode,S,null),S.return=$,S._debugOwner=$,S._debugTask=$._debugTask,$=JZ(R._debugInfo),S._debugInfo=x0,x0=$,S;if(typeof R.then==="function")return h=JZ(R._debugInfo),$=v($,CQ(R),S),x0=h,$;if(R.$$typeof===Y6)return v($,oJ($,R),S);bG($,R)}return typeof R==="function"&&fG($,R),typeof R==="symbol"&&wG($,R),null}function c($,R,S,h){var G0=R!==null?R.key:null;if(typeof S==="string"&&S!==""||typeof S==="number"||typeof S==="bigint")return G0!==null?null:V($,R,""+S,h);if(typeof S==="object"&&S!==null){switch(S.$$typeof){case W6:return S.key===G0?(G0=JZ(S._debugInfo),$=P($,R,S,h),x0=G0,$):null;case B8:return S.key===G0?k($,R,S,h):null;case bQ:return G0=JZ(S._debugInfo),S=TQ(S),$=c($,R,S,h),x0=G0,$}if(kJ(S)||s(S)){if(G0!==null)return null;return G0=JZ(S._debugInfo),$=f($,R,S,h,null),x0=G0,$}if(typeof S.then==="function")return G0=JZ(S._debugInfo),$=c($,R,CQ(S),h),x0=G0,$;if(S.$$typeof===Y6)return c($,R,oJ($,S),h);bG($,S)}return typeof S==="function"&&fG($,S),typeof S==="symbol"&&wG($,S),null}function q0($,R,S,h,G0){if(typeof h==="string"&&h!==""||typeof h==="number"||typeof h==="bigint")return $=$.get(S)||null,V(R,$,""+h,G0);if(typeof h==="object"&&h!==null){switch(h.$$typeof){case W6:return S=$.get(h.key===null?S:h.key)||null,$=JZ(h._debugInfo),R=P(R,S,h,G0),x0=$,R;case B8:return $=$.get(h.key===null?S:h.key)||null,k(R,$,h,G0);case bQ:var s0=JZ(h._debugInfo);return h=TQ(h),R=q0($,R,S,h,G0),x0=s0,R}if(kJ(h)||s(h))return S=$.get(S)||null,$=JZ(h._debugInfo),R=f(R,S,h,G0,null),x0=$,R;if(typeof h.then==="function")return s0=JZ(h._debugInfo),R=q0($,R,S,CQ(h),G0),x0=s0,R;if(h.$$typeof===Y6)return q0($,R,S,oJ(R,h),G0);bG(R,h)}return typeof h==="function"&&fG(R,h),typeof h==="symbol"&&wG(R,h),null}function L0($,R,S,h){if(typeof S!=="object"||S===null)return h;switch(S.$$typeof){case W6:case B8:_($,R,S);var G0=S.key;if(typeof G0!=="string")break;if(h===null){h=new Set,h.add(G0);break}if(!h.has(G0)){h.add(G0);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.",G0)});break;case bQ:S=TQ(S),L0($,R,S,h)}return h}function jZ($,R,S,h){for(var G0=null,s0=null,M0=null,I0=R,T0=R=0,NZ=null;I0!==null&&T0<S.length;T0++){I0.index>T0?(NZ=I0,I0=null):NZ=I0.sibling;var nZ=c($,I0,S[T0],h);if(nZ===null){I0===null&&(I0=NZ);break}G0=L0($,nZ,S[T0],G0),Z&&I0&&nZ.alternate===null&&J($,I0),R=j(nZ,R,T0),M0===null?s0=nZ:M0.sibling=nZ,M0=nZ,I0=NZ}if(T0===S.length)return G($,I0),p0&&QZ($,T0),s0;if(I0===null){for(;T0<S.length;T0++)I0=v($,S[T0],h),I0!==null&&(G0=L0($,I0,S[T0],G0),R=j(I0,R,T0),M0===null?s0=I0:M0.sibling=I0,M0=I0);return p0&&QZ($,T0),s0}for(I0=X(I0);T0<S.length;T0++)NZ=q0(I0,$,T0,S[T0],h),NZ!==null&&(G0=L0($,NZ,S[T0],G0),Z&&NZ.alternate!==null&&I0.delete(NZ.key===null?T0:NZ.key),R=j(NZ,R,T0),M0===null?s0=NZ:M0.sibling=NZ,M0=NZ);return Z&&I0.forEach(function(b6){return J($,b6)}),p0&&QZ($,T0),s0}function s5($,R,S,h){if(S==null)throw Error("An iterable object provided no iterator.");for(var G0=null,s0=null,M0=R,I0=R=0,T0=null,NZ=null,nZ=S.next();M0!==null&&!nZ.done;I0++,nZ=S.next()){M0.index>I0?(T0=M0,M0=null):T0=M0.sibling;var b6=c($,M0,nZ.value,h);if(b6===null){M0===null&&(M0=T0);break}NZ=L0($,b6,nZ.value,NZ),Z&&M0&&b6.alternate===null&&J($,M0),R=j(b6,R,I0),s0===null?G0=b6:s0.sibling=b6,s0=b6,M0=T0}if(nZ.done)return G($,M0),p0&&QZ($,I0),G0;if(M0===null){for(;!nZ.done;I0++,nZ=S.next())M0=v($,nZ.value,h),M0!==null&&(NZ=L0($,M0,nZ.value,NZ),R=j(M0,R,I0),s0===null?G0=M0:s0.sibling=M0,s0=M0);return p0&&QZ($,I0),G0}for(M0=X(M0);!nZ.done;I0++,nZ=S.next())T0=q0(M0,$,I0,nZ.value,h),T0!==null&&(NZ=L0($,T0,nZ.value,NZ),Z&&T0.alternate!==null&&M0.delete(T0.key===null?I0:T0.key),R=j(T0,R,I0),s0===null?G0=T0:s0.sibling=T0,s0=T0);return Z&&M0.forEach(function(tP){return J($,tP)}),p0&&QZ($,I0),G0}function R9($,R,S,h){if(typeof S==="object"&&S!==null&&S.type===N5&&S.key===null&&(qJ(S,null,$),S=S.props.children),typeof S==="object"&&S!==null){switch(S.$$typeof){case W6:var G0=JZ(S._debugInfo);Z:{for(var s0=S.key;R!==null;){if(R.key===s0){if(s0=S.type,s0===N5){if(R.tag===7){G($,R.sibling),h=q(R,S.props.children),h.return=$,h._debugOwner=S._owner,h._debugInfo=x0,qJ(S,h,$),$=h;break Z}}else if(R.elementType===s0||SF(R,S)||typeof s0==="object"&&s0!==null&&s0.$$typeof===bQ&&TQ(s0)===R.type){G($,R.sibling),h=q(R,S.props),H7(h,S),h.return=$,h._debugOwner=S._owner,h._debugInfo=x0,$=h;break Z}G($,R);break}else J($,R);R=R.sibling}S.type===N5?(h=H8(S.props.children,$.mode,h,S.key),h.return=$,h._debugOwner=$,h._debugTask=$._debugTask,h._debugInfo=x0,qJ(S,h,$),$=h):(h=OK(S,$.mode,h),H7(h,S),h.return=$,h._debugInfo=x0,$=h)}return $=O($),x0=G0,$;case B8:Z:{G0=S;for(S=G0.key;R!==null;){if(R.key===S)if(R.tag===4&&R.stateNode.containerInfo===G0.containerInfo&&R.stateNode.implementation===G0.implementation){G($,R.sibling),h=q(R,G0.children||[]),h.return=$,$=h;break Z}else{G($,R);break}else J($,R);R=R.sibling}h=Xq(G0,$.mode,h),h.return=$,$=h}return O($);case bQ:return G0=JZ(S._debugInfo),S=TQ(S),$=R9($,R,S,h),x0=G0,$}if(kJ(S))return G0=JZ(S._debugInfo),$=jZ($,R,S,h),x0=G0,$;if(s(S)){if(G0=JZ(S._debugInfo),s0=s(S),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(S);if(M0===S){if($.tag!==0||Object.prototype.toString.call($.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(M0)!=="[object Generator]")a2||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."),a2=!0}else S.entries!==s0||pq||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),pq=!0);return $=s5($,R,M0,h),x0=G0,$}if(typeof S.then==="function")return G0=JZ(S._debugInfo),$=R9($,R,CQ(S),h),x0=G0,$;if(S.$$typeof===Y6)return R9($,R,oJ($,S),h);bG($,S)}if(typeof S==="string"&&S!==""||typeof S==="number"||typeof S==="bigint")return G0=""+S,R!==null&&R.tag===6?(G($,R.sibling),h=q(R,G0),h.return=$,$=h):(G($,R),h=zq(G0,$.mode,h),h.return=$,h._debugOwner=$,h._debugTask=$._debugTask,h._debugInfo=x0,$=h),O($);return typeof S==="function"&&fG($,S),typeof S==="symbol"&&wG($,S),G($,R)}return function($,R,S,h){var G0=x0;x0=null;try{A1=0;var s0=R9($,R,S,h);return f5=null,s0}catch(NZ){if(NZ===b5||NZ===fK)throw NZ;var M0=Y(29,NZ,null,$.mode);M0.lanes=h,M0.return=$;var I0=M0._debugInfo=x0;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{x0=G0}}}function mH(Z,J){var G=kJ(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 vG(){for(var Z=w5,J=cq=w5=0;J<Z;){var G=oQ[J];oQ[J++]=null;var X=oQ[J];oQ[J++]=null;var q=oQ[J];oQ[J++]=null;var j=oQ[J];if(oQ[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&&uH(G,q,j)}}function yG(Z,J,G,X){oQ[w5++]=Z,oQ[w5++]=J,oQ[w5++]=G,oQ[w5++]=X,cq|=X,Z.lanes|=X,Z=Z.alternate,Z!==null&&(Z.lanes|=X)}function lX(Z,J,G,X){return yG(Z,J,G,X),gG(Z)}function uJ(Z,J){return yG(Z,null,null,J),gG(Z)}function uH(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&N1||(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 gG(Z){if(S1>sP)throw C8=S1=0,x1=B3=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.");C8>oP&&(C8=0,x1=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&&CF(Z);for(var J=Z,G=J.return;G!==null;)J.alternate===null&&(J.flags&4098)!==0&&CF(Z),J=G,G=J.return;return J.tag===3?J.stateNode:null}function aX(Z){Z.updateQueue={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iX(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:r2,payload:null,callback:null,next:null}}function F7(Z,J,G){var X=Z.updateQueue;if(X===null)return null;if(X=X.shared,lq===X&&!ZO){var q=x(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),ZO=!0}if((c0&NJ)!==AJ)return q=X.pending,q===null?J.next=J:(J.next=q.next,q.next=J),X.pending=J,J=gG(Z),uH(Z,null,G),J;return yG(Z,X,J,G),gG(Z)}function m4(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 mG(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 u4(){if(aq){var Z=x5;if(Z!==null)throw Z}}function h4(Z,J,G,X){aq=!1;var q=Z.updateQueue;k7=!1,lq=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 f=Z.alternate;f!==null&&(f=f.updateQueue,V=f.lastBaseUpdate,V!==O&&(V===null?f.firstBaseUpdate=k:V.next=k,f.lastBaseUpdate=P))}if(j!==null){var v=q.baseState;O=0,f=k=P=null,V=j;do{var c=V.lane&-536870913,q0=c!==V.lane;if(q0?(b0&c)===c:(X&c)===c){c!==0&&c===M8&&(aq=!0),f!==null&&(f=f.next={lane:0,tag:V.tag,payload:V.payload,callback:null,next:null});Z:{c=Z;var L0=V,jZ=J,s5=G;switch(L0.tag){case t2:if(L0=L0.payload,typeof L0==="function"){E5=!0;var R9=L0.call(s5,v,jZ);if(c.mode&8){y0(!0);try{L0.call(s5,v,jZ)}finally{y0(!1)}}E5=!1,v=R9;break Z}v=L0;break Z;case dq:c.flags=c.flags&-65537|128;case r2:if(R9=L0.payload,typeof R9==="function"){if(E5=!0,L0=R9.call(s5,v,jZ),c.mode&8){y0(!0);try{R9.call(s5,v,jZ)}finally{y0(!1)}}E5=!1}else L0=R9;if(L0===null||L0===void 0)break Z;v=IJ({},v,L0);break Z;case e2:k7=!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},f===null?(k=f=q0,P=v):f=f.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);f===null&&(P=v),q.baseState=P,q.firstBaseUpdate=k,q.lastBaseUpdate=f,j===null&&(q.shared.lanes=0),C7|=O,Z.lanes=O,Z.memoizedState=v}lq=null}function hH(Z,J){if(typeof Z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+Z);Z.call(J)}function DM(Z,J){var G=Z.shared.hiddenCallbacks;if(G!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<G.length;Z++)hH(G[Z],J)}function pH(Z,J){var G=Z.callbacks;if(G!==null)for(Z.callbacks=null,Z=0;Z<G.length;Z++)hH(G[Z],J)}function cH(Z,J){var G=n9;i(vK,G,Z),i(v5,J,Z),n9=G|J.baseLanes}function nX(Z){i(vK,n9,Z),i(v5,v5.current,Z)}function sX(Z){n9=vK.current,d(v5,Z),d(vK,Z)}function O7(Z){var J=Z.alternate;i(iZ,iZ.current&y5,Z),i(wQ,Z,Z),rQ===null&&(J===null||v5.current!==null?rQ=Z:J.memoizedState!==null&&(rQ=Z))}function oX(Z){i(iZ,iZ.current,Z),i(wQ,Z,Z),rQ===null&&(rQ=Z)}function dH(Z){Z.tag===22?(i(iZ,iZ.current,Z),i(wQ,Z,Z),rQ===null&&(rQ=Z)):W7(Z)}function W7(Z){i(iZ,iZ.current,Z),i(wQ,wQ.current,Z)}function SQ(Z){d(wQ,Z),rQ===Z&&(rQ=null),d(iZ,Z)}function uG(Z){for(var J=Z;J!==null;){if(J.tag===13){var G=J.memoizedState;if(G!==null&&(G=G.dehydrated,G===null||Vq(G)||Dq(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=b;eQ===null?eQ=[Z]:eQ.push(Z)}function n(){var Z=b;if(eQ!==null&&(C6++,eQ[C6]!==Z)){var J=x(N0);if(!JO.has(J)&&(JO.add(J),eQ!==null)){for(var G="",X=0;X<=C6;X++){var q=eQ[X],j=X===C6?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 H5(Z){Z===void 0||Z===null||kJ(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.",b,typeof Z)}function hG(){var Z=x(N0);GO.has(Z)||(GO.add(Z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",Z))}function lZ(){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 rX(Z,J){if(P1)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.",b),!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`,b,"["+J.join(", ")+"]","["+Z.join(", ")+"]");for(var G=0;G<J.length&&G<Z.length;G++)if(!KQ(Z[G],J[G]))return!1;return!0}function tX(Z,J,G,X,q,j){if(E6=j,N0=J,eQ=Z!==null?Z._debugHookTypes:null,C6=-1,P1=Z!==null&&Z.type!==J.type,Object.prototype.toString.call(G)==="[object AsyncFunction]"||Object.prototype.toString.call(G)==="[object AsyncGeneratorFunction]")j=x(N0),iq.has(j)||(iq.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?sq:eQ!==null?KO:nq,R8=j=(J.mode&8)!==A0;var O=mq(G,X,q);if(R8=!1,m5&&(O=eX(J,G,X,q)),j){y0(!0);try{O=eX(J,G,X,q)}finally{y0(!1)}}return lH(Z,J),O}function lH(Z,J){J._debugHookTypes=eQ,J.dependencies===null?T6!==null&&(J.dependencies={lanes:0,firstContext:null,_debugThenableState:T6}):J.dependencies._debugThenableState=T6,w.H=_1;var G=BZ!==null&&BZ.next!==null;if(E6=0,eQ=b=ZJ=BZ=N0=null,C6=-1,Z!==null&&(Z.flags&65011712)!==(J.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),gK=!1,L1=0,T6=null,G)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");Z===null||JJ||(Z=Z.dependencies,Z!==null&&Q7(Z)&&(JJ=!0)),D1?(D1=!1,Z=!0):Z=!1,Z&&(J=x(J)||"Unknown",QO.has(J)||iq.has(J)||(QO.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 eX(Z,J,G,X){N0=Z;var q=0;do{if(m5&&(T6=null),L1=0,m5=!1,q>=aP)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(q+=1,P1=!1,ZJ=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)}C6=-1,w.H=zO,j=mq(J,G,X)}while(m5);return j}function AM(){var Z=w.H,J=Z.useState()[0];return J=typeof J.then==="function"?p4(J):J,Z=Z.useState()[0],(BZ!==null?BZ.memoizedState:null)!==Z&&(N0.flags|=1024),J}function ZU(){var Z=mK!==0;return mK=0,Z}function JU(Z,J,G){J.updateQueue=Z.updateQueue,J.flags=(J.mode&16)!==A0?J.flags&-402655237:J.flags&-2053,Z.lanes&=~G}function QU(Z){if(gK){for(Z=Z.memoizedState;Z!==null;){var J=Z.queue;J!==null&&(J.pending=null),Z=Z.next}gK=!1}E6=0,eQ=ZJ=BZ=N0=null,C6=-1,b=null,m5=!1,L1=mK=0,T6=null}function JQ(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ZJ===null?N0.memoizedState=ZJ=Z:ZJ=ZJ.next=Z,ZJ}function zZ(){if(BZ===null){var Z=N0.alternate;Z=Z!==null?Z.memoizedState:null}else Z=BZ.next;var J=ZJ===null?N0.memoizedState:ZJ.next;if(J!==null)ZJ=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},ZJ===null?N0.memoizedState=ZJ=Z:ZJ=ZJ.next=Z}return ZJ}function pG(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function p4(Z){var J=L1;return L1+=1,T6===null&&(T6=mJ()),Z=J8(T6,Z,J),J=N0,(ZJ===null?J.memoizedState:ZJ.next)===null&&(J=J.alternate,w.H=J!==null&&J.memoizedState!==null?sq:nq),Z}function Y7(Z){if(Z!==null&&typeof Z==="object"){if(typeof Z.then==="function")return p4(Z);if(Z.$$typeof===Y6)return qZ(Z)}throw Error("An unsupported type was passed to use(): "+String(Z))}function Q8(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=pG(),N0.updateQueue=G),G.memoCache=J,G=J.data[J.index],G===void 0||P1)for(G=J.data[J.index]=Array(Z),X=0;X<Z;X++)G[X]=rM;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 Y9(Z,J){return typeof J==="function"?J(Z):J}function GU(Z,J,G){var X=JQ();if(G!==void 0){var q=G(J);if(R8){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=_M.bind(null,N0,Z),[X.memoizedState,Z]}function B5(Z){var J=zZ();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,f=!1;do{var v=k.lane&-536870913;if(v!==k.lane?(b0&v)===v:(E6&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===M8&&(f=!0);else if((E6&c)===c){k=k.next,c===M8&&(f=!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,C7|=c;v=k.action,R8&&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,C7|=v;k=k.next}while(k!==null&&k!==J);if(P===null?O=j:P.next=V,!KQ(j,Z.memoizedState)&&(JJ=!0,f&&(G=x5,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 c4(Z){var J=zZ(),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);KQ(j,J.memoizedState)||(JJ=!0),J.memoizedState=j,J.baseQueue===null&&(J.baseState=j),G.lastRenderedState=j}return[j,X]}function zU(Z,J,G){var X=N0,q=JQ();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();g5||j===G()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),g5=!0)}else{if(j=J(),g5||(G=J(),KQ(j,G)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),g5=!0)),FZ===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(b0&127)!==0||aH(X,J,j)}return q.memoizedState=j,G={value:j,getSnapshot:J},q.queue=G,aG(nH.bind(null,X,G,Z),[Z]),X.flags|=2048,O5(tQ|UQ,{destroy:void 0},iH.bind(null,X,G,j,J),null),j}function cG(Z,J,G){var X=N0,q=zZ(),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(),!g5){var O=J();KQ(G,O)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),g5=!0)}if(O=!KQ((BZ||q).memoizedState,G))q.memoizedState=G,JJ=!0;q=q.queue;var V=nH.bind(null,X,q,Z);if(DQ(2048,UQ,V,[Z]),q.getSnapshot!==J||O||ZJ!==null&&ZJ.memoizedState.tag&tQ){if(X.flags|=2048,O5(tQ|UQ,{destroy:void 0},iH.bind(null,X,q,G,J),null),FZ===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");j||(E6&127)!==0||aH(X,J,G)}return G}function aH(Z,J,G){Z.flags|=16384,Z={getSnapshot:J,value:G},J=N0.updateQueue,J===null?(J=pG(),N0.updateQueue=J,J.stores=[Z]):(G=J.stores,G===null?J.stores=[Z]:G.push(Z))}function iH(Z,J,G,X){J.value=G,J.getSnapshot=X,sH(J)&&oH(Z)}function nH(Z,J,G){return G(function(){sH(J)&&(rJ(2,"updateSyncExternalStore()",Z),oH(Z))})}function sH(Z){var J=Z.getSnapshot;Z=Z.value;try{var G=J();return!KQ(Z,G)}catch(X){return!0}}function oH(Z){var J=uJ(Z,2);J!==null&&gZ(J,Z,2)}function XU(Z){var J=JQ();if(typeof Z==="function"){var G=Z;if(Z=G(),R8){y0(!0);try{G()}finally{y0(!1)}}}return J.memoizedState=J.baseState=Z,J.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y9,lastRenderedState:Z},J}function UU(Z){Z=XU(Z);var J=Z.queue,G=WB.bind(null,N0,J);return J.dispatch=G,[Z.memoizedState,G]}function qU(Z){var J=JQ();J.memoizedState=J.baseState=Z;var G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return J.queue=G,J=LU.bind(null,N0,!0,G),G.dispatch=J,[Z,J]}function rH(Z,J){var G=zZ();return tH(G,BZ,Z,J)}function tH(Z,J,G,X){return Z.baseState=G,KU(Z,BZ,typeof X==="function"?X:Y9)}function eH(Z,J){var G=zZ();if(BZ!==null)return tH(G,BZ,Z,J);return G.baseState=Z,[Z,G.queue.dispatch]}function NM(Z,J,G,X,q){if(tG(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,ZB(J,j)):(j.next=G.next,J.pending=G.next=j)}}function ZB(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),JB(Z,J,V)}catch(k){jU(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),JB(Z,J,O)}catch(k){jU(Z,J,k)}}function JB(Z,J,G){G!==null&&typeof G==="object"&&typeof G.then==="function"?(w.asyncTransitions++,G.then(rG,rG),G.then(function(X){QB(Z,J,X)},function(X){return jU(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.")):QB(Z,J,G)}function QB(Z,J,G){J.status="fulfilled",J.value=G,GB(J),Z.state=G,J=Z.pending,J!==null&&(G=J.next,G===J?Z.pending=null:(G=G.next,J.next=G,ZB(Z,G)))}function jU(Z,J,G){var X=Z.pending;if(Z.pending=null,X!==null){X=X.next;do J.status="rejected",J.reason=G,GB(J),J=J.next;while(J!==X)}Z.action=null}function GB(Z){Z=Z.listeners;for(var J=0;J<Z.length;J++)(0,Z[J])()}function KB(Z,J){return J}function F5(Z,J){if(p0){var G=FZ.formState;if(G!==null){Z:{var X=N0;if(p0){if(bZ){var q=aL(bZ,nQ);if(q){bZ=Aq(q),X=iL(q);break Z}}O9(X)}X=!1}X&&(J=G[0])}}G=JQ(),G.memoizedState=G.baseState=J,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:KB,lastRenderedState:J},G.queue=X,G=WB.bind(null,N0,X),X.dispatch=G,X=XU(!1);var j=LU.bind(null,N0,!1,X.queue);return X=JQ(),q={state:J,dispatch:null,action:Z,pending:null},X.queue=q,G=NM.bind(null,N0,q,j,G),q.dispatch=G,X.memoizedState=Z,[J,G,!1]}function dG(Z){var J=zZ();return zB(J,BZ,Z)}function zB(Z,J,G){if(J=KU(Z,J,KB)[0],Z=B5(Y9)[0],typeof J==="object"&&J!==null&&typeof J.then==="function")try{var X=p4(J)}catch(O){if(O===b5)throw fK;throw O}else X=J;J=zZ();var q=J.queue,j=q.dispatch;return G!==J.memoizedState&&(N0.flags|=2048,O5(tQ|UQ,{destroy:void 0},MM.bind(null,q,G),null)),[X,j,Z]}function MM(Z,J){Z.action=J}function lG(Z){var J=zZ(),G=BZ;if(G!==null)return zB(J,G,Z);zZ(),J=J.memoizedState,G=zZ();var X=G.queue.dispatch;return G.memoizedState=Z,[J,X,!1]}function O5(Z,J,G,X){return Z={tag:Z,create:G,deps:X,inst:J,next:null},J=N0.updateQueue,J===null&&(J=pG(),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 HU(Z){var J=JQ();return Z={current:Z},J.memoizedState=Z}function G8(Z,J,G,X){var q=JQ();N0.flags|=Z,q.memoizedState=O5(tQ|J,{destroy:void 0},G,X===void 0?null:X)}function DQ(Z,J,G,X){var q=zZ();X=X===void 0?null:X;var j=q.memoizedState.inst;BZ!==null&&X!==null&&rX(X,BZ.memoizedState.deps)?q.memoizedState=O5(J,j,G,X):(N0.flags|=Z,q.memoizedState=O5(tQ|J,j,G,X))}function aG(Z,J){(N0.mode&16)!==A0?G8(276826112,UQ,Z,J):G8(8390656,UQ,Z,J)}function LM(Z){N0.flags|=4;var J=N0.updateQueue;if(J===null)J=pG(),N0.updateQueue=J,J.events=[Z];else{var G=J.events;G===null?J.events=[Z]:G.push(Z)}}function BU(Z){var J=JQ(),G={impl:Z};return J.memoizedState=G,function(){if((c0&NJ)!==AJ)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function iG(Z){var J=zZ().memoizedState;return LM({ref:J,nextImpl:Z}),function(){if((c0&NJ)!==AJ)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,vQ,Z,J)}function XB(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 OU(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,vQ,XB.bind(null,J,Z),G)}function nG(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,DQ(4,vQ,XB.bind(null,J,Z),G)}function WU(Z,J){return JQ().memoizedState=[Z,J===void 0?null:J],Z}function sG(Z,J){var G=zZ();J=J===void 0?null:J;var X=G.memoizedState;if(J!==null&&rX(J,X[1]))return X[0];return G.memoizedState=[Z,J],Z}function YU(Z,J){var G=JQ();J=J===void 0?null:J;var X=Z();if(R8){y0(!0);try{Z()}finally{y0(!1)}}return G.memoizedState=[X,J],X}function oG(Z,J){var G=zZ();J=J===void 0?null:J;var X=G.memoizedState;if(J!==null&&rX(J,X[1]))return X[0];if(X=Z(),R8){y0(!0);try{Z()}finally{y0(!1)}}return G.memoizedState=[X,J],X}function VU(Z,J){var G=JQ();return DU(G,Z,J)}function UB(Z,J){var G=zZ();return jB(G,BZ.memoizedState,Z,J)}function qB(Z,J){var G=zZ();return BZ===null?DU(G,Z,J):jB(G,BZ.memoizedState,Z,J)}function DU(Z,J,G){if(G===void 0||(E6&1073741824)!==0&&(b0&261930)===0)return Z.memoizedState=J;return Z.memoizedState=G,Z=HF(),N0.lanes|=Z,C7|=Z,G}function jB(Z,J,G,X){if(KQ(G,J))return G;if(v5.current!==null)return Z=DU(Z,G,X),KQ(Z,J)||(JJ=!0),Z;if((E6&42)===0||(E6&1073741824)!==0&&(b0&261930)===0)return JJ=!0,Z.memoizedState=G;return Z=HF(),N0.lanes|=Z,C7|=Z,J}function rG(){w.asyncTransitions--}function HB(Z,J,G,X,q){var j=D6();VJ(j!==0&&8>j?j:8);var O=w.T,V={};V._updatedFibers=new Set,w.T=V,LU(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(rG,rG);var f=y4(P,X);d4(Z,J,f,xQ(Z))}else d4(Z,J,X,xQ(Z))}catch(v){d4(Z,J,{then:function(){},status:"rejected",reason:v},xQ(Z))}finally{VJ(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 BB(Z){var J=Z.memoizedState;if(J!==null)return J;J={memoizedState:L5,baseState:L5,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y9,lastRenderedState:L5},next:null};var G={};return J.next={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y9,lastRenderedState:G},next:null},Z.memoizedState=J,Z=Z.alternate,Z!==null&&(Z.memoizedState=J),J}function AU(){var Z=XU(!1);return Z=HB.bind(null,N0,Z.queue,!0,!1),JQ().memoizedState=Z,[!1,Z]}function FB(){var Z=B5(Y9)[0],J=zZ().memoizedState;return[typeof Z==="boolean"?Z:p4(Z),J]}function OB(){var Z=c4(Y9)[0],J=zZ().memoizedState;return[typeof Z==="boolean"?Z:p4(Z),J]}function K8(){return qZ(O8)}function NU(){var Z=JQ(),J=FZ.identifierPrefix;if(p0){var G=L6,X=M6;G=(X&~(1<<32-GQ(X)-1)).toString(32)+G,J="_"+J+"R_"+G,G=mK++,0<G&&(J+="H"+G.toString(32)),J+="_"}else G=lP++,J="_"+J+"r_"+G.toString(32)+"_";return Z.memoizedState=J}function MU(){return JQ().memoizedState=PM.bind(null,N0)}function PM(Z,J){for(var G=Z.return;G!==null;){switch(G.tag){case 24:case 3:var X=xQ(G),q=B7(X),j=F7(G,q,X);j!==null&&(rJ(X,"refresh()",Z),gZ(j,G,X),m4(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 _M(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=xQ(Z);var q={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};tG(Z)?YB(J,q):(q=lX(Z,J,q,X),q!==null&&(rJ(X,"dispatch()",Z),gZ(q,Z,X),VB(q,J,X)))}function WB(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=xQ(Z),d4(Z,J,G,X)&&rJ(X,"setState()",Z)}function d4(Z,J,G,X){var q={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};if(tG(Z))YB(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=L9;try{var V=J.lastRenderedState,P=j(V,G);if(q.hasEagerState=!0,q.eagerState=P,KQ(P,V))return yG(Z,J,q,0),FZ===null&&vG(),!1}catch(k){}finally{w.H=O}}if(G=lX(Z,J,q,X),G!==null)return gZ(G,Z,X),VB(G,J,X),!0}return!1}function LU(Z,J,G,X){if(w.T===null&&M8===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:lQ(),gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null},tG(Z)){if(J)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else J=lX(Z,G,X,2),J!==null&&(rJ(2,"setOptimistic()",Z),gZ(J,Z,2))}function tG(Z){var J=Z.alternate;return Z===N0||J!==null&&J===N0}function YB(Z,J){m5=gK=!0;var G=Z.pending;G===null?J.next=J:(J.next=G.next,G.next=J),Z.pending=J}function VB(Z,J,G){if((G&4194048)!==0){var X=J.lanes;X&=Z.pendingLanes,G|=X,J.lanes=G,o0(Z,G)}}function PU(Z){if(Z!==null&&typeof Z!=="function"){var J=String(Z);VO.has(J)||(VO.add(J),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z))}}function _U(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:IJ({},q,j),Z.memoizedState=q,Z.lanes===0&&(Z.updateQueue.baseState=q)}function DB(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?!j7(G,X)||!j7(q,j):!0}function AB(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=x(Z)||"Component",UO.has(Z)||(UO.add(Z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Z)),oq.enqueueReplaceState(J,J.state,null))}function z8(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=IJ({},G));for(var q in Z)G[q]===void 0&&(G[q]=Z[q])}return G}function eG(Z,J){try{u5=J.source?x(J.source):null,rq=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 NB(Z,J,G){try{u5=G.source?x(G.source):null,rq=x(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=dq,G.payload={element:null},G.callback=function(){J0(J.source,eG,Z,J)},G}function RU(Z){return Z=B7(Z),Z.tag=dq,Z}function IU(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(){xF(G),J0(X.source,NB,J,G,X)}}var O=G.stateNode;O!==null&&typeof O.componentDidCatch==="function"&&(Z.callback=function(){xF(G),J0(X.source,NB,J,G,X),typeof q!=="function"&&(x7===null?x7=new Set([this]):x7.add(this)),hP(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.",x(G)||"Unknown")})}function $M(Z,J,G,X,q){if(G.flags|=32768,c9&&r4(Z,q),X!==null&&typeof X==="object"&&typeof X.then==="function"){if(J=G.alternate,J!==null&&IQ(J,G,q,!0),p0&&(l9=!0),G=wQ.current,G!==null){switch(G.tag){case 31:case 13:return rQ===null?BK():G.alternate===null&&wZ===x6&&(wZ=nK),G.flags&=-257,G.flags|=65536,G.lanes=q,X===wK?G.flags|=16384:(J=G.updateQueue,J===null?G.updateQueue=new Set([X]):J.add(X),Zq(Z,X,q)),!1;case 22:return G.flags|=65536,X===wK?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)),Zq(Z,X,q)),!1}throw Error("Unexpected Suspense handler tag ("+G.tag+"). This is a bug in React.")}return Zq(Z,X,q),BK(),!1}if(p0)return l9=!0,J=wQ.current,J!==null?((J.flags&65536)===0&&(J.flags|=256),J.flags|=65536,J.lanes=q,X!==Eq&&Z7(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!==Eq&&Z7(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),mG(Z,q),wZ!==E7&&(wZ=I8)),!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(E1===null?E1=[j]:E1.push(j),wZ!==E7&&(wZ=I8),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),mG(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"&&(x7===null||!x7.has(j))))return G.flags|=65536,q&=-q,G.lanes|=q,q=RU(q),IU(q,Z,G,X),mG(G,q),!1}G=G.return}while(G!==null);return!1}function RJ(Z,J,G,X){J.child=Z===null?o2(J,null,G,X):$8(J,Z.child,G,X)}function MB(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(W9(J),X=tX(Z,J,G,O,j,q),V=ZU(),Z!==null&&!JJ)return JU(Z,J,q),F6(Z,J,q);return p0&&V&&P0(J),J.flags|=1,RJ(Z,J,X,q),J.child}function LB(Z,J,G,X,q){if(Z===null){var j=G.type;if(typeof j==="function"&&!Gq(j)&&j.defaultProps===void 0&&G.compare===null)return G=j8(j),J.tag=15,J.type=G,EU(J,j),PB(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:j7,G(O,X)&&Z.ref===J.ref)return F6(Z,J,q)}return J.flags|=1,Z=O6(j,X),Z.ref=J.ref,Z.return=J,J.child=Z}function PB(Z,J,G,X,q){if(Z!==null){var j=Z.memoizedProps;if(j7(j,X)&&Z.ref===J.ref&&J.type===Z.type)if(JJ=!1,J.pendingProps=X=j,fU(Z,q))(Z.flags&131072)!==0&&(JJ=!0);else return J.lanes=Z.lanes,F6(Z,J,q)}return kU(Z,J,G,X,q)}function _B(Z,J,G,X){var q=X.children,j=Z!==null?Z.memoizedState:null;if(Z===null&&J.stateNode===null&&(J.stateNode={_visibility:N1,_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 $B(Z,J,j,G,X)}if((G&536870912)!==0)J.memoizedState={baseLanes:0,cachePool:null},Z!==null&&Z8(J,j!==null?j.cachePool:null),j!==null?cH(J,j):nX(J),dH(J);else return X=J.lanes=536870912,$B(Z,J,j!==null?j.baseLanes|G:G,G,X)}else j!==null?(Z8(J,j.cachePool),cH(J,j),W7(J),J.memoizedState=null):(Z!==null&&Z8(J,null),nX(J),W7(J));return RJ(Z,J,q,G),J.child}function l4(Z,J){return Z!==null&&Z.tag===22||J.stateNode!==null||(J.stateNode={_visibility:N1,_pendingMarkers:null,_retryCache:null,_transitions:null}),J.sibling}function $B(Z,J,G,X,q){var j=B6();return j=j===null?null:{parent:V6?mZ._currentValue:mZ._currentValue2,pool:j},J.memoizedState={baseLanes:G,cachePool:j},Z!==null&&Z8(J,null),nX(J),dH(J),Z!==null&&IQ(Z,J,X,!0),J.childLanes=q,null}function ZK(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=QK({mode:J.mode,children:J.children},Z.mode),J.ref=Z.ref,Z.child=J,J.return=Z,J}function RB(Z,J,G){return $8(J,Z.child,null,G),Z=ZK(J,J.pendingProps),Z.flags|=2,SQ(J),J.memoizedState=null,Z}function RM(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=ZK(J,X),J.lanes=536870912,l4(null,Z);if(oX(J),(Z=bZ)?(G=QP(Z,nQ),G!==null&&(X={dehydrated:G,treeContext:$Q(),retryLane:536870912,hydrationErrors:null},J.memoizedState=X,X=wF(G),X.return=J,J.child=X,EJ=J,bZ=null)):G=null,G===null)throw w9(J,Z),O9(J);return J.lanes=536870912,null}return ZK(J,X)}var j=Z.memoizedState;if(j!==null){var O=j.dehydrated;if(oX(J),q)if(J.flags&256)J.flags&=-257,J=RB(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&&HK(J),JJ||IQ(Z,J,G,!1),q=(G&Z.childLanes)!==0,JJ||q){if(X=FZ,X!==null&&(O=kZ(X,G),O!==0&&O!==j.retryLane))throw j.retryLane=O,uJ(Z,O),gZ(X,Z,O),tq;BK(),J=RB(Z,J,G)}else Z=j.treeContext,cJ&&(bZ=rL(O),EJ=J,p0=!0,P7=null,l9=!1,fQ=null,nQ=!1,Z!==null&&RQ(J,Z)),J=ZK(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&&HK(J),Z=O6(j,X),Z.ref=J.ref,J.child=Z,Z.return=J,Z}function JK(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 kU(Z,J,G,X,q){if(G.prototype&&typeof G.prototype.render==="function"){var j=y(G)||"Unknown";DO[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),DO[j]=!0)}if(J.mode&8&&M9.recordLegacyContextWarning(J,null),Z===null&&(EU(J,J.type),G.contextTypes&&(j=y(G)||"Unknown",NO[j]||(NO[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)))),W9(J),G=tX(Z,J,G,X,void 0,q),X=ZU(),Z!==null&&!JJ)return JU(Z,J,q),F6(Z,J,q);return p0&&X&&P0(J),J.flags|=1,RJ(Z,J,G,q),J.child}function IB(Z,J,G,X,q,j){if(W9(J),C6=-1,P1=Z!==null&&Z.type!==J.type,J.updateQueue=null,G=eX(J,X,G,q),lH(Z,J),X=ZU(),Z!==null&&!JJ)return JU(Z,J,j),F6(Z,J,j);return p0&&X&&P0(J),J.flags|=1,RJ(Z,J,G,j),J.child}function kB(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=FZ,O===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");V=RU(V),IU(V,O,J,j0(j,J)),mG(J,V)}if(W9(J),J.stateNode===null){if(O=D7,j=G.contextType,"contextType"in G&&j!==null&&(j===void 0||j.$$typeof!==Y6)&&!YO.has(G)&&(YO.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===jq?" 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=qZ(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=oq,J.stateNode=j,j._reactInternals=J,j._reactInternalInstance=XO,typeof G.getDerivedStateFromProps==="function"&&O===null&&(O=y(G)||"Component",qO.has(O)||(qO.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()";HO.has(j)||(HO.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&&!WO.has(G)&&(WO.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&&!OO.has(G)&&(OO.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"||jO.has(G)||(jO.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"||kJ(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={},aX(J),O=G.contextType,j.context=typeof O==="object"&&O!==null?qZ(O):D7,j.state===X&&(O=y(G)||"Component",BO.has(O)||(BO.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&&M9.recordLegacyContextWarning(J,j),M9.recordUnsafeLifecycleWarnings(J,j),j.state=J.memoizedState,O=G.getDerivedStateFromProps,typeof O==="function"&&(_U(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.",x(J)||"Component"),oq.enqueueReplaceState(j,j.state,null)),h4(J,X,j,q),u4(),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 f=J.memoizedProps;V=z8(G,f),j.props=V;var v=j.context;P=G.contextType,O=D7,typeof P==="object"&&P!==null&&(O=qZ(P)),k=G.getDerivedStateFromProps,P=typeof k==="function"||typeof j.getSnapshotBeforeUpdate==="function",f=J.pendingProps!==f,P||typeof j.UNSAFE_componentWillReceiveProps!=="function"&&typeof j.componentWillReceiveProps!=="function"||(f||v!==O)&&AB(J,j,X,O),k7=!1;var c=J.memoizedState;j.state=c,h4(J,X,j,q),u4(),v=J.memoizedState,f||c!==v||k7?(typeof k==="function"&&(_U(J,G,k,X),v=J.memoizedState),(V=k7||DB(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,iX(Z,J),O=J.memoizedProps,P=z8(G,O),j.props=P,k=J.pendingProps,c=j.context,v=G.contextType,V=D7,typeof v==="object"&&v!==null&&(V=qZ(v)),f=G.getDerivedStateFromProps,(v=typeof f==="function"||typeof j.getSnapshotBeforeUpdate==="function")||typeof j.UNSAFE_componentWillReceiveProps!=="function"&&typeof j.componentWillReceiveProps!=="function"||(O!==k||c!==V)&&AB(J,j,X,V),k7=!1,c=J.memoizedState,j.state=c,h4(J,X,j,q),u4();var q0=J.memoizedState;O!==k||c!==q0||k7||Z!==null&&Z.dependencies!==null&&Q7(Z.dependencies)?(typeof f==="function"&&(_U(J,G,f,X),q0=J.memoizedState),(P=k7||DB(J,G,P,X,c,q0,V)||Z!==null&&Z.dependencies!==null&&Q7(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,JK(Z,J),O=(J.flags&128)!==0,V||O){if(V=J.stateNode,n7(J),O&&typeof G.getDerivedStateFromError!=="function")G=null,zQ=-1;else if(G=v2(V),J.mode&8){y0(!0);try{v2(V)}finally{y0(!1)}}J.flags|=1,Z!==null&&O?(J.child=$8(J,Z.child,null,q),J.child=$8(J,null,G,q)):RJ(Z,J,G,q),J.memoizedState=V.state,Z=J.child}else Z=F6(Z,J,q);return q=J.stateNode,j&&q.props!==X&&(h5||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",x(J)||"a component"),h5=!0),Z}function EB(Z,J,G,X){return pQ(),J.flags|=256,RJ(Z,J,G,X),J.child}function EU(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",MO[Z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",Z),MO[Z]=!0)),typeof J.contextType==="object"&&J.contextType!==null&&(J=y(J)||"Unknown",AO[J]||(console.error("%s: Function components do not support contextType.",J),AO[J]=!0))}function TU(Z){return{baseLanes:Z,cachePool:q7()}}function CU(Z,J,G){return Z=Z!==null?Z.childLanes&~G:0,J&&(Z|=MQ),Z}function TB(Z,J,G){var X=J.pendingProps;F(J)&&(J.flags|=128);var q=!1,j=(J.flags&128)!==0,O;if((O=j)||(O=Z!==null&&Z.memoizedState===null?!1:(iZ.current&M1)!==0),O&&(q=!0,J.flags&=-129),O=(J.flags&32)!==0,J.flags&=-33,Z===null){if(p0){if(q?O7(J):W7(J),(Z=bZ)?(G=GP(Z,nQ),G!==null&&(O={dehydrated:G,treeContext:$Q(),retryLane:536870912,hydrationErrors:null},J.memoizedState=O,O=wF(G),O.return=J,J.child=O,EJ=J,bZ=null)):G=null,G===null)throw w9(J,Z),O9(J);return Dq(G)?J.lanes=32:J.lanes=536870912,null}var V=X.children;if(X=X.fallback,q)return W7(J),q=J.mode,V=QK({mode:"hidden",children:V},q),X=H8(X,q,G,null),V.return=J,X.return=J,V.sibling=X,J.child=V,X=J.child,X.memoizedState=TU(G),X.childLanes=CU(Z,O,G),J.memoizedState=eq,l4(null,X);return O7(J),SU(J,V)}var P=Z.memoizedState;if(P!==null&&(V=P.dehydrated,V!==null)){if(j)J.flags&256?(O7(J),J.flags&=-257,J=xU(Z,J,G)):J.memoizedState!==null?(W7(J),J.child=Z.child,J.flags|=128,J=null):(W7(J),V=X.fallback,q=J.mode,X=QK({mode:"visible",children:X.children},q),V=H8(V,q,G,null),V.flags|=2,X.return=J,V.return=J,X.sibling=V,J.child=X,$8(J,Z.child,null,G),X=J.child,X.memoizedState=TU(G),X.childLanes=CU(Z,O,G),J.memoizedState=eq,J=l4(null,X));else if(O7(J),H0(),(G&536870912)!==0&&HK(J),Dq(V))q=dL(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"&&kq.set(V,X),Z7(X),J=xU(Z,J,G);else if(JJ||IQ(Z,J,G,!1),O=(G&Z.childLanes)!==0,JJ||O){if(O=FZ,O!==null&&(X=kZ(O,G),X!==0&&X!==P.retryLane))throw P.retryLane=X,uJ(Z,X),gZ(O,Z,X),tq;Vq(V)||BK(),J=xU(Z,J,G)}else Vq(V)?(J.flags|=192,J.child=Z.child,J=null):(Z=P.treeContext,cJ&&(bZ=tL(V),EJ=J,p0=!0,P7=null,l9=!1,fQ=null,nQ=!1,Z!==null&&RQ(J,Z)),J=SU(J,X.children),J.flags|=4096);return J}if(q)return W7(J),V=X.fallback,q=J.mode,P=Z.child,j=P.sibling,X=O6(P,{mode:"hidden",children:X.children}),X.subtreeFlags=P.subtreeFlags&65011712,j!==null?V=O6(j,V):(V=H8(V,q,G,null),V.flags|=2),V.return=J,X.return=J,X.sibling=V,J.child=X,l4(null,X),X=J.child,V=Z.child.memoizedState,V===null?V=TU(G):(q=V.cachePool,q!==null?(P=V6?mZ._currentValue:mZ._currentValue2,q=q.parent!==P?{parent:P,pool:P}:q):q=q7(),V={baseLanes:V.baseLanes|G,cachePool:q}),X.memoizedState=V,X.childLanes=CU(Z,O,G),J.memoizedState=eq,l4(Z.child,X);return P!==null&&(G&62914560)===G&&(G&Z.lanes)!==0&&HK(J),O7(J),G=Z.child,Z=G.sibling,G=O6(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 SU(Z,J){return J=QK({mode:"visible",children:J},Z.mode),J.return=Z,Z.child=J}function QK(Z,J){return Z=Y(22,Z,null,J),Z.lanes=0,Z}function xU(Z,J,G){return $8(J,Z.child,null,G),Z=SU(J,J.pendingProps.children),Z.flags|=2,J.memoizedState=null,Z}function CB(Z,J,G){Z.lanes|=J;var X=Z.alternate;X!==null&&(X.lanes|=J),U6(Z.return,J,G)}function bU(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 SB(Z,J,G){var X=J.pendingProps,q=X.revealOrder,j=X.tail,O=X.children,V=iZ.current;if((X=(V&M1)!==0)?(V=V&y5|M1,J.flags|=128):V&=y5,i(iZ,V,J),V=q==null?"null":q,q!=="forwards"&&q!=="unstable_legacy-backwards"&&q!=="together"&&q!=="independent"&&!LO[V])if(LO[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,!hK[V])if(j==null){if(q==="forwards"||q==="backwards"||q==="unstable_legacy-backwards")hK[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"?(hK[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"&&(hK[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(kJ(O)){for(V=0;V<O.length;V++)if(!mH(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(!mH(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(RJ(Z,J,O,G),p0?(_0(),O=K1):O=0,!X&&Z!==null&&(Z.flags&128)!==0)Z:for(Z=J.child;Z!==null;){if(Z.tag===13)Z.memoizedState!==null&&CB(Z,G,J);else if(Z.tag===19)CB(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&&uG(Z)===null&&(q=G),G=G.sibling;G=q,G===null?(q=J.child,J.child=null):(q=G.sibling,G.sibling=null),bU(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&&uG(Z)===null){J.child=q;break}Z=q.sibling,q.sibling=G,G=q,q=Z}bU(J,!0,G,null,j,O);break;case"together":bU(J,!1,null,null,void 0,O);break;default:J.memoizedState=null}return J.child}function F6(Z,J,G){if(Z!==null&&(J.dependencies=Z.dependencies),zQ=-1,C7|=J.lanes,(G&J.childLanes)===0)if(Z!==null){if(IQ(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=O6(Z,Z.pendingProps),J.child=G;for(G.return=J;Z.sibling!==null;)Z=Z.sibling,G=G.sibling=O6(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&&Q7(Z)?!0:!1}function IM(Z,J,G){switch(J.tag){case 3:KZ(J,J.stateNode.containerInfo),cQ(J,mZ,Z.memoizedState.cache),pQ();break;case 27:case 5:HZ(J);break;case 4:KZ(J,J.stateNode.containerInfo);break;case 10:cQ(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,oX(J),null;break;case 13:if(X=J.memoizedState,X!==null){if(X.dehydrated!==null)return O7(J),J.flags|=128,null;if((G&J.child.childLanes)!==0)return TB(Z,J,G);return O7(J),Z=F6(Z,J,G),Z!==null?Z.sibling:null}O7(J);break;case 19:var q=(Z.flags&128)!==0;if(X=(G&J.childLanes)!==0,X||(IQ(Z,J,G,!1),X=(G&J.childLanes)!==0),q){if(X)return SB(Z,J,G);J.flags|=128}if(q=J.memoizedState,q!==null&&(q.rendering=null,q.tail=null,q.lastEffect=null),i(iZ,iZ.current,J),X)break;else return null;case 22:return J.lanes=0,_B(Z,J,G,J.pendingProps);case 24:cQ(J,mZ,Z.memoizedState.cache)}return F6(Z,J,G)}function wU(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)JJ=!0;else{if(!fU(Z,G)&&(J.flags&128)===0)return JJ=!1,IM(Z,J,G);JJ=(Z.flags&131072)!==0?!0:!1}else{if(JJ=!1,X=p0)_0(),X=(J.flags&1048576)!==0;X&&(X=J.index,_0(),g0(J,K1,X))}switch(J.lanes=0,J.tag){case 16:Z:if(X=J.pendingProps,Z=TQ(J.elementType),J.type=Z,typeof Z==="function")Gq(Z)?(X=z8(Z,X),J.tag=1,J.type=Z=j8(Z),J=kB(null,J,Z,X,G)):(J.tag=0,EU(J,Z),J.type=Z=j8(Z),J=kU(null,J,Z,X,G));else{if(Z!==void 0&&Z!==null){if(q=Z.$$typeof,q===t4){J.tag=11,J.type=Z=Qq(Z),J=MB(null,J,Z,X,G);break Z}else if(q===YK){J.tag=14,J=LB(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 kU(Z,J,J.type,J.pendingProps,G);case 1:return X=J.type,q=z8(X,J.pendingProps),kB(Z,J,X,q,G);case 3:Z:{if(KZ(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,iX(Z,J),h4(J,j,null,G);var O=J.memoizedState;if(j=O.cache,cQ(J,mZ,j),j!==q.cache&&r7(J,[mZ],G,!0),u4(),j=O.element,cJ&&q.isDehydrated)if(q={element:j,isDehydrated:!1,cache:O.cache},J.updateQueue.baseState=q,J.memoizedState=q,J.flags&256){J=EB(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),Z7(X),J=EB(Z,J,j,G);break Z}else for(cJ&&(bZ=oL(J.stateNode.containerInfo),EJ=J,p0=!0,P7=null,l9=!1,fQ=null,nQ=!0),Z=o2(J,null,j,G),J.child=Z;Z;)Z.flags=Z.flags&-3|4096,Z=Z.sibling;else{if(pQ(),j===X){J=F6(Z,J,G);break Z}RJ(Z,J,j,G)}J=J.child}return J;case 26:if(N9)return JK(Z,J),Z===null?(Z=X2(J.type,null,J.pendingProps,null))?J.memoizedState=Z:p0||(J.stateNode=PP(J.type,J.pendingProps,l0(L7.current),J)):J.memoizedState=X2(J.type,Z.memoizedProps,J.pendingProps,Z.memoizedState),null;case 27:if(jJ)return HZ(J),Z===null&&jJ&&p0&&(q=l0(L7.current),X=Y0(),q=J.stateNode=F2(J.type,J.pendingProps,q,X,!1),l9||(X=Q2(q,J.type,J.pendingProps,X),X!==null&&(F9(J,0).serverProps=X)),EJ=J,nQ=!0,bZ=eL(J.type,q,bZ)),RJ(Z,J,J.pendingProps.children,G),JK(Z,J),Z===null&&(J.flags|=4194304),J.child;case 5:return Z===null&&p0&&(j=Y0(),X=NP(J.type,J.pendingProps,j),q=bZ,(O=!q)||(O=ZP(q,J.type,J.pendingProps,nQ),O!==null?(J.stateNode=O,l9||(j=Q2(O,J.type,J.pendingProps,j),j!==null&&(F9(J,0).serverProps=j)),EJ=J,bZ=sL(O),nQ=!1,j=!0):j=!1,O=!j),O&&(X&&w9(J,q),O9(J))),HZ(J),q=J.type,j=J.pendingProps,O=Z!==null?Z.memoizedProps:null,X=j.children,VK(q,j)?X=null:O!==null&&VK(q,O)&&(J.flags|=32),J.memoizedState!==null&&(q=tX(Z,J,AM,null,null,G),V6?O8._currentValue=q:O8._currentValue2=q),JK(Z,J),RJ(Z,J,X,G),J.child;case 6:return Z===null&&p0&&(Z=J.pendingProps,G=Y0(),Z=MP(Z,G),G=bZ,(X=!G)||(X=JP(G,J.pendingProps,nQ),X!==null?(J.stateNode=X,EJ=J,bZ=null,X=!0):X=!1,X=!X),X&&(Z&&w9(J,G),O9(J))),null;case 13:return TB(Z,J,G);case 4:return KZ(J,J.stateNode.containerInfo),X=J.pendingProps,Z===null?J.child=$8(J,null,X,G):RJ(Z,J,X,G),J.child;case 11:return MB(Z,J,J.type,J.pendingProps,G);case 7:return RJ(Z,J,J.pendingProps,G),J.child;case 8:return RJ(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,RJ(Z,J,J.pendingProps.children,G),J.child;case 10:return X=J.type,q=J.pendingProps,j=q.value,"value"in q||PO||(PO=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),cQ(J,X,j),RJ(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."),W9(J),q=qZ(q),X=mq(X,q,void 0),J.flags|=1,RJ(Z,J,X,G),J.child;case 14:return LB(Z,J,J.type,J.pendingProps,G);case 15:return PB(Z,J,J.type,J.pendingProps,G);case 19:return SB(Z,J,G);case 31:return RM(Z,J,G);case 22:return _B(Z,J,G,J.pendingProps);case 24:return W9(J),X=qZ(mZ),Z===null?(q=B6(),q===null&&(q=FZ,j=G7(),q.pooledCache=j,kQ(j),j!==null&&(q.pooledCacheLanes|=G),q=j),J.memoizedState={parent:X,cache:q},aX(J),cQ(J,mZ,q)):((Z.lanes&G)!==0&&(iX(Z,J),h4(J,null,null,G),u4()),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),cQ(J,mZ,X)):(X=j.cache,cQ(J,mZ,X),X!==q.cache&&r7(J,[mZ],G,!0))),RJ(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 V9(Z){Z.flags|=4}function GK(Z){h9&&(Z.flags|=8)}function xB(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 vU(Z,J,G,X){if(pJ)for(G=J.child;G!==null;){if(G.tag===5||G.tag===6)Oq(Z,G.stateNode);else if(!(G.tag===4||jJ&&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(h9)for(var q=J.child;q!==null;){if(q.tag===5){var j=q.stateNode;G&&X&&(j=tF(j,q.type,q.memoizedProps)),Oq(Z,j)}else if(q.tag===6)j=q.stateNode,G&&X&&(j=eF(j,q.memoizedProps)),Oq(Z,j);else if(q.tag!==4){if(q.tag===22&&q.memoizedState!==null)j=q.child,j!==null&&(j.return=q),vU(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 bB(Z,J,G,X){var q=!1;if(h9)for(var j=J.child;j!==null;){if(j.tag===5){var O=j.stateNode;G&&X&&(O=tF(O,j.type,j.memoizedProps)),oF(Z,O)}else if(j.tag===6)O=j.stateNode,G&&X&&(O=eF(O,j.memoizedProps)),oF(Z,O);else if(j.tag!==4){if(j.tag===22&&j.memoizedState!==null)q=j.child,q!==null&&(q.return=j),bB(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 fB(Z,J){if(h9&&xB(Z,J)){Z=J.stateNode;var G=Z.containerInfo,X=sF();bB(X,J,!1,!1),Z.pendingChildren=X,V9(J),cL(G,X)}}function yU(Z,J,G,X){if(pJ)Z.memoizedProps!==X&&V9(J);else if(h9){var{stateNode:q,memoizedProps:j}=Z;if((Z=xB(Z,J))||j!==X){var O=Y0();j=pL(q,G,j,X,!Z,null),j===q?J.stateNode=q:(GK(J),dF(j,G,X,O)&&V9(J),J.stateNode=j,Z&&vU(j,J,!1,!1))}else J.stateNode=q}}function gU(Z,J,G,X,q){if((Z.mode&32)!==A0&&(G===null?OL(J,X):WL(J,G,X))){if(Z.flags|=16777216,(q&335544128)===q||Yq(J,X))if(aF(Z.stateNode,J,X))Z.flags|=8192;else if(WF())Z.flags|=8192;else throw _8=wK,hq}else Z.flags&=-16777217}function wB(Z,J){if($P(J)){if(Z.flags|=16777216,!B2(J))if(WF())Z.flags|=8192;else throw _8=wK,hq}else Z.flags&=-16777217}function KK(Z,J){J!==null&&(Z.flags|=4),Z.flags&16384&&(J=Z.tag!==22?w0():536870912,Z.lanes|=J,T8|=J)}function a4(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 WZ(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 kM(Z,J,G){var X=J.pendingProps;switch(fJ(J),J.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return WZ(J),null;case 1:return WZ(J),null;case 3:if(G=J.stateNode,X=null,Z!==null&&(X=Z.memoizedState.cache),J.memoizedState.cache!==X&&(J.flags|=2048),dQ(mZ,J),$Z(J),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),Z===null||Z.child===null)X6(J)?(J7(),V9(J)):Z===null||Z.memoizedState.isDehydrated&&(J.flags&256)===0||(J.flags|=1024,e6());return fB(Z,J),WZ(J),null;case 26:if(N9){var{type:q,memoizedState:j}=J;return Z===null?(V9(J),j!==null?(WZ(J),wB(J,j)):(WZ(J),gU(J,q,null,X,G))):j?j!==Z.memoizedState?(V9(J),WZ(J),wB(J,j)):(WZ(J),J.flags&=-16777217):(j=Z.memoizedProps,pJ?j!==X&&V9(J):yU(Z,J,q,X),WZ(J),gU(J,q,j,X,G)),null}case 27:if(jJ){if(CZ(J),G=l0(L7.current),q=J.type,Z!==null&&J.stateNode!=null)pJ?Z.memoizedProps!==X&&V9(J):yU(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 WZ(J),null}Z=Y0(),X6(J)?z6(J,Z):(Z=F2(q,X,G,Z,!0),J.stateNode=Z,V9(J))}return WZ(J),null}case 5:if(CZ(J),q=J.type,Z!==null&&J.stateNode!=null)yU(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 WZ(J),null}if(j=Y0(),X6(J))z6(J,j),OP(J.stateNode,q,X,j)&&(J.flags|=64);else{var O=l0(L7.current);O=zL(q,X,O,j,J),GK(J),vU(O,J,!1,!1),J.stateNode=O,dF(O,q,X,j)&&V9(J)}}return WZ(J),gU(J,J.type,Z===null?null:Z.memoizedProps,J.pendingProps,G),null;case 6:if(Z&&J.stateNode!=null)G=Z.memoizedProps,pJ?G!==X&&V9(J):h9&&(G!==X?(Z=l0(L7.current),G=Y0(),GK(J),J.stateNode=lF(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(L7.current),G=Y0(),X6(J)){if(!cJ)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=!l9,X=null,j=EJ,j!==null)switch(j.tag){case 3:q&&(q=G2(Z,G,X),q!==null&&(F9(J,0).serverProps=q));break;case 27:case 5:X=j.memoizedProps,q&&(q=G2(Z,G,X),q!==null&&(F9(J,0).serverProps=q))}zP(Z,G,J,X)||O9(J,!0)}else GK(J),J.stateNode=lF(X,Z,G,J)}return WZ(J),null;case 31:if(G=J.memoizedState,Z===null||Z.memoizedState!==null){if(X=X6(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(!cJ)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.");XP(Z,J),WZ(J),(J.mode&2)!==A0&&G!==null&&(Z=J.child,Z!==null&&(J.treeBaseDuration-=Z.treeBaseDuration))}else J7(),pQ(),(J.flags&128)===0&&(G=J.memoizedState=null),J.flags|=4,WZ(J),(J.mode&2)!==A0&&G!==null&&(Z=J.child,Z!==null&&(J.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else G=e6(),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 WZ(J),null;case 13:if(X=J.memoizedState,Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){if(q=X,j=X6(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(!cJ)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.");UP(j,J),WZ(J),(J.mode&2)!==A0&&q!==null&&(q=J.child,q!==null&&(J.treeBaseDuration-=q.treeBaseDuration))}else J7(),pQ(),(J.flags&128)===0&&(q=J.memoizedState=null),J.flags|=4,WZ(J),(J.mode&2)!==A0&&q!==null&&(q=J.child,q!==null&&(J.treeBaseDuration-=q.treeBaseDuration));q=!1}else q=e6(),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&&j6(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),KK(J,J.updateQueue),WZ(J),(J.mode&2)!==A0&&G&&(Z=J.child,Z!==null&&(J.treeBaseDuration-=Z.treeBaseDuration)),null;case 4:return $Z(J),fB(Z,J),Z===null&&jL(J.stateNode.containerInfo),WZ(J),null;case 10:return dQ(J.type,J),WZ(J),null;case 19:if(d(iZ,J),X=J.memoizedState,X===null)return WZ(J),null;if(q=(J.flags&128)!==0,j=X.rendering,j===null)if(q)a4(X,!1);else{if(wZ!==x6||Z!==null&&(Z.flags&128)!==0)for(Z=J.child;Z!==null;){if(j=uG(Z),j!==null){J.flags|=128,a4(X,!1),Z=j.updateQueue,J.updateQueue=Z,KK(J,Z),J.subtreeFlags=0,Z=G;for(G=J.child;G!==null;)fF(G,Z),G=G.sibling;return i(iZ,iZ.current&y5|M1,J),p0&&QZ(J,X.treeForkCount),J.child}Z=Z.sibling}X.tail!==null&&HJ()>T1&&(J.flags|=128,q=!0,a4(X,!1),J.lanes=4194304)}else{if(!q)if(Z=uG(j),Z!==null){if(J.flags|=128,q=!0,Z=Z.updateQueue,J.updateQueue=Z,KK(J,Z),a4(X,!0),X.tail===null&&X.tailMode==="hidden"&&!j.alternate&&!p0)return WZ(J),null}else 2*HJ()-X.renderingStartTime>T1&&G!==536870912&&(J.flags|=128,q=!0,a4(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=HJ(),Z.sibling=null,G=iZ.current,G=q?G&y5|M1:G&y5,i(iZ,G,J),p0&&QZ(J,X.treeForkCount),Z;return WZ(J),null;case 22:case 23:return SQ(J),sX(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&&(WZ(J),J.subtreeFlags&6&&(J.flags|=8192)):WZ(J),G=J.updateQueue,G!==null&&KK(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(L8,J),null;case 24:return G=null,Z!==null&&(G=Z.memoizedState.cache),J.memoizedState.cache!==G&&(J.flags|=2048),dQ(mZ,J),WZ(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 EM(Z,J){switch(fJ(J),J.tag){case 1:return Z=J.flags,Z&65536?(J.flags=Z&-65537|128,(J.mode&2)!==A0&&j6(J),J):null;case 3:return dQ(mZ,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.");pQ()}return Z=J.flags,Z&65536?(J.flags=Z&-65537|128,(J.mode&2)!==A0&&j6(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.");pQ()}return Z=J.flags,Z&65536?(J.flags=Z&-65537|128,(J.mode&2)!==A0&&j6(J),J):null;case 19:return d(iZ,J),null;case 4:return $Z(J),null;case 10:return dQ(J.type,J),null;case 22:case 23:return SQ(J),sX(J),Z!==null&&d(L8,J),Z=J.flags,Z&65536?(J.flags=Z&-65537|128,(J.mode&2)!==A0&&j6(J),J):null;case 24:return dQ(mZ,J),null;case 25:return null;default:return null}}function vB(Z,J){switch(fJ(J),J.tag){case 3:dQ(mZ,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(iZ,J);break;case 10:dQ(J.type,J);break;case 22:case 23:SQ(J),sX(J),Z!==null&&d(L8,J);break;case 24:dQ(mZ,J)}}function y9(Z){return(Z.mode&2)!==A0}function yB(Z,J){y9(Z)?(eJ(),i4(J,Z),VQ()):i4(J,Z)}function mU(Z,J,G){y9(Z)?(eJ(),W5(G,Z,J),VQ()):W5(G,Z,J)}function i4(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&XQ)!==yK&&(i5=!0),X=J0(J,pP,G),(Z&XQ)!==yK&&(i5=!1),X!==void 0&&typeof X!=="function")){var j=void 0;j=(G.tag&vQ)!==0?"useLayoutEffect":(G.tag&XQ)!==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 W5(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&XQ)!==yK&&(i5=!0),q=J,J0(q,cP,q,G,V),(Z&XQ)!==yK&&(i5=!1))}X=X.next}while(X!==j)}}catch(P){e0(J,J.return,P)}}function gB(Z,J){y9(Z)?(eJ(),i4(J,Z),VQ()):i4(J,Z)}function uU(Z,J,G){y9(Z)?(eJ(),W5(G,Z,J),VQ()):W5(G,Z,J)}function mB(Z){var J=Z.updateQueue;if(J!==null){var G=Z.stateNode;Z.type.defaultProps||"ref"in Z.memoizedProps||h5||(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.",x(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.",x(Z)||"instance"));try{J0(Z,pH,J,G)}catch(X){e0(Z,Z.return,X)}}}function TM(Z,J,G){return Z.getSnapshotBeforeUpdate(J,G)}function CM(Z,J){var{memoizedProps:G,memoizedState:X}=J;J=Z.stateNode,Z.type.defaultProps||"ref"in Z.memoizedProps||h5||(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.",x(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.",x(Z)||"instance"));try{var q=z8(Z.type,G),j=J0(Z,TM,J,q,X);G=_O,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.",x(Z))})),J.__reactInternalSnapshotBeforeUpdate=j}catch(O){e0(Z,Z.return,O)}}function uB(Z,J,G){G.props=z8(Z.type,Z.memoizedProps),G.state=Z.memoizedState,y9(Z)?(eJ(),J0(Z,p2,Z,J,G),VQ()):J0(Z,p2,Z,J,G)}function SM(Z){var J=Z.ref;if(J!==null){switch(Z.tag){case 26:case 27:case 5:var G=M5(Z.stateNode);break;case 30:G=Z.stateNode;break;default:G=Z.stateNode}if(typeof J==="function")if(y9(Z))try{eJ(),Z.refCleanup=J(G)}finally{VQ()}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().",x(Z)),J.current=G}}function n4(Z,J){try{J0(Z,SM,Z)}catch(G){e0(Z,J,G)}}function g9(Z,J){var{ref:G,refCleanup:X}=Z;if(G!==null)if(typeof X==="function")try{if(y9(Z))try{eJ(),J0(Z,X)}finally{VQ(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(y9(Z))try{eJ(),J0(Z,G,null)}finally{VQ(Z)}else J0(Z,G,null)}catch(q){e0(Z,J,q)}else G.current=null}function hB(Z,J,G,X){var q=Z.memoizedProps,j=q.id,O=q.onCommit;q=q.onRender,J=J===null?"mount":"update",TK&&(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 xM(Z,J,G,X){var q=Z.memoizedProps;Z=q.id,q=q.onPostCommit,J=J===null?"mount":"update",TK&&(J="nested-update"),typeof q==="function"&&q(Z,J,X,G)}function pB(Z){var{type:J,memoizedProps:G,stateNode:X}=Z;try{J0(Z,SL,X,J,G,Z)}catch(q){e0(Z,Z.return,q)}}function hU(Z,J,G){try{J0(Z,xL,Z.stateNode,Z.type,G,J,Z)}catch(X){e0(Z,Z.return,X)}}function cB(Z){return Z.tag===5||Z.tag===3||(N9?Z.tag===26:!1)||(jJ?Z.tag===27&&_5(Z.type):!1)||Z.tag===4}function pU(Z){Z:for(;;){for(;Z.sibling===null;){if(Z.return===null||cB(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(jJ&&Z.tag===27&&_5(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 cU(Z,J,G){var X=Z.tag;if(X===5||X===6)Z=Z.stateNode,J?fL(G,Z,J):TL(G,Z);else if(X!==4&&(jJ&&X===27&&_5(Z.type)&&(G=Z.stateNode,J=null),Z=Z.child,Z!==null))for(cU(Z,J,G),Z=Z.sibling;Z!==null;)cU(Z,J,G),Z=Z.sibling}function zK(Z,J,G){var X=Z.tag;if(X===5||X===6)Z=Z.stateNode,J?bL(G,Z,J):EL(G,Z);else if(X!==4&&(jJ&&X===27&&_5(Z.type)&&(G=Z.stateNode),Z=Z.child,Z!==null))for(zK(Z,J,G),Z=Z.sibling;Z!==null;)zK(Z,J,G),Z=Z.sibling}function bM(Z){for(var J,G=Z.return;G!==null;){if(cB(G)){J=G;break}G=G.return}if(pJ){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(jJ){J=J.stateNode,G=pU(Z),zK(Z,G,J);break}case 5:G=J.stateNode,J.flags&32&&(nF(G),J.flags&=-33),J=pU(Z),zK(Z,J,G);break;case 3:case 4:J=J.stateNode.containerInfo,G=pU(Z),cU(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 dB(Z,J,G){Z=Z.containerInfo;try{J0(J,rF,Z,G)}catch(X){e0(J,J.return,X)}}function lB(Z){var{stateNode:J,memoizedProps:G}=Z;try{J0(Z,IP,Z.type,G,J,Z)}catch(X){e0(Z,Z.return,X)}}function aB(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 fM(Z,J){GL(Z.containerInfo);for(DJ=J;DJ!==null;)if(Z=DJ,J=Z.child,(Z.subtreeFlags&1028)!==0&&J!==null)J.return=Z,DJ=J;else for(;DJ!==null;){J=Z=DJ;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&&CM(J,G);break;case 3:(X&1024)!==0&&pJ&&hL(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,DJ=J;break}DJ=Z.return}}function iB(Z,J,G){var X=UJ(),q=tJ(),j=$J(),O=gJ(),V=G.flags;switch(G.tag){case 0:case 11:case 15:m9(Z,G),V&4&&yB(G,vQ|tQ);break;case 1:if(m9(Z,G),V&4)if(Z=G.stateNode,J===null)G.type.defaultProps||"ref"in G.memoizedProps||h5||(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.",x(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.",x(G)||"instance")),y9(G)?(eJ(),J0(G,uq,G,Z),VQ()):J0(G,uq,G,Z);else{var P=z8(G.type,J.memoizedProps);J=J.memoizedState,G.type.defaultProps||"ref"in G.memoizedProps||h5||(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.",x(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.",x(G)||"instance")),y9(G)?(eJ(),J0(G,m2,G,Z,P,J,Z.__reactInternalSnapshotBeforeUpdate),VQ()):J0(G,m2,G,Z,P,J,Z.__reactInternalSnapshotBeforeUpdate)}V&64&&mB(G),V&512&&n4(G,G.return);break;case 3:if(J=EQ(),m9(Z,G),V&64&&(V=G.updateQueue,V!==null)){if(P=null,G.child!==null)switch(G.child.tag){case 27:case 5:P=M5(G.child.stateNode);break;case 1:P=G.child.stateNode}try{J0(G,pH,V,P)}catch(f){e0(G,G.return,f)}}Z.effectDuration+=t7(J);break;case 27:jJ&&J===null&&V&4&&lB(G);case 26:case 5:if(m9(Z,G),J===null){if(V&4)pB(G);else if(V&64){Z=G.type,J=G.memoizedProps,P=G.stateNode;try{J0(G,jP,P,Z,J,G)}catch(f){e0(G,G.return,f)}}}V&512&&n4(G,G.return);break;case 12:if(V&4){V=EQ(),m9(Z,G),Z=G.stateNode,Z.effectDuration+=z7(V);try{J0(G,hB,G,J,_7,Z.effectDuration)}catch(f){e0(G,G.return,f)}}else m9(Z,G);break;case 31:m9(Z,G),V&4&&sB(Z,G);break;case 13:m9(Z,G),V&4&&oB(Z,G),V&64&&(Z=G.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&(V=cM.bind(null,G),lL(Z,V))));break;case 22:if(V=G.memoizedState!==null||S6,!V){J=J!==null&&J.memoizedState!==null||QJ,P=S6;var k=QJ;S6=V,(QJ=J)&&!k?(u9(Z,G,(G.subtreeFlags&8772)!==0),(G.mode&2)!==A0&&0<=B0&&0<=D0&&0.05<D0-B0&&_Q(G,B0,D0)):m9(Z,G),S6=P,QJ=k}break;case 30:break;default:m9(Z,G)}(G.mode&2)!==A0&&0<=B0&&0<=D0&&((uZ||0.05<fZ)&&V0(G,B0,D0,fZ,RZ),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<D0-B0&&(aB(G.return.alternate,G.return)||PJ(G,B0,D0,"Mount"))),yJ(X),_J(q),RZ=j,uZ=O}function nB(Z){var J=Z.alternate;J!==null&&(Z.alternate=null,nB(J)),Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===5&&(J=Z.stateNode,J!==null&&FL(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 D9(Z,J,G){for(G=G.child;G!==null;)dU(Z,J,G),G=G.sibling}function dU(Z,J,G){if(dJ&&typeof dJ.onCommitFiberUnmount==="function")try{dJ.onCommitFiberUnmount($5,G)}catch(k){p9||(p9=!0,console.error("React instrumentation encountered an error: %o",k))}var X=UJ(),q=tJ(),j=$J(),O=gJ();switch(G.tag){case 26:if(N9){QJ||g9(G,J),D9(Z,J,G),G.memoizedState?q2(G.memoizedState):G.stateNode&&H2(G.stateNode);break}case 27:if(jJ){QJ||g9(G,J);var V=GJ,P=AQ;_5(G.type)&&(GJ=G.stateNode,AQ=!1),D9(Z,J,G),J0(G,O2,G.stateNode),GJ=V,AQ=P;break}case 5:QJ||g9(G,J);case 6:if(pJ){if(V=GJ,P=AQ,GJ=null,D9(Z,J,G),GJ=V,AQ=P,GJ!==null)if(AQ)try{J0(G,vL,GJ,G.stateNode)}catch(k){e0(G,J,k)}else try{J0(G,wL,GJ,G.stateNode)}catch(k){e0(G,J,k)}}else D9(Z,J,G);break;case 18:pJ&&GJ!==null&&(AQ?VP(GJ,G.stateNode):YP(GJ,G.stateNode));break;case 4:pJ?(V=GJ,P=AQ,GJ=G.stateNode.containerInfo,AQ=!0,D9(Z,J,G),GJ=V,AQ=P):(h9&&dB(G.stateNode,G,sF()),D9(Z,J,G));break;case 0:case 11:case 14:case 15:W5(XQ,G,J),QJ||mU(G,J,vQ),D9(Z,J,G);break;case 1:QJ||(g9(G,J),V=G.stateNode,typeof V.componentWillUnmount==="function"&&uB(G,J,V)),D9(Z,J,G);break;case 21:D9(Z,J,G);break;case 22:QJ=(V=QJ)||G.memoizedState!==null,D9(Z,J,G),QJ=V;break;default:D9(Z,J,G)}(G.mode&2)!==A0&&0<=B0&&0<=D0&&(uZ||0.05<fZ)&&V0(G,B0,D0,fZ,RZ),yJ(X),_J(q),RZ=j,uZ=O}function sB(Z,J){if(cJ&&J.memoizedState===null&&(Z=J.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null))){Z=Z.dehydrated;try{J0(J,BP,Z)}catch(G){e0(J,J.return,G)}}}function oB(Z,J){if(cJ&&J.memoizedState===null&&(Z=J.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null))))try{J0(J,FP,Z)}catch(G){e0(J,J.return,G)}}function wM(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 XK(Z,J){var G=wM(Z);J.forEach(function(X){if(!G.has(X)){if(G.add(X),c9)if(p5!==null&&c5!==null)r4(c5,p5);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var q=dM.bind(null,Z,X);X.then(q,q)}})}function hJ(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=UJ();if(pJ){var P=j;Z:for(;P!==null;){switch(P.tag){case 27:if(jJ){if(_5(P.type)){GJ=P.stateNode,AQ=!1;break Z}break}case 5:GJ=P.stateNode,AQ=!1;break Z;case 3:case 4:GJ=P.stateNode.containerInfo,AQ=!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.");dU(q,j,O),GJ=null,AQ=!1}else dU(q,j,O);(O.mode&2)!==A0&&0<=B0&&0<=D0&&0.05<D0-B0&&PJ(O,B0,D0,"Unmount"),yJ(V),q=O,j=q.alternate,j!==null&&(j.return=null),q.return=null}if(J.subtreeFlags&13886)for(J=J.child;J!==null;)rB(J,Z),J=J.sibling}function rB(Z,J){var G=UJ(),X=tJ(),q=$J(),j=gJ(),O=Z.alternate,V=Z.flags;switch(Z.tag){case 0:case 11:case 14:case 15:hJ(J,Z),QQ(Z),V&4&&(W5(XQ|tQ,Z,Z.return),i4(XQ|tQ,Z),mU(Z,Z.return,vQ|tQ));break;case 1:hJ(J,Z),QQ(Z),V&512&&(QJ||O===null||g9(O,O.return)),V&64&&S6&&(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(N9){var P=P9;hJ(J,Z),QQ(Z),V&512&&(QJ||O===null||g9(O,O.return)),V&4&&(V=O!==null?O.memoizedState:null,J=Z.memoizedState,O===null?J===null?Z.stateNode===null?Z.stateNode=LP(P,Z.type,Z.memoizedProps,Z):j2(P,Z.type,Z.stateNode):Z.stateNode=U2(P,J,Z.memoizedProps):V!==J?(V===null?O.stateNode!==null&&H2(O.stateNode):q2(V),J===null?j2(P,Z.type,Z.stateNode):U2(P,J,Z.memoizedProps)):J===null&&Z.stateNode!==null&&hU(Z,Z.memoizedProps,O.memoizedProps));break}case 27:if(jJ){hJ(J,Z),QQ(Z),V&512&&(QJ||O===null||g9(O,O.return)),O!==null&&V&4&&hU(Z,Z.memoizedProps,O.memoizedProps);break}case 5:if(hJ(J,Z),QQ(Z),V&512&&(QJ||O===null||g9(O,O.return)),pJ){if(Z.flags&32){J=Z.stateNode;try{J0(Z,nF,J)}catch(jZ){e0(Z,Z.return,jZ)}}V&4&&Z.stateNode!=null&&(J=Z.memoizedProps,hU(Z,J,O!==null?O.memoizedProps:J)),V&1024&&(Z3=!0,Z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."))}else h9&&Z.alternate!==null&&(Z.alternate.stateNode=Z.stateNode);break;case 6:if(hJ(J,Z),QQ(Z),V&4&&pJ){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,CL,J,O,V)}catch(jZ){e0(Z,Z.return,jZ)}}break;case 3:if(P=EQ(),N9){_P();var k=P9;P9=Nq(J.containerInfo),hJ(J,Z),P9=k}else hJ(J,Z);if(QQ(Z),V&4){if(pJ&&cJ&&O!==null&&O.memoizedState.isDehydrated)try{J0(Z,HP,J.containerInfo)}catch(jZ){e0(Z,Z.return,jZ)}if(h9){V=J.containerInfo,O=J.pendingChildren;try{J0(Z,rF,V,O)}catch(jZ){e0(Z,Z.return,jZ)}}}Z3&&(Z3=!1,tB(Z)),J.effectDuration+=t7(P);break;case 4:N9?(O=P9,P9=Nq(Z.stateNode.containerInfo),hJ(J,Z),QQ(Z),P9=O):(hJ(J,Z),QQ(Z)),V&4&&h9&&dB(Z.stateNode,Z,Z.stateNode.pendingChildren);break;case 12:V=EQ(),hJ(J,Z),QQ(Z),Z.stateNode.effectDuration+=z7(V);break;case 31:hJ(J,Z),QQ(Z),V&4&&(V=Z.updateQueue,V!==null&&(Z.updateQueue=null,XK(Z,V)));break;case 13:hJ(J,Z),QQ(Z),Z.child.flags&8192&&Z.memoizedState!==null!==(O!==null&&O.memoizedState!==null)&&(eK=HJ()),V&4&&(V=Z.updateQueue,V!==null&&(Z.updateQueue=null,XK(Z,V)));break;case 22:P=Z.memoizedState!==null;var f=O!==null&&O.memoizedState!==null,v=S6,c=QJ;if(S6=v||P,QJ=c||f,hJ(J,Z),QJ=c,S6=v,f&&!P&&!v&&!c&&(Z.mode&2)!==A0&&0<=B0&&0<=D0&&0.05<D0-B0&&_Q(Z,B0,D0),QQ(Z),V&8192&&(J=Z.stateNode,J._visibility=P?J._visibility&~N1:J._visibility|N1,!P||O===null||f||S6||QJ||(X8(Z),(Z.mode&2)!==A0&&0<=B0&&0<=D0&&0.05<D0-B0&&PJ(Z,B0,D0,"Disconnect")),pJ))Z:if(O=null,pJ)for(J=Z;;){if(J.tag===5||N9&&J.tag===26){if(O===null){f=O=J;try{k=f.stateNode,P?J0(f,yL,k):J0(f,mL,f.stateNode,f.memoizedProps)}catch(jZ){e0(f,f.return,jZ)}}}else if(J.tag===6){if(O===null){f=J;try{var q0=f.stateNode;P?J0(f,gL,q0):J0(f,uL,q0,f.memoizedProps)}catch(jZ){e0(f,f.return,jZ)}}}else if(J.tag===18){if(O===null){f=J;try{var L0=f.stateNode;P?J0(f,DP,L0):J0(f,AP,f.stateNode)}catch(jZ){e0(f,f.return,jZ)}}}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,XK(Z,O))));break;case 19:hJ(J,Z),QQ(Z),V&4&&(V=Z.updateQueue,V!==null&&(Z.updateQueue=null,XK(Z,V)));break;case 30:break;case 21:break;default:hJ(J,Z),QQ(Z)}(Z.mode&2)!==A0&&0<=B0&&0<=D0&&((uZ||0.05<fZ)&&V0(Z,B0,D0,fZ,RZ),Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null&&0.05<D0-B0&&(aB(Z.return.alternate,Z.return)||PJ(Z,B0,D0,"Mount"))),yJ(G),_J(X),RZ=q,uZ=j}function QQ(Z){var J=Z.flags;if(J&2){try{J0(Z,bM,Z)}catch(G){e0(Z,Z.return,G)}Z.flags&=-3}J&4096&&(Z.flags&=-4097)}function tB(Z){if(Z.subtreeFlags&1024)for(Z=Z.child;Z!==null;){var J=Z;tB(J),J.tag===5&&J.flags&1024&&AL(J.stateNode),Z=Z.sibling}}function m9(Z,J){if(J.subtreeFlags&8772)for(J=J.child;J!==null;)iB(Z,J.alternate,J),J=J.sibling}function eB(Z){var J=UJ(),G=tJ(),X=$J(),q=gJ();switch(Z.tag){case 0:case 11:case 14:case 15:mU(Z,Z.return,vQ),X8(Z);break;case 1:g9(Z,Z.return);var j=Z.stateNode;typeof j.componentWillUnmount==="function"&&uB(Z,Z.return,j),X8(Z);break;case 27:jJ&&J0(Z,O2,Z.stateNode);case 26:case 5:g9(Z,Z.return),X8(Z);break;case 22:Z.memoizedState===null&&X8(Z);break;case 30:X8(Z);break;default:X8(Z)}(Z.mode&2)!==A0&&0<=B0&&0<=D0&&(uZ||0.05<fZ)&&V0(Z,B0,D0,fZ,RZ),yJ(J),_J(G),RZ=X,uZ=q}function X8(Z){for(Z=Z.child;Z!==null;)eB(Z),Z=Z.sibling}function ZF(Z,J,G,X){var q=UJ(),j=tJ(),O=$J(),V=gJ(),P=G.flags;switch(G.tag){case 0:case 11:case 15:u9(Z,G,X),yB(G,vQ);break;case 1:if(u9(Z,G,X),J=G.stateNode,typeof J.componentDidMount==="function"&&J0(G,uq,G,J),J=G.updateQueue,J!==null){Z=G.stateNode;try{J0(G,DM,J,Z)}catch(k){e0(G,G.return,k)}}X&&P&64&&mB(G),n4(G,G.return);break;case 27:jJ&&lB(G);case 26:case 5:u9(Z,G,X),X&&J===null&&P&4&&pB(G),n4(G,G.return);break;case 12:if(X&&P&4){P=EQ(),u9(Z,G,X),X=G.stateNode,X.effectDuration+=z7(P);try{J0(G,hB,G,J,_7,X.effectDuration)}catch(k){e0(G,G.return,k)}}else u9(Z,G,X);break;case 31:u9(Z,G,X),X&&P&4&&sB(Z,G);break;case 13:u9(Z,G,X),X&&P&4&&oB(Z,G);break;case 22:G.memoizedState===null&&u9(Z,G,X),n4(G,G.return);break;case 30:break;default:u9(Z,G,X)}(G.mode&2)!==A0&&0<=B0&&0<=D0&&(uZ||0.05<fZ)&&V0(G,B0,D0,fZ,RZ),yJ(q),_J(j),RZ=O,uZ=V}function u9(Z,J,G){G=G&&(J.subtreeFlags&8772)!==0;for(J=J.child;J!==null;)ZF(Z,J.alternate,J,G),J=J.sibling}function lU(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&&kQ(Z),G!=null&&K7(G))}function aU(Z,J){Z=null,J.alternate!==null&&(Z=J.alternate.memoizedState.cache),J=J.memoizedState.cache,J!==Z&&(kQ(J),Z!=null&&K7(Z))}function A9(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;JF(Z,J,G,X,j!==null?j.actualStartTime:q),J=j}}function JF(Z,J,G,X,q){var j=UJ(),O=tJ(),V=$J(),P=gJ(),k=A7,f=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),A9(Z,J,G,X,q),f&2048&&gB(J,UQ|tQ);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)),A9(Z,J,G,X,q);break;case 3:var v=EQ(),c=BJ;BJ=J.alternate!==null&&J.alternate.memoizedState.isDehydrated&&(J.flags&256)===0,A9(Z,J,G,X,q),BJ=c,f&2048&&(G=null,J.alternate!==null&&(G=J.alternate.memoizedState.cache),X=J.memoizedState.cache,X!==G&&(kQ(X),G!=null&&K7(G))),Z.passiveEffectDuration+=t7(v);break;case 12:if(f&2048){f=EQ(),A9(Z,J,G,X,q),Z=J.stateNode,Z.passiveEffectDuration+=z7(f);try{J0(J,xM,J,J.alternate,_7,Z.passiveEffectDuration)}catch(q0){e0(J,J.return,q0)}}else A9(Z,J,G,X,q);break;case 31:f=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,A9(Z,J,G,X,q),BJ=f;break;case 13:f=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),A9(Z,J,G,X,q),BJ=f;break;case 23:break;case 22:c=J.stateNode,v=J.alternate,J.memoizedState!==null?c._visibility&k6?A9(Z,J,G,X,q):s4(Z,J,G,X,q):c._visibility&k6?A9(Z,J,G,X,q):(c._visibility|=k6,Y5(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<=B0&&0<=D0&&0.05<D0-B0&&_Q(J,B0,D0))),f&2048&&lU(v,J);break;case 24:A9(Z,J,G,X,q),f&2048&&aU(J.alternate,J);break;default:A9(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&&PJ(J,G,q,"Mount");0<=B0&&0<=D0&&((uZ||0.05<fZ)&&V0(J,B0,D0,fZ,RZ),Z&&0.05<D0-B0&&PJ(J,B0,D0,"Mount"))}yJ(j),_J(O),RZ=V,uZ=P,A7=k}function Y5(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;QF(Z,J,G,X,q,O!==null?O.actualStartTime:j),J=O}}function QF(Z,J,G,X,q,j){var O=UJ(),V=tJ(),P=$J(),k=gJ(),f=A7;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:Y5(Z,J,G,X,q,j),gB(J,UQ);break;case 23:break;case 22:var c=J.stateNode;J.memoizedState!==null?c._visibility&k6?Y5(Z,J,G,X,q,j):s4(Z,J,G,X,j):(c._visibility|=k6,Y5(Z,J,G,X,q,j)),q&&v&2048&&lU(J.alternate,J);break;case 24:Y5(Z,J,G,X,q,j),q&&v&2048&&aU(J.alternate,J);break;default:Y5(Z,J,G,X,q,j)}(J.mode&2)!==A0&&0<=B0&&0<=D0&&(uZ||0.05<fZ)&&V0(J,B0,D0,fZ,RZ),yJ(O),_J(V),RZ=P,uZ=k,A7=f}function s4(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,f=A7;(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:s4(O,j,V,P,k),v&2048&&lU(j.alternate,j);break;case 24:s4(O,j,V,P,k),v&2048&&aU(j.alternate,j);break;default:s4(O,j,V,P,k)}A7=f,j=J}}function U8(Z,J,G){if(Z.subtreeFlags&d5)for(Z=Z.child;Z!==null;)GF(Z,J,G),Z=Z.sibling}function GF(Z,J,G){switch(Z.tag){case 26:if(U8(Z,J,G),Z.flags&d5)if(Z.memoizedState!==null)RP(G,P9,Z.memoizedState,Z.memoizedProps);else{var{stateNode:X,type:q}=Z;Z=Z.memoizedProps,((J&335544128)===J||Yq(q,Z))&&iF(G,X,q,Z)}break;case 5:U8(Z,J,G),Z.flags&d5&&(X=Z.stateNode,q=Z.type,Z=Z.memoizedProps,((J&335544128)===J||Yq(q,Z))&&iF(G,X,q,Z));break;case 3:case 4:N9?(X=P9,P9=Nq(Z.stateNode.containerInfo),U8(Z,J,G),P9=X):U8(Z,J,G);break;case 22:Z.memoizedState===null&&(X=Z.alternate,X!==null&&X.memoizedState!==null?(X=d5,d5=16777216,U8(Z,J,G),d5=X):U8(Z,J,G));break;default:U8(Z,J,G)}}function KF(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 o4(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=UJ();DJ=X,UF(X,Z),(X.mode&2)!==A0&&0<=B0&&0<=D0&&0.05<D0-B0&&PJ(X,B0,D0,"Unmount"),yJ(q)}KF(Z)}if(Z.subtreeFlags&10256)for(Z=Z.child;Z!==null;)zF(Z),Z=Z.sibling}function zF(Z){var J=UJ(),G=tJ(),X=$J(),q=gJ();switch(Z.tag){case 0:case 11:case 15:o4(Z),Z.flags&2048&&uU(Z,Z.return,UQ|tQ);break;case 3:var j=EQ();o4(Z),Z.stateNode.passiveEffectDuration+=t7(j);break;case 12:j=EQ(),o4(Z),Z.stateNode.passiveEffectDuration+=z7(j);break;case 22:j=Z.stateNode,Z.memoizedState!==null&&j._visibility&k6&&(Z.return===null||Z.return.tag!==13)?(j._visibility&=~k6,UK(Z),(Z.mode&2)!==A0&&0<=B0&&0<=D0&&0.05<D0-B0&&PJ(Z,B0,D0,"Disconnect")):o4(Z);break;default:o4(Z)}(Z.mode&2)!==A0&&0<=B0&&0<=D0&&(uZ||0.05<fZ)&&V0(Z,B0,D0,fZ,RZ),yJ(J),_J(G),uZ=q,RZ=X}function UK(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=UJ();DJ=X,UF(X,Z),(X.mode&2)!==A0&&0<=B0&&0<=D0&&0.05<D0-B0&&PJ(X,B0,D0,"Unmount"),yJ(q)}KF(Z)}for(Z=Z.child;Z!==null;)XF(Z),Z=Z.sibling}function XF(Z){var J=UJ(),G=tJ(),X=$J(),q=gJ();switch(Z.tag){case 0:case 11:case 15:uU(Z,Z.return,UQ),UK(Z);break;case 22:var j=Z.stateNode;j._visibility&k6&&(j._visibility&=~k6,UK(Z));break;default:UK(Z)}(Z.mode&2)!==A0&&0<=B0&&0<=D0&&(uZ||0.05<fZ)&&V0(Z,B0,D0,fZ,RZ),yJ(J),_J(G),uZ=q,RZ=X}function UF(Z,J){for(;DJ!==null;){var G=DJ,X=G,q=J,j=UJ(),O=tJ(),V=$J(),P=gJ();switch(X.tag){case 0:case 11:case 15:uU(X,q,UQ);break;case 23:case 22:X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(q=X.memoizedState.cachePool.pool,q!=null&&kQ(q));break;case 24:K7(X.memoizedState.cache)}if((X.mode&2)!==A0&&0<=B0&&0<=D0&&(uZ||0.05<fZ)&&V0(X,B0,D0,fZ,RZ),yJ(j),_J(O),uZ=P,RZ=V,X=G.child,X!==null)X.return=G,DJ=X;else Z:for(G=Z;DJ!==null;){if(X=DJ,j=X.sibling,O=X.return,nB(X),X===G){DJ=null;break Z}if(j!==null){j.return=O,DJ=j;break Z}DJ=O}}}function iU(Z){var J=qL(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=PL(Z),Z===null)throw Error("Could not find React container within specified host subtree.");return Z.stateNode.current}function nU(Z,J){var G=Z.tag;switch(J.$$typeof){case pK:if(Z.type===J.value)return!0;break;case cK: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||!J1(X)){for(;O!=null&&nU(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 dK:if((G===5||G===26||G===27)&&RL(Z.stateNode,J.value))return!0;break;case aK:if(G===5||G===6||G===26||G===27){if(Z=$L(Z),Z!==null&&0<=Z.indexOf(J.value))return!0}break;case lK: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 sU(Z){switch(Z.$$typeof){case pK:return"<"+(y(Z.value)||"Unknown")+">";case cK:return":has("+(sU(Z)||"")+")";case dK:return'[role="'+Z.value+'"]';case aK:return'"'+Z.value+'"';case lK:return'[data-testname="'+Z.value+'"]';default:throw Error("Invalid selector type specified.")}}function qF(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||!J1(q)){for(;V!=null&&nU(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 qK(Z,J){if(!P5)throw Error("Test selector API is not supported by this renderer.");Z=iU(Z),Z=qF(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)J1(X)||J.push(X.stateNode);else for(X=X.child;X!==null;)Z.push(X),X=X.sibling}return J}function vM(){P5&&iK.forEach(function(Z){return Z()})}function jF(){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 xQ(Z){if((c0&NJ)!==AJ&&b0!==0)return b0&-b0;var J=w.T;return J!==null?(J._updatedFibers||(J._updatedFibers=new Set),J._updatedFibers.add(Z),lQ()):HL()}function HF(){if(MQ===0)if((b0&536870912)===0||p0){var Z=AK;AK<<=1,(AK&3932160)===0&&(AK=262144),MQ=Z}else MQ=536870912;return Z=wQ.current,Z!==null&&(Z.flags|=32),MQ}function gZ(Z,J,G){if(i5&&console.error("useInsertionEffect must not schedule updates."),F3&&(Qz=!0),Z===FZ&&(XZ===k8||XZ===E8)||Z.cancelPendingCommit!==null)V5(Z,0),V7(Z,b0,MQ,!1);if(PZ(Z,G),(c0&NJ)!==AJ&&Z===FZ){if(d9)switch(J.tag){case 0:case 11:case 15:Z=v0&&x(v0)||"Unknown",gO.has(Z)||(gO.add(Z),J=x(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:yO||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),yO=!0)}}else c9&&sJ(Z,J,G),aM(J),Z===FZ&&((c0&NJ)===AJ&&(S7|=G),wZ===E7&&V7(Z,b0,MQ,!1)),dZ(Z)}function BF(Z,J,G){if((c0&(NJ|Z9))!==AJ)throw Error("Should not already be working.");if(b0!==0&&v0!==null){var X=v0,q=HJ();switch(S2){case I1:case k8:var j=j1;AZ&&((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 E8:j=j1,AZ&&((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:AZ&&(X=q-j1,3>X||console.timeStamp("Blocked",j1,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||K0(Z,J))?gM(Z,J):tU(Z,J,!0);var O=G;do{if(j===x6){l5&&!G&&V7(Z,J,0,!1),J=XZ,j1=eZ(),S2=J;break}else{if(X=HJ(),q=Z.current.alternate,O&&!yM(q)){WJ(J),q=lJ,j=X,!AZ||j<=q||(aZ?aZ.run(console.timeStamp.bind(console,"Teared Render",q,j,u0,"Scheduler ⚛","error")):console.timeStamp("Teared Render",q,j,u0,"Scheduler ⚛","error")),q8(J,X),j=tU(Z,J,!1),O=!1;continue}if(j===I8){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){WJ(J),W0(lJ,X,J,aZ),q8(J,X),J=V;Z:{X=Z,j=O,O=E1;var P=cJ&&X.current.memoizedState.isDehydrated;if(P&&(V5(X,V).flags|=256),V=tU(X,V,!1),V!==I8){if(G3&&!P){X.errorRecoveryDisabledLanes|=j,S7|=j,j=E7;break Z}X=qQ,qQ=O,X!==null&&(qQ===null?qQ=X:qQ.push.apply(qQ,X))}j=V}if(O=!1,j!==I8)continue;else X=HJ()}}if(j===R1){WJ(J),W0(lJ,X,J,aZ),q8(J,X),V5(Z,0),V7(Z,J,0,!0);break}Z:{switch(G=Z,j){case x6:case R1:throw Error("Root did not complete. This is a bug in React.");case E7:if((J&4194048)!==J)break;case sK:WJ(J),i0(lJ,X,J,aZ),q8(J,X),q=J,(q&127)!==0?kK=X:(q&4194048)!==0&&(EK=X),V7(G,J,MQ,!T7);break Z;case I8:qQ=null;break;case nK:case RO:break;default:throw Error("Unknown root exit status.")}if(w.actQueue!==null)eU(G,q,J,qQ,C1,tK,MQ,S7,T8,j,null,null,lJ,X);else{if((J&62914560)===J&&(O=eK+EO-HJ(),10<O)){if(V7(G,J,MQ,!T7),a(G,0,!0)!==0)break Z;_9=J,G.timeoutHandle=XL(FF.bind(null,G,q,qQ,C1,tK,J,MQ,S7,T8,T7,j,"Throttled",lJ,X),O);break Z}FF(G,q,qQ,C1,tK,J,MQ,S7,T8,T7,j,null,lJ,X)}}}break}while(1);dZ(Z)}function FF(Z,J,G,X,q,j,O,V,P,k,f,v,c,q0){Z.timeoutHandle=F8;var L0=J.subtreeFlags,jZ=null;if(L0&8192||(L0&16785408)===16785408){if(jZ=YL(),GF(J,j,jZ),L0=(j&62914560)===j?eK-HJ():(j&4194048)===j?kO-HJ():0,L0=VL(jZ,L0),L0!==null){_9=j,Z.cancelPendingCommit=L0(eU.bind(null,Z,J,j,G,X,q,O,V,P,f,jZ,DL(jZ,Z.containerInfo),c,q0)),V7(Z,j,O,!k);return}}eU(Z,J,j,G,X,q,O,V,P,f,jZ,v,c,q0)}function yM(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(!KQ(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 V7(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&&OJ(Z,G,J)}function jK(){return(c0&(NJ|Z9))===AJ?(v9(0,!1),!1):!0}function oU(){return(c0&(NJ|Z9))!==AJ}function rU(){if(v0!==null){if(XZ===NQ)var Z=v0.return;else Z=v0,o7(),QU(Z),f5=null,A1=0,Z=v0;for(;Z!==null;)vB(Z.alternate,Z),Z=Z.return;v0=null}}function q8(Z,J){(Z&127)!==0&&(V8=J),(Z&4194048)!==0&&(R6=J)}function V5(Z,J){AZ&&(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=lJ;if(lJ=eZ(),b0!==0&&0<G){if(WJ(b0),wZ===nK||wZ===E7)i0(G,lJ,J,aZ);else{var X=lJ,q=aZ;if(AZ&&!(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)}}q8(b0,lJ)}if(G=aZ,aZ=null,(J&127)!==0){aZ=X1,q=0<=a9&&a9<V8?V8:a9,X=0<=D8&&D8<V8?V8:D8,j=0<=X?X:0<=q?q:lJ,0<=kK&&(WJ(2),U0(kK,j,J,G)),G=q;var V=X,P=U1,k=0<T5,f=$7===1,v=$7===2;if(q=lJ,X=X1,j=Sq,O=xq,AZ){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=f?"error":(J&738197653)===J?"tertiary-light":"primary-light",f=v?"Promise Resolved":f?"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,f,G)):performance.measure(f,G))}a9=-1.1,$7=0,xq=Sq=null,kK=-1.1,T5=D8,D8=-1.1,V8=eZ()}if((J&4194048)!==0&&(aZ=q1,q=0<=I6&&I6<R6?R6:I6,G=0<=sQ&&sQ<R6?R6:sQ,X=0<=R7&&R7<R6?R6:R7,j=0<=X?X:0<=G?G:lJ,0<=EK&&(WJ(256),U0(EK,j,J,aZ)),v=X,V=A8,P=0<I7,k=bq===2,j=lJ,X=q1,O=T2,f=C2,AZ&&(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=[],f!=null&&v.push(["Component name",f]),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))),sQ=I6=-1.1,bq=0,EK=-1.1,I7=R7,R7=-1.1,R6=eZ()),G=Z.timeoutHandle,G!==F8&&(Z.timeoutHandle=F8,UL(G)),G=Z.cancelPendingCommit,G!==null&&(Z.cancelPendingCommit=null,G()),_9=0,rU(),FZ=Z,v0=G=O6(Z.current,null),b0=J,XZ=NQ,yQ=null,T7=!1,l5=K0(Z,J),G3=!1,wZ=x6,T8=MQ=K3=S7=C7=0,qQ=E1=null,tK=!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 n9=J,vG(),Z=A2(),1000<Z-D2&&(w.recentlyCreatedOwnerStacks=0,D2=Z),M9.discardPendingWarnings(),G}function OF(Z,J){N0=null,w.H=_1,w.getCurrentStack=null,d9=!1,P6=null,J===b5||J===fK?(J=g4(),XZ=I1):J===hq?(J=g4(),XZ=IO):XZ=J===tq?Q3:J!==null&&typeof J==="object"&&typeof J.then==="function"?k1:oK,yQ=J;var G=v0;G===null?(wZ=R1,eG(Z,j0(J,Z.current))):G.mode&2&&q6(G)}function WF(){var Z=wQ.current;return Z===null?!0:(b0&4194048)===b0?rQ===null?!0:!1:(b0&62914560)===b0||(b0&536870912)!==0?Z===rQ:!1}function YF(){var Z=w.H;return w.H=_1,Z===null?_1:Z}function VF(){var Z=w.A;return w.A=iP,Z}function HK(Z){aZ===null&&(aZ=Z._debugTask==null?null:Z._debugTask)}function BK(){wZ=E7,T7||(b0&4194048)!==b0&&wQ.current!==null||(l5=!0),(C7&134217727)===0&&(S7&134217727)===0||FZ===null||V7(FZ,b0,MQ,!1)}function tU(Z,J,G){var X=c0;c0|=NJ;var q=YF(),j=VF();if(FZ!==Z||b0!==J){if(c9){var O=Z.memoizedUpdaters;0<O.size&&(r4(Z,b0),O.clear()),LJ(Z,J)}C1=null,V5(Z,J)}J=!1,O=wZ;Z:do try{if(XZ!==NQ&&v0!==null){var V=v0,P=yQ;switch(XZ){case Q3:rU(),O=sK;break Z;case I1:case k8:case E8:case k1:wQ.current===null&&(J=!0);var k=XZ;if(XZ=NQ,yQ=null,D5(Z,V,P,k),G&&l5){O=x6;break Z}break;default:k=XZ,XZ=NQ,yQ=null,D5(Z,V,P,k)}}DF(),O=wZ;break}catch(f){OF(Z,f)}while(1);return J&&Z.shellSuspendCounter++,o7(),c0=X,w.H=q,w.A=j,v0===null&&(FZ=null,b0=0,vG()),O}function DF(){for(;v0!==null;)AF(v0)}function gM(Z,J){var G=c0;c0|=NJ;var X=YF(),q=VF();if(FZ!==Z||b0!==J){if(c9){var j=Z.memoizedUpdaters;0<j.size&&(r4(Z,b0),j.clear()),LJ(Z,J)}C1=null,T1=HJ()+z3,V5(Z,J)}else l5=K0(Z,J);Z:do try{if(XZ!==NQ&&v0!==null)J:switch(J=v0,j=yQ,XZ){case oK:XZ=NQ,yQ=null,D5(Z,J,j,oK);break;case k8:case E8:if(SG(j)){XZ=NQ,yQ=null,NF(J);break}J=function(){XZ!==k8&&XZ!==E8||FZ!==Z||(XZ=rK),dZ(Z)},j.then(J,J);break Z;case I1:XZ=rK;break Z;case IO:XZ=J3;break Z;case rK:SG(j)?(XZ=NQ,yQ=null,NF(J)):(XZ=NQ,yQ=null,D5(Z,J,j,rK));break;case J3: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?B2(O):aF(V.stateNode,P,k)){XZ=NQ,yQ=null;var f=V.sibling;if(f!==null)v0=f;else{var v=V.return;v!==null?(v0=v,FK(v)):v0=null}break J}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}XZ=NQ,yQ=null,D5(Z,J,j,J3);break;case k1:XZ=NQ,yQ=null,D5(Z,J,j,k1);break;case Q3:rU(),wZ=sK;break Z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}w.actQueue!==null?DF():mM();break}catch(c){OF(Z,c)}while(1);if(o7(),w.H=X,w.A=q,c0=G,v0!==null)return x6;return FZ=null,b0=0,vG(),wZ}function mM(){for(;v0!==null&&!CP();)AF(v0)}function AF(Z){var J=Z.alternate;(Z.mode&2)!==A0?(z5(Z),J=J0(Z,wU,J,Z,n9),q6(Z)):J=J0(Z,wU,J,Z,n9),Z.memoizedProps=Z.pendingProps,J===null?FK(Z):v0=J}function NF(Z){var J=J0(Z,uM,Z);Z.memoizedProps=Z.pendingProps,J===null?FK(Z):v0=J}function uM(Z){var J=Z.alternate,G=(Z.mode&2)!==A0;switch(G&&z5(Z),Z.tag){case 15:case 0:J=IB(J,Z,Z.pendingProps,Z.type,void 0,b0);break;case 11:J=IB(J,Z,Z.pendingProps,Z.type.render,Z.ref,b0);break;case 5:QU(Z);default:vB(J,Z),Z=v0=fF(Z,n9),J=wU(J,Z,n9)}return G&&q6(Z),J}function D5(Z,J,G,X){o7(),QU(J),f5=null,A1=0;var q=J.return;try{if($M(Z,q,J,G,b0)){wZ=R1,eG(Z,j0(G,Z.current)),v0=null;return}}catch(j){if(q!==null)throw v0=q,j;wZ=R1,eG(Z,j0(G,Z.current)),v0=null;return}if(J.flags&32768){if(p0||X===oK)Z=!0;else if(l5||(b0&536870912)!==0)Z=!1;else if(T7=Z=!0,X===k8||X===E8||X===I1||X===k1)X=wQ.current,X!==null&&X.tag===13&&(X.flags|=16384);MF(J,Z)}else FK(J)}function FK(Z){var J=Z;do{if((J.flags&32768)!==0){MF(J,T7);return}var G=J.alternate;if(Z=J.return,z5(J),G=J0(J,kM,G,J,n9),(J.mode&2)!==A0&&X5(J),G!==null){v0=G;return}if(J=J.sibling,J!==null){v0=J;return}v0=J=Z}while(J!==null);wZ===x6&&(wZ=RO)}function MF(Z,J){do{var G=EM(Z.alternate,Z);if(G!==null){G.flags&=32767,v0=G;return}if((Z.mode&2)!==A0){X5(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=sK,v0=null}function eU(Z,J,G,X,q,j,O,V,P,k,f,v,c,q0){Z.cancelPendingCommit=null;do A5();while(KJ!==b7);if(M9.flushLegacyContextWarning(),M9.flushPendingUnsafeLifecycleWarnings(),(c0&(NJ|Z9))!==AJ)throw Error("Should not already be working.");if(WJ(G),k===I8?W0(c,q0,G,aZ):X!==null?F0(c,q0,G,X,J!==null&&J.alternate!==null&&J.alternate.memoizedState.isDehydrated&&(J.flags&256)!==0,aZ):t(c,q0,G,aZ),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|=cq,_Z(Z,G,j,O,V,P),Z===FZ&&(v0=FZ=null,b0=0),a5=J,f7=Z,_9=G,q3=j,H3=q,fO=X,j3=q0,wO=v,$9=Zz,vO=null,J.actualDuration!==0||(J.subtreeFlags&10256)!==0||(J.flags&10256)!==0?(Z.callbackNode=null,Z.callbackPriority=0,lM(Q1,function(){return Wq(),$9===Zz&&($9=U3),RF(),null})):(Z.callbackNode=null,Z.callbackPriority=0),$6=null,_7=eZ(),v!==null&&TZ(q0,_7,v,aZ),X=(J.flags&13878)!==0,(J.subtreeFlags&13878)!==0||X){X=w.T,w.T=null,q=D6(),VJ(2),O=c0,c0|=Z9;try{fM(Z,J,G)}finally{c0=O,VJ(q),w.T=X}}KJ=CO,LF(),PF(),_F()}}function LF(){if(KJ===CO){KJ=b7;var Z=f7,J=a5,G=_9,X=(J.flags&13878)!==0;if((J.subtreeFlags&13878)!==0||X){X=w.T,w.T=null;var q=D6();VJ(2);var j=c0;c0|=Z9;try{p5=G,c5=Z,X7(),rB(J,Z),c5=p5=null,KL(Z.containerInfo)}finally{c0=j,VJ(q),w.T=X}}Z.current=J,KJ=SO}}function PF(){if(KJ===SO){KJ=b7;var Z=vO;if(Z!==null){_7=eZ();var J=_6,G=_7;!AZ||G<=J||(C5?C5.run(console.timeStamp.bind(console,Z,J,G,u0,"Scheduler ⚛","secondary-light")):console.timeStamp(Z,J,G,u0,"Scheduler ⚛","secondary-light"))}Z=f7,J=a5,G=_9;var X=(J.flags&8772)!==0;if((J.subtreeFlags&8772)!==0||X){X=w.T,w.T=null;var q=D6();VJ(2);var j=c0;c0|=Z9;try{p5=G,c5=Z,X7(),iB(Z,J.alternate,J),c5=p5=null}finally{c0=j,VJ(q),w.T=X}}Z=j3,J=wO,_6=eZ(),Z=J===null?Z:_7,J=_6,G=$9===X3,X=aZ,$6!==null?r0(Z,J,$6,!1,X):!AZ||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")),KJ=xO}}function _F(){if(KJ===bO||KJ===xO){if(KJ===bO){var Z=_6;_6=eZ();var J=_6,G=$9===X3;!AZ||J<=Z||(C5?C5.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")),$9!==X3&&($9=TO)}KJ=b7,SP(),Z=f7;var X=a5;J=_9,G=fO;var q=X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0;q?KJ=Jz:(KJ=b7,a5=f7=null,$F(Z,Z.pendingLanes),C8=0,x1=null);var j=Z.pendingLanes;if(j===0&&(x7=null),q||TF(Z),j=GZ(J),X=X.stateNode,dJ&&typeof dJ.onCommitFiberRoot==="function")try{var O=(X.current.flags&128)===128;switch(j){case 2:var V=Pq;break;case 8:V=Y2;break;case 32:V=Q1;break;case 268435456:V=V2;break;default:V=Q1}dJ.onCommitFiberRoot($5,X,V,O)}catch(v){p9||(p9=!0,console.error("React instrumentation encountered an error: %o",v))}if(c9&&Z.memoizedUpdaters.clear(),vM(),G!==null){O=w.T,V=D6(),VJ(2),w.T=null;try{var P=Z.onRecoverableError;for(X=0;X<G.length;X++){var k=G[X],f=hM(k.stack);J0(k.source,P,k.value,f)}}finally{w.T=O,VJ(V)}}(_9&3)!==0&&A5(),dZ(Z),j=Z.pendingLanes,(J&261930)!==0&&(j&42)!==0?(CK=!0,Z===B3?S1++:(S1=0,B3=Z)):S1=0,q||q8(J,_6),cJ&&WP(),v9(0,!1)}}function hM(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 $F(Z,J){(Z.pooledCacheLanes&=J)===0&&(J=Z.pooledCache,J!=null&&(Z.pooledCache=null,K7(J)))}function A5(){return LF(),PF(),_F(),RF()}function RF(){if(KJ!==Jz)return!1;var Z=f7,J=q3;q3=0;var G=GZ(_9),X=32>G?32:G;G=w.T;var q=D6();try{VJ(X),w.T=null;var j=H3;H3=null,X=f7;var O=_9;if(KJ=b7,a5=f7=null,_9=0,(c0&(NJ|Z9))!==AJ)throw Error("Cannot flush passive effects while already rendering.");WJ(O),F3=!0,Qz=!1;var V=0;if($6=null,V=HJ(),$9===TO){var P=_6,k=V;!AZ||k<=P||(C5?C5.run(console.timeStamp.bind(console,"Animating",P,k,u0,"Scheduler ⚛","secondary-dark")):console.timeStamp("Animating",P,k,u0,"Scheduler ⚛","secondary-dark"))}else{P=_6,k=V;var f=$9===U3;!AZ||k<=P||(aZ?aZ.run(console.timeStamp.bind(console,f?"Waiting for Paint":"Waiting",P,k,u0,"Scheduler ⚛","secondary-light")):console.timeStamp(f?"Waiting for Paint":"Waiting",P,k,u0,"Scheduler ⚛","secondary-light"))}P=c0,c0|=Z9;var v=X.current;X7(),zF(v);var c=X.current;v=j3,X7(),JF(X,c,O,j,v),TF(X),c0=P;var q0=HJ();if(c=V,v=aZ,$6!==null?r0(c,q0,$6,!0,v):!AZ||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")),q8(O,q0),v9(0,!1),Qz?X===x1?C8++:(C8=0,x1=X):C8=0,Qz=F3=!1,dJ&&typeof dJ.onPostCommitFiberRoot==="function")try{dJ.onPostCommitFiberRoot($5,X)}catch(jZ){p9||(p9=!0,console.error("React instrumentation encountered an error: %o",jZ))}var L0=X.current.stateNode;return L0.effectDuration=0,L0.passiveEffectDuration=0,!0}finally{VJ(q),w.T=G,$F(Z,J)}}function IF(Z,J,G){J=j0(G,J),b4(J),J=$U(Z.stateNode,J,2),Z=F7(Z,J,2),Z!==null&&(PZ(Z,2),dZ(Z))}function e0(Z,J,G){if(i5=!1,Z.tag===3)IF(Z,Z,G);else{for(;J!==null;){if(J.tag===3){IF(J,Z,G);return}if(J.tag===1){var X=J.stateNode;if(typeof J.type.getDerivedStateFromError==="function"||typeof X.componentDidCatch==="function"&&(x7===null||!x7.has(X))){Z=j0(G,Z),b4(Z),G=RU(2),X=F7(J,G,2),X!==null&&(IU(G,X,J,Z),PZ(X,2),dZ(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 Zq(Z,J,G){var X=Z.pingCache;if(X===null){X=Z.pingCache=new nP;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)||(G3=!0,q.add(G),X=pM.bind(null,Z,J,G),c9&&r4(Z,G),J.then(X,X))}function pM(Z,J,G){var X=Z.pingCache;X!==null&&X.delete(J),Z.pingedLanes|=Z.suspendedLanes&G,Z.warmLanes&=~G,(G&127)!==0?0>a9&&(V8=a9=eZ(),X1=IK("Promise Resolved"),$7=2):(G&4194048)!==0&&0>sQ&&(R6=sQ=eZ(),q1=IK("Promise Resolved"),bq=2),jF()&&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`),FZ===Z&&(b0&G)===G&&(wZ===E7||wZ===nK&&(b0&62914560)===b0&&HJ()-eK<EO?(c0&NJ)===AJ&&V5(Z,0):K3|=G,T8===b0&&(T8=0)),dZ(Z)}function kF(Z,J){J===0&&(J=w0()),Z=uJ(Z,J),Z!==null&&(PZ(Z,J),dZ(Z))}function cM(Z){var J=Z.memoizedState,G=0;J!==null&&(G=J.retryLane),kF(Z,G)}function dM(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),kF(Z,G)}function Jq(Z,J,G){if((J.subtreeFlags&67117056)!==0)for(J=J.child;J!==null;){var X=Z,q=J,j=q.type===WK;j=G||j,q.tag!==22?q.flags&67108864?j&&J0(q,EF,X,q):Jq(X,q,j):q.memoizedState===null&&(j&&q.flags&8192?J0(q,EF,X,q):q.subtreeFlags&67108864&&J0(q,Jq,X,q,j)),J=J.sibling}}function EF(Z,J){y0(!0);try{eB(J),XF(J),ZF(Z,J.alternate,J,!1),QF(Z,J,0,null,!1,0)}finally{y0(!1)}}function TF(Z){var J=!0;Z.current.mode&24||(J=!1),Jq(Z,Z.current,J)}function CF(Z){if((c0&NJ)===AJ){var J=Z.tag;if(J===3||J===1||J===0||J===11||J===14||J===15){if(J=x(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 r4(Z,J){c9&&Z.memoizedUpdaters.forEach(function(G){sJ(Z,G,J)})}function lM(Z,J){var G=w.actQueue;return G!==null?(G.push(J),rP):MK(Z,J)}function aM(Z){jF()&&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`,x(Z))})}function j8(Z){if(J9===null)return Z;var J=J9(Z);return J===void 0?Z:J.current}function Qq(Z){if(J9===null)return Z;var J=J9(Z);return J===void 0?Z!==null&&Z!==void 0&&typeof Z.render==="function"&&(J=j8(Z.render),Z.render!==J)?(J={$$typeof:t4,render:J},Z.displayName!==void 0&&(J.displayName=Z.displayName),J):Z:J.current}function SF(Z,J){if(J9===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===t4?X=!0:q===bQ&&(X=!0);break;case 14:case 15:q===YK?X=!0:q===bQ&&(X=!0);break;default:return!1}return X&&(Z=J9(G),Z!==void 0&&Z===J9(J))?!0:!1}function xF(Z){J9!==null&&typeof WeakSet==="function"&&(n5===null&&(n5=new WeakSet),n5.add(Z))}function bF(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(J9===null)throw Error("Expected resolveFamily to be set during hot reload.");var k=!1;if(X=!1,P!==null&&(P=J9(P),P!==void 0&&(G.has(P)?X=!0:J.has(P)&&(V===1?X=!0:k=!0))),n5!==null&&(n5.has(Z)||q!==null&&n5.has(q))&&(X=!0),X&&(Z._debugNeedsRemount=!0),X||k)q=uJ(Z,2),q!==null&&gZ(q,Z,2);if(j===null||X||bF(j,J,G),O===null)break;Z=O}while(1)}function iM(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,mO||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function Gq(Z){return Z=Z.prototype,!(!Z||!Z.isReactComponent)}function O6(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=j8(Z.type);break;case 1:G.type=j8(Z.type);break;case 11:G.type=Qq(Z.type)}return G}function fF(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")Gq(Z)&&(O=1),V=j8(V);else if(typeof Z==="string")N9&&jJ?(O=Y0(),O=z2(Z,G,O)?26:W2(Z)?27:5):N9?(O=Y0(),O=z2(Z,G,O)?26:5):O=jJ?W2(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 N5:return H8(G.children,q,j,J);case WK:O=8,q|=24;break;case qq: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=qq,J.lanes=j,J.stateNode={effectDuration:0,passiveEffectDuration:0},J;case Hq:return J=Y(13,G,J,q),J.elementType=Hq,J.lanes=j,J;case Bq:return J=Y(19,G,J,q),J.elementType=Bq,J.lanes=j,J;default:if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case Y6:O=10;break Z;case jq:O=9;break Z;case t4:O=11,V=Qq(V);break Z;case YK: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":kJ(Z)?G="array":Z!==void 0&&Z.$$typeof===W6?(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"?x(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 OK(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 H8(Z,J,G,X){return Z=Y(7,Z,X,J),Z.lanes=G,Z}function zq(Z,J,G){return Z=Y(6,Z,null,J),Z.lanes=G,Z}function wF(Z){var J=Y(18,null,null,A0);return J.stateNode=Z,J}function Xq(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 nM(Z,J,G,X,q,j,O,V,P){this.tag=1,this.containerInfo=Z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=F8,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 vF(Z,J,G,X,q,j,O,V,P,k,f,v){return Z=new nM(Z,J,G,O,P,k,f,v,V),J=1,j===!0&&(J|=24),j=Y(3,null,null,J|2),Z.current=j,j.stateNode=Z,J=G7(),kQ(J),Z.pooledCache=J,kQ(J),j.memoizedState={element:X,isDehydrated:G,cache:J},aX(j),Z}function yF(Z){return""+Z}function gF(Z){if(!Z)return D7;return Z=D7,Z}function mF(Z,J,G,X){return uF(J.current,2,Z,J,G,X),2}function uF(Z,J,G,X,q,j){if(dJ&&typeof dJ.onScheduleFiberRoot==="function")try{dJ.onScheduleFiberRoot($5,X,G)}catch(O){p9||(p9=!0,console.error("React instrumentation encountered an error: %o",O))}q=gF(q),X.context===null?X.context=q:X.pendingContext=q,d9&&P6!==null&&!hO&&(hO=!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.`,x(P6)||"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=F7(Z,X,J),G!==null&&(rJ(J,"root.render()",null),gZ(G,Z,J),m4(G,Z,J))}function hF(Z,J){if(Z=Z.memoizedState,Z!==null&&Z.dehydrated!==null){var G=Z.retryLane;Z.retryLane=G!==0&&G<J?G:J}}function Uq(Z,J){hF(Z,J),(Z=Z.alternate)&&hF(Z,J)}function sM(){return P6}var a0={},IJ=Object.assign,oM=Symbol.for("react.element"),W6=Symbol.for("react.transitional.element"),B8=Symbol.for("react.portal"),N5=Symbol.for("react.fragment"),WK=Symbol.for("react.strict_mode"),qq=Symbol.for("react.profiler"),jq=Symbol.for("react.consumer"),Y6=Symbol.for("react.context"),t4=Symbol.for("react.forward_ref"),Hq=Symbol.for("react.suspense"),Bq=Symbol.for("react.suspense_list"),YK=Symbol.for("react.memo"),bQ=Symbol.for("react.lazy"),Fq=Symbol.for("react.activity"),rM=Symbol.for("react.memo_cache_sentinel"),pF=Symbol.iterator,tM=Symbol.for("react.client.reference"),kJ=Array.isArray,w=m3.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,eM=Q.rendererVersion,ZL=Q.rendererPackageName,cF=Q.extraDevToolsConfig,M5=Q.getPublicInstance,JL=Q.getRootHostContext,QL=Q.getChildHostContext,GL=Q.prepareForCommit,KL=Q.resetAfterCommit,zL=Q.createInstance;Q.cloneMutableInstance;var{appendInitialChild:Oq,finalizeInitialChildren:dF,shouldSetTextContent:VK,createTextInstance:lF}=Q;Q.cloneMutableTextInstance;var{scheduleTimeout:XL,cancelTimeout:UL,noTimeout:F8,isPrimaryRenderer:V6}=Q;Q.warnsIfNotActing;var{supportsMutation:pJ,supportsPersistence:h9,supportsHydration:cJ,getInstanceFromNode:qL}=Q;Q.beforeActiveInstanceBlur;var jL=Q.preparePortalMount;Q.prepareScopeUpdate,Q.getInstanceFromScope;var{setCurrentUpdatePriority:VJ,getCurrentUpdatePriority:D6,resolveUpdatePriority:HL,trackSchedulerEvent:Wq,resolveEventType:e4,resolveEventTimeStamp:Z1,shouldAttemptEagerTransition:BL,detachDeletedInstance:FL}=Q;Q.requestPostPaintCallback;var{maySuspendCommit:OL,maySuspendCommitOnUpdate:WL,maySuspendCommitInSyncRender:Yq,preloadInstance:aF,startSuspendingCommit:YL,suspendInstance:iF}=Q;Q.suspendOnActiveViewTransition;var{waitForCommitToBeReady:VL,getSuspendedCommitReason:DL,NotPendingTransition:L5,HostTransitionContext:O8,resetFormInstance:AL,bindToConsole:NL,supportsMicrotasks:ML,scheduleMicrotask:LL,supportsTestSelectors:P5,findFiberRoot:PL,getBoundingRect:_L,getTextContent:$L,isHiddenSubtree:J1,matchAccessibilityRole:RL,setFocusIfFocusable:IL,setupIntersectionObserver:kL,appendChild:EL,appendChildToContainer:TL,commitTextUpdate:CL,commitMount:SL,commitUpdate:xL,insertBefore:bL,insertInContainerBefore:fL,removeChild:wL,removeChildFromContainer:vL,resetTextContent:nF,hideInstance:yL,hideTextInstance:gL,unhideInstance:mL,unhideTextInstance:uL}=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 hL=Q.clearContainer;Q.createFragmentInstance,Q.updateFragmentInstanceFiber,Q.commitNewChildToFragmentInstance,Q.deleteChildFromFragmentInstance;var{cloneInstance:pL,createContainerChildSet:sF,appendChildToContainerChildSet:oF,finalizeContainerChildren:cL,replaceContainerChildren:rF,cloneHiddenInstance:tF,cloneHiddenTextInstance:eF,isSuspenseInstancePending:Vq,isSuspenseInstanceFallback:Dq,getSuspenseInstanceFallbackErrorDetails:dL,registerSuspenseInstanceRetry:lL,canHydrateFormStateMarker:aL,isFormStateMarkerMatching:iL,getNextHydratableSibling:Aq,getNextHydratableSiblingAfterSingleton:nL,getFirstHydratableChild:sL,getFirstHydratableChildWithinContainer:oL,getFirstHydratableChildWithinActivityInstance:rL,getFirstHydratableChildWithinSuspenseInstance:tL,getFirstHydratableChildWithinSingleton:eL,canHydrateInstance:ZP,canHydrateTextInstance:JP,canHydrateActivityInstance:QP,canHydrateSuspenseInstance:GP,hydrateInstance:KP,hydrateTextInstance:zP,hydrateActivityInstance:XP,hydrateSuspenseInstance:UP,getNextHydratableInstanceAfterActivityInstance:qP,getNextHydratableInstanceAfterSuspenseInstance:Z2,commitHydratedInstance:jP,commitHydratedContainer:HP,commitHydratedActivityInstance:BP,commitHydratedSuspenseInstance:FP,finalizeHydratedChildren:OP,flushHydrationEvents:WP}=Q;Q.clearActivityBoundary;var YP=Q.clearSuspenseBoundary;Q.clearActivityBoundaryFromContainer;var{clearSuspenseBoundaryFromContainer:VP,hideDehydratedBoundary:DP,unhideDehydratedBoundary:AP,shouldDeleteUnhydratedTailInstances:J2,diffHydratedPropsForDevWarnings:Q2,diffHydratedTextForDevWarnings:G2,describeHydratableInstanceForDevWarnings:K2,validateHydratableInstance:NP,validateHydratableTextInstance:MP,supportsResources:N9,isHostHoistableType:z2,getHoistableRoot:Nq,getResource:X2,acquireResource:U2,releaseResource:q2,hydrateHoistable:LP,mountHoistable:j2,unmountHoistable:H2,createHoistableInstance:PP,prepareToCommitHoistables:_P,mayResourceSuspendCommit:$P,preloadResource:B2,suspendResource:RP,supportsSingletons:jJ,resolveSingletonInstance:F2,acquireSingletonInstance:IP,releaseSingletonInstance:O2,isHostSingletonType:W2,isSingletonScope:_5}=Q,Mq=[],Lq=[],A6=-1,D7={};Object.freeze(D7);var GQ=Math.clz32?Math.clz32:Z0,kP=Math.log,EP=Math.LN2,DK=256,AK=262144,NK=4194304,MK=LZ.unstable_scheduleCallback,TP=LZ.unstable_cancelCallback,CP=LZ.unstable_shouldYield,SP=LZ.unstable_requestPaint,HJ=LZ.unstable_now,Pq=LZ.unstable_ImmediatePriority,Y2=LZ.unstable_UserBlockingPriority,Q1=LZ.unstable_NormalPriority,V2=LZ.unstable_IdlePriority,xP=LZ.log,bP=LZ.unstable_setDisableYieldValue,$5=null,dJ=null,p9=!1,c9=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",D2=0;if(typeof performance==="object"&&typeof performance.now==="function")var fP=performance,A2=function(){return fP.now()};else{var wP=Date;A2=function(){return wP.now()}}var KQ=typeof Object.is==="function"?Object.is:b9,N2=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)},_q=Object.prototype.hasOwnProperty,AZ=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",u0="Blocking",A7=!1,N6={color:"primary",properties:null,tooltipText:"",track:"Components ⚛"},N7={start:-0,end:-0,detail:{devtools:N6}},vP=["Changed Props",""],yP=["Changed Props","This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."],G1=0,M2,L2,P2,_2,$2,R2,I2;E0.__reactDisabledLog=!0;var $q,k2,Rq=!1,Iq=new(typeof WeakMap==="function"?WeakMap:Map),kq=new WeakMap,R5=[],I5=0,LK=null,K1=0,aQ=[],iQ=0,W8=null,M6=1,L6="",M7=o(null),z1=o(null),L7=o(null),PK=o(null),E2=/["'&<>\n\t]|^\s|\s$/,P6=null,d9=!1,EJ=null,bZ=null,p0=!1,l9=!1,fQ=null,P7=null,nQ=!1,Eq=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,_K=o(null),Tq=o(null),Cq=o(null),$K={},RK=null,k5=null,E5=!1,gP=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()})}},mP=LZ.unstable_scheduleCallback,uP=LZ.unstable_NormalPriority,mZ={$$typeof:Y6,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},eZ=LZ.unstable_now,IK=console.createTask?console.createTask:function(){return null},lJ=-0,_7=-0,_6=-0,$6=null,zQ=-1.1,Y8=-0,fZ=-0,B0=-1.1,D0=-1.1,RZ=null,uZ=!1,V8=-0,a9=-1.1,X1=null,$7=0,Sq=null,xq=null,D8=-1.1,U1=null,T5=-1.1,kK=-1.1,R6=-0,I6=-1.1,sQ=-1.1,bq=0,q1=null,T2=null,C2=null,R7=-1.1,A8=null,I7=-1.1,EK=-1.1,C5=null,S2=0,j1=-1.1,TK=!1,CK=!1,SK=null,S5=null,fq=!1,wq=!1,xK=!1,vq=!1,N8=0,yq={},H1=null,gq=0,M8=0,x5=null,x2=w.S;w.S=function(Z,J){if(kO=HJ(),typeof J==="object"&&J!==null&&typeof J.then==="function"){if(0>I6&&0>sQ){I6=eZ();var G=Z1(),X=e4();if(G!==I7||X!==A8)I7=-1.1;R7=G,A8=X}CG(Z,J)}x2!==null&&x2(Z,J)};var L8=o(null),M9={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},B1=[],F1=[],O1=[],W1=[],Y1=[],V1=[],P8=new Set;M9.recordUnsafeLifecycleWarnings=function(Z,J){P8.has(Z.type)||(typeof J.componentWillMount==="function"&&J.componentWillMount.__suppressDeprecationWarning!==!0&&B1.push(Z),Z.mode&8&&typeof J.UNSAFE_componentWillMount==="function"&&F1.push(Z),typeof J.componentWillReceiveProps==="function"&&J.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&O1.push(Z),Z.mode&8&&typeof J.UNSAFE_componentWillReceiveProps==="function"&&W1.push(Z),typeof J.componentWillUpdate==="function"&&J.componentWillUpdate.__suppressDeprecationWarning!==!0&&Y1.push(Z),Z.mode&8&&typeof J.UNSAFE_componentWillUpdate==="function"&&V1.push(Z))},M9.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;0<B1.length&&(B1.forEach(function(V){Z.add(x(V)||"Component"),P8.add(V.type)}),B1=[]);var J=new Set;0<F1.length&&(F1.forEach(function(V){J.add(x(V)||"Component"),P8.add(V.type)}),F1=[]);var G=new Set;0<O1.length&&(O1.forEach(function(V){G.add(x(V)||"Component"),P8.add(V.type)}),O1=[]);var X=new Set;0<W1.length&&(W1.forEach(function(V){X.add(x(V)||"Component"),P8.add(V.type)}),W1=[]);var q=new Set;0<Y1.length&&(Y1.forEach(function(V){q.add(x(V)||"Component"),P8.add(V.type)}),Y1=[]);var j=new Set;if(0<V1.length&&(V1.forEach(function(V){j.add(x(V)||"Component"),P8.add(V.type)}),V1=[]),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 bK=new Map,b2=new Set;M9.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."):!b2.has(Z.type)&&(X=bK.get(G),Z.type.contextTypes!=null||Z.type.childContextTypes!=null||J!==null&&typeof J.getChildContext==="function")&&(X===void 0&&(X=[],bK.set(G,X)),X.push(Z))},M9.flushLegacyContextWarning=function(){bK.forEach(function(Z){if(Z.length!==0){var J=Z[0],G=new Set;Z.forEach(function(q){G.add(x(q)||"Component"),b2.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)})}})},M9.discardPendingWarnings=function(){B1=[],F1=[],O1=[],W1=[],Y1=[],V1=[],bK=new Map};var f2={react_stack_bottom_frame:function(Z,J,G){var X=d9;d9=!0;try{return Z(J,G)}finally{d9=X}}},mq=f2.react_stack_bottom_frame.bind(f2),w2={react_stack_bottom_frame:function(Z){var J=d9;d9=!0;try{return Z.render()}finally{d9=J}}},v2=w2.react_stack_bottom_frame.bind(w2),y2={react_stack_bottom_frame:function(Z,J){try{J.componentDidMount()}catch(G){e0(Z,Z.return,G)}}},uq=y2.react_stack_bottom_frame.bind(y2),g2={react_stack_bottom_frame:function(Z,J,G,X,q){try{J.componentDidUpdate(G,X,q)}catch(j){e0(Z,Z.return,j)}}},m2=g2.react_stack_bottom_frame.bind(g2),u2={react_stack_bottom_frame:function(Z,J){var G=J.stack;Z.componentDidCatch(J.value,{componentStack:G!==null?G:""})}},hP=u2.react_stack_bottom_frame.bind(u2),h2={react_stack_bottom_frame:function(Z,J,G){try{G.componentWillUnmount()}catch(X){e0(Z,J,X)}}},p2=h2.react_stack_bottom_frame.bind(h2),c2={react_stack_bottom_frame:function(Z){var J=Z.create;return Z=Z.inst,J=J(),Z.destroy=J}},pP=c2.react_stack_bottom_frame.bind(c2),d2={react_stack_bottom_frame:function(Z,J,G){try{G()}catch(X){e0(Z,J,X)}}},cP=d2.react_stack_bottom_frame.bind(d2),l2={react_stack_bottom_frame:function(Z){var J=Z._init;return J(Z._payload)}},dP=l2.react_stack_bottom_frame.bind(l2),b5=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`."),hq=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."),fK=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."),wK={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,D1=!1,f5=null,A1=0,x0=null,pq,a2=pq=!1,i2={},n2={},s2={};_=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=x(Z),q=X||"null";if(!i2[q]){i2[q]=!0,G=G._owner,Z=Z._debugOwner;var j="";Z&&typeof Z.tag==="number"&&(q=x(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=x(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 $8=gH(!0),o2=gH(!1),N1=1,k6=2,oQ=[],w5=0,cq=0,r2=0,t2=1,e2=2,dq=3,k7=!1,ZO=!1,lq=null,aq=!1,v5=o(null),vK=o(0),wQ=o(null),rQ=null,y5=1,M1=2,iZ=o(0),yK=0,tQ=1,XQ=2,vQ=4,UQ=8,g5,JO=new Set,QO=new Set,iq=new Set,GO=new Set,E6=0,N0=null,BZ=null,ZJ=null,gK=!1,m5=!1,R8=!1,mK=0,L1=0,T6=null,lP=0,aP=25,b=null,eQ=null,C6=-1,P1=!1,_1={readContext:qZ,use:Y7,useCallback:lZ,useContext:lZ,useEffect:lZ,useImperativeHandle:lZ,useLayoutEffect:lZ,useInsertionEffect:lZ,useMemo:lZ,useReducer:lZ,useRef:lZ,useState:lZ,useDebugValue:lZ,useDeferredValue:lZ,useTransition:lZ,useSyncExternalStore:lZ,useId:lZ,useHostTransitionStatus:lZ,useFormState:lZ,useActionState:lZ,useOptimistic:lZ,useMemoCache:lZ,useCacheRefresh:lZ};_1.useEffectEvent=lZ;var nq=null,KO=null,sq=null,zO=null,i9=null,L9=null,uK=null;nq={readContext:function(Z){return qZ(Z)},use:Y7,useCallback:function(Z,J){return b="useCallback",m0(),H5(J),WU(Z,J)},useContext:function(Z){return b="useContext",m0(),qZ(Z)},useEffect:function(Z,J){return b="useEffect",m0(),H5(J),aG(Z,J)},useImperativeHandle:function(Z,J,G){return b="useImperativeHandle",m0(),H5(G),OU(Z,J,G)},useInsertionEffect:function(Z,J){b="useInsertionEffect",m0(),H5(J),G8(4,XQ,Z,J)},useLayoutEffect:function(Z,J){return b="useLayoutEffect",m0(),H5(J),FU(Z,J)},useMemo:function(Z,J){b="useMemo",m0(),H5(J);var G=w.H;w.H=i9;try{return YU(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){b="useReducer",m0();var X=w.H;w.H=i9;try{return GU(Z,J,G)}finally{w.H=X}},useRef:function(Z){return b="useRef",m0(),HU(Z)},useState:function(Z){b="useState",m0();var J=w.H;w.H=i9;try{return UU(Z)}finally{w.H=J}},useDebugValue:function(){b="useDebugValue",m0()},useDeferredValue:function(Z,J){return b="useDeferredValue",m0(),VU(Z,J)},useTransition:function(){return b="useTransition",m0(),AU()},useSyncExternalStore:function(Z,J,G){return b="useSyncExternalStore",m0(),zU(Z,J,G)},useId:function(){return b="useId",m0(),NU()},useFormState:function(Z,J){return b="useFormState",m0(),hG(),F5(Z,J)},useActionState:function(Z,J){return b="useActionState",m0(),F5(Z,J)},useOptimistic:function(Z){return b="useOptimistic",m0(),qU(Z)},useHostTransitionStatus:K8,useMemoCache:Q8,useCacheRefresh:function(){return b="useCacheRefresh",m0(),MU()},useEffectEvent:function(Z){return b="useEffectEvent",m0(),BU(Z)}},KO={readContext:function(Z){return qZ(Z)},use:Y7,useCallback:function(Z,J){return b="useCallback",n(),WU(Z,J)},useContext:function(Z){return b="useContext",n(),qZ(Z)},useEffect:function(Z,J){return b="useEffect",n(),aG(Z,J)},useImperativeHandle:function(Z,J,G){return b="useImperativeHandle",n(),OU(Z,J,G)},useInsertionEffect:function(Z,J){b="useInsertionEffect",n(),G8(4,XQ,Z,J)},useLayoutEffect:function(Z,J){return b="useLayoutEffect",n(),FU(Z,J)},useMemo:function(Z,J){b="useMemo",n();var G=w.H;w.H=i9;try{return YU(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){b="useReducer",n();var X=w.H;w.H=i9;try{return GU(Z,J,G)}finally{w.H=X}},useRef:function(Z){return b="useRef",n(),HU(Z)},useState:function(Z){b="useState",n();var J=w.H;w.H=i9;try{return UU(Z)}finally{w.H=J}},useDebugValue:function(){b="useDebugValue",n()},useDeferredValue:function(Z,J){return b="useDeferredValue",n(),VU(Z,J)},useTransition:function(){return b="useTransition",n(),AU()},useSyncExternalStore:function(Z,J,G){return b="useSyncExternalStore",n(),zU(Z,J,G)},useId:function(){return b="useId",n(),NU()},useActionState:function(Z,J){return b="useActionState",n(),F5(Z,J)},useFormState:function(Z,J){return b="useFormState",n(),hG(),F5(Z,J)},useOptimistic:function(Z){return b="useOptimistic",n(),qU(Z)},useHostTransitionStatus:K8,useMemoCache:Q8,useCacheRefresh:function(){return b="useCacheRefresh",n(),MU()},useEffectEvent:function(Z){return b="useEffectEvent",n(),BU(Z)}},sq={readContext:function(Z){return qZ(Z)},use:Y7,useCallback:function(Z,J){return b="useCallback",n(),sG(Z,J)},useContext:function(Z){return b="useContext",n(),qZ(Z)},useEffect:function(Z,J){b="useEffect",n(),DQ(2048,UQ,Z,J)},useImperativeHandle:function(Z,J,G){return b="useImperativeHandle",n(),nG(Z,J,G)},useInsertionEffect:function(Z,J){return b="useInsertionEffect",n(),DQ(4,XQ,Z,J)},useLayoutEffect:function(Z,J){return b="useLayoutEffect",n(),DQ(4,vQ,Z,J)},useMemo:function(Z,J){b="useMemo",n();var G=w.H;w.H=L9;try{return oG(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){b="useReducer",n();var X=w.H;w.H=L9;try{return B5(Z,J,G)}finally{w.H=X}},useRef:function(){return b="useRef",n(),zZ().memoizedState},useState:function(){b="useState",n();var Z=w.H;w.H=L9;try{return B5(Y9)}finally{w.H=Z}},useDebugValue:function(){b="useDebugValue",n()},useDeferredValue:function(Z,J){return b="useDeferredValue",n(),UB(Z,J)},useTransition:function(){return b="useTransition",n(),FB()},useSyncExternalStore:function(Z,J,G){return b="useSyncExternalStore",n(),cG(Z,J,G)},useId:function(){return b="useId",n(),zZ().memoizedState},useFormState:function(Z){return b="useFormState",n(),hG(),dG(Z)},useActionState:function(Z){return b="useActionState",n(),dG(Z)},useOptimistic:function(Z,J){return b="useOptimistic",n(),rH(Z,J)},useHostTransitionStatus:K8,useMemoCache:Q8,useCacheRefresh:function(){return b="useCacheRefresh",n(),zZ().memoizedState},useEffectEvent:function(Z){return b="useEffectEvent",n(),iG(Z)}},zO={readContext:function(Z){return qZ(Z)},use:Y7,useCallback:function(Z,J){return b="useCallback",n(),sG(Z,J)},useContext:function(Z){return b="useContext",n(),qZ(Z)},useEffect:function(Z,J){b="useEffect",n(),DQ(2048,UQ,Z,J)},useImperativeHandle:function(Z,J,G){return b="useImperativeHandle",n(),nG(Z,J,G)},useInsertionEffect:function(Z,J){return b="useInsertionEffect",n(),DQ(4,XQ,Z,J)},useLayoutEffect:function(Z,J){return b="useLayoutEffect",n(),DQ(4,vQ,Z,J)},useMemo:function(Z,J){b="useMemo",n();var G=w.H;w.H=uK;try{return oG(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){b="useReducer",n();var X=w.H;w.H=uK;try{return c4(Z,J,G)}finally{w.H=X}},useRef:function(){return b="useRef",n(),zZ().memoizedState},useState:function(){b="useState",n();var Z=w.H;w.H=uK;try{return c4(Y9)}finally{w.H=Z}},useDebugValue:function(){b="useDebugValue",n()},useDeferredValue:function(Z,J){return b="useDeferredValue",n(),qB(Z,J)},useTransition:function(){return b="useTransition",n(),OB()},useSyncExternalStore:function(Z,J,G){return b="useSyncExternalStore",n(),cG(Z,J,G)},useId:function(){return b="useId",n(),zZ().memoizedState},useFormState:function(Z){return b="useFormState",n(),hG(),lG(Z)},useActionState:function(Z){return b="useActionState",n(),lG(Z)},useOptimistic:function(Z,J){return b="useOptimistic",n(),eH(Z,J)},useHostTransitionStatus:K8,useMemoCache:Q8,useCacheRefresh:function(){return b="useCacheRefresh",n(),zZ().memoizedState},useEffectEvent:function(Z){return b="useEffectEvent",n(),iG(Z)}},i9={readContext:function(Z){return L(),qZ(Z)},use:function(Z){return M(),Y7(Z)},useCallback:function(Z,J){return b="useCallback",M(),m0(),WU(Z,J)},useContext:function(Z){return b="useContext",M(),m0(),qZ(Z)},useEffect:function(Z,J){return b="useEffect",M(),m0(),aG(Z,J)},useImperativeHandle:function(Z,J,G){return b="useImperativeHandle",M(),m0(),OU(Z,J,G)},useInsertionEffect:function(Z,J){b="useInsertionEffect",M(),m0(),G8(4,XQ,Z,J)},useLayoutEffect:function(Z,J){return b="useLayoutEffect",M(),m0(),FU(Z,J)},useMemo:function(Z,J){b="useMemo",M(),m0();var G=w.H;w.H=i9;try{return YU(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){b="useReducer",M(),m0();var X=w.H;w.H=i9;try{return GU(Z,J,G)}finally{w.H=X}},useRef:function(Z){return b="useRef",M(),m0(),HU(Z)},useState:function(Z){b="useState",M(),m0();var J=w.H;w.H=i9;try{return UU(Z)}finally{w.H=J}},useDebugValue:function(){b="useDebugValue",M(),m0()},useDeferredValue:function(Z,J){return b="useDeferredValue",M(),m0(),VU(Z,J)},useTransition:function(){return b="useTransition",M(),m0(),AU()},useSyncExternalStore:function(Z,J,G){return b="useSyncExternalStore",M(),m0(),zU(Z,J,G)},useId:function(){return b="useId",M(),m0(),NU()},useFormState:function(Z,J){return b="useFormState",M(),m0(),F5(Z,J)},useActionState:function(Z,J){return b="useActionState",M(),m0(),F5(Z,J)},useOptimistic:function(Z){return b="useOptimistic",M(),m0(),qU(Z)},useMemoCache:function(Z){return M(),Q8(Z)},useHostTransitionStatus:K8,useCacheRefresh:function(){return b="useCacheRefresh",m0(),MU()},useEffectEvent:function(Z){return b="useEffectEvent",M(),m0(),BU(Z)}},L9={readContext:function(Z){return L(),qZ(Z)},use:function(Z){return M(),Y7(Z)},useCallback:function(Z,J){return b="useCallback",M(),n(),sG(Z,J)},useContext:function(Z){return b="useContext",M(),n(),qZ(Z)},useEffect:function(Z,J){b="useEffect",M(),n(),DQ(2048,UQ,Z,J)},useImperativeHandle:function(Z,J,G){return b="useImperativeHandle",M(),n(),nG(Z,J,G)},useInsertionEffect:function(Z,J){return b="useInsertionEffect",M(),n(),DQ(4,XQ,Z,J)},useLayoutEffect:function(Z,J){return b="useLayoutEffect",M(),n(),DQ(4,vQ,Z,J)},useMemo:function(Z,J){b="useMemo",M(),n();var G=w.H;w.H=L9;try{return oG(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){b="useReducer",M(),n();var X=w.H;w.H=L9;try{return B5(Z,J,G)}finally{w.H=X}},useRef:function(){return b="useRef",M(),n(),zZ().memoizedState},useState:function(){b="useState",M(),n();var Z=w.H;w.H=L9;try{return B5(Y9)}finally{w.H=Z}},useDebugValue:function(){b="useDebugValue",M(),n()},useDeferredValue:function(Z,J){return b="useDeferredValue",M(),n(),UB(Z,J)},useTransition:function(){return b="useTransition",M(),n(),FB()},useSyncExternalStore:function(Z,J,G){return b="useSyncExternalStore",M(),n(),cG(Z,J,G)},useId:function(){return b="useId",M(),n(),zZ().memoizedState},useFormState:function(Z){return b="useFormState",M(),n(),dG(Z)},useActionState:function(Z){return b="useActionState",M(),n(),dG(Z)},useOptimistic:function(Z,J){return b="useOptimistic",M(),n(),rH(Z,J)},useMemoCache:function(Z){return M(),Q8(Z)},useHostTransitionStatus:K8,useCacheRefresh:function(){return b="useCacheRefresh",n(),zZ().memoizedState},useEffectEvent:function(Z){return b="useEffectEvent",M(),n(),iG(Z)}},uK={readContext:function(Z){return L(),qZ(Z)},use:function(Z){return M(),Y7(Z)},useCallback:function(Z,J){return b="useCallback",M(),n(),sG(Z,J)},useContext:function(Z){return b="useContext",M(),n(),qZ(Z)},useEffect:function(Z,J){b="useEffect",M(),n(),DQ(2048,UQ,Z,J)},useImperativeHandle:function(Z,J,G){return b="useImperativeHandle",M(),n(),nG(Z,J,G)},useInsertionEffect:function(Z,J){return b="useInsertionEffect",M(),n(),DQ(4,XQ,Z,J)},useLayoutEffect:function(Z,J){return b="useLayoutEffect",M(),n(),DQ(4,vQ,Z,J)},useMemo:function(Z,J){b="useMemo",M(),n();var G=w.H;w.H=L9;try{return oG(Z,J)}finally{w.H=G}},useReducer:function(Z,J,G){b="useReducer",M(),n();var X=w.H;w.H=L9;try{return c4(Z,J,G)}finally{w.H=X}},useRef:function(){return b="useRef",M(),n(),zZ().memoizedState},useState:function(){b="useState",M(),n();var Z=w.H;w.H=L9;try{return c4(Y9)}finally{w.H=Z}},useDebugValue:function(){b="useDebugValue",M(),n()},useDeferredValue:function(Z,J){return b="useDeferredValue",M(),n(),qB(Z,J)},useTransition:function(){return b="useTransition",M(),n(),OB()},useSyncExternalStore:function(Z,J,G){return b="useSyncExternalStore",M(),n(),cG(Z,J,G)},useId:function(){return b="useId",M(),n(),zZ().memoizedState},useFormState:function(Z){return b="useFormState",M(),n(),lG(Z)},useActionState:function(Z){return b="useActionState",M(),n(),lG(Z)},useOptimistic:function(Z,J){return b="useOptimistic",M(),n(),eH(Z,J)},useMemoCache:function(Z){return M(),Q8(Z)},useHostTransitionStatus:K8,useCacheRefresh:function(){return b="useCacheRefresh",n(),zZ().memoizedState},useEffectEvent:function(Z){return b="useEffectEvent",M(),n(),iG(Z)}};var XO={},UO=new Set,qO=new Set,jO=new Set,HO=new Set,BO=new Set,FO=new Set,OO=new Set,WO=new Set,YO=new Set,VO=new Set;Object.freeze(XO);var oq={enqueueSetState:function(Z,J,G){Z=Z._reactInternals;var X=xQ(Z),q=B7(X);q.payload=J,G!==void 0&&G!==null&&(PU(G),q.callback=G),J=F7(Z,q,X),J!==null&&(rJ(X,"this.setState()",Z),gZ(J,Z,X),m4(J,Z,X))},enqueueReplaceState:function(Z,J,G){Z=Z._reactInternals;var X=xQ(Z),q=B7(X);q.tag=t2,q.payload=J,G!==void 0&&G!==null&&(PU(G),q.callback=G),J=F7(Z,q,X),J!==null&&(rJ(X,"this.replaceState()",Z),gZ(J,Z,X),m4(J,Z,X))},enqueueForceUpdate:function(Z,J){Z=Z._reactInternals;var G=xQ(Z),X=B7(G);X.tag=e2,J!==void 0&&J!==null&&(PU(J),X.callback=J),J=F7(Z,X,G),J!==null&&(rJ(G,"this.forceUpdate()",Z),gZ(J,Z,G),m4(J,Z,G))}},u5=null,rq=null,tq=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."),JJ=!1,DO={},AO={},NO={},MO={},h5=!1,LO={},hK={},eq={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},PO=!1,_O=null;_O=new Set;var S6=!1,QJ=!1,Z3=!1,$O=typeof WeakSet==="function"?WeakSet:Set,DJ=null,p5=null,c5=null,GJ=null,AQ=!1,P9=null,BJ=!1,d5=8192,iP={getCacheForType:function(Z){var J=qZ(mZ),G=J.data.get(Z);return G===void 0&&(G=Z(),J.data.set(Z,G)),G},cacheSignal:function(){return qZ(mZ).controller.signal},getOwner:function(){return P6}},pK=0,cK=1,dK=2,lK=3,aK=4;if(typeof Symbol==="function"&&Symbol.for){var $1=Symbol.for;pK=$1("selector.component"),cK=$1("selector.has_pseudo_class"),dK=$1("selector.role"),lK=$1("selector.test_id"),aK=$1("selector.text")}var iK=[],nP=typeof WeakMap==="function"?WeakMap:Map,AJ=0,NJ=2,Z9=4,x6=0,R1=1,I8=2,nK=3,E7=4,sK=6,RO=5,c0=AJ,FZ=null,v0=null,b0=0,NQ=0,oK=1,k8=2,I1=3,IO=4,J3=5,k1=6,rK=7,Q3=8,E8=9,XZ=NQ,yQ=null,T7=!1,l5=!1,G3=!1,n9=0,wZ=x6,C7=0,S7=0,K3=0,MQ=0,T8=0,E1=null,qQ=null,tK=!1,eK=0,kO=0,EO=300,T1=1/0,z3=500,C1=null,aZ=null,x7=null,Zz=0,X3=1,U3=2,TO=3,b7=0,CO=1,SO=2,xO=3,bO=4,Jz=5,KJ=0,f7=null,a5=null,_9=0,q3=0,j3=-0,H3=null,fO=null,wO=null,$9=Zz,vO=null,sP=50,S1=0,B3=null,F3=!1,Qz=!1,oP=50,C8=0,x1=null,i5=!1,Gz=null,yO=!1,gO=new Set,rP={},J9=null,n5=null,mO=!1;try{var uO=Object.preventExtensions({})}catch(Z){mO=!0}var hO=!1,pO={},cO=null,dO=null,lO=null,aO=null,iO=null,nO=null,sO=null,oO=null,rO=null,tO=null;return cO=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=IJ({},Z.memoizedProps),G=uJ(Z,2),G!==null&&gZ(G,Z,2))},dO=function(Z,J,G){J=K(Z,J),J!==null&&(G=B(J.memoizedState,G,0),J.memoizedState=G,J.baseState=G,Z.memoizedProps=IJ({},Z.memoizedProps),G=uJ(Z,2),G!==null&&gZ(G,Z,2))},lO=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=IJ({},Z.memoizedProps),G=uJ(Z,2),G!==null&&gZ(G,Z,2))},aO=function(Z,J,G){Z.pendingProps=z(Z.memoizedProps,J,0,G),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),J=uJ(Z,2),J!==null&&gZ(J,Z,2)},iO=function(Z,J){Z.pendingProps=B(Z.memoizedProps,J,0),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),J=uJ(Z,2),J!==null&&gZ(J,Z,2)},nO=function(Z,J,G){Z.pendingProps=U(Z.memoizedProps,J,G),Z.alternate&&(Z.alternate.pendingProps=Z.pendingProps),J=uJ(Z,2),J!==null&&gZ(J,Z,2)},sO=function(Z){var J=uJ(Z,2);J!==null&&gZ(J,Z,2)},oO=function(Z){var J=w0(),G=uJ(Z,J);G!==null&&gZ(G,Z,J)},rO=function(Z){W=Z},tO=function(Z){F=Z},a0.attemptContinuousHydration=function(Z){if(Z.tag===13||Z.tag===31){var J=uJ(Z,67108864);J!==null&&gZ(J,Z,67108864),Uq(Z,67108864)}},a0.attemptHydrationAtCurrentPriority=function(Z){if(Z.tag===13||Z.tag===31){var J=xQ(Z);J=zJ(J);var G=uJ(Z,J);G!==null&&gZ(G,Z,J),Uq(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}dZ(Z),(c0&(NJ|Z9))===AJ&&(T1=HJ()+z3,v9(0,!1))}}break;case 31:case 13:J=uJ(Z,2),J!==null&&gZ(J,Z,2),jK(),Uq(Z,2)}},a0.batchedUpdates=function(Z,J){return Z(J)},a0.createComponentSelector=function(Z){return{$$typeof:pK,value:Z}},a0.createContainer=function(Z,J,G,X,q,j,O,V,P,k){return vF(Z,J,!1,null,G,X,j,null,O,V,P,k)},a0.createHasPseudoClassSelector=function(Z){return{$$typeof:cK,value:Z}},a0.createHydrationContainer=function(Z,J,G,X,q,j,O,V,P,k,f,v,c,q0){return Z=vF(G,X,!0,Z,q,j,V,q0,P,k,f,v),Z.context=gF(null),G=Z.current,X=xQ(G),X=zJ(X),q=B7(X),q.callback=J!==void 0&&J!==null?J:null,F7(G,q,X),rJ(X,"hydrateRoot()",null),J=X,Z.current.lanes=J,PZ(Z,J),dZ(Z),Z},a0.createPortal=function(Z,J,G){var X=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{yF(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"),yF(X)),{$$typeof:B8,key:X==null?null:""+X,children:Z,containerInfo:J,implementation:G}},a0.createRoleSelector=function(Z){return{$$typeof:dK,value:Z}},a0.createTestNameSelector=function(Z){return{$$typeof:lK,value:Z}},a0.createTextSelector=function(Z){return{$$typeof:aK,value:Z}},a0.defaultOnCaughtError=function(Z){var J=u5?"The above error occurred in the <"+u5+"> 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, "+((rq||"Anonymous")+".");typeof Z==="object"&&Z!==null&&typeof Z.environmentName==="string"?NL("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){N2(Z)},a0.defaultOnUncaughtError=function(Z){N2(Z),console.warn(`%s
191
+
192
+ %s
193
+ `,u5?"An error occurred in the <"+u5+"> 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=D6();try{return VJ(32),w.T=null,Z()}finally{VJ(G),w.T=J}},a0.discreteUpdates=function(Z,J,G,X,q){var j=w.T,O=D6();try{return VJ(2),w.T=null,Z(J,G,X,q)}finally{VJ(O),w.T=j,c0===AJ&&(T1=HJ()+z3)}},a0.findAllNodes=qK,a0.findBoundingRects=function(Z,J){if(!P5)throw Error("Test selector API is not supported by this renderer.");J=qK(Z,J),Z=[];for(var G=0;G<J.length;G++)Z.push(_L(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,f=k+P.width,v=P.y,c=v+P.height;if(X>=k&&j>=v&&q<=f&&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||f<X||k>q)){k>X&&(P.width+=k-X,P.x=X),f<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:M5(Z.stateNode)},a0.findHostInstanceWithNoPortals=function(Z){return Z=g(Z),Z=Z!==null?m(Z):null,Z===null?null:M5(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=x(G)||"Component";pO[X]||(pO[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 M5(Z.stateNode)},a0.flushPassiveEffects=A5,a0.flushSyncFromReconciler=function(Z){var J=c0;c0|=1;var G=w.T,X=D6();try{if(VJ(2),w.T=null,Z)return Z()}finally{VJ(X),w.T=G,c0=J,(c0&(NJ|Z9))===AJ&&v9(0,!1)}},a0.flushSyncWork=jK,a0.focusWithin=function(Z,J){if(!P5)throw Error("Test selector API is not supported by this renderer.");Z=iU(Z),J=qF(Z,J),J=Array.from(J);for(Z=0;Z<J.length;){var G=J[Z++],X=G.tag;if(!J1(G)){if((X===5||X===26||X===27)&&IL(G.stateNode))return!0;for(G=G.child;G!==null;)J.push(G),G=G.sibling}}return!1},a0.getFindAllNodesFailureDescription=function(Z,J){if(!P5)throw Error("Test selector API is not supported by this renderer.");var G=0,X=[];Z=[iU(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||!J1(j)){if(nU(j,P)&&(X.push(sU(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(sU(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 M5(Z.child.stateNode);default:return Z.child.stateNode}},a0.injectIntoDevTools=function(){var Z={bundleType:1,version:eM,rendererPackageName:ZL,currentDispatcherRef:w,reconcilerVersion:"19.2.0"};return cF!==null&&(Z.rendererConfig=cF),Z.overrideHookState=cO,Z.overrideHookStateDeletePath=dO,Z.overrideHookStateRenamePath=lO,Z.overrideProps=aO,Z.overridePropsDeletePath=iO,Z.overridePropsRenamePath=nO,Z.scheduleUpdate=sO,Z.scheduleRetry=oO,Z.setErrorHandler=rO,Z.setSuspenseHandler=tO,Z.scheduleRefresh=A,Z.scheduleRoot=D,Z.setRefreshHandler=N,Z.getCurrentFiber=sM,bJ(Z)},a0.isAlreadyRendering=oU,a0.observeVisibleRects=function(Z,J,G,X){function q(){var k=qK(Z,J);j.forEach(function(f){0>k.indexOf(f)&&P(f)}),k.forEach(function(f){0>j.indexOf(f)&&V(f)})}if(!P5)throw Error("Test selector API is not supported by this renderer.");var j=qK(Z,J);G=kL(j,G,X);var{disconnect:O,observe:V,unobserve:P}=G;return iK.push(q),{disconnect:function(){var k=iK.indexOf(q);0<=k&&iK.splice(k,1),O()}}},a0.shouldError=function(Z){return W(Z)},a0.shouldSuspend=function(Z){return F(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=BB(Z).queue;K5(Z),HB(Z,q,J,L5,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=BB(Z);return j.next===null&&(j=Z.alternate.memoizedState),d4(Z,j.next.queue,{},xQ(Z)),G(X)})},a0.updateContainer=function(Z,J,G,X){var q=J.current,j=xQ(q);return uF(q,j,Z,J,G,X),j},a0.updateContainerSync=mF,a0},a1.exports.default=a1.exports,Object.defineProperty(a1.exports,"__esModule",{value:!0})});var h0,kz,mQ,i1,p6,y8,Ez,u3,Tz,G4;var g8=p(()=>{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"},mQ={Flex:"flex",None:"none"},i1={Row:"row",RowReverse:"row-reverse",Column:"column",ColumnReverse:"column-reverse"},p6={Auto:"auto",Stretch:"stretch",FlexStart:"flex-start",Center:"center",FlexEnd:"flex-end"},y8={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"},G4={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===f0.Exactly?G4.Exactly:z===f0.AtMost?G4.AtMost:G4.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(m8[Q])}getComputedPadding(Q){return this.yoga.getComputedPadding(m8[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:sZ.Row,"row-reverse":sZ.RowReverse,column:sZ.Column,"column-reverse":sZ.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:v6.NoWrap,wrap:v6.Wrap,"wrap-reverse":v6.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":TJ.FlexStart,center:TJ.Center,"flex-end":TJ.FlexEnd,"space-between":TJ.SpaceBetween,"space-around":TJ.SpaceAround,"space-evenly":TJ.SpaceEvenly};this.yoga.setJustifyContent(K[Q])}setDisplay(Q){this.yoga.setDisplay(Q==="flex"?w6.Flex:w6.None)}getDisplay(){return this.yoga.getDisplay()===w6.None?mQ.None:mQ.Flex}setPositionType(Q){this.yoga.setPositionType(Q==="absolute"?w8.Absolute:w8.Relative)}setPosition(Q,K){this.yoga.setPosition(m8[Q],K)}setPositionPercent(Q,K){this.yoga.setPositionPercent(m8[Q],K)}setOverflow(Q){let K={visible:f8.Visible,hidden:f8.Hidden,scroll:f8.Scroll};this.yoga.setOverflow(K[Q])}setMargin(Q,K){this.yoga.setMargin(m8[Q],K)}setPadding(Q,K){this.yoga.setPadding(m8[Q],K)}setBorder(Q,K){this.yoga.setBorder(m8[Q],K)}setGap(Q,K){this.yoga.setGap(T$[Q],K)}free(){this.yoga.free()}freeRecursive(){this.yoga.freeRecursive()}}function YY(){return new h3(cW.Node.create())}var m8,T$;var VY=p(()=>{Pz();g8();m8={all:YZ.All,horizontal:YZ.Horizontal,vertical:YZ.Vertical,left:YZ.Left,right:YZ.Right,top:YZ.Top,bottom:YZ.Bottom,start:YZ.Start,end:YZ.End},T$={all:s9.All,column:s9.Column,row:s9.Row}});function DY(){return YY()}var AY=p(()=>{VY()});function Sz(Q){let K=Cz.get(Q);if(K!==void 0)return K;let z=CJ(Q);if(Cz.size>=C$)Cz.clear();return Cz.set(Q,z),z}var Cz,C$=4096;var p3=p(()=>{K4();Cz=new Map});function S$(Q,K){if(Q.length===0)return{width:0,height:0};let z=K<=0||!Number.isFinite(K),U=0,H=0,B=0;while(B<=Q.length){let F=Q.indexOf(`
199
+ `,B),W=F===-1?Q.substring(B):Q.substring(B,F),Y=Sz(W);if(H=Math.max(H,Y),z)U++;else U+=Y===0?1:Math.ceil(Y/K);if(F===-1)break;B=F+1}return{width:H,height:U}}var xz;var NY=p(()=>{p3();xz=S$});function MY(Q,K,z){let U=n1.get(Q);if(U)U.push(K);else n1.set(Q,[K]);if(z)c3=!0}function LY(){let Q=c3;return c3=!1,Q}var oZ,n1,c3=!1;var z4=p(()=>{oZ=new WeakMap,n1=new WeakMap});function bz(Q,K={},z,U=[]){let H=Q.textStyles?{...K,...Q.textStyles}:K;for(let B of Q.childNodes){if(B===void 0)continue;if(B.nodeName==="#text"){if(B.nodeValue.length>0)U.push({text:B.nodeValue,styles:H,hyperlink:z})}else if(B.nodeName==="ink-text"||B.nodeName==="ink-virtual-text")bz(B,H,z,U);else if(B.nodeName==="ink-link"){let F=B.attributes.href;bz(B,H,F||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 PY;var l3=p(()=>{PY=d3});function _Y(Q,K=x$){if(!Q.includes("\t"))return Q;let z=Q4(),U=z.feed(Q);U.push(...z.flush());let H="",B=0;for(let F of U)if(F.type==="sequence")H+=F.value;else{let W=F.value.split(/(\t|\n)/);for(let Y of W)if(Y==="\t"){let D=K-B%K;H+=" ".repeat(D),B+=D}else if(Y===`
200
+ `)H+=Y,B=0;else H+=Y,B+=CJ(Y)}return H}var x$=8;var $Y=p(()=>{K4();Rz()});function w$(){let Q=new Map;for(let[K,z]of Object.entries(vZ)){for(let[U,H]of Object.entries(z))vZ[U]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[U]=vZ[U],Q.set(H[0],H[1]);Object.defineProperty(vZ,K,{value:z,enumerable:!1})}return Object.defineProperty(vZ,"codes",{value:Q,enumerable:!1}),vZ.color.close="\x1B[39m",vZ.bgColor.close="\x1B[49m",vZ.color.ansi=RY(),vZ.color.ansi256=IY(),vZ.color.ansi16m=kY(),vZ.bgColor.ansi=RY(10),vZ.bgColor.ansi256=IY(10),vZ.bgColor.ansi16m=kY(10),Object.defineProperties(vZ,{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((B)=>B+B).join("");let H=Number.parseInt(U,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(K)=>vZ.rgbToAnsi256(...vZ.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 B=Math.max(z,U,H)*2;if(B===0)return 30;let F=30+(Math.round(H)<<2|Math.round(U)<<1|Math.round(z));if(B===2)F+=60;return F},enumerable:!1},rgbToAnsi:{value:(K,z,U)=>vZ.ansi256ToAnsi(vZ.rgbToAnsi256(K,z,U)),enumerable:!1},hexToAnsi:{value:(K)=>vZ.ansi256ToAnsi(vZ.hexToAnsi256(K)),enumerable:!1}}),vZ}var RY=(Q=0)=>(K)=>`\x1B[${K+Q}m`,IY=(Q=0)=>(K)=>`\x1B[${38+Q};5;${K}m`,kY=(Q=0)=>(K,z,U)=>`\x1B[${38+Q};2;${K};${z};${U}m`,vZ,TC,b$,f$,CC,v$,iJ;var fz=p(()=>{vZ={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]}},TC=Object.keys(vZ.modifier),b$=Object.keys(vZ.color),f$=Object.keys(vZ.bgColor),CC=[...b$,...f$];v$=w$(),iJ=v$});var EY=7,TY=27,CY=92,SY=91,xY=93,bY,fY=48,wY=57,vY=59,yY=109,gY,wz="\x1B]8;",a3,mY="\x1B]8;;\x07",uY="\x1B]8;;\x1B\\",hY;var i3=p(()=>{bY="œ".charCodeAt(0),gY=new Set([27,155]),a3="\x1B]8;".split("").map((Q)=>Q.charCodeAt(0)),hY=`\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 uY;if(Q.endsWith("œ"))return hY;return mY}if(Q=Q.slice(2),Q.startsWith("38"))return iJ.color.close;else if(Q.startsWith("48"))return iJ.bgColor.close;let K=iJ.codes.get(parseInt(Q,10));if(K)return iJ.color.ansi(K);else return iJ.reset.open}function t9(Q){return[...new Set(Q.map((z)=>z.code))].join("")}function yz(Q){return Q.code===iJ.bold.open||Q.code===iJ.dim.open}var vz,n3;var X4=p(()=>{fz();i3();vz=new Set,n3=new Map;for(let[Q,K]of iJ.codes)vz.add(iJ.color.ansi(K)),n3.set(iJ.color.ansi(Q),iJ.color.ansi(K))});function U4(Q){return gz([],Q)}function gz(Q,K){let z=[...Q];for(let U of K)if(U.code===iJ.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=p(()=>{fz();X4()});function s1(Q){return U4(Q).reverse().map((K)=>({...K,code:K.endCode}))}var o3=p(()=>{mz()});function u8(Q,K){let z=new Set(K.map((B)=>B.endCode)),U=new Set(K.map((B)=>B.code)),H=new Set(Q.map((B)=>B.code));return[...s1(Q.filter((B)=>{if(yz(B))return!U.has(B.code);return!z.has(B.endCode)})),...K.filter((B)=>!H.has(B.code))]}var r3=p(()=>{X4();o3()});function pY(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 cY=p(()=>{X4();r3();mz()});function t3(Q){if(!Number.isInteger(Q))return!1;return dY(Q)||lY(Q)}var iY=p(()=>{aY()});function g$(Q,K){if(t3(K))return!0;if(Q.includes("️"))return!0;if(K>=127462&&K<=127487)return!0;return!1}function m$(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=nY(Q,z+1);if(U===-1)return;return Q.slice(0,U+1)}function u$(Q,K){Q=Q.slice(K);let z=nY(Q,2);if(z===-1)return;return Q.slice(0,z+1)}function nY(Q,K){for(let z=K;z<Q.length;z++){let U=Q.charCodeAt(z);if(U===EY)return z;if(U===bY)return z;if(U===TY&&z+1<Q.length&&Q.charCodeAt(z+1)===CY)return z+1}return-1}function h$(Q){for(let K=2;K<Q.length;K++){let z=Q.charCodeAt(K);if(z===yY)return K;if(z===vY)continue;if(z>=fY&&z<=wY)continue;break}return-1}function p$(Q,K){Q=Q.slice(K);let z=h$(Q);if(z===-1)return;return Q.slice(0,z+1)}function c$(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:B,index:F}of y$.segment(Q)){if(F<H)continue;let W=B.codePointAt(0);if(gY.has(W)){let D,A=Q.codePointAt(F+1);if(A===xY){if(D=m$(Q,F),D)z.push({type:"ansi",code:D,endCode:s3(D)});else if(D=u$(Q,F),D)z.push({type:"control",code:D})}else if(A===SY){if(D=p$(Q,F),D){let N=c$(D);for(let M of N)z.push({type:"ansi",code:M,endCode:s3(M)})}}if(D){H=F+D.length;continue}}let Y=g$(B,W);if(z.push({type:"char",value:B,fullWidth:Y}),U+=Y?2:1,U>=K)break}return z}var y$;var sY=p(()=>{iY();X4();i3();y$=new Intl.Segmenter(void 0,{granularity:"grapheme"})});var o1=p(()=>{X4();r3();mz();o3();cY();sY()});function d$(Q){return Q.code===Q.endCode}function oY(Q){return Q.filter((K)=>!d$(K))}function h8(Q,K,z){let U=uz(Q),H=[],B=0,F="",W=!1;for(let D of U){let A=D.type==="ansi"?0:D.fullWidth?2:CJ(D.value);if(z!==void 0&&B>=z){if(D.type==="ansi"||A>0||!W)break}if(D.type==="ansi"){if(H.push(D),W)F+=D.code}else{if(!W&&B>=K){if(K>0&&A===0)continue;W=!0,H=oY(U4(H)),F=t9(H)}if(W)F+=D.value;B+=A}}let Y=oY(U4(H));return F+=t9(s1(Y)),F}var e3=p(()=>{o1();K4()});function p8(Q,K={}){if(typeof Q!=="string"||Q.length===0)return 0;let{ambiguousIsNarrow:z=!0,countAnsiEscapeCodes:U=!1}=K;if(!U)Q=q4(Q);if(Q.length===0)return 0;let H=0,B={ambiguousAsWide:!z};for(let{segment:F}of a$.segment(Q)){let W=F.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(i$.test(F))continue;if(tY.default().test(F)){H+=2;continue}H+=rY(W,B)}return H}var tY,a$,i$;var eY=p(()=>{Zj();aY();tY=r(l$(),1),a$=new Intl.Segmenter,i$=/^\p{Default_Ignorable_Code_Point}$/u});function Gj(Q,K,z){return String(Q).normalize().replaceAll(`\r
201
+ `,`
202
+ `).split(`
203
+ `).map((U)=>t$(U,K,z)).join(`
204
+ `)}var pz,n$=39,Qj="\x07",QV="[",s$="]",GV="m",hz,ZV=(Q)=>`${pz.values().next().value}${QV}${Q}${GV}`,JV=(Q)=>`${pz.values().next().value}${hz}${Q}${Qj}`,o$=(Q)=>Q.split(" ").map((K)=>p8(K)),Jj=(Q,K,z)=>{let U=[...K],H=!1,B=!1,F=p8(q4(Q.at(-1)));for(let[W,Y]of U.entries()){let D=p8(Y);if(F+D<=z)Q[Q.length-1]+=Y;else Q.push(Y),F=0;if(pz.has(Y))H=!0,B=U.slice(W+1,W+1+hz.length).join("")===hz;if(H){if(B){if(Y===Qj)H=!1,B=!1}else if(Y===GV)H=!1;continue}if(F+=D,F===z&&W<U.length-1)Q.push(""),F=0}if(!F&&Q.at(-1).length>0&&Q.length>1)Q[Q.length-2]+=Q.pop()},r$=(Q)=>{let K=Q.split(" "),z=K.length;while(z>0){if(p8(K[z-1])>0)break;z--}if(z===K.length)return Q;return K.slice(0,z).join(" ")+K.slice(z).join("")},t$=(Q,K,z={})=>{if(z.trim!==!1&&Q.trim()==="")return"";let U="",H,B,F=o$(Q),W=[""];for(let[N,M]of Q.split(" ").entries()){if(z.trim!==!1)W[W.length-1]=W.at(-1).trimStart();let L=p8(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&&F[N]>K){let T=K-L,_=1+Math.floor((F[N]-T-1)/K);if(Math.floor((F[N]-1)/K)<_)W.push("");Jj(W,M,K);continue}if(L+F[N]>K&&L>0&&F[N]>0){if(z.wordWrap===!1&&L<K){Jj(W,M,K);continue}W.push("")}if(L+F[N]>K&&z.wordWrap===!1){Jj(W,M,K);continue}W[W.length-1]+=M}if(z.trim!==!1)W=W.map((N)=>r$(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(`(?:\\${QV}(?<code>\\d+)m|\\${hz}(?<uri>.*)${Qj})`).exec(Y.slice(A))||{groups:{}};if(T.code!==void 0){let _=Number.parseFloat(T.code);H=_===n$?void 0:_}else if(T.uri!==void 0)B=T.uri.length===0?void 0:T.uri}let L=iJ.codes.get(Number(H));if(D[N+1]===`
206
+ `){if(B)U+=JV("");if(H&&L)U+=ZV(L)}else if(M===`
207
+ `){if(H&&L)U+=ZV(H);if(B)U+=JV(B)}A+=M.length}return U};var KV=p(()=>{eY();Zj();fz();pz=new Set(["\x1B","›"]),hz=`${s$}8;;`});var e$,Kj;var zV=p(()=>{KV();e$=typeof Bun<"u"&&typeof Bun.wrapAnsi==="function"?Bun.wrapAnsi:null,Kj=e$??Gj});function dz(Q,K,z){let U=h8(Q,K,z);return CJ(U)>z-K?h8(Q,K,z-1):U}function ZR(Q,K,z){if(K<1)return"";if(K===1)return cz;let U=CJ(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 c8(Q,K,z){if(z==="wrap")return Kj(Q,K,{trim:!1,hard:!0});if(z==="wrap-trim")return Kj(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 ZR(Q,K,U)}return Q}var cz="…";var lz=p(()=>{e3();K4();zV()});function XV(Q,K,z=!1){if(!K||K.nodeName==="#text")return;let U=K,H=z||U.style?.position==="absolute",B=oZ.get(U);if(B)MY(Q,B,H),oZ.delete(U);let F=Array.isArray(U.childNodes)?[...U.childNodes]:[];for(let W of F){if(!W)continue;XV(Q,W,H)}}function JR(Q,K){return qV(Q,K)}function qV(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 KR(Q){return Q.nodeName!=="#text"}function HV(Q,K){let z=[];return U(Q,0),z;function U(H,B){let F=H.yogaNode;if(!F||F.getDisplay()===mQ.None)return;let W=B+F.getComputedTop(),Y=F.getComputedHeight();if(K<W||K>=W+Y)return;if(H.debugOwnerChain)z=H.debugOwnerChain;for(let D of H.childNodes)if(KR(D))U(D,W)}}var r1=(Q)=>{let z={nodeName:Q,style:{},attributes:{},childNodes:[],parentNode:void 0,yogaNode:Q!=="ink-virtual-text"&&Q!=="ink-link"&&Q!=="ink-progress"?DY():void 0,dirty:!1};if(Q==="ink-text")z.yogaNode?.setMeasureFunc(QR.bind(null,z));else if(Q==="ink-raw-ansi")z.yogaNode?.setMeasureFunc(GR.bind(null,z));return z},az=(Q,K)=>{if(K.parentNode)t1(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)t1(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 B=0;B<U;B++)if(Q.childNodes[B]?.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)},t1=(Q,K)=>{if(K.yogaNode)K.parentNode?.yogaNode?.removeChild(K.yogaNode);XV(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(JR(Q.style,z))return;Q.style=z,BQ(Q)},UV=(Q,K)=>{if(qV(Q.textStyles,K))return;Q.textStyles=K,BQ(Q)},jV=(Q)=>{let K={nodeName:"#text",nodeValue:Q,yogaNode:void 0,parentNode:void 0,style:{}};return e1(K,Q),K},QR=function(Q,K,z){let U=Q.nodeName==="#text"?Q.nodeValue:PY(Q),H=_Y(U),B=xz(H,K);if(B.width<=K)return B;if(B.width>=1&&K>0&&K<1)return B;if(H.includes(`
208
+ `)&&z===G4.Undefined){let Y=Math.max(K,B.width);return xz(H,Y)}let F=Q.style?.textWrap??"wrap",W=c8(H,K,F);return xz(W,K)},GR=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}},SS=(Q)=>{let K=Q;while(K?.parentNode)K=K.parentNode;if(K&&K.nodeName!=="#text")K.onRender?.()},e1=(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 ZG=p(()=>{AY();g8();NY();z4();l3();$Y();lz()});var BV,jj;var Hj=p(()=>{BV={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 OV(Q,K,z){let U=Q._eventHandlers;if(!U)return;let H=BV[K];if(!H)return;let B=z?H.capture:H.bubble;if(!B)return;return U[B]}function XR(Q,K){let z=[],U=Q;while(U){let H=U===Q,B=OV(U,K.type,!0),F=OV(U,K.type,!1);if(B)z.unshift({node:U,handler:B,phase:H?"at_target":"capturing"});if(F&&(K.bubbles||H))z.push({node:U,handler:F,phase:H?"at_target":"bubbling"});U=U.parentNode}return z}function UR(Q,K){let z;for(let{node:U,handler:H,phase:B}of Q){if(K._isImmediatePropagationStopped())break;if(K._isPropagationStopped()&&U!==z)break;K._setEventPhase(B),K._setCurrentTarget(U),K._prepareForTarget(U);try{H(K)}catch(F){c6(F)}z=U}}function qR(Q){switch(Q){case"keydown":case"keyup":case"click":case"focus":case"blur":case"paste":return m7.DiscreteEventPriority;case"resize":case"scroll":case"mousemove":return m7.ContinuousEventPriority;default:return m7.DefaultEventPriority}}class Fj{currentEvent=null;currentUpdatePriority=FV;discreteUpdates=null;resolveEventPriority(){if(this.currentUpdatePriority!==FV)return this.currentUpdatePriority;if(this.currentEvent)return qR(this.currentEvent.type);return m7.DefaultEventPriority}dispatch(Q,K){let z=this.currentEvent;this.currentEvent=K;try{K._setTarget(Q);let U=XR(Q,K);return UR(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=m7.ContinuousEventPriority,this.dispatch(Q,K)}finally{this.currentUpdatePriority=z}}}var m7,FV=0;var WV=p(()=>{Bj();Hj();m7=r(Wz(),1)});var JG;var Oj=p(()=>{S8();JG=class JG extends Q9{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 d8;var YV=p(()=>{Oj();d8=class d8 extends JG{relatedTarget;constructor(Q,K=null){super(Q,{bubbles:!0,cancelable:!1});this.relatedTarget=K}}});class QG{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>jR)this.focusStack.shift();this.dispatchFocusEvent(K,new d8("blur",Q))}this.activeElement=Q,this.dispatchFocusEvent(Q,new d8("focus",K))}blur(){if(!this.activeElement)return;let Q=this.activeElement;this.activeElement=null,this.dispatchFocusEvent(Q,new d8("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 d8("blur",null));while(this.focusStack.length>0){let U=this.focusStack.pop();if(Wj(U,K)){this.activeElement=U,this.dispatchFocusEvent(U,new d8("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=HR(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,B=z[H];if(B)this.focus(B)}}function HR(Q){let K=[];return VV(Q,K),K}function VV(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")VV(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 jR=32;var GG=p(()=>{YV()});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 BR=(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)},FR=(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)},OR=(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)},WR=(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)},YR=(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(i1.Row);if(K.flexDirection==="row-reverse")Q.setFlexDirection(i1.RowReverse);if(K.flexDirection==="column")Q.setFlexDirection(i1.Column);if(K.flexDirection==="column-reverse")Q.setFlexDirection(i1.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(p6.Stretch);if(K.alignItems==="flex-start")Q.setAlignItems(p6.FlexStart);if(K.alignItems==="center")Q.setAlignItems(p6.Center);if(K.alignItems==="flex-end")Q.setAlignItems(p6.FlexEnd)}if("alignSelf"in K){if(K.alignSelf==="auto"||!K.alignSelf)Q.setAlignSelf(p6.Auto);if(K.alignSelf==="flex-start")Q.setAlignSelf(p6.FlexStart);if(K.alignSelf==="center")Q.setAlignSelf(p6.Center);if(K.alignSelf==="flex-end")Q.setAlignSelf(p6.FlexEnd)}if("justifyContent"in K){if(K.justifyContent==="flex-start"||!K.justifyContent)Q.setJustifyContent(y8.FlexStart);if(K.justifyContent==="center")Q.setJustifyContent(y8.Center);if(K.justifyContent==="flex-end")Q.setJustifyContent(y8.FlexEnd);if(K.justifyContent==="space-between")Q.setJustifyContent(y8.SpaceBetween);if(K.justifyContent==="space-around")Q.setJustifyContent(y8.SpaceAround);if(K.justifyContent==="space-evenly")Q.setJustifyContent(y8.SpaceEvenly)}},VR=(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)},DR=(Q,K)=>{if("display"in K)Q.setDisplay(K.display==="flex"?mQ.Flex:mQ.None)},AR=(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)}},NR=(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)},MR=(Q,K={},z)=>{BR(Q,K),FR(Q,K),OR(Q,K),WR(Q,K),YR(Q,K),VR(Q,K),DR(Q,K),AR(Q,K,z),NR(Q,K)},Dj;var DV=p(()=>{g8();Dj=MR});import{appendFileSync as nz}from"fs";function LV(Q,K,z){if(!Q._eventHandlers)Q._eventHandlers={};Q._eventHandlers[K]=z}function PR(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)){LV(Q,K,z);return}Xj(Q,K,z)}function _R(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 B=U.elementType,F=typeof B==="function"?B.displayName||B.name:typeof B==="string"?void 0:B?.displayName||B?.name;if(F&&F!==K[K.length-1])K.push(F);U=U._debugOwner??U.return}return K}function _j(){if(Aj===void 0)Aj=m6(process.env.CLAUDE_CODE_DEBUG_REPAINTS);return Aj}function PV(Q){$j=Q}function _V(){return $j}function eS(){KG=performance.now()}function $V(){return Rj}function RV(){$j=0,Rj=0,KG=0}var MV,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},AV=(Q)=>{let K=Q.yogaNode;if(K)K.unsetMeasureFunc(),qj(Q),K.freeRecursive()},Aj,d6,C9,Nj=0,NV=0,Mj=0,oz=0,rz=0,Lj=0,$j=0,Rj=0,KG=0,Pj,e9;var tz=p(()=>{Pz();b3();ZG();WV();Hj();GG();g8();DV();MV=r(WY(),1);try{import("./devtools-0.1.10-93f39njd.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}d6=new Fj,C9=process.env.CLAUDE_CODE_COMMIT_LOG;Pj=MV.default({getRootHostContext:()=>({isInsideText:!1}),prepareForCommit:()=>{if(C9)Lj=performance.now();return null},preparePortalMount:()=>null,clearContainer:()=>!1,resetAfterCommit(Q){if(Rj=KG>0?performance.now()-KG:0,KG=0,C9){let U=performance.now();Nj++;let H=Mj>0?U-Mj:0;if(H>oz)oz=H;Mj=U;let B=Lj>0?U-Lj:0;if(H>30||B>20||rz>50)nz(C9,`${U.toFixed(1)} gap=${H.toFixed(1)}ms reconcile=${B.toFixed(1)}ms creates=${rz}
217
+ `);if(rz=0,U-NV>1000)nz(C9,`${U.toFixed(1)} commits=${Nj}/s maxGap=${oz.toFixed(1)}ms
218
+ `),Nj=0,oz=0,NV=U}let K=C9?performance.now():0;if(typeof Q.onComputeLayout==="function")Q.onComputeLayout();if(C9){let U=performance.now()-K;if(U>20){let H=Lz();nz(C9,`${K.toFixed(1)} SLOW_YOGA ${U.toFixed(1)}ms visited=${H.visited} measured=${H.measured} hits=${H.cacheHits} live=${H.live}
219
+ `)}}let z=C9?performance.now():0;if(Q.onRender?.(),C9){let U=performance.now()-z;if(U>10)nz(C9,`${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 B=Q==="ink-text"&&U.isInsideText?"ink-virtual-text":Q,F=r1(B);if(C9)rz++;for(let[W,Y]of Object.entries(K))PR(F,W,Y);if(_j())F.debugOwnerChain=_R(H);return F},createTextInstance(Q,K,z){return jV(Q)},resetTextContent(){},hideTextInstance(Q){e1(Q,"")},unhideTextInstance(Q,K){e1(Q,K)},getPublicInstance:(Q)=>Q,hideInstance(Q){Q.isHidden=!0,Q.yogaNode?.setDisplay(mQ.None),BQ(Q)},unhideInstance(Q){Q.isHidden=!1,Q.yogaNode?.setDisplay(mQ.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),B=sz(z.style,U.style);if(!H&&!B)return null;return{props:H,style:B,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:()=>d6.currentUpdatePriority,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},getInstanceFromNode:()=>null,prepareScopeUpdate(){},getInstanceFromScope:()=>null,appendChildToContainer:az,insertInContainerBefore:zj,removeChildFromContainer(Q,K){t1(Q,K),AV(K),Vj(Q).handleNodeRemoved(K,Q)},commitUpdate(Q,K,z,U){let H=sz(z,U),B=sz(z.style,U.style),F=U.style;if(!H&&!B)return;if(H)for(let[W,Y]of Object.entries(H)){if(W==="style"){Uj(Q,Y);continue}if(W==="textStyles"){UV(Q,Y);continue}if(jj.has(W)){LV(Q,W,Y);continue}Xj(Q,W,Y)}if(B&&Q.yogaNode)Dj(Q.yogaNode,B,F)},commitTextUpdate(Q,K,z){e1(Q,z)},removeChild(Q,K){if(t1(Q,K),AV(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){d6.currentUpdatePriority=Q},resolveUpdatePriority(){return d6.resolveEventPriority()},resetFormInstance(){},requestPostPaintCallback(){},shouldAttemptEagerTransition(){return!1},trackSchedulerEvent(){},resolveEventType(){return d6.currentEvent?.type??null},resolveEventTimeStamp(){return d6.currentEvent?.timeStamp??-1.1}});d6.discreteUpdates=Pj.discreteUpdates.bind(Pj);e9=Pj});function u7(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),B=Math.max(Q.y+Q.height,K.y+K.height);return{x:z,y:U,width:H-z,height:B-U}}function l8(Q,K,z){if(K!==void 0&&Q<K)return K;if(z!==void 0&&Q>z)return z;return Q}var ez=()=>{};function pZ(Q,K){if(Q===void 0)return;if(Number.isInteger(Q))return;MZ(`${K} should be an integer, got ${Q}`,{level:"warn"})}var Ij=p(()=>{g7()});class zG{strings=[" ",""];stringMap=new Map([[" ",0],["",1]]);ascii=TR();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 B=this.strings.length;return this.strings.push(Q),this.ascii[U]=B,B}}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 XG{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&&ER(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=t9(u8(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,kV]),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(IR),!z.some((H)=>H.endCode==="\x1B[27m"))U.push(kV);if(!z.some((H)=>H.endCode==="\x1B[22m"))U.push($R);if(!z.some((H)=>H.endCode==="\x1B[24m"))U.push(RR);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 ER(Q){for(let K of Q)if(kR.has(K.endCode))return!0;return!1}function TR(){let Q=new Int32Array(128);return Q.fill(-1),Q[32]=ZX,Q}function h7(Q,K,z){return Q<<H4|K<<B4|z}function CR(Q,K){let z=K<<1;return Q.cells[z]===0&&Q.cells[z|1]===0}function GX(Q,K,z){if(K<0||z<0||K>=Q.width||z>=Q.height)return!0;return CR(Q,z*Q.width+K)}function SR(Q,K){return Q.hyperlinkPool.intern(K)}function l6(Q,K,z,U,H){if(pZ(Q,"createScreen width"),pZ(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 B=Q*K,F=new ArrayBuffer(B<<3),W=new Int32Array(F),Y=new BigInt64Array(F);return{width:Q,height:K,cells:W,cells64:Y,charPool:U,hyperlinkPool:H,emptyStyleId:z.none,damage:void 0,noSelect:new Uint8Array(B),softWrap:new Int32Array(K)}}function kj(Q,K,z){if(pZ(K,"resetScreen width"),pZ(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 TV(Q,K,z){let{charPool:U,hyperlinkPool:H}=Q;if(U===K&&H===z)return;let B=Q.width*Q.height,F=Q.cells;for(let W=0;W<B<<1;W+=2){let Y=F[W];F[W]=K.intern(U.get(Y));let D=F[W+1],A=D>>>B4&UG;if(A!==0){let N=H.get(A),M=z.intern(N),L=D>>>H4,T=D&S9;F[W+1]=h7(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 a6(Q,z*Q.width+K)}function a6(Q,K){let z=K<<1,U=Q.cells[z+1],H=U>>>B4&UG;return{char:Q.charPool.get(Q.cells[z]),styleId:U>>>H4,width:U&S9,hyperlink:H===0?void 0:Q.hyperlinkPool.get(H)}}function CV(Q,K,z,U,H){let B=U<<1,F=Q[B];if(F===1)return;let W=Q[B+1];if(F===0&&(W&262140)===0){let D=W>>>H4;if(D===0||D===H)return}let Y=W>>>B4&UG;return{char:K.get(F),styleId:W>>>H4,width:W&S9,hyperlink:Y===0?void 0:z.get(Y)}}function p7(Q,K,z){let U=K|1,H=Q.cells[U];z.char=Q.charPool.get(Q.cells[K]),z.styleId=H>>>H4,z.width=H&S9;let B=H>>>B4&UG;z.hyperlink=B===0?void 0:Q.hyperlinkPool.get(B)}function SV(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 KX(Q,K,z,U){if(K<0||z<0||K>=Q.width||z>=Q.height)return;let H=z*Q.width+K<<1,B=Q.cells,F=B[H+1]&S9;if(F===1&&U.width!==1){if(K+1<Q.width){let N=H+2;if((B[N+1]&S9)===2)B[N]=ZX,B[N+1]=h7(Q.emptyStyleId,0,0)}}let W=-1;if(F===2&&U.width!==2){if(K>0){let A=H-2;if((B[A+1]&S9)===1)B[A]=ZX,B[A+1]=h7(Q.emptyStyleId,0,0),W=K-1}}B[H]=xR(Q,U.char),B[H+1]=h7(U.styleId,SR(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((B[N+1]&S9)===1){let L=N+2;if(A+1<Q.width&&(B[L+1]&S9)===2)B[L]=ZX,B[L+1]=h7(Q.emptyStyleId,0,0)}B[N]=EV,B[N+1]=h7(Q.emptyStyleId,0,2);let M=Q.damage;if(M&&A>=M.x+M.width)M.width=A-M.x+1}}}function F4(Q,K,z,U){if(K<0||z<0||K>=Q.width||z>=Q.height)return;let H=z*Q.width+K<<1,B=Q.cells,F=B[H+1],W=F&S9;if(W===2||W===3)return;let Y=F>>>B4&UG;B[H+1]=h7(U,Y,W);let D=Q.damage;if(D)Q.damage=u7(D,{x:K,y:z,width:1,height:1});else Q.damage={x:K,y:z,width:1,height:1}}function xR(Q,K){return Q.charPool.intern(K)}function Ej(Q,K,z,U,H,B){if(z=Math.max(0,z),U=Math.max(0,U),z>=H||U>=B)return;let F=H-z,W=K.width<<1,Y=Q.width<<1,D=F<<1,A=K.cells,N=Q.cells,M=K.noSelect,L=Q.noSelect;if(Q.softWrap.set(K.softWrap.subarray(U,B),U),z===0&&H===K.width&&K.width===Q.width){let _=U*W,E=(B-U)*W;N.set(A.subarray(_,_+E),_);let C=U*K.width,I=(B-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<B;g++)N.set(A.subarray(_,_+D),E),L.set(M.subarray(C,C+F),I),_+=W,E+=Y,C+=K.width,I+=Q.width}let T={x:z,y:U,width:F,height:B-U};if(Q.damage)Q.damage=u7(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<B;I++){if((A[_+1]&S9)===1)N[E]=EV,N[E+1]=h7(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:B,noSelect:F,softWrap:W}=Q;if(Math.abs(U)>z-K){B.fill(JX,K*H,(z+1)*H),F.fill(0,K*H,(z+1)*H),W.fill(0,K,z+1);return}if(U>0)B.copyWithin(K*H,(K+U)*H,(z+1)*H),F.copyWithin(K*H,(K+U)*H,(z+1)*H),W.copyWithin(K,K+U,z+1),B.fill(JX,(z-U+1)*H,(z+1)*H),F.fill(0,(z-U+1)*H,(z+1)*H),W.fill(0,z-U+1,z+1);else B.copyWithin((K-U)*H,K*H,(z+U+1)*H),F.copyWithin((K-U)*H,K*H,(z+U+1)*H),W.copyWithin(K-U,K,z+U+1),B.fill(JX,K*H,(K-U)*H),F.fill(0,K*H,(K-U)*H),W.fill(0,K,K-U)}function bV(Q){for(let K of Q){let z=K.code;if(z.length<5||!z.startsWith(qG))continue;let U=z.match(xV);if(U)return U[1]||null}return null}function fV(Q){return Q.filter((K)=>!K.code.startsWith(qG)||!xV.test(K.code))}function Tj(Q,K,z){let U=Q.width,H=K.width,B=Q.height,F=K.height,W;if(U===0&&B===0)W={x:0,y:0,width:H,height:F};else if(K.damage){if(W=K.damage,Q.damage)W=u7(W,Q.damage)}else if(Q.damage)W=Q.damage;else W={x:0,y:0,width:0,height:0};if(B>F)W=u7(W,{x:0,y:F,width:U,height:B-F});if(U>H)W=u7(W,{x:H,y:0,width:U-H,height:B});let Y=Math.max(B,F),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 yR(Q,K,W.x,N,W.y,A,z);return gR(Q,K,W.x,N,W.y,A,z)}function bR(Q,K,z,U){for(let H=0;H<U;H++,z+=2){let B=z|1;if(Q[z]!==K[z]||Q[B]!==K[B])return H}return U}function fR(Q,K,z,U,H,B,F,W,Y,D,A){let N=F;while(N<W){let M=bR(Q,K,H,W-N);if(N+=M,H+=M<<1,N>=W)break;if(p7(z,H,Y),p7(U,H,D),A(N,B,Y,D))return!0;N++,H+=2}return!1}function wR(Q,K,z,U,H,B,F){for(let W=U;W<H;W++,K+=2)if(p7(Q,K,B),F(W,z,B,void 0))return!0;return!1}function vR(Q,K,z,U,H,B,F,W){for(let Y=H;Y<B;Y++,z+=2){if(Q[z]===0&&Q[z|1]===0)continue;if(p7(K,z,F),W(Y,U,void 0,F))return!0}return!1}function yR(Q,K,z,U,H,B,F){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<B;C++){let I=C<A,g=C<N;if(I&&g){if(fR(W,Y,Q,K,E,C,z,_,L,T,F))return!0}else if(I){if(wR(Q,E,C,z,_,L,F))return!0}else if(g){if(vR(Y,K,E,C,z,_,T,F))return!0}E+=M}return!1}function gR(Q,K,z,U,H,B,F){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<B;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 x=z;x<m;x++){if(D[s]===A[y]&&D[s+1]===A[y+1]){s+=2,y+=2;continue}if(p7(Q,s,N),p7(K,y,M),s+=2,y+=2,F(x,C,N,M))return!0}if(u>m){s=_+(m-z<<1);for(let x=m;x<u;x++)if(p7(Q,s,N),s+=2,F(x,C,N,void 0))return!0}if(l>m){y=E+(m-z<<1);for(let x=m;x<l;x++){if(A[y]===0&&A[y|1]===0){y+=2;continue}if(p7(K,y,M),y+=2,F(x,C,void 0,M))return!0}}_+=L,E+=T}return!1}function wV(Q,K,z,U,H){let B=Math.min(K+U,Q.width),F=Math.min(z+H,Q.height),W=Q.noSelect,Y=Q.width;for(let D=Math.max(0,z);D<F;D++){let A=D*Y;W.fill(1,A+Math.max(0,K),A+B)}}var kV,$R,RR,IR,kR,ZX=0,EV=1,H4=17,B4=2,UG=32767,S9=3,JX=0n,xV,qG;var i6=p(()=>{o1();ez();d1();Ij();kV={type:"ansi",code:"\x1B[7m",endCode:"\x1B[27m"},$R={type:"ansi",code:"\x1B[1m",endCode:"\x1B[22m"},RR={type:"ansi",code:"\x1B[4m",endCode:"\x1B[24m"},IR={type:"ansi",code:"\x1B[33m",endCode:"\x1B[39m"};kR=new Set(["\x1B[49m","\x1B[27m","\x1B[24m","\x1B[29m","\x1B[55m"]);xV=new RegExp(`^${x9}\\]8${j4}${j4}([^${Z6}]*)${Z6}$`),qG=`${x9}]8${j4}`});function vV(){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 yV(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 O4(Q){Q.isDragging=!1}function HG(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(mR.test(Q))return 1;return 2}function gV(Q,K,z){if(z<0||z>=Q.height)return null;let{width:U,noSelect:H}=Q,B=z*U,F=K;if(F>0){let N=SJ(Q,F,z);if(N&&N.width===2)F-=1}if(F<0||F>=U||H[B+F]===1)return null;let W=SJ(Q,F,z);if(!W)return null;let Y=XX(W.char),D=F;while(D>0){let N=D-1;if(H[B+N]===1)break;let M=SJ(Q,N,z);if(!M)break;if(M.width===2){if(N===0||H[B+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=F;while(A<U-1){let N=A+1;if(H[B+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 xj(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 mV(Q,K,z,U){let H=gV(K,z,U);if(!H)return;let B={col:H.lo,row:U},F={col:H.hi,row:U};Q.anchor=B,Q.focus=F,Q.isDragging=!0,Q.anchorSpan={lo:B,hi:F,kind:"word"}}function Cj(Q){if(Q.length!==1)return!1;let K=Q.charCodeAt(0);return K>=33&&K<=126&&!uR.has(Q)}function uV(Q,K,z){if(z<0||z>=Q.height)return;let{width:U,noSelect:H}=Q,B=z*U,F=K;if(F>0){let C=SJ(Q,F,z);if(C&&C.width===2)F-=1}if(F<0||F>=U||H[B+F]===1)return;let W=SJ(Q,F,z);if(!W||!Cj(W.char))return;let Y=F;while(Y>0){let C=Y-1;if(H[B+C]===1)break;let I=SJ(Q,C,z);if(!I||I.width!==0||!Cj(I.char))break;Y=C}let D=F;while(D<U-1){let C=D+1;if(H[B+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=F-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 hV(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 pV(Q,K,z,U){if(!Q.isDragging||!Q.anchorSpan)return;let H=Q.anchorSpan,B,F;if(H.kind==="word"){let W=gV(K,z,U);B={col:W?W.lo:z,row:U},F={col:W?W.hi:z,row:U}}else{let W=l8(U,0,K.height-1);B={col:0,row:W},F={col:K.width-1,row:W}}if(xj(F,H.lo)<0)Q.anchor=H.hi,Q.focus=B;else if(xj(B,H.hi)>0)Q.anchor=H.lo,Q.focus=F;else Q.anchor=H.lo,Q.focus=H.hi}function cV(Q,K,z){if(!Q.focus)return;Q.anchorSpan=null,Q.focus={col:K,row:z},Q.virtualFocusRow=void 0}function dV(Q,K,z,U,H){if(!Q.anchor||!Q.focus)return;let B=(Q.virtualAnchorRow??Q.anchor.row)+K,F=(Q.virtualFocusRow??Q.focus.row)+K;if(B<z&&F<z||B>U&&F>U){HG(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(B,F)),M=Math.max(0,Math.max(B,F)-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,B),Q.focus=L(Q.focus,F),Q.virtualAnchorRow=B<z||B>U?B:void 0,Q.virtualFocusRow=F<z||F>U?F: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:l8(H,z,U)},Q.virtualAnchorRow=H<z||H>U?H:void 0,Q.anchorSpan){let B=(F)=>({col:F.col,row:l8(F.row+K,z,U)});Q.anchorSpan={lo:B(Q.anchorSpan.lo),hi:B(Q.anchorSpan.hi),kind:Q.anchorSpan.kind}}}function lV(Q,K,z,U){if(!Q.anchor)return!1;let H=(Q.virtualAnchorRow??Q.anchor.row)+K,B=Q.focus?(Q.virtualFocusRow??Q.focus.row)+K:void 0;if(H<z&&B!==void 0&&B<z)return HG(Q),!0;if(Q.anchor={col:Q.anchor.col,row:l8(H,z,U)},Q.focus&&B!==void 0)Q.focus={col:Q.focus.col,row:l8(B,z,U)};if(Q.virtualAnchorRow=H<z||H>U?H:void 0,Q.virtualFocusRow=B!==void 0&&(B<z||B>U)?B:void 0,Q.anchorSpan){let F=(W)=>({col:W.col,row:l8(W.row+K,z,U)});Q.anchorSpan={lo:F(Q.anchorSpan.lo),hi:F(Q.anchorSpan.hi),kind:Q.anchorSpan.kind}}return!1}function U9(Q){return Q.anchor!==null&&Q.focus!==null}function bj(Q){if(!Q.anchor||!Q.focus)return null;return xj(Q.anchor,Q.focus)<=0?{start:Q.anchor,end:Q.focus}:{start:Q.focus,end:Q.anchor}}function aV(Q,K,z,U){let H=Q.noSelect,B=K*Q.width,F=K+1<Q.height?Q.softWrap[K+1]:0,W=F>0?Math.min(U,F-1):U,Y="";for(let D=z;D<=W;D++){if(H[B+D]===1)continue;let A=SJ(Q,D,K);if(!A)continue;if(A.width===2||A.width===3)continue;Y+=A.char}return F>0?Y:Y.replace(/\s+$/,"")}function Sj(Q,K,z){if(z&&Q.length>0)Q[Q.length-1]+=K;else Q.push(K)}function iV(Q,K){let z=bj(Q);if(!z)return"";let{start:U,end:H}=z,B=K.softWrap,F=[];for(let W=0;W<Q.scrolledOffAbove.length;W++)Sj(F,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;Sj(F,aV(K,W,Y,D),B[W]>0)}for(let W=0;W<Q.scrolledOffBelow.length;W++)Sj(F,Q.scrolledOffBelow[W],Q.scrolledOffBelowSW[W]);return F.join(`
221
+ `)}function jX(Q,K,z,U,H){let B=bj(Q);if(!B||z>U)return;let{start:F,end:W}=B,Y=Math.max(z,F.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===F.row?F.col:0,E=T===W.row?W.col:A-1;M.push(aV(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===F.row&&Y===F.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 nV(Q,K,z){let U=bj(K);if(!U)return;let{start:H,end:B}=U,F=Q.width,W=Q.noSelect;for(let Y=H.row;Y<=B.row&&Y<Q.height;Y++){let D=Y===H.row?H.col:0,A=Y===B.row?Math.min(B.col,F-1):F-1,N=Y*F;for(let M=D;M<=A;M++){let L=N+M;if(W[L]===1)continue;let T=a6(Q,L);F4(Q,M,Y,z.withSelectionBg(T.styleId))}}}var mR,uR;var HX=p(()=>{ez();i6();mR=/[\p{L}\p{N}_/.\-+~\\]/u;uR=new Set([..."<>\"'` "])});function n6(Q){return W4(`?${Q}h`)}function s6(Q){return W4(`?${Q}l`)}var VZ,sV,oV,rV,BX,fj,BG,a8,FG,wj,tV,OG,WG;var YG=p(()=>{h6();VZ={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};sV=n6(VZ.SYNCHRONIZED_UPDATE),oV=s6(VZ.SYNCHRONIZED_UPDATE),rV=n6(VZ.BRACKETED_PASTE),BX=s6(VZ.BRACKETED_PASTE),fj=n6(VZ.FOCUS_EVENTS),BG=s6(VZ.FOCUS_EVENTS),a8=n6(VZ.CURSOR_VISIBLE),FG=s6(VZ.CURSOR_VISIBLE),wj=n6(VZ.ALT_SCREEN_CLEAR),tV=s6(VZ.ALT_SCREEN_CLEAR),OG=n6(VZ.MOUSE_NORMAL)+n6(VZ.MOUSE_BUTTON)+n6(VZ.MOUSE_ANY)+n6(VZ.MOUSE_SGR),WG=s6(VZ.MOUSE_SGR)+s6(VZ.MOUSE_ANY)+s6(VZ.MOUSE_BUTTON)+s6(VZ.MOUSE_NORMAL)});import{createHash as hR,randomUUID as pR}from"crypto";import{tmpdir as cR}from"os";import{join as dR}from"path";function eV(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 ZD=()=>{};import{Buffer as lR}from"buffer";import{unlink as aR,writeFile as iR}from"node:fs/promises";function FJ(...Q){let K=Y4.terminal==="kitty"?QD:Z6;return`${yj}${Q.join(j4)}${K}`}function nJ(Q){if(process.env.TMUX)return`\x1BPtmux;${Q.replaceAll("\x1B","\x1B\x1B")}\x1B\\`;if(process.env.STY)return`\x1BP${Q}\x1B\\`;return Q}function Px(){if(process.platform==="darwin"&&!process.env.SSH_CONNECTION)return"native";if(process.env.TMUX)return"tmux-buffer";return"osc52"}function nR(Q){return`${x9}Ptmux;${Q.replaceAll(x9,x9+x9)}${QD}`}async function sR(Q){if(!process.env.TMUX)return!1;let K=process.env.LC_TERMINAL==="iTerm2"?["load-buffer","-"]:["load-buffer","-w","-"],{code:z}=await z9("tmux",K,{input:Q,useCwd:!1,timeout:2000});return z===0}async function GD(Q){let K=lR.from(Q,"utf8").toString("base64"),z=FJ(IZ.CLIPBOARD,"c",K);if(!process.env.SSH_CONNECTION)oR(Q);if(await sR(Q))return nR(`${x9}]52;c;${K}${Z6}`);return z}function oR(Q){let K={input:Q,useCwd:!1,timeout:2000};switch(process.platform){case"darwin":z9("pbcopy",[],K);return;case"linux":{if(i8===null)return;if(i8==="wl-copy"){z9("wl-copy",[],K);return}if(i8==="xclip"){z9("xclip",["-selection","clipboard"],K);return}if(i8==="xsel"){z9("xsel",["--clipboard","--input"],K);return}z9("wl-copy",[],K).then((z)=>{if(z.code===0){i8="wl-copy";return}z9("xclip",["-selection","clipboard"],K).then((U)=>{if(U.code===0){i8="xclip";return}z9("xsel",["--clipboard","--input"],K).then((H)=>{i8=H.code===0?"xsel":null})})});return}case"win32":(async()=>{let z=eV("claudio-clipboard",".txt"),U=z.replace(/'/g,"''");try{await iR(z,Q,{encoding:"utf8"}),await z9("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 aR(z).catch(()=>{})}})().catch(()=>{});return}}function KD(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 B=U.split(";"),F=B[0]??"",W=B.slice(1).join(";");if(W==="")return{type:"link",action:{type:"end"}};let Y={};if(F)for(let D of F.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:rR(U)};return{type:"unknown",sequence:`\x1B]${Q}`}}function JD(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 rR(Q){let K={};for(let[z,U]of tR(Q))switch(z){case"indicator":K.indicator=U===""?null:JD(U);break;case"status":K.status=U===""?null:U;break;case"status-color":K.statusColor=U===""?null:JD(U);break}return K}function*tR(Q){let K="",z="",U=!1,H=!1;for(let B of Q)if(H){if(U)z+=B;else K+=B;H=!1}else if(B==="\\")H=!0;else if(B===";")yield[K,z],K="",z="",U=!1;else if(B==="="&&!U)U=!0;else if(U)z+=B;else K+=B;if(K||U)yield[K,z]}function FX(Q,K){if(!Q)return OX;let z={id:eR(Q),...K},U=Object.entries(z).map(([H,B])=>`${H}=${B}`).join(":");return FJ(IZ.HYPERLINK,U,Q)}function eR(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 V4(){return!1}function XD(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 FJ(IZ.TAB_STATUS,K.join(";"))}var yj,QD,i8,IZ,OX,n8,s8,zD,_x,WX;var J6=p(()=>{vj();nW();ZD();d1();yj=x9+String.fromCharCode(u6.OSC),QD=x9+"\\";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=FJ(IZ.HYPERLINK,"",""),n8={NOTIFY:0,BADGE:2,PROGRESS:4},s8={CLEAR:0,SET:1,ERROR:2,INDETERMINATE:3},zD=`${yj}${IZ.ITERM2};${n8.PROGRESS};${s8.CLEAR};${Z6}`,_x=`${yj}${IZ.SET_TITLE_AND_ICON};${Z6}`,WX=FJ(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=HD.coerce(process.env.TERM_PROGRAM_VERSION);if(!Q)return!1;if(process.env.TERM_PROGRAM==="ghostty")return gj(Q.version,"1.2.0");if(process.env.TERM_PROGRAM==="iTerm.app")return gj(Q.version,"3.6.6");return!1}function GI(){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 FD(Q){if(YX===void 0)YX=Q}function OD(){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 WD(){return OD()}function YD(){return OD()}function VG(){if(process.env.CLAUDIO_ENABLE_EXTENDED_KEYS!=="1")return!1;return KI.includes(Y4.terminal??"")}function Sx(){return process.platform==="win32"||!!process.env.WT_SESSION}function uj(Q,K,z=!1){if(K.length===0)return;let U=!z,H=U?sV:"";for(let B of K)switch(B.type){case"stdout":H+=B.content;break;case"clear":if(B.count>0)H+=qD(B.count);break;case"clearTerminal":H+=jD();break;case"cursorHide":H+=FG;break;case"cursorShow":H+=a8;break;case"cursorMove":H+=D4(B.x,B.y);break;case"cursorTo":H+=UD(B.col);break;case"carriageReturn":H+="\r";break;case"hyperlink":H+=FX(B.uri);break;case"styleStr":H+=B.str;break}if(U)H+=oV;Q.stdout.write(H)}var HD,YX,KI,mj;var DG=p(()=>{vj();QI();ZI();h6();YG();J6();HD=r(JI(),1);KI=["iTerm.app","kitty","WezTerm","ghostty","tmux","windows-terminal"];mj=GI()});function cj(Q){pj=Q?"focused":"blurred";for(let K of hj)K();if(!Q){for(let K of VD)K();VD.clear()}}function DX(){return pj!=="blurred"}function DD(){return pj}function dj(Q){return hj.add(Q),()=>{hj.delete(Q)}}var pj="unknown",VD,hj;var lj=p(()=>{VD=new Set,hj=new Set});function AD(){return{request:W4(">0q"),match:(Q)=>Q.type==="xtversion"}}class aj{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 ND=p(()=>{h6();J6();zI=W4("c")});var MD,LD,AX;var ij=p(()=>{MD=r(OZ(),1),LD=MD.createContext({exit(){}});LD.displayName="InternalAppContext";AX=LD});var o8=16;var nj=()=>{};function _D(Q){let K=PD.c(6),{children:z}=Q,U=AG.useSyncExternalStore(dj,DX),H=AG.useSyncExternalStore(dj,DD),B;if(K[0]!==U||K[1]!==H)B={isTerminalFocused:U,terminalFocusState:H},K[0]=U,K[1]=H,K[2]=B;else B=K[2];let F=B,W;if(K[3]!==z||K[4]!==F)W=RD.jsxDEV(sj.Provider,{value:F,children:z},void 0,!1,void 0,this),K[3]=z,K[4]=F,K[5]=W;else W=K[5];return W}var PD,AG,RD,sj,$D;var oj=p(()=>{lj();PD=r(jQ(),1),AG=r(OZ(),1),RD=r(t0(),1),sj=AG.createContext({isTerminalFocused:!0,terminalFocusState:"unknown"});sj.displayName="TerminalFocusContext";$D=sj});function rj(){let{isTerminalFocused:Q}=ID.useContext($D);return Q}var ID;var tj=p(()=>{oj();ID=r(OZ(),1)});function XI(Q){let K=new Map,z=null,U=Q,H=0,B=0;function F(){B=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(F,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&&B)return B;return Date.now()-H},setTickInterval(Y){if(Y===U)return;U=Y,W()}}}function ED(Q){let K=kD.c(7),{children:z}=Q,[U]=A4.useState(qI),H=rj(),B,F;if(K[0]!==U||K[1]!==H)B=()=>{U.setTickInterval(H?o8:UI)},F=[U,H],K[0]=U,K[1]=H,K[2]=B,K[3]=F;else B=K[2],F=K[3];A4.useEffect(B,F);let W;if(K[4]!==z||K[5]!==U)W=TD.jsxDEV(N4.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(o8)}var kD,A4,TD,N4,UI;var NX=p(()=>{nj();tj();kD=r(jQ(),1),A4=r(OZ(),1),TD=r(t0(),1);N4=A4.createContext(null),UI=o8*2});var CD,jI,SD;var xD=p(()=>{CD=r(OZ(),1),jI=CD.createContext(()=>{}),SD=jI});var bD=()=>{};function HI(Q,K){let z=fD.c(42),U,H,B,F,W,Y,D,A,N,M,L,T,_,E,C,I,g;if(z[0]!==Q){let{children:y,flexWrap:x,flexDirection:o,flexGrow:d,flexShrink:i,tabIndex:Z0,autoFocus:Q0,onClick:a,onFocus:K0,onFocusCapture:z0,onBlur:w0,onBlurCapture:C0,onMouseEnter:PZ,onMouseLeave:_Z,onKeyDown:OJ,onKeyDownCapture:o0,...kZ}=Q;H=y,g=Z0,U=Q0,N=a,M=K0,L=z0,D=w0,A=C0,E=PZ,C=_Z,T=OJ,_=o0,I=kZ,Y=x===void 0?"nowrap":x,B=o===void 0?"row":o,F=d===void 0?0:d,W=i===void 0?1:i,pZ(I.margin,"margin"),pZ(I.marginX,"marginX"),pZ(I.marginY,"marginY"),pZ(I.marginTop,"marginTop"),pZ(I.marginBottom,"marginBottom"),pZ(I.marginLeft,"marginLeft"),pZ(I.marginRight,"marginRight"),pZ(I.padding,"padding"),pZ(I.paddingX,"paddingX"),pZ(I.paddingY,"paddingY"),pZ(I.paddingTop,"paddingTop"),pZ(I.paddingBottom,"paddingBottom"),pZ(I.paddingLeft,"paddingLeft"),pZ(I.paddingRight,"paddingRight"),pZ(I.gap,"gap"),pZ(I.columnGap,"columnGap"),pZ(I.rowGap,"rowGap"),z[0]=Q,z[1]=U,z[2]=H,z[3]=B,z[4]=F,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],B=z[3],F=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]!==B||z[20]!==F||z[21]!==W||z[22]!==Y||z[23]!==I||z[24]!==u||z[25]!==l)m={flexWrap:Y,flexDirection:B,flexGrow:F,flexShrink:W,...I,overflowX:u,overflowY:l},z[19]=B,z[20]=F,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=yD.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 fD,wD,yD,vD,uQ;var r8=p(()=>{bD();Ij();fD=r(jQ(),1),wD=r(OZ(),1),yD=r(t0(),1);vD=wD.default.forwardRef(HI);vD.displayName="Box";uQ=vD});function rZ(Q){let K=gD.c(29),{color:z,backgroundColor:U,bold:H,dim:B,italic:F,underline:W,strikethrough:Y,inverse:D,wrap:A,children:N}=Q,M=F===void 0?!1:F,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]!==B)g=B&&{dim:B},K[4]=B,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 x;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)x={...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]=x;else x=K[24];let o=x,d=BI[E],i;if(K[25]!==N||K[26]!==d||K[27]!==o)i=mD.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 gD,mD,BI;var M4=p(()=>{gD=r(jQ(),1),mD=r(t0(),1),BI={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 ej({error:Q}){let K=Q.message||"Unknown error",z=Q.stack?Q.stack.split(`
222
+ `).slice(1):[];return t8.jsxDEV(uQ,{flexDirection:"column",padding:1,children:[t8.jsxDEV(uQ,{children:[t8.jsxDEV(rZ,{backgroundColor:"ansi:red",color:"ansi:white",children:[" ","ERROR"," "]},void 0,!0,void 0,this),t8.jsxDEV(rZ,{children:[" ",K]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),z.length>0&&t8.jsxDEV(uQ,{marginTop:1,flexDirection:"column",children:z.map((U,H)=>t8.jsxDEV(rZ,{children:U},`${H}:${U}`,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var t8;var uD=p(()=>{r8();M4();t8=r(t0(),1)});var hD,MX;var ZH=p(()=>{hD=r(OZ(),1),MX=hD.createContext(null)});function WI(Q,K,z,U){if(K.some((H)=>H.kind==="key"||H.kind==="mouse"&&!((H.button&32)!==0&&(H.button&3)===3)))lD();for(let H of K){if(H.kind==="response"){Q.querier.onResponse(H.response);continue}if(H.kind==="mouse"){YI(Q,H);continue}let B=H.sequence;if(B===aD){Q.handleTerminalFocus(!0);let W=new l1("terminalfocus");Q.internal_eventEmitter.emit("terminalfocus",W);continue}if(B===iD){if(Q.handleTerminalFocus(!1),Q.props.selection.isDragging)O4(Q.props.selection),Q.props.onSelectionChange();let W=new l1("terminalblur");Q.internal_eventEmitter.emit("terminalblur",W);continue}if(!DX())cj(!0);if(H.name==="z"&&H.ctrl&&OI){Q.handleSuspend();continue}Q.handleInput(B);let F=new Iz(H);Q.internal_eventEmitter.emit("input",F),Q.props.dispatchKeyboardEvent(H)}}function YI(Q,K){if(oW())return;let z=Q.props.selection,U=K.col-1,H=K.row-1,B=K.button&3;if(K.action==="press"){if((K.button&32)!==0&&B===3){if(z.isDragging)O4(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(B!==0){Q.clickCount=0;return}if((K.button&32)!==0){Q.props.onSelectionDrag(U,H);return}if(z.isDragging)O4(z),Q.props.onSelectionChange();let F=Date.now(),W=F-Q.lastClickTime<cD&&Math.abs(U-Q.lastClickCol)<=dD&&Math.abs(H-Q.lastClickRow)<=dD;if(Q.clickCount=W?Q.clickCount+1:1,Q.lastClickTime=F,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(B!==0){if(!z.isDragging)return;O4(z),Q.props.onSelectionChange();return}if(O4(z),!U9(z)&&z.anchor){if(!Q.props.onClickAt(U,H)){let F=Q.props.getHyperlinkAt(U,H);if(F&&process.env.TERM_PROGRAM!=="vscode"&&!VX()){if(Q.pendingHyperlinkTimer)clearTimeout(Q.pendingHyperlinkTimer);Q.pendingHyperlinkTimer=setTimeout((W,Y)=>{W.pendingHyperlinkTimer=null,W.props.onOpenHyperlink(Y)},cD,Q,F)}}}Q.props.onSelectionChange()}var sD,c7,OI,pD=5000,cD=500,dD=1,LX;var oD=p(()=>{x3();FI();b3();rW();Bj();Uz();y3();g3();v3();tz();HX();DG();lj();ND();h6();YG();ij();NX();xD();uD();qz();oj();ZH();sD=r(OZ(),1),c7=r(t0(),1),OI=process.platform!=="win32";LX=class LX extends sD.PureComponent{static displayName="InternalApp";static getDerivedStateFromError(Q){return{error:Q}}state={error:void 0};rawModeEnabledCount=0;internal_eventEmitter=new e5;keyParseState=jY;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 aj(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 c7.jsxDEV(MX.Provider,{value:{columns:this.props.terminalColumns,rows:this.props.terminalRows},children:c7.jsxDEV(AX.Provider,{value:{exit:this.handleExit},children:c7.jsxDEV(x8.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:c7.jsxDEV(_D,{children:c7.jsxDEV(ED,{children:c7.jsxDEV(SD.Provider,{value:this.props.onCursorDeclaration??(()=>{}),children:this.state.error?c7.jsxDEV(ej,{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&&!m6(process.env.CLAUDE_CODE_ACCESSIBILITY))this.props.stdout.write(FG)}componentWillUnmount(){if(this.props.stdout.isTTY)this.props.stdout.write(a8);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){c6(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(nD(),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(rV),this.props.stdout.write(fj),VG())this.props.stdout.write(NG),this.props.stdout.write(MG);setImmediate(()=>{Promise.all([this.querier.send(AD()),this.querier.flush()]).then(([z])=>{if(z)FD(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(LG),this.props.stdout.write(e8),this.props.stdout.write(BG),this.props.stdout.write(BX),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]=HY(this.keyParseState,Q);if(this.keyParseState=z,K.length>0)e9.discreteUpdates(WI,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>pD)this.props.onStdinResume?.();this.lastStdinTime=Q;try{let K;while((K=this.props.stdin.read())!==null)this.processInput(K)}catch(K){c6(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>pD)this.props.onStdinResume?.();this.lastStdinTime=K;try{this.processInput(Q)}catch(z){c6(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)=>{cj(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(a8+BG+WG);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(!m6(process.env.CLAUDE_CODE_ACCESSIBILITY))this.props.stdout.write(FG);this.props.stdout.write(fj)}this.internal_eventEmitter.emit("resume"),process.removeListener("SIGCONT",K)};process.on("SIGCONT",K),process.kill(process.pid,"SIGSTOP")}}});function VI(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 JH;var rD=p(()=>{Oj();JH=class JH extends JG{key;ctrl;shift;meta;superKey;fn;constructor(Q){super("keydown",{bubbles:!0,cancelable:!0});this.key=VI(Q),this.ctrl=Q.ctrl,this.shift=Q.shift,this.meta=Q.meta||Q.option,this.superKey=Q.super,this.fn=Q.fn}}});function d7(Q,K,z,U,H){return{screen:l6(0,0,z,U,H),viewport:{width:K,height:Q},cursor:{x:0,y:0,visible:!0}}}var tD=p(()=>{i6()});var PX;var QH=p(()=>{S8();PX=class PX extends Q9{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=oZ.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 B=Q.childNodes[H];if(B.nodeName==="#text")continue;let F=GH(B,K,z);if(F)return F}return Q}function eD(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 B=new PX(K,z,U),F=!1;while(H){let W=H._eventHandlers?.onClick;if(W){F=!0;let Y=oZ.get(H);if(Y)B.localCol=K-Y.x,B.localRow=z-Y.y;if(W(B),B.didStopImmediatePropagation())return!0}H=H.parentNode}return F}function ZA(Q,K,z,U){let H=new Set,B=GH(Q,K,z)??void 0;while(B){let F=B._eventHandlers;if(F?.onMouseEnter||F?.onMouseLeave)H.add(B);B=B.parentNode}for(let F of U)if(!H.has(F)){if(U.delete(F),F.parentNode)F._eventHandlers?.onMouseLeave?.()}for(let F of H)if(!U.has(F))U.add(F),F._eventHandlers?.onMouseEnter?.()}var JA=p(()=>{QH();z4()});var DI,Q6;var _X=p(()=>{DI=new Map,Q6=DI});class KH{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 B=0;B<K.height;B++){let F="";for(let Y=0;Y<K.width;Y++){let D=SJ(K,Y,B);if(D&&D.width!==2){if(D.hyperlink!==H){if(H!==void 0)F+=OX;if(D.hyperlink!==void 0)F+=FX(D.hyperlink);H=D.hyperlink}let A=this.options.stylePool.get(D.styleId),N=u8(U,A);if(N.length>0)F+=t9(N),U=A;F+=D.char}}if(H!==void 0)F+=OX,H=void 0;let W=u8(U,[]);if(W.length>0)F+=t9(W),U=[];z.push(F.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 B=performance.now(),F=this.options.stylePool;if(K.viewport.height<Q.viewport.height||Q.viewport.width!==0&&K.viewport.width!==Q.viewport.width)return PG(K,"resize",F);if(!z&&H){let y=MI(Q.screen,K.screen);if(y!==null)return AI(Q,K,F,y)}let W=[];if(z&&K.scrollHint&&U){let{top:y,bottom:x,delta:o}=K.scrollHint;if(y>=0&&x<Q.screen.height&&x<K.screen.height)zX(Q.screen,y,x,o),W=[{type:"stdout",content:KA(y+1,x+1)+(o>0?QA(o):GA(-o))+zA+Z5}]}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 MZ(`Full reset (shrink->below): prevHeight=${Q.screen.height}, nextHeight=${K.screen.height}, viewport=${Q.viewport.height}`),PG(K,"offscreen",F);if(Q.screen.height>=Q.viewport.height&&Q.screen.height>0&&Y&&!D){let x=Q.screen.height-Q.viewport.height+1,o=-1;if(Tj(Q.screen,K.screen,(d,i)=>{if(i<x)return o=i,!0}),o>=0){let d=$X(Q.screen,o),i=$X(K.screen,o);return PG(K,"offscreen",F,{triggerY:o,prevLine:d,nextLine:i})}}let L=new _G(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 PG(K,"offscreen",this.options.stylePool);L.txn((x)=>[[{type:"clear",count:y},{type:"cursorMove",x:0,y:-1}],{dx:-x.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=F.none,u=void 0,l=!1,m=-1;if(Tj(Q.screen,K.screen,(y,x,o,d)=>{if(E&&x>=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&&GX(K.screen,y,x)&&!o)return;if(x<I)return l=!0,m=x,!0;if(kX(L,y,x),d){let i=d.hyperlink;u=L4(L.diff,u,i);let Z0=F.transition(g,d.styleId);if(UA(L,d,Z0))g=d.styleId}else if(o){let i=g,Z0=u;g=F.none,u=void 0,L.txn(()=>{let Q0=[];return IX(Q0,F,i,F.none),L4(Q0,Z0,void 0),Q0.push({type:"stdout",content:" "}),[Q0,{dx:1,dy:0}]})}}),l)return PG(K,"offscreen",F,{triggerY:m,prevLine:$X(Q.screen,m),nextLine:$X(K.screen,m)});if(g=IX(L.diff,F,g,F.none),u=L4(L.diff,u,void 0),E)zH(L,K,Q.screen.height,K.screen.height,F);if(!z)XA(L,K);let s=performance.now()-B;if(s>50){let y=K.screen.damage,x=y?`${y.width}x${y.height} at (${y.x},${y.y})`:"none";MZ(`Slow render: ${s.toFixed(1)}ms, screen: ${K.screen.height}x${K.screen.width}, damage: ${x}, changes: ${L.diff.length}`)}return W.length>0?[...W,...L.diff]:L.diff}}function AI(Q,K,z,U){let H=[],B=Q.screen.height-U;if(B>0){let W=Q.screen.height-1,Y=new _G(Q.cursor,K.viewport.width);kX(Y,0,W),H.push(...Y.diff),H.push({type:"clear",count:B})}let F=new _G(B>0?{x:0,y:U}:Q.cursor,K.viewport.width);return zH(F,K,U,K.screen.height,z),XA(F,K),[...H,...F.diff]}function MI(Q,K){let z=Math.min(Q.height,K.height),U=z;for(let B=0;B<z;B+=1)if(!LI(Q,K,B)){U=B;break}let H=Math.max(Q.height,K.height)-U;if(H<=0)return null;return H<=NI?U:null}function LI(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 B=U;B<H;B+=1)if(Q.cells64[B]!==K.cells64[B]||Q.noSelect[B]!==K.noSelect[B])return!1;return!0}function L4(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+=SV(Q,U,K)??" ";return z.trimEnd()}function PG(Q,K,z,U){let H=new _G({x:0,y:0},Q.viewport.width);return PI(H,Q,z),[{type:"clearTerminal",reason:K,debug:U},...H.diff]}function PI(Q,K,z){zH(Q,K,0,K.screen.height,z)}function zH(Q,K,z,U,H){let B=H.none,F=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]=P4;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 _=CV(D,A,N,M,W);if(!_)continue;kX(Q,T,L);let E=_.hyperlink;F=L4(Q.diff,F,E);let C=H.transition(B,_.styleId);if(UA(Q,_,C))B=_.styleId,W=_.styleId}B=IX(Q.diff,H,B,H.none),F=L4(Q.diff,F,void 0),Q.txn((T)=>[[P4,RX],{dx:-T.x,dy:1}])}return IX(Q.diff,H,B,H.none),L4(Q.diff,F,void 0),Q}function XA(Q,K){if(K.cursor.y>=K.screen.height){Q.txn((z)=>{let U=K.cursor.y-z.y;if(U>0){let B=Array(1+U);B[0]=P4;for(let F=0;F<U;F++)B[1+F]=RX;return[B,{dx:-z.x,dy:U}]}let H=K.cursor.y-z.y;if(H!==0||z.x!==K.cursor.x){let B=[P4];return B.push({type:"cursorMove",x:K.cursor.x,y:H}),[B,{dx:K.cursor.x-z.x,dy:H}]}return[[],{dx:0,dy:0}]});return}kX(Q,K.cursor.x,K.cursor.y)}function UA(Q,K,z){let U=K.width===1?2:1,H=Q.cursor.x,B=Q.viewportWidth;if(U===2&&H<B){let Y=K.char.length>2?B:B+1;if(H+2>=Y)return!1}let F=Q.diff;if(z.length>0)F.push({type:"styleStr",str:z});let W=U===2&&_I(K.char);if(W&&H+1<B)F.push({type:"cursorTo",col:H+2}),F.push({type:"stdout",content:" "}),F.push({type:"cursorTo",col:H+1});if(F.push({type:"stdout",content:K.char}),W)F.push({type:"cursorTo",col:H+U+1});if(H>=B)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,B=z-U.y;if(U.x>=Q.viewportWidth)return[[P4,{type:"cursorMove",x:K,y:B}],{dx:H,dy:B}];if(B!==0)return[[P4,{type:"cursorMove",x:K,y:B}],{dx:H,dy:B}];return[[{type:"cursorMove",x:H,y:B}],{dx:H,dy:B}]})}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 _G{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 P4,RX,NI=6;var qA=p(()=>{o1();g7();i6();h6();J6();P4={type:"carriageReturn"},RX={type:"stdout",content:`
226
+ `}});function XH(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 B=z-1,F=K[B],W=F.type;if(H==="cursorMove"&&W==="cursorMove"){K[B]={type:"cursorMove",x:F.x+U.x,y:F.y+U.y};continue}if(H==="cursorTo"&&W==="cursorTo"){K[B]=U;continue}if(H==="styleStr"&&W==="styleStr"){K[B]={type:"styleStr",str:F.str+U.str};continue}if(H==="hyperlink"&&W==="hyperlink"&&U.uri===F.uri)continue;if(H==="cursorShow"&&W==="cursorHide"||H==="cursorHide"&&W==="cursorShow"){K.pop(),z--;continue}}K.push(U),z++}return K}var jA=()=>{};var HA=f6((UH,qH)=>{(function(Q,K){typeof UH==="object"&&typeof qH<"u"?qH.exports=K():typeof define==="function"&&define.amd?define(K):(Q=typeof globalThis<"u"?globalThis:Q||self,Q.bidi_js=K())})(UH,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={},B={};H.L=1,B[1]="L",Object.keys(U).forEach(function(X0,$0){H[X0]=1<<$0+1,B[H[X0]]=X0}),Object.freeze(H);var F=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|F|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("+"),F0=U0[0],W0=U0[1];F0=parseInt(F0,36),W0=W0?parseInt(W0,36):0,N.set(t+=F0,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 B[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,F0;return X0.split(",").forEach(function W0(TZ){if(TZ.indexOf("+")!==-1)for(var r0=+TZ;r0--;)W0(F0);else{F0=TZ;var E0=TZ.split(">"),n0=E0[0],cZ=E0[1];n0=String.fromCodePoint(t+=parseInt(n0,V0)),cZ=String.fromCodePoint(t+=parseInt(cZ,V0)),i0.set(n0,cZ),$0&&U0.set(cZ,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:x,EN:o,ES:d,ET:i,AN:Z0,CS:Q0,B:a,S:K0,ON:z0,BN:w0,NSM:C0,AL:PZ,LRO:_Z,RLO:OJ,LRE:o0,RLE:kZ,PDF:zJ,LRI:sJ,RLI:LJ,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 F0(JZ,ZQ){var qJ=t[JZ];if(t[JZ]=ZQ,U0.set(qJ,U0.get(qJ)-1),qJ&Y)U0.set(Y,U0.get(Y)-1);if(U0.set(ZQ,(U0.get(ZQ)||0)+1),ZQ&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:g4(n0,!1)});if(t[n0]&a)E0.end=n0,E0=null}var cZ=kZ|o0|OJ|_Z|F|bJ|zJ|a,XJ=function(JZ){return JZ+(JZ&1?1:2)},ZZ=function(JZ){return JZ+(JZ&1?2:1)};for(var YJ=0;YJ<r0.length;YJ++){E0=r0[YJ];var d0=[{_level:E0.level,_override:0,_isolate:0}],e=void 0,S0=0,j0=0,QZ=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&cZ){if(P0&(kZ|o0)){W0[g0]=e._level;var fJ=(P0===kZ?ZZ:XJ)(e._level);if(fJ<=V0&&!S0&&!j0)d0.push({_level:fJ,_override:0,_isolate:0});else if(!S0)j0++}else if(P0&(OJ|_Z)){W0[g0]=e._level;var $Q=(P0===OJ?ZZ:XJ)(e._level);if($Q<=V0&&!S0&&!j0)d0.push({_level:$Q,_override:P0&OJ?x:y,_isolate:0});else if(!S0)j0++}else if(P0&F){if(P0&GZ)P0=g4(g0+1,!0)===1?LJ:sJ;if(W0[g0]=e._level,e._override)F0(g0,e._override);var RQ=(P0===LJ?ZZ:XJ)(e._level);if(RQ<=V0&&S0===0&&j0===0)QZ++,d0.push({_level:RQ,_override:0,_isolate:1,_isolInitIndex:g0});else S0++}else if(P0&bJ){if(S0>0)S0--;else if(QZ>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(),QZ--}if(e=d0[d0.length-1],W0[g0]=e._level,e._override)F0(g0,e._override)}else if(P0&zJ){if(S0===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)F0(g0,e._override)}var l0=[],KZ=null;for(var $Z=E0.start;$Z<=E0.end;$Z++){var Y0=t[$Z];if(!(Y0&D)){var HZ=W0[$Z],CZ=Y0&F,j9=Y0===bJ;if(KZ&&HZ===KZ._level)KZ._end=$Z,KZ._endsWithIsolInit=CZ;else l0.push(KZ={_start:$Z,_end:$Z,_level:HZ,_startsWithPDI:j9,_endsWithIsolInit:CZ})}}var SZ=[];for(var tZ=0;tZ<l0.length;tZ++){var xZ=l0[tZ];if(!xZ._startsWithPDI||xZ._startsWithPDI&&!TZ.has(xZ._start)){var wJ=[KZ=xZ];for(var OQ=void 0;KZ&&KZ._endsWithIsolInit&&(OQ=TZ.get(KZ._end))!=null;)for(var WQ=tZ+1;WQ<l0.length;WQ++)if(l0[WQ]._start===OQ){wJ.push(KZ=l0[WQ]);break}var YQ=[];for(var hQ=0;hQ<wJ.length;hQ++){var H9=wJ[hQ];for(var vJ=H9._start;vJ<=H9._end;vJ++)YQ.push(vJ)}var K6=W0[YQ[0]],t6=E0.level;for(var B9=YQ[0]-1;B9>=0;B9--)if(!(t[B9]&D)){t6=W0[B9];break}var f9=YQ[YQ.length-1],a7=W0[f9],i7=E0.level;if(!(t[f9]&F)){for(var J0=f9+1;J0<=E0.end;J0++)if(!(t[J0]&D)){i7=W0[J0];break}}SZ.push({_seqIndices:YQ,_sosType:Math.max(t6,K6)%2?x:y,_eosType:Math.max(i7,a7)%2?x:y})}}for(var n7=0;n7<SZ.length;n7++){var F9=SZ[n7],H0=F9._seqIndices,w9=F9._sosType,O9=F9._eosType,z6=W0[H0[0]]&1?x:y;if(U0.get(C0))for(var s7=0;s7<H0.length;s7++){var X6=H0[s7];if(t[X6]&C0){var G5=w9;for(var pQ=s7-1;pQ>=0;pQ--)if(!(t[H0[pQ]]&D)){G5=t[H0[pQ]];break}F0(X6,G5&(F|bJ)?z0:G5)}}if(U0.get(o))for(var e6=0;e6<H0.length;e6++){var Z7=H0[e6];if(t[Z7]&o)for(var J7=e6-1;J7>=-1;J7--){var o7=J7===-1?w9:t[H0[J7]];if(o7&W){if(o7===PZ)F0(Z7,Z0);break}}}if(U0.get(PZ))for(var cQ=0;cQ<H0.length;cQ++){var dQ=H0[cQ];if(t[dQ]&PZ)F0(dQ,x)}if(U0.get(d)||U0.get(Q0))for(var U6=1;U6<H0.length-1;U6++){var r7=H0[U6];if(t[r7]&(d|Q0)){var IQ=0,Q7=0;for(var W9=U6-1;W9>=0;W9--)if(IQ=t[H0[W9]],!(IQ&D))break;for(var qZ=U6+1;qZ<H0.length;qZ++)if(Q7=t[H0[qZ]],!(Q7&D))break;if(IQ===Q7&&(t[r7]===d?IQ===o:IQ&(o|Z0)))F0(r7,IQ)}}if(U0.get(o))for(var oJ=0;oJ<H0.length;oJ++){var TG=H0[oJ];if(t[TG]&o){for(var G7=oJ-1;G7>=0&&t[H0[G7]]&(i|D);G7--)F0(H0[G7],o);for(oJ++;oJ<H0.length&&t[H0[oJ]]&(i|D|o);oJ++)if(t[H0[oJ]]!==o)F0(H0[oJ],o)}}if(U0.get(i)||U0.get(d)||U0.get(Q0))for(var kQ=0;kQ<H0.length;kQ++){var K7=H0[kQ];if(t[K7]&(i|d|Q0)){F0(K7,z0);for(var rJ=kQ-1;rJ>=0&&t[H0[rJ]]&D;rJ--)F0(H0[rJ],z0);for(var K5=kQ+1;K5<H0.length&&t[H0[K5]]&D;K5++)F0(H0[K5],z0)}}if(U0.get(o))for(var EQ=0,t7=w9;EQ<H0.length;EQ++){var z7=H0[EQ],X7=t[z7];if(X7&o){if(t7===y)F0(z7,y)}else if(X7&W)t7=X7}if(U0.get(Y)){var UJ=x|o|Z0,yJ=UJ|y,tJ=[];{var _J=[];for(var $J=0;$J<H0.length;$J++)if(t[H0[$J]]&Y){var gJ=X0[H0[$J]],z5=void 0;if(l(gJ)!==null)if(_J.length<63)_J.push({char:gJ,seqIndex:$J});else break;else if((z5=m(gJ))!==null)for(var q6=_J.length-1;q6>=0;q6--){var X5=_J[q6].char;if(X5===z5||X5===m(s(gJ))||l(s(X5))===gJ){tJ.push([_J[q6].seqIndex,$J]),_J.length=q6;break}}}tJ.sort(function(JZ,ZQ){return JZ[0]-ZQ[0]})}for(var VQ=0;VQ<tJ.length;VQ++){var b4=tJ[VQ],eJ=b4[0],j6=b4[1],e7=!1,dZ=0;for(var v9=eJ+1;v9<j6;v9++){var f4=H0[v9];if(t[f4]&yJ){e7=!0;var U5=t[f4]&UJ?x:y;if(U5===z6){dZ=U5;break}}}if(e7&&!dZ){dZ=w9;for(var q5=eJ-1;q5>=0;q5--){var w4=H0[q5];if(t[w4]&yJ){var v4=t[w4]&UJ?x:y;if(v4!==z6)dZ=v4;else dZ=z6;break}}}if(dZ){if(t[H0[eJ]]=t[H0[j6]]=dZ,dZ!==z6){for(var H6=eJ+1;H6<H0.length;H6++)if(!(t[H0[H6]]&D)){if(L(X0[H0[H6]])&C0)t[H0[H6]]=dZ;break}}if(dZ!==z6){for(var U7=j6+1;U7<H0.length;U7++)if(!(t[H0[U7]]&D)){if(L(X0[H0[U7]])&C0)t[H0[U7]]=dZ;break}}}}for(var lQ=0;lQ<H0.length;lQ++)if(t[H0[lQ]]&Y){var CG=lQ,j5=lQ,y4=w9;for(var B6=lQ-1;B6>=0;B6--)if(t[H0[B6]]&D)CG=B6;else{y4=t[H0[B6]]&UJ?x:y;break}var Z8=O9;for(var q7=lQ+1;q7<H0.length;q7++)if(t[H0[q7]]&(Y|D))j5=q7;else{Z8=t[H0[q7]]&UJ?x:y;break}for(var j7=CG;j7<=j5;j7++)t[H0[j7]]=y4===Z8?y4:z6;lQ=j5}}}for(var mJ=E0.start;mJ<=E0.end;mJ++){var SG=W0[mJ],J8=t[mJ];if(SG&1){if(J8&(y|o|Z0))W0[mJ]++}else if(J8&x)W0[mJ]++;else if(J8&(Z0|o))W0[mJ]+=2;if(J8&D)W0[mJ]=mJ===0?E0.level:W0[mJ-1];if(mJ===E0.end||L(X0[mJ])&(K0|a))for(var TQ=mJ;TQ>=0&&L(X0[TQ])&A;TQ--)W0[TQ]=E0.level}}return{levels:W0,paragraphs:r0};function g4(JZ,ZQ){for(var qJ=JZ;qJ<X0.length;qJ++){var CQ=t[qJ];if(CQ&(x|PZ))return 1;if(CQ&(a|y)||ZQ&&CQ===bJ)return 0;if(CQ&F){var H7=xG(qJ);qJ=H7===-1?X0.length:H7}}return 0}function xG(JZ){var ZQ=1;for(var qJ=JZ+1;qJ<X0.length;qJ++){var CQ=t[qJ];if(CQ&a)break;if(CQ&bJ){if(--ZQ===0)return qJ}else if(CQ&F)ZQ++}return-1}}var b9="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 UZ(){if(!EZ){var X0=E(b9,!0),$0=X0.map,V0=X0.reverseMap;V0.forEach(function(t,i0){$0.set(i0,t)}),EZ=$0}}function DZ(X0){return UZ(),EZ.get(X0)||null}function FQ(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 F0=V0;F0<=t;F0++)if($0[F0]&1){var W0=DZ(X0[F0]);if(W0!==null)U0.set(F0,W0)}return U0}function WJ(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(F0){var W0=Math.max(V0,F0.start),TZ=Math.min(t,F0.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]=F0.level;var n0=F0.level,cZ=1/0;for(var XJ=0;XJ<r0.length;XJ++){var ZZ=r0[XJ];if(ZZ>n0)n0=ZZ;if(ZZ<cZ)cZ=ZZ|1}for(var YJ=n0;YJ>=cZ;YJ--)for(var d0=0;d0<r0.length;d0++)if(r0[d0]>=YJ){var e=d0;while(d0+1<r0.length&&r0[d0+1]>=YJ)d0++;if(d0>e)U0.push([e+W0,d0+W0])}}}),U0}function PJ(X0,$0,V0,t){var i0=_Q(X0,$0,V0,t),U0=[].concat(X0);return i0.forEach(function(F0,W0){U0[W0]=($0.levels[F0]&1?DZ(X0[F0]):null)||X0[F0]}),U0.join("")}function _Q(X0,$0,V0,t){var i0=WJ(X0,$0,V0,t),U0=[];for(var F0=0;F0<X0.length;F0++)U0[F0]=F0;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=DZ,z.getMirroredCharactersMap=FQ,z.getReorderSegments=WJ,z.getReorderedIndices=_Q,z.getReorderedString=PJ,z.openingToClosingBracket=l,Object.defineProperty(z,"__esModule",{value:!0}),z}({});return K}return Q})});function $I(){if(HH===void 0)HH=process.platform==="win32"||typeof process.env.WT_SESSION==="string"||process.env.TERM_PROGRAM==="vscode";return HH}function RI(){if(!jH)jH=BA.default();return jH}function FA(Q){if(!$I()||Q.length===0)return Q;let K=Q.map((Y)=>Y.value).join("");if(!EI(K))return Q;let z=RI(),{levels:U}=z.getEmbeddingLevels(K,"auto"),H=[],B=0;for(let Y=0;Y<Q.length;Y++)H.push(U[B]),B+=Q[Y].value.length;let F=[...Q],W=Math.max(...H);for(let Y=W;Y>=1;Y--){let D=0;while(D<F.length)if(H[D]>=Y){let A=D+1;while(A<F.length&&H[A]>=Y)A++;II(F,D,A-1),kI(H,D,A-1),D=A}else D++}return F}function II(Q,K,z){while(K<z){let U=Q[K];Q[K]=Q[z],Q[z]=U,K++,z--}}function kI(Q,K,z){while(K<z){let U=Q[K];Q[K]=Q[z],Q[z]=U,K++,z--}}function EI(Q){return/[\u0590-\u05FF\uFB1D-\uFB4F\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF\u0780-\u07BF\u0700-\u074F]/u.test(Q)}var BA,jH,HH;var OA=p(()=>{BA=r(HA(),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,Sz(H)),U===-1)break;z=U+1}return K}var BH=p(()=>{p3()});function TI(Q,K){if(!Q)return K;return{x1:WA(Q.x1,K.x1),x2:YA(Q.x2,K.x2),y1:WA(Q.y1,K.y1),y2:YA(Q.y2,K.y2)}}function WA(Q,K){if(Q===void 0)return K;if(K===void 0)return Q;return Math.max(Q,K)}function YA(Q,K){if(Q===void 0)return K;if(K===void 0)return Q;return Math.min(Q,K)}class J5{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,B=[];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?u7(Q.damage,C):C,Y.fromAbsolute)B.push(C)}let F=[];for(let Y of this.operations)switch(Y.type){case"clear":continue;case"clip":F.push(TI(F.at(-1),Y.clip));continue;case"unclip":F.pop();continue;case"blit":{let{src:D,x:A,y:N,width:M,height:L}=Y,T=F.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(B.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&&B.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=F.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=CJ(l),y=N+s>E.x2?E.x2-N:s,x=h8(l,m,y);if(CJ(x)>y-m)x=h8(l,m,y-1);return x}),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+CJ(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=xI(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;wV(Q,D,A,N,M)}let W=U+H;if(W>1000&&H>U)MZ(`High write ratio: blit=${U}, write=${H} (${(H/W*100).toFixed(1)}% writes), screen=${z}x${K}`);return Q}}function CI(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=[],B=Q[0].styles;for(let F=0;F<z;F++){let W=Q[F],Y=W.styles;if(H.length>0&&!CI(Y,B))VA(H.join(""),B,K,U),H.length=0;H.push(W.value),B=Y}if(H.length>0)VA(H.join(""),B,K,U);return U}function VA(Q,K,z,U){let H=bV(K)??void 0,F=H!==void 0||K.some((Y)=>Y.code.length>=qG.length&&Y.code.startsWith(qG))?fV(K):K,W=z.intern(F);for(let{segment:Y}of TX().segment(Q))U.push({value:Y,width:CJ(Y),styleId:W,hyperlink:H})}function xI(Q,K,z,U,H,B,F){let W=F.get(K);if(!W)W=FA(SI(pY(uz(K)),B)),F.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++)KX(Q,Y,U,{char:" ",styleId:B.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){KX(Q,Y,U,{char:" ",styleId:B.none,width:3,hyperlink:void 0}),Y++;continue}KX(Q,Y,U,{char:A.value,styleId:A.styleId,width:L?1:0,hyperlink:A.hyperlink}),Y+=L?2:1}return Y}var CX=p(()=>{o1();g7();DA();e3();OA();ez();i6();K4();BH()});function FH(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 B=H?/^/gm:/^(?!\s*$)/gm;return Q.replace(B,U.repeat(K))}var AA=()=>{};var bI=(Q)=>{return Q.getComputedWidth()-Q.getComputedPadding(h0.Left)-Q.getComputedPadding(h0.Right)-Q.getComputedBorder(h0.Left)-Q.getComputedBorder(h0.Right)},NA;var MA=p(()=>{g8();NA=bI});var LA=f6((Uf,fI)=>{fI.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 _A=f6((qf,OH)=>{var PA=LA();OH.exports=PA;OH.exports.default=PA});function vI(Q,K,z,U=0,H){let B=CJ(K),F=Q.length;if(B>=F-2)return["",K.substring(0,F),""];let W;if(z==="center")W=Math.floor((F-B)/2);else if(z==="start")W=U+1;else W=F-B-U-1;W=Math.max(1,Math.min(W,F-B-1));let Y=Q.substring(0,1)+H.repeat(W-1),D=H.repeat(F-W-B-1)+Q.substring(F-1);return[Y,K,D]}function _4(Q,K,z){let U=_z(Q,K);if(z)U=O0.dim(U);return U}function $A(Q,K,z,U,H){if(K.length===0)return _4(Q,U,H);let B=[];for(let Y of K){let D=CJ(Y.content);if(D>=Q.length-2){let[L,T,_]=vI(Q,Y.content,Y.align,Y.offset,z);return _4(L,U,H)+T+_4(_,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(B.some((L)=>!(N<=L.start||A>=L.end)))continue;B.push({start:A,end:N,content:Y.content})}if(B.length===0)return _4(Q,U,H);B.sort((Y,D)=>Y.start-D.start);let F="",W=0;for(let Y of B){if(Y.start>W)F+=_4(Q.substring(W,Y.start),U,H);F+=Y.content,W=Y.end}if(W<Q.length)F+=_4(Q.substring(W),U,H);return F}function RA(Q,K){if(!Q)return[];return(Array.isArray(Q)?Q:[Q]).filter((U)=>U.position===K)}var IA,wI,yI=(Q,K,z,U)=>{if(z.style.borderStyle){let H=Math.floor(z.yogaNode.getComputedWidth()),B=Math.floor(z.yogaNode.getComputedHeight()),F=typeof z.style.borderStyle==="string"?wI[z.style.borderStyle]??IA.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?F.topLeft:"")+F.top.repeat(g)+(I?F.topRight:""):"",l;if(_){let i=RA(z.style.borderText,"top");l=$A(u,i,F.top,W,N)}let m=B;if(_)m-=1;if(E)m-=1;m=Math.max(0,m);let s=(_z(F.left,D)+`
229
+ `).repeat(m);if(L)s=O0.dim(s);let y=(_z(F.right,A)+`
230
+ `).repeat(m);if(T)y=O0.dim(y);let x=E?(C?F.bottomLeft:"")+F.bottom.repeat(g)+(I?F.bottomRight:""):"",o;if(E){let i=RA(z.style.borderText,"bottom");o=$A(x,i,F.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+B-1,o)}},kA;var EA=p(()=>{S3();p1();K4();IA=r(_A(),1),wI={dashed:{top:"╌",left:"╎",right:"╎",bottom:"╌",topLeft:" ",topRight:" ",bottomLeft:" ",bottomRight:" "}};kA=yI});function gI(){return process.env.TERM_PROGRAM==="vscode"||VX()}function AH(){$4=!1}function bA(){return $4}function fA(){SX=null,VH=RG,RG=[]}function wA(){return SX}function vA(){NH=null}function yA(){return NH}function gA(){let Q=DH;return DH=null,Q}function dI(Q,K,z){let U=K>0?1:-1,H=Math.abs(K),B=0;if(H>WH)B+=U*(H-WH),H=WH;let F=H<=uI?H:H<hI?pI:cI;B+=U*F;let W=H-F,Y=Math.max(1,z-1),D=Math.abs(B);if(D>Y){let A=D-Y;return Q.pendingScrollDelta=U*(W+A),U*Y}return Q.pendingScrollDelta=W>0?U*W:void 0,B}function lI(Q,K,z){let U=Math.abs(K),H=Math.max(1,z-1),B=Math.min(H,Math.max(mI,U*3>>2));if(U<=B)return Q.pendingScrollDelta=void 0,K;let F=K>0?B:-B;return Q.pendingScrollDelta=K-F,F}function xX(Q,K){return`${TA}8;;${K}${CA}${Q}${TA}8;;${CA}`}function aI(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 iI(Q,K,z,U,H=!1){let B=Q.split(`
231
+ `),F=[],W=0;for(let Y=0;Y<B.length;Y++){let D=B[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=J4(C,I.styles);if(I.hyperlink)g=xX(g,I.hyperlink);A+=g}else A+=C;N=_,M=E}W++}let L=D.slice(N),T=K[M];if(T){let _=J4(L,T.styles);if(T.hyperlink)_=xX(_,T.hyperlink);A+=_}else A+=L;if(F.push(A),W<U.length&&U[W]===`
232
+ `)W++;if(H&&Y<B.length-1){let _=B[Y+1],E=_.length>0?_[0]:null;while(W<U.length&&/\s/.test(U[W])){if(E!==null&&U[W]===E)break;W++}}}return F.join(`
233
+ `)}function SA(Q,K,z){if(z!=="wrap"&&z!=="wrap-trim")return{wrapped:c8(Q,K,z),softWrap:void 0};let U=Q.split(`
234
+ `),H=[],B=[];for(let F of U){let W=c8(F,K,z).split(`
235
+ `);for(let Y=0;Y<W.length;Y++)H.push(W[Y]),B.push(Y>0)}return{wrapped:H.join(`
236
+ `),softWrap:B}}function nI(Q,K,z){let U=Q.childNodes[0]?.yogaNode;if(U){let H=U.getComputedLeft(),B=U.getComputedTop();if(K=`
237
+ `.repeat(B)+FH(K,H),z&&B>0)z.unshift(...Array(B).fill(!1))}return K}function $G(Q){return Boolean(Q&&Q.nodeName!=="#text")}function mA(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 bX(Q,K,{offsetX:z=0,offsetY:U=0,prevScreen:H,skipSelfBlit:B=!1,inheritedBackgroundColor:F}){let{yogaNode:W}=Q;if(W){if(W.getDisplay()===mQ.None){if(Q.dirty){let I=oZ.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)}),MH(Q),$4=!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=oZ.get(Q);if(!Q.dirty&&!B&&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")RG.push(L);uA(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)$4=!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 _=n1.get(Q),E=_!==void 0;if(E){$4=!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)});n1.delete(Q)}if(M===0&&oI(Q,W)){oZ.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=bz(Q,F?{backgroundColor:F}:void 0),g=I.map((u)=>u.text).join("");if(g.length>0){let u=Math.min(NA(W),K.width-Y),l=Q.style.textWrap??"wrap",m=EX(g)>u,s,y;if(m&&I.length===1){let x=I[0],o=SA(g,u,l);y=o.softWrap,s=o.wrapped.split(`
238
+ `).map((d)=>{let i=J4(d,x.styles);if(x.hyperlink)i=xX(i,x.hyperlink);return i}).join(`
239
+ `)}else if(m){let x=SA(g,u,l);y=x.softWrap;let o=aI(I);s=iI(x.wrapped,I,o,g,l==="wrap-trim")}else s=I.map((x)=>{let o=J4(x.text,x.styles);if(x.hyperlink)o=xX(o,x.hyperlink);return o}).join("");s=nI(Q,s,y),K.write(Y,A,s,y)}}else if(Q.nodeName==="ink-box"){let I=Q.style.backgroundColor??F;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,x,o;if(y){let d=l?Y+W.getComputedBorder(h0.Left):void 0,i=l?Y+W.getComputedWidth()-W.getComputedBorder(h0.Right):void 0;x=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:x,y2:o})}if(s){let d=W.getComputedPadding(h0.Top),i=Math.max(0,(o??A+M)-(x??A)-d-W.getComputedPadding(h0.Bottom)),Z0=Q.childNodes.find((EZ)=>$G(EZ)&&EZ.yogaNode!==void 0),Q0=Z0?.yogaNode,a=Q0?.getComputedHeight()??0,K0=Q.scrollHeight??a,z0=Q.scrollViewportHeight??i;Q.scrollHeight=a,Q.scrollViewportHeight=i,Q.scrollViewportTop=(x??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,K0-z0),OJ=a>=K0;if((PZ||OJ&&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;DH={delta:kZ,viewportTop:EZ,viewportBottom:EZ+i-1}}let zJ=Q.scrollTop??0,sJ=Q.pendingScrollDelta,LJ=Q.scrollClampMin,GZ=Q.scrollClampMax,bJ=LJ!==void 0&&GZ!==void 0;if(sJ!==void 0&&sJ!==0){let UZ=bJ&&(sJ<0&&zJ<LJ||sJ>0&&zJ>GZ)?Math.min(4,i>>3):i;zJ+=gI()?dI(Q,sJ,UZ):lI(Q,sJ,UZ)}else if(sJ===0)Q.pendingScrollDelta=void 0;let y0=Math.max(0,Math.min(zJ,w0)),b9=bJ?Math.max(LJ,Math.min(y0,GZ)):y0;if(Q.scrollTop=y0,y0!==zJ)Q.pendingScrollDelta=void 0;if(Q.pendingScrollDelta!==void 0)NH=Q;if(y0=b9,Z0&&Q0){let EZ=Y+Q0.getComputedLeft(),UZ=A+Q0.getComputedTop()-y0,DZ=oZ.get(Z0),FQ=null;if(DZ&&DZ.y!==UZ){let $0=DZ.y-UZ,V0=Math.floor(A+Q0.getComputedTop()),t=V0+i-1;if(L?.y===A&&L.height===M&&i>0&&Math.abs($0)<i)FQ={top:V0,bottom:t,delta:$0},SX=FQ;else $4=!0}let WJ=Q0.getComputedHeight(),PJ=DZ?.height??WJ,_Q=WJ-PJ,X0=!FQ||_Q===0||FQ.delta>0&&_Q===FQ.delta;if(!X0)SX=null;if(FQ&&H&&X0){let{top:$0,bottom:V0,delta:t}=FQ,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,F0=t>0?V0:$0-t-1;K.clear({x:Math.floor(Y),y:U0,width:i0,height:F0-U0+1}),K.clip({x1:void 0,x2:void 0,y1:U0,y2:F0+1});let W0=Z0.dirty?new Set(Z0.childNodes.filter((r0)=>$G(r0)&&r0.dirty)):null;if(YH(Z0,K,EZ,UZ,E,void 0,U0-UZ,F0+1-UZ,I,!0),K.unclip(),W0){let r0=U0-UZ,E0=F0+1-UZ,n0=" ".repeat(i0),cZ=0;for(let XJ of Z0.childNodes){if(!$G(XJ))continue;let ZZ=XJ,YJ=W0.has(XJ);if(!YJ&&cZ===0){if(oZ.has(ZZ))continue}let d0=ZZ.yogaNode;if(!d0)continue;let e=d0.getComputedTop(),S0=d0.getComputedHeight(),j0=e+S0;if(YJ){let P0=oZ.get(ZZ);cZ+=S0-(P0?P0.height:0)}if(j0<=y0||e>=y0+i)continue;if(e>=r0&&j0<=E0)continue;let QZ=Math.floor(UZ+e);if(!YJ){let P0=oZ.get(ZZ);if(P0&&Math.floor(P0.y)-t===QZ)continue}let g0=Math.min(Math.floor(UZ+j0),Math.floor((x??A)+d+i));if(QZ<g0){let P0=Array(g0-QZ).fill(n0).join(`
240
+ `);K.write(Math.floor(Y),QZ,P0),K.clip({x1:void 0,x2:void 0,y1:QZ,y2:g0}),bX(ZZ,K,{offsetX:EZ,offsetY:UZ,prevScreen:void 0,inheritedBackgroundColor:I}),K.unclip()}}}let TZ=VH.length?" ".repeat(i0):"";for(let r0 of VH){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<=F0+1)continue;if(E0>=n0)continue;let cZ=Array(n0-E0).fill(TZ).join(`
241
+ `);K.write(Math.floor(Y),E0,cZ),K.clip({x1:void 0,x2:void 0,y1:E0,y2:n0}),YH(Z0,K,EZ,UZ,E,void 0,E0-UZ,n0-UZ,I,!0),K.unclip()}}else{let $0=DZ&&DZ.y!==UZ;if($0&&x!==void 0&&o!==void 0)K.clear({x:Math.floor(Y),y:Math.floor(x),width:Math.floor(N),height:Math.floor(o-x)});YH(Z0,K,EZ,UZ,E,$0||T?void 0:H,y0,y0+i,I)}oZ.set(Z0,{x:EZ,y:UZ,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),K0=Math.floor(N)-i-Z0,z0=Math.floor(M)-Q0-a;if(K0>0&&z0>0){let w0=" ".repeat(K0),C0=d?J4(w0,{backgroundColor:d}):w0,PZ=Array(z0).fill(C0).join(`
242
+ `);K.write(Y+i,A+Q0,PZ)}}xA(Q,K,Y,A,E,d||Q.style.opaque?void 0:H,I)}if(y)K.unclip();kA(Y,A,Q,K)}else if(Q.nodeName==="ink-root")xA(Q,K,Y,A,E,H,F);let C={x:Y,y:A,width:N,height:M,top:D};if(oZ.set(Q,C),Q.style.position==="absolute")RG.push(C);Q.dirty=!1}}function xA(Q,K,z,U,H,B,F){let W=!1,Y=!1;for(let D of Q.childNodes){if(!mA(D))continue;let A=D,N=A.dirty,M=A.style.position==="absolute";if(bX(A,K,{offsetX:z,offsetY:U,prevScreen:H||W?void 0:B,skipSelfBlit:Y&&M&&!A.style.opaque&&A.style.backgroundColor===void 0,inheritedBackgroundColor:F}),N&&!W)if(!sI(A)||M)W=!0;else Y=!0}}function sI(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 oI(Q,K){let z=Q.parentNode;if(!z)return!1;let U=K.getComputedTop(),H=z.childNodes,B=H.indexOf(Q);for(let F=B+1;F<H.length;F++){let W=H[F];if(!$G(W))continue;let Y=W.yogaNode;if(!Y)continue;return Y.getComputedTop()===U}for(let F=B-1;F>=0;F--){let W=H[F];if(!$G(W))continue;let Y=W.yogaNode;if(!Y)continue;return Y.getComputedTop()===U}return!1}function uA(Q,K,z,U,H,B,F){let W=U+B,Y=H+F;for(let D of Q.childNodes){if(D.nodeName==="#text")continue;let A=D;if(A.style.position==="absolute"){let N=oZ.get(A);if(N){RG.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,_)}}uA(A,K,z,U,H,B,F)}}function YH(Q,K,z,U,H,B,F,W,Y,D=!1){let A=!1,N=0;for(let M of Q.childNodes){if(!mA(M))continue;let L=M,T=L.yogaNode;if(T){let E=oZ.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<=F||C>=W){if(!D)MH(L);continue}}let _=L.dirty;if(bX(L,K,{offsetX:z,offsetY:U,prevScreen:H||A?void 0:B,inheritedBackgroundColor:Y}),_)A=!0}}function MH(Q){oZ.delete(Q);for(let K of Q.childNodes)if(K.nodeName!=="#text")MH(K)}var $4=!1,SX=null,VH,RG,NH=null,DH=null,mI=4,uI=5,hI=12,pI=2,cI=3,WH=30,TA="\x1B]",CA="\x07",IG;var fX=p(()=>{AA();p1();MA();g8();z4();EA();l3();DG();BH();lz();VH=[],RG=[];IG=bX});function hA(Q,K){let z=K.toLowerCase();if(!z)return[];let U=z.length,H=Q.width,B=Q.height,F=Q.noSelect,W=[],Y=performance.now();for(let D=0;D<B;D++){let A=D*H,N="",M=[],L=[];for(let _=0;_<H;_++){let E=A+_,C=a6(Q,E);if(C.width===2||C.width===3||F[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 tI.scan+=performance.now()-Y,W}function pA(Q,K,z,U,H){if(H<0||H>=z.length)return!1;let B=z[H],F=B.row+U;if(F<0||F>=Q.height)return!1;let W=(D)=>K.withCurrentMatch(D),Y=F*Q.width;for(let D=B.col;D<B.col+B.len;D++){if(D<0||D>=Q.width)continue;let A=a6(Q,Y+D);F4(Q,D,F,W(A.styleId))}return!0}var rI,tI;var cA=p(()=>{g7();ZG();GG();CX();tz();fX();i6();rI=r(Wz(),1),tI={reconcile:0,yoga:0,paint:0,scan:0,calls:0}});function LH(Q,K){let z;return(U)=>{let{frontFrame:H,backFrame:B,isTTY:F,terminalWidth:W,terminalRows:Y}=U,D=H.screen,A=B.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))MZ(`Invalid yoga dimensions: width=${T}, height=${L}, childNodes=${Q.childNodes.length}, terminalWidth=${W}, terminalRows=${Y}`);return{screen:l6(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)MZ(`alt-screen: yoga height ${I} > terminalRows ${Y} — `+"something is rendering outside <AlternateScreen>. Overflow clipped.",{level:"warn"});let u=A??l6(C,g,K,N,M);if(z)z.reset(C,g,u);else z=new J5({width:C,height:g,stylePool:K,screen:u});AH(),fA(),vA();let l=LY();IG(Q,z,{prevScreen:l||U.prevFrameContaminated?void 0:D});let m=z.get(),s=yA();if(s)BQ(s);return{scrollHint:U.altScreen?wA():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:!F||u.height===0}}}}var dA=p(()=>{g7();ZG();z4();CX();fX();i6()});function lA(Q,K,z){if(!K)return!1;let U=K.toLowerCase(),H=U.length,B=Q.width,F=Q.noSelect,W=Q.height,Y=!1;for(let D=0;D<W;D++){let A=D*B,N="",M=[],L=[];for(let _=0;_<B;_++){let E=A+_,C=a6(Q,E);if(C.width===2||C.width===3||F[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=a6(Q,A+I);F4(Q,I,D,z.withInverse(g.styleId))}T=N.indexOf(U,T+H)}}return Y}var aA=p(()=>{i6()});function df(){let Q=q9.useContext(R4);if(!Q)throw Error("useTerminalNotification must be used within TerminalWriteProvider");let K=q9.useCallback(({message:F,title:W})=>{let Y=W?`${W}:
243
+ ${F}`:F;Q(nJ(FJ(IZ.ITERM2,`
244
+
245
+ ${Y}`)))},[Q]),z=q9.useCallback(({message:F,title:W,id:Y})=>{Q(nJ(FJ(IZ.KITTY,`i=${Y}:d=0:p=title`,W))),Q(nJ(FJ(IZ.KITTY,`i=${Y}:p=body`,F))),Q(nJ(FJ(IZ.KITTY,`i=${Y}:d=1:a=focus`,"")))},[Q]),U=q9.useCallback(({message:F,title:W})=>{Q(nJ(FJ(IZ.GHOSTTY,"notify",W,F)))},[Q]),H=q9.useCallback(()=>{Q(Z6)},[Q]),B=q9.useCallback((F,W)=>{if(!BD())return;if(!F){Q(nJ(FJ(IZ.ITERM2,n8.PROGRESS,s8.CLEAR,"")));return}let Y=Math.max(0,Math.min(100,Math.round(W??0)));switch(F){case"completed":Q(nJ(FJ(IZ.ITERM2,n8.PROGRESS,s8.CLEAR,"")));break;case"error":Q(nJ(FJ(IZ.ITERM2,n8.PROGRESS,s8.ERROR,Y)));break;case"indeterminate":Q(nJ(FJ(IZ.ITERM2,n8.PROGRESS,s8.INDETERMINATE,"")));break;case"running":Q(nJ(FJ(IZ.ITERM2,n8.PROGRESS,s8.SET,Y)));break;case null:break}},[Q]);return q9.useMemo(()=>({notifyITerm2:K,notifyKitty:z,notifyGhostty:U,notifyBell:H,progress:B}),[K,z,U,H,B])}var q9,R4,iA;var wX=p(()=>{DG();d1();J6();q9=r(OZ(),1),R4=q9.createContext(null),iA=R4.Provider});import{closeSync as Zk,constants as nA,openSync as Jk,readSync as Qk,writeSync as o6}from"fs";import{format as sA}from"util";function oA(Q){return Object.freeze({type:"stdout",content:_H(Q,1)})}class kG{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=vV();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);MZ(`[Ink:${Q}] ${z}`,{level:"error"}),c6(K);try{this.options.stderr.write(`[Ink:${Q}] ${z}
246
+ `)}catch{}};constructor(Q){this.options=Q;if(A3(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=oA(this.terminalRows),this.stylePool=new QX,this.charPool=new zG,this.hyperlinkPool=new XG,this.frontFrame=d7(this.terminalRows,this.terminalColumns,this.stylePool,this.charPool,this.hyperlinkPool),this.backFrame=d7(this.terminalRows,this.terminalColumns,this.stylePool,this.charPool,this.hyperlinkPool),this.log=new KH({isTTY:Q.stdout.isTTY||!1,stylePool:this.stylePool});let K=()=>queueMicrotask(this.onRender);if(this.scheduleRender=IW(K,o8,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.unsubscribeExit=tA(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=r1("ink-root"),this.focusManager=new QG((z,U)=>d6.dispatchDiscrete(z,U)),this.rootNode.focusManager=this.focusManager,this.renderer=LH(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;PV(U);let H=Lz();this.lastYogaCounters={ms:U,...H}}},this.container=e9.createContainer(this.rootNode,eA.LegacyRoot,null,!1,null,"id",Fz,(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=d7(this.frontFrame.viewport.height,this.frontFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.backFrame=d7(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=oA(this.terminalRows),this.altScreenActive&&!this.isPaused&&this.options.stdout.isTTY){if(this.altScreenMouseTracking)this.options.stdout.write(OG);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(e8+LG+(this.altScreenMouseTracking?WG:"")+(this.altScreenActive?"":"\x1B[?1049h")+"\x1B[?1004l\x1B[0m\x1B[?25h\x1B[2J\x1B[H")}exitAlternateScreen(){if(this.options.stdout.write((this.altScreenActive?wj:"")+"\x1B[2J\x1B[H"+(this.altScreenMouseTracking?OG:"")+(this.altScreenActive?"":"\x1B[?1049l")+"\x1B[?25l"),this.resumeStdin(),this.altScreenActive)this.resetFramesForAltScreen();else this.repaint();this.resume(),this.options.stdout.write("\x1B[?1004h"+(VG()?e8+NG+MG:""))}onRender(){if(this.isUnmounted||this.isPaused)return;if(this.drainTimer!==null)clearTimeout(this.drainTimer),this.drainTimer=null;rA();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,B=gA();if(B&&this.selection.anchor&&this.selection.anchor.row>=B.viewportTop&&this.selection.anchor.row<=B.viewportBottom){let{delta:Z0,viewportTop:Q0,viewportBottom:a}=B;if(this.selection.isDragging){if(U9(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(U9(this.selection))jX(this.selection,this.frontFrame.screen,Q0,Q0+Z0-1,"above");if(lV(this.selection,-Z0,Q0,a))for(let z0 of this.selectionListeners)z0()}}let F=!1,W=!1;if(this.altScreenActive){if(F=U9(this.selection),F)nV(U.screen,this.selection,this.stylePool);if(W=lA(U.screen,this.searchHighlightQuery,this.stylePool),this.searchPositions){let Z0=this.searchPositions,Q0=pA(U.screen,this.stylePool,Z0.positions,Z0.rowOffset,Z0.currentIdx);W=W||Q0}}if(bA()||F||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&&YD(),N=this.log.render(Y,U,this.altScreenActive,mj,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=HV(this.rootNode,Z0.debug.triggerY);MZ(`[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(),_=XH(N),E=performance.now()-T,C=_.length>0;if(this.altScreenActive&&C){if(this.needsEraseBeforePaint)this.needsEraseBeforePaint=!1,_.unshift(zk);else _.unshift(Kk);_.push(this.altScreenParkPatch)}let I=this.cursorDeclaration,g=I!==null?oZ.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:D4(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:_H(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:D4(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:D4(Z0,Q0)})}this.displayCursor=null}}let s=performance.now(),y=this.altScreenActive?!mj:A||WD();uj(this.terminal,_,y);let x=performance.now()-s;if(this.prevFrameContaminated=F||W,U.scrollDrainPending)this.drainTimer=setTimeout(()=>this.onRender(),o8>>2);let o=_V(),d=$V(),i=this.lastYogaCounters;RV(),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:x,patches:N.length,yoga:o,commit:d,yogaVisited:i.visited,yogaMeasured:i.measured,yogaCacheHits:i.cacheHits,yogaLive:i.live},flickers:L})}pause(){e9.flushSyncFromReconciler(),this.onRender(),this.isPaused=!0}resume(){this.isPaused=!1,this.onRender()}repaint(){this.frontFrame=d7(this.frontFrame.viewport.height,this.frontFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.backFrame=d7(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(vX+Z5),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(VG())this.options.stdout.write(e8+NG+MG);if(!this.altScreenActive)return;if(this.altScreenMouseTracking)this.options.stdout.write(OG);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(){Xk(this.options.stdin)}reenterAltScreen(){this.options.stdout.write(wj+vX+Z5+(this.altScreenMouseTracking?OG:"")),this.resetFramesForAltScreen()}resetFramesForAltScreen(){let Q=this.terminalRows,K=this.terminalColumns,z=()=>({screen:l6(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(!U9(this.selection))return"";let Q=iV(this.selection,this.frontFrame.screen);if(Q)GD(Q).then((K)=>{if(K)this.options.stdout.write(K)});return Q}copySelection(){if(!U9(this.selection))return"";let Q=this.copySelectionNoClear();return HG(this.selection),this.notifySelectionChange(),Q}clearTextSelection(){if(!U9(this.selection))return;HG(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(),B=l6(K,z,this.stylePool,this.charPool,this.hyperlinkPool),F=new J5({width:K,height:z,stylePool:this.stylePool,screen:B});IG(Q,F,{offsetX:-U,offsetY:-H,prevScreen:void 0});let W=F.get();BQ(Q);let Y=hA(W,this.searchHighlightQuery);return MZ(`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=y7("\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=U9(this.selection);if(dV(this.selection,Q,K,z,this.frontFrame.screen.width),U&&!U9(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,B=U-1,{col:F,row:W}=K;switch(Q){case"left":if(F>0)F--;else if(W>0)F=H,W--;break;case"right":if(F<H)F++;else if(W<B)F=0,W++;break;case"up":if(W>0)W--;break;case"down":if(W<B)W++;break;case"lineStart":F=0;break;case"lineEnd":F=H;break}if(F===K.col&&W===K.row)return;cV(this.selection,F,W),this.notifySelectionChange()}hasTextSelection(){return U9(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=GX(this.frontFrame.screen,Q,K);return eD(this.rootNode,Q,K,z)}dispatchHover(Q,K){if(!this.altScreenActive)return;ZA(this.rootNode,Q,K,this.hoveredNodes)}dispatchKeyboardEvent(Q){let K=this.focusManager.activeElement??this.rootNode,z=new JH(Q);if(d6.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??uV(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)mV(this.selection,U,Q,K);else hV(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)pV(z,this.frontFrame.screen,Q,K);else yV(z,Q,K);this.notifySelectionChange()}stdinListeners=[];wasRawMode=!1;suspendStdin(){let Q=this.options.stdin;if(!Q.isTTY)return;let K=Q.listeners("readable");MZ(`[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)MZ("[stdin] resumeStdin: called with no stored listeners and wasRawMode=false (possible desync)",{level:"warn"});if(MZ(`[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){MZ("[Ink:render] start"),this.currentNode=Q;let K=PH.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:PH.jsxDEV(iA,{value:this.writeRaw,children:Q},void 0,!1,void 0,this)},void 0,!1,void 0,this);e9.updateContainerSync(K,this.container,null,Fz),e9.flushSyncWork(),MZ("[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(uj(this.terminal,XH(K)),this.options.stdout.isTTY){if(this.altScreenActive)o6(1,tV);if(o6(1,WG),this.drainStdin(),o6(1,LG),o6(1,e8),o6(1,BG),o6(1,BX),o6(1,a8),o6(1,zD),V4())o6(1,nJ(WX))}if(this.isUnmounted=!0,this.scheduleRender.cancel?.(),this.drainTimer!==null)clearTimeout(this.drainTimer),this.drainTimer=null;if(e9.updateContainerSync(null,this.container,null,Fz),e9.flushSyncWork(),Q6.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=d7(this.frontFrame.viewport.height,this.frontFrame.viewport.width,this.stylePool,this.charPool,this.hyperlinkPool),this.log.reset(),this.displayCursor=null}resetPools(){this.charPool=new zG,this.hyperlinkPool=new XG,TV(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)=>MZ(`console.log: ${sA(...H)}`),U=(...H)=>c6(Error(`console.error: ${sA(...H)}`));for(let H of Uk)K[H]=Q[H],Q[H]=z;for(let H of qk)K[H]=Q[H],Q[H]=U;return K.assert=Q.assert,Q.assert=(H,...B)=>{if(!H)U(...B)},()=>Object.assign(Q,K)}patchStderr(){let Q=process.stderr,K=Q.write,z=!1,U=(H,B,F)=>{let W=typeof B==="function"?B:F;if(z){let Y=typeof B==="string"?B:void 0;return K.call(Q,H,Y,W)}z=!0;try{let Y=typeof H==="string"?H:Buffer.from(H).toString("utf8");if(MZ(`[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 Xk(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=Jk("/dev/tty",nA.O_RDONLY|nA.O_NONBLOCK);let H=Buffer.alloc(1024);for(let B=0;B<64;B++)if(Qk(U,H,0,H.length,null)<=0)break}catch{}finally{if(U>=0)try{Zk(U)}catch{}if(!z)try{K.setRawMode?.(!1)}catch{}}}var eA,PH,Gk,Kk,zk,Uk,qk;var ZN=p(()=>{OW();WW();kW();eI();x3();Pz();g7();Bj();p1();oD();nj();ZG();rD();GG();tD();JA();_X();qA();z4();jA();CX();tz();fX();cA();dA();i6();aA();HX();DG();h6();YG();J6();wX();eA=r(Wz(),1),PH=r(t0(),1),Gk=Object.freeze({x:0,y:0,visible:!1}),Kk=Object.freeze({type:"stdout",content:Z5}),zk=Object.freeze({type:"stdout",content:vX+Z5});Uk=["log","info","debug","dir","dirxml","count","countReset","group","groupCollapsed","groupEnd","table","time","timeEnd","timeLog"],qk=["warn","error","trace"]});import{Stream as jk}from"stream";async function JN({stdout:Q=process.stdout,stdin:K=process.stdin,stderr:z=process.stderr,exitOnCtrlC:U=!0,patchConsole:H=!0,onFrame:B}={}){await Promise.resolve();let F=new kG({stdout:Q,stdin:K,stderr:z,exitOnCtrlC:U,patchConsole:H,onFrame:B});return Q6.set(Q,F),{render:(W)=>F.render(W),unmount:()=>F.unmount(),waitUntilExit:()=>F.waitUntilExit()}}var Hk=(Q,K)=>{let z=Fk(K),U={stdout:process.stdout,stdin:process.stdin,stderr:process.stderr,exitOnCtrlC:!0,patchConsole:!0,...z},H=Ok(U.stdout,()=>new kG(U));return H.render(Q),{rerender:H.render,unmount(){H.unmount()},waitUntilExit:H.waitUntilExit,cleanup:()=>Q6.delete(U.stdout)}},Bk=async(Q,K)=>{await Promise.resolve();let z=Hk(Q,K);return MZ(`[render] first ink render: ${Math.round(process.uptime()*1000)}ms since process start`),z},QN,Fk=(Q={})=>{if(Q instanceof jk)return{stdout:Q,stdin:process.stdin};return Q},Ok=(Q,K)=>{let z=Q6.get(Q);if(!z)z=K(),Q6.set(Q,z);return z};var GN=p(()=>{g7();ZN();_X();QN=Bk});function I4(Q){switch(Q){case"light":return Yk;case"light-ansi":return Vk;case"dark-ansi":return Dk;case"light-daltonized":return Ak;case"dark-daltonized":return Mk;default:return Nk}}function vw(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),B=Lk.rgb(z,U,H)("X");return B.slice(0,B.indexOf("X"))}return"\x1B[35m"}var Wk,ww,Yk,Vk,Dk,Ak,Nk,Mk,Lk;var yX=p(()=>{S3();vj();Wk=["dark","light","light-daltonized","dark-daltonized","light-ansi","dark-ansi"],ww=["auto",...Wk],Yk={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)"},Vk={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"},Dk={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"},Ak={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)"},Nk={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)"},Mk={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)"};Lk=Y4.terminal==="Apple_Terminal"?new KN({level:2}):O0});function Pk(Q,K,z="foreground"){return(U)=>{if(!Q)return U;if(Q.startsWith("rgb(")||Q.startsWith("#")||Q.startsWith("ansi256(")||Q.startsWith("ansi:"))return y7(U,Q,z);return y7(U,I4(K)[Q],z)}}var zN=p(()=>{p1();yX()});function k4(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=XN.c(33),U,H,B,F,W,Y,D,A;if(z[0]!==Q)({borderColor:B,borderTopColor:Y,borderBottomColor:H,borderLeftColor:F,borderRightColor:W,backgroundColor:U,children:D,...A}=Q),z[0]=Q,z[1]=U,z[2]=H,z[3]=B,z[4]=F,z[5]=W,z[6]=Y,z[7]=D,z[8]=A;else U=z[1],H=z[2],B=z[3],F=z[4],W=z[5],Y=z[6],D=z[7],A=z[8];let[N]=y1(),M,L,T,_,E,C;if(z[10]!==U||z[11]!==H||z[12]!==B||z[13]!==F||z[14]!==W||z[15]!==Y||z[16]!==N){let u=I4(N);L=k4(B,u),E=k4(Y,u),M=k4(H,u),T=k4(F,u),_=k4(W,u),C=k4(U,u),z[10]=U,z[11]=H,z[12]=B,z[13]=F,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=jN.jsxDEV(uQ,{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 XN,UN,jN,qN,$k;var HN=p(()=>{r8();yX();g1();XN=r(jQ(),1),UN=r(OZ(),1),jN=r(t0(),1);qN=UN.default.forwardRef(_k);qN.displayName="ThemedBox";$k=qN});function BN(Q,K){if(!Q)return;if(Q.startsWith("rgb(")||Q.startsWith("#")||Q.startsWith("ansi256(")||Q.startsWith("ansi:"))return Q;return K[Q]}function ON(Q){let K=FN.c(10),{color:z,backgroundColor:U,dimColor:H,bold:B,italic:F,underline:W,strikethrough:Y,inverse:D,wrap:A,children:N}=Q,M=H===void 0?!1:H,L=B===void 0?!1:B,T=F===void 0?!1:F,_=W===void 0?!1:W,E=Y===void 0?!1:Y,C=D===void 0?!1:D,I=A===void 0?"wrap":A,[g]=y1(),u=I4(g),l=gX.useContext(Rk),m=!z&&l?BN(l,u):M?u.inactive:BN(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=WN.jsxDEV(rZ,{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 FN,gX,WN,Rk;var YN=p(()=>{M4();yX();g1();FN=r(jQ(),1),gX=r(OZ(),1),WN=r(t0(),1),Rk=gX.default.createContext(void 0)});var AN=f6((sw,DN)=>{var Ek=kk(),E4=Ik();function VN(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:B,TERM_PROGRAM_VERSION:F,VTE_VERSION:W,TERM:Y}=process.env;if(z)return!(z.length>0&&parseInt(z,10)===0);if(E4("no-hyperlink")||E4("no-hyperlinks")||E4("hyperlink=false")||E4("hyperlink=never"))return!1;if(E4("hyperlink=true")||E4("hyperlink=always"))return!0;if(U)return!0;if(!Ek.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(B){let D=VN(F||"");switch(B){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=VN(W);return D.major>0||D.minor>=50}switch(Y){case"alacritty":return!0}return!1}DN.exports={supportsHyperlink:$H,stdout:$H(process.stdout),stderr:$H(process.stderr)}});function MN(Q){if(Q?.stdoutSupported??RH.default.stdout)return!0;let z=Q?.env??process.env,U=z.TERM_PROGRAM;if(U&&NN.includes(U))return!0;let H=z.LC_TERMINAL;if(H&&NN.includes(H))return!0;if(z.TERM?.includes("kitty"))return!0;return!1}var RH,NN;var LN=p(()=>{RH=r(AN(),1),NN=["ghostty","Hyper","kitty","alacritty","iTerm.app","iTerm2"]});function EG(Q){let K=PN.c(5),{children:z,url:U,fallback:H}=Q,B=z??U;if(MN()){let Y;if(K[0]!==B||K[1]!==U)Y=mX.jsxDEV(rZ,{children:mX.jsxDEV("ink-link",{href:U,children:B},void 0,!1,void 0,this)},void 0,!1,void 0,this),K[0]=B,K[1]=U,K[2]=Y;else Y=K[2];return Y}let F=H??B,W;if(K[3]!==F)W=mX.jsxDEV(rZ,{children:F},void 0,!1,void 0,this),K[3]=F,K[4]=W;else W=K[4];return W}var PN,mX;var IH=p(()=>{LN();M4();PN=r(jQ(),1),mX=r(t0(),1)});function _N(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 $N=()=>{};function T4(){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 uX=()=>{};function Ck(Q){if(Q==="")return[{value:0,subparams:[],colon:!1}];let K=[],z={value:null,subparams:[],colon:!1},U="",H=!1;for(let B=0;B<=Q.length;B++){let F=Q[B];if(F===";"||F===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(F===":"){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(F>="0"&&F<="9")U+=F}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,B=Q[K+3]?.value,F=Q[K+4]?.value;if(H!==null&&H!==void 0&&B!==null&&B!==void 0&&F!==null&&F!==void 0)return{r:H,g:B,b:F}}return null}function RN(Q,K){let z=Ck(Q),U={...K},H=0;while(H<z.length){let B=z[H],F=B.value??0;if(F===0){U=T4(),H++;continue}if(F===1){U.bold=!0,H++;continue}if(F===2){U.dim=!0,H++;continue}if(F===3){U.italic=!0,H++;continue}if(F===4){U.underline=B.colon?Tk[B.subparams[0]]??"single":"single",H++;continue}if(F===5||F===6){U.blink=!0,H++;continue}if(F===7){U.inverse=!0,H++;continue}if(F===8){U.hidden=!0,H++;continue}if(F===9){U.strikethrough=!0,H++;continue}if(F===21){U.underline="double",H++;continue}if(F===22){U.bold=!1,U.dim=!1,H++;continue}if(F===23){U.italic=!1,H++;continue}if(F===24){U.underline="none",H++;continue}if(F===25){U.blink=!1,H++;continue}if(F===27){U.inverse=!1,H++;continue}if(F===28){U.hidden=!1,H++;continue}if(F===29){U.strikethrough=!1,H++;continue}if(F===53){U.overline=!0,H++;continue}if(F===55){U.overline=!1,H++;continue}if(F>=30&&F<=37){U.fg={type:"named",name:hX[F-30]},H++;continue}if(F===39){U.fg={type:"default"},H++;continue}if(F>=40&&F<=47){U.bg={type:"named",name:hX[F-40]},H++;continue}if(F===49){U.bg={type:"default"},H++;continue}if(F>=90&&F<=97){U.fg={type:"named",name:hX[F-90+8]},H++;continue}if(F>=100&&F<=107){U.bg={type:"named",name:hX[F-100+8]},H++;continue}if(F===38){let W=kH(z,H);if(W){U.fg="index"in W?{type:"indexed",index:W.index}:{type:"rgb",...W},H+=B.colon?1:("index"in W)?3:5;continue}}if(F===48){let W=kH(z,H);if(W){U.bg="index"in W?{type:"indexed",index:W.index}:{type:"rgb",...W},H+=B.colon?1:("index"in W)?3:5;continue}}if(F===58){let W=kH(z,H);if(W){U.underlineColor="index"in W?{type:"indexed",index:W.index}:{type:"rgb",...W},H+=B.colon?1:("index"in W)?3:5;continue}}if(F===59){U.underlineColor={type:"default"},H++;continue}H++}return U}var hX,Tk;var IN=p(()=>{uX();hX=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Tk=["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 xk(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 fk(Q){if(bk(Q))return 2;let K=Q.codePointAt(0);if(K===void 0)return 1;if(Sk(K)||xk(K))return 2;return 1}function*kN(Q){for(let{segment:K}of TX().segment(Q))yield{value:K,width:fk(K)}}function wk(Q){if(Q==="")return[];return Q.split(/[;:]/).map((K)=>K===""?0:parseInt(K,10))}function vk(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="",B=U,F="";if(U.length>0&&"?>=".includes(U[0]))H=U[0],B=U.slice(1);let W=B.match(/([^0-9;:]+)$/);if(W)F=W[1],B=B.slice(0,-F.length);let Y=wk(B),D=Y[0]??1,A=Y[1]??1;if(z===yZ.SGR&&H==="")return{type:"sgr",params:B};if(z===yZ.CUU)return{type:"cursor",action:{type:"move",direction:"up",count:D}};if(z===yZ.CUD)return{type:"cursor",action:{type:"move",direction:"down",count:D}};if(z===yZ.CUF)return{type:"cursor",action:{type:"move",direction:"forward",count:D}};if(z===yZ.CUB)return{type:"cursor",action:{type:"move",direction:"back",count:D}};if(z===yZ.CNL)return{type:"cursor",action:{type:"nextLine",count:D}};if(z===yZ.CPL)return{type:"cursor",action:{type:"prevLine",count:D}};if(z===yZ.CHA)return{type:"cursor",action:{type:"column",col:D}};if(z===yZ.CUP||z===yZ.HVP)return{type:"cursor",action:{type:"position",row:D,col:A}};if(z===yZ.VPA)return{type:"cursor",action:{type:"row",row:D}};if(z===yZ.ED)return{type:"erase",action:{type:"display",region:EN[Y[0]??0]??"toEnd"}};if(z===yZ.EL)return{type:"erase",action:{type:"line",region:TN[Y[0]??0]??"toEnd"}};if(z===yZ.ECH)return{type:"erase",action:{type:"chars",count:D}};if(z===yZ.SU)return{type:"scroll",action:{type:"up",count:D}};if(z===yZ.SD)return{type:"scroll",action:{type:"down",count:D}};if(z===yZ.DECSTBM)return{type:"scroll",action:{type:"setRegion",top:D,bottom:A}};if(z===yZ.SCOSC)return{type:"cursor",action:{type:"save"}};if(z===yZ.SCORC)return{type:"cursor",action:{type:"restore"}};if(z===yZ.DECSCUSR&&F===" ")return{type:"cursor",action:{type:"style",...EH[D]??EH[0]}};if(H==="?"&&(z===yZ.SM||z===yZ.RM)){let N=z===yZ.SM;if(D===VZ.CURSOR_VISIBLE)return{type:"cursor",action:N?{type:"show"}:{type:"hide"}};if(D===VZ.ALT_SCREEN_CLEAR||D===VZ.ALT_SCREEN)return{type:"mode",action:{type:"alternateScreen",enabled:N}};if(D===VZ.BRACKETED_PASTE)return{type:"mode",action:{type:"bracketedPaste",enabled:N}};if(D===VZ.MOUSE_NORMAL)return{type:"mode",action:{type:"mouseTracking",mode:N?"normal":"off"}};if(D===VZ.MOUSE_BUTTON)return{type:"mode",action:{type:"mouseTracking",mode:N?"button":"off"}};if(D===VZ.MOUSE_ANY)return{type:"mode",action:{type:"mouseTracking",mode:N?"any":"off"}};if(D===VZ.FOCUS_EVENTS)return{type:"mode",action:{type:"focusEvents",enabled:N}}}return{type:"unknown",sequence:Q}}function yk(Q){if(Q.length<2)return"unknown";if(Q.charCodeAt(0)!==r9.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 pX{tokenizer=Q4();style=T4();inLink=!1;linkUrl;reset(){this.tokenizer.reset(),this.style=T4(),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)===r9.BEL){if(z){let H=[...kN(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=[...kN(z)];if(U.length>0)K.push({type:"text",graphemes:U,style:{...this.style}})}return K}processSequence(Q){switch(yk(Q)){case"csi":{let z=vk(Q);if(!z)return[];if(z.type==="sgr")return this.style=RN(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=KD(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=_N(z);return U?[U]:[]}case"ss3":return[{type:"unknown",sequence:Q}];default:return[{type:"unknown",sequence:Q}]}}}var CN=p(()=>{DA();d1();h6();YG();$N();J6();IN();Rz();uX()});var SN=p(()=>{CN();uX()});function mk(Q){let z=new pX().feed(Q),U=[],H;for(let B of z){if(B.type==="link"){if(B.action.type==="start")H=B.action.url;else H=void 0;continue}if(B.type==="text"){let F=B.graphemes.map((D)=>D.value).join("");if(!F)continue;let W=uk(B.style);if(H)W.hyperlink=H;let Y=U[U.length-1];if(Y&&pk(Y.props,W))Y.text+=F;else U.push({text:F,props:W})}}return U}function uk(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=xN(Q.fg);if(z)K.color=z;let U=xN(Q.bg);if(U)K.backgroundColor=U;return K}function xN(Q){switch(Q.type){case"named":return hk[Q.name];case"indexed":return`ansi256(${Q.index})`;case"rgb":return`rgb(${Q.r},${Q.g},${Q.b})`;case"default":return}}function pk(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 ck(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 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}function bN(Q){let K=TH.c(14),z,U,H,B;if(K[0]!==Q)({bold:z,dim:H,children:U,...B}=Q),K[0]=Q,K[1]=z,K[2]=U,K[3]=H,K[4]=B;else z=K[1],U=K[2],H=K[3],B=K[4];if(H){let W;if(K[5]!==U||K[6]!==B)W=PQ.jsxDEV(rZ,{...B,dim:!0,children:U},void 0,!1,void 0,this),K[5]=U,K[6]=B,K[7]=W;else W=K[7];return W}if(z){let W;if(K[8]!==U||K[9]!==B)W=PQ.jsxDEV(rZ,{...B,bold:!0,children:U},void 0,!1,void 0,this),K[8]=U,K[9]=B,K[10]=W;else W=K[10];return W}let F;if(K[11]!==U||K[12]!==B)F=PQ.jsxDEV(rZ,{...B,children:U},void 0,!1,void 0,this),K[11]=U,K[12]=B,K[13]=F;else F=K[13];return F}var TH,fN,PQ,gk,hk;var wN=p(()=>{IH();M4();SN();TH=r(jQ(),1),fN=r(OZ(),1),PQ=r(t0(),1),gk=fN.default.memo(function(K){let z=TH.c(12),{children:U,dimColor:H}=K;if(typeof U!=="string"){let D;if(z[0]!==U||z[1]!==H)D=H?PQ.jsxDEV(rZ,{dim:!0,children:String(U)},void 0,!1,void 0,this):PQ.jsxDEV(rZ,{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 B,F;if(z[3]!==U||z[4]!==H){F=Symbol.for("react.early_return_sentinel");Z:{let D=mk(U);if(D.length===0){F=null;break Z}if(D.length===1&&!ck(D[0].props)){F=H?PQ.jsxDEV(rZ,{dim:!0,children:D[0].text},void 0,!1,void 0,this):PQ.jsxDEV(rZ,{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=dk(N.props);if(L)return T?PQ.jsxDEV(EG,{url:L,children:PQ.jsxDEV(bN,{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):PQ.jsxDEV(EG,{url:L,children:N.text},M,!1,void 0,this);return T?PQ.jsxDEV(bN,{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];B=D.map(A)}z[3]=U,z[4]=H,z[5]=B,z[6]=F}else B=z[5],F=z[6];if(F!==Symbol.for("react.early_return_sentinel"))return F;let W=B,Y;if(z[9]!==W||z[10]!==H)Y=H?PQ.jsxDEV(rZ,{dim:!0,children:W},void 0,!1,void 0,this):PQ.jsxDEV(rZ,{children:W},void 0,!1,void 0,this),z[9]=W,z[10]=H,z[11]=Y;else Y=z[11];return Y});hk={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 lk(Q){let K=vN.c(30),z,U,H,B,F,W;if(K[0]!==Q)({onAction:H,tabIndex:W,autoFocus:z,children:U,ref:B,...F}=Q),K[0]=Q,K[1]=z,K[2]=U,K[3]=H,K[4]=B,K[5]=F,K[6]=W;else z=K[1],U=K[2],H=K[3],B=K[4],F=K[5],W=K[6];let Y=W===void 0?0:W,[D,A]=l7.useState(!1),[N,M]=l7.useState(!1),[L,T]=l7.useState(!1),_=l7.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];l7.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(ak,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 x=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,K0;if(K[22]!==z||K[23]!==a||K[24]!==l||K[25]!==g||K[26]!==B||K[27]!==F||K[28]!==Y)K0=yN.jsxDEV(uQ,{ref:B,tabIndex:Y,autoFocus:z,onKeyDown:g,onClick:l,onFocus:s,onBlur:x,onMouseEnter:d,onMouseLeave:Z0,...F,children:a},void 0,!1,void 0,this),K[22]=z,K[23]=a,K[24]=l,K[25]=g,K[26]=B,K[27]=F,K[28]=Y,K[29]=K0;else K0=K[29];return K0}function ak(Q){return Q(!1)}var vN,l7,yN,ik;var gN=p(()=>{r8();vN=r(jQ(),1),l7=r(OZ(),1),yN=r(t0(),1);ik=lk});function uN(Q){let K=mN.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 B;if(K[2]!==H)B=hN.jsxDEV("ink-text",{children:H},void 0,!1,void 0,this),K[2]=H,K[3]=B;else B=K[3];return B}var mN,hN;var pN=p(()=>{mN=r(jQ(),1),hN=r(t0(),1)});function nk(Q){let K=cN.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 B=H?"from-left-edge":!0,F;if(K[4]!==z||K[5]!==U||K[6]!==B)F=dN.jsxDEV(uQ,{...z,noSelect:B,children:U},void 0,!1,void 0,this),K[4]=z,K[5]=U,K[6]=B,K[7]=F;else F=K[7];return F}var cN,dN;var lN=p(()=>{r8();cN=r(jQ(),1),dN=r(t0(),1)});function sk(Q){let K=aN.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 B;if(K[2]!==z.length||K[3]!==H||K[4]!==U)B=iN.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]=B;else B=K[5];return B}var aN,iN;var nN=p(()=>{aN=r(jQ(),1),iN=r(t0(),1)});function oN(){let Q=sN.c(1),K;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))K=rN.jsxDEV(uQ,{flexGrow:1},void 0,!1,void 0,this),Q[0]=K;else K=Q[0];return K}var sN,rN;var tN=p(()=>{r8();sN=r(jQ(),1),rN=r(t0(),1)});function CH(){let Q=r6.useContext(MX),K=r6.useRef(null),z=r6.useRef({isVisible:!0}),U=r6.useCallback((H)=>{K.current=H},[]);return r6.useLayoutEffect(()=>{let H=K.current;if(!H?.yogaNode||!Q)return;let B=H.yogaNode.getComputedHeight(),F=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+B,M=A>F?1:0,L=Math.max(0,A-F)+M,T=L+F,_=N>L&&W<T;if(_!==z.current.isVisible)z.current={isVisible:_}}),[U,z.current]}var r6;var SH=p(()=>{ZH();r6=r(OZ(),1)});function ok(Q=16){let K=C4.useContext(N4),[z,{isVisible:U}]=CH(),[H,B]=C4.useState(()=>K?.now()??0),F=U&&Q!==null;return C4.useEffect(()=>{if(!K||!F)return;let W=K.now(),Y=()=>{let D=K.now();if(D-W>=Q)W=D,B(D)};return K.subscribe(Y,!0)},[K,Q,F]),[z,H]}var C4;var eN=p(()=>{NX();SH();C4=r(OZ(),1)});var ZM,rk=()=>ZM.useContext(AX),tk;var JM=p(()=>{ij();ZM=r(OZ(),1),tk=rk});var zM=f6((uv,KM)=>{var ek="Expected a function",QM=NaN,ZE="[object Symbol]",JE=/^\s+|\s+$/g,QE=/^[-+]0x[0-9a-f]+$/i,GE=/^0b[01]+$/i,KE=/^0o[0-7]+$/i,zE=parseInt,XE=typeof global=="object"&&global&&global.Object===Object&&global,UE=typeof self=="object"&&self&&self.Object===Object&&self,qE=XE||UE||Function("return this")(),jE=Object.prototype,HE=jE.toString,BE=Math.max,FE=Math.min,xH=function(){return qE.Date.now()};function OE(Q,K,z){var U,H,B,F,W,Y,D=0,A=!1,N=!1,M=!0;if(typeof Q!="function")throw TypeError(ek);if(K=GM(K)||0,bH(z))A=!!z.leading,N="maxWait"in z,B=N?BE(GM(z.maxWait)||0,K):B,M="trailing"in z?!!z.trailing:M;function L(m){var s=U,y=H;return U=H=void 0,D=m,F=Q.apply(y,s),F}function T(m){return D=m,W=setTimeout(C,K),A?L(m):F}function _(m){var s=m-Y,y=m-D,x=K-s;return N?FE(x,B-y):x}function E(m){var s=m-Y,y=m-D;return Y===void 0||s>=K||s<0||N&&y>=B}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,F}function g(){if(W!==void 0)clearTimeout(W);D=0,U=Y=H=W=void 0}function u(){return W===void 0?F: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 F}return l.cancel=g,l.flush=u,l}function bH(Q){var K=typeof Q;return!!Q&&(K=="object"||K=="function")}function WE(Q){return!!Q&&typeof Q=="object"}function YE(Q){return typeof Q=="symbol"||WE(Q)&&HE.call(Q)==ZE}function GM(Q){if(typeof Q=="number")return Q;if(YE(Q))return QM;if(bH(Q)){var K=typeof Q.valueOf=="function"?Q.valueOf():Q;Q=bH(K)?K+"":K}if(typeof Q!="string")return Q===0?Q:+Q;Q=Q.replace(JE,"");var z=GE.test(Q);return z||KE.test(Q)?zE(Q.slice(2),z?2:8):QE.test(Q)?QM:+Q}KM.exports=OE});function hv(Q,K){let z=xJ.useRef(Q);XM(()=>{z.current=Q},[Q]),xJ.useEffect(()=>{if(K===null)return;let U=setInterval(()=>{z.current()},K);return()=>{clearInterval(U)}},[K])}function UM(Q){let K=xJ.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return XM(()=>{K.current=Q},[Q]),xJ.useCallback((...z)=>{var U;return(U=K.current)==null?void 0:U.call(K,...z)},[K])}function VE(Q){let K=xJ.useRef(Q);K.current=Q,xJ.useEffect(()=>()=>{K.current()},[])}function pv(Q,K=500,z){let U=xJ.useRef();VE(()=>{if(U.current)U.current.cancel()});let H=xJ.useMemo(()=>{let B=fH.default(Q,K,z),F=(...W)=>{return B(...W)};return F.cancel=()=>{B.cancel()},F.isPending=()=>{return!!U.current},F.flush=()=>{return B.flush()},F},[Q,K,z]);return xJ.useEffect(()=>{U.current=fH.default(Q,K,z)},[Q,K,z]),H}var xJ,fH,XM;var qM=p(()=>{xJ=r(OZ(),1),fH=r(zM(),1),XM=typeof window<"u"?xJ.useLayoutEffect:xJ.useEffect});var cX,DE=(Q,K={})=>{let{setRawMode:z,internal_exitOnCtrlC:U,internal_eventEmitter:H}=w1();cX.useLayoutEffect(()=>{if(K.isActive===!1)return;return z(!0),()=>{z(!1)}},[K.isActive,z]);let B=UM((F)=>{if(K.isActive===!1)return;let{input:W,key:Y}=F;if(!(W==="c"&&Y.ctrl)||!U)Q(W,Y,F)});cX.useEffect(()=>{return H?.on("input",B),()=>{H?.removeListener("input",B)}},[H,B])},AE;var jM=p(()=>{qM();jz();cX=r(OZ(),1),AE=DE});function NE(Q){let K=G6.useContext(N4),[z,U]=G6.useState(()=>K?.now()??0);return G6.useEffect(()=>{if(!K)return;let H=K.now(),B=()=>{let F=K.now();if(F-H>=Q)H=F,U(F)};return K.subscribe(B,!1)},[K,Q]),z}function ME(Q,K){let z=G6.useRef(Q);z.current=Q;let U=G6.useContext(N4);G6.useEffect(()=>{if(!U||K===null)return;let H=U.now(),B=()=>{let F=U.now();if(F-H>=K)H=F,z.current()};return U.subscribe(B,!1)},[U,K])}var G6;var HM=p(()=>{NX();G6=r(OZ(),1)});function LE(){Q5.useContext(x8);let Q=Q6.get(process.stdout);return Q5.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 tv(){Q5.useContext(x8);let Q=Q6.get(process.stdout);return Q5.useSyncExternalStore(Q?Q.subscribeToSelectionChange:PE,Q?Q.hasTextSelection:_E)}var Q5,PE=()=>()=>{},_E=()=>!1;var BM=p(()=>{qz();_X();HX();Q5=r(OZ(),1)});function RE(Q){let K=x4.useContext(R4),z=x4.useRef(null);x4.useEffect(()=>{if(Q===null){if(z.current!==null&&K&&V4())K(nJ(WX));z.current=null;return}if(z.current=Q,!K||!V4())return;K(nJ(XD($E[Q])))},[Q,K])}var x4,S4=(Q,K,z)=>({type:"rgb",r:Q,g:K,b:z}),$E;var FM=p(()=>{J6();wX();x4=r(OZ(),1),$E={idle:{indicator:S4(0,215,95),status:"Idle",statusColor:S4(136,136,136)},busy:{indicator:S4(255,149,0),status:"Working…",statusColor:S4(255,149,0)},waiting:{indicator:S4(95,135,255),status:"Waiting",statusColor:S4(95,135,255)}}});function IE(Q){let K=dX.useContext(R4);dX.useEffect(()=>{if(Q===null||!K)return;let z=q4(Q);if(process.platform==="win32")process.title=z;else K(FJ(IZ.SET_TITLE_AND_ICON,z))},[Q,K])}var dX;var OM=p(()=>{Zj();J6();wX();dX=r(OZ(),1)});var kE=(Q)=>({width:Q.yogaNode?.getComputedWidth()??0,height:Q.yogaNode?.getComputedHeight()??0}),EE;var WM=p(()=>{EE=kE});function VM(Q){return YM.createElement(D3,null,Q)}async function Hy(Q,K){return QN(VM(Q),K)}async function By(Q){let K=await JN(Q);return{...K,render:(z)=>K.render(VM(z))}}var YM;var TE=p(()=>{g1();GN();zN();HN();YN();g1();wN();r8();gN();IH();pN();lN();nN();tN();M4();QH();Uz();S8();y3();g3();GG();eN();JM();jM();HM();BM();jz();FM();tj();OM();SH();WM();J6();lz();YM=r(OZ(),1)});
252
+ export{jQ as _S,Q9 as $S,e5 as aT,x8 as bT,qz as cT,w1 as dT,mE as eT,qW as fT,D3 as gT,y1 as hT,$_ as iT,R_ as jT,g1 as kT,Fz as lT,WW as mT,_z as nT,p1 as oT,q$ as pT,fT as qT,j$ as rT,wT as sT,rW as tT,Iz as uT,l1 as vT,t9 as wT,U4 as xT,s1 as yT,uz as zT,o1 as AT,h8 as BT,e3 as CT,Kj as DT,zV as ET,c8 as FT,BQ as GT,SS as HT,ZG as IT,QG as JT,eS as KT,tz as LT,l8 as MT,ez as NT,BX as OT,BG as PT,a8 as QT,wj as RT,tV as ST,OG as TT,WG as UT,YG as VT,eV as WT,ZD as XT,nJ as YT,Px as ZT,GD as _T,zD as $T,_x as aU,WX as bU,V4 as cU,J6 as dU,GI as eU,VX as fU,Sx as gU,DG as hU,DX as iU,DD as jU,dj as kU,lj as lU,rj as mU,tj as nU,SD as oU,xD as pU,bD as qU,uQ as rU,r8 as sU,rZ as tU,M4 as uU,MX as vU,ZH as wU,JH as xU,rD as yU,PX as zU,Q6 as AU,_X as BU,R4 as CU,df as DU,wX as EU,I4 as FU,vw as GU,yX as HU,Pk as IU,zN as JU,$k as KU,Rk as LU,ON as MU,YN as NU,MN as OU,LN as PU,EG as QU,IH as RU,gk as SU,ik as TU,uN as UU,nk as VU,sk as WU,oN as XU,CH as YU,SH as ZU,ok as _U,tk as $U,JM as aV,hv as bV,pv as cV,qM as dV,AE as eV,NE as fV,ME as gV,LE as hV,tv as iV,BM as jV,RE as kV,IE as lV,EE as mV,Hy as nV,By as oV,TE as pV};