@namzu/cli 45.8.0 → 45.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-JBHJROEH.js → acp-JFCJSIIA.js} +47 -47
  4. package/dist/chunks/{activity-command-A2MPD6N4.js → activity-command-SJPF7IBA.js} +13 -13
  5. package/dist/chunks/{add-LFNYFY3Q.js → add-C4GQN6DM.js} +19 -19
  6. package/dist/chunks/{agent-Y6CN4KJW.js → agent-ACOT5CFE.js} +37 -37
  7. package/dist/chunks/agent-session-W3NDL6TR.js +71 -0
  8. package/dist/chunks/{archive-RRZOJXZM.js → archive-L63QOXVL.js} +11 -11
  9. package/dist/chunks/{bin-main-S56ONZ3V.js → bin-main-POO2NZBN.js} +7 -7
  10. package/dist/chunks/{binding-LXBE6SZ6.js → binding-EQIATU4R.js} +3 -3
  11. package/dist/chunks/{browser-CLRSZZVD.js → browser-LCBZH67I.js} +6 -6
  12. package/dist/chunks/{chat-K4FCFUWQ.js → chat-24D5YZXH.js} +16 -16
  13. package/dist/chunks/{chunk-DS5LPGZL.js → chunk-2BEDVT2Y.js} +4 -4
  14. package/dist/chunks/{chunk-YLDVAXIV.js → chunk-37OSPOWM.js} +4 -4
  15. package/dist/chunks/{chunk-TKN2LZYX.js → chunk-3PGIEWQC.js} +6 -6
  16. package/dist/chunks/{chunk-ACEUJQLA.js → chunk-3TAJHVYW.js} +13 -13
  17. package/dist/chunks/{chunk-GBSX7ZFZ.js → chunk-43IPGFN7.js} +9 -9
  18. package/dist/chunks/{chunk-RSAZJF3I.js → chunk-4447JRIE.js} +3 -3
  19. package/dist/chunks/{chunk-3C34WF54.js → chunk-46QXCDI7.js} +3 -3
  20. package/dist/chunks/{chunk-VXNVO5KJ.js → chunk-4PWH27US.js} +9 -9
  21. package/dist/chunks/{chunk-X4ZT2ASR.js → chunk-4WPNREGO.js} +2 -2
  22. package/dist/chunks/{chunk-OO3ABJWG.js → chunk-53K22MUQ.js} +67 -8
  23. package/dist/chunks/chunk-53K22MUQ.js.map +6 -0
  24. package/dist/chunks/{chunk-3J5BNEAB.js → chunk-5X7BXGFA.js} +2 -2
  25. package/dist/chunks/{chunk-HEAUWMXL.js → chunk-6VL6UVFF.js} +12 -12
  26. package/dist/chunks/{chunk-EXV7NMBE.js → chunk-757SVBWJ.js} +2 -2
  27. package/dist/chunks/{chunk-IODBG3XL.js → chunk-7OUFXHKA.js} +2 -2
  28. package/dist/chunks/{chunk-7LUBE6UX.js → chunk-7QSKAPX7.js} +12 -12
  29. package/dist/chunks/{chunk-RT3RZMJA.js → chunk-A7257HMU.js} +2 -2
  30. package/dist/chunks/{chunk-VXPYQGU2.js → chunk-ACG3D2BX.js} +2 -2
  31. package/dist/chunks/{chunk-GGAJGRIM.js → chunk-ASS6MXGF.js} +16 -4
  32. package/dist/chunks/chunk-ASS6MXGF.js.map +6 -0
  33. package/dist/chunks/{chunk-D3J3PXOT.js → chunk-BMUV6VKC.js} +2 -2
  34. package/dist/chunks/{chunk-LGFTM2YK.js → chunk-C34HWZPS.js} +2 -2
  35. package/dist/chunks/{chunk-PRNBQTUI.js → chunk-C3ZNDBTH.js} +4 -4
  36. package/dist/chunks/{chunk-CGZZAOM3.js → chunk-CULCLST7.js} +3 -3
  37. package/dist/chunks/{chunk-WVNXGMNE.js → chunk-DBSHL5JJ.js} +2 -2
  38. package/dist/chunks/{chunk-APSFLVDO.js → chunk-DX6JBQ3X.js} +5 -5
  39. package/dist/chunks/{chunk-RESPR3EN.js → chunk-DXWPZ2MI.js} +3 -3
  40. package/dist/chunks/{chunk-NQIA37CF.js → chunk-EMAVNRSG.js} +3 -3
  41. package/dist/chunks/{chunk-BCJL3S23.js → chunk-EP6BYDNQ.js} +2 -2
  42. package/dist/chunks/{chunk-363XKSP6.js → chunk-EQXLMDW6.js} +2 -2
  43. package/dist/chunks/{chunk-M7PUJE22.js → chunk-EZSI3CMO.js} +3 -3
  44. package/dist/chunks/{chunk-K6IU46G6.js → chunk-FI7AARZA.js} +3 -3
  45. package/dist/chunks/{chunk-BWSU3DAY.js → chunk-FQMRE4UZ.js} +4 -4
  46. package/dist/chunks/{chunk-K3G3EUCW.js → chunk-G7JD3N2N.js} +4 -4
  47. package/dist/chunks/{chunk-HFE6APGQ.js → chunk-GUIGJ4BY.js} +2 -2
  48. package/dist/chunks/{chunk-XUMJQNIV.js → chunk-HCICXDSS.js} +2 -2
  49. package/dist/chunks/{chunk-JIXHNBGH.js → chunk-HI7I3TAU.js} +4 -4
  50. package/dist/chunks/chunk-HREK4V2O.js +1545 -0
  51. package/dist/chunks/chunk-HREK4V2O.js.map +6 -0
  52. package/dist/chunks/{chunk-XGSJOMN2.js → chunk-I6K53U6B.js} +2 -2
  53. package/dist/chunks/{chunk-XY5VT5CV.js → chunk-IMCIEA4W.js} +3 -3
  54. package/dist/chunks/{chunk-C3YZAJ2Z.js → chunk-IU6MPKP4.js} +3 -3
  55. package/dist/chunks/{chunk-H7JRG6GI.js → chunk-K2BAXNW6.js} +10 -10
  56. package/dist/chunks/{chunk-D5MO6HFG.js → chunk-KX5NNRHA.js} +2 -2
  57. package/dist/chunks/{chunk-R4FHPOJJ.js → chunk-LPWEVMGN.js} +2 -2
  58. package/dist/chunks/{chunk-3NG4CVQD.js → chunk-LUM7JK5K.js} +4 -4
  59. package/dist/chunks/{chunk-F5ZVNY3R.js → chunk-LVGARFGV.js} +2 -2
  60. package/dist/chunks/{chunk-OYOBOPRI.js → chunk-MAMFVNSK.js} +3 -3
  61. package/dist/chunks/{chunk-OGQIHPSK.js → chunk-MJ7L4YKW.js} +2 -2
  62. package/dist/chunks/{chunk-6DZX5T3S.js → chunk-MK3IK4LB.js} +2 -2
  63. package/dist/chunks/{chunk-GAPKVMFJ.js → chunk-N36ZNZWP.js} +2 -2
  64. package/dist/chunks/{chunk-BP62WUCC.js → chunk-NI4TTLTR.js} +4 -4
  65. package/dist/chunks/{chunk-QGQIWR3J.js → chunk-NQKJYDZD.js} +2 -2
  66. package/dist/chunks/{chunk-C2VJISDY.js → chunk-OID5W4VF.js} +3 -3
  67. package/dist/chunks/{chunk-BEH4HT6Z.js → chunk-OJFU4YEN.js} +3 -3
  68. package/dist/chunks/{chunk-DFGGKZAN.js → chunk-OZQFST6Z.js} +2 -2
  69. package/dist/chunks/{chunk-WXZU737B.js → chunk-PH3UMBH7.js} +4 -4
  70. package/dist/chunks/{chunk-PKYLKUGU.js → chunk-PILA7WOZ.js} +3 -3
  71. package/dist/chunks/{chunk-YXPMFGVR.js → chunk-PMCY557I.js} +2 -2
  72. package/dist/chunks/{chunk-RKP3CAJ3.js → chunk-PV33KWQ6.js} +3 -3
  73. package/dist/chunks/{chunk-SVYPYQKS.js → chunk-QQ7GNM4Q.js} +3 -3
  74. package/dist/chunks/{chunk-MDA27KYF.js → chunk-R3C2IFIP.js} +27 -1557
  75. package/dist/chunks/chunk-R3C2IFIP.js.map +6 -0
  76. package/dist/chunks/{chunk-EUFLKDG6.js → chunk-RSSV7Z7B.js} +33 -33
  77. package/dist/chunks/{chunk-JR6WEANS.js → chunk-RYECRNWW.js} +2 -2
  78. package/dist/chunks/{chunk-LGKMYO23.js → chunk-SHNMQXCD.js} +12 -3
  79. package/dist/chunks/{chunk-LGKMYO23.js.map → chunk-SHNMQXCD.js.map} +1 -1
  80. package/dist/chunks/{chunk-PKR5XLS4.js → chunk-SNJEGKQL.js} +5 -5
  81. package/dist/chunks/{chunk-7EO7AVNF.js → chunk-TIU7AEQW.js} +3 -3
  82. package/dist/chunks/{chunk-P5FP6UJF.js → chunk-TQ6IWAEP.js} +5 -5
  83. package/dist/chunks/{chunk-RZJ36LG4.js → chunk-TRRP7ZYG.js} +7 -7
  84. package/dist/chunks/{chunk-J6S76HCU.js → chunk-U3A77O5Y.js} +3 -3
  85. package/dist/chunks/{chunk-Q27GQILU.js → chunk-UCXOX5CJ.js} +2 -2
  86. package/dist/chunks/{chunk-2ZUXBK2G.js → chunk-V7YK2DPQ.js} +8 -8
  87. package/dist/chunks/{chunk-ZKIRQG4T.js → chunk-XC44CZUI.js} +3 -3
  88. package/dist/chunks/{chunk-OS2VCOT4.js → chunk-XJOQKEOI.js} +6 -6
  89. package/dist/chunks/{chunk-TDXHVZ66.js → chunk-XK5RJSUS.js} +2 -2
  90. package/dist/chunks/{chunk-U7EBFN7U.js → chunk-XNJBTPX4.js} +6 -6
  91. package/dist/chunks/{chunk-EPV5O6RP.js → chunk-Y3LRN7YX.js} +6 -6
  92. package/dist/chunks/{chunk-LXJ7DTNX.js → chunk-YGATPRPZ.js} +33 -33
  93. package/dist/chunks/{chunk-527SIDBI.js → chunk-YZABN3IO.js} +2 -2
  94. package/dist/chunks/{chunk-YJ3OUJDG.js → chunk-Z442BNIE.js} +2 -2
  95. package/dist/chunks/{chunk-MRIUYE6R.js → chunk-Z45KPHJG.js} +2 -2
  96. package/dist/chunks/{chunk-UWPS6PV2.js → chunk-ZBDBZWX7.js} +2 -2
  97. package/dist/chunks/{chunk-KRL7BJTX.js → chunk-ZHCKDGV3.js} +3 -3
  98. package/dist/chunks/{chunk-WUNHL7B2.js → chunk-ZQTN2JJI.js} +6 -6
  99. package/dist/chunks/{chunk-XMSKDE7G.js → chunk-ZTG3O5OO.js} +5 -5
  100. package/dist/chunks/{cli-runtime-42P3ZY2L.js → cli-runtime-FZANNWNC.js} +10 -10
  101. package/dist/chunks/{commands-MPWHDJNZ.js → commands-J2VZPLHT.js} +5 -5
  102. package/dist/chunks/{crash-report-KVMI6RQY.js → crash-report-E7K2UDNT.js} +6 -6
  103. package/dist/chunks/{dist-SEKX72EF.js → dist-3X7FEGRZ.js} +2 -2
  104. package/dist/chunks/{dist-WCFY6H3Y.js → dist-3XYNVJ3Q.js} +2 -2
  105. package/dist/chunks/{dist-3PTVBBUZ.js → dist-EGN4SVCI.js} +2 -2
  106. package/dist/chunks/{dist-ZE6R5KGY.js → dist-G4YRU6OC.js} +2 -2
  107. package/dist/chunks/{dist-JQYNMXFO.js → dist-JLID2Q63.js} +2 -2
  108. package/dist/chunks/{dist-LCBVOQNP.js → dist-LW465GNK.js} +2 -2
  109. package/dist/chunks/{dist-ISU5SFTX.js → dist-PDJ75QWW.js} +2 -2
  110. package/dist/chunks/{dist-CCH5IL3C.js → dist-RXKDAGL3.js} +4 -2
  111. package/dist/chunks/{doctor-D7H7UXX6.js → doctor-KDWQIFIS.js} +16 -16
  112. package/dist/chunks/{drain-SQ2VZUFJ.js → drain-2QZHDCCJ.js} +10 -10
  113. package/dist/chunks/{entry-A4YVPFFT.js → entry-XCN5AVBW.js} +6 -6
  114. package/dist/chunks/{eval-SNSW7LHK.js → eval-CFRRUHKU.js} +2 -2
  115. package/dist/chunks/{exec-XFV5IMJK.js → exec-7KWBTEW5.js} +36 -35
  116. package/dist/chunks/exec-7KWBTEW5.js.map +6 -0
  117. package/dist/chunks/{home-XOLD73YB.js → home-MNY5VS2O.js} +3 -3
  118. package/dist/chunks/{host-5UX7PVCP.js → host-VCPGT6XQ.js} +11 -10
  119. package/dist/chunks/{host-queries-HBSQEKUN.js → host-queries-O7J6UBWH.js} +16 -16
  120. package/dist/chunks/{learn-M5HKRVLA.js → learn-SS6LIU5G.js} +13 -13
  121. package/dist/chunks/{learn-builtin-WLEJOPPA.js → learn-builtin-CZYPWD53.js} +16 -16
  122. package/dist/chunks/{lifecycle-7YYVKNQ4.js → lifecycle-4S3S4N4Z.js} +29 -29
  123. package/dist/chunks/{list-OKJHK375.js → list-HIARDM5X.js} +10 -10
  124. package/dist/chunks/{live-A5IU5I6S.js → live-SPTFUF6I.js} +15 -15
  125. package/dist/chunks/{login-JSPUARUD.js → login-SCKEZDYC.js} +13 -13
  126. package/dist/chunks/{logs-OKVRZ3FM.js → logs-ULFCZVDT.js} +4 -4
  127. package/dist/chunks/{mcp-MNISFJGL.js → mcp-3BZRB7KA.js} +20 -20
  128. package/dist/chunks/{message-command-X2JR6V5A.js → message-command-ZDWOLD7H.js} +43 -43
  129. package/dist/chunks/{open-YCBT62N4.js → open-UIBSKVSM.js} +8 -8
  130. package/dist/chunks/{operator-tools-YSZLU23R.js → operator-tools-UVYTJHXF.js} +14 -14
  131. package/dist/chunks/{output-schema-6M6LJ3ON.js → output-schema-6VUEX3R2.js} +3 -3
  132. package/dist/chunks/{pal-3GWS24QH.js → pal-NQ6KSCD4.js} +16 -16
  133. package/dist/chunks/{peers-NAABYS2J.js → peers-EX5WTMXI.js} +6 -6
  134. package/dist/chunks/{providers-OWITORKR.js → providers-E5YJKVJG.js} +11 -11
  135. package/dist/chunks/{pty-RWVJJ5EO.js → pty-7745KVSE.js} +3 -3
  136. package/dist/chunks/{resident-QR32XZKI.js → resident-E2B2O5OL.js} +24 -24
  137. package/dist/chunks/resume-EAED5K46.js +24 -0
  138. package/dist/chunks/{resume-command-C2TWMUWZ.js → resume-command-U2MQAS7O.js} +4 -4
  139. package/dist/chunks/{schedule-VGYXOLXD.js → schedule-TFV7RPZM.js} +8 -8
  140. package/dist/chunks/{service-TNJWG2JK.js → service-LXMA7DPT.js} +29 -29
  141. package/dist/chunks/{session-step-2A6KZCPC.js → session-step-TH26HZY3.js} +15 -15
  142. package/dist/chunks/{skills-ZDOOLV6R.js → skills-7WDJT333.js} +8 -8
  143. package/dist/chunks/{start-check-XGAFZVD7.js → start-check-AANZ7RK3.js} +2 -2
  144. package/dist/chunks/{startup-failure-PE4XFXCJ.js → startup-failure-UKMUVWQV.js} +2 -2
  145. package/dist/chunks/{state-H7HSNFBS.js → state-BOBBL737.js} +2 -2
  146. package/dist/chunks/{store-4VWEOE55.js → store-LWGGUHJW.js} +3 -3
  147. package/dist/chunks/{store-OIG4RYYJ.js → store-MQLKJCXI.js} +11 -11
  148. package/dist/chunks/{store-4FPWFOPR.js → store-TFXEWDAR.js} +4 -4
  149. package/dist/chunks/{store-HEHXFRAI.js → store-UXENSWRU.js} +6 -6
  150. package/dist/chunks/{tui-2PZSAL7N.js → tui-WGVEUU3O.js} +72 -70
  151. package/dist/chunks/tui-WGVEUU3O.js.map +6 -0
  152. package/dist/chunks/{upgrade-HQWKNEAA.js → upgrade-US5UJBDW.js} +7 -7
  153. package/dist/chunks/{workspaces-DWZR3X3K.js → workspaces-HX64WER4.js} +17 -16
  154. package/dist/chunks/workspaces-HX64WER4.js.map +6 -0
  155. package/dist/chunks/{worktree-U3ICGV7I.js → worktree-YVNALLAZ.js} +13 -13
  156. package/dist/index.js +19 -19
  157. package/dist/integrations/peers/runtime.d.ts.map +1 -1
  158. package/dist/integrations/resident/runner-worker.js +21 -21
  159. package/dist/workspaces/host.d.ts +4 -0
  160. package/dist/workspaces/host.d.ts.map +1 -1
  161. package/dist/workspaces/roster.d.ts +6 -0
  162. package/dist/workspaces/roster.d.ts.map +1 -1
  163. package/dist/workspaces/sidebar.d.ts +7 -0
  164. package/dist/workspaces/sidebar.d.ts.map +1 -1
  165. package/package.json +8 -8
  166. package/dist/chunks/agent-session-A2GKM6DR.js +0 -71
  167. package/dist/chunks/chunk-GGAJGRIM.js.map +0 -6
  168. package/dist/chunks/chunk-MDA27KYF.js.map +0 -6
  169. package/dist/chunks/chunk-OO3ABJWG.js.map +0 -6
  170. package/dist/chunks/exec-XFV5IMJK.js.map +0 -6
  171. package/dist/chunks/resume-DZNXT37Q.js +0 -24
  172. package/dist/chunks/tui-2PZSAL7N.js.map +0 -6
  173. package/dist/chunks/workspaces-DWZR3X3K.js.map +0 -6
  174. /package/dist/chunks/{acp-JBHJROEH.js.map → acp-JFCJSIIA.js.map} +0 -0
  175. /package/dist/chunks/{activity-command-A2MPD6N4.js.map → activity-command-SJPF7IBA.js.map} +0 -0
  176. /package/dist/chunks/{add-LFNYFY3Q.js.map → add-C4GQN6DM.js.map} +0 -0
  177. /package/dist/chunks/{agent-Y6CN4KJW.js.map → agent-ACOT5CFE.js.map} +0 -0
  178. /package/dist/chunks/{agent-session-A2GKM6DR.js.map → agent-session-W3NDL6TR.js.map} +0 -0
  179. /package/dist/chunks/{archive-RRZOJXZM.js.map → archive-L63QOXVL.js.map} +0 -0
  180. /package/dist/chunks/{bin-main-S56ONZ3V.js.map → bin-main-POO2NZBN.js.map} +0 -0
  181. /package/dist/chunks/{binding-LXBE6SZ6.js.map → binding-EQIATU4R.js.map} +0 -0
  182. /package/dist/chunks/{browser-CLRSZZVD.js.map → browser-LCBZH67I.js.map} +0 -0
  183. /package/dist/chunks/{chat-K4FCFUWQ.js.map → chat-24D5YZXH.js.map} +0 -0
  184. /package/dist/chunks/{chunk-DS5LPGZL.js.map → chunk-2BEDVT2Y.js.map} +0 -0
  185. /package/dist/chunks/{chunk-YLDVAXIV.js.map → chunk-37OSPOWM.js.map} +0 -0
  186. /package/dist/chunks/{chunk-TKN2LZYX.js.map → chunk-3PGIEWQC.js.map} +0 -0
  187. /package/dist/chunks/{chunk-ACEUJQLA.js.map → chunk-3TAJHVYW.js.map} +0 -0
  188. /package/dist/chunks/{chunk-GBSX7ZFZ.js.map → chunk-43IPGFN7.js.map} +0 -0
  189. /package/dist/chunks/{chunk-RSAZJF3I.js.map → chunk-4447JRIE.js.map} +0 -0
  190. /package/dist/chunks/{chunk-3C34WF54.js.map → chunk-46QXCDI7.js.map} +0 -0
  191. /package/dist/chunks/{chunk-VXNVO5KJ.js.map → chunk-4PWH27US.js.map} +0 -0
  192. /package/dist/chunks/{chunk-X4ZT2ASR.js.map → chunk-4WPNREGO.js.map} +0 -0
  193. /package/dist/chunks/{chunk-3J5BNEAB.js.map → chunk-5X7BXGFA.js.map} +0 -0
  194. /package/dist/chunks/{chunk-HEAUWMXL.js.map → chunk-6VL6UVFF.js.map} +0 -0
  195. /package/dist/chunks/{chunk-EXV7NMBE.js.map → chunk-757SVBWJ.js.map} +0 -0
  196. /package/dist/chunks/{chunk-IODBG3XL.js.map → chunk-7OUFXHKA.js.map} +0 -0
  197. /package/dist/chunks/{chunk-7LUBE6UX.js.map → chunk-7QSKAPX7.js.map} +0 -0
  198. /package/dist/chunks/{chunk-RT3RZMJA.js.map → chunk-A7257HMU.js.map} +0 -0
  199. /package/dist/chunks/{chunk-VXPYQGU2.js.map → chunk-ACG3D2BX.js.map} +0 -0
  200. /package/dist/chunks/{chunk-D3J3PXOT.js.map → chunk-BMUV6VKC.js.map} +0 -0
  201. /package/dist/chunks/{chunk-LGFTM2YK.js.map → chunk-C34HWZPS.js.map} +0 -0
  202. /package/dist/chunks/{chunk-PRNBQTUI.js.map → chunk-C3ZNDBTH.js.map} +0 -0
  203. /package/dist/chunks/{chunk-CGZZAOM3.js.map → chunk-CULCLST7.js.map} +0 -0
  204. /package/dist/chunks/{chunk-WVNXGMNE.js.map → chunk-DBSHL5JJ.js.map} +0 -0
  205. /package/dist/chunks/{chunk-APSFLVDO.js.map → chunk-DX6JBQ3X.js.map} +0 -0
  206. /package/dist/chunks/{chunk-RESPR3EN.js.map → chunk-DXWPZ2MI.js.map} +0 -0
  207. /package/dist/chunks/{chunk-NQIA37CF.js.map → chunk-EMAVNRSG.js.map} +0 -0
  208. /package/dist/chunks/{chunk-BCJL3S23.js.map → chunk-EP6BYDNQ.js.map} +0 -0
  209. /package/dist/chunks/{chunk-363XKSP6.js.map → chunk-EQXLMDW6.js.map} +0 -0
  210. /package/dist/chunks/{chunk-M7PUJE22.js.map → chunk-EZSI3CMO.js.map} +0 -0
  211. /package/dist/chunks/{chunk-K6IU46G6.js.map → chunk-FI7AARZA.js.map} +0 -0
  212. /package/dist/chunks/{chunk-BWSU3DAY.js.map → chunk-FQMRE4UZ.js.map} +0 -0
  213. /package/dist/chunks/{chunk-K3G3EUCW.js.map → chunk-G7JD3N2N.js.map} +0 -0
  214. /package/dist/chunks/{chunk-HFE6APGQ.js.map → chunk-GUIGJ4BY.js.map} +0 -0
  215. /package/dist/chunks/{chunk-XUMJQNIV.js.map → chunk-HCICXDSS.js.map} +0 -0
  216. /package/dist/chunks/{chunk-JIXHNBGH.js.map → chunk-HI7I3TAU.js.map} +0 -0
  217. /package/dist/chunks/{chunk-XGSJOMN2.js.map → chunk-I6K53U6B.js.map} +0 -0
  218. /package/dist/chunks/{chunk-XY5VT5CV.js.map → chunk-IMCIEA4W.js.map} +0 -0
  219. /package/dist/chunks/{chunk-C3YZAJ2Z.js.map → chunk-IU6MPKP4.js.map} +0 -0
  220. /package/dist/chunks/{chunk-H7JRG6GI.js.map → chunk-K2BAXNW6.js.map} +0 -0
  221. /package/dist/chunks/{chunk-D5MO6HFG.js.map → chunk-KX5NNRHA.js.map} +0 -0
  222. /package/dist/chunks/{chunk-R4FHPOJJ.js.map → chunk-LPWEVMGN.js.map} +0 -0
  223. /package/dist/chunks/{chunk-3NG4CVQD.js.map → chunk-LUM7JK5K.js.map} +0 -0
  224. /package/dist/chunks/{chunk-F5ZVNY3R.js.map → chunk-LVGARFGV.js.map} +0 -0
  225. /package/dist/chunks/{chunk-OYOBOPRI.js.map → chunk-MAMFVNSK.js.map} +0 -0
  226. /package/dist/chunks/{chunk-OGQIHPSK.js.map → chunk-MJ7L4YKW.js.map} +0 -0
  227. /package/dist/chunks/{chunk-6DZX5T3S.js.map → chunk-MK3IK4LB.js.map} +0 -0
  228. /package/dist/chunks/{chunk-GAPKVMFJ.js.map → chunk-N36ZNZWP.js.map} +0 -0
  229. /package/dist/chunks/{chunk-BP62WUCC.js.map → chunk-NI4TTLTR.js.map} +0 -0
  230. /package/dist/chunks/{chunk-QGQIWR3J.js.map → chunk-NQKJYDZD.js.map} +0 -0
  231. /package/dist/chunks/{chunk-C2VJISDY.js.map → chunk-OID5W4VF.js.map} +0 -0
  232. /package/dist/chunks/{chunk-BEH4HT6Z.js.map → chunk-OJFU4YEN.js.map} +0 -0
  233. /package/dist/chunks/{chunk-DFGGKZAN.js.map → chunk-OZQFST6Z.js.map} +0 -0
  234. /package/dist/chunks/{chunk-WXZU737B.js.map → chunk-PH3UMBH7.js.map} +0 -0
  235. /package/dist/chunks/{chunk-PKYLKUGU.js.map → chunk-PILA7WOZ.js.map} +0 -0
  236. /package/dist/chunks/{chunk-YXPMFGVR.js.map → chunk-PMCY557I.js.map} +0 -0
  237. /package/dist/chunks/{chunk-RKP3CAJ3.js.map → chunk-PV33KWQ6.js.map} +0 -0
  238. /package/dist/chunks/{chunk-SVYPYQKS.js.map → chunk-QQ7GNM4Q.js.map} +0 -0
  239. /package/dist/chunks/{chunk-EUFLKDG6.js.map → chunk-RSSV7Z7B.js.map} +0 -0
  240. /package/dist/chunks/{chunk-JR6WEANS.js.map → chunk-RYECRNWW.js.map} +0 -0
  241. /package/dist/chunks/{chunk-PKR5XLS4.js.map → chunk-SNJEGKQL.js.map} +0 -0
  242. /package/dist/chunks/{chunk-7EO7AVNF.js.map → chunk-TIU7AEQW.js.map} +0 -0
  243. /package/dist/chunks/{chunk-P5FP6UJF.js.map → chunk-TQ6IWAEP.js.map} +0 -0
  244. /package/dist/chunks/{chunk-RZJ36LG4.js.map → chunk-TRRP7ZYG.js.map} +0 -0
  245. /package/dist/chunks/{chunk-J6S76HCU.js.map → chunk-U3A77O5Y.js.map} +0 -0
  246. /package/dist/chunks/{chunk-Q27GQILU.js.map → chunk-UCXOX5CJ.js.map} +0 -0
  247. /package/dist/chunks/{chunk-2ZUXBK2G.js.map → chunk-V7YK2DPQ.js.map} +0 -0
  248. /package/dist/chunks/{chunk-ZKIRQG4T.js.map → chunk-XC44CZUI.js.map} +0 -0
  249. /package/dist/chunks/{chunk-OS2VCOT4.js.map → chunk-XJOQKEOI.js.map} +0 -0
  250. /package/dist/chunks/{chunk-TDXHVZ66.js.map → chunk-XK5RJSUS.js.map} +0 -0
  251. /package/dist/chunks/{chunk-U7EBFN7U.js.map → chunk-XNJBTPX4.js.map} +0 -0
  252. /package/dist/chunks/{chunk-EPV5O6RP.js.map → chunk-Y3LRN7YX.js.map} +0 -0
  253. /package/dist/chunks/{chunk-LXJ7DTNX.js.map → chunk-YGATPRPZ.js.map} +0 -0
  254. /package/dist/chunks/{chunk-527SIDBI.js.map → chunk-YZABN3IO.js.map} +0 -0
  255. /package/dist/chunks/{chunk-YJ3OUJDG.js.map → chunk-Z442BNIE.js.map} +0 -0
  256. /package/dist/chunks/{chunk-MRIUYE6R.js.map → chunk-Z45KPHJG.js.map} +0 -0
  257. /package/dist/chunks/{chunk-UWPS6PV2.js.map → chunk-ZBDBZWX7.js.map} +0 -0
  258. /package/dist/chunks/{chunk-KRL7BJTX.js.map → chunk-ZHCKDGV3.js.map} +0 -0
  259. /package/dist/chunks/{chunk-WUNHL7B2.js.map → chunk-ZQTN2JJI.js.map} +0 -0
  260. /package/dist/chunks/{chunk-XMSKDE7G.js.map → chunk-ZTG3O5OO.js.map} +0 -0
  261. /package/dist/chunks/{cli-runtime-42P3ZY2L.js.map → cli-runtime-FZANNWNC.js.map} +0 -0
  262. /package/dist/chunks/{commands-MPWHDJNZ.js.map → commands-J2VZPLHT.js.map} +0 -0
  263. /package/dist/chunks/{crash-report-KVMI6RQY.js.map → crash-report-E7K2UDNT.js.map} +0 -0
  264. /package/dist/chunks/{dist-SEKX72EF.js.map → dist-3X7FEGRZ.js.map} +0 -0
  265. /package/dist/chunks/{dist-WCFY6H3Y.js.map → dist-3XYNVJ3Q.js.map} +0 -0
  266. /package/dist/chunks/{dist-3PTVBBUZ.js.map → dist-EGN4SVCI.js.map} +0 -0
  267. /package/dist/chunks/{dist-ZE6R5KGY.js.map → dist-G4YRU6OC.js.map} +0 -0
  268. /package/dist/chunks/{dist-JQYNMXFO.js.map → dist-JLID2Q63.js.map} +0 -0
  269. /package/dist/chunks/{dist-LCBVOQNP.js.map → dist-LW465GNK.js.map} +0 -0
  270. /package/dist/chunks/{dist-ISU5SFTX.js.map → dist-PDJ75QWW.js.map} +0 -0
  271. /package/dist/chunks/{dist-CCH5IL3C.js.map → dist-RXKDAGL3.js.map} +0 -0
  272. /package/dist/chunks/{doctor-D7H7UXX6.js.map → doctor-KDWQIFIS.js.map} +0 -0
  273. /package/dist/chunks/{drain-SQ2VZUFJ.js.map → drain-2QZHDCCJ.js.map} +0 -0
  274. /package/dist/chunks/{entry-A4YVPFFT.js.map → entry-XCN5AVBW.js.map} +0 -0
  275. /package/dist/chunks/{eval-SNSW7LHK.js.map → eval-CFRRUHKU.js.map} +0 -0
  276. /package/dist/chunks/{home-XOLD73YB.js.map → home-MNY5VS2O.js.map} +0 -0
  277. /package/dist/chunks/{host-5UX7PVCP.js.map → host-VCPGT6XQ.js.map} +0 -0
  278. /package/dist/chunks/{host-queries-HBSQEKUN.js.map → host-queries-O7J6UBWH.js.map} +0 -0
  279. /package/dist/chunks/{learn-M5HKRVLA.js.map → learn-SS6LIU5G.js.map} +0 -0
  280. /package/dist/chunks/{learn-builtin-WLEJOPPA.js.map → learn-builtin-CZYPWD53.js.map} +0 -0
  281. /package/dist/chunks/{lifecycle-7YYVKNQ4.js.map → lifecycle-4S3S4N4Z.js.map} +0 -0
  282. /package/dist/chunks/{list-OKJHK375.js.map → list-HIARDM5X.js.map} +0 -0
  283. /package/dist/chunks/{live-A5IU5I6S.js.map → live-SPTFUF6I.js.map} +0 -0
  284. /package/dist/chunks/{login-JSPUARUD.js.map → login-SCKEZDYC.js.map} +0 -0
  285. /package/dist/chunks/{logs-OKVRZ3FM.js.map → logs-ULFCZVDT.js.map} +0 -0
  286. /package/dist/chunks/{mcp-MNISFJGL.js.map → mcp-3BZRB7KA.js.map} +0 -0
  287. /package/dist/chunks/{message-command-X2JR6V5A.js.map → message-command-ZDWOLD7H.js.map} +0 -0
  288. /package/dist/chunks/{open-YCBT62N4.js.map → open-UIBSKVSM.js.map} +0 -0
  289. /package/dist/chunks/{operator-tools-YSZLU23R.js.map → operator-tools-UVYTJHXF.js.map} +0 -0
  290. /package/dist/chunks/{output-schema-6M6LJ3ON.js.map → output-schema-6VUEX3R2.js.map} +0 -0
  291. /package/dist/chunks/{pal-3GWS24QH.js.map → pal-NQ6KSCD4.js.map} +0 -0
  292. /package/dist/chunks/{peers-NAABYS2J.js.map → peers-EX5WTMXI.js.map} +0 -0
  293. /package/dist/chunks/{providers-OWITORKR.js.map → providers-E5YJKVJG.js.map} +0 -0
  294. /package/dist/chunks/{pty-RWVJJ5EO.js.map → pty-7745KVSE.js.map} +0 -0
  295. /package/dist/chunks/{resident-QR32XZKI.js.map → resident-E2B2O5OL.js.map} +0 -0
  296. /package/dist/chunks/{resume-DZNXT37Q.js.map → resume-EAED5K46.js.map} +0 -0
  297. /package/dist/chunks/{resume-command-C2TWMUWZ.js.map → resume-command-U2MQAS7O.js.map} +0 -0
  298. /package/dist/chunks/{schedule-VGYXOLXD.js.map → schedule-TFV7RPZM.js.map} +0 -0
  299. /package/dist/chunks/{service-TNJWG2JK.js.map → service-LXMA7DPT.js.map} +0 -0
  300. /package/dist/chunks/{session-step-2A6KZCPC.js.map → session-step-TH26HZY3.js.map} +0 -0
  301. /package/dist/chunks/{skills-ZDOOLV6R.js.map → skills-7WDJT333.js.map} +0 -0
  302. /package/dist/chunks/{start-check-XGAFZVD7.js.map → start-check-AANZ7RK3.js.map} +0 -0
  303. /package/dist/chunks/{startup-failure-PE4XFXCJ.js.map → startup-failure-UKMUVWQV.js.map} +0 -0
  304. /package/dist/chunks/{state-H7HSNFBS.js.map → state-BOBBL737.js.map} +0 -0
  305. /package/dist/chunks/{store-4FPWFOPR.js.map → store-LWGGUHJW.js.map} +0 -0
  306. /package/dist/chunks/{store-4VWEOE55.js.map → store-MQLKJCXI.js.map} +0 -0
  307. /package/dist/chunks/{store-HEHXFRAI.js.map → store-TFXEWDAR.js.map} +0 -0
  308. /package/dist/chunks/{store-OIG4RYYJ.js.map → store-UXENSWRU.js.map} +0 -0
  309. /package/dist/chunks/{upgrade-HQWKNEAA.js.map → upgrade-US5UJBDW.js.map} +0 -0
  310. /package/dist/chunks/{worktree-U3ICGV7I.js.map → worktree-YVNALLAZ.js.map} +0 -0
@@ -2,7 +2,7 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  setUserConfigValue
5
- } from "./chunk-SVYPYQKS.js";
5
+ } from "./chunk-QQ7GNM4Q.js";
6
6
  import {
7
7
  isCompletionArgument
8
8
  } from "./chunk-MDK4RMBQ.js";
@@ -12,26 +12,31 @@ import {
12
12
  import {
13
13
  detectBackground
14
14
  } from "./chunk-6ULKBT6P.js";
15
+ import {
16
+ reducedMotion,
17
+ require_react,
18
+ setReducedMotion
19
+ } from "./chunk-HREK4V2O.js";
15
20
  import {
16
21
  SKILL_NAME_MAX_CHARS,
17
22
  SKILL_NAME_PATTERN,
18
23
  explainFailure,
19
24
  resolveTurnGuards,
20
25
  sandboxRunsShellUnasked
21
- } from "./chunk-M7PUJE22.js";
26
+ } from "./chunk-EZSI3CMO.js";
22
27
  import {
23
28
  localConfigPath
24
- } from "./chunk-BWSU3DAY.js";
29
+ } from "./chunk-FQMRE4UZ.js";
25
30
  import {
26
31
  applyPalette
27
32
  } from "./chunk-2IPDTDB3.js";
28
33
  import {
29
34
  discoverSkills,
30
35
  loadSkillBody
31
- } from "./chunk-C2VJISDY.js";
36
+ } from "./chunk-OID5W4VF.js";
32
37
  import {
33
38
  apiKeyLogoutTarget
34
- } from "./chunk-XY5VT5CV.js";
39
+ } from "./chunk-IMCIEA4W.js";
35
40
  import {
36
41
  CLI_VERSION
37
42
  } from "./chunk-HE7WUOX2.js";
@@ -42,7 +47,7 @@ import {
42
47
  patternOf,
43
48
  readPermissionLayers,
44
49
  renderConfigDebug
45
- } from "./chunk-3C34WF54.js";
50
+ } from "./chunk-46QXCDI7.js";
46
51
  import {
47
52
  displayPath,
48
53
  homePath,
@@ -58,13 +63,13 @@ import {
58
63
  permissionModeDescription,
59
64
  permissionModeFromName,
60
65
  permissionModeLabel
61
- } from "./chunk-VXPYQGU2.js";
66
+ } from "./chunk-ACG3D2BX.js";
62
67
  import {
63
68
  terminalDisplayText
64
69
  } from "./chunk-IYUW2RAA.js";
65
70
  import {
66
71
  isPermissionEffect
67
- } from "./chunk-KRL7BJTX.js";
72
+ } from "./chunk-ZHCKDGV3.js";
68
73
  import {
69
74
  PERMISSION_MODE_NAMES
70
75
  } from "./chunk-WMEZTDLT.js";
@@ -73,1492 +78,18 @@ import {
73
78
  } from "./chunk-U5UV2YRE.js";
74
79
  import {
75
80
  namzuHomePath
76
- } from "./chunk-GAPKVMFJ.js";
81
+ } from "./chunk-N36ZNZWP.js";
77
82
  import {
78
83
  RegistryCollisionError,
79
84
  isMemoryType,
80
85
  kernelHostCommands,
81
86
  parseFrontmatter
82
- } from "./chunk-LGKMYO23.js";
87
+ } from "./chunk-SHNMQXCD.js";
83
88
  import {
84
- __commonJS,
85
89
  __name,
86
90
  __toESM
87
91
  } from "./chunk-76FLAFCG.js";
88
92
 
89
- // ../../node_modules/.pnpm/react@19.2.6/node_modules/react/cjs/react.production.js
90
- var require_react_production = __commonJS({
91
- "../../node_modules/.pnpm/react@19.2.6/node_modules/react/cjs/react.production.js"(exports) {
92
- "use strict";
93
- var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
94
- var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
95
- var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
96
- var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
97
- var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
98
- var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer");
99
- var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
100
- var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
101
- var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
102
- var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
103
- var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
104
- var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
105
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
106
- function getIteratorFn(maybeIterable) {
107
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
108
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
109
- return "function" === typeof maybeIterable ? maybeIterable : null;
110
- }
111
- __name(getIteratorFn, "getIteratorFn");
112
- var ReactNoopUpdateQueue = {
113
- isMounted: /* @__PURE__ */ __name(function() {
114
- return false;
115
- }, "isMounted"),
116
- enqueueForceUpdate: /* @__PURE__ */ __name(function() {
117
- }, "enqueueForceUpdate"),
118
- enqueueReplaceState: /* @__PURE__ */ __name(function() {
119
- }, "enqueueReplaceState"),
120
- enqueueSetState: /* @__PURE__ */ __name(function() {
121
- }, "enqueueSetState")
122
- };
123
- var assign = Object.assign;
124
- var emptyObject = {};
125
- function Component(props, context, updater) {
126
- this.props = props;
127
- this.context = context;
128
- this.refs = emptyObject;
129
- this.updater = updater || ReactNoopUpdateQueue;
130
- }
131
- __name(Component, "Component");
132
- Component.prototype.isReactComponent = {};
133
- Component.prototype.setState = function(partialState, callback) {
134
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
135
- throw Error(
136
- "takes an object of state variables to update or a function which returns an object of state variables."
137
- );
138
- this.updater.enqueueSetState(this, partialState, callback, "setState");
139
- };
140
- Component.prototype.forceUpdate = function(callback) {
141
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
142
- };
143
- function ComponentDummy() {
144
- }
145
- __name(ComponentDummy, "ComponentDummy");
146
- ComponentDummy.prototype = Component.prototype;
147
- function PureComponent(props, context, updater) {
148
- this.props = props;
149
- this.context = context;
150
- this.refs = emptyObject;
151
- this.updater = updater || ReactNoopUpdateQueue;
152
- }
153
- __name(PureComponent, "PureComponent");
154
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
155
- pureComponentPrototype.constructor = PureComponent;
156
- assign(pureComponentPrototype, Component.prototype);
157
- pureComponentPrototype.isPureReactComponent = true;
158
- var isArrayImpl = Array.isArray;
159
- function noop() {
160
- }
161
- __name(noop, "noop");
162
- var ReactSharedInternals = { H: null, A: null, T: null, S: null };
163
- var hasOwnProperty = Object.prototype.hasOwnProperty;
164
- function ReactElement(type, key, props) {
165
- var refProp = props.ref;
166
- return {
167
- $$typeof: REACT_ELEMENT_TYPE,
168
- type,
169
- key,
170
- ref: void 0 !== refProp ? refProp : null,
171
- props
172
- };
173
- }
174
- __name(ReactElement, "ReactElement");
175
- function cloneAndReplaceKey(oldElement, newKey) {
176
- return ReactElement(oldElement.type, newKey, oldElement.props);
177
- }
178
- __name(cloneAndReplaceKey, "cloneAndReplaceKey");
179
- function isValidElement(object) {
180
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
181
- }
182
- __name(isValidElement, "isValidElement");
183
- function escape(key) {
184
- var escaperLookup = { "=": "=0", ":": "=2" };
185
- return "$" + key.replace(/[=:]/g, function(match) {
186
- return escaperLookup[match];
187
- });
188
- }
189
- __name(escape, "escape");
190
- var userProvidedKeyEscapeRegex = /\/+/g;
191
- function getElementKey(element, index) {
192
- return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
193
- }
194
- __name(getElementKey, "getElementKey");
195
- function resolveThenable(thenable) {
196
- switch (thenable.status) {
197
- case "fulfilled":
198
- return thenable.value;
199
- case "rejected":
200
- throw thenable.reason;
201
- default:
202
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
203
- function(fulfilledValue) {
204
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
205
- },
206
- function(error) {
207
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
208
- }
209
- )), thenable.status) {
210
- case "fulfilled":
211
- return thenable.value;
212
- case "rejected":
213
- throw thenable.reason;
214
- }
215
- }
216
- throw thenable;
217
- }
218
- __name(resolveThenable, "resolveThenable");
219
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
220
- var type = typeof children;
221
- if ("undefined" === type || "boolean" === type) children = null;
222
- var invokeCallback = false;
223
- if (null === children) invokeCallback = true;
224
- else
225
- switch (type) {
226
- case "bigint":
227
- case "string":
228
- case "number":
229
- invokeCallback = true;
230
- break;
231
- case "object":
232
- switch (children.$$typeof) {
233
- case REACT_ELEMENT_TYPE:
234
- case REACT_PORTAL_TYPE:
235
- invokeCallback = true;
236
- break;
237
- case REACT_LAZY_TYPE:
238
- return invokeCallback = children._init, mapIntoArray(
239
- invokeCallback(children._payload),
240
- array,
241
- escapedPrefix,
242
- nameSoFar,
243
- callback
244
- );
245
- }
246
- }
247
- if (invokeCallback)
248
- return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
249
- return c;
250
- })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
251
- callback,
252
- escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
253
- userProvidedKeyEscapeRegex,
254
- "$&/"
255
- ) + "/") + invokeCallback
256
- )), array.push(callback)), 1;
257
- invokeCallback = 0;
258
- var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
259
- if (isArrayImpl(children))
260
- for (var i = 0; i < children.length; i++)
261
- nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
262
- nameSoFar,
263
- array,
264
- escapedPrefix,
265
- type,
266
- callback
267
- );
268
- else if (i = getIteratorFn(children), "function" === typeof i)
269
- for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
270
- nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
271
- nameSoFar,
272
- array,
273
- escapedPrefix,
274
- type,
275
- callback
276
- );
277
- else if ("object" === type) {
278
- if ("function" === typeof children.then)
279
- return mapIntoArray(
280
- resolveThenable(children),
281
- array,
282
- escapedPrefix,
283
- nameSoFar,
284
- callback
285
- );
286
- array = String(children);
287
- throw Error(
288
- "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
289
- );
290
- }
291
- return invokeCallback;
292
- }
293
- __name(mapIntoArray, "mapIntoArray");
294
- function mapChildren(children, func, context) {
295
- if (null == children) return children;
296
- var result = [], count = 0;
297
- mapIntoArray(children, result, "", "", function(child) {
298
- return func.call(context, child, count++);
299
- });
300
- return result;
301
- }
302
- __name(mapChildren, "mapChildren");
303
- function lazyInitializer(payload) {
304
- if (-1 === payload._status) {
305
- var ctor = payload._result;
306
- ctor = ctor();
307
- ctor.then(
308
- function(moduleObject) {
309
- if (0 === payload._status || -1 === payload._status)
310
- payload._status = 1, payload._result = moduleObject;
311
- },
312
- function(error) {
313
- if (0 === payload._status || -1 === payload._status)
314
- payload._status = 2, payload._result = error;
315
- }
316
- );
317
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
318
- }
319
- if (1 === payload._status) return payload._result.default;
320
- throw payload._result;
321
- }
322
- __name(lazyInitializer, "lazyInitializer");
323
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
324
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
325
- var event = new window.ErrorEvent("error", {
326
- bubbles: true,
327
- cancelable: true,
328
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
329
- error
330
- });
331
- if (!window.dispatchEvent(event)) return;
332
- } else if ("object" === typeof process && "function" === typeof process.emit) {
333
- process.emit("uncaughtException", error);
334
- return;
335
- }
336
- console.error(error);
337
- };
338
- var Children = {
339
- map: mapChildren,
340
- forEach: /* @__PURE__ */ __name(function(children, forEachFunc, forEachContext) {
341
- mapChildren(
342
- children,
343
- function() {
344
- forEachFunc.apply(this, arguments);
345
- },
346
- forEachContext
347
- );
348
- }, "forEach"),
349
- count: /* @__PURE__ */ __name(function(children) {
350
- var n = 0;
351
- mapChildren(children, function() {
352
- n++;
353
- });
354
- return n;
355
- }, "count"),
356
- toArray: /* @__PURE__ */ __name(function(children) {
357
- return mapChildren(children, function(child) {
358
- return child;
359
- }) || [];
360
- }, "toArray"),
361
- only: /* @__PURE__ */ __name(function(children) {
362
- if (!isValidElement(children))
363
- throw Error(
364
- "React.Children.only expected to receive a single React element child."
365
- );
366
- return children;
367
- }, "only")
368
- };
369
- exports.Activity = REACT_ACTIVITY_TYPE;
370
- exports.Children = Children;
371
- exports.Component = Component;
372
- exports.Fragment = REACT_FRAGMENT_TYPE;
373
- exports.Profiler = REACT_PROFILER_TYPE;
374
- exports.PureComponent = PureComponent;
375
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
376
- exports.Suspense = REACT_SUSPENSE_TYPE;
377
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
378
- exports.__COMPILER_RUNTIME = {
379
- __proto__: null,
380
- c: /* @__PURE__ */ __name(function(size) {
381
- return ReactSharedInternals.H.useMemoCache(size);
382
- }, "c")
383
- };
384
- exports.cache = function(fn) {
385
- return function() {
386
- return fn.apply(null, arguments);
387
- };
388
- };
389
- exports.cacheSignal = function() {
390
- return null;
391
- };
392
- exports.cloneElement = function(element, config, children) {
393
- if (null === element || void 0 === element)
394
- throw Error(
395
- "The argument must be a React element, but you passed " + element + "."
396
- );
397
- var props = assign({}, element.props), key = element.key;
398
- if (null != config)
399
- for (propName in void 0 !== config.key && (key = "" + config.key), config)
400
- !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
401
- var propName = arguments.length - 2;
402
- if (1 === propName) props.children = children;
403
- else if (1 < propName) {
404
- for (var childArray = Array(propName), i = 0; i < propName; i++)
405
- childArray[i] = arguments[i + 2];
406
- props.children = childArray;
407
- }
408
- return ReactElement(element.type, key, props);
409
- };
410
- exports.createContext = function(defaultValue) {
411
- defaultValue = {
412
- $$typeof: REACT_CONTEXT_TYPE,
413
- _currentValue: defaultValue,
414
- _currentValue2: defaultValue,
415
- _threadCount: 0,
416
- Provider: null,
417
- Consumer: null
418
- };
419
- defaultValue.Provider = defaultValue;
420
- defaultValue.Consumer = {
421
- $$typeof: REACT_CONSUMER_TYPE,
422
- _context: defaultValue
423
- };
424
- return defaultValue;
425
- };
426
- exports.createElement = function(type, config, children) {
427
- var propName, props = {}, key = null;
428
- if (null != config)
429
- for (propName in void 0 !== config.key && (key = "" + config.key), config)
430
- hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
431
- var childrenLength = arguments.length - 2;
432
- if (1 === childrenLength) props.children = children;
433
- else if (1 < childrenLength) {
434
- for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
435
- childArray[i] = arguments[i + 2];
436
- props.children = childArray;
437
- }
438
- if (type && type.defaultProps)
439
- for (propName in childrenLength = type.defaultProps, childrenLength)
440
- void 0 === props[propName] && (props[propName] = childrenLength[propName]);
441
- return ReactElement(type, key, props);
442
- };
443
- exports.createRef = function() {
444
- return { current: null };
445
- };
446
- exports.forwardRef = function(render) {
447
- return { $$typeof: REACT_FORWARD_REF_TYPE, render };
448
- };
449
- exports.isValidElement = isValidElement;
450
- exports.lazy = function(ctor) {
451
- return {
452
- $$typeof: REACT_LAZY_TYPE,
453
- _payload: { _status: -1, _result: ctor },
454
- _init: lazyInitializer
455
- };
456
- };
457
- exports.memo = function(type, compare) {
458
- return {
459
- $$typeof: REACT_MEMO_TYPE,
460
- type,
461
- compare: void 0 === compare ? null : compare
462
- };
463
- };
464
- exports.startTransition = function(scope) {
465
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
466
- ReactSharedInternals.T = currentTransition;
467
- try {
468
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
469
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
470
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
471
- } catch (error) {
472
- reportGlobalError(error);
473
- } finally {
474
- null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
475
- }
476
- };
477
- exports.unstable_useCacheRefresh = function() {
478
- return ReactSharedInternals.H.useCacheRefresh();
479
- };
480
- exports.use = function(usable) {
481
- return ReactSharedInternals.H.use(usable);
482
- };
483
- exports.useActionState = function(action2, initialState, permalink) {
484
- return ReactSharedInternals.H.useActionState(action2, initialState, permalink);
485
- };
486
- exports.useCallback = function(callback, deps) {
487
- return ReactSharedInternals.H.useCallback(callback, deps);
488
- };
489
- exports.useContext = function(Context) {
490
- return ReactSharedInternals.H.useContext(Context);
491
- };
492
- exports.useDebugValue = function() {
493
- };
494
- exports.useDeferredValue = function(value, initialValue) {
495
- return ReactSharedInternals.H.useDeferredValue(value, initialValue);
496
- };
497
- exports.useEffect = function(create, deps) {
498
- return ReactSharedInternals.H.useEffect(create, deps);
499
- };
500
- exports.useEffectEvent = function(callback) {
501
- return ReactSharedInternals.H.useEffectEvent(callback);
502
- };
503
- exports.useId = function() {
504
- return ReactSharedInternals.H.useId();
505
- };
506
- exports.useImperativeHandle = function(ref, create, deps) {
507
- return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
508
- };
509
- exports.useInsertionEffect = function(create, deps) {
510
- return ReactSharedInternals.H.useInsertionEffect(create, deps);
511
- };
512
- exports.useLayoutEffect = function(create, deps) {
513
- return ReactSharedInternals.H.useLayoutEffect(create, deps);
514
- };
515
- exports.useMemo = function(create, deps) {
516
- return ReactSharedInternals.H.useMemo(create, deps);
517
- };
518
- exports.useOptimistic = function(passthrough, reducer) {
519
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
520
- };
521
- exports.useReducer = function(reducer, initialArg, init) {
522
- return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
523
- };
524
- exports.useRef = function(initialValue) {
525
- return ReactSharedInternals.H.useRef(initialValue);
526
- };
527
- exports.useState = function(initialState) {
528
- return ReactSharedInternals.H.useState(initialState);
529
- };
530
- exports.useSyncExternalStore = function(subscribe3, getSnapshot, getServerSnapshot) {
531
- return ReactSharedInternals.H.useSyncExternalStore(
532
- subscribe3,
533
- getSnapshot,
534
- getServerSnapshot
535
- );
536
- };
537
- exports.useTransition = function() {
538
- return ReactSharedInternals.H.useTransition();
539
- };
540
- exports.version = "19.2.6";
541
- }
542
- });
543
-
544
- // ../../node_modules/.pnpm/react@19.2.6/node_modules/react/cjs/react.development.js
545
- var require_react_development = __commonJS({
546
- "../../node_modules/.pnpm/react@19.2.6/node_modules/react/cjs/react.development.js"(exports, module) {
547
- "use strict";
548
- "production" !== process.env.NODE_ENV && (function() {
549
- function defineDeprecationWarning(methodName, info) {
550
- Object.defineProperty(Component.prototype, methodName, {
551
- get: /* @__PURE__ */ __name(function() {
552
- console.warn(
553
- "%s(...) is deprecated in plain JavaScript React classes. %s",
554
- info[0],
555
- info[1]
556
- );
557
- }, "get")
558
- });
559
- }
560
- __name(defineDeprecationWarning, "defineDeprecationWarning");
561
- function getIteratorFn(maybeIterable) {
562
- if (null === maybeIterable || "object" !== typeof maybeIterable)
563
- return null;
564
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
565
- return "function" === typeof maybeIterable ? maybeIterable : null;
566
- }
567
- __name(getIteratorFn, "getIteratorFn");
568
- function warnNoop(publicInstance, callerName) {
569
- publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
570
- var warningKey = publicInstance + "." + callerName;
571
- didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
572
- "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
573
- callerName,
574
- publicInstance
575
- ), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
576
- }
577
- __name(warnNoop, "warnNoop");
578
- function Component(props, context, updater) {
579
- this.props = props;
580
- this.context = context;
581
- this.refs = emptyObject;
582
- this.updater = updater || ReactNoopUpdateQueue;
583
- }
584
- __name(Component, "Component");
585
- function ComponentDummy() {
586
- }
587
- __name(ComponentDummy, "ComponentDummy");
588
- function PureComponent(props, context, updater) {
589
- this.props = props;
590
- this.context = context;
591
- this.refs = emptyObject;
592
- this.updater = updater || ReactNoopUpdateQueue;
593
- }
594
- __name(PureComponent, "PureComponent");
595
- function noop() {
596
- }
597
- __name(noop, "noop");
598
- function testStringCoercion(value) {
599
- return "" + value;
600
- }
601
- __name(testStringCoercion, "testStringCoercion");
602
- function checkKeyStringCoercion(value) {
603
- try {
604
- testStringCoercion(value);
605
- var JSCompiler_inline_result = false;
606
- } catch (e) {
607
- JSCompiler_inline_result = true;
608
- }
609
- if (JSCompiler_inline_result) {
610
- JSCompiler_inline_result = console;
611
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
612
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
613
- JSCompiler_temp_const.call(
614
- JSCompiler_inline_result,
615
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
616
- JSCompiler_inline_result$jscomp$0
617
- );
618
- return testStringCoercion(value);
619
- }
620
- }
621
- __name(checkKeyStringCoercion, "checkKeyStringCoercion");
622
- function getComponentNameFromType(type) {
623
- if (null == type) return null;
624
- if ("function" === typeof type)
625
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
626
- if ("string" === typeof type) return type;
627
- switch (type) {
628
- case REACT_FRAGMENT_TYPE:
629
- return "Fragment";
630
- case REACT_PROFILER_TYPE:
631
- return "Profiler";
632
- case REACT_STRICT_MODE_TYPE:
633
- return "StrictMode";
634
- case REACT_SUSPENSE_TYPE:
635
- return "Suspense";
636
- case REACT_SUSPENSE_LIST_TYPE:
637
- return "SuspenseList";
638
- case REACT_ACTIVITY_TYPE:
639
- return "Activity";
640
- }
641
- if ("object" === typeof type)
642
- switch ("number" === typeof type.tag && console.error(
643
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
644
- ), type.$$typeof) {
645
- case REACT_PORTAL_TYPE:
646
- return "Portal";
647
- case REACT_CONTEXT_TYPE:
648
- return type.displayName || "Context";
649
- case REACT_CONSUMER_TYPE:
650
- return (type._context.displayName || "Context") + ".Consumer";
651
- case REACT_FORWARD_REF_TYPE:
652
- var innerType = type.render;
653
- type = type.displayName;
654
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
655
- return type;
656
- case REACT_MEMO_TYPE:
657
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
658
- case REACT_LAZY_TYPE:
659
- innerType = type._payload;
660
- type = type._init;
661
- try {
662
- return getComponentNameFromType(type(innerType));
663
- } catch (x) {
664
- }
665
- }
666
- return null;
667
- }
668
- __name(getComponentNameFromType, "getComponentNameFromType");
669
- function getTaskName(type) {
670
- if (type === REACT_FRAGMENT_TYPE) return "<>";
671
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
672
- return "<...>";
673
- try {
674
- var name = getComponentNameFromType(type);
675
- return name ? "<" + name + ">" : "<...>";
676
- } catch (x) {
677
- return "<...>";
678
- }
679
- }
680
- __name(getTaskName, "getTaskName");
681
- function getOwner() {
682
- var dispatcher = ReactSharedInternals.A;
683
- return null === dispatcher ? null : dispatcher.getOwner();
684
- }
685
- __name(getOwner, "getOwner");
686
- function UnknownOwner() {
687
- return Error("react-stack-top-frame");
688
- }
689
- __name(UnknownOwner, "UnknownOwner");
690
- function hasValidKey(config) {
691
- if (hasOwnProperty.call(config, "key")) {
692
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
693
- if (getter && getter.isReactWarning) return false;
694
- }
695
- return void 0 !== config.key;
696
- }
697
- __name(hasValidKey, "hasValidKey");
698
- function defineKeyPropWarningGetter(props, displayName) {
699
- function warnAboutAccessingKey() {
700
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
701
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
702
- displayName
703
- ));
704
- }
705
- __name(warnAboutAccessingKey, "warnAboutAccessingKey");
706
- warnAboutAccessingKey.isReactWarning = true;
707
- Object.defineProperty(props, "key", {
708
- get: warnAboutAccessingKey,
709
- configurable: true
710
- });
711
- }
712
- __name(defineKeyPropWarningGetter, "defineKeyPropWarningGetter");
713
- function elementRefGetterWithDeprecationWarning() {
714
- var componentName = getComponentNameFromType(this.type);
715
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
716
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
717
- ));
718
- componentName = this.props.ref;
719
- return void 0 !== componentName ? componentName : null;
720
- }
721
- __name(elementRefGetterWithDeprecationWarning, "elementRefGetterWithDeprecationWarning");
722
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
723
- var refProp = props.ref;
724
- type = {
725
- $$typeof: REACT_ELEMENT_TYPE,
726
- type,
727
- key,
728
- props,
729
- _owner: owner
730
- };
731
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
732
- enumerable: false,
733
- get: elementRefGetterWithDeprecationWarning
734
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
735
- type._store = {};
736
- Object.defineProperty(type._store, "validated", {
737
- configurable: false,
738
- enumerable: false,
739
- writable: true,
740
- value: 0
741
- });
742
- Object.defineProperty(type, "_debugInfo", {
743
- configurable: false,
744
- enumerable: false,
745
- writable: true,
746
- value: null
747
- });
748
- Object.defineProperty(type, "_debugStack", {
749
- configurable: false,
750
- enumerable: false,
751
- writable: true,
752
- value: debugStack
753
- });
754
- Object.defineProperty(type, "_debugTask", {
755
- configurable: false,
756
- enumerable: false,
757
- writable: true,
758
- value: debugTask
759
- });
760
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
761
- return type;
762
- }
763
- __name(ReactElement, "ReactElement");
764
- function cloneAndReplaceKey(oldElement, newKey) {
765
- newKey = ReactElement(
766
- oldElement.type,
767
- newKey,
768
- oldElement.props,
769
- oldElement._owner,
770
- oldElement._debugStack,
771
- oldElement._debugTask
772
- );
773
- oldElement._store && (newKey._store.validated = oldElement._store.validated);
774
- return newKey;
775
- }
776
- __name(cloneAndReplaceKey, "cloneAndReplaceKey");
777
- function validateChildKeys(node) {
778
- isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
779
- }
780
- __name(validateChildKeys, "validateChildKeys");
781
- function isValidElement(object) {
782
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
783
- }
784
- __name(isValidElement, "isValidElement");
785
- function escape(key) {
786
- var escaperLookup = { "=": "=0", ":": "=2" };
787
- return "$" + key.replace(/[=:]/g, function(match) {
788
- return escaperLookup[match];
789
- });
790
- }
791
- __name(escape, "escape");
792
- function getElementKey(element, index) {
793
- return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
794
- }
795
- __name(getElementKey, "getElementKey");
796
- function resolveThenable(thenable) {
797
- switch (thenable.status) {
798
- case "fulfilled":
799
- return thenable.value;
800
- case "rejected":
801
- throw thenable.reason;
802
- default:
803
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
804
- function(fulfilledValue) {
805
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
806
- },
807
- function(error) {
808
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
809
- }
810
- )), thenable.status) {
811
- case "fulfilled":
812
- return thenable.value;
813
- case "rejected":
814
- throw thenable.reason;
815
- }
816
- }
817
- throw thenable;
818
- }
819
- __name(resolveThenable, "resolveThenable");
820
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
821
- var type = typeof children;
822
- if ("undefined" === type || "boolean" === type) children = null;
823
- var invokeCallback = false;
824
- if (null === children) invokeCallback = true;
825
- else
826
- switch (type) {
827
- case "bigint":
828
- case "string":
829
- case "number":
830
- invokeCallback = true;
831
- break;
832
- case "object":
833
- switch (children.$$typeof) {
834
- case REACT_ELEMENT_TYPE:
835
- case REACT_PORTAL_TYPE:
836
- invokeCallback = true;
837
- break;
838
- case REACT_LAZY_TYPE:
839
- return invokeCallback = children._init, mapIntoArray(
840
- invokeCallback(children._payload),
841
- array,
842
- escapedPrefix,
843
- nameSoFar,
844
- callback
845
- );
846
- }
847
- }
848
- if (invokeCallback) {
849
- invokeCallback = children;
850
- callback = callback(invokeCallback);
851
- var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
852
- isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
853
- return c;
854
- })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
855
- callback,
856
- escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
857
- userProvidedKeyEscapeRegex,
858
- "$&/"
859
- ) + "/") + childKey
860
- ), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
861
- return 1;
862
- }
863
- invokeCallback = 0;
864
- childKey = "" === nameSoFar ? "." : nameSoFar + ":";
865
- if (isArrayImpl(children))
866
- for (var i = 0; i < children.length; i++)
867
- nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
868
- nameSoFar,
869
- array,
870
- escapedPrefix,
871
- type,
872
- callback
873
- );
874
- else if (i = getIteratorFn(children), "function" === typeof i)
875
- for (i === children.entries && (didWarnAboutMaps || console.warn(
876
- "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
877
- ), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
878
- nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
879
- nameSoFar,
880
- array,
881
- escapedPrefix,
882
- type,
883
- callback
884
- );
885
- else if ("object" === type) {
886
- if ("function" === typeof children.then)
887
- return mapIntoArray(
888
- resolveThenable(children),
889
- array,
890
- escapedPrefix,
891
- nameSoFar,
892
- callback
893
- );
894
- array = String(children);
895
- throw Error(
896
- "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
897
- );
898
- }
899
- return invokeCallback;
900
- }
901
- __name(mapIntoArray, "mapIntoArray");
902
- function mapChildren(children, func, context) {
903
- if (null == children) return children;
904
- var result = [], count = 0;
905
- mapIntoArray(children, result, "", "", function(child) {
906
- return func.call(context, child, count++);
907
- });
908
- return result;
909
- }
910
- __name(mapChildren, "mapChildren");
911
- function lazyInitializer(payload) {
912
- if (-1 === payload._status) {
913
- var ioInfo = payload._ioInfo;
914
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
915
- ioInfo = payload._result;
916
- var thenable = ioInfo();
917
- thenable.then(
918
- function(moduleObject) {
919
- if (0 === payload._status || -1 === payload._status) {
920
- payload._status = 1;
921
- payload._result = moduleObject;
922
- var _ioInfo = payload._ioInfo;
923
- null != _ioInfo && (_ioInfo.end = performance.now());
924
- void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
925
- }
926
- },
927
- function(error) {
928
- if (0 === payload._status || -1 === payload._status) {
929
- payload._status = 2;
930
- payload._result = error;
931
- var _ioInfo2 = payload._ioInfo;
932
- null != _ioInfo2 && (_ioInfo2.end = performance.now());
933
- void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
934
- }
935
- }
936
- );
937
- ioInfo = payload._ioInfo;
938
- if (null != ioInfo) {
939
- ioInfo.value = thenable;
940
- var displayName = thenable.displayName;
941
- "string" === typeof displayName && (ioInfo.name = displayName);
942
- }
943
- -1 === payload._status && (payload._status = 0, payload._result = thenable);
944
- }
945
- if (1 === payload._status)
946
- return ioInfo = payload._result, void 0 === ioInfo && console.error(
947
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
948
- ioInfo
949
- ), "default" in ioInfo || console.error(
950
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
951
- ioInfo
952
- ), ioInfo.default;
953
- throw payload._result;
954
- }
955
- __name(lazyInitializer, "lazyInitializer");
956
- function resolveDispatcher() {
957
- var dispatcher = ReactSharedInternals.H;
958
- null === dispatcher && console.error(
959
- "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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
960
- );
961
- return dispatcher;
962
- }
963
- __name(resolveDispatcher, "resolveDispatcher");
964
- function releaseAsyncTransition() {
965
- ReactSharedInternals.asyncTransitions--;
966
- }
967
- __name(releaseAsyncTransition, "releaseAsyncTransition");
968
- function enqueueTask(task) {
969
- if (null === enqueueTaskImpl)
970
- try {
971
- var requireString = ("require" + Math.random()).slice(0, 7);
972
- enqueueTaskImpl = (module && module[requireString]).call(
973
- module,
974
- "timers"
975
- ).setImmediate;
976
- } catch (_err) {
977
- enqueueTaskImpl = /* @__PURE__ */ __name(function(callback) {
978
- false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
979
- "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
980
- ));
981
- var channel = new MessageChannel();
982
- channel.port1.onmessage = callback;
983
- channel.port2.postMessage(void 0);
984
- }, "enqueueTaskImpl");
985
- }
986
- return enqueueTaskImpl(task);
987
- }
988
- __name(enqueueTask, "enqueueTask");
989
- function aggregateErrors(errors) {
990
- return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
991
- }
992
- __name(aggregateErrors, "aggregateErrors");
993
- function popActScope(prevActQueue, prevActScopeDepth) {
994
- prevActScopeDepth !== actScopeDepth - 1 && console.error(
995
- "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
996
- );
997
- actScopeDepth = prevActScopeDepth;
998
- }
999
- __name(popActScope, "popActScope");
1000
- function recursivelyFlushAsyncActWork(returnValue, resolve2, reject) {
1001
- var queue = ReactSharedInternals.actQueue;
1002
- if (null !== queue)
1003
- if (0 !== queue.length)
1004
- try {
1005
- flushActQueue(queue);
1006
- enqueueTask(function() {
1007
- return recursivelyFlushAsyncActWork(returnValue, resolve2, reject);
1008
- });
1009
- return;
1010
- } catch (error) {
1011
- ReactSharedInternals.thrownErrors.push(error);
1012
- }
1013
- else ReactSharedInternals.actQueue = null;
1014
- 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve2(returnValue);
1015
- }
1016
- __name(recursivelyFlushAsyncActWork, "recursivelyFlushAsyncActWork");
1017
- function flushActQueue(queue) {
1018
- if (!isFlushing) {
1019
- isFlushing = true;
1020
- var i = 0;
1021
- try {
1022
- for (; i < queue.length; i++) {
1023
- var callback = queue[i];
1024
- do {
1025
- ReactSharedInternals.didUsePromise = false;
1026
- var continuation = callback(false);
1027
- if (null !== continuation) {
1028
- if (ReactSharedInternals.didUsePromise) {
1029
- queue[i] = callback;
1030
- queue.splice(0, i);
1031
- return;
1032
- }
1033
- callback = continuation;
1034
- } else break;
1035
- } while (1);
1036
- }
1037
- queue.length = 0;
1038
- } catch (error) {
1039
- queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
1040
- } finally {
1041
- isFlushing = false;
1042
- }
1043
- }
1044
- }
1045
- __name(flushActQueue, "flushActQueue");
1046
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1047
- var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
1048
- isMounted: /* @__PURE__ */ __name(function() {
1049
- return false;
1050
- }, "isMounted"),
1051
- enqueueForceUpdate: /* @__PURE__ */ __name(function(publicInstance) {
1052
- warnNoop(publicInstance, "forceUpdate");
1053
- }, "enqueueForceUpdate"),
1054
- enqueueReplaceState: /* @__PURE__ */ __name(function(publicInstance) {
1055
- warnNoop(publicInstance, "replaceState");
1056
- }, "enqueueReplaceState"),
1057
- enqueueSetState: /* @__PURE__ */ __name(function(publicInstance) {
1058
- warnNoop(publicInstance, "setState");
1059
- }, "enqueueSetState")
1060
- }, assign = Object.assign, emptyObject = {};
1061
- Object.freeze(emptyObject);
1062
- Component.prototype.isReactComponent = {};
1063
- Component.prototype.setState = function(partialState, callback) {
1064
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
1065
- throw Error(
1066
- "takes an object of state variables to update or a function which returns an object of state variables."
1067
- );
1068
- this.updater.enqueueSetState(this, partialState, callback, "setState");
1069
- };
1070
- Component.prototype.forceUpdate = function(callback) {
1071
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
1072
- };
1073
- var deprecatedAPIs = {
1074
- isMounted: [
1075
- "isMounted",
1076
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
1077
- ],
1078
- replaceState: [
1079
- "replaceState",
1080
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
1081
- ]
1082
- };
1083
- for (fnName in deprecatedAPIs)
1084
- deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
1085
- ComponentDummy.prototype = Component.prototype;
1086
- deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
1087
- deprecatedAPIs.constructor = PureComponent;
1088
- assign(deprecatedAPIs, Component.prototype);
1089
- deprecatedAPIs.isPureReactComponent = true;
1090
- var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = {
1091
- H: null,
1092
- A: null,
1093
- T: null,
1094
- S: null,
1095
- actQueue: null,
1096
- asyncTransitions: 0,
1097
- isBatchingLegacy: false,
1098
- didScheduleLegacyUpdate: false,
1099
- didUsePromise: false,
1100
- thrownErrors: [],
1101
- getCurrentStack: null,
1102
- recentlyCreatedOwnerStacks: 0
1103
- }, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
1104
- return null;
1105
- };
1106
- deprecatedAPIs = {
1107
- react_stack_bottom_frame: /* @__PURE__ */ __name(function(callStackForError) {
1108
- return callStackForError();
1109
- }, "react_stack_bottom_frame")
1110
- };
1111
- var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
1112
- var didWarnAboutElementRef = {};
1113
- var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
1114
- deprecatedAPIs,
1115
- UnknownOwner
1116
- )();
1117
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1118
- var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
1119
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
1120
- var event = new window.ErrorEvent("error", {
1121
- bubbles: true,
1122
- cancelable: true,
1123
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
1124
- error
1125
- });
1126
- if (!window.dispatchEvent(event)) return;
1127
- } else if ("object" === typeof process && "function" === typeof process.emit) {
1128
- process.emit("uncaughtException", error);
1129
- return;
1130
- }
1131
- console.error(error);
1132
- }, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
1133
- queueMicrotask(function() {
1134
- return queueMicrotask(callback);
1135
- });
1136
- } : enqueueTask;
1137
- deprecatedAPIs = Object.freeze({
1138
- __proto__: null,
1139
- c: /* @__PURE__ */ __name(function(size) {
1140
- return resolveDispatcher().useMemoCache(size);
1141
- }, "c")
1142
- });
1143
- var fnName = {
1144
- map: mapChildren,
1145
- forEach: /* @__PURE__ */ __name(function(children, forEachFunc, forEachContext) {
1146
- mapChildren(
1147
- children,
1148
- function() {
1149
- forEachFunc.apply(this, arguments);
1150
- },
1151
- forEachContext
1152
- );
1153
- }, "forEach"),
1154
- count: /* @__PURE__ */ __name(function(children) {
1155
- var n = 0;
1156
- mapChildren(children, function() {
1157
- n++;
1158
- });
1159
- return n;
1160
- }, "count"),
1161
- toArray: /* @__PURE__ */ __name(function(children) {
1162
- return mapChildren(children, function(child) {
1163
- return child;
1164
- }) || [];
1165
- }, "toArray"),
1166
- only: /* @__PURE__ */ __name(function(children) {
1167
- if (!isValidElement(children))
1168
- throw Error(
1169
- "React.Children.only expected to receive a single React element child."
1170
- );
1171
- return children;
1172
- }, "only")
1173
- };
1174
- exports.Activity = REACT_ACTIVITY_TYPE;
1175
- exports.Children = fnName;
1176
- exports.Component = Component;
1177
- exports.Fragment = REACT_FRAGMENT_TYPE;
1178
- exports.Profiler = REACT_PROFILER_TYPE;
1179
- exports.PureComponent = PureComponent;
1180
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
1181
- exports.Suspense = REACT_SUSPENSE_TYPE;
1182
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
1183
- exports.__COMPILER_RUNTIME = deprecatedAPIs;
1184
- exports.act = function(callback) {
1185
- var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
1186
- actScopeDepth++;
1187
- var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
1188
- try {
1189
- var result = callback();
1190
- } catch (error) {
1191
- ReactSharedInternals.thrownErrors.push(error);
1192
- }
1193
- if (0 < ReactSharedInternals.thrownErrors.length)
1194
- throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1195
- if (null !== result && "object" === typeof result && "function" === typeof result.then) {
1196
- var thenable = result;
1197
- queueSeveralMicrotasks(function() {
1198
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
1199
- "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
1200
- ));
1201
- });
1202
- return {
1203
- then: /* @__PURE__ */ __name(function(resolve2, reject) {
1204
- didAwaitActCall = true;
1205
- thenable.then(
1206
- function(returnValue) {
1207
- popActScope(prevActQueue, prevActScopeDepth);
1208
- if (0 === prevActScopeDepth) {
1209
- try {
1210
- flushActQueue(queue), enqueueTask(function() {
1211
- return recursivelyFlushAsyncActWork(
1212
- returnValue,
1213
- resolve2,
1214
- reject
1215
- );
1216
- });
1217
- } catch (error$0) {
1218
- ReactSharedInternals.thrownErrors.push(error$0);
1219
- }
1220
- if (0 < ReactSharedInternals.thrownErrors.length) {
1221
- var _thrownError = aggregateErrors(
1222
- ReactSharedInternals.thrownErrors
1223
- );
1224
- ReactSharedInternals.thrownErrors.length = 0;
1225
- reject(_thrownError);
1226
- }
1227
- } else resolve2(returnValue);
1228
- },
1229
- function(error) {
1230
- popActScope(prevActQueue, prevActScopeDepth);
1231
- 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
1232
- ReactSharedInternals.thrownErrors
1233
- ), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
1234
- }
1235
- );
1236
- }, "then")
1237
- };
1238
- }
1239
- var returnValue$jscomp$0 = result;
1240
- popActScope(prevActQueue, prevActScopeDepth);
1241
- 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
1242
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
1243
- "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
1244
- ));
1245
- }), ReactSharedInternals.actQueue = null);
1246
- if (0 < ReactSharedInternals.thrownErrors.length)
1247
- throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1248
- return {
1249
- then: /* @__PURE__ */ __name(function(resolve2, reject) {
1250
- didAwaitActCall = true;
1251
- 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
1252
- return recursivelyFlushAsyncActWork(
1253
- returnValue$jscomp$0,
1254
- resolve2,
1255
- reject
1256
- );
1257
- })) : resolve2(returnValue$jscomp$0);
1258
- }, "then")
1259
- };
1260
- };
1261
- exports.cache = function(fn) {
1262
- return function() {
1263
- return fn.apply(null, arguments);
1264
- };
1265
- };
1266
- exports.cacheSignal = function() {
1267
- return null;
1268
- };
1269
- exports.captureOwnerStack = function() {
1270
- var getCurrentStack = ReactSharedInternals.getCurrentStack;
1271
- return null === getCurrentStack ? null : getCurrentStack();
1272
- };
1273
- exports.cloneElement = function(element, config, children) {
1274
- if (null === element || void 0 === element)
1275
- throw Error(
1276
- "The argument must be a React element, but you passed " + element + "."
1277
- );
1278
- var props = assign({}, element.props), key = element.key, owner = element._owner;
1279
- if (null != config) {
1280
- var JSCompiler_inline_result;
1281
- a: {
1282
- if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
1283
- config,
1284
- "ref"
1285
- ).get) && JSCompiler_inline_result.isReactWarning) {
1286
- JSCompiler_inline_result = false;
1287
- break a;
1288
- }
1289
- JSCompiler_inline_result = void 0 !== config.ref;
1290
- }
1291
- JSCompiler_inline_result && (owner = getOwner());
1292
- hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
1293
- for (propName in config)
1294
- !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
1295
- }
1296
- var propName = arguments.length - 2;
1297
- if (1 === propName) props.children = children;
1298
- else if (1 < propName) {
1299
- JSCompiler_inline_result = Array(propName);
1300
- for (var i = 0; i < propName; i++)
1301
- JSCompiler_inline_result[i] = arguments[i + 2];
1302
- props.children = JSCompiler_inline_result;
1303
- }
1304
- props = ReactElement(
1305
- element.type,
1306
- key,
1307
- props,
1308
- owner,
1309
- element._debugStack,
1310
- element._debugTask
1311
- );
1312
- for (key = 2; key < arguments.length; key++)
1313
- validateChildKeys(arguments[key]);
1314
- return props;
1315
- };
1316
- exports.createContext = function(defaultValue) {
1317
- defaultValue = {
1318
- $$typeof: REACT_CONTEXT_TYPE,
1319
- _currentValue: defaultValue,
1320
- _currentValue2: defaultValue,
1321
- _threadCount: 0,
1322
- Provider: null,
1323
- Consumer: null
1324
- };
1325
- defaultValue.Provider = defaultValue;
1326
- defaultValue.Consumer = {
1327
- $$typeof: REACT_CONSUMER_TYPE,
1328
- _context: defaultValue
1329
- };
1330
- defaultValue._currentRenderer = null;
1331
- defaultValue._currentRenderer2 = null;
1332
- return defaultValue;
1333
- };
1334
- exports.createElement = function(type, config, children) {
1335
- for (var i = 2; i < arguments.length; i++)
1336
- validateChildKeys(arguments[i]);
1337
- i = {};
1338
- var key = null;
1339
- if (null != config)
1340
- for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
1341
- "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
1342
- )), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
1343
- hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
1344
- var childrenLength = arguments.length - 2;
1345
- if (1 === childrenLength) i.children = children;
1346
- else if (1 < childrenLength) {
1347
- for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
1348
- childArray[_i] = arguments[_i + 2];
1349
- Object.freeze && Object.freeze(childArray);
1350
- i.children = childArray;
1351
- }
1352
- if (type && type.defaultProps)
1353
- for (propName in childrenLength = type.defaultProps, childrenLength)
1354
- void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1355
- key && defineKeyPropWarningGetter(
1356
- i,
1357
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1358
- );
1359
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1360
- return ReactElement(
1361
- type,
1362
- key,
1363
- i,
1364
- getOwner(),
1365
- propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1366
- propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1367
- );
1368
- };
1369
- exports.createRef = function() {
1370
- var refObject = { current: null };
1371
- Object.seal(refObject);
1372
- return refObject;
1373
- };
1374
- exports.forwardRef = function(render) {
1375
- null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
1376
- "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1377
- ) : "function" !== typeof render ? console.error(
1378
- "forwardRef requires a render function but was given %s.",
1379
- null === render ? "null" : typeof render
1380
- ) : 0 !== render.length && 2 !== render.length && console.error(
1381
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
1382
- 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
1383
- );
1384
- null != render && null != render.defaultProps && console.error(
1385
- "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1386
- );
1387
- var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
1388
- Object.defineProperty(elementType, "displayName", {
1389
- enumerable: false,
1390
- configurable: true,
1391
- get: /* @__PURE__ */ __name(function() {
1392
- return ownName;
1393
- }, "get"),
1394
- set: /* @__PURE__ */ __name(function(name) {
1395
- ownName = name;
1396
- render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
1397
- }, "set")
1398
- });
1399
- return elementType;
1400
- };
1401
- exports.isValidElement = isValidElement;
1402
- exports.lazy = function(ctor) {
1403
- ctor = { _status: -1, _result: ctor };
1404
- var lazyType = {
1405
- $$typeof: REACT_LAZY_TYPE,
1406
- _payload: ctor,
1407
- _init: lazyInitializer
1408
- }, ioInfo = {
1409
- name: "lazy",
1410
- start: -1,
1411
- end: -1,
1412
- value: null,
1413
- owner: null,
1414
- debugStack: Error("react-stack-top-frame"),
1415
- debugTask: console.createTask ? console.createTask("lazy()") : null
1416
- };
1417
- ctor._ioInfo = ioInfo;
1418
- lazyType._debugInfo = [{ awaited: ioInfo }];
1419
- return lazyType;
1420
- };
1421
- exports.memo = function(type, compare) {
1422
- null == type && console.error(
1423
- "memo: The first argument must be a component. Instead received: %s",
1424
- null === type ? "null" : typeof type
1425
- );
1426
- compare = {
1427
- $$typeof: REACT_MEMO_TYPE,
1428
- type,
1429
- compare: void 0 === compare ? null : compare
1430
- };
1431
- var ownName;
1432
- Object.defineProperty(compare, "displayName", {
1433
- enumerable: false,
1434
- configurable: true,
1435
- get: /* @__PURE__ */ __name(function() {
1436
- return ownName;
1437
- }, "get"),
1438
- set: /* @__PURE__ */ __name(function(name) {
1439
- ownName = name;
1440
- type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
1441
- }, "set")
1442
- });
1443
- return compare;
1444
- };
1445
- exports.startTransition = function(scope) {
1446
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
1447
- currentTransition._updatedFibers = /* @__PURE__ */ new Set();
1448
- ReactSharedInternals.T = currentTransition;
1449
- try {
1450
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
1451
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
1452
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
1453
- } catch (error) {
1454
- reportGlobalError(error);
1455
- } finally {
1456
- null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
1457
- "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."
1458
- )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
1459
- "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."
1460
- ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
1461
- }
1462
- };
1463
- exports.unstable_useCacheRefresh = function() {
1464
- return resolveDispatcher().useCacheRefresh();
1465
- };
1466
- exports.use = function(usable) {
1467
- return resolveDispatcher().use(usable);
1468
- };
1469
- exports.useActionState = function(action2, initialState, permalink) {
1470
- return resolveDispatcher().useActionState(
1471
- action2,
1472
- initialState,
1473
- permalink
1474
- );
1475
- };
1476
- exports.useCallback = function(callback, deps) {
1477
- return resolveDispatcher().useCallback(callback, deps);
1478
- };
1479
- exports.useContext = function(Context) {
1480
- var dispatcher = resolveDispatcher();
1481
- Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
1482
- "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1483
- );
1484
- return dispatcher.useContext(Context);
1485
- };
1486
- exports.useDebugValue = function(value, formatterFn) {
1487
- return resolveDispatcher().useDebugValue(value, formatterFn);
1488
- };
1489
- exports.useDeferredValue = function(value, initialValue) {
1490
- return resolveDispatcher().useDeferredValue(value, initialValue);
1491
- };
1492
- exports.useEffect = function(create, deps) {
1493
- null == create && console.warn(
1494
- "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1495
- );
1496
- return resolveDispatcher().useEffect(create, deps);
1497
- };
1498
- exports.useEffectEvent = function(callback) {
1499
- return resolveDispatcher().useEffectEvent(callback);
1500
- };
1501
- exports.useId = function() {
1502
- return resolveDispatcher().useId();
1503
- };
1504
- exports.useImperativeHandle = function(ref, create, deps) {
1505
- return resolveDispatcher().useImperativeHandle(ref, create, deps);
1506
- };
1507
- exports.useInsertionEffect = function(create, deps) {
1508
- null == create && console.warn(
1509
- "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1510
- );
1511
- return resolveDispatcher().useInsertionEffect(create, deps);
1512
- };
1513
- exports.useLayoutEffect = function(create, deps) {
1514
- null == create && console.warn(
1515
- "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1516
- );
1517
- return resolveDispatcher().useLayoutEffect(create, deps);
1518
- };
1519
- exports.useMemo = function(create, deps) {
1520
- return resolveDispatcher().useMemo(create, deps);
1521
- };
1522
- exports.useOptimistic = function(passthrough, reducer) {
1523
- return resolveDispatcher().useOptimistic(passthrough, reducer);
1524
- };
1525
- exports.useReducer = function(reducer, initialArg, init) {
1526
- return resolveDispatcher().useReducer(reducer, initialArg, init);
1527
- };
1528
- exports.useRef = function(initialValue) {
1529
- return resolveDispatcher().useRef(initialValue);
1530
- };
1531
- exports.useState = function(initialState) {
1532
- return resolveDispatcher().useState(initialState);
1533
- };
1534
- exports.useSyncExternalStore = function(subscribe3, getSnapshot, getServerSnapshot) {
1535
- return resolveDispatcher().useSyncExternalStore(
1536
- subscribe3,
1537
- getSnapshot,
1538
- getServerSnapshot
1539
- );
1540
- };
1541
- exports.useTransition = function() {
1542
- return resolveDispatcher().useTransition();
1543
- };
1544
- exports.version = "19.2.6";
1545
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1546
- })();
1547
- }
1548
- });
1549
-
1550
- // ../../node_modules/.pnpm/react@19.2.6/node_modules/react/index.js
1551
- var require_react = __commonJS({
1552
- "../../node_modules/.pnpm/react@19.2.6/node_modules/react/index.js"(exports, module) {
1553
- "use strict";
1554
- if (process.env.NODE_ENV === "production") {
1555
- module.exports = require_react_production();
1556
- } else {
1557
- module.exports = require_react_development();
1558
- }
1559
- }
1560
- });
1561
-
1562
93
  // src/user-commands/store.ts
1563
94
  import { readFileSync, readdirSync, realpathSync } from "node:fs";
1564
95
  import { platform } from "node:os";
@@ -2599,45 +1130,13 @@ function imagePasteKeyName(platform2 = process.platform, wsl = false) {
2599
1130
  }
2600
1131
  __name(imagePasteKeyName, "imagePasteKeyName");
2601
1132
 
2602
- // src/tui/motion.ts
2603
- var import_react = __toESM(require_react(), 1);
2604
- var reduced = false;
2605
- var listeners = /* @__PURE__ */ new Set();
2606
- function setReducedMotion(value) {
2607
- if (reduced === value) return;
2608
- reduced = value;
2609
- for (const listener of [...listeners]) listener();
2610
- }
2611
- __name(setReducedMotion, "setReducedMotion");
2612
- function reducedMotion() {
2613
- return reduced;
2614
- }
2615
- __name(reducedMotion, "reducedMotion");
2616
- function motionAllowed(env = process.env) {
2617
- return !reduced && env.NO_COLOR === void 0 && env.FORCE_COLOR !== "0" && env.TERM !== "dumb";
2618
- }
2619
- __name(motionAllowed, "motionAllowed");
2620
- function subscribe(listener) {
2621
- listeners.add(listener);
2622
- return () => listeners.delete(listener);
2623
- }
2624
- __name(subscribe, "subscribe");
2625
- function useReducedMotion() {
2626
- return (0, import_react.useSyncExternalStore)(
2627
- subscribe,
2628
- () => reduced,
2629
- () => reduced
2630
- );
2631
- }
2632
- __name(useReducedMotion, "useReducedMotion");
2633
-
2634
1133
  // src/tui/theme-store.ts
2635
- var import_react2 = __toESM(require_react(), 1);
1134
+ var import_react = __toESM(require_react(), 1);
2636
1135
  var saved = "dark";
2637
1136
  var reported;
2638
1137
  var preview;
2639
1138
  var epoch = 0;
2640
- var listeners2 = /* @__PURE__ */ new Set();
1139
+ var listeners = /* @__PURE__ */ new Set();
2641
1140
  var current = "dark";
2642
1141
  function recompute(env) {
2643
1142
  const shown = preview ?? saved;
@@ -2647,7 +1146,7 @@ function recompute(env) {
2647
1146
  current = next;
2648
1147
  applyPalette(next);
2649
1148
  epoch += 1;
2650
- for (const listener of [...listeners2]) listener();
1149
+ for (const listener of [...listeners]) listener();
2651
1150
  }
2652
1151
  __name(recompute, "recompute");
2653
1152
  function setThemeSetting(setting, options = {}) {
@@ -2669,19 +1168,19 @@ function shownTheme() {
2669
1168
  return current;
2670
1169
  }
2671
1170
  __name(shownTheme, "shownTheme");
2672
- function subscribe2(listener) {
2673
- listeners2.add(listener);
2674
- return () => listeners2.delete(listener);
1171
+ function subscribe(listener) {
1172
+ listeners.add(listener);
1173
+ return () => listeners.delete(listener);
2675
1174
  }
2676
- __name(subscribe2, "subscribe");
2677
- var ThemeEpochContext = (0, import_react2.createContext)(0);
1175
+ __name(subscribe, "subscribe");
1176
+ var ThemeEpochContext = (0, import_react.createContext)(0);
2678
1177
  function useThemeEpoch() {
2679
- return (0, import_react2.useContext)(ThemeEpochContext);
1178
+ return (0, import_react.useContext)(ThemeEpochContext);
2680
1179
  }
2681
1180
  __name(useThemeEpoch, "useThemeEpoch");
2682
1181
  function useThemeSubscription() {
2683
- return (0, import_react2.useSyncExternalStore)(
2684
- subscribe2,
1182
+ return (0, import_react.useSyncExternalStore)(
1183
+ subscribe,
2685
1184
  () => epoch,
2686
1185
  () => epoch
2687
1186
  );
@@ -4434,13 +2933,8 @@ function runSlash(line, ctx, builtins = CLI_LOCAL_COMMANDS) {
4434
2933
  __name(runSlash, "runSlash");
4435
2934
 
4436
2935
  export {
4437
- require_react,
4438
2936
  TURN_LIMIT_FIELDS,
4439
2937
  turnLimitCommands,
4440
- setReducedMotion,
4441
- reducedMotion,
4442
- motionAllowed,
4443
- useReducedMotion,
4444
2938
  setThemeSetting,
4445
2939
  setThemePreview,
4446
2940
  savedThemeSetting,
@@ -4476,28 +2970,4 @@ export {
4476
2970
  argumentHintFor,
4477
2971
  runSlash
4478
2972
  };
4479
- /*! Bundled license information:
4480
-
4481
- react/cjs/react.production.js:
4482
- (**
4483
- * @license React
4484
- * react.production.js
4485
- *
4486
- * Copyright (c) Meta Platforms, Inc. and affiliates.
4487
- *
4488
- * This source code is licensed under the MIT license found in the
4489
- * LICENSE file in the root directory of this source tree.
4490
- *)
4491
-
4492
- react/cjs/react.development.js:
4493
- (**
4494
- * @license React
4495
- * react.development.js
4496
- *
4497
- * Copyright (c) Meta Platforms, Inc. and affiliates.
4498
- *
4499
- * This source code is licensed under the MIT license found in the
4500
- * LICENSE file in the root directory of this source tree.
4501
- *)
4502
- */
4503
- //# sourceMappingURL=chunk-MDA27KYF.js.map
2973
+ //# sourceMappingURL=chunk-R3C2IFIP.js.map