@krizaka/ui 3.73.0 → 3.75.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 (369) hide show
  1. package/README.md +4 -10
  2. package/dist/{RotatingWord-COSabR2c.d.ts → RotatingWord-D3tpDLE4.d.ts} +1 -1
  3. package/dist/account-menu.d.ts +1 -1
  4. package/dist/account-menu.js +1 -1
  5. package/dist/account-settings.d.ts +1 -1
  6. package/dist/account-settings.js +1 -1
  7. package/dist/app-frame.d.ts +2 -5
  8. package/dist/avatar/defaults.d.ts +2 -2
  9. package/dist/avatar/defaults.js +1 -5
  10. package/dist/avatar/defaults.js.map +1 -1
  11. package/dist/{avatar-B_na7r1U.d.ts → avatar-CNV6ld8l.d.ts} +2 -2
  12. package/dist/avatar.d.ts +2 -2
  13. package/dist/avatar.js +1 -5
  14. package/dist/avatar.js.map +1 -1
  15. package/dist/blocks.css +4 -4
  16. package/dist/chat.js +1 -1
  17. package/dist/{chunk-5MPPIGCB.js → chunk-E46AEUPH.js} +1 -5
  18. package/dist/chunk-E46AEUPH.js.map +1 -0
  19. package/dist/{chunk-TISDOZH3.js → chunk-IOTY5HYG.js} +1 -5
  20. package/dist/chunk-IOTY5HYG.js.map +1 -0
  21. package/dist/chunk-PGPNYYE2.js +286 -0
  22. package/dist/chunk-PGPNYYE2.js.map +1 -0
  23. package/dist/{chunk-GRVIZTT2.js → chunk-RI3AA2E3.js} +3 -3
  24. package/dist/{chunk-Y5YBTHVD.js → chunk-SG3QJJXE.js} +6 -12
  25. package/dist/chunk-SG3QJJXE.js.map +1 -0
  26. package/dist/{chunk-4JO5GSSD.js → chunk-VA4NPCUQ.js} +2 -2
  27. package/dist/chunk-VA4NPCUQ.js.map +1 -0
  28. package/dist/{chunk-E4FMPPDL.js → chunk-WC3SO4CE.js} +2 -2
  29. package/dist/{chunk-T5NZSKWT.js → chunk-YQWYGQTV.js} +38 -41
  30. package/dist/chunk-YQWYGQTV.js.map +1 -0
  31. package/dist/{chunk-M3GEYLMR.js → chunk-ZPOVOEO3.js} +1 -2
  32. package/dist/collection-switcher.d.ts +1 -1
  33. package/dist/data-table.js +3 -3
  34. package/dist/{default-avatar-BL0nJFti.d.ts → default-avatar-Bh4atFDo.d.ts} +2 -2
  35. package/dist/elephant.d.ts +2 -2
  36. package/dist/elephant.js +2 -3
  37. package/dist/elephant.js.map +1 -1
  38. package/dist/engine-flow.js +29 -21
  39. package/dist/engine-flow.js.map +1 -1
  40. package/dist/entity-header.d.ts +1 -1
  41. package/dist/filter-bar.d.ts +9 -1
  42. package/dist/filter-bar.js +1 -1
  43. package/dist/gallery-page.js +3 -3
  44. package/dist/genui.js +101 -35
  45. package/dist/genui.js.map +1 -1
  46. package/dist/index.d.ts +7 -51
  47. package/dist/index.js +2 -12
  48. package/dist/index.js.map +1 -1
  49. package/dist/{lightbox-D5NAHFEA.js → lightbox-Q45BZ3HW.js} +3 -3
  50. package/dist/map.js +0 -120
  51. package/dist/map.js.map +1 -1
  52. package/dist/match-dialog.js +3 -3
  53. package/dist/motion.css +3 -120
  54. package/dist/motion.d.ts +1 -1
  55. package/dist/motion.js +1 -1
  56. package/dist/native/list.js +1 -1
  57. package/dist/native/list.js.map +1 -1
  58. package/dist/native/map.js +0 -120
  59. package/dist/native/map.js.map +1 -1
  60. package/dist/native.d.ts +7 -111
  61. package/dist/native.js +988 -1436
  62. package/dist/native.js.map +1 -1
  63. package/dist/nav-bar.d.ts +1 -1
  64. package/dist/nav-bar.js +2 -2
  65. package/dist/product-page.js +3 -3
  66. package/dist/rail-nav.d.ts +2 -5
  67. package/dist/shop-gallery.js +1 -1
  68. package/dist/site-cahier.d.ts +3 -11
  69. package/dist/site-cahier.js +126 -367
  70. package/dist/site-cahier.js.map +1 -1
  71. package/dist/site-footer.d.ts +1 -1
  72. package/dist/site-footer.js +2 -2
  73. package/dist/{sites-CEnywB89.d.ts → sites-CVNSirrg.d.ts} +3 -11
  74. package/dist/sites.d.ts +7 -15
  75. package/dist/sites.js +4 -10
  76. package/dist/sites.js.map +1 -1
  77. package/dist/tag-selector.js +28 -21
  78. package/dist/tag-selector.js.map +1 -1
  79. package/dist/vertical-video.js +2 -2
  80. package/dist/waveform.js.map +1 -1
  81. package/package.json +5 -109
  82. package/registry/account-menu.json +1 -1
  83. package/registry/account-settings.json +1 -1
  84. package/registry/achievement.json +1 -1
  85. package/registry/action-bar.json +1 -1
  86. package/registry/activity-feed.json +1 -1
  87. package/registry/agenda.json +1 -1
  88. package/registry/alert.json +1 -1
  89. package/registry/analysis-report.json +1 -1
  90. package/registry/anatomy-plate.json +1 -1
  91. package/registry/app-frame.json +6 -38
  92. package/registry/app-header.json +1 -1
  93. package/registry/app-shell.json +1 -1
  94. package/registry/argument-card.json +1 -1
  95. package/registry/auth-layout.json +1 -1
  96. package/registry/avatar.json +2 -2
  97. package/registry/badge.json +1 -1
  98. package/registry/bird-plate.json +1 -1
  99. package/registry/button.json +1 -1
  100. package/registry/captcha.json +1 -1
  101. package/registry/card-grid.json +1 -1
  102. package/registry/card.json +1 -1
  103. package/registry/catalogue-page.json +1 -1
  104. package/registry/changelog-page.json +1 -1
  105. package/registry/chapter.json +1 -1
  106. package/registry/chat.json +3 -3
  107. package/registry/checkbox.json +1 -1
  108. package/registry/chip-link.json +1 -1
  109. package/registry/chip-row.json +1 -1
  110. package/registry/chip.json +1 -1
  111. package/registry/choice-grid.json +1 -1
  112. package/registry/code-block.json +1 -1
  113. package/registry/collection-switcher.json +1 -1
  114. package/registry/combobox.json +1 -1
  115. package/registry/command.json +1 -1
  116. package/registry/comparison-table.json +1 -1
  117. package/registry/component-page.json +1 -1
  118. package/registry/confirm-button.json +1 -1
  119. package/registry/contact-page.json +1 -1
  120. package/registry/continue-prompt.json +1 -1
  121. package/registry/copy-button.json +1 -1
  122. package/registry/countdown.json +1 -1
  123. package/registry/cover-hero.json +1 -1
  124. package/registry/cta-panel.json +1 -1
  125. package/registry/dashboard-layout.json +1 -1
  126. package/registry/data-table.json +1 -1
  127. package/registry/date-picker.json +1 -1
  128. package/registry/decision-list.json +1 -1
  129. package/registry/description-list.json +1 -1
  130. package/registry/desktop-window.json +1 -1
  131. package/registry/detail-layout.json +1 -1
  132. package/registry/dialog.json +1 -1
  133. package/registry/docs-article-page.json +1 -1
  134. package/registry/docs-hub-page.json +1 -1
  135. package/registry/docs-layout.json +1 -1
  136. package/registry/docs-nav.json +1 -1
  137. package/registry/document-viewer.json +1 -1
  138. package/registry/doodle.json +1 -1
  139. package/registry/drop-overlay.json +1 -1
  140. package/registry/dropdown-menu.json +1 -1
  141. package/registry/elephant.json +3 -5
  142. package/registry/embed-facade.json +1 -1
  143. package/registry/empty-state.json +1 -1
  144. package/registry/engine-flow.json +3 -4
  145. package/registry/entity-header.json +1 -1
  146. package/registry/environment-notice.json +1 -1
  147. package/registry/error-page.json +1 -1
  148. package/registry/field.json +1 -1
  149. package/registry/file-upload.json +1 -1
  150. package/registry/filter-bar.json +2 -2
  151. package/registry/flock.json +1 -1
  152. package/registry/footnote.json +1 -1
  153. package/registry/force-update-screen.json +1 -1
  154. package/registry/form.json +1 -1
  155. package/registry/gallery-page.json +1 -1
  156. package/registry/genui.json +1 -1
  157. package/registry/glossary-term.json +1 -1
  158. package/registry/glossary.json +1 -1
  159. package/registry/glow-card.json +1 -1
  160. package/registry/goal-gauge.json +1 -1
  161. package/registry/grade-stamp.json +1 -1
  162. package/registry/image-cropper.json +1 -1
  163. package/registry/index.json +11 -246
  164. package/registry/kanban.json +1 -1
  165. package/registry/kbd.json +1 -1
  166. package/registry/kind-config-editor.json +1 -1
  167. package/registry/kpi-explained.json +1 -1
  168. package/registry/landing-page.json +1 -1
  169. package/registry/landscape.json +1 -1
  170. package/registry/language-switch.json +1 -1
  171. package/registry/legal-page.json +1 -1
  172. package/registry/link-card.json +1 -1
  173. package/registry/list.json +1 -1
  174. package/registry/loader.json +1 -1
  175. package/registry/longform-page.json +1 -1
  176. package/registry/maintenance-screen.json +1 -1
  177. package/registry/map.json +2 -2
  178. package/registry/margin-layout.json +1 -1
  179. package/registry/markdown.json +1 -1
  180. package/registry/marketing-layout.json +1 -1
  181. package/registry/mascot-quote.json +1 -1
  182. package/registry/mascot-state.json +1 -1
  183. package/registry/mascots.json +1 -1
  184. package/registry/match-dialog.json +3 -3
  185. package/registry/media-capture.json +1 -1
  186. package/registry/media-gallery.json +3 -14
  187. package/registry/meter.json +1 -1
  188. package/registry/money-input.json +1 -1
  189. package/registry/nav-bar.json +6 -38
  190. package/registry/next-actions.json +1 -1
  191. package/registry/notification-preferences.json +1 -1
  192. package/registry/number-ticker.json +1 -1
  193. package/registry/opening-hours.json +3 -4
  194. package/registry/page-header.json +1 -1
  195. package/registry/page-hero.json +1 -1
  196. package/registry/page-index.json +1 -1
  197. package/registry/page.json +1 -1
  198. package/registry/pagination.json +1 -1
  199. package/registry/pointer-light.json +1 -1
  200. package/registry/popover.json +1 -1
  201. package/registry/price-catalogue-editor.json +1 -1
  202. package/registry/pricing-page.json +1 -1
  203. package/registry/product-page.json +2 -6
  204. package/registry/profile-card.json +1 -1
  205. package/registry/progress.json +1 -1
  206. package/registry/promise-card.json +1 -1
  207. package/registry/promo-code-field.json +1 -1
  208. package/registry/proposal.json +1 -1
  209. package/registry/qr-code.json +1 -1
  210. package/registry/quota-meter.json +1 -1
  211. package/registry/radio-group.json +1 -1
  212. package/registry/rail-nav.json +6 -38
  213. package/registry/recipes.json +1 -1
  214. package/registry/retro-tv.json +2 -3
  215. package/registry/reviews.json +1 -1
  216. package/registry/router.json +1 -1
  217. package/registry/schema-form.json +1 -1
  218. package/registry/scroll-stage.json +1 -1
  219. package/registry/search-field.json +1 -1
  220. package/registry/section-backdrop.json +1 -1
  221. package/registry/separator.json +1 -1
  222. package/registry/service-card.json +1 -1
  223. package/registry/settings-layout.json +1 -1
  224. package/registry/shop-composer.json +1 -1
  225. package/registry/shop-gallery.json +3 -8
  226. package/registry/shop.json +2 -2
  227. package/registry/showcase.json +2 -7
  228. package/registry/signature.json +1 -1
  229. package/registry/site-cahier.json +1 -1
  230. package/registry/site-footer.json +6 -38
  231. package/registry/sites.json +3 -3
  232. package/registry/skeleton.json +1 -1
  233. package/registry/skip-link.json +1 -1
  234. package/registry/slider.json +1 -1
  235. package/registry/slot-picker.json +1 -1
  236. package/registry/slot.json +1 -1
  237. package/registry/specimen-tag.json +1 -1
  238. package/registry/speed-lines.json +1 -1
  239. package/registry/spinner.json +1 -1
  240. package/registry/split-view.json +1 -1
  241. package/registry/stage-banner.json +1 -1
  242. package/registry/stat.json +1 -1
  243. package/registry/status-chip.json +1 -1
  244. package/registry/status-page.json +1 -1
  245. package/registry/step-progress.json +1 -1
  246. package/registry/step-showcase.json +1 -1
  247. package/registry/stepper.json +1 -1
  248. package/registry/sticky-action.json +1 -1
  249. package/registry/stuck.json +1 -1
  250. package/registry/swipe-deck.json +4 -5
  251. package/registry/switch.json +1 -1
  252. package/registry/tabs.json +1 -1
  253. package/registry/tag-input.json +1 -1
  254. package/registry/tag-selector.json +2 -2
  255. package/registry/taped-photo.json +1 -1
  256. package/registry/terminal-replay.json +1 -1
  257. package/registry/text-style.json +1 -1
  258. package/registry/theme.json +1 -1
  259. package/registry/toast.json +1 -1
  260. package/registry/toc.json +1 -1
  261. package/registry/tooltip.json +1 -1
  262. package/registry/tree-view.json +1 -1
  263. package/registry/update-prompt.json +1 -1
  264. package/registry/upload-queue.json +1 -1
  265. package/registry/usage.json +1 -1
  266. package/registry/verified-badge.json +1 -1
  267. package/registry/versus-card.json +1 -1
  268. package/registry/vertical-video.json +2 -6
  269. package/registry/video-player.json +2 -7
  270. package/registry/video-trimmer.json +3 -4
  271. package/registry/virtual.json +1 -1
  272. package/registry/wall.json +3 -9
  273. package/registry/waveform.json +4 -9
  274. package/dist/audio-player.d.ts +0 -115
  275. package/dist/audio-player.js +0 -211
  276. package/dist/audio-player.js.map +0 -1
  277. package/dist/chunk-4JO5GSSD.js.map +0 -1
  278. package/dist/chunk-5MPPIGCB.js.map +0 -1
  279. package/dist/chunk-B2HS5EAH.js +0 -527
  280. package/dist/chunk-B2HS5EAH.js.map +0 -1
  281. package/dist/chunk-T5NZSKWT.js.map +0 -1
  282. package/dist/chunk-TISDOZH3.js.map +0 -1
  283. package/dist/chunk-Y5YBTHVD.js.map +0 -1
  284. package/dist/chunk-YKOLME7R.js +0 -126
  285. package/dist/chunk-YKOLME7R.js.map +0 -1
  286. package/dist/how-it-works-page.d.ts +0 -49
  287. package/dist/how-it-works-page.js +0 -28
  288. package/dist/how-it-works-page.js.map +0 -1
  289. package/dist/iso.d.ts +0 -401
  290. package/dist/iso.js +0 -363
  291. package/dist/iso.js.map +0 -1
  292. package/dist/marquee.d.ts +0 -34
  293. package/dist/marquee.js +0 -52
  294. package/dist/marquee.js.map +0 -1
  295. package/dist/media-grid.d.ts +0 -246
  296. package/dist/media-grid.js +0 -468
  297. package/dist/media-grid.js.map +0 -1
  298. package/dist/meta-row.d.ts +0 -55
  299. package/dist/meta-row.js +0 -35
  300. package/dist/meta-row.js.map +0 -1
  301. package/dist/photo-grid.d.ts +0 -123
  302. package/dist/photo-grid.js +0 -94
  303. package/dist/photo-grid.js.map +0 -1
  304. package/registry/audio-player.json +0 -300
  305. package/registry/examples/audio-player/podcast.d.ts +0 -4
  306. package/registry/examples/audio-player/podcast.js +0 -22
  307. package/registry/examples/audio-player/podcast.tsx +0 -19
  308. package/registry/examples/audio-player/voice-note.d.ts +0 -4
  309. package/registry/examples/audio-player/voice-note.js +0 -12
  310. package/registry/examples/audio-player/voice-note.tsx +0 -12
  311. package/registry/examples/how-it-works-page/orazaka.d.ts +0 -4
  312. package/registry/examples/how-it-works-page/orazaka.js +0 -30
  313. package/registry/examples/how-it-works-page/orazaka.tsx +0 -26
  314. package/registry/examples/iso/compose.d.ts +0 -4
  315. package/registry/examples/iso/compose.js +0 -22
  316. package/registry/examples/iso/compose.tsx +0 -19
  317. package/registry/examples/iso/creator-hero.d.ts +0 -4
  318. package/registry/examples/iso/creator-hero.js +0 -29
  319. package/registry/examples/iso/creator-hero.tsx +0 -23
  320. package/registry/examples/iso/orazaka-hero.d.ts +0 -4
  321. package/registry/examples/iso/orazaka-hero.js +0 -26
  322. package/registry/examples/iso/orazaka-hero.tsx +0 -21
  323. package/registry/examples/iso/still.d.ts +0 -4
  324. package/registry/examples/iso/still.js +0 -21
  325. package/registry/examples/iso/still.tsx +0 -15
  326. package/registry/examples/marquee/cards.d.ts +0 -4
  327. package/registry/examples/marquee/cards.js +0 -23
  328. package/registry/examples/marquee/cards.tsx +0 -21
  329. package/registry/examples/marquee/logos.d.ts +0 -4
  330. package/registry/examples/marquee/logos.js +0 -12
  331. package/registry/examples/marquee/logos.tsx +0 -17
  332. package/registry/examples/media-grid/feed.d.ts +0 -4
  333. package/registry/examples/media-grid/feed.js +0 -32
  334. package/registry/examples/media-grid/feed.tsx +0 -31
  335. package/registry/examples/media-grid/loading.d.ts +0 -4
  336. package/registry/examples/media-grid/loading.js +0 -28
  337. package/registry/examples/media-grid/loading.tsx +0 -25
  338. package/registry/examples/media-grid/uniform.d.ts +0 -4
  339. package/registry/examples/media-grid/uniform.js +0 -29
  340. package/registry/examples/media-grid/uniform.tsx +0 -26
  341. package/registry/examples/meta-row/native/video.d.ts +0 -4
  342. package/registry/examples/meta-row/native/video.dark.png +0 -0
  343. package/registry/examples/meta-row/native/video.js +0 -11
  344. package/registry/examples/meta-row/native/video.light.png +0 -0
  345. package/registry/examples/meta-row/native/video.tsx +0 -5
  346. package/registry/examples/meta-row/status.d.ts +0 -4
  347. package/registry/examples/meta-row/status.js +0 -12
  348. package/registry/examples/meta-row/status.tsx +0 -7
  349. package/registry/examples/meta-row/video.d.ts +0 -4
  350. package/registry/examples/meta-row/video.js +0 -12
  351. package/registry/examples/meta-row/video.tsx +0 -7
  352. package/registry/examples/photo-grid/native/profile-photos.d.ts +0 -4
  353. package/registry/examples/photo-grid/native/profile-photos.dark.png +0 -0
  354. package/registry/examples/photo-grid/native/profile-photos.js +0 -27
  355. package/registry/examples/photo-grid/native/profile-photos.light.png +0 -0
  356. package/registry/examples/photo-grid/native/profile-photos.tsx +0 -24
  357. package/registry/examples/photo-grid/profile-photos.d.ts +0 -4
  358. package/registry/examples/photo-grid/profile-photos.js +0 -28
  359. package/registry/examples/photo-grid/profile-photos.tsx +0 -25
  360. package/registry/how-it-works-page.json +0 -258
  361. package/registry/iso.json +0 -1371
  362. package/registry/marquee.json +0 -241
  363. package/registry/media-grid.json +0 -1034
  364. package/registry/meta-row.json +0 -218
  365. package/registry/photo-grid.json +0 -316
  366. /package/dist/{chunk-GRVIZTT2.js.map → chunk-RI3AA2E3.js.map} +0 -0
  367. /package/dist/{chunk-E4FMPPDL.js.map → chunk-WC3SO4CE.js.map} +0 -0
  368. /package/dist/{chunk-M3GEYLMR.js.map → chunk-ZPOVOEO3.js.map} +0 -0
  369. /package/dist/{lightbox-D5NAHFEA.js.map → lightbox-Q45BZ3HW.js.map} +0 -0
package/dist/native.js CHANGED
@@ -4,11 +4,7 @@ var DEFAULT_AVATAR_BASE = "https://krizaka-assets.b-cdn.net/people/defaults/v1";
4
4
  var BRANDS = {
5
5
  krizaka: { from: [217, 92, 53], to: [217, 92, 68], spread: 14 },
6
6
  orazaka: { from: [26, 90.5, 37.1], to: [26, 92, 45], spread: 7 },
7
- orochia: { from: [262.1, 83.3, 57.8], to: [328.6, 85.5, 70.2], spread: 12 },
8
- yasakia: { from: [156, 92, 32], to: [178, 90, 32], spread: 12 },
9
- yororis: { from: [34, 46, 44], to: [104, 28, 42], spread: 10 },
10
7
  yomizaka: { from: [232, 50, 55], to: [248, 50, 58], spread: 10 },
11
- kachizaka: { from: [226, 80, 56], to: [44, 92, 33], spread: 10 },
12
8
  akinaza: { from: [140, 48, 34], to: [22, 60, 46], spread: 10 }
13
9
  };
14
10
  var MIN_CONTRAST = 3.2;
@@ -427,40 +423,6 @@ var marks = /* @__PURE__ */ Object.freeze({
427
423
  "#dc6509"
428
424
  ]
429
425
  ],
430
- "orochia": [
431
- [
432
- "0%",
433
- "#7c3aed"
434
- ],
435
- [
436
- "55%",
437
- "#d946ef"
438
- ],
439
- [
440
- "100%",
441
- "#f472b6"
442
- ]
443
- ],
444
- "yasakia": [
445
- [
446
- "0%",
447
- "#079d61"
448
- ],
449
- [
450
- "100%",
451
- "#089b96"
452
- ]
453
- ],
454
- "yororis": [
455
- [
456
- "0%",
457
- "#a4773d"
458
- ],
459
- [
460
- "100%",
461
- "#5d894d"
462
- ]
463
- ],
464
426
  "yomizaka": [
465
427
  [
466
428
  "0%",
@@ -471,16 +433,6 @@ var marks = /* @__PURE__ */ Object.freeze({
471
433
  "#6d5ec9"
472
434
  ]
473
435
  ],
474
- "kachizaka": [
475
- [
476
- "0%",
477
- "#355fe9"
478
- ],
479
- [
480
- "100%",
481
- "#a27807"
482
- ]
483
- ],
484
436
  "akinaza": [
485
437
  [
486
438
  "0%",
@@ -818,7 +770,7 @@ function useMarkMotion(size, animated, spinMs = 3e4) {
818
770
  import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
819
771
  function AkinazaMark({ size = 48, animated = true, title, neutral }) {
820
772
  const { theme } = useTheme();
821
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, AKINAZA.motion.spin * 1e3);
773
+ const { Animated: Animated28, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, AKINAZA.motion.spin * 1e3);
822
774
  const id = useSvgId("akm");
823
775
  const viewBox = size < 48 ? AKINAZA.croppedViewBox : AKINAZA.viewBox;
824
776
  const stroke = neutral ?? theme.textMuted;
@@ -834,11 +786,11 @@ function AkinazaMark({ size = 48, animated = true, title, neutral }) {
834
786
  /* @__PURE__ */ jsx5(Path, { d: AKINAZA.cut, fill: AKINAZA.copper }),
835
787
  AKINAZA.rings.r.map((r) => /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.rings.cx, cy: AKINAZA.rings.cy, r, stroke: AKINAZA.highlight, strokeOpacity: AKINAZA.rings.opacity, strokeWidth: AKINAZA.rings.width, fill: "none" }, r))
836
788
  ] }),
837
- /* @__PURE__ */ jsx5(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs3(Svg, { viewBox, style: layer, children: [
789
+ /* @__PURE__ */ jsx5(Animated28.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs3(Svg, { viewBox, style: layer, children: [
838
790
  /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.center, cy: AKINAZA.center, r: AKINAZA.orbit.r, stroke, strokeWidth: AKINAZA.orbit.width, strokeDasharray: AKINAZA.orbit.dash, opacity: 0.6, fill: "none" }),
839
791
  /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.node.at[0], cy: AKINAZA.node.at[1], r: AKINAZA.node.r, fill: AKINAZA.copper })
840
792
  ] }) }),
841
- /* @__PURE__ */ jsx5(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs3(Svg, { viewBox, style: layer, children: [
793
+ /* @__PURE__ */ jsx5(Animated28.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs3(Svg, { viewBox, style: layer, children: [
842
794
  /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.heart.cx, cy: AKINAZA.heart.cy, r: AKINAZA.heart.r, fill: AKINAZA.copper }),
843
795
  /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.heart.cx, cy: AKINAZA.heart.cy, r: AKINAZA.heart.inner, fill: AKINAZA.highlight })
844
796
  ] }) })
@@ -3270,82 +3222,19 @@ var styles25 = StyleSheet25.create({
3270
3222
  });
3271
3223
 
3272
3224
  // src/native/form-flow.tsx
3273
- import * as React24 from "react";
3274
- import { StyleSheet as StyleSheet29, View as View36 } from "react-native";
3225
+ import * as React23 from "react";
3226
+ import { StyleSheet as StyleSheet29, View as View32 } from "react-native";
3275
3227
 
3276
3228
  // src/native/screen.tsx
3277
- import { KeyboardAvoidingView, Platform as Platform2, ScrollView as ScrollView5, StyleSheet as StyleSheet27, View as View34 } from "react-native";
3229
+ import { KeyboardAvoidingView, Platform as Platform2, ScrollView as ScrollView5, StyleSheet as StyleSheet27, View as View30 } from "react-native";
3278
3230
 
3279
3231
  // src/native/pull-to-refresh.tsx
3280
- import * as React23 from "react";
3281
- import { AccessibilityInfo as AccessibilityInfo5, Animated as Animated7, RefreshControl, StyleSheet as StyleSheet26, View as View33 } from "react-native";
3282
-
3283
- // src/native/KachizakaMark.tsx
3284
- import { View as View26 } from "react-native";
3285
- import Svg10, { Circle as Circle4, Defs as Defs4, Path as Path8, RadialGradient as RadialGradient2, Stop as Stop4 } from "react-native-svg";
3286
-
3287
- // src/marks/kachizaka-geometry.ts
3288
- var cobalt = marks.kachizaka[0][1];
3289
- var gold = marks.kachizaka[marks.kachizaka.length - 1][1];
3290
- var KACHIZAKA = {
3291
- viewBox: "0 0 400 400",
3292
- croppedViewBox: "80 80 240 240",
3293
- center: 200,
3294
- cobalt,
3295
- gold,
3296
- /** The steps: second (left, cut top-left), first (centre, both top corners cut, in gold), third (right, cut top-right). */
3297
- steps: {
3298
- second: "M102 240 L122 220 H162 V296 H102 Z",
3299
- first: "M170 192 L188 174 H212 L230 192 V296 H170 Z",
3300
- third: "M238 248 H278 L298 268 V296 H238 Z"
3301
- },
3302
- /** The lit node over the winner: a gold diamond (half-diagonal 22, softened by a 6-unit round stroke), its light inside. */
3303
- node: { d: "M200 102 L222 124 L200 146 L178 124 Z", light: "M200 116.1 L207.9 124 L200 131.9 L192.1 124 Z", soften: 6 },
3304
- highlight: "#fffbea",
3305
- gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.kachizaka },
3306
- /** The ball: one node on the orbit, that turns with it. */
3307
- ball: { r: 9, at: [200, 40] },
3308
- glow: { color: gold, opacity: 0.18 },
3309
- pulse: { color: gold, low: 0.35, high: 0.75 },
3310
- motion: { spin: 28, breath: 3.2 },
3311
- orbit: { r: 160, dash: "8 8", width: 1.5 },
3312
- ring: { r: 134, width: 1 }
3313
- };
3314
-
3315
- // src/native/KachizakaMark.tsx
3316
- import { jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
3317
- function KachizakaMark({ size = 48, animated = true, title, neutral }) {
3318
- const { theme } = useTheme();
3319
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, KACHIZAKA.motion.spin * 1e3);
3320
- const id = useSvgId("kcm");
3321
- const viewBox = size < 48 ? KACHIZAKA.croppedViewBox : KACHIZAKA.viewBox;
3322
- const stroke = neutral ?? theme.textMuted;
3323
- return /* @__PURE__ */ jsxs27(View26, { style: { width: size, height: size }, ...markA11y(title), children: [
3324
- /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3325
- /* @__PURE__ */ jsx30(Defs4, { children: /* @__PURE__ */ jsxs27(RadialGradient2, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3326
- /* @__PURE__ */ jsx30(Stop4, { offset: "0%", stopColor: KACHIZAKA.glow.color, stopOpacity: KACHIZAKA.glow.opacity }),
3327
- /* @__PURE__ */ jsx30(Stop4, { offset: "100%", stopColor: KACHIZAKA.glow.color, stopOpacity: 0 })
3328
- ] }) }),
3329
- size >= 48 ? /* @__PURE__ */ jsx30(Circle4, { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3330
- /* @__PURE__ */ jsx30(Circle4, { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: KACHIZAKA.ring.r, stroke, strokeWidth: KACHIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3331
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.steps.second, fill: KACHIZAKA.cobalt }),
3332
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.steps.first, fill: KACHIZAKA.gold }),
3333
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.steps.third, fill: KACHIZAKA.cobalt })
3334
- ] }),
3335
- /* @__PURE__ */ jsx30(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3336
- /* @__PURE__ */ jsx30(Circle4, { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: KACHIZAKA.orbit.r, stroke, strokeWidth: KACHIZAKA.orbit.width, strokeDasharray: KACHIZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3337
- /* @__PURE__ */ jsx30(Circle4, { cx: KACHIZAKA.ball.at[0], cy: KACHIZAKA.ball.at[1], r: KACHIZAKA.ball.r, fill: KACHIZAKA.gold })
3338
- ] }) }),
3339
- /* @__PURE__ */ jsx30(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3340
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.node.d, fill: KACHIZAKA.gold, stroke: KACHIZAKA.gold, strokeWidth: KACHIZAKA.node.soften, strokeLinejoin: "round" }),
3341
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.node.light, fill: KACHIZAKA.highlight })
3342
- ] }) })
3343
- ] });
3344
- }
3232
+ import * as React22 from "react";
3233
+ import { AccessibilityInfo as AccessibilityInfo4, Animated as Animated6, RefreshControl, StyleSheet as StyleSheet26, View as View29 } from "react-native";
3345
3234
 
3346
3235
  // src/native/KrizakaMark.tsx
3347
- import { View as View27 } from "react-native";
3348
- import Svg11, { Circle as Circle5, Defs as Defs5, G as Group, LinearGradient as LinearGradient3, Path as Path9, RadialGradient as RadialGradient3, Stop as Stop5 } from "react-native-svg";
3236
+ import { View as View26 } from "react-native";
3237
+ import Svg10, { Circle as Circle4, Defs as Defs4, G as Group, LinearGradient as LinearGradient3, Path as Path8, RadialGradient as RadialGradient2, Stop as Stop4 } from "react-native-svg";
3349
3238
 
3350
3239
  // src/marks/krizaka-geometry.ts
3351
3240
  var KRIZAKA = {
@@ -3357,7 +3246,7 @@ var KRIZAKA = {
3357
3246
  stroke: 22,
3358
3247
  ink: { x1: 70, y1: 290, x2: 290, y2: 70 },
3359
3248
  blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops: marks.krizaka },
3360
- /** The vertex where the shield opens: a node (the serpent's head in Orochia's grammar). */
3249
+ /** The vertex where the shield opens: a node (the head of the line). */
3361
3250
  node: { cx: 259.7, cy: 134, r: 19, inner: 6 },
3362
3251
  core: { cx: 180, cy: 180, r: 24, inner: 8 },
3363
3252
  highlight: "#ddeaf4",
@@ -3367,39 +3256,39 @@ var KRIZAKA = {
3367
3256
  };
3368
3257
 
3369
3258
  // src/native/KrizakaMark.tsx
3370
- import { Fragment as Fragment6, jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
3259
+ import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
3371
3260
  function KrizakaMark({ size = 48, animated = true, title, neutral }) {
3372
3261
  const { theme } = useTheme();
3373
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3262
+ const { Animated: Animated28, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3374
3263
  const id = useSvgId("kzm");
3375
3264
  const viewBox = size < 48 ? KRIZAKA.croppedViewBox : KRIZAKA.viewBox;
3376
3265
  const stroke = neutral ?? theme.textMuted;
3377
- const blue = /* @__PURE__ */ jsx31(LinearGradient3, { id: `${id}b`, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.blue.x1 + KRIZAKA.offset, y1: KRIZAKA.blue.y1 + KRIZAKA.offset, x2: KRIZAKA.blue.x2 + KRIZAKA.offset, y2: KRIZAKA.blue.y2 + KRIZAKA.offset, children: KRIZAKA.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx31(Stop5, { offset, stopColor: color }, offset)) });
3378
- const dot = (c) => /* @__PURE__ */ jsxs28(Fragment6, { children: [
3379
- /* @__PURE__ */ jsx31(Circle5, { cx: c.cx, cy: c.cy, r: c.r, fill: `url(#${id}b)` }),
3380
- /* @__PURE__ */ jsx31(Circle5, { cx: c.cx, cy: c.cy, r: c.inner, fill: KRIZAKA.highlight })
3266
+ const blue = /* @__PURE__ */ jsx30(LinearGradient3, { id: `${id}b`, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.blue.x1 + KRIZAKA.offset, y1: KRIZAKA.blue.y1 + KRIZAKA.offset, x2: KRIZAKA.blue.x2 + KRIZAKA.offset, y2: KRIZAKA.blue.y2 + KRIZAKA.offset, children: KRIZAKA.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx30(Stop4, { offset, stopColor: color }, offset)) });
3267
+ const dot = (c) => /* @__PURE__ */ jsxs27(Fragment6, { children: [
3268
+ /* @__PURE__ */ jsx30(Circle4, { cx: c.cx, cy: c.cy, r: c.r, fill: `url(#${id}b)` }),
3269
+ /* @__PURE__ */ jsx30(Circle4, { cx: c.cx, cy: c.cy, r: c.inner, fill: KRIZAKA.highlight })
3381
3270
  ] });
3382
- return /* @__PURE__ */ jsxs28(View27, { style: { width: size, height: size }, ...markA11y(title), children: [
3383
- /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3384
- /* @__PURE__ */ jsxs28(Defs5, { children: [
3385
- /* @__PURE__ */ jsxs28(RadialGradient3, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3386
- /* @__PURE__ */ jsx31(Stop5, { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
3387
- /* @__PURE__ */ jsx31(Stop5, { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: 0 })
3271
+ return /* @__PURE__ */ jsxs27(View26, { style: { width: size, height: size }, ...markA11y(title), children: [
3272
+ /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3273
+ /* @__PURE__ */ jsxs27(Defs4, { children: [
3274
+ /* @__PURE__ */ jsxs27(RadialGradient2, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3275
+ /* @__PURE__ */ jsx30(Stop4, { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
3276
+ /* @__PURE__ */ jsx30(Stop4, { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: 0 })
3388
3277
  ] }),
3389
- /* @__PURE__ */ jsxs28(LinearGradient3, { id: `${id}i`, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.ink.x1 + KRIZAKA.offset, y1: KRIZAKA.ink.y1 + KRIZAKA.offset, x2: KRIZAKA.ink.x2 + KRIZAKA.offset, y2: KRIZAKA.ink.y2 + KRIZAKA.offset, children: [
3390
- /* @__PURE__ */ jsx31(Stop5, { offset: "0%", stopColor: theme.textSecondary }),
3391
- /* @__PURE__ */ jsx31(Stop5, { offset: "100%", stopColor: theme.textPrimary })
3278
+ /* @__PURE__ */ jsxs27(LinearGradient3, { id: `${id}i`, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.ink.x1 + KRIZAKA.offset, y1: KRIZAKA.ink.y1 + KRIZAKA.offset, x2: KRIZAKA.ink.x2 + KRIZAKA.offset, y2: KRIZAKA.ink.y2 + KRIZAKA.offset, children: [
3279
+ /* @__PURE__ */ jsx30(Stop4, { offset: "0%", stopColor: theme.textSecondary }),
3280
+ /* @__PURE__ */ jsx30(Stop4, { offset: "100%", stopColor: theme.textPrimary })
3392
3281
  ] }),
3393
3282
  blue
3394
3283
  ] }),
3395
- size >= 48 ? /* @__PURE__ */ jsx31(Circle5, { cx: 200, cy: 200, r: 190, fill: `url(#${id}g)` }) : null,
3396
- /* @__PURE__ */ jsx31(Circle5, { cx: 200, cy: 200, r: KRIZAKA.ring.r, stroke, strokeWidth: KRIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3397
- /* @__PURE__ */ jsx31(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: /* @__PURE__ */ jsx31(Path9, { d: KRIZAKA.shield, stroke: `url(#${id}i)`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }) })
3284
+ size >= 48 ? /* @__PURE__ */ jsx30(Circle4, { cx: 200, cy: 200, r: 190, fill: `url(#${id}g)` }) : null,
3285
+ /* @__PURE__ */ jsx30(Circle4, { cx: 200, cy: 200, r: KRIZAKA.ring.r, stroke, strokeWidth: KRIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3286
+ /* @__PURE__ */ jsx30(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: /* @__PURE__ */ jsx30(Path8, { d: KRIZAKA.shield, stroke: `url(#${id}i)`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }) })
3398
3287
  ] }),
3399
- /* @__PURE__ */ jsx31(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsx31(Svg11, { viewBox, style: layer, children: /* @__PURE__ */ jsx31(Circle5, { cx: 200, cy: 200, r: KRIZAKA.orbit.r, stroke, strokeWidth: KRIZAKA.orbit.width, strokeDasharray: KRIZAKA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3400
- /* @__PURE__ */ jsx31(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3401
- /* @__PURE__ */ jsx31(Defs5, { children: blue }),
3402
- /* @__PURE__ */ jsxs28(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
3288
+ /* @__PURE__ */ jsx30(Animated28.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsx30(Svg10, { viewBox, style: layer, children: /* @__PURE__ */ jsx30(Circle4, { cx: 200, cy: 200, r: KRIZAKA.orbit.r, stroke, strokeWidth: KRIZAKA.orbit.width, strokeDasharray: KRIZAKA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3289
+ /* @__PURE__ */ jsx30(Animated28.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3290
+ /* @__PURE__ */ jsx30(Defs4, { children: blue }),
3291
+ /* @__PURE__ */ jsxs27(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
3403
3292
  dot(KRIZAKA.node),
3404
3293
  dot(KRIZAKA.core)
3405
3294
  ] })
@@ -3408,8 +3297,8 @@ function KrizakaMark({ size = 48, animated = true, title, neutral }) {
3408
3297
  }
3409
3298
 
3410
3299
  // src/native/OrazakaMark.tsx
3411
- import { View as View28 } from "react-native";
3412
- import Svg12, { Circle as Circle6, Defs as Defs6, LinearGradient as LinearGradient4, Path as Path10, RadialGradient as RadialGradient4, Stop as Stop6 } from "react-native-svg";
3300
+ import { View as View27 } from "react-native";
3301
+ import Svg11, { Circle as Circle5, Defs as Defs5, LinearGradient as LinearGradient4, Path as Path9, RadialGradient as RadialGradient3, Stop as Stop5 } from "react-native-svg";
3413
3302
 
3414
3303
  // src/marks/orazaka-geometry.ts
3415
3304
  var orange = marks.orazaka[marks.orazaka.length - 1][1];
@@ -3438,198 +3327,41 @@ var ORAZAKA = {
3438
3327
  };
3439
3328
 
3440
3329
  // src/native/OrazakaMark.tsx
3441
- import { jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
3330
+ import { jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
3442
3331
  function OrazakaMark({ size = 48, animated = true, title, neutral }) {
3443
3332
  const { theme } = useTheme();
3444
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3333
+ const { Animated: Animated28, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3445
3334
  const id = useSvgId("ozm");
3446
3335
  const viewBox = size < 48 ? ORAZAKA.croppedViewBox : ORAZAKA.viewBox;
3447
3336
  const stroke = neutral ?? theme.textMuted;
3448
- const gradient = /* @__PURE__ */ jsx32(LinearGradient4, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: ORAZAKA.gradient.x1, y1: ORAZAKA.gradient.y1, x2: ORAZAKA.gradient.x2, y2: ORAZAKA.gradient.y2, children: ORAZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx32(Stop6, { offset, stopColor: color }, offset)) });
3337
+ const gradient = /* @__PURE__ */ jsx31(LinearGradient4, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: ORAZAKA.gradient.x1, y1: ORAZAKA.gradient.y1, x2: ORAZAKA.gradient.x2, y2: ORAZAKA.gradient.y2, children: ORAZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx31(Stop5, { offset, stopColor: color }, offset)) });
3449
3338
  const fill = `url(#${id}a)`;
3450
- return /* @__PURE__ */ jsxs29(View28, { style: { width: size, height: size }, ...markA11y(title), children: [
3451
- /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3452
- /* @__PURE__ */ jsx32(Defs6, { children: /* @__PURE__ */ jsxs29(RadialGradient4, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3453
- /* @__PURE__ */ jsx32(Stop6, { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
3454
- /* @__PURE__ */ jsx32(Stop6, { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: 0 })
3339
+ return /* @__PURE__ */ jsxs28(View27, { style: { width: size, height: size }, ...markA11y(title), children: [
3340
+ /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3341
+ /* @__PURE__ */ jsx31(Defs5, { children: /* @__PURE__ */ jsxs28(RadialGradient3, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3342
+ /* @__PURE__ */ jsx31(Stop5, { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
3343
+ /* @__PURE__ */ jsx31(Stop5, { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: 0 })
3455
3344
  ] }) }),
3456
- size >= 48 ? /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3457
- /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke, strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3458
- /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke, strokeWidth: ORAZAKA.ring.width, opacity: 0.35, fill: "none" })
3345
+ size >= 48 ? /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3346
+ /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke, strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3347
+ /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke, strokeWidth: ORAZAKA.ring.width, opacity: 0.35, fill: "none" })
3459
3348
  ] }),
3460
- /* @__PURE__ */ jsx32(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3461
- /* @__PURE__ */ jsx32(Defs6, { children: gradient }),
3462
- ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx32(Path10, { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d))
3349
+ /* @__PURE__ */ jsx31(Animated28.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3350
+ /* @__PURE__ */ jsx31(Defs5, { children: gradient }),
3351
+ ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx31(Path9, { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d))
3463
3352
  ] }) }),
3464
- /* @__PURE__ */ jsx32(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3465
- /* @__PURE__ */ jsx32(Defs6, { children: gradient }),
3466
- /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
3467
- /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
3353
+ /* @__PURE__ */ jsx31(Animated28.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3354
+ /* @__PURE__ */ jsx31(Defs5, { children: gradient }),
3355
+ /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
3356
+ /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
3468
3357
  ] }) })
3469
3358
  ] });
3470
3359
  }
3471
3360
 
3472
- // src/native/OrochiaMark.tsx
3473
- import { useEffect as useEffect10, useState as useState21 } from "react";
3474
- import { AccessibilityInfo as AccessibilityInfo4, Animated as Animated6, Easing as Easing3, View as View29 } from "react-native";
3475
- import Svg13, { Circle as Circle7, Defs as Defs7, Ellipse, G as Group2, LinearGradient as LinearGradient5, Path as Path11, RadialGradient as RadialGradient5, Stop as Stop7 } from "react-native-svg";
3476
-
3477
- // src/marks/orochia-geometry.ts
3478
- var OROCHIA = {
3479
- viewBox: "0 0 400 400",
3480
- croppedViewBox: "86 82 228 228",
3481
- offset: 20,
3482
- body: { x1: 70, y1: 290, x2: 290, y2: 70, stops: marks.orochia },
3483
- flameGradient: { stops: [["0%", "#a855f7"], ["100%", "#f9a8d4"]] },
3484
- glow: { color: "#d946ef", opacity: 0.18 },
3485
- orbit: { r: 160, dash: "8 8", width: 1.5 },
3486
- ring: { r: 134, width: 1 },
3487
- arc: "M259.8,142.8 A88,88 0 1 1 142.8,100.2",
3488
- neck: "M142.8,100.2 A88,88 0 0 1 187.7,92.3",
3489
- tail: "M187.7,92.3 A88,88 0 0 1 221.3,102.3",
3490
- scales: { color: "#fdf4ff", opacity: 0.45, width: 3, dash: "2 14" },
3491
- head: { cx: 253.9, cy: 130.1, rx: 13, ry: 20, rotate: -25 },
3492
- tongue: { d: "M245.4,112.0 L242.0,104.8 L235.0,101.5 M242.0,104.8 L244.0,97.3", color: "#f472b6" },
3493
- eye: { cx: 256.3, cy: 123.5, r: 4.5, color: "#fdf4ff" },
3494
- flame: {
3495
- translate: [127, 120],
3496
- scale: 4.4,
3497
- d: "M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z"
3498
- }
3499
- };
3500
-
3501
- // src/native/OrochiaMark.tsx
3502
- import { jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
3503
- var CENTER = OROCHIA.offset + 180;
3504
- function OrochiaMark({ size = 48, animated = true, title, neutral: neutralProp }) {
3505
- const { theme } = useTheme();
3506
- const neutral = neutralProp ?? theme.textMuted;
3507
- const [spin] = useState21(() => new Animated6.Value(0));
3508
- const [pulse] = useState21(() => new Animated6.Value(0));
3509
- useEffect10(() => {
3510
- if (!animated) return;
3511
- let loops = [];
3512
- let cancelled = false;
3513
- void AccessibilityInfo4.isReduceMotionEnabled().then((reduce) => {
3514
- if (reduce || cancelled) return;
3515
- loops = [
3516
- Animated6.loop(Animated6.timing(spin, { toValue: 1, duration: 3e4, easing: Easing3.linear, useNativeDriver: true })),
3517
- Animated6.loop(
3518
- Animated6.sequence([
3519
- Animated6.timing(pulse, { toValue: 1, duration: 1600, easing: Easing3.inOut(Easing3.ease), useNativeDriver: true }),
3520
- Animated6.timing(pulse, { toValue: 0, duration: 1600, easing: Easing3.inOut(Easing3.ease), useNativeDriver: true })
3521
- ])
3522
- )
3523
- ];
3524
- loops.forEach((l) => l.start());
3525
- });
3526
- return () => {
3527
- cancelled = true;
3528
- loops.forEach((l) => l.stop());
3529
- };
3530
- }, [animated, spin, pulse]);
3531
- const viewBox = size < 48 ? OROCHIA.croppedViewBox : OROCHIA.viewBox;
3532
- const layer = { position: "absolute", width: size, height: size };
3533
- const a11y = title ? { accessible: true, accessibilityRole: "image", accessibilityLabel: title } : { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants" };
3534
- const bodyGradient = /* @__PURE__ */ jsx33(LinearGradient5, { id: "body", gradientUnits: "userSpaceOnUse", x1: OROCHIA.body.x1 + OROCHIA.offset, y1: OROCHIA.body.y1 + OROCHIA.offset, x2: OROCHIA.body.x2 + OROCHIA.offset, y2: OROCHIA.body.y2 + OROCHIA.offset, children: OROCHIA.body.stops.map(([offset, color]) => /* @__PURE__ */ jsx33(Stop7, { offset, stopColor: color }, offset)) });
3535
- return /* @__PURE__ */ jsxs30(View29, { style: { width: size, height: size }, ...a11y, children: [
3536
- /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3537
- /* @__PURE__ */ jsx33(Defs7, { children: /* @__PURE__ */ jsxs30(RadialGradient5, { id: "glow", cx: "50%", cy: "50%", r: "50%", children: [
3538
- /* @__PURE__ */ jsx33(Stop7, { offset: "0%", stopColor: OROCHIA.glow.color, stopOpacity: OROCHIA.glow.opacity }),
3539
- /* @__PURE__ */ jsx33(Stop7, { offset: "100%", stopColor: OROCHIA.glow.color, stopOpacity: 0 })
3540
- ] }) }),
3541
- /* @__PURE__ */ jsx33(Circle7, { cx: CENTER, cy: CENTER, r: 170, fill: "url(#glow)" }),
3542
- /* @__PURE__ */ jsx33(Circle7, { cx: CENTER, cy: CENTER, r: OROCHIA.ring.r, stroke: neutral, strokeWidth: OROCHIA.ring.width, opacity: 0.35, fill: "none" })
3543
- ] }),
3544
- /* @__PURE__ */ jsx33(Animated6.View, { style: [layer, { transform: [{ rotate: spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] }) }] }], children: /* @__PURE__ */ jsx33(Svg13, { viewBox, style: layer, children: /* @__PURE__ */ jsx33(Circle7, { cx: CENTER, cy: CENTER, r: OROCHIA.orbit.r, stroke: neutral, strokeWidth: OROCHIA.orbit.width, strokeDasharray: OROCHIA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3545
- /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3546
- /* @__PURE__ */ jsx33(Defs7, { children: bodyGradient }),
3547
- /* @__PURE__ */ jsxs30(Group2, { transform: `translate(${OROCHIA.offset} ${OROCHIA.offset})`, children: [
3548
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.arc, stroke: "url(#body)", strokeWidth: 22, strokeLinecap: "round", fill: "none" }),
3549
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.arc, stroke: OROCHIA.scales.color, strokeOpacity: OROCHIA.scales.opacity, strokeWidth: OROCHIA.scales.width, strokeLinecap: "round", strokeDasharray: OROCHIA.scales.dash, fill: "none" }),
3550
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.neck, stroke: "url(#body)", strokeWidth: 14, strokeLinecap: "round", fill: "none" }),
3551
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.tail, stroke: "url(#body)", strokeWidth: 6, strokeLinecap: "round", fill: "none" }),
3552
- /* @__PURE__ */ jsx33(Ellipse, { cx: OROCHIA.head.cx, cy: OROCHIA.head.cy, rx: OROCHIA.head.rx, ry: OROCHIA.head.ry, rotation: OROCHIA.head.rotate, origin: `${OROCHIA.head.cx}, ${OROCHIA.head.cy}`, fill: "url(#body)" }),
3553
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.tongue.d, stroke: OROCHIA.tongue.color, strokeWidth: 3, strokeLinecap: "round", fill: "none" })
3554
- ] })
3555
- ] }),
3556
- /* @__PURE__ */ jsx33(Animated6.View, { style: [layer, { opacity: pulse.interpolate({ inputRange: [0, 1], outputRange: [0.85, 1] }) }], children: /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3557
- /* @__PURE__ */ jsx33(Defs7, { children: /* @__PURE__ */ jsx33(LinearGradient5, { id: "flame", x1: "50%", y1: "100%", x2: "50%", y2: "0%", children: OROCHIA.flameGradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx33(Stop7, { offset, stopColor: color }, offset)) }) }),
3558
- /* @__PURE__ */ jsxs30(Group2, { transform: `translate(${OROCHIA.offset} ${OROCHIA.offset})`, children: [
3559
- /* @__PURE__ */ jsx33(Circle7, { cx: OROCHIA.eye.cx, cy: OROCHIA.eye.cy, r: OROCHIA.eye.r, fill: OROCHIA.eye.color }),
3560
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.flame.d, transform: `translate(${OROCHIA.flame.translate[0]} ${OROCHIA.flame.translate[1]}) scale(${OROCHIA.flame.scale})`, fill: "url(#flame)" })
3561
- ] })
3562
- ] }) })
3563
- ] });
3564
- }
3565
-
3566
- // src/native/YasakiaMark.tsx
3567
- import { View as View30 } from "react-native";
3568
- import Svg14, { Circle as Circle8, Defs as Defs8, LinearGradient as LinearGradient6, Path as Path12, RadialGradient as RadialGradient6, Stop as Stop8 } from "react-native-svg";
3569
-
3570
- // src/marks/yasakia-geometry.ts
3571
- var turquoise = marks.yasakia[marks.yasakia.length - 1][1];
3572
- var YASAKIA = {
3573
- viewBox: "0 0 400 400",
3574
- croppedViewBox: "80 80 240 240",
3575
- center: 200,
3576
- bubble: { cx: 200, cy: 200, r: 86 },
3577
- /** The two tails, out of the bubble at 115°–160° and, turned 180° about the centre, at 295°–340°. */
3578
- tails: [
3579
- "M163.7 277.9 Q138 294 106 304 Q124 270 119.2 229.4 Z",
3580
- "M236.3 122.1 Q262 106 294 96 Q276 130 280.8 170.6 Z"
3581
- ],
3582
- /** The spark: a diamond of light (half-diagonal 24, softened by a 6-unit round stroke). */
3583
- spark: { d: "M200 176 L224 200 L200 224 L176 200 Z", soften: 6 },
3584
- highlight: "#f0fdfa",
3585
- gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.yasakia },
3586
- /** The two people: one node on the orbit, that turns with it. */
3587
- node: { r: 9, at: [200, 40] },
3588
- glow: { color: turquoise, opacity: 0.16 },
3589
- pulse: { color: turquoise, low: 0.3, high: 0.6 },
3590
- motion: { spin: 30, breath: 3.2 },
3591
- orbit: { r: 160, dash: "8 8", width: 1.5 },
3592
- ring: { r: 134, width: 1 }
3593
- };
3594
-
3595
- // src/native/YasakiaMark.tsx
3596
- import { jsx as jsx34, jsxs as jsxs31 } from "react/jsx-runtime";
3597
- function YasakiaMark({ size = 48, animated = true, title, neutral }) {
3598
- const { theme } = useTheme();
3599
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YASAKIA.motion.spin * 1e3);
3600
- const id = useSvgId("yzm");
3601
- const viewBox = size < 48 ? YASAKIA.croppedViewBox : YASAKIA.viewBox;
3602
- const stroke = neutral ?? theme.textMuted;
3603
- const gradient = /* @__PURE__ */ jsx34(LinearGradient6, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: YASAKIA.gradient.x1, y1: YASAKIA.gradient.y1, x2: YASAKIA.gradient.x2, y2: YASAKIA.gradient.y2, children: YASAKIA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx34(Stop8, { offset, stopColor: color }, offset)) });
3604
- const fill = `url(#${id}a)`;
3605
- return /* @__PURE__ */ jsxs31(View30, { style: { width: size, height: size }, ...markA11y(title), children: [
3606
- /* @__PURE__ */ jsxs31(Svg14, { viewBox, style: layer, children: [
3607
- /* @__PURE__ */ jsxs31(Defs8, { children: [
3608
- /* @__PURE__ */ jsxs31(RadialGradient6, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3609
- /* @__PURE__ */ jsx34(Stop8, { offset: "0%", stopColor: YASAKIA.glow.color, stopOpacity: YASAKIA.glow.opacity }),
3610
- /* @__PURE__ */ jsx34(Stop8, { offset: "100%", stopColor: YASAKIA.glow.color, stopOpacity: 0 })
3611
- ] }),
3612
- gradient
3613
- ] }),
3614
- size >= 48 ? /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: 190, fill: `url(#${id}g)` }) : null,
3615
- /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.ring.r, stroke, strokeWidth: YASAKIA.ring.width, opacity: 0.35, fill: "none" }),
3616
- /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.bubble.cx, cy: YASAKIA.bubble.cy, r: YASAKIA.bubble.r, fill }),
3617
- /* @__PURE__ */ jsx34(Path12, { d: YASAKIA.tails.join(" "), fill })
3618
- ] }),
3619
- /* @__PURE__ */ jsx34(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs31(Svg14, { viewBox, style: layer, children: [
3620
- /* @__PURE__ */ jsx34(Defs8, { children: gradient }),
3621
- /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.orbit.r, stroke, strokeWidth: YASAKIA.orbit.width, strokeDasharray: YASAKIA.orbit.dash, opacity: 0.6, fill: "none" }),
3622
- /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.node.at[0], cy: YASAKIA.node.at[1], r: YASAKIA.node.r, fill })
3623
- ] }) }),
3624
- /* @__PURE__ */ jsx34(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsx34(Svg14, { viewBox, style: layer, children: /* @__PURE__ */ jsx34(Path12, { d: YASAKIA.spark.d, fill: YASAKIA.highlight, stroke: YASAKIA.highlight, strokeWidth: YASAKIA.spark.soften, strokeLinejoin: "round" }) }) })
3625
- ] });
3626
- }
3627
- var YazakiaMark = YasakiaMark;
3628
-
3629
3361
  // src/native/YomizakaMark.tsx
3630
- import React22 from "react";
3631
- import { View as View31 } from "react-native";
3632
- import Svg15, { Circle as Circle9, Defs as Defs9, LinearGradient as LinearGradient7, Path as Path13, RadialGradient as RadialGradient7, Stop as Stop9 } from "react-native-svg";
3362
+ import React21 from "react";
3363
+ import { View as View28 } from "react-native";
3364
+ import Svg12, { Circle as Circle6, Defs as Defs6, LinearGradient as LinearGradient5, Path as Path10, RadialGradient as RadialGradient4, Stop as Stop6 } from "react-native-svg";
3633
3365
 
3634
3366
  // src/marks/yomizaka-geometry.ts
3635
3367
  var indigo = marks.yomizaka[marks.yomizaka.length - 1][1];
@@ -3662,144 +3394,82 @@ var YOMIZAKA = {
3662
3394
  };
3663
3395
 
3664
3396
  // src/native/YomizakaMark.tsx
3665
- import { jsx as jsx35, jsxs as jsxs32 } from "react/jsx-runtime";
3397
+ import { jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
3666
3398
  function YomizakaMark({ size = 48, animated = true, title, neutral }) {
3667
3399
  const { theme } = useTheme();
3668
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YOMIZAKA.motion.spin * 1e3);
3400
+ const { Animated: Animated28, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YOMIZAKA.motion.spin * 1e3);
3669
3401
  const id = useSvgId("ymm");
3670
3402
  const viewBox = size < 48 ? YOMIZAKA.croppedViewBox : YOMIZAKA.viewBox;
3671
3403
  const stroke = neutral ?? theme.textMuted;
3672
- const gradient = /* @__PURE__ */ jsx35(LinearGradient7, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: YOMIZAKA.gradient.x1, y1: YOMIZAKA.gradient.y1, x2: YOMIZAKA.gradient.x2, y2: YOMIZAKA.gradient.y2, children: YOMIZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx35(Stop9, { offset, stopColor: color }, offset)) });
3404
+ const gradient = /* @__PURE__ */ jsx32(LinearGradient5, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: YOMIZAKA.gradient.x1, y1: YOMIZAKA.gradient.y1, x2: YOMIZAKA.gradient.x2, y2: YOMIZAKA.gradient.y2, children: YOMIZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx32(Stop6, { offset, stopColor: color }, offset)) });
3673
3405
  const fill = `url(#${id}a)`;
3674
- return /* @__PURE__ */ jsxs32(View31, { style: { width: size, height: size }, ...markA11y(title), children: [
3675
- /* @__PURE__ */ jsxs32(Svg15, { viewBox, style: layer, children: [
3676
- /* @__PURE__ */ jsxs32(Defs9, { children: [
3677
- /* @__PURE__ */ jsxs32(RadialGradient7, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3678
- /* @__PURE__ */ jsx35(Stop9, { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
3679
- /* @__PURE__ */ jsx35(Stop9, { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: 0 })
3406
+ return /* @__PURE__ */ jsxs29(View28, { style: { width: size, height: size }, ...markA11y(title), children: [
3407
+ /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3408
+ /* @__PURE__ */ jsxs29(Defs6, { children: [
3409
+ /* @__PURE__ */ jsxs29(RadialGradient4, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3410
+ /* @__PURE__ */ jsx32(Stop6, { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
3411
+ /* @__PURE__ */ jsx32(Stop6, { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: 0 })
3680
3412
  ] }),
3681
3413
  gradient
3682
3414
  ] }),
3683
- size >= 48 ? /* @__PURE__ */ jsx35(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3684
- /* @__PURE__ */ jsx35(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke, strokeWidth: YOMIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3685
- /* @__PURE__ */ jsx35(Path13, { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
3686
- YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx35(Circle9, { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke, fill: "none" }, l.cx))
3415
+ size >= 48 ? /* @__PURE__ */ jsx32(Circle6, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3416
+ /* @__PURE__ */ jsx32(Circle6, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke, strokeWidth: YOMIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3417
+ /* @__PURE__ */ jsx32(Path10, { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
3418
+ YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx32(Circle6, { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke, fill: "none" }, l.cx))
3687
3419
  ] }),
3688
- /* @__PURE__ */ jsx35(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs32(Svg15, { viewBox, style: layer, children: [
3689
- /* @__PURE__ */ jsx35(Defs9, { children: gradient }),
3690
- /* @__PURE__ */ jsx35(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.orbit.r, stroke, strokeWidth: YOMIZAKA.orbit.width, strokeDasharray: YOMIZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3691
- /* @__PURE__ */ jsx35(Circle9, { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
3420
+ /* @__PURE__ */ jsx32(Animated28.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3421
+ /* @__PURE__ */ jsx32(Defs6, { children: gradient }),
3422
+ /* @__PURE__ */ jsx32(Circle6, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.orbit.r, stroke, strokeWidth: YOMIZAKA.orbit.width, strokeDasharray: YOMIZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3423
+ /* @__PURE__ */ jsx32(Circle6, { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
3692
3424
  ] }) }),
3693
- /* @__PURE__ */ jsx35(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs32(Svg15, { viewBox, style: layer, children: [
3694
- /* @__PURE__ */ jsx35(Defs9, { children: gradient }),
3695
- YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs32(React22.Fragment, { children: [
3696
- /* @__PURE__ */ jsx35(Circle9, { cx: p.cx, cy: p.cy, r: p.r, fill }),
3697
- /* @__PURE__ */ jsx35(Circle9, { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
3425
+ /* @__PURE__ */ jsx32(Animated28.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3426
+ /* @__PURE__ */ jsx32(Defs6, { children: gradient }),
3427
+ YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs29(React21.Fragment, { children: [
3428
+ /* @__PURE__ */ jsx32(Circle6, { cx: p.cx, cy: p.cy, r: p.r, fill }),
3429
+ /* @__PURE__ */ jsx32(Circle6, { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
3698
3430
  ] }, p.cx))
3699
3431
  ] }) })
3700
3432
  ] });
3701
3433
  }
3702
3434
 
3703
- // src/native/YororisMark.tsx
3704
- import { View as View32 } from "react-native";
3705
- import Svg16, { Circle as Circle10, Defs as Defs10, Path as Path14, RadialGradient as RadialGradient8, Stop as Stop10 } from "react-native-svg";
3706
-
3707
- // src/marks/yororis-geometry.ts
3708
- var sand = marks.yororis[0][1];
3709
- var sage = marks.yororis[marks.yororis.length - 1][1];
3710
- var YORORIS = {
3711
- viewBox: "0 0 400 400",
3712
- croppedViewBox: "80 80 240 240",
3713
- center: 200,
3714
- stroke: 22,
3715
- sand,
3716
- sage,
3717
- /** The two hands: arcs of a circle r 92 centred (200, 162), from 196° to 104° and from 76° to −16°; open at the bottom and the top. */
3718
- hands: "M111.6 136.6 A92 92 0 0 0 177.7 251.3 M222.3 251.3 A92 92 0 0 0 288.4 136.6",
3719
- /** The warm core, held inside the hands. */
3720
- core: { cx: 200, cy: 176, r: 30, inner: 10.2 },
3721
- highlight: "#fbf6ea",
3722
- gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.yororis },
3723
- /** The moment: one node on the orbit — it comes round, then it goes. */
3724
- node: { r: 9, at: [200, 40] },
3725
- glow: { color: sage, opacity: 0.18 },
3726
- pulse: { color: sand, low: 0.3, high: 0.6 },
3727
- motion: { spin: 36, breath: 4.2 },
3728
- orbit: { r: 160, dash: "8 8", width: 1.5 },
3729
- ring: { r: 134, width: 1 }
3730
- };
3731
-
3732
- // src/native/YororisMark.tsx
3733
- import { jsx as jsx36, jsxs as jsxs33 } from "react/jsx-runtime";
3734
- function YororisMark({ size = 48, animated = true, title, neutral }) {
3735
- const { theme } = useTheme();
3736
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YORORIS.motion.spin * 1e3);
3737
- const id = useSvgId("yrm");
3738
- const viewBox = size < 48 ? YORORIS.croppedViewBox : YORORIS.viewBox;
3739
- const stroke = neutral ?? theme.textMuted;
3740
- return /* @__PURE__ */ jsxs33(View32, { style: { width: size, height: size }, ...markA11y(title), children: [
3741
- /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3742
- /* @__PURE__ */ jsx36(Defs10, { children: /* @__PURE__ */ jsxs33(RadialGradient8, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3743
- /* @__PURE__ */ jsx36(Stop10, { offset: "0%", stopColor: YORORIS.glow.color, stopOpacity: YORORIS.glow.opacity }),
3744
- /* @__PURE__ */ jsx36(Stop10, { offset: "100%", stopColor: YORORIS.glow.color, stopOpacity: 0 })
3745
- ] }) }),
3746
- size >= 48 ? /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: 190, fill: `url(#${id}g)` }) : null,
3747
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.ring.r, stroke, strokeWidth: YORORIS.ring.width, opacity: 0.35, fill: "none" }),
3748
- /* @__PURE__ */ jsx36(Path14, { d: YORORIS.hands, stroke: YORORIS.sage, strokeWidth: YORORIS.stroke, strokeLinecap: "round", fill: "none" })
3749
- ] }),
3750
- /* @__PURE__ */ jsx36(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3751
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.orbit.r, stroke, strokeWidth: YORORIS.orbit.width, strokeDasharray: YORORIS.orbit.dash, opacity: 0.6, fill: "none" }),
3752
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.node.at[0], cy: YORORIS.node.at[1], r: YORORIS.node.r, fill: YORORIS.sage })
3753
- ] }) }),
3754
- /* @__PURE__ */ jsx36(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3755
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.r, fill: YORORIS.sand }),
3756
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.inner, fill: YORORIS.highlight })
3757
- ] }) })
3758
- ] });
3759
- }
3760
-
3761
3435
  // src/native/ProductMark.tsx
3762
- import { jsx as jsx37 } from "react/jsx-runtime";
3436
+ import { jsx as jsx33 } from "react/jsx-runtime";
3763
3437
  function ProductMark({ id, ...props }) {
3764
- if (id === "krizaka") return /* @__PURE__ */ jsx37(KrizakaMark, { ...props });
3765
- if (id === "orazaka") return /* @__PURE__ */ jsx37(OrazakaMark, { ...props });
3766
- if (id === "yasakia" || id === "yazakia") return /* @__PURE__ */ jsx37(YasakiaMark, { ...props });
3767
- if (id === "yororis") return /* @__PURE__ */ jsx37(YororisMark, { ...props });
3768
- if (id === "yomizaka") return /* @__PURE__ */ jsx37(YomizakaMark, { ...props });
3769
- if (id === "kachizaka") return /* @__PURE__ */ jsx37(KachizakaMark, { ...props });
3770
- if (id === "akinaza") return /* @__PURE__ */ jsx37(AkinazaMark, { ...props });
3771
- return /* @__PURE__ */ jsx37(OrochiaMark, { ...props });
3438
+ if (id === "krizaka") return /* @__PURE__ */ jsx33(KrizakaMark, { ...props });
3439
+ if (id === "orazaka") return /* @__PURE__ */ jsx33(OrazakaMark, { ...props });
3440
+ if (id === "yomizaka") return /* @__PURE__ */ jsx33(YomizakaMark, { ...props });
3441
+ return /* @__PURE__ */ jsx33(AkinazaMark, { ...props });
3772
3442
  }
3773
3443
 
3774
3444
  // src/native/pull-to-refresh.tsx
3775
- import { jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
3445
+ import { jsx as jsx34, jsxs as jsxs30 } from "react/jsx-runtime";
3776
3446
  function PullToRefresh({ label, ...props }) {
3777
3447
  const { theme } = useTheme();
3778
- return /* @__PURE__ */ jsx38(RefreshControl, { ...props, tintColor: theme.accent, colors: [theme.accent], progressBackgroundColor: theme.surface2, title: label, titleColor: theme.textSecondary });
3448
+ return /* @__PURE__ */ jsx34(RefreshControl, { ...props, tintColor: theme.accent, colors: [theme.accent], progressBackgroundColor: theme.surface2, title: label, titleColor: theme.textSecondary });
3779
3449
  }
3780
3450
  var pullProgress = (offset, threshold) => Math.min(1, Math.max(0, -offset / threshold));
3781
3451
  function BrandedRefresh({ product, refreshing, onRefresh, label, children, threshold = 72 }) {
3782
3452
  const { theme } = useTheme();
3783
3453
  const reduce = useReducedMotion();
3784
- const [pull] = React23.useState(() => new Animated7.Value(0));
3785
- React23.useEffect(() => {
3786
- if (refreshing) AccessibilityInfo5.announceForAccessibility(label);
3454
+ const [pull] = React22.useState(() => new Animated6.Value(0));
3455
+ React22.useEffect(() => {
3456
+ if (refreshing) AccessibilityInfo4.announceForAccessibility(label);
3787
3457
  }, [refreshing, label]);
3788
- const onScroll = React23.useCallback(
3458
+ const onScroll = React22.useCallback(
3789
3459
  (event) => pull.setValue(pullProgress(event.nativeEvent.contentOffset.y, threshold)),
3790
3460
  [pull, threshold]
3791
3461
  );
3792
3462
  const shown = refreshing ? 1 : pull;
3793
3463
  const scale = refreshing || reduce ? 1 : pull.interpolate({ inputRange: [0, 1], outputRange: [0.4, 1] });
3794
3464
  const rotate = refreshing || reduce ? "0deg" : pull.interpolate({ inputRange: [0, 1], outputRange: ["-90deg", "0deg"] });
3795
- return /* @__PURE__ */ jsxs34(View33, { style: styles26.root, children: [
3465
+ return /* @__PURE__ */ jsxs30(View29, { style: styles26.root, children: [
3796
3466
  children({
3797
3467
  // The platform's control does the gesture and the haptics, drawn transparent: the mark is ours.
3798
- refreshControl: /* @__PURE__ */ jsx38(RefreshControl, { refreshing, onRefresh, tintColor: "transparent", colors: ["transparent"], progressBackgroundColor: "transparent" }),
3468
+ refreshControl: /* @__PURE__ */ jsx34(RefreshControl, { refreshing, onRefresh, tintColor: "transparent", colors: ["transparent"], progressBackgroundColor: "transparent" }),
3799
3469
  onScroll,
3800
3470
  scrollEventThrottle: 16
3801
3471
  }),
3802
- /* @__PURE__ */ jsx38(Animated7.View, { pointerEvents: "none", "aria-hidden": true, style: [styles26.mark, { opacity: shown, transform: [{ scale }, { rotate }] }], children: /* @__PURE__ */ jsx38(ProductMark, { id: product, size: 32, animated: refreshing, neutral: theme.textMuted }) })
3472
+ /* @__PURE__ */ jsx34(Animated6.View, { pointerEvents: "none", "aria-hidden": true, style: [styles26.mark, { opacity: shown, transform: [{ scale }, { rotate }] }], children: /* @__PURE__ */ jsx34(ProductMark, { id: product, size: 32, animated: refreshing, neutral: theme.textMuted }) })
3803
3473
  ] });
3804
3474
  }
3805
3475
  var styles26 = StyleSheet26.create({
@@ -3808,33 +3478,33 @@ var styles26 = StyleSheet26.create({
3808
3478
  });
3809
3479
 
3810
3480
  // src/native/screen.tsx
3811
- import { Fragment as Fragment7, jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
3481
+ import { Fragment as Fragment7, jsx as jsx35, jsxs as jsxs31 } from "react/jsx-runtime";
3812
3482
  function Screen({ header, footer, children, scroll = true, keyboard = true, padding = 16, surface = "surface0", contentStyle, onRefresh, refreshing = false, refreshLabel, testID }) {
3813
3483
  const { theme, insets } = useTheme();
3814
- const body = scroll ? /* @__PURE__ */ jsx39(ScrollView5, { testID, style: styles27.flex, contentContainerStyle: [{ padding, paddingTop: header ? padding : padding + insets.top, gap: 16 }, contentStyle], keyboardShouldPersistTaps: "handled", tabIndex: 0, refreshControl: onRefresh ? /* @__PURE__ */ jsx39(PullToRefresh, { refreshing, onRefresh, label: refreshLabel }) : void 0, children }) : /* @__PURE__ */ jsx39(View34, { style: [styles27.flex, { paddingTop: header ? 0 : insets.top }, contentStyle], children });
3815
- const inner = /* @__PURE__ */ jsxs35(Fragment7, { children: [
3484
+ const body = scroll ? /* @__PURE__ */ jsx35(ScrollView5, { testID, style: styles27.flex, contentContainerStyle: [{ padding, paddingTop: header ? padding : padding + insets.top, gap: 16 }, contentStyle], keyboardShouldPersistTaps: "handled", tabIndex: 0, refreshControl: onRefresh ? /* @__PURE__ */ jsx35(PullToRefresh, { refreshing, onRefresh, label: refreshLabel }) : void 0, children }) : /* @__PURE__ */ jsx35(View30, { style: [styles27.flex, { paddingTop: header ? 0 : insets.top }, contentStyle], children });
3485
+ const inner = /* @__PURE__ */ jsxs31(Fragment7, { children: [
3816
3486
  header,
3817
3487
  body,
3818
3488
  footer
3819
3489
  ] });
3820
- return /* @__PURE__ */ jsx39(View34, { style: [styles27.flex, { backgroundColor: theme[surface] }], children: keyboard ? /* @__PURE__ */ jsx39(KeyboardAvoidingView, { style: styles27.flex, behavior: Platform2.OS === "ios" ? "padding" : void 0, children: inner }) : inner });
3490
+ return /* @__PURE__ */ jsx35(View30, { style: [styles27.flex, { backgroundColor: theme[surface] }], children: keyboard ? /* @__PURE__ */ jsx35(KeyboardAvoidingView, { style: styles27.flex, behavior: Platform2.OS === "ios" ? "padding" : void 0, children: inner }) : inner });
3821
3491
  }
3822
3492
  var styles27 = StyleSheet27.create({ flex: { flex: 1 } });
3823
3493
 
3824
3494
  // src/native/step-progress.tsx
3825
- import { Pressable as Pressable18, StyleSheet as StyleSheet28, View as View35 } from "react-native";
3826
- import Svg17, { Path as Path15 } from "react-native-svg";
3827
- import { jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
3495
+ import { Pressable as Pressable18, StyleSheet as StyleSheet28, View as View31 } from "react-native";
3496
+ import Svg13, { Path as Path11 } from "react-native-svg";
3497
+ import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
3828
3498
  function StepProgress({ step, total, label, backLabel, onBack, trailing, style }) {
3829
3499
  const { theme, insets } = useTheme();
3830
3500
  const words2 = label(step, total);
3831
- return /* @__PURE__ */ jsxs36(View35, { style: [styles28.root, { paddingTop: insets.top + 8 }, style], children: [
3832
- /* @__PURE__ */ jsxs36(View35, { style: styles28.row, children: [
3833
- onBack && backLabel ? /* @__PURE__ */ jsx40(Pressable18, { role: "button", "aria-label": backLabel, hitSlop: 10, onPress: onBack, style: styles28.back, children: /* @__PURE__ */ jsx40(Svg17, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx40(Path15, { d: "M15 5l-7 7 7 7", stroke: theme.textPrimary, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) : /* @__PURE__ */ jsx40(View35, { style: styles28.back }),
3834
- /* @__PURE__ */ jsx40(View35, { accessible: true, role: "progressbar", "aria-label": words2, "aria-valuemin": 1, "aria-valuemax": total, "aria-valuenow": step, "aria-valuetext": words2, style: styles28.bars, children: Array.from({ length: total }, (_, i) => /* @__PURE__ */ jsx40(View35, { style: [styles28.bar, { backgroundColor: i < step ? theme.accent : theme.surface3 }] }, i)) }),
3835
- /* @__PURE__ */ jsx40(View35, { style: styles28.trailing, children: trailing })
3501
+ return /* @__PURE__ */ jsxs32(View31, { style: [styles28.root, { paddingTop: insets.top + 8 }, style], children: [
3502
+ /* @__PURE__ */ jsxs32(View31, { style: styles28.row, children: [
3503
+ onBack && backLabel ? /* @__PURE__ */ jsx36(Pressable18, { role: "button", "aria-label": backLabel, hitSlop: 10, onPress: onBack, style: styles28.back, children: /* @__PURE__ */ jsx36(Svg13, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx36(Path11, { d: "M15 5l-7 7 7 7", stroke: theme.textPrimary, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) : /* @__PURE__ */ jsx36(View31, { style: styles28.back }),
3504
+ /* @__PURE__ */ jsx36(View31, { accessible: true, role: "progressbar", "aria-label": words2, "aria-valuemin": 1, "aria-valuemax": total, "aria-valuenow": step, "aria-valuetext": words2, style: styles28.bars, children: Array.from({ length: total }, (_, i) => /* @__PURE__ */ jsx36(View31, { style: [styles28.bar, { backgroundColor: i < step ? theme.accent : theme.surface3 }] }, i)) }),
3505
+ /* @__PURE__ */ jsx36(View31, { style: styles28.trailing, children: trailing })
3836
3506
  ] }),
3837
- /* @__PURE__ */ jsx40(Txt, { variant: "caption", tone: "secondary", style: styles28.words, "aria-hidden": true, children: words2 })
3507
+ /* @__PURE__ */ jsx36(Txt, { variant: "caption", tone: "secondary", style: styles28.words, "aria-hidden": true, children: words2 })
3838
3508
  ] });
3839
3509
  }
3840
3510
  var styles28 = StyleSheet28.create({
@@ -3848,10 +3518,10 @@ var styles28 = StyleSheet28.create({
3848
3518
  });
3849
3519
 
3850
3520
  // src/native/form-flow.tsx
3851
- import { jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
3521
+ import { jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
3852
3522
  function FormFlow({ steps, labels, step: controlled, defaultStep = 0, onStepChange, onDone, onExit, loading }) {
3853
3523
  const { insets, theme } = useTheme();
3854
- const [own, setOwn] = React24.useState(defaultStep);
3524
+ const [own, setOwn] = React23.useState(defaultStep);
3855
3525
  const index = Math.min(Math.max(controlled ?? own, 0), steps.length - 1);
3856
3526
  const current = steps[index];
3857
3527
  const last = index === steps.length - 1;
@@ -3860,15 +3530,15 @@ function FormFlow({ steps, labels, step: controlled, defaultStep = 0, onStepChan
3860
3530
  onStepChange?.(next);
3861
3531
  };
3862
3532
  if (!current) return null;
3863
- return /* @__PURE__ */ jsxs37(
3533
+ return /* @__PURE__ */ jsxs33(
3864
3534
  Screen,
3865
3535
  {
3866
- header: /* @__PURE__ */ jsx41(StepProgress, { step: index + 1, total: steps.length, label: labels.position, backLabel: index > 0 || onExit ? labels.back : void 0, onBack: index > 0 ? () => go(index - 1) : onExit }),
3867
- footer: /* @__PURE__ */ jsx41(View36, { style: [styles29.footer, { paddingBottom: Math.max(12, insets.bottom), borderTopColor: theme.borderSubtle }], children: /* @__PURE__ */ jsx41(Button, { label: last ? labels.done : labels.next, variant: "primary", size: "lg", disabled: current.valid === false, loading, onPress: () => last ? onDone() : go(index + 1) }) }),
3536
+ header: /* @__PURE__ */ jsx37(StepProgress, { step: index + 1, total: steps.length, label: labels.position, backLabel: index > 0 || onExit ? labels.back : void 0, onBack: index > 0 ? () => go(index - 1) : onExit }),
3537
+ footer: /* @__PURE__ */ jsx37(View32, { style: [styles29.footer, { paddingBottom: Math.max(12, insets.bottom), borderTopColor: theme.borderSubtle }], children: /* @__PURE__ */ jsx37(Button, { label: last ? labels.done : labels.next, variant: "primary", size: "lg", disabled: current.valid === false, loading, onPress: () => last ? onDone() : go(index + 1) }) }),
3868
3538
  children: [
3869
- /* @__PURE__ */ jsxs37(View36, { style: styles29.head, accessibilityLiveRegion: "polite", children: [
3870
- /* @__PURE__ */ jsx41(Txt, { variant: "title", children: current.title }),
3871
- current.description ? /* @__PURE__ */ jsx41(Txt, { tone: "secondary", children: current.description }) : null
3539
+ /* @__PURE__ */ jsxs33(View32, { style: styles29.head, accessibilityLiveRegion: "polite", children: [
3540
+ /* @__PURE__ */ jsx37(Txt, { variant: "title", children: current.title }),
3541
+ current.description ? /* @__PURE__ */ jsx37(Txt, { tone: "secondary", children: current.description }) : null
3872
3542
  ] }),
3873
3543
  current.content
3874
3544
  ]
@@ -3881,20 +3551,20 @@ var styles29 = StyleSheet29.create({
3881
3551
  });
3882
3552
 
3883
3553
  // src/native/goal-gauge.tsx
3884
- import { Animated as Animated9, StyleSheet as StyleSheet30, View as View37 } from "react-native";
3554
+ import { Animated as Animated8, StyleSheet as StyleSheet30, View as View33 } from "react-native";
3885
3555
 
3886
3556
  // src/native/story-motion.ts
3887
- import * as React25 from "react";
3888
- import { AccessibilityInfo as AccessibilityInfo6, Animated as Animated8, Easing as Easing4 } from "react-native";
3557
+ import * as React24 from "react";
3558
+ import { AccessibilityInfo as AccessibilityInfo5, Animated as Animated7, Easing as Easing3 } from "react-native";
3889
3559
  function useEntrance(animated, delay = 0, duration = 700) {
3890
- const [value] = React25.useState(() => new Animated8.Value(animated ? 0 : 1));
3891
- React25.useEffect(() => {
3560
+ const [value] = React24.useState(() => new Animated7.Value(animated ? 0 : 1));
3561
+ React24.useEffect(() => {
3892
3562
  if (!animated) return;
3893
3563
  let cancelled = false;
3894
- void AccessibilityInfo6.isReduceMotionEnabled().then((reduce) => {
3564
+ void AccessibilityInfo5.isReduceMotionEnabled().then((reduce) => {
3895
3565
  if (cancelled) return;
3896
3566
  if (reduce) value.setValue(1);
3897
- else Animated8.timing(value, { toValue: 1, duration, delay, easing: Easing4.out(Easing4.cubic), useNativeDriver: true }).start();
3567
+ else Animated7.timing(value, { toValue: 1, duration, delay, easing: Easing3.out(Easing3.cubic), useNativeDriver: true }).start();
3898
3568
  });
3899
3569
  return () => {
3900
3570
  cancelled = true;
@@ -3904,15 +3574,15 @@ function useEntrance(animated, delay = 0, duration = 700) {
3904
3574
  }
3905
3575
 
3906
3576
  // src/native/goal-gauge.tsx
3907
- import { jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
3577
+ import { jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
3908
3578
  function Cell({ lit, animate, order, animated, arcade }) {
3909
3579
  const { theme } = useTheme();
3910
3580
  const t = useEntrance(animated && animate, 300 + order * 100, 350);
3911
3581
  const spentOpacity = arcade ? 0.14 : 1;
3912
3582
  const opacity = !animate ? 1 : lit ? t.interpolate({ inputRange: [0, 1], outputRange: [0.25, 1] }) : t.interpolate({ inputRange: [0, 1], outputRange: [1, arcade ? 0.14 : 1] });
3913
3583
  const color = lit || arcade ? theme.accent : theme.surface3;
3914
- return /* @__PURE__ */ jsx42(
3915
- Animated9.View,
3584
+ return /* @__PURE__ */ jsx38(
3585
+ Animated8.View,
3916
3586
  {
3917
3587
  style: [styles30.cell, arcade ? styles30.cellArcade : null, { backgroundColor: color, opacity: lit || animate ? opacity : spentOpacity }]
3918
3588
  }
@@ -3924,8 +3594,8 @@ function GoalGauge({ label, segments, value, valueText, mode = "fill", showLabel
3924
3594
  const lit = Math.min(total, Math.max(0, Math.round(value ?? total)));
3925
3595
  const words2 = valueText ?? `${lit} / ${total}`;
3926
3596
  const arcade = variant === "arcade";
3927
- return /* @__PURE__ */ jsxs38(
3928
- View37,
3597
+ return /* @__PURE__ */ jsxs34(
3598
+ View33,
3929
3599
  {
3930
3600
  accessible: true,
3931
3601
  role: "meter",
@@ -3937,14 +3607,14 @@ function GoalGauge({ label, segments, value, valueText, mode = "fill", showLabel
3937
3607
  ...props,
3938
3608
  style: [styles30.root, style],
3939
3609
  children: [
3940
- showLabel ? /* @__PURE__ */ jsxs38(View37, { "aria-hidden": true, style: [styles30.head, arcade ? styles30.headArcade : null], children: [
3941
- /* @__PURE__ */ jsx42(Txt, { variant: arcade ? "mono" : "caption", tone: "secondary", children: arcade ? label.toUpperCase() : label }),
3942
- arcade ? null : /* @__PURE__ */ jsx42(Txt, { variant: "caption", children: words2 })
3610
+ showLabel ? /* @__PURE__ */ jsxs34(View33, { "aria-hidden": true, style: [styles30.head, arcade ? styles30.headArcade : null], children: [
3611
+ /* @__PURE__ */ jsx38(Txt, { variant: arcade ? "mono" : "caption", tone: "secondary", children: arcade ? label.toUpperCase() : label }),
3612
+ arcade ? null : /* @__PURE__ */ jsx38(Txt, { variant: "caption", children: words2 })
3943
3613
  ] }) : null,
3944
- /* @__PURE__ */ jsx42(View37, { "aria-hidden": true, style: [styles30.cells, arcade ? [styles30.cellsArcade, { borderColor: theme.borderSubtle, backgroundColor: theme.surface1 }] : null], children: Array.from({ length: total }, (_, i) => {
3614
+ /* @__PURE__ */ jsx38(View33, { "aria-hidden": true, style: [styles30.cells, arcade ? [styles30.cellsArcade, { borderColor: theme.borderSubtle, backgroundColor: theme.surface1 }] : null], children: Array.from({ length: total }, (_, i) => {
3945
3615
  const on = i < lit;
3946
3616
  const animate = mode === "fill" ? on : !on;
3947
- return /* @__PURE__ */ jsx42(Cell, { lit: on, animate, order: mode === "fill" ? i : i - lit, animated, arcade }, i);
3617
+ return /* @__PURE__ */ jsx38(Cell, { lit: on, animate, order: mode === "fill" ? i : i - lit, animated, arcade }, i);
3948
3618
  }) })
3949
3619
  ]
3950
3620
  }
@@ -3961,9 +3631,9 @@ var styles30 = StyleSheet30.create({
3961
3631
  });
3962
3632
 
3963
3633
  // src/native/grid.tsx
3964
- import * as React26 from "react";
3965
- import { StyleSheet as StyleSheet31, useWindowDimensions, View as View38 } from "react-native";
3966
- import { jsx as jsx43 } from "react/jsx-runtime";
3634
+ import * as React25 from "react";
3635
+ import { StyleSheet as StyleSheet31, useWindowDimensions, View as View34 } from "react-native";
3636
+ import { jsx as jsx39 } from "react/jsx-runtime";
3967
3637
  var SIZE_CLASS_FROM = { regular: 600, expanded: 840 };
3968
3638
  function sizeClassOf(width) {
3969
3639
  return width >= SIZE_CLASS_FROM.expanded ? "expanded" : width >= SIZE_CLASS_FROM.regular ? "regular" : "compact";
@@ -3996,25 +3666,25 @@ function itemWidth(width, columns, gap) {
3996
3666
  }
3997
3667
  function Grid({ children, columns, minItemWidth = 160, gap = "md", maxColumns = 6, equalHeight = true, fontScale, testID, "aria-label": label, style }) {
3998
3668
  const system = useFontScale();
3999
- const [width, setWidth] = React26.useState(0);
3669
+ const [width, setWidth] = React25.useState(0);
4000
3670
  const space = GRID_GAPS[gap];
4001
3671
  const n = width > 0 ? gridColumns({ width, gap: space, minItemWidth, columns, maxColumns, fontScale: fontScale ?? system }) : 1;
4002
3672
  const cell = width > 0 ? itemWidth(width, n, space) : void 0;
4003
- const onLayout = React26.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
4004
- const items2 = React26.Children.toArray(children);
4005
- return /* @__PURE__ */ jsx43(View38, { testID, onLayout, role: label ? "list" : void 0, "aria-label": label, "data-columns": n, style: [styles31.grid, { gap: space }, equalHeight ? null : styles31.start, style], children: items2.map((child, index) => /* @__PURE__ */ jsx43(View38, { testID: testID ? `${testID}-cell` : void 0, role: label ? "listitem" : void 0, style: [styles31.cell, cell ? { width: cell } : styles31.full], children: equalHeight && React26.isValidElement(child) ? React26.cloneElement(child, { style: [child.props.style, styles31.grow] }) : child }, React26.isValidElement(child) && child.key != null ? child.key : index)) });
3673
+ const onLayout = React25.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
3674
+ const items2 = React25.Children.toArray(children);
3675
+ return /* @__PURE__ */ jsx39(View34, { testID, onLayout, role: label ? "list" : void 0, "aria-label": label, "data-columns": n, style: [styles31.grid, { gap: space }, equalHeight ? null : styles31.start, style], children: items2.map((child, index) => /* @__PURE__ */ jsx39(View34, { testID: testID ? `${testID}-cell` : void 0, role: label ? "listitem" : void 0, style: [styles31.cell, cell ? { width: cell } : styles31.full], children: equalHeight && React25.isValidElement(child) ? React25.cloneElement(child, { style: [child.props.style, styles31.grow] }) : child }, React25.isValidElement(child) && child.key != null ? child.key : index)) });
4006
3676
  }
4007
3677
  function columnsFit(width, count, minColumnWidth, gap, fontScale = 1) {
4008
3678
  return width >= count * minColumnWidth * Math.max(1, fontScale) + gap * (count - 1);
4009
3679
  }
4010
3680
  function Columns({ children, weights, minColumnWidth = 280, gap = "lg", fontScale, testID, style }) {
4011
3681
  const system = useFontScale();
4012
- const [width, setWidth] = React26.useState(0);
3682
+ const [width, setWidth] = React25.useState(0);
4013
3683
  const space = GRID_GAPS[gap];
4014
- const items2 = React26.Children.toArray(children);
3684
+ const items2 = React25.Children.toArray(children);
4015
3685
  const side = width > 0 && items2.length > 1 && columnsFit(width, items2.length, minColumnWidth, space, fontScale ?? system);
4016
- const onLayout = React26.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
4017
- return /* @__PURE__ */ jsx43(View38, { testID, onLayout, "data-layout": side ? "side" : "stacked", style: [side ? styles31.row : styles31.stack, { gap: space }, style], children: items2.map((child, index) => /* @__PURE__ */ jsx43(View38, { style: side ? { flex: weights?.[index] ?? 1, minWidth: 0 } : styles31.full, children: child }, React26.isValidElement(child) && child.key != null ? child.key : index)) });
3686
+ const onLayout = React25.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
3687
+ return /* @__PURE__ */ jsx39(View34, { testID, onLayout, "data-layout": side ? "side" : "stacked", style: [side ? styles31.row : styles31.stack, { gap: space }, style], children: items2.map((child, index) => /* @__PURE__ */ jsx39(View34, { style: side ? { flex: weights?.[index] ?? 1, minWidth: 0 } : styles31.full, children: child }, React25.isValidElement(child) && child.key != null ? child.key : index)) });
4018
3688
  }
4019
3689
  var styles31 = StyleSheet31.create({
4020
3690
  grid: { flexDirection: "row", flexWrap: "wrap", alignItems: "stretch", alignSelf: "stretch" },
@@ -4027,42 +3697,42 @@ var styles31 = StyleSheet31.create({
4027
3697
  });
4028
3698
 
4029
3699
  // src/native/header.tsx
4030
- import * as React27 from "react";
4031
- import { Animated as Animated10, Pressable as Pressable19, StyleSheet as StyleSheet32, View as View39 } from "react-native";
4032
- import Svg18, { Path as Path16 } from "react-native-svg";
4033
- import { jsx as jsx44, jsxs as jsxs39 } from "react/jsx-runtime";
3700
+ import * as React26 from "react";
3701
+ import { Animated as Animated9, Pressable as Pressable19, StyleSheet as StyleSheet32, View as View35 } from "react-native";
3702
+ import Svg14, { Path as Path12 } from "react-native-svg";
3703
+ import { jsx as jsx40, jsxs as jsxs35 } from "react/jsx-runtime";
4034
3704
  var BAR = 44;
4035
3705
  var LARGE = 52;
4036
3706
  function Header({ title, subtitle, scrollY, size = "large", backLabel, onBack, actions, children, style }) {
4037
3707
  const { theme, insets } = useTheme();
4038
3708
  const reduce = useReducedMotion();
4039
3709
  const large = size === "large";
4040
- const fixed = React27.useMemo(() => new Animated10.Value(large ? 0 : 1), [large]);
3710
+ const fixed = React26.useMemo(() => new Animated9.Value(large ? 0 : 1), [large]);
4041
3711
  const progress = scrollY && large ? scrollY.interpolate({ inputRange: [0, LARGE], outputRange: [0, 1], extrapolate: "clamp" }) : fixed;
4042
3712
  const smallOpacity = progress.interpolate({ inputRange: [0.6, 1], outputRange: [0, 1], extrapolate: "clamp" });
4043
3713
  const largeOpacity = progress.interpolate({ inputRange: [0, 0.7], outputRange: [1, 0], extrapolate: "clamp" });
4044
3714
  const largeShift = reduce ? 0 : progress.interpolate({ inputRange: [0, 1], outputRange: [0, -10] });
4045
3715
  const largeHeight = progress.interpolate({ inputRange: [0, 1], outputRange: [LARGE + (subtitle ? 18 : 0), 0] });
4046
- return /* @__PURE__ */ jsxs39(View39, { style: [{ paddingTop: insets.top, backgroundColor: theme.surface0 }, style], children: [
4047
- /* @__PURE__ */ jsxs39(View39, { style: styles32.bar, children: [
4048
- /* @__PURE__ */ jsx44(View39, { style: styles32.side, children: onBack && backLabel ? /* @__PURE__ */ jsxs39(Pressable19, { role: "button", "aria-label": backLabel, onPress: onBack, hitSlop: 8, style: styles32.back, children: [
4049
- /* @__PURE__ */ jsx44(Svg18, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx44(Path16, { d: "M15 5l-7 7 7 7", stroke: theme.accentText, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }),
4050
- /* @__PURE__ */ jsx44(Txt, { variant: "label", tone: "accent", numberOfLines: 1, children: backLabel })
3716
+ return /* @__PURE__ */ jsxs35(View35, { style: [{ paddingTop: insets.top, backgroundColor: theme.surface0 }, style], children: [
3717
+ /* @__PURE__ */ jsxs35(View35, { style: styles32.bar, children: [
3718
+ /* @__PURE__ */ jsx40(View35, { style: styles32.side, children: onBack && backLabel ? /* @__PURE__ */ jsxs35(Pressable19, { role: "button", "aria-label": backLabel, onPress: onBack, hitSlop: 8, style: styles32.back, children: [
3719
+ /* @__PURE__ */ jsx40(Svg14, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx40(Path12, { d: "M15 5l-7 7 7 7", stroke: theme.accentText, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }),
3720
+ /* @__PURE__ */ jsx40(Txt, { variant: "label", tone: "accent", numberOfLines: 1, children: backLabel })
4051
3721
  ] }) : null }),
4052
- /* @__PURE__ */ jsx44(Animated10.View, { style: [styles32.middle, { opacity: smallOpacity }], "aria-hidden": large, children: /* @__PURE__ */ jsx44(Txt, { variant: "label", numberOfLines: 1, role: large ? void 0 : "heading", children: title }) }),
4053
- /* @__PURE__ */ jsx44(View39, { style: [styles32.side, styles32.right], children: actions })
3722
+ /* @__PURE__ */ jsx40(Animated9.View, { style: [styles32.middle, { opacity: smallOpacity }], "aria-hidden": large, children: /* @__PURE__ */ jsx40(Txt, { variant: "label", numberOfLines: 1, role: large ? void 0 : "heading", children: title }) }),
3723
+ /* @__PURE__ */ jsx40(View35, { style: [styles32.side, styles32.right], children: actions })
4054
3724
  ] }),
4055
- large ? /* @__PURE__ */ jsx44(Animated10.View, { style: { height: largeHeight, overflow: "hidden" }, children: /* @__PURE__ */ jsxs39(Animated10.View, { style: [styles32.large, { opacity: largeOpacity, transform: [{ translateY: largeShift }] }], children: [
4056
- /* @__PURE__ */ jsx44(Txt, { variant: "display", numberOfLines: 1, role: "heading", style: styles32.largeTitle, children: title }),
4057
- subtitle ? /* @__PURE__ */ jsx44(Txt, { variant: "caption", tone: "secondary", children: subtitle }) : null
3725
+ large ? /* @__PURE__ */ jsx40(Animated9.View, { style: { height: largeHeight, overflow: "hidden" }, children: /* @__PURE__ */ jsxs35(Animated9.View, { style: [styles32.large, { opacity: largeOpacity, transform: [{ translateY: largeShift }] }], children: [
3726
+ /* @__PURE__ */ jsx40(Txt, { variant: "display", numberOfLines: 1, role: "heading", style: styles32.largeTitle, children: title }),
3727
+ subtitle ? /* @__PURE__ */ jsx40(Txt, { variant: "caption", tone: "secondary", children: subtitle }) : null
4058
3728
  ] }) }) : null,
4059
- children ? /* @__PURE__ */ jsx44(View39, { style: styles32.children, children }) : null,
4060
- /* @__PURE__ */ jsx44(Animated10.View, { "aria-hidden": true, style: [styles32.rule, { backgroundColor: theme.borderSubtle, opacity: smallOpacity }] })
3729
+ children ? /* @__PURE__ */ jsx40(View35, { style: styles32.children, children }) : null,
3730
+ /* @__PURE__ */ jsx40(Animated9.View, { "aria-hidden": true, style: [styles32.rule, { backgroundColor: theme.borderSubtle, opacity: smallOpacity }] })
4061
3731
  ] });
4062
3732
  }
4063
3733
  function useCollapsingHeader() {
4064
- const [scrollY] = React27.useState(() => new Animated10.Value(0));
4065
- const onScroll = React27.useMemo(() => Animated10.event([{ nativeEvent: { contentOffset: { y: scrollY } } }], { useNativeDriver: false }), [scrollY]);
3734
+ const [scrollY] = React26.useState(() => new Animated9.Value(0));
3735
+ const onScroll = React26.useMemo(() => Animated9.event([{ nativeEvent: { contentOffset: { y: scrollY } } }], { useNativeDriver: false }), [scrollY]);
4066
3736
  return { scrollY, onScroll };
4067
3737
  }
4068
3738
  var styles32 = StyleSheet32.create({
@@ -4078,37 +3748,37 @@ var styles32 = StyleSheet32.create({
4078
3748
  });
4079
3749
 
4080
3750
  // src/native/image-viewer.tsx
4081
- import * as React28 from "react";
4082
- import { AccessibilityInfo as AccessibilityInfo7, Animated as Animated11, Image as Image3, Modal as Modal3, PanResponder, Pressable as Pressable20, StyleSheet as StyleSheet33, useWindowDimensions as useWindowDimensions2, View as View40 } from "react-native";
4083
- import { jsx as jsx45, jsxs as jsxs40 } from "react/jsx-runtime";
3751
+ import * as React27 from "react";
3752
+ import { AccessibilityInfo as AccessibilityInfo6, Animated as Animated10, Image as Image3, Modal as Modal3, PanResponder, Pressable as Pressable20, StyleSheet as StyleSheet33, useWindowDimensions as useWindowDimensions2, View as View36 } from "react-native";
3753
+ import { jsx as jsx41, jsxs as jsxs36 } from "react/jsx-runtime";
4084
3754
  var MAX_SCALE = 4;
4085
3755
  function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel = (n, total) => `${n} / ${total}` }) {
4086
3756
  const { theme, insets, haptic } = useTheme();
4087
3757
  const reduce = useReducedMotion();
4088
3758
  const { width, height } = useWindowDimensions2();
4089
3759
  const open = index !== null && images[index] !== void 0;
4090
- const [scale] = React28.useState(() => new Animated11.Value(1));
4091
- const [pan] = React28.useState(() => new Animated11.ValueXY({ x: 0, y: 0 }));
4092
- const [dismiss2] = React28.useState(() => new Animated11.Value(0));
4093
- const state = React28.useRef({ scale: 1, x: 0, y: 0, pinch: 0, base: 1, lastTap: 0 });
4094
- const reset = React28.useCallback(() => {
3760
+ const [scale] = React27.useState(() => new Animated10.Value(1));
3761
+ const [pan] = React27.useState(() => new Animated10.ValueXY({ x: 0, y: 0 }));
3762
+ const [dismiss2] = React27.useState(() => new Animated10.Value(0));
3763
+ const state = React27.useRef({ scale: 1, x: 0, y: 0, pinch: 0, base: 1, lastTap: 0 });
3764
+ const reset = React27.useCallback(() => {
4095
3765
  state.current = { ...state.current, scale: 1, x: 0, y: 0 };
4096
3766
  scale.setValue(1);
4097
3767
  pan.setValue({ x: 0, y: 0 });
4098
3768
  dismiss2.setValue(0);
4099
3769
  }, [scale, pan, dismiss2]);
4100
- React28.useEffect(() => {
3770
+ React27.useEffect(() => {
4101
3771
  reset();
4102
- if (open) AccessibilityInfo7.announceForAccessibility(`${images[index].alt}, ${positionLabel(index + 1, images.length)}`);
3772
+ if (open) AccessibilityInfo6.announceForAccessibility(`${images[index].alt}, ${positionLabel(index + 1, images.length)}`);
4103
3773
  }, [index]);
4104
3774
  const go = (to) => {
4105
3775
  if (to < 0 || to >= images.length) return;
4106
3776
  haptic("selection");
4107
3777
  onIndexChange(to);
4108
3778
  };
4109
- const animateTo = (value, to) => reduce ? value.setValue(to) : Animated11.spring(value, { toValue: to, useNativeDriver: true, damping: 20 }).start();
3779
+ const animateTo = (value, to) => reduce ? value.setValue(to) : Animated10.spring(value, { toValue: to, useNativeDriver: true, damping: 20 }).start();
4110
3780
  const distance = (touches) => Math.hypot(touches[0].pageX - touches[1].pageX, touches[0].pageY - touches[1].pageY);
4111
- const responder = React28.useMemo(
3781
+ const responder = React27.useMemo(
4112
3782
  () => PanResponder.create({
4113
3783
  onStartShouldSetPanResponder: () => true,
4114
3784
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 4 || Math.abs(g.dy) > 4,
@@ -4159,7 +3829,7 @@ function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel =
4159
3829
  if (g.dx < -width / 4 || g.vx < -0.8) go((index ?? 0) + 1);
4160
3830
  else if (g.dx > width / 4 || g.vx > 0.8) go((index ?? 0) - 1);
4161
3831
  animateTo(dismiss2, 0);
4162
- Animated11.spring(pan, { toValue: { x: 0, y: 0 }, useNativeDriver: true }).start();
3832
+ Animated10.spring(pan, { toValue: { x: 0, y: 0 }, useNativeDriver: true }).start();
4163
3833
  }
4164
3834
  }),
4165
3835
  [index, width, images.length]
@@ -4168,10 +3838,10 @@ function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel =
4168
3838
  if (!open) return null;
4169
3839
  const image = images[index];
4170
3840
  const backdrop = dismiss2.interpolate({ inputRange: [0, height / 2], outputRange: [1, 0.3], extrapolate: "clamp" });
4171
- return /* @__PURE__ */ jsxs40(Modal3, { ...modalName(image.alt), visible: true, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onIndexChange(null), statusBarTranslucent: true, children: [
4172
- /* @__PURE__ */ jsx45(Animated11.View, { style: [StyleSheet33.absoluteFill, { backgroundColor: theme.media, opacity: backdrop }] }),
4173
- /* @__PURE__ */ jsx45(
4174
- View40,
3841
+ return /* @__PURE__ */ jsxs36(Modal3, { ...modalName(image.alt), visible: true, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onIndexChange(null), statusBarTranslucent: true, children: [
3842
+ /* @__PURE__ */ jsx41(Animated10.View, { style: [StyleSheet33.absoluteFill, { backgroundColor: theme.media, opacity: backdrop }] }),
3843
+ /* @__PURE__ */ jsx41(
3844
+ View36,
4175
3845
  {
4176
3846
  style: StyleSheet33.absoluteFill,
4177
3847
  accessible: true,
@@ -4185,14 +3855,14 @@ function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel =
4185
3855
  if (name === "escape") onIndexChange(null);
4186
3856
  },
4187
3857
  ...responder.panHandlers,
4188
- children: /* @__PURE__ */ jsx45(Animated11.View, { style: { width, height, transform: [{ translateX: pan.x }, { translateY: Animated11.add(pan.y, dismiss2) }, { scale }] }, children: /* @__PURE__ */ jsx45(Image3, { source: { uri: image.uri }, resizeMode: "contain", style: { width, height }, accessibilityIgnoresInvertColors: true }) })
3858
+ children: /* @__PURE__ */ jsx41(Animated10.View, { style: { width, height, transform: [{ translateX: pan.x }, { translateY: Animated10.add(pan.y, dismiss2) }, { scale }] }, children: /* @__PURE__ */ jsx41(Image3, { source: { uri: image.uri }, resizeMode: "contain", style: { width, height }, accessibilityIgnoresInvertColors: true }) })
4189
3859
  }
4190
3860
  ),
4191
- /* @__PURE__ */ jsxs40(View40, { pointerEvents: "box-none", style: [styles33.top, { paddingTop: insets.top + 8 }], children: [
4192
- /* @__PURE__ */ jsx45(View40, { "aria-hidden": true, style: [styles33.counter, { backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx45(Txt, { variant: "label", tone: "onMedia", children: positionLabel(index + 1, images.length) }) }),
4193
- /* @__PURE__ */ jsx45(Pressable20, { role: "button", "aria-label": closeLabel, hitSlop: 12, onPress: () => onIndexChange(null), style: [styles33.close, { backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx45(Txt, { tone: "onMedia", style: styles33.cross, "aria-hidden": true, children: "\xD7" }) })
3861
+ /* @__PURE__ */ jsxs36(View36, { pointerEvents: "box-none", style: [styles33.top, { paddingTop: insets.top + 8 }], children: [
3862
+ /* @__PURE__ */ jsx41(View36, { "aria-hidden": true, style: [styles33.counter, { backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx41(Txt, { variant: "label", tone: "onMedia", children: positionLabel(index + 1, images.length) }) }),
3863
+ /* @__PURE__ */ jsx41(Pressable20, { role: "button", "aria-label": closeLabel, hitSlop: 12, onPress: () => onIndexChange(null), style: [styles33.close, { backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx41(Txt, { tone: "onMedia", style: styles33.cross, "aria-hidden": true, children: "\xD7" }) })
4194
3864
  ] }),
4195
- image.caption ? /* @__PURE__ */ jsx45(View40, { pointerEvents: "none", style: [styles33.caption, { paddingBottom: insets.bottom + 16, backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx45(Txt, { tone: "onMedia", children: image.caption }) }) : null
3865
+ image.caption ? /* @__PURE__ */ jsx41(View36, { pointerEvents: "none", style: [styles33.caption, { paddingBottom: insets.bottom + 16, backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx41(Txt, { tone: "onMedia", children: image.caption }) }) : null
4196
3866
  ] });
4197
3867
  }
4198
3868
  function prefetchNeighbours(images, index) {
@@ -4208,8 +3878,8 @@ var styles33 = StyleSheet33.create({
4208
3878
  });
4209
3879
 
4210
3880
  // src/native/kind-config-editor.tsx
4211
- import * as React30 from "react";
4212
- import { StyleSheet as StyleSheet35, View as View42 } from "react-native";
3881
+ import * as React29 from "react";
3882
+ import { StyleSheet as StyleSheet35, View as View38 } from "react-native";
4213
3883
 
4214
3884
  // src/kind-config-editor/labels.ts
4215
3885
  var STATUS_TONES = ["neutral", "accent", "success", "warning", "danger"];
@@ -4357,27 +4027,27 @@ function addReason(set, from, to, label) {
4357
4027
  }
4358
4028
 
4359
4029
  // src/native/switch.tsx
4360
- import * as React29 from "react";
4361
- import { Animated as Animated12, Pressable as Pressable21, StyleSheet as StyleSheet34, Text as Text14, View as View41 } from "react-native";
4362
- import { jsx as jsx46, jsxs as jsxs41 } from "react/jsx-runtime";
4030
+ import * as React28 from "react";
4031
+ import { Animated as Animated11, Pressable as Pressable21, StyleSheet as StyleSheet34, Text as Text14, View as View37 } from "react-native";
4032
+ import { jsx as jsx42, jsxs as jsxs37 } from "react/jsx-runtime";
4363
4033
  var SIZES = { sm: { w: 40, h: 24, knob: 18 }, md: { w: 52, h: 32, knob: 26 } };
4364
4034
  function Switch({ label, checked, defaultChecked = false, onCheckedChange, description, showLabel, size = "md", error, disabled, style }) {
4365
4035
  const { theme, motion: motion3, haptic } = useTheme();
4366
- const [own, setOwn] = React29.useState(defaultChecked);
4036
+ const [own, setOwn] = React28.useState(defaultChecked);
4367
4037
  const on = checked ?? own;
4368
4038
  const d = SIZES[size];
4369
4039
  const travel = d.w - d.knob - (d.h - d.knob);
4370
- const [x] = React29.useState(() => new Animated12.Value(on ? 1 : 0));
4371
- React29.useEffect(() => {
4372
- Animated12.timing(x, { toValue: on ? 1 : 0, duration: motion3.duration.base, useNativeDriver: true }).start();
4040
+ const [x] = React28.useState(() => new Animated11.Value(on ? 1 : 0));
4041
+ React28.useEffect(() => {
4042
+ Animated11.timing(x, { toValue: on ? 1 : 0, duration: motion3.duration.base, useNativeDriver: true }).start();
4373
4043
  }, [on, x, motion3.duration.base]);
4374
4044
  const toggle = () => {
4375
4045
  haptic("selection");
4376
4046
  if (checked === void 0) setOwn(!on);
4377
4047
  onCheckedChange?.(!on);
4378
4048
  };
4379
- const track = /* @__PURE__ */ jsx46(View41, { style: [styles34.track, { width: d.w, height: d.h, borderRadius: d.h / 2, backgroundColor: on ? theme.accent : theme.surface3, borderColor: error ? theme.danger : on ? theme.accent : theme.borderDefault }], children: /* @__PURE__ */ jsx46(
4380
- Animated12.View,
4049
+ const track = /* @__PURE__ */ jsx42(View37, { style: [styles34.track, { width: d.w, height: d.h, borderRadius: d.h / 2, backgroundColor: on ? theme.accent : theme.surface3, borderColor: error ? theme.danger : on ? theme.accent : theme.borderDefault }], children: /* @__PURE__ */ jsx42(
4050
+ Animated11.View,
4381
4051
  {
4382
4052
  style: [
4383
4053
  styles34.knob,
@@ -4402,16 +4072,16 @@ function Switch({ label, checked, defaultChecked = false, onCheckedChange, descr
4402
4072
  onPress: toggle
4403
4073
  };
4404
4074
  if (!showLabel)
4405
- return /* @__PURE__ */ jsx46(Pressable21, { ...a11y, hitSlop: { top: (44 - d.h) / 2, bottom: (44 - d.h) / 2, left: Math.max(0, (44 - d.w) / 2), right: Math.max(0, (44 - d.w) / 2) }, style: [disabled ? styles34.disabled : null, style], children: track });
4406
- return /* @__PURE__ */ jsxs41(View41, { style: [styles34.root, style], children: [
4407
- /* @__PURE__ */ jsxs41(Pressable21, { ...a11y, style: [styles34.row, disabled ? styles34.disabled : null], children: [
4408
- /* @__PURE__ */ jsxs41(View41, { style: styles34.text, children: [
4409
- /* @__PURE__ */ jsx46(Text14, { style: [styles34.label, { color: theme.textPrimary }], children: label }),
4410
- description ? /* @__PURE__ */ jsx46(Text14, { style: [styles34.description, { color: theme.textSecondary }], children: description }) : null
4075
+ return /* @__PURE__ */ jsx42(Pressable21, { ...a11y, hitSlop: { top: (44 - d.h) / 2, bottom: (44 - d.h) / 2, left: Math.max(0, (44 - d.w) / 2), right: Math.max(0, (44 - d.w) / 2) }, style: [disabled ? styles34.disabled : null, style], children: track });
4076
+ return /* @__PURE__ */ jsxs37(View37, { style: [styles34.root, style], children: [
4077
+ /* @__PURE__ */ jsxs37(Pressable21, { ...a11y, style: [styles34.row, disabled ? styles34.disabled : null], children: [
4078
+ /* @__PURE__ */ jsxs37(View37, { style: styles34.text, children: [
4079
+ /* @__PURE__ */ jsx42(Text14, { style: [styles34.label, { color: theme.textPrimary }], children: label }),
4080
+ description ? /* @__PURE__ */ jsx42(Text14, { style: [styles34.description, { color: theme.textSecondary }], children: description }) : null
4411
4081
  ] }),
4412
4082
  track
4413
4083
  ] }),
4414
- error ? /* @__PURE__ */ jsx46(Text14, { role: "alert", "aria-live": "polite", style: [styles34.description, { color: theme.dangerText }], children: error }) : null
4084
+ error ? /* @__PURE__ */ jsx42(Text14, { role: "alert", "aria-live": "polite", style: [styles34.description, { color: theme.dangerText }], children: error }) : null
4415
4085
  ] });
4416
4086
  }
4417
4087
  var styles34 = StyleSheet34.create({
@@ -4426,38 +4096,38 @@ var styles34 = StyleSheet34.create({
4426
4096
  });
4427
4097
 
4428
4098
  // src/native/kind-config-editor.tsx
4429
- import { Fragment as Fragment8, jsx as jsx47, jsxs as jsxs42 } from "react/jsx-runtime";
4099
+ import { Fragment as Fragment8, jsx as jsx43, jsxs as jsxs38 } from "react/jsx-runtime";
4430
4100
  function Problems({ title, problems }) {
4431
4101
  const { theme, radius: radius3 } = useTheme();
4432
4102
  if (!problems || problems.length === 0) return null;
4433
- return /* @__PURE__ */ jsxs42(View42, { role: "alert", style: [styles35.problems, { borderColor: theme.danger, backgroundColor: theme.dangerSoft, borderRadius: radius3.md }], children: [
4434
- /* @__PURE__ */ jsx47(Txt, { variant: "label", tone: "danger", children: title }),
4435
- problems.map((problem) => /* @__PURE__ */ jsx47(Txt, { variant: "caption", children: `\u2022 ${problem}` }, problem))
4103
+ return /* @__PURE__ */ jsxs38(View38, { role: "alert", style: [styles35.problems, { borderColor: theme.danger, backgroundColor: theme.dangerSoft, borderRadius: radius3.md }], children: [
4104
+ /* @__PURE__ */ jsx43(Txt, { variant: "label", tone: "danger", children: title }),
4105
+ problems.map((problem) => /* @__PURE__ */ jsx43(Txt, { variant: "caption", children: `\u2022 ${problem}` }, problem))
4436
4106
  ] });
4437
4107
  }
4438
- var Glyph = ({ children }) => /* @__PURE__ */ jsx47(Txt, { variant: "label", "aria-hidden": true, children });
4108
+ var Glyph = ({ children }) => /* @__PURE__ */ jsx43(Txt, { variant: "label", "aria-hidden": true, children });
4439
4109
  function TagSetEditor({ value, onChange, variant, roles, problems, labels: given, disabled }) {
4440
4110
  const labels = { ...tagSetEditorLabels, ...given, markerNames: { ...tagSetEditorLabels.markerNames, ...given?.markerNames } };
4441
4111
  const presets = value.presets[variant] ?? [];
4442
4112
  const twins = duplicatePresetNames(presets);
4443
- const [draft, setDraft] = React30.useState("");
4444
- const [draftMarker, setDraftMarker] = React30.useState("blue");
4113
+ const [draft, setDraft] = React29.useState("");
4114
+ const [draftMarker, setDraftMarker] = React29.useState("blue");
4445
4115
  const add = () => {
4446
4116
  const next = addPreset(value, variant, draft, draftMarker);
4447
4117
  if (next === value) return;
4448
4118
  onChange(next);
4449
4119
  setDraft("");
4450
4120
  };
4451
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.root, children: [
4452
- /* @__PURE__ */ jsx47(Problems, { title: labels.problems, problems }),
4453
- /* @__PURE__ */ jsx47(Txt, { variant: "title", children: labels.presets }),
4454
- presets.length === 0 ? /* @__PURE__ */ jsx47(Txt, { tone: "secondary", children: labels.empty }) : null,
4121
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.root, children: [
4122
+ /* @__PURE__ */ jsx43(Problems, { title: labels.problems, problems }),
4123
+ /* @__PURE__ */ jsx43(Txt, { variant: "title", children: labels.presets }),
4124
+ presets.length === 0 ? /* @__PURE__ */ jsx43(Txt, { tone: "secondary", children: labels.empty }) : null,
4455
4125
  presets.map((preset, index) => {
4456
4126
  const shown = preset.name || String(index + 1);
4457
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.card, children: [
4458
- /* @__PURE__ */ jsxs42(View42, { style: styles35.line, children: [
4459
- /* @__PURE__ */ jsx47(TagMarker, { marker: preset.marker }),
4460
- /* @__PURE__ */ jsx47(
4127
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.card, children: [
4128
+ /* @__PURE__ */ jsxs38(View38, { style: styles35.line, children: [
4129
+ /* @__PURE__ */ jsx43(TagMarker, { marker: preset.marker }),
4130
+ /* @__PURE__ */ jsx43(
4461
4131
  TextField,
4462
4132
  {
4463
4133
  label: labels.name(index + 1),
@@ -4469,24 +4139,24 @@ function TagSetEditor({ value, onChange, variant, roles, problems, labels: given
4469
4139
  }
4470
4140
  )
4471
4141
  ] }),
4472
- /* @__PURE__ */ jsx47(MarkerPicker, { label: labels.marker(shown), names: labels.markerNames, value: preset.marker, disabled, onValueChange: (marker) => onChange(recolorPreset(value, variant, index, marker)) }),
4473
- /* @__PURE__ */ jsxs42(View42, { style: styles35.line, children: [
4474
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(shown), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(movePreset(value, variant, index, index - 1)) }),
4475
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(shown), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\u2193" }), disabled: disabled || index === presets.length - 1, onPress: () => onChange(movePreset(value, variant, index, index + 1)) }),
4476
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.remove(shown), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(removePreset(value, variant, index)) })
4142
+ /* @__PURE__ */ jsx43(MarkerPicker, { label: labels.marker(shown), names: labels.markerNames, value: preset.marker, disabled, onValueChange: (marker) => onChange(recolorPreset(value, variant, index, marker)) }),
4143
+ /* @__PURE__ */ jsxs38(View38, { style: styles35.line, children: [
4144
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(shown), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(movePreset(value, variant, index, index - 1)) }),
4145
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(shown), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\u2193" }), disabled: disabled || index === presets.length - 1, onPress: () => onChange(movePreset(value, variant, index, index + 1)) }),
4146
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.remove(shown), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(removePreset(value, variant, index)) })
4477
4147
  ] })
4478
4148
  ] }, index);
4479
4149
  }),
4480
- /* @__PURE__ */ jsxs42(View42, { style: styles35.card, children: [
4481
- /* @__PURE__ */ jsx47(TextField, { label: labels.add, value: draft, maxLength: 80, disabled, onValueChange: setDraft, onSubmitEditing: add, returnKeyType: "done" }),
4482
- /* @__PURE__ */ jsx47(MarkerPicker, { label: labels.marker(draft.trim() || labels.add), names: labels.markerNames, value: draftMarker, disabled, onValueChange: setDraftMarker }),
4483
- /* @__PURE__ */ jsx47(Button, { label: labels.addButton, size: "sm", disabled: disabled || !draft.trim(), onPress: add })
4150
+ /* @__PURE__ */ jsxs38(View38, { style: styles35.card, children: [
4151
+ /* @__PURE__ */ jsx43(TextField, { label: labels.add, value: draft, maxLength: 80, disabled, onValueChange: setDraft, onSubmitEditing: add, returnKeyType: "done" }),
4152
+ /* @__PURE__ */ jsx43(MarkerPicker, { label: labels.marker(draft.trim() || labels.add), names: labels.markerNames, value: draftMarker, disabled, onValueChange: setDraftMarker }),
4153
+ /* @__PURE__ */ jsx43(Button, { label: labels.addButton, size: "sm", disabled: disabled || !draft.trim(), onPress: add })
4484
4154
  ] }),
4485
- /* @__PURE__ */ jsx47(Txt, { variant: "label", children: labels.writers }),
4486
- /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.writersHint }),
4487
- /* @__PURE__ */ jsx47(Chip.Group, { type: "multiple", size: "sm", "aria-label": labels.writers, value: value.writers, disabled, onValueChange: (writers) => onChange({ ...value, writers }), children: roles.map((role) => /* @__PURE__ */ jsx47(Chip, { value: role.key, children: role.label }, role.key)) }),
4488
- /* @__PURE__ */ jsx47(Switch, { showLabel: true, label: labels.userTags, description: labels.userTagsHint, checked: value.userTags, disabled, onCheckedChange: (userTags) => onChange({ ...value, userTags }) }),
4489
- /* @__PURE__ */ jsx47(
4155
+ /* @__PURE__ */ jsx43(Txt, { variant: "label", children: labels.writers }),
4156
+ /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.writersHint }),
4157
+ /* @__PURE__ */ jsx43(Chip.Group, { type: "multiple", size: "sm", "aria-label": labels.writers, value: value.writers, disabled, onValueChange: (writers) => onChange({ ...value, writers }), children: roles.map((role) => /* @__PURE__ */ jsx43(Chip, { value: role.key, children: role.label }, role.key)) }),
4158
+ /* @__PURE__ */ jsx43(Switch, { showLabel: true, label: labels.userTags, description: labels.userTagsHint, checked: value.userTags, disabled, onCheckedChange: (userTags) => onChange({ ...value, userTags }) }),
4159
+ /* @__PURE__ */ jsx43(
4490
4160
  TextField,
4491
4161
  {
4492
4162
  label: labels.max,
@@ -4503,27 +4173,27 @@ function TagSetEditor({ value, onChange, variant, roles, problems, labels: given
4503
4173
  }
4504
4174
  function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labels: given, disabled }) {
4505
4175
  const labels = { ...statusSetEditorLabels, ...given };
4506
- const [chosen, setChosen] = React30.useState(null);
4176
+ const [chosen, setChosen] = React29.useState(null);
4507
4177
  const nameOf = (key) => value.states.find((s) => s.key === key)?.label[locale] || key;
4508
4178
  const roleLabel = (key) => roles.find((r) => r.key === key)?.label ?? key;
4509
4179
  const open = chosen && value.states.some((x) => x.key === chosen.from) && value.states.some((x) => x.key === chosen.to) ? chosen : null;
4510
4180
  const detail = open ? transitionOf(value, open.from, open.to) : void 0;
4511
4181
  if (value.mode === "derived") {
4512
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.root, children: [
4513
- /* @__PURE__ */ jsx47(Problems, { title: labels.problems, problems }),
4514
- /* @__PURE__ */ jsx47(Txt, { tone: "secondary", children: labels.derived }),
4515
- value.states.map((state) => /* @__PURE__ */ jsx47(Txt, { children: state.label[locale] }, state.key))
4182
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.root, children: [
4183
+ /* @__PURE__ */ jsx43(Problems, { title: labels.problems, problems }),
4184
+ /* @__PURE__ */ jsx43(Txt, { tone: "secondary", children: labels.derived }),
4185
+ value.states.map((state) => /* @__PURE__ */ jsx43(Txt, { children: state.label[locale] }, state.key))
4516
4186
  ] });
4517
4187
  }
4518
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.root, children: [
4519
- /* @__PURE__ */ jsx47(Problems, { title: labels.problems, problems }),
4520
- /* @__PURE__ */ jsx47(Txt, { variant: "title", children: labels.states }),
4188
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.root, children: [
4189
+ /* @__PURE__ */ jsx43(Problems, { title: labels.problems, problems }),
4190
+ /* @__PURE__ */ jsx43(Txt, { variant: "title", children: labels.states }),
4521
4191
  value.states.map((state, index) => {
4522
4192
  const n = index + 1;
4523
4193
  const isInitial = value.initial === state.key;
4524
4194
  const name = state.label[locale] || String(n);
4525
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.card, children: [
4526
- ["fr", "en"].map((lang) => /* @__PURE__ */ jsx47(
4195
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.card, children: [
4196
+ ["fr", "en"].map((lang) => /* @__PURE__ */ jsx43(
4527
4197
  TextField,
4528
4198
  {
4529
4199
  label: labels.stateLabel(labels.languages[lang], n),
@@ -4535,7 +4205,7 @@ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labe
4535
4205
  },
4536
4206
  lang
4537
4207
  )),
4538
- /* @__PURE__ */ jsx47(
4208
+ /* @__PURE__ */ jsx43(
4539
4209
  Select,
4540
4210
  {
4541
4211
  label: labels.tone(n),
@@ -4545,31 +4215,31 @@ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labe
4545
4215
  onValueChange: (tone3) => onChange(setStateTone(value, state.key, tone3))
4546
4216
  }
4547
4217
  ),
4548
- /* @__PURE__ */ jsx47(Switch, { showLabel: true, size: "sm", label: labels.final(n), description: isInitial ? labels.initialNotFinal : labels.finalHint, checked: Boolean(state.final), disabled: disabled || isInitial, onCheckedChange: (final) => onChange(setFinal(value, state.key, final)) }),
4549
- /* @__PURE__ */ jsx47(Chip, { selected: isInitial, disabled: disabled || Boolean(state.final), "aria-label": labels.initial(n), onSelectedChange: () => onChange(setInitial(value, state.key)), children: labels.initial(n) }),
4550
- /* @__PURE__ */ jsxs42(View42, { style: styles35.line, children: [
4551
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(name), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(moveState(value, index, index - 1)) }),
4552
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(name), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\u2193" }), disabled: disabled || index === value.states.length - 1, onPress: () => onChange(moveState(value, index, index + 1)) }),
4553
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.remove(name), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\xD7" }), disabled: disabled || value.states.length <= 2, onPress: () => onChange(removeState(value, state.key)) })
4218
+ /* @__PURE__ */ jsx43(Switch, { showLabel: true, size: "sm", label: labels.final(n), description: isInitial ? labels.initialNotFinal : labels.finalHint, checked: Boolean(state.final), disabled: disabled || isInitial, onCheckedChange: (final) => onChange(setFinal(value, state.key, final)) }),
4219
+ /* @__PURE__ */ jsx43(Chip, { selected: isInitial, disabled: disabled || Boolean(state.final), "aria-label": labels.initial(n), onSelectedChange: () => onChange(setInitial(value, state.key)), children: labels.initial(n) }),
4220
+ /* @__PURE__ */ jsxs38(View38, { style: styles35.line, children: [
4221
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(name), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(moveState(value, index, index - 1)) }),
4222
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(name), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\u2193" }), disabled: disabled || index === value.states.length - 1, onPress: () => onChange(moveState(value, index, index + 1)) }),
4223
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.remove(name), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\xD7" }), disabled: disabled || value.states.length <= 2, onPress: () => onChange(removeState(value, state.key)) })
4554
4224
  ] })
4555
4225
  ] }, state.key);
4556
4226
  }),
4557
- /* @__PURE__ */ jsx47(Button, { label: labels.addState, size: "sm", disabled: disabled || value.states.length >= 12, onPress: () => onChange(addState(value, labels.newState)) }),
4558
- /* @__PURE__ */ jsx47(Txt, { variant: "title", children: labels.moves }),
4559
- /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.movesHint }),
4560
- value.states.map((from) => /* @__PURE__ */ jsxs42(View42, { role: "group", "aria-label": labels.from(nameOf(from.key)), style: styles35.card, children: [
4561
- /* @__PURE__ */ jsx47(Txt, { variant: "label", children: nameOf(from.key) }),
4562
- from.final ? /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.noWayOut }) : /* @__PURE__ */ jsx47(View42, { style: styles35.wrap, children: value.states.filter((to) => to.key !== from.key).map((to) => {
4227
+ /* @__PURE__ */ jsx43(Button, { label: labels.addState, size: "sm", disabled: disabled || value.states.length >= 12, onPress: () => onChange(addState(value, labels.newState)) }),
4228
+ /* @__PURE__ */ jsx43(Txt, { variant: "title", children: labels.moves }),
4229
+ /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.movesHint }),
4230
+ value.states.map((from) => /* @__PURE__ */ jsxs38(View38, { role: "group", "aria-label": labels.from(nameOf(from.key)), style: styles35.card, children: [
4231
+ /* @__PURE__ */ jsx43(Txt, { variant: "label", children: nameOf(from.key) }),
4232
+ from.final ? /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.noWayOut }) : /* @__PURE__ */ jsx43(View38, { style: styles35.wrap, children: value.states.filter((to) => to.key !== from.key).map((to) => {
4563
4233
  const move2 = transitionOf(value, from.key, to.key);
4564
4234
  const summary = move2 ? move2.roles.map(roleLabel).join(", ") : labels.none;
4565
4235
  const on = open?.from === from.key && open.to === to.key;
4566
- return /* @__PURE__ */ jsx47(Chip, { selected: on, disabled, "aria-label": labels.move(nameOf(from.key), nameOf(to.key), summary), onSelectedChange: () => setChosen(on ? null : { from: from.key, to: to.key }), children: `\u2192 ${nameOf(to.key)} \xB7 ${summary}` }, to.key);
4236
+ return /* @__PURE__ */ jsx43(Chip, { selected: on, disabled, "aria-label": labels.move(nameOf(from.key), nameOf(to.key), summary), onSelectedChange: () => setChosen(on ? null : { from: from.key, to: to.key }), children: `\u2192 ${nameOf(to.key)} \xB7 ${summary}` }, to.key);
4567
4237
  }) })
4568
4238
  ] }, from.key)),
4569
- open ? /* @__PURE__ */ jsxs42(View42, { role: "group", "aria-label": labels.moveDetail(nameOf(open.from), nameOf(open.to)), style: styles35.card, children: [
4570
- /* @__PURE__ */ jsx47(Txt, { variant: "label", children: labels.moveDetail(nameOf(open.from), nameOf(open.to)) }),
4571
- /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.roles }),
4572
- /* @__PURE__ */ jsx47(
4239
+ open ? /* @__PURE__ */ jsxs38(View38, { role: "group", "aria-label": labels.moveDetail(nameOf(open.from), nameOf(open.to)), style: styles35.card, children: [
4240
+ /* @__PURE__ */ jsx43(Txt, { variant: "label", children: labels.moveDetail(nameOf(open.from), nameOf(open.to)) }),
4241
+ /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.roles }),
4242
+ /* @__PURE__ */ jsx43(
4573
4243
  Chip.Group,
4574
4244
  {
4575
4245
  type: "multiple",
@@ -4580,14 +4250,14 @@ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labe
4580
4250
  onValueChange: (next) => {
4581
4251
  onChange(setTransitionRoles(value, open.from, open.to, next));
4582
4252
  },
4583
- children: roles.map((role) => /* @__PURE__ */ jsx47(Chip, { value: role.key, children: role.label }, role.key))
4253
+ children: roles.map((role) => /* @__PURE__ */ jsx43(Chip, { value: role.key, children: role.label }, role.key))
4584
4254
  }
4585
4255
  ),
4586
- detail ? /* @__PURE__ */ jsxs42(Fragment8, { children: [
4587
- /* @__PURE__ */ jsx47(Switch, { showLabel: true, size: "sm", label: labels.confirm, checked: Boolean(detail?.confirm), disabled, onCheckedChange: (on) => onChange(setTransitionConfirm(value, open.from, open.to, on)) }),
4588
- /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.reasons }),
4589
- (detail?.reasons ?? []).map((reason, at) => /* @__PURE__ */ jsxs42(View42, { style: styles35.card, children: [
4590
- ["fr", "en"].map((lang) => /* @__PURE__ */ jsx47(
4256
+ detail ? /* @__PURE__ */ jsxs38(Fragment8, { children: [
4257
+ /* @__PURE__ */ jsx43(Switch, { showLabel: true, size: "sm", label: labels.confirm, checked: Boolean(detail?.confirm), disabled, onCheckedChange: (on) => onChange(setTransitionConfirm(value, open.from, open.to, on)) }),
4258
+ /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.reasons }),
4259
+ (detail?.reasons ?? []).map((reason, at) => /* @__PURE__ */ jsxs38(View38, { style: styles35.card, children: [
4260
+ ["fr", "en"].map((lang) => /* @__PURE__ */ jsx43(
4591
4261
  TextField,
4592
4262
  {
4593
4263
  label: labels.reasonLabel(labels.languages[lang], at + 1),
@@ -4598,9 +4268,9 @@ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labe
4598
4268
  },
4599
4269
  lang
4600
4270
  )),
4601
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.removeReason(at + 1), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(setTransitionReasons(value, open.from, open.to, (detail?.reasons ?? []).filter((r) => r.key !== reason.key))) })
4271
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.removeReason(at + 1), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(setTransitionReasons(value, open.from, open.to, (detail?.reasons ?? []).filter((r) => r.key !== reason.key))) })
4602
4272
  ] }, reason.key)),
4603
- /* @__PURE__ */ jsx47(Button, { label: labels.addReason, size: "sm", disabled: disabled || (detail?.reasons?.length ?? 0) >= 12, onPress: () => onChange(addReason(value, open.from, open.to, { fr: "", en: "" })) })
4273
+ /* @__PURE__ */ jsx43(Button, { label: labels.addReason, size: "sm", disabled: disabled || (detail?.reasons?.length ?? 0) >= 12, onPress: () => onChange(addReason(value, open.from, open.to, { fr: "", en: "" })) })
4604
4274
  ] }) : null
4605
4275
  ] }) : null
4606
4276
  ] });
@@ -4615,21 +4285,21 @@ var styles35 = StyleSheet35.create({
4615
4285
  });
4616
4286
 
4617
4287
  // src/native/list-detail.tsx
4618
- import * as React31 from "react";
4619
- import { StyleSheet as StyleSheet36, View as View43 } from "react-native";
4620
- import { jsx as jsx48, jsxs as jsxs43 } from "react/jsx-runtime";
4288
+ import * as React30 from "react";
4289
+ import { StyleSheet as StyleSheet36, View as View39 } from "react-native";
4290
+ import { jsx as jsx44, jsxs as jsxs39 } from "react/jsx-runtime";
4621
4291
  function ListDetail({ listTitle, listActions, list, detailTitle, detailActions, detail, empty: empty2, backLabel, onBack, listWidth = 340, minDetailWidth = 400, fontScale, testID }) {
4622
4292
  const { theme } = useTheme();
4623
4293
  const system = useFontScale();
4624
- const [width, setWidth] = React31.useState(0);
4625
- const onLayout = React31.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
4294
+ const [width, setWidth] = React30.useState(0);
4295
+ const onLayout = React30.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
4626
4296
  const both = width > 0 && width >= listWidth + minDetailWidth * Math.max(1, fontScale ?? system);
4627
4297
  const open = detail != null;
4628
- const listPane = /* @__PURE__ */ jsx48(Screen, { header: /* @__PURE__ */ jsx48(Header, { title: listTitle, actions: listActions }), scroll: false, keyboard: false, padding: 0, children: list });
4629
- const detailPane = /* @__PURE__ */ jsx48(Screen, { header: /* @__PURE__ */ jsx48(Header, { size: "inline", title: detailTitle ?? "", backLabel: both ? void 0 : backLabel, onBack: both ? void 0 : onBack, actions: detailActions }), keyboard: false, children: open ? detail : /* @__PURE__ */ jsx48(View43, { style: styles36.empty, children: /* @__PURE__ */ jsx48(Txt, { tone: "secondary", children: empty2 }) }) });
4630
- return /* @__PURE__ */ jsx48(View43, { testID, onLayout, "data-panes": both ? "both" : "one", style: styles36.root, children: both ? /* @__PURE__ */ jsxs43(View43, { style: styles36.row, children: [
4631
- /* @__PURE__ */ jsx48(View43, { style: [styles36.list, { width: listWidth, borderEndColor: theme.borderSubtle, borderEndWidth: StyleSheet36.hairlineWidth }], children: listPane }),
4632
- /* @__PURE__ */ jsx48(View43, { style: styles36.detail, children: detailPane })
4298
+ const listPane = /* @__PURE__ */ jsx44(Screen, { header: /* @__PURE__ */ jsx44(Header, { title: listTitle, actions: listActions }), scroll: false, keyboard: false, padding: 0, children: list });
4299
+ const detailPane = /* @__PURE__ */ jsx44(Screen, { header: /* @__PURE__ */ jsx44(Header, { size: "inline", title: detailTitle ?? "", backLabel: both ? void 0 : backLabel, onBack: both ? void 0 : onBack, actions: detailActions }), keyboard: false, children: open ? detail : /* @__PURE__ */ jsx44(View39, { style: styles36.empty, children: /* @__PURE__ */ jsx44(Txt, { tone: "secondary", children: empty2 }) }) });
4300
+ return /* @__PURE__ */ jsx44(View39, { testID, onLayout, "data-panes": both ? "both" : "one", style: styles36.root, children: both ? /* @__PURE__ */ jsxs39(View39, { style: styles36.row, children: [
4301
+ /* @__PURE__ */ jsx44(View39, { style: [styles36.list, { width: listWidth, borderEndColor: theme.borderSubtle, borderEndWidth: StyleSheet36.hairlineWidth }], children: listPane }),
4302
+ /* @__PURE__ */ jsx44(View39, { style: styles36.detail, children: detailPane })
4633
4303
  ] }) : open ? detailPane : listPane });
4634
4304
  }
4635
4305
  var styles36 = StyleSheet36.create({
@@ -4641,38 +4311,38 @@ var styles36 = StyleSheet36.create({
4641
4311
  });
4642
4312
 
4643
4313
  // src/native/loader.tsx
4644
- import * as React32 from "react";
4645
- import { AccessibilityInfo as AccessibilityInfo8, Animated as Animated13, Easing as Easing5, StyleSheet as StyleSheet37, View as View44 } from "react-native";
4646
- import Svg19, { Circle as Circle11, Path as Path17 } from "react-native-svg";
4647
- import { jsx as jsx49, jsxs as jsxs44 } from "react/jsx-runtime";
4314
+ import * as React31 from "react";
4315
+ import { AccessibilityInfo as AccessibilityInfo7, Animated as Animated12, Easing as Easing4, StyleSheet as StyleSheet37, View as View40 } from "react-native";
4316
+ import Svg15, { Circle as Circle7, Path as Path13 } from "react-native-svg";
4317
+ import { jsx as jsx45, jsxs as jsxs40 } from "react/jsx-runtime";
4648
4318
  var HEX = "M12 3 19.79 7.5 19.79 16.5 12 21 4.21 16.5 4.21 7.5Z";
4649
4319
  var PERIMETER = 54;
4650
4320
  function LoaderGlyph({ state = "loading", value, size = 20, color }) {
4651
4321
  const { theme } = useTheme();
4652
4322
  const reduce = useReducedMotion();
4653
- const [spin] = React32.useState(() => new Animated13.Value(0));
4323
+ const [spin] = React31.useState(() => new Animated12.Value(0));
4654
4324
  const known = typeof value === "number" && Number.isFinite(value);
4655
- React32.useEffect(() => {
4325
+ React31.useEffect(() => {
4656
4326
  if (state !== "loading" || known || reduce) return;
4657
- const loop = Animated13.loop(Animated13.timing(spin, { toValue: 1, duration: 1400, easing: Easing5.linear, useNativeDriver: true }));
4327
+ const loop = Animated12.loop(Animated12.timing(spin, { toValue: 1, duration: 1400, easing: Easing4.linear, useNativeDriver: true }));
4658
4328
  loop.start();
4659
4329
  return () => loop.stop();
4660
4330
  }, [state, known, reduce, spin]);
4661
4331
  const stroke = color ?? (state === "success" ? theme.success : state === "error" ? theme.danger : theme.accent);
4662
4332
  const fill = state !== "loading" ? 1 : known ? Math.min(1, Math.max(0, value)) : 0.3;
4663
4333
  const rotate = spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] });
4664
- return /* @__PURE__ */ jsx49(Animated13.View, { "aria-hidden": true, style: { width: size, height: size, transform: state === "loading" && !known ? [{ rotate }] : [] }, children: /* @__PURE__ */ jsxs44(Svg19, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
4665
- /* @__PURE__ */ jsx49(Path17, { d: HEX, stroke, strokeOpacity: 0.22, strokeWidth: 2.2, strokeLinejoin: "round" }),
4666
- /* @__PURE__ */ jsx49(Path17, { d: HEX, stroke, strokeWidth: 2.2, strokeLinejoin: "round", strokeLinecap: "round", strokeDasharray: `${fill * PERIMETER} ${PERIMETER}` }),
4667
- state === "loading" ? /* @__PURE__ */ jsx49(Circle11, { cx: 12, cy: 12, r: 2.6, fill: stroke }) : null,
4668
- state === "success" ? /* @__PURE__ */ jsx49(Path17, { d: "M8.3 12.3l2.6 2.6 4.9-5.3", stroke, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) : null,
4669
- state === "error" ? /* @__PURE__ */ jsx49(Path17, { d: "M9.4 9.4l5.2 5.2M14.6 9.4l-5.2 5.2", stroke, strokeWidth: 2.2, strokeLinecap: "round" }) : null
4334
+ return /* @__PURE__ */ jsx45(Animated12.View, { "aria-hidden": true, style: { width: size, height: size, transform: state === "loading" && !known ? [{ rotate }] : [] }, children: /* @__PURE__ */ jsxs40(Svg15, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
4335
+ /* @__PURE__ */ jsx45(Path13, { d: HEX, stroke, strokeOpacity: 0.22, strokeWidth: 2.2, strokeLinejoin: "round" }),
4336
+ /* @__PURE__ */ jsx45(Path13, { d: HEX, stroke, strokeWidth: 2.2, strokeLinejoin: "round", strokeLinecap: "round", strokeDasharray: `${fill * PERIMETER} ${PERIMETER}` }),
4337
+ state === "loading" ? /* @__PURE__ */ jsx45(Circle7, { cx: 12, cy: 12, r: 2.6, fill: stroke }) : null,
4338
+ state === "success" ? /* @__PURE__ */ jsx45(Path13, { d: "M8.3 12.3l2.6 2.6 4.9-5.3", stroke, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) : null,
4339
+ state === "error" ? /* @__PURE__ */ jsx45(Path13, { d: "M9.4 9.4l5.2 5.2M14.6 9.4l-5.2 5.2", stroke, strokeWidth: 2.2, strokeLinecap: "round" }) : null
4670
4340
  ] }) });
4671
4341
  }
4672
4342
  function useDelayedWait(active, delay = 250, minDuration = 600) {
4673
- const [shown, setShown] = React32.useState(false);
4674
- const since = React32.useRef(0);
4675
- React32.useEffect(() => {
4343
+ const [shown, setShown] = React31.useState(false);
4344
+ const since = React31.useRef(0);
4345
+ React31.useEffect(() => {
4676
4346
  if (active && !shown) {
4677
4347
  const timer2 = setTimeout(() => {
4678
4348
  since.current = Date.now();
@@ -4692,9 +4362,9 @@ var GLYPH = { inline: 20, block: 36, overlay: 36, page: 56 };
4692
4362
  function Loader({ label, status = "loading", successLabel, errorLabel, value, eta, delay = 250, minDuration = 600, endDuration = 1600, variant = "inline", product, style }) {
4693
4363
  const { theme, radius: radius3 } = useTheme();
4694
4364
  const waiting = useDelayedWait(status === "loading", delay, minDuration);
4695
- const [ending, setEnding] = React32.useState(null);
4696
- const seen = React32.useRef(false);
4697
- React32.useEffect(() => {
4365
+ const [ending, setEnding] = React31.useState(null);
4366
+ const seen = React31.useRef(false);
4367
+ React31.useEffect(() => {
4698
4368
  if (waiting) {
4699
4369
  seen.current = true;
4700
4370
  return;
@@ -4711,24 +4381,24 @@ function Loader({ label, status = "loading", successLabel, errorLabel, value, et
4711
4381
  }, [waiting, status, endDuration]);
4712
4382
  const phase = waiting ? "loading" : ending;
4713
4383
  const words2 = phase === "success" ? successLabel ?? label : phase === "error" ? errorLabel ?? label : label;
4714
- React32.useEffect(() => {
4715
- if (phase) AccessibilityInfo8.announceForAccessibility(words2);
4384
+ React31.useEffect(() => {
4385
+ if (phase) AccessibilityInfo7.announceForAccessibility(words2);
4716
4386
  }, [phase, words2]);
4717
4387
  if (!phase) return null;
4718
4388
  const known = phase === "loading" && typeof value === "number" && Number.isFinite(value);
4719
4389
  const detail = phase === "loading" ? [known ? `${Math.round(Math.min(1, Math.max(0, value)) * 100)} %` : null, eta].filter(Boolean).join(" \xB7 ") : "";
4720
4390
  const stacked = variant !== "inline";
4721
- const box = /* @__PURE__ */ jsxs44(View44, { style: [stacked ? styles37.stacked : styles37.inline, variant === "overlay" ? { backgroundColor: alpha(theme.surface1, 0.92), borderColor: theme.borderDefault, borderRadius: radius3.lg, ...styles37.card } : null], children: [
4722
- product && phase === "loading" ? /* @__PURE__ */ jsx49(ProductMark, { id: product, size: GLYPH[variant], animated: true }) : /* @__PURE__ */ jsx49(LoaderGlyph, { state: phase, value: known ? value : null, size: GLYPH[variant] }),
4723
- /* @__PURE__ */ jsxs44(View44, { style: stacked ? styles37.center : styles37.text, children: [
4724
- /* @__PURE__ */ jsx49(Txt, { variant: variant === "page" ? "title" : "label", style: stacked ? styles37.centered : null, children: words2 }),
4725
- detail ? /* @__PURE__ */ jsx49(Txt, { variant: "caption", tone: "secondary", style: stacked ? styles37.centered : null, children: detail }) : null
4391
+ const box = /* @__PURE__ */ jsxs40(View40, { style: [stacked ? styles37.stacked : styles37.inline, variant === "overlay" ? { backgroundColor: alpha(theme.surface1, 0.92), borderColor: theme.borderDefault, borderRadius: radius3.lg, ...styles37.card } : null], children: [
4392
+ product && phase === "loading" ? /* @__PURE__ */ jsx45(ProductMark, { id: product, size: GLYPH[variant], animated: true }) : /* @__PURE__ */ jsx45(LoaderGlyph, { state: phase, value: known ? value : null, size: GLYPH[variant] }),
4393
+ /* @__PURE__ */ jsxs40(View40, { style: stacked ? styles37.center : styles37.text, children: [
4394
+ /* @__PURE__ */ jsx45(Txt, { variant: variant === "page" ? "title" : "label", style: stacked ? styles37.centered : null, children: words2 }),
4395
+ detail ? /* @__PURE__ */ jsx45(Txt, { variant: "caption", tone: "secondary", style: stacked ? styles37.centered : null, children: detail }) : null
4726
4396
  ] })
4727
4397
  ] });
4728
4398
  const a11y = { accessible: true, role: "progressbar", "aria-label": words2, "aria-busy": phase === "loading", accessibilityLiveRegion: "polite" };
4729
4399
  if (variant === "overlay" || variant === "page")
4730
- return /* @__PURE__ */ jsx49(View44, { ...a11y, style: [StyleSheet37.absoluteFill, styles37.cover, variant === "page" ? { backgroundColor: alpha(theme.surface0, 0.86) } : null, style], children: box });
4731
- return /* @__PURE__ */ jsx49(View44, { ...a11y, style: [variant === "block" ? styles37.block : null, style], children: box });
4400
+ return /* @__PURE__ */ jsx45(View40, { ...a11y, style: [StyleSheet37.absoluteFill, styles37.cover, variant === "page" ? { backgroundColor: alpha(theme.surface0, 0.86) } : null, style], children: box });
4401
+ return /* @__PURE__ */ jsx45(View40, { ...a11y, style: [variant === "block" ? styles37.block : null, style], children: box });
4732
4402
  }
4733
4403
  var styles37 = StyleSheet37.create({
4734
4404
  inline: { flexDirection: "row", alignItems: "center", gap: 10 },
@@ -4742,17 +4412,17 @@ var styles37 = StyleSheet37.create({
4742
4412
  });
4743
4413
 
4744
4414
  // src/native/maintenance-screen.tsx
4745
- import { StyleSheet as StyleSheet38, View as View45 } from "react-native";
4746
- import { jsx as jsx50, jsxs as jsxs45 } from "react/jsx-runtime";
4415
+ import { StyleSheet as StyleSheet38, View as View41 } from "react-native";
4416
+ import { jsx as jsx46, jsxs as jsxs41 } from "react/jsx-runtime";
4747
4417
  function MaintenanceScreen({ title, message, mark, retryLabel, onRetry, fill = true, style }) {
4748
4418
  const { theme } = useTheme();
4749
- return /* @__PURE__ */ jsxs45(View45, { style: [styles38.root, fill ? styles38.fill : null, { backgroundColor: theme.surface0 }, style], children: [
4750
- mark ? /* @__PURE__ */ jsx50(View45, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles38.mark, children: mark }) : null,
4751
- /* @__PURE__ */ jsxs45(View45, { role: "status", style: styles38.text, children: [
4752
- /* @__PURE__ */ jsx50(Txt, { variant: "title", style: styles38.centred, children: title }),
4753
- message ? /* @__PURE__ */ jsx50(Txt, { tone: "secondary", style: styles38.centred, children: message }) : null
4419
+ return /* @__PURE__ */ jsxs41(View41, { style: [styles38.root, fill ? styles38.fill : null, { backgroundColor: theme.surface0 }, style], children: [
4420
+ mark ? /* @__PURE__ */ jsx46(View41, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles38.mark, children: mark }) : null,
4421
+ /* @__PURE__ */ jsxs41(View41, { role: "status", style: styles38.text, children: [
4422
+ /* @__PURE__ */ jsx46(Txt, { variant: "title", style: styles38.centred, children: title }),
4423
+ message ? /* @__PURE__ */ jsx46(Txt, { tone: "secondary", style: styles38.centred, children: message }) : null
4754
4424
  ] }),
4755
- retryLabel && onRetry ? /* @__PURE__ */ jsx50(View45, { style: styles38.actions, children: /* @__PURE__ */ jsx50(Button, { label: retryLabel, variant: "secondary", onPress: onRetry }) }) : null
4425
+ retryLabel && onRetry ? /* @__PURE__ */ jsx46(View41, { style: styles38.actions, children: /* @__PURE__ */ jsx46(Button, { label: retryLabel, variant: "secondary", onPress: onRetry }) }) : null
4756
4426
  ] });
4757
4427
  }
4758
4428
  var styles38 = StyleSheet38.create({
@@ -4765,13 +4435,13 @@ var styles38 = StyleSheet38.create({
4765
4435
  });
4766
4436
 
4767
4437
  // src/native/mascot-state.tsx
4768
- import * as React34 from "react";
4769
- import { AccessibilityInfo as AccessibilityInfo10, Animated as Animated15, Easing as Easing7, StyleSheet as StyleSheet39, View as View47 } from "react-native";
4438
+ import * as React33 from "react";
4439
+ import { AccessibilityInfo as AccessibilityInfo9, Animated as Animated14, Easing as Easing6, StyleSheet as StyleSheet39, View as View43 } from "react-native";
4770
4440
 
4771
4441
  // src/native/mascots.tsx
4772
- import { useEffect as useEffect16, useState as useState32 } from "react";
4773
- import { AccessibilityInfo as AccessibilityInfo9, Animated as Animated14, Easing as Easing6, View as View46 } from "react-native";
4774
- import Svg20, { Circle as Circle12, Defs as Defs11, Ellipse as Ellipse2, G, LinearGradient as LinearGradient8, Path as Path18, Rect as Rect2, Stop as Stop11 } from "react-native-svg";
4442
+ import { useEffect as useEffect15, useState as useState31 } from "react";
4443
+ import { AccessibilityInfo as AccessibilityInfo8, Animated as Animated13, Easing as Easing5, View as View42 } from "react-native";
4444
+ import Svg16, { Circle as Circle8, Defs as Defs7, Ellipse, G, LinearGradient as LinearGradient6, Path as Path14, Rect as Rect2, Stop as Stop7 } from "react-native-svg";
4775
4445
 
4776
4446
  // src/mascots/geometry.ts
4777
4447
  var mirror = (d) => d.replace(/(-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?)/g, (_, x, y) => `${120 - Number(x)} ${y}`);
@@ -4973,17 +4643,17 @@ var SHADE = "#000000";
4973
4643
  var PARCEL = ["#f59e0b", "#d97706", "#b45309"];
4974
4644
 
4975
4645
  // src/native/mascots.tsx
4976
- import { jsx as jsx51, jsxs as jsxs46 } from "react/jsx-runtime";
4646
+ import { jsx as jsx47, jsxs as jsxs42 } from "react/jsx-runtime";
4977
4647
  function useBob(animated) {
4978
- const [y] = useState32(() => new Animated14.Value(0));
4979
- useEffect16(() => {
4648
+ const [y] = useState31(() => new Animated13.Value(0));
4649
+ useEffect15(() => {
4980
4650
  if (!animated) return;
4981
4651
  let loop;
4982
4652
  let cancelled = false;
4983
- void AccessibilityInfo9.isReduceMotionEnabled().then((reduce) => {
4653
+ void AccessibilityInfo8.isReduceMotionEnabled().then((reduce) => {
4984
4654
  if (reduce || cancelled) return;
4985
- const step = (toValue) => Animated14.timing(y, { toValue, duration: 1800, easing: Easing6.inOut(Easing6.ease), useNativeDriver: true });
4986
- loop = Animated14.loop(Animated14.sequence([step(-2.5), step(0)]));
4655
+ const step = (toValue) => Animated13.timing(y, { toValue, duration: 1800, easing: Easing5.inOut(Easing5.ease), useNativeDriver: true });
4656
+ loop = Animated13.loop(Animated13.sequence([step(-2.5), step(0)]));
4987
4657
  loop.start();
4988
4658
  });
4989
4659
  return () => {
@@ -5007,62 +4677,62 @@ function Mascot({ bird = "owl", mood = "welcome", tone: tone3 = "brand", size =
5007
4677
  const look3 = mood === "thinking" ? 1.4 : 0;
5008
4678
  const rot = (deg, [x, y]) => `rotate(${deg} ${x} ${y})`;
5009
4679
  const [wl, wr] = g.wings;
5010
- return /* @__PURE__ */ jsx51(View46, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx51(Animated14.View, { style: { transform: [{ translateY: bob }] }, children: /* @__PURE__ */ jsxs46(Svg20, { width: size, height: size, viewBox: "0 0 120 120", children: [
5011
- /* @__PURE__ */ jsx51(Defs11, { children: /* @__PURE__ */ jsxs46(LinearGradient8, { id, x1: "0", y1: "0", x2: "0", y2: "1", children: [
5012
- /* @__PURE__ */ jsx51(Stop11, { offset: "0%", stopColor: p.from }),
5013
- /* @__PURE__ */ jsx51(Stop11, { offset: "100%", stopColor: p.to })
4680
+ return /* @__PURE__ */ jsx47(View42, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx47(Animated13.View, { style: { transform: [{ translateY: bob }] }, children: /* @__PURE__ */ jsxs42(Svg16, { width: size, height: size, viewBox: "0 0 120 120", children: [
4681
+ /* @__PURE__ */ jsx47(Defs7, { children: /* @__PURE__ */ jsxs42(LinearGradient6, { id, x1: "0", y1: "0", x2: "0", y2: "1", children: [
4682
+ /* @__PURE__ */ jsx47(Stop7, { offset: "0%", stopColor: p.from }),
4683
+ /* @__PURE__ */ jsx47(Stop7, { offset: "100%", stopColor: p.to })
5014
4684
  ] }) }),
5015
- /* @__PURE__ */ jsx51(Ellipse2, { cx: g.shadow[0], cy: g.shadow[1], rx: g.shadow[2], ry: g.shadow[3], fill: SHADE, opacity: 0.14 }),
5016
- mood === "empty" && /* @__PURE__ */ jsx51(Path18, { d: MOOD_PARTS.tray, stroke: outline, strokeWidth: 1.6, strokeDasharray: "3 3", fill: "none" }),
5017
- g.legs.map((d) => /* @__PURE__ */ jsx51(Path18, { d, stroke: p.beak, strokeWidth: 2.6, strokeLinecap: "round", fill: "none" }, d)),
5018
- g.back?.map((d) => d.endsWith("Z") ? /* @__PURE__ */ jsx51(Path18, { d, fill: p.detail, ...line }, d) : /* @__PURE__ */ jsx51(Path18, { d, stroke: outline, strokeWidth: 1.4, fill: "none" }, d)),
5019
- g.parcel?.map((d, i) => /* @__PURE__ */ jsx51(Path18, { d, fill: PARCEL[i], ...line }, d)),
5020
- /* @__PURE__ */ jsx51(Path18, { d: g.body, fill: body, ...line }),
5021
- /* @__PURE__ */ jsx51(Path18, { d: g.belly, fill: LIGHT, opacity: 0.28 }),
4685
+ /* @__PURE__ */ jsx47(Ellipse, { cx: g.shadow[0], cy: g.shadow[1], rx: g.shadow[2], ry: g.shadow[3], fill: SHADE, opacity: 0.14 }),
4686
+ mood === "empty" && /* @__PURE__ */ jsx47(Path14, { d: MOOD_PARTS.tray, stroke: outline, strokeWidth: 1.6, strokeDasharray: "3 3", fill: "none" }),
4687
+ g.legs.map((d) => /* @__PURE__ */ jsx47(Path14, { d, stroke: p.beak, strokeWidth: 2.6, strokeLinecap: "round", fill: "none" }, d)),
4688
+ g.back?.map((d) => d.endsWith("Z") ? /* @__PURE__ */ jsx47(Path14, { d, fill: p.detail, ...line }, d) : /* @__PURE__ */ jsx47(Path14, { d, stroke: outline, strokeWidth: 1.4, fill: "none" }, d)),
4689
+ g.parcel?.map((d, i) => /* @__PURE__ */ jsx47(Path14, { d, fill: PARCEL[i], ...line }, d)),
4690
+ /* @__PURE__ */ jsx47(Path14, { d: g.body, fill: body, ...line }),
4691
+ /* @__PURE__ */ jsx47(Path14, { d: g.belly, fill: LIGHT, opacity: 0.28 }),
5022
4692
  [wl, wr].map((w, i) => {
5023
4693
  const turn = mood === "success" ? i === 0 ? 28 : -28 : mood === "welcome" && i === 1 ? -20 : 0;
5024
- return /* @__PURE__ */ jsxs46(G, { transform: turn ? rot(turn, w.pivot) : void 0, children: [
5025
- /* @__PURE__ */ jsx51(Path18, { d: w.d, fill: p.wing, ...line }),
5026
- /* @__PURE__ */ jsx51(Path18, { d: w.d, fill: SHADE, opacity: 0.16 })
4694
+ return /* @__PURE__ */ jsxs42(G, { transform: turn ? rot(turn, w.pivot) : void 0, children: [
4695
+ /* @__PURE__ */ jsx47(Path14, { d: w.d, fill: p.wing, ...line }),
4696
+ /* @__PURE__ */ jsx47(Path14, { d: w.d, fill: SHADE, opacity: 0.16 })
5027
4697
  ] }, i);
5028
4698
  }),
5029
- g.neck && /* @__PURE__ */ jsx51(Path18, { d: g.neck.d, stroke: body, strokeWidth: g.neck.width, strokeLinecap: "round", fill: "none" }),
5030
- g.head.r > 0 && /* @__PURE__ */ jsx51(Circle12, { cx: g.head.cx, cy: g.head.cy, r: g.head.r, fill: body, ...line }),
5031
- g.details.map((d) => /* @__PURE__ */ jsx51(Path18, { d, fill: p.detail, ...line }, d)),
5032
- g.visor && /* @__PURE__ */ jsx51(Rect2, { x: g.visor.x, y: g.visor.y, width: g.visor.w, height: g.visor.h, rx: 4, fill: theme.surface0, ...line }),
4699
+ g.neck && /* @__PURE__ */ jsx47(Path14, { d: g.neck.d, stroke: body, strokeWidth: g.neck.width, strokeLinecap: "round", fill: "none" }),
4700
+ g.head.r > 0 && /* @__PURE__ */ jsx47(Circle8, { cx: g.head.cx, cy: g.head.cy, r: g.head.r, fill: body, ...line }),
4701
+ g.details.map((d) => /* @__PURE__ */ jsx47(Path14, { d, fill: p.detail, ...line }, d)),
4702
+ g.visor && /* @__PURE__ */ jsx47(Rect2, { x: g.visor.x, y: g.visor.y, width: g.visor.w, height: g.visor.h, rx: 4, fill: theme.surface0, ...line }),
5033
4703
  g.eyes.at.map(
5034
- (at, i) => mood === "empty" && g.eyes.white > 0 ? /* @__PURE__ */ jsxs46(G, { children: [
5035
- /* @__PURE__ */ jsx51(Circle12, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
5036
- /* @__PURE__ */ jsx51(Circle12, { cx: at[0], cy: at[1] + g.eyes.pupil * 0.7, r: g.eyes.pupil, fill: SHADE }),
5037
- /* @__PURE__ */ jsx51(Path18, { d: upperLid(at, g.eyes.white), fill: p.detail, ...line })
5038
- ] }, i) : mood === "success" || mood === "empty" ? /* @__PURE__ */ jsx51(Path18, { d: mood === "success" ? archEye(at, eyeR * 0.85) : lidEye(at, eyeR * 0.8), stroke: g.visor ? p.eye : outline, strokeWidth: 2.2, strokeLinecap: "round", fill: "none" }, i) : /* @__PURE__ */ jsxs46(G, { children: [
5039
- g.eyes.white > 0 && /* @__PURE__ */ jsx51(Circle12, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
5040
- /* @__PURE__ */ jsx51(Circle12, { cx: at[0] + look3, cy: at[1] - look3, r: g.eyes.pupil, fill: g.visor ? p.eye : SHADE })
4704
+ (at, i) => mood === "empty" && g.eyes.white > 0 ? /* @__PURE__ */ jsxs42(G, { children: [
4705
+ /* @__PURE__ */ jsx47(Circle8, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
4706
+ /* @__PURE__ */ jsx47(Circle8, { cx: at[0], cy: at[1] + g.eyes.pupil * 0.7, r: g.eyes.pupil, fill: SHADE }),
4707
+ /* @__PURE__ */ jsx47(Path14, { d: upperLid(at, g.eyes.white), fill: p.detail, ...line })
4708
+ ] }, i) : mood === "success" || mood === "empty" ? /* @__PURE__ */ jsx47(Path14, { d: mood === "success" ? archEye(at, eyeR * 0.85) : lidEye(at, eyeR * 0.8), stroke: g.visor ? p.eye : outline, strokeWidth: 2.2, strokeLinecap: "round", fill: "none" }, i) : /* @__PURE__ */ jsxs42(G, { children: [
4709
+ g.eyes.white > 0 && /* @__PURE__ */ jsx47(Circle8, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
4710
+ /* @__PURE__ */ jsx47(Circle8, { cx: at[0] + look3, cy: at[1] - look3, r: g.eyes.pupil, fill: g.visor ? p.eye : SHADE })
5041
4711
  ] }, i)
5042
4712
  ),
5043
- g.glasses && g.eyes.at.map(([x, y]) => /* @__PURE__ */ jsx51(Circle12, { cx: x, cy: y, r: 6.5, fill: "none", stroke: outline, strokeWidth: 1.3 }, x)),
5044
- mood === "error" && g.eyes.at.map((at, i) => /* @__PURE__ */ jsx51(Path18, { d: brow(at, eyeR, g.eyes.at.length === 1 ? 1 : i === 0 ? -1 : 1), stroke: outline, strokeWidth: 2, strokeLinecap: "round" }, i)),
5045
- /* @__PURE__ */ jsx51(Path18, { d: g.beak, fill: p.beak, ...line }),
5046
- mood === "thinking" && MOOD_PARTS.dots.map(([cx, cy, r], i) => /* @__PURE__ */ jsx51(Circle12, { cx, cy, r, fill: theme.textSecondary, opacity: 0.5 + i * 0.25 }, cx)),
5047
- (mood === "success" || mood === "error") && /* @__PURE__ */ jsx51(Circle12, { cx: MOOD_PARTS.badge.cx, cy: MOOD_PARTS.badge.cy, r: MOOD_PARTS.badge.r, fill: mood === "success" ? theme.success : theme.danger }),
5048
- mood === "success" && /* @__PURE__ */ jsx51(Path18, { d: MOOD_PARTS.check, stroke: theme.surface0, strokeWidth: 2.6, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
5049
- mood === "error" && /* @__PURE__ */ jsx51(Path18, { d: MOOD_PARTS.bang.line, stroke: theme.surface0, strokeWidth: 2.8, strokeLinecap: "round" }),
5050
- mood === "error" && /* @__PURE__ */ jsx51(Circle12, { cx: MOOD_PARTS.bang.dot[0], cy: MOOD_PARTS.bang.dot[1], r: 1.6, fill: theme.surface0 })
4713
+ g.glasses && g.eyes.at.map(([x, y]) => /* @__PURE__ */ jsx47(Circle8, { cx: x, cy: y, r: 6.5, fill: "none", stroke: outline, strokeWidth: 1.3 }, x)),
4714
+ mood === "error" && g.eyes.at.map((at, i) => /* @__PURE__ */ jsx47(Path14, { d: brow(at, eyeR, g.eyes.at.length === 1 ? 1 : i === 0 ? -1 : 1), stroke: outline, strokeWidth: 2, strokeLinecap: "round" }, i)),
4715
+ /* @__PURE__ */ jsx47(Path14, { d: g.beak, fill: p.beak, ...line }),
4716
+ mood === "thinking" && MOOD_PARTS.dots.map(([cx, cy, r], i) => /* @__PURE__ */ jsx47(Circle8, { cx, cy, r, fill: theme.textSecondary, opacity: 0.5 + i * 0.25 }, cx)),
4717
+ (mood === "success" || mood === "error") && /* @__PURE__ */ jsx47(Circle8, { cx: MOOD_PARTS.badge.cx, cy: MOOD_PARTS.badge.cy, r: MOOD_PARTS.badge.r, fill: mood === "success" ? theme.success : theme.danger }),
4718
+ mood === "success" && /* @__PURE__ */ jsx47(Path14, { d: MOOD_PARTS.check, stroke: theme.surface0, strokeWidth: 2.6, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
4719
+ mood === "error" && /* @__PURE__ */ jsx47(Path14, { d: MOOD_PARTS.bang.line, stroke: theme.surface0, strokeWidth: 2.8, strokeLinecap: "round" }),
4720
+ mood === "error" && /* @__PURE__ */ jsx47(Circle8, { cx: MOOD_PARTS.bang.dot[0], cy: MOOD_PARTS.bang.dot[1], r: 1.6, fill: theme.surface0 })
5051
4721
  ] }) }) });
5052
4722
  }
5053
4723
 
5054
4724
  // src/native/mascot-state.tsx
5055
- import { jsx as jsx52, jsxs as jsxs47 } from "react/jsx-runtime";
4725
+ import { jsx as jsx48, jsxs as jsxs43 } from "react/jsx-runtime";
5056
4726
  var SIZE = { sm: 64, md: 96, lg: 128 };
5057
4727
  function useArrival(animated) {
5058
- const [value] = React34.useState(() => new Animated15.Value(animated ? 0 : 1));
5059
- React34.useEffect(() => {
4728
+ const [value] = React33.useState(() => new Animated14.Value(animated ? 0 : 1));
4729
+ React33.useEffect(() => {
5060
4730
  if (!animated) return;
5061
4731
  let cancelled = false;
5062
- void AccessibilityInfo10.isReduceMotionEnabled().then((reduce) => {
4732
+ void AccessibilityInfo9.isReduceMotionEnabled().then((reduce) => {
5063
4733
  if (cancelled) return;
5064
4734
  if (reduce) value.setValue(1);
5065
- else Animated15.timing(value, { toValue: 1, duration: 420, easing: Easing7.out(Easing7.cubic), useNativeDriver: true }).start();
4735
+ else Animated14.timing(value, { toValue: 1, duration: 420, easing: Easing6.out(Easing6.cubic), useNativeDriver: true }).start();
5066
4736
  });
5067
4737
  return () => {
5068
4738
  cancelled = true;
@@ -5073,8 +4743,8 @@ function useArrival(animated) {
5073
4743
  function MascotState({ bird = "owl", mood = "empty", title, description, action, size = "md", layout = "stacked", tone: tone3, animated = true, style, ...props }) {
5074
4744
  const opacity = useArrival(animated);
5075
4745
  const inline = layout === "inline";
5076
- return /* @__PURE__ */ jsxs47(
5077
- Animated15.View,
4746
+ return /* @__PURE__ */ jsxs43(
4747
+ Animated14.View,
5078
4748
  {
5079
4749
  role: mood === "error" ? "alert" : "status",
5080
4750
  accessibilityLiveRegion: mood === "error" ? "assertive" : "polite",
@@ -5082,20 +4752,20 @@ function MascotState({ bird = "owl", mood = "empty", title, description, action,
5082
4752
  ...props,
5083
4753
  style: [inline ? styles39.inline : styles39.stacked, { opacity, transform: [{ translateY: opacity.interpolate({ inputRange: [0, 1], outputRange: [6, 0] }) }] }, style],
5084
4754
  children: [
5085
- /* @__PURE__ */ jsx52(Mascot, { bird, mood, tone: tone3, size: SIZE[size], animated }),
5086
- /* @__PURE__ */ jsxs47(View47, { style: inline ? styles39.wordsInline : styles39.words, children: [
5087
- /* @__PURE__ */ jsx52(Txt, { variant: "label", role: "heading", style: inline ? null : styles39.center, children: title }),
5088
- description ? /* @__PURE__ */ jsx52(Txt, { tone: "secondary", style: inline ? null : styles39.center, children: description }) : null,
5089
- action ? /* @__PURE__ */ jsx52(View47, { style: [styles39.action, inline ? null : styles39.actionCentred], children: action }) : null
4755
+ /* @__PURE__ */ jsx48(Mascot, { bird, mood, tone: tone3, size: SIZE[size], animated }),
4756
+ /* @__PURE__ */ jsxs43(View43, { style: inline ? styles39.wordsInline : styles39.words, children: [
4757
+ /* @__PURE__ */ jsx48(Txt, { variant: "label", role: "heading", style: inline ? null : styles39.center, children: title }),
4758
+ description ? /* @__PURE__ */ jsx48(Txt, { tone: "secondary", style: inline ? null : styles39.center, children: description }) : null,
4759
+ action ? /* @__PURE__ */ jsx48(View43, { style: [styles39.action, inline ? null : styles39.actionCentred], children: action }) : null
5090
4760
  ] })
5091
4761
  ]
5092
4762
  }
5093
4763
  );
5094
4764
  }
5095
- var ErrorState = (props) => /* @__PURE__ */ jsx52(MascotState, { mood: "error", ...props });
5096
- var SuccessState = (props) => /* @__PURE__ */ jsx52(MascotState, { mood: "success", ...props });
5097
- var LoadingState = (props) => /* @__PURE__ */ jsx52(MascotState, { mood: "thinking", ...props });
5098
- var WelcomeState = (props) => /* @__PURE__ */ jsx52(MascotState, { mood: "welcome", ...props });
4765
+ var ErrorState = (props) => /* @__PURE__ */ jsx48(MascotState, { mood: "error", ...props });
4766
+ var SuccessState = (props) => /* @__PURE__ */ jsx48(MascotState, { mood: "success", ...props });
4767
+ var LoadingState = (props) => /* @__PURE__ */ jsx48(MascotState, { mood: "thinking", ...props });
4768
+ var WelcomeState = (props) => /* @__PURE__ */ jsx48(MascotState, { mood: "welcome", ...props });
5099
4769
  var styles39 = StyleSheet39.create({
5100
4770
  stacked: { alignItems: "center", justifyContent: "center", gap: 12, paddingVertical: 40, paddingHorizontal: 24 },
5101
4771
  inline: { flexDirection: "row", alignItems: "center", gap: 16 },
@@ -5107,40 +4777,40 @@ var styles39 = StyleSheet39.create({
5107
4777
  });
5108
4778
 
5109
4779
  // src/native/match-dialog.tsx
5110
- import * as React35 from "react";
5111
- import { AccessibilityInfo as AccessibilityInfo11, Animated as Animated16, Easing as Easing8, Modal as Modal4, Pressable as Pressable22, StyleSheet as StyleSheet40, View as View48 } from "react-native";
5112
- import Svg21, { Path as Path19 } from "react-native-svg";
5113
- import { jsx as jsx53, jsxs as jsxs48 } from "react/jsx-runtime";
4780
+ import * as React34 from "react";
4781
+ import { AccessibilityInfo as AccessibilityInfo10, Animated as Animated15, Easing as Easing7, Modal as Modal4, Pressable as Pressable22, StyleSheet as StyleSheet40, View as View44 } from "react-native";
4782
+ import Svg17, { Path as Path15 } from "react-native-svg";
4783
+ import { jsx as jsx49, jsxs as jsxs44 } from "react/jsx-runtime";
5114
4784
  function MatchDialog({ open, onOpenChange, title, description, people, primaryLabel, onPrimary, secondaryLabel }) {
5115
4785
  const { theme, haptic } = useTheme();
5116
4786
  const reduce = useReducedMotion();
5117
- const [t] = React35.useState(() => new Animated16.Value(0));
5118
- React35.useEffect(() => {
4787
+ const [t] = React34.useState(() => new Animated15.Value(0));
4788
+ React34.useEffect(() => {
5119
4789
  if (!open) return;
5120
4790
  haptic("success");
5121
- AccessibilityInfo11.announceForAccessibility([title, description].filter(Boolean).join(". "));
4791
+ AccessibilityInfo10.announceForAccessibility([title, description].filter(Boolean).join(". "));
5122
4792
  if (reduce) return;
5123
4793
  t.setValue(0);
5124
- Animated16.timing(t, { toValue: 1, duration: 520, easing: Easing8.out(Easing8.back(1.6)), useNativeDriver: true }).start();
4794
+ Animated15.timing(t, { toValue: 1, duration: 520, easing: Easing7.out(Easing7.back(1.6)), useNativeDriver: true }).start();
5125
4795
  }, [open]);
5126
- React35.useEffect(() => {
4796
+ React34.useEffect(() => {
5127
4797
  if (open && reduce) {
5128
4798
  t.stopAnimation();
5129
4799
  t.setValue(1);
5130
4800
  }
5131
4801
  }, [open, reduce, t]);
5132
4802
  const side = (dir) => ({ transform: [{ translateX: t.interpolate({ inputRange: [0, 1], outputRange: [dir * 110, dir * 50] }) }, { rotate: dir === -1 ? "-8deg" : "8deg" }] });
5133
- return /* @__PURE__ */ jsx53(Modal4, { ...modalName(title), visible: open, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onOpenChange(false), statusBarTranslucent: true, children: /* @__PURE__ */ jsxs48(View48, { accessibilityViewIsModal: true, style: [styles40.screen, { backgroundColor: theme.accent }], children: [
5134
- /* @__PURE__ */ jsx53(View48, { style: [StyleSheet40.absoluteFill, { backgroundColor: theme.accent2, opacity: 0.55 }] }),
5135
- /* @__PURE__ */ jsx53(Txt, { variant: "display", tone: "onAccent", style: styles40.title, children: title }),
5136
- description ? /* @__PURE__ */ jsx53(Txt, { tone: "onAccent", style: styles40.center, children: description }) : null,
5137
- /* @__PURE__ */ jsxs48(View48, { style: styles40.pair, "aria-hidden": true, children: [
5138
- /* @__PURE__ */ jsx53(Animated16.View, { style: [styles40.photo, side(-1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx53(Avatar, { src: people[0].src, alt: "", fallback: people[0].name.charAt(0), size: 112 }) }),
5139
- /* @__PURE__ */ jsx53(Animated16.View, { style: [styles40.photo, side(1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx53(Avatar, { src: people[1].src, alt: "", fallback: people[1].name.charAt(0), size: 112 }) }),
5140
- /* @__PURE__ */ jsx53(Animated16.View, { style: [styles40.heart, { backgroundColor: theme.onAccent, transform: [{ scale: t }] }], children: /* @__PURE__ */ jsx53(Svg21, { width: 26, height: 26, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx53(Path19, { d: "M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z", fill: theme.accent }) }) })
4803
+ return /* @__PURE__ */ jsx49(Modal4, { ...modalName(title), visible: open, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onOpenChange(false), statusBarTranslucent: true, children: /* @__PURE__ */ jsxs44(View44, { accessibilityViewIsModal: true, style: [styles40.screen, { backgroundColor: theme.accent }], children: [
4804
+ /* @__PURE__ */ jsx49(View44, { style: [StyleSheet40.absoluteFill, { backgroundColor: theme.accent2, opacity: 0.55 }] }),
4805
+ /* @__PURE__ */ jsx49(Txt, { variant: "display", tone: "onAccent", style: styles40.title, children: title }),
4806
+ description ? /* @__PURE__ */ jsx49(Txt, { tone: "onAccent", style: styles40.center, children: description }) : null,
4807
+ /* @__PURE__ */ jsxs44(View44, { style: styles40.pair, "aria-hidden": true, children: [
4808
+ /* @__PURE__ */ jsx49(Animated15.View, { style: [styles40.photo, side(-1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx49(Avatar, { src: people[0].src, alt: "", fallback: people[0].name.charAt(0), size: 112 }) }),
4809
+ /* @__PURE__ */ jsx49(Animated15.View, { style: [styles40.photo, side(1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx49(Avatar, { src: people[1].src, alt: "", fallback: people[1].name.charAt(0), size: 112 }) }),
4810
+ /* @__PURE__ */ jsx49(Animated15.View, { style: [styles40.heart, { backgroundColor: theme.onAccent, transform: [{ scale: t }] }], children: /* @__PURE__ */ jsx49(Svg17, { width: 26, height: 26, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx49(Path15, { d: "M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z", fill: theme.accent }) }) })
5141
4811
  ] }),
5142
- /* @__PURE__ */ jsxs48(View48, { style: styles40.actions, children: [
5143
- /* @__PURE__ */ jsx53(
4812
+ /* @__PURE__ */ jsxs44(View44, { style: styles40.actions, children: [
4813
+ /* @__PURE__ */ jsx49(
5144
4814
  Button,
5145
4815
  {
5146
4816
  label: primaryLabel,
@@ -5151,7 +4821,7 @@ function MatchDialog({ open, onOpenChange, title, description, people, primaryLa
5151
4821
  }
5152
4822
  }
5153
4823
  ),
5154
- /* @__PURE__ */ jsx53(Pressable22, { role: "button", onPress: () => onOpenChange(false), style: ({ pressed }) => [styles40.secondary, { borderColor: theme.onAccent, opacity: pressed ? 0.8 : 1 }], children: /* @__PURE__ */ jsx53(Txt, { variant: "label", tone: "onAccent", children: secondaryLabel }) })
4824
+ /* @__PURE__ */ jsx49(Pressable22, { role: "button", onPress: () => onOpenChange(false), style: ({ pressed }) => [styles40.secondary, { borderColor: theme.onAccent, opacity: pressed ? 0.8 : 1 }], children: /* @__PURE__ */ jsx49(Txt, { variant: "label", tone: "onAccent", children: secondaryLabel }) })
5155
4825
  ] })
5156
4826
  ] }) });
5157
4827
  }
@@ -5166,25 +4836,9 @@ var styles40 = StyleSheet40.create({
5166
4836
  secondary: { minHeight: 48, borderRadius: 999, borderWidth: 1.5, alignItems: "center", justifyContent: "center" }
5167
4837
  });
5168
4838
 
5169
- // src/native/meta-row.tsx
5170
- import { View as View49 } from "react-native";
5171
- import { jsx as jsx54, jsxs as jsxs49 } from "react/jsx-runtime";
5172
- var present = (n) => n !== null && n !== void 0 && n !== false && n !== "";
5173
- function MetaRow({ items: items2, chips = [], label, style, ...props }) {
5174
- const facts = items2.filter(present);
5175
- const tail = chips.filter(present);
5176
- return /* @__PURE__ */ jsxs49(View49, { role: "list", "aria-label": label, ...props, style: [{ flexDirection: "row", flexWrap: "wrap", alignItems: "center", columnGap: 8, rowGap: 6 }, style], children: [
5177
- facts.map((fact, i) => /* @__PURE__ */ jsxs49(View49, { role: "listitem", accessible: true, style: { flexDirection: "row", alignItems: "center", columnGap: 8 }, children: [
5178
- i > 0 ? /* @__PURE__ */ jsx54(Txt, { variant: "caption", tone: "muted", "aria-hidden": true, importantForAccessibility: "no", children: "\xB7" }) : null,
5179
- typeof fact === "string" || typeof fact === "number" ? /* @__PURE__ */ jsx54(Txt, { variant: "caption", tone: "secondary", children: fact }) : fact
5180
- ] }, i)),
5181
- tail.map((chip, i) => /* @__PURE__ */ jsx54(View49, { role: "listitem", accessible: true, children: chip }, `chip-${i}`))
5182
- ] });
5183
- }
5184
-
5185
4839
  // src/native/meter.tsx
5186
- import { StyleSheet as StyleSheet41, View as View50 } from "react-native";
5187
- import Svg22, { Circle as Circle13 } from "react-native-svg";
4840
+ import { StyleSheet as StyleSheet41, View as View45 } from "react-native";
4841
+ import Svg18, { Circle as Circle9 } from "react-native-svg";
5188
4842
 
5189
4843
  // src/meter/model.ts
5190
4844
  var MeterOptimum = { Low: "low", High: "high" };
@@ -5212,7 +4866,7 @@ function meterModel({ value = 0, min = 0, max = 100, valueText, thresholds, opti
5212
4866
  }
5213
4867
 
5214
4868
  // src/native/meter.tsx
5215
- import { jsx as jsx55, jsxs as jsxs50 } from "react/jsx-runtime";
4869
+ import { jsx as jsx50, jsxs as jsxs45 } from "react/jsx-runtime";
5216
4870
  var THICK = { sm: 6, md: 8, lg: 12 };
5217
4871
  var RING = { sm: 56, md: 96, lg: 144 };
5218
4872
  var partColor = (t, i) => [t.accent, t.warning, t.success, t.textSecondary, t.danger][i % 5];
@@ -5223,32 +4877,32 @@ function Meter({ label, value = 0, min = 0, max = 100, valueText, thresholds, op
5223
4877
  const tone3 = levelColor(theme, level);
5224
4878
  const shares = modelShares.map((p) => ({ ...p, color: partColor(theme, p.i) }));
5225
4879
  const a11y = parts ? { role: "group", "aria-label": `${label}: ${shares.map((p) => `${p.label} ${p.words}`).join(", ")}` } : { role: "meter", "aria-label": label, "aria-valuemin": min, "aria-valuemax": max, "aria-valuenow": Math.min(max, Math.max(min, value)), "aria-valuetext": words2 };
5226
- const legend = parts ? /* @__PURE__ */ jsx55(View50, { style: styles41.legend, "aria-hidden": true, children: shares.map((p, i) => /* @__PURE__ */ jsxs50(View50, { style: styles41.legendItem, children: [
5227
- /* @__PURE__ */ jsx55(View50, { style: [styles41.swatch, { backgroundColor: p.color }] }),
5228
- /* @__PURE__ */ jsx55(Txt, { variant: "caption", children: p.label }),
5229
- /* @__PURE__ */ jsx55(Txt, { variant: "caption", tone: "secondary", children: p.words })
4880
+ const legend = parts ? /* @__PURE__ */ jsx50(View45, { style: styles41.legend, "aria-hidden": true, children: shares.map((p, i) => /* @__PURE__ */ jsxs45(View45, { style: styles41.legendItem, children: [
4881
+ /* @__PURE__ */ jsx50(View45, { style: [styles41.swatch, { backgroundColor: p.color }] }),
4882
+ /* @__PURE__ */ jsx50(Txt, { variant: "caption", children: p.label }),
4883
+ /* @__PURE__ */ jsx50(Txt, { variant: "caption", tone: "secondary", children: p.words })
5230
4884
  ] }, i)) }) : null;
5231
4885
  if (variant === "ring") {
5232
4886
  const side = RING[size];
5233
4887
  const r = 44;
5234
4888
  const c = 2 * Math.PI * r;
5235
- return /* @__PURE__ */ jsxs50(View50, { accessible: true, ...a11y, style: [styles41.ringRoot, style], children: [
5236
- /* @__PURE__ */ jsxs50(View50, { style: { width: side, height: side }, children: [
5237
- /* @__PURE__ */ jsxs50(Svg22, { width: side, height: side, viewBox: "0 0 100 100", style: { transform: [{ rotate: "-90deg" }] }, children: [
5238
- /* @__PURE__ */ jsx55(Circle13, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: 9 }),
5239
- arcs.map((arc, i) => /* @__PURE__ */ jsx55(Circle13, { cx: 50, cy: 50, r, fill: "none", stroke: arc.part === void 0 ? tone3 : partColor(theme, arc.part), strokeWidth: 9, strokeDasharray: `${Math.max(0, arc.len * c - (parts ? 2 : 0))} ${c}`, strokeDashoffset: -arc.start * c, strokeLinecap: parts ? "butt" : "round" }, i))
4889
+ return /* @__PURE__ */ jsxs45(View45, { accessible: true, ...a11y, style: [styles41.ringRoot, style], children: [
4890
+ /* @__PURE__ */ jsxs45(View45, { style: { width: side, height: side }, children: [
4891
+ /* @__PURE__ */ jsxs45(Svg18, { width: side, height: side, viewBox: "0 0 100 100", style: { transform: [{ rotate: "-90deg" }] }, children: [
4892
+ /* @__PURE__ */ jsx50(Circle9, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: 9 }),
4893
+ arcs.map((arc, i) => /* @__PURE__ */ jsx50(Circle9, { cx: 50, cy: 50, r, fill: "none", stroke: arc.part === void 0 ? tone3 : partColor(theme, arc.part), strokeWidth: 9, strokeDasharray: `${Math.max(0, arc.len * c - (parts ? 2 : 0))} ${c}`, strokeDashoffset: -arc.start * c, strokeLinecap: parts ? "butt" : "round" }, i))
5240
4894
  ] }),
5241
- children !== void 0 ? /* @__PURE__ */ jsx55(View50, { style: [StyleSheet41.absoluteFill, styles41.center], children }) : null
4895
+ children !== void 0 ? /* @__PURE__ */ jsx50(View45, { style: [StyleSheet41.absoluteFill, styles41.center], children }) : null
5242
4896
  ] }),
5243
4897
  legend
5244
4898
  ] });
5245
4899
  }
5246
- return /* @__PURE__ */ jsxs50(View50, { accessible: true, ...a11y, style: [styles41.root, style], children: [
5247
- showLabel ? /* @__PURE__ */ jsxs50(View50, { style: styles41.header, "aria-hidden": true, children: [
5248
- /* @__PURE__ */ jsx55(Txt, { variant: "caption", numberOfLines: 1, style: styles41.caption, children: label }),
5249
- !parts ? /* @__PURE__ */ jsx55(Txt, { variant: "caption", tone: "secondary", children: words2 }) : null
4900
+ return /* @__PURE__ */ jsxs45(View45, { accessible: true, ...a11y, style: [styles41.root, style], children: [
4901
+ showLabel ? /* @__PURE__ */ jsxs45(View45, { style: styles41.header, "aria-hidden": true, children: [
4902
+ /* @__PURE__ */ jsx50(Txt, { variant: "caption", numberOfLines: 1, style: styles41.caption, children: label }),
4903
+ !parts ? /* @__PURE__ */ jsx50(Txt, { variant: "caption", tone: "secondary", children: words2 }) : null
5250
4904
  ] }) : null,
5251
- /* @__PURE__ */ jsx55(View50, { style: [styles41.track, { height: THICK[size], backgroundColor: theme.surface3 }], children: parts ? shares.map((p, i) => /* @__PURE__ */ jsx55(View50, { style: { width: `${p.ratio * 100}%`, backgroundColor: p.color } }, i)) : /* @__PURE__ */ jsx55(View50, { style: [styles41.fill, { width: `${ratio * 100}%`, backgroundColor: tone3 }] }) }),
4905
+ /* @__PURE__ */ jsx50(View45, { style: [styles41.track, { height: THICK[size], backgroundColor: theme.surface3 }], children: parts ? shares.map((p, i) => /* @__PURE__ */ jsx50(View45, { style: { width: `${p.ratio * 100}%`, backgroundColor: p.color } }, i)) : /* @__PURE__ */ jsx50(View45, { style: [styles41.fill, { width: `${ratio * 100}%`, backgroundColor: tone3 }] }) }),
5252
4906
  legend
5253
4907
  ] });
5254
4908
  }
@@ -5266,48 +4920,48 @@ var styles41 = StyleSheet41.create({
5266
4920
  });
5267
4921
 
5268
4922
  // src/native/number-ticker.tsx
5269
- import * as React36 from "react";
5270
- import { AccessibilityInfo as AccessibilityInfo12, Animated as Animated17, Easing as Easing9, Text as Text15 } from "react-native";
5271
- import { jsx as jsx56 } from "react/jsx-runtime";
4923
+ import * as React35 from "react";
4924
+ import { AccessibilityInfo as AccessibilityInfo11, Animated as Animated16, Easing as Easing8, Text as Text15 } from "react-native";
4925
+ import { jsx as jsx51 } from "react/jsx-runtime";
5272
4926
  function NumberTicker({ value, locale, format, trigger = "mount", duration = 1100, announce, variant = "display", tone: tone3 = "text", style }) {
5273
4927
  const reduce = useReducedMotion();
5274
- const writer = React36.useMemo(() => new Intl.NumberFormat(locale, format), [locale, format]);
5275
- const [shown, setShown] = React36.useState(() => reduce ? value : trigger === "mount" ? 0 : value);
5276
- const [anim] = React36.useState(() => new Animated17.Value(trigger === "mount" ? 0 : value));
5277
- const first = React36.useRef(true);
5278
- React36.useEffect(() => {
4928
+ const writer = React35.useMemo(() => new Intl.NumberFormat(locale, format), [locale, format]);
4929
+ const [shown, setShown] = React35.useState(() => reduce ? value : trigger === "mount" ? 0 : value);
4930
+ const [anim] = React35.useState(() => new Animated16.Value(trigger === "mount" ? 0 : value));
4931
+ const first = React35.useRef(true);
4932
+ React35.useEffect(() => {
5279
4933
  const isFirst = first.current;
5280
4934
  first.current = false;
5281
4935
  if (reduce || !isFirst && trigger === "mount" || isFirst && trigger === "change") {
5282
4936
  anim.setValue(value);
5283
4937
  setShown(value);
5284
- if (!isFirst && announce) AccessibilityInfo12.announceForAccessibility(writer.format(value));
4938
+ if (!isFirst && announce) AccessibilityInfo11.announceForAccessibility(writer.format(value));
5285
4939
  return;
5286
4940
  }
5287
4941
  const id = anim.addListener(({ value: v }) => setShown(v));
5288
- const run = Animated17.timing(anim, { toValue: value, duration, easing: Easing9.out(Easing9.cubic), useNativeDriver: false });
4942
+ const run = Animated16.timing(anim, { toValue: value, duration, easing: Easing8.out(Easing8.cubic), useNativeDriver: false });
5289
4943
  run.start(({ finished }) => {
5290
4944
  if (finished) setShown(value);
5291
4945
  });
5292
- if (!isFirst && announce) AccessibilityInfo12.announceForAccessibility(writer.format(value));
4946
+ if (!isFirst && announce) AccessibilityInfo11.announceForAccessibility(writer.format(value));
5293
4947
  return () => {
5294
4948
  run.stop();
5295
4949
  anim.removeListener(id);
5296
4950
  };
5297
4951
  }, [value, reduce, trigger, duration, announce, anim, writer]);
5298
4952
  const digits = Number.isInteger(value) ? Math.round(shown) : shown;
5299
- return /* @__PURE__ */ jsx56(Txt, { variant, tone: tone3, "aria-label": writer.format(value), style: [{ fontVariant: ["lining-nums", "tabular-nums"] }, style], children: /* @__PURE__ */ jsx56(Text15, { "aria-hidden": true, children: writer.format(digits) }) });
4953
+ return /* @__PURE__ */ jsx51(Txt, { variant, tone: tone3, "aria-label": writer.format(value), style: [{ fontVariant: ["lining-nums", "tabular-nums"] }, style], children: /* @__PURE__ */ jsx51(Text15, { "aria-hidden": true, children: writer.format(digits) }) });
5300
4954
  }
5301
4955
 
5302
4956
  // src/native/onboarding.tsx
5303
- import * as React37 from "react";
5304
- import { ScrollView as ScrollView6, StyleSheet as StyleSheet42, View as View51 } from "react-native";
5305
- import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
4957
+ import * as React36 from "react";
4958
+ import { ScrollView as ScrollView6, StyleSheet as StyleSheet42, View as View46 } from "react-native";
4959
+ import { jsx as jsx52, jsxs as jsxs46 } from "react/jsx-runtime";
5306
4960
  function Onboarding({ slides, labels, onDone, style }) {
5307
4961
  const { theme, insets, haptic } = useTheme();
5308
- const [width, setWidth] = React37.useState(0);
5309
- const [page, setPage] = React37.useState(0);
5310
- const scroller = React37.useRef(null);
4962
+ const [width, setWidth] = React36.useState(0);
4963
+ const [page, setPage] = React36.useState(0);
4964
+ const scroller = React36.useRef(null);
5311
4965
  const last = page === slides.length - 1;
5312
4966
  const go = (to) => {
5313
4967
  scroller.current?.scrollTo({ x: to * width, animated: true });
@@ -5317,15 +4971,15 @@ function Onboarding({ slides, labels, onDone, style }) {
5317
4971
  const onScroll = (e) => {
5318
4972
  if (width > 0) setPage(Math.round(e.nativeEvent.contentOffset.x / width));
5319
4973
  };
5320
- return /* @__PURE__ */ jsxs51(View51, { style: [styles42.root, { backgroundColor: theme.surface0, paddingTop: insets.top + 8, paddingBottom: insets.bottom + 16 }, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
5321
- /* @__PURE__ */ jsx57(View51, { style: styles42.top, children: !last ? /* @__PURE__ */ jsx57(Button, { label: labels.skip, variant: "ghost", size: "sm", onPress: onDone }) : /* @__PURE__ */ jsx57(View51, { style: styles42.spacer }) }),
5322
- /* @__PURE__ */ jsx57(ScrollView6, { ref: scroller, tabIndex: 0, horizontal: true, pagingEnabled: true, showsHorizontalScrollIndicator: false, onMomentumScrollEnd: onScroll, style: styles42.flex, children: slides.map((slide, i) => /* @__PURE__ */ jsxs51(View51, { style: [styles42.slide, { width: width || void 0 }], accessible: true, "aria-label": `${labels.position(i + 1, slides.length)}. ${slide.title}. ${slide.description}`, "aria-hidden": i !== page, children: [
5323
- slide.visual ? /* @__PURE__ */ jsx57(View51, { style: styles42.visual, children: slide.visual }) : null,
5324
- /* @__PURE__ */ jsx57(Txt, { variant: "display", style: styles42.centred, children: slide.title }),
5325
- /* @__PURE__ */ jsx57(Txt, { tone: "secondary", style: [styles42.centred, styles42.description], children: slide.description })
4974
+ return /* @__PURE__ */ jsxs46(View46, { style: [styles42.root, { backgroundColor: theme.surface0, paddingTop: insets.top + 8, paddingBottom: insets.bottom + 16 }, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
4975
+ /* @__PURE__ */ jsx52(View46, { style: styles42.top, children: !last ? /* @__PURE__ */ jsx52(Button, { label: labels.skip, variant: "ghost", size: "sm", onPress: onDone }) : /* @__PURE__ */ jsx52(View46, { style: styles42.spacer }) }),
4976
+ /* @__PURE__ */ jsx52(ScrollView6, { ref: scroller, tabIndex: 0, horizontal: true, pagingEnabled: true, showsHorizontalScrollIndicator: false, onMomentumScrollEnd: onScroll, style: styles42.flex, children: slides.map((slide, i) => /* @__PURE__ */ jsxs46(View46, { style: [styles42.slide, { width: width || void 0 }], accessible: true, "aria-label": `${labels.position(i + 1, slides.length)}. ${slide.title}. ${slide.description}`, "aria-hidden": i !== page, children: [
4977
+ slide.visual ? /* @__PURE__ */ jsx52(View46, { style: styles42.visual, children: slide.visual }) : null,
4978
+ /* @__PURE__ */ jsx52(Txt, { variant: "display", style: styles42.centred, children: slide.title }),
4979
+ /* @__PURE__ */ jsx52(Txt, { tone: "secondary", style: [styles42.centred, styles42.description], children: slide.description })
5326
4980
  ] }, i)) }),
5327
- /* @__PURE__ */ jsx57(View51, { style: styles42.dots, "aria-hidden": true, children: slides.map((_, i) => /* @__PURE__ */ jsx57(View51, { style: [styles42.dot, { width: i === page ? 22 : 8, backgroundColor: i === page ? theme.accent : theme.borderStrong }] }, i)) }),
5328
- /* @__PURE__ */ jsx57(View51, { style: styles42.bottom, children: /* @__PURE__ */ jsx57(Button, { label: last ? labels.done : labels.next, variant: last ? "gradient" : "primary", size: "lg", onPress: () => last ? onDone() : go(page + 1) }) })
4981
+ /* @__PURE__ */ jsx52(View46, { style: styles42.dots, "aria-hidden": true, children: slides.map((_, i) => /* @__PURE__ */ jsx52(View46, { style: [styles42.dot, { width: i === page ? 22 : 8, backgroundColor: i === page ? theme.accent : theme.borderStrong }] }, i)) }),
4982
+ /* @__PURE__ */ jsx52(View46, { style: styles42.bottom, children: /* @__PURE__ */ jsx52(Button, { label: last ? labels.done : labels.next, variant: last ? "gradient" : "primary", size: "lg", onPress: () => last ? onDone() : go(page + 1) }) })
5329
4983
  ] });
5330
4984
  }
5331
4985
  var styles42 = StyleSheet42.create({
@@ -5343,16 +4997,16 @@ var styles42 = StyleSheet42.create({
5343
4997
  });
5344
4998
 
5345
4999
  // src/native/otp-input.tsx
5346
- import * as React38 from "react";
5347
- import { Platform as Platform3, Pressable as Pressable23, StyleSheet as StyleSheet43, TextInput as TextInput6, View as View52 } from "react-native";
5348
- import { jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
5000
+ import * as React37 from "react";
5001
+ import { Platform as Platform3, Pressable as Pressable23, StyleSheet as StyleSheet43, TextInput as TextInput6, View as View47 } from "react-native";
5002
+ import { jsx as jsx53, jsxs as jsxs47 } from "react/jsx-runtime";
5349
5003
  function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode = "numeric", invalid, disabled, autoFocus, style }) {
5350
5004
  const { theme, radius: radius3, haptic } = useTheme();
5351
- const [own, setOwn] = React38.useState("");
5005
+ const [own, setOwn] = React37.useState("");
5352
5006
  const code = value ?? own;
5353
- const [focused, setFocused] = React38.useState(false);
5354
- const input = React38.useRef(null);
5355
- React38.useEffect(() => {
5007
+ const [focused, setFocused] = React37.useState(false);
5008
+ const input = React37.useRef(null);
5009
+ React37.useEffect(() => {
5356
5010
  if (invalid) haptic("warning");
5357
5011
  }, [invalid, haptic]);
5358
5012
  const change = (raw) => {
@@ -5364,11 +5018,11 @@ function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode =
5364
5018
  onComplete?.(next);
5365
5019
  }
5366
5020
  };
5367
- return /* @__PURE__ */ jsxs52(Pressable23, { onPress: () => input.current?.focus(), disabled, accessible: false, style: [styles43.root, style], children: [
5368
- /* @__PURE__ */ jsx58(View52, { style: styles43.boxes, "aria-hidden": true, children: Array.from({ length }, (_, i) => {
5021
+ return /* @__PURE__ */ jsxs47(Pressable23, { onPress: () => input.current?.focus(), disabled, accessible: false, style: [styles43.root, style], children: [
5022
+ /* @__PURE__ */ jsx53(View47, { style: styles43.boxes, "aria-hidden": true, children: Array.from({ length }, (_, i) => {
5369
5023
  const active = focused && i === Math.min(code.length, length - 1);
5370
- return /* @__PURE__ */ jsx58(
5371
- View52,
5024
+ return /* @__PURE__ */ jsx53(
5025
+ View47,
5372
5026
  {
5373
5027
  style: [
5374
5028
  styles43.box,
@@ -5379,12 +5033,12 @@ function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode =
5379
5033
  borderWidth: invalid || active ? 2 : 1
5380
5034
  }
5381
5035
  ],
5382
- children: /* @__PURE__ */ jsx58(Txt, { variant: "title", children: code[i] ?? "" })
5036
+ children: /* @__PURE__ */ jsx53(Txt, { variant: "title", children: code[i] ?? "" })
5383
5037
  },
5384
5038
  i
5385
5039
  );
5386
5040
  }) }),
5387
- /* @__PURE__ */ jsx58(
5041
+ /* @__PURE__ */ jsx53(
5388
5042
  TextInput6,
5389
5043
  {
5390
5044
  ref: input,
@@ -5416,11 +5070,11 @@ var styles43 = StyleSheet43.create({
5416
5070
  });
5417
5071
 
5418
5072
  // src/native/pagination.tsx
5419
- import { Pressable as Pressable24, StyleSheet as StyleSheet44, Text as Text16, View as View53 } from "react-native";
5420
- import Svg23, { Path as Path20 } from "react-native-svg";
5421
- import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
5073
+ import { Pressable as Pressable24, StyleSheet as StyleSheet44, Text as Text16, View as View48 } from "react-native";
5074
+ import Svg19, { Path as Path16 } from "react-native-svg";
5075
+ import { jsx as jsx54, jsxs as jsxs48 } from "react/jsx-runtime";
5422
5076
  function Chevron3({ direction, color }) {
5423
- return /* @__PURE__ */ jsx59(Svg23, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx59(Path20, { d: direction === "left" ? "m15 6-6 6 6 6" : "m9 6 6 6-6 6" }) });
5077
+ return /* @__PURE__ */ jsx54(Svg19, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx54(Path16, { d: direction === "left" ? "m15 6-6 6 6 6" : "m9 6 6 6-6 6" }) });
5424
5078
  }
5425
5079
  function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, onPrevious, onNext, status, disabled, labels, style }) {
5426
5080
  const { theme, radius: radius3 } = useTheme();
@@ -5429,7 +5083,7 @@ function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, o
5429
5083
  const current = Math.min(Math.max(1, page), count);
5430
5084
  const canPrevious = !disabled && (paged ? current > 1 : Boolean(hasPrevious));
5431
5085
  const canNext = !disabled && (paged ? current < count : Boolean(hasNext));
5432
- const button = (direction, enabled, onPress, label) => /* @__PURE__ */ jsx59(
5086
+ const button = (direction, enabled, onPress, label) => /* @__PURE__ */ jsx54(
5433
5087
  Pressable24,
5434
5088
  {
5435
5089
  role: "button",
@@ -5442,13 +5096,13 @@ function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, o
5442
5096
  styles44.button,
5443
5097
  { borderRadius: radius3.sm, borderColor: theme.borderDefault, backgroundColor: theme.surface1, opacity: enabled ? pressed ? 0.8 : 1 : 0.4 }
5444
5098
  ],
5445
- children: /* @__PURE__ */ jsx59(Chevron3, { direction, color: theme.textPrimary })
5099
+ children: /* @__PURE__ */ jsx54(Chevron3, { direction, color: theme.textPrimary })
5446
5100
  }
5447
5101
  );
5448
5102
  const text = status ?? (paged ? labels.compact(current, count) : null);
5449
- return /* @__PURE__ */ jsxs53(View53, { role: "navigation", style: [styles44.row, style], children: [
5103
+ return /* @__PURE__ */ jsxs48(View48, { role: "navigation", style: [styles44.row, style], children: [
5450
5104
  button("left", canPrevious, paged ? () => onPageChange?.(current - 1) : onPrevious, labels.previous),
5451
- text ? /* @__PURE__ */ jsx59(Text16, { "aria-live": "polite", style: [styles44.status, { color: theme.textSecondary }], children: text }) : null,
5105
+ text ? /* @__PURE__ */ jsx54(Text16, { "aria-live": "polite", style: [styles44.status, { color: theme.textSecondary }], children: text }) : null,
5452
5106
  button("right", canNext, paged ? () => onPageChange?.(current + 1) : onNext, labels.next)
5453
5107
  ] });
5454
5108
  }
@@ -5459,8 +5113,8 @@ var styles44 = StyleSheet44.create({
5459
5113
  });
5460
5114
 
5461
5115
  // src/native/permission-prompt.tsx
5462
- import { StyleSheet as StyleSheet45, View as View54 } from "react-native";
5463
- import { Fragment as Fragment9, jsx as jsx60, jsxs as jsxs54 } from "react/jsx-runtime";
5116
+ import { StyleSheet as StyleSheet45, View as View49 } from "react-native";
5117
+ import { Fragment as Fragment9, jsx as jsx55, jsxs as jsxs49 } from "react/jsx-runtime";
5464
5118
  function PermissionPrompt({
5465
5119
  status,
5466
5120
  title,
@@ -5477,15 +5131,15 @@ function PermissionPrompt({
5477
5131
  style
5478
5132
  }) {
5479
5133
  const { theme, radius: radius3 } = useTheme();
5480
- if (status === "granted") return /* @__PURE__ */ jsx60(Fragment9, { children: children ?? null });
5134
+ if (status === "granted") return /* @__PURE__ */ jsx55(Fragment9, { children: children ?? null });
5481
5135
  const blocked = status === "blocked" || status === "denied" && Boolean(onOpenSettings);
5482
- return /* @__PURE__ */ jsxs54(View54, { style: [styles45.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5483
- /* @__PURE__ */ jsx60(Mascot, { bird: mascot, mood: blocked ? "error" : "welcome", size: 104 }),
5484
- /* @__PURE__ */ jsx60(Txt, { variant: "title", style: styles45.centred, children: title }),
5485
- /* @__PURE__ */ jsx60(Txt, { tone: "secondary", style: styles45.centred, children: blocked && blockedDescription ? blockedDescription : description }),
5486
- /* @__PURE__ */ jsxs54(View54, { style: styles45.actions, children: [
5487
- blocked && settingsLabel && onOpenSettings ? /* @__PURE__ */ jsx60(Button, { label: settingsLabel, variant: "primary", onPress: onOpenSettings }) : /* @__PURE__ */ jsx60(Button, { label: allowLabel, variant: "primary", onPress: onAllow }),
5488
- dismissLabel && onDismiss ? /* @__PURE__ */ jsx60(Button, { label: dismissLabel, variant: "ghost", onPress: onDismiss }) : null
5136
+ return /* @__PURE__ */ jsxs49(View49, { style: [styles45.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5137
+ /* @__PURE__ */ jsx55(Mascot, { bird: mascot, mood: blocked ? "error" : "welcome", size: 104 }),
5138
+ /* @__PURE__ */ jsx55(Txt, { variant: "title", style: styles45.centred, children: title }),
5139
+ /* @__PURE__ */ jsx55(Txt, { tone: "secondary", style: styles45.centred, children: blocked && blockedDescription ? blockedDescription : description }),
5140
+ /* @__PURE__ */ jsxs49(View49, { style: styles45.actions, children: [
5141
+ blocked && settingsLabel && onOpenSettings ? /* @__PURE__ */ jsx55(Button, { label: settingsLabel, variant: "primary", onPress: onOpenSettings }) : /* @__PURE__ */ jsx55(Button, { label: allowLabel, variant: "primary", onPress: onAllow }),
5142
+ dismissLabel && onDismiss ? /* @__PURE__ */ jsx55(Button, { label: dismissLabel, variant: "ghost", onPress: onDismiss }) : null
5489
5143
  ] })
5490
5144
  ] });
5491
5145
  }
@@ -5496,9 +5150,9 @@ var styles45 = StyleSheet45.create({
5496
5150
  });
5497
5151
 
5498
5152
  // src/native/phoenix.tsx
5499
- import { useEffect as useEffect21, useState as useState38 } from "react";
5500
- import { AccessibilityInfo as AccessibilityInfo13, Animated as Animated18, Easing as Easing10, View as View55 } from "react-native";
5501
- import Svg24, { Circle as Circle14, Defs as Defs12, LinearGradient as LinearGradient9, Path as Path21, RadialGradient as RadialGradient9, Stop as Stop12 } from "react-native-svg";
5153
+ import { useEffect as useEffect20, useState as useState37 } from "react";
5154
+ import { AccessibilityInfo as AccessibilityInfo12, Animated as Animated17, Easing as Easing9, View as View50 } from "react-native";
5155
+ import Svg20, { Circle as Circle10, Defs as Defs8, LinearGradient as LinearGradient7, Path as Path17, RadialGradient as RadialGradient5, Stop as Stop8 } from "react-native-svg";
5502
5156
 
5503
5157
  // src/mascots/phoenix-geometry.ts
5504
5158
  var PHOENIX = {
@@ -5521,17 +5175,17 @@ var PHOENIX_PALETTES = {
5521
5175
  };
5522
5176
 
5523
5177
  // src/native/phoenix.tsx
5524
- import { jsx as jsx61, jsxs as jsxs55 } from "react/jsx-runtime";
5178
+ import { jsx as jsx56, jsxs as jsxs50 } from "react/jsx-runtime";
5525
5179
  function useFloat(animated) {
5526
- const [y] = useState38(() => new Animated18.Value(0));
5527
- useEffect21(() => {
5180
+ const [y] = useState37(() => new Animated17.Value(0));
5181
+ useEffect20(() => {
5528
5182
  if (!animated) return;
5529
5183
  let loop;
5530
5184
  let cancelled = false;
5531
- void AccessibilityInfo13.isReduceMotionEnabled().then((reduce) => {
5185
+ void AccessibilityInfo12.isReduceMotionEnabled().then((reduce) => {
5532
5186
  if (reduce || cancelled) return;
5533
- const step = (toValue) => Animated18.timing(y, { toValue, duration: 2500, easing: Easing10.inOut(Easing10.ease), useNativeDriver: true });
5534
- loop = Animated18.loop(Animated18.sequence([step(-6), step(0)]));
5187
+ const step = (toValue) => Animated17.timing(y, { toValue, duration: 2500, easing: Easing9.inOut(Easing9.ease), useNativeDriver: true });
5188
+ loop = Animated17.loop(Animated17.sequence([step(-6), step(0)]));
5535
5189
  loop.start();
5536
5190
  });
5537
5191
  return () => {
@@ -5546,140 +5200,45 @@ function Phoenix({ tone: tone3 = "own", size = 120, animated = true, title, styl
5546
5200
  const id = useSvgId("kzp");
5547
5201
  const y = useFloat(animated);
5548
5202
  const p = tone3 === "brand" ? { left: [theme.accent2, theme.accent], right: [theme.accent, theme.accent2], core: ["#ffffff", theme.accent], body: theme.surface3, edge: theme.borderStrong, crest: theme.accent } : PHOENIX_PALETTES.own;
5549
- return /* @__PURE__ */ jsx61(View55, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx61(Animated18.View, { style: { transform: [{ translateY: y }] }, children: /* @__PURE__ */ jsxs55(Svg24, { width: size, height: size, viewBox: "0 0 120 120", children: [
5550
- /* @__PURE__ */ jsxs55(Defs12, { children: [
5551
- /* @__PURE__ */ jsxs55(LinearGradient9, { id: `${id}l`, x1: "1", y1: "0", x2: "0", y2: "1", children: [
5552
- /* @__PURE__ */ jsx61(Stop12, { offset: "0%", stopColor: p.left[0] }),
5553
- /* @__PURE__ */ jsx61(Stop12, { offset: "100%", stopColor: p.left[1] })
5203
+ return /* @__PURE__ */ jsx56(View50, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx56(Animated17.View, { style: { transform: [{ translateY: y }] }, children: /* @__PURE__ */ jsxs50(Svg20, { width: size, height: size, viewBox: "0 0 120 120", children: [
5204
+ /* @__PURE__ */ jsxs50(Defs8, { children: [
5205
+ /* @__PURE__ */ jsxs50(LinearGradient7, { id: `${id}l`, x1: "1", y1: "0", x2: "0", y2: "1", children: [
5206
+ /* @__PURE__ */ jsx56(Stop8, { offset: "0%", stopColor: p.left[0] }),
5207
+ /* @__PURE__ */ jsx56(Stop8, { offset: "100%", stopColor: p.left[1] })
5554
5208
  ] }),
5555
- /* @__PURE__ */ jsxs55(LinearGradient9, { id: `${id}r`, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5556
- /* @__PURE__ */ jsx61(Stop12, { offset: "0%", stopColor: p.right[0] }),
5557
- /* @__PURE__ */ jsx61(Stop12, { offset: "100%", stopColor: p.right[1] })
5209
+ /* @__PURE__ */ jsxs50(LinearGradient7, { id: `${id}r`, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5210
+ /* @__PURE__ */ jsx56(Stop8, { offset: "0%", stopColor: p.right[0] }),
5211
+ /* @__PURE__ */ jsx56(Stop8, { offset: "100%", stopColor: p.right[1] })
5558
5212
  ] }),
5559
- /* @__PURE__ */ jsxs55(RadialGradient9, { id: `${id}c`, children: [
5560
- /* @__PURE__ */ jsx61(Stop12, { offset: "0%", stopColor: p.core[0] }),
5561
- /* @__PURE__ */ jsx61(Stop12, { offset: "100%", stopColor: p.core[1], stopOpacity: 0 })
5213
+ /* @__PURE__ */ jsxs50(RadialGradient5, { id: `${id}c`, children: [
5214
+ /* @__PURE__ */ jsx56(Stop8, { offset: "0%", stopColor: p.core[0] }),
5215
+ /* @__PURE__ */ jsx56(Stop8, { offset: "100%", stopColor: p.core[1], stopOpacity: 0 })
5562
5216
  ] })
5563
5217
  ] }),
5564
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.wingL, fill: `url(#${id}l)` }),
5565
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.wingR, fill: `url(#${id}r)` }),
5566
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.tailL, fill: `url(#${id}l)`, opacity: 0.7 }),
5567
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.tailR, fill: `url(#${id}r)`, opacity: 0.7 }),
5568
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.body, fill: p.body, stroke: p.edge, strokeOpacity: 0.5 }),
5569
- /* @__PURE__ */ jsx61(Circle14, { cx: 60, cy: 58, r: 12, fill: `url(#${id}c)` }),
5570
- /* @__PURE__ */ jsx61(Circle14, { cx: 60, cy: 58, r: 3.5, fill: "#ffffff" }),
5571
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.crest, stroke: p.crest, strokeWidth: 2, strokeLinecap: "round" })
5218
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.wingL, fill: `url(#${id}l)` }),
5219
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.wingR, fill: `url(#${id}r)` }),
5220
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.tailL, fill: `url(#${id}l)`, opacity: 0.7 }),
5221
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.tailR, fill: `url(#${id}r)`, opacity: 0.7 }),
5222
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.body, fill: p.body, stroke: p.edge, strokeOpacity: 0.5 }),
5223
+ /* @__PURE__ */ jsx56(Circle10, { cx: 60, cy: 58, r: 12, fill: `url(#${id}c)` }),
5224
+ /* @__PURE__ */ jsx56(Circle10, { cx: 60, cy: 58, r: 3.5, fill: "#ffffff" }),
5225
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.crest, stroke: p.crest, strokeWidth: 2, strokeLinecap: "round" })
5572
5226
  ] }) }) });
5573
5227
  }
5574
5228
 
5575
- // src/native/photo-grid.tsx
5576
- import * as React40 from "react";
5577
- import { Image as Image4, Pressable as Pressable25, StyleSheet as StyleSheet46, View as View56 } from "react-native";
5578
- import Svg25, { Path as Path22 } from "react-native-svg";
5579
- import { jsx as jsx62, jsxs as jsxs56 } from "react/jsx-runtime";
5580
- function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, columns = 3, labels, style }) {
5581
- const { theme, radius: radius3, haptic } = useTheme();
5582
- const [menu, setMenu] = React40.useState(null);
5583
- const move2 = (from, to) => {
5584
- if (to < 0 || to >= value.length || from === to) return;
5585
- const next = [...value];
5586
- const [photo] = next.splice(from, 1);
5587
- next.splice(to, 0, photo);
5588
- haptic("selection");
5589
- onValueChange(next);
5590
- };
5591
- const remove = (i) => {
5592
- haptic("impact");
5593
- onValueChange(value.filter((_, j) => j !== i));
5594
- };
5595
- const width = `${100 / columns}%`;
5596
- return /* @__PURE__ */ jsxs56(View56, { style: [styles46.grid, style], children: [
5597
- Array.from({ length: slots }, (_, i) => {
5598
- const photo = value[i];
5599
- const cell = [styles46.slot, { borderRadius: radius3.lg, aspectRatio: 3 / 4 }];
5600
- return /* @__PURE__ */ jsx62(View56, { style: [styles46.cell, { width }], children: photo ? /* @__PURE__ */ jsxs56(
5601
- Pressable25,
5602
- {
5603
- role: "button",
5604
- "aria-label": [labels.photo(i + 1), photo.alt, i === 0 ? labels.main : null].filter(Boolean).join(", "),
5605
- onPress: () => setMenu(i),
5606
- onLongPress: () => {
5607
- haptic("impact");
5608
- setMenu(i);
5609
- },
5610
- accessibilityActions: [
5611
- ...i > 0 ? [{ name: "makeMain", label: labels.makeMain }, { name: "earlier", label: labels.moveEarlier }] : [],
5612
- ...i < value.length - 1 ? [{ name: "later", label: labels.moveLater }] : [],
5613
- { name: "remove", label: labels.remove }
5614
- ],
5615
- onAccessibilityAction: (e) => {
5616
- const name = e.nativeEvent.actionName;
5617
- if (name === "makeMain") move2(i, 0);
5618
- if (name === "earlier") move2(i, i - 1);
5619
- if (name === "later") move2(i, i + 1);
5620
- if (name === "remove") remove(i);
5621
- },
5622
- style: [...cell, { backgroundColor: theme.surface3, overflow: "hidden" }],
5623
- children: [
5624
- /* @__PURE__ */ jsx62(Image4, { source: { uri: photo.uri }, style: StyleSheet46.absoluteFill, resizeMode: "cover" }),
5625
- i === 0 ? /* @__PURE__ */ jsx62(View56, { style: [styles46.main, { backgroundColor: theme.accent, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx62(Txt, { variant: "caption", tone: "onAccent", style: styles46.mainText, children: labels.main }) }) : null
5626
- ]
5627
- }
5628
- ) : /* @__PURE__ */ jsx62(
5629
- Pressable25,
5630
- {
5631
- role: "button",
5632
- "aria-label": labels.add,
5633
- disabled: !onAdd || i > value.length,
5634
- onPress: onAdd,
5635
- style: ({ pressed }) => [
5636
- ...cell,
5637
- styles46.empty,
5638
- { borderColor: i < required ? theme.accent : theme.borderStrong, backgroundColor: pressed ? theme.surface2 : theme.surface1, opacity: i > value.length ? 0.5 : 1 }
5639
- ],
5640
- children: /* @__PURE__ */ jsx62(View56, { style: [styles46.plus, { backgroundColor: i === value.length ? theme.accent : theme.surface3, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx62(Svg25, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx62(Path22, { d: "M12 5v14M5 12h14", stroke: i === value.length ? theme.onAccent : theme.textSecondary, strokeWidth: 2.6, strokeLinecap: "round" }) }) })
5641
- }
5642
- ) }, photo?.id ?? `empty-${i}`);
5643
- }),
5644
- /* @__PURE__ */ jsx62(
5645
- ActionSheet,
5646
- {
5647
- open: menu !== null,
5648
- onOpenChange: (open) => !open && setMenu(null),
5649
- title: menu !== null ? labels.photo(menu + 1) : "",
5650
- cancelLabel: labels.cancel,
5651
- actions: menu === null ? [] : [
5652
- ...menu > 0 ? [{ label: labels.makeMain, onPress: () => move2(menu, 0) }, { label: labels.moveEarlier, onPress: () => move2(menu, menu - 1) }] : [],
5653
- ...menu < value.length - 1 ? [{ label: labels.moveLater, onPress: () => move2(menu, menu + 1) }] : [],
5654
- { label: labels.remove, destructive: true, onPress: () => remove(menu) }
5655
- ]
5656
- }
5657
- )
5658
- ] });
5659
- }
5660
- var styles46 = StyleSheet46.create({
5661
- grid: { flexDirection: "row", flexWrap: "wrap", marginHorizontal: -4 },
5662
- cell: { padding: 4 },
5663
- slot: { width: "100%" },
5664
- empty: { borderWidth: 1.5, borderStyle: "dashed", alignItems: "center", justifyContent: "center" },
5665
- plus: { width: 32, height: 32, alignItems: "center", justifyContent: "center" },
5666
- main: { position: "absolute", left: 6, bottom: 6, paddingHorizontal: 8, paddingVertical: 2 },
5667
- mainText: { fontWeight: "800", textTransform: "uppercase", letterSpacing: 0.5 }
5668
- });
5669
-
5670
5229
  // src/native/profile-card.tsx
5671
- import * as React41 from "react";
5672
- import { Animated as Animated19, StyleSheet as StyleSheet47, View as View57 } from "react-native";
5673
- import Svg26, { Defs as Defs13, LinearGradient as LinearGradient10, Rect as Rect3, Stop as Stop13 } from "react-native-svg";
5674
- import { jsx as jsx63, jsxs as jsxs57 } from "react/jsx-runtime";
5230
+ import * as React39 from "react";
5231
+ import { Animated as Animated18, StyleSheet as StyleSheet46, View as View51 } from "react-native";
5232
+ import Svg21, { Defs as Defs9, LinearGradient as LinearGradient8, Rect as Rect3, Stop as Stop9 } from "react-native-svg";
5233
+ import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
5675
5234
  var ratioOf = (value, max = 100) => Math.min(1, Math.max(0, value / (max || 1)));
5676
5235
  function Bar({ label, ratio, words: words2, animated, delay }) {
5677
5236
  const { theme } = useTheme();
5678
5237
  const t = useEntrance(animated, delay, 900);
5679
- const [width, setWidth] = React41.useState(0);
5238
+ const [width, setWidth] = React39.useState(0);
5680
5239
  const translateX = t.interpolate({ inputRange: [0, 1], outputRange: [-width * ratio, 0] });
5681
- return /* @__PURE__ */ jsx63(
5682
- View57,
5240
+ return /* @__PURE__ */ jsx57(
5241
+ View51,
5683
5242
  {
5684
5243
  accessible: true,
5685
5244
  role: "meter",
@@ -5689,42 +5248,42 @@ function Bar({ label, ratio, words: words2, animated, delay }) {
5689
5248
  "aria-valuenow": Math.round(ratio * 100),
5690
5249
  "aria-valuetext": words2,
5691
5250
  onLayout: (e) => setWidth(e.nativeEvent.layout.width),
5692
- style: [styles47.track, { backgroundColor: theme.surface3 }],
5693
- children: /* @__PURE__ */ jsx63(Animated19.View, { style: [styles47.fill, { width: `${ratio * 100}%`, backgroundColor: theme.accent, transform: [{ translateX }] }] })
5251
+ style: [styles46.track, { backgroundColor: theme.surface3 }],
5252
+ children: /* @__PURE__ */ jsx57(Animated18.View, { style: [styles46.fill, { width: `${ratio * 100}%`, backgroundColor: theme.accent, transform: [{ translateX }] }] })
5694
5253
  }
5695
5254
  );
5696
5255
  }
5697
5256
  function ProfileCard({ visual, name, statLabel, value = 100, valueText, stats, caption, children, animated = true, style, ...props }) {
5698
5257
  const { theme, radius: radius3 } = useTheme();
5699
5258
  const ratio = ratioOf(value);
5700
- return /* @__PURE__ */ jsxs57(View57, { ...props, style: [styles47.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5701
- /* @__PURE__ */ jsx63(View57, { "aria-hidden": true, style: [styles47.disc, { backgroundColor: theme.surface2, borderColor: theme.accentSoft }], children: visual }),
5702
- /* @__PURE__ */ jsxs57(View57, { style: styles47.head, children: [
5703
- /* @__PURE__ */ jsx63(Txt, { variant: "title", style: styles47.name, children: name }),
5704
- statLabel ? /* @__PURE__ */ jsxs57(Txt, { variant: "caption", tone: "secondary", children: [
5259
+ return /* @__PURE__ */ jsxs51(View51, { ...props, style: [styles46.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5260
+ /* @__PURE__ */ jsx57(View51, { "aria-hidden": true, style: [styles46.disc, { backgroundColor: theme.surface2, borderColor: theme.accentSoft }], children: visual }),
5261
+ /* @__PURE__ */ jsxs51(View51, { style: styles46.head, children: [
5262
+ /* @__PURE__ */ jsx57(Txt, { variant: "title", style: styles46.name, children: name }),
5263
+ statLabel ? /* @__PURE__ */ jsxs51(Txt, { variant: "caption", tone: "secondary", children: [
5705
5264
  statLabel,
5706
5265
  " ",
5707
- /* @__PURE__ */ jsx63(Txt, { variant: "caption", children: valueText ?? `${Math.round(ratio * 100)} %` })
5266
+ /* @__PURE__ */ jsx57(Txt, { variant: "caption", children: valueText ?? `${Math.round(ratio * 100)} %` })
5708
5267
  ] }) : null
5709
5268
  ] }),
5710
- statLabel ? /* @__PURE__ */ jsx63(Bar, { label: statLabel, ratio, words: valueText ?? `${Math.round(ratio * 100)} %`, animated, delay: 200 }) : null,
5269
+ statLabel ? /* @__PURE__ */ jsx57(Bar, { label: statLabel, ratio, words: valueText ?? `${Math.round(ratio * 100)} %`, animated, delay: 200 }) : null,
5711
5270
  stats?.map((s, i) => {
5712
5271
  const r = ratioOf(s.value, s.max);
5713
5272
  const words2 = s.valueText ?? `${Math.round(r * 100)} %`;
5714
- return /* @__PURE__ */ jsxs57(View57, { style: styles47.stat, children: [
5715
- /* @__PURE__ */ jsxs57(View57, { "aria-hidden": true, style: styles47.statHead, children: [
5716
- /* @__PURE__ */ jsx63(Txt, { variant: "caption", tone: "secondary", children: s.label }),
5717
- /* @__PURE__ */ jsx63(Txt, { variant: "caption", children: words2 })
5273
+ return /* @__PURE__ */ jsxs51(View51, { style: styles46.stat, children: [
5274
+ /* @__PURE__ */ jsxs51(View51, { "aria-hidden": true, style: styles46.statHead, children: [
5275
+ /* @__PURE__ */ jsx57(Txt, { variant: "caption", tone: "secondary", children: s.label }),
5276
+ /* @__PURE__ */ jsx57(Txt, { variant: "caption", children: words2 })
5718
5277
  ] }),
5719
- /* @__PURE__ */ jsx63(Bar, { label: s.label, ratio: r, words: words2, animated, delay: 320 + i * 120 })
5278
+ /* @__PURE__ */ jsx57(Bar, { label: s.label, ratio: r, words: words2, animated, delay: 320 + i * 120 })
5720
5279
  ] }, s.label);
5721
5280
  }),
5722
- caption ? /* @__PURE__ */ jsx63(Txt, { variant: "caption", tone: "secondary", style: styles47.caption, children: caption }) : null,
5723
- children ? /* @__PURE__ */ jsx63(View57, { style: styles47.extra, children }) : null
5281
+ caption ? /* @__PURE__ */ jsx57(Txt, { variant: "caption", tone: "secondary", style: styles46.caption, children: caption }) : null,
5282
+ children ? /* @__PURE__ */ jsx57(View51, { style: styles46.extra, children }) : null
5724
5283
  ] });
5725
5284
  }
5726
- var styles47 = StyleSheet47.create({
5727
- root: { alignItems: "center", gap: 12, padding: 20, borderWidth: StyleSheet47.hairlineWidth },
5285
+ var styles46 = StyleSheet46.create({
5286
+ root: { alignItems: "center", gap: 12, padding: 20, borderWidth: StyleSheet46.hairlineWidth },
5728
5287
  disc: { width: 104, height: 104, borderRadius: 52, borderWidth: 1, alignItems: "center", justifyContent: "center", overflow: "hidden" },
5729
5288
  head: { flexDirection: "row", alignSelf: "stretch", alignItems: "center", justifyContent: "space-between", gap: 8 },
5730
5289
  name: { flexShrink: 1, fontSize: 17 },
@@ -5737,29 +5296,29 @@ var styles47 = StyleSheet47.create({
5737
5296
  });
5738
5297
  function ProfileBanner({ banner, avatar, eyebrow, title, status, meta, actions, style, ...props }) {
5739
5298
  const { theme, radius: radius3 } = useTheme();
5740
- const id = `kz-banner-${React41.useId().replace(/:/g, "")}`;
5741
- return /* @__PURE__ */ jsxs57(View57, { style: [bannerStyles.root, style], ...props, children: [
5742
- /* @__PURE__ */ jsx63(View57, { "aria-hidden": true, style: [bannerStyles.cover, { borderRadius: radius3.lg, backgroundColor: theme.accentSoft }], children: banner ?? /* @__PURE__ */ jsxs57(Svg26, { width: "100%", height: "100%", preserveAspectRatio: "none", viewBox: "0 0 100 100", children: [
5743
- /* @__PURE__ */ jsx63(Defs13, { children: /* @__PURE__ */ jsxs57(LinearGradient10, { id, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5744
- /* @__PURE__ */ jsx63(Stop13, { offset: "0", stopColor: theme.accent, stopOpacity: 0.3 }),
5745
- /* @__PURE__ */ jsx63(Stop13, { offset: "0.5", stopColor: theme.accentSoft }),
5746
- /* @__PURE__ */ jsx63(Stop13, { offset: "1", stopColor: theme.surface2 })
5299
+ const id = `kz-banner-${React39.useId().replace(/:/g, "")}`;
5300
+ return /* @__PURE__ */ jsxs51(View51, { style: [bannerStyles.root, style], ...props, children: [
5301
+ /* @__PURE__ */ jsx57(View51, { "aria-hidden": true, style: [bannerStyles.cover, { borderRadius: radius3.lg, backgroundColor: theme.accentSoft }], children: banner ?? /* @__PURE__ */ jsxs51(Svg21, { width: "100%", height: "100%", preserveAspectRatio: "none", viewBox: "0 0 100 100", children: [
5302
+ /* @__PURE__ */ jsx57(Defs9, { children: /* @__PURE__ */ jsxs51(LinearGradient8, { id, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5303
+ /* @__PURE__ */ jsx57(Stop9, { offset: "0", stopColor: theme.accent, stopOpacity: 0.3 }),
5304
+ /* @__PURE__ */ jsx57(Stop9, { offset: "0.5", stopColor: theme.accentSoft }),
5305
+ /* @__PURE__ */ jsx57(Stop9, { offset: "1", stopColor: theme.surface2 })
5747
5306
  ] }) }),
5748
- /* @__PURE__ */ jsx63(Rect3, { x: "0", y: "0", width: "100", height: "100", fill: `url(#${id})` })
5307
+ /* @__PURE__ */ jsx57(Rect3, { x: "0", y: "0", width: "100", height: "100", fill: `url(#${id})` })
5749
5308
  ] }) }),
5750
- /* @__PURE__ */ jsx63(View57, { style: [bannerStyles.avatar, { borderColor: theme.surface0, backgroundColor: theme.surface3, borderRadius: radius3.lg }], children: avatar }),
5751
- /* @__PURE__ */ jsxs57(View57, { style: bannerStyles.text, children: [
5752
- eyebrow ? /* @__PURE__ */ jsx63(Txt, { variant: "mono", tone: "accent", children: eyebrow }) : null,
5753
- /* @__PURE__ */ jsxs57(View57, { style: bannerStyles.titleRow, children: [
5754
- /* @__PURE__ */ jsx63(Txt, { variant: "title", role: "heading", style: bannerStyles.title, children: title }),
5309
+ /* @__PURE__ */ jsx57(View51, { style: [bannerStyles.avatar, { borderColor: theme.surface0, backgroundColor: theme.surface3, borderRadius: radius3.lg }], children: avatar }),
5310
+ /* @__PURE__ */ jsxs51(View51, { style: bannerStyles.text, children: [
5311
+ eyebrow ? /* @__PURE__ */ jsx57(Txt, { variant: "mono", tone: "accent", children: eyebrow }) : null,
5312
+ /* @__PURE__ */ jsxs51(View51, { style: bannerStyles.titleRow, children: [
5313
+ /* @__PURE__ */ jsx57(Txt, { variant: "title", role: "heading", style: bannerStyles.title, children: title }),
5755
5314
  status
5756
5315
  ] }),
5757
- meta ? /* @__PURE__ */ jsx63(Txt, { tone: "secondary", children: meta }) : null
5316
+ meta ? /* @__PURE__ */ jsx57(Txt, { tone: "secondary", children: meta }) : null
5758
5317
  ] }),
5759
- actions ? /* @__PURE__ */ jsx63(View57, { style: bannerStyles.actions, children: actions }) : null
5318
+ actions ? /* @__PURE__ */ jsx57(View51, { style: bannerStyles.actions, children: actions }) : null
5760
5319
  ] });
5761
5320
  }
5762
- var bannerStyles = StyleSheet47.create({
5321
+ var bannerStyles = StyleSheet46.create({
5763
5322
  root: { gap: 10 },
5764
5323
  cover: { height: 112, width: "100%", overflow: "hidden" },
5765
5324
  avatar: { width: 80, height: 80, marginTop: -50, marginLeft: 4, borderWidth: 4, overflow: "hidden", alignItems: "center", justifyContent: "center" },
@@ -5770,11 +5329,11 @@ var bannerStyles = StyleSheet47.create({
5770
5329
  });
5771
5330
 
5772
5331
  // src/native/progress.tsx
5773
- import * as React42 from "react";
5774
- import { Animated as Animated20, Easing as Easing11, StyleSheet as StyleSheet48, View as View58 } from "react-native";
5775
- import Svg27, { Circle as Circle15, Defs as Defs14, LinearGradient as LinearGradient11, Rect as Rect4, Stop as Stop14 } from "react-native-svg";
5776
- import { jsx as jsx64, jsxs as jsxs58 } from "react/jsx-runtime";
5777
- var AnimatedCircle = Animated20.createAnimatedComponent(Circle15);
5332
+ import * as React40 from "react";
5333
+ import { Animated as Animated19, Easing as Easing10, StyleSheet as StyleSheet47, View as View52 } from "react-native";
5334
+ import Svg22, { Circle as Circle11, Defs as Defs10, LinearGradient as LinearGradient9, Rect as Rect4, Stop as Stop10 } from "react-native-svg";
5335
+ import { jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
5336
+ var AnimatedCircle = Animated19.createAnimatedComponent(Circle11);
5778
5337
  var BAR2 = { sm: 4, md: 8, lg: 12 };
5779
5338
  var RING2 = { sm: 40, md: 80, lg: 144 };
5780
5339
  var STROKE = { sm: 12, md: 9, lg: 7 };
@@ -5785,21 +5344,21 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
5785
5344
  const known = typeof value === "number" && Number.isFinite(value);
5786
5345
  const ratio = known ? Math.min(1, Math.max(0, value / (max || 1))) : 0;
5787
5346
  const percent2 = Math.round(ratio * 100);
5788
- const [progress] = React42.useState(() => new Animated20.Value(ratio));
5789
- const [spin] = React42.useState(() => new Animated20.Value(0));
5790
- const [track, setTrack] = React42.useState(0);
5791
- React42.useEffect(() => {
5347
+ const [progress] = React40.useState(() => new Animated19.Value(ratio));
5348
+ const [spin] = React40.useState(() => new Animated19.Value(0));
5349
+ const [track, setTrack] = React40.useState(0);
5350
+ React40.useEffect(() => {
5792
5351
  if (reduce) {
5793
5352
  progress.setValue(ratio);
5794
5353
  return;
5795
5354
  }
5796
- const animation = Animated20.timing(progress, { toValue: ratio, duration: 700, easing: Easing11.out(Easing11.cubic), useNativeDriver: false });
5355
+ const animation = Animated19.timing(progress, { toValue: ratio, duration: 700, easing: Easing10.out(Easing10.cubic), useNativeDriver: false });
5797
5356
  animation.start();
5798
5357
  return () => animation.stop();
5799
5358
  }, [ratio, reduce, progress]);
5800
- React42.useEffect(() => {
5359
+ React40.useEffect(() => {
5801
5360
  if (known || reduce) return;
5802
- const loop = Animated20.loop(Animated20.timing(spin, { toValue: 1, duration: 1200, easing: Easing11.linear, useNativeDriver: true }));
5361
+ const loop = Animated19.loop(Animated19.timing(spin, { toValue: 1, duration: 1200, easing: Easing10.linear, useNativeDriver: true }));
5803
5362
  loop.start();
5804
5363
  return () => {
5805
5364
  loop.stop();
@@ -5815,9 +5374,9 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
5815
5374
  "aria-valuenow": known ? Math.min(max, Math.max(0, value)) : void 0,
5816
5375
  "aria-valuetext": known ? valueText ?? `${percent2}%` : valueText
5817
5376
  };
5818
- const gradient = /* @__PURE__ */ jsx64(Defs14, { children: /* @__PURE__ */ jsxs58(LinearGradient11, { id, x1: "0", y1: "0", x2: "1", y2: variant === "ring" ? "1" : "0", children: [
5819
- /* @__PURE__ */ jsx64(Stop14, { offset: "0", stopColor: theme.accent }),
5820
- /* @__PURE__ */ jsx64(Stop14, { offset: "1", stopColor: theme.accent2 })
5377
+ const gradient = /* @__PURE__ */ jsx58(Defs10, { children: /* @__PURE__ */ jsxs52(LinearGradient9, { id, x1: "0", y1: "0", x2: "1", y2: variant === "ring" ? "1" : "0", children: [
5378
+ /* @__PURE__ */ jsx58(Stop10, { offset: "0", stopColor: theme.accent }),
5379
+ /* @__PURE__ */ jsx58(Stop10, { offset: "1", stopColor: theme.accent2 })
5821
5380
  ] }) });
5822
5381
  if (variant === "ring") {
5823
5382
  const side = RING2[size];
@@ -5826,11 +5385,11 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
5826
5385
  const circumference = 2 * Math.PI * r;
5827
5386
  const offset = known ? progress.interpolate({ inputRange: [0, 1], outputRange: [circumference, 0] }) : circumference * 0.75;
5828
5387
  const rotate = spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] });
5829
- return /* @__PURE__ */ jsxs58(View58, { ...a11y, style: [styles48.ring, { width: side, height: side }, style], children: [
5830
- /* @__PURE__ */ jsx64(Animated20.View, { style: [StyleSheet48.absoluteFill, { transform: [{ rotate: known ? "-90deg" : rotate }] }], children: /* @__PURE__ */ jsxs58(Svg27, { width: side, height: side, viewBox: "0 0 100 100", children: [
5388
+ return /* @__PURE__ */ jsxs52(View52, { ...a11y, style: [styles47.ring, { width: side, height: side }, style], children: [
5389
+ /* @__PURE__ */ jsx58(Animated19.View, { style: [StyleSheet47.absoluteFill, { transform: [{ rotate: known ? "-90deg" : rotate }] }], children: /* @__PURE__ */ jsxs52(Svg22, { width: side, height: side, viewBox: "0 0 100 100", children: [
5831
5390
  gradient,
5832
- /* @__PURE__ */ jsx64(Circle15, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: stroke }),
5833
- /* @__PURE__ */ jsx64(
5391
+ /* @__PURE__ */ jsx58(Circle11, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: stroke }),
5392
+ /* @__PURE__ */ jsx58(
5834
5393
  AnimatedCircle,
5835
5394
  {
5836
5395
  cx: 50,
@@ -5850,29 +5409,29 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
5850
5409
  }
5851
5410
  const width = known ? progress.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) : "40%";
5852
5411
  const translate = spin.interpolate({ inputRange: [0, 1], outputRange: [-0.4 * track, track] });
5853
- return /* @__PURE__ */ jsx64(
5854
- View58,
5412
+ return /* @__PURE__ */ jsx58(
5413
+ View52,
5855
5414
  {
5856
5415
  ...a11y,
5857
5416
  onLayout: known ? void 0 : (event) => setTrack(event.nativeEvent.layout.width),
5858
- style: [styles48.bar, { height: BAR2[size], backgroundColor: theme.surface3 }, style],
5859
- children: /* @__PURE__ */ jsx64(Animated20.View, { style: [styles48.fill, { width }, known || reduce ? null : { transform: [{ translateX: translate }] }], children: /* @__PURE__ */ jsxs58(Svg27, { width: "100%", height: "100%", preserveAspectRatio: "none", children: [
5417
+ style: [styles47.bar, { height: BAR2[size], backgroundColor: theme.surface3 }, style],
5418
+ children: /* @__PURE__ */ jsx58(Animated19.View, { style: [styles47.fill, { width }, known || reduce ? null : { transform: [{ translateX: translate }] }], children: /* @__PURE__ */ jsxs52(Svg22, { width: "100%", height: "100%", preserveAspectRatio: "none", children: [
5860
5419
  gradient,
5861
- /* @__PURE__ */ jsx64(Rect4, { x: 0, y: 0, width: "100%", height: "100%", fill: `url(#${id})` })
5420
+ /* @__PURE__ */ jsx58(Rect4, { x: 0, y: 0, width: "100%", height: "100%", fill: `url(#${id})` })
5862
5421
  ] }) })
5863
5422
  }
5864
5423
  );
5865
5424
  }
5866
- var styles48 = StyleSheet48.create({
5425
+ var styles47 = StyleSheet47.create({
5867
5426
  ring: { alignItems: "center", justifyContent: "center" },
5868
5427
  bar: { width: "100%", overflow: "hidden", borderRadius: 9999 },
5869
5428
  fill: { height: "100%", overflow: "hidden", borderRadius: 9999 }
5870
5429
  });
5871
5430
 
5872
5431
  // src/native/qr-code.tsx
5873
- import * as React43 from "react";
5874
- import { View as View59 } from "react-native";
5875
- import Svg28, { Path as Path23, Rect as Rect5 } from "react-native-svg";
5432
+ import * as React41 from "react";
5433
+ import { View as View53 } from "react-native";
5434
+ import Svg23, { Path as Path18, Rect as Rect5 } from "react-native-svg";
5876
5435
 
5877
5436
  // src/qr-code/encode.ts
5878
5437
  var LEVEL_INDEX = { L: 0, M: 1, Q: 2, H: 3 };
@@ -6159,52 +5718,52 @@ function qrPath(matrix, quiet) {
6159
5718
  }
6160
5719
 
6161
5720
  // src/native/qr-code.tsx
6162
- import { jsx as jsx65, jsxs as jsxs59 } from "react/jsx-runtime";
5721
+ import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
6163
5722
  var TILE = "#ffffff";
6164
5723
  var MODULE = "#0b0f19";
6165
5724
  function QrCode({ value, label, size = 176, quietZone = 4, level = "M", copyLabel, onCopy, style, ...props }) {
6166
5725
  const { theme } = useTheme();
6167
5726
  const quiet = Math.max(2, Math.round(quietZone));
6168
- const { modules, path } = React43.useMemo(() => {
5727
+ const { modules, path } = React41.useMemo(() => {
6169
5728
  const matrix = encodeQr(value, level);
6170
5729
  return { modules: matrix.length + quiet * 2, path: qrPath(matrix, quiet) };
6171
5730
  }, [value, level, quiet]);
6172
- return /* @__PURE__ */ jsxs59(View59, { ...props, style: [{ alignItems: "flex-start", rowGap: 12 }, style], children: [
6173
- /* @__PURE__ */ jsx65(
6174
- View59,
5731
+ return /* @__PURE__ */ jsxs53(View53, { ...props, style: [{ alignItems: "flex-start", rowGap: 12 }, style], children: [
5732
+ /* @__PURE__ */ jsx59(
5733
+ View53,
6175
5734
  {
6176
5735
  accessible: true,
6177
5736
  accessibilityRole: "image",
6178
5737
  accessibilityLabel: label,
6179
5738
  style: { width: size, height: size, borderRadius: 8, overflow: "hidden", borderWidth: 1, borderColor: theme.borderDefault },
6180
- children: /* @__PURE__ */ jsxs59(Svg28, { width: size, height: size, viewBox: `0 0 ${modules} ${modules}`, children: [
6181
- /* @__PURE__ */ jsx65(Rect5, { width: modules, height: modules, fill: TILE }),
6182
- /* @__PURE__ */ jsx65(Path23, { d: path, fill: MODULE })
5739
+ children: /* @__PURE__ */ jsxs53(Svg23, { width: size, height: size, viewBox: `0 0 ${modules} ${modules}`, children: [
5740
+ /* @__PURE__ */ jsx59(Rect5, { width: modules, height: modules, fill: TILE }),
5741
+ /* @__PURE__ */ jsx59(Path18, { d: path, fill: MODULE })
6183
5742
  ] })
6184
5743
  }
6185
5744
  ),
6186
- copyLabel ? /* @__PURE__ */ jsx65(Button, { label: copyLabel, size: "sm", onPress: () => onCopy?.(value) }) : null
5745
+ copyLabel ? /* @__PURE__ */ jsx59(Button, { label: copyLabel, size: "sm", onPress: () => onCopy?.(value) }) : null
6187
5746
  ] });
6188
5747
  }
6189
5748
 
6190
5749
  // src/native/radio-group.tsx
6191
- import * as React44 from "react";
6192
- import { Animated as Animated21, Pressable as Pressable26, StyleSheet as StyleSheet49, Text as Text17, View as View60 } from "react-native";
6193
- import Svg29, { Path as Path24 } from "react-native-svg";
6194
- import { jsx as jsx66, jsxs as jsxs60 } from "react/jsx-runtime";
5750
+ import * as React42 from "react";
5751
+ import { Animated as Animated20, Pressable as Pressable25, StyleSheet as StyleSheet48, Text as Text17, View as View54 } from "react-native";
5752
+ import Svg24, { Path as Path19 } from "react-native-svg";
5753
+ import { jsx as jsx60, jsxs as jsxs54 } from "react/jsx-runtime";
6195
5754
  function Check({ color }) {
6196
- return /* @__PURE__ */ jsx66(Svg29, { width: 12, height: 12, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 3.2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx66(Path24, { d: "M20 6 9 17l-5-5" }) });
5755
+ return /* @__PURE__ */ jsx60(Svg24, { width: 12, height: 12, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 3.2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx60(Path19, { d: "M20 6 9 17l-5-5" }) });
6197
5756
  }
6198
5757
  function Key({ option, checked, disabled, onPress }) {
6199
5758
  const { theme, radius: radius3, motion: motion3 } = useTheme();
6200
- const [held, setHeld] = React44.useState(false);
6201
- const [sink] = React44.useState(() => new Animated21.Value(checked ? 1 : 0));
5759
+ const [held, setHeld] = React42.useState(false);
5760
+ const [sink] = React42.useState(() => new Animated20.Value(checked ? 1 : 0));
6202
5761
  const down = checked || held;
6203
- React44.useEffect(() => {
6204
- Animated21.timing(sink, { toValue: down ? 1 : 0, duration: motion3.duration.fast, useNativeDriver: true }).start();
5762
+ React42.useEffect(() => {
5763
+ Animated20.timing(sink, { toValue: down ? 1 : 0, duration: motion3.duration.fast, useNativeDriver: true }).start();
6205
5764
  }, [down, sink, motion3.duration.fast]);
6206
- return /* @__PURE__ */ jsxs60(
6207
- Pressable26,
5765
+ return /* @__PURE__ */ jsxs54(
5766
+ Pressable25,
6208
5767
  {
6209
5768
  role: "radio",
6210
5769
  "aria-checked": checked,
@@ -6214,14 +5773,14 @@ function Key({ option, checked, disabled, onPress }) {
6214
5773
  onPress,
6215
5774
  onPressIn: () => setHeld(true),
6216
5775
  onPressOut: () => setHeld(false),
6217
- style: [styles49.keySlot, disabled ? styles49.disabled : null],
5776
+ style: [styles48.keySlot, disabled ? styles48.disabled : null],
6218
5777
  children: [
6219
- /* @__PURE__ */ jsx66(View60, { style: [styles49.ledge, { borderRadius: radius3.lg, backgroundColor: checked ? theme.accentHover : theme.borderStrong }] }),
6220
- /* @__PURE__ */ jsxs60(
6221
- Animated21.View,
5778
+ /* @__PURE__ */ jsx60(View54, { style: [styles48.ledge, { borderRadius: radius3.lg, backgroundColor: checked ? theme.accentHover : theme.borderStrong }] }),
5779
+ /* @__PURE__ */ jsxs54(
5780
+ Animated20.View,
6222
5781
  {
6223
5782
  style: [
6224
- styles49.key,
5783
+ styles48.key,
6225
5784
  {
6226
5785
  borderRadius: radius3.lg,
6227
5786
  backgroundColor: checked ? theme.accent : theme.surface2,
@@ -6230,8 +5789,8 @@ function Key({ option, checked, disabled, onPress }) {
6230
5789
  }
6231
5790
  ],
6232
5791
  children: [
6233
- /* @__PURE__ */ jsx66(Text17, { style: [styles49.keyLabel, { color: checked ? theme.onAccent : theme.textPrimary }], children: option.label }),
6234
- option.hint ? /* @__PURE__ */ jsx66(Text17, { style: [styles49.keyHint, { color: checked ? theme.onAccent : theme.textSecondary }], children: option.hint }) : null
5792
+ /* @__PURE__ */ jsx60(Text17, { style: [styles48.keyLabel, { color: checked ? theme.onAccent : theme.textPrimary }], children: option.label }),
5793
+ option.hint ? /* @__PURE__ */ jsx60(Text17, { style: [styles48.keyHint, { color: checked ? theme.onAccent : theme.textSecondary }], children: option.hint }) : null
6235
5794
  ]
6236
5795
  }
6237
5796
  )
@@ -6241,7 +5800,7 @@ function Key({ option, checked, disabled, onPress }) {
6241
5800
  }
6242
5801
  function RadioGroup({ label, options, value: valueProp, defaultValue = null, onValueChange, variant = "list", error, disabled, style }) {
6243
5802
  const { theme, radius: radius3, haptic } = useTheme();
6244
- const [own, setOwn] = React44.useState(defaultValue);
5803
+ const [own, setOwn] = React42.useState(defaultValue);
6245
5804
  const value = valueProp !== void 0 ? valueProp : own;
6246
5805
  const pick = (v) => {
6247
5806
  haptic(variant === "buttons" ? "impact" : "selection");
@@ -6252,10 +5811,10 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
6252
5811
  const checked = o.value === value;
6253
5812
  const off = Boolean(disabled || o.disabled);
6254
5813
  const name = o.description ? `${o.label}, ${o.description}` : o.label;
6255
- if (variant === "buttons") return /* @__PURE__ */ jsx66(Key, { option: o, checked, disabled: off, onPress: () => pick(o.value) }, o.value);
5814
+ if (variant === "buttons") return /* @__PURE__ */ jsx60(Key, { option: o, checked, disabled: off, onPress: () => pick(o.value) }, o.value);
6256
5815
  if (variant === "segmented")
6257
- return /* @__PURE__ */ jsx66(
6258
- Pressable26,
5816
+ return /* @__PURE__ */ jsx60(
5817
+ Pressable25,
6259
5818
  {
6260
5819
  role: "radio",
6261
5820
  "aria-checked": checked,
@@ -6263,14 +5822,14 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
6263
5822
  "aria-disabled": off || void 0,
6264
5823
  disabled: off,
6265
5824
  onPress: () => pick(o.value),
6266
- style: [styles49.segment, { borderRadius: radius3.md }, checked ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault } : null, off ? styles49.disabled : null],
6267
- children: /* @__PURE__ */ jsx66(Text17, { numberOfLines: 1, style: [styles49.segmentLabel, { color: checked ? theme.textPrimary : theme.textSecondary }], children: o.label })
5825
+ style: [styles48.segment, { borderRadius: radius3.md }, checked ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault } : null, off ? styles48.disabled : null],
5826
+ children: /* @__PURE__ */ jsx60(Text17, { numberOfLines: 1, style: [styles48.segmentLabel, { color: checked ? theme.textPrimary : theme.textSecondary }], children: o.label })
6268
5827
  },
6269
5828
  o.value
6270
5829
  );
6271
5830
  if (variant === "cards")
6272
- return /* @__PURE__ */ jsxs60(
6273
- Pressable26,
5831
+ return /* @__PURE__ */ jsxs54(
5832
+ Pressable25,
6274
5833
  {
6275
5834
  role: "radio",
6276
5835
  "aria-checked": checked,
@@ -6279,40 +5838,40 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
6279
5838
  disabled: off,
6280
5839
  onPress: () => pick(o.value),
6281
5840
  style: ({ pressed }) => [
6282
- styles49.card,
5841
+ styles48.card,
6283
5842
  { borderRadius: radius3.xl, backgroundColor: checked ? theme.accentSoft : theme.surface1, borderColor: checked ? theme.accent : theme.borderDefault, transform: [{ scale: pressed ? 0.98 : 1 }] },
6284
- off ? styles49.disabled : null
5843
+ off ? styles48.disabled : null
6285
5844
  ],
6286
5845
  children: [
6287
- /* @__PURE__ */ jsx66(View60, { style: [styles49.cardCheck, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx66(Check, { color: theme.onAccent }) : null }),
6288
- /* @__PURE__ */ jsx66(Text17, { style: [styles49.cardLabel, { color: theme.textPrimary }], children: o.label }),
6289
- o.description ? /* @__PURE__ */ jsx66(Text17, { style: [styles49.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
5846
+ /* @__PURE__ */ jsx60(View54, { style: [styles48.cardCheck, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx60(Check, { color: theme.onAccent }) : null }),
5847
+ /* @__PURE__ */ jsx60(Text17, { style: [styles48.cardLabel, { color: theme.textPrimary }], children: o.label }),
5848
+ o.description ? /* @__PURE__ */ jsx60(Text17, { style: [styles48.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
6290
5849
  ]
6291
5850
  },
6292
5851
  o.value
6293
5852
  );
6294
- return /* @__PURE__ */ jsxs60(Pressable26, { role: "radio", "aria-checked": checked, "aria-label": name, "aria-disabled": off || void 0, disabled: off, onPress: () => pick(o.value), style: [styles49.row, off ? styles49.disabled : null], children: [
6295
- /* @__PURE__ */ jsx66(View60, { style: [styles49.dot, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx66(View60, { style: [styles49.dotIn, { backgroundColor: theme.onAccent }] }) : null }),
6296
- /* @__PURE__ */ jsxs60(View60, { style: styles49.rowText, children: [
6297
- /* @__PURE__ */ jsx66(Text17, { style: [styles49.rowLabel, { color: theme.textPrimary }], children: o.label }),
6298
- o.description ? /* @__PURE__ */ jsx66(Text17, { style: [styles49.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
5853
+ return /* @__PURE__ */ jsxs54(Pressable25, { role: "radio", "aria-checked": checked, "aria-label": name, "aria-disabled": off || void 0, disabled: off, onPress: () => pick(o.value), style: [styles48.row, off ? styles48.disabled : null], children: [
5854
+ /* @__PURE__ */ jsx60(View54, { style: [styles48.dot, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx60(View54, { style: [styles48.dotIn, { backgroundColor: theme.onAccent }] }) : null }),
5855
+ /* @__PURE__ */ jsxs54(View54, { style: styles48.rowText, children: [
5856
+ /* @__PURE__ */ jsx60(Text17, { style: [styles48.rowLabel, { color: theme.textPrimary }], children: o.label }),
5857
+ o.description ? /* @__PURE__ */ jsx60(Text17, { style: [styles48.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
6299
5858
  ] })
6300
5859
  ] }, o.value);
6301
5860
  });
6302
- return /* @__PURE__ */ jsxs60(View60, { style: [styles49.root, style], children: [
6303
- /* @__PURE__ */ jsx66(
6304
- View60,
5861
+ return /* @__PURE__ */ jsxs54(View54, { style: [styles48.root, style], children: [
5862
+ /* @__PURE__ */ jsx60(
5863
+ View54,
6305
5864
  {
6306
5865
  role: "radiogroup",
6307
5866
  "aria-label": label,
6308
- style: variant === "segmented" ? [styles49.track, { borderRadius: radius3.lg, backgroundColor: theme.surface2, borderColor: error ? theme.danger : theme.borderDefault }] : variant === "buttons" ? styles49.keys : variant === "cards" ? styles49.cards : styles49.list,
5867
+ style: variant === "segmented" ? [styles48.track, { borderRadius: radius3.lg, backgroundColor: theme.surface2, borderColor: error ? theme.danger : theme.borderDefault }] : variant === "buttons" ? styles48.keys : variant === "cards" ? styles48.cards : styles48.list,
6309
5868
  children: body
6310
5869
  }
6311
5870
  ),
6312
- error ? /* @__PURE__ */ jsx66(Text17, { role: "alert", "aria-live": "polite", style: [styles49.error, { color: theme.dangerText }], children: error }) : null
5871
+ error ? /* @__PURE__ */ jsx60(Text17, { role: "alert", "aria-live": "polite", style: [styles48.error, { color: theme.dangerText }], children: error }) : null
6313
5872
  ] });
6314
5873
  }
6315
- var styles49 = StyleSheet49.create({
5874
+ var styles48 = StyleSheet48.create({
6316
5875
  root: { gap: 6, alignSelf: "stretch" },
6317
5876
  list: { gap: 2 },
6318
5877
  row: { flexDirection: "row", alignItems: "center", gap: 12, minHeight: 44 },
@@ -6331,8 +5890,8 @@ var styles49 = StyleSheet49.create({
6331
5890
  key: { minHeight: 48, paddingHorizontal: 16, paddingVertical: 8, alignItems: "center", justifyContent: "center", gap: 1, borderWidth: 1 },
6332
5891
  keyLabel: { fontSize: 15, fontWeight: "700" },
6333
5892
  keyHint: { fontSize: 11, fontWeight: "500" },
6334
- track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet49.hairlineWidth, height: 42 },
6335
- segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet49.hairlineWidth, borderColor: "transparent" },
5893
+ track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet48.hairlineWidth, height: 42 },
5894
+ segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet48.hairlineWidth, borderColor: "transparent" },
6336
5895
  segmentLabel: { fontSize: 13, fontWeight: "600" },
6337
5896
  error: { fontSize: 12, lineHeight: 16 },
6338
5897
  disabled: { opacity: 0.4 }
@@ -6340,15 +5899,15 @@ var styles49 = StyleSheet49.create({
6340
5899
 
6341
5900
  // src/native/search-field.tsx
6342
5901
  import { useDebouncedCallback } from "@krizaka/pacer/react";
6343
- import * as React45 from "react";
6344
- import { Pressable as Pressable27, StyleSheet as StyleSheet50, TextInput as TextInput7, View as View61 } from "react-native";
6345
- import Svg30, { Circle as Circle16, Path as Path25 } from "react-native-svg";
6346
- import { jsx as jsx67, jsxs as jsxs61 } from "react/jsx-runtime";
5902
+ import * as React43 from "react";
5903
+ import { Pressable as Pressable26, StyleSheet as StyleSheet49, TextInput as TextInput7, View as View55 } from "react-native";
5904
+ import Svg25, { Circle as Circle12, Path as Path20 } from "react-native-svg";
5905
+ import { jsx as jsx61, jsxs as jsxs55 } from "react/jsx-runtime";
6347
5906
  function SearchField({ label, value, defaultValue = "", onValueChange, onSearch, debounce = 300, onSubmit, clearLabel, cancelLabel, onCancel, style, placeholder, onFocus, onBlur, ...props }) {
6348
- const [focused, setFocused] = React45.useState(false);
6349
- const input = React45.useRef(null);
5907
+ const [focused, setFocused] = React43.useState(false);
5908
+ const input = React43.useRef(null);
6350
5909
  const { theme, radius: radius3 } = useTheme();
6351
- const [own, setOwn] = React45.useState(defaultValue);
5910
+ const [own, setOwn] = React43.useState(defaultValue);
6352
5911
  const query = value ?? own;
6353
5912
  const search = useDebouncedCallback((next) => onSearch?.(next), debounce);
6354
5913
  const change = (next) => {
@@ -6357,12 +5916,12 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
6357
5916
  search.cancel();
6358
5917
  if (onSearch) search(next);
6359
5918
  };
6360
- const field = /* @__PURE__ */ jsxs61(View61, { style: [styles50.frame, { borderRadius: radius3.md, borderColor: theme.borderDefault, backgroundColor: theme.surface2 }, style], children: [
6361
- /* @__PURE__ */ jsxs61(Svg30, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2, strokeLinecap: "round", "aria-hidden": true, children: [
6362
- /* @__PURE__ */ jsx67(Circle16, { cx: 11, cy: 11, r: 7 }),
6363
- /* @__PURE__ */ jsx67(Path25, { d: "m20 20-3.5-3.5" })
5919
+ const field = /* @__PURE__ */ jsxs55(View55, { style: [styles49.frame, { borderRadius: radius3.md, borderColor: theme.borderDefault, backgroundColor: theme.surface2 }, style], children: [
5920
+ /* @__PURE__ */ jsxs55(Svg25, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2, strokeLinecap: "round", "aria-hidden": true, children: [
5921
+ /* @__PURE__ */ jsx61(Circle12, { cx: 11, cy: 11, r: 7 }),
5922
+ /* @__PURE__ */ jsx61(Path20, { d: "m20 20-3.5-3.5" })
6364
5923
  ] }),
6365
- /* @__PURE__ */ jsx67(
5924
+ /* @__PURE__ */ jsx61(
6366
5925
  TextInput7,
6367
5926
  {
6368
5927
  ref: input,
@@ -6381,7 +5940,7 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
6381
5940
  onSearch?.(query);
6382
5941
  onSubmit?.(query);
6383
5942
  },
6384
- style: [styles50.input, { color: theme.textPrimary }],
5943
+ style: [styles49.input, { color: theme.textPrimary }],
6385
5944
  onFocus: (e) => {
6386
5945
  setFocused(true);
6387
5946
  onFocus?.(e);
@@ -6393,13 +5952,13 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
6393
5952
  ...props
6394
5953
  }
6395
5954
  ),
6396
- query ? /* @__PURE__ */ jsx67(Pressable27, { role: "button", "aria-label": clearLabel, hitSlop: 10, onPress: () => change(""), style: styles50.clear, children: /* @__PURE__ */ jsx67(Svg30, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2.4, strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx67(Path25, { d: "M18 6 6 18M6 6l12 12" }) }) }) : null
5955
+ query ? /* @__PURE__ */ jsx61(Pressable26, { role: "button", "aria-label": clearLabel, hitSlop: 10, onPress: () => change(""), style: styles49.clear, children: /* @__PURE__ */ jsx61(Svg25, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2.4, strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx61(Path20, { d: "M18 6 6 18M6 6l12 12" }) }) }) : null
6397
5956
  ] });
6398
5957
  if (!cancelLabel || !onCancel) return field;
6399
- return /* @__PURE__ */ jsxs61(View61, { style: styles50.bar, children: [
6400
- /* @__PURE__ */ jsx67(View61, { style: styles50.grow, children: field }),
6401
- focused || query ? /* @__PURE__ */ jsx67(
6402
- Pressable27,
5958
+ return /* @__PURE__ */ jsxs55(View55, { style: styles49.bar, children: [
5959
+ /* @__PURE__ */ jsx61(View55, { style: styles49.grow, children: field }),
5960
+ focused || query ? /* @__PURE__ */ jsx61(
5961
+ Pressable26,
6403
5962
  {
6404
5963
  role: "button",
6405
5964
  onPress: () => {
@@ -6408,14 +5967,14 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
6408
5967
  onCancel();
6409
5968
  },
6410
5969
  hitSlop: 8,
6411
- style: styles50.cancel,
6412
- children: /* @__PURE__ */ jsx67(Txt, { variant: "label", tone: "accent", children: cancelLabel })
5970
+ style: styles49.cancel,
5971
+ children: /* @__PURE__ */ jsx61(Txt, { variant: "label", tone: "accent", children: cancelLabel })
6413
5972
  }
6414
5973
  ) : null
6415
5974
  ] });
6416
5975
  }
6417
- var styles50 = StyleSheet50.create({
6418
- frame: { flexDirection: "row", alignItems: "center", gap: 8, height: 44, paddingLeft: 12, paddingRight: 6, borderWidth: StyleSheet50.hairlineWidth },
5976
+ var styles49 = StyleSheet49.create({
5977
+ frame: { flexDirection: "row", alignItems: "center", gap: 8, height: 44, paddingLeft: 12, paddingRight: 6, borderWidth: StyleSheet49.hairlineWidth },
6419
5978
  input: { flex: 1, height: "100%", fontSize: 15, paddingVertical: 0 },
6420
5979
  bar: { flexDirection: "row", alignItems: "center", gap: 10 },
6421
5980
  grow: { flex: 1 },
@@ -6424,20 +5983,20 @@ var styles50 = StyleSheet50.create({
6424
5983
  });
6425
5984
 
6426
5985
  // src/native/segmented.tsx
6427
- import { Pressable as Pressable28, StyleSheet as StyleSheet51, Text as Text18, View as View62 } from "react-native";
6428
- import { jsx as jsx68 } from "react/jsx-runtime";
5986
+ import { Pressable as Pressable27, StyleSheet as StyleSheet50, Text as Text18, View as View56 } from "react-native";
5987
+ import { jsx as jsx62 } from "react/jsx-runtime";
6429
5988
  function Segmented({ options, value, onValueChange, size = "md", "aria-label": label, style }) {
6430
5989
  const { theme, radius: radius3 } = useTheme();
6431
- return /* @__PURE__ */ jsx68(
6432
- View62,
5990
+ return /* @__PURE__ */ jsx62(
5991
+ View56,
6433
5992
  {
6434
5993
  role: "tablist",
6435
5994
  "aria-label": label,
6436
- style: [styles51.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md, height: size === "sm" ? 32 : 40 }, style],
5995
+ style: [styles50.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md, height: size === "sm" ? 32 : 40 }, style],
6437
5996
  children: options.map((option) => {
6438
5997
  const selected = option.value === value;
6439
- return /* @__PURE__ */ jsx68(
6440
- Pressable28,
5998
+ return /* @__PURE__ */ jsx62(
5999
+ Pressable27,
6441
6000
  {
6442
6001
  role: "tab",
6443
6002
  "aria-selected": selected,
@@ -6447,12 +6006,12 @@ function Segmented({ options, value, onValueChange, size = "md", "aria-label": l
6447
6006
  if (!selected) onValueChange(option.value);
6448
6007
  },
6449
6008
  style: [
6450
- styles51.segment,
6009
+ styles50.segment,
6451
6010
  { borderRadius: radius3.sm },
6452
6011
  selected ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault } : null,
6453
- option.disabled ? styles51.disabled : null
6012
+ option.disabled ? styles50.disabled : null
6454
6013
  ],
6455
- children: /* @__PURE__ */ jsx68(Text18, { numberOfLines: 1, style: [styles51.label, { color: selected ? theme.textPrimary : theme.textSecondary, fontSize: size === "sm" ? 12 : 13 }], children: option.label })
6014
+ children: /* @__PURE__ */ jsx62(Text18, { numberOfLines: 1, style: [styles50.label, { color: selected ? theme.textPrimary : theme.textSecondary, fontSize: size === "sm" ? 12 : 13 }], children: option.label })
6456
6015
  },
6457
6016
  option.value
6458
6017
  );
@@ -6460,62 +6019,62 @@ function Segmented({ options, value, onValueChange, size = "md", "aria-label": l
6460
6019
  }
6461
6020
  );
6462
6021
  }
6463
- var styles51 = StyleSheet51.create({
6464
- track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet51.hairlineWidth },
6465
- segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet51.hairlineWidth, borderColor: "transparent" },
6022
+ var styles50 = StyleSheet50.create({
6023
+ track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet50.hairlineWidth },
6024
+ segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet50.hairlineWidth, borderColor: "transparent" },
6466
6025
  label: { fontWeight: "600" },
6467
6026
  disabled: { opacity: 0.4 }
6468
6027
  });
6469
6028
 
6470
6029
  // src/native/settings-layout.tsx
6471
- import * as React46 from "react";
6472
- import { Pressable as Pressable29, StyleSheet as StyleSheet52, View as View63 } from "react-native";
6473
- import Svg31, { Path as Path26 } from "react-native-svg";
6474
- import { Fragment as Fragment11, jsx as jsx69, jsxs as jsxs62 } from "react/jsx-runtime";
6030
+ import * as React44 from "react";
6031
+ import { Pressable as Pressable28, StyleSheet as StyleSheet51, View as View57 } from "react-native";
6032
+ import Svg26, { Path as Path21 } from "react-native-svg";
6033
+ import { Fragment as Fragment11, jsx as jsx63, jsxs as jsxs56 } from "react/jsx-runtime";
6475
6034
  function SettingsRow({ label, description, icon, value, trailing, onPress, destructive, accessibilityLabel, disabled }) {
6476
6035
  const { theme } = useTheme();
6477
- const body = /* @__PURE__ */ jsxs62(Fragment11, { children: [
6478
- icon ? /* @__PURE__ */ jsx69(View63, { style: [styles52.tile, { backgroundColor: theme.surface3 }], children: icon }) : null,
6479
- /* @__PURE__ */ jsxs62(View63, { style: styles52.text, children: [
6480
- /* @__PURE__ */ jsx69(Txt, { variant: "body", tone: destructive ? "danger" : "text", children: label }),
6481
- description ? /* @__PURE__ */ jsx69(Txt, { variant: "caption", tone: "secondary", children: description }) : null
6036
+ const body = /* @__PURE__ */ jsxs56(Fragment11, { children: [
6037
+ icon ? /* @__PURE__ */ jsx63(View57, { style: [styles51.tile, { backgroundColor: theme.surface3 }], children: icon }) : null,
6038
+ /* @__PURE__ */ jsxs56(View57, { style: styles51.text, children: [
6039
+ /* @__PURE__ */ jsx63(Txt, { variant: "body", tone: destructive ? "danger" : "text", children: label }),
6040
+ description ? /* @__PURE__ */ jsx63(Txt, { variant: "caption", tone: "secondary", children: description }) : null
6482
6041
  ] }),
6483
- value ? /* @__PURE__ */ jsx69(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles52.value, children: value }) : null,
6042
+ value ? /* @__PURE__ */ jsx63(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles51.value, children: value }) : null,
6484
6043
  trailing,
6485
- onPress && !trailing ? /* @__PURE__ */ jsx69(Svg31, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx69(Path26, { d: "m9 6 6 6-6 6", fill: "none", stroke: theme.textMuted, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) }) : null
6044
+ onPress && !trailing ? /* @__PURE__ */ jsx63(Svg26, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx63(Path21, { d: "m9 6 6 6-6 6", fill: "none", stroke: theme.textMuted, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) }) : null
6486
6045
  ] });
6487
6046
  if (onPress && !trailing) {
6488
- return /* @__PURE__ */ jsx69(
6489
- Pressable29,
6047
+ return /* @__PURE__ */ jsx63(
6048
+ Pressable28,
6490
6049
  {
6491
6050
  role: "button",
6492
6051
  accessibilityLabel,
6493
6052
  accessibilityState: { disabled: !!disabled },
6494
6053
  disabled,
6495
6054
  onPress,
6496
- style: ({ pressed }) => [styles52.row, pressed ? { backgroundColor: theme.surface2 } : null, disabled ? styles52.disabled : null],
6055
+ style: ({ pressed }) => [styles51.row, pressed ? { backgroundColor: theme.surface2 } : null, disabled ? styles51.disabled : null],
6497
6056
  children: body
6498
6057
  }
6499
6058
  );
6500
6059
  }
6501
- return /* @__PURE__ */ jsx69(View63, { accessible: !trailing, accessibilityLabel: trailing ? void 0 : accessibilityLabel, style: [styles52.row, disabled ? styles52.disabled : null], children: body });
6060
+ return /* @__PURE__ */ jsx63(View57, { accessible: !trailing, accessibilityLabel: trailing ? void 0 : accessibilityLabel, style: [styles51.row, disabled ? styles51.disabled : null], children: body });
6502
6061
  }
6503
6062
  function SettingsGroup({ title, children, style, ...props }) {
6504
6063
  const { theme } = useTheme();
6505
- const rows = React46.Children.toArray(children).filter(Boolean);
6506
- return /* @__PURE__ */ jsxs62(View63, { ...props, style: [styles52.group, style], children: [
6507
- title ? /* @__PURE__ */ jsx69(Txt, { variant: "caption", tone: "muted", role: "heading", style: styles52.title, children: title }) : null,
6508
- /* @__PURE__ */ jsx69(View63, { style: [styles52.card, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle }], children: rows.map((row, i) => /* @__PURE__ */ jsxs62(React46.Fragment, { children: [
6509
- i > 0 ? /* @__PURE__ */ jsx69(View63, { style: [styles52.hairline, { backgroundColor: theme.borderSubtle }] }) : null,
6064
+ const rows = React44.Children.toArray(children).filter(Boolean);
6065
+ return /* @__PURE__ */ jsxs56(View57, { ...props, style: [styles51.group, style], children: [
6066
+ title ? /* @__PURE__ */ jsx63(Txt, { variant: "caption", tone: "muted", role: "heading", style: styles51.title, children: title }) : null,
6067
+ /* @__PURE__ */ jsx63(View57, { style: [styles51.card, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle }], children: rows.map((row, i) => /* @__PURE__ */ jsxs56(React44.Fragment, { children: [
6068
+ i > 0 ? /* @__PURE__ */ jsx63(View57, { style: [styles51.hairline, { backgroundColor: theme.borderSubtle }] }) : null,
6510
6069
  row
6511
6070
  ] }, i)) })
6512
6071
  ] });
6513
6072
  }
6514
- var styles52 = StyleSheet52.create({
6073
+ var styles51 = StyleSheet51.create({
6515
6074
  group: { rowGap: 8 },
6516
6075
  title: { textTransform: "uppercase", letterSpacing: 0.6, fontWeight: "700", paddingHorizontal: 4 },
6517
- card: { borderWidth: StyleSheet52.hairlineWidth, borderRadius: 16, overflow: "hidden" },
6518
- hairline: { height: StyleSheet52.hairlineWidth, marginLeft: 16 },
6076
+ card: { borderWidth: StyleSheet51.hairlineWidth, borderRadius: 16, overflow: "hidden" },
6077
+ hairline: { height: StyleSheet51.hairlineWidth, marginLeft: 16 },
6519
6078
  row: { minHeight: 52, flexDirection: "row", alignItems: "center", columnGap: 12, paddingHorizontal: 16, paddingVertical: 10 },
6520
6079
  tile: { width: 32, height: 32, borderRadius: 8, alignItems: "center", justifyContent: "center" },
6521
6080
  text: { flex: 1, rowGap: 2 },
@@ -6524,10 +6083,10 @@ var styles52 = StyleSheet52.create({
6524
6083
  });
6525
6084
 
6526
6085
  // src/native/showcase.tsx
6527
- import * as React47 from "react";
6528
- import { Animated as Animated22, AppState, Easing as Easing12, FlatList, Pressable as Pressable30, StyleSheet as StyleSheet53, View as View64 } from "react-native";
6529
- import Svg32, { Path as Path27 } from "react-native-svg";
6530
- import { jsx as jsx70, jsxs as jsxs63 } from "react/jsx-runtime";
6086
+ import * as React45 from "react";
6087
+ import { Animated as Animated21, AppState, Easing as Easing11, FlatList, Pressable as Pressable29, StyleSheet as StyleSheet52, View as View58 } from "react-native";
6088
+ import Svg27, { Path as Path22 } from "react-native-svg";
6089
+ import { jsx as jsx64, jsxs as jsxs57 } from "react/jsx-runtime";
6531
6090
  var showcaseLabels = {
6532
6091
  previous: "Previous slide",
6533
6092
  next: "Next slide",
@@ -6541,16 +6100,16 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
6541
6100
  const { theme } = useTheme();
6542
6101
  const reduced = useReducedMotion();
6543
6102
  const total = items2.length;
6544
- const [current, setCurrent] = React47.useState(0);
6545
- const [width, setWidth] = React47.useState(0);
6546
- const [paused, setPaused] = React47.useState(false);
6547
- const [dragging, setDragging] = React47.useState(false);
6548
- const [background, setBackground] = React47.useState(false);
6549
- const [announce, setAnnounce] = React47.useState(false);
6550
- const list = React47.useRef(null);
6551
- const [fill] = React47.useState(() => new Animated22.Value(0));
6552
- const progress = React47.useRef(0);
6553
- React47.useEffect(() => {
6103
+ const [current, setCurrent] = React45.useState(0);
6104
+ const [width, setWidth] = React45.useState(0);
6105
+ const [paused, setPaused] = React45.useState(false);
6106
+ const [dragging, setDragging] = React45.useState(false);
6107
+ const [background, setBackground] = React45.useState(false);
6108
+ const [announce, setAnnounce] = React45.useState(false);
6109
+ const list = React45.useRef(null);
6110
+ const [fill] = React45.useState(() => new Animated21.Value(0));
6111
+ const progress = React45.useRef(0);
6112
+ React45.useEffect(() => {
6554
6113
  const id = fill.addListener(({ value }) => {
6555
6114
  progress.current = value;
6556
6115
  });
@@ -6571,13 +6130,13 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
6571
6130
  };
6572
6131
  const playing = autoplay && !reduced && total > 1;
6573
6132
  const running = playing && !paused && !dragging && !background && !(!loop && current === total - 1);
6574
- React47.useEffect(() => {
6133
+ React45.useEffect(() => {
6575
6134
  fill.setValue(0);
6576
6135
  progress.current = 0;
6577
6136
  }, [current, fill]);
6578
- React47.useEffect(() => {
6137
+ React45.useEffect(() => {
6579
6138
  if (!running) return;
6580
- const animation = Animated22.timing(fill, { toValue: 1, duration: Math.max(1, interval * (1 - progress.current)), easing: Easing12.linear, useNativeDriver: false });
6139
+ const animation = Animated21.timing(fill, { toValue: 1, duration: Math.max(1, interval * (1 - progress.current)), easing: Easing11.linear, useNativeDriver: false });
6581
6140
  animation.start(({ finished }) => {
6582
6141
  if (finished) go(current + 1, false);
6583
6142
  });
@@ -6585,10 +6144,10 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
6585
6144
  }, [running, current, interval]);
6586
6145
  const item = items2[current];
6587
6146
  const title = item !== void 0 ? getTitle?.(item) : void 0;
6588
- const control = [styles53.control, { borderColor: theme.borderDefault, backgroundColor: theme.surface1 }];
6589
- const icon = (d) => /* @__PURE__ */ jsx70(Svg32, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx70(Path27, { d, stroke: theme.textSecondary, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) });
6590
- return /* @__PURE__ */ jsxs63(View64, { role: "group", "aria-label": label, style: [styles53.root, style], children: [
6591
- /* @__PURE__ */ jsx70(View64, { "aria-live": announce ? "polite" : "off", onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: /* @__PURE__ */ jsx70(
6147
+ const control = [styles52.control, { borderColor: theme.borderDefault, backgroundColor: theme.surface1 }];
6148
+ const icon = (d) => /* @__PURE__ */ jsx64(Svg27, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx64(Path22, { d, stroke: theme.textSecondary, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) });
6149
+ return /* @__PURE__ */ jsxs57(View58, { role: "group", "aria-label": label, style: [styles52.root, style], children: [
6150
+ /* @__PURE__ */ jsx64(View58, { "aria-live": announce ? "polite" : "off", onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: /* @__PURE__ */ jsx64(
6592
6151
  FlatList,
6593
6152
  {
6594
6153
  ref: list,
@@ -6609,25 +6168,25 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
6609
6168
  onIndexChange?.(next, true);
6610
6169
  }
6611
6170
  },
6612
- renderItem: ({ item: slide, index }) => /* @__PURE__ */ jsx70(View64, { role: "group", "aria-label": labels.slide(index + 1, total), style: { width }, children: Math.abs(index - current) <= 1 ? renderItem(slide, { index, active: index === current }) : null })
6171
+ renderItem: ({ item: slide, index }) => /* @__PURE__ */ jsx64(View58, { role: "group", "aria-label": labels.slide(index + 1, total), style: { width }, children: Math.abs(index - current) <= 1 ? renderItem(slide, { index, active: index === current }) : null })
6613
6172
  }
6614
6173
  ) }),
6615
- /* @__PURE__ */ jsx70(View64, { style: styles53.segments, children: items2.map((slide, i) => /* @__PURE__ */ jsx70(Pressable30, { role: "button", "aria-label": labels.goTo(i + 1, total), "aria-current": i === current ? true : void 0, onPress: () => go(i, true), style: styles53.segment, children: /* @__PURE__ */ jsxs63(View64, { style: [styles53.track, { backgroundColor: theme.surface3 }], children: [
6616
- i < current || i === current && !playing ? /* @__PURE__ */ jsx70(View64, { style: [StyleSheet53.absoluteFill, { backgroundColor: theme.accent }] }) : null,
6617
- i === current && playing ? /* @__PURE__ */ jsx70(Animated22.View, { style: [styles53.fill, { backgroundColor: theme.accent, width: fill.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) }] }) : null
6174
+ /* @__PURE__ */ jsx64(View58, { style: styles52.segments, children: items2.map((slide, i) => /* @__PURE__ */ jsx64(Pressable29, { role: "button", "aria-label": labels.goTo(i + 1, total), "aria-current": i === current ? true : void 0, onPress: () => go(i, true), style: styles52.segment, children: /* @__PURE__ */ jsxs57(View58, { style: [styles52.track, { backgroundColor: theme.surface3 }], children: [
6175
+ i < current || i === current && !playing ? /* @__PURE__ */ jsx64(View58, { style: [StyleSheet52.absoluteFill, { backgroundColor: theme.accent }] }) : null,
6176
+ i === current && playing ? /* @__PURE__ */ jsx64(Animated21.View, { style: [styles52.fill, { backgroundColor: theme.accent, width: fill.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) }] }) : null
6618
6177
  ] }) }, getId(slide))) }),
6619
- /* @__PURE__ */ jsxs63(View64, { style: styles53.bar, children: [
6620
- /* @__PURE__ */ jsxs63(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles53.counter, children: [
6178
+ /* @__PURE__ */ jsxs57(View58, { style: styles52.bar, children: [
6179
+ /* @__PURE__ */ jsxs57(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles52.counter, children: [
6621
6180
  title ? `${title} \xB7 ` : "",
6622
6181
  labels.counter(current + 1, total)
6623
6182
  ] }),
6624
- /* @__PURE__ */ jsx70(Pressable30, { role: "button", "aria-label": labels.previous, disabled: !loop && current === 0, hitSlop: 6, onPress: () => go(current - 1, true), style: control, children: icon("M15 5l-7 7 7 7") }),
6625
- playing ? /* @__PURE__ */ jsx70(Pressable30, { role: "button", "aria-label": paused ? labels.play : labels.pause, hitSlop: 6, onPress: () => setPaused(!paused), style: control, children: icon(paused ? "M8 5.5v13l10-6.5Z" : "M8 5v14M16 5v14") }) : null,
6626
- /* @__PURE__ */ jsx70(Pressable30, { role: "button", "aria-label": labels.next, disabled: !loop && current === total - 1, hitSlop: 6, onPress: () => go(current + 1, true), style: control, children: icon("M9 5l7 7-7 7") })
6183
+ /* @__PURE__ */ jsx64(Pressable29, { role: "button", "aria-label": labels.previous, disabled: !loop && current === 0, hitSlop: 6, onPress: () => go(current - 1, true), style: control, children: icon("M15 5l-7 7 7 7") }),
6184
+ playing ? /* @__PURE__ */ jsx64(Pressable29, { role: "button", "aria-label": paused ? labels.play : labels.pause, hitSlop: 6, onPress: () => setPaused(!paused), style: control, children: icon(paused ? "M8 5.5v13l10-6.5Z" : "M8 5v14M16 5v14") }) : null,
6185
+ /* @__PURE__ */ jsx64(Pressable29, { role: "button", "aria-label": labels.next, disabled: !loop && current === total - 1, hitSlop: 6, onPress: () => go(current + 1, true), style: control, children: icon("M9 5l7 7-7 7") })
6627
6186
  ] })
6628
6187
  ] });
6629
6188
  }
6630
- var styles53 = StyleSheet53.create({
6189
+ var styles52 = StyleSheet52.create({
6631
6190
  root: { gap: 8 },
6632
6191
  segments: { flexDirection: "row", gap: 4 },
6633
6192
  segment: { flex: 1, height: 24, justifyContent: "center" },
@@ -6639,9 +6198,9 @@ var styles53 = StyleSheet53.create({
6639
6198
  });
6640
6199
 
6641
6200
  // src/native/skeleton.tsx
6642
- import * as React48 from "react";
6643
- import { Animated as Animated23 } from "react-native";
6644
- import { jsx as jsx71 } from "react/jsx-runtime";
6201
+ import * as React46 from "react";
6202
+ import { Animated as Animated22 } from "react-native";
6203
+ import { jsx as jsx65 } from "react/jsx-runtime";
6645
6204
  var SHAPE = {
6646
6205
  text: { width: "100%", height: 12, radius: 4 },
6647
6206
  circle: { width: 40, height: 40, radius: 9999 },
@@ -6650,13 +6209,13 @@ var SHAPE = {
6650
6209
  function Skeleton({ shape = "text", width, height, style, testID }) {
6651
6210
  const { theme } = useTheme();
6652
6211
  const reduce = useReducedMotion();
6653
- const [opacity] = React48.useState(() => new Animated23.Value(1));
6654
- React48.useEffect(() => {
6212
+ const [opacity] = React46.useState(() => new Animated22.Value(1));
6213
+ React46.useEffect(() => {
6655
6214
  if (reduce) return;
6656
- const loop = Animated23.loop(
6657
- Animated23.sequence([
6658
- Animated23.timing(opacity, { toValue: 0.5, duration: 900, useNativeDriver: true }),
6659
- Animated23.timing(opacity, { toValue: 1, duration: 900, useNativeDriver: true })
6215
+ const loop = Animated22.loop(
6216
+ Animated22.sequence([
6217
+ Animated22.timing(opacity, { toValue: 0.5, duration: 900, useNativeDriver: true }),
6218
+ Animated22.timing(opacity, { toValue: 1, duration: 900, useNativeDriver: true })
6660
6219
  ])
6661
6220
  );
6662
6221
  loop.start();
@@ -6667,8 +6226,8 @@ function Skeleton({ shape = "text", width, height, style, testID }) {
6667
6226
  }, [reduce, opacity]);
6668
6227
  const s = SHAPE[shape];
6669
6228
  const side = shape === "circle" ? width ?? height ?? s.width : void 0;
6670
- return /* @__PURE__ */ jsx71(
6671
- Animated23.View,
6229
+ return /* @__PURE__ */ jsx65(
6230
+ Animated22.View,
6672
6231
  {
6673
6232
  testID,
6674
6233
  "aria-hidden": true,
@@ -6681,10 +6240,10 @@ function Skeleton({ shape = "text", width, height, style, testID }) {
6681
6240
  }
6682
6241
 
6683
6242
  // src/native/slider.tsx
6684
- import * as React49 from "react";
6685
- import { PanResponder as PanResponder2, StyleSheet as StyleSheet54, Text as Text19, View as View65 } from "react-native";
6686
- import Svg33, { Defs as Defs15, LinearGradient as LinearGradient12, Rect as Rect6, Stop as Stop15 } from "react-native-svg";
6687
- import { jsx as jsx72, jsxs as jsxs64 } from "react/jsx-runtime";
6243
+ import * as React47 from "react";
6244
+ import { PanResponder as PanResponder2, StyleSheet as StyleSheet53, Text as Text19, View as View59 } from "react-native";
6245
+ import Svg28, { Defs as Defs11, LinearGradient as LinearGradient10, Rect as Rect6, Stop as Stop11 } from "react-native-svg";
6246
+ import { jsx as jsx66, jsxs as jsxs58 } from "react/jsx-runtime";
6688
6247
  var THUMB = 26;
6689
6248
  var toArray = (v) => v === void 0 ? void 0 : typeof v === "number" ? [v] : [...v];
6690
6249
  function Slider({
@@ -6710,20 +6269,20 @@ function Slider({
6710
6269
  const { theme, radius: radius3, haptic } = useTheme();
6711
6270
  const range = Array.isArray(value ?? defaultValue);
6712
6271
  const vertical = orientation === "vertical";
6713
- const [inner, setInner] = React49.useState(() => toArray(defaultValue) ?? [min]);
6272
+ const [inner, setInner] = React47.useState(() => toArray(defaultValue) ?? [min]);
6714
6273
  const current = toArray(value) ?? inner;
6715
- const [length, setLength] = React49.useState(0);
6716
- const [dragging, setDragging] = React49.useState(null);
6274
+ const [length, setLength] = React47.useState(0);
6275
+ const [dragging, setDragging] = React47.useState(null);
6717
6276
  const gradientId = useSvgId("kzs");
6718
6277
  const out = (next) => range ? [next[0], next[1]] : next[0];
6719
6278
  const snap = (v) => Math.min(max, Math.max(min, Math.round((v - min) / step) * step + min));
6720
6279
  const pct = (v) => (v - min) / (max - min || 1);
6721
- const live = React49.useRef({ current, length, vertical, disabled });
6722
- React49.useLayoutEffect(() => {
6280
+ const live = React47.useRef({ current, length, vertical, disabled });
6281
+ React47.useLayoutEffect(() => {
6723
6282
  live.current = { current, length, vertical, disabled };
6724
6283
  });
6725
- const active = React49.useRef(0);
6726
- const start = React49.useRef(0);
6284
+ const active = React47.useRef(0);
6285
+ const start = React47.useRef(0);
6727
6286
  const set = (next) => {
6728
6287
  if (value === void 0) setInner(next);
6729
6288
  onValueChange?.(out(next));
@@ -6744,11 +6303,11 @@ function Slider({
6744
6303
  return min + p * (max - min);
6745
6304
  };
6746
6305
  const commit = () => onValueCommit?.(out(live.current.current));
6747
- const handlers = React49.useRef({ move: move2, at, commit });
6748
- React49.useLayoutEffect(() => {
6306
+ const handlers = React47.useRef({ move: move2, at, commit });
6307
+ React47.useLayoutEffect(() => {
6749
6308
  handlers.current = { move: move2, at, commit };
6750
6309
  });
6751
- const [responder] = React49.useState(
6310
+ const [responder] = React47.useState(
6752
6311
  () => PanResponder2.create({
6753
6312
  onStartShouldSetPanResponder: () => !live.current.disabled,
6754
6313
  onMoveShouldSetPanResponder: () => !live.current.disabled,
@@ -6776,24 +6335,24 @@ function Slider({
6776
6335
  const along = (p) => vertical ? { bottom: p * length } : { left: p * length };
6777
6336
  const onLayout = (e) => setLength(vertical ? e.nativeEvent.layout.height : e.nativeEvent.layout.width);
6778
6337
  const fill = vertical ? { bottom: pct(lo) * length, height: (pct(hi) - pct(lo)) * length, left: 0, right: 0 } : { left: pct(lo) * length, width: (pct(hi) - pct(lo)) * length, top: 0, bottom: 0 };
6779
- return /* @__PURE__ */ jsxs64(View65, { style: [styles54.root, vertical ? styles54.rootVertical : null, disabled ? styles54.disabled : null, style], children: [
6780
- showLabel ? /* @__PURE__ */ jsxs64(View65, { style: styles54.header, children: [
6781
- /* @__PURE__ */ jsx72(Text19, { style: [styles54.label, { color: theme.textSecondary }], children: label }),
6782
- /* @__PURE__ */ jsx72(Text19, { "aria-hidden": true, style: [styles54.value, { color: theme.textSecondary }], children: current.map(formatValue).join(" \u2013 ") })
6338
+ return /* @__PURE__ */ jsxs58(View59, { style: [styles53.root, vertical ? styles53.rootVertical : null, disabled ? styles53.disabled : null, style], children: [
6339
+ showLabel ? /* @__PURE__ */ jsxs58(View59, { style: styles53.header, children: [
6340
+ /* @__PURE__ */ jsx66(Text19, { style: [styles53.label, { color: theme.textSecondary }], children: label }),
6341
+ /* @__PURE__ */ jsx66(Text19, { "aria-hidden": true, style: [styles53.value, { color: theme.textSecondary }], children: current.map(formatValue).join(" \u2013 ") })
6783
6342
  ] }) : null,
6784
- /* @__PURE__ */ jsxs64(View65, { ...responder.panHandlers, style: vertical ? styles54.controlVertical : styles54.control, children: [
6785
- /* @__PURE__ */ jsxs64(View65, { onLayout, pointerEvents: "none", style: [vertical ? styles54.trackVertical : styles54.track, { borderRadius: radius3.full, backgroundColor: theme.surface3 }], children: [
6786
- /* @__PURE__ */ jsx72(View65, { style: [styles54.fill, fill, { borderRadius: radius3.full, overflow: "hidden", backgroundColor: theme.accent }], children: tone3 === "gradient" ? /* @__PURE__ */ jsxs64(Svg33, { width: "100%", height: "100%", "aria-hidden": true, children: [
6787
- /* @__PURE__ */ jsx72(Defs15, { children: /* @__PURE__ */ jsxs64(LinearGradient12, { id: gradientId, x1: "0", y1: vertical ? "1" : "0", x2: vertical ? "0" : "1", y2: "0", children: [
6788
- /* @__PURE__ */ jsx72(Stop15, { offset: "0", stopColor: theme.accent }),
6789
- /* @__PURE__ */ jsx72(Stop15, { offset: "1", stopColor: theme.accent2 })
6343
+ /* @__PURE__ */ jsxs58(View59, { ...responder.panHandlers, style: vertical ? styles53.controlVertical : styles53.control, children: [
6344
+ /* @__PURE__ */ jsxs58(View59, { onLayout, pointerEvents: "none", style: [vertical ? styles53.trackVertical : styles53.track, { borderRadius: radius3.full, backgroundColor: theme.surface3 }], children: [
6345
+ /* @__PURE__ */ jsx66(View59, { style: [styles53.fill, fill, { borderRadius: radius3.full, overflow: "hidden", backgroundColor: theme.accent }], children: tone3 === "gradient" ? /* @__PURE__ */ jsxs58(Svg28, { width: "100%", height: "100%", "aria-hidden": true, children: [
6346
+ /* @__PURE__ */ jsx66(Defs11, { children: /* @__PURE__ */ jsxs58(LinearGradient10, { id: gradientId, x1: "0", y1: vertical ? "1" : "0", x2: vertical ? "0" : "1", y2: "0", children: [
6347
+ /* @__PURE__ */ jsx66(Stop11, { offset: "0", stopColor: theme.accent }),
6348
+ /* @__PURE__ */ jsx66(Stop11, { offset: "1", stopColor: theme.accent2 })
6790
6349
  ] }) }),
6791
- /* @__PURE__ */ jsx72(Rect6, { width: "100%", height: "100%", fill: `url(#${gradientId})` })
6350
+ /* @__PURE__ */ jsx66(Rect6, { width: "100%", height: "100%", fill: `url(#${gradientId})` })
6792
6351
  ] }) : null }),
6793
- tickValues.map((t) => /* @__PURE__ */ jsx72(View65, { style: [vertical ? styles54.tickVertical : styles54.tick, along(pct(t)), { backgroundColor: t > lo && t < hi ? theme.onAccent : theme.borderStrong }] }, t))
6352
+ tickValues.map((t) => /* @__PURE__ */ jsx66(View59, { style: [vertical ? styles53.tickVertical : styles53.tick, along(pct(t)), { backgroundColor: t > lo && t < hi ? theme.onAccent : theme.borderStrong }] }, t))
6794
6353
  ] }),
6795
- current.map((v, i) => /* @__PURE__ */ jsx72(
6796
- View65,
6354
+ current.map((v, i) => /* @__PURE__ */ jsx66(
6355
+ View59,
6797
6356
  {
6798
6357
  accessible: true,
6799
6358
  role: "slider",
@@ -6812,16 +6371,16 @@ function Slider({
6812
6371
  onValueCommit?.(out(values));
6813
6372
  },
6814
6373
  pointerEvents: "none",
6815
- style: [styles54.thumb, vertical ? { bottom: pct(v) * length, left: (44 - THUMB) / 2, marginLeft: 0, marginTop: 0 } : { left: pct(v) * length - THUMB / 2, top: 0 }, { borderColor: theme.accent, backgroundColor: theme.textOnMedia, shadowColor: theme.scrimStrong }],
6816
- children: floatingValue === "always" || floatingValue && dragging === i ? /* @__PURE__ */ jsx72(View65, { "aria-hidden": true, style: [vertical ? styles54.bubbleVertical : styles54.bubble, { backgroundColor: theme.textPrimary, borderRadius: radius3.md }], children: /* @__PURE__ */ jsx72(Text19, { style: [styles54.bubbleText, { color: theme.surface0 }], children: formatValue(v) }) }) : null
6374
+ style: [styles53.thumb, vertical ? { bottom: pct(v) * length, left: (44 - THUMB) / 2, marginLeft: 0, marginTop: 0 } : { left: pct(v) * length - THUMB / 2, top: 0 }, { borderColor: theme.accent, backgroundColor: theme.textOnMedia, shadowColor: theme.scrimStrong }],
6375
+ children: floatingValue === "always" || floatingValue && dragging === i ? /* @__PURE__ */ jsx66(View59, { "aria-hidden": true, style: [vertical ? styles53.bubbleVertical : styles53.bubble, { backgroundColor: theme.textPrimary, borderRadius: radius3.md }], children: /* @__PURE__ */ jsx66(Text19, { style: [styles53.bubbleText, { color: theme.surface0 }], children: formatValue(v) }) }) : null
6817
6376
  },
6818
6377
  i
6819
6378
  ))
6820
6379
  ] }),
6821
- marks2?.length && !vertical ? /* @__PURE__ */ jsx72(View65, { "aria-hidden": true, style: styles54.marks, children: marks2.map((m) => /* @__PURE__ */ jsx72(Text19, { style: [styles54.mark, { left: pct(m.value) * length, color: theme.textSecondary, transform: [{ translateX: m.value === min ? 0 : m.value === max ? -40 : -20 }], textAlign: m.value === min ? "left" : m.value === max ? "right" : "center" }], children: m.label }, m.value)) }) : null
6380
+ marks2?.length && !vertical ? /* @__PURE__ */ jsx66(View59, { "aria-hidden": true, style: styles53.marks, children: marks2.map((m) => /* @__PURE__ */ jsx66(Text19, { style: [styles53.mark, { left: pct(m.value) * length, color: theme.textSecondary, transform: [{ translateX: m.value === min ? 0 : m.value === max ? -40 : -20 }], textAlign: m.value === min ? "left" : m.value === max ? "right" : "center" }], children: m.label }, m.value)) }) : null
6822
6381
  ] });
6823
6382
  }
6824
- var styles54 = StyleSheet54.create({
6383
+ var styles53 = StyleSheet53.create({
6825
6384
  root: { gap: 8, alignSelf: "stretch" },
6826
6385
  rootVertical: { alignSelf: "flex-start", alignItems: "center" },
6827
6386
  header: { flexDirection: "row", justifyContent: "space-between", alignItems: "baseline", gap: 12 },
@@ -6857,10 +6416,10 @@ var styles54 = StyleSheet54.create({
6857
6416
 
6858
6417
  // src/native/spinner.tsx
6859
6418
  import { ActivityIndicator as ActivityIndicator2 } from "react-native";
6860
- import { jsx as jsx73 } from "react/jsx-runtime";
6419
+ import { jsx as jsx67 } from "react/jsx-runtime";
6861
6420
  function Spinner({ label, size = "md", ...props }) {
6862
6421
  const { theme } = useTheme();
6863
- return /* @__PURE__ */ jsx73(
6422
+ return /* @__PURE__ */ jsx67(
6864
6423
  ActivityIndicator2,
6865
6424
  {
6866
6425
  accessible: true,
@@ -6875,17 +6434,17 @@ function Spinner({ label, size = "md", ...props }) {
6875
6434
  }
6876
6435
 
6877
6436
  // src/native/splash-handoff.tsx
6878
- import * as React50 from "react";
6879
- import { Animated as Animated24, Easing as Easing13, StyleSheet as StyleSheet55, View as View66 } from "react-native";
6880
- import { jsx as jsx74 } from "react/jsx-runtime";
6437
+ import * as React48 from "react";
6438
+ import { Animated as Animated23, Easing as Easing12, StyleSheet as StyleSheet54, View as View60 } from "react-native";
6439
+ import { jsx as jsx68 } from "react/jsx-runtime";
6881
6440
  function SplashHandoff({ product, ready, onShown, onDone, size = 96, background, label, duration = 320, style }) {
6882
6441
  const { theme } = useTheme();
6883
6442
  const reduce = useReducedMotion();
6884
- const [opacity] = React50.useState(() => new Animated24.Value(1));
6885
- const [gone, setGone] = React50.useState(false);
6886
- React50.useEffect(() => {
6443
+ const [opacity] = React48.useState(() => new Animated23.Value(1));
6444
+ const [gone, setGone] = React48.useState(false);
6445
+ React48.useEffect(() => {
6887
6446
  if (!ready) return;
6888
- const animation = Animated24.timing(opacity, { toValue: 0, duration: reduce ? 0 : duration, easing: Easing13.out(Easing13.ease), useNativeDriver: true });
6447
+ const animation = Animated23.timing(opacity, { toValue: 0, duration: reduce ? 0 : duration, easing: Easing12.out(Easing12.ease), useNativeDriver: true });
6889
6448
  animation.start(({ finished }) => {
6890
6449
  if (finished) {
6891
6450
  setGone(true);
@@ -6895,8 +6454,8 @@ function SplashHandoff({ product, ready, onShown, onDone, size = 96, background,
6895
6454
  return () => animation.stop();
6896
6455
  }, [ready, reduce, duration, opacity, onDone]);
6897
6456
  if (gone) return null;
6898
- return /* @__PURE__ */ jsx74(
6899
- Animated24.View,
6457
+ return /* @__PURE__ */ jsx68(
6458
+ Animated23.View,
6900
6459
  {
6901
6460
  accessible: true,
6902
6461
  role: "progressbar",
@@ -6904,17 +6463,17 @@ function SplashHandoff({ product, ready, onShown, onDone, size = 96, background,
6904
6463
  "aria-busy": true,
6905
6464
  pointerEvents: ready ? "none" : "auto",
6906
6465
  onLayout: onShown,
6907
- style: [StyleSheet55.absoluteFill, styles55.root, { backgroundColor: background ?? theme.surface0, opacity }, style],
6908
- children: /* @__PURE__ */ jsx74(View66, { children: /* @__PURE__ */ jsx74(ProductMark, { id: product, size, animated: true }) })
6466
+ style: [StyleSheet54.absoluteFill, styles54.root, { backgroundColor: background ?? theme.surface0, opacity }, style],
6467
+ children: /* @__PURE__ */ jsx68(View60, { children: /* @__PURE__ */ jsx68(ProductMark, { id: product, size, animated: true }) })
6909
6468
  }
6910
6469
  );
6911
6470
  }
6912
- var styles55 = StyleSheet55.create({ root: { alignItems: "center", justifyContent: "center", zIndex: 100 } });
6471
+ var styles54 = StyleSheet54.create({ root: { alignItems: "center", justifyContent: "center", zIndex: 100 } });
6913
6472
 
6914
6473
  // src/native/state-screen.tsx
6915
- import { StyleSheet as StyleSheet56, View as View67 } from "react-native";
6916
- import Svg34, { Path as Path28 } from "react-native-svg";
6917
- import { Fragment as Fragment12, jsx as jsx75, jsxs as jsxs65 } from "react/jsx-runtime";
6474
+ import { StyleSheet as StyleSheet55, View as View61 } from "react-native";
6475
+ import Svg29, { Path as Path23 } from "react-native-svg";
6476
+ import { Fragment as Fragment12, jsx as jsx69, jsxs as jsxs59 } from "react/jsx-runtime";
6918
6477
  var PATHS = {
6919
6478
  empty: ["M4 13l2-7h12l2 7", "M4 13v5h16v-5", "M4 13h5l1 2h4l1-2h5"],
6920
6479
  error: ["M12 4 3 20h18L12 4z", "M12 10v4", "M12 17h.01"],
@@ -6922,31 +6481,31 @@ var PATHS = {
6922
6481
  };
6923
6482
  function KindIcon({ kind }) {
6924
6483
  const { theme } = useTheme();
6925
- return /* @__PURE__ */ jsx75(Svg34, { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", stroke: kind === "error" ? theme.dangerText : theme.textSecondary, strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", children: PATHS[kind].map((d) => /* @__PURE__ */ jsx75(Path28, { d }, d)) });
6484
+ return /* @__PURE__ */ jsx69(Svg29, { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", stroke: kind === "error" ? theme.dangerText : theme.textSecondary, strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", children: PATHS[kind].map((d) => /* @__PURE__ */ jsx69(Path23, { d }, d)) });
6926
6485
  }
6927
6486
  function StateScreen({ kind, title, description, action, secondary, icon, inline, testID, style }) {
6928
- const body = /* @__PURE__ */ jsx75(
6487
+ const body = /* @__PURE__ */ jsx69(
6929
6488
  EmptyState,
6930
6489
  {
6931
- icon: icon ?? /* @__PURE__ */ jsx75(KindIcon, { kind }),
6490
+ icon: icon ?? /* @__PURE__ */ jsx69(KindIcon, { kind }),
6932
6491
  title,
6933
6492
  description,
6934
- action: action || secondary ? /* @__PURE__ */ jsxs65(Fragment12, { children: [
6935
- action ? /* @__PURE__ */ jsx75(Button, { label: action.label, variant: "primary", onPress: action.onPress }) : null,
6936
- secondary ? /* @__PURE__ */ jsx75(Button, { label: secondary.label, variant: "ghost", onPress: secondary.onPress }) : null
6493
+ action: action || secondary ? /* @__PURE__ */ jsxs59(Fragment12, { children: [
6494
+ action ? /* @__PURE__ */ jsx69(Button, { label: action.label, variant: "primary", onPress: action.onPress }) : null,
6495
+ secondary ? /* @__PURE__ */ jsx69(Button, { label: secondary.label, variant: "ghost", onPress: secondary.onPress }) : null
6937
6496
  ] }) : void 0
6938
6497
  }
6939
6498
  );
6940
- return /* @__PURE__ */ jsx75(View67, { testID, role: kind === "error" ? "alert" : kind === "offline" ? "status" : void 0, "data-state": kind, style: [inline ? styles56.inline : styles56.fill, style], children: body });
6499
+ return /* @__PURE__ */ jsx69(View61, { testID, role: kind === "error" ? "alert" : kind === "offline" ? "status" : void 0, "data-state": kind, style: [inline ? styles55.inline : styles55.fill, style], children: body });
6941
6500
  }
6942
6501
  function OfflineBanner({ label, actionLabel, onAction, testID }) {
6943
6502
  const { theme, insets } = useTheme();
6944
- return /* @__PURE__ */ jsxs65(View67, { testID, role: "status", style: [styles56.banner, { backgroundColor: theme.warningSoft, paddingTop: 8 + insets.top }], children: [
6945
- /* @__PURE__ */ jsx75(Txt, { variant: "caption", style: styles56.bannerText, children: label }),
6946
- actionLabel && onAction ? /* @__PURE__ */ jsx75(Button, { label: actionLabel, size: "sm", variant: "ghost", onPress: onAction }) : null
6503
+ return /* @__PURE__ */ jsxs59(View61, { testID, role: "status", style: [styles55.banner, { backgroundColor: theme.warningSoft, paddingTop: 8 + insets.top }], children: [
6504
+ /* @__PURE__ */ jsx69(Txt, { variant: "caption", style: styles55.bannerText, children: label }),
6505
+ actionLabel && onAction ? /* @__PURE__ */ jsx69(Button, { label: actionLabel, size: "sm", variant: "ghost", onPress: onAction }) : null
6947
6506
  ] });
6948
6507
  }
6949
- var styles56 = StyleSheet56.create({
6508
+ var styles55 = StyleSheet55.create({
6950
6509
  fill: { flex: 1, alignSelf: "stretch", alignItems: "center", justifyContent: "center" },
6951
6510
  inline: { alignSelf: "stretch", alignItems: "center" },
6952
6511
  banner: { flexDirection: "row", alignItems: "center", gap: 8, paddingHorizontal: 16, paddingBottom: 8 },
@@ -6954,9 +6513,9 @@ var styles56 = StyleSheet56.create({
6954
6513
  });
6955
6514
 
6956
6515
  // src/native/status-chip.tsx
6957
- import * as React51 from "react";
6958
- import { Pressable as Pressable31 } from "react-native";
6959
- import { Fragment as Fragment13, jsx as jsx76, jsxs as jsxs66 } from "react/jsx-runtime";
6516
+ import * as React49 from "react";
6517
+ import { Pressable as Pressable30 } from "react-native";
6518
+ import { Fragment as Fragment13, jsx as jsx70, jsxs as jsxs60 } from "react/jsx-runtime";
6960
6519
  function StatusChip({
6961
6520
  label,
6962
6521
  tone: tone3 = "neutral",
@@ -6968,14 +6527,14 @@ function StatusChip({
6968
6527
  cancelLabel = "Cancel",
6969
6528
  size = "sm"
6970
6529
  }) {
6971
- const [open, setOpen] = React51.useState(false);
6972
- const [armed, setArmed] = React51.useState(null);
6973
- const [asking, setAsking] = React51.useState(null);
6974
- const badge = /* @__PURE__ */ jsx76(Badge, { tone: tone3, size, dot: true, children: label });
6530
+ const [open, setOpen] = React49.useState(false);
6531
+ const [armed, setArmed] = React49.useState(null);
6532
+ const [asking, setAsking] = React49.useState(null);
6533
+ const badge = /* @__PURE__ */ jsx70(Badge, { tone: tone3, size, dot: true, children: label });
6975
6534
  if (!onMove || moves.length === 0) return badge;
6976
- return /* @__PURE__ */ jsxs66(Fragment13, { children: [
6977
- /* @__PURE__ */ jsx76(Pressable31, { role: "button", "aria-label": menuLabel(label), "aria-haspopup": "menu", hitSlop: 8, onPress: () => setOpen(true), style: { alignSelf: "flex-start" }, children: badge }),
6978
- /* @__PURE__ */ jsx76(
6535
+ return /* @__PURE__ */ jsxs60(Fragment13, { children: [
6536
+ /* @__PURE__ */ jsx70(Pressable30, { role: "button", "aria-label": menuLabel(label), "aria-haspopup": "menu", hitSlop: 8, onPress: () => setOpen(true), style: { alignSelf: "flex-start" }, children: badge }),
6537
+ /* @__PURE__ */ jsx70(
6979
6538
  ActionSheet,
6980
6539
  {
6981
6540
  open,
@@ -7003,7 +6562,7 @@ function StatusChip({
7003
6562
  }))
7004
6563
  }
7005
6564
  ),
7006
- /* @__PURE__ */ jsx76(
6565
+ /* @__PURE__ */ jsx70(
7007
6566
  ActionSheet,
7008
6567
  {
7009
6568
  open: asking !== null,
@@ -7024,36 +6583,36 @@ function StatusChip({
7024
6583
  }
7025
6584
 
7026
6585
  // src/native/stepper.tsx
7027
- import { StyleSheet as StyleSheet57, View as View68 } from "react-native";
7028
- import Svg35, { Circle as Circle17, Path as Path29 } from "react-native-svg";
7029
- import { jsx as jsx77, jsxs as jsxs67 } from "react/jsx-runtime";
6586
+ import { StyleSheet as StyleSheet56, View as View62 } from "react-native";
6587
+ import Svg30, { Circle as Circle13, Path as Path24 } from "react-native-svg";
6588
+ import { jsx as jsx71, jsxs as jsxs61 } from "react/jsx-runtime";
7030
6589
  var WORDS = { done: "done", current: "in progress", upcoming: "to come", error: "failed" };
7031
6590
  function Stepper({ steps, current = 0, orientation = "vertical", statusLabels, "aria-label": label, style }) {
7032
6591
  const { theme } = useTheme();
7033
6592
  const words2 = { ...WORDS, ...statusLabels };
7034
6593
  const vertical = orientation === "vertical";
7035
- return /* @__PURE__ */ jsx77(View68, { role: "list", "aria-label": label, style: [vertical ? styles57.column : styles57.row, style], children: steps.map((step, i) => {
6594
+ return /* @__PURE__ */ jsx71(View62, { role: "list", "aria-label": label, style: [vertical ? styles56.column : styles56.row, style], children: steps.map((step, i) => {
7036
6595
  const status = step.status ?? (i < current ? "done" : i === current ? "current" : "upcoming");
7037
6596
  const last = i === steps.length - 1;
7038
- const node = status === "current" ? /* @__PURE__ */ jsx77(LoaderGlyph, { value: step.value ?? null, size: 24 }) : status === "error" ? /* @__PURE__ */ jsx77(LoaderGlyph, { state: "error", size: 24 }) : /* @__PURE__ */ jsxs67(Svg35, { width: 24, height: 24, viewBox: "0 0 24 24", "aria-hidden": true, children: [
7039
- /* @__PURE__ */ jsx77(Circle17, { cx: 12, cy: 12, r: 10, fill: status === "done" ? theme.accent : "none", stroke: status === "done" ? theme.accent : theme.borderStrong, strokeWidth: 2 }),
7040
- status === "done" ? /* @__PURE__ */ jsx77(Path29, { d: "M7.5 12.3l3 3 6-6.3", stroke: theme.onAccent, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) : null
6597
+ const node = status === "current" ? /* @__PURE__ */ jsx71(LoaderGlyph, { value: step.value ?? null, size: 24 }) : status === "error" ? /* @__PURE__ */ jsx71(LoaderGlyph, { state: "error", size: 24 }) : /* @__PURE__ */ jsxs61(Svg30, { width: 24, height: 24, viewBox: "0 0 24 24", "aria-hidden": true, children: [
6598
+ /* @__PURE__ */ jsx71(Circle13, { cx: 12, cy: 12, r: 10, fill: status === "done" ? theme.accent : "none", stroke: status === "done" ? theme.accent : theme.borderStrong, strokeWidth: 2 }),
6599
+ status === "done" ? /* @__PURE__ */ jsx71(Path24, { d: "M7.5 12.3l3 3 6-6.3", stroke: theme.onAccent, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) : null
7041
6600
  ] });
7042
- const connector = !last ? /* @__PURE__ */ jsx77(View68, { "aria-hidden": true, style: [vertical ? styles57.vLine : styles57.hLine, { backgroundColor: status === "done" ? theme.accent : theme.borderDefault }] }) : null;
7043
- return /* @__PURE__ */ jsxs67(View68, { role: "listitem", accessible: true, "aria-label": `${step.title}, ${words2[status]}`, style: vertical ? styles57.vStep : styles57.hStep, children: [
7044
- /* @__PURE__ */ jsxs67(View68, { style: vertical ? styles57.vRail : styles57.hRail, children: [
6601
+ const connector = !last ? /* @__PURE__ */ jsx71(View62, { "aria-hidden": true, style: [vertical ? styles56.vLine : styles56.hLine, { backgroundColor: status === "done" ? theme.accent : theme.borderDefault }] }) : null;
6602
+ return /* @__PURE__ */ jsxs61(View62, { role: "listitem", accessible: true, "aria-label": `${step.title}, ${words2[status]}`, style: vertical ? styles56.vStep : styles56.hStep, children: [
6603
+ /* @__PURE__ */ jsxs61(View62, { style: vertical ? styles56.vRail : styles56.hRail, children: [
7045
6604
  node,
7046
6605
  connector
7047
6606
  ] }),
7048
- /* @__PURE__ */ jsxs67(View68, { style: [styles57.body, vertical && !last ? { paddingBottom: 20 } : null], children: [
7049
- /* @__PURE__ */ jsx77(Txt, { variant: "label", tone: status === "upcoming" ? "secondary" : "text", numberOfLines: vertical ? void 0 : 2, children: step.title }),
7050
- step.description ? /* @__PURE__ */ jsx77(Txt, { variant: "caption", tone: "secondary", children: step.description }) : null,
7051
- step.content && (status === "current" || status === "error") ? /* @__PURE__ */ jsx77(View68, { style: styles57.content, children: step.content }) : null
6607
+ /* @__PURE__ */ jsxs61(View62, { style: [styles56.body, vertical && !last ? { paddingBottom: 20 } : null], children: [
6608
+ /* @__PURE__ */ jsx71(Txt, { variant: "label", tone: status === "upcoming" ? "secondary" : "text", numberOfLines: vertical ? void 0 : 2, children: step.title }),
6609
+ step.description ? /* @__PURE__ */ jsx71(Txt, { variant: "caption", tone: "secondary", children: step.description }) : null,
6610
+ step.content && (status === "current" || status === "error") ? /* @__PURE__ */ jsx71(View62, { style: styles56.content, children: step.content }) : null
7052
6611
  ] })
7053
6612
  ] }, i);
7054
6613
  }) });
7055
6614
  }
7056
- var styles57 = StyleSheet57.create({
6615
+ var styles56 = StyleSheet56.create({
7057
6616
  column: { gap: 0 },
7058
6617
  row: { flexDirection: "row" },
7059
6618
  vStep: { flexDirection: "row", gap: 12 },
@@ -7067,59 +6626,59 @@ var styles57 = StyleSheet57.create({
7067
6626
  });
7068
6627
 
7069
6628
  // src/native/swipe-deck.tsx
7070
- import * as React52 from "react";
7071
- import { AccessibilityInfo as AccessibilityInfo14, Animated as Animated25, Image as Image5, PanResponder as PanResponder3, Platform as Platform4, Pressable as Pressable32, StyleSheet as StyleSheet58, useWindowDimensions as useWindowDimensions3, View as View69 } from "react-native";
7072
- import Svg36, { Defs as Defs16, LinearGradient as LinearGradient13, Path as Path30, Rect as Rect7, Stop as Stop16 } from "react-native-svg";
7073
- import { Fragment as Fragment14, jsx as jsx78, jsxs as jsxs68 } from "react/jsx-runtime";
6629
+ import * as React50 from "react";
6630
+ import { AccessibilityInfo as AccessibilityInfo13, Animated as Animated24, Image as Image4, PanResponder as PanResponder3, Platform as Platform4, Pressable as Pressable31, StyleSheet as StyleSheet57, useWindowDimensions as useWindowDimensions3, View as View63 } from "react-native";
6631
+ import Svg31, { Defs as Defs12, LinearGradient as LinearGradient11, Path as Path25, Rect as Rect7, Stop as Stop12 } from "react-native-svg";
6632
+ import { Fragment as Fragment14, jsx as jsx72, jsxs as jsxs62 } from "react/jsx-runtime";
7074
6633
  function PersonCard({ photos, name, age, badge, meta, bio, footer, photoLabel = (n, t) => `Photo ${n} of ${t}`, style }) {
7075
6634
  const { theme, radius: radius3 } = useTheme();
7076
- const [index, setIndex] = React52.useState(0);
6635
+ const [index, setIndex] = React50.useState(0);
7077
6636
  const gradient = useSvgId("kz-profile-");
7078
- const [box, setBox] = React52.useState(null);
6637
+ const [box, setBox] = React50.useState(null);
7079
6638
  const photo = photos[index];
7080
- return /* @__PURE__ */ jsxs68(
7081
- View69,
6639
+ return /* @__PURE__ */ jsxs62(
6640
+ View63,
7082
6641
  {
7083
6642
  accessible: Platform4.OS !== "web",
7084
6643
  accessibilityActions: photos.length > 1 ? [{ name: "increment" }, { name: "decrement" }] : [],
7085
6644
  onAccessibilityAction: (e) => setIndex((i) => Math.max(0, Math.min(photos.length - 1, i + (e.nativeEvent.actionName === "increment" ? 1 : -1)))),
7086
6645
  role: Platform4.OS === "web" ? "group" : "img",
7087
6646
  "aria-label": [`${name}${age !== void 0 ? `, ${age}` : ""}`, bio, photos.length > 1 ? photoLabel(index + 1, photos.length) : null].filter(Boolean).join(". "),
7088
- style: [styles58.card, { borderRadius: radius3.xl, backgroundColor: theme.media }, style],
6647
+ style: [styles57.card, { borderRadius: radius3.xl, backgroundColor: theme.media }, style],
7089
6648
  children: [
7090
- photo ? /* @__PURE__ */ jsx78(Image5, { testID: "person-card-photo", source: { uri: photo.uri }, style: StyleSheet58.absoluteFill, resizeMode: "cover" }) : null,
7091
- photos.length > 1 ? /* @__PURE__ */ jsxs68(Fragment14, { children: [
7092
- /* @__PURE__ */ jsx78(View69, { style: styles58.bars, "aria-hidden": true, children: photos.map((_, i) => /* @__PURE__ */ jsx78(View69, { style: [styles58.bar, { backgroundColor: theme.textOnMedia, opacity: i === index ? 1 : 0.4 }] }, i)) }),
7093
- /* @__PURE__ */ jsx78(Pressable32, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles58.half, { left: 0 }], onPress: () => setIndex((i) => Math.max(0, i - 1)) }),
7094
- /* @__PURE__ */ jsx78(Pressable32, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles58.half, { right: 0 }], onPress: () => setIndex((i) => Math.min(photos.length - 1, i + 1)) })
6649
+ photo ? /* @__PURE__ */ jsx72(Image4, { testID: "person-card-photo", source: { uri: photo.uri }, style: StyleSheet57.absoluteFill, resizeMode: "cover" }) : null,
6650
+ photos.length > 1 ? /* @__PURE__ */ jsxs62(Fragment14, { children: [
6651
+ /* @__PURE__ */ jsx72(View63, { style: styles57.bars, "aria-hidden": true, children: photos.map((_, i) => /* @__PURE__ */ jsx72(View63, { style: [styles57.bar, { backgroundColor: theme.textOnMedia, opacity: i === index ? 1 : 0.4 }] }, i)) }),
6652
+ /* @__PURE__ */ jsx72(Pressable31, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles57.half, { left: 0 }], onPress: () => setIndex((i) => Math.max(0, i - 1)) }),
6653
+ /* @__PURE__ */ jsx72(Pressable31, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles57.half, { right: 0 }], onPress: () => setIndex((i) => Math.min(photos.length - 1, i + 1)) })
7095
6654
  ] }) : null,
7096
- /* @__PURE__ */ jsxs68(
7097
- View69,
6655
+ /* @__PURE__ */ jsxs62(
6656
+ View63,
7098
6657
  {
7099
6658
  testID: "person-card-overlay",
7100
6659
  pointerEvents: "box-none",
7101
- style: styles58.bottom,
6660
+ style: styles57.bottom,
7102
6661
  onLayout: (e) => setBox({ width: e.nativeEvent.layout.width, height: e.nativeEvent.layout.height }),
7103
6662
  children: [
7104
- box ? /* @__PURE__ */ jsxs68(Svg36, { testID: "person-card-scrim", style: styles58.scrim, width: box.width, height: box.height, "aria-hidden": true, children: [
7105
- /* @__PURE__ */ jsx78(Defs16, { children: /* @__PURE__ */ jsxs68(LinearGradient13, { id: gradient, x1: "0", y1: "0", x2: "0", y2: "1", children: [
7106
- /* @__PURE__ */ jsx78(Stop16, { offset: "0", stopColor: theme.scrimStrong, stopOpacity: 0 }),
7107
- /* @__PURE__ */ jsx78(Stop16, { offset: "0.5", stopColor: theme.scrimStrong, stopOpacity: 0.8 }),
7108
- /* @__PURE__ */ jsx78(Stop16, { offset: "1", stopColor: theme.scrimStrong, stopOpacity: 1 })
6663
+ box ? /* @__PURE__ */ jsxs62(Svg31, { testID: "person-card-scrim", style: styles57.scrim, width: box.width, height: box.height, "aria-hidden": true, children: [
6664
+ /* @__PURE__ */ jsx72(Defs12, { children: /* @__PURE__ */ jsxs62(LinearGradient11, { id: gradient, x1: "0", y1: "0", x2: "0", y2: "1", children: [
6665
+ /* @__PURE__ */ jsx72(Stop12, { offset: "0", stopColor: theme.scrimStrong, stopOpacity: 0 }),
6666
+ /* @__PURE__ */ jsx72(Stop12, { offset: "0.5", stopColor: theme.scrimStrong, stopOpacity: 0.8 }),
6667
+ /* @__PURE__ */ jsx72(Stop12, { offset: "1", stopColor: theme.scrimStrong, stopOpacity: 1 })
7109
6668
  ] }) }),
7110
- /* @__PURE__ */ jsx78(Rect7, { x: 0, y: 0, width: box.width, height: box.height, fill: `url(#${gradient})` })
6669
+ /* @__PURE__ */ jsx72(Rect7, { x: 0, y: 0, width: box.width, height: box.height, fill: `url(#${gradient})` })
7111
6670
  ] }) : null,
7112
- /* @__PURE__ */ jsxs68(View69, { style: styles58.text, children: [
7113
- /* @__PURE__ */ jsxs68(View69, { style: styles58.nameRow, children: [
7114
- /* @__PURE__ */ jsxs68(Txt, { variant: "display", tone: "onMedia", style: styles58.name, numberOfLines: 1, children: [
6671
+ /* @__PURE__ */ jsxs62(View63, { style: styles57.text, children: [
6672
+ /* @__PURE__ */ jsxs62(View63, { style: styles57.nameRow, children: [
6673
+ /* @__PURE__ */ jsxs62(Txt, { variant: "display", tone: "onMedia", style: styles57.name, numberOfLines: 1, children: [
7115
6674
  name,
7116
- age !== void 0 ? /* @__PURE__ */ jsx78(Txt, { variant: "display", tone: "onMedia", style: styles58.age, children: ` ${age}` }) : null
6675
+ age !== void 0 ? /* @__PURE__ */ jsx72(Txt, { variant: "display", tone: "onMedia", style: styles57.age, children: ` ${age}` }) : null
7117
6676
  ] }),
7118
6677
  badge
7119
6678
  ] }),
7120
6679
  meta,
7121
- bio ? /* @__PURE__ */ jsx78(Txt, { tone: "onMedia", numberOfLines: 2, children: bio }) : null,
7122
- footer ? /* @__PURE__ */ jsx78(View69, { style: styles58.footer, children: footer }) : null
6680
+ bio ? /* @__PURE__ */ jsx72(Txt, { tone: "onMedia", numberOfLines: 2, children: bio }) : null,
6681
+ footer ? /* @__PURE__ */ jsx72(View63, { style: styles57.footer, children: footer }) : null
7123
6682
  ] })
7124
6683
  ]
7125
6684
  }
@@ -7132,30 +6691,30 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7132
6691
  const { theme, haptic } = useTheme();
7133
6692
  const reduce = useReducedMotion();
7134
6693
  const { width } = useWindowDimensions3();
7135
- const [x] = React52.useState(() => new Animated25.Value(0));
6694
+ const [x] = React50.useState(() => new Animated24.Value(0));
7136
6695
  const top = items2[0];
7137
- const decide = React52.useCallback(
6696
+ const decide = React50.useCallback(
7138
6697
  (direction) => {
7139
6698
  if (!top) return;
7140
6699
  haptic("impact");
7141
6700
  const done = () => {
7142
6701
  x.setValue(0);
7143
6702
  onSwipe(top, direction);
7144
- if (items2.length === 1 && labels.empty) AccessibilityInfo14.announceForAccessibility(labels.empty);
6703
+ if (items2.length === 1 && labels.empty) AccessibilityInfo13.announceForAccessibility(labels.empty);
7145
6704
  };
7146
6705
  if (reduce) return done();
7147
- Animated25.timing(x, { toValue: (direction === "like" ? 1.4 : -1.4) * width, duration: 220, useNativeDriver: true }).start(done);
6706
+ Animated24.timing(x, { toValue: (direction === "like" ? 1.4 : -1.4) * width, duration: 220, useNativeDriver: true }).start(done);
7148
6707
  },
7149
6708
  [top, haptic, reduce, x, width, onSwipe, items2.length, labels.empty]
7150
6709
  );
7151
- const pan = React52.useMemo(
6710
+ const pan = React50.useMemo(
7152
6711
  () => PanResponder3.create({
7153
6712
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy),
7154
6713
  onPanResponderMove: (_, g) => x.setValue(g.dx),
7155
6714
  onPanResponderRelease: (_, g) => {
7156
6715
  if (g.dx > width / 3 || g.vx > 1) decide("like");
7157
6716
  else if (g.dx < -width / 3 || g.vx < -1) decide("pass");
7158
- else Animated25.spring(x, { toValue: 0, useNativeDriver: true, friction: 6 }).start();
6717
+ else Animated24.spring(x, { toValue: 0, useNativeDriver: true, friction: 6 }).start();
7159
6718
  }
7160
6719
  }),
7161
6720
  [x, width, decide]
@@ -7163,27 +6722,27 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7163
6722
  const rotate = x.interpolate({ inputRange: [-width, 0, width], outputRange: ["-14deg", "0deg", "14deg"] });
7164
6723
  const likeOpacity = x.interpolate({ inputRange: [0, width / 4], outputRange: [0, 1], extrapolate: "clamp" });
7165
6724
  const passOpacity = x.interpolate({ inputRange: [-width / 4, 0], outputRange: [1, 0], extrapolate: "clamp" });
7166
- const button = (direction) => /* @__PURE__ */ jsx78(
7167
- Pressable32,
6725
+ const button = (direction) => /* @__PURE__ */ jsx72(
6726
+ Pressable31,
7168
6727
  {
7169
6728
  role: "button",
7170
6729
  "aria-label": direction === "like" ? labels.like : labels.pass,
7171
6730
  disabled: !top,
7172
6731
  onPress: () => decide(direction),
7173
6732
  style: ({ pressed }) => [
7174
- styles58.button,
6733
+ styles57.button,
7175
6734
  { borderColor: direction === "like" ? theme.success : theme.danger, backgroundColor: theme.surface1, transform: [{ scale: pressed ? 0.92 : 1 }], opacity: top ? 1 : 0.4 }
7176
6735
  ],
7177
- children: /* @__PURE__ */ jsx78(Svg36, { width: 28, height: 28, viewBox: "0 0 24 24", "aria-hidden": true, children: direction === "like" ? /* @__PURE__ */ jsx78(Path30, { d: "M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z", fill: theme.success }) : /* @__PURE__ */ jsx78(Path30, { d: "M6 6l12 12M18 6 6 18", stroke: theme.danger, strokeWidth: 3, strokeLinecap: "round" }) })
6736
+ children: /* @__PURE__ */ jsx72(Svg31, { width: 28, height: 28, viewBox: "0 0 24 24", "aria-hidden": true, children: direction === "like" ? /* @__PURE__ */ jsx72(Path25, { d: "M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z", fill: theme.success }) : /* @__PURE__ */ jsx72(Path25, { d: "M6 6l12 12M18 6 6 18", stroke: theme.danger, strokeWidth: 3, strokeLinecap: "round" }) })
7178
6737
  }
7179
6738
  );
7180
- return /* @__PURE__ */ jsxs68(View69, { style: [styles58.deck, style], children: [
7181
- /* @__PURE__ */ jsxs68(View69, { style: styles58.stack, children: [
6739
+ return /* @__PURE__ */ jsxs62(View63, { style: [styles57.deck, style], children: [
6740
+ /* @__PURE__ */ jsxs62(View63, { style: styles57.stack, children: [
7182
6741
  !top ? empty2 ?? null : null,
7183
6742
  items2.slice(0, 2).reverse().map((item) => {
7184
6743
  const isTop = item === top;
7185
- return /* @__PURE__ */ jsxs68(
7186
- Animated25.View,
6744
+ return /* @__PURE__ */ jsxs62(
6745
+ Animated24.View,
7187
6746
  {
7188
6747
  ...isTop ? pan.panHandlers : {},
7189
6748
  accessibilityActions: isTop ? [{ name: "like", label: labels.like }, { name: "pass", label: labels.pass }] : [],
@@ -7191,12 +6750,12 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7191
6750
  "aria-hidden": !isTop,
7192
6751
  importantForAccessibility: isTop ? "auto" : "no-hide-descendants",
7193
6752
  pointerEvents: isTop ? "auto" : "none",
7194
- style: [StyleSheet58.absoluteFill, isTop ? { transform: [{ translateX: x }, { rotate }] } : { transform: [{ scale: 0.96 }], opacity: 0.9 }],
6753
+ style: [StyleSheet57.absoluteFill, isTop ? { transform: [{ translateX: x }, { rotate }] } : { transform: [{ scale: 0.96 }], opacity: 0.9 }],
7195
6754
  children: [
7196
6755
  renderCard(item),
7197
- isTop ? /* @__PURE__ */ jsxs68(Fragment14, { children: [
7198
- /* @__PURE__ */ jsx78(Animated25.View, { pointerEvents: "none", style: [styles58.stamp, styles58.stampLike, { borderColor: theme.success, opacity: likeOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx78(Txt, { variant: "title", style: { color: theme.success }, children: labels.likeStamp ?? labels.like.toUpperCase() }) }),
7199
- /* @__PURE__ */ jsx78(Animated25.View, { pointerEvents: "none", style: [styles58.stamp, styles58.stampPass, { borderColor: theme.danger, opacity: passOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx78(Txt, { variant: "title", style: { color: theme.danger }, children: labels.passStamp ?? labels.pass.toUpperCase() }) })
6756
+ isTop ? /* @__PURE__ */ jsxs62(Fragment14, { children: [
6757
+ /* @__PURE__ */ jsx72(Animated24.View, { pointerEvents: "none", style: [styles57.stamp, styles57.stampLike, { borderColor: theme.success, opacity: likeOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx72(Txt, { variant: "title", style: { color: theme.success }, children: labels.likeStamp ?? labels.like.toUpperCase() }) }),
6758
+ /* @__PURE__ */ jsx72(Animated24.View, { pointerEvents: "none", style: [styles57.stamp, styles57.stampPass, { borderColor: theme.danger, opacity: passOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx72(Txt, { variant: "title", style: { color: theme.danger }, children: labels.passStamp ?? labels.pass.toUpperCase() }) })
7200
6759
  ] }) : null
7201
6760
  ]
7202
6761
  },
@@ -7204,13 +6763,13 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7204
6763
  );
7205
6764
  })
7206
6765
  ] }),
7207
- hideButtons ? null : /* @__PURE__ */ jsxs68(View69, { style: styles58.buttons, children: [
6766
+ hideButtons ? null : /* @__PURE__ */ jsxs62(View63, { style: styles57.buttons, children: [
7208
6767
  button("pass"),
7209
6768
  button("like")
7210
6769
  ] })
7211
6770
  ] });
7212
6771
  }
7213
- var styles58 = StyleSheet58.create({
6772
+ var styles57 = StyleSheet57.create({
7214
6773
  card: { flex: 1, overflow: "hidden" },
7215
6774
  bars: { position: "absolute", top: 8, left: 8, right: 8, flexDirection: "row", gap: 4 },
7216
6775
  bar: { flex: 1, height: 3, borderRadius: 2 },
@@ -7232,28 +6791,28 @@ var styles58 = StyleSheet58.create({
7232
6791
  });
7233
6792
 
7234
6793
  // src/native/swipeable-row.tsx
7235
- import * as React53 from "react";
7236
- import { Animated as Animated26, PanResponder as PanResponder4, Pressable as Pressable33, StyleSheet as StyleSheet59, View as View70 } from "react-native";
7237
- import { jsx as jsx79, jsxs as jsxs69 } from "react/jsx-runtime";
6794
+ import * as React51 from "react";
6795
+ import { Animated as Animated25, PanResponder as PanResponder4, Pressable as Pressable32, StyleSheet as StyleSheet58, View as View64 } from "react-native";
6796
+ import { jsx as jsx73, jsxs as jsxs63 } from "react/jsx-runtime";
7238
6797
  var toneColor = (t, tone3) => ({ neutral: t.surface3, accent: t.accent, success: t.success, warning: t.warning, danger: t.danger })[tone3 ?? "neutral"];
7239
6798
  var toneText = (tone3) => tone3 === "neutral" || tone3 === void 0 ? "text" : "onAccent";
7240
6799
  function SwipeableRow({ children, trailing = [], leading = [], fullSwipe = 0.6, actionWidth = 80, onActivate, testID, style }) {
7241
6800
  const { theme, haptic } = useTheme();
7242
6801
  const reduce = useReducedMotion();
7243
- const [x] = React53.useState(() => new Animated26.Value(0));
7244
- const [width, setWidth] = React53.useState(0);
7245
- const rest = React53.useRef(0);
7246
- const armed = React53.useRef(false);
6802
+ const [x] = React51.useState(() => new Animated25.Value(0));
6803
+ const [width, setWidth] = React51.useState(0);
6804
+ const rest = React51.useRef(0);
6805
+ const armed = React51.useRef(false);
7247
6806
  const settle = (to) => {
7248
6807
  rest.current = to;
7249
6808
  if (reduce) x.setValue(to);
7250
- else Animated26.spring(x, { toValue: to, useNativeDriver: true, damping: 22, stiffness: 240 }).start();
6809
+ else Animated25.spring(x, { toValue: to, useNativeDriver: true, damping: 22, stiffness: 240 }).start();
7251
6810
  };
7252
6811
  const run = (action) => {
7253
6812
  settle(0);
7254
6813
  action.onPress();
7255
6814
  };
7256
- const pan = React53.useMemo(
6815
+ const pan = React51.useMemo(
7257
6816
  () => PanResponder4.create({
7258
6817
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy) * 1.5,
7259
6818
  onPanResponderMove: (_, g) => {
@@ -7282,19 +6841,19 @@ function SwipeableRow({ children, trailing = [], leading = [], fullSwipe = 0.6,
7282
6841
  [trailing, leading, fullSwipe, width, actionWidth]
7283
6842
  // eslint-disable-line react-hooks/exhaustive-deps -- run/settle are stable in effect
7284
6843
  );
7285
- const side = (actions, edge) => /* @__PURE__ */ jsx79(View70, { "aria-hidden": true, style: [styles59.side, edge === "left" ? { left: 0 } : { right: 0, flexDirection: "row-reverse" }], children: actions.map((action, i) => (
6844
+ const side = (actions, edge) => /* @__PURE__ */ jsx73(View64, { "aria-hidden": true, style: [styles58.side, edge === "left" ? { left: 0 } : { right: 0, flexDirection: "row-reverse" }], children: actions.map((action, i) => (
7286
6845
  // eslint-disable-next-line react-hooks/refs -- runs on a press, never during render
7287
- /* @__PURE__ */ jsxs69(Pressable33, { focusable: false, tabIndex: -1, onPress: () => run(action), style: [styles59.action, { width: actionWidth, backgroundColor: toneColor(theme, action.tone) }], children: [
6846
+ /* @__PURE__ */ jsxs63(Pressable32, { focusable: false, tabIndex: -1, onPress: () => run(action), style: [styles58.action, { width: actionWidth, backgroundColor: toneColor(theme, action.tone) }], children: [
7288
6847
  action.icon,
7289
- /* @__PURE__ */ jsx79(Txt, { variant: "caption", tone: toneText(action.tone), style: styles59.actionText, numberOfLines: 1, children: action.label })
6848
+ /* @__PURE__ */ jsx73(Txt, { variant: "caption", tone: toneText(action.tone), style: styles58.actionText, numberOfLines: 1, children: action.label })
7290
6849
  ] }, i)
7291
6850
  )) });
7292
6851
  const all = [...leading, ...trailing];
7293
- return /* @__PURE__ */ jsxs69(View70, { style: [styles59.root, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
6852
+ return /* @__PURE__ */ jsxs63(View64, { style: [styles58.root, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
7294
6853
  leading.length > 0 ? side(leading, "left") : null,
7295
6854
  trailing.length > 0 ? side(trailing, "right") : null,
7296
- /* @__PURE__ */ jsx79(
7297
- Animated26.View,
6855
+ /* @__PURE__ */ jsx73(
6856
+ Animated25.View,
7298
6857
  {
7299
6858
  ...pan.panHandlers,
7300
6859
  accessible: true,
@@ -7305,13 +6864,13 @@ function SwipeableRow({ children, trailing = [], leading = [], fullSwipe = 0.6,
7305
6864
  const action = all.find((a) => a.label === e.nativeEvent.actionName);
7306
6865
  if (action) action.onPress();
7307
6866
  },
7308
- style: [styles59.front, { backgroundColor: theme.surface0, transform: [{ translateX: x }] }],
6867
+ style: [styles58.front, { backgroundColor: theme.surface0, transform: [{ translateX: x }] }],
7309
6868
  children
7310
6869
  }
7311
6870
  )
7312
6871
  ] });
7313
6872
  }
7314
- var styles59 = StyleSheet59.create({
6873
+ var styles58 = StyleSheet58.create({
7315
6874
  root: { overflow: "hidden" },
7316
6875
  side: { position: "absolute", top: 0, bottom: 0, flexDirection: "row" },
7317
6876
  action: { alignItems: "center", justifyContent: "center", gap: 4, paddingHorizontal: 6 },
@@ -7320,16 +6879,16 @@ var styles59 = StyleSheet59.create({
7320
6879
  });
7321
6880
 
7322
6881
  // src/native/tab-bar.tsx
7323
- import { Pressable as Pressable34, StyleSheet as StyleSheet60, Text as Text20, View as View71 } from "react-native";
7324
- import { jsx as jsx80, jsxs as jsxs70 } from "react/jsx-runtime";
6882
+ import { Pressable as Pressable33, StyleSheet as StyleSheet59, Text as Text20, View as View65 } from "react-native";
6883
+ import { jsx as jsx74, jsxs as jsxs64 } from "react/jsx-runtime";
7325
6884
  function TabBar({ items: items2, value, onValueChange, onReselect, "aria-label": label, style }) {
7326
6885
  const { theme, insets, haptic } = useTheme();
7327
- return /* @__PURE__ */ jsx80(View71, { role: "tablist", "aria-label": label, style: [styles60.bar, { backgroundColor: theme.glassBg, borderTopColor: theme.glassBorder, paddingBottom: Math.max(6, insets.bottom) }, style], children: items2.map((item) => {
6886
+ return /* @__PURE__ */ jsx74(View65, { role: "tablist", "aria-label": label, style: [styles59.bar, { backgroundColor: theme.glassBg, borderTopColor: theme.glassBorder, paddingBottom: Math.max(6, insets.bottom) }, style], children: items2.map((item) => {
7328
6887
  const selected = item.value === value;
7329
6888
  const color = selected ? theme.accentText : theme.textSecondary;
7330
6889
  const badge = item.badge === true ? "" : typeof item.badge === "number" && item.badge > 0 ? item.badge > 99 ? "99+" : String(item.badge) : null;
7331
- return /* @__PURE__ */ jsxs70(
7332
- Pressable34,
6890
+ return /* @__PURE__ */ jsxs64(
6891
+ Pressable33,
7333
6892
  {
7334
6893
  role: "tab",
7335
6894
  "aria-selected": selected,
@@ -7338,22 +6897,22 @@ function TabBar({ items: items2, value, onValueChange, onReselect, "aria-label":
7338
6897
  if (selected) onReselect?.(item.value);
7339
6898
  else onValueChange(item.value);
7340
6899
  },
7341
- style: ({ pressed }) => [styles60.item, { opacity: pressed ? 0.7 : 1 }],
6900
+ style: ({ pressed }) => [styles59.item, { opacity: pressed ? 0.7 : 1 }],
7342
6901
  children: [
7343
- /* @__PURE__ */ jsxs70(View71, { "aria-hidden": true, style: styles60.icon, children: [
6902
+ /* @__PURE__ */ jsxs64(View65, { "aria-hidden": true, style: styles59.icon, children: [
7344
6903
  item.icon(selected, color),
7345
- badge !== null ? /* @__PURE__ */ jsx80(View71, { style: [badge ? styles60.count : styles60.dot, { backgroundColor: theme.danger, borderColor: theme.surface1 }], children: badge ? /* @__PURE__ */ jsx80(Text20, { style: [styles60.countText, { color: theme.onAccent }], children: badge }) : null }) : null
6904
+ badge !== null ? /* @__PURE__ */ jsx74(View65, { style: [badge ? styles59.count : styles59.dot, { backgroundColor: theme.danger, borderColor: theme.surface1 }], children: badge ? /* @__PURE__ */ jsx74(Text20, { style: [styles59.countText, { color: theme.onAccent }], children: badge }) : null }) : null
7346
6905
  ] }),
7347
- /* @__PURE__ */ jsx80(Text20, { numberOfLines: 1, style: [styles60.label, { color, fontWeight: selected ? "700" : "500" }], children: item.label }),
7348
- badge !== null && item.badgeLabel ? /* @__PURE__ */ jsx80(Text20, { style: styles60.unseen, children: `, ${item.badgeLabel}` }) : null
6906
+ /* @__PURE__ */ jsx74(Text20, { numberOfLines: 1, style: [styles59.label, { color, fontWeight: selected ? "700" : "500" }], children: item.label }),
6907
+ badge !== null && item.badgeLabel ? /* @__PURE__ */ jsx74(Text20, { style: styles59.unseen, children: `, ${item.badgeLabel}` }) : null
7349
6908
  ]
7350
6909
  },
7351
6910
  item.value
7352
6911
  );
7353
6912
  }) });
7354
6913
  }
7355
- var styles60 = StyleSheet60.create({
7356
- bar: { flexDirection: "row", borderTopWidth: StyleSheet60.hairlineWidth, paddingTop: 6 },
6914
+ var styles59 = StyleSheet59.create({
6915
+ bar: { flexDirection: "row", borderTopWidth: StyleSheet59.hairlineWidth, paddingTop: 6 },
7357
6916
  item: { flex: 1, alignItems: "center", gap: 2, minHeight: 48, justifyContent: "center" },
7358
6917
  icon: { width: 28, height: 26, alignItems: "center", justifyContent: "center" },
7359
6918
  label: { fontSize: 11, lineHeight: 14 },
@@ -7364,12 +6923,12 @@ var styles60 = StyleSheet60.create({
7364
6923
  });
7365
6924
 
7366
6925
  // src/native/tabs.tsx
7367
- import * as React54 from "react";
7368
- import { Pressable as Pressable35, ScrollView as ScrollView7, StyleSheet as StyleSheet61, View as View72 } from "react-native";
7369
- import { jsx as jsx81, jsxs as jsxs71 } from "react/jsx-runtime";
6926
+ import * as React52 from "react";
6927
+ import { Pressable as Pressable34, ScrollView as ScrollView7, StyleSheet as StyleSheet60, View as View66 } from "react-native";
6928
+ import { jsx as jsx75, jsxs as jsxs65 } from "react/jsx-runtime";
7370
6929
  function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label": label, variant = "underline", add, style }) {
7371
6930
  const { theme, radius: radius3, haptic } = useTheme();
7372
- const [own, setOwn] = React54.useState(defaultValue ?? items2[0]?.value);
6931
+ const [own, setOwn] = React52.useState(defaultValue ?? items2[0]?.value);
7373
6932
  const current = value ?? own;
7374
6933
  const select = (next) => {
7375
6934
  if (next === current) return;
@@ -7382,8 +6941,8 @@ function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label":
7382
6941
  const hueOf = (hue) => ({ accent: theme.accent, success: theme.successText, warning: theme.warningText, danger: theme.dangerText, neutral: theme.textMuted })[hue ?? "accent"];
7383
6942
  const tabs = items2.map((item) => {
7384
6943
  const selected = item.value === current;
7385
- return /* @__PURE__ */ jsx81(
7386
- Pressable35,
6944
+ return /* @__PURE__ */ jsx75(
6945
+ Pressable34,
7387
6946
  {
7388
6947
  role: "tab",
7389
6948
  "aria-selected": selected,
@@ -7391,52 +6950,52 @@ function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label":
7391
6950
  disabled: item.disabled,
7392
6951
  onPress: () => select(item.value),
7393
6952
  style: [
7394
- binder ? [styles61.divider, { borderTopColor: hueOf(item.hue), borderColor: theme.borderDefault, borderTopLeftRadius: radius3.md, borderTopRightRadius: radius3.md, backgroundColor: selected ? theme.surface1 : theme.surface2 }] : null,
7395
- binder ? null : segmented ? styles61.segment : styles61.tab,
6953
+ binder ? [styles60.divider, { borderTopColor: hueOf(item.hue), borderColor: theme.borderDefault, borderTopLeftRadius: radius3.md, borderTopRightRadius: radius3.md, backgroundColor: selected ? theme.surface1 : theme.surface2 }] : null,
6954
+ binder ? null : segmented ? styles60.segment : styles60.tab,
7396
6955
  segmented && selected ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault, borderRadius: radius3.sm } : null,
7397
6956
  !segmented && !binder ? { borderBottomColor: selected ? theme.accent : "transparent" } : null,
7398
- item.disabled ? styles61.disabled : null
6957
+ item.disabled ? styles60.disabled : null
7399
6958
  ],
7400
- children: /* @__PURE__ */ jsxs71(Txt, { variant: "label", tone: selected ? "text" : "secondary", numberOfLines: 1, children: [
6959
+ children: /* @__PURE__ */ jsxs65(Txt, { variant: "label", tone: selected ? "text" : "secondary", numberOfLines: 1, children: [
7401
6960
  item.label,
7402
- item.count !== void 0 ? /* @__PURE__ */ jsx81(Txt, { variant: "caption", tone: "secondary", children: ` ${item.count}` }) : null
6961
+ item.count !== void 0 ? /* @__PURE__ */ jsx75(Txt, { variant: "caption", tone: "secondary", children: ` ${item.count}` }) : null
7403
6962
  ] })
7404
6963
  },
7405
6964
  item.value
7406
6965
  );
7407
6966
  });
7408
6967
  const panel = items2.find((i) => i.value === current)?.content;
7409
- return /* @__PURE__ */ jsxs71(View72, { style: [styles61.root, style], children: [
7410
- segmented ? /* @__PURE__ */ jsx81(View72, { role: "tablist", "aria-label": label, style: [styles61.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md }], children: tabs }) : /* @__PURE__ */ jsxs71(View72, { style: [styles61.underline, binder ? styles61.binderRow : null, { borderBottomColor: binder ? theme.borderDefault : theme.borderSubtle }], children: [
7411
- /* @__PURE__ */ jsx81(ScrollView7, { horizontal: true, showsHorizontalScrollIndicator: false, role: "tablist", "aria-label": label, contentContainerStyle: [styles61.scroll, binder ? styles61.binderScroll : null], children: tabs }),
7412
- binder && add ? /* @__PURE__ */ jsx81(Pressable35, { role: "button", "aria-label": add.label, onPress: add.onAdd, hitSlop: 4, style: styles61.add, children: /* @__PURE__ */ jsx81(Txt, { variant: "label", tone: "secondary", children: `+ ${add.label}` }) }) : null
6968
+ return /* @__PURE__ */ jsxs65(View66, { style: [styles60.root, style], children: [
6969
+ segmented ? /* @__PURE__ */ jsx75(View66, { role: "tablist", "aria-label": label, style: [styles60.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md }], children: tabs }) : /* @__PURE__ */ jsxs65(View66, { style: [styles60.underline, binder ? styles60.binderRow : null, { borderBottomColor: binder ? theme.borderDefault : theme.borderSubtle }], children: [
6970
+ /* @__PURE__ */ jsx75(ScrollView7, { horizontal: true, showsHorizontalScrollIndicator: false, role: "tablist", "aria-label": label, contentContainerStyle: [styles60.scroll, binder ? styles60.binderScroll : null], children: tabs }),
6971
+ binder && add ? /* @__PURE__ */ jsx75(Pressable34, { role: "button", "aria-label": add.label, onPress: add.onAdd, hitSlop: 4, style: styles60.add, children: /* @__PURE__ */ jsx75(Txt, { variant: "label", tone: "secondary", children: `+ ${add.label}` }) }) : null
7413
6972
  ] }),
7414
- panel !== void 0 ? /* @__PURE__ */ jsx81(View72, { role: "tabpanel", children: panel }) : null
6973
+ panel !== void 0 ? /* @__PURE__ */ jsx75(View66, { role: "tabpanel", children: panel }) : null
7415
6974
  ] });
7416
6975
  }
7417
- var styles61 = StyleSheet61.create({
6976
+ var styles60 = StyleSheet60.create({
7418
6977
  root: { gap: 12 },
7419
- underline: { borderBottomWidth: StyleSheet61.hairlineWidth },
6978
+ underline: { borderBottomWidth: StyleSheet60.hairlineWidth },
7420
6979
  scroll: { gap: 4, paddingHorizontal: 4 },
7421
6980
  tab: { minHeight: 44, justifyContent: "center", paddingHorizontal: 12, borderBottomWidth: 2 },
7422
- track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet61.hairlineWidth, height: 40 },
7423
- segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet61.hairlineWidth, borderColor: "transparent" },
6981
+ track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet60.hairlineWidth, height: 40 },
6982
+ segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet60.hairlineWidth, borderColor: "transparent" },
7424
6983
  disabled: { opacity: 0.4 },
7425
6984
  // A divider: a coloured top edge, its words; the selected one is the page's colour and sits on the line.
7426
- divider: { minHeight: 44, justifyContent: "center", paddingHorizontal: 14, borderWidth: StyleSheet61.hairlineWidth, borderTopWidth: 3, borderBottomWidth: 0, marginBottom: -StyleSheet61.hairlineWidth },
6985
+ divider: { minHeight: 44, justifyContent: "center", paddingHorizontal: 14, borderWidth: StyleSheet60.hairlineWidth, borderTopWidth: 3, borderBottomWidth: 0, marginBottom: -StyleSheet60.hairlineWidth },
7427
6986
  binderScroll: { alignItems: "flex-end", paddingHorizontal: 8 },
7428
6987
  binderRow: { flexDirection: "row", alignItems: "flex-end" },
7429
6988
  add: { minHeight: 44, justifyContent: "center", paddingHorizontal: 10 }
7430
6989
  });
7431
6990
 
7432
6991
  // src/native/tag-selector.tsx
7433
- import { StyleSheet as StyleSheet62, View as View73 } from "react-native";
7434
- import { jsx as jsx82, jsxs as jsxs72 } from "react/jsx-runtime";
6992
+ import { StyleSheet as StyleSheet61, View as View67 } from "react-native";
6993
+ import { jsx as jsx76, jsxs as jsxs66 } from "react/jsx-runtime";
7435
6994
  function TagSelector({ label, options, value, onValueChange, max, countLabel, style }) {
7436
6995
  const { haptic } = useTheme();
7437
6996
  const full = max !== void 0 && value.length >= max;
7438
- return /* @__PURE__ */ jsxs72(View73, { style: [styles62.root, style], children: [
7439
- /* @__PURE__ */ jsx82(View73, { role: "group", "aria-label": label, style: styles62.wrap, children: options.map((option) => {
6997
+ return /* @__PURE__ */ jsxs66(View67, { style: [styles61.root, style], children: [
6998
+ /* @__PURE__ */ jsx76(View67, { role: "group", "aria-label": label, style: styles61.wrap, children: options.map((option) => {
7440
6999
  const on = value.includes(option.value);
7441
7000
  const props = {
7442
7001
  selected: on,
@@ -7446,17 +7005,17 @@ function TagSelector({ label, options, value, onValueChange, max, countLabel, st
7446
7005
  onValueChange(next ? [...value, option.value] : value.filter((v) => v !== option.value));
7447
7006
  }
7448
7007
  };
7449
- return option.marker ? /* @__PURE__ */ jsx82(TagChip, { marker: option.marker, ...props, children: option.label }, option.value) : /* @__PURE__ */ jsx82(Chip, { ...props, children: option.label }, option.value);
7008
+ return option.marker ? /* @__PURE__ */ jsx76(TagChip, { marker: option.marker, ...props, children: option.label }, option.value) : /* @__PURE__ */ jsx76(Chip, { ...props, children: option.label }, option.value);
7450
7009
  }) }),
7451
- max !== void 0 && countLabel ? /* @__PURE__ */ jsx82(Txt, { variant: "caption", tone: full ? "accent" : "secondary", "aria-live": "polite", children: countLabel(value.length, max) }) : null
7010
+ max !== void 0 && countLabel ? /* @__PURE__ */ jsx76(Txt, { variant: "caption", tone: full ? "accent" : "secondary", "aria-live": "polite", children: countLabel(value.length, max) }) : null
7452
7011
  ] });
7453
7012
  }
7454
- var styles62 = StyleSheet62.create({ root: { gap: 8 }, wrap: { flexDirection: "row", flexWrap: "wrap", gap: 8 } });
7013
+ var styles61 = StyleSheet61.create({ root: { gap: 8 }, wrap: { flexDirection: "row", flexWrap: "wrap", gap: 8 } });
7455
7014
 
7456
7015
  // src/native/toast.tsx
7457
- import * as React55 from "react";
7458
- import { AccessibilityInfo as AccessibilityInfo15, Animated as Animated27, PanResponder as PanResponder5, Pressable as Pressable36, StyleSheet as StyleSheet63, Text as Text21, View as View74 } from "react-native";
7459
- import { Fragment as Fragment15, jsx as jsx83, jsxs as jsxs73 } from "react/jsx-runtime";
7016
+ import * as React53 from "react";
7017
+ import { AccessibilityInfo as AccessibilityInfo14, Animated as Animated26, PanResponder as PanResponder5, Pressable as Pressable35, StyleSheet as StyleSheet62, Text as Text21, View as View68 } from "react-native";
7018
+ import { Fragment as Fragment15, jsx as jsx77, jsxs as jsxs67 } from "react/jsx-runtime";
7460
7019
  var items = [];
7461
7020
  var listeners2 = /* @__PURE__ */ new Set();
7462
7021
  var counter = 0;
@@ -7491,93 +7050,93 @@ var toast = Object.assign(show, {
7491
7050
  function ToastView({ item, closeLabel, duration }) {
7492
7051
  const { theme, radius: radius3, haptic } = useTheme();
7493
7052
  const reduce = useReducedMotion();
7494
- const [swipe] = React55.useState(() => new Animated27.Value(0));
7495
- const drag = React55.useMemo(
7053
+ const [swipe] = React53.useState(() => new Animated26.Value(0));
7054
+ const drag = React53.useMemo(
7496
7055
  () => PanResponder5.create({
7497
7056
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy),
7498
7057
  onPanResponderMove: (_, g) => swipe.setValue(g.dx),
7499
7058
  onPanResponderRelease: (_, g) => {
7500
7059
  if (Math.abs(g.dx) > 96 || Math.abs(g.vx) > 0.9) {
7501
- Animated27.timing(swipe, { toValue: Math.sign(g.dx) * 480, duration: 160, useNativeDriver: true }).start(() => dismiss(item.id));
7502
- } else Animated27.spring(swipe, { toValue: 0, useNativeDriver: true }).start();
7060
+ Animated26.timing(swipe, { toValue: Math.sign(g.dx) * 480, duration: 160, useNativeDriver: true }).start(() => dismiss(item.id));
7061
+ } else Animated26.spring(swipe, { toValue: 0, useNativeDriver: true }).start();
7503
7062
  }
7504
7063
  }),
7505
7064
  [swipe, item.id]
7506
7065
  );
7507
- React55.useEffect(() => {
7066
+ React53.useEffect(() => {
7508
7067
  if (item.tone === "success" || item.tone === "warning") haptic(item.tone);
7509
7068
  if (item.tone === "error") haptic("warning");
7510
7069
  }, [item.id]);
7511
- const [enter] = React55.useState(() => new Animated27.Value(reduce ? 1 : 0));
7512
- React55.useEffect(() => {
7070
+ const [enter] = React53.useState(() => new Animated26.Value(reduce ? 1 : 0));
7071
+ React53.useEffect(() => {
7513
7072
  if (reduce) enter.setValue(1);
7514
- else Animated27.timing(enter, { toValue: 1, duration: 220, useNativeDriver: true }).start();
7073
+ else Animated26.timing(enter, { toValue: 1, duration: 220, useNativeDriver: true }).start();
7515
7074
  }, [enter, reduce]);
7516
- React55.useEffect(() => {
7517
- AccessibilityInfo15.announceForAccessibility(item.description ? `${item.title}. ${item.description}` : item.title);
7075
+ React53.useEffect(() => {
7076
+ AccessibilityInfo14.announceForAccessibility(item.description ? `${item.title}. ${item.description}` : item.title);
7518
7077
  }, [item.title, item.description]);
7519
7078
  const ms = item.duration ?? duration;
7520
- React55.useEffect(() => {
7079
+ React53.useEffect(() => {
7521
7080
  if (!Number.isFinite(ms)) return;
7522
7081
  const timer2 = setTimeout(() => dismiss(item.id), ms);
7523
7082
  return () => clearTimeout(timer2);
7524
7083
  }, [item.id, ms]);
7525
7084
  const edge = { success: theme.success, warning: theme.warning, error: theme.danger, info: theme.info, default: theme.borderDefault }[item.tone ?? "default"];
7526
- const text = /* @__PURE__ */ jsxs73(Fragment15, { children: [
7527
- item.icon ? /* @__PURE__ */ jsx83(View74, { "aria-hidden": true, children: item.icon }) : null,
7528
- /* @__PURE__ */ jsxs73(View74, { style: styles63.content, children: [
7529
- /* @__PURE__ */ jsx83(Txt, { variant: "label", numberOfLines: 2, children: item.title }),
7530
- item.description ? /* @__PURE__ */ jsx83(Txt, { variant: "caption", tone: "secondary", numberOfLines: 3, children: item.description }) : null
7085
+ const text = /* @__PURE__ */ jsxs67(Fragment15, { children: [
7086
+ item.icon ? /* @__PURE__ */ jsx77(View68, { "aria-hidden": true, children: item.icon }) : null,
7087
+ /* @__PURE__ */ jsxs67(View68, { style: styles62.content, children: [
7088
+ /* @__PURE__ */ jsx77(Txt, { variant: "label", numberOfLines: 2, children: item.title }),
7089
+ item.description ? /* @__PURE__ */ jsx77(Txt, { variant: "caption", tone: "secondary", numberOfLines: 3, children: item.description }) : null
7531
7090
  ] })
7532
7091
  ] });
7533
- const body = /* @__PURE__ */ jsxs73(Fragment15, { children: [
7534
- item.onPress ? /* @__PURE__ */ jsx83(
7535
- Pressable36,
7092
+ const body = /* @__PURE__ */ jsxs67(Fragment15, { children: [
7093
+ item.onPress ? /* @__PURE__ */ jsx77(
7094
+ Pressable35,
7536
7095
  {
7537
7096
  role: "button",
7538
7097
  onPress: () => {
7539
7098
  item.onPress?.();
7540
7099
  dismiss(item.id);
7541
7100
  },
7542
- style: ({ pressed }) => [styles63.main, { opacity: pressed ? 0.8 : 1 }],
7101
+ style: ({ pressed }) => [styles62.main, { opacity: pressed ? 0.8 : 1 }],
7543
7102
  children: text
7544
7103
  }
7545
- ) : /* @__PURE__ */ jsx83(View74, { style: styles63.main, children: text }),
7546
- item.action ? /* @__PURE__ */ jsx83(
7547
- Pressable36,
7104
+ ) : /* @__PURE__ */ jsx77(View68, { style: styles62.main, children: text }),
7105
+ item.action ? /* @__PURE__ */ jsx77(
7106
+ Pressable35,
7548
7107
  {
7549
7108
  role: "button",
7550
7109
  onPress: () => {
7551
7110
  item.action?.onPress();
7552
7111
  dismiss(item.id);
7553
7112
  },
7554
- style: [styles63.action, { backgroundColor: theme.accent, borderRadius: radius3.sm }],
7555
- children: /* @__PURE__ */ jsx83(Text21, { style: [styles63.actionLabel, { color: theme.onAccent }], children: item.action.label })
7113
+ style: [styles62.action, { backgroundColor: theme.accent, borderRadius: radius3.sm }],
7114
+ children: /* @__PURE__ */ jsx77(Text21, { style: [styles62.actionLabel, { color: theme.onAccent }], children: item.action.label })
7556
7115
  }
7557
7116
  ) : null,
7558
- /* @__PURE__ */ jsx83(Pressable36, { role: "button", "aria-label": closeLabel, hitSlop: 10, onPress: () => dismiss(item.id), style: styles63.close, children: /* @__PURE__ */ jsx83(Text21, { style: [styles63.cross, { color: theme.textSecondary }], children: "\xD7" }) })
7117
+ /* @__PURE__ */ jsx77(Pressable35, { role: "button", "aria-label": closeLabel, hitSlop: 10, onPress: () => dismiss(item.id), style: styles62.close, children: /* @__PURE__ */ jsx77(Text21, { style: [styles62.cross, { color: theme.textSecondary }], children: "\xD7" }) })
7559
7118
  ] });
7560
7119
  const frame = [
7561
- styles63.toast,
7120
+ styles62.toast,
7562
7121
  { backgroundColor: theme.surface2, borderColor: theme.borderDefault, borderLeftColor: edge, borderRadius: radius3.lg, shadowColor: theme.scrimStrong }
7563
7122
  ];
7564
7123
  const motion3 = { transform: [{ translateY: enter.interpolate({ inputRange: [0, 1], outputRange: [-8, 0] }) }, { translateX: swipe }] };
7565
- return /* @__PURE__ */ jsx83(Animated27.View, { "aria-live": "polite", style: motion3, ...drag.panHandlers, children: /* @__PURE__ */ jsx83(View74, { style: frame, children: body }) });
7124
+ return /* @__PURE__ */ jsx77(Animated26.View, { "aria-live": "polite", style: motion3, ...drag.panHandlers, children: /* @__PURE__ */ jsx77(View68, { style: frame, children: body }) });
7566
7125
  }
7567
7126
  function Toaster({ closeLabel, position = "top", offset = 12, duration = 6e3, max = 3 }) {
7568
- const all = React55.useSyncExternalStore(subscribe2, snapshot, snapshot);
7127
+ const all = React53.useSyncExternalStore(subscribe2, snapshot, snapshot);
7569
7128
  const shown = all.slice(-max);
7570
7129
  if (shown.length === 0) return null;
7571
- return /* @__PURE__ */ jsx83(View74, { pointerEvents: "box-none", style: [styles63.stack, position === "top" ? { top: offset } : { bottom: offset }], children: (position === "top" ? shown : [...shown].reverse()).map((item) => /* @__PURE__ */ jsx83(ToastView, { item, closeLabel, duration }, item.id)) });
7130
+ return /* @__PURE__ */ jsx77(View68, { pointerEvents: "box-none", style: [styles62.stack, position === "top" ? { top: offset } : { bottom: offset }], children: (position === "top" ? shown : [...shown].reverse()).map((item) => /* @__PURE__ */ jsx77(ToastView, { item, closeLabel, duration }, item.id)) });
7572
7131
  }
7573
- var styles63 = StyleSheet63.create({
7132
+ var styles62 = StyleSheet62.create({
7574
7133
  stack: { position: "absolute", left: 12, right: 12, gap: 8, zIndex: 100 },
7575
7134
  toast: {
7576
7135
  flexDirection: "row",
7577
7136
  alignItems: "center",
7578
7137
  gap: 10,
7579
7138
  padding: 12,
7580
- borderWidth: StyleSheet63.hairlineWidth,
7139
+ borderWidth: StyleSheet62.hairlineWidth,
7581
7140
  borderLeftWidth: 4,
7582
7141
  shadowOpacity: 0.3,
7583
7142
  shadowRadius: 16,
@@ -7593,35 +7152,35 @@ var styles63 = StyleSheet63.create({
7593
7152
  });
7594
7153
 
7595
7154
  // src/native/update-prompt.tsx
7596
- import { StyleSheet as StyleSheet64, View as View75 } from "react-native";
7597
- import { jsx as jsx84, jsxs as jsxs74 } from "react/jsx-runtime";
7155
+ import { StyleSheet as StyleSheet63, View as View69 } from "react-native";
7156
+ import { jsx as jsx78, jsxs as jsxs68 } from "react/jsx-runtime";
7598
7157
  function UpdatePrompt({ title, message, versionLabel, mark, updateLabel, onUpdate, laterLabel, onLater, style }) {
7599
7158
  const { theme, radius: radius3 } = useTheme();
7600
- return /* @__PURE__ */ jsxs74(
7601
- View75,
7159
+ return /* @__PURE__ */ jsxs68(
7160
+ View69,
7602
7161
  {
7603
7162
  role: "region",
7604
7163
  "aria-label": title,
7605
- style: [styles64.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style],
7164
+ style: [styles63.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style],
7606
7165
  children: [
7607
- /* @__PURE__ */ jsxs74(View75, { style: styles64.head, children: [
7608
- mark ? /* @__PURE__ */ jsx84(View75, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles64.mark, children: mark }) : null,
7609
- /* @__PURE__ */ jsxs74(View75, { style: styles64.text, children: [
7610
- /* @__PURE__ */ jsx84(Txt, { variant: "label", children: title }),
7611
- message ? /* @__PURE__ */ jsx84(Txt, { tone: "secondary", children: message }) : null,
7612
- versionLabel ? /* @__PURE__ */ jsx84(Txt, { variant: "mono", tone: "secondary", children: versionLabel }) : null
7166
+ /* @__PURE__ */ jsxs68(View69, { style: styles63.head, children: [
7167
+ mark ? /* @__PURE__ */ jsx78(View69, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles63.mark, children: mark }) : null,
7168
+ /* @__PURE__ */ jsxs68(View69, { style: styles63.text, children: [
7169
+ /* @__PURE__ */ jsx78(Txt, { variant: "label", children: title }),
7170
+ message ? /* @__PURE__ */ jsx78(Txt, { tone: "secondary", children: message }) : null,
7171
+ versionLabel ? /* @__PURE__ */ jsx78(Txt, { variant: "mono", tone: "secondary", children: versionLabel }) : null
7613
7172
  ] })
7614
7173
  ] }),
7615
- /* @__PURE__ */ jsxs74(View75, { style: styles64.actions, children: [
7616
- /* @__PURE__ */ jsx84(Button, { label: laterLabel, variant: "ghost", size: "sm", onPress: onLater }),
7617
- /* @__PURE__ */ jsx84(Button, { label: updateLabel, variant: "primary", size: "sm", onPress: onUpdate })
7174
+ /* @__PURE__ */ jsxs68(View69, { style: styles63.actions, children: [
7175
+ /* @__PURE__ */ jsx78(Button, { label: laterLabel, variant: "ghost", size: "sm", onPress: onLater }),
7176
+ /* @__PURE__ */ jsx78(Button, { label: updateLabel, variant: "primary", size: "sm", onPress: onUpdate })
7618
7177
  ] })
7619
7178
  ]
7620
7179
  }
7621
7180
  );
7622
7181
  }
7623
- var styles64 = StyleSheet64.create({
7624
- root: { gap: 12, padding: 16, borderWidth: StyleSheet64.hairlineWidth },
7182
+ var styles63 = StyleSheet63.create({
7183
+ root: { gap: 12, padding: 16, borderWidth: StyleSheet63.hairlineWidth },
7625
7184
  head: { flexDirection: "row", gap: 12, alignItems: "center" },
7626
7185
  mark: { width: 40, height: 40, alignItems: "center", justifyContent: "center" },
7627
7186
  text: { flex: 1, gap: 2 },
@@ -7629,15 +7188,15 @@ var styles64 = StyleSheet64.create({
7629
7188
  });
7630
7189
 
7631
7190
  // src/native/verified-badge.tsx
7632
- import { StyleSheet as StyleSheet65, View as View76 } from "react-native";
7633
- import Svg37, { Path as Path31 } from "react-native-svg";
7634
- import { jsx as jsx85, jsxs as jsxs75 } from "react/jsx-runtime";
7191
+ import { StyleSheet as StyleSheet64, View as View70 } from "react-native";
7192
+ import Svg32, { Path as Path26 } from "react-native-svg";
7193
+ import { jsx as jsx79, jsxs as jsxs69 } from "react/jsx-runtime";
7635
7194
  function VerifiedBadge({ label, showLabel, size = 16, on = "surface" }) {
7636
7195
  const { theme } = useTheme();
7637
- return /* @__PURE__ */ jsxs75(View76, { accessible: true, role: "img", "aria-label": label, style: styles65.row, children: [
7638
- /* @__PURE__ */ jsxs75(Svg37, { width: size, height: size, viewBox: "0 0 24 24", "aria-hidden": true, children: [
7639
- /* @__PURE__ */ jsx85(
7640
- Path31,
7196
+ return /* @__PURE__ */ jsxs69(View70, { accessible: true, role: "img", "aria-label": label, style: styles64.row, children: [
7197
+ /* @__PURE__ */ jsxs69(Svg32, { width: size, height: size, viewBox: "0 0 24 24", "aria-hidden": true, children: [
7198
+ /* @__PURE__ */ jsx79(
7199
+ Path26,
7641
7200
  {
7642
7201
  d: "M12 2.5l2.4 1.7 2.9-.1.9 2.8 2.3 1.8-.9 2.8.9 2.8-2.3 1.8-.9 2.8-2.9-.1L12 21.5l-2.4-1.7-2.9.1-.9-2.8-2.3-1.8.9-2.8-.9-2.8 2.3-1.8.9-2.8 2.9.1z",
7643
7202
  fill: theme.accent,
@@ -7645,16 +7204,16 @@ function VerifiedBadge({ label, showLabel, size = 16, on = "surface" }) {
7645
7204
  strokeWidth: 1.2
7646
7205
  }
7647
7206
  ),
7648
- /* @__PURE__ */ jsx85(Path31, { d: "M8.3 12.3l2.5 2.5 4.9-5.2", fill: "none", stroke: theme.onAccent, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" })
7207
+ /* @__PURE__ */ jsx79(Path26, { d: "M8.3 12.3l2.5 2.5 4.9-5.2", fill: "none", stroke: theme.onAccent, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" })
7649
7208
  ] }),
7650
- showLabel ? /* @__PURE__ */ jsx85(Txt, { variant: "caption", tone: on === "media" ? "onMedia" : "accent", style: styles65.text, children: label }) : null
7209
+ showLabel ? /* @__PURE__ */ jsx79(Txt, { variant: "caption", tone: on === "media" ? "onMedia" : "accent", style: styles64.text, children: label }) : null
7651
7210
  ] });
7652
7211
  }
7653
- var styles65 = StyleSheet65.create({ row: { flexDirection: "row", alignItems: "center", gap: 4 }, text: { fontWeight: "700" } });
7212
+ var styles64 = StyleSheet64.create({ row: { flexDirection: "row", alignItems: "center", gap: 4 }, text: { fontWeight: "700" } });
7654
7213
 
7655
7214
  // src/native/waveform.tsx
7656
- import * as React56 from "react";
7657
- import { Animated as Animated28, AppState as AppState2, Easing as Easing14, StyleSheet as StyleSheet66, View as View77 } from "react-native";
7215
+ import * as React54 from "react";
7216
+ import { Animated as Animated27, AppState as AppState2, Easing as Easing13, StyleSheet as StyleSheet65, View as View71 } from "react-native";
7658
7217
 
7659
7218
  // src/waveform/bars.ts
7660
7219
  function resamplePeaks(peaks, count) {
@@ -7669,30 +7228,30 @@ function resamplePeaks(peaks, count) {
7669
7228
  }
7670
7229
 
7671
7230
  // src/native/waveform.tsx
7672
- import { jsx as jsx86 } from "react/jsx-runtime";
7231
+ import { jsx as jsx80 } from "react/jsx-runtime";
7673
7232
  var HEIGHT = { sm: 24, md: 40, lg: 64 };
7674
7233
  function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playing = false, label, style, ...props }) {
7675
7234
  const { theme } = useTheme();
7676
7235
  const reduce = useReducedMotion();
7677
- const [active, setActive] = React56.useState(() => AppState2.currentState === "active");
7678
- React56.useEffect(() => {
7236
+ const [active, setActive] = React54.useState(() => AppState2.currentState === "active");
7237
+ React54.useEffect(() => {
7679
7238
  const subscription = AppState2.addEventListener("change", (state) => setActive(state === "active"));
7680
7239
  return () => subscription.remove();
7681
7240
  }, []);
7682
- const shape = React56.useMemo(() => resamplePeaks(peaks ?? [], bars), [peaks, bars]);
7683
- const values = React56.useMemo(() => shape.map(() => new Animated28.Value(1)), [shape]);
7241
+ const shape = React54.useMemo(() => resamplePeaks(peaks ?? [], bars), [peaks, bars]);
7242
+ const values = React54.useMemo(() => shape.map(() => new Animated27.Value(1)), [shape]);
7684
7243
  const moving = playing && !reduce && active;
7685
- React56.useEffect(() => {
7244
+ React54.useEffect(() => {
7686
7245
  if (!moving) {
7687
7246
  values.forEach((value) => value.setValue(1));
7688
7247
  return;
7689
7248
  }
7690
7249
  const loops = values.map((value, i) => {
7691
7250
  value.setValue(i * 7 % 11 / 11);
7692
- const loop = Animated28.loop(
7693
- Animated28.sequence([
7694
- Animated28.timing(value, { toValue: 1, duration: 800, easing: Easing14.inOut(Easing14.ease), useNativeDriver: true }),
7695
- Animated28.timing(value, { toValue: 0, duration: 800, easing: Easing14.inOut(Easing14.ease), useNativeDriver: true })
7251
+ const loop = Animated27.loop(
7252
+ Animated27.sequence([
7253
+ Animated27.timing(value, { toValue: 1, duration: 800, easing: Easing13.inOut(Easing13.ease), useNativeDriver: true }),
7254
+ Animated27.timing(value, { toValue: 0, duration: 800, easing: Easing13.inOut(Easing13.ease), useNativeDriver: true })
7696
7255
  ])
7697
7256
  );
7698
7257
  loop.start();
@@ -7702,8 +7261,8 @@ function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playi
7702
7261
  }, [moving, values]);
7703
7262
  const named = label !== void 0;
7704
7263
  const barColour = tone3 === "neutral" ? theme.borderStrong : theme.accent;
7705
- return /* @__PURE__ */ jsx86(
7706
- View77,
7264
+ return /* @__PURE__ */ jsx80(
7265
+ View71,
7707
7266
  {
7708
7267
  ...props,
7709
7268
  accessible: named,
@@ -7711,13 +7270,13 @@ function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playi
7711
7270
  accessibilityLabel: label,
7712
7271
  "aria-hidden": named ? void 0 : true,
7713
7272
  importantForAccessibility: named ? "yes" : "no-hide-descendants",
7714
- style: [styles66.root, { height: HEIGHT[size] }, style],
7715
- children: shape.map((peak, i) => /* @__PURE__ */ jsx86(
7716
- Animated28.View,
7273
+ style: [styles65.root, { height: HEIGHT[size] }, style],
7274
+ children: shape.map((peak, i) => /* @__PURE__ */ jsx80(
7275
+ Animated27.View,
7717
7276
  {
7718
7277
  testID: "waveform-bar",
7719
7278
  style: [
7720
- styles66.bar,
7279
+ styles65.bar,
7721
7280
  { height: `${Math.round(peak * 100)}%`, backgroundColor: barColour },
7722
7281
  { transform: [{ scaleY: values[i].interpolate({ inputRange: [0, 1], outputRange: [0.45, 1] }) }] }
7723
7282
  ]
@@ -7727,7 +7286,7 @@ function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playi
7727
7286
  }
7728
7287
  );
7729
7288
  }
7730
- var styles66 = StyleSheet66.create({
7289
+ var styles65 = StyleSheet65.create({
7731
7290
  root: { width: "100%", flexDirection: "row", alignItems: "center", justifyContent: "center", columnGap: 2 },
7732
7291
  bar: { flex: 1, minWidth: 2, borderRadius: 9999 }
7733
7292
  });
@@ -7781,7 +7340,6 @@ export {
7781
7340
  Header,
7782
7341
  IconButton,
7783
7342
  ImageViewer,
7784
- KachizakaMark,
7785
7343
  KrizakaMark,
7786
7344
  ListDetail,
7787
7345
  Loader,
@@ -7794,20 +7352,17 @@ export {
7794
7352
  MatchDialog,
7795
7353
  MessageBubble,
7796
7354
  MessageComposer,
7797
- MetaRow,
7798
7355
  Meter,
7799
7356
  MonthPicker,
7800
7357
  NumberTicker,
7801
7358
  OfflineBanner,
7802
7359
  Onboarding,
7803
7360
  OrazakaMark,
7804
- OrochiaMark,
7805
7361
  OtpInput,
7806
7362
  Pagination,
7807
7363
  PermissionPrompt,
7808
7364
  PersonCard,
7809
7365
  Phoenix,
7810
- PhotoGrid,
7811
7366
  ProductMark,
7812
7367
  ProfileBanner,
7813
7368
  ProfileCard,
@@ -7857,10 +7412,7 @@ export {
7857
7412
  Wheel,
7858
7413
  WheelDivider,
7859
7414
  WheelPicker,
7860
- YasakiaMark,
7861
- YazakiaMark,
7862
7415
  YomizakaMark,
7863
- YororisMark,
7864
7416
  addDays,
7865
7417
  addMonths,
7866
7418
  ageOn,