@fbincon/claude-code-statusline 0.0.0-stage → 3.0.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 (648) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSE-Unicode.txt +39 -0
  3. package/LICENSE-Wcwidth.txt +27 -0
  4. package/README.md +420 -2
  5. package/bin/claude-statusline.js +2 -0
  6. package/candidate.json +1244 -0
  7. package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.d.ts +35 -0
  8. package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.js +228 -0
  9. package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.js.map +1 -0
  10. package/node_modules/@fbincon/statusline-cli/dist/src/config/backend-preferences.d.ts +6 -0
  11. package/node_modules/@fbincon/statusline-cli/dist/src/config/backend-preferences.js +72 -0
  12. package/node_modules/@fbincon/statusline-cli/dist/src/config/backend-preferences.js.map +1 -0
  13. package/node_modules/@fbincon/statusline-cli/dist/src/config/commands.d.ts +10 -0
  14. package/node_modules/@fbincon/statusline-cli/dist/src/config/commands.js +140 -0
  15. package/node_modules/@fbincon/statusline-cli/dist/src/config/commands.js.map +1 -0
  16. package/node_modules/@fbincon/statusline-cli/dist/src/config/host.d.ts +10 -0
  17. package/node_modules/@fbincon/statusline-cli/dist/src/config/host.js +101 -0
  18. package/node_modules/@fbincon/statusline-cli/dist/src/config/host.js.map +1 -0
  19. package/node_modules/@fbincon/statusline-cli/dist/src/config/operations.d.ts +10 -0
  20. package/node_modules/@fbincon/statusline-cli/dist/src/config/operations.js +96 -0
  21. package/node_modules/@fbincon/statusline-cli/dist/src/config/operations.js.map +1 -0
  22. package/node_modules/@fbincon/statusline-cli/dist/src/config/preferences.d.ts +11 -0
  23. package/node_modules/@fbincon/statusline-cli/dist/src/config/preferences.js +80 -0
  24. package/node_modules/@fbincon/statusline-cli/dist/src/config/preferences.js.map +1 -0
  25. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.d.ts +45 -0
  26. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js +99 -0
  27. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js.map +1 -0
  28. package/node_modules/@fbincon/statusline-cli/dist/src/config/storage.d.ts +30 -0
  29. package/node_modules/@fbincon/statusline-cli/dist/src/config/storage.js +134 -0
  30. package/node_modules/@fbincon/statusline-cli/dist/src/config/storage.js.map +1 -0
  31. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.d.ts +3 -0
  32. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js +89 -0
  33. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js.map +1 -0
  34. package/node_modules/@fbincon/statusline-cli/dist/src/context.d.ts +11 -0
  35. package/node_modules/@fbincon/statusline-cli/dist/src/context.js +2 -0
  36. package/node_modules/@fbincon/statusline-cli/dist/src/context.js.map +1 -0
  37. package/node_modules/@fbincon/statusline-cli/dist/src/entry.d.ts +1 -0
  38. package/node_modules/@fbincon/statusline-cli/dist/src/entry.js +3 -0
  39. package/node_modules/@fbincon/statusline-cli/dist/src/entry.js.map +1 -0
  40. package/node_modules/@fbincon/statusline-cli/dist/src/errors.d.ts +4 -0
  41. package/node_modules/@fbincon/statusline-cli/dist/src/errors.js +8 -0
  42. package/node_modules/@fbincon/statusline-cli/dist/src/errors.js.map +1 -0
  43. package/node_modules/@fbincon/statusline-cli/dist/src/help.d.ts +3 -0
  44. package/node_modules/@fbincon/statusline-cli/dist/src/help.js +67 -0
  45. package/node_modules/@fbincon/statusline-cli/dist/src/help.js.map +1 -0
  46. package/node_modules/@fbincon/statusline-cli/dist/src/integration/arguments.d.ts +10 -0
  47. package/node_modules/@fbincon/statusline-cli/dist/src/integration/arguments.js +40 -0
  48. package/node_modules/@fbincon/statusline-cli/dist/src/integration/arguments.js.map +1 -0
  49. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.d.ts +3 -0
  50. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js +63 -0
  51. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js.map +1 -0
  52. package/node_modules/@fbincon/statusline-cli/dist/src/integration/doctor.d.ts +4 -0
  53. package/node_modules/@fbincon/statusline-cli/dist/src/integration/doctor.js +153 -0
  54. package/node_modules/@fbincon/statusline-cli/dist/src/integration/doctor.js.map +1 -0
  55. package/node_modules/@fbincon/statusline-cli/dist/src/integration/editor.d.ts +14 -0
  56. package/node_modules/@fbincon/statusline-cli/dist/src/integration/editor.js +3 -0
  57. package/node_modules/@fbincon/statusline-cli/dist/src/integration/editor.js.map +1 -0
  58. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.d.ts +6 -0
  59. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js +142 -0
  60. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js.map +1 -0
  61. package/node_modules/@fbincon/statusline-cli/dist/src/integration/launcher.d.ts +15 -0
  62. package/node_modules/@fbincon/statusline-cli/dist/src/integration/launcher.js +91 -0
  63. package/node_modules/@fbincon/statusline-cli/dist/src/integration/launcher.js.map +1 -0
  64. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mod-ownership.d.ts +20 -0
  65. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mod-ownership.js +109 -0
  66. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mod-ownership.js.map +1 -0
  67. package/node_modules/@fbincon/statusline-cli/dist/src/integration/model.d.ts +60 -0
  68. package/node_modules/@fbincon/statusline-cli/dist/src/integration/model.js +12 -0
  69. package/node_modules/@fbincon/statusline-cli/dist/src/integration/model.js.map +1 -0
  70. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mods.d.ts +10 -0
  71. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mods.js +234 -0
  72. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mods.js.map +1 -0
  73. package/node_modules/@fbincon/statusline-cli/dist/src/integration/ownership.d.ts +8 -0
  74. package/node_modules/@fbincon/statusline-cli/dist/src/integration/ownership.js +41 -0
  75. package/node_modules/@fbincon/statusline-cli/dist/src/integration/ownership.js.map +1 -0
  76. package/node_modules/@fbincon/statusline-cli/dist/src/integration/paths.d.ts +1 -0
  77. package/node_modules/@fbincon/statusline-cli/dist/src/integration/paths.js +14 -0
  78. package/node_modules/@fbincon/statusline-cli/dist/src/integration/paths.js.map +1 -0
  79. package/node_modules/@fbincon/statusline-cli/dist/src/integration/plan.d.ts +13 -0
  80. package/node_modules/@fbincon/statusline-cli/dist/src/integration/plan.js +92 -0
  81. package/node_modules/@fbincon/statusline-cli/dist/src/integration/plan.js.map +1 -0
  82. package/node_modules/@fbincon/statusline-cli/dist/src/integration/resources.d.ts +19 -0
  83. package/node_modules/@fbincon/statusline-cli/dist/src/integration/resources.js +91 -0
  84. package/node_modules/@fbincon/statusline-cli/dist/src/integration/resources.js.map +1 -0
  85. package/node_modules/@fbincon/statusline-cli/dist/src/integration/slash-hook.d.ts +6 -0
  86. package/node_modules/@fbincon/statusline-cli/dist/src/integration/slash-hook.js +94 -0
  87. package/node_modules/@fbincon/statusline-cli/dist/src/integration/slash-hook.js.map +1 -0
  88. package/node_modules/@fbincon/statusline-cli/dist/src/integration/transaction.d.ts +8 -0
  89. package/node_modules/@fbincon/statusline-cli/dist/src/integration/transaction.js +3 -0
  90. package/node_modules/@fbincon/statusline-cli/dist/src/integration/transaction.js.map +1 -0
  91. package/node_modules/@fbincon/statusline-cli/dist/src/main.d.ts +22 -0
  92. package/node_modules/@fbincon/statusline-cli/dist/src/main.js +197 -0
  93. package/node_modules/@fbincon/statusline-cli/dist/src/main.js.map +1 -0
  94. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/files.d.ts +7 -0
  95. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/files.js +134 -0
  96. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/files.js.map +1 -0
  97. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.d.ts +58 -0
  98. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js +144 -0
  99. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js.map +1 -0
  100. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/official.d.ts +5 -0
  101. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/official.js +125 -0
  102. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/official.js.map +1 -0
  103. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/service.d.ts +11 -0
  104. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/service.js +55 -0
  105. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/service.js.map +1 -0
  106. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.d.ts +15 -0
  107. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.js +95 -0
  108. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.js.map +1 -0
  109. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.d.ts +6 -0
  110. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js +48 -0
  111. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js.map +1 -0
  112. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/preview.d.ts +2 -0
  113. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/preview.js +13 -0
  114. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/preview.js.map +1 -0
  115. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/context.d.ts +11 -0
  116. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/context.js +11 -0
  117. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/context.js.map +1 -0
  118. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/git.d.ts +19 -0
  119. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/git.js +162 -0
  120. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/git.js.map +1 -0
  121. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/hook.d.ts +3 -0
  122. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/hook.js +19 -0
  123. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/hook.js.map +1 -0
  124. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/io.d.ts +37 -0
  125. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/io.js +75 -0
  126. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/io.js.map +1 -0
  127. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/json-data.d.ts +9 -0
  128. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/json-data.js +241 -0
  129. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/json-data.js.map +1 -0
  130. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/collect.d.ts +2 -0
  131. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/collect.js +14 -0
  132. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/collect.js.map +1 -0
  133. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/durations.d.ts +15 -0
  134. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/durations.js +69 -0
  135. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/durations.js.map +1 -0
  136. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/protocol.d.ts +16 -0
  137. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/protocol.js +90 -0
  138. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/protocol.js.map +1 -0
  139. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/store.d.ts +25 -0
  140. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/store.js +80 -0
  141. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/store.js.map +1 -0
  142. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/registry.d.ts +4 -0
  143. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/registry.js +40 -0
  144. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/registry.js.map +1 -0
  145. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/collect.d.ts +5 -0
  146. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/collect.js +59 -0
  147. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/collect.js.map +1 -0
  148. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/service.d.ts +17 -0
  149. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/service.js +69 -0
  150. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/service.js.map +1 -0
  151. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/store.d.ts +17 -0
  152. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/store.js +70 -0
  153. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/store.js.map +1 -0
  154. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/submissions.d.ts +13 -0
  155. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/submissions.js +75 -0
  156. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/submissions.js.map +1 -0
  157. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/usage.d.ts +33 -0
  158. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/usage.js +227 -0
  159. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/usage.js.map +1 -0
  160. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +20 -0
  161. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js +144 -0
  162. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js.map +1 -0
  163. package/node_modules/@fbincon/statusline-cli/package.json +17 -0
  164. package/node_modules/@fbincon/statusline-cli/resources/statusline-config/SKILL.md +80 -0
  165. package/node_modules/@fbincon/statusline-cli/resources/statusline-configure/SKILL.md +19 -0
  166. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +37 -0
  167. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/hooks.json +6 -0
  168. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/register.ts +820 -0
  169. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/backend.ts +503 -0
  170. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/forms.ts +3 -0
  171. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/keys.ts +198 -0
  172. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/messages.ts +101 -0
  173. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/settings.ts +218 -0
  174. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/appearance.ts +29 -0
  175. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/draft.ts +254 -0
  176. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/forms.ts +167 -0
  177. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/guidance.ts +20 -0
  178. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/import-review.ts +55 -0
  179. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/instances.ts +30 -0
  180. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/navigation.ts +98 -0
  181. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/numeric.ts +42 -0
  182. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/search.ts +114 -0
  183. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +276 -0
  184. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-unicode.ts +92 -0
  185. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/generated-locales.ts +6842 -0
  186. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/index.ts +40 -0
  187. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/messages.ts +33 -0
  188. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/presentation.ts +62 -0
  189. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/launch.ts +25 -0
  190. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/preferences.ts +61 -0
  191. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/preview-preferences.ts +8 -0
  192. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/session.ts +124 -0
  193. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/unicode.ts +121 -0
  194. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +47 -0
  195. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/draw.ts +159 -0
  196. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +84 -0
  197. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/surface.ts +89 -0
  198. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/components/catalog.ts +23 -0
  199. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/components/preview.ts +45 -0
  200. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/components/section.ts +49 -0
  201. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/components/shortcuts.ts +83 -0
  202. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/layout.ts +49 -0
  203. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/styled-text.ts +56 -0
  204. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/text.ts +23 -0
  205. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/theme.ts +27 -0
  206. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +49 -0
  207. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/hooks/hooks.json +1 -0
  208. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/hooks/observe.ts +279 -0
  209. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/checklists.ts +45 -0
  210. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/costs.ts +23 -0
  211. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/generated-contracts.ts +18 -0
  212. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/identity.ts +14 -0
  213. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/launch.ts +25 -0
  214. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/queue.ts +68 -0
  215. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/streams.ts +28 -0
  216. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/timing.ts +11 -0
  217. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +19 -0
  218. package/node_modules/@fbincon/statusline-core/dist/src/config/backend-preferences.d.ts +14 -0
  219. package/node_modules/@fbincon/statusline-core/dist/src/config/backend-preferences.js +72 -0
  220. package/node_modules/@fbincon/statusline-core/dist/src/config/backend-preferences.js.map +1 -0
  221. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.d.ts +86 -0
  222. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.js +3462 -0
  223. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.js.map +1 -0
  224. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog.d.ts +10 -0
  225. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog.js +17 -0
  226. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog.js.map +1 -0
  227. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.d.ts +5 -0
  228. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js +19 -0
  229. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js.map +1 -0
  230. package/node_modules/@fbincon/statusline-core/dist/src/config/display.d.ts +13 -0
  231. package/node_modules/@fbincon/statusline-core/dist/src/config/display.js +232 -0
  232. package/node_modules/@fbincon/statusline-core/dist/src/config/display.js.map +1 -0
  233. package/node_modules/@fbincon/statusline-core/dist/src/config/draft.d.ts +4 -0
  234. package/node_modules/@fbincon/statusline-core/dist/src/config/draft.js +48 -0
  235. package/node_modules/@fbincon/statusline-core/dist/src/config/draft.js.map +1 -0
  236. package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.d.ts +8 -0
  237. package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.js +104 -0
  238. package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.js.map +1 -0
  239. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.d.ts +11 -0
  240. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js +99 -0
  241. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js.map +1 -0
  242. package/node_modules/@fbincon/statusline-core/dist/src/config/generated-constants.d.ts +36 -0
  243. package/node_modules/@fbincon/statusline-core/dist/src/config/generated-constants.js +5 -0
  244. package/node_modules/@fbincon/statusline-core/dist/src/config/generated-constants.js.map +1 -0
  245. package/node_modules/@fbincon/statusline-core/dist/src/config/import-review.d.ts +4 -0
  246. package/node_modules/@fbincon/statusline-core/dist/src/config/import-review.js +80 -0
  247. package/node_modules/@fbincon/statusline-core/dist/src/config/import-review.js.map +1 -0
  248. package/node_modules/@fbincon/statusline-core/dist/src/config/instances.d.ts +29 -0
  249. package/node_modules/@fbincon/statusline-core/dist/src/config/instances.js +159 -0
  250. package/node_modules/@fbincon/statusline-core/dist/src/config/instances.js.map +1 -0
  251. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.d.ts +10 -0
  252. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.js +34 -0
  253. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.js.map +1 -0
  254. package/node_modules/@fbincon/statusline-core/dist/src/config/transfer.d.ts +6 -0
  255. package/node_modules/@fbincon/statusline-core/dist/src/config/transfer.js +23 -0
  256. package/node_modules/@fbincon/statusline-core/dist/src/config/transfer.js.map +1 -0
  257. package/node_modules/@fbincon/statusline-core/dist/src/config/validation.d.ts +15 -0
  258. package/node_modules/@fbincon/statusline-core/dist/src/config/validation.js +55 -0
  259. package/node_modules/@fbincon/statusline-core/dist/src/config/validation.js.map +1 -0
  260. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.d.ts +33 -0
  261. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js +5 -0
  262. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js.map +1 -0
  263. package/node_modules/@fbincon/statusline-core/dist/src/contracts/runtime.d.ts +18 -0
  264. package/node_modules/@fbincon/statusline-core/dist/src/contracts/runtime.js +3 -0
  265. package/node_modules/@fbincon/statusline-core/dist/src/contracts/runtime.js.map +1 -0
  266. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.d.ts +663 -0
  267. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +23 -0
  268. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js.map +1 -0
  269. package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.d.ts +5 -0
  270. package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.js +27 -0
  271. package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.js.map +1 -0
  272. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.d.ts +18 -0
  273. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js +401 -0
  274. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js.map +1 -0
  275. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.d.ts +73 -0
  276. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js +251 -0
  277. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js.map +1 -0
  278. package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.d.ts +26 -0
  279. package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js +146 -0
  280. package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js.map +1 -0
  281. package/node_modules/@fbincon/statusline-core/dist/src/editor/guidance.d.ts +3 -0
  282. package/node_modules/@fbincon/statusline-core/dist/src/editor/guidance.js +17 -0
  283. package/node_modules/@fbincon/statusline-core/dist/src/editor/guidance.js.map +1 -0
  284. package/node_modules/@fbincon/statusline-core/dist/src/editor/import-review.d.ts +19 -0
  285. package/node_modules/@fbincon/statusline-core/dist/src/editor/import-review.js +53 -0
  286. package/node_modules/@fbincon/statusline-core/dist/src/editor/import-review.js.map +1 -0
  287. package/node_modules/@fbincon/statusline-core/dist/src/editor/instances.d.ts +4 -0
  288. package/node_modules/@fbincon/statusline-core/dist/src/editor/instances.js +36 -0
  289. package/node_modules/@fbincon/statusline-core/dist/src/editor/instances.js.map +1 -0
  290. package/node_modules/@fbincon/statusline-core/dist/src/editor/navigation.d.ts +37 -0
  291. package/node_modules/@fbincon/statusline-core/dist/src/editor/navigation.js +73 -0
  292. package/node_modules/@fbincon/statusline-core/dist/src/editor/navigation.js.map +1 -0
  293. package/node_modules/@fbincon/statusline-core/dist/src/editor/numeric.d.ts +11 -0
  294. package/node_modules/@fbincon/statusline-core/dist/src/editor/numeric.js +27 -0
  295. package/node_modules/@fbincon/statusline-core/dist/src/editor/numeric.js.map +1 -0
  296. package/node_modules/@fbincon/statusline-core/dist/src/editor/search.d.ts +22 -0
  297. package/node_modules/@fbincon/statusline-core/dist/src/editor/search.js +122 -0
  298. package/node_modules/@fbincon/statusline-core/dist/src/editor/search.js.map +1 -0
  299. package/node_modules/@fbincon/statusline-core/dist/src/editor/text.d.ts +2 -0
  300. package/node_modules/@fbincon/statusline-core/dist/src/editor/text.js +30 -0
  301. package/node_modules/@fbincon/statusline-core/dist/src/editor/text.js.map +1 -0
  302. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +6841 -0
  303. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +6841 -0
  304. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -0
  305. package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.d.ts +16 -0
  306. package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.js +38 -0
  307. package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.js.map +1 -0
  308. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.d.ts +3 -0
  309. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.js +4 -0
  310. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.js.map +1 -0
  311. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.d.ts +222 -0
  312. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.js +224 -0
  313. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.js.map +1 -0
  314. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.d.ts +222 -0
  315. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.js +224 -0
  316. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.js.map +1 -0
  317. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.d.ts +222 -0
  318. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.js +224 -0
  319. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.js.map +1 -0
  320. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.d.ts +222 -0
  321. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.js +224 -0
  322. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.js.map +1 -0
  323. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-Hant.d.ts +222 -0
  324. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-Hant.js +224 -0
  325. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-Hant.js.map +1 -0
  326. package/node_modules/@fbincon/statusline-core/dist/src/integration/binding.d.ts +9 -0
  327. package/node_modules/@fbincon/statusline-core/dist/src/integration/binding.js +27 -0
  328. package/node_modules/@fbincon/statusline-core/dist/src/integration/binding.js.map +1 -0
  329. package/node_modules/@fbincon/statusline-core/dist/src/json-equality.d.ts +2 -0
  330. package/node_modules/@fbincon/statusline-core/dist/src/json-equality.js +31 -0
  331. package/node_modules/@fbincon/statusline-core/dist/src/json-equality.js.map +1 -0
  332. package/node_modules/@fbincon/statusline-core/dist/src/json-read.d.ts +9 -0
  333. package/node_modules/@fbincon/statusline-core/dist/src/json-read.js +137 -0
  334. package/node_modules/@fbincon/statusline-core/dist/src/json-read.js.map +1 -0
  335. package/node_modules/@fbincon/statusline-core/dist/src/json-text.d.ts +9 -0
  336. package/node_modules/@fbincon/statusline-core/dist/src/json-text.js +56 -0
  337. package/node_modules/@fbincon/statusline-core/dist/src/json-text.js.map +1 -0
  338. package/node_modules/@fbincon/statusline-core/dist/src/json.d.ts +18 -0
  339. package/node_modules/@fbincon/statusline-core/dist/src/json.js +165 -0
  340. package/node_modules/@fbincon/statusline-core/dist/src/json.js.map +1 -0
  341. package/node_modules/@fbincon/statusline-core/dist/src/numbers.d.ts +4 -0
  342. package/node_modules/@fbincon/statusline-core/dist/src/numbers.js +47 -0
  343. package/node_modules/@fbincon/statusline-core/dist/src/numbers.js.map +1 -0
  344. package/node_modules/@fbincon/statusline-core/dist/src/ordered-record.d.ts +21 -0
  345. package/node_modules/@fbincon/statusline-core/dist/src/ordered-record.js +105 -0
  346. package/node_modules/@fbincon/statusline-core/dist/src/ordered-record.js.map +1 -0
  347. package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +7 -0
  348. package/node_modules/@fbincon/statusline-core/dist/src/release.js +14 -0
  349. package/node_modules/@fbincon/statusline-core/dist/src/release.js.map +1 -0
  350. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.d.ts +10 -0
  351. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.js +73 -0
  352. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.js.map +1 -0
  353. package/node_modules/@fbincon/statusline-core/dist/src/rendering/coercion.d.ts +2 -0
  354. package/node_modules/@fbincon/statusline-core/dist/src/rendering/coercion.js +50 -0
  355. package/node_modules/@fbincon/statusline-core/dist/src/rendering/coercion.js.map +1 -0
  356. package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.d.ts +3 -0
  357. package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.js +36 -0
  358. package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.js.map +1 -0
  359. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.d.ts +10 -0
  360. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.js +49 -0
  361. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.js.map +1 -0
  362. package/node_modules/@fbincon/statusline-core/dist/src/rendering/context.d.ts +36 -0
  363. package/node_modules/@fbincon/statusline-core/dist/src/rendering/context.js +2 -0
  364. package/node_modules/@fbincon/statusline-core/dist/src/rendering/context.js.map +1 -0
  365. package/node_modules/@fbincon/statusline-core/dist/src/rendering/formatters.d.ts +10 -0
  366. package/node_modules/@fbincon/statusline-core/dist/src/rendering/formatters.js +58 -0
  367. package/node_modules/@fbincon/statusline-core/dist/src/rendering/formatters.js.map +1 -0
  368. package/node_modules/@fbincon/statusline-core/dist/src/rendering/git.d.ts +7 -0
  369. package/node_modules/@fbincon/statusline-core/dist/src/rendering/git.js +34 -0
  370. package/node_modules/@fbincon/statusline-core/dist/src/rendering/git.js.map +1 -0
  371. package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.d.ts +49 -0
  372. package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js +399 -0
  373. package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js.map +1 -0
  374. package/node_modules/@fbincon/statusline-core/dist/src/rendering/language.d.ts +13 -0
  375. package/node_modules/@fbincon/statusline-core/dist/src/rendering/language.js +36 -0
  376. package/node_modules/@fbincon/statusline-core/dist/src/rendering/language.js.map +1 -0
  377. package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.d.ts +19 -0
  378. package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.js +176 -0
  379. package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.js.map +1 -0
  380. package/node_modules/@fbincon/statusline-core/dist/src/rendering/live.d.ts +4 -0
  381. package/node_modules/@fbincon/statusline-core/dist/src/rendering/live.js +29 -0
  382. package/node_modules/@fbincon/statusline-core/dist/src/rendering/live.js.map +1 -0
  383. package/node_modules/@fbincon/statusline-core/dist/src/rendering/metrics.d.ts +13 -0
  384. package/node_modules/@fbincon/statusline-core/dist/src/rendering/metrics.js +93 -0
  385. package/node_modules/@fbincon/statusline-core/dist/src/rendering/metrics.js.map +1 -0
  386. package/node_modules/@fbincon/statusline-core/dist/src/rendering/numeric-format.d.ts +3 -0
  387. package/node_modules/@fbincon/statusline-core/dist/src/rendering/numeric-format.js +46 -0
  388. package/node_modules/@fbincon/statusline-core/dist/src/rendering/numeric-format.js.map +1 -0
  389. package/node_modules/@fbincon/statusline-core/dist/src/rendering/palette.d.ts +23 -0
  390. package/node_modules/@fbincon/statusline-core/dist/src/rendering/palette.js +9 -0
  391. package/node_modules/@fbincon/statusline-core/dist/src/rendering/palette.js.map +1 -0
  392. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.d.ts +10 -0
  393. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js +76 -0
  394. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js.map +1 -0
  395. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.d.ts +14 -0
  396. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.js +98 -0
  397. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.js.map +1 -0
  398. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preview.d.ts +67 -0
  399. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preview.js +36 -0
  400. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preview.js.map +1 -0
  401. package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.d.ts +8 -0
  402. package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.js +14 -0
  403. package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.js.map +1 -0
  404. package/node_modules/@fbincon/statusline-core/dist/src/rendering/styles.d.ts +24 -0
  405. package/node_modules/@fbincon/statusline-core/dist/src/rendering/styles.js +116 -0
  406. package/node_modules/@fbincon/statusline-core/dist/src/rendering/styles.js.map +1 -0
  407. package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.d.ts +13 -0
  408. package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js +305 -0
  409. package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js.map +1 -0
  410. package/node_modules/@fbincon/statusline-core/dist/src/rendering/timer.d.ts +8 -0
  411. package/node_modules/@fbincon/statusline-core/dist/src/rendering/timer.js +33 -0
  412. package/node_modules/@fbincon/statusline-core/dist/src/rendering/timer.js.map +1 -0
  413. package/node_modules/@fbincon/statusline-core/dist/src/rendering/visibility.d.ts +4 -0
  414. package/node_modules/@fbincon/statusline-core/dist/src/rendering/visibility.js +52 -0
  415. package/node_modules/@fbincon/statusline-core/dist/src/rendering/visibility.js.map +1 -0
  416. package/node_modules/@fbincon/statusline-core/dist/src/runtime/git.d.ts +9 -0
  417. package/node_modules/@fbincon/statusline-core/dist/src/runtime/git.js +115 -0
  418. package/node_modules/@fbincon/statusline-core/dist/src/runtime/git.js.map +1 -0
  419. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/bindings.d.ts +4 -0
  420. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/bindings.js +104 -0
  421. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/bindings.js.map +1 -0
  422. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/model.d.ts +27 -0
  423. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/model.js +196 -0
  424. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/model.js.map +1 -0
  425. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/ownership.d.ts +6 -0
  426. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/ownership.js +45 -0
  427. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/ownership.js.map +1 -0
  428. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/reducer.d.ts +5 -0
  429. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/reducer.js +228 -0
  430. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/reducer.js.map +1 -0
  431. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/requests.d.ts +24 -0
  432. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/requests.js +145 -0
  433. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/requests.js.map +1 -0
  434. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/snapshot.d.ts +6 -0
  435. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/snapshot.js +70 -0
  436. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/snapshot.js.map +1 -0
  437. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/state.d.ts +36 -0
  438. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/state.js +110 -0
  439. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/state.js.map +1 -0
  440. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/agents.d.ts +8 -0
  441. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/agents.js +75 -0
  442. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/agents.js.map +1 -0
  443. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/hooks.d.ts +10 -0
  444. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/hooks.js +121 -0
  445. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/hooks.js.map +1 -0
  446. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/model.d.ts +43 -0
  447. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/model.js +198 -0
  448. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/model.js.map +1 -0
  449. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/native.d.ts +6 -0
  450. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/native.js +192 -0
  451. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/native.js.map +1 -0
  452. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/transitions.d.ts +16 -0
  453. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/transitions.js +245 -0
  454. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/transitions.js.map +1 -0
  455. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/view.d.ts +4 -0
  456. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/view.js +28 -0
  457. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/view.js.map +1 -0
  458. package/node_modules/@fbincon/statusline-core/dist/src/runtime/transcript.d.ts +26 -0
  459. package/node_modules/@fbincon/statusline-core/dist/src/runtime/transcript.js +183 -0
  460. package/node_modules/@fbincon/statusline-core/dist/src/runtime/transcript.js.map +1 -0
  461. package/node_modules/@fbincon/statusline-core/dist/src/runtime/usage.d.ts +64 -0
  462. package/node_modules/@fbincon/statusline-core/dist/src/runtime/usage.js +263 -0
  463. package/node_modules/@fbincon/statusline-core/dist/src/runtime/usage.js.map +1 -0
  464. package/node_modules/@fbincon/statusline-core/dist/src/runtime/values.d.ts +18 -0
  465. package/node_modules/@fbincon/statusline-core/dist/src/runtime/values.js +103 -0
  466. package/node_modules/@fbincon/statusline-core/dist/src/runtime/values.js.map +1 -0
  467. package/node_modules/@fbincon/statusline-core/dist/src/terminal/key.d.ts +7 -0
  468. package/node_modules/@fbincon/statusline-core/dist/src/terminal/key.js +2 -0
  469. package/node_modules/@fbincon/statusline-core/dist/src/terminal/key.js.map +1 -0
  470. package/node_modules/@fbincon/statusline-core/dist/src/terminal/spans.d.ts +6 -0
  471. package/node_modules/@fbincon/statusline-core/dist/src/terminal/spans.js +50 -0
  472. package/node_modules/@fbincon/statusline-core/dist/src/terminal/spans.js.map +1 -0
  473. package/node_modules/@fbincon/statusline-core/dist/src/timing/sample.d.ts +8 -0
  474. package/node_modules/@fbincon/statusline-core/dist/src/timing/sample.js +13 -0
  475. package/node_modules/@fbincon/statusline-core/dist/src/timing/sample.js.map +1 -0
  476. package/node_modules/@fbincon/statusline-core/dist/src/timing/timer.d.ts +22 -0
  477. package/node_modules/@fbincon/statusline-core/dist/src/timing/timer.js +75 -0
  478. package/node_modules/@fbincon/statusline-core/dist/src/timing/timer.js.map +1 -0
  479. package/node_modules/@fbincon/statusline-core/dist/src/unicode/generated-unicode.d.ts +12 -0
  480. package/node_modules/@fbincon/statusline-core/dist/src/unicode/generated-unicode.js +93 -0
  481. package/node_modules/@fbincon/statusline-core/dist/src/unicode/generated-unicode.js.map +1 -0
  482. package/node_modules/@fbincon/statusline-core/dist/src/unicode/index.d.ts +5 -0
  483. package/node_modules/@fbincon/statusline-core/dist/src/unicode/index.js +178 -0
  484. package/node_modules/@fbincon/statusline-core/dist/src/unicode/index.js.map +1 -0
  485. package/node_modules/@fbincon/statusline-core/package.json +8 -0
  486. package/node_modules/@fbincon/statusline-core/resources/i18n/languages.json +7 -0
  487. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/en.json +1367 -0
  488. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +1367 -0
  489. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +1367 -0
  490. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +1367 -0
  491. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-Hant.json +1367 -0
  492. package/node_modules/@fbincon/statusline-platform/dist/src/architecture.d.ts +15 -0
  493. package/node_modules/@fbincon/statusline-platform/dist/src/architecture.js +22 -0
  494. package/node_modules/@fbincon/statusline-platform/dist/src/architecture.js.map +1 -0
  495. package/node_modules/@fbincon/statusline-platform/dist/src/clocks.d.ts +4 -0
  496. package/node_modules/@fbincon/statusline-platform/dist/src/clocks.js +102 -0
  497. package/node_modules/@fbincon/statusline-platform/dist/src/clocks.js.map +1 -0
  498. package/node_modules/@fbincon/statusline-platform/dist/src/command.d.ts +16 -0
  499. package/node_modules/@fbincon/statusline-platform/dist/src/command.js +18 -0
  500. package/node_modules/@fbincon/statusline-platform/dist/src/command.js.map +1 -0
  501. package/node_modules/@fbincon/statusline-platform/dist/src/commands.d.ts +12 -0
  502. package/node_modules/@fbincon/statusline-platform/dist/src/commands.js +160 -0
  503. package/node_modules/@fbincon/statusline-platform/dist/src/commands.js.map +1 -0
  504. package/node_modules/@fbincon/statusline-platform/dist/src/errors.d.ts +1 -0
  505. package/node_modules/@fbincon/statusline-platform/dist/src/errors.js +19 -0
  506. package/node_modules/@fbincon/statusline-platform/dist/src/errors.js.map +1 -0
  507. package/node_modules/@fbincon/statusline-platform/dist/src/files.d.ts +8 -0
  508. package/node_modules/@fbincon/statusline-platform/dist/src/files.js +164 -0
  509. package/node_modules/@fbincon/statusline-platform/dist/src/files.js.map +1 -0
  510. package/node_modules/@fbincon/statusline-platform/dist/src/hash.d.ts +2 -0
  511. package/node_modules/@fbincon/statusline-platform/dist/src/hash.js +5 -0
  512. package/node_modules/@fbincon/statusline-platform/dist/src/hash.js.map +1 -0
  513. package/node_modules/@fbincon/statusline-platform/dist/src/input.d.ts +2 -0
  514. package/node_modules/@fbincon/statusline-platform/dist/src/input.js +14 -0
  515. package/node_modules/@fbincon/statusline-platform/dist/src/input.js.map +1 -0
  516. package/node_modules/@fbincon/statusline-platform/dist/src/launch.d.ts +12 -0
  517. package/node_modules/@fbincon/statusline-platform/dist/src/launch.js +21 -0
  518. package/node_modules/@fbincon/statusline-platform/dist/src/launch.js.map +1 -0
  519. package/node_modules/@fbincon/statusline-platform/dist/src/line-cursor.d.ts +2 -0
  520. package/node_modules/@fbincon/statusline-platform/dist/src/line-cursor.js +31 -0
  521. package/node_modules/@fbincon/statusline-platform/dist/src/line-cursor.js.map +1 -0
  522. package/node_modules/@fbincon/statusline-platform/dist/src/native.d.ts +15 -0
  523. package/node_modules/@fbincon/statusline-platform/dist/src/native.js +36 -0
  524. package/node_modules/@fbincon/statusline-platform/dist/src/native.js.map +1 -0
  525. package/node_modules/@fbincon/statusline-platform/dist/src/plugin-host.d.ts +17 -0
  526. package/node_modules/@fbincon/statusline-platform/dist/src/plugin-host.js +44 -0
  527. package/node_modules/@fbincon/statusline-platform/dist/src/plugin-host.js.map +1 -0
  528. package/node_modules/@fbincon/statusline-platform/dist/src/presentation.d.ts +4 -0
  529. package/node_modules/@fbincon/statusline-platform/dist/src/presentation.js +48 -0
  530. package/node_modules/@fbincon/statusline-platform/dist/src/presentation.js.map +1 -0
  531. package/node_modules/@fbincon/statusline-platform/dist/src/processes.d.ts +2 -0
  532. package/node_modules/@fbincon/statusline-platform/dist/src/processes.js +67 -0
  533. package/node_modules/@fbincon/statusline-platform/dist/src/processes.js.map +1 -0
  534. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/bridge.d.ts +42 -0
  535. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/bridge.js +180 -0
  536. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/bridge.js.map +1 -0
  537. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.d.ts +11 -0
  538. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.js +81 -0
  539. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.js.map +1 -0
  540. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/launchers.d.ts +32 -0
  541. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/launchers.js +157 -0
  542. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/launchers.js.map +1 -0
  543. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/session.d.ts +18 -0
  544. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/session.js +150 -0
  545. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/session.js.map +1 -0
  546. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/windows-modes.d.ts +6 -0
  547. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/windows-modes.js +39 -0
  548. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/windows-modes.js.map +1 -0
  549. package/node_modules/@fbincon/statusline-platform/dist/src/utf8.d.ts +5 -0
  550. package/node_modules/@fbincon/statusline-platform/dist/src/utf8.js +82 -0
  551. package/node_modules/@fbincon/statusline-platform/dist/src/utf8.js.map +1 -0
  552. package/node_modules/@fbincon/statusline-platform/package.json +8 -0
  553. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.d.ts +14 -0
  554. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js +230 -0
  555. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js.map +1 -0
  556. package/node_modules/@fbincon/statusline-tui/dist/src/layout.d.ts +30 -0
  557. package/node_modules/@fbincon/statusline-tui/dist/src/layout.js +34 -0
  558. package/node_modules/@fbincon/statusline-tui/dist/src/layout.js.map +1 -0
  559. package/node_modules/@fbincon/statusline-tui/dist/src/session.d.ts +28 -0
  560. package/node_modules/@fbincon/statusline-tui/dist/src/session.js +126 -0
  561. package/node_modules/@fbincon/statusline-tui/dist/src/session.js.map +1 -0
  562. package/node_modules/@fbincon/statusline-tui/dist/src/state.d.ts +52 -0
  563. package/node_modules/@fbincon/statusline-tui/dist/src/state.js +352 -0
  564. package/node_modules/@fbincon/statusline-tui/dist/src/state.js.map +1 -0
  565. package/node_modules/@fbincon/statusline-tui/dist/src/theme.d.ts +7 -0
  566. package/node_modules/@fbincon/statusline-tui/dist/src/theme.js +5 -0
  567. package/node_modules/@fbincon/statusline-tui/dist/src/theme.js.map +1 -0
  568. package/node_modules/@fbincon/statusline-tui/package.json +16 -0
  569. package/node_modules/@koromix/koffi-darwin-arm64/README.md +6 -0
  570. package/node_modules/@koromix/koffi-darwin-arm64/darwin_arm64/koffi.node +0 -0
  571. package/node_modules/@koromix/koffi-darwin-arm64/index.js +1 -0
  572. package/node_modules/@koromix/koffi-darwin-arm64/package.json +24 -0
  573. package/node_modules/@koromix/koffi-darwin-x64/README.md +6 -0
  574. package/node_modules/@koromix/koffi-darwin-x64/darwin_x64/koffi.node +0 -0
  575. package/node_modules/@koromix/koffi-darwin-x64/index.js +1 -0
  576. package/node_modules/@koromix/koffi-darwin-x64/package.json +24 -0
  577. package/node_modules/@koromix/koffi-linux-x64/README.md +6 -0
  578. package/node_modules/@koromix/koffi-linux-x64/index.js +198 -0
  579. package/node_modules/@koromix/koffi-linux-x64/linux_x64/koffi.node +0 -0
  580. package/node_modules/@koromix/koffi-linux-x64/musl_x64/koffi.node +0 -0
  581. package/node_modules/@koromix/koffi-linux-x64/package.json +24 -0
  582. package/node_modules/@koromix/koffi-win32-x64/README.md +6 -0
  583. package/node_modules/@koromix/koffi-win32-x64/index.js +1 -0
  584. package/node_modules/@koromix/koffi-win32-x64/package.json +24 -0
  585. package/node_modules/@koromix/koffi-win32-x64/win32_x64/koffi.lib +0 -0
  586. package/node_modules/@koromix/koffi-win32-x64/win32_x64/koffi.node +0 -0
  587. package/node_modules/koffi/LICENSE.txt +22 -0
  588. package/node_modules/koffi/README.md +46 -0
  589. package/node_modules/koffi/index.cjs +1 -0
  590. package/node_modules/koffi/index.d.ts +390 -0
  591. package/node_modules/koffi/index.js +2 -0
  592. package/node_modules/koffi/indirect.cjs +1 -0
  593. package/node_modules/koffi/indirect.js +2 -0
  594. package/node_modules/koffi/package.json +73 -0
  595. package/node_modules/koffi/src/koffi/index.cjs +327 -0
  596. package/node_modules/koffi/src/koffi/index.js +312 -0
  597. package/node_modules/koffi/src/koffi/indirect.cjs +326 -0
  598. package/node_modules/koffi/src/koffi/indirect.js +311 -0
  599. package/node_modules/koffi/src/koffi/src/static.cjs +170 -0
  600. package/node_modules/koffi/src/koffi/src/static.js +173 -0
  601. package/node_modules/lossless-json/LICENSE.md +9 -0
  602. package/node_modules/lossless-json/README.md +549 -0
  603. package/node_modules/lossless-json/lib/esm/LosslessNumber.js +92 -0
  604. package/node_modules/lossless-json/lib/esm/LosslessNumber.js.map +1 -0
  605. package/node_modules/lossless-json/lib/esm/config.js +9 -0
  606. package/node_modules/lossless-json/lib/esm/config.js.map +1 -0
  607. package/node_modules/lossless-json/lib/esm/index.js +9 -0
  608. package/node_modules/lossless-json/lib/esm/index.js.map +1 -0
  609. package/node_modules/lossless-json/lib/esm/numberParsers.js +9 -0
  610. package/node_modules/lossless-json/lib/esm/numberParsers.js.map +1 -0
  611. package/node_modules/lossless-json/lib/esm/package.json +3 -0
  612. package/node_modules/lossless-json/lib/esm/parse.js +346 -0
  613. package/node_modules/lossless-json/lib/esm/parse.js.map +1 -0
  614. package/node_modules/lossless-json/lib/esm/revive.js +57 -0
  615. package/node_modules/lossless-json/lib/esm/revive.js.map +1 -0
  616. package/node_modules/lossless-json/lib/esm/reviveDate.js +10 -0
  617. package/node_modules/lossless-json/lib/esm/reviveDate.js.map +1 -0
  618. package/node_modules/lossless-json/lib/esm/stringify.js +166 -0
  619. package/node_modules/lossless-json/lib/esm/stringify.js.map +1 -0
  620. package/node_modules/lossless-json/lib/esm/types.js +2 -0
  621. package/node_modules/lossless-json/lib/esm/types.js.map +1 -0
  622. package/node_modules/lossless-json/lib/esm/utils.js +236 -0
  623. package/node_modules/lossless-json/lib/esm/utils.js.map +1 -0
  624. package/node_modules/lossless-json/lib/types/LosslessNumber.d.ts +40 -0
  625. package/node_modules/lossless-json/lib/types/LosslessNumber.d.ts.map +1 -0
  626. package/node_modules/lossless-json/lib/types/config.d.ts +13 -0
  627. package/node_modules/lossless-json/lib/types/config.d.ts.map +1 -0
  628. package/node_modules/lossless-json/lib/types/index.d.ts +9 -0
  629. package/node_modules/lossless-json/lib/types/index.d.ts.map +1 -0
  630. package/node_modules/lossless-json/lib/types/numberParsers.d.ts +4 -0
  631. package/node_modules/lossless-json/lib/types/numberParsers.d.ts.map +1 -0
  632. package/node_modules/lossless-json/lib/types/parse.d.ts +33 -0
  633. package/node_modules/lossless-json/lib/types/parse.d.ts.map +1 -0
  634. package/node_modules/lossless-json/lib/types/revive.d.ts +13 -0
  635. package/node_modules/lossless-json/lib/types/revive.d.ts.map +1 -0
  636. package/node_modules/lossless-json/lib/types/reviveDate.d.ts +5 -0
  637. package/node_modules/lossless-json/lib/types/reviveDate.d.ts.map +1 -0
  638. package/node_modules/lossless-json/lib/types/stringify.d.ts +37 -0
  639. package/node_modules/lossless-json/lib/types/stringify.d.ts.map +1 -0
  640. package/node_modules/lossless-json/lib/types/types.d.ts +61 -0
  641. package/node_modules/lossless-json/lib/types/types.d.ts.map +1 -0
  642. package/node_modules/lossless-json/lib/types/utils.d.ts +79 -0
  643. package/node_modules/lossless-json/lib/types/utils.d.ts.map +1 -0
  644. package/node_modules/lossless-json/lib/umd/lossless-json.js +1 -0
  645. package/node_modules/lossless-json/lib/umd/lossless-json.js.map +1 -0
  646. package/node_modules/lossless-json/lib/umd/package.json +3 -0
  647. package/node_modules/lossless-json/package.json +89 -0
  648. package/package.json +57 -4
@@ -0,0 +1,103 @@
1
+ import { isLosslessNumber, pythonFloat } from '../json.js';
2
+ import { object } from '../config/validation.js';
3
+ import { orderedRecord } from '../ordered-record.js';
4
+ export { object };
5
+ export function dictionary(entries = []) {
6
+ const value = orderedRecord(entries);
7
+ Object.setPrototypeOf(value, null);
8
+ return value;
9
+ }
10
+ export function own(data, key) { return typeof key === 'string' && Object.hasOwn(data, key) ? data[key] : undefined; }
11
+ export function int(value, strict = true) {
12
+ if (!strict && typeof value === 'boolean')
13
+ return value ? 1n : 0n;
14
+ if (typeof value === 'bigint')
15
+ return value;
16
+ if (typeof value === 'number')
17
+ return Number.isSafeInteger(value) ? BigInt(value) : null;
18
+ if (isLosslessNumber(value) && /^-?\d+$/u.test(value.value))
19
+ return BigInt(value.value);
20
+ return null;
21
+ }
22
+ export function numeric(value) {
23
+ if (isLosslessNumber(value))
24
+ return Number(value.value);
25
+ if (typeof value === 'number' || typeof value === 'bigint')
26
+ return Number(value);
27
+ return null;
28
+ }
29
+ export function truth(value) {
30
+ if (value == null || value === false)
31
+ return false;
32
+ if (typeof value === 'string' || Array.isArray(value))
33
+ return value.length > 0;
34
+ const number = numeric(value);
35
+ if (number !== null)
36
+ return number !== 0;
37
+ return object(value) ? Object.keys(value).length > 0 : Boolean(value);
38
+ }
39
+ export function string(value) {
40
+ if (value === null || value === undefined)
41
+ return 'None';
42
+ if (value === true)
43
+ return 'True';
44
+ if (value === false)
45
+ return 'False';
46
+ if (typeof value === 'string')
47
+ return value;
48
+ const number = numeric(value);
49
+ if (number !== null) {
50
+ const exact = int(value);
51
+ if (exact !== null)
52
+ return String(exact);
53
+ return Number.isFinite(number) ? pythonFloat(number) : Number.isNaN(number) ? 'nan' : number < 0 ? '-inf' : 'inf';
54
+ }
55
+ return repr(value);
56
+ }
57
+ function repr(value) {
58
+ if (typeof value === 'string') {
59
+ const quote = value.includes("'") && !value.includes('"') ? '"' : "'";
60
+ return quote + value.replaceAll('\\', '\\\\').replaceAll(quote, '\\' + quote).replaceAll('\n', '\\n').replaceAll('\r', '\\r').replaceAll('\t', '\\t') + quote;
61
+ }
62
+ if (Array.isArray(value))
63
+ return '[' + value.map(repr).join(', ') + ']';
64
+ if (object(value))
65
+ return '{' + Object.entries(value).map(([key, item]) => repr(key) + ': ' + repr(item)).join(', ') + '}';
66
+ return string(value);
67
+ }
68
+ export function maxInt(values, fallback = 0n) {
69
+ let found = false, result = fallback;
70
+ for (const value of values) {
71
+ if (!found || value > result)
72
+ result = value;
73
+ found = true;
74
+ }
75
+ return result;
76
+ }
77
+ export function compareInt(a, b) { return a < b ? -1 : a > b ? 1 : 0; }
78
+ export function maxNumber(a, b) { return numeric(a) >= numeric(b) ? a : b; }
79
+ export function minNumber(a, b) { return numeric(a) <= numeric(b) ? a : b; }
80
+ export function compareNumbers(a, b) {
81
+ const left = int(a), right = int(b);
82
+ if (left !== null && right !== null)
83
+ return compareInt(left, right);
84
+ function integerFloat(whole, value) {
85
+ if (value === null || Number.isNaN(value))
86
+ return NaN;
87
+ if (!Number.isFinite(value))
88
+ return value > 0 ? -1 : 1;
89
+ const floor = Math.floor(value), order = compareInt(whole, BigInt(floor));
90
+ return order || (value === floor ? 0 : -1);
91
+ }
92
+ if (left !== null)
93
+ return integerFloat(left, numeric(b));
94
+ if (right !== null)
95
+ return -integerFloat(right, numeric(a));
96
+ const x = numeric(a), y = numeric(b);
97
+ return x === null || y === null ? NaN : x < y ? -1 : x > y ? 1 : x === y ? 0 : NaN;
98
+ }
99
+ export function multiplyInteger(value, factor) {
100
+ const whole = int(value);
101
+ return whole === null ? numeric(value) * Number(factor) : whole * factor;
102
+ }
103
+ //# sourceMappingURL=values.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"values.js","sourceRoot":"","sources":["../../../src/runtime/values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,MAAM,UAAU,UAAU,CAAc,UAGnC,EAAE;IACH,MAAM,KAAK,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;IACrC,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACnC,OAAO,KAA0B,CAAC;AACtC,CAAC;AACD,MAAM,UAAU,GAAG,CAAI,IAAuB,EAAE,GAAY,IAAmB,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AACpK,MAAM,UAAU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CAAC;IAC/C,CAAC;IACD,IAAI,IAAI,KAAK,IAAI;QACb,OAAO,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1C,IAAI,KAAK,KAAK,IAAI;QACd,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5C,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACrC,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AACvF,CAAC;AACD,MAAM,UAAU,eAAe,CAAC,KAAc,EAAE,MAAc;IAC1D,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC;IACzB,OAAO,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAE,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC;AAC9E,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface Key {
2
+ key: string;
3
+ ctrl?: boolean;
4
+ shift?: boolean;
5
+ meta?: boolean;
6
+ paste?: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key.js","sourceRoot":"","sources":["../../../src/terminal/key.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export declare function clusterSpans<T extends {
2
+ text: string;
3
+ }>(spans: readonly T[]): T[];
4
+ export declare function clipSpans<T extends {
5
+ text: string;
6
+ }>(spans: readonly T[], width: number): T[];
@@ -0,0 +1,50 @@
1
+ /** Partition complete rows before styling or clipping, including span boundaries. */
2
+ import { graphemes, clusterWidth, cellWidth } from '../unicode/index.js';
3
+ export function clusterSpans(spans) {
4
+ spans = spans.map(span => ({ ...span, text: span.text.replace(/[\p{Cc}\p{Cs}]/gu, ' ') }));
5
+ const states = [];
6
+ for (const span of spans)
7
+ for (const _ of span.text)
8
+ states.push(span);
9
+ const result = [];
10
+ let offset = 0;
11
+ for (const cluster of graphemes(spans.map(s => s.text).join(''))) {
12
+ const chars = [...cluster], base = Math.max(0, chars.findIndex(c => cellWidth(c) > 0));
13
+ result.push({ ...states[offset + base], text: cluster });
14
+ offset += chars.length;
15
+ }
16
+ return result;
17
+ }
18
+ function merge(spans) {
19
+ const result = [];
20
+ for (const span of spans) {
21
+ const previous = result.at(-1);
22
+ const keys = Object.keys(span).filter(key => key !== 'text');
23
+ if (previous && Object.keys(previous).length === Object.keys(span).length && keys.every(key => previous[key] === span[key]))
24
+ previous.text += span.text;
25
+ else
26
+ result.push({ ...span });
27
+ }
28
+ return result;
29
+ }
30
+ export function clipSpans(spans, width) {
31
+ width = Math.max(0, width);
32
+ if (!width)
33
+ return [];
34
+ const clusters = clusterSpans(spans);
35
+ if (clusters.reduce((n, c) => n + clusterWidth(c.text), 0) <= width)
36
+ return merge(clusters);
37
+ const result = [];
38
+ let used = 0;
39
+ for (const cluster of clusters) {
40
+ const size = clusterWidth(cluster.text);
41
+ if (used + size > width - 1)
42
+ break;
43
+ result.push(cluster);
44
+ used += size;
45
+ }
46
+ if (clusters.length)
47
+ result.push({ ...((result.length ? result[result.length - 1] : clusters[0])), text: '…' });
48
+ return merge(result);
49
+ }
50
+ //# sourceMappingURL=spans.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spans.js","sourceRoot":"","sources":["../../../src/terminal/spans.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,OA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,CAAC,CAAC;QACxC,IAAI,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,CAAC;YACvB,MAAM;QACV,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrB,IAAI,IAAI,IAAI,CAAC;IACjB,CAAC;IACD,IAAI,QAAQ,CAAC,MAAM;QACf,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;IAChG,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC;AACzB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export interface Sample {
2
+ wall_ns: bigint;
3
+ boot_ns: bigint | null;
4
+ boot_id: string | null;
5
+ }
6
+ export declare function sameBootDomain(start: Sample, end: Sample): boolean;
7
+ export declare function delta(start: Sample, end: Sample): bigint | null;
8
+ export declare function trusted(start: Sample, end: Sample): boolean;
@@ -0,0 +1,13 @@
1
+ export function sameBootDomain(start, end) {
2
+ return Boolean(start.boot_id && start.boot_id === end.boot_id &&
3
+ (!start.boot_id.startsWith('windows:') || start.boot_id.startsWith('windows:v2:')));
4
+ }
5
+ export function delta(start, end) {
6
+ const elapsed = sameBootDomain(start, end) && start.boot_ns !== null && end.boot_ns !== null
7
+ ? end.boot_ns - start.boot_ns : end.wall_ns - start.wall_ns;
8
+ return elapsed >= 0n ? elapsed : null;
9
+ }
10
+ export function trusted(start, end) {
11
+ return Boolean(sameBootDomain(start, end) && start.boot_ns !== null && end.boot_ns !== null && end.boot_ns >= start.boot_ns);
12
+ }
13
+ //# sourceMappingURL=sample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sample.js","sourceRoot":"","sources":["../../../src/timing/sample.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,cAAc,CAAC,KAAa,EAAE,GAAW;IACvD,OAAO,OAAO,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,KAAK,GAAG,CAAC,OAAO;QAC3D,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AACxF,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,KAAa,EAAE,GAAW;IAC9C,MAAM,OAAO,GAAG,cAAc,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,KAAK,CAAC,OAAO,KAAK,IAAI,IAAI,GAAG,CAAC,OAAO,KAAK,IAAI;QAC1F,CAAC,CAAC,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;IAC9D,OAAO,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;AACxC,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,KAAa,EAAE,GAAW;IAChD,OAAO,OAAO,CAAC,cAAc,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,KAAK,CAAC,OAAO,KAAK,IAAI,IAAI,GAAG,CAAC,OAAO,KAAK,IAAI,IAAI,GAAG,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;AAC/H,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { type Sample } from './sample.js';
2
+ import { type Data } from '../runtime/values.js';
3
+ export declare function loadSample(value: unknown): Sample | null;
4
+ export declare class StatusTimer {
5
+ readonly accumulated_ns: bigint;
6
+ readonly last_resume: Sample;
7
+ readonly waits: readonly string[];
8
+ readonly frozen_ns: bigint | null;
9
+ readonly degraded: boolean;
10
+ constructor(accumulated_ns: bigint, last_resume: Sample, waits?: readonly string[], frozen_ns?: bigint | null, degraded?: boolean);
11
+ static start(now: Sample): StatusTimer;
12
+ static load(value: unknown): StatusTimer | null;
13
+ toDict(): Data;
14
+ elapsed(now: Sample): bigint | null;
15
+ reset(now: Sample, elapsed?: bigint): StatusTimer;
16
+ pause(token: string, now: Sample): StatusTimer;
17
+ resume(token: string, now: Sample): StatusTimer;
18
+ trustedSample(now: Sample): boolean;
19
+ reopen(): StatusTimer;
20
+ finish(now: Sample): StatusTimer;
21
+ }
22
+ export declare function taskElapsed(record: Data, now: Sample): bigint | null;
@@ -0,0 +1,75 @@
1
+ import { delta, trusted } from './sample.js';
2
+ import { int, object } from '../runtime/values.js';
3
+ export function loadSample(value) {
4
+ if (!object(value))
5
+ return null;
6
+ const wall_ns = int(value.wall_ns);
7
+ if (wall_ns === null)
8
+ return null;
9
+ return { wall_ns, boot_ns: int(value.boot_ns), boot_id: typeof value.boot_id === 'string' && value.boot_id ? value.boot_id : null };
10
+ }
11
+ export class StatusTimer {
12
+ accumulated_ns;
13
+ last_resume;
14
+ waits;
15
+ frozen_ns;
16
+ degraded;
17
+ constructor(accumulated_ns, last_resume, waits = [], frozen_ns = null, degraded = false) {
18
+ this.accumulated_ns = accumulated_ns;
19
+ this.last_resume = last_resume;
20
+ this.waits = waits;
21
+ this.frozen_ns = frozen_ns;
22
+ this.degraded = degraded;
23
+ }
24
+ static start(now) { return new StatusTimer(0n, now); }
25
+ static load(value) {
26
+ if (!object(value))
27
+ return null;
28
+ const sample = loadSample(value.last_resume), elapsed = int(value.accumulated_ns), waits = value.waits ?? [], frozen = value.frozen_ns ?? null, degraded = value.degraded ?? false;
29
+ const frozenInteger = int(frozen);
30
+ if (!sample || elapsed === null || elapsed < 0n || !Array.isArray(waits) || waits.length > 256 || waits.some(item => typeof item !== 'string' || !item) || (frozen !== null && (frozenInteger === null || frozenInteger < 0n)) || typeof degraded !== 'boolean' || value.degraded === null || value.waits === null)
31
+ return null;
32
+ return new StatusTimer(elapsed, sample, [...new Set(waits)], frozenInteger, degraded);
33
+ }
34
+ toDict() { return { accumulated_ns: this.accumulated_ns, last_resume: { ...this.last_resume }, waits: [...this.waits], frozen_ns: this.frozen_ns, degraded: this.degraded }; }
35
+ elapsed(now) {
36
+ if (this.frozen_ns !== null)
37
+ return this.frozen_ns;
38
+ if (this.waits.length)
39
+ return this.accumulated_ns;
40
+ const current = delta(this.last_resume, now);
41
+ return current === null ? null : this.accumulated_ns + current;
42
+ }
43
+ reset(now, elapsed = 0n) { return new StatusTimer(elapsed, now, this.waits, null, this.degraded); }
44
+ pause(token, now) {
45
+ if (this.frozen_ns !== null || this.waits.includes(token))
46
+ return this;
47
+ const elapsed = this.elapsed(now);
48
+ if (elapsed === null || this.waits.length >= 256)
49
+ return new StatusTimer(this.accumulated_ns, this.last_resume, this.waits, this.frozen_ns, true);
50
+ return new StatusTimer(elapsed, now, [...this.waits, token], null, this.degraded || !trusted(this.last_resume, now));
51
+ }
52
+ resume(token, now) {
53
+ if (this.frozen_ns !== null || !this.waits.includes(token))
54
+ return this;
55
+ return new StatusTimer(this.accumulated_ns, now, this.waits.filter(item => item !== token), null, this.degraded || !trusted(this.last_resume, now));
56
+ }
57
+ trustedSample(now) { return trusted(this.last_resume, now); }
58
+ reopen() { return new StatusTimer(this.accumulated_ns, this.last_resume, this.waits, null, this.degraded); }
59
+ finish(now) {
60
+ if (this.frozen_ns !== null)
61
+ return this;
62
+ return new StatusTimer(this.accumulated_ns, this.last_resume, this.waits, this.elapsed(now), this.degraded || !trusted(this.last_resume, now));
63
+ }
64
+ }
65
+ export function taskElapsed(record, now) {
66
+ const duration = int(record.duration_ns);
67
+ if (record.status !== 'running' && duration !== null)
68
+ return duration;
69
+ if (record.phase === 'stop_pending' && object(record.stop_candidate))
70
+ return int(record.stop_candidate.duration_ns);
71
+ const start = loadSample({ wall_ns: record.started_wall_ns, boot_ns: record.started_boot_ns, boot_id: record.boot_id });
72
+ const end = record.status === 'running' ? now : loadSample({ wall_ns: record.ended_wall_ns, boot_ns: record.ended_boot_ns, boot_id: record.boot_id });
73
+ return start && end ? delta(start, end) : null;
74
+ }
75
+ //# sourceMappingURL=timer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timer.js","sourceRoot":"","sources":["../../../src/timing/timer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAe,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,GAAG,EAAE,MAAM,EAAa,MAAM,sBAAsB,CAAC;AAC9D,MAAM,UAAU,UAAU,CAAC,KAAc;IACrC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;QACd,OAAO,IAAI,CAAC;IAChB,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACnC,IAAI,OAAO,KAAK,IAAI;QAChB,OAAO,IAAI,CAAC;IAChB,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AACxI,CAAC;AACD,MAAM,OAAO,WAAW;IACQ;IAAwC;IAAqC;IAA+C;IAAiD;IAAzM,YAA4B,cAAsB,EAAkB,WAAmB,EAAkB,QAA2B,EAAE,EAAkB,YAA2B,IAAI,EAAkB,WAAW,KAAK;QAA7L,mBAAc,GAAd,cAAc,CAAQ;QAAkB,gBAAW,GAAX,WAAW,CAAQ;QAAkB,UAAK,GAAL,KAAK,CAAwB;QAAkB,cAAS,GAAT,SAAS,CAAsB;QAAkB,aAAQ,GAAR,QAAQ,CAAQ;IAAI,CAAC;IAC9N,MAAM,CAAC,KAAK,CAAC,GAAW,IAAiB,OAAO,IAAI,WAAW,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IAC3E,MAAM,CAAC,IAAI,CAAC,KAAc;QACtB,IAAI,CA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,CAAC,MAAM,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI;QAChD,OAAO,QAAQ,CAAC;IACpB,IAAI,MAAM,CAAC,KAAK,KAAK,cAAc,IAAI,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC;QAChE,OAAO,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAClD,MAAM,KAAK,GAAG,UAAU,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IACxH,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,aAAa,EAAE,OAAO,EAAE,MAAM,CAAC,aAAa,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IACtJ,OAAO,KAAK,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACnD,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare function ZERO_WIDTH(): readonly (readonly [number, number])[];
2
+ export declare function WIDE_EASTASIAN(): readonly (readonly [number, number])[];
3
+ export declare function VS16_NARROW_TO_WIDE(): readonly (readonly [number, number])[];
4
+ export declare function VS15_WIDE_TO_NARROW(): readonly (readonly [number, number])[];
5
+ export declare function CATEGORY_MC(): readonly (readonly [number, number])[];
6
+ export declare function EXTENDED_PICTOGRAPHIC(): readonly (readonly [number, number])[];
7
+ export declare function VIRAMA(): readonly (readonly [number, number])[];
8
+ export declare function INCB_LINKER(): readonly (readonly [number, number])[];
9
+ export declare function INCB_CONSONANT(): readonly (readonly [number, number])[];
10
+ export declare function INCB_EXTEND(): readonly (readonly [number, number])[];
11
+ export declare function BREAK_PROPERTIES(): readonly (readonly [number, number, number])[];
12
+ export declare function initializedTables(): number;
@@ -0,0 +1,93 @@
1
+ /* Generated by tools/generation/resources.ts; Unicode 18.0.0; wcwidth 0.9.1; data SHA256 485f1ffb113fa52428057aefa35b97a54f409e73154d785da7bbc558ae0cf009.
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2014 Jeff Quast <contact@jeffquast.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ Markus Kuhn -- 2007-05-26 (Unicode 5.0)
25
+
26
+ Permission to use, copy, modify, and distribute this software
27
+ for any purpose and without fee is hereby granted. The author
28
+ disclaims all warranties with regard to this software.
29
+
30
+ UNICODE LICENSE V3
31
+
32
+ COPYRIGHT AND PERMISSION NOTICE
33
+
34
+ Copyright © 1991-2026 Unicode, Inc.
35
+
36
+ NOTICE TO USER: Carefully read the following legal agreement. BY
37
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
38
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
39
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
40
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
41
+
42
+ Permission is hereby granted, free of charge, to any person obtaining a
43
+ copy of data files and any associated documentation (the "Data Files") or
44
+ software and any associated documentation (the "Software") to deal in the
45
+ Data Files or Software without restriction, including without limitation
46
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
47
+ copies of the Data Files or Software, and to permit persons to whom the
48
+ Data Files or Software are furnished to do so, provided that either (a)
49
+ this copyright and permission notice appear with all copies of the Data
50
+ Files or Software, or (b) this copyright and permission notice appear in
51
+ associated Documentation.
52
+
53
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
54
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
55
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
56
+ THIRD PARTY RIGHTS.
57
+
58
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
59
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
60
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
61
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
62
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
63
+ FILES OR SOFTWARE.
64
+
65
+ Except as contained in this notice, the name of a copyright holder shall
66
+ not be used in advertising or otherwise to promote the sale, use or other
67
+ dealings in these Data Files or Software without prior written
68
+ authorization of the copyright holder.
69
+ */
70
+ let cached_ZERO_WIDTH;
71
+ export function ZERO_WIDTH() { return cached_ZERO_WIDTH ??= JSON.parse("[[0,0],[768,879],[1155,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1481],[1552,1562],[1564,1564],[1611,1631],[1648,1648],[1750,1756],[1759,1764],[1767,1768],[1770,1773],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2045,2045],[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2199,2207],[2250,2273],[2275,2307],[2362,2364],[2366,2383],[2385,2391],[2402,2403],[2433,2435],[2492,2492],[2494,2500],[2503,2504],[2507,2509],[2519,2519],[2530,2531],[2558,2558],[2561,2563],[2620,2620],[2622,2626],[2631,2632],[2635,2637],[2641,2641],[2672,2673],[2677,2677],[2689,2691],[2748,2748],[2750,2757],[2759,2761],[2763,2765],[2786,2787],[2810,2815],[2817,2819],[2876,2876],[2878,2884],[2887,2888],[2891,2893],[2899,2903],[2914,2915],[2946,2946],[3006,3010],[3014,3016],[3018,3021],[3031,3031],[3072,3076],[3132,3132],[3134,3140],[3142,3144],[3146,3149],[3157,3158],[3170,3171],[3201,3203],[3260,3260],[3262,3268],[3270,3272],[3274,3277],[3285,3286],[3298,3299],[3315,3315],[3328,3331],[3387,3388],[3390,3396],[3398,3400],[3402,3405],[3415,3415],[3426,3427],[3457,3459],[3530,3530],[3535,3540],[3542,3542],[3544,3551],[3570,3571],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3772],[3784,3790],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3902,3903],[3953,3972],[3974,3975],[3981,3991],[3993,4028],[4038,4038],[4139,4158],[4182,4185],[4190,4192],[4194,4196],[4199,4205],[4209,4212],[4226,4237],[4239,4239],[4250,4253],[4448,4607],[4957,4959],[5906,5909],[5938,5940],[5970,5971],[6002,6003],[6068,6099],[6109,6109],[6155,6159],[6277,6278],[6313,6313],[6432,6443],[6448,6459],[6679,6683],[6741,6750],[6752,6780],[6783,6783],[6832,6896],[6912,6916],[6964,6980],[7019,7027],[7040,7042],[7073,7085],[7142,7155],[7204,7223],[7376,7378],[7380,7400],[7405,7405],[7412,7412],[7415,7417],[7616,7679],[8203,8207],[8232,8238],[8288,8303],[8400,8432],[11503,11505],[11647,11647],[11744,11775],[12330,12335],[12441,12442],[12644,12644],[42607,42610],[42612,42621],[42654,42655],[42736,42737],[43010,43010],[43014,43014],[43019,43019],[43043,43047],[43052,43052],[43136,43137],[43188,43205],[43232,43249],[43263,43263],[43302,43309],[43335,43347],[43392,43395],[43443,43456],[43493,43493],[43561,43574],[43587,43587],[43596,43597],[43643,43645],[43696,43696],[43698,43700],[43703,43704],[43710,43711],[43713,43713],[43755,43759],[43765,43766],[44003,44010],[44012,44013],[55216,55295],[64286,64286],[65024,65039],[65056,65071],[65279,65279],[65440,65440],[65520,65531],[66045,66045],[66272,66272],[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[68325,68326],[68900,68903],[68969,68973],[69291,69292],[69323,69327],[69360,69375],[69446,69456],[69506,69509],[69632,69634],[69688,69702],[69744,69744],[69747,69748],[69759,69762],[69808,69818],[69826,69826],[69888,69890],[69927,69940],[69957,69958],[70003,70003],[70016,70018],[70067,70080],[70089,70092],[70094,70095],[70188,70199],[70206,70206],[70209,70209],[70367,70378],[70400,70403],[70459,70460],[70462,70468],[70471,70472],[70475,70477],[70487,70487],[70498,70499],[70502,70508],[70512,70516],[70584,70592],[70594,70594],[70597,70597],[70599,70602],[70604,70608],[70610,70610],[70625,70626],[70709,70726],[70750,70750],[70832,70851],[71087,71093],[71096,71104],[71132,71133],[71216,71232],[71339,71351],[71453,71467],[71724,71738],[71984,71989],[71991,71992],[71995,71998],[72000,72000],[72002,72003],[72145,72151],[72154,72160],[72164,72164],[72193,72202],[72243,72249],[72251,72254],[72263,72263],[72273,72283],[72330,72345],[72544,72551],[72751,72758],[72760,72767],[72850,72871],[72873,72886],[73009,73014],[73018,73018],[73020,73021],[73023,73029],[73031,73031],[73098,73102],[73104,73105],[73107,73111],[73200,73200],[73459,73462],[73472,73473],[73475,73475],[73524,73530],[73534,73538],[73562,73562],[78896,78912],[78919,78933],[90398,90415],[92912,92916],[92976,92982],[94031,94031],[94033,94087],[94095,94098],[94180,94180],[94192,94193],[113821,113822],[113824,113827],[118528,118573],[118576,118598],[119079,119080],[119141,119145],[119149,119170],[119173,119179],[119210,119213],[119362,119364],[119376,119378],[119387,119388],[119391,119391],[119424,119425],[121344,121398],[121403,121452],[121461,121461],[121476,121476],[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[123023,123023],[123184,123190],[123566,123566],[123628,123631],[124140,124143],[124398,124399],[124643,124643],[124646,124646],[124654,124655],[124661,124661],[125136,125142],[125252,125258],[917504,921599]]"); }
72
+ let cached_WIDE_EASTASIAN;
73
+ export function WIDE_EASTASIAN() { return cached_WIDE_EASTASIAN ??= JSON.parse("[[4352,4447],[8986,8987],[9001,9002],[9193,9196],[9200,9200],[9203,9203],[9725,9726],[9748,9749],[9776,9783],[9800,9811],[9855,9855],[9866,9871],[9875,9875],[9889,9889],[9898,9899],[9917,9918],[9924,9925],[9934,9934],[9940,9940],[9962,9962],[9970,9971],[9973,9973],[9978,9978],[9981,9981],[9989,9989],[9994,9995],[10024,10024],[10060,10060],[10062,10062],[10067,10069],[10071,10071],[10133,10135],[10160,10160],[10175,10175],[11035,11036],[11088,11088],[11093,11093],[11904,11929],[11931,12019],[12032,12245],[12272,12329],[12336,12350],[12353,12438],[12443,12543],[12549,12591],[12593,12643],[12645,12686],[12688,12773],[12783,12830],[12832,12871],[12880,42124],[42128,42182],[43360,43388],[44032,55203],[63744,64255],[65040,65049],[65072,65106],[65108,65126],[65128,65131],[65281,65376],[65504,65510],[94176,94179],[94194,94198],[94208,101594],[101631,101664],[101760,101874],[101888,102801],[102816,102866],[110576,110579],[110581,110587],[110589,110590],[110592,110888],[110898,110898],[110928,110930],[110933,110933],[110948,110952],[110960,111355],[119552,119638],[119648,119670],[126980,126980],[127183,127183],[127374,127374],[127377,127386],[127406,127406],[127462,127490],[127504,127547],[127552,127560],[127568,127569],[127584,127589],[127744,127776],[127789,127797],[127799,127868],[127870,127891],[127904,127946],[127951,127955],[127968,127984],[127988,127988],[127992,128062],[128064,128064],[128066,128252],[128255,128317],[128331,128334],[128336,128359],[128378,128378],[128405,128406],[128420,128420],[128507,128591],[128640,128709],[128716,128716],[128720,128722],[128725,128729],[128732,128735],[128747,128748],[128756,128764],[128986,128986],[128992,129003],[129008,129008],[129292,129338],[129340,129349],[129351,129535],[129648,129660],[129664,129734],[129736,129736],[129740,129757],[129759,129771],[129775,129786],[131072,196605],[196608,262141]]"); }
74
+ let cached_VS16_NARROW_TO_WIDE;
75
+ export function VS16_NARROW_TO_WIDE() { return cached_VS16_NARROW_TO_WIDE ??= JSON.parse("[[35,35],[42,42],[48,57],[169,169],[174,174],[8252,8252],[8265,8265],[8482,8482],[8505,8505],[8596,8601],[8617,8618],[9000,9000],[9167,9167],[9197,9199],[9201,9202],[9208,9210],[9410,9410],[9642,9643],[9654,9654],[9664,9664],[9723,9724],[9728,9732],[9742,9742],[9745,9745],[9752,9752],[9757,9757],[9760,9760],[9762,9763],[9766,9766],[9770,9770],[9774,9775],[9784,9786],[9792,9792],[9794,9794],[9823,9824],[9827,9827],[9829,9830],[9832,9832],[9851,9851],[9854,9854],[9874,9874],[9876,9879],[9881,9881],[9883,9884],[9888,9888],[9895,9895],[9904,9905],[9928,9928],[9935,9935],[9937,9937],[9939,9939],[9961,9961],[9968,9969],[9972,9972],[9975,9977],[9986,9986],[9992,9993],[9996,9997],[9999,9999],[10002,10002],[10004,10004],[10006,10006],[10013,10013],[10017,10017],[10035,10036],[10052,10052],[10055,10055],[10083,10084],[10145,10145],[10548,10549],[11013,11015],[127344,127345],[127358,127359],[127777,127777],[127780,127788],[127798,127798],[127869,127869],[127894,127895],[127897,127899],[127902,127903],[127947,127950],[127956,127967],[127987,127987],[127989,127989],[127991,127991],[128063,128063],[128065,128065],[128253,128253],[128329,128330],[128367,128368],[128371,128377],[128391,128391],[128394,128397],[128400,128400],[128421,128421],[128424,128424],[128433,128434],[128444,128444],[128450,128452],[128465,128467],[128476,128478],[128481,128481],[128483,128483],[128488,128488],[128495,128495],[128499,128499],[128506,128506],[128715,128715],[128717,128719],[128736,128741],[128745,128745],[128752,128752],[128755,128755]]"); }
76
+ let cached_VS15_WIDE_TO_NARROW;
77
+ export function VS15_WIDE_TO_NARROW() { return cached_VS15_WIDE_TO_NARROW ??= JSON.parse("[[8986,8987],[9193,9196],[9200,9200],[9203,9203],[9725,9726],[9748,9749],[9800,9811],[9855,9855],[9875,9875],[9889,9889],[9898,9899],[9917,9918],[9924,9925],[9934,9934],[9940,9940],[9962,9962],[9970,9971],[9973,9973],[9978,9978],[9981,9981],[9989,9989],[9994,9995],[10024,10024],[10060,10060],[10062,10062],[10067,10069],[10071,10071],[10133,10135],[10160,10160],[10175,10175],[11035,11036],[11088,11088],[11093,11093],[12336,12336],[12349,12349],[12951,12951],[12953,12953],[126980,126980],[127490,127490],[127514,127514],[127535,127535],[127543,127543],[127757,127759],[127765,127765],[127772,127772],[127864,127864],[127891,127891],[127911,127911],[127916,127918],[127938,127938],[127940,127940],[127942,127942],[127946,127946],[127968,127968],[127981,127981],[128008,128008],[128021,128021],[128031,128031],[128038,128038],[128066,128066],[128070,128073],[128077,128078],[128083,128083],[128106,128106],[128125,128125],[128163,128163],[128176,128176],[128179,128179],[128187,128187],[128191,128191],[128203,128203],[128218,128218],[128223,128223],[128228,128230],[128234,128237],[128247,128247],[128249,128251],[128264,128264],[128269,128269],[128274,128275],[128336,128359],[128528,128528],[128647,128647],[128653,128653],[128657,128657],[128660,128660],[128664,128664],[128685,128685],[128690,128690],[128697,128698],[128700,128700]]"); }
78
+ let cached_CATEGORY_MC;
79
+ export function CATEGORY_MC() { return cached_CATEGORY_MC ??= JSON.parse("[[2307,2307],[2363,2363],[2366,2368],[2377,2380],[2382,2383],[2434,2435],[2494,2496],[2503,2504],[2507,2508],[2519,2519],[2563,2563],[2622,2624],[2691,2691],[2750,2752],[2761,2761],[2763,2764],[2818,2819],[2878,2878],[2880,2880],[2887,2888],[2891,2892],[2903,2903],[3006,3007],[3009,3010],[3014,3016],[3018,3020],[3031,3031],[3073,3075],[3137,3140],[3202,3203],[3262,3262],[3264,3268],[3271,3272],[3274,3275],[3285,3286],[3315,3315],[3330,3331],[3390,3392],[3398,3400],[3402,3404],[3415,3415],[3458,3459],[3535,3537],[3544,3551],[3570,3571],[3902,3903],[3967,3967],[4139,4140],[4145,4145],[4152,4152],[4155,4156],[4182,4183],[4194,4196],[4199,4205],[4227,4228],[4231,4236],[4239,4239],[4250,4252],[5909,5909],[5940,5940],[6070,6070],[6078,6085],[6087,6088],[6435,6438],[6441,6443],[6448,6449],[6451,6456],[6681,6682],[6741,6741],[6743,6743],[6753,6753],[6755,6756],[6765,6770],[6916,6916],[6965,6965],[6971,6971],[6973,6977],[6979,6980],[7042,7042],[7073,7073],[7078,7079],[7082,7082],[7143,7143],[7146,7148],[7150,7150],[7154,7155],[7204,7211],[7220,7221],[7393,7393],[7415,7415],[12334,12335],[43043,43044],[43047,43047],[43136,43137],[43188,43203],[43346,43347],[43395,43395],[43444,43445],[43450,43451],[43454,43456],[43567,43568],[43571,43572],[43597,43597],[43643,43643],[43645,43645],[43755,43755],[43758,43759],[43765,43765],[44003,44004],[44006,44007],[44009,44010],[44012,44012],[69632,69632],[69634,69634],[69762,69762],[69808,69810],[69815,69816],[69932,69932],[69957,69958],[70018,70018],[70067,70069],[70079,70080],[70094,70094],[70188,70190],[70194,70195],[70197,70197],[70368,70370],[70402,70403],[70462,70463],[70465,70468],[70471,70472],[70475,70477],[70487,70487],[70498,70499],[70584,70586],[70594,70594],[70597,70597],[70599,70602],[70604,70605],[70607,70607],[70709,70711],[70720,70721],[70725,70725],[70832,70834],[70841,70841],[70843,70846],[70849,70849],[71087,71089],[71096,71099],[71102,71102],[71216,71218],[71227,71228],[71230,71230],[71340,71340],[71342,71343],[71350,71350],[71454,71454],[71456,71457],[71462,71462],[71724,71726],[71736,71736],[71984,71989],[71991,71992],[71997,71997],[72000,72000],[72002,72002],[72145,72147],[72156,72159],[72164,72164],[72249,72249],[72279,72280],[72343,72343],[72545,72545],[72549,72549],[72551,72551],[72751,72751],[72766,72766],[72873,72873],[72881,72881],[72884,72884],[73098,73102],[73107,73108],[73110,73110],[73461,73462],[73475,73475],[73524,73525],[73534,73535],[73537,73537],[90410,90412],[94033,94087],[94192,94193],[119141,119142],[119149,119154],[119376,119378],[119391,119391],[119424,119425]]"); }
80
+ let cached_EXTENDED_PICTOGRAPHIC;
81
+ export function EXTENDED_PICTOGRAPHIC() { return cached_EXTENDED_PICTOGRAPHIC ??= JSON.parse("[[169,169],[174,174],[8252,8252],[8265,8265],[8482,8482],[8505,8505],[8596,8601],[8617,8618],[8986,8987],[9000,9000],[9167,9167],[9193,9203],[9208,9210],[9410,9410],[9642,9643],[9654,9654],[9664,9664],[9723,9726],[9728,9732],[9742,9742],[9745,9745],[9748,9749],[9752,9752],[9757,9757],[9760,9760],[9762,9763],[9766,9766],[9770,9770],[9774,9775],[9784,9786],[9792,9792],[9794,9794],[9800,9811],[9823,9824],[9827,9827],[9829,9830],[9832,9832],[9851,9851],[9854,9855],[9874,9879],[9881,9881],[9883,9884],[9888,9889],[9895,9895],[9898,9899],[9904,9905],[9917,9918],[9924,9925],[9928,9928],[9934,9935],[9937,9937],[9939,9940],[9961,9962],[9968,9973],[9975,9978],[9981,9981],[9986,9986],[9989,9989],[9992,9997],[9999,9999],[10002,10002],[10004,10004],[10006,10006],[10013,10013],[10017,10017],[10024,10024],[10035,10036],[10052,10052],[10055,10055],[10060,10060],[10062,10062],[10067,10069],[10071,10071],[10083,10084],[10133,10135],[10145,10145],[10160,10160],[10175,10175],[10548,10549],[11013,11015],[11035,11036],[11088,11088],[11093,11093],[12336,12336],[12349,12349],[12951,12951],[12953,12953],[126980,126980],[127020,127023],[127124,127135],[127151,127152],[127168,127168],[127183,127184],[127222,127231],[127344,127345],[127358,127359],[127374,127374],[127377,127386],[127407,127461],[127489,127503],[127514,127514],[127535,127535],[127538,127546],[127548,127551],[127561,127583],[127590,127777],[127780,127891],[127894,127895],[127897,127899],[127902,127984],[127987,127989],[127991,127994],[128000,128253],[128255,128317],[128329,128334],[128336,128359],[128367,128368],[128371,128378],[128391,128391],[128394,128397],[128400,128400],[128405,128406],[128420,128421],[128424,128424],[128433,128434],[128444,128444],[128450,128452],[128465,128467],[128476,128478],[128481,128481],[128483,128483],[128488,128488],[128495,128495],[128499,128499],[128506,128591],[128640,128709],[128715,128722],[128725,128741],[128745,128745],[128747,128752],[128755,128767],[128988,129008],[129036,129039],[129096,129103],[129114,129119],[129160,129167],[129198,129199],[129212,129215],[129218,129231],[129241,129279],[129292,129338],[129340,129349],[129351,129535],[129624,129631],[129646,129791],[130048,131069]]"); }
82
+ let cached_VIRAMA;
83
+ export function VIRAMA() { return cached_VIRAMA ??= JSON.parse("[[2381,2381],[2509,2509],[2637,2637],[2765,2765],[2893,2893],[3021,3021],[3149,3149],[3277,3277],[3405,3405],[3530,3530],[4153,4153],[6098,6098],[6752,6752],[6980,6980],[7083,7083],[43014,43014],[43204,43204],[43456,43456],[43766,43766],[68159,68159],[69702,69702],[69817,69817],[69939,69939],[70080,70080],[70197,70197],[70477,70477],[70608,70608],[70722,70722],[70850,70850],[71103,71103],[71231,71231],[71350,71350],[71737,71737],[71998,71998],[72160,72160],[72263,72263],[72345,72345],[72767,72767],[73029,73029],[73111,73111],[73538,73538]]"); }
84
+ let cached_INCB_LINKER;
85
+ export function INCB_LINKER() { return cached_INCB_LINKER ??= JSON.parse("[[2381,2381],[2509,2509],[2765,2765],[2893,2893],[3149,3149],[3405,3405],[4153,4153],[6098,6098],[6752,6752],[6980,6980],[7083,7083],[7413,7414],[43456,43456],[43766,43766],[68159,68159],[69939,69939],[70608,70608],[71998,71998],[72250,72250],[72263,72263],[72345,72345],[73538,73538]]"); }
86
+ let cached_INCB_CONSONANT;
87
+ export function INCB_CONSONANT() { return cached_INCB_CONSONANT ??= JSON.parse("[[2325,2361],[2392,2399],[2424,2431],[2453,2472],[2474,2480],[2482,2482],[2486,2489],[2524,2525],[2527,2527],[2544,2545],[2709,2728],[2730,2736],[2738,2739],[2741,2745],[2809,2809],[2837,2856],[2858,2864],[2866,2867],[2869,2873],[2908,2909],[2911,2911],[2929,2929],[3093,3112],[3114,3129],[3160,3162],[3349,3386],[4096,4138],[4159,4159],[4176,4181],[4186,4189],[4193,4193],[4197,4198],[4206,4208],[4213,4225],[4238,4238],[6016,6067],[6688,6740],[6923,6924],[6931,6963],[6981,6988],[7043,7072],[7086,7087],[7099,7101],[43401,43403],[43407,43442],[43488,43492],[43495,43503],[43514,43518],[43616,43631],[43633,43635],[43642,43642],[43646,43647],[43744,43754],[43968,43994],[68096,68096],[68112,68115],[68117,68119],[68121,68149],[69891,69926],[69956,69956],[69959,69959],[70528,70537],[70539,70539],[70542,70542],[70544,70581],[71936,71942],[71945,71945],[71948,71955],[71957,71958],[71960,71983],[72192,72192],[72203,72242],[72272,72272],[72284,72323],[72458,72458],[73201,73201],[73476,73488],[73490,73523]]"); }
88
+ let cached_INCB_EXTEND;
89
+ export function INCB_EXTEND() { return cached_INCB_EXTEND ??= JSON.parse("[[768,879],[1155,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1481],[1552,1562],[1611,1631],[1648,1648],[1750,1756],[1759,1764],[1767,1768],[1770,1773],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2045,2045],[2070,2073],[2075,2083],[2085,2087],[2089,2093],[2137,2139],[2199,2207],[2250,2273],[2275,2306],[2362,2362],[2364,2364],[2369,2376],[2385,2391],[2402,2403],[2433,2433],[2492,2492],[2494,2494],[2497,2500],[2519,2519],[2530,2531],[2558,2558],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2641,2641],[2672,2673],[2677,2677],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2786,2787],[2810,2815],[2817,2817],[2876,2876],[2878,2879],[2881,2884],[2899,2903],[2914,2915],[2946,2946],[3006,3006],[3008,3008],[3021,3021],[3031,3031],[3072,3072],[3076,3076],[3132,3132],[3134,3136],[3142,3144],[3146,3148],[3157,3158],[3170,3171],[3201,3201],[3260,3260],[3263,3264],[3266,3266],[3270,3272],[3274,3277],[3285,3286],[3298,3299],[3328,3329],[3387,3388],[3390,3390],[3393,3396],[3415,3415],[3426,3427],[3457,3457],[3530,3530],[3535,3535],[3538,3540],[3542,3542],[3551,3551],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3772],[3784,3790],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3981,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4151],[4154,4154],[4157,4158],[4184,4185],[4190,4192],[4209,4212],[4226,4226],[4229,4230],[4237,4237],[4253,4253],[4957,4959],[5906,5909],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6097],[6099,6099],[6109,6109],[6155,6157],[6159,6159],[6277,6278],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6683,6683],[6742,6742],[6744,6750],[6754,6754],[6757,6764],[6771,6780],[6783,6783],[6832,6896],[6912,6915],[6964,6973],[6978,6979],[7019,7027],[7040,7041],[7074,7077],[7080,7082],[7084,7085],[7142,7142],[7144,7145],[7149,7149],[7151,7155],[7212,7219],[7222,7223],[7376,7378],[7380,7392],[7394,7400],[7405,7405],[7412,7412],[7416,7417],[7616,7679],[8205,8205],[8400,8432],[11503,11505],[11647,11647],[11744,11775],[12330,12335],[12441,12442],[42607,42610],[42612,42621],[42654,42655],[42736,42737],[43010,43010],[43014,43014],[43019,43019],[43045,43046],[43052,43052],[43204,43205],[43232,43249],[43263,43263],[43302,43309],[43335,43345],[43347,43347],[43392,43394],[43443,43443],[43446,43449],[43452,43453],[43493,43493],[43561,43566],[43569,43570],[43573,43574],[43587,43587],[43596,43596],[43644,43644],[43696,43696],[43698,43700],[43703,43704],[43710,43711],[43713,43713],[43756,43757],[44005,44005],[44008,44008],[44013,44013],[64286,64286],[65024,65039],[65056,65071],[65438,65439],[66045,66045],[66272,66272],[66422,66426],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68325,68326],[68900,68903],[68969,68973],[69291,69292],[69323,69327],[69360,69375],[69446,69456],[69506,69509],[69633,69633],[69688,69702],[69744,69744],[69747,69748],[69759,69761],[69811,69814],[69817,69818],[69826,69826],[69888,69890],[69927,69931],[69933,69938],[69940,69940],[70003,70003],[70016,70017],[70070,70078],[70080,70080],[70089,70092],[70095,70095],[70191,70193],[70196,70199],[70206,70206],[70209,70209],[70367,70367],[70371,70378],[70400,70401],[70459,70460],[70462,70462],[70464,70464],[70477,70477],[70487,70487],[70502,70508],[70512,70516],[70584,70584],[70587,70592],[70594,70594],[70597,70597],[70599,70601],[70606,70607],[70610,70610],[70625,70626],[70712,70719],[70722,70724],[70726,70726],[70750,70750],[70832,70832],[70835,70840],[70842,70842],[70845,70845],[70847,70848],[70850,70851],[71087,71087],[71090,71093],[71100,71101],[71103,71104],[71132,71133],[71219,71226],[71229,71229],[71231,71232],[71339,71339],[71341,71341],[71344,71351],[71453,71453],[71455,71455],[71458,71461],[71463,71467],[71727,71735],[71737,71738],[71984,71984],[71995,71997],[72003,72003],[72148,72151],[72154,72155],[72160,72160],[72193,72202],[72243,72248],[72251,72254],[72273,72278],[72281,72283],[72330,72342],[72344,72344],[72544,72544],[72546,72548],[72550,72550],[72752,72758],[72760,72765],[72767,72767],[72850,72871],[72874,72880],[72882,72883],[72885,72886],[73009,73014],[73018,73018],[73020,73021],[73023,73029],[73031,73031],[73104,73105],[73109,73109],[73111,73111],[73200,73200],[73459,73460],[73472,73473],[73526,73530],[73536,73537],[73562,73562],[78912,78912],[78919,78933],[90398,90409],[90413,90415],[92912,92916],[92976,92982],[94031,94031],[94095,94098],[94180,94180],[94192,94193],[113821,113822],[118528,118573],[118576,118598],[119079,119080],[119141,119145],[119149,119154],[119163,119170],[119173,119179],[119210,119213],[119362,119364],[119376,119378],[119387,119388],[119391,119391],[119424,119425],[121344,121398],[121403,121452],[121461,121461],[121476,121476],[121499,121503],[121505,121519],[122880,122886],[122888,122904],[122907,122913],[122915,122916],[122918,122922],[123023,123023],[123184,123190],[123566,123566],[123628,123631],[124140,124143],[124398,124399],[124643,124643],[124646,124646],[124654,124655],[124661,124661],[125136,125142],[125252,125258],[127995,127999],[917536,917631],[917760,917999]]"); }
90
+ let cached_BREAK_PROPERTIES;
91
+ export function BREAK_PROPERTIES() { return cached_BREAK_PROPERTIES ??= JSON.parse("[[0,9,3],[10,10,2],[11,12,3],[13,13,1],[14,31,3],[127,159,3],[173,173,3],[768,879,4],[1155,1161,4],[1425,1469,4],[1471,1471,4],[1473,1474,4],[1476,1477,4],[1479,1481,4],[1536,1541,7],[1552,1562,4],[1564,1564,3],[1611,1631,4],[1648,1648,4],[1750,1756,4],[1757,1757,7],[1759,1764,4],[1767,1768,4],[1770,1773,4],[1807,1807,7],[1809,1809,4],[1840,1866,4],[1958,1968,4],[2027,2035,4],[2045,2045,4],[2070,2073,4],[2075,2083,4],[2085,2087,4],[2089,2093,4],[2137,2139,4],[2192,2193,7],[2199,2207,4],[2250,2273,4],[2274,2274,7],[2275,2306,4],[2307,2307,8],[2362,2362,4],[2363,2363,8],[2364,2364,4],[2366,2368,8],[2369,2376,4],[2377,2380,8],[2381,2381,4],[2382,2383,8],[2385,2391,4],[2402,2403,4],[2433,2433,4],[2434,2435,8],[2492,2492,4],[2494,2494,4],[2495,2496,8],[2497,2500,4],[2503,2504,8],[2507,2508,8],[2509,2509,4],[2519,2519,4],[2530,2531,4],[2558,2558,4],[2561,2562,4],[2563,2563,8],[2620,2620,4],[2622,2624,8],[2625,2626,4],[2631,2632,4],[2635,2637,4],[2641,2641,4],[2672,2673,4],[2677,2677,4],[2689,2690,4],[2691,2691,8],[2748,2748,4],[2750,2752,8],[2753,2757,4],[2759,2760,4],[2761,2761,8],[2763,2764,8],[2765,2765,4],[2786,2787,4],[2810,2815,4],[2817,2817,4],[2818,2819,8],[2876,2876,4],[2878,2879,4],[2880,2880,8],[2881,2884,4],[2887,2888,8],[2891,2892,8],[2893,2893,4],[2899,2903,4],[2914,2915,4],[2946,2946,4],[3006,3006,4],[3007,3007,8],[3008,3008,4],[3009,3010,8],[3014,3016,8],[3018,3020,8],[3021,3021,4],[3031,3031,4],[3072,3072,4],[3073,3075,8],[3076,3076,4],[3132,3132,4],[3134,3136,4],[3137,3140,8],[3142,3144,4],[3146,3149,4],[3157,3158,4],[3170,3171,4],[3201,3201,4],[3202,3203,8],[3260,3260,4],[3262,3262,8],[3263,3264,4],[3265,3265,8],[3266,3266,4],[3267,3268,8],[3270,3272,4],[3274,3277,4],[3285,3286,4],[3298,3299,4],[3315,3315,8],[3328,3329,4],[3330,3331,8],[3387,3388,4],[3390,3390,4],[3391,3392,8],[3393,3396,4],[3398,3400,8],[3402,3404,8],[3405,3405,4],[3406,3406,7],[3415,3415,4],[3426,3427,4],[3457,3457,4],[3458,3459,8],[3530,3530,4],[3535,3535,4],[3536,3537,8],[3538,3540,4],[3542,3542,4],[3544,3550,8],[3551,3551,4],[3570,3571,8],[3633,3633,4],[3635,3635,8],[3636,3642,4],[3655,3662,4],[3761,3761,4],[3763,3763,8],[3764,3772,4],[3784,3790,4],[3864,3865,4],[3893,3893,4],[3895,3895,4],[3897,3897,4],[3902,3903,8],[3953,3966,4],[3967,3967,8],[3968,3972,4],[3974,3975,4],[3981,3991,4],[3993,4028,4],[4038,4038,4],[4141,4144,4],[4145,4145,8],[4146,4151,4],[4153,4154,4],[4155,4156,8],[4157,4158,4],[4182,4183,8],[4184,4185,4],[4190,4192,4],[4209,4212,4],[4226,4226,4],[4228,4228,8],[4229,4230,4],[4237,4237,4],[4253,4253,4],[4352,4447,9],[4448,4519,10],[4520,4607,11],[4957,4959,4],[5906,5909,4],[5938,5940,4],[5970,5971,4],[6002,6003,4],[6068,6069,4],[6070,6070,8],[6071,6077,4],[6078,6085,8],[6086,6086,4],[6087,6088,8],[6089,6099,4],[6109,6109,4],[6155,6157,4],[6158,6158,3],[6159,6159,4],[6277,6278,4],[6313,6313,4],[6432,6434,4],[6435,6438,8],[6439,6440,4],[6441,6443,8],[6448,6449,8],[6450,6450,4],[6451,6456,8],[6457,6459,4],[6679,6680,4],[6681,6682,8],[6683,6683,4],[6741,6741,8],[6742,6742,4],[6743,6743,8],[6744,6750,4],[6752,6752,4],[6754,6754,4],[6757,6764,4],[6765,6770,8],[6771,6780,4],[6783,6783,4],[6832,6896,4],[6912,6915,4],[6916,6916,8],[6964,6973,4],[6974,6977,8],[6978,6980,4],[7019,7027,4],[7040,7041,4],[7042,7042,8],[7073,7073,8],[7074,7077,4],[7078,7079,8],[7080,7085,4],[7142,7142,4],[7143,7143,8],[7144,7145,4],[7146,7148,8],[7149,7149,4],[7150,7150,8],[7151,7155,4],[7204,7211,8],[7212,7219,4],[7220,7221,8],[7222,7223,4],[7376,7378,4],[7380,7392,4],[7393,7393,8],[7394,7400,4],[7405,7405,4],[7412,7412,4],[7415,7415,8],[7416,7417,4],[7616,7679,4],[8203,8203,3],[8204,8204,4],[8205,8205,5],[8206,8207,3],[8232,8238,3],[8288,8303,3],[8400,8432,4],[11503,11505,4],[11647,11647,4],[11744,11775,4],[12330,12335,4],[12441,12442,4],[42607,42610,4],[42612,42621,4],[42654,42655,4],[42736,42737,4],[43010,43010,4],[43014,43014,4],[43019,43019,4],[43043,43044,8],[43045,43046,4],[43047,43047,8],[43052,43052,4],[43136,43137,8],[43188,43203,8],[43204,43205,4],[43232,43249,4],[43263,43263,4],[43302,43309,4],[43335,43345,4],[43346,43346,8],[43347,43347,4],[43360,43388,9],[43392,43394,4],[43395,43395,8],[43443,43443,4],[43444,43445,8],[43446,43449,4],[43450,43451,8],[43452,43453,4],[43454,43455,8],[43456,43456,4],[43493,43493,4],[43561,43566,4],[43567,43568,8],[43569,43570,4],[43571,43572,8],[43573,43574,4],[43587,43587,4],[43596,43596,4],[43597,43597,8],[43644,43644,4],[43696,43696,4],[43698,43700,4],[43703,43704,4],[43710,43711,4],[43713,43713,4],[43755,43755,8],[43756,43757,4],[43758,43759,8],[43765,43765,8],[43766,43766,4],[44003,44004,8],[44005,44005,4],[44006,44007,8],[44008,44008,4],[44009,44010,8],[44012,44012,8],[44013,44013,4],[55216,55238,10],[55243,55291,11],[64286,64286,4],[65024,65039,4],[65056,65071,4],[65279,65279,3],[65438,65439,4],[65520,65531,3],[66045,66045,4],[66272,66272,4],[66422,66426,4],[68097,68099,4],[68101,68102,4],[68108,68111,4],[68152,68154,4],[68159,68159,4],[68325,68326,4],[68900,68903,4],[68969,68973,4],[69291,69292,4],[69323,69327,4],[69360,69375,4],[69446,69456,4],[69506,69509,4],[69632,69632,8],[69633,69633,4],[69634,69634,8],[69688,69702,4],[69744,69744,4],[69747,69748,4],[69759,69761,4],[69762,69762,8],[69808,69810,8],[69811,69814,4],[69815,69816,8],[69817,69818,4],[69821,69821,7],[69826,69826,4],[69837,69837,7],[69888,69890,4],[69927,69931,4],[69932,69932,8],[69933,69940,4],[69957,69958,8],[70003,70003,4],[70016,70017,4],[70018,70018,8],[70067,70069,8],[70070,70078,4],[70079,70079,8],[70080,70080,4],[70082,70083,7],[70089,70092,4],[70094,70094,8],[70095,70095,4],[70188,70190,8],[70191,70193,4],[70194,70195,8],[70196,70199,4],[70206,70206,4],[70209,70209,4],[70367,70367,4],[70368,70370,8],[70371,70378,4],[70400,70401,4],[70402,70403,8],[70459,70460,4],[70462,70462,4],[70463,70463,8],[70464,70464,4],[70465,70468,8],[70471,70472,8],[70475,70476,8],[70477,70477,4],[70487,70487,4],[70498,70499,8],[70502,70508,4],[70512,70516,4],[70584,70584,4],[70585,70586,8],[70587,70592,4],[70594,70594,4],[70597,70597,4],[70599,70601,4],[70602,70602,8],[70604,70605,8],[70606,70608,4],[70609,70609,7],[70610,70610,4],[70625,70626,4],[70709,70711,8],[70712,70719,4],[70720,70721,8],[70722,70724,4],[70725,70725,8],[70726,70726,4],[70750,70750,4],[70832,70832,4],[70833,70834,8],[70835,70840,4],[70841,70841,8],[70842,70842,4],[70843,70844,8],[70845,70845,4],[70846,70846,8],[70847,70848,4],[70849,70849,8],[70850,70851,4],[71087,71087,4],[71088,71089,8],[71090,71093,4],[71096,71099,8],[71100,71101,4],[71102,71102,8],[71103,71104,4],[71132,71133,4],[71216,71218,8],[71219,71226,4],[71227,71228,8],[71229,71229,4],[71230,71230,8],[71231,71232,4],[71339,71339,4],[71340,71340,8],[71341,71341,4],[71342,71343,8],[71344,71351,4],[71453,71453,4],[71454,71454,8],[71455,71455,4],[71458,71461,4],[71462,71462,8],[71463,71467,4],[71724,71726,8],[71727,71735,4],[71736,71736,8],[71737,71738,4],[71984,71984,4],[71985,71989,8],[71991,71992,8],[71995,71998,4],[71999,71999,7],[72000,72000,8],[72001,72001,7],[72002,72002,8],[72003,72003,4],[72145,72147,8],[72148,72151,4],[72154,72155,4],[72156,72159,8],[72160,72160,4],[72164,72164,8],[72193,72202,4],[72243,72248,4],[72249,72249,8],[72251,72254,4],[72263,72263,4],[72273,72278,4],[72279,72280,8],[72281,72283,4],[72324,72329,7],[72330,72342,4],[72343,72343,8],[72344,72345,4],[72544,72544,4],[72545,72545,8],[72546,72548,4],[72549,72549,8],[72550,72550,4],[72551,72551,8],[72751,72751,8],[72752,72758,4],[72760,72765,4],[72766,72766,8],[72767,72767,4],[72850,72871,4],[72873,72873,8],[72874,72880,4],[72881,72881,8],[72882,72883,4],[72884,72884,8],[72885,72886,4],[73009,73014,4],[73018,73018,4],[73020,73021,4],[73023,73029,4],[73030,73030,7],[73031,73031,4],[73098,73102,8],[73104,73105,4],[73107,73108,8],[73109,73109,4],[73110,73110,8],[73111,73111,4],[73200,73200,4],[73459,73460,4],[73461,73462,8],[73472,73473,4],[73474,73474,7],[73475,73475,8],[73524,73525,8],[73526,73530,4],[73534,73535,8],[73536,73538,4],[73562,73562,4],[78896,78911,3],[78912,78912,4],[78919,78933,4],[90398,90409,4],[90410,90412,8],[90413,90415,4],[92912,92916,4],[92976,92982,4],[93539,93539,10],[93543,93546,10],[94031,94031,4],[94033,94087,8],[94095,94098,4],[94180,94180,4],[94192,94193,4],[113821,113822,4],[113824,113827,3],[118528,118573,4],[118576,118598,4],[119079,119080,4],[119141,119145,4],[119149,119154,4],[119155,119162,3],[119163,119170,4],[119173,119179,4],[119210,119213,4],[119362,119364,4],[119376,119378,4],[119387,119388,4],[119391,119391,4],[119424,119425,4],[121344,121398,4],[121403,121452,4],[121461,121461,4],[121476,121476,4],[121499,121503,4],[121505,121519,4],[122880,122886,4],[122888,122904,4],[122907,122913,4],[122915,122916,4],[122918,122922,4],[123023,123023,4],[123184,123190,4],[123566,123566,4],[123628,123631,4],[124140,124143,4],[124398,124399,4],[124643,124643,4],[124646,124646,4],[124654,124655,4],[124661,124661,4],[125136,125142,4],[125252,125258,4],[127462,127487,6],[127995,127999,4],[917504,917535,3],[917536,917631,4],[917632,917759,3],[917760,917999,4],[918000,921599,3]]"); }
92
+ export function initializedTables() { return [cached_ZERO_WIDTH, cached_WIDE_EASTASIAN, cached_VS16_NARROW_TO_WIDE, cached_VS15_WIDE_TO_NARROW, cached_CATEGORY_MC, cached_EXTENDED_PICTOGRAPHIC, cached_VIRAMA, cached_INCB_LINKER, cached_INCB_CONSONANT, cached_INCB_EXTEND, cached_BREAK_PROPERTIES].filter(Boolean).length; }
93
+ //# sourceMappingURL=generated-unicode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-unicode.js","sourceRoot":"","sources":["../../../src/unicode/generated-unicode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoEE;AACF,IAAI,iBAAqE,CAAC;AAC1E,MAAM,UAAU,UAAU,KAA6C,OAAO,iBAAiB,KAAK,IAAI,CAAC,KAAK,CAAC,i9I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AAC,KAAK,CAAC,++JAA++J,CAAC,CAAC,CAAC,CAAC;AACpmK,IAAI,uBAAmF,CAAC;AACxF,MAAM,UAAU,gBAAgB,KAAqD,OAAO,uBAAuB,KAAK,IAAI,CAAC,KAAK,CAAC,q1RAAq1R,CAAC,CAAC,CAAC,CAAC;AAC59R,MAAM,UAAU,iBAAiB,KAAa,OAAO,CAAC,iBAAiB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,aAAa,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare function cellWidth(character: string): number;
2
+ export declare function graphemes(text: string): string[];
3
+ export declare function clusterWidth(cluster: string): number;
4
+ export declare function displayWidth(text: string): number;
5
+ export declare function clip(text: string, width: number, ellipsis?: string): string;