@bendyline/squisq 2.12.1 → 2.12.2

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 (41) hide show
  1. package/dist/{Doc-CHD4fxfm.d.ts → Doc-BJSPtsQD.d.ts} +21 -2
  2. package/dist/{ImageEditDoc-DSUM5MiA.d.ts → ImageEditDoc-QIzn1qK5.d.ts} +1 -1
  3. package/dist/{chunk-RKCARBWM.js → chunk-5VFC5T4N.js} +73 -1048
  4. package/dist/{chunk-B2BQFF5B.js → chunk-DTAYI7AV.js} +20 -20
  5. package/dist/{chunk-WAX4QYHA.js → chunk-E2NFHYCB.js} +14 -3
  6. package/dist/{chunk-H54A35NZ.js → chunk-EX75I5HX.js} +3 -3
  7. package/dist/{chunk-3H7SYCZS.js → chunk-FTN6SGW5.js} +1 -1
  8. package/dist/{chunk-QHNO67JS.js → chunk-GX3VSKYS.js} +1 -1
  9. package/dist/{chunk-I4L4GYDN.js → chunk-HYJ63N6V.js} +1 -1
  10. package/dist/{chunk-B3AFOXMA.js → chunk-MPEGJKFJ.js} +1031 -3
  11. package/dist/chunk-MWSGNEH6.js +2376 -0
  12. package/dist/{chunk-M6YXFNGO.js → chunk-P53Z4RYC.js} +10 -0
  13. package/dist/{chunk-LN72K54P.js → chunk-TFMDVOUQ.js} +10 -9
  14. package/dist/chunk-Y25EJEZN.js +178 -0
  15. package/dist/{chunk-ISH4HDH7.js → chunk-YZ66VMBB.js} +1 -1
  16. package/dist/{chunk-VTG7PNOL.js → chunk-ZKDJHO6Y.js} +3 -8
  17. package/dist/doc/index.d.ts +17 -9
  18. package/dist/doc/index.js +41 -39
  19. package/dist/fence/index.d.ts +1 -1
  20. package/dist/generate/index.d.ts +1 -1
  21. package/dist/imageEdit/index.d.ts +3 -3
  22. package/dist/index.d.ts +6 -6
  23. package/dist/index.js +68 -48
  24. package/dist/jsonForm/index.d.ts +1 -1
  25. package/dist/jsonForm/index.js +4 -4
  26. package/dist/markdown/index.d.ts +143 -1
  27. package/dist/markdown/index.js +29 -10
  28. package/dist/{materializePageSection-Dx1Sz0vK.d.ts → materializePageSection-DYnmh8X1.d.ts} +1 -1
  29. package/dist/mediaEdit/index.d.ts +2 -2
  30. package/dist/narration/index.d.ts +1 -1
  31. package/dist/narration/index.js +8 -8
  32. package/dist/recommend/index.js +3 -2
  33. package/dist/schemas/index.d.ts +4 -4
  34. package/dist/schemas/index.js +3 -3
  35. package/dist/{themeLibrary-DLmZ1Ct8.d.ts → themeLibrary-IHAirzT-.d.ts} +1 -1
  36. package/dist/timing/index.d.ts +1 -1
  37. package/dist/transform/index.d.ts +2 -2
  38. package/dist/transform/index.js +8 -8
  39. package/package.json +1 -1
  40. package/dist/chunk-NNJA7ICB.js +0 -1088
  41. package/dist/chunk-ZYWYSM6W.js +0 -657
@@ -28,6 +28,15 @@ function buildSpecParams(build) {
28
28
  };
29
29
  }
30
30
 
31
+ // src/markdown/svgIslandLimits.ts
32
+ var SVG_ISLAND_LIMITS = Object.freeze({
33
+ maxSourceBytes: 512 * 1024,
34
+ maxElements: 2e4,
35
+ maxDepth: 200,
36
+ /** Elements rendered after `<use>` expansion. */
37
+ maxExpandedElements: 5e4
38
+ });
39
+
31
40
  // src/schemas/Transitions.ts
32
41
  var DEFAULT_TRANSITION_DURATION_SECONDS = 0.7;
33
42
  var TRANSITION_TYPES = [
@@ -203,6 +212,7 @@ export {
203
212
  BUILD_PARAM_KEYS,
204
213
  parseBuildSpec,
205
214
  buildSpecParams,
215
+ SVG_ISLAND_LIMITS,
206
216
  DEFAULT_TRANSITION_DURATION_SECONDS,
207
217
  TRANSITION_TYPES,
208
218
  TRANSITION_DIRECTIONS,
@@ -1,16 +1,17 @@
1
1
  import {
2
2
  buildNarrationScript,
3
3
  coerceTemplateParams,
4
- deriveTemplateInputs,
5
4
  flattenRenderableBlocks,
6
5
  getPinnedBlockMeta,
7
6
  markdownToDoc
8
- } from "./chunk-RKCARBWM.js";
7
+ } from "./chunk-5VFC5T4N.js";
9
8
  import {
9
+ deriveTemplateInputs,
10
10
  isAsciiDiagramFence,
11
11
  isAsciiTimelineFence,
12
+ isPictureFence,
12
13
  isTreeFence
13
- } from "./chunk-B3AFOXMA.js";
14
+ } from "./chunk-MPEGJKFJ.js";
14
15
  import {
15
16
  extractContent,
16
17
  mapElementToBlock,
@@ -19,21 +20,21 @@ import {
19
20
  import {
20
21
  cloneAndFreezeData,
21
22
  isTemplateBlock
22
- } from "./chunk-I4L4GYDN.js";
23
+ } from "./chunk-HYJ63N6V.js";
23
24
  import {
24
25
  parseMarkdown
25
- } from "./chunk-H54A35NZ.js";
26
+ } from "./chunk-EX75I5HX.js";
26
27
  import {
27
28
  isContainerTemplate
28
- } from "./chunk-ZYWYSM6W.js";
29
+ } from "./chunk-Y25EJEZN.js";
29
30
  import {
30
31
  extractPlainText,
31
32
  getChildren,
32
33
  stringifyHtmlNodes
33
- } from "./chunk-NNJA7ICB.js";
34
+ } from "./chunk-MWSGNEH6.js";
34
35
  import {
35
36
  parseBuildSpec
36
- } from "./chunk-M6YXFNGO.js";
37
+ } from "./chunk-P53Z4RYC.js";
37
38
  import {
38
39
  estimateTimeFromText
39
40
  } from "./chunk-GHOPHGOK.js";
@@ -868,7 +869,7 @@ function extractFeatureContents(contents, keepData = false) {
868
869
  const features = [];
869
870
  const visit = (node) => {
870
871
  if (node.type === "code") {
871
- if (node.lang?.trim().toLowerCase() === "mermaid" || isAsciiDiagramFence(node) || isTreeFence(node) || isAsciiTimelineFence(node) || keepData && /^(json|ya?ml)$/i.test(node.lang ?? "") && /\bdata\b/i.test(node.meta ?? ""))
872
+ if (isPictureFence(node) || isAsciiDiagramFence(node) || isTreeFence(node) || isAsciiTimelineFence(node) || keepData && /^(json|ya?ml)$/i.test(node.lang ?? "") && /\bdata\b/i.test(node.meta ?? ""))
872
873
  features.push(node);
873
874
  return;
874
875
  }
@@ -0,0 +1,178 @@
1
+ // src/doc/templates/templateNames.ts
2
+ var TEMPLATE_ALIASES = Object.freeze({
3
+ titleBlock: "title",
4
+ quoteBlock: "quote",
5
+ mapBlock: "map",
6
+ listBlock: "list",
7
+ diagramBlock: "diagram",
8
+ diagramNode: "diagram"
9
+ });
10
+ function resolveTemplateName(name) {
11
+ return TEMPLATE_ALIASES[name] ?? name;
12
+ }
13
+ var TABLE_FED_TEMPLATES = /* @__PURE__ */ new Set([
14
+ "dataTable",
15
+ "barChart",
16
+ "columnChart",
17
+ "pieChart",
18
+ "donutChart",
19
+ "lineChart",
20
+ "areaChart",
21
+ "scatterChart"
22
+ ]);
23
+ var CONTAINER_TEMPLATES = /* @__PURE__ */ new Set(["diagram", "drawing", "layout"]);
24
+ function isContainerTemplate(name) {
25
+ return !!name && CONTAINER_TEMPLATES.has(resolveTemplateName(name));
26
+ }
27
+ var TEMPLATE_TOKEN_NAMES = /* @__PURE__ */ new Set([
28
+ "title",
29
+ "sectionHeader",
30
+ "bigText",
31
+ "transcript",
32
+ "content",
33
+ "statHighlight",
34
+ "quote",
35
+ "factCard",
36
+ "twoColumn",
37
+ "dateEvent",
38
+ "imageWithCaption",
39
+ "leftFeature",
40
+ "rightFeature",
41
+ "map",
42
+ "fullBleedQuote",
43
+ "list",
44
+ "photoGrid",
45
+ "definitionCard",
46
+ "comparisonBar",
47
+ "pullQuote",
48
+ "videoWithCaption",
49
+ "videoPullQuote",
50
+ "dataTable",
51
+ "barChart",
52
+ "columnChart",
53
+ "pieChart",
54
+ "donutChart",
55
+ "lineChart",
56
+ "areaChart",
57
+ "scatterChart",
58
+ "diagram",
59
+ "tree",
60
+ "timeline",
61
+ "layout",
62
+ "drawing"
63
+ ]);
64
+ function isReservedAnnotationToken(token) {
65
+ return TEMPLATE_TOKEN_NAMES.has(resolveTemplateName(token));
66
+ }
67
+
68
+ // src/markdown/attrTokens.ts
69
+ var DQ_RUN = `"(?:[^"\\\\]|\\\\.)*"`;
70
+ var SQ_RUN = `'(?:[^'\\\\]|\\\\.)*'`;
71
+ var TEMPLATE_STRICT_RE = new RegExp(
72
+ `\\s*\\{\\[((?:[^\\]"']|${DQ_RUN}|${SQ_RUN})*)\\]\\}[\\s\\]}]*$`
73
+ );
74
+ var TEMPLATE_LEGACY_RE = /\s*\{\[([^\]]*)\]\}[\s\]}]*$/;
75
+ var PANDOC_STRICT_RE = new RegExp(`\\s*\\{(?!\\[)((?:[^}"']|${DQ_RUN}|${SQ_RUN})*)\\}\\s*$`);
76
+ var PANDOC_LEGACY_RE = /\s*\{(?!\[)([^}]*)\}\s*$/;
77
+ function matchTrailing(text, strict, legacy) {
78
+ const m = strict.exec(text) ?? legacy.exec(text);
79
+ return m ? { inner: m[1], index: m.index } : null;
80
+ }
81
+ function matchTrailingTemplateAnnotation(text) {
82
+ return matchTrailing(text, TEMPLATE_STRICT_RE, TEMPLATE_LEGACY_RE);
83
+ }
84
+ function matchTrailingPandocAttr(text) {
85
+ return matchTrailing(text, PANDOC_STRICT_RE, PANDOC_LEGACY_RE);
86
+ }
87
+ var WHITESPACE_RE = /\s/;
88
+ function tokenizeAttrTokens(input) {
89
+ const tokens = [];
90
+ let i = 0;
91
+ const n = input.length;
92
+ while (i < n) {
93
+ while (i < n && WHITESPACE_RE.test(input[i])) i++;
94
+ if (i >= n) break;
95
+ let token = "";
96
+ while (i < n && !WHITESPACE_RE.test(input[i])) {
97
+ const ch = input[i];
98
+ const atValueStart = token === "" || token.endsWith("=");
99
+ if ((ch === '"' || ch === "'") && atValueStart) {
100
+ token += ch;
101
+ i++;
102
+ while (i < n && input[i] !== ch) {
103
+ if (input[i] === "\\" && i + 1 < n && (input[i + 1] === ch || input[i + 1] === "\\")) {
104
+ token += input[i] + input[i + 1];
105
+ i += 2;
106
+ } else {
107
+ token += input[i];
108
+ i++;
109
+ }
110
+ }
111
+ if (i < n && input[i] === ch) {
112
+ token += ch;
113
+ i++;
114
+ }
115
+ } else {
116
+ token += ch;
117
+ i++;
118
+ }
119
+ }
120
+ if (token) tokens.push(token);
121
+ }
122
+ return tokens;
123
+ }
124
+ var DQ_UNESCAPE_RE = /\\([\\"])/g;
125
+ var SQ_UNESCAPE_RE = /\\([\\'])/g;
126
+ function unquoteAttrValue(raw) {
127
+ if (raw.length >= 2) {
128
+ const q = raw[0];
129
+ if ((q === '"' || q === "'") && raw.endsWith(q)) {
130
+ const body = raw.slice(1, -1);
131
+ return body.replace(q === '"' ? DQ_UNESCAPE_RE : SQ_UNESCAPE_RE, "$1");
132
+ }
133
+ }
134
+ return raw;
135
+ }
136
+ function splitKeyValueToken(token) {
137
+ const eqIdx = token.indexOf("=");
138
+ if (eqIdx <= 0) return null;
139
+ return { key: token.slice(0, eqIdx), value: unquoteAttrValue(token.slice(eqIdx + 1)) };
140
+ }
141
+ var NEEDS_QUOTING_RE = /[\s"'[\]{}]/;
142
+ var DQ_ESCAPE_RE = /[\\"]/g;
143
+ var SQ_ESCAPE_RE = /[\\']/g;
144
+ function needsQuoting(value) {
145
+ return value === "" || NEEDS_QUOTING_RE.test(value);
146
+ }
147
+ function quoteAttrValue(value) {
148
+ if (!needsQuoting(value)) return value;
149
+ if (value.includes('"') && !value.includes("'")) {
150
+ return `'${value.replace(SQ_ESCAPE_RE, (ch) => `\\${ch}`)}'`;
151
+ }
152
+ return `"${value.replace(DQ_ESCAPE_RE, (ch) => `\\${ch}`)}"`;
153
+ }
154
+ function serializeAnnotation(template, params) {
155
+ const parts = [];
156
+ if (template) parts.push(template);
157
+ for (const [key, value] of Object.entries(params ?? {})) {
158
+ parts.push(`${key}=${quoteAttrValue(value)}`);
159
+ }
160
+ return `{[${parts.join(" ")}]}`;
161
+ }
162
+
163
+ export {
164
+ TEMPLATE_ALIASES,
165
+ resolveTemplateName,
166
+ TABLE_FED_TEMPLATES,
167
+ CONTAINER_TEMPLATES,
168
+ isContainerTemplate,
169
+ isReservedAnnotationToken,
170
+ matchTrailingTemplateAnnotation,
171
+ matchTrailingPandocAttr,
172
+ tokenizeAttrTokens,
173
+ unquoteAttrValue,
174
+ splitKeyValueToken,
175
+ needsQuoting,
176
+ quoteAttrValue,
177
+ serializeAnnotation
178
+ };
@@ -8,7 +8,7 @@ import {
8
8
  expectedSyllablesAt,
9
9
  flattenRenderableBlocks,
10
10
  wordPosAtExpectedSyllables
11
- } from "./chunk-RKCARBWM.js";
11
+ } from "./chunk-5VFC5T4N.js";
12
12
 
13
13
  // src/narration/types.ts
14
14
  var DEFAULT_FEATURE_CONFIG = Object.freeze({
@@ -2,14 +2,14 @@ import {
2
2
  assertMarkdownDocumentWithinLimits,
3
3
  parseMarkdown,
4
4
  toMdast
5
- } from "./chunk-H54A35NZ.js";
5
+ } from "./chunk-EX75I5HX.js";
6
6
  import {
7
7
  formatFrontmatterYaml,
8
8
  getChildren,
9
9
  splitFrontmatterBlock,
10
10
  stringifyHtmlNodes,
11
11
  walkMarkdownTree
12
- } from "./chunk-NNJA7ICB.js";
12
+ } from "./chunk-MWSGNEH6.js";
13
13
 
14
14
  // src/markdown/stringify.ts
15
15
  import { unified } from "unified";
@@ -1129,12 +1129,7 @@ function rewriteMarkdownReferences(source, options = {}) {
1129
1129
  if (options.images === "omit" && (node.tagName === "img" || node.tagName === "source" && insidePicture)) {
1130
1130
  changed = true;
1131
1131
  const alt = node.tagName === "img" ? node.attributes.alt : void 0;
1132
- return alt ? [
1133
- {
1134
- type: "htmlText",
1135
- value: alt.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")
1136
- }
1137
- ] : [];
1132
+ return alt ? [{ type: "htmlText", value: alt }] : [];
1138
1133
  }
1139
1134
  const child = html(node.children);
1140
1135
  changed || (changed = child.changed);
@@ -1,12 +1,12 @@
1
- import { a6 as Layer, k as Block, Q as Doc, bq as TemplateBlock, br as TemplateContext, y as CustomTemplateDefinition, bt as TemplateRegistry, bw as Theme, c0 as ViewportConfig, a_ as PersistentLayerConfig, at as MotionSpec, R as DocBlock, c1 as ViewportOrientation, aZ as PersistentLayer, bJ as TitleBlockInput, bf as SectionHeaderInput, j as BigTextInput, u as ContentBlockInput, bl as StatHighlightInput, b9 as QuoteBlockInput, Y as FactCardInput, bR as TwoColumnInput, J as DateEventInput, a4 as ImageWithCaptionInput, a9 as LeftFeatureInput, bc as RightFeatureInput, ae as MapBlockInput, bk as StartBlockConfig, $ as FullBleedQuoteInput, ac as ListBlockInput, b2 as PhotoGridInput, L as DefinitionCardInput, t as ComparisonBarInput, b8 as PullQuoteInput, b$ as VideoWithCaptionInput, b_ as VideoPullQuoteInput, I as DataTableInput, M as DiagramBlockInput, bM as TreeBlockInput, bF as TimelineBlockInput, U as DrawingBlockInput, ai as MarkerStyle, A as AccentImage, a3 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, au as MotionState, ar as MotionProfile, by as ThemeColorScheme, w as CountUpSpec, bA as ThemeRegistry, aR as PageEmphasis, bz as ThemePageStyle, S as DocDiagnostic, P as DiagramTemplateNode, O as DiagramTemplateEdge, bI as TimelineTemplateTrack, bH as TimelineTemplateLink } from '../Doc-CHD4fxfm.js';
2
- export { V as FRONTMATTER_CUSTOM_TEMPLATES_KEY, W as FRONTMATTER_CUSTOM_THEMES_KEY, a8 as LayoutHints, bb as RenderStyle, bx as ThemeColorPalette, bD as ThemeStyle, bE as ThemeTypography, bS as VIEWPORT_PRESETS, c2 as ViewportPreset, c7 as createTemplateContext, ce as getLayoutHints, ch as getTwoColumnPositions, ci as getViewport, cj as getViewportOrientation, cn as isTemplateBlock, ct as scaledFontSize } from '../Doc-CHD4fxfm.js';
1
+ import { a6 as Layer, k as Block, Q as Doc, br as TemplateBlock, bs as TemplateContext, y as CustomTemplateDefinition, bu as TemplateRegistry, bx as Theme, c1 as ViewportConfig, a_ as PersistentLayerConfig, at as MotionSpec, R as DocBlock, c2 as ViewportOrientation, aZ as PersistentLayer, bK as TitleBlockInput, bf as SectionHeaderInput, j as BigTextInput, u as ContentBlockInput, bl as StatHighlightInput, b9 as QuoteBlockInput, Y as FactCardInput, bS as TwoColumnInput, J as DateEventInput, a4 as ImageWithCaptionInput, a9 as LeftFeatureInput, bc as RightFeatureInput, ae as MapBlockInput, bk as StartBlockConfig, $ as FullBleedQuoteInput, ac as ListBlockInput, b2 as PhotoGridInput, L as DefinitionCardInput, t as ComparisonBarInput, b8 as PullQuoteInput, c0 as VideoWithCaptionInput, b$ as VideoPullQuoteInput, I as DataTableInput, M as DiagramBlockInput, bN as TreeBlockInput, bG as TimelineBlockInput, U as DrawingBlockInput, ai as MarkerStyle, A as AccentImage, a3 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, au as MotionState, ar as MotionProfile, bz as ThemeColorScheme, w as CountUpSpec, bB as ThemeRegistry, aR as PageEmphasis, bA as ThemePageStyle, S as DocDiagnostic, P as DiagramTemplateNode, O as DiagramTemplateEdge, bJ as TimelineTemplateTrack, bI as TimelineTemplateLink } from '../Doc-BJSPtsQD.js';
2
+ export { V as FRONTMATTER_CUSTOM_TEMPLATES_KEY, W as FRONTMATTER_CUSTOM_THEMES_KEY, a8 as LayoutHints, bb as RenderStyle, by as ThemeColorPalette, bE as ThemeStyle, bF as ThemeTypography, bT as VIEWPORT_PRESETS, c3 as ViewportPreset, c8 as createTemplateContext, cf as getLayoutHints, ci as getTwoColumnPositions, cj as getViewport, ck as getViewportOrientation, co as isTemplateBlock, cu as scaledFontSize } from '../Doc-BJSPtsQD.js';
3
3
  import { g as BuildStep, M as MarkdownBlockNode, S as MarkdownListItem, f as BuildSpec, e as BuildCursor, h as BuildTiming, V as MarkdownNode, ae as TransitionType, ad as TransitionDirection, z as MarkdownHeading, v as MarkdownDocument, a2 as MarkdownTable, q as MarkdownCodeBlock, R as MarkdownList } from '../types-BmEHcL3l.js';
4
4
  import { C as CoercedBlockMeta } from '../annotationCoercion-TxFucMtA.js';
5
- import { c as PageSection } from '../materializePageSection-Dx1Sz0vK.js';
6
- export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from '../materializePageSection-Dx1Sz0vK.js';
5
+ import { c as PageSection } from '../materializePageSection-DYnmh8X1.js';
6
+ export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from '../materializePageSection-DYnmh8X1.js';
7
7
  import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
8
8
  import { V as ViewIssue } from '../viewState-lTZS-hP_.js';
9
- export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-DLmZ1Ct8.js';
9
+ export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-IHAirzT-.js';
10
10
 
11
11
  /** Pure build planning and evaluation, shared by interactive slides and frame export. */
12
12
 
@@ -2155,11 +2155,19 @@ interface HostedVideo {
2155
2155
  * A video link inside prose, a list or a quote is not one — it stays a link.
2156
2156
  */
2157
2157
  declare function extractHostedVideos(contents: readonly MarkdownBlockNode[] | undefined, limit?: number): HostedVideo[];
2158
+ /**
2159
+ * A fence whose language makes it a picture rather than code: ```mermaid (a
2160
+ * diagram) or ```svg (an SVG island). Decided by the language alone, so a
2161
+ * fence that fails to render is still never read as prose — narration,
2162
+ * captions and reading time must not speak diagram source or SVG markup.
2163
+ */
2164
+ declare function isPictureFence(node: MarkdownNode): boolean;
2158
2165
  /**
2159
2166
  * Body nodes that render as their own visual layer rather than as prose: a
2160
- * Mermaid fence (a diagram) and a hosted-video paragraph (a player, via
2161
- * `appendRichContentLayers`). Repeating them as body text would print the
2162
- * diagram source or the video's link under the very thing they became.
2167
+ * picture fence ({@link isPictureFence}) and a hosted-video paragraph (a
2168
+ * player, via `appendRichContentLayers`). Repeating them as body text would
2169
+ * print the diagram source or the video's link under the very thing they
2170
+ * became.
2163
2171
  */
2164
2172
  declare function isMaterializedMediaNode(node: MarkdownBlockNode): boolean;
2165
2173
  /** Plain text of a block's body contents (excluding the heading). */
@@ -4302,4 +4310,4 @@ declare function treeFromMarkdownList(list: MarkdownList): Tree;
4302
4310
  /** Find the first top-level markdown list in a block's body, if any. */
4303
4311
  declare function findFirstList(contents: MarkdownBlockNode[] | undefined): MarkdownList | undefined;
4304
4312
 
4305
- export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, type ParsedStat, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
4313
+ export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, type ParsedStat, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
package/dist/doc/index.js CHANGED
@@ -74,12 +74,10 @@ import {
74
74
  validateMarkdownSource,
75
75
  wordRevealDelay,
76
76
  writeDashboardLayoutsToFrontmatter
77
- } from "../chunk-B2BQFF5B.js";
78
- import "../chunk-3H7SYCZS.js";
79
- import "../chunk-LN72K54P.js";
77
+ } from "../chunk-DTAYI7AV.js";
78
+ import "../chunk-FTN6SGW5.js";
79
+ import "../chunk-TFMDVOUQ.js";
80
80
  import {
81
- ASCII_CHAR_H,
82
- ASCII_CHAR_W,
83
81
  BASE_INPUT_DESCRIPTORS,
84
82
  BLOCK_MEDIA_LAYOUT_POLICIES,
85
83
  DEFAULT_LAYOUT,
@@ -95,22 +93,14 @@ import {
95
93
  accentForViewport,
96
94
  adjustY,
97
95
  applyRenderStyleToLayers,
98
- asciiCellToCanvas,
99
- asciiDiagramFromBlocks,
100
- asciiDiagramFromTemplateData,
101
- asciiDiagramToTemplateData,
102
- asciiTimelineToTemplateData,
103
- autoTemplatePreservesContent,
104
96
  bigText,
105
97
  blockBuildSteps,
106
98
  buildCursorAtTime,
107
99
  buildRegistry,
108
100
  buildSourceText,
109
101
  buildTargetState,
110
- canvasToAsciiCell,
111
102
  coerceTemplateParams,
112
103
  comparisonBar,
113
- computeDiagramLayout,
114
104
  computeDrawingLayout,
115
105
  computeLayoutLayers,
116
106
  contentBlock,
@@ -121,26 +111,14 @@ import {
121
111
  dataTable,
122
112
  dateEvent,
123
113
  definitionCard,
124
- deriveTemplateInputs,
125
114
  diagramBlock,
126
115
  drawingBlock,
127
116
  expandCoverBlock,
128
117
  expandDocBlocks,
129
118
  expandPersistentLayers,
130
- extractBlockquoteText,
131
- extractBodyPlainText,
132
- extractEmbeddedVideos,
133
- extractFirstEmbeddedVideo,
134
- extractFirstImage,
135
- extractHostedVideos,
136
- extractImages,
137
- extractListItems,
138
- extractRichListItems,
139
119
  extractTableData,
140
- extractTableFromContents,
141
120
  factCard,
142
121
  fallbackBlockLayers,
143
- findFirstList,
144
122
  findFirstTable,
145
123
  fitBigTextSize,
146
124
  fitDiagramLabel,
@@ -166,14 +144,12 @@ import {
166
144
  imageWithCaption,
167
145
  isDataFence,
168
146
  isGeometryBoundTemplate,
169
- isMaterializedMediaNode,
170
147
  isShapeName,
171
148
  layoutBlock,
172
149
  leftFeature,
173
150
  lintTemplateParams,
174
151
  listBlock,
175
152
  mapBlock,
176
- markdownBlockSeparatorLines,
177
153
  markdownToDoc,
178
154
  materializeBlockLayers,
179
155
  motionDelay,
@@ -188,7 +164,6 @@ import {
188
164
  quoteBlock,
189
165
  readCustomTemplatesFromFrontmatter,
190
166
  readCustomThemesFromFrontmatter,
191
- renderMarkdownBlocksHtml,
192
167
  replaceDataFence,
193
168
  resolveBuildTimeline,
194
169
  resolveColorScheme,
@@ -209,23 +184,42 @@ import {
209
184
  timelineBlock,
210
185
  titleBlock,
211
186
  treeBlock,
212
- treeFromMarkdownList,
213
- treeFromTemplateData,
214
- treeToTemplateData,
215
187
  twoColumn,
216
188
  videoPullQuote,
217
189
  videoWithCaption,
218
190
  wrapWithPersistentLayers,
219
191
  writeCustomTemplatesToFrontmatter,
220
192
  writeCustomThemesToFrontmatter
221
- } from "../chunk-RKCARBWM.js";
193
+ } from "../chunk-5VFC5T4N.js";
222
194
  import {
195
+ ASCII_CHAR_H,
196
+ ASCII_CHAR_W,
223
197
  ASCII_DIAGRAM_FENCE_LANGS,
224
198
  ASCII_TIMELINE_FENCE_LANGS,
225
199
  TREE_FENCE_LANGS,
200
+ asciiCellToCanvas,
201
+ asciiDiagramFromBlocks,
202
+ asciiDiagramFromTemplateData,
203
+ asciiDiagramToTemplateData,
204
+ asciiTimelineToTemplateData,
205
+ autoTemplatePreservesContent,
206
+ canvasToAsciiCell,
207
+ computeDiagramLayout,
208
+ deriveTemplateInputs,
226
209
  detectAsciiDiagram,
227
210
  detectAsciiTimeline,
228
211
  detectTree,
212
+ extractBlockquoteText,
213
+ extractBodyPlainText,
214
+ extractEmbeddedVideos,
215
+ extractFirstEmbeddedVideo,
216
+ extractFirstImage,
217
+ extractHostedVideos,
218
+ extractImages,
219
+ extractListItems,
220
+ extractRichListItems,
221
+ extractTableFromContents,
222
+ findFirstList,
229
223
  isAsciiDiagramFence,
230
224
  isAsciiTimelineFence,
231
225
  isEligibleAsciiFenceLang,
@@ -234,14 +228,21 @@ import {
234
228
  isExplicitDiagramLang,
235
229
  isExplicitTimelineLang,
236
230
  isExplicitTreeLang,
231
+ isMaterializedMediaNode,
232
+ isPictureFence,
237
233
  isTreeFence,
238
234
  isWrappedFlowTimelineSource,
235
+ markdownBlockSeparatorLines,
239
236
  parseAsciiDiagram,
240
237
  parseAsciiTimeline,
241
238
  parseAsciiTimelineWithStats,
242
239
  parseTree,
243
- parseWrappedFlowTimeline
244
- } from "../chunk-B3AFOXMA.js";
240
+ parseWrappedFlowTimeline,
241
+ renderMarkdownBlocksHtml,
242
+ treeFromMarkdownList,
243
+ treeFromTemplateData,
244
+ treeToTemplateData
245
+ } from "../chunk-MPEGJKFJ.js";
245
246
  import "../chunk-SVN7T6BK.js";
246
247
  import {
247
248
  PATH_SHAPE_KINDS,
@@ -273,19 +274,19 @@ import {
273
274
  isTemplateBlock,
274
275
  resolveTheme,
275
276
  scaledFontSize2 as scaledFontSize
276
- } from "../chunk-I4L4GYDN.js";
277
+ } from "../chunk-HYJ63N6V.js";
277
278
  import "../chunk-JSGIWW35.js";
278
279
  import "../chunk-L7QZORLB.js";
279
- import "../chunk-H54A35NZ.js";
280
+ import "../chunk-EX75I5HX.js";
280
281
  import {
281
282
  CONTAINER_TEMPLATES,
282
283
  TABLE_FED_TEMPLATES,
283
284
  isContainerTemplate,
284
285
  resolveTemplateName
285
- } from "../chunk-ZYWYSM6W.js";
286
- import "../chunk-NNJA7ICB.js";
286
+ } from "../chunk-Y25EJEZN.js";
287
+ import "../chunk-MWSGNEH6.js";
287
288
  import "../chunk-CZ7AUSLI.js";
288
- import "../chunk-M6YXFNGO.js";
289
+ import "../chunk-P53Z4RYC.js";
289
290
  import "../chunk-4OQFLZ6G.js";
290
291
  import "../chunk-GHOPHGOK.js";
291
292
  import "../chunk-XRW6P7IF.js";
@@ -448,6 +449,7 @@ export {
448
449
  isExplicitTreeLang,
449
450
  isGeometryBoundTemplate,
450
451
  isMaterializedMediaNode,
452
+ isPictureFence,
451
453
  isRepairableDiagram,
452
454
  isShapeName,
453
455
  isTemplateBlock,
@@ -1,4 +1,4 @@
1
- import { bw as Theme } from '../Doc-CHD4fxfm.js';
1
+ import { bx as Theme } from '../Doc-BJSPtsQD.js';
2
2
  import '../types-BmEHcL3l.js';
3
3
 
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  import { E as ExtractedElement } from '../contentExtractor-BNfVJV2U.js';
2
2
  export { C as ComparisonData, D as DateData, a as DefinitionData, b as ExtractionOptions, c as ExtractionResult, d as ExtractionType, F as FactData, I as ImpactLineData, L as ListData, Q as QuoteData, S as StatData, e as extractContent, s as stripMarkdown } from '../contentExtractor-BNfVJV2U.js';
3
- import { r as ColorScheme, A as AccentImage, bq as TemplateBlock } from '../Doc-CHD4fxfm.js';
3
+ import { r as ColorScheme, A as AccentImage, br as TemplateBlock } from '../Doc-BJSPtsQD.js';
4
4
  import '../types-BmEHcL3l.js';
5
5
 
6
6
  /**
@@ -1,8 +1,8 @@
1
- import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-DSUM5MiA.js';
2
- export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-DSUM5MiA.js';
1
+ import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-QIzn1qK5.js';
2
+ export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-QIzn1qK5.js';
3
3
  import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
4
4
  import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-8QjefM9J.js';
5
- import '../Doc-CHD4fxfm.js';
5
+ import '../Doc-BJSPtsQD.js';
6
6
  import '../types-BmEHcL3l.js';
7
7
 
8
8
  /**