pptx-angular-viewer 2.6.4 → 2.6.6

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project are documented here.
4
4
  This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
5
5
  by [git-cliff](https://git-cliff.org); do not edit it by hand.
6
6
 
7
+ ## [2.6.5](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@2.6.5) - 2026-07-30
8
+
9
+ ## [2.6.4](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@2.6.4) - 2026-07-30
10
+
7
11
  ## [2.6.3](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@2.6.3) - 2026-07-30
8
12
 
9
13
  ## [2.6.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@2.6.2) - 2026-07-30
@@ -1,4 +1,4 @@
1
- import { t as toChatSummary } from './pptx-angular-viewer-pptx-angular-viewer-B080JvFb.mjs';
1
+ import { t as toChatSummary } from './pptx-angular-viewer-pptx-angular-viewer-DY-f2Dk9.mjs';
2
2
 
3
3
  /**
4
4
  * IndexedDB backend for {@link createChatHistoryStore}. Kept in its own module
@@ -103,4 +103,4 @@ function createIdbBackend(db) {
103
103
  }
104
104
 
105
105
  export { CHAT_STORE, createIdbBackend, openChatDb };
106
- //# sourceMappingURL=pptx-angular-viewer-chat-history-idb-Cp9Q8WVA.mjs.map
106
+ //# sourceMappingURL=pptx-angular-viewer-chat-history-idb-RyyNYkYb.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"pptx-angular-viewer-chat-history-idb-Cp9Q8WVA.mjs","sources":["../../src/internal/shared-src/ai/chat-history-idb.ts"],"sourcesContent":["/**\n * IndexedDB backend for {@link createChatHistoryStore}. Kept in its own module\n * so the localStorage fallback and the public factory stay within the per-file\n * size budget. Uses the raw IndexedDB API with tiny promise wrappers so no new\n * runtime dependency is pulled in.\n *\n * Every browser global is touched lazily from inside a function, never at module\n * load, so importing this file in a non-DOM environment (Node, SSR) never throws.\n */\n\nimport type { ChatBackend, PptxAiChatSummary, PptxAiStoredChat } from './chat-history-store';\nimport { toChatSummary } from './chat-history-store';\n\n/** Object store holding one record per chat, keyed by `id`. */\nexport const CHAT_STORE = 'chats';\n/** Index over the optional `deckId` key path, used for per-deck filtering. */\nconst DECK_INDEX = 'deckId';\n\n/** Resolve an `IDBRequest` to a promise. */\nfunction requestToPromise<T>(request: IDBRequest<T>): Promise<T> {\n\treturn new Promise<T>((resolve, reject) => {\n\t\trequest.onsuccess = () => resolve(request.result);\n\t\trequest.onerror = () => reject(request.error ?? new Error('IndexedDB request failed.'));\n\t});\n}\n\n/** Resolve when a transaction commits (or reject on error/abort). */\nfunction transactionDone(tx: IDBTransaction): Promise<void> {\n\treturn new Promise<void>((resolve, reject) => {\n\t\ttx.oncomplete = () => resolve();\n\t\ttx.onerror = () => reject(tx.error ?? new Error('IndexedDB transaction failed.'));\n\t\ttx.onabort = () => reject(tx.error ?? new Error('IndexedDB transaction aborted.'));\n\t});\n}\n\n/**\n * Open (and if needed create/upgrade) the chat database. Throws when there is no\n * `indexedDB` global so the caller can transparently fall back to localStorage.\n */\nexport function openChatDb(dbName: string): Promise<IDBDatabase> {\n\tconst idb = typeof indexedDB !== 'undefined' ? indexedDB : undefined;\n\tif (!idb) {\n\t\tthrow new Error('IndexedDB is not available in this environment.');\n\t}\n\treturn new Promise<IDBDatabase>((resolve, reject) => {\n\t\tconst open = idb.open(dbName, 1);\n\t\topen.onupgradeneeded = () => {\n\t\t\tconst db = open.result;\n\t\t\tif (!db.objectStoreNames.contains(CHAT_STORE)) {\n\t\t\t\tconst store = db.createObjectStore(CHAT_STORE, { keyPath: 'id' });\n\t\t\t\tstore.createIndex(DECK_INDEX, 'deckId', { unique: false });\n\t\t\t}\n\t\t};\n\t\topen.onsuccess = () => resolve(open.result);\n\t\topen.onerror = () => reject(open.error ?? new Error('Failed to open IndexedDB.'));\n\t\topen.onblocked = () => reject(new Error('IndexedDB open blocked by another connection.'));\n\t});\n}\n\n/** Read every stored chat (newest-first ordering is applied by the caller). */\nasync function readAll(db: IDBDatabase, deckId: string | undefined): Promise<PptxAiStoredChat[]> {\n\tconst tx = db.transaction(CHAT_STORE, 'readonly');\n\tconst store = tx.objectStore(CHAT_STORE);\n\tconst source =\n\t\tdeckId === undefined\n\t\t\t? store.getAll()\n\t\t\t: store.index(DECK_INDEX).getAll(IDBKeyRange.only(deckId));\n\tconst rows = await requestToPromise<PptxAiStoredChat[]>(source);\n\tawait transactionDone(tx);\n\treturn rows;\n}\n\n/** Create an IndexedDB-backed {@link ChatBackend}. */\nexport function createIdbBackend(db: IDBDatabase): ChatBackend {\n\treturn {\n\t\tasync list(deckId: string | undefined): Promise<PptxAiChatSummary[]> {\n\t\t\tconst rows = await readAll(db, deckId);\n\t\t\treturn rows.map(toChatSummary).sort((a, b) => b.updatedAt - a.updatedAt);\n\t\t},\n\t\tasync load(id: string): Promise<PptxAiStoredChat | null> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readonly');\n\t\t\tconst row = await requestToPromise<PptxAiStoredChat | undefined>(\n\t\t\t\ttx.objectStore(CHAT_STORE).get(id),\n\t\t\t);\n\t\t\tawait transactionDone(tx);\n\t\t\treturn row ?? null;\n\t\t},\n\t\tasync save(chat: PptxAiStoredChat): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\ttx.objectStore(CHAT_STORE).put(chat);\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t\tasync remove(id: string): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\ttx.objectStore(CHAT_STORE).delete(id);\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t\tasync clear(deckId: string | undefined): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\tconst store = tx.objectStore(CHAT_STORE);\n\t\t\tif (deckId === undefined) {\n\t\t\t\tstore.clear();\n\t\t\t} else {\n\t\t\t\tconst ids = await requestToPromise<IDBValidKey[]>(\n\t\t\t\t\tstore.index(DECK_INDEX).getAllKeys(IDBKeyRange.only(deckId)),\n\t\t\t\t);\n\t\t\t\tfor (const id of ids) {\n\t\t\t\t\tstore.delete(id);\n\t\t\t\t}\n\t\t\t}\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t};\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;;AAQG;AAKH;AACO,MAAM,UAAU,GAAG;AAC1B;AACA,MAAM,UAAU,GAAG,QAAQ;AAE3B;AACA,SAAS,gBAAgB,CAAI,OAAsB,EAAA;IAClD,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM,KAAI;AACzC,QAAA,OAAO,CAAC,SAAS,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC;AACjD,QAAA,OAAO,CAAC,OAAO,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;AACxF,IAAA,CAAC,CAAC;AACH;AAEA;AACA,SAAS,eAAe,CAAC,EAAkB,EAAA;IAC1C,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,KAAI;QAC5C,EAAE,CAAC,UAAU,GAAG,MAAM,OAAO,EAAE;AAC/B,QAAA,EAAE,CAAC,OAAO,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,KAAK,IAAI,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;AACjF,QAAA,EAAE,CAAC,OAAO,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,KAAK,IAAI,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;AACnF,IAAA,CAAC,CAAC;AACH;AAEA;;;AAGG;AACG,SAAU,UAAU,CAAC,MAAc,EAAA;AACxC,IAAA,MAAM,GAAG,GA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AE,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;AACrC,YAAA,MAAM,eAAe,CAAC,EAAE,CAAC;QAC1B,CAAC;QACD,MAAM,KAAK,CAAC,MAA0B,EAAA;YACrC,MAAM,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,UAAU,EAAE,WAAW,CAAC;YAClD,MAAM,KAAK,GAAG,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC;AACxC,YAAA,IAAI,MAAM,KAAK,SAAS,EAAE;gBACzB,KAAK,CAAC,KAAK,EAAE;YACd;iBAAO;gBACN,MAAM,GAAG,GAAG,MAAM,gBAAgB,CACjC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAC5D;AACD,gBAAA,KAAK,MAAM,EAAE,IAAI,GAAG,EAAE;AACrB,oBAAA,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;gBACjB;YACD;AACA,YAAA,MAAM,eAAe,CAAC,EAAE,CAAC;QAC1B,CAAC;KACD;AACF;;;;"}
1
+ {"version":3,"file":"pptx-angular-viewer-chat-history-idb-RyyNYkYb.mjs","sources":["../../src/internal/shared-src/ai/chat-history-idb.ts"],"sourcesContent":["/**\n * IndexedDB backend for {@link createChatHistoryStore}. Kept in its own module\n * so the localStorage fallback and the public factory stay within the per-file\n * size budget. Uses the raw IndexedDB API with tiny promise wrappers so no new\n * runtime dependency is pulled in.\n *\n * Every browser global is touched lazily from inside a function, never at module\n * load, so importing this file in a non-DOM environment (Node, SSR) never throws.\n */\n\nimport type { ChatBackend, PptxAiChatSummary, PptxAiStoredChat } from './chat-history-store';\nimport { toChatSummary } from './chat-history-store';\n\n/** Object store holding one record per chat, keyed by `id`. */\nexport const CHAT_STORE = 'chats';\n/** Index over the optional `deckId` key path, used for per-deck filtering. */\nconst DECK_INDEX = 'deckId';\n\n/** Resolve an `IDBRequest` to a promise. */\nfunction requestToPromise<T>(request: IDBRequest<T>): Promise<T> {\n\treturn new Promise<T>((resolve, reject) => {\n\t\trequest.onsuccess = () => resolve(request.result);\n\t\trequest.onerror = () => reject(request.error ?? new Error('IndexedDB request failed.'));\n\t});\n}\n\n/** Resolve when a transaction commits (or reject on error/abort). */\nfunction transactionDone(tx: IDBTransaction): Promise<void> {\n\treturn new Promise<void>((resolve, reject) => {\n\t\ttx.oncomplete = () => resolve();\n\t\ttx.onerror = () => reject(tx.error ?? new Error('IndexedDB transaction failed.'));\n\t\ttx.onabort = () => reject(tx.error ?? new Error('IndexedDB transaction aborted.'));\n\t});\n}\n\n/**\n * Open (and if needed create/upgrade) the chat database. Throws when there is no\n * `indexedDB` global so the caller can transparently fall back to localStorage.\n */\nexport function openChatDb(dbName: string): Promise<IDBDatabase> {\n\tconst idb = typeof indexedDB !== 'undefined' ? indexedDB : undefined;\n\tif (!idb) {\n\t\tthrow new Error('IndexedDB is not available in this environment.');\n\t}\n\treturn new Promise<IDBDatabase>((resolve, reject) => {\n\t\tconst open = idb.open(dbName, 1);\n\t\topen.onupgradeneeded = () => {\n\t\t\tconst db = open.result;\n\t\t\tif (!db.objectStoreNames.contains(CHAT_STORE)) {\n\t\t\t\tconst store = db.createObjectStore(CHAT_STORE, { keyPath: 'id' });\n\t\t\t\tstore.createIndex(DECK_INDEX, 'deckId', { unique: false });\n\t\t\t}\n\t\t};\n\t\topen.onsuccess = () => resolve(open.result);\n\t\topen.onerror = () => reject(open.error ?? new Error('Failed to open IndexedDB.'));\n\t\topen.onblocked = () => reject(new Error('IndexedDB open blocked by another connection.'));\n\t});\n}\n\n/** Read every stored chat (newest-first ordering is applied by the caller). */\nasync function readAll(db: IDBDatabase, deckId: string | undefined): Promise<PptxAiStoredChat[]> {\n\tconst tx = db.transaction(CHAT_STORE, 'readonly');\n\tconst store = tx.objectStore(CHAT_STORE);\n\tconst source =\n\t\tdeckId === undefined\n\t\t\t? store.getAll()\n\t\t\t: store.index(DECK_INDEX).getAll(IDBKeyRange.only(deckId));\n\tconst rows = await requestToPromise<PptxAiStoredChat[]>(source);\n\tawait transactionDone(tx);\n\treturn rows;\n}\n\n/** Create an IndexedDB-backed {@link ChatBackend}. */\nexport function createIdbBackend(db: IDBDatabase): ChatBackend {\n\treturn {\n\t\tasync list(deckId: string | undefined): Promise<PptxAiChatSummary[]> {\n\t\t\tconst rows = await readAll(db, deckId);\n\t\t\treturn rows.map(toChatSummary).sort((a, b) => b.updatedAt - a.updatedAt);\n\t\t},\n\t\tasync load(id: string): Promise<PptxAiStoredChat | null> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readonly');\n\t\t\tconst row = await requestToPromise<PptxAiStoredChat | undefined>(\n\t\t\t\ttx.objectStore(CHAT_STORE).get(id),\n\t\t\t);\n\t\t\tawait transactionDone(tx);\n\t\t\treturn row ?? null;\n\t\t},\n\t\tasync save(chat: PptxAiStoredChat): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\ttx.objectStore(CHAT_STORE).put(chat);\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t\tasync remove(id: string): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\ttx.objectStore(CHAT_STORE).delete(id);\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t\tasync clear(deckId: string | undefined): Promise<void> {\n\t\t\tconst tx = db.transaction(CHAT_STORE, 'readwrite');\n\t\t\tconst store = tx.objectStore(CHAT_STORE);\n\t\t\tif (deckId === undefined) {\n\t\t\t\tstore.clear();\n\t\t\t} else {\n\t\t\t\tconst ids = await requestToPromise<IDBValidKey[]>(\n\t\t\t\t\tstore.index(DECK_INDEX).getAllKeys(IDBKeyRange.only(deckId)),\n\t\t\t\t);\n\t\t\t\tfor (const id of ids) {\n\t\t\t\t\tstore.delete(id);\n\t\t\t\t}\n\t\t\t}\n\t\t\tawait transactionDone(tx);\n\t\t},\n\t};\n}\n"],"names":[],"mappings":";;AAA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E;gBACzB,KAAK,CAAC,KAAK,EAAE;YACd;iBAAO;gBACN,MAAM,GAAG,GAAG,MAAM,gBAAgB,CACjC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAC5D;AACD,gBAAA,KAAK,MAAM,EAAE,IAAI,GAAG,EAAE;AACrB,oBAAA,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;gBACjB;YACD;AACA,YAAA,MAAM,eAAe,CAAC,EAAE,CAAC;QAC1B,CAAC;KACD;AACF;;;;"}
@@ -24621,14 +24621,22 @@ function buildNotesPrintHtml(slides, slideLabel) {
24621
24621
  * export would make it ambiguous. Notes modules import it directly.
24622
24622
  */
24623
24623
 
24624
+ /**
24625
+ * PowerPoint's single-spacing line height as a unitless multiplier of the font
24626
+ * size. Measured against PowerPoint itself (COM `TextRange2.BoundHeight` on
24627
+ * the issue #131 deck): every single-spaced Arial paragraph lays out at
24628
+ * exactly 1.2x its point size (10.5pt -> 12.6pt, 10pt -> 12pt, 8pt -> 9.6pt),
24629
+ * and the browser default `normal` (~1.25 for Arial) accumulated a visible
24630
+ * vertical drift over a full text panel.
24631
+ */
24632
+ const DEFAULT_LINE_HEIGHT = 1.2;
24624
24633
  /**
24625
24634
  * Resolve a CSS `line-height` value from a TextStyle's spacing fields.
24626
24635
  *
24627
24636
  * - If `lineSpacingExactPt` is set (exact point mode from `a:lnSpc > a:spcPts`),
24628
24637
  * returns a fixed `"<n>pt"` string.
24629
24638
  * - Otherwise the proportional multiplier from `a:spcPct` (`lineSpacing`) is
24630
- * used, defaulting to `1.25` (or `1.35` when the block carries italics, which
24631
- * sit slightly taller).
24639
+ * used, defaulting to PowerPoint's single-spacing {@link DEFAULT_LINE_HEIGHT}.
24632
24640
  *
24633
24641
  * Returning a unitless multiplier (rather than relying on the browser's
24634
24642
  * font-dependent `normal`, which is ~1.2-1.5) lets the value scale with the
@@ -24636,14 +24644,17 @@ function buildNotesPrintHtml(slides, slideLabel) {
24636
24644
  *
24637
24645
  * @param textStyle The text style carrying the spacing fields (may be
24638
24646
  * `undefined`).
24639
- * @param hasItalicRuns Whether the block contains italic runs (loosens the
24640
- * default multiplier).
24647
+ * @param hasItalicRuns Whether the block contains italic runs. No longer
24648
+ * changes the default: PowerPoint does not add leading
24649
+ * for italics, and the old 1.35 bump pushed every italic
24650
+ * block visibly below its authored position.
24641
24651
  */
24642
24652
  function resolveLineHeight(textStyle, hasItalicRuns) {
24643
24653
  if (typeof textStyle?.lineSpacingExactPt === 'number' && textStyle.lineSpacingExactPt > 0) {
24644
24654
  return `${textStyle.lineSpacingExactPt}pt`;
24645
24655
  }
24646
- return textStyle?.lineSpacing || (hasItalicRuns ? 1.35 : 1.25);
24656
+ void hasItalicRuns;
24657
+ return textStyle?.lineSpacing || DEFAULT_LINE_HEIGHT;
24647
24658
  }
24648
24659
  /**
24649
24660
  * Map a parsed `textDirection` value to the corresponding CSS `writing-mode`.
@@ -24731,7 +24742,7 @@ function isVerticalTextDirection(textDirection) {
24731
24742
  * caller spreads the result over its own CSS object.
24732
24743
  */
24733
24744
  function computeAutoFitTextStyle(input) {
24734
- const { textStyle: ts, text, width, height, bodyInsetVertical, hasItalicRuns } = input;
24745
+ const { textStyle: ts, text, width, height, bodyInsetVertical } = input;
24735
24746
  if (!ts?.autoFit) {
24736
24747
  return {};
24737
24748
  }
@@ -24746,7 +24757,7 @@ function computeAutoFitTextStyle(input) {
24746
24757
  const textLength = text.length;
24747
24758
  const lineHeight = ts.lineSpacingExactPt
24748
24759
  ? ts.lineSpacingExactPt / baseFontSize
24749
- : ts.lineSpacing || (hasItalicRuns ? 1.35 : 1.25);
24760
+ : ts.lineSpacing || DEFAULT_LINE_HEIGHT;
24750
24761
  const approxCharsPerLine = Math.max(1, Math.floor(width / (baseFontSize * 0.6)));
24751
24762
  const estimatedLines = Math.max(1, Math.ceil(textLength / approxCharsPerLine));
24752
24763
  const requiredHeight = estimatedLines * baseFontSize * lineHeight;
@@ -24758,7 +24769,7 @@ function computeAutoFitTextStyle(input) {
24758
24769
  }
24759
24770
  // normAutofit with lnSpcReduction: reduce line height.
24760
24771
  if (ts.autoFitLineSpacingReduction !== undefined && ts.autoFitLineSpacingReduction > 0) {
24761
- const baseLineHeight = typeof ts.lineSpacing === 'number' ? ts.lineSpacing : hasItalicRuns ? 1.35 : 1.25;
24772
+ const baseLineHeight = typeof ts.lineSpacing === 'number' ? ts.lineSpacing : DEFAULT_LINE_HEIGHT;
24762
24773
  result.lineHeight = baseLineHeight * (1 - ts.autoFitLineSpacingReduction);
24763
24774
  }
24764
24775
  return result;
@@ -25897,15 +25908,21 @@ function buildParagraphs(element, fieldContext) {
25897
25908
  return element.text ? [{ runs: [{ text: element.text, style: {} }], bulletStyle: {} }] : [];
25898
25909
  }
25899
25910
  const paragraphIndents = element.paragraphIndents;
25900
- const grouped = [{ paraSegments: [] }];
25911
+ const grouped = [
25912
+ { paraSegments: [] },
25913
+ ];
25901
25914
  for (const seg of segments) {
25902
25915
  if (seg.isParagraphBreak || (seg.text === '\n' && !seg.isLineBreak)) {
25916
+ // Keep the separator: for an EMPTY paragraph it is the only carrier
25917
+ // of the authored `a:endParaRPr` style (core stamps its font size on
25918
+ // it), which sizes the blank line's box below.
25919
+ grouped[grouped.length - 1].terminator = seg;
25903
25920
  grouped.push({ paraSegments: [] });
25904
25921
  continue;
25905
25922
  }
25906
25923
  grouped[grouped.length - 1].paraSegments.push(seg);
25907
25924
  }
25908
- const result = grouped.map(({ paraSegments }, paraIndex) => {
25925
+ const result = grouped.map(({ paraSegments, terminator }, paraIndex) => {
25909
25926
  const firstSeg = paraSegments[0];
25910
25927
  const baseFontSize = firstSeg?.style?.fontSize ?? element.textStyle?.fontSize ?? 16;
25911
25928
  const bulletResult = resolveParagraphBullet(firstSeg, baseFontSize);
@@ -25969,6 +25986,11 @@ function buildParagraphs(element, fieldContext) {
25969
25986
  ? -indent.textIndentPx
25970
25987
  : undefined;
25971
25988
  bulletStyle.display = 'inline-block';
25989
+ // `text-indent` inherits, and an inline-block is a block container:
25990
+ // without this reset the marker box applies the paragraph's negative
25991
+ // first-line indent AGAIN internally and paints the glyph a full
25992
+ // hang-width left of its own box (outside the text inset).
25993
+ bulletStyle.textIndent = '0px';
25972
25994
  if (hangPx !== undefined) {
25973
25995
  bulletStyle.minWidth = `${hangPx}px`;
25974
25996
  }
@@ -25976,8 +25998,11 @@ function buildParagraphs(element, fieldContext) {
25976
25998
  bulletStyle.marginInlineEnd = '0.35em';
25977
25999
  }
25978
26000
  }
25979
- const spacing = resolveParagraphSpacing$1(firstSeg?.paragraphProperties);
25980
- const strutFontSizePx = resolveParagraphStrutFontSize(paraSegments, hasTextProperties(element) ? element.textStyle?.fontSize : undefined);
26001
+ // An empty paragraph's own `a:pPr` / `a:endParaRPr` ride its terminator
26002
+ // segment (there is no run to carry them), so read them from there.
26003
+ const propsCarrier = firstSeg ?? (paraSegments.length === 0 ? terminator : undefined);
26004
+ const spacing = resolveParagraphSpacing$1(propsCarrier?.paragraphProperties);
26005
+ const strutFontSizePx = resolveParagraphStrutFontSize(paraSegments.length > 0 ? paraSegments : terminator ? [terminator] : [], hasTextProperties(element) ? element.textStyle?.fontSize : undefined);
25981
26006
  return {
25982
26007
  runs,
25983
26008
  bulletMarker: bullet?.picture?.src ? undefined : bullet?.marker,
@@ -26502,6 +26527,51 @@ function getElementMorphName(element) {
26502
26527
  return undefined;
26503
26528
  }
26504
26529
  // ---------------------------------------------------------------------------
26530
+ // Creation identity (`a16:creationId`)
26531
+ // ---------------------------------------------------------------------------
26532
+ /** Non-visual property containers a `p:cNvPr` can live under, per element kind. */
26533
+ const NV_PR_KEYS = [
26534
+ 'p:nvSpPr',
26535
+ 'p:nvPicPr',
26536
+ 'p:nvGrpSpPr',
26537
+ 'p:nvCxnSpPr',
26538
+ 'p:nvGraphicFramePr',
26539
+ ];
26540
+ /**
26541
+ * The shape's `a16:creationId` GUID from its preserved raw XML
26542
+ * (`p:cNvPr/a:extLst/a:ext/a16:creationId/@id`), or `undefined`.
26543
+ *
26544
+ * This is the identity PowerPoint itself tracks across slides: duplicating a
26545
+ * slide copies each shape's creationId, so equal GUIDs mean "the same shape,
26546
+ * possibly moved/restyled" with none of the ambiguity of the numeric
26547
+ * `p:cNvPr/@id` (which is just a per-slide counter that independently
26548
+ * authored slides reuse for unrelated shapes).
26549
+ */
26550
+ function getElementCreationId(element) {
26551
+ const raw = element.rawXml;
26552
+ if (!raw) {
26553
+ return undefined;
26554
+ }
26555
+ for (const nvKey of NV_PR_KEYS) {
26556
+ const nvPr = raw[nvKey];
26557
+ const cNvPr = nvPr?.['p:cNvPr'];
26558
+ const extLst = cNvPr?.['a:extLst'];
26559
+ const extRaw = extLst?.['a:ext'];
26560
+ if (!extRaw) {
26561
+ continue;
26562
+ }
26563
+ const exts = Array.isArray(extRaw) ? extRaw : [extRaw];
26564
+ for (const ext of exts) {
26565
+ const creation = ext?.['a16:creationId'];
26566
+ const guid = creation?.['@_id'];
26567
+ if (typeof guid === 'string' && guid.length > 0) {
26568
+ return guid;
26569
+ }
26570
+ }
26571
+ }
26572
+ return undefined;
26573
+ }
26574
+ // ---------------------------------------------------------------------------
26505
26575
  // Match elements between slides
26506
26576
  // ---------------------------------------------------------------------------
26507
26577
  /**
@@ -26509,8 +26579,9 @@ function getElementMorphName(element) {
26509
26579
  *
26510
26580
  * Matching passes (in priority order):
26511
26581
  * 1. Explicit !! naming convention (element name from cNvPr/@name, or text content)
26512
- * 2. Element ID matching (same `id` on both slides)
26513
- * 3. Type + proximity matching (same type within 300px euclidean distance)
26582
+ * 2a. `a16:creationId` GUID (PowerPoint's own cross-slide shape identity)
26583
+ * 2b. Native shape id from `p:cNvPr/@id` (only when creationIds are absent)
26584
+ * 3. Type + proximity + size matching (same type within 300px, similar box)
26514
26585
  *
26515
26586
  * Returns only matched pairs (no unmatched elements).
26516
26587
  *
@@ -26552,14 +26623,54 @@ function matchMorphElementsFull(fromSlide, toSlide) {
26552
26623
  }
26553
26624
  }
26554
26625
  }
26555
- // Pass 2: match by the shape's native OOXML id (`p:cNvPr/@id`), which
26556
- // PowerPoint preserves when a slide is duplicated and is what it pairs on.
26626
+ // Pass 2a: match by `a16:creationId` GUID - the identity PowerPoint itself
26627
+ // preserves when a slide (or shape) is duplicated, and the strongest
26628
+ // "same shape" signal available. Equal GUIDs pair regardless of position,
26629
+ // which is exactly what a morph is for.
26630
+ const creationIds = new Map();
26631
+ const creationIdOf = (el) => {
26632
+ if (!creationIds.has(el.id)) {
26633
+ creationIds.set(el.id, getElementCreationId(el));
26634
+ }
26635
+ return creationIds.get(el.id);
26636
+ };
26637
+ for (const fromEl of fromSlide.elements) {
26638
+ if (usedFrom.has(fromEl.id)) {
26639
+ continue;
26640
+ }
26641
+ const fromGuid = creationIdOf(fromEl);
26642
+ if (!fromGuid) {
26643
+ continue;
26644
+ }
26645
+ for (const toEl of toSlide.elements) {
26646
+ if (usedTo.has(toEl.id) || fromEl.type !== toEl.type) {
26647
+ continue;
26648
+ }
26649
+ if (creationIdOf(toEl) === fromGuid) {
26650
+ pairs.push({ fromElement: fromEl, toElement: toEl });
26651
+ usedFrom.add(fromEl.id);
26652
+ usedTo.add(toEl.id);
26653
+ break;
26654
+ }
26655
+ }
26656
+ }
26657
+ // Pass 2b: match by the shape's native OOXML id (`p:cNvPr/@id`) - a
26658
+ // fallback for decks whose producer emits no creationIds.
26557
26659
  //
26558
26660
  // This deliberately does NOT compare `element.id`: that is the loader's
26559
26661
  // synthetic identity and embeds the slide path
26560
26662
  // (`ppt/slides/slide3.xml-shape-1`), so it can never be equal across two
26561
26663
  // slides and the pass was dead code. `shapeId` is only unique WITHIN a
26562
26664
  // slide, hence the `usedFrom`/`usedTo` guards below.
26665
+ //
26666
+ // When BOTH shapes carry creationIds and pass 2a did not pair them, their
26667
+ // GUIDs differ: they are provably NOT the same object, and the numeric id
26668
+ // coinciding is an authoring accident. The issue #131 wheel deck reuses
26669
+ // the same ids AND names for DIFFERENT wedges on different topic slides
26670
+ // (shifted by one spTree position), and id-pairing there sent every wedge
26671
+ // and label gliding one sector around the wheel - the reporter's "phantom
26672
+ // arrow to another selected item". Such shapes must fall through to the
26673
+ // proximity pass (which pairs the same-position counterparts) instead.
26563
26674
  for (const fromEl of fromSlide.elements) {
26564
26675
  if (usedFrom.has(fromEl.id) || !fromEl.shapeId) {
26565
26676
  continue;
@@ -26569,6 +26680,9 @@ function matchMorphElementsFull(fromSlide, toSlide) {
26569
26680
  continue;
26570
26681
  }
26571
26682
  if (toEl.shapeId && fromEl.shapeId === toEl.shapeId && fromEl.type === toEl.type) {
26683
+ if (creationIdOf(fromEl) && creationIdOf(toEl)) {
26684
+ continue;
26685
+ }
26572
26686
  pairs.push({ fromElement: fromEl, toElement: toEl });
26573
26687
  usedFrom.add(fromEl.id);
26574
26688
  usedTo.add(toEl.id);
@@ -52739,7 +52853,7 @@ function createLocalStorageBackend(namespace) {
52739
52853
  /** Try IndexedDB first; fall back to localStorage on any failure. */
52740
52854
  async function resolveBackend(dbName, namespace) {
52741
52855
  try {
52742
- const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-Cp9Q8WVA.mjs');
52856
+ const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-RyyNYkYb.mjs');
52743
52857
  const db = await openChatDb(dbName);
52744
52858
  return createIdbBackend(db);
52745
52859
  }
@@ -68827,6 +68941,30 @@ class ElementRendererComponent {
68827
68941
  // paragraph, so only its first line got a bullet and every authored
68828
68942
  // blank line vanished (issue #131). Mirrors shared `buildParagraphs`.
68829
68943
  if (seg.isParagraphBreak || (seg.text === '\n' && !seg.isLineBreak)) {
68944
+ // An EMPTY paragraph (`paraStarted` still false) has no run to carry
68945
+ // its authored size or spacing: both ride this TERMINATING separator,
68946
+ // where core stamps the paragraph's `a:endParaRPr sz`. Read them off
68947
+ // it, or the blank line lays out on the body default and the error
68948
+ // accumulates down the panel (issue #131: Angular alone drifted
68949
+ // ~7px by the last heading of slide 13). Mirrors shared
68950
+ // `buildParagraphs`.
68951
+ if (!paraStarted) {
68952
+ const closing = out[out.length - 1];
68953
+ const endParaSize = seg.style?.fontSize;
68954
+ if (typeof endParaSize === 'number' && endParaSize > 0) {
68955
+ closing.strutFontSizePx = endParaSize;
68956
+ }
68957
+ const endSpacing = resolveParagraphSpacing(seg.paragraphProperties);
68958
+ if (endSpacing.lineHeight !== undefined) {
68959
+ closing.lineHeight = endSpacing.lineHeight;
68960
+ }
68961
+ if (endSpacing.spaceBeforePx !== undefined) {
68962
+ closing.spaceBeforePx = endSpacing.spaceBeforePx;
68963
+ }
68964
+ if (endSpacing.spaceAfterPx !== undefined) {
68965
+ closing.spaceAfterPx = endSpacing.spaceAfterPx;
68966
+ }
68967
+ }
68830
68968
  out.push({ runs: [], bulletStyle: {}, indentPx: 0 });
68831
68969
  paraStarted = false;
68832
68970
  continue;
@@ -85377,7 +85515,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
85377
85515
  }], propDecorators: { canEdit: [{ type: i0.Input, args: [{ isSignal: true, alias: "canEdit", required: false }] }], slideIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "slideIndex", required: false }] }] } });
85378
85516
 
85379
85517
  // Generated by scripts/inline-shared.mjs from package.json. Do not edit.
85380
- const PPTX_ANGULAR_VIEWER_VERSION = "2.6.3";
85518
+ const PPTX_ANGULAR_VIEWER_VERSION = "2.6.5";
85381
85519
 
85382
85520
  /**
85383
85521
  * account-page.component.ts: File > Account content.
@@ -114231,4 +114369,4 @@ function cn(...values) {
114231
114369
  */
114232
114370
 
114233
114371
  export { DATA_TABLE_KEY_W as $, ALIGN_OPTIONS as A, BroadcastDialogComponent as B, CHART_EDITOR_STYLES as C, ChartAxisOptionsComponent as D, ChartAxisStyleOptionsComponent as E, ChartComboTypeOptionsComponent as F, ChartDataEditorComponent as G, ChartDataLabelOptionsComponent as H, ChartDatapointOptionsComponent as I, ChartDisplayOptionsComponent as J, ChartElementViewComponent as K, ChartErrorBarOptionsComponent as L, ChartMarkerOptionsComponent as M, ChartPartSelectionService as N, ChartPrimitivesComponent as O, ChartRendererComponent as P, ChartTrendlineOptionsComponent as Q, CollaborationCursorsComponent as R, CollaborationService as S, ColorChangedImageComponent as T, CommentsPanelComponent as U, CommentsService as V, ComparePanelComponent as W, ConnectorRendererComponent as X, ConnectorTextOverlayComponent as Y, CustomShowsComponent as Z, DATA_TABLE_HEADER_H as _, AUDIENCE_HASH as a, MIN_ZOOM_SCALE as a$, DATA_TABLE_PADDING as a0, DATA_TABLE_ROW_H as a1, DEFAULT_BOUNDS as a2, DEFAULT_BROADCAST_SERVER_URL as a3, DEFAULT_CANVAS_HEIGHT as a4, DEFAULT_CANVAS_WIDTH as a5, DEFAULT_COLOR_SCHEME as a6, DEFAULT_FILL_COLOR as a7, DEFAULT_LAYOUT as a8, DEFAULT_PALETTE$1 as a9, ExportProgressModalComponent as aA, ExportService as aB, FieldContextService as aC, FindBarComponent as aD, FindReplaceBarComponent as aE, FollowModeBarComponent as aF, FontEmbeddingListComponent as aG, FontEmbeddingPanelComponent as aH, GALLERY_THEME_PRESETS as aI, GradientPickerComponent as aJ, HANDOUT_OPTIONS as aK, HeaderFooterDialogComponent as aL, HyperlinkDialogComponent as aM, ImagePropertiesPanelComponent as aN, InkDrawingService as aO, InkRendererComponent as aP, InsertSmartArtDialogComponent as aQ, InspectorPaneHeaderComponent as aR, InspectorPanelComponent as aS, IsMobileService as aT, KeepAnnotationsDialogComponent as aU, LOCALE_CATALOG as aV, LONG_PRESS_DURATION_MS as aW, LONG_PRESS_MOVE_TOLERANCE_PX as aX, LoadContentService as aY, LocalPresencePublisher as aZ, MAX_ZOOM_SCALE as a_, DEFAULT_PRINT_SETTINGS as aa, DEFAULT_SLIDE_BACKGROUND as ab, DEFAULT_STROKE_COLOR as ac, DEFAULT_STYLE as ad, DEFAULT_TABLE_ROW_HEIGHT as ae, DEFAULT_TEXT_COLOR$1 as af, DEFAULT_VIEWER_PROFILE as ag, DIRECTIONAL_PRESETS as ah, DIRECTION_OPTIONS as ai, DocumentPropertiesCardComponent as aj, EMBEDDED_FONTS_STYLE_ID as ak, EMPHASIS_PRESETS as al, ENTRANCE_PRESETS as am, TEMPLATES as an, EXIT_PRESETS as ao, EditorContextMenuComponent as ap, EditorHistory as aq, EditorStateService as ar, EditorToolbarComponent as as, EffectsPanelComponent as at, ElementRendererComponent as au, EmbeddedFontsService as av, EncryptedFileDialogComponent as aw, EquationEditorDialogComponent as ax, EquationRendererComponent as ay, EquationTemplateGalleryComponent as az, AUDIENCE_NONCE_KEY as b, SLIDE_PX_PER_INCH as b$, MediaPreviewComponent as b0, MediaPropertiesPanelComponent as b1, MediaRendererComponent as b2, MediaTrimTimelineComponent as b3, MobileBottomBarComponent as b4, MobileMenuSheetComponent as b5, MobilePresenterViewComponent as b6, MobileSheetComponent as b7, MobileSlidesSheetComponent as b8, MobileToolbarComponent as b9, RESIZE_HANDLES as bA, RULER_THICKNESS as bB, RemoteSelectionOverlayComponent as bC, RibbonAnimationsSectionComponent as bD, RibbonArrangeSectionComponent as bE, RibbonColorPopoverComponent as bF, RibbonComponent as bG, RibbonDesignSectionComponent as bH, RibbonDrawSectionComponent as bI, RibbonDrawingGroupComponent as bJ, RibbonEditingSectionComponent as bK, RibbonFileSectionComponent as bL, RibbonFontControlsComponent as bM, RibbonHomeSectionComponent as bN, RibbonInsertFieldsComponent as bO, RibbonInsertSectionComponent as bP, RibbonParagraphControlsComponent as bQ, RibbonPrimaryRowComponent as bR, RibbonReviewSectionComponent as bS, RibbonSlideshowSectionComponent as bT, RibbonTransitionsSectionComponent as bU, RibbonViewSectionComponent as bV, RulerGuidesService as bW, SEQUENCE_OPTIONS as bX, SEVERITY_GROUPS as bY, SEVERITY_LABELS as bZ, SHORTCUT_REFERENCE_ITEMS as b_, ModalDialogComponent as ba, Model3DRendererComponent as bb, NotesHandoutCardComponent as bc, NotesPanelComponent as bd, NotesToolbarComponent as be, OleRendererComponent as bf, POWER_POINT_VIEWER_PROVIDERS as bg, PRESENTER_CHANNEL_NAME as bh, PRESENTER_MSG_ORIGIN as bi, PasswordProtectionDialogComponent as bj, PasswordStrengthMeterComponent as bk, PowerPointViewerComponent as bl, PresentationAnnotationOverlayComponent as bm, PresentationAnnotationsService as bn, PresentationOverlayComponent as bo, PresentationPropertiesPanelComponent as bp, PresentationSettingsCardComponent as bq, PresentationSubtitleBarComponent as br, PresentationTransitionOverlayComponent as bs, PresenterViewComponent as bt, PresenterWindowService as bu, PrintDialogComponent as bv, PrintService as bw, PrintSettingsPanelComponent as bx, PropertiesDialogComponent as by, REPEAT_MODE_OPTIONS as bz, AVATAR_COLOR_SWATCHES as c, ViewerDocumentPropertiesService as c$, SLIDE_TRANSITION_KEYFRAMES as c0, DEFAULT_PALETTE as c1, PALETTES$1 as c2, SMART_ART_COLOR_SCHEMES as c3, SMART_ART_STYLE_OPTIONS as c4, SUB_ITEM_LABEL as c5, SVG_WARP_PRESETS as c6, SWIPE_MAX_VERTICAL_PX as c7, SWIPE_THRESHOLD_PX as c8, SelectionPaneComponent as c9, TABLE_STRUCTURE_TOGGLES as cA, TEXT_DIRECTION_OPTIONS$1 as cB, THEME_CATALOG as cC, TIMING_CURVE_OPTIONS as cD, TRIGGER_OPTIONS as cE, TYPE_LABELS as cF, TableCellAdvancedFillComponent as cG, TableCellFormattingComponent as cH, TableDataEditorComponent as cI, TablePropertiesComponent as cJ, TableRendererComponent as cK, TableResizeOverlayComponent as cL, TableSelectionService as cM, TextAdvancedPanelComponent as cN, ThemeEditorFieldsComponent as cO, ThemeGalleryComponent as cP, ThemeSelectorCardComponent as cQ, TitleBarComponent as cR, VALIGN_OPTIONS as cS, VIEWER_THEME as cT, VersionHistoryPanelComponent as cU, ViewerCanvasEditingService as cV, ViewerCollabCursorService as cW, ViewerCollaborationSessionService as cX, ViewerCompareService as cY, ViewerCustomShowsService as cZ, ViewerDialogsService as c_, SetUpSlideShowDialogComponent as ca, SettingsAppearanceTabComponent as cb, SettingsDialogComponent as cc, SettingsLanguageTabComponent as cd, ShareDialogComponent as ce, ShortcutPanelComponent as cf, ShowOptionsFieldsetComponent as cg, ShowSlidesFieldsetComponent as ch, SignatureStrippedDialogComponent as ci, SignaturesPanelComponent as cj, SignaturesService as ck, SlideCanvasComponent as cl, SlideDefaultInspectorComponent as cm, SlideDiffChangesComponent as cn, SlideDiffRowComponent as co, SlideDiffThumbnailsComponent as cp, SlideSizeCardComponent as cq, SlideSorterOverlayComponent as cr, SlideThemeOverridePanelComponent as cs, SlidesPanelComponent as ct, SmartArt3DRendererComponent as cu, SmartArt3DService as cv, SmartArtPreviewComponent as cw, SmartArtPropertiesComponent as cx, SmartArtRendererComponent as cy, StatusBarComponent as cz, AccessibilityPanelComponent as d, buildFallbackViewModel as d$, ViewerExportService as d0, ViewerExtraDialogsComponent as d1, ViewerFileIOService as d2, ViewerFindReplaceService as d3, ViewerFormatPainterService as d4, ViewerInspectorPanelService as d5, ViewerKeyboardService as d6, ViewerMobileSheetService as d7, ViewerPresentationModeService as d8, ViewerThemeGalleryService as d9, asMediaElement as dA, assignUserColor as dB, attachTouchGestures as dC, beginNodeEdit as dD, boolFromEvent as dE, bringForward as dF, bringToFront as dG, buildBarActions as dH, buildBroadcastConfig as dI, buildBroadcastViewerUrl as dJ, buildCategoryLabels as dK, buildCellParagraphs as dL, buildChartViewModel as dM, buildChatLogExport as dN, buildChatLogMarkdown as dO, buildChromeStyle as dP, buildClearHyperlinkPatch as dQ, buildClickGroups as dR, buildColStyles as dS, buildCollaborationConfig as dT, buildComboViewModel as dU, buildCssGradientFromShapeStyle as dV, buildDuotoneFilter as dW, buildDuotoneFilterId as dX, buildEmbeddedFontStyles as dY, buildEquationElement as dZ, buildEquationSegment as d_, ViewerTouchGesturesService as da, ViewerZoomService as db, WEBM_MIME_CANDIDATES as dc, WriteBackScheduler as dd, ZoomNavigationService as de, ZoomRendererComponent as df, ZoomTargetService as dg, addCategory as dh, addCommentToList as di, addGradientStopPatch as dj, addItem as dk, addSeries as dl, addSubItem as dm, advanceStep as dn, aiToggleVisible as dp, alignPatch as dq, animationFor as dr, annotationMapToInkInserts as ds, applyAcceptedDiff as dt, applyAnimationPreset as du, applyFindReplacements as dv, applyFormatToElement as dw, applyMove as dx, applyResize as dy, applyTableStylePreset as dz, AccessibilityService as e, computeDataTablePrimitives as e$, buildFontFaceRule as e0, buildGradientFillCss as e1, buildGridlinesAndLabels as e2, buildHyperlinkPatch as e3, buildInkContainerStyle as e4, buildInkStrokes as e5, buildLegend as e6, buildModel3DContainerStyle as e7, buildModel3DViewModel as e8, buildOleActionModel as e9, cellStyleToStyleMap as eA, cellTdStyle as eB, changeCountLabel as eC, changeIcon as eD, characterSpacingPatch as eE, checkFontAvailable as eF, clampCursorPosition as eG, clampGifDimensions as eH, clampIndex as eI, clampNotesFontSize as eJ, clampScale as eK, clampStep as eL, clearAllLocalViewerData as eM, clearAudienceContent as eN, cn as eO, collectAccessibilityIssues as eP, collectElementText as eQ, collectSlideText as eR, collectStoredChats as eS, collectUsedFontFamilies as eT, columnWidthStyle as eU, commitNodeText as eV, computeAlign as eW, computeAxisTitlePrimitives as eX, computeBarRects as eY, computeBubbleRadius as eZ, computeCornerHandle as e_, buildOleInfoRows as ea, buildPatternFillCss as eb, buildPrintHtmlDocument as ec, buildPropertiesPatch as ed, buildRegionMapViewModel as ee, buildSaveSlides as ef, buildShareUrl as eg, buildSmartArtInsertElement as eh, buildSmartArtNodes as ei, buildStockViewModel as ej, buildSurfaceViewModel as ek, buildTableViewModel as el, buildTreemapViewModel as em, buildTrimFragment as en, buildWaterfallViewModel as eo, buildZeroLine as ep, buildZoomContainerStyle as eq, buildZoomViewModel as er, bulletIndentPx as es, canAddTopLevelNode as et, canRemoveTopLevelNode as eu, canStartBroadcast as ev, canStartShare as ew, canUseClipboard as ex, captionDisplayText as ey, cellRunStyle as ez, AccountPageComponent as f, encodeGif as f$, computeDistribute as f0, computeDrawingViewBox as f1, computeErrorBarPrimitives as f2, computeFocusTargets as f3, computeHandleBoxes as f4, computeHandoutLayout as f5, computeIsMobile as f6, computeIsTablet as f7, computeLinePoints as f8, computeLinearRegression as f9, createWebsocketBundle as fA, cssObjectToStyleMap as fB, currentColorScheme as fC, currentLayout as fD, currentStyle as fE, defaultCssVars as fF, defaultRadius as fG, defaultThemeColors as fH, deleteElementsByIds as fI, deleteVersion as fJ, demoteNode as fK, deriveModel3DBlobUrl as fL, derivePresenceList as fM, describeSmartArtBounds as fN, disableGlowPatch as fO, disableInnerShadowPatch as fP, disableOuterShadowPatch as fQ, disableReflectionPatch as fR, disableSoftEdgePatch as fS, duplicateElementById as fT, durationOf as fU, effectsStateOf as fV, enableGlowPatch as fW, enableInnerShadowPatch as fX, enableOuterShadowPatch as fY, enableReflectionPatch as fZ, enableSoftEdgePatch as f_, computePageCount as fa, computePieLayout as fb, computePieSlicePath as fc, computePieSlices as fd, computePlotLayout as fe, computeRSquared as ff, computeRadarPoints as fg, computeScatterDots as fh, computeSelectionBoxes as fi, computeSingleSelected as fj, computeSlideIndices as fk, computeSnap as fl, computeStackedBarRects as fm, computeStackedValueRange as fn, computeTextLines as fo, computeTimerProgress as fp, computeTrendlinePrimitives as fq, computeValueRange as fr, convertOmmlToMathMl as fs, copyFormatFromElement as ft, countAccessibilityIssues as fu, countAnnotationStrokes as fv, createAngularAiBridge as fw, createCustomShow as fx, createSwipeDismissDrag as fy, createWebrtcBundle as fz, ActionSettingsPanelComponent as g, hasAnimation as g$, estimatePageCount as g0, evenColumnWidths as g1, evenRowHeights as g2, exitPresentationFullscreen as g3, exportAiChatLogs as g4, extractPathPoints as g5, eyedropperAvailable as g6, fillColorOf as g7, findInSlides as g8, findOwningSlideIndex as g9, getOleBadgeLabel as gA, getOleDisplayName as gB, getOleDownloadFileName as gC, getOleTypeColor as gD, getOleTypeLabel as gE, getPasswordStrength as gF, getPatternSvg as gG, getPlaceholderStyle as gH, getVersions as gI, getResolvedShapeClipPath as gJ, getResolvedShapeClipPathFor as gK, getShapeFillStrokeStyle as gL, getSlideBackgroundStyle as gM, getSlideTransitionAnimations as gN, getSmartArtNodeBounds as gO, getSpeechRecognitionCtor as gP, getTextBlockStyle as gQ, getTextWarp as gR, getTouchDistance as gS, getWarpCategory as gT, getWarpPath as gU, gradientStateFromStyle as gV, gradientStateOf as gW, gradientStatePatch as gX, gridColumns as gY, groupElements as gZ, groupIssuesBySeverity as g_, findSlideIndexByElementId as ga, fitPolynomial as gb, fitZoom as gc, focusTargetChips as gd, fontMimeForFormat as ge, fontSizeOf as gf, formatAutoNumber as gg, formatAxisValue as gh, formatBytes as gi, formatCursorLabel as gj, formatElapsed as gk, formatFileSize as gl, formatPropertyDate as gm, formatTime as gn, fpsToFrameIntervalMs as go, generateBroadcastRoomId as gp, generateCommentId as gq, generateCustomShowId as gr, generatePressureCircles as gs, generateRulerTicks as gt, getClrChangeParams as gu, getContainerStyle as gv, getDuotoneFilterDef as gw, getImageSrc as gx, getLocalStorageUsageSummary as gy, getOleAriaLabel as gz, AdvancedChartEditorComponent as h, normalizeValue as h$, hasCopyableFormat as h0, hasExistingLink as h1, hasExitedFullscreen as h2, hasGradientFill as h3, hasPressureVariation as h4, hasVisibleSlideAfter as h5, headerLabel as h6, inkViewBox as h7, insertColumn as h8, insertRow as h9, mergeDown as hA, mergeRight as hB, mergeSelection as hC, moveElementBy as hD, moveNodeDown as hE, moveNodeUp as hF, msToFrameDelayCs as hG, narrowToCircle as hH, narrowToPolygon as hI, narrowToRect as hJ, newChartElement as hK, newEquationElement as hL, newPresetShapeElement as hM, newShapeElement as hN, newSmartArtElement as hO, newTableElement as hP, newTextElement as hQ, nextVisibleIndex as hR, nodeBold as hS, nodeEditBox as hT, nodeFillColor as hU, nodeFontColor as hV, nodeIdFromKey as hW, nodeItalic as hX, nodeStyle as hY, normalizeFontFormat as hZ, normalizeSlidesPerPage as h_, interpolateWidth as ha, isAudienceTab as hb, isBold as hc, isBrowserOpenableMime as hd, isChildNode as he, isElementInteractive as hf, isInjectableUrl as hg, isItalic as hh, isPpactionUrl as hi, isPresenterMessage as hj, isSigned as hk, isTextElement as hl, isTwoTableFocus as hm, isUnderline as hn, isUrlSafe as ho, isValidRoomId as hp, isViewportBackgroundPressTarget as hq, isZoomActivationKey as hr, issueTrackKey as hs, issueTypeLabel as ht, keyToLabel as hu, latexToMathml as hv, linePointsToSvgString as hw, lineSpacingPatch as hx, loadAudienceContent as hy, mergeCaptionResults as hz, AiChangeOverlayComponent as i, revealedElementStyles as i$, numFromEvent as i0, ommlToMathml as i1, ooxmlDashToCssBorderStyle as i2, openNativeEyeDropper as i3, overallStatus as i4, paletteColor as i5, parseAudienceNonce as i6, parseNodeTextarea as i7, partitionSlides as i8, patchChartData as i9, removeCommentFromList as iA, removeElementAnimation as iB, removeGradientStopPatch as iC, removeNode as iD, removeRow as iE, removeSeries as iF, renderToCanvas as iG, reorderAnimationDown as iH, reorderAnimationUp as iI, replaceInSlides as iJ, replaceMatch as iK, requestPresentationFullscreen as iL, resizeElement as iM, resolveCaptionTracks as iN, resolveChartKind as iO, resolveFontVariant as iP, resolveHyperlinkHref as iQ, resolveInteractiveElementId as iR, resolveMediaSrc as iS, resolveOleType as iT, resolveParagraphBullet as iU, resolvePresenterNotes as iV, resolveProfileInitial as iW, resolveRegionCode as iX, resolvePalette as iY, resolveThemeCatalogEntry as iZ, resolveTransitionDuration as i_, patchChartStyle as ia, patchTableData as ib, patchTextStyle as ic, pendingElementStyles as id, pickColorByClickFallback as ie, pickSupportedMimeType as ig, planGifFrames as ih, planVideoSegments as ii, pointsToSvgPathD as ij, presenceToCursors as ik, presetByLayout as il, presetsForCategory as im, pressuresToWidths as io, prevVisibleIndex as ip, projectDrawingShapes as iq, promoteNode as ir, provideViewerTheme as is, radarAngle as it, radarRingPoints as iu, recordWebm as iv, redistributeColumnWidth as iw, removeAnimation as ix, removeCategory as iy, removeColumn as iz, AiChatPanelComponent as j, signatureCountLabel as j$, routeOrthogonalConnector as j0, rowStyle as j1, sampleColorFromSlide as j2, sanitizeColor as j3, sanitizeSlideIndex as j4, sanitizeUserName as j5, saveViewerProfile as j6, scanAvailableFonts as j7, searchSlides as j8, seedBroadcastFields as j9, setElementPosition as jA, setGridlineStyle as jB, setLayout as jC, setLegend as jD, setNodeStyle as jE, setNodeText as jF, setRepeatCount as jG, setRepeatMode as jH, setSequence as jI, setSeriesChartType as jJ, setSeriesColor as jK, setSeriesErrorBars as jL, setSeriesMarker as jM, setSeriesName as jN, setSeriesTrendline as jO, setSeriesValue as jP, setStyle as jQ, setTimingCurve as jR, setTitle as jS, setTrigger as jT, setTriggerShapeId as jU, shapeStylePatch as jV, sheetAfterNavigate as jW, shouldBlockClickAdvance as jX, shouldUseSvgWarp as jY, showDirectionPicker as jZ, showsTemplateAffordance as j_, seedHyperlinkDraft as ja, seedPropertiesDraft as jb, seedShareFields as jc, segmentFrameCount as jd, selectValue$2 as je, sendBackward as jf, sendToBack as jg, sequentialColorScale as jh, serializeWriteBack as ji, seriesColor as jj, setAnimationEmphasis as jk, setAnimationEntrance as jl, setAnimationExit as jm, setAxis as jn, setAxisLogScale as jo, setAxisTitleStyle as jp, setCategoryLabel as jq, setCellText as jr, setColorScheme as js, setDataLabels as jt, setDataPointExplosion as ju, setDataPointFill as jv, setDataPointLabel as jw, setDelay as jx, setDirection as jy, setDuration as jz, AiChatService as k, signatureKey as k0, signatureTimestamp as k1, signerName as k2, statusLabel as k3, slideNumberOf as k4, smartArtNodes as k5, paletteColour as k6, snapToGridStep as k7, splitCursorCell as k8, splitMergedCell as k9, updateElementById as kA, updateGlowPatch as kB, updateGradientStopPatch as kC, updateInnerShadowPatch as kD, updateOuterShadowPatch as kE, updateReflectionPatch as kF, vAlignPatch as kG, validatePassword as kH, validatePrintSettings as kI, validateRoomId as kJ, valueToY as kK, vermilionDarkColors as kL, vermilionDarkTheme as kM, vermilionLightColors as kN, vermilionLightTheme as kO, vermilionRadius as kP, waypointsToPathD as kQ, worstStatus as kR, zoomTargetSlideIndex as kS, statusKind as ka, statusLabel$1 as kb, storeAudienceContent as kc, stringFromEvent$5 as kd, strokeColorOf as ke, strokeToInkElement as kf, styleShadowFilter as kg, textAdvancedPatch as kh, textAdvancedStateFromStyle as ki, textAdvancedStateOf as kj, textColorOf as kk, textDirectionPatch as kl, textStyleOf as km, textStylePatch as kn, themeStyle as ko, themeToCssVars as kp, thumbnailHeight as kq, thumbnailZoom as kr, toggleCommentResolvedInList as ks, toggleNodeBold as kt, toggleNodeItalic as ku, toggleSheet as kv, topLevelNodeCount as kw, transformSelectedTextCase as kx, translationsEn as ky, ungroupElements as kz, AiComposerComponent as l, AiFocusBarComponent as m, AiFocusHighlightOverlayComponent as n, AiMessageListComponent as o, AiPanelStore as p, AiProposalCardComponent as q, AiSettingsSectionComponent as r, AiToolCallCardComponent as s, toChatSummary as t, AnimationAuthorPanelComponent as u, AnimationPanelComponent as v, AnimationPlaybackService as w, AutosaveService as x, CURSOR_PALETTE as y, CanvasFitService as z };
114234
- //# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-B080JvFb.mjs.map
114372
+ //# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-DY-f2Dk9.mjs.map