ooxml-core 0.14.1 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/dist/automation/index.cjs +3058 -1968
  2. package/dist/automation/index.mjs +3058 -1968
  3. package/dist/automation/node.d.ts.map +1 -1
  4. package/dist/collab/emitter.d.ts.map +1 -1
  5. package/dist/collab/ordering.d.ts.map +1 -1
  6. package/dist/crypto/detect.d.ts.map +1 -1
  7. package/dist/crypto/errors.d.ts +3 -3
  8. package/dist/crypto/errors.d.ts.map +1 -1
  9. package/dist/crypto/index.cjs +6 -6
  10. package/dist/crypto/index.mjs +6 -6
  11. package/dist/crypto/key-derivation.d.ts.map +1 -1
  12. package/dist/diagram/drawing.d.ts.map +1 -1
  13. package/dist/diagram/relationships.d.ts.map +1 -1
  14. package/dist/digest/sha512.d.ts.map +1 -1
  15. package/dist/docx/block-parser.d.ts.map +1 -1
  16. package/dist/docx/diagram.d.ts.map +1 -1
  17. package/dist/docx/docpr-ids.d.ts.map +1 -1
  18. package/dist/docx/embedded.cjs +11 -0
  19. package/dist/docx/embedded.mjs +11 -0
  20. package/dist/docx/field-runs.d.ts.map +1 -1
  21. package/dist/docx/generated/wml-simple-types.d.ts +99 -99
  22. package/dist/docx/generated/wml-simple-types.d.ts.map +1 -1
  23. package/dist/docx/heading-list-kinds.d.ts.map +1 -1
  24. package/dist/docx/highlight.d.ts +1 -1
  25. package/dist/docx/highlight.d.ts.map +1 -1
  26. package/dist/docx/index.cjs +59 -4
  27. package/dist/docx/index.mjs +59 -4
  28. package/dist/docx/layout/index.cjs +1 -0
  29. package/dist/docx/layout/index.mjs +1 -0
  30. package/dist/docx/layout/page-cursor.d.ts.map +1 -1
  31. package/dist/docx/ligatures.d.ts +1 -1
  32. package/dist/docx/ligatures.d.ts.map +1 -1
  33. package/dist/docx/load/index.cjs +29 -18
  34. package/dist/docx/load/index.mjs +29 -18
  35. package/dist/docx/load/legacy-doc.d.ts.map +1 -1
  36. package/dist/docx/model-paragraph.d.ts +6 -1
  37. package/dist/docx/model-paragraph.d.ts.map +1 -1
  38. package/dist/docx/paragraph-styles.d.ts +3 -1
  39. package/dist/docx/paragraph-styles.d.ts.map +1 -1
  40. package/dist/docx/relationship-allocator.d.ts.map +1 -1
  41. package/dist/docx/revision-commands.d.ts.map +1 -1
  42. package/dist/docx/simple-types.d.ts.map +1 -1
  43. package/dist/docx/table-of-contents.d.ts.map +1 -1
  44. package/dist/docx/table-of-figures.d.ts.map +1 -1
  45. package/dist/docx/test-support/restart-fixture.d.ts +3 -3
  46. package/dist/docx/test-support/restart-fixture.d.ts.map +1 -1
  47. package/dist/docx/toc-switches.d.ts +16 -0
  48. package/dist/docx/toc-switches.d.ts.map +1 -0
  49. package/dist/docx/validate-issues.d.ts.map +1 -1
  50. package/dist/docx/write-revisions.d.ts.map +1 -1
  51. package/dist/docx/xml.d.ts.map +1 -1
  52. package/dist/docx/zip-parts.d.ts.map +1 -1
  53. package/dist/opc/properties/types.d.ts +6 -6
  54. package/dist/opc/properties/types.d.ts.map +1 -1
  55. package/dist/opc/relationship-types.d.ts +6 -6
  56. package/dist/opc/relationship-types.d.ts.map +1 -1
  57. package/dist/opc/relationships.d.ts.map +1 -1
  58. package/dist/pptx/automation/index.cjs +138 -138
  59. package/dist/pptx/automation/index.d.ts +3 -3
  60. package/dist/pptx/automation/index.mjs +138 -138
  61. package/dist/pptx/chunks/{index-BWRd8p4y.d.ts → index-BtBj3VG1.d.ts} +3 -3
  62. package/dist/pptx/chunks/index-BtBj3VG1.d.ts.map +1 -0
  63. package/dist/pptx/chunks/{index-CT9y69AZ.d.ts → index-D0yGoLyw.d.ts} +136 -136
  64. package/dist/pptx/chunks/index-D0yGoLyw.d.ts.map +1 -0
  65. package/dist/pptx/chunks/{text-operations-2tKzrY5o.d.ts → text-operations-GuisjlbR.d.ts} +2 -2
  66. package/dist/pptx/chunks/{text-operations-2tKzrY5o.d.ts.map → text-operations-GuisjlbR.d.ts.map} +1 -1
  67. package/dist/pptx/cli/index.cjs +104 -104
  68. package/dist/pptx/cli/index.d.ts +1 -1
  69. package/dist/pptx/cli/index.mjs +104 -104
  70. package/dist/pptx/converter/index.d.ts +1 -1
  71. package/dist/pptx/index.cjs +138 -138
  72. package/dist/pptx/index.d.ts +3 -3
  73. package/dist/pptx/index.mjs +138 -138
  74. package/dist/teams/call.d.ts +61 -0
  75. package/dist/teams/call.d.ts.map +1 -0
  76. package/dist/teams/chat.d.ts +34 -0
  77. package/dist/teams/chat.d.ts.map +1 -0
  78. package/dist/teams/index.cjs +2207 -0
  79. package/dist/teams/index.d.ts +10 -0
  80. package/dist/teams/index.d.ts.map +1 -0
  81. package/dist/teams/index.mjs +2153 -0
  82. package/dist/teams/model.d.ts +49 -0
  83. package/dist/teams/model.d.ts.map +1 -0
  84. package/dist/teams/peer.d.ts +76 -0
  85. package/dist/teams/peer.d.ts.map +1 -0
  86. package/dist/teams/server-config.d.ts +27 -0
  87. package/dist/teams/server-config.d.ts.map +1 -0
  88. package/dist/teams/signaling.d.ts +81 -0
  89. package/dist/teams/signaling.d.ts.map +1 -0
  90. package/dist/teams/store.d.ts +113 -0
  91. package/dist/teams/store.d.ts.map +1 -0
  92. package/dist/teams/view.d.ts +77 -0
  93. package/dist/teams/view.d.ts.map +1 -0
  94. package/dist/teams/workspace.d.ts +51 -0
  95. package/dist/teams/workspace.d.ts.map +1 -0
  96. package/dist/units/units.d.ts.map +1 -1
  97. package/dist/visio/edit-geometry-admission.d.ts.map +1 -1
  98. package/dist/visio/edit-recalculate-index.d.ts.map +1 -1
  99. package/dist/visio/emf-admission-context.d.ts +1 -1
  100. package/dist/visio/emf-admission-context.d.ts.map +1 -1
  101. package/dist/visio/foreign-vector-types.d.ts.map +1 -1
  102. package/dist/visio/formula-master.d.ts +2 -2
  103. package/dist/visio/formula.d.ts.map +1 -1
  104. package/dist/visio/index.cjs +2048 -290
  105. package/dist/visio/index.mjs +2048 -290
  106. package/dist/visio/media.d.ts.map +1 -1
  107. package/dist/visio/package-common.d.ts.map +1 -1
  108. package/dist/visio/package.d.ts.map +1 -1
  109. package/dist/visio/sheet.d.ts.map +1 -1
  110. package/dist/visio/theme-color.d.ts.map +1 -1
  111. package/dist/xlsx/address.d.ts.map +1 -1
  112. package/dist/xlsx/cell-styles.d.ts.map +1 -1
  113. package/dist/xlsx/cells.d.ts.map +1 -1
  114. package/dist/xlsx/edit/calc-mode.d.ts.map +1 -1
  115. package/dist/xlsx/edit/clipboard-html.d.ts.map +1 -1
  116. package/dist/xlsx/edit/columns.d.ts.map +1 -1
  117. package/dist/xlsx/edit/context.d.ts.map +1 -1
  118. package/dist/xlsx/edit/fill-series.d.ts.map +1 -1
  119. package/dist/xlsx/edit/history.d.ts.map +1 -1
  120. package/dist/xlsx/edit/outline.d.ts.map +1 -1
  121. package/dist/xlsx/edit/range-math.d.ts.map +1 -1
  122. package/dist/xlsx/edit/session-calc.d.ts.map +1 -1
  123. package/dist/xlsx/edit/structure.d.ts.map +1 -1
  124. package/dist/xlsx/formula/area-index.d.ts.map +1 -1
  125. package/dist/xlsx/formula/ast.d.ts.map +1 -1
  126. package/dist/xlsx/formula/date-serial.d.ts.map +1 -1
  127. package/dist/xlsx/formula/engine-core.d.ts.map +1 -1
  128. package/dist/xlsx/formula/engine-host.d.ts.map +1 -1
  129. package/dist/xlsx/formula/engine-util.d.ts.map +1 -1
  130. package/dist/xlsx/formula/functions/complex.d.ts +14 -0
  131. package/dist/xlsx/formula/functions/complex.d.ts.map +1 -0
  132. package/dist/xlsx/formula/functions/convert.d.ts +4 -0
  133. package/dist/xlsx/formula/functions/convert.d.ts.map +1 -0
  134. package/dist/xlsx/formula/functions/criteria.d.ts.map +1 -1
  135. package/dist/xlsx/formula/functions/database.d.ts +4 -0
  136. package/dist/xlsx/formula/functions/database.d.ts.map +1 -0
  137. package/dist/xlsx/formula/functions/dist-core.d.ts.map +1 -1
  138. package/dist/xlsx/formula/functions/distributions-f.d.ts +6 -0
  139. package/dist/xlsx/formula/functions/distributions-f.d.ts.map +1 -0
  140. package/dist/xlsx/formula/functions/distributions.d.ts.map +1 -1
  141. package/dist/xlsx/formula/functions/engineering.d.ts.map +1 -1
  142. package/dist/xlsx/formula/functions/helpers.d.ts.map +1 -1
  143. package/dist/xlsx/formula/functions/hypothesis-tests.d.ts +4 -0
  144. package/dist/xlsx/formula/functions/hypothesis-tests.d.ts.map +1 -0
  145. package/dist/xlsx/formula/functions/math-combin.d.ts.map +1 -1
  146. package/dist/xlsx/formula/functions/matrix.d.ts +5 -0
  147. package/dist/xlsx/formula/functions/matrix.d.ts.map +1 -1
  148. package/dist/xlsx/formula/functions/registry.d.ts.map +1 -1
  149. package/dist/xlsx/formula/functions/regression-core.d.ts +34 -0
  150. package/dist/xlsx/formula/functions/regression-core.d.ts.map +1 -0
  151. package/dist/xlsx/formula/functions/regression.d.ts +4 -0
  152. package/dist/xlsx/formula/functions/regression.d.ts.map +1 -0
  153. package/dist/xlsx/formula/functions/statistical.d.ts.map +1 -1
  154. package/dist/xlsx/formula/functions/stats-core.d.ts.map +1 -1
  155. package/dist/xlsx/formula/functions/text-case.d.ts.map +1 -1
  156. package/dist/xlsx/formula/functions/types.d.ts.map +1 -1
  157. package/dist/xlsx/formula/graph-index.d.ts.map +1 -1
  158. package/dist/xlsx/formula/lexemes.d.ts +1 -1
  159. package/dist/xlsx/formula/lexemes.d.ts.map +1 -1
  160. package/dist/xlsx/formula/references.d.ts.map +1 -1
  161. package/dist/xlsx/formula/spill.d.ts.map +1 -1
  162. package/dist/xlsx/formula/test-helpers.d.ts.map +1 -1
  163. package/dist/xlsx/formula/tokenizer.d.ts.map +1 -1
  164. package/dist/xlsx/formula/values.d.ts +2 -1
  165. package/dist/xlsx/formula/values.d.ts.map +1 -1
  166. package/dist/xlsx/index.cjs +2835 -1756
  167. package/dist/xlsx/index.mjs +2835 -1756
  168. package/dist/xlsx/layout/axis-metrics.d.ts.map +1 -1
  169. package/dist/xlsx/layout/chart-svg-util.d.ts.map +1 -1
  170. package/dist/xlsx/layout/colors.d.ts +1 -1
  171. package/dist/xlsx/layout/colors.d.ts.map +1 -1
  172. package/dist/xlsx/layout/tint.d.ts.map +1 -1
  173. package/dist/xlsx/layout/units.d.ts.map +1 -1
  174. package/dist/xlsx/load/errors.d.ts.map +1 -1
  175. package/dist/xlsx/load/index.cjs +2320 -1241
  176. package/dist/xlsx/load/index.mjs +2320 -1241
  177. package/dist/xlsx/load/legacy-xls-sheet.d.ts.map +1 -1
  178. package/dist/xlsx/load/legacy-xls.d.ts.map +1 -1
  179. package/dist/xlsx/model.d.ts +1 -1
  180. package/dist/xlsx/model.d.ts.map +1 -1
  181. package/dist/xlsx/numfmt/decimal.d.ts.map +1 -1
  182. package/dist/xlsx/read/package.d.ts +22 -22
  183. package/dist/xlsx/read/package.d.ts.map +1 -1
  184. package/dist/xlsx/read/password-hash.d.ts.map +1 -1
  185. package/dist/xlsx/read/sheet-props.d.ts +7 -7
  186. package/dist/xlsx/read/sheet-props.d.ts.map +1 -1
  187. package/dist/xlsx/read/theme.d.ts +2 -2
  188. package/dist/xlsx/read/theme.d.ts.map +1 -1
  189. package/dist/xlsx/read/worksheet.d.ts +1 -1
  190. package/dist/xlsx/read/worksheet.d.ts.map +1 -1
  191. package/dist/xlsx/read/xml-util.d.ts.map +1 -1
  192. package/dist/xlsx/workbook.d.ts.map +1 -1
  193. package/dist/xlsx/write/carried-refs.d.ts.map +1 -1
  194. package/dist/xlsx/write/comments.d.ts.map +1 -1
  195. package/dist/xlsx/write/doc-props.d.ts.map +1 -1
  196. package/dist/xlsx/write/drawing.d.ts.map +1 -1
  197. package/dist/xlsx/write/dynamic-array.d.ts.map +1 -1
  198. package/dist/xlsx/write/metadata.d.ts.map +1 -1
  199. package/dist/xlsx/write/package-writer.d.ts.map +1 -1
  200. package/dist/xlsx/write/shared-strings.d.ts.map +1 -1
  201. package/dist/xlsx/write/snapshot.d.ts.map +1 -1
  202. package/dist/xlsx/write/style-xml.d.ts.map +1 -1
  203. package/dist/xlsx/write/styles.d.ts.map +1 -1
  204. package/dist/xlsx/write/vml-ids.d.ts.map +1 -1
  205. package/dist/xlsx/write/xml-out.d.ts.map +1 -1
  206. package/dist/xml/namespaces.d.ts +31 -31
  207. package/dist/xml/namespaces.d.ts.map +1 -1
  208. package/dist/xml/xml.d.ts.map +1 -1
  209. package/package.json +19 -14
  210. package/dist/pptx/chunks/index-BWRd8p4y.d.ts.map +0 -1
  211. package/dist/pptx/chunks/index-CT9y69AZ.d.ts.map +0 -1
@@ -13641,10 +13641,10 @@ var init_ole_utils = __esm({
13641
13641
  }
13642
13642
  });
13643
13643
 
13644
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js
13644
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js
13645
13645
  var OLE_MAGIC, ENDOFCHAIN, FREESECT, FATSECT, DIFSECT, MAXREGSECT, ENTRY_TYPE_EMPTY, ENTRY_TYPE_STREAM, ENTRY_TYPE_ROOT, DIR_ENTRY_SIZE, Ole2ParseError;
13646
13646
  var init_ole2_parser_types = __esm({
13647
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js"() {
13647
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js"() {
13648
13648
  OLE_MAGIC = new Uint8Array([208, 207, 17, 224, 161, 177, 26, 225]);
13649
13649
  ENDOFCHAIN = 4294967294;
13650
13650
  FREESECT = 4294967295;
@@ -13664,7 +13664,7 @@ var init_ole2_parser_types = __esm({
13664
13664
  }
13665
13665
  });
13666
13666
 
13667
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js
13667
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js
13668
13668
  function parseOle2(buffer) {
13669
13669
  const data = new Uint8Array(buffer);
13670
13670
  const view = new DataView(buffer);
@@ -13894,7 +13894,7 @@ function parseOle2(buffer) {
13894
13894
  return { entries, getStream };
13895
13895
  }
13896
13896
  var init_ole2_parser_read = __esm({
13897
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js"() {
13897
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js"() {
13898
13898
  init_ole2_parser_types();
13899
13899
  }
13900
13900
  });
@@ -14034,7 +14034,7 @@ var init_ole_embedded_extract = __esm({
14034
14034
  }
14035
14035
  });
14036
14036
 
14037
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js
14037
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js
14038
14038
  function compareDirEntryNames(a, b) {
14039
14039
  const ua = a.toUpperCase();
14040
14040
  const ub = b.toUpperCase();
@@ -14101,12 +14101,12 @@ function writeInt32Sectors(outBytes, int32Data, firstSector, numSectors, sectorS
14101
14101
  }
14102
14102
  }
14103
14103
  var init_ole2_parser_write_helpers = __esm({
14104
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js"() {
14104
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js"() {
14105
14105
  init_ole2_parser_types();
14106
14106
  }
14107
14107
  });
14108
14108
 
14109
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js
14109
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js
14110
14110
  function writeHeader(outView, outBytes, params) {
14111
14111
  outBytes.set(OLE_MAGIC, 0);
14112
14112
  outView.setUint16(24, 62, true);
@@ -14199,14 +14199,14 @@ function writeStreamSectors(outBytes, streamData, chain, sectorSize) {
14199
14199
  }
14200
14200
  var HEADER_DIFAT_ENTRIES;
14201
14201
  var init_ole2_parser_write_serialize = __esm({
14202
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js"() {
14202
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js"() {
14203
14203
  init_ole2_parser_types();
14204
14204
  init_ole2_parser_write_helpers();
14205
14205
  HEADER_DIFAT_ENTRIES = 109;
14206
14206
  }
14207
14207
  });
14208
14208
 
14209
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js
14209
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js
14210
14210
  function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
14211
14211
  const sectorSize = 512;
14212
14212
  const miniSectorSize = 64;
@@ -14387,7 +14387,7 @@ function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
14387
14387
  return output;
14388
14388
  }
14389
14389
  var init_ole2_parser_write = __esm({
14390
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js"() {
14390
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js"() {
14391
14391
  init_ole2_parser_types();
14392
14392
  init_ole2_parser_write_helpers();
14393
14393
  init_ole2_parser_write_serialize();
@@ -14849,7 +14849,7 @@ var init_xml_whitespace = __esm({
14849
14849
  }
14850
14850
  });
14851
14851
 
14852
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js
14852
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js
14853
14853
  function adler32(bytes) {
14854
14854
  let a = 1;
14855
14855
  let b = 0;
@@ -14898,7 +14898,7 @@ function zlibStore(data) {
14898
14898
  return concatBytes([zlibHeader, ...blocks, adlerBytes]);
14899
14899
  }
14900
14900
  var init_png_encoder = __esm({
14901
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js"() {
14901
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js"() {
14902
14902
  (() => {
14903
14903
  const table = new Uint32Array(256);
14904
14904
  for (let n = 0; n < 256; n++) {
@@ -33432,7 +33432,7 @@ var init_encryption_detection = __esm({
33432
33432
  }
33433
33433
  });
33434
33434
 
33435
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js
33435
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js
33436
33436
  function getSubtle() {
33437
33437
  if (typeof globalThis.crypto !== "undefined" && globalThis.crypto.subtle) {
33438
33438
  return globalThis.crypto.subtle;
@@ -33550,7 +33550,7 @@ async function hmac(algorithm, key2, data) {
33550
33550
  return new Uint8Array(result);
33551
33551
  }
33552
33552
  var init_ooxml_crypto_primitives = __esm({
33553
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js"() {
33553
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js"() {
33554
33554
  }
33555
33555
  });
33556
33556
 
@@ -34748,7 +34748,7 @@ var init_ole2_parser = __esm({
34748
34748
  }
34749
34749
  });
34750
34750
 
34751
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js
34751
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js
34752
34752
  function rotl32(x, n) {
34753
34753
  return (x << n | x >>> 32 - n) >>> 0;
34754
34754
  }
@@ -34797,11 +34797,11 @@ function mdStyleDigest(message, initialState, transform2) {
34797
34797
  return out;
34798
34798
  }
34799
34799
  var init_bit_ops = __esm({
34800
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js"() {
34800
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js"() {
34801
34801
  }
34802
34802
  });
34803
34803
 
34804
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js
34804
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js
34805
34805
  function f1(x, y, z) {
34806
34806
  return x & y | ~x & z;
34807
34807
  }
@@ -34825,7 +34825,7 @@ function md4(message) {
34825
34825
  }
34826
34826
  var INITIAL_STATE, K22, K3, ROUND1, ROUND2, ROUND3;
34827
34827
  var init_md4 = __esm({
34828
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js"() {
34828
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js"() {
34829
34829
  init_bit_ops();
34830
34830
  INITIAL_STATE = [1732584193, 4023233417, 2562383102, 271733878];
34831
34831
  K22 = 1518500249;
@@ -90840,7 +90840,7 @@ var init_metro_blob_collect = __esm({
90840
90840
  }
90841
90841
  });
90842
90842
 
90843
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js
90843
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js
90844
90844
  function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0) {
90845
90845
  const header = new Uint8Array(8);
90846
90846
  const view = new DataView(header.buffer);
@@ -90855,7 +90855,7 @@ function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0
90855
90855
  }
90856
90856
  var ByteWriter;
90857
90857
  var init_byte_writer = __esm({
90858
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js"() {
90858
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js"() {
90859
90859
  ByteWriter = class {
90860
90860
  chunks = [];
90861
90861
  length = 0;
@@ -90938,13 +90938,13 @@ var init_byte_writer = __esm({
90938
90938
  }
90939
90939
  });
90940
90940
 
90941
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js
90941
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js
90942
90942
  function masterToEmu(mu) {
90943
90943
  return Math.round(mu * EMU_PER_MASTER);
90944
90944
  }
90945
90945
  var RT, OA, TEXT_TYPE, HEADER_TOKEN_PLAIN, HEADER_TOKEN_ENCRYPTED, EMU_PER_MASTER;
90946
90946
  var init_legacy_ppt_record_types = __esm({
90947
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js"() {
90947
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js"() {
90948
90948
  RT = {
90949
90949
  Document: 1e3,
90950
90950
  DocumentAtom: 1001,
@@ -91073,14 +91073,14 @@ var init_legacy_ppt_record_types = __esm({
91073
91073
  }
91074
91074
  });
91075
91075
 
91076
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js
91076
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js
91077
91077
  var init_record_types = __esm({
91078
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js"() {
91078
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js"() {
91079
91079
  init_legacy_ppt_record_types();
91080
91080
  }
91081
91081
  });
91082
91082
 
91083
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js
91083
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js
91084
91084
  function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
91085
91085
  const nameBytes = new ByteWriter().ansi(USER_NAME).toBytes();
91086
91086
  const data = new ByteWriter().u32(20).u32(encrypted ? HEADER_TOKEN_ENCRYPTED : HEADER_TOKEN_PLAIN).u32(offsetToCurrentEdit).u16(nameBytes.length).u16(1012).u8(3).u8(0).bytes(new Uint8Array(2)).bytes(nameBytes).u32(8).toBytes();
@@ -91094,7 +91094,7 @@ function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
91094
91094
  }
91095
91095
  var USER_NAME, CURRENT_USER_STREAM_SIZE;
91096
91096
  var init_current_user_writer = __esm({
91097
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js"() {
91097
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js"() {
91098
91098
  init_record_types();
91099
91099
  init_byte_writer();
91100
91100
  USER_NAME = "pptx-viewer";
@@ -91102,7 +91102,7 @@ var init_current_user_writer = __esm({
91102
91102
  }
91103
91103
  });
91104
91104
 
91105
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js
91105
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js
91106
91106
  function pictureUid(picture) {
91107
91107
  return md4(picture.bytes);
91108
91108
  }
@@ -91125,7 +91125,7 @@ function buildFbse(picture, uid, foDelay, size) {
91125
91125
  }
91126
91126
  var MSOBLIP_PICT, BLIP_INFO;
91127
91127
  var init_blip_writer = __esm({
91128
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js"() {
91128
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js"() {
91129
91129
  init_md4();
91130
91130
  init_png_encoder();
91131
91131
  init_record_types();
@@ -91141,7 +91141,7 @@ var init_blip_writer = __esm({
91141
91141
  }
91142
91142
  });
91143
91143
 
91144
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js
91144
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js
91145
91145
  function boolPropValue(flag, bit, useBit) {
91146
91146
  return useBit | (flag ? bit : 0);
91147
91147
  }
@@ -91177,7 +91177,7 @@ function buildMetroBlobTertiaryFopt(metroBlob) {
91177
91177
  }
91178
91178
  var OPT, FBID_FLAG, METRO_BLOB_OPID;
91179
91179
  var init_fopt_writer = __esm({
91180
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js"() {
91180
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js"() {
91181
91181
  init_record_types();
91182
91182
  init_byte_writer();
91183
91183
  OPT = {
@@ -91205,7 +91205,7 @@ var init_fopt_writer = __esm({
91205
91205
  }
91206
91206
  });
91207
91207
 
91208
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js
91208
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js
91209
91209
  function buildDggDefaultProperties() {
91210
91210
  return buildFopt([
91211
91211
  { id: 385, value: 134217732 },
@@ -91263,7 +91263,7 @@ function buildPictureStore(pictures, shapesPerDrawing) {
91263
91263
  }
91264
91264
  var SHAPE_ID_CLUSTER_SIZE;
91265
91265
  var init_bstore_writer = __esm({
91266
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js"() {
91266
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js"() {
91267
91267
  init_record_types();
91268
91268
  init_blip_writer();
91269
91269
  init_byte_writer();
@@ -91272,7 +91272,7 @@ var init_bstore_writer = __esm({
91272
91272
  }
91273
91273
  });
91274
91274
 
91275
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js
91275
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js
91276
91276
  function buildFontEntityAtom(name, index) {
91277
91277
  const nameBytes = new ByteWriter().utf16(name.slice(0, 31)).u16(0).toBytes();
91278
91278
  const padded = new Uint8Array(LF_FACE_NAME_BYTES);
@@ -91300,14 +91300,14 @@ function buildEnvironment(fonts, otherTextStyle) {
91300
91300
  }
91301
91301
  var LF_FACE_NAME_BYTES;
91302
91302
  var init_font_collection_writer = __esm({
91303
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js"() {
91303
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js"() {
91304
91304
  init_record_types();
91305
91305
  init_byte_writer();
91306
91306
  LF_FACE_NAME_BYTES = 64;
91307
91307
  }
91308
91308
  });
91309
91309
 
91310
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js
91310
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js
91311
91311
  function emuToMaster(emu2) {
91312
91312
  return Math.round(emu2 / EMU_PER_MASTER);
91313
91313
  }
@@ -91363,7 +91363,7 @@ function buildDocumentContainer(input) {
91363
91363
  }
91364
91364
  var MASTER_SLIDE_ID_SENTINEL, RT_CSTRING, RT_BINARY_TAG_DATA_BLOB;
91365
91365
  var init_document_writer = __esm({
91366
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js"() {
91366
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js"() {
91367
91367
  init_record_types();
91368
91368
  init_byte_writer();
91369
91369
  init_font_collection_writer();
@@ -91373,7 +91373,7 @@ var init_document_writer = __esm({
91373
91373
  }
91374
91374
  });
91375
91375
 
91376
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js
91376
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js
91377
91377
  function buildCString(text2, recInstance) {
91378
91378
  return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
91379
91379
  }
@@ -91509,7 +91509,7 @@ function buildTextInteractiveInfoAtom(beginChar, endChar) {
91509
91509
  }
91510
91510
  var II_ACTION, II_JUMP, LT, FLAG_CUSTOM_SHOW_RETURN, HyperlinkCollector;
91511
91511
  var init_hyperlink_writer = __esm({
91512
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js"() {
91512
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js"() {
91513
91513
  init_record_types();
91514
91514
  init_byte_writer();
91515
91515
  II_ACTION = {
@@ -91572,7 +91572,7 @@ var init_hyperlink_writer = __esm({
91572
91572
  }
91573
91573
  });
91574
91574
 
91575
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js
91575
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js
91576
91576
  function buildCString2(text2, recInstance) {
91577
91577
  return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
91578
91578
  }
@@ -91608,7 +91608,7 @@ function buildMediaExObjEntries(media) {
91608
91608
  }
91609
91609
  var MediaCollector, SOUND_EXTENSION_WAV, SOUND_LENGTH_UNKNOWN;
91610
91610
  var init_media_writer = __esm({
91611
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js"() {
91611
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js"() {
91612
91612
  init_record_types();
91613
91613
  init_byte_writer();
91614
91614
  MediaCollector = class {
@@ -91644,7 +91644,7 @@ var init_media_writer = __esm({
91644
91644
  }
91645
91645
  });
91646
91646
 
91647
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js
91647
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js
91648
91648
  function hexToBytes(hex3) {
91649
91649
  const out = new Uint8Array(hex3.length / 2);
91650
91650
  for (let i = 0; i < out.length; i++) {
@@ -91706,7 +91706,7 @@ function buildExObjRefAtom(exObjId) {
91706
91706
  }
91707
91707
  var PACKAGE_ROOT_CLSID, COMP_OBJ_HEX, EX_OLE_EMBEDDED, DV_ASPECT_ICON, EX_OLE_SUB_DEFAULT, PACKAGER_MENU_NAME, OleCollector;
91708
91708
  var init_ole_writer = __esm({
91709
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js"() {
91709
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js"() {
91710
91710
  init_ole2_parser_write();
91711
91711
  init_record_types();
91712
91712
  init_byte_writer();
@@ -91766,7 +91766,7 @@ var init_ole_writer = __esm({
91766
91766
  }
91767
91767
  });
91768
91768
 
91769
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js
91769
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js
91770
91770
  function buildExObjList(hyperlinks, ole, media) {
91771
91771
  const oleEntries = ole?.all ?? [];
91772
91772
  const mediaEntries = media?.all ?? [];
@@ -91793,7 +91793,7 @@ function buildExObjList(hyperlinks, ole, media) {
91793
91793
  return record(RT.ExternalObjectList, w.toBytes(), 0, true);
91794
91794
  }
91795
91795
  var init_ex_obj_list_writer = __esm({
91796
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js"() {
91796
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js"() {
91797
91797
  init_record_types();
91798
91798
  init_byte_writer();
91799
91799
  init_hyperlink_writer();
@@ -91802,7 +91802,7 @@ var init_ex_obj_list_writer = __esm({
91802
91802
  }
91803
91803
  });
91804
91804
 
91805
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js
91805
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js
91806
91806
  function emuToMaster2(emu2) {
91807
91807
  return Math.round(emu2 / EMU_PER_MASTER);
91808
91808
  }
@@ -91847,7 +91847,7 @@ function buildChildAnchor(rect2) {
91847
91847
  }
91848
91848
  var INT16_MIN, INT16_MAX;
91849
91849
  var init_anchor_writer = __esm({
91850
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js"() {
91850
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js"() {
91851
91851
  init_record_types();
91852
91852
  init_byte_writer();
91853
91853
  INT16_MIN = -32768;
@@ -91855,7 +91855,7 @@ var init_anchor_writer = __esm({
91855
91855
  }
91856
91856
  });
91857
91857
 
91858
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js
91858
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js
91859
91859
  function parseHex(rgb) {
91860
91860
  const hex3 = (rgb ?? DEFAULT_RGB).replace(/^#/u, "");
91861
91861
  if (!/^[0-9a-fA-F]{6}$/u.test(hex3)) {
@@ -91877,12 +91877,12 @@ function encodeColorIndex(rgb) {
91877
91877
  }
91878
91878
  var DEFAULT_RGB;
91879
91879
  var init_colors = __esm({
91880
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js"() {
91880
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js"() {
91881
91881
  DEFAULT_RGB = "000000";
91882
91882
  }
91883
91883
  });
91884
91884
 
91885
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js
91885
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js
91886
91886
  function writePfException(w, para) {
91887
91887
  let mask = 0;
91888
91888
  if (para.hasBullet !== void 0) {
@@ -91972,7 +91972,7 @@ function writeCfException(w, run, fontIndex) {
91972
91972
  }
91973
91973
  var ALIGN_CODE, EMU_PER_MASTER_UNIT;
91974
91974
  var init_text_exception_writer = __esm({
91975
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js"() {
91975
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js"() {
91976
91976
  init_colors();
91977
91977
  ALIGN_CODE = {
91978
91978
  l: 0,
@@ -91984,7 +91984,7 @@ var init_text_exception_writer = __esm({
91984
91984
  }
91985
91985
  });
91986
91986
 
91987
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js
91987
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js
91988
91988
  function joinParagraphText(body) {
91989
91989
  return body.paragraphs.map((p) => p.runs.map((r) => r.text).join("")).join("\r");
91990
91990
  }
@@ -92045,7 +92045,7 @@ function buildTextAtoms(body, fonts, hyperlinks) {
92045
92045
  return new ByteWriter().bytes(buildTextHeaderAtom(body.textType)).bytes(buildTextCharsAtom(text2)).bytes(buildStyleTextPropAtom(body, fontIndex)).bytes(buildRunHyperlinks(body, hyperlinks)).toBytes();
92046
92046
  }
92047
92047
  var init_text_atom_writer = __esm({
92048
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js"() {
92048
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js"() {
92049
92049
  init_record_types();
92050
92050
  init_byte_writer();
92051
92051
  init_hyperlink_writer();
@@ -92053,7 +92053,7 @@ var init_text_atom_writer = __esm({
92053
92053
  }
92054
92054
  });
92055
92055
 
92056
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js
92056
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js
92057
92057
  function utf16z(text2) {
92058
92058
  return new ByteWriter().utf16(text2).u16(0).toBytes();
92059
92059
  }
@@ -92150,7 +92150,7 @@ function buildMasterPlaceholders(placeholders, allocator, fieldFontIndex) {
92150
92150
  }
92151
92151
  var FSP_FLAGS, RECTANGLE_SPT, TEXT_TYPE_TITLE, TEXT_TYPE_BODY, TEXT_TYPE_OTHER, SPECS, MASTER_PLACEHOLDER_ORDER, TITLE_PROMPT, BODY_PROMPT, DEFAULT_FRAMES;
92152
92152
  var init_master_placeholders_writer = __esm({
92153
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js"() {
92153
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js"() {
92154
92154
  init_record_types();
92155
92155
  init_anchor_writer();
92156
92156
  init_byte_writer();
@@ -92217,18 +92217,18 @@ var init_master_placeholders_writer = __esm({
92217
92217
  }
92218
92218
  });
92219
92219
 
92220
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js
92220
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js
92221
92221
  function masterStyleFonts(styles) {
92222
92222
  if (!styles)
92223
92223
  return [];
92224
92224
  return [styles.title, styles.body, styles.other].flatMap((levels) => levels ?? []).map((level2) => level2.run.fontName).filter((name) => Boolean(name));
92225
92225
  }
92226
92226
  var init_master_style_fonts = __esm({
92227
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js"() {
92227
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js"() {
92228
92228
  }
92229
92229
  });
92230
92230
 
92231
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js
92231
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js
92232
92232
  function buildMasterStyleAtom(recInstance, levels, fontIndex) {
92233
92233
  const w = new ByteWriter().u16(levels.length);
92234
92234
  for (const level2 of levels) {
@@ -92259,7 +92259,7 @@ function buildMasterTextStyles(styles, fontIndex) {
92259
92259
  }
92260
92260
  var EMPTY_LEVELS, FIXED_INSTANCE_DATA;
92261
92261
  var init_master_text_styles_writer = __esm({
92262
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js"() {
92262
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js"() {
92263
92263
  init_record_types();
92264
92264
  init_byte_writer();
92265
92265
  init_text_exception_writer();
@@ -92275,7 +92275,7 @@ var init_master_text_styles_writer = __esm({
92275
92275
  }
92276
92276
  });
92277
92277
 
92278
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js
92278
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js
92279
92279
  function fillEntries(fill) {
92280
92280
  if (!fill || fill.kind === "none") {
92281
92281
  return [{ id: OPT.fNoFillHitTest, value: boolPropValue(false, 16, 1048576) }];
@@ -92330,7 +92330,7 @@ function buildShapeFoptProps(input) {
92330
92330
  }
92331
92331
  var DASH_CODE;
92332
92332
  var init_shape_props_writer = __esm({
92333
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js"() {
92333
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js"() {
92334
92334
  init_colors();
92335
92335
  init_fopt_writer();
92336
92336
  DASH_CODE = {
@@ -92345,7 +92345,7 @@ var init_shape_props_writer = __esm({
92345
92345
  }
92346
92346
  });
92347
92347
 
92348
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js
92348
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js
92349
92349
  function buildShapeAnchor(rect2, inGroup) {
92350
92350
  return inGroup ? buildChildAnchor(rect2) : buildClientAnchor(rect2);
92351
92351
  }
@@ -92447,7 +92447,7 @@ function buildMediaShapeContainer(media, allocator, hyperlinks, mediaEmbeds, inG
92447
92447
  }
92448
92448
  var FSP_FLAG_FLIPH, FSP_FLAG_FLIPV, FSP_FLAG_OLE_SHAPE, FSP_FLAG_CHILD, PLACEHOLDER_ID;
92449
92449
  var init_shape_writer = __esm({
92450
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js"() {
92450
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js"() {
92451
92451
  init_record_types();
92452
92452
  init_anchor_writer();
92453
92453
  init_byte_writer();
@@ -92469,7 +92469,7 @@ var init_shape_writer = __esm({
92469
92469
  }
92470
92470
  });
92471
92471
 
92472
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js
92472
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js
92473
92473
  function buildFspgr(childRect) {
92474
92474
  return record(OA.FSPGR, buildChildAnchorData(childRect), 0, false, 1);
92475
92475
  }
@@ -92510,7 +92510,7 @@ function buildGroupContainer(group, fonts, allocator, hyperlinks, oleEmbeds, med
92510
92510
  }
92511
92511
  var FSP_FLAG_GROUP, FSP_FLAG_PATRIARCH, FSP_FLAG_HAVE_ANCHOR, ZERO_RECT;
92512
92512
  var init_group_writer = __esm({
92513
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js"() {
92513
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js"() {
92514
92514
  init_record_types();
92515
92515
  init_anchor_writer();
92516
92516
  init_byte_writer();
@@ -92522,10 +92522,10 @@ var init_group_writer = __esm({
92522
92522
  }
92523
92523
  });
92524
92524
 
92525
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js
92525
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js
92526
92526
  var ShapeIdAllocator2;
92527
92527
  var init_shape_id_allocator = __esm({
92528
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js"() {
92528
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js"() {
92529
92529
  ShapeIdAllocator2 = class {
92530
92530
  current;
92531
92531
  constructor(drawingId, clusterSize) {
@@ -92551,7 +92551,7 @@ var init_shape_id_allocator = __esm({
92551
92551
  }
92552
92552
  });
92553
92553
 
92554
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js
92554
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js
92555
92555
  function buildDg(drawingId, shapeCount, lastShapeId) {
92556
92556
  const data = new ByteWriter().u32(shapeCount + 1).u32(lastShapeId).toBytes();
92557
92557
  return record(OA.Dg, data, drawingId, false, 0);
@@ -92582,7 +92582,7 @@ function buildDrawing(canvasRect, shapes, backgroundRgb, fonts, drawingId, hyper
92582
92582
  }
92583
92583
  var FSP_FLAG_BACKGROUND, BACKGROUND_RECT_SPT, SHAPE_ID_CLUSTER_SIZE2;
92584
92584
  var init_drawing_writer = __esm({
92585
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js"() {
92585
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js"() {
92586
92586
  init_record_types();
92587
92587
  init_byte_writer();
92588
92588
  init_colors();
@@ -92595,7 +92595,7 @@ var init_drawing_writer = __esm({
92595
92595
  }
92596
92596
  });
92597
92597
 
92598
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js
92598
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js
92599
92599
  function buildNotesAtom(slidePersistIdRef) {
92600
92600
  const data = new ByteWriter().i32(slidePersistIdRef).u16(0).u16(0).toBytes();
92601
92601
  return record(RT.NotesAtom, data, 0, false, 1);
@@ -92613,14 +92613,14 @@ function buildNotesContainer(paragraphs, notesRect, slidePersistIdRef, fonts, dr
92613
92613
  return record(RT.Notes, data, 0, true);
92614
92614
  }
92615
92615
  var init_notes_writer = __esm({
92616
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js"() {
92616
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js"() {
92617
92617
  init_record_types();
92618
92618
  init_byte_writer();
92619
92619
  init_drawing_writer();
92620
92620
  }
92621
92621
  });
92622
92622
 
92623
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js
92623
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js
92624
92624
  function readRecord(view, offset) {
92625
92625
  if (!Number.isSafeInteger(offset) || offset < 0 || offset + RECORD_HEADER_SIZE > view.byteLength) {
92626
92626
  return void 0;
@@ -92700,7 +92700,7 @@ function recordBytes(data, rec) {
92700
92700
  }
92701
92701
  var PptParseError, RECORD_HEADER_SIZE;
92702
92702
  var init_legacy_ppt_record_stream = __esm({
92703
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js"() {
92703
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js"() {
92704
92704
  PptParseError = class extends Error {
92705
92705
  constructor(message) {
92706
92706
  super(message);
@@ -92711,14 +92711,14 @@ var init_legacy_ppt_record_stream = __esm({
92711
92711
  }
92712
92712
  });
92713
92713
 
92714
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js
92714
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js
92715
92715
  var init_record_stream = __esm({
92716
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js"() {
92716
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js"() {
92717
92717
  init_legacy_ppt_record_stream();
92718
92718
  }
92719
92719
  });
92720
92720
 
92721
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js
92721
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js
92722
92722
  function toHex3(r, g, b) {
92723
92723
  return [r, g, b].map((v) => (v & 255).toString(16).padStart(2, "0").toUpperCase()).join("");
92724
92724
  }
@@ -92769,7 +92769,7 @@ function resolveEscherColor(colorRef, scheme) {
92769
92769
  }
92770
92770
  var SCHEME, DEFAULT_SCHEME;
92771
92771
  var init_color_scheme = __esm({
92772
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js"() {
92772
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js"() {
92773
92773
  init_record_stream();
92774
92774
  init_record_types();
92775
92775
  SCHEME = {
@@ -92795,7 +92795,7 @@ var init_color_scheme = __esm({
92795
92795
  }
92796
92796
  });
92797
92797
 
92798
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js
92798
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js
92799
92799
  function buildColorSchemeAtom(recInstance = 1, colors) {
92800
92800
  const w = new ByteWriter();
92801
92801
  for (const rgb of colors?.length === 8 ? colors : DEFAULT_SCHEME) {
@@ -92804,7 +92804,7 @@ function buildColorSchemeAtom(recInstance = 1, colors) {
92804
92804
  return record(RT.ColorSchemeAtom, w.toBytes(), recInstance, false, 0);
92805
92805
  }
92806
92806
  var init_color_scheme_writer = __esm({
92807
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js"() {
92807
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js"() {
92808
92808
  init_color_scheme();
92809
92809
  init_record_types();
92810
92810
  init_byte_writer();
@@ -92812,7 +92812,7 @@ var init_color_scheme_writer = __esm({
92812
92812
  }
92813
92813
  });
92814
92814
 
92815
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js
92815
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js
92816
92816
  function buildSlideAtomRaw(geom, masterIdRef, notesIdRef, flags) {
92817
92817
  const data = new ByteWriter().i32(geom).bytes(new Uint8Array(8)).u32(masterIdRef).i32(notesIdRef).u16(flags).u16(0).toBytes();
92818
92818
  return record(RT.SlideAtom, data, 0, false, 2);
@@ -92849,7 +92849,7 @@ function buildMainMasterContainer(slideRect, drawingId, hyperlinks, oleEmbeds, m
92849
92849
  }
92850
92850
  var SLIDE_FLAG_MASTER_OBJECTS, SLIDE_FLAG_MASTER_SCHEME, SLIDE_FLAG_MASTER_BACKGROUND, SLIDE_MASTER_ID_SENTINEL, MASTER_FIRST_COLOR_SCHEME_INSTANCE;
92851
92851
  var init_slide_writer = __esm({
92852
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js"() {
92852
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js"() {
92853
92853
  init_record_types();
92854
92854
  init_byte_writer();
92855
92855
  init_color_scheme_writer();
@@ -92864,7 +92864,7 @@ var init_slide_writer = __esm({
92864
92864
  }
92865
92865
  });
92866
92866
 
92867
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js
92867
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js
92868
92868
  function masterSlideId(index) {
92869
92869
  return MASTER_SLIDE_ID_SENTINEL + index;
92870
92870
  }
@@ -92988,7 +92988,7 @@ function ensureMinimumDocumentStreamSize(contentSizeWithoutPadding, maxPersistId
92988
92988
  }
92989
92989
  var DOC_ID, MASTER_ID;
92990
92990
  var init_document_stream_layout = __esm({
92991
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js"() {
92991
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js"() {
92992
92992
  init_bstore_writer();
92993
92993
  init_byte_writer();
92994
92994
  init_document_writer();
@@ -93006,15 +93006,15 @@ var init_document_stream_layout = __esm({
93006
93006
  }
93007
93007
  });
93008
93008
 
93009
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js
93009
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js
93010
93010
  var RC4_ALG_ID2;
93011
93011
  var init_crypto_constants = __esm({
93012
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js"() {
93012
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js"() {
93013
93013
  RC4_ALG_ID2 = 26625;
93014
93014
  }
93015
93015
  });
93016
93016
 
93017
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js
93017
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js
93018
93018
  function rc4Cipher(key2, data) {
93019
93019
  if (key2.length === 0) {
93020
93020
  throw new Error("RC4 key must not be empty.");
@@ -93045,11 +93045,11 @@ function rc4Cipher(key2, data) {
93045
93045
  return out;
93046
93046
  }
93047
93047
  var init_rc4_cipher = __esm({
93048
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js"() {
93048
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js"() {
93049
93049
  }
93050
93050
  });
93051
93051
 
93052
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js
93052
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js
93053
93053
  async function rc4CryptoApiKeyBase(password, salt) {
93054
93054
  return hash("SHA-1", concatArrays(salt, encodePasswordUtf16LE(password)));
93055
93055
  }
@@ -93090,14 +93090,14 @@ async function rc4CryptoApiEncryptVerifier(key0, verifier) {
93090
93090
  }
93091
93091
  var PADDED_40_BIT_KEY_BYTES;
93092
93092
  var init_rc4_cryptoapi_key = __esm({
93093
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js"() {
93093
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js"() {
93094
93094
  init_ooxml_crypto_primitives();
93095
93095
  init_rc4_cipher();
93096
93096
  PADDED_40_BIT_KEY_BYTES = 16;
93097
93097
  }
93098
93098
  });
93099
93099
 
93100
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js
93100
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js
93101
93101
  function readHeader(bytes) {
93102
93102
  const view = new DataView(bytes.buffer, bytes.byteOffset, RECORD_HEADER_SIZE);
93103
93103
  return {
@@ -93166,7 +93166,7 @@ async function cipherPicturesStream(stream, keyFor2, mode) {
93166
93166
  }
93167
93167
  var UID_SIZE, METAFILE_HEADER_SIZE, BITMAP_TAG_SIZE, METAFILE_BLIPS, BITMAP_BLIPS;
93168
93168
  var init_rc4_cryptoapi_streams = __esm({
93169
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js"() {
93169
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js"() {
93170
93170
  init_rc4_cipher();
93171
93171
  init_record_stream();
93172
93172
  UID_SIZE = 16;
@@ -93177,7 +93177,7 @@ var init_rc4_cryptoapi_streams = __esm({
93177
93177
  }
93178
93178
  });
93179
93179
 
93180
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js
93180
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js
93181
93181
  async function buildCryptSession(password) {
93182
93182
  const salt = new Uint8Array(SALT_SIZE);
93183
93183
  crypto.getRandomValues(salt);
@@ -93205,7 +93205,7 @@ async function encryptPicturesStream(stream, ctx) {
93205
93205
  }
93206
93206
  var CSP_NAME, KEY_SIZE_BITS, SALT_SIZE, VERIFIER_SIZE, VERIFIER_HASH_SIZE, ENCRYPTION_FLAGS;
93207
93207
  var init_encrypt_writer = __esm({
93208
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js"() {
93208
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js"() {
93209
93209
  init_crypto_constants();
93210
93210
  init_rc4_cryptoapi_key();
93211
93211
  init_rc4_cryptoapi_streams();
@@ -93220,7 +93220,7 @@ var init_encrypt_writer = __esm({
93220
93220
  }
93221
93221
  });
93222
93222
 
93223
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js
93223
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js
93224
93224
  function levelsFor(styles, textType) {
93225
93225
  switch (textType) {
93226
93226
  case 0:
@@ -93286,12 +93286,12 @@ function withMasterRelativeRunStyles(deck) {
93286
93286
  }
93287
93287
  var STYLE_KEYS;
93288
93288
  var init_master_relative_runs = __esm({
93289
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js"() {
93289
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js"() {
93290
93290
  STYLE_KEYS = ["bold", "italic", "underline"];
93291
93291
  }
93292
93292
  });
93293
93293
 
93294
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js
93294
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js
93295
93295
  function buildPersistDirectoryAtom(entries) {
93296
93296
  const sorted = [...entries].sort((a, b) => a[0] - b[0]);
93297
93297
  const w = new ByteWriter();
@@ -93321,17 +93321,17 @@ function buildEncryptedUserEditAtom(input) {
93321
93321
  }
93322
93322
  var MAX_RUN;
93323
93323
  var init_persist_writer = __esm({
93324
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js"() {
93324
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js"() {
93325
93325
  init_record_types();
93326
93326
  init_byte_writer();
93327
93327
  MAX_RUN = 4095;
93328
93328
  }
93329
93329
  });
93330
93330
 
93331
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js
93331
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js
93332
93332
  var PPT_STORAGE_CLSID;
93333
93333
  var init_ppt_clsid = __esm({
93334
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js"() {
93334
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js"() {
93335
93335
  PPT_STORAGE_CLSID = new Uint8Array([
93336
93336
  16,
93337
93337
  141,
@@ -93353,7 +93353,7 @@ var init_ppt_clsid = __esm({
93353
93353
  }
93354
93354
  });
93355
93355
 
93356
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js
93356
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js
93357
93357
  async function finishUnencrypted(layout, lastSlideId) {
93358
93358
  const w = new ByteWriter().append(layout.bytes);
93359
93359
  const dirAtom = buildPersistDirectoryAtom(layout.offsets);
@@ -93407,7 +93407,7 @@ async function buildPptFile(deck, options = {}) {
93407
93407
  return new Uint8Array(buildOle2(streams2, PPT_STORAGE_CLSID, 0));
93408
93408
  }
93409
93409
  var init_write_ppt = __esm({
93410
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js"() {
93410
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js"() {
93411
93411
  init_ole2_parser_write();
93412
93412
  init_byte_writer();
93413
93413
  init_current_user_writer();
@@ -93419,9 +93419,9 @@ var init_write_ppt = __esm({
93419
93419
  }
93420
93420
  });
93421
93421
 
93422
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js
93422
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js
93423
93423
  var init_legacy_ppt_writer = __esm({
93424
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js"() {
93424
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js"() {
93425
93425
  init_write_ppt();
93426
93426
  init_master_style_fonts();
93427
93427
  }
@@ -131788,7 +131788,7 @@ var init_deflate_utils = __esm({
131788
131788
  }
131789
131789
  });
131790
131790
 
131791
- // node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js
131791
+ // node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js
131792
131792
  function checkedLimit(value) {
131793
131793
  if (!Number.isSafeInteger(value) || value < 1)
131794
131794
  throw new PptParseError("Invalid persist directory resource limit");
@@ -131914,7 +131914,7 @@ function readPersistRecord(view, directory, persistId) {
131914
131914
  }
131915
131915
  var DEFAULT_MAX_EDITS, DEFAULT_MAX_ENTRIES;
131916
131916
  var init_persist_directory = __esm({
131917
- "node_modules/.bun/@christophervr+ole2@0.8.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js"() {
131917
+ "node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js"() {
131918
131918
  init_record_stream();
131919
131919
  init_record_types();
131920
131920
  DEFAULT_MAX_EDITS = 1e4;