allyhub 0.8.0 → 0.10.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 (1719) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/NOTICE +122 -42
  3. package/client.d.ts +1 -1
  4. package/dist/command.js +1 -1
  5. package/dist/commands/add.js +4 -4
  6. package/dist/commands/auth.js +4 -4
  7. package/dist/commands/check.js +1 -1
  8. package/dist/commands/cloud-tools.js +13 -7
  9. package/dist/commands/cloud.js +1 -1
  10. package/dist/commands/contributed.js +2 -0
  11. package/dist/commands/dev.js +2 -2
  12. package/dist/commands/doctor.js +4 -4
  13. package/dist/commands/extensions.js +3 -0
  14. package/dist/commands/frames/common.js +1 -1
  15. package/dist/commands/frames/compare.js +2 -2
  16. package/dist/commands/frames/cuts.js +1 -1
  17. package/dist/commands/frames/doc.js +1 -1
  18. package/dist/commands/frames/overlay.js +2 -0
  19. package/dist/commands/frames/piece.js +1 -1
  20. package/dist/commands/frames/sheet.js +1 -1
  21. package/dist/commands/frames.js +9 -9
  22. package/dist/commands/index.js +1 -1
  23. package/dist/commands/inspect/combos.js +2 -2
  24. package/dist/commands/inspect/common.js +4 -2
  25. package/dist/commands/inspect/facts.js +3 -3
  26. package/dist/commands/inspect/index.js +1 -1
  27. package/dist/commands/inspect/layout.js +1 -1
  28. package/dist/commands/inspect/views.js +2 -0
  29. package/dist/commands/mail.js +9 -0
  30. package/dist/commands/orgs.js +2 -2
  31. package/dist/commands/render.js +2 -2
  32. package/dist/fields.js +1 -1
  33. package/dist/help.js +4 -4
  34. package/dist/main.js +8 -7
  35. package/dist/media.js +1 -1
  36. package/dist/node_modules/@allyhub/3d-extension/LICENSE +241 -0
  37. package/dist/node_modules/@allyhub/3d-extension/dist/build-plugins.js +2 -0
  38. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +2 -0
  39. package/dist/node_modules/@allyhub/3d-extension/dist/cli/index.js +2 -0
  40. package/dist/node_modules/@allyhub/3d-extension/dist/cli/lookup.js +2 -0
  41. package/dist/node_modules/@allyhub/3d-extension/dist/cli/model.js +3 -0
  42. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery-input.js +2 -0
  43. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery.js +7 -0
  44. package/dist/node_modules/@allyhub/3d-extension/dist/project-tools.js +2 -0
  45. package/dist/node_modules/@allyhub/3d-extension/dist/read-view.js +2 -0
  46. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +2 -0
  47. package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +2 -0
  48. package/dist/node_modules/@allyhub/3d-extension/dist/title.js +2 -0
  49. package/dist/node_modules/@allyhub/3d-extension/dist/tools.js +2 -0
  50. package/dist/node_modules/@allyhub/3d-extension/dist/tree.js +2 -0
  51. package/dist/node_modules/@allyhub/3d-extension/dist/workspace.js +2 -0
  52. package/dist/node_modules/@allyhub/3d-extension/package.json +327 -0
  53. package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
  54. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
  55. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  56. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +24 -0
  57. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +61 -0
  58. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +51 -0
  59. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +13 -0
  60. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +35 -0
  61. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +19 -0
  62. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +10 -0
  63. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +35 -0
  64. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +74 -0
  65. package/dist/node_modules/@allyhub/browser/dist/page.js +1 -1
  66. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +26 -0
  67. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  68. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +91 -0
  69. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +2 -0
  70. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +84 -0
  71. package/dist/node_modules/@allyhub/build/dist/cli-command.js +2 -0
  72. package/dist/node_modules/@allyhub/build/dist/content.d.ts +12 -24
  73. package/dist/node_modules/@allyhub/build/dist/content.js +1 -2
  74. package/dist/node_modules/@allyhub/build/dist/data.d.ts +2 -4
  75. package/dist/node_modules/@allyhub/build/dist/data.js +2 -2
  76. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +44 -0
  77. package/dist/node_modules/@allyhub/build/dist/evaluate.js +2 -0
  78. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +35 -0
  79. package/dist/node_modules/@allyhub/build/dist/file-check.js +2 -0
  80. package/dist/node_modules/@allyhub/build/dist/files.js +1 -1
  81. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +29 -0
  82. package/dist/node_modules/@allyhub/build/dist/generated.js +2 -0
  83. package/dist/node_modules/@allyhub/build/dist/index.d.ts +23 -9
  84. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  85. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +119 -0
  86. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +2 -0
  87. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +507 -0
  88. package/dist/node_modules/@allyhub/build/dist/kind-build.js +2 -0
  89. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +2 -1
  90. package/dist/node_modules/@allyhub/build/dist/matrix.js +1 -1
  91. package/dist/node_modules/@allyhub/build/dist/media.d.ts +1 -1
  92. package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
  93. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +27 -15
  94. package/dist/node_modules/@allyhub/build/dist/messages.js +2 -2
  95. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +16 -19
  96. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +2 -4
  97. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +1 -1
  98. package/dist/node_modules/@allyhub/build/dist/meta.js +1 -1
  99. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +1 -1
  100. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +1 -1
  101. package/dist/node_modules/@allyhub/build/dist/move-refs.js +1 -1
  102. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +16 -8
  103. package/dist/node_modules/@allyhub/build/dist/plugin.js +8 -9
  104. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +58 -35
  105. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  106. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +19 -0
  107. package/dist/node_modules/@allyhub/build/dist/project-root.js +2 -0
  108. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +116 -0
  109. package/dist/node_modules/@allyhub/build/dist/project-tool.js +2 -0
  110. package/dist/node_modules/@allyhub/build/dist/references.d.ts +1 -1
  111. package/dist/node_modules/@allyhub/build/dist/references.js +1 -1
  112. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +7 -12
  113. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  114. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +73 -0
  115. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +2 -26
  116. package/dist/node_modules/@allyhub/build/dist/takes.js +1 -2
  117. package/dist/node_modules/@allyhub/build/dist/types.d.ts +1 -1
  118. package/dist/node_modules/@allyhub/build/dist/types.js +1 -1
  119. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +23 -0
  120. package/dist/node_modules/@allyhub/build/dist/uses.js +2 -0
  121. package/dist/node_modules/@allyhub/build/dist/version.d.ts +56 -0
  122. package/dist/node_modules/@allyhub/build/dist/version.js +2 -0
  123. package/dist/node_modules/@allyhub/build/dist/work.d.ts +30 -0
  124. package/dist/node_modules/@allyhub/build/dist/work.js +4 -0
  125. package/dist/node_modules/@allyhub/build/package.json +1 -1
  126. package/dist/node_modules/@allyhub/canvas-extension/LICENSE +241 -0
  127. package/dist/node_modules/@allyhub/canvas-extension/dist/check.js +2 -0
  128. package/dist/node_modules/@allyhub/canvas-extension/dist/inspect.js +4 -0
  129. package/dist/node_modules/@allyhub/canvas-extension/package.json +107 -0
  130. package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +7 -0
  131. package/dist/node_modules/@allyhub/canvas-model/LICENSE +241 -0
  132. package/dist/node_modules/@allyhub/canvas-model/dist/canvas.js +8 -0
  133. package/dist/node_modules/@allyhub/canvas-model/dist/check.js +3 -0
  134. package/dist/node_modules/@allyhub/canvas-model/dist/edit.js +2 -0
  135. package/dist/node_modules/@allyhub/canvas-model/dist/index.js +2 -0
  136. package/dist/node_modules/@allyhub/canvas-model/dist/merge.js +2 -0
  137. package/dist/node_modules/@allyhub/canvas-model/package.json +14 -0
  138. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
  139. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
  140. package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
  141. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  142. package/dist/node_modules/@allyhub/check/dist/cache.js +1 -1
  143. package/dist/node_modules/@allyhub/check/dist/check.js +2 -3
  144. package/dist/node_modules/@allyhub/check/dist/index.js +1 -1
  145. package/dist/node_modules/@allyhub/check/package.json +1 -1
  146. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +29 -0
  147. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +91 -0
  148. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  149. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +12 -0
  150. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +53 -0
  151. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  152. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +34 -0
  153. package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
  154. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +76 -0
  155. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
  156. package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +12 -0
  157. package/dist/node_modules/@allyhub/cloud/dist/device.js +2 -0
  158. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +24 -0
  159. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  160. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +43 -0
  161. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +19 -0
  162. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  163. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +18 -0
  164. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +22 -0
  165. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +16 -0
  166. package/dist/node_modules/@allyhub/cloud/dist/mail.js +2 -0
  167. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +11 -0
  168. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +42 -0
  169. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +2 -0
  170. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +40 -0
  171. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +20 -0
  172. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +20 -0
  173. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  174. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +58 -0
  175. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +22 -0
  176. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  177. package/dist/node_modules/@allyhub/components/package.json +1 -1
  178. package/dist/node_modules/@allyhub/components/r/callout.json +2 -4
  179. package/dist/node_modules/@allyhub/components/r/caption-line.json +1 -3
  180. package/dist/node_modules/@allyhub/components/r/caption-subtitle.json +1 -3
  181. package/dist/node_modules/@allyhub/components/r/caption-word.json +1 -3
  182. package/dist/node_modules/@allyhub/components/r/chart.json +2 -4
  183. package/dist/node_modules/@allyhub/components/r/code-panel.json +2 -4
  184. package/dist/node_modules/@allyhub/components/r/connector.json +19 -0
  185. package/dist/node_modules/@allyhub/components/r/screen-demo.json +2 -4
  186. package/dist/node_modules/@allyhub/components/registry.json +6 -0
  187. package/dist/node_modules/@allyhub/components/src/callout.ts +165 -4
  188. package/dist/node_modules/@allyhub/components/src/chart.ts +14 -6
  189. package/dist/node_modules/@allyhub/components/src/code-panel.ts +10 -5
  190. package/dist/node_modules/@allyhub/components/src/connector.ts +295 -0
  191. package/dist/node_modules/@allyhub/components/src/index.ts +6 -0
  192. package/dist/node_modules/@allyhub/components/src/screen-demo.ts +47 -25
  193. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  194. package/dist/node_modules/@allyhub/dev-server/dist/card.js +1 -1
  195. package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
  196. package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
  197. package/dist/node_modules/@allyhub/dev-server/dist/kinds.js +2 -0
  198. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  199. package/dist/node_modules/@allyhub/dev-server/dist/presence.js +2 -0
  200. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  201. package/dist/node_modules/@allyhub/dev-server/dist/reach.js +1 -1
  202. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  203. package/dist/node_modules/@allyhub/dev-server/dist/routes.js +2 -0
  204. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  205. package/dist/node_modules/@allyhub/dev-server/dist/texts.js +4 -0
  206. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  207. package/dist/node_modules/@allyhub/dev-server/dist/tree.js +1 -1
  208. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  209. package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
  210. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +2 -2
  211. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  212. package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
  213. package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
  214. package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
  215. package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
  216. package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
  217. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
  218. package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
  219. package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
  220. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
  221. package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
  222. package/dist/node_modules/@allyhub/doc/dist/captions.js +2 -0
  223. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  224. package/dist/node_modules/@allyhub/doc/dist/cite.js +2 -0
  225. package/dist/node_modules/@allyhub/doc/dist/component.js +1 -1
  226. package/dist/node_modules/@allyhub/doc/dist/covers.js +61 -0
  227. package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
  228. package/dist/node_modules/@allyhub/doc/dist/html.js +247 -57
  229. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  230. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  231. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  232. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -0
  233. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  234. package/dist/node_modules/@allyhub/doc/dist/parse.js +4 -4
  235. package/dist/node_modules/@allyhub/doc/dist/table.js +2 -0
  236. package/dist/node_modules/@allyhub/doc/dist/write.js +33 -28
  237. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  238. package/dist/node_modules/@allyhub/doc-extension/LICENSE +241 -0
  239. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +3 -0
  240. package/dist/node_modules/@allyhub/doc-extension/dist/cli/cover.js +4 -0
  241. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +2 -0
  242. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +2 -0
  243. package/dist/node_modules/@allyhub/doc-extension/dist/cli/pictures.js +2 -0
  244. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +2 -0
  245. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +3 -0
  246. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +2 -0
  247. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +2 -0
  248. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +2 -0
  249. package/dist/node_modules/@allyhub/doc-extension/package.json +202 -0
  250. package/dist/node_modules/@allyhub/doc-print/LICENSE +241 -0
  251. package/dist/node_modules/@allyhub/doc-print/dist/facts.js +2 -0
  252. package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +4 -0
  253. package/dist/node_modules/@allyhub/doc-print/dist/index.js +2 -0
  254. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +116 -0
  255. package/dist/node_modules/@allyhub/doc-print/dist/pages.js +77 -0
  256. package/dist/node_modules/@allyhub/doc-print/dist/print.js +68 -0
  257. package/dist/node_modules/@allyhub/doc-print/package.json +13 -0
  258. package/dist/node_modules/@allyhub/export/dist/batch.js +1 -1
  259. package/dist/node_modules/@allyhub/export/dist/export.js +1 -6
  260. package/dist/node_modules/@allyhub/export/dist/index.js +1 -1
  261. package/dist/node_modules/@allyhub/export/dist/names.js +1 -1
  262. package/dist/node_modules/@allyhub/export/dist/processors.js +2 -0
  263. package/dist/node_modules/@allyhub/export/package.json +1 -1
  264. package/dist/node_modules/@allyhub/extension-api/LICENSE +241 -0
  265. package/dist/node_modules/@allyhub/extension-api/dist/api.js +2 -0
  266. package/dist/node_modules/@allyhub/extension-api/dist/index.js +2 -0
  267. package/dist/node_modules/@allyhub/extension-api/dist/lifecycle.js +2 -0
  268. package/dist/node_modules/@allyhub/extension-api/package.json +14 -0
  269. package/dist/node_modules/@allyhub/extension-host/LICENSE +241 -0
  270. package/dist/node_modules/@allyhub/extension-host/dist/host.js +2 -0
  271. package/dist/node_modules/@allyhub/extension-host/dist/index.js +2 -0
  272. package/dist/node_modules/@allyhub/extension-host/dist/node.js +3 -0
  273. package/dist/node_modules/@allyhub/extension-host/dist/points.js +2 -0
  274. package/dist/node_modules/@allyhub/extension-host/dist/shell.js +2 -0
  275. package/dist/node_modules/@allyhub/extension-host/package.json +22 -0
  276. package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
  277. package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
  278. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
  279. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
  280. package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
  281. package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
  282. package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
  283. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +107 -83
  284. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  285. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +185 -8
  286. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  287. package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
  288. package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
  289. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  290. package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
  291. package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
  292. package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
  293. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
  294. package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
  295. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
  296. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  297. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
  298. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  299. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
  300. package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
  301. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +96 -42
  302. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  303. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  304. package/dist/node_modules/@allyhub/i18n/LICENSE +241 -0
  305. package/dist/node_modules/@allyhub/i18n/dist/index.js +2 -0
  306. package/dist/node_modules/@allyhub/i18n/package.json +13 -0
  307. package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
  308. package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
  309. package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
  310. package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
  311. package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
  312. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
  313. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
  314. package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
  315. package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
  316. package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
  317. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
  318. package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
  319. package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
  320. package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
  321. package/dist/node_modules/@allyhub/image-extension/LICENSE +241 -0
  322. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +2 -0
  323. package/dist/node_modules/@allyhub/image-extension/dist/build.js +2 -0
  324. package/dist/node_modules/@allyhub/image-extension/dist/check.js +2 -0
  325. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +3 -0
  326. package/dist/node_modules/@allyhub/image-extension/dist/evaluate.js +2 -0
  327. package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -0
  328. package/dist/node_modules/@allyhub/image-extension/dist/facts.js +2 -0
  329. package/dist/node_modules/@allyhub/image-extension/dist/project-tools.js +2 -0
  330. package/dist/node_modules/@allyhub/image-extension/dist/sources.js +2 -0
  331. package/dist/node_modules/@allyhub/image-extension/dist/stage.js +2 -0
  332. package/dist/node_modules/@allyhub/image-extension/dist/tools.js +2 -0
  333. package/dist/node_modules/@allyhub/image-extension/dist/workspace.js +2 -0
  334. package/dist/node_modules/@allyhub/image-extension/package.json +291 -0
  335. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +12 -0
  336. package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
  337. package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
  338. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
  339. package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
  340. package/dist/node_modules/@allyhub/image-psd/LICENSE +241 -0
  341. package/dist/node_modules/@allyhub/image-psd/dist/index.js +2 -0
  342. package/dist/node_modules/@allyhub/image-psd/dist/map.js +2 -0
  343. package/dist/node_modules/@allyhub/image-psd/dist/pixels.js +2 -0
  344. package/dist/node_modules/@allyhub/image-psd/dist/read.js +18 -0
  345. package/dist/node_modules/@allyhub/image-psd/dist/write.js +2 -0
  346. package/dist/node_modules/@allyhub/image-psd/package.json +14 -0
  347. package/dist/node_modules/@allyhub/image-render/LICENSE +241 -0
  348. package/dist/node_modules/@allyhub/image-render/dist/webp.js +2 -0
  349. package/dist/node_modules/@allyhub/image-render/package.json +14 -0
  350. package/dist/node_modules/@allyhub/image-runtime/LICENSE +241 -0
  351. package/dist/node_modules/@allyhub/image-runtime/dist/board.js +2 -0
  352. package/dist/node_modules/@allyhub/image-runtime/dist/index.js +2 -0
  353. package/dist/node_modules/@allyhub/image-runtime/dist/layers.js +2 -0
  354. package/dist/node_modules/@allyhub/image-runtime/dist/load.js +3 -0
  355. package/dist/node_modules/@allyhub/image-runtime/dist/overset.js +2 -0
  356. package/dist/node_modules/@allyhub/image-runtime/dist/psd.js +2 -0
  357. package/dist/node_modules/@allyhub/image-runtime/package.json +18 -0
  358. package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
  359. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
  360. package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
  361. package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
  362. package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
  363. package/dist/node_modules/@allyhub/image-sdk/dist/fit.js +2 -0
  364. package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
  365. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
  366. package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
  367. package/dist/node_modules/@allyhub/image-sdk/dist/messages.js +2 -0
  368. package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
  369. package/dist/node_modules/@allyhub/image-sdk/dist/props.js +2 -0
  370. package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
  371. package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
  372. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
  373. package/dist/node_modules/@allyhub/image-sdk/dist/text.js +2 -0
  374. package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
  375. package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
  376. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +3 -0
  377. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +139 -0
  378. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +41 -0
  379. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  380. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
  381. package/dist/node_modules/@allyhub/measure/dist/compare.js +1 -1
  382. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
  383. package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
  384. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
  385. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
  386. package/dist/node_modules/@allyhub/measure/dist/index.js +1 -1
  387. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  388. package/dist/node_modules/@allyhub/media/NOTICE +1 -42
  389. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +25 -0
  390. package/dist/node_modules/@allyhub/media/dist/analysis.js +2 -0
  391. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +2 -0
  392. package/dist/node_modules/@allyhub/media/dist/audio.js +1 -1
  393. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +2 -2
  394. package/dist/node_modules/@allyhub/media/dist/index.d.ts +5 -21
  395. package/dist/node_modules/@allyhub/media/dist/index.js +1 -1
  396. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +2 -12
  397. package/dist/node_modules/@allyhub/media/dist/tools.js +1 -1
  398. package/dist/node_modules/@allyhub/media/dist/video.js +1 -1
  399. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +2 -2
  400. package/dist/node_modules/@allyhub/media/package.json +1 -1
  401. package/dist/node_modules/@allyhub/media-extension/LICENSE +241 -0
  402. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +2 -0
  403. package/dist/node_modules/@allyhub/media-extension/dist/analyses/matte.js +2 -0
  404. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +2 -0
  405. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +2 -0
  406. package/dist/node_modules/@allyhub/media-extension/dist/cloud.js +2 -0
  407. package/dist/node_modules/@allyhub/media-extension/dist/index.js +2 -0
  408. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +2 -0
  409. package/dist/node_modules/@allyhub/media-extension/dist/vision/boxes.js +2 -0
  410. package/dist/node_modules/@allyhub/media-extension/dist/vision/common.js +2 -0
  411. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +2 -0
  412. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -0
  413. package/dist/node_modules/@allyhub/media-extension/dist/vision/matte.js +2 -0
  414. package/dist/node_modules/@allyhub/media-extension/dist/vision/mattes.js +2 -0
  415. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +2 -0
  416. package/dist/node_modules/@allyhub/media-extension/package.json +65 -0
  417. package/dist/node_modules/@allyhub/model/dist/data.d.ts +7 -2
  418. package/dist/node_modules/@allyhub/model/dist/data.js +1 -1
  419. package/dist/node_modules/@allyhub/model/package.json +1 -1
  420. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
  421. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
  422. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  423. package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
  424. package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
  425. package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
  426. package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
  427. package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
  428. package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
  429. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
  430. package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
  431. package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
  432. package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
  433. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
  434. package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
  435. package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
  436. package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
  437. package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
  438. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
  439. package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
  440. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +437 -0
  441. package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
  442. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
  443. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
  444. package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
  445. package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
  446. package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
  447. package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
  448. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
  449. package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
  450. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
  451. package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
  452. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
  453. package/dist/node_modules/@allyhub/piece/dist/page/locate.js +2 -0
  454. package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
  455. package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
  456. package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
  457. package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
  458. package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
  459. package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
  460. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
  461. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +291 -0
  462. package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
  463. package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
  464. package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
  465. package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
  466. package/dist/node_modules/@allyhub/piece/package.json +18 -0
  467. package/dist/node_modules/@allyhub/project/dist/component-stills.js +11 -1
  468. package/dist/node_modules/@allyhub/project/dist/console.js +1 -1
  469. package/dist/node_modules/@allyhub/project/dist/digest.js +1 -1
  470. package/dist/node_modules/@allyhub/project/dist/index.js +1 -1
  471. package/dist/node_modules/@allyhub/project/dist/ledger.js +1 -1
  472. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  473. package/dist/node_modules/@allyhub/project/dist/page.js +2 -2
  474. package/dist/node_modules/@allyhub/project/dist/part-keys.js +2 -0
  475. package/dist/node_modules/@allyhub/project/dist/part-measure.js +2 -0
  476. package/dist/node_modules/@allyhub/project/dist/part-pool.js +2 -0
  477. package/dist/node_modules/@allyhub/project/dist/session.js +1 -1
  478. package/dist/node_modules/@allyhub/project/dist/stills.js +1 -1
  479. package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
  480. package/dist/node_modules/@allyhub/project/package.json +1 -1
  481. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +271 -0
  482. package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
  483. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
  484. package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
  485. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +19 -1
  486. package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
  487. package/dist/node_modules/@allyhub/protocol/dist/browser-bridge.d.ts +337 -0
  488. package/dist/node_modules/@allyhub/protocol/dist/browser-bridge.js +2 -0
  489. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
  490. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  491. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +155 -0
  492. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  493. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +235 -133
  494. package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
  495. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
  496. package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
  497. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +65 -197
  498. package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
  499. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
  500. package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
  501. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +6 -0
  502. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  503. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
  504. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
  505. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
  506. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +274 -0
  507. package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
  508. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +77 -91
  509. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  510. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
  511. package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
  512. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
  513. package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
  514. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
  515. package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
  516. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
  517. package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
  518. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
  519. package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
  520. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
  521. package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
  522. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
  523. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  524. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
  525. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  526. package/dist/node_modules/@allyhub/protocol/package.json +5 -1
  527. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  528. package/dist/node_modules/@allyhub/render/dist/capture.js +1 -1
  529. package/dist/node_modules/@allyhub/render/dist/composite.js +1 -1
  530. package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
  531. package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
  532. package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +3 -3
  533. package/dist/node_modules/@allyhub/render/dist/footage.js +1 -1
  534. package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
  535. package/dist/node_modules/@allyhub/render/dist/junction.js +1 -1
  536. package/dist/node_modules/@allyhub/render/dist/look.js +1 -1
  537. package/dist/node_modules/@allyhub/render/dist/parts.js +1 -1
  538. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  539. package/dist/node_modules/@allyhub/render/dist/post.js +1 -1
  540. package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
  541. package/dist/node_modules/@allyhub/render/dist/sound.js +1 -1
  542. package/dist/node_modules/@allyhub/render/dist/tools.js +1 -1
  543. package/dist/node_modules/@allyhub/render/dist/version.js +2 -0
  544. package/dist/node_modules/@allyhub/render/package.json +1 -5
  545. package/dist/node_modules/@allyhub/runtime/dist/captions.js +1 -1
  546. package/dist/node_modules/@allyhub/runtime/dist/clock.js +1 -1
  547. package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
  548. package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
  549. package/dist/node_modules/@allyhub/runtime/dist/facade.js +1 -1
  550. package/dist/node_modules/@allyhub/runtime/dist/film.js +2 -0
  551. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  552. package/dist/node_modules/@allyhub/runtime/dist/frame.js +1 -1
  553. package/dist/node_modules/@allyhub/runtime/dist/index.js +1 -1
  554. package/dist/node_modules/@allyhub/runtime/dist/measure.js +2 -2
  555. package/dist/node_modules/@allyhub/runtime/dist/output.js +1 -1
  556. package/dist/node_modules/@allyhub/runtime/dist/piece.js +2 -2
  557. package/dist/node_modules/@allyhub/runtime/dist/player/clips.js +1 -1
  558. package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
  559. package/dist/node_modules/@allyhub/runtime/dist/sound.js +1 -1
  560. package/dist/node_modules/@allyhub/runtime/dist/speech.js +1 -1
  561. package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +1 -1
  562. package/dist/node_modules/@allyhub/runtime/dist/takes.js +1 -1
  563. package/dist/node_modules/@allyhub/runtime/package.json +1 -5
  564. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  565. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
  566. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
  567. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
  568. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
  569. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
  570. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  571. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
  572. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
  573. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
  574. package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
  575. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  576. package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -5
  577. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  578. package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
  579. package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
  580. package/dist/node_modules/@allyhub/scenery/dist/index.d.ts +2 -2
  581. package/dist/node_modules/@allyhub/scenery/dist/index.js +1 -1
  582. package/dist/node_modules/@allyhub/scenery/dist/moire.d.ts +45 -5
  583. package/dist/node_modules/@allyhub/scenery/dist/moire.js +2 -2
  584. package/dist/node_modules/@allyhub/scenery/dist/phone.d.ts +4 -3
  585. package/dist/node_modules/@allyhub/scenery/dist/phone.js +1 -1
  586. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  587. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +2 -3
  588. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +14 -7
  589. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +4 -4
  590. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +314 -0
  591. package/dist/node_modules/@allyhub/scenery-host/dist/fact.js +2 -0
  592. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +1 -0
  593. package/dist/node_modules/@allyhub/scenery-host/dist/index.js +1 -1
  594. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +7 -0
  595. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.js +2 -0
  596. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +6 -5
  597. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
  598. package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +1 -1
  599. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +2 -2
  600. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
  601. package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +1 -1
  602. package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +2 -2
  603. package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +3 -3
  604. package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.js +1 -1
  605. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +1 -1
  606. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +1 -1
  607. package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.d.ts +8 -0
  608. package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.js +1 -1
  609. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +42 -0
  610. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.js +4 -0
  611. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +6 -0
  612. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.js +2 -0
  613. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +70 -0
  614. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.js +12 -0
  615. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +49 -0
  616. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +73 -0
  617. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.js +3 -0
  618. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +18 -0
  619. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.js +2 -0
  620. package/dist/node_modules/@allyhub/scenery-host/package.json +5 -1
  621. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  622. package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
  623. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  624. package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.js +1 -1
  625. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  626. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.js +1 -1
  627. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.js +1 -1
  628. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.js +1 -1
  629. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.js +1 -1
  630. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.js +1 -1
  631. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.js +1 -1
  632. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.js +1 -1
  633. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.js +1 -1
  634. package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.js +1 -1
  635. package/dist/node_modules/@allyhub/sheet/dist/calc/types.js +1 -1
  636. package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
  637. package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
  638. package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
  639. package/dist/node_modules/@allyhub/sheet/dist/formula/move.js +1 -1
  640. package/dist/node_modules/@allyhub/sheet/dist/formula/parse.js +1 -1
  641. package/dist/node_modules/@allyhub/sheet/dist/formula/print.js +1 -1
  642. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  643. package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
  644. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  645. package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
  646. package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
  647. package/dist/node_modules/@allyhub/sheet/dist/printed.js +2 -0
  648. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
  649. package/dist/node_modules/@allyhub/sheet/dist/values.js +1 -1
  650. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  651. package/dist/node_modules/@allyhub/sheet/dist/write.js +15 -15
  652. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  653. package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.js +2 -2
  654. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  655. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  656. package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.js +3 -1
  657. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  658. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  659. package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.js +3 -2
  660. package/dist/node_modules/@allyhub/sheet/package.json +5 -1
  661. package/dist/node_modules/@allyhub/sheet-extension/LICENSE +241 -0
  662. package/dist/node_modules/@allyhub/sheet-extension/dist/build-plugins.js +2 -0
  663. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +2 -0
  664. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/index.js +2 -0
  665. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +2 -0
  666. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +8 -0
  667. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +2 -0
  668. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +3 -0
  669. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +7 -0
  670. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +3 -0
  671. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +2 -0
  672. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +2 -0
  673. package/dist/node_modules/@allyhub/sheet-extension/dist/workspace.js +2 -0
  674. package/dist/node_modules/@allyhub/sheet-extension/package.json +228 -0
  675. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
  676. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  677. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  678. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  679. package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
  680. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  681. package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
  682. package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
  683. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  684. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  685. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +1 -1
  686. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  687. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
  688. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  689. package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
  690. package/dist/node_modules/@allyhub/slides-extension/LICENSE +241 -0
  691. package/dist/node_modules/@allyhub/slides-extension/dist/build-plugins.js +2 -0
  692. package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -0
  693. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +2 -0
  694. package/dist/node_modules/@allyhub/slides-extension/dist/cli/index.js +2 -0
  695. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +3 -0
  696. package/dist/node_modules/@allyhub/slides-extension/dist/deck-info.js +2 -0
  697. package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +2 -0
  698. package/dist/node_modules/@allyhub/slides-extension/dist/evaluate.js +3 -0
  699. package/dist/node_modules/@allyhub/slides-extension/dist/export.js +2 -0
  700. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +2 -0
  701. package/dist/node_modules/@allyhub/slides-extension/dist/read-view.js +2 -0
  702. package/dist/node_modules/@allyhub/slides-extension/dist/stage.js +2 -0
  703. package/dist/node_modules/@allyhub/slides-extension/dist/tools.js +2 -0
  704. package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +2 -0
  705. package/dist/node_modules/@allyhub/slides-extension/package.json +265 -0
  706. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  707. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  708. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
  709. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  710. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +1 -1
  711. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  712. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  713. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  714. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  715. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  716. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  717. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +1 -1
  718. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  719. package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +1 -1
  720. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  721. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
  722. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  723. package/dist/node_modules/@allyhub/stage/dist/build-process.js +2 -2
  724. package/dist/node_modules/@allyhub/stage/dist/build-worker.js +1 -1
  725. package/dist/node_modules/@allyhub/stage/dist/identity.js +1 -1
  726. package/dist/node_modules/@allyhub/stage/dist/index.js +1 -1
  727. package/dist/node_modules/@allyhub/stage/dist/page.js +2 -2
  728. package/dist/node_modules/@allyhub/stage/dist/server.js +1 -1
  729. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  730. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +19 -0
  731. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +19 -0
  732. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +19 -0
  733. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +19 -0
  734. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/LICENSE +93 -0
  735. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +76 -0
  736. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-italic.woff2 +0 -0
  737. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-normal.woff2 +0 -0
  738. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-italic.woff2 +0 -0
  739. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-normal.woff2 +0 -0
  740. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-italic.woff2 +0 -0
  741. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-normal.woff2 +0 -0
  742. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-italic.woff2 +0 -0
  743. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-normal.woff2 +0 -0
  744. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +79 -0
  745. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +79 -0
  746. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +79 -0
  747. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +79 -0
  748. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/LICENSE +93 -0
  749. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +316 -0
  750. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-italic.woff2 +0 -0
  751. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-normal.woff2 +0 -0
  752. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-italic.woff2 +0 -0
  753. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-normal.woff2 +0 -0
  754. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-italic.woff2 +0 -0
  755. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-normal.woff2 +0 -0
  756. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-italic.woff2 +0 -0
  757. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-normal.woff2 +0 -0
  758. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-italic.woff2 +0 -0
  759. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-normal.woff2 +0 -0
  760. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-italic.woff2 +0 -0
  761. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-normal.woff2 +0 -0
  762. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-italic.woff2 +0 -0
  763. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-normal.woff2 +0 -0
  764. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-italic.woff2 +0 -0
  765. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-normal.woff2 +0 -0
  766. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-italic.woff2 +0 -0
  767. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-normal.woff2 +0 -0
  768. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-italic.woff2 +0 -0
  769. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-normal.woff2 +0 -0
  770. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-italic.woff2 +0 -0
  771. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-normal.woff2 +0 -0
  772. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-italic.woff2 +0 -0
  773. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-normal.woff2 +0 -0
  774. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-italic.woff2 +0 -0
  775. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-normal.woff2 +0 -0
  776. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-italic.woff2 +0 -0
  777. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-normal.woff2 +0 -0
  778. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-italic.woff2 +0 -0
  779. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-normal.woff2 +0 -0
  780. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-italic.woff2 +0 -0
  781. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-normal.woff2 +0 -0
  782. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +79 -0
  783. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +79 -0
  784. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +79 -0
  785. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +79 -0
  786. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/LICENSE +93 -0
  787. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-italic.woff2 +0 -0
  788. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-normal.woff2 +0 -0
  789. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-italic.woff2 +0 -0
  790. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-normal.woff2 +0 -0
  791. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-italic.woff2 +0 -0
  792. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-normal.woff2 +0 -0
  793. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-italic.woff2 +0 -0
  794. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-normal.woff2 +0 -0
  795. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-italic.woff2 +0 -0
  796. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-normal.woff2 +0 -0
  797. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-italic.woff2 +0 -0
  798. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-normal.woff2 +0 -0
  799. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-italic.woff2 +0 -0
  800. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-normal.woff2 +0 -0
  801. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-italic.woff2 +0 -0
  802. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-normal.woff2 +0 -0
  803. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-italic.woff2 +0 -0
  804. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-normal.woff2 +0 -0
  805. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-italic.woff2 +0 -0
  806. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-normal.woff2 +0 -0
  807. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-italic.woff2 +0 -0
  808. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-normal.woff2 +0 -0
  809. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-italic.woff2 +0 -0
  810. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-normal.woff2 +0 -0
  811. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-italic.woff2 +0 -0
  812. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-normal.woff2 +0 -0
  813. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-italic.woff2 +0 -0
  814. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-normal.woff2 +0 -0
  815. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-italic.woff2 +0 -0
  816. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-normal.woff2 +0 -0
  817. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-italic.woff2 +0 -0
  818. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-normal.woff2 +0 -0
  819. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +316 -0
  820. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  821. package/dist/node_modules/@allyhub/stage-page/dist/install.js +2 -0
  822. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +3 -0
  823. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +2 -2
  824. package/dist/node_modules/@allyhub/stage-page/dist/stage-module.js +2 -0
  825. package/dist/node_modules/@allyhub/stage-page/package.json +5 -1
  826. package/dist/node_modules/@allyhub/stage-runtime/LICENSE +241 -0
  827. package/dist/node_modules/@allyhub/stage-runtime/dist/index.js +2 -0
  828. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +80 -0
  829. package/dist/node_modules/@allyhub/stage-runtime/dist/use.js +2 -0
  830. package/dist/node_modules/@allyhub/stage-runtime/package.json +17 -0
  831. package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
  832. package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
  833. package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
  834. package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
  835. package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
  836. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  837. package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
  838. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
  839. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
  840. package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
  841. package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
  842. package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
  843. package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
  844. package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
  845. package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
  846. package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
  847. package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
  848. package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
  849. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  850. package/dist/node_modules/@allyhub/video-extension/LICENSE +241 -0
  851. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +2 -0
  852. package/dist/node_modules/@allyhub/video-extension/dist/build.js +2 -0
  853. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio-text.js +6 -0
  854. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio.js +4 -0
  855. package/dist/node_modules/@allyhub/video-extension/dist/cli/cloud.js +2 -0
  856. package/dist/node_modules/@allyhub/video-extension/dist/cli/draw.js +2 -0
  857. package/dist/node_modules/@allyhub/video-extension/dist/cli/index.js +2 -0
  858. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +5 -0
  859. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference.js +2 -0
  860. package/dist/node_modules/@allyhub/video-extension/dist/cli/voice.js +3 -0
  861. package/dist/node_modules/@allyhub/video-extension/dist/cli/words-text.js +6 -0
  862. package/dist/node_modules/@allyhub/video-extension/dist/cli/words.js +2 -0
  863. package/dist/node_modules/@allyhub/video-extension/dist/evaluate.js +2 -0
  864. package/dist/node_modules/@allyhub/video-extension/dist/export.js +2 -0
  865. package/dist/node_modules/@allyhub/video-extension/dist/inspect/common.js +2 -0
  866. package/dist/node_modules/@allyhub/video-extension/dist/inspect/contrast.js +2 -0
  867. package/dist/node_modules/@allyhub/video-extension/dist/inspect/fidelity.js +2 -0
  868. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +2 -0
  869. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +2 -0
  870. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +4 -0
  871. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +2 -0
  872. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline.js +3 -0
  873. package/dist/node_modules/@allyhub/video-extension/dist/project-tools.js +2 -0
  874. package/dist/node_modules/@allyhub/video-extension/dist/read-view.js +2 -0
  875. package/dist/node_modules/@allyhub/video-extension/dist/sources.js +2 -0
  876. package/dist/node_modules/@allyhub/video-extension/dist/stage-routes.js +2 -0
  877. package/dist/node_modules/@allyhub/video-extension/dist/stage.js +2 -0
  878. package/dist/node_modules/@allyhub/video-extension/dist/tools.js +2 -0
  879. package/dist/node_modules/@allyhub/video-extension/dist/workspace.js +2 -0
  880. package/dist/node_modules/@allyhub/video-extension/package.json +469 -0
  881. package/dist/node_modules/@allyhub/video-measure/LICENSE +241 -0
  882. package/dist/node_modules/@allyhub/video-measure/dist/check.js +3 -0
  883. package/dist/node_modules/@allyhub/video-measure/dist/cuts.js +2 -0
  884. package/dist/node_modules/@allyhub/video-measure/dist/facts.js +2 -0
  885. package/dist/node_modules/@allyhub/video-measure/dist/generated.js +2 -0
  886. package/dist/node_modules/@allyhub/video-measure/dist/graphics.js +2 -0
  887. package/dist/node_modules/@allyhub/video-measure/dist/index.js +2 -0
  888. package/dist/node_modules/@allyhub/video-measure/dist/page.js +2 -0
  889. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +3 -0
  890. package/dist/node_modules/@allyhub/video-measure/dist/recording-report.js +2 -0
  891. package/dist/node_modules/@allyhub/video-measure/dist/reference/piece.js +2 -0
  892. package/dist/node_modules/@allyhub/video-measure/dist/reference/sets.js +2 -0
  893. package/dist/node_modules/@allyhub/video-measure/dist/reference/text.js +2 -0
  894. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +2 -0
  895. package/dist/node_modules/@allyhub/video-measure/dist/says.js +2 -0
  896. package/dist/node_modules/@allyhub/video-measure/dist/sound-report.js +2 -0
  897. package/dist/node_modules/@allyhub/video-measure/dist/stretch.js +2 -0
  898. package/dist/node_modules/@allyhub/video-measure/dist/version.js +2 -0
  899. package/dist/node_modules/@allyhub/video-measure/dist/words.js +3 -0
  900. package/dist/node_modules/@allyhub/video-measure/package.json +13 -0
  901. package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
  902. package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
  903. package/dist/node_modules/@allyhub/video-sdk/dist/anim.js +2 -0
  904. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
  905. package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
  906. package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
  907. package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
  908. package/dist/node_modules/@allyhub/video-sdk/dist/noise.js +2 -0
  909. package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
  910. package/dist/node_modules/@allyhub/video-sdk/dist/paths.js +2 -0
  911. package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
  912. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
  913. package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
  914. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
  915. package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
  916. package/dist/node_modules/@allyhub/website/dist/publish.js +2 -2
  917. package/dist/node_modules/@allyhub/website/dist/website.js +3 -3
  918. package/dist/node_modules/@allyhub/website/package.json +1 -1
  919. package/dist/node_modules/@allyhub/website-extension/LICENSE +241 -0
  920. package/dist/node_modules/@allyhub/website-extension/dist/build.js +2 -0
  921. package/dist/node_modules/@allyhub/website-extension/dist/cli/index.js +2 -0
  922. package/dist/node_modules/@allyhub/website-extension/dist/cli/site.js +4 -0
  923. package/dist/node_modules/@allyhub/website-extension/dist/held.js +2 -0
  924. package/dist/node_modules/@allyhub/website-extension/dist/hosting.js +2 -0
  925. package/dist/node_modules/@allyhub/website-extension/dist/preview.js +6 -0
  926. package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +25 -0
  927. package/dist/node_modules/@allyhub/website-extension/dist/tools.js +2 -0
  928. package/dist/node_modules/@allyhub/website-extension/package.json +199 -0
  929. package/dist/node_modules/@allyhub/x-extension/LICENSE +241 -0
  930. package/dist/node_modules/@allyhub/x-extension/dist/article-build.js +4 -0
  931. package/dist/node_modules/@allyhub/x-extension/dist/article-kind.js +2 -0
  932. package/dist/node_modules/@allyhub/x-extension/dist/build-plugins.js +2 -0
  933. package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -0
  934. package/dist/node_modules/@allyhub/x-extension/dist/config.js +2 -0
  935. package/dist/node_modules/@allyhub/x-extension/dist/media.js +2 -0
  936. package/dist/node_modules/@allyhub/x-extension/dist/stage-module.js +67 -0
  937. package/dist/node_modules/@allyhub/x-extension/dist/stage.js +2 -0
  938. package/dist/node_modules/@allyhub/x-extension/dist/workspace.js +2 -0
  939. package/dist/node_modules/@allyhub/x-extension/package.json +307 -0
  940. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +12 -0
  941. package/dist/node_modules/@allyhub/x-model/LICENSE +241 -0
  942. package/dist/node_modules/@allyhub/x-model/dist/article-check.js +5 -0
  943. package/dist/node_modules/@allyhub/x-model/dist/article.js +3 -0
  944. package/dist/node_modules/@allyhub/x-model/dist/check.js +2 -0
  945. package/dist/node_modules/@allyhub/x-model/dist/content-state.js +2 -0
  946. package/dist/node_modules/@allyhub/x-model/dist/count.js +2 -0
  947. package/dist/node_modules/@allyhub/x-model/dist/edit.js +3 -0
  948. package/dist/node_modules/@allyhub/x-model/dist/index.js +2 -0
  949. package/dist/node_modules/@allyhub/x-model/dist/limits.js +2 -0
  950. package/dist/node_modules/@allyhub/x-model/dist/post.js +2 -0
  951. package/dist/node_modules/@allyhub/x-model/dist/requests.js +2 -0
  952. package/dist/node_modules/@allyhub/x-model/package.json +14 -0
  953. package/dist/node_modules/@allyhub/x-view/LICENSE +241 -0
  954. package/dist/node_modules/@allyhub/x-view/dist/article.js +2 -0
  955. package/dist/node_modules/@allyhub/x-view/dist/index.js +2 -0
  956. package/dist/node_modules/@allyhub/x-view/dist/post.js +3 -0
  957. package/dist/node_modules/@allyhub/x-view/dist/stage.js +2 -0
  958. package/dist/node_modules/@allyhub/x-view/dist/text.js +2 -0
  959. package/dist/node_modules/@allyhub/x-view/package.json +21 -0
  960. package/dist/node_modules/@allyhub/x-view/src/style.css +709 -0
  961. package/dist/package.json +16 -0
  962. package/dist/parameters.js +1 -1
  963. package/dist/presence.js +2 -0
  964. package/dist/project.js +1 -1
  965. package/dist/sdk-docs.js +1 -1
  966. package/dist/text/batch-text.js +1 -1
  967. package/dist/text/console-text.js +1 -1
  968. package/dist/text/facts-text.js +5 -5
  969. package/dist/text/format.js +2 -2
  970. package/dist/text/index.js +1 -1
  971. package/dist/text/long-text.js +4 -0
  972. package/dist/tool-options.js +1 -1
  973. package/dist/version.js +1 -1
  974. package/dist/works.js +1 -1
  975. package/editor-web/assets/abnfDiagram-WEYOIA3C-CjAmWsNR.js +1 -0
  976. package/editor-web/assets/alt-DnBZJzEh.js +4 -0
  977. package/editor-web/assets/architecture-WOLXFQ4H-DeeKhyhZ.js +1 -0
  978. package/editor-web/assets/architectureDiagram-ZHVYKT53-b32qTaJg.js +36 -0
  979. package/editor-web/assets/arrow-up-L4YV_65f.js +1 -0
  980. package/editor-web/assets/article-DLMjAdbP.js +73 -0
  981. package/editor-web/assets/audio-lines-BFcM7G2L.js +1 -0
  982. package/editor-web/assets/blockDiagram-RJAE7QA3-BNbnMNmw.js +140 -0
  983. package/editor-web/assets/button-Chk675Xu.js +41 -0
  984. package/editor-web/assets/c4Diagram-XDPPPE54-BEuemvMw.js +38 -0
  985. package/editor-web/assets/caladea-latin-400-italic-BXgumMrY.woff +0 -0
  986. package/editor-web/assets/caladea-latin-400-italic-LV4kG-PE.woff2 +0 -0
  987. package/editor-web/assets/caladea-latin-400-normal-BdRVtv9R.woff +0 -0
  988. package/editor-web/assets/caladea-latin-400-normal-CEHWF4nY.woff2 +0 -0
  989. package/editor-web/assets/caladea-latin-700-italic-ChDjCuPY.woff +0 -0
  990. package/editor-web/assets/caladea-latin-700-italic-DswTWW_F.woff2 +0 -0
  991. package/editor-web/assets/caladea-latin-700-normal-0s3Ufwiy.woff +0 -0
  992. package/editor-web/assets/caladea-latin-700-normal-Emkxzyyt.woff2 +0 -0
  993. package/editor-web/assets/caladea-latin-ext-400-italic-DaI5RAJ1.woff2 +0 -0
  994. package/editor-web/assets/caladea-latin-ext-400-italic-Ddrq60cI.woff +0 -0
  995. package/editor-web/assets/caladea-latin-ext-400-normal-BjxrNPcj.woff +0 -0
  996. package/editor-web/assets/caladea-latin-ext-400-normal-CyFL0oLC.woff2 +0 -0
  997. package/editor-web/assets/caladea-latin-ext-700-italic-BPwR0tp-.woff +0 -0
  998. package/editor-web/assets/caladea-latin-ext-700-italic-DKIXMnVd.woff2 +0 -0
  999. package/editor-web/assets/caladea-latin-ext-700-normal-jPPxbA1-.woff2 +0 -0
  1000. package/editor-web/assets/caladea-latin-ext-700-normal-sbmkuTql.woff +0 -0
  1001. package/editor-web/assets/calc-worker-D2pGis6e.js +45 -0
  1002. package/editor-web/assets/carlito-cyrillic-400-italic-BBq3u1wn.woff2 +0 -0
  1003. package/editor-web/assets/carlito-cyrillic-400-italic-DkiFjkCS.woff +0 -0
  1004. package/editor-web/assets/carlito-cyrillic-400-normal-BtG3bBmV.woff +0 -0
  1005. package/editor-web/assets/carlito-cyrillic-400-normal-Bzv-FGbj.woff2 +0 -0
  1006. package/editor-web/assets/carlito-cyrillic-700-italic-BWpxjWJ1.woff2 +0 -0
  1007. package/editor-web/assets/carlito-cyrillic-700-italic-CkpLb3ak.woff +0 -0
  1008. package/editor-web/assets/carlito-cyrillic-700-normal-Cj42L3Bs.woff2 +0 -0
  1009. package/editor-web/assets/carlito-cyrillic-700-normal-bxg6f20d.woff +0 -0
  1010. package/editor-web/assets/carlito-cyrillic-ext-400-italic-BiZjW1hk.woff2 +0 -0
  1011. package/editor-web/assets/carlito-cyrillic-ext-400-italic-DcD3cPwb.woff +0 -0
  1012. package/editor-web/assets/carlito-cyrillic-ext-400-normal-DYs6OoL4.woff2 +0 -0
  1013. package/editor-web/assets/carlito-cyrillic-ext-400-normal-UzWcrHdi.woff +0 -0
  1014. package/editor-web/assets/carlito-cyrillic-ext-700-italic-ClXPMqhh.woff2 +0 -0
  1015. package/editor-web/assets/carlito-cyrillic-ext-700-italic-DoehkTRC.woff +0 -0
  1016. package/editor-web/assets/carlito-cyrillic-ext-700-normal-BAPhAm-q.woff2 +0 -0
  1017. package/editor-web/assets/carlito-cyrillic-ext-700-normal-C5O8kkCQ.woff +0 -0
  1018. package/editor-web/assets/carlito-greek-400-italic-C1DqF7JR.woff2 +0 -0
  1019. package/editor-web/assets/carlito-greek-400-italic-Cnl_RiK8.woff +0 -0
  1020. package/editor-web/assets/carlito-greek-400-normal-Cv5gcxdy.woff2 +0 -0
  1021. package/editor-web/assets/carlito-greek-400-normal-aOjZpsFX.woff +0 -0
  1022. package/editor-web/assets/carlito-greek-700-italic-DfpwTZ8N.woff +0 -0
  1023. package/editor-web/assets/carlito-greek-700-italic-VWqy950O.woff2 +0 -0
  1024. package/editor-web/assets/carlito-greek-700-normal-B-Y_qvTa.woff +0 -0
  1025. package/editor-web/assets/carlito-greek-700-normal-BXGaow7Z.woff2 +0 -0
  1026. package/editor-web/assets/carlito-greek-ext-400-italic-BUNDIZnl.woff +0 -0
  1027. package/editor-web/assets/carlito-greek-ext-400-italic-o-WxseCy.woff2 +0 -0
  1028. package/editor-web/assets/carlito-greek-ext-400-normal-DnfnTswf.woff2 +0 -0
  1029. package/editor-web/assets/carlito-greek-ext-400-normal-m-eDGcsW.woff +0 -0
  1030. package/editor-web/assets/carlito-greek-ext-700-italic-DD0r8DLp.woff +0 -0
  1031. package/editor-web/assets/carlito-greek-ext-700-italic-DiO5Rxw8.woff2 +0 -0
  1032. package/editor-web/assets/carlito-greek-ext-700-normal-BGl1PQht.woff +0 -0
  1033. package/editor-web/assets/carlito-greek-ext-700-normal-COKnZ-5a.woff2 +0 -0
  1034. package/editor-web/assets/carlito-latin-400-italic-BiMes9J5.woff2 +0 -0
  1035. package/editor-web/assets/carlito-latin-400-italic-DcRV6skQ.woff +0 -0
  1036. package/editor-web/assets/carlito-latin-400-normal-R-CeALMm.woff2 +0 -0
  1037. package/editor-web/assets/carlito-latin-400-normal-jEGHVXAP.woff +0 -0
  1038. package/editor-web/assets/carlito-latin-700-italic-BkeTGILl.woff +0 -0
  1039. package/editor-web/assets/carlito-latin-700-italic-Ckstd88m.woff2 +0 -0
  1040. package/editor-web/assets/carlito-latin-700-normal-CjG3MLqY.woff +0 -0
  1041. package/editor-web/assets/carlito-latin-700-normal-DQ6DOkPk.woff2 +0 -0
  1042. package/editor-web/assets/carlito-latin-ext-400-italic-B7I2MSBC.woff +0 -0
  1043. package/editor-web/assets/carlito-latin-ext-400-italic-CqQQuoTt.woff2 +0 -0
  1044. package/editor-web/assets/carlito-latin-ext-400-normal-D112-ed2.woff +0 -0
  1045. package/editor-web/assets/carlito-latin-ext-400-normal-DPZWia0-.woff2 +0 -0
  1046. package/editor-web/assets/carlito-latin-ext-700-italic-BvVMpuZ3.woff2 +0 -0
  1047. package/editor-web/assets/carlito-latin-ext-700-italic-Cocp2sK5.woff +0 -0
  1048. package/editor-web/assets/carlito-latin-ext-700-normal-9QIvu-gI.woff +0 -0
  1049. package/editor-web/assets/carlito-latin-ext-700-normal-D2WO8ap1.woff2 +0 -0
  1050. package/editor-web/assets/carlito-vietnamese-400-italic-Dpe35oQb.woff +0 -0
  1051. package/editor-web/assets/carlito-vietnamese-400-italic-vBbFSHZk.woff2 +0 -0
  1052. package/editor-web/assets/carlito-vietnamese-400-normal-BA1ASEPx.woff2 +0 -0
  1053. package/editor-web/assets/carlito-vietnamese-400-normal-D0HL2cT_.woff +0 -0
  1054. package/editor-web/assets/carlito-vietnamese-700-italic-rWsihy0W.woff +0 -0
  1055. package/editor-web/assets/carlito-vietnamese-700-italic-tiFMON_I.woff2 +0 -0
  1056. package/editor-web/assets/carlito-vietnamese-700-normal-DIEsMQO6.woff +0 -0
  1057. package/editor-web/assets/carlito-vietnamese-700-normal-gG8ns3Xg.woff2 +0 -0
  1058. package/editor-web/assets/channel-EzYq4r0d.js +1 -0
  1059. package/editor-web/assets/chart-Be9Hj5GL.js +1 -0
  1060. package/editor-web/assets/choice-BgmBh4yu.js +1 -0
  1061. package/editor-web/assets/chunk-2E7WHVMD-Zb5nPx_e.js +88 -0
  1062. package/editor-web/assets/chunk-4EMNKR2T-DSEM2reX.js +1 -0
  1063. package/editor-web/assets/chunk-55XCU76K-BOZa_65H.js +1 -0
  1064. package/editor-web/assets/chunk-7S6XSTFO-DeiGeVpB.js +2 -0
  1065. package/editor-web/assets/chunk-AQDTSKZB-fPuQFBJc.js +72 -0
  1066. package/editor-web/assets/chunk-DSNLSHJZ-5vdnoak2.js +129 -0
  1067. package/editor-web/assets/chunk-HAGFOTED-DFF2mZJ1.js +62 -0
  1068. package/editor-web/assets/chunk-HNE4Q36P-g6-ZLbTg.js +1 -0
  1069. package/editor-web/assets/chunk-NQOKRVIF-o3hNcHMJ.js +213 -0
  1070. package/editor-web/assets/chunk-UHW7PFBP-BQiDI9dK.js +1 -0
  1071. package/editor-web/assets/chunk-VQ5W62QI-CJlMXWWz.js +1 -0
  1072. package/editor-web/assets/chunk-WQQL4CDK-pNBU8dXv.js +10 -0
  1073. package/editor-web/assets/chunk-YZO67HFG-2x-BiWd-.js +1 -0
  1074. package/editor-web/assets/chunk-ZAUX2LTX-etFStEM8.js +1 -0
  1075. package/editor-web/assets/chunk-ZCHMQSOR-B3AYRhIY.js +2 -0
  1076. package/editor-web/assets/classDiagram-v2-4MYWR3UA-6y2yX0oq.js +217 -0
  1077. package/editor-web/assets/collaborator-LRd0hELn.js +1 -0
  1078. package/editor-web/assets/cousine-cyrillic-400-normal-D7Mp9hmd.woff +0 -0
  1079. package/editor-web/assets/cousine-cyrillic-400-normal-DaHhUWxZ.woff2 +0 -0
  1080. package/editor-web/assets/cousine-cyrillic-700-normal-BEGCXyFC.woff +0 -0
  1081. package/editor-web/assets/cousine-cyrillic-700-normal-BkkUdX_g.woff2 +0 -0
  1082. package/editor-web/assets/cousine-cyrillic-ext-400-normal-CfRZlfI3.woff +0 -0
  1083. package/editor-web/assets/cousine-cyrillic-ext-400-normal-DHXCUfGT.woff2 +0 -0
  1084. package/editor-web/assets/cousine-cyrillic-ext-700-normal-C15KMCf5.woff2 +0 -0
  1085. package/editor-web/assets/cousine-cyrillic-ext-700-normal-DhfE94aH.woff +0 -0
  1086. package/editor-web/assets/cousine-greek-400-normal-CWPwwPBl.woff +0 -0
  1087. package/editor-web/assets/cousine-greek-400-normal-D28eY3d7.woff2 +0 -0
  1088. package/editor-web/assets/cousine-greek-700-normal-DsTT0TsI.woff2 +0 -0
  1089. package/editor-web/assets/cousine-greek-700-normal-rpH_OJFi.woff +0 -0
  1090. package/editor-web/assets/cousine-greek-ext-400-normal-n0k5mInY.woff +0 -0
  1091. package/editor-web/assets/cousine-greek-ext-400-normal-qdX5ZLbv.woff2 +0 -0
  1092. package/editor-web/assets/cousine-greek-ext-700-normal-CSy642Ya.woff +0 -0
  1093. package/editor-web/assets/cousine-greek-ext-700-normal-DgHq_I2n.woff2 +0 -0
  1094. package/editor-web/assets/cousine-hebrew-400-normal-COyK3YUR.woff2 +0 -0
  1095. package/editor-web/assets/cousine-hebrew-400-normal-oCiNOOyc.woff +0 -0
  1096. package/editor-web/assets/cousine-hebrew-700-normal-BCE0G3Nu.woff2 +0 -0
  1097. package/editor-web/assets/cousine-hebrew-700-normal-Bf9jZ0p9.woff +0 -0
  1098. package/editor-web/assets/cousine-latin-400-normal-BhCTjpdJ.woff2 +0 -0
  1099. package/editor-web/assets/cousine-latin-400-normal-D0CzircV.woff +0 -0
  1100. package/editor-web/assets/cousine-latin-700-normal-BO_dhHEP.woff +0 -0
  1101. package/editor-web/assets/cousine-latin-700-normal-CwJ0o97b.woff2 +0 -0
  1102. package/editor-web/assets/cousine-latin-ext-400-normal-B_NP9zZK.woff +0 -0
  1103. package/editor-web/assets/cousine-latin-ext-400-normal-CGywThDL.woff2 +0 -0
  1104. package/editor-web/assets/cousine-latin-ext-700-normal-DWTrZAet.woff2 +0 -0
  1105. package/editor-web/assets/cousine-latin-ext-700-normal-NvcoPDWO.woff +0 -0
  1106. package/editor-web/assets/cousine-vietnamese-400-normal-B4JqDdoh.woff2 +0 -0
  1107. package/editor-web/assets/cousine-vietnamese-400-normal-Bfsm3lEf.woff +0 -0
  1108. package/editor-web/assets/cousine-vietnamese-700-normal-B4DXCoMM.woff +0 -0
  1109. package/editor-web/assets/cousine-vietnamese-700-normal-DLBKC3PH.woff2 +0 -0
  1110. package/editor-web/assets/createLucideIcon-CPS-TrJJ.js +1 -0
  1111. package/editor-web/assets/cynefin-EF2NZ3EQ-CX4BTQQe.js +1 -0
  1112. package/editor-web/assets/cynefinDiagram-WF24UDRP-LbDkOTy3.js +62 -0
  1113. package/editor-web/assets/dagre-NK4GIZVX-wCKQk7hi.js +4 -0
  1114. package/editor-web/assets/diagram-CBK3MWTC-a9fofQwk.js +24 -0
  1115. package/editor-web/assets/diagram-I5XIIV2D-UCLZWch5.js +24 -0
  1116. package/editor-web/assets/diagram-ODIL2UCW-CAEe88Lp.js +30 -0
  1117. package/editor-web/assets/diagram-PFBEJUXE-Cp1o45bs.js +3 -0
  1118. package/editor-web/assets/diagram-RJA3I4VV-c6OVxDyq.js +41 -0
  1119. package/editor-web/assets/diagram-TYUNFSNR-BVRWslDM.js +200 -0
  1120. package/editor-web/assets/dist--KKyT5zP.js +340 -0
  1121. package/editor-web/assets/dist-1k0MHB3i.js +1 -0
  1122. package/editor-web/assets/dist-B9KHJqL5.js +4 -0
  1123. package/editor-web/assets/dist-BbJyrhIY.js +1 -0
  1124. package/editor-web/assets/dist-CJXCQxQM.js +37 -0
  1125. package/editor-web/assets/dist-D9xQGwe9.js +5 -0
  1126. package/editor-web/assets/dist-DFiLzbx8.js +219 -0
  1127. package/editor-web/assets/dist-DIPV6xfF.js +2 -0
  1128. package/editor-web/assets/dist-Dp-fQMtx.js +6 -0
  1129. package/editor-web/assets/dist-Duw28VxJ.js +16 -0
  1130. package/editor-web/assets/dist-DwGhfliS.js +1 -0
  1131. package/editor-web/assets/dist-OBE2IIYP.js +24 -0
  1132. package/editor-web/assets/dist-YW8hS4IM.js +9 -0
  1133. package/editor-web/assets/dist-j6ZLVcgf.js +38 -0
  1134. package/editor-web/assets/ebnfDiagram-V4P3TTPT-KdOTJgFu.js +1 -0
  1135. package/editor-web/assets/elk-QONTBCTQ-Cmlrp7qB.js +27 -0
  1136. package/editor-web/assets/erDiagram-KYQIGQAA-CBM7-aQm.js +99 -0
  1137. package/editor-web/assets/eventmodeling-K75KTNOO-CEoJkbuW.js +1 -0
  1138. package/editor-web/assets/flowDiagram-IUGLLWBU-Xm2E2ib_.js +1 -0
  1139. package/editor-web/assets/ganttDiagram-R7GPNTJY-D4S6ZSYD.js +292 -0
  1140. package/editor-web/assets/gitGraph-VSP46ZUC-BvkL6RSh.js +1 -0
  1141. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-lTGguloH.js +106 -0
  1142. package/editor-web/assets/hint-BimUgJms.js +1 -0
  1143. package/editor-web/assets/index-C-i_iuxN.js +28 -0
  1144. package/editor-web/assets/index-Cxh_Shkm.css +2 -0
  1145. package/editor-web/assets/info-OHQRW6UA-DvKzqNvp.js +1 -0
  1146. package/editor-web/assets/infoDiagram-MVDRKAX5-D7hCpehs.js +2 -0
  1147. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-Bg93sZQe.js +70 -0
  1148. package/editor-web/assets/italic-BQBwRTe8.js +1 -0
  1149. package/editor-web/assets/journeyDiagram-BOSHW7O7-CKm_KONJ.js +139 -0
  1150. package/editor-web/assets/jsx-runtime-DePvh3-m.js +1 -0
  1151. package/editor-web/assets/kanban-definition-FNSA4HC5-BKknnpTR.js +89 -0
  1152. package/editor-web/assets/layout-SWqqA0yV.js +1 -0
  1153. package/editor-web/assets/mermaid-parser.core-BzqkDnqL.js +7 -0
  1154. package/editor-web/assets/mermaid.core-CEpvTOAe.js +44 -0
  1155. package/editor-web/assets/mindmap-definition-6OY57UG3-BJ0qG8Wi.js +98 -0
  1156. package/editor-web/assets/minus-oPj1GxwA.js +1 -0
  1157. package/editor-web/assets/packet-JDAUHWVQ-ew3kvyFm.js +1 -0
  1158. package/editor-web/assets/pegDiagram-ECIUJNBX-DqUS2xit.js +1 -0
  1159. package/editor-web/assets/picture-B-I4V_JT.js +1 -0
  1160. package/editor-web/assets/pie-XZMESJXO-DTIAMPGm.js +1 -0
  1161. package/editor-web/assets/pieDiagram-GNMPY74T-DoKOE02-.js +39 -0
  1162. package/editor-web/assets/progress-CPEbDOoN.js +6 -0
  1163. package/editor-web/assets/quadrantDiagram-D57K4MC3-DauOpYun.js +7 -0
  1164. package/editor-web/assets/radar-ABXABTNO-BvMJXUU-.js +1 -0
  1165. package/editor-web/assets/railroad-I3PHUGI6-D3jdJmhM.js +1 -0
  1166. package/editor-web/assets/railroad-abnf-LNEFI6M7-Dm8ZpmPj.js +1 -0
  1167. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-oc0Du7Ag.js +1 -0
  1168. package/editor-web/assets/railroad-peg-JR7BVNR7-CMrQL_7U.js +1 -0
  1169. package/editor-web/assets/railroadDiagram-Y72NRBL7-y99z0C7i.js +1 -0
  1170. package/editor-web/assets/react-DztDSW4P.js +1 -0
  1171. package/editor-web/assets/read-view-DnCFmJFo.js +1 -0
  1172. package/editor-web/assets/read-view-uW5LmuBT.js +1 -0
  1173. package/editor-web/assets/read-view-v3cx-9XM.js +1 -0
  1174. package/editor-web/assets/repeat-2-DJi4LW5C.js +1 -0
  1175. package/editor-web/assets/requirementDiagram-EQYSW5RA-jMr_uoF6.js +84 -0
  1176. package/editor-web/assets/row-ClBisiBs.js +1 -0
  1177. package/editor-web/assets/sankeyDiagram-SY24JHO5-DcUyx03Q.js +40 -0
  1178. package/editor-web/assets/schemas-68mjUjP5.js +1 -0
  1179. package/editor-web/assets/sequenceDiagram-BLEHNHQU-R4X8wRCd.js +169 -0
  1180. package/editor-web/assets/session-2u9U7koW.js +1 -0
  1181. package/editor-web/assets/slides-BByblSSR.js +1 -0
  1182. package/editor-web/assets/snapshots-C9KV-Y2_.js +56 -0
  1183. package/editor-web/assets/sound-DExlNJbb.js +1 -0
  1184. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BqvXKbCA.js +291 -0
  1185. package/editor-web/assets/strikethrough-CyUBnGTl.js +1 -0
  1186. package/editor-web/assets/svg-lBRT-uhy.js +1 -0
  1187. package/editor-web/assets/swatch-1c1uVn1z.js +1 -0
  1188. package/editor-web/assets/swimlanes-B3ENRKFQ-hjTXIc6M.js +1 -0
  1189. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BLfytmPY.js +8 -0
  1190. package/editor-web/assets/switch-D0K-K8-C.js +1 -0
  1191. package/editor-web/assets/syntax-Bih_jv7W.js +1 -0
  1192. package/editor-web/assets/syntax-C0iPON60.js +18 -0
  1193. package/editor-web/assets/tabs-CxxOnGLR.js +1 -0
  1194. package/editor-web/assets/textarea-Fu93tFO3.js +105 -0
  1195. package/editor-web/assets/timeline-definition-JXYKGLGB-BcSoN4Dq.js +120 -0
  1196. package/editor-web/assets/tinos-cyrillic-400-italic-CUXT6ECP.woff +0 -0
  1197. package/editor-web/assets/tinos-cyrillic-400-italic-D26KjN84.woff2 +0 -0
  1198. package/editor-web/assets/tinos-cyrillic-400-normal-BInRL8Bn.woff +0 -0
  1199. package/editor-web/assets/tinos-cyrillic-400-normal-kS2dpklR.woff2 +0 -0
  1200. package/editor-web/assets/tinos-cyrillic-700-italic-CUFPRiVR.woff2 +0 -0
  1201. package/editor-web/assets/tinos-cyrillic-700-italic-DU6-gZzV.woff +0 -0
  1202. package/editor-web/assets/tinos-cyrillic-700-normal-DGklj3DM.woff2 +0 -0
  1203. package/editor-web/assets/tinos-cyrillic-700-normal-HYhic5tl.woff +0 -0
  1204. package/editor-web/assets/tinos-cyrillic-ext-400-italic-Bz6A2Xew.woff2 +0 -0
  1205. package/editor-web/assets/tinos-cyrillic-ext-400-italic-CgiySoL2.woff +0 -0
  1206. package/editor-web/assets/tinos-cyrillic-ext-400-normal-DdITlKdb.woff2 +0 -0
  1207. package/editor-web/assets/tinos-cyrillic-ext-400-normal-l41d2z3M.woff +0 -0
  1208. package/editor-web/assets/tinos-cyrillic-ext-700-italic-BQu9kgBz.woff +0 -0
  1209. package/editor-web/assets/tinos-cyrillic-ext-700-italic-Ceua-rFl.woff2 +0 -0
  1210. package/editor-web/assets/tinos-cyrillic-ext-700-normal-CE86bzrR.woff2 +0 -0
  1211. package/editor-web/assets/tinos-cyrillic-ext-700-normal-yBtNmQaZ.woff +0 -0
  1212. package/editor-web/assets/tinos-greek-400-italic-CITkaQD8.woff2 +0 -0
  1213. package/editor-web/assets/tinos-greek-400-italic-Dc-Zjc_Z.woff +0 -0
  1214. package/editor-web/assets/tinos-greek-400-normal-BKmklotr.woff2 +0 -0
  1215. package/editor-web/assets/tinos-greek-400-normal-D6DCdDEC.woff +0 -0
  1216. package/editor-web/assets/tinos-greek-700-italic-C474ACqK.woff2 +0 -0
  1217. package/editor-web/assets/tinos-greek-700-italic-VKIu6SKO.woff +0 -0
  1218. package/editor-web/assets/tinos-greek-700-normal-CAsZoNo7.woff +0 -0
  1219. package/editor-web/assets/tinos-greek-700-normal-DZiY5218.woff2 +0 -0
  1220. package/editor-web/assets/tinos-greek-ext-400-italic-C7FWsVQN.woff +0 -0
  1221. package/editor-web/assets/tinos-greek-ext-400-italic-QOcg_kQA.woff2 +0 -0
  1222. package/editor-web/assets/tinos-greek-ext-400-normal-1tgngtmV.woff2 +0 -0
  1223. package/editor-web/assets/tinos-greek-ext-400-normal-BY5Lx0CY.woff +0 -0
  1224. package/editor-web/assets/tinos-greek-ext-700-italic-2QV0uNor.woff2 +0 -0
  1225. package/editor-web/assets/tinos-greek-ext-700-italic-zoEBc9cL.woff +0 -0
  1226. package/editor-web/assets/tinos-greek-ext-700-normal-Bu9AJavU.woff +0 -0
  1227. package/editor-web/assets/tinos-greek-ext-700-normal-nVGGTb9r.woff2 +0 -0
  1228. package/editor-web/assets/tinos-hebrew-400-italic-Cp89YzKh.woff2 +0 -0
  1229. package/editor-web/assets/tinos-hebrew-400-italic-k5xAEjEk.woff +0 -0
  1230. package/editor-web/assets/tinos-hebrew-400-normal-B17QmYDt.woff2 +0 -0
  1231. package/editor-web/assets/tinos-hebrew-400-normal-DhGqnHb1.woff +0 -0
  1232. package/editor-web/assets/tinos-hebrew-700-italic-BSdnwE5c.woff2 +0 -0
  1233. package/editor-web/assets/tinos-hebrew-700-italic-DuNrcWBH.woff +0 -0
  1234. package/editor-web/assets/tinos-hebrew-700-normal-B737la7J.woff +0 -0
  1235. package/editor-web/assets/tinos-hebrew-700-normal-BNVAlJ0i.woff2 +0 -0
  1236. package/editor-web/assets/tinos-latin-400-italic-BYAl0kbZ.woff2 +0 -0
  1237. package/editor-web/assets/tinos-latin-400-italic-HcuZF3H0.woff +0 -0
  1238. package/editor-web/assets/tinos-latin-400-normal-B05awSIM.woff +0 -0
  1239. package/editor-web/assets/tinos-latin-400-normal-rilFpyjL.woff2 +0 -0
  1240. package/editor-web/assets/tinos-latin-700-italic-M0H2aQ0O.woff +0 -0
  1241. package/editor-web/assets/tinos-latin-700-italic-vJg8Axdx.woff2 +0 -0
  1242. package/editor-web/assets/tinos-latin-700-normal-CjcRkLdR.woff +0 -0
  1243. package/editor-web/assets/tinos-latin-700-normal-qGf2y18O.woff2 +0 -0
  1244. package/editor-web/assets/tinos-latin-ext-400-italic-DKtLLJa2.woff +0 -0
  1245. package/editor-web/assets/tinos-latin-ext-400-italic-WsHooD3r.woff2 +0 -0
  1246. package/editor-web/assets/tinos-latin-ext-400-normal-BUQPNqi9.woff +0 -0
  1247. package/editor-web/assets/tinos-latin-ext-400-normal-C68eX7xt.woff2 +0 -0
  1248. package/editor-web/assets/tinos-latin-ext-700-italic-BtLLKPsV.woff2 +0 -0
  1249. package/editor-web/assets/tinos-latin-ext-700-italic-Gmi35kWa.woff +0 -0
  1250. package/editor-web/assets/tinos-latin-ext-700-normal-CesJqEpY.woff2 +0 -0
  1251. package/editor-web/assets/tinos-latin-ext-700-normal-nLvPiDAe.woff +0 -0
  1252. package/editor-web/assets/tinos-vietnamese-400-italic-BJdaJnTX.woff2 +0 -0
  1253. package/editor-web/assets/tinos-vietnamese-400-italic-C0nreyLC.woff +0 -0
  1254. package/editor-web/assets/tinos-vietnamese-400-normal-BYl6xqrz.woff +0 -0
  1255. package/editor-web/assets/tinos-vietnamese-400-normal-CrJeqB3M.woff2 +0 -0
  1256. package/editor-web/assets/tinos-vietnamese-700-italic-BPJuDXkI.woff2 +0 -0
  1257. package/editor-web/assets/tinos-vietnamese-700-italic-Dl6iR3hy.woff +0 -0
  1258. package/editor-web/assets/tinos-vietnamese-700-normal-CmLX0U_H.woff2 +0 -0
  1259. package/editor-web/assets/tinos-vietnamese-700-normal-bKCZ5S7w.woff +0 -0
  1260. package/editor-web/assets/trash-2-BAKAeziW.js +1 -0
  1261. package/editor-web/assets/treeView-D4JQ5SDB-CsFN2jrc.js +1 -0
  1262. package/editor-web/assets/treemap-SAJKECNS-DP1eqXJ2.js +1 -0
  1263. package/editor-web/assets/undo-2-DQ5CBmki.js +1 -0
  1264. package/editor-web/assets/usecaseDiagram-WPOLBNNX-BGxa0osF.js +328 -0
  1265. package/editor-web/assets/vennDiagram-Q3Y3IDCW-D2XhTF49.js +34 -0
  1266. package/editor-web/assets/video-CDbPX4Cr.js +1 -0
  1267. package/editor-web/assets/wardley-7MLQ67FV-DM3jMAbZ.js +1 -0
  1268. package/editor-web/assets/wardleyDiagram-IVAIDKWA-Bf-DaZEg.js +78 -0
  1269. package/editor-web/assets/xychartDiagram-4URNHDU4-dp-mdcWd.js +7 -0
  1270. package/editor-web/index.html +8 -3
  1271. package/package.json +21 -5
  1272. package/dist/audio-text.js +0 -6
  1273. package/dist/cloud-hearing.js +0 -2
  1274. package/dist/commands/audio.js +0 -4
  1275. package/dist/commands/inspect/contrast.js +0 -2
  1276. package/dist/commands/inspect/fidelity.js +0 -2
  1277. package/dist/commands/inspect/joins.js +0 -2
  1278. package/dist/commands/inspect/motion.js +0 -4
  1279. package/dist/commands/inspect/sheet.js +0 -3
  1280. package/dist/commands/inspect/timeline.js +0 -3
  1281. package/dist/commands/model.js +0 -3
  1282. package/dist/commands/reference-text.js +0 -5
  1283. package/dist/commands/reference.js +0 -2
  1284. package/dist/commands/scenery-input.js +0 -2
  1285. package/dist/commands/scenery.js +0 -7
  1286. package/dist/commands/sheet.js +0 -8
  1287. package/dist/commands/site.js +0 -4
  1288. package/dist/commands/slides.js +0 -3
  1289. package/dist/commands/voice.js +0 -3
  1290. package/dist/commands/words-text.js +0 -6
  1291. package/dist/commands/words.js +0 -2
  1292. package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +0 -34
  1293. package/dist/node_modules/@allyhub/build/dist/sheet-code.js +0 -2
  1294. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +0 -11
  1295. package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +0 -33
  1296. package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +0 -206
  1297. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +0 -15
  1298. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +0 -6
  1299. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +0 -22
  1300. package/dist/node_modules/@allyhub/check/dist/generated.js +0 -2
  1301. package/dist/node_modules/@allyhub/check/dist/plans.js +0 -3
  1302. package/dist/node_modules/@allyhub/check/dist/scenery.js +0 -2
  1303. package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +0 -65
  1304. package/dist/node_modules/@allyhub/doc/dist/color.d.ts +0 -6
  1305. package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +0 -6
  1306. package/dist/node_modules/@allyhub/doc/dist/component.d.ts +0 -27
  1307. package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +0 -39
  1308. package/dist/node_modules/@allyhub/doc/dist/html.d.ts +0 -49
  1309. package/dist/node_modules/@allyhub/doc/dist/index.d.ts +0 -13
  1310. package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +0 -13
  1311. package/dist/node_modules/@allyhub/doc/dist/math.d.ts +0 -11
  1312. package/dist/node_modules/@allyhub/doc/dist/model.d.ts +0 -280
  1313. package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +0 -39
  1314. package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +0 -24
  1315. package/dist/node_modules/@allyhub/doc/dist/patch.d.ts +0 -8
  1316. package/dist/node_modules/@allyhub/doc/dist/title.d.ts +0 -23
  1317. package/dist/node_modules/@allyhub/doc/dist/write.d.ts +0 -18
  1318. package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +0 -2
  1319. package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
  1320. package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
  1321. package/dist/node_modules/@allyhub/measure/dist/contrast.js +0 -2
  1322. package/dist/node_modules/@allyhub/measure/dist/cuts.js +0 -2
  1323. package/dist/node_modules/@allyhub/measure/dist/facts.js +0 -2
  1324. package/dist/node_modules/@allyhub/measure/dist/fidelity.js +0 -3
  1325. package/dist/node_modules/@allyhub/measure/dist/overlay.js +0 -2
  1326. package/dist/node_modules/@allyhub/measure/dist/recording-report.js +0 -2
  1327. package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +0 -2
  1328. package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +0 -2
  1329. package/dist/node_modules/@allyhub/measure/dist/reference/text.js +0 -2
  1330. package/dist/node_modules/@allyhub/measure/dist/reference/video.js +0 -2
  1331. package/dist/node_modules/@allyhub/measure/dist/sound-report.js +0 -2
  1332. package/dist/node_modules/@allyhub/media/dist/asr/hear.d.ts +0 -41
  1333. package/dist/node_modules/@allyhub/media/dist/asr/hear.js +0 -2
  1334. package/dist/node_modules/@allyhub/media/dist/asr/languages.d.ts +0 -9
  1335. package/dist/node_modules/@allyhub/media/dist/asr/languages.js +0 -2
  1336. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.d.ts +0 -54
  1337. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +0 -7
  1338. package/dist/node_modules/@allyhub/media/dist/asr/protocol.d.ts +0 -20
  1339. package/dist/node_modules/@allyhub/media/dist/asr/protocol.js +0 -2
  1340. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +0 -50
  1341. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.js +0 -2
  1342. package/dist/node_modules/@allyhub/media/dist/asr/windows.d.ts +0 -34
  1343. package/dist/node_modules/@allyhub/media/dist/asr/windows.js +0 -2
  1344. package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +0 -7
  1345. package/dist/node_modules/@allyhub/media/dist/asr/words.js +0 -2
  1346. package/dist/node_modules/@allyhub/media/dist/asr/worker.d.ts +0 -2
  1347. package/dist/node_modules/@allyhub/media/dist/asr/worker.js +0 -4
  1348. package/dist/node_modules/@allyhub/media/dist/local.d.ts +0 -39
  1349. package/dist/node_modules/@allyhub/media/dist/local.js +0 -2
  1350. package/dist/node_modules/@allyhub/media/dist/ocr/lines.d.ts +0 -36
  1351. package/dist/node_modules/@allyhub/media/dist/ocr/lines.js +0 -2
  1352. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.d.ts +0 -62
  1353. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.js +0 -2
  1354. package/dist/node_modules/@allyhub/media/dist/ocr/text.d.ts +0 -36
  1355. package/dist/node_modules/@allyhub/media/dist/ocr/text.js +0 -4
  1356. package/dist/node_modules/@allyhub/media/dist/ocr/worker.d.ts +0 -2
  1357. package/dist/node_modules/@allyhub/media/dist/ocr/worker.js +0 -5
  1358. package/dist/node_modules/@allyhub/media/dist/vision/common.d.ts +0 -32
  1359. package/dist/node_modules/@allyhub/media/dist/vision/common.js +0 -2
  1360. package/dist/node_modules/@allyhub/media/dist/vision/faces.d.ts +0 -18
  1361. package/dist/node_modules/@allyhub/media/dist/vision/faces.js +0 -2
  1362. package/dist/node_modules/@allyhub/media/dist/vision/index-media.d.ts +0 -48
  1363. package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +0 -3
  1364. package/dist/node_modules/@allyhub/media/dist/vision/matte.d.ts +0 -16
  1365. package/dist/node_modules/@allyhub/media/dist/vision/matte.js +0 -2
  1366. package/dist/node_modules/@allyhub/media/dist/vision/mattes.d.ts +0 -109
  1367. package/dist/node_modules/@allyhub/media/dist/vision/mattes.js +0 -2
  1368. package/dist/node_modules/@allyhub/media/dist/vision/models.d.ts +0 -16
  1369. package/dist/node_modules/@allyhub/media/dist/vision/models.js +0 -2
  1370. package/dist/node_modules/@allyhub/media/dist/vision/protocol.d.ts +0 -51
  1371. package/dist/node_modules/@allyhub/media/dist/vision/protocol.js +0 -2
  1372. package/dist/node_modules/@allyhub/media/dist/vision/run.d.ts +0 -12
  1373. package/dist/node_modules/@allyhub/media/dist/vision/run.js +0 -4
  1374. package/dist/node_modules/@allyhub/media/dist/vision/runtime.d.ts +0 -16
  1375. package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +0 -8
  1376. package/dist/node_modules/@allyhub/media/dist/vision/status.d.ts +0 -24
  1377. package/dist/node_modules/@allyhub/media/dist/vision/status.js +0 -2
  1378. package/dist/node_modules/@allyhub/media/dist/vision/track.d.ts +0 -54
  1379. package/dist/node_modules/@allyhub/media/dist/vision/track.js +0 -2
  1380. package/dist/node_modules/@allyhub/media/dist/vision/worker.d.ts +0 -2
  1381. package/dist/node_modules/@allyhub/media/dist/vision/worker.js +0 -5
  1382. package/dist/node_modules/@allyhub/media/dist/vision/yunet.d.ts +0 -35
  1383. package/dist/node_modules/@allyhub/media/dist/vision/yunet.js +0 -2
  1384. package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +0 -3
  1385. package/dist/node_modules/@allyhub/media/dist/worker-process.js +0 -2
  1386. package/dist/node_modules/@allyhub/ooxml/dist/brightness.d.ts +0 -31
  1387. package/dist/node_modules/@allyhub/ooxml/dist/color.d.ts +0 -33
  1388. package/dist/node_modules/@allyhub/ooxml/dist/enums.d.ts +0 -13
  1389. package/dist/node_modules/@allyhub/ooxml/dist/ext.d.ts +0 -79
  1390. package/dist/node_modules/@allyhub/ooxml/dist/generated/enums.d.ts +0 -132
  1391. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +0 -28
  1392. package/dist/node_modules/@allyhub/ooxml/dist/generated/spec.d.ts +0 -4708
  1393. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +0 -57
  1394. package/dist/node_modules/@allyhub/ooxml/dist/index.d.ts +0 -10
  1395. package/dist/node_modules/@allyhub/ooxml/dist/mce.d.ts +0 -12
  1396. package/dist/node_modules/@allyhub/ooxml/dist/node.d.ts +0 -111
  1397. package/dist/node_modules/@allyhub/ooxml/dist/ns.d.ts +0 -45
  1398. package/dist/node_modules/@allyhub/ooxml/dist/opc.d.ts +0 -48
  1399. package/dist/node_modules/@allyhub/ooxml/dist/report.d.ts +0 -45
  1400. package/dist/node_modules/@allyhub/ooxml/dist/xml.d.ts +0 -28
  1401. package/dist/node_modules/@allyhub/project/dist/deck-keys.js +0 -2
  1402. package/dist/node_modules/@allyhub/project/dist/deck-measure.js +0 -2
  1403. package/dist/node_modules/@allyhub/project/dist/deck-pool.js +0 -2
  1404. package/dist/node_modules/@allyhub/project/dist/says.js +0 -2
  1405. package/dist/node_modules/@allyhub/project/dist/scenery.js +0 -2
  1406. package/dist/node_modules/@allyhub/project/dist/stretch.js +0 -2
  1407. package/dist/node_modules/@allyhub/render/dist/doc/fonts.js +0 -4
  1408. package/dist/node_modules/@allyhub/render/dist/doc/index.js +0 -2
  1409. package/dist/node_modules/@allyhub/render/dist/doc/pages.js +0 -32
  1410. package/dist/node_modules/@allyhub/render/dist/doc/print.js +0 -41
  1411. package/dist/node_modules/@allyhub/render/dist/webp.js +0 -2
  1412. package/dist/node_modules/@allyhub/runtime/dist/console.js +0 -2
  1413. package/dist/node_modules/@allyhub/runtime/dist/env.js +0 -2
  1414. package/dist/node_modules/@allyhub/runtime/dist/errors.js +0 -2
  1415. package/dist/node_modules/@allyhub/runtime/dist/inspect.js +0 -3
  1416. package/dist/node_modules/@allyhub/runtime/dist/locate.js +0 -2
  1417. package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +0 -2
  1418. package/dist/node_modules/@allyhub/runtime/dist/reads.js +0 -2
  1419. package/dist/node_modules/@allyhub/runtime/dist/stage.js +0 -2
  1420. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
  1421. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
  1422. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
  1423. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
  1424. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
  1425. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
  1426. package/dist/node_modules/@allyhub/sheet/dist/address.d.ts +0 -32
  1427. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.d.ts +0 -23
  1428. package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +0 -204
  1429. package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +0 -19
  1430. package/dist/node_modules/@allyhub/sheet/dist/api/hint.d.ts +0 -3
  1431. package/dist/node_modules/@allyhub/sheet/dist/api/index.d.ts +0 -8
  1432. package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +0 -83
  1433. package/dist/node_modules/@allyhub/sheet/dist/api/rectangles.d.ts +0 -4
  1434. package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +0 -170
  1435. package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +0 -117
  1436. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +0 -362
  1437. package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +0 -68
  1438. package/dist/node_modules/@allyhub/sheet/dist/calc/analyse.d.ts +0 -27
  1439. package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.d.ts +0 -23
  1440. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.d.ts +0 -199
  1441. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/aggregate.d.ts +0 -2
  1442. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/convert.d.ts +0 -4
  1443. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.d.ts +0 -15
  1444. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/database.d.ts +0 -2
  1445. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.d.ts +0 -2
  1446. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.d.ts +0 -95
  1447. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/delimiters.d.ts +0 -16
  1448. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/distributions.d.ts +0 -2
  1449. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/dynamic.d.ts +0 -19
  1450. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/finance.d.ts +0 -2
  1451. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/index.d.ts +0 -17
  1452. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.d.ts +0 -2
  1453. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.d.ts +0 -2
  1454. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/logical.d.ts +0 -2
  1455. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.d.ts +0 -2
  1456. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.d.ts +0 -2
  1457. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/modern.d.ts +0 -2
  1458. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/special.d.ts +0 -29
  1459. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.d.ts +0 -2
  1460. package/dist/node_modules/@allyhub/sheet/dist/calc/graph.d.ts +0 -38
  1461. package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.d.ts +0 -19
  1462. package/dist/node_modules/@allyhub/sheet/dist/calc/remote.d.ts +0 -49
  1463. package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +0 -82
  1464. package/dist/node_modules/@allyhub/sheet/dist/calc/types.d.ts +0 -55
  1465. package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +0 -52
  1466. package/dist/node_modules/@allyhub/sheet/dist/check.d.ts +0 -15
  1467. package/dist/node_modules/@allyhub/sheet/dist/diff.d.ts +0 -79
  1468. package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +0 -154
  1469. package/dist/node_modules/@allyhub/sheet/dist/export.d.ts +0 -32
  1470. package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +0 -19
  1471. package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +0 -24
  1472. package/dist/node_modules/@allyhub/sheet/dist/fill.d.ts +0 -30
  1473. package/dist/node_modules/@allyhub/sheet/dist/filter.d.ts +0 -29
  1474. package/dist/node_modules/@allyhub/sheet/dist/format.d.ts +0 -15
  1475. package/dist/node_modules/@allyhub/sheet/dist/formula/ast.d.ts +0 -113
  1476. package/dist/node_modules/@allyhub/sheet/dist/formula/move.d.ts +0 -6
  1477. package/dist/node_modules/@allyhub/sheet/dist/formula/parse.d.ts +0 -4
  1478. package/dist/node_modules/@allyhub/sheet/dist/formula/print.d.ts +0 -6
  1479. package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.d.ts +0 -65
  1480. package/dist/node_modules/@allyhub/sheet/dist/formula/walk.d.ts +0 -6
  1481. package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +0 -46
  1482. package/dist/node_modules/@allyhub/sheet/dist/html.d.ts +0 -82
  1483. package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +0 -11
  1484. package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +0 -42
  1485. package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +0 -25
  1486. package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +0 -98
  1487. package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +0 -4
  1488. package/dist/node_modules/@allyhub/sheet/dist/profile.d.ts +0 -30
  1489. package/dist/node_modules/@allyhub/sheet/dist/rules.d.ts +0 -56
  1490. package/dist/node_modules/@allyhub/sheet/dist/scenario.d.ts +0 -42
  1491. package/dist/node_modules/@allyhub/sheet/dist/series.d.ts +0 -10
  1492. package/dist/node_modules/@allyhub/sheet/dist/sort.d.ts +0 -24
  1493. package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +0 -38
  1494. package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +0 -32
  1495. package/dist/node_modules/@allyhub/sheet/dist/table-styles.d.ts +0 -3
  1496. package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +0 -26
  1497. package/dist/node_modules/@allyhub/sheet/dist/values.d.ts +0 -67
  1498. package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +0 -324
  1499. package/dist/node_modules/@allyhub/sheet/dist/write.d.ts +0 -5
  1500. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +0 -53
  1501. package/dist/node_modules/@allyhub/sheet/dist/xlsx/colors.d.ts +0 -19
  1502. package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.d.ts +0 -31
  1503. package/dist/node_modules/@allyhub/sheet/dist/xlsx/functions.d.ts +0 -15
  1504. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +0 -49
  1505. package/dist/node_modules/@allyhub/sheet/dist/xlsx/index.d.ts +0 -5
  1506. package/dist/node_modules/@allyhub/sheet/dist/xlsx/numfmt.d.ts +0 -8
  1507. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +0 -159
  1508. package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.d.ts +0 -23
  1509. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.d.ts +0 -25
  1510. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.d.ts +0 -3
  1511. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.d.ts +0 -23
  1512. package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.d.ts +0 -28
  1513. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +0 -40
  1514. package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +0 -129
  1515. package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +0 -730
  1516. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.d.ts +0 -18
  1517. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +0 -202
  1518. package/dist/node_modules/@allyhub/slides-core/dist/check.d.ts +0 -7
  1519. package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +0 -33
  1520. package/dist/node_modules/@allyhub/slides-core/dist/components.d.ts +0 -31
  1521. package/dist/node_modules/@allyhub/slides-core/dist/enums.d.ts +0 -329
  1522. package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +0 -131
  1523. package/dist/node_modules/@allyhub/slides-core/dist/identity.d.ts +0 -17
  1524. package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +0 -25
  1525. package/dist/node_modules/@allyhub/slides-core/dist/lang.d.ts +0 -6
  1526. package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +0 -34
  1527. package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +0 -58
  1528. package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +0 -293
  1529. package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +0 -84
  1530. package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +0 -6
  1531. package/dist/node_modules/@allyhub/slides-core/dist/placeholders.d.ts +0 -7
  1532. package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +0 -202
  1533. package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +0 -45
  1534. package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +0 -61
  1535. package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +0 -7
  1536. package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +0 -72
  1537. package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +0 -62
  1538. package/dist/node_modules/@allyhub/slides-core/dist/values.d.ts +0 -7
  1539. package/dist/node_modules/@allyhub/stage/dist/bakes.js +0 -4
  1540. package/dist/node_modules/@allyhub/stage/dist/graphics.js +0 -2
  1541. package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +0 -12
  1542. package/dist/node_modules/@allyhub/stage/dist/scenery.js +0 -2
  1543. package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +0 -79
  1544. package/dist/node_modules/@allyhub/video-core/dist/anchors.d.ts +0 -164
  1545. package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +0 -148
  1546. package/dist/node_modules/@allyhub/video-core/dist/backdrop.d.ts +0 -87
  1547. package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +0 -122
  1548. package/dist/node_modules/@allyhub/video-core/dist/component.js +0 -2
  1549. package/dist/node_modules/@allyhub/video-core/dist/contrast.d.ts +0 -98
  1550. package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +0 -77
  1551. package/dist/node_modules/@allyhub/video-core/dist/edit.d.ts +0 -77
  1552. package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +0 -163
  1553. package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +0 -97
  1554. package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
  1555. package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +0 -1179
  1556. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +0 -168
  1557. package/dist/node_modules/@allyhub/video-core/dist/formats.d.ts +0 -205
  1558. package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
  1559. package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
  1560. package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +0 -41
  1561. package/dist/node_modules/@allyhub/video-core/dist/look.d.ts +0 -66
  1562. package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +0 -563
  1563. package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +0 -226
  1564. package/dist/node_modules/@allyhub/video-core/dist/media.js +0 -2
  1565. package/dist/node_modules/@allyhub/video-core/dist/messages.d.ts +0 -88
  1566. package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +0 -56
  1567. package/dist/node_modules/@allyhub/video-core/dist/music.d.ts +0 -111
  1568. package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +0 -1154
  1569. package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +0 -37
  1570. package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
  1571. package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
  1572. package/dist/node_modules/@allyhub/video-core/dist/render-types.d.ts +0 -49
  1573. package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +0 -350
  1574. package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +0 -180
  1575. package/dist/node_modules/@allyhub/video-core/dist/script.d.ts +0 -76
  1576. package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
  1577. package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +0 -214
  1578. package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +0 -72
  1579. package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
  1580. package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +0 -83
  1581. package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +0 -631
  1582. package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +0 -88
  1583. package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +0 -288
  1584. package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +0 -300
  1585. package/dist/node_modules/@allyhub/video-core/dist/voice.d.ts +0 -175
  1586. package/dist/text/timeline-text.js +0 -2
  1587. package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +0 -1
  1588. package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +0 -1
  1589. package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +0 -36
  1590. package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +0 -140
  1591. package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +0 -38
  1592. package/editor-web/assets/calc-worker-BTNuOUVJ.js +0 -158
  1593. package/editor-web/assets/channel-hhT2g1yB.js +0 -1
  1594. package/editor-web/assets/choice-BJc3Tv5F.js +0 -10
  1595. package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +0 -88
  1596. package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +0 -1
  1597. package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +0 -1
  1598. package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +0 -2
  1599. package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +0 -72
  1600. package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +0 -129
  1601. package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +0 -62
  1602. package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +0 -1
  1603. package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +0 -213
  1604. package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +0 -1
  1605. package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +0 -1
  1606. package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +0 -10
  1607. package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +0 -1
  1608. package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +0 -1
  1609. package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +0 -2
  1610. package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +0 -217
  1611. package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +0 -1
  1612. package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +0 -62
  1613. package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +0 -4
  1614. package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +0 -24
  1615. package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +0 -24
  1616. package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +0 -30
  1617. package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +0 -3
  1618. package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +0 -41
  1619. package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +0 -200
  1620. package/editor-web/assets/dist-BRuoygB7.js +0 -2
  1621. package/editor-web/assets/dist-CK42vCmN.js +0 -550
  1622. package/editor-web/assets/dist-C_buDsM-.js +0 -36
  1623. package/editor-web/assets/dist-DNcXHhzn.js +0 -37
  1624. package/editor-web/assets/dist-HxiPpGXi.js +0 -10
  1625. package/editor-web/assets/dist-PF3VMsK7.js +0 -1
  1626. package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +0 -1
  1627. package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +0 -27
  1628. package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +0 -99
  1629. package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +0 -1
  1630. package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +0 -1
  1631. package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +0 -292
  1632. package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +0 -1
  1633. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +0 -106
  1634. package/editor-web/assets/hint-BwGc32IE.js +0 -1
  1635. package/editor-web/assets/index-BQKSbBSy.js +0 -69
  1636. package/editor-web/assets/index-CfD80QPx.css +0 -2
  1637. package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +0 -1
  1638. package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +0 -2
  1639. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +0 -70
  1640. package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +0 -139
  1641. package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +0 -89
  1642. package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +0 -7
  1643. package/editor-web/assets/mermaid.core-CVH2hRmI.js +0 -44
  1644. package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +0 -98
  1645. package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +0 -1
  1646. package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +0 -1
  1647. package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +0 -1
  1648. package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +0 -39
  1649. package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +0 -7
  1650. package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +0 -1
  1651. package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +0 -1
  1652. package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +0 -1
  1653. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +0 -1
  1654. package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +0 -1
  1655. package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +0 -1
  1656. package/editor-web/assets/react-BSSSHUyV.js +0 -101
  1657. package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +0 -84
  1658. package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +0 -40
  1659. package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +0 -169
  1660. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +0 -291
  1661. package/editor-web/assets/svg-BiObwMnL.js +0 -1
  1662. package/editor-web/assets/swatch-CwskGSEY.js +0 -105
  1663. package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +0 -1
  1664. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +0 -8
  1665. package/editor-web/assets/tabs-uHwPMprC.js +0 -1
  1666. package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +0 -120
  1667. package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +0 -1
  1668. package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +0 -1
  1669. package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +0 -328
  1670. package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +0 -34
  1671. package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +0 -1
  1672. package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +0 -78
  1673. package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +0 -7
  1674. /package/dist/{commands → node_modules/@allyhub/3d-extension/dist/cli}/scenery-text.js +0 -0
  1675. /package/dist/node_modules/@allyhub/{check/dist/result.js → build/dist/stage-route.js} +0 -0
  1676. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/drawn.js +0 -0
  1677. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/pdf.js +0 -0
  1678. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
  1679. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
  1680. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/contrast.js +0 -0
  1681. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/fonts.js +0 -0
  1682. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/guards.js +0 -0
  1683. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/pictures.js +0 -0
  1684. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/styles.js +0 -0
  1685. /package/dist/node_modules/@allyhub/{runtime/dist/bridge.js → image-extension/dist/page.js} +0 -0
  1686. /package/dist/node_modules/@allyhub/{render → image-render}/dist/pdf.js +0 -0
  1687. /package/dist/node_modules/@allyhub/{render → image-render}/dist/png.js +0 -0
  1688. /package/dist/node_modules/@allyhub/{render → measure}/dist/image.js +0 -0
  1689. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
  1690. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
  1691. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
  1692. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
  1693. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
  1694. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
  1695. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
  1696. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
  1697. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
  1698. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
  1699. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
  1700. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
  1701. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
  1702. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
  1703. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
  1704. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
  1705. /package/dist/node_modules/@allyhub/{stage/dist/scenery-solve.js → scenery-host/dist/stage/solve.js} +0 -0
  1706. /package/dist/node_modules/@allyhub/{export → slides-extension}/dist/deck-fonts.js +0 -0
  1707. /package/dist/node_modules/@allyhub/{dev-server/dist/fonts.js → slides-extension/dist/font-faces.js} +0 -0
  1708. /package/dist/node_modules/@allyhub/{dev-server → video-extension}/dist/sound.js +0 -0
  1709. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/cut-sheet.js +0 -0
  1710. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/flat.js +0 -0
  1711. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/loop.js +0 -0
  1712. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/compare.js +0 -0
  1713. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/folder.js +0 -0
  1714. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/interpret.js +0 -0
  1715. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/sections.js +0 -0
  1716. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/seams.js +0 -0
  1717. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/sound-measures.js +0 -0
  1718. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/still.js +0 -0
  1719. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/version-voice.js +0 -0
@@ -0,0 +1,24 @@
1
+ import{i as e,n as t}from"./rolldown-runtime-COiEfhsA.js";import{a as n,c as r,f as i,l as a,o,p as s,s as c,u as l,v as u}from"./react-DztDSW4P.js";import{Ct as d,Tt as f,_t as p,bt as m,gt as h,t as g,vt as _,wt as v,yt as y}from"./button-Chk675Xu.js";import{A as b,B as x,J as S,P as C,R as w,S as T,V as E,W as D,X as O,Y as k,_ as A,b as j,et as M,g as ee,it as N,tt as P,x as te}from"./snapshots-C9KV-Y2_.js";import{n as ne,t as re}from"./schemas-68mjUjP5.js";import{t as F}from"./session-2u9U7koW.js";import{t as I}from"./jsx-runtime-DePvh3-m.js";import{t as L}from"./createLucideIcon-CPS-TrJJ.js";import{t as ie}from"./audio-lines-BFcM7G2L.js";import{S as ae,a as oe,i as se,n as ce,w as le}from"./dist-Dp-fQMtx.js";import{n as ue,t as de}from"./undo-2-DQ5CBmki.js";import{i as R,n as fe,r as z,t as pe}from"./hint-BimUgJms.js";import{Y as B,a as me,at as he,ct as V,mt as ge,n as _e,o as ve,ot as ye,r as be,s as H,u as xe}from"./index-C-i_iuxN.js";import{n as Se,r as Ce,t as we}from"./collaborator-LRd0hELn.js";import{O as Te,a as Ee,c as De,d as Oe,n as U,r as ke,s as Ae,t as W}from"./dist-YW8hS4IM.js";var G=[`error`,`saving`,`unsaved`,`saved`],je=class e{host;options;sessions=new Map;opening=new Map;done=[];undone=[];stateListeners=new Set;undoListeners=new Set;stops=[];last=`saved`;closed=!1;constructor(e,t){this.host=e,this.options={...t,report:!1}}static async open(t,n,r={}){let i=new e(t,r);return await Promise.all(n.map(e=>i.add(e))),i}add(e){let t=this.sessions.get(e);if(t)return Promise.resolve(t);let n=this.opening.get(e);return n||(n=F.open(this.host,e,this.options).then(t=>(this.sessions.set(e,t),this.opening.delete(e),this.stops.push(t.onState(()=>{this.stateChanged()})),this.closed&&t.close(),t)),this.opening.set(e,n)),n}file(e){return this.sessions.get(e)}get paths(){return[...this.sessions.keys()]}get state(){let e=[...this.sessions.values()].map(e=>e.state);return G.find(t=>e.includes(t))??`saved`}get error(){return[...this.sessions.values()].find(e=>e.error!==void 0)?.error}onState(e){return this.stateListeners.add(e),()=>this.stateListeners.delete(e)}stateChanged(){let e=this.state;if(e!==this.last){this.last=e;for(let t of this.stateListeners)t(e);this.host[`editor/state`]&&this.host[`editor/state`]({state:e,...e===`error`&&this.error!==void 0?{message:this.error}:{}}).catch(()=>void 0)}}edited(e){for(let t of e)this.sessions.get(t)?.edited()}pushEdit(e){this.closed||(this.done.push(e),this.undone.length=0,this.edited(e.files),this.undoChanged())}amend(e){let t=this.done.pop();if(!t){this.pushEdit(e);return}let n=[...new Set([...t.files,...e.files])];this.done.push({label:e.label,files:n,undo:()=>{e.undo(),t.undo()},redo:()=>{t.redo(),e.redo()}}),this.undone.length=0,this.edited(e.files),this.undoChanged()}get canUndo(){return this.done.length>0}get canRedo(){return this.undone.length>0}get undoLabel(){return this.done.at(-1)?.label}get redoLabel(){return this.undone.at(-1)?.label}undo(){let e=this.done.pop();return e?(e.undo(),this.undone.push(e),this.edited(e.files),this.undoChanged(),!0):!1}redo(){let e=this.undone.pop();return e?(e.redo(),this.done.push(e),this.edited(e.files),this.undoChanged(),!0):!1}onUndo(e){return this.undoListeners.add(e),()=>this.undoListeners.delete(e)}undoChanged(){for(let e of this.undoListeners)e()}async flush(){await Promise.all([...this.sessions.values()].map(e=>e.flush()))}async close(){this.closed=!0;for(let e of this.stops.splice(0))e();await Promise.all([...this.sessions.values()].map(e=>e.close()))}},Me=L(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),Ne=L(`music`,[[`path`,{d:`M9 18V5l12-2v13`,key:`1jmyc2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`circle`,{cx:`18`,cy:`16`,r:`3`,key:`1hluhg`}]]),Pe=L(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),Fe=L(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Ie=L(`scissors`,[[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M8.12 8.12 12 12`,key:`1alkpv`}],[`path`,{d:`M20 4 8.12 15.88`,key:`xgtan2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`path`,{d:`M14.8 14.8 20 20`,key:`ptml3r`}]]),K=e(u(),1),q=I();function Le({className:e,...t}){return(0,q.jsx)(`span`,{className:h(`text-muted-foreground font-mono text-micro leading-4 font-normal tracking-label uppercase`,e),...t})}function Re({label:e,count:t=4,size:n=10,className:r}){return(0,q.jsx)(`span`,{role:`status`,"aria-label":e,className:h(`inline-flex items-end gap-[3px]`,r),children:Array.from({length:t},(e,t)=>(0,q.jsx)(`span`,{className:`bg-foreground animate-squares-drop block`,style:{width:n,height:n,animationDelay:`${String(t*120)}ms`}},t))})}function ze({title:e,children:t,action:n,className:r}){return(0,q.jsxs)(`div`,{className:h(`animate-set-in flex flex-col items-center gap-5 px-6 py-16 text-center`,r),children:[(0,q.jsxs)(`div`,{className:`flex max-w-sm flex-col gap-1.5`,children:[(0,q.jsx)(`h2`,{className:`font-serif text-heading font-semibold`,children:e}),t?(0,q.jsx)(`div`,{className:`text-muted-foreground text-sm leading-relaxed`,children:t}):null]}),n]})}var Be=e=>Number.isFinite(e)&&e>0?e:0,J=e=>{let t=Be(e);return`${String(Math.floor(t/60))}:${String(Math.floor(t%60)).padStart(2,`0`)}`},Y=e=>{let t=Be(e);return`${String(Math.floor(t/60))}:${(t%60).toFixed(1).padStart(4,`0`)}`},Ve=(e,t)=>Math.floor(e*t+1e-9)/t,He=e=>e.split(/[/\\]/u).at(-1)??e,Ue=S({fps:k(),width:k(),height:k(),duration:k(),parts:x(N())}),We=M({from:D().positive(),to:D().positive()}),Ge=We.extend({key:P().min(1),layers:x(We).optional(),sounds:We.optional(),messages:x(We.extend({key:P().min(1)})).optional()}),Ke={"video/versions":C(M({item:b}),M({piece:P(),kind:P(),title:P().optional(),width:k(),height:k(),versions:x(M({key:P(),lang:P().optional()}))}),`A video's or a deck's versions, one per language: what its stage, its timeline and its exports are asked for.`),"video/stage":C(M({...j,start:M({t:k().nonnegative().optional(),part:P().optional(),offset:k().nonnegative().optional(),dur:k().positive().optional()}).optional(),play:E().optional(),chrome:E().optional(),mode:w([`code`]).optional()}),ee,`The address of a version's stage page, for a sandboxed frame: it plays the piece and talks to its parent by postMessage.`),"video/timeline":C(M(j),M({timeline:Ue,text:x(N())}),`A version's timeline, drawn nowhere.`),"video/still":C(M({...j,t:k().nonnegative().optional()}),M({t:k(),image:T,width:D().positive(),height:D().positive(),duration:k().nonnegative()}),`A moment of a version as the render draws it, as a picture.`),"video/stills":C(M({...j,moments:x(k().nonnegative()).min(1).max(32)}),M({stills:x(M({t:k(),image:T}))}),"Several moments of a version as the render draws them: what `video/still` gives, on one page."),"video/sources":C(M({item:b}),M({files:x(M({path:b,parts:x(Ge),music:x(We).optional()}))}),`Where each part, its layers, its sounds and its script's messages are written in the piece's code and its script, by line, and the video's music: what a change to those lines changes.`)},qe=te(Ke),Je=y({en:{loading:`Loading the preview`,loadFailed:`The preview did not load`,noVideo:`This is not a video`,previewTitle:`Preview`,denoising:`Denoising the speech; playing it as recorded`,uncut:e=>`No person matte for ${e} yet: layers behind the person show in front`,play:`Play`,pause:`Pause`,seek:`Seek`,prevPage:`Previous page`,nextPage:`Next page`,pageOf:(e,t)=>`Page ${String(e)} of ${String(t)}`,timeOf:(e,t,n)=>`${e} of ${t}${n?`, ${n}`:``}`,hideTimeline:`Hide timeline`,showTimeline:`Show timeline`,rows:{scenes:`Scenes`,voice:`Speech`,music:`Music`,sound:`Sound`},noVoice:`No speech`,noMusic:`No music`,noCues:`No sound cues`,ducked:`lowered under speech`,version:`Language`,close:`Close`,previewFailed:`Something went wrong with this video.`,previewFailedKept:`Something went wrong with the latest change. This is the last version that worked.`,problemsHere:e=>`${String(e)} problem${e===1?``:`s`} in this version`,levelError:`Must fix`,levelWarn:`Suggestion`,script:`Script`,scriptHint:`Delete words to cut them. Delete struck words to keep them.`,scriptReadOnly:`What the video says.`,noScript:`Nobody speaks in this video.`,undo:`Undo`,redo:`Redo`,undoWhat:e=>`Undo ${e}`,redoWhat:e=>`Redo ${e}`,cutWords:`Cut`,keepWords:`Keep`,noEdits:`Words are cut only in a take whose code names an edits file: ask the agent to add one.`,resizeScript:`Script width`,resizeTimeline:`Timeline height`},"zh-cn":{loading:`正在加载预览`,loadFailed:`预览没能加载`,noVideo:`这不是视频`,previewTitle:`预览`,denoising:`正在降噪,先播原声`,uncut:e=>`${e} 还没有人像遮罩:人物后面的图层暂时画在人物前面`,play:`播放`,pause:`暂停`,seek:`进度`,prevPage:`上一页`,nextPage:`下一页`,pageOf:(e,t)=>`第 ${String(e)} 页,共 ${String(t)} 页`,timeOf:(e,t,n)=>`${e} / ${t}${n?`,${n}`:``}`,hideTimeline:`收起时间线`,showTimeline:`展开时间线`,rows:{scenes:`分段`,voice:`说话`,music:`音乐`,sound:`音效`},noVoice:`没有人说话`,noMusic:`没有音乐`,noCues:`没有音效`,ducked:`有人说话时压低`,version:`语言`,close:`关闭`,previewFailed:`这个视频出了点问题。`,previewFailedKept:`最新的改动出了点问题,这里是上一版正常的画面。`,problemsHere:e=>`这个版本有 ${String(e)} 个问题`,levelError:`必须改`,levelWarn:`建议`,script:`文稿`,scriptHint:`删掉文字就剪掉这段;删掉划线的文字就恢复。`,scriptReadOnly:`视频里说的话。`,noScript:`这个视频里没有人说话。`,undo:`撤销`,redo:`重做`,undoWhat:e=>`撤销「${e}」`,redoWhat:e=>`重做「${e}」`,cutWords:`剪掉`,keepWords:`保留`,noEdits:`只有代码里给这段录音指定了剪辑文件,才能在这里剪词:可以让 agent 加一个。`,resizeScript:`文稿宽度`,resizeTimeline:`时间线高度`},"zh-tw":{loading:`正在載入預覽`,loadFailed:`預覽未能載入`,noVideo:`這不是影片`,previewTitle:`預覽`,denoising:`正在降噪,先播放原始錄音`,uncut:e=>`${e} 還沒有人像遮罩:人物後方的圖層暫時顯示在人物前面`,play:`播放`,pause:`暫停`,seek:`播放位置`,prevPage:`上一頁`,nextPage:`下一頁`,pageOf:(e,t)=>`第 ${String(e)} 頁,共 ${String(t)} 頁`,timeOf:(e,t,n)=>`${e} / ${t}${n?`,${n}`:``}`,hideTimeline:`收合時間軸`,showTimeline:`展開時間軸`,rows:{scenes:`段落`,voice:`語音`,music:`音樂`,sound:`音效`},noVoice:`沒有語音`,noMusic:`沒有音樂`,noCues:`沒有音效`,ducked:`有語音時降低音量`,version:`語言`,close:`關閉`,previewFailed:`這部影片出了點問題。`,previewFailedKept:`最新的修改出了點問題,這裡是上一個正常的版本。`,problemsHere:e=>`這個版本有 ${String(e)} 個問題`,levelError:`必須修正`,levelWarn:`建議`,script:`文稿`,scriptHint:`刪掉文字就剪掉這段;刪掉劃線的文字就復原。`,scriptReadOnly:`影片裡說的話。`,noScript:`這部影片裡沒有人說話。`,undo:`復原`,redo:`重做`,undoWhat:e=>`復原「${e}」`,redoWhat:e=>`重做「${e}」`,cutWords:`剪掉`,keepWords:`保留`,noEdits:`只有程式碼為這段錄音指定了剪輯檔,才能在這裡剪詞:可以請 agent 加一個。`,resizeScript:`文稿寬度`,resizeTimeline:`時間軸高度`},ja:{loading:`プレビューを読み込み中`,loadFailed:`プレビューを読み込めませんでした`,noVideo:`これは動画ではありません`,previewTitle:`プレビュー`,denoising:`音声のノイズを除去中。録音のまま再生しています`,uncut:e=>`${e} の人物マットはまだありません。人物の後ろのレイヤーが前に表示されます`,play:`再生`,pause:`一時停止`,seek:`再生位置`,prevPage:`前のページ`,nextPage:`次のページ`,pageOf:(e,t)=>`${String(e)} / ${String(t)} ページ`,timeOf:(e,t,n)=>`${e} / ${t}${n?`、${n}`:``}`,hideTimeline:`タイムラインを隠す`,showTimeline:`タイムラインを表示`,rows:{scenes:`シーン`,voice:`音声`,music:`音楽`,sound:`効果音`},noVoice:`音声なし`,noMusic:`音楽なし`,noCues:`効果音なし`,ducked:`音声の間は音量を下げる`,version:`言語`,close:`閉じる`,previewFailed:`この動画で問題が起きました。`,previewFailedKept:`最新の変更で問題が起きました。これは最後に正しく動いたバージョンです。`,problemsHere:e=>`このバージョンに ${String(e)} 件の問題`,levelError:`要修正`,levelWarn:`提案`,script:`台本`,scriptHint:`言葉を削除するとカットされます。取り消し線の言葉を削除すると元に戻ります。`,scriptReadOnly:`動画の中で話していること。`,noScript:`この動画では誰も話していません。`,undo:`取り消す`,redo:`やり直す`,undoWhat:e=>`「${e}」を取り消す`,redoWhat:e=>`「${e}」をやり直す`,cutWords:`カット`,keepWords:`残す`,noEdits:`単語をカットできるのは、コードがカットファイルを指定しているテイクだけです。エージェントに追加を頼んでください。`,resizeScript:`台本の幅`,resizeTimeline:`タイムラインの高さ`},ko:{loading:`미리보기를 불러오는 중`,loadFailed:`미리보기를 불러오지 못했습니다`,noVideo:`동영상이 아닙니다`,previewTitle:`미리보기`,denoising:`음성의 잡음을 제거하는 중입니다. 녹음된 그대로 재생합니다`,uncut:e=>`${e}의 인물 매트가 아직 없습니다. 인물 뒤 레이어가 앞에 보입니다`,play:`재생`,pause:`일시정지`,seek:`재생 위치`,prevPage:`이전 페이지`,nextPage:`다음 페이지`,pageOf:(e,t)=>`${String(t)}페이지 중 ${String(e)}페이지`,timeOf:(e,t,n)=>`${e} / ${t}${n?`, ${n}`:``}`,hideTimeline:`타임라인 숨기기`,showTimeline:`타임라인 보기`,rows:{scenes:`장면`,voice:`음성`,music:`음악`,sound:`사운드`},noVoice:`음성 없음`,noMusic:`음악 없음`,noCues:`효과음 없음`,ducked:`음성 아래로 낮춤`,version:`언어`,close:`닫기`,previewFailed:`이 동영상에 문제가 생겼습니다.`,previewFailedKept:`최근 변경에서 문제가 생겼습니다. 마지막으로 정상 작동한 버전입니다.`,problemsHere:e=>`이 버전의 문제 ${String(e)}개`,levelError:`수정 필요`,levelWarn:`제안`,script:`대본`,scriptHint:`단어를 지우면 잘립니다. 줄 그어진 단어를 지우면 다시 살아납니다.`,scriptReadOnly:`영상에서 하는 말.`,noScript:`이 영상에는 말하는 사람이 없습니다.`,undo:`실행 취소`,redo:`다시 실행`,undoWhat:e=>`'${e}' 실행 취소`,redoWhat:e=>`'${e}' 다시 실행`,cutWords:`자르기`,keepWords:`남기기`,noEdits:`코드에 편집 파일이 지정된 테이크에서만 단어를 잘라낼 수 있습니다. 에이전트에게 추가해 달라고 요청하세요.`,resizeScript:`대본 너비`,resizeTimeline:`타임라인 높이`},es:{loading:`Cargando la vista previa`,loadFailed:`La vista previa no se cargó`,noVideo:`Esto no es un video`,previewTitle:`Vista previa`,denoising:`Reduciendo el ruido de la voz; se reproduce tal como se grabó`,uncut:e=>`Aún no hay máscara de persona para ${e}: las capas detrás de la persona se ven delante`,play:`Reproducir`,pause:`Pausa`,seek:`Buscar`,prevPage:`Página anterior`,nextPage:`Página siguiente`,pageOf:(e,t)=>`Página ${String(e)} de ${String(t)}`,timeOf:(e,t,n)=>`${e} de ${t}${n?`, ${n}`:``}`,hideTimeline:`Ocultar la línea de tiempo`,showTimeline:`Mostrar la línea de tiempo`,rows:{scenes:`Escenas`,voice:`Voz`,music:`Música`,sound:`Sonido`},noVoice:`Sin voz`,noMusic:`Sin música`,noCues:`Sin efectos de sonido`,ducked:`bajada bajo la voz`,version:`Idioma`,close:`Cerrar`,previewFailed:`Algo salió mal con este video.`,previewFailedKept:`Algo salió mal con el último cambio. Esta es la última versión que funcionó.`,problemsHere:e=>e===1?`1 problema en esta versión`:`${String(e)} problemas en esta versión`,levelError:`Corregir`,levelWarn:`Sugerencia`,script:`Guion`,scriptHint:`Borra palabras para cortarlas. Borra las tachadas para recuperarlas.`,scriptReadOnly:`Lo que dice el vídeo.`,noScript:`Nadie habla en este vídeo.`,undo:`Deshacer`,redo:`Rehacer`,undoWhat:e=>`Deshacer: ${e}`,redoWhat:e=>`Rehacer: ${e}`,cutWords:`Cortar`,keepWords:`Mantener`,noEdits:`Solo se pueden cortar palabras en una toma cuyo código indique un archivo de cortes: pide al agente que añada uno.`,resizeScript:`Ancho del guion`,resizeTimeline:`Altura de la línea de tiempo`},fr:{loading:`Chargement de l’aperçu`,loadFailed:`L’aperçu ne s’est pas chargé`,noVideo:`Ce n’est pas une vidéo`,previewTitle:`Aperçu`,denoising:`Débruitage de la voix\xA0; lecture telle qu’enregistrée`,uncut:e=>`Pas encore de masque de personne pour ${e}\u00a0: les calques derrière la personne passent devant`,play:`Lire`,pause:`Pause`,seek:`Position`,prevPage:`Page précédente`,nextPage:`Page suivante`,pageOf:(e,t)=>`Page ${String(e)} sur ${String(t)}`,timeOf:(e,t,n)=>`${e} sur ${t}${n?`, ${n}`:``}`,hideTimeline:`Masquer la timeline`,showTimeline:`Afficher la timeline`,rows:{scenes:`Scènes`,voice:`Voix`,music:`Musique`,sound:`Son`},noVoice:`Pas de voix`,noMusic:`Pas de musique`,noCues:`Pas d’effets sonores`,ducked:`baissée sous la voix`,version:`Langue`,close:`Fermer`,previewFailed:`Un problème est survenu avec cette vidéo.`,previewFailedKept:`Un problème est survenu avec la dernière modification. Voici la dernière version qui fonctionnait.`,problemsHere:e=>e===1?`1 problème dans cette version`:`${String(e)} problèmes dans cette version`,levelError:`À corriger`,levelWarn:`Suggestion`,script:`Script`,scriptHint:`Supprimez des mots pour les couper. Supprimez des mots barrés pour les garder.`,scriptReadOnly:`Ce que dit la vidéo.`,noScript:`Personne ne parle dans cette vidéo.`,undo:`Annuler`,redo:`Rétablir`,undoWhat:e=>`Annuler : ${e}`,redoWhat:e=>`Rétablir : ${e}`,cutWords:`Couper`,keepWords:`Garder`,noEdits:`On ne coupe des mots que dans une prise dont le code nomme un fichier de coupes : demandez à l’agent d’en ajouter un.`,resizeScript:`Largeur du script`,resizeTimeline:`Hauteur de la chronologie`},de:{loading:`Vorschau wird geladen`,loadFailed:`Die Vorschau wurde nicht geladen`,noVideo:`Das ist kein Video`,previewTitle:`Vorschau`,denoising:`Sprache wird entrauscht; Wiedergabe wie aufgenommen`,uncut:e=>`Noch keine Personenmaske für ${e}: Ebenen hinter der Person erscheinen davor`,play:`Abspielen`,pause:`Pause`,seek:`Springen`,prevPage:`Vorherige Seite`,nextPage:`Nächste Seite`,pageOf:(e,t)=>`Seite ${String(e)} von ${String(t)}`,timeOf:(e,t,n)=>`${e} von ${t}${n?`, ${n}`:``}`,hideTimeline:`Zeitleiste ausblenden`,showTimeline:`Zeitleiste einblenden`,rows:{scenes:`Szenen`,voice:`Sprache`,music:`Musik`,sound:`Ton`},noVoice:`Keine Sprache`,noMusic:`Keine Musik`,noCues:`Keine Soundeffekte`,ducked:`unter Sprache abgesenkt`,version:`Sprache`,close:`Schließen`,previewFailed:`Mit diesem Video ist etwas schiefgelaufen.`,previewFailedKept:`Bei der letzten Änderung ist etwas schiefgelaufen. Das ist die letzte Version, die funktioniert hat.`,problemsHere:e=>e===1?`1 Problem in dieser Version`:`${String(e)} Probleme in dieser Version`,levelError:`Muss behoben werden`,levelWarn:`Vorschlag`,script:`Skript`,scriptHint:`Wörter löschen schneidet sie heraus. Durchgestrichene Wörter löschen behält sie wieder.`,scriptReadOnly:`Was im Video gesagt wird.`,noScript:`In diesem Video spricht niemand.`,undo:`Rückgängig`,redo:`Wiederholen`,undoWhat:e=>`Rückgängig: ${e}`,redoWhat:e=>`Wiederholen: ${e}`,cutWords:`Schneiden`,keepWords:`Behalten`,noEdits:`Wörter lassen sich nur in einer Aufnahme schneiden, deren Code eine Schnittdatei nennt: Bitte den Agenten, eine anzulegen.`,resizeScript:`Breite des Skripts`,resizeTimeline:`Höhe der Zeitleiste`},pt:{loading:`Carregando a prévia`,loadFailed:`A prévia não carregou`,noVideo:`Isto não é um vídeo`,previewTitle:`Prévia`,denoising:`Removendo o ruído da fala; tocando como foi gravada`,uncut:e=>`Ainda não há máscara de pessoa para ${e}: as camadas atrás da pessoa aparecem na frente`,play:`Reproduzir`,pause:`Pausar`,seek:`Posição`,prevPage:`Página anterior`,nextPage:`Próxima página`,pageOf:(e,t)=>`Página ${String(e)} de ${String(t)}`,timeOf:(e,t,n)=>`${e} de ${t}${n?`, ${n}`:``}`,hideTimeline:`Ocultar a linha do tempo`,showTimeline:`Mostrar a linha do tempo`,rows:{scenes:`Cenas`,voice:`Fala`,music:`Música`,sound:`Som`},noVoice:`Sem fala`,noMusic:`Sem música`,noCues:`Sem efeitos sonoros`,ducked:`abaixada sob a fala`,version:`Idioma`,close:`Fechar`,previewFailed:`Algo deu errado com este vídeo.`,previewFailedKept:`Algo deu errado com a última alteração. Esta é a última versão que funcionou.`,problemsHere:e=>e===1?`1 problema nesta versão`:`${String(e)} problemas nesta versão`,levelError:`Corrigir`,levelWarn:`Sugestão`,script:`Roteiro`,scriptHint:`Apague palavras para cortá-las. Apague palavras riscadas para mantê-las.`,scriptReadOnly:`O que o vídeo diz.`,noScript:`Ninguém fala neste vídeo.`,undo:`Desfazer`,redo:`Refazer`,undoWhat:e=>`Desfazer: ${e}`,redoWhat:e=>`Refazer: ${e}`,cutWords:`Cortar`,keepWords:`Manter`,noEdits:`Só é possível cortar palavras numa tomada cujo código indique um arquivo de cortes: peça ao agente para adicionar um.`,resizeScript:`Largura do roteiro`,resizeTimeline:`Altura da linha do tempo`}});function X(){return Je.of(c()?.locale)}var Ye={...A,...Ke};function Xe(e,t,n){return Ze(Ye,e,t,n)}function Ze(e,t,n,r){let i=o(),[a,s]=(0,K.useState)(),c=JSON.stringify([t,n,...r]);return(0,K.useEffect)(()=>{if(n===void 0)return;let r=!0;return te(e)(i,t,n).then(e=>{r&&s({key:c,data:e})},e=>{r&&s({key:c,error:e instanceof Error?e:Error(String(e))})}),()=>{r=!1}},[i,c]),{data:a?.data,error:a?.key===c?a.error:void 0}}function Qe(){let[e,t]=(0,K.useState)(0);return r(`project/changed`,e=>{t(e.revision)}),e}function $e(){let e=o(),[t,n]=(0,K.useState)();return(0,K.useEffect)(()=>{let t=!0;return ge(e,`check/results`,{}).then(e=>{t&&n(t=>t??e)},()=>void 0),()=>{t=!1}},[e]),r(`check/changed`,n),t}function et(e,t){let n=o(),[r,i]=(0,K.useState)();(0,K.useEffect)(()=>{let r=!0;return n[`storage/get`]({key:e}).then(n=>{r&&i({key:e,value:n.value===null?t:n.value})},()=>{r&&i({key:e,value:t})}),()=>{r=!1}},[n,e]);let a=(0,K.useCallback)(t=>{i({key:e,value:t}),n[`storage/set`]({key:e,value:t}).catch(()=>void 0)},[n,e]);return[r?.key===e?r.value:void 0,a]}async function tt(e,t){try{return(await e[`files/url`]({path:t})).url}catch{return}}var nt=O({t:k().nonnegative()});function rt(e){let t=nt.safeParse(e);return t.success?t.data:void 0}var it=e=>({t:Math.round(Math.max(0,e)*1e3)/1e3});function at(e,t){return e.versions.find(e=>e.key===t)??e.versions[0]}function ot(e,t,n){return e.filter(e=>e.piece===t&&(e.combo===void 0||n.lang===void 0||e.combo.lang===n.lang))}function st(e,t){try{return new Intl.DisplayNames([t],{type:`language`}).of(e)??e}catch{return e}}var ct=e=>e.still;function lt(e){let t=e?.t;return typeof t==`number`&&Number.isFinite(t)&&t>=0?t:void 0}var ut=e=>e?.sound===!0,dt=(e,t)=>e.from<=t.to&&t.from<=e.to;function ft(e,t){let n=e.find(e=>e.path===t.path);if(!n||t.from===void 0)return;let r={from:t.from,to:t.to??t.from};if(n.music?.some(e=>dt(e,r)))return{music:!0};let i=n.parts.filter(e=>dt(e,r)).sort((e,t)=>e.to-e.from-(t.to-t.from))[0];if(!i)return;let a=i.layers?.findIndex(e=>dt(e,r))??-1,o=i.messages?.find(e=>dt(e,r))?.key,s=i.sounds!==void 0&&dt(i.sounds,r);return{part:i.key,...a>=0?{layer:a}:{},...o===void 0?{}:{message:o},...s?{sounds:s}:{}}}function pt(e,t){return e.parts.find(e=>e.speech?.edits===t)?.key}var mt=new Set([`start`,`end`,`still`,`at`]);function ht(e,t){let n=e.start;return JSON.stringify({part:{...e,steps:e.steps?.map(e=>e-n)},text:t},(e,t)=>typeof t==`number`&&mt.has(e)?Math.round((t-n)*1e3)/1e3:t)}function gt(e,t){let n=new Map(e.timeline.parts.map(t=>[t.key,ht(t,e.text.find(e=>e.key===t.key))]));return t.timeline.parts.filter(e=>n.get(e.key)!==ht(e,t.text.find(t=>t.key===e.key))).map(e=>e.key)}function _t(e,t,n={}){let r=e.parts.find(e=>e.key===t);if(r)return{t:ct(r),part:t,...n.layer===void 0?{}:{layer:n.layer},...n.message===void 0?{}:{message:n.message}}}function vt(e){let t=e.audio.music,n=e.audio.mix;return JSON.stringify({file:t?.file,from:t?.from,loop:t?.loop,bpm:t?.tempo?.source===`given`?t.tempo.bpm:void 0,gain:t?.gain?.map(e=>e.db),mix:n?{music:n.music,musicAlone:n.musicAlone,duck:n.duck,musicFade:n.musicFade}:void 0})}function yt(e,t){return JSON.stringify(e.filter(e=>e.part===t.key).map(e=>({...e,t:Math.round((e.t-t.start)*1e3)/1e3})))}function bt(e,t){let n=new Map(e.parts.map(t=>[t.key,yt(e.cues,t)]));return{music:vt(e)!==vt(t),cues:t.parts.filter(e=>(n.get(e.key)??`[]`)!==yt(t.cues,e)).map(e=>e.key)}}function xt(e,t=!1){let n=e.length,r=0,i=``,a=0,o=16,s=0,c=0,l=0,u=0,d=0;function f(t,n){let i=0,a=0;for(;i<t||!n;){let t=e.charCodeAt(r);if(t>=48&&t<=57)a=a*16+t-48;else if(t>=65&&t<=70)a=a*16+t-65+10;else if(t>=97&&t<=102)a=a*16+t-97+10;else break;r++,i++}return i<t&&(a=-1),a}function p(e){r=e,i=``,a=0,o=16,d=0}function m(){let t=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&wt(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46){if(r++,r<e.length&&wt(e.charCodeAt(r)))for(r++;r<e.length&&wt(e.charCodeAt(r));)r++;else return d=3,e.substring(t,r)}let n=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101)){if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&wt(e.charCodeAt(r))){for(r++;r<e.length&&wt(e.charCodeAt(r));)r++;n=r}else d=3}return e.substring(t,n)}function h(){let t=``,i=r;for(;;){if(r>=n){t+=e.substring(i,r),d=2;break}let a=e.charCodeAt(r);if(a===34){t+=e.substring(i,r),r++;break}if(a===92){if(t+=e.substring(i,r),r++,r>=n){d=2;break}switch(e.charCodeAt(r++)){case 34:t+=`"`;break;case 92:t+=`\\`;break;case 47:t+=`/`;break;case 98:t+=`\b`;break;case 102:t+=`\f`;break;case 110:t+=`
2
+ `;break;case 114:t+=`\r`;break;case 116:t+=` `;break;case 117:let e=f(4,!0);e>=0?t+=String.fromCharCode(e):d=4;break;default:d=5}i=r}else{if(a>=0&&a<=31){if(Ct(a)){t+=e.substring(i,r),d=2;break}d=6}r++}}return t}function g(){if(i=``,d=0,a=r,c=s,u=l,r>=n)return a=n,o=17;let t=e.charCodeAt(r);if(St(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(St(t));return o=15}if(Ct(t))return r++,i+=String.fromCharCode(t),t===13&&e.charCodeAt(r)===10&&(r++,i+=`
3
+ `),s++,l=r,o=14;switch(t){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,i=h(),o=10;case 47:let c=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!Ct(e.charCodeAt(r));)r++;return i=e.substring(c,r),o=12}if(e.charCodeAt(r+1)===42){r+=2;let t=n-1,a=!1;for(;r<t;){let t=e.charCodeAt(r);if(t===42&&e.charCodeAt(r+1)===47){r+=2,a=!0;break}r++,Ct(t)&&(t===13&&e.charCodeAt(r)===10&&r++,s++,l=r)}return a||(r++,d=1),i=e.substring(c,r),o=13}return i+=String.fromCharCode(t),r++,o=16;case 45:if(i+=String.fromCharCode(t),r++,r===n||!wt(e.charCodeAt(r)))return o=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=m(),o=11;default:for(;r<n&&_(t);)r++,t=e.charCodeAt(r);if(a!==r){switch(i=e.substring(a,r),i){case`true`:return o=8;case`false`:return o=9;case`null`:return o=7}return o=16}return i+=String.fromCharCode(t),r++,o=16}}function _(e){if(St(e)||Ct(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function v(){let e;do e=g();while(e>=12&&e<=15);return e}return{setPosition:p,getPosition:()=>r,scan:t?v:g,getToken:()=>o,getTokenValue:()=>i,getTokenOffset:()=>a,getTokenLength:()=>r-a,getTokenStartLine:()=>c,getTokenStartCharacter:()=>a-u,getTokenError:()=>d}}function St(e){return e===32||e===9}function Ct(e){return e===10||e===13}function wt(e){return e>=48&&e<=57}var Tt;(function(e){e[e.lineFeed=10]=`lineFeed`,e[e.carriageReturn=13]=`carriageReturn`,e[e.space=32]=`space`,e[e._0=48]=`_0`,e[e._1=49]=`_1`,e[e._2=50]=`_2`,e[e._3=51]=`_3`,e[e._4=52]=`_4`,e[e._5=53]=`_5`,e[e._6=54]=`_6`,e[e._7=55]=`_7`,e[e._8=56]=`_8`,e[e._9=57]=`_9`,e[e.a=97]=`a`,e[e.b=98]=`b`,e[e.c=99]=`c`,e[e.d=100]=`d`,e[e.e=101]=`e`,e[e.f=102]=`f`,e[e.g=103]=`g`,e[e.h=104]=`h`,e[e.i=105]=`i`,e[e.j=106]=`j`,e[e.k=107]=`k`,e[e.l=108]=`l`,e[e.m=109]=`m`,e[e.n=110]=`n`,e[e.o=111]=`o`,e[e.p=112]=`p`,e[e.q=113]=`q`,e[e.r=114]=`r`,e[e.s=115]=`s`,e[e.t=116]=`t`,e[e.u=117]=`u`,e[e.v=118]=`v`,e[e.w=119]=`w`,e[e.x=120]=`x`,e[e.y=121]=`y`,e[e.z=122]=`z`,e[e.A=65]=`A`,e[e.B=66]=`B`,e[e.C=67]=`C`,e[e.D=68]=`D`,e[e.E=69]=`E`,e[e.F=70]=`F`,e[e.G=71]=`G`,e[e.H=72]=`H`,e[e.I=73]=`I`,e[e.J=74]=`J`,e[e.K=75]=`K`,e[e.L=76]=`L`,e[e.M=77]=`M`,e[e.N=78]=`N`,e[e.O=79]=`O`,e[e.P=80]=`P`,e[e.Q=81]=`Q`,e[e.R=82]=`R`,e[e.S=83]=`S`,e[e.T=84]=`T`,e[e.U=85]=`U`,e[e.V=86]=`V`,e[e.W=87]=`W`,e[e.X=88]=`X`,e[e.Y=89]=`Y`,e[e.Z=90]=`Z`,e[e.asterisk=42]=`asterisk`,e[e.backslash=92]=`backslash`,e[e.closeBrace=125]=`closeBrace`,e[e.closeBracket=93]=`closeBracket`,e[e.colon=58]=`colon`,e[e.comma=44]=`comma`,e[e.dot=46]=`dot`,e[e.doubleQuote=34]=`doubleQuote`,e[e.minus=45]=`minus`,e[e.openBrace=123]=`openBrace`,e[e.openBracket=91]=`openBracket`,e[e.plus=43]=`plus`,e[e.slash=47]=`slash`,e[e.formFeed=12]=`formFeed`,e[e.tab=9]=`tab`})(Tt||={});var Z=Array(20).fill(0).map((e,t)=>` `.repeat(t)),Et=200,Dt={" ":{"\n":Array(Et).fill(0).map((e,t)=>`
4
+ `+` `.repeat(t)),"\r":Array(Et).fill(0).map((e,t)=>`\r`+` `.repeat(t)),"\r\n":Array(Et).fill(0).map((e,t)=>`\r
5
+ `+` `.repeat(t))}," ":{"\n":Array(Et).fill(0).map((e,t)=>`
6
+ `+` `.repeat(t)),"\r":Array(Et).fill(0).map((e,t)=>`\r`+` `.repeat(t)),"\r\n":Array(Et).fill(0).map((e,t)=>`\r
7
+ `+` `.repeat(t))}},Ot=[`
8
+ `,`\r`,`\r
9
+ `];function kt(e,t,n){let r,i,a,o,s;if(t){for(o=t.offset,s=o+t.length,a=o;a>0&&!Nt(e,a-1);)a--;let c=s;for(;c<e.length&&!Nt(e,c);)c++;i=e.substring(a,c),r=jt(i,n)}else i=e,r=0,a=0,o=0,s=e.length;let c=Mt(n,e),l=Ot.includes(c),u=0,d=0,f;f=n.insertSpaces?Z[n.tabSize||4]??At(Z[1],n.tabSize||4):` `;let p=f===` `?` `:` `,m=xt(i,!1),h=!1;function g(){if(u>1)return At(c,u)+At(f,r+d);let e=f.length*(r+d);return!l||e>Dt[p][c].length?c+At(f,r+d):e<=0?c:Dt[p][c][e]}function _(){let e=m.scan();for(u=0;e===15||e===14;)e===14&&n.keepLines?u+=1:e===14&&(u=1),e=m.scan();return h=e===16||m.getTokenError()!==0,e}let v=[];function y(n,r,i){!h&&(!t||r<s&&i>o)&&e.substring(r,i)!==n&&v.push({offset:r,length:i-r,content:n})}let b=_();if(n.keepLines&&u>0&&y(At(c,u),0,0),b!==17){let e=m.getTokenOffset()+a;y(f.length*r<20&&n.insertSpaces?Z[f.length*r]:At(f,r),a,e)}for(;b!==17;){let e=m.getTokenOffset()+m.getTokenLength()+a,t=_(),r=``,i=!1;for(;u===0&&(t===12||t===13);){let n=m.getTokenOffset()+a;y(Z[1],e,n),e=m.getTokenOffset()+m.getTokenLength()+a,i=t===12,r=i?g():``,t=_()}if(t===2)b!==1&&d--,n.keepLines&&u>0||!n.keepLines&&b!==1?r=g():n.keepLines&&(r=Z[1]);else if(t===4)b!==3&&d--,n.keepLines&&u>0||!n.keepLines&&b!==3?r=g():n.keepLines&&(r=Z[1]);else{switch(b){case 3:case 1:d++,r=n.keepLines&&u>0||!n.keepLines?g():Z[1];break;case 5:r=n.keepLines&&u>0||!n.keepLines?g():Z[1];break;case 12:r=g();break;case 13:u>0?r=g():i||(r=Z[1]);break;case 6:n.keepLines&&u>0?r=g():i||(r=Z[1]);break;case 10:n.keepLines&&u>0?r=g():t===6&&!i&&(r=``);break;case 7:case 8:case 9:case 11:case 2:case 4:n.keepLines&&u>0?r=g():(t===12||t===13)&&!i?r=Z[1]:t!==5&&t!==17&&(h=!0);break;case 16:h=!0}u>0&&(t===12||t===13)&&(r=g())}t===17&&(r=n.keepLines&&u>0?g():n.insertFinalNewline?c:``);let o=m.getTokenOffset()+a;y(r,e,o),b=t}return v}function At(e,t){let n=``;for(let r=0;r<t;r++)n+=e;return n}function jt(e,t){let n=0,r=0,i=t.tabSize||4;for(;n<e.length;){let t=e.charAt(n);if(t===Z[1])r++;else if(t===` `)r+=i;else break;n++}return Math.floor(r/i)}function Mt(e,t){for(let e=0;e<t.length;e++){let n=t.charAt(e);if(n===`\r`)return e+1<t.length&&t.charAt(e+1)===`
10
+ `?`\r
11
+ `:`\r`;if(n===`
12
+ `)return`
13
+ `}return e&&e.eol||`
14
+ `}function Nt(e,t){return`\r
15
+ `.indexOf(e.charAt(t))!==-1}var Pt;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Pt||={});function Ft(e,t=[],n=Pt.DEFAULT){let r={type:`array`,offset:-1,length:-1,children:[],parent:void 0};function i(e){r.type===`property`&&(r.length=e-r.offset,r=r.parent)}function a(e){return r.children.push(e),e}Lt(e,{onObjectBegin:e=>{r=a({type:`object`,offset:e,length:-1,parent:r,children:[]})},onObjectProperty:(e,t,n)=>{r=a({type:`property`,offset:t,length:-1,parent:r,children:[]}),r.children.push({type:`string`,value:e,offset:t,length:n,parent:r})},onObjectEnd:(e,t)=>{i(e+t),r.length=e+t-r.offset,r=r.parent,i(e+t)},onArrayBegin:(e,t)=>{r=a({type:`array`,offset:e,length:-1,parent:r,children:[]})},onArrayEnd:(e,t)=>{r.length=e+t-r.offset,r=r.parent,i(e+t)},onLiteralValue:(e,t,n)=>{a({type:Rt(e),offset:t,length:n,parent:r,value:e}),i(t+n)},onSeparator:(e,t,n)=>{r.type===`property`&&(e===`:`?r.colonOffset=t:e===`,`&&i(t))},onError:(e,n,r)=>{t.push({error:e,offset:n,length:r})}},n);let o=r.children[0];return o&&delete o.parent,o}function It(e,t){if(!e)return;let n=e;for(let e of t)if(typeof e==`string`){if(n.type!==`object`||!Array.isArray(n.children))return;let t=!1;for(let r of n.children)if(Array.isArray(r.children)&&r.children[0].value===e&&r.children.length===2){n=r.children[1],t=!0;break}if(!t)return}else{let t=e;if(n.type!==`array`||t<0||!Array.isArray(n.children)||t>=n.children.length)return;n=n.children[t]}return n}function Lt(e,t,n=Pt.DEFAULT){let r=xt(e,!1),i=[],a=0;function o(e){return e?()=>a===0&&e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function s(e){return e?t=>a===0&&e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function c(e){return e?t=>a===0&&e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function l(e){return e?()=>{a>0?a++:e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice())===!1&&(a=1)}:()=>!0}function u(e){return e?()=>{a>0&&a--,a===0&&e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:()=>!0}let d=l(t.onObjectBegin),f=c(t.onObjectProperty),p=u(t.onObjectEnd),m=l(t.onArrayBegin),h=u(t.onArrayEnd),g=c(t.onLiteralValue),_=s(t.onSeparator),v=o(t.onComment),y=s(t.onError),b=n&&n.disallowComments,x=n&&n.allowTrailingComma;function S(){for(;;){let e=r.scan();switch(r.getTokenError()){case 4:C(14);break;case 5:C(15);break;case 3:C(13);break;case 1:b||C(11);break;case 2:C(12);break;case 6:C(16)}switch(e){case 12:case 13:b?C(10):v();break;case 16:C(1);break;case 15:case 14:break;default:return e}}}function C(e,t=[],n=[]){if(y(e),t.length+n.length>0){let e=r.getToken();for(;e!==17;){if(t.indexOf(e)!==-1){S();break}if(n.indexOf(e)!==-1)break;e=S()}}}function w(e){let t=r.getTokenValue();return e?g(t):(f(t),i.push(t)),S(),!0}function T(){switch(r.getToken()){case 11:let e=r.getTokenValue(),t=Number(e);isNaN(t)&&(C(2),t=0),g(t);break;case 7:g(null);break;case 8:g(!0);break;case 9:g(!1);break;default:return!1}return S(),!0}function E(){return r.getToken()===10?(w(!1),r.getToken()===6?(_(`:`),S(),k()||C(4,[],[2,5])):C(5,[],[2,5]),i.pop(),!0):(C(3,[],[2,5]),!1)}function D(){d(),S();let e=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(e||C(4,[],[]),_(`,`),S(),r.getToken()===2&&x)break}else e&&C(6,[],[]);E()||C(4,[],[2,5]),e=!0}return p(),r.getToken()===2?S():C(7,[2],[]),!0}function O(){m(),S();let e=!0,t=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(t||C(4,[],[]),_(`,`),S(),r.getToken()===4&&x)break}else t&&C(6,[],[]);e?(i.push(0),e=!1):i[i.length-1]++,k()||C(4,[],[4,5]),t=!0}return h(),e||i.pop(),r.getToken()===4?S():C(8,[4],[]),!0}function k(){switch(r.getToken()){case 3:return O();case 1:return D();case 10:return w(!0);default:return T()}}return S(),r.getToken()===17?n.allowEmptyContent?!0:(C(4,[],[]),!1):k()?(r.getToken()!==17&&C(9,[],[]),!0):(C(4,[],[]),!1)}function Rt(e){switch(typeof e){case`boolean`:return`boolean`;case`number`:return`number`;case`string`:return`string`;case`object`:return e?Array.isArray(e)?`array`:`object`:`null`;default:return`null`}}function zt(e,t,n,r){let i=t.slice(),a=Ft(e,[]),o,s;for(;i.length>0&&(s=i.pop(),o=It(a,i),o===void 0&&n!==void 0);)n=typeof s==`string`?{[s]:n}:[n];if(!o){if(n===void 0)throw Error(`Can not delete in empty document`);return Bt(e,{offset:a?a.offset:0,length:a?a.length:0,content:JSON.stringify(n)},r)}if(o.type===`object`&&typeof s==`string`&&Array.isArray(o.children)){let t=It(o,[s]);if(t!==void 0){if(n===void 0){if(!t.parent)throw Error(`Malformed AST`);let n=o.children.indexOf(t.parent),i,a=t.parent.offset+t.parent.length;if(n>0){let e=o.children[n-1];i=e.offset+e.length}else i=o.offset+1,o.children.length>1&&(a=o.children[1].offset);return Bt(e,{offset:i,length:a-i,content:``},r)}return Bt(e,{offset:t.offset,length:t.length,content:JSON.stringify(n)},r)}{if(n===void 0)return[];let t=`${JSON.stringify(s)}: ${JSON.stringify(n)}`,i=r.getInsertionIndex?r.getInsertionIndex(o.children.map(e=>e.children[0].value)):o.children.length,a;if(i>0){let e=o.children[i-1];a={offset:e.offset+e.length,length:0,content:`,`+t}}else a=o.children.length===0?{offset:o.offset+1,length:0,content:t}:{offset:o.offset+1,length:0,content:t+`,`};return Bt(e,a,r)}}if(o.type===`array`&&typeof s==`number`&&Array.isArray(o.children)){let t=s;if(t===-1){let t=`${JSON.stringify(n)}`,i;if(o.children.length===0)i={offset:o.offset+1,length:0,content:t};else{let e=o.children[o.children.length-1];i={offset:e.offset+e.length,length:0,content:`,`+t}}return Bt(e,i,r)}if(n===void 0&&o.children.length>=0){let t=s,n=o.children[t],i;if(o.children.length===1)i={offset:o.offset+1,length:o.length-2,content:``};else if(o.children.length-1===t){let e=o.children[t-1],n=e.offset+e.length;i={offset:n,length:o.offset+o.length-2-n,content:``}}else i={offset:n.offset,length:o.children[t+1].offset-n.offset,content:``};return Bt(e,i,r)}if(n!==void 0){let t,i=`${JSON.stringify(n)}`;if(!r.isArrayInsertion&&o.children.length>s){let e=o.children[s];t={offset:e.offset,length:e.length,content:i}}else if(o.children.length===0||s===0)t={offset:o.offset+1,length:0,content:o.children.length===0?i:i+`,`};else{let e=s>o.children.length?o.children.length:s,n=o.children[e-1];t={offset:n.offset+n.length,length:0,content:`,`+i}}return Bt(e,t,r)}throw Error(`Can not ${n===void 0?`remove`:r.isArrayInsertion?`insert`:`modify`} Array index ${t} as length is not sufficient`)}throw Error(`Can not add ${typeof s==`number`?`property`:`index`} to parent of type ${o.type}`)}function Bt(e,t,n){if(!n.formattingOptions)return[t];let r=Vt(e,t),i=t.offset,a=t.offset+t.content.length;if(t.length===0||t.content.length===0){for(;i>0&&!Nt(r,i-1);)i--;for(;a<r.length&&!Nt(r,a);)a++}let o=kt(r,{offset:i,length:a-i},{...n.formattingOptions,keepLines:!1});for(let e=o.length-1;e>=0;e--){let t=o[e];r=Vt(r,t),i=Math.min(i,t.offset),a=Math.max(a,t.offset+t.length),a+=t.content.length-t.length}let s=e.length-(r.length-a)-i;return[{offset:i,length:s,content:r.substring(i,a)}]}function Vt(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}var Ht;(function(e){e[e.None=0]=`None`,e[e.UnexpectedEndOfComment=1]=`UnexpectedEndOfComment`,e[e.UnexpectedEndOfString=2]=`UnexpectedEndOfString`,e[e.UnexpectedEndOfNumber=3]=`UnexpectedEndOfNumber`,e[e.InvalidUnicode=4]=`InvalidUnicode`,e[e.InvalidEscapeCharacter=5]=`InvalidEscapeCharacter`,e[e.InvalidCharacter=6]=`InvalidCharacter`})(Ht||={});var Ut;(function(e){e[e.OpenBraceToken=1]=`OpenBraceToken`,e[e.CloseBraceToken=2]=`CloseBraceToken`,e[e.OpenBracketToken=3]=`OpenBracketToken`,e[e.CloseBracketToken=4]=`CloseBracketToken`,e[e.CommaToken=5]=`CommaToken`,e[e.ColonToken=6]=`ColonToken`,e[e.NullKeyword=7]=`NullKeyword`,e[e.TrueKeyword=8]=`TrueKeyword`,e[e.FalseKeyword=9]=`FalseKeyword`,e[e.StringLiteral=10]=`StringLiteral`,e[e.NumericLiteral=11]=`NumericLiteral`,e[e.LineCommentTrivia=12]=`LineCommentTrivia`,e[e.BlockCommentTrivia=13]=`BlockCommentTrivia`,e[e.LineBreakTrivia=14]=`LineBreakTrivia`,e[e.Trivia=15]=`Trivia`,e[e.Unknown=16]=`Unknown`,e[e.EOF=17]=`EOF`})(Ut||={});var Wt=Ft,Gt=It,Kt;(function(e){e[e.InvalidSymbol=1]=`InvalidSymbol`,e[e.InvalidNumberFormat=2]=`InvalidNumberFormat`,e[e.PropertyNameExpected=3]=`PropertyNameExpected`,e[e.ValueExpected=4]=`ValueExpected`,e[e.ColonExpected=5]=`ColonExpected`,e[e.CommaExpected=6]=`CommaExpected`,e[e.CloseBraceExpected=7]=`CloseBraceExpected`,e[e.CloseBracketExpected=8]=`CloseBracketExpected`,e[e.EndOfFileExpected=9]=`EndOfFileExpected`,e[e.InvalidCommentToken=10]=`InvalidCommentToken`,e[e.UnexpectedEndOfComment=11]=`UnexpectedEndOfComment`,e[e.UnexpectedEndOfString=12]=`UnexpectedEndOfString`,e[e.UnexpectedEndOfNumber=13]=`UnexpectedEndOfNumber`,e[e.InvalidUnicode=14]=`InvalidUnicode`,e[e.InvalidEscapeCharacter=15]=`InvalidEscapeCharacter`,e[e.InvalidCharacter=16]=`InvalidCharacter`})(Kt||={});function qt(e,t,n,r){return zt(e,t,n,r)}function Jt(e,t){let n=t.slice(0).sort((e,t)=>{let n=e.offset-t.offset;return n===0?e.length-t.length:n}),r=e.length;for(let t=n.length-1;t>=0;t--){let i=n[t];if(i.offset+i.length<=r)e=Vt(e,i);else throw Error(`Overlapping edit`);r=i.offset}return e}function Yt(e){let t=e.includes(`\r
16
+ `)?`\r
17
+ `:`
18
+ `,n=/\n([ \t]+)"/.exec(e)?.[1]??` `;return n.startsWith(` `)?{insertSpaces:!1,tabSize:1,eol:t}:{insertSpaces:!0,tabSize:n.length,eol:t}}var Xt=80;function Zt(e){if(Array.isArray(e))return`[${e.map(Zt).join(`, `)}]`;if(typeof e==`object`&&e){let t=Object.entries(e).map(([e,t])=>`${JSON.stringify(e)}: ${Zt(t)}`);return t.length?`{ ${t.join(`, `)} }`:`{}`}return JSON.stringify(e)}var Qt={type:`object`,offset:0,length:0};function $t(e,t,n,r){let i=Yt(e);if(t.length===0){let e=i.insertSpaces?i.tabSize:` `;return`${JSON.stringify(n,null,e)}${i.eol??`
19
+ `}`}let a=[...t],o=e.trim()===``?`{}
20
+ `:e,s=Gt(Wt(o)??Qt,a),c=s===void 0||!o.slice(s.offset,s.offset+s.length).includes(`
21
+ `);if(o=Jt(o,qt(o,a,n,{formattingOptions:i,...r?{getInsertionIndex:r}:{}})),typeof n==`object`&&n&&c){let e=Gt(Wt(o)??Qt,a),t=Zt(n);if(e){let n=o.lastIndexOf(`
22
+ `,e.offset)+1;e.offset-n+t.length+1<=Xt&&(o=o.slice(0,e.offset)+t+o.slice(e.offset+e.length))}}return o}var en=e=>typeof e==`number`&&Number.isFinite(e)&&e>=0;function tn(e){if(typeof e!=`object`||!e||Array.isArray(e))return`an edits file is a JSON object: { version: 1, remove, sounds, inWord, maxPause, pad }`;let t=e;if(t.version!==1)return`version is 1`;for(let e of[`take`,`$schema`])if(t[e]!==void 0&&typeof t[e]!=`string`)return`${e} is a string`;let n=Object.keys(t).filter(e=>![`version`,`remove`,`sounds`,`inWord`,`maxPause`,`pad`,`take`,`$schema`].includes(e));if(n.length>0)return`unknown field${n.length>1?`s`:``} ${n.join(`, `)} (an edits file has version, remove, sounds, inWord, maxPause, pad and take)`;let r={};if(t.remove!==void 0){if(!Array.isArray(t.remove))return`remove is a list of { from, to, text }`;let e=[];for(let[n,r]of t.remove.entries()){let t=r,i=t?.from,a=t?.to,o=t?.text;if(typeof i!=`number`||typeof a!=`number`||!Number.isInteger(i)||!Number.isInteger(a)||i<0||a<i||o!==void 0&&typeof o!=`string`)return`remove[${String(n)}] is not { from, to, text } with word indices from ≤ to`;e.push({from:i,to:a,...o===void 0?{}:{text:o}})}r.remove=e}for(let e of[`sounds`,`inWord`]){if(t[e]===void 0)continue;if(!Array.isArray(t[e]))return`${e} is a list of { from, to } in seconds of the take`;let n=[];for(let[r,i]of t[e].entries()){let t=i,a=t?.from,o=t?.to;if(!en(a)||!en(o)||o<=a)return`${e}[${String(r)}] is not { from, to } in seconds with from < to`;n.push({from:a,to:o})}r[e]=n}let i=t.maxPause;if(i!==void 0){if(typeof i!=`number`||!Number.isFinite(i)||i<.05||i>10)return`maxPause is seconds, from 0.05 to 10`;r.maxPause=i}let a=t.pad;if(a!==void 0){let e=a,t=typeof a==`object`&&e!==null&&!Array.isArray(a),n=t?Object.keys(e).filter(e=>e!==`before`&&e!==`after`):[],i=e=>e===void 0||en(e)&&e<=2;if(!t||n.length>0||!i(e.before)||!i(e.after))return`pad is { before, after }: seconds of silence kept before and after each cut, each from 0 to 2`;let o=e.before,s=e.after;r.pad={...o===void 0?{}:{before:o},...s===void 0?{}:{after:s}}}return r}function nn(e,t){if(e.length===0)return 0;let n=e[0];if(!n||t<=n.t)return n?.db??0;for(let n=1;n<e.length;n++){let r=e[n-1],i=e[n];if(r&&i&&t<=i.t)return i.t===r.t?i.db:r.db+(i.db-r.db)*(t-r.t)/(i.t-r.t)}return e.at(-1)?.db??0}function rn(e,t){let n=e.speed??1,r=e.cuts&&e.cuts.length>0?e.cuts:[{at:e.start,from:e.from}];for(let i=0;i<r.length;i++){let a=r[i];if(!a)continue;let o=r[i+1]?.at??e.end,s=a.from+(o-a.at)*n;if(t>=a.from-1e-6&&t<s+1e-6)return a.at+(t-a.from)/n}}function an(e,t){return(e?.remove??[]).some(e=>t>=e.from&&t<=e.to)}function on(e,t,n){return e.parts.flatMap(e=>{let r=e.speech;if(!r)return[];let i=t.get(r.file);if(!i)return[];let[a,o]=r.words??[0,i.length-1],s=r.edits===void 0?void 0:n.get(r.edits),c=[];for(let e=a;e<=o&&e<i.length;e++){let t=i[e];if(!t)continue;let n=an(s,e),a=n?void 0:rn(r,t.start),o=n?void 0:rn(r,Math.max(t.start,t.end-1e-4));c.push({i:e,text:t.text,start:t.start,end:t.end,removed:n,...a===void 0?{}:{film:a},...o===void 0?{}:{filmEnd:o}})}return[{part:e.key,title:e.title??e.key,file:r.file,...r.edits===void 0?{}:{edits:r.edits},words:c}]})}function sn(e){let t=[...e].sort((e,t)=>e.from-t.from),n=[];for(let e of t){let t=n.at(-1);t&&e.from<=t.to+1?(t.to=Math.max(t.to,e.to),delete t.text):n.push({...e})}return n}function cn(e,t,n){return e.slice(t,n+1).map(e=>e.text).join(` `)}function ln(e,t){return e.map(e=>({from:e.from,to:e.to,text:cn(t,e.from,e.to)}))}function un(e,t,n,r){let[i,a]=t<=n?[t,n]:[n,t],o=ln(sn([...e?.remove??[],{from:i,to:a}]),r);return{version:1,...e??{},remove:o}}function dn(e,t,n,r){let[i,a]=t<=n?[t,n]:[n,t],o=[];for(let t of e?.remove??[])t.to<i||t.from>a?o.push(t):(t.from<i&&o.push({from:t.from,to:i-1}),t.to>a&&o.push({from:a+1,to:t.to}));let s={version:1,...e??{},remove:ln(sn(o),r)};return s.remove?.length===0&&delete s.remove,s}function fn(e,t){let n=e=>{let t=new Set;for(let n of e?.remove??[])for(let e=n.from;e<=n.to;e++)t.add(e);return t},r=n(e),i=n(t);return{cut:[...i].filter(e=>!r.has(e)).sort((e,t)=>e-t),kept:[...r].filter(e=>!i.has(e)).sort((e,t)=>e-t)}}var pn=/[.?!…。?!](["'”’)\]」』]*)$/u;function mn(e){let t=[[]];for(let n of e)t.at(-1)?.push(n),pn.test(n.text)&&t.push([]);return t.length>1&&t.at(-1)?.length===0&&t.pop(),t}function hn(e){if(e.trim()!==``)try{let t=tn(JSON.parse(e));return typeof t==`string`?void 0:t}catch{return}}var gn=class{text;constructor(e){this.text=e}get list(){return hn(this.text)}setRemove(e){let t=e?.length?e:void 0;this.text=this.text.trim()===``?`${JSON.stringify({version:1,...t?{remove:t}:{}},null,2)}\n`:$t(this.text,[`remove`],t)}take(e,t){let n=this.list?.remove,r=JSON.stringify(n)===JSON.stringify(hn(t)?.remove);this.text=r||e.trim()===``?e:$t(e,[`remove`],n)}};function _n(e){let t=o(),[n,r]=(0,K.useState)(0),i=(0,K.useCallback)(()=>{r(e=>e+1)},[]),a=(0,K.useRef)(void 0),s=(0,K.useRef)(void 0),c=(0,K.useRef)(new Map),l=(0,K.useRef)(new Map),[u,d]=(0,K.useState)();(0,K.useEffect)(()=>{if(e)return;let n=je.open(t,[]);a.current=n;let r=c.current,o=l.current,u;return n.then(e=>{s.current=e,u=e.onUndo(i),i()}),()=>{u?.(),a.current=void 0,s.current=void 0,r.clear(),o.clear(),n.then(e=>e.close())}},[t,e,i]);let f=(0,K.useCallback)(e=>{let t=a.current;if(t===void 0)return;let n=l.current.get(e);return n||(n=t.then(async t=>{let n=await t.add(e),r=c.current.get(e);if(r)return r;let a=new gn(n.text);return n.attach({save:()=>a.text===n.text?void 0:a.text,take:(t,n,r)=>{a.take(t,n),r?.kind===`agent`&&d({path:e,...fn(hn(n),hn(t))}),i()}}),c.current.set(e,a),i(),a}),l.current.set(e,n)),n},[i]),p=t=>{let n=c.current.get(t);if(!n)e||f(t);else return n.list},m=(t,n)=>{let r=s.current;!e&&r&&n.length!==0&&(async()=>{let e=[];for(let t of n){let n=f(t.path);if(n===void 0)return;e.push(n)}let a=await Promise.all(e),o=n.flatMap((e,t)=>{let n=a[t];if(!n)return[];let r=n.list?.remove,i=e.next(n.list).remove;return n.setRemove(i),{undo:()=>{n.setRemove(r)},redo:()=>{n.setRemove(i)}}});r.pushEdit({label:t,files:[...new Set(n.map(e=>e.path))],undo:()=>{for(let e of[...o].reverse())e.undo();i()},redo:()=>{for(let e of o)e.redo();i()}}),i()})()},h=s.current;return{listOf:p,apply:m,undo:()=>{s.current?.undo()},redo:()=>{s.current?.redo()},canUndo:h?.canUndo??!1,canRedo:h?.canRedo??!1,undoLabel:h?.undoLabel,redoLabel:h?.redoLabel,tick:n,byAgent:u}}function vn(e,t){return`${e.file===void 0?e.key===void 0?`the ${e.layer} layer`:`layer ${JSON.stringify(e.key)} (${e.layer})`:`the footage ${e.file}`}${e.name===void 0||e.name===e.key?``:`, at ${JSON.stringify(e.name)} in it,`} of ${t} ${e.part}`}function yn(e){if(typeof e==`object`&&e&&e.allyhub===!0&&typeof e.type==`string`)return e}function bn(e,t){e?.postMessage({allyhub:!0,...t},`*`)}function xn(e,t,n,r,i=window){if(!e||t.width===0||t.height===0)return Promise.resolve([]);let a=crypto.randomUUID();return new Promise(o=>{let s=e=>{clearTimeout(l),i.removeEventListener(`message`,c),o(e)},c=t=>{if(t.source!==e)return;let n=yn(t.data);n?.type===`located`&&n.id===a&&s(n.layers)},l=setTimeout(()=>{s([])},r);i.addEventListener(`message`,c),bn(e,{type:`locate`,id:a,mark:d(n,({x:e,y:n})=>({x:(e-t.x)/t.width,y:(n-t.y)/t.height}))})})}function Sn(e,t,n){let r=new Map(t.map(e=>[e.key,e])),i=e.parts.flatMap(e=>{let t=e.speech;if(!t)return[];let n=r.get(e.key);return[{...n?.speechKey===void 0?{}:{key:n.speechKey},part:e.key,start:t.start,end:t.end,text:n?.spoken??``,file:t.file,from:t.from,speed:t.speed??1,...t.cuts?{cuts:t.cuts}:{}}]}),a=n?.music,o;if(a&&a.segments.length>0){let t=a.segments[0],n=a.segments.at(-1),r=Math.min(e.duration,a.until??(n?n.at+n.dur:e.duration)),i=[];for(let e=1;e<a.duck.length;e++){let t=a.duck[e-1],n=a.duck[e];if(t&&n&&t.db<0&&n.db<0){let e=i.at(-1);e&&Math.abs(e.end-t.t)<1e-9?e.end=n.t:i.push({start:t.t,end:n.t})}}o={file:a.file,start:t?.at??0,end:r,stretches:a.segments.map(e=>({at:e.at,from:e.from,dur:e.dur})),ducked:i,duck:a.duck,fadeIn:a.fadeIn,fadeOut:a.fadeOut}}return{cues:e.cues,speech:i,music:o}}function Cn(e,t){if(t<e.start||t>=e.end)return;let n=e.start,r=e.from;for(let i of e.cuts??[]){if(i.at>t)break;n=i.at,r=i.from}return r+(t-n)*e.speed}function wn(e,t){for(let n=e.stretches.length-1;n>=0;n--){let r=e.stretches[n];if(r&&t>=r.at&&t<r.at+r.dur)return r.from+(t-r.at)}}function Tn(e,t){let n=10**(nn(e.duck,t)/20);return e.fadeIn>0&&t-e.start<e.fadeIn&&(n*=Math.max(0,t-e.start)/e.fadeIn),e.fadeOut>0&&e.end-t<e.fadeOut&&(n*=Math.max(0,e.end-t)/e.fadeOut),Math.max(0,n)}function En(e){let t=new Set((e.index??[]).filter(e=>e.matte===!0).map(e=>e.file));return e.parts.flatMap(n=>{let r=(e.footage??[]).find(e=>e.part===n.key&&t.has(e.file));return r?[{part:n.key,file:r.file}]:[]})}var Dn=1e3,On=20,kn=1500,An=15e3,jn=1500,Mn=300,Nn=e=>({timeline:e.timeline,texts:e.text,uncut:En(e.timeline)});function Pn({item:e,version:t,revision:n,width:r,height:i,start:u,overlay:d,onLoaded:p,onError:m,onState:g,timelineOpen:_,onTimelineOpen:y,ref:b}){let x=X(),S=o(),C=(0,K.useRef)(null),w=(0,K.useRef)(new Map),[T,E]=(0,K.useState)(),[D,O]=(0,K.useState)(),[k,A]=(0,K.useState)(),[j,M]=(0,K.useState)(),[ee,N]=(0,K.useState)(),[P,te]=(0,K.useState)(!1),[ne,re]=(0,K.useState)(),F=s(ne),[I,L]=(0,K.useState)({t:u?.t??0,part:void 0,playing:!1}),[ie,ae]=(0,K.useState)(0),[oe,se]=(0,K.useState)(),ce=(0,K.useRef)(1),le=(0,K.useRef)(void 0),ue=(0,K.useRef)(!1),de=(0,K.useCallback)(e=>{let t=it(e);le.current!==t.t&&(le.current=t.t,S[`editor/place`]({place:t}).catch(()=>void 0))},[S]),R=(0,K.useRef)({shown:T,pending:D,play:I,view:j,onLoaded:p,onError:m,onState:g});(0,K.useEffect)(()=>{R.current={shown:T,pending:D,play:I,view:j,onLoaded:p,onError:m,onState:g}});let fe=e=>e===void 0?void 0:C.current?.querySelector(`iframe[data-frame="${String(e.id)}"]`)?.contentWindow,z=e=>{bn(fe(R.current.shown),e)};(0,K.useImperativeHandle)(b,()=>({seek:e=>{z({type:`seek`,t:e}),de(e)},play:()=>{z({type:`play`})},pause:()=>{z({type:`pause`})},objects:e=>new Promise(t=>{let n=setTimeout(()=>{w.current.delete(e),t(void 0)},jn);w.current.set(e,e=>{clearTimeout(n),t(e)}),z({type:`objects`,t:e})})}));let pe=n=>qe(S,`video/stage`,{item:e,version:t,start:n,chrome:!1}).then(e=>(re(e.probe),e.url)),B=`${e}\n${t}`,me=(0,K.useRef)(e);(0,K.useEffect)(()=>{let{shown:t,play:n}=R.current,r=me.current===e;me.current=e;let i={t:0},a=t?r?{t:n.t}:i:u??i,o=!0;return pe(a).then(e=>{o&&(E({id:ce.current++,src:e}),O(void 0),A(void 0),N(void 0))},e=>{if(!o)return;let t=e instanceof Error?e.message:String(e);N(t),R.current.onError?.(t)}),()=>{o=!1}},[B]);let he=(0,K.useRef)(n);(0,K.useEffect)(()=>{if(n===he.current)return;he.current=n;let{shown:e,play:t,view:r}=R.current;if(!e)return;let i=r?.timeline.parts.find(e=>t.t>=e.start&&t.t<e.end),a=i?{t:t.t,part:i.key,offset:t.t-i.start,dur:i.end-i.start}:{t:t.t},o=!0;return pe(a).then(e=>{o&&O({id:ce.current++,src:e,from:t.t})},e=>{o&&R.current.onError?.(e instanceof Error?e.message:String(e))}),()=>{o=!1}},[n]),(0,K.useEffect)(()=>{if(!k)return;let e=setTimeout(()=>{A(void 0)},Mn);return()=>{clearTimeout(e)}},[k]),(0,K.useEffect)(()=>{if(!D)return;let e=setTimeout(()=>{O(void 0),R.current.onError?.(x.loadFailed)},An);return()=>{clearTimeout(e)}},[D,x.loadFailed]),(0,K.useEffect)(()=>{let e=e=>{let t=yn(e.data);if(!t)return;let{shown:n,pending:r}=R.current,i=[n,r].find(t=>t!==void 0&&fe(t)===e.source);if(!i)return;let a=i.id===r?.id;if(t.type===`objects`){if(a)return;w.current.get(t.t)?.(t),w.current.delete(t.t);let n=R.current.play.t;Math.abs(t.t-n)>1e-6&&bn(e.source,{type:`seek`,t:n})}else if(t.type===`sound`)i.denoising=t.denoising,a||te(t.denoising);else if(t.type===`loaded`){let e={kind:t.kind,timeline:t.timeline,text:t.text,reads:t.reads,problems:t.problems,mix:t.mix};if(a){i.loaded=e;return}M(Nn(e)),N(void 0),R.current.onLoaded?.(e)}else if(t.type===`error`)a?O(void 0):N(t.message),R.current.onError?.(t.message);else if(t.type===`time`){if(a){if(!i.loaded)return;A(n&&!window.matchMedia(`(prefers-reduced-motion: reduce)`).matches?n:void 0),E(i),O(void 0),ae(e=>e+1),te(i.denoising===!0),M(Nn(i.loaded)),N(void 0),R.current.onLoaded?.(i.loaded);let t=R.current.play.t;if(i.from!==void 0&&Math.abs(t-i.from)>1e-6){bn(e.source,{type:`seek`,t});return}}let r={t:t.t,part:t.part,playing:t.playing};r.playing&&ue.current||de(r.t),ue.current=r.playing,se(i.id),L(r),R.current.onState?.(r)}};return window.addEventListener(`message`,e),()=>{window.removeEventListener(`message`,e)}},[de]);let V=j?.timeline,[ge,_e]=V?[V.width,V.height]:[r,i],ve=j?.uncut.find(e=>e.part===I.part),ye=V!==void 0,be=I.playing;(0,K.useEffect)(()=>{if(!ye)return;let e=e=>{if(e.key!==` `||e.metaKey||e.ctrlKey||e.altKey||e.defaultPrevented)return;let t=e.target;t instanceof HTMLElement&&(t.isContentEditable||t.closest(`input,textarea,select,button,a,[role=slider],[role=menuitem],[role=dialog]`))||(e.preventDefault(),bn(fe(R.current.shown),{type:be?`pause`:`play`}))};return window.addEventListener(`keydown`,e),()=>{window.removeEventListener(`keydown`,e)}},[ye,be]);let H=e=>{z({type:`seek`,t:e}),de(e)},xe=(e,t)=>(0,q.jsx)(`iframe`,{"data-frame":e.id,src:e.src,title:x.previewTitle,...F?{sandbox:`allow-scripts`}:{},allow:`autoplay`,"data-testid":t===`shown`?`stage`:t===`pending`?`stage-pending`:`stage-leaving`,className:h(`absolute -inset-0.5 size-[calc(100%+4px)] border-0`,t===`pending`&&`pointer-events-none opacity-0`,t===`leaving`&&`ak-stage-leaving pointer-events-none z-[1]`)},e.id),Se=V?`bg-background`:`bg-black`,Ce=(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(`div`,{className:`absolute inset-0 isolate`,children:[k&&F!==void 0?xe(k,`leaving`):null,T&&F!==void 0?xe(T,`shown`):null,D&&F!==void 0?xe(D,`pending`):null]}),V||ee!==void 0?null:(0,q.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:(0,q.jsx)(Re,{label:x.loading,className:`[&>span]:bg-on-media/80`})}),P?(0,q.jsx)(`span`,{className:`bg-background/90 text-muted-foreground absolute top-2 right-2 rounded-sm px-2 py-0.5 font-mono text-micro`,"data-testid":`denoising`,children:x.denoising}):null,V?(0,q.jsx)(`span`,{"aria-hidden":!0,"data-testid":`play-affordance`,"data-shown":!I.playing&&I.t<.05?``:void 0,className:`bg-foreground/92 text-background pointer-events-none absolute top-1/2 left-1/2 flex size-14 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-md opacity-0 transition-opacity data-[shown]:opacity-100`,children:(0,q.jsx)(Fe,{className:`size-6 translate-x-px fill-current`})}):null,ve?(0,q.jsx)(`span`,{className:`bg-background/90 text-muted-foreground absolute top-2 left-2 max-w-[calc(100%-1rem)] rounded-sm px-2 py-0.5 font-mono text-micro`,"data-testid":`uncut`,children:x.uncut(ve.file)}):null,d]}),we=oe!==void 0&&oe===T?.id,Te=async()=>{z({type:`pause`});let e=Date.now()+Dn;for(;R.current.play.playing&&Date.now()<e;)await new Promise(e=>{setTimeout(e,On)})},Ee=()=>{let e=C.current?.getBoundingClientRect();return e&&e.width>0&&e.height>0?{x:e.x,y:e.y,width:e.width,height:e.height}:void 0},De=c()?.item.entry;l({hold:async()=>{await Te();let{t:n,part:r}=R.current.play;return{key:`${e}@${t}@${n.toFixed(3)}@${String(R.current.shown?.id??0)}`,what:`The video ${e}, version ${t}, at ${n.toFixed(2)} s${r===void 0?``:`, in the part ${r}`}`,...De===void 0?{}:{source:{path:De}}}},locate:e=>{let t=Ee(),n=v(e)[0],r=t!==void 0&&n!==void 0&&n.x>=t.x&&n.x<=t.x+t.width&&n.y>=t.y&&n.y<=t.y+t.height,i=[...document.querySelectorAll(`[data-row]`)].filter(t=>f(e,t.getBoundingClientRect())).map(e=>({name:`the ${e.dataset.row??``} row of the timeline`}));return Promise.resolve({elements:i,...r?{}:{where:`on the timeline`}})}}),a({element:()=>T?C.current:void 0,pictures:async()=>{let n=Ee();if(!n)return[];let r=await qe(S,`video/still`,{item:e,version:t,t:R.current.play.t}).catch(()=>void 0);return r?[{rect:n,mime:r.image.mime,data:r.image.data}]:[]},locate:async e=>{let t=Ee(),{t:n,part:r}=R.current.play;return{elements:(t?await xn(fe(R.current.shown),t,e,kn):[]).map(e=>{let t=e.piece??De;return{name:vn(e,`part`),...t===void 0?{}:{source:{path:t}},...e.text===void 0?{}:{text:e.text}}}),where:`on the picture at ${n.toFixed(2)} s${r===void 0?``:`, in the part ${r}`}`}}});let Oe=!_,U=`min(100cqw - 2px, (100cqh - ${String(Oe?51:2)}px) * ${String(ge/_e)})`;return(0,q.jsx)(`div`,{className:`flex h-full min-h-0 flex-col gap-2`,"data-testid":`video-preview`,"data-t":I.t.toFixed(4),"data-ready":we?``:void 0,"data-swaps":ie,children:(0,q.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col items-center justify-center [container-type:size]`,children:(0,q.jsxs)(`div`,{className:`box-content overflow-hidden border shadow-[0_1px_2px_rgb(0_0_0/0.06),0_14px_36px_-14px_rgb(0_0_0/0.22)]`,style:{width:U},"data-testid":`player`,children:[(0,q.jsx)(`div`,{ref:C,className:h(`relative mx-auto overflow-hidden`,Se),style:{width:U,height:`calc(${U} * ${String(_e/ge)})`},children:Ce}),Oe?V?(0,q.jsx)(In,{timeline:V,state:I,onOpen:y,onToggle:()=>{z({type:I.playing?`pause`:`play`})},onSeek:H}):(0,q.jsx)(`div`,{className:`h-12 border-t`}):null]})})})}var Fn=2;function In({timeline:e,state:t,onOpen:n,onToggle:r,onSeek:i}){let a=X();return(0,q.jsxs)(`div`,{className:`relative flex h-12 items-center gap-3 border-t px-3`,"data-testid":`transport`,children:[(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(g,{size:`icon-sm`,className:`rounded-md`,"aria-label":t.playing?a.pause:a.play,"data-testid":`play`,onClick:r,children:t.playing?(0,q.jsx)(Pe,{className:`fill-current`}):(0,q.jsx)(Fe,{className:`translate-x-px fill-current`})}),(0,q.jsxs)(`span`,{className:`shrink-0 font-mono text-xs tabular-nums`,"data-testid":`clock`,children:[J(Math.min(t.t,e.duration)),(0,q.jsxs)(`span`,{className:`text-muted-foreground`,children:[` / `,J(e.duration)]})]})]}),(0,q.jsx)(Ln,{timeline:e,state:t,onSeek:i}),(0,q.jsx)(g,{size:`icon-sm`,variant:`ghost`,className:`text-muted-foreground -mr-1`,"aria-label":a.showTimeline,title:a.showTimeline,"aria-expanded":!1,"data-testid":`timeline-toggle`,onClick:()=>{n(!0)},children:(0,q.jsx)(ye,{})})]})}function Ln({timeline:e,state:t,onSeek:n}){let r=X(),{duration:i,fps:a}=e,o=Math.max(0,i-1/a),s=e.parts.length?e.parts.map((e,t)=>({key:e.key,name:e.title??String(t+1),start:e.start,end:e.end})):[{key:``,name:``,start:0,end:i}],c=(s.length-1)*Fn,[l,u]=(0,K.useState)(),[d,f]=(0,K.useState)(),p=Math.min(l??t.t,i),m=e=>Math.max(0,s.findIndex((t,n)=>n===s.length-1||e<t.end)),h=s[m(p)],g=e=>{let t=e.currentTarget.getBoundingClientRect(),n=Math.min(t.width,Math.max(0,e.clientX-t.left)),r=Math.max(1,t.width-c),l=0,u=i;for(let e of s){let t=r*(e.end-e.start)/Math.max(i,1e-6);if(n<=l+t+Fn/2){let r=Math.min(1,Math.max(0,(n-l)/Math.max(t,1)));u=e.start+r*(e.end-e.start);break}l+=t+Fn}return{x:n,t:Math.min(Math.max(Ve(u,a),0),o)}},_=e=>{n(Math.min(Math.max(Ve(e,a),0),o))},v=d?s[m(d.t)]?.name:void 0;return(0,q.jsxs)(`div`,{role:`slider`,tabIndex:0,"aria-label":r.seek,"aria-valuemin":0,"aria-valuemax":Math.round(i*100)/100,"aria-valuenow":Math.round(p*100)/100,"aria-valuetext":r.timeOf(J(p),J(i),h?.name??``),"data-testid":`scrubber`,className:`group/scrub focus-visible:outline-ring relative h-6 min-w-0 flex-1 cursor-pointer touch-none rounded-sm outline-none focus-visible:outline-1 focus-visible:outline-solid focus-visible:-outline-offset-1`,onPointerDown:e=>{e.currentTarget.setPointerCapture(e.pointerId);let t=g(e);u(t.t),f(t),n(t.t)},onPointerMove:e=>{let t=g(e);f(t),l!==void 0&&t.t!==l&&(u(t.t),n(t.t))},onPointerUp:()=>{u(void 0)},onPointerCancel:()=>{u(void 0)},onPointerLeave:()=>{f(void 0)},onKeyDown:e=>{if(e.key===`ArrowLeft`)_(t.t-1);else if(e.key===`ArrowRight`)_(t.t+1);else if(e.key===`Home`)_(0);else if(e.key===`End`)_(o);else return;e.preventDefault()},children:[(0,q.jsx)(`div`,{className:`absolute inset-x-0 top-1/2 flex h-1 -translate-y-1/2 transition-[height] duration-100 group-hover/scrub:h-1.5`,style:{gap:Fn},children:s.map(e=>{let t=Math.max(e.end-e.start,1e-6),n=Math.min(1,Math.max(0,(p-e.start)/t));return(0,q.jsx)(`span`,{"data-chapter":e.key,className:`bg-rule-strong relative min-w-0 overflow-hidden`,style:{flexGrow:t,flexBasis:0},children:(0,q.jsx)(`span`,{className:`bg-foreground absolute inset-y-0 left-0`,style:{width:`${String(n*100)}%`}})},e.key)})}),(0,q.jsx)(`span`,{"aria-hidden":!0,className:`bg-foreground ring-background pointer-events-none absolute top-1/2 h-3 w-[3px] -translate-x-1/2 -translate-y-1/2 ring-1`,style:{left:`calc((100% - ${String(c)}px) * ${String(p/Math.max(i,1e-6))} + ${String(m(p)*Fn)}px)`}}),d?(0,q.jsxs)(`span`,{role:`tooltip`,"data-testid":`scrub-tip`,className:`bg-popover text-popover-foreground shadow-overlay pointer-events-none absolute bottom-full z-10 mb-1.5 flex max-w-[16rem] -translate-x-1/2 items-baseline gap-2 rounded-sm px-2 py-1 whitespace-nowrap`,style:{left:d.x},children:[v?(0,q.jsx)(`span`,{className:`truncate font-serif text-dense`,children:v}):null,(0,q.jsx)(`span`,{className:`text-muted-foreground font-mono text-micro tabular-nums`,children:J(d.t)})]}):null]})}var Rn={error:0,warn:1};function zn(e){let t=new Set;return[...e].sort((e,t)=>Rn[e.level]-Rn[t.level]).filter(e=>{let n=`${e.code}\u0000${e.message}\u0000${e.where?.file??``}`;return!t.has(n)&&(t.add(n),!0)})}function Bn({error:e,problems:t,compact:n}){let r=X(),[i,a]=(0,K.useState)(!1),o=zn(t);return e===void 0?o.length?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(g,{variant:`secondary`,size:`xs`,className:`bg-background/90 text-foreground absolute bottom-2 left-2 z-20 h-auto gap-1.5 rounded-sm px-2 py-1 font-mono text-micro font-normal has-[>svg]:px-2`,onClick:()=>{a(!i)},"aria-expanded":i,"data-testid":`problems-chip`,children:[(0,q.jsx)(B,{className:h(`size-3.5`,o.some(e=>e.level===`error`)?`text-problem-text`:`text-caution-text`)}),r.problemsHere(o.length)]}),i?(0,q.jsxs)(`div`,{className:`bg-card absolute bottom-10 left-2 z-30 flex max-h-[60%] w-[min(420px,calc(100%-1rem))] flex-col rounded-md border shadow-[var(--allyhub-shadow-overlay)]`,"data-testid":`problems`,children:[(0,q.jsx)(`div`,{className:`flex items-center justify-end border-b px-1 py-1`,children:(0,q.jsx)(g,{size:`icon-xs`,variant:`ghost`,"aria-label":r.close,onClick:()=>{a(!1)},children:(0,q.jsx)(p,{})})}),(0,q.jsx)(`ul`,{className:`divide-y overflow-y-auto`,children:o.map((e,t)=>(0,q.jsxs)(`li`,{"data-code":e.code,className:`px-3 py-2 text-sm leading-relaxed`,children:[(0,q.jsxs)(`span`,{className:`text-muted-foreground mr-2 font-mono text-micro`,children:[e.level===`error`?r.levelError:r.levelWarn,` ·`,` `,e.code]}),e.message]},`${e.code}-${String(t)}`))})]}):null]}):null:(0,q.jsx)(`div`,{className:h(`z-20 overflow-auto text-left`,n?`bg-background/94 absolute inset-x-0 bottom-0 max-h-[45%] border-t px-4 py-3`:`bg-background/96 absolute inset-0 grid content-center justify-items-center p-5 text-center`),"data-testid":`stage-overlay`,"data-compact":n?`true`:void 0,role:`alert`,children:(0,q.jsxs)(`p`,{className:`flex items-center gap-1.5 text-sm`,children:[(0,q.jsx)(B,{className:`text-problem-text size-4`,"aria-hidden":!0}),n?r.previewFailedKept:r.previewFailed]})})}function Vn(e){let t=(0,K.useRef)(void 0),n=t=>Math.round(Math.max(e.min,Math.min(e.max,t))),r=e.orientation===`vertical`,i=e.after===!0?-1:1,a=e=>r?e.clientX:e.clientY,[o,s]=r?[`ArrowLeft`,`ArrowRight`]:[`ArrowUp`,`ArrowDown`];return(0,q.jsx)(`div`,{role:`separator`,"aria-orientation":e.orientation,"aria-label":e.label,"aria-valuenow":e.value,"aria-valuemin":e.min,"aria-valuemax":e.max,tabIndex:0,"data-testid":e.testid,className:r?`group relative z-30 w-px shrink-0 cursor-col-resize bg-border outline-none before:absolute before:inset-y-0 before:-inset-x-1.5 before:content-['']`:`group relative z-30 h-px shrink-0 cursor-row-resize bg-border outline-none before:absolute before:-inset-y-1.5 before:inset-x-0 before:content-['']`,onPointerDown:n=>{t.current={at:a(n),value:e.value},n.currentTarget.setPointerCapture(n.pointerId)},onPointerMove:r=>{let o=t.current;o&&e.onChange(n(o.value+i*(a(r)-o.at)))},onPointerUp:()=>{t.current=void 0},onKeyDown:t=>{let r=(t.shiftKey?40:8)*i;if(t.key===s)e.onChange(n(e.value+r));else if(t.key===o)e.onChange(n(e.value-r));else return;t.preventDefault()},children:(0,q.jsx)(`span`,{"aria-hidden":!0,className:`group-hover:bg-rule-strong group-focus-visible:bg-pencil pointer-events-none absolute inset-0`})})}function Hn(e,t,n,r=4){let i=e.map(({x:e,width:n},r)=>{let i=e+n>t&&e-n>=0?`before`:`after`;return i===`after`?{i:r,side:i,from:e,to:e+n}:{i:r,side:i,from:e-n,to:e}}),a=[],o=e.map(()=>null);for(let e of[...i].sort((e,t)=>e.from-t.from||e.i-t.i)){let t=0;for(;t<n&&(a[t]??-1/0)+r>e.from;)t++;t!==n&&(a[t]=e.to,o[e.i]={lane:t,side:e.side})}return o}var Un=.01,Wn=new Map;async function Gn(e){try{let t=await fetch(e);if(!t.ok)return;let n=await t.arrayBuffer(),r=await new OfflineAudioContext(1,1,44100).decodeAudioData(n),i=r.sampleRate/50,a=Math.ceil(r.length/i),o=new Float32Array(a),s=0;for(let e=0;e<r.numberOfChannels;e++){let t=r.getChannelData(e);for(let e=0;e<a;e++){let n=Math.min(t.length,Math.floor((e+1)*i)),r=o[e]??0;for(let a=Math.floor(e*i);a<n;a++){let e=Math.abs(t[a]??0);e>r&&(r=e)}o[e]=r,r>s&&(s=r)}}if(s<Un)return;let c=Float32Array.from(o).sort(),l=c[Math.floor(c.length*.95)]??s;return{duration:r.duration,data:o,max:l>0?l:s}}catch{return}}function Kn(e){let t=Wn.get(e);return t||(t=Gn(e),Wn.set(e,t)),t}function qn(e){let[t,n]=(0,K.useState)();(0,K.useEffect)(()=>{if(e===void 0)return;let t=!0;return Kn(e).then(r=>{t&&n({url:e,peaks:r})}),()=>{t=!1}},[e]);let r=t?.url===e?t:void 0;return{peaks:r?.peaks,settled:e===void 0||r!==void 0}}function Jn(e,t,n){let r=Math.max(0,Math.floor(t*50)),i=Math.min(e.data.length,Math.max(r+1,Math.ceil(n*50))),a=0;for(let t=r;t<i;t++){let n=e.data[t]??0;n>a&&(a=n)}return a}var Yn={scenes:`text-track-scene`,voice:`text-track-voice`,music:`text-track-music`,sound:`text-track-sound`},Q={ruler:28,scenes:36,voice:40,music:32,sound:28},Xn={parts:[],music:!1,cues:[],listening:!1,round:0};function Zn(e){return Q.ruler+1+Q.scenes+1+e.reduce((e,t)=>e+Q[t]+1,0)}var Qn=6;function $n(e,t){let n=e=>e.join(` `).replace(/\s+([.,!?;:。,!?;:、])/g,`$1`).trim(),[r,...i]=e;if(r===t&&i.length>0){let e=n(i);if(/^[^a-z]/.test(e))return e}return n(e)}function er(e){return e<=60?{minor:1,major:5}:e<=180?{minor:1,major:10}:e<=600?{minor:5,major:30}:e<=1800?{minor:10,major:60}:{minor:60,major:300}}var $=(e,t)=>`${String(e/Math.max(t,1e-6)*100)}%`;function tr({title:e,mono:t=!1,time:n,line:r,children:i}){return(0,q.jsxs)(z,{children:[(0,q.jsx)(fe,{asChild:!0,children:i}),(0,q.jsx)(R,{side:`top`,sideOffset:6,className:`max-w-[20rem]`,children:(0,q.jsxs)(`span`,{className:`flex flex-col gap-0.5 text-left`,children:[(0,q.jsx)(`span`,{className:h(t&&`font-mono text-micro`),children:e}),(0,q.jsx)(`span`,{className:`font-mono text-micro tabular-nums opacity-70`,children:n}),r?(0,q.jsx)(`span`,{className:`opacity-80`,children:r}):null]})})]})}function nr(e){let t=o(),[n,r]=(0,K.useState)();return(0,K.useEffect)(()=>{let n=!0;return tt(t,e).then(t=>{n&&r({file:e,url:t})}),()=>{n=!1}},[t,e]),n?.file===e?n.url:void 0}function rr({file:e,from:t,to:n,sample:r,alpha:i,className:a}){let o=(0,K.useRef)(null),{peaks:s,settled:c}=qn(nr(e)),[l,u]=(0,K.useState)(!1);return(0,K.useEffect)(()=>{let e=o.current;if(!e||!s)return;let a=()=>{let a=window.devicePixelRatio||1,o=Math.round(e.clientWidth*a),c=Math.round(e.clientHeight*a);if(!o||!c)return;e.width=o,e.height=c;let l=e.getContext(`2d`);if(!l)return;l.fillStyle=getComputedStyle(e).color,l.globalAlpha=i;let d=1/Math.max(s.max,.05),f=n-t,p=c-2*Math.round(2*a);for(let e=0;e<o;e+=2){let n=r(t+e/o*f);if(!n)continue;let i=Jn(s,n.at,n.at+2/o*f)*d*n.gain,a=Math.max(1,Math.round(Math.min(1,i)**ir*p));l.fillRect(e,Math.round((c-a)/2),1,a)}u(!0)};a();let c=new ResizeObserver(a);c.observe(e);let l=new MutationObserver(a);return l.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]}),()=>{c.disconnect(),l.disconnect()}},[s,t,n,r,i]),(0,q.jsx)(`canvas`,{ref:o,"aria-hidden":!0,"data-wave":l?`ready`:c?`none`:`pending`,className:h(`pointer-events-none absolute inset-0 size-full opacity-0 transition-opacity data-[wave=ready]:opacity-100`,a)})}var ir=.7,ar=`focus-visible:outline-ring absolute inset-y-1 overflow-hidden rounded-xs border focus-visible:outline-1 focus-visible:outline-solid focus-visible:-outline-offset-1`;function or({line:e,duration:t,onSeek:n}){let r=(0,K.useCallback)(t=>{let n=Cn(e,t);return n===void 0?void 0:{at:n,gain:1}},[e]);return(0,q.jsx)(tr,{title:e.text,time:`${Y(e.start)} – ${Y(e.end)} · ${He(e.file)}`,children:(0,q.jsxs)(`button`,{type:`button`,"data-sentence":e.key??e.part,"data-start":e.start.toFixed(4),className:h(ar,`bg-track-voice/15 border-track-voice/60 hover:bg-track-voice/25 text-left`),style:{left:$(e.start,t),width:$(e.end-e.start,t)},onPointerDown:e=>{e.stopPropagation()},onClick:()=>{n(e.start)},children:[(0,q.jsx)(`span`,{className:`absolute inset-x-1.5 top-0 block h-[14px] truncate text-micro leading-[14px]`,children:e.text}),(0,q.jsx)(`span`,{className:`absolute inset-x-0 top-[14px] bottom-0`,children:(0,q.jsx)(rr,{file:e.file,from:e.start,to:e.end,sample:r,alpha:.7,className:`text-track-voice`})})]})})}var sr=2,cr=.75;function lr({parts:e,duration:t}){let n=(0,K.useRef)(null),r=(0,K.useRef)(new Map),[i,a]=(0,K.useState)(0),[o,s]=(0,K.useState)(()=>new Map),c=e.flatMap(e=>(e.anchors??[]).map(t=>({id:`${e.key}@${t.name}`,part:e.key,anchor:t}))),l=c.map(e=>e.id).join(`
23
+ `);(0,K.useLayoutEffect)(()=>{let e=n.current;if(!e)return;let t=()=>{a(e.clientWidth);let t=new Map;for(let[e,n]of r.current)t.set(e,n.offsetWidth);s(e=>e.size===t.size&&[...t].every(([t,n])=>e.get(t)===n)?e:t)};t();let i=new ResizeObserver(t);i.observe(e);for(let e of r.current.values())i.observe(e);return()=>{i.disconnect()}},[l]);let u=Hn(c.map(e=>({x:e.anchor.at/Math.max(t,1e-6)*i,width:o.get(e.id)??0})),i,sr);return(0,q.jsx)(`div`,{ref:n,className:`pointer-events-none absolute inset-0`,children:c.map((e,n)=>(0,q.jsx)(ur,{part:e.part,anchor:e.anchor,duration:t,place:u[n]??null,nameRef:t=>(r.current.set(e.id,t),()=>{r.current.delete(e.id)})},e.id))})}function ur({part:e,anchor:t,duration:n,place:r,nameRef:i}){let{at:a,end:o}=t,s=(a,o)=>(0,q.jsx)(`span`,{"data-anchor":`${e}:${t.name}${a?`:end`:``}`,"data-time":o.toFixed(4),title:t.name,className:`before:bg-foreground/70 absolute inset-y-0 z-10 -ml-1 w-2 before:absolute before:inset-y-0 before:left-1/2 before:w-px`,style:{left:$(o,n)},children:!a&&(0,q.jsx)(`span`,{ref:i,"data-anchor-lane":r?String(r.lane):void 0,className:h(`bg-background text-muted-foreground absolute rounded-xs px-0.5 font-mono text-micro leading-3 whitespace-nowrap`,r?.side===`before`?`right-1/2 mr-px`:`left-1/2 ml-px`,!r&&`invisible`),style:{bottom:`${String((r?.lane??0)*cr)}rem`},children:t.name})},a?`end`:`at`);return(0,q.jsxs)(q.Fragment,{children:[o!==void 0&&o>a&&(0,q.jsx)(`span`,{className:`bg-foreground/50 pointer-events-none absolute bottom-0 z-10 h-px`,style:{left:$(a,n),width:$(o-a,n)}}),s(!1,a),o!==void 0&&s(!0,o)]})}function dr({music:e,duration:t,ducked:n}){let{start:r,end:i}=e,a=(0,K.useCallback)(t=>{let n=wn(e,t);return n===void 0?void 0:{at:n,gain:Tn(e,t)}},[e]),o=He(e.file);return(0,q.jsx)(tr,{mono:!0,title:o,time:`${Y(r)} – ${Y(i)}`,line:e.ducked.length?n:void 0,children:(0,q.jsxs)(`div`,{"data-music":o,className:h(ar,`bg-track-music/15 border-track-music/60`),style:{left:$(r,t),width:$(i-r,t)},children:[(0,q.jsx)(rr,{file:e.file,from:r,to:i,sample:a,alpha:.6,className:`text-track-music`}),(0,q.jsx)(`span`,{className:`bg-background/85 text-foreground absolute top-1/2 left-1.5 -translate-y-1/2 rounded-xs px-1 font-mono text-micro leading-[14px]`,children:o})]})})}var fr=(0,K.memo)(function({timeline:e,texts:t,tracks:n,rows:r,current:i,second:a,marks:o,onSeek:s}){let c=X(),{duration:l,parts:u}=e,d=e=>(0,q.jsx)(`span`,{className:`text-muted-foreground bg-background pointer-events-none absolute top-1/2 left-3 -translate-y-1/2 px-1 text-xs leading-4`,children:e}),f=n.speech,p=n.music?[n.music]:[],m=n.cues,g=e=>u.find(t=>t.key===e)?.title??e;return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(`div`,{className:`relative border-t`,style:{height:Q.scenes+1},"data-row":`scenes`,children:[u.map((e,n)=>{let r=e.key===i,o=e.title??e.key,c=t.find(t=>t.key===e.key),u=c?.spoken??$n(c?.onScreen??[],o),d=(e.end-e.start)*a<56;return(0,q.jsx)(tr,{title:(0,q.jsx)(`span`,{className:`font-serif text-dense`,children:o}),time:`${Y(e.start)} – ${Y(e.end)}`,line:u||void 0,children:(0,q.jsxs)(`button`,{type:`button`,"data-chapter":e.key,"data-start":e.start.toFixed(4),"aria-current":r?`true`:void 0,className:h(ar,`flex items-center gap-1.5 px-2 text-left transition-colors`,r?`bg-track-scene/25 border-track-scene`:`bg-track-scene/10 border-track-scene/45 hover:bg-track-scene/20`),style:{left:$(e.start,l),width:`calc(${$(e.end-e.start,l)} - 1px)`},onPointerDown:e=>{e.stopPropagation()},onClick:()=>{s(e.start)},children:[(0,q.jsx)(`span`,{className:h(`font-mono text-micro tabular-nums`,r?`text-foreground/70`:`text-muted-foreground`),children:String(n+1)}),d?null:(0,q.jsx)(`span`,{className:h(`min-w-0 truncate font-serif text-xs`,r?`font-semibold`:`text-foreground/80`),children:o})]})},e.key)}),u.filter(e=>o.parts.includes(e.key)).map(e=>(0,q.jsx)(`span`,{"aria-hidden":!0,"data-testid":`agent-changed`,"data-part":e.key,className:`ak-agent-wash bg-agent/25 outline-agent pointer-events-none absolute inset-y-1 rounded-xs outline-2`,style:{left:$(e.start,l),width:`calc(${$(e.end-e.start,l)} - 1px)`}},`${String(o.round)}:${e.key}`))]}),r.includes(`voice`)?(0,q.jsxs)(`div`,{className:`relative border-t`,style:{height:Q.voice+1},"data-row":`voice`,children:[f.length>0?f.map(e=>(0,q.jsx)(or,{line:e,duration:l,onSeek:s},`${e.part}@${String(e.start)}`)):d(c.noVoice),(0,q.jsx)(lr,{parts:u,duration:l})]}):null,r.includes(`music`)?(0,q.jsxs)(`div`,{className:`relative border-t`,style:{height:Q.music+1},"data-row":`music`,children:[p.length?p.map(e=>(0,q.jsx)(dr,{music:e,duration:l,ducked:c.ducked},`${e.file}@${String(e.start)}`)):d(c.noMusic),o.music?p.map(e=>(0,q.jsx)(`span`,{"aria-hidden":!0,"data-testid":`agent-music`,className:`outline-agent pointer-events-none absolute inset-y-1 rounded-xs outline-2`,style:{left:$(e.start,l),width:$(e.end-e.start,l)}},`${e.file}@${String(e.start)}`)):null]}):null,r.includes(`sound`)?(0,q.jsxs)(`div`,{className:`relative border-t`,style:{height:Q.sound+1},"data-row":`sound`,children:[(0,q.jsx)(`span`,{className:`bg-rule-strong absolute inset-x-0 top-1/2 h-px`}),m.length?m.map((e,t)=>(0,q.jsx)(tr,{mono:!0,title:e.sound,time:`${Y(e.t)} · ${g(e.part)}`,line:e.what,children:(0,q.jsx)(`span`,{"data-cue":e.sound,"data-agent":o.cues.includes(e.part)?``:void 0,className:`absolute top-1/2 block size-[7px] -translate-y-1/2`,style:{left:$(e.t,l)},children:(0,q.jsx)(`span`,{className:h(`block size-full rotate-45`,o.cues.includes(e.part)?`bg-agent`:`bg-track-sound`,e.t*a<5?`translate-x-[2px]`:`-translate-x-1/2`)})})},`${e.sound}@${String(e.t)}#${String(t)}`)):d(c.noCues)]}):null]})});function pr({timeline:e,texts:t,tracks:n,rows:r,state:i,agent:a,marks:o=Xn,transport:s,onSeek:c}){let l=X(),{duration:u,fps:d,parts:f}=e,p=Math.max(0,u-1/d),m=(0,K.useRef)(null),_=(0,K.useRef)(null),[v,y]=(0,K.useState)(0),[b,x]=(0,K.useState)(!1),[S,C]=(0,K.useState)();(0,K.useLayoutEffect)(()=>{let e=m.current;if(!e)return;let t=()=>{y(e.clientWidth)};t();let n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect()}},[]);let w=v>0&&v/u<Qn,T=w?Math.ceil(u*Qn):v,E=T/Math.max(u,1e-6),{t:D,playing:O}=i;(0,K.useEffect)(()=>{let e=_.current;if(!e)return;let t=t=>{let n=Math.min(Math.max(t,0),u)*E;e.style.transform=`translateX(${String(n)}px)`;let r=m.current;w&&O&&r&&(n<r.scrollLeft+24||n>r.scrollLeft+r.clientWidth-24)&&(r.scrollLeft=Math.max(0,n-r.clientWidth*.2))};if(t(D),!O)return;let n=performance.now(),r=requestAnimationFrame(function e(i){t(Math.min(D+(i-n)/1e3,p)),r=requestAnimationFrame(e)});return()=>{cancelAnimationFrame(r)}},[D,O,E,u,p,w]);let k=e=>{let t=e.currentTarget.getBoundingClientRect(),n=Math.min(t.width,Math.max(0,e.clientX-t.left))/Math.max(t.width,1)*u;return Math.min(Math.max(Ve(n,d),0),p)},A=e=>{c(Math.min(Math.max(Ve(e,d),0),p))},j=f.find(e=>i.t>=e.start&&i.t<e.end)??f.at(-1),{minor:M,major:ee}=er(u),N=[];for(let e=0;e<=u+1e-6;e+=M)N.push(e);let P=(e,t)=>(0,q.jsxs)(`div`,{className:`flex items-center gap-1.5 overflow-hidden border-t pr-2 pl-3 max-[559px]:justify-center max-[559px]:px-0`,style:{height:Q[e]+1},"data-track":e,children:[(0,q.jsx)(`span`,{role:`img`,"aria-label":l.rows[e],className:h(`shrink-0 [&_svg]:size-3.5`,Yn[e]),children:t}),(0,q.jsx)(Le,{"aria-hidden":!0,className:`text-micro whitespace-nowrap max-[559px]:hidden`,children:l.rows[e]})]});return(0,q.jsx)(pe,{children:(0,q.jsxs)(`div`,{className:`relative flex`,style:{height:Zn(r)},"data-testid":`timeline`,children:[(0,q.jsxs)(`div`,{className:`w-max min-w-20 shrink-0 border-r max-[559px]:w-10 max-[559px]:min-w-10`,children:[s?(0,q.jsxs)(`div`,{className:`flex items-center gap-1.5 pr-1 pl-2 max-[559px]:justify-center max-[559px]:px-0`,style:{height:Q.ruler},"data-testid":`transport`,children:[(0,q.jsx)(g,{size:`icon-xs`,"aria-label":s.playing?l.pause:l.play,"data-testid":`play`,onClick:s.onToggle,children:s.playing?(0,q.jsx)(Pe,{className:`fill-current`}):(0,q.jsx)(Fe,{className:`translate-x-px fill-current`})}),(0,q.jsxs)(`span`,{className:`shrink-0 font-mono text-micro whitespace-nowrap tabular-nums max-[559px]:hidden`,"data-testid":`clock`,children:[J(Math.min(i.t,u)),(0,q.jsxs)(`span`,{className:`text-muted-foreground`,children:[` / `,J(u)]})]}),(0,q.jsx)(g,{size:`icon-xs`,variant:`ghost`,className:`text-muted-foreground ml-auto max-[559px]:hidden`,"aria-label":l.hideTimeline,title:l.hideTimeline,"aria-expanded":!0,"data-testid":`timeline-toggle`,onClick:s.onFold,children:(0,q.jsx)(V,{})})]}):(0,q.jsx)(`div`,{style:{height:Q.ruler}}),P(`scenes`,(0,q.jsx)(he,{})),r.includes(`voice`)?P(`voice`,(0,q.jsx)(Me,{})):null,r.includes(`music`)?P(`music`,(0,q.jsx)(Ne,{})):null,r.includes(`sound`)?P(`sound`,(0,q.jsx)(ie,{})):null]}),(0,q.jsx)(`div`,{ref:m,className:h(`relative min-w-0 flex-1 overflow-y-hidden border-l border-transparent`,w?`overflow-x-auto`:`overflow-x-hidden`),"data-testid":`tracks`,children:(0,q.jsxs)(`div`,{className:`relative h-full cursor-pointer touch-none`,style:{width:T||`100%`},onPointerDown:e=>{e.currentTarget.setPointerCapture(e.pointerId),x(!0),c(k(e))},onPointerMove:e=>{let t=k(e);C(t),b&&c(t)},onPointerUp:()=>{x(!1)},onPointerCancel:()=>{x(!1)},onPointerLeave:()=>{C(void 0)},children:[(0,q.jsx)(`div`,{role:`slider`,tabIndex:0,"aria-label":l.seek,"aria-valuemin":0,"aria-valuemax":Math.round(u*100)/100,"aria-valuenow":Math.round(i.t*100)/100,"aria-valuetext":l.timeOf(J(i.t),J(u),j?.title??``),"data-testid":`scrubber`,className:`focus-visible:outline-ring relative outline-none focus-visible:outline-1 focus-visible:outline-solid focus-visible:-outline-offset-1`,style:{height:Q.ruler},onKeyDown:e=>{if(e.key===`ArrowLeft`)A(i.t-1);else if(e.key===`ArrowRight`)A(i.t+1);else if(e.key===`Home`)A(0);else if(e.key===`End`)A(p);else return;e.preventDefault()},children:N.map(e=>{let t=Math.abs(e/ee-Math.round(e/ee))<1e-6;return(0,q.jsxs)(`span`,{className:`absolute bottom-0`,style:{left:$(e,u)},children:[(0,q.jsx)(`span`,{className:h(`absolute bottom-0 left-0 w-px`,t?`bg-lead-soft h-2`:`bg-rule-strong h-1`)}),t&&(u-e)*E>34?(0,q.jsx)(`span`,{className:`text-muted-foreground absolute bottom-[7px] left-1 font-mono text-micro leading-none tabular-nums`,children:J(e)}):null]},e)})}),(0,q.jsx)(fr,{timeline:e,texts:t,tracks:n,rows:r,current:i.part??j?.key,second:E,marks:o,onSeek:c}),S===void 0?null:(0,q.jsxs)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute inset-y-0 left-0 z-10`,style:{transform:`translateX(${String(S*E)}px)`},"data-testid":`hover-guide`,children:[(0,q.jsx)(`span`,{className:`bg-foreground/25 absolute inset-y-0 left-0 w-px`}),(0,q.jsx)(`span`,{className:`bg-popover text-popover-foreground absolute top-0.5 left-1 rounded-xs border px-1 font-mono text-micro leading-[14px] tabular-nums`,children:J(S)})]}),a?.t===void 0?null:(0,q.jsx)(Se,{"aria-hidden":!0,"data-testid":`agent-marker`,className:`z-20`,label:a.label,flag:Math.min(a.t,u)*E>T-140?`before`:`after`,style:{left:Math.min(a.t,u)*E}}),(0,q.jsxs)(`div`,{ref:_,"aria-hidden":!0,className:`pointer-events-none absolute inset-y-0 left-0 z-20 will-change-transform`,"data-testid":`playhead`,children:[(0,q.jsx)(`span`,{className:`bg-foreground absolute inset-y-0 left-0 w-px`}),(0,q.jsx)(`svg`,{viewBox:`0 0 9 9`,className:`text-foreground absolute top-0 -left-1 size-[9px]`,children:(0,q.jsx)(`path`,{d:`M0 0h9v4L4.5 9 0 4z`,fill:`currentColor`})})]})]})}),a&&o.listening&&r.length>0?(0,q.jsx)(we,{"aria-hidden":!0,"data-testid":`agent-listening`,label:a.label,className:`z-30`,style:{left:0,right:0,top:Q.ruler+1+Q.scenes+1,bottom:0}}):null]})})}var mr=new De(`scriptAgent`),hr=new Te({nodes:{doc:{content:`part*`},part:{content:`sentence+`,attrs:{part:{default:``},title:{default:``}},toDOM:e=>[`div`,{"data-part":String(e.attrs.part),class:`ak-script-part`},0]},sentence:{content:`word*`,toDOM:()=>[`div`,{class:`ak-script-sentence`},0]},word:{inline:!0,atom:!0,selectable:!1,group:`inline`,attrs:{part:{default:``},i:{default:0},text:{default:``},removed:{default:!1},film:{default:null}},leafText:e=>`${String(e.attrs.text)} `,toDOM:e=>[`span`,{"data-word":String(e.attrs.i),"data-removed":e.attrs.removed===!0?``:void 0,class:`ak-word`},[`span`,{class:`ak-word-text`},String(e.attrs.text)],` `]},text:{group:`inline`}}});function gr(e){return hr.node(`doc`,null,e.map(e=>hr.node(`part`,{part:e.part,title:e.title},mn(e.words).map(t=>hr.node(`sentence`,null,t.map(t=>hr.node(`word`,{part:e.part,i:t.i,text:t.text,removed:t.removed,film:t.film??null})))))))}function _r(e,t,n){let r;return e.descendants((e,i)=>{if(e.type.name!==`word`)return!0;let a=i+e.nodeSize;return n===`before`&&a<=t&&(r={from:i,to:a}),n===`after`&&i>=t&&!r&&(r={from:i,to:a}),!1}),r}function vr(e,t,n){let r=new Map;return e.nodesBetween(t,n,e=>{if(e.type.name!==`word`)return;let t=String(e.attrs.part),n=Number(e.attrs.i),i=e.attrs.removed===!0,a=r.get(t);a?(a.first=Math.min(a.first,n),a.last=Math.max(a.last,n),a.struck=a.struck&&i):r.set(t,{part:t,first:n,last:n,struck:i})}),[...r.values()]}var yr=44,br=48;function xr(e,t){let n=e.state.selection;if(n.empty||!t)return;let r=vr(e.state.doc,n.from,n.to);if(r.length===0)return;let i=t.getBoundingClientRect(),a=e.coordsAtPos(n.from,1),o=e.coordsAtPos(n.to,-1),s=a.top-i.top+t.scrollTop-yr;return{top:s>=t.scrollTop?s:o.bottom-i.top+t.scrollTop+6,left:Math.min(Math.max(br,(a.left+o.right)/2-i.left+t.scrollLeft),Math.max(br,t.clientWidth-br)),runs:r,restore:r.every(e=>e.struck)}}function Sr({script:e,t,playing:n=!1,readOnly:r,agent:i,following:a=!1,onSeek:o,onToggle:s,note:c,onCut:l}){let u=X(),d=(0,K.useRef)(null),f=(0,K.useRef)(null),p=(0,K.useRef)(null),[m,g]=(0,K.useState)(),_=(0,K.useRef)({onSeek:o,onCut:l,onToggle:s,t,readOnly:r});(0,K.useEffect)(()=>{_.current={onSeek:o,onCut:l,onToggle:s,t,readOnly:r}}),(0,K.useEffect)(()=>{let e=d.current;if(!e)return;let t=new Ae({state:{init:()=>-1,apply:(e,n)=>{let r=e.getMeta(t);return typeof r==`number`?r:n}},props:{decorations(e){let n=t.getState(e)??-1;if(n<0)return U.empty;let r;return e.doc.descendants((e,t)=>{if(e.type.name!==`word`)return!0;let i=e.attrs.film;return i!==null&&i<=n&&(r=W.node(t,t+e.nodeSize,{class:`ak-word-now`})),!0}),r?U.create(e.doc,[r]):U.empty}}}),n=new Ae({key:mr,state:{init:()=>null,apply:(e,t)=>{let n=e.getMeta(mr);return n===void 0?t:n}},props:{decorations(e){let t=mr.getState(e);if(!t)return U.empty;let n=new Set(t.words?.cut),r=new Set(t.words?.kept),i=[];return e.doc.descendants((e,a)=>{if(e.type.name===`part`)return e.attrs.part===t.part&&(i.push(W.node(a,a+e.nodeSize,{class:`ak-script-agent`,"data-agent":t.label,"data-testid":`script-agent`})),!0);if(e.type.name!==`word`)return!0;let o=e.attrs.i,s=n.has(o)?`cut`:r.has(o)?`kept`:void 0;return s&&i.push(W.node(a,a+e.nodeSize,{class:`ak-word-agent`,"data-agent-word":s})),!1}),U.create(e.doc,i)}}}),r=new Ae({props:{decorations(e){let{from:t,to:n,empty:r}=e.selection;if(r)return U.empty;let i=[];return e.doc.nodesBetween(t,n,(e,r)=>e.type.name!==`word`||(r<n&&r+e.nodeSize>t&&i.push(W.node(r,r+e.nodeSize,{class:`ak-word-picked`})),!1)),U.create(e.doc,i)}}}),i=new ke(e,{state:Ee.create({doc:gr([]),plugins:[t,n,r]}),attributes:{class:`outline-none`,"aria-label":u.script,role:`textbox`,"aria-multiline":`true`,spellcheck:`false`},editable:()=>!_.current.readOnly,dispatchTransaction(e){e.docChanged||(this.updateState(this.state.apply(e)),e.selectionSet&&g(xr(this,f.current)))},handleKeyDown(e,t){if(t.key===` `&&!t.metaKey&&!t.ctrlKey&&!t.altKey)return _.current.onToggle?.(),!0;if(t.key!==`Backspace`&&t.key!==`Delete`)return t.key.length===1&&!t.metaKey&&!t.ctrlKey;if(_.current.readOnly)return!0;let n=e.state.selection,r=n.from,i=n.to;if(n.empty){let n=_r(e.state.doc,r,t.key===`Backspace`?`before`:`after`);if(!n)return!0;({from:r,to:i}=n)}let a=vr(e.state.doc,r,i);return a.length===0||_.current.onCut(a.map(e=>({part:e.part,first:e.first,last:e.last,restore:e.struck}))),!0},handleDoubleClickOn(e,t,n){return n.type.name===`word`&&(e.dispatch(e.state.tr.setSelection(Oe.create(e.state.doc,t,t+n.nodeSize))),!0)},handleClickOn(e,t,n){if(n.type.name!==`word`)return!1;let r=n.attrs.film;return r!==null&&_.current.onSeek(r),!1},handleDOMEvents:{blur:()=>(g(void 0),!1),focus:e=>(g(xr(e,f.current)),!1)},handlePaste:()=>!0,handleDrop:()=>!0});return p.current=i,()=>{i.destroy(),p.current=null}},[]),(0,K.useEffect)(()=>{let t=p.current;if(!t)return;let n=gr(e);if(n.eq(t.state.doc))return;let r=t.state.selection,i=n.content.size,a=Ee.create({doc:n,plugins:t.state.plugins,selection:Oe.between(n.resolve(Math.min(r.from,i)),n.resolve(Math.min(r.to,i)))});t.updateState(a),t.hasFocus()&&g(xr(t,f.current))},[e]);let v=i?.part,y=i?.label,b=i?.words,x=JSON.stringify(b??null);return(0,K.useEffect)(()=>{let e=p.current;e&&e.dispatch(e.state.tr.setMeta(mr,v===void 0||y===void 0?null:{part:v,label:y,words:b}))},[v,y,x,e]),(0,K.useEffect)(()=>{if(!a||v===void 0)return;let e=d.current?.querySelector(`[data-part="${CSS.escape(v)}"]`);(e?.querySelector(`.ak-word-agent`)??e)?.scrollIntoView({block:`nearest`})},[a,v,x]),(0,K.useEffect)(()=>{let e=p.current;if(!e)return;let n=e.state.plugins[0];n&&e.dispatch(e.state.tr.setMeta(n,t))},[t]),(0,q.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col`,"data-testid":`script`,"data-playing":n?``:void 0,children:[(0,q.jsxs)(`div`,{className:`text-muted-foreground border-b px-3 py-2 text-micro`,children:[e.length===0?u.noScript:r?u.scriptReadOnly:u.scriptHint,c===void 0||e.length===0?null:(0,q.jsx)(`span`,{className:`mt-1 block`,"data-testid":`script-note`,children:c})]}),(0,q.jsxs)(`div`,{ref:f,className:`relative min-h-0 flex-1 overflow-auto`,children:[(0,q.jsx)(`div`,{ref:d,className:h(`px-3 py-2 text-read`,`[&_.ak-script-part]:mb-3 [&_.ak-script-part]:rounded-sm [&_.ak-script-sentence]:mb-1`,`[&_.ak-word]:cursor-pointer [&_.ak-word-text]:-mx-0.5 [&_.ak-word-text]:rounded-[3px] [&_.ak-word-text]:px-0.5 [&_.ak-word:not(.ak-word-now):hover_.ak-word-text]:bg-secondary`,`[&_.ak-word[data-removed]_.ak-word-text]:text-muted-foreground [&_.ak-word[data-removed]_.ak-word-text]:line-through`,`[&_.ak-word-agent_.ak-word-text]:bg-agent/15 [&_.ak-word-agent_.ak-word-text]:text-agent-text`,`[&_.ak-word-now_.ak-word-text]:bg-here [[data-playing]_&_.ak-word-now_.ak-word-text]:bg-highlight [[data-playing]_&_.ak-word-now_.ak-word-text]:text-on-highlight`,`[&_*::selection]:bg-transparent [&_.ak-word.ak-word-picked_.ak-word-text]:bg-[var(--allyhub-pencil-select)] [&_.ak-word.ak-word-picked_.ak-word-text]:text-foreground`)}),m&&!r?(0,q.jsx)(`div`,{className:`bg-sheet border-rule absolute z-10 flex -translate-x-1/2 items-center rounded-lg border p-1 shadow-[var(--shadow-overlay)]`,style:{top:m.top,left:m.left},"data-testid":`script-bar`,children:(0,q.jsxs)(_e,{"data-testid":m.restore?`keep-words`:`cut-words`,onMouseDown:e=>{e.preventDefault()},onClick:()=>{l(m.runs.map(e=>({part:e.part,first:e.first,last:e.last,restore:m.restore})))},children:[m.restore?(0,q.jsx)(le,{}):(0,q.jsx)(Ie,{}),m.restore?u.keepWords:u.cutWords]})}):null]})]})}var Cr=1200,wr=4e3,Tr=150,Er=640,Dr={initial:272,least:200,share:.5},Or=[[`voice`,`music`,`sound`],[`voice`],[]],kr=Zn(Or[0]??[]),Ar=Zn([]);function jr(e,t){let n=o(),[r,i]=(0,K.useState)(new Map),a=e.join(`
24
+ `);return(0,K.useEffect)(()=>{let t=!0;return Promise.all(e.map(async e=>{try{let t=await n[`files/read`]({path:ne(e)}),r=re(`words`,JSON.parse(t.text));return r.ok?[e,r.value.words]:void 0}catch{return}})).then(e=>{t&&i(new Map(e.filter(e=>e!==void 0)))}),()=>{t=!1}},[n,a,t]),r}var Mr=e=>e instanceof HTMLElement&&e.closest(`[data-testid=script]`)===null&&(e.isContentEditable||e.closest(`input,textarea,select,[role=dialog]`)!==null);function Nr({item:e,piece:t,version:r,revision:a,start:s,problems:c,stageProblems:l=!0,loaded:u,onLoaded:d}){let f=X(),p=o(),{readOnly:m}=i(),h=(0,K.useRef)(null),[_,v]=(0,K.useState)(),[y,b]=(0,K.useState)(),[x,S]=(0,K.useState)({t:s?.t??0,part:void 0,playing:!1});(0,K.useEffect)(()=>{if(_===void 0)return;let e=setTimeout(()=>{b(_)},Cr);return()=>{clearTimeout(e)}},[_]);let C=_!==void 0&&y===_?_:void 0,[w,T]=(0,K.useState)(r.key);w!==r.key&&(T(r.key),v(void 0));let E=(0,K.useRef)(null),[D,O]=(0,K.useState)(1/0);(0,K.useEffect)(()=>{let e=E.current;if(!e)return;let t=new ResizeObserver(()=>{O(e.clientWidth)});return t.observe(e),()=>{t.disconnect()}},[]);let[k=Dr.initial,A]=et(`video-editor.script-width`,Dr.initial),[j=kr,M]=et(`video-editor.timeline-height`,kr),[ee=!0,N]=et(`video-editor.timeline`,!0),P=Math.max(Dr.least,Math.round((Number.isFinite(D)?D:1600)*Dr.share)),te=Math.min(P,Math.max(Dr.least,k)),ne=Or.find(e=>Zn(e)<=j)??Or[2]??[],re=(0,K.useMemo)(()=>u?.kind===`video`?Sn(u.timeline,u.text,u.mix):void 0,[u]),F=u?.kind===`video`?u.timeline:void 0,I=jr((0,K.useMemo)(()=>[...new Set((F?.parts??[]).flatMap(e=>e.speech?[e.speech.file]:[]))],[F]),a),L=_n(m),ie=new Map;for(let e of F?.parts??[]){let t=e.speech?.edits;if(t===void 0)continue;let n=L.listOf(t);n&&ie.set(t,n)}let oe=(0,K.useMemo)(()=>F?on(F,I,ie):[],[F,I,L.tick]),se=oe.filter(e=>e.edits!==void 0),ce=m||se.length===0,le=!m&&se.length<oe.length?f.noEdits:void 0,R=e=>{let t=[];for(let n of e){let e=oe.find(e=>e.part===n.part);if(e?.edits===void 0)continue;let r=I.get(e.file)??[];t.push({path:e.edits,next:e=>n.restore?dn(e,n.first,n.last,r):un(e,n.first,n.last,r)})}L.apply(e.every(e=>e.restore)?f.keepWords:f.cutWords,t)},fe=(0,K.useRef)(L);(0,K.useEffect)(()=>{fe.current=L}),(0,K.useEffect)(()=>{if(m)return;let e=e=>{if(Mr(e.target))return;let t=e.target instanceof HTMLElement&&e.target.closest(`[data-testid=script]`)!==null;if(e.defaultPrevented&&!t||!(e.metaKey||e.ctrlKey)||e.altKey)return;let n=e.key.toLowerCase(),r=fe.current,i=n===`z`&&e.shiftKey||n===`y`&&!e.shiftKey;if(n===`z`&&!e.shiftKey&&r.canUndo)r.undo();else if(i&&r.canRedo)r.redo();else return;e.preventDefault()};return window.addEventListener(`keydown`,e),()=>{window.removeEventListener(`keydown`,e)}},[m]);let{agent:z,following:pe}=n(),B=z?.doing!==void 0,me=ae(),[he,V]=(0,K.useState)(),ge=z?.source?.path;(0,K.useEffect)(()=>{if(ge===void 0||he?.revision===a)return;let t=!0;return qe(p,`video/sources`,{item:e}).then(e=>{t&&V({revision:a,files:e.files})},()=>void 0),()=>{t=!1}},[p,e,a,ge,he?.revision]);let[_e,ve]=(0,K.useState)(u),[ye,be]=(0,K.useState)(),[H,xe]=(0,K.useState)();if(u!==_e&&(ve(u),_e&&u&&z?.doing===`editing`)){let e=gt({timeline:_e.timeline,text:_e.text},u),t=bt(_e.timeline,u.timeline),[n]=e,r=n===void 0?void 0:_t(u.timeline,n);r&&be(r),(e.length>0||t.music||t.cues.length>0)&&xe({parts:e,...t,round:(H?.round??0)+1})}(0,K.useEffect)(()=>{if(!H)return;let e=setTimeout(()=>{xe(void 0)},wr);return()=>{clearTimeout(e)}},[H]);let[Se,Te]=(0,K.useState)(),[Ee,De]=(0,K.useState)(L.byAgent);L.byAgent!==Ee&&(De(L.byAgent),Te(L.byAgent));let[Oe,U]=(0,K.useState)(B);Oe!==B&&(U(B),B||(be(void 0),Te(void 0)));let ke=B?z.source:void 0,Ae=ke&&F?pt(F,ke.path):void 0,W=ke&&he&&Ae===void 0?ft(he.files,ke):void 0,G=(()=>{if(!B||!F)return;let e=lt(z.place);return e===void 0?(Ae===void 0?W?.part===void 0?void 0:_t(F,W.part,W):_t(F,Ae))??ye:{t:e}})(),je=G?.t,Me=z?me(z):``,Ne=W?.music===!0,Pe=W?.sounds===!0&&W.part!==void 0?W.part:void 0,Fe=B&&ut(z.place),Ie=(0,K.useMemo)(()=>({parts:H?.parts??[],music:H?.music===!0||Ne,cues:[...new Set([...H?.cues??[],...Pe===void 0?[]:[Pe]])],listening:Fe,round:H?.round??0}),[H,Ne,Pe,Fe]),Le=Se&&F&&G?.part!==void 0&&pt(F,Se.path)===G.part?{cut:Se.cut,kept:Se.kept}:void 0,Re=(0,K.useRef)(x.t);(0,K.useEffect)(()=>{Re.current=x.t}),(0,K.useEffect)(()=>{pe&&je!==void 0&&!x.playing&&(Math.abs(Re.current-je)<1/240||h.current?.seek(je))},[pe,je,x.playing]);let ze=je!==void 0&&!x.playing&&Math.abs(x.t-je)<=1/(F?.fps??30)+1e-6,Be=G?.part,J=G?.layer,Y=G?.message,Ve=ze&&Be!==void 0&&(J!==void 0||Y!==void 0),[He,Ue]=(0,K.useState)();(0,K.useEffect)(()=>{if(!Ve)return;let e=!0,t=setTimeout(()=>{h.current?.objects(x.t).then(t=>{e&&Ue(t)})},Tr);return()=>{e=!1,clearTimeout(t)}},[Ve,x.t,u]);let We=Ve&&He&&Math.abs(He.t-x.t)<1e-6?He:void 0,Ge=(J===void 0?void 0:We?.layers?.find(e=>e.part===Be&&e.index===J)?.box)??(Y===void 0?void 0:We?.texts.find(e=>e.keys.includes(Y))?.box),Ke=(e,t)=>`${String(e/t*100)}%`,Je=()=>{x.playing?h.current?.pause():h.current?.play()},Ye=[...c,...l?u?.problems??[]:[]],Xe=oe.length>0&&D>=Er,Ze=(e,t,n,r,i)=>(0,q.jsx)(g,{size:`icon-sm`,variant:`ghost`,"aria-label":e,title:e,disabled:r,"data-testid":i,onClick:n,children:t});return(0,q.jsxs)(`div`,{ref:E,className:`bg-paper flex size-full min-h-0 flex-col`,"data-testid":`workbench`,children:[(0,q.jsxs)(`div`,{className:`flex min-h-0 flex-1`,children:[Xe?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{className:`flex min-h-0 shrink-0`,style:{width:te},children:(0,q.jsxs)(`aside`,{className:`bg-background flex min-h-0 flex-col overflow-hidden w-full`,"aria-label":f.script,children:[(0,q.jsxs)(`div`,{className:`flex h-9 items-center gap-1 border-b pr-1 pl-3`,children:[(0,q.jsx)(`h2`,{className:`flex-1 text-xs font-medium`,children:f.script}),ce?null:(0,q.jsxs)(q.Fragment,{children:[Ze(L.undoLabel===void 0?f.undo:f.undoWhat(L.undoLabel),(0,q.jsx)(de,{}),L.undo,!L.canUndo,`undo`),Ze(L.redoLabel===void 0?f.redo:f.redoWhat(L.redoLabel),(0,q.jsx)(ue,{}),L.redo,!L.canRedo,`redo`)]})]}),(0,q.jsx)(Sr,{script:oe,t:x.t,playing:x.playing,readOnly:ce,note:le,agent:z&&G?.part!==void 0?{part:G.part,label:Me,words:Le}:void 0,following:pe,onSeek:e=>{h.current?.seek(e)},onToggle:Je,onCut:R})]})}),(0,q.jsx)(Vn,{orientation:`vertical`,value:te,min:Dr.least,max:P,label:f.resizeScript,onChange:A,testid:`script-splitter`})]}):null,(0,q.jsx)(`div`,{className:`bg-stone-2 min-h-0 min-w-0 flex-1 px-4 py-3 min-[560px]:px-6`,children:(0,q.jsx)(Pn,{ref:h,item:e,version:r.key,revision:a,start:s,width:t.width,height:t.height,timelineOpen:ee,onTimelineOpen:N,overlay:(0,q.jsxs)(q.Fragment,{children:[z&&ze&&F?Ge?(0,q.jsx)(we,{"data-testid":`agent-box`,label:Me,style:{left:Ke(Ge[0],F.width),top:Ke(Ge[1],F.height),width:Ke(Ge[2],F.width),height:Ke(Ge[3],F.height)}}):(0,q.jsx)(Ce,{"data-testid":`agent-tag`,label:Me,className:`absolute top-2 left-2`}):null,(0,q.jsx)(Bn,{error:C,problems:Ye,compact:u!==void 0})]}),onState:S,onLoaded:e=>{d(e),v(void 0)},onError:v})})]}),F&&re&&ee?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Vn,{orientation:`horizontal`,value:Zn(ne),min:Ar,max:kr,after:!0,label:f.resizeTimeline,onChange:M,testid:`timeline-splitter`}),(0,q.jsx)(`div`,{className:`bg-background shrink-0`,children:(0,q.jsx)(pr,{timeline:F,texts:u?.text??[],tracks:re,rows:ne,state:x,agent:z?{t:je,label:Me}:void 0,marks:Ie,transport:{playing:x.playing,onToggle:()=>{x.playing?h.current?.pause():h.current?.play()},onFold:()=>{N(!1)}},onSeek:e=>{h.current?.seek(e)}})})]}):null]})}function Pr(e,t,n){let r=t.versions.filter(e=>n?.includes(e.key)!==!1).flatMap(n=>ot(e,t.piece,n)).filter(e=>e.level===`error`).map(e=>`${e.code}: ${e.message}`);return new Set(r).size}function Fr(){let e=X(),t=c(),n=t?.item.id,r=_[m(t?.locale)],i=rt(t?.place),a=Qe(),{data:o,error:s}=Xe(`video/versions`,n===void 0?void 0:{item:n},[a]),[l,u]=et(`video-editor.version:${n??``}`,``),d=$e(),f=o?at(o,l):void 0,[p,h]=(0,K.useState)(),g=f&&p?.key===`${n??``}\n${f.key}`?p.loaded:void 0;if(n===void 0||!o&&!s)return(0,q.jsx)(`div`,{className:`flex h-full items-center justify-center`,children:(0,q.jsx)(Re,{label:e.loading})});if(!o||!f)return(0,q.jsx)(ze,{title:e.noVideo,className:`h-full justify-center`,children:s?.message});let v=t?.viewer===!0,y=d&&!v?ot(d.problems,o.piece,f):[],b=e=>e.lang===void 0?e.key:st(e.lang,r),x=o.kind===`video`?g?.timeline:void 0,S=o.kind===`video`&&g!==void 0&&!g.text.some(e=>e.spoken!==void 0);return(0,q.jsxs)(`div`,{className:`flex size-full min-h-0 flex-col`,"data-testid":`video-editor`,children:[(0,q.jsx)(oe,{start:o.versions.length>1?(0,q.jsx)(se,{testid:`video-bar`,children:(0,q.jsx)(ce,{id:`language`,children:(0,q.jsxs)(me,{value:f.key,onValueChange:e=>{u(e)},children:[(0,q.jsx)(be,{"aria-label":e.version,className:`max-w-[16rem]`,"data-testid":`version`,children:(0,q.jsx)(xe,{})}),(0,q.jsx)(ve,{position:`popper`,align:`start`,children:o.versions.map(e=>(0,q.jsx)(H,{value:e.key,className:`text-xs`,title:e.key,children:b(e)},e.key))})]})})}):void 0,exports:{versions:o.versions.map(e=>({key:e.key,label:b(e)})),shown:f.key,facts:[`${String(o.width)} × ${String(o.height)}`,...x?[`${String(x.fps)} fps`,J(x.duration)]:[]].join(` · `),unavailable:S?{srt:e.noVoice}:{},check:{waiting:d?.status===`waiting`||d?.status===`running`,problems:e=>d?.status===`done`?Pr(d.problems,o,e):0}}}),(0,q.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,q.jsx)(Nr,{item:n,piece:o,version:f,revision:a,start:i,problems:y,stageProblems:!v,loaded:g,onLoaded:e=>{h({key:`${n}\n${f.key}`,loaded:e})}})})]})}var Ir=t({Preview:()=>Pn,VideoEditor:()=>Fr,WORDS:()=>Je,Workbench:()=>Nr,aboutVersion:()=>ot,default:()=>Fr,languageName:()=>st,locateInStage:()=>xn,musicAt:()=>wn,musicGain:()=>Tn,mustFix:()=>Pr,placeLabels:()=>Hn,postCommand:()=>bn,speechAt:()=>Cn,stageLayerName:()=>vn,stageMessage:()=>yn,tracksOf:()=>Sn,uncutParts:()=>En,useCheck:()=>$e,useRevision:()=>Qe,useStored:()=>et,useTool:()=>Xe,useToolOf:()=>Ze,useVideoWords:()=>X,versionNamed:()=>at});export{Pe as _,yn as a,$e as c,Xe as d,Ze as f,Fe as g,Re as h,vn as i,Qe as l,ze as m,Pr as n,st as o,qe as p,xn as r,at as s,Ir as t,et as u};