(t0)
| 294 | |
| 295 | // borderTop-only Box matches PromptInput's ─── line for stable footer height. |
| 296 | export function MessageActionsBar(t0) { |
| 297 | const $ = _c(28); |
| 298 | const { |
| 299 | cursor |
| 300 | } = t0; |
| 301 | let T0; |
| 302 | let T1; |
| 303 | let t1; |
| 304 | let t2; |
| 305 | let t3; |
| 306 | let t4; |
| 307 | let t5; |
| 308 | let t6; |
| 309 | let t7; |
| 310 | if ($[0] !== cursor) { |
| 311 | const applicable = MESSAGE_ACTIONS.filter(a => isApplicable(a, cursor)); |
| 312 | T1 = Box; |
| 313 | t4 = "column"; |
| 314 | t5 = 0; |
| 315 | t6 = 1; |
| 316 | if ($[10] === Symbol.for("react.memo_cache_sentinel")) { |
| 317 | t7 = <Box borderStyle="single" borderTop={true} borderBottom={false} borderLeft={false} borderRight={false} borderDimColor={true} />; |
| 318 | $[10] = t7; |
| 319 | } else { |
| 320 | t7 = $[10]; |
| 321 | } |
| 322 | T0 = Box; |
| 323 | t1 = 2; |
| 324 | t2 = 1; |
| 325 | t3 = applicable.map((a_0, i) => { |
| 326 | const label = typeof a_0.label === "function" ? a_0.label(cursor) : a_0.label; |
| 327 | return <React.Fragment key={a_0.key}>{i > 0 && <Text dimColor={true}> · </Text>}<Text bold={true} dimColor={false}>{a_0.key}</Text><Text dimColor={true}> {label}</Text></React.Fragment>; |
| 328 | }); |
| 329 | $[0] = cursor; |
| 330 | $[1] = T0; |
| 331 | $[2] = T1; |
| 332 | $[3] = t1; |
| 333 | $[4] = t2; |
| 334 | $[5] = t3; |
| 335 | $[6] = t4; |
| 336 | $[7] = t5; |
| 337 | $[8] = t6; |
| 338 | $[9] = t7; |
| 339 | } else { |
| 340 | T0 = $[1]; |
| 341 | T1 = $[2]; |
| 342 | t1 = $[3]; |
| 343 | t2 = $[4]; |
| 344 | t3 = $[5]; |
| 345 | t4 = $[6]; |
| 346 | t5 = $[7]; |
| 347 | t6 = $[8]; |
| 348 | t7 = $[9]; |
| 349 | } |
| 350 | let t10; |
| 351 | let t11; |
| 352 | let t12; |
| 353 | let t8; |
nothing calls this directly
no test coverage detected