@openpresentation/opf 0.35.1 → 0.36.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 (52) hide show
  1. package/dist/browser.js +16 -16
  2. package/dist/{chunk-PF3TVOMG.js → chunk-2NIID3QD.js} +6 -6
  3. package/dist/{chunk-PWE6UY3Y.js → chunk-4FA4AZXY.js} +67 -46
  4. package/dist/{chunk-LLY5BZGF.js → chunk-6WVPFWPD.js} +2 -2
  5. package/dist/{chunk-ZHLAMHSS.js → chunk-7JE3XTL7.js} +4 -4
  6. package/dist/{chunk-ZEVLLXSY.js → chunk-APCNAAA7.js} +2 -2
  7. package/dist/{chunk-PXJZS4ZF.js → chunk-AZELWKG2.js} +1 -1
  8. package/dist/{chunk-XHWJI4O7.js → chunk-BPSZ7OWD.js} +2 -2
  9. package/dist/{chunk-OBNSVMNO.js → chunk-F5SY7MSA.js} +1 -1
  10. package/dist/{chunk-P6KRAHVG.js → chunk-GNKOQ6NA.js} +4 -4
  11. package/dist/{chunk-B7XWF5RV.js → chunk-HHQROUYC.js} +1004 -288
  12. package/dist/{chunk-ZRTVPUYJ.js → chunk-J7FUSZZ5.js} +4 -4
  13. package/dist/{chunk-TRGSEXUR.js → chunk-O65COLKF.js} +3 -3
  14. package/dist/{chunk-BN36KMXG.js → chunk-OFL3WY6F.js} +2 -2
  15. package/dist/{chunk-MIHW2IGO.js → chunk-SER6GJTT.js} +9 -7
  16. package/dist/{chunk-EGXHUIQ5.js → chunk-TJMESSBQ.js} +6 -1
  17. package/dist/{chunk-WPUV2223.js → chunk-XRMYP4JD.js} +1 -1
  18. package/dist/{composition-BmJfljJl.d.ts → composition-CSM7YfBl.d.ts} +142 -14
  19. package/dist/composition.d.ts +1 -1
  20. package/dist/composition.js +1 -1
  21. package/dist/{conversion-BIooTbt5.d.ts → conversion-CL7ipVGO.d.ts} +6 -4
  22. package/dist/conversion-FTGQLJK7.js +25 -0
  23. package/dist/convert.d.ts +1 -1
  24. package/dist/convert.js +6 -6
  25. package/dist/data.js +2 -2
  26. package/dist/{deck-report-BYkbL7uT.d.ts → deck-report-DhsB0SUz.d.ts} +1 -1
  27. package/dist/deck.d.ts +4 -4
  28. package/dist/deck.js +9 -9
  29. package/dist/diff.js +3 -3
  30. package/dist/docs.js +25 -13
  31. package/dist/examples.js +3011 -2597
  32. package/dist/ids.js +3 -3
  33. package/dist/index.d.ts +8 -8
  34. package/dist/index.js +19 -19
  35. package/dist/markdown.d.ts +1 -1
  36. package/dist/markdown.js +7 -7
  37. package/dist/node-engine.d.ts +4 -4
  38. package/dist/node-engine.js +18 -18
  39. package/dist/{pagination-C0FPjO29.d.ts → pagination-BSqq32xt.d.ts} +1 -1
  40. package/dist/pagination.d.ts +2 -2
  41. package/dist/pagination.js +3 -3
  42. package/dist/patch.js +2 -2
  43. package/dist/repo-readme.js +1 -1
  44. package/dist/schema.js +2 -2
  45. package/dist/source.js +9 -9
  46. package/dist/{validation-types-DKIe1RQW.d.ts → validation-types-bnrso0JL.d.ts} +1 -1
  47. package/dist/validator.d.ts +3 -3
  48. package/dist/validator.js +2 -2
  49. package/dist/yaml.d.ts +1 -1
  50. package/dist/yaml.js +5 -5
  51. package/package.json +5 -5
  52. package/dist/conversion-SB5CGD6Q.js +0 -25
package/dist/browser.js CHANGED
@@ -1,25 +1,25 @@
1
- import { OPFApiError } from './chunk-TRGSEXUR.js';
2
- export { DEFAULT_FIX_ROUNDS, FIX_REPAIR_CATEGORIES, OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, edit, embed, fill, fillRecords, fix, isSafePatch, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, stats, updateFromCatalog } from './chunk-TRGSEXUR.js';
1
+ import { OPFApiError } from './chunk-O65COLKF.js';
2
+ export { DEFAULT_FIX_ROUNDS, FIX_REPAIR_CATEGORIES, OPFApiError, OPFExportError, OPFImportError, OPFMoveToCustomError, copySlides, edit, embed, fill, fillRecords, fix, isSafePatch, localAssetSources, moveToCustom, parseSlideSelection, sameRecord, stats, updateFromCatalog } from './chunk-O65COLKF.js';
3
3
  export { specFileEntries, specFileKinds, specFilePaths } from './chunk-W4DYDRV2.js';
4
4
  export { FONT_POLICY, applyFontPolicyDecisions, fontAvailabilityDiagnostics, fontPolicyFor } from './chunk-6VGLE7C5.js';
5
- export { OPFDataImportError, ingest, parseTabularData } from './chunk-WPUV2223.js';
6
- export { OPFPaginationError, blockUnits, continuationPages, continueOverfull, paginate, paginateSlide } from './chunk-XHWJI4O7.js';
7
- export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-P6KRAHVG.js';
8
- export { fromMarkdown, toMarkdown } from './chunk-PF3TVOMG.js';
9
- import './chunk-ZRTVPUYJ.js';
5
+ export { OPFDataImportError, ingest, parseTabularData } from './chunk-XRMYP4JD.js';
6
+ export { OPFPaginationError, blockUnits, continuationPages, continueOverfull, paginate, paginateSlide } from './chunk-BPSZ7OWD.js';
7
+ export { DECK_FORMATS, deckFormatOf, parse, stringify } from './chunk-GNKOQ6NA.js';
8
+ export { fromMarkdown, toMarkdown } from './chunk-2NIID3QD.js';
9
+ import './chunk-J7FUSZZ5.js';
10
10
  export { OPFFormatError, format } from './chunk-MS2LPR7F.js';
11
11
  import './chunk-RYZPBJLB.js';
12
- export { explain } from './chunk-EGXHUIQ5.js';
13
- import './chunk-ZHLAMHSS.js';
14
- import './chunk-OBNSVMNO.js';
15
- export { OPFMarkdownError } from './chunk-ZEVLLXSY.js';
16
- import './chunk-PXJZS4ZF.js';
17
- export { OPFIdError, assignIds, touches } from './chunk-BN36KMXG.js';
18
- export { diff, merge } from './chunk-LLY5BZGF.js';
19
- export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFPatchError, OPFPatchHashError, OPFPatchValidationError, OPFValidationError, applyPatch, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogIconKinds, catalogSchemaNames, createValidator, documentHash, findValidationRule, idToken, isIdToken, resolveDrawnFontFamilies, resolveIdPatch, resolveIdPointer, resolveSlideContext, toIdPatch, toIdPointer, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-PWE6UY3Y.js';
12
+ export { explain } from './chunk-TJMESSBQ.js';
13
+ import './chunk-7JE3XTL7.js';
14
+ import './chunk-F5SY7MSA.js';
15
+ export { OPFMarkdownError } from './chunk-APCNAAA7.js';
16
+ import './chunk-AZELWKG2.js';
17
+ export { OPFIdError, assignIds, touches } from './chunk-OFL3WY6F.js';
18
+ export { diff, merge } from './chunk-6WVPFWPD.js';
19
+ export { CATALOG_SCHEMA, DEFAULT_VALIDATION_THRESHOLDS, OPFPatchError, OPFPatchHashError, OPFPatchValidationError, OPFValidationError, applyPatch, assertValid, assertValidCatalogRecord, catalogDisplayKinds, catalogIconKinds, catalogSchemaNames, createValidator, documentHash, findValidationRule, idToken, isIdToken, resolveDrawnFontFamilies, resolveIdPatch, resolveIdPointer, resolveSlideContext, toIdPatch, toIdPointer, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-4FA4AZXY.js';
20
20
  import './chunk-JBARNYFR.js';
21
21
  export { audience, chartType, colorScheme, fontScheme, language, layout, narrative, presentation, purpose, schemaEntries, schemaNames, schemas, socialPlatform, theme, tone } from './chunk-3KPTVK77.js';
22
- export { CATALOG_GROUP_PATTERN, CATALOG_REFERENCE_PATTERN, CHART_TYPES, DEFAULT_VARIABLE_DATE_FORMAT, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, LANGUAGES, LOGO_SHAPES, OPFCatalogsOptionError, OPFUnresolvedReferenceError, OPFVariableError, SLIDE_SCOPED_BUILTINS, SOCIAL_PLATFORMS, VARIABLE_KINDS, asciiDigits, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, chartDrawDiagnostics, chartDrawPlan, chartNumber, coerceVariableValue, datasetDiagnostics, diagramsPending, embedIcons, ensureDiagrams, ensureIcons, ensureShapes, formatDataNumber, formatNumber, formatPercentNumber, formatVariableNumber, fromExcelNumberFormat, hasContentVariables, iconsPending, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isPlaceLabel, isSupportedNumberingSystem, isTemplate, isXYChartType, languageInEffect, listBuiltinVariables, listVariables, localizeDigits, markLabelColor, nearIconNames, normalizeLanguageFamily, numberFormatError, numberLocale, numberingSystemExtension, numberingSystemOf, numeralScripts, parseIconReference, parseReference, plainLanguageTag, resolveChartData, resolveDesignRecords, resolveFontScheme, resolveIcon, resolveReference, resolveSlideVariables, resolveTableData, resolveVariables, shapesPending, suggestChartNumberFix, supportedNumberingSystems, tableCellDisplayValue, toExcelNumberFormat, unresolvedReference, unusedDatasets, variableDeclarations } from './chunk-B7XWF5RV.js';
22
+ export { CATALOG_GROUP_PATTERN, CATALOG_REFERENCE_PATTERN, CHART_TYPES, DEFAULT_VARIABLE_DATE_FORMAT, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, LANGUAGES, LOGO_SHAPES, OPFCatalogsOptionError, OPFUnresolvedReferenceError, OPFVariableError, SLIDE_SCOPED_BUILTINS, SOCIAL_PLATFORMS, VARIABLE_KINDS, asciiDigits, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, chartDrawDiagnostics, chartDrawPlan, chartNumber, coerceVariableValue, datasetDiagnostics, diagramsPending, embedIcons, ensureDiagrams, ensureIcons, ensureShapes, formatDataNumber, formatNumber, formatPercentNumber, formatVariableNumber, fromExcelNumberFormat, hasContentVariables, iconsPending, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isPlaceLabel, isSupportedNumberingSystem, isTemplate, isXYChartType, languageInEffect, listBuiltinVariables, listVariables, localizeDigits, markLabelColor, nearIconNames, normalizeLanguageFamily, numberFormatError, numberLocale, numberingSystemExtension, numberingSystemOf, numeralScripts, parseIconReference, parseReference, plainLanguageTag, resolveChartData, resolveDesignRecords, resolveFontScheme, resolveIcon, resolveReference, resolveSlideVariables, resolveTableData, resolveVariables, shapesPending, suggestChartNumberFix, supportedNumberingSystems, tableCellDisplayValue, toExcelNumberFormat, unresolvedReference, unusedDatasets, variableDeclarations } from './chunk-HHQROUYC.js';
23
23
  import './chunk-BLCDUM7B.js';
24
24
  import './chunk-PRXZD2II.js';
25
25
 
@@ -1,10 +1,10 @@
1
1
  import { NOT_CHECKED } from './chunk-RYZPBJLB.js';
2
- import { readMarkdown, parseSlideText, escapeInline, serializeRuns } from './chunk-ZHLAMHSS.js';
3
- import { fenceCode } from './chunk-OBNSVMNO.js';
4
- import { OPFMarkdownError, writeYaml, Ctx, readYamlMapping, csvField, scalarText } from './chunk-ZEVLLXSY.js';
5
- import { same, isRecord, runText, isPlainRun, FORMATTING } from './chunk-PXJZS4ZF.js';
6
- import { validate } from './chunk-PWE6UY3Y.js';
7
- import { checkCatalogsOption } from './chunk-B7XWF5RV.js';
2
+ import { readMarkdown, parseSlideText, escapeInline, serializeRuns } from './chunk-7JE3XTL7.js';
3
+ import { fenceCode } from './chunk-F5SY7MSA.js';
4
+ import { OPFMarkdownError, writeYaml, Ctx, readYamlMapping, csvField, scalarText } from './chunk-APCNAAA7.js';
5
+ import { same, isRecord, runText, isPlainRun, FORMATTING } from './chunk-AZELWKG2.js';
6
+ import { validate } from './chunk-4FA4AZXY.js';
7
+ import { checkCatalogsOption } from './chunk-HHQROUYC.js';
8
8
 
9
9
  // src/markdown/canon.ts
10
10
  var FORMAT_KEYS = FORMATTING;
@@ -1,6 +1,6 @@
1
1
  import { original } from './chunk-JBARNYFR.js';
2
2
  import { schemas, schemaEntries } from './chunk-3KPTVK77.js';
3
- import { SHAPE_BLOCK_KEYS, VARIABLE_KINDS, resolveChartData, chartPaletteForFill, chartSeriesPalette, chartSchemeSeries, chartSlicePlan, CHART_SERIES_MIN_LIGHTNESS_STEP, normalizeHexColor, resolveChartColors, colorContrast, languageOfText, imageBackground, CODE_NOMINAL_SIZE, QUOTE_NOMINAL_SIZE, TABLE_NOMINAL_SIZE, LIST_NOMINAL_SIZE, PROSE_NOMINAL_SIZE, quoteMarksFor, quoteLanguage, emphasisSurface, textInkBox, tableGrid, metricValueColor, timelineTextColor, LOGO_SHAPES, visitContentPayloads, resolveReference, intrinsicImageSize, layoutTable, nearestGridCell, colorTransform, applyColorTransform, resolveColorRef, readingRows, visualReadingOrder, numberingSystemExtension, isSupportedNumberingSystem, plainLanguageTag, supportedNumberingSystems, catalogGroupSource, resolveDesignRecords, resolveFontFamilies, checkCatalogsOption, provenanceOf, unresolvedReference, OPFUnresolvedReferenceError, composeSlide, resolveColorRoles, layoutVariantApplies, resolveCanvasDimensions, resolveSlideVariables, registeredCatalog, embeddedCopy, renamedLayout, renamedLayoutTitlePosition, layoutVariantKind, deckBackgroundIsChosen, LONE_DISPLAY_SIZES, normalizeColorVariant, layoutColorVariant, inlineDatasets, hasBuiltinDependency, isRecord, hasContentVariables, isTemplate, instantiateForValidation, layoutTemplateIssues, REMOVED_DESIGN_KEYS, deckBackgroundIsFixed, resolveScriptFonts, lonePayload, annotationText, isLayoutTemplate, layoutTemplate, statementMessage, messageWords, SHORT_MESSAGE_WORDS, catalogReferenceSites, parseReference, catalogGroupDeclared, pointerPath, unusedDatasets, documentIcons, iconIssue, walkCitationRuns, HALF_STEPPED, MAX_COMPOSITION_DEPTH, isOverlayConnector, connectorAdjustPreset, shapeIssues, pathFor, overlayIssues, datasetDiagnostics, defaultSlideBackground, removedLayoutAuto, renamedLayoutChangesDrawing, catalogRecords, collectCitations, resolveSlideDirection, isGridCell, gridCellSpan, numberingFindings, chartDrawDiagnostics, resolveTableData, resolveChartOptions, chartOptionTarget, codeHighlightLines, relatedName, chartNumberFixesByCell, catalogKinds, representablePositionBox, PositionRangeError, cellsInReadingOrder, isShapeBlock, OPFCompositionError } from './chunk-B7XWF5RV.js';
3
+ import { SHAPE_BLOCK_KEYS, VARIABLE_KINDS, resolveChartData, chartPaletteForFill, chartSeriesPalette, chartSchemeSeries, chartSlicePlan, CHART_SERIES_MIN_LIGHTNESS_STEP, normalizeHexColor, resolveChartColors, colorContrast, languageOfText, imageBackground, CODE_NOMINAL_SIZE, QUOTE_NOMINAL_SIZE, TABLE_NOMINAL_SIZE, LIST_NOMINAL_SIZE, PROSE_NOMINAL_SIZE, quoteMarksFor, quoteLanguage, emphasisSurface, textInkBox, tableGrid, metricValueColor, timelineTextColor, LOGO_SHAPES, visitContentPayloads, resolveReference, intrinsicImageSize, layoutTable, nearestGridCell, colorTransform, applyColorTransform, resolveColorRef, readingRows, visualReadingOrder, numberingSystemExtension, isSupportedNumberingSystem, plainLanguageTag, supportedNumberingSystems, catalogGroupSource, resolveDesignRecords, resolveFontFamilies, checkCatalogsOption, provenanceOf, unresolvedReference, OPFUnresolvedReferenceError, composeSlide, resolveColorRoles, layoutVariantApplies, resolveCanvasDimensions, resolveSlideVariables, registeredCatalog, embeddedCopy, renamedLayout, renamedLayoutTitlePosition, layoutVariantKind, deckBackgroundIsChosen, LONE_DISPLAY_SIZES, normalizeColorVariant, layoutColorVariant, inlineDatasets, hasBuiltinDependency, isRecord, hasContentVariables, isTemplate, instantiateForValidation, layoutTemplateIssues, REMOVED_DESIGN_KEYS, deckBackgroundIsFixed, resolveScriptFonts, lonePayload, annotationText, isLayoutTemplate, layoutTemplate, statementMessage, messageWords, SHORT_MESSAGE_WORDS, catalogReferenceSites, parseReference, catalogGroupDeclared, pointerPath, unusedDatasets, documentIcons, iconIssue, walkCitationRuns, HALF_STEPPED, MAX_COMPOSITION_DEPTH, isOverlayConnector, connectorAdjustPreset, shapeIssues, pathFor, overlayIssues, datasetDiagnostics, defaultSlideBackground, removedLayoutAuto, renamedLayoutChangesDrawing, catalogRecords, collectCitations, resolveSlideDirection, isGridCell, gridCellSpan, numberingFindings, chartDrawDiagnostics, resolveTableData, resolveChartOptions, chartOptionTarget, codeHighlightLines, relatedName, chartNumberFixesByCell, catalogKinds, representablePositionBox, PositionRangeError, cellsInReadingOrder, isShapeBlock, OPFCompositionError } from './chunk-HHQROUYC.js';
4
4
  import { schemaEngine } from '#schema-engine';
5
5
  import { parseTree, printParseErrorCode, getNodePath } from 'jsonc-parser';
6
6
 
@@ -1291,6 +1291,21 @@ function validateAgainstSchema(value, schemaOrKind = "presentation", options2 =
1291
1291
  };
1292
1292
  }
1293
1293
 
1294
+ // src/record-validity.ts
1295
+ var object = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
1296
+ function recordIssues(kind, id, value) {
1297
+ const schemaName = catalogSchemaNames[kind];
1298
+ return validateAgainstSchema(object(value) ? { $schema: schemas[schemaName].$id, id, ...value } : value, kind);
1299
+ }
1300
+ function embeddedRecordInvalid(kind, id, record) {
1301
+ if (object(record) && (Object.hasOwn(record, "$schema") || Object.hasOwn(record, "id"))) return false;
1302
+ return !recordIssues(kind, id, record).valid;
1303
+ }
1304
+ function resolvesToValidRecord(document, kind, reference, options2 = {}) {
1305
+ const found = resolveReference(document, kind, reference, options2);
1306
+ return !!found && !(found.origin === "document" && embeddedRecordInvalid(kind, found.id, found.record));
1307
+ }
1308
+
1294
1309
  // src/narrative-plan.ts
1295
1310
  var isRec = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
1296
1311
  function resolveNarrative(document, options2 = {}) {
@@ -1881,6 +1896,7 @@ var formatRules = [
1881
1896
  rule("shape-adjust-unknown", "format", "warning", "An adjust value names a guide the preset does not have.", "Each preset has its own adjust handles (DrawingML's avLst guides: `adj`, `adj1`, `adj2`, ...); a name the preset does not have changes nothing, and a custom `path` has none. The preset's default is drawn.", { standard: "ECMA-376 Part 1, 20.1.10.56 (ST_ShapeType) and presetShapeDefinitions.xml" }),
1882
1897
  rule("shape-adjust-range", "format", "warning", "An adjust value is outside the range of the preset's handle.", "An adjust value outside the range its handle allows is pinned by the preset's own formulas, so the shape is not drawn as the value says; core draws the preset's default instead and both engines agree.", { standard: "ECMA-376 Part 1, 20.1.10.56 (ST_ShapeType) and presetShapeDefinitions.xml", approximations: "Ranges are checked at a square shape of the default size; a handle whose range depends on the shape's proportions is checked at those proportions when the shape is drawn." }),
1883
1898
  rule("shape-link-hidden", "format", "warning", "A hidden shape carries a link.", "A hidden shape (`hidden: true`) is not drawn, so its `link` can never be clicked in a slide show.", { standard: SCHEMA }),
1899
+ rule("shape-path-units", "format", "warning", "A custom path is written on a grid far larger than the 0 to 1 box.", "A custom `path` without a `viewBox` is drawn in a 0 to 1 box stretched to the frame. Coordinates from 0 to 100 (or an icon's 0 to 24) put the outline far outside the frame, so it floods the slide or is not seen, with no other sign. Give the path a `viewBox` for its own grid, or write it from 0 to 1.", { standard: SCHEMA, approximations: "The extent is read from the path's end points and control points (an arc by its end point). A path whose width or height is at most three times the box is taken as a deliberate overshoot and not reported." }),
1884
1900
  rule("shape-anchor-missing", "format", "error", "An overlay shape has no resolvable block or qualified plotted chart point.", "An overlay shape placed with `at` sits against a composed block of its slide, named by the block's `id`. A chart point also requires a unique plotted category and series in a qualified shared plot. When an identity or geometry is missing, the shape is not drawn.", { standard: SCHEMA }),
1885
1901
  rule("shape-anchor-size-unit", "format", "warning", "A pixel size is under a fraction key.", "In `at`, `width` and `height` are fractions of the block (up to 8); pixels are `widthPx` and `heightPx`. A value above 4 and up to 8 is reported here; above 8 it is a schema error that offers the same rename.", { standard: SCHEMA }),
1886
1902
  rule("connector-end-missing", "format", "error", "A connector end names no block or overlay shape on the slide.", "A connector joins two shapes of its slide, each named by the `id` of a block or an overlay shape. With an end that names nothing (or names a connector) there is nothing to glue it to, so it is not drawn.", { standard: SCHEMA }),
@@ -3734,9 +3750,9 @@ var FRAMING_LAYOUTS = /* @__PURE__ */ new Set(["cover", "section", "closing"]);
3734
3750
  function setsRunSize(value, depth2 = 0) {
3735
3751
  if (depth2 > 6 || value === null || typeof value !== "object") return false;
3736
3752
  if (Array.isArray(value)) return value.some((entry2) => setsRunSize(entry2, depth2 + 1));
3737
- const object2 = value;
3738
- if (typeof object2.fontSize === "number") return true;
3739
- return ["text", "description", "rows", "columns", "value"].some((key3) => setsRunSize(object2[key3], depth2 + 1));
3753
+ const object3 = value;
3754
+ if (typeof object3.fontSize === "number") return true;
3755
+ return ["text", "description", "rows", "columns", "value"].some((key3) => setsRunSize(object3[key3], depth2 + 1));
3740
3756
  }
3741
3757
  var ROLE_SIZE = { text: PROSE_NOMINAL_SIZE, items: LIST_NOMINAL_SIZE, bullets: LIST_NOMINAL_SIZE, table: TABLE_NOMINAL_SIZE, quote: QUOTE_NOMINAL_SIZE, code: CODE_NOMINAL_SIZE };
3742
3758
  function fittedSize(item, slide, document) {
@@ -4093,7 +4109,7 @@ function chartShapeHelp(chart) {
4093
4109
 
4094
4110
  // src/check-document.ts
4095
4111
  var own = (value, key3) => Object.hasOwn(value, key3);
4096
- var object = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
4112
+ var object2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
4097
4113
  var primitive = (value) => value === null || typeof value === "string" || typeof value === "boolean" || typeof value === "number" && Number.isFinite(value);
4098
4114
  var pointer4 = (parts2) => parts2.length ? "/" + parts2.map((part2) => String(part2).replaceAll("~", "~0").replaceAll("/", "~1")).join("/") : "";
4099
4115
  function parts(path) {
@@ -4104,7 +4120,7 @@ function parts(path) {
4104
4120
  }
4105
4121
  function at(value, path) {
4106
4122
  return parts(path).reduce(
4107
- (current, key3) => object(current) || Array.isArray(current) ? own(current, key3) ? current[key3] : void 0 : void 0,
4123
+ (current, key3) => object2(current) || Array.isArray(current) ? own(current, key3) ? current[key3] : void 0 : void 0,
4108
4124
  value
4109
4125
  );
4110
4126
  }
@@ -4113,7 +4129,7 @@ function checkDocumentOptions(options2) {
4113
4129
  if (options2.contracts !== void 0 && !Array.isArray(options2.contracts))
4114
4130
  throw new TypeError("Validate contracts must be an array.");
4115
4131
  for (const contract2 of options2.contracts ?? []) {
4116
- if (!object(contract2) || Object.keys(contract2).some(
4132
+ if (!object2(contract2) || Object.keys(contract2).some(
4117
4133
  (key3) => ![
4118
4134
  "path",
4119
4135
  "allowedValues",
@@ -4229,7 +4245,7 @@ function resolve(cursor, seen = /* @__PURE__ */ new Set()) {
4229
4245
  const [base, fragment = ""] = ref.split("#"), root = base ? schemaEntries.find((entry2) => entry2.schema.$id === base)?.schema : cursor.root;
4230
4246
  if (!root) return { ...cursor, schema: {} };
4231
4247
  const target = at(root, fragment);
4232
- if (!object(target)) return { ...cursor, schema: {} };
4248
+ if (!object2(target)) return { ...cursor, schema: {} };
4233
4249
  const resolved2 = resolve(
4234
4250
  { schema: target, root, path: fragment },
4235
4251
  seen
@@ -4239,18 +4255,18 @@ function resolve(cursor, seen = /* @__PURE__ */ new Set()) {
4239
4255
  }
4240
4256
  function score(schema, value) {
4241
4257
  const type = schema.type;
4242
- if (typeof type === "string" && (type === "array" ? !Array.isArray(value) : type === "object" ? !object(value) : type === "null" ? value !== null : type === "integer" ? !Number.isInteger(value) : typeof value !== type))
4258
+ if (typeof type === "string" && (type === "array" ? !Array.isArray(value) : type === "object" ? !object2(value) : type === "null" ? value !== null : type === "integer" ? !Number.isInteger(value) : typeof value !== type))
4243
4259
  return -1e4;
4244
4260
  if (own(schema, "const")) return schema.const === value ? 100 : -1e4;
4245
4261
  let result = 1;
4246
- if (object(value) && object(schema.properties)) {
4262
+ if (object2(value) && object2(schema.properties)) {
4247
4263
  for (const [key3, child] of Object.entries(schema.properties))
4248
- if (own(value, key3) && object(child))
4264
+ if (own(value, key3) && object2(child))
4249
4265
  result += own(child, "const") ? child.const === value[key3] ? 100 : -1e3 : 1;
4250
4266
  }
4251
4267
  if (Array.isArray(schema.required)) {
4252
4268
  for (const key3 of schema.required)
4253
- if (typeof key3 === "string" && (!object(value) || !own(value, key3)))
4269
+ if (typeof key3 === "string" && (!object2(value) || !own(value, key3)))
4254
4270
  result -= 2;
4255
4271
  }
4256
4272
  return result;
@@ -4259,7 +4275,7 @@ function active(cursor, value) {
4259
4275
  const resolved2 = resolve(cursor), alternatives = resolved2.schema.oneOf ?? resolved2.schema.anyOf;
4260
4276
  if (!Array.isArray(alternatives)) return resolved2;
4261
4277
  const keyword = resolved2.schema.oneOf ? "oneOf" : "anyOf";
4262
- const candidates = alternatives.filter(object).map(
4278
+ const candidates = alternatives.filter(object2).map(
4263
4279
  (schema, index) => active(
4264
4280
  {
4265
4281
  schema,
@@ -4280,12 +4296,12 @@ function childCursor(cursors, key3) {
4280
4296
  ]) {
4281
4297
  for (const cursor of cursors) {
4282
4298
  const declarations = cursor.schema[keyword];
4283
- if (!object(declarations)) continue;
4299
+ if (!object2(declarations)) continue;
4284
4300
  const name = keyword === "properties" ? key3 : keyword === "patternProperties" ? Object.keys(declarations).find(
4285
4301
  (pattern) => new RegExp(pattern).test(key3)
4286
4302
  ) : void 0;
4287
4303
  const schema = keyword === "additionalProperties" ? declarations : name === void 0 ? void 0 : declarations[name];
4288
- if (object(schema))
4304
+ if (object2(schema))
4289
4305
  return {
4290
4306
  schema,
4291
4307
  root: cursor.root,
@@ -4326,7 +4342,7 @@ function fields(document) {
4326
4342
  });
4327
4343
  const ancestors = [...entry2.ancestors, entry2.value];
4328
4344
  const cursors = [selected, ...selected.baseSchemas ?? [], resolved2];
4329
- const arrayCursor = cursors.find((cursor) => object(cursor.schema.items));
4345
+ const arrayCursor = cursors.find((cursor) => object2(cursor.schema.items));
4330
4346
  if (Array.isArray(entry2.value) && arrayCursor)
4331
4347
  entry2.value.forEach((value, index) => {
4332
4348
  stack.push({
@@ -4340,7 +4356,7 @@ function fields(document) {
4340
4356
  ancestors
4341
4357
  });
4342
4358
  });
4343
- else if (object(entry2.value))
4359
+ else if (object2(entry2.value))
4344
4360
  for (const [key3, value] of Object.entries(entry2.value)) {
4345
4361
  if (entry2.path.length === 0 && key3 === "catalogs") continue;
4346
4362
  const cursor = childCursor(cursors, key3);
@@ -4357,24 +4373,20 @@ function fields(document) {
4357
4373
  }
4358
4374
  var recordRuleId = (issue2) => issue2.keyword === "opf" && (issue2.params.code === "layout-template" || issue2.params.code === "layout-region") ? `opf/${issue2.params.code}` : "opf/catalog-record";
4359
4375
  var recordKey = (group, kind, id) => `${group}/${kind}/${id}`;
4360
- function recordIssues(kind, id, value) {
4361
- const schemaName = catalogSchemaNames[kind];
4362
- return validateAgainstSchema(object(value) ? { $schema: schemas[schemaName].$id, id, ...value } : value, kind);
4363
- }
4364
4376
  function embeddedRecordFindings(document, options2, findings) {
4365
4377
  const invalid = /* @__PURE__ */ new Set();
4366
- if (!object(document) || !object(document.catalogs)) return invalid;
4378
+ if (!object2(document) || !object2(document.catalogs)) return invalid;
4367
4379
  for (const [group, value] of Object.entries(document.catalogs)) {
4368
- if (!object(value)) continue;
4369
- for (const [id, record] of Object.entries(object(value.iconSets) ? value.iconSets : {})) {
4370
- if (object(record) && (Object.hasOwn(record, "$schema") || Object.hasOwn(record, "id"))) continue;
4371
- const validation = validateAgainstSchema(object(record) ? { $schema: schemas.iconSet.$id, id, ...record } : record, "iconSets");
4380
+ if (!object2(value)) continue;
4381
+ for (const [id, record] of Object.entries(object2(value.iconSets) ? value.iconSets : {})) {
4382
+ if (object2(record) && (Object.hasOwn(record, "$schema") || Object.hasOwn(record, "id"))) continue;
4383
+ const validation = validateAgainstSchema(object2(record) ? { $schema: schemas.iconSet.$id, id, ...record } : record, "iconSets");
4372
4384
  for (const issue2 of validation.errors) findings.push(issueFinding(issue2, "opf/catalog-record", "iconSet", pointer4(["catalogs", group, "iconSets", id]), "document"));
4373
4385
  }
4374
4386
  for (const kind of catalogKinds)
4375
- for (const [id, record] of Object.entries(object(value[kind]) ? value[kind] : {})) {
4387
+ for (const [id, record] of Object.entries(object2(value[kind]) ? value[kind] : {})) {
4376
4388
  const path = pointer4(["catalogs", group, kind, id]);
4377
- if (object(record) && (Object.hasOwn(record, "$schema") || Object.hasOwn(record, "id"))) continue;
4389
+ if (object2(record) && (Object.hasOwn(record, "$schema") || Object.hasOwn(record, "id"))) continue;
4378
4390
  const validation = recordIssues(kind, id, record);
4379
4391
  for (const issue2 of validation.errors) findings.push(issueFinding(issue2, recordRuleId(issue2), catalogSchemaNames[kind], path, "document"));
4380
4392
  if (!validation.valid) invalid.add(recordKey(group, kind, id));
@@ -4826,7 +4838,7 @@ function referenceFindings(document, engine, options2) {
4826
4838
  const findings = [];
4827
4839
  const catalogs = { catalogs: options2.catalogs ?? [] };
4828
4840
  contentReferenceFindings(document, catalogs, findings);
4829
- const assetValues = object(document) && object(document.assets) ? document.assets : {};
4841
+ const assetValues = object2(document) && object2(document.assets) ? document.assets : {};
4830
4842
  for (const field of fields(document)) {
4831
4843
  if (typeof field.value === "string" && field.value.startsWith("asset:") && field.assetReference) {
4832
4844
  const id = field.value.slice(6);
@@ -4871,7 +4883,7 @@ function referenceFindings(document, engine, options2) {
4871
4883
  }
4872
4884
  seenIds.add(current);
4873
4885
  chain.push(current);
4874
- const value = assetValues[current], source = object(value) ? value.src : value;
4886
+ const value = assetValues[current], source = object2(value) ? value.src : value;
4875
4887
  current = typeof source === "string" && source.startsWith("asset:") ? source.slice(6) : void 0;
4876
4888
  }
4877
4889
  }
@@ -4917,7 +4929,7 @@ function referenceFindings(document, engine, options2) {
4917
4929
  }
4918
4930
  function narrativeFindings(document, options2) {
4919
4931
  const findings = [];
4920
- if (!object(document)) return findings;
4932
+ if (!object2(document)) return findings;
4921
4933
  const narrative = resolveNarrative(document, options2);
4922
4934
  if (narrative) {
4923
4935
  const id = String(document.narrative);
@@ -4945,8 +4957,8 @@ function narrativeFindings(document, options2) {
4945
4957
  })
4946
4958
  );
4947
4959
  }
4948
- for (const [group, value] of Object.entries(object(document.catalogs) ? document.catalogs : {}))
4949
- for (const [id, record] of Object.entries(object(value) && object(value.narratives) ? value.narratives : {})) {
4960
+ for (const [group, value] of Object.entries(object2(document.catalogs) ? document.catalogs : {}))
4961
+ for (const [id, record] of Object.entries(object2(value) && object2(value.narratives) ? value.narratives : {})) {
4950
4962
  if (durationRangeInverted(record))
4951
4963
  findings.push(
4952
4964
  finding("opf/narrative-duration-range", {
@@ -4995,7 +5007,7 @@ function contractFindings(document, contracts) {
4995
5007
  }))
4996
5008
  })
4997
5009
  );
4998
- } else if (object(entry2.value) || Array.isArray(entry2.value)) {
5010
+ } else if (object2(entry2.value) || Array.isArray(entry2.value)) {
4999
5011
  const key3 = pattern[entry2.depth];
5000
5012
  for (const [name, value] of Object.entries(entry2.value))
5001
5013
  if (key3 === "*" || key3 === name)
@@ -5443,7 +5455,7 @@ var schemaCatalogKinds = {
5443
5455
  };
5444
5456
 
5445
5457
  // src/schema-navigation.ts
5446
- var own3 = (object2, key3) => object2 !== null && typeof object2 === "object" && Object.hasOwn(object2, key3);
5458
+ var own3 = (object3, key3) => object3 !== null && typeof object3 === "object" && Object.hasOwn(object3, key3);
5447
5459
  var documents = new Map(Object.values(schemas).map((schema) => [schema.$id, schema]));
5448
5460
  var presentationSchema = schemas.presentation;
5449
5461
  var CATALOG_KIND = /* @__PURE__ */ Symbol.for("@openpresentation/opf:catalog-kind");
@@ -7819,6 +7831,15 @@ var shapeLinkHidden = () => ({
7819
7831
  message: "This shape is hidden, so its `link` can never be clicked.",
7820
7832
  next: "remove `hidden`, or remove the `link`."
7821
7833
  });
7834
+ var shapePathUnits = (finding2) => {
7835
+ const { width, height } = params(finding2);
7836
+ if (typeof width !== "number" || typeof height !== "number") return void 0;
7837
+ const round4 = (value) => Number(value.toPrecision(3));
7838
+ return {
7839
+ message: `The ${code("path")} spans ${round4(width)} by ${round4(height)} units, but a path without a ${code("viewBox")} is drawn in a 0 to 1 box, so the outline is far outside its frame.`,
7840
+ next: `add a ${code("viewBox")} for the grid the path is written on (for example ${code('{ "d": ..., "viewBox": "0 0 100 100" }')}), or write its coordinates from 0 to 1.`
7841
+ };
7842
+ };
7822
7843
  var shapeAnchorSizeUnit = (finding2) => {
7823
7844
  const { key: key3, size } = params(finding2);
7824
7845
  return typeof key3 === "string" ? { message: `${code(`at.${key3}: ${String(size)}`)} is a fraction, not pixels.`, next: `rename ${code(key3)} to ${code(`${key3}Px`)} if it is pixels.` } : void 0;
@@ -8329,6 +8350,7 @@ var FORMAT_TEXT = {
8329
8350
  "opf/shape-adjust-unknown": shapeAdjustUnknown,
8330
8351
  "opf/shape-adjust-range": shapeAdjustRange,
8331
8352
  "opf/shape-link-hidden": shapeLinkHidden,
8353
+ "opf/shape-path-units": shapePathUnits,
8332
8354
  "opf/shape-anchor-size-unit": shapeAnchorSizeUnit,
8333
8355
  "opf/shape-anchor-missing": shapeAnchorMissing,
8334
8356
  "opf/connector-end-missing": connectorEndMissing,
@@ -8847,11 +8869,11 @@ function listColumnsChangeDrawing(region) {
8847
8869
  return !(accepts[0] === "list" && (arrangement === void 0 || arrangement === "numbered"));
8848
8870
  }
8849
8871
  var REMOVED_LIST_COLUMNS = `OPF 0.35 removed the region key listColumns. Delete it: a list of more than 6 entries flows into up to three columns in any region without an arrangement (or with the numbered one) when that sets it at least as large as one column; a list payload's own columns (1, 2, 3 or "auto") still chooses.`;
8850
- function removedKeyRepair(finding2, document) {
8872
+ function removedKeyRepair(finding2, document, options2) {
8851
8873
  const validation = finding2.validation;
8852
8874
  if (!validation || finding2.ruleId !== "opf/schema" && finding2.ruleId !== "opf/catalog-record") return void 0;
8853
8875
  const segments = segmentsOf(finding2.path);
8854
- if (validation.keyword === "additionalProperties" && segments.length === 3 && segments[0] === "slides" && readAt(document, segments) !== void 0 && nearestGridCell(segments[2]) !== void 0) return cellKeyRepair(document, segments.slice(0, 2), segments[2]);
8876
+ if (validation.keyword === "additionalProperties" && segments.length === 3 && segments[0] === "slides" && readAt(document, segments) !== void 0 && nearestGridCell(segments[2]) !== void 0) return cellKeyRepair(document, segments.slice(0, 2), segments[2], options2);
8855
8877
  const inRegion = segments.at(-3) === "regions";
8856
8878
  if (validation.keyword === "additionalProperties" && inRegion && (segments.at(-1) === "sequence" || segments.at(-1) === "pyramidDirection")) {
8857
8879
  const parent = segments.slice(0, -1), region = readAt(document, parent), value = readAt(document, segments);
@@ -8915,22 +8937,21 @@ function removedCellKeys(slide) {
8915
8937
  const order2 = cellsInReadingOrder(found);
8916
8938
  return order2.flatMap((cell) => found.filter((entry2) => entry2.cell === cell));
8917
8939
  }
8918
- function cellKeysAsBlocks(slide) {
8940
+ function cellKeysAsBlocks(slide, placed) {
8919
8941
  const keys = removedCellKeys(slide);
8920
8942
  if (!keys.length || !isRecord2(slide) || ROOT_CONTENT.some((field) => slide[field] !== void 0) || keys.some(({ key: key3 }) => !isRecord2(slide[key3]))) return void 0;
8921
- const placed = slide.layout === void 0;
8922
8943
  const blocks = keys.map(({ key: key3, cell }) => {
8923
8944
  const { id, region: _ignored, ...rest } = slide[key3];
8924
8945
  return { ...id !== void 0 ? { id } : {}, ...placed ? { region: cell } : {}, ...rest };
8925
8946
  });
8926
8947
  return { keys: keys.map(({ key: key3 }) => key3), blocks };
8927
8948
  }
8928
- function cellKeyRepair(document, slideSegments, key3) {
8949
+ function cellKeyRepair(document, slideSegments, key3, options2) {
8929
8950
  const slide = readAt(document, slideSegments), near = nearestGridCell(key3);
8930
- const layout = isRecord2(slide) && slide.layout !== void 0;
8951
+ const layout = isRecord2(slide) && slide.layout !== void 0 && (slide.layout !== "auto" || resolvesToValidRecord(document, "layouts", "auto", options2));
8931
8952
  const example = near.cell ? `{ "region": "${near.cell}", ... }` : '{ "region": "top:start", ... }';
8932
8953
  const help = `OPF 0.35 removed the slide keys that placed content in the cells of a slide's 3 x 3 grid (the promoted regions): a block of the slide's blocks names its cell with "region", as ${example}. Blocks that name the same cell stack in it, and a slide places every block in a cell or none.` + (layout ? " This slide also has a layout, and a cell word names no region of a layout: the fix keeps the layout and moves each cell's content into a block without region, which binds to the layout's regions by kind, so the slide draws on its layout. To keep a grid of cells instead, remove layout and name the cells on the blocks." : "") + (near.help ? ` ${near.help}` : "");
8933
- const moved = near.cell ? cellKeysAsBlocks(slide) : void 0;
8954
+ const moved = near.cell ? cellKeysAsBlocks(slide, !layout) : void 0;
8934
8955
  if (!moved) return { help, fixes: [], dropSuggestions: true };
8935
8956
  const operations = [...moved.keys.map((name) => ({ op: "remove", path: pointerOf([...slideSegments, name]) })), { op: "add", path: pointerOf([...slideSegments, "blocks"]), value: moved.blocks }];
8936
8957
  return { help, fixes: [layout ? patch("cells-to-layout-blocks", "Move the regions into blocks of the layout", operations, true, true) : patch("cells-to-blocks", "Move the regions into blocks with region", operations, true)], dropSuggestions: true };
@@ -9182,9 +9203,9 @@ function relax(value) {
9182
9203
  const walk2 = (node) => {
9183
9204
  if (Array.isArray(node)) return node.forEach(walk2);
9184
9205
  if (node && typeof node === "object") {
9185
- const object2 = node;
9186
- if (object2.overflow === "error") object2.overflow = "warn";
9187
- for (const child of Object.values(object2)) walk2(child);
9206
+ const object3 = node;
9207
+ if (object3.overflow === "error") object3.overflow = "warn";
9208
+ for (const child of Object.values(object3)) walk2(child);
9188
9209
  }
9189
9210
  };
9190
9211
  walk2(copy);
@@ -9691,7 +9712,7 @@ function validateDocument(document, run, parsed, cache) {
9691
9712
  const location = parsed.locate(next.path);
9692
9713
  if (location) next.location = location;
9693
9714
  }
9694
- const removed = next.scope !== "context" ? removedKeyRepair(next, document) : void 0;
9715
+ const removed = next.scope !== "context" ? removedKeyRepair(next, document, run.options) : void 0;
9695
9716
  if (removed) next = withRepair(next, removed);
9696
9717
  if (next.ruleId === "opf/schema" && next.fixes === void 0 && next.scope !== "context") {
9697
9718
  const fixes = schemaFixes(next, document);
@@ -1,5 +1,5 @@
1
- import { jsonEqual, formatPointer } from './chunk-PWE6UY3Y.js';
2
- import { annotationText } from './chunk-B7XWF5RV.js';
1
+ import { jsonEqual, formatPointer } from './chunk-4FA4AZXY.js';
2
+ import { annotationText } from './chunk-HHQROUYC.js';
3
3
 
4
4
  // src/diff-match.ts
5
5
  var DEFAULT_MATCH_THRESHOLD = 0.5;
@@ -1,7 +1,7 @@
1
- import { parseQuoteLines, levelsFromIndents, parseCodeFence, splitWhen } from './chunk-OBNSVMNO.js';
2
- import { Ctx, splitLines, lineRange, readYamlMapping, readCsv, DECIMAL } from './chunk-ZEVLLXSY.js';
3
- import { runText, isRecord, FORMATTING } from './chunk-PXJZS4ZF.js';
4
- import { METRIC_KEYS, nearest, BLOCK_AS_VALUES, SLIDE_OPTION_KEYS, BLOCK_OPTION_KEYS } from './chunk-PWE6UY3Y.js';
1
+ import { parseQuoteLines, levelsFromIndents, parseCodeFence, splitWhen } from './chunk-F5SY7MSA.js';
2
+ import { Ctx, splitLines, lineRange, readYamlMapping, readCsv, DECIMAL } from './chunk-APCNAAA7.js';
3
+ import { runText, isRecord, FORMATTING } from './chunk-AZELWKG2.js';
4
+ import { METRIC_KEYS, nearest, BLOCK_AS_VALUES, SLIDE_OPTION_KEYS, BLOCK_OPTION_KEYS } from './chunk-4FA4AZXY.js';
5
5
 
6
6
  // src/markdown/inline.ts
7
7
  var PUNCT = /[\p{P}\p{S}]/u;
@@ -1,5 +1,5 @@
1
- import { isRecord, same } from './chunk-PXJZS4ZF.js';
2
- import { createLocator } from './chunk-PWE6UY3Y.js';
1
+ import { isRecord, same } from './chunk-AZELWKG2.js';
2
+ import { createLocator } from './chunk-4FA4AZXY.js';
3
3
  import { parseDocument, isMap, isSeq, isScalar, YAMLMap, Scalar, stringify, visit } from 'yaml';
4
4
 
5
5
  var sentence = (text) => text.charAt(0).toUpperCase() + text.slice(1);
@@ -1,4 +1,4 @@
1
- import { validate } from './chunk-PWE6UY3Y.js';
1
+ import { validate } from './chunk-4FA4AZXY.js';
2
2
 
3
3
  // src/convert/shared.ts
4
4
  var CONTENT_KEYS = ["text", "items", "bullets", "image", "video", "chart", "table", "code", "metric", "quote", "timeline", "diagram"];
@@ -1,5 +1,5 @@
1
- import { assertValid, resolveSlideScriptMeasurement, resolveDrawnFontFamilies, resolveSlideContext } from './chunk-PWE6UY3Y.js';
2
- import { composeSlide, resolveSlideVariables, slideBlockIds, cellBlocks, OPFCompositionError, checkCatalogsOption, usesSlideBuiltin, isOverlayConnector, codeHighlightSlice, tableRowBoundaries, visitContentPayloads, layoutTable, regionAccepts, slideTokenSpans, sliceNumberedItems, isShapeBlock } from './chunk-B7XWF5RV.js';
1
+ import { assertValid, resolveSlideScriptMeasurement, resolveDrawnFontFamilies, resolveSlideContext } from './chunk-4FA4AZXY.js';
2
+ import { composeSlide, resolveSlideVariables, slideBlockIds, cellBlocks, OPFCompositionError, checkCatalogsOption, usesSlideBuiltin, isOverlayConnector, codeHighlightSlice, tableRowBoundaries, visitContentPayloads, layoutTable, regionAccepts, slideTokenSpans, sliceNumberedItems, isShapeBlock } from './chunk-HHQROUYC.js';
3
3
 
4
4
  // src/continuation-fonts.ts
5
5
  var record = (value) => value && typeof value === "object" ? value : {};
@@ -1,4 +1,4 @@
1
- import { runText } from './chunk-PXJZS4ZF.js';
1
+ import { runText } from './chunk-AZELWKG2.js';
2
2
 
3
3
  // src/convert/text-lines.ts
4
4
  var LIST_PREFIX = /^([ \t]*)(?:([-*•+]|\d{1,3}[.)])[ \t]+)?/;
@@ -1,8 +1,8 @@
1
- import { fromMarkdown, toMarkdown } from './chunk-PF3TVOMG.js';
2
- import { fromYaml, toYaml } from './chunk-ZRTVPUYJ.js';
1
+ import { fromMarkdown, toMarkdown } from './chunk-2NIID3QD.js';
2
+ import { fromYaml, toYaml } from './chunk-J7FUSZZ5.js';
3
3
  import { NOT_CHECKED } from './chunk-RYZPBJLB.js';
4
- import { parseSource, validate, OPFValidationError } from './chunk-PWE6UY3Y.js';
5
- import { checkCatalogsOption } from './chunk-B7XWF5RV.js';
4
+ import { parseSource, validate, OPFValidationError } from './chunk-4FA4AZXY.js';
5
+ import { checkCatalogsOption } from './chunk-HHQROUYC.js';
6
6
 
7
7
  // src/deck-report.ts
8
8
  var DECK_FORMATS = ["json", "yaml", "markdown"];