ooxml-core 0.14.1 → 0.15.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/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/diagram.d.ts.map +1 -1
- package/dist/docx/docpr-ids.d.ts.map +1 -1
- 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/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 +18 -18
- package/dist/docx/load/index.mjs +18 -18
- package/dist/docx/load/legacy-doc.d.ts.map +1 -1
- package/dist/docx/paragraph-styles.d.ts +1 -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/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/criteria.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/dist-core.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/helpers.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/math-combin.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/registry.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/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 +24 -24
- package/dist/xlsx/load/index.mjs +24 -24
- 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
|
@@ -15377,10 +15377,10 @@ var init_ole_utils = __esm({
|
|
|
15377
15377
|
}
|
|
15378
15378
|
});
|
|
15379
15379
|
|
|
15380
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15380
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js
|
|
15381
15381
|
var OLE_MAGIC, ENDOFCHAIN, FREESECT, FATSECT, DIFSECT, MAXREGSECT, ENTRY_TYPE_EMPTY, ENTRY_TYPE_STREAM, ENTRY_TYPE_ROOT, DIR_ENTRY_SIZE, Ole2ParseError;
|
|
15382
15382
|
var init_ole2_parser_types = __esm({
|
|
15383
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
15383
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js"() {
|
|
15384
15384
|
OLE_MAGIC = new Uint8Array([208, 207, 17, 224, 161, 177, 26, 225]);
|
|
15385
15385
|
ENDOFCHAIN = 4294967294;
|
|
15386
15386
|
FREESECT = 4294967295;
|
|
@@ -15400,7 +15400,7 @@ var init_ole2_parser_types = __esm({
|
|
|
15400
15400
|
}
|
|
15401
15401
|
});
|
|
15402
15402
|
|
|
15403
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15403
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js
|
|
15404
15404
|
function parseOle2(buffer) {
|
|
15405
15405
|
const data = new Uint8Array(buffer);
|
|
15406
15406
|
const view = new DataView(buffer);
|
|
@@ -15630,7 +15630,7 @@ function parseOle2(buffer) {
|
|
|
15630
15630
|
return { entries, getStream };
|
|
15631
15631
|
}
|
|
15632
15632
|
var init_ole2_parser_read = __esm({
|
|
15633
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
15633
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js"() {
|
|
15634
15634
|
init_ole2_parser_types();
|
|
15635
15635
|
}
|
|
15636
15636
|
});
|
|
@@ -15770,7 +15770,7 @@ var init_ole_embedded_extract = __esm({
|
|
|
15770
15770
|
}
|
|
15771
15771
|
});
|
|
15772
15772
|
|
|
15773
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15773
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js
|
|
15774
15774
|
function compareDirEntryNames(a, b) {
|
|
15775
15775
|
const ua = a.toUpperCase();
|
|
15776
15776
|
const ub = b.toUpperCase();
|
|
@@ -15837,12 +15837,12 @@ function writeInt32Sectors(outBytes, int32Data, firstSector, numSectors, sectorS
|
|
|
15837
15837
|
}
|
|
15838
15838
|
}
|
|
15839
15839
|
var init_ole2_parser_write_helpers = __esm({
|
|
15840
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
15840
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js"() {
|
|
15841
15841
|
init_ole2_parser_types();
|
|
15842
15842
|
}
|
|
15843
15843
|
});
|
|
15844
15844
|
|
|
15845
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15845
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js
|
|
15846
15846
|
function writeHeader(outView, outBytes, params) {
|
|
15847
15847
|
outBytes.set(OLE_MAGIC, 0);
|
|
15848
15848
|
outView.setUint16(24, 62, true);
|
|
@@ -15935,14 +15935,14 @@ function writeStreamSectors(outBytes, streamData, chain2, sectorSize) {
|
|
|
15935
15935
|
}
|
|
15936
15936
|
var HEADER_DIFAT_ENTRIES;
|
|
15937
15937
|
var init_ole2_parser_write_serialize = __esm({
|
|
15938
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
15938
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js"() {
|
|
15939
15939
|
init_ole2_parser_types();
|
|
15940
15940
|
init_ole2_parser_write_helpers();
|
|
15941
15941
|
HEADER_DIFAT_ENTRIES = 109;
|
|
15942
15942
|
}
|
|
15943
15943
|
});
|
|
15944
15944
|
|
|
15945
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15945
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js
|
|
15946
15946
|
function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
|
|
15947
15947
|
const sectorSize = 512;
|
|
15948
15948
|
const miniSectorSize = 64;
|
|
@@ -16123,7 +16123,7 @@ function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
|
|
|
16123
16123
|
return output;
|
|
16124
16124
|
}
|
|
16125
16125
|
var init_ole2_parser_write = __esm({
|
|
16126
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
16126
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js"() {
|
|
16127
16127
|
init_ole2_parser_types();
|
|
16128
16128
|
init_ole2_parser_write_helpers();
|
|
16129
16129
|
init_ole2_parser_write_serialize();
|
|
@@ -16825,7 +16825,7 @@ var init_ole_sheet_xlsx_editor = __esm({
|
|
|
16825
16825
|
}
|
|
16826
16826
|
});
|
|
16827
16827
|
|
|
16828
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
16828
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-edit.js
|
|
16829
16829
|
function chain(table, start, limit) {
|
|
16830
16830
|
if (start === END && limit === 0)
|
|
16831
16831
|
return [];
|
|
@@ -17095,7 +17095,7 @@ function replaceCompoundFileStream(input, path, replacement) {
|
|
|
17095
17095
|
}
|
|
17096
17096
|
var END, MAX, NIL, SIZE;
|
|
17097
17097
|
var init_ole2_stream_edit = __esm({
|
|
17098
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17098
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-edit.js"() {
|
|
17099
17099
|
END = 4294967294;
|
|
17100
17100
|
MAX = 4294967290;
|
|
17101
17101
|
NIL = 4294967295;
|
|
@@ -17103,7 +17103,7 @@ var init_ole2_stream_edit = __esm({
|
|
|
17103
17103
|
}
|
|
17104
17104
|
});
|
|
17105
17105
|
|
|
17106
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17106
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-cfb.js
|
|
17107
17107
|
function unwrapXlsBytes(bytes) {
|
|
17108
17108
|
if (!isCfb(bytes)) {
|
|
17109
17109
|
return { workbookBytes: bytes };
|
|
@@ -17170,7 +17170,7 @@ function isCfb(bytes) {
|
|
|
17170
17170
|
}
|
|
17171
17171
|
var WORKBOOK_STREAM_NAMES;
|
|
17172
17172
|
var init_legacy_excel_cfb = __esm({
|
|
17173
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17173
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-cfb.js"() {
|
|
17174
17174
|
init_ole2_parser_read();
|
|
17175
17175
|
init_ole2_parser_types();
|
|
17176
17176
|
init_ole2_parser_write();
|
|
@@ -17179,7 +17179,7 @@ var init_legacy_excel_cfb = __esm({
|
|
|
17179
17179
|
}
|
|
17180
17180
|
});
|
|
17181
17181
|
|
|
17182
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17182
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-edit.js
|
|
17183
17183
|
function encodeRkExact(value) {
|
|
17184
17184
|
if (!Number.isFinite(value))
|
|
17185
17185
|
return void 0;
|
|
@@ -17344,13 +17344,13 @@ function editXlsNumericCell(input, edit) {
|
|
|
17344
17344
|
}
|
|
17345
17345
|
}
|
|
17346
17346
|
var init_legacy_excel_biff8_edit = __esm({
|
|
17347
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17347
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-edit.js"() {
|
|
17348
17348
|
init_legacy_excel_biff8();
|
|
17349
17349
|
init_legacy_excel_cfb();
|
|
17350
17350
|
}
|
|
17351
17351
|
});
|
|
17352
17352
|
|
|
17353
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17353
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.js
|
|
17354
17354
|
function readRecords(bytes, start, end) {
|
|
17355
17355
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
17356
17356
|
const records = [];
|
|
@@ -17521,7 +17521,7 @@ function writeOleXlsNumericCellEdit(inputBytes, edit) {
|
|
|
17521
17521
|
}
|
|
17522
17522
|
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;
|
|
17523
17523
|
var init_legacy_excel_biff8 = __esm({
|
|
17524
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17524
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.js"() {
|
|
17525
17525
|
init_legacy_excel_biff8_edit();
|
|
17526
17526
|
init_legacy_excel_cfb();
|
|
17527
17527
|
OPCODE_BOF = 2057;
|
|
@@ -17551,7 +17551,7 @@ var init_ole_sheet_xls_biff8 = __esm({
|
|
|
17551
17551
|
}
|
|
17552
17552
|
});
|
|
17553
17553
|
|
|
17554
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17554
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-grid.js
|
|
17555
17555
|
function biffRecord(opcode, data) {
|
|
17556
17556
|
return [
|
|
17557
17557
|
opcode & 255,
|
|
@@ -17676,12 +17676,12 @@ function buildXlsRowCellRegion(grid) {
|
|
|
17676
17676
|
return Uint8Array.from(bytesOut);
|
|
17677
17677
|
}
|
|
17678
17678
|
var init_legacy_excel_biff8_grid = __esm({
|
|
17679
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17679
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-grid.js"() {
|
|
17680
17680
|
init_legacy_excel_biff8();
|
|
17681
17681
|
}
|
|
17682
17682
|
});
|
|
17683
17683
|
|
|
17684
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17684
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.js
|
|
17685
17685
|
function resolveSstIndex(sharedStrings, value, bytes) {
|
|
17686
17686
|
const existing = sharedStrings.indexOf(value);
|
|
17687
17687
|
if (existing !== -1)
|
|
@@ -17843,7 +17843,7 @@ function writeOleXlsStringCellEdit(inputBytes, edit) {
|
|
|
17843
17843
|
}
|
|
17844
17844
|
}
|
|
17845
17845
|
var init_legacy_excel_biff8_writer = __esm({
|
|
17846
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17846
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.js"() {
|
|
17847
17847
|
init_legacy_excel_biff8();
|
|
17848
17848
|
init_legacy_excel_biff8_grid();
|
|
17849
17849
|
init_legacy_excel_cfb();
|
|
@@ -17949,7 +17949,7 @@ var init_ole_document_docx_editor = __esm({
|
|
|
17949
17949
|
}
|
|
17950
17950
|
});
|
|
17951
17951
|
|
|
17952
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17952
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js
|
|
17953
17953
|
function readDocFib(wordDoc) {
|
|
17954
17954
|
const view = new DataView(wordDoc.buffer, wordDoc.byteOffset, wordDoc.byteLength);
|
|
17955
17955
|
const wIdent = view.getUint16(0, true);
|
|
@@ -18039,7 +18039,7 @@ function patchDocFib(wordDoc, fib, patch) {
|
|
|
18039
18039
|
}
|
|
18040
18040
|
var FC_LCB_INDEX, F_COMPLEX_BIT;
|
|
18041
18041
|
var init_ole_document_doc_fib = __esm({
|
|
18042
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18042
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js"() {
|
|
18043
18043
|
FC_LCB_INDEX = {
|
|
18044
18044
|
plcfbteChpx: 12,
|
|
18045
18045
|
plcfbtePapx: 13,
|
|
@@ -18050,7 +18050,7 @@ var init_ole_document_doc_fib = __esm({
|
|
|
18050
18050
|
}
|
|
18051
18051
|
});
|
|
18052
18052
|
|
|
18053
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18053
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-v4.js
|
|
18054
18054
|
function follow(table, start) {
|
|
18055
18055
|
const ids = [], seen = /* @__PURE__ */ new Set();
|
|
18056
18056
|
for (let id = start; id !== END2; id = table[id]) {
|
|
@@ -18236,7 +18236,7 @@ function resizeCompoundFileStreamV4(input, path, replacement) {
|
|
|
18236
18236
|
}
|
|
18237
18237
|
var END2, FREE, FAT;
|
|
18238
18238
|
var init_ole2_stream_resize_v4 = __esm({
|
|
18239
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18239
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-v4.js"() {
|
|
18240
18240
|
init_ole2_stream_edit();
|
|
18241
18241
|
END2 = 4294967294;
|
|
18242
18242
|
FREE = 4294967295;
|
|
@@ -18244,7 +18244,7 @@ var init_ole2_stream_resize_v4 = __esm({
|
|
|
18244
18244
|
}
|
|
18245
18245
|
});
|
|
18246
18246
|
|
|
18247
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18247
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-allocation.js
|
|
18248
18248
|
function appendCompoundAllocations(input, existingFatIds, payloads, sectorSize = 512) {
|
|
18249
18249
|
const sectorCount = input.length / sectorSize - 1;
|
|
18250
18250
|
const entriesPerFat = sectorSize / 4;
|
|
@@ -18291,11 +18291,11 @@ function followCompoundAllocation(table, start) {
|
|
|
18291
18291
|
return ids;
|
|
18292
18292
|
}
|
|
18293
18293
|
var init_ole2_stream_resize_allocation = __esm({
|
|
18294
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18294
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-allocation.js"() {
|
|
18295
18295
|
}
|
|
18296
18296
|
});
|
|
18297
18297
|
|
|
18298
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18298
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-mini.js
|
|
18299
18299
|
function resizeMiniCompoundStream(input, fat, fatIds, root, target, replacement, cutoff) {
|
|
18300
18300
|
const inputView = new DataView(input.buffer, input.byteOffset, input.byteLength);
|
|
18301
18301
|
const miniFatCount = inputView.getUint32(64, true);
|
|
@@ -18364,7 +18364,7 @@ function resizeMiniCompoundStream(input, fat, fatIds, root, target, replacement,
|
|
|
18364
18364
|
}
|
|
18365
18365
|
var END3, FREE2, SECTOR, MINI;
|
|
18366
18366
|
var init_ole2_stream_resize_mini = __esm({
|
|
18367
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18367
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-mini.js"() {
|
|
18368
18368
|
init_ole2_stream_resize_allocation();
|
|
18369
18369
|
END3 = 4294967294;
|
|
18370
18370
|
FREE2 = 4294967295;
|
|
@@ -18373,7 +18373,7 @@ var init_ole2_stream_resize_mini = __esm({
|
|
|
18373
18373
|
}
|
|
18374
18374
|
});
|
|
18375
18375
|
|
|
18376
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18376
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize.js
|
|
18377
18377
|
function follow2(table, start) {
|
|
18378
18378
|
const ids = [], seen = /* @__PURE__ */ new Set();
|
|
18379
18379
|
for (let id = start; id !== END4; id = table[id]) {
|
|
@@ -18534,7 +18534,7 @@ function resizeCompoundFileStream(input, path, replacement) {
|
|
|
18534
18534
|
}
|
|
18535
18535
|
var END4, FREE3, FAT2, SECTOR2, FAT_ENTRIES;
|
|
18536
18536
|
var init_ole2_stream_resize = __esm({
|
|
18537
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18537
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize.js"() {
|
|
18538
18538
|
init_ole2_stream_edit();
|
|
18539
18539
|
init_ole2_stream_resize_v4();
|
|
18540
18540
|
init_ole2_stream_resize_allocation();
|
|
@@ -18547,7 +18547,7 @@ var init_ole2_stream_resize = __esm({
|
|
|
18547
18547
|
}
|
|
18548
18548
|
});
|
|
18549
18549
|
|
|
18550
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18550
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js
|
|
18551
18551
|
function unwrapDocBytes(bytes) {
|
|
18552
18552
|
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) {
|
|
18553
18553
|
return void 0;
|
|
@@ -18597,7 +18597,7 @@ function unwrapDocBytes(bytes) {
|
|
|
18597
18597
|
}
|
|
18598
18598
|
var DocCfbRewriteError;
|
|
18599
18599
|
var init_ole_document_doc_cfb = __esm({
|
|
18600
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18600
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js"() {
|
|
18601
18601
|
init_ole_document_doc_fib();
|
|
18602
18602
|
init_ole2_stream_edit();
|
|
18603
18603
|
init_ole2_stream_resize();
|
|
@@ -18610,7 +18610,7 @@ var init_ole_document_doc_cfb = __esm({
|
|
|
18610
18610
|
}
|
|
18611
18611
|
});
|
|
18612
18612
|
|
|
18613
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18613
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js
|
|
18614
18614
|
function parseBteTable(tableStream, at2) {
|
|
18615
18615
|
const view = new DataView(tableStream.buffer, tableStream.byteOffset, tableStream.byteLength);
|
|
18616
18616
|
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)
|
|
@@ -18751,12 +18751,12 @@ function buildSingleRunChpxPage(fcStart, fcEnd, blob) {
|
|
|
18751
18751
|
}
|
|
18752
18752
|
var PAGE_SIZE;
|
|
18753
18753
|
var init_ole_document_doc_fkp = __esm({
|
|
18754
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18754
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js"() {
|
|
18755
18755
|
PAGE_SIZE = 512;
|
|
18756
18756
|
}
|
|
18757
18757
|
});
|
|
18758
18758
|
|
|
18759
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18759
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js
|
|
18760
18760
|
function decodeCp1252Byte(byte) {
|
|
18761
18761
|
if (byte >= 128 && byte <= 159) {
|
|
18762
18762
|
return CP1252_HIGH_BLOCK[byte - 128];
|
|
@@ -18790,7 +18790,7 @@ function encodeCp1252(text2) {
|
|
|
18790
18790
|
}
|
|
18791
18791
|
var CP1252_HIGH_BLOCK, CP1252_HIGH_BLOCK_REVERSE;
|
|
18792
18792
|
var init_ole_document_doc_cp1252 = __esm({
|
|
18793
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18793
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js"() {
|
|
18794
18794
|
CP1252_HIGH_BLOCK = [
|
|
18795
18795
|
8364,
|
|
18796
18796
|
129,
|
|
@@ -18829,7 +18829,7 @@ var init_ole_document_doc_cp1252 = __esm({
|
|
|
18829
18829
|
}
|
|
18830
18830
|
});
|
|
18831
18831
|
|
|
18832
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18832
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js
|
|
18833
18833
|
function parseDocClx(tableStream, clx, maxPieces) {
|
|
18834
18834
|
if (maxPieces !== void 0 && (!Number.isSafeInteger(maxPieces) || maxPieces < 0))
|
|
18835
18835
|
throw new Error("Invalid DOC piece limit");
|
|
@@ -19034,7 +19034,7 @@ function buildClxBytes(pieces, prcBytes = new Uint8Array()) {
|
|
|
19034
19034
|
}
|
|
19035
19035
|
var CLXT_PRC, CLXT_PCDT, DocResourceLimitError;
|
|
19036
19036
|
var init_ole_document_doc_pieces = __esm({
|
|
19037
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
19037
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js"() {
|
|
19038
19038
|
init_ole_document_doc_cp1252();
|
|
19039
19039
|
CLXT_PRC = 1;
|
|
19040
19040
|
CLXT_PCDT = 2;
|
|
@@ -19047,7 +19047,7 @@ var init_ole_document_doc_pieces = __esm({
|
|
|
19047
19047
|
}
|
|
19048
19048
|
});
|
|
19049
19049
|
|
|
19050
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
19050
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fields.js
|
|
19051
19051
|
function checkFieldRanges(markers, editStart, editEnd, maxDepth2) {
|
|
19052
19052
|
const stack = [];
|
|
19053
19053
|
for (const { cp, ch } of markers) {
|
|
@@ -19126,7 +19126,7 @@ function shiftDocMainFieldCps(table, at2, body, editStart, editEnd, delta2, maxF
|
|
|
19126
19126
|
}
|
|
19127
19127
|
var UnsupportedDocFieldEditError;
|
|
19128
19128
|
var init_ole_document_doc_fields = __esm({
|
|
19129
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
19129
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fields.js"() {
|
|
19130
19130
|
init_ole_document_doc_pieces();
|
|
19131
19131
|
UnsupportedDocFieldEditError = class extends Error {
|
|
19132
19132
|
constructor(message) {
|
|
@@ -19137,7 +19137,7 @@ var init_ole_document_doc_fields = __esm({
|
|
|
19137
19137
|
}
|
|
19138
19138
|
});
|
|
19139
19139
|
|
|
19140
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
19140
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js
|
|
19141
19141
|
function processingLimits(limits) {
|
|
19142
19142
|
const resolved = {
|
|
19143
19143
|
maxCharacters: DEFAULT_OLE_DOC_PROCESSING_LIMITS.maxCharacters,
|
|
@@ -19406,7 +19406,7 @@ function tryWriteOleDocParagraphEdit(docBytes, paragraphIndex, text2, limits) {
|
|
|
19406
19406
|
}
|
|
19407
19407
|
var RISKY_PLCF_INDICES, RISKY_STTB_INDICES, SAFE_EXTENDED_FC_LCB_INDICES, DEFAULT_OLE_DOC_PROCESSING_LIMITS;
|
|
19408
19408
|
var init_ole_document_doc_editor = __esm({
|
|
19409
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
19409
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js"() {
|
|
19410
19410
|
init_ole_document_doc_cfb();
|
|
19411
19411
|
init_ole_document_doc_fib();
|
|
19412
19412
|
init_ole_document_doc_fkp();
|
|
@@ -19510,7 +19510,7 @@ var init_ole_nested_deck_editor = __esm({
|
|
|
19510
19510
|
}
|
|
19511
19511
|
});
|
|
19512
19512
|
|
|
19513
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
19513
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js
|
|
19514
19514
|
function crc32(bytes) {
|
|
19515
19515
|
let crc = 4294967295;
|
|
19516
19516
|
for (let i = 0; i < bytes.length; i++) {
|
|
@@ -19606,7 +19606,7 @@ function encodePng(width, height, rgba) {
|
|
|
19606
19606
|
}
|
|
19607
19607
|
var CRC_TABLE, PNG_SIGNATURE;
|
|
19608
19608
|
var init_png_encoder = __esm({
|
|
19609
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
19609
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js"() {
|
|
19610
19610
|
CRC_TABLE = (() => {
|
|
19611
19611
|
const table = new Uint32Array(256);
|
|
19612
19612
|
for (let n = 0; n < 256; n++) {
|
|
@@ -38908,7 +38908,7 @@ var init_encryption_detection = __esm({
|
|
|
38908
38908
|
}
|
|
38909
38909
|
});
|
|
38910
38910
|
|
|
38911
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
38911
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js
|
|
38912
38912
|
function getSubtle() {
|
|
38913
38913
|
if (typeof globalThis.crypto !== "undefined" && globalThis.crypto.subtle) {
|
|
38914
38914
|
return globalThis.crypto.subtle;
|
|
@@ -39026,7 +39026,7 @@ async function hmac(algorithm, key2, data) {
|
|
|
39026
39026
|
return new Uint8Array(result);
|
|
39027
39027
|
}
|
|
39028
39028
|
var init_ooxml_crypto_primitives = __esm({
|
|
39029
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
39029
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js"() {
|
|
39030
39030
|
}
|
|
39031
39031
|
});
|
|
39032
39032
|
|
|
@@ -40224,7 +40224,7 @@ var init_ole2_parser = __esm({
|
|
|
40224
40224
|
}
|
|
40225
40225
|
});
|
|
40226
40226
|
|
|
40227
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
40227
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js
|
|
40228
40228
|
function rotl32(x, n) {
|
|
40229
40229
|
return (x << n | x >>> 32 - n) >>> 0;
|
|
40230
40230
|
}
|
|
@@ -40273,11 +40273,11 @@ function mdStyleDigest(message, initialState, transform2) {
|
|
|
40273
40273
|
return out;
|
|
40274
40274
|
}
|
|
40275
40275
|
var init_bit_ops = __esm({
|
|
40276
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
40276
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js"() {
|
|
40277
40277
|
}
|
|
40278
40278
|
});
|
|
40279
40279
|
|
|
40280
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
40280
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js
|
|
40281
40281
|
function f1(x, y, z) {
|
|
40282
40282
|
return x & y | ~x & z;
|
|
40283
40283
|
}
|
|
@@ -40301,7 +40301,7 @@ function md4(message) {
|
|
|
40301
40301
|
}
|
|
40302
40302
|
var INITIAL_STATE, K22, K3, ROUND1, ROUND2, ROUND3;
|
|
40303
40303
|
var init_md4 = __esm({
|
|
40304
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
40304
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js"() {
|
|
40305
40305
|
init_bit_ops();
|
|
40306
40306
|
INITIAL_STATE = [1732584193, 4023233417, 2562383102, 271733878];
|
|
40307
40307
|
K22 = 1518500249;
|
|
@@ -95984,7 +95984,7 @@ var init_metro_blob_collect = __esm({
|
|
|
95984
95984
|
}
|
|
95985
95985
|
});
|
|
95986
95986
|
|
|
95987
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
95987
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js
|
|
95988
95988
|
function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0) {
|
|
95989
95989
|
const header = new Uint8Array(8);
|
|
95990
95990
|
const view = new DataView(header.buffer);
|
|
@@ -95999,7 +95999,7 @@ function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0
|
|
|
95999
95999
|
}
|
|
96000
96000
|
var ByteWriter;
|
|
96001
96001
|
var init_byte_writer = __esm({
|
|
96002
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96002
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js"() {
|
|
96003
96003
|
ByteWriter = class {
|
|
96004
96004
|
chunks = [];
|
|
96005
96005
|
length = 0;
|
|
@@ -96082,13 +96082,13 @@ var init_byte_writer = __esm({
|
|
|
96082
96082
|
}
|
|
96083
96083
|
});
|
|
96084
96084
|
|
|
96085
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96085
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js
|
|
96086
96086
|
function masterToEmu(mu) {
|
|
96087
96087
|
return Math.round(mu * EMU_PER_MASTER);
|
|
96088
96088
|
}
|
|
96089
96089
|
var RT, OA, TEXT_TYPE, HEADER_TOKEN_PLAIN, HEADER_TOKEN_ENCRYPTED, EMU_PER_MASTER;
|
|
96090
96090
|
var init_legacy_ppt_record_types = __esm({
|
|
96091
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96091
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js"() {
|
|
96092
96092
|
RT = {
|
|
96093
96093
|
Document: 1e3,
|
|
96094
96094
|
DocumentAtom: 1001,
|
|
@@ -96217,14 +96217,14 @@ var init_legacy_ppt_record_types = __esm({
|
|
|
96217
96217
|
}
|
|
96218
96218
|
});
|
|
96219
96219
|
|
|
96220
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96220
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js
|
|
96221
96221
|
var init_record_types = __esm({
|
|
96222
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96222
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js"() {
|
|
96223
96223
|
init_legacy_ppt_record_types();
|
|
96224
96224
|
}
|
|
96225
96225
|
});
|
|
96226
96226
|
|
|
96227
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96227
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js
|
|
96228
96228
|
function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
|
|
96229
96229
|
const nameBytes = new ByteWriter().ansi(USER_NAME).toBytes();
|
|
96230
96230
|
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();
|
|
@@ -96238,7 +96238,7 @@ function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
|
|
|
96238
96238
|
}
|
|
96239
96239
|
var USER_NAME, CURRENT_USER_STREAM_SIZE;
|
|
96240
96240
|
var init_current_user_writer = __esm({
|
|
96241
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96241
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js"() {
|
|
96242
96242
|
init_record_types();
|
|
96243
96243
|
init_byte_writer();
|
|
96244
96244
|
USER_NAME = "pptx-viewer";
|
|
@@ -96246,7 +96246,7 @@ var init_current_user_writer = __esm({
|
|
|
96246
96246
|
}
|
|
96247
96247
|
});
|
|
96248
96248
|
|
|
96249
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96249
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js
|
|
96250
96250
|
function pictureUid(picture) {
|
|
96251
96251
|
return md4(picture.bytes);
|
|
96252
96252
|
}
|
|
@@ -96269,7 +96269,7 @@ function buildFbse(picture, uid, foDelay, size) {
|
|
|
96269
96269
|
}
|
|
96270
96270
|
var MSOBLIP_PICT, BLIP_INFO;
|
|
96271
96271
|
var init_blip_writer = __esm({
|
|
96272
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96272
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js"() {
|
|
96273
96273
|
init_md4();
|
|
96274
96274
|
init_png_encoder();
|
|
96275
96275
|
init_record_types();
|
|
@@ -96285,7 +96285,7 @@ var init_blip_writer = __esm({
|
|
|
96285
96285
|
}
|
|
96286
96286
|
});
|
|
96287
96287
|
|
|
96288
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96288
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js
|
|
96289
96289
|
function boolPropValue(flag, bit, useBit) {
|
|
96290
96290
|
return useBit | (flag ? bit : 0);
|
|
96291
96291
|
}
|
|
@@ -96321,7 +96321,7 @@ function buildMetroBlobTertiaryFopt(metroBlob) {
|
|
|
96321
96321
|
}
|
|
96322
96322
|
var OPT, FBID_FLAG, METRO_BLOB_OPID;
|
|
96323
96323
|
var init_fopt_writer = __esm({
|
|
96324
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96324
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js"() {
|
|
96325
96325
|
init_record_types();
|
|
96326
96326
|
init_byte_writer();
|
|
96327
96327
|
OPT = {
|
|
@@ -96349,7 +96349,7 @@ var init_fopt_writer = __esm({
|
|
|
96349
96349
|
}
|
|
96350
96350
|
});
|
|
96351
96351
|
|
|
96352
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96352
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js
|
|
96353
96353
|
function buildDggDefaultProperties() {
|
|
96354
96354
|
return buildFopt([
|
|
96355
96355
|
{ id: 385, value: 134217732 },
|
|
@@ -96407,7 +96407,7 @@ function buildPictureStore(pictures, shapesPerDrawing) {
|
|
|
96407
96407
|
}
|
|
96408
96408
|
var SHAPE_ID_CLUSTER_SIZE;
|
|
96409
96409
|
var init_bstore_writer = __esm({
|
|
96410
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96410
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js"() {
|
|
96411
96411
|
init_record_types();
|
|
96412
96412
|
init_blip_writer();
|
|
96413
96413
|
init_byte_writer();
|
|
@@ -96416,7 +96416,7 @@ var init_bstore_writer = __esm({
|
|
|
96416
96416
|
}
|
|
96417
96417
|
});
|
|
96418
96418
|
|
|
96419
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96419
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js
|
|
96420
96420
|
function buildFontEntityAtom(name, index) {
|
|
96421
96421
|
const nameBytes = new ByteWriter().utf16(name.slice(0, 31)).u16(0).toBytes();
|
|
96422
96422
|
const padded = new Uint8Array(LF_FACE_NAME_BYTES);
|
|
@@ -96444,14 +96444,14 @@ function buildEnvironment(fonts, otherTextStyle) {
|
|
|
96444
96444
|
}
|
|
96445
96445
|
var LF_FACE_NAME_BYTES;
|
|
96446
96446
|
var init_font_collection_writer = __esm({
|
|
96447
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96447
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js"() {
|
|
96448
96448
|
init_record_types();
|
|
96449
96449
|
init_byte_writer();
|
|
96450
96450
|
LF_FACE_NAME_BYTES = 64;
|
|
96451
96451
|
}
|
|
96452
96452
|
});
|
|
96453
96453
|
|
|
96454
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96454
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js
|
|
96455
96455
|
function emuToMaster(emu2) {
|
|
96456
96456
|
return Math.round(emu2 / EMU_PER_MASTER);
|
|
96457
96457
|
}
|
|
@@ -96507,7 +96507,7 @@ function buildDocumentContainer(input) {
|
|
|
96507
96507
|
}
|
|
96508
96508
|
var MASTER_SLIDE_ID_SENTINEL, RT_CSTRING, RT_BINARY_TAG_DATA_BLOB;
|
|
96509
96509
|
var init_document_writer = __esm({
|
|
96510
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96510
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js"() {
|
|
96511
96511
|
init_record_types();
|
|
96512
96512
|
init_byte_writer();
|
|
96513
96513
|
init_font_collection_writer();
|
|
@@ -96517,7 +96517,7 @@ var init_document_writer = __esm({
|
|
|
96517
96517
|
}
|
|
96518
96518
|
});
|
|
96519
96519
|
|
|
96520
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96520
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js
|
|
96521
96521
|
function buildCString(text2, recInstance) {
|
|
96522
96522
|
return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
|
|
96523
96523
|
}
|
|
@@ -96653,7 +96653,7 @@ function buildTextInteractiveInfoAtom(beginChar, endChar) {
|
|
|
96653
96653
|
}
|
|
96654
96654
|
var II_ACTION, II_JUMP, LT, FLAG_CUSTOM_SHOW_RETURN, HyperlinkCollector;
|
|
96655
96655
|
var init_hyperlink_writer = __esm({
|
|
96656
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96656
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js"() {
|
|
96657
96657
|
init_record_types();
|
|
96658
96658
|
init_byte_writer();
|
|
96659
96659
|
II_ACTION = {
|
|
@@ -96716,7 +96716,7 @@ var init_hyperlink_writer = __esm({
|
|
|
96716
96716
|
}
|
|
96717
96717
|
});
|
|
96718
96718
|
|
|
96719
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96719
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js
|
|
96720
96720
|
function buildCString2(text2, recInstance) {
|
|
96721
96721
|
return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
|
|
96722
96722
|
}
|
|
@@ -96752,7 +96752,7 @@ function buildMediaExObjEntries(media) {
|
|
|
96752
96752
|
}
|
|
96753
96753
|
var MediaCollector, SOUND_EXTENSION_WAV, SOUND_LENGTH_UNKNOWN;
|
|
96754
96754
|
var init_media_writer = __esm({
|
|
96755
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96755
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js"() {
|
|
96756
96756
|
init_record_types();
|
|
96757
96757
|
init_byte_writer();
|
|
96758
96758
|
MediaCollector = class {
|
|
@@ -96788,7 +96788,7 @@ var init_media_writer = __esm({
|
|
|
96788
96788
|
}
|
|
96789
96789
|
});
|
|
96790
96790
|
|
|
96791
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96791
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js
|
|
96792
96792
|
function hexToBytes(hex3) {
|
|
96793
96793
|
const out = new Uint8Array(hex3.length / 2);
|
|
96794
96794
|
for (let i = 0; i < out.length; i++) {
|
|
@@ -96850,7 +96850,7 @@ function buildExObjRefAtom(exObjId) {
|
|
|
96850
96850
|
}
|
|
96851
96851
|
var PACKAGE_ROOT_CLSID, COMP_OBJ_HEX, EX_OLE_EMBEDDED, DV_ASPECT_ICON, EX_OLE_SUB_DEFAULT, PACKAGER_MENU_NAME, OleCollector;
|
|
96852
96852
|
var init_ole_writer = __esm({
|
|
96853
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96853
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js"() {
|
|
96854
96854
|
init_ole2_parser_write();
|
|
96855
96855
|
init_record_types();
|
|
96856
96856
|
init_byte_writer();
|
|
@@ -96910,7 +96910,7 @@ var init_ole_writer = __esm({
|
|
|
96910
96910
|
}
|
|
96911
96911
|
});
|
|
96912
96912
|
|
|
96913
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96913
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js
|
|
96914
96914
|
function buildExObjList(hyperlinks, ole, media) {
|
|
96915
96915
|
const oleEntries = ole?.all ?? [];
|
|
96916
96916
|
const mediaEntries = media?.all ?? [];
|
|
@@ -96937,7 +96937,7 @@ function buildExObjList(hyperlinks, ole, media) {
|
|
|
96937
96937
|
return record(RT.ExternalObjectList, w.toBytes(), 0, true);
|
|
96938
96938
|
}
|
|
96939
96939
|
var init_ex_obj_list_writer = __esm({
|
|
96940
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96940
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js"() {
|
|
96941
96941
|
init_record_types();
|
|
96942
96942
|
init_byte_writer();
|
|
96943
96943
|
init_hyperlink_writer();
|
|
@@ -96946,7 +96946,7 @@ var init_ex_obj_list_writer = __esm({
|
|
|
96946
96946
|
}
|
|
96947
96947
|
});
|
|
96948
96948
|
|
|
96949
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96949
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js
|
|
96950
96950
|
function emuToMaster2(emu2) {
|
|
96951
96951
|
return Math.round(emu2 / EMU_PER_MASTER);
|
|
96952
96952
|
}
|
|
@@ -96991,7 +96991,7 @@ function buildChildAnchor(rect2) {
|
|
|
96991
96991
|
}
|
|
96992
96992
|
var INT16_MIN, INT16_MAX;
|
|
96993
96993
|
var init_anchor_writer = __esm({
|
|
96994
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96994
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js"() {
|
|
96995
96995
|
init_record_types();
|
|
96996
96996
|
init_byte_writer();
|
|
96997
96997
|
INT16_MIN = -32768;
|
|
@@ -96999,7 +96999,7 @@ var init_anchor_writer = __esm({
|
|
|
96999
96999
|
}
|
|
97000
97000
|
});
|
|
97001
97001
|
|
|
97002
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97002
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js
|
|
97003
97003
|
function parseHex(rgb2) {
|
|
97004
97004
|
const hex3 = (rgb2 ?? DEFAULT_RGB).replace(/^#/u, "");
|
|
97005
97005
|
if (!/^[0-9a-fA-F]{6}$/u.test(hex3)) {
|
|
@@ -97021,12 +97021,12 @@ function encodeColorIndex(rgb2) {
|
|
|
97021
97021
|
}
|
|
97022
97022
|
var DEFAULT_RGB;
|
|
97023
97023
|
var init_colors = __esm({
|
|
97024
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97024
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js"() {
|
|
97025
97025
|
DEFAULT_RGB = "000000";
|
|
97026
97026
|
}
|
|
97027
97027
|
});
|
|
97028
97028
|
|
|
97029
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97029
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js
|
|
97030
97030
|
function writePfException(w, para) {
|
|
97031
97031
|
let mask = 0;
|
|
97032
97032
|
if (para.hasBullet !== void 0) {
|
|
@@ -97116,7 +97116,7 @@ function writeCfException(w, run, fontIndex) {
|
|
|
97116
97116
|
}
|
|
97117
97117
|
var ALIGN_CODE, EMU_PER_MASTER_UNIT;
|
|
97118
97118
|
var init_text_exception_writer = __esm({
|
|
97119
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97119
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js"() {
|
|
97120
97120
|
init_colors();
|
|
97121
97121
|
ALIGN_CODE = {
|
|
97122
97122
|
l: 0,
|
|
@@ -97128,7 +97128,7 @@ var init_text_exception_writer = __esm({
|
|
|
97128
97128
|
}
|
|
97129
97129
|
});
|
|
97130
97130
|
|
|
97131
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97131
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js
|
|
97132
97132
|
function joinParagraphText(body) {
|
|
97133
97133
|
return body.paragraphs.map((p) => p.runs.map((r) => r.text).join("")).join("\r");
|
|
97134
97134
|
}
|
|
@@ -97189,7 +97189,7 @@ function buildTextAtoms(body, fonts, hyperlinks) {
|
|
|
97189
97189
|
return new ByteWriter().bytes(buildTextHeaderAtom(body.textType)).bytes(buildTextCharsAtom(text2)).bytes(buildStyleTextPropAtom(body, fontIndex)).bytes(buildRunHyperlinks(body, hyperlinks)).toBytes();
|
|
97190
97190
|
}
|
|
97191
97191
|
var init_text_atom_writer = __esm({
|
|
97192
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97192
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js"() {
|
|
97193
97193
|
init_record_types();
|
|
97194
97194
|
init_byte_writer();
|
|
97195
97195
|
init_hyperlink_writer();
|
|
@@ -97197,7 +97197,7 @@ var init_text_atom_writer = __esm({
|
|
|
97197
97197
|
}
|
|
97198
97198
|
});
|
|
97199
97199
|
|
|
97200
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97200
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js
|
|
97201
97201
|
function utf16z(text2) {
|
|
97202
97202
|
return new ByteWriter().utf16(text2).u16(0).toBytes();
|
|
97203
97203
|
}
|
|
@@ -97294,7 +97294,7 @@ function buildMasterPlaceholders(placeholders, allocator, fieldFontIndex) {
|
|
|
97294
97294
|
}
|
|
97295
97295
|
var FSP_FLAGS, RECTANGLE_SPT, TEXT_TYPE_TITLE, TEXT_TYPE_BODY, TEXT_TYPE_OTHER, SPECS, MASTER_PLACEHOLDER_ORDER, TITLE_PROMPT, BODY_PROMPT, DEFAULT_FRAMES;
|
|
97296
97296
|
var init_master_placeholders_writer = __esm({
|
|
97297
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97297
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js"() {
|
|
97298
97298
|
init_record_types();
|
|
97299
97299
|
init_anchor_writer();
|
|
97300
97300
|
init_byte_writer();
|
|
@@ -97361,18 +97361,18 @@ var init_master_placeholders_writer = __esm({
|
|
|
97361
97361
|
}
|
|
97362
97362
|
});
|
|
97363
97363
|
|
|
97364
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97364
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js
|
|
97365
97365
|
function masterStyleFonts(styles) {
|
|
97366
97366
|
if (!styles)
|
|
97367
97367
|
return [];
|
|
97368
97368
|
return [styles.title, styles.body, styles.other].flatMap((levels) => levels ?? []).map((level2) => level2.run.fontName).filter((name) => Boolean(name));
|
|
97369
97369
|
}
|
|
97370
97370
|
var init_master_style_fonts = __esm({
|
|
97371
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97371
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js"() {
|
|
97372
97372
|
}
|
|
97373
97373
|
});
|
|
97374
97374
|
|
|
97375
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97375
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js
|
|
97376
97376
|
function buildMasterStyleAtom(recInstance, levels, fontIndex) {
|
|
97377
97377
|
const w = new ByteWriter().u16(levels.length);
|
|
97378
97378
|
for (const level2 of levels) {
|
|
@@ -97403,7 +97403,7 @@ function buildMasterTextStyles(styles, fontIndex) {
|
|
|
97403
97403
|
}
|
|
97404
97404
|
var EMPTY_LEVELS, FIXED_INSTANCE_DATA;
|
|
97405
97405
|
var init_master_text_styles_writer = __esm({
|
|
97406
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97406
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js"() {
|
|
97407
97407
|
init_record_types();
|
|
97408
97408
|
init_byte_writer();
|
|
97409
97409
|
init_text_exception_writer();
|
|
@@ -97419,7 +97419,7 @@ var init_master_text_styles_writer = __esm({
|
|
|
97419
97419
|
}
|
|
97420
97420
|
});
|
|
97421
97421
|
|
|
97422
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97422
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js
|
|
97423
97423
|
function fillEntries(fill) {
|
|
97424
97424
|
if (!fill || fill.kind === "none") {
|
|
97425
97425
|
return [{ id: OPT.fNoFillHitTest, value: boolPropValue(false, 16, 1048576) }];
|
|
@@ -97474,7 +97474,7 @@ function buildShapeFoptProps(input) {
|
|
|
97474
97474
|
}
|
|
97475
97475
|
var DASH_CODE;
|
|
97476
97476
|
var init_shape_props_writer = __esm({
|
|
97477
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97477
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js"() {
|
|
97478
97478
|
init_colors();
|
|
97479
97479
|
init_fopt_writer();
|
|
97480
97480
|
DASH_CODE = {
|
|
@@ -97489,7 +97489,7 @@ var init_shape_props_writer = __esm({
|
|
|
97489
97489
|
}
|
|
97490
97490
|
});
|
|
97491
97491
|
|
|
97492
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97492
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js
|
|
97493
97493
|
function buildShapeAnchor(rect2, inGroup) {
|
|
97494
97494
|
return inGroup ? buildChildAnchor(rect2) : buildClientAnchor(rect2);
|
|
97495
97495
|
}
|
|
@@ -97591,7 +97591,7 @@ function buildMediaShapeContainer(media, allocator, hyperlinks, mediaEmbeds, inG
|
|
|
97591
97591
|
}
|
|
97592
97592
|
var FSP_FLAG_FLIPH, FSP_FLAG_FLIPV, FSP_FLAG_OLE_SHAPE, FSP_FLAG_CHILD, PLACEHOLDER_ID;
|
|
97593
97593
|
var init_shape_writer = __esm({
|
|
97594
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97594
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js"() {
|
|
97595
97595
|
init_record_types();
|
|
97596
97596
|
init_anchor_writer();
|
|
97597
97597
|
init_byte_writer();
|
|
@@ -97613,7 +97613,7 @@ var init_shape_writer = __esm({
|
|
|
97613
97613
|
}
|
|
97614
97614
|
});
|
|
97615
97615
|
|
|
97616
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97616
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js
|
|
97617
97617
|
function buildFspgr(childRect) {
|
|
97618
97618
|
return record(OA.FSPGR, buildChildAnchorData(childRect), 0, false, 1);
|
|
97619
97619
|
}
|
|
@@ -97654,7 +97654,7 @@ function buildGroupContainer(group, fonts, allocator, hyperlinks, oleEmbeds, med
|
|
|
97654
97654
|
}
|
|
97655
97655
|
var FSP_FLAG_GROUP, FSP_FLAG_PATRIARCH, FSP_FLAG_HAVE_ANCHOR, ZERO_RECT;
|
|
97656
97656
|
var init_group_writer = __esm({
|
|
97657
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97657
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js"() {
|
|
97658
97658
|
init_record_types();
|
|
97659
97659
|
init_anchor_writer();
|
|
97660
97660
|
init_byte_writer();
|
|
@@ -97666,10 +97666,10 @@ var init_group_writer = __esm({
|
|
|
97666
97666
|
}
|
|
97667
97667
|
});
|
|
97668
97668
|
|
|
97669
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97669
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js
|
|
97670
97670
|
var ShapeIdAllocator2;
|
|
97671
97671
|
var init_shape_id_allocator = __esm({
|
|
97672
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97672
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js"() {
|
|
97673
97673
|
ShapeIdAllocator2 = class {
|
|
97674
97674
|
current;
|
|
97675
97675
|
constructor(drawingId, clusterSize) {
|
|
@@ -97695,7 +97695,7 @@ var init_shape_id_allocator = __esm({
|
|
|
97695
97695
|
}
|
|
97696
97696
|
});
|
|
97697
97697
|
|
|
97698
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97698
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js
|
|
97699
97699
|
function buildDg(drawingId, shapeCount, lastShapeId) {
|
|
97700
97700
|
const data = new ByteWriter().u32(shapeCount + 1).u32(lastShapeId).toBytes();
|
|
97701
97701
|
return record(OA.Dg, data, drawingId, false, 0);
|
|
@@ -97726,7 +97726,7 @@ function buildDrawing(canvasRect, shapes, backgroundRgb, fonts, drawingId, hyper
|
|
|
97726
97726
|
}
|
|
97727
97727
|
var FSP_FLAG_BACKGROUND, BACKGROUND_RECT_SPT, SHAPE_ID_CLUSTER_SIZE2;
|
|
97728
97728
|
var init_drawing_writer = __esm({
|
|
97729
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97729
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js"() {
|
|
97730
97730
|
init_record_types();
|
|
97731
97731
|
init_byte_writer();
|
|
97732
97732
|
init_colors();
|
|
@@ -97739,7 +97739,7 @@ var init_drawing_writer = __esm({
|
|
|
97739
97739
|
}
|
|
97740
97740
|
});
|
|
97741
97741
|
|
|
97742
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97742
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js
|
|
97743
97743
|
function buildNotesAtom(slidePersistIdRef) {
|
|
97744
97744
|
const data = new ByteWriter().i32(slidePersistIdRef).u16(0).u16(0).toBytes();
|
|
97745
97745
|
return record(RT.NotesAtom, data, 0, false, 1);
|
|
@@ -97757,14 +97757,14 @@ function buildNotesContainer(paragraphs, notesRect, slidePersistIdRef, fonts, dr
|
|
|
97757
97757
|
return record(RT.Notes, data, 0, true);
|
|
97758
97758
|
}
|
|
97759
97759
|
var init_notes_writer = __esm({
|
|
97760
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97760
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js"() {
|
|
97761
97761
|
init_record_types();
|
|
97762
97762
|
init_byte_writer();
|
|
97763
97763
|
init_drawing_writer();
|
|
97764
97764
|
}
|
|
97765
97765
|
});
|
|
97766
97766
|
|
|
97767
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97767
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js
|
|
97768
97768
|
function readRecord(view, offset) {
|
|
97769
97769
|
if (!Number.isSafeInteger(offset) || offset < 0 || offset + RECORD_HEADER_SIZE > view.byteLength) {
|
|
97770
97770
|
return void 0;
|
|
@@ -97844,7 +97844,7 @@ function recordBytes(data, rec) {
|
|
|
97844
97844
|
}
|
|
97845
97845
|
var PptParseError, RECORD_HEADER_SIZE;
|
|
97846
97846
|
var init_legacy_ppt_record_stream = __esm({
|
|
97847
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97847
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js"() {
|
|
97848
97848
|
PptParseError = class extends Error {
|
|
97849
97849
|
constructor(message) {
|
|
97850
97850
|
super(message);
|
|
@@ -97855,14 +97855,14 @@ var init_legacy_ppt_record_stream = __esm({
|
|
|
97855
97855
|
}
|
|
97856
97856
|
});
|
|
97857
97857
|
|
|
97858
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97858
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js
|
|
97859
97859
|
var init_record_stream = __esm({
|
|
97860
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97860
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js"() {
|
|
97861
97861
|
init_legacy_ppt_record_stream();
|
|
97862
97862
|
}
|
|
97863
97863
|
});
|
|
97864
97864
|
|
|
97865
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97865
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js
|
|
97866
97866
|
function toHex3(r, g, b) {
|
|
97867
97867
|
return [r, g, b].map((v) => (v & 255).toString(16).padStart(2, "0").toUpperCase()).join("");
|
|
97868
97868
|
}
|
|
@@ -97913,7 +97913,7 @@ function resolveEscherColor(colorRef, scheme) {
|
|
|
97913
97913
|
}
|
|
97914
97914
|
var SCHEME, DEFAULT_SCHEME;
|
|
97915
97915
|
var init_color_scheme = __esm({
|
|
97916
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97916
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js"() {
|
|
97917
97917
|
init_record_stream();
|
|
97918
97918
|
init_record_types();
|
|
97919
97919
|
SCHEME = {
|
|
@@ -97939,7 +97939,7 @@ var init_color_scheme = __esm({
|
|
|
97939
97939
|
}
|
|
97940
97940
|
});
|
|
97941
97941
|
|
|
97942
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97942
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js
|
|
97943
97943
|
function buildColorSchemeAtom(recInstance = 1, colors) {
|
|
97944
97944
|
const w = new ByteWriter();
|
|
97945
97945
|
for (const rgb2 of colors?.length === 8 ? colors : DEFAULT_SCHEME) {
|
|
@@ -97948,7 +97948,7 @@ function buildColorSchemeAtom(recInstance = 1, colors) {
|
|
|
97948
97948
|
return record(RT.ColorSchemeAtom, w.toBytes(), recInstance, false, 0);
|
|
97949
97949
|
}
|
|
97950
97950
|
var init_color_scheme_writer = __esm({
|
|
97951
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97951
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js"() {
|
|
97952
97952
|
init_color_scheme();
|
|
97953
97953
|
init_record_types();
|
|
97954
97954
|
init_byte_writer();
|
|
@@ -97956,7 +97956,7 @@ var init_color_scheme_writer = __esm({
|
|
|
97956
97956
|
}
|
|
97957
97957
|
});
|
|
97958
97958
|
|
|
97959
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97959
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js
|
|
97960
97960
|
function buildSlideAtomRaw(geom, masterIdRef, notesIdRef, flags) {
|
|
97961
97961
|
const data = new ByteWriter().i32(geom).bytes(new Uint8Array(8)).u32(masterIdRef).i32(notesIdRef).u16(flags).u16(0).toBytes();
|
|
97962
97962
|
return record(RT.SlideAtom, data, 0, false, 2);
|
|
@@ -97993,7 +97993,7 @@ function buildMainMasterContainer(slideRect, drawingId, hyperlinks, oleEmbeds, m
|
|
|
97993
97993
|
}
|
|
97994
97994
|
var SLIDE_FLAG_MASTER_OBJECTS, SLIDE_FLAG_MASTER_SCHEME, SLIDE_FLAG_MASTER_BACKGROUND, SLIDE_MASTER_ID_SENTINEL, MASTER_FIRST_COLOR_SCHEME_INSTANCE;
|
|
97995
97995
|
var init_slide_writer = __esm({
|
|
97996
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97996
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js"() {
|
|
97997
97997
|
init_record_types();
|
|
97998
97998
|
init_byte_writer();
|
|
97999
97999
|
init_color_scheme_writer();
|
|
@@ -98008,7 +98008,7 @@ var init_slide_writer = __esm({
|
|
|
98008
98008
|
}
|
|
98009
98009
|
});
|
|
98010
98010
|
|
|
98011
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98011
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js
|
|
98012
98012
|
function masterSlideId(index) {
|
|
98013
98013
|
return MASTER_SLIDE_ID_SENTINEL + index;
|
|
98014
98014
|
}
|
|
@@ -98132,7 +98132,7 @@ function ensureMinimumDocumentStreamSize(contentSizeWithoutPadding, maxPersistId
|
|
|
98132
98132
|
}
|
|
98133
98133
|
var DOC_ID, MASTER_ID;
|
|
98134
98134
|
var init_document_stream_layout = __esm({
|
|
98135
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98135
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js"() {
|
|
98136
98136
|
init_bstore_writer();
|
|
98137
98137
|
init_byte_writer();
|
|
98138
98138
|
init_document_writer();
|
|
@@ -98150,15 +98150,15 @@ var init_document_stream_layout = __esm({
|
|
|
98150
98150
|
}
|
|
98151
98151
|
});
|
|
98152
98152
|
|
|
98153
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98153
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js
|
|
98154
98154
|
var RC4_ALG_ID2;
|
|
98155
98155
|
var init_crypto_constants = __esm({
|
|
98156
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98156
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js"() {
|
|
98157
98157
|
RC4_ALG_ID2 = 26625;
|
|
98158
98158
|
}
|
|
98159
98159
|
});
|
|
98160
98160
|
|
|
98161
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98161
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js
|
|
98162
98162
|
function rc4Cipher(key2, data) {
|
|
98163
98163
|
if (key2.length === 0) {
|
|
98164
98164
|
throw new Error("RC4 key must not be empty.");
|
|
@@ -98189,11 +98189,11 @@ function rc4Cipher(key2, data) {
|
|
|
98189
98189
|
return out;
|
|
98190
98190
|
}
|
|
98191
98191
|
var init_rc4_cipher = __esm({
|
|
98192
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98192
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js"() {
|
|
98193
98193
|
}
|
|
98194
98194
|
});
|
|
98195
98195
|
|
|
98196
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98196
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js
|
|
98197
98197
|
async function rc4CryptoApiKeyBase(password, salt) {
|
|
98198
98198
|
return hash("SHA-1", concatArrays(salt, encodePasswordUtf16LE(password)));
|
|
98199
98199
|
}
|
|
@@ -98234,14 +98234,14 @@ async function rc4CryptoApiEncryptVerifier(key0, verifier) {
|
|
|
98234
98234
|
}
|
|
98235
98235
|
var PADDED_40_BIT_KEY_BYTES;
|
|
98236
98236
|
var init_rc4_cryptoapi_key = __esm({
|
|
98237
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98237
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js"() {
|
|
98238
98238
|
init_ooxml_crypto_primitives();
|
|
98239
98239
|
init_rc4_cipher();
|
|
98240
98240
|
PADDED_40_BIT_KEY_BYTES = 16;
|
|
98241
98241
|
}
|
|
98242
98242
|
});
|
|
98243
98243
|
|
|
98244
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98244
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js
|
|
98245
98245
|
function readHeader(bytes) {
|
|
98246
98246
|
const view = new DataView(bytes.buffer, bytes.byteOffset, RECORD_HEADER_SIZE);
|
|
98247
98247
|
return {
|
|
@@ -98310,7 +98310,7 @@ async function cipherPicturesStream(stream, keyFor2, mode) {
|
|
|
98310
98310
|
}
|
|
98311
98311
|
var UID_SIZE, METAFILE_HEADER_SIZE, BITMAP_TAG_SIZE, METAFILE_BLIPS, BITMAP_BLIPS;
|
|
98312
98312
|
var init_rc4_cryptoapi_streams = __esm({
|
|
98313
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98313
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js"() {
|
|
98314
98314
|
init_rc4_cipher();
|
|
98315
98315
|
init_record_stream();
|
|
98316
98316
|
UID_SIZE = 16;
|
|
@@ -98321,7 +98321,7 @@ var init_rc4_cryptoapi_streams = __esm({
|
|
|
98321
98321
|
}
|
|
98322
98322
|
});
|
|
98323
98323
|
|
|
98324
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98324
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js
|
|
98325
98325
|
async function buildCryptSession(password) {
|
|
98326
98326
|
const salt = new Uint8Array(SALT_SIZE);
|
|
98327
98327
|
crypto.getRandomValues(salt);
|
|
@@ -98349,7 +98349,7 @@ async function encryptPicturesStream(stream, ctx) {
|
|
|
98349
98349
|
}
|
|
98350
98350
|
var CSP_NAME, KEY_SIZE_BITS, SALT_SIZE, VERIFIER_SIZE, VERIFIER_HASH_SIZE, ENCRYPTION_FLAGS;
|
|
98351
98351
|
var init_encrypt_writer = __esm({
|
|
98352
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98352
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js"() {
|
|
98353
98353
|
init_crypto_constants();
|
|
98354
98354
|
init_rc4_cryptoapi_key();
|
|
98355
98355
|
init_rc4_cryptoapi_streams();
|
|
@@ -98364,7 +98364,7 @@ var init_encrypt_writer = __esm({
|
|
|
98364
98364
|
}
|
|
98365
98365
|
});
|
|
98366
98366
|
|
|
98367
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98367
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js
|
|
98368
98368
|
function levelsFor(styles, textType) {
|
|
98369
98369
|
switch (textType) {
|
|
98370
98370
|
case 0:
|
|
@@ -98430,12 +98430,12 @@ function withMasterRelativeRunStyles(deck) {
|
|
|
98430
98430
|
}
|
|
98431
98431
|
var STYLE_KEYS;
|
|
98432
98432
|
var init_master_relative_runs = __esm({
|
|
98433
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98433
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js"() {
|
|
98434
98434
|
STYLE_KEYS = ["bold", "italic", "underline"];
|
|
98435
98435
|
}
|
|
98436
98436
|
});
|
|
98437
98437
|
|
|
98438
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98438
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js
|
|
98439
98439
|
function buildPersistDirectoryAtom(entries) {
|
|
98440
98440
|
const sorted = [...entries].sort((a, b) => a[0] - b[0]);
|
|
98441
98441
|
const w = new ByteWriter();
|
|
@@ -98465,17 +98465,17 @@ function buildEncryptedUserEditAtom(input) {
|
|
|
98465
98465
|
}
|
|
98466
98466
|
var MAX_RUN;
|
|
98467
98467
|
var init_persist_writer = __esm({
|
|
98468
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98468
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js"() {
|
|
98469
98469
|
init_record_types();
|
|
98470
98470
|
init_byte_writer();
|
|
98471
98471
|
MAX_RUN = 4095;
|
|
98472
98472
|
}
|
|
98473
98473
|
});
|
|
98474
98474
|
|
|
98475
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98475
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js
|
|
98476
98476
|
var PPT_STORAGE_CLSID;
|
|
98477
98477
|
var init_ppt_clsid = __esm({
|
|
98478
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98478
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js"() {
|
|
98479
98479
|
PPT_STORAGE_CLSID = new Uint8Array([
|
|
98480
98480
|
16,
|
|
98481
98481
|
141,
|
|
@@ -98497,7 +98497,7 @@ var init_ppt_clsid = __esm({
|
|
|
98497
98497
|
}
|
|
98498
98498
|
});
|
|
98499
98499
|
|
|
98500
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98500
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js
|
|
98501
98501
|
async function finishUnencrypted(layout, lastSlideId) {
|
|
98502
98502
|
const w = new ByteWriter().append(layout.bytes);
|
|
98503
98503
|
const dirAtom = buildPersistDirectoryAtom(layout.offsets);
|
|
@@ -98551,7 +98551,7 @@ async function buildPptFile(deck, options = {}) {
|
|
|
98551
98551
|
return new Uint8Array(buildOle2(streams2, PPT_STORAGE_CLSID, 0));
|
|
98552
98552
|
}
|
|
98553
98553
|
var init_write_ppt = __esm({
|
|
98554
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98554
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js"() {
|
|
98555
98555
|
init_ole2_parser_write();
|
|
98556
98556
|
init_byte_writer();
|
|
98557
98557
|
init_current_user_writer();
|
|
@@ -98563,9 +98563,9 @@ var init_write_ppt = __esm({
|
|
|
98563
98563
|
}
|
|
98564
98564
|
});
|
|
98565
98565
|
|
|
98566
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98566
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js
|
|
98567
98567
|
var init_legacy_ppt_writer = __esm({
|
|
98568
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98568
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js"() {
|
|
98569
98569
|
init_write_ppt();
|
|
98570
98570
|
init_master_style_fonts();
|
|
98571
98571
|
}
|
|
@@ -138095,7 +138095,7 @@ var init_deflate_utils = __esm({
|
|
|
138095
138095
|
}
|
|
138096
138096
|
});
|
|
138097
138097
|
|
|
138098
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
138098
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js
|
|
138099
138099
|
function checkedLimit(value) {
|
|
138100
138100
|
if (!Number.isSafeInteger(value) || value < 1)
|
|
138101
138101
|
throw new PptParseError("Invalid persist directory resource limit");
|
|
@@ -138221,7 +138221,7 @@ function readPersistRecord(view, directory, persistId) {
|
|
|
138221
138221
|
}
|
|
138222
138222
|
var DEFAULT_MAX_EDITS, DEFAULT_MAX_ENTRIES;
|
|
138223
138223
|
var init_persist_directory = __esm({
|
|
138224
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
138224
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js"() {
|
|
138225
138225
|
init_record_stream();
|
|
138226
138226
|
init_record_types();
|
|
138227
138227
|
DEFAULT_MAX_EDITS = 1e4;
|