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.
- package/dist/automation/index.cjs +3058 -1968
- package/dist/automation/index.mjs +3058 -1968
- package/dist/automation/node.d.ts.map +1 -1
- package/dist/collab/emitter.d.ts.map +1 -1
- package/dist/collab/ordering.d.ts.map +1 -1
- package/dist/crypto/detect.d.ts.map +1 -1
- package/dist/crypto/errors.d.ts +3 -3
- package/dist/crypto/errors.d.ts.map +1 -1
- package/dist/crypto/index.cjs +6 -6
- package/dist/crypto/index.mjs +6 -6
- package/dist/crypto/key-derivation.d.ts.map +1 -1
- package/dist/diagram/drawing.d.ts.map +1 -1
- package/dist/diagram/relationships.d.ts.map +1 -1
- package/dist/digest/sha512.d.ts.map +1 -1
- package/dist/docx/block-parser.d.ts.map +1 -1
- package/dist/docx/diagram.d.ts.map +1 -1
- package/dist/docx/docpr-ids.d.ts.map +1 -1
- package/dist/docx/embedded.cjs +11 -0
- package/dist/docx/embedded.mjs +11 -0
- package/dist/docx/field-runs.d.ts.map +1 -1
- package/dist/docx/generated/wml-simple-types.d.ts +99 -99
- package/dist/docx/generated/wml-simple-types.d.ts.map +1 -1
- package/dist/docx/heading-list-kinds.d.ts.map +1 -1
- package/dist/docx/highlight.d.ts +1 -1
- package/dist/docx/highlight.d.ts.map +1 -1
- package/dist/docx/index.cjs +59 -4
- package/dist/docx/index.mjs +59 -4
- package/dist/docx/layout/index.cjs +1 -0
- package/dist/docx/layout/index.mjs +1 -0
- package/dist/docx/layout/page-cursor.d.ts.map +1 -1
- package/dist/docx/ligatures.d.ts +1 -1
- package/dist/docx/ligatures.d.ts.map +1 -1
- package/dist/docx/load/index.cjs +29 -18
- package/dist/docx/load/index.mjs +29 -18
- package/dist/docx/load/legacy-doc.d.ts.map +1 -1
- package/dist/docx/model-paragraph.d.ts +6 -1
- package/dist/docx/model-paragraph.d.ts.map +1 -1
- package/dist/docx/paragraph-styles.d.ts +3 -1
- package/dist/docx/paragraph-styles.d.ts.map +1 -1
- package/dist/docx/relationship-allocator.d.ts.map +1 -1
- package/dist/docx/revision-commands.d.ts.map +1 -1
- package/dist/docx/simple-types.d.ts.map +1 -1
- package/dist/docx/table-of-contents.d.ts.map +1 -1
- package/dist/docx/table-of-figures.d.ts.map +1 -1
- package/dist/docx/test-support/restart-fixture.d.ts +3 -3
- package/dist/docx/test-support/restart-fixture.d.ts.map +1 -1
- package/dist/docx/toc-switches.d.ts +16 -0
- package/dist/docx/toc-switches.d.ts.map +1 -0
- package/dist/docx/validate-issues.d.ts.map +1 -1
- package/dist/docx/write-revisions.d.ts.map +1 -1
- package/dist/docx/xml.d.ts.map +1 -1
- package/dist/docx/zip-parts.d.ts.map +1 -1
- package/dist/opc/properties/types.d.ts +6 -6
- package/dist/opc/properties/types.d.ts.map +1 -1
- package/dist/opc/relationship-types.d.ts +6 -6
- package/dist/opc/relationship-types.d.ts.map +1 -1
- package/dist/opc/relationships.d.ts.map +1 -1
- package/dist/pptx/automation/index.cjs +138 -138
- package/dist/pptx/automation/index.d.ts +3 -3
- package/dist/pptx/automation/index.mjs +138 -138
- package/dist/pptx/chunks/{index-BWRd8p4y.d.ts → index-BtBj3VG1.d.ts} +3 -3
- package/dist/pptx/chunks/index-BtBj3VG1.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-CT9y69AZ.d.ts → index-D0yGoLyw.d.ts} +136 -136
- package/dist/pptx/chunks/index-D0yGoLyw.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-operations-2tKzrY5o.d.ts → text-operations-GuisjlbR.d.ts} +2 -2
- package/dist/pptx/chunks/{text-operations-2tKzrY5o.d.ts.map → text-operations-GuisjlbR.d.ts.map} +1 -1
- package/dist/pptx/cli/index.cjs +104 -104
- package/dist/pptx/cli/index.d.ts +1 -1
- package/dist/pptx/cli/index.mjs +104 -104
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/index.cjs +138 -138
- package/dist/pptx/index.d.ts +3 -3
- package/dist/pptx/index.mjs +138 -138
- package/dist/teams/call.d.ts +61 -0
- package/dist/teams/call.d.ts.map +1 -0
- package/dist/teams/chat.d.ts +34 -0
- package/dist/teams/chat.d.ts.map +1 -0
- package/dist/teams/index.cjs +2207 -0
- package/dist/teams/index.d.ts +10 -0
- package/dist/teams/index.d.ts.map +1 -0
- package/dist/teams/index.mjs +2153 -0
- package/dist/teams/model.d.ts +49 -0
- package/dist/teams/model.d.ts.map +1 -0
- package/dist/teams/peer.d.ts +76 -0
- package/dist/teams/peer.d.ts.map +1 -0
- package/dist/teams/server-config.d.ts +27 -0
- package/dist/teams/server-config.d.ts.map +1 -0
- package/dist/teams/signaling.d.ts +81 -0
- package/dist/teams/signaling.d.ts.map +1 -0
- package/dist/teams/store.d.ts +113 -0
- package/dist/teams/store.d.ts.map +1 -0
- package/dist/teams/view.d.ts +77 -0
- package/dist/teams/view.d.ts.map +1 -0
- package/dist/teams/workspace.d.ts +51 -0
- package/dist/teams/workspace.d.ts.map +1 -0
- package/dist/units/units.d.ts.map +1 -1
- package/dist/visio/edit-geometry-admission.d.ts.map +1 -1
- package/dist/visio/edit-recalculate-index.d.ts.map +1 -1
- package/dist/visio/emf-admission-context.d.ts +1 -1
- package/dist/visio/emf-admission-context.d.ts.map +1 -1
- package/dist/visio/foreign-vector-types.d.ts.map +1 -1
- package/dist/visio/formula-master.d.ts +2 -2
- package/dist/visio/formula.d.ts.map +1 -1
- package/dist/visio/index.cjs +2048 -290
- package/dist/visio/index.mjs +2048 -290
- package/dist/visio/media.d.ts.map +1 -1
- package/dist/visio/package-common.d.ts.map +1 -1
- package/dist/visio/package.d.ts.map +1 -1
- package/dist/visio/sheet.d.ts.map +1 -1
- package/dist/visio/theme-color.d.ts.map +1 -1
- package/dist/xlsx/address.d.ts.map +1 -1
- package/dist/xlsx/cell-styles.d.ts.map +1 -1
- package/dist/xlsx/cells.d.ts.map +1 -1
- package/dist/xlsx/edit/calc-mode.d.ts.map +1 -1
- package/dist/xlsx/edit/clipboard-html.d.ts.map +1 -1
- package/dist/xlsx/edit/columns.d.ts.map +1 -1
- package/dist/xlsx/edit/context.d.ts.map +1 -1
- package/dist/xlsx/edit/fill-series.d.ts.map +1 -1
- package/dist/xlsx/edit/history.d.ts.map +1 -1
- package/dist/xlsx/edit/outline.d.ts.map +1 -1
- package/dist/xlsx/edit/range-math.d.ts.map +1 -1
- package/dist/xlsx/edit/session-calc.d.ts.map +1 -1
- package/dist/xlsx/edit/structure.d.ts.map +1 -1
- package/dist/xlsx/formula/area-index.d.ts.map +1 -1
- package/dist/xlsx/formula/ast.d.ts.map +1 -1
- package/dist/xlsx/formula/date-serial.d.ts.map +1 -1
- package/dist/xlsx/formula/engine-core.d.ts.map +1 -1
- package/dist/xlsx/formula/engine-host.d.ts.map +1 -1
- package/dist/xlsx/formula/engine-util.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/complex.d.ts +14 -0
- package/dist/xlsx/formula/functions/complex.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/convert.d.ts +4 -0
- package/dist/xlsx/formula/functions/convert.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/criteria.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/database.d.ts +4 -0
- package/dist/xlsx/formula/functions/database.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/dist-core.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/distributions-f.d.ts +6 -0
- package/dist/xlsx/formula/functions/distributions-f.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/distributions.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/engineering.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/helpers.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/hypothesis-tests.d.ts +4 -0
- package/dist/xlsx/formula/functions/hypothesis-tests.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/math-combin.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/matrix.d.ts +5 -0
- package/dist/xlsx/formula/functions/matrix.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/registry.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/regression-core.d.ts +34 -0
- package/dist/xlsx/formula/functions/regression-core.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/regression.d.ts +4 -0
- package/dist/xlsx/formula/functions/regression.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/statistical.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/stats-core.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/text-case.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/types.d.ts.map +1 -1
- package/dist/xlsx/formula/graph-index.d.ts.map +1 -1
- package/dist/xlsx/formula/lexemes.d.ts +1 -1
- package/dist/xlsx/formula/lexemes.d.ts.map +1 -1
- package/dist/xlsx/formula/references.d.ts.map +1 -1
- package/dist/xlsx/formula/spill.d.ts.map +1 -1
- package/dist/xlsx/formula/test-helpers.d.ts.map +1 -1
- package/dist/xlsx/formula/tokenizer.d.ts.map +1 -1
- package/dist/xlsx/formula/values.d.ts +2 -1
- package/dist/xlsx/formula/values.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +2835 -1756
- package/dist/xlsx/index.mjs +2835 -1756
- package/dist/xlsx/layout/axis-metrics.d.ts.map +1 -1
- package/dist/xlsx/layout/chart-svg-util.d.ts.map +1 -1
- package/dist/xlsx/layout/colors.d.ts +1 -1
- package/dist/xlsx/layout/colors.d.ts.map +1 -1
- package/dist/xlsx/layout/tint.d.ts.map +1 -1
- package/dist/xlsx/layout/units.d.ts.map +1 -1
- package/dist/xlsx/load/errors.d.ts.map +1 -1
- package/dist/xlsx/load/index.cjs +2320 -1241
- package/dist/xlsx/load/index.mjs +2320 -1241
- package/dist/xlsx/load/legacy-xls-sheet.d.ts.map +1 -1
- package/dist/xlsx/load/legacy-xls.d.ts.map +1 -1
- package/dist/xlsx/model.d.ts +1 -1
- package/dist/xlsx/model.d.ts.map +1 -1
- package/dist/xlsx/numfmt/decimal.d.ts.map +1 -1
- package/dist/xlsx/read/package.d.ts +22 -22
- package/dist/xlsx/read/package.d.ts.map +1 -1
- package/dist/xlsx/read/password-hash.d.ts.map +1 -1
- package/dist/xlsx/read/sheet-props.d.ts +7 -7
- package/dist/xlsx/read/sheet-props.d.ts.map +1 -1
- package/dist/xlsx/read/theme.d.ts +2 -2
- package/dist/xlsx/read/theme.d.ts.map +1 -1
- package/dist/xlsx/read/worksheet.d.ts +1 -1
- package/dist/xlsx/read/worksheet.d.ts.map +1 -1
- package/dist/xlsx/read/xml-util.d.ts.map +1 -1
- package/dist/xlsx/workbook.d.ts.map +1 -1
- package/dist/xlsx/write/carried-refs.d.ts.map +1 -1
- package/dist/xlsx/write/comments.d.ts.map +1 -1
- package/dist/xlsx/write/doc-props.d.ts.map +1 -1
- package/dist/xlsx/write/drawing.d.ts.map +1 -1
- package/dist/xlsx/write/dynamic-array.d.ts.map +1 -1
- package/dist/xlsx/write/metadata.d.ts.map +1 -1
- package/dist/xlsx/write/package-writer.d.ts.map +1 -1
- package/dist/xlsx/write/shared-strings.d.ts.map +1 -1
- package/dist/xlsx/write/snapshot.d.ts.map +1 -1
- package/dist/xlsx/write/style-xml.d.ts.map +1 -1
- package/dist/xlsx/write/styles.d.ts.map +1 -1
- package/dist/xlsx/write/vml-ids.d.ts.map +1 -1
- package/dist/xlsx/write/xml-out.d.ts.map +1 -1
- package/dist/xml/namespaces.d.ts +31 -31
- package/dist/xml/namespaces.d.ts.map +1 -1
- package/dist/xml/xml.d.ts.map +1 -1
- package/package.json +19 -14
- package/dist/pptx/chunks/index-BWRd8p4y.d.ts.map +0 -1
- package/dist/pptx/chunks/index-CT9y69AZ.d.ts.map +0 -1
package/dist/pptx/index.cjs
CHANGED
|
@@ -20940,10 +20940,10 @@ var init_ole_utils = __esm({
|
|
|
20940
20940
|
}
|
|
20941
20941
|
});
|
|
20942
20942
|
|
|
20943
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
20943
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js
|
|
20944
20944
|
var OLE_MAGIC, ENDOFCHAIN, FREESECT, FATSECT, DIFSECT, MAXREGSECT, ENTRY_TYPE_EMPTY, ENTRY_TYPE_STREAM, ENTRY_TYPE_ROOT, DIR_ENTRY_SIZE; exports.Ole2ParseError = void 0;
|
|
20945
20945
|
var init_ole2_parser_types = __esm({
|
|
20946
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
20946
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js"() {
|
|
20947
20947
|
OLE_MAGIC = new Uint8Array([208, 207, 17, 224, 161, 177, 26, 225]);
|
|
20948
20948
|
ENDOFCHAIN = 4294967294;
|
|
20949
20949
|
FREESECT = 4294967295;
|
|
@@ -20963,7 +20963,7 @@ var init_ole2_parser_types = __esm({
|
|
|
20963
20963
|
}
|
|
20964
20964
|
});
|
|
20965
20965
|
|
|
20966
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
20966
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js
|
|
20967
20967
|
function parseOle2(buffer) {
|
|
20968
20968
|
const data = new Uint8Array(buffer);
|
|
20969
20969
|
const view = new DataView(buffer);
|
|
@@ -21193,7 +21193,7 @@ function parseOle2(buffer) {
|
|
|
21193
21193
|
return { entries, getStream };
|
|
21194
21194
|
}
|
|
21195
21195
|
var init_ole2_parser_read = __esm({
|
|
21196
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
21196
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js"() {
|
|
21197
21197
|
init_ole2_parser_types();
|
|
21198
21198
|
}
|
|
21199
21199
|
});
|
|
@@ -21333,7 +21333,7 @@ var init_ole_embedded_extract = __esm({
|
|
|
21333
21333
|
}
|
|
21334
21334
|
});
|
|
21335
21335
|
|
|
21336
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
21336
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js
|
|
21337
21337
|
function compareDirEntryNames(a, b) {
|
|
21338
21338
|
const ua = a.toUpperCase();
|
|
21339
21339
|
const ub = b.toUpperCase();
|
|
@@ -21400,12 +21400,12 @@ function writeInt32Sectors(outBytes, int32Data, firstSector, numSectors, sectorS
|
|
|
21400
21400
|
}
|
|
21401
21401
|
}
|
|
21402
21402
|
var init_ole2_parser_write_helpers = __esm({
|
|
21403
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
21403
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js"() {
|
|
21404
21404
|
init_ole2_parser_types();
|
|
21405
21405
|
}
|
|
21406
21406
|
});
|
|
21407
21407
|
|
|
21408
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
21408
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js
|
|
21409
21409
|
function writeHeader(outView, outBytes, params) {
|
|
21410
21410
|
outBytes.set(OLE_MAGIC, 0);
|
|
21411
21411
|
outView.setUint16(24, 62, true);
|
|
@@ -21498,14 +21498,14 @@ function writeStreamSectors(outBytes, streamData, chain2, sectorSize) {
|
|
|
21498
21498
|
}
|
|
21499
21499
|
var HEADER_DIFAT_ENTRIES;
|
|
21500
21500
|
var init_ole2_parser_write_serialize = __esm({
|
|
21501
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
21501
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js"() {
|
|
21502
21502
|
init_ole2_parser_types();
|
|
21503
21503
|
init_ole2_parser_write_helpers();
|
|
21504
21504
|
HEADER_DIFAT_ENTRIES = 109;
|
|
21505
21505
|
}
|
|
21506
21506
|
});
|
|
21507
21507
|
|
|
21508
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
21508
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js
|
|
21509
21509
|
function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
|
|
21510
21510
|
const sectorSize = 512;
|
|
21511
21511
|
const miniSectorSize = 64;
|
|
@@ -21686,7 +21686,7 @@ function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
|
|
|
21686
21686
|
return output;
|
|
21687
21687
|
}
|
|
21688
21688
|
var init_ole2_parser_write = __esm({
|
|
21689
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
21689
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js"() {
|
|
21690
21690
|
init_ole2_parser_types();
|
|
21691
21691
|
init_ole2_parser_write_helpers();
|
|
21692
21692
|
init_ole2_parser_write_serialize();
|
|
@@ -22402,7 +22402,7 @@ var init_ole_sheet_xlsx_editor = __esm({
|
|
|
22402
22402
|
}
|
|
22403
22403
|
});
|
|
22404
22404
|
|
|
22405
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
22405
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-edit.js
|
|
22406
22406
|
function chain(table, start, limit) {
|
|
22407
22407
|
if (start === END && limit === 0)
|
|
22408
22408
|
return [];
|
|
@@ -22672,7 +22672,7 @@ function replaceCompoundFileStream(input, path, replacement) {
|
|
|
22672
22672
|
}
|
|
22673
22673
|
var END, MAX, NIL, SIZE;
|
|
22674
22674
|
var init_ole2_stream_edit = __esm({
|
|
22675
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
22675
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-edit.js"() {
|
|
22676
22676
|
END = 4294967294;
|
|
22677
22677
|
MAX = 4294967290;
|
|
22678
22678
|
NIL = 4294967295;
|
|
@@ -22680,7 +22680,7 @@ var init_ole2_stream_edit = __esm({
|
|
|
22680
22680
|
}
|
|
22681
22681
|
});
|
|
22682
22682
|
|
|
22683
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
22683
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-cfb.js
|
|
22684
22684
|
function unwrapXlsBytes(bytes) {
|
|
22685
22685
|
if (!isCfb(bytes)) {
|
|
22686
22686
|
return { workbookBytes: bytes };
|
|
@@ -22747,7 +22747,7 @@ function isCfb(bytes) {
|
|
|
22747
22747
|
}
|
|
22748
22748
|
var WORKBOOK_STREAM_NAMES;
|
|
22749
22749
|
var init_legacy_excel_cfb = __esm({
|
|
22750
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
22750
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-cfb.js"() {
|
|
22751
22751
|
init_ole2_parser_read();
|
|
22752
22752
|
init_ole2_parser_types();
|
|
22753
22753
|
init_ole2_parser_write();
|
|
@@ -22756,7 +22756,7 @@ var init_legacy_excel_cfb = __esm({
|
|
|
22756
22756
|
}
|
|
22757
22757
|
});
|
|
22758
22758
|
|
|
22759
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
22759
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-edit.js
|
|
22760
22760
|
function encodeRkExact(value) {
|
|
22761
22761
|
if (!Number.isFinite(value))
|
|
22762
22762
|
return void 0;
|
|
@@ -22921,13 +22921,13 @@ function editXlsNumericCell(input, edit) {
|
|
|
22921
22921
|
}
|
|
22922
22922
|
}
|
|
22923
22923
|
var init_legacy_excel_biff8_edit = __esm({
|
|
22924
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
22924
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-edit.js"() {
|
|
22925
22925
|
init_legacy_excel_biff8();
|
|
22926
22926
|
init_legacy_excel_cfb();
|
|
22927
22927
|
}
|
|
22928
22928
|
});
|
|
22929
22929
|
|
|
22930
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
22930
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.js
|
|
22931
22931
|
function readRecords(bytes, start, end) {
|
|
22932
22932
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
22933
22933
|
const records = [];
|
|
@@ -23098,7 +23098,7 @@ function writeOleXlsNumericCellEdit(inputBytes, edit) {
|
|
|
23098
23098
|
}
|
|
23099
23099
|
var OPCODE_BOF, OPCODE_EOF, OPCODE_FILEPASS, OPCODE_NUMBER, OPCODE_RK, OPCODE_LABELSST, OPCODE_LABEL, OPCODE_SST, OPCODE_EXTSST, OPCODE_ROW, OPCODE_DBCELL, OPCODE_DIMENSIONS, OPCODE_BLANK, OPCODE_BOUNDSHEET, WORKSHEET_DT, DEFAULT_MAX_ROWS2, DEFAULT_MAX_COLS2;
|
|
23100
23100
|
var init_legacy_excel_biff8 = __esm({
|
|
23101
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23101
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.js"() {
|
|
23102
23102
|
init_legacy_excel_biff8_edit();
|
|
23103
23103
|
init_legacy_excel_cfb();
|
|
23104
23104
|
OPCODE_BOF = 2057;
|
|
@@ -23128,7 +23128,7 @@ var init_ole_sheet_xls_biff8 = __esm({
|
|
|
23128
23128
|
}
|
|
23129
23129
|
});
|
|
23130
23130
|
|
|
23131
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23131
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-grid.js
|
|
23132
23132
|
function biffRecord(opcode, data) {
|
|
23133
23133
|
return [
|
|
23134
23134
|
opcode & 255,
|
|
@@ -23253,12 +23253,12 @@ function buildXlsRowCellRegion(grid) {
|
|
|
23253
23253
|
return Uint8Array.from(bytesOut);
|
|
23254
23254
|
}
|
|
23255
23255
|
var init_legacy_excel_biff8_grid = __esm({
|
|
23256
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23256
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-grid.js"() {
|
|
23257
23257
|
init_legacy_excel_biff8();
|
|
23258
23258
|
}
|
|
23259
23259
|
});
|
|
23260
23260
|
|
|
23261
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23261
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.js
|
|
23262
23262
|
function resolveSstIndex(sharedStrings, value, bytes) {
|
|
23263
23263
|
const existing = sharedStrings.indexOf(value);
|
|
23264
23264
|
if (existing !== -1)
|
|
@@ -23420,7 +23420,7 @@ function writeOleXlsStringCellEdit(inputBytes, edit) {
|
|
|
23420
23420
|
}
|
|
23421
23421
|
}
|
|
23422
23422
|
var init_legacy_excel_biff8_writer = __esm({
|
|
23423
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23423
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.js"() {
|
|
23424
23424
|
init_legacy_excel_biff8();
|
|
23425
23425
|
init_legacy_excel_biff8_grid();
|
|
23426
23426
|
init_legacy_excel_cfb();
|
|
@@ -23526,7 +23526,7 @@ var init_ole_document_docx_editor = __esm({
|
|
|
23526
23526
|
}
|
|
23527
23527
|
});
|
|
23528
23528
|
|
|
23529
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23529
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js
|
|
23530
23530
|
function readDocFib(wordDoc) {
|
|
23531
23531
|
const view = new DataView(wordDoc.buffer, wordDoc.byteOffset, wordDoc.byteLength);
|
|
23532
23532
|
const wIdent = view.getUint16(0, true);
|
|
@@ -23616,7 +23616,7 @@ function patchDocFib(wordDoc, fib, patch) {
|
|
|
23616
23616
|
}
|
|
23617
23617
|
var FC_LCB_INDEX, F_COMPLEX_BIT;
|
|
23618
23618
|
var init_ole_document_doc_fib = __esm({
|
|
23619
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23619
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js"() {
|
|
23620
23620
|
FC_LCB_INDEX = {
|
|
23621
23621
|
plcfbteChpx: 12,
|
|
23622
23622
|
plcfbtePapx: 13,
|
|
@@ -23627,7 +23627,7 @@ var init_ole_document_doc_fib = __esm({
|
|
|
23627
23627
|
}
|
|
23628
23628
|
});
|
|
23629
23629
|
|
|
23630
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23630
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-v4.js
|
|
23631
23631
|
function follow(table, start) {
|
|
23632
23632
|
const ids = [], seen = /* @__PURE__ */ new Set();
|
|
23633
23633
|
for (let id = start; id !== END2; id = table[id]) {
|
|
@@ -23813,7 +23813,7 @@ function resizeCompoundFileStreamV4(input, path, replacement) {
|
|
|
23813
23813
|
}
|
|
23814
23814
|
var END2, FREE, FAT;
|
|
23815
23815
|
var init_ole2_stream_resize_v4 = __esm({
|
|
23816
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23816
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-v4.js"() {
|
|
23817
23817
|
init_ole2_stream_edit();
|
|
23818
23818
|
END2 = 4294967294;
|
|
23819
23819
|
FREE = 4294967295;
|
|
@@ -23821,7 +23821,7 @@ var init_ole2_stream_resize_v4 = __esm({
|
|
|
23821
23821
|
}
|
|
23822
23822
|
});
|
|
23823
23823
|
|
|
23824
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23824
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-allocation.js
|
|
23825
23825
|
function appendCompoundAllocations(input, existingFatIds, payloads, sectorSize = 512) {
|
|
23826
23826
|
const sectorCount = input.length / sectorSize - 1;
|
|
23827
23827
|
const entriesPerFat = sectorSize / 4;
|
|
@@ -23868,11 +23868,11 @@ function followCompoundAllocation(table, start) {
|
|
|
23868
23868
|
return ids;
|
|
23869
23869
|
}
|
|
23870
23870
|
var init_ole2_stream_resize_allocation = __esm({
|
|
23871
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23871
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-allocation.js"() {
|
|
23872
23872
|
}
|
|
23873
23873
|
});
|
|
23874
23874
|
|
|
23875
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23875
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-mini.js
|
|
23876
23876
|
function resizeMiniCompoundStream(input, fat, fatIds, root, target, replacement, cutoff) {
|
|
23877
23877
|
const inputView = new DataView(input.buffer, input.byteOffset, input.byteLength);
|
|
23878
23878
|
const miniFatCount = inputView.getUint32(64, true);
|
|
@@ -23941,7 +23941,7 @@ function resizeMiniCompoundStream(input, fat, fatIds, root, target, replacement,
|
|
|
23941
23941
|
}
|
|
23942
23942
|
var END3, FREE2, SECTOR, MINI;
|
|
23943
23943
|
var init_ole2_stream_resize_mini = __esm({
|
|
23944
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23944
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-mini.js"() {
|
|
23945
23945
|
init_ole2_stream_resize_allocation();
|
|
23946
23946
|
END3 = 4294967294;
|
|
23947
23947
|
FREE2 = 4294967295;
|
|
@@ -23950,7 +23950,7 @@ var init_ole2_stream_resize_mini = __esm({
|
|
|
23950
23950
|
}
|
|
23951
23951
|
});
|
|
23952
23952
|
|
|
23953
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23953
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize.js
|
|
23954
23954
|
function follow2(table, start) {
|
|
23955
23955
|
const ids = [], seen = /* @__PURE__ */ new Set();
|
|
23956
23956
|
for (let id = start; id !== END4; id = table[id]) {
|
|
@@ -24111,7 +24111,7 @@ function resizeCompoundFileStream(input, path, replacement) {
|
|
|
24111
24111
|
}
|
|
24112
24112
|
var END4, FREE3, FAT2, SECTOR2, FAT_ENTRIES;
|
|
24113
24113
|
var init_ole2_stream_resize = __esm({
|
|
24114
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24114
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize.js"() {
|
|
24115
24115
|
init_ole2_stream_edit();
|
|
24116
24116
|
init_ole2_stream_resize_v4();
|
|
24117
24117
|
init_ole2_stream_resize_allocation();
|
|
@@ -24124,7 +24124,7 @@ var init_ole2_stream_resize = __esm({
|
|
|
24124
24124
|
}
|
|
24125
24125
|
});
|
|
24126
24126
|
|
|
24127
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24127
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js
|
|
24128
24128
|
function unwrapDocBytes(bytes) {
|
|
24129
24129
|
if (bytes.length < 8 || bytes[0] !== 208 || bytes[1] !== 207 || bytes[2] !== 17 || bytes[3] !== 224 || bytes[4] !== 161 || bytes[5] !== 177 || bytes[6] !== 26 || bytes[7] !== 225) {
|
|
24130
24130
|
return void 0;
|
|
@@ -24174,7 +24174,7 @@ function unwrapDocBytes(bytes) {
|
|
|
24174
24174
|
}
|
|
24175
24175
|
var DocCfbRewriteError;
|
|
24176
24176
|
var init_ole_document_doc_cfb = __esm({
|
|
24177
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24177
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js"() {
|
|
24178
24178
|
init_ole_document_doc_fib();
|
|
24179
24179
|
init_ole2_stream_edit();
|
|
24180
24180
|
init_ole2_stream_resize();
|
|
@@ -24187,7 +24187,7 @@ var init_ole_document_doc_cfb = __esm({
|
|
|
24187
24187
|
}
|
|
24188
24188
|
});
|
|
24189
24189
|
|
|
24190
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24190
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js
|
|
24191
24191
|
function parseBteTable(tableStream, at2) {
|
|
24192
24192
|
const view = new DataView(tableStream.buffer, tableStream.byteOffset, tableStream.byteLength);
|
|
24193
24193
|
if (!Number.isInteger(at2.fc) || !Number.isInteger(at2.lcb) || at2.fc < 0 || at2.lcb < 4 || (at2.lcb - 4) % 8 !== 0 || at2.fc > tableStream.length - at2.lcb)
|
|
@@ -24328,12 +24328,12 @@ function buildSingleRunChpxPage(fcStart, fcEnd, blob) {
|
|
|
24328
24328
|
}
|
|
24329
24329
|
var PAGE_SIZE;
|
|
24330
24330
|
var init_ole_document_doc_fkp = __esm({
|
|
24331
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24331
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js"() {
|
|
24332
24332
|
PAGE_SIZE = 512;
|
|
24333
24333
|
}
|
|
24334
24334
|
});
|
|
24335
24335
|
|
|
24336
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24336
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js
|
|
24337
24337
|
function decodeCp1252Byte(byte) {
|
|
24338
24338
|
if (byte >= 128 && byte <= 159) {
|
|
24339
24339
|
return CP1252_HIGH_BLOCK[byte - 128];
|
|
@@ -24367,7 +24367,7 @@ function encodeCp1252(text2) {
|
|
|
24367
24367
|
}
|
|
24368
24368
|
var CP1252_HIGH_BLOCK, CP1252_HIGH_BLOCK_REVERSE;
|
|
24369
24369
|
var init_ole_document_doc_cp1252 = __esm({
|
|
24370
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24370
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js"() {
|
|
24371
24371
|
CP1252_HIGH_BLOCK = [
|
|
24372
24372
|
8364,
|
|
24373
24373
|
129,
|
|
@@ -24406,7 +24406,7 @@ var init_ole_document_doc_cp1252 = __esm({
|
|
|
24406
24406
|
}
|
|
24407
24407
|
});
|
|
24408
24408
|
|
|
24409
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24409
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js
|
|
24410
24410
|
function parseDocClx(tableStream, clx, maxPieces) {
|
|
24411
24411
|
if (maxPieces !== void 0 && (!Number.isSafeInteger(maxPieces) || maxPieces < 0))
|
|
24412
24412
|
throw new Error("Invalid DOC piece limit");
|
|
@@ -24611,7 +24611,7 @@ function buildClxBytes(pieces, prcBytes = new Uint8Array()) {
|
|
|
24611
24611
|
}
|
|
24612
24612
|
var CLXT_PRC, CLXT_PCDT, DocResourceLimitError;
|
|
24613
24613
|
var init_ole_document_doc_pieces = __esm({
|
|
24614
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24614
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js"() {
|
|
24615
24615
|
init_ole_document_doc_cp1252();
|
|
24616
24616
|
CLXT_PRC = 1;
|
|
24617
24617
|
CLXT_PCDT = 2;
|
|
@@ -24624,7 +24624,7 @@ var init_ole_document_doc_pieces = __esm({
|
|
|
24624
24624
|
}
|
|
24625
24625
|
});
|
|
24626
24626
|
|
|
24627
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24627
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fields.js
|
|
24628
24628
|
function checkFieldRanges(markers, editStart, editEnd, maxDepth2) {
|
|
24629
24629
|
const stack = [];
|
|
24630
24630
|
for (const { cp, ch } of markers) {
|
|
@@ -24703,7 +24703,7 @@ function shiftDocMainFieldCps(table, at2, body, editStart, editEnd, delta2, maxF
|
|
|
24703
24703
|
}
|
|
24704
24704
|
var UnsupportedDocFieldEditError;
|
|
24705
24705
|
var init_ole_document_doc_fields = __esm({
|
|
24706
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24706
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fields.js"() {
|
|
24707
24707
|
init_ole_document_doc_pieces();
|
|
24708
24708
|
UnsupportedDocFieldEditError = class extends Error {
|
|
24709
24709
|
constructor(message) {
|
|
@@ -24714,7 +24714,7 @@ var init_ole_document_doc_fields = __esm({
|
|
|
24714
24714
|
}
|
|
24715
24715
|
});
|
|
24716
24716
|
|
|
24717
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24717
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js
|
|
24718
24718
|
function processingLimits(limits) {
|
|
24719
24719
|
const resolved = {
|
|
24720
24720
|
maxCharacters: limits?.maxCharacters ?? DEFAULT_OLE_DOC_PROCESSING_LIMITS.maxCharacters,
|
|
@@ -24983,7 +24983,7 @@ function tryWriteOleDocParagraphEdit(docBytes, paragraphIndex, text2, limits) {
|
|
|
24983
24983
|
}
|
|
24984
24984
|
var RISKY_PLCF_INDICES, RISKY_STTB_INDICES, SAFE_EXTENDED_FC_LCB_INDICES, DEFAULT_OLE_DOC_PROCESSING_LIMITS;
|
|
24985
24985
|
var init_ole_document_doc_editor = __esm({
|
|
24986
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24986
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js"() {
|
|
24987
24987
|
init_ole_document_doc_cfb();
|
|
24988
24988
|
init_ole_document_doc_fib();
|
|
24989
24989
|
init_ole_document_doc_fkp();
|
|
@@ -25087,7 +25087,7 @@ var init_ole_nested_deck_editor = __esm({
|
|
|
25087
25087
|
}
|
|
25088
25088
|
});
|
|
25089
25089
|
|
|
25090
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
25090
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js
|
|
25091
25091
|
function crc32(bytes) {
|
|
25092
25092
|
let crc = 4294967295;
|
|
25093
25093
|
for (let i2 = 0; i2 < bytes.length; i2++) {
|
|
@@ -25197,7 +25197,7 @@ function decodePngDimensions(png) {
|
|
|
25197
25197
|
}
|
|
25198
25198
|
var CRC_TABLE, PNG_SIGNATURE;
|
|
25199
25199
|
var init_png_encoder = __esm({
|
|
25200
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
25200
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js"() {
|
|
25201
25201
|
CRC_TABLE = (() => {
|
|
25202
25202
|
const table = new Uint32Array(256);
|
|
25203
25203
|
for (let n = 0; n < 256; n++) {
|
|
@@ -45855,7 +45855,7 @@ var init_encryption_detection = __esm({
|
|
|
45855
45855
|
}
|
|
45856
45856
|
});
|
|
45857
45857
|
|
|
45858
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
45858
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js
|
|
45859
45859
|
function getSubtle() {
|
|
45860
45860
|
if (typeof globalThis.crypto !== "undefined" && globalThis.crypto.subtle) {
|
|
45861
45861
|
return globalThis.crypto.subtle;
|
|
@@ -45973,7 +45973,7 @@ async function hmac(algorithm, key2, data) {
|
|
|
45973
45973
|
return new Uint8Array(result);
|
|
45974
45974
|
}
|
|
45975
45975
|
var init_ooxml_crypto_primitives = __esm({
|
|
45976
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
45976
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js"() {
|
|
45977
45977
|
}
|
|
45978
45978
|
});
|
|
45979
45979
|
|
|
@@ -47516,7 +47516,7 @@ var init_md2 = __esm({
|
|
|
47516
47516
|
}
|
|
47517
47517
|
});
|
|
47518
47518
|
|
|
47519
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
47519
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js
|
|
47520
47520
|
function rotl32(x, n) {
|
|
47521
47521
|
return (x << n | x >>> 32 - n) >>> 0;
|
|
47522
47522
|
}
|
|
@@ -47576,11 +47576,11 @@ function mdStyleDigest(message, initialState, transform6) {
|
|
|
47576
47576
|
return out;
|
|
47577
47577
|
}
|
|
47578
47578
|
var init_bit_ops = __esm({
|
|
47579
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
47579
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js"() {
|
|
47580
47580
|
}
|
|
47581
47581
|
});
|
|
47582
47582
|
|
|
47583
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
47583
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js
|
|
47584
47584
|
function f1(x, y, z) {
|
|
47585
47585
|
return x & y | ~x & z;
|
|
47586
47586
|
}
|
|
@@ -47604,7 +47604,7 @@ function md4(message) {
|
|
|
47604
47604
|
}
|
|
47605
47605
|
var INITIAL_STATE, K22, K3, ROUND1, ROUND2, ROUND3;
|
|
47606
47606
|
var init_md4 = __esm({
|
|
47607
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
47607
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js"() {
|
|
47608
47608
|
init_bit_ops();
|
|
47609
47609
|
INITIAL_STATE = [1732584193, 4023233417, 2562383102, 271733878];
|
|
47610
47610
|
K22 = 1518500249;
|
|
@@ -109934,7 +109934,7 @@ var init_metro_blob_collect = __esm({
|
|
|
109934
109934
|
}
|
|
109935
109935
|
});
|
|
109936
109936
|
|
|
109937
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
109937
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js
|
|
109938
109938
|
function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0) {
|
|
109939
109939
|
const header = new Uint8Array(8);
|
|
109940
109940
|
const view = new DataView(header.buffer);
|
|
@@ -109949,7 +109949,7 @@ function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0
|
|
|
109949
109949
|
}
|
|
109950
109950
|
var ByteWriter;
|
|
109951
109951
|
var init_byte_writer = __esm({
|
|
109952
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
109952
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js"() {
|
|
109953
109953
|
ByteWriter = class {
|
|
109954
109954
|
chunks = [];
|
|
109955
109955
|
length = 0;
|
|
@@ -110032,13 +110032,13 @@ var init_byte_writer = __esm({
|
|
|
110032
110032
|
}
|
|
110033
110033
|
});
|
|
110034
110034
|
|
|
110035
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110035
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js
|
|
110036
110036
|
function masterToEmu(mu) {
|
|
110037
110037
|
return Math.round(mu * EMU_PER_MASTER);
|
|
110038
110038
|
}
|
|
110039
110039
|
var RT, OA, TEXT_TYPE, HEADER_TOKEN_PLAIN, HEADER_TOKEN_ENCRYPTED, EMU_PER_MASTER;
|
|
110040
110040
|
var init_legacy_ppt_record_types = __esm({
|
|
110041
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110041
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js"() {
|
|
110042
110042
|
RT = {
|
|
110043
110043
|
Document: 1e3,
|
|
110044
110044
|
DocumentAtom: 1001,
|
|
@@ -110167,14 +110167,14 @@ var init_legacy_ppt_record_types = __esm({
|
|
|
110167
110167
|
}
|
|
110168
110168
|
});
|
|
110169
110169
|
|
|
110170
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110170
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js
|
|
110171
110171
|
var init_record_types = __esm({
|
|
110172
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110172
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js"() {
|
|
110173
110173
|
init_legacy_ppt_record_types();
|
|
110174
110174
|
}
|
|
110175
110175
|
});
|
|
110176
110176
|
|
|
110177
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110177
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js
|
|
110178
110178
|
function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
|
|
110179
110179
|
const nameBytes = new ByteWriter().ansi(USER_NAME).toBytes();
|
|
110180
110180
|
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();
|
|
@@ -110188,7 +110188,7 @@ function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
|
|
|
110188
110188
|
}
|
|
110189
110189
|
var USER_NAME, CURRENT_USER_STREAM_SIZE;
|
|
110190
110190
|
var init_current_user_writer = __esm({
|
|
110191
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110191
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js"() {
|
|
110192
110192
|
init_record_types();
|
|
110193
110193
|
init_byte_writer();
|
|
110194
110194
|
USER_NAME = "pptx-viewer";
|
|
@@ -110196,7 +110196,7 @@ var init_current_user_writer = __esm({
|
|
|
110196
110196
|
}
|
|
110197
110197
|
});
|
|
110198
110198
|
|
|
110199
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110199
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js
|
|
110200
110200
|
function pictureUid(picture) {
|
|
110201
110201
|
return md4(picture.bytes);
|
|
110202
110202
|
}
|
|
@@ -110219,7 +110219,7 @@ function buildFbse(picture, uid, foDelay, size) {
|
|
|
110219
110219
|
}
|
|
110220
110220
|
var MSOBLIP_PICT, BLIP_INFO;
|
|
110221
110221
|
var init_blip_writer = __esm({
|
|
110222
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110222
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js"() {
|
|
110223
110223
|
init_md4();
|
|
110224
110224
|
init_png_encoder();
|
|
110225
110225
|
init_record_types();
|
|
@@ -110235,7 +110235,7 @@ var init_blip_writer = __esm({
|
|
|
110235
110235
|
}
|
|
110236
110236
|
});
|
|
110237
110237
|
|
|
110238
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110238
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js
|
|
110239
110239
|
function boolPropValue(flag, bit, useBit) {
|
|
110240
110240
|
return useBit | (flag ? bit : 0);
|
|
110241
110241
|
}
|
|
@@ -110271,7 +110271,7 @@ function buildMetroBlobTertiaryFopt(metroBlob) {
|
|
|
110271
110271
|
}
|
|
110272
110272
|
var OPT, FBID_FLAG, METRO_BLOB_OPID;
|
|
110273
110273
|
var init_fopt_writer = __esm({
|
|
110274
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110274
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js"() {
|
|
110275
110275
|
init_record_types();
|
|
110276
110276
|
init_byte_writer();
|
|
110277
110277
|
OPT = {
|
|
@@ -110299,7 +110299,7 @@ var init_fopt_writer = __esm({
|
|
|
110299
110299
|
}
|
|
110300
110300
|
});
|
|
110301
110301
|
|
|
110302
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110302
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js
|
|
110303
110303
|
function buildDggDefaultProperties() {
|
|
110304
110304
|
return buildFopt([
|
|
110305
110305
|
{ id: 385, value: 134217732 },
|
|
@@ -110357,7 +110357,7 @@ function buildPictureStore(pictures, shapesPerDrawing) {
|
|
|
110357
110357
|
}
|
|
110358
110358
|
var SHAPE_ID_CLUSTER_SIZE;
|
|
110359
110359
|
var init_bstore_writer = __esm({
|
|
110360
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110360
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js"() {
|
|
110361
110361
|
init_record_types();
|
|
110362
110362
|
init_blip_writer();
|
|
110363
110363
|
init_byte_writer();
|
|
@@ -110366,7 +110366,7 @@ var init_bstore_writer = __esm({
|
|
|
110366
110366
|
}
|
|
110367
110367
|
});
|
|
110368
110368
|
|
|
110369
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110369
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js
|
|
110370
110370
|
function buildFontEntityAtom(name, index) {
|
|
110371
110371
|
const nameBytes = new ByteWriter().utf16(name.slice(0, 31)).u16(0).toBytes();
|
|
110372
110372
|
const padded = new Uint8Array(LF_FACE_NAME_BYTES);
|
|
@@ -110394,14 +110394,14 @@ function buildEnvironment(fonts, otherTextStyle) {
|
|
|
110394
110394
|
}
|
|
110395
110395
|
var LF_FACE_NAME_BYTES;
|
|
110396
110396
|
var init_font_collection_writer = __esm({
|
|
110397
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110397
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js"() {
|
|
110398
110398
|
init_record_types();
|
|
110399
110399
|
init_byte_writer();
|
|
110400
110400
|
LF_FACE_NAME_BYTES = 64;
|
|
110401
110401
|
}
|
|
110402
110402
|
});
|
|
110403
110403
|
|
|
110404
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110404
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js
|
|
110405
110405
|
function emuToMaster(emu2) {
|
|
110406
110406
|
return Math.round(emu2 / EMU_PER_MASTER);
|
|
110407
110407
|
}
|
|
@@ -110457,7 +110457,7 @@ function buildDocumentContainer(input) {
|
|
|
110457
110457
|
}
|
|
110458
110458
|
var MASTER_SLIDE_ID_SENTINEL, RT_CSTRING, RT_BINARY_TAG_DATA_BLOB;
|
|
110459
110459
|
var init_document_writer = __esm({
|
|
110460
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110460
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js"() {
|
|
110461
110461
|
init_record_types();
|
|
110462
110462
|
init_byte_writer();
|
|
110463
110463
|
init_font_collection_writer();
|
|
@@ -110467,7 +110467,7 @@ var init_document_writer = __esm({
|
|
|
110467
110467
|
}
|
|
110468
110468
|
});
|
|
110469
110469
|
|
|
110470
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110470
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js
|
|
110471
110471
|
function buildCString(text2, recInstance) {
|
|
110472
110472
|
return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
|
|
110473
110473
|
}
|
|
@@ -110603,7 +110603,7 @@ function buildTextInteractiveInfoAtom(beginChar, endChar) {
|
|
|
110603
110603
|
}
|
|
110604
110604
|
var II_ACTION, II_JUMP, LT, FLAG_CUSTOM_SHOW_RETURN, HyperlinkCollector;
|
|
110605
110605
|
var init_hyperlink_writer = __esm({
|
|
110606
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110606
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js"() {
|
|
110607
110607
|
init_record_types();
|
|
110608
110608
|
init_byte_writer();
|
|
110609
110609
|
II_ACTION = {
|
|
@@ -110666,7 +110666,7 @@ var init_hyperlink_writer = __esm({
|
|
|
110666
110666
|
}
|
|
110667
110667
|
});
|
|
110668
110668
|
|
|
110669
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110669
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js
|
|
110670
110670
|
function buildCString2(text2, recInstance) {
|
|
110671
110671
|
return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
|
|
110672
110672
|
}
|
|
@@ -110702,7 +110702,7 @@ function buildMediaExObjEntries(media) {
|
|
|
110702
110702
|
}
|
|
110703
110703
|
var MediaCollector, SOUND_EXTENSION_WAV, SOUND_LENGTH_UNKNOWN;
|
|
110704
110704
|
var init_media_writer = __esm({
|
|
110705
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110705
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js"() {
|
|
110706
110706
|
init_record_types();
|
|
110707
110707
|
init_byte_writer();
|
|
110708
110708
|
MediaCollector = class {
|
|
@@ -110738,7 +110738,7 @@ var init_media_writer = __esm({
|
|
|
110738
110738
|
}
|
|
110739
110739
|
});
|
|
110740
110740
|
|
|
110741
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110741
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js
|
|
110742
110742
|
function hexToBytes(hex3) {
|
|
110743
110743
|
const out = new Uint8Array(hex3.length / 2);
|
|
110744
110744
|
for (let i2 = 0; i2 < out.length; i2++) {
|
|
@@ -110800,7 +110800,7 @@ function buildExObjRefAtom(exObjId) {
|
|
|
110800
110800
|
}
|
|
110801
110801
|
var PACKAGE_ROOT_CLSID, COMP_OBJ_HEX, EX_OLE_EMBEDDED, DV_ASPECT_ICON, EX_OLE_SUB_DEFAULT, PACKAGER_MENU_NAME, OleCollector;
|
|
110802
110802
|
var init_ole_writer = __esm({
|
|
110803
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110803
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js"() {
|
|
110804
110804
|
init_ole2_parser_write();
|
|
110805
110805
|
init_record_types();
|
|
110806
110806
|
init_byte_writer();
|
|
@@ -110860,7 +110860,7 @@ var init_ole_writer = __esm({
|
|
|
110860
110860
|
}
|
|
110861
110861
|
});
|
|
110862
110862
|
|
|
110863
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110863
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js
|
|
110864
110864
|
function buildExObjList(hyperlinks, ole, media) {
|
|
110865
110865
|
const oleEntries = ole?.all ?? [];
|
|
110866
110866
|
const mediaEntries = media?.all ?? [];
|
|
@@ -110887,7 +110887,7 @@ function buildExObjList(hyperlinks, ole, media) {
|
|
|
110887
110887
|
return record(RT.ExternalObjectList, w.toBytes(), 0, true);
|
|
110888
110888
|
}
|
|
110889
110889
|
var init_ex_obj_list_writer = __esm({
|
|
110890
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110890
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js"() {
|
|
110891
110891
|
init_record_types();
|
|
110892
110892
|
init_byte_writer();
|
|
110893
110893
|
init_hyperlink_writer();
|
|
@@ -110896,7 +110896,7 @@ var init_ex_obj_list_writer = __esm({
|
|
|
110896
110896
|
}
|
|
110897
110897
|
});
|
|
110898
110898
|
|
|
110899
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110899
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js
|
|
110900
110900
|
function emuToMaster2(emu2) {
|
|
110901
110901
|
return Math.round(emu2 / EMU_PER_MASTER);
|
|
110902
110902
|
}
|
|
@@ -110941,7 +110941,7 @@ function buildChildAnchor(rect2) {
|
|
|
110941
110941
|
}
|
|
110942
110942
|
var INT16_MIN, INT16_MAX;
|
|
110943
110943
|
var init_anchor_writer = __esm({
|
|
110944
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110944
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js"() {
|
|
110945
110945
|
init_record_types();
|
|
110946
110946
|
init_byte_writer();
|
|
110947
110947
|
INT16_MIN = -32768;
|
|
@@ -110949,7 +110949,7 @@ var init_anchor_writer = __esm({
|
|
|
110949
110949
|
}
|
|
110950
110950
|
});
|
|
110951
110951
|
|
|
110952
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110952
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js
|
|
110953
110953
|
function parseHex(rgb2) {
|
|
110954
110954
|
const hex3 = (rgb2 ?? DEFAULT_RGB).replace(/^#/u, "");
|
|
110955
110955
|
if (!/^[0-9a-fA-F]{6}$/u.test(hex3)) {
|
|
@@ -110971,12 +110971,12 @@ function encodeColorIndex(rgb2) {
|
|
|
110971
110971
|
}
|
|
110972
110972
|
var DEFAULT_RGB;
|
|
110973
110973
|
var init_colors = __esm({
|
|
110974
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110974
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js"() {
|
|
110975
110975
|
DEFAULT_RGB = "000000";
|
|
110976
110976
|
}
|
|
110977
110977
|
});
|
|
110978
110978
|
|
|
110979
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110979
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js
|
|
110980
110980
|
function writePfException(w, para) {
|
|
110981
110981
|
let mask = 0;
|
|
110982
110982
|
if (para.hasBullet !== void 0) {
|
|
@@ -111066,7 +111066,7 @@ function writeCfException(w, run, fontIndex) {
|
|
|
111066
111066
|
}
|
|
111067
111067
|
var ALIGN_CODE, EMU_PER_MASTER_UNIT;
|
|
111068
111068
|
var init_text_exception_writer = __esm({
|
|
111069
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111069
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js"() {
|
|
111070
111070
|
init_colors();
|
|
111071
111071
|
ALIGN_CODE = {
|
|
111072
111072
|
l: 0,
|
|
@@ -111078,7 +111078,7 @@ var init_text_exception_writer = __esm({
|
|
|
111078
111078
|
}
|
|
111079
111079
|
});
|
|
111080
111080
|
|
|
111081
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111081
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js
|
|
111082
111082
|
function joinParagraphText(body) {
|
|
111083
111083
|
return body.paragraphs.map((p) => p.runs.map((r) => r.text).join("")).join("\r");
|
|
111084
111084
|
}
|
|
@@ -111139,7 +111139,7 @@ function buildTextAtoms(body, fonts, hyperlinks) {
|
|
|
111139
111139
|
return new ByteWriter().bytes(buildTextHeaderAtom(body.textType)).bytes(buildTextCharsAtom(text2)).bytes(buildStyleTextPropAtom(body, fontIndex)).bytes(buildRunHyperlinks(body, hyperlinks)).toBytes();
|
|
111140
111140
|
}
|
|
111141
111141
|
var init_text_atom_writer = __esm({
|
|
111142
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111142
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js"() {
|
|
111143
111143
|
init_record_types();
|
|
111144
111144
|
init_byte_writer();
|
|
111145
111145
|
init_hyperlink_writer();
|
|
@@ -111147,7 +111147,7 @@ var init_text_atom_writer = __esm({
|
|
|
111147
111147
|
}
|
|
111148
111148
|
});
|
|
111149
111149
|
|
|
111150
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111150
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js
|
|
111151
111151
|
function utf16z(text2) {
|
|
111152
111152
|
return new ByteWriter().utf16(text2).u16(0).toBytes();
|
|
111153
111153
|
}
|
|
@@ -111244,7 +111244,7 @@ function buildMasterPlaceholders(placeholders, allocator, fieldFontIndex) {
|
|
|
111244
111244
|
}
|
|
111245
111245
|
var FSP_FLAGS, RECTANGLE_SPT, TEXT_TYPE_TITLE, TEXT_TYPE_BODY, TEXT_TYPE_OTHER, SPECS, MASTER_PLACEHOLDER_ORDER, TITLE_PROMPT, BODY_PROMPT, DEFAULT_FRAMES;
|
|
111246
111246
|
var init_master_placeholders_writer = __esm({
|
|
111247
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111247
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js"() {
|
|
111248
111248
|
init_record_types();
|
|
111249
111249
|
init_anchor_writer();
|
|
111250
111250
|
init_byte_writer();
|
|
@@ -111311,18 +111311,18 @@ var init_master_placeholders_writer = __esm({
|
|
|
111311
111311
|
}
|
|
111312
111312
|
});
|
|
111313
111313
|
|
|
111314
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111314
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js
|
|
111315
111315
|
function masterStyleFonts(styles) {
|
|
111316
111316
|
if (!styles)
|
|
111317
111317
|
return [];
|
|
111318
111318
|
return [styles.title, styles.body, styles.other].flatMap((levels) => levels ?? []).map((level2) => level2.run.fontName).filter((name) => Boolean(name));
|
|
111319
111319
|
}
|
|
111320
111320
|
var init_master_style_fonts = __esm({
|
|
111321
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111321
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js"() {
|
|
111322
111322
|
}
|
|
111323
111323
|
});
|
|
111324
111324
|
|
|
111325
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111325
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js
|
|
111326
111326
|
function buildMasterStyleAtom(recInstance, levels, fontIndex) {
|
|
111327
111327
|
const w = new ByteWriter().u16(levels.length);
|
|
111328
111328
|
for (const level2 of levels) {
|
|
@@ -111353,7 +111353,7 @@ function buildMasterTextStyles(styles, fontIndex) {
|
|
|
111353
111353
|
}
|
|
111354
111354
|
var EMPTY_LEVELS, FIXED_INSTANCE_DATA;
|
|
111355
111355
|
var init_master_text_styles_writer = __esm({
|
|
111356
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111356
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js"() {
|
|
111357
111357
|
init_record_types();
|
|
111358
111358
|
init_byte_writer();
|
|
111359
111359
|
init_text_exception_writer();
|
|
@@ -111369,7 +111369,7 @@ var init_master_text_styles_writer = __esm({
|
|
|
111369
111369
|
}
|
|
111370
111370
|
});
|
|
111371
111371
|
|
|
111372
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111372
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js
|
|
111373
111373
|
function fillEntries(fill) {
|
|
111374
111374
|
if (!fill || fill.kind === "none") {
|
|
111375
111375
|
return [{ id: OPT.fNoFillHitTest, value: boolPropValue(false, 16, 1048576) }];
|
|
@@ -111424,7 +111424,7 @@ function buildShapeFoptProps(input) {
|
|
|
111424
111424
|
}
|
|
111425
111425
|
var DASH_CODE;
|
|
111426
111426
|
var init_shape_props_writer = __esm({
|
|
111427
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111427
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js"() {
|
|
111428
111428
|
init_colors();
|
|
111429
111429
|
init_fopt_writer();
|
|
111430
111430
|
DASH_CODE = {
|
|
@@ -111439,7 +111439,7 @@ var init_shape_props_writer = __esm({
|
|
|
111439
111439
|
}
|
|
111440
111440
|
});
|
|
111441
111441
|
|
|
111442
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111442
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js
|
|
111443
111443
|
function buildShapeAnchor(rect2, inGroup) {
|
|
111444
111444
|
return inGroup ? buildChildAnchor(rect2) : buildClientAnchor(rect2);
|
|
111445
111445
|
}
|
|
@@ -111541,7 +111541,7 @@ function buildMediaShapeContainer(media, allocator, hyperlinks, mediaEmbeds, inG
|
|
|
111541
111541
|
}
|
|
111542
111542
|
var FSP_FLAG_FLIPH, FSP_FLAG_FLIPV, FSP_FLAG_OLE_SHAPE, FSP_FLAG_CHILD, PLACEHOLDER_ID;
|
|
111543
111543
|
var init_shape_writer = __esm({
|
|
111544
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111544
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js"() {
|
|
111545
111545
|
init_record_types();
|
|
111546
111546
|
init_anchor_writer();
|
|
111547
111547
|
init_byte_writer();
|
|
@@ -111563,7 +111563,7 @@ var init_shape_writer = __esm({
|
|
|
111563
111563
|
}
|
|
111564
111564
|
});
|
|
111565
111565
|
|
|
111566
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111566
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js
|
|
111567
111567
|
function buildFspgr(childRect) {
|
|
111568
111568
|
return record(OA.FSPGR, buildChildAnchorData(childRect), 0, false, 1);
|
|
111569
111569
|
}
|
|
@@ -111604,7 +111604,7 @@ function buildGroupContainer(group, fonts, allocator, hyperlinks, oleEmbeds, med
|
|
|
111604
111604
|
}
|
|
111605
111605
|
var FSP_FLAG_GROUP, FSP_FLAG_PATRIARCH, FSP_FLAG_HAVE_ANCHOR, ZERO_RECT;
|
|
111606
111606
|
var init_group_writer = __esm({
|
|
111607
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111607
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js"() {
|
|
111608
111608
|
init_record_types();
|
|
111609
111609
|
init_anchor_writer();
|
|
111610
111610
|
init_byte_writer();
|
|
@@ -111616,10 +111616,10 @@ var init_group_writer = __esm({
|
|
|
111616
111616
|
}
|
|
111617
111617
|
});
|
|
111618
111618
|
|
|
111619
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111619
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js
|
|
111620
111620
|
var ShapeIdAllocator2;
|
|
111621
111621
|
var init_shape_id_allocator = __esm({
|
|
111622
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111622
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js"() {
|
|
111623
111623
|
ShapeIdAllocator2 = class {
|
|
111624
111624
|
current;
|
|
111625
111625
|
constructor(drawingId, clusterSize) {
|
|
@@ -111645,7 +111645,7 @@ var init_shape_id_allocator = __esm({
|
|
|
111645
111645
|
}
|
|
111646
111646
|
});
|
|
111647
111647
|
|
|
111648
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111648
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js
|
|
111649
111649
|
function buildDg(drawingId, shapeCount, lastShapeId) {
|
|
111650
111650
|
const data = new ByteWriter().u32(shapeCount + 1).u32(lastShapeId).toBytes();
|
|
111651
111651
|
return record(OA.Dg, data, drawingId, false, 0);
|
|
@@ -111676,7 +111676,7 @@ function buildDrawing(canvasRect, shapes, backgroundRgb, fonts, drawingId, hyper
|
|
|
111676
111676
|
}
|
|
111677
111677
|
var FSP_FLAG_BACKGROUND, BACKGROUND_RECT_SPT, SHAPE_ID_CLUSTER_SIZE2;
|
|
111678
111678
|
var init_drawing_writer = __esm({
|
|
111679
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111679
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js"() {
|
|
111680
111680
|
init_record_types();
|
|
111681
111681
|
init_byte_writer();
|
|
111682
111682
|
init_colors();
|
|
@@ -111689,7 +111689,7 @@ var init_drawing_writer = __esm({
|
|
|
111689
111689
|
}
|
|
111690
111690
|
});
|
|
111691
111691
|
|
|
111692
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111692
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js
|
|
111693
111693
|
function buildNotesAtom(slidePersistIdRef) {
|
|
111694
111694
|
const data = new ByteWriter().i32(slidePersistIdRef).u16(0).u16(0).toBytes();
|
|
111695
111695
|
return record(RT.NotesAtom, data, 0, false, 1);
|
|
@@ -111707,14 +111707,14 @@ function buildNotesContainer(paragraphs, notesRect, slidePersistIdRef, fonts, dr
|
|
|
111707
111707
|
return record(RT.Notes, data, 0, true);
|
|
111708
111708
|
}
|
|
111709
111709
|
var init_notes_writer = __esm({
|
|
111710
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111710
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js"() {
|
|
111711
111711
|
init_record_types();
|
|
111712
111712
|
init_byte_writer();
|
|
111713
111713
|
init_drawing_writer();
|
|
111714
111714
|
}
|
|
111715
111715
|
});
|
|
111716
111716
|
|
|
111717
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111717
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js
|
|
111718
111718
|
function readRecord(view, offset) {
|
|
111719
111719
|
if (!Number.isSafeInteger(offset) || offset < 0 || offset + RECORD_HEADER_SIZE > view.byteLength) {
|
|
111720
111720
|
return void 0;
|
|
@@ -111794,7 +111794,7 @@ function recordBytes(data, rec) {
|
|
|
111794
111794
|
}
|
|
111795
111795
|
var PptParseError, RECORD_HEADER_SIZE;
|
|
111796
111796
|
var init_legacy_ppt_record_stream = __esm({
|
|
111797
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111797
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js"() {
|
|
111798
111798
|
PptParseError = class extends Error {
|
|
111799
111799
|
constructor(message) {
|
|
111800
111800
|
super(message);
|
|
@@ -111805,14 +111805,14 @@ var init_legacy_ppt_record_stream = __esm({
|
|
|
111805
111805
|
}
|
|
111806
111806
|
});
|
|
111807
111807
|
|
|
111808
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111808
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js
|
|
111809
111809
|
var init_record_stream = __esm({
|
|
111810
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111810
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js"() {
|
|
111811
111811
|
init_legacy_ppt_record_stream();
|
|
111812
111812
|
}
|
|
111813
111813
|
});
|
|
111814
111814
|
|
|
111815
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111815
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js
|
|
111816
111816
|
function toHex3(r, g2, b) {
|
|
111817
111817
|
return [r, g2, b].map((v) => (v & 255).toString(16).padStart(2, "0").toUpperCase()).join("");
|
|
111818
111818
|
}
|
|
@@ -111863,7 +111863,7 @@ function resolveEscherColor(colorRef, scheme) {
|
|
|
111863
111863
|
}
|
|
111864
111864
|
var SCHEME, DEFAULT_SCHEME;
|
|
111865
111865
|
var init_color_scheme = __esm({
|
|
111866
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111866
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js"() {
|
|
111867
111867
|
init_record_stream();
|
|
111868
111868
|
init_record_types();
|
|
111869
111869
|
SCHEME = {
|
|
@@ -111889,7 +111889,7 @@ var init_color_scheme = __esm({
|
|
|
111889
111889
|
}
|
|
111890
111890
|
});
|
|
111891
111891
|
|
|
111892
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111892
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js
|
|
111893
111893
|
function buildColorSchemeAtom(recInstance = 1, colors) {
|
|
111894
111894
|
const w = new ByteWriter();
|
|
111895
111895
|
for (const rgb2 of colors?.length === 8 ? colors : DEFAULT_SCHEME) {
|
|
@@ -111898,7 +111898,7 @@ function buildColorSchemeAtom(recInstance = 1, colors) {
|
|
|
111898
111898
|
return record(RT.ColorSchemeAtom, w.toBytes(), recInstance, false, 0);
|
|
111899
111899
|
}
|
|
111900
111900
|
var init_color_scheme_writer = __esm({
|
|
111901
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111901
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js"() {
|
|
111902
111902
|
init_color_scheme();
|
|
111903
111903
|
init_record_types();
|
|
111904
111904
|
init_byte_writer();
|
|
@@ -111906,7 +111906,7 @@ var init_color_scheme_writer = __esm({
|
|
|
111906
111906
|
}
|
|
111907
111907
|
});
|
|
111908
111908
|
|
|
111909
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111909
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js
|
|
111910
111910
|
function buildSlideAtomRaw(geom, masterIdRef, notesIdRef, flags) {
|
|
111911
111911
|
const data = new ByteWriter().i32(geom).bytes(new Uint8Array(8)).u32(masterIdRef).i32(notesIdRef).u16(flags).u16(0).toBytes();
|
|
111912
111912
|
return record(RT.SlideAtom, data, 0, false, 2);
|
|
@@ -111943,7 +111943,7 @@ function buildMainMasterContainer(slideRect, drawingId, hyperlinks, oleEmbeds, m
|
|
|
111943
111943
|
}
|
|
111944
111944
|
var SLIDE_FLAG_MASTER_OBJECTS, SLIDE_FLAG_MASTER_SCHEME, SLIDE_FLAG_MASTER_BACKGROUND, SLIDE_MASTER_ID_SENTINEL, MASTER_FIRST_COLOR_SCHEME_INSTANCE;
|
|
111945
111945
|
var init_slide_writer = __esm({
|
|
111946
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111946
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js"() {
|
|
111947
111947
|
init_record_types();
|
|
111948
111948
|
init_byte_writer();
|
|
111949
111949
|
init_color_scheme_writer();
|
|
@@ -111958,7 +111958,7 @@ var init_slide_writer = __esm({
|
|
|
111958
111958
|
}
|
|
111959
111959
|
});
|
|
111960
111960
|
|
|
111961
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111961
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js
|
|
111962
111962
|
function masterSlideId(index) {
|
|
111963
111963
|
return MASTER_SLIDE_ID_SENTINEL + index;
|
|
111964
111964
|
}
|
|
@@ -112082,7 +112082,7 @@ function ensureMinimumDocumentStreamSize(contentSizeWithoutPadding, maxPersistId
|
|
|
112082
112082
|
}
|
|
112083
112083
|
var DOC_ID, MASTER_ID;
|
|
112084
112084
|
var init_document_stream_layout = __esm({
|
|
112085
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112085
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js"() {
|
|
112086
112086
|
init_bstore_writer();
|
|
112087
112087
|
init_byte_writer();
|
|
112088
112088
|
init_document_writer();
|
|
@@ -112100,15 +112100,15 @@ var init_document_stream_layout = __esm({
|
|
|
112100
112100
|
}
|
|
112101
112101
|
});
|
|
112102
112102
|
|
|
112103
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112103
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js
|
|
112104
112104
|
var RC4_ALG_ID2;
|
|
112105
112105
|
var init_crypto_constants = __esm({
|
|
112106
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112106
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js"() {
|
|
112107
112107
|
RC4_ALG_ID2 = 26625;
|
|
112108
112108
|
}
|
|
112109
112109
|
});
|
|
112110
112110
|
|
|
112111
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112111
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js
|
|
112112
112112
|
function rc4Cipher(key2, data) {
|
|
112113
112113
|
if (key2.length === 0) {
|
|
112114
112114
|
throw new Error("RC4 key must not be empty.");
|
|
@@ -112139,11 +112139,11 @@ function rc4Cipher(key2, data) {
|
|
|
112139
112139
|
return out;
|
|
112140
112140
|
}
|
|
112141
112141
|
var init_rc4_cipher = __esm({
|
|
112142
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112142
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js"() {
|
|
112143
112143
|
}
|
|
112144
112144
|
});
|
|
112145
112145
|
|
|
112146
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112146
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js
|
|
112147
112147
|
async function rc4CryptoApiKeyBase(password, salt) {
|
|
112148
112148
|
return hash("SHA-1", concatArrays(salt, encodePasswordUtf16LE(password)));
|
|
112149
112149
|
}
|
|
@@ -112184,14 +112184,14 @@ async function rc4CryptoApiEncryptVerifier(key0, verifier) {
|
|
|
112184
112184
|
}
|
|
112185
112185
|
var PADDED_40_BIT_KEY_BYTES;
|
|
112186
112186
|
var init_rc4_cryptoapi_key = __esm({
|
|
112187
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112187
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js"() {
|
|
112188
112188
|
init_ooxml_crypto_primitives();
|
|
112189
112189
|
init_rc4_cipher();
|
|
112190
112190
|
PADDED_40_BIT_KEY_BYTES = 16;
|
|
112191
112191
|
}
|
|
112192
112192
|
});
|
|
112193
112193
|
|
|
112194
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112194
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js
|
|
112195
112195
|
function readHeader(bytes) {
|
|
112196
112196
|
const view = new DataView(bytes.buffer, bytes.byteOffset, RECORD_HEADER_SIZE);
|
|
112197
112197
|
return {
|
|
@@ -112260,7 +112260,7 @@ async function cipherPicturesStream(stream, keyFor3, mode) {
|
|
|
112260
112260
|
}
|
|
112261
112261
|
var UID_SIZE, METAFILE_HEADER_SIZE, BITMAP_TAG_SIZE, METAFILE_BLIPS, BITMAP_BLIPS;
|
|
112262
112262
|
var init_rc4_cryptoapi_streams = __esm({
|
|
112263
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112263
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js"() {
|
|
112264
112264
|
init_rc4_cipher();
|
|
112265
112265
|
init_record_stream();
|
|
112266
112266
|
UID_SIZE = 16;
|
|
@@ -112271,7 +112271,7 @@ var init_rc4_cryptoapi_streams = __esm({
|
|
|
112271
112271
|
}
|
|
112272
112272
|
});
|
|
112273
112273
|
|
|
112274
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112274
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js
|
|
112275
112275
|
async function buildCryptSession(password) {
|
|
112276
112276
|
const salt = new Uint8Array(SALT_SIZE);
|
|
112277
112277
|
crypto.getRandomValues(salt);
|
|
@@ -112299,7 +112299,7 @@ async function encryptPicturesStream(stream, ctx) {
|
|
|
112299
112299
|
}
|
|
112300
112300
|
var CSP_NAME, KEY_SIZE_BITS, SALT_SIZE, VERIFIER_SIZE, VERIFIER_HASH_SIZE, ENCRYPTION_FLAGS;
|
|
112301
112301
|
var init_encrypt_writer = __esm({
|
|
112302
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112302
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js"() {
|
|
112303
112303
|
init_crypto_constants();
|
|
112304
112304
|
init_rc4_cryptoapi_key();
|
|
112305
112305
|
init_rc4_cryptoapi_streams();
|
|
@@ -112314,7 +112314,7 @@ var init_encrypt_writer = __esm({
|
|
|
112314
112314
|
}
|
|
112315
112315
|
});
|
|
112316
112316
|
|
|
112317
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112317
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js
|
|
112318
112318
|
function levelsFor(styles, textType) {
|
|
112319
112319
|
switch (textType) {
|
|
112320
112320
|
case 0:
|
|
@@ -112380,12 +112380,12 @@ function withMasterRelativeRunStyles(deck) {
|
|
|
112380
112380
|
}
|
|
112381
112381
|
var STYLE_KEYS;
|
|
112382
112382
|
var init_master_relative_runs = __esm({
|
|
112383
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112383
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js"() {
|
|
112384
112384
|
STYLE_KEYS = ["bold", "italic", "underline"];
|
|
112385
112385
|
}
|
|
112386
112386
|
});
|
|
112387
112387
|
|
|
112388
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112388
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js
|
|
112389
112389
|
function buildPersistDirectoryAtom(entries) {
|
|
112390
112390
|
const sorted = [...entries].sort((a, b) => a[0] - b[0]);
|
|
112391
112391
|
const w = new ByteWriter();
|
|
@@ -112415,17 +112415,17 @@ function buildEncryptedUserEditAtom(input) {
|
|
|
112415
112415
|
}
|
|
112416
112416
|
var MAX_RUN;
|
|
112417
112417
|
var init_persist_writer = __esm({
|
|
112418
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112418
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js"() {
|
|
112419
112419
|
init_record_types();
|
|
112420
112420
|
init_byte_writer();
|
|
112421
112421
|
MAX_RUN = 4095;
|
|
112422
112422
|
}
|
|
112423
112423
|
});
|
|
112424
112424
|
|
|
112425
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112425
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js
|
|
112426
112426
|
var PPT_STORAGE_CLSID;
|
|
112427
112427
|
var init_ppt_clsid = __esm({
|
|
112428
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112428
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js"() {
|
|
112429
112429
|
PPT_STORAGE_CLSID = new Uint8Array([
|
|
112430
112430
|
16,
|
|
112431
112431
|
141,
|
|
@@ -112447,7 +112447,7 @@ var init_ppt_clsid = __esm({
|
|
|
112447
112447
|
}
|
|
112448
112448
|
});
|
|
112449
112449
|
|
|
112450
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112450
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js
|
|
112451
112451
|
async function finishUnencrypted(layout, lastSlideId) {
|
|
112452
112452
|
const w = new ByteWriter().append(layout.bytes);
|
|
112453
112453
|
const dirAtom = buildPersistDirectoryAtom(layout.offsets);
|
|
@@ -112501,7 +112501,7 @@ async function buildPptFile(deck, options = {}) {
|
|
|
112501
112501
|
return new Uint8Array(buildOle2(streams2, PPT_STORAGE_CLSID, 0));
|
|
112502
112502
|
}
|
|
112503
112503
|
var init_write_ppt = __esm({
|
|
112504
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112504
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js"() {
|
|
112505
112505
|
init_ole2_parser_write();
|
|
112506
112506
|
init_byte_writer();
|
|
112507
112507
|
init_current_user_writer();
|
|
@@ -112513,9 +112513,9 @@ var init_write_ppt = __esm({
|
|
|
112513
112513
|
}
|
|
112514
112514
|
});
|
|
112515
112515
|
|
|
112516
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112516
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js
|
|
112517
112517
|
var init_legacy_ppt_writer = __esm({
|
|
112518
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112518
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js"() {
|
|
112519
112519
|
init_write_ppt();
|
|
112520
112520
|
init_master_style_fonts();
|
|
112521
112521
|
}
|
|
@@ -152398,7 +152398,7 @@ var init_deflate_utils = __esm({
|
|
|
152398
152398
|
}
|
|
152399
152399
|
});
|
|
152400
152400
|
|
|
152401
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
152401
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js
|
|
152402
152402
|
function checkedLimit(value) {
|
|
152403
152403
|
if (!Number.isSafeInteger(value) || value < 1)
|
|
152404
152404
|
throw new PptParseError("Invalid persist directory resource limit");
|
|
@@ -152524,7 +152524,7 @@ function readPersistRecord(view, directory, persistId) {
|
|
|
152524
152524
|
}
|
|
152525
152525
|
var DEFAULT_MAX_EDITS, DEFAULT_MAX_ENTRIES;
|
|
152526
152526
|
var init_persist_directory = __esm({
|
|
152527
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
152527
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js"() {
|
|
152528
152528
|
init_record_stream();
|
|
152529
152529
|
init_record_types();
|
|
152530
152530
|
DEFAULT_MAX_EDITS = 1e4;
|