allyhub 0.19.0 → 0.20.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 (699) hide show
  1. package/dist/commands/align.js +1 -1
  2. package/dist/commands/check.js +1 -1
  3. package/dist/commands/cloud-tools.js +1 -1
  4. package/dist/commands/cloud.js +1 -1
  5. package/dist/commands/dev.js +5 -5
  6. package/dist/commands/export.js +3 -0
  7. package/dist/commands/frames/doc.js +1 -1
  8. package/dist/commands/frames/piece.js +1 -1
  9. package/dist/commands/frames/sheet.js +1 -1
  10. package/dist/commands/frames.js +9 -9
  11. package/dist/commands/index.js +1 -1
  12. package/dist/commands/inspect/combos.js +1 -1
  13. package/dist/commands/inspect/common.js +2 -2
  14. package/dist/commands/inspect/facts.js +2 -2
  15. package/dist/commands/migrate.js +3 -0
  16. package/dist/commands/skills.js +3 -3
  17. package/dist/commands/upgrade.js +5 -0
  18. package/dist/commands.json +1 -1
  19. package/dist/help.js +3 -3
  20. package/dist/main.js +8 -7
  21. package/dist/node_modules/@allyhub/3d-extension/package.json +2 -2
  22. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  23. package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
  24. package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
  25. package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
  26. package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
  27. package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
  28. package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
  29. package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
  30. package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
  31. package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
  32. package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
  33. package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
  34. package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
  35. package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
  36. package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
  37. package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
  38. package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
  39. package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
  40. package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
  41. package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
  42. package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
  43. package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
  44. package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
  45. package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
  46. package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
  47. package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
  48. package/dist/node_modules/@allyhub/blocks/package.json +19 -0
  49. package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
  50. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  51. package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
  52. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  53. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
  54. package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
  55. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  56. package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
  57. package/dist/node_modules/@allyhub/build/package.json +5 -1
  58. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  59. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  60. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
  61. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
  62. package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
  63. package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
  64. package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
  65. package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
  66. package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
  67. package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
  68. package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
  69. package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
  70. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  71. package/dist/node_modules/@allyhub/check/dist/check.js +1 -1
  72. package/dist/node_modules/@allyhub/check/package.json +1 -1
  73. package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
  74. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  75. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  76. package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
  77. package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
  78. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  79. package/dist/node_modules/@allyhub/components/package.json +1 -1
  80. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  81. package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
  82. package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
  83. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  84. package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
  85. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  86. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  87. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  88. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  89. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  90. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
  91. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  92. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
  93. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  94. package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
  95. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  96. package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
  97. package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
  98. package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
  99. package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
  100. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  101. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  102. package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
  103. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  104. package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
  105. package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
  106. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
  107. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  108. package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
  109. package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
  110. package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
  111. package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
  112. package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
  113. package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
  114. package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
  115. package/dist/node_modules/@allyhub/doc/package.json +5 -1
  116. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
  117. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
  118. package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
  119. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
  120. package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
  121. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
  122. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
  123. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
  124. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
  125. package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
  126. package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
  127. package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
  128. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
  129. package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
  130. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  131. package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
  132. package/dist/node_modules/@allyhub/export/package.json +1 -1
  133. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  134. package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
  135. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  136. package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
  137. package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
  138. package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
  139. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
  140. package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
  141. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
  142. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
  143. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
  144. package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
  145. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
  146. package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
  147. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
  148. package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
  149. package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +59 -0
  150. package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
  151. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
  152. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
  153. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  154. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
  155. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  156. package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
  157. package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
  158. package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
  159. package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
  160. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  161. package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
  162. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
  163. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  164. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +12 -3
  165. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
  166. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  167. package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
  168. package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
  169. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  170. package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
  171. package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
  172. package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
  173. package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
  174. package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
  175. package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
  176. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  177. package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
  178. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
  179. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  180. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
  181. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
  182. package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
  183. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
  184. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
  185. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  186. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  187. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  188. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  189. package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
  190. package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
  191. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
  192. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  193. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  194. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
  195. package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
  196. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  197. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  198. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  199. package/dist/node_modules/@allyhub/media/package.json +1 -1
  200. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
  201. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
  202. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
  203. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
  204. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
  205. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  206. package/dist/node_modules/@allyhub/model/package.json +1 -1
  207. package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
  208. package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
  209. package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
  210. package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
  211. package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
  212. package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
  213. package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
  214. package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
  215. package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
  216. package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
  217. package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
  218. package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
  219. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  220. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
  221. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
  222. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
  223. package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
  224. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +8 -2
  225. package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
  226. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +3 -0
  227. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  228. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  229. package/dist/node_modules/@allyhub/project/package.json +1 -1
  230. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  231. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  232. package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
  233. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  234. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
  235. package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
  236. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  237. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  238. package/dist/node_modules/@allyhub/render/package.json +1 -1
  239. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  240. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  241. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
  242. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
  243. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  244. package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
  245. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  246. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  247. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  248. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  249. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
  250. package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
  251. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
  252. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  253. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  254. package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
  255. package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
  256. package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
  257. package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
  258. package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
  259. package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
  260. package/dist/node_modules/@allyhub/sheet/dist/html.js +10 -10
  261. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  262. package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
  263. package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
  264. package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
  265. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
  266. package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
  267. package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
  268. package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
  269. package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
  270. package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
  271. package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
  272. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  273. package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
  274. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  275. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  276. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  277. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  278. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
  279. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  280. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  281. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
  282. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
  283. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
  284. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
  285. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
  286. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
  287. package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
  288. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
  289. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
  290. package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
  291. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  292. package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
  293. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  294. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  295. package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
  296. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  297. package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
  298. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  299. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  300. package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
  301. package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
  302. package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
  303. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  304. package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
  305. package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
  306. package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
  307. package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
  308. package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
  309. package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
  310. package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
  311. package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
  312. package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
  313. package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
  314. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  315. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  316. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
  317. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
  318. package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
  319. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
  320. package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
  321. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  322. package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
  323. package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
  324. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  325. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
  326. package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
  327. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  328. package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
  329. package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
  330. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
  331. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
  332. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  333. package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
  334. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  335. package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
  336. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  337. package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
  338. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  339. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  340. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  341. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
  342. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  343. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  344. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
  345. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  346. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  347. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
  348. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
  349. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
  350. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
  351. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
  352. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
  353. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
  354. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
  355. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
  356. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
  357. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
  358. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
  359. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
  360. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
  361. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
  362. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
  363. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
  364. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
  365. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
  366. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
  367. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
  368. package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
  369. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
  370. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
  371. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
  372. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
  373. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
  374. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
  375. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
  376. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
  377. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
  378. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
  379. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
  380. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
  381. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
  382. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
  383. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
  384. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
  385. package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
  386. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
  387. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
  388. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
  389. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
  390. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
  391. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
  392. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
  393. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
  394. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
  395. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
  396. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
  397. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
  398. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
  399. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
  400. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
  401. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
  402. package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
  403. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
  404. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
  405. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
  406. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
  407. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
  408. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
  409. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
  410. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
  411. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
  412. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
  413. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
  414. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
  415. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
  416. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
  417. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
  418. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
  419. package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
  420. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
  421. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
  422. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
  423. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
  424. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
  425. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
  426. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
  427. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
  428. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
  429. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
  430. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
  431. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
  432. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
  433. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
  434. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
  435. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
  436. package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
  437. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  438. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
  439. package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
  440. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  441. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
  442. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  443. package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
  444. package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
  445. package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
  446. package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
  447. package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
  448. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  449. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
  450. package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
  451. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  452. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
  453. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
  454. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
  455. package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
  456. package/dist/node_modules/@allyhub/video-extension/package.json +2 -25
  457. package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
  458. package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
  459. package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
  460. package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
  461. package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
  462. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
  463. package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
  464. package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
  465. package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
  466. package/dist/node_modules/@allyhub/website/package.json +1 -1
  467. package/dist/node_modules/@allyhub/website-extension/package.json +3 -3
  468. package/dist/node_modules/@allyhub/x-extension/package.json +1 -3
  469. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
  470. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  471. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  472. package/dist/package.json +14 -14
  473. package/dist/self-upgrade.js +2 -0
  474. package/dist/text/batch-text.js +1 -1
  475. package/dist/text/facts-text.js +5 -5
  476. package/dist/text/format.js +2 -2
  477. package/dist/update-notice.js +3 -0
  478. package/dist/version.js +1 -1
  479. package/dist/works.js +1 -1
  480. package/editor-web/assets/{abnfDiagram-WEYOIA3C-DYaMS_BB.js → abnfDiagram-WEYOIA3C-BkVJMd53.js} +1 -1
  481. package/editor-web/assets/{architecture-WOLXFQ4H-g_Tjfl_y.js → architecture-WOLXFQ4H-C6rnaynZ.js} +1 -1
  482. package/editor-web/assets/{architectureDiagram-ZHVYKT53-CqdhofOL.js → architectureDiagram-ZHVYKT53-D3vrh8LK.js} +1 -1
  483. package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
  484. package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
  485. package/editor-web/assets/article-DHf6mOY_.js +7 -0
  486. package/editor-web/assets/article-Dns1-Xh-.js +3 -0
  487. package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
  488. package/editor-web/assets/bar-button-CKPfx2AB.js +1 -0
  489. package/editor-web/assets/{blockDiagram-RJAE7QA3-Bc-28Bci.js → blockDiagram-RJAE7QA3-BKngt8H7.js} +1 -1
  490. package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
  491. package/editor-web/assets/{c4Diagram-XDPPPE54-CTGJb8FB.js → c4Diagram-XDPPPE54-j7sUELqF.js} +1 -1
  492. package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
  493. package/editor-web/assets/channel-CVWSV3su.js +1 -0
  494. package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
  495. package/editor-web/assets/chip-Bn_9JRRG.js +1 -0
  496. package/editor-web/assets/{chunk-2E7WHVMD-B2MPOVTU.js → chunk-2E7WHVMD-BXa-uRSi.js} +1 -1
  497. package/editor-web/assets/{chunk-4EMNKR2T-BUV1ZHP0.js → chunk-4EMNKR2T-B3ntcsZN.js} +1 -1
  498. package/editor-web/assets/{chunk-55XCU76K-BZlpspL5.js → chunk-55XCU76K-AMvnFwUg.js} +1 -1
  499. package/editor-web/assets/{chunk-7S6XSTFO-CpKeisWE.js → chunk-7S6XSTFO-BA6esfFu.js} +1 -1
  500. package/editor-web/assets/{chunk-AQDTSKZB-BJqwAPyo.js → chunk-AQDTSKZB-BT_vANXs.js} +1 -1
  501. package/editor-web/assets/{chunk-DSNLSHJZ-D6oPWl_W.js → chunk-DSNLSHJZ-DoUgmzGB.js} +1 -1
  502. package/editor-web/assets/{chunk-HAGFOTED-B5pk4MZF.js → chunk-HAGFOTED-DtnIrCZb.js} +1 -1
  503. package/editor-web/assets/{chunk-HNE4Q36P-DHbSPvxQ.js → chunk-HNE4Q36P-BlPwQx3_.js} +1 -1
  504. package/editor-web/assets/{chunk-NQOKRVIF-CcL_GcRA.js → chunk-NQOKRVIF-D2r7jp2r.js} +1 -1
  505. package/editor-web/assets/{chunk-UHW7PFBP-YgiOL6XE.js → chunk-UHW7PFBP-Cmc0_F5o.js} +1 -1
  506. package/editor-web/assets/{chunk-VQ5W62QI-p14b4UYc.js → chunk-VQ5W62QI-nJSMqAr0.js} +1 -1
  507. package/editor-web/assets/{chunk-WQQL4CDK-BWW0x-XH.js → chunk-WQQL4CDK-Btq2nbF6.js} +1 -1
  508. package/editor-web/assets/{chunk-YZO67HFG-oG3qd68C.js → chunk-YZO67HFG-DTbcCoGt.js} +1 -1
  509. package/editor-web/assets/{chunk-ZAUX2LTX-CpcheH0u.js → chunk-ZAUX2LTX-DVwkg-2N.js} +1 -1
  510. package/editor-web/assets/{chunk-ZCHMQSOR-cWQvLl1w.js → chunk-ZCHMQSOR-BV39jOOE.js} +1 -1
  511. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-7PG7YcdU.js → classDiagram-v2-4MYWR3UA-Cj74-fhM.js} +1 -1
  512. package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
  513. package/editor-web/assets/collaborator-XiHOxwGM.js +1 -0
  514. package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
  515. package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
  516. package/editor-web/assets/{cynefin-EF2NZ3EQ-CtcknEQ_.js → cynefin-EF2NZ3EQ-C0CkiipV.js} +1 -1
  517. package/editor-web/assets/{cynefinDiagram-WF24UDRP-Ca7VIsjN.js → cynefinDiagram-WF24UDRP-hdsnJ4cI.js} +1 -1
  518. package/editor-web/assets/{dagre-NK4GIZVX-BzcSLtsr.js → dagre-NK4GIZVX-CC7WSgaK.js} +1 -1
  519. package/editor-web/assets/deck-DQpNIS2p.js +1 -0
  520. package/editor-web/assets/{diagram-CBK3MWTC-DpRmTGlG.js → diagram-CBK3MWTC-DmaVm13J.js} +1 -1
  521. package/editor-web/assets/{diagram-I5XIIV2D-BTrs_AX8.js → diagram-I5XIIV2D-De8jqp7b.js} +1 -1
  522. package/editor-web/assets/{diagram-ODIL2UCW-CkIVjPqH.js → diagram-ODIL2UCW-B5pBTulX.js} +1 -1
  523. package/editor-web/assets/{diagram-PFBEJUXE-BlFMbAG1.js → diagram-PFBEJUXE-BYsXg5_w.js} +1 -1
  524. package/editor-web/assets/{diagram-RJA3I4VV-D3f8VJ-D.js → diagram-RJA3I4VV-DZ8f6bYe.js} +1 -1
  525. package/editor-web/assets/{diagram-TYUNFSNR-Bbpngj6F.js → diagram-TYUNFSNR-qXHUsauD.js} +1 -1
  526. package/editor-web/assets/dist--z0ZHp4T.js +16 -0
  527. package/editor-web/assets/dist-9kuRjUTN.js +41 -0
  528. package/editor-web/assets/dist-B3rd02Cg.js +6 -0
  529. package/editor-web/assets/dist-B5GOGGEe.js +1 -0
  530. package/editor-web/assets/dist-Bx6q9kCu.js +1 -0
  531. package/editor-web/assets/dist-C4hHtrJr.js +1 -0
  532. package/editor-web/assets/dist-CCXJewsi.js +19 -0
  533. package/editor-web/assets/dist-CfK2BLl8.js +4 -0
  534. package/editor-web/assets/dist-Cmux3oJ_.js +1 -0
  535. package/editor-web/assets/dist-Cspf85KV.js +6 -0
  536. package/editor-web/assets/dist-DA72-4WB.js +82 -0
  537. package/editor-web/assets/{dist-DruvDNQe.js → dist-DAhe-kFC.js} +5 -5
  538. package/editor-web/assets/dist-DIJnhQFK.js +9 -0
  539. package/editor-web/assets/dist-DOrGo1GD.js +19 -0
  540. package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
  541. package/editor-web/assets/dist-DjiCHlSu.js +35 -0
  542. package/editor-web/assets/dist-Do4a40Wn.js +19 -0
  543. package/editor-web/assets/dist-FKEWS3Co.js +547 -0
  544. package/editor-web/assets/dist-QKd2i6kG.js +5 -0
  545. package/editor-web/assets/dist-SGnOfLhx.js +24 -0
  546. package/editor-web/assets/dist-VmVB7tl4.js +3 -0
  547. package/editor-web/assets/{docx-draw-CoK1oqQD.js → docx-draw-L54blreB.js} +1 -1
  548. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-BaKj-yL6.js → ebnfDiagram-V4P3TTPT-B7-IfVI-.js} +1 -1
  549. package/editor-web/assets/{elk-QONTBCTQ-Cn2qv1_U.js → elk-QONTBCTQ-Gj_WaeBn.js} +1 -1
  550. package/editor-web/assets/{erDiagram-KYQIGQAA-Bd7AEIDo.js → erDiagram-KYQIGQAA-BDF6Qoqx.js} +1 -1
  551. package/editor-web/assets/esm-PQD5Pn8a.js +21 -0
  552. package/editor-web/assets/{eventmodeling-K75KTNOO-Sfp7_461.js → eventmodeling-K75KTNOO-elxVXXEe.js} +1 -1
  553. package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
  554. package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +1 -0
  555. package/editor-web/assets/{ganttDiagram-R7GPNTJY-CBqcGdHI.js → ganttDiagram-R7GPNTJY-CEogW3jW.js} +1 -1
  556. package/editor-web/assets/{gitGraph-VSP46ZUC-WTokXKTW.js → gitGraph-VSP46ZUC-Bh9cRWFa.js} +1 -1
  557. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-BIWZHD9q.js → gitGraphDiagram-PDYL7XHY-BQAvdM_V.js} +1 -1
  558. package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
  559. package/editor-web/assets/hint-CbwoSBMw.js +1 -0
  560. package/editor-web/assets/index-CXisi0Cj.css +2 -0
  561. package/editor-web/assets/index-wMlfx8aT.js +28 -0
  562. package/editor-web/assets/{info-OHQRW6UA-COC6G-_J.js → info-OHQRW6UA-CdPrqere.js} +1 -1
  563. package/editor-web/assets/{infoDiagram-MVDRKAX5-DpaqdKBD.js → infoDiagram-MVDRKAX5-uwIMeP44.js} +1 -1
  564. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-Dyn2MAy1.js → ishikawaDiagram-HPEHV2GE-rtfvqK7E.js} +1 -1
  565. package/editor-web/assets/iso-UwGLGD3F.js +1 -0
  566. package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
  567. package/editor-web/assets/{journeyDiagram-BOSHW7O7-DeSVfmm7.js → journeyDiagram-BOSHW7O7-mmhfIyVG.js} +1 -1
  568. package/editor-web/assets/{kanban-definition-FNSA4HC5-Bfg0lj7B.js → kanban-definition-FNSA4HC5-Fe7jBsi-.js} +1 -1
  569. package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
  570. package/editor-web/assets/{mermaid-parser.core-CyhovuYE.js → mermaid-parser.core-BxOSjBH9.js} +3 -3
  571. package/editor-web/assets/{mermaid.core-Dx1fBVUG.js → mermaid.core-BOln9YdH.js} +4 -4
  572. package/editor-web/assets/{mindmap-definition-6OY57UG3-QEU2HF_m.js → mindmap-definition-6OY57UG3-M3Q1LOtO.js} +1 -1
  573. package/editor-web/assets/minus-ngE8owxs.js +1 -0
  574. package/editor-web/assets/{packet-JDAUHWVQ-ReJTa_hw.js → packet-JDAUHWVQ-Dbb0TUG6.js} +1 -1
  575. package/editor-web/assets/{pegDiagram-ECIUJNBX-Bo1jFrvb.js → pegDiagram-ECIUJNBX-BZMRpSFC.js} +1 -1
  576. package/editor-web/assets/{pie-XZMESJXO-BrtYafNA.js → pie-XZMESJXO-Ctm9XdKp.js} +1 -1
  577. package/editor-web/assets/{pieDiagram-GNMPY74T-Cj0zQqs_.js → pieDiagram-GNMPY74T-cGbs5ZTl.js} +1 -1
  578. package/editor-web/assets/progress-DZQTiRLv.js +6 -0
  579. package/editor-web/assets/{quadrantDiagram-D57K4MC3-D5npDAVn.js → quadrantDiagram-D57K4MC3-BUe_zsxT.js} +1 -1
  580. package/editor-web/assets/{radar-ABXABTNO-C8RDrRqi.js → radar-ABXABTNO-CCmKtqLs.js} +1 -1
  581. package/editor-web/assets/{railroad-I3PHUGI6-ebDrmYTK.js → railroad-I3PHUGI6-k-yhjhjA.js} +1 -1
  582. package/editor-web/assets/{railroad-abnf-LNEFI6M7-BxKuqg6V.js → railroad-abnf-LNEFI6M7-B-PvntB3.js} +1 -1
  583. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DOclnfpr.js → railroad-ebnf-DWYD2UWJ-Ds2rua1h.js} +1 -1
  584. package/editor-web/assets/{railroad-peg-JR7BVNR7-DN0A1fpq.js → railroad-peg-JR7BVNR7-jNZ2wEp2.js} +1 -1
  585. package/editor-web/assets/{railroadDiagram-Y72NRBL7-B3PjoVWw.js → railroadDiagram-Y72NRBL7-CTqSQ15w.js} +1 -1
  586. package/editor-web/assets/react-Byupo4pA.js +1 -0
  587. package/editor-web/assets/replace-CLLMtF4e.js +1 -0
  588. package/editor-web/assets/{requirementDiagram-EQYSW5RA-DLdzkQk5.js → requirementDiagram-EQYSW5RA-CUblhR5M.js} +1 -1
  589. package/editor-web/assets/ribbon-DajdQ_Ya.js +1 -0
  590. package/editor-web/assets/row-Bei9HNEe.js +1 -0
  591. package/editor-web/assets/{sankeyDiagram-SY24JHO5-Dip4Piv_.js → sankeyDiagram-SY24JHO5-nSz6zDX3.js} +1 -1
  592. package/editor-web/assets/schemas-C21MyseF.js +1 -0
  593. package/editor-web/assets/{iso-DoC-ZoBr.js → schemas-DlRAoVtq.js} +1 -1
  594. package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
  595. package/editor-web/assets/search-D75Bi2GU.js +1 -0
  596. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-QnPcoybL.js → sequenceDiagram-BLEHNHQU-DxTpOYuo.js} +1 -1
  597. package/editor-web/assets/{session-DMlLCFWg.js → session-BhClkDyr.js} +1 -1
  598. package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
  599. package/editor-web/assets/snapshots-DwGHDN3t.js +1 -0
  600. package/editor-web/assets/sound-DkR3qxSt.js +1 -0
  601. package/editor-web/assets/split-DBAbwPZ5.js +3 -0
  602. package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
  603. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-D103CiMX.js → stateDiagram-v2-A6IESKWZ-C3e14iHY.js} +1 -1
  604. package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
  605. package/editor-web/assets/surface-CIF0Ae0z.js +1 -0
  606. package/editor-web/assets/swatch-BUzr_XmH.js +1 -0
  607. package/editor-web/assets/{swimlanes-B3ENRKFQ-y4gCqEoa.js → swimlanes-B3ENRKFQ-DPPdzNzu.js} +1 -1
  608. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +8 -0
  609. package/editor-web/assets/switch-DrZxoPQS.js +1 -0
  610. package/editor-web/assets/{syntax-CU_WPKxt.js → syntax-emXV4DnN.js} +1 -1
  611. package/editor-web/assets/table-BW43XXVd.js +1 -0
  612. package/editor-web/assets/tabs-BwU2E7bU.js +1 -0
  613. package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
  614. package/editor-web/assets/textarea-BX_ax3X8.js +1 -0
  615. package/editor-web/assets/{timeline-definition-JXYKGLGB-BMp76v4V.js → timeline-definition-JXYKGLGB-DRTJ1_Er.js} +1 -1
  616. package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
  617. package/editor-web/assets/{treeView-D4JQ5SDB-Q_GYyk0b.js → treeView-D4JQ5SDB-BYJ_m-i5.js} +1 -1
  618. package/editor-web/assets/{treemap-SAJKECNS-B5lRWdQB.js → treemap-SAJKECNS-BcU6I6Rg.js} +1 -1
  619. package/editor-web/assets/type-CvZ0HZsV.js +41 -0
  620. package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
  621. package/editor-web/assets/{usecaseDiagram-WPOLBNNX--QRllA-U.js → usecaseDiagram-WPOLBNNX-YV92pS4o.js} +1 -1
  622. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CzkATPA3.js → vennDiagram-Q3Y3IDCW-oAvfHZtf.js} +1 -1
  623. package/editor-web/assets/video-SJvDRCJK.js +1 -0
  624. package/editor-web/assets/{wardley-7MLQ67FV-BXzwcdJa.js → wardley-7MLQ67FV-BLNiqxtt.js} +1 -1
  625. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-BQvC8Agx.js → wardleyDiagram-IVAIDKWA-SppgC6xW.js} +1 -1
  626. package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
  627. package/editor-web/assets/{words-CaUHhQHf.js → words-BUlNNuH2.js} +3 -3
  628. package/editor-web/assets/words-zMedmPWc.js +3 -0
  629. package/editor-web/assets/workbook-BZKYx4WB.js +41 -0
  630. package/editor-web/assets/{xychartDiagram-4URNHDU4-aY-lsD5o.js → xychartDiagram-4URNHDU4-BHMn_jwJ.js} +1 -1
  631. package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
  632. package/editor-web/index.html +9 -8
  633. package/package.json +3 -3
  634. package/CHANGELOG.md +0 -251
  635. package/dist/commands/render.js +0 -3
  636. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
  637. package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
  638. package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
  639. package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
  640. package/editor-web/assets/article-8evPh712.js +0 -3
  641. package/editor-web/assets/article-BhRtWYMd.js +0 -7
  642. package/editor-web/assets/bar-button-J9vbfzTx.js +0 -1
  643. package/editor-web/assets/calc-worker-oEIqrrTM.js +0 -45
  644. package/editor-web/assets/channel-wIj_OqDm.js +0 -1
  645. package/editor-web/assets/chart-amT4lgX3.js +0 -2
  646. package/editor-web/assets/chart-file-dGiRgFcH.js +0 -1
  647. package/editor-web/assets/code-CD-CbJG9.js +0 -1
  648. package/editor-web/assets/collaborator-BU4qU7O3.js +0 -1
  649. package/editor-web/assets/deck-C7fN0Qtn.js +0 -1
  650. package/editor-web/assets/dist-3iovns9K.js +0 -16
  651. package/editor-web/assets/dist-BkHnbOEj.js +0 -4
  652. package/editor-web/assets/dist-BvOrNcK-.js +0 -19
  653. package/editor-web/assets/dist-CEIszq39.js +0 -1
  654. package/editor-web/assets/dist-CU5RbLNH.js +0 -1
  655. package/editor-web/assets/dist-CWZj8IAm.js +0 -1
  656. package/editor-web/assets/dist-C_Mtrnif.js +0 -17
  657. package/editor-web/assets/dist-CdqpwdCV.js +0 -24
  658. package/editor-web/assets/dist-CjT76RAw.js +0 -43
  659. package/editor-web/assets/dist-CpzEn9T8.js +0 -6
  660. package/editor-web/assets/dist-CrFYWl5-.js +0 -3
  661. package/editor-web/assets/dist-D3C6FyrO.js +0 -82
  662. package/editor-web/assets/dist-D4eBFGVL.js +0 -1
  663. package/editor-web/assets/dist-DTcjb3cP.js +0 -18
  664. package/editor-web/assets/dist-D_WSM29I.js +0 -17
  665. package/editor-web/assets/dist-Dp_9ISjP.js +0 -531
  666. package/editor-web/assets/dist-J-tPYKGS.js +0 -5
  667. package/editor-web/assets/dist-YW8hS4IM.js +0 -9
  668. package/editor-web/assets/esm-Cjv8ogpP.js +0 -21
  669. package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
  670. package/editor-web/assets/flowDiagram-IUGLLWBU-BlVUglzw.js +0 -1
  671. package/editor-web/assets/hint-rlht0uxG.js +0 -1
  672. package/editor-web/assets/index-BQWZnyAQ.js +0 -28
  673. package/editor-web/assets/index-Dvh1t1om.css +0 -2
  674. package/editor-web/assets/minus-CbPnUIOy.js +0 -1
  675. package/editor-web/assets/progress-CwKcXARv.js +0 -6
  676. package/editor-web/assets/props-form-BpSXbrSF.js +0 -1
  677. package/editor-web/assets/react-Edyoga_4.js +0 -1
  678. package/editor-web/assets/row-C_svyL8o.js +0 -1
  679. package/editor-web/assets/schemas-CQ_UU8-Z.js +0 -1
  680. package/editor-web/assets/search-Ba2BbT6T.js +0 -1
  681. package/editor-web/assets/slides-7xWhREpt.js +0 -1
  682. package/editor-web/assets/snapshots-BLX4NTQC.js +0 -1
  683. package/editor-web/assets/sound-bTlco_K3.js +0 -1
  684. package/editor-web/assets/split-tFGKk-x8.js +0 -3
  685. package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
  686. package/editor-web/assets/surface-DtCjIlrq.js +0 -1
  687. package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
  688. package/editor-web/assets/swatch-DhztHwPU.js +0 -1
  689. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DKzB_wSf.js +0 -8
  690. package/editor-web/assets/switch-8MU4Nfxe.js +0 -1
  691. package/editor-web/assets/table-DRbddzx0.js +0 -1
  692. package/editor-web/assets/tabs-CuEawka3.js +0 -1
  693. package/editor-web/assets/tag-CIfWT8B_.js +0 -1
  694. package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
  695. package/editor-web/assets/textarea-D7TnPwv1.js +0 -1
  696. package/editor-web/assets/video-D0uTbHWx.js +0 -1
  697. package/editor-web/assets/words-XlXG79Ur.js +0 -3
  698. package/editor-web/assets/workbook-CiCXkjmN.js +0 -45
  699. package/editor-web/assets/x-DlhyIKuu.js +0 -41
@@ -0,0 +1 @@
1
+ import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{b as t}from"./react-Byupo4pA.js";import{_t as n,at as r,ct as i,ft as a,it as o,lt as s,ot as c,vt as l}from"./type-CvZ0HZsV.js";import{t as u}from"./jsx-runtime-DePvh3-m.js";import{G as d,H as f,U as p,W as m}from"./bar-button-CKPfx2AB.js";import{t as h}from"./createLucideIcon-euu7Wcd9.js";var g=e(t(),1),_=u(),v=Object.defineProperty,y=(e,t)=>v(e,`name`,{value:t,configurable:!0}),b={Automatic:`automatic`,Manual:`manual`},x=`Tabs`,[S,C]=s(x,[m]),w=m(),[T,E]=S(x),D=g.forwardRef(y(function(e,t){let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:s,orientation:l=`horizontal`,dir:u,activationMode:f=b.Automatic,...p}=e,m=d(u),[h,g]=c({prop:r,onChange:i,defaultProp:s??``,caller:x});return(0,_.jsx)(T,{scope:n,baseId:o(),value:h,onValueChange:g,orientation:l,dir:m,activationMode:f,children:(0,_.jsx)(a.div,{dir:m,"data-orientation":l,...p,ref:t})})},`Tabs`)),O=`TabsList`,k=g.forwardRef(y(function(e,t){let{__scopeTabs:n,loop:r=!0,...i}=e,o=E(O,n),s=w(n);return(0,_.jsx)(f,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:r,children:(0,_.jsx)(a.div,{role:`tablist`,"aria-orientation":o.orientation,...i,ref:t})})},`TabsList`)),A=`TabsTrigger`,j=g.forwardRef(y(function(e,t){let{__scopeTabs:n,value:r,disabled:o=!1,...s}=e,c=E(A,n),l=w(n),u=P(c.baseId,r),d=F(c.baseId,r),f=r===c.value;return(0,_.jsx)(p,{asChild:!0,...l,focusable:!o,active:f,children:(0,_.jsx)(a.button,{type:`button`,role:`tab`,"aria-selected":f,"aria-controls":d,"data-state":f?`active`:`inactive`,"data-disabled":o?``:void 0,disabled:o,id:u,...s,ref:t,onMouseDown:i(e.onMouseDown,e=>{!o&&e.button===0&&e.ctrlKey===!1?(e.currentTarget.focus(),c.onValueChange(r)):e.preventDefault()}),onKeyDown:i(e.onKeyDown,e=>{o||e.target!==e.currentTarget||[` `,`Enter`].includes(e.key)&&c.onValueChange(r)}),onFocus:i(e.onFocus,()=>{let e=c.activationMode!==b.Manual;!f&&!o&&e&&c.onValueChange(r)})})})},`TabsTrigger`)),M=`TabsContent`,N=g.forwardRef(y(function(e,t){let{__scopeTabs:n,value:i,forceMount:o,children:s,...c}=e,l=E(M,n),u=P(l.baseId,i),d=F(l.baseId,i),f=i===l.value,p=g.useRef(f);return g.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,_.jsx)(r,{present:o||f,children:({present:n})=>(0,_.jsx)(a.div,{"data-state":f?`active`:`inactive`,"data-orientation":l.orientation,role:`tabpanel`,"aria-labelledby":u,hidden:!n,id:d,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:p.current?`0s`:void 0},children:n&&s})})},`TabsContent`));function P(e,t){return`${e}-trigger-${t}`}y(P,`makeTriggerId`);function F(e,t){return`${e}-content-${t}`}y(F,`makeContentId`);var I=h(`baseline`,[[`path`,{d:`M4 20h16`,key:`14thso`}],[`path`,{d:`m6 16 6-12 6 12`,key:`1b4byz`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),L=h(`between-horizontal-start`,[[`rect`,{width:`13`,height:`7`,x:`8`,y:`3`,rx:`1`,key:`pkso9a`}],[`path`,{d:`m2 9 3 3-3 3`,key:`1agib5`}],[`rect`,{width:`13`,height:`7`,x:`8`,y:`14`,rx:`1`,key:`1q5fc1`}]]),R=h(`crop`,[[`path`,{d:`M6 2v14a2 2 0 0 0 2 2h14`,key:`ron5a4`}],[`path`,{d:`M18 22V8a2 2 0 0 0-2-2H2`,key:`7s9ehn`}]]),z=h(`fold-vertical`,[[`path`,{d:`M12 22v-6`,key:`6o8u61`}],[`path`,{d:`M12 8V2`,key:`1wkif3`}],[`path`,{d:`M4 12H2`,key:`rhcxmi`}],[`path`,{d:`M10 12H8`,key:`s88cx1`}],[`path`,{d:`M16 12h-2`,key:`10asgb`}],[`path`,{d:`M22 12h-2`,key:`14jgyd`}],[`path`,{d:`m15 19-3-3-3 3`,key:`e37ymu`}],[`path`,{d:`m15 5-3 3-3-3`,key:`19d6lf`}]]),B=h(`grid-2x2-x`,[[`path`,{d:`M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3`,key:`11za1p`}],[`path`,{d:`m16 16 5 5`,key:`8tpb07`}],[`path`,{d:`m16 21 5-5`,key:`193jll`}]]),V=h(`grid-2x2`,[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),H=h(`heading`,[[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M6 20V4`,key:`1w1bmo`}],[`path`,{d:`M18 20V4`,key:`o2hl4u`}]]),U=h(`lock-open`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`,key:`1mm8w8`}]]),W=h(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),G=h(`paint-bucket`,[[`path`,{d:`M11 7 6 2`,key:`1jwth8`}],[`path`,{d:`M18.992 12H2.041`,key:`xw1gg`}],[`path`,{d:`M21.145 18.38A3.34 3.34 0 0 1 20 16.5a3.3 3.3 0 0 1-1.145 1.88c-.575.46-.855 1.02-.855 1.595A2 2 0 0 0 20 22a2 2 0 0 0 2-2.025c0-.58-.285-1.13-.855-1.595`,key:`1nkol4`}],[`path`,{d:`m8.5 4.5 2.148-2.148a1.205 1.205 0 0 1 1.704 0l7.296 7.296a1.205 1.205 0 0 1 0 1.704l-7.592 7.592a3.615 3.615 0 0 1-5.112 0l-3.888-3.888a3.615 3.615 0 0 1 0-5.112L5.67 7.33`,key:`1nk1rd`}]]),K=h(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),q=h(`square-dashed`,[[`path`,{d:`M5 3a2 2 0 0 0-2 2`,key:`y57alp`}],[`path`,{d:`M19 3a2 2 0 0 1 2 2`,key:`18rm91`}],[`path`,{d:`M21 19a2 2 0 0 1-2 2`,key:`1j7049`}],[`path`,{d:`M5 21a2 2 0 0 1-2-2`,key:`sbafld`}],[`path`,{d:`M9 3h1`,key:`1yesri`}],[`path`,{d:`M9 21h1`,key:`15o7lz`}],[`path`,{d:`M14 3h1`,key:`1ec4yj`}],[`path`,{d:`M14 21h1`,key:`v9vybs`}],[`path`,{d:`M3 9v1`,key:`1r0deq`}],[`path`,{d:`M21 9v1`,key:`mxsmne`}],[`path`,{d:`M3 14v1`,key:`vnatye`}],[`path`,{d:`M21 14v1`,key:`169vum`}]]),J=h(`ungroup`,[[`rect`,{width:`8`,height:`6`,x:`5`,y:`4`,rx:`1`,key:`nzclkv`}],[`rect`,{width:`8`,height:`6`,x:`11`,y:`14`,rx:`1`,key:`4tytwb`}]]);function Y({className:e,orientation:t=`horizontal`,...r}){return(0,_.jsx)(D,{"data-slot":`tabs`,"data-orientation":t,orientation:t,className:n(`group/tabs flex gap-2 data-[orientation=horizontal]:flex-col`,e),...r})}var X=l(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function Z({className:e,variant:t=`default`,...r}){return(0,_.jsx)(k,{"data-slot":`tabs-list`,"data-variant":t,className:n(X({variant:t}),e),...r})}function Q({className:e,...t}){return(0,_.jsx)(j,{"data-slot":`tabs-trigger`,className:n(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent`,`data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100`,e),...t})}function $({className:e,...t}){return(0,_.jsx)(N,{"data-slot":`tabs-content`,className:n(`flex-1 outline-none`,e),...t})}export{I as _,J as a,G as c,H as d,V as f,L as g,R as h,Q as i,W as l,z as m,$ as n,q as o,B as p,Z as r,K as s,Y as t,U as u};
@@ -0,0 +1 @@
1
+ import{t as e}from"./createLucideIcon-euu7Wcd9.js";var t=e(`arrow-right-to-line`,[[`path`,{d:`M17 12H3`,key:`8awo09`}],[`path`,{d:`m11 18 6-6-6-6`,key:`8c2y43`}],[`path`,{d:`M21 5v14`,key:`nzette`}]]),n=e(`hash`,[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]),r=e(`rectangle-horizontal`,[[`rect`,{width:`20`,height:`12`,x:`2`,y:`6`,rx:`2`,key:`9lu3g6`}]]),i=e(`rectangle-vertical`,[[`rect`,{width:`12`,height:`20`,x:`6`,y:`2`,rx:`2`,key:`1oxtiu`}]]),a=e(`separator-horizontal`,[[`path`,{d:`m16 16-4 4-4-4`,key:`3dv8je`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`m8 8 4-4 4 4`,key:`2bscm2`}]]),o=e(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),s=e(`text-wrap`,[[`path`,{d:`m16 16-3 3 3 3`,key:`117b85`}],[`path`,{d:`M3 12h14.5a1 1 0 0 1 0 7H13`,key:`18xa6z`}],[`path`,{d:`M3 19h6`,key:`1ygdsz`}],[`path`,{d:`M3 5h18`,key:`1u36vt`}]]);export{r as a,i,o as n,n as o,a as r,t as s,s as t};
@@ -0,0 +1 @@
1
+ import"./rolldown-runtime-COiEfhsA.js";import{b as e}from"./react-Byupo4pA.js";import{_t as t}from"./type-CvZ0HZsV.js";import{t as n}from"./jsx-runtime-DePvh3-m.js";var r=n();e();function i({className:e,...n}){return(0,r.jsx)(`textarea`,{"data-slot":`textarea`,className:t(`flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40`,e),...n})}export{i as t};
@@ -1,4 +1,4 @@
1
- import{n as e,t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n,t as r}from"./d3-selection-COWvaQNI.js";import{Y as i,a,b as o,et as s,o as c,rt as l,tt as u,y as d}from"./chunk-DSNLSHJZ-D6oPWl_W.js";import{n as f}from"./dist-DdXDFcej.js";import{m as p}from"./chunk-7S6XSTFO-CpKeisWE.js";import{i as m,n as h}from"./chunk-J5ZVWO5B-oDCd-gWO.js";import{a as g}from"./mermaid.core-Dx1fBVUG.js";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,11,13,14,15,17,19,20,23,24],r=[1,12],i=[1,13],a=[1,14],o=[1,15],s=[1,16],c=[1,19],l=[1,20],u={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s]}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(n,[2,5],{5:6}),t(n,[2,2]),t(n,[2,3]),t(n,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,10],{1:[2,1]}),t(n,[2,6]),{12:21,14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,8]),t(n,[2,9]),t(n,[2,11]),{16:[1,22]},{18:[1,23]},t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),t(n,[2,17]),t(n,[2,18]),t(n,[2,19]),t(n,[2,7]),t(n,[2,12]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e,t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n,t as r}from"./d3-selection-COWvaQNI.js";import{Y as i,a,b as o,et as s,o as c,rt as l,tt as u,y as d}from"./chunk-DSNLSHJZ-DoUgmzGB.js";import{n as f}from"./dist-DdXDFcej.js";import{m as p}from"./chunk-7S6XSTFO-BA6esfFu.js";import{i as m,n as h}from"./chunk-J5ZVWO5B-oDCd-gWO.js";import{a as g}from"./mermaid.core-BOln9YdH.js";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,11,13,14,15,17,19,20,23,24],r=[1,12],i=[1,13],a=[1,14],o=[1,15],s=[1,16],c=[1,19],l=[1,20],u={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s]}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(n,[2,5],{5:6}),t(n,[2,2]),t(n,[2,3]),t(n,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,10],{1:[2,1]}),t(n,[2,6]),{12:21,14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,8]),t(n,[2,9]),t(n,[2,11]),{16:[1,22]},{18:[1,23]},t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),t(n,[2,17]),t(n,[2,18]),t(n,[2,19]),t(n,[2,7]),t(n,[2,12]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};u.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -0,0 +1 @@
1
+ import{C as e,E as t,S as n,T as r,_ as i,a,b as o,f as s,h as c,l,m as u,o as d,s as f,u as ee,v as p,w as m,y as te}from"./schemas-DlRAoVtq.js";var ne=[`org_chart`,`issue_tree`,`decision_tree`,`fishbone`,`matrix`,`marimekko`,`heatmap`,`small_multiples`],re={orgchart:`org_chart`,organization_chart:`org_chart`,organisation_chart:`org_chart`,organigram:`org_chart`,hierarchy:`org_chart`,reporting_lines:`org_chart`,issuetree:`issue_tree`,logic_tree:`issue_tree`,mece_tree:`issue_tree`,mece:`issue_tree`,driver_tree:`issue_tree`,tree:`issue_tree`,tree_diagram:`issue_tree`,mind_map:`issue_tree`,mindmap:`issue_tree`,decisiontree:`decision_tree`,decision:`decision_tree`,ishikawa:`fishbone`,fish_bone:`fishbone`,cause_and_effect:`fishbone`,cause_effect:`fishbone`,root_cause:`fishbone`,"2x2":`matrix`,"2_x_2":`matrix`,two_by_two:`matrix`,quadrant:`matrix`,quadrants:`matrix`,quadrant_chart:`matrix`,magic_quadrant:`matrix`,priority_matrix:`matrix`,bcg:`matrix`,mekko:`marimekko`,marimekko_chart:`marimekko`,mosaic:`marimekko`,mosaic_plot:`marimekko`,variable_width:`marimekko`,heat_map:`heatmap`,heatmap_table:`heatmap`,heat_table:`heatmap`,small_multiple:`small_multiples`,smallmultiples:`small_multiples`,trellis:`small_multiples`,facet:`small_multiples`,facets:`small_multiples`,faceted:`small_multiples`,panel_chart:`small_multiples`,lattice:`small_multiples`,grid_of_charts:`small_multiples`},ie=[`text`,`body`,`muted`,`ground`,`surface`,`well`,`rule`,`rule-strong`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`deep`],h=[`good`,`warning`,`bad`,`info`,`neutral`],ae={good:{mark:`#2E7D4F`,tint:`#E3F2E6`,ink:`#1E4D31`,dark:`#6FCF97`},warning:{mark:`#A35400`,tint:`#FFF0DC`,ink:`#6B3700`,dark:`#F2B45C`},bad:{mark:`#B3362C`,tint:`#FDECEA`,ink:`#7A231C`,dark:`#F28B82`},info:{mark:`#3E54CE`,tint:`#DEE5F7`,ink:`#26338A`,dark:`#9AA8F0`},neutral:{mark:`#6B635E`,tint:`#EFECE8`,ink:`#3D3834`,dark:`#B5AEA8`}},oe=[`gray`,`brown`,`red`,`orange`,`yellow`,`green`,`blue`,`purple`,`pink`],se={gray:`neutral`,red:`bad`,orange:`warning`,green:`good`,blue:`info`},ce={yellow:{mark:`#8A6A00`,tint:`#FBF3DB`},brown:{mark:`#64473A`,tint:`#E9E5E3`},purple:{mark:`#6940A5`,tint:`#EAE4F2`},pink:{mark:`#AD1A72`,tint:`#F4DFEB`}};function le(e){let t=se[e];if(t!==void 0)return ae[t];let n=ce[e];return{mark:n.mark,tint:n.tint,ink:n.mark}}var ue={caption:10,label:12,body:14,title:18,heading:26,figure:36,figureMax:48},de=e=>e.trim().replace(/([a-z0-9])([A-Z])/gu,`$1-$2`).toLowerCase().replace(/[\s_]+/gu,`-`),fe={good:`good`,success:`good`,positive:`good`,ok:`good`,pass:`good`,passed:`good`,met:`good`,"on-track":`good`,green:`good`,tip:`good`,done:`good`,warning:`warning`,warn:`warning`,caution:`warning`,"at-risk":`warning`,risk:`warning`,amber:`warning`,yellow:`warning`,orange:`warning`,bad:`bad`,danger:`bad`,error:`bad`,negative:`bad`,critical:`bad`,fail:`bad`,failed:`bad`,missed:`bad`,"off-track":`bad`,blocked:`bad`,late:`bad`,red:`bad`,info:`info`,note:`info`,notice:`info`,blue:`info`,neutral:`neutral`,none:`neutral`,flat:`neutral`,default:`neutral`,gray:`neutral`,grey:`neutral`,muted:`neutral`};function g(e,t=`other`){let n=de(e);if(t===`callout`){if(n===`caution`)return`bad`;if(n===`important`)return`accent1`}return fe[n]}Object.keys(fe);function pe(e){let t=de(e).replace(/^--/u,``),n=/^chart-([1-6])$/u.exec(t);return n?`accent${n[1]??`1`}`:ie.includes(t)?t:{"text-primary":`text`,primary:`text`,"text-body":`body`,"text-secondary":`muted`,secondary:`muted`,"page-bg":`ground`,background:`ground`,border:`rule`,divider:`rule-strong`,accent:`accent1`}[t]}function _(e){if(typeof e!=`string`)return e;let t=e.trim();if(!/^[[{]/u.test(t))return e;try{return JSON.parse(t)}catch(t){if(t instanceof SyntaxError)return e;throw t}}var v=e=>typeof e==`object`&&!!e&&!Array.isArray(e),me={"":!0,true:!0,yes:!0,1:!0,false:!1,no:!1,0:!1};function he(e,t,n,r){let i=_(t),a=t=>{r.push({path:n,message:`${e.name} is ${t}, not ${JSON.stringify(i)}.`})},o=e.type;if(typeof o==`object`){if(typeof i!=`string`&&typeof i!=`number`){a(Object.keys(o.oneOf).join(`, `));return}let e=o.oneOf[T(String(i))];return e===void 0&&a(`one of ${[...new Set(Object.values(o.oneOf))].join(`, `)}`),e}switch(o){case`words`:case`string`:if(typeof i==`string`)return i;if(typeof i==`number`)return String(i);a(`words`);return;case`figure`:if(typeof i==`number`&&Number.isFinite(i)||typeof i==`string`&&i.trim()!==``)return i;a(`a figure (a number, words such as 30%, or a reference)`);return;case`number`:{if(E(i))return i;let e=typeof i==`string`?Number(i.trim()):i;if(typeof e==`number`&&Number.isFinite(e))return e;a(`a number`);return}case`share`:if(E(i))return i;if(typeof i==`number`&&Number.isFinite(i))return i>1&&i<=100?i/100:i;if(typeof i==`string`){let e=/^\s*(\d+(?:\.\d+)?|\.\d+)\s*(%)?\s*$/u.exec(i);if(e){let t=Number(e[1]);return e[2]===`%`||t>1?t/100:t}}a(`a share (0.3 or 30%)`);return;case`bool`:{if(typeof i==`boolean`)return i;let e=typeof i==`string`?me[i.trim().toLowerCase()]:void 0;return e===void 0&&a(`true or false`),e}case`color`:if(typeof i==`string`&&nt(i))return i.trim();a(`a role (accent1…accent6, muted), a tone, a colour name or #RRGGBB`);return;case`tone`:{if(E(i))return i;let e=typeof i==`string`?g(i):void 0;return e===void 0&&a(`a tone (${h.join(`, `)})`),e}case`numbers`:{if(E(i))return i;let e=typeof i==`string`?i.split(`,`).map(e=>e.trim()===``?NaN:Number(e)):i;if(Array.isArray(e)&&e.length>0&&e.every(e=>e===null||typeof e==`number`&&Number.isFinite(e)))return e;a(`numbers ([12, 15, 14]), or a reference`);return}case`words-list`:{if(E(i))return i;let e=typeof i==`string`?i.split(`,`).map(e=>e.trim()):i;if(Array.isArray(e)&&e.every(e=>typeof e==`string`||typeof e==`number`))return e.map(String);a(`a list of words`);return}case`matrix`:if(Array.isArray(i)&&i.every(e=>Array.isArray(e)&&e.every(e=>e===null||typeof e==`number`&&Number.isFinite(e))))return i;a(`rows of numbers ([[1, 2], [3, 4]])`);return;case`chart`:if(v(i))return i;a(`a chart's fields ({ type: line, … })`);return}}function y(e,t,n,r,i){let a=_(t);if(!v(a)){r.push({path:n,message:`this is ${i.what}'s fields, not ${JSON.stringify(a)}.`});return}let o=new Map;for(let t of e){o.set(t.name,t);for(let e of t.aliases??[])o.has(e)||o.set(e,t)}let s={},c=new Map;for(let[t,l]of Object.entries(a)){if(l==null)continue;let a=o.get(T(t));if(a===void 0){if(i.rest?.(t,l)===!0)continue;r.push({path:[...n,t],message:`there is no ${t}: ${i.what} has ${e.map(e=>e.name).join(`, `)}.`});continue}let u=c.get(a.name);if(u!==void 0){r.push({path:[...n,t],message:`${t} and ${u} are both ${a.name}: give one.`});continue}let d=he(a,l,[...n,t],r);d!==void 0&&(s[a.name]=d,c.set(a.name,t))}for(let t of e)t.required===!0&&s[t.name]===void 0&&(i.wordsElsewhere!==!0||t.type!==`words`)&&r.push({path:n,message:`${i.what} has a ${t.name}.`});return s}var ge={name:`id`,type:`string`,aliases:[`key`,`code`]},_e={name:`parent`,type:`string`,aliases:[`parent_id`,`manager`,`reports_to`,`boss`,`supervisor`,`parent_name`,`under`]},ve=[`children`,`items`,`reports`,`direct_reports`,`branches`,`sub`,`subitems`,`nodes`,`kids`,`options`,`outcomes`],b={org_chart:[{name:`name`,type:`words`,aliases:[`full_name`,`person`,`employee`,`label`],required:!0},{name:`role`,type:`words`,aliases:[`title`,`job`,`job_title`,`position`]},{name:`photo`,type:`string`,aliases:[`image`,`avatar`,`picture`,`src`,`headshot`]},{name:`note`,type:`words`,aliases:[`team`,`department`,`text`]},{name:`status`,type:`tone`,aliases:[`tone`]},ge,_e],issue_tree:[{name:`text`,type:`words`,aliases:[`title`,`label`,`name`,`question`,`issue`,`hypothesis`,`driver`],required:!0},{name:`note`,type:`words`,aliases:[`detail`,`description`,`body`]},{name:`status`,type:`tone`,aliases:[`tone`]},ge,_e],decision_tree:[{name:`text`,type:`words`,aliases:[`title`,`name`,`node`,`question`,`event`]},{name:`label`,type:`words`,aliases:[`branch`,`option`,`choice`,`edge`,`if`]},{name:`type`,type:{oneOf:{decision:`decision`,choice:`decision`,square:`decision`,chance:`chance`,uncertainty:`chance`,event:`chance`,circle:`chance`,random:`chance`,end:`end`,terminal:`end`,leaf:`end`,outcome:`end`,triangle:`end`,payoff:`end`}},aliases:[`node_type`,`shape`]},{name:`probability`,type:`share`,aliases:[`p`,`prob`,`chance_of`,`likelihood`,`odds`]},{name:`value`,type:`figure`,aliases:[`payoff`,`result`,`ev`,`expected_value`,`npv`,`worth`]},ge,_e]},ye=[`items`,`nodes`,`root`,`tree`,`people`,`members`,`children`,`branches`,`hierarchy`];function x(e,t,n,r,i,a){let o=_(t),s=Array.isArray(o)?o:[o],c=`a node of ${e.replace(`_`,` `)}`;return a>32?(r.push({path:n,message:`a tree is at most 32 levels deep.`}),[]):s.flatMap((t,s)=>{let l=Array.isArray(o)?[...n,s]:n;if(typeof t==`string`||typeof t==`number`)return[{[e===`org_chart`?`name`:`text`]:String(t)}];let u,d=``,f=y(b[e],t,l,r,{...i,what:c,rest:(e,t)=>ve.includes(T(e))?(u===void 0?(u=t,d=e):r.push({path:[...l,e],message:`${e} and ${d} are both its children: give one.`}),!0):!1});return f===void 0?[]:(u!==void 0&&(f.children=x(e,u,[...l,d],r,i,a+1)),[f])})}var S={org_chart:[{name:`alt`,type:`words`}],issue_tree:[{name:`orientation`,type:{oneOf:{horizontal:`horizontal`,left_to_right:`horizontal`,right:`horizontal`,across:`horizontal`,row:`horizontal`,vertical:`vertical`,top_down:`vertical`,down:`vertical`,column:`vertical`}},aliases:[`direction`]},{name:`alt`,type:`words`}],decision_tree:[{name:`format`,type:`string`,aliases:[`number_format`]},{name:`alt`,type:`words`}]};function be(e,t,n,r,i){let a=_(t);if(Array.isArray(a))return{items:x(e,a,n,r,i,0)};if(!v(a)){r.push({path:n,message:`this is a list of nodes, or { items: [...] }, or { data: <a table>, parent: <its column> }, not ${JSON.stringify(a)}.`});return}let o,s=``,c,l={},u=new Set(b[e].flatMap(e=>[e.name,...e.aliases??[]])),d=Object.keys(a).map(T);if(!d.includes(`data`)&&!d.includes(`source`)&&!d.some(e=>ye.includes(e)&&e!==`children`)&&d.some(e=>u.has(e)&&e!==`id`&&e!==`parent`)){let t={},o={},s=new Set(S[e].flatMap(e=>[e.name,...e.aliases??[]]));for(let[e,n]of Object.entries(a))s.has(T(e))&&!u.has(T(e))?t[e]=n:o[e]=n;let c=y(S[e],t,n,r,{...i,what:`a tree`})??{};return c.items=x(e,o,n,r,i,0),c}let f={},ee=new Set(S[e].flatMap(e=>[e.name,...e.aliases??[]]));for(let[e,t]of Object.entries(a)){let i=T(e);ye.includes(i)?(o!==void 0&&r.push({path:[...n,e],message:`${e} and ${s} are both its nodes: give one.`}),o=t,s=e):i===`data`||i===`source`?c=t:ee.has(i)?f[e]=t:l[e]=t}let p=y(S[e],f,n,r,{...i,what:`a tree`})??{};if(o!==void 0&&c!==void 0&&r.push({path:n,message:`give items or data, not both.`}),o!==void 0)p.items=x(e,o,[...n,s],r,i,0);else if(c!==void 0)typeof c!=`string`||c.trim()===``?r.push({path:[...n,`data`],message:`data names a table: ../team/team#people, or a CSV, its rows a node each.`}):p.data=c.trim(),p.columns=xe(b[e],l,n,r);else{for(let t of Object.keys(l))r.push({path:[...n,t],message:`there is no ${t}: a tree has items (its nodes, each with children), or data with a parent column, and ${S[e].map(e=>e.name).join(`, `)}.`});Object.keys(l).length===0&&r.push({path:n,message:`a tree has items, or data.`})}return p}function xe(e,t,n,r){let i=new Map;for(let t of e){i.set(t.name,t.name);for(let e of t.aliases??[])i.has(e)||i.set(e,t.name)}let a={};for(let[o,s]of Object.entries(t)){let t=i.get(T(o));t===void 0||typeof s!=`string`?r.push({path:[...n,o],message:t===void 0?`there is no ${o}: with data, a field names its column (${e.map(e=>e.name).join(`, `)}).`:`${o} names a column of the data, not ${JSON.stringify(s)}.`}):a[t]=s}return a}var Se=[{name:`name`,type:`words`,aliases:[`title`,`label`,`category`,`bone`,`group`,`text`],required:!0}],Ce=[`causes`,`items`,`children`,`reasons`,`factors`,`subcauses`,`sub_causes`];function we(e,t,n,r,i){let a=_(e);return(Array.isArray(a)?a:[a]).flatMap((e,o)=>{let s=Array.isArray(a)?[...t,o]:t;if(typeof e==`string`||typeof e==`number`)return[{text:String(e)}];let c,l=y([{name:`text`,type:`words`,aliases:[`name`,`title`,`label`,`cause`],required:!0}],e,s,n,{...r,what:`a cause`,rest:(e,t)=>!Ce.includes(T(e))||i>0?!1:(c=t,!0)});return l===void 0?[]:(c!==void 0&&(l.causes=we(c,[...s,`causes`],n,r,i+1)),[l])})}function Te(e,t,n,r){let i=_(e);if(!v(i)){n.push({path:t,message:`a fishbone is { effect, categories: [{ name, causes: [...] }] } or { effect, data, category, cause }, not ${JSON.stringify(i)}.`});return}let a={},o,s=``,c={},l=y([{name:`effect`,type:`words`,aliases:[`problem`,`head`,`outcome`,`title`,`issue`,`result`],required:!0},{name:`data`,type:`string`,aliases:[`source`]},{name:`alt`,type:`words`}],i,t,n,{...r,what:`a fishbone`,rest:(e,r)=>{let i=T(e);return[`categories`,`bones`,`branches`,`causes`,`groups`,`items`].includes(i)?o===void 0?(o=r,s=e,!0):(n.push({path:[...t,e],message:`${e} and ${s} are both its categories: give one.`}),!0):(c[e]=r,!0)}});if(l!==void 0){if(Object.assign(a,l),o!==void 0){let e=_(o),i=[...t,s],c=v(e)?Object.entries(e).map(([e,t])=>({name:e,causes:t})):e;Array.isArray(c)?a.categories=c.flatMap((e,t)=>{if(typeof e==`string`)return[{name:e,causes:[]}];let a,o=y(Se,e,[...i,t],n,{...r,what:`a category`,rest:(e,t)=>Ce.includes(T(e))?(a=t,!0):!1});return o===void 0?[]:(o.causes=a===void 0?[]:we(a,[...i,t,`causes`],n,r,0),[o])}):n.push({path:i,message:`categories is a list of { name, causes }, or { People: [causes…], … }.`})}if(a.data!==void 0)a.columns=xe([{name:`category`,type:`string`,aliases:[`name`,`bone`,`group`,`area`]},{name:`cause`,type:`string`,aliases:[`text`,`reason`,`factor`]}],c,t,n);else for(let e of Object.keys(c))n.push({path:[...t,e],message:`there is no ${e}: a fishbone has effect, categories (or data), alt.`});return a.categories===void 0&&a.data===void 0&&n.push({path:t,message:`a fishbone has categories, or data.`}),a}}var Ee=[{name:`title`,type:`words`,aliases:[`label`,`name`,`text`]},{name:`low`,type:`words`,aliases:[`low_label`,`left`,`bottom`]},{name:`high`,type:`words`,aliases:[`high_label`,`right`,`top`]},{name:`min`,type:`number`,aliases:[`from`,`start`]},{name:`max`,type:`number`,aliases:[`to`,`end`]},{name:`split`,type:`number`,aliases:[`mid`,`middle`,`midpoint`,`threshold`,`cut`,`cross`]}],De={top_left:0,tl:0,upper_left:0,top_right:1,tr:1,upper_right:1,bottom_left:2,bl:2,lower_left:2,bottom_right:3,br:3,lower_right:3},Oe=[{name:`name`,type:`words`,aliases:[`label`,`title`,`text`,`item`,`idea`,`option`],required:!0},{name:`x`,type:`number`,aliases:[`score_x`,`horizontal`,`across`,`x_score`]},{name:`y`,type:`number`,aliases:[`score_y`,`vertical`,`up`,`y_score`]},{name:`quadrant`,type:`string`,aliases:[`cell`,`box`,`group`]},{name:`status`,type:`tone`,aliases:[`tone`]},{name:`color`,type:`color`,aliases:[`colour`]}];function ke(e,t,n,r){let i,a=``,o={},s=_(e),c=y([{name:`x_axis`,type:`chart`,aliases:[`x_label`,`horizontal_axis`]},{name:`y_axis`,type:`chart`,aliases:[`y_label`,`vertical_axis`]},{name:`quadrants`,type:`chart`,aliases:[`quadrant_names`,`quadrant_labels`,`cells`,`boxes`]},{name:`data`,type:`string`,aliases:[`source`]},{name:`alt`,type:`words`}],v(s)?Object.fromEntries(Object.entries(s).map(([e,t])=>{let n=_(t),r=T(e);return[`x_axis`,`y_axis`,`x_label`,`y_label`].includes(r)&&typeof n==`string`?[e,{title:n}]:[`quadrants`,`quadrant_names`,`quadrant_labels`,`cells`,`boxes`].includes(r)&&Array.isArray(n)?[e,{list:n}]:[e,n]})):s,t,n,{...r,what:`a matrix`,rest:(e,t)=>{let n=T(e);return[`items`,`points`,`ideas`,`options`,`initiatives`,`dots`].includes(n)?(i=t,a=e,!0):(o[e]=t,!0)}});if(c!==void 0){for(let e of[`x_axis`,`y_axis`])c[e]!==void 0&&(c[e]=y(Ee,c[e],[...t,e],n,{...r,what:`an axis`}));if(c.quadrants!==void 0){let e=c.quadrants,r=[void 0,void 0,void 0,void 0];if(Array.isArray(e.list))e.list.slice(0,4).forEach((e,t)=>{typeof e==`string`?r[t]=e:v(e)&&typeof e.name==`string`&&(r[t]=e.name)});else for(let[i,a]of Object.entries(e)){let e=De[T(i)];e===void 0||typeof a!=`string`?n.push({path:[...t,`quadrants`,i],message:`quadrants are four names in reading order (top left, top right, bottom left, bottom right), or { top_left, top_right, bottom_left, bottom_right }.`}):r[e]=a}c.quadrants=r}if(i!==void 0){let e=_(i);Array.isArray(e)?c.items=e.flatMap((e,i)=>{let o=y(Oe,e,[...t,a,i],n,{...r,what:`an item of a matrix`});return o===void 0?[]:(o.x===void 0!=(o.y===void 0)&&n.push({path:[...t,a,i],message:`an item has both x and y, or a quadrant.`}),o.x===void 0&&o.quadrant===void 0&&n.push({path:[...t,a,i],message:`an item is placed by its x and y scores, or by its quadrant (top-left, top-right, bottom-left, bottom-right, or a quadrant's name).`}),[o])}):n.push({path:[...t,a],message:`items is a list.`})}if(c.data!==void 0)c.columns=xe(Oe,o,t,n);else for(let e of Object.keys(o))n.push({path:[...t,e],message:`there is no ${e}: a matrix has items (or data), x_axis, y_axis, quadrants, alt.`});return c.items===void 0&&c.data===void 0&&n.push({path:t,message:`a matrix has items, or data.`}),c}}var Ae=[{name:`name`,type:`words`,aliases:[`label`,`title`],required:!0},{name:`values`,type:`numbers`,aliases:[`data`,`value`]},{name:`color`,type:`color`,aliases:[`colour`,`background_color`]}];function C(e,t,n,r){let i=_(e);if(!Array.isArray(i))n.push({path:t,message:`series is a list: { name, values } each, or with data the names of its columns.`});else return i.flatMap((e,i)=>{if(typeof e==`string`)return[e];let a=y(Ae,e,[...t,i],n,{...r,what:`a series`});return a===void 0?[]:[a]})}function je(e,t,n,r){let i,a=y([{name:`categories`,type:`words-list`,aliases:[`columns`,`segments`,`labels`,`markets`,`x`]},{name:`data`,type:`string`,aliases:[`source`]},{name:`widths`,type:`numbers`,aliases:[`width`,`sizes`,`totals`,`market_size`]},{name:`format`,type:`string`,aliases:[`number_format`]},{name:`labels`,type:{oneOf:{share:`share`,percent:`share`,percentage:`share`,value:`value`,values:`value`,none:`none`,false:`none`,true:`share`}},aliases:[`data_labels`]},{name:`alt`,type:`words`}],e,t,n,{...r,what:`a Marimekko`,rest:(e,t)=>{let n=T(e);return[`series`,`datasets`,`rows`,`stacks`,`segments_by`].includes(n)?(i=t,!0):!1}});if(a!==void 0){if(i!==void 0){let e=C(i,[...t,`series`],n,r);e!==void 0&&(a.series=e)}return a.series===void 0&&n.push({path:t,message:`a Marimekko has series.`}),a.data===void 0&&!Array.isArray(a.categories)&&n.push({path:t,message:`a Marimekko has categories (its columns), or data.`}),a}}function Me(e,t,n,r){let i=y([{name:`rows`,type:`words-list`,aliases:[`row_labels`,`y`,`y_labels`,`row_names`]},{name:`columns`,type:`words-list`,aliases:[`column_labels`,`x`,`x_labels`,`categories`,`column_names`,`labels`]},{name:`values`,type:`matrix`,aliases:[`cells`,`matrix`,`z`,`grid`]},{name:`data`,type:`string`,aliases:[`source`,`range`]},{name:`format`,type:`string`,aliases:[`number_format`]},{name:`color`,type:`color`,aliases:[`colour`,`hue`]},{name:`low_color`,type:`color`,aliases:[`min_color`,`low_colour`,`from`]},{name:`mid`,type:`number`,aliases:[`midpoint`,`center`,`centre`]},{name:`min`,type:`number`},{name:`max`,type:`number`},{name:`show_values`,type:`bool`,aliases:[`show_labels`,`data_labels`,`numbers`]},{name:`title`,type:`words`,aliases:[`corner`,`heading`]},{name:`alt`,type:`words`}],e,t,n,{...r,what:`a heatmap`});if(i===void 0)return;i.values===void 0&&i.data===void 0&&n.push({path:t,message:`a heatmap has values, or data.`});let a=i.values;if(a!==void 0){let e=i.rows,r=i.columns;Array.isArray(e)&&e.length!==a.length&&n.push({path:[...t,`rows`],message:`rows names ${String(e.length)} rows; values has ${String(a.length)}.`});let o=Math.max(0,...a.map(e=>e.length));Array.isArray(r)&&r.length!==o&&n.push({path:[...t,`columns`],message:`columns names ${String(r.length)} columns; values' rows have ${String(o)}.`})}return i}var Ne=[`type`,`legend`,`labels`,`gap_width`,`overlap`,`value_axis`,`category_axis`,`smooth`,`line_width`,`size`,`color`,`colors`];function Pe(e,t,n,r){let i,a=``,o,s={},c=y([{name:`categories`,type:`words-list`,aliases:[`labels`,`x`]},{name:`data`,type:`string`,aliases:[`source`]},{name:`by`,type:`string`,aliases:[`facet`,`split`,`per`,`split_by`,`group_by`,`row`,`column_by`,`panel`]},{name:`columns`,type:`number`,aliases:[`across`,`cols`,`wrap`,`per_row`]},{name:`shared`,type:`bool`,aliases:[`shared_axes`,`same_scale`,`share_axes`]},{name:`format`,type:`string`,aliases:[`number_format`]},{name:`chart`,type:`chart`,aliases:[`spec`,`each`,`template`]},{name:`alt`,type:`words`}],e,t,n,{...r,what:`small multiples`,rest:(e,t)=>{let n=T(e);return[`panels`,`items`,`charts`,`multiples`,`groups`,`facets`].includes(n)?(i=t,a=e,!0):n===`series`||n===`datasets`?(o=t,!0):Ne.includes(n)?(s[n===`colors`?`color`:n]=t,!0):!1}});if(c===void 0)return;let l={...v(c.chart)?c.chart:{},...s};if(typeof l.type!=`string`&&(l.type=`column-clustered`),c.chart=l,o!==void 0){let e=C(o,[...t,`series`],n,r);e!==void 0&&(c.series=e)}if(i!==void 0){let e=_(i);Array.isArray(e)?c.panels=e.flatMap((e,i)=>{let o,s=y([{name:`title`,type:`words`,aliases:[`name`,`label`,`category`,`group`],required:!0},{name:`values`,type:`numbers`,aliases:[`data`,`value`]}],e,[...t,a,i],n,{...r,what:`a panel`,rest:(e,t)=>[`series`,`datasets`].includes(T(e))?(o=t,!0):!1});if(s===void 0)return[];if(o!==void 0){let e=C(o,[...t,a,i,`series`],n,r);e!==void 0&&(s.series=e)}return s.values===void 0&&s.series===void 0&&n.push({path:[...t,a,i],message:`a panel has values, or series.`}),[s]}):n.push({path:[...t,a],message:`panels is a list of { title, values } or { title, series }.`})}return c.panels===void 0&&c.data===void 0&&n.push({path:t,message:`small multiples have panels, or data and by.`}),c.data!==void 0&&c.by===void 0&&n.push({path:t,message:`with data, by names the column each panel is one value of.`}),c}function Fe(e,t,n,r,i){switch(e){case`org_chart`:case`issue_tree`:case`decision_tree`:return be(e,t,n,r,i);case`fishbone`:return Te(t,n,r,i);case`matrix`:return ke(t,n,r,i);case`marimekko`:return je(t,n,r,i);case`heatmap`:return Me(t,n,r,i);case`small_multiples`:return Pe(t,n,r,i)}}function Ie(e,t,n={}){let r=[],i=y(b[e],t,[],r,{...n,what:`a node of ${e.replace(`_`,` `)}`});return i===void 0?{problems:r}:{fields:i,problems:r}}var Le={alluvial:`sankey`,alluvial_diagram:`sankey`,sankey_diagram:`sankey`,sankey_chart:`sankey`,flows:`sankey`,flow_diagram:`sankey`,roadmap:`gantt`,gantt_chart:`gantt`,timeline_gantt:`gantt`,gantt_timeline:`gantt`,project_plan:`gantt`},Re=[`links`,`flows`,`edges`,`nodes`,`source`,`target`,`from`,`to`],ze={fields:[{name:`source`,type:`string`,aliases:[`from`,`origin`,`src`,`parent`],required:!0},{name:`target`,type:`string`,aliases:[`to`,`destination`,`dest`,`dst`,`child`],required:!0},{name:`value`,type:`number`,aliases:[`amount`,`weight`,`flow`,`count`,`size`,`volume`,`qty`,`quantity`,`total`],required:!0},{name:`color`,type:`color`,aliases:[`colour`]}]},Be={fields:[{name:`nodes`,type:`nodes`,aliases:[`node`]},{name:`format`,type:`string`,aliases:[`number_format`]},{name:`values`,type:`bool`,aliases:[`show_values`,`data_labels`,`labels`]},{name:`align`,type:{oneOf:{justify:`justify`,justified:`justify`,left:`left`,start:`left`,right:`right`,end:`right`,center:`center`,centre:`center`}},aliases:[`node_align`,`alignment`]},{name:`alt`,type:`words`}],item:`link`,list:!0},Ve={fields:[{name:`name`,type:`words`,aliases:[`title`,`task`,`label`,`activity`,`item`,`text`],required:!0},{name:`id`,type:`string`,aliases:[`key`,`code`,`wbs`]},{name:`start`,type:`string`,aliases:[`begin`,`from`,`start_date`,`starts`,`date`]},{name:`end`,type:`string`,aliases:[`finish`,`to`,`due`,`end_date`,`ends`,`until`,`deadline`]},{name:`duration`,type:`string`,aliases:[`days`,`length`]},{name:`group`,type:`words`,aliases:[`lane`,`phase`,`stream`,`workstream`,`section`,`category`,`team`,`swimlane`,`track`,`epic`]},{name:`progress`,type:`string`,aliases:[`complete`,`percent`,`percent_complete`,`completion`,`done`]},{name:`milestone`,type:`bool`,aliases:[`is_milestone`]},{name:`depends`,type:`names`,aliases:[`dependencies`,`depends_on`,`after`,`predecessors`,`needs`]},{name:`status`,type:`tone`,aliases:[`tone`,`rag`,`health`]},{name:`color`,type:`color`,aliases:[`colour`]}]},He={fields:[{name:`today`,type:`string`,aliases:[`now`,`as_of`,`status_date`]},{name:`scale`,type:{oneOf:{day:`day`,days:`day`,daily:`day`,week:`week`,weeks:`week`,weekly:`week`,month:`month`,months:`month`,monthly:`month`,quarter:`quarter`,quarters:`quarter`,quarterly:`quarter`,year:`year`,years:`year`,yearly:`year`}},aliases:[`unit`,`zoom`,`interval`,`period`]},{name:`alt`,type:`words`}],item:`task`,list:!0},Ue=[`links`,`flows`,`edges`,`tasks`,`activities`],w=[`chart`,`table`,`stats`,`stat`,`card`,`tag`,`callout`,`icon`,`progress`,`timeline`,`steps`,`person`,`people`,`risk_matrix`,`sankey`,`gantt`,...ne],We=e=>ne.includes(e);function T(e){return e.trim().replace(/([a-z0-9])([A-Z])/gu,`$1_$2`).toLowerCase().replace(/[-\s]+/gu,`_`)}var Ge={kpi:`stat`,kpi_card:`stat`,kpi_tile:`stat`,metric:`stat`,kpis:`stats`,metrics:`stats`,scorecard:`stats`,tile:`card`,panel:`card`,badge:`tag`,pill:`tag`,chip:`tag`,alert:`callout`,admonition:`callout`,notice:`callout`,banner:`callout`,glyph:`icon`,gauge:`progress`,meter:`progress`,progress_bar:`progress`,progressbar:`progress`,milestones:`timeline`,process:`steps`,stepper:`steps`,flow:`steps`,avatar:`person`,profile:`person`,member:`person`,team:`people`,members:`people`,graph:`chart`,risk_grid:`risk_matrix`,risk_map:`risk_matrix`,impact_matrix:`risk_matrix`,probability_impact:`risk_matrix`,...Le,...re};function Ke(e){let t=T(e);return w.includes(t)?t:Ge[t]}function E(e){if(typeof e!=`string`)return!1;let t=e.trim();return qe(t)?!0:/^=\S/u.test(t)||/^[A-Za-z_\\][\w.]*\[[^\]]+\]$/u.test(t)||/^(?:'[^']+'|[A-Za-z_][\w.]*)![A-Z]{1,3}\d+(?::[A-Z]{1,3}\d+)?$/u.test(t)}function qe(e){if(typeof e!=`string`)return!1;let t=e.trim();return/^(?:\.{1,2}\/|\/)\S+$/u.test(t)?t.includes(`#`)||/\.(?:csv|ya?ml|json)$/iu.test(t):/^[\w.-]+(?:\/[\w.-]+)*\.(?:csv|ya?ml|json)(?:#\S+)?$/iu.test(t)||/^[\w.-]+(?:\/[\w.-]+)+#\S+$/u.test(t)}var D={name:`alt`,type:`words`},Je={name:`orientation`,type:{oneOf:{horizontal:`horizontal`,row:`horizontal`,across:`horizontal`,vertical:`vertical`,column:`vertical`,down:`vertical`}},aliases:[`direction`]},Ye={fields:[{name:`value`,type:`figure`,aliases:[`figure`,`number`,`kpi`,`metric`],required:!0},{name:`label`,type:`words`,aliases:[`title`,`name`,`caption`],required:!0},{name:`delta`,type:`figure`,aliases:[`change`,`diff`,`vs`]},{name:`good`,type:{oneOf:{up:`up`,higher:`up`,increase:`up`,down:`down`,lower:`down`,decrease:`down`}},aliases:[`direction`]},{name:`status`,type:`tone-ref`,aliases:[`tone`,`rag`]},{name:`target`,type:`figure`,aliases:[`goal`,`benchmark`]},{name:`min`,type:`figure`,aliases:[`low`,`from`,`floor`,`scale_min`,`range_min`]},{name:`max`,type:`figure`,aliases:[`high`,`to`,`ceiling`,`scale_max`,`range_max`]},{name:`note`,type:`words`,aliases:[`subtitle`,`footnote`,`context`]},{name:`trend`,type:`series`,aliases:[`sparkline`,`history`]},{name:`format`,type:`string`,aliases:[`number_format`]},{name:`icon`,type:`string`},D]},Xe={fields:[{name:`name`,type:`words`,required:!0},{name:`role`,type:`words`,aliases:[`title`,`job`,`position`,`job_title`]},{name:`photo`,type:`string`,aliases:[`image`,`avatar`,`picture`,`src`]},{name:`note`,type:`words`,aliases:[`text`,`team`]},D]},Ze={stat:Ye,person:Xe,milestone:{fields:[{name:`date`,type:`string`,aliases:[`when`,`at`,`time`]},{name:`title`,type:`words`,aliases:[`name`,`label`,`event`],required:!0},{name:`text`,type:`words`,aliases:[`description`,`body`]},{name:`lane`,type:`words`,aliases:[`track`,`row`,`group`,`stream`]},{name:`status`,type:{oneOf:{done:`done`,complete:`done`,completed:`done`,shipped:`done`,current:`current`,now:`current`,active:`current`,in_progress:`current`,planned:`planned`,next:`planned`,todo:`planned`,upcoming:`planned`,future:`planned`,...Object.fromEntries(h.map(e=>[e,e])),at_risk:`warning`,risk:`warning`,late:`bad`,blocked:`bad`}},aliases:[`state`,`tone`]}]},step:{fields:[{name:`title`,type:`words`,aliases:[`name`,`label`],required:!0},{name:`text`,type:`words`,aliases:[`description`,`body`]},{name:`icon`,type:`string`}]},entry:{fields:[{name:`label`,type:`words`,aliases:[`number`,`name`,`id`,`title`],required:!0},{name:`row`,type:`string`,aliases:[`y`,`impact`,`severity`],required:!0},{name:`column`,type:`string`,aliases:[`x`,`likelihood`,`probability`,`col`],required:!0}]},link:ze,task:Ve},O={stat:Ye,stats:{fields:[D,{name:`columns`,type:`number`,aliases:[`across`,`per_row`]}],item:`stat`,list:!0},card:{fields:[{name:`eyebrow`,type:`words`,aliases:[`kicker`,`overline`,`label`]},{name:`value`,type:`figure`,aliases:[`metric`,`figure`,`number`,`kpi`]},{name:`caption`,type:`words`,aliases:[`value_label`,`metric_label`,`unit`]},{name:`title`,type:`words`,aliases:[`heading`,`name`]},{name:`subtitle`,type:`words`,aliases:[`subheading`]},{name:`body`,type:`words`,aliases:[`text`,`description`,`content`]},{name:`lines`,type:`lines`,aliases:[`items`,`points`,`bullets`,`details`,`facts`,`list`]},{name:`icon`,type:`string`},{name:`tag`,type:`tag`,aliases:[`badge`,`pill`,`chip`]},{name:`featured`,type:`bool`,aliases:[`highlight`,`highlighted`,`primary`,`emphasis`]},D]},tag:{fields:[{name:`text`,type:`words`,aliases:[`label`,`value`],required:!0},{name:`status`,type:`tone`,aliases:[`tone`,`variant`]},{name:`color`,type:`color`,aliases:[`colour`]},D]},callout:{fields:[{name:`title`,type:`words`,aliases:[`heading`]},{name:`text`,type:`words`,aliases:[`body`,`content`,`message`]},{name:`tone`,type:`callout-tone`,aliases:[`status`,`type`,`kind`,`variant`]},{name:`icon`,type:`string`,aliases:[`emoji`]},D]},icon:{fields:[{name:`name`,type:`string`,aliases:[`icon`,`glyph`],required:!0},{name:`size`,type:`number`},{name:`color`,type:`color`,aliases:[`colour`]},{name:`stroke`,type:`number`,aliases:[`stroke_width`]},D]},progress:{fields:[{name:`value`,type:`figure`,aliases:[`percent`,`current`],required:!0},{name:`of`,type:`figure`,aliases:[`max`,`total`]},{name:`target`,type:`figure`,aliases:[`goal`]},{name:`label`,type:`words`,aliases:[`title`]},{name:`note`,type:`words`},{name:`shape`,type:{oneOf:{bar:`bar`,linear:`bar`,line:`bar`,ring:`ring`,circle:`ring`,donut:`ring`,doughnut:`ring`,gauge:`ring`,radial:`ring`}},aliases:[`type`,`variant`]},{name:`status`,type:`tone-ref`,aliases:[`tone`]},{name:`format`,type:`string`,aliases:[`number_format`]},D]},timeline:{fields:[{name:`today`,type:`string`,aliases:[`now`]},{name:`bands`,type:{oneOf:{months:`months`,month:`months`,true:`months`,quarters:`quarters`,quarter:`quarters`,none:`none`,false:`none`}},aliases:[`periods`,`scale`,`band`]},Je,D],item:`milestone`,list:!0},steps:{fields:[{name:`current`,type:`string`,aliases:[`active`]},{name:`numbered`,type:`bool`},Je,D],item:`step`,list:!0},person:Xe,people:{fields:[D],item:`person`,list:!0},sankey:Be,gantt:He,risk_matrix:{fields:[{name:`rows`,type:`labels`,aliases:[`y_labels`,`row_labels`,`levels`],required:!0},{name:`columns`,type:`labels`,aliases:[`x_labels`,`column_labels`,`cols`],required:!0},{name:`y`,type:`words`,aliases:[`y_label`,`y_axis`,`row_title`]},{name:`x`,type:`words`,aliases:[`x_label`,`x_axis`,`column_title`]},{name:`tones`,type:{oneOf:{risk:`risk`,heat:`risk`,rag:`risk`,none:`none`,plain:`none`,false:`none`}},aliases:[`colors`,`colours`,`shading`]},D],item:`entry`,list:!0}};function Qe(e){return e===`milestone`||e===`step`||e===`entry`||e===`link`||e===`task`?Ze[e]:O[e]}function $e(e){return e===`chart`||e===`table`||We(e)?[]:Qe(e).fields.map(e=>typeof e.type==`object`?{name:e.name,type:`choice`,choices:[...new Set(Object.values(e.type.oneOf))]}:e.type===`tone`||e.type===`tone-ref`||e.type===`callout-tone`?{name:e.name,type:e.type,choices:h}:{name:e.name,type:e.type})}var et={"":!0,true:!0,yes:!0,1:!0,false:!1,no:!1,0:!1};function k(e){if(typeof e!=`string`)return e;let t=e.trim();if(!/^[[{]/u.test(t))return e;try{return JSON.parse(t)}catch(t){if(t instanceof SyntaxError)return e;throw t}}var tt=`a role (text, muted, accent1…accent6, deep), a tone (${h.join(`, `)}), a colour name (${oe.join(`, `)}) or #RRGGBB`;function nt(e){return pe(e)!==void 0||g(e)!==void 0||oe.includes(e.trim().toLowerCase())||/^#[0-9A-Fa-f]{6}$/u.test(e.trim())||Xt(e.trim())!==void 0}function A(e,t,n,r){let i=i=>(r.push({path:n,message:`${e.name} is ${i}, not ${JSON.stringify(t)}.`}),null),a=e.type;if(typeof a==`object`)return typeof t==`string`?a.oneOf[T(t)]??i(`one of ${[...new Set(Object.values(a.oneOf))].join(`, `)}`):i(Object.keys(a.oneOf).join(`, `));switch(a){case`words`:case`string`:return typeof t==`string`?t:typeof t==`number`?String(t):i(`words`);case`figure`:return typeof t==`number`&&Number.isFinite(t)||typeof t==`string`&&t.trim()!==``?t:i(`a figure (words such as 68.4%, a number, or a reference)`);case`series`:{if(E(t))return t;let e=k(t),n=typeof e==`string`?e.split(`,`).map(e=>e.trim()===``?NaN:Number(e)):e;return Array.isArray(n)&&n.length>0&&n.every(e=>typeof e==`number`&&Number.isFinite(e))?n:i(`numbers oldest first ([12, 15, 14, 19] or 12,15,14,19), or a reference`)}case`tone`:case`tone-ref`:case`callout-tone`:return a===`tone-ref`&&E(t)?t:typeof t==`string`?g(t,a===`callout-tone`?`callout`:`other`)??i(`a tone (${h.join(`, `)}, or RAG's red, amber, green)`):i(`a tone (${h.join(`, `)})`);case`bool`:return typeof t==`boolean`?t:(typeof t==`string`?et[t.trim().toLowerCase()]:void 0)??i(`true or false`);case`number`:{let e=typeof t==`string`&&t.trim()!==``?Number(t):t;return typeof e==`number`&&Number.isFinite(e)?e:i(`a number`)}case`color`:return typeof t==`string`&&nt(t)?t.trim():i(tt);case`tag`:return typeof t==`string`?{text:t}:j(O.tag,k(t),n,r,{});case`names`:{let e=k(t),n=Array.isArray(e)?e:typeof e==`string`||typeof e==`number`?String(e).split(/[,;]/u):void 0;if(n===void 0||!n.every(e=>typeof e==`string`||typeof e==`number`))return i(`a task's name or id, or a list of them`);let r=n.map(e=>String(e).trim()).filter(e=>e!==``);return r.length===0?null:r}case`nodes`:{let e=k(t);if(!Array.isArray(e))return i(`a list of nodes: a name each, or { name, label, color }`);let a=[];return e.forEach((e,t)=>{if(typeof e==`string`||typeof e==`number`){a.push({name:String(e)});return}if(typeof e!=`object`||!e){r.push({path:[...n,t],message:`a node is its name, or { name, label, color }.`});return}let i={};for(let[a,o]of Object.entries(e)){let e=T(a),s=typeof o==`string`||typeof o==`number`?String(o):void 0;s!==void 0&&(e===`name`||e===`id`||e===`key`?i.name??=s:e===`label`||e===`title`||e===`text`?i.label=s:e===`color`||e===`colour`?nt(s)?i.color=s.trim():r.push({path:[...n,t,a],message:`color is ${tt}, not ${JSON.stringify(o)}.`}):r.push({path:[...n,t,a],message:`a node has name, label, color; not ${a}.`}))}i.name??=i.label??``,i.name===``?r.push({path:[...n,t],message:`a node has a name.`}):a.push(i)}),a}case`labels`:{let e=k(t),n=typeof e==`string`?e.split(`,`).map(e=>e.trim()):e;return Array.isArray(n)&&n.length>0&&n.every(e=>typeof e==`string`||typeof e==`number`)?n.map(String):i(`labels in order ([High, Med, Low] or High,Med,Low)`)}case`lines`:{let e=k(t);if(typeof e==`string`)return[{text:e}];if(typeof e==`object`&&e&&!Array.isArray(e))return Object.entries(e).map(([e,t])=>({label:e,text:String(t)}));if(!Array.isArray(e))return i(`lines: a list of words, or of { label, text }`);let a=[];return e.forEach((e,t)=>{if(typeof e==`string`||typeof e==`number`)a.push({text:String(e)});else if(typeof e==`object`&&e){let i=e,o=i.label??i.name??i.key??i.term,s=i.text??i.value??i.body??i.description;typeof s!=`string`&&typeof s!=`number`?r.push({path:[...n,t],message:`a line has its text: { label, text }, or words.`}):a.push({text:String(s),...typeof o==`string`?{label:o}:{}})}}),a}}}function j(e,t,n,r,i){let a=k(t);if(typeof a!=`object`||!a||Array.isArray(a)){r.push({path:n,message:`this is a block's fields, not ${JSON.stringify(a)}.`});return}let o=new Map;for(let t of e.fields){o.set(t.name,t);for(let e of t.aliases??[])o.has(e)||o.set(e,t)}let s={},c=new Map;for(let[t,i]of Object.entries(a)){if(i==null)continue;let a=T(t);if((a===`down_is_good`||a===`lower_is_better`)&&o.has(`good`)){let e=A({name:t,type:`bool`},i,[...n,t],r);if(e==null)continue;if(c.has(`good`)){r.push({path:[...n,t],message:`${t} and ${c.get(`good`)??`good`} both say which way is good: give one.`});continue}s.good=e===!0?`down`:`up`,c.set(`good`,t);continue}if(a===`higher_is_better`&&o.has(`good`)){let e=A({name:t,type:`bool`},i,[...n,t],r);if(e==null)continue;s.good=e===!0?`up`:`down`,c.set(`good`,t);continue}let l=o.get(a);if(l===void 0){r.push({path:[...n,t],message:`there is no ${t}: a block of this kind has ${e.fields.map(e=>e.name).join(`, `)}.`});continue}let u=c.get(l.name);if(u!==void 0){r.push({path:[...n,t],message:`${t} and ${u} are both ${l.name}: give one.`});continue}let d=A(l,i,[...n,t],r);d!=null&&(s[l.name]=d,c.set(l.name,t))}for(let t of e.fields)t.required===!0&&s[t.name]===void 0&&(i.wordsElsewhere!==!0||t.type!==`words`)&&r.push({path:n,message:`a block of this kind has a ${t.name}.`});return s}function rt(e,t,n,r,i){let a=e.item;if(a===void 0)return j(e,t,n,r,i);let o=Ze[a],s=(e,t)=>e.flatMap((e,n)=>{let a=j(o,e,[...t,n],r,i);return a===void 0?[]:[a]}),c=k(t);if(Array.isArray(c))return{items:s(c,n)};if(typeof c!=`object`||!c){r.push({path:n,message:`this is a list of items, or { items: [...] }, or { data: <a table>, … }, not ${JSON.stringify(c)}.`});return}let l={},u={},d,f,ee=new Set(e.fields.flatMap(e=>[e.name,...e.aliases??[]])),p=[`items`,`milestones`,`events`,`stages`,`phases`,`people`,`members`,`stats`,`kpis`,...Ue,`entries`,`risks`,`points`];for(let[e,t]of Object.entries(c)){let n=T(e);p.includes(n)?d=t:n===`data`||n===`source`&&a!==`link`?f=t:ee.has(n)?l[e]=t:u[e]=t}let m=j(e,l,n,r,i)??{};if(d!==void 0&&f!==void 0&&r.push({path:n,message:`give items or data, not both.`}),d!==void 0){let e=k(d);Array.isArray(e)?m.items=s(e,[...n,`items`]):r.push({path:[...n,`items`],message:`items is a list.`})}else if(f!==void 0){typeof f!=`string`||f.trim()===``?r.push({path:[...n,`data`],message:`data names a table: ../budget/budget#kpis.`}):m.data=f.trim();let e=new Map;for(let t of o.fields){e.set(t.name,t.name);for(let n of t.aliases??[])e.has(n)||e.set(n,t.name)}let t={};for(let[i,a]of Object.entries(u)){let s=e.get(T(i));s===void 0||typeof a!=`string`?r.push({path:[...n,i],message:s===void 0?`there is no ${i}: with data, a field names its column (${o.fields.map(e=>e.name).join(`, `)}).`:`${i} names a column of the data, not ${JSON.stringify(a)}.`}):t[s]=a}Object.keys(t).length>0&&(m.columns=t)}else{for(let t of Object.keys(u))r.push({path:[...n,t],message:`there is no ${t}: this block has items (or data), ${e.fields.map(e=>e.name).join(`, `)}.`});Object.keys(u).length===0&&r.push({path:n,message:`this block has items, or data.`})}return m}var it=[`columns`,`rows`,`data`,`head`,`total`,`alt`],at={left:`left`,l:`left`,start:`left`,center:`center`,centre:`center`,ctr:`center`,middle:`center`,right:`right`,r:`right`,end:`right`};function ot(e,t,n){let r=k(e);if(typeof r!=`object`||!r||Array.isArray(r)){n.push({path:t,message:`a table is { columns, rows } or { data }.`});return}let i={fields:`columns`,headers:`columns`,source:`data`,header:`head`,totals:`total`},a={};for(let[e,o]of Object.entries(r)){let r=T(e),s=i[r]??r;if(!it.includes(s)){n.push({path:[...t,e],message:`there is no ${e}: a table has ${it.join(`, `)}.`});continue}if(a[s]!==void 0){n.push({path:[...t,e],message:`${e} is ${s} again: give one.`});continue}let c=[...t,e],l=k(o);if(s===`columns`){if(!Array.isArray(l)){n.push({path:c,message:`columns is a list: a name each, or { name, title, align, format, width, tag }.`});continue}let e=[];l.forEach((t,r)=>{if(typeof t==`string`||typeof t==`number`){e.push({name:String(t)});return}if(typeof t!=`object`||!t){n.push({path:[...c,r],message:`a column is its name, or { name, … }.`});return}let i={name:``};for(let[e,a]of Object.entries(t)){let t=T(e);(t===`name`||t===`key`||t===`field`)&&typeof a==`string`?i.name=a:(t===`title`||t===`label`||t===`header`)&&typeof a==`string`?i.title=a:t===`align`&&typeof a==`string`&&at[T(a)]!==void 0?i.align=at[T(a)]??`left`:(t===`format`||t===`number_format`)&&typeof a==`string`?i.format=a:t===`width`&&(typeof a==`number`||typeof a==`string`)?i.width=a:(t===`tag`||t===`pill`||t===`badge`||t===`status`)&&typeof a==`boolean`?i.tag=a:(t===`avatar`||t===`person`||t===`people`||t===`initials`||t===`owner`)&&typeof a==`boolean`?i.avatar=a:n.push({path:[...c,r,e],message:`a column has name, title, align (left, center, right), format, width, tag, avatar; not ${e}: ${JSON.stringify(a)}.`})}i.name===``&&i.title!==void 0&&i.title!==``&&(i.name=i.title),i.name===``&&(i.name=String(r+1)),e.push(i)}),a.columns=e}else if(s===`rows`)Array.isArray(l)?a.rows=l:n.push({path:c,message:`rows is a list of rows, each a list of cells or a record by column.`});else if(s===`data`)typeof l==`string`&&l.trim()!==``?a.data=l.trim():n.push({path:c,message:`data names a table: ../budget/budget#orders, or a CSV.`});else if(s===`head`||s===`total`){let e=A({name:s,type:`bool`},l,c,n);e!=null&&(a[s]=e)}else typeof l==`string`&&(a[s]=l)}return a.rows===void 0&&a.data===void 0&&n.push({path:t,message:`a table has rows, or data.`}),a}var st={column:`column-clustered`,columns:`column-clustered`,vertical_bar:`column-clustered`,bar:`bar-clustered`,horizontal_bar:`bar-clustered`,donut:`doughnut`,xy:`scatter`,point:`scatter`,points:`scatter`,lines:`line`,areas:`area`};function ct(e){let t=T(e),n=st[t];if(n!==void 0)return n;let r=t.replace(/([a-z])(\d)/gu,`$1_$2`).split(`_`),i=r.find(e=>[`column`,`bar`,`line`,`area`,`scatter`].includes(e));if(i===void 0)return e;let a=[i];return r.includes(`stacked`)&&a.push(`stacked`),(r.includes(`100`)||r.includes(`percent`))&&a.push(`100`),r.includes(`clustered`)&&a.push(`clustered`),r.includes(`markers`)&&a.push(`markers`),r.includes(`smooth`)&&a.push(`smooth`),(i===`column`||i===`bar`)&&a.length===1&&a.push(`clustered`),a.join(`-`)}function lt(e){let t={};for(let[n,r]of Object.entries(e)){let e=T(n);e===`type`&&typeof r==`string`?t.type=ct(r):e===`labels`&&Array.isArray(r)?t.categories=r:e===`datasets`&&Array.isArray(r)?t.series=r.map(e=>{if(typeof e!=`object`||!e)return e;let t={};for(let[n,r]of Object.entries(e)){let e=T(n);e===`label`?t.name=r:e===`data`?t.values=r:e===`background_color`||e===`border_color`?t.color??=r:t[e]=r}return t}):e===`data_labels`&&r!==void 0?t.labels=r:e===`legend`&&(r===!1||r===`none`||r===`false`)?t.legend=`none`:t[e]=r}let n=t.format??t.number_format;if(typeof n==`string`){delete t.format,delete t.number_format;let e=t.value_axis;e===void 0?t.value_axis={format:n}:typeof e==`object`&&e&&!Array.isArray(e)&&(t.value_axis={format:n,...e});let r=t.labels;r===!0?t.labels={value:!0,format:n}:typeof r==`object`&&r&&!Array.isArray(r)&&(t.labels={format:n,...r})}return t}var M,ut=()=>{if(M!==void 0)return M;let t=G.extend({title:e().optional()});return M=Cn.extend({title:e().optional(),value_axis:t.optional(),category_axis:t.optional(),secondary_axis:t.optional(),points:o(e(),r([e(),o(e(),e())])).optional(),alt:e().optional(),legend:a([..._n,`none`]).optional()}),M};function dt(e,t,n={}){let r=[],i=ft(e,t)??Ke(e);if(i===void 0)return r.push({path:[],message:`there is no block ${e}: the blocks are ${w.join(`, `)}.`}),{problems:r};if(i===`chart`){let e=k(t);if(typeof e!=`object`||!e||Array.isArray(e))return r.push({path:[],message:`a chart is { type, categories, series } or { type, data, … }.`}),{problems:r};let n=ut().safeParse(lt(e));if(!n.success){for(let e of n.error.issues)r.push({path:e.path.map(e=>typeof e==`number`?e:String(e)),message:e.message});return{problems:r}}return{block:{kind:i,fields:n.data},problems:r}}let a=i===`table`?ot(t,[],r):We(i)?Fe(i,t,[],r,n):rt(O[i],t,[],r,n);return a===void 0?{problems:r}:{block:{kind:i,fields:a},problems:r}}function ft(e,t){if(T(e)!==`flow`)return;let n=k(t),r=Array.isArray(n)?n[0]:n;if(typeof r==`object`&&r)return Object.keys(r).map(T).some(e=>Re.includes(e))?`sankey`:void 0}function pt(e,t,n={}){let r=[],i=j(Ze[e],t,[],r,n);return i===void 0?{problems:r}:{fields:i,problems:r}}function mt(e){return e===`chart`||e===`table`||We(e)?void 0:O[e].item}var ht=[`stat`,`stats`,`card`,`tag`,`callout`,`icon`,`progress`,`timeline`,`steps`,`person`,`people`,`risk_matrix`,`sankey`,`gantt`,...ne];function N(e){return t().superRefine((t,n)=>{for(let r of dt(e,t,{wordsElsewhere:!0}).problems)n.addIssue({code:`custom`,path:r.path,message:r.message})})}var gt=/^[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+)*$/u,_t=n({display:e(),speak:e()}),P=n({declarations:f(e()).default([]),selectors:f(e()).default([]),match:o(e(),e()).refine(e=>Object.keys(e).length>0,`A match needs at least one case.`)}),vt=r([e(),_t,m([P])]),yt=o(e(),t()).superRefine((e,t)=>{for(let[n,r]of Object.entries(e)){if(n===`$schema`){typeof r!=`string`&&t.addIssue({code:`custom`,path:[n],message:`$schema is a string.`});continue}gt.test(n)||t.addIssue({code:`custom`,path:[n],message:`"${n}" is not a message key: letters, digits, _ and -, in segments joined by dots.`});let e=vt.safeParse(r);e.success||t.addIssue({code:`custom`,path:[n],message:Array.isArray(r)?`A message with variants is [{ "declarations": […], "selectors": […], "match": {…} }]: ${e.error.issues.map(e=>e.message).join(`; `)}`:`A message is a string, { display, speak }, or [{ declarations, selectors, match }].`})}}).transform(e=>{let t={...e};return delete t.$schema,t}),bt=/^[A-Za-z0-9_-]+$/u,F=e().regex(bt,`A name is letters, digits, _ and -.`),I=u(()=>r([e(),_t,P,f(I),o(F,I)])),xt=n({id:F,say:r([e(),P]).optional(),screen:o(F,I).optional()}),St=n({id:F,text:o(F,I).optional(),alt:o(F,e()).optional(),notes:r([e(),P]).optional()}),Ct=n({id:F,text:o(F,I).optional()}),wt=n({title:e().optional(),text:o(F,I).optional(),parts:f(xt).default([]),slides:f(St).default([]),boards:f(Ct).default([])}).superRefine((e,t)=>{let n=new Set;e.parts.forEach((e,r)=>{n.has(e.id)&&t.addIssue({code:`custom`,path:[`parts`,r,`id`],message:`Two parts are "${e.id}".`}),n.add(e.id)});let r=new Set;e.slides.forEach((e,n)=>{r.has(e.id)&&t.addIssue({code:`custom`,path:[`slides`,n,`id`],message:`Two slides are "${e.id}".`}),r.add(e.id)});let i=new Set;e.boards.forEach((e,n)=>{i.has(e.id)&&t.addIssue({code:`custom`,path:[`boards`,n,`id`],message:`Two boards are "${e.id}".`}),i.add(e.id)})}),Tt=e().regex(bt,`A name is letters, digits, _ and -.`),L=[`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`],Et=[`l`,`ctr`,`r`,`just`],Dt=`line.lineInv.triangle.rtTriangle.rect.diamond.parallelogram.trapezoid.nonIsoscelesTrapezoid.pentagon.hexagon.heptagon.octagon.decagon.dodecagon.star4.star5.star6.star7.star8.star10.star12.star16.star24.star32.roundRect.round1Rect.round2SameRect.round2DiagRect.snipRoundRect.snip1Rect.snip2SameRect.snip2DiagRect.plaque.ellipse.teardrop.homePlate.chevron.pieWedge.pie.blockArc.donut.noSmoking.rightArrow.leftArrow.upArrow.downArrow.stripedRightArrow.notchedRightArrow.bentUpArrow.leftRightArrow.upDownArrow.leftUpArrow.leftRightUpArrow.quadArrow.leftArrowCallout.rightArrowCallout.upArrowCallout.downArrowCallout.leftRightArrowCallout.upDownArrowCallout.quadArrowCallout.bentArrow.uturnArrow.circularArrow.leftCircularArrow.leftRightCircularArrow.curvedRightArrow.curvedLeftArrow.curvedUpArrow.curvedDownArrow.swooshArrow.cube.can.lightningBolt.heart.sun.moon.smileyFace.irregularSeal1.irregularSeal2.foldedCorner.bevel.frame.halfFrame.corner.diagStripe.chord.arc.leftBracket.rightBracket.leftBrace.rightBrace.bracketPair.bracePair.straightConnector1.bentConnector2.bentConnector3.bentConnector4.bentConnector5.curvedConnector2.curvedConnector3.curvedConnector4.curvedConnector5.callout1.callout2.callout3.accentCallout1.accentCallout2.accentCallout3.borderCallout1.borderCallout2.borderCallout3.accentBorderCallout1.accentBorderCallout2.accentBorderCallout3.wedgeRectCallout.wedgeRoundRectCallout.wedgeEllipseCallout.cloudCallout.cloud.ribbon.ribbon2.ellipseRibbon.ellipseRibbon2.leftRightRibbon.verticalScroll.horizontalScroll.wave.doubleWave.plus.flowChartProcess.flowChartDecision.flowChartInputOutput.flowChartPredefinedProcess.flowChartInternalStorage.flowChartDocument.flowChartMultidocument.flowChartTerminator.flowChartPreparation.flowChartManualInput.flowChartManualOperation.flowChartConnector.flowChartPunchedCard.flowChartPunchedTape.flowChartSummingJunction.flowChartOr.flowChartCollate.flowChartSort.flowChartExtract.flowChartMerge.flowChartOfflineStorage.flowChartOnlineStorage.flowChartMagneticTape.flowChartMagneticDisk.flowChartMagneticDrum.flowChartDisplay.flowChartDelay.flowChartAlternateProcess.flowChartOffpageConnector.actionButtonBlank.actionButtonHome.actionButtonHelp.actionButtonInformation.actionButtonForwardNext.actionButtonBackPrevious.actionButtonEnd.actionButtonBeginning.actionButtonReturn.actionButtonDocument.actionButtonSound.actionButtonMovie.gear6.gear9.funnel.mathPlus.mathMinus.mathMultiply.mathDivide.mathEqual.mathNotEqual.cornerTabs.squareTabs.plaqueTabs.chartX.chartStar.chartPlus`.split(`.`),Ot=[`appear`,`fade`,`fly-in`,`float-in`,`split`,`wipe`,`zoom`,`disappear`,`fade-out`,`fly-out`,`float-out`,`split-out`,`wipe-out`,`zoom-out`,`pulse`,`grow-shrink`,`spin`,`transparency`,`path`],kt=[`word`,`letter`],At=[`until-next-click`,`until-end-of-slide`],jt=[`on-click`,`with-previous`,`after-previous`],Mt=[`from-bottom`,`from-top`,`from-left`,`from-right`,`from-top-right`,`from-bottom-right`,`from-top-left`,`from-bottom-left`,`vertical-out`,`vertical-in`,`horizontal-out`,`horizontal-in`,`in`,`out`,`rotate`,`up`,`down`,`clockwise`,`counterclockwise`,`both`,`horizontal`,`vertical`],Nt=[`solid`,`sysDot`,`sysDash`,`dash`,`dashDot`,`lgDash`,`lgDashDot`,`lgDashDotDot`,`dot`,`sysDashDot`,`sysDashDotDot`],Pt=[`flat`,`rnd`,`sq`],Ft=[`round`,`bevel`,`miter`],It=[`sng`,`dbl`,`thickThin`,`thinThick`,`tri`],Lt=[`none`,`triangle`,`arrow`,`stealth`,`diamond`,`oval`],Rt=[`sm`,`med`,`lg`],zt=n({w:a(Rt).optional(),len:a(Rt).optional()}),Bt=n({x:i(),y:i(),w:i().nonnegative(),h:i().nonnegative()}),Vt=[`tx1`,`bg1`,`tx2`,`bg2`],R=[...L,...Vt],z=[`tint`,`shade`,`lumMod`,`lumOff`,`lum`,`satMod`,`satOff`,`sat`,`hueMod`,`hueOff`,`hue`,`alpha`,`alphaMod`,`alphaOff`],Ht=`(?:${R.join(`|`)})`,Ut=`(?:${z.join(`|`)}) -?\\d+(?:\\.\\d+)?(?:%|°)`,Wt=RegExp(`^(${Ht}) (lighter|darker) (100(?:\\.0{1,3})?|[1-9]?\\d(?:\\.\\d{1,3})?)%$`,`u`),Gt=RegExp(`^(${Ht}|#[0-9A-Fa-f]{6})((?: ${Ut})+)$`,`u`),Kt=/^#[0-9A-Fa-f]{6}$/u,qt=e=>R.includes(e),Jt=e=>z.includes(e),Yt=new Set([`hue`,`hueOff`]);function Xt(e){if(qt(e))return e;if(Kt.test(e))return{rgb:e.toUpperCase()};let t=Gt.exec(e);if(t){let[,e=``,n=``]=t,r=[];for(let e of n.matchAll(/ (\w+) (-?[\d.]+)(%|°)/gu)){let[,t=``,n=``,i]=e;if(!Jt(t)||i===`°`!==Yt.has(t))return;let a=Number(n);r.push({name:t,value:i===`%`?Math.round(a*1e3)/1e5:a})}return qt(e)?{theme_color:e,transforms:r}:{rgb:e.toUpperCase(),transforms:r}}let n=Wt.exec(e),[,r=``,i,a=``]=n??[],o=Math.round(Number(a)*1e3);if(!(!n||!qt(r)||o<=0||o>1e5))return{theme_color:r,brightness:(i===`lighter`?o:-o)/1e5}}var Zt=e=>Yt.has(e.name)?`${e.name} ${String(Math.round(e.value*1e3)/1e3)}°`:`${e.name} ${String(Math.round(e.value*1e5)/1e3)}%`;function Qt(e){if(typeof e==`string`)return e;if(`rgb`in e)return e.transforms&&e.transforms.length>0?`${e.rgb} ${e.transforms.map(Zt).join(` `)}`:e.rgb;if(`transforms`in e)return e.transforms.length===0?e.theme_color:`${e.theme_color} ${e.transforms.map(Zt).join(` `)}`;let t=Math.round(Math.abs(e.brightness)*1e5)/1e3;return t===0?e.theme_color:`${e.theme_color} ${e.brightness>0?`lighter`:`darker`} ${String(t)}%`}var B=`A colour is one of the theme's (${L.join(`, `)}) or the colour map's (${Vt.join(`, `)}), one of them lighter or darker by a share over 0 up to 100% ("accent1 lighter 40%", "dk1 darker 25%"), #RRGGBB, or one of them with DrawingML's transforms in order ("accent1 lumMod 75% lumOff 25%", "#4472C4 alpha 50%", "accent2 hueOff 30°": ${z.join(`, `)}).`,V=r([a(R),e().regex(Wt,B),e().regex(Kt,B),e().regex(Gt,B)]).refine(e=>Xt(e)!==void 0,B),H=`alphaLcParenBoth.alphaUcParenBoth.alphaLcParenR.alphaUcParenR.alphaLcPeriod.alphaUcPeriod.arabicParenBoth.arabicParenR.arabicPeriod.arabicPlain.romanLcParenBoth.romanUcParenBoth.romanLcParenR.romanUcParenR.romanLcPeriod.romanUcPeriod.circleNumDbPlain.circleNumWdBlackPlain.circleNumWdWhitePlain.arabicDbPeriod.arabicDbPlain.ea1ChsPeriod.ea1ChsPlain.ea1ChtPeriod.ea1ChtPlain.ea1JpnChsDbPeriod.ea1JpnKorPlain.ea1JpnKorPeriod.arabic1Minus.arabic2Minus.hebrew2Minus.thaiAlphaPeriod.thaiAlphaParenR.thaiAlphaParenBoth.thaiNumPeriod.thaiNumParenR.thaiNumParenBoth.hindiAlphaPeriod.hindiNumPeriod.hindiNumParenR.hindiAlpha1Period`.split(`.`),$t=[`sng`,`dbl`,`heavy`,`dotted`,`dottedHeavy`,`dash`,`dashHeavy`,`dashLong`,`dashLongHeavy`,`dotDash`,`dotDashHeavy`,`dotDotDash`,`dotDotDashHeavy`,`wavy`,`wavyHeavy`,`wavyDbl`,`words`],en=[`sngStrike`,`dblStrike`],tn=[`all`,`small`,`none`],nn=[`horz`,`vert`,`vert270`,`eaVert`,`wordArtVert`,`wordArtVertRtl`,`mongolianVert`],rn=[`t`,`ctr`,`b`],U=r([i().min(0).max(1584),p({lines:i().min(0).max(100)})]),W=i().min(0).max(4032),an=r([i().positive().max(10),n({lines:i().positive().max(10)}),n({points:i().positive().max(1584)})]),on=n({left:W.optional(),top:W.optional(),right:W.optional(),bottom:W.optional()}),sn=[`none`,`shrink`,`grow`],cn=n({margin_left:W.optional(),indent:i().min(-4032).max(4032).optional(),size:i().positive().max(4e3).optional(),bold:l().optional(),italic:l().optional(),color:V.optional(),bullet:r([c(!1),e().min(1).max(2)]).optional(),numbered:a(H).optional()}),ln=n({paragraph:s().min(0),paragraphs:s().min(1).optional(),align:a(Et).optional(),line_spacing:an.optional(),space_before:U.optional(),space_after:U.optional(),bullet:r([c(!1),e().min(1).max(2)]).optional(),numbered:a(H).optional(),bullet_color:V.optional(),bullet_size:i().min(.25).max(4).optional(),start_at:s().min(1).max(32767).optional(),margin_left:W.optional(),indent:i().min(-4032).max(4032).optional()}),un=n({size:i().positive().max(4e3).optional(),bold:l().optional(),italic:l().optional(),underline:r([l(),a($t)]).optional(),strike:r([l(),a(en)]).optional(),caps:a(tn).optional(),spacing:i().min(-100).max(100).optional(),color:V.optional(),font:e().min(1).optional(),align:a(Et).optional(),line_spacing:an.optional(),space_before:U.optional(),space_after:U.optional(),anchor:a(rn).optional(),orientation:a(nn).optional(),bullet:r([c(!1),e().min(1).max(2)]).optional(),numbered:a(H).optional(),bullet_color:V.optional(),bullet_size:i().min(.25).max(4).optional(),start_at:s().min(1).max(32767).optional(),margin:r([W,on]).optional(),margin_left:W.optional(),margin_top:W.optional(),margin_right:W.optional(),margin_bottom:W.optional(),autofit:a(sn).optional(),wrap:l().optional(),columns:s().min(1).max(16).optional(),column_spacing:W.optional(),levels:f(cn).max(9).optional(),paragraphs:f(ln).optional()}),dn=n({left:i().lt(1).optional(),top:i().lt(1).optional(),right:i().lt(1).optional(),bottom:i().lt(1).optional()}).refine(e=>(e.left??0)+(e.right??0)<1,{message:`left and right together cut the whole picture away`}).refine(e=>(e.top??0)+(e.bottom??0)<1,{message:`top and bottom together cut the whole picture away`}),fn=u(()=>r([e(),i(),l(),d(),f(fn),o(e(),fn)])),pn=[`waterfall`,`box-whisker`,`histogram`,`pareto`,`treemap`,`sunburst`,`funnel`],mn=[`dumbbell`,`slope`,`bullet`],hn=[`column-clustered`,`column-stacked`,`column-stacked-100`,`bar-clustered`,`bar-stacked`,`bar-stacked-100`,`line`,`line-markers`,`area`,`area-stacked`,`area-stacked-100`,`pie`,`doughnut`,`radar`,`radar-markers`,`radar-filled`,`bubble`,`stock-hlc`,`stock-ohlc`,...pn,...mn,`scatter`,`scatter-lines`,`scatter-smooth`],gn=[`exclusive`,`inclusive`],_n=[`bottom`,`top`,`left`,`right`],vn=[`column-clustered`,`column-stacked`,`column-stacked-100`,`line`,`line-markers`,`area`,`area-stacked`,`area-stacked-100`],yn=[`circle`,`square`,`diamond`,`triangle`,`x`,`star`,`plus`,`dash`,`dot`,`none`],bn=r([l(),n({value:l().optional(),percentage:l().optional(),category:l().optional(),series:l().optional(),format:e().min(1).optional(),position:a([`outEnd`,`inEnd`,`ctr`,`inBase`,`t`,`b`,`l`,`r`,`bestFit`]).optional(),size:i().positive().optional(),color:V.optional(),bold:l().optional(),first:l().optional(),last:l().optional()})]),xn=[`nextTo`,`low`,`high`,`none`],Sn=[`none`,`in`,`out`,`cross`],G=n({min:i().optional(),max:i().optional(),major:i().positive().optional(),gridlines:l().optional(),visible:l().optional(),format:e().min(1).optional(),reverse:l().optional(),gridline_color:V.optional(),line_color:V.optional(),labels:a(xn).optional(),tick_marks:a(Sn).optional(),minor_tick_marks:a(Sn).optional(),crosses:a([`autoZero`,`min`,`max`]).optional(),crosses_at:i().optional(),log_base:i().min(2).max(1e3).optional(),units:a([`hundreds`,`thousands`,`tenThousands`,`hundredThousands`,`millions`,`tenMillions`,`hundredMillions`,`billions`,`trillions`]).optional(),units_label:l().optional(),minor:i().positive().optional(),minor_gridlines:l().optional(),label_angle:i().min(-90).max(90).optional(),label_every:s().min(1).max(31999).optional()}),Cn=n({type:a(hn),data:e().min(1).optional(),categories:r([e().min(1),f(r([e(),f(e()).min(1)]))]).optional(),series:f(r([e().min(1),n({name:e().min(1),values:f(i().nullable()).optional(),x:f(i().nullable()).optional(),sizes:f(i().nullable()).optional(),size:e().min(1).optional(),color:V.optional(),format:e().min(1).optional(),smooth:l().optional(),line_width:i().min(0).optional(),marker_size:i().int().min(2).max(72).optional(),type:a(vn).optional(),secondary:l().optional(),labels:bn.optional(),line_dash:a(Nt).optional(),marker:a(yn).optional(),transparency:i().min(0).max(1).optional(),fill:c(`none`).optional(),points:o(e(),n({color:V})).optional()})])).min(1),legend:a([..._n,`none`]).optional(),labels:bn.optional(),gap_width:i().min(0).max(500).optional(),overlap:i().min(-100).max(100).optional(),vary_by_categories:l().optional(),category_colors:f(V).min(1).optional(),hole_size:i().min(10).max(90).optional(),totals:f(e().min(1)).min(1).optional(),connector_lines:l().optional(),quartiles:a(gn).optional(),mean_markers:l().optional(),mean_line:l().optional(),outliers:l().optional(),inner_points:l().optional(),bin_count:s().min(1).max(1e3).optional(),bin_width:i().positive().optional(),overflow:i().optional(),underflow:i().optional(),interval_closed:a([`right`,`left`]).optional(),high_low_lines:l().optional(),secondary_gap_width:i().min(0).max(500).optional(),orientation:a([`horizontal`,`vertical`]).optional(),parent_labels:a([`banner`,`overlapping`,`none`]).optional(),value_axis:G.optional(),category_axis:G.optional(),secondary_axis:G.optional(),size:i().positive().optional(),title_size:i().positive().optional(),color:V.optional()}),K=i().min(0).max(1),wn=[`circle`,`rect`,`shape`],Tn=n({angle:i().min(0).max(360).optional(),path:a(wn).optional(),focus:n({left:i().optional(),top:i().optional(),right:i().optional(),bottom:i().optional()}).optional(),stops:f(n({at:K,color:V,transparency:K.optional()})).min(2).max(10)}),En=`pct5.pct10.pct20.pct25.pct30.pct40.pct50.pct60.pct70.pct75.pct80.pct90.horz.vert.ltHorz.ltVert.dkHorz.dkVert.narHorz.narVert.dashHorz.dashVert.cross.dnDiag.upDiag.ltDnDiag.ltUpDiag.dkDnDiag.dkUpDiag.wdDnDiag.wdUpDiag.dashDnDiag.dashUpDiag.diagCross.smCheck.lgCheck.smGrid.lgGrid.dotGrid.smConfetti.lgConfetti.horzBrick.diagBrick.solidDmnd.openDmnd.dotDmnd.plaid.sphere.weave.divot.shingle.wave.trellis.zigZag`.split(`.`),Dn=n({preset:a(En),fg:V.optional(),bg:V.optional()}),On=[`tl`,`t`,`tr`,`l`,`ctr`,`r`,`bl`,`b`,`br`],kn=n({path:e().min(1),tile:n({scale_x:i().positive().max(100).optional(),scale_y:i().positive().max(100).optional(),x:i().optional(),y:i().optional(),align:a(On).optional()}).optional(),transparency:K.optional()}),An=r([a([`grayscale`,`sepia`,`washout`,`black_white`]),n({duotone:m([V,V])}),n({black_white:K})]),jn=n({fill:V.optional(),gradient:Tn.optional(),pattern:Dn.optional(),picture:e().min(1).optional(),picture_fill:kn.optional()}).refine(e=>[e.fill,e.gradient,e.pattern,e.picture,e.picture_fill].filter(e=>e!==void 0).length===1,{message:`A background is a fill, a gradient, a pattern or a picture (picture or picture_fill): one of them.`}),Mn=n({color:V.optional(),blur:i().min(0).max(100).optional(),distance:i().min(0).max(200).optional(),angle:i().min(0).max(360).optional(),transparency:K.optional()}),Nn=n({color:V.optional(),blur:i().min(0).max(100).optional(),distance:i().min(0).max(200).optional(),angle:i().min(0).max(360).optional(),transparency:K.optional()}),Pn=n({color:V.optional(),size:i().min(0).max(150).optional(),transparency:K.optional()}),Fn=n({transparency:K.optional(),size:K.optional(),distance:i().min(0).max(100).optional(),blur:i().min(0).max(100).optional()}),In=r([n({shape:e().min(1),site:s().min(0)}),c(`none`)]),Ln=p({row:s().min(0),column:s().min(0),rows:s().min(1).optional(),columns:s().min(1).optional()});function Rn(e,t,n,r){let i=e.rows??1,a=e.columns??1;if(i*a<2)return`A merge takes two cells or more.`;if(e.row+i>t||e.column+a>n)return`A merge from row ${String(e.row)}, column ${String(e.column)} goes past the table's ${String(t)} rows and ${String(n)} columns.`;for(let t=e.row;t<e.row+i;t++)for(let n=e.column;n<e.column+a;n++){let e=`${String(t)},${String(n)}`;if(r.has(e))return`Two merges take the cell at row ${String(t)}, column ${String(n)}.`;r.add(e)}}var q=r([V,c(`none`),n({color:r([V,c(`none`)]),width:i().min(0).max(1584).optional()})]),zn=n({fill:r([V,c(`none`)]).optional(),text:un.optional(),line:r([V,c(`none`)]).optional(),line_width:i().min(0).max(1584).optional(),borders:n({left:q.optional(),right:q.optional(),top:q.optional(),bottom:q.optional()}).optional()});function Bn(e){if(typeof e!=`object`||!e||Array.isArray(e))return!1;let t=e,n=t.columns??t.fields??t.headers;if(Array.isArray(n)&&n.some(e=>typeof e==`string`||typeof e==`object`&&!!e&&(`name`in e||`title`in e||`tag`in e)))return!0;let r=t.rows;return Array.isArray(r)&&r.some(e=>Array.isArray(e)||typeof e==`object`&&!!e&&!(`height`in e))}var Vn=(e,t,n)=>{Bn(e)!==n&&t.addIssue({code:`invalid_type`,expected:`object`,input:e,message:`not this form of a table`})},Hn=(e,t)=>{if(Vn(e,t,!0),Bn(e))for(let n of dt(`table`,e,{wordsElsewhere:!0}).problems)t.addIssue({code:`custom`,path:n.path,message:n.message})},Un=r([i().positive(),zn.extend({width:i().positive()})]),Wn=zn.extend({row:s().min(0),column:s().min(0),rows:s().min(1).optional(),columns:s().min(1).optional()}),Gn=e=>typeof e==`number`?e:e.width,Kn=[`auto`,`on-click`],qn=n({start:a(Kn).optional(),trim:n({start:i().min(0).optional(),end:i().positive().optional()}).refine(e=>e.start===void 0||e.end===void 0||e.end>e.start,{message:`A trim ends after it starts.`}).optional(),loop:l().optional(),volume:i().min(0).max(1).optional(),fullscreen:l().optional(),hide:l().optional()}),Jn=n({columns:f(Un).min(1),rows:f(n({height:i().positive(),fill:r([V,c(`none`)]).optional(),text:un.optional(),line:V.optional(),line_width:i().min(0).max(1584).optional(),borders:zn.shape.borders})).min(1),merged:f(Ln).optional(),cells:f(Wn).optional(),data:e().min(1).optional(),fields:f(e().min(1)).min(1).optional(),head:l().optional(),style:e().min(1).optional(),first_row:l().optional(),last_row:l().optional(),first_col:l().optional(),last_col:l().optional(),horz_banding:l().optional(),vert_banding:l().optional()}).superRefine((e,t)=>{let n=new Set;e.data===void 0&&(e.fields!==void 0||e.head!==void 0)&&t.addIssue({code:`custom`,path:[e.fields===void 0?`head`:`fields`],message:`fields and head say how a table shows its data: give it data.`}),(e.cells??[]).forEach((n,r)=>{(n.row+(n.rows??1)>e.rows.length||n.column+(n.columns??1)>e.columns.length)&&t.addIssue({code:`custom`,path:[`cells`,r],message:`Cells from row ${String(n.row)}, column ${String(n.column)} go past the table's ${String(e.rows.length)} rows and ${String(e.columns.length)} columns.`})}),(e.merged??[]).forEach((r,i)=>{let a=Rn(r,e.rows.length,e.columns.length,n);a!==void 0&&t.addIssue({code:`custom`,path:[`merged`,i],message:a})})}),Yn=e=>!Bn(e),Xn=n({frame:Bt.optional(),rotation:i().min(0).lt(360).optional(),flip_h:c(!0).optional(),flip_v:c(!0).optional(),connect:n({begin:In.optional(),end:In.optional()}).optional(),z:s().optional(),fill:r([V,c(`none`)]).optional(),fill_transparency:K.optional(),gradient:Tn.optional(),pattern:Dn.optional(),picture_fill:kn.optional(),shadow:Mn.optional(),inner_shadow:Nn.optional(),glow:Pn.optional(),soft_edges:i().positive().max(100).optional(),reflection:Fn.optional(),line:r([V,c(`none`)]).optional(),line_width:i().positive().max(1584).optional(),line_dash:a(Nt).optional(),line_cap:a(Pt).optional(),line_join:a(Ft).optional(),line_compound:a(It).optional(),line_begin:a(Lt).optional(),line_end:a(Lt).optional(),line_begin_size:zt.optional(),line_end_size:zt.optional(),text:un.optional(),textbox:c(!0).optional(),picture:e().min(1).optional(),crop:dn.optional(),fit:a([`fill`,`fit`]).optional(),brightness:i().min(-1).max(1).optional(),contrast:i().min(-1).max(1).optional(),recolor:An.optional(),transparency:K.optional(),movie:e().min(1).optional(),audio:e().min(1).optional(),item:e().min(1).optional(),poster:i().min(0).optional(),playback:qn.optional(),geometry:a(Dt).optional(),adjustments:f(i()).max(8).optional(),path:n({w:i().positive(),h:i().positive(),d:e().min(1)}).optional(),table:r([Jn,t().superRefine(Hn).pipe(ee())]).optional(),chart:Cn.optional(),stat:N(`stat`).optional(),stats:N(`stats`).optional(),card:N(`card`).optional(),tag:N(`tag`).optional(),callout:N(`callout`).optional(),icon:N(`icon`).optional(),progress:N(`progress`).optional(),timeline:N(`timeline`).optional(),steps:N(`steps`).optional(),person:N(`person`).optional(),people:N(`people`).optional(),risk_matrix:N(`risk_matrix`).optional(),sankey:N(`sankey`).optional(),gantt:N(`gantt`).optional(),org_chart:N(`org_chart`).optional(),issue_tree:N(`issue_tree`).optional(),decision_tree:N(`decision_tree`).optional(),fishbone:N(`fishbone`).optional(),matrix:N(`matrix`).optional(),marimekko:N(`marimekko`).optional(),heatmap:N(`heatmap`).optional(),small_multiples:N(`small_multiples`).optional(),link:e().trim().min(1).optional(),group:e().regex(/^[A-Za-z0-9_-]+(?:\/[A-Za-z0-9_-]+)*$/u,`A group is a name of letters, digits, _ and -; a group in a group is outer/inner.`).optional(),locked:c(!0).optional(),decorative:c(!0).optional(),component:r([Tt,e().regex(/^[^#\s]+\.[cm]?[jt]sx?(?:#[A-Za-z_$][\w$]*)?$/u,`A component is a name the deck's module registers, or a module's path and export: ../ui.ts#Dialog.`)]).optional(),props:o(e(),fn).optional(),dur:i().positive().optional()}),Zn=e=>e.split(`/`).map((e,t,n)=>n.slice(0,t+1).join(`/`)),Qn=(e,t)=>e!==void 0&&(e===t||e.startsWith(`${t}/`)),$n=[`firstslide`,`lastslide`,`nextslide`,`previousslide`,`endshow`],er=e=>`ppaction://hlinkshowjump?jump=${e}`;function tr(e){let t=/^ppaction:\/\/hlinkshowjump\?jump=([a-z]+)$/u.exec(e);return $n.find(e=>e===t?.[1])}var nr=e=>e.startsWith(`#`)&&e.length>1?e.slice(1):void 0,rr=[`textbox`,`picture`,`movie`,`audio`,`geometry`,`path`,`table`,`chart`,`component`,`item`,...ht],ir=[`fade`,`push`,`wipe`,`split`,`reveal`,`cut`,`cover`,`uncover`,`zoom`,`morph`],ar=n({type:a(ir),direction:a(Mt).optional(),through_black:c(!0).optional(),duration:i().min(0).optional()}),or=n({shape:e().min(1),paragraph:s().min(0).optional(),effect:a(Ot),direction:a(Mt).optional(),amount:i().positive().max(36e3).optional(),start:a(jt).optional(),duration:i().min(0).optional(),delay:i().min(0).optional(),path:e().min(1).optional(),animate_text:a(kt).optional(),text_delay:i().min(0).max(100).optional(),repeat:r([i().min(1).max(1e4),a(At)]).optional(),rewind:c(!0).optional()}),sr=n({id:Tt,layout:e().min(1).optional(),generate:Tt.optional(),hidden:r([c(!0),f(e())]).optional(),shapes:o(e().min(1),Xn).optional(),animations:f(or).optional(),transition:ar.optional(),advance_after:i().min(0).max(86400).optional(),background:jn.optional(),section:e().trim().min(1).max(255).optional()}),cr=n({slides:f(sr).default([])}).superRefine((e,t)=>{let n=new Set;e.slides.forEach((e,r)=>{n.has(e.id)&&t.addIssue({code:`custom`,path:[`slides`,r,`id`],message:`Two slides are "${e.id}".`}),n.add(e.id),(e.layout===void 0?0:1)+(e.generate===void 0?0:1)!=1&&t.addIssue({code:`custom`,path:[`slides`,r],message:`Slide ${e.id} has a layout or a generator: one of them.`}),e.hidden!==void 0&&e.generate===void 0&&e.hidden!==!0&&t.addIssue({code:`custom`,path:[`slides`,r,`hidden`],message:`Slide ${e.id} is hidden (true); a list of ids is a generated block's.`});for(let[n,i]of Object.entries(e.shapes??{})){let a=rr.filter(e=>i[e]!==void 0&&(e!==`geometry`||i.picture===void 0));a.length>1&&t.addIssue({code:`custom`,path:[`slides`,r,`shapes`,n],message:`Shape ${n} is one kind of shape, not ${a.join(` and `)}.`});let o=n.includes(`/`)?n.split(`/`):[n];(!(o.length<=2&&o.every(e=>bt.test(e)))||o.length===2&&e.generate===void 0)&&t.addIssue({code:`custom`,path:[`slides`,r,`shapes`,n],message:`A shape's name is letters, digits, _ and -; <slide>/<shape> only in a generated block.`})}})}),lr=[`blue`,`sage`,`sand`,`rose`,`slate`,`moss`,`plum`,`ember`,`mist`,`clay`],ur=[...lr,`office`],J={dk1:`#000000`,lt1:`#FFFFFF`,dk2:`#44546A`,lt2:`#E7E6E6`,accent1:`#4472C4`,accent2:`#ED7D31`,accent3:`#A5A5A5`,accent4:`#FFC000`,accent5:`#5B9BD5`,accent6:`#70AD47`,hlink:`#0563C1`,folHlink:`#954F72`};function Y(e,t,n,r){let[i,a,o,s,c,l]=r;return{name:e,colors:{dk1:`#151515`,lt1:`#FFFFFF`,dk2:n,lt2:t,accent1:i,accent2:a,accent3:o,accent4:s,accent5:c,accent6:l,hlink:J.hlink,folHlink:J.folHlink}}}var X=`#A39E96`,dr={blue:Y(`blue`,`#DEE5F7`,`#212B5C`,[`#4257B8`,`#D29A32`,`#C2603F`,`#2F8487`,`#7A5BA6`,X]),sage:Y(`sage`,`#D7EDE2`,`#1F4532`,[`#3E8A63`,`#D29A32`,`#3E5BA9`,`#C2603F`,`#2F8487`,X]),sand:Y(`sand`,`#EDE8DE`,`#463B28`,[`#8C7550`,`#3E5BA9`,`#C2603F`,`#2F8487`,`#7A5BA6`,X]),rose:Y(`rose`,`#F0E4E1`,`#4D302B`,[`#9A5F55`,`#D29A32`,`#3E5BA9`,`#2F8487`,`#7A5BA6`,X]),slate:Y(`slate`,`#DDE3E8`,`#283D40`,[`#4F7A80`,`#D29A32`,`#3E5BA9`,`#C2603F`,`#7A5BA6`,X]),moss:Y(`moss`,`#DDE8D8`,`#253D1F`,[`#4A7A3E`,`#D29A32`,`#3E5BA9`,`#C2603F`,`#2F8487`,X]),plum:Y(`plum`,`#E8DDEF`,`#3A284D`,[`#74509A`,`#D29A32`,`#3E5BA9`,`#C2603F`,`#2F8487`,X]),ember:Y(`ember`,`#F0E4D8`,`#543118`,[`#A8622F`,`#3E5BA9`,`#2F8487`,`#7A5BA6`,`#3F8A63`,X]),mist:Y(`mist`,`#E2E8E8`,`#274141`,[`#4E8282`,`#D29A32`,`#3E5BA9`,`#C2603F`,`#7A5BA6`,X]),clay:Y(`clay`,`#EDE4DC`,`#473020`,[`#8E6040`,`#D29A32`,`#3E5BA9`,`#2F8487`,`#7A5BA6`,X])};function fr(e){let t=e.toLowerCase();return t===`office`?J:dr[t]?.colors}var pr=r([a(ur),n({name:a(ur).optional(),colors:te(a(L),e().regex(/^#[0-9A-Fa-f]{6}$/u,`A colour is #RRGGBB.`)).optional()})]);function mr(e,t=J){if(e===void 0)return t;let n=typeof e==`string`?e:e.name,r=n===void 0?t:fr(n)??t,i=typeof e==`string`?void 0:e.colors;if(!i)return r;let a={...r};for(let[e,t]of Object.entries(i))a[e]=t.toUpperCase();return a}var hr=/^(?:#[0-9A-Fa-f]{6}|(?:dk1|lt1|dk2|lt2|accent[1-6]|hlink|folHlink)(?: (?:lighter|darker) (?:100|[1-9]?\d(?:\.\d+)?)%)?)$/u;function gr(e,t,n){if(e.startsWith(`#`))return e;let r=/^(\w+)(?: (lighter|darker) ([\d.]+)%)?$/u.exec(e),i=r?t[r[1]]:void 0;if(!r||i===void 0)return e;if(r[2]===void 0)return i;let a=Number(r[3])/100;return n(i,r[2]===`lighter`?a:-a)}var _r=new Map([[`ctr`,`center`,`centre`,`middle`,`mid`,`centered`,`centred`],[`t`,`top`],[`b`,`bottom`],[`l`,`left`],[`r`,`right`],[`just`,`justify`,`justified`],[`out`,`outside`,`outer`],[`in`,`inside`,`inner`]].flatMap(e=>e.map(t=>[t,e[0]])));function Z(e){return e.replace(/([a-z0-9])([A-Z])/gu,`$1 $2`).toLowerCase().split(/[\s_\-.]+/u).filter(e=>e!==``).map(e=>_r.get(e)??e).join(``)}function vr(e,t){for(let n of[Z(e),Z(`${e} clustered`)]){let e=t.filter(e=>typeof e==`string`&&Z(e)===n);if(e.length===1)return e[0]}}function yr(e,t){let n=Dr[Z(e)];return vr(e,t)??(n!==void 0&&t.includes(n)?n:void 0)}function br(e,t){let n=Array.from({length:e.length+1},(e,n)=>Array.from({length:t.length+1},(e,t)=>n===0?t:t===0?n:0)),r=(e,t)=>n[e]?.[t]??0;for(let i=1;i<=e.length;i++)for(let a=1;a<=t.length;a++){let o=e[i-1]===t[a-1]?0:1,s=Math.min(r(i-1,a)+1,r(i,a-1)+1,r(i-1,a-1)+o);i>1&&a>1&&e[i-1]===t[a-2]&&e[i-2]===t[a-1]&&(s=Math.min(s,r(i-2,a-2)+1));let c=n[i];c&&(c[a]=s)}return r(e.length,t.length)}function xr(e,t){let n=e.toLowerCase(),r;for(let i of t){if(typeof i!=`string`)continue;let t=Math.min(br(n,i.toLowerCase()),br(Z(e),Z(i)));(r===void 0||t<r.d)&&(r={value:i,d:t})}return r&&r.d<=Math.max(1,Math.floor(n.length/3))?r.value:void 0}function Sr(e){return e.every(e=>e.path.length===0&&(e.code===`invalid_type`||e.code===`invalid_union`&&e.errors.every(Sr)))}function Q(e,t=[]){let n=[...t,...e.path];if(e.code!==`invalid_union`)return[{issue:e,at:n}];let r=e.errors.filter(e=>!Sr(e)),i=r.length>0?r:e.errors,a=Math.min(...i.map(e=>e.length));return i.filter(e=>e.length===a).flatMap(e=>e.flatMap(e=>Q(e,n)))}var Cr=e=>e===null||e===!1||e===`none`;function $(e,t){if(t.length===0)return;let n=e;for(let e of t.slice(0,-1)){if(typeof n!=`object`||!n)return;n=n[e]}let r=t[t.length-1];if(typeof n==`object`&&n&&r!==void 0)return{parent:n,key:r}}var wr={horizontal:`align`,vertical:`valign`,wrap_text:`wrap`,wrapText:`wrap`,shrink_to_fit:`shrink`,shrinkToFit:`shrink`,text_rotation:`rotation`,textRotation:`rotation`,number_format:`format`,numFmt:`format`,strikethrough:`strike`,fill_type:`pattern`,patternType:`pattern`,fgColor:`color`,start_color:`color`,bgColor:`background`,end_color:`background`,freeze_panes:`freeze`,merged_cells:`merges`,tabColor:`tab`,tab_color:`tab`,showGridLines:`gridlines`,show_gridlines:`gridlines`,allow_blank:`blank`,allowBlank:`blank`},Tr={word_wrap:`wrap`,wrap_text:`wrap`,auto_size:`autofit`,autosize:`autofit`,auto_fit:`autofit`,inset:`margin`,insets:`margin`,margins:`margin`,padding:`margin`,lIns:`margin_left`,tIns:`margin_top`,rIns:`margin_right`,bIns:`margin_bottom`,numCol:`columns`,num_columns:`columns`,column_count:`columns`,spcCol:`column_spacing`,column_gap:`column_spacing`,marL:`margin_left`,first_line_indent:`indent`,alignment:`align`,horizontal:`align`,lnSpc:`line_spacing`,spcBef:`space_before`,spcAft:`space_after`,exactly:`points`,fixed:`points`,vertical_anchor:`anchor`,font_size:`size`,font_name:`font`,tick_label_position:`labels`,major_tick_mark:`tick_marks`,minor_tick_mark:`minor_tick_marks`,log:`log_base`,logBase:`log_base`,display_units:`units`,minor_unit:`minor`,has_minor_gridlines:`minor_gridlines`,tick_label_skip:`label_every`,tickLblSkip:`label_every`,subtotals:`totals`,set_as_total:`totals`,show_connector_lines:`connector_lines`,connectors:`connector_lines`,quartile_method:`quartiles`,quartile_calculation:`quartiles`,show_mean_markers:`mean_markers`,show_mean_line:`mean_line`,show_outlier_points:`outliers`,show_outliers:`outliers`,show_inner_points:`inner_points`,show_nonoutliers:`inner_points`,parent_label_layout:`parent_labels`,hi_low_lines:`high_low_lines`,hilo_lines:`high_low_lines`,bubble_sizes:`sizes`,bins:`bin_count`,number_of_bins:`bin_count`,bin_size:`bin_width`,overflow_bin:`overflow`,underflow_bin:`underflow`,kpi:`stat`,metric:`stat`,kpis:`stats`,metrics:`stats`,scorecard:`stats`,badge:`tag`,pill:`tag`,chip:`tag`,alert:`callout`,admonition:`callout`,gauge:`progress`,progress_bar:`progress`,milestones:`timeline`,process:`steps`,stepper:`steps`,avatar:`person`,team:`people`,alluvial:`sankey`,roadmap:`gantt`,gantt_chart:`gantt`,timeline_gantt:`gantt`,align:`text.align`,bold:`text.bold`,italic:`text.italic`,size:`text.size`,font:`text.font`,anchor:`text.anchor`,valign:`text.anchor`,margin:`text.margin`,autofit:`text.autofit`,wrap:`text.wrap`},Er=[`text`,`frame`,`textbox`,`geometry`,`fill`,`height`,`width`,`row`],Dr={shapetofittext:`grow`,resizeshapetofittext:`grow`,spautofit:`grow`,resize:`grow`,texttofitshape:`shrink`,shrinktextonoverflow:`shrink`,normautofit:`shrink`,fit:`shrink`,noautofit:`none`,donotautofit:`none`,bridge:`waterfall`,bridgechart:`waterfall`,box:`box-whisker`,boxplot:`box-whisker`,boxandwhisker:`box-whisker`,boxandwhiskers:`box-whisker`,boxwhiskers:`box-whisker`,whisker:`box-whisker`,spider:`radar`,spiderweb:`radar`,web:`radar`,candlestick:`stock-ohlc`,ohlc:`stock-ohlc`,hlc:`stock-hlc`,highlow:`stock-hlc`,stock:`stock-hlc`,range:`dumbbell`,rangeplot:`dumbbell`,arrow:`dumbbell`,barbell:`dumbbell`,slopegraph:`slope`,bulletgraph:`bullet`,tree:`treemap`,rings:`sunburst`,radialtreemap:`sunburst`,conversionfunnel:`funnel`,hist:`histogram`,distribution:`histogram`,paretochart:`pareto`,inc:`inclusive`,exc:`exclusive`},Or=/^#?(?:[0-9a-fA-F]{2})?([0-9a-fA-F]{6})$/u;function kr(e,t,n){let r=!1;for(let{issue:i,at:a}of t.flatMap(e=>Q(e))){if(i.code===`unrecognized_keys`){let t=$(e,[...a,``]);if(!t||Array.isArray(t.parent))continue;let o=t.parent;for(let e of i.keys){let t=n[e];if(t===void 0)continue;let[i,a]=t.split(`.`);if(a!==void 0&&i!==void 0){if(!Er.some(e=>e in o))continue;let t=o[i]??{};if(typeof t!=`object`||Array.isArray(t))continue;let n=t;if(a in n)continue;n[a]=o[e],o[i]=n}else{if(t in o)continue;o[t]=o[e]}Reflect.deleteProperty(o,e),r=!0}continue}if(i.code===`invalid_format`&&i.format===`regex`){let t=$(e,a);if(!t)continue;let n=t.parent[t.key],o=typeof n==`string`?Or.exec(n):null;o?.[1]!==void 0&&String(i.pattern).includes(`#`)&&(t.parent[t.key]=`#${o[1].toUpperCase()}`,r=!0);continue}if(i.code!==`invalid_value`)continue;let t=$(e,a);if(!t)continue;let{parent:o,key:s}=t,c=o[s];if(typeof c==`string`){let e=Dr[Z(c)],t=vr(c,i.values)??(e!==void 0&&i.values.includes(e)?e:void 0);if(t!==void 0){o[s]=t,r=!0;continue}}Cr(c)&&!Array.isArray(o)&&(Reflect.deleteProperty(o,s),r=!0)}return r}function Ar(e,t,n){if(e.code===`invalid_value`){let r=$(t,n),i=r&&r.parent[r.key],a=typeof i==`string`?xr(i,e.values):void 0,o=e.values.length>12?e.values.slice(0,10):e.values,s=`${o.map(e=>JSON.stringify(e)).join(`, `)}${o.length<e.values.length?`, …`:``}`;return`${a===void 0?``:`did you mean "${a}"? `}one of ${s}`}return e.message}function jr(e,t,n){if(e.code!==`invalid_value`)return;let r=$(t,n),i=r&&r.parent[r.key];return typeof i==`string`?xr(i,e.values):void 0}function Mr(e,t){let n=new Set,r=[];for(let i of t){let t=Q(i),a=new Map;for(let e of t){let t=e.at.map(String).join(`.`);a.set(t,[...a.get(t)??[],e])}for(let[t,o]of a){let a=o.filter(e=>e.issue.code===`invalid_value`),s=o.filter(e=>e.issue.code!==`invalid_value`),c=i.code===`invalid_union`&&a.length>0&&new Set(s.map(e=>e.issue.message)).size===1?(()=>{let t=a[0],n=t?jr(t.issue,e,t.at):void 0,r=s[0]?.issue.message??``;return[`${n===void 0?``:`did you mean "${n}"? `}${r}`]})():o.map(t=>Ar(t.issue,e,t.at));for(let e of c){let i=e.replace(/\.+$/u,``),a=`${t}\u0000${i}`;n.has(a)||(n.add(a),r.push({path:t,message:i}))}}}return r}function Nr(e,t){let n=new Map,r=!1;for(let{at:i}of t.flatMap(e=>Q(e))){let t=$(e,i);if(t){if(Array.isArray(t.parent)){let e=n.get(t.parent)??new Set;e.add(Number(t.key)),n.set(t.parent,e)}else if(t.key in t.parent)Reflect.deleteProperty(t.parent,t.key);else continue;r=!0}}for(let[e,t]of n)for(let n of[...t].sort((e,t)=>t-e))e.splice(n,1);return r}var Pr=12,Fr=e=>e===void 0?void 0:JSON.parse(JSON.stringify(e));function Ir(e,t,n=wr){let r=e.safeParse(t);if(r.success)return{ok:!0,value:r.data};let i=Fr(t),a=e.safeParse(i);for(let t=0;t<Pr&&!a.success&&kr(i,a.error.issues,n);t++)a=e.safeParse(i);if(a.success)return{ok:!0,value:a.data};let o=Mr(i,a.error.issues),s=Fr(i),c=e.safeParse(s);for(let t=0;t<Pr&&!c.success&&Nr(s,c.error.issues);t++)c=e.safeParse(s);return c.success?{ok:!1,problems:o,partial:c.data}:{ok:!1,problems:o}}export{wt as $,Ft as A,cr as B,Cn as C,It as D,Pt as E,mn as F,Xt as G,On as H,hn as I,Qn as J,Gn as K,$n as L,H as M,En as N,Nt as O,gn as P,nr as Q,ir as R,z as S,wn as T,$t as U,L as V,Qt as W,er as X,Yn as Y,tr as Z,sn as _,pe as _t,vr as a,mt as at,_n as b,hr as c,E as ct,lr as d,Ie as dt,St as et,pr as f,ce as ft,Ot as g,le as gt,fr as h,ue as ht,Ir as i,$e as it,Kn as j,Lt as k,dr as l,dt as lt,gr as m,ae as mt,Tr as n,w as nt,yr as o,Ke as ot,mr as p,oe as pt,Zn as q,xr as r,ht as rt,J as s,ct as st,wr as t,yt as tt,ur as u,pt as ut,tn as v,g as vt,pn as w,R as x,vn as y,sr as z};
@@ -1 +1 @@
1
- import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{c as createTreeViewServices}from"./mermaid-parser.core-CyhovuYE.js";
1
+ import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{c as createTreeViewServices}from"./mermaid-parser.core-BxOSjBH9.js";
@@ -1 +1 @@
1
- import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{o as createTreemapServices}from"./mermaid-parser.core-CyhovuYE.js";
1
+ import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{o as createTreemapServices}from"./mermaid-parser.core-BxOSjBH9.js";