@allyhub/sdk 0.7.1 → 0.8.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 (712) hide show
  1. package/CHANGELOG.md +138 -0
  2. package/dist/define.d.ts +20 -3
  3. package/dist/define.js +1 -1
  4. package/dist/dom.d.ts +1 -1
  5. package/dist/dom.js +1 -1
  6. package/dist/free.d.ts +6 -6
  7. package/dist/free.js +1 -1
  8. package/dist/input.js +1 -1
  9. package/dist/media.d.ts +1 -1
  10. package/dist/media.js +1 -1
  11. package/dist/messages.d.ts +1 -1
  12. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +2 -0
  13. package/dist/node_modules/{@allyhub-next → @allyhub}/audio/package.json +2 -2
  14. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +11 -0
  15. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -0
  16. package/dist/node_modules/{@allyhub-next → @allyhub}/chart/dist/chart-xml.d.ts +2 -0
  17. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +3 -0
  18. package/dist/node_modules/{@allyhub-next → @allyhub}/chart/dist/chart.d.ts +3 -1
  19. package/dist/node_modules/@allyhub/chart/dist/chart.js +2 -0
  20. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +15 -0
  21. package/dist/node_modules/@allyhub/chart/dist/embedded.js +3 -0
  22. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +6 -0
  23. package/dist/node_modules/@allyhub/chart/dist/index.js +2 -0
  24. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +22 -0
  25. package/dist/node_modules/@allyhub/chart/dist/svg.js +2 -0
  26. package/dist/node_modules/{@allyhub-next → @allyhub}/chart/package.json +2 -2
  27. package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/slides.d.ts +3 -3
  28. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +2 -0
  29. package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/schemas.d.ts +1 -1
  30. package/dist/node_modules/{@allyhub-next → @allyhub}/formats/package.json +2 -2
  31. package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/package.json +2 -2
  32. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/account.d.ts +1 -0
  33. package/dist/node_modules/@allyhub/protocol/dist/app.js +2 -0
  34. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/auth.d.ts +8 -4
  35. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/auth.js +1 -1
  36. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/cloud.d.ts +1 -0
  37. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +2 -0
  38. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/editor.d.ts +68 -3
  39. package/dist/node_modules/@allyhub/protocol/dist/editor.js +2 -0
  40. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +290 -0
  41. package/dist/node_modules/@allyhub/protocol/dist/frame.js +2 -0
  42. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/index.d.ts +3 -0
  43. package/dist/node_modules/@allyhub/protocol/dist/index.js +2 -0
  44. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +91 -0
  45. package/dist/node_modules/@allyhub/protocol/dist/jobs.js +2 -0
  46. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +187 -0
  47. package/dist/node_modules/@allyhub/protocol/dist/notes.js +2 -0
  48. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/registry.d.ts +6 -0
  49. package/dist/node_modules/@allyhub/protocol/dist/registry.js +2 -0
  50. package/dist/node_modules/@allyhub/protocol/dist/routes.js +2 -0
  51. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/sites.d.ts +4 -0
  52. package/dist/node_modules/@allyhub/protocol/dist/sites.js +2 -0
  53. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/snapshots.d.ts +29 -8
  54. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +2 -0
  55. package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +14 -0
  56. package/dist/node_modules/{@allyhub-next/chart/dist/index.js → @allyhub/protocol/dist/sources.js} +1 -1
  57. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +195 -0
  58. package/dist/node_modules/@allyhub/protocol/dist/teams.js +2 -0
  59. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/tools.d.ts +52 -3
  60. package/dist/node_modules/@allyhub/protocol/dist/tools.js +2 -0
  61. package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/package.json +2 -2
  62. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/bundled.d.ts +1 -1
  63. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +2 -0
  64. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/download.d.ts +6 -1
  65. package/dist/node_modules/@allyhub/runtimes/dist/download.js +2 -0
  66. package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +3 -0
  67. package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +2 -0
  68. package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +12 -0
  69. package/dist/node_modules/@allyhub/runtimes/dist/node-program.js +2 -0
  70. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/packages.d.ts +2 -0
  71. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +4 -0
  72. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/runtimes.d.ts +1 -1
  73. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/runtimes.js +1 -1
  74. package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/package.json +2 -2
  75. package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package-lock.json +275 -0
  76. package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package.json +11 -0
  77. package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/package.json +2 -2
  78. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +2 -0
  79. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/charts.d.ts +1 -1
  80. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +2 -0
  81. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/page.d.ts +1 -1
  82. package/dist/node_modules/@allyhub/sheet/dist/api/page.js +2 -0
  83. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rules.d.ts +1 -1
  84. package/dist/node_modules/@allyhub/sheet/dist/api/rules.js +2 -0
  85. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/styles.d.ts +1 -1
  86. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +2 -0
  87. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/workbook.d.ts +1 -1
  88. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +2 -0
  89. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.d.ts +1 -1
  90. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.d.ts +1 -1
  91. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/chart.d.ts +4 -10
  92. package/dist/node_modules/@allyhub/sheet/dist/chart.js +2 -0
  93. package/dist/node_modules/@allyhub/sheet/dist/diff.js +2 -0
  94. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.d.ts +1 -1
  95. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/file.d.ts +1 -1
  96. package/dist/node_modules/@allyhub/sheet/dist/file.js +3 -0
  97. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/files.d.ts +1 -1
  98. package/dist/node_modules/@allyhub/sheet/dist/files.js +2 -0
  99. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/generated.d.ts +1 -1
  100. package/dist/node_modules/@allyhub/sheet/dist/generated.js +2 -0
  101. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.d.ts +1 -1
  102. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.d.ts +1 -1
  103. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.d.ts +1 -1
  104. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.d.ts +1 -1
  105. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/validate.d.ts +1 -1
  106. package/dist/node_modules/@allyhub/sheet/dist/validate.js +2 -0
  107. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/workbook.d.ts +1 -1
  108. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +2 -0
  109. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/charts.d.ts +1 -1
  110. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +2 -0
  111. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/import.d.ts +1 -1
  112. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +2 -0
  113. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/read.d.ts +2 -2
  114. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +3 -0
  115. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +2 -0
  116. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/zip.d.ts +1 -1
  117. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.js +2 -0
  118. package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/package.json +2 -2
  119. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/animation.d.ts +1 -1
  120. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/api.d.ts +9 -5
  121. package/dist/node_modules/@allyhub/slides-core/dist/api.js +4 -0
  122. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/chart-api.d.ts +2 -2
  123. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +2 -0
  124. package/dist/node_modules/@allyhub/slides-core/dist/code.js +2 -0
  125. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/file.d.ts +1 -1
  126. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/file.js +1 -1
  127. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/index.d.ts +1 -2
  128. package/dist/node_modules/@allyhub/slides-core/dist/index.js +2 -0
  129. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/measure.d.ts +1 -1
  130. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +2 -0
  131. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/merge.d.ts +1 -1
  132. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +2 -0
  133. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/model.d.ts +8 -24
  134. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/resolve.d.ts +2 -2
  135. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +2 -0
  136. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/script.d.ts +1 -1
  137. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/script.js +1 -1
  138. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/strict.d.ts +1 -1
  139. package/dist/node_modules/@allyhub/slides-core/dist/strict.js +2 -0
  140. package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.d.ts +1 -1
  141. package/dist/node_modules/{@allyhub-next/video-core → @allyhub/slides-core}/package.json +2 -2
  142. package/dist/node_modules/@allyhub/video-core/dist/component.d.ts +70 -0
  143. package/dist/node_modules/@allyhub/video-core/dist/component.js +2 -0
  144. package/dist/node_modules/@allyhub/video-core/dist/edits.js +2 -0
  145. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/export.d.ts +1 -1
  146. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/fact.d.ts +2 -2
  147. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/gen.d.ts +1 -1
  148. package/dist/node_modules/@allyhub/video-core/dist/gen.js +2 -0
  149. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/index.d.ts +1 -0
  150. package/dist/node_modules/@allyhub/video-core/dist/index.js +2 -0
  151. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/measure.d.ts +6 -1
  152. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/media.d.ts +2 -2
  153. package/dist/node_modules/@allyhub/video-core/dist/media.js +2 -0
  154. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/piece.d.ts +2 -2
  155. package/dist/node_modules/@allyhub/video-core/dist/piece.js +2 -0
  156. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/problem.d.ts +1 -1
  157. package/dist/node_modules/@allyhub/video-core/dist/problem.js +2 -0
  158. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/schema.d.ts +2 -2
  159. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/speech.js +1 -1
  160. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timeline.d.ts +8 -3
  161. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transition.d.ts +11 -0
  162. package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transition.js +1 -1
  163. package/dist/node_modules/{@allyhub-next/slides-core → @allyhub/video-core}/package.json +2 -2
  164. package/dist/parts.d.ts +2 -2
  165. package/dist/parts.js +1 -1
  166. package/dist/phone.d.ts +3 -3
  167. package/dist/phone.js +1 -1
  168. package/dist/piece.d.ts +7 -7
  169. package/dist/piece.js +1 -1
  170. package/dist/props.d.ts +1 -1
  171. package/dist/sheets.d.ts +1 -1
  172. package/dist/sheets.js +1 -1
  173. package/dist/slides.d.ts +3 -3
  174. package/dist/slides.js +1 -1
  175. package/dist/written.js +1 -1
  176. package/docs/README.md +1 -1
  177. package/docs/defaults.md +54 -1
  178. package/docs/docs.md +152 -5
  179. package/docs/layers.md +26 -0
  180. package/docs/modeling.md +7 -7
  181. package/docs/project.md +2 -2
  182. package/docs/scenery.md +4 -4
  183. package/docs/sheets.md +4 -4
  184. package/docs/slides.md +2 -2
  185. package/docs/websites.md +3 -3
  186. package/package.json +3 -2
  187. package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +0 -2
  188. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +0 -3
  189. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +0 -2
  190. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +0 -3
  191. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
  192. package/dist/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
  193. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +0 -2
  194. package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
  195. package/dist/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
  196. package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +0 -188
  197. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
  198. package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +0 -2
  199. package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +0 -2
  200. package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +0 -2
  201. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +0 -2
  202. package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +0 -79
  203. package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +0 -2
  204. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  205. package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.js +0 -2
  206. package/dist/node_modules/@allyhub-next/runtimes/dist/download.js +0 -2
  207. package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +0 -3
  208. package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.js +0 -2
  209. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +0 -3
  210. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +0 -2
  211. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +0 -4
  212. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +0 -2
  213. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +0 -2
  214. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +0 -2
  215. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +0 -2
  216. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +0 -2
  217. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +0 -2
  218. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +0 -2
  219. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +0 -2
  220. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +0 -3
  221. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +0 -2
  222. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +0 -2
  223. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +0 -2
  224. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +0 -2
  225. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +0 -2
  226. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +0 -2
  227. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +0 -3
  228. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +0 -2
  229. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +0 -2
  230. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
  231. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
  232. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +0 -11
  233. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
  234. package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +0 -2
  235. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
  236. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +0 -2
  237. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +0 -2
  238. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
  239. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
  240. package/dist/node_modules/@allyhub-next/video-core/dist/edits.js +0 -2
  241. package/dist/node_modules/@allyhub-next/video-core/dist/gen.js +0 -2
  242. package/dist/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
  243. package/dist/node_modules/@allyhub-next/video-core/dist/media.js +0 -2
  244. package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
  245. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  246. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/LICENSE +0 -0
  247. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.d.ts +0 -0
  248. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.js +0 -0
  249. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.d.ts +0 -0
  250. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.js +0 -0
  251. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.d.ts +0 -0
  252. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.js +0 -0
  253. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.d.ts +0 -0
  254. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.js +0 -0
  255. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/levels.d.ts +0 -0
  256. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/levels.js +0 -0
  257. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.d.ts +0 -0
  258. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.js +0 -0
  259. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.d.ts +0 -0
  260. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.js +0 -0
  261. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.d.ts +0 -0
  262. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.js +0 -0
  263. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.d.ts +0 -0
  264. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.js +0 -0
  265. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ffmpeg.d.ts +0 -0
  266. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.d.ts +0 -0
  267. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.js +0 -0
  268. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.d.ts +0 -0
  269. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.js +0 -0
  270. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.d.ts +0 -0
  271. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.js +0 -0
  272. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.d.ts +0 -0
  273. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.js +0 -0
  274. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.d.ts +0 -0
  275. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.js +0 -0
  276. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.d.ts +0 -0
  277. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.js +0 -0
  278. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.d.ts +0 -0
  279. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.js +0 -0
  280. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.d.ts +0 -0
  281. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.js +0 -0
  282. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.d.ts +0 -0
  283. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.js +0 -0
  284. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.d.ts +0 -0
  285. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.js +0 -0
  286. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.d.ts +0 -0
  287. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.js +0 -0
  288. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.d.ts +0 -0
  289. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.js +0 -0
  290. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.d.ts +0 -0
  291. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.js +0 -0
  292. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.d.ts +0 -0
  293. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.js +0 -0
  294. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.d.ts +0 -0
  295. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.js +0 -0
  296. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.d.ts +0 -0
  297. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.js +0 -0
  298. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.d.ts +0 -0
  299. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.js +0 -0
  300. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.d.ts +0 -0
  301. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.js +0 -0
  302. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.d.ts +0 -0
  303. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.js +0 -0
  304. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.d.ts +0 -0
  305. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.js +0 -0
  306. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.d.ts +0 -0
  307. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.js +0 -0
  308. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.d.ts +0 -0
  309. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.js +0 -0
  310. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.d.ts +0 -0
  311. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.js +0 -0
  312. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.d.ts +0 -0
  313. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.js +0 -0
  314. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.d.ts +0 -0
  315. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.js +0 -0
  316. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.d.ts +0 -0
  317. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.js +0 -0
  318. /package/dist/node_modules/{@allyhub-next → @allyhub}/chart/LICENSE +0 -0
  319. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/LICENSE +0 -0
  320. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/comments.d.ts +0 -0
  321. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/comments.js +0 -0
  322. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.d.ts +0 -0
  323. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.js +0 -0
  324. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.d.ts +0 -0
  325. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.js +0 -0
  326. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.d.ts +0 -0
  327. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.js +0 -0
  328. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.d.ts +0 -0
  329. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.js +0 -0
  330. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.d.ts +0 -0
  331. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.js +0 -0
  332. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.d.ts +0 -0
  333. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.js +0 -0
  334. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.d.ts +0 -0
  335. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.js +0 -0
  336. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.d.ts +0 -0
  337. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.js +0 -0
  338. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/reference.d.ts +0 -0
  339. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/reference.js +0 -0
  340. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/script.d.ts +0 -0
  341. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/script.js +0 -0
  342. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/sheet.d.ts +0 -0
  343. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/sheet.js +0 -0
  344. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/website.d.ts +0 -0
  345. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/website.js +0 -0
  346. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.d.ts +0 -0
  347. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.js +0 -0
  348. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/index.d.ts +0 -0
  349. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/index.js +0 -0
  350. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/items.d.ts +0 -0
  351. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/items.js +0 -0
  352. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/layout.d.ts +0 -0
  353. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/layout.js +0 -0
  354. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.d.ts +0 -0
  355. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.js +0 -0
  356. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.d.ts +0 -0
  357. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.js +0 -0
  358. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/schemas.js +0 -0
  359. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.d.ts +0 -0
  360. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.js +0 -0
  361. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.d.ts +0 -0
  362. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.js +0 -0
  363. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/LICENSE +0 -0
  364. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.d.ts +0 -0
  365. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.js +0 -0
  366. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.d.ts +0 -0
  367. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.js +0 -0
  368. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.d.ts +0 -0
  369. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.js +0 -0
  370. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.d.ts +0 -0
  371. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.js +0 -0
  372. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.d.ts +0 -0
  373. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.js +0 -0
  374. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/presets.d.ts +0 -0
  375. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/presets.js +0 -0
  376. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.d.ts +0 -0
  377. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.js +0 -0
  378. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/geometry/index.d.ts +0 -0
  379. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/geometry/index.js +0 -0
  380. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.d.ts +0 -0
  381. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.js +0 -0
  382. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.d.ts +0 -0
  383. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.js +0 -0
  384. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.d.ts +0 -0
  385. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.js +0 -0
  386. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.d.ts +0 -0
  387. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.js +0 -0
  388. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.d.ts +0 -0
  389. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.js +0 -0
  390. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.d.ts +0 -0
  391. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.js +0 -0
  392. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.d.ts +0 -0
  393. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.js +0 -0
  394. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/LICENSE +0 -0
  395. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/account.js +0 -0
  396. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/app.d.ts +0 -0
  397. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.d.ts +0 -0
  398. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.js +0 -0
  399. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/cli.d.ts +0 -0
  400. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/cli.js +0 -0
  401. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/files.d.ts +0 -0
  402. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/files.js +0 -0
  403. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.d.ts +0 -0
  404. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.js +0 -0
  405. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.d.ts +0 -0
  406. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.js +0 -0
  407. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/routes.d.ts +0 -0
  408. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.d.ts +0 -0
  409. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.js +0 -0
  410. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/shares.d.ts +0 -0
  411. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/shares.js +0 -0
  412. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/LICENSE +0 -0
  413. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.d.ts +0 -0
  414. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.js +0 -0
  415. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.d.ts +0 -0
  416. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.js +0 -0
  417. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/index.d.ts +0 -0
  418. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/index.js +0 -0
  419. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.d.ts +0 -0
  420. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.js +0 -0
  421. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.d.ts +0 -0
  422. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.js +0 -0
  423. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/manifest.json +0 -0
  424. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package-lock.json +0 -0
  425. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package.json +0 -0
  426. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package-lock.json +0 -0
  427. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package.json +0 -0
  428. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package-lock.json +0 -0
  429. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package.json +0 -0
  430. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/onnxruntime-node/package-lock.json +0 -0
  431. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/onnxruntime-node/package.json +0 -0
  432. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -0
  433. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/sherpa-onnx-node/package.json +0 -0
  434. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/tesseract.js/package-lock.json +0 -0
  435. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/tesseract.js/package.json +0 -0
  436. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/schemas/runtimes.schema.json +0 -0
  437. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/LICENSE +0 -0
  438. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/NOTICE +0 -0
  439. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.d.ts +0 -0
  440. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.js +0 -0
  441. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.d.ts +0 -0
  442. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.js +0 -0
  443. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.d.ts +0 -0
  444. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.js +0 -0
  445. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.d.ts +0 -0
  446. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.js +0 -0
  447. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/define.d.ts +0 -0
  448. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/define.js +0 -0
  449. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.d.ts +0 -0
  450. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.js +0 -0
  451. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.d.ts +0 -0
  452. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.js +0 -0
  453. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.d.ts +0 -0
  454. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.js +0 -0
  455. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.d.ts +0 -0
  456. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.js +0 -0
  457. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.d.ts +0 -0
  458. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.js +0 -0
  459. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.d.ts +0 -0
  460. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.js +0 -0
  461. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.d.ts +0 -0
  462. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.js +0 -0
  463. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.d.ts +0 -0
  464. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.js +0 -0
  465. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.d.ts +0 -0
  466. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.js +0 -0
  467. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.d.ts +0 -0
  468. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.js +0 -0
  469. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.d.ts +0 -0
  470. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.js +0 -0
  471. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.d.ts +0 -0
  472. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.js +0 -0
  473. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.d.ts +0 -0
  474. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.js +0 -0
  475. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.d.ts +0 -0
  476. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.js +0 -0
  477. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.d.ts +0 -0
  478. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.js +0 -0
  479. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.d.ts +0 -0
  480. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.js +0 -0
  481. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.d.ts +0 -0
  482. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.js +0 -0
  483. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/LICENSE +0 -0
  484. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.d.ts +0 -0
  485. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.js +0 -0
  486. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/capabilities.d.ts +0 -0
  487. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/code.d.ts +0 -0
  488. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/code.js +0 -0
  489. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.d.ts +0 -0
  490. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.js +0 -0
  491. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.d.ts +0 -0
  492. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.js +0 -0
  493. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.d.ts +0 -0
  494. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.js +0 -0
  495. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.js +0 -0
  496. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.d.ts +0 -0
  497. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.js +0 -0
  498. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.d.ts +0 -0
  499. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.js +0 -0
  500. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.d.ts +0 -0
  501. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.js +0 -0
  502. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.d.ts +0 -0
  503. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.js +0 -0
  504. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.d.ts +0 -0
  505. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.js +0 -0
  506. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.d.ts +0 -0
  507. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.js +0 -0
  508. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.d.ts +0 -0
  509. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.js +0 -0
  510. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.d.ts +0 -0
  511. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.js +0 -0
  512. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.d.ts +0 -0
  513. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.js +0 -0
  514. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.d.ts +0 -0
  515. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.js +0 -0
  516. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.d.ts +0 -0
  517. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.js +0 -0
  518. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.d.ts +0 -0
  519. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.js +0 -0
  520. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.d.ts +0 -0
  521. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.js +0 -0
  522. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.d.ts +0 -0
  523. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.js +0 -0
  524. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.d.ts +0 -0
  525. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.js +0 -0
  526. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.d.ts +0 -0
  527. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.js +0 -0
  528. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.d.ts +0 -0
  529. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.js +0 -0
  530. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.d.ts +0 -0
  531. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.js +0 -0
  532. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.d.ts +0 -0
  533. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.js +0 -0
  534. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.d.ts +0 -0
  535. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.js +0 -0
  536. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.d.ts +0 -0
  537. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.js +0 -0
  538. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.d.ts +0 -0
  539. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.js +0 -0
  540. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.d.ts +0 -0
  541. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.js +0 -0
  542. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.d.ts +0 -0
  543. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.js +0 -0
  544. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.d.ts +0 -0
  545. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.js +0 -0
  546. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.js +0 -0
  547. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.d.ts +0 -0
  548. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.js +0 -0
  549. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.d.ts +0 -0
  550. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.js +0 -0
  551. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/csv.d.ts +0 -0
  552. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/csv.js +0 -0
  553. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/diff.d.ts +0 -0
  554. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.js +0 -0
  555. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.d.ts +0 -0
  556. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.js +0 -0
  557. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.d.ts +0 -0
  558. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.js +0 -0
  559. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.d.ts +0 -0
  560. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.js +0 -0
  561. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.d.ts +0 -0
  562. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.js +0 -0
  563. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.d.ts +0 -0
  564. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.js +0 -0
  565. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.d.ts +0 -0
  566. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.js +0 -0
  567. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.d.ts +0 -0
  568. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.js +0 -0
  569. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.d.ts +0 -0
  570. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.js +0 -0
  571. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.d.ts +0 -0
  572. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.js +0 -0
  573. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.d.ts +0 -0
  574. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.js +0 -0
  575. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.d.ts +0 -0
  576. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.js +0 -0
  577. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/import.d.ts +0 -0
  578. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/import.js +0 -0
  579. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/index.d.ts +0 -0
  580. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/index.js +0 -0
  581. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.js +0 -0
  582. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.js +0 -0
  583. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/patch.d.ts +0 -0
  584. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/patch.js +0 -0
  585. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.d.ts +0 -0
  586. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.js +0 -0
  587. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.d.ts +0 -0
  588. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.js +0 -0
  589. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.d.ts +0 -0
  590. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.js +0 -0
  591. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.d.ts +0 -0
  592. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.js +0 -0
  593. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.d.ts +0 -0
  594. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.js +0 -0
  595. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.js +0 -0
  596. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.js +0 -0
  597. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.d.ts +0 -0
  598. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.js +0 -0
  599. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.d.ts +0 -0
  600. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.js +0 -0
  601. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.d.ts +0 -0
  602. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.js +0 -0
  603. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.d.ts +0 -0
  604. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.js +0 -0
  605. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.d.ts +0 -0
  606. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.js +0 -0
  607. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.d.ts +0 -0
  608. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.js +0 -0
  609. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.d.ts +0 -0
  610. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.js +0 -0
  611. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.d.ts +0 -0
  612. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.js +0 -0
  613. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.d.ts +0 -0
  614. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.js +0 -0
  615. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.d.ts +0 -0
  616. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.js +0 -0
  617. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.d.ts +0 -0
  618. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.js +0 -0
  619. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/write.d.ts +0 -0
  620. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.d.ts +0 -0
  621. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.js +0 -0
  622. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/LICENSE +0 -0
  623. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/animation.js +0 -0
  624. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.d.ts +0 -0
  625. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.js +0 -0
  626. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.d.ts +0 -0
  627. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.js +0 -0
  628. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/code.d.ts +0 -0
  629. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.d.ts +0 -0
  630. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.js +0 -0
  631. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.d.ts +0 -0
  632. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.js +0 -0
  633. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.d.ts +0 -0
  634. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.js +0 -0
  635. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.d.ts +0 -0
  636. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.js +0 -0
  637. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/model.js +0 -0
  638. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.d.ts +0 -0
  639. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.js +0 -0
  640. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.d.ts +0 -0
  641. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.js +0 -0
  642. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.d.ts +0 -0
  643. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.js +0 -0
  644. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/stage.d.ts +0 -0
  645. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/stage.js +0 -0
  646. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.js +0 -0
  647. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/units.d.ts +0 -0
  648. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/units.js +0 -0
  649. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.d.ts +0 -0
  650. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.js +0 -0
  651. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/LICENSE +0 -0
  652. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/anchors.d.ts +0 -0
  653. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/anchors.js +0 -0
  654. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.d.ts +0 -0
  655. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.js +0 -0
  656. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.d.ts +0 -0
  657. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.js +0 -0
  658. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/captions.d.ts +0 -0
  659. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/captions.js +0 -0
  660. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/console.d.ts +0 -0
  661. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/console.js +0 -0
  662. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/contrast.d.ts +0 -0
  663. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/contrast.js +0 -0
  664. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/cut-report.d.ts +0 -0
  665. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/cut-report.js +0 -0
  666. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.d.ts +0 -0
  667. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.js +0 -0
  668. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edits.d.ts +0 -0
  669. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/export.js +0 -0
  670. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/fact.js +0 -0
  671. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/footage-motion.d.ts +0 -0
  672. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/footage-motion.js +0 -0
  673. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/formats.d.ts +0 -0
  674. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/formats.js +0 -0
  675. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/look.d.ts +0 -0
  676. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/look.js +0 -0
  677. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/marks.d.ts +0 -0
  678. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/marks.js +0 -0
  679. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/matrix.d.ts +0 -0
  680. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/matrix.js +0 -0
  681. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/measure.js +0 -0
  682. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/messages.d.ts +0 -0
  683. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/messages.js +0 -0
  684. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.d.ts +0 -0
  685. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.js +0 -0
  686. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.d.ts +0 -0
  687. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.js +0 -0
  688. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.d.ts +0 -0
  689. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.js +0 -0
  690. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.d.ts +0 -0
  691. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.js +0 -0
  692. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/schema.js +0 -0
  693. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script-edit.d.ts +0 -0
  694. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script-edit.js +0 -0
  695. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script.d.ts +0 -0
  696. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/script.js +0 -0
  697. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.d.ts +0 -0
  698. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.js +0 -0
  699. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/sound-under.d.ts +0 -0
  700. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/sound-under.js +0 -0
  701. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/source.d.ts +0 -0
  702. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/source.js +0 -0
  703. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/speech.d.ts +0 -0
  704. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timeline.js +0 -0
  705. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timing.d.ts +0 -0
  706. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/timing.js +0 -0
  707. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transcript.d.ts +0 -0
  708. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/transcript.js +0 -0
  709. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/voice.d.ts +0 -0
  710. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/voice.js +0 -0
  711. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/words.d.ts +0 -0
  712. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/words.js +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,138 @@
1
+ # Changelog
2
+
3
+ Feature highlights from each AllyHub release.
4
+
5
+ ## 0.8.0
6
+
7
+ - **Docs read like reports.** Charts drawn from numbers or a sheet, equations, diagrams, columns, footnotes, page breaks and page numbers, a cover and a page style, all kept in PDF and Word.
8
+ - **A figure drawn by code goes in a doc.** `<Component of="…" />` places a project's component, and it follows its code.
9
+ - **`allyhub frames` draws a doc's pages.** See how a doc prints, and how many pages it has, without rendering it.
10
+ - **No `content/` folder.** A piece is named by its folder's path from the project's root; pieces kept under `content/` still work, their names starting with `content/`.
11
+ - **Mark up does more.** Ticks and crosses, colours and thicknesses, a highlighter and written words.
12
+ - **Studio shows its work.** Downloads, installs and a cloud Studio waking show their progress in one list, and the agent, its model and its approval are chosen under the message box.
13
+
14
+ ## 0.7.1
15
+
16
+ - **Downloads that stall start again.** The tools AllyHub fetches on first use, and a project's packages, are tried again instead of hanging.
17
+ - **A project is worked on in one place at a time.** Moving it between your computer and the cloud checks first.
18
+
19
+ ## 0.7.0
20
+
21
+ - **Publish a website.** `allyhub site deploy`, or Publish in Studio, puts a website online at its own address, private until you make it public.
22
+ - **Any web project is a website.** A folder with a `website.json` opens in Studio's preview, and five new skills make company sites, online stores, blogs, docs sites and pages made for search.
23
+ - **Decks work like PowerPoint.** Editing, drawing and PowerPoint files read in are rewritten to match it.
24
+ - **Sheets work like Excel.** Its selection and table styles, with large workbooks calculated without slowing the editor.
25
+ - **Circle to edit in every editor.** It is the editors' main button, and Add to chat sends what you selected to the conversation.
26
+ - **Plans, credits and paying, redesigned**, and a cloud project can be opened and shared read only without starting its computer.
27
+ - **Change tracking is gone from the editors.**
28
+
29
+ ## 0.6.0
30
+
31
+ - **`pptx=editable` is gone.** It wrote a picture with text boxes over it. `native`, the default, is the deck PowerPoint can edit; use it instead.
32
+ - **Decks and sheets keep more in Office.** Gradients, shadows, more shapes, links, scatter charts, and in Excel page layout, notes, pictures, outlines and protection.
33
+ - **Mark up for AI, everywhere.** Start it from any editor's bar or a right click, and draw on what you want changed.
34
+ - **Studio asks in forms.** An agent's questions, and a skill's prompt, are fields to fill in rather than text to edit.
35
+ - **Two new skills.** `explainer-videos` teaches one thing in a video, and `launch-videos` is a short film cut to music for a launch.
36
+
37
+ ## 0.5.0
38
+
39
+ - **Sheets are workbooks.** A sheet is now Excel's model as text, with live formulas, an editor like Excel's, and `allyhub sheet calc`, `trace`, `diff` and `capabilities`.
40
+ - **Sheets made before this version must be imported.** A folder with a `sheet.csv` is no longer a sheet, and nothing warns of it: run `allyhub sheet import <folder>/sheet.csv --to <new folder>`.
41
+ - **A clearer `allyhub` skill.** It says what AllyHub does and links a file for each kind of work. Run `npx skills update -g` to get it.
42
+ - **Fixes.** Videos with a 3D scenery pass `allyhub check` in an installed project, `npm install -g allyhub` works on a Mac, and a first run says what it downloads.
43
+ - **`allyhub words` hears in the cloud.** Without the speech pack it uses a cloud model, at about half a credit a minute. `allyhub doctor --install speech` hears on this computer.
44
+ - **`phoneCamera` grades the picture.** A part filmed with it takes a phone's contrast, colour and warmth: `sensor: { grade: null }` leaves that out.
45
+ - **`allyhub voice --dry-run` and `allyhub reference served` are gone.** `allyhub voice` makes what is missing and bills it to your account.
46
+ - **Work skills come from `allyhub add`.** They are no longer in the public repository: use `allyhub add skill/<name>` in place of `npx skills add`.
47
+
48
+ ## 0.4.0
49
+
50
+ - **AllyHub comes as one skill.** Install it with `npx skills add allyhub-ai/allyhub --skill allyhub -g -y`. The plugin and `allyhub mcp` are gone: remove the plugin if you have it.
51
+ - **A smaller install.** What only some work needs is downloaded when first used.
52
+ - **Slides.** Write decks in code, edit them in an editor like PowerPoint's, and import and export `.pptx`.
53
+ - **Export in every editor.** Export is in each editor's bar, and docs export to Word.
54
+ - **Fewer commands.** `allyhub auth logout`, `auth token` and `orgs switch` are gone.
55
+
56
+ ## 0.3.0
57
+
58
+ - **`allyhub add` takes `<type>/<name>`.** Name what you add with its type: `3d-model/monitor`, `scenery/home-desk-day`, `skill/product-demos`, `component/caption-line`, `lib/<name>`, and Poly Haven's assets as `@polyhaven/<id>`. A bare name (`allyhub add caption-line`) is refused, so update scripts and notes that used one. `allyhub add` alone lists everything AllyHub has, by type, and `allyhub add search --type <type>` lists or finds one type's.
59
+ - **3D models are pieces.** A folder with a `model.ts` (`export default defineModel(…)`) is a 3D model of its own: made once and put in any scenery that imports it, each with its own parameters. It opens alone in `allyhub dev` and Studio, `allyhub check` builds it (one that does not build is AK-B010), and `allyhub render` writes its GLB. A scenery's own helper module must be named something other than `model.ts`.
60
+ - **`allyhub model` is now `allyhub 3d-model`.** `allyhub 3d-model <file>` builds or measures a model, `allyhub 3d-model capabilities` lists the modelling API; `allyhub model` is gone.
61
+ - **Ready-made 3D models.** A monitor, laptop, keyboard, tablet, desk, chair, mouse, trackpad, phone, microphone and speaker at real products' sizes: `allyhub add 3d-model/monitor`, a preset by name (`{"preset":"ultrawide34"}`) and any size or finish as parameters.
62
+ - **`allyhub dev` runs once per project.** Run again while it runs, it opens the page that is running (on the item you name) and ends, instead of starting a second server.
63
+ - **The MCP server says its version.** It reported `0.0.0`; it now reports the CLI's.
64
+
65
+ ## 0.2.0
66
+
67
+ - **The CLI reads AllyHub's current cloud catalog.** `0.2.0-next.4` and earlier cannot list or call the cloud tools any more, so update to use them.
68
+ - **Cloud tools state their price in their description.** `allyhub help <work> <tool>` and the MCP tools show each tool's price, in credits, as its supplier prices it. A call is charged once, when it works, and a failed call is free. `--quote` is gone.
69
+ - **Every organization is a team.** `allyhub orgs list` lists your teams, the first of them made when you signed up. `allyhub orgs switch` takes a team's slug or id; `personal` is gone.
70
+
71
+ ## 0.1.0-alpha.10
72
+
73
+ - **Studio Host for cloud sandboxes.** The Linux Host package runs Studio's page and agent inside an isolated sandbox; this release provides the package used by AllyHub's cloud Studio template.
74
+ - **3D worlds as project items.** Write a world in TypeScript, look around it in Studio, and import it by name into a video.
75
+ - **Screens and cameras in code.** Rebuild screens in a world, light the scene with them, and control the camera's focus, exposure and capture effects.
76
+ - **Measured sound and pictures.** Voice recording presets, room acoustics, cut and text measurements, and repeatable GPU rendering give the agent more evidence while making a piece.
77
+ - **Faster checks in CI.** Pull requests run tiered checks, with the full render and integration tests reserved for the release and nightly runs.
78
+
79
+ ## 0.1.0-alpha.9
80
+
81
+ - **Research as it comes in.** While the agent researches with AllyHub's data tools, Studio's work card shows what they find as a wall of cards (posts, products, pages) that grows as results arrive and stays after the turn until you move on; a card opens its page in your browser. Research no longer saves files into the project.
82
+ - **Notes at their marks.** Write a note's words right at its mark, as in Codex's annotations; the composer shows one Notes chip, notes work across several videos, and a video opens at 0:00.
83
+ - **Clearer stops for AllyHub's agent.** A failed model request no longer reads as a sign-out, the out-of-credits card survives a restart, and a model your plan does not include asks for a plan instead of showing an error.
84
+ - **Commands in a subfolder.** `allyhub check` and the other project commands run inside an item's folder now use the project around it.
85
+ - **Footage keeps its shape.** A footage layer whose box changes shape over time crops its picture instead of stretching it.
86
+ - **Steadier UI demos.** `uiDemo` holds a still camera between moves, lifts nothing, keeps zooms inside its box and finds each place when its step runs.
87
+
88
+ ## 0.1.0-alpha.8
89
+
90
+ - **Projects with skills.** A project is one folder; each kind of work (Product demos, Explainers, Launch shorts, Candidate users) is a standard Agent Skill added to it with `allyhub new --skill` or `allyhub skill add`, and `allyhub find` names the one a task needs.
91
+ - **The skill gallery.** [allyhub.com/skills](https://allyhub.com/skills/) lists AllyHub's skills, and `npx skills add https://allyhub.com` installs them from its Agent Skills index.
92
+ - **Plans and credits in Studio.** Choose a plan or add credits in a sheet, see each day's usage, and get credits in place when a tool runs out.
93
+ - **Studio's layout.** The conversation sits to the right of the work, and each project keeps browser tabs of its own.
94
+ - **AllyHub's own agent.** It hands tasks to subagents and uses the ffmpeg, Chrome and npm Studio brings.
95
+
96
+ ## 0.1.0-alpha.7
97
+
98
+ - **Comments in Codex.** Comment on the preview with Codex's own Annotate; each comment carries the moment in the video, the sheet cell or the doc's words.
99
+ - **Codex setup in one sentence.** Ask Codex to "Read github.com/allyhub-ai/skills to install AllyHub for Codex".
100
+ - **Lighter install.** The first `npx allyhub` downloads 120 MB instead of 262 MB; Excel support installs when first used.
101
+ - **Queue and steer.** In Studio, Enter queues a message while the agent works, and Steer sends a queued message now.
102
+
103
+ ## 0.1.0-alpha.6
104
+
105
+ - **Simple installation.** Run the CLI with `npx allyhub` and install its skill with `npx skills add allyhub-ai/skills -g`.
106
+ - **Short release notes.** Each release lists a few feature highlights.
107
+
108
+ ## 0.1.0-alpha.5
109
+
110
+ - **15 languages.** Studio and the video, doc and sheet editors are available in 15 languages.
111
+ - **Faster startup.** Studio opens without waiting for the macOS keychain.
112
+ - **Clearer exports.** Export messages identify what was saved, and newly created files are marked accurately.
113
+
114
+ ## 0.1.0-alpha.4
115
+
116
+ - **Parallel projects.** Work on several projects at once, each with its own agent.
117
+ - **Built-in browser.** Browse, sign in and watch the agent research inside Studio.
118
+ - **New Home and composer.** Start from templates, steer work in progress and queue messages.
119
+ - **Better docs and sheets.** Easier editing, attachment cells and review of agent changes.
120
+
121
+ ## 0.1.0-alpha.3
122
+
123
+ - **Sign in when needed.** Studio handles agent sign-in within the conversation and keeps unsent messages.
124
+ - **Simpler cloud tools.** Calls return their results and download generated files directly into the project.
125
+ - **File uploads.** Use your own media with cloud generation and research tools.
126
+
127
+ ## 0.1.0-alpha.2
128
+
129
+ - **Docs and sheets.** Create and edit MDX documents and CSV spreadsheets alongside videos and decks.
130
+ - **Speech-led editing.** Cut recordings by their words and time captions and graphics to speech.
131
+ - **Ad variants.** Combine hooks, demos and calls to action across languages and platform formats.
132
+ - **Rendering and inspection.** More export formats, richer measurements and tools to examine frames and sound.
133
+
134
+ ## 0.1.0-alpha.1
135
+
136
+ - **Videos and decks as code.** Create and render locally with your coding agent.
137
+ - **Live preview and feedback.** Circle changes in the preview and send them to the agent.
138
+ - **Cloud media tools.** Generate voiceover, images and video through AllyHub's tool catalog.
package/dist/define.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { type GraphicLayer, type LayerTiming, type StageContext, type TimeShape } from "@allyhub-next/video-core";
1
+ import { type ComponentFrame, type GraphicLayer, type LayerTiming, type StageContext, type TimeShape } from "@allyhub/video-core";
2
2
  import type { PropSchema, Timed } from "./props.js";
3
- export type { StageContext } from "@allyhub-next/video-core";
3
+ export type { ComponentFrame, StageContext } from "@allyhub/video-core";
4
4
  /** What every graphic layer takes besides a component's own props. */
5
5
  export interface LayerOptions extends LayerTiming {
6
6
  /**
@@ -27,7 +27,8 @@ export interface ComponentInfo {
27
27
  /** Deprecated components are hidden, not deleted. */
28
28
  hidden: boolean;
29
29
  }
30
- export interface ComponentDefinition<P extends object> {
30
+ /** What both forms of a component's definition say of it. */
31
+ interface DefinitionBase<P extends object> {
31
32
  name: string;
32
33
  /** A name for people; default: `name`. */
33
34
  label?: Label;
@@ -46,6 +47,9 @@ export interface ComponentDefinition<P extends object> {
46
47
  hidden?: boolean;
47
48
  /** Default values of props. */
48
49
  defaults?: Partial<Timed<P>>;
50
+ }
51
+ /** A component that is one layer: it lays itself out and draws itself. */
52
+ export interface LayerDefinition<P extends object> extends DefinitionBase<P> {
49
53
  /**
50
54
  * Lays the layer out once: builds its elements, measures text. `ctx.dur`
51
55
  * is the part's length, `ctx.layer` the layer's window in it.
@@ -56,10 +60,23 @@ export interface ComponentDefinition<P extends object> {
56
60
  /** Lets go of what mount made that the page does not free with `el` (a WebGL context, a worker, a timer): a deck mounts a slide's components when it is shown and unmounts them when it lets the slide go. */
57
61
  unmount?(el: HTMLElement, props: P, ctx: StageContext): void;
58
62
  }
63
+ /**
64
+ * A component that is layers laid out in a frame (custom(), other
65
+ * components), as a deck's components are: drawn in a video part's frame,
66
+ * a deck's shape or a doc's block alike.
67
+ */
68
+ export interface FrameDefinition<P extends object> extends DefinitionBase<P> {
69
+ /** Its layers, in the frame's pixels: `width` and `height` at 1×. */
70
+ layers(props: P, frame: ComponentFrame): unknown[];
71
+ }
72
+ /** A component's definition: one layer (mount and render), or layers in a frame. */
73
+ export type ComponentDefinition<P extends object> = LayerDefinition<P> | FrameDefinition<P>;
59
74
  /** A component: a function that makes a graphic layer from its props and the layer options. */
60
75
  export type Component<P extends object> = ((...opts: Partial<Timed<P>> extends Timed<P> ? [opts?: LayerOptions & Timed<P>] : [opts: LayerOptions & Timed<P>]) => GraphicLayer<P>) & {
61
76
  componentName: string;
62
77
  info: ComponentInfo;
78
+ /** The layers-in-a-frame form's layers, for a deck's shape or a doc's block; absent for one layer. */
79
+ layersIn?: (props: P, frame: ComponentFrame) => unknown[];
63
80
  };
64
81
  /**
65
82
  * Layer options share one object with a component's props, so these names
package/dist/define.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{LAYER_BRAND as a}from"@allyhub-next/video-core";export const LAYER_OPTIONS=["at","until","dur","z"];export function timeShape(n){const o=e=>{if(e.type==="time")return!0;if(e.type==="list")return o(e.of);if(e.type==="object")return timeShape(e.fields)},t={};for(const[e,r]of Object.entries(n)){const u=r?o(r):void 0;u!==void 0&&(t[e]=u)}return Object.keys(t).length>0?t:void 0}export function splitLayer(n){const{at:o,until:t,dur:e,z:r,...u}=n;return[{...o===void 0?{}:{at:o},...t===void 0?{}:{until:t},...e===void 0?{}:{dur:e},...r===void 0?{}:{z:r}},u]}export function defineComponent(n){const o=[...Object.keys(n.props??{}),...Object.keys(n.defaults??{}),...Object.values(n.examples??{}).flatMap(s=>Object.keys(s))],t=[...new Set(o.filter(s=>LAYER_OPTIONS.includes(s)))];if(t.length>0)throw new Error(`${n.name}: ${t.join(", ")} is a layer option, not a prop name`);const e=timeShape(n.props??{}),r=s=>{const[c,l]=splitLayer(s??{}),d={...n.defaults,...l};return{[a]:"graphic",...c,component:n.name,props:d,...e?{times:e}:{},mount:(i,p,m)=>{n.mount(i,p,m)},render:(i,p,m,f)=>{n.render(i,p,m,f)},unmount:(i,p,m)=>{n.unmount?.(i,p,m)}}},u={name:n.name,label:n.label??n.name,...n.summary===void 0?{}:{summary:n.summary},props:Object.fromEntries(Object.entries(n.props??{}).filter(s=>s[1]!==void 0)),examples:n.examples??{},hidden:n.hidden??!1};return Object.assign(r,{componentName:n.name,info:u})}export function custom(n){const[o]=splitLayer(n);return{[a]:"graphic",...o,component:"custom",props:{},mount:(t,e,r)=>{n.mount?.(t,r)},render:(t,e,r,u)=>{n.render(t,e,u)},unmount:(t,e,r)=>{n.unmount?.(t,r)}}}
2
+ import{LAYER_BRAND as d,isGraphicLayer as h}from"@allyhub/video-core";export const LAYER_OPTIONS=["at","until","dur","z"];export function timeShape(e){const s=t=>{if(t.type==="time")return!0;if(t.type==="list")return s(t.of);if(t.type==="object")return timeShape(t.fields)},n={};for(const[t,r]of Object.entries(e)){const o=r?s(r):void 0;o!==void 0&&(n[t]=o)}return Object.keys(n).length>0?n:void 0}export function splitLayer(e){const{at:s,until:n,dur:t,z:r,...o}=e;return[{...s===void 0?{}:{at:s},...n===void 0?{}:{until:n},...t===void 0?{}:{dur:t},...r===void 0?{}:{z:r}},o]}export function defineComponent(e){const s=[...Object.keys(e.props??{}),...Object.keys(e.defaults??{}),...Object.values(e.examples??{}).flatMap(i=>Object.keys(i))],n=[...new Set(s.filter(i=>LAYER_OPTIONS.includes(i)))];if(n.length>0)throw new Error(`${e.name}: ${n.join(", ")} is a layer option, not a prop name`);const t=timeShape(e.props??{}),r="layers"in e?b(e):e,o=i=>{const[p,c]=splitLayer(i??{}),u={...e.defaults,...c};return{[d]:"graphic",...p,component:e.name,props:u,...t?{times:t}:{},mount:(m,l,y)=>{r.mount(m,l,y)},render:(m,l,y,f)=>{r.render(m,l,y,f)},unmount:(m,l,y)=>{r.unmount?.(m,l,y)}}},a={name:e.name,label:e.label??e.name,...e.summary===void 0?{}:{summary:e.summary},props:Object.fromEntries(Object.entries(e.props??{}).filter(i=>i[1]!==void 0)),examples:e.examples??{},hidden:e.hidden??!1};return Object.assign(o,{componentName:e.name,info:a,..."layers"in e?{layersIn:(i,p)=>e.layers({...e.defaults,...i},p)}:{}})}function b(e){const s=new WeakMap;return{mount(n,t,r){const o=e.layers(t,{width:r.dims.width,height:r.dims.height}),a=[];for(const[i,p]of o.entries()){if(!h(p))throw new Error(`${e.name}'s layers: item ${String(i+1)} is not a graphic layer (custom() or a component).`);const c=p,u=document.createElement("div");u.style.position="absolute",u.style.inset="0px",n.append(u),c.mount(u,c.props,r),a.push({layer:c,el:u})}s.set(n,a)},render(n,t,r,o){for(const a of s.get(n)??[])a.layer.render(a.el,t,a.layer.props,o)},unmount(n,t,r){for(const o of s.get(n)??[])o.layer.unmount?.(o.el,o.layer.props,r);s.delete(n)}}}export function custom(e){const[s]=splitLayer(e);return{[d]:"graphic",...s,component:"custom",props:{},mount:(n,t,r)=>{e.mount?.(n,r)},render:(n,t,r,o)=>{e.render(n,t,o)},unmount:(n,t,r)=>{e.unmount?.(n,r)}}}
package/dist/dom.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type CaptionTrackCue, type ContentOptions, type InlineMark, type StageContext } from "@allyhub-next/video-core";
1
+ import { type CaptionTrackCue, type ContentOptions, type InlineMark, type StageContext } from "@allyhub/video-core";
2
2
  /** Inline styles: camelCase or `--custom` properties; numbers are pixels. */
3
3
  export type Style = Partial<Record<string, string | number>>;
4
4
  export declare function h(tag: string, style?: Style, children?: (Node | string)[], cls?: string): HTMLElement;
package/dist/dom.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{contentEdges as N,markRuns as I,normText as $,readMarks as C,WordStream as M}from"@allyhub-next/video-core";import{largestFit as O,lineOf as R,lineSpans as j}from"./fit.js";export function h(t,n={},e=[],o){const r=document.createElement(t);o&&(r.className=o),css(r,n);for(const i of e)r.append(typeof i=="string"?document.createTextNode(i):i);return r}export function css(t,n){for(const[e,o]of Object.entries(n)){if(o===void 0)continue;const r=typeof o=="number"&&!B.has(e)?`${String(o)}px`:String(o);e.startsWith("--")?t.style.setProperty(e,r):t.style.setProperty(e.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`),r)}}const B=new Set(["opacity","zIndex","fontWeight","lineHeight","flex","flexGrow","flexShrink"]),F=/[\u3400-\u9fff\uf900-\ufaff]/;export function wordBreaks(t){if(!F.test(t)||typeof Intl.Segmenter!="function")return t;const n=new Intl.Segmenter("zh",{granularity:"word"});let e="";for(const o of n.segment(t))e&&o.isWordLike&&(e+="​"),e+=o.segment;return e}export const text=t=>typeof t=="string"||typeof t=="number"||typeof t=="boolean"?String(t):"",list=t=>Array.isArray(t)?t.map(text):t===void 0?[]:[text(t)];export function layout(t,n={}){const{width:e,height:o,orient:r}=t.dims;return{W:e,H:o,orient:r,...N(t.dims,n)}}export function contentBox(t,n={}){return h("div",{position:"absolute",left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top,display:"flex",flexDirection:"column",justifyContent:"center",...n})}export function textBlock(t,{size:n,weight:e=700,color:o="var(--ak-color-fg)",font:r="var(--ak-font-display)",lineHeight:i=1.15,align:s="left"}){return h("div",{fontFamily:r,fontSize:n,fontWeight:e,color:o,lineHeight:i,textAlign:s,overflowWrap:"break-word",textWrap:"balance",lineBreak:"strict",wordBreak:"keep-all",letterSpacing:e>=700?"-0.01em":"0"},[wordBreaks(t)])}export const MARK_STYLES={strong:{fontWeight:700},em:{color:"var(--ak-color-accent)"},strike:{textDecoration:"line-through"},code:{fontFamily:"var(--ak-font-mono)",fontSize:"0.9em"}};export function marked(t,n={}){const e=typeof t=="string"?C(t):t,o=h("span");for(const r of I(e.text,e.marks)){const i=wordBreaks(r.text);if(r.kinds.length===0){o.append(i);continue}const s={};for(const l of r.kinds)Object.assign(s,n[l]??MARK_STYLES[l]);const f=h("span",s,[i]);f.dataset.mark=r.kinds.join(" "),o.append(f)}return o}export function all(t,n){return Array.from(t.querySelectorAll(`[data-ak="${n}"]`))}export function one(t,n){return t.querySelector(`[data-ak="${n}"]`)}export function tag(t,n){return t.dataset.ak=n,t}export function fitTo(t,{min:n,max:e,maxHeight:o}){const r=()=>t.scrollWidth<=t.clientWidth+1&&t.offsetHeight<=o+1;if(t.style.fontSize=`${String(e)}px`,r())return e;let i=n,s=e;for(;s-i>.5;){const f=(i+s)/2;t.style.fontSize=`${String(f)}px`,r()?i=f:s=f}return t.style.fontSize=`${String(i)}px`,i}export const FIT_LINES_PRECISION=.5;function W(t){const n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT),e=[];for(let o=n.nextNode();o;o=n.nextNode())o instanceof Text&&e.push(o);return e}function v(t){const n=document.createRange(),e=[];for(const o of W(t)){n.selectNodeContents(o);for(const r of n.getClientRects())e.push(r)}return j(e)}export function textLines(t){const n=v(t);if(n.length===0)return[];const e=n.map(()=>""),o=document.createRange();let r=0;for(const i of W(t)){const s=i.data;for(let f=0;f<s.length;){const l=(s.codePointAt(f)??0)>65535?2:1;o.setStart(i,f),o.setEnd(i,f+l);const m=o.getBoundingClientRect();if(m.height>0){const d=R(m,n);d>=0&&(r=d)}e[r]=(e[r]??"")+s.slice(f,f+l),f+=l}}return e.map(i=>i.replace(/\u200b/g,"").replace(/\s+/g," ").trim())}export function fitLines(t,n){if(typeof t=="string"){if(n.width===void 0)throw new Error("fitLines: a text needs a width");const d=h("div",n.style??{},[t]),x=h("div",{position:"absolute",left:0,top:0,visibility:"hidden",pointerEvents:"none"},[d]);document.body.append(x);try{return fitLines(d,n)}finally{x.remove()}}const e=t,{lines:o,min:r,max:i,width:s,height:f}=n;s!==void 0&&(e.style.width=`${String(s)}px`);const l=d=>(e.style.fontSize=`${String(d)}px`,e.scrollWidth>e.clientWidth+1||f!==void 0&&(e.offsetHeight>f+1||e.scrollHeight>e.clientHeight+1)?!1:v(e).length<=o),m=O(r,i,n.precision??FIT_LINES_PRECISION,l);return e.style.fontSize=`${String(m.size)}px`,{...m,lines:textLines(e)}}const _=(t,n)=>Math.max(0,Math.min(t[0]+t[2],n[0]+n[2])-Math.max(t[0],n[0]))*Math.max(0,Math.min(t[1]+t[3],n[1]+n[3])-Math.max(t[1],n[1]));export function freeAreas(t,n,e={}){const o=layout(t),[r,i,s,f]=e.within??[o.left,o.top,o.right-o.left,o.bottom-o.top],l=i+f,m=e.margin??24*o.k,x=[...e.faces===!1?[]:t.faces(n).map(a=>a.box),...e.texts===!1?[]:t.texts(n).map(a=>a.box),...e.covered===!1?[]:t.covered].filter(a=>a[0]<r+s&&a[0]+a[2]>r).map(a=>[a[1]-m,a[1]+a[3]+m]).sort((a,y)=>a[0]-y[0]),g=[];let p=i;for(const[a,y]of x)if(a>p&&g.push([r,p,s,Math.min(a,l)-p]),p=Math.max(p,y),p>=l)break;return p<l&&g.push([r,p,s,l-p]),g.filter(a=>a[3]>0&&a[3]>=(e.minHeight??0)).sort((a,y)=>y[3]-a[3])}export function captionTop(t,n,e,o,r,i={}){const s=c=>Math.min(Math.max(c,n.top),Math.max(n.top,n.bottom-r)),f=c=>s(c==="top"?n.top:c==="middle"?(n.top+n.bottom-r)/2:c==="bottom"?n.bottom-r:c),l=(i.prefer??["bottom","top","middle"]).map(f),m=Math.max(.02,i.step??.1),d=Math.max(0,e.end-e.start),x=Math.min(200,Math.max(1,Math.ceil(d/m))),g=[],p=[];for(let c=0;c<x;c++){const u=e.start+d*c/x;i.texts!==!1&&g.push(...t.texts(u).map(k=>k.box)),i.faces!==!1&&p.push(...t.faces(u).map(k=>k.box))}const a=(n.W-o)/2,y=i.textGap??48*n.k,T=i.faceGap??24*n.k,b=(c,u,k)=>u.reduce((H,A)=>H+_([a,c-k,o,r+2*k],A),0),z=g.flatMap(([,c,,u])=>[s(c-y-r),s(c+u+y)]).sort((c,u)=>Math.abs(c-(l[0]??0))-Math.abs(u-(l[0]??0)));let w=l[0]??s(n.bottom-r),S=[1/0,1/0];for(const c of[...l,...z]){const u=[b(c,g,y),b(c,p,T)];if(u[0]===0&&u[1]===0)return c;(u[0]<S[0]||u[0]===S[0]&&u[1]<S[1])&&(S=u,w=c)}return w}export function lightDark(t){const n="var(--ak-color-bg)",e="var(--ak-color-fg)",o=s=>{const f=h("span",{color:s,display:"none"});t.append(f);const l=/^rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)/.exec(getComputedStyle(f).color);if(f.remove(),!l)return;const[m=0,d=0,x=0]=l.slice(1,4).map(g=>{const p=Number(g)/255;return p<=.04045?p/12.92:((p+.055)/1.055)**2.4});return .2126*m+.7152*d+.0722*x},r=o(n),i=o(e);return r!==void 0&&i!==void 0&&i>r?{light:e,dark:n}:{light:n,dark:e}}const G=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u;function E(t,n){const e=$(n),o=[],r=t.words.length-1;for(let i=1;;i++){const s=t.span(e,0,r,i);if(!s)return o;(G.test(e)||t.charOf(s.first)+e.length===t.charOf(s.last+1))&&o.push([s.first,s.last])}}export function emphasized(t,n){const e=t.map(()=>!1);if(!n?.length)return e;const o=new M(t);for(const r of n)for(const[i,s]of E(o,r))e.fill(!0,i,s+1);return e}export function wordEmoji(t,n){const e=t.map(()=>"");if(!n)return e;const o=new M(t);for(const[r,i]of Object.entries(n))for(const[,s]of E(o,r))(e[s]??"")===""&&(e[s]=i);return e}export function emojiEl(t,n={}){const e=h("span",{display:"inline-block",fontFamily:"var(--ak-font-emoji)",fontWeight:400,fontStyle:"normal",fontSynthesis:"none",textTransform:"none",letterSpacing:"0",lineHeight:1,WebkitTextStroke:"0",textShadow:"none",...n},[t]);return e.setAttribute("aria-hidden","true"),e}
2
+ import{contentEdges as N,markRuns as I,normText as $,readMarks as C,WordStream as M}from"@allyhub/video-core";import{largestFit as O,lineOf as R,lineSpans as j}from"./fit.js";export function h(t,n={},e=[],o){const r=document.createElement(t);o&&(r.className=o),css(r,n);for(const i of e)r.append(typeof i=="string"?document.createTextNode(i):i);return r}export function css(t,n){for(const[e,o]of Object.entries(n)){if(o===void 0)continue;const r=typeof o=="number"&&!B.has(e)?`${String(o)}px`:String(o);e.startsWith("--")?t.style.setProperty(e,r):t.style.setProperty(e.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`),r)}}const B=new Set(["opacity","zIndex","fontWeight","lineHeight","flex","flexGrow","flexShrink"]),F=/[\u3400-\u9fff\uf900-\ufaff]/;export function wordBreaks(t){if(!F.test(t)||typeof Intl.Segmenter!="function")return t;const n=new Intl.Segmenter("zh",{granularity:"word"});let e="";for(const o of n.segment(t))e&&o.isWordLike&&(e+="​"),e+=o.segment;return e}export const text=t=>typeof t=="string"||typeof t=="number"||typeof t=="boolean"?String(t):"",list=t=>Array.isArray(t)?t.map(text):t===void 0?[]:[text(t)];export function layout(t,n={}){const{width:e,height:o,orient:r}=t.dims;return{W:e,H:o,orient:r,...N(t.dims,n)}}export function contentBox(t,n={}){return h("div",{position:"absolute",left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top,display:"flex",flexDirection:"column",justifyContent:"center",...n})}export function textBlock(t,{size:n,weight:e=700,color:o="var(--ak-color-fg)",font:r="var(--ak-font-display)",lineHeight:i=1.15,align:s="left"}){return h("div",{fontFamily:r,fontSize:n,fontWeight:e,color:o,lineHeight:i,textAlign:s,overflowWrap:"break-word",textWrap:"balance",lineBreak:"strict",wordBreak:"keep-all",letterSpacing:e>=700?"-0.01em":"0"},[wordBreaks(t)])}export const MARK_STYLES={strong:{fontWeight:700},em:{color:"var(--ak-color-accent)"},strike:{textDecoration:"line-through"},code:{fontFamily:"var(--ak-font-mono)",fontSize:"0.9em"}};export function marked(t,n={}){const e=typeof t=="string"?C(t):t,o=h("span");for(const r of I(e.text,e.marks)){const i=wordBreaks(r.text);if(r.kinds.length===0){o.append(i);continue}const s={};for(const l of r.kinds)Object.assign(s,n[l]??MARK_STYLES[l]);const f=h("span",s,[i]);f.dataset.mark=r.kinds.join(" "),o.append(f)}return o}export function all(t,n){return Array.from(t.querySelectorAll(`[data-ak="${n}"]`))}export function one(t,n){return t.querySelector(`[data-ak="${n}"]`)}export function tag(t,n){return t.dataset.ak=n,t}export function fitTo(t,{min:n,max:e,maxHeight:o}){const r=()=>t.scrollWidth<=t.clientWidth+1&&t.offsetHeight<=o+1;if(t.style.fontSize=`${String(e)}px`,r())return e;let i=n,s=e;for(;s-i>.5;){const f=(i+s)/2;t.style.fontSize=`${String(f)}px`,r()?i=f:s=f}return t.style.fontSize=`${String(i)}px`,i}export const FIT_LINES_PRECISION=.5;function W(t){const n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT),e=[];for(let o=n.nextNode();o;o=n.nextNode())o instanceof Text&&e.push(o);return e}function v(t){const n=document.createRange(),e=[];for(const o of W(t)){n.selectNodeContents(o);for(const r of n.getClientRects())e.push(r)}return j(e)}export function textLines(t){const n=v(t);if(n.length===0)return[];const e=n.map(()=>""),o=document.createRange();let r=0;for(const i of W(t)){const s=i.data;for(let f=0;f<s.length;){const l=(s.codePointAt(f)??0)>65535?2:1;o.setStart(i,f),o.setEnd(i,f+l);const m=o.getBoundingClientRect();if(m.height>0){const d=R(m,n);d>=0&&(r=d)}e[r]=(e[r]??"")+s.slice(f,f+l),f+=l}}return e.map(i=>i.replace(/\u200b/g,"").replace(/\s+/g," ").trim())}export function fitLines(t,n){if(typeof t=="string"){if(n.width===void 0)throw new Error("fitLines: a text needs a width");const d=h("div",n.style??{},[t]),x=h("div",{position:"absolute",left:0,top:0,visibility:"hidden",pointerEvents:"none"},[d]);document.body.append(x);try{return fitLines(d,n)}finally{x.remove()}}const e=t,{lines:o,min:r,max:i,width:s,height:f}=n;s!==void 0&&(e.style.width=`${String(s)}px`);const l=d=>(e.style.fontSize=`${String(d)}px`,e.scrollWidth>e.clientWidth+1||f!==void 0&&(e.offsetHeight>f+1||e.scrollHeight>e.clientHeight+1)?!1:v(e).length<=o),m=O(r,i,n.precision??FIT_LINES_PRECISION,l);return e.style.fontSize=`${String(m.size)}px`,{...m,lines:textLines(e)}}const _=(t,n)=>Math.max(0,Math.min(t[0]+t[2],n[0]+n[2])-Math.max(t[0],n[0]))*Math.max(0,Math.min(t[1]+t[3],n[1]+n[3])-Math.max(t[1],n[1]));export function freeAreas(t,n,e={}){const o=layout(t),[r,i,s,f]=e.within??[o.left,o.top,o.right-o.left,o.bottom-o.top],l=i+f,m=e.margin??24*o.k,x=[...e.faces===!1?[]:t.faces(n).map(a=>a.box),...e.texts===!1?[]:t.texts(n).map(a=>a.box),...e.covered===!1?[]:t.covered].filter(a=>a[0]<r+s&&a[0]+a[2]>r).map(a=>[a[1]-m,a[1]+a[3]+m]).sort((a,y)=>a[0]-y[0]),g=[];let p=i;for(const[a,y]of x)if(a>p&&g.push([r,p,s,Math.min(a,l)-p]),p=Math.max(p,y),p>=l)break;return p<l&&g.push([r,p,s,l-p]),g.filter(a=>a[3]>0&&a[3]>=(e.minHeight??0)).sort((a,y)=>y[3]-a[3])}export function captionTop(t,n,e,o,r,i={}){const s=c=>Math.min(Math.max(c,n.top),Math.max(n.top,n.bottom-r)),f=c=>s(c==="top"?n.top:c==="middle"?(n.top+n.bottom-r)/2:c==="bottom"?n.bottom-r:c),l=(i.prefer??["bottom","top","middle"]).map(f),m=Math.max(.02,i.step??.1),d=Math.max(0,e.end-e.start),x=Math.min(200,Math.max(1,Math.ceil(d/m))),g=[],p=[];for(let c=0;c<x;c++){const u=e.start+d*c/x;i.texts!==!1&&g.push(...t.texts(u).map(k=>k.box)),i.faces!==!1&&p.push(...t.faces(u).map(k=>k.box))}const a=(n.W-o)/2,y=i.textGap??48*n.k,T=i.faceGap??24*n.k,b=(c,u,k)=>u.reduce((H,A)=>H+_([a,c-k,o,r+2*k],A),0),z=g.flatMap(([,c,,u])=>[s(c-y-r),s(c+u+y)]).sort((c,u)=>Math.abs(c-(l[0]??0))-Math.abs(u-(l[0]??0)));let w=l[0]??s(n.bottom-r),S=[1/0,1/0];for(const c of[...l,...z]){const u=[b(c,g,y),b(c,p,T)];if(u[0]===0&&u[1]===0)return c;(u[0]<S[0]||u[0]===S[0]&&u[1]<S[1])&&(S=u,w=c)}return w}export function lightDark(t){const n="var(--ak-color-bg)",e="var(--ak-color-fg)",o=s=>{const f=h("span",{color:s,display:"none"});t.append(f);const l=/^rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)/.exec(getComputedStyle(f).color);if(f.remove(),!l)return;const[m=0,d=0,x=0]=l.slice(1,4).map(g=>{const p=Number(g)/255;return p<=.04045?p/12.92:((p+.055)/1.055)**2.4});return .2126*m+.7152*d+.0722*x},r=o(n),i=o(e);return r!==void 0&&i!==void 0&&i>r?{light:e,dark:n}:{light:n,dark:e}}const G=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u;function E(t,n){const e=$(n),o=[],r=t.words.length-1;for(let i=1;;i++){const s=t.span(e,0,r,i);if(!s)return o;(G.test(e)||t.charOf(s.first)+e.length===t.charOf(s.last+1))&&o.push([s.first,s.last])}}export function emphasized(t,n){const e=t.map(()=>!1);if(!n?.length)return e;const o=new M(t);for(const r of n)for(const[i,s]of E(o,r))e.fill(!0,i,s+1);return e}export function wordEmoji(t,n){const e=t.map(()=>"");if(!n)return e;const o=new M(t);for(const[r,i]of Object.entries(n))for(const[,s]of E(o,r))(e[s]??"")===""&&(e[s]=i);return e}export function emojiEl(t,n={}){const e=h("span",{display:"inline-block",fontFamily:"var(--ak-font-emoji)",fontWeight:400,fontStyle:"normal",fontSynthesis:"none",textTransform:"none",letterSpacing:"0",lineHeight:1,WebkitTextStroke:"0",textShadow:"none",...n},[t]);return e.setAttribute("aria-hidden","true"),e}
package/dist/free.d.ts CHANGED
@@ -1,18 +1,18 @@
1
1
  export { clamp, ease, fitText, lerp, progress, rand, stagger, tween, type Ease, type FitTextOptions, type TweenOptions, } from "./anim.js";
2
2
  export { noise2D, noise3D, noise4D } from "./noise.js";
3
3
  export { drag, fittsTime, INPUT_DEFAULTS, pointer, reach, scroll, tap, typing, type Drag, type DragOptions, type Movement, type Point, type Pointer, type PointerOptions, type PointerState, type PointerStep, type ReachOptions, type Scroll, type ScrollOptions, type Tap, type TapOptions, type Typed, type TypingOptions, } from "./input.js";
4
- export { aimed, type AimOptions } from "@allyhub-next/scenery";
4
+ export { aimed, type AimOptions } from "@allyhub/scenery";
5
5
  export { drawOn, interpolatePath, normalizePath, pathLength, pointAtLength, tangentAtLength, trimPath, type DrawOn, type PathCommand, type PathPoint, } from "./paths.js";
6
6
  export { FIT_LINES_PRECISION, fitLines, textLines, type FitLines, type FitLinesOptions, } from "./dom.js";
7
- export { custom, defineComponent, LAYER_OPTIONS, type Component, type ComponentDefinition, type ComponentInfo, type CustomOptions, type Label, type LayerOptions, type StageContext, } from "./define.js";
7
+ export { custom, defineComponent, LAYER_OPTIONS, type Component, type ComponentDefinition, type ComponentInfo, type CustomOptions, type FrameDefinition, type LayerDefinition, type ComponentFrame, type Label, type LayerOptions, type StageContext, } from "./define.js";
8
8
  export { say, type BoxKey, type FootageBackground, type FootageBox, type PerOrient, type PunchIn, type Pullback, type Reframe, type FootageLayer, type FootageOptions, type GraphicLayer, type Layer, type LayerSpec, type LayerTiming, type PartAnchors, type PartOptions, type PartSpec, type Rect, type RoomTone, type SayOptions, type SaySpeech, type SoundSpec, type SpeechSpec, type Take, type TakeSpeech, type VideoSpeech, type VideoTake, type Direction, type TransitionChannel, type TransitionInput, type TransitionPicture, type TransitionSpec, type TransitionType, type WordRef, } from "./parts.js";
9
- export type { InlineMark, MarkedText } from "@allyhub-next/video-core";
9
+ export type { InlineMark, MarkedText } from "@allyhub/video-core";
10
10
  /** What ctx.video(piece, el) gives: another video item, drawn inside an element. */
11
- export type { EmbeddedVideo } from "@allyhub-next/video-core";
11
+ export type { EmbeddedVideo } from "@allyhub/video-core";
12
12
  export { defineConfig, definePiece, paged, type Combo, type Dims, type Format, type FormatEntry, type FormatSpec, type ItemPiece, type Matrix, type MediaRef, type MessageHint, type MotionBlur, type MusicOptions, type PieceContext, type PieceDefinition, type PieceOptions, type PieceWritten, type PostProcess, type CaptureOptions, type ProjectConfig, type Video, type VideoBuild, type VideoItem, type VideoOptions, type VideoPiece, type VideoPieceOptions, } from "./piece.js";
13
13
  export type { ListItem, ListPrefix, MessageInputs, MessageKey, MessageLists, MessageReader, Messages, } from "./messages.js";
14
14
  export { asset, boolean, color, list, number, object, text, time, type PropSchema, type PropsOf, type PropValue, type Time, type Timed, type VideoValue, } from "./props.js";
15
15
  export { countText, splitText } from "./text.js";
16
- export { markRuns, readMarks, withoutMarks, type MarkRun, } from "@allyhub-next/video-core";
17
- export type { Box, CaptionOptions, CaptionTrackCue, CaptionWord, EditList, EditRange, FaceOnFrame, FaceTrack, MediaInfo, MediaKind, PixelRect, TrackedFace, Word, } from "@allyhub-next/video-core";
16
+ export { markRuns, readMarks, withoutMarks, type MarkRun, } from "@allyhub/video-core";
17
+ export type { Box, CaptionOptions, CaptionTrackCue, CaptionWord, EditList, EditRange, FaceOnFrame, FaceTrack, MediaInfo, MediaKind, PixelRect, TrackedFace, Word, } from "@allyhub/video-core";
18
18
  //# sourceMappingURL=free.d.ts.map
package/dist/free.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- export{clamp,ease,fitText,lerp,progress,rand,stagger,tween}from"./anim.js";export{noise2D,noise3D,noise4D}from"./noise.js";export{drag,fittsTime,INPUT_DEFAULTS,pointer,reach,scroll,tap,typing}from"./input.js";export{aimed}from"@allyhub-next/scenery";export{drawOn,interpolatePath,normalizePath,pathLength,pointAtLength,tangentAtLength,trimPath}from"./paths.js";export{FIT_LINES_PRECISION,fitLines,textLines}from"./dom.js";export{custom,defineComponent,LAYER_OPTIONS}from"./define.js";export{say}from"./parts.js";export{defineConfig,definePiece,paged}from"./piece.js";export{asset,boolean,color,list,number,object,text,time}from"./props.js";export{countText,splitText}from"./text.js";export{markRuns,readMarks,withoutMarks}from"@allyhub-next/video-core";
2
+ export{clamp,ease,fitText,lerp,progress,rand,stagger,tween}from"./anim.js";export{noise2D,noise3D,noise4D}from"./noise.js";export{drag,fittsTime,INPUT_DEFAULTS,pointer,reach,scroll,tap,typing}from"./input.js";export{aimed}from"@allyhub/scenery";export{drawOn,interpolatePath,normalizePath,pathLength,pointAtLength,tangentAtLength,trimPath}from"./paths.js";export{FIT_LINES_PRECISION,fitLines,textLines}from"./dom.js";export{custom,defineComponent,LAYER_OPTIONS}from"./define.js";export{say}from"./parts.js";export{defineConfig,definePiece,paged}from"./piece.js";export{asset,boolean,color,list,number,object,text,time}from"./props.js";export{countText,splitText}from"./text.js";export{markRuns,readMarks,withoutMarks}from"@allyhub/video-core";
package/dist/input.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{aimAt as q,aimShape as E,bandNoise as I,unit3 as v}from"@allyhub-next/scenery";export const INPUT_DEFAULTS={reach:{overshoot:.06,peak:.38,vary:.5,fitts:{a:.2,b:.15},scatter:.1,jitter:.02,bow:.06,tremor:{px:.3,frequency:9},seed:1},size:40,dwell:.12,hold:.1,drag:{settle:.08,release:.06,fitts:{a:.25,b:.2},tremor:{px:.8,frequency:8}},tap:{slide:1.2,grow:.03},wheel:{notch:100,animate:.15,interval:.05,pause:.25,burst:4},flick:{contact:.12,decay:.4995,band:800,spring:.12},typing:{cps:9,spread:.35,word:1.5,mark:2,think:{chance:.08,seconds:.35},notice:.3,backspace:.07,seed:1}};function z(t,o=INPUT_DEFAULTS.reach){return{...o,...t,fitts:{...o.fitts,...t?.fitts},tremor:{...o.tremor,...t?.tremor}}}const w=(t,o,r)=>2*v(t,o,r)-1,M=(t,o,r)=>Math.sqrt(-2*Math.log(v(t,o,r)))*Math.cos(2*Math.PI*v(t^625341585,o,r));export function reachProblem(t,o){const r=[["scatter",t.scatter],["jitter",t.jitter],["bow",t.bow],["vary",t.vary],["fitts.a",t.fitts?.a],["fitts.b",t.fitts?.b],["tremor.px",t.tremor?.px],["tremor.frequency",t.tremor?.frequency]];for(const[n,c]of r)if(c!==void 0&&!(Number.isFinite(c)&&c>=0))return`${o}'s ${n} is a number from 0, not ${String(c)}`;if(t.overshoot!==void 0&&!(t.overshoot>=-.5&&t.overshoot<=1))return`${o}'s overshoot is a share from -0.5 to 1, not ${String(t.overshoot)}`;if(t.peak!==void 0&&!(t.peak>=.15&&t.peak<=.6))return`${o}'s peak is a share from 0.15 to 0.6, not ${String(t.peak)}`;if(t.seed!==void 0&&!Number.isInteger(t.seed))return`${o}'s seed is a whole number, not ${String(t.seed)}`}export function fittsTime(t,o,r={}){const n={...INPUT_DEFAULTS.reach.fitts,...r};return n.a+n.b*Math.log2(1+t/Math.max(1,o))}export function reach(t,o,r,n={}){const c=reachProblem(n,"reach");if(c)throw new Error(c);const a=z(n),f=r.index??0,h=r.size??INPUT_DEFAULTS.size,y=[o[0]+a.scatter*h*M(a.seed,f,11),o[1]+a.scatter*h*M(a.seed,f,12)],m=y[0]-t[0],s=y[1]-t[1],u=Math.hypot(m,s),d=Math.max(.05,(r.duration??fittsTime(u,h,a.fitts))*(1+.15*a.vary*w(a.seed,f,13))),e=r.end+a.jitter*M(a.seed,f,14),i=e-d,x=E({overshoot:a.overshoot,peak:a.peak,vary:a.vary,seed:a.seed,index:f}),l=a.bow*w(a.seed,f,15);return{start:i,end:e,from:t,to:y,bow:l,progress:b=>q(x,b),at(b){if(b<=i)return t;if(b>=e)return y;const p=(b-i)/d,k=q(x,p),g=l*Math.sin(Math.PI*Math.min(1,p));return[t[0]+m*k-s*g,t[1]+s*k+m*g]}}}function S(t,o,r){if(r.px<=0)return()=>[0,0];const n={center:r.frequency,spread:r.frequency/5},c=I(t+o*31,101,n),a=I(t+o*31,102,n);return f=>[r.px*c(f),r.px*a(f)]}export function pointer(t){const o=reachProblem(t,"pointer");if(o)throw new Error(o);const r=z(t),n=t.dwell??INPUT_DEFAULTS.dwell,c=t.hold??INPUT_DEFAULTS.hold,a=[],f=[];let h=t.from;for(const[m,s]of t.steps.entries()){const u=s.press?(s.dwell??n)*(1+.4*r.vary*w(r.seed,m,21)):0,d=reach(h,s.to,{end:s.at-u,...s.duration===void 0?{}:{duration:s.duration},size:s.size??INPUT_DEFAULTS.size,index:m},t);if(a.push(d),s.press){const e=(s.hold??c)*(1+.4*r.vary*w(r.seed,m,22));f.push({down:s.at,up:s.at+e,at:d.to})}h=d.to}const y=S(r.seed,0,r.tremor);return{moves:a,presses:f,at(m){let s=t.from;for(const e of a)m>=e.start&&(s=e.at(m));const[u,d]=y(m);return{x:s[0]+u,y:s[1]+d,down:f.some(e=>m>=e.down&&m<e.up)}}}}export function tap(t){const o=t.seed??INPUT_DEFAULTS.reach.seed,r=t.index??0,n=t.size??INPUT_DEFAULTS.size,c=t.scatter??INPUT_DEFAULTS.reach.scatter,a=t.slide??INPUT_DEFAULTS.tap.slide,f=t.grow??INPUT_DEFAULTS.tap.grow,h=(t.hold??INPUT_DEFAULTS.hold)*(1+.3*w(o,r,31)),y=t.to[0]+c*n*M(o,r,32),m=t.to[1]+c*n*M(o,r,33),s=2*Math.PI*v(o,r,34),u=t.at,d=u+h;return{down:u,up:d,at(e){const i=Math.min(1,Math.max(0,(e-u)/h)),x=a*(i*i*(3-2*i)),l=e>=u&&e<d,b=l?Math.min(1,(e-u)/f,(d-e)/f):0;return{x:y+x*Math.cos(s),y:m+x*Math.sin(s),down:l,contact:b}}}}export function drag(t){const o=reachProblem(t,"drag");if(o)throw new Error(o);const r=INPUT_DEFAULTS.drag,n=z(t,{...INPUT_DEFAULTS.reach,fitts:r.fitts,tremor:r.tremor}),c=t.index??0,a=(t.settle??r.settle)*(1+.4*n.vary*w(n.seed,c,41)),f=(t.release??r.release)*(1+.4*n.vary*w(n.seed,c,42)),h=t.size??INPUT_DEFAULTS.size,y=Math.hypot(t.to[0]-t.from[0],t.to[1]-t.from[1]),m=t.duration??fittsTime(y,h,n.fitts),s=reach(t.from,t.to,{end:t.at+a+m,duration:m,size:h,index:c},{...n,jitter:0}),u=S(n.seed,c+1e3,n.tremor),d=s.end+f;return{down:t.at,start:s.start,end:s.end,up:d,to:s.to,at(e){const i=s.at(e),x=e>=t.at&&e<d,l=x?Math.min(1,(e-t.at)/.05,(d-e)/.05):0,[b,p]=u(e);return{x:i[0]+l*b,y:i[1]+l*p,down:x}}}}export function scroll(t){const o=t.seed??INPUT_DEFAULTS.reach.seed,r=t.index??0,n=t.by<0?-1:1;if((t.kind??"flick")==="wheel"){const e={...INPUT_DEFAULTS.wheel,...t.wheel},i=Math.max(1,Math.round(Math.abs(t.by)/e.notch)),x=t.by/i,l=[];let b=t.at;for(let k=0;k<i;k++){l.push(b);const g=(k+1)%Math.max(1,e.burst)===0?e.pause:e.interval;b+=g*(1+.4*w(o,r*997+k,51))}const p=k=>1-(1-k)**3;return{start:t.at,end:(l.at(-1)??t.at)+e.animate,at(k){let g=0;for(const $ of l)k>$&&(g+=x*p(Math.min(1,(k-$)/e.animate)));return g}}}const c={...INPUT_DEFAULTS.flick,...t.flick},a=c.contact*(1+.3*w(o,r,52)),f=Math.abs(t.by)/(a/2+c.decay),h=f*a/2,y=t.at+a,m=e=>{if(e<=t.at)return 0;if(e<=y){const i=(e-t.at)/a;return h*i*i}return h+f*c.decay*(1-Math.exp(-(e-y)/c.decay))},s=t.limit===void 0?1/0:Math.abs(t.limit);let u=1/0;Math.abs(t.by)>s&&(s<=h?u=t.at+a*Math.sqrt(s/h):u=y-c.decay*Math.log(1-(s-h)/(f*c.decay)));const d=e=>(1-1/(e*.55/c.band+1))*c.band;return{start:t.at,end:y+c.decay*5,at(e){const i=m(e);if(i<=s)return n*i;const x=Math.max(0,e-u),l=(1+x/c.spring)*Math.exp(-x/c.spring);return n*(s+d(i-s)*l)}}}const j=t=>t!==void 0&&/[\p{L}\p{N}]/u.test(t);export function typing(t,o){const r=INPUT_DEFAULTS.typing,n={...r,...o,think:{...r.think,...o.think}};if(!(n.cps>0))throw new Error(`typing's cps is above 0, not ${String(n.cps)}`);const c=Array.from(t),a=[],f=[];let h=n.at,y=0;const m=(d,e)=>{const i=1/n.cps,x=n.spread,l=M(n.seed,y,61);let b=i*Math.exp(x*l-x*x/2);return!j(d)&&j(e)&&(b*=n.word,v(n.seed,y,62)<n.think.chance&&(b+=n.think.seconds)),d!==void 0&&/[.,;:!?。,、!?]/u.test(d)&&(b*=n.mark),b},s=(d,e,i)=>{a.length>0&&(h+=i??m(d,e)),a.push({t:h,key:e}),y++};let u;for(const[d,e]of c.entries()){for(const i of n.mistakes??[]){if(i.at!==d)continue;const x=Array.from(i.typed);for(const l of x)s(u,l),u=l;h+=n.notice*(1+.3*w(n.seed,y,63));for(let l=0;l<x.length;l++)s(u,"Backspace",l===0?0:n.backspace);u=c[d-1]}s(u,e),f[d]=h,u=e}return{keys:a,times:f,end:h,text(d){let e=[];for(const i of a){if(i.t>d)break;i.key==="Backspace"?e=e.slice(0,-1):e.push(i.key)}return e.join("")}}}
2
+ import{aimAt as q,aimShape as E,bandNoise as I,unit3 as v}from"@allyhub/scenery";export const INPUT_DEFAULTS={reach:{overshoot:.06,peak:.38,vary:.5,fitts:{a:.2,b:.15},scatter:.1,jitter:.02,bow:.06,tremor:{px:.3,frequency:9},seed:1},size:40,dwell:.12,hold:.1,drag:{settle:.08,release:.06,fitts:{a:.25,b:.2},tremor:{px:.8,frequency:8}},tap:{slide:1.2,grow:.03},wheel:{notch:100,animate:.15,interval:.05,pause:.25,burst:4},flick:{contact:.12,decay:.4995,band:800,spring:.12},typing:{cps:9,spread:.35,word:1.5,mark:2,think:{chance:.08,seconds:.35},notice:.3,backspace:.07,seed:1}};function z(t,o=INPUT_DEFAULTS.reach){return{...o,...t,fitts:{...o.fitts,...t?.fitts},tremor:{...o.tremor,...t?.tremor}}}const w=(t,o,r)=>2*v(t,o,r)-1,M=(t,o,r)=>Math.sqrt(-2*Math.log(v(t,o,r)))*Math.cos(2*Math.PI*v(t^625341585,o,r));export function reachProblem(t,o){const r=[["scatter",t.scatter],["jitter",t.jitter],["bow",t.bow],["vary",t.vary],["fitts.a",t.fitts?.a],["fitts.b",t.fitts?.b],["tremor.px",t.tremor?.px],["tremor.frequency",t.tremor?.frequency]];for(const[n,c]of r)if(c!==void 0&&!(Number.isFinite(c)&&c>=0))return`${o}'s ${n} is a number from 0, not ${String(c)}`;if(t.overshoot!==void 0&&!(t.overshoot>=-.5&&t.overshoot<=1))return`${o}'s overshoot is a share from -0.5 to 1, not ${String(t.overshoot)}`;if(t.peak!==void 0&&!(t.peak>=.15&&t.peak<=.6))return`${o}'s peak is a share from 0.15 to 0.6, not ${String(t.peak)}`;if(t.seed!==void 0&&!Number.isInteger(t.seed))return`${o}'s seed is a whole number, not ${String(t.seed)}`}export function fittsTime(t,o,r={}){const n={...INPUT_DEFAULTS.reach.fitts,...r};return n.a+n.b*Math.log2(1+t/Math.max(1,o))}export function reach(t,o,r,n={}){const c=reachProblem(n,"reach");if(c)throw new Error(c);const a=z(n),f=r.index??0,h=r.size??INPUT_DEFAULTS.size,y=[o[0]+a.scatter*h*M(a.seed,f,11),o[1]+a.scatter*h*M(a.seed,f,12)],m=y[0]-t[0],s=y[1]-t[1],u=Math.hypot(m,s),d=Math.max(.05,(r.duration??fittsTime(u,h,a.fitts))*(1+.15*a.vary*w(a.seed,f,13))),e=r.end+a.jitter*M(a.seed,f,14),i=e-d,x=E({overshoot:a.overshoot,peak:a.peak,vary:a.vary,seed:a.seed,index:f}),l=a.bow*w(a.seed,f,15);return{start:i,end:e,from:t,to:y,bow:l,progress:b=>q(x,b),at(b){if(b<=i)return t;if(b>=e)return y;const p=(b-i)/d,k=q(x,p),g=l*Math.sin(Math.PI*Math.min(1,p));return[t[0]+m*k-s*g,t[1]+s*k+m*g]}}}function S(t,o,r){if(r.px<=0)return()=>[0,0];const n={center:r.frequency,spread:r.frequency/5},c=I(t+o*31,101,n),a=I(t+o*31,102,n);return f=>[r.px*c(f),r.px*a(f)]}export function pointer(t){const o=reachProblem(t,"pointer");if(o)throw new Error(o);const r=z(t),n=t.dwell??INPUT_DEFAULTS.dwell,c=t.hold??INPUT_DEFAULTS.hold,a=[],f=[];let h=t.from;for(const[m,s]of t.steps.entries()){const u=s.press?(s.dwell??n)*(1+.4*r.vary*w(r.seed,m,21)):0,d=reach(h,s.to,{end:s.at-u,...s.duration===void 0?{}:{duration:s.duration},size:s.size??INPUT_DEFAULTS.size,index:m},t);if(a.push(d),s.press){const e=(s.hold??c)*(1+.4*r.vary*w(r.seed,m,22));f.push({down:s.at,up:s.at+e,at:d.to})}h=d.to}const y=S(r.seed,0,r.tremor);return{moves:a,presses:f,at(m){let s=t.from;for(const e of a)m>=e.start&&(s=e.at(m));const[u,d]=y(m);return{x:s[0]+u,y:s[1]+d,down:f.some(e=>m>=e.down&&m<e.up)}}}}export function tap(t){const o=t.seed??INPUT_DEFAULTS.reach.seed,r=t.index??0,n=t.size??INPUT_DEFAULTS.size,c=t.scatter??INPUT_DEFAULTS.reach.scatter,a=t.slide??INPUT_DEFAULTS.tap.slide,f=t.grow??INPUT_DEFAULTS.tap.grow,h=(t.hold??INPUT_DEFAULTS.hold)*(1+.3*w(o,r,31)),y=t.to[0]+c*n*M(o,r,32),m=t.to[1]+c*n*M(o,r,33),s=2*Math.PI*v(o,r,34),u=t.at,d=u+h;return{down:u,up:d,at(e){const i=Math.min(1,Math.max(0,(e-u)/h)),x=a*(i*i*(3-2*i)),l=e>=u&&e<d,b=l?Math.min(1,(e-u)/f,(d-e)/f):0;return{x:y+x*Math.cos(s),y:m+x*Math.sin(s),down:l,contact:b}}}}export function drag(t){const o=reachProblem(t,"drag");if(o)throw new Error(o);const r=INPUT_DEFAULTS.drag,n=z(t,{...INPUT_DEFAULTS.reach,fitts:r.fitts,tremor:r.tremor}),c=t.index??0,a=(t.settle??r.settle)*(1+.4*n.vary*w(n.seed,c,41)),f=(t.release??r.release)*(1+.4*n.vary*w(n.seed,c,42)),h=t.size??INPUT_DEFAULTS.size,y=Math.hypot(t.to[0]-t.from[0],t.to[1]-t.from[1]),m=t.duration??fittsTime(y,h,n.fitts),s=reach(t.from,t.to,{end:t.at+a+m,duration:m,size:h,index:c},{...n,jitter:0}),u=S(n.seed,c+1e3,n.tremor),d=s.end+f;return{down:t.at,start:s.start,end:s.end,up:d,to:s.to,at(e){const i=s.at(e),x=e>=t.at&&e<d,l=x?Math.min(1,(e-t.at)/.05,(d-e)/.05):0,[b,p]=u(e);return{x:i[0]+l*b,y:i[1]+l*p,down:x}}}}export function scroll(t){const o=t.seed??INPUT_DEFAULTS.reach.seed,r=t.index??0,n=t.by<0?-1:1;if((t.kind??"flick")==="wheel"){const e={...INPUT_DEFAULTS.wheel,...t.wheel},i=Math.max(1,Math.round(Math.abs(t.by)/e.notch)),x=t.by/i,l=[];let b=t.at;for(let k=0;k<i;k++){l.push(b);const g=(k+1)%Math.max(1,e.burst)===0?e.pause:e.interval;b+=g*(1+.4*w(o,r*997+k,51))}const p=k=>1-(1-k)**3;return{start:t.at,end:(l.at(-1)??t.at)+e.animate,at(k){let g=0;for(const $ of l)k>$&&(g+=x*p(Math.min(1,(k-$)/e.animate)));return g}}}const c={...INPUT_DEFAULTS.flick,...t.flick},a=c.contact*(1+.3*w(o,r,52)),f=Math.abs(t.by)/(a/2+c.decay),h=f*a/2,y=t.at+a,m=e=>{if(e<=t.at)return 0;if(e<=y){const i=(e-t.at)/a;return h*i*i}return h+f*c.decay*(1-Math.exp(-(e-y)/c.decay))},s=t.limit===void 0?1/0:Math.abs(t.limit);let u=1/0;Math.abs(t.by)>s&&(s<=h?u=t.at+a*Math.sqrt(s/h):u=y-c.decay*Math.log(1-(s-h)/(f*c.decay)));const d=e=>(1-1/(e*.55/c.band+1))*c.band;return{start:t.at,end:y+c.decay*5,at(e){const i=m(e);if(i<=s)return n*i;const x=Math.max(0,e-u),l=(1+x/c.spring)*Math.exp(-x/c.spring);return n*(s+d(i-s)*l)}}}const j=t=>t!==void 0&&/[\p{L}\p{N}]/u.test(t);export function typing(t,o){const r=INPUT_DEFAULTS.typing,n={...r,...o,think:{...r.think,...o.think}};if(!(n.cps>0))throw new Error(`typing's cps is above 0, not ${String(n.cps)}`);const c=Array.from(t),a=[],f=[];let h=n.at,y=0;const m=(d,e)=>{const i=1/n.cps,x=n.spread,l=M(n.seed,y,61);let b=i*Math.exp(x*l-x*x/2);return!j(d)&&j(e)&&(b*=n.word,v(n.seed,y,62)<n.think.chance&&(b+=n.think.seconds)),d!==void 0&&/[.,;:!?。,、!?]/u.test(d)&&(b*=n.mark),b},s=(d,e,i)=>{a.length>0&&(h+=i??m(d,e)),a.push({t:h,key:e}),y++};let u;for(const[d,e]of c.entries()){for(const i of n.mistakes??[]){if(i.at!==d)continue;const x=Array.from(i.typed);for(const l of x)s(u,l),u=l;h+=n.notice*(1+.3*w(n.seed,y,63));for(let l=0;l<x.length;l++)s(u,"Backspace",l===0?0:n.backspace);u=c[d-1]}s(u,e),f[d]=h,u=e}return{keys:a,times:f,end:h,text(d){let e=[];for(const i of a){if(i.t>d)break;i.key==="Backspace"?e=e.slice(0,-1):e.push(i.key)}return e.join("")}}}
package/dist/media.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type MediaInfo } from "@allyhub-next/video-core";
1
+ import { type MediaInfo } from "@allyhub/video-core";
2
2
  /** A media value. Used by the code the build generates for media imports. */
3
3
  export declare function media(info: MediaInfo): MediaInfo;
4
4
  /** Whether a value is a media value (an import, or ctx.asset's). */
package/dist/media.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{asUrlString as e,MEDIA_BRAND as t}from"@allyhub-next/video-core";export function media(r){return e({[t]:!0,...r})}export function isMedia(r){return typeof r=="object"&&r!==null&&t in r}
2
+ import{asUrlString as e,MEDIA_BRAND as t}from"@allyhub/video-core";export function media(r){return e({[t]:!0,...r})}export function isMedia(r){return typeof r=="object"&&r!==null&&t in r}
@@ -1,4 +1,4 @@
1
- import type { MessageHint } from "@allyhub-next/video-core";
1
+ import type { MessageHint } from "@allyhub/video-core";
2
2
  /**
3
3
  * Every message key of the default language → the inputs s.with() takes
4
4
  * for it ({name} variables, plural counts). Filled by the generated types.
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{spawn as d}from"node:child_process";import{createRuntimes as m}from"@allyhub/runtimes";export class AudioError extends Error{code;constructor(r,o,f){super(o,f),this.name="AudioError",this.code=r}}let s;export function ffmpegOf(e={}){if(e.ffmpeg!==void 0)return Promise.resolve(e.ffmpeg);const r=s??m().bin("ffmpeg","ffmpeg").catch(o=>{throw s=void 0,o});return s=r,r}export const FFMPEG_LOG=2e5;export function runFfmpeg(e,r,o=!1,f=FFMPEG_LOG){return new Promise((u,p)=>{const i=d(e,r,{stdio:["ignore",o?"pipe":"ignore","pipe"]}),c=[];let t="";i.stdout?.on("data",n=>c.push(n)),i.stderr?.on("data",n=>{t+=n.toString(),t.length>f&&(t=t.slice(-f/2))}),i.on("error",p),i.on("close",n=>{n===0?u({out:Buffer.concat(c),err:t}):p(new AudioError("ffmpeg",`ffmpeg failed (${String(n)}): ${t.slice(-2e3)}`))})})}export function floats(e){return new Float32Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength-e.byteLength%4))}
@@ -1,6 +1,6 @@
1
1
  {
2
- "name": "@allyhub-next/audio",
3
- "version": "0.7.1",
2
+ "name": "@allyhub/audio",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -0,0 +1,11 @@
1
+ import { type ChartFile } from "@allyhub/formats";
2
+ import { type ChartDef } from "./chart.js";
3
+ export declare function chartOfFile(f: ChartFile, o: {
4
+ title: string | undefined;
5
+ /** The folder of the file that writes it (a deck's, a doc's). */
6
+ base: string;
7
+ /** A data file's content, by its path from that folder. */
8
+ rows: (path: string) => unknown;
9
+ problem: (message: string) => void;
10
+ }): ChartDef | undefined;
11
+ //# sourceMappingURL=chart-file.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{colorOfFile as j}from"@allyhub/formats";import{isScatter as O,labelPositionsOf as v}from"./chart.js";const l=e=>j(e)??"dk1";function S(e,n){if(n.startsWith("/"))return n.slice(1);const o=e===""?[]:e.split("/");for(const s of n.split("/"))s===""||s==="."||(s===".."?o.pop():o.push(s));return o.join("/")}const w=e=>e&&{...e.min===void 0?{}:{minimum_scale:e.min},...e.max===void 0?{}:{maximum_scale:e.max},...e.major===void 0?{}:{major_unit:e.major},...e.gridlines===void 0?{}:{has_major_gridlines:e.gridlines},...e.visible===void 0?{}:{visible:e.visible},...e.format===void 0?{}:{number_format:e.format},...e.reverse===void 0?{}:{reverse_order:e.reverse},...e.gridline_color===void 0?{}:{gridline_color:l(e.gridline_color)},...e.line_color===void 0?{}:{line_color:l(e.line_color)}},F=e=>{if(!(e===void 0||e===!1))return e===!0?{show_value:!0}:{...e.value===void 0?{}:{show_value:e.value},...e.percentage===void 0?{}:{show_percentage:e.percentage},...e.category===void 0?{}:{show_category_name:e.category},...e.series===void 0?{}:{show_series_name:e.series},...e.format===void 0?{}:{number_format:e.format},...e.position===void 0?{}:{position:e.position},...e.size===void 0?{}:{size:e.size},...e.color===void 0?{}:{color:l(e.color)}}};function $(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(e==null)return null;if(typeof e!="string")return;const n=e.trim();if(n==="")return null;const o=Number(n);return Number.isFinite(o)?o:void 0}export function chartOfFile(e,n){const o=F(e.labels),s=O(e.type);let u,m;const g=r=>({...r.color===void 0?{}:{color:l(r.color)},...r.format===void 0?{}:{number_format:r.format},...r.smooth===void 0?{}:{smooth:r.smooth},...r.line_width===void 0?{}:{line_width:r.line_width},...r.marker_size===void 0?{}:{marker_size:r.marker_size}});if(e.data!==void 0){let r;try{r=n.rows(e.data)}catch(t){n.problem(`${e.data} cannot be read: ${t instanceof Error?t.message:String(t)}`);return}if(!Array.isArray(r)||r.length===0){n.problem(`${e.data} holds no rows.`);return}const i=r,a=e.categories;if(typeof a!="string"){n.problem("with data, categories names its column.");return}const _=Object.keys(i[0]??{}),y=[a,...e.series.map(t=>typeof t=="string"?t:t.name)].filter(t=>!_.includes(t));if(y.length>0){n.problem(`${e.data} has no column ${y.join(", ")} (it has ${_.join(", ")}).`);return}u=i.map(t=>{const d=t[a];return typeof d=="string"||typeof d=="number"?String(d):""}),m=e.series.map(t=>{const d=typeof t=="string"?t:t.name,x=i.map((c,z)=>{const b=$(c[d]);return b===void 0?(n.problem(`${String(e.data)} row ${String(z+1)}: ${JSON.stringify(c[d])} in ${d} is not a number.`),null):b});return{name:d,values:x,...s?{x:i.map(c=>$(c[a])??null)}:{},...typeof t=="string"?{}:g(t)}})}else{if(typeof e.categories=="string"){n.problem("categories names a column, and there is no data to read.");return}if(e.categories===void 0&&!s){n.problem(`a ${e.type} chart has categories.`);return}u=e.categories??[];const r=[];for(const i of e.series){if(typeof i=="string"||!i.values){const a=typeof i=="string"?i:i.name;n.problem(`series ${a} has no values, and there is no data to read.`);return}if(s){if(i.x?.length!==i.values.length){n.problem(`series ${i.name} has an x for each of its values.`);return}}else i.values.length!==u.length&&n.problem(`series ${i.name} has ${String(i.values.length)} values for ${String(u.length)} categories.`);r.push({name:i.name,values:i.values,...s&&i.x?{x:i.x}:{},...g(i)})}m=r}const f=o?.position;f!==void 0&&!v(e.type).includes(f)&&n.problem(`a ${e.type} chart has no label position ${f}, which PowerPoint would repair (it has ${v(e.type).join(", ")||"none"}).`);const p=w(e.value_axis),h=w(e.category_axis);return{type:e.type,categories:u,series:m,...n.title===void 0?{}:{title:n.title},...e.legend===void 0?{}:{legend:e.legend},...o?{labels:o}:{},...e.gap_width===void 0?{}:{gap_width:e.gap_width},...e.overlap===void 0?{}:{overlap:e.overlap},...e.vary_by_categories===void 0?{}:{vary_by_categories:e.vary_by_categories},...e.hole_size===void 0?{}:{hole_size:e.hole_size},...p?{value_axis:p}:{},...h?{category_axis:h}:{},...e.size===void 0?{}:{font_size:e.size},...e.title_size===void 0?{}:{title_size:e.title_size},...e.color===void 0?{}:{font_color:l(e.color)},...e.data===void 0?{}:{source:S(n.base,e.data)}}}
@@ -25,6 +25,8 @@ export interface ChartPart {
25
25
  tail?: string;
26
26
  /** Rows a filter or a person hides are left out, as a chart's own option. */
27
27
  plotVisible?: boolean;
28
+ /** No fill and no line round the chart's own area: it lies on the page, as a doc's does. */
29
+ frameless?: boolean;
28
30
  }
29
31
  /** A chart's part. */
30
32
  export declare function chartSpaceXml(c: ChartDef, part: ChartPart): string;
@@ -0,0 +1,3 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{lumOf as X}from"@allyhub/ooxml/brightness";import{accentOf as j,CHART_DEFAULTS as d,chartDrawing as D,groupingOf as z,hasLines as E,hasMarkers as N,isArea as R,isBar as C,isHorizontal as T,isLine as P,isRound as h,isScatter as k,labelPositionOf as U,variesOf as w}from"./chart.js";const V="http://schemas.openxmlformats.org/drawingml/2006/chart",B="http://schemas.openxmlformats.org/drawingml/2006/main",W="http://schemas.openxmlformats.org/officeDocument/2006/relationships",H=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
3
+ `,y="2118791784",x="2140495176",Z={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},q=e=>{const n=e.charCodeAt(0);return n<32&&n!==9&&n!==10&&n!==13||n===65534||n===65535},l=e=>Array.from(e,n=>q(n)?"":Z[n]??n).join("");function r(e,n={},...c){const o=Object.entries(n).filter(([,s])=>s!==void 0).map(([s,i])=>` ${s}="${l(typeof i=="boolean"?i?"1":"0":String(i))}"`).join(""),a=c.join("");return a===""?`<${e}${o}/>`:`<${e}${o}>${a}</${e}>`}const K=e=>{if(typeof e=="string")return r("a:schemeClr",{val:e});if("rgb"in e)return r("a:srgbClr",{val:e.rgb.replace("#","").toUpperCase()});const{lumMod:n,lumOff:c}=X(e.brightness);return r("a:schemeClr",{val:e.theme_color},t("a:lumMod",n),...c===void 0?[]:[t("a:lumOff",c)])},p=e=>e===null?r("a:noFill"):r("a:solidFill",{},K(e)),t=(e,n)=>r(e,{val:typeof n=="boolean"?n?1:0:n}),m=(e,n)=>r("a:ln",n===void 0?{}:{w:Math.round(n*12700)},p(e)),F=(e,n)=>r("c:txPr",{},r("a:bodyPr"),r("a:lstStyle"),r("a:p",{},r("a:pPr",{},r("a:defRPr",e===void 0?{}:{sz:Math.round(e*100)},n===void 0?"":p(n))),r("a:endParaRPr",{lang:"en-US"}))),S=e=>r("c:strCache",{},t("c:ptCount",e.length),...e.map((n,c)=>r("c:pt",{idx:c},`<c:v>${l(n)}</c:v>`))),A=(e,n)=>r("c:numCache",{},`<c:formatCode>${l(e??"General")}</c:formatCode>`,t("c:ptCount",n.length),...n.flatMap((c,o)=>c===null?[]:[r("c:pt",{idx:o},`<c:v>${String(c)}</c:v>`)])),Y=(e,n)=>r("c:tx",{},n===void 0?`<c:v>${l(e.name)}</c:v>`:r("c:strRef",{},`<c:f>${l(n)}</c:f>`,S([e.name]))),J=(e,n)=>n===void 0?"":r("c:xVal",{},r("c:numRef",{},`<c:f>${l(n)}</c:f>`,A("General",e.x??[])));function Q(e,n,c,o){const a=n.color??j(c),s=h(e.type),i=k(e.type),u=P(e.type)||i,g=N(e.type),I=u?r("c:spPr",{},E(e.type)?m(a,n.line_width??d.lineWidth):r("a:ln",{w:19050},p(null))):r("c:spPr",{},p(a),s?m("lt1",1):""),_=o.categories;return r("c:ser",{},t("c:idx",c),t("c:order",c),Y(n,o.name(c)),I,C(e.type)?t("c:invertIfNegative",!1):"",u?r("c:marker",{},t("c:symbol",g?"circle":"none"),g?t("c:size",n.marker_size??d.marker):"",g?r("c:spPr",{},p(a),m(a)):""):"",...w(e)&&!u&&!R(e.type)?e.categories.map((v,f)=>r("c:dPt",{},t("c:idx",f),C(e.type)?t("c:invertIfNegative",!1):"",t("c:bubble3D",!1),r("c:spPr",{},p(e.category_colors?.[f]??j(f)),s?m("lt1",1):""))):[],i?J(n,o.x?.(c)):_===void 0?"":r("c:cat",{},o.numeric===!0?r("c:numRef",{},`<c:f>${l(_)}</c:f>`,A("General",e.categories.map(v=>{const f=Number(v);return v===""||!Number.isFinite(f)?null:f}))):r("c:strRef",{},`<c:f>${l(_)}</c:f>`,S(e.categories))),r(i?"c:yVal":"c:val",{},r("c:numRef",{},`<c:f>${l(o.values(c))}</c:f>`,A(n.number_format,n.values))),u?t("c:smooth",n.smooth===!0||e.type==="scatter-smooth"):"")}function b(e){const n=e.labels;if(!n)return"";const c=n.show_percentage===!0,o=U(e);return r("c:dLbls",{},n.number_format===void 0?"":r("c:numFmt",{formatCode:n.number_format,sourceLinked:0}),n.size===void 0&&n.color===void 0&&!h(e.type)?"":F(n.size,n.color??(h(e.type)?"lt1":void 0)),o===void 0?"":t("c:dLblPos",o),t("c:showLegendKey",!1),t("c:showVal",n.show_value??!c),t("c:showCatName",n.show_category_name===!0),t("c:showSerName",n.show_series_name===!0),t("c:showPercent",c),t("c:showBubbleSize",!1))}function ee(e,n){const c=e.series.map((s,i)=>Q(e,s,i,n)).join(""),o=z(e.type),a=t("c:axId",y)+t("c:axId",x);if(h(e.type)){const s=e.type==="pie";return r(s?"c:pieChart":"c:doughnutChart",{},t("c:varyColors",w(e)),c,b(e),t("c:firstSliceAng",0),s?"":t("c:holeSize",e.hole_size??50))}if(k(e.type))return r("c:scatterChart",{},t("c:scatterStyle","lineMarker"),t("c:varyColors",!1),c,b(e),a);if(C(e.type)){const s=o!=="clustered";return r("c:barChart",{},t("c:barDir",T(e.type)?"bar":"col"),t("c:grouping",o),t("c:varyColors",w(e)),c,b(e),t("c:gapWidth",e.gap_width??150),e.overlap!==void 0||s?t("c:overlap",e.overlap??100):"",a)}return r(P(e.type)?"c:lineChart":"c:areaChart",{},t("c:grouping",o),t("c:varyColors",!1),c,b(e),P(e.type)?t("c:marker",!0):"",a)}const L=e=>r("c:scaling",{},t("c:orientation",e.reverse_order===!0?"maxMin":"minMax"),e.maximum_scale===void 0?"":t("c:max",e.maximum_scale),e.minimum_scale===void 0?"":t("c:min",e.minimum_scale)),O=e=>r("c:spPr",{},m(e.line_color??{rgb:d.axisLine},d.gridWidth)),M=e=>e.has_major_gridlines===!0?r("c:majorGridlines",{},r("c:spPr",{},m(e.gridline_color??{rgb:d.gridline},d.gridWidth))):"",G=(e,n)=>r("c:rich",{},r("a:bodyPr"),r("a:lstStyle"),r("a:p",{},r("a:pPr",{},r("a:defRPr",{sz:n,b:0})),r("a:r",{},r("a:rPr",{lang:"en-US",sz:n,b:0}),`<a:t>${l(e)}</a:t>`))),$=(e,n)=>e===void 0||e===""?"":r("c:title",{},r("c:tx",{},G(e,n)),t("c:overlay",!1));function te(e){if(h(e.type))return"";const n=k(e.type),c=T(e.type),o=e.category_axis??{},a={has_major_gridlines:!0,...e.value_axis},s=z(e.type)==="percentStacked",i=a.number_format??(s?"0%":e.series[0]?.number_format??"General"),u=Math.round((e.font_size??d.fontSize)*100);return(n?r("c:valAx",{},t("c:axId",y),L(o),t("c:delete",o.visible===!1),t("c:axPos","b"),M(o),$(o.title,u),r("c:numFmt",{formatCode:o.number_format??"General",sourceLinked:o.number_format===void 0?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),O(o),t("c:crossAx",x),t("c:crosses","autoZero"),t("c:crossBetween","midCat"),o.major_unit===void 0?"":t("c:majorUnit",o.major_unit)):r("c:catAx",{},t("c:axId",y),L(o),t("c:delete",o.visible===!1),t("c:axPos",c?"l":"b"),M(o),$(o.title,u),r("c:numFmt",{formatCode:"General",sourceLinked:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),O(o),t("c:crossAx",x),t("c:crosses","autoZero"),t("c:auto",!0),t("c:lblAlgn","ctr"),t("c:lblOffset",100),t("c:noMultiLvlLbl",!1)))+r("c:valAx",{},t("c:axId",x),L(a),t("c:delete",a.visible===!1),t("c:axPos",c?"b":"l"),M(a),$(a.title,u),r("c:numFmt",{formatCode:i,sourceLinked:a.number_format===void 0&&!s?1:0}),t("c:majorTickMark","none"),t("c:minorTickMark","none"),t("c:tickLblPos","nextTo"),r("c:spPr",{},m(null)),t("c:crossAx",y),t("c:crosses","autoZero"),t("c:crossBetween",R(e.type)||n?"midCat":"between"),a.major_unit===void 0?"":t("c:majorUnit",a.major_unit))}const ne={bottom:"b",top:"t",left:"l",right:"r"};function re(e,n){const c=n.width,o=n.height,{plot:a}=D(e,c,o),s=i=>Number(i.toFixed(5));return r("c:layout",{},r("c:manualLayout",{},t("c:layoutTarget","inner"),t("c:xMode","edge"),t("c:yMode","edge"),t("c:x",s(a.x/c)),t("c:y",s(a.y/o)),t("c:w",s(a.width/c)),t("c:h",s(a.height/o))))}export function chartSpaceXml(e,n){const c=e.title!==void 0&&e.title!==""?e.title:void 0,o=e.font_size??d.fontSize,a=Math.round((e.title_size??o*d.titleScale)*100);return H+r("c:chartSpace",{"xmlns:c":V,"xmlns:a":B,"xmlns:r":W},t("c:date1904",!1),t("c:roundedCorners",!1),r("c:chart",{},c===void 0?"":r("c:title",{},r("c:tx",{},n.titleRef===void 0?G(c,a):r("c:strRef",{},`<c:f>${l(n.titleRef)}</c:f>`,S([c]))),t("c:overlay",!1)),t("c:autoTitleDeleted",c===void 0),r("c:plotArea",{},n.frame?re(e,n.frame):r("c:layout"),ee(e,n.refs),te(e)),e.legend===void 0?"":r("c:legend",{},t("c:legendPos",ne[e.legend]),t("c:overlay",e.legend_overlay===!0)),t("c:plotVisOnly",n.plotVisible??!0),t("c:dispBlanksAs","gap")),n.frameless===!0?r("c:spPr",{},r("a:noFill"),r("a:ln",{},r("a:noFill"))):"",F(o,e.font_color??"dk1"),n.tail??"")}
@@ -1,4 +1,4 @@
1
- import type { ChartLegendPosition, Color, SheetChartType, ThemeColor } from "@allyhub-next/formats";
1
+ import type { ChartLegendPosition, Color, SheetChartType, ThemeColor } from "@allyhub/formats";
2
2
  export type { Color };
3
3
  /** A theme colour at a brightness: its name alone at 0. */
4
4
  export declare const themeColor: (theme_color: ThemeColor, brightness?: number) => Color;
@@ -77,6 +77,8 @@ export interface ChartDef {
77
77
  overlap?: number;
78
78
  /** A colour per category, as a pie has by default. */
79
79
  vary_by_categories?: boolean;
80
+ /** Each category's colour when they vary (`c:dPt`); default the theme's accents, in turn. */
81
+ category_colors?: Color[];
80
82
  /** A doughnut's hole, in % of its size. */
81
83
  hole_size?: number;
82
84
  value_axis?: ChartAxisDef;
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{format as Ct,isValidFormat as Lt}from"numfmt";import{brightened as jt}from"@allyhub/ooxml/brightness";export const themeColor=(t,s=0)=>s===0?t:{theme_color:t,brightness:s},themeColorOf=t=>typeof t=="string"?t:"theme_color"in t?t.theme_color:void 0;export function colorRgb(t,s){return typeof t=="string"?s[t]:"rgb"in t?t.rgb:jt(s[t.theme_color],t.brightness)}export const CHART_DEFAULTS={fontSize:12,titleScale:1.2,gapWidth:150,holeSize:50,margin:6,gridline:"#D9D9D9",axisLine:"#BFBFBF",letter:.55,lineWidth:2.25,gridWidth:.75,marker:5};const wt=["accent1","accent2","accent3","accent4","accent5","accent6"];export const accentOf=t=>wt[t%wt.length]??"accent1",isBar=t=>t.startsWith("column")||t.startsWith("bar"),isHorizontal=t=>t.startsWith("bar"),isLine=t=>t.startsWith("line"),isArea=t=>t.startsWith("area"),isRound=t=>t==="pie"||t==="doughnut",isScatter=t=>t.startsWith("scatter"),hasLines=t=>!isScatter(t)||t!=="scatter",hasMarkers=t=>t==="line-markers"||t==="scatter"||t==="scatter-lines",groupingOf=t=>t.endsWith("-100")?"percentStacked":t.endsWith("-stacked")?"stacked":isBar(t)?"clustered":"standard";export function labelPositionsOf(t){return isArea(t)||t==="doughnut"?[]:t==="pie"?["bestFit","outEnd","inEnd","ctr"]:isLine(t)||isScatter(t)?["t","b","l","r","ctr"]:groupingOf(t)==="clustered"?["outEnd","inEnd","ctr","inBase"]:["inEnd","ctr","inBase"]}export function labelPositionOf(t){const s=labelPositionsOf(t.type),l=t.labels?.position;if(l!==void 0&&s.includes(l))return l;if(s.length!==0)return t.type==="pie"?"ctr":isLine(t.type)||isScatter(t.type)?"t":groupingOf(t.type)==="clustered"?"outEnd":"ctr"}export const variesOf=t=>t.vary_by_categories??isRound(t.type);export function formatValue(t,s="General"){return s==="General"||!Lt(s)?String(Number(t.toPrecision(10))):Ct(s,t)}const Ft=[1,2,5,10];export function chartScale(t,s,l,r,e={}){const h=t>0&&(s-t)/s<.16666666666666666?t:Math.min(t,0),a=s<=0&&t<0?0:s,o=e.minimum_scale??h,j=e.maximum_scale??a,b=j>o?j-o:1,F=Math.max(1,Math.floor(l/r)),w=b/F,P=10**Math.floor(Math.log10(w)),O=e.major_unit??(Ft.find(E=>E*P>=w)??10)*P,B=(E,C)=>Number((C(Number((E/O).toFixed(9)))*O).toPrecision(12)),Z=a>0?a+b*.05:a===h?b:a,g=e.maximum_scale??B(Z,Math.ceil),R=h<0?h-b*.05:h,W=e.minimum_scale??B(R,Math.floor),N=[],x=Math.round((g-W)/O);for(let E=0;E<=x;E++)N.push(Number((W+E*O).toPrecision(12)));return{min:W,max:g,major:O,ticks:N}}const it=(t,s)=>{let l=0;for(const r of t)l+=(r.codePointAt(0)??0)>11903?1:CHART_DEFAULTS.letter;return l*s},m=t=>String(Number(t.toFixed(3)));function $t(t){const s=l=>t[Math.max(0,Math.min(t.length-1,l))]??[0,0];return t.map(([l,r],e)=>{if(e===0)return`M${m(l)} ${m(r)}`;const[h,a]=s(e-2),[o,j]=s(e-1),[b,F]=s(e+1),w=`${m(o+(l-h)/6)} ${m(j+(r-a)/6)}`,P=`${m(l-(b-o)/6)} ${m(r-(F-j)/6)}`;return`C${w} ${P} ${m(l)} ${m(r)}`}).join(" ")}const lt=t=>t.map(([s,l],r)=>`${r===0?"M":"L"}${m(s)} ${m(l)}`).join(" ");function Ot(t,s,l,r,e,h){const a=(F,w)=>`${m(t+F*Math.sin(w))} ${m(s-F*Math.cos(w))}`,o=h-e>=Math.PI*2?e+Math.PI*2-1e-4:h,j=o-e>Math.PI?1:0,b=`M${a(l,e)} A${m(l)} ${m(l)} 0 ${String(j)} 1 ${a(l,o)}`;return r<=0?`${b} L${m(t)} ${m(s)} Z`:`${b} L${a(r,o)} A${m(r)} ${m(r)} 0 ${String(j)} 0 ${a(r,e)} Z`}function vt(t,s,l,r){const e=r*1.5;return s!==void 0&&s!==""&&(t.bottom-=e),l!==void 0&&l!==""&&(t.left+=e),{x:t.left-e/2,y:t.bottom+e/2}}function kt(t,s,l,r,e,h,a){r!==void 0&&r!==""&&t.words.push({x:s.x+s.width/2,y:l.y,text:r,size:h,anchor:"middle",color:a}),e!==void 0&&e!==""&&t.words.push({x:l.x,y:s.y+s.height/2,text:e,size:h,anchor:"middle",color:a,rotate:-90})}const ht=(t,s,l,r,e)=>{const h=t.labels;if(!h)return"";const a=isRound(t.type),o=[];return h.show_series_name&&o.push(r.name),h.show_category_name&&o.push(e),(h.show_value??!(h.show_percentage??!1))&&o.push(formatValue(s,h.number_format??r.number_format)),h.show_percentage&&a&&o.push(formatValue(l,h.number_format??"0%")),o.join(", ")};function Bt(t,s,l,r,e){const h=CHART_DEFAULTS,a=t.category_axis??{},o=t.value_axis??{},j=vt(l,a.title,o.title,r),b=t.series.map(c=>c.values.flatMap(($,H)=>{const I=c.x?.[H]??(c.x?null:H+1);return I===null||$===null?[]:[[I,$]]})),F=b.flat().map(c=>c[0]),w=b.flat().map(c=>c[1]),P=c=>c.length>0?Math.min(...c):0,O=c=>c.length>0?Math.max(...c):1,B=o.number_format??t.series[0]?.number_format??"General",Z=a.number_format??"General",g=r*.5,R=chartScale(P(w),O(w),l.bottom-l.top,r*2.4,o),W=o.visible===!1?0:Math.max(0,...R.ticks.map(c=>it(formatValue(c,B),r)))+g,N=a.visible===!1?0:r*1.2+g,x={x:l.left+W,y:l.top,width:l.right-l.left-W,height:l.bottom-l.top-N};s.plot=x,kt(s,x,j,a.title,o.title,r,e);const E=chartScale(P(F),O(F),x.width,r*5,a),C=chartScale(P(w),O(w),x.height,r*2.4,o),z=c=>x.x+(Math.min(E.max,Math.max(E.min,c))-E.min)/(E.max-E.min)*x.width,D=c=>x.y+x.height-(Math.min(C.max,Math.max(C.min,c))-C.min)/(C.max-C.min)*x.height;for(const c of C.ticks){const $=D(c);(o.has_major_gridlines??!0)&&s.grid.push({d:`M${m(x.x)} ${m($)} H${m(x.x+x.width)}`,color:o.gridline_color??{rgb:h.gridline},width:h.gridWidth}),o.visible!==!1&&s.words.push({x:x.x-g,y:$,text:formatValue(c,B),size:r,anchor:"end",color:e})}for(const c of E.ticks){const $=z(c);a.has_major_gridlines===!0&&s.grid.push({d:`M${m($)} ${m(x.y)} V${m(x.y+x.height)}`,color:a.gridline_color??{rgb:h.gridline},width:h.gridWidth}),a.visible!==!1&&s.words.push({x:$,y:x.y+x.height+g+r*.6,text:formatValue(c,Z),size:r,anchor:"middle",color:e})}s.axes.push({d:`M${m(x.x)} ${m(D(Math.max(C.min,Math.min(C.max,0))))} H${m(x.x+x.width)}`,color:a.line_color??{rgb:h.axisLine},width:h.gridWidth}),t.series.forEach((c,$)=>{const H=c.color??accentOf($),I=(b[$]??[]).map(([U,Y])=>[z(U),D(Y)]);if(I.length!==0&&(hasLines(t.type)&&s.lines.push({d:t.type==="scatter-smooth"||c.smooth===!0?$t(I):lt(I),color:H,width:c.line_width??h.lineWidth,series:$}),hasMarkers(t.type)))for(const[U,Y]of I)s.dots.push({x:U,y:Y,r:(c.marker_size??h.marker)/2,color:H})})}export function chartDrawing(t,s,l){const r=CHART_DEFAULTS,e=t.font_size??r.fontSize,h=t.font_color??"dk1",a={grid:[],shapes:[],boxes:[],lines:[],axes:[],dots:[],keys:[],words:[],plot:{x:0,y:0,width:0,height:0}},o={left:r.margin,top:r.margin,right:s-r.margin,bottom:l-r.margin};if(t.title!==void 0&&t.title!==""){const n=t.title_size??e*r.titleScale;a.words.push({x:s/2,y:o.top+n*.7,text:t.title,size:n,anchor:"middle",color:h}),o.top+=n*1.6}const j=isRound(t.type),b=variesOf(t),F=(n,d)=>b?t.category_colors?.[d]??accentOf(d):t.series[n]?.color??accentOf(n);if(t.legend!==void 0){const n=b?t.categories:t.series.map(p=>p.name),d=e*.6,f=e*.4,i=e*1.5,y=n.map(p=>d+f+it(p,e)),S=(p,M,_)=>{a.keys.push({x:M,y:_-d/2,width:d,height:d,color:b?t.category_colors?.[p]??accentOf(p):t.series[p]?.color??accentOf(p),series:b?0:p,category:b?p:0}),a.words.push({x:M+d+f,y:_,text:n[p]??"",size:e,anchor:"start",color:h})};if(t.legend==="top"||t.legend==="bottom"){const p=y.reduce((A,v)=>A+v,0)+e*(n.length-1),M=t.legend==="top"?o.top+i/2:o.bottom-i/2;let _=(s-p)/2;n.forEach((A,v)=>{S(v,_,M),_+=(y[v]??0)+e}),t.legend_overlay!==!0&&(t.legend==="top"?o.top+=i:o.bottom-=i)}else{const p=Math.max(0,...y),M=t.legend==="left"?o.left:o.right-p,_=(o.top+o.bottom-i*n.length)/2+i/2;n.forEach((A,v)=>{S(v,M,_+v*i)}),t.legend_overlay!==!0&&(t.legend==="left"?o.left+=p+e:o.right-=p+e)}}const w=t.labels,P=w?.size??e,O=w?.color??h,B=(n,d,f,i,y=O)=>{f!==""&&a.words.push({x:n,y:d,text:f,size:P,anchor:i,color:y})};if(j){const n=t.series[0],d=(n?.values??[]).map(_=>Math.max(0,_??0)),f=d.reduce((_,A)=>_+A,0),i=Math.max(0,Math.min(o.right-o.left,o.bottom-o.top)/2),y=(o.left+o.right)/2,S=(o.top+o.bottom)/2,p=t.type==="doughnut"?i*((t.hole_size??r.holeSize)/100):0;a.plot={x:y-i,y:S-i,width:i*2,height:i*2};let M=0;return d.forEach((_,A)=>{const v=f>0?_/f:0,V=M+v*Math.PI*2;if(v>0){a.shapes.push({d:Ot(y,S,i,p,M,V),color:"lt1",width:1,fill:F(0,A),series:0,category:A});const L=(M+V)/2,k=p>0?(i+p)/2:labelPositionOf(t)==="inEnd"?i*.85:i*.6;n&&B(y+k*Math.sin(L),S-k*Math.cos(L),ht(t,_,v,n,t.categories[A]??""),"middle",w?.color??"lt1")}M=V}),a}if(isScatter(t.type))return Bt(t,a,o,e,h),a;const Z=Math.max(1,t.categories.length),g=isHorizontal(t.type),R=groupingOf(t.type),W=R!=="clustered"&&R!=="standard",N=R==="percentStacked",x=t.series.map(n=>t.categories.map((d,f)=>n.values[f]??null)),E=t.categories.map((n,d)=>x.reduce((f,i)=>f+Math.abs(i[d]??0),0)),C=(n,d)=>{const f=x[n]?.[d];if(f==null)return null;const i=E[d]??0;return N?i>0?f/i:0:f};let z=0,D=0;if(t.categories.forEach((n,d)=>{let f=0,i=0;t.series.forEach((y,S)=>{const p=C(S,d)??0;W?p>=0?f+=p:i+=p:(f=Math.max(f,p),i=Math.min(i,p))}),D=Math.max(D,f),z=Math.min(z,i)}),!W){const n=x.flat().filter(d=>d!==null);n.length>0&&Math.min(...n)>0&&(z=Math.min(...n))}N&&(D=1,z=Math.min(z,0));const c=t.value_axis??{},$=t.category_axis??{},H=c.number_format??(N?"0%":t.series[0]?.number_format??"General"),I=g?o.right-o.left:o.bottom-o.top,U=g?e*5:e*2.4,Y=chartScale(z,D,I,U,{...c,...N?{maximum_scale:c.maximum_scale??1}:{}}),Wt=c.visible===!1?[]:Y.ticks.map(n=>formatValue(n,H)),Et=Math.max(0,...Wt.map(n=>it(n,e))),ot=$.visible!==!1,dt=ot?Math.max(0,...t.categories.map(n=>it(n,e))):0,T=e*.5,mt=g?c.title:$.title,ft=g?$.title:c.title,St=vt(o,mt,ft,e),u=g?{x:o.left+(ot?dt+T:0),y:o.top,width:0,height:o.bottom-o.top-(c.visible===!1?0:e*1.2+T)}:{x:o.left+(c.visible===!1?0:Et+T),y:o.top,width:0,height:o.bottom-o.top-(ot?e*1.2+T:0)};u.width=o.right-u.x,a.plot=u,kt(a,u,St,mt,ft,e,h);const G=chartScale(z,D,g?u.width:u.height,U,{...c,...N?{maximum_scale:c.maximum_scale??1}:{}}),ut=n=>(Math.min(G.max,Math.max(G.min,n))-G.min)/(G.max-G.min)*(g?u.width:u.height),q=n=>g?u.x+ut(n):u.y+u.height-ut(n),pt=isArea(t.type),gt=$.reverse_order===!0,xt=g?!gt:gt,at=(g?u.height:u.width)/Z,yt=pt?(g?u.height:u.width)/Math.max(1,Z-1):at,ct=n=>{const d=pt?n*yt:(n+.5)*at,f=g?u.height:u.width,i=xt?f-d:d;return(g?u.y:u.x)+i},Mt=q(Math.max(G.min,Math.min(G.max,0)));for(const n of G.ticks){const d=q(n);(c.has_major_gridlines??!0)&&a.grid.push({d:g?`M${m(d)} ${m(u.y)} V${m(u.y+u.height)}`:`M${m(u.x)} ${m(d)} H${m(u.x+u.width)}`,color:c.gridline_color??{rgb:r.gridline},width:r.gridWidth}),c.visible!==!1&&a.words.push(g?{x:d,y:u.y+u.height+T+e*.6,text:formatValue(n,H),size:e,anchor:"middle",color:h}:{x:u.x-T,y:d,text:formatValue(n,H),size:e,anchor:"end",color:h})}if(a.axes.push({d:g?`M${m(Mt)} ${m(u.y)} V${m(u.y+u.height)}`:`M${m(u.x)} ${m(Mt)} H${m(u.x+u.width)}`,color:$.line_color??{rgb:r.axisLine},width:r.gridWidth}),ot){const n=g?e*1.3:dt+e,d=Math.max(1,Math.ceil(n/Math.max(1,yt)));t.categories.forEach((f,i)=>{if(i%d!==0)return;const y=ct(i);a.words.push(g?{x:u.x-T,y,text:f,size:e,anchor:"end",color:h}:{x:y,y:u.y+u.height+T+e*.6,text:f,size:e,anchor:"middle",color:h})})}if(isBar(t.type)){const n=(t.gap_width??r.gapWidth)/100,d=W?1:t.series.length,f=W?1:(t.overlap??0)/100,i=at/(Math.max(1,d-(d-1)*f)+n),y=i*(1-f),S=i+y*(d-1);t.categories.forEach((p,M)=>{const _=ct(M);let A=0,v=0;t.series.forEach((V,L)=>{const k=C(L,M);if(k===null)return;const nt=W?k>=0?A:v:0,tt=nt+k;W&&(k>=0?A=tt:v=tt);const J=q(nt),K=q(tt),st=(W?_-i/2:_-S/2+L*y)+(g&&xt&&!W?S-i-2*L*y:0),Pt=g?{x:Math.min(J,K),y:st,width:Math.abs(K-J),height:i}:{x:st,y:Math.min(J,K),width:i,height:Math.abs(K-J)};if(a.boxes.push({...Pt,color:F(L,M),series:L,category:M}),!w)return;const _t=ht(t,x[L]?.[M]??0,0,V,t.categories[M]??""),rt=labelPositionOf(t),Q=P*.8,At=k>=0?1:-1,bt=(et,X)=>rt==="ctr"?(et+X)/2:rt==="inBase"?et+(X>et?Q:-Q):rt==="inEnd"?X-(X>et?Q:-Q):X+(X>=et?Q:-Q);g?B(bt(J,K),st+i/2,_t,rt==="outEnd"?At>0?"start":"end":"middle"):B(st+i/2,bt(J,K),_t,"middle")})})}else{const n=t.categories.map(()=>0),d=t.series.map((f,i)=>{const y=[],S=[];return t.categories.forEach((p,M)=>{const _=C(i,M);if(_===null)return;const A=W?n[M]??0:0,v=A+_;W&&(n[M]=v);const V=ct(M),L=k=>g?[q(k),V]:[V,q(k)];if(y.push(L(v)),S.push(L(A)),isLine(t.type)&&w){const k=labelPositionOf(t),[nt,tt]=L(v);B(nt+(k==="r"?P:k==="l"?-P:0),tt+(k==="t"?-P:k==="b"?P:0),ht(t,x[i]?.[M]??0,0,f,t.categories[M]??""),k==="r"?"start":k==="l"?"end":"middle")}}),{series:f,s:i,points:y,base:S}});for(const{series:f,s:i,points:y,base:S}of d){const p=f.color??accentOf(i);if(isArea(t.type)&&y.length>0)a.shapes.push({d:`${lt([...y,...[...S].reverse()])} Z`,color:p,width:0,fill:p,series:i});else if(y.length>0&&(a.lines.push({d:f.smooth===!0?$t(y):lt(y),color:p,width:f.line_width??r.lineWidth,series:i}),hasMarkers(t.type)))for(const[M,_]of y)a.dots.push({x:M,y:_,r:(f.marker_size??r.marker)/2,color:p})}a.shapes.reverse()}return a}
@@ -0,0 +1,15 @@
1
+ import { type ChartDef } from "./chart.js";
2
+ /**
3
+ * A chart's part, its numbers read from a workbook of its own laid out as
4
+ * chartBook lays it out: `frame` its size in points, `workbook` the
5
+ * relationship id of that workbook.
6
+ */
7
+ export declare function embeddedChartXml(c: ChartDef, frame: {
8
+ width: number;
9
+ height: number;
10
+ }, workbook: string, o?: {
11
+ frameless?: boolean;
12
+ }): string;
13
+ /** The workbook behind a chart: its categories down column A, a series a column, as python-pptx lays it out. */
14
+ export declare function chartBook(c: ChartDef): Uint8Array;
15
+ //# sourceMappingURL=embedded.d.ts.map
@@ -0,0 +1,3 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{strToU8 as w,zipSync as v}from"fflate";import{isScatter as g}from"./chart.js";import{chartSpaceXml as y}from"./chart-xml.js";const T=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
3
+ `,C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},k=t=>t.replace(/[&<>"]/gu,r=>C[r]??r),n=t=>t<26?String.fromCharCode(65+t):n(Math.floor(t/26)-1)+String.fromCharCode(65+t%26);export function embeddedChartXml(t,r,i,$={}){const l=t.categories.length,m=e=>n(e+1),x=g(t.type),p=(e,o)=>{const s=String((t.series[e]?.values.length??0)+1);return`Sheet1!$${n(e*2+o)}$2:$${n(e*2+o)}$${s}`};return y(t,{refs:x?{name:e=>`Sheet1!$${n(e*2+1)}$1`,categories:void 0,values:e=>p(e,1),x:e=>p(e,0)}:{name:e=>`Sheet1!$${m(e)}$1`,categories:`Sheet1!$A$2:$A$${String(l+1)}`,values:e=>`Sheet1!$${m(e)}$2:$${m(e)}$${String(l+1)}`},frame:r,...$.frameless===!0?{frameless:!0}:{},tail:`<c:externalData r:id="${k(i)}"><c:autoUpdate val="0"/></c:externalData>`})}const S="http://schemas.openxmlformats.org/spreadsheetml/2006/main",u="http://schemas.openxmlformats.org/officeDocument/2006/relationships",D=new Date(1980,0,1);export function chartBook(t){const r=(o,s)=>`<c r="${o}" t="inlineStr"><is><t>${k(s)}</t></is></c>`,i=g(t.type),$=(i?t.series.flatMap((o,s)=>[r(`${n(s*2)}1`,"X"),r(`${n(s*2+1)}1`,o.name)]):[r("A1",""),...t.series.map((o,s)=>r(`${n(s+1)}1`,o.name))]).join(""),l=(o,s)=>s==null?"":`<c r="${o}"><v>${String(s)}</v></c>`,m=Math.max(0,...t.series.map(o=>o.values.length)),x=Array.from({length:m},(o,s)=>{const a=String(s+2),f=t.series.flatMap((c,h)=>[l(`${n(h*2)}${a}`,c.x?.[s]),l(`${n(h*2+1)}${a}`,c.values[s])]);return`<row r="${a}">${f.join("")}</row>`}),p=t.categories.map((o,s)=>{const a=String(s+2),f=t.series.map((c,h)=>{const d=c.values[s];return d==null?"":`<c r="${n(h+1)}${a}"><v>${String(d)}</v></c>`});return`<row r="${a}">${r(`A${a}`,o)}${f.join("")}</row>`}),e=o=>[w(T+o),{mtime:D}];return v({"[Content_Types].xml":e('<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/></Types>'),"_rels/.rels":e(`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="${u}/officeDocument" Target="xl/workbook.xml"/></Relationships>`),"xl/workbook.xml":e(`<workbook xmlns="${S}" xmlns:r="${u}"><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets></workbook>`),"xl/_rels/workbook.xml.rels":e(`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="${u}/worksheet" Target="worksheets/sheet1.xml"/></Relationships>`),"xl/worksheets/sheet1.xml":e(`<worksheet xmlns="${S}"><sheetData><row r="1">${$}</row>${(i?x:p).join("")}</sheetData></worksheet>`)})}
@@ -0,0 +1,6 @@
1
+ export * from "./chart.js";
2
+ export * from "./chart-file.js";
3
+ export * from "./chart-xml.js";
4
+ export * from "./embedded.js";
5
+ export * from "./svg.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export*from"./chart.js";export*from"./chart-file.js";export*from"./chart-xml.js";export*from"./embedded.js";export*from"./svg.js";
@@ -0,0 +1,22 @@
1
+ import type { ThemeColor } from "@allyhub/formats";
2
+ import { type ChartDef } from "./chart.js";
3
+ /** The Office theme's colours, as a chart with none of its own has them. */
4
+ export declare const OFFICE_COLORS: Readonly<Record<ThemeColor, string>>;
5
+ /** What a chart is drawn on, and in. */
6
+ export interface ChartSvgOptions {
7
+ /** The theme its theme colours are (accent1…): default Office's. */
8
+ colors?: Readonly<Record<ThemeColor, string>>;
9
+ /** Its ground: default white; `none` for none. */
10
+ paper?: string;
11
+ /** Its edge: default a light gray; `none` for none. */
12
+ edge?: string;
13
+ /** Its text's face, as CSS names it. */
14
+ font?: string;
15
+ /** Points to a pixel: default 0.75, 96 pixels to the inch. */
16
+ pointsPerPixel?: number;
17
+ /** What it shows, in words, for a reader that reads aloud. */
18
+ label?: string;
19
+ }
20
+ /** A chart as an SVG of `width` × `height` pixels, laid out in points. */
21
+ export declare function chartSvg(def: ChartDef, width: number, height: number, o?: ChartSvgOptions): string;
22
+ //# sourceMappingURL=svg.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{chartDrawing as u,colorRgb as F}from"./chart.js";export const OFFICE_COLORS={dk1:"#000000",lt1:"#FFFFFF",dk2:"#44546A",lt2:"#E7E6E6",accent1:"#4472C4",accent2:"#ED7D31",accent3:"#A5A5A5",accent4:"#FFC000",accent5:"#5B9BD5",accent6:"#70AD47",hlink:"#0563C1",folHlink:"#954F72"};const w={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},i=n=>n.replace(/[&<>"]/gu,r=>w[r]??r),o=n=>String(Number(n.toFixed(3)));function k(n,r){const l=t=>{const c=t.fill===void 0?"none":r(t.fill),s=t.width>0?r(t.color):"none";return`<path d="${i(t.d)}" fill="${c}" stroke="${s}" stroke-width="${o(t.width)}" stroke-linejoin="round"/>`},e=[];for(const t of[...n.grid,...n.shapes])e.push(l(t));for(const t of[...n.boxes,...n.keys])e.push(`<rect x="${o(t.x)}" y="${o(t.y)}" width="${o(t.width)}" height="${o(t.height)}" fill="${r(t.color)}"/>`);for(const t of[...n.axes,...n.lines])e.push(l(t));for(const t of n.dots)e.push(`<circle cx="${o(t.x)}" cy="${o(t.y)}" r="${o(t.r)}" fill="${r(t.color)}"/>`);for(const t of n.words){const c=t.rotate===void 0?"":` transform="rotate(${o(t.rotate)} ${o(t.x)} ${o(t.y)})"`;e.push(`<text x="${o(t.x)}" y="${o(t.y)}" font-size="${o(t.size)}" text-anchor="${t.anchor}" dominant-baseline="central" fill="${r(t.color)}"${c}>${i(t.text)}</text>`)}return e.join("")}export function chartSvg(n,r,l,e={}){const t=e.pointsPerPixel??.75,c=r*t,s=l*t,f=e.colors??OFFICE_COLORS,h=p=>F(p,f),d=e.font??"Carlito, Calibri, Arial, sans-serif",$=e.paper??"#FFFFFF",a=e.edge??"#D9D9D9",x=e.label===void 0?"":` role="img" aria-label="${i(e.label)}"`,g=$==="none"&&a==="none"?"":`<rect x="0.375" y="0.375" width="${o(c-.75)}" height="${o(s-.75)}" fill="${i($)}" stroke="${i(a)}" stroke-width="${a==="none"?"0":"0.75"}"/>`;return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${o(c)} ${o(s)}" width="${o(r)}" height="${o(l)}" font-family="${i(d)}"${x}>${g}${k(u(n,c,s),h)}</svg>`}
@@ -1,6 +1,6 @@
1
1
  {
2
- "name": "@allyhub-next/chart",
3
- "version": "0.7.1",
2
+ "name": "@allyhub/chart",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {