allyhub 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1719) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/NOTICE +122 -42
  3. package/client.d.ts +1 -1
  4. package/dist/command.js +1 -1
  5. package/dist/commands/add.js +4 -4
  6. package/dist/commands/auth.js +4 -4
  7. package/dist/commands/check.js +1 -1
  8. package/dist/commands/cloud-tools.js +13 -7
  9. package/dist/commands/cloud.js +1 -1
  10. package/dist/commands/contributed.js +2 -0
  11. package/dist/commands/dev.js +2 -2
  12. package/dist/commands/doctor.js +4 -4
  13. package/dist/commands/extensions.js +3 -0
  14. package/dist/commands/frames/common.js +1 -1
  15. package/dist/commands/frames/compare.js +2 -2
  16. package/dist/commands/frames/cuts.js +1 -1
  17. package/dist/commands/frames/doc.js +1 -1
  18. package/dist/commands/frames/overlay.js +2 -0
  19. package/dist/commands/frames/piece.js +1 -1
  20. package/dist/commands/frames/sheet.js +1 -1
  21. package/dist/commands/frames.js +9 -9
  22. package/dist/commands/index.js +1 -1
  23. package/dist/commands/inspect/combos.js +2 -2
  24. package/dist/commands/inspect/common.js +4 -2
  25. package/dist/commands/inspect/facts.js +3 -3
  26. package/dist/commands/inspect/index.js +1 -1
  27. package/dist/commands/inspect/layout.js +1 -1
  28. package/dist/commands/inspect/views.js +2 -0
  29. package/dist/commands/mail.js +9 -0
  30. package/dist/commands/orgs.js +2 -2
  31. package/dist/commands/render.js +2 -2
  32. package/dist/fields.js +1 -1
  33. package/dist/help.js +4 -4
  34. package/dist/main.js +8 -7
  35. package/dist/media.js +1 -1
  36. package/dist/node_modules/@allyhub/3d-extension/LICENSE +241 -0
  37. package/dist/node_modules/@allyhub/3d-extension/dist/build-plugins.js +2 -0
  38. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +2 -0
  39. package/dist/node_modules/@allyhub/3d-extension/dist/cli/index.js +2 -0
  40. package/dist/node_modules/@allyhub/3d-extension/dist/cli/lookup.js +2 -0
  41. package/dist/node_modules/@allyhub/3d-extension/dist/cli/model.js +3 -0
  42. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery-input.js +2 -0
  43. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery.js +7 -0
  44. package/dist/node_modules/@allyhub/3d-extension/dist/project-tools.js +2 -0
  45. package/dist/node_modules/@allyhub/3d-extension/dist/read-view.js +2 -0
  46. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +2 -0
  47. package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +2 -0
  48. package/dist/node_modules/@allyhub/3d-extension/dist/title.js +2 -0
  49. package/dist/node_modules/@allyhub/3d-extension/dist/tools.js +2 -0
  50. package/dist/node_modules/@allyhub/3d-extension/dist/tree.js +2 -0
  51. package/dist/node_modules/@allyhub/3d-extension/dist/workspace.js +2 -0
  52. package/dist/node_modules/@allyhub/3d-extension/package.json +327 -0
  53. package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
  54. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
  55. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  56. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +24 -0
  57. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +61 -0
  58. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +51 -0
  59. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +13 -0
  60. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +35 -0
  61. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +19 -0
  62. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +10 -0
  63. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +35 -0
  64. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +74 -0
  65. package/dist/node_modules/@allyhub/browser/dist/page.js +1 -1
  66. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +26 -0
  67. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  68. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +91 -0
  69. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +2 -0
  70. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +84 -0
  71. package/dist/node_modules/@allyhub/build/dist/cli-command.js +2 -0
  72. package/dist/node_modules/@allyhub/build/dist/content.d.ts +12 -24
  73. package/dist/node_modules/@allyhub/build/dist/content.js +1 -2
  74. package/dist/node_modules/@allyhub/build/dist/data.d.ts +2 -4
  75. package/dist/node_modules/@allyhub/build/dist/data.js +2 -2
  76. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +44 -0
  77. package/dist/node_modules/@allyhub/build/dist/evaluate.js +2 -0
  78. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +35 -0
  79. package/dist/node_modules/@allyhub/build/dist/file-check.js +2 -0
  80. package/dist/node_modules/@allyhub/build/dist/files.js +1 -1
  81. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +29 -0
  82. package/dist/node_modules/@allyhub/build/dist/generated.js +2 -0
  83. package/dist/node_modules/@allyhub/build/dist/index.d.ts +23 -9
  84. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  85. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +119 -0
  86. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +2 -0
  87. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +507 -0
  88. package/dist/node_modules/@allyhub/build/dist/kind-build.js +2 -0
  89. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +2 -1
  90. package/dist/node_modules/@allyhub/build/dist/matrix.js +1 -1
  91. package/dist/node_modules/@allyhub/build/dist/media.d.ts +1 -1
  92. package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
  93. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +27 -15
  94. package/dist/node_modules/@allyhub/build/dist/messages.js +2 -2
  95. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +16 -19
  96. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +2 -4
  97. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +1 -1
  98. package/dist/node_modules/@allyhub/build/dist/meta.js +1 -1
  99. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +1 -1
  100. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +1 -1
  101. package/dist/node_modules/@allyhub/build/dist/move-refs.js +1 -1
  102. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +16 -8
  103. package/dist/node_modules/@allyhub/build/dist/plugin.js +8 -9
  104. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +58 -35
  105. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  106. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +19 -0
  107. package/dist/node_modules/@allyhub/build/dist/project-root.js +2 -0
  108. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +116 -0
  109. package/dist/node_modules/@allyhub/build/dist/project-tool.js +2 -0
  110. package/dist/node_modules/@allyhub/build/dist/references.d.ts +1 -1
  111. package/dist/node_modules/@allyhub/build/dist/references.js +1 -1
  112. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +7 -12
  113. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  114. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +73 -0
  115. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +2 -26
  116. package/dist/node_modules/@allyhub/build/dist/takes.js +1 -2
  117. package/dist/node_modules/@allyhub/build/dist/types.d.ts +1 -1
  118. package/dist/node_modules/@allyhub/build/dist/types.js +1 -1
  119. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +23 -0
  120. package/dist/node_modules/@allyhub/build/dist/uses.js +2 -0
  121. package/dist/node_modules/@allyhub/build/dist/version.d.ts +56 -0
  122. package/dist/node_modules/@allyhub/build/dist/version.js +2 -0
  123. package/dist/node_modules/@allyhub/build/dist/work.d.ts +30 -0
  124. package/dist/node_modules/@allyhub/build/dist/work.js +4 -0
  125. package/dist/node_modules/@allyhub/build/package.json +1 -1
  126. package/dist/node_modules/@allyhub/canvas-extension/LICENSE +241 -0
  127. package/dist/node_modules/@allyhub/canvas-extension/dist/check.js +2 -0
  128. package/dist/node_modules/@allyhub/canvas-extension/dist/inspect.js +4 -0
  129. package/dist/node_modules/@allyhub/canvas-extension/package.json +107 -0
  130. package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +7 -0
  131. package/dist/node_modules/@allyhub/canvas-model/LICENSE +241 -0
  132. package/dist/node_modules/@allyhub/canvas-model/dist/canvas.js +8 -0
  133. package/dist/node_modules/@allyhub/canvas-model/dist/check.js +3 -0
  134. package/dist/node_modules/@allyhub/canvas-model/dist/edit.js +2 -0
  135. package/dist/node_modules/@allyhub/canvas-model/dist/index.js +2 -0
  136. package/dist/node_modules/@allyhub/canvas-model/dist/merge.js +2 -0
  137. package/dist/node_modules/@allyhub/canvas-model/package.json +14 -0
  138. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
  139. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
  140. package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
  141. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  142. package/dist/node_modules/@allyhub/check/dist/cache.js +1 -1
  143. package/dist/node_modules/@allyhub/check/dist/check.js +2 -3
  144. package/dist/node_modules/@allyhub/check/dist/index.js +1 -1
  145. package/dist/node_modules/@allyhub/check/package.json +1 -1
  146. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +29 -0
  147. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +91 -0
  148. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  149. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +12 -0
  150. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +53 -0
  151. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  152. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +34 -0
  153. package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
  154. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +76 -0
  155. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
  156. package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +12 -0
  157. package/dist/node_modules/@allyhub/cloud/dist/device.js +2 -0
  158. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +24 -0
  159. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  160. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +43 -0
  161. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +19 -0
  162. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  163. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +18 -0
  164. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +22 -0
  165. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +16 -0
  166. package/dist/node_modules/@allyhub/cloud/dist/mail.js +2 -0
  167. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +11 -0
  168. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +42 -0
  169. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +2 -0
  170. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +40 -0
  171. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +20 -0
  172. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +20 -0
  173. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  174. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +58 -0
  175. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +22 -0
  176. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  177. package/dist/node_modules/@allyhub/components/package.json +1 -1
  178. package/dist/node_modules/@allyhub/components/r/callout.json +2 -4
  179. package/dist/node_modules/@allyhub/components/r/caption-line.json +1 -3
  180. package/dist/node_modules/@allyhub/components/r/caption-subtitle.json +1 -3
  181. package/dist/node_modules/@allyhub/components/r/caption-word.json +1 -3
  182. package/dist/node_modules/@allyhub/components/r/chart.json +2 -4
  183. package/dist/node_modules/@allyhub/components/r/code-panel.json +2 -4
  184. package/dist/node_modules/@allyhub/components/r/connector.json +19 -0
  185. package/dist/node_modules/@allyhub/components/r/screen-demo.json +2 -4
  186. package/dist/node_modules/@allyhub/components/registry.json +6 -0
  187. package/dist/node_modules/@allyhub/components/src/callout.ts +165 -4
  188. package/dist/node_modules/@allyhub/components/src/chart.ts +14 -6
  189. package/dist/node_modules/@allyhub/components/src/code-panel.ts +10 -5
  190. package/dist/node_modules/@allyhub/components/src/connector.ts +295 -0
  191. package/dist/node_modules/@allyhub/components/src/index.ts +6 -0
  192. package/dist/node_modules/@allyhub/components/src/screen-demo.ts +47 -25
  193. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  194. package/dist/node_modules/@allyhub/dev-server/dist/card.js +1 -1
  195. package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
  196. package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
  197. package/dist/node_modules/@allyhub/dev-server/dist/kinds.js +2 -0
  198. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  199. package/dist/node_modules/@allyhub/dev-server/dist/presence.js +2 -0
  200. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  201. package/dist/node_modules/@allyhub/dev-server/dist/reach.js +1 -1
  202. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  203. package/dist/node_modules/@allyhub/dev-server/dist/routes.js +2 -0
  204. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  205. package/dist/node_modules/@allyhub/dev-server/dist/texts.js +4 -0
  206. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  207. package/dist/node_modules/@allyhub/dev-server/dist/tree.js +1 -1
  208. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  209. package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
  210. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +2 -2
  211. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  212. package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
  213. package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
  214. package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
  215. package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
  216. package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
  217. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
  218. package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
  219. package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
  220. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
  221. package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
  222. package/dist/node_modules/@allyhub/doc/dist/captions.js +2 -0
  223. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  224. package/dist/node_modules/@allyhub/doc/dist/cite.js +2 -0
  225. package/dist/node_modules/@allyhub/doc/dist/component.js +1 -1
  226. package/dist/node_modules/@allyhub/doc/dist/covers.js +61 -0
  227. package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
  228. package/dist/node_modules/@allyhub/doc/dist/html.js +247 -57
  229. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  230. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  231. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  232. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -0
  233. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  234. package/dist/node_modules/@allyhub/doc/dist/parse.js +4 -4
  235. package/dist/node_modules/@allyhub/doc/dist/table.js +2 -0
  236. package/dist/node_modules/@allyhub/doc/dist/write.js +33 -28
  237. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  238. package/dist/node_modules/@allyhub/doc-extension/LICENSE +241 -0
  239. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +3 -0
  240. package/dist/node_modules/@allyhub/doc-extension/dist/cli/cover.js +4 -0
  241. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +2 -0
  242. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +2 -0
  243. package/dist/node_modules/@allyhub/doc-extension/dist/cli/pictures.js +2 -0
  244. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +2 -0
  245. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +3 -0
  246. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +2 -0
  247. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +2 -0
  248. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +2 -0
  249. package/dist/node_modules/@allyhub/doc-extension/package.json +202 -0
  250. package/dist/node_modules/@allyhub/doc-print/LICENSE +241 -0
  251. package/dist/node_modules/@allyhub/doc-print/dist/facts.js +2 -0
  252. package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +4 -0
  253. package/dist/node_modules/@allyhub/doc-print/dist/index.js +2 -0
  254. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +116 -0
  255. package/dist/node_modules/@allyhub/doc-print/dist/pages.js +77 -0
  256. package/dist/node_modules/@allyhub/doc-print/dist/print.js +68 -0
  257. package/dist/node_modules/@allyhub/doc-print/package.json +13 -0
  258. package/dist/node_modules/@allyhub/export/dist/batch.js +1 -1
  259. package/dist/node_modules/@allyhub/export/dist/export.js +1 -6
  260. package/dist/node_modules/@allyhub/export/dist/index.js +1 -1
  261. package/dist/node_modules/@allyhub/export/dist/names.js +1 -1
  262. package/dist/node_modules/@allyhub/export/dist/processors.js +2 -0
  263. package/dist/node_modules/@allyhub/export/package.json +1 -1
  264. package/dist/node_modules/@allyhub/extension-api/LICENSE +241 -0
  265. package/dist/node_modules/@allyhub/extension-api/dist/api.js +2 -0
  266. package/dist/node_modules/@allyhub/extension-api/dist/index.js +2 -0
  267. package/dist/node_modules/@allyhub/extension-api/dist/lifecycle.js +2 -0
  268. package/dist/node_modules/@allyhub/extension-api/package.json +14 -0
  269. package/dist/node_modules/@allyhub/extension-host/LICENSE +241 -0
  270. package/dist/node_modules/@allyhub/extension-host/dist/host.js +2 -0
  271. package/dist/node_modules/@allyhub/extension-host/dist/index.js +2 -0
  272. package/dist/node_modules/@allyhub/extension-host/dist/node.js +3 -0
  273. package/dist/node_modules/@allyhub/extension-host/dist/points.js +2 -0
  274. package/dist/node_modules/@allyhub/extension-host/dist/shell.js +2 -0
  275. package/dist/node_modules/@allyhub/extension-host/package.json +22 -0
  276. package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
  277. package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
  278. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
  279. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
  280. package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
  281. package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
  282. package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
  283. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +107 -83
  284. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  285. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +185 -8
  286. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  287. package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
  288. package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
  289. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  290. package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
  291. package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
  292. package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
  293. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
  294. package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
  295. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
  296. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  297. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
  298. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  299. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
  300. package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
  301. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +96 -42
  302. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  303. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  304. package/dist/node_modules/@allyhub/i18n/LICENSE +241 -0
  305. package/dist/node_modules/@allyhub/i18n/dist/index.js +2 -0
  306. package/dist/node_modules/@allyhub/i18n/package.json +13 -0
  307. package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
  308. package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
  309. package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
  310. package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
  311. package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
  312. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
  313. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
  314. package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
  315. package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
  316. package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
  317. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
  318. package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
  319. package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
  320. package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
  321. package/dist/node_modules/@allyhub/image-extension/LICENSE +241 -0
  322. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +2 -0
  323. package/dist/node_modules/@allyhub/image-extension/dist/build.js +2 -0
  324. package/dist/node_modules/@allyhub/image-extension/dist/check.js +2 -0
  325. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +3 -0
  326. package/dist/node_modules/@allyhub/image-extension/dist/evaluate.js +2 -0
  327. package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -0
  328. package/dist/node_modules/@allyhub/image-extension/dist/facts.js +2 -0
  329. package/dist/node_modules/@allyhub/image-extension/dist/project-tools.js +2 -0
  330. package/dist/node_modules/@allyhub/image-extension/dist/sources.js +2 -0
  331. package/dist/node_modules/@allyhub/image-extension/dist/stage.js +2 -0
  332. package/dist/node_modules/@allyhub/image-extension/dist/tools.js +2 -0
  333. package/dist/node_modules/@allyhub/image-extension/dist/workspace.js +2 -0
  334. package/dist/node_modules/@allyhub/image-extension/package.json +291 -0
  335. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +12 -0
  336. package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
  337. package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
  338. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
  339. package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
  340. package/dist/node_modules/@allyhub/image-psd/LICENSE +241 -0
  341. package/dist/node_modules/@allyhub/image-psd/dist/index.js +2 -0
  342. package/dist/node_modules/@allyhub/image-psd/dist/map.js +2 -0
  343. package/dist/node_modules/@allyhub/image-psd/dist/pixels.js +2 -0
  344. package/dist/node_modules/@allyhub/image-psd/dist/read.js +18 -0
  345. package/dist/node_modules/@allyhub/image-psd/dist/write.js +2 -0
  346. package/dist/node_modules/@allyhub/image-psd/package.json +14 -0
  347. package/dist/node_modules/@allyhub/image-render/LICENSE +241 -0
  348. package/dist/node_modules/@allyhub/image-render/dist/webp.js +2 -0
  349. package/dist/node_modules/@allyhub/image-render/package.json +14 -0
  350. package/dist/node_modules/@allyhub/image-runtime/LICENSE +241 -0
  351. package/dist/node_modules/@allyhub/image-runtime/dist/board.js +2 -0
  352. package/dist/node_modules/@allyhub/image-runtime/dist/index.js +2 -0
  353. package/dist/node_modules/@allyhub/image-runtime/dist/layers.js +2 -0
  354. package/dist/node_modules/@allyhub/image-runtime/dist/load.js +3 -0
  355. package/dist/node_modules/@allyhub/image-runtime/dist/overset.js +2 -0
  356. package/dist/node_modules/@allyhub/image-runtime/dist/psd.js +2 -0
  357. package/dist/node_modules/@allyhub/image-runtime/package.json +18 -0
  358. package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
  359. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
  360. package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
  361. package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
  362. package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
  363. package/dist/node_modules/@allyhub/image-sdk/dist/fit.js +2 -0
  364. package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
  365. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
  366. package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
  367. package/dist/node_modules/@allyhub/image-sdk/dist/messages.js +2 -0
  368. package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
  369. package/dist/node_modules/@allyhub/image-sdk/dist/props.js +2 -0
  370. package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
  371. package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
  372. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
  373. package/dist/node_modules/@allyhub/image-sdk/dist/text.js +2 -0
  374. package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
  375. package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
  376. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +3 -0
  377. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +139 -0
  378. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +41 -0
  379. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  380. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
  381. package/dist/node_modules/@allyhub/measure/dist/compare.js +1 -1
  382. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
  383. package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
  384. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
  385. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
  386. package/dist/node_modules/@allyhub/measure/dist/index.js +1 -1
  387. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  388. package/dist/node_modules/@allyhub/media/NOTICE +1 -42
  389. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +25 -0
  390. package/dist/node_modules/@allyhub/media/dist/analysis.js +2 -0
  391. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +2 -0
  392. package/dist/node_modules/@allyhub/media/dist/audio.js +1 -1
  393. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +2 -2
  394. package/dist/node_modules/@allyhub/media/dist/index.d.ts +5 -21
  395. package/dist/node_modules/@allyhub/media/dist/index.js +1 -1
  396. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +2 -12
  397. package/dist/node_modules/@allyhub/media/dist/tools.js +1 -1
  398. package/dist/node_modules/@allyhub/media/dist/video.js +1 -1
  399. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +2 -2
  400. package/dist/node_modules/@allyhub/media/package.json +1 -1
  401. package/dist/node_modules/@allyhub/media-extension/LICENSE +241 -0
  402. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +2 -0
  403. package/dist/node_modules/@allyhub/media-extension/dist/analyses/matte.js +2 -0
  404. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +2 -0
  405. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +2 -0
  406. package/dist/node_modules/@allyhub/media-extension/dist/cloud.js +2 -0
  407. package/dist/node_modules/@allyhub/media-extension/dist/index.js +2 -0
  408. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +2 -0
  409. package/dist/node_modules/@allyhub/media-extension/dist/vision/boxes.js +2 -0
  410. package/dist/node_modules/@allyhub/media-extension/dist/vision/common.js +2 -0
  411. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +2 -0
  412. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -0
  413. package/dist/node_modules/@allyhub/media-extension/dist/vision/matte.js +2 -0
  414. package/dist/node_modules/@allyhub/media-extension/dist/vision/mattes.js +2 -0
  415. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +2 -0
  416. package/dist/node_modules/@allyhub/media-extension/package.json +65 -0
  417. package/dist/node_modules/@allyhub/model/dist/data.d.ts +7 -2
  418. package/dist/node_modules/@allyhub/model/dist/data.js +1 -1
  419. package/dist/node_modules/@allyhub/model/package.json +1 -1
  420. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
  421. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
  422. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  423. package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
  424. package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
  425. package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
  426. package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
  427. package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
  428. package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
  429. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
  430. package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
  431. package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
  432. package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
  433. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
  434. package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
  435. package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
  436. package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
  437. package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
  438. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
  439. package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
  440. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +437 -0
  441. package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
  442. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
  443. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
  444. package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
  445. package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
  446. package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
  447. package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
  448. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
  449. package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
  450. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
  451. package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
  452. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
  453. package/dist/node_modules/@allyhub/piece/dist/page/locate.js +2 -0
  454. package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
  455. package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
  456. package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
  457. package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
  458. package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
  459. package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
  460. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
  461. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +291 -0
  462. package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
  463. package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
  464. package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
  465. package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
  466. package/dist/node_modules/@allyhub/piece/package.json +18 -0
  467. package/dist/node_modules/@allyhub/project/dist/component-stills.js +11 -1
  468. package/dist/node_modules/@allyhub/project/dist/console.js +1 -1
  469. package/dist/node_modules/@allyhub/project/dist/digest.js +1 -1
  470. package/dist/node_modules/@allyhub/project/dist/index.js +1 -1
  471. package/dist/node_modules/@allyhub/project/dist/ledger.js +1 -1
  472. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  473. package/dist/node_modules/@allyhub/project/dist/page.js +2 -2
  474. package/dist/node_modules/@allyhub/project/dist/part-keys.js +2 -0
  475. package/dist/node_modules/@allyhub/project/dist/part-measure.js +2 -0
  476. package/dist/node_modules/@allyhub/project/dist/part-pool.js +2 -0
  477. package/dist/node_modules/@allyhub/project/dist/session.js +1 -1
  478. package/dist/node_modules/@allyhub/project/dist/stills.js +1 -1
  479. package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
  480. package/dist/node_modules/@allyhub/project/package.json +1 -1
  481. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +271 -0
  482. package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
  483. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
  484. package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
  485. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +19 -1
  486. package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
  487. package/dist/node_modules/@allyhub/protocol/dist/browser-bridge.d.ts +337 -0
  488. package/dist/node_modules/@allyhub/protocol/dist/browser-bridge.js +2 -0
  489. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
  490. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  491. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +155 -0
  492. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  493. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +235 -133
  494. package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
  495. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
  496. package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
  497. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +65 -197
  498. package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
  499. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
  500. package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
  501. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +6 -0
  502. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  503. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
  504. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
  505. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
  506. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +274 -0
  507. package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
  508. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +77 -91
  509. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  510. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
  511. package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
  512. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
  513. package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
  514. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
  515. package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
  516. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
  517. package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
  518. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
  519. package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
  520. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
  521. package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
  522. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
  523. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  524. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
  525. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  526. package/dist/node_modules/@allyhub/protocol/package.json +5 -1
  527. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  528. package/dist/node_modules/@allyhub/render/dist/capture.js +1 -1
  529. package/dist/node_modules/@allyhub/render/dist/composite.js +1 -1
  530. package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
  531. package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
  532. package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +3 -3
  533. package/dist/node_modules/@allyhub/render/dist/footage.js +1 -1
  534. package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
  535. package/dist/node_modules/@allyhub/render/dist/junction.js +1 -1
  536. package/dist/node_modules/@allyhub/render/dist/look.js +1 -1
  537. package/dist/node_modules/@allyhub/render/dist/parts.js +1 -1
  538. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  539. package/dist/node_modules/@allyhub/render/dist/post.js +1 -1
  540. package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
  541. package/dist/node_modules/@allyhub/render/dist/sound.js +1 -1
  542. package/dist/node_modules/@allyhub/render/dist/tools.js +1 -1
  543. package/dist/node_modules/@allyhub/render/dist/version.js +2 -0
  544. package/dist/node_modules/@allyhub/render/package.json +1 -5
  545. package/dist/node_modules/@allyhub/runtime/dist/captions.js +1 -1
  546. package/dist/node_modules/@allyhub/runtime/dist/clock.js +1 -1
  547. package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
  548. package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
  549. package/dist/node_modules/@allyhub/runtime/dist/facade.js +1 -1
  550. package/dist/node_modules/@allyhub/runtime/dist/film.js +2 -0
  551. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  552. package/dist/node_modules/@allyhub/runtime/dist/frame.js +1 -1
  553. package/dist/node_modules/@allyhub/runtime/dist/index.js +1 -1
  554. package/dist/node_modules/@allyhub/runtime/dist/measure.js +2 -2
  555. package/dist/node_modules/@allyhub/runtime/dist/output.js +1 -1
  556. package/dist/node_modules/@allyhub/runtime/dist/piece.js +2 -2
  557. package/dist/node_modules/@allyhub/runtime/dist/player/clips.js +1 -1
  558. package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
  559. package/dist/node_modules/@allyhub/runtime/dist/sound.js +1 -1
  560. package/dist/node_modules/@allyhub/runtime/dist/speech.js +1 -1
  561. package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +1 -1
  562. package/dist/node_modules/@allyhub/runtime/dist/takes.js +1 -1
  563. package/dist/node_modules/@allyhub/runtime/package.json +1 -5
  564. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  565. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
  566. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
  567. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
  568. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
  569. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
  570. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  571. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
  572. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
  573. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
  574. package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
  575. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  576. package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -5
  577. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  578. package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
  579. package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
  580. package/dist/node_modules/@allyhub/scenery/dist/index.d.ts +2 -2
  581. package/dist/node_modules/@allyhub/scenery/dist/index.js +1 -1
  582. package/dist/node_modules/@allyhub/scenery/dist/moire.d.ts +45 -5
  583. package/dist/node_modules/@allyhub/scenery/dist/moire.js +2 -2
  584. package/dist/node_modules/@allyhub/scenery/dist/phone.d.ts +4 -3
  585. package/dist/node_modules/@allyhub/scenery/dist/phone.js +1 -1
  586. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  587. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +2 -3
  588. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +14 -7
  589. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +4 -4
  590. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +314 -0
  591. package/dist/node_modules/@allyhub/scenery-host/dist/fact.js +2 -0
  592. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +1 -0
  593. package/dist/node_modules/@allyhub/scenery-host/dist/index.js +1 -1
  594. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +7 -0
  595. package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.js +2 -0
  596. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +6 -5
  597. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
  598. package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +1 -1
  599. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +2 -2
  600. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
  601. package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +1 -1
  602. package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +2 -2
  603. package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +3 -3
  604. package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.js +1 -1
  605. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +1 -1
  606. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +1 -1
  607. package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.d.ts +8 -0
  608. package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.js +1 -1
  609. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +42 -0
  610. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.js +4 -0
  611. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +6 -0
  612. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.js +2 -0
  613. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +70 -0
  614. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.js +12 -0
  615. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +49 -0
  616. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +73 -0
  617. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.js +3 -0
  618. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +18 -0
  619. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.js +2 -0
  620. package/dist/node_modules/@allyhub/scenery-host/package.json +5 -1
  621. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  622. package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
  623. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  624. package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.js +1 -1
  625. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
  626. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.js +1 -1
  627. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.js +1 -1
  628. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.js +1 -1
  629. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.js +1 -1
  630. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.js +1 -1
  631. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.js +1 -1
  632. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.js +1 -1
  633. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.js +1 -1
  634. package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.js +1 -1
  635. package/dist/node_modules/@allyhub/sheet/dist/calc/types.js +1 -1
  636. package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
  637. package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
  638. package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
  639. package/dist/node_modules/@allyhub/sheet/dist/formula/move.js +1 -1
  640. package/dist/node_modules/@allyhub/sheet/dist/formula/parse.js +1 -1
  641. package/dist/node_modules/@allyhub/sheet/dist/formula/print.js +1 -1
  642. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  643. package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
  644. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  645. package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
  646. package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
  647. package/dist/node_modules/@allyhub/sheet/dist/printed.js +2 -0
  648. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
  649. package/dist/node_modules/@allyhub/sheet/dist/values.js +1 -1
  650. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  651. package/dist/node_modules/@allyhub/sheet/dist/write.js +15 -15
  652. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  653. package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.js +2 -2
  654. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  655. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  656. package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.js +3 -1
  657. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  658. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  659. package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.js +3 -2
  660. package/dist/node_modules/@allyhub/sheet/package.json +5 -1
  661. package/dist/node_modules/@allyhub/sheet-extension/LICENSE +241 -0
  662. package/dist/node_modules/@allyhub/sheet-extension/dist/build-plugins.js +2 -0
  663. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +2 -0
  664. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/index.js +2 -0
  665. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +2 -0
  666. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +8 -0
  667. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +2 -0
  668. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +3 -0
  669. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +7 -0
  670. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +3 -0
  671. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +2 -0
  672. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +2 -0
  673. package/dist/node_modules/@allyhub/sheet-extension/dist/workspace.js +2 -0
  674. package/dist/node_modules/@allyhub/sheet-extension/package.json +228 -0
  675. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
  676. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  677. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  678. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  679. package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
  680. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  681. package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
  682. package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
  683. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  684. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  685. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +1 -1
  686. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  687. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
  688. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  689. package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
  690. package/dist/node_modules/@allyhub/slides-extension/LICENSE +241 -0
  691. package/dist/node_modules/@allyhub/slides-extension/dist/build-plugins.js +2 -0
  692. package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -0
  693. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +2 -0
  694. package/dist/node_modules/@allyhub/slides-extension/dist/cli/index.js +2 -0
  695. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +3 -0
  696. package/dist/node_modules/@allyhub/slides-extension/dist/deck-info.js +2 -0
  697. package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +2 -0
  698. package/dist/node_modules/@allyhub/slides-extension/dist/evaluate.js +3 -0
  699. package/dist/node_modules/@allyhub/slides-extension/dist/export.js +2 -0
  700. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +2 -0
  701. package/dist/node_modules/@allyhub/slides-extension/dist/read-view.js +2 -0
  702. package/dist/node_modules/@allyhub/slides-extension/dist/stage.js +2 -0
  703. package/dist/node_modules/@allyhub/slides-extension/dist/tools.js +2 -0
  704. package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +2 -0
  705. package/dist/node_modules/@allyhub/slides-extension/package.json +265 -0
  706. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  707. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  708. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
  709. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  710. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +1 -1
  711. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  712. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  713. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  714. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  715. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  716. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  717. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +1 -1
  718. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  719. package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +1 -1
  720. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  721. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
  722. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  723. package/dist/node_modules/@allyhub/stage/dist/build-process.js +2 -2
  724. package/dist/node_modules/@allyhub/stage/dist/build-worker.js +1 -1
  725. package/dist/node_modules/@allyhub/stage/dist/identity.js +1 -1
  726. package/dist/node_modules/@allyhub/stage/dist/index.js +1 -1
  727. package/dist/node_modules/@allyhub/stage/dist/page.js +2 -2
  728. package/dist/node_modules/@allyhub/stage/dist/server.js +1 -1
  729. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  730. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +19 -0
  731. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +19 -0
  732. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +19 -0
  733. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +19 -0
  734. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/LICENSE +93 -0
  735. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +76 -0
  736. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-italic.woff2 +0 -0
  737. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-normal.woff2 +0 -0
  738. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-italic.woff2 +0 -0
  739. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-normal.woff2 +0 -0
  740. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-italic.woff2 +0 -0
  741. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-normal.woff2 +0 -0
  742. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-italic.woff2 +0 -0
  743. package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-normal.woff2 +0 -0
  744. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +79 -0
  745. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +79 -0
  746. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +79 -0
  747. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +79 -0
  748. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/LICENSE +93 -0
  749. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +316 -0
  750. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-italic.woff2 +0 -0
  751. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-normal.woff2 +0 -0
  752. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-italic.woff2 +0 -0
  753. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-normal.woff2 +0 -0
  754. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-italic.woff2 +0 -0
  755. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-normal.woff2 +0 -0
  756. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-italic.woff2 +0 -0
  757. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-normal.woff2 +0 -0
  758. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-italic.woff2 +0 -0
  759. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-normal.woff2 +0 -0
  760. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-italic.woff2 +0 -0
  761. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-normal.woff2 +0 -0
  762. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-italic.woff2 +0 -0
  763. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-normal.woff2 +0 -0
  764. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-italic.woff2 +0 -0
  765. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-normal.woff2 +0 -0
  766. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-italic.woff2 +0 -0
  767. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-normal.woff2 +0 -0
  768. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-italic.woff2 +0 -0
  769. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-normal.woff2 +0 -0
  770. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-italic.woff2 +0 -0
  771. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-normal.woff2 +0 -0
  772. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-italic.woff2 +0 -0
  773. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-normal.woff2 +0 -0
  774. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-italic.woff2 +0 -0
  775. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-normal.woff2 +0 -0
  776. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-italic.woff2 +0 -0
  777. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-normal.woff2 +0 -0
  778. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-italic.woff2 +0 -0
  779. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-normal.woff2 +0 -0
  780. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-italic.woff2 +0 -0
  781. package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-normal.woff2 +0 -0
  782. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +79 -0
  783. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +79 -0
  784. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +79 -0
  785. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +79 -0
  786. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/LICENSE +93 -0
  787. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-italic.woff2 +0 -0
  788. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-normal.woff2 +0 -0
  789. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-italic.woff2 +0 -0
  790. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-normal.woff2 +0 -0
  791. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-italic.woff2 +0 -0
  792. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-normal.woff2 +0 -0
  793. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-italic.woff2 +0 -0
  794. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-normal.woff2 +0 -0
  795. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-italic.woff2 +0 -0
  796. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-normal.woff2 +0 -0
  797. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-italic.woff2 +0 -0
  798. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-normal.woff2 +0 -0
  799. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-italic.woff2 +0 -0
  800. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-normal.woff2 +0 -0
  801. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-italic.woff2 +0 -0
  802. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-normal.woff2 +0 -0
  803. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-italic.woff2 +0 -0
  804. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-normal.woff2 +0 -0
  805. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-italic.woff2 +0 -0
  806. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-normal.woff2 +0 -0
  807. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-italic.woff2 +0 -0
  808. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-normal.woff2 +0 -0
  809. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-italic.woff2 +0 -0
  810. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-normal.woff2 +0 -0
  811. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-italic.woff2 +0 -0
  812. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-normal.woff2 +0 -0
  813. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-italic.woff2 +0 -0
  814. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-normal.woff2 +0 -0
  815. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-italic.woff2 +0 -0
  816. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-normal.woff2 +0 -0
  817. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-italic.woff2 +0 -0
  818. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-normal.woff2 +0 -0
  819. package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +316 -0
  820. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  821. package/dist/node_modules/@allyhub/stage-page/dist/install.js +2 -0
  822. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +3 -0
  823. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +2 -2
  824. package/dist/node_modules/@allyhub/stage-page/dist/stage-module.js +2 -0
  825. package/dist/node_modules/@allyhub/stage-page/package.json +5 -1
  826. package/dist/node_modules/@allyhub/stage-runtime/LICENSE +241 -0
  827. package/dist/node_modules/@allyhub/stage-runtime/dist/index.js +2 -0
  828. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +80 -0
  829. package/dist/node_modules/@allyhub/stage-runtime/dist/use.js +2 -0
  830. package/dist/node_modules/@allyhub/stage-runtime/package.json +17 -0
  831. package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
  832. package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
  833. package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
  834. package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
  835. package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
  836. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  837. package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
  838. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
  839. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
  840. package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
  841. package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
  842. package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
  843. package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
  844. package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
  845. package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
  846. package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
  847. package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
  848. package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
  849. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  850. package/dist/node_modules/@allyhub/video-extension/LICENSE +241 -0
  851. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +2 -0
  852. package/dist/node_modules/@allyhub/video-extension/dist/build.js +2 -0
  853. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio-text.js +6 -0
  854. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio.js +4 -0
  855. package/dist/node_modules/@allyhub/video-extension/dist/cli/cloud.js +2 -0
  856. package/dist/node_modules/@allyhub/video-extension/dist/cli/draw.js +2 -0
  857. package/dist/node_modules/@allyhub/video-extension/dist/cli/index.js +2 -0
  858. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +5 -0
  859. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference.js +2 -0
  860. package/dist/node_modules/@allyhub/video-extension/dist/cli/voice.js +3 -0
  861. package/dist/node_modules/@allyhub/video-extension/dist/cli/words-text.js +6 -0
  862. package/dist/node_modules/@allyhub/video-extension/dist/cli/words.js +2 -0
  863. package/dist/node_modules/@allyhub/video-extension/dist/evaluate.js +2 -0
  864. package/dist/node_modules/@allyhub/video-extension/dist/export.js +2 -0
  865. package/dist/node_modules/@allyhub/video-extension/dist/inspect/common.js +2 -0
  866. package/dist/node_modules/@allyhub/video-extension/dist/inspect/contrast.js +2 -0
  867. package/dist/node_modules/@allyhub/video-extension/dist/inspect/fidelity.js +2 -0
  868. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +2 -0
  869. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +2 -0
  870. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +4 -0
  871. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +2 -0
  872. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline.js +3 -0
  873. package/dist/node_modules/@allyhub/video-extension/dist/project-tools.js +2 -0
  874. package/dist/node_modules/@allyhub/video-extension/dist/read-view.js +2 -0
  875. package/dist/node_modules/@allyhub/video-extension/dist/sources.js +2 -0
  876. package/dist/node_modules/@allyhub/video-extension/dist/stage-routes.js +2 -0
  877. package/dist/node_modules/@allyhub/video-extension/dist/stage.js +2 -0
  878. package/dist/node_modules/@allyhub/video-extension/dist/tools.js +2 -0
  879. package/dist/node_modules/@allyhub/video-extension/dist/workspace.js +2 -0
  880. package/dist/node_modules/@allyhub/video-extension/package.json +469 -0
  881. package/dist/node_modules/@allyhub/video-measure/LICENSE +241 -0
  882. package/dist/node_modules/@allyhub/video-measure/dist/check.js +3 -0
  883. package/dist/node_modules/@allyhub/video-measure/dist/cuts.js +2 -0
  884. package/dist/node_modules/@allyhub/video-measure/dist/facts.js +2 -0
  885. package/dist/node_modules/@allyhub/video-measure/dist/generated.js +2 -0
  886. package/dist/node_modules/@allyhub/video-measure/dist/graphics.js +2 -0
  887. package/dist/node_modules/@allyhub/video-measure/dist/index.js +2 -0
  888. package/dist/node_modules/@allyhub/video-measure/dist/page.js +2 -0
  889. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +3 -0
  890. package/dist/node_modules/@allyhub/video-measure/dist/recording-report.js +2 -0
  891. package/dist/node_modules/@allyhub/video-measure/dist/reference/piece.js +2 -0
  892. package/dist/node_modules/@allyhub/video-measure/dist/reference/sets.js +2 -0
  893. package/dist/node_modules/@allyhub/video-measure/dist/reference/text.js +2 -0
  894. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +2 -0
  895. package/dist/node_modules/@allyhub/video-measure/dist/says.js +2 -0
  896. package/dist/node_modules/@allyhub/video-measure/dist/sound-report.js +2 -0
  897. package/dist/node_modules/@allyhub/video-measure/dist/stretch.js +2 -0
  898. package/dist/node_modules/@allyhub/video-measure/dist/version.js +2 -0
  899. package/dist/node_modules/@allyhub/video-measure/dist/words.js +3 -0
  900. package/dist/node_modules/@allyhub/video-measure/package.json +13 -0
  901. package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
  902. package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
  903. package/dist/node_modules/@allyhub/video-sdk/dist/anim.js +2 -0
  904. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
  905. package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
  906. package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
  907. package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
  908. package/dist/node_modules/@allyhub/video-sdk/dist/noise.js +2 -0
  909. package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
  910. package/dist/node_modules/@allyhub/video-sdk/dist/paths.js +2 -0
  911. package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
  912. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
  913. package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
  914. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
  915. package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
  916. package/dist/node_modules/@allyhub/website/dist/publish.js +2 -2
  917. package/dist/node_modules/@allyhub/website/dist/website.js +3 -3
  918. package/dist/node_modules/@allyhub/website/package.json +1 -1
  919. package/dist/node_modules/@allyhub/website-extension/LICENSE +241 -0
  920. package/dist/node_modules/@allyhub/website-extension/dist/build.js +2 -0
  921. package/dist/node_modules/@allyhub/website-extension/dist/cli/index.js +2 -0
  922. package/dist/node_modules/@allyhub/website-extension/dist/cli/site.js +4 -0
  923. package/dist/node_modules/@allyhub/website-extension/dist/held.js +2 -0
  924. package/dist/node_modules/@allyhub/website-extension/dist/hosting.js +2 -0
  925. package/dist/node_modules/@allyhub/website-extension/dist/preview.js +6 -0
  926. package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +25 -0
  927. package/dist/node_modules/@allyhub/website-extension/dist/tools.js +2 -0
  928. package/dist/node_modules/@allyhub/website-extension/package.json +199 -0
  929. package/dist/node_modules/@allyhub/x-extension/LICENSE +241 -0
  930. package/dist/node_modules/@allyhub/x-extension/dist/article-build.js +4 -0
  931. package/dist/node_modules/@allyhub/x-extension/dist/article-kind.js +2 -0
  932. package/dist/node_modules/@allyhub/x-extension/dist/build-plugins.js +2 -0
  933. package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -0
  934. package/dist/node_modules/@allyhub/x-extension/dist/config.js +2 -0
  935. package/dist/node_modules/@allyhub/x-extension/dist/media.js +2 -0
  936. package/dist/node_modules/@allyhub/x-extension/dist/stage-module.js +67 -0
  937. package/dist/node_modules/@allyhub/x-extension/dist/stage.js +2 -0
  938. package/dist/node_modules/@allyhub/x-extension/dist/workspace.js +2 -0
  939. package/dist/node_modules/@allyhub/x-extension/package.json +307 -0
  940. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +12 -0
  941. package/dist/node_modules/@allyhub/x-model/LICENSE +241 -0
  942. package/dist/node_modules/@allyhub/x-model/dist/article-check.js +5 -0
  943. package/dist/node_modules/@allyhub/x-model/dist/article.js +3 -0
  944. package/dist/node_modules/@allyhub/x-model/dist/check.js +2 -0
  945. package/dist/node_modules/@allyhub/x-model/dist/content-state.js +2 -0
  946. package/dist/node_modules/@allyhub/x-model/dist/count.js +2 -0
  947. package/dist/node_modules/@allyhub/x-model/dist/edit.js +3 -0
  948. package/dist/node_modules/@allyhub/x-model/dist/index.js +2 -0
  949. package/dist/node_modules/@allyhub/x-model/dist/limits.js +2 -0
  950. package/dist/node_modules/@allyhub/x-model/dist/post.js +2 -0
  951. package/dist/node_modules/@allyhub/x-model/dist/requests.js +2 -0
  952. package/dist/node_modules/@allyhub/x-model/package.json +14 -0
  953. package/dist/node_modules/@allyhub/x-view/LICENSE +241 -0
  954. package/dist/node_modules/@allyhub/x-view/dist/article.js +2 -0
  955. package/dist/node_modules/@allyhub/x-view/dist/index.js +2 -0
  956. package/dist/node_modules/@allyhub/x-view/dist/post.js +3 -0
  957. package/dist/node_modules/@allyhub/x-view/dist/stage.js +2 -0
  958. package/dist/node_modules/@allyhub/x-view/dist/text.js +2 -0
  959. package/dist/node_modules/@allyhub/x-view/package.json +21 -0
  960. package/dist/node_modules/@allyhub/x-view/src/style.css +709 -0
  961. package/dist/package.json +16 -0
  962. package/dist/parameters.js +1 -1
  963. package/dist/presence.js +2 -0
  964. package/dist/project.js +1 -1
  965. package/dist/sdk-docs.js +1 -1
  966. package/dist/text/batch-text.js +1 -1
  967. package/dist/text/console-text.js +1 -1
  968. package/dist/text/facts-text.js +5 -5
  969. package/dist/text/format.js +2 -2
  970. package/dist/text/index.js +1 -1
  971. package/dist/text/long-text.js +4 -0
  972. package/dist/tool-options.js +1 -1
  973. package/dist/version.js +1 -1
  974. package/dist/works.js +1 -1
  975. package/editor-web/assets/abnfDiagram-WEYOIA3C-CjAmWsNR.js +1 -0
  976. package/editor-web/assets/alt-DnBZJzEh.js +4 -0
  977. package/editor-web/assets/architecture-WOLXFQ4H-DeeKhyhZ.js +1 -0
  978. package/editor-web/assets/architectureDiagram-ZHVYKT53-b32qTaJg.js +36 -0
  979. package/editor-web/assets/arrow-up-L4YV_65f.js +1 -0
  980. package/editor-web/assets/article-DLMjAdbP.js +73 -0
  981. package/editor-web/assets/audio-lines-BFcM7G2L.js +1 -0
  982. package/editor-web/assets/blockDiagram-RJAE7QA3-BNbnMNmw.js +140 -0
  983. package/editor-web/assets/button-Chk675Xu.js +41 -0
  984. package/editor-web/assets/c4Diagram-XDPPPE54-BEuemvMw.js +38 -0
  985. package/editor-web/assets/caladea-latin-400-italic-BXgumMrY.woff +0 -0
  986. package/editor-web/assets/caladea-latin-400-italic-LV4kG-PE.woff2 +0 -0
  987. package/editor-web/assets/caladea-latin-400-normal-BdRVtv9R.woff +0 -0
  988. package/editor-web/assets/caladea-latin-400-normal-CEHWF4nY.woff2 +0 -0
  989. package/editor-web/assets/caladea-latin-700-italic-ChDjCuPY.woff +0 -0
  990. package/editor-web/assets/caladea-latin-700-italic-DswTWW_F.woff2 +0 -0
  991. package/editor-web/assets/caladea-latin-700-normal-0s3Ufwiy.woff +0 -0
  992. package/editor-web/assets/caladea-latin-700-normal-Emkxzyyt.woff2 +0 -0
  993. package/editor-web/assets/caladea-latin-ext-400-italic-DaI5RAJ1.woff2 +0 -0
  994. package/editor-web/assets/caladea-latin-ext-400-italic-Ddrq60cI.woff +0 -0
  995. package/editor-web/assets/caladea-latin-ext-400-normal-BjxrNPcj.woff +0 -0
  996. package/editor-web/assets/caladea-latin-ext-400-normal-CyFL0oLC.woff2 +0 -0
  997. package/editor-web/assets/caladea-latin-ext-700-italic-BPwR0tp-.woff +0 -0
  998. package/editor-web/assets/caladea-latin-ext-700-italic-DKIXMnVd.woff2 +0 -0
  999. package/editor-web/assets/caladea-latin-ext-700-normal-jPPxbA1-.woff2 +0 -0
  1000. package/editor-web/assets/caladea-latin-ext-700-normal-sbmkuTql.woff +0 -0
  1001. package/editor-web/assets/calc-worker-D2pGis6e.js +45 -0
  1002. package/editor-web/assets/carlito-cyrillic-400-italic-BBq3u1wn.woff2 +0 -0
  1003. package/editor-web/assets/carlito-cyrillic-400-italic-DkiFjkCS.woff +0 -0
  1004. package/editor-web/assets/carlito-cyrillic-400-normal-BtG3bBmV.woff +0 -0
  1005. package/editor-web/assets/carlito-cyrillic-400-normal-Bzv-FGbj.woff2 +0 -0
  1006. package/editor-web/assets/carlito-cyrillic-700-italic-BWpxjWJ1.woff2 +0 -0
  1007. package/editor-web/assets/carlito-cyrillic-700-italic-CkpLb3ak.woff +0 -0
  1008. package/editor-web/assets/carlito-cyrillic-700-normal-Cj42L3Bs.woff2 +0 -0
  1009. package/editor-web/assets/carlito-cyrillic-700-normal-bxg6f20d.woff +0 -0
  1010. package/editor-web/assets/carlito-cyrillic-ext-400-italic-BiZjW1hk.woff2 +0 -0
  1011. package/editor-web/assets/carlito-cyrillic-ext-400-italic-DcD3cPwb.woff +0 -0
  1012. package/editor-web/assets/carlito-cyrillic-ext-400-normal-DYs6OoL4.woff2 +0 -0
  1013. package/editor-web/assets/carlito-cyrillic-ext-400-normal-UzWcrHdi.woff +0 -0
  1014. package/editor-web/assets/carlito-cyrillic-ext-700-italic-ClXPMqhh.woff2 +0 -0
  1015. package/editor-web/assets/carlito-cyrillic-ext-700-italic-DoehkTRC.woff +0 -0
  1016. package/editor-web/assets/carlito-cyrillic-ext-700-normal-BAPhAm-q.woff2 +0 -0
  1017. package/editor-web/assets/carlito-cyrillic-ext-700-normal-C5O8kkCQ.woff +0 -0
  1018. package/editor-web/assets/carlito-greek-400-italic-C1DqF7JR.woff2 +0 -0
  1019. package/editor-web/assets/carlito-greek-400-italic-Cnl_RiK8.woff +0 -0
  1020. package/editor-web/assets/carlito-greek-400-normal-Cv5gcxdy.woff2 +0 -0
  1021. package/editor-web/assets/carlito-greek-400-normal-aOjZpsFX.woff +0 -0
  1022. package/editor-web/assets/carlito-greek-700-italic-DfpwTZ8N.woff +0 -0
  1023. package/editor-web/assets/carlito-greek-700-italic-VWqy950O.woff2 +0 -0
  1024. package/editor-web/assets/carlito-greek-700-normal-B-Y_qvTa.woff +0 -0
  1025. package/editor-web/assets/carlito-greek-700-normal-BXGaow7Z.woff2 +0 -0
  1026. package/editor-web/assets/carlito-greek-ext-400-italic-BUNDIZnl.woff +0 -0
  1027. package/editor-web/assets/carlito-greek-ext-400-italic-o-WxseCy.woff2 +0 -0
  1028. package/editor-web/assets/carlito-greek-ext-400-normal-DnfnTswf.woff2 +0 -0
  1029. package/editor-web/assets/carlito-greek-ext-400-normal-m-eDGcsW.woff +0 -0
  1030. package/editor-web/assets/carlito-greek-ext-700-italic-DD0r8DLp.woff +0 -0
  1031. package/editor-web/assets/carlito-greek-ext-700-italic-DiO5Rxw8.woff2 +0 -0
  1032. package/editor-web/assets/carlito-greek-ext-700-normal-BGl1PQht.woff +0 -0
  1033. package/editor-web/assets/carlito-greek-ext-700-normal-COKnZ-5a.woff2 +0 -0
  1034. package/editor-web/assets/carlito-latin-400-italic-BiMes9J5.woff2 +0 -0
  1035. package/editor-web/assets/carlito-latin-400-italic-DcRV6skQ.woff +0 -0
  1036. package/editor-web/assets/carlito-latin-400-normal-R-CeALMm.woff2 +0 -0
  1037. package/editor-web/assets/carlito-latin-400-normal-jEGHVXAP.woff +0 -0
  1038. package/editor-web/assets/carlito-latin-700-italic-BkeTGILl.woff +0 -0
  1039. package/editor-web/assets/carlito-latin-700-italic-Ckstd88m.woff2 +0 -0
  1040. package/editor-web/assets/carlito-latin-700-normal-CjG3MLqY.woff +0 -0
  1041. package/editor-web/assets/carlito-latin-700-normal-DQ6DOkPk.woff2 +0 -0
  1042. package/editor-web/assets/carlito-latin-ext-400-italic-B7I2MSBC.woff +0 -0
  1043. package/editor-web/assets/carlito-latin-ext-400-italic-CqQQuoTt.woff2 +0 -0
  1044. package/editor-web/assets/carlito-latin-ext-400-normal-D112-ed2.woff +0 -0
  1045. package/editor-web/assets/carlito-latin-ext-400-normal-DPZWia0-.woff2 +0 -0
  1046. package/editor-web/assets/carlito-latin-ext-700-italic-BvVMpuZ3.woff2 +0 -0
  1047. package/editor-web/assets/carlito-latin-ext-700-italic-Cocp2sK5.woff +0 -0
  1048. package/editor-web/assets/carlito-latin-ext-700-normal-9QIvu-gI.woff +0 -0
  1049. package/editor-web/assets/carlito-latin-ext-700-normal-D2WO8ap1.woff2 +0 -0
  1050. package/editor-web/assets/carlito-vietnamese-400-italic-Dpe35oQb.woff +0 -0
  1051. package/editor-web/assets/carlito-vietnamese-400-italic-vBbFSHZk.woff2 +0 -0
  1052. package/editor-web/assets/carlito-vietnamese-400-normal-BA1ASEPx.woff2 +0 -0
  1053. package/editor-web/assets/carlito-vietnamese-400-normal-D0HL2cT_.woff +0 -0
  1054. package/editor-web/assets/carlito-vietnamese-700-italic-rWsihy0W.woff +0 -0
  1055. package/editor-web/assets/carlito-vietnamese-700-italic-tiFMON_I.woff2 +0 -0
  1056. package/editor-web/assets/carlito-vietnamese-700-normal-DIEsMQO6.woff +0 -0
  1057. package/editor-web/assets/carlito-vietnamese-700-normal-gG8ns3Xg.woff2 +0 -0
  1058. package/editor-web/assets/channel-EzYq4r0d.js +1 -0
  1059. package/editor-web/assets/chart-Be9Hj5GL.js +1 -0
  1060. package/editor-web/assets/choice-BgmBh4yu.js +1 -0
  1061. package/editor-web/assets/chunk-2E7WHVMD-Zb5nPx_e.js +88 -0
  1062. package/editor-web/assets/chunk-4EMNKR2T-DSEM2reX.js +1 -0
  1063. package/editor-web/assets/chunk-55XCU76K-BOZa_65H.js +1 -0
  1064. package/editor-web/assets/chunk-7S6XSTFO-DeiGeVpB.js +2 -0
  1065. package/editor-web/assets/chunk-AQDTSKZB-fPuQFBJc.js +72 -0
  1066. package/editor-web/assets/chunk-DSNLSHJZ-5vdnoak2.js +129 -0
  1067. package/editor-web/assets/chunk-HAGFOTED-DFF2mZJ1.js +62 -0
  1068. package/editor-web/assets/chunk-HNE4Q36P-g6-ZLbTg.js +1 -0
  1069. package/editor-web/assets/chunk-NQOKRVIF-o3hNcHMJ.js +213 -0
  1070. package/editor-web/assets/chunk-UHW7PFBP-BQiDI9dK.js +1 -0
  1071. package/editor-web/assets/chunk-VQ5W62QI-CJlMXWWz.js +1 -0
  1072. package/editor-web/assets/chunk-WQQL4CDK-pNBU8dXv.js +10 -0
  1073. package/editor-web/assets/chunk-YZO67HFG-2x-BiWd-.js +1 -0
  1074. package/editor-web/assets/chunk-ZAUX2LTX-etFStEM8.js +1 -0
  1075. package/editor-web/assets/chunk-ZCHMQSOR-B3AYRhIY.js +2 -0
  1076. package/editor-web/assets/classDiagram-v2-4MYWR3UA-6y2yX0oq.js +217 -0
  1077. package/editor-web/assets/collaborator-LRd0hELn.js +1 -0
  1078. package/editor-web/assets/cousine-cyrillic-400-normal-D7Mp9hmd.woff +0 -0
  1079. package/editor-web/assets/cousine-cyrillic-400-normal-DaHhUWxZ.woff2 +0 -0
  1080. package/editor-web/assets/cousine-cyrillic-700-normal-BEGCXyFC.woff +0 -0
  1081. package/editor-web/assets/cousine-cyrillic-700-normal-BkkUdX_g.woff2 +0 -0
  1082. package/editor-web/assets/cousine-cyrillic-ext-400-normal-CfRZlfI3.woff +0 -0
  1083. package/editor-web/assets/cousine-cyrillic-ext-400-normal-DHXCUfGT.woff2 +0 -0
  1084. package/editor-web/assets/cousine-cyrillic-ext-700-normal-C15KMCf5.woff2 +0 -0
  1085. package/editor-web/assets/cousine-cyrillic-ext-700-normal-DhfE94aH.woff +0 -0
  1086. package/editor-web/assets/cousine-greek-400-normal-CWPwwPBl.woff +0 -0
  1087. package/editor-web/assets/cousine-greek-400-normal-D28eY3d7.woff2 +0 -0
  1088. package/editor-web/assets/cousine-greek-700-normal-DsTT0TsI.woff2 +0 -0
  1089. package/editor-web/assets/cousine-greek-700-normal-rpH_OJFi.woff +0 -0
  1090. package/editor-web/assets/cousine-greek-ext-400-normal-n0k5mInY.woff +0 -0
  1091. package/editor-web/assets/cousine-greek-ext-400-normal-qdX5ZLbv.woff2 +0 -0
  1092. package/editor-web/assets/cousine-greek-ext-700-normal-CSy642Ya.woff +0 -0
  1093. package/editor-web/assets/cousine-greek-ext-700-normal-DgHq_I2n.woff2 +0 -0
  1094. package/editor-web/assets/cousine-hebrew-400-normal-COyK3YUR.woff2 +0 -0
  1095. package/editor-web/assets/cousine-hebrew-400-normal-oCiNOOyc.woff +0 -0
  1096. package/editor-web/assets/cousine-hebrew-700-normal-BCE0G3Nu.woff2 +0 -0
  1097. package/editor-web/assets/cousine-hebrew-700-normal-Bf9jZ0p9.woff +0 -0
  1098. package/editor-web/assets/cousine-latin-400-normal-BhCTjpdJ.woff2 +0 -0
  1099. package/editor-web/assets/cousine-latin-400-normal-D0CzircV.woff +0 -0
  1100. package/editor-web/assets/cousine-latin-700-normal-BO_dhHEP.woff +0 -0
  1101. package/editor-web/assets/cousine-latin-700-normal-CwJ0o97b.woff2 +0 -0
  1102. package/editor-web/assets/cousine-latin-ext-400-normal-B_NP9zZK.woff +0 -0
  1103. package/editor-web/assets/cousine-latin-ext-400-normal-CGywThDL.woff2 +0 -0
  1104. package/editor-web/assets/cousine-latin-ext-700-normal-DWTrZAet.woff2 +0 -0
  1105. package/editor-web/assets/cousine-latin-ext-700-normal-NvcoPDWO.woff +0 -0
  1106. package/editor-web/assets/cousine-vietnamese-400-normal-B4JqDdoh.woff2 +0 -0
  1107. package/editor-web/assets/cousine-vietnamese-400-normal-Bfsm3lEf.woff +0 -0
  1108. package/editor-web/assets/cousine-vietnamese-700-normal-B4DXCoMM.woff +0 -0
  1109. package/editor-web/assets/cousine-vietnamese-700-normal-DLBKC3PH.woff2 +0 -0
  1110. package/editor-web/assets/createLucideIcon-CPS-TrJJ.js +1 -0
  1111. package/editor-web/assets/cynefin-EF2NZ3EQ-CX4BTQQe.js +1 -0
  1112. package/editor-web/assets/cynefinDiagram-WF24UDRP-LbDkOTy3.js +62 -0
  1113. package/editor-web/assets/dagre-NK4GIZVX-wCKQk7hi.js +4 -0
  1114. package/editor-web/assets/diagram-CBK3MWTC-a9fofQwk.js +24 -0
  1115. package/editor-web/assets/diagram-I5XIIV2D-UCLZWch5.js +24 -0
  1116. package/editor-web/assets/diagram-ODIL2UCW-CAEe88Lp.js +30 -0
  1117. package/editor-web/assets/diagram-PFBEJUXE-Cp1o45bs.js +3 -0
  1118. package/editor-web/assets/diagram-RJA3I4VV-c6OVxDyq.js +41 -0
  1119. package/editor-web/assets/diagram-TYUNFSNR-BVRWslDM.js +200 -0
  1120. package/editor-web/assets/dist--KKyT5zP.js +340 -0
  1121. package/editor-web/assets/dist-1k0MHB3i.js +1 -0
  1122. package/editor-web/assets/dist-B9KHJqL5.js +4 -0
  1123. package/editor-web/assets/dist-BbJyrhIY.js +1 -0
  1124. package/editor-web/assets/dist-CJXCQxQM.js +37 -0
  1125. package/editor-web/assets/dist-D9xQGwe9.js +5 -0
  1126. package/editor-web/assets/dist-DFiLzbx8.js +219 -0
  1127. package/editor-web/assets/dist-DIPV6xfF.js +2 -0
  1128. package/editor-web/assets/dist-Dp-fQMtx.js +6 -0
  1129. package/editor-web/assets/dist-Duw28VxJ.js +16 -0
  1130. package/editor-web/assets/dist-DwGhfliS.js +1 -0
  1131. package/editor-web/assets/dist-OBE2IIYP.js +24 -0
  1132. package/editor-web/assets/dist-YW8hS4IM.js +9 -0
  1133. package/editor-web/assets/dist-j6ZLVcgf.js +38 -0
  1134. package/editor-web/assets/ebnfDiagram-V4P3TTPT-KdOTJgFu.js +1 -0
  1135. package/editor-web/assets/elk-QONTBCTQ-Cmlrp7qB.js +27 -0
  1136. package/editor-web/assets/erDiagram-KYQIGQAA-CBM7-aQm.js +99 -0
  1137. package/editor-web/assets/eventmodeling-K75KTNOO-CEoJkbuW.js +1 -0
  1138. package/editor-web/assets/flowDiagram-IUGLLWBU-Xm2E2ib_.js +1 -0
  1139. package/editor-web/assets/ganttDiagram-R7GPNTJY-D4S6ZSYD.js +292 -0
  1140. package/editor-web/assets/gitGraph-VSP46ZUC-BvkL6RSh.js +1 -0
  1141. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-lTGguloH.js +106 -0
  1142. package/editor-web/assets/hint-BimUgJms.js +1 -0
  1143. package/editor-web/assets/index-C-i_iuxN.js +28 -0
  1144. package/editor-web/assets/index-Cxh_Shkm.css +2 -0
  1145. package/editor-web/assets/info-OHQRW6UA-DvKzqNvp.js +1 -0
  1146. package/editor-web/assets/infoDiagram-MVDRKAX5-D7hCpehs.js +2 -0
  1147. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-Bg93sZQe.js +70 -0
  1148. package/editor-web/assets/italic-BQBwRTe8.js +1 -0
  1149. package/editor-web/assets/journeyDiagram-BOSHW7O7-CKm_KONJ.js +139 -0
  1150. package/editor-web/assets/jsx-runtime-DePvh3-m.js +1 -0
  1151. package/editor-web/assets/kanban-definition-FNSA4HC5-BKknnpTR.js +89 -0
  1152. package/editor-web/assets/layout-SWqqA0yV.js +1 -0
  1153. package/editor-web/assets/mermaid-parser.core-BzqkDnqL.js +7 -0
  1154. package/editor-web/assets/mermaid.core-CEpvTOAe.js +44 -0
  1155. package/editor-web/assets/mindmap-definition-6OY57UG3-BJ0qG8Wi.js +98 -0
  1156. package/editor-web/assets/minus-oPj1GxwA.js +1 -0
  1157. package/editor-web/assets/packet-JDAUHWVQ-ew3kvyFm.js +1 -0
  1158. package/editor-web/assets/pegDiagram-ECIUJNBX-DqUS2xit.js +1 -0
  1159. package/editor-web/assets/picture-B-I4V_JT.js +1 -0
  1160. package/editor-web/assets/pie-XZMESJXO-DTIAMPGm.js +1 -0
  1161. package/editor-web/assets/pieDiagram-GNMPY74T-DoKOE02-.js +39 -0
  1162. package/editor-web/assets/progress-CPEbDOoN.js +6 -0
  1163. package/editor-web/assets/quadrantDiagram-D57K4MC3-DauOpYun.js +7 -0
  1164. package/editor-web/assets/radar-ABXABTNO-BvMJXUU-.js +1 -0
  1165. package/editor-web/assets/railroad-I3PHUGI6-D3jdJmhM.js +1 -0
  1166. package/editor-web/assets/railroad-abnf-LNEFI6M7-Dm8ZpmPj.js +1 -0
  1167. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-oc0Du7Ag.js +1 -0
  1168. package/editor-web/assets/railroad-peg-JR7BVNR7-CMrQL_7U.js +1 -0
  1169. package/editor-web/assets/railroadDiagram-Y72NRBL7-y99z0C7i.js +1 -0
  1170. package/editor-web/assets/react-DztDSW4P.js +1 -0
  1171. package/editor-web/assets/read-view-DnCFmJFo.js +1 -0
  1172. package/editor-web/assets/read-view-uW5LmuBT.js +1 -0
  1173. package/editor-web/assets/read-view-v3cx-9XM.js +1 -0
  1174. package/editor-web/assets/repeat-2-DJi4LW5C.js +1 -0
  1175. package/editor-web/assets/requirementDiagram-EQYSW5RA-jMr_uoF6.js +84 -0
  1176. package/editor-web/assets/row-ClBisiBs.js +1 -0
  1177. package/editor-web/assets/sankeyDiagram-SY24JHO5-DcUyx03Q.js +40 -0
  1178. package/editor-web/assets/schemas-68mjUjP5.js +1 -0
  1179. package/editor-web/assets/sequenceDiagram-BLEHNHQU-R4X8wRCd.js +169 -0
  1180. package/editor-web/assets/session-2u9U7koW.js +1 -0
  1181. package/editor-web/assets/slides-BByblSSR.js +1 -0
  1182. package/editor-web/assets/snapshots-C9KV-Y2_.js +56 -0
  1183. package/editor-web/assets/sound-DExlNJbb.js +1 -0
  1184. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BqvXKbCA.js +291 -0
  1185. package/editor-web/assets/strikethrough-CyUBnGTl.js +1 -0
  1186. package/editor-web/assets/svg-lBRT-uhy.js +1 -0
  1187. package/editor-web/assets/swatch-1c1uVn1z.js +1 -0
  1188. package/editor-web/assets/swimlanes-B3ENRKFQ-hjTXIc6M.js +1 -0
  1189. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BLfytmPY.js +8 -0
  1190. package/editor-web/assets/switch-D0K-K8-C.js +1 -0
  1191. package/editor-web/assets/syntax-Bih_jv7W.js +1 -0
  1192. package/editor-web/assets/syntax-C0iPON60.js +18 -0
  1193. package/editor-web/assets/tabs-CxxOnGLR.js +1 -0
  1194. package/editor-web/assets/textarea-Fu93tFO3.js +105 -0
  1195. package/editor-web/assets/timeline-definition-JXYKGLGB-BcSoN4Dq.js +120 -0
  1196. package/editor-web/assets/tinos-cyrillic-400-italic-CUXT6ECP.woff +0 -0
  1197. package/editor-web/assets/tinos-cyrillic-400-italic-D26KjN84.woff2 +0 -0
  1198. package/editor-web/assets/tinos-cyrillic-400-normal-BInRL8Bn.woff +0 -0
  1199. package/editor-web/assets/tinos-cyrillic-400-normal-kS2dpklR.woff2 +0 -0
  1200. package/editor-web/assets/tinos-cyrillic-700-italic-CUFPRiVR.woff2 +0 -0
  1201. package/editor-web/assets/tinos-cyrillic-700-italic-DU6-gZzV.woff +0 -0
  1202. package/editor-web/assets/tinos-cyrillic-700-normal-DGklj3DM.woff2 +0 -0
  1203. package/editor-web/assets/tinos-cyrillic-700-normal-HYhic5tl.woff +0 -0
  1204. package/editor-web/assets/tinos-cyrillic-ext-400-italic-Bz6A2Xew.woff2 +0 -0
  1205. package/editor-web/assets/tinos-cyrillic-ext-400-italic-CgiySoL2.woff +0 -0
  1206. package/editor-web/assets/tinos-cyrillic-ext-400-normal-DdITlKdb.woff2 +0 -0
  1207. package/editor-web/assets/tinos-cyrillic-ext-400-normal-l41d2z3M.woff +0 -0
  1208. package/editor-web/assets/tinos-cyrillic-ext-700-italic-BQu9kgBz.woff +0 -0
  1209. package/editor-web/assets/tinos-cyrillic-ext-700-italic-Ceua-rFl.woff2 +0 -0
  1210. package/editor-web/assets/tinos-cyrillic-ext-700-normal-CE86bzrR.woff2 +0 -0
  1211. package/editor-web/assets/tinos-cyrillic-ext-700-normal-yBtNmQaZ.woff +0 -0
  1212. package/editor-web/assets/tinos-greek-400-italic-CITkaQD8.woff2 +0 -0
  1213. package/editor-web/assets/tinos-greek-400-italic-Dc-Zjc_Z.woff +0 -0
  1214. package/editor-web/assets/tinos-greek-400-normal-BKmklotr.woff2 +0 -0
  1215. package/editor-web/assets/tinos-greek-400-normal-D6DCdDEC.woff +0 -0
  1216. package/editor-web/assets/tinos-greek-700-italic-C474ACqK.woff2 +0 -0
  1217. package/editor-web/assets/tinos-greek-700-italic-VKIu6SKO.woff +0 -0
  1218. package/editor-web/assets/tinos-greek-700-normal-CAsZoNo7.woff +0 -0
  1219. package/editor-web/assets/tinos-greek-700-normal-DZiY5218.woff2 +0 -0
  1220. package/editor-web/assets/tinos-greek-ext-400-italic-C7FWsVQN.woff +0 -0
  1221. package/editor-web/assets/tinos-greek-ext-400-italic-QOcg_kQA.woff2 +0 -0
  1222. package/editor-web/assets/tinos-greek-ext-400-normal-1tgngtmV.woff2 +0 -0
  1223. package/editor-web/assets/tinos-greek-ext-400-normal-BY5Lx0CY.woff +0 -0
  1224. package/editor-web/assets/tinos-greek-ext-700-italic-2QV0uNor.woff2 +0 -0
  1225. package/editor-web/assets/tinos-greek-ext-700-italic-zoEBc9cL.woff +0 -0
  1226. package/editor-web/assets/tinos-greek-ext-700-normal-Bu9AJavU.woff +0 -0
  1227. package/editor-web/assets/tinos-greek-ext-700-normal-nVGGTb9r.woff2 +0 -0
  1228. package/editor-web/assets/tinos-hebrew-400-italic-Cp89YzKh.woff2 +0 -0
  1229. package/editor-web/assets/tinos-hebrew-400-italic-k5xAEjEk.woff +0 -0
  1230. package/editor-web/assets/tinos-hebrew-400-normal-B17QmYDt.woff2 +0 -0
  1231. package/editor-web/assets/tinos-hebrew-400-normal-DhGqnHb1.woff +0 -0
  1232. package/editor-web/assets/tinos-hebrew-700-italic-BSdnwE5c.woff2 +0 -0
  1233. package/editor-web/assets/tinos-hebrew-700-italic-DuNrcWBH.woff +0 -0
  1234. package/editor-web/assets/tinos-hebrew-700-normal-B737la7J.woff +0 -0
  1235. package/editor-web/assets/tinos-hebrew-700-normal-BNVAlJ0i.woff2 +0 -0
  1236. package/editor-web/assets/tinos-latin-400-italic-BYAl0kbZ.woff2 +0 -0
  1237. package/editor-web/assets/tinos-latin-400-italic-HcuZF3H0.woff +0 -0
  1238. package/editor-web/assets/tinos-latin-400-normal-B05awSIM.woff +0 -0
  1239. package/editor-web/assets/tinos-latin-400-normal-rilFpyjL.woff2 +0 -0
  1240. package/editor-web/assets/tinos-latin-700-italic-M0H2aQ0O.woff +0 -0
  1241. package/editor-web/assets/tinos-latin-700-italic-vJg8Axdx.woff2 +0 -0
  1242. package/editor-web/assets/tinos-latin-700-normal-CjcRkLdR.woff +0 -0
  1243. package/editor-web/assets/tinos-latin-700-normal-qGf2y18O.woff2 +0 -0
  1244. package/editor-web/assets/tinos-latin-ext-400-italic-DKtLLJa2.woff +0 -0
  1245. package/editor-web/assets/tinos-latin-ext-400-italic-WsHooD3r.woff2 +0 -0
  1246. package/editor-web/assets/tinos-latin-ext-400-normal-BUQPNqi9.woff +0 -0
  1247. package/editor-web/assets/tinos-latin-ext-400-normal-C68eX7xt.woff2 +0 -0
  1248. package/editor-web/assets/tinos-latin-ext-700-italic-BtLLKPsV.woff2 +0 -0
  1249. package/editor-web/assets/tinos-latin-ext-700-italic-Gmi35kWa.woff +0 -0
  1250. package/editor-web/assets/tinos-latin-ext-700-normal-CesJqEpY.woff2 +0 -0
  1251. package/editor-web/assets/tinos-latin-ext-700-normal-nLvPiDAe.woff +0 -0
  1252. package/editor-web/assets/tinos-vietnamese-400-italic-BJdaJnTX.woff2 +0 -0
  1253. package/editor-web/assets/tinos-vietnamese-400-italic-C0nreyLC.woff +0 -0
  1254. package/editor-web/assets/tinos-vietnamese-400-normal-BYl6xqrz.woff +0 -0
  1255. package/editor-web/assets/tinos-vietnamese-400-normal-CrJeqB3M.woff2 +0 -0
  1256. package/editor-web/assets/tinos-vietnamese-700-italic-BPJuDXkI.woff2 +0 -0
  1257. package/editor-web/assets/tinos-vietnamese-700-italic-Dl6iR3hy.woff +0 -0
  1258. package/editor-web/assets/tinos-vietnamese-700-normal-CmLX0U_H.woff2 +0 -0
  1259. package/editor-web/assets/tinos-vietnamese-700-normal-bKCZ5S7w.woff +0 -0
  1260. package/editor-web/assets/trash-2-BAKAeziW.js +1 -0
  1261. package/editor-web/assets/treeView-D4JQ5SDB-CsFN2jrc.js +1 -0
  1262. package/editor-web/assets/treemap-SAJKECNS-DP1eqXJ2.js +1 -0
  1263. package/editor-web/assets/undo-2-DQ5CBmki.js +1 -0
  1264. package/editor-web/assets/usecaseDiagram-WPOLBNNX-BGxa0osF.js +328 -0
  1265. package/editor-web/assets/vennDiagram-Q3Y3IDCW-D2XhTF49.js +34 -0
  1266. package/editor-web/assets/video-CDbPX4Cr.js +1 -0
  1267. package/editor-web/assets/wardley-7MLQ67FV-DM3jMAbZ.js +1 -0
  1268. package/editor-web/assets/wardleyDiagram-IVAIDKWA-Bf-DaZEg.js +78 -0
  1269. package/editor-web/assets/xychartDiagram-4URNHDU4-dp-mdcWd.js +7 -0
  1270. package/editor-web/index.html +8 -3
  1271. package/package.json +21 -5
  1272. package/dist/audio-text.js +0 -6
  1273. package/dist/cloud-hearing.js +0 -2
  1274. package/dist/commands/audio.js +0 -4
  1275. package/dist/commands/inspect/contrast.js +0 -2
  1276. package/dist/commands/inspect/fidelity.js +0 -2
  1277. package/dist/commands/inspect/joins.js +0 -2
  1278. package/dist/commands/inspect/motion.js +0 -4
  1279. package/dist/commands/inspect/sheet.js +0 -3
  1280. package/dist/commands/inspect/timeline.js +0 -3
  1281. package/dist/commands/model.js +0 -3
  1282. package/dist/commands/reference-text.js +0 -5
  1283. package/dist/commands/reference.js +0 -2
  1284. package/dist/commands/scenery-input.js +0 -2
  1285. package/dist/commands/scenery.js +0 -7
  1286. package/dist/commands/sheet.js +0 -8
  1287. package/dist/commands/site.js +0 -4
  1288. package/dist/commands/slides.js +0 -3
  1289. package/dist/commands/voice.js +0 -3
  1290. package/dist/commands/words-text.js +0 -6
  1291. package/dist/commands/words.js +0 -2
  1292. package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +0 -34
  1293. package/dist/node_modules/@allyhub/build/dist/sheet-code.js +0 -2
  1294. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +0 -11
  1295. package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +0 -33
  1296. package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +0 -206
  1297. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +0 -15
  1298. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +0 -6
  1299. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +0 -22
  1300. package/dist/node_modules/@allyhub/check/dist/generated.js +0 -2
  1301. package/dist/node_modules/@allyhub/check/dist/plans.js +0 -3
  1302. package/dist/node_modules/@allyhub/check/dist/scenery.js +0 -2
  1303. package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +0 -65
  1304. package/dist/node_modules/@allyhub/doc/dist/color.d.ts +0 -6
  1305. package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +0 -6
  1306. package/dist/node_modules/@allyhub/doc/dist/component.d.ts +0 -27
  1307. package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +0 -39
  1308. package/dist/node_modules/@allyhub/doc/dist/html.d.ts +0 -49
  1309. package/dist/node_modules/@allyhub/doc/dist/index.d.ts +0 -13
  1310. package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +0 -13
  1311. package/dist/node_modules/@allyhub/doc/dist/math.d.ts +0 -11
  1312. package/dist/node_modules/@allyhub/doc/dist/model.d.ts +0 -280
  1313. package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +0 -39
  1314. package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +0 -24
  1315. package/dist/node_modules/@allyhub/doc/dist/patch.d.ts +0 -8
  1316. package/dist/node_modules/@allyhub/doc/dist/title.d.ts +0 -23
  1317. package/dist/node_modules/@allyhub/doc/dist/write.d.ts +0 -18
  1318. package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +0 -2
  1319. package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
  1320. package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
  1321. package/dist/node_modules/@allyhub/measure/dist/contrast.js +0 -2
  1322. package/dist/node_modules/@allyhub/measure/dist/cuts.js +0 -2
  1323. package/dist/node_modules/@allyhub/measure/dist/facts.js +0 -2
  1324. package/dist/node_modules/@allyhub/measure/dist/fidelity.js +0 -3
  1325. package/dist/node_modules/@allyhub/measure/dist/overlay.js +0 -2
  1326. package/dist/node_modules/@allyhub/measure/dist/recording-report.js +0 -2
  1327. package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +0 -2
  1328. package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +0 -2
  1329. package/dist/node_modules/@allyhub/measure/dist/reference/text.js +0 -2
  1330. package/dist/node_modules/@allyhub/measure/dist/reference/video.js +0 -2
  1331. package/dist/node_modules/@allyhub/measure/dist/sound-report.js +0 -2
  1332. package/dist/node_modules/@allyhub/media/dist/asr/hear.d.ts +0 -41
  1333. package/dist/node_modules/@allyhub/media/dist/asr/hear.js +0 -2
  1334. package/dist/node_modules/@allyhub/media/dist/asr/languages.d.ts +0 -9
  1335. package/dist/node_modules/@allyhub/media/dist/asr/languages.js +0 -2
  1336. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.d.ts +0 -54
  1337. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +0 -7
  1338. package/dist/node_modules/@allyhub/media/dist/asr/protocol.d.ts +0 -20
  1339. package/dist/node_modules/@allyhub/media/dist/asr/protocol.js +0 -2
  1340. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +0 -50
  1341. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.js +0 -2
  1342. package/dist/node_modules/@allyhub/media/dist/asr/windows.d.ts +0 -34
  1343. package/dist/node_modules/@allyhub/media/dist/asr/windows.js +0 -2
  1344. package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +0 -7
  1345. package/dist/node_modules/@allyhub/media/dist/asr/words.js +0 -2
  1346. package/dist/node_modules/@allyhub/media/dist/asr/worker.d.ts +0 -2
  1347. package/dist/node_modules/@allyhub/media/dist/asr/worker.js +0 -4
  1348. package/dist/node_modules/@allyhub/media/dist/local.d.ts +0 -39
  1349. package/dist/node_modules/@allyhub/media/dist/local.js +0 -2
  1350. package/dist/node_modules/@allyhub/media/dist/ocr/lines.d.ts +0 -36
  1351. package/dist/node_modules/@allyhub/media/dist/ocr/lines.js +0 -2
  1352. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.d.ts +0 -62
  1353. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.js +0 -2
  1354. package/dist/node_modules/@allyhub/media/dist/ocr/text.d.ts +0 -36
  1355. package/dist/node_modules/@allyhub/media/dist/ocr/text.js +0 -4
  1356. package/dist/node_modules/@allyhub/media/dist/ocr/worker.d.ts +0 -2
  1357. package/dist/node_modules/@allyhub/media/dist/ocr/worker.js +0 -5
  1358. package/dist/node_modules/@allyhub/media/dist/vision/common.d.ts +0 -32
  1359. package/dist/node_modules/@allyhub/media/dist/vision/common.js +0 -2
  1360. package/dist/node_modules/@allyhub/media/dist/vision/faces.d.ts +0 -18
  1361. package/dist/node_modules/@allyhub/media/dist/vision/faces.js +0 -2
  1362. package/dist/node_modules/@allyhub/media/dist/vision/index-media.d.ts +0 -48
  1363. package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +0 -3
  1364. package/dist/node_modules/@allyhub/media/dist/vision/matte.d.ts +0 -16
  1365. package/dist/node_modules/@allyhub/media/dist/vision/matte.js +0 -2
  1366. package/dist/node_modules/@allyhub/media/dist/vision/mattes.d.ts +0 -109
  1367. package/dist/node_modules/@allyhub/media/dist/vision/mattes.js +0 -2
  1368. package/dist/node_modules/@allyhub/media/dist/vision/models.d.ts +0 -16
  1369. package/dist/node_modules/@allyhub/media/dist/vision/models.js +0 -2
  1370. package/dist/node_modules/@allyhub/media/dist/vision/protocol.d.ts +0 -51
  1371. package/dist/node_modules/@allyhub/media/dist/vision/protocol.js +0 -2
  1372. package/dist/node_modules/@allyhub/media/dist/vision/run.d.ts +0 -12
  1373. package/dist/node_modules/@allyhub/media/dist/vision/run.js +0 -4
  1374. package/dist/node_modules/@allyhub/media/dist/vision/runtime.d.ts +0 -16
  1375. package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +0 -8
  1376. package/dist/node_modules/@allyhub/media/dist/vision/status.d.ts +0 -24
  1377. package/dist/node_modules/@allyhub/media/dist/vision/status.js +0 -2
  1378. package/dist/node_modules/@allyhub/media/dist/vision/track.d.ts +0 -54
  1379. package/dist/node_modules/@allyhub/media/dist/vision/track.js +0 -2
  1380. package/dist/node_modules/@allyhub/media/dist/vision/worker.d.ts +0 -2
  1381. package/dist/node_modules/@allyhub/media/dist/vision/worker.js +0 -5
  1382. package/dist/node_modules/@allyhub/media/dist/vision/yunet.d.ts +0 -35
  1383. package/dist/node_modules/@allyhub/media/dist/vision/yunet.js +0 -2
  1384. package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +0 -3
  1385. package/dist/node_modules/@allyhub/media/dist/worker-process.js +0 -2
  1386. package/dist/node_modules/@allyhub/ooxml/dist/brightness.d.ts +0 -31
  1387. package/dist/node_modules/@allyhub/ooxml/dist/color.d.ts +0 -33
  1388. package/dist/node_modules/@allyhub/ooxml/dist/enums.d.ts +0 -13
  1389. package/dist/node_modules/@allyhub/ooxml/dist/ext.d.ts +0 -79
  1390. package/dist/node_modules/@allyhub/ooxml/dist/generated/enums.d.ts +0 -132
  1391. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +0 -28
  1392. package/dist/node_modules/@allyhub/ooxml/dist/generated/spec.d.ts +0 -4708
  1393. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +0 -57
  1394. package/dist/node_modules/@allyhub/ooxml/dist/index.d.ts +0 -10
  1395. package/dist/node_modules/@allyhub/ooxml/dist/mce.d.ts +0 -12
  1396. package/dist/node_modules/@allyhub/ooxml/dist/node.d.ts +0 -111
  1397. package/dist/node_modules/@allyhub/ooxml/dist/ns.d.ts +0 -45
  1398. package/dist/node_modules/@allyhub/ooxml/dist/opc.d.ts +0 -48
  1399. package/dist/node_modules/@allyhub/ooxml/dist/report.d.ts +0 -45
  1400. package/dist/node_modules/@allyhub/ooxml/dist/xml.d.ts +0 -28
  1401. package/dist/node_modules/@allyhub/project/dist/deck-keys.js +0 -2
  1402. package/dist/node_modules/@allyhub/project/dist/deck-measure.js +0 -2
  1403. package/dist/node_modules/@allyhub/project/dist/deck-pool.js +0 -2
  1404. package/dist/node_modules/@allyhub/project/dist/says.js +0 -2
  1405. package/dist/node_modules/@allyhub/project/dist/scenery.js +0 -2
  1406. package/dist/node_modules/@allyhub/project/dist/stretch.js +0 -2
  1407. package/dist/node_modules/@allyhub/render/dist/doc/fonts.js +0 -4
  1408. package/dist/node_modules/@allyhub/render/dist/doc/index.js +0 -2
  1409. package/dist/node_modules/@allyhub/render/dist/doc/pages.js +0 -32
  1410. package/dist/node_modules/@allyhub/render/dist/doc/print.js +0 -41
  1411. package/dist/node_modules/@allyhub/render/dist/webp.js +0 -2
  1412. package/dist/node_modules/@allyhub/runtime/dist/console.js +0 -2
  1413. package/dist/node_modules/@allyhub/runtime/dist/env.js +0 -2
  1414. package/dist/node_modules/@allyhub/runtime/dist/errors.js +0 -2
  1415. package/dist/node_modules/@allyhub/runtime/dist/inspect.js +0 -3
  1416. package/dist/node_modules/@allyhub/runtime/dist/locate.js +0 -2
  1417. package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +0 -2
  1418. package/dist/node_modules/@allyhub/runtime/dist/reads.js +0 -2
  1419. package/dist/node_modules/@allyhub/runtime/dist/stage.js +0 -2
  1420. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
  1421. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
  1422. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
  1423. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
  1424. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
  1425. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
  1426. package/dist/node_modules/@allyhub/sheet/dist/address.d.ts +0 -32
  1427. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.d.ts +0 -23
  1428. package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +0 -204
  1429. package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +0 -19
  1430. package/dist/node_modules/@allyhub/sheet/dist/api/hint.d.ts +0 -3
  1431. package/dist/node_modules/@allyhub/sheet/dist/api/index.d.ts +0 -8
  1432. package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +0 -83
  1433. package/dist/node_modules/@allyhub/sheet/dist/api/rectangles.d.ts +0 -4
  1434. package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +0 -170
  1435. package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +0 -117
  1436. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +0 -362
  1437. package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +0 -68
  1438. package/dist/node_modules/@allyhub/sheet/dist/calc/analyse.d.ts +0 -27
  1439. package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.d.ts +0 -23
  1440. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.d.ts +0 -199
  1441. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/aggregate.d.ts +0 -2
  1442. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/convert.d.ts +0 -4
  1443. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.d.ts +0 -15
  1444. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/database.d.ts +0 -2
  1445. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.d.ts +0 -2
  1446. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.d.ts +0 -95
  1447. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/delimiters.d.ts +0 -16
  1448. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/distributions.d.ts +0 -2
  1449. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/dynamic.d.ts +0 -19
  1450. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/finance.d.ts +0 -2
  1451. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/index.d.ts +0 -17
  1452. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.d.ts +0 -2
  1453. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.d.ts +0 -2
  1454. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/logical.d.ts +0 -2
  1455. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.d.ts +0 -2
  1456. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.d.ts +0 -2
  1457. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/modern.d.ts +0 -2
  1458. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/special.d.ts +0 -29
  1459. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.d.ts +0 -2
  1460. package/dist/node_modules/@allyhub/sheet/dist/calc/graph.d.ts +0 -38
  1461. package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.d.ts +0 -19
  1462. package/dist/node_modules/@allyhub/sheet/dist/calc/remote.d.ts +0 -49
  1463. package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +0 -82
  1464. package/dist/node_modules/@allyhub/sheet/dist/calc/types.d.ts +0 -55
  1465. package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +0 -52
  1466. package/dist/node_modules/@allyhub/sheet/dist/check.d.ts +0 -15
  1467. package/dist/node_modules/@allyhub/sheet/dist/diff.d.ts +0 -79
  1468. package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +0 -154
  1469. package/dist/node_modules/@allyhub/sheet/dist/export.d.ts +0 -32
  1470. package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +0 -19
  1471. package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +0 -24
  1472. package/dist/node_modules/@allyhub/sheet/dist/fill.d.ts +0 -30
  1473. package/dist/node_modules/@allyhub/sheet/dist/filter.d.ts +0 -29
  1474. package/dist/node_modules/@allyhub/sheet/dist/format.d.ts +0 -15
  1475. package/dist/node_modules/@allyhub/sheet/dist/formula/ast.d.ts +0 -113
  1476. package/dist/node_modules/@allyhub/sheet/dist/formula/move.d.ts +0 -6
  1477. package/dist/node_modules/@allyhub/sheet/dist/formula/parse.d.ts +0 -4
  1478. package/dist/node_modules/@allyhub/sheet/dist/formula/print.d.ts +0 -6
  1479. package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.d.ts +0 -65
  1480. package/dist/node_modules/@allyhub/sheet/dist/formula/walk.d.ts +0 -6
  1481. package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +0 -46
  1482. package/dist/node_modules/@allyhub/sheet/dist/html.d.ts +0 -82
  1483. package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +0 -11
  1484. package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +0 -42
  1485. package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +0 -25
  1486. package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +0 -98
  1487. package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +0 -4
  1488. package/dist/node_modules/@allyhub/sheet/dist/profile.d.ts +0 -30
  1489. package/dist/node_modules/@allyhub/sheet/dist/rules.d.ts +0 -56
  1490. package/dist/node_modules/@allyhub/sheet/dist/scenario.d.ts +0 -42
  1491. package/dist/node_modules/@allyhub/sheet/dist/series.d.ts +0 -10
  1492. package/dist/node_modules/@allyhub/sheet/dist/sort.d.ts +0 -24
  1493. package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +0 -38
  1494. package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +0 -32
  1495. package/dist/node_modules/@allyhub/sheet/dist/table-styles.d.ts +0 -3
  1496. package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +0 -26
  1497. package/dist/node_modules/@allyhub/sheet/dist/values.d.ts +0 -67
  1498. package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +0 -324
  1499. package/dist/node_modules/@allyhub/sheet/dist/write.d.ts +0 -5
  1500. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +0 -53
  1501. package/dist/node_modules/@allyhub/sheet/dist/xlsx/colors.d.ts +0 -19
  1502. package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.d.ts +0 -31
  1503. package/dist/node_modules/@allyhub/sheet/dist/xlsx/functions.d.ts +0 -15
  1504. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +0 -49
  1505. package/dist/node_modules/@allyhub/sheet/dist/xlsx/index.d.ts +0 -5
  1506. package/dist/node_modules/@allyhub/sheet/dist/xlsx/numfmt.d.ts +0 -8
  1507. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +0 -159
  1508. package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.d.ts +0 -23
  1509. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.d.ts +0 -25
  1510. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.d.ts +0 -3
  1511. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.d.ts +0 -23
  1512. package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.d.ts +0 -28
  1513. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +0 -40
  1514. package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +0 -129
  1515. package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +0 -730
  1516. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.d.ts +0 -18
  1517. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +0 -202
  1518. package/dist/node_modules/@allyhub/slides-core/dist/check.d.ts +0 -7
  1519. package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +0 -33
  1520. package/dist/node_modules/@allyhub/slides-core/dist/components.d.ts +0 -31
  1521. package/dist/node_modules/@allyhub/slides-core/dist/enums.d.ts +0 -329
  1522. package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +0 -131
  1523. package/dist/node_modules/@allyhub/slides-core/dist/identity.d.ts +0 -17
  1524. package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +0 -25
  1525. package/dist/node_modules/@allyhub/slides-core/dist/lang.d.ts +0 -6
  1526. package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +0 -34
  1527. package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +0 -58
  1528. package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +0 -293
  1529. package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +0 -84
  1530. package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +0 -6
  1531. package/dist/node_modules/@allyhub/slides-core/dist/placeholders.d.ts +0 -7
  1532. package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +0 -202
  1533. package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +0 -45
  1534. package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +0 -61
  1535. package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +0 -7
  1536. package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +0 -72
  1537. package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +0 -62
  1538. package/dist/node_modules/@allyhub/slides-core/dist/values.d.ts +0 -7
  1539. package/dist/node_modules/@allyhub/stage/dist/bakes.js +0 -4
  1540. package/dist/node_modules/@allyhub/stage/dist/graphics.js +0 -2
  1541. package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +0 -12
  1542. package/dist/node_modules/@allyhub/stage/dist/scenery.js +0 -2
  1543. package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +0 -79
  1544. package/dist/node_modules/@allyhub/video-core/dist/anchors.d.ts +0 -164
  1545. package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +0 -148
  1546. package/dist/node_modules/@allyhub/video-core/dist/backdrop.d.ts +0 -87
  1547. package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +0 -122
  1548. package/dist/node_modules/@allyhub/video-core/dist/component.js +0 -2
  1549. package/dist/node_modules/@allyhub/video-core/dist/contrast.d.ts +0 -98
  1550. package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +0 -77
  1551. package/dist/node_modules/@allyhub/video-core/dist/edit.d.ts +0 -77
  1552. package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +0 -163
  1553. package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +0 -97
  1554. package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
  1555. package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +0 -1179
  1556. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +0 -168
  1557. package/dist/node_modules/@allyhub/video-core/dist/formats.d.ts +0 -205
  1558. package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
  1559. package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
  1560. package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +0 -41
  1561. package/dist/node_modules/@allyhub/video-core/dist/look.d.ts +0 -66
  1562. package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +0 -563
  1563. package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +0 -226
  1564. package/dist/node_modules/@allyhub/video-core/dist/media.js +0 -2
  1565. package/dist/node_modules/@allyhub/video-core/dist/messages.d.ts +0 -88
  1566. package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +0 -56
  1567. package/dist/node_modules/@allyhub/video-core/dist/music.d.ts +0 -111
  1568. package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +0 -1154
  1569. package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +0 -37
  1570. package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
  1571. package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
  1572. package/dist/node_modules/@allyhub/video-core/dist/render-types.d.ts +0 -49
  1573. package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +0 -350
  1574. package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +0 -180
  1575. package/dist/node_modules/@allyhub/video-core/dist/script.d.ts +0 -76
  1576. package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
  1577. package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +0 -214
  1578. package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +0 -72
  1579. package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
  1580. package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +0 -83
  1581. package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +0 -631
  1582. package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +0 -88
  1583. package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +0 -288
  1584. package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +0 -300
  1585. package/dist/node_modules/@allyhub/video-core/dist/voice.d.ts +0 -175
  1586. package/dist/text/timeline-text.js +0 -2
  1587. package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +0 -1
  1588. package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +0 -1
  1589. package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +0 -36
  1590. package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +0 -140
  1591. package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +0 -38
  1592. package/editor-web/assets/calc-worker-BTNuOUVJ.js +0 -158
  1593. package/editor-web/assets/channel-hhT2g1yB.js +0 -1
  1594. package/editor-web/assets/choice-BJc3Tv5F.js +0 -10
  1595. package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +0 -88
  1596. package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +0 -1
  1597. package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +0 -1
  1598. package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +0 -2
  1599. package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +0 -72
  1600. package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +0 -129
  1601. package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +0 -62
  1602. package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +0 -1
  1603. package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +0 -213
  1604. package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +0 -1
  1605. package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +0 -1
  1606. package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +0 -10
  1607. package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +0 -1
  1608. package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +0 -1
  1609. package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +0 -2
  1610. package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +0 -217
  1611. package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +0 -1
  1612. package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +0 -62
  1613. package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +0 -4
  1614. package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +0 -24
  1615. package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +0 -24
  1616. package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +0 -30
  1617. package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +0 -3
  1618. package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +0 -41
  1619. package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +0 -200
  1620. package/editor-web/assets/dist-BRuoygB7.js +0 -2
  1621. package/editor-web/assets/dist-CK42vCmN.js +0 -550
  1622. package/editor-web/assets/dist-C_buDsM-.js +0 -36
  1623. package/editor-web/assets/dist-DNcXHhzn.js +0 -37
  1624. package/editor-web/assets/dist-HxiPpGXi.js +0 -10
  1625. package/editor-web/assets/dist-PF3VMsK7.js +0 -1
  1626. package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +0 -1
  1627. package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +0 -27
  1628. package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +0 -99
  1629. package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +0 -1
  1630. package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +0 -1
  1631. package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +0 -292
  1632. package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +0 -1
  1633. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +0 -106
  1634. package/editor-web/assets/hint-BwGc32IE.js +0 -1
  1635. package/editor-web/assets/index-BQKSbBSy.js +0 -69
  1636. package/editor-web/assets/index-CfD80QPx.css +0 -2
  1637. package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +0 -1
  1638. package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +0 -2
  1639. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +0 -70
  1640. package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +0 -139
  1641. package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +0 -89
  1642. package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +0 -7
  1643. package/editor-web/assets/mermaid.core-CVH2hRmI.js +0 -44
  1644. package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +0 -98
  1645. package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +0 -1
  1646. package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +0 -1
  1647. package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +0 -1
  1648. package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +0 -39
  1649. package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +0 -7
  1650. package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +0 -1
  1651. package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +0 -1
  1652. package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +0 -1
  1653. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +0 -1
  1654. package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +0 -1
  1655. package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +0 -1
  1656. package/editor-web/assets/react-BSSSHUyV.js +0 -101
  1657. package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +0 -84
  1658. package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +0 -40
  1659. package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +0 -169
  1660. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +0 -291
  1661. package/editor-web/assets/svg-BiObwMnL.js +0 -1
  1662. package/editor-web/assets/swatch-CwskGSEY.js +0 -105
  1663. package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +0 -1
  1664. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +0 -8
  1665. package/editor-web/assets/tabs-uHwPMprC.js +0 -1
  1666. package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +0 -120
  1667. package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +0 -1
  1668. package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +0 -1
  1669. package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +0 -328
  1670. package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +0 -34
  1671. package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +0 -1
  1672. package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +0 -78
  1673. package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +0 -7
  1674. /package/dist/{commands → node_modules/@allyhub/3d-extension/dist/cli}/scenery-text.js +0 -0
  1675. /package/dist/node_modules/@allyhub/{check/dist/result.js → build/dist/stage-route.js} +0 -0
  1676. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/drawn.js +0 -0
  1677. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/pdf.js +0 -0
  1678. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
  1679. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
  1680. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/contrast.js +0 -0
  1681. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/fonts.js +0 -0
  1682. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/guards.js +0 -0
  1683. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/pictures.js +0 -0
  1684. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/styles.js +0 -0
  1685. /package/dist/node_modules/@allyhub/{runtime/dist/bridge.js → image-extension/dist/page.js} +0 -0
  1686. /package/dist/node_modules/@allyhub/{render → image-render}/dist/pdf.js +0 -0
  1687. /package/dist/node_modules/@allyhub/{render → image-render}/dist/png.js +0 -0
  1688. /package/dist/node_modules/@allyhub/{render → measure}/dist/image.js +0 -0
  1689. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
  1690. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
  1691. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
  1692. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
  1693. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
  1694. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
  1695. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
  1696. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
  1697. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
  1698. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
  1699. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
  1700. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
  1701. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
  1702. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
  1703. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
  1704. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
  1705. /package/dist/node_modules/@allyhub/{stage/dist/scenery-solve.js → scenery-host/dist/stage/solve.js} +0 -0
  1706. /package/dist/node_modules/@allyhub/{export → slides-extension}/dist/deck-fonts.js +0 -0
  1707. /package/dist/node_modules/@allyhub/{dev-server/dist/fonts.js → slides-extension/dist/font-faces.js} +0 -0
  1708. /package/dist/node_modules/@allyhub/{dev-server → video-extension}/dist/sound.js +0 -0
  1709. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/cut-sheet.js +0 -0
  1710. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/flat.js +0 -0
  1711. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/loop.js +0 -0
  1712. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/compare.js +0 -0
  1713. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/folder.js +0 -0
  1714. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/interpret.js +0 -0
  1715. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/sections.js +0 -0
  1716. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/seams.js +0 -0
  1717. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/sound-measures.js +0 -0
  1718. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/still.js +0 -0
  1719. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/version-voice.js +0 -0
@@ -0,0 +1,73 @@
1
+ import{i as e,t}from"./rolldown-runtime-COiEfhsA.js";import{a as n,f as r,m as i,o as a,s as o,u as s,v as c}from"./react-DztDSW4P.js";import{Tt as l,_t as u,gt as d,t as f,wt as p}from"./button-Chk675Xu.js";import{et as m,rt as h,tt as g}from"./snapshots-C9KV-Y2_.js";import{t as _}from"./session-2u9U7koW.js";import{t as v}from"./jsx-runtime-DePvh3-m.js";import{t as y}from"./createLucideIcon-CPS-TrJJ.js";import{n as b,t as x}from"./italic-BQBwRTe8.js";import{E as S,_ as C,b as w,c as T,d as E,i as D,l as O,n as k,p as A,r as j,s as M,t as N,u as P,v as F,w as I,x as ee,y as L}from"./alt-DnBZJzEh.js";import{S as R,_ as z,a as te,b as ne,y as re}from"./dist-Dp-fQMtx.js";import{$ as ie,A as ae,B as oe,C as B,D as V,E as se,F as ce,G as le,K as ue,M as de,O as H,Q as fe,T as U,U as pe,V as me,W as he,X as ge,Y as _e,Z as ve,_ as ye,ct as be,d as xe,dt as Se,et as Ce,f as we,ft as Te,gt as Ee,h as De,ht as Oe,it as ke,j as Ae,k as je,lt as Me,mt as Ne,n as Pe,nt as W,o as Fe,ot as Ie,p as Le,pt as Re,q as ze,rt as Be,s as Ve,t as He,tt as Ue,ut as We,x as Ge,y as Ke,z as qe}from"./dist--KKyT5zP.js";import{A as Je,D as Ye,O as Xe,a as Ze,i as Qe,k as $e,n as et,r as tt}from"./dist-DIPV6xfF.js";import{t as nt}from"./minus-oPj1GxwA.js";import{n as rt,t as it}from"./undo-2-DQ5CBmki.js";import{t as at}from"./strikethrough-CyUBnGTl.js";import{D as ot,Q as st,ct,g as lt,m as ut,p as dt,v as ft}from"./index-C-i_iuxN.js";import{t as pt}from"./collaborator-LRd0hELn.js";import{t as mt}from"./row-ClBisiBs.js";import{A as ht,C as gt,N as _t,O as vt,P as yt,S as bt,T as xt,a as St,c as Ct,d as wt,f as Tt,h as Et,i as Dt,j as Ot,k as kt,l as At,m as jt,n as Mt,o as Nt,p as Pt,r as Ft,s as It,t as Lt,u as Rt,w as zt}from"./syntax-C0iPON60.js";import{i as Bt,n as Vt}from"./textarea-Fu93tFO3.js";import{E as Ht,c as Ut,d as Wt,h as Gt,k as Kt,l as qt,n as Jt,o as Yt,s as G,t as Xt,y as Zt}from"./dist-YW8hS4IM.js";var Qt=y(`link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),$t={}.hasOwnProperty;function en(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&$t.call(t,e)){let n=String(t[e]);i=$t.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var tn={}.hasOwnProperty;function nn(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)nn(e,t.extensions[n]);for(r in t)if(tn.call(t,r))switch(r){case`extensions`:break;case`unsafe`:rn(e[r],t[r]);break;case`join`:rn(e[r],t[r]);break;case`handlers`:an(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function rn(e,t){t&&e.push(...t)}function an(e,t){t&&Object.assign(e,t)}function on(e){if(e.charCodeAt(0)!==60)return;let t=e.charCodeAt(1);if(t===33){let t=e.charCodeAt(2);return t===45?2:t===91?5:ht(t)?4:void 0}if(t===63)return 3;let n=t===47,r=n?2:1,i=r,a=e.charCodeAt(i);if(!ht(a))return;for(;a===45||Ot(a);)a=e.charCodeAt(++i);let o=e.slice(r,i).toLowerCase();return!n&&a!==47&&xt.includes(o)?1:zt.includes(o)?6:7}var sn=[cn];function cn(e,t,n,r){if(t.type===`code`&&At(t,r)&&(e.type===`list`||e.type===t.type&&At(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`){if(e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&It(t,r)))return;if(e.type===`html`){let t=on(e.value);if(t===void 0||t===6||t===7)return 1}if(e.type===`paragraph`&&t.type===`html`){let e=on(t.value);if(e===void 0||e===7)return 1}return+!!n.spread}}for(var ln=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],un=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
2
+ `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`\r`,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:`\r`,after:`\\r`,inConstruct:`phrasing`},{character:`
3
+ `,before:`\\n`,inConstruct:`phrasing`},{character:`
4
+ `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`!`,after:`\\[`,inConstruct:`phrasing`,notInConstruct:ln},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
5
+ ]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:ln},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
6
+ *])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:ln},{atBreak:!0,character:`+`,after:`(?:[ \r
7
+ ])`},{atBreak:!0,character:`-`,after:`(?:[ \r
8
+ -])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
9
+ ]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:ln},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:ln},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:ln},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:ln},{atBreak:!0,character:`~`},{character:`<`,inConstruct:`autolink`},{character:`>`,inConstruct:`autolink`},{character:``,inConstruct:`autolink`}],dn=-1;++dn<33;)un.push({character:String.fromCharCode(dn),inConstruct:`autolink`});function fn(e){return e.label||!e.identifier?e.label||``:gt(e.identifier)}function pn(e){if(!e._compiled){let t=(e.atBreak?`[\\r\\n][\\t ]*`:``)+(e.before?`(?:`+e.before+`)`:``);e._compiled=RegExp((e.beforeNode?`^`:t?`(`+t+`)`:``)+(/[$()*+.?[\\\]^{|}]/.test(e.character)?`\\`:``)+e.character+(e.afterNode?`$`:e.after?`(?:`+e.after+`)`:``),e.unicode?`gu`:`g`)}return e._compiled}function mn(e){let t=e.codePointAt(0);return t===void 0?``:String.fromCodePoint(t)}function hn(e){let t=e.codePointAt(e.length-2);return t!==void 0&&t>65535?e.slice(-2):e.slice(-1)}function gn(e,t,n){let r=vt(e),i=vt(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}var _n=new Map([[`*`,!1],[`_`,!0]]);function vn(e,t,n){let r=new Set;for(let i of e){let e=n.get(i);if(e&&i.attention&&t.some(e=>e.attention===i.attention))for(let t of e.tokens)r.add(t.attention)}let i=[];for(let t of e)t.attention&&r.delete(t.attention)&&i.push(t.attention);return i.reverse(),i}function yn(e,t,n){let r=[],i=new Map,a=new Map,o=0;for(;o<e.length;){if(!e[o].attention){o++;continue}let s=e[o].value.charAt(0),c=_n.get(s),l=o+1;for(;l<e.length&&e[l].attention&&e[l].value.charAt(0)===s;)l++;let u=o?e[o-1].value:t,d=vt(u.charCodeAt(u.length-1)),f=vt((l<e.length?e[l].value:n).charCodeAt(0)),p=!f||f===2&&!!d,m=!d||d===2&&!!f,h={tokens:e.slice(o,l),markers:[],start:0,end:0,open:c?p&&(!!d||!m):p,close:c?m&&(!!f||!p):m,split:c!==void 0};for(let e of h.tokens){i.set(e,[...h.tokens]),a.set(e,h);let t=e.value.length;for(;t--;)h.markers.push(e)}h.end=h.markers.length,r.push(h),o=l}for(Cn(r,i),o=-1;++o<e.length;){let t=i.get(e[o]);if(t)return{attention:vn(e,t,a),index:o}}}function bn(e,t,n){return Dn(Tn(e,t,n),n.before,n.after)}function xn(e,t){let n=e[t?0:e.length-1];if(!n||n.attention)return;let r=t?mn(n.value):hn(n.value),i=Ct(r.codePointAt(0));n.value=t?i+n.value.slice(r.length):n.value.slice(0,n.value.length-r.length)+i}function Sn(e,t,n,r,i){for(let a of n.attention){let o=t.get(a)||a.sequences[0];for(let s of a.sequences){if(s===o)continue;let c=new Map(t);c.set(a,s);let l=En(e,c,r,i),u=yn(l,r,i);if(!u||u.index>n.index)return{chosen:c,mistake:u,tokens:l}}}}function Cn(e,t){let n=0;for(;n<e.length;){let r=e[n],i=r.tokens[0].value.charAt(0),a=r.end-r.start,o=r.close&&a?n:0;for(;o--;){let n=e[o],s=n.end-n.start;if(n.tokens[0].value.charAt(0)===i&&n.open&&s&&(r.split?!((n.close||r.open)&&a%3)||(s+a)%3:s===n.markers.length&&s===a)){let e=r.split?s>1&&a>1?2:1:a,i=n.markers.slice(n.end-e,n.end),o=r.markers.slice(r.start,r.start+e),c=i[0],l=o[0];if(c===i[e-1]&&c.value.length===e&&l===o[e-1]&&l.value.length===e&&c.attention===l.attention)t.delete(c),t.delete(l);else{let e=[...new Set([...i,...o])];for(let n of e){let r=t.get(n);r&&r.push(...e)}}n.end-=e,r.start+=e;break}}(o===-1||r.start===r.end)&&n++}}function wn(e,t,n){if(t.length===0)throw Error("Cannot serialize `"+e+"` as attention without markers, expected one or more markers");if(n.length===0)throw Error("Cannot serialize `"+e+"` as attention without sizes, expected one or more sizes");for(let t of n)if(!Number.isSafeInteger(t)||t<1)throw Error("Cannot serialize `"+e+"` as attention with `"+t+"` as size, expected positive integer");let r=[];for(let i of t){if(i.length!==1)throw Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected a single ascii character");if(!_t(i.charCodeAt(0)))throw Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected ascii punctuation");for(let e of n)r.push(i.repeat(e))}return r}function Tn(e,t,n){let r=t.indexStack,i=e.children||[],a=[],o=-1,s=n.before;r.push(-1);let c=t.createTracker(n);for(;++o<i.length;){let l=i[o],u;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),u=n?mn(n(i[o+1],e,t,{before:``,after:``,...c.current()})):``}else u=n.after;let d=a[a.length-1];typeof d==`string`&&(s===`\r`||s===`
10
+ `)&&l.type===`html`&&on(l.value)!==7&&(a[a.length-1]=d.replace(/(\r?\n|\r)$/,` `),s=` `,c=t.createTracker(n),c.move(Dn(a,n.before,n.after)));let f=t.handle.handlers[l.type];if(f&&f.attention){let{construct:e,markers:n,sizes:r}=f.attention(l,t),i=wn(l.type,n,r),o=i[0],u=t.enter(e);c.move(o);let d=Tn(l,t,{...c.current(),before:o,after:o});c.move(Dn(d,o,o)),c.move(o),u(),a.push({children:d,sequences:i}),s=o.charAt(o.length-1)}else{let n=t.handle(l,e,t,{...c.current(),after:u,before:s});if(!n)continue;c.move(n),a.push(n),s=hn(n)}}return r.pop(),a}function En(e,t,n,r){let i=[],a,o=hn(n),s=-1;for(;++s<e.length;){let n=e[s];if(typeof n==`string`){let e={value:n,attention:void 0};a&&a===mn(n)&&xn([e],!0),a=void 0,i.push(e),e.value&&(o=hn(e.value));continue}let c=t.get(n)||n.sequences[0],l=c.charAt(0),u=e[s+1],d=o,f=mn(u===void 0?r:typeof u==`string`?u:t.get(u)||u.sequences[0]),p=En(n.children,t,c,c),m=p.length>0?p[0].value:``,h=gn(d.charCodeAt(d.length-1),m.charCodeAt(0),l);h.inside&&xn(p,!0);let g=p.length>0?hn(p[p.length-1].value):``,_=gn(f.charCodeAt(0),g.charCodeAt(g.length-1),l);_.inside&&xn(p,!1),h.outside&&d!==`
11
+ `&&d!==`\r`&&xn(i,!1),_.outside&&(a=f),i.push({value:c,attention:n},...p,{value:c,attention:n}),o=c.charAt(c.length-1)}return i}function Dn(e,t,n){let r=new Map,i=En(e,r,t,n),a=i,o=yn(a,t,n);for(;o;){let s=Sn(e,r,o,t,n);if(!s){a=i;break}r=s.chosen,a=s.tokens,o=s.mistake}let s=``;for(let e of a)s+=e.value;return s}function On(e,t,n){let r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,o.push(a.move(t.handle(n,e,t,{before:`
12
+ `,after:`
13
+ `,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(kn(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function kn(e,t,n,r){let i=r.join.length;for(;i--;){let a=r.join[i](e,t,n,r);if(a===!0||a===1)break;if(typeof a==`number`)return`
14
+ `.repeat(1+a);if(a===!1)return`
15
+
16
+ <!---->
17
+
18
+ `}return`
19
+
20
+ `}var An=/\r?\n|\r/g;function jn(e,t){let n=[],r=0,i=0,a;for(;a=An.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join(``);function o(e){n.push(t(e,i,!e))}}var Mn={}.hasOwnProperty;function Nn(e,t,n){let r=(n.before||``)+(t||``)+(n.after||``),i=[],a=[],o={},s=e.stack.includes(`autolink`),c=n.before?n.before.length:0,l=r.length-(n.after?n.after.length:0),u=-1;for(;++u<e.unsafe.length;){let t=e.unsafe[u];if(!wt(e.stack,t)||!Pn(t.beforeNode,n.beforeNode)||!Pn(t.afterNode,n.afterNode))continue;let a=e.compilePattern(t),s=t.beforeNode?c:0,d=r.slice(s,t.afterNode?l:void 0),f;for(;f=a.exec(d);){let e=`before`in t||!!t.atBreak,n=`after`in t,r=s+f.index+(e?f[1].length:0);Mn.call(o,r)?(o[r].before&&!e&&(o[r].before=!1),o[r].after&&!n&&(o[r].after=!1)):(i.push(r),o[r]={before:e,after:n})}}i.sort(Fn);let d=c;for(u=-1;++u<i.length;){let e=i[u];if(!(e<d||e>=l)){if(r.charAt(e)===`_`&&e>0&&vt(r.charCodeAt(e-1))===void 0&&!Mn.call(o,e-1)&&!(e-1===c&&/[*_]/.test(r.charAt(c-1)))){let t=e+1;for(;t<l&&r.charAt(t)===`_`;)t++;let n=t-e-1;if(i[u+n]===t-1&&t<r.length&&vt(r.charCodeAt(t))===void 0&&!Mn.call(o,t)&&!(t===l-1&&/[*_]/.test(r.charAt(l)))){u+=n;continue}}if(!(e+1<l&&i[u+1]===e+1&&o[e].after&&!o[e+1].before&&!o[e+1].after||i[u-1]===e-1&&o[e].before&&!o[e-1].before&&!o[e-1].after)){if(d!==e){let t=r.slice(d,e);a.push(s?t:In(t,`\\`))}d=e,s?(a.push(`%`+r.charCodeAt(e).toString(16).toUpperCase().padStart(2,`0`)),d++):/[!-/:-@[-`{-~]/.test(r.charAt(e))&&(!n.encode||!n.encode.includes(r.charAt(e)))?a.push(`\\`):(a.push(Ct(r.charCodeAt(e))),d++)}}}let f=r.slice(d,l);return a.push(s?f:In(f,n.after)),a.join(``)}function Pn(e,t){return e?t?typeof e==`string`?e===t.type:e.includes(t.type):!1:!0}function Fn(e,t){return e-t}function In(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t,o=-1,s=0,c;for(;c=n.exec(a);)r.push(c.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push(`\\`),s=r[o];return i.push(e.slice(s)),i.join(``)}function Ln(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:c,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(e){r+=e}function c(e){let t=e||``,n=t.split(/\r?\n|\r/g),o=n[n.length-1];return i+=n.length-1,a=n.length===1?a+o.length:1+o.length+r,t}}function Rn(e,t){let n=t||{},r={associationId:fn,bulletCurrent:void 0,bulletLastUsed:void 0,containerPhrasing:Hn,containerFlow:Un,createTracker:Ln,compilePattern:pn,enter:a,handlers:{...Nt},handle:void 0,indentLines:jn,indexStack:[],join:[...sn],options:{},safe:Wn,stack:[],unsafe:[...un]};nn(r,n),r.options.tightDefinitions&&r.join.push(Vn),r.handle=en(`type`,{invalid:zn,unknown:Bn,handlers:r.handlers});let i=r.handle(Tt(e)?{type:`root`,children:[e]}:e,void 0,r,{before:`
21
+ `,after:`
22
+ `,now:{line:1,column:1},lineShift:0});return i&&i.charCodeAt(i.length-1)!==10&&i.charCodeAt(i.length-1)!==13&&(i+=`
23
+ `),i;function a(e){return r.stack.push(e),t;function t(){r.stack.pop()}}}function zn(e){throw Error("Cannot handle value `"+e+"`, expected node")}function Bn(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function Vn(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function Hn(e,t){return bn(e,this,t)}function Un(e,t){return On(e,this,t)}function Wn(e,t){return Nn(this,e,t)}function Gn(e={}){return new G({view(t){return new Kn(t,e)}})}var Kn=class{constructor(e,t){this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.lastDragEvent=null,this.width=t.width??1,this.color=t.color===!1?void 0:t.color||`black`,this.class=t.class,this.handlers=[`dragover`,`dragend`,`drop`,`dragleave`].map(t=>{let n=e=>{this[t](e)};return e.dom.addEventListener(t,n),{name:t,handler:n}})}destroy(){this.setCursor(null),this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){if(this.cursorPos!=null&&t.doc!=e.state.doc){if(this.lastDragEvent){let e=this.computeTarget(this.lastDragEvent);e==this.cursorPos?this.updateOverlay():this.setCursor(e)}else this.updateOverlay()}}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,n,r=this.editorView.dom,i=r.getBoundingClientRect(),a=i.width/r.offsetWidth,o=i.height/r.offsetHeight;if(t){let t=e.nodeBefore,r=e.nodeAfter;if(t||r){let e=this.editorView.nodeDOM(this.cursorPos-(t?t.nodeSize:0));if(e){let i=e.getBoundingClientRect(),a=t?i.bottom:i.top;t&&r&&(a=(a+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let s=this.width/2*o;n={left:i.left,right:i.right,top:a-s,bottom:a+s}}}}if(!n){let e=this.editorView.coordsAtPos(this.cursorPos),t=this.width/2*a;n={left:e.left-t,right:e.left+t,top:e.top,bottom:e.bottom}}let s=this.editorView.dom.offsetParent;this.element||(this.element=s.appendChild(document.createElement(`div`)),this.class&&(this.element.className=this.class),this.element.style.cssText=`position: absolute; z-index: 50; pointer-events: none;`,this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle(`prosemirror-dropcursor-block`,t),this.element.classList.toggle(`prosemirror-dropcursor-inline`,!t);let c,l;if(!s||s==document.body&&getComputedStyle(s).position==`static`)c=-pageXOffset,l=-pageYOffset;else{let e=s.getBoundingClientRect(),t=e.width/s.offsetWidth,n=e.height/s.offsetHeight;c=e.left-s.scrollLeft*t,l=e.top-s.scrollTop*n}this.element.style.left=(n.left-c)/a+`px`,this.element.style.top=(n.top-l)/o+`px`,this.element.style.width=(n.right-n.left)/a+`px`,this.element.style.height=(n.bottom-n.top)/o+`px`}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}computeTarget(e){let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),r=n&&n.type.spec.disableDropCursor,i=typeof r==`function`?r(this.editorView,t,e):r;if(!t||i)return null;let a=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let e=Zt(this.editorView.state.doc,a,this.editorView.dragging.slice);e!=null&&(a=e)}return a}dragover(e){if(!this.editorView.editable)return;this.lastDragEvent=e;let t=this.computeTarget(e);t!=null&&(this.setCursor(t),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}},K=e(c(),1),q=v();U.create({name:`characterCount`,addOptions(){return{limit:null,autoTrim:!0,mode:`textSize`,textCounter:e=>e.length,wordCounter:e=>e.split(` `).filter(e=>e!==``).length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=e=>{let t=e?.node||this.editor.state.doc;if((e?.mode||this.options.mode)===`textSize`){let e=t.textBetween(0,t.content.size,void 0,` `);return this.options.textCounter(e)}return t.nodeSize},this.storage.words=e=>{let t=e?.node||this.editor.state.doc,n=t.textBetween(0,t.content.size,` `,` `);return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new G({key:new Ut(`characterCount`),appendTransaction:(t,n,r)=>{if(e)return;let i=this.options.limit,a=this.options.autoTrim;if(i==null||i===0||a===!1){e=!0;return}let o=this.storage.characters({node:r.doc});if(o>i){let t=o-i;console.warn(`[CharacterCount] Initial content exceeded limit of ${i} characters. Content was automatically trimmed.`);let n=r.tr.deleteRange(0,t);return e=!0,n}e=!0},filterTransaction:(e,t)=>{let n=this.options.limit;if(!e.docChanged||n===0||n==null)return!0;let r=this.storage.characters({node:t.doc}),i=this.storage.characters({node:e.doc});if(i<=n||r>n&&i>n&&i<=r)return!0;if(r>n&&i>n&&i>r||!e.getMeta(`paste`))return!1;let a=e.selection.$head.pos,o=a-(i-n),s=a;return e.deleteRange(o,s),!(this.storage.characters({node:e.doc})>n)}})]}});var qn=U.create({name:`dropCursor`,addOptions(){return{color:`currentColor`,width:1,class:void 0}},addProseMirrorPlugins(){return[Gn(this.options)]}});U.create({name:`focus`,addOptions(){return{className:`has-focus`,mode:`all`}},addProseMirrorPlugins(){return[new G({key:new Ut(`focus`),props:{decorations:({doc:e,selection:t})=>{let{isEditable:n,isFocused:r}=this.editor,{anchor:i}=t,a=[];if(!n||!r)return Jt.create(e,[]);let o=0;this.options.mode===`deepest`&&e.descendants((e,t)=>{if(!e.isText){if(!(i>=t&&i<=t+e.nodeSize-1))return!1;o+=1}});let s=0;return e.descendants((e,t)=>{if(e.isText||!(i>=t&&i<=t+e.nodeSize-1))return!1;if(s+=1,this.options.mode===`deepest`&&o-s>0||this.options.mode===`shallowest`&&s>1)return this.options.mode===`deepest`;a.push(Xt.node(t,t+e.nodeSize,{class:this.options.className}))}),Jt.create(e,a)}}})]}});var Jn=U.create({name:`gapCursor`,addProseMirrorPlugins(){return[xe()]},extendNodeSchema(e){let t={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:ae(me(e,`allowGapCursor`,t))??null}}}),Yn=`placeholder`,Xn=new Ut(`tiptap__placeholder`);function Zn(e){let{editor:t,placeholder:n,dataAttribute:r,pos:i,node:a,isEmptyDoc:o,hasAnchor:s,classes:{emptyNode:c,emptyEditor:l}}=e,u=[c];return o&&u.push(l),Xt.node(i,i+a.nodeSize,{class:u.join(` `),[r]:typeof n==`function`?n({editor:t,node:a,pos:i,hasAnchor:s}):n})}function Qn(e,t){return typeof e==`function`?e(t):e}function $n({editor:e,options:t,dataAttribute:n,doc:r,selection:i,from:a,to:o}){let{anchor:s}=i,c=[],l=e.isEmpty;return r.nodesBetween(a,o,(r,i)=>{let a=s>=i&&s<=i+r.nodeSize,o=!r.isLeaf&&fe(r);return r.type.isTextblock&&(a||!t.showOnlyCurrent)&&o&&c.push(Zn({editor:e,isEmptyDoc:l,dataAttribute:n,hasAnchor:a,placeholder:t.placeholder,classes:{emptyEditor:t.emptyEditorClass,emptyNode:Qn(t.emptyNodeClass,{editor:e,node:r,pos:i,hasAnchor:a})},node:r,pos:i})),t.includeChildren}),c}function er({editor:e,options:t,dataAttribute:n,doc:r,selection:i}){if(!e.isEditable&&t.showOnlyWhenEditable)return null;let{anchor:a}=i,o=[],s=e.isEmpty;if(t.showOnlyCurrent&&!t.includeChildren){let i=r.resolve(a),c=i.depth>0?i.node(1):i.nodeAfter,l=i.depth>0?i.before(1):a;if(c&&c.type.isTextblock&&fe(c)){let r=a>=l&&a<=l+c.nodeSize;o.push(Zn({editor:e,isEmptyDoc:s,dataAttribute:n,hasAnchor:r,placeholder:t.placeholder,classes:{emptyEditor:t.emptyEditorClass,emptyNode:Qn(t.emptyNodeClass,{editor:e,node:c,pos:l,hasAnchor:r})},node:c,pos:l}))}}else o.push(...$n({editor:e,options:t,dataAttribute:n,doc:r,selection:i,from:0,to:r.content.size}));return Jt.create(r,o)}function tr(e,t){let n=e.resolve(t);if(n.depth===0){let e=n.nodeAfter??n.nodeBefore;if(!e)return{from:t,to:t};let r=n.nodeAfter?t:t-e.nodeSize;return{from:r,to:r+e.nodeSize}}let r=n.before(1);return{from:r,to:r+n.node(1).nodeSize}}function nr(e,t){return{from:Math.max(0,t.from-1),to:Math.min(e.content.size,t.to-1)}}function rr(e,t,n){let r=[];return e.forEach((e,i)=>{let a=i,o=a+e.nodeSize,s=a+1,c=o+1;s<n&&c>t&&r.push({from:a,to:o})}),r}function ir(e){if(e.length===0)return[];let t=[...e].sort((e,t)=>e.from-t.from),n=[{...t[0]}];for(let e=1;e<t.length;e+=1){let r=n[n.length-1],i=t[e];i.from<=r.to?r.to=Math.max(r.to,i.to):n.push({...i})}return n}function ar(e,t){let n=rr(e,t.from,t.to);return n.push(nr(e,tr(e,t.from))),t.to>t.from?n.push(nr(e,tr(e,Math.min(t.to,e.content.size+1)-1))):t.from<e.content.size+1&&n.push(nr(e,tr(e,Math.min(t.from+1,e.content.size)))),n}function or(e,t,n){let r=[];if(e.docChanged){let t=oe(e);for(let e of t)r.push(...ar(n.doc,e.newRange))}return e.selectionSet&&(r.push(nr(n.doc,tr(n.doc,e.mapping.map(t.selection.anchor)))),r.push(nr(n.doc,tr(n.doc,n.selection.anchor)))),ir(r)}function sr(e,t,n){let r=Math.max(0,Math.min(e,n.content.size));return{from:r,to:Math.max(r,Math.min(t,n.content.size))}}function cr({decorations:e,ranges:t,editor:n,options:r,dataAttribute:i,doc:a,selection:o}){let s=e;for(let e of t){let{from:t,to:c}=sr(e.from,e.to,a),l=s.find(t,c).filter(e=>e.from>=t&&e.to<=c);l.length&&(s=s.remove(l));let u=$n({editor:n,options:r,dataAttribute:i,doc:a,selection:o,from:t,to:c});u.length&&(s=s.add(a,u))}return s}function lr({editor:e,options:t,dataAttribute:n}){return{init(r,i){return er({editor:e,options:t,dataAttribute:n,doc:i.doc,selection:i.selection})??Jt.empty},apply(r,i,a,o){return!r.docChanged&&!r.selectionSet?i:cr({decorations:i.map(r.mapping,r.doc),ranges:or(r,a,o),editor:e,options:t,dataAttribute:n,doc:o.doc,selection:o.selection})}}}function ur(e){return e.replace(/\s+/g,`-`).replace(/[^a-zA-Z0-9-]/g,``).replace(/^[0-9-]+/,``).replace(/^-+/,``).toLowerCase()}function dr({editor:e,options:t}){let n=t.dataAttribute?`data-${ur(t.dataAttribute)}`:`data-${Yn}`,r=t.showOnlyCurrent&&!t.includeChildren;return new G({key:Xn,...r?{}:{state:lr({editor:e,options:t,dataAttribute:n})},props:{decorations:r?({doc:r,selection:i})=>er({editor:e,options:t,dataAttribute:n,doc:r,selection:i}):n=>t.showOnlyWhenEditable&&!e.isEditable?Jt.empty:Xn.getState(n)??Jt.empty}})}var fr=U.create({name:`placeholder`,addOptions(){return{emptyEditorClass:`is-editor-empty`,emptyNodeClass:`is-empty`,dataAttribute:Yn,placeholder:`Write something …`,showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[dr({editor:this.editor,options:this.options})]}});function pr(e,t){return!e.selection.empty&&!ie(e.selection)&&t.isEditable}function mr(e,t){return pr(e,t)&&!t.isFocused&&!t.view.dragging}function hr(){var e;(e=window.getSelection())==null||e.removeAllRanges()}function gr(e){e.focus()}U.create({name:`selection`,addOptions(){return{className:`selection`}},addProseMirrorPlugins(){let{editor:e,options:t}=this;return[new G({key:new Ut(`selection`),props:{decorations(n){return mr(n,e)?Jt.create(n.doc,[Xt.inline(n.selection.from,n.selection.to,{class:t.className})]):null},handleDOMEvents:{blur(t){return pr(t.state,e)&&hr(),!1},focus(t){return pr(t.state,e)&&requestAnimationFrame(()=>{!e.isDestroyed&&t.hasFocus()&&gr(t)}),!1}}}})]}});function _r({types:e,node:t}){return t&&Array.isArray(e)&&e.includes(t.type)||t?.type===e}var vr=U.create({name:`trailingNode`,addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){let e=new Ut(this.name),t=this.options.node||this.editor.schema.topNodeType.contentMatch.defaultType?.name||`paragraph`,n=Object.entries(this.editor.schema.nodes).map(([,e])=>e).filter(e=>(this.options.notAfter||[]).concat(t).includes(e.name));return[new G({key:e,appendTransaction:(n,r,i)=>{let{doc:a,tr:o,schema:s}=i,c=e.getState(i),l=a.content.size,u=s.nodes[t];if(!n.some(e=>e.getMeta(`skipTrailingNode`))&&c)return o.insert(l,u.create())},state:{init:(e,t)=>{let r=t.tr.doc.lastChild;return!_r({node:r,types:n})},apply:(e,t)=>{if(!e.docChanged||e.getMeta(`__uniqueIDTransaction`))return t;let r=e.doc.lastChild;return!_r({node:r,types:n})}}})]}}),yr=U.create({name:`undoRedo`,addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>Ze(e,t),redo:()=>({state:e,dispatch:t})=>Qe(e,t)}},addProseMirrorPlugins(){return[et(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),br=(e,t)=>{let{state:n}=e,{selection:r}=n;if(!r.empty)return!1;let{$from:i}=r;if(i.parentOffset!==0)return!1;let a=i.depth-1;if(a<0)return!1;let o=i.node(a),s=i.index(a);if(s===0)return!1;if(o.type===t)return e.commands.lift(t.name);let c=o.child(s-1);if(c.type!==t||!c.lastChild?.isTextblock)return!1;let l=i.before()-1-1;return e.commands.command(({tr:e,dispatch:t})=>{if(!t)return!0;let n=i.parent.content,r=new Kt(n,0,0);return e.replace(l,i.after(),r),e.setSelection(Wt.create(e.doc,l+n.size)),e.scrollIntoView(),t(e),!0})},xr=/^\s*>\s$/,Sr=H.create({name:`blockquote`,addOptions(){return{HTMLAttributes:{}}},content:`block+`,group:`block`,defining:!0,parseHTML(){return[{tag:`blockquote`}]},renderHTML({HTMLAttributes:e}){return B(`blockquote`,{...W(this.options.HTMLAttributes,e),children:B(`slot`,{})})},parseMarkdown:(e,t)=>{let n=t.parseBlockChildren??t.parseChildren;return t.createNode(`blockquote`,void 0,n(e.tokens||[]))},renderMarkdown:(e,t)=>{if(!e.content)return``;let n=[];return e.content.forEach((e,r)=>{let i=(t.renderChild?.call(t,e,r)??t.renderChildren([e])).split(`
24
+ `).map(e=>e.trim()===``?`>`:`> ${e}`);n.push(i.join(`
25
+ `))}),n.join(`
26
+ >
27
+ `)},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote(),Backspace:()=>br(this.editor,this.type)}},addInputRules(){return[Me({find:xr,type:this.type})]}}),Cr=Sr,wr=`listItem`,Tr=`textStyle`,Er=/^\s*([-+*])\s$/,Dr=H.create({name:`bulletList`,addOptions(){return{itemTypeName:`listItem`,HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:`block list`,content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul`}]},renderHTML({HTMLAttributes:e}){return[`ul`,W(this.options.HTMLAttributes,e),0]},markdownTokenName:`list`,parseMarkdown:(e,t)=>e.type!==`list`||e.ordered?[]:{type:`bulletList`,content:e.items?t.parseChildren(e.items):[]},renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,`
28
+ `):``,markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(wr,this.editor.getAttributes(Tr)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=Me({find:Er,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=Me({find:Er,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Tr),editor:this.editor})),[e]}}),Or=(e,t,n)=>{let{selection:r}=e;if(!r.empty)return null;let{$from:i}=r;if(!i.parent.isTextblock||i.parentOffset!==i.parent.content.size)return null;let a=-1;for(let e=i.depth;e>0;--e)if(i.node(e).type.name===t){a=e;break}if(a<0)return null;let o=i.node(a),s=i.index(a);if(s+1>=o.childCount)return null;let c=o.child(s+1);if(!n.includes(c.type.name))return null;let l=e.schema.nodes[t],u=!1;if(c.forEach(e=>{e.type===l&&e.childCount>1&&(u=!0)}),!u)return null;let d=e.doc.resolve(i.after()).nodeAfter;if(!d||!n.includes(d.type.name))return null;let f=[];return d.forEach(e=>{f.push(e)}),f.length===0?null:{listItemDepth:a,nestedList:d,nestedListPos:i.after(),insertPos:i.after(a),items:f}},kr=(e,t,n,r)=>{let i=Or(e,n,r);if(!i)return!1;let{selection:a}=e,{nestedList:o,nestedListPos:s,insertPos:c,items:l}=i,u=e.tr;u.delete(s,s+o.nodeSize);let d=u.mapping.map(c);return u.insert(d,Ht.from(l)),u.setSelection(a.map(u.doc,u.mapping)),t&&t(u),!0},Ar=(e,t,n)=>kr(e.state,e.view.dispatch,t,n),jr=(e,t)=>U.create({name:`${e}BranchingDeleteKeymap`,priority:101,addKeyboardShortcuts(){let n=()=>Ar(this.editor,e,t);return{Delete:n,"Mod-Delete":n}}}),Mr=[[1e3,`m`],[900,`cm`],[500,`d`],[400,`cd`],[100,`c`],[90,`xc`],[50,`l`],[40,`xl`],[10,`x`],[9,`ix`],[5,`v`],[4,`iv`],[1,`i`]],Nr=`abcdefghijklmnopqrstuvwxyz`,Pr=String.raw`\d+|[ivxlcdmIVXLCDM]+|${`[a-zA-Z]{1,2}`}`;function Fr(e){let t=e,n=``;for(let[e,r]of Mr)for(;t>=e;)n+=r,t-=e;return n}function Ir(e){return Fr(e).toUpperCase()}function Lr(e){let t=e.toLowerCase(),n=0,r=0;for(;n<t.length;){let e=!1;for(let[i,a]of Mr)if(t.startsWith(a,n)){r+=i,n+=a.length,e=!0;break}if(!e)return 0}return r}function Rr(e){if(!/^[ivxlcdmIVXLCDM]+$/.test(e))return!1;let t=Lr(e);return t<=0?!1:(e===e.toLowerCase()?Fr(t):Ir(t))===e}function zr(e){let t=e.toLowerCase();if(t.length===1)return t.charCodeAt(0)-97+1;if(t.length===2){let e=t.charCodeAt(0)-97,n=t.charCodeAt(1)-97;return(e+1)*26+n+1}return 0}function Br(e){if(e<=26)return Nr[e-1];let t=Math.floor((e-1)/26)-1,n=(e-1)%26;return t<0?Nr[n]:Nr[t]+Nr[n]}function Vr(e){if(e&&!/^\d+$/.test(e)){if(Rr(e))return e===e.toLowerCase()?`i`:`I`;if(/^[a-z]{1,2}$/.test(e))return`a`;if(/^[A-Z]{1,2}$/.test(e))return`A`}}function Hr(e){if(/^\d+$/.test(e))return parseInt(e,10);let t=Vr(e);if(t===`i`||t===`I`)return Lr(e);if(t===`a`||t===`A`){let t=zr(e);return t>0?t:1}let n=parseInt(e,10);return Number.isNaN(n)?1:n}function Ur(e,t){if(e===`numeric`)return String(t);switch(e){case`a`:return Br(t);case`A`:return Br(t).toUpperCase();case`i`:return Fr(t);case`I`:return Ir(t);default:return String(t)}}function Wr(e){if(e.length===0)return!1;let t=Vr(e[0])??`numeric`,n=Hr(e[0]);if(n<1)return!1;for(let r=0;r<e.length;r++){let i=Ur(t,n+r);if(e[r]!==i)return!1}return!0}function Gr(e){return{type:Vr(e),start:Hr(e)}}function Kr(e){let{type:t,start:n}=Gr(e),r={};return t&&(r.type=t),n!==1&&(r.start=n),r}function qr(e,t,n=`. `){let r=t+1;if(!e||e===`1`)return`${r}${n}`;switch(e){case`a`:return`${Br(r)}${n}`;case`A`:return`${Br(r).toUpperCase()}${n}`;case`i`:return`${Fr(r)}${n}`;case`I`:return`${Ir(r)}${n}`;default:return`${r}${n}`}}function Jr(e){let t=e.tokens?.[0];return!!(e.text&&e.tokens?.length===1&&t?.type===`list`&&t.ordered&&t.raw===e.text)}function Yr(e,t){return t.tokenizeInline?t.parseInline(t.tokenizeInline(e)):t.parseInline([{type:`text`,raw:e,text:e}])}var Xr=H.create({name:`listItem`,addOptions(){return{HTMLAttributes:{},bulletListTypeName:`bulletList`,orderedListTypeName:`orderedList`}},content:`paragraph block*`,defining:!0,parseHTML(){return[{tag:`li`}]},renderHTML({HTMLAttributes:e}){return[`li`,W(this.options.HTMLAttributes,e),0]},markdownTokenName:`list_item`,parseMarkdown:(e,t)=>{if(e.type!==`list_item`)return[];let n=t.parseBlockChildren??t.parseChildren,r=[];if(e.tokens&&e.tokens.length>0){if(Jr(e))return{type:`listItem`,content:[{type:`paragraph`,content:Yr(e.text||``,t)}]};if(e.tokens.some(e=>e.type===`paragraph`))r=n(e.tokens);else{let i=e.tokens[0];if(i&&i.type===`text`&&i.tokens&&i.tokens.length>0){if(r=[{type:`paragraph`,content:t.parseInline(i.tokens)}],e.tokens.length>1){let t=n(e.tokens.slice(1));r.push(...t)}}else r=n(e.tokens)}}return r.length===0&&(r=[{type:`paragraph`,content:[]}]),{type:`listItem`,content:r}},renderMarkdown:(e,t,n)=>Ie(e,t,e=>{if(e.parentType===`bulletList`)return`- `;if(e.parentType===`orderedList`){var t,n;let r=((t=e.meta)==null||(t=t.parentAttrs)==null?void 0:t.start)||1;return qr((n=e.meta)==null||(n=n.parentAttrs)==null?void 0:n.type,r-1+(e.index||0),`. `)}return`- `},n,{alignNestedToPrefix:n?.parentType===`orderedList`}),addExtensions(){return[jr(this.name,[this.options.bulletListTypeName,this.options.orderedListTypeName])]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Zr=(e,t)=>{let{$from:n}=t.selection,r=le(e,t.schema),i=null,a=n.depth,o=n.pos,s=null;for(;a>0&&s===null;)i=n.node(a),i.type===r?s=a:(--a,--o);return s===null?null:{$pos:t.doc.resolve(o),depth:s}},Qr=(e,t)=>{let n=Zr(e,t);if(!n)return!1;let[,r]=he(t,e,n.$pos.pos+4);return r},$r=(e,t,n)=>{let{$anchor:r}=e.selection,i=Math.max(0,r.pos-2),a=e.doc.resolve(i).node();return!(!a||!n.includes(a.type.name))},ei=(e,t,n)=>{if(e.commands.undoInputRule())return!0;if(e.state.selection.from!==e.state.selection.to)return!1;if(!ve(e.state,t)&&$r(e.state,t,n)){let{$anchor:n}=e.state.selection,r=e.state.doc.resolve(n.before()-1),i=[];r.node().descendants((e,n)=>{e.type.name===t&&i.push({node:e,pos:n})});let a=i.at(-1);if(!a)return!1;let o=e.state.doc.resolve(r.start()+a.pos+1);return e.chain().cut({from:n.start()-1,to:n.end()+1},o.end()).joinForward().run()}if(!ve(e.state,t)||!ge(e.state))return!1;let{$from:r}=e.state.selection,i=r.depth-1;return r.node(i).type!==e.schema.nodes[t]||r.index(i)!==0?!1:e.chain().liftListItem(t).run()},ti=(e,t)=>{let n=Qr(e,t),r=Zr(e,t);return!r||!n?!1:n>r.depth},ni=(e,t)=>{let n=Qr(e,t),r=Zr(e,t);return!r||!n?!1:n<r.depth},ri=(e,t)=>{if(!ve(e.state,t)||!_e(e.state,t))return!1;let{selection:n}=e.state,{$from:r,$to:i}=n;return!n.empty&&r.sameParent(i)?!1:ti(t,e.state)?e.chain().focus(e.state.selection.from+4).lift(t).joinBackward().run():ni(t,e.state)?e.chain().joinForward().joinBackward().run():e.commands.joinItemForward()},ii=(e,t,n)=>{let{state:r}=e,{selection:i}=r;if(!i.empty)return!1;let{$from:a}=i;if(a.parentOffset!==0||!a.parent.isTextblock||ve(r,t))return!1;let o=ue(a);if(!o||!n.includes(o.type.name))return!1;let s=o.lastChild;if(!s||s.type.name!==t)return!1;let c=a.parent;if(!s.canReplace(s.childCount,s.childCount,Ht.from(c)))return!1;let l=a.before(),u=a.after(),d=l-2;return e.commands.command(({tr:e,dispatch:t})=>(t&&(e.delete(l,u).insert(d,Ht.from(c)),e.setSelection(Wt.create(e.doc,d+1)),e.scrollIntoView()),!0))},ai=U.create({name:`listKeymap`,addOptions(){return{listTypes:[{itemName:`listItem`,wrapperNames:[`bulletList`,`orderedList`]},{itemName:`taskItem`,wrapperNames:[`taskList`]}]}},addKeyboardShortcuts(){return{Delete:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{e.state.schema.nodes[n]!==void 0&&ri(e,n)&&(t=!0)}),t},"Mod-Delete":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{e.state.schema.nodes[n]!==void 0&&ri(e,n)&&(t=!0)}),t},Backspace:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{e.state.schema.nodes[n]!==void 0&&ei(e,n,r)&&(t=!0)}),t},"Mod-Backspace":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{e.state.schema.nodes[n]!==void 0&&ei(e,n,r)&&(t=!0)}),t},Tab:({editor:e})=>{for(let{itemName:t,wrapperNames:n}of this.options.listTypes)if(e.state.schema.nodes[t]!==void 0&&ii(e,t,n))return!0;return!1}}}}),oi=RegExp(`^(\\s*)(${Pr})([.)])\\s+(.*)$`),si=/^\s/,ci={heading:/^#{1,6}(?:\s|$)/,bulletItem:/^[-+*]\s+/,codeFence:/^(?:```|~~~)/,blockMath:/^\$\$/,thematicBreak:/^(?:(?:-[ \t]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})$/};function li(e){return oi.test(e.trimStart())}function ui(e){let t=e.trimStart();return ci.bulletItem.test(t)||li(t)||ci.heading.test(t)||ci.thematicBreak.test(t)&&!t.startsWith(`-`)||/^>\s?/.test(t)||ci.codeFence.test(t)||ci.blockMath.test(t)}function di(e){return Object.values(ci).some(t=>t.test(e))}function fi(e){let t=[],n=[],r=!1;return e.forEach(e=>{r?n.push(e):e.trim()===``||t.length>0&&ui(e)?(r=!0,n.push(e)):t.push(e)}),{paragraphLines:t,blockLines:n}}function pi(e){let t=[],n=0,r=0;for(;n<e.length;){let i=e[n],a=i.match(oi);if(!a)break;let[,o,s,c,l]=a,u=o.length,d=parseInt(s,10),f=isNaN(d)?Vr(s):void 0,p=isNaN(d)?Hr(s):d,m=[l],h=n+1,g=[i],_=!1;for(;h<e.length;){let t=e[h];if(t.match(oi))break;if(t.trim()===``)g.push(t),m.push(``),_=!0,h+=1;else if(t.match(si)){let e=t.length-t.trimStart().length,n=u+s.length+1;g.push(t),m.push(t.slice(Math.min(e,n))),h+=1}else{if(_||di(t))break;g.push(t),m.push(t),h+=1}}t.push({indent:u,number:p,type:f,content:m.join(`
29
+ `).trim(),contentLines:m,raw:g.join(`
30
+ `)}),r=h,n=h}return[t,r]}var mi=RegExp(`^(${Pr})([.)])\\s+(.+)$`);function hi(e){let t=e.split(`
31
+ `).filter(e=>e.trim().length>0);if(t.length===0)return null;let n=[];for(let e of t){let t=e.trim().match(mi);if(!t)return null;n.push({marker:t[1],content:t[3]})}return Wr(n.map(e=>e.marker))?{type:`orderedList`,attrs:Kr(n[0].marker),content:n.map(e=>({type:`listItem`,content:[{type:`paragraph`,content:[{type:`text`,text:e.content}]}]}))}:null}function gi(e,t,n){let r=[],i=0;for(;i<e.length;){let a=e[i];if(a.indent===t){let{paragraphLines:o,blockLines:s}=fi(a.contentLines),c=o.join(`
32
+ `).trim(),l=[];c&&l.push({type:`paragraph`,raw:c,tokens:n.inlineTokens(c)});let u=s.join(`
33
+ `).trim();if(u){let e=n.blockTokens(u);l.push(...e)}let d=i+1,f=[];for(;d<e.length&&e[d].indent>t;)f.push(e[d]),d+=1;if(f.length>0){let e=gi(f,Math.min(...f.map(e=>e.indent)),n);l.push({type:`list`,ordered:!0,start:f[0].number,typeMarker:f[0].type,items:e,raw:f.map(e=>e.raw).join(`
34
+ `)})}r.push({type:`list_item`,raw:a.raw,tokens:l}),i=d}else i+=1}return r}function _i(e,t){return e.map(e=>{if(e.type!==`list_item`)return t.parseChildren([e])[0];let n=[];return e.tokens&&e.tokens.length>0&&e.tokens.forEach(e=>{if(e.type===`paragraph`||e.type===`list`||e.type===`blockquote`||e.type===`code`)n.push(...t.parseChildren([e]));else if(e.type===`text`&&e.tokens){let r=t.parseChildren([e]);n.push({type:`paragraph`,content:r})}else{let r=t.parseChildren([e]);r.length>0&&n.push(...r)}}),{type:`listItem`,content:n}})}var vi=64;function yi(e,t){let n=[],r=0;for(;n.length<t;){let t=e.indexOf(`
35
+ `,r);if(t===-1)return n.push(e.slice(r)),n;n.push(e.slice(r,t)),r=t+1}return n}function bi(e){let t=e.indexOf(`
36
+ `),n=t===-1?e:e.slice(0,t);if(!oi.test(n))return[[],0,[]];let r=vi,i=yi(e,r),a=pi(i);for(;a[1]===i.length&&i.length===r;)r*=2,i=yi(e,r),a=pi(i);return[a[0],a[1],i]}var xi=`listItem`,Si=`textStyle`,Ci=/^(\d+)\.\s$/;function wi(e){let t=e.match(/list-style-type\s*:\s*([^;]+)/i);if(!t)return null;switch(t[1].trim().toLowerCase()){case`upper-roman`:return`I`;case`lower-roman`:return`i`;case`upper-alpha`:case`upper-latin`:return`A`;case`lower-alpha`:case`lower-latin`:return`a`;default:return null}}var Ti=H.create({name:`orderedList`,addOptions(){return{itemTypeName:`listItem`,HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:`block list`,content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute(`start`)?parseInt(e.getAttribute(`start`)||``,10):1},type:{default:null,parseHTML:e=>{let t=e.getAttribute(`type`);if(t)return t;let n=e.getAttribute(`style`);if(n){let e=wi(n);if(e)return e}let r=e.querySelector(`li`);if(r){let e=r.getAttribute(`style`);if(e){let t=wi(e);if(t)return t}}return null}}}},parseHTML(){return[{tag:`ol`}]},renderHTML({HTMLAttributes:e}){let{start:t,type:n,...r}=e,i=W(this.options.HTMLAttributes,r);return t!==1&&(i.start=t),n&&n!==`1`&&(i.type=n),[`ol`,i,0]},markdownTokenName:`list`,parseMarkdown:(e,t)=>{if(e.type!==`list`||!e.ordered)return[];let n=e.start||1,r=e.typeMarker,i=e.items?_i(e.items,t):[],a={};return n!==1&&(a.start=n),r&&(a.type=r),Object.keys(a).length>0?{type:`orderedList`,attrs:a,content:i}:{type:`orderedList`,content:i}},renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,`
37
+ `):``,markdownTokenizer:{name:`orderedList`,level:`block`,start:()=>-1,tokenize:(e,t,n)=>{let[r,i,a]=bi(e);if(r.length===0)return;let o=gi(r,r[0].indent,n);if(o.length!==0)return{type:`list`,ordered:!0,start:r[0]?.number||1,typeMarker:r[0]?.type,items:o,raw:a.slice(0,i).join(`
38
+ `)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(xi,this.editor.getAttributes(Si)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addProseMirrorPlugins(){return[new G({props:{handlePaste:(e,t)=>{if((t.clipboardData?.getData(`text/html`))?.trim())return!1;let n=t.clipboardData?.getData(`text/plain`);if(!n)return!1;let r=hi(n);if(!r)return!1;try{let t=e.state.schema.nodeFromJSON(r),n=e.state.tr.replaceSelectionWith(t);return e.dispatch(n),!0}catch{return!1}}}})]},addInputRules(){let e=(e,t)=>(!t.attrs.type||t.attrs.type===`1`)&&t.childCount+t.attrs.start===+e[1],t=Me({find:Ci,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:e});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Me({find:Ci,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Si)}),joinPredicate:e,editor:this.editor})),[t]}}),Ei=/^\s*(\[([( |x])?\])\s$/,Di=`position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0`,Oi=(e,t,n)=>{var r;return(n==null||(r=n.checkboxLabel)==null?void 0:r.call(n,e,t))||`Task item checkbox for ${e.textContent||`empty task item`}`},ki=H.create({name:`taskItem`,addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:`taskList`,a11y:void 0}},content(){return this.options.nested?`paragraph block*`:`paragraph+`},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{let t=e.getAttribute(`data-checked`);return t===``||t===`true`},renderHTML:e=>({"data-checked":e.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51,contentElement:e=>e.querySelector(`div`)??e}]},renderHTML({node:e,HTMLAttributes:t}){return[`li`,W(this.options.HTMLAttributes,t,{"data-type":this.name}),[`label`,[`input`,{type:`checkbox`,checked:e.attrs.checked?`checked`:null}],[`span`]],[`div`,0]]},parseMarkdown:(e,t)=>{let n=[];if(e.tokens&&e.tokens.length>0?n.push(t.createNode(`paragraph`,{},t.parseInline(e.tokens))):e.text?n.push(t.createNode(`paragraph`,{},[t.createNode(`text`,{text:e.text})])):n.push(t.createNode(`paragraph`,{},[])),e.nestedTokens&&e.nestedTokens.length>0){let r=t.parseChildren(e.nestedTokens);n.push(...r)}return t.createNode(`taskItem`,{checked:e.checked||!1},n)},renderMarkdown:(e,t)=>{let n=`- [${e.attrs?.checked?`x`:` `}] `;return Ie(e,t,n)},addExtensions(){return this.options.nested?[jr(this.name,[this.options.taskListTypeName])]:[]},addKeyboardShortcuts(){let e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:r})=>{let i=document.createElement(`li`),a=document.createElement(`label`),o=document.createElement(`span`),s=document.createElement(`input`),c=document.createElement(`div`);o.style.cssText=Di;let l=e=>{let t=Oi(e,e.attrs.checked,this.options.a11y);s.setAttribute(`aria-label`,t),o.textContent=t};l(e),a.contentEditable=`false`,s.type=`checkbox`,s.addEventListener(`mousedown`,e=>e.preventDefault()),s.addEventListener(`change`,t=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}let{checked:i}=t.target;r.isEditable&&typeof n==`function`&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:e})=>{let t=n();if(typeof t!=`number`)return!1;let r=e.doc.nodeAt(t);return e.setNodeMarkup(t,void 0,{...r?.attrs,checked:i}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(e,i)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([e,t])=>{i.setAttribute(e,t)}),i.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,a.append(s,o),i.append(a,c),Object.entries(t).forEach(([e,t])=>{i.setAttribute(e,t)});let u=new Set(Object.keys(t));return{dom:i,contentDOM:c,update:e=>{if(e.type!==this.type)return!1;i.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,l(e);let t=r.extensionManager.attributes,n=ze(e,t),a=new Set(Object.keys(n)),o=this.options.HTMLAttributes;return u.forEach(e=>{a.has(e)||(e in o?i.setAttribute(e,o[e]):i.removeAttribute(e))}),Object.entries(n).forEach(([e,t])=>{t==null?e in o?i.setAttribute(e,o[e]):i.removeAttribute(e):i.setAttribute(e,t)}),u=a,!0}}}},addInputRules(){return[Me({find:Ei,type:this.type,getAttributes:e=>({checked:e[e.length-1]===`x`})})]}}),Ai=H.create({name:`taskList`,addOptions(){return{itemTypeName:`taskItem`,HTMLAttributes:{}}},group:`block list`,content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return[`ul`,W(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},parseMarkdown:(e,t)=>t.createNode(`taskList`,{},t.parseChildren(e.items||[])),renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,`
39
+ `):``,markdownTokenizer:{name:`taskList`,level:`block`,start(e){let t=e.match(/^\s*[-+*]\s+\[([ xX])\]\s+/)?.index;return t===void 0?-1:t},tokenize(e,t,n){let r=e=>{let t=ke(e,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:e=>({indentLevel:e[1].length,mainContent:e[4],checked:e[3].toLowerCase()===`x`}),createToken:(e,t)=>({type:`taskItem`,raw:``,mainContent:e.mainContent,indentLevel:e.indentLevel,checked:e.checked,text:e.mainContent,tokens:n.inlineTokens(e.mainContent),nestedTokens:t}),customNestedParser:r},n);if(t){let r={type:`taskList`,raw:t.raw,items:t.items},i=e.slice(t.raw.length);return i.trim()?[r,...n.blockTokens(i)]:[r]}return n.blockTokens(e)},i=ke(e,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:e=>({indentLevel:e[1].length,mainContent:e[4],checked:e[3].toLowerCase()===`x`}),createToken:(e,t)=>({type:`taskItem`,raw:``,mainContent:e.mainContent,indentLevel:e.indentLevel,checked:e.checked,text:e.mainContent,tokens:n.inlineTokens(e.mainContent),nestedTokens:t}),customNestedParser:r},n);if(i)return{type:`taskList`,raw:i.raw,items:i.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});U.create({name:`listKit`,addExtensions(){let e=[];return this.options.bulletList!==!1&&e.push(Dr.configure(this.options.bulletList)),this.options.listItem!==!1&&e.push(Xr.configure(this.options.listItem)),this.options.listKeymap!==!1&&e.push(ai.configure(this.options.listKeymap)),this.options.orderedList!==!1&&e.push(Ti.configure(this.options.orderedList)),this.options.taskItem!==!1&&e.push(ki.configure(this.options.taskItem)),this.options.taskList!==!1&&e.push(Ai.configure(this.options.taskList)),e}});var ji=4,Mi=/^```([a-z]+)?[\s\n]$/,Ni=/^~~~([a-z]+)?[\s\n]$/,Pi=H.create({name:`codeBlock`,addOptions(){return{languageClassPrefix:`language-`,exitOnTripleEnter:!0,exitOnArrowDown:!0,exitOnArrowUp:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:ji,HTMLAttributes:{}}},content:`text*`,marks:``,group:`block`,code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{let{languageClassPrefix:t}=this.options;return t&&[...e.firstElementChild?.classList||[]].filter(e=>e.startsWith(t)).map(e=>e.replace(t,``))[0]||null},rendered:!1}}},parseHTML(){return[{tag:`pre`,preserveWhitespace:`full`}]},renderHTML({node:e,HTMLAttributes:t}){return[`pre`,W(this.options.HTMLAttributes,t),[`code`,{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},markdownTokenName:`code`,parseMarkdown:(e,t)=>e.raw?.startsWith("```")===!1&&e.raw?.startsWith(`~~~`)===!1&&e.codeBlockStyle!==`indented`?[]:t.createNode(`codeBlock`,{language:e.lang||null},e.text?[t.createTextNode(e.text)]:[]),renderMarkdown:(e,t)=>{let n=``,r=e.attrs?.language||``;return n=e.content?[`\`\`\`${r}`,t.renderChildren(e.content),"```"].join(`
40
+ `):`\`\`\`${r}\n\n\`\`\``,n},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,`paragraph`,e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{let{empty:e,$anchor:t}=this.editor.state.selection,n=t.pos===1;return!e||t.parent.type.name!==this.name?!1:n||!t.parent.textContent.length?this.editor.commands.clearNodes():!1},Tab:({editor:e})=>{if(!this.options.enableTabIndentation)return!1;let t=this.options.tabSize??ji,{state:n}=e,{selection:r}=n,{$from:i,empty:a}=r;if(i.parent.type!==this.type)return!1;let o=` `.repeat(t);return a?e.commands.insertContent(o):e.commands.command(({tr:e})=>{let{from:t,to:i}=r,a=n.doc.textBetween(t,i,`
41
+ `,`
42
+ `).split(`
43
+ `).map(e=>o+e).join(`
44
+ `);return e.replaceWith(t,i,n.schema.text(a)),!0})},"Shift-Tab":({editor:e})=>{if(!this.options.enableTabIndentation)return!1;let t=this.options.tabSize??ji,{state:n}=e,{selection:r}=n,{$from:i,empty:a}=r;return i.parent.type===this.type?a?e.commands.command(({tr:e})=>{let{pos:r}=i,a=i.start(),o=i.end(),s=n.doc.textBetween(a,o,`
45
+ `,`
46
+ `).split(`
47
+ `),c=0,l=0,u=r-a;for(let e=0;e<s.length;e+=1){if(l+s[e].length>=u){c=e;break}l+=s[e].length+1}let d=s[c].match(/^ */)?.[0]||``,f=Math.min(d.length,t);if(f===0)return!0;let p=a;for(let e=0;e<c;e+=1)p+=s[e].length+1;return e.delete(p,p+f),r-p<=f&&e.setSelection(Wt.create(e.doc,p)),!0}):e.commands.command(({tr:e})=>{let{from:i,to:a}=r,o=n.doc.textBetween(i,a,`
48
+ `,`
49
+ `).split(`
50
+ `).map(e=>{let n=e.match(/^ */)?.[0]||``,r=Math.min(n.length,t);return e.slice(r)}).join(`
51
+ `);return e.replaceWith(i,a,n.schema.text(o)),!0}):!1},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;let{state:t}=e,{selection:n}=t,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;let a=r.parentOffset===r.parent.nodeSize-2,o=r.parent.textContent.endsWith(`
52
+
53
+ `);return!a||!o?!1:e.chain().command(({tr:e})=>(e.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowUp:({editor:e})=>{if(!this.options.exitOnArrowUp)return!1;let{state:t}=e,{selection:n}=t,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type||r.parentOffset!==0)return!1;let a=r.before();return a>0?!1:e.commands.insertDefaultBlock({pos:a})},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;let{state:t}=e,{selection:n,doc:r}=t,{$from:i,empty:a}=n;if(!a||i.parent.type!==this.type||i.parentOffset!==i.parent.nodeSize-2)return!1;let o=i.after();return o===void 0?!1:r.nodeAt(o)?e.commands.command(({tr:e})=>(e.setSelection(qt.near(r.resolve(o))),!0)):e.commands.exitCode()}}},addInputRules(){return[be({find:Mi,type:this.type,getAttributes:e=>({language:e[1]})}),be({find:Ni,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new G({key:new Ut(`codeBlockVSCodeHandler`),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;let n=t.clipboardData.getData(`text/plain`),r=t.clipboardData.getData(`vscode-editor-data`),i=(r?JSON.parse(r):void 0)?.mode;if(!n||!i)return!1;let{tr:a,schema:o}=e.state,s=o.text(n.replace(/\r\n?/g,`
54
+ `));return a.replaceSelectionWith(this.type.create({language:i},s)),a.selection.$from.parent.type!==this.type&&a.setSelection(Wt.near(a.doc.resolve(Math.max(0,a.selection.from-2)))),a.setMeta(`paste`,!0),e.dispatch(a),!0}}})]}}),Fi=H.create({name:`doc`,topNode:!0,content:`block+`,renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,`
55
+
56
+ `):``}),Ii=H.create({name:`hardBreak`,markdownTokenName:`br`,addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:`inline`,selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:`br`}]},renderHTML({HTMLAttributes:e}){return[`br`,W(this.options.HTMLAttributes,e)]},renderText(){return`
57
+ `},renderMarkdown:()=>`
58
+ `,parseMarkdown:()=>({type:`hardBreak`}),addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command(()=>{let{selection:e,storedMarks:i}=n;if(e.$from.parent.type.spec.isolating)return!1;let{keepMarks:a}=this.options,{splittableMarks:o}=r.extensionManager,s=i||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command(({tr:e,dispatch:t})=>{if(t&&s&&a){let t=s.filter(e=>o.includes(e.type.name));e.ensureMarks(t)}return!0}).scrollIntoView().run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Li=H.create({name:`heading`,addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:`inline*`,group:`block`,defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,W(this.options.HTMLAttributes,t),0]},parseMarkdown:(e,t)=>t.createNode(`heading`,{level:e.depth||1},t.parseInline(e.tokens||[])),renderMarkdown:(e,t)=>{let n=e.attrs?.level?parseInt(e.attrs.level,10):1,r=`#`.repeat(n);return e.content?`${r} ${t.renderChildren(e.content)}`:``},addCommands(){return{setHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.setNode(this.name,e):!1,toggleHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.toggleNode(this.name,`paragraph`,e):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(e=>be({find:RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),type:this.type,getAttributes:{level:e}}))}}),Ri=H.create({name:`horizontalRule`,addOptions(){return{HTMLAttributes:{},nextNodeType:`paragraph`}},group:`block`,parseHTML(){return[{tag:`hr`}]},renderHTML({HTMLAttributes:e}){return[`hr`,W(this.options.HTMLAttributes,e)]},markdownTokenName:`hr`,parseMarkdown:(e,t)=>t.createNode(`horizontalRule`),renderMarkdown:()=>`---`,addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{if(!Ae(t,t.schema.nodes[this.name]))return!1;let{selection:n}=t,{$to:r}=n,i=e();return ie(n)?i.insertContentAt(r.pos,{type:this.name}):i.insertContent({type:this.name}),i.command(({state:e,tr:t,dispatch:n})=>{if(n){let{$to:n}=t.selection,r=n.end();if(n.nodeAfter)n.nodeAfter.isTextblock?t.setSelection(Wt.create(t.doc,n.pos+1)):n.nodeAfter.isBlock?t.setSelection(Yt.create(t.doc,n.pos)):t.setSelection(Wt.create(t.doc,n.pos));else{let i=(e.schema.nodes[this.options.nextNodeType]||n.parent.type.contentMatch.defaultType)?.create();i&&(t.insert(r,i),t.setSelection(Wt.create(t.doc,r+1)))}t.scrollIntoView()}return!0}).run()}}},addInputRules(){return[Be({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),zi=`aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos6kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12b0cam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2`,Bi=`ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2`,Vi=`numeric`,Hi=`ascii`,Ui=`alpha`,Wi=`asciinumeric`,Gi=`alphanumeric`,Ki=`domain`,qi=`emoji`,Ji=`scheme`,Yi=`slashscheme`,Xi=`whitespace`;function Zi(e,t){return e in t||(t[e]=[]),t[e]}function Qi(e,t,n){t[Vi]&&(t[Wi]=!0,t[Gi]=!0),t[Hi]&&(t[Wi]=!0,t[Ui]=!0),t[Wi]&&(t[Gi]=!0),t[Ui]&&(t[Gi]=!0),t[Gi]&&(t[Ki]=!0),t[qi]&&(t[Ki]=!0);for(let r in t){let t=Zi(r,n);t.indexOf(e)<0&&t.push(e)}}function $i(e,t){let n={};for(let r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}function J(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}J.groups={},J.prototype={accepts(){return!!this.t},go(e){let t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){let r=t.jr[n][0],i=t.jr[n][1];if(i&&r.test(e))return i}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,r)},tr(e,t,n,r){r||=J.groups;let i;return t&&t.j?i=t:(i=new J(t),n&&r&&Qi(t,n,r)),this.jr.push([e,i]),i},ts(e,t,n,r){let i=this,a=e.length;if(!a)return i;for(let t=0;t<a-1;t++)i=i.tt(e[t]);return i.tt(e[a-1],t,n,r)},tt(e,t,n,r){r||=J.groups;let i=this;if(t&&t.j)return i.j[e]=t,t;let a=t,o,s=i.go(e);return s?(o=new J,Object.assign(o.j,s.j),o.jr.push.apply(o.jr,s.jr),o.jd=s.jd,o.t=s.t):o=new J,a&&(r&&(o.t&&typeof o.t==`string`?Qi(a,Object.assign($i(o.t,r),n),r):n&&Qi(a,n,r)),o.t=a),i.j[e]=o,o}};var Y=(e,t,n,r,i)=>e.ta(t,n,r,i),X=(e,t,n,r,i)=>e.tr(t,n,r,i),ea=(e,t,n,r,i)=>e.ts(t,n,r,i),Z=(e,t,n,r,i)=>e.tt(t,n,r,i),ta=`WORD`,na=`UWORD`,ra=`ASCIINUMERICAL`,ia=`ALPHANUMERICAL`,aa=`LOCALHOST`,oa=`TLD`,sa=`UTLD`,ca=`SCHEME`,la=`SLASH_SCHEME`,ua=`NUM`,da=`WS`,fa=`NL`,pa=`OPENBRACE`,ma=`CLOSEBRACE`,ha=`OPENBRACKET`,ga=`CLOSEBRACKET`,_a=`OPENPAREN`,va=`CLOSEPAREN`,ya=`OPENANGLEBRACKET`,ba=`CLOSEANGLEBRACKET`,xa=`FULLWIDTHLEFTPAREN`,Sa=`FULLWIDTHRIGHTPAREN`,Ca=`LEFTCORNERBRACKET`,wa=`RIGHTCORNERBRACKET`,Ta=`LEFTWHITECORNERBRACKET`,Ea=`RIGHTWHITECORNERBRACKET`,Da=`FULLWIDTHLESSTHAN`,Oa=`FULLWIDTHGREATERTHAN`,ka=`AMPERSAND`,Aa=`APOSTROPHE`,ja=`ASTERISK`,Ma=`AT`,Na=`BACKSLASH`,Pa=`BACKTICK`,Fa=`CARET`,Ia=`COLON`,La=`COMMA`,Ra=`DOLLAR`,za=`DOT`,Ba=`EQUALS`,Va=`EXCLAMATION`,Ha=`HYPHEN`,Ua=`PERCENT`,Wa=`PIPE`,Ga=`PLUS`,Ka=`POUND`,qa=`QUERY`,Ja=`QUOTE`,Ya=`FULLWIDTHMIDDLEDOT`,Xa=`SEMI`,Za=`SLASH`,Qa=`TILDE`,$a=`UNDERSCORE`,eo=`EMOJI`,to=`SYM`,no=Object.freeze({__proto__:null,ALPHANUMERICAL:ia,AMPERSAND:ka,APOSTROPHE:Aa,ASCIINUMERICAL:ra,ASTERISK:ja,AT:Ma,BACKSLASH:Na,BACKTICK:Pa,CARET:Fa,CLOSEANGLEBRACKET:ba,CLOSEBRACE:ma,CLOSEBRACKET:ga,CLOSEPAREN:va,COLON:Ia,COMMA:La,DOLLAR:Ra,DOT:za,EMOJI:eo,EQUALS:Ba,EXCLAMATION:Va,FULLWIDTHGREATERTHAN:Oa,FULLWIDTHLEFTPAREN:xa,FULLWIDTHLESSTHAN:Da,FULLWIDTHMIDDLEDOT:Ya,FULLWIDTHRIGHTPAREN:Sa,HYPHEN:Ha,LEFTCORNERBRACKET:Ca,LEFTWHITECORNERBRACKET:Ta,LOCALHOST:aa,NL:fa,NUM:ua,OPENANGLEBRACKET:ya,OPENBRACE:pa,OPENBRACKET:ha,OPENPAREN:_a,PERCENT:Ua,PIPE:Wa,PLUS:Ga,POUND:Ka,QUERY:qa,QUOTE:Ja,RIGHTCORNERBRACKET:wa,RIGHTWHITECORNERBRACKET:Ea,SCHEME:ca,SEMI:Xa,SLASH:Za,SLASH_SCHEME:la,SYM:to,TILDE:Qa,TLD:oa,UNDERSCORE:$a,UTLD:sa,UWORD:na,WORD:ta,WS:da}),ro=/[a-z]/,io=/[a-z]/i,ao=/[\u{1F000}-\u{1FAFF}\u{2600}-\u{27BF}]|\u{FE0F}/u;try{io=RegExp(`\\p{L}`,`u`),ao=RegExp(`\\p{Emoji}`,`u`)}catch{}var oo=/\d/,so=/\s/,co=`\r`,lo=`
59
+ `,uo=`️`,fo=`‍`,po=``,mo=null,ho=null;function go(e=[]){let t={};J.groups=t;let n=new J;mo??=bo(zi),ho??=bo(Bi),Z(n,`'`,Aa),Z(n,`{`,pa),Z(n,`}`,ma),Z(n,`[`,ha),Z(n,`]`,ga),Z(n,`(`,_a),Z(n,`)`,va),Z(n,`<`,ya),Z(n,`>`,ba),Z(n,`(`,xa),Z(n,`)`,Sa),Z(n,`「`,Ca),Z(n,`」`,wa),Z(n,`『`,Ta),Z(n,`』`,Ea),Z(n,`<`,Da),Z(n,`>`,Oa),Z(n,`&`,ka),Z(n,`*`,ja),Z(n,`@`,Ma),Z(n,"`",Pa),Z(n,`^`,Fa),Z(n,`:`,Ia),Z(n,`,`,La),Z(n,`$`,Ra),Z(n,`.`,za),Z(n,`=`,Ba),Z(n,`!`,Va),Z(n,`-`,Ha),Z(n,`%`,Ua),Z(n,`|`,Wa),Z(n,`+`,Ga),Z(n,`#`,Ka),Z(n,`?`,qa),Z(n,`"`,Ja),Z(n,`/`,Za),Z(n,`;`,Xa),Z(n,`~`,Qa),Z(n,`_`,$a),Z(n,`\\`,Na),Z(n,`・`,Ya);let r=X(n,oo,ua,{[Vi]:!0});X(r,oo,r);let i=X(r,ro,ra,{[Wi]:!0}),a=X(r,io,ia,{[Gi]:!0}),o=X(n,ro,ta,{[Hi]:!0});X(o,oo,i),X(o,ro,o),X(i,oo,i),X(i,ro,i);let s=X(n,io,na,{[Ui]:!0});X(s,ro),X(s,oo,a),X(s,io,s),X(a,oo,a),X(a,ro),X(a,io,a);let c=Z(n,lo,fa,{[Xi]:!0}),l=Z(n,co,da,{[Xi]:!0}),u=X(n,so,da,{[Xi]:!0});Z(n,po,u),Z(l,lo,c),Z(l,po,u),X(l,so,u),Z(u,co),Z(u,lo),X(u,so,u),Z(u,po,u);let d=X(n,ao,eo,{[qi]:!0});Z(d,`#`),X(d,ao,d),Z(d,uo,d);let f=Z(d,fo);Z(f,`#`),X(f,ao,d);let p=[[ro,o],[oo,i]],m=[[ro,null],[io,s],[oo,a]];for(let e=0;e<mo.length;e++)yo(n,mo[e],oa,ta,p);for(let e=0;e<ho.length;e++)yo(n,ho[e],sa,na,m);Qi(oa,{tld:!0,ascii:!0},t),Qi(sa,{utld:!0,alpha:!0},t),yo(n,`file`,ca,ta,p),yo(n,`mailto`,ca,ta,p),yo(n,`http`,la,ta,p),yo(n,`https`,la,ta,p),yo(n,`ftp`,la,ta,p),yo(n,`ftps`,la,ta,p),Qi(ca,{scheme:!0,ascii:!0},t),Qi(la,{slashscheme:!0,ascii:!0},t),e=e.sort((e,t)=>e[0]>t[0]?1:-1);for(let t=0;t<e.length;t++){let r=e[t][0],i=e[t][1]?{[Ji]:!0}:{[Yi]:!0};r.indexOf(`-`)>=0?i[Ki]=!0:ro.test(r)?oo.test(r)?i[Wi]=!0:i[Hi]=!0:i[Vi]=!0,ea(n,r,r,i)}return ea(n,`localhost`,aa,{ascii:!0}),n.jd=new J(to),{start:n,tokens:Object.assign({groups:t},no)}}function _o(e,t){let n=vo(t.replace(/[A-Z]/g,e=>e.toLowerCase())),r=n.length,i=[],a=0,o=0;for(;o<r;){let s=e,c=null,l=0,u=null,d=-1,f=-1;for(;o<r&&(c=s.go(n[o]));)s=c,s.accepts()?(d=0,f=0,u=s):d>=0&&(d+=n[o].length,f++),l+=n[o].length,a+=n[o].length,o++;a-=d,o-=f,l-=d,i.push({t:u.t,v:t.slice(a-l,a),s:a-l,e:a})}return i}function vo(e){let t=[],n=e.length,r=0;for(;r<n;){let i=e.charCodeAt(r),a,o=i<55296||i>56319||r+1===n||(a=e.charCodeAt(r+1))<56320||a>57343?e[r]:e.slice(r,r+2);t.push(o),r+=o.length}return t}function yo(e,t,n,r,i){let a,o=t.length;for(let n=0;n<o-1;n++){let o=t[n];e.j[o]?a=e.j[o]:(a=new J(r),a.jr=i.slice(),e.j[o]=a),e=a}return a=new J(n),a.jr=i.slice(),e.j[t[o-1]]=a,a}function bo(e){let t=[],n=[],r=0;for(;r<e.length;){let i=0;for(;`0123456789`.indexOf(e[r+i])>=0;)i++;if(i>0){t.push(n.join(``));for(let t=parseInt(e.substring(r,r+i),10);t>0;t--)n.pop();r+=i}else n.push(e[r]),r++}return t}var xo={defaultProtocol:`http`,events:null,format:Co,formatHref:Co,nl2br:!1,tagName:`a`,target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],ignoreClasses:[],render:null};function So(e,t=null){let n=Object.assign({},xo);e&&(n=Object.assign(n,e instanceof So?e.o:e));let r=n.ignoreTags,i=[];for(let e=0;e<r.length;e++)i.push(r[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i,this.ignoreClasses=n.ignoreClasses.slice()}So.prototype={o:xo,ignoreTags:[],ignoreClasses:[],isIgnoredClass(e){if(typeof e!=`string`||this.ignoreClasses.length===0)return!1;let t=e.split(/\s+/);for(let e=0;e<t.length;e++)if(this.ignoreClasses.indexOf(t[e])>=0)return!0;return!1},defaultRender(e){return e},check(e){return this.get(`validate`,e.toString(),e)},get(e,t,n){let r=t!=null,i=this.o[e];return i&&(typeof i==`object`?(i=n.t in i?i[n.t]:xo[e],typeof i==`function`&&r&&(i=i(t,n))):typeof i==`function`&&r&&(i=i(t,n.t,n)),i)},getObj(e,t,n){let r=this.o[e];return typeof r==`function`&&t!=null&&(r=r(t,n.t,n)),r},render(e){let t=e.render(this);return(this.get(`render`,null,e)||this.defaultRender)(t,e.t,e)}};function Co(e){return e}function wo(e,t){this.t=`token`,this.v=e,this.tk=t}wo.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),n=e.get(`truncate`,t,this),r=e.get(`format`,t,this);return n&&r.length>n?r.substring(0,n)+`…`:r},toFormattedHref(e){return e.get(`formatHref`,this.toHref(e.get(`defaultProtocol`)),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=xo.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get(`validate`,this.toString(),this)},render(e){let t=this,n=this.toHref(e.get(`defaultProtocol`)),r=e.get(`formatHref`,n,this),i=e.get(`tagName`,n,t),a=this.toFormattedString(e),o={},s=e.get(`className`,n,t),c=e.get(`target`,n,t),l=e.get(`rel`,n,t),u=e.getObj(`attributes`,n,t),d=e.getObj(`events`,n,t);return o.href=r,s&&(o.class=s),c&&(o.target=c),l&&(o.rel=l),u&&Object.assign(o,u),{tagName:i,attributes:o,content:a,eventListeners:d}}};function To(e,t){class n extends wo{constructor(t,n){super(t,n),this.t=e}}for(let e in t)n.prototype[e]=t[e];return n.t=e,n}var Eo=To(`email`,{isLink:!0,toHref(){return`mailto:`+this.toString()}}),Do=To(`text`),Oo=To(`nl`),ko=To(`url`,{isLink:!0,toHref(e=xo.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==aa&&e[1].t===Ia}}),Ao=e=>new J(e);function jo({groups:e}){let t=e.domain.concat([ka,ja,Ma,Na,Pa,Fa,Ra,Ba,Ha,ua,Ua,Wa,Ga,Ka,Za,to,Qa,$a]),n=[Aa,Ia,La,za,Va,Ua,qa,Ja,Xa,ya,ba,pa,ma,ga,ha,_a,va,xa,Sa,Ca,wa,Ta,Ea,Da,Oa],r=[ka,Aa,ja,Na,Pa,Fa,Ra,Ba,Ha,pa,ma,Ua,Wa,Ga,Ka,qa,Za,to,Qa,$a],i=Ao(),a=Z(i,Qa);Y(a,r,a),Y(a,e.domain,a);let o=Ao(),s=Ao(),c=Ao();Y(i,e.domain,o),Y(i,e.scheme,s),Y(i,e.slashscheme,c),Y(o,r,a),Y(o,e.domain,o);let l=Z(o,Ma);Z(a,Ma,l),Z(s,Ma,l),Z(c,Ma,l);let u=Z(a,za);Y(u,r,a),Y(u,e.domain,a);let d=Ao();Y(l,e.domain,d),Y(d,e.domain,d);let f=Z(d,za);Y(f,e.domain,d);let p=Ao(Eo);Y(f,e.tld,p),Y(f,e.utld,p),Z(l,aa,p);let m=Z(d,Ha);Z(m,Ha,m),Y(m,e.domain,d),Y(p,e.domain,d),Z(p,za,f),Z(p,Ha,m);let h=Z(o,Ha),g=Z(o,za);Z(h,Ha,h),Y(h,e.domain,o),Y(g,r,a),Y(g,e.domain,o);let _=Ao(ko);Y(g,e.tld,_),Y(g,e.utld,_),Y(_,e.domain,o),Y(_,r,a),Z(_,za,g),Z(_,Ha,h),Z(_,Ma,l);let v=Z(_,Ia),y=Ao(ko);Y(v,e.numeric,y);let b=Ao(ko),x=Ao();Y(b,t,b),Y(b,n,x),Y(x,t,b),Y(x,n,x),Z(_,Za,b),Z(y,Za,b),Z(_,qa,x),Z(_,Ka,b),Z(y,qa,x),Z(y,Ka,b);let S=Z(s,Ia),C=Z(Z(Z(c,Ia),Za),Za);Y(s,e.domain,o),Z(s,za,g),Z(s,Ha,h),Y(c,e.domain,o),Z(c,za,g),Z(c,Ha,h),Y(S,e.domain,b),Z(S,Za,b),Z(S,qa,b),Y(C,e.domain,b),Y(C,t,b),Z(C,Za,b);let w=[[pa,ma],[ha,ga],[_a,va],[ya,ba],[xa,Sa],[Ca,wa],[Ta,Ea],[Da,Oa]];for(let e=0;e<w.length;e++){let[r,i]=w[e],a=Z(b,r);Z(x,r,a);let o=Ao(ko);Y(a,t,o);let s=Ao();Y(a,n,s),Z(a,i,b),Y(o,t,o),Y(o,n,s),Y(s,t,o),Y(s,n,s),Z(o,i,b),Z(s,i,b)}return Z(i,aa,_),Z(i,fa,Oo),{start:i,tokens:no}}function Mo(e,t,n){let r=n.length,i=0,a=[],o=[],s=[];for(;i<r;){let c=e,l=null,u=null,d=0,f=null,p=-1,m=[];for(;i<r&&!(l=c.go(n[i].t));)o.push(n[i++]);for(;i<r&&(u=l||c.go(n[i].t));)if(l=null,c=u,i++,d++,c.accepts())p=0,f=c,m=[];else if(p>=0&&p++,m.push(c),s[i]&&s[i].has(c))break;for(let e=0,t=i-m.length+1;e<m.length;e++,t++)(s[t]||(s[t]=new Set)).add(m[e]);if(p<0)i-=d,i<r&&(o.push(n[i]),i++);else{o.length>0&&(a.push(No(Do,t,o)),o=[]),i-=p,d-=p;let e=f.t,r=n.slice(i-d,i);a.push(No(e,t,r))}}return o.length>0&&a.push(No(Do,t,o)),a}function No(e,t,n){let r=n[0].s,i=n[n.length-1].e;return new e(t.slice(r,i),n)}var Po=typeof console<`u`&&console&&console.warn||(()=>{}),Fo=`until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`,Q={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Io(){return J.groups={},Q.scanner=null,Q.parser=null,Q.tokenQueue=[],Q.pluginQueue=[],Q.customSchemes=[],Q.initialized=!1,Q}function Lo(e,t=!1){if(Q.initialized&&Po(`linkifyjs: already initialized - will not register custom scheme "${e}" ${Fo}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw Error(`linkifyjs: incorrect scheme format.
60
+ 1. Must only contain digits, lowercase ASCII letters or "-"
61
+ 2. Cannot start or end with "-"
62
+ 3. "-" cannot repeat`);Q.customSchemes.push([e,t])}function Ro(){Q.scanner=go(Q.customSchemes);for(let e=0;e<Q.tokenQueue.length;e++)Q.tokenQueue[e][1]({scanner:Q.scanner});Q.parser=jo(Q.scanner.tokens);for(let e=0;e<Q.pluginQueue.length;e++)Q.pluginQueue[e][1]({scanner:Q.scanner,parser:Q.parser});return Q.initialized=!0,Q}function zo(e){return Q.initialized||Ro(),Mo(Q.parser.start,e,_o(Q.scanner.start,e))}zo.scan=_o;function Bo(e,t=null,n=null){if(t&&typeof t==`object`){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}let r=new So(n),i=zo(e),a=[];for(let e=0;e<i.length;e++){let n=i[e];n.isLink&&(!t||n.t===t)&&r.check(n)&&a.push(n.toFormattedObject(r))}return a}var Vo=`[\0- \xA0 ᠎ -\u2029  ]`,Ho=new RegExp(Vo),Uo=RegExp(`${Vo}$`),Wo=RegExp(`${Vo}+$`),Go=new RegExp(Vo,`g`);function Ko(e,t,n){let r=e.doc.resolve(t.to);if(!r.nodeBefore?.isText)return;let i=e.doc.textBetween(t.from,t.to,``,``).match(Wo)?.[0];if(!i)return;let a=t.to-i.length,o=pe(a,t.to,e.doc).filter(e=>e.mark.type===n);if(!o.length)return;let{nodeAfter:s}=r;if(s&&o.some(e=>e.mark.isInSet(s.marks)))return;let c=e.storedMarks;e.removeMark(a,t.to,n),e.setStoredMarks(c),e.selection.empty&&e.selection.from===t.to&&e.removeStoredMark(n)}function qo(e){return e.length===1?e[0].isLink:e.length===3&&e[1].isLink?[`()`,`[]`].includes(e[0].value+e[2].value):!1}function Jo(e){return new G({key:new Ut(`autolink`),appendTransaction:(t,n,r)=>{let i=t.some(e=>e.docChanged)&&!n.doc.eq(r.doc),a=t.some(e=>e.getMeta(`preventAutolink`));if(!i||a)return;let{tr:o}=r,s=de(n.doc,[...t]);if(!t.some(tt)){let t=[];s.steps.forEach((e,n)=>{if(!(e instanceof Gt)||!e.slice.size)return;let r=s.mapping.slice(n+1),i=r.map(e.from,1),a=r.map(e.from+e.slice.size,-1);i<a&&t.push({from:i,to:a})}),t.sort((e,t)=>t.to-e.to),t.forEach(t=>Ko(o,t,e.type))}if(oe(s).forEach(({newRange:t})=>{let n=ce(r.doc,t,e=>e.isTextblock),i,a;if(n.length>1)i=n[0],a=r.doc.textBetween(i.pos,i.pos+i.node.nodeSize,void 0,` `);else if(n.length){let e=r.doc.textBetween(t.from,t.to,` `,` `);if(!Uo.test(e))return;i=n[0],a=r.doc.textBetween(i.pos,t.to,void 0,` `)}if(i&&a){let t=a.split(Ho).filter(Boolean);if(t.length<=0)return!1;let n=t[t.length-1],s=i.pos+a.lastIndexOf(n);if(!n)return!1;let c=zo(n).map(t=>t.toObject(e.defaultProtocol));if(!qo(c))return!1;c.filter(e=>e.isLink).map(e=>({...e,from:s+e.start+1,to:s+e.end+1})).filter(e=>!r.schema.marks.code||!r.doc.rangeHasMark(e.from,e.to,r.schema.marks.code)).filter(t=>e.validate(t.value)).filter(t=>e.shouldAutoLink(t.value)).forEach(t=>{pe(t.from,t.to,r.doc).some(t=>t.mark.type===e.type)||o.addMark(t.from,t.to,e.type.create({href:t.href}))})}}),o.steps.length)return o}})}function Yo(e){return new G({key:new Ut(`handleClickLink`),props:{handleClick:(t,n,r)=>{if(r.button!==0||!t.editable)return!1;let i=null;if(r.target instanceof HTMLAnchorElement)i=r.target;else{let t=r.target;if(!t)return!1;let n=e.editor.view.dom;i=t.closest(`a`),i&&!n.contains(i)&&(i=null)}if(!i)return!1;let a=!1;if(e.enableClickSelection&&(a=e.editor.commands.extendMarkRange(e.type.name)),e.openOnClick){let n=qe(t.state,e.type.name),r=i.href??n.href,o=i.target??n.target;r&&(window.open(r,o),a=!0)}return a}}})}var Xo=/\[([^[\]]+)\]\(((?:[^\s()]|\([^\s()]*\))+)(?:\s+(?:(["'])(.*?)\3|“(.*?)”|‘(.*?)’))?\)$/,Zo=/\[([^[\]]+)\]\(((?:[^\s()]|\([^\s()]*\))+)(?:\s+(?:(["'])(.*?)\3|“(.*?)”|‘(.*?)’))?\)/g;function Qo(e,t){let n=0;for(let r=t-1;r>=0&&e[r]===`\\`;--r)n+=1;return n%2==1}function $o(e,t){let n=0,r=0;for(;r<t;){if(e[r]!=="`"||n===0&&Qo(e,r)){r+=1;continue}let i=0;for(;r<t&&e[r]==="`";)i+=1,r+=1;n===0?n=i:i===n&&(n=0)}return n>0}function es(e,t,n){let[,r,i]=t;return(t.index?e[t.index-1]:void 0)===`!`||Qo(e,t.index??0)||$o(e,t.index??0)?!1:!!r.trim()&&n(i)}function ts(e){let[t,n,r,,i,a,o]=e,s=i??a??o;return{index:e.index??0,text:t,replaceWith:n,data:{href:r,title:s||null,markdown:!0}}}function ns(e,t){return e.index<t.index+t.text.length&&t.index<e.index+e.text.length}function rs(e){return{href:e.data?.href,title:e.data?.title??null}}function is(e){let t=Ce({find:t=>{let n=Xo.exec(t);return!n||!es(t,n,e.isAllowedHref)?null:ts(n)},type:e.type,getAttributes:rs});return new se({find:t.find,handler:e=>{let n=t.handler(e);return n!==null&&e.state.tr.steps.length&&e.state.tr.setMeta(`preventAutolink`,!0),n}})}function as(e){let t=Ue({find:t=>{let n=[];for(let r of t.matchAll(Zo))es(t,r,e.isAllowedHref)&&n.push(ts(r));let r=(e.findPlainUrls?.call(e,t)??[]).filter(e=>!n.some(t=>ns(t,e)));return[...n,...r]},type:e.type,getAttributes:rs});return new je({find:t.find,handler:e=>{let n=t.handler(e);return n!==null&&e.state.tr.steps.length&&e.match.data?.markdown&&e.state.tr.setMeta(`preventAutolink`,!0),n}})}function os(e){return new G({key:new Ut(`handlePasteLink`),props:{handlePaste:(t,n,r)=>{let{shouldAutoLink:i}=e,{state:a}=t,{selection:o}=a,{empty:s}=o;if(s)return!1;let c=``;r.content.forEach(e=>{c+=e.textContent});let l=Bo(c,{defaultProtocol:e.defaultProtocol}).find(e=>e.isLink&&e.value===c);return!c||!l||i!==void 0&&!i(l.value)?!1:e.editor.commands.setMark(e.type,{href:l.href})}}})}function ss(e,t){let n=[`http`,`https`,`ftp`,`ftps`,`mailto`,`tel`,`callto`,`sms`,`cid`,`xmpp`];return t&&t.forEach(e=>{let t=typeof e==`string`?e:e.scheme;t&&n.push(t)}),!e||e.replace(Go,``).match(RegExp(`^(?:(?:${n.map(e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`)).join(`|`)}):|[^a-z]|[a-z0-9+.\\-]+(?:[^a-z+.\\-:]|$))`,`i`))}var cs=V.create({name:`link`,priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{typeof e==`string`?Lo(e):Lo(e.scheme,e.optionalSlashes)})},onDestroy(){Io()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,markdownLinks:!1,autolink:!0,protocols:[],defaultProtocol:`http`,HTMLAttributes:{target:`_blank`,rel:`noopener noreferrer nofollow`,class:null},isAllowedUri:(e,t)=>!!ss(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>{let t=/^[a-z][a-z0-9+.-]*:\/\//i.test(e),n=/^[a-z][a-z0-9+.-]*:/i.test(e);if(t||n&&!e.includes(`@`))return!0;let r=(e.includes(`@`)?e.split(`@`).pop():e).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(r)||!/\./.test(r))}}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute(`href`)}},target:{default:this.options.HTMLAttributes.target??null},rel:{default:this.options.HTMLAttributes.rel??null},class:{default:this.options.HTMLAttributes.class??null},title:{default:null}}},parseHTML(){return[{tag:`a[href]`,getAttrs:e=>{let t=e.getAttribute(`href`);return!t||!this.options.isAllowedUri(t,{defaultValidate:e=>!!ss(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:e=>!!ss(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?[`a`,W(this.options.HTMLAttributes,e),0]:[`a`,W(this.options.HTMLAttributes,{...e,href:``}),0]},markdownTokenName:`link`,parseMarkdown:(e,t)=>t.applyMark(`link`,t.parseInline(e.tokens||[]),{href:e.href,title:e.title||null}),renderMarkdown:(e,t)=>{let n=e.attrs?.href??``,r=e.attrs?.title??``,i=t.renderChildren(e);return r?`[${i}](${n} "${r}")`:`[${i}](${n})`},addCommands(){return{setLink:e=>({chain:t})=>{let{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:e=>!!ss(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().setMark(this.name,e).setMeta(`preventAutolink`,!0).run():!1},toggleLink:e=>({chain:t})=>{let{href:n}=e||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:e=>!!ss(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta(`preventAutolink`,!0).run()},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta(`preventAutolink`,!0).run()}},addInputRules(){return this.options.markdownLinks?[is({type:this.type,isAllowedHref:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!ss(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})})]:[]},addPasteRules(){let e=e=>{let t=[];if(e){let{protocols:n,defaultProtocol:r}=this.options;Bo(e).filter(e=>e.isLink&&this.options.isAllowedUri(e.value,{defaultValidate:e=>!!ss(e,n),protocols:n,defaultProtocol:r})).forEach(e=>{this.options.shouldAutoLink(e.value)&&t.push({text:e.value,data:{href:e.href},index:e.start})})}return t};return this.options.markdownLinks?[as({type:this.type,isAllowedHref:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!ss(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}),findPlainUrls:e})]:[Ue({find:e,type:this.type,getAttributes:e=>({href:e.data?.href})})]},addProseMirrorPlugins(){let e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(Jo({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!ss(e,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),e.push(Yo({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick===`whenNotEditable`||this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&e.push(os({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),e}}),ls=`&nbsp;`,us=`\xA0`,ds=H.create({name:`paragraph`,priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:`block`,content:`inline*`,parseHTML(){return[{tag:`p`}]},renderHTML({HTMLAttributes:e}){return[`p`,W(this.options.HTMLAttributes,e),0]},parseMarkdown:(e,t)=>{let n=e.tokens||[];if(n.length===1&&n[0].type===`image`)return t.parseChildren([n[0]]);let r=t.parseInline(n);return n.length===1&&n[0].type===`text`&&(n[0].raw===ls||n[0].text===ls||n[0].raw===us||n[0].text===us)&&r.length===1&&r[0].type===`text`&&(r[0].text===ls||r[0].text===us)?t.createNode(`paragraph`,void 0,[]):t.createNode(`paragraph`,void 0,r)},renderMarkdown:(e,t,n)=>{if(!e)return``;let r=Array.isArray(e.content)?e.content:[];if(r.length===0){var i,a;let e=Array.isArray(n==null||(i=n.previousNode)==null?void 0:i.content)?n.previousNode.content:[];return(n==null||(a=n.previousNode)==null?void 0:a.type)===`paragraph`&&e.length===0?ls:``}return t.renderChildren(r)},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),fs=U.create({name:`starterKit`,addExtensions(){let e=[];return this.options.bold!==!1&&e.push(Ge.configure(this.options.bold)),this.options.blockquote!==!1&&e.push(Sr.configure(this.options.blockquote)),this.options.bulletList!==!1&&e.push(Dr.configure(this.options.bulletList)),this.options.code!==!1&&e.push(Ke.configure(this.options.code)),this.options.codeBlock!==!1&&e.push(Pi.configure(this.options.codeBlock)),this.options.document!==!1&&e.push(Fi.configure(this.options.document)),this.options.dropcursor!==!1&&e.push(qn.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&e.push(Jn.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&e.push(Ii.configure(this.options.hardBreak)),this.options.heading!==!1&&e.push(Li.configure(this.options.heading)),this.options.undoRedo!==!1&&e.push(yr.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&e.push(Ri.configure(this.options.horizontalRule)),this.options.italic!==!1&&e.push(ye.configure(this.options.italic)),this.options.listItem!==!1&&e.push(Xr.configure(this.options.listItem)),this.options.listKeymap!==!1&&e.push(ai.configure(this.options?.listKeymap)),this.options.link!==!1&&e.push(cs.configure(this.options?.link)),this.options.orderedList!==!1&&e.push(Ti.configure(this.options.orderedList)),this.options.paragraph!==!1&&e.push(ds.configure(this.options.paragraph)),this.options.strike!==!1&&e.push(De.configure(this.options.strike)),this.options.text!==!1&&e.push(we.configure(this.options.text)),this.options.underline!==!1&&e.push(Le.configure(this.options?.underline)),this.options.trailingNode!==!1&&e.push(vr.configure(this.options?.trailingNode)),e}});function ps(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:o,mathTextData:s}};function e(e){this.enter({type:`math`,meta:null,value:``,data:{hName:`pre`,hChildren:[{type:`element`,tagName:`code`,properties:{className:[`language-math`,`math-display`]},children:[]}]}},e)}function t(){this.buffer()}function n(){let e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.meta=e}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t;let r=n.data.hChildren[0];r.type,r.tagName,r.children.push({type:`text`,value:t}),this.data.mathFlowInside=void 0}function a(e){this.enter({type:`inlineMath`,value:``,data:{hName:`code`,hProperties:{className:[`language-math`,`math-inline`]},hChildren:[]}},e),this.buffer()}function o(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t,n.data.hChildren.push({type:`text`,value:t})}function s(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}function ms(e){let t=(e||{}).singleDollarTextMath;return t??=!0,r.peek=i,{unsafe:[{character:`\r`,inConstruct:`mathFlowMeta`},{character:`
63
+ `,inConstruct:`mathFlowMeta`},{character:`$`,after:t?void 0:`\\$`,inConstruct:`phrasing`},{character:`$`,inConstruct:`mathFlowMeta`},{atBreak:!0,character:`$`,after:`\\$`}],handlers:{math:n,inlineMath:r}};function n(e,t,n,r){let i=e.value||``,a=n.createTracker(r),o=`$`.repeat(Math.max(Rt(i,`$`)+1,2)),s=n.enter(`mathFlow`),c=a.move(o);if(e.meta){let t=n.enter(`mathFlowMeta`);c+=a.move(n.safe(e.meta,{after:`
64
+ `,before:c,encode:[`$`],...a.current()})),t()}return c+=a.move(`
65
+ `),i&&(c+=a.move(i+`
66
+ `)),c+=a.move(o),s(),c}function r(e,n,r){let i=e.value||``,a=1;for(t||a++;RegExp(`(^|[^$])`+`\\$`.repeat(a)+`([^$]|$)`).test(i);)a++;let o=`$`.repeat(a);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=` `+i+` `);let s=-1;for(;++s<r.unsafe.length;){let e=r.unsafe[s];if(!e.atBreak)continue;let t=r.compilePattern(e),n;for(;n=t.exec(i);){let e=n.index;i.codePointAt(e)===10&&i.codePointAt(e-1)===13&&e--,i=i.slice(0,e)+` `+i.slice(n.index+1)}}return o+i+o}function i(){return`$`}}var hs={tokenize:_s,concrete:!0,name:`mathFlow`},gs={tokenize:vs,partial:!0};function _s(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){return e.enter(`mathFlow`),e.enter(`mathFlowFence`),e.enter(`mathFlowFenceSequence`),c(t)}function c(t){return t===36?(e.consume(t),o++,c):o<2?n(t):(e.exit(`mathFlowFenceSequence`),kt(e,l,`whitespace`)(t))}function l(t){return t===null||yt(t)?d(t):(e.enter(`mathFlowFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===null||yt(t)?(e.exit(`chunkString`),e.exit(`mathFlowFenceMeta`),d(t)):t===36?n(t):(e.consume(t),u)}function d(n){return e.exit(`mathFlowFence`),r.interrupt?t(n):e.attempt(gs,f,g)(n)}function f(t){return e.attempt({tokenize:_,partial:!0},g,p)(t)}function p(t){return(a?kt(e,m,`linePrefix`,a+1):m)(t)}function m(t){return t===null?g(t):yt(t)?e.attempt(gs,f,g)(t):(e.enter(`mathFlowValue`),h(t))}function h(t){return t===null||yt(t)?(e.exit(`mathFlowValue`),m(t)):(e.consume(t),h)}function g(n){return e.exit(`mathFlow`),t(n)}function _(e,t,n){let i=0;return kt(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4);function a(t){return e.enter(`mathFlowFence`),e.enter(`mathFlowFenceSequence`),s(t)}function s(t){return t===36?(i++,e.consume(t),s):i<o?n(t):(e.exit(`mathFlowFenceSequence`),kt(e,c,`whitespace`)(t))}function c(r){return r===null||yt(r)?(e.exit(`mathFlowFence`),t(r)):n(r)}}}function vs(e,t,n){let r=this;return i;function i(n){return n===null?t(n):(e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function ys(e){let t=(e||{}).singleDollarTextMath;return t??=!0,{tokenize:n,resolve:bs,previous:xs,name:`mathText`};function n(e,n,r){let i=0,a,o;return s;function s(t){return e.enter(`mathText`),e.enter(`mathTextSequence`),c(t)}function c(n){return n===36?(e.consume(n),i++,c):i<2&&!t?r(n):(e.exit(`mathTextSequence`),l(n))}function l(t){return t===null?r(t):t===36?(o=e.enter(`mathTextSequence`),a=0,d(t)):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),l):yt(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),l):(e.enter(`mathTextData`),u(t))}function u(t){return t===null||t===32||t===36||yt(t)?(e.exit(`mathTextData`),l(t)):(e.consume(t),u)}function d(t){return t===36?(e.consume(t),a++,d):a===i?(e.exit(`mathTextSequence`),e.exit(`mathText`),n(t)):(o.type=`mathTextData`,u(t))}}}function bs(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`mathTextData`){e[t][1].type=`mathTextPadding`,e[n][1].type=`mathTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`mathTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function xs(e){return e!==36||this.events[this.events.length-1][1].type===`characterEscape`}function Ss(e){return{flow:{36:hs},text:{36:ys(e)}}}var Cs=m({title:g().optional(),cover:h([g().min(1),m({file:g().min(1),alt:g().optional()})]).optional()}),ws=/^<br\s*\/?>$/iu,Ts=/^https?:\/\/\S+$/u,Es=/^https?:\/\/(?:www\.)?(?:x|twitter)\.com\/[A-Za-z0-9_]+\/status\/([0-9]{1,19})(?:[/?#]\S*)?$/u,Ds={extensions:[Te([`yaml`]),Mt(),Lt(),Ft(),Ss()],mdastExtensions:[We([`yaml`]),Et(),Pt(),Dt(),ps()]},Os={extensions:[Se([`yaml`]),jt(),St(),ms()],bullet:`-`,emphasis:`*`,strong:`*`,rule:`-`,fences:!0},ks=e=>`${e.bold===!0?`b`:``}${e.italic===!0?`i`:``}${e.strike===!0?`s`:``}|${e.link??``}`;function As(e){let t=[];for(let n of e){if(n.text===``)continue;let e=t.at(-1);e&&ks(e)===ks(n)?t[t.length-1]={...e,text:e.text+n.text}:t.push(n)}return t}function js(e,t,n,r={}){let i=[];for(let a of e)switch(a.type){case`text`:i.push({...r,text:a.value.replace(/\n/gu,` `)});break;case`break`:i.push({...r,text:` `});break;case`strong`:i.push(...js(a.children,t,n,{...r,bold:!0}));break;case`emphasis`:i.push(...js(a.children,t,n,{...r,italic:!0}));break;case`delete`:i.push(...js(a.children,t,n,{...r,strike:!0}));break;case`link`:i.push(...js(a.children,t,n,{...r,link:a.url}));break;case`linkReference`:{let e=n.get(a.identifier.toLowerCase());i.push(...js(a.children,t,n,e===void 0?r:{...r,link:e}));break}case`footnoteReference`:t(a,`a footnote, which X's blocks do not hold: write the source in the words, or as a link`);break;case`inlineCode`:t(a,`inline code, which X's blocks do not style: write it as words, or as a code block`),i.push({...r,text:a.value});break;case`image`:t(a,`a picture inside a line: X takes a picture as a block of its own, on a line of its own`);break;case`inlineMath`:t(a,`an equation inside a line: X takes an equation as a block of its own ($$ … $$)`),i.push({...r,text:a.value});break;case`html`:/^<!--[\s\S]*-->$/u.test(a.value.trim())||t(a,`HTML, which X's blocks do not hold`);break;default:t(a,`${a.type}, which X's blocks do not hold`)}return i}var Ms=e=>e.map(e=>`value`in e?e.value:`children`in e?Ms(e.children):``).join(``);function Ns(e){let t=[],n=(e,n)=>{t.push({rule:`article-markup`,line:e.position?.start.line,message:`${n[0]?.toUpperCase()??``}${n.slice(1)}.`})},r=bt(e,Ds),i=new Map;for(let e of r.children)e.type===`definition`&&i.set(e.identifier.toLowerCase(),e.url);let a=``,o,s=[],c=e=>{switch(e.type){case`yaml`:{let n;try{n=Vt(e.value)}catch(n){t.push({rule:`format`,line:e.position?.start.line,message:`Its front matter is not YAML: ${n.message.split(`
67
+ `)[0]??``}`});break}let r=Cs.safeParse(n??{});if(!r.success){t.push({rule:`format`,line:e.position?.start.line,message:`Its front matter takes a title and a cover (a file, or { file, alt }): ${r.error.issues.map(e=>e.message).join(`; `)}`});break}a=r.data.title??``;let i=r.data.cover;o=i===void 0?void 0:typeof i==`string`?{file:i}:{file:i.file,...i.alt===void 0?{}:{alt:i.alt}};break}case`paragraph`:{let t=e.children.filter(e=>e.type===`image`),r=e.children.filter(e=>e.type!==`image`&&e.type!==`break`&&(e.type!==`text`||e.value.trim()!==``));if(t.length>0&&r.length===0){for(let e of t)s.push({type:`image`,file:e.url,...e.alt?{alt:e.alt}:{},...e.title?{caption:e.title}:{}});break}let a=Ms(e.children).trim();if(!a.includes(` `)){let e=Es.exec(a);if(e?.[1]!==void 0){s.push({type:`post`,url:a,id:e[1]});break}if(Ts.test(a)){s.push({type:`link`,url:a});break}}s.push({type:`paragraph`,runs:As(js(e.children,n,i))});break}case`heading`:e.depth>2&&n(e,`a heading of level ${String(e.depth)}: X has a Heading (#) and a Subheading (##)`),s.push({type:e.depth===1?`h1`:`h2`,runs:As(js(e.children,n,i))});break;case`blockquote`:for(let t of e.children)t.type===`paragraph`?s.push({type:`quote`,runs:As(js(t.children,n,i))}):n(t,`${t.type} inside a quote, which X's blocks do not hold`);break;case`list`:{let t=[],r=()=>{t.length>0&&s.push({type:e.ordered===!0?`ol`:`ul`,items:t}),t=[]},a=e.ordered===!0;a&&(e.start??1)!==1&&n(e,`a numbered list starting at ${String(e.start)}: X numbers every list from 1`);for(let[o,s]of e.children.entries()){a&&o>0&&t.length===0&&n(s,`item ${String((e.start??1)+o)} of a numbered list after a block inside it: X ends the list at the block and numbers this one 1`);let[l,...u]=s.children;t.push(l?.type===`paragraph`?As(js(l.children,n,i)):[]),l!==void 0&&l.type!==`paragraph`&&u.unshift(l);for(let e of u)e.type===`list`?n(e,`a list inside a list: X's lists are one level deep`):(r(),c(e))}r();break}case`thematicBreak`:s.push({type:`divider`});break;case`math`:s.push({type:`latex`,tex:e.value});break;case`code`:case`table`:s.push({type:`markdown`,markdown:Rn({type:`root`,children:[e]},Os).trimEnd()});break;case`html`:if(ws.test(e.value.trim())){s.push({type:`paragraph`,runs:[]});break}if(/^<!--[\s\S]*-->$/u.test(e.value.trim()))break;n(e,`HTML, which X's blocks do not hold (an empty line is <br /> alone)`);break;case`definition`:break;case`footnoteDefinition`:n(e,`a footnote, which X's blocks do not hold: write the source in the words, or as a link`);break;default:n(e,`${e.type}, which X's blocks do not hold`)}},l=[],u;for(let e of r.children){let t=s.length;c(e);let n=e.position&&{from:e.position.start.line,to:e.position.end.line};if(n){e.type===`yaml`&&(u=n);for(let e=t;e<s.length;e++)l.push(n)}}return a.trim()===``&&t.push({rule:`article-title`,line:1,message:`It has no title: X's article needs one (front matter: title: …).`}),{article:{title:a,...o?{cover:o}:{},blocks:s},issues:t,lines:l,head:u}}function Ps(e){return e.map(e=>{let t={type:`text`,value:e.text};return e.strike===!0&&(t={type:`delete`,children:[t]}),e.italic===!0&&(t={type:`emphasis`,children:[t]}),e.bold===!0&&(t={type:`strong`,children:[t]}),e.link!==void 0&&(t={type:`link`,url:e.link,children:[t]}),t})}function Fs(e){switch(e.type){case`paragraph`:return e.runs.every(e=>e.text===``)?[{type:`html`,value:`<br />`}]:[{type:`paragraph`,children:Ps(e.runs)}];case`h1`:case`h2`:return[{type:`heading`,depth:e.type===`h1`?1:2,children:Ps(e.runs)}];case`quote`:return[{type:`blockquote`,children:[{type:`paragraph`,children:Ps(e.runs)}]}];case`ul`:case`ol`:return[{type:`list`,ordered:e.type===`ol`,spread:!1,children:e.items.map(e=>({type:`listItem`,spread:!1,children:[{type:`paragraph`,children:Ps(e)}]}))}];case`image`:return[{type:`paragraph`,children:[{type:`image`,url:e.file,alt:e.alt??``,title:e.caption??null}]}];case`post`:case`link`:return[{type:`paragraph`,children:[{type:`text`,value:e.url}]}];case`divider`:return[{type:`thematicBreak`}];case`latex`:return[{type:`math`,value:e.tex}];case`markdown`:return bt(e.markdown,Ds).children}}function Is(e){let t={title:e.title};return e.cover&&(t.cover=e.cover.alt===void 0?e.cover.file:{file:e.cover.file,alt:e.cover.alt}),Rn({type:`root`,children:[{type:`yaml`,value:Bt(t,{lineWidth:0}).trimEnd()},...e.blocks.flatMap(Fs)]},Os)}function Ls(e){let t=bt(e,Ds).children[0];return t?.type===`table`?{type:`table`,rows:t.children.map(e=>e.children.map(e=>Ms(e.children)))}:t?.type===`code`?{type:`code`,code:t.value,...t.lang?{lang:t.lang}:{}}:{type:`text`,text:e}}var Rs=t(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;i!==`object`&&i!==`function`||Object.isFrozen(r)||n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function x(e,t){let n=e&&e.exec(t);return n&&n.index===0}var S=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=S.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var w=/\b\B/,T=`[a-zA-Z]\\w*`,E=`[a-zA-Z_]\\w*`,D=`\\b\\d+(\\.\\d+)?`,O=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,k=`\\b(0b[01]+)`,A=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,j=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},M={begin:`\\\\[\\s\\S]`,relevance:0},N={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[M]},P={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[M]},F={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},ee=I(`//`,`$`),L=I(`/\\*`,`\\*/`),R=I(`#`,`$`),z=Object.freeze({__proto__:null,APOS_STRING_MODE:N,BACKSLASH_ESCAPE:M,BINARY_NUMBER_MODE:{scope:`number`,begin:k,relevance:0},BINARY_NUMBER_RE:k,COMMENT:I,C_BLOCK_COMMENT_MODE:L,C_LINE_COMMENT_MODE:ee,C_NUMBER_MODE:{scope:`number`,begin:O,relevance:0},C_NUMBER_RE:O,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:R,IDENT_RE:T,MATCH_NOTHING_RE:w,METHOD_GUARD:{begin:`\\.\\s*[a-zA-Z_]\\w*`,relevance:0},NUMBER_MODE:{scope:`number`,begin:D,relevance:0},NUMBER_RE:D,PHRASAL_WORDS_MODE:F,QUOTE_STRING_MODE:P,REGEXP_MODE:{scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[M,{begin:/\[/,end:/\]/,relevance:0,contains:[M]}]},RE_STARTERS_RE:A,SHEBANG:j,TITLE_MODE:{scope:`title`,begin:T,relevance:0},UNDERSCORE_IDENT_RE:E,UNDERSCORE_TITLE_MODE:{scope:`title`,begin:E,relevance:0}});function te(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function ne(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function re(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=te,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function ie(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function ae(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function oe(e,t){e.relevance===void 0&&(e.relevance=1)}var B=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},V=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],se=`keyword`;function ce(e,t,n=se){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,ce(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,le(n[0],n[1])]})}}function le(e,t){return t?Number(t):+!ue(e)}function ue(e){return V.includes(e.toLowerCase())}var de={},H=e=>{console.error(e)},fe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},U=(e,t)=>{de[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),de[`${e}/${t}`]=!0)},pe=Error();function me(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function he(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw H(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),pe;if(typeof e.beginScope!=`object`||e.beginScope===null)throw H(`beginScope must be object`),pe;me(e,e.begin,{key:`beginScope`}),e.begin=C(e.begin,{joinWith:``})}}function ge(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw H(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),pe;if(typeof e.endScope!=`object`||e.endScope===null)throw H(`endScope must be object`),pe;me(e,e.end,{key:`endScope`}),e.end=C(e.end,{joinWith:``})}}function _e(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function ve(e){_e(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),he(e),ge(e)}function ye(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(C(e,{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[ne,ae,ve,B].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[re,ie,oe].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=ce(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return xe(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function be(e){return e?e.endsWithParent||be(e.starts):!1}function xe(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:be(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Se=`11.11.1`,Ce=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},we=i,Te=a,Ee=Symbol(`nomatch`),De=7,Oe=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=N(n[1]);return t||(fe(s.replace(`{}`,n[1])),fe(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||N(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(U(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),U(`10.7.0`,`Please use highlight(code, options) instead.
68
+ https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};R(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,R(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!A.keywords){M.addText(P);return}let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(P),n=``;for(;t;){n+=P.substring(e,t.index);let r=D.case_insensitive?t[0].toLowerCase():t[0],i=u(A,r);if(i){let[e,a]=i;if(M.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=De&&(F+=a),e.startsWith(`_`))n+=t[0];else{let n=D.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(P)}n+=P.substring(e),M.addText(n)}function f(){if(P===``)return;let e=null;if(typeof A.subLanguage==`string`){if(!t[A.subLanguage]){M.addText(P);return}e=v(A.subLanguage,P,!0,j[A.subLanguage]),j[A.subLanguage]=e._top}else e=S(P,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(F+=e.relevance),M.__addSublanguage(e._emitter,e.language)}function p(){A.subLanguage==null?d():f(),P=``}function m(e,t){e!==``&&(M.startScope(t),M.addText(e),M.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=D.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(P=i,d(),P=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&M.openNode(D.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(P,D.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),P=``):e.beginScope._multi&&(h(e.beginScope,t),P=``)),A=Object.create(e,{parent:{value:A}}),A}function _(e,t,n){let i=x(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return A.matcher.regexIndex===0?(P+=e[0],1):(L=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?P+=t:(n.excludeBegin&&(P+=t),p(),!n.returnBegin&&!n.excludeBegin&&(P=t)),g(n,e),n.returnBegin?0:t.length}function C(e){let t=e[0],r=n.substring(e.index),i=_(A,e,r);if(!i)return Ee;let a=A;A.endScope&&A.endScope._wrap?(p(),m(t,A.endScope._wrap)):A.endScope&&A.endScope._multi?(p(),h(A.endScope,e)):a.skip?P+=t:(a.returnEnd||a.excludeEnd||(P+=t),p(),a.excludeEnd&&(P=t));do A.scope&&M.closeNode(),!A.skip&&!A.subLanguage&&(F+=A.relevance),A=A.parent;while(A!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function w(){let e=[];for(let t=A;t!==D;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>M.openNode(e))}let T={};function E(t,r){let a=r&&r[0];if(P+=t,a==null)return p(),0;if(T.type===`begin`&&r.type===`end`&&T.index===r.index&&a===``){if(P+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=T.rule,t}return 1}if(T=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(A.scope||`<unnamed>`)+`"`);throw e.mode=A,e}if(r.type===`end`){let e=C(r);if(e!==Ee)return e}if(r.type===`illegal`&&a===``)return P+=`
69
+ `,1;if(ee>1e5&&ee>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return P+=a,a.length}let D=N(e);if(!D)throw H(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let O=ye(D),k=``,A=a||O,j={},M=new l.__emitter(l);w();let P=``,F=0,I=0,ee=0,L=!1;try{if(D.__emitTokens)D.__emitTokens(n,M);else{for(A.matcher.considerAll();;){ee++,L?L=!1:A.matcher.considerAll(),A.matcher.lastIndex=I;let e=A.matcher.exec(n);if(!e)break;let t=E(n.substring(I,e.index),e);I=e.index+t}E(n.substring(I))}return M.finalize(),k=M.toHTML(),{language:e,value:k,relevance:F,illegal:!1,_emitter:M,_top:A}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:we(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:I,context:n.slice(I-100,I+100),mode:t.mode,resultSoFar:k},_emitter:M};if(o)return{language:e,value:we(n),illegal:!1,relevance:0,errorRaised:t,_emitter:M,_top:A};throw t}}function b(e){let t={value:we(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function S(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(N).filter(F).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;if(N(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function C(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function w(e){let t=null,n=d(e);if(u(n))return;if(R(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),l.throwUnescapedHTML))throw new Ce(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):S(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,C(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),R(`after:highlightElement`,{el:e,result:i,text:r})}function T(e){l=Te(l,e)}let E=()=>{k(),U(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function D(){k(),U(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let O=!1;function k(){function e(){k()}document.readyState===`loading`?(O||window.addEventListener(`DOMContentLoaded`,e,!1),O=!0):document.querySelectorAll(l.cssSelector).forEach(w)}function A(n,r){let i=null;try{i=r(e)}catch(e){if(H(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)H(e);else throw e;i=c}i.name||(i.name=n),t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&P(i.aliases,{languageName:n})}function j(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function M(){return Object.keys(t)}function N(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function P(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function F(e){let t=N(e);return t&&!t.disableAutodetect}function I(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function ee(e){I(e),a.push(e)}function L(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function R(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function te(e){return U(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),U(`10.7.0`,`Please use highlightElement now.`),w(e)}Object.assign(e,{highlight:p,highlightAuto:S,highlightAll:k,highlightElement:w,highlightBlock:te,configure:T,initHighlighting:E,initHighlightingOnLoad:D,registerLanguage:A,unregisterLanguage:j,listLanguages:M,getLanguage:N,registerAliases:P,autoDetection:F,inherit:Te,addPlugin:ee,removePlugin:L}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Se,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in z)typeof z[e]==`object`&&n(z[e]);return Object.assign(e,z),e},ke=Oe({});ke.newInstance=()=>Oe({}),t.exports=ke,ke.HighlightJS=ke,ke.default=ke})),zs=t(((e,t)=>{function n(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:[`javascript`,`handlebars`,`xml`]}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}t.exports=n})),Bs=t(((e,t)=>{function n(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}t.exports=n})),Vs=t(((e,t)=>{function n(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`[a-zA-Z_]\\w*::`,i=`(decltype\\(auto\\)|`+t.optional(r)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,a={className:`type`,variants:[{begin:`\\b[a-z\\d_]*_t\\b`},{match:/\batomic_[a-z]{3,6}\b/}]},o={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:`number`,variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},l={className:`title`,begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+`\\s*\\(`,d={keyword:`asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma`.split(`.`),type:`float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary`.split(`.`),literal:`true false NULL`,built_in:`std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr`},f=[c,a,n,e.C_BLOCK_COMMENT_MODE,s,o],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:d,contains:f.concat([{begin:/\(/,end:/\)/,keywords:d,contains:f.concat([`self`]),relevance:0}]),relevance:0},m={begin:`(`+i+`[\\*&\\s]+)+`+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:`decltype\\(auto\\)`,keywords:d,relevance:0},{begin:u,returnBegin:!0,contains:[e.inherit(l,{className:`title.function`})],relevance:0},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,s,a,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,o,s,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:`C`,aliases:[`h`],keywords:d,disableAutodetect:!0,illegal:`</`,contains:[].concat(p,m,f,[c,{begin:e.IDENT_RE+`::`,keywords:d},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:o,keywords:d}}}t.exports=n})),Hs=t(((e,t)=>{function n(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`[a-zA-Z_]\\w*::`,i=`(?!struct)(decltype\\(auto\\)|`+t.optional(r)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,a={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},o={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:`number`,variants:[{begin:`[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)`},{begin:`[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)`}],relevance:0},c={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},l={className:`title`,begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+`\\s*\\(`,d=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq`.split(`.`),f=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],p=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),m=`abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf`.split(`.`),h={type:f,keyword:d,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:p},g={className:`function.dispatch`,relevance:0,keywords:{_hint:m},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},_=[g,c,a,n,e.C_BLOCK_COMMENT_MODE,s,o],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:h,contains:_.concat([{begin:/\(/,end:/\)/,keywords:h,contains:_.concat([`self`]),relevance:0}]),relevance:0},y={className:`function`,begin:`(`+i+`[\\*&\\s]+)+`+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:`decltype\\(auto\\)`,keywords:h,relevance:0},{begin:u,returnBegin:!0,contains:[l],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[o,s]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,s,a,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,o,s,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:h,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(v,y,g,_,[c,{begin:`\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)`,end:`>`,keywords:h,contains:[`self`,a]},{begin:e.IDENT_RE+`::`,keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}t.exports=n})),Us=t(((e,t)=>{function n(e){let t=[`bool`,`byte`,`char`,`decimal`,`delegate`,`double`,`dynamic`,`enum`,`float`,`int`,`long`,`nint`,`nuint`,`object`,`sbyte`,`short`,`string`,`ulong`,`uint`,`ushort`],n=[`public`,`private`,`protected`,`static`,`internal`,`protected`,`abstract`,`async`,`extern`,`override`,`unsafe`,`virtual`,`new`,`sealed`,`partial`],r={keyword:`abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while`.split(`.`).concat(`add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield`.split(`.`)),built_in:t,literal:[`default`,`false`,`null`,`true`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a={className:`number`,variants:[{begin:`\\b(0b[01']+)`},{begin:`(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)`},{begin:`(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)`}],relevance:0},o={className:`string`,begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:`string`,begin:`@"`,end:`"`,contains:[{begin:`""`}]},c=e.inherit(s,{illegal:/\n/}),l={className:`subst`,begin:/\{/,end:/\}/,keywords:r},u=e.inherit(l,{illegal:/\n/}),d={className:`string`,begin:/\$"/,end:`"`,illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:`string`,begin:/\$@"/,end:`"`,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},l]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]});l.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},g=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,_={begin:`@`+e.IDENT_RE,relevance:0};return{name:`C#`,aliases:[`cs`,`c#`],keywords:r,illegal:/::/,contains:[e.COMMENT(`///`,`$`,{returnBegin:!0,contains:[{className:`doctag`,variants:[{begin:`///`,relevance:0},{begin:`<!--|-->`},{begin:`</?`,end:`>`}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`meta`,begin:`#`,end:`$`,keywords:{keyword:`if else elif endif define undef warning error line region endregion pragma checksum`}},m,a,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`meta`,begin:`^\\s*\\[(?=[\\w])`,excludeBegin:!0,end:`\\]`,excludeEnd:!0,contains:[{className:`string`,begin:/"/,end:/"/}]},{beginKeywords:`new return throw await else`,relevance:0},{className:`function`,begin:`(`+g+`\\s+)+`+e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(` `),relevance:0},{begin:e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}t.exports=n})),Ws=t(((e,t)=>{var n=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),r=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),i=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),a=[...r,...i],o=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),s=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),c=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),l=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function u(e){let t=e.regex,r=n(e),i={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},u=/@-?\w[\w]*(-\w+)*/,d=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[r.BLOCK_COMMENT,i,r.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+s.join(`|`)+`)`},{begin:`:(:)?(`+c.join(`|`)+`)`}]},r.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+l.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...d,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...d,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:u},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:o.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...d,r.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+a.join(`|`)+`)\\b`}]}}t.exports=u})),Gs=t(((e,t)=>{function n(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={begin:`^[-\\*]{3,}`,end:`$`},i={className:`code`,variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:`(~{3,})[^~](.|\\n)*?\\1~*[ ]*`},{begin:"```",end:"```+[ ]*$"},{begin:`~~~`,end:`~~~+[ ]*$`},{begin:"`.+?`"},{begin:`(?=^( {4}|\\t))`,contains:[{begin:`^( {4}|\\t)`,end:`(\\n)$`}],relevance:0}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\d+\\.))(?=\\s+)`,end:`\\s+`,excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:`symbol`,begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:`link`,begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:`string`,relevance:0,begin:`\\[`,end:`\\]`,excludeBegin:!0,returnEnd:!0},{className:`link`,relevance:0,begin:`\\]\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0},{className:`symbol`,relevance:0,begin:`\\]\\[`,end:`\\]`,excludeBegin:!0,excludeEnd:!0}]},c={className:`strong`,contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:`emphasis`,contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{name:`Markdown`,aliases:[`md`,`mkdown`,`mkd`],contains:[{className:`section`,variants:[{begin:`^#{1,6}`,end:`$`,contains:f},{begin:`(?=^.+?\\n[=-]{2,}$)`,contains:[{begin:`^[=-]*$`},{begin:`^`,end:`\\n`,contains:f}]}]},n,a,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,r,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}t.exports=n})),Ks=t(((e,t)=>{function n(e){let t=e.regex;return{name:`Diff`,aliases:[`patch`],contains:[{className:`meta`,relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:`comment`,variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:`addition`,begin:/^\+/,end:/$/},{className:`deletion`,begin:/^-/,end:/$/},{className:`addition`,begin:/^!/,end:/$/}]}}t.exports=n})),qs=t(((e,t)=>{function n(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":[`__FILE__`,`__LINE__`,`__ENCODING__`],"variable.language":[`self`,`super`],keyword:`alias.and.begin.BEGIN.break.case.class.defined.do.else.elsif.end.END.ensure.for.if.in.module.next.not.or.redo.require.rescue.retry.return.then.undef.unless.until.when.while.yield.include.extend.prepend.public.private.protected.raise.throw`.split(`.`),built_in:[`proc`,`lambda`,`attr_accessor`,`attr_reader`,`attr_writer`,`define_method`,`private_constant`,`module_function`],literal:[`true`,`false`,`nil`]},o={className:`doctag`,begin:`@[A-Za-z]+`},s={begin:`#<`,end:`>`},c=[e.COMMENT(`#`,`$`,{contains:[o]}),e.COMMENT(`^=begin`,`^=end`,{contains:[o],relevance:10}),e.COMMENT(`^__END__`,e.MATCH_NOTHING_RE)],l={className:`subst`,begin:/#\{/,end:/\}/,keywords:a},u={className:`string`,contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,l]})]}]},d=`[0-9](_?[0-9])*`,f={className:`number`,relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:`\\b0[dD][0-9](_?[0-9])*r?i?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*r?i?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*r?i?\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b`},{begin:`\\b0(_?[0-7])+r?i?\\b`}]},p={variants:[{match:/\(\)/},{className:`params`,begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},m=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:`title.class`,4:`title.class.inherited`},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:`title.class`},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:`title.class`}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`},{relevance:0,match:r,scope:`title.class`},{match:[/def/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[p]},{begin:e.IDENT_RE+`::`},{className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`(!|\\?)?:`,relevance:0},{className:`symbol`,begin:`:(?!\\s)`,contains:[u,{begin:n}],relevance:0},f,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`},{className:`params`,begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:`(`+e.RE_STARTERS_RE+`|unless)\\s*`,keywords:`unless`,contains:[{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,l],illegal:/\n/,variants:[{begin:`/`,end:`/[a-z]*`},{begin:/%r\{/,end:/\}[a-z]*/},{begin:`%r\\(`,end:`\\)[a-z]*`},{begin:`%r!`,end:`![a-z]*`},{begin:`%r\\[`,end:`\\][a-z]*`}]}].concat(s,c),relevance:0}].concat(s,c);l.contains=m,p.contains=m;let h=[{begin:/^\s*=>/,starts:{end:`$`,contains:m}},{className:`meta.prompt`,begin:`^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])`,starts:{end:`$`,keywords:a,contains:m}}];return c.unshift(s),{name:`Ruby`,aliases:[`rb`,`gemspec`,`podspec`,`thor`,`irb`],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:`ruby`})].concat(h,c,m)}}t.exports=n})),Js=t(((e,t)=>{function n(e){let t={keyword:[`break`,`case`,`chan`,`const`,`continue`,`default`,`defer`,`else`,`fallthrough`,`for`,`func`,`go`,`goto`,`if`,`import`,`interface`,`map`,`package`,`range`,`return`,`select`,`struct`,`switch`,`type`,`var`],type:[`bool`,`byte`,`complex64`,`complex128`,`error`,`float32`,`float64`,`int8`,`int16`,`int32`,`int64`,`string`,`uint8`,`uint16`,`uint32`,`uint64`,`int`,`uint`,`uintptr`,`rune`],literal:[`true`,`false`,`iota`,`nil`],built_in:[`append`,`cap`,`close`,`complex`,`copy`,`imag`,`len`,`make`,`new`,`panic`,`print`,`println`,`real`,`recover`,`delete`]};return{name:`Go`,aliases:[`golang`],keywords:t,illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`string`,variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:`number`,variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:`function`,beginKeywords:`func`,end:`\\s*(\\{|$)`,excludeEnd:!0,contains:[e.TITLE_MODE,{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}t.exports=n})),Ys=t(((e,t)=>{function n(e){let t=e.regex;return{name:`GraphQL`,aliases:[`gql`],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:[`query`,`mutation`,`subscription`,`type`,`input`,`schema`,`directive`,`interface`,`union`,`scalar`,`fragment`,`enum`,`on`],literal:[`true`,`false`,`null`]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:`punctuation`,match:/[.]{3}/,relevance:0},{scope:`punctuation`,begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:`variable`,begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:`meta`,match:/@\w+/,excludeEnd:!0},{scope:`symbol`,begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}t.exports=n})),Xs=t(((e,t)=>{function n(e){let t=e.regex,n={className:`number`,relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:`variable`,variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:`literal`,begin:/\bon|off|true|false|yes|no\b/},o={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:`'''`,end:`'''`,relevance:10},{begin:`"""`,end:`"""`,relevance:10},{begin:`"`,end:`"`},{begin:`'`,end:`'`}]},s={begin:/\[/,end:/\]/,contains:[r,a,i,o,n,`self`],relevance:0},c=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:`TOML, also INI`,aliases:[`toml`],case_insensitive:!0,illegal:/\S/,contains:[r,{className:`section`,begin:/\[+/,end:/\]+/},{begin:t.concat(c,`(\\s*\\.\\s*`,c,`)*`,t.lookahead(/\s*=\s*[^#\s]/)),className:`attr`,starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}t.exports=n})),Zs=t(((e,t)=>{var n=`[0-9](_*[0-9])*`,r=`\\.(${n})`,i=`[0-9a-fA-F](_*[0-9a-fA-F])*`,a={className:`number`,variants:[{begin:`(\\b(${n})((${r})|\\.)?|(${r}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${r})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${r})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${i})\\.?|(${i})?\\.(${i}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${i})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function o(e,t,n){return n===-1?``:e.replace(t,r=>o(e,t,n-1))}function s(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=n+o(`(?:<`+n+`~~~(?:\\s*,\\s*`+n+`~~~)*>)?`,/~~~/g,2),i={keyword:`synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when`.split(`.`),literal:[`false`,`true`,`null`],type:[`char`,`boolean`,`long`,`float`,`int`,`byte`,`short`,`double`],built_in:[`super`,`this`]},s={className:`meta`,begin:`@`+n,contains:[{begin:/\(/,end:/\)/,contains:[`self`]}]},c={className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:`Java`,aliases:[`jsp`],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:`doctag`,begin:`@[A-Za-z]+`}]}),{begin:/import java\.[a-z]+\./,keywords:`import`,relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:`string`,contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:`keyword`,3:`title.class`}},{match:/non-sealed/,scope:`keyword`},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:`type`,3:`variable`,5:`operator`}},{begin:[/record/,/\s+/,n],className:{1:`keyword`,3:`title.class`},contains:[c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`new throw return else`,relevance:0},{begin:[`(?:`+r+`\\s+)`,e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:`title.function`},keywords:i,contains:[{className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a,s]}}t.exports=s})),Qs=t(((e,t)=>{var n=`[A-Za-z$_][0-9A-Za-z$_]*`,r=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),i=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],a=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),o=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],s=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],c=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],l=[].concat(s,a,o);function u(e){let t=e.regex,u=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},d=n,f={begin:`<>`,end:`</>`},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let n=e[0].length+e.index,r=e.input[n];if(r===`<`||r===`,`){t.ignoreMatch();return}r===`>`&&(u(e,{after:n})||t.ignoreMatch());let i,a=e.input.substring(n);((i=a.match(/^\s*=/))||(i=a.match(/^\s+extends\s+/))&&i.index===0)&&t.ignoreMatch()}},h={$pattern:n,keyword:r,literal:i,built_in:l,"variable.language":c},g=`[0-9](_?[0-9])*`,_=`\\.(${g})`,v=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,y={className:`number`,variants:[{begin:`(\\b(${v})((${_})|\\.)?|(${_}))[eE][+-]?(${g})\\b`},{begin:`\\b(${v})\\b((${_})\\b|\\.)?|(${_})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},b={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:h,contains:[]},x={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:`xml`}},S={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:`css`}},C={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:`graphql`}},w={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,b]},T={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:d+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},E=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,x,S,C,w,{match:/\$\d+/},y];b.contains=E.concat({begin:/\{/,end:/\}/,keywords:h,contains:[`self`].concat(E)});let D=[].concat(T,b.contains),O=D.concat([{begin:/(\s*)\(/,end:/\)/,keywords:h,contains:[`self`].concat(D)}]),k={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:O},A={variants:[{match:[/class/,/\s+/,d,/\s+/,/extends/,/\s+/,t.concat(d,`(`,t.concat(/\./,d),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,d],scope:{1:`keyword`,3:`title.class`}}]},j={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...a,...o]}},M={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},N={variants:[{match:[/function/,/\s+/,d,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[k],illegal:/%/},P={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function F(e){return t.concat(`(?!`,e.join(`|`),`)`)}let I={match:t.concat(/\b/,F([...s,`super`,`import`].map(e=>`${e}\\s*\\(`)),d,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},ee={begin:t.concat(/\./,t.lookahead(t.concat(d,/(?![0-9A-Za-z$_(])/))),end:d,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},L={match:[/get|set/,/\s+/,d,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},k]},R=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,z={match:[/const|var|let/,/\s+/,d,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(R)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[k]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:h,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:j},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),M,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,x,S,C,w,T,{match:/\$\d+/},y,j,{scope:`attr`,match:d+t.lookahead(`:`),relevance:0},z,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[T,e.REGEXP_MODE,{className:`function`,begin:R,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f.begin,end:f.end},{match:p},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:`xml`,contains:[{begin:m.begin,end:m.end,skip:!0,contains:[`self`]}]}]},N,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[k,e.inherit(e.TITLE_MODE,{begin:d,className:`title.function`})]},{match:/\.\.\./,relevance:0},ee,{match:`\\$`+d,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[k]},I,P,A,L,{match:/\$[(.]/}]}}t.exports=u})),$s=t(((e,t)=>{function n(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}t.exports=n})),ec=t(((e,t)=>{var n=`[0-9](_*[0-9])*`,r=`\\.(${n})`,i=`[0-9a-fA-F](_*[0-9a-fA-F])*`,a={className:`number`,variants:[{begin:`(\\b(${n})((${r})|\\.)?|(${r}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${r})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${r})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${i})\\.?|(${i})?\\.(${i}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${i})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function o(e){let t={keyword:`abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual`,built_in:`Byte Short Char Int Long Boolean Float Double Void Unit Nothing`,literal:`true false null`},n={className:`keyword`,begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:`symbol`,begin:/@\w+/}]}},r={className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`@`},i={className:`subst`,begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:`variable`,begin:`\\$`+e.UNDERSCORE_IDENT_RE},s={className:`string`,variants:[{begin:`"""`,end:`"""(?=[^"])`,contains:[o,i]},{begin:`'`,end:`'`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,i]}]};i.contains.push(s);let c={className:`meta`,begin:`@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*`+e.UNDERSCORE_IDENT_RE+`)?`},l={className:`meta`,begin:`@`+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(s,{className:`string`}),`self`]}]},u=a,d=e.COMMENT(`/\\*`,`\\*/`,{contains:[e.C_BLOCK_COMMENT_MODE]}),f={variants:[{className:`type`,begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=f;return p.variants[1].contains=[f],f.variants[1].contains=[p],{name:`Kotlin`,aliases:[`kt`,`kts`],keywords:t,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`}]}),e.C_LINE_COMMENT_MODE,d,n,r,c,l,{className:`function`,beginKeywords:`fun`,end:`[(]|$`,returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+`\\s*\\(`,returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:`type`,begin:/</,end:/>/,keywords:`reified`,relevance:0},{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[f,e.C_LINE_COMMENT_MODE,d],relevance:0},e.C_LINE_COMMENT_MODE,d,c,l,s,e.C_NUMBER_MODE]},d]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:`title.class`},keywords:`class interface trait`,end:/[:\{(]|$/,excludeEnd:!0,illegal:`extends implements`,contains:[{beginKeywords:`public protected internal private constructor`},e.UNDERSCORE_TITLE_MODE,{className:`type`,begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},c,l]},s,{className:`meta`,begin:`^#!/usr/bin/env`,end:`$`,illegal:`
70
+ `},u]}}t.exports=o})),tc=t(((e,t)=>{var n=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),r=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),i=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),a=[...r,...i],o=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),s=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),c=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),l=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse(),u=s.concat(c).sort().reverse();function d(e){let t=n(e),r=u,i=`([\\w-]+|@\\{[\\w-]+\\})`,d=[],f=[],p=function(e){return{className:`string`,begin:`~?`+e+`.*?`+e}},m=function(e,t,n){return{className:e,begin:t,relevance:n}},h={$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:o.join(` `)},g={begin:`\\(`,end:`\\)`,contains:f,keywords:h,relevance:0};f.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p(`'`),p(`"`),t.CSS_NUMBER_MODE,{begin:`(url|data-uri)\\(`,starts:{className:`string`,end:`[\\)\\n]`,excludeEnd:!0}},t.HEXCOLOR,g,m(`variable`,`@@?[\\w-]+`,10),m(`variable`,`@\\{[\\w-]+\\}`),m(`built_in`,"~?`[^`]*?`"),{className:`attribute`,begin:`[\\w-]+\\s*:`,end:`:`,returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:`and not`},t.FUNCTION_DISPATCH);let _=f.concat({begin:/\{/,end:/\}/,contains:d}),v={beginKeywords:`when`,endsWithParent:!0,contains:[{beginKeywords:`and not`}].concat(f)},y={begin:i+`\\s*:`,returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+l.join(`|`)+`)\\b`,end:/(?=:)/,starts:{endsWithParent:!0,illegal:`[<=$]`,relevance:0,contains:f}}]},b={className:`keyword`,begin:`@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b`,starts:{end:`[;{}]`,keywords:h,returnEnd:!0,contains:f,relevance:0}},x={className:`variable`,variants:[{begin:`@[\\w-]+\\s*:`,relevance:15},{begin:`@[\\w-]+`}],starts:{end:`[;}]`,returnEnd:!0,contains:_}},S={variants:[{begin:`[\\.#:&\\[>]`,end:`[;{}]`},{begin:i,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,v,m(`keyword`,`all\\b`),m(`variable`,`@\\{[\\w-]+\\}`),{begin:`\\b(`+a.join(`|`)+`)\\b`,className:`selector-tag`},t.CSS_NUMBER_MODE,m(`selector-tag`,i,0),m(`selector-id`,`#`+i),m(`selector-class`,`\\.`+i,0),m(`selector-tag`,`&`,0),t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,begin:`:(`+s.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+c.join(`|`)+`)`},{begin:/\(/,end:/\)/,relevance:0,contains:_},{begin:`!important`},t.FUNCTION_DISPATCH]},C={begin:`[\\w-]+:(:)?(${r.join(`|`)})`,returnBegin:!0,contains:[S]};return d.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,x,C,y,S,v,t.FUNCTION_DISPATCH),{name:`Less`,case_insensitive:!0,illegal:`[=>'/<($"]`,contains:d}}t.exports=d})),nc=t(((e,t)=>{function n(e){let t=`\\[=*\\[`,n=`\\]=*\\]`,r={begin:t,end:n,contains:[`self`]},i=[e.COMMENT(`--(?!\\[=*\\[)`,`$`),e.COMMENT(`--\\[=*\\[`,n,{contains:[r],relevance:10})];return{name:`Lua`,aliases:[`pluto`],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:`true false nil`,keyword:`and break do else elseif end for goto if in local not or repeat return then until while`,built_in:`_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove`},contains:i.concat([{className:`function`,beginKeywords:`function`,end:`\\)`,contains:[e.inherit(e.TITLE_MODE,{begin:`([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*`}),{className:`params`,begin:`\\(`,endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:`string`,begin:t,end:n,contains:[r],relevance:5}])}}t.exports=n})),rc=t(((e,t)=>{function n(e){let t={className:`variable`,variants:[{begin:`\\$\\(`+e.UNDERSCORE_IDENT_RE+`\\)`,contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:`variable`,begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:`subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value`},contains:[t,n]},i={begin:`^`+e.UNDERSCORE_IDENT_RE+`\\s*(?=[:+?]?=)`},a={className:`meta`,begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:`.PHONY`}},o={className:`section`,begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:`Makefile`,aliases:[`mk`,`mak`,`make`],keywords:{$pattern:/[\w-]+/,keyword:`define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath`},contains:[e.HASH_COMMENT_MODE,t,n,r,i,a,o]}}t.exports=n})),ic=t(((e,t)=>{function n(e){let t=e.regex,n=`abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0`.split(`.`),r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(` `)},a={className:`subst`,begin:`[$@]\\{`,end:`\\}`,keywords:i},o={begin:/->\{/,end:/\}/},s={scope:`attr`,match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:`variable`,variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,`(?![A-Za-z])(?![@$%])`)},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},l={className:`number`,variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,a,c],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,n,i=`\\1`)=>{let a=i===`\\1`?i:t.concat(i,n);return t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,i,r),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:`string`,contains:u,variants:[{begin:`q[qwxr]?\\s*\\(`,end:`\\)`,relevance:5},{begin:`q[qwxr]?\\s*\\[`,end:`\\]`,relevance:5},{begin:`q[qwxr]?\\s*\\{`,end:`\\}`,relevance:5},{begin:`q[qwxr]?\\s*\\|`,end:`\\|`,relevance:5},{begin:`q[qwxr]?\\s*<`,end:`>`,relevance:5},{begin:`qw\\s+q`,end:`q`,relevance:5},{begin:`'`,end:`'`,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:`-?\\w+\\s*=>`,relevance:0}]},l,{begin:`(\\/\\/|`+e.RE_STARTERS_RE+`|\\b(split|return|print|reverse|grep)\\b)\\s*`,keywords:`split return print reverse grep`,relevance:0,contains:[e.HASH_COMMENT_MODE,{className:`regexp`,variants:[{begin:f(`s|tr|y`,t.either(...d,{capture:!0}))},{begin:f(`s|tr|y`,`\\(`,`\\)`)},{begin:f(`s|tr|y`,`\\[`,`\\]`)},{begin:f(`s|tr|y`,`\\{`,`\\}`)}],relevance:2},{className:`regexp`,variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p(`(?:m|qr)?`,/\//,/\//)},{begin:p(`m|qr`,t.either(...d,{capture:!0}),/\1/)},{begin:p(`m|qr`,/\(/,/\)/)},{begin:p(`m|qr`,/\[/,/\]/)},{begin:p(`m|qr`,/\{/,/\}/)}]}]},{className:`function`,beginKeywords:`sub method`,end:`(\\s*\\(.*?\\))?[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:`class`,beginKeywords:`class`,end:`[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,l]},{begin:`-\\w\\b`,relevance:0},{begin:`^__DATA__$`,end:`^__END__$`,subLanguage:`mojolicious`,contains:[{begin:`^@@.*`,end:`$`,className:`comment`}]}];return a.contains=m,o.contains=m,{name:`Perl`,aliases:[`pl`,`pm`],keywords:i,contains:m}}t.exports=n})),ac=t(((e,t)=>{function n(e){let t={className:`built_in`,begin:`\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+`},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":[`this`,`super`],$pattern:n,keyword:`while.export.sizeof.typedef.const.struct.for.union.volatile.static.mutable.if.do.return.goto.enum.else.break.extern.asm.case.default.register.explicit.typename.switch.continue.inline.readonly.assign.readwrite.self.@synchronized.id.typeof.nonatomic.IBOutlet.IBAction.strong.weak.copy.in.out.inout.bycopy.byref.oneway.__strong.__weak.__block.__autoreleasing.@private.@protected.@public.@try.@property.@end.@throw.@catch.@finally.@autoreleasepool.@synthesize.@dynamic.@selector.@optional.@required.@encode.@package.@import.@defs.@compatibility_alias.__bridge.__bridge_transfer.__bridge_retained.__bridge_retain.__covariant.__contravariant.__kindof._Nonnull._Nullable._Null_unspecified.__FUNCTION__.__PRETTY_FUNCTION__.__attribute__.getter.setter.retain.unsafe_unretained.nonnull.nullable.null_unspecified.null_resettable.class.instancetype.NS_DESIGNATED_INITIALIZER.NS_UNAVAILABLE.NS_REQUIRES_SUPER.NS_RETURNS_INNER_POINTER.NS_INLINE.NS_AVAILABLE.NS_DEPRECATED.NS_ENUM.NS_OPTIONS.NS_SWIFT_UNAVAILABLE.NS_ASSUME_NONNULL_BEGIN.NS_ASSUME_NONNULL_END.NS_REFINED_FOR_SWIFT.NS_SWIFT_NAME.NS_SWIFT_NOTHROW.NS_DURING.NS_HANDLER.NS_ENDHANDLER.NS_VALUERETURN.NS_VOIDRETURN`.split(`.`),literal:[`false`,`true`,`FALSE`,`TRUE`,`nil`,`YES`,`NO`,`NULL`],built_in:[`dispatch_once_t`,`dispatch_queue_t`,`dispatch_sync`,`dispatch_async`,`dispatch_once`],type:[`int`,`float`,`char`,`unsigned`,`signed`,`short`,`long`,`double`,`wchar_t`,`unichar`,`void`,`bool`,`BOOL`,`id|0`,`_Bool`]},i={$pattern:n,keyword:[`@interface`,`@class`,`@protocol`,`@implementation`]};return{name:`Objective-C`,aliases:[`mm`,`objc`,`obj-c`,`obj-c++`,`objective-c++`],keywords:r,illegal:`</`,contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:`string`,variants:[{begin:`@"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]}]},{className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),{className:`string`,begin:/<.*?>/,end:/$/,illegal:`\\n`},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`class`,begin:`(`+i.keyword.join(`|`)+`)\\b`,end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:`\\.`+e.UNDERSCORE_IDENT_RE,relevance:0}]}}t.exports=n})),oc=t(((e,t)=>{function n(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:`variable`,match:`\\$+`+r},s={scope:`meta`,variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:`subst`,variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
71
+ ]`,m={scope:`string`,variants:[u,l,d,f]},h={scope:`number`,variants:[{begin:`\\b0[bB][01]+(?:_[01]+)*\\b`},{begin:`\\b0[oO][0-7]+(?:_[0-7]+)*\\b`},{begin:`\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b`},{begin:`(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?`}],relevance:0},g=[`false`,`null`,`true`],_=`__CLASS__.__DIR__.__FILE__.__FUNCTION__.__COMPILER_HALT_OFFSET__.__LINE__.__METHOD__.__NAMESPACE__.__TRAIT__.die.echo.exit.include.include_once.print.require.require_once.array.abstract.and.as.binary.bool.boolean.break.callable.case.catch.class.clone.const.continue.declare.default.do.double.else.elseif.empty.enddeclare.endfor.endforeach.endif.endswitch.endwhile.enum.eval.extends.final.finally.float.for.foreach.from.global.goto.if.implements.instanceof.insteadof.int.integer.interface.isset.iterable.list.match|0.mixed.new.never.object.or.private.protected.public.readonly.real.return.string.switch.throw.trait.try.unset.use.var.void.while.xor.yield`.split(`.`),v=`Error|0.AppendIterator.ArgumentCountError.ArithmeticError.ArrayIterator.ArrayObject.AssertionError.BadFunctionCallException.BadMethodCallException.CachingIterator.CallbackFilterIterator.CompileError.Countable.DirectoryIterator.DivisionByZeroError.DomainException.EmptyIterator.ErrorException.Exception.FilesystemIterator.FilterIterator.GlobIterator.InfiniteIterator.InvalidArgumentException.IteratorIterator.LengthException.LimitIterator.LogicException.MultipleIterator.NoRewindIterator.OutOfBoundsException.OutOfRangeException.OuterIterator.OverflowException.ParentIterator.ParseError.RangeException.RecursiveArrayIterator.RecursiveCachingIterator.RecursiveCallbackFilterIterator.RecursiveDirectoryIterator.RecursiveFilterIterator.RecursiveIterator.RecursiveIteratorIterator.RecursiveRegexIterator.RecursiveTreeIterator.RegexIterator.RuntimeException.SeekableIterator.SplDoublyLinkedList.SplFileInfo.SplFileObject.SplFixedArray.SplHeap.SplMaxHeap.SplMinHeap.SplObjectStorage.SplObserver.SplPriorityQueue.SplQueue.SplStack.SplSubject.SplTempFileObject.TypeError.UnderflowException.UnexpectedValueException.UnhandledMatchError.ArrayAccess.BackedEnum.Closure.Fiber.Generator.Iterator.IteratorAggregate.Serializable.Stringable.Throwable.Traversable.UnitEnum.WeakReference.WeakMap.Directory.__PHP_Incomplete_Class.parent.php_user_filter.self.static.stdClass`.split(`.`),y={keyword:_,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,``)),x={variants:[{match:[/new/,t.concat(p,`+`),t.concat(`(?!`,b(v).join(`\\b|`),`\\b)`),i],scope:{1:`keyword`,4:`title.class`}}]},S=t.concat(r,`\\b(?!\\()`),C={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{2:`variable.constant`}},{match:[/::/,/class/],scope:{2:`variable.language`}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{1:`title.class`,3:`variable.constant`}},{match:[i,t.concat(`::`,t.lookahead(/(?!class\b)/))],scope:{1:`title.class`}},{match:[i,/::/,/class/],scope:{1:`title.class`,3:`variable.language`}}]},w={scope:`attr`,match:t.concat(r,t.lookahead(`:`),t.lookahead(/(?!::)/))},T={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[w,o,C,e.C_BLOCK_COMMENT_MODE,m,h,x]},E={relevance:0,match:[/\b/,t.concat(`(?!fn\\b|function\\b|`,b(_).join(`\\b|`),`|`,b(v).join(`\\b|`),`\\b)`),r,t.concat(p,`*`),t.lookahead(/(?=\()/)],scope:{3:`title.function.invoke`},contains:[T]};T.contains.push(E);let D=[w,C,e.C_BLOCK_COMMENT_MODE,m,h,x],O={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:`meta`,end:/]/,endScope:`meta`,keywords:{literal:g,keyword:[`new`,`array`]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:[`new`,`array`]},contains:[`self`,...D]},...D,{scope:`meta`,variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[O,e.HASH_COMMENT_MODE,e.COMMENT(`//`,`$`),e.COMMENT(`/\\*`,`\\*/`,{contains:[{scope:`doctag`,match:`@[A-Za-z]+`}]}),{match:/__halt_compiler\(\);/,keywords:`__halt_compiler`,starts:{scope:`comment`,end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:`meta`,endsParent:!0}]}},s,{scope:`variable.language`,match:/\$this\b/},o,E,C,{match:[/const/,/\s/,r],scope:{1:`keyword`,3:`variable.constant`}},x,{scope:`function`,relevance:0,beginKeywords:`fn function`,end:/[;{]/,excludeEnd:!0,illegal:`[$%\\[]`,contains:[{beginKeywords:`use`},e.UNDERSCORE_TITLE_MODE,{begin:`=>`,endsParent:!0},{scope:`params`,begin:`\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0,keywords:y,contains:[`self`,O,o,C,e.C_BLOCK_COMMENT_MODE,m,h]}]},{scope:`class`,variants:[{beginKeywords:`enum`,illegal:/[($"]/},{beginKeywords:`class interface trait`,illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:`namespace`,relevance:0,end:`;`,illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:`title.class`})]},{beginKeywords:`use`,relevance:0,end:`;`,contains:[{match:/\b(as|const|function)\b/,scope:`keyword`},e.UNDERSCORE_TITLE_MODE]},m,h]}}t.exports=n})),sc=t(((e,t)=>{function n(e){return{name:`PHP template`,subLanguage:`xml`,contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:`php`,contains:[{begin:`/\\*`,end:`\\*/`,skip:!0},{begin:`b"`,end:`"`,skip:!0},{begin:`b'`,end:`'`,skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}t.exports=n})),cc=t(((e,t)=>{function n(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}t.exports=n})),lc=t(((e,t)=>{function n(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=`and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield`.split(`.`),i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:`__import__.abs.all.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip`.split(`.`),literal:[`__debug__`,`Ellipsis`,`False`,`None`,`NotImplemented`,`True`],type:[`Any`,`Callable`,`Coroutine`,`Dict`,`List`,`Literal`,`Generic`,`Optional`,`Sequence`,`Set`,`Tuple`,`Type`,`Union`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:`params`,variants:[{className:``,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:`keyword`,3:`title.class`,6:`title.class.inherited`}},{className:`meta`,begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,c]}]}}t.exports=n})),uc=t(((e,t)=>{function n(e){return{aliases:[`pycon`],contains:[{className:`meta.prompt`,starts:{end:/ |$/,starts:{end:`$`,subLanguage:`python`}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}t.exports=n})),dc=t(((e,t)=>{function n(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:`R`,keywords:{$pattern:n,keyword:`function if in break next repeat else for while`,literal:`NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10`,built_in:`LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm`},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:`doctag`,match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:`doctag`,begin:`@param`,end:/$/,contains:[{scope:`variable`,variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:`doctag`,match:/@[a-zA-Z]+/},{scope:`keyword`,match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:`"`,end:`"`,relevance:0},{begin:`'`,end:`'`,relevance:0}]},{relevance:0,variants:[{scope:{1:`operator`,2:`number`},match:[i,r]},{scope:{1:`operator`,2:`number`},match:[/%[^%]*%/,r]},{scope:{1:`punctuation`,2:`number`},match:[a,r]},{scope:{2:`number`},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:`operator`},match:[n,/\s+/,/<-/,/\s+/]},{scope:`operator`,relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:`punctuation`,relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}t.exports=n})),fc=t(((e,t)=>{function n(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:`title.function.invoke`,relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o=`([ui](8|16|32|64|128|size)|f(32|64))?`,s=`abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield`.split(`.`),c=[`true`,`false`,`Some`,`None`,`Ok`,`Err`],l=`drop .Copy.Send.Sized.Sync.Drop.Fn.FnMut.FnOnce.ToOwned.Clone.Debug.PartialEq.PartialOrd.Eq.Ord.AsRef.AsMut.Into.From.Default.Iterator.Extend.IntoIterator.DoubleEndedIterator.ExactSizeIterator.SliceConcatExt.ToString.assert!.assert_eq!.bitflags!.bytes!.cfg!.col!.concat!.concat_idents!.debug_assert!.debug_assert_eq!.env!.eprintln!.panic!.file!.format!.format_args!.include_bytes!.include_str!.line!.local_data_key!.module_path!.option_env!.print!.println!.select!.stringify!.try!.unimplemented!.unreachable!.vec!.write!.writeln!.macro_rules!.assert_ne!.debug_assert_ne!`.split(`.`),u=[`i8`,`i16`,`i32`,`i64`,`i128`,`isize`,`u8`,`u16`,`u32`,`u64`,`u128`,`usize`,`f32`,`f64`,`str`,`char`,`bool`,`Box`,`Option`,`Result`,`String`,`Vec`];return{name:`Rust`,aliases:[`rs`],keywords:{$pattern:e.IDENT_RE+`!?`,type:u,keyword:s,literal:c,built_in:l},illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:`symbol`,begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:`string`,variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:`char.escape`,match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:`number`,variants:[{begin:`\\b0b([01_]+)`+o},{begin:`\\b0o([0-7_]+)`+o},{begin:`\\b0x([A-Fa-f0-9_]+)`+o},{begin:`\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)`+o}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:`keyword`,3:`title.function`}},{className:`meta`,begin:`#!?\\[`,end:`\\]`,contains:[{className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:`keyword`,3:`keyword`,4:`variable`}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:`keyword`,3:`variable`,5:`keyword`}},{begin:[/type/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:e.IDENT_RE+`::`,keywords:{keyword:`Self`,built_in:l,type:u}},{className:`punctuation`,begin:`->`},a]}}t.exports=n})),pc=t(((e,t)=>{var n=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),r=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),i=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),a=[...r,...i],o=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),s=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),c=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),l=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function u(e){let t=n(e),r=c,i=s,u=`@[a-z-]+`,d={className:`variable`,begin:`(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b`,relevance:0};return{name:`SCSS`,case_insensitive:!0,illegal:`[=/|']`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:`selector-id`,begin:`#[A-Za-z0-9_-]+`,relevance:0},{className:`selector-class`,begin:`\\.[A-Za-z0-9_-]+`,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-tag`,begin:`\\b(`+a.join(`|`)+`)\\b`,relevance:0},{className:`selector-pseudo`,begin:`:(`+i.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+r.join(`|`)+`)`},d,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+l.join(`|`)+`)\\b`},{begin:`\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b`},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,d,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:`@(page|font-face)`,keywords:{$pattern:u,keyword:`@page @font-face`}},{begin:`@`,end:`[{;]`,returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:o.join(` `)},contains:[{begin:u,className:`keyword`},{begin:/[a-z-]+(?=:)/,className:`attribute`},d,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}t.exports=u})),mc=t(((e,t)=>{function n(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}t.exports=n})),hc=t(((e,t)=>{function n(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`true`,`false`,`unknown`],o=[`double precision`,`large object`,`with timezone`,`without timezone`],s=`bigint.binary.blob.boolean.char.character.clob.date.dec.decfloat.decimal.float.int.integer.interval.nchar.nclob.national.numeric.real.row.smallint.time.timestamp.varchar.varying.varbinary`.split(`.`),c=[`add`,`asc`,`collation`,`desc`,`final`,`first`,`last`,`view`],l=`abs.acos.all.allocate.alter.and.any.are.array.array_agg.array_max_cardinality.as.asensitive.asin.asymmetric.at.atan.atomic.authorization.avg.begin.begin_frame.begin_partition.between.bigint.binary.blob.boolean.both.by.call.called.cardinality.cascaded.case.cast.ceil.ceiling.char.char_length.character.character_length.check.classifier.clob.close.coalesce.collate.collect.column.commit.condition.connect.constraint.contains.convert.copy.corr.corresponding.cos.cosh.count.covar_pop.covar_samp.create.cross.cube.cume_dist.current.current_catalog.current_date.current_default_transform_group.current_path.current_role.current_row.current_schema.current_time.current_timestamp.current_path.current_role.current_transform_group_for_type.current_user.cursor.cycle.date.day.deallocate.dec.decimal.decfloat.declare.default.define.delete.dense_rank.deref.describe.deterministic.disconnect.distinct.double.drop.dynamic.each.element.else.empty.end.end_frame.end_partition.end-exec.equals.escape.every.except.exec.execute.exists.exp.external.extract.false.fetch.filter.first_value.float.floor.for.foreign.frame_row.free.from.full.function.fusion.get.global.grant.group.grouping.groups.having.hold.hour.identity.in.indicator.initial.inner.inout.insensitive.insert.int.integer.intersect.intersection.interval.into.is.join.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.language.large.last_value.lateral.lead.leading.left.like.like_regex.listagg.ln.local.localtime.localtimestamp.log.log10.lower.match.match_number.match_recognize.matches.max.member.merge.method.min.minute.mod.modifies.module.month.multiset.national.natural.nchar.nclob.new.no.none.normalize.not.nth_value.ntile.null.nullif.numeric.octet_length.occurrences_regex.of.offset.old.omit.on.one.only.open.or.order.out.outer.over.overlaps.overlay.parameter.partition.pattern.per.percent.percent_rank.percentile_cont.percentile_disc.period.portion.position.position_regex.power.precedes.precision.prepare.primary.procedure.ptf.range.rank.reads.real.recursive.ref.references.referencing.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.release.result.return.returns.revoke.right.rollback.rollup.row.row_number.rows.running.savepoint.scope.scroll.search.second.seek.select.sensitive.session_user.set.show.similar.sin.sinh.skip.smallint.some.specific.specifictype.sql.sqlexception.sqlstate.sqlwarning.sqrt.start.static.stddev_pop.stddev_samp.submultiset.subset.substring.substring_regex.succeeds.sum.symmetric.system.system_time.system_user.table.tablesample.tan.tanh.then.time.timestamp.timezone_hour.timezone_minute.to.trailing.translate.translate_regex.translation.treat.trigger.trim.trim_array.true.truncate.uescape.union.unique.unknown.unnest.update.upper.user.using.value.values.value_of.var_pop.var_samp.varbinary.varchar.varying.versioning.when.whenever.where.width_bucket.window.with.within.without.year`.split(`.`),u=`abs.acos.array_agg.asin.atan.avg.cast.ceil.ceiling.coalesce.corr.cos.cosh.count.covar_pop.covar_samp.cume_dist.dense_rank.deref.element.exp.extract.first_value.floor.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.last_value.lead.listagg.ln.log.log10.lower.max.min.mod.nth_value.ntile.nullif.percent_rank.percentile_cont.percentile_disc.position.position_regex.power.rank.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.row_number.sin.sinh.sqrt.stddev_pop.stddev_samp.substring.substring_regex.sum.tan.tanh.translate.translate_regex.treat.trim.trim_array.unnest.upper.value_of.var_pop.var_samp.width_bucket`.split(`.`),d=[`current_catalog`,`current_date`,`current_default_transform_group`,`current_path`,`current_role`,`current_schema`,`current_transform_group_for_type`,`current_user`,`session_user`,`system_time`,`system_user`,`current_time`,`localtime`,`current_timestamp`,`localtimestamp`],f=[`create table`,`insert into`,`primary key`,`foreign key`,`not null`,`alter table`,`add constraint`,`grouping sets`,`on overflow`,`character set`,`respect nulls`,`ignore nulls`,`nulls first`,`nulls last`,`depth first`,`breadth first`],p=u,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,`\\s+`))),/\b/)}let y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}t.exports=n})),gc=t(((e,t)=>{function n(e){return e?typeof e==`string`?e:e.source:null}function r(e){return i(`(?=`,e,`)`)}function i(...e){return e.map(e=>n(e)).join(``)}function a(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function o(...e){return`(`+(a(e).capture?``:`?:`)+e.map(e=>n(e)).join(`|`)+`)`}var s=e=>i(/\b/,e,/\w$/.test(e)?/\b/:/\B/),c=[`Protocol`,`Type`].map(s),l=[`init`,`self`].map(s),u=[`Any`,`Self`],d=[`actor`,`any`,`associatedtype`,`async`,`await`,/as\?/,/as!/,`as`,`borrowing`,`break`,`case`,`catch`,`class`,`consume`,`consuming`,`continue`,`convenience`,`copy`,`default`,`defer`,`deinit`,`didSet`,`distributed`,`do`,`dynamic`,`each`,`else`,`enum`,`extension`,`fallthrough`,/fileprivate\(set\)/,`fileprivate`,`final`,`for`,`func`,`get`,`guard`,`if`,`import`,`indirect`,`infix`,/init\?/,/init!/,`inout`,/internal\(set\)/,`internal`,`in`,`is`,`isolated`,`nonisolated`,`lazy`,`let`,`macro`,`mutating`,`nonmutating`,/open\(set\)/,`open`,`operator`,`optional`,`override`,`package`,`postfix`,`precedencegroup`,`prefix`,/private\(set\)/,`private`,`protocol`,/public\(set\)/,`public`,`repeat`,`required`,`rethrows`,`return`,`set`,`some`,`static`,`struct`,`subscript`,`super`,`switch`,`throws`,`throw`,/try\?/,/try!/,`try`,`typealias`,/unowned\(safe\)/,/unowned\(unsafe\)/,`unowned`,`var`,`weak`,`where`,`while`,`willSet`],f=[`false`,`nil`,`true`],p=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],m=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],h=`abs.all.any.assert.assertionFailure.debugPrint.dump.fatalError.getVaList.isKnownUniquelyReferenced.max.min.numericCast.pointwiseMax.pointwiseMin.precondition.preconditionFailure.print.readLine.repeatElement.sequence.stride.swap.swift_unboxFromSwiftValueWithType.transcode.type.unsafeBitCast.unsafeDowncast.withExtendedLifetime.withUnsafeMutablePointer.withUnsafePointer.withVaList.withoutActuallyEscaping.zip`.split(`.`),g=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_=o(g,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),v=i(g,_,`*`),y=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),b=o(y,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=i(y,b,`*`),S=i(/[A-Z]/,b,`*`),C=[`attached`,`autoclosure`,i(/convention\(/,o(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,i(/objc\(/,x,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],w=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`];function T(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),a=[e.C_LINE_COMMENT_MODE,n],g={match:[/\./,o(...c,...l)],className:{2:`keyword`}},y={match:i(/\./,o(...d)),relevance:0},T=d.filter(e=>typeof e==`string`).concat([`_|0`]),E={variants:[{className:`keyword`,match:o(...d.filter(e=>typeof e!=`string`).concat(u).map(s),...l)}]},D={$pattern:o(/\b\w+/,/#\w+/),keyword:T.concat(m),literal:f},O=[g,y,E],k=[{match:i(/\./,o(...h)),relevance:0},{className:`built_in`,match:i(/\b/,o(...h),/(?=\()/)}],A={match:/->/,relevance:0},j=[A,{className:`operator`,relevance:0,variants:[{match:v},{match:`\\.(\\.|${_})+`}]}],M=`([0-9]_*)+`,N=`([0-9a-fA-F]_*)+`,P={className:`number`,relevance:0,variants:[{match:`\\b(${M})(\\.(${M}))?([eE][+-]?(${M}))?\\b`},{match:`\\b0x(${N})(\\.(${N}))?([pP][+-]?(${M}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},F=(e=``)=>({className:`subst`,variants:[{match:i(/\\/,e,/[0\\tnr"']/)},{match:i(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),I=(e=``)=>({className:`subst`,match:i(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),ee=(e=``)=>({className:`subst`,label:`interpol`,begin:i(/\\/,e,/\(/),end:/\)/}),L=(e=``)=>({begin:i(e,/"""/),end:i(/"""/,e),contains:[F(e),I(e),ee(e)]}),R=(e=``)=>({begin:i(e,/"/),end:i(/"/,e),contains:[F(e),ee(e)]}),z={className:`string`,variants:[L(),L(`#`),L(`##`),L(`###`),R(),R(`#`),R(`##`),R(`###`)]},te=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],ne={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:te},re=e=>{let t=i(e,/\//),n=i(/\//,e);return{begin:t,end:n,contains:[...te,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},ie={scope:`regexp`,variants:[re(`###`),re(`##`),re(`#`),ne]},ae={match:i(/`/,x,/`/)},oe=[ae,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${b}+`}],B=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:w,contains:[...j,P,z]}]}},{scope:`keyword`,match:i(/@/,o(...C),r(o(/\(/,/\s+/)))},{scope:`meta`,match:i(/@/,x)}],V={match:r(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:i(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,b,`+`)},{className:`type`,match:S,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:i(/\s+&\s+/,r(S)),relevance:0}]},se={begin:/</,end:/>/,keywords:D,contains:[...a,...O,...B,A,V]};V.contains.push(se);let ce={begin:/\(/,end:/\)/,relevance:0,keywords:D,contains:[`self`,{match:i(x,/\s*:/),keywords:`_|0`,relevance:0},...a,ie,...O,...k,...j,P,z,...oe,...B,V]},le={begin:/</,end:/>/,keywords:`repeat each`,contains:[...a,V]},ue={begin:/\(/,end:/\)/,keywords:D,contains:[{begin:o(r(i(x,/\s*:/)),r(i(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:x}]},...a,...O,...j,P,z,...B,V,ce],endsParent:!0,illegal:/["']/},de={match:[/(func|macro)/,/\s+/,o(ae.match,x,v)],className:{1:`keyword`,3:`title.function`},contains:[le,ue,t],illegal:[/\[/,/%/]},H={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[le,ue,t],illegal:/\[|%/},fe={match:[/operator/,/\s+/,v],className:{1:`keyword`,3:`title`}},U={begin:[/precedencegroup/,/\s+/,S],className:{1:`keyword`,3:`title`},contains:[V],keywords:[...p,...f],end:/}/},pe={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},me={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},he={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,x,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:D,contains:[le,...O,{begin:/:/,end:/\{/,keywords:D,contains:[{scope:`title.class.inherited`,match:S},...O],relevance:0}]};for(let e of z.variants){let t=e.contains.find(e=>e.label===`interpol`);t.keywords=D;let n=[...O,...k,...j,P,z,...oe];t.contains=[...n,{begin:/\(/,end:/\)/,contains:[`self`,...n]}]}return{name:`Swift`,keywords:D,contains:[...a,de,H,pe,me,he,fe,U,{beginKeywords:`import`,end:/$/,contains:[...a],relevance:0},ie,...O,...k,...j,P,z,...oe,...B,V,ce]}}t.exports=T})),_c=t(((e,t)=>{function n(e){let t=`true false yes no null`,n=`[\\w#;/?:@&=+$,.~*'()[\\]]+`,r={className:`attr`,variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:`template-variable`,variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:`string`,relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:`char.escape`,relevance:0}]},o={className:`string`,relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={className:`number`,begin:`\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b`},l={end:`,`,endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},u={begin:/\{/,end:/\}/,contains:[l],illegal:`\\n`,relevance:0},d={begin:`\\[`,end:`\\]`,contains:[l],illegal:`\\n`,relevance:0},f=[r,{className:`meta`,begin:`^---\\s*$`,relevance:10},{className:`string`,begin:`[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*`},{begin:`<%[%=-]?`,end:`[%-]?%>`,subLanguage:`ruby`,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:`!\\w+!`+n},{className:`type`,begin:`!<`+n+`>`},{className:`type`,begin:`!`+n},{className:`type`,begin:`!!`+n},{className:`meta`,begin:`&`+e.UNDERSCORE_IDENT_RE+`$`},{className:`meta`,begin:`\\*`+e.UNDERSCORE_IDENT_RE+`$`},{className:`bullet`,begin:`-(?=[ ]|$)`,relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},c,{className:`number`,begin:e.C_NUMBER_RE+`\\b`,relevance:0},u,d,a,o],p=[...f];return p.pop(),p.push(s),l.contains=p,{name:`YAML`,case_insensitive:!0,aliases:[`yml`],contains:f}}t.exports=n})),vc=t(((e,t)=>{var n=`[A-Za-z$_][0-9A-Za-z$_]*`,r=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),i=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],a=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),o=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],s=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],c=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],l=[].concat(s,a,o);function u(e){let t=e.regex,u=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},d=n,f={begin:`<>`,end:`</>`},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let n=e[0].length+e.index,r=e.input[n];if(r===`<`||r===`,`){t.ignoreMatch();return}r===`>`&&(u(e,{after:n})||t.ignoreMatch());let i,a=e.input.substring(n);((i=a.match(/^\s*=/))||(i=a.match(/^\s+extends\s+/))&&i.index===0)&&t.ignoreMatch()}},h={$pattern:n,keyword:r,literal:i,built_in:l,"variable.language":c},g=`[0-9](_?[0-9])*`,_=`\\.(${g})`,v=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,y={className:`number`,variants:[{begin:`(\\b(${v})((${_})|\\.)?|(${_}))[eE][+-]?(${g})\\b`},{begin:`\\b(${v})\\b((${_})\\b|\\.)?|(${_})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},b={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:h,contains:[]},x={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:`xml`}},S={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:`css`}},C={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,b],subLanguage:`graphql`}},w={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,b]},T={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:d+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},E=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,x,S,C,w,{match:/\$\d+/},y];b.contains=E.concat({begin:/\{/,end:/\}/,keywords:h,contains:[`self`].concat(E)});let D=[].concat(T,b.contains),O=D.concat([{begin:/(\s*)\(/,end:/\)/,keywords:h,contains:[`self`].concat(D)}]),k={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:O},A={variants:[{match:[/class/,/\s+/,d,/\s+/,/extends/,/\s+/,t.concat(d,`(`,t.concat(/\./,d),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,d],scope:{1:`keyword`,3:`title.class`}}]},j={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...a,...o]}},M={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},N={variants:[{match:[/function/,/\s+/,d,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[k],illegal:/%/},P={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function F(e){return t.concat(`(?!`,e.join(`|`),`)`)}let I={match:t.concat(/\b/,F([...s,`super`,`import`].map(e=>`${e}\\s*\\(`)),d,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},ee={begin:t.concat(/\./,t.lookahead(t.concat(d,/(?![0-9A-Za-z$_(])/))),end:d,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},L={match:[/get|set/,/\s+/,d,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},k]},R=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,z={match:[/const|var|let/,/\s+/,d,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(R)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[k]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:h,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:j},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),M,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,x,S,C,w,T,{match:/\$\d+/},y,j,{scope:`attr`,match:d+t.lookahead(`:`),relevance:0},z,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[T,e.REGEXP_MODE,{className:`function`,begin:R,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f.begin,end:f.end},{match:p},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:`xml`,contains:[{begin:m.begin,end:m.end,skip:!0,contains:[`self`]}]}]},N,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[k,e.inherit(e.TITLE_MODE,{begin:d,className:`title.function`})]},{match:/\.\.\./,relevance:0},ee,{match:`\\$`+d,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[k]},I,P,A,L,{match:/\$[(.]/}]}}function d(e){let t=e.regex,a=u(e),o=n,s=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],d={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},f={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:s},contains:[a.exports.CLASS_REFERENCE]},p={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},m={$pattern:n,keyword:r.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:i,built_in:l.concat(s),"variable.language":c},h={className:`meta`,begin:`@`+o},g=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(a.keywords,m),a.exports.PARAMS_CONTAINS.push(h);let _=a.contains.find(e=>e.scope===`attr`),v=Object.assign({},_,{match:t.concat(o,t.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,_,v]),a.contains=a.contains.concat([h,d,f,v]),g(a,`shebang`,e.SHEBANG()),g(a,`use_strict`,p);let y=a.contains.find(e=>e.label===`func.def`);return y.relevance=0,Object.assign(a,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),a}t.exports=d})),yc=t(((e,t)=>{function n(e){let t=e.regex,n={className:`string`,begin:/"(""|[^/n])"C\b/},r={className:`string`,begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,c={className:`literal`,variants:[{begin:t.concat(/# */,t.either(a,i),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(a,i),/ +/,t.either(o,s),/ *#/)}]},l={className:`number`,relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:`label`,begin:/^\w+:/},d=e.COMMENT(/'''/,/$/,{contains:[{className:`doctag`,begin:/<\/?/,end:/>/}]}),f=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:`Visual Basic .NET`,aliases:[`vb`],case_insensitive:!0,classNameAliases:{label:`symbol`},keywords:{keyword:`addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield`,built_in:`addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort`,type:`boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort`,literal:`true false nothing`},illegal:`//|\\{|\\}|endif|gosub|variant|wend|^\\$ `,contains:[n,r,c,l,u,d,f,{className:`meta`,begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:`const disable else elseif enable end externalsource if region then`},contains:[f]}]}}t.exports=n})),bc=t(((e,t)=>{function n(e){e.regex;let t=e.COMMENT(/\(;/,/;\)/);return t.contains.push(`self`),{name:`WebAssembly`,keywords:{$pattern:/[\w.]+/,keyword:`anyfunc,block,br,br_if,br_table,call,call_indirect,data,drop,elem,else,end,export,func,global.get,global.set,local.get,local.set,local.tee,get_global,get_local,global,if,import,local,loop,memory,memory.grow,memory.size,module,mut,nop,offset,param,result,return,select,set_global,set_local,start,table,tee_local,then,type,unreachable`.split(`,`)},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:`keyword`,3:`operator`}},{className:`variable`,begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:`punctuation`,relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:`keyword`,3:`title.function`}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:`type`},{className:`keyword`,match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:`number`,relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}}t.exports=n})),xc=e(t(((e,t)=>{var n=Rs();n.registerLanguage(`xml`,zs()),n.registerLanguage(`bash`,Bs()),n.registerLanguage(`c`,Vs()),n.registerLanguage(`cpp`,Hs()),n.registerLanguage(`csharp`,Us()),n.registerLanguage(`css`,Ws()),n.registerLanguage(`markdown`,Gs()),n.registerLanguage(`diff`,Ks()),n.registerLanguage(`ruby`,qs()),n.registerLanguage(`go`,Js()),n.registerLanguage(`graphql`,Ys()),n.registerLanguage(`ini`,Xs()),n.registerLanguage(`java`,Zs()),n.registerLanguage(`javascript`,Qs()),n.registerLanguage(`json`,$s()),n.registerLanguage(`kotlin`,ec()),n.registerLanguage(`less`,tc()),n.registerLanguage(`lua`,nc()),n.registerLanguage(`makefile`,rc()),n.registerLanguage(`perl`,ic()),n.registerLanguage(`objectivec`,ac()),n.registerLanguage(`php`,oc()),n.registerLanguage(`php-template`,sc()),n.registerLanguage(`plaintext`,cc()),n.registerLanguage(`python`,lc()),n.registerLanguage(`python-repl`,uc()),n.registerLanguage(`r`,dc()),n.registerLanguage(`rust`,fc()),n.registerLanguage(`scss`,pc()),n.registerLanguage(`shell`,mc()),n.registerLanguage(`sql`,hc()),n.registerLanguage(`swift`,gc()),n.registerLanguage(`yaml`,_c()),n.registerLanguage(`typescript`,vc()),n.registerLanguage(`vbnet`,yc()),n.registerLanguage(`wasm`,bc()),n.HighlightJS=n,n.default=n,t.exports=n}))()).default;function Sc({text:e}){return(0,q.jsx)(q.Fragment,{children:L(e).map((e,t)=>e.link===!0?(0,q.jsx)(`span`,{className:`ak-x-a-link`,children:e.text},t):e.text)})}function Cc({tex:e}){let t=Re.renderToString(e,{displayMode:!0,output:`mathml`,throwOnError:!1});return(0,q.jsx)(`div`,{className:`ak-x-a-math`,dangerouslySetInnerHTML:{__html:t}})}function wc({code:e,lang:t}){let n=t!==void 0&&xc.getLanguage(t)!==void 0?xc.highlight(e,{language:t,ignoreIllegals:!0}).value:void 0;return(0,q.jsxs)(`div`,{className:`ak-x-a-code`,children:[(0,q.jsxs)(`div`,{className:`ak-x-a-code-bar`,children:[(0,q.jsx)(`span`,{children:t??``}),(0,q.jsx)(Je,{"aria-hidden":`true`})]}),n===void 0?(0,q.jsx)(`pre`,{children:e}):(0,q.jsx)(`pre`,{dangerouslySetInnerHTML:{__html:n}})]})}function Tc({markdown:e}){let t=Ls(e);if(t.type===`table`){let[e,...n]=t.rows;return(0,q.jsxs)(`table`,{className:`ak-x-a-table`,children:[e===void 0?null:(0,q.jsx)(`thead`,{children:(0,q.jsx)(`tr`,{children:e.map((e,t)=>(0,q.jsx)(`th`,{children:e},t))})}),(0,q.jsx)(`tbody`,{children:n.map((e,t)=>(0,q.jsx)(`tr`,{children:e.map((e,t)=>(0,q.jsx)(`td`,{children:e},t))},t))})]})}return t.type===`code`?(0,q.jsx)(wc,{code:t.code,lang:t.lang}):(0,q.jsx)(`pre`,{children:t.text})}function Ec({url:e}){let t=e;try{t=new URL(e).host.replace(/^www\./u,``)}catch{}return(0,q.jsxs)(`div`,{className:`ak-x-a-linkcard`,children:[(0,q.jsxs)(`div`,{className:`ak-x-a-linkcard-box`,children:[(0,q.jsx)(`span`,{className:`ak-x-a-linkcard-host`,children:t}),(0,q.jsx)(`span`,{className:`ak-x-a-linkcard-url`,children:w(e)})]}),(0,q.jsxs)(`div`,{className:`ak-x-a-from`,children:[`From `,t]})]})}function Dc({file:e,src:t,alt:n,measure:r}){let i=(0,K.useContext)(C),a=ee(e.split(`#`)[0]?.split(`.`).pop()??``);if(t===void 0)return(0,q.jsx)(`div`,{className:`ak-x-made`,children:e});if(a===`video`){let n=r?.width,a=r?.height,o=n!==void 0&&a!==void 0&&a>0?Math.max(n/a,1):16/9;return(0,q.jsxs)(`div`,{className:`ak-x-a-video`,style:{aspectRatio:String(o)},children:[i({src:`${t}#t=0.1`,muted:!0,playsInline:!0,preload:`auto`},e),(0,q.jsx)(`span`,{className:`ak-x-play`,"aria-hidden":`true`}),r?.seconds===void 0?null:(0,q.jsx)(`div`,{className:`ak-x-labels`,children:(0,q.jsx)(`span`,{className:`ak-x-label ak-x-clock`,children:F(r.seconds)})})]})}return(0,q.jsxs)(`div`,{className:`ak-x-a-picture`,children:[(0,q.jsx)(`img`,{src:t,alt:n??``,"data-gif":a===`gif`?``:void 0}),a===`gif`?(0,q.jsx)(`div`,{className:`ak-x-labels`,children:(0,q.jsx)(`span`,{className:`ak-x-label`,children:`GIF`})}):null]})}function Oc({run:e}){let t=e.link===void 0?(0,q.jsx)(Sc,{text:e.text}):e.text;return e.strike===!0&&(t=(0,q.jsx)(`s`,{children:t})),e.italic===!0&&(t=(0,q.jsx)(`em`,{children:t})),e.bold===!0&&(t=(0,q.jsx)(`strong`,{children:t})),e.link!==void 0&&(t=(0,q.jsx)(`span`,{className:`ak-x-a-link`,children:t})),t}var kc=({runs:e})=>(0,q.jsx)(q.Fragment,{children:e.map((e,t)=>(0,q.jsx)(Oc,{run:e},t))});function Ac({block:e,source:t,measure:n}){switch(e.type){case`paragraph`:return(0,q.jsx)(`p`,{dir:`auto`,children:e.runs.length===0?(0,q.jsx)(`br`,{}):(0,q.jsx)(kc,{runs:e.runs})});case`h1`:return(0,q.jsx)(`h1`,{dir:`auto`,children:(0,q.jsx)(kc,{runs:e.runs})});case`h2`:return(0,q.jsx)(`h2`,{dir:`auto`,children:(0,q.jsx)(kc,{runs:e.runs})});case`quote`:return(0,q.jsx)(`blockquote`,{dir:`auto`,children:(0,q.jsx)(kc,{runs:e.runs})});case`ul`:case`ol`:{let t=e.type===`ul`?`ul`:`ol`;return(0,q.jsx)(t,{children:e.items.map((e,t)=>(0,q.jsx)(`li`,{dir:`auto`,children:(0,q.jsx)(kc,{runs:e})},t))})}case`image`:return(0,q.jsxs)(`figure`,{children:[(0,q.jsx)(Dc,{file:e.file,src:t(e.file),alt:e.alt,measure:n?.(e.file)}),e.caption===void 0?null:(0,q.jsx)(`figcaption`,{dir:`auto`,children:e.caption})]});case`post`:return(0,q.jsx)(`div`,{className:`ak-x-a-post`,children:w(e.url)});case`link`:return(0,q.jsx)(Ec,{url:e.url});case`divider`:return(0,q.jsx)(`hr`,{});case`latex`:return(0,q.jsx)(Cc,{tex:e.tex});case`markdown`:return(0,q.jsx)(Tc,{markdown:e.markdown})}}function jc(){return(0,q.jsxs)(`div`,{className:`ak-x-a-by`,children:[(0,q.jsx)(`div`,{className:`ak-x-avatar`,"aria-hidden":`true`,children:A.name.slice(0,1)}),(0,q.jsxs)(`div`,{className:`ak-x-a-who`,children:[(0,q.jsx)(`span`,{className:`ak-x-name`,children:A.name}),(0,q.jsxs)(`span`,{className:`ak-x-handle`,children:[`@`,A.handle]})]})]})}function Mc({article:e,source:t,measure:n}){return(0,q.jsx)(`div`,{className:`ak-x-a-body`,children:e.blocks.map((e,r)=>(0,q.jsx)(Ac,{block:e,source:t,measure:n},r))})}function Nc({article:e,source:t,measure:n}){let r=e.cover===void 0?void 0:t(e.cover.file);return(0,q.jsxs)(`article`,{className:`ak-x-article`,children:[(0,q.jsx)(jc,{}),e.cover===void 0?null:(0,q.jsx)(`div`,{className:`ak-x-a-cover`,children:r===void 0?(0,q.jsx)(`div`,{className:`ak-x-made`,children:e.cover.file}):(0,q.jsx)(`img`,{src:r,alt:e.cover.alt??``})}),(0,q.jsx)(`h1`,{className:`ak-x-a-title`,dir:`auto`,children:e.title}),(0,q.jsx)(E,{}),(0,q.jsx)(Mc,{article:e,source:t,measure:n})]})}var Pc=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function Fc(e,t){if(e.title!==t.title||!Pc(e.cover,t.cover))return{head:!0};for(let n=0;n<t.blocks.length;n++)if(!Pc(e.blocks[n],t.blocks[n]))return{block:n};if(e.blocks.length>t.blocks.length&&t.blocks.length>0)return{block:t.blocks.length-1}}function Ic(e,t){let n=Ns(e),r=e=>e.from<=t.to&&t.from<=e.to;if(n.head&&r(n.head))return{head:!0};let i=n.lines.findIndex(r);return i<0?void 0:{block:i}}function Lc(e,t){if(e.from!==void 0&&e.path===t.path)return Ic(t.text,{from:e.from,to:e.to??e.from})}var Rc=new Ut(`xArticleAgent`),zc=U.create({name:`xArticleAgent`,addProseMirrorPlugins(){return[new G({key:Rc,state:{init:()=>null,apply:(e,t)=>{let n=e.getMeta(Rc);return n===void 0?t:n}},props:{decorations(e){let t=Rc.getState(e);if(!t)return null;let n;return e.doc.forEach((e,r,i)=>{i===t.block&&(n=Xt.node(r,r+e.nodeSize,{class:`ak-x-agent`,"data-agent":t.label,"data-testid":`x-agent-block`}))}),n?Jt.create(e.doc,[n]):null}}})]}});function Bc(e,t){e.isDestroyed||e.view.dispatch(e.state.tr.setMeta(Rc,t))}var $={image:`xImage`,post:`xPost`,link:`xLink`,latex:`xLatex`,markdown:`xMarkdown`};function Vc(e){let t=[];return e.bold===!0&&t.push({type:`bold`}),e.italic===!0&&t.push({type:`italic`}),e.strike===!0&&t.push({type:`strike`}),e.link!==void 0&&t.push({type:`link`,attrs:{href:e.link}}),{type:`text`,text:e.text,...t.length>0?{marks:t}:{}}}var Hc=e=>({type:`paragraph`,...e.length>0?{content:e.filter(e=>e.text!==``).map(Vc)}:{}});function Uc(e){let t=e.map(e=>{switch(e.type){case`paragraph`:return Hc(e.runs);case`h1`:case`h2`:return{type:`heading`,attrs:{level:e.type===`h1`?1:2},...e.runs.length>0?{content:e.runs.map(Vc)}:{}};case`quote`:return{type:`blockquote`,content:[Hc(e.runs)]};case`ul`:case`ol`:return{type:e.type===`ul`?`bulletList`:`orderedList`,content:e.items.map(e=>({type:`listItem`,content:[Hc(e)]}))};case`image`:return{type:$.image,attrs:{file:e.file,alt:e.alt??``,caption:e.caption??``}};case`post`:return{type:$.post,attrs:{url:e.url,id:e.id}};case`link`:return{type:$.link,attrs:{url:e.url}};case`divider`:return{type:`horizontalRule`};case`latex`:return{type:$.latex,attrs:{tex:e.tex}};case`markdown`:return{type:$.markdown,attrs:{markdown:e.markdown}}}});return{type:`doc`,content:t.length>0?t:[{type:`paragraph`}]}}function Wc(e){let t=e.marks??[],n=e=>t.some(t=>t.type===e),r=t.find(e=>e.type===`link`)?.attrs?.href;return{text:e.text??``,...n(`bold`)?{bold:!0}:{},...n(`italic`)?{italic:!0}:{},...n(`strike`)?{strike:!0}:{},...r===void 0?{}:{link:r}}}var Gc=e=>(e?.content??[]).map(e=>e.type===`hardBreak`?{text:` `}:Wc(e)),Kc=(e,t)=>{let n=e.attrs?.[t];return typeof n==`string`?n:``};function qc(e){let t=[];for(let n of e.content??[])switch(n.type){case`paragraph`:t.push({type:`paragraph`,runs:Gc(n)});break;case`heading`:{let e=Number(n.attrs?.level??1);t.push({type:e<=1?`h1`:`h2`,runs:Gc(n)});break}case`blockquote`:for(let e of n.content??[])t.push({type:`quote`,runs:Gc(e)});break;case`bulletList`:case`orderedList`:t.push({type:n.type===`bulletList`?`ul`:`ol`,items:(n.content??[]).map(e=>(e.content??[]).flatMap(e=>Gc(e)))});break;case`horizontalRule`:t.push({type:`divider`});break;case $.image:{let e=Kc(n,`alt`),r=Kc(n,`caption`);t.push({type:`image`,file:Kc(n,`file`),...e===``?{}:{alt:e},...r===``?{}:{caption:r}});break}case $.post:t.push({type:`post`,url:Kc(n,`url`),id:Kc(n,`id`)});break;case $.link:t.push({type:`link`,url:Kc(n,`url`)});break;case $.latex:t.push({type:`latex`,tex:Kc(n,`tex`)});break;case $.markdown:t.push({type:`markdown`,markdown:Kc(n,`markdown`)})}let n=t[0];return t.length===1&&n?.type===`paragraph`&&n.runs.every(e=>e.text===``)?[]:t}var Jc=new Ut(`x-found`);function Yc(e){let t=[];return e.descendants((e,n)=>{if(!e.isTextblock)return!0;let r=e.textContent;for(let e of I(r))t.push(Xt.inline(n+1+e.start,n+1+e.end,{class:`ak-x-link`}));return!1}),Jt.create(e,t)}var Xc=U.create({name:`xFound`,addProseMirrorPlugins(){return[new G({key:Jc,state:{init:(e,t)=>Yc(t.doc),apply:(e,t)=>e.docChanged?Yc(e.doc):t},props:{decorations:e=>Jc.getState(e)}})]}}),Zc=(0,K.createContext)(()=>void 0),Qc=e=>typeof e==`string`?e:``;function $c({node:e,updateAttributes:t}){let n=D(),r=(0,K.useContext)(Zc),i=Qc(e.attrs.file),a=r(i),o=ee(i.split(`#`)[0]?.split(`.`).pop()??``);return(0,q.jsxs)(Pe,{as:`figure`,"data-x":`image`,className:`relative`,children:[(0,q.jsxs)(`div`,{className:`ak-x-a-picture`,children:[a===void 0?(0,q.jsx)(`div`,{className:`ak-x-made`,children:i}):o===`video`?(0,q.jsx)(O,{src:a,file:i,controls:!0,muted:!0,playsInline:!0,className:`w-full`}):(0,q.jsx)(`img`,{src:a,alt:Qc(e.attrs.alt)}),(0,q.jsxs)(`div`,{className:`ak-x-labels`,contentEditable:!1,children:[o===`gif`?(0,q.jsx)(`span`,{className:`ak-x-label`,children:n.gif}):null,(0,q.jsx)(N,{alt:Qc(e.attrs.alt),onAlt:e=>{t({alt:e})},trigger:(0,q.jsx)(f,{variant:`secondary`,size:`xs`,className:`bg-media/75 text-on-media font-bold`,"aria-label":n.altText,children:n.alt})})]})]}),(0,q.jsx)(`input`,{className:`mt-2 w-full bg-transparent text-left text-[13px] leading-4 text-[var(--ak-x-caption)] outline-none`,value:Qc(e.attrs.caption),placeholder:n.caption,"aria-label":n.caption,dir:`auto`,onChange:e=>{t({caption:e.target.value})}})]})}function el({node:e}){return(0,q.jsx)(Pe,{"data-x":`link`,children:(0,q.jsx)(Ec,{url:Qc(e.attrs.url)})})}function tl({node:e}){return(0,q.jsx)(Pe,{className:`ak-x-a-post`,"data-x":`post`,children:w(Qc(e.attrs.url))})}function nl(e){return function({node:t,updateAttributes:n,selected:r}){let i=D(),a=e===`tex`?i.article.equation:i.article.code,o=Qc(t.attrs[e]);return!r&&o.trim()!==``?(0,q.jsx)(Pe,{"data-x":e,children:e===`tex`?(0,q.jsx)(Cc,{tex:o}):(0,q.jsx)(Tc,{markdown:o})}):(0,q.jsx)(Pe,{as:`pre`,"data-latex":e===`tex`?``:void 0,children:(0,q.jsx)(`textarea`,{className:`block w-full resize-none bg-transparent font-[inherit] outline-none [field-sizing:content]`,value:o,"aria-label":a,placeholder:a,spellCheck:!1,onChange:t=>{n({[e]:t.target.value})}})})}}function rl(e,t,n){return H.create({name:e,group:`block`,atom:!0,selectable:!0,draggable:!0,addAttributes(){return Object.fromEntries(t.map(e=>[e,{default:``}]))},parseHTML(){return[{tag:`div[data-node="${e}"]`}]},renderHTML({HTMLAttributes:t}){return[`div`,W(t,{"data-node":e})]},addNodeView(){return Fe(n)}})}var il=[rl($.image,[`file`,`alt`,`caption`],$c),rl($.post,[`url`,`id`],tl),rl($.link,[`url`],el),rl($.latex,[`tex`],nl(`tex`)),rl($.markdown,[`markdown`],nl(`markdown`))],al=/^https?:\/\/(?:www\.)?(?:x|twitter)\.com\/[A-Za-z0-9_]+\/status\/([0-9]{1,19})/u,ol=3e4;function sl(e){let t=Ns(e).issues.find(e=>e.rule===`article-markup`||e.rule===`format`);if(t!==void 0)return t.line===void 0?t.message:`${String(t.line)}: ${t.message}`}var cl=class{head;listeners=new Set;body;show;session;constructor(e){this.session=e;let{article:t}=Ns(e.text);this.head={title:t.title,cover:t.cover,state:e.state,held:sl(e.text)},e.attach({save:e=>{let t=this.article();if(t===void 0||sl(e)!==void 0)return;let n=Is(t);return n===Is(Ns(e).article)?void 0:n},take:(e,t,n)=>{let{article:r}=Ns(e),i=n?.kind===`agent`?Fc(Ns(t).article,r):void 0;this.set({title:r.title,cover:r.cover,held:sl(e),...i===void 0?{}:{landed:{spot:i,at:Date.now()}}}),this.show?.(r)}}),e.onState(e=>{this.set({state:e})})}get read(){return Ns(this.session.text).article}bind(e,t){this.body=e,this.show=t}article(){if(this.body!==void 0)return{title:this.head.title,...this.head.cover?{cover:this.head.cover}:{},blocks:this.body()}}get(){return this.head}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}set(e){this.head={...this.head,...e};for(let e of this.listeners)e()}edited(e={}){Object.keys(e).length>0&&this.set(e),this.session.edited()}};function ll(e){return(0,q.jsx)(f,{variant:`ghost`,size:`icon-sm`,"aria-label":e.label,title:e.label,"aria-pressed":e.on,disabled:e.disabled,className:d(e.on===!0&&`bg-here`),onMouseDown:e=>{e.preventDefault()},onClick:e.onClick,children:e.children})}function ul(e){let t=D(),[n,r]=(0,K.useState)(!1),[i,a]=(0,K.useState)(``),o=i.trim()===``?void 0:e.check?.(i.trim());return(0,q.jsxs)(z,{open:n,onOpenChange:e=>{r(e),e&&a(``)},children:[(0,q.jsx)(ne,{asChild:!0,children:(0,q.jsx)(f,{variant:`ghost`,size:`icon-sm`,"aria-label":e.label,title:e.label,disabled:e.disabled,children:e.icon})}),(0,q.jsx)(re,{className:`w-80`,align:`start`,children:(0,q.jsxs)(`form`,{className:`flex flex-col gap-2`,onSubmit:t=>{t.preventDefault(),i.trim()!==``&&o===void 0&&(e.onAnswer(i.trim()),r(!1))},children:[(0,q.jsx)(dt,{autoFocus:!0,value:i,placeholder:e.hint,"aria-label":e.hint,onChange:e=>{a(e.target.value)}}),o===void 0?null:(0,q.jsx)(`p`,{className:`text-destructive text-xs`,children:o}),(0,q.jsx)(f,{type:`submit`,size:`sm`,className:`self-end`,disabled:i.trim()===``||o!==void 0,children:t.article.add})]})})]})}function dl({dir:e,entry:t,insert:n,divider:r}){let i=D().article,[a,o]=(0,K.useState)(!1),[s,c]=(0,K.useState)(`menu`),[l,u]=(0,K.useState)(``),p=()=>{o(!1)},m=(e,t,n)=>(0,q.jsx)(mt,{size:`dense`,icon:t,onClick:n,children:e}),h=(e,t,n)=>{let r=l.trim()===``?void 0:t(l.trim());return(0,q.jsxs)(`form`,{className:`flex w-80 flex-col gap-2`,onSubmit:e=>{e.preventDefault(),l.trim()!==``&&r===void 0&&(n(l.trim()),p())},children:[(0,q.jsx)(dt,{autoFocus:!0,value:l,placeholder:e,"aria-label":e,onChange:e=>{u(e.target.value)}}),r===void 0?null:(0,q.jsx)(`p`,{className:`text-destructive text-xs`,children:r}),(0,q.jsx)(f,{type:`submit`,size:`sm`,className:`self-end`,disabled:l.trim()===``||r!==void 0,children:i.add})]})};return(0,q.jsxs)(z,{open:a,onOpenChange:e=>{o(e),e&&(c(`menu`),u(``))},children:[(0,q.jsx)(ne,{asChild:!0,children:(0,q.jsxs)(f,{variant:`ghost`,size:`sm`,className:`gap-1 px-2`,children:[i.insert,(0,q.jsx)(ct,{})]})}),(0,q.jsx)(re,{className:d(s===`menu`?`w-48 p-1`:`w-auto`),align:`start`,children:s===`menu`?(0,q.jsxs)(`div`,{role:`menu`,children:[m(i.media,(0,q.jsx)(S,{}),()=>{c(`media`)}),m(i.post,(0,q.jsx)(st,{}),()=>{c(`post`)}),m(i.linkCard,(0,q.jsx)(Qt,{}),()=>{c(`link`)}),m(i.divider,(0,q.jsx)(nt,{}),()=>{r(),p()}),m(i.code,(0,q.jsx)(Ee,{}),()=>{n($.markdown,{markdown:"```\n\n```"}),p()}),m(i.equation,(0,q.jsx)(Ne,{}),()=>{n($.latex,{tex:``}),p()}),m(i.table,(0,q.jsx)(Ye,{}),()=>{n($.markdown,{markdown:`| A | B |
72
+ | - | - |
73
+ | | |`}),p()})]}):s===`media`?(0,q.jsx)(j,{self:t,onPick:t=>{n($.image,{file:T(e,t),alt:``,caption:``}),p()}}):s===`post`?h(i.postHint,e=>al.test(e)?void 0:i.notPost,e=>{n($.post,{url:e,id:al.exec(e)?.[1]??``})}):h(i.linkHint,e=>/^https?:\/\/\S+$/u.test(e)?void 0:i.notLink,e=>{n($.link,{url:e})})})]})}function fl({editor:e}){let t=D().article,n=()=>e.chain().focus(),r=e.isActive(`heading`,{level:1})?t.heading:e.isActive(`heading`,{level:2})?t.subheading:t.paragraph;return(0,q.jsxs)(ut,{children:[(0,q.jsx)(ot,{asChild:!0,children:(0,q.jsxs)(f,{variant:`ghost`,size:`sm`,className:`w-32 justify-between gap-1 px-2`,onMouseDown:e=>{e.preventDefault()},children:[r,(0,q.jsx)(ct,{})]})}),(0,q.jsxs)(lt,{align:`start`,className:`ak-x w-48`,children:[(0,q.jsx)(ft,{className:`text-[31px] leading-10 font-extrabold`,onSelect:()=>n().setHeading({level:1}).run(),children:t.heading}),(0,q.jsx)(ft,{className:`text-[26px] leading-9 font-extrabold`,onSelect:()=>n().setHeading({level:2}).run(),children:t.subheading}),(0,q.jsx)(ft,{className:`text-[15px] font-bold`,onSelect:()=>n().setParagraph().run(),children:t.paragraph})]})]})}function pl({editor:e,dir:t,entry:n}){let r=D(),i=r.article,[,a]=(0,K.useState)(0);(0,K.useEffect)(()=>{let t=()=>{a(e=>e+1)};return e.on(`transaction`,t),()=>{e.off(`transaction`,t)}},[e]);let o=()=>e.chain().focus(),s=(t,n)=>{let{$from:r}=e.state.selection;r.depth>1?o().insertContentAt(r.after(1),{type:t,attrs:n}).run():o().insertContent({type:t,attrs:n}).run()},c=e.getText().split(/\s+/u).filter(e=>e!==``).length;return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(ll,{label:r.undo,disabled:!e.can().undo(),onClick:()=>o().undo().run(),children:(0,q.jsx)(it,{})}),(0,q.jsx)(ll,{label:r.redo,disabled:!e.can().redo(),onClick:()=>o().redo().run(),children:(0,q.jsx)(rt,{})}),(0,q.jsx)(`span`,{className:`bg-rule mx-1 h-5 w-px`,"aria-hidden":`true`}),(0,q.jsx)(ll,{label:i.bold,on:e.isActive(`bold`),onClick:()=>o().toggleBold().run(),children:(0,q.jsx)(b,{})}),(0,q.jsx)(ll,{label:i.italic,on:e.isActive(`italic`),onClick:()=>o().toggleItalic().run(),children:(0,q.jsx)(x,{})}),(0,q.jsx)(ll,{label:i.strike,on:e.isActive(`strike`),onClick:()=>o().toggleStrike().run(),children:(0,q.jsx)(at,{})}),(0,q.jsx)(fl,{editor:e}),(0,q.jsx)(`span`,{className:`bg-rule mx-1 h-5 w-px`,"aria-hidden":`true`}),(0,q.jsx)(ll,{label:i.quote,on:e.isActive(`blockquote`),onClick:()=>o().toggleBlockquote().run(),children:(0,q.jsx)(Oe,{})}),(0,q.jsx)(ll,{label:i.bullets,on:e.isActive(`bulletList`),onClick:()=>o().toggleBulletList().run(),children:(0,q.jsx)(Xe,{})}),(0,q.jsx)(ll,{label:i.numbers,on:e.isActive(`orderedList`),onClick:()=>o().toggleOrderedList().run(),children:(0,q.jsx)($e,{})}),(0,q.jsx)(`span`,{className:`bg-rule mx-1 h-5 w-px`,"aria-hidden":`true`}),e.isActive(`link`)?(0,q.jsx)(ll,{label:i.removeLink,on:!0,onClick:()=>o().extendMarkRange(`link`).unsetLink().run(),children:(0,q.jsx)(u,{})}):(0,q.jsx)(ul,{label:i.link,hint:i.linkHint,icon:(0,q.jsx)(Qt,{}),disabled:e.state.selection.empty,onAnswer:e=>{o().extendMarkRange(`link`).setLink({href:e}).run()}}),(0,q.jsx)(dl,{dir:t,entry:n,insert:s,divider:()=>o().setHorizontalRule().run()}),(0,q.jsx)(`span`,{className:`text-muted-foreground ml-2 text-xs tabular-nums`,children:i.words(c)})]})}function ml({doc:e,dir:t,entry:a}){let c=D(),d=o(),{readOnly:m,ask:h}=r(),g=i(),_=(0,K.useSyncExternalStore)(t=>e.subscribe(t),()=>e.get()),v=m||g||_.held!==void 0,y=(0,K.useMemo)(()=>e.read,[e]),[b,x]=(0,K.useState)(()=>y.blocks.flatMap(e=>e.type===`image`?[e.file]:[])),w=Ve({textDirection:`auto`,editable:!v,immediatelyRender:!0,extensions:[fs.configure({heading:{levels:[1,2]},listItem:!1,blockquote:!1,code:!1,codeBlock:!1,underline:!1,hardBreak:!1,link:{openOnClick:!1,autolink:!0}}),Xr.extend({content:`paragraph`}),Cr.extend({content:`paragraph`}),fr.configure({placeholder:c.article.body}),Xc,zc,...il],content:Uc(y.blocks),onUpdate:({editor:t,transaction:n})=>{n.docChanged&&(x(qc(t.getJSON()).flatMap(e=>e.type===`image`?[e.file]:[])),e.edited())}}),[E,O]=(0,K.useState)(()=>y.blocks);(0,K.useEffect)(()=>{e.bind(()=>qc(w.getJSON()),e=>{w.commands.setContent(Uc(e.blocks),{emitUpdate:!1}),x(e.blocks.flatMap(e=>e.type===`image`?[e.file]:[])),O(e.blocks)})},[e,w]),(0,K.useEffect)(()=>{w.setEditable(!v)},[w,v]),(0,K.useEffect)(()=>{let e=()=>{O(qc(w.getJSON()))};return w.on(`update`,e),()=>{w.off(`update`,e)}},[w]);let N=(0,K.useDeferredValue)(E),{agent:F,following:I}=n(),ee=R(),L=(()=>{if(F?.doing===void 0)return;let t=_.landed,n=t!==void 0&&t.at>=F.at-ol;return n&&F.source?.path===a?t.spot:(F.source?Lc(F.source,{path:a,text:e.session.text}):void 0)??(n?t.spot:void 0)})(),ie=L&&`block`in L?L.block:void 0,ae=L!==void 0&&`head`in L,oe=F?ee(F):``,B=(0,K.useRef)(null),V=(0,K.useRef)(null);(0,K.useEffect)(()=>{Bc(w,ie===void 0?null:{block:ie,label:oe})},[w,ie,oe]),(0,K.useEffect)(()=>{let e=V.current;if(e){for(let t of e.querySelectorAll(`[data-agent]`))t.removeAttribute(`data-agent`);(ae?e.querySelector(`.ak-x-a-title`):ie===void 0?null:e.querySelector(`.ak-x-a-body`)?.children[ie])?.setAttribute(`data-agent`,``)}},[ie,ae,N,_.title]),(0,K.useEffect)(()=>{I&&L!==void 0&&((ae?B.current?.querySelector(`.ak-x-a-title`):B.current?.querySelector(`[data-testid="x-agent-block"]`))?.scrollIntoView({block:`nearest`}),V.current?.querySelector(`[data-agent]`)?.scrollIntoView({block:`nearest`}))},[I,L,ae,_.landed]),s({hold:()=>Promise.resolve({key:`${a}@${String(e.session.text.length)}`,what:`The X article ${a}`,source:{path:a}}),locate:t=>{let n=Ns(e.session.text),r=e=>{let t=e?.getBoundingClientRect();return t&&t.width>0&&t.height>0?{x:t.x,y:t.y,width:t.width,height:t.height}:void 0},i=p(t)[0],o=e=>e!==void 0&&i!==void 0&&i.x>=e.x&&i.x<=e.x+e.width&&i.y>=e.y&&i.y<=e.y+e.height,s=[{as:`where it is written`,head:[`.ak-x-a-cover`,`.ak-x-a-title`].map(e=>B.current?.querySelector(e)),blocks:[...B.current?.querySelector(`.ak-x-a-body .ProseMirror`)?.children??[]]},{as:`as X will show it`,head:[`.ak-x-a-cover`,`.ak-x-a-title`].map(e=>V.current?.querySelector(e)),blocks:[...V.current?.querySelector(`.ak-x-a-body`)?.children??[]]}],c=e=>e===void 0?{}:{line:e.from,...e.to>e.from?{endLine:e.to}:{}},u=s.some(e=>e.head.some(e=>{let n=r(e);return n!==void 0&&l(t,n)})),d=new Set;for(let e of s)e.blocks.forEach((e,n)=>{let i=r(e);i&&l(t,i)&&d.add(n)});let f=[...u?[{name:`the article's head: its cover and title`,source:{path:a,...c(n.head)},..._.title===``?{}:{text:_.title}}]:[],...[...d].sort((e,t)=>e-t).map(e=>{let t=s.map(t=>t.blocks[e]?.textContent.trim()??``).find(e=>e!==``)??``;return{name:`block ${String(e+1)} of the article`,source:{path:a,...c(n.lines[e])},...t===``?{}:{text:t}}})],m=s.flatMap(e=>{if(e.head.some(e=>o(r(e))))return[`in the article's head, ${e.as}`];let t=e.blocks.findIndex(e=>o(r(e)));return t<0?[]:[`in block ${String(t+1)}, ${e.as}`]}).at(0);return Promise.resolve({elements:f,...m===void 0?{}:{where:m}})}});let se=M(t,[..._.cover?[_.cover.file]:[],...b]),ce=(0,K.useMemo)(()=>e=>se.get(e),[se]),[le,ue]=(0,K.useState)(!1),de=_.cover===void 0?void 0:se.get(_.cover.file),H=d?.theme===`dark`,fe=(0,q.jsxs)(z,{open:le,onOpenChange:ue,children:[(0,q.jsx)(`div`,{className:`group/cover ak-x-a-cover relative`,children:_.cover===void 0?v?null:(0,q.jsx)(ne,{asChild:!0,children:(0,q.jsxs)(f,{variant:`ghost`,className:`size-full flex-col gap-2 rounded-none text-[13px] font-normal text-[var(--ak-x-muted)]`,"aria-label":c.article.addCover,children:[(0,q.jsx)(`span`,{className:`grid size-10 place-items-center rounded-full bg-[var(--ak-x-muted)] text-[var(--ak-x-bg)]`,children:(0,q.jsx)(S,{className:`size-5`})}),c.article.coverHint]})}):(0,q.jsxs)(q.Fragment,{children:[de===void 0?(0,q.jsx)(`div`,{className:`ak-x-made`,children:_.cover.file}):(0,q.jsx)(`img`,{src:de,alt:_.cover.alt??``}),v?null:(0,q.jsxs)(`div`,{className:`absolute top-2 right-2 flex gap-1`,children:[(0,q.jsx)(ne,{asChild:!0,children:(0,q.jsxs)(f,{variant:`secondary`,size:`sm`,className:`bg-media/75 text-on-media`,children:[(0,q.jsx)(S,{}),c.article.changeCover]})}),(0,q.jsx)(f,{variant:`secondary`,size:`icon-sm`,className:`bg-media/75 text-on-media`,"aria-label":c.article.removeCover,title:c.article.removeCover,onClick:()=>{e.edited({cover:void 0})},children:(0,q.jsx)(u,{})})]})]})}),(0,q.jsx)(re,{className:`w-auto`,align:`center`,children:(0,q.jsx)(j,{self:a,only:[`picture`],onPick:n=>{ue(!1),e.edited({cover:{file:T(t,n)}})}})})]}),U=(0,q.jsxs)(`div`,{ref:B,className:`ak-x ak-x-editing min-h-full`,"data-theme":H?`dark`:`light`,children:[fe,(0,q.jsxs)(`div`,{className:`ak-x-e-page`,children:[(0,q.jsxs)(`div`,{className:`relative`,children:[(0,q.jsx)(`textarea`,{className:`ak-x-a-title block w-full resize-none border-0 bg-transparent p-0 outline-none [field-sizing:content] placeholder:text-[var(--ak-x-muted)]`,value:_.title,placeholder:c.article.title,"aria-label":c.article.title,readOnly:v,dir:`auto`,"data-testid":`x-article-title`,onChange:t=>{v?h():e.edited({title:t.target.value.replace(/\n/gu,` `)})}}),F&&ae?(0,q.jsx)(pt,{"data-testid":`x-agent-head`,label:oe,className:`-inset-1`}):null]}),(0,q.jsxs)(`div`,{className:`ak-x-e-by`,children:[(0,q.jsx)(`div`,{className:`ak-x-avatar`,"aria-hidden":`true`,children:A.name.slice(0,1)}),(0,q.jsx)(`span`,{className:`ak-x-name`,children:A.name}),(0,q.jsxs)(`span`,{className:`ak-x-handle`,children:[`@`,A.handle]})]}),(0,q.jsx)(Zc.Provider,{value:ce,children:(0,q.jsx)(`div`,{className:`ak-x-a-body`,"data-testid":`x-article-body`,children:(0,q.jsx)(He,{editor:w,className:`[&_.ProseMirror]:outline-none`})})})]})]}),pe=(0,q.jsx)(`div`,{ref:V,className:`ak-x ak-x-column`,"data-theme":H?`dark`:`light`,children:(0,q.jsx)(Nc,{article:{title:_.title,..._.cover?{cover:_.cover}:{},blocks:N},source:ce})});return(0,q.jsxs)(`div`,{className:`bg-background flex size-full flex-col`,"data-testid":`x-article-editor`,children:[(0,q.jsx)(te,{start:v?void 0:(0,q.jsx)(pl,{editor:w,dir:t,entry:a}),saved:{state:_.state},exports:{}}),_.held===void 0?null:(0,q.jsx)(`p`,{className:`text-lead border-b px-4 py-2 text-sm`,role:`status`,"data-testid":`x-article-held`,children:c.article.held(_.held)}),(0,q.jsx)(C.Provider,{value:P,children:(0,q.jsx)(k,{edit:U,preview:pe,width:600,dark:H})})]})}function hl(){let e=D(),t=a(),n=o(),r=n?.item.entry,i=n?.item.dir??``,[s,c]=(0,K.useState)(),[l,u]=(0,K.useState)();return(0,K.useEffect)(()=>{if(r===void 0)return;let e,n=!0;return _.open(t,r).then(t=>{n?(e=t,c(new cl(t))):t.close()},e=>{n&&u(e instanceof Error?e.message:String(e))}),()=>{n=!1,e?.close()}},[t,r]),!s||r===void 0?(0,q.jsx)(`div`,{className:`text-muted-foreground flex size-full items-center justify-center text-sm`,"data-testid":`x-article-editor`,"data-state":l===void 0?`loading`:`error`,children:l===void 0?e.article.loading:e.couldNotOpen(l)}):(0,q.jsx)(ml,{doc:s,dir:i,entry:r})}export{hl as XArticleEditor,hl as default,qc as fromDoc,Uc as toDoc};