@beyondwork/docx-react-component 1.0.132 → 1.0.134

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 (94) hide show
  1. package/dist/api/public-types.cjs +161 -68
  2. package/dist/api/public-types.d.cts +1 -1
  3. package/dist/api/public-types.d.ts +1 -1
  4. package/dist/api/public-types.js +3 -3
  5. package/dist/api/v3.cjs +9878 -7387
  6. package/dist/api/v3.d.cts +2 -2
  7. package/dist/api/v3.d.ts +2 -2
  8. package/dist/api/v3.js +10 -10
  9. package/dist/{chunk-QUTVR72L.js → chunk-3YR47WTD.js} +296 -587
  10. package/dist/{chunk-RYMMKOFI.js → chunk-5KTJKTNE.js} +32 -0
  11. package/dist/{chunk-UP2KDOYE.js → chunk-74R5B2EZ.js} +6 -2
  12. package/dist/{chunk-6736GA6J.js → chunk-7Y6JCIK3.js} +1 -1
  13. package/dist/{chunk-43JAPM2F.js → chunk-EBSI6VQX.js} +546 -144
  14. package/dist/{chunk-JVTDBX67.js → chunk-EFEW7BTT.js} +2 -2
  15. package/dist/{chunk-YUHNDEV5.js → chunk-ESEEWELA.js} +3534 -1870
  16. package/dist/{chunk-XYTWOJII.js → chunk-IJD6D7HU.js} +745 -103
  17. package/dist/{chunk-UFPBYJMA.js → chunk-INLRCC4N.js} +2 -2
  18. package/dist/{chunk-N5FTU4HZ.js → chunk-MQ5GAJ54.js} +68 -39
  19. package/dist/{chunk-W2I47J2Q.js → chunk-NJFKPDNG.js} +216 -2
  20. package/dist/{chunk-LPLJZJT2.js → chunk-O4EDZR44.js} +131 -70
  21. package/dist/{chunk-4HGFJ6Z2.js → chunk-PZIEOEJZ.js} +1 -1
  22. package/dist/{chunk-C5LXKR54.js → chunk-QTRJLKR2.js} +1 -1
  23. package/dist/{chunk-SZ6BJA4Q.js → chunk-REFHJ2FN.js} +3 -3
  24. package/dist/{chunk-ZDYGRO2Z.js → chunk-RP76USJE.js} +1 -1
  25. package/dist/{chunk-RBWJHRNP.js → chunk-T66OS7MN.js} +8 -3
  26. package/dist/{chunk-ALWXYGXP.js → chunk-V2JF42SI.js} +2 -2
  27. package/dist/{chunk-CDEZGLQ3.js → chunk-VA24T4EB.js} +1 -1
  28. package/dist/{chunk-6TLZ6CMP.js → chunk-WDDFU2N2.js} +2 -2
  29. package/dist/{chunk-U3UMKA7B.js → chunk-XBQFDBXE.js} +1 -1
  30. package/dist/core/commands/formatting-commands.d.cts +1 -1
  31. package/dist/core/commands/formatting-commands.d.ts +1 -1
  32. package/dist/core/commands/image-commands.cjs +32 -0
  33. package/dist/core/commands/image-commands.d.cts +1 -1
  34. package/dist/core/commands/image-commands.d.ts +1 -1
  35. package/dist/core/commands/image-commands.js +5 -5
  36. package/dist/core/commands/section-layout-commands.d.cts +1 -1
  37. package/dist/core/commands/section-layout-commands.d.ts +1 -1
  38. package/dist/core/commands/style-commands.d.cts +1 -1
  39. package/dist/core/commands/style-commands.d.ts +1 -1
  40. package/dist/core/commands/table-structure-commands.cjs +32 -0
  41. package/dist/core/commands/table-structure-commands.d.cts +1 -1
  42. package/dist/core/commands/table-structure-commands.d.ts +1 -1
  43. package/dist/core/commands/table-structure-commands.js +4 -4
  44. package/dist/core/commands/text-commands.cjs +99 -38
  45. package/dist/core/commands/text-commands.d.cts +12 -1
  46. package/dist/core/commands/text-commands.d.ts +12 -1
  47. package/dist/core/commands/text-commands.js +5 -5
  48. package/dist/core/selection/mapping.d.cts +1 -1
  49. package/dist/core/selection/mapping.d.ts +1 -1
  50. package/dist/core/state/editor-state.d.cts +1 -1
  51. package/dist/core/state/editor-state.d.ts +1 -1
  52. package/dist/index.cjs +5365 -2298
  53. package/dist/index.d.cts +4 -4
  54. package/dist/index.d.ts +4 -4
  55. package/dist/index.js +388 -63
  56. package/dist/io/docx-session.cjs +7 -2
  57. package/dist/io/docx-session.d.cts +3 -3
  58. package/dist/io/docx-session.d.ts +3 -3
  59. package/dist/io/docx-session.js +4 -4
  60. package/dist/legal.js +3 -3
  61. package/dist/{loader-MAa8VpzW.d.cts → loader-CK3lZy4h.d.cts} +2 -2
  62. package/dist/{loader-CfpeEPAa.d.ts → loader-CQXplstv.d.ts} +2 -2
  63. package/dist/{public-types-KBS6JnOs.d.cts → public-types-BR1SYK2F.d.cts} +783 -189
  64. package/dist/{public-types-Cjs8glST.d.ts → public-types-DXNZVKrS.d.ts} +783 -189
  65. package/dist/public-types.cjs +161 -68
  66. package/dist/public-types.d.cts +1 -1
  67. package/dist/public-types.d.ts +1 -1
  68. package/dist/public-types.js +3 -3
  69. package/dist/runtime/collab.d.cts +2 -2
  70. package/dist/runtime/collab.d.ts +2 -2
  71. package/dist/runtime/document-runtime.cjs +1597 -444
  72. package/dist/runtime/document-runtime.d.cts +1 -1
  73. package/dist/runtime/document-runtime.d.ts +1 -1
  74. package/dist/runtime/document-runtime.js +14 -14
  75. package/dist/{session-CkoH8FoY.d.ts → session-C9UjrhJF.d.ts} +2 -2
  76. package/dist/{session-wwe0Gib-.d.cts → session-CSbwkgII.d.cts} +2 -2
  77. package/dist/session.cjs +7 -2
  78. package/dist/session.d.cts +4 -4
  79. package/dist/session.d.ts +4 -4
  80. package/dist/session.js +5 -5
  81. package/dist/tailwind.cjs +451 -650
  82. package/dist/tailwind.d.cts +1 -1
  83. package/dist/tailwind.d.ts +1 -1
  84. package/dist/tailwind.js +7 -7
  85. package/dist/{types-B3SGRW0w.d.cts → types-CZtAueri.d.cts} +1 -1
  86. package/dist/{types-CH7NWqVL.d.ts → types-RzkCXDNV.d.ts} +1 -1
  87. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
  88. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
  89. package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
  90. package/dist/ui-tailwind.cjs +451 -650
  91. package/dist/ui-tailwind.d.cts +3 -2
  92. package/dist/ui-tailwind.d.ts +3 -2
  93. package/dist/ui-tailwind.js +7 -7
  94. package/package.json +1 -1
@@ -4494,7 +4494,20 @@ function sourceJoinHash(refs) {
4494
4494
  if (sourceIds.length === 0) return void 0;
4495
4495
  return hashText(sourceIds.join("\0"));
4496
4496
  }
4497
+ var numberingCatalogHashCache = /* @__PURE__ */ new WeakMap();
4498
+ var numberingTargetHashCache = /* @__PURE__ */ new WeakMap();
4497
4499
  function createNumberingCatalogRevisionHash(doc) {
4500
+ const numbering = doc.numbering;
4501
+ if (numbering !== void 0) {
4502
+ const cached = numberingCatalogHashCache.get(numbering);
4503
+ if (cached !== void 0) return cached;
4504
+ const fresh = computeNumberingCatalogRevisionHash(doc);
4505
+ numberingCatalogHashCache.set(numbering, fresh);
4506
+ return fresh;
4507
+ }
4508
+ return computeNumberingCatalogRevisionHash(doc);
4509
+ }
4510
+ function computeNumberingCatalogRevisionHash(doc) {
4498
4511
  const catalog = doc.numbering ?? { abstractDefinitions: {}, instances: {} };
4499
4512
  const abstractDefinitions = catalog.abstractDefinitions ?? {};
4500
4513
  const instances = catalog.instances ?? {};
@@ -4545,8 +4558,27 @@ function createNumberingCatalogRevisionHash(doc) {
4545
4558
  }));
4546
4559
  }
4547
4560
  function createNumberingTargetRevisionHash(doc) {
4561
+ const numbering = doc.numbering;
4562
+ const styles = doc.styles;
4563
+ if (numbering !== void 0 && styles !== void 0) {
4564
+ let inner = numberingTargetHashCache.get(numbering);
4565
+ if (inner === void 0) {
4566
+ inner = /* @__PURE__ */ new WeakMap();
4567
+ numberingTargetHashCache.set(numbering, inner);
4568
+ }
4569
+ const cached = inner.get(styles);
4570
+ if (cached !== void 0) return cached;
4571
+ const fresh = computeNumberingTargetRevisionHash(doc);
4572
+ inner.set(styles, fresh);
4573
+ return fresh;
4574
+ }
4575
+ return computeNumberingTargetRevisionHash(doc);
4576
+ }
4577
+ function computeNumberingTargetRevisionHash(doc) {
4548
4578
  const paragraphStyles = doc.styles?.paragraphs ?? {};
4549
4579
  return hashText(JSON.stringify({
4580
+ // Reuses the memoized catalog hash on the hot path so a typing edit
4581
+ // pays for the catalog hash at most once across both helpers.
4550
4582
  numberingCatalogHash: createNumberingCatalogRevisionHash(doc),
4551
4583
  paragraphStyleNumbering: Object.keys(paragraphStyles).sort().map((styleId) => {
4552
4584
  const style = paragraphStyles[styleId];
@@ -8038,6 +8070,7 @@ var PICTURE_EFFECT_SCHEME_ALIASES = {
8038
8070
  bg2: "lt2"
8039
8071
  };
8040
8072
  var EMPTY_EDITABLE_TARGETS_BY_BLOCK_PATH = /* @__PURE__ */ new Map();
8073
+ var NO_EDITABLE_TARGETS_INDEX = EMPTY_EDITABLE_TARGETS_BY_BLOCK_PATH;
8041
8074
  function indexEditableTargetsByBlockPath(document2) {
8042
8075
  const targets = collectEditableTargetRefs(document2);
8043
8076
  if (targets.length === 0) return EMPTY_EDITABLE_TARGETS_BY_BLOCK_PATH;
@@ -10254,7 +10287,8 @@ function buildResolvedSections(document2) {
10254
10287
  const mainSurface = createEditorSurfaceSnapshot(
10255
10288
  document2,
10256
10289
  createSelectionSnapshot(0, 0),
10257
- MAIN_STORY_TARGET
10290
+ MAIN_STORY_TARGET,
10291
+ { editableTargetsByBlockPath: NO_EDITABLE_TARGETS_INDEX }
10258
10292
  );
10259
10293
  const sections = [];
10260
10294
  let sectionStart = 0;
@@ -15731,7 +15765,7 @@ function fnv1a2(input) {
15731
15765
  }
15732
15766
 
15733
15767
  // src/runtime/layout/layout-engine-version.ts
15734
- var LAYOUT_ENGINE_VERSION = 93;
15768
+ var LAYOUT_ENGINE_VERSION = 94;
15735
15769
 
15736
15770
  // src/runtime/layout/layout-engine-instance.ts
15737
15771
  var FULL_VIEWPORT_WINDOW_KEY = "full";
@@ -15957,11 +15991,45 @@ function createLayoutEngine(options = {}) {
15957
15991
  const telemetryBus = options.telemetryBus;
15958
15992
  const dirtyFieldFamilies = /* @__PURE__ */ new Set();
15959
15993
  const listeners = /* @__PURE__ */ new Set();
15960
- let cachedKey = null;
15961
- let cachedGraph = null;
15962
- let cachedFormatting = null;
15963
- let cachedMapper = null;
15994
+ let cachedFull = null;
15995
+ let cachedWindowed = null;
15964
15996
  let previousPageCount = 0;
15997
+ function isFullViewportKey(key) {
15998
+ return key === FULL_VIEWPORT_WINDOW_KEY;
15999
+ }
16000
+ function getCachedSlot(viewportWindowKeyValue) {
16001
+ return isFullViewportKey(viewportWindowKeyValue) ? cachedFull : cachedWindowed;
16002
+ }
16003
+ function preferredCachedGraph() {
16004
+ return cachedFull?.graph ?? cachedWindowed?.graph ?? null;
16005
+ }
16006
+ function clearAllSlots() {
16007
+ cachedFull = null;
16008
+ cachedWindowed = null;
16009
+ }
16010
+ function clearWindowedSlot() {
16011
+ cachedWindowed = null;
16012
+ }
16013
+ function evictStaleSiblingSlot(freshKey) {
16014
+ const sibling = isFullViewportKey(freshKey.viewportWindowKey) ? cachedWindowed : cachedFull;
16015
+ if (sibling === null) return;
16016
+ if (sibling.key.content === freshKey.content && sibling.key.styles === freshKey.styles && sibling.key.subParts === freshKey.subParts) {
16017
+ return;
16018
+ }
16019
+ if (isFullViewportKey(freshKey.viewportWindowKey)) {
16020
+ cachedWindowed = null;
16021
+ } else {
16022
+ cachedFull = null;
16023
+ }
16024
+ }
16025
+ function commitSlot(slot) {
16026
+ if (isFullViewportKey(slot.key.viewportWindowKey)) {
16027
+ cachedFull = slot;
16028
+ } else {
16029
+ cachedWindowed = slot;
16030
+ }
16031
+ evictStaleSiblingSlot(slot.key);
16032
+ }
15965
16033
  let pendingInvalidation = null;
15966
16034
  function emit(event) {
15967
16035
  for (const listener of listeners) {
@@ -16107,27 +16175,31 @@ function createLayoutEngine(options = {}) {
16107
16175
  subParts: document2.subParts,
16108
16176
  anchors: layoutInputs.anchors
16109
16177
  });
16178
+ const priorGraphForMaterialization = preferredCachedGraph();
16110
16179
  const graph = applyViewportWindowMaterialization(
16111
16180
  measuredGraph,
16112
16181
  viewportWindow,
16113
- cachedGraph
16182
+ priorGraphForMaterialization
16114
16183
  );
16115
- const dirtyFamilies = computeFieldDirtiness(cachedGraph, graph);
16184
+ const priorGraphForFieldDirtiness = preferredCachedGraph();
16185
+ const dirtyFamilies = computeFieldDirtiness(priorGraphForFieldDirtiness, graph);
16116
16186
  for (const family of dirtyFamilies) {
16117
16187
  dirtyFieldFamilies.add(family);
16118
16188
  }
16119
16189
  const formatting = buildResolvedFormattingState(document2, mainSurface);
16120
16190
  const currentPageCount = graph.contentPageCount;
16121
16191
  const pageCountDelta = currentPageCount !== previousPageCount ? { previous: previousPageCount, current: currentPageCount } : void 0;
16122
- cachedKey = {
16123
- content: document2.content,
16124
- styles: document2.styles,
16125
- subParts: document2.subParts,
16126
- viewportWindowKey: viewportWindowKey(viewportWindow)
16127
- };
16128
- cachedGraph = graph;
16129
- cachedFormatting = formatting;
16130
- cachedMapper = createPageFragmentMapper(graph);
16192
+ commitSlot({
16193
+ key: {
16194
+ content: document2.content,
16195
+ styles: document2.styles,
16196
+ subParts: document2.subParts,
16197
+ viewportWindowKey: viewportWindowKey(viewportWindow)
16198
+ },
16199
+ graph,
16200
+ formatting,
16201
+ mapper: createPageFragmentMapper(graph)
16202
+ });
16131
16203
  if (pageCountDelta) {
16132
16204
  emit({
16133
16205
  kind: "page_count_changed",
@@ -16168,7 +16240,7 @@ function createLayoutEngine(options = {}) {
16168
16240
  return graph;
16169
16241
  }
16170
16242
  function incrementalRelayout(input, pending) {
16171
- const priorGraph = cachedGraph;
16243
+ const priorGraph = cachedFull?.graph ?? null;
16172
16244
  const range = pending.result.dirtyPageRange;
16173
16245
  if (!priorGraph || !range) return null;
16174
16246
  const telemetryOn = telemetryBus?.isEnabled("layout") ?? false;
@@ -16261,6 +16333,22 @@ function createLayoutEngine(options = {}) {
16261
16333
  deriveDocumentPageSnapshots(splicedGraph)
16262
16334
  );
16263
16335
  const pageCountDelta = currentPageCount !== previousPageCount ? { previous: previousPageCount, current: currentPageCount } : void 0;
16336
+ const priorMapper = cachedFull?.mapper ?? null;
16337
+ commitSlot({
16338
+ key: {
16339
+ content: document2.content,
16340
+ styles: document2.styles,
16341
+ subParts: document2.subParts,
16342
+ viewportWindowKey: FULL_VIEWPORT_WINDOW_KEY
16343
+ },
16344
+ graph: splicedGraph,
16345
+ formatting,
16346
+ mapper: rebuildMapper(
16347
+ priorMapper ?? createPageFragmentMapper(splicedGraph),
16348
+ splicedGraph,
16349
+ firstDirty
16350
+ )
16351
+ });
16264
16352
  if (pageCountDelta) {
16265
16353
  emit({
16266
16354
  kind: "page_count_changed",
@@ -16290,19 +16378,6 @@ function createLayoutEngine(options = {}) {
16290
16378
  ...dirtyFamilies.length > 0 ? { dirtyFieldFamilies: dirtyFamilies } : {},
16291
16379
  ...pageCountDelta ? { pageCountDelta } : {}
16292
16380
  });
16293
- cachedKey = {
16294
- content: document2.content,
16295
- styles: document2.styles,
16296
- subParts: document2.subParts,
16297
- viewportWindowKey: FULL_VIEWPORT_WINDOW_KEY
16298
- };
16299
- cachedGraph = splicedGraph;
16300
- cachedFormatting = formatting;
16301
- cachedMapper = rebuildMapper(
16302
- cachedMapper ?? createPageFragmentMapper(splicedGraph),
16303
- splicedGraph,
16304
- firstDirty
16305
- );
16306
16381
  if (telemetryOn) {
16307
16382
  emitRecomputeCompleted(
16308
16383
  "bounded",
@@ -16319,13 +16394,14 @@ function createLayoutEngine(options = {}) {
16319
16394
  const document2 = input.document;
16320
16395
  const normalizedWindow = normalizeViewportPageWindow(input.viewportPageWindow);
16321
16396
  const currentViewportWindowKey = viewportWindowKey(normalizedWindow);
16322
- const keyEqual = cachedGraph !== null && cachedKey !== null && cachedKey.content === document2.content && cachedKey.styles === document2.styles && cachedKey.subParts === document2.subParts && cachedKey.viewportWindowKey === currentViewportWindowKey;
16397
+ const slot = getCachedSlot(currentViewportWindowKey);
16398
+ const keyEqual = slot !== null && slot.key.content === document2.content && slot.key.styles === document2.styles && slot.key.subParts === document2.subParts && slot.key.viewportWindowKey === currentViewportWindowKey;
16323
16399
  if (keyEqual && pendingInvalidation === null) {
16324
- return cachedGraph;
16400
+ return slot.graph;
16325
16401
  }
16326
16402
  const pending = pendingInvalidation;
16327
16403
  pendingInvalidation = null;
16328
- if (pending !== null && pending.result.scope === "bounded" && cachedGraph !== null && normalizedWindow === void 0) {
16404
+ if (pending !== null && pending.result.scope === "bounded" && cachedFull !== null && normalizedWindow === void 0) {
16329
16405
  const spliced = incrementalRelayout(input, pending);
16330
16406
  if (spliced !== null) {
16331
16407
  return spliced;
@@ -16334,16 +16410,39 @@ function createLayoutEngine(options = {}) {
16334
16410
  }
16335
16411
  return fullRebuild(input, pending?.reason);
16336
16412
  }
16413
+ function ensureSlotMapperAndFormatting(slot, document2) {
16414
+ if (slot.mapper === null) {
16415
+ slot.mapper = createPageFragmentMapper(slot.graph);
16416
+ }
16417
+ if (slot.formatting === null) {
16418
+ const mainSurface = createEditorSurfaceSnapshot(
16419
+ document2,
16420
+ createSelectionSnapshot(0, 0),
16421
+ MAIN_STORY_TARGET
16422
+ );
16423
+ slot.formatting = buildResolvedFormattingState(document2, mainSurface);
16424
+ }
16425
+ }
16337
16426
  function getMapper(input) {
16338
16427
  getGraphInternal(input);
16339
- return cachedMapper;
16428
+ const currentViewportWindowKey = viewportWindowKey(
16429
+ normalizeViewportPageWindow(input.viewportPageWindow)
16430
+ );
16431
+ const slot = getCachedSlot(currentViewportWindowKey);
16432
+ ensureSlotMapperAndFormatting(slot, input.document);
16433
+ return slot.mapper;
16340
16434
  }
16341
16435
  function getFormatting(input) {
16342
16436
  getGraphInternal(input);
16343
- return cachedFormatting;
16437
+ const currentViewportWindowKey = viewportWindowKey(
16438
+ normalizeViewportPageWindow(input.viewportPageWindow)
16439
+ );
16440
+ const slot = getCachedSlot(currentViewportWindowKey);
16441
+ ensureSlotMapperAndFormatting(slot, input.document);
16442
+ return slot.formatting;
16344
16443
  }
16345
16444
  if (autoUpgradeToCanvas && options.measurementProvider === void 0 && typeof document !== "undefined" && typeof HTMLCanvasElement !== "undefined") {
16346
- const readCachedRevision = () => cachedGraph?.revision ?? 0;
16445
+ const readCachedRevision = () => preferredCachedGraph()?.revision ?? 0;
16347
16446
  void (async () => {
16348
16447
  try {
16349
16448
  const mod = await Promise.resolve().then(() => (init_measurement_backend_canvas(), measurement_backend_canvas_exports));
@@ -16353,10 +16452,7 @@ function createLayoutEngine(options = {}) {
16353
16452
  options.measurementCache,
16354
16453
  telemetryBus
16355
16454
  );
16356
- cachedKey = null;
16357
- cachedGraph = null;
16358
- cachedFormatting = null;
16359
- cachedMapper = null;
16455
+ clearAllSlots();
16360
16456
  emit({
16361
16457
  kind: "measurement_backend_ready",
16362
16458
  revision: readCachedRevision(),
@@ -16400,22 +16496,19 @@ function createLayoutEngine(options = {}) {
16400
16496
  return getMapper(input);
16401
16497
  },
16402
16498
  invalidate(reason) {
16403
- const result = analyzeInvalidation(reason, cachedGraph);
16499
+ const result = analyzeInvalidation(reason, preferredCachedGraph());
16404
16500
  for (const family of result.dirtyFieldFamilies) {
16405
16501
  dirtyFieldFamilies.add(family);
16406
16502
  }
16407
16503
  if (result.scope === "bounded") {
16408
16504
  pendingInvalidation = { reason, result };
16409
16505
  } else {
16410
- cachedKey = null;
16411
- cachedGraph = null;
16412
- cachedFormatting = null;
16413
- cachedMapper = null;
16506
+ clearAllSlots();
16414
16507
  pendingInvalidation = { reason, result };
16415
16508
  }
16416
16509
  },
16417
16510
  analyzeInvalidation(reason) {
16418
- return analyzeInvalidation(reason, cachedGraph);
16511
+ return analyzeInvalidation(reason, preferredCachedGraph());
16419
16512
  },
16420
16513
  getDirtyFieldFamilies() {
16421
16514
  return Array.from(dirtyFieldFamilies);
@@ -16443,14 +16536,11 @@ function createLayoutEngine(options = {}) {
16443
16536
  telemetryBus
16444
16537
  );
16445
16538
  if (previousFidelity !== provider.fidelity) {
16446
- cachedKey = null;
16447
- cachedGraph = null;
16448
- cachedFormatting = null;
16449
- cachedMapper = null;
16539
+ clearAllSlots();
16450
16540
  }
16451
16541
  emit({
16452
16542
  kind: "measurement_backend_ready",
16453
- revision: cachedGraph?.revision ?? 0,
16543
+ revision: preferredCachedGraph()?.revision ?? 0,
16454
16544
  fidelity: provider.fidelity
16455
16545
  });
16456
16546
  },
@@ -16465,30 +16555,33 @@ function createLayoutEngine(options = {}) {
16465
16555
  */
16466
16556
  invalidateMeasurementCache() {
16467
16557
  measurementProvider.invalidateCache();
16468
- cachedKey = null;
16469
- cachedGraph = null;
16470
- cachedFormatting = null;
16471
- cachedMapper = null;
16558
+ clearAllSlots();
16472
16559
  },
16473
16560
  getMeasurementCacheStats() {
16474
16561
  if (!isCachedLayoutMeasurementProvider(measurementProvider)) return null;
16475
16562
  return measurementProvider.measurementCacheStats();
16476
16563
  },
16477
16564
  /**
16478
- * L7 Phase 2.5 — seed the cached graph from a prerender envelope.
16479
- * Populates both `cachedGraph` and `cachedKey` (keyed on the provided
16480
- * document's identity-equal slots) so the next getPageGraph query
16481
- * returns the seeded graph directly. Any subsequent mutation
16482
- * invalidates normally through the existing path.
16565
+ * L7 Phase 2.5 — seed the full-slot cached graph from a prerender
16566
+ * envelope. Populates the full slot (graph + key, with formatting and
16567
+ * mapper computed lazily on first read) so the next viewport-
16568
+ * independent `getPageGraph` query returns the seeded graph directly.
16569
+ * Any subsequent mutation invalidates normally through the existing
16570
+ * path; sibling eviction in `commitSlot` clears `cachedWindowed` if
16571
+ * it carried a different document tuple.
16483
16572
  */
16484
16573
  seedCachedGraph(graph, document2) {
16485
- cachedGraph = graph;
16486
- cachedKey = {
16487
- content: document2.content,
16488
- styles: document2.styles,
16489
- subParts: document2.subParts,
16490
- viewportWindowKey: FULL_VIEWPORT_WINDOW_KEY
16491
- };
16574
+ commitSlot({
16575
+ key: {
16576
+ content: document2.content,
16577
+ styles: document2.styles,
16578
+ subParts: document2.subParts,
16579
+ viewportWindowKey: FULL_VIEWPORT_WINDOW_KEY
16580
+ },
16581
+ graph,
16582
+ formatting: null,
16583
+ mapper: null
16584
+ });
16492
16585
  previousPageCount = graph.contentPageCount;
16493
16586
  }
16494
16587
  };
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, hj as LayoutInputIdentity, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hk as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hl as OverlayKind, hm as OverlayVisibilityAuthorship, hn as OverlayVisibilityEnforcement, ho as OverlayVisibilityPolicy, hp as PERCENTAGE_PARTS, hq as PageChromeReservations, hr as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hs as PagePatchEntry, ht as PagePatchPlan, hu as PagePatchReason, hv as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hw as ProtectionRange, t as ProtectionSnapshot, hx as PublicBlockFragment, hy as PublicBlockMeasurement, hz as PublicBorderSpec, hA as PublicCellLocator, hB as PublicCellShading, hC as PublicFieldDirtinessReport, hD as PublicLayoutDivergence, hE as PublicLineBox, hF as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hG as PublicNoteAllocation, hH as PublicPageAnchor, hI as PublicPageFrame, hJ as PublicPageLocalStoryInstance, hK as PublicPageNode, hL as PublicPagePaginationTelemetry, hM as PublicPageRegion, hN as PublicPageRegions, hO as PublicPageSpan, hP as PublicPaginationTelemetry, hQ as PublicRegionBlock, hR as PublicRegionKind, hS as PublicResolvedPageStories, hT as PublicResolvedParagraphFormatting, hU as PublicResolvedRunFormatting, hV as PublicResolvedStoryField, hW as PublicSectionNode, hX as PublicStoryAnchoredObject, hY as PublicTableBorders, hZ as PublicTableCellBorders, h_ as PublicTableCellMargins, h$ as PublicTableEvent, i0 as PublicTableRenderPlan, i1 as PublicTableRowHeight, i2 as PublicTableStyle, i3 as PublicTableSummary, i4 as PublicTableWidth, i5 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i6 as ROTATION_UNITS_PER_DEGREE, i7 as RenderAnchorIndex, i8 as RenderAnchorQuery, i9 as RenderBlock, ia as RenderBlockDecoration, ib as RenderFrame, ic as RenderFrameQueryOptions, id as RenderFrameRect, ie as RenderHitResult, ig as RenderKernelEvent, ih as RenderLine, ii as RenderLineAnchor, ij as RenderPage, ik as RenderPageRegions, il as RenderPoint, im as RenderStoryRegion, io as RenderZoom, ip as RenderZoomSummary, iq as ResolveMetadataConflictInput, ir as ResolvedNumberingGeometrySnapshot, is as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, it as RuntimeEditTargetContext, be as RuntimePageGraph, iu as RuntimePageNode, R as RuntimeRenderSnapshot, iv as SRCRECT_UNITS_PER_PERCENT, iw as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, ix as ScopeBundle, iy as ScopeBundleEvidence, iz as ScopeBundleNeighborhood, dA as ScopeCardModel, iA as ScopeChromeVisibility, iB as ScopeChromeVisibilityState, iC as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iD as ScopeQueryFilter, iE as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iF as ScopeRailSnapshot, iG as ScopeTagRegistry, dF as ScopeTagTouch, iH as ScopeVisibility, j as SearchOptions, iI as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iJ as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iK as SemanticScope, iL as SemanticScopeKind, e_ as SessionCapabilities, iM as SetSelectionOptions, aL as SharedWorkflowState, iN as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iO as StorageReference, iP as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iQ as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iR as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iS as SurfacePictureEffects, iT as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iU as SurfaceTextBoxBodyProperties, iV as SurfaceTextBoxBodySnapshot, iW as SurfaceTextBoxBodyStatus, iX as SurfaceTextBoxParagraphSnapshot, iY as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iZ as TWIPS_PER_PX, i_ as TableOp, i$ as TableOpResult, j0 as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, j1 as TextStyleFilter, ea as TocEntrySnapshot, j2 as TocRefreshOptions, j3 as TocRefreshResult, j4 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j5 as UpdateFieldsOptions, j6 as UpdateFieldsResult, ef as ViewMode, j7 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j8 as WordReviewEditorCommentsFacet, j9 as WordReviewEditorDiagnosticsFacet, ja as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, jb as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, jc as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, jd as WordReviewEditorScopesFacet, je as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jf as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jg as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jh as WorkflowMarkupMode, ji as WorkflowMarkupModeEnforcement, jj as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jk as WorkflowScopeGuardPolicy, jl as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, jm as buildPagePreviewMaps, jn as buildSearchPattern, jo as createCanvasBackend, jp as createPagePatchPlan, jq as createPublicNodeAnchor, jr as createPublicRangeAnchor, js as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jt as estimateBlockHeight, ju as estimateParagraphLineCount, jv as estimateParagraphLineHeight, jw as findPageForOffset, n as findSearchMatches, jx as getUsableColumnWidth, jy as resolvePageFieldDisplayText, jz as sanitizeMarkdown, s as searchSecondaryStories, jA as storyTargetKey, fF as storyTargetsEqual } from '../public-types-KBS6JnOs.cjs';
2
+ export { bn as ActiveListContext, gT as ActiveMarginPreset, bo as ActiveNoteContext, gU as ActivePageFormat, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, gV as AddScopeParams, gW as AddScopeResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, bw as AutosaveConfig, bx as AutosaveState, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, gX as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gY as CanonicalDocumentFragment, gZ as CapabilityBlockReason, g_ as CapabilityCategory, g$ as CapabilityKind, h0 as CapabilityShortcut, bD as CaretAffinity, bE as ChangeAnchor, bF as ChangeFilter, bG as ChartPreviewResolveParams, bH as ChartSnapshot, bI as ChartSnapshotBubbleSeries, bJ as ChartSnapshotData, bK as ChartSnapshotScatterSeries, bL as ChartSnapshotSeries, f2 as ChromePinSurface, fl as ChromePinsState, h1 as ClearHighlightOptions, bN as CollabSession, bT as CommandStateSnapshot, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, r as CompatibilityReport, h2 as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, h3 as DEFAULT_PX_PER_TWIP, h4 as DecorationIndex, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, h5 as DocumentMode, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, h6 as EMU_PER_INCH, h7 as EMU_PER_PX, fo as EditableTargetRef, cs as EditorAnchorProjection, h8 as EditorApiError, h9 as EditorCapability, ct as EditorDatastoreAdapter, ha as EditorDiagnostic, hb as EditorDiagnosticCode, hc as EditorDiagnosticLlmMetadata, hd as EditorDiagnosticRecoveryClass, he as EditorDiagnosticRemediation, hf as EditorDiagnosticSource, hg as EditorDiagnosticTechnical, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, fh as EditorRole, a as EditorSessionState, cv as EditorStateBlob, aA as EditorStateLocation, az as EditorStateNamespace, cw as EditorStatePartLoadFailure, cx as EditorStatePartPersistFailure, cy as EditorStatePersister, cz as EditorStatePolicy, cA as EditorStatePolicyEntry, cB as EditorStatePolicyMigration, cC as EditorStateResolveErrorMode, cD as EditorStateResolver, cE as EditorStateStorageRef, cF as EditorStoryTarget, d as EditorSurfaceSnapshot, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, hh as EffectiveSelectionMode, hi as EmbeddedDocumentManifestLike, hj as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cM as ExternalDocumentSource, hk as FieldEntrySnapshot, hl as FieldFamily, hm as FieldRefreshStatus, hn as FieldSnapshot, f4 as FormattingAlignment, ho as FormattingBreadcrumbItem, fc as FormattingStateSnapshot, f8 as GeometryFacet, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, f5 as InsertImageOptions, I as InsertTableOptions, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, hp as LayoutFacetEvent, hq as LayoutFacetInvalidationReason, hr as LayoutInputIdentity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, L as LoadStage, fw as MAIN_STORY_TARGET, M as MarginPresetDefinition, hs as MetadataConflictPolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, ht as OverlayKind, hu as OverlayVisibilityAuthorship, hv as OverlayVisibilityEnforcement, hw as OverlayVisibilityPolicy, hx as PERCENTAGE_PARTS, hy as PageChromeReservations, hz as PageFieldContext, k as PageFormatDefinition, d8 as PageLayoutSnapshot, hA as PagePatchEntry, hB as PagePatchPlan, hC as PagePatchReason, hD as PagePreviewMaps, d9 as PageRegionHitTest, P as PersistedEditorSnapshot, f3 as PinState, hE as ProtectionRange, u as ProtectionSnapshot, hF as PublicBlockFragment, hG as PublicBlockMeasurement, hH as PublicBorderSpec, hI as PublicCellLocator, hJ as PublicCellShading, hK as PublicFieldDirtinessReport, hL as PublicLayoutDivergence, hM as PublicLineBox, hN as PublicLineRunAnchor, fm as PublicMeasurementFidelity, hO as PublicNoteAllocation, hP as PublicPageAnchor, hQ as PublicPageFrame, hR as PublicPageLocalStoryInstance, hS as PublicPageNode, hT as PublicPagePaginationTelemetry, hU as PublicPageRegion, hV as PublicPageRegions, hW as PublicPageSpan, hX as PublicPaginationTelemetry, hY as PublicRegionBlock, hZ as PublicRegionKind, h_ as PublicResolvedPageStories, h$ as PublicResolvedParagraphFormatting, i0 as PublicResolvedRunFormatting, i1 as PublicResolvedStoryField, i2 as PublicSectionNode, i3 as PublicStoryAnchoredObject, i4 as PublicTableBorders, i5 as PublicTableCellBorders, i6 as PublicTableCellMargins, i7 as PublicTableEvent, i8 as PublicTableRenderPlan, i9 as PublicTableRowHeight, ia as PublicTableStyle, ib as PublicTableSummary, ic as PublicTableWidth, id as PublicTwipsRect, de as REVIEW_ACTION_METADATA_ID, ie as ROTATION_UNITS_PER_DEGREE, ig as RenderAnchorIndex, ih as RenderAnchorQuery, ii as RenderBlock, ij as RenderBlockDecoration, ik as RenderFrame, il as RenderFrameQueryOptions, im as RenderFrameRect, io as RenderHitResult, ip as RenderKernelEvent, iq as RenderLine, ir as RenderLineAnchor, is as RenderPage, it as RenderPageRegions, iu as RenderPoint, iv as RenderStoryRegion, iw as RenderZoom, ix as RenderZoomSummary, iy as ResolveMetadataConflictInput, iz as ResolvedNumberingGeometrySnapshot, iA as ResolvedNumberingSnapshot, df as RestorePointCheckpointType, dg as RestorePointSnapshot, dh as RestoreResult, di as ReviewActionKind, dj as ReviewActionMetadataValue, dk as ReviewQueueItem, dl as ReviewQueueItemKind, dm as ReviewQueueSnapshot, dn as ReviewWorkItemSnapshot, dp as ReviewWorkSnapshot, dq as RuntimeContextAnalyticsActionHint, dr as RuntimeContextAnalyticsBadge, ds as RuntimeContextAnalyticsCounts, dt as RuntimeContextAnalyticsProvenance, du as RuntimeContextAnalyticsQuery, dv as RuntimeContextAnalyticsScopeKind, dw as RuntimeContextAnalyticsSnapshot, dx as RuntimeContextAnalyticsState, dy as RuntimeContextAnalyticsUnavailableField, iB as RuntimeEditTargetContext, bm as RuntimePageGraph, iC as RuntimePageNode, R as RuntimeRenderSnapshot, iD as SRCRECT_UNITS_PER_PERCENT, iE as SanitizeResult, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, iF as ScopeBundle, iG as ScopeBundleEvidence, iH as ScopeBundleNeighborhood, dI as ScopeCardModel, iI as ScopeChromeVisibility, iJ as ScopeChromeVisibilityState, iK as ScopeHandle, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, iL as ScopeQueryFilter, iM as ScopeQueryResult, fk as ScopeRailPosture, f1 as ScopeRailSegment, iN as ScopeRailSnapshot, iO as ScopeTagRegistry, dN as ScopeTagTouch, iP as ScopeVisibility, l as SearchOptions, iQ as SearchResultSnapshot, m as SearchTextOptions, n as SecondaryStorySearchResult, iR as SecondaryStorySurface, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, iS as SemanticScope, iT as SemanticScopeKind, f6 as SessionCapabilities, iU as SetSelectionOptions, aT as SharedWorkflowState, iV as ShortcutDelegationContext, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, iW as StorageReference, iX as StoreEmbeddedDocParams, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, iY as SupportedFieldFamily, e3 as SurfaceBlockSnapshot, iZ as SurfaceDrawingAnchor, e4 as SurfaceInlineSegment, i_ as SurfacePictureEffects, i$ as SurfacePreserveOnlyObjectSizing, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, j0 as SurfaceTextBoxBodyProperties, j1 as SurfaceTextBoxBodySnapshot, j2 as SurfaceTextBoxBodyStatus, j3 as SurfaceTextBoxParagraphSnapshot, j4 as SurfaceTextBoxRunSnapshot, e7 as SurfaceTextMark, j5 as TWIPS_PER_PX, j6 as TableOp, j7 as TableOpResult, j8 as TableOperationCapabilitySnapshot, fg as TableStructureContextSnapshot, b8 as TextCommandAck, ed as TextCommandAckKind, b9 as TextCommandRefreshClass, h as TextFormattingDirective, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, j9 as TextStyleFilter, ei as TocEntrySnapshot, ja as TocRefreshOptions, jb as TocRefreshResult, jc as TocRefreshTrigger, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, jd as UpdateFieldsOptions, je as UpdateFieldsResult, en as ViewMode, jf as WordReviewEditorChangesFacet, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, jg as WordReviewEditorCommentsFacet, jh as WordReviewEditorDiagnosticsFacet, ji as WordReviewEditorDocumentFacet, er as WordReviewEditorEvent, jj as WordReviewEditorFieldsFacet, f7 as WordReviewEditorLayoutFacet, jk as WordReviewEditorPasteEvent, ba as WordReviewEditorProps, bb as WordReviewEditorRef, jl as WordReviewEditorScopesFacet, jm as WordReviewEditorTablesFacet, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, jn as WorkflowEventOrigin, f9 as WorkflowFacet, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, jo as WorkflowLockedZone, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, jp as WorkflowMarkupMode, jq as WorkflowMarkupModeEnforcement, jr as WorkflowMarkupModePolicy, eB as WorkflowMarkupSnapshot, eC as WorkflowMetadataDefinition, eD as WorkflowMetadataEntry, eE as WorkflowMetadataMarkup, eF as WorkflowMetadataPersistence, eG as WorkflowMetadataSnapshot, eH as WorkflowOpaqueFragmentMarkup, eI as WorkflowOverlay, eJ as WorkflowOverlayPatch, eK as WorkflowProtectedRangeMarkup, eL as WorkflowRevisionMarkup, eM as WorkflowScope, js as WorkflowScopeGuardPolicy, jt as WorkflowScopeMetadataField, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ju as buildPagePreviewMaps, jv as buildSearchPattern, jw as createCanvasBackend, jx as createPagePatchPlan, jy as createPublicNodeAnchor, jz as createPublicRangeAnchor, jA as createScopeTagRegistry, o as createSearchExcerpt, fp as deriveCapabilities, jB as estimateBlockHeight, jC as estimateParagraphLineCount, jD as estimateParagraphLineHeight, jE as findPageForOffset, p as findSearchMatches, jF as getUsableColumnWidth, jG as resolvePageFieldDisplayText, jH as sanitizeMarkdown, s as searchSecondaryStories, jI as storyTargetKey, fN as storyTargetsEqual } from '../public-types-BR1SYK2F.cjs';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
5
  export { ad as AreaChartModel, ae as Axis, af as AxisBase, ag as BarChartModel, B as BlockNode, ah as BubbleChartModel, ai as BubbleSeries, a2 as CanonicalParagraphFormatting, a0 as CanonicalRunFormatting, aj as CategoryAxis, ak as CategoryLikeAxis, al as ChartCommon, a6 as ChartModel, am as ColorMod, a8 as ColorRef, an as ComboChartModel, ao as DataLabelsSpec, ap as DataPointOverride, aq as DateAxis, a3 as FillSpec, ar as Legend, as as LineChartModel, at as LineSeries, au as MarkerSpec, av as PieChartModel, aw as PieSeries, a7 as ResolvedTheme, ax as ScatterChartModel, ay as ScatterSeries, az as Series, aA as SeriesAxis, aB as SeriesBase, aC as ShapeProperties, a5 as StrokeSpec, G as TextMark, a4 as TextProperties, aD as Title, aE as UnsupportedChartModel, aF as UnsupportedReason, aG as ValueAxis } from '../canonical-document-CfZIc-fC.cjs';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, hj as LayoutInputIdentity, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hk as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hl as OverlayKind, hm as OverlayVisibilityAuthorship, hn as OverlayVisibilityEnforcement, ho as OverlayVisibilityPolicy, hp as PERCENTAGE_PARTS, hq as PageChromeReservations, hr as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hs as PagePatchEntry, ht as PagePatchPlan, hu as PagePatchReason, hv as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hw as ProtectionRange, t as ProtectionSnapshot, hx as PublicBlockFragment, hy as PublicBlockMeasurement, hz as PublicBorderSpec, hA as PublicCellLocator, hB as PublicCellShading, hC as PublicFieldDirtinessReport, hD as PublicLayoutDivergence, hE as PublicLineBox, hF as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hG as PublicNoteAllocation, hH as PublicPageAnchor, hI as PublicPageFrame, hJ as PublicPageLocalStoryInstance, hK as PublicPageNode, hL as PublicPagePaginationTelemetry, hM as PublicPageRegion, hN as PublicPageRegions, hO as PublicPageSpan, hP as PublicPaginationTelemetry, hQ as PublicRegionBlock, hR as PublicRegionKind, hS as PublicResolvedPageStories, hT as PublicResolvedParagraphFormatting, hU as PublicResolvedRunFormatting, hV as PublicResolvedStoryField, hW as PublicSectionNode, hX as PublicStoryAnchoredObject, hY as PublicTableBorders, hZ as PublicTableCellBorders, h_ as PublicTableCellMargins, h$ as PublicTableEvent, i0 as PublicTableRenderPlan, i1 as PublicTableRowHeight, i2 as PublicTableStyle, i3 as PublicTableSummary, i4 as PublicTableWidth, i5 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i6 as ROTATION_UNITS_PER_DEGREE, i7 as RenderAnchorIndex, i8 as RenderAnchorQuery, i9 as RenderBlock, ia as RenderBlockDecoration, ib as RenderFrame, ic as RenderFrameQueryOptions, id as RenderFrameRect, ie as RenderHitResult, ig as RenderKernelEvent, ih as RenderLine, ii as RenderLineAnchor, ij as RenderPage, ik as RenderPageRegions, il as RenderPoint, im as RenderStoryRegion, io as RenderZoom, ip as RenderZoomSummary, iq as ResolveMetadataConflictInput, ir as ResolvedNumberingGeometrySnapshot, is as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, it as RuntimeEditTargetContext, be as RuntimePageGraph, iu as RuntimePageNode, R as RuntimeRenderSnapshot, iv as SRCRECT_UNITS_PER_PERCENT, iw as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, ix as ScopeBundle, iy as ScopeBundleEvidence, iz as ScopeBundleNeighborhood, dA as ScopeCardModel, iA as ScopeChromeVisibility, iB as ScopeChromeVisibilityState, iC as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iD as ScopeQueryFilter, iE as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iF as ScopeRailSnapshot, iG as ScopeTagRegistry, dF as ScopeTagTouch, iH as ScopeVisibility, j as SearchOptions, iI as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iJ as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iK as SemanticScope, iL as SemanticScopeKind, e_ as SessionCapabilities, iM as SetSelectionOptions, aL as SharedWorkflowState, iN as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iO as StorageReference, iP as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iQ as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iR as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iS as SurfacePictureEffects, iT as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iU as SurfaceTextBoxBodyProperties, iV as SurfaceTextBoxBodySnapshot, iW as SurfaceTextBoxBodyStatus, iX as SurfaceTextBoxParagraphSnapshot, iY as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iZ as TWIPS_PER_PX, i_ as TableOp, i$ as TableOpResult, j0 as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, j1 as TextStyleFilter, ea as TocEntrySnapshot, j2 as TocRefreshOptions, j3 as TocRefreshResult, j4 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j5 as UpdateFieldsOptions, j6 as UpdateFieldsResult, ef as ViewMode, j7 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j8 as WordReviewEditorCommentsFacet, j9 as WordReviewEditorDiagnosticsFacet, ja as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, jb as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, jc as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, jd as WordReviewEditorScopesFacet, je as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jf as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jg as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jh as WorkflowMarkupMode, ji as WorkflowMarkupModeEnforcement, jj as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jk as WorkflowScopeGuardPolicy, jl as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, jm as buildPagePreviewMaps, jn as buildSearchPattern, jo as createCanvasBackend, jp as createPagePatchPlan, jq as createPublicNodeAnchor, jr as createPublicRangeAnchor, js as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jt as estimateBlockHeight, ju as estimateParagraphLineCount, jv as estimateParagraphLineHeight, jw as findPageForOffset, n as findSearchMatches, jx as getUsableColumnWidth, jy as resolvePageFieldDisplayText, jz as sanitizeMarkdown, s as searchSecondaryStories, jA as storyTargetKey, fF as storyTargetsEqual } from '../public-types-Cjs8glST.js';
2
+ export { bn as ActiveListContext, gT as ActiveMarginPreset, bo as ActiveNoteContext, gU as ActivePageFormat, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, gV as AddScopeParams, gW as AddScopeResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, bw as AutosaveConfig, bx as AutosaveState, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, gX as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gY as CanonicalDocumentFragment, gZ as CapabilityBlockReason, g_ as CapabilityCategory, g$ as CapabilityKind, h0 as CapabilityShortcut, bD as CaretAffinity, bE as ChangeAnchor, bF as ChangeFilter, bG as ChartPreviewResolveParams, bH as ChartSnapshot, bI as ChartSnapshotBubbleSeries, bJ as ChartSnapshotData, bK as ChartSnapshotScatterSeries, bL as ChartSnapshotSeries, f2 as ChromePinSurface, fl as ChromePinsState, h1 as ClearHighlightOptions, bN as CollabSession, bT as CommandStateSnapshot, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, r as CompatibilityReport, h2 as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, h3 as DEFAULT_PX_PER_TWIP, h4 as DecorationIndex, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, h5 as DocumentMode, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, h6 as EMU_PER_INCH, h7 as EMU_PER_PX, fo as EditableTargetRef, cs as EditorAnchorProjection, h8 as EditorApiError, h9 as EditorCapability, ct as EditorDatastoreAdapter, ha as EditorDiagnostic, hb as EditorDiagnosticCode, hc as EditorDiagnosticLlmMetadata, hd as EditorDiagnosticRecoveryClass, he as EditorDiagnosticRemediation, hf as EditorDiagnosticSource, hg as EditorDiagnosticTechnical, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, fh as EditorRole, a as EditorSessionState, cv as EditorStateBlob, aA as EditorStateLocation, az as EditorStateNamespace, cw as EditorStatePartLoadFailure, cx as EditorStatePartPersistFailure, cy as EditorStatePersister, cz as EditorStatePolicy, cA as EditorStatePolicyEntry, cB as EditorStatePolicyMigration, cC as EditorStateResolveErrorMode, cD as EditorStateResolver, cE as EditorStateStorageRef, cF as EditorStoryTarget, d as EditorSurfaceSnapshot, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, hh as EffectiveSelectionMode, hi as EmbeddedDocumentManifestLike, hj as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cM as ExternalDocumentSource, hk as FieldEntrySnapshot, hl as FieldFamily, hm as FieldRefreshStatus, hn as FieldSnapshot, f4 as FormattingAlignment, ho as FormattingBreadcrumbItem, fc as FormattingStateSnapshot, f8 as GeometryFacet, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, f5 as InsertImageOptions, I as InsertTableOptions, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, hp as LayoutFacetEvent, hq as LayoutFacetInvalidationReason, hr as LayoutInputIdentity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, L as LoadStage, fw as MAIN_STORY_TARGET, M as MarginPresetDefinition, hs as MetadataConflictPolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, ht as OverlayKind, hu as OverlayVisibilityAuthorship, hv as OverlayVisibilityEnforcement, hw as OverlayVisibilityPolicy, hx as PERCENTAGE_PARTS, hy as PageChromeReservations, hz as PageFieldContext, k as PageFormatDefinition, d8 as PageLayoutSnapshot, hA as PagePatchEntry, hB as PagePatchPlan, hC as PagePatchReason, hD as PagePreviewMaps, d9 as PageRegionHitTest, P as PersistedEditorSnapshot, f3 as PinState, hE as ProtectionRange, u as ProtectionSnapshot, hF as PublicBlockFragment, hG as PublicBlockMeasurement, hH as PublicBorderSpec, hI as PublicCellLocator, hJ as PublicCellShading, hK as PublicFieldDirtinessReport, hL as PublicLayoutDivergence, hM as PublicLineBox, hN as PublicLineRunAnchor, fm as PublicMeasurementFidelity, hO as PublicNoteAllocation, hP as PublicPageAnchor, hQ as PublicPageFrame, hR as PublicPageLocalStoryInstance, hS as PublicPageNode, hT as PublicPagePaginationTelemetry, hU as PublicPageRegion, hV as PublicPageRegions, hW as PublicPageSpan, hX as PublicPaginationTelemetry, hY as PublicRegionBlock, hZ as PublicRegionKind, h_ as PublicResolvedPageStories, h$ as PublicResolvedParagraphFormatting, i0 as PublicResolvedRunFormatting, i1 as PublicResolvedStoryField, i2 as PublicSectionNode, i3 as PublicStoryAnchoredObject, i4 as PublicTableBorders, i5 as PublicTableCellBorders, i6 as PublicTableCellMargins, i7 as PublicTableEvent, i8 as PublicTableRenderPlan, i9 as PublicTableRowHeight, ia as PublicTableStyle, ib as PublicTableSummary, ic as PublicTableWidth, id as PublicTwipsRect, de as REVIEW_ACTION_METADATA_ID, ie as ROTATION_UNITS_PER_DEGREE, ig as RenderAnchorIndex, ih as RenderAnchorQuery, ii as RenderBlock, ij as RenderBlockDecoration, ik as RenderFrame, il as RenderFrameQueryOptions, im as RenderFrameRect, io as RenderHitResult, ip as RenderKernelEvent, iq as RenderLine, ir as RenderLineAnchor, is as RenderPage, it as RenderPageRegions, iu as RenderPoint, iv as RenderStoryRegion, iw as RenderZoom, ix as RenderZoomSummary, iy as ResolveMetadataConflictInput, iz as ResolvedNumberingGeometrySnapshot, iA as ResolvedNumberingSnapshot, df as RestorePointCheckpointType, dg as RestorePointSnapshot, dh as RestoreResult, di as ReviewActionKind, dj as ReviewActionMetadataValue, dk as ReviewQueueItem, dl as ReviewQueueItemKind, dm as ReviewQueueSnapshot, dn as ReviewWorkItemSnapshot, dp as ReviewWorkSnapshot, dq as RuntimeContextAnalyticsActionHint, dr as RuntimeContextAnalyticsBadge, ds as RuntimeContextAnalyticsCounts, dt as RuntimeContextAnalyticsProvenance, du as RuntimeContextAnalyticsQuery, dv as RuntimeContextAnalyticsScopeKind, dw as RuntimeContextAnalyticsSnapshot, dx as RuntimeContextAnalyticsState, dy as RuntimeContextAnalyticsUnavailableField, iB as RuntimeEditTargetContext, bm as RuntimePageGraph, iC as RuntimePageNode, R as RuntimeRenderSnapshot, iD as SRCRECT_UNITS_PER_PERCENT, iE as SanitizeResult, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, iF as ScopeBundle, iG as ScopeBundleEvidence, iH as ScopeBundleNeighborhood, dI as ScopeCardModel, iI as ScopeChromeVisibility, iJ as ScopeChromeVisibilityState, iK as ScopeHandle, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, iL as ScopeQueryFilter, iM as ScopeQueryResult, fk as ScopeRailPosture, f1 as ScopeRailSegment, iN as ScopeRailSnapshot, iO as ScopeTagRegistry, dN as ScopeTagTouch, iP as ScopeVisibility, l as SearchOptions, iQ as SearchResultSnapshot, m as SearchTextOptions, n as SecondaryStorySearchResult, iR as SecondaryStorySurface, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, iS as SemanticScope, iT as SemanticScopeKind, f6 as SessionCapabilities, iU as SetSelectionOptions, aT as SharedWorkflowState, iV as ShortcutDelegationContext, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, iW as StorageReference, iX as StoreEmbeddedDocParams, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, iY as SupportedFieldFamily, e3 as SurfaceBlockSnapshot, iZ as SurfaceDrawingAnchor, e4 as SurfaceInlineSegment, i_ as SurfacePictureEffects, i$ as SurfacePreserveOnlyObjectSizing, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, j0 as SurfaceTextBoxBodyProperties, j1 as SurfaceTextBoxBodySnapshot, j2 as SurfaceTextBoxBodyStatus, j3 as SurfaceTextBoxParagraphSnapshot, j4 as SurfaceTextBoxRunSnapshot, e7 as SurfaceTextMark, j5 as TWIPS_PER_PX, j6 as TableOp, j7 as TableOpResult, j8 as TableOperationCapabilitySnapshot, fg as TableStructureContextSnapshot, b8 as TextCommandAck, ed as TextCommandAckKind, b9 as TextCommandRefreshClass, h as TextFormattingDirective, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, j9 as TextStyleFilter, ei as TocEntrySnapshot, ja as TocRefreshOptions, jb as TocRefreshResult, jc as TocRefreshTrigger, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, jd as UpdateFieldsOptions, je as UpdateFieldsResult, en as ViewMode, jf as WordReviewEditorChangesFacet, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, jg as WordReviewEditorCommentsFacet, jh as WordReviewEditorDiagnosticsFacet, ji as WordReviewEditorDocumentFacet, er as WordReviewEditorEvent, jj as WordReviewEditorFieldsFacet, f7 as WordReviewEditorLayoutFacet, jk as WordReviewEditorPasteEvent, ba as WordReviewEditorProps, bb as WordReviewEditorRef, jl as WordReviewEditorScopesFacet, jm as WordReviewEditorTablesFacet, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, jn as WorkflowEventOrigin, f9 as WorkflowFacet, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, jo as WorkflowLockedZone, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, jp as WorkflowMarkupMode, jq as WorkflowMarkupModeEnforcement, jr as WorkflowMarkupModePolicy, eB as WorkflowMarkupSnapshot, eC as WorkflowMetadataDefinition, eD as WorkflowMetadataEntry, eE as WorkflowMetadataMarkup, eF as WorkflowMetadataPersistence, eG as WorkflowMetadataSnapshot, eH as WorkflowOpaqueFragmentMarkup, eI as WorkflowOverlay, eJ as WorkflowOverlayPatch, eK as WorkflowProtectedRangeMarkup, eL as WorkflowRevisionMarkup, eM as WorkflowScope, js as WorkflowScopeGuardPolicy, jt as WorkflowScopeMetadataField, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ju as buildPagePreviewMaps, jv as buildSearchPattern, jw as createCanvasBackend, jx as createPagePatchPlan, jy as createPublicNodeAnchor, jz as createPublicRangeAnchor, jA as createScopeTagRegistry, o as createSearchExcerpt, fp as deriveCapabilities, jB as estimateBlockHeight, jC as estimateParagraphLineCount, jD as estimateParagraphLineHeight, jE as findPageForOffset, p as findSearchMatches, jF as getUsableColumnWidth, jG as resolvePageFieldDisplayText, jH as sanitizeMarkdown, s as searchSecondaryStories, jI as storyTargetKey, fN as storyTargetsEqual } from '../public-types-DXNZVKrS.js';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
5
  export { ad as AreaChartModel, ae as Axis, af as AxisBase, ag as BarChartModel, B as BlockNode, ah as BubbleChartModel, ai as BubbleSeries, a2 as CanonicalParagraphFormatting, a0 as CanonicalRunFormatting, aj as CategoryAxis, ak as CategoryLikeAxis, al as ChartCommon, a6 as ChartModel, am as ColorMod, a8 as ColorRef, an as ComboChartModel, ao as DataLabelsSpec, ap as DataPointOverride, aq as DateAxis, a3 as FillSpec, ar as Legend, as as LineChartModel, at as LineSeries, au as MarkerSpec, av as PieChartModel, aw as PieSeries, a7 as ResolvedTheme, ax as ScatterChartModel, ay as ScatterSeries, az as Series, aA as SeriesAxis, aB as SeriesBase, aC as ShapeProperties, a5 as StrokeSpec, G as TextMark, a4 as TextProperties, aD as Title, aE as UnsupportedChartModel, aF as UnsupportedReason, aG as ValueAxis } from '../canonical-document-CfZIc-fC.js';
@@ -20,7 +20,7 @@ import {
20
20
  getUsableColumnWidth,
21
21
  sanitizeMarkdown,
22
22
  searchSecondaryStories
23
- } from "../chunk-LPLJZJT2.js";
23
+ } from "../chunk-O4EDZR44.js";
24
24
  import {
25
25
  createCanvasBackend
26
26
  } from "../chunk-OVLZQ6FZ.js";
@@ -28,7 +28,7 @@ import "../chunk-QIO6V46H.js";
28
28
  import {
29
29
  resolvePageFieldDisplayText,
30
30
  storyTargetKey
31
- } from "../chunk-U3UMKA7B.js";
31
+ } from "../chunk-XBQFDBXE.js";
32
32
  import "../chunk-OYGMRRR7.js";
33
33
  import {
34
34
  EMU_PER_INCH,
@@ -37,7 +37,7 @@ import {
37
37
  ROTATION_UNITS_PER_DEGREE,
38
38
  SRCRECT_UNITS_PER_PERCENT,
39
39
  TWIPS_PER_PX
40
- } from "../chunk-RYMMKOFI.js";
40
+ } from "../chunk-5KTJKTNE.js";
41
41
  import "../chunk-UFVDIR2C.js";
42
42
  import {
43
43
  createPublicNodeAnchor,